From 2da6347d831ab4f13d2a85dce6f2c28c1b669518 Mon Sep 17 00:00:00 2001 From: "Api (Codebuild)" Date: Wed, 8 Nov 2023 14:52:52 +0000 Subject: [PATCH] Look for details in API documentation's changelog --- .openapi-generator/FILES | 195 ++++++++---- README.md | 69 +++-- docs/AttachmentDownloadV1Response.md | 30 ++ ...rcontractGetCommunicationListV1Response.md | 31 ++ ...tGetCommunicationListV1ResponseMPayload.md | 29 ++ docs/CommonResponseObjDebugPayloadGetList.md | 2 +- ...unicationCreateObjectV1ResponseMPayload.md | 29 ++ docs/CommunicationGetObjectV2Response.md | 31 -- ...ommunicationGetObjectV2ResponseMPayload.md | 29 -- docs/CommunicationRequest.md | 38 +++ docs/CommunicationRequestCompound.md | 42 +++ docs/CommunicationResponse.md | 40 --- docs/CommunicationResponseCompound.md | 43 --- docs/CommunicationSendV1Request.md | 29 ++ docs/CommunicationSendV1Response.md | 31 ++ docs/CommunicationattachmentRequest.md | 32 ++ .../CommunicationattachmentRequestCompound.md | 32 ++ docs/CommunicationattachmentResponse.md | 34 --- ...CommunicationattachmentResponseCompound.md | 34 --- docs/CommunicationexternalrecipientRequest.md | 33 ++ ...icationexternalrecipientRequestCompound.md | 33 ++ .../CommunicationexternalrecipientResponse.md | 33 -- ...cationexternalrecipientResponseCompound.md | 33 -- docs/CommunicationrecipientRequest.md | 41 +++ docs/CommunicationrecipientRequestCompound.md | 41 +++ .../CommunicationrecipientResponseCompound.md | 49 --- docs/CommunicationreferenceRequest.md | 37 +++ docs/CommunicationreferenceRequestCompound.md | 37 +++ docs/CustomCommunicationattachmentRequest.md | 30 ++ ...tomCommunicationrecipientsgroupResponse.md | 30 ++ ...mmunicationrecipientsrecipientResponse.md} | 29 +- docs/CustomCommunicationsenderRequest.md | 32 ++ docs/CustomCommunicationsenderResponse.md | 36 +++ docs/CustomWebhookResponse.md | 2 +- docs/DescriptionstaticResponse.md | 30 -- docs/DescriptionstaticResponseCompound.md | 30 -- ...stransferGetCommunicationListV1Response.md | 31 ++ ...rGetCommunicationListV1ResponseMPayload.md | 29 ++ docs/EmailstaticResponse.md | 30 -- docs/EmailstaticResponseCompound.md | 30 -- ...derGetCommunicationrecipientsV1Response.md | 31 ++ ...mmunicationrecipientsV1ResponseMPayload.md | 29 ++ ...folderGetCommunicationsendersV1Response.md | 31 ++ ...tCommunicationsendersV1ResponseMPayload.md | 29 ++ docs/EzsignfolderSendV1Response.md | 2 +- docs/EzsignsignerRequest.md | 2 +- docs/EzsignsignerRequestCompound.md | 2 +- docs/EzsignsignerResponse.md | 2 +- docs/EzsignsignerResponseCompound.md | 2 +- ...ieldECommunicationexternalrecipientType.md | 2 +- .../FieldECommunicationrecipientObjecttype.md | 11 - docs/FieldECommunicationrecipientType.md | 2 +- ...scriptionGetCommunicationListV1Response.md | 31 ++ ...nGetCommunicationListV1ResponseMPayload.md | 29 ++ ...enticatedGetCommunicationListV1Response.md | 31 ++ ...dGetCommunicationListV1ResponseMPayload.md | 29 ++ ...ptiontempGetCommunicationListV1Response.md | 31 ++ ...pGetCommunicationListV1ResponseMPayload.md | 29 ++ docs/InvoiceGetCommunicationListV1Response.md | 31 ++ ...eGetCommunicationListV1ResponseMPayload.md | 29 ++ docs/ObjectActivesessionApi.md | 4 +- docs/ObjectApikeyApi.md | 4 +- docs/ObjectAttachmentApi.md | 89 ++++++ docs/ObjectBillingentityinternalApi.md | 4 +- docs/ObjectBrandingApi.md | 4 +- docs/ObjectBuyercontractApi.md | 88 ++++++ docs/ObjectClonehistoryApi.md | 4 +- docs/ObjectCommunicationApi.md | 32 +- docs/ObjectElectronicfundstransferApi.md | 88 ++++++ docs/ObjectEzsignbulksendApi.md | 4 +- docs/ObjectEzsignfolderApi.md | 166 +++++++++- docs/ObjectEzsignfoldertypeApi.md | 4 +- docs/ObjectEzsigntemplateApi.md | 4 +- docs/ObjectEzsigntemplatepackageApi.md | 4 +- docs/ObjectInscriptionApi.md | 88 ++++++ docs/ObjectInscriptionnotauthenticatedApi.md | 88 ++++++ docs/ObjectInscriptiontempApi.md | 88 ++++++ docs/ObjectInvoiceApi.md | 88 ++++++ docs/ObjectOtherincomeApi.md | 88 ++++++ docs/ObjectPaymenttermApi.md | 4 +- docs/ObjectRejectedoffertopurchaseApi.md | 88 ++++++ docs/ObjectSessionhistoryApi.md | 4 +- docs/ObjectUserApi.md | 4 +- docs/ObjectUsergroupApi.md | 4 +- docs/ObjectUserstagedApi.md | 4 +- docs/ObjectVariableexpenseApi.md | 4 +- docs/ObjectWebhookApi.md | 4 +- ...herincomeGetCommunicationListV1Response.md | 31 ++ ...eGetCommunicationListV1ResponseMPayload.md | 29 ++ docs/PhonestaticResponse.md | 31 -- docs/PhonestaticResponseCompound.md | 31 -- ...opurchaseGetCommunicationListV1Response.md | 31 ++ ...eGetCommunicationListV1ResponseMPayload.md | 29 ++ ...cretquestionAutocompleteElementResponse.md | 2 +- docs/UserRequest.md | 2 +- docs/UserRequestCompound.md | 2 +- docs/UserResponse.md | 2 +- docs/UserResponseCompound.md | 2 +- docs/WebhookResponse.md | 2 +- docs/WebhookResponseCompound.md | 2 +- eZmaxApi/__init__.py | 65 ++-- eZmaxApi/api/__init__.py | 9 + eZmaxApi/api/object_attachment_api.py | 186 +++++++++++ eZmaxApi/api/object_buyercontract_api.py | 185 +++++++++++ eZmaxApi/api/object_communication_api.py | 59 ++-- .../api/object_electronicfundstransfer_api.py | 185 +++++++++++ eZmaxApi/api/object_ezsignfolder_api.py | 288 +++++++++++++++++- eZmaxApi/api/object_inscription_api.py | 185 +++++++++++ .../object_inscriptionnotauthenticated_api.py | 185 +++++++++++ eZmaxApi/api/object_inscriptiontemp_api.py | 185 +++++++++++ eZmaxApi/api/object_invoice_api.py | 185 +++++++++++ eZmaxApi/api/object_otherincome_api.py | 185 +++++++++++ .../api/object_rejectedoffertopurchase_api.py | 185 +++++++++++ eZmaxApi/models/__init__.py | 56 ++-- .../models/attachment_download_v1_response.py | 82 +++++ ...ract_get_communication_list_v1_response.py | 88 ++++++ ...ommunication_list_v1_response_m_payload.py | 80 +++++ eZmaxApi/models/clonehistory_list_element.py | 8 +- eZmaxApi/models/common_auditdetail.py | 4 +- ...mon_response_obj_debug_payload_get_list.py | 4 +- ...on_create_object_v1_response_m_payload.py} | 28 +- eZmaxApi/models/communication_request.py | 116 +++++++ .../models/communication_request_compound.py | 156 ++++++++++ eZmaxApi/models/communication_response.py | 113 ------- .../models/communication_response_compound.py | 143 --------- ...ad.py => communication_send_v1_request.py} | 38 +-- ...e.py => communication_send_v1_response.py} | 22 +- ....py => communicationattachment_request.py} | 26 +- ...mmunicationattachment_request_compound.py} | 28 +- .../communicationexternalrecipient_request.py | 98 ++++++ ...ationexternalrecipient_request_compound.py | 98 ++++++ ...communicationexternalrecipient_response.py | 93 ------ ...tionexternalrecipient_response_compound.py | 93 ------ .../models/communicationrecipient_request.py | 97 ++++++ ...communicationrecipient_request_compound.py | 97 ++++++ ...ommunicationrecipient_response_compound.py | 126 -------- .../models/communicationreference_request.py | 88 ++++++ ...communicationreference_request_compound.py | 88 ++++++ ...tom_communication_list_element_response.py | 11 +- .../custom_communicationattachment_request.py | 82 +++++ ...m_communicationrecipientsgroup_response.py | 82 +++++ ...municationrecipientsrecipient_response.py} | 80 ++--- .../custom_communicationsender_request.py | 78 +++++ .../custom_communicationsender_response.py | 107 +++++++ eZmaxApi/models/custom_webhook_response.py | 2 +- eZmaxApi/models/descriptionstatic_response.py | 74 ----- .../descriptionstatic_response_compound.py | 74 ----- ...sfer_get_communication_list_v1_response.py | 88 ++++++ ...ommunication_list_v1_response_m_payload.py | 80 +++++ .../models/emailstatic_response_compound.py | 74 ----- ...get_communicationrecipients_v1_response.py | 88 ++++++ ...icationrecipients_v1_response_m_payload.py | 80 +++++ ...er_get_communicationsenders_v1_response.py | 88 ++++++ ...municationsenders_v1_response_m_payload.py | 80 +++++ .../models/ezsignfolder_send_v1_response.py | 2 +- eZmaxApi/models/ezsignsigner_request.py | 2 +- .../models/ezsignsigner_request_compound.py | 2 +- eZmaxApi/models/ezsignsigner_response.py | 2 +- .../models/ezsignsigner_response_compound.py | 2 +- ...d_e_communicationexternalrecipient_type.py | 2 +- ...eld_e_communicationrecipient_objecttype.py | 55 ---- .../field_e_communicationrecipient_type.py | 2 +- ...tion_get_communication_list_v1_response.py | 88 ++++++ ...ommunication_list_v1_response_m_payload.py | 80 +++++ ...ated_get_communication_list_v1_response.py | 88 ++++++ ...ommunication_list_v1_response_m_payload.py | 80 +++++ ...temp_get_communication_list_v1_response.py | 88 ++++++ ...ommunication_list_v1_response_m_payload.py | 80 +++++ ...oice_get_communication_list_v1_response.py | 88 ++++++ ...ommunication_list_v1_response_m_payload.py | 80 +++++ ...come_get_communication_list_v1_response.py | 88 ++++++ ...ommunication_list_v1_response_m_payload.py | 80 +++++ eZmaxApi/models/phonestatic_response.py | 96 ------ .../models/phonestatic_response_compound.py | 96 ------ ...hase_get_communication_list_v1_response.py | 88 ++++++ ...ommunication_list_v1_response_m_payload.py | 80 +++++ ...tquestion_autocomplete_element_response.py | 2 +- .../models/sessionhistory_list_element.py | 4 +- eZmaxApi/models/user_list_element.py | 4 +- eZmaxApi/models/user_request.py | 6 +- eZmaxApi/models/user_request_compound.py | 6 +- eZmaxApi/models/user_response.py | 6 +- eZmaxApi/models/user_response_compound.py | 6 +- .../models/usergroupdelegation_response.py | 4 +- .../usergroupdelegation_response_compound.py | 4 +- .../models/usergroupmembership_response.py | 4 +- .../usergroupmembership_response_compound.py | 4 +- eZmaxApi/models/webhook_response.py | 2 +- eZmaxApi/models/webhook_response_compound.py | 2 +- test/test_attachment_download_v1_response.py | 67 ++++ ...ract_get_communication_list_v1_response.py | 57 ++++ ...ommunication_list_v1_response_m_payload.py | 76 +++++ ...ion_create_object_v1_response_m_payload.py | 58 ++++ ...cation_get_object_v2_response_m_payload.py | 54 ---- test/test_communication_request.py | 69 +++++ test/test_communication_request_compound.py | 105 +++++++ test/test_communication_response.py | 111 ------- test/test_communication_response_compound.py | 129 -------- test/test_communication_send_v1_request.py | 58 ++++ ...=> test_communication_send_v1_response.py} | 34 ++- ...> test_communicationattachment_request.py} | 28 +- ...mmunicationattachment_request_compound.py} | 28 +- ..._communicationexternalrecipient_request.py | 58 ++++ ...ationexternalrecipient_request_compound.py | 58 ++++ ...communicationexternalrecipient_response.py | 60 ---- ...tionexternalrecipient_response_compound.py | 60 ---- ...=> test_communicationrecipient_request.py} | 41 +-- ...communicationrecipient_request_compound.py | 65 ++++ ...ommunicationrecipient_response_compound.py | 76 ----- test/test_communicationreference_request.py | 61 ++++ ...communicationreference_request_compound.py | 61 ++++ ..._custom_communicationattachment_request.py | 58 ++++ ...m_communicationrecipientsgroup_response.py | 106 +++++++ ...mmunicationrecipientsrecipient_response.py | 80 +++++ ...est_custom_communicationsender_request.py} | 30 +- ...est_custom_communicationsender_response.py | 68 +++++ test/test_custom_webhook_response.py | 1 + test/test_descriptionstatic_response.py | 56 ---- ...est_descriptionstatic_response_compound.py | 56 ---- ...sfer_get_communication_list_v1_response.py | 57 ++++ ...ommunication_list_v1_response_m_payload.py | 76 +++++ test/test_emailstatic_response.py | 56 ---- test/test_emailstatic_response_compound.py | 56 ---- ...get_communicationrecipients_v1_response.py | 129 ++++++++ ...icationrecipients_v1_response_m_payload.py | 112 +++++++ ...er_get_communicationsenders_v1_response.py | 97 ++++++ ...municationsenders_v1_response_m_payload.py | 80 +++++ ...eld_e_communicationrecipient_objecttype.py | 35 --- ...tion_get_communication_list_v1_response.py | 57 ++++ ...ommunication_list_v1_response_m_payload.py | 76 +++++ ...ated_get_communication_list_v1_response.py | 57 ++++ ...ommunication_list_v1_response_m_payload.py | 76 +++++ ...temp_get_communication_list_v1_response.py | 57 ++++ ...ommunication_list_v1_response_m_payload.py | 76 +++++ ...oice_get_communication_list_v1_response.py | 57 ++++ ...ommunication_list_v1_response_m_payload.py | 76 +++++ test/test_object_attachment_api.py | 39 +++ test/test_object_buyercontract_api.py | 39 +++ test/test_object_communication_api.py | 6 +- ...test_object_electronicfundstransfer_api.py | 39 +++ test/test_object_ezsignfolder_api.py | 14 + test/test_object_inscription_api.py | 39 +++ ..._object_inscriptionnotauthenticated_api.py | 39 +++ test/test_object_inscriptiontemp_api.py | 39 +++ test/test_object_invoice_api.py | 39 +++ test/test_object_otherincome_api.py | 39 +++ ...test_object_rejectedoffertopurchase_api.py | 39 +++ ...come_get_communication_list_v1_response.py | 57 ++++ ...ommunication_list_v1_response_m_payload.py | 76 +++++ test/test_phonestatic_response.py | 56 ---- ...hase_get_communication_list_v1_response.py | 57 ++++ ...ommunication_list_v1_response_m_payload.py | 76 +++++ test/test_webhook_response.py | 1 + test/test_webhook_response_compound.py | 1 + 254 files changed, 10532 insertions(+), 2822 deletions(-) create mode 100644 docs/AttachmentDownloadV1Response.md create mode 100644 docs/BuyercontractGetCommunicationListV1Response.md create mode 100644 docs/BuyercontractGetCommunicationListV1ResponseMPayload.md create mode 100644 docs/CommunicationCreateObjectV1ResponseMPayload.md delete mode 100644 docs/CommunicationGetObjectV2Response.md delete mode 100644 docs/CommunicationGetObjectV2ResponseMPayload.md create mode 100644 docs/CommunicationRequest.md create mode 100644 docs/CommunicationRequestCompound.md delete mode 100644 docs/CommunicationResponse.md delete mode 100644 docs/CommunicationResponseCompound.md create mode 100644 docs/CommunicationSendV1Request.md create mode 100644 docs/CommunicationSendV1Response.md create mode 100644 docs/CommunicationattachmentRequest.md create mode 100644 docs/CommunicationattachmentRequestCompound.md delete mode 100644 docs/CommunicationattachmentResponse.md delete mode 100644 docs/CommunicationattachmentResponseCompound.md create mode 100644 docs/CommunicationexternalrecipientRequest.md create mode 100644 docs/CommunicationexternalrecipientRequestCompound.md delete mode 100644 docs/CommunicationexternalrecipientResponse.md delete mode 100644 docs/CommunicationexternalrecipientResponseCompound.md create mode 100644 docs/CommunicationrecipientRequest.md create mode 100644 docs/CommunicationrecipientRequestCompound.md delete mode 100644 docs/CommunicationrecipientResponseCompound.md create mode 100644 docs/CommunicationreferenceRequest.md create mode 100644 docs/CommunicationreferenceRequestCompound.md create mode 100644 docs/CustomCommunicationattachmentRequest.md create mode 100644 docs/CustomCommunicationrecipientsgroupResponse.md rename docs/{CommunicationrecipientResponse.md => CustomCommunicationrecipientsrecipientResponse.md} (55%) create mode 100644 docs/CustomCommunicationsenderRequest.md create mode 100644 docs/CustomCommunicationsenderResponse.md delete mode 100644 docs/DescriptionstaticResponse.md delete mode 100644 docs/DescriptionstaticResponseCompound.md create mode 100644 docs/ElectronicfundstransferGetCommunicationListV1Response.md create mode 100644 docs/ElectronicfundstransferGetCommunicationListV1ResponseMPayload.md delete mode 100644 docs/EmailstaticResponse.md delete mode 100644 docs/EmailstaticResponseCompound.md create mode 100644 docs/EzsignfolderGetCommunicationrecipientsV1Response.md create mode 100644 docs/EzsignfolderGetCommunicationrecipientsV1ResponseMPayload.md create mode 100644 docs/EzsignfolderGetCommunicationsendersV1Response.md create mode 100644 docs/EzsignfolderGetCommunicationsendersV1ResponseMPayload.md delete mode 100644 docs/FieldECommunicationrecipientObjecttype.md create mode 100644 docs/InscriptionGetCommunicationListV1Response.md create mode 100644 docs/InscriptionGetCommunicationListV1ResponseMPayload.md create mode 100644 docs/InscriptionnotauthenticatedGetCommunicationListV1Response.md create mode 100644 docs/InscriptionnotauthenticatedGetCommunicationListV1ResponseMPayload.md create mode 100644 docs/InscriptiontempGetCommunicationListV1Response.md create mode 100644 docs/InscriptiontempGetCommunicationListV1ResponseMPayload.md create mode 100644 docs/InvoiceGetCommunicationListV1Response.md create mode 100644 docs/InvoiceGetCommunicationListV1ResponseMPayload.md create mode 100644 docs/ObjectAttachmentApi.md create mode 100644 docs/ObjectBuyercontractApi.md create mode 100644 docs/ObjectElectronicfundstransferApi.md create mode 100644 docs/ObjectInscriptionApi.md create mode 100644 docs/ObjectInscriptionnotauthenticatedApi.md create mode 100644 docs/ObjectInscriptiontempApi.md create mode 100644 docs/ObjectInvoiceApi.md create mode 100644 docs/ObjectOtherincomeApi.md create mode 100644 docs/ObjectRejectedoffertopurchaseApi.md create mode 100644 docs/OtherincomeGetCommunicationListV1Response.md create mode 100644 docs/OtherincomeGetCommunicationListV1ResponseMPayload.md delete mode 100644 docs/PhonestaticResponse.md delete mode 100644 docs/PhonestaticResponseCompound.md create mode 100644 docs/RejectedoffertopurchaseGetCommunicationListV1Response.md create mode 100644 docs/RejectedoffertopurchaseGetCommunicationListV1ResponseMPayload.md create mode 100644 eZmaxApi/api/object_attachment_api.py create mode 100644 eZmaxApi/api/object_buyercontract_api.py create mode 100644 eZmaxApi/api/object_electronicfundstransfer_api.py create mode 100644 eZmaxApi/api/object_inscription_api.py create mode 100644 eZmaxApi/api/object_inscriptionnotauthenticated_api.py create mode 100644 eZmaxApi/api/object_inscriptiontemp_api.py create mode 100644 eZmaxApi/api/object_invoice_api.py create mode 100644 eZmaxApi/api/object_otherincome_api.py create mode 100644 eZmaxApi/api/object_rejectedoffertopurchase_api.py create mode 100644 eZmaxApi/models/attachment_download_v1_response.py create mode 100644 eZmaxApi/models/buyercontract_get_communication_list_v1_response.py create mode 100644 eZmaxApi/models/buyercontract_get_communication_list_v1_response_m_payload.py rename eZmaxApi/models/{emailstatic_response.py => communication_create_object_v1_response_m_payload.py} (54%) create mode 100644 eZmaxApi/models/communication_request.py create mode 100644 eZmaxApi/models/communication_request_compound.py delete mode 100644 eZmaxApi/models/communication_response.py delete mode 100644 eZmaxApi/models/communication_response_compound.py rename eZmaxApi/models/{communication_get_object_v2_response_m_payload.py => communication_send_v1_request.py} (52%) rename eZmaxApi/models/{communication_get_object_v2_response.py => communication_send_v1_response.py} (74%) rename eZmaxApi/models/{communicationattachment_response.py => communicationattachment_request.py} (65%) rename eZmaxApi/models/{communicationattachment_response_compound.py => communicationattachment_request_compound.py} (63%) create mode 100644 eZmaxApi/models/communicationexternalrecipient_request.py create mode 100644 eZmaxApi/models/communicationexternalrecipient_request_compound.py delete mode 100644 eZmaxApi/models/communicationexternalrecipient_response.py delete mode 100644 eZmaxApi/models/communicationexternalrecipient_response_compound.py create mode 100644 eZmaxApi/models/communicationrecipient_request.py create mode 100644 eZmaxApi/models/communicationrecipient_request_compound.py delete mode 100644 eZmaxApi/models/communicationrecipient_response_compound.py create mode 100644 eZmaxApi/models/communicationreference_request.py create mode 100644 eZmaxApi/models/communicationreference_request_compound.py create mode 100644 eZmaxApi/models/custom_communicationattachment_request.py create mode 100644 eZmaxApi/models/custom_communicationrecipientsgroup_response.py rename eZmaxApi/models/{communicationrecipient_response.py => custom_communicationrecipientsrecipient_response.py} (55%) create mode 100644 eZmaxApi/models/custom_communicationsender_request.py create mode 100644 eZmaxApi/models/custom_communicationsender_response.py delete mode 100644 eZmaxApi/models/descriptionstatic_response.py delete mode 100644 eZmaxApi/models/descriptionstatic_response_compound.py create mode 100644 eZmaxApi/models/electronicfundstransfer_get_communication_list_v1_response.py create mode 100644 eZmaxApi/models/electronicfundstransfer_get_communication_list_v1_response_m_payload.py delete mode 100644 eZmaxApi/models/emailstatic_response_compound.py create mode 100644 eZmaxApi/models/ezsignfolder_get_communicationrecipients_v1_response.py create mode 100644 eZmaxApi/models/ezsignfolder_get_communicationrecipients_v1_response_m_payload.py create mode 100644 eZmaxApi/models/ezsignfolder_get_communicationsenders_v1_response.py create mode 100644 eZmaxApi/models/ezsignfolder_get_communicationsenders_v1_response_m_payload.py delete mode 100644 eZmaxApi/models/field_e_communicationrecipient_objecttype.py create mode 100644 eZmaxApi/models/inscription_get_communication_list_v1_response.py create mode 100644 eZmaxApi/models/inscription_get_communication_list_v1_response_m_payload.py create mode 100644 eZmaxApi/models/inscriptionnotauthenticated_get_communication_list_v1_response.py create mode 100644 eZmaxApi/models/inscriptionnotauthenticated_get_communication_list_v1_response_m_payload.py create mode 100644 eZmaxApi/models/inscriptiontemp_get_communication_list_v1_response.py create mode 100644 eZmaxApi/models/inscriptiontemp_get_communication_list_v1_response_m_payload.py create mode 100644 eZmaxApi/models/invoice_get_communication_list_v1_response.py create mode 100644 eZmaxApi/models/invoice_get_communication_list_v1_response_m_payload.py create mode 100644 eZmaxApi/models/otherincome_get_communication_list_v1_response.py create mode 100644 eZmaxApi/models/otherincome_get_communication_list_v1_response_m_payload.py delete mode 100644 eZmaxApi/models/phonestatic_response.py delete mode 100644 eZmaxApi/models/phonestatic_response_compound.py create mode 100644 eZmaxApi/models/rejectedoffertopurchase_get_communication_list_v1_response.py create mode 100644 eZmaxApi/models/rejectedoffertopurchase_get_communication_list_v1_response_m_payload.py create mode 100644 test/test_attachment_download_v1_response.py create mode 100644 test/test_buyercontract_get_communication_list_v1_response.py create mode 100644 test/test_buyercontract_get_communication_list_v1_response_m_payload.py create mode 100644 test/test_communication_create_object_v1_response_m_payload.py delete mode 100644 test/test_communication_get_object_v2_response_m_payload.py create mode 100644 test/test_communication_request.py create mode 100644 test/test_communication_request_compound.py delete mode 100644 test/test_communication_response.py delete mode 100644 test/test_communication_response_compound.py create mode 100644 test/test_communication_send_v1_request.py rename test/{test_communication_get_object_v2_response.py => test_communication_send_v1_response.py} (61%) rename test/{test_communicationattachment_response.py => test_communicationattachment_request.py} (58%) rename test/{test_communicationattachment_response_compound.py => test_communicationattachment_request_compound.py} (55%) create mode 100644 test/test_communicationexternalrecipient_request.py create mode 100644 test/test_communicationexternalrecipient_request_compound.py delete mode 100644 test/test_communicationexternalrecipient_response.py delete mode 100644 test/test_communicationexternalrecipient_response_compound.py rename test/{test_communicationrecipient_response.py => test_communicationrecipient_request.py} (51%) create mode 100644 test/test_communicationrecipient_request_compound.py delete mode 100644 test/test_communicationrecipient_response_compound.py create mode 100644 test/test_communicationreference_request.py create mode 100644 test/test_communicationreference_request_compound.py create mode 100644 test/test_custom_communicationattachment_request.py create mode 100644 test/test_custom_communicationrecipientsgroup_response.py create mode 100644 test/test_custom_communicationrecipientsrecipient_response.py rename test/{test_phonestatic_response_compound.py => test_custom_communicationsender_request.py} (51%) create mode 100644 test/test_custom_communicationsender_response.py delete mode 100644 test/test_descriptionstatic_response.py delete mode 100644 test/test_descriptionstatic_response_compound.py create mode 100644 test/test_electronicfundstransfer_get_communication_list_v1_response.py create mode 100644 test/test_electronicfundstransfer_get_communication_list_v1_response_m_payload.py delete mode 100644 test/test_emailstatic_response.py delete mode 100644 test/test_emailstatic_response_compound.py create mode 100644 test/test_ezsignfolder_get_communicationrecipients_v1_response.py create mode 100644 test/test_ezsignfolder_get_communicationrecipients_v1_response_m_payload.py create mode 100644 test/test_ezsignfolder_get_communicationsenders_v1_response.py create mode 100644 test/test_ezsignfolder_get_communicationsenders_v1_response_m_payload.py delete mode 100644 test/test_field_e_communicationrecipient_objecttype.py create mode 100644 test/test_inscription_get_communication_list_v1_response.py create mode 100644 test/test_inscription_get_communication_list_v1_response_m_payload.py create mode 100644 test/test_inscriptionnotauthenticated_get_communication_list_v1_response.py create mode 100644 test/test_inscriptionnotauthenticated_get_communication_list_v1_response_m_payload.py create mode 100644 test/test_inscriptiontemp_get_communication_list_v1_response.py create mode 100644 test/test_inscriptiontemp_get_communication_list_v1_response_m_payload.py create mode 100644 test/test_invoice_get_communication_list_v1_response.py create mode 100644 test/test_invoice_get_communication_list_v1_response_m_payload.py create mode 100644 test/test_object_attachment_api.py create mode 100644 test/test_object_buyercontract_api.py create mode 100644 test/test_object_electronicfundstransfer_api.py create mode 100644 test/test_object_inscription_api.py create mode 100644 test/test_object_inscriptionnotauthenticated_api.py create mode 100644 test/test_object_inscriptiontemp_api.py create mode 100644 test/test_object_invoice_api.py create mode 100644 test/test_object_otherincome_api.py create mode 100644 test/test_object_rejectedoffertopurchase_api.py create mode 100644 test/test_otherincome_get_communication_list_v1_response.py create mode 100644 test/test_otherincome_get_communication_list_v1_response_m_payload.py delete mode 100644 test/test_phonestatic_response.py create mode 100644 test/test_rejectedoffertopurchase_get_communication_list_v1_response.py create mode 100644 test/test_rejectedoffertopurchase_get_communication_list_v1_response_m_payload.py diff --git a/.openapi-generator/FILES b/.openapi-generator/FILES index 45ec14adb..310d8d985 100644 --- a/.openapi-generator/FILES +++ b/.openapi-generator/FILES @@ -41,6 +41,7 @@ docs/ApikeyRequest.md docs/ApikeyRequestCompound.md docs/ApikeyResponse.md docs/ApikeyResponseCompound.md +docs/AttachmentDownloadV1Response.md docs/AttemptResponse.md docs/AttemptResponseCompound.md docs/BillingentityexternalAutocompleteElementResponse.md @@ -84,6 +85,8 @@ docs/BrandingRequest.md docs/BrandingRequestCompound.md docs/BrandingResponse.md docs/BrandingResponseCompound.md +docs/BuyercontractGetCommunicationListV1Response.md +docs/BuyercontractGetCommunicationListV1ResponseMPayload.md docs/ClonehistoryGetListV1Response.md docs/ClonehistoryGetListV1ResponseMPayload.md docs/ClonehistoryListElement.md @@ -117,16 +120,19 @@ docs/CommonResponseObjSQLQuery.md docs/CommonResponseRedirectSSecretquestionTextX.md docs/CommonResponseWarning.md docs/CommonWebhook.md -docs/CommunicationGetObjectV2Response.md -docs/CommunicationGetObjectV2ResponseMPayload.md -docs/CommunicationResponse.md -docs/CommunicationResponseCompound.md -docs/CommunicationattachmentResponse.md -docs/CommunicationattachmentResponseCompound.md -docs/CommunicationexternalrecipientResponse.md -docs/CommunicationexternalrecipientResponseCompound.md -docs/CommunicationrecipientResponse.md -docs/CommunicationrecipientResponseCompound.md +docs/CommunicationCreateObjectV1ResponseMPayload.md +docs/CommunicationRequest.md +docs/CommunicationRequestCompound.md +docs/CommunicationSendV1Request.md +docs/CommunicationSendV1Response.md +docs/CommunicationattachmentRequest.md +docs/CommunicationattachmentRequestCompound.md +docs/CommunicationexternalrecipientRequest.md +docs/CommunicationexternalrecipientRequestCompound.md +docs/CommunicationrecipientRequest.md +docs/CommunicationrecipientRequestCompound.md +docs/CommunicationreferenceRequest.md +docs/CommunicationreferenceRequestCompound.md docs/CompanyAutocompleteElementResponse.md docs/CompanyGetAutocompleteV2Response.md docs/CompanyGetAutocompleteV2ResponseMPayload.md @@ -150,6 +156,11 @@ docs/CorsResponse.md docs/CorsResponseCompound.md docs/CustomAutocompleteElementResponse.md docs/CustomCommunicationListElementResponse.md +docs/CustomCommunicationattachmentRequest.md +docs/CustomCommunicationrecipientsgroupResponse.md +docs/CustomCommunicationrecipientsrecipientResponse.md +docs/CustomCommunicationsenderRequest.md +docs/CustomCommunicationsenderResponse.md docs/CustomContactNameResponse.md docs/CustomCreditcardtransactionResponse.md docs/CustomDropdownElementRequest.md @@ -189,14 +200,12 @@ docs/CustomWordPositionWordResponse.md docs/DepartmentAutocompleteElementResponse.md docs/DepartmentGetAutocompleteV2Response.md docs/DepartmentGetAutocompleteV2ResponseMPayload.md -docs/DescriptionstaticResponse.md -docs/DescriptionstaticResponseCompound.md +docs/ElectronicfundstransferGetCommunicationListV1Response.md +docs/ElectronicfundstransferGetCommunicationListV1ResponseMPayload.md docs/EmailRequest.md docs/EmailRequestCompound.md docs/EmailResponse.md docs/EmailResponseCompound.md -docs/EmailstaticResponse.md -docs/EmailstaticResponseCompound.md docs/EmailtypeAutocompleteElementResponse.md docs/EmailtypeGetAutocompleteV2Response.md docs/EmailtypeGetAutocompleteV2ResponseMPayload.md @@ -378,6 +387,10 @@ docs/EzsignfolderGetCommunicationCountV1Response.md docs/EzsignfolderGetCommunicationCountV1ResponseMPayload.md docs/EzsignfolderGetCommunicationListV1Response.md docs/EzsignfolderGetCommunicationListV1ResponseMPayload.md +docs/EzsignfolderGetCommunicationrecipientsV1Response.md +docs/EzsignfolderGetCommunicationrecipientsV1ResponseMPayload.md +docs/EzsignfolderGetCommunicationsendersV1Response.md +docs/EzsignfolderGetCommunicationsendersV1ResponseMPayload.md docs/EzsignfolderGetEzsigndocumentsV1Response.md docs/EzsignfolderGetEzsigndocumentsV1ResponseMPayload.md docs/EzsignfolderGetEzsignfoldersignerassociationsV1Response.md @@ -706,7 +719,6 @@ docs/FieldEBrandingLogo.md docs/FieldECommunicationImportance.md docs/FieldECommunicationType.md docs/FieldECommunicationexternalrecipientType.md -docs/FieldECommunicationrecipientObjecttype.md docs/FieldECommunicationrecipientType.md docs/FieldECreditcardtypeCodename.md docs/FieldEErrorCode.md @@ -789,6 +801,14 @@ docs/GlobalEzmaxclientVersionV1Response.md docs/GlobalEzmaxcustomerApi.md docs/GlobalEzmaxcustomerGetConfigurationV1Response.md docs/HeaderAcceptLanguage.md +docs/InscriptionGetCommunicationListV1Response.md +docs/InscriptionGetCommunicationListV1ResponseMPayload.md +docs/InscriptionnotauthenticatedGetCommunicationListV1Response.md +docs/InscriptionnotauthenticatedGetCommunicationListV1ResponseMPayload.md +docs/InscriptiontempGetCommunicationListV1Response.md +docs/InscriptiontempGetCommunicationListV1ResponseMPayload.md +docs/InvoiceGetCommunicationListV1Response.md +docs/InvoiceGetCommunicationListV1ResponseMPayload.md docs/LanguageAutocompleteElementResponse.md docs/LanguageGetAutocompleteV2Response.md docs/LanguageGetAutocompleteV2ResponseMPayload.md @@ -824,14 +844,17 @@ docs/NotificationtestGetElementsV1ResponseMPayload.md docs/NotificationtestResponse.md docs/ObjectActivesessionApi.md docs/ObjectApikeyApi.md +docs/ObjectAttachmentApi.md docs/ObjectBillingentityexternalApi.md docs/ObjectBillingentityinternalApi.md docs/ObjectBrandingApi.md +docs/ObjectBuyercontractApi.md docs/ObjectClonehistoryApi.md docs/ObjectCommunicationApi.md docs/ObjectCompanyApi.md docs/ObjectCorsApi.md docs/ObjectDepartmentApi.md +docs/ObjectElectronicfundstransferApi.md docs/ObjectEmailtypeApi.md docs/ObjectEzmaxinvoicingApi.md docs/ObjectEzmaxproductApi.md @@ -862,14 +885,20 @@ docs/ObjectFontApi.md docs/ObjectFranchisebrokerApi.md docs/ObjectFranchiseofficeApi.md docs/ObjectFranchisereferalincomeApi.md +docs/ObjectInscriptionApi.md +docs/ObjectInscriptionnotauthenticatedApi.md +docs/ObjectInscriptiontempApi.md +docs/ObjectInvoiceApi.md docs/ObjectLanguageApi.md docs/ObjectModulegroupApi.md docs/ObjectNotificationsectionApi.md docs/ObjectNotificationtestApi.md +docs/ObjectOtherincomeApi.md docs/ObjectPaymenttermApi.md docs/ObjectPeriodApi.md docs/ObjectPermissionApi.md docs/ObjectPhonetypeApi.md +docs/ObjectRejectedoffertopurchaseApi.md docs/ObjectSecretquestionApi.md docs/ObjectSessionhistoryApi.md docs/ObjectSignatureApi.md @@ -886,6 +915,8 @@ docs/ObjectUserstagedApi.md docs/ObjectVariableexpenseApi.md docs/ObjectVersionhistoryApi.md docs/ObjectWebhookApi.md +docs/OtherincomeGetCommunicationListV1Response.md +docs/OtherincomeGetCommunicationListV1ResponseMPayload.md docs/PaymenttermAutocompleteElementResponse.md docs/PaymenttermCreateObjectV1Request.md docs/PaymenttermCreateObjectV1Response.md @@ -922,11 +953,11 @@ docs/PhoneRequest.md docs/PhoneRequestCompound.md docs/PhoneResponse.md docs/PhoneResponseCompound.md -docs/PhonestaticResponse.md -docs/PhonestaticResponseCompound.md docs/PhonetypeAutocompleteElementResponse.md docs/PhonetypeGetAutocompleteV2Response.md docs/PhonetypeGetAutocompleteV2ResponseMPayload.md +docs/RejectedoffertopurchaseGetCommunicationListV1Response.md +docs/RejectedoffertopurchaseGetCommunicationListV1ResponseMPayload.md docs/ScimAuthenticationScheme.md docs/ScimEmail.md docs/ScimGroup.md @@ -1156,14 +1187,17 @@ 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_billingentityexternal_api.py eZmaxApi/api/object_billingentityinternal_api.py eZmaxApi/api/object_branding_api.py +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_cors_api.py eZmaxApi/api/object_department_api.py +eZmaxApi/api/object_electronicfundstransfer_api.py eZmaxApi/api/object_emailtype_api.py eZmaxApi/api/object_ezmaxinvoicing_api.py eZmaxApi/api/object_ezmaxproduct_api.py @@ -1194,14 +1228,20 @@ 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_inscription_api.py +eZmaxApi/api/object_inscriptionnotauthenticated_api.py +eZmaxApi/api/object_inscriptiontemp_api.py +eZmaxApi/api/object_invoice_api.py eZmaxApi/api/object_language_api.py eZmaxApi/api/object_modulegroup_api.py 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_period_api.py eZmaxApi/api/object_permission_api.py eZmaxApi/api/object_phonetype_api.py +eZmaxApi/api/object_rejectedoffertopurchase_api.py eZmaxApi/api/object_secretquestion_api.py eZmaxApi/api/object_sessionhistory_api.py eZmaxApi/api/object_signature_api.py @@ -1263,6 +1303,7 @@ eZmaxApi/models/apikey_request.py eZmaxApi/models/apikey_request_compound.py eZmaxApi/models/apikey_response.py eZmaxApi/models/apikey_response_compound.py +eZmaxApi/models/attachment_download_v1_response.py eZmaxApi/models/attempt_response.py eZmaxApi/models/attempt_response_compound.py eZmaxApi/models/billingentityexternal_autocomplete_element_response.py @@ -1306,6 +1347,8 @@ eZmaxApi/models/branding_request.py eZmaxApi/models/branding_request_compound.py eZmaxApi/models/branding_response.py eZmaxApi/models/branding_response_compound.py +eZmaxApi/models/buyercontract_get_communication_list_v1_response.py +eZmaxApi/models/buyercontract_get_communication_list_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 @@ -1339,16 +1382,19 @@ 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_get_object_v2_response.py -eZmaxApi/models/communication_get_object_v2_response_m_payload.py -eZmaxApi/models/communication_response.py -eZmaxApi/models/communication_response_compound.py -eZmaxApi/models/communicationattachment_response.py -eZmaxApi/models/communicationattachment_response_compound.py -eZmaxApi/models/communicationexternalrecipient_response.py -eZmaxApi/models/communicationexternalrecipient_response_compound.py -eZmaxApi/models/communicationrecipient_response.py -eZmaxApi/models/communicationrecipient_response_compound.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/communicationattachment_request.py +eZmaxApi/models/communicationattachment_request_compound.py +eZmaxApi/models/communicationexternalrecipient_request.py +eZmaxApi/models/communicationexternalrecipient_request_compound.py +eZmaxApi/models/communicationrecipient_request.py +eZmaxApi/models/communicationrecipient_request_compound.py +eZmaxApi/models/communicationreference_request.py +eZmaxApi/models/communicationreference_request_compound.py eZmaxApi/models/company_autocomplete_element_response.py eZmaxApi/models/company_get_autocomplete_v2_response.py eZmaxApi/models/company_get_autocomplete_v2_response_m_payload.py @@ -1372,6 +1418,11 @@ eZmaxApi/models/cors_response.py eZmaxApi/models/cors_response_compound.py eZmaxApi/models/custom_autocomplete_element_response.py eZmaxApi/models/custom_communication_list_element_response.py +eZmaxApi/models/custom_communicationattachment_request.py +eZmaxApi/models/custom_communicationrecipientsgroup_response.py +eZmaxApi/models/custom_communicationrecipientsrecipient_response.py +eZmaxApi/models/custom_communicationsender_request.py +eZmaxApi/models/custom_communicationsender_response.py eZmaxApi/models/custom_contact_name_response.py eZmaxApi/models/custom_creditcardtransaction_response.py eZmaxApi/models/custom_dropdown_element_request.py @@ -1411,14 +1462,12 @@ eZmaxApi/models/custom_word_position_word_response.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 -eZmaxApi/models/descriptionstatic_response.py -eZmaxApi/models/descriptionstatic_response_compound.py +eZmaxApi/models/electronicfundstransfer_get_communication_list_v1_response.py +eZmaxApi/models/electronicfundstransfer_get_communication_list_v1_response_m_payload.py eZmaxApi/models/email_request.py eZmaxApi/models/email_request_compound.py eZmaxApi/models/email_response.py eZmaxApi/models/email_response_compound.py -eZmaxApi/models/emailstatic_response.py -eZmaxApi/models/emailstatic_response_compound.py eZmaxApi/models/emailtype_autocomplete_element_response.py eZmaxApi/models/emailtype_get_autocomplete_v2_response.py eZmaxApi/models/emailtype_get_autocomplete_v2_response_m_payload.py @@ -1600,6 +1649,10 @@ eZmaxApi/models/ezsignfolder_get_communication_count_v1_response.py eZmaxApi/models/ezsignfolder_get_communication_count_v1_response_m_payload.py eZmaxApi/models/ezsignfolder_get_communication_list_v1_response.py eZmaxApi/models/ezsignfolder_get_communication_list_v1_response_m_payload.py +eZmaxApi/models/ezsignfolder_get_communicationrecipients_v1_response.py +eZmaxApi/models/ezsignfolder_get_communicationrecipients_v1_response_m_payload.py +eZmaxApi/models/ezsignfolder_get_communicationsenders_v1_response.py +eZmaxApi/models/ezsignfolder_get_communicationsenders_v1_response_m_payload.py eZmaxApi/models/ezsignfolder_get_ezsigndocuments_v1_response.py eZmaxApi/models/ezsignfolder_get_ezsigndocuments_v1_response_m_payload.py eZmaxApi/models/ezsignfolder_get_ezsignfoldersignerassociations_v1_response.py @@ -1928,7 +1981,6 @@ eZmaxApi/models/field_e_branding_logo.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_objecttype.py eZmaxApi/models/field_e_communicationrecipient_type.py eZmaxApi/models/field_e_creditcardtype_codename.py eZmaxApi/models/field_e_error_code.py @@ -2008,6 +2060,14 @@ 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_communication_list_v1_response.py +eZmaxApi/models/inscription_get_communication_list_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/inscriptiontemp_get_communication_list_v1_response.py +eZmaxApi/models/inscriptiontemp_get_communication_list_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/language_autocomplete_element_response.py eZmaxApi/models/language_get_autocomplete_v2_response.py eZmaxApi/models/language_get_autocomplete_v2_response_m_payload.py @@ -2038,6 +2098,8 @@ 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_list_v1_response.py +eZmaxApi/models/otherincome_get_communication_list_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 @@ -2074,11 +2136,11 @@ eZmaxApi/models/phone_request.py eZmaxApi/models/phone_request_compound.py eZmaxApi/models/phone_response.py eZmaxApi/models/phone_response_compound.py -eZmaxApi/models/phonestatic_response.py -eZmaxApi/models/phonestatic_response_compound.py eZmaxApi/models/phonetype_autocomplete_element_response.py eZmaxApi/models/phonetype_get_autocomplete_v2_response.py eZmaxApi/models/phonetype_get_autocomplete_v2_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/scim_authentication_scheme.py eZmaxApi/models/scim_email.py eZmaxApi/models/scim_group.py @@ -2341,6 +2403,7 @@ test/test_apikey_request.py test/test_apikey_request_compound.py test/test_apikey_response.py test/test_apikey_response_compound.py +test/test_attachment_download_v1_response.py test/test_attempt_response.py test/test_attempt_response_compound.py test/test_billingentityexternal_autocomplete_element_response.py @@ -2384,6 +2447,8 @@ test/test_branding_request.py test/test_branding_request_compound.py test/test_branding_response.py test/test_branding_response_compound.py +test/test_buyercontract_get_communication_list_v1_response.py +test/test_buyercontract_get_communication_list_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 @@ -2417,16 +2482,19 @@ 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_get_object_v2_response.py -test/test_communication_get_object_v2_response_m_payload.py -test/test_communication_response.py -test/test_communication_response_compound.py -test/test_communicationattachment_response.py -test/test_communicationattachment_response_compound.py -test/test_communicationexternalrecipient_response.py -test/test_communicationexternalrecipient_response_compound.py -test/test_communicationrecipient_response.py -test/test_communicationrecipient_response_compound.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_communicationattachment_request.py +test/test_communicationattachment_request_compound.py +test/test_communicationexternalrecipient_request.py +test/test_communicationexternalrecipient_request_compound.py +test/test_communicationrecipient_request.py +test/test_communicationrecipient_request_compound.py +test/test_communicationreference_request.py +test/test_communicationreference_request_compound.py test/test_company_autocomplete_element_response.py test/test_company_get_autocomplete_v2_response.py test/test_company_get_autocomplete_v2_response_m_payload.py @@ -2450,6 +2518,11 @@ test/test_cors_response.py test/test_cors_response_compound.py test/test_custom_autocomplete_element_response.py test/test_custom_communication_list_element_response.py +test/test_custom_communicationattachment_request.py +test/test_custom_communicationrecipientsgroup_response.py +test/test_custom_communicationrecipientsrecipient_response.py +test/test_custom_communicationsender_request.py +test/test_custom_communicationsender_response.py test/test_custom_contact_name_response.py test/test_custom_creditcardtransaction_response.py test/test_custom_dropdown_element_request.py @@ -2489,14 +2562,12 @@ test/test_custom_word_position_word_response.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 -test/test_descriptionstatic_response.py -test/test_descriptionstatic_response_compound.py +test/test_electronicfundstransfer_get_communication_list_v1_response.py +test/test_electronicfundstransfer_get_communication_list_v1_response_m_payload.py test/test_email_request.py test/test_email_request_compound.py test/test_email_response.py test/test_email_response_compound.py -test/test_emailstatic_response.py -test/test_emailstatic_response_compound.py test/test_emailtype_autocomplete_element_response.py test/test_emailtype_get_autocomplete_v2_response.py test/test_emailtype_get_autocomplete_v2_response_m_payload.py @@ -2678,6 +2749,10 @@ test/test_ezsignfolder_get_communication_count_v1_response.py test/test_ezsignfolder_get_communication_count_v1_response_m_payload.py test/test_ezsignfolder_get_communication_list_v1_response.py test/test_ezsignfolder_get_communication_list_v1_response_m_payload.py +test/test_ezsignfolder_get_communicationrecipients_v1_response.py +test/test_ezsignfolder_get_communicationrecipients_v1_response_m_payload.py +test/test_ezsignfolder_get_communicationsenders_v1_response.py +test/test_ezsignfolder_get_communicationsenders_v1_response_m_payload.py test/test_ezsignfolder_get_ezsigndocuments_v1_response.py test/test_ezsignfolder_get_ezsigndocuments_v1_response_m_payload.py test/test_ezsignfolder_get_ezsignfoldersignerassociations_v1_response.py @@ -3006,7 +3081,6 @@ test/test_field_e_branding_logo.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_objecttype.py test/test_field_e_communicationrecipient_type.py test/test_field_e_creditcardtype_codename.py test/test_field_e_error_code.py @@ -3089,6 +3163,14 @@ test/test_global_ezmaxclient_version_v1_response.py test/test_global_ezmaxcustomer_api.py test/test_global_ezmaxcustomer_get_configuration_v1_response.py test/test_header_accept_language.py +test/test_inscription_get_communication_list_v1_response.py +test/test_inscription_get_communication_list_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_inscriptiontemp_get_communication_list_v1_response.py +test/test_inscriptiontemp_get_communication_list_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_language_autocomplete_element_response.py test/test_language_get_autocomplete_v2_response.py test/test_language_get_autocomplete_v2_response_m_payload.py @@ -3124,14 +3206,17 @@ test/test_notificationtest_get_elements_v1_response_m_payload.py 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_billingentityexternal_api.py test/test_object_billingentityinternal_api.py test/test_object_branding_api.py +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_cors_api.py test/test_object_department_api.py +test/test_object_electronicfundstransfer_api.py test/test_object_emailtype_api.py test/test_object_ezmaxinvoicing_api.py test/test_object_ezmaxproduct_api.py @@ -3162,14 +3247,20 @@ 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_inscription_api.py +test/test_object_inscriptionnotauthenticated_api.py +test/test_object_inscriptiontemp_api.py +test/test_object_invoice_api.py test/test_object_language_api.py test/test_object_modulegroup_api.py 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_period_api.py test/test_object_permission_api.py test/test_object_phonetype_api.py +test/test_object_rejectedoffertopurchase_api.py test/test_object_secretquestion_api.py test/test_object_sessionhistory_api.py test/test_object_signature_api.py @@ -3186,6 +3277,8 @@ 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_list_v1_response.py +test/test_otherincome_get_communication_list_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 @@ -3222,11 +3315,11 @@ test/test_phone_request.py test/test_phone_request_compound.py test/test_phone_response.py test/test_phone_response_compound.py -test/test_phonestatic_response.py -test/test_phonestatic_response_compound.py test/test_phonetype_autocomplete_element_response.py test/test_phonetype_get_autocomplete_v2_response.py test/test_phonetype_get_autocomplete_v2_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_scim_authentication_scheme.py test/test_scim_email.py test/test_scim_group.py diff --git a/README.md b/README.md index d6dc8fb62..8d9c0f90c 100644 --- a/README.md +++ b/README.md @@ -105,6 +105,7 @@ Class | Method | HTTP request | Description *ObjectApikeyApi* | [**apikey_get_permissions_v1**](docs/ObjectApikeyApi.md#apikey_get_permissions_v1) | **GET** /1/object/apikey/{pkiApikeyID}/getPermissions | Retrieve an existing Apikey's Permissions *ObjectApikeyApi* | [**apikey_get_subnets_v1**](docs/ObjectApikeyApi.md#apikey_get_subnets_v1) | **GET** /1/object/apikey/{pkiApikeyID}/getSubnets | Retrieve an existing Apikey's subnets *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 *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 @@ -116,14 +117,16 @@ Class | Method | HTTP request | Description *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 +*ObjectBuyercontractApi* | [**buyercontract_get_communication_list_v1**](docs/ObjectBuyercontractApi.md#buyercontract_get_communication_list_v1) | **GET** /1/object/buyercontract/{pkiBuyercontractID}/getCommunicationList | Retrieve Communication list *ObjectClonehistoryApi* | [**clonehistory_get_list_v1**](docs/ObjectClonehistoryApi.md#clonehistory_get_list_v1) | **GET** /1/object/clonehistory/getList | Retrieve Clonehistory list -*ObjectCommunicationApi* | [**communication_get_object_v2**](docs/ObjectCommunicationApi.md#communication_get_object_v2) | **GET** /2/object/communication/{pkiCommunicationID} | Retrieve an existing Communication +*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 *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 *ObjectCorsApi* | [**cors_get_object_v2**](docs/ObjectCorsApi.md#cors_get_object_v2) | **GET** /2/object/cors/{pkiCorsID} | Retrieve an existing Cors *ObjectDepartmentApi* | [**department_get_autocomplete_v2**](docs/ObjectDepartmentApi.md#department_get_autocomplete_v2) | **GET** /2/object/department/getAutocomplete/{sSelector} | Retrieve Departments and IDs +*ObjectElectronicfundstransferApi* | [**eletronicfundstransfer_get_communication_list_v1**](docs/ObjectElectronicfundstransferApi.md#eletronicfundstransfer_get_communication_list_v1) | **GET** /1/object/electronicfundstransfer/{pkiElectronicfundstransferID}/getCommunicationList | Retrieve Communication list *ObjectEmailtypeApi* | [**emailtype_get_autocomplete_v2**](docs/ObjectEmailtypeApi.md#emailtype_get_autocomplete_v2) | **GET** /2/object/emailtype/getAutocomplete/{sSelector} | Retrieve Emailtypes and IDs *ObjectEzmaxinvoicingApi* | [**ezmaxinvoicing_get_autocomplete_v1**](docs/ObjectEzmaxinvoicingApi.md#ezmaxinvoicing_get_autocomplete_v1) | **GET** /1/object/ezmaxinvoicing/getAutocomplete/{sSelector} | Retrieve Ezmaxinvoicings and IDs *ObjectEzmaxinvoicingApi* | [**ezmaxinvoicing_get_autocomplete_v2**](docs/ObjectEzmaxinvoicingApi.md#ezmaxinvoicing_get_autocomplete_v2) | **GET** /2/object/ezmaxinvoicing/getAutocomplete/{sSelector} | Retrieve Ezmaxinvoicings and IDs @@ -188,6 +191,8 @@ Class | Method | HTTP request | Description *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_communication_count_v1**](docs/ObjectEzsignfolderApi.md#ezsignfolder_get_communication_count_v1) | **GET** /1/object/ezsignfolder/{pkiEzsignfolderID}/getCommunicationCount | Retrieve Communication count *ObjectEzsignfolderApi* | [**ezsignfolder_get_communication_list_v1**](docs/ObjectEzsignfolderApi.md#ezsignfolder_get_communication_list_v1) | **GET** /1/object/ezsignfolder/{pkiEzsignfolderID}/getCommunicationList | Retrieve Communication list +*ObjectEzsignfolderApi* | [**ezsignfolder_get_communicationrecipients_v1**](docs/ObjectEzsignfolderApi.md#ezsignfolder_get_communicationrecipients_v1) | **GET** /1/object/ezsignfolder/{pkiEzsignfolderID}/getCommunicationrecipients | Retrieve Ezsignfolder's Communicationrecipient +*ObjectEzsignfolderApi* | [**ezsignfolder_get_communicationsenders_v1**](docs/ObjectEzsignfolderApi.md#ezsignfolder_get_communicationsenders_v1) | **GET** /1/object/ezsignfolder/{pkiEzsignfolderID}/getCommunicationsenders | Retrieve Ezsignfolder's Communicationsender *ObjectEzsignfolderApi* | [**ezsignfolder_get_ezsigndocuments_v1**](docs/ObjectEzsignfolderApi.md#ezsignfolder_get_ezsigndocuments_v1) | **GET** /1/object/ezsignfolder/{pkiEzsignfolderID}/getEzsigndocuments | Retrieve an existing Ezsignfolder's Ezsigndocuments *ObjectEzsignfolderApi* | [**ezsignfolder_get_ezsignfoldersignerassociations_v1**](docs/ObjectEzsignfolderApi.md#ezsignfolder_get_ezsignfoldersignerassociations_v1) | **GET** /1/object/ezsignfolder/{pkiEzsignfolderID}/getEzsignfoldersignerassociations | Retrieve an existing Ezsignfolder's Ezsignfoldersignerassociations *ObjectEzsignfolderApi* | [**ezsignfolder_get_ezsignsignatures_automatic_v1**](docs/ObjectEzsignfolderApi.md#ezsignfolder_get_ezsignsignatures_automatic_v1) | **GET** /1/object/ezsignfolder/{pkiEzsignfolderID}/getEzsignsignaturesAutomatic | Retrieve an existing Ezsignfolder's automatic Ezsignsignatures @@ -294,10 +299,15 @@ Class | Method | HTTP request | Description *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_v1**](docs/ObjectFranchisereferalincomeApi.md#franchisereferalincome_create_object_v1) | **POST** /1/object/franchisereferalincome | Create a new Franchisereferalincome *ObjectFranchisereferalincomeApi* | [**franchisereferalincome_create_object_v2**](docs/ObjectFranchisereferalincomeApi.md#franchisereferalincome_create_object_v2) | **POST** /2/object/franchisereferalincome | Create a new Franchisereferalincome +*ObjectInscriptionApi* | [**inscription_get_communication_list_v1**](docs/ObjectInscriptionApi.md#inscription_get_communication_list_v1) | **GET** /1/object/inscription/{pkiInscriptionID}/getCommunicationList | Retrieve Communication list +*ObjectInscriptionnotauthenticatedApi* | [**inscriptionnotauthenticated_get_communication_list_v1**](docs/ObjectInscriptionnotauthenticatedApi.md#inscriptionnotauthenticated_get_communication_list_v1) | **GET** /1/object/inscriptionnotauthenticated/{pkiInscriptionnotauthenticatedID}/getCommunicationList | Retrieve Communication list +*ObjectInscriptiontempApi* | [**inscriptiontemp_get_communication_list_v1**](docs/ObjectInscriptiontempApi.md#inscriptiontemp_get_communication_list_v1) | **GET** /1/object/inscriptiontemp/{pkiInscriptiontempID}/getCommunicationList | Retrieve Communication list +*ObjectInvoiceApi* | [**invoice_get_communication_list_v1**](docs/ObjectInvoiceApi.md#invoice_get_communication_list_v1) | **GET** /1/object/invoice/{pkiInvoiceID}/getCommunicationList | Retrieve Communication list *ObjectLanguageApi* | [**language_get_autocomplete_v2**](docs/ObjectLanguageApi.md#language_get_autocomplete_v2) | **GET** /2/object/language/getAutocomplete/{sSelector} | Retrieve Languages 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_list_v1**](docs/ObjectOtherincomeApi.md#otherincome_get_communication_list_v1) | **GET** /1/object/otherincome/{pkiOtherincomeID}/getCommunicationList | Retrieve Communication list *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 @@ -310,6 +320,7 @@ Class | Method | HTTP request | Description *ObjectPermissionApi* | [**permission_edit_object_v1**](docs/ObjectPermissionApi.md#permission_edit_object_v1) | **PUT** /1/object/permission/{pkiPermissionID} | Edit an existing Permission *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 +*ObjectRejectedoffertopurchaseApi* | [**rejectedoffertopurchase_get_communication_list_v1**](docs/ObjectRejectedoffertopurchaseApi.md#rejectedoffertopurchase_get_communication_list_v1) | **GET** /1/object/rejectedoffertopurchase/{pkiRejectedoffertopurchaseID}/getCommunicationList | Retrieve Communication list *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 @@ -425,6 +436,7 @@ Class | Method | HTTP request | Description - [ApikeyRequestCompound](docs/ApikeyRequestCompound.md) - [ApikeyResponse](docs/ApikeyResponse.md) - [ApikeyResponseCompound](docs/ApikeyResponseCompound.md) + - [AttachmentDownloadV1Response](docs/AttachmentDownloadV1Response.md) - [AttemptResponse](docs/AttemptResponse.md) - [AttemptResponseCompound](docs/AttemptResponseCompound.md) - [BillingentityexternalAutocompleteElementResponse](docs/BillingentityexternalAutocompleteElementResponse.md) @@ -468,6 +480,8 @@ Class | Method | HTTP request | Description - [BrandingRequestCompound](docs/BrandingRequestCompound.md) - [BrandingResponse](docs/BrandingResponse.md) - [BrandingResponseCompound](docs/BrandingResponseCompound.md) + - [BuyercontractGetCommunicationListV1Response](docs/BuyercontractGetCommunicationListV1Response.md) + - [BuyercontractGetCommunicationListV1ResponseMPayload](docs/BuyercontractGetCommunicationListV1ResponseMPayload.md) - [ClonehistoryGetListV1Response](docs/ClonehistoryGetListV1Response.md) - [ClonehistoryGetListV1ResponseMPayload](docs/ClonehistoryGetListV1ResponseMPayload.md) - [ClonehistoryListElement](docs/ClonehistoryListElement.md) @@ -501,16 +515,19 @@ Class | Method | HTTP request | Description - [CommonResponseRedirectSSecretquestionTextX](docs/CommonResponseRedirectSSecretquestionTextX.md) - [CommonResponseWarning](docs/CommonResponseWarning.md) - [CommonWebhook](docs/CommonWebhook.md) - - [CommunicationGetObjectV2Response](docs/CommunicationGetObjectV2Response.md) - - [CommunicationGetObjectV2ResponseMPayload](docs/CommunicationGetObjectV2ResponseMPayload.md) - - [CommunicationResponse](docs/CommunicationResponse.md) - - [CommunicationResponseCompound](docs/CommunicationResponseCompound.md) - - [CommunicationattachmentResponse](docs/CommunicationattachmentResponse.md) - - [CommunicationattachmentResponseCompound](docs/CommunicationattachmentResponseCompound.md) - - [CommunicationexternalrecipientResponse](docs/CommunicationexternalrecipientResponse.md) - - [CommunicationexternalrecipientResponseCompound](docs/CommunicationexternalrecipientResponseCompound.md) - - [CommunicationrecipientResponse](docs/CommunicationrecipientResponse.md) - - [CommunicationrecipientResponseCompound](docs/CommunicationrecipientResponseCompound.md) + - [CommunicationCreateObjectV1ResponseMPayload](docs/CommunicationCreateObjectV1ResponseMPayload.md) + - [CommunicationRequest](docs/CommunicationRequest.md) + - [CommunicationRequestCompound](docs/CommunicationRequestCompound.md) + - [CommunicationSendV1Request](docs/CommunicationSendV1Request.md) + - [CommunicationSendV1Response](docs/CommunicationSendV1Response.md) + - [CommunicationattachmentRequest](docs/CommunicationattachmentRequest.md) + - [CommunicationattachmentRequestCompound](docs/CommunicationattachmentRequestCompound.md) + - [CommunicationexternalrecipientRequest](docs/CommunicationexternalrecipientRequest.md) + - [CommunicationexternalrecipientRequestCompound](docs/CommunicationexternalrecipientRequestCompound.md) + - [CommunicationrecipientRequest](docs/CommunicationrecipientRequest.md) + - [CommunicationrecipientRequestCompound](docs/CommunicationrecipientRequestCompound.md) + - [CommunicationreferenceRequest](docs/CommunicationreferenceRequest.md) + - [CommunicationreferenceRequestCompound](docs/CommunicationreferenceRequestCompound.md) - [CompanyAutocompleteElementResponse](docs/CompanyAutocompleteElementResponse.md) - [CompanyGetAutocompleteV2Response](docs/CompanyGetAutocompleteV2Response.md) - [CompanyGetAutocompleteV2ResponseMPayload](docs/CompanyGetAutocompleteV2ResponseMPayload.md) @@ -534,6 +551,11 @@ Class | Method | HTTP request | Description - [CorsResponseCompound](docs/CorsResponseCompound.md) - [CustomAutocompleteElementResponse](docs/CustomAutocompleteElementResponse.md) - [CustomCommunicationListElementResponse](docs/CustomCommunicationListElementResponse.md) + - [CustomCommunicationattachmentRequest](docs/CustomCommunicationattachmentRequest.md) + - [CustomCommunicationrecipientsgroupResponse](docs/CustomCommunicationrecipientsgroupResponse.md) + - [CustomCommunicationrecipientsrecipientResponse](docs/CustomCommunicationrecipientsrecipientResponse.md) + - [CustomCommunicationsenderRequest](docs/CustomCommunicationsenderRequest.md) + - [CustomCommunicationsenderResponse](docs/CustomCommunicationsenderResponse.md) - [CustomContactNameResponse](docs/CustomContactNameResponse.md) - [CustomCreditcardtransactionResponse](docs/CustomCreditcardtransactionResponse.md) - [CustomDropdownElementRequest](docs/CustomDropdownElementRequest.md) @@ -573,14 +595,12 @@ Class | Method | HTTP request | Description - [DepartmentAutocompleteElementResponse](docs/DepartmentAutocompleteElementResponse.md) - [DepartmentGetAutocompleteV2Response](docs/DepartmentGetAutocompleteV2Response.md) - [DepartmentGetAutocompleteV2ResponseMPayload](docs/DepartmentGetAutocompleteV2ResponseMPayload.md) - - [DescriptionstaticResponse](docs/DescriptionstaticResponse.md) - - [DescriptionstaticResponseCompound](docs/DescriptionstaticResponseCompound.md) + - [ElectronicfundstransferGetCommunicationListV1Response](docs/ElectronicfundstransferGetCommunicationListV1Response.md) + - [ElectronicfundstransferGetCommunicationListV1ResponseMPayload](docs/ElectronicfundstransferGetCommunicationListV1ResponseMPayload.md) - [EmailRequest](docs/EmailRequest.md) - [EmailRequestCompound](docs/EmailRequestCompound.md) - [EmailResponse](docs/EmailResponse.md) - [EmailResponseCompound](docs/EmailResponseCompound.md) - - [EmailstaticResponse](docs/EmailstaticResponse.md) - - [EmailstaticResponseCompound](docs/EmailstaticResponseCompound.md) - [EmailtypeAutocompleteElementResponse](docs/EmailtypeAutocompleteElementResponse.md) - [EmailtypeGetAutocompleteV2Response](docs/EmailtypeGetAutocompleteV2Response.md) - [EmailtypeGetAutocompleteV2ResponseMPayload](docs/EmailtypeGetAutocompleteV2ResponseMPayload.md) @@ -762,6 +782,10 @@ Class | Method | HTTP request | Description - [EzsignfolderGetCommunicationCountV1ResponseMPayload](docs/EzsignfolderGetCommunicationCountV1ResponseMPayload.md) - [EzsignfolderGetCommunicationListV1Response](docs/EzsignfolderGetCommunicationListV1Response.md) - [EzsignfolderGetCommunicationListV1ResponseMPayload](docs/EzsignfolderGetCommunicationListV1ResponseMPayload.md) + - [EzsignfolderGetCommunicationrecipientsV1Response](docs/EzsignfolderGetCommunicationrecipientsV1Response.md) + - [EzsignfolderGetCommunicationrecipientsV1ResponseMPayload](docs/EzsignfolderGetCommunicationrecipientsV1ResponseMPayload.md) + - [EzsignfolderGetCommunicationsendersV1Response](docs/EzsignfolderGetCommunicationsendersV1Response.md) + - [EzsignfolderGetCommunicationsendersV1ResponseMPayload](docs/EzsignfolderGetCommunicationsendersV1ResponseMPayload.md) - [EzsignfolderGetEzsigndocumentsV1Response](docs/EzsignfolderGetEzsigndocumentsV1Response.md) - [EzsignfolderGetEzsigndocumentsV1ResponseMPayload](docs/EzsignfolderGetEzsigndocumentsV1ResponseMPayload.md) - [EzsignfolderGetEzsignfoldersignerassociationsV1Response](docs/EzsignfolderGetEzsignfoldersignerassociationsV1Response.md) @@ -1090,7 +1114,6 @@ Class | Method | HTTP request | Description - [FieldECommunicationImportance](docs/FieldECommunicationImportance.md) - [FieldECommunicationType](docs/FieldECommunicationType.md) - [FieldECommunicationexternalrecipientType](docs/FieldECommunicationexternalrecipientType.md) - - [FieldECommunicationrecipientObjecttype](docs/FieldECommunicationrecipientObjecttype.md) - [FieldECommunicationrecipientType](docs/FieldECommunicationrecipientType.md) - [FieldECreditcardtypeCodename](docs/FieldECreditcardtypeCodename.md) - [FieldEErrorCode](docs/FieldEErrorCode.md) @@ -1170,6 +1193,14 @@ Class | Method | HTTP request | Description - [GlobalEzmaxclientVersionV1Response](docs/GlobalEzmaxclientVersionV1Response.md) - [GlobalEzmaxcustomerGetConfigurationV1Response](docs/GlobalEzmaxcustomerGetConfigurationV1Response.md) - [HeaderAcceptLanguage](docs/HeaderAcceptLanguage.md) + - [InscriptionGetCommunicationListV1Response](docs/InscriptionGetCommunicationListV1Response.md) + - [InscriptionGetCommunicationListV1ResponseMPayload](docs/InscriptionGetCommunicationListV1ResponseMPayload.md) + - [InscriptionnotauthenticatedGetCommunicationListV1Response](docs/InscriptionnotauthenticatedGetCommunicationListV1Response.md) + - [InscriptionnotauthenticatedGetCommunicationListV1ResponseMPayload](docs/InscriptionnotauthenticatedGetCommunicationListV1ResponseMPayload.md) + - [InscriptiontempGetCommunicationListV1Response](docs/InscriptiontempGetCommunicationListV1Response.md) + - [InscriptiontempGetCommunicationListV1ResponseMPayload](docs/InscriptiontempGetCommunicationListV1ResponseMPayload.md) + - [InvoiceGetCommunicationListV1Response](docs/InvoiceGetCommunicationListV1Response.md) + - [InvoiceGetCommunicationListV1ResponseMPayload](docs/InvoiceGetCommunicationListV1ResponseMPayload.md) - [LanguageAutocompleteElementResponse](docs/LanguageAutocompleteElementResponse.md) - [LanguageGetAutocompleteV2Response](docs/LanguageGetAutocompleteV2Response.md) - [LanguageGetAutocompleteV2ResponseMPayload](docs/LanguageGetAutocompleteV2ResponseMPayload.md) @@ -1200,6 +1231,8 @@ Class | Method | HTTP request | Description - [NotificationtestGetElementsV1Response](docs/NotificationtestGetElementsV1Response.md) - [NotificationtestGetElementsV1ResponseMPayload](docs/NotificationtestGetElementsV1ResponseMPayload.md) - [NotificationtestResponse](docs/NotificationtestResponse.md) + - [OtherincomeGetCommunicationListV1Response](docs/OtherincomeGetCommunicationListV1Response.md) + - [OtherincomeGetCommunicationListV1ResponseMPayload](docs/OtherincomeGetCommunicationListV1ResponseMPayload.md) - [PaymenttermAutocompleteElementResponse](docs/PaymenttermAutocompleteElementResponse.md) - [PaymenttermCreateObjectV1Request](docs/PaymenttermCreateObjectV1Request.md) - [PaymenttermCreateObjectV1Response](docs/PaymenttermCreateObjectV1Response.md) @@ -1236,11 +1269,11 @@ Class | Method | HTTP request | Description - [PhoneRequestCompound](docs/PhoneRequestCompound.md) - [PhoneResponse](docs/PhoneResponse.md) - [PhoneResponseCompound](docs/PhoneResponseCompound.md) - - [PhonestaticResponse](docs/PhonestaticResponse.md) - - [PhonestaticResponseCompound](docs/PhonestaticResponseCompound.md) - [PhonetypeAutocompleteElementResponse](docs/PhonetypeAutocompleteElementResponse.md) - [PhonetypeGetAutocompleteV2Response](docs/PhonetypeGetAutocompleteV2Response.md) - [PhonetypeGetAutocompleteV2ResponseMPayload](docs/PhonetypeGetAutocompleteV2ResponseMPayload.md) + - [RejectedoffertopurchaseGetCommunicationListV1Response](docs/RejectedoffertopurchaseGetCommunicationListV1Response.md) + - [RejectedoffertopurchaseGetCommunicationListV1ResponseMPayload](docs/RejectedoffertopurchaseGetCommunicationListV1ResponseMPayload.md) - [ScimAuthenticationScheme](docs/ScimAuthenticationScheme.md) - [ScimEmail](docs/ScimEmail.md) - [ScimGroup](docs/ScimGroup.md) diff --git a/docs/AttachmentDownloadV1Response.md b/docs/AttachmentDownloadV1Response.md new file mode 100644 index 000000000..e6e97a019 --- /dev/null +++ b/docs/AttachmentDownloadV1Response.md @@ -0,0 +1,30 @@ +# AttachmentDownloadV1Response + +Response for POST /1/object/ezsignfolder/{pkiEzsignfolderID}/send + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**obj_debug_payload** | [**CommonResponseObjDebugPayload**](CommonResponseObjDebugPayload.md) | | +**obj_debug** | [**CommonResponseObjDebug**](CommonResponseObjDebug.md) | | [optional] + +## Example + +```python +from eZmaxApi.models.attachment_download_v1_response import AttachmentDownloadV1Response + +# TODO update the JSON string below +json = "{}" +# create an instance of AttachmentDownloadV1Response from a JSON string +attachment_download_v1_response_instance = AttachmentDownloadV1Response.from_json(json) +# print the JSON string representation of the object +print AttachmentDownloadV1Response.to_json() + +# convert the object into a dict +attachment_download_v1_response_dict = attachment_download_v1_response_instance.to_dict() +# create an instance of AttachmentDownloadV1Response from a dict +attachment_download_v1_response_form_dict = attachment_download_v1_response.from_dict(attachment_download_v1_response_dict) +``` +[[Back to Model list]](../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 new file mode 100644 index 000000000..366ce84fb --- /dev/null +++ b/docs/BuyercontractGetCommunicationListV1Response.md @@ -0,0 +1,31 @@ +# BuyercontractGetCommunicationListV1Response + +Response for GET /1/object/buyercontract/{pkiBuyercontractID}/getCommunicationList + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**obj_debug_payload** | [**CommonResponseObjDebugPayloadGetList**](CommonResponseObjDebugPayloadGetList.md) | | +**obj_debug** | [**CommonResponseObjDebug**](CommonResponseObjDebug.md) | | [optional] +**m_payload** | [**BuyercontractGetCommunicationListV1ResponseMPayload**](BuyercontractGetCommunicationListV1ResponseMPayload.md) | | + +## Example + +```python +from eZmaxApi.models.buyercontract_get_communication_list_v1_response import BuyercontractGetCommunicationListV1Response + +# TODO update the JSON string below +json = "{}" +# create an instance of BuyercontractGetCommunicationListV1Response from a JSON string +buyercontract_get_communication_list_v1_response_instance = BuyercontractGetCommunicationListV1Response.from_json(json) +# print the JSON string representation of the object +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) +``` +[[Back to Model list]](../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 new file mode 100644 index 000000000..b09c56815 --- /dev/null +++ b/docs/BuyercontractGetCommunicationListV1ResponseMPayload.md @@ -0,0 +1,29 @@ +# BuyercontractGetCommunicationListV1ResponseMPayload + +Response for GET /1/object/buyercontract/{pkiBuyercontractID}/getCommunicationList + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**a_obj_communication** | [**List[CustomCommunicationListElementResponse]**](CustomCommunicationListElementResponse.md) | | + +## Example + +```python +from eZmaxApi.models.buyercontract_get_communication_list_v1_response_m_payload import BuyercontractGetCommunicationListV1ResponseMPayload + +# TODO update the JSON string below +json = "{}" +# create an instance of BuyercontractGetCommunicationListV1ResponseMPayload from a JSON string +buyercontract_get_communication_list_v1_response_m_payload_instance = BuyercontractGetCommunicationListV1ResponseMPayload.from_json(json) +# print the JSON string representation of the object +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) +``` +[[Back to Model list]](../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 247901b13..d99b63ee9 100644 --- a/docs/CommonResponseObjDebugPayloadGetList.md +++ b/docs/CommonResponseObjDebugPayloadGetList.md @@ -11,7 +11,7 @@ Name | Type | Description | Notes **b_version_deprecated** | **bool** | Wheter the current route is deprecated or not | **a_filter** | [**CommonResponseFilter**](CommonResponseFilter.md) | | **a_order_by** | **Dict[str, str]** | List of available values for *eOrderBy* | -**i_row_max** | **int** | The maximum numbers of results to be returned | [default to 10000] +**i_row_max** | **int** | The maximum numbers of results to be returned. When the content-type is **application/json** there is an implicit default of 10 000. When it's **application/vnd.openxmlformats-officedocument.spreadsheetml.sheet** the is no implicit default so if you do not specify iRowMax, all records will be returned. | **i_row_offset** | **int** | The starting element from where to start retrieving the results. For example if you started at iRowOffset=0 and asked for iRowMax=100, to get the next 100 results, you could specify iRowOffset=100&iRowMax=100, | [default to 0] ## Example diff --git a/docs/CommunicationCreateObjectV1ResponseMPayload.md b/docs/CommunicationCreateObjectV1ResponseMPayload.md new file mode 100644 index 000000000..c9f500892 --- /dev/null +++ b/docs/CommunicationCreateObjectV1ResponseMPayload.md @@ -0,0 +1,29 @@ +# 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/CommunicationGetObjectV2Response.md b/docs/CommunicationGetObjectV2Response.md deleted file mode 100644 index 08dc7bb41..000000000 --- a/docs/CommunicationGetObjectV2Response.md +++ /dev/null @@ -1,31 +0,0 @@ -# CommunicationGetObjectV2Response - -Response for GET /2/object/communication/{pkiCommunicationID} - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**obj_debug_payload** | [**CommonResponseObjDebugPayload**](CommonResponseObjDebugPayload.md) | | -**obj_debug** | [**CommonResponseObjDebug**](CommonResponseObjDebug.md) | | [optional] -**m_payload** | [**CommunicationGetObjectV2ResponseMPayload**](CommunicationGetObjectV2ResponseMPayload.md) | | - -## Example - -```python -from eZmaxApi.models.communication_get_object_v2_response import CommunicationGetObjectV2Response - -# TODO update the JSON string below -json = "{}" -# create an instance of CommunicationGetObjectV2Response from a JSON string -communication_get_object_v2_response_instance = CommunicationGetObjectV2Response.from_json(json) -# print the JSON string representation of the object -print CommunicationGetObjectV2Response.to_json() - -# convert the object into a dict -communication_get_object_v2_response_dict = communication_get_object_v2_response_instance.to_dict() -# create an instance of CommunicationGetObjectV2Response from a dict -communication_get_object_v2_response_form_dict = communication_get_object_v2_response.from_dict(communication_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/CommunicationGetObjectV2ResponseMPayload.md b/docs/CommunicationGetObjectV2ResponseMPayload.md deleted file mode 100644 index a580b8723..000000000 --- a/docs/CommunicationGetObjectV2ResponseMPayload.md +++ /dev/null @@ -1,29 +0,0 @@ -# CommunicationGetObjectV2ResponseMPayload - -Payload for GET /2/object/communication/{pkiCommunicationID} - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**obj_communication** | [**CommunicationResponseCompound**](CommunicationResponseCompound.md) | | - -## Example - -```python -from eZmaxApi.models.communication_get_object_v2_response_m_payload import CommunicationGetObjectV2ResponseMPayload - -# TODO update the JSON string below -json = "{}" -# create an instance of CommunicationGetObjectV2ResponseMPayload from a JSON string -communication_get_object_v2_response_m_payload_instance = CommunicationGetObjectV2ResponseMPayload.from_json(json) -# print the JSON string representation of the object -print CommunicationGetObjectV2ResponseMPayload.to_json() - -# convert the object into a dict -communication_get_object_v2_response_m_payload_dict = communication_get_object_v2_response_m_payload_instance.to_dict() -# create an instance of CommunicationGetObjectV2ResponseMPayload from a dict -communication_get_object_v2_response_m_payload_form_dict = communication_get_object_v2_response_m_payload.from_dict(communication_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/CommunicationRequest.md b/docs/CommunicationRequest.md new file mode 100644 index 000000000..68ff1bdb2 --- /dev/null +++ b/docs/CommunicationRequest.md @@ -0,0 +1,38 @@ +# CommunicationRequest + +Request for POST /1/object/communication + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**pki_communication_id** | **int** | The unique ID of the Communication. | [optional] +**e_communication_importance** | [**FieldECommunicationImportance**](FieldECommunicationImportance.md) | | [optional] +**e_communication_type** | [**FieldECommunicationType**](FieldECommunicationType.md) | | +**obj_communicationsender** | [**CustomCommunicationsenderRequest**](CustomCommunicationsenderRequest.md) | | [optional] +**s_communication_subject** | **str** | The subject of the Communication | [optional] +**t_communication_body** | **str** | The Body of the Communication | +**b_communication_private** | **bool** | Whether the Communication is private or not | +**e_communication_attachmenttype** | **str** | How the attachment should be included in the email. Only used if eCommunicationType is **Email** | [optional] +**i_communication_attachmentlinkexpiration** | **int** | The number of days before the attachment link expired. Only used if eCommunicationType is **Email** and eCommunicationattachmentType is **Link** | [optional] +**b_communication_readreceipt** | **bool** | Whether we ask for a read receipt or not. | [optional] + +## Example + +```python +from eZmaxApi.models.communication_request import CommunicationRequest + +# TODO update the JSON string below +json = "{}" +# create an instance of CommunicationRequest from a JSON string +communication_request_instance = CommunicationRequest.from_json(json) +# print the JSON string representation of the object +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) +``` +[[Back to Model list]](../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 new file mode 100644 index 000000000..00163fae4 --- /dev/null +++ b/docs/CommunicationRequestCompound.md @@ -0,0 +1,42 @@ +# CommunicationRequestCompound + +Request for POST /1/object/communication + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**pki_communication_id** | **int** | The unique ID of the Communication. | [optional] +**e_communication_importance** | [**FieldECommunicationImportance**](FieldECommunicationImportance.md) | | [optional] +**e_communication_type** | [**FieldECommunicationType**](FieldECommunicationType.md) | | +**obj_communicationsender** | [**CustomCommunicationsenderRequest**](CustomCommunicationsenderRequest.md) | | [optional] +**s_communication_subject** | **str** | The subject of the Communication | [optional] +**t_communication_body** | **str** | The Body of the Communication | +**b_communication_private** | **bool** | Whether the Communication is private or not | +**e_communication_attachmenttype** | **str** | How the attachment should be included in the email. Only used if eCommunicationType is **Email** | [optional] +**i_communication_attachmentlinkexpiration** | **int** | The number of days before the attachment link expired. Only used if eCommunicationType is **Email** and eCommunicationattachmentType is **Link** | [optional] +**b_communication_readreceipt** | **bool** | Whether we ask for a read receipt or not. | [optional] +**a_obj_communicationattachment** | [**List[CustomCommunicationattachmentRequest]**](CustomCommunicationattachmentRequest.md) | | +**a_obj_communicationrecipient** | [**List[CommunicationrecipientRequestCompound]**](CommunicationrecipientRequestCompound.md) | | +**a_obj_communicationreference** | [**List[CommunicationreferenceRequestCompound]**](CommunicationreferenceRequestCompound.md) | | +**a_obj_communicationexternalrecipient** | [**List[CommunicationexternalrecipientRequestCompound]**](CommunicationexternalrecipientRequestCompound.md) | | + +## Example + +```python +from eZmaxApi.models.communication_request_compound import CommunicationRequestCompound + +# TODO update the JSON string below +json = "{}" +# create an instance of CommunicationRequestCompound from a JSON string +communication_request_compound_instance = CommunicationRequestCompound.from_json(json) +# print the JSON string representation of the object +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) +``` +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/CommunicationResponse.md b/docs/CommunicationResponse.md deleted file mode 100644 index c9a36d1d2..000000000 --- a/docs/CommunicationResponse.md +++ /dev/null @@ -1,40 +0,0 @@ -# CommunicationResponse - -A Communication Object - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**pki_communication_id** | **int** | The unique ID of the Communication. | -**e_communication_importance** | [**FieldECommunicationImportance**](FieldECommunicationImportance.md) | | -**e_communication_type** | [**FieldECommunicationType**](FieldECommunicationType.md) | | -**s_communication_subject** | **str** | The subject of the Communication | -**s_communication_bodyurl** | **str** | The url of the body used as body in the Communication | [optional] -**e_communication_direction** | [**ComputedECommunicationDirection**](ComputedECommunicationDirection.md) | | -**i_communicationrecipient_count** | **int** | The count of Communicationrecipient | -**b_communication_private** | **bool** | Whether the Communication is private or not | -**obj_descriptionstatic_sender** | [**DescriptionstaticResponse**](DescriptionstaticResponse.md) | | [optional] -**obj_emailstatic_sender** | [**EmailstaticResponse**](EmailstaticResponse.md) | | [optional] -**obj_phonestatic_sender** | [**PhonestaticResponse**](PhonestaticResponse.md) | | [optional] -**obj_audit** | [**CommonAudit**](CommonAudit.md) | | - -## Example - -```python -from eZmaxApi.models.communication_response import CommunicationResponse - -# TODO update the JSON string below -json = "{}" -# create an instance of CommunicationResponse from a JSON string -communication_response_instance = CommunicationResponse.from_json(json) -# print the JSON string representation of the object -print CommunicationResponse.to_json() - -# convert the object into a dict -communication_response_dict = communication_response_instance.to_dict() -# create an instance of CommunicationResponse from a dict -communication_response_form_dict = communication_response.from_dict(communication_response_dict) -``` -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/docs/CommunicationResponseCompound.md b/docs/CommunicationResponseCompound.md deleted file mode 100644 index eb4e4e998..000000000 --- a/docs/CommunicationResponseCompound.md +++ /dev/null @@ -1,43 +0,0 @@ -# CommunicationResponseCompound - -A Communication Object - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**pki_communication_id** | **int** | The unique ID of the Communication. | -**e_communication_importance** | [**FieldECommunicationImportance**](FieldECommunicationImportance.md) | | -**e_communication_type** | [**FieldECommunicationType**](FieldECommunicationType.md) | | -**s_communication_subject** | **str** | The subject of the Communication | -**s_communication_bodyurl** | **str** | The url of the body used as body in the Communication | [optional] -**e_communication_direction** | [**ComputedECommunicationDirection**](ComputedECommunicationDirection.md) | | -**i_communicationrecipient_count** | **int** | The count of Communicationrecipient | -**b_communication_private** | **bool** | Whether the Communication is private or not | -**obj_descriptionstatic_sender** | [**DescriptionstaticResponse**](DescriptionstaticResponse.md) | | [optional] -**obj_emailstatic_sender** | [**EmailstaticResponse**](EmailstaticResponse.md) | | [optional] -**obj_phonestatic_sender** | [**PhonestaticResponse**](PhonestaticResponse.md) | | [optional] -**obj_audit** | [**CommonAudit**](CommonAudit.md) | | -**a_obj_communicationattachment** | [**List[CommunicationattachmentResponseCompound]**](CommunicationattachmentResponseCompound.md) | | -**a_obj_communicationrecipient** | [**List[CommunicationrecipientResponseCompound]**](CommunicationrecipientResponseCompound.md) | | -**a_obj_communicationexternalrecipient** | [**List[CommunicationexternalrecipientResponseCompound]**](CommunicationexternalrecipientResponseCompound.md) | | - -## Example - -```python -from eZmaxApi.models.communication_response_compound import CommunicationResponseCompound - -# TODO update the JSON string below -json = "{}" -# create an instance of CommunicationResponseCompound from a JSON string -communication_response_compound_instance = CommunicationResponseCompound.from_json(json) -# print the JSON string representation of the object -print CommunicationResponseCompound.to_json() - -# convert the object into a dict -communication_response_compound_dict = communication_response_compound_instance.to_dict() -# create an instance of CommunicationResponseCompound from a dict -communication_response_compound_form_dict = communication_response_compound.from_dict(communication_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/CommunicationSendV1Request.md b/docs/CommunicationSendV1Request.md new file mode 100644 index 000000000..37d23973b --- /dev/null +++ b/docs/CommunicationSendV1Request.md @@ -0,0 +1,29 @@ +# CommunicationSendV1Request + +Request for POST /1/object/communication + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**a_obj_communication** | [**List[CommunicationRequestCompound]**](CommunicationRequestCompound.md) | | + +## Example + +```python +from eZmaxApi.models.communication_send_v1_request import CommunicationSendV1Request + +# TODO update the JSON string below +json = "{}" +# create an instance of CommunicationSendV1Request from a JSON string +communication_send_v1_request_instance = CommunicationSendV1Request.from_json(json) +# print the JSON string representation of the object +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) +``` +[[Back to Model list]](../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 new file mode 100644 index 000000000..4731096c2 --- /dev/null +++ b/docs/CommunicationSendV1Response.md @@ -0,0 +1,31 @@ +# CommunicationSendV1Response + +Response for POST /1/object/communication + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**obj_debug_payload** | [**CommonResponseObjDebugPayload**](CommonResponseObjDebugPayload.md) | | +**obj_debug** | [**CommonResponseObjDebug**](CommonResponseObjDebug.md) | | [optional] +**m_payload** | [**CommunicationCreateObjectV1ResponseMPayload**](CommunicationCreateObjectV1ResponseMPayload.md) | | + +## Example + +```python +from eZmaxApi.models.communication_send_v1_response import CommunicationSendV1Response + +# TODO update the JSON string below +json = "{}" +# create an instance of CommunicationSendV1Response from a JSON string +communication_send_v1_response_instance = CommunicationSendV1Response.from_json(json) +# print the JSON string representation of the object +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) +``` +[[Back to Model list]](../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 new file mode 100644 index 000000000..aa158e192 --- /dev/null +++ b/docs/CommunicationattachmentRequest.md @@ -0,0 +1,32 @@ +# CommunicationattachmentRequest + +A Communicationattachment Object + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**pki_communicationattachment_id** | **int** | The unique ID of the Communicationattachment | [optional] +**fki_attachment_id** | **int** | The unique ID of the Attachment. | [optional] +**fki_invoice_id** | **int** | The unique ID of the Invoice. | [optional] +**fki_salarypreparation_id** | **int** | The unique ID of the Salarypreparation. | [optional] + +## Example + +```python +from eZmaxApi.models.communicationattachment_request import CommunicationattachmentRequest + +# TODO update the JSON string below +json = "{}" +# create an instance of CommunicationattachmentRequest from a JSON string +communicationattachment_request_instance = CommunicationattachmentRequest.from_json(json) +# print the JSON string representation of the object +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) +``` +[[Back to Model list]](../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 new file mode 100644 index 000000000..57ff043d8 --- /dev/null +++ b/docs/CommunicationattachmentRequestCompound.md @@ -0,0 +1,32 @@ +# CommunicationattachmentRequestCompound + +A Communicationattachment Object and children + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**pki_communicationattachment_id** | **int** | The unique ID of the Communicationattachment | [optional] +**fki_attachment_id** | **int** | The unique ID of the Attachment. | [optional] +**fki_invoice_id** | **int** | The unique ID of the Invoice. | [optional] +**fki_salarypreparation_id** | **int** | The unique ID of the Salarypreparation. | [optional] + +## Example + +```python +from eZmaxApi.models.communicationattachment_request_compound import CommunicationattachmentRequestCompound + +# TODO update the JSON string below +json = "{}" +# create an instance of CommunicationattachmentRequestCompound from a JSON string +communicationattachment_request_compound_instance = CommunicationattachmentRequestCompound.from_json(json) +# print the JSON string representation of the object +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) +``` +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/CommunicationattachmentResponse.md b/docs/CommunicationattachmentResponse.md deleted file mode 100644 index 4c988580e..000000000 --- a/docs/CommunicationattachmentResponse.md +++ /dev/null @@ -1,34 +0,0 @@ -# CommunicationattachmentResponse - -A Communicationattachment Object - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**pki_communicationattachment_id** | **int** | The unique ID of the Communicationattachment | -**fki_attachment_id** | **int** | The unique ID of the Attachment. | [optional] -**fki_invoice_id** | **int** | The unique ID of the Invoice. | [optional] -**fki_salarypreparation_id** | **int** | The unique ID of the Salarypreparation. | [optional] -**s_communicationattachment_name** | **str** | The name of the Communicationattachment | -**s_download_url** | **str** | The Url to the requested document. Url will expire after 3 hours. | [optional] - -## Example - -```python -from eZmaxApi.models.communicationattachment_response import CommunicationattachmentResponse - -# TODO update the JSON string below -json = "{}" -# create an instance of CommunicationattachmentResponse from a JSON string -communicationattachment_response_instance = CommunicationattachmentResponse.from_json(json) -# print the JSON string representation of the object -print CommunicationattachmentResponse.to_json() - -# convert the object into a dict -communicationattachment_response_dict = communicationattachment_response_instance.to_dict() -# create an instance of CommunicationattachmentResponse from a dict -communicationattachment_response_form_dict = communicationattachment_response.from_dict(communicationattachment_response_dict) -``` -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/docs/CommunicationattachmentResponseCompound.md b/docs/CommunicationattachmentResponseCompound.md deleted file mode 100644 index 98029f229..000000000 --- a/docs/CommunicationattachmentResponseCompound.md +++ /dev/null @@ -1,34 +0,0 @@ -# CommunicationattachmentResponseCompound - -A Communicationattachment Object - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**pki_communicationattachment_id** | **int** | The unique ID of the Communicationattachment | -**fki_attachment_id** | **int** | The unique ID of the Attachment. | [optional] -**fki_invoice_id** | **int** | The unique ID of the Invoice. | [optional] -**fki_salarypreparation_id** | **int** | The unique ID of the Salarypreparation. | [optional] -**s_communicationattachment_name** | **str** | The name of the Communicationattachment | -**s_download_url** | **str** | The Url to the requested document. Url will expire after 3 hours. | [optional] - -## Example - -```python -from eZmaxApi.models.communicationattachment_response_compound import CommunicationattachmentResponseCompound - -# TODO update the JSON string below -json = "{}" -# create an instance of CommunicationattachmentResponseCompound from a JSON string -communicationattachment_response_compound_instance = CommunicationattachmentResponseCompound.from_json(json) -# print the JSON string representation of the object -print CommunicationattachmentResponseCompound.to_json() - -# convert the object into a dict -communicationattachment_response_compound_dict = communicationattachment_response_compound_instance.to_dict() -# create an instance of CommunicationattachmentResponseCompound from a dict -communicationattachment_response_compound_form_dict = communicationattachment_response_compound.from_dict(communicationattachment_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/CommunicationexternalrecipientRequest.md b/docs/CommunicationexternalrecipientRequest.md new file mode 100644 index 000000000..09a09efc2 --- /dev/null +++ b/docs/CommunicationexternalrecipientRequest.md @@ -0,0 +1,33 @@ +# CommunicationexternalrecipientRequest + +A Communicationexternalrecipient Object + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**pki_communicationexternalrecipient_id** | **int** | The unique ID of the Communicationexternalrecipient | [optional] +**s_email_address** | **str** | The email address. | [optional] +**s_phone_e164** | **str** | A phone number in E.164 Format | [optional] +**e_communicationexternalrecipient_type** | [**FieldECommunicationexternalrecipientType**](FieldECommunicationexternalrecipientType.md) | | [optional] +**s_communicationexternalrecipient_name** | **str** | The name of the Communicationexternalrecipient | + +## Example + +```python +from eZmaxApi.models.communicationexternalrecipient_request import CommunicationexternalrecipientRequest + +# TODO update the JSON string below +json = "{}" +# create an instance of CommunicationexternalrecipientRequest from a JSON string +communicationexternalrecipient_request_instance = CommunicationexternalrecipientRequest.from_json(json) +# print the JSON string representation of the object +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) +``` +[[Back to Model list]](../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 new file mode 100644 index 000000000..4242e2343 --- /dev/null +++ b/docs/CommunicationexternalrecipientRequestCompound.md @@ -0,0 +1,33 @@ +# CommunicationexternalrecipientRequestCompound + +A Communicationexternalrecipient Object and children + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**pki_communicationexternalrecipient_id** | **int** | The unique ID of the Communicationexternalrecipient | [optional] +**s_email_address** | **str** | The email address. | [optional] +**s_phone_e164** | **str** | A phone number in E.164 Format | [optional] +**e_communicationexternalrecipient_type** | [**FieldECommunicationexternalrecipientType**](FieldECommunicationexternalrecipientType.md) | | [optional] +**s_communicationexternalrecipient_name** | **str** | The name of the Communicationexternalrecipient | + +## Example + +```python +from eZmaxApi.models.communicationexternalrecipient_request_compound import CommunicationexternalrecipientRequestCompound + +# TODO update the JSON string below +json = "{}" +# create an instance of CommunicationexternalrecipientRequestCompound from a JSON string +communicationexternalrecipient_request_compound_instance = CommunicationexternalrecipientRequestCompound.from_json(json) +# print the JSON string representation of the object +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) +``` +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/CommunicationexternalrecipientResponse.md b/docs/CommunicationexternalrecipientResponse.md deleted file mode 100644 index 61277b57e..000000000 --- a/docs/CommunicationexternalrecipientResponse.md +++ /dev/null @@ -1,33 +0,0 @@ -# CommunicationexternalrecipientResponse - -A Communicationexternalrecipient Object - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**pki_communicationexternalrecipient_id** | **int** | The unique ID of the Communicationexternalrecipient | -**e_communicationexternalrecipient_type** | [**FieldECommunicationexternalrecipientType**](FieldECommunicationexternalrecipientType.md) | | -**obj_descriptionstatic** | [**DescriptionstaticResponseCompound**](DescriptionstaticResponseCompound.md) | | -**obj_emailstatic** | [**EmailstaticResponseCompound**](EmailstaticResponseCompound.md) | | [optional] -**obj_phonestatic** | [**PhonestaticResponseCompound**](PhonestaticResponseCompound.md) | | [optional] - -## Example - -```python -from eZmaxApi.models.communicationexternalrecipient_response import CommunicationexternalrecipientResponse - -# TODO update the JSON string below -json = "{}" -# create an instance of CommunicationexternalrecipientResponse from a JSON string -communicationexternalrecipient_response_instance = CommunicationexternalrecipientResponse.from_json(json) -# print the JSON string representation of the object -print CommunicationexternalrecipientResponse.to_json() - -# convert the object into a dict -communicationexternalrecipient_response_dict = communicationexternalrecipient_response_instance.to_dict() -# create an instance of CommunicationexternalrecipientResponse from a dict -communicationexternalrecipient_response_form_dict = communicationexternalrecipient_response.from_dict(communicationexternalrecipient_response_dict) -``` -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/docs/CommunicationexternalrecipientResponseCompound.md b/docs/CommunicationexternalrecipientResponseCompound.md deleted file mode 100644 index ff9939d2e..000000000 --- a/docs/CommunicationexternalrecipientResponseCompound.md +++ /dev/null @@ -1,33 +0,0 @@ -# CommunicationexternalrecipientResponseCompound - -A Communicationexternalrecipient Object - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**pki_communicationexternalrecipient_id** | **int** | The unique ID of the Communicationexternalrecipient | -**e_communicationexternalrecipient_type** | [**FieldECommunicationexternalrecipientType**](FieldECommunicationexternalrecipientType.md) | | -**obj_descriptionstatic** | [**DescriptionstaticResponseCompound**](DescriptionstaticResponseCompound.md) | | -**obj_emailstatic** | [**EmailstaticResponseCompound**](EmailstaticResponseCompound.md) | | [optional] -**obj_phonestatic** | [**PhonestaticResponseCompound**](PhonestaticResponseCompound.md) | | [optional] - -## Example - -```python -from eZmaxApi.models.communicationexternalrecipient_response_compound import CommunicationexternalrecipientResponseCompound - -# TODO update the JSON string below -json = "{}" -# create an instance of CommunicationexternalrecipientResponseCompound from a JSON string -communicationexternalrecipient_response_compound_instance = CommunicationexternalrecipientResponseCompound.from_json(json) -# print the JSON string representation of the object -print CommunicationexternalrecipientResponseCompound.to_json() - -# convert the object into a dict -communicationexternalrecipient_response_compound_dict = communicationexternalrecipient_response_compound_instance.to_dict() -# create an instance of CommunicationexternalrecipientResponseCompound from a dict -communicationexternalrecipient_response_compound_form_dict = communicationexternalrecipient_response_compound.from_dict(communicationexternalrecipient_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/CommunicationrecipientRequest.md b/docs/CommunicationrecipientRequest.md new file mode 100644 index 000000000..ec74ffb65 --- /dev/null +++ b/docs/CommunicationrecipientRequest.md @@ -0,0 +1,41 @@ +# CommunicationrecipientRequest + +A Communicationrecipient Object + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**pki_communicationrecipient_id** | **int** | The unique ID of the Communicationrecipient. | [optional] +**fki_agent_id** | **int** | The unique ID of the Agent. | [optional] +**fki_agentincorporation_id** | **int** | The unique ID of the Agentincorporation. | [optional] +**fki_broker_id** | **int** | The unique ID of the Broker. | [optional] +**fki_customer_id** | **int** | The unique ID of the Customer. | [optional] +**fki_employee_id** | **int** | The unique ID of the Employee. | [optional] +**fki_assistant_id** | **int** | The unique ID of the Assistant. | [optional] +**fki_externalbroker_id** | **int** | The unique ID of the Externalbroker. | [optional] +**fki_ezsignsigner_id** | **int** | The unique ID of the Ezsignsigner | [optional] +**fki_notary_id** | **int** | The unique ID of the Notary. | [optional] +**fki_supplier_id** | **int** | The unique ID of the Supplier. | [optional] +**fki_user_id** | **int** | The unique ID of the User | [optional] +**e_communicationrecipient_type** | [**FieldECommunicationrecipientType**](FieldECommunicationrecipientType.md) | | [optional] + +## Example + +```python +from eZmaxApi.models.communicationrecipient_request import CommunicationrecipientRequest + +# TODO update the JSON string below +json = "{}" +# create an instance of CommunicationrecipientRequest from a JSON string +communicationrecipient_request_instance = CommunicationrecipientRequest.from_json(json) +# print the JSON string representation of the object +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) +``` +[[Back to Model list]](../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 new file mode 100644 index 000000000..d6367711d --- /dev/null +++ b/docs/CommunicationrecipientRequestCompound.md @@ -0,0 +1,41 @@ +# CommunicationrecipientRequestCompound + +A Communicationrecipient Object and children + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**pki_communicationrecipient_id** | **int** | The unique ID of the Communicationrecipient. | [optional] +**fki_agent_id** | **int** | The unique ID of the Agent. | [optional] +**fki_agentincorporation_id** | **int** | The unique ID of the Agentincorporation. | [optional] +**fki_broker_id** | **int** | The unique ID of the Broker. | [optional] +**fki_customer_id** | **int** | The unique ID of the Customer. | [optional] +**fki_employee_id** | **int** | The unique ID of the Employee. | [optional] +**fki_assistant_id** | **int** | The unique ID of the Assistant. | [optional] +**fki_externalbroker_id** | **int** | The unique ID of the Externalbroker. | [optional] +**fki_ezsignsigner_id** | **int** | The unique ID of the Ezsignsigner | [optional] +**fki_notary_id** | **int** | The unique ID of the Notary. | [optional] +**fki_supplier_id** | **int** | The unique ID of the Supplier. | [optional] +**fki_user_id** | **int** | The unique ID of the User | [optional] +**e_communicationrecipient_type** | [**FieldECommunicationrecipientType**](FieldECommunicationrecipientType.md) | | [optional] + +## Example + +```python +from eZmaxApi.models.communicationrecipient_request_compound import CommunicationrecipientRequestCompound + +# TODO update the JSON string below +json = "{}" +# create an instance of CommunicationrecipientRequestCompound from a JSON string +communicationrecipient_request_compound_instance = CommunicationrecipientRequestCompound.from_json(json) +# print the JSON string representation of the object +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) +``` +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/CommunicationrecipientResponseCompound.md b/docs/CommunicationrecipientResponseCompound.md deleted file mode 100644 index efead4662..000000000 --- a/docs/CommunicationrecipientResponseCompound.md +++ /dev/null @@ -1,49 +0,0 @@ -# CommunicationrecipientResponseCompound - -A Communicationreciient Object - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**pki_communicationrecipient_id** | **int** | The unique ID of the Communicationrecipient. | -**e_communicationrecipient_objecttype** | [**FieldECommunicationrecipientObjecttype**](FieldECommunicationrecipientObjecttype.md) | | [optional] -**fki_agent_id** | **int** | The unique ID of the Agent. | [optional] -**fki_broker_id** | **int** | The unique ID of the Broker. | [optional] -**fki_contact_id** | **int** | The unique ID of the Contact | [optional] -**fki_customer_id** | **int** | The unique ID of the Customer. | [optional] -**fki_employee_id** | **int** | The unique ID of the Employee. | [optional] -**fki_ezsignsigner_id** | **int** | The unique ID of the Ezsignsigner | [optional] -**fki_franchiseoffice_id** | **int** | The unique ID of the Franchisereoffice | [optional] -**fki_user_id** | **int** | The unique ID of the User | [optional] -**fki_agentincorporation_id** | **int** | The unique ID of the Agentincorporation. | [optional] -**fki_assistant_id** | **int** | The unique ID of the Assistant. | [optional] -**fki_externalbroker_id** | **int** | The unique ID of the Externalbroker. | [optional] -**fki_ezcomagent_id** | **int** | The unique ID of the Ezcomagent. | [optional] -**fki_notary_id** | **int** | The unique ID of the Notary. | [optional] -**fki_rewardmember_id** | **int** | The unique ID of the Rewardmember. | [optional] -**fki_supplier_id** | **int** | The unique ID of the Supplier. | [optional] -**e_communicationrecipient_type** | [**FieldECommunicationrecipientType**](FieldECommunicationrecipientType.md) | | -**obj_descriptionstatic** | [**DescriptionstaticResponseCompound**](DescriptionstaticResponseCompound.md) | | -**obj_emailstatic** | [**EmailstaticResponseCompound**](EmailstaticResponseCompound.md) | | [optional] -**obj_phonestatic** | [**PhonestaticResponseCompound**](PhonestaticResponseCompound.md) | | [optional] - -## Example - -```python -from eZmaxApi.models.communicationrecipient_response_compound import CommunicationrecipientResponseCompound - -# TODO update the JSON string below -json = "{}" -# create an instance of CommunicationrecipientResponseCompound from a JSON string -communicationrecipient_response_compound_instance = CommunicationrecipientResponseCompound.from_json(json) -# print the JSON string representation of the object -print CommunicationrecipientResponseCompound.to_json() - -# convert the object into a dict -communicationrecipient_response_compound_dict = communicationrecipient_response_compound_instance.to_dict() -# create an instance of CommunicationrecipientResponseCompound from a dict -communicationrecipient_response_compound_form_dict = communicationrecipient_response_compound.from_dict(communicationrecipient_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/CommunicationreferenceRequest.md b/docs/CommunicationreferenceRequest.md new file mode 100644 index 000000000..76cd0ead5 --- /dev/null +++ b/docs/CommunicationreferenceRequest.md @@ -0,0 +1,37 @@ +# CommunicationreferenceRequest + +A Communicationreference Object + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**pki_communicationreference_id** | **int** | The unique ID of the Communicationreference | [optional] +**fki_buyercontract_id** | **int** | The unique ID of the Buyercontract | [optional] +**fki_ezsignfolder_id** | **int** | The unique ID of the Ezsignfolder | [optional] +**fki_inscription_id** | **int** | The unique ID of the Inscription. | [optional] +**fki_inscriptiontemp_id** | **int** | The unique ID of the Inscriptiontemp | [optional] +**fki_invoice_id** | **int** | The unique ID of the Invoice. | [optional] +**fki_otherincome_id** | **int** | The unique ID of the Otherincome | [optional] +**fki_electronicfundstransfer_id** | **int** | The unique ID of the Electronicfundstransfer | [optional] +**fki_rejectedoffertopurchase_id** | **int** | The unique ID of the Rejectedoffertopurchase | [optional] + +## Example + +```python +from eZmaxApi.models.communicationreference_request import CommunicationreferenceRequest + +# TODO update the JSON string below +json = "{}" +# create an instance of CommunicationreferenceRequest from a JSON string +communicationreference_request_instance = CommunicationreferenceRequest.from_json(json) +# print the JSON string representation of the object +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) +``` +[[Back to Model list]](../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 new file mode 100644 index 000000000..9ad461bb9 --- /dev/null +++ b/docs/CommunicationreferenceRequestCompound.md @@ -0,0 +1,37 @@ +# CommunicationreferenceRequestCompound + +A Communicationreference Object and children + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**pki_communicationreference_id** | **int** | The unique ID of the Communicationreference | [optional] +**fki_buyercontract_id** | **int** | The unique ID of the Buyercontract | [optional] +**fki_ezsignfolder_id** | **int** | The unique ID of the Ezsignfolder | [optional] +**fki_inscription_id** | **int** | The unique ID of the Inscription. | [optional] +**fki_inscriptiontemp_id** | **int** | The unique ID of the Inscriptiontemp | [optional] +**fki_invoice_id** | **int** | The unique ID of the Invoice. | [optional] +**fki_otherincome_id** | **int** | The unique ID of the Otherincome | [optional] +**fki_electronicfundstransfer_id** | **int** | The unique ID of the Electronicfundstransfer | [optional] +**fki_rejectedoffertopurchase_id** | **int** | The unique ID of the Rejectedoffertopurchase | [optional] + +## Example + +```python +from eZmaxApi.models.communicationreference_request_compound import CommunicationreferenceRequestCompound + +# TODO update the JSON string below +json = "{}" +# create an instance of CommunicationreferenceRequestCompound from a JSON string +communicationreference_request_compound_instance = CommunicationreferenceRequestCompound.from_json(json) +# print the JSON string representation of the object +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) +``` +[[Back to Model list]](../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 new file mode 100644 index 000000000..2b1599a91 --- /dev/null +++ b/docs/CustomCommunicationattachmentRequest.md @@ -0,0 +1,30 @@ +# CustomCommunicationattachmentRequest + +A Custom Communicationattachment Object + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**obj_communicationattachment** | [**CommunicationattachmentRequestCompound**](CommunicationattachmentRequestCompound.md) | | [optional] +**obj_communicationexternalattachment** | [**CommonFile**](CommonFile.md) | | [optional] + +## Example + +```python +from eZmaxApi.models.custom_communicationattachment_request import CustomCommunicationattachmentRequest + +# TODO update the JSON string below +json = "{}" +# create an instance of CustomCommunicationattachmentRequest from a JSON string +custom_communicationattachment_request_instance = CustomCommunicationattachmentRequest.from_json(json) +# print the JSON string representation of the object +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) +``` +[[Back to Model list]](../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 new file mode 100644 index 000000000..b1c33bb40 --- /dev/null +++ b/docs/CustomCommunicationrecipientsgroupResponse.md @@ -0,0 +1,30 @@ +# CustomCommunicationrecipientsgroupResponse + +Generic CommunicationrecipientsGroup Response + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**s_communicationrecipientsgroup_label** | **str** | The label for the Communicationrecipientsgroup | +**a_obj_communicationrecipientsrecipient** | [**List[CustomCommunicationrecipientsrecipientResponse]**](CustomCommunicationrecipientsrecipientResponse.md) | | + +## Example + +```python +from eZmaxApi.models.custom_communicationrecipientsgroup_response import CustomCommunicationrecipientsgroupResponse + +# TODO update the JSON string below +json = "{}" +# create an instance of CustomCommunicationrecipientsgroupResponse from a JSON string +custom_communicationrecipientsgroup_response_instance = CustomCommunicationrecipientsgroupResponse.from_json(json) +# print the JSON string representation of the object +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) +``` +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/CommunicationrecipientResponse.md b/docs/CustomCommunicationrecipientsrecipientResponse.md similarity index 55% rename from docs/CommunicationrecipientResponse.md rename to docs/CustomCommunicationrecipientsrecipientResponse.md index fd0a13e4f..867edc948 100644 --- a/docs/CommunicationrecipientResponse.md +++ b/docs/CustomCommunicationrecipientsrecipientResponse.md @@ -1,12 +1,10 @@ -# CommunicationrecipientResponse +# CustomCommunicationrecipientsrecipientResponse -A Communicationrecipient Object +Generic AutocompleteElement Response ## Properties Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**pki_communicationrecipient_id** | **int** | The unique ID of the Communicationrecipient. | -**e_communicationrecipient_objecttype** | [**FieldECommunicationrecipientObjecttype**](FieldECommunicationrecipientObjecttype.md) | | [optional] **fki_agent_id** | **int** | The unique ID of the Agent. | [optional] **fki_broker_id** | **int** | The unique ID of the Broker. | [optional] **fki_contact_id** | **int** | The unique ID of the Contact | [optional] @@ -22,27 +20,28 @@ Name | Type | Description | Notes **fki_notary_id** | **int** | The unique ID of the Notary. | [optional] **fki_rewardmember_id** | **int** | The unique ID of the Rewardmember. | [optional] **fki_supplier_id** | **int** | The unique ID of the Supplier. | [optional] -**e_communicationrecipient_type** | [**FieldECommunicationrecipientType**](FieldECommunicationrecipientType.md) | | -**obj_descriptionstatic** | [**DescriptionstaticResponseCompound**](DescriptionstaticResponseCompound.md) | | -**obj_emailstatic** | [**EmailstaticResponseCompound**](EmailstaticResponseCompound.md) | | [optional] -**obj_phonestatic** | [**PhonestaticResponseCompound**](PhonestaticResponseCompound.md) | | [optional] +**e_communicationrecipientsrecipient_objecttype** | **str** | | +**obj_contact_name** | [**CustomContactNameResponse**](CustomContactNameResponse.md) | | +**obj_email** | [**EmailResponseCompound**](EmailResponseCompound.md) | | [optional] +**obj_phone_fax** | [**PhoneResponseCompound**](PhoneResponseCompound.md) | | [optional] +**obj_phone_sms** | [**PhoneResponseCompound**](PhoneResponseCompound.md) | | [optional] ## Example ```python -from eZmaxApi.models.communicationrecipient_response import CommunicationrecipientResponse +from eZmaxApi.models.custom_communicationrecipientsrecipient_response import CustomCommunicationrecipientsrecipientResponse # TODO update the JSON string below json = "{}" -# create an instance of CommunicationrecipientResponse from a JSON string -communicationrecipient_response_instance = CommunicationrecipientResponse.from_json(json) +# create an instance of CustomCommunicationrecipientsrecipientResponse from a JSON string +custom_communicationrecipientsrecipient_response_instance = CustomCommunicationrecipientsrecipientResponse.from_json(json) # print the JSON string representation of the object -print CommunicationrecipientResponse.to_json() +print CustomCommunicationrecipientsrecipientResponse.to_json() # convert the object into a dict -communicationrecipient_response_dict = communicationrecipient_response_instance.to_dict() -# create an instance of CommunicationrecipientResponse from a dict -communicationrecipient_response_form_dict = communicationrecipient_response.from_dict(communicationrecipient_response_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) ``` [[Back to Model list]](../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 new file mode 100644 index 000000000..0699e753e --- /dev/null +++ b/docs/CustomCommunicationsenderRequest.md @@ -0,0 +1,32 @@ +# CustomCommunicationsenderRequest + +A Communicationsender Object + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**fki_agent_id** | **int** | The unique ID of the Agent. | [optional] +**fki_broker_id** | **int** | The unique ID of the Broker. | [optional] +**fki_mailboxshared_id** | **int** | The unique ID of the Mailboxshared | [optional] +**fki_user_id** | **int** | The unique ID of the User | [optional] + +## Example + +```python +from eZmaxApi.models.custom_communicationsender_request import CustomCommunicationsenderRequest + +# TODO update the JSON string below +json = "{}" +# create an instance of CustomCommunicationsenderRequest from a JSON string +custom_communicationsender_request_instance = CustomCommunicationsenderRequest.from_json(json) +# print the JSON string representation of the object +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) +``` +[[Back to Model list]](../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 new file mode 100644 index 000000000..eb68223d9 --- /dev/null +++ b/docs/CustomCommunicationsenderResponse.md @@ -0,0 +1,36 @@ +# CustomCommunicationsenderResponse + +Generic Communicationsender Response + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**fki_agent_id** | **int** | The unique ID of the Agent. | [optional] +**fki_broker_id** | **int** | The unique ID of the Broker. | [optional] +**fki_user_id** | **int** | The unique ID of the User | [optional] +**fki_mailboxshared_id** | **int** | The unique ID of the Mailboxshared | [optional] +**e_communicationsender_objecttype** | **str** | | +**obj_contact_name** | [**CustomContactNameResponse**](CustomContactNameResponse.md) | | +**s_email_address** | **str** | The email address. | [optional] +**s_phone_e164** | **str** | A phone number in E.164 Format | [optional] + +## Example + +```python +from eZmaxApi.models.custom_communicationsender_response import CustomCommunicationsenderResponse + +# TODO update the JSON string below +json = "{}" +# create an instance of CustomCommunicationsenderResponse from a JSON string +custom_communicationsender_response_instance = CustomCommunicationsenderResponse.from_json(json) +# print the JSON string representation of the object +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) +``` +[[Back to Model list]](../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 b3fd77c8e..2c279eb48 100644 --- a/docs/CustomWebhookResponse.md +++ b/docs/CustomWebhookResponse.md @@ -14,7 +14,7 @@ Name | Type | Description | Notes **e_webhook_managementevent** | [**FieldEWebhookManagementevent**](FieldEWebhookManagementevent.md) | | [optional] **s_webhook_url** | **str** | The URL of the Webhook callback | **s_webhook_emailfailed** | **str** | The email that will receive the Webhook in case all attempts fail | -**b_webhook_isactive** | **bool** | Whether the Webhook is active or not | [optional] +**b_webhook_isactive** | **bool** | Whether the Webhook is active or not | **b_webhook_skipsslvalidation** | **bool** | Wheter the server's SSL certificate should be validated or not. Not recommended to skip for production use | **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 | diff --git a/docs/DescriptionstaticResponse.md b/docs/DescriptionstaticResponse.md deleted file mode 100644 index 510f7eaf5..000000000 --- a/docs/DescriptionstaticResponse.md +++ /dev/null @@ -1,30 +0,0 @@ -# DescriptionstaticResponse - -A Descriptionstatic Object - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**pki_descriptionstatic_id** | **int** | The unique ID of the Descriptionstatic | -**s_descriptionstatic_description** | **str** | The description of the Descriptionstatic | - -## Example - -```python -from eZmaxApi.models.descriptionstatic_response import DescriptionstaticResponse - -# TODO update the JSON string below -json = "{}" -# create an instance of DescriptionstaticResponse from a JSON string -descriptionstatic_response_instance = DescriptionstaticResponse.from_json(json) -# print the JSON string representation of the object -print DescriptionstaticResponse.to_json() - -# convert the object into a dict -descriptionstatic_response_dict = descriptionstatic_response_instance.to_dict() -# create an instance of DescriptionstaticResponse from a dict -descriptionstatic_response_form_dict = descriptionstatic_response.from_dict(descriptionstatic_response_dict) -``` -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/docs/DescriptionstaticResponseCompound.md b/docs/DescriptionstaticResponseCompound.md deleted file mode 100644 index 5756f3784..000000000 --- a/docs/DescriptionstaticResponseCompound.md +++ /dev/null @@ -1,30 +0,0 @@ -# DescriptionstaticResponseCompound - -A Descriptionstatic Object and children to create a complete structure - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**pki_descriptionstatic_id** | **int** | The unique ID of the Descriptionstatic | -**s_descriptionstatic_description** | **str** | The description of the Descriptionstatic | - -## Example - -```python -from eZmaxApi.models.descriptionstatic_response_compound import DescriptionstaticResponseCompound - -# TODO update the JSON string below -json = "{}" -# create an instance of DescriptionstaticResponseCompound from a JSON string -descriptionstatic_response_compound_instance = DescriptionstaticResponseCompound.from_json(json) -# print the JSON string representation of the object -print DescriptionstaticResponseCompound.to_json() - -# convert the object into a dict -descriptionstatic_response_compound_dict = descriptionstatic_response_compound_instance.to_dict() -# create an instance of DescriptionstaticResponseCompound from a dict -descriptionstatic_response_compound_form_dict = descriptionstatic_response_compound.from_dict(descriptionstatic_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/ElectronicfundstransferGetCommunicationListV1Response.md b/docs/ElectronicfundstransferGetCommunicationListV1Response.md new file mode 100644 index 000000000..66d7bc0b4 --- /dev/null +++ b/docs/ElectronicfundstransferGetCommunicationListV1Response.md @@ -0,0 +1,31 @@ +# ElectronicfundstransferGetCommunicationListV1Response + +Response for GET /1/object/electronicfundstransfer/{pkiElectronicfundstransferID}/getCommunicationList + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**obj_debug_payload** | [**CommonResponseObjDebugPayloadGetList**](CommonResponseObjDebugPayloadGetList.md) | | +**obj_debug** | [**CommonResponseObjDebug**](CommonResponseObjDebug.md) | | [optional] +**m_payload** | [**ElectronicfundstransferGetCommunicationListV1ResponseMPayload**](ElectronicfundstransferGetCommunicationListV1ResponseMPayload.md) | | + +## Example + +```python +from eZmaxApi.models.electronicfundstransfer_get_communication_list_v1_response import ElectronicfundstransferGetCommunicationListV1Response + +# TODO update the JSON string below +json = "{}" +# create an instance of ElectronicfundstransferGetCommunicationListV1Response from a JSON string +electronicfundstransfer_get_communication_list_v1_response_instance = ElectronicfundstransferGetCommunicationListV1Response.from_json(json) +# print the JSON string representation of the object +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) +``` +[[Back to Model list]](../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 new file mode 100644 index 000000000..d8216bead --- /dev/null +++ b/docs/ElectronicfundstransferGetCommunicationListV1ResponseMPayload.md @@ -0,0 +1,29 @@ +# ElectronicfundstransferGetCommunicationListV1ResponseMPayload + +Response for GET /1/object/electronicfundstransfer/{pkiElectronicfundstransferID}/getCommunicationList + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**a_obj_communication** | [**List[CustomCommunicationListElementResponse]**](CustomCommunicationListElementResponse.md) | | + +## Example + +```python +from eZmaxApi.models.electronicfundstransfer_get_communication_list_v1_response_m_payload import ElectronicfundstransferGetCommunicationListV1ResponseMPayload + +# TODO update the JSON string below +json = "{}" +# create an instance of ElectronicfundstransferGetCommunicationListV1ResponseMPayload from a JSON string +electronicfundstransfer_get_communication_list_v1_response_m_payload_instance = ElectronicfundstransferGetCommunicationListV1ResponseMPayload.from_json(json) +# print the JSON string representation of the object +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) +``` +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/EmailstaticResponse.md b/docs/EmailstaticResponse.md deleted file mode 100644 index 373b89aef..000000000 --- a/docs/EmailstaticResponse.md +++ /dev/null @@ -1,30 +0,0 @@ -# EmailstaticResponse - -An Emailstatic Object - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**pki_emailstatic_id** | **int** | The unique ID of the Emailstatic | -**s_emailstatic_address** | **str** | The email address. | - -## Example - -```python -from eZmaxApi.models.emailstatic_response import EmailstaticResponse - -# TODO update the JSON string below -json = "{}" -# create an instance of EmailstaticResponse from a JSON string -emailstatic_response_instance = EmailstaticResponse.from_json(json) -# print the JSON string representation of the object -print EmailstaticResponse.to_json() - -# convert the object into a dict -emailstatic_response_dict = emailstatic_response_instance.to_dict() -# create an instance of EmailstaticResponse from a dict -emailstatic_response_form_dict = emailstatic_response.from_dict(emailstatic_response_dict) -``` -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/docs/EmailstaticResponseCompound.md b/docs/EmailstaticResponseCompound.md deleted file mode 100644 index 2a3672457..000000000 --- a/docs/EmailstaticResponseCompound.md +++ /dev/null @@ -1,30 +0,0 @@ -# EmailstaticResponseCompound - -An Emailstatic Object and children to create a complete structure - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**pki_emailstatic_id** | **int** | The unique ID of the Emailstatic | -**s_emailstatic_address** | **str** | The email address. | - -## Example - -```python -from eZmaxApi.models.emailstatic_response_compound import EmailstaticResponseCompound - -# TODO update the JSON string below -json = "{}" -# create an instance of EmailstaticResponseCompound from a JSON string -emailstatic_response_compound_instance = EmailstaticResponseCompound.from_json(json) -# print the JSON string representation of the object -print EmailstaticResponseCompound.to_json() - -# convert the object into a dict -emailstatic_response_compound_dict = emailstatic_response_compound_instance.to_dict() -# create an instance of EmailstaticResponseCompound from a dict -emailstatic_response_compound_form_dict = emailstatic_response_compound.from_dict(emailstatic_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/EzsignfolderGetCommunicationrecipientsV1Response.md b/docs/EzsignfolderGetCommunicationrecipientsV1Response.md new file mode 100644 index 000000000..484958ca1 --- /dev/null +++ b/docs/EzsignfolderGetCommunicationrecipientsV1Response.md @@ -0,0 +1,31 @@ +# EzsignfolderGetCommunicationrecipientsV1Response + +Response for GET /1/object/ezsignfolder/{pkiEzsignfolderID}/getCommunicationrecipients + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**obj_debug_payload** | [**CommonResponseObjDebugPayload**](CommonResponseObjDebugPayload.md) | | +**obj_debug** | [**CommonResponseObjDebug**](CommonResponseObjDebug.md) | | [optional] +**m_payload** | [**EzsignfolderGetCommunicationrecipientsV1ResponseMPayload**](EzsignfolderGetCommunicationrecipientsV1ResponseMPayload.md) | | + +## Example + +```python +from eZmaxApi.models.ezsignfolder_get_communicationrecipients_v1_response import EzsignfolderGetCommunicationrecipientsV1Response + +# TODO update the JSON string below +json = "{}" +# create an instance of EzsignfolderGetCommunicationrecipientsV1Response from a JSON string +ezsignfolder_get_communicationrecipients_v1_response_instance = EzsignfolderGetCommunicationrecipientsV1Response.from_json(json) +# print the JSON string representation of the object +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) +``` +[[Back to Model list]](../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 new file mode 100644 index 000000000..06c55440f --- /dev/null +++ b/docs/EzsignfolderGetCommunicationrecipientsV1ResponseMPayload.md @@ -0,0 +1,29 @@ +# EzsignfolderGetCommunicationrecipientsV1ResponseMPayload + +Response for GET /1/object/ezsignfolder/{pkiEzsignfolderID}/getCommunicationrecipients + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**a_obj_communicationrecipientsgroup** | [**List[CustomCommunicationrecipientsgroupResponse]**](CustomCommunicationrecipientsgroupResponse.md) | | + +## Example + +```python +from eZmaxApi.models.ezsignfolder_get_communicationrecipients_v1_response_m_payload import EzsignfolderGetCommunicationrecipientsV1ResponseMPayload + +# TODO update the JSON string below +json = "{}" +# create an instance of EzsignfolderGetCommunicationrecipientsV1ResponseMPayload from a JSON string +ezsignfolder_get_communicationrecipients_v1_response_m_payload_instance = EzsignfolderGetCommunicationrecipientsV1ResponseMPayload.from_json(json) +# print the JSON string representation of the object +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) +``` +[[Back to Model list]](../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 new file mode 100644 index 000000000..50c7f2f50 --- /dev/null +++ b/docs/EzsignfolderGetCommunicationsendersV1Response.md @@ -0,0 +1,31 @@ +# EzsignfolderGetCommunicationsendersV1Response + +Response for GET /1/object/ezsignfolder/{pkiEzsignfolderID}/getCommunicationrecipients + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**obj_debug_payload** | [**CommonResponseObjDebugPayload**](CommonResponseObjDebugPayload.md) | | +**obj_debug** | [**CommonResponseObjDebug**](CommonResponseObjDebug.md) | | [optional] +**m_payload** | [**EzsignfolderGetCommunicationsendersV1ResponseMPayload**](EzsignfolderGetCommunicationsendersV1ResponseMPayload.md) | | + +## Example + +```python +from eZmaxApi.models.ezsignfolder_get_communicationsenders_v1_response import EzsignfolderGetCommunicationsendersV1Response + +# TODO update the JSON string below +json = "{}" +# create an instance of EzsignfolderGetCommunicationsendersV1Response from a JSON string +ezsignfolder_get_communicationsenders_v1_response_instance = EzsignfolderGetCommunicationsendersV1Response.from_json(json) +# print the JSON string representation of the object +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) +``` +[[Back to Model list]](../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 new file mode 100644 index 000000000..ea9355e7e --- /dev/null +++ b/docs/EzsignfolderGetCommunicationsendersV1ResponseMPayload.md @@ -0,0 +1,29 @@ +# EzsignfolderGetCommunicationsendersV1ResponseMPayload + +Response for GET /1/object/ezsignfolder/{pkiEzsignfolderID}/getCommunicationsenders + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**a_obj_communicationsenders** | [**List[CustomCommunicationsenderResponse]**](CustomCommunicationsenderResponse.md) | | + +## Example + +```python +from eZmaxApi.models.ezsignfolder_get_communicationsenders_v1_response_m_payload import EzsignfolderGetCommunicationsendersV1ResponseMPayload + +# TODO update the JSON string below +json = "{}" +# create an instance of EzsignfolderGetCommunicationsendersV1ResponseMPayload from a JSON string +ezsignfolder_get_communicationsenders_v1_response_m_payload_instance = EzsignfolderGetCommunicationsendersV1ResponseMPayload.from_json(json) +# print the JSON string representation of the object +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) +``` +[[Back to Model list]](../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 8cbdc6eac..1a9e58d2c 100644 --- a/docs/EzsignfolderSendV1Response.md +++ b/docs/EzsignfolderSendV1Response.md @@ -1,6 +1,6 @@ # EzsignfolderSendV1Response -Response for POST /1/object/ezsignfolder/{pkiEzsignfolderID}/send +Response for GET /1/object/attachment/{pkiAttachmentID}/download ## Properties Name | Type | Description | Notes diff --git a/docs/EzsignsignerRequest.md b/docs/EzsignsignerRequest.md index 8ed155470..05571cd1f 100644 --- a/docs/EzsignsignerRequest.md +++ b/docs/EzsignsignerRequest.md @@ -7,7 +7,7 @@ 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_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)| | [optional] +**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] **s_ezsignsigner_secretanswer** | **str** | The predefined answer to the secret question the Ezsignsigner will need to provide to successfully authenticate. | [optional] diff --git a/docs/EzsignsignerRequestCompound.md b/docs/EzsignsignerRequestCompound.md index d8a2b96da..3786effef 100644 --- a/docs/EzsignsignerRequestCompound.md +++ b/docs/EzsignsignerRequestCompound.md @@ -7,7 +7,7 @@ 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_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)| | [optional] +**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] **s_ezsignsigner_secretanswer** | **str** | The predefined answer to the secret question the Ezsignsigner will need to provide to successfully authenticate. | [optional] **obj_contact** | [**EzsignsignerRequestCompoundContact**](EzsignsignerRequestCompoundContact.md) | | diff --git a/docs/EzsignsignerResponse.md b/docs/EzsignsignerResponse.md index 6c726fd0a..97158967b 100644 --- a/docs/EzsignsignerResponse.md +++ b/docs/EzsignsignerResponse.md @@ -7,7 +7,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)| | [optional] +**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**| | **s_userlogintype_description_x** | **str** | The description of the Userlogintype in the language of the requester | diff --git a/docs/EzsignsignerResponseCompound.md b/docs/EzsignsignerResponseCompound.md index e74c5a12d..434574547 100644 --- a/docs/EzsignsignerResponseCompound.md +++ b/docs/EzsignsignerResponseCompound.md @@ -7,7 +7,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)| | [optional] +**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**| | **s_userlogintype_description_x** | **str** | The description of the Userlogintype in the language of the requester | **obj_contact** | [**EzsignsignerResponseCompoundContact**](EzsignsignerResponseCompoundContact.md) | | diff --git a/docs/FieldECommunicationexternalrecipientType.md b/docs/FieldECommunicationexternalrecipientType.md index e680ddc0b..c5eb83750 100644 --- a/docs/FieldECommunicationexternalrecipientType.md +++ b/docs/FieldECommunicationexternalrecipientType.md @@ -1,6 +1,6 @@ # FieldECommunicationexternalrecipientType -The type of Communicationexternalrecipient +The type of Communicationexternalrecipient. Only used when eCommunicationType is **Email** ## Properties Name | Type | Description | Notes diff --git a/docs/FieldECommunicationrecipientObjecttype.md b/docs/FieldECommunicationrecipientObjecttype.md deleted file mode 100644 index 4f161feb0..000000000 --- a/docs/FieldECommunicationrecipientObjecttype.md +++ /dev/null @@ -1,11 +0,0 @@ -# FieldECommunicationrecipientObjecttype - -The object type for the Communicationrecipient - -## 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/FieldECommunicationrecipientType.md b/docs/FieldECommunicationrecipientType.md index 02ddb698d..fb7d528ed 100644 --- a/docs/FieldECommunicationrecipientType.md +++ b/docs/FieldECommunicationrecipientType.md @@ -1,6 +1,6 @@ # FieldECommunicationrecipientType -The type for the Communicationrecipient +The type for the Communicationrecipient. Only used when eCommunicationType is **Email** ## Properties Name | Type | Description | Notes diff --git a/docs/InscriptionGetCommunicationListV1Response.md b/docs/InscriptionGetCommunicationListV1Response.md new file mode 100644 index 000000000..d0110a9e3 --- /dev/null +++ b/docs/InscriptionGetCommunicationListV1Response.md @@ -0,0 +1,31 @@ +# InscriptionGetCommunicationListV1Response + +Response for GET /1/object/inscription/{pkiInscriptionID}/getCommunicationList + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**obj_debug_payload** | [**CommonResponseObjDebugPayloadGetList**](CommonResponseObjDebugPayloadGetList.md) | | +**obj_debug** | [**CommonResponseObjDebug**](CommonResponseObjDebug.md) | | [optional] +**m_payload** | [**InscriptionGetCommunicationListV1ResponseMPayload**](InscriptionGetCommunicationListV1ResponseMPayload.md) | | + +## Example + +```python +from eZmaxApi.models.inscription_get_communication_list_v1_response import InscriptionGetCommunicationListV1Response + +# TODO update the JSON string below +json = "{}" +# create an instance of InscriptionGetCommunicationListV1Response from a JSON string +inscription_get_communication_list_v1_response_instance = InscriptionGetCommunicationListV1Response.from_json(json) +# print the JSON string representation of the object +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) +``` +[[Back to Model list]](../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 new file mode 100644 index 000000000..2ff6df09d --- /dev/null +++ b/docs/InscriptionGetCommunicationListV1ResponseMPayload.md @@ -0,0 +1,29 @@ +# InscriptionGetCommunicationListV1ResponseMPayload + +Response for GET /1/object/inscription/{pkiInscriptionID}/getCommunicationList + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**a_obj_communication** | [**List[CustomCommunicationListElementResponse]**](CustomCommunicationListElementResponse.md) | | + +## Example + +```python +from eZmaxApi.models.inscription_get_communication_list_v1_response_m_payload import InscriptionGetCommunicationListV1ResponseMPayload + +# TODO update the JSON string below +json = "{}" +# create an instance of InscriptionGetCommunicationListV1ResponseMPayload from a JSON string +inscription_get_communication_list_v1_response_m_payload_instance = InscriptionGetCommunicationListV1ResponseMPayload.from_json(json) +# print the JSON string representation of the object +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) +``` +[[Back to Model list]](../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 new file mode 100644 index 000000000..596bbb0a7 --- /dev/null +++ b/docs/InscriptionnotauthenticatedGetCommunicationListV1Response.md @@ -0,0 +1,31 @@ +# InscriptionnotauthenticatedGetCommunicationListV1Response + +Response for GET /1/object/inscriptionnotauthenticated/{pkiInscriptionnotauthenticatedID}/getCommunicationList + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**obj_debug_payload** | [**CommonResponseObjDebugPayloadGetList**](CommonResponseObjDebugPayloadGetList.md) | | +**obj_debug** | [**CommonResponseObjDebug**](CommonResponseObjDebug.md) | | [optional] +**m_payload** | [**InscriptionnotauthenticatedGetCommunicationListV1ResponseMPayload**](InscriptionnotauthenticatedGetCommunicationListV1ResponseMPayload.md) | | + +## Example + +```python +from eZmaxApi.models.inscriptionnotauthenticated_get_communication_list_v1_response import InscriptionnotauthenticatedGetCommunicationListV1Response + +# TODO update the JSON string below +json = "{}" +# create an instance of InscriptionnotauthenticatedGetCommunicationListV1Response from a JSON string +inscriptionnotauthenticated_get_communication_list_v1_response_instance = InscriptionnotauthenticatedGetCommunicationListV1Response.from_json(json) +# print the JSON string representation of the object +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) +``` +[[Back to Model list]](../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 new file mode 100644 index 000000000..d4548e437 --- /dev/null +++ b/docs/InscriptionnotauthenticatedGetCommunicationListV1ResponseMPayload.md @@ -0,0 +1,29 @@ +# InscriptionnotauthenticatedGetCommunicationListV1ResponseMPayload + +Response for GET /1/object/inscriptionnotauthenticated/{pkiInscriptionnotauthenticatedID}/getCommunicationList + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**a_obj_communication** | [**List[CustomCommunicationListElementResponse]**](CustomCommunicationListElementResponse.md) | | + +## Example + +```python +from eZmaxApi.models.inscriptionnotauthenticated_get_communication_list_v1_response_m_payload import InscriptionnotauthenticatedGetCommunicationListV1ResponseMPayload + +# TODO update the JSON string below +json = "{}" +# create an instance of InscriptionnotauthenticatedGetCommunicationListV1ResponseMPayload from a JSON string +inscriptionnotauthenticated_get_communication_list_v1_response_m_payload_instance = InscriptionnotauthenticatedGetCommunicationListV1ResponseMPayload.from_json(json) +# print the JSON string representation of the object +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) +``` +[[Back to Model list]](../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 new file mode 100644 index 000000000..60c84db8d --- /dev/null +++ b/docs/InscriptiontempGetCommunicationListV1Response.md @@ -0,0 +1,31 @@ +# InscriptiontempGetCommunicationListV1Response + +Response for GET /1/object/inscriptiontemp/{pkiInscriptiontempID}/getCommunicationList + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**obj_debug_payload** | [**CommonResponseObjDebugPayloadGetList**](CommonResponseObjDebugPayloadGetList.md) | | +**obj_debug** | [**CommonResponseObjDebug**](CommonResponseObjDebug.md) | | [optional] +**m_payload** | [**InscriptiontempGetCommunicationListV1ResponseMPayload**](InscriptiontempGetCommunicationListV1ResponseMPayload.md) | | + +## Example + +```python +from eZmaxApi.models.inscriptiontemp_get_communication_list_v1_response import InscriptiontempGetCommunicationListV1Response + +# TODO update the JSON string below +json = "{}" +# create an instance of InscriptiontempGetCommunicationListV1Response from a JSON string +inscriptiontemp_get_communication_list_v1_response_instance = InscriptiontempGetCommunicationListV1Response.from_json(json) +# print the JSON string representation of the object +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) +``` +[[Back to Model list]](../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 new file mode 100644 index 000000000..2f2153312 --- /dev/null +++ b/docs/InscriptiontempGetCommunicationListV1ResponseMPayload.md @@ -0,0 +1,29 @@ +# InscriptiontempGetCommunicationListV1ResponseMPayload + +Response for GET /1/object/inscriptiontemp/{pkiInscriptiontempID}/getCommunicationList + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**a_obj_communication** | [**List[CustomCommunicationListElementResponse]**](CustomCommunicationListElementResponse.md) | | + +## Example + +```python +from eZmaxApi.models.inscriptiontemp_get_communication_list_v1_response_m_payload import InscriptiontempGetCommunicationListV1ResponseMPayload + +# TODO update the JSON string below +json = "{}" +# create an instance of InscriptiontempGetCommunicationListV1ResponseMPayload from a JSON string +inscriptiontemp_get_communication_list_v1_response_m_payload_instance = InscriptiontempGetCommunicationListV1ResponseMPayload.from_json(json) +# print the JSON string representation of the object +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) +``` +[[Back to Model list]](../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 new file mode 100644 index 000000000..4704cc4e4 --- /dev/null +++ b/docs/InvoiceGetCommunicationListV1Response.md @@ -0,0 +1,31 @@ +# InvoiceGetCommunicationListV1Response + +Response for GET /1/object/invoice/{pkiInvoiceID}/getCommunicationList + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**obj_debug_payload** | [**CommonResponseObjDebugPayloadGetList**](CommonResponseObjDebugPayloadGetList.md) | | +**obj_debug** | [**CommonResponseObjDebug**](CommonResponseObjDebug.md) | | [optional] +**m_payload** | [**InvoiceGetCommunicationListV1ResponseMPayload**](InvoiceGetCommunicationListV1ResponseMPayload.md) | | + +## Example + +```python +from eZmaxApi.models.invoice_get_communication_list_v1_response import InvoiceGetCommunicationListV1Response + +# TODO update the JSON string below +json = "{}" +# create an instance of InvoiceGetCommunicationListV1Response from a JSON string +invoice_get_communication_list_v1_response_instance = InvoiceGetCommunicationListV1Response.from_json(json) +# print the JSON string representation of the object +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) +``` +[[Back to Model list]](../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 new file mode 100644 index 000000000..4e889e6fc --- /dev/null +++ b/docs/InvoiceGetCommunicationListV1ResponseMPayload.md @@ -0,0 +1,29 @@ +# InvoiceGetCommunicationListV1ResponseMPayload + +Response for GET /1/object/invoice/{pkiInvoiceID}/getCommunicationList + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**a_obj_communication** | [**List[CustomCommunicationListElementResponse]**](CustomCommunicationListElementResponse.md) | | + +## Example + +```python +from eZmaxApi.models.invoice_get_communication_list_v1_response_m_payload import InvoiceGetCommunicationListV1ResponseMPayload + +# TODO update the JSON string below +json = "{}" +# create an instance of InvoiceGetCommunicationListV1ResponseMPayload from a JSON string +invoice_get_communication_list_v1_response_m_payload_instance = InvoiceGetCommunicationListV1ResponseMPayload.from_json(json) +# print the JSON string representation of the object +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) +``` +[[Back to Model list]](../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 2f16892fd..0e86bf698 100644 --- a/docs/ObjectActivesessionApi.md +++ b/docs/ObjectActivesessionApi.md @@ -128,7 +128,7 @@ with eZmaxApi.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = eZmaxApi.ObjectActivesessionApi(api_client) e_order_by = 'e_order_by_example' # str | Specify how you want the results to be sorted (optional) - i_row_max = 10000 # int | (optional) (default to 10000) + 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) @@ -149,7 +149,7 @@ with eZmaxApi.ApiClient(configuration) as api_client: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **e_order_by** | **str**| Specify how you want the results to be sorted | [optional] - **i_row_max** | **int**| | [optional] [default to 10000] + **i_row_max** | **int**| | [optional] **i_row_offset** | **int**| | [optional] [default to 0] **accept_language** | [**HeaderAcceptLanguage**](.md)| | [optional] **s_filter** | **str**| | [optional] diff --git a/docs/ObjectApikeyApi.md b/docs/ObjectApikeyApi.md index c92946138..faf88dba2 100644 --- a/docs/ObjectApikeyApi.md +++ b/docs/ObjectApikeyApi.md @@ -378,7 +378,7 @@ with eZmaxApi.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = eZmaxApi.ObjectApikeyApi(api_client) e_order_by = 'e_order_by_example' # str | Specify how you want the results to be sorted (optional) - i_row_max = 10000 # int | (optional) (default to 10000) + 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) @@ -399,7 +399,7 @@ with eZmaxApi.ApiClient(configuration) as api_client: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **e_order_by** | **str**| Specify how you want the results to be sorted | [optional] - **i_row_max** | **int**| | [optional] [default to 10000] + **i_row_max** | **int**| | [optional] **i_row_offset** | **int**| | [optional] [default to 0] **accept_language** | [**HeaderAcceptLanguage**](.md)| | [optional] **s_filter** | **str**| | [optional] diff --git a/docs/ObjectAttachmentApi.md b/docs/ObjectAttachmentApi.md new file mode 100644 index 000000000..e344be590 --- /dev/null +++ b/docs/ObjectAttachmentApi.md @@ -0,0 +1,89 @@ +# eZmaxApi.ObjectAttachmentApi + +All URIs are relative to *https://prod.api.appcluster01.ca-central-1.ezmax.com/rest* + +Method | HTTP request | Description +------------- | ------------- | ------------- +[**attachment_download_v1**](ObjectAttachmentApi.md#attachment_download_v1) | **GET** /1/object/attachment/{pkiAttachmentID}/download | Retrieve the content + + +# **attachment_download_v1** +> AttachmentDownloadV1Response attachment_download_v1(pki_attachment_id) + +Retrieve the content + +Using this endpoint, you can retrieve the content of an attachment. + +### Example + +* Api Key Authentication (Authorization): +```python +import time +import os +import eZmaxApi +from eZmaxApi.models.attachment_download_v1_response import AttachmentDownloadV1Response +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 the content + api_response = api_instance.attachment_download_v1(pki_attachment_id) + print("The response of ObjectAttachmentApi->attachment_download_v1:\n") + pprint(api_response) + except Exception as e: + print("Exception when calling ObjectAttachmentApi->attachment_download_v1: %s\n" % e) +``` + + + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **pki_attachment_id** | **int**| | + +### Return type + +[**AttachmentDownloadV1Response**](AttachmentDownloadV1Response.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/ObjectBillingentityinternalApi.md b/docs/ObjectBillingentityinternalApi.md index d7c4f69a6..18da45c6c 100644 --- a/docs/ObjectBillingentityinternalApi.md +++ b/docs/ObjectBillingentityinternalApi.md @@ -299,7 +299,7 @@ with eZmaxApi.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = eZmaxApi.ObjectBillingentityinternalApi(api_client) e_order_by = 'e_order_by_example' # str | Specify how you want the results to be sorted (optional) - i_row_max = 10000 # int | (optional) (default to 10000) + 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) @@ -320,7 +320,7 @@ with eZmaxApi.ApiClient(configuration) as api_client: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **e_order_by** | **str**| Specify how you want the results to be sorted | [optional] - **i_row_max** | **int**| | [optional] [default to 10000] + **i_row_max** | **int**| | [optional] **i_row_offset** | **int**| | [optional] [default to 0] **accept_language** | [**HeaderAcceptLanguage**](.md)| | [optional] **s_filter** | **str**| | [optional] diff --git a/docs/ObjectBrandingApi.md b/docs/ObjectBrandingApi.md index 21d31f940..6b209e05e 100644 --- a/docs/ObjectBrandingApi.md +++ b/docs/ObjectBrandingApi.md @@ -298,7 +298,7 @@ with eZmaxApi.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = eZmaxApi.ObjectBrandingApi(api_client) e_order_by = 'e_order_by_example' # str | Specify how you want the results to be sorted (optional) - i_row_max = 10000 # int | (optional) (default to 10000) + 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) @@ -319,7 +319,7 @@ with eZmaxApi.ApiClient(configuration) as api_client: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **e_order_by** | **str**| Specify how you want the results to be sorted | [optional] - **i_row_max** | **int**| | [optional] [default to 10000] + **i_row_max** | **int**| | [optional] **i_row_offset** | **int**| | [optional] [default to 0] **accept_language** | [**HeaderAcceptLanguage**](.md)| | [optional] **s_filter** | **str**| | [optional] diff --git a/docs/ObjectBuyercontractApi.md b/docs/ObjectBuyercontractApi.md new file mode 100644 index 000000000..77929b65e --- /dev/null +++ b/docs/ObjectBuyercontractApi.md @@ -0,0 +1,88 @@ +# eZmaxApi.ObjectBuyercontractApi + +All URIs are relative to *https://prod.api.appcluster01.ca-central-1.ezmax.com/rest* + +Method | HTTP request | Description +------------- | ------------- | ------------- +[**buyercontract_get_communication_list_v1**](ObjectBuyercontractApi.md#buyercontract_get_communication_list_v1) | **GET** /1/object/buyercontract/{pkiBuyercontractID}/getCommunicationList | Retrieve Communication list + + +# **buyercontract_get_communication_list_v1** +> BuyercontractGetCommunicationListV1Response buyercontract_get_communication_list_v1(pki_buyercontract_id) + +Retrieve Communication list + + + +### Example + +* Api Key Authentication (Authorization): +```python +import time +import os +import eZmaxApi +from eZmaxApi.models.buyercontract_get_communication_list_v1_response import BuyercontractGetCommunicationListV1Response +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 list + api_response = api_instance.buyercontract_get_communication_list_v1(pki_buyercontract_id) + print("The response of ObjectBuyercontractApi->buyercontract_get_communication_list_v1:\n") + pprint(api_response) + except Exception as e: + print("Exception when calling ObjectBuyercontractApi->buyercontract_get_communication_list_v1: %s\n" % e) +``` + + + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **pki_buyercontract_id** | **int**| | + +### Return type + +[**BuyercontractGetCommunicationListV1Response**](BuyercontractGetCommunicationListV1Response.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/ObjectClonehistoryApi.md b/docs/ObjectClonehistoryApi.md index 1dc0d42fb..d5bb1b38b 100644 --- a/docs/ObjectClonehistoryApi.md +++ b/docs/ObjectClonehistoryApi.md @@ -48,7 +48,7 @@ with eZmaxApi.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = eZmaxApi.ObjectClonehistoryApi(api_client) e_order_by = 'e_order_by_example' # str | Specify how you want the results to be sorted (optional) - i_row_max = 10000 # int | (optional) (default to 10000) + 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) @@ -69,7 +69,7 @@ with eZmaxApi.ApiClient(configuration) as api_client: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **e_order_by** | **str**| Specify how you want the results to be sorted | [optional] - **i_row_max** | **int**| | [optional] [default to 10000] + **i_row_max** | **int**| | [optional] **i_row_offset** | **int**| | [optional] [default to 0] **accept_language** | [**HeaderAcceptLanguage**](.md)| | [optional] **s_filter** | **str**| | [optional] diff --git a/docs/ObjectCommunicationApi.md b/docs/ObjectCommunicationApi.md index e1cdf46f3..b0584ddf0 100644 --- a/docs/ObjectCommunicationApi.md +++ b/docs/ObjectCommunicationApi.md @@ -4,15 +4,15 @@ All URIs are relative to *https://prod.api.appcluster01.ca-central-1.ezmax.com/r Method | HTTP request | Description ------------- | ------------- | ------------- -[**communication_get_object_v2**](ObjectCommunicationApi.md#communication_get_object_v2) | **GET** /2/object/communication/{pkiCommunicationID} | Retrieve an existing Communication +[**communication_send_v1**](ObjectCommunicationApi.md#communication_send_v1) | **POST** /1/object/communication/send | Send a new Communication -# **communication_get_object_v2** -> CommunicationGetObjectV2Response communication_get_object_v2(pki_communication_id) - -Retrieve an existing Communication +# **communication_send_v1** +> CommunicationSendV1Response communication_send_v1(communication_send_v1_request) +Send a new Communication +The endpoint allows to send one or many elements at once. ### Example @@ -21,7 +21,8 @@ Retrieve an existing Communication import time import os import eZmaxApi -from eZmaxApi.models.communication_get_object_v2_response import CommunicationGetObjectV2Response +from eZmaxApi.models.communication_send_v1_request import CommunicationSendV1Request +from eZmaxApi.models.communication_send_v1_response import CommunicationSendV1Response from eZmaxApi.rest import ApiException from pprint import pprint @@ -46,15 +47,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.ObjectCommunicationApi(api_client) - pki_communication_id = 56 # int | + communication_send_v1_request = eZmaxApi.CommunicationSendV1Request() # CommunicationSendV1Request | try: - # Retrieve an existing Communication - api_response = api_instance.communication_get_object_v2(pki_communication_id) - print("The response of ObjectCommunicationApi->communication_get_object_v2:\n") + # Send a new Communication + api_response = api_instance.communication_send_v1(communication_send_v1_request) + print("The response of ObjectCommunicationApi->communication_send_v1:\n") pprint(api_response) except Exception as e: - print("Exception when calling ObjectCommunicationApi->communication_get_object_v2: %s\n" % e) + print("Exception when calling ObjectCommunicationApi->communication_send_v1: %s\n" % e) ``` @@ -63,11 +64,11 @@ with eZmaxApi.ApiClient(configuration) as api_client: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- - **pki_communication_id** | **int**| | + **communication_send_v1_request** | [**CommunicationSendV1Request**](CommunicationSendV1Request.md)| | ### Return type -[**CommunicationGetObjectV2Response**](CommunicationGetObjectV2Response.md) +[**CommunicationSendV1Response**](CommunicationSendV1Response.md) ### Authorization @@ -75,14 +76,13 @@ Name | Type | Description | Notes ### HTTP request headers - - **Content-Type**: Not defined + - **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 | - | +**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) diff --git a/docs/ObjectElectronicfundstransferApi.md b/docs/ObjectElectronicfundstransferApi.md new file mode 100644 index 000000000..0bb7b0486 --- /dev/null +++ b/docs/ObjectElectronicfundstransferApi.md @@ -0,0 +1,88 @@ +# eZmaxApi.ObjectElectronicfundstransferApi + +All URIs are relative to *https://prod.api.appcluster01.ca-central-1.ezmax.com/rest* + +Method | HTTP request | Description +------------- | ------------- | ------------- +[**eletronicfundstransfer_get_communication_list_v1**](ObjectElectronicfundstransferApi.md#eletronicfundstransfer_get_communication_list_v1) | **GET** /1/object/electronicfundstransfer/{pkiElectronicfundstransferID}/getCommunicationList | Retrieve Communication list + + +# **eletronicfundstransfer_get_communication_list_v1** +> ElectronicfundstransferGetCommunicationListV1Response eletronicfundstransfer_get_communication_list_v1(pki_electronicfundstransfer_id) + +Retrieve Communication list + + + +### Example + +* Api Key Authentication (Authorization): +```python +import time +import os +import eZmaxApi +from eZmaxApi.models.electronicfundstransfer_get_communication_list_v1_response import ElectronicfundstransferGetCommunicationListV1Response +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 list + api_response = api_instance.eletronicfundstransfer_get_communication_list_v1(pki_electronicfundstransfer_id) + print("The response of ObjectElectronicfundstransferApi->eletronicfundstransfer_get_communication_list_v1:\n") + pprint(api_response) + except Exception as e: + print("Exception when calling ObjectElectronicfundstransferApi->eletronicfundstransfer_get_communication_list_v1: %s\n" % e) +``` + + + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **pki_electronicfundstransfer_id** | **int**| | + +### Return type + +[**ElectronicfundstransferGetCommunicationListV1Response**](ElectronicfundstransferGetCommunicationListV1Response.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 0e296fcb8..fbbfdb9c8 100644 --- a/docs/ObjectEzsignbulksendApi.md +++ b/docs/ObjectEzsignbulksendApi.md @@ -702,7 +702,7 @@ with eZmaxApi.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = eZmaxApi.ObjectEzsignbulksendApi(api_client) e_order_by = 'e_order_by_example' # str | Specify how you want the results to be sorted (optional) - i_row_max = 10000 # int | (optional) (default to 10000) + 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) @@ -723,7 +723,7 @@ with eZmaxApi.ApiClient(configuration) as api_client: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **e_order_by** | **str**| Specify how you want the results to be sorted | [optional] - **i_row_max** | **int**| | [optional] [default to 10000] + **i_row_max** | **int**| | [optional] **i_row_offset** | **int**| | [optional] [default to 0] **accept_language** | [**HeaderAcceptLanguage**](.md)| | [optional] **s_filter** | **str**| | [optional] diff --git a/docs/ObjectEzsignfolderApi.md b/docs/ObjectEzsignfolderApi.md index 9063fc20e..a5a65cfdb 100644 --- a/docs/ObjectEzsignfolderApi.md +++ b/docs/ObjectEzsignfolderApi.md @@ -15,6 +15,8 @@ Method | HTTP request | Description [**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_communication_count_v1**](ObjectEzsignfolderApi.md#ezsignfolder_get_communication_count_v1) | **GET** /1/object/ezsignfolder/{pkiEzsignfolderID}/getCommunicationCount | Retrieve Communication count [**ezsignfolder_get_communication_list_v1**](ObjectEzsignfolderApi.md#ezsignfolder_get_communication_list_v1) | **GET** /1/object/ezsignfolder/{pkiEzsignfolderID}/getCommunicationList | Retrieve Communication list +[**ezsignfolder_get_communicationrecipients_v1**](ObjectEzsignfolderApi.md#ezsignfolder_get_communicationrecipients_v1) | **GET** /1/object/ezsignfolder/{pkiEzsignfolderID}/getCommunicationrecipients | Retrieve Ezsignfolder's Communicationrecipient +[**ezsignfolder_get_communicationsenders_v1**](ObjectEzsignfolderApi.md#ezsignfolder_get_communicationsenders_v1) | **GET** /1/object/ezsignfolder/{pkiEzsignfolderID}/getCommunicationsenders | Retrieve Ezsignfolder's Communicationsender [**ezsignfolder_get_ezsigndocuments_v1**](ObjectEzsignfolderApi.md#ezsignfolder_get_ezsigndocuments_v1) | **GET** /1/object/ezsignfolder/{pkiEzsignfolderID}/getEzsigndocuments | Retrieve an existing Ezsignfolder's Ezsigndocuments [**ezsignfolder_get_ezsignfoldersignerassociations_v1**](ObjectEzsignfolderApi.md#ezsignfolder_get_ezsignfoldersignerassociations_v1) | **GET** /1/object/ezsignfolder/{pkiEzsignfolderID}/getEzsignfoldersignerassociations | Retrieve an existing Ezsignfolder's Ezsignfoldersignerassociations [**ezsignfolder_get_ezsignsignatures_automatic_v1**](ObjectEzsignfolderApi.md#ezsignfolder_get_ezsignsignatures_automatic_v1) | **GET** /1/object/ezsignfolder/{pkiEzsignfolderID}/getEzsignsignaturesAutomatic | Retrieve an existing Ezsignfolder's automatic Ezsignsignatures @@ -914,6 +916,164 @@ 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_communicationrecipients_v1** +> EzsignfolderGetCommunicationrecipientsV1Response ezsignfolder_get_communicationrecipients_v1(pki_ezsignfolder_id) + +Retrieve Ezsignfolder's Communicationrecipient + + + +### Example + +* Api Key Authentication (Authorization): +```python +import time +import os +import eZmaxApi +from eZmaxApi.models.ezsignfolder_get_communicationrecipients_v1_response import EzsignfolderGetCommunicationrecipientsV1Response +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 Ezsignfolder's Communicationrecipient + api_response = api_instance.ezsignfolder_get_communicationrecipients_v1(pki_ezsignfolder_id) + print("The response of ObjectEzsignfolderApi->ezsignfolder_get_communicationrecipients_v1:\n") + pprint(api_response) + except Exception as e: + print("Exception when calling ObjectEzsignfolderApi->ezsignfolder_get_communicationrecipients_v1: %s\n" % e) +``` + + + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **pki_ezsignfolder_id** | **int**| | + +### Return type + +[**EzsignfolderGetCommunicationrecipientsV1Response**](EzsignfolderGetCommunicationrecipientsV1Response.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_get_communicationsenders_v1** +> EzsignfolderGetCommunicationsendersV1Response ezsignfolder_get_communicationsenders_v1(pki_ezsignfolder_id) + +Retrieve Ezsignfolder's Communicationsender + + + +### Example + +* Api Key Authentication (Authorization): +```python +import time +import os +import eZmaxApi +from eZmaxApi.models.ezsignfolder_get_communicationsenders_v1_response import EzsignfolderGetCommunicationsendersV1Response +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 Ezsignfolder's Communicationsender + api_response = api_instance.ezsignfolder_get_communicationsenders_v1(pki_ezsignfolder_id) + print("The response of ObjectEzsignfolderApi->ezsignfolder_get_communicationsenders_v1:\n") + pprint(api_response) + except Exception as e: + print("Exception when calling ObjectEzsignfolderApi->ezsignfolder_get_communicationsenders_v1: %s\n" % e) +``` + + + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **pki_ezsignfolder_id** | **int**| | + +### Return type + +[**EzsignfolderGetCommunicationsendersV1Response**](EzsignfolderGetCommunicationsendersV1Response.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_get_ezsigndocuments_v1** > EzsignfolderGetEzsigndocumentsV1Response ezsignfolder_get_ezsigndocuments_v1(pki_ezsignfolder_id) @@ -1237,7 +1397,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 | |---| | 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 | | sEzsigndocumentName | ### Example @@ -1273,7 +1433,7 @@ with eZmaxApi.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = eZmaxApi.ObjectEzsignfolderApi(api_client) e_order_by = 'e_order_by_example' # str | Specify how you want the results to be sorted (optional) - i_row_max = 10000 # int | (optional) (default to 10000) + 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) @@ -1294,7 +1454,7 @@ with eZmaxApi.ApiClient(configuration) as api_client: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **e_order_by** | **str**| Specify how you want the results to be sorted | [optional] - **i_row_max** | **int**| | [optional] [default to 10000] + **i_row_max** | **int**| | [optional] **i_row_offset** | **int**| | [optional] [default to 0] **accept_language** | [**HeaderAcceptLanguage**](.md)| | [optional] **s_filter** | **str**| | [optional] diff --git a/docs/ObjectEzsignfoldertypeApi.md b/docs/ObjectEzsignfoldertypeApi.md index c7f3b1cb3..6ceab39b3 100644 --- a/docs/ObjectEzsignfoldertypeApi.md +++ b/docs/ObjectEzsignfoldertypeApi.md @@ -385,7 +385,7 @@ with eZmaxApi.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = eZmaxApi.ObjectEzsignfoldertypeApi(api_client) e_order_by = 'e_order_by_example' # str | Specify how you want the results to be sorted (optional) - i_row_max = 10000 # int | (optional) (default to 10000) + 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) @@ -406,7 +406,7 @@ with eZmaxApi.ApiClient(configuration) as api_client: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **e_order_by** | **str**| Specify how you want the results to be sorted | [optional] - **i_row_max** | **int**| | [optional] [default to 10000] + **i_row_max** | **int**| | [optional] **i_row_offset** | **int**| | [optional] [default to 0] **accept_language** | [**HeaderAcceptLanguage**](.md)| | [optional] **s_filter** | **str**| | [optional] diff --git a/docs/ObjectEzsigntemplateApi.md b/docs/ObjectEzsigntemplateApi.md index 7afc3694f..d464bc854 100644 --- a/docs/ObjectEzsigntemplateApi.md +++ b/docs/ObjectEzsigntemplateApi.md @@ -463,7 +463,7 @@ with eZmaxApi.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = eZmaxApi.ObjectEzsigntemplateApi(api_client) e_order_by = 'e_order_by_example' # str | Specify how you want the results to be sorted (optional) - i_row_max = 10000 # int | (optional) (default to 10000) + 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) @@ -484,7 +484,7 @@ with eZmaxApi.ApiClient(configuration) as api_client: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **e_order_by** | **str**| Specify how you want the results to be sorted | [optional] - **i_row_max** | **int**| | [optional] [default to 10000] + **i_row_max** | **int**| | [optional] **i_row_offset** | **int**| | [optional] [default to 0] **accept_language** | [**HeaderAcceptLanguage**](.md)| | [optional] **s_filter** | **str**| | [optional] diff --git a/docs/ObjectEzsigntemplatepackageApi.md b/docs/ObjectEzsigntemplatepackageApi.md index 25660a63c..f69445da7 100644 --- a/docs/ObjectEzsigntemplatepackageApi.md +++ b/docs/ObjectEzsigntemplatepackageApi.md @@ -463,7 +463,7 @@ with eZmaxApi.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = eZmaxApi.ObjectEzsigntemplatepackageApi(api_client) e_order_by = 'e_order_by_example' # str | Specify how you want the results to be sorted (optional) - i_row_max = 10000 # int | (optional) (default to 10000) + 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) @@ -484,7 +484,7 @@ with eZmaxApi.ApiClient(configuration) as api_client: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **e_order_by** | **str**| Specify how you want the results to be sorted | [optional] - **i_row_max** | **int**| | [optional] [default to 10000] + **i_row_max** | **int**| | [optional] **i_row_offset** | **int**| | [optional] [default to 0] **accept_language** | [**HeaderAcceptLanguage**](.md)| | [optional] **s_filter** | **str**| | [optional] diff --git a/docs/ObjectInscriptionApi.md b/docs/ObjectInscriptionApi.md new file mode 100644 index 000000000..df47997b7 --- /dev/null +++ b/docs/ObjectInscriptionApi.md @@ -0,0 +1,88 @@ +# eZmaxApi.ObjectInscriptionApi + +All URIs are relative to *https://prod.api.appcluster01.ca-central-1.ezmax.com/rest* + +Method | HTTP request | Description +------------- | ------------- | ------------- +[**inscription_get_communication_list_v1**](ObjectInscriptionApi.md#inscription_get_communication_list_v1) | **GET** /1/object/inscription/{pkiInscriptionID}/getCommunicationList | Retrieve Communication list + + +# **inscription_get_communication_list_v1** +> InscriptionGetCommunicationListV1Response inscription_get_communication_list_v1(pki_inscription_id) + +Retrieve Communication list + + + +### Example + +* Api Key Authentication (Authorization): +```python +import time +import os +import eZmaxApi +from eZmaxApi.models.inscription_get_communication_list_v1_response import InscriptionGetCommunicationListV1Response +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 list + api_response = api_instance.inscription_get_communication_list_v1(pki_inscription_id) + print("The response of ObjectInscriptionApi->inscription_get_communication_list_v1:\n") + pprint(api_response) + except Exception as e: + print("Exception when calling ObjectInscriptionApi->inscription_get_communication_list_v1: %s\n" % e) +``` + + + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **pki_inscription_id** | **int**| | + +### Return type + +[**InscriptionGetCommunicationListV1Response**](InscriptionGetCommunicationListV1Response.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/ObjectInscriptionnotauthenticatedApi.md b/docs/ObjectInscriptionnotauthenticatedApi.md new file mode 100644 index 000000000..e4c972ed0 --- /dev/null +++ b/docs/ObjectInscriptionnotauthenticatedApi.md @@ -0,0 +1,88 @@ +# eZmaxApi.ObjectInscriptionnotauthenticatedApi + +All URIs are relative to *https://prod.api.appcluster01.ca-central-1.ezmax.com/rest* + +Method | HTTP request | Description +------------- | ------------- | ------------- +[**inscriptionnotauthenticated_get_communication_list_v1**](ObjectInscriptionnotauthenticatedApi.md#inscriptionnotauthenticated_get_communication_list_v1) | **GET** /1/object/inscriptionnotauthenticated/{pkiInscriptionnotauthenticatedID}/getCommunicationList | Retrieve Communication list + + +# **inscriptionnotauthenticated_get_communication_list_v1** +> InscriptionnotauthenticatedGetCommunicationListV1Response inscriptionnotauthenticated_get_communication_list_v1(pki_inscriptionnotauthenticated_id) + +Retrieve Communication list + + + +### Example + +* Api Key Authentication (Authorization): +```python +import time +import os +import eZmaxApi +from eZmaxApi.models.inscriptionnotauthenticated_get_communication_list_v1_response import InscriptionnotauthenticatedGetCommunicationListV1Response +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 list + api_response = api_instance.inscriptionnotauthenticated_get_communication_list_v1(pki_inscriptionnotauthenticated_id) + print("The response of ObjectInscriptionnotauthenticatedApi->inscriptionnotauthenticated_get_communication_list_v1:\n") + pprint(api_response) + except Exception as e: + print("Exception when calling ObjectInscriptionnotauthenticatedApi->inscriptionnotauthenticated_get_communication_list_v1: %s\n" % e) +``` + + + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **pki_inscriptionnotauthenticated_id** | **int**| | + +### Return type + +[**InscriptionnotauthenticatedGetCommunicationListV1Response**](InscriptionnotauthenticatedGetCommunicationListV1Response.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 new file mode 100644 index 000000000..ac4fe8ee1 --- /dev/null +++ b/docs/ObjectInscriptiontempApi.md @@ -0,0 +1,88 @@ +# eZmaxApi.ObjectInscriptiontempApi + +All URIs are relative to *https://prod.api.appcluster01.ca-central-1.ezmax.com/rest* + +Method | HTTP request | Description +------------- | ------------- | ------------- +[**inscriptiontemp_get_communication_list_v1**](ObjectInscriptiontempApi.md#inscriptiontemp_get_communication_list_v1) | **GET** /1/object/inscriptiontemp/{pkiInscriptiontempID}/getCommunicationList | Retrieve Communication list + + +# **inscriptiontemp_get_communication_list_v1** +> InscriptiontempGetCommunicationListV1Response inscriptiontemp_get_communication_list_v1(pki_inscriptiontemp_id) + +Retrieve Communication list + + + +### Example + +* Api Key Authentication (Authorization): +```python +import time +import os +import eZmaxApi +from eZmaxApi.models.inscriptiontemp_get_communication_list_v1_response import InscriptiontempGetCommunicationListV1Response +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 list + api_response = api_instance.inscriptiontemp_get_communication_list_v1(pki_inscriptiontemp_id) + print("The response of ObjectInscriptiontempApi->inscriptiontemp_get_communication_list_v1:\n") + pprint(api_response) + except Exception as e: + print("Exception when calling ObjectInscriptiontempApi->inscriptiontemp_get_communication_list_v1: %s\n" % e) +``` + + + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **pki_inscriptiontemp_id** | **int**| | + +### Return type + +[**InscriptiontempGetCommunicationListV1Response**](InscriptiontempGetCommunicationListV1Response.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 new file mode 100644 index 000000000..c151d7765 --- /dev/null +++ b/docs/ObjectInvoiceApi.md @@ -0,0 +1,88 @@ +# eZmaxApi.ObjectInvoiceApi + +All URIs are relative to *https://prod.api.appcluster01.ca-central-1.ezmax.com/rest* + +Method | HTTP request | Description +------------- | ------------- | ------------- +[**invoice_get_communication_list_v1**](ObjectInvoiceApi.md#invoice_get_communication_list_v1) | **GET** /1/object/invoice/{pkiInvoiceID}/getCommunicationList | Retrieve Communication list + + +# **invoice_get_communication_list_v1** +> InvoiceGetCommunicationListV1Response invoice_get_communication_list_v1(pki_invoice_id) + +Retrieve Communication list + + + +### Example + +* Api Key Authentication (Authorization): +```python +import time +import os +import eZmaxApi +from eZmaxApi.models.invoice_get_communication_list_v1_response import InvoiceGetCommunicationListV1Response +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 list + api_response = api_instance.invoice_get_communication_list_v1(pki_invoice_id) + print("The response of ObjectInvoiceApi->invoice_get_communication_list_v1:\n") + pprint(api_response) + except Exception as e: + print("Exception when calling ObjectInvoiceApi->invoice_get_communication_list_v1: %s\n" % e) +``` + + + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **pki_invoice_id** | **int**| | + +### Return type + +[**InvoiceGetCommunicationListV1Response**](InvoiceGetCommunicationListV1Response.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/ObjectOtherincomeApi.md b/docs/ObjectOtherincomeApi.md new file mode 100644 index 000000000..235817334 --- /dev/null +++ b/docs/ObjectOtherincomeApi.md @@ -0,0 +1,88 @@ +# eZmaxApi.ObjectOtherincomeApi + +All URIs are relative to *https://prod.api.appcluster01.ca-central-1.ezmax.com/rest* + +Method | HTTP request | Description +------------- | ------------- | ------------- +[**otherincome_get_communication_list_v1**](ObjectOtherincomeApi.md#otherincome_get_communication_list_v1) | **GET** /1/object/otherincome/{pkiOtherincomeID}/getCommunicationList | Retrieve Communication list + + +# **otherincome_get_communication_list_v1** +> OtherincomeGetCommunicationListV1Response otherincome_get_communication_list_v1(pki_otherincome_id) + +Retrieve Communication list + + + +### Example + +* Api Key Authentication (Authorization): +```python +import time +import os +import eZmaxApi +from eZmaxApi.models.otherincome_get_communication_list_v1_response import OtherincomeGetCommunicationListV1Response +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 list + api_response = api_instance.otherincome_get_communication_list_v1(pki_otherincome_id) + print("The response of ObjectOtherincomeApi->otherincome_get_communication_list_v1:\n") + pprint(api_response) + except Exception as e: + print("Exception when calling ObjectOtherincomeApi->otherincome_get_communication_list_v1: %s\n" % e) +``` + + + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **pki_otherincome_id** | **int**| | + +### Return type + +[**OtherincomeGetCommunicationListV1Response**](OtherincomeGetCommunicationListV1Response.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 6ab69e12a..e7b306be0 100644 --- a/docs/ObjectPaymenttermApi.md +++ b/docs/ObjectPaymenttermApi.md @@ -298,7 +298,7 @@ with eZmaxApi.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = eZmaxApi.ObjectPaymenttermApi(api_client) e_order_by = 'e_order_by_example' # str | Specify how you want the results to be sorted (optional) - i_row_max = 10000 # int | (optional) (default to 10000) + 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) @@ -319,7 +319,7 @@ with eZmaxApi.ApiClient(configuration) as api_client: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **e_order_by** | **str**| Specify how you want the results to be sorted | [optional] - **i_row_max** | **int**| | [optional] [default to 10000] + **i_row_max** | **int**| | [optional] **i_row_offset** | **int**| | [optional] [default to 0] **accept_language** | [**HeaderAcceptLanguage**](.md)| | [optional] **s_filter** | **str**| | [optional] diff --git a/docs/ObjectRejectedoffertopurchaseApi.md b/docs/ObjectRejectedoffertopurchaseApi.md new file mode 100644 index 000000000..9603605a7 --- /dev/null +++ b/docs/ObjectRejectedoffertopurchaseApi.md @@ -0,0 +1,88 @@ +# eZmaxApi.ObjectRejectedoffertopurchaseApi + +All URIs are relative to *https://prod.api.appcluster01.ca-central-1.ezmax.com/rest* + +Method | HTTP request | Description +------------- | ------------- | ------------- +[**rejectedoffertopurchase_get_communication_list_v1**](ObjectRejectedoffertopurchaseApi.md#rejectedoffertopurchase_get_communication_list_v1) | **GET** /1/object/rejectedoffertopurchase/{pkiRejectedoffertopurchaseID}/getCommunicationList | Retrieve Communication list + + +# **rejectedoffertopurchase_get_communication_list_v1** +> RejectedoffertopurchaseGetCommunicationListV1Response rejectedoffertopurchase_get_communication_list_v1(pki_rejectedoffertopurchase_id) + +Retrieve Communication list + + + +### Example + +* Api Key Authentication (Authorization): +```python +import time +import os +import eZmaxApi +from eZmaxApi.models.rejectedoffertopurchase_get_communication_list_v1_response import RejectedoffertopurchaseGetCommunicationListV1Response +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 list + api_response = api_instance.rejectedoffertopurchase_get_communication_list_v1(pki_rejectedoffertopurchase_id) + print("The response of ObjectRejectedoffertopurchaseApi->rejectedoffertopurchase_get_communication_list_v1:\n") + pprint(api_response) + except Exception as e: + print("Exception when calling ObjectRejectedoffertopurchaseApi->rejectedoffertopurchase_get_communication_list_v1: %s\n" % e) +``` + + + +### Parameters + +Name | Type | Description | Notes +------------- | ------------- | ------------- | ------------- + **pki_rejectedoffertopurchase_id** | **int**| | + +### Return type + +[**RejectedoffertopurchaseGetCommunicationListV1Response**](RejectedoffertopurchaseGetCommunicationListV1Response.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/ObjectSessionhistoryApi.md b/docs/ObjectSessionhistoryApi.md index 606a2d9d2..766884b5d 100644 --- a/docs/ObjectSessionhistoryApi.md +++ b/docs/ObjectSessionhistoryApi.md @@ -46,7 +46,7 @@ with eZmaxApi.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = eZmaxApi.ObjectSessionhistoryApi(api_client) e_order_by = 'e_order_by_example' # str | Specify how you want the results to be sorted (optional) - i_row_max = 10000 # int | (optional) (default to 10000) + 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) @@ -67,7 +67,7 @@ with eZmaxApi.ApiClient(configuration) as api_client: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **e_order_by** | **str**| Specify how you want the results to be sorted | [optional] - **i_row_max** | **int**| | [optional] [default to 10000] + **i_row_max** | **int**| | [optional] **i_row_offset** | **int**| | [optional] [default to 0] **accept_language** | [**HeaderAcceptLanguage**](.md)| | [optional] **s_filter** | **str**| | [optional] diff --git a/docs/ObjectUserApi.md b/docs/ObjectUserApi.md index 056f196ac..b0d46bed2 100644 --- a/docs/ObjectUserApi.md +++ b/docs/ObjectUserApi.md @@ -544,7 +544,7 @@ with eZmaxApi.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = eZmaxApi.ObjectUserApi(api_client) e_order_by = 'e_order_by_example' # str | Specify how you want the results to be sorted (optional) - i_row_max = 10000 # int | (optional) (default to 10000) + 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) @@ -565,7 +565,7 @@ with eZmaxApi.ApiClient(configuration) as api_client: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **e_order_by** | **str**| Specify how you want the results to be sorted | [optional] - **i_row_max** | **int**| | [optional] [default to 10000] + **i_row_max** | **int**| | [optional] **i_row_offset** | **int**| | [optional] [default to 0] **accept_language** | [**HeaderAcceptLanguage**](.md)| | [optional] **s_filter** | **str**| | [optional] diff --git a/docs/ObjectUsergroupApi.md b/docs/ObjectUsergroupApi.md index 52ff5db4a..7ef107eae 100644 --- a/docs/ObjectUsergroupApi.md +++ b/docs/ObjectUsergroupApi.md @@ -554,7 +554,7 @@ with eZmaxApi.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = eZmaxApi.ObjectUsergroupApi(api_client) e_order_by = 'e_order_by_example' # str | Specify how you want the results to be sorted (optional) - i_row_max = 10000 # int | (optional) (default to 10000) + 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) @@ -575,7 +575,7 @@ with eZmaxApi.ApiClient(configuration) as api_client: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **e_order_by** | **str**| Specify how you want the results to be sorted | [optional] - **i_row_max** | **int**| | [optional] [default to 10000] + **i_row_max** | **int**| | [optional] **i_row_offset** | **int**| | [optional] [default to 0] **accept_language** | [**HeaderAcceptLanguage**](.md)| | [optional] **s_filter** | **str**| | [optional] diff --git a/docs/ObjectUserstagedApi.md b/docs/ObjectUserstagedApi.md index e7a0bdbd6..b3e2e02c9 100644 --- a/docs/ObjectUserstagedApi.md +++ b/docs/ObjectUserstagedApi.md @@ -212,7 +212,7 @@ with eZmaxApi.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = eZmaxApi.ObjectUserstagedApi(api_client) e_order_by = 'e_order_by_example' # str | Specify how you want the results to be sorted (optional) - i_row_max = 10000 # int | (optional) (default to 10000) + 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) @@ -233,7 +233,7 @@ with eZmaxApi.ApiClient(configuration) as api_client: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **e_order_by** | **str**| Specify how you want the results to be sorted | [optional] - **i_row_max** | **int**| | [optional] [default to 10000] + **i_row_max** | **int**| | [optional] **i_row_offset** | **int**| | [optional] [default to 0] **accept_language** | [**HeaderAcceptLanguage**](.md)| | [optional] **s_filter** | **str**| | [optional] diff --git a/docs/ObjectVariableexpenseApi.md b/docs/ObjectVariableexpenseApi.md index 35c82023e..2f071dad7 100644 --- a/docs/ObjectVariableexpenseApi.md +++ b/docs/ObjectVariableexpenseApi.md @@ -299,7 +299,7 @@ with eZmaxApi.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = eZmaxApi.ObjectVariableexpenseApi(api_client) e_order_by = 'e_order_by_example' # str | Specify how you want the results to be sorted (optional) - i_row_max = 10000 # int | (optional) (default to 10000) + 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) @@ -320,7 +320,7 @@ with eZmaxApi.ApiClient(configuration) as api_client: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **e_order_by** | **str**| Specify how you want the results to be sorted | [optional] - **i_row_max** | **int**| | [optional] [default to 10000] + **i_row_max** | **int**| | [optional] **i_row_offset** | **int**| | [optional] [default to 0] **accept_language** | [**HeaderAcceptLanguage**](.md)| | [optional] **s_filter** | **str**| | [optional] diff --git a/docs/ObjectWebhookApi.md b/docs/ObjectWebhookApi.md index 125841d44..2ca49ec51 100644 --- a/docs/ObjectWebhookApi.md +++ b/docs/ObjectWebhookApi.md @@ -376,7 +376,7 @@ with eZmaxApi.ApiClient(configuration) as api_client: # Create an instance of the API class api_instance = eZmaxApi.ObjectWebhookApi(api_client) e_order_by = 'e_order_by_example' # str | Specify how you want the results to be sorted (optional) - i_row_max = 10000 # int | (optional) (default to 10000) + 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) @@ -397,7 +397,7 @@ with eZmaxApi.ApiClient(configuration) as api_client: Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **e_order_by** | **str**| Specify how you want the results to be sorted | [optional] - **i_row_max** | **int**| | [optional] [default to 10000] + **i_row_max** | **int**| | [optional] **i_row_offset** | **int**| | [optional] [default to 0] **accept_language** | [**HeaderAcceptLanguage**](.md)| | [optional] **s_filter** | **str**| | [optional] diff --git a/docs/OtherincomeGetCommunicationListV1Response.md b/docs/OtherincomeGetCommunicationListV1Response.md new file mode 100644 index 000000000..d7e9453da --- /dev/null +++ b/docs/OtherincomeGetCommunicationListV1Response.md @@ -0,0 +1,31 @@ +# OtherincomeGetCommunicationListV1Response + +Response for GET /1/object/otherincome/{pkiOtherincomeID}/getCommunicationList + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**obj_debug_payload** | [**CommonResponseObjDebugPayloadGetList**](CommonResponseObjDebugPayloadGetList.md) | | +**obj_debug** | [**CommonResponseObjDebug**](CommonResponseObjDebug.md) | | [optional] +**m_payload** | [**OtherincomeGetCommunicationListV1ResponseMPayload**](OtherincomeGetCommunicationListV1ResponseMPayload.md) | | + +## Example + +```python +from eZmaxApi.models.otherincome_get_communication_list_v1_response import OtherincomeGetCommunicationListV1Response + +# TODO update the JSON string below +json = "{}" +# create an instance of OtherincomeGetCommunicationListV1Response from a JSON string +otherincome_get_communication_list_v1_response_instance = OtherincomeGetCommunicationListV1Response.from_json(json) +# print the JSON string representation of the object +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) +``` +[[Back to Model list]](../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 new file mode 100644 index 000000000..6d99fbb9e --- /dev/null +++ b/docs/OtherincomeGetCommunicationListV1ResponseMPayload.md @@ -0,0 +1,29 @@ +# OtherincomeGetCommunicationListV1ResponseMPayload + +Response for GET /1/object/otherincome/{pkiOtherincomeID}/getCommunicationList + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**a_obj_communication** | [**List[CustomCommunicationListElementResponse]**](CustomCommunicationListElementResponse.md) | | + +## Example + +```python +from eZmaxApi.models.otherincome_get_communication_list_v1_response_m_payload import OtherincomeGetCommunicationListV1ResponseMPayload + +# TODO update the JSON string below +json = "{}" +# create an instance of OtherincomeGetCommunicationListV1ResponseMPayload from a JSON string +otherincome_get_communication_list_v1_response_m_payload_instance = OtherincomeGetCommunicationListV1ResponseMPayload.from_json(json) +# print the JSON string representation of the object +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) +``` +[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) + + diff --git a/docs/PhonestaticResponse.md b/docs/PhonestaticResponse.md deleted file mode 100644 index 7c91e2a61..000000000 --- a/docs/PhonestaticResponse.md +++ /dev/null @@ -1,31 +0,0 @@ -# PhonestaticResponse - -A Phonestatic Object - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**pki_phonestatic_id** | **int** | The unique ID of the Phone. | -**s_phonestatic_e164** | **str** | A phone number in E.164 Format | [optional] -**s_phonestatic_extension** | **str** | The extension of the phone number. | [optional] - -## Example - -```python -from eZmaxApi.models.phonestatic_response import PhonestaticResponse - -# TODO update the JSON string below -json = "{}" -# create an instance of PhonestaticResponse from a JSON string -phonestatic_response_instance = PhonestaticResponse.from_json(json) -# print the JSON string representation of the object -print PhonestaticResponse.to_json() - -# convert the object into a dict -phonestatic_response_dict = phonestatic_response_instance.to_dict() -# create an instance of PhonestaticResponse from a dict -phonestatic_response_form_dict = phonestatic_response.from_dict(phonestatic_response_dict) -``` -[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md) - - diff --git a/docs/PhonestaticResponseCompound.md b/docs/PhonestaticResponseCompound.md deleted file mode 100644 index 68de7ace9..000000000 --- a/docs/PhonestaticResponseCompound.md +++ /dev/null @@ -1,31 +0,0 @@ -# PhonestaticResponseCompound - -A Phonestatic Object and children to create a complete structure - -## Properties -Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- -**pki_phonestatic_id** | **int** | The unique ID of the Phone. | -**s_phonestatic_e164** | **str** | A phone number in E.164 Format | [optional] -**s_phonestatic_extension** | **str** | The extension of the phone number. | [optional] - -## Example - -```python -from eZmaxApi.models.phonestatic_response_compound import PhonestaticResponseCompound - -# TODO update the JSON string below -json = "{}" -# create an instance of PhonestaticResponseCompound from a JSON string -phonestatic_response_compound_instance = PhonestaticResponseCompound.from_json(json) -# print the JSON string representation of the object -print PhonestaticResponseCompound.to_json() - -# convert the object into a dict -phonestatic_response_compound_dict = phonestatic_response_compound_instance.to_dict() -# create an instance of PhonestaticResponseCompound from a dict -phonestatic_response_compound_form_dict = phonestatic_response_compound.from_dict(phonestatic_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/RejectedoffertopurchaseGetCommunicationListV1Response.md b/docs/RejectedoffertopurchaseGetCommunicationListV1Response.md new file mode 100644 index 000000000..32c9778e0 --- /dev/null +++ b/docs/RejectedoffertopurchaseGetCommunicationListV1Response.md @@ -0,0 +1,31 @@ +# RejectedoffertopurchaseGetCommunicationListV1Response + +Response for GET /1/object/rejectedoffertopurchase/{pkiRejectedoffertopurchaseID}/getCommunicationList + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**obj_debug_payload** | [**CommonResponseObjDebugPayloadGetList**](CommonResponseObjDebugPayloadGetList.md) | | +**obj_debug** | [**CommonResponseObjDebug**](CommonResponseObjDebug.md) | | [optional] +**m_payload** | [**RejectedoffertopurchaseGetCommunicationListV1ResponseMPayload**](RejectedoffertopurchaseGetCommunicationListV1ResponseMPayload.md) | | + +## Example + +```python +from eZmaxApi.models.rejectedoffertopurchase_get_communication_list_v1_response import RejectedoffertopurchaseGetCommunicationListV1Response + +# TODO update the JSON string below +json = "{}" +# create an instance of RejectedoffertopurchaseGetCommunicationListV1Response from a JSON string +rejectedoffertopurchase_get_communication_list_v1_response_instance = RejectedoffertopurchaseGetCommunicationListV1Response.from_json(json) +# print the JSON string representation of the object +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) +``` +[[Back to Model list]](../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 new file mode 100644 index 000000000..442956ac0 --- /dev/null +++ b/docs/RejectedoffertopurchaseGetCommunicationListV1ResponseMPayload.md @@ -0,0 +1,29 @@ +# RejectedoffertopurchaseGetCommunicationListV1ResponseMPayload + +Response for GET /1/object/rejectedoffertopurchase/{pkiRejectedoffertopurchaseID}/getCommunicationList + +## Properties +Name | Type | Description | Notes +------------ | ------------- | ------------- | ------------- +**a_obj_communication** | [**List[CustomCommunicationListElementResponse]**](CustomCommunicationListElementResponse.md) | | + +## Example + +```python +from eZmaxApi.models.rejectedoffertopurchase_get_communication_list_v1_response_m_payload import RejectedoffertopurchaseGetCommunicationListV1ResponseMPayload + +# TODO update the JSON string below +json = "{}" +# create an instance of RejectedoffertopurchaseGetCommunicationListV1ResponseMPayload from a JSON string +rejectedoffertopurchase_get_communication_list_v1_response_m_payload_instance = RejectedoffertopurchaseGetCommunicationListV1ResponseMPayload.from_json(json) +# print the JSON string representation of the object +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) +``` +[[Back to Model list]](../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 d7d3b0b33..8c6bec5ad 100644 --- a/docs/SecretquestionAutocompleteElementResponse.md +++ b/docs/SecretquestionAutocompleteElementResponse.md @@ -6,7 +6,7 @@ A Secretquestion AutocompleteElement Response Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **s_secretquestion_text_x** | **str** | The text of the Secretquestion in the language of the requester | -**pki_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)| | +**pki_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| | **b_secretquestion_isactive** | **bool** | Whether the Secretquestion is active or not | ## Example diff --git a/docs/UserRequest.md b/docs/UserRequest.md index 107453802..11c6185ed 100644 --- a/docs/UserRequest.md +++ b/docs/UserRequest.md @@ -18,7 +18,7 @@ Name | Type | Description | Notes **fki_billingentityinternal_id** | **int** | The unique ID of the Billingentityinternal. | **obj_phone_home** | [**PhoneRequestCompound**](PhoneRequestCompound.md) | | [optional] **obj_phone_sms** | [**PhoneRequestCompound**](PhoneRequestCompound.md) | | [optional] -**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)| | [optional] +**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] **s_user_secretresponse** | **str** | The answer to the Secretquestion | [optional] **fki_module_id_form** | **int** | The unique ID of the Module | [optional] **e_user_type** | [**FieldEUserType**](FieldEUserType.md) | | diff --git a/docs/UserRequestCompound.md b/docs/UserRequestCompound.md index 3a45c6be9..8e08eb122 100644 --- a/docs/UserRequestCompound.md +++ b/docs/UserRequestCompound.md @@ -18,7 +18,7 @@ Name | Type | Description | Notes **fki_billingentityinternal_id** | **int** | The unique ID of the Billingentityinternal. | **obj_phone_home** | [**PhoneRequestCompound**](PhoneRequestCompound.md) | | [optional] **obj_phone_sms** | [**PhoneRequestCompound**](PhoneRequestCompound.md) | | [optional] -**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)| | [optional] +**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] **s_user_secretresponse** | **str** | The answer to the Secretquestion | [optional] **fki_module_id_form** | **int** | The unique ID of the Module | [optional] **e_user_type** | [**FieldEUserType**](FieldEUserType.md) | | diff --git a/docs/UserResponse.md b/docs/UserResponse.md index a537c9b86..5cbf26806 100644 --- a/docs/UserResponse.md +++ b/docs/UserResponse.md @@ -23,7 +23,7 @@ Name | Type | Description | Notes **s_billingentityinternal_description_x** | **str** | The description of the Billingentityinternal in the language of the requester | **obj_phone_home** | [**PhoneResponseCompound**](PhoneResponseCompound.md) | | [optional] **obj_phone_sms** | [**PhoneResponseCompound**](PhoneResponseCompound.md) | | [optional] -**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)| | [optional] +**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_module_id_form** | **int** | The unique ID of the Module | [optional] **s_module_name_x** | **str** | The Name of the Module in the language of the requester | [optional] **e_user_origin** | [**FieldEUserOrigin**](FieldEUserOrigin.md) | | diff --git a/docs/UserResponseCompound.md b/docs/UserResponseCompound.md index 479b8e461..617729734 100644 --- a/docs/UserResponseCompound.md +++ b/docs/UserResponseCompound.md @@ -23,7 +23,7 @@ Name | Type | Description | Notes **s_billingentityinternal_description_x** | **str** | The description of the Billingentityinternal in the language of the requester | **obj_phone_home** | [**PhoneResponseCompound**](PhoneResponseCompound.md) | | [optional] **obj_phone_sms** | [**PhoneResponseCompound**](PhoneResponseCompound.md) | | [optional] -**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)| | [optional] +**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_module_id_form** | **int** | The unique ID of the Module | [optional] **s_module_name_x** | **str** | The Name of the Module in the language of the requester | [optional] **e_user_origin** | [**FieldEUserOrigin**](FieldEUserOrigin.md) | | diff --git a/docs/WebhookResponse.md b/docs/WebhookResponse.md index 4fe4a4102..cdd1c7808 100644 --- a/docs/WebhookResponse.md +++ b/docs/WebhookResponse.md @@ -14,7 +14,7 @@ Name | Type | Description | Notes **e_webhook_managementevent** | [**FieldEWebhookManagementevent**](FieldEWebhookManagementevent.md) | | [optional] **s_webhook_url** | **str** | The URL of the Webhook callback | **s_webhook_emailfailed** | **str** | The email that will receive the Webhook in case all attempts fail | -**b_webhook_isactive** | **bool** | Whether the Webhook is active or not | [optional] +**b_webhook_isactive** | **bool** | Whether the Webhook is active or not | **b_webhook_skipsslvalidation** | **bool** | Wheter the server's SSL certificate should be validated or not. Not recommended to skip for production use | ## Example diff --git a/docs/WebhookResponseCompound.md b/docs/WebhookResponseCompound.md index 93a660175..ff3e1be47 100644 --- a/docs/WebhookResponseCompound.md +++ b/docs/WebhookResponseCompound.md @@ -14,7 +14,7 @@ Name | Type | Description | Notes **e_webhook_managementevent** | [**FieldEWebhookManagementevent**](FieldEWebhookManagementevent.md) | | [optional] **s_webhook_url** | **str** | The URL of the Webhook callback | **s_webhook_emailfailed** | **str** | The email that will receive the Webhook in case all attempts fail | -**b_webhook_isactive** | **bool** | Whether the Webhook is active or not | [optional] +**b_webhook_isactive** | **bool** | Whether the Webhook is active 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_webhook_event** | **str** | The concatenated string to describe the Webhook event | [optional] diff --git a/eZmaxApi/__init__.py b/eZmaxApi/__init__.py index f9a54b22c..e2f885f5d 100644 --- a/eZmaxApi/__init__.py +++ b/eZmaxApi/__init__.py @@ -26,14 +26,17 @@ 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_billingentityexternal_api import ObjectBillingentityexternalApi from eZmaxApi.api.object_billingentityinternal_api import ObjectBillingentityinternalApi from eZmaxApi.api.object_branding_api import ObjectBrandingApi +from eZmaxApi.api.object_buyercontract_api import ObjectBuyercontractApi 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_cors_api import ObjectCorsApi from eZmaxApi.api.object_department_api import ObjectDepartmentApi +from eZmaxApi.api.object_electronicfundstransfer_api import ObjectElectronicfundstransferApi from eZmaxApi.api.object_emailtype_api import ObjectEmailtypeApi from eZmaxApi.api.object_ezmaxinvoicing_api import ObjectEzmaxinvoicingApi from eZmaxApi.api.object_ezmaxproduct_api import ObjectEzmaxproductApi @@ -64,14 +67,20 @@ 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_inscription_api import ObjectInscriptionApi +from eZmaxApi.api.object_inscriptionnotauthenticated_api import ObjectInscriptionnotauthenticatedApi +from eZmaxApi.api.object_inscriptiontemp_api import ObjectInscriptiontempApi +from eZmaxApi.api.object_invoice_api import ObjectInvoiceApi from eZmaxApi.api.object_language_api import ObjectLanguageApi from eZmaxApi.api.object_modulegroup_api import ObjectModulegroupApi from eZmaxApi.api.object_notificationsection_api import ObjectNotificationsectionApi 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_period_api import ObjectPeriodApi from eZmaxApi.api.object_permission_api import ObjectPermissionApi from eZmaxApi.api.object_phonetype_api import ObjectPhonetypeApi +from eZmaxApi.api.object_rejectedoffertopurchase_api import ObjectRejectedoffertopurchaseApi from eZmaxApi.api.object_secretquestion_api import ObjectSecretquestionApi from eZmaxApi.api.object_sessionhistory_api import ObjectSessionhistoryApi from eZmaxApi.api.object_signature_api import ObjectSignatureApi @@ -141,6 +150,7 @@ from eZmaxApi.models.apikey_request_compound import ApikeyRequestCompound from eZmaxApi.models.apikey_response import ApikeyResponse from eZmaxApi.models.apikey_response_compound import ApikeyResponseCompound +from eZmaxApi.models.attachment_download_v1_response import AttachmentDownloadV1Response from eZmaxApi.models.attempt_response import AttemptResponse from eZmaxApi.models.attempt_response_compound import AttemptResponseCompound from eZmaxApi.models.billingentityexternal_autocomplete_element_response import BillingentityexternalAutocompleteElementResponse @@ -184,6 +194,8 @@ 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.buyercontract_get_communication_list_v1_response import BuyercontractGetCommunicationListV1Response +from eZmaxApi.models.buyercontract_get_communication_list_v1_response_m_payload import BuyercontractGetCommunicationListV1ResponseMPayload 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 @@ -217,16 +229,19 @@ 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_get_object_v2_response import CommunicationGetObjectV2Response -from eZmaxApi.models.communication_get_object_v2_response_m_payload import CommunicationGetObjectV2ResponseMPayload -from eZmaxApi.models.communication_response import CommunicationResponse -from eZmaxApi.models.communication_response_compound import CommunicationResponseCompound -from eZmaxApi.models.communicationattachment_response import CommunicationattachmentResponse -from eZmaxApi.models.communicationattachment_response_compound import CommunicationattachmentResponseCompound -from eZmaxApi.models.communicationexternalrecipient_response import CommunicationexternalrecipientResponse -from eZmaxApi.models.communicationexternalrecipient_response_compound import CommunicationexternalrecipientResponseCompound -from eZmaxApi.models.communicationrecipient_response import CommunicationrecipientResponse -from eZmaxApi.models.communicationrecipient_response_compound import CommunicationrecipientResponseCompound +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.communicationattachment_request import CommunicationattachmentRequest +from eZmaxApi.models.communicationattachment_request_compound import CommunicationattachmentRequestCompound +from eZmaxApi.models.communicationexternalrecipient_request import CommunicationexternalrecipientRequest +from eZmaxApi.models.communicationexternalrecipient_request_compound import CommunicationexternalrecipientRequestCompound +from eZmaxApi.models.communicationrecipient_request import CommunicationrecipientRequest +from eZmaxApi.models.communicationrecipient_request_compound import CommunicationrecipientRequestCompound +from eZmaxApi.models.communicationreference_request import CommunicationreferenceRequest +from eZmaxApi.models.communicationreference_request_compound import CommunicationreferenceRequestCompound from eZmaxApi.models.company_autocomplete_element_response import CompanyAutocompleteElementResponse from eZmaxApi.models.company_get_autocomplete_v2_response import CompanyGetAutocompleteV2Response from eZmaxApi.models.company_get_autocomplete_v2_response_m_payload import CompanyGetAutocompleteV2ResponseMPayload @@ -250,6 +265,11 @@ from eZmaxApi.models.cors_response_compound import CorsResponseCompound from eZmaxApi.models.custom_autocomplete_element_response import CustomAutocompleteElementResponse 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 +from eZmaxApi.models.custom_communicationrecipientsrecipient_response import CustomCommunicationrecipientsrecipientResponse +from eZmaxApi.models.custom_communicationsender_request import CustomCommunicationsenderRequest +from eZmaxApi.models.custom_communicationsender_response import CustomCommunicationsenderResponse from eZmaxApi.models.custom_contact_name_response import CustomContactNameResponse from eZmaxApi.models.custom_creditcardtransaction_response import CustomCreditcardtransactionResponse from eZmaxApi.models.custom_dropdown_element_request import CustomDropdownElementRequest @@ -289,14 +309,12 @@ 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 -from eZmaxApi.models.descriptionstatic_response import DescriptionstaticResponse -from eZmaxApi.models.descriptionstatic_response_compound import DescriptionstaticResponseCompound +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.email_request import EmailRequest from eZmaxApi.models.email_request_compound import EmailRequestCompound from eZmaxApi.models.email_response import EmailResponse from eZmaxApi.models.email_response_compound import EmailResponseCompound -from eZmaxApi.models.emailstatic_response import EmailstaticResponse -from eZmaxApi.models.emailstatic_response_compound import EmailstaticResponseCompound from eZmaxApi.models.emailtype_autocomplete_element_response import EmailtypeAutocompleteElementResponse from eZmaxApi.models.emailtype_get_autocomplete_v2_response import EmailtypeGetAutocompleteV2Response from eZmaxApi.models.emailtype_get_autocomplete_v2_response_m_payload import EmailtypeGetAutocompleteV2ResponseMPayload @@ -478,6 +496,10 @@ from eZmaxApi.models.ezsignfolder_get_communication_count_v1_response_m_payload import EzsignfolderGetCommunicationCountV1ResponseMPayload from eZmaxApi.models.ezsignfolder_get_communication_list_v1_response import EzsignfolderGetCommunicationListV1Response from eZmaxApi.models.ezsignfolder_get_communication_list_v1_response_m_payload import EzsignfolderGetCommunicationListV1ResponseMPayload +from eZmaxApi.models.ezsignfolder_get_communicationrecipients_v1_response import EzsignfolderGetCommunicationrecipientsV1Response +from eZmaxApi.models.ezsignfolder_get_communicationrecipients_v1_response_m_payload import EzsignfolderGetCommunicationrecipientsV1ResponseMPayload +from eZmaxApi.models.ezsignfolder_get_communicationsenders_v1_response import EzsignfolderGetCommunicationsendersV1Response +from eZmaxApi.models.ezsignfolder_get_communicationsenders_v1_response_m_payload import EzsignfolderGetCommunicationsendersV1ResponseMPayload from eZmaxApi.models.ezsignfolder_get_ezsigndocuments_v1_response import EzsignfolderGetEzsigndocumentsV1Response from eZmaxApi.models.ezsignfolder_get_ezsigndocuments_v1_response_m_payload import EzsignfolderGetEzsigndocumentsV1ResponseMPayload from eZmaxApi.models.ezsignfolder_get_ezsignfoldersignerassociations_v1_response import EzsignfolderGetEzsignfoldersignerassociationsV1Response @@ -806,7 +828,6 @@ 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_objecttype import FieldECommunicationrecipientObjecttype from eZmaxApi.models.field_e_communicationrecipient_type import FieldECommunicationrecipientType from eZmaxApi.models.field_e_creditcardtype_codename import FieldECreditcardtypeCodename from eZmaxApi.models.field_e_error_code import FieldEErrorCode @@ -886,6 +907,14 @@ 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_communication_list_v1_response import InscriptionGetCommunicationListV1Response +from eZmaxApi.models.inscription_get_communication_list_v1_response_m_payload import InscriptionGetCommunicationListV1ResponseMPayload +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.inscriptiontemp_get_communication_list_v1_response import InscriptiontempGetCommunicationListV1Response +from eZmaxApi.models.inscriptiontemp_get_communication_list_v1_response_m_payload import InscriptiontempGetCommunicationListV1ResponseMPayload +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.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 @@ -916,6 +945,8 @@ 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_list_v1_response import OtherincomeGetCommunicationListV1Response +from eZmaxApi.models.otherincome_get_communication_list_v1_response_m_payload import OtherincomeGetCommunicationListV1ResponseMPayload 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 @@ -952,11 +983,11 @@ from eZmaxApi.models.phone_request_compound import PhoneRequestCompound from eZmaxApi.models.phone_response import PhoneResponse from eZmaxApi.models.phone_response_compound import PhoneResponseCompound -from eZmaxApi.models.phonestatic_response import PhonestaticResponse -from eZmaxApi.models.phonestatic_response_compound import PhonestaticResponseCompound from eZmaxApi.models.phonetype_autocomplete_element_response import PhonetypeAutocompleteElementResponse from eZmaxApi.models.phonetype_get_autocomplete_v2_response import PhonetypeGetAutocompleteV2Response from eZmaxApi.models.phonetype_get_autocomplete_v2_response_m_payload import PhonetypeGetAutocompleteV2ResponseMPayload +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.scim_authentication_scheme import ScimAuthenticationScheme from eZmaxApi.models.scim_email import ScimEmail from eZmaxApi.models.scim_group import ScimGroup diff --git a/eZmaxApi/api/__init__.py b/eZmaxApi/api/__init__.py index 3488df6cc..982bb0da9 100644 --- a/eZmaxApi/api/__init__.py +++ b/eZmaxApi/api/__init__.py @@ -9,14 +9,17 @@ 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_billingentityexternal_api import ObjectBillingentityexternalApi from eZmaxApi.api.object_billingentityinternal_api import ObjectBillingentityinternalApi from eZmaxApi.api.object_branding_api import ObjectBrandingApi +from eZmaxApi.api.object_buyercontract_api import ObjectBuyercontractApi 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_cors_api import ObjectCorsApi from eZmaxApi.api.object_department_api import ObjectDepartmentApi +from eZmaxApi.api.object_electronicfundstransfer_api import ObjectElectronicfundstransferApi from eZmaxApi.api.object_emailtype_api import ObjectEmailtypeApi from eZmaxApi.api.object_ezmaxinvoicing_api import ObjectEzmaxinvoicingApi from eZmaxApi.api.object_ezmaxproduct_api import ObjectEzmaxproductApi @@ -47,14 +50,20 @@ 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_inscription_api import ObjectInscriptionApi +from eZmaxApi.api.object_inscriptionnotauthenticated_api import ObjectInscriptionnotauthenticatedApi +from eZmaxApi.api.object_inscriptiontemp_api import ObjectInscriptiontempApi +from eZmaxApi.api.object_invoice_api import ObjectInvoiceApi from eZmaxApi.api.object_language_api import ObjectLanguageApi from eZmaxApi.api.object_modulegroup_api import ObjectModulegroupApi from eZmaxApi.api.object_notificationsection_api import ObjectNotificationsectionApi 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_period_api import ObjectPeriodApi from eZmaxApi.api.object_permission_api import ObjectPermissionApi from eZmaxApi.api.object_phonetype_api import ObjectPhonetypeApi +from eZmaxApi.api.object_rejectedoffertopurchase_api import ObjectRejectedoffertopurchaseApi from eZmaxApi.api.object_secretquestion_api import ObjectSecretquestionApi from eZmaxApi.api.object_sessionhistory_api import ObjectSessionhistoryApi from eZmaxApi.api.object_signature_api import ObjectSignatureApi diff --git a/eZmaxApi/api/object_attachment_api.py b/eZmaxApi/api/object_attachment_api.py new file mode 100644 index 000000000..bd030a5eb --- /dev/null +++ b/eZmaxApi/api/object_attachment_api.py @@ -0,0 +1,186 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.0 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import re # noqa: F401 +import io +import warnings + +from pydantic import validate_arguments, ValidationError + +from pydantic import conint + +from eZmaxApi.models.attachment_download_v1_response import AttachmentDownloadV1Response + +from eZmaxApi.api_client import ApiClient +from eZmaxApi.api_response import ApiResponse +from eZmaxApi.exceptions import ( # noqa: F401 + ApiTypeError, + ApiValueError +) + + +class ObjectAttachmentApi: + """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_arguments + def attachment_download_v1(self, pki_attachment_id : conint(strict=True, ge=0), **kwargs) -> AttachmentDownloadV1Response: # noqa: E501 + """Retrieve the content # noqa: E501 + + Using this endpoint, you can retrieve the content of an attachment. # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.attachment_download_v1(pki_attachment_id, async_req=True) + >>> result = thread.get() + + :param pki_attachment_id: (required) + :type pki_attachment_id: int + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _request_timeout: timeout setting for this request. + If one number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: AttachmentDownloadV1Response + """ + kwargs['_return_http_data_only'] = True + if '_preload_content' in kwargs: + message = "Error! Please call the attachment_download_v1_with_http_info method with `_preload_content` instead and obtain raw data from ApiResponse.raw_data" # noqa: E501 + raise ValueError(message) + return self.attachment_download_v1_with_http_info(pki_attachment_id, **kwargs) # noqa: E501 + + @validate_arguments + def attachment_download_v1_with_http_info(self, pki_attachment_id : conint(strict=True, ge=0), **kwargs) -> ApiResponse: # noqa: E501 + """Retrieve the content # noqa: E501 + + Using this endpoint, you can retrieve the content of an attachment. # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.attachment_download_v1_with_http_info(pki_attachment_id, async_req=True) + >>> result = thread.get() + + :param pki_attachment_id: (required) + :type pki_attachment_id: int + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _preload_content: if False, the ApiResponse.data will + be set to none and raw_data will store the + HTTP response body without reading/decoding. + Default is True. + :type _preload_content: bool, optional + :param _return_http_data_only: response data instead of ApiResponse + object with status code, headers, etc + :type _return_http_data_only: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the authentication + in the spec for a single request. + :type _request_auth: dict, optional + :type _content_type: string, optional: force content-type for the request + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: tuple(AttachmentDownloadV1Response, status_code(int), headers(HTTPHeaderDict)) + """ + + _params = locals() + + _all_params = [ + 'pki_attachment_id' + ] + _all_params.extend( + [ + 'async_req', + '_return_http_data_only', + '_preload_content', + '_request_timeout', + '_request_auth', + '_content_type', + '_headers' + ] + ) + + # validate the arguments + for _key, _val in _params['kwargs'].items(): + if _key not in _all_params: + raise ApiTypeError( + "Got an unexpected keyword argument '%s'" + " to method attachment_download_v1" % _key + ) + _params[_key] = _val + del _params['kwargs'] + + _collection_formats = {} + + # process the path parameters + _path_params = {} + if _params['pki_attachment_id']: + _path_params['pkiAttachmentID'] = _params['pki_attachment_id'] + + + # process the query parameters + _query_params = [] + # process the header parameters + _header_params = dict(_params.get('_headers', {})) + # process the form parameters + _form_params = [] + _files = {} + # process the body parameter + _body_params = None + # set the HTTP header `Accept` + _header_params['Accept'] = self.api_client.select_header_accept( + ['application/json']) # noqa: E501 + + # authentication setting + _auth_settings = ['Authorization'] # noqa: E501 + + _response_types_map = { + '200': "AttachmentDownloadV1Response", + '404': "CommonResponseError", + '422': "CommonResponseError", + } + + return self.api_client.call_api( + '/1/object/attachment/{pkiAttachmentID}/download', 'GET', + _path_params, + _query_params, + _header_params, + body=_body_params, + post_params=_form_params, + files=_files, + response_types_map=_response_types_map, + auth_settings=_auth_settings, + async_req=_params.get('async_req'), + _return_http_data_only=_params.get('_return_http_data_only'), # noqa: E501 + _preload_content=_params.get('_preload_content', True), + _request_timeout=_params.get('_request_timeout'), + collection_formats=_collection_formats, + _request_auth=_params.get('_request_auth')) diff --git a/eZmaxApi/api/object_buyercontract_api.py b/eZmaxApi/api/object_buyercontract_api.py new file mode 100644 index 000000000..acb77734d --- /dev/null +++ b/eZmaxApi/api/object_buyercontract_api.py @@ -0,0 +1,185 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.0 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import re # noqa: F401 +import io +import warnings + +from pydantic import validate_arguments, ValidationError + +from pydantic import conint + +from eZmaxApi.models.buyercontract_get_communication_list_v1_response import BuyercontractGetCommunicationListV1Response + +from eZmaxApi.api_client import ApiClient +from eZmaxApi.api_response import ApiResponse +from eZmaxApi.exceptions import ( # noqa: F401 + ApiTypeError, + ApiValueError +) + + +class ObjectBuyercontractApi: + """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_arguments + def buyercontract_get_communication_list_v1(self, pki_buyercontract_id : conint(strict=True, le=65535, ge=1), **kwargs) -> BuyercontractGetCommunicationListV1Response: # noqa: E501 + """Retrieve Communication list # noqa: E501 + + # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.buyercontract_get_communication_list_v1(pki_buyercontract_id, async_req=True) + >>> result = thread.get() + + :param pki_buyercontract_id: (required) + :type pki_buyercontract_id: int + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _request_timeout: timeout setting for this request. + If one number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: BuyercontractGetCommunicationListV1Response + """ + kwargs['_return_http_data_only'] = True + if '_preload_content' in kwargs: + message = "Error! Please call the buyercontract_get_communication_list_v1_with_http_info method with `_preload_content` instead and obtain raw data from ApiResponse.raw_data" # noqa: E501 + raise ValueError(message) + return self.buyercontract_get_communication_list_v1_with_http_info(pki_buyercontract_id, **kwargs) # noqa: E501 + + @validate_arguments + def buyercontract_get_communication_list_v1_with_http_info(self, pki_buyercontract_id : conint(strict=True, le=65535, ge=1), **kwargs) -> ApiResponse: # noqa: E501 + """Retrieve Communication list # noqa: E501 + + # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.buyercontract_get_communication_list_v1_with_http_info(pki_buyercontract_id, async_req=True) + >>> result = thread.get() + + :param pki_buyercontract_id: (required) + :type pki_buyercontract_id: int + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _preload_content: if False, the ApiResponse.data will + be set to none and raw_data will store the + HTTP response body without reading/decoding. + Default is True. + :type _preload_content: bool, optional + :param _return_http_data_only: response data instead of ApiResponse + object with status code, headers, etc + :type _return_http_data_only: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the authentication + in the spec for a single request. + :type _request_auth: dict, optional + :type _content_type: string, optional: force content-type for the request + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: tuple(BuyercontractGetCommunicationListV1Response, status_code(int), headers(HTTPHeaderDict)) + """ + + _params = locals() + + _all_params = [ + 'pki_buyercontract_id' + ] + _all_params.extend( + [ + 'async_req', + '_return_http_data_only', + '_preload_content', + '_request_timeout', + '_request_auth', + '_content_type', + '_headers' + ] + ) + + # validate the arguments + for _key, _val in _params['kwargs'].items(): + if _key not in _all_params: + raise ApiTypeError( + "Got an unexpected keyword argument '%s'" + " to method buyercontract_get_communication_list_v1" % _key + ) + _params[_key] = _val + del _params['kwargs'] + + _collection_formats = {} + + # process the path parameters + _path_params = {} + if _params['pki_buyercontract_id']: + _path_params['pkiBuyercontractID'] = _params['pki_buyercontract_id'] + + + # process the query parameters + _query_params = [] + # process the header parameters + _header_params = dict(_params.get('_headers', {})) + # process the form parameters + _form_params = [] + _files = {} + # process the body parameter + _body_params = None + # set the HTTP header `Accept` + _header_params['Accept'] = self.api_client.select_header_accept( + ['application/json']) # noqa: E501 + + # authentication setting + _auth_settings = ['Authorization'] # noqa: E501 + + _response_types_map = { + '200': "BuyercontractGetCommunicationListV1Response", + '404': "CommonResponseError", + } + + return self.api_client.call_api( + '/1/object/buyercontract/{pkiBuyercontractID}/getCommunicationList', 'GET', + _path_params, + _query_params, + _header_params, + body=_body_params, + post_params=_form_params, + files=_files, + response_types_map=_response_types_map, + auth_settings=_auth_settings, + async_req=_params.get('async_req'), + _return_http_data_only=_params.get('_return_http_data_only'), # noqa: E501 + _preload_content=_params.get('_preload_content', True), + _request_timeout=_params.get('_request_timeout'), + collection_formats=_collection_formats, + _request_auth=_params.get('_request_auth')) diff --git a/eZmaxApi/api/object_communication_api.py b/eZmaxApi/api/object_communication_api.py index 396e4dc5f..bb38d7dad 100644 --- a/eZmaxApi/api/object_communication_api.py +++ b/eZmaxApi/api/object_communication_api.py @@ -19,9 +19,8 @@ from pydantic import validate_arguments, ValidationError -from pydantic import conint - -from eZmaxApi.models.communication_get_object_v2_response import CommunicationGetObjectV2Response +from eZmaxApi.models.communication_send_v1_request import CommunicationSendV1Request +from eZmaxApi.models.communication_send_v1_response import CommunicationSendV1Response from eZmaxApi.api_client import ApiClient from eZmaxApi.api_response import ApiResponse @@ -44,18 +43,18 @@ def __init__(self, api_client=None) -> None: self.api_client = api_client @validate_arguments - def communication_get_object_v2(self, pki_communication_id : conint(strict=True, ge=0), **kwargs) -> CommunicationGetObjectV2Response: # noqa: E501 - """Retrieve an existing Communication # noqa: E501 + def communication_send_v1(self, communication_send_v1_request : CommunicationSendV1Request, **kwargs) -> CommunicationSendV1Response: # noqa: E501 + """Send a new Communication # noqa: E501 - # noqa: E501 + The endpoint allows to send one or many elements at once. # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.communication_get_object_v2(pki_communication_id, async_req=True) + >>> thread = api.communication_send_v1(communication_send_v1_request, async_req=True) >>> result = thread.get() - :param pki_communication_id: (required) - :type pki_communication_id: int + :param communication_send_v1_request: (required) + :type communication_send_v1_request: CommunicationSendV1Request :param async_req: Whether to execute the request asynchronously. :type async_req: bool, optional :param _request_timeout: timeout setting for this request. @@ -65,27 +64,27 @@ def communication_get_object_v2(self, pki_communication_id : conint(strict=True, :return: Returns the result object. If the method is called asynchronously, returns the request thread. - :rtype: CommunicationGetObjectV2Response + :rtype: CommunicationSendV1Response """ kwargs['_return_http_data_only'] = True if '_preload_content' in kwargs: - message = "Error! Please call the communication_get_object_v2_with_http_info method with `_preload_content` instead and obtain raw data from ApiResponse.raw_data" # noqa: E501 + message = "Error! Please call the communication_send_v1_with_http_info method with `_preload_content` instead and obtain raw data from ApiResponse.raw_data" # noqa: E501 raise ValueError(message) - return self.communication_get_object_v2_with_http_info(pki_communication_id, **kwargs) # noqa: E501 + return self.communication_send_v1_with_http_info(communication_send_v1_request, **kwargs) # noqa: E501 @validate_arguments - def communication_get_object_v2_with_http_info(self, pki_communication_id : conint(strict=True, ge=0), **kwargs) -> ApiResponse: # noqa: E501 - """Retrieve an existing Communication # noqa: E501 + def communication_send_v1_with_http_info(self, communication_send_v1_request : CommunicationSendV1Request, **kwargs) -> ApiResponse: # noqa: E501 + """Send a new Communication # noqa: E501 - # noqa: E501 + The endpoint allows to send one or many elements at once. # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True - >>> thread = api.communication_get_object_v2_with_http_info(pki_communication_id, async_req=True) + >>> thread = api.communication_send_v1_with_http_info(communication_send_v1_request, async_req=True) >>> result = thread.get() - :param pki_communication_id: (required) - :type pki_communication_id: int + :param communication_send_v1_request: (required) + :type communication_send_v1_request: CommunicationSendV1Request :param async_req: Whether to execute the request asynchronously. :type async_req: bool, optional :param _preload_content: if False, the ApiResponse.data will @@ -108,13 +107,13 @@ def communication_get_object_v2_with_http_info(self, pki_communication_id : coni :return: Returns the result object. If the method is called asynchronously, returns the request thread. - :rtype: tuple(CommunicationGetObjectV2Response, status_code(int), headers(HTTPHeaderDict)) + :rtype: tuple(CommunicationSendV1Response, status_code(int), headers(HTTPHeaderDict)) """ _params = locals() _all_params = [ - 'pki_communication_id' + 'communication_send_v1_request' ] _all_params.extend( [ @@ -133,7 +132,7 @@ def communication_get_object_v2_with_http_info(self, pki_communication_id : coni if _key not in _all_params: raise ApiTypeError( "Got an unexpected keyword argument '%s'" - " to method communication_get_object_v2" % _key + " to method communication_send_v1" % _key ) _params[_key] = _val del _params['kwargs'] @@ -142,9 +141,6 @@ def communication_get_object_v2_with_http_info(self, pki_communication_id : coni # process the path parameters _path_params = {} - if _params['pki_communication_id']: - _path_params['pkiCommunicationID'] = _params['pki_communication_id'] - # process the query parameters _query_params = [] @@ -155,20 +151,29 @@ def communication_get_object_v2_with_http_info(self, pki_communication_id : coni _files = {} # process the body parameter _body_params = None + if _params['communication_send_v1_request'] is not None: + _body_params = _params['communication_send_v1_request'] + # set the HTTP header `Accept` _header_params['Accept'] = self.api_client.select_header_accept( ['application/json']) # noqa: E501 + # set the HTTP header `Content-Type` + _content_types_list = _params.get('_content_type', + self.api_client.select_header_content_type( + ['application/json'])) + if _content_types_list: + _header_params['Content-Type'] = _content_types_list + # authentication setting _auth_settings = ['Authorization'] # noqa: E501 _response_types_map = { - '200': "CommunicationGetObjectV2Response", - '404': "CommonResponseError", + '201': "CommunicationSendV1Response", } return self.api_client.call_api( - '/2/object/communication/{pkiCommunicationID}', 'GET', + '/1/object/communication/send', 'POST', _path_params, _query_params, _header_params, diff --git a/eZmaxApi/api/object_electronicfundstransfer_api.py b/eZmaxApi/api/object_electronicfundstransfer_api.py new file mode 100644 index 000000000..5556678b9 --- /dev/null +++ b/eZmaxApi/api/object_electronicfundstransfer_api.py @@ -0,0 +1,185 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.0 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import re # noqa: F401 +import io +import warnings + +from pydantic import validate_arguments, ValidationError + +from pydantic import conint + +from eZmaxApi.models.electronicfundstransfer_get_communication_list_v1_response import ElectronicfundstransferGetCommunicationListV1Response + +from eZmaxApi.api_client import ApiClient +from eZmaxApi.api_response import ApiResponse +from eZmaxApi.exceptions import ( # noqa: F401 + ApiTypeError, + ApiValueError +) + + +class ObjectElectronicfundstransferApi: + """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_arguments + def eletronicfundstransfer_get_communication_list_v1(self, pki_electronicfundstransfer_id : conint(strict=True, le=65535, ge=1), **kwargs) -> ElectronicfundstransferGetCommunicationListV1Response: # noqa: E501 + """Retrieve Communication list # noqa: E501 + + # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.eletronicfundstransfer_get_communication_list_v1(pki_electronicfundstransfer_id, async_req=True) + >>> result = thread.get() + + :param pki_electronicfundstransfer_id: (required) + :type pki_electronicfundstransfer_id: int + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _request_timeout: timeout setting for this request. + If one number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: ElectronicfundstransferGetCommunicationListV1Response + """ + kwargs['_return_http_data_only'] = True + if '_preload_content' in kwargs: + message = "Error! Please call the eletronicfundstransfer_get_communication_list_v1_with_http_info method with `_preload_content` instead and obtain raw data from ApiResponse.raw_data" # noqa: E501 + raise ValueError(message) + return self.eletronicfundstransfer_get_communication_list_v1_with_http_info(pki_electronicfundstransfer_id, **kwargs) # noqa: E501 + + @validate_arguments + def eletronicfundstransfer_get_communication_list_v1_with_http_info(self, pki_electronicfundstransfer_id : conint(strict=True, le=65535, ge=1), **kwargs) -> ApiResponse: # noqa: E501 + """Retrieve Communication list # noqa: E501 + + # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.eletronicfundstransfer_get_communication_list_v1_with_http_info(pki_electronicfundstransfer_id, async_req=True) + >>> result = thread.get() + + :param pki_electronicfundstransfer_id: (required) + :type pki_electronicfundstransfer_id: int + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _preload_content: if False, the ApiResponse.data will + be set to none and raw_data will store the + HTTP response body without reading/decoding. + Default is True. + :type _preload_content: bool, optional + :param _return_http_data_only: response data instead of ApiResponse + object with status code, headers, etc + :type _return_http_data_only: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the authentication + in the spec for a single request. + :type _request_auth: dict, optional + :type _content_type: string, optional: force content-type for the request + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: tuple(ElectronicfundstransferGetCommunicationListV1Response, status_code(int), headers(HTTPHeaderDict)) + """ + + _params = locals() + + _all_params = [ + 'pki_electronicfundstransfer_id' + ] + _all_params.extend( + [ + 'async_req', + '_return_http_data_only', + '_preload_content', + '_request_timeout', + '_request_auth', + '_content_type', + '_headers' + ] + ) + + # validate the arguments + for _key, _val in _params['kwargs'].items(): + if _key not in _all_params: + raise ApiTypeError( + "Got an unexpected keyword argument '%s'" + " to method eletronicfundstransfer_get_communication_list_v1" % _key + ) + _params[_key] = _val + del _params['kwargs'] + + _collection_formats = {} + + # process the path parameters + _path_params = {} + if _params['pki_electronicfundstransfer_id']: + _path_params['pkiElectronicfundstransferID'] = _params['pki_electronicfundstransfer_id'] + + + # process the query parameters + _query_params = [] + # process the header parameters + _header_params = dict(_params.get('_headers', {})) + # process the form parameters + _form_params = [] + _files = {} + # process the body parameter + _body_params = None + # set the HTTP header `Accept` + _header_params['Accept'] = self.api_client.select_header_accept( + ['application/json']) # noqa: E501 + + # authentication setting + _auth_settings = ['Authorization'] # noqa: E501 + + _response_types_map = { + '200': "ElectronicfundstransferGetCommunicationListV1Response", + '404': "CommonResponseError", + } + + return self.api_client.call_api( + '/1/object/electronicfundstransfer/{pkiElectronicfundstransferID}/getCommunicationList', 'GET', + _path_params, + _query_params, + _header_params, + body=_body_params, + post_params=_form_params, + files=_files, + response_types_map=_response_types_map, + auth_settings=_auth_settings, + async_req=_params.get('async_req'), + _return_http_data_only=_params.get('_return_http_data_only'), # noqa: E501 + _preload_content=_params.get('_preload_content', True), + _request_timeout=_params.get('_request_timeout'), + collection_formats=_collection_formats, + _request_auth=_params.get('_request_auth')) diff --git a/eZmaxApi/api/object_ezsignfolder_api.py b/eZmaxApi/api/object_ezsignfolder_api.py index c3c7b4f96..551fa3a74 100644 --- a/eZmaxApi/api/object_ezsignfolder_api.py +++ b/eZmaxApi/api/object_ezsignfolder_api.py @@ -39,6 +39,8 @@ from eZmaxApi.models.ezsignfolder_get_actionable_elements_v1_response import EzsignfolderGetActionableElementsV1Response from eZmaxApi.models.ezsignfolder_get_communication_count_v1_response import EzsignfolderGetCommunicationCountV1Response from eZmaxApi.models.ezsignfolder_get_communication_list_v1_response import EzsignfolderGetCommunicationListV1Response +from eZmaxApi.models.ezsignfolder_get_communicationrecipients_v1_response import EzsignfolderGetCommunicationrecipientsV1Response +from eZmaxApi.models.ezsignfolder_get_communicationsenders_v1_response import EzsignfolderGetCommunicationsendersV1Response from eZmaxApi.models.ezsignfolder_get_ezsigndocuments_v1_response import EzsignfolderGetEzsigndocumentsV1Response from eZmaxApi.models.ezsignfolder_get_ezsignfoldersignerassociations_v1_response import EzsignfolderGetEzsignfoldersignerassociationsV1Response from eZmaxApi.models.ezsignfolder_get_ezsignsignatures_automatic_v1_response import EzsignfolderGetEzsignsignaturesAutomaticV1Response @@ -1717,6 +1719,288 @@ def ezsignfolder_get_communication_list_v1_with_http_info(self, pki_ezsignfolder collection_formats=_collection_formats, _request_auth=_params.get('_request_auth')) + @validate_arguments + def ezsignfolder_get_communicationrecipients_v1(self, pki_ezsignfolder_id : conint(strict=True, ge=0), **kwargs) -> EzsignfolderGetCommunicationrecipientsV1Response: # noqa: E501 + """Retrieve Ezsignfolder's Communicationrecipient # noqa: E501 + + # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.ezsignfolder_get_communicationrecipients_v1(pki_ezsignfolder_id, async_req=True) + >>> result = thread.get() + + :param pki_ezsignfolder_id: (required) + :type pki_ezsignfolder_id: int + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _request_timeout: timeout setting for this request. + If one number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: EzsignfolderGetCommunicationrecipientsV1Response + """ + kwargs['_return_http_data_only'] = True + if '_preload_content' in kwargs: + message = "Error! Please call the ezsignfolder_get_communicationrecipients_v1_with_http_info method with `_preload_content` instead and obtain raw data from ApiResponse.raw_data" # noqa: E501 + raise ValueError(message) + return self.ezsignfolder_get_communicationrecipients_v1_with_http_info(pki_ezsignfolder_id, **kwargs) # noqa: E501 + + @validate_arguments + def ezsignfolder_get_communicationrecipients_v1_with_http_info(self, pki_ezsignfolder_id : conint(strict=True, ge=0), **kwargs) -> ApiResponse: # noqa: E501 + """Retrieve Ezsignfolder's Communicationrecipient # noqa: E501 + + # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.ezsignfolder_get_communicationrecipients_v1_with_http_info(pki_ezsignfolder_id, async_req=True) + >>> result = thread.get() + + :param pki_ezsignfolder_id: (required) + :type pki_ezsignfolder_id: int + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _preload_content: if False, the ApiResponse.data will + be set to none and raw_data will store the + HTTP response body without reading/decoding. + Default is True. + :type _preload_content: bool, optional + :param _return_http_data_only: response data instead of ApiResponse + object with status code, headers, etc + :type _return_http_data_only: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the authentication + in the spec for a single request. + :type _request_auth: dict, optional + :type _content_type: string, optional: force content-type for the request + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: tuple(EzsignfolderGetCommunicationrecipientsV1Response, status_code(int), headers(HTTPHeaderDict)) + """ + + _params = locals() + + _all_params = [ + 'pki_ezsignfolder_id' + ] + _all_params.extend( + [ + 'async_req', + '_return_http_data_only', + '_preload_content', + '_request_timeout', + '_request_auth', + '_content_type', + '_headers' + ] + ) + + # validate the arguments + for _key, _val in _params['kwargs'].items(): + if _key not in _all_params: + raise ApiTypeError( + "Got an unexpected keyword argument '%s'" + " to method ezsignfolder_get_communicationrecipients_v1" % _key + ) + _params[_key] = _val + del _params['kwargs'] + + _collection_formats = {} + + # process the path parameters + _path_params = {} + if _params['pki_ezsignfolder_id']: + _path_params['pkiEzsignfolderID'] = _params['pki_ezsignfolder_id'] + + + # process the query parameters + _query_params = [] + # process the header parameters + _header_params = dict(_params.get('_headers', {})) + # process the form parameters + _form_params = [] + _files = {} + # process the body parameter + _body_params = None + # set the HTTP header `Accept` + _header_params['Accept'] = self.api_client.select_header_accept( + ['application/json']) # noqa: E501 + + # authentication setting + _auth_settings = ['Authorization'] # noqa: E501 + + _response_types_map = { + '200': "EzsignfolderGetCommunicationrecipientsV1Response", + '404': "CommonResponseError", + } + + return self.api_client.call_api( + '/1/object/ezsignfolder/{pkiEzsignfolderID}/getCommunicationrecipients', 'GET', + _path_params, + _query_params, + _header_params, + body=_body_params, + post_params=_form_params, + files=_files, + response_types_map=_response_types_map, + auth_settings=_auth_settings, + async_req=_params.get('async_req'), + _return_http_data_only=_params.get('_return_http_data_only'), # noqa: E501 + _preload_content=_params.get('_preload_content', True), + _request_timeout=_params.get('_request_timeout'), + collection_formats=_collection_formats, + _request_auth=_params.get('_request_auth')) + + @validate_arguments + def ezsignfolder_get_communicationsenders_v1(self, pki_ezsignfolder_id : conint(strict=True, ge=0), **kwargs) -> EzsignfolderGetCommunicationsendersV1Response: # noqa: E501 + """Retrieve Ezsignfolder's Communicationsender # noqa: E501 + + # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.ezsignfolder_get_communicationsenders_v1(pki_ezsignfolder_id, async_req=True) + >>> result = thread.get() + + :param pki_ezsignfolder_id: (required) + :type pki_ezsignfolder_id: int + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _request_timeout: timeout setting for this request. + If one number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: EzsignfolderGetCommunicationsendersV1Response + """ + kwargs['_return_http_data_only'] = True + if '_preload_content' in kwargs: + message = "Error! Please call the ezsignfolder_get_communicationsenders_v1_with_http_info method with `_preload_content` instead and obtain raw data from ApiResponse.raw_data" # noqa: E501 + raise ValueError(message) + return self.ezsignfolder_get_communicationsenders_v1_with_http_info(pki_ezsignfolder_id, **kwargs) # noqa: E501 + + @validate_arguments + def ezsignfolder_get_communicationsenders_v1_with_http_info(self, pki_ezsignfolder_id : conint(strict=True, ge=0), **kwargs) -> ApiResponse: # noqa: E501 + """Retrieve Ezsignfolder's Communicationsender # noqa: E501 + + # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.ezsignfolder_get_communicationsenders_v1_with_http_info(pki_ezsignfolder_id, async_req=True) + >>> result = thread.get() + + :param pki_ezsignfolder_id: (required) + :type pki_ezsignfolder_id: int + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _preload_content: if False, the ApiResponse.data will + be set to none and raw_data will store the + HTTP response body without reading/decoding. + Default is True. + :type _preload_content: bool, optional + :param _return_http_data_only: response data instead of ApiResponse + object with status code, headers, etc + :type _return_http_data_only: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the authentication + in the spec for a single request. + :type _request_auth: dict, optional + :type _content_type: string, optional: force content-type for the request + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: tuple(EzsignfolderGetCommunicationsendersV1Response, status_code(int), headers(HTTPHeaderDict)) + """ + + _params = locals() + + _all_params = [ + 'pki_ezsignfolder_id' + ] + _all_params.extend( + [ + 'async_req', + '_return_http_data_only', + '_preload_content', + '_request_timeout', + '_request_auth', + '_content_type', + '_headers' + ] + ) + + # validate the arguments + for _key, _val in _params['kwargs'].items(): + if _key not in _all_params: + raise ApiTypeError( + "Got an unexpected keyword argument '%s'" + " to method ezsignfolder_get_communicationsenders_v1" % _key + ) + _params[_key] = _val + del _params['kwargs'] + + _collection_formats = {} + + # process the path parameters + _path_params = {} + if _params['pki_ezsignfolder_id']: + _path_params['pkiEzsignfolderID'] = _params['pki_ezsignfolder_id'] + + + # process the query parameters + _query_params = [] + # process the header parameters + _header_params = dict(_params.get('_headers', {})) + # process the form parameters + _form_params = [] + _files = {} + # process the body parameter + _body_params = None + # set the HTTP header `Accept` + _header_params['Accept'] = self.api_client.select_header_accept( + ['application/json']) # noqa: E501 + + # authentication setting + _auth_settings = ['Authorization'] # noqa: E501 + + _response_types_map = { + '200': "EzsignfolderGetCommunicationsendersV1Response", + '404': "CommonResponseError", + } + + return self.api_client.call_api( + '/1/object/ezsignfolder/{pkiEzsignfolderID}/getCommunicationsenders', 'GET', + _path_params, + _query_params, + _header_params, + body=_body_params, + post_params=_form_params, + files=_files, + response_types_map=_response_types_map, + auth_settings=_auth_settings, + async_req=_params.get('async_req'), + _return_http_data_only=_params.get('_return_http_data_only'), # noqa: E501 + _preload_content=_params.get('_preload_content', True), + _request_timeout=_params.get('_request_timeout'), + collection_formats=_collection_formats, + _request_auth=_params.get('_request_auth')) + @validate_arguments def ezsignfolder_get_ezsigndocuments_v1(self, pki_ezsignfolder_id : conint(strict=True, ge=0), **kwargs) -> EzsignfolderGetEzsigndocumentsV1Response: # noqa: E501 """Retrieve an existing Ezsignfolder's Ezsigndocuments # noqa: E501 @@ -2287,7 +2571,7 @@ def ezsignfolder_get_forms_data_v1_with_http_info(self, pki_ezsignfolder_id : co 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[conint(strict=True, le=10000, ge=1)] = None, i_row_offset : Optional[conint(strict=True, ge=0)] = None, accept_language : Optional[HeaderAcceptLanguage] = None, s_filter : Optional[StrictStr] = None, **kwargs) -> EzsignfolderGetListV1Response: # noqa: E501 """Retrieve Ezsignfolder list # noqa: E501 - 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 | |---| | sContactFirstname | | sContactLastname | | sEzsigndocumentName | # noqa: E501 + 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 | # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True @@ -2325,7 +2609,7 @@ def ezsignfolder_get_list_v1(self, e_order_by : Annotated[Optional[StrictStr], F 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[conint(strict=True, le=10000, ge=1)] = None, i_row_offset : Optional[conint(strict=True, ge=0)] = None, accept_language : Optional[HeaderAcceptLanguage] = None, s_filter : Optional[StrictStr] = None, **kwargs) -> ApiResponse: # noqa: E501 """Retrieve Ezsignfolder list # noqa: E501 - 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 | |---| | sContactFirstname | | sContactLastname | | sEzsigndocumentName | # noqa: E501 + 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 | # noqa: E501 This method makes a synchronous HTTP request by default. To make an asynchronous HTTP request, please pass async_req=True diff --git a/eZmaxApi/api/object_inscription_api.py b/eZmaxApi/api/object_inscription_api.py new file mode 100644 index 000000000..a535abb00 --- /dev/null +++ b/eZmaxApi/api/object_inscription_api.py @@ -0,0 +1,185 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.0 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import re # noqa: F401 +import io +import warnings + +from pydantic import validate_arguments, ValidationError + +from pydantic import conint + +from eZmaxApi.models.inscription_get_communication_list_v1_response import InscriptionGetCommunicationListV1Response + +from eZmaxApi.api_client import ApiClient +from eZmaxApi.api_response import ApiResponse +from eZmaxApi.exceptions import ( # noqa: F401 + ApiTypeError, + ApiValueError +) + + +class ObjectInscriptionApi: + """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_arguments + def inscription_get_communication_list_v1(self, pki_inscription_id : conint(strict=True, ge=0), **kwargs) -> InscriptionGetCommunicationListV1Response: # noqa: E501 + """Retrieve Communication list # noqa: E501 + + # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.inscription_get_communication_list_v1(pki_inscription_id, async_req=True) + >>> result = thread.get() + + :param pki_inscription_id: (required) + :type pki_inscription_id: int + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _request_timeout: timeout setting for this request. + If one number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: InscriptionGetCommunicationListV1Response + """ + kwargs['_return_http_data_only'] = True + if '_preload_content' in kwargs: + message = "Error! Please call the inscription_get_communication_list_v1_with_http_info method with `_preload_content` instead and obtain raw data from ApiResponse.raw_data" # noqa: E501 + raise ValueError(message) + return self.inscription_get_communication_list_v1_with_http_info(pki_inscription_id, **kwargs) # noqa: E501 + + @validate_arguments + def inscription_get_communication_list_v1_with_http_info(self, pki_inscription_id : conint(strict=True, ge=0), **kwargs) -> ApiResponse: # noqa: E501 + """Retrieve Communication list # noqa: E501 + + # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.inscription_get_communication_list_v1_with_http_info(pki_inscription_id, async_req=True) + >>> result = thread.get() + + :param pki_inscription_id: (required) + :type pki_inscription_id: int + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _preload_content: if False, the ApiResponse.data will + be set to none and raw_data will store the + HTTP response body without reading/decoding. + Default is True. + :type _preload_content: bool, optional + :param _return_http_data_only: response data instead of ApiResponse + object with status code, headers, etc + :type _return_http_data_only: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the authentication + in the spec for a single request. + :type _request_auth: dict, optional + :type _content_type: string, optional: force content-type for the request + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: tuple(InscriptionGetCommunicationListV1Response, status_code(int), headers(HTTPHeaderDict)) + """ + + _params = locals() + + _all_params = [ + 'pki_inscription_id' + ] + _all_params.extend( + [ + 'async_req', + '_return_http_data_only', + '_preload_content', + '_request_timeout', + '_request_auth', + '_content_type', + '_headers' + ] + ) + + # validate the arguments + for _key, _val in _params['kwargs'].items(): + if _key not in _all_params: + raise ApiTypeError( + "Got an unexpected keyword argument '%s'" + " to method inscription_get_communication_list_v1" % _key + ) + _params[_key] = _val + del _params['kwargs'] + + _collection_formats = {} + + # process the path parameters + _path_params = {} + if _params['pki_inscription_id']: + _path_params['pkiInscriptionID'] = _params['pki_inscription_id'] + + + # process the query parameters + _query_params = [] + # process the header parameters + _header_params = dict(_params.get('_headers', {})) + # process the form parameters + _form_params = [] + _files = {} + # process the body parameter + _body_params = None + # set the HTTP header `Accept` + _header_params['Accept'] = self.api_client.select_header_accept( + ['application/json']) # noqa: E501 + + # authentication setting + _auth_settings = ['Authorization'] # noqa: E501 + + _response_types_map = { + '200': "InscriptionGetCommunicationListV1Response", + '404': "CommonResponseError", + } + + return self.api_client.call_api( + '/1/object/inscription/{pkiInscriptionID}/getCommunicationList', 'GET', + _path_params, + _query_params, + _header_params, + body=_body_params, + post_params=_form_params, + files=_files, + response_types_map=_response_types_map, + auth_settings=_auth_settings, + async_req=_params.get('async_req'), + _return_http_data_only=_params.get('_return_http_data_only'), # noqa: E501 + _preload_content=_params.get('_preload_content', True), + _request_timeout=_params.get('_request_timeout'), + collection_formats=_collection_formats, + _request_auth=_params.get('_request_auth')) diff --git a/eZmaxApi/api/object_inscriptionnotauthenticated_api.py b/eZmaxApi/api/object_inscriptionnotauthenticated_api.py new file mode 100644 index 000000000..fdb9b897b --- /dev/null +++ b/eZmaxApi/api/object_inscriptionnotauthenticated_api.py @@ -0,0 +1,185 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.0 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import re # noqa: F401 +import io +import warnings + +from pydantic import validate_arguments, ValidationError + +from pydantic import conint + +from eZmaxApi.models.inscriptionnotauthenticated_get_communication_list_v1_response import InscriptionnotauthenticatedGetCommunicationListV1Response + +from eZmaxApi.api_client import ApiClient +from eZmaxApi.api_response import ApiResponse +from eZmaxApi.exceptions import ( # noqa: F401 + ApiTypeError, + ApiValueError +) + + +class ObjectInscriptionnotauthenticatedApi: + """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_arguments + def inscriptionnotauthenticated_get_communication_list_v1(self, pki_inscriptionnotauthenticated_id : conint(strict=True, ge=0), **kwargs) -> InscriptionnotauthenticatedGetCommunicationListV1Response: # noqa: E501 + """Retrieve Communication list # noqa: E501 + + # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.inscriptionnotauthenticated_get_communication_list_v1(pki_inscriptionnotauthenticated_id, async_req=True) + >>> result = thread.get() + + :param pki_inscriptionnotauthenticated_id: (required) + :type pki_inscriptionnotauthenticated_id: int + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _request_timeout: timeout setting for this request. + If one number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: InscriptionnotauthenticatedGetCommunicationListV1Response + """ + kwargs['_return_http_data_only'] = True + if '_preload_content' in kwargs: + message = "Error! Please call the inscriptionnotauthenticated_get_communication_list_v1_with_http_info method with `_preload_content` instead and obtain raw data from ApiResponse.raw_data" # noqa: E501 + raise ValueError(message) + return self.inscriptionnotauthenticated_get_communication_list_v1_with_http_info(pki_inscriptionnotauthenticated_id, **kwargs) # noqa: E501 + + @validate_arguments + def inscriptionnotauthenticated_get_communication_list_v1_with_http_info(self, pki_inscriptionnotauthenticated_id : conint(strict=True, ge=0), **kwargs) -> ApiResponse: # noqa: E501 + """Retrieve Communication list # noqa: E501 + + # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.inscriptionnotauthenticated_get_communication_list_v1_with_http_info(pki_inscriptionnotauthenticated_id, async_req=True) + >>> result = thread.get() + + :param pki_inscriptionnotauthenticated_id: (required) + :type pki_inscriptionnotauthenticated_id: int + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _preload_content: if False, the ApiResponse.data will + be set to none and raw_data will store the + HTTP response body without reading/decoding. + Default is True. + :type _preload_content: bool, optional + :param _return_http_data_only: response data instead of ApiResponse + object with status code, headers, etc + :type _return_http_data_only: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the authentication + in the spec for a single request. + :type _request_auth: dict, optional + :type _content_type: string, optional: force content-type for the request + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: tuple(InscriptionnotauthenticatedGetCommunicationListV1Response, status_code(int), headers(HTTPHeaderDict)) + """ + + _params = locals() + + _all_params = [ + 'pki_inscriptionnotauthenticated_id' + ] + _all_params.extend( + [ + 'async_req', + '_return_http_data_only', + '_preload_content', + '_request_timeout', + '_request_auth', + '_content_type', + '_headers' + ] + ) + + # validate the arguments + for _key, _val in _params['kwargs'].items(): + if _key not in _all_params: + raise ApiTypeError( + "Got an unexpected keyword argument '%s'" + " to method inscriptionnotauthenticated_get_communication_list_v1" % _key + ) + _params[_key] = _val + del _params['kwargs'] + + _collection_formats = {} + + # process the path parameters + _path_params = {} + if _params['pki_inscriptionnotauthenticated_id']: + _path_params['pkiInscriptionnotauthenticatedID'] = _params['pki_inscriptionnotauthenticated_id'] + + + # process the query parameters + _query_params = [] + # process the header parameters + _header_params = dict(_params.get('_headers', {})) + # process the form parameters + _form_params = [] + _files = {} + # process the body parameter + _body_params = None + # set the HTTP header `Accept` + _header_params['Accept'] = self.api_client.select_header_accept( + ['application/json']) # noqa: E501 + + # authentication setting + _auth_settings = ['Authorization'] # noqa: E501 + + _response_types_map = { + '200': "InscriptionnotauthenticatedGetCommunicationListV1Response", + '404': "CommonResponseError", + } + + return self.api_client.call_api( + '/1/object/inscriptionnotauthenticated/{pkiInscriptionnotauthenticatedID}/getCommunicationList', 'GET', + _path_params, + _query_params, + _header_params, + body=_body_params, + post_params=_form_params, + files=_files, + response_types_map=_response_types_map, + auth_settings=_auth_settings, + async_req=_params.get('async_req'), + _return_http_data_only=_params.get('_return_http_data_only'), # noqa: E501 + _preload_content=_params.get('_preload_content', True), + _request_timeout=_params.get('_request_timeout'), + collection_formats=_collection_formats, + _request_auth=_params.get('_request_auth')) diff --git a/eZmaxApi/api/object_inscriptiontemp_api.py b/eZmaxApi/api/object_inscriptiontemp_api.py new file mode 100644 index 000000000..714780979 --- /dev/null +++ b/eZmaxApi/api/object_inscriptiontemp_api.py @@ -0,0 +1,185 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.0 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import re # noqa: F401 +import io +import warnings + +from pydantic import validate_arguments, ValidationError + +from pydantic import conint + +from eZmaxApi.models.inscriptiontemp_get_communication_list_v1_response import InscriptiontempGetCommunicationListV1Response + +from eZmaxApi.api_client import ApiClient +from eZmaxApi.api_response import ApiResponse +from eZmaxApi.exceptions import ( # noqa: F401 + ApiTypeError, + ApiValueError +) + + +class ObjectInscriptiontempApi: + """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_arguments + def inscriptiontemp_get_communication_list_v1(self, pki_inscriptiontemp_id : conint(strict=True, le=16777215, ge=1), **kwargs) -> InscriptiontempGetCommunicationListV1Response: # noqa: E501 + """Retrieve Communication list # noqa: E501 + + # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.inscriptiontemp_get_communication_list_v1(pki_inscriptiontemp_id, async_req=True) + >>> result = thread.get() + + :param pki_inscriptiontemp_id: (required) + :type pki_inscriptiontemp_id: int + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _request_timeout: timeout setting for this request. + If one number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: InscriptiontempGetCommunicationListV1Response + """ + kwargs['_return_http_data_only'] = True + if '_preload_content' in kwargs: + message = "Error! Please call the inscriptiontemp_get_communication_list_v1_with_http_info method with `_preload_content` instead and obtain raw data from ApiResponse.raw_data" # noqa: E501 + raise ValueError(message) + return self.inscriptiontemp_get_communication_list_v1_with_http_info(pki_inscriptiontemp_id, **kwargs) # noqa: E501 + + @validate_arguments + def inscriptiontemp_get_communication_list_v1_with_http_info(self, pki_inscriptiontemp_id : conint(strict=True, le=16777215, ge=1), **kwargs) -> ApiResponse: # noqa: E501 + """Retrieve Communication list # noqa: E501 + + # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.inscriptiontemp_get_communication_list_v1_with_http_info(pki_inscriptiontemp_id, async_req=True) + >>> result = thread.get() + + :param pki_inscriptiontemp_id: (required) + :type pki_inscriptiontemp_id: int + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _preload_content: if False, the ApiResponse.data will + be set to none and raw_data will store the + HTTP response body without reading/decoding. + Default is True. + :type _preload_content: bool, optional + :param _return_http_data_only: response data instead of ApiResponse + object with status code, headers, etc + :type _return_http_data_only: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the authentication + in the spec for a single request. + :type _request_auth: dict, optional + :type _content_type: string, optional: force content-type for the request + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: tuple(InscriptiontempGetCommunicationListV1Response, status_code(int), headers(HTTPHeaderDict)) + """ + + _params = locals() + + _all_params = [ + 'pki_inscriptiontemp_id' + ] + _all_params.extend( + [ + 'async_req', + '_return_http_data_only', + '_preload_content', + '_request_timeout', + '_request_auth', + '_content_type', + '_headers' + ] + ) + + # validate the arguments + for _key, _val in _params['kwargs'].items(): + if _key not in _all_params: + raise ApiTypeError( + "Got an unexpected keyword argument '%s'" + " to method inscriptiontemp_get_communication_list_v1" % _key + ) + _params[_key] = _val + del _params['kwargs'] + + _collection_formats = {} + + # process the path parameters + _path_params = {} + if _params['pki_inscriptiontemp_id']: + _path_params['pkiInscriptiontempID'] = _params['pki_inscriptiontemp_id'] + + + # process the query parameters + _query_params = [] + # process the header parameters + _header_params = dict(_params.get('_headers', {})) + # process the form parameters + _form_params = [] + _files = {} + # process the body parameter + _body_params = None + # set the HTTP header `Accept` + _header_params['Accept'] = self.api_client.select_header_accept( + ['application/json']) # noqa: E501 + + # authentication setting + _auth_settings = ['Authorization'] # noqa: E501 + + _response_types_map = { + '200': "InscriptiontempGetCommunicationListV1Response", + '404': "CommonResponseError", + } + + return self.api_client.call_api( + '/1/object/inscriptiontemp/{pkiInscriptiontempID}/getCommunicationList', 'GET', + _path_params, + _query_params, + _header_params, + body=_body_params, + post_params=_form_params, + files=_files, + response_types_map=_response_types_map, + auth_settings=_auth_settings, + async_req=_params.get('async_req'), + _return_http_data_only=_params.get('_return_http_data_only'), # noqa: E501 + _preload_content=_params.get('_preload_content', True), + _request_timeout=_params.get('_request_timeout'), + collection_formats=_collection_formats, + _request_auth=_params.get('_request_auth')) diff --git a/eZmaxApi/api/object_invoice_api.py b/eZmaxApi/api/object_invoice_api.py new file mode 100644 index 000000000..5284e769f --- /dev/null +++ b/eZmaxApi/api/object_invoice_api.py @@ -0,0 +1,185 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.0 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import re # noqa: F401 +import io +import warnings + +from pydantic import validate_arguments, ValidationError + +from pydantic import conint + +from eZmaxApi.models.invoice_get_communication_list_v1_response import InvoiceGetCommunicationListV1Response + +from eZmaxApi.api_client import ApiClient +from eZmaxApi.api_response import ApiResponse +from eZmaxApi.exceptions import ( # noqa: F401 + ApiTypeError, + ApiValueError +) + + +class ObjectInvoiceApi: + """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_arguments + def invoice_get_communication_list_v1(self, pki_invoice_id : conint(strict=True, ge=0), **kwargs) -> InvoiceGetCommunicationListV1Response: # noqa: E501 + """Retrieve Communication list # noqa: E501 + + # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.invoice_get_communication_list_v1(pki_invoice_id, async_req=True) + >>> result = thread.get() + + :param pki_invoice_id: (required) + :type pki_invoice_id: int + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _request_timeout: timeout setting for this request. + If one number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: InvoiceGetCommunicationListV1Response + """ + kwargs['_return_http_data_only'] = True + if '_preload_content' in kwargs: + message = "Error! Please call the invoice_get_communication_list_v1_with_http_info method with `_preload_content` instead and obtain raw data from ApiResponse.raw_data" # noqa: E501 + raise ValueError(message) + return self.invoice_get_communication_list_v1_with_http_info(pki_invoice_id, **kwargs) # noqa: E501 + + @validate_arguments + def invoice_get_communication_list_v1_with_http_info(self, pki_invoice_id : conint(strict=True, ge=0), **kwargs) -> ApiResponse: # noqa: E501 + """Retrieve Communication list # noqa: E501 + + # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.invoice_get_communication_list_v1_with_http_info(pki_invoice_id, async_req=True) + >>> result = thread.get() + + :param pki_invoice_id: (required) + :type pki_invoice_id: int + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _preload_content: if False, the ApiResponse.data will + be set to none and raw_data will store the + HTTP response body without reading/decoding. + Default is True. + :type _preload_content: bool, optional + :param _return_http_data_only: response data instead of ApiResponse + object with status code, headers, etc + :type _return_http_data_only: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the authentication + in the spec for a single request. + :type _request_auth: dict, optional + :type _content_type: string, optional: force content-type for the request + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: tuple(InvoiceGetCommunicationListV1Response, status_code(int), headers(HTTPHeaderDict)) + """ + + _params = locals() + + _all_params = [ + 'pki_invoice_id' + ] + _all_params.extend( + [ + 'async_req', + '_return_http_data_only', + '_preload_content', + '_request_timeout', + '_request_auth', + '_content_type', + '_headers' + ] + ) + + # validate the arguments + for _key, _val in _params['kwargs'].items(): + if _key not in _all_params: + raise ApiTypeError( + "Got an unexpected keyword argument '%s'" + " to method invoice_get_communication_list_v1" % _key + ) + _params[_key] = _val + del _params['kwargs'] + + _collection_formats = {} + + # process the path parameters + _path_params = {} + if _params['pki_invoice_id']: + _path_params['pkiInvoiceID'] = _params['pki_invoice_id'] + + + # process the query parameters + _query_params = [] + # process the header parameters + _header_params = dict(_params.get('_headers', {})) + # process the form parameters + _form_params = [] + _files = {} + # process the body parameter + _body_params = None + # set the HTTP header `Accept` + _header_params['Accept'] = self.api_client.select_header_accept( + ['application/json']) # noqa: E501 + + # authentication setting + _auth_settings = ['Authorization'] # noqa: E501 + + _response_types_map = { + '200': "InvoiceGetCommunicationListV1Response", + '404': "CommonResponseError", + } + + return self.api_client.call_api( + '/1/object/invoice/{pkiInvoiceID}/getCommunicationList', 'GET', + _path_params, + _query_params, + _header_params, + body=_body_params, + post_params=_form_params, + files=_files, + response_types_map=_response_types_map, + auth_settings=_auth_settings, + async_req=_params.get('async_req'), + _return_http_data_only=_params.get('_return_http_data_only'), # noqa: E501 + _preload_content=_params.get('_preload_content', True), + _request_timeout=_params.get('_request_timeout'), + collection_formats=_collection_formats, + _request_auth=_params.get('_request_auth')) diff --git a/eZmaxApi/api/object_otherincome_api.py b/eZmaxApi/api/object_otherincome_api.py new file mode 100644 index 000000000..84b7a8386 --- /dev/null +++ b/eZmaxApi/api/object_otherincome_api.py @@ -0,0 +1,185 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.0 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import re # noqa: F401 +import io +import warnings + +from pydantic import validate_arguments, ValidationError + +from pydantic import conint + +from eZmaxApi.models.otherincome_get_communication_list_v1_response import OtherincomeGetCommunicationListV1Response + +from eZmaxApi.api_client import ApiClient +from eZmaxApi.api_response import ApiResponse +from eZmaxApi.exceptions import ( # noqa: F401 + ApiTypeError, + ApiValueError +) + + +class ObjectOtherincomeApi: + """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_arguments + def otherincome_get_communication_list_v1(self, pki_otherincome_id : conint(strict=True, le=65535, ge=1), **kwargs) -> OtherincomeGetCommunicationListV1Response: # noqa: E501 + """Retrieve Communication list # noqa: E501 + + # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.otherincome_get_communication_list_v1(pki_otherincome_id, async_req=True) + >>> result = thread.get() + + :param pki_otherincome_id: (required) + :type pki_otherincome_id: int + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _request_timeout: timeout setting for this request. + If one number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: OtherincomeGetCommunicationListV1Response + """ + kwargs['_return_http_data_only'] = True + if '_preload_content' in kwargs: + message = "Error! Please call the otherincome_get_communication_list_v1_with_http_info method with `_preload_content` instead and obtain raw data from ApiResponse.raw_data" # noqa: E501 + raise ValueError(message) + return self.otherincome_get_communication_list_v1_with_http_info(pki_otherincome_id, **kwargs) # noqa: E501 + + @validate_arguments + def otherincome_get_communication_list_v1_with_http_info(self, pki_otherincome_id : conint(strict=True, le=65535, ge=1), **kwargs) -> ApiResponse: # noqa: E501 + """Retrieve Communication list # noqa: E501 + + # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.otherincome_get_communication_list_v1_with_http_info(pki_otherincome_id, async_req=True) + >>> result = thread.get() + + :param pki_otherincome_id: (required) + :type pki_otherincome_id: int + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _preload_content: if False, the ApiResponse.data will + be set to none and raw_data will store the + HTTP response body without reading/decoding. + Default is True. + :type _preload_content: bool, optional + :param _return_http_data_only: response data instead of ApiResponse + object with status code, headers, etc + :type _return_http_data_only: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the authentication + in the spec for a single request. + :type _request_auth: dict, optional + :type _content_type: string, optional: force content-type for the request + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: tuple(OtherincomeGetCommunicationListV1Response, status_code(int), headers(HTTPHeaderDict)) + """ + + _params = locals() + + _all_params = [ + 'pki_otherincome_id' + ] + _all_params.extend( + [ + 'async_req', + '_return_http_data_only', + '_preload_content', + '_request_timeout', + '_request_auth', + '_content_type', + '_headers' + ] + ) + + # validate the arguments + for _key, _val in _params['kwargs'].items(): + if _key not in _all_params: + raise ApiTypeError( + "Got an unexpected keyword argument '%s'" + " to method otherincome_get_communication_list_v1" % _key + ) + _params[_key] = _val + del _params['kwargs'] + + _collection_formats = {} + + # process the path parameters + _path_params = {} + if _params['pki_otherincome_id']: + _path_params['pkiOtherincomeID'] = _params['pki_otherincome_id'] + + + # process the query parameters + _query_params = [] + # process the header parameters + _header_params = dict(_params.get('_headers', {})) + # process the form parameters + _form_params = [] + _files = {} + # process the body parameter + _body_params = None + # set the HTTP header `Accept` + _header_params['Accept'] = self.api_client.select_header_accept( + ['application/json']) # noqa: E501 + + # authentication setting + _auth_settings = ['Authorization'] # noqa: E501 + + _response_types_map = { + '200': "OtherincomeGetCommunicationListV1Response", + '404': "CommonResponseError", + } + + return self.api_client.call_api( + '/1/object/otherincome/{pkiOtherincomeID}/getCommunicationList', 'GET', + _path_params, + _query_params, + _header_params, + body=_body_params, + post_params=_form_params, + files=_files, + response_types_map=_response_types_map, + auth_settings=_auth_settings, + async_req=_params.get('async_req'), + _return_http_data_only=_params.get('_return_http_data_only'), # noqa: E501 + _preload_content=_params.get('_preload_content', True), + _request_timeout=_params.get('_request_timeout'), + collection_formats=_collection_formats, + _request_auth=_params.get('_request_auth')) diff --git a/eZmaxApi/api/object_rejectedoffertopurchase_api.py b/eZmaxApi/api/object_rejectedoffertopurchase_api.py new file mode 100644 index 000000000..6c504a8df --- /dev/null +++ b/eZmaxApi/api/object_rejectedoffertopurchase_api.py @@ -0,0 +1,185 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.0 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import re # noqa: F401 +import io +import warnings + +from pydantic import validate_arguments, ValidationError + +from pydantic import conint + +from eZmaxApi.models.rejectedoffertopurchase_get_communication_list_v1_response import RejectedoffertopurchaseGetCommunicationListV1Response + +from eZmaxApi.api_client import ApiClient +from eZmaxApi.api_response import ApiResponse +from eZmaxApi.exceptions import ( # noqa: F401 + ApiTypeError, + ApiValueError +) + + +class ObjectRejectedoffertopurchaseApi: + """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_arguments + def rejectedoffertopurchase_get_communication_list_v1(self, pki_rejectedoffertopurchase_id : conint(strict=True, le=65535, ge=1), **kwargs) -> RejectedoffertopurchaseGetCommunicationListV1Response: # noqa: E501 + """Retrieve Communication list # noqa: E501 + + # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.rejectedoffertopurchase_get_communication_list_v1(pki_rejectedoffertopurchase_id, async_req=True) + >>> result = thread.get() + + :param pki_rejectedoffertopurchase_id: (required) + :type pki_rejectedoffertopurchase_id: int + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _request_timeout: timeout setting for this request. + If one number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: RejectedoffertopurchaseGetCommunicationListV1Response + """ + kwargs['_return_http_data_only'] = True + if '_preload_content' in kwargs: + message = "Error! Please call the rejectedoffertopurchase_get_communication_list_v1_with_http_info method with `_preload_content` instead and obtain raw data from ApiResponse.raw_data" # noqa: E501 + raise ValueError(message) + return self.rejectedoffertopurchase_get_communication_list_v1_with_http_info(pki_rejectedoffertopurchase_id, **kwargs) # noqa: E501 + + @validate_arguments + def rejectedoffertopurchase_get_communication_list_v1_with_http_info(self, pki_rejectedoffertopurchase_id : conint(strict=True, le=65535, ge=1), **kwargs) -> ApiResponse: # noqa: E501 + """Retrieve Communication list # noqa: E501 + + # noqa: E501 + This method makes a synchronous HTTP request by default. To make an + asynchronous HTTP request, please pass async_req=True + + >>> thread = api.rejectedoffertopurchase_get_communication_list_v1_with_http_info(pki_rejectedoffertopurchase_id, async_req=True) + >>> result = thread.get() + + :param pki_rejectedoffertopurchase_id: (required) + :type pki_rejectedoffertopurchase_id: int + :param async_req: Whether to execute the request asynchronously. + :type async_req: bool, optional + :param _preload_content: if False, the ApiResponse.data will + be set to none and raw_data will store the + HTTP response body without reading/decoding. + Default is True. + :type _preload_content: bool, optional + :param _return_http_data_only: response data instead of ApiResponse + object with status code, headers, etc + :type _return_http_data_only: bool, optional + :param _request_timeout: timeout setting for this request. If one + number provided, it will be total request + timeout. It can also be a pair (tuple) of + (connection, read) timeouts. + :param _request_auth: set to override the auth_settings for an a single + request; this effectively ignores the authentication + in the spec for a single request. + :type _request_auth: dict, optional + :type _content_type: string, optional: force content-type for the request + :return: Returns the result object. + If the method is called asynchronously, + returns the request thread. + :rtype: tuple(RejectedoffertopurchaseGetCommunicationListV1Response, status_code(int), headers(HTTPHeaderDict)) + """ + + _params = locals() + + _all_params = [ + 'pki_rejectedoffertopurchase_id' + ] + _all_params.extend( + [ + 'async_req', + '_return_http_data_only', + '_preload_content', + '_request_timeout', + '_request_auth', + '_content_type', + '_headers' + ] + ) + + # validate the arguments + for _key, _val in _params['kwargs'].items(): + if _key not in _all_params: + raise ApiTypeError( + "Got an unexpected keyword argument '%s'" + " to method rejectedoffertopurchase_get_communication_list_v1" % _key + ) + _params[_key] = _val + del _params['kwargs'] + + _collection_formats = {} + + # process the path parameters + _path_params = {} + if _params['pki_rejectedoffertopurchase_id']: + _path_params['pkiRejectedoffertopurchaseID'] = _params['pki_rejectedoffertopurchase_id'] + + + # process the query parameters + _query_params = [] + # process the header parameters + _header_params = dict(_params.get('_headers', {})) + # process the form parameters + _form_params = [] + _files = {} + # process the body parameter + _body_params = None + # set the HTTP header `Accept` + _header_params['Accept'] = self.api_client.select_header_accept( + ['application/json']) # noqa: E501 + + # authentication setting + _auth_settings = ['Authorization'] # noqa: E501 + + _response_types_map = { + '200': "RejectedoffertopurchaseGetCommunicationListV1Response", + '404': "CommonResponseError", + } + + return self.api_client.call_api( + '/1/object/rejectedoffertopurchase/{pkiRejectedoffertopurchaseID}/getCommunicationList', 'GET', + _path_params, + _query_params, + _header_params, + body=_body_params, + post_params=_form_params, + files=_files, + response_types_map=_response_types_map, + auth_settings=_auth_settings, + async_req=_params.get('async_req'), + _return_http_data_only=_params.get('_return_http_data_only'), # noqa: E501 + _preload_content=_params.get('_preload_content', True), + _request_timeout=_params.get('_request_timeout'), + collection_formats=_collection_formats, + _request_auth=_params.get('_request_auth')) diff --git a/eZmaxApi/models/__init__.py b/eZmaxApi/models/__init__.py index 25b21f548..5176f1678 100644 --- a/eZmaxApi/models/__init__.py +++ b/eZmaxApi/models/__init__.py @@ -52,6 +52,7 @@ from eZmaxApi.models.apikey_request_compound import ApikeyRequestCompound from eZmaxApi.models.apikey_response import ApikeyResponse from eZmaxApi.models.apikey_response_compound import ApikeyResponseCompound +from eZmaxApi.models.attachment_download_v1_response import AttachmentDownloadV1Response from eZmaxApi.models.attempt_response import AttemptResponse from eZmaxApi.models.attempt_response_compound import AttemptResponseCompound from eZmaxApi.models.billingentityexternal_autocomplete_element_response import BillingentityexternalAutocompleteElementResponse @@ -95,6 +96,8 @@ 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.buyercontract_get_communication_list_v1_response import BuyercontractGetCommunicationListV1Response +from eZmaxApi.models.buyercontract_get_communication_list_v1_response_m_payload import BuyercontractGetCommunicationListV1ResponseMPayload 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 @@ -128,16 +131,19 @@ 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_get_object_v2_response import CommunicationGetObjectV2Response -from eZmaxApi.models.communication_get_object_v2_response_m_payload import CommunicationGetObjectV2ResponseMPayload -from eZmaxApi.models.communication_response import CommunicationResponse -from eZmaxApi.models.communication_response_compound import CommunicationResponseCompound -from eZmaxApi.models.communicationattachment_response import CommunicationattachmentResponse -from eZmaxApi.models.communicationattachment_response_compound import CommunicationattachmentResponseCompound -from eZmaxApi.models.communicationexternalrecipient_response import CommunicationexternalrecipientResponse -from eZmaxApi.models.communicationexternalrecipient_response_compound import CommunicationexternalrecipientResponseCompound -from eZmaxApi.models.communicationrecipient_response import CommunicationrecipientResponse -from eZmaxApi.models.communicationrecipient_response_compound import CommunicationrecipientResponseCompound +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.communicationattachment_request import CommunicationattachmentRequest +from eZmaxApi.models.communicationattachment_request_compound import CommunicationattachmentRequestCompound +from eZmaxApi.models.communicationexternalrecipient_request import CommunicationexternalrecipientRequest +from eZmaxApi.models.communicationexternalrecipient_request_compound import CommunicationexternalrecipientRequestCompound +from eZmaxApi.models.communicationrecipient_request import CommunicationrecipientRequest +from eZmaxApi.models.communicationrecipient_request_compound import CommunicationrecipientRequestCompound +from eZmaxApi.models.communicationreference_request import CommunicationreferenceRequest +from eZmaxApi.models.communicationreference_request_compound import CommunicationreferenceRequestCompound from eZmaxApi.models.company_autocomplete_element_response import CompanyAutocompleteElementResponse from eZmaxApi.models.company_get_autocomplete_v2_response import CompanyGetAutocompleteV2Response from eZmaxApi.models.company_get_autocomplete_v2_response_m_payload import CompanyGetAutocompleteV2ResponseMPayload @@ -161,6 +167,11 @@ from eZmaxApi.models.cors_response_compound import CorsResponseCompound from eZmaxApi.models.custom_autocomplete_element_response import CustomAutocompleteElementResponse 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 +from eZmaxApi.models.custom_communicationrecipientsrecipient_response import CustomCommunicationrecipientsrecipientResponse +from eZmaxApi.models.custom_communicationsender_request import CustomCommunicationsenderRequest +from eZmaxApi.models.custom_communicationsender_response import CustomCommunicationsenderResponse from eZmaxApi.models.custom_contact_name_response import CustomContactNameResponse from eZmaxApi.models.custom_creditcardtransaction_response import CustomCreditcardtransactionResponse from eZmaxApi.models.custom_dropdown_element_request import CustomDropdownElementRequest @@ -200,14 +211,12 @@ 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 -from eZmaxApi.models.descriptionstatic_response import DescriptionstaticResponse -from eZmaxApi.models.descriptionstatic_response_compound import DescriptionstaticResponseCompound +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.email_request import EmailRequest from eZmaxApi.models.email_request_compound import EmailRequestCompound from eZmaxApi.models.email_response import EmailResponse from eZmaxApi.models.email_response_compound import EmailResponseCompound -from eZmaxApi.models.emailstatic_response import EmailstaticResponse -from eZmaxApi.models.emailstatic_response_compound import EmailstaticResponseCompound from eZmaxApi.models.emailtype_autocomplete_element_response import EmailtypeAutocompleteElementResponse from eZmaxApi.models.emailtype_get_autocomplete_v2_response import EmailtypeGetAutocompleteV2Response from eZmaxApi.models.emailtype_get_autocomplete_v2_response_m_payload import EmailtypeGetAutocompleteV2ResponseMPayload @@ -389,6 +398,10 @@ from eZmaxApi.models.ezsignfolder_get_communication_count_v1_response_m_payload import EzsignfolderGetCommunicationCountV1ResponseMPayload from eZmaxApi.models.ezsignfolder_get_communication_list_v1_response import EzsignfolderGetCommunicationListV1Response from eZmaxApi.models.ezsignfolder_get_communication_list_v1_response_m_payload import EzsignfolderGetCommunicationListV1ResponseMPayload +from eZmaxApi.models.ezsignfolder_get_communicationrecipients_v1_response import EzsignfolderGetCommunicationrecipientsV1Response +from eZmaxApi.models.ezsignfolder_get_communicationrecipients_v1_response_m_payload import EzsignfolderGetCommunicationrecipientsV1ResponseMPayload +from eZmaxApi.models.ezsignfolder_get_communicationsenders_v1_response import EzsignfolderGetCommunicationsendersV1Response +from eZmaxApi.models.ezsignfolder_get_communicationsenders_v1_response_m_payload import EzsignfolderGetCommunicationsendersV1ResponseMPayload from eZmaxApi.models.ezsignfolder_get_ezsigndocuments_v1_response import EzsignfolderGetEzsigndocumentsV1Response from eZmaxApi.models.ezsignfolder_get_ezsigndocuments_v1_response_m_payload import EzsignfolderGetEzsigndocumentsV1ResponseMPayload from eZmaxApi.models.ezsignfolder_get_ezsignfoldersignerassociations_v1_response import EzsignfolderGetEzsignfoldersignerassociationsV1Response @@ -717,7 +730,6 @@ 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_objecttype import FieldECommunicationrecipientObjecttype from eZmaxApi.models.field_e_communicationrecipient_type import FieldECommunicationrecipientType from eZmaxApi.models.field_e_creditcardtype_codename import FieldECreditcardtypeCodename from eZmaxApi.models.field_e_error_code import FieldEErrorCode @@ -797,6 +809,14 @@ 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_communication_list_v1_response import InscriptionGetCommunicationListV1Response +from eZmaxApi.models.inscription_get_communication_list_v1_response_m_payload import InscriptionGetCommunicationListV1ResponseMPayload +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.inscriptiontemp_get_communication_list_v1_response import InscriptiontempGetCommunicationListV1Response +from eZmaxApi.models.inscriptiontemp_get_communication_list_v1_response_m_payload import InscriptiontempGetCommunicationListV1ResponseMPayload +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.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 @@ -827,6 +847,8 @@ 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_list_v1_response import OtherincomeGetCommunicationListV1Response +from eZmaxApi.models.otherincome_get_communication_list_v1_response_m_payload import OtherincomeGetCommunicationListV1ResponseMPayload 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 @@ -863,11 +885,11 @@ from eZmaxApi.models.phone_request_compound import PhoneRequestCompound from eZmaxApi.models.phone_response import PhoneResponse from eZmaxApi.models.phone_response_compound import PhoneResponseCompound -from eZmaxApi.models.phonestatic_response import PhonestaticResponse -from eZmaxApi.models.phonestatic_response_compound import PhonestaticResponseCompound from eZmaxApi.models.phonetype_autocomplete_element_response import PhonetypeAutocompleteElementResponse from eZmaxApi.models.phonetype_get_autocomplete_v2_response import PhonetypeGetAutocompleteV2Response from eZmaxApi.models.phonetype_get_autocomplete_v2_response_m_payload import PhonetypeGetAutocompleteV2ResponseMPayload +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.scim_authentication_scheme import ScimAuthenticationScheme from eZmaxApi.models.scim_email import ScimEmail from eZmaxApi.models.scim_group import ScimGroup diff --git a/eZmaxApi/models/attachment_download_v1_response.py b/eZmaxApi/models/attachment_download_v1_response.py new file mode 100644 index 000000000..e9a5257c0 --- /dev/null +++ b/eZmaxApi/models/attachment_download_v1_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.0 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + + +from typing import Optional +from pydantic import BaseModel, Field +from eZmaxApi.models.common_response_obj_debug import CommonResponseObjDebug +from eZmaxApi.models.common_response_obj_debug_payload import CommonResponseObjDebugPayload + +class AttachmentDownloadV1Response(BaseModel): + """ + Response for POST /1/object/ezsignfolder/{pkiEzsignfolderID}/send # noqa: E501 + """ + obj_debug_payload: CommonResponseObjDebugPayload = Field(..., alias="objDebugPayload") + obj_debug: Optional[CommonResponseObjDebug] = Field(None, alias="objDebug") + __properties = ["objDebugPayload", "objDebug"] + + class Config: + """Pydantic configuration""" + allow_population_by_field_name = True + validate_assignment = True + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.dict(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> AttachmentDownloadV1Response: + """Create an instance of AttachmentDownloadV1Response from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self): + """Returns the dictionary representation of the model using alias""" + _dict = self.dict(by_alias=True, + exclude={ + }, + 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: dict) -> AttachmentDownloadV1Response: + """Create an instance of AttachmentDownloadV1Response from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return AttachmentDownloadV1Response.parse_obj(obj) + + _obj = AttachmentDownloadV1Response.parse_obj({ + "obj_debug_payload": CommonResponseObjDebugPayload.from_dict(obj.get("objDebugPayload")) if obj.get("objDebugPayload") is not None else None, + "obj_debug": CommonResponseObjDebug.from_dict(obj.get("objDebug")) if obj.get("objDebug") is not None else None + }) + return _obj + + diff --git a/eZmaxApi/models/buyercontract_get_communication_list_v1_response.py b/eZmaxApi/models/buyercontract_get_communication_list_v1_response.py new file mode 100644 index 000000000..126d3bf13 --- /dev/null +++ b/eZmaxApi/models/buyercontract_get_communication_list_v1_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.0 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + + +from typing import Optional +from pydantic import BaseModel, Field +from eZmaxApi.models.buyercontract_get_communication_list_v1_response_m_payload import BuyercontractGetCommunicationListV1ResponseMPayload +from eZmaxApi.models.common_response_obj_debug import CommonResponseObjDebug +from eZmaxApi.models.common_response_obj_debug_payload_get_list import CommonResponseObjDebugPayloadGetList + +class BuyercontractGetCommunicationListV1Response(BaseModel): + """ + Response for GET /1/object/buyercontract/{pkiBuyercontractID}/getCommunicationList # noqa: E501 + """ + obj_debug_payload: CommonResponseObjDebugPayloadGetList = Field(..., alias="objDebugPayload") + obj_debug: Optional[CommonResponseObjDebug] = Field(None, alias="objDebug") + m_payload: BuyercontractGetCommunicationListV1ResponseMPayload = Field(..., alias="mPayload") + __properties = ["objDebugPayload", "objDebug", "mPayload"] + + class Config: + """Pydantic configuration""" + allow_population_by_field_name = True + validate_assignment = True + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.dict(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> BuyercontractGetCommunicationListV1Response: + """Create an instance of BuyercontractGetCommunicationListV1Response from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self): + """Returns the dictionary representation of the model using alias""" + _dict = self.dict(by_alias=True, + exclude={ + }, + 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: dict) -> BuyercontractGetCommunicationListV1Response: + """Create an instance of BuyercontractGetCommunicationListV1Response from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return BuyercontractGetCommunicationListV1Response.parse_obj(obj) + + _obj = BuyercontractGetCommunicationListV1Response.parse_obj({ + "obj_debug_payload": CommonResponseObjDebugPayloadGetList.from_dict(obj.get("objDebugPayload")) if obj.get("objDebugPayload") is not None else None, + "obj_debug": CommonResponseObjDebug.from_dict(obj.get("objDebug")) if obj.get("objDebug") is not None else None, + "m_payload": BuyercontractGetCommunicationListV1ResponseMPayload.from_dict(obj.get("mPayload")) if obj.get("mPayload") is not None else None + }) + 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 new file mode 100644 index 000000000..6dbf886a0 --- /dev/null +++ b/eZmaxApi/models/buyercontract_get_communication_list_v1_response_m_payload.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.0 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + + +from typing import List +from pydantic import BaseModel, Field, conlist +from eZmaxApi.models.custom_communication_list_element_response import CustomCommunicationListElementResponse + +class BuyercontractGetCommunicationListV1ResponseMPayload(BaseModel): + """ + Response for GET /1/object/buyercontract/{pkiBuyercontractID}/getCommunicationList # noqa: E501 + """ + a_obj_communication: conlist(CustomCommunicationListElementResponse) = Field(..., alias="a_objCommunication") + __properties = ["a_objCommunication"] + + class Config: + """Pydantic configuration""" + allow_population_by_field_name = True + validate_assignment = True + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.dict(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> BuyercontractGetCommunicationListV1ResponseMPayload: + """Create an instance of BuyercontractGetCommunicationListV1ResponseMPayload from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self): + """Returns the dictionary representation of the model using alias""" + _dict = self.dict(by_alias=True, + exclude={ + }, + 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 in self.a_obj_communication: + if _item: + _items.append(_item.to_dict()) + _dict['a_objCommunication'] = _items + return _dict + + @classmethod + def from_dict(cls, obj: dict) -> BuyercontractGetCommunicationListV1ResponseMPayload: + """Create an instance of BuyercontractGetCommunicationListV1ResponseMPayload from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return BuyercontractGetCommunicationListV1ResponseMPayload.parse_obj(obj) + + _obj = BuyercontractGetCommunicationListV1ResponseMPayload.parse_obj({ + "a_obj_communication": [CustomCommunicationListElementResponse.from_dict(_item) for _item in obj.get("a_objCommunication")] if obj.get("a_objCommunication") is not None else None + }) + return _obj + + diff --git a/eZmaxApi/models/clonehistory_list_element.py b/eZmaxApi/models/clonehistory_list_element.py index 5bfe9b81d..6a9d98f8e 100644 --- a/eZmaxApi/models/clonehistory_list_element.py +++ b/eZmaxApi/models/clonehistory_list_element.py @@ -59,15 +59,15 @@ def dt_clonehistory_lasthit_validate_regular_expression(cls, value): @validator('s_user_loginname_cloning') def s_user_loginname_cloning_validate_regular_expression(cls, value): """Validates the regular expression""" - if not re.match(r"^(?:([\w\.-]+@[\w\.-]+\.\w{2,4})|([a-zA-Z0-9]){1,32})$", value): - raise ValueError(r"must validate the regular expression /^(?:([\w\.-]+@[\w\.-]+\.\w{2,4})|([a-zA-Z0-9]){1,32})$/") + if not re.match(r"^(?:([\w\.-]+@[\w\.-]+\.\w{2,20})|([a-zA-Z0-9]){1,32})$", value): + raise ValueError(r"must validate the regular expression /^(?:([\w\.-]+@[\w\.-]+\.\w{2,20})|([a-zA-Z0-9]){1,32})$/") return value @validator('s_user_loginname_cloned') def s_user_loginname_cloned_validate_regular_expression(cls, value): """Validates the regular expression""" - if not re.match(r"^(?:([\w\.-]+@[\w\.-]+\.\w{2,4})|([a-zA-Z0-9]){1,32})$", value): - raise ValueError(r"must validate the regular expression /^(?:([\w\.-]+@[\w\.-]+\.\w{2,4})|([a-zA-Z0-9]){1,32})$/") + if not re.match(r"^(?:([\w\.-]+@[\w\.-]+\.\w{2,20})|([a-zA-Z0-9]){1,32})$", value): + raise ValueError(r"must validate the regular expression /^(?:([\w\.-]+@[\w\.-]+\.\w{2,20})|([a-zA-Z0-9]){1,32})$/") return value class Config: diff --git a/eZmaxApi/models/common_auditdetail.py b/eZmaxApi/models/common_auditdetail.py index 51389405e..329fef2fe 100644 --- a/eZmaxApi/models/common_auditdetail.py +++ b/eZmaxApi/models/common_auditdetail.py @@ -38,8 +38,8 @@ class CommonAuditdetail(BaseModel): @validator('s_user_loginname') def s_user_loginname_validate_regular_expression(cls, value): """Validates the regular expression""" - if not re.match(r"^(?:([\w\.-]+@[\w\.-]+\.\w{2,4})|([a-zA-Z0-9]){1,32})$", value): - raise ValueError(r"must validate the regular expression /^(?:([\w\.-]+@[\w\.-]+\.\w{2,4})|([a-zA-Z0-9]){1,32})$/") + if not re.match(r"^(?:([\w\.-]+@[\w\.-]+\.\w{2,20})|([a-zA-Z0-9]){1,32})$", value): + raise ValueError(r"must validate the regular expression /^(?:([\w\.-]+@[\w\.-]+\.\w{2,20})|([a-zA-Z0-9]){1,32})$/") return value class Config: diff --git a/eZmaxApi/models/common_response_obj_debug_payload_get_list.py b/eZmaxApi/models/common_response_obj_debug_payload_get_list.py index f966d8c9b..94e713b27 100644 --- a/eZmaxApi/models/common_response_obj_debug_payload_get_list.py +++ b/eZmaxApi/models/common_response_obj_debug_payload_get_list.py @@ -33,7 +33,7 @@ class CommonResponseObjDebugPayloadGetList(BaseModel): b_version_deprecated: StrictBool = Field(..., alias="bVersionDeprecated", description="Wheter the current route is deprecated or not") a_filter: CommonResponseFilter = Field(..., alias="a_Filter") a_order_by: Dict[str, StrictStr] = Field(..., alias="a_OrderBy", description="List of available values for *eOrderBy*") - i_row_max: conint(strict=True, le=10000, ge=1) = Field(..., alias="iRowMax", description="The maximum numbers of results to be returned") + i_row_max: conint(strict=True, le=10000, ge=1) = Field(..., alias="iRowMax", description="The maximum numbers of results to be returned. When the content-type is **application/json** there is an implicit default of 10 000. When it's **application/vnd.openxmlformats-officedocument.spreadsheetml.sheet** the is no implicit default so if you do not specify iRowMax, all records will be returned.") i_row_offset: conint(strict=True, ge=0) = Field(..., alias="iRowOffset", description="The starting element from where to start retrieving the results. For example if you started at iRowOffset=0 and asked for iRowMax=100, to get the next 100 results, you could specify iRowOffset=100&iRowMax=100,") __properties = ["iVersionMin", "iVersionMax", "a_RequiredPermission", "bVersionDeprecated", "a_Filter", "a_OrderBy", "iRowMax", "iRowOffset"] @@ -82,7 +82,7 @@ def from_dict(cls, obj: dict) -> CommonResponseObjDebugPayloadGetList: "b_version_deprecated": obj.get("bVersionDeprecated"), "a_filter": CommonResponseFilter.from_dict(obj.get("a_Filter")) if obj.get("a_Filter") is not None else None, "a_order_by": obj.get("a_OrderBy"), - "i_row_max": obj.get("iRowMax") if obj.get("iRowMax") is not None else 10000, + "i_row_max": obj.get("iRowMax"), "i_row_offset": obj.get("iRowOffset") if obj.get("iRowOffset") is not None else 0 }) return _obj diff --git a/eZmaxApi/models/emailstatic_response.py b/eZmaxApi/models/communication_create_object_v1_response_m_payload.py similarity index 54% rename from eZmaxApi/models/emailstatic_response.py rename to eZmaxApi/models/communication_create_object_v1_response_m_payload.py index d2ea4b4d3..774e3056c 100644 --- a/eZmaxApi/models/emailstatic_response.py +++ b/eZmaxApi/models/communication_create_object_v1_response_m_payload.py @@ -19,16 +19,15 @@ import json +from typing import List +from pydantic import BaseModel, Field, conint, conlist -from pydantic import BaseModel, Field, StrictStr, conint - -class EmailstaticResponse(BaseModel): +class CommunicationCreateObjectV1ResponseMPayload(BaseModel): """ - An Emailstatic Object # noqa: E501 + Payload for POST /1/object/communication # noqa: E501 """ - pki_emailstatic_id: conint(strict=True, ge=0) = Field(..., alias="pkiEmailstaticID", description="The unique ID of the Emailstatic") - s_emailstatic_address: StrictStr = Field(..., alias="sEmailstaticAddress", description="The email address.") - __properties = ["pkiEmailstaticID", "sEmailstaticAddress"] + a_pki_communication_id: conlist(conint(strict=True, ge=0)) = Field(..., alias="a_pkiCommunicationID", 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.") + __properties = ["a_pkiCommunicationID"] class Config: """Pydantic configuration""" @@ -44,8 +43,8 @@ def to_json(self) -> str: return json.dumps(self.to_dict()) @classmethod - def from_json(cls, json_str: str) -> EmailstaticResponse: - """Create an instance of EmailstaticResponse from a JSON string""" + def from_json(cls, json_str: str) -> CommunicationCreateObjectV1ResponseMPayload: + """Create an instance of CommunicationCreateObjectV1ResponseMPayload from a JSON string""" return cls.from_dict(json.loads(json_str)) def to_dict(self): @@ -57,17 +56,16 @@ def to_dict(self): return _dict @classmethod - def from_dict(cls, obj: dict) -> EmailstaticResponse: - """Create an instance of EmailstaticResponse from a dict""" + def from_dict(cls, obj: dict) -> CommunicationCreateObjectV1ResponseMPayload: + """Create an instance of CommunicationCreateObjectV1ResponseMPayload from a dict""" if obj is None: return None if not isinstance(obj, dict): - return EmailstaticResponse.parse_obj(obj) + return CommunicationCreateObjectV1ResponseMPayload.parse_obj(obj) - _obj = EmailstaticResponse.parse_obj({ - "pki_emailstatic_id": obj.get("pkiEmailstaticID"), - "s_emailstatic_address": obj.get("sEmailstaticAddress") + _obj = CommunicationCreateObjectV1ResponseMPayload.parse_obj({ + "a_pki_communication_id": obj.get("a_pkiCommunicationID") }) return _obj diff --git a/eZmaxApi/models/communication_request.py b/eZmaxApi/models/communication_request.py new file mode 100644 index 000000000..596d771db --- /dev/null +++ b/eZmaxApi/models/communication_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.0 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + + +from typing import Optional +from pydantic import BaseModel, Field, StrictBool, StrictStr, conint, constr, validator +from eZmaxApi.models.custom_communicationsender_request import CustomCommunicationsenderRequest +from eZmaxApi.models.field_e_communication_importance import FieldECommunicationImportance +from eZmaxApi.models.field_e_communication_type import FieldECommunicationType + +class CommunicationRequest(BaseModel): + """ + Request for POST /1/object/communication # noqa: E501 + """ + pki_communication_id: Optional[conint(strict=True, ge=0)] = Field(None, alias="pkiCommunicationID", description="The unique ID of the Communication.") + e_communication_importance: Optional[FieldECommunicationImportance] = Field(None, alias="eCommunicationImportance") + e_communication_type: FieldECommunicationType = Field(..., alias="eCommunicationType") + obj_communicationsender: Optional[CustomCommunicationsenderRequest] = Field(None, alias="objCommunicationsender") + s_communication_subject: Optional[constr(strict=True)] = Field(None, alias="sCommunicationSubject", description="The subject of the Communication") + t_communication_body: StrictStr = Field(..., alias="tCommunicationBody", description="The Body of the Communication") + b_communication_private: StrictBool = Field(..., alias="bCommunicationPrivate", description="Whether the Communication is private or not") + e_communication_attachmenttype: Optional[StrictStr] = Field(None, alias="eCommunicationAttachmenttype", description="How the attachment should be included in the email. Only used if eCommunicationType is **Email**") + i_communication_attachmentlinkexpiration: Optional[conint(strict=True, le=30, ge=1)] = Field(None, alias="iCommunicationAttachmentlinkexpiration", description="The number of days before the attachment link expired. Only used if eCommunicationType is **Email** and eCommunicationattachmentType is **Link**") + b_communication_readreceipt: Optional[StrictBool] = Field(None, alias="bCommunicationReadreceipt", description="Whether we ask for a read receipt or not.") + __properties = ["pkiCommunicationID", "eCommunicationImportance", "eCommunicationType", "objCommunicationsender", "sCommunicationSubject", "tCommunicationBody", "bCommunicationPrivate", "eCommunicationAttachmenttype", "iCommunicationAttachmentlinkexpiration", "bCommunicationReadreceipt"] + + @validator('s_communication_subject') + def s_communication_subject_validate_regular_expression(cls, value): + """Validates the regular expression""" + if value is None: + return value + + if not re.match(r"^.{0,150}$", value): + raise ValueError(r"must validate the regular expression /^.{0,150}$/") + return value + + @validator('e_communication_attachmenttype') + def e_communication_attachmenttype_validate_enum(cls, value): + """Validates the enum""" + if value is None: + return value + + if value not in ('Attachment', 'Url'): + raise ValueError("must be one of enum values ('Attachment', 'Url')") + return value + + class Config: + """Pydantic configuration""" + allow_population_by_field_name = True + validate_assignment = True + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.dict(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> CommunicationRequest: + """Create an instance of CommunicationRequest from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self): + """Returns the dictionary representation of the model using alias""" + _dict = self.dict(by_alias=True, + exclude={ + }, + exclude_none=True) + # override the default output from pydantic by calling `to_dict()` of obj_communicationsender + if self.obj_communicationsender: + _dict['objCommunicationsender'] = self.obj_communicationsender.to_dict() + return _dict + + @classmethod + def from_dict(cls, obj: dict) -> CommunicationRequest: + """Create an instance of CommunicationRequest from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return CommunicationRequest.parse_obj(obj) + + _obj = CommunicationRequest.parse_obj({ + "pki_communication_id": obj.get("pkiCommunicationID"), + "e_communication_importance": obj.get("eCommunicationImportance"), + "e_communication_type": obj.get("eCommunicationType"), + "obj_communicationsender": CustomCommunicationsenderRequest.from_dict(obj.get("objCommunicationsender")) if obj.get("objCommunicationsender") is not None else None, + "s_communication_subject": obj.get("sCommunicationSubject"), + "t_communication_body": obj.get("tCommunicationBody"), + "b_communication_private": obj.get("bCommunicationPrivate"), + "e_communication_attachmenttype": obj.get("eCommunicationAttachmenttype"), + "i_communication_attachmentlinkexpiration": obj.get("iCommunicationAttachmentlinkexpiration"), + "b_communication_readreceipt": obj.get("bCommunicationReadreceipt") + }) + return _obj + + diff --git a/eZmaxApi/models/communication_request_compound.py b/eZmaxApi/models/communication_request_compound.py new file mode 100644 index 000000000..014884f50 --- /dev/null +++ b/eZmaxApi/models/communication_request_compound.py @@ -0,0 +1,156 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.0 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + + +from typing import List, Optional +from pydantic import BaseModel, Field, StrictBool, StrictStr, conint, conlist, constr, validator +from eZmaxApi.models.communicationexternalrecipient_request_compound import CommunicationexternalrecipientRequestCompound +from eZmaxApi.models.communicationrecipient_request_compound import CommunicationrecipientRequestCompound +from eZmaxApi.models.communicationreference_request_compound import CommunicationreferenceRequestCompound +from eZmaxApi.models.custom_communicationattachment_request import CustomCommunicationattachmentRequest +from eZmaxApi.models.custom_communicationsender_request import CustomCommunicationsenderRequest +from eZmaxApi.models.field_e_communication_importance import FieldECommunicationImportance +from eZmaxApi.models.field_e_communication_type import FieldECommunicationType + +class CommunicationRequestCompound(BaseModel): + """ + Request for POST /1/object/communication # noqa: E501 + """ + pki_communication_id: Optional[conint(strict=True, ge=0)] = Field(None, alias="pkiCommunicationID", description="The unique ID of the Communication.") + e_communication_importance: Optional[FieldECommunicationImportance] = Field(None, alias="eCommunicationImportance") + e_communication_type: FieldECommunicationType = Field(..., alias="eCommunicationType") + obj_communicationsender: Optional[CustomCommunicationsenderRequest] = Field(None, alias="objCommunicationsender") + s_communication_subject: Optional[constr(strict=True)] = Field(None, alias="sCommunicationSubject", description="The subject of the Communication") + t_communication_body: StrictStr = Field(..., alias="tCommunicationBody", description="The Body of the Communication") + b_communication_private: StrictBool = Field(..., alias="bCommunicationPrivate", description="Whether the Communication is private or not") + e_communication_attachmenttype: Optional[StrictStr] = Field(None, alias="eCommunicationAttachmenttype", description="How the attachment should be included in the email. Only used if eCommunicationType is **Email**") + i_communication_attachmentlinkexpiration: Optional[conint(strict=True, le=30, ge=1)] = Field(None, alias="iCommunicationAttachmentlinkexpiration", description="The number of days before the attachment link expired. Only used if eCommunicationType is **Email** and eCommunicationattachmentType is **Link**") + b_communication_readreceipt: Optional[StrictBool] = Field(None, alias="bCommunicationReadreceipt", description="Whether we ask for a read receipt or not.") + a_obj_communicationattachment: conlist(CustomCommunicationattachmentRequest, min_items=0) = Field(..., alias="a_objCommunicationattachment") + a_obj_communicationrecipient: conlist(CommunicationrecipientRequestCompound, min_items=0) = Field(..., alias="a_objCommunicationrecipient") + a_obj_communicationreference: conlist(CommunicationreferenceRequestCompound, min_items=0) = Field(..., alias="a_objCommunicationreference") + a_obj_communicationexternalrecipient: conlist(CommunicationexternalrecipientRequestCompound, min_items=0) = Field(..., alias="a_objCommunicationexternalrecipient") + __properties = ["pkiCommunicationID", "eCommunicationImportance", "eCommunicationType", "objCommunicationsender", "sCommunicationSubject", "tCommunicationBody", "bCommunicationPrivate", "eCommunicationAttachmenttype", "iCommunicationAttachmentlinkexpiration", "bCommunicationReadreceipt", "a_objCommunicationattachment", "a_objCommunicationrecipient", "a_objCommunicationreference", "a_objCommunicationexternalrecipient"] + + @validator('s_communication_subject') + def s_communication_subject_validate_regular_expression(cls, value): + """Validates the regular expression""" + if value is None: + return value + + if not re.match(r"^.{0,150}$", value): + raise ValueError(r"must validate the regular expression /^.{0,150}$/") + return value + + @validator('e_communication_attachmenttype') + def e_communication_attachmenttype_validate_enum(cls, value): + """Validates the enum""" + if value is None: + return value + + if value not in ('Attachment', 'Url'): + raise ValueError("must be one of enum values ('Attachment', 'Url')") + return value + + class Config: + """Pydantic configuration""" + allow_population_by_field_name = True + validate_assignment = True + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.dict(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> CommunicationRequestCompound: + """Create an instance of CommunicationRequestCompound from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self): + """Returns the dictionary representation of the model using alias""" + _dict = self.dict(by_alias=True, + exclude={ + }, + exclude_none=True) + # override the default output from pydantic by calling `to_dict()` of obj_communicationsender + if self.obj_communicationsender: + _dict['objCommunicationsender'] = self.obj_communicationsender.to_dict() + # 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()) + _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()) + _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()) + _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()) + _dict['a_objCommunicationexternalrecipient'] = _items + return _dict + + @classmethod + def from_dict(cls, obj: dict) -> CommunicationRequestCompound: + """Create an instance of CommunicationRequestCompound from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return CommunicationRequestCompound.parse_obj(obj) + + _obj = CommunicationRequestCompound.parse_obj({ + "pki_communication_id": obj.get("pkiCommunicationID"), + "e_communication_importance": obj.get("eCommunicationImportance"), + "e_communication_type": obj.get("eCommunicationType"), + "obj_communicationsender": CustomCommunicationsenderRequest.from_dict(obj.get("objCommunicationsender")) if obj.get("objCommunicationsender") is not None else None, + "s_communication_subject": obj.get("sCommunicationSubject"), + "t_communication_body": obj.get("tCommunicationBody"), + "b_communication_private": obj.get("bCommunicationPrivate"), + "e_communication_attachmenttype": obj.get("eCommunicationAttachmenttype"), + "i_communication_attachmentlinkexpiration": obj.get("iCommunicationAttachmentlinkexpiration"), + "b_communication_readreceipt": obj.get("bCommunicationReadreceipt"), + "a_obj_communicationattachment": [CustomCommunicationattachmentRequest.from_dict(_item) for _item in obj.get("a_objCommunicationattachment")] if obj.get("a_objCommunicationattachment") is not None else None, + "a_obj_communicationrecipient": [CommunicationrecipientRequestCompound.from_dict(_item) for _item in obj.get("a_objCommunicationrecipient")] if obj.get("a_objCommunicationrecipient") is not None else None, + "a_obj_communicationreference": [CommunicationreferenceRequestCompound.from_dict(_item) for _item in obj.get("a_objCommunicationreference")] if obj.get("a_objCommunicationreference") is not None else None, + "a_obj_communicationexternalrecipient": [CommunicationexternalrecipientRequestCompound.from_dict(_item) for _item in obj.get("a_objCommunicationexternalrecipient")] if obj.get("a_objCommunicationexternalrecipient") is not None else None + }) + return _obj + + diff --git a/eZmaxApi/models/communication_response.py b/eZmaxApi/models/communication_response.py deleted file mode 100644 index e52d56420..000000000 --- a/eZmaxApi/models/communication_response.py +++ /dev/null @@ -1,113 +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.0 - Contact: support-api@ezmax.ca - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - - -from typing import Optional -from pydantic import BaseModel, Field, StrictBool, StrictInt, StrictStr, conint -from eZmaxApi.models.common_audit import CommonAudit -from eZmaxApi.models.computed_e_communication_direction import ComputedECommunicationDirection -from eZmaxApi.models.descriptionstatic_response import DescriptionstaticResponse -from eZmaxApi.models.emailstatic_response import EmailstaticResponse -from eZmaxApi.models.field_e_communication_importance import FieldECommunicationImportance -from eZmaxApi.models.field_e_communication_type import FieldECommunicationType -from eZmaxApi.models.phonestatic_response import PhonestaticResponse - -class CommunicationResponse(BaseModel): - """ - A Communication Object # noqa: E501 - """ - pki_communication_id: conint(strict=True, ge=0) = Field(..., alias="pkiCommunicationID", description="The unique ID of the Communication.") - e_communication_importance: FieldECommunicationImportance = Field(..., alias="eCommunicationImportance") - e_communication_type: FieldECommunicationType = Field(..., alias="eCommunicationType") - s_communication_subject: StrictStr = Field(..., alias="sCommunicationSubject", description="The subject of the Communication") - s_communication_bodyurl: Optional[StrictStr] = Field(None, alias="sCommunicationBodyurl", description="The url of the body used as body in the Communication") - e_communication_direction: ComputedECommunicationDirection = Field(..., alias="eCommunicationDirection") - i_communicationrecipient_count: StrictInt = Field(..., alias="iCommunicationrecipientCount", description="The count of Communicationrecipient") - b_communication_private: StrictBool = Field(..., alias="bCommunicationPrivate", description="Whether the Communication is private or not") - obj_descriptionstatic_sender: Optional[DescriptionstaticResponse] = Field(None, alias="objDescriptionstaticSender") - obj_emailstatic_sender: Optional[EmailstaticResponse] = Field(None, alias="objEmailstaticSender") - obj_phonestatic_sender: Optional[PhonestaticResponse] = Field(None, alias="objPhonestaticSender") - obj_audit: CommonAudit = Field(..., alias="objAudit") - __properties = ["pkiCommunicationID", "eCommunicationImportance", "eCommunicationType", "sCommunicationSubject", "sCommunicationBodyurl", "eCommunicationDirection", "iCommunicationrecipientCount", "bCommunicationPrivate", "objDescriptionstaticSender", "objEmailstaticSender", "objPhonestaticSender", "objAudit"] - - class Config: - """Pydantic configuration""" - allow_population_by_field_name = True - validate_assignment = True - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.dict(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> CommunicationResponse: - """Create an instance of CommunicationResponse from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self): - """Returns the dictionary representation of the model using alias""" - _dict = self.dict(by_alias=True, - exclude={ - }, - exclude_none=True) - # override the default output from pydantic by calling `to_dict()` of obj_descriptionstatic_sender - if self.obj_descriptionstatic_sender: - _dict['objDescriptionstaticSender'] = self.obj_descriptionstatic_sender.to_dict() - # override the default output from pydantic by calling `to_dict()` of obj_emailstatic_sender - if self.obj_emailstatic_sender: - _dict['objEmailstaticSender'] = self.obj_emailstatic_sender.to_dict() - # override the default output from pydantic by calling `to_dict()` of obj_phonestatic_sender - if self.obj_phonestatic_sender: - _dict['objPhonestaticSender'] = self.obj_phonestatic_sender.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: dict) -> CommunicationResponse: - """Create an instance of CommunicationResponse from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return CommunicationResponse.parse_obj(obj) - - _obj = CommunicationResponse.parse_obj({ - "pki_communication_id": obj.get("pkiCommunicationID"), - "e_communication_importance": obj.get("eCommunicationImportance"), - "e_communication_type": obj.get("eCommunicationType"), - "s_communication_subject": obj.get("sCommunicationSubject"), - "s_communication_bodyurl": obj.get("sCommunicationBodyurl"), - "e_communication_direction": obj.get("eCommunicationDirection"), - "i_communicationrecipient_count": obj.get("iCommunicationrecipientCount"), - "b_communication_private": obj.get("bCommunicationPrivate"), - "obj_descriptionstatic_sender": DescriptionstaticResponse.from_dict(obj.get("objDescriptionstaticSender")) if obj.get("objDescriptionstaticSender") is not None else None, - "obj_emailstatic_sender": EmailstaticResponse.from_dict(obj.get("objEmailstaticSender")) if obj.get("objEmailstaticSender") is not None else None, - "obj_phonestatic_sender": PhonestaticResponse.from_dict(obj.get("objPhonestaticSender")) if obj.get("objPhonestaticSender") is not None else None, - "obj_audit": CommonAudit.from_dict(obj.get("objAudit")) if obj.get("objAudit") is not None else None - }) - return _obj - - diff --git a/eZmaxApi/models/communication_response_compound.py b/eZmaxApi/models/communication_response_compound.py deleted file mode 100644 index 5858f516e..000000000 --- a/eZmaxApi/models/communication_response_compound.py +++ /dev/null @@ -1,143 +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.0 - Contact: support-api@ezmax.ca - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - - -from typing import List, Optional -from pydantic import BaseModel, Field, StrictBool, StrictInt, StrictStr, conint, conlist -from eZmaxApi.models.common_audit import CommonAudit -from eZmaxApi.models.communicationattachment_response_compound import CommunicationattachmentResponseCompound -from eZmaxApi.models.communicationexternalrecipient_response_compound import CommunicationexternalrecipientResponseCompound -from eZmaxApi.models.communicationrecipient_response_compound import CommunicationrecipientResponseCompound -from eZmaxApi.models.computed_e_communication_direction import ComputedECommunicationDirection -from eZmaxApi.models.descriptionstatic_response import DescriptionstaticResponse -from eZmaxApi.models.emailstatic_response import EmailstaticResponse -from eZmaxApi.models.field_e_communication_importance import FieldECommunicationImportance -from eZmaxApi.models.field_e_communication_type import FieldECommunicationType -from eZmaxApi.models.phonestatic_response import PhonestaticResponse - -class CommunicationResponseCompound(BaseModel): - """ - A Communication Object # noqa: E501 - """ - pki_communication_id: conint(strict=True, ge=0) = Field(..., alias="pkiCommunicationID", description="The unique ID of the Communication.") - e_communication_importance: FieldECommunicationImportance = Field(..., alias="eCommunicationImportance") - e_communication_type: FieldECommunicationType = Field(..., alias="eCommunicationType") - s_communication_subject: StrictStr = Field(..., alias="sCommunicationSubject", description="The subject of the Communication") - s_communication_bodyurl: Optional[StrictStr] = Field(None, alias="sCommunicationBodyurl", description="The url of the body used as body in the Communication") - e_communication_direction: ComputedECommunicationDirection = Field(..., alias="eCommunicationDirection") - i_communicationrecipient_count: StrictInt = Field(..., alias="iCommunicationrecipientCount", description="The count of Communicationrecipient") - b_communication_private: StrictBool = Field(..., alias="bCommunicationPrivate", description="Whether the Communication is private or not") - obj_descriptionstatic_sender: Optional[DescriptionstaticResponse] = Field(None, alias="objDescriptionstaticSender") - obj_emailstatic_sender: Optional[EmailstaticResponse] = Field(None, alias="objEmailstaticSender") - obj_phonestatic_sender: Optional[PhonestaticResponse] = Field(None, alias="objPhonestaticSender") - obj_audit: CommonAudit = Field(..., alias="objAudit") - a_obj_communicationattachment: conlist(CommunicationattachmentResponseCompound) = Field(..., alias="a_objCommunicationattachment") - a_obj_communicationrecipient: conlist(CommunicationrecipientResponseCompound) = Field(..., alias="a_objCommunicationrecipient") - a_obj_communicationexternalrecipient: conlist(CommunicationexternalrecipientResponseCompound) = Field(..., alias="a_objCommunicationexternalrecipient") - __properties = ["pkiCommunicationID", "eCommunicationImportance", "eCommunicationType", "sCommunicationSubject", "sCommunicationBodyurl", "eCommunicationDirection", "iCommunicationrecipientCount", "bCommunicationPrivate", "objDescriptionstaticSender", "objEmailstaticSender", "objPhonestaticSender", "objAudit", "a_objCommunicationattachment", "a_objCommunicationrecipient", "a_objCommunicationexternalrecipient"] - - class Config: - """Pydantic configuration""" - allow_population_by_field_name = True - validate_assignment = True - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.dict(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> CommunicationResponseCompound: - """Create an instance of CommunicationResponseCompound from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self): - """Returns the dictionary representation of the model using alias""" - _dict = self.dict(by_alias=True, - exclude={ - }, - exclude_none=True) - # override the default output from pydantic by calling `to_dict()` of obj_descriptionstatic_sender - if self.obj_descriptionstatic_sender: - _dict['objDescriptionstaticSender'] = self.obj_descriptionstatic_sender.to_dict() - # override the default output from pydantic by calling `to_dict()` of obj_emailstatic_sender - if self.obj_emailstatic_sender: - _dict['objEmailstaticSender'] = self.obj_emailstatic_sender.to_dict() - # override the default output from pydantic by calling `to_dict()` of obj_phonestatic_sender - if self.obj_phonestatic_sender: - _dict['objPhonestaticSender'] = self.obj_phonestatic_sender.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 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()) - _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()) - _dict['a_objCommunicationrecipient'] = _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()) - _dict['a_objCommunicationexternalrecipient'] = _items - return _dict - - @classmethod - def from_dict(cls, obj: dict) -> CommunicationResponseCompound: - """Create an instance of CommunicationResponseCompound from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return CommunicationResponseCompound.parse_obj(obj) - - _obj = CommunicationResponseCompound.parse_obj({ - "pki_communication_id": obj.get("pkiCommunicationID"), - "e_communication_importance": obj.get("eCommunicationImportance"), - "e_communication_type": obj.get("eCommunicationType"), - "s_communication_subject": obj.get("sCommunicationSubject"), - "s_communication_bodyurl": obj.get("sCommunicationBodyurl"), - "e_communication_direction": obj.get("eCommunicationDirection"), - "i_communicationrecipient_count": obj.get("iCommunicationrecipientCount"), - "b_communication_private": obj.get("bCommunicationPrivate"), - "obj_descriptionstatic_sender": DescriptionstaticResponse.from_dict(obj.get("objDescriptionstaticSender")) if obj.get("objDescriptionstaticSender") is not None else None, - "obj_emailstatic_sender": EmailstaticResponse.from_dict(obj.get("objEmailstaticSender")) if obj.get("objEmailstaticSender") is not None else None, - "obj_phonestatic_sender": PhonestaticResponse.from_dict(obj.get("objPhonestaticSender")) if obj.get("objPhonestaticSender") is not None else None, - "obj_audit": CommonAudit.from_dict(obj.get("objAudit")) if obj.get("objAudit") is not None else None, - "a_obj_communicationattachment": [CommunicationattachmentResponseCompound.from_dict(_item) for _item in obj.get("a_objCommunicationattachment")] if obj.get("a_objCommunicationattachment") is not None else None, - "a_obj_communicationrecipient": [CommunicationrecipientResponseCompound.from_dict(_item) for _item in obj.get("a_objCommunicationrecipient")] if obj.get("a_objCommunicationrecipient") is not None else None, - "a_obj_communicationexternalrecipient": [CommunicationexternalrecipientResponseCompound.from_dict(_item) for _item in obj.get("a_objCommunicationexternalrecipient")] if obj.get("a_objCommunicationexternalrecipient") is not None else None - }) - return _obj - - diff --git a/eZmaxApi/models/communication_get_object_v2_response_m_payload.py b/eZmaxApi/models/communication_send_v1_request.py similarity index 52% rename from eZmaxApi/models/communication_get_object_v2_response_m_payload.py rename to eZmaxApi/models/communication_send_v1_request.py index 7c7572d5e..39197e974 100644 --- a/eZmaxApi/models/communication_get_object_v2_response_m_payload.py +++ b/eZmaxApi/models/communication_send_v1_request.py @@ -19,16 +19,16 @@ import json +from typing import List +from pydantic import BaseModel, Field, conlist +from eZmaxApi.models.communication_request_compound import CommunicationRequestCompound -from pydantic import BaseModel, Field -from eZmaxApi.models.communication_response_compound import CommunicationResponseCompound - -class CommunicationGetObjectV2ResponseMPayload(BaseModel): +class CommunicationSendV1Request(BaseModel): """ - Payload for GET /2/object/communication/{pkiCommunicationID} # noqa: E501 + Request for POST /1/object/communication # noqa: E501 """ - obj_communication: CommunicationResponseCompound = Field(..., alias="objCommunication") - __properties = ["objCommunication"] + a_obj_communication: conlist(CommunicationRequestCompound, min_items=1) = Field(..., alias="a_objCommunication") + __properties = ["a_objCommunication"] class Config: """Pydantic configuration""" @@ -44,8 +44,8 @@ def to_json(self) -> str: return json.dumps(self.to_dict()) @classmethod - def from_json(cls, json_str: str) -> CommunicationGetObjectV2ResponseMPayload: - """Create an instance of CommunicationGetObjectV2ResponseMPayload from a JSON string""" + def from_json(cls, json_str: str) -> CommunicationSendV1Request: + """Create an instance of CommunicationSendV1Request from a JSON string""" return cls.from_dict(json.loads(json_str)) def to_dict(self): @@ -54,22 +54,26 @@ def to_dict(self): exclude={ }, exclude_none=True) - # override the default output from pydantic by calling `to_dict()` of obj_communication - if self.obj_communication: - _dict['objCommunication'] = self.obj_communication.to_dict() + # 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()) + _dict['a_objCommunication'] = _items return _dict @classmethod - def from_dict(cls, obj: dict) -> CommunicationGetObjectV2ResponseMPayload: - """Create an instance of CommunicationGetObjectV2ResponseMPayload from a dict""" + def from_dict(cls, obj: dict) -> CommunicationSendV1Request: + """Create an instance of CommunicationSendV1Request from a dict""" if obj is None: return None if not isinstance(obj, dict): - return CommunicationGetObjectV2ResponseMPayload.parse_obj(obj) + return CommunicationSendV1Request.parse_obj(obj) - _obj = CommunicationGetObjectV2ResponseMPayload.parse_obj({ - "obj_communication": CommunicationResponseCompound.from_dict(obj.get("objCommunication")) if obj.get("objCommunication") is not None else None + _obj = CommunicationSendV1Request.parse_obj({ + "a_obj_communication": [CommunicationRequestCompound.from_dict(_item) for _item in obj.get("a_objCommunication")] if obj.get("a_objCommunication") is not None else None }) return _obj diff --git a/eZmaxApi/models/communication_get_object_v2_response.py b/eZmaxApi/models/communication_send_v1_response.py similarity index 74% rename from eZmaxApi/models/communication_get_object_v2_response.py rename to eZmaxApi/models/communication_send_v1_response.py index a51836bb0..943c8f85c 100644 --- a/eZmaxApi/models/communication_get_object_v2_response.py +++ b/eZmaxApi/models/communication_send_v1_response.py @@ -23,15 +23,15 @@ from pydantic import BaseModel, Field from eZmaxApi.models.common_response_obj_debug import CommonResponseObjDebug from eZmaxApi.models.common_response_obj_debug_payload import CommonResponseObjDebugPayload -from eZmaxApi.models.communication_get_object_v2_response_m_payload import CommunicationGetObjectV2ResponseMPayload +from eZmaxApi.models.communication_create_object_v1_response_m_payload import CommunicationCreateObjectV1ResponseMPayload -class CommunicationGetObjectV2Response(BaseModel): +class CommunicationSendV1Response(BaseModel): """ - Response for GET /2/object/communication/{pkiCommunicationID} # noqa: E501 + Response for POST /1/object/communication # noqa: E501 """ obj_debug_payload: CommonResponseObjDebugPayload = Field(..., alias="objDebugPayload") obj_debug: Optional[CommonResponseObjDebug] = Field(None, alias="objDebug") - m_payload: CommunicationGetObjectV2ResponseMPayload = Field(..., alias="mPayload") + m_payload: CommunicationCreateObjectV1ResponseMPayload = Field(..., alias="mPayload") __properties = ["objDebugPayload", "objDebug", "mPayload"] class Config: @@ -48,8 +48,8 @@ def to_json(self) -> str: return json.dumps(self.to_dict()) @classmethod - def from_json(cls, json_str: str) -> CommunicationGetObjectV2Response: - """Create an instance of CommunicationGetObjectV2Response from a JSON string""" + def from_json(cls, json_str: str) -> CommunicationSendV1Response: + """Create an instance of CommunicationSendV1Response from a JSON string""" return cls.from_dict(json.loads(json_str)) def to_dict(self): @@ -70,18 +70,18 @@ def to_dict(self): return _dict @classmethod - def from_dict(cls, obj: dict) -> CommunicationGetObjectV2Response: - """Create an instance of CommunicationGetObjectV2Response from a dict""" + def from_dict(cls, obj: dict) -> CommunicationSendV1Response: + """Create an instance of CommunicationSendV1Response from a dict""" if obj is None: return None if not isinstance(obj, dict): - return CommunicationGetObjectV2Response.parse_obj(obj) + return CommunicationSendV1Response.parse_obj(obj) - _obj = CommunicationGetObjectV2Response.parse_obj({ + _obj = CommunicationSendV1Response.parse_obj({ "obj_debug_payload": CommonResponseObjDebugPayload.from_dict(obj.get("objDebugPayload")) if obj.get("objDebugPayload") is not None else None, "obj_debug": CommonResponseObjDebug.from_dict(obj.get("objDebug")) if obj.get("objDebug") is not None else None, - "m_payload": CommunicationGetObjectV2ResponseMPayload.from_dict(obj.get("mPayload")) if obj.get("mPayload") is not None else None + "m_payload": CommunicationCreateObjectV1ResponseMPayload.from_dict(obj.get("mPayload")) if obj.get("mPayload") is not None else None }) return _obj diff --git a/eZmaxApi/models/communicationattachment_response.py b/eZmaxApi/models/communicationattachment_request.py similarity index 65% rename from eZmaxApi/models/communicationattachment_response.py rename to eZmaxApi/models/communicationattachment_request.py index 516e6a8a7..d1825be80 100644 --- a/eZmaxApi/models/communicationattachment_response.py +++ b/eZmaxApi/models/communicationattachment_request.py @@ -20,19 +20,17 @@ from typing import Optional -from pydantic import BaseModel, Field, StrictInt, StrictStr, conint +from pydantic import BaseModel, Field, StrictInt, conint -class CommunicationattachmentResponse(BaseModel): +class CommunicationattachmentRequest(BaseModel): """ A Communicationattachment Object # noqa: E501 """ - pki_communicationattachment_id: StrictInt = Field(..., alias="pkiCommunicationattachmentID", description="The unique ID of the Communicationattachment") + pki_communicationattachment_id: Optional[StrictInt] = Field(None, alias="pkiCommunicationattachmentID", description="The unique ID of the Communicationattachment") fki_attachment_id: Optional[conint(strict=True, ge=0)] = Field(None, alias="fkiAttachmentID", description="The unique ID of the Attachment.") fki_invoice_id: Optional[conint(strict=True, ge=0)] = Field(None, alias="fkiInvoiceID", description="The unique ID of the Invoice.") fki_salarypreparation_id: Optional[conint(strict=True, ge=0)] = Field(None, alias="fkiSalarypreparationID", description="The unique ID of the Salarypreparation.") - s_communicationattachment_name: StrictStr = Field(..., alias="sCommunicationattachmentName", description="The name of the Communicationattachment") - s_download_url: Optional[StrictStr] = Field(None, alias="sDownloadUrl", description="The Url to the requested document. Url will expire after 3 hours.") - __properties = ["pkiCommunicationattachmentID", "fkiAttachmentID", "fkiInvoiceID", "fkiSalarypreparationID", "sCommunicationattachmentName", "sDownloadUrl"] + __properties = ["pkiCommunicationattachmentID", "fkiAttachmentID", "fkiInvoiceID", "fkiSalarypreparationID"] class Config: """Pydantic configuration""" @@ -48,8 +46,8 @@ def to_json(self) -> str: return json.dumps(self.to_dict()) @classmethod - def from_json(cls, json_str: str) -> CommunicationattachmentResponse: - """Create an instance of CommunicationattachmentResponse from a JSON string""" + def from_json(cls, json_str: str) -> CommunicationattachmentRequest: + """Create an instance of CommunicationattachmentRequest from a JSON string""" return cls.from_dict(json.loads(json_str)) def to_dict(self): @@ -61,21 +59,19 @@ def to_dict(self): return _dict @classmethod - def from_dict(cls, obj: dict) -> CommunicationattachmentResponse: - """Create an instance of CommunicationattachmentResponse from a dict""" + def from_dict(cls, obj: dict) -> CommunicationattachmentRequest: + """Create an instance of CommunicationattachmentRequest from a dict""" if obj is None: return None if not isinstance(obj, dict): - return CommunicationattachmentResponse.parse_obj(obj) + return CommunicationattachmentRequest.parse_obj(obj) - _obj = CommunicationattachmentResponse.parse_obj({ + _obj = CommunicationattachmentRequest.parse_obj({ "pki_communicationattachment_id": obj.get("pkiCommunicationattachmentID"), "fki_attachment_id": obj.get("fkiAttachmentID"), "fki_invoice_id": obj.get("fkiInvoiceID"), - "fki_salarypreparation_id": obj.get("fkiSalarypreparationID"), - "s_communicationattachment_name": obj.get("sCommunicationattachmentName"), - "s_download_url": obj.get("sDownloadUrl") + "fki_salarypreparation_id": obj.get("fkiSalarypreparationID") }) return _obj diff --git a/eZmaxApi/models/communicationattachment_response_compound.py b/eZmaxApi/models/communicationattachment_request_compound.py similarity index 63% rename from eZmaxApi/models/communicationattachment_response_compound.py rename to eZmaxApi/models/communicationattachment_request_compound.py index b6783b10e..a9ae237c4 100644 --- a/eZmaxApi/models/communicationattachment_response_compound.py +++ b/eZmaxApi/models/communicationattachment_request_compound.py @@ -20,19 +20,17 @@ from typing import Optional -from pydantic import BaseModel, Field, StrictInt, StrictStr, conint +from pydantic import BaseModel, Field, StrictInt, conint -class CommunicationattachmentResponseCompound(BaseModel): +class CommunicationattachmentRequestCompound(BaseModel): """ - A Communicationattachment Object # noqa: E501 + A Communicationattachment Object and children # noqa: E501 """ - pki_communicationattachment_id: StrictInt = Field(..., alias="pkiCommunicationattachmentID", description="The unique ID of the Communicationattachment") + pki_communicationattachment_id: Optional[StrictInt] = Field(None, alias="pkiCommunicationattachmentID", description="The unique ID of the Communicationattachment") fki_attachment_id: Optional[conint(strict=True, ge=0)] = Field(None, alias="fkiAttachmentID", description="The unique ID of the Attachment.") fki_invoice_id: Optional[conint(strict=True, ge=0)] = Field(None, alias="fkiInvoiceID", description="The unique ID of the Invoice.") fki_salarypreparation_id: Optional[conint(strict=True, ge=0)] = Field(None, alias="fkiSalarypreparationID", description="The unique ID of the Salarypreparation.") - s_communicationattachment_name: StrictStr = Field(..., alias="sCommunicationattachmentName", description="The name of the Communicationattachment") - s_download_url: Optional[StrictStr] = Field(None, alias="sDownloadUrl", description="The Url to the requested document. Url will expire after 3 hours.") - __properties = ["pkiCommunicationattachmentID", "fkiAttachmentID", "fkiInvoiceID", "fkiSalarypreparationID", "sCommunicationattachmentName", "sDownloadUrl"] + __properties = ["pkiCommunicationattachmentID", "fkiAttachmentID", "fkiInvoiceID", "fkiSalarypreparationID"] class Config: """Pydantic configuration""" @@ -48,8 +46,8 @@ def to_json(self) -> str: return json.dumps(self.to_dict()) @classmethod - def from_json(cls, json_str: str) -> CommunicationattachmentResponseCompound: - """Create an instance of CommunicationattachmentResponseCompound from a JSON string""" + def from_json(cls, json_str: str) -> CommunicationattachmentRequestCompound: + """Create an instance of CommunicationattachmentRequestCompound from a JSON string""" return cls.from_dict(json.loads(json_str)) def to_dict(self): @@ -61,21 +59,19 @@ def to_dict(self): return _dict @classmethod - def from_dict(cls, obj: dict) -> CommunicationattachmentResponseCompound: - """Create an instance of CommunicationattachmentResponseCompound from a dict""" + def from_dict(cls, obj: dict) -> CommunicationattachmentRequestCompound: + """Create an instance of CommunicationattachmentRequestCompound from a dict""" if obj is None: return None if not isinstance(obj, dict): - return CommunicationattachmentResponseCompound.parse_obj(obj) + return CommunicationattachmentRequestCompound.parse_obj(obj) - _obj = CommunicationattachmentResponseCompound.parse_obj({ + _obj = CommunicationattachmentRequestCompound.parse_obj({ "pki_communicationattachment_id": obj.get("pkiCommunicationattachmentID"), "fki_attachment_id": obj.get("fkiAttachmentID"), "fki_invoice_id": obj.get("fkiInvoiceID"), - "fki_salarypreparation_id": obj.get("fkiSalarypreparationID"), - "s_communicationattachment_name": obj.get("sCommunicationattachmentName"), - "s_download_url": obj.get("sDownloadUrl") + "fki_salarypreparation_id": obj.get("fkiSalarypreparationID") }) return _obj diff --git a/eZmaxApi/models/communicationexternalrecipient_request.py b/eZmaxApi/models/communicationexternalrecipient_request.py new file mode 100644 index 000000000..e886deef5 --- /dev/null +++ b/eZmaxApi/models/communicationexternalrecipient_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.0 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + + +from typing import Optional +from pydantic import BaseModel, Field, StrictInt, StrictStr, constr, validator +from eZmaxApi.models.field_e_communicationexternalrecipient_type import FieldECommunicationexternalrecipientType + +class CommunicationexternalrecipientRequest(BaseModel): + """ + A Communicationexternalrecipient Object # noqa: E501 + """ + pki_communicationexternalrecipient_id: Optional[StrictInt] = Field(None, alias="pkiCommunicationexternalrecipientID", description="The unique ID of the Communicationexternalrecipient") + s_email_address: Optional[StrictStr] = Field(None, alias="sEmailAddress", description="The email address.") + s_phone_e164: Optional[constr(strict=True)] = Field(None, alias="sPhoneE164", description="A phone number in E.164 Format") + e_communicationexternalrecipient_type: Optional[FieldECommunicationexternalrecipientType] = Field(None, alias="eCommunicationexternalrecipientType") + s_communicationexternalrecipient_name: constr(strict=True) = Field(..., alias="sCommunicationexternalrecipientName", description="The name of the Communicationexternalrecipient") + __properties = ["pkiCommunicationexternalrecipientID", "sEmailAddress", "sPhoneE164", "eCommunicationexternalrecipientType", "sCommunicationexternalrecipientName"] + + @validator('s_phone_e164') + def s_phone_e164_validate_regular_expression(cls, value): + """Validates the regular expression""" + if value is None: + return value + + if not re.match(r"^\+[1-9]\d{1,14}$", value): + raise ValueError(r"must validate the regular expression /^\+[1-9]\d{1,14}$/") + return value + + @validator('s_communicationexternalrecipient_name') + def s_communicationexternalrecipient_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 + + class Config: + """Pydantic configuration""" + allow_population_by_field_name = True + validate_assignment = True + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.dict(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> CommunicationexternalrecipientRequest: + """Create an instance of CommunicationexternalrecipientRequest from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self): + """Returns the dictionary representation of the model using alias""" + _dict = self.dict(by_alias=True, + exclude={ + }, + exclude_none=True) + return _dict + + @classmethod + def from_dict(cls, obj: dict) -> CommunicationexternalrecipientRequest: + """Create an instance of CommunicationexternalrecipientRequest from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return CommunicationexternalrecipientRequest.parse_obj(obj) + + _obj = CommunicationexternalrecipientRequest.parse_obj({ + "pki_communicationexternalrecipient_id": obj.get("pkiCommunicationexternalrecipientID"), + "s_email_address": obj.get("sEmailAddress"), + "s_phone_e164": obj.get("sPhoneE164"), + "e_communicationexternalrecipient_type": obj.get("eCommunicationexternalrecipientType"), + "s_communicationexternalrecipient_name": obj.get("sCommunicationexternalrecipientName") + }) + return _obj + + diff --git a/eZmaxApi/models/communicationexternalrecipient_request_compound.py b/eZmaxApi/models/communicationexternalrecipient_request_compound.py new file mode 100644 index 000000000..53c9e11a5 --- /dev/null +++ b/eZmaxApi/models/communicationexternalrecipient_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.0 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + + +from typing import Optional +from pydantic import BaseModel, Field, StrictInt, StrictStr, constr, validator +from eZmaxApi.models.field_e_communicationexternalrecipient_type import FieldECommunicationexternalrecipientType + +class CommunicationexternalrecipientRequestCompound(BaseModel): + """ + A Communicationexternalrecipient Object and children # noqa: E501 + """ + pki_communicationexternalrecipient_id: Optional[StrictInt] = Field(None, alias="pkiCommunicationexternalrecipientID", description="The unique ID of the Communicationexternalrecipient") + s_email_address: Optional[StrictStr] = Field(None, alias="sEmailAddress", description="The email address.") + s_phone_e164: Optional[constr(strict=True)] = Field(None, alias="sPhoneE164", description="A phone number in E.164 Format") + e_communicationexternalrecipient_type: Optional[FieldECommunicationexternalrecipientType] = Field(None, alias="eCommunicationexternalrecipientType") + s_communicationexternalrecipient_name: constr(strict=True) = Field(..., alias="sCommunicationexternalrecipientName", description="The name of the Communicationexternalrecipient") + __properties = ["pkiCommunicationexternalrecipientID", "sEmailAddress", "sPhoneE164", "eCommunicationexternalrecipientType", "sCommunicationexternalrecipientName"] + + @validator('s_phone_e164') + def s_phone_e164_validate_regular_expression(cls, value): + """Validates the regular expression""" + if value is None: + return value + + if not re.match(r"^\+[1-9]\d{1,14}$", value): + raise ValueError(r"must validate the regular expression /^\+[1-9]\d{1,14}$/") + return value + + @validator('s_communicationexternalrecipient_name') + def s_communicationexternalrecipient_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 + + class Config: + """Pydantic configuration""" + allow_population_by_field_name = True + validate_assignment = True + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.dict(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> CommunicationexternalrecipientRequestCompound: + """Create an instance of CommunicationexternalrecipientRequestCompound from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self): + """Returns the dictionary representation of the model using alias""" + _dict = self.dict(by_alias=True, + exclude={ + }, + exclude_none=True) + return _dict + + @classmethod + def from_dict(cls, obj: dict) -> CommunicationexternalrecipientRequestCompound: + """Create an instance of CommunicationexternalrecipientRequestCompound from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return CommunicationexternalrecipientRequestCompound.parse_obj(obj) + + _obj = CommunicationexternalrecipientRequestCompound.parse_obj({ + "pki_communicationexternalrecipient_id": obj.get("pkiCommunicationexternalrecipientID"), + "s_email_address": obj.get("sEmailAddress"), + "s_phone_e164": obj.get("sPhoneE164"), + "e_communicationexternalrecipient_type": obj.get("eCommunicationexternalrecipientType"), + "s_communicationexternalrecipient_name": obj.get("sCommunicationexternalrecipientName") + }) + return _obj + + diff --git a/eZmaxApi/models/communicationexternalrecipient_response.py b/eZmaxApi/models/communicationexternalrecipient_response.py deleted file mode 100644 index 0011df9c7..000000000 --- a/eZmaxApi/models/communicationexternalrecipient_response.py +++ /dev/null @@ -1,93 +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.0 - Contact: support-api@ezmax.ca - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - - -from typing import Optional -from pydantic import BaseModel, Field, StrictInt -from eZmaxApi.models.descriptionstatic_response_compound import DescriptionstaticResponseCompound -from eZmaxApi.models.emailstatic_response_compound import EmailstaticResponseCompound -from eZmaxApi.models.field_e_communicationexternalrecipient_type import FieldECommunicationexternalrecipientType -from eZmaxApi.models.phonestatic_response_compound import PhonestaticResponseCompound - -class CommunicationexternalrecipientResponse(BaseModel): - """ - A Communicationexternalrecipient Object # noqa: E501 - """ - pki_communicationexternalrecipient_id: StrictInt = Field(..., alias="pkiCommunicationexternalrecipientID", description="The unique ID of the Communicationexternalrecipient") - e_communicationexternalrecipient_type: FieldECommunicationexternalrecipientType = Field(..., alias="eCommunicationexternalrecipientType") - obj_descriptionstatic: DescriptionstaticResponseCompound = Field(..., alias="objDescriptionstatic") - obj_emailstatic: Optional[EmailstaticResponseCompound] = Field(None, alias="objEmailstatic") - obj_phonestatic: Optional[PhonestaticResponseCompound] = Field(None, alias="objPhonestatic") - __properties = ["pkiCommunicationexternalrecipientID", "eCommunicationexternalrecipientType", "objDescriptionstatic", "objEmailstatic", "objPhonestatic"] - - class Config: - """Pydantic configuration""" - allow_population_by_field_name = True - validate_assignment = True - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.dict(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> CommunicationexternalrecipientResponse: - """Create an instance of CommunicationexternalrecipientResponse from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self): - """Returns the dictionary representation of the model using alias""" - _dict = self.dict(by_alias=True, - exclude={ - }, - exclude_none=True) - # override the default output from pydantic by calling `to_dict()` of obj_descriptionstatic - if self.obj_descriptionstatic: - _dict['objDescriptionstatic'] = self.obj_descriptionstatic.to_dict() - # override the default output from pydantic by calling `to_dict()` of obj_emailstatic - if self.obj_emailstatic: - _dict['objEmailstatic'] = self.obj_emailstatic.to_dict() - # override the default output from pydantic by calling `to_dict()` of obj_phonestatic - if self.obj_phonestatic: - _dict['objPhonestatic'] = self.obj_phonestatic.to_dict() - return _dict - - @classmethod - def from_dict(cls, obj: dict) -> CommunicationexternalrecipientResponse: - """Create an instance of CommunicationexternalrecipientResponse from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return CommunicationexternalrecipientResponse.parse_obj(obj) - - _obj = CommunicationexternalrecipientResponse.parse_obj({ - "pki_communicationexternalrecipient_id": obj.get("pkiCommunicationexternalrecipientID"), - "e_communicationexternalrecipient_type": obj.get("eCommunicationexternalrecipientType"), - "obj_descriptionstatic": DescriptionstaticResponseCompound.from_dict(obj.get("objDescriptionstatic")) if obj.get("objDescriptionstatic") is not None else None, - "obj_emailstatic": EmailstaticResponseCompound.from_dict(obj.get("objEmailstatic")) if obj.get("objEmailstatic") is not None else None, - "obj_phonestatic": PhonestaticResponseCompound.from_dict(obj.get("objPhonestatic")) if obj.get("objPhonestatic") is not None else None - }) - return _obj - - diff --git a/eZmaxApi/models/communicationexternalrecipient_response_compound.py b/eZmaxApi/models/communicationexternalrecipient_response_compound.py deleted file mode 100644 index 5cc14bf77..000000000 --- a/eZmaxApi/models/communicationexternalrecipient_response_compound.py +++ /dev/null @@ -1,93 +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.0 - Contact: support-api@ezmax.ca - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - - -from typing import Optional -from pydantic import BaseModel, Field, StrictInt -from eZmaxApi.models.descriptionstatic_response_compound import DescriptionstaticResponseCompound -from eZmaxApi.models.emailstatic_response_compound import EmailstaticResponseCompound -from eZmaxApi.models.field_e_communicationexternalrecipient_type import FieldECommunicationexternalrecipientType -from eZmaxApi.models.phonestatic_response_compound import PhonestaticResponseCompound - -class CommunicationexternalrecipientResponseCompound(BaseModel): - """ - A Communicationexternalrecipient Object # noqa: E501 - """ - pki_communicationexternalrecipient_id: StrictInt = Field(..., alias="pkiCommunicationexternalrecipientID", description="The unique ID of the Communicationexternalrecipient") - e_communicationexternalrecipient_type: FieldECommunicationexternalrecipientType = Field(..., alias="eCommunicationexternalrecipientType") - obj_descriptionstatic: DescriptionstaticResponseCompound = Field(..., alias="objDescriptionstatic") - obj_emailstatic: Optional[EmailstaticResponseCompound] = Field(None, alias="objEmailstatic") - obj_phonestatic: Optional[PhonestaticResponseCompound] = Field(None, alias="objPhonestatic") - __properties = ["pkiCommunicationexternalrecipientID", "eCommunicationexternalrecipientType", "objDescriptionstatic", "objEmailstatic", "objPhonestatic"] - - class Config: - """Pydantic configuration""" - allow_population_by_field_name = True - validate_assignment = True - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.dict(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> CommunicationexternalrecipientResponseCompound: - """Create an instance of CommunicationexternalrecipientResponseCompound from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self): - """Returns the dictionary representation of the model using alias""" - _dict = self.dict(by_alias=True, - exclude={ - }, - exclude_none=True) - # override the default output from pydantic by calling `to_dict()` of obj_descriptionstatic - if self.obj_descriptionstatic: - _dict['objDescriptionstatic'] = self.obj_descriptionstatic.to_dict() - # override the default output from pydantic by calling `to_dict()` of obj_emailstatic - if self.obj_emailstatic: - _dict['objEmailstatic'] = self.obj_emailstatic.to_dict() - # override the default output from pydantic by calling `to_dict()` of obj_phonestatic - if self.obj_phonestatic: - _dict['objPhonestatic'] = self.obj_phonestatic.to_dict() - return _dict - - @classmethod - def from_dict(cls, obj: dict) -> CommunicationexternalrecipientResponseCompound: - """Create an instance of CommunicationexternalrecipientResponseCompound from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return CommunicationexternalrecipientResponseCompound.parse_obj(obj) - - _obj = CommunicationexternalrecipientResponseCompound.parse_obj({ - "pki_communicationexternalrecipient_id": obj.get("pkiCommunicationexternalrecipientID"), - "e_communicationexternalrecipient_type": obj.get("eCommunicationexternalrecipientType"), - "obj_descriptionstatic": DescriptionstaticResponseCompound.from_dict(obj.get("objDescriptionstatic")) if obj.get("objDescriptionstatic") is not None else None, - "obj_emailstatic": EmailstaticResponseCompound.from_dict(obj.get("objEmailstatic")) if obj.get("objEmailstatic") is not None else None, - "obj_phonestatic": PhonestaticResponseCompound.from_dict(obj.get("objPhonestatic")) if obj.get("objPhonestatic") is not None else None - }) - return _obj - - diff --git a/eZmaxApi/models/communicationrecipient_request.py b/eZmaxApi/models/communicationrecipient_request.py new file mode 100644 index 000000000..b49d2ccd4 --- /dev/null +++ b/eZmaxApi/models/communicationrecipient_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.0 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + + +from typing import Optional +from pydantic import BaseModel, Field, conint +from eZmaxApi.models.field_e_communicationrecipient_type import FieldECommunicationrecipientType + +class CommunicationrecipientRequest(BaseModel): + """ + A Communicationrecipient Object # noqa: E501 + """ + pki_communicationrecipient_id: Optional[conint(strict=True, ge=0)] = Field(None, alias="pkiCommunicationrecipientID", description="The unique ID of the Communicationrecipient.") + fki_agent_id: Optional[conint(strict=True, ge=0)] = Field(None, alias="fkiAgentID", description="The unique ID of the Agent.") + fki_agentincorporation_id: Optional[conint(strict=True, ge=0)] = Field(None, alias="fkiAgentincorporationID", description="The unique ID of the Agentincorporation.") + fki_broker_id: Optional[conint(strict=True, ge=0)] = Field(None, alias="fkiBrokerID", description="The unique ID of the Broker.") + fki_customer_id: Optional[conint(strict=True, ge=0)] = Field(None, alias="fkiCustomerID", description="The unique ID of the Customer.") + fki_employee_id: Optional[conint(strict=True, ge=0)] = Field(None, alias="fkiEmployeeID", description="The unique ID of the Employee.") + fki_assistant_id: Optional[conint(strict=True, ge=0)] = Field(None, alias="fkiAssistantID", description="The unique ID of the Assistant.") + fki_externalbroker_id: Optional[conint(strict=True, ge=0)] = Field(None, alias="fkiExternalbrokerID", description="The unique ID of the Externalbroker.") + fki_ezsignsigner_id: Optional[conint(strict=True, ge=0)] = Field(None, alias="fkiEzsignsignerID", description="The unique ID of the Ezsignsigner") + fki_notary_id: Optional[conint(strict=True, ge=0)] = Field(None, alias="fkiNotaryID", description="The unique ID of the Notary.") + fki_supplier_id: Optional[conint(strict=True, ge=0)] = Field(None, alias="fkiSupplierID", description="The unique ID of the Supplier.") + fki_user_id: Optional[conint(strict=True, ge=0)] = Field(None, alias="fkiUserID", description="The unique ID of the User") + e_communicationrecipient_type: Optional[FieldECommunicationrecipientType] = Field(None, alias="eCommunicationrecipientType") + __properties = ["pkiCommunicationrecipientID", "fkiAgentID", "fkiAgentincorporationID", "fkiBrokerID", "fkiCustomerID", "fkiEmployeeID", "fkiAssistantID", "fkiExternalbrokerID", "fkiEzsignsignerID", "fkiNotaryID", "fkiSupplierID", "fkiUserID", "eCommunicationrecipientType"] + + class Config: + """Pydantic configuration""" + allow_population_by_field_name = True + validate_assignment = True + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.dict(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> CommunicationrecipientRequest: + """Create an instance of CommunicationrecipientRequest from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self): + """Returns the dictionary representation of the model using alias""" + _dict = self.dict(by_alias=True, + exclude={ + }, + exclude_none=True) + return _dict + + @classmethod + def from_dict(cls, obj: dict) -> CommunicationrecipientRequest: + """Create an instance of CommunicationrecipientRequest from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return CommunicationrecipientRequest.parse_obj(obj) + + _obj = CommunicationrecipientRequest.parse_obj({ + "pki_communicationrecipient_id": obj.get("pkiCommunicationrecipientID"), + "fki_agent_id": obj.get("fkiAgentID"), + "fki_agentincorporation_id": obj.get("fkiAgentincorporationID"), + "fki_broker_id": obj.get("fkiBrokerID"), + "fki_customer_id": obj.get("fkiCustomerID"), + "fki_employee_id": obj.get("fkiEmployeeID"), + "fki_assistant_id": obj.get("fkiAssistantID"), + "fki_externalbroker_id": obj.get("fkiExternalbrokerID"), + "fki_ezsignsigner_id": obj.get("fkiEzsignsignerID"), + "fki_notary_id": obj.get("fkiNotaryID"), + "fki_supplier_id": obj.get("fkiSupplierID"), + "fki_user_id": obj.get("fkiUserID"), + "e_communicationrecipient_type": obj.get("eCommunicationrecipientType") + }) + return _obj + + diff --git a/eZmaxApi/models/communicationrecipient_request_compound.py b/eZmaxApi/models/communicationrecipient_request_compound.py new file mode 100644 index 000000000..5642012bd --- /dev/null +++ b/eZmaxApi/models/communicationrecipient_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.0 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + + +from typing import Optional +from pydantic import BaseModel, Field, conint +from eZmaxApi.models.field_e_communicationrecipient_type import FieldECommunicationrecipientType + +class CommunicationrecipientRequestCompound(BaseModel): + """ + A Communicationrecipient Object and children # noqa: E501 + """ + pki_communicationrecipient_id: Optional[conint(strict=True, ge=0)] = Field(None, alias="pkiCommunicationrecipientID", description="The unique ID of the Communicationrecipient.") + fki_agent_id: Optional[conint(strict=True, ge=0)] = Field(None, alias="fkiAgentID", description="The unique ID of the Agent.") + fki_agentincorporation_id: Optional[conint(strict=True, ge=0)] = Field(None, alias="fkiAgentincorporationID", description="The unique ID of the Agentincorporation.") + fki_broker_id: Optional[conint(strict=True, ge=0)] = Field(None, alias="fkiBrokerID", description="The unique ID of the Broker.") + fki_customer_id: Optional[conint(strict=True, ge=0)] = Field(None, alias="fkiCustomerID", description="The unique ID of the Customer.") + fki_employee_id: Optional[conint(strict=True, ge=0)] = Field(None, alias="fkiEmployeeID", description="The unique ID of the Employee.") + fki_assistant_id: Optional[conint(strict=True, ge=0)] = Field(None, alias="fkiAssistantID", description="The unique ID of the Assistant.") + fki_externalbroker_id: Optional[conint(strict=True, ge=0)] = Field(None, alias="fkiExternalbrokerID", description="The unique ID of the Externalbroker.") + fki_ezsignsigner_id: Optional[conint(strict=True, ge=0)] = Field(None, alias="fkiEzsignsignerID", description="The unique ID of the Ezsignsigner") + fki_notary_id: Optional[conint(strict=True, ge=0)] = Field(None, alias="fkiNotaryID", description="The unique ID of the Notary.") + fki_supplier_id: Optional[conint(strict=True, ge=0)] = Field(None, alias="fkiSupplierID", description="The unique ID of the Supplier.") + fki_user_id: Optional[conint(strict=True, ge=0)] = Field(None, alias="fkiUserID", description="The unique ID of the User") + e_communicationrecipient_type: Optional[FieldECommunicationrecipientType] = Field(None, alias="eCommunicationrecipientType") + __properties = ["pkiCommunicationrecipientID", "fkiAgentID", "fkiAgentincorporationID", "fkiBrokerID", "fkiCustomerID", "fkiEmployeeID", "fkiAssistantID", "fkiExternalbrokerID", "fkiEzsignsignerID", "fkiNotaryID", "fkiSupplierID", "fkiUserID", "eCommunicationrecipientType"] + + class Config: + """Pydantic configuration""" + allow_population_by_field_name = True + validate_assignment = True + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.dict(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> CommunicationrecipientRequestCompound: + """Create an instance of CommunicationrecipientRequestCompound from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self): + """Returns the dictionary representation of the model using alias""" + _dict = self.dict(by_alias=True, + exclude={ + }, + exclude_none=True) + return _dict + + @classmethod + def from_dict(cls, obj: dict) -> CommunicationrecipientRequestCompound: + """Create an instance of CommunicationrecipientRequestCompound from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return CommunicationrecipientRequestCompound.parse_obj(obj) + + _obj = CommunicationrecipientRequestCompound.parse_obj({ + "pki_communicationrecipient_id": obj.get("pkiCommunicationrecipientID"), + "fki_agent_id": obj.get("fkiAgentID"), + "fki_agentincorporation_id": obj.get("fkiAgentincorporationID"), + "fki_broker_id": obj.get("fkiBrokerID"), + "fki_customer_id": obj.get("fkiCustomerID"), + "fki_employee_id": obj.get("fkiEmployeeID"), + "fki_assistant_id": obj.get("fkiAssistantID"), + "fki_externalbroker_id": obj.get("fkiExternalbrokerID"), + "fki_ezsignsigner_id": obj.get("fkiEzsignsignerID"), + "fki_notary_id": obj.get("fkiNotaryID"), + "fki_supplier_id": obj.get("fkiSupplierID"), + "fki_user_id": obj.get("fkiUserID"), + "e_communicationrecipient_type": obj.get("eCommunicationrecipientType") + }) + return _obj + + diff --git a/eZmaxApi/models/communicationrecipient_response_compound.py b/eZmaxApi/models/communicationrecipient_response_compound.py deleted file mode 100644 index d402bcb4d..000000000 --- a/eZmaxApi/models/communicationrecipient_response_compound.py +++ /dev/null @@ -1,126 +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.0 - Contact: support-api@ezmax.ca - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - - -from typing import Optional -from pydantic import BaseModel, Field, conint -from eZmaxApi.models.descriptionstatic_response_compound import DescriptionstaticResponseCompound -from eZmaxApi.models.emailstatic_response_compound import EmailstaticResponseCompound -from eZmaxApi.models.field_e_communicationrecipient_objecttype import FieldECommunicationrecipientObjecttype -from eZmaxApi.models.field_e_communicationrecipient_type import FieldECommunicationrecipientType -from eZmaxApi.models.phonestatic_response_compound import PhonestaticResponseCompound - -class CommunicationrecipientResponseCompound(BaseModel): - """ - A Communicationreciient Object # noqa: E501 - """ - pki_communicationrecipient_id: conint(strict=True, ge=0) = Field(..., alias="pkiCommunicationrecipientID", description="The unique ID of the Communicationrecipient.") - e_communicationrecipient_objecttype: Optional[FieldECommunicationrecipientObjecttype] = Field(None, alias="eCommunicationrecipientObjecttype") - fki_agent_id: Optional[conint(strict=True, ge=0)] = Field(None, alias="fkiAgentID", description="The unique ID of the Agent.") - fki_broker_id: Optional[conint(strict=True, ge=0)] = Field(None, alias="fkiBrokerID", description="The unique ID of the Broker.") - fki_contact_id: Optional[conint(strict=True, ge=0)] = Field(None, alias="fkiContactID", description="The unique ID of the Contact") - fki_customer_id: Optional[conint(strict=True, ge=0)] = Field(None, alias="fkiCustomerID", description="The unique ID of the Customer.") - fki_employee_id: Optional[conint(strict=True, ge=0)] = Field(None, alias="fkiEmployeeID", description="The unique ID of the Employee.") - fki_ezsignsigner_id: Optional[conint(strict=True, ge=0)] = Field(None, alias="fkiEzsignsignerID", description="The unique ID of the Ezsignsigner") - fki_franchiseoffice_id: Optional[conint(strict=True, ge=0)] = Field(None, alias="fkiFranchiseofficeID", description="The unique ID of the Franchisereoffice") - fki_user_id: Optional[conint(strict=True, ge=0)] = Field(None, alias="fkiUserID", description="The unique ID of the User") - fki_agentincorporation_id: Optional[conint(strict=True, ge=0)] = Field(None, alias="fkiAgentincorporationID", description="The unique ID of the Agentincorporation.") - fki_assistant_id: Optional[conint(strict=True, ge=0)] = Field(None, alias="fkiAssistantID", description="The unique ID of the Assistant.") - fki_externalbroker_id: Optional[conint(strict=True, ge=0)] = Field(None, alias="fkiExternalbrokerID", description="The unique ID of the Externalbroker.") - fki_ezcomagent_id: Optional[conint(strict=True, ge=0)] = Field(None, alias="fkiEzcomagentID", description="The unique ID of the Ezcomagent.") - fki_notary_id: Optional[conint(strict=True, ge=0)] = Field(None, alias="fkiNotaryID", description="The unique ID of the Notary.") - fki_rewardmember_id: Optional[conint(strict=True, ge=0)] = Field(None, alias="fkiRewardmemberID", description="The unique ID of the Rewardmember.") - fki_supplier_id: Optional[conint(strict=True, ge=0)] = Field(None, alias="fkiSupplierID", description="The unique ID of the Supplier.") - e_communicationrecipient_type: FieldECommunicationrecipientType = Field(..., alias="eCommunicationrecipientType") - obj_descriptionstatic: DescriptionstaticResponseCompound = Field(..., alias="objDescriptionstatic") - obj_emailstatic: Optional[EmailstaticResponseCompound] = Field(None, alias="objEmailstatic") - obj_phonestatic: Optional[PhonestaticResponseCompound] = Field(None, alias="objPhonestatic") - __properties = ["pkiCommunicationrecipientID", "eCommunicationrecipientObjecttype", "fkiAgentID", "fkiBrokerID", "fkiContactID", "fkiCustomerID", "fkiEmployeeID", "fkiEzsignsignerID", "fkiFranchiseofficeID", "fkiUserID", "fkiAgentincorporationID", "fkiAssistantID", "fkiExternalbrokerID", "fkiEzcomagentID", "fkiNotaryID", "fkiRewardmemberID", "fkiSupplierID", "eCommunicationrecipientType", "objDescriptionstatic", "objEmailstatic", "objPhonestatic"] - - class Config: - """Pydantic configuration""" - allow_population_by_field_name = True - validate_assignment = True - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.dict(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> CommunicationrecipientResponseCompound: - """Create an instance of CommunicationrecipientResponseCompound from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self): - """Returns the dictionary representation of the model using alias""" - _dict = self.dict(by_alias=True, - exclude={ - }, - exclude_none=True) - # override the default output from pydantic by calling `to_dict()` of obj_descriptionstatic - if self.obj_descriptionstatic: - _dict['objDescriptionstatic'] = self.obj_descriptionstatic.to_dict() - # override the default output from pydantic by calling `to_dict()` of obj_emailstatic - if self.obj_emailstatic: - _dict['objEmailstatic'] = self.obj_emailstatic.to_dict() - # override the default output from pydantic by calling `to_dict()` of obj_phonestatic - if self.obj_phonestatic: - _dict['objPhonestatic'] = self.obj_phonestatic.to_dict() - return _dict - - @classmethod - def from_dict(cls, obj: dict) -> CommunicationrecipientResponseCompound: - """Create an instance of CommunicationrecipientResponseCompound from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return CommunicationrecipientResponseCompound.parse_obj(obj) - - _obj = CommunicationrecipientResponseCompound.parse_obj({ - "pki_communicationrecipient_id": obj.get("pkiCommunicationrecipientID"), - "e_communicationrecipient_objecttype": obj.get("eCommunicationrecipientObjecttype"), - "fki_agent_id": obj.get("fkiAgentID"), - "fki_broker_id": obj.get("fkiBrokerID"), - "fki_contact_id": obj.get("fkiContactID"), - "fki_customer_id": obj.get("fkiCustomerID"), - "fki_employee_id": obj.get("fkiEmployeeID"), - "fki_ezsignsigner_id": obj.get("fkiEzsignsignerID"), - "fki_franchiseoffice_id": obj.get("fkiFranchiseofficeID"), - "fki_user_id": obj.get("fkiUserID"), - "fki_agentincorporation_id": obj.get("fkiAgentincorporationID"), - "fki_assistant_id": obj.get("fkiAssistantID"), - "fki_externalbroker_id": obj.get("fkiExternalbrokerID"), - "fki_ezcomagent_id": obj.get("fkiEzcomagentID"), - "fki_notary_id": obj.get("fkiNotaryID"), - "fki_rewardmember_id": obj.get("fkiRewardmemberID"), - "fki_supplier_id": obj.get("fkiSupplierID"), - "e_communicationrecipient_type": obj.get("eCommunicationrecipientType"), - "obj_descriptionstatic": DescriptionstaticResponseCompound.from_dict(obj.get("objDescriptionstatic")) if obj.get("objDescriptionstatic") is not None else None, - "obj_emailstatic": EmailstaticResponseCompound.from_dict(obj.get("objEmailstatic")) if obj.get("objEmailstatic") is not None else None, - "obj_phonestatic": PhonestaticResponseCompound.from_dict(obj.get("objPhonestatic")) if obj.get("objPhonestatic") is not None else None - }) - return _obj - - diff --git a/eZmaxApi/models/communicationreference_request.py b/eZmaxApi/models/communicationreference_request.py new file mode 100644 index 000000000..524f495c9 --- /dev/null +++ b/eZmaxApi/models/communicationreference_request.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.0 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + + +from typing import Optional +from pydantic import BaseModel, Field, conint + +class CommunicationreferenceRequest(BaseModel): + """ + A Communicationreference Object # noqa: E501 + """ + pki_communicationreference_id: Optional[conint(strict=True, le=4294967295, ge=0)] = Field(None, alias="pkiCommunicationreferenceID", description="The unique ID of the Communicationreference") + fki_buyercontract_id: Optional[conint(strict=True, le=65535, ge=1)] = Field(None, alias="fkiBuyercontractID", description="The unique ID of the Buyercontract") + fki_ezsignfolder_id: Optional[conint(strict=True, ge=0)] = Field(None, alias="fkiEzsignfolderID", description="The unique ID of the Ezsignfolder") + fki_inscription_id: Optional[conint(strict=True, ge=0)] = Field(None, alias="fkiInscriptionID", description="The unique ID of the Inscription.") + fki_inscriptiontemp_id: Optional[conint(strict=True, le=16777215, ge=1)] = Field(None, alias="fkiInscriptiontempID", description="The unique ID of the Inscriptiontemp") + fki_invoice_id: Optional[conint(strict=True, ge=0)] = Field(None, alias="fkiInvoiceID", description="The unique ID of the Invoice.") + fki_otherincome_id: Optional[conint(strict=True, le=65535, ge=1)] = Field(None, alias="fkiOtherincomeID", description="The unique ID of the Otherincome") + fki_electronicfundstransfer_id: Optional[conint(strict=True, le=65535, ge=1)] = Field(None, alias="fkiElectronicfundstransferID", description="The unique ID of the Electronicfundstransfer") + fki_rejectedoffertopurchase_id: Optional[conint(strict=True, le=65535, ge=1)] = Field(None, alias="fkiRejectedoffertopurchaseID", description="The unique ID of the Rejectedoffertopurchase") + __properties = ["pkiCommunicationreferenceID", "fkiBuyercontractID", "fkiEzsignfolderID", "fkiInscriptionID", "fkiInscriptiontempID", "fkiInvoiceID", "fkiOtherincomeID", "fkiElectronicfundstransferID", "fkiRejectedoffertopurchaseID"] + + class Config: + """Pydantic configuration""" + allow_population_by_field_name = True + validate_assignment = True + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.dict(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> CommunicationreferenceRequest: + """Create an instance of CommunicationreferenceRequest from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self): + """Returns the dictionary representation of the model using alias""" + _dict = self.dict(by_alias=True, + exclude={ + }, + exclude_none=True) + return _dict + + @classmethod + def from_dict(cls, obj: dict) -> CommunicationreferenceRequest: + """Create an instance of CommunicationreferenceRequest from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return CommunicationreferenceRequest.parse_obj(obj) + + _obj = CommunicationreferenceRequest.parse_obj({ + "pki_communicationreference_id": obj.get("pkiCommunicationreferenceID"), + "fki_buyercontract_id": obj.get("fkiBuyercontractID"), + "fki_ezsignfolder_id": obj.get("fkiEzsignfolderID"), + "fki_inscription_id": obj.get("fkiInscriptionID"), + "fki_inscriptiontemp_id": obj.get("fkiInscriptiontempID"), + "fki_invoice_id": obj.get("fkiInvoiceID"), + "fki_otherincome_id": obj.get("fkiOtherincomeID"), + "fki_electronicfundstransfer_id": obj.get("fkiElectronicfundstransferID"), + "fki_rejectedoffertopurchase_id": obj.get("fkiRejectedoffertopurchaseID") + }) + return _obj + + diff --git a/eZmaxApi/models/communicationreference_request_compound.py b/eZmaxApi/models/communicationreference_request_compound.py new file mode 100644 index 000000000..26ca2389c --- /dev/null +++ b/eZmaxApi/models/communicationreference_request_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.0 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + + +from typing import Optional +from pydantic import BaseModel, Field, conint + +class CommunicationreferenceRequestCompound(BaseModel): + """ + A Communicationreference Object and children # noqa: E501 + """ + pki_communicationreference_id: Optional[conint(strict=True, le=4294967295, ge=0)] = Field(None, alias="pkiCommunicationreferenceID", description="The unique ID of the Communicationreference") + fki_buyercontract_id: Optional[conint(strict=True, le=65535, ge=1)] = Field(None, alias="fkiBuyercontractID", description="The unique ID of the Buyercontract") + fki_ezsignfolder_id: Optional[conint(strict=True, ge=0)] = Field(None, alias="fkiEzsignfolderID", description="The unique ID of the Ezsignfolder") + fki_inscription_id: Optional[conint(strict=True, ge=0)] = Field(None, alias="fkiInscriptionID", description="The unique ID of the Inscription.") + fki_inscriptiontemp_id: Optional[conint(strict=True, le=16777215, ge=1)] = Field(None, alias="fkiInscriptiontempID", description="The unique ID of the Inscriptiontemp") + fki_invoice_id: Optional[conint(strict=True, ge=0)] = Field(None, alias="fkiInvoiceID", description="The unique ID of the Invoice.") + fki_otherincome_id: Optional[conint(strict=True, le=65535, ge=1)] = Field(None, alias="fkiOtherincomeID", description="The unique ID of the Otherincome") + fki_electronicfundstransfer_id: Optional[conint(strict=True, le=65535, ge=1)] = Field(None, alias="fkiElectronicfundstransferID", description="The unique ID of the Electronicfundstransfer") + fki_rejectedoffertopurchase_id: Optional[conint(strict=True, le=65535, ge=1)] = Field(None, alias="fkiRejectedoffertopurchaseID", description="The unique ID of the Rejectedoffertopurchase") + __properties = ["pkiCommunicationreferenceID", "fkiBuyercontractID", "fkiEzsignfolderID", "fkiInscriptionID", "fkiInscriptiontempID", "fkiInvoiceID", "fkiOtherincomeID", "fkiElectronicfundstransferID", "fkiRejectedoffertopurchaseID"] + + class Config: + """Pydantic configuration""" + allow_population_by_field_name = True + validate_assignment = True + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.dict(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> CommunicationreferenceRequestCompound: + """Create an instance of CommunicationreferenceRequestCompound from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self): + """Returns the dictionary representation of the model using alias""" + _dict = self.dict(by_alias=True, + exclude={ + }, + exclude_none=True) + return _dict + + @classmethod + def from_dict(cls, obj: dict) -> CommunicationreferenceRequestCompound: + """Create an instance of CommunicationreferenceRequestCompound from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return CommunicationreferenceRequestCompound.parse_obj(obj) + + _obj = CommunicationreferenceRequestCompound.parse_obj({ + "pki_communicationreference_id": obj.get("pkiCommunicationreferenceID"), + "fki_buyercontract_id": obj.get("fkiBuyercontractID"), + "fki_ezsignfolder_id": obj.get("fkiEzsignfolderID"), + "fki_inscription_id": obj.get("fkiInscriptionID"), + "fki_inscriptiontemp_id": obj.get("fkiInscriptiontempID"), + "fki_invoice_id": obj.get("fkiInvoiceID"), + "fki_otherincome_id": obj.get("fkiOtherincomeID"), + "fki_electronicfundstransfer_id": obj.get("fkiElectronicfundstransferID"), + "fki_rejectedoffertopurchase_id": obj.get("fkiRejectedoffertopurchaseID") + }) + return _obj + + diff --git a/eZmaxApi/models/custom_communication_list_element_response.py b/eZmaxApi/models/custom_communication_list_element_response.py index dc1554bd2..d72f0be51 100644 --- a/eZmaxApi/models/custom_communication_list_element_response.py +++ b/eZmaxApi/models/custom_communication_list_element_response.py @@ -20,7 +20,7 @@ -from pydantic import BaseModel, Field, StrictInt, StrictStr, conint +from pydantic import BaseModel, Field, StrictInt, StrictStr, conint, constr, validator from eZmaxApi.models.computed_e_communication_direction import ComputedECommunicationDirection from eZmaxApi.models.field_e_communication_importance import FieldECommunicationImportance from eZmaxApi.models.field_e_communication_type import FieldECommunicationType @@ -35,11 +35,18 @@ class CustomCommunicationListElementResponse(BaseModel): e_communication_importance: FieldECommunicationImportance = Field(..., alias="eCommunicationImportance") e_communication_type: FieldECommunicationType = Field(..., alias="eCommunicationType") i_communicationrecipient_count: StrictInt = Field(..., alias="iCommunicationrecipientCount", description="The count of Communicationrecipient") - s_communication_subject: StrictStr = Field(..., alias="sCommunicationSubject", description="The subject of the Communication") + s_communication_subject: constr(strict=True) = Field(..., alias="sCommunicationSubject", description="The subject of the Communication") s_communication_sender: StrictStr = Field(..., alias="sCommunicationSender", description="The sender name of the Communication") s_communication_recipient: StrictStr = Field(..., alias="sCommunicationRecipient", description="The recipients' name of the Communication") __properties = ["pkiCommunicationID", "dtCreatedDate", "eCommunicationDirection", "eCommunicationImportance", "eCommunicationType", "iCommunicationrecipientCount", "sCommunicationSubject", "sCommunicationSender", "sCommunicationRecipient"] + @validator('s_communication_subject') + def s_communication_subject_validate_regular_expression(cls, value): + """Validates the regular expression""" + if not re.match(r"^.{0,150}$", value): + raise ValueError(r"must validate the regular expression /^.{0,150}$/") + return value + class Config: """Pydantic configuration""" allow_population_by_field_name = True diff --git a/eZmaxApi/models/custom_communicationattachment_request.py b/eZmaxApi/models/custom_communicationattachment_request.py new file mode 100644 index 000000000..96998d0a7 --- /dev/null +++ b/eZmaxApi/models/custom_communicationattachment_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.0 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + + +from typing import Optional +from pydantic import BaseModel, Field +from eZmaxApi.models.common_file import CommonFile +from eZmaxApi.models.communicationattachment_request_compound import CommunicationattachmentRequestCompound + +class CustomCommunicationattachmentRequest(BaseModel): + """ + A Custom Communicationattachment Object # noqa: E501 + """ + obj_communicationattachment: Optional[CommunicationattachmentRequestCompound] = Field(None, alias="objCommunicationattachment") + obj_communicationexternalattachment: Optional[CommonFile] = Field(None, alias="objCommunicationexternalattachment") + __properties = ["objCommunicationattachment", "objCommunicationexternalattachment"] + + class Config: + """Pydantic configuration""" + allow_population_by_field_name = True + validate_assignment = True + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.dict(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> CustomCommunicationattachmentRequest: + """Create an instance of CustomCommunicationattachmentRequest from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self): + """Returns the dictionary representation of the model using alias""" + _dict = self.dict(by_alias=True, + exclude={ + }, + exclude_none=True) + # override the default output from pydantic by calling `to_dict()` of obj_communicationattachment + if self.obj_communicationattachment: + _dict['objCommunicationattachment'] = self.obj_communicationattachment.to_dict() + # override the default output from pydantic by calling `to_dict()` of obj_communicationexternalattachment + if self.obj_communicationexternalattachment: + _dict['objCommunicationexternalattachment'] = self.obj_communicationexternalattachment.to_dict() + return _dict + + @classmethod + def from_dict(cls, obj: dict) -> CustomCommunicationattachmentRequest: + """Create an instance of CustomCommunicationattachmentRequest from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return CustomCommunicationattachmentRequest.parse_obj(obj) + + _obj = CustomCommunicationattachmentRequest.parse_obj({ + "obj_communicationattachment": CommunicationattachmentRequestCompound.from_dict(obj.get("objCommunicationattachment")) if obj.get("objCommunicationattachment") is not None else None, + "obj_communicationexternalattachment": CommonFile.from_dict(obj.get("objCommunicationexternalattachment")) if obj.get("objCommunicationexternalattachment") is not None else None + }) + return _obj + + diff --git a/eZmaxApi/models/custom_communicationrecipientsgroup_response.py b/eZmaxApi/models/custom_communicationrecipientsgroup_response.py new file mode 100644 index 000000000..fe7cd9d27 --- /dev/null +++ b/eZmaxApi/models/custom_communicationrecipientsgroup_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.0 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + + +from typing import List +from pydantic import BaseModel, Field, StrictStr, conlist +from eZmaxApi.models.custom_communicationrecipientsrecipient_response import CustomCommunicationrecipientsrecipientResponse + +class CustomCommunicationrecipientsgroupResponse(BaseModel): + """ + Generic CommunicationrecipientsGroup Response # noqa: E501 + """ + s_communicationrecipientsgroup_label: StrictStr = Field(..., alias="sCommunicationrecipientsgroupLabel", description="The label for the Communicationrecipientsgroup") + a_obj_communicationrecipientsrecipient: conlist(CustomCommunicationrecipientsrecipientResponse) = Field(..., alias="a_objCommunicationrecipientsrecipient") + __properties = ["sCommunicationrecipientsgroupLabel", "a_objCommunicationrecipientsrecipient"] + + class Config: + """Pydantic configuration""" + allow_population_by_field_name = True + validate_assignment = True + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.dict(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> CustomCommunicationrecipientsgroupResponse: + """Create an instance of CustomCommunicationrecipientsgroupResponse from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self): + """Returns the dictionary representation of the model using alias""" + _dict = self.dict(by_alias=True, + exclude={ + }, + exclude_none=True) + # 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()) + _dict['a_objCommunicationrecipientsrecipient'] = _items + return _dict + + @classmethod + def from_dict(cls, obj: dict) -> CustomCommunicationrecipientsgroupResponse: + """Create an instance of CustomCommunicationrecipientsgroupResponse from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return CustomCommunicationrecipientsgroupResponse.parse_obj(obj) + + _obj = CustomCommunicationrecipientsgroupResponse.parse_obj({ + "s_communicationrecipientsgroup_label": obj.get("sCommunicationrecipientsgroupLabel"), + "a_obj_communicationrecipientsrecipient": [CustomCommunicationrecipientsrecipientResponse.from_dict(_item) for _item in obj.get("a_objCommunicationrecipientsrecipient")] if obj.get("a_objCommunicationrecipientsrecipient") is not None else None + }) + return _obj + + diff --git a/eZmaxApi/models/communicationrecipient_response.py b/eZmaxApi/models/custom_communicationrecipientsrecipient_response.py similarity index 55% rename from eZmaxApi/models/communicationrecipient_response.py rename to eZmaxApi/models/custom_communicationrecipientsrecipient_response.py index 3c852c87d..a8b1867fb 100644 --- a/eZmaxApi/models/communicationrecipient_response.py +++ b/eZmaxApi/models/custom_communicationrecipientsrecipient_response.py @@ -20,19 +20,15 @@ from typing import Optional -from pydantic import BaseModel, Field, conint -from eZmaxApi.models.descriptionstatic_response_compound import DescriptionstaticResponseCompound -from eZmaxApi.models.emailstatic_response_compound import EmailstaticResponseCompound -from eZmaxApi.models.field_e_communicationrecipient_objecttype import FieldECommunicationrecipientObjecttype -from eZmaxApi.models.field_e_communicationrecipient_type import FieldECommunicationrecipientType -from eZmaxApi.models.phonestatic_response_compound import PhonestaticResponseCompound - -class CommunicationrecipientResponse(BaseModel): +from pydantic import BaseModel, Field, StrictStr, conint, validator +from eZmaxApi.models.custom_contact_name_response import CustomContactNameResponse +from eZmaxApi.models.email_response_compound import EmailResponseCompound +from eZmaxApi.models.phone_response_compound import PhoneResponseCompound + +class CustomCommunicationrecipientsrecipientResponse(BaseModel): """ - A Communicationrecipient Object # noqa: E501 + Generic AutocompleteElement Response # noqa: E501 """ - pki_communicationrecipient_id: conint(strict=True, ge=0) = Field(..., alias="pkiCommunicationrecipientID", description="The unique ID of the Communicationrecipient.") - e_communicationrecipient_objecttype: Optional[FieldECommunicationrecipientObjecttype] = Field(None, alias="eCommunicationrecipientObjecttype") fki_agent_id: Optional[conint(strict=True, ge=0)] = Field(None, alias="fkiAgentID", description="The unique ID of the Agent.") fki_broker_id: Optional[conint(strict=True, ge=0)] = Field(None, alias="fkiBrokerID", description="The unique ID of the Broker.") fki_contact_id: Optional[conint(strict=True, ge=0)] = Field(None, alias="fkiContactID", description="The unique ID of the Contact") @@ -48,11 +44,19 @@ class CommunicationrecipientResponse(BaseModel): fki_notary_id: Optional[conint(strict=True, ge=0)] = Field(None, alias="fkiNotaryID", description="The unique ID of the Notary.") fki_rewardmember_id: Optional[conint(strict=True, ge=0)] = Field(None, alias="fkiRewardmemberID", description="The unique ID of the Rewardmember.") fki_supplier_id: Optional[conint(strict=True, ge=0)] = Field(None, alias="fkiSupplierID", description="The unique ID of the Supplier.") - e_communicationrecipient_type: FieldECommunicationrecipientType = Field(..., alias="eCommunicationrecipientType") - obj_descriptionstatic: DescriptionstaticResponseCompound = Field(..., alias="objDescriptionstatic") - obj_emailstatic: Optional[EmailstaticResponseCompound] = Field(None, alias="objEmailstatic") - obj_phonestatic: Optional[PhonestaticResponseCompound] = Field(None, alias="objPhonestatic") - __properties = ["pkiCommunicationrecipientID", "eCommunicationrecipientObjecttype", "fkiAgentID", "fkiBrokerID", "fkiContactID", "fkiCustomerID", "fkiEmployeeID", "fkiEzsignsignerID", "fkiFranchiseofficeID", "fkiUserID", "fkiAgentincorporationID", "fkiAssistantID", "fkiExternalbrokerID", "fkiEzcomagentID", "fkiNotaryID", "fkiRewardmemberID", "fkiSupplierID", "eCommunicationrecipientType", "objDescriptionstatic", "objEmailstatic", "objPhonestatic"] + e_communicationrecipientsrecipient_objecttype: StrictStr = Field(..., alias="eCommunicationrecipientsrecipientObjecttype") + obj_contact_name: CustomContactNameResponse = Field(..., alias="objContactName") + obj_email: Optional[EmailResponseCompound] = Field(None, alias="objEmail") + obj_phone_fax: Optional[PhoneResponseCompound] = Field(None, alias="objPhoneFax") + obj_phone_sms: Optional[PhoneResponseCompound] = Field(None, alias="objPhoneSMS") + __properties = ["fkiAgentID", "fkiBrokerID", "fkiContactID", "fkiCustomerID", "fkiEmployeeID", "fkiEzsignsignerID", "fkiFranchiseofficeID", "fkiUserID", "fkiAgentincorporationID", "fkiAssistantID", "fkiExternalbrokerID", "fkiEzcomagentID", "fkiNotaryID", "fkiRewardmemberID", "fkiSupplierID", "eCommunicationrecipientsrecipientObjecttype", "objContactName", "objEmail", "objPhoneFax", "objPhoneSMS"] + + @validator('e_communicationrecipientsrecipient_objecttype') + def e_communicationrecipientsrecipient_objecttype_validate_enum(cls, value): + """Validates the enum""" + if value not in ('Agent', 'Agentincorporation', 'Assistant', 'Broker', 'Contact', 'Customer', 'Employee', 'Externalbroker', 'Ezcomagent', 'Ezcomcompany', 'Ezsignsigner', 'Franchiseoffice', 'Notary', 'Rewardmember', 'Supplier', 'User'): + raise ValueError("must be one of enum values ('Agent', 'Agentincorporation', 'Assistant', 'Broker', 'Contact', 'Customer', 'Employee', 'Externalbroker', 'Ezcomagent', 'Ezcomcompany', 'Ezsignsigner', 'Franchiseoffice', 'Notary', 'Rewardmember', 'Supplier', 'User')") + return value class Config: """Pydantic configuration""" @@ -68,8 +72,8 @@ def to_json(self) -> str: return json.dumps(self.to_dict()) @classmethod - def from_json(cls, json_str: str) -> CommunicationrecipientResponse: - """Create an instance of CommunicationrecipientResponse from a JSON string""" + def from_json(cls, json_str: str) -> CustomCommunicationrecipientsrecipientResponse: + """Create an instance of CustomCommunicationrecipientsrecipientResponse from a JSON string""" return cls.from_dict(json.loads(json_str)) def to_dict(self): @@ -78,29 +82,30 @@ def to_dict(self): exclude={ }, exclude_none=True) - # override the default output from pydantic by calling `to_dict()` of obj_descriptionstatic - if self.obj_descriptionstatic: - _dict['objDescriptionstatic'] = self.obj_descriptionstatic.to_dict() - # override the default output from pydantic by calling `to_dict()` of obj_emailstatic - if self.obj_emailstatic: - _dict['objEmailstatic'] = self.obj_emailstatic.to_dict() - # override the default output from pydantic by calling `to_dict()` of obj_phonestatic - if self.obj_phonestatic: - _dict['objPhonestatic'] = self.obj_phonestatic.to_dict() + # 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_email + if self.obj_email: + _dict['objEmail'] = self.obj_email.to_dict() + # override the default output from pydantic by calling `to_dict()` of obj_phone_fax + if self.obj_phone_fax: + _dict['objPhoneFax'] = self.obj_phone_fax.to_dict() + # override the default output from pydantic by calling `to_dict()` of obj_phone_sms + if self.obj_phone_sms: + _dict['objPhoneSMS'] = self.obj_phone_sms.to_dict() return _dict @classmethod - def from_dict(cls, obj: dict) -> CommunicationrecipientResponse: - """Create an instance of CommunicationrecipientResponse from a dict""" + def from_dict(cls, obj: dict) -> CustomCommunicationrecipientsrecipientResponse: + """Create an instance of CustomCommunicationrecipientsrecipientResponse from a dict""" if obj is None: return None if not isinstance(obj, dict): - return CommunicationrecipientResponse.parse_obj(obj) + return CustomCommunicationrecipientsrecipientResponse.parse_obj(obj) - _obj = CommunicationrecipientResponse.parse_obj({ - "pki_communicationrecipient_id": obj.get("pkiCommunicationrecipientID"), - "e_communicationrecipient_objecttype": obj.get("eCommunicationrecipientObjecttype"), + _obj = CustomCommunicationrecipientsrecipientResponse.parse_obj({ "fki_agent_id": obj.get("fkiAgentID"), "fki_broker_id": obj.get("fkiBrokerID"), "fki_contact_id": obj.get("fkiContactID"), @@ -116,10 +121,11 @@ def from_dict(cls, obj: dict) -> CommunicationrecipientResponse: "fki_notary_id": obj.get("fkiNotaryID"), "fki_rewardmember_id": obj.get("fkiRewardmemberID"), "fki_supplier_id": obj.get("fkiSupplierID"), - "e_communicationrecipient_type": obj.get("eCommunicationrecipientType"), - "obj_descriptionstatic": DescriptionstaticResponseCompound.from_dict(obj.get("objDescriptionstatic")) if obj.get("objDescriptionstatic") is not None else None, - "obj_emailstatic": EmailstaticResponseCompound.from_dict(obj.get("objEmailstatic")) if obj.get("objEmailstatic") is not None else None, - "obj_phonestatic": PhonestaticResponseCompound.from_dict(obj.get("objPhonestatic")) if obj.get("objPhonestatic") is not None else None + "e_communicationrecipientsrecipient_objecttype": obj.get("eCommunicationrecipientsrecipientObjecttype"), + "obj_contact_name": CustomContactNameResponse.from_dict(obj.get("objContactName")) if obj.get("objContactName") is not None else None, + "obj_email": EmailResponseCompound.from_dict(obj.get("objEmail")) if obj.get("objEmail") is not None else None, + "obj_phone_fax": PhoneResponseCompound.from_dict(obj.get("objPhoneFax")) if obj.get("objPhoneFax") is not None else None, + "obj_phone_sms": PhoneResponseCompound.from_dict(obj.get("objPhoneSMS")) if obj.get("objPhoneSMS") is not None else None }) return _obj diff --git a/eZmaxApi/models/custom_communicationsender_request.py b/eZmaxApi/models/custom_communicationsender_request.py new file mode 100644 index 000000000..9ab04786f --- /dev/null +++ b/eZmaxApi/models/custom_communicationsender_request.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.0 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + + +from typing import Optional +from pydantic import BaseModel, Field, conint + +class CustomCommunicationsenderRequest(BaseModel): + """ + A Communicationsender Object # noqa: E501 + """ + fki_agent_id: Optional[conint(strict=True, ge=0)] = Field(None, alias="fkiAgentID", description="The unique ID of the Agent.") + fki_broker_id: Optional[conint(strict=True, ge=0)] = Field(None, alias="fkiBrokerID", description="The unique ID of the Broker.") + fki_mailboxshared_id: Optional[conint(strict=True, le=255, ge=0)] = Field(None, alias="fkiMailboxsharedID", description="The unique ID of the Mailboxshared") + fki_user_id: Optional[conint(strict=True, ge=0)] = Field(None, alias="fkiUserID", description="The unique ID of the User") + __properties = ["fkiAgentID", "fkiBrokerID", "fkiMailboxsharedID", "fkiUserID"] + + class Config: + """Pydantic configuration""" + allow_population_by_field_name = True + validate_assignment = True + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.dict(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> CustomCommunicationsenderRequest: + """Create an instance of CustomCommunicationsenderRequest from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self): + """Returns the dictionary representation of the model using alias""" + _dict = self.dict(by_alias=True, + exclude={ + }, + exclude_none=True) + return _dict + + @classmethod + def from_dict(cls, obj: dict) -> CustomCommunicationsenderRequest: + """Create an instance of CustomCommunicationsenderRequest from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return CustomCommunicationsenderRequest.parse_obj(obj) + + _obj = CustomCommunicationsenderRequest.parse_obj({ + "fki_agent_id": obj.get("fkiAgentID"), + "fki_broker_id": obj.get("fkiBrokerID"), + "fki_mailboxshared_id": obj.get("fkiMailboxsharedID"), + "fki_user_id": obj.get("fkiUserID") + }) + return _obj + + diff --git a/eZmaxApi/models/custom_communicationsender_response.py b/eZmaxApi/models/custom_communicationsender_response.py new file mode 100644 index 000000000..7e47592d3 --- /dev/null +++ b/eZmaxApi/models/custom_communicationsender_response.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.0 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + + +from typing import Optional +from pydantic import BaseModel, Field, StrictStr, conint, constr, validator +from eZmaxApi.models.custom_contact_name_response import CustomContactNameResponse + +class CustomCommunicationsenderResponse(BaseModel): + """ + Generic Communicationsender Response # noqa: E501 + """ + fki_agent_id: Optional[conint(strict=True, ge=0)] = Field(None, alias="fkiAgentID", description="The unique ID of the Agent.") + fki_broker_id: Optional[conint(strict=True, ge=0)] = Field(None, alias="fkiBrokerID", description="The unique ID of the Broker.") + fki_user_id: Optional[conint(strict=True, ge=0)] = Field(None, alias="fkiUserID", description="The unique ID of the User") + fki_mailboxshared_id: Optional[conint(strict=True, le=255, ge=0)] = Field(None, alias="fkiMailboxsharedID", description="The unique ID of the Mailboxshared") + e_communicationsender_objecttype: StrictStr = Field(..., alias="eCommunicationsenderObjecttype") + obj_contact_name: CustomContactNameResponse = Field(..., alias="objContactName") + s_email_address: Optional[StrictStr] = Field(None, alias="sEmailAddress", description="The email address.") + s_phone_e164: Optional[constr(strict=True)] = Field(None, alias="sPhoneE164", description="A phone number in E.164 Format") + __properties = ["fkiAgentID", "fkiBrokerID", "fkiUserID", "fkiMailboxsharedID", "eCommunicationsenderObjecttype", "objContactName", "sEmailAddress", "sPhoneE164"] + + @validator('e_communicationsender_objecttype') + def e_communicationsender_objecttype_validate_enum(cls, value): + """Validates the enum""" + if value not in ('Agent', 'Broker', 'User', 'Mailboxshared'): + raise ValueError("must be one of enum values ('Agent', 'Broker', 'User', 'Mailboxshared')") + return value + + @validator('s_phone_e164') + def s_phone_e164_validate_regular_expression(cls, value): + """Validates the regular expression""" + if value is None: + return value + + if not re.match(r"^\+[1-9]\d{1,14}$", value): + raise ValueError(r"must validate the regular expression /^\+[1-9]\d{1,14}$/") + return value + + class Config: + """Pydantic configuration""" + allow_population_by_field_name = True + validate_assignment = True + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.dict(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> CustomCommunicationsenderResponse: + """Create an instance of CustomCommunicationsenderResponse from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self): + """Returns the dictionary representation of the model using alias""" + _dict = self.dict(by_alias=True, + exclude={ + }, + 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() + return _dict + + @classmethod + def from_dict(cls, obj: dict) -> CustomCommunicationsenderResponse: + """Create an instance of CustomCommunicationsenderResponse from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return CustomCommunicationsenderResponse.parse_obj(obj) + + _obj = CustomCommunicationsenderResponse.parse_obj({ + "fki_agent_id": obj.get("fkiAgentID"), + "fki_broker_id": obj.get("fkiBrokerID"), + "fki_user_id": obj.get("fkiUserID"), + "fki_mailboxshared_id": obj.get("fkiMailboxsharedID"), + "e_communicationsender_objecttype": obj.get("eCommunicationsenderObjecttype"), + "obj_contact_name": CustomContactNameResponse.from_dict(obj.get("objContactName")) if obj.get("objContactName") is not None else None, + "s_email_address": obj.get("sEmailAddress"), + "s_phone_e164": obj.get("sPhoneE164") + }) + return _obj + + diff --git a/eZmaxApi/models/custom_webhook_response.py b/eZmaxApi/models/custom_webhook_response.py index 26e3b0f92..360b288d3 100644 --- a/eZmaxApi/models/custom_webhook_response.py +++ b/eZmaxApi/models/custom_webhook_response.py @@ -38,7 +38,7 @@ class CustomWebhookResponse(BaseModel): e_webhook_managementevent: Optional[FieldEWebhookManagementevent] = Field(None, alias="eWebhookManagementevent") s_webhook_url: StrictStr = Field(..., alias="sWebhookUrl", description="The URL of the Webhook callback") s_webhook_emailfailed: StrictStr = Field(..., alias="sWebhookEmailfailed", description="The email that will receive the Webhook in case all attempts fail") - b_webhook_isactive: Optional[StrictBool] = Field(None, alias="bWebhookIsactive", description="Whether the Webhook is active or not") + b_webhook_isactive: StrictBool = Field(..., alias="bWebhookIsactive", description="Whether the Webhook is active or not") b_webhook_skipsslvalidation: StrictBool = Field(..., alias="bWebhookSkipsslvalidation", description="Wheter the server's SSL certificate should be validated or not. Not recommended to skip for production use") pks_customer_code: constr(strict=True, max_length=6, min_length=2) = Field(..., alias="pksCustomerCode", description="The customer code assigned to your account") b_webhook_test: StrictBool = Field(..., alias="bWebhookTest", description="Wheter the webhook received is a manual test or a real event") diff --git a/eZmaxApi/models/descriptionstatic_response.py b/eZmaxApi/models/descriptionstatic_response.py deleted file mode 100644 index df9a352b4..000000000 --- a/eZmaxApi/models/descriptionstatic_response.py +++ /dev/null @@ -1,74 +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.0 - Contact: support-api@ezmax.ca - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - - - -from pydantic import BaseModel, Field, StrictStr, conint - -class DescriptionstaticResponse(BaseModel): - """ - A Descriptionstatic Object # noqa: E501 - """ - pki_descriptionstatic_id: conint(strict=True, ge=0) = Field(..., alias="pkiDescriptionstaticID", description="The unique ID of the Descriptionstatic") - s_descriptionstatic_description: StrictStr = Field(..., alias="sDescriptionstaticDescription", description="The description of the Descriptionstatic") - __properties = ["pkiDescriptionstaticID", "sDescriptionstaticDescription"] - - class Config: - """Pydantic configuration""" - allow_population_by_field_name = True - validate_assignment = True - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.dict(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> DescriptionstaticResponse: - """Create an instance of DescriptionstaticResponse from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self): - """Returns the dictionary representation of the model using alias""" - _dict = self.dict(by_alias=True, - exclude={ - }, - exclude_none=True) - return _dict - - @classmethod - def from_dict(cls, obj: dict) -> DescriptionstaticResponse: - """Create an instance of DescriptionstaticResponse from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return DescriptionstaticResponse.parse_obj(obj) - - _obj = DescriptionstaticResponse.parse_obj({ - "pki_descriptionstatic_id": obj.get("pkiDescriptionstaticID"), - "s_descriptionstatic_description": obj.get("sDescriptionstaticDescription") - }) - return _obj - - diff --git a/eZmaxApi/models/descriptionstatic_response_compound.py b/eZmaxApi/models/descriptionstatic_response_compound.py deleted file mode 100644 index 44bd07e11..000000000 --- a/eZmaxApi/models/descriptionstatic_response_compound.py +++ /dev/null @@ -1,74 +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.0 - Contact: support-api@ezmax.ca - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - - - -from pydantic import BaseModel, Field, StrictStr, conint - -class DescriptionstaticResponseCompound(BaseModel): - """ - A Descriptionstatic Object and children to create a complete structure # noqa: E501 - """ - pki_descriptionstatic_id: conint(strict=True, ge=0) = Field(..., alias="pkiDescriptionstaticID", description="The unique ID of the Descriptionstatic") - s_descriptionstatic_description: StrictStr = Field(..., alias="sDescriptionstaticDescription", description="The description of the Descriptionstatic") - __properties = ["pkiDescriptionstaticID", "sDescriptionstaticDescription"] - - class Config: - """Pydantic configuration""" - allow_population_by_field_name = True - validate_assignment = True - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.dict(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> DescriptionstaticResponseCompound: - """Create an instance of DescriptionstaticResponseCompound from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self): - """Returns the dictionary representation of the model using alias""" - _dict = self.dict(by_alias=True, - exclude={ - }, - exclude_none=True) - return _dict - - @classmethod - def from_dict(cls, obj: dict) -> DescriptionstaticResponseCompound: - """Create an instance of DescriptionstaticResponseCompound from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return DescriptionstaticResponseCompound.parse_obj(obj) - - _obj = DescriptionstaticResponseCompound.parse_obj({ - "pki_descriptionstatic_id": obj.get("pkiDescriptionstaticID"), - "s_descriptionstatic_description": obj.get("sDescriptionstaticDescription") - }) - return _obj - - diff --git a/eZmaxApi/models/electronicfundstransfer_get_communication_list_v1_response.py b/eZmaxApi/models/electronicfundstransfer_get_communication_list_v1_response.py new file mode 100644 index 000000000..ad623fa41 --- /dev/null +++ b/eZmaxApi/models/electronicfundstransfer_get_communication_list_v1_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.0 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + + +from typing import Optional +from pydantic import BaseModel, Field +from eZmaxApi.models.common_response_obj_debug import CommonResponseObjDebug +from eZmaxApi.models.common_response_obj_debug_payload_get_list import CommonResponseObjDebugPayloadGetList +from eZmaxApi.models.electronicfundstransfer_get_communication_list_v1_response_m_payload import ElectronicfundstransferGetCommunicationListV1ResponseMPayload + +class ElectronicfundstransferGetCommunicationListV1Response(BaseModel): + """ + Response for GET /1/object/electronicfundstransfer/{pkiElectronicfundstransferID}/getCommunicationList # noqa: E501 + """ + obj_debug_payload: CommonResponseObjDebugPayloadGetList = Field(..., alias="objDebugPayload") + obj_debug: Optional[CommonResponseObjDebug] = Field(None, alias="objDebug") + m_payload: ElectronicfundstransferGetCommunicationListV1ResponseMPayload = Field(..., alias="mPayload") + __properties = ["objDebugPayload", "objDebug", "mPayload"] + + class Config: + """Pydantic configuration""" + allow_population_by_field_name = True + validate_assignment = True + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.dict(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> ElectronicfundstransferGetCommunicationListV1Response: + """Create an instance of ElectronicfundstransferGetCommunicationListV1Response from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self): + """Returns the dictionary representation of the model using alias""" + _dict = self.dict(by_alias=True, + exclude={ + }, + 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: dict) -> ElectronicfundstransferGetCommunicationListV1Response: + """Create an instance of ElectronicfundstransferGetCommunicationListV1Response from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return ElectronicfundstransferGetCommunicationListV1Response.parse_obj(obj) + + _obj = ElectronicfundstransferGetCommunicationListV1Response.parse_obj({ + "obj_debug_payload": CommonResponseObjDebugPayloadGetList.from_dict(obj.get("objDebugPayload")) if obj.get("objDebugPayload") is not None else None, + "obj_debug": CommonResponseObjDebug.from_dict(obj.get("objDebug")) if obj.get("objDebug") is not None else None, + "m_payload": ElectronicfundstransferGetCommunicationListV1ResponseMPayload.from_dict(obj.get("mPayload")) if obj.get("mPayload") is not None else None + }) + 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 new file mode 100644 index 000000000..f1eb882f7 --- /dev/null +++ b/eZmaxApi/models/electronicfundstransfer_get_communication_list_v1_response_m_payload.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.0 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + + +from typing import List +from pydantic import BaseModel, Field, conlist +from eZmaxApi.models.custom_communication_list_element_response import CustomCommunicationListElementResponse + +class ElectronicfundstransferGetCommunicationListV1ResponseMPayload(BaseModel): + """ + Response for GET /1/object/electronicfundstransfer/{pkiElectronicfundstransferID}/getCommunicationList # noqa: E501 + """ + a_obj_communication: conlist(CustomCommunicationListElementResponse) = Field(..., alias="a_objCommunication") + __properties = ["a_objCommunication"] + + class Config: + """Pydantic configuration""" + allow_population_by_field_name = True + validate_assignment = True + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.dict(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> ElectronicfundstransferGetCommunicationListV1ResponseMPayload: + """Create an instance of ElectronicfundstransferGetCommunicationListV1ResponseMPayload from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self): + """Returns the dictionary representation of the model using alias""" + _dict = self.dict(by_alias=True, + exclude={ + }, + 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 in self.a_obj_communication: + if _item: + _items.append(_item.to_dict()) + _dict['a_objCommunication'] = _items + return _dict + + @classmethod + def from_dict(cls, obj: dict) -> ElectronicfundstransferGetCommunicationListV1ResponseMPayload: + """Create an instance of ElectronicfundstransferGetCommunicationListV1ResponseMPayload from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return ElectronicfundstransferGetCommunicationListV1ResponseMPayload.parse_obj(obj) + + _obj = ElectronicfundstransferGetCommunicationListV1ResponseMPayload.parse_obj({ + "a_obj_communication": [CustomCommunicationListElementResponse.from_dict(_item) for _item in obj.get("a_objCommunication")] if obj.get("a_objCommunication") is not None else None + }) + return _obj + + diff --git a/eZmaxApi/models/emailstatic_response_compound.py b/eZmaxApi/models/emailstatic_response_compound.py deleted file mode 100644 index b0785dc97..000000000 --- a/eZmaxApi/models/emailstatic_response_compound.py +++ /dev/null @@ -1,74 +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.0 - Contact: support-api@ezmax.ca - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - - - -from pydantic import BaseModel, Field, StrictStr, conint - -class EmailstaticResponseCompound(BaseModel): - """ - An Emailstatic Object and children to create a complete structure # noqa: E501 - """ - pki_emailstatic_id: conint(strict=True, ge=0) = Field(..., alias="pkiEmailstaticID", description="The unique ID of the Emailstatic") - s_emailstatic_address: StrictStr = Field(..., alias="sEmailstaticAddress", description="The email address.") - __properties = ["pkiEmailstaticID", "sEmailstaticAddress"] - - class Config: - """Pydantic configuration""" - allow_population_by_field_name = True - validate_assignment = True - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.dict(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> EmailstaticResponseCompound: - """Create an instance of EmailstaticResponseCompound from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self): - """Returns the dictionary representation of the model using alias""" - _dict = self.dict(by_alias=True, - exclude={ - }, - exclude_none=True) - return _dict - - @classmethod - def from_dict(cls, obj: dict) -> EmailstaticResponseCompound: - """Create an instance of EmailstaticResponseCompound from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return EmailstaticResponseCompound.parse_obj(obj) - - _obj = EmailstaticResponseCompound.parse_obj({ - "pki_emailstatic_id": obj.get("pkiEmailstaticID"), - "s_emailstatic_address": obj.get("sEmailstaticAddress") - }) - return _obj - - diff --git a/eZmaxApi/models/ezsignfolder_get_communicationrecipients_v1_response.py b/eZmaxApi/models/ezsignfolder_get_communicationrecipients_v1_response.py new file mode 100644 index 000000000..ad211968f --- /dev/null +++ b/eZmaxApi/models/ezsignfolder_get_communicationrecipients_v1_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.0 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + + +from typing import Optional +from pydantic import BaseModel, Field +from eZmaxApi.models.common_response_obj_debug import CommonResponseObjDebug +from eZmaxApi.models.common_response_obj_debug_payload import CommonResponseObjDebugPayload +from eZmaxApi.models.ezsignfolder_get_communicationrecipients_v1_response_m_payload import EzsignfolderGetCommunicationrecipientsV1ResponseMPayload + +class EzsignfolderGetCommunicationrecipientsV1Response(BaseModel): + """ + Response for GET /1/object/ezsignfolder/{pkiEzsignfolderID}/getCommunicationrecipients # noqa: E501 + """ + obj_debug_payload: CommonResponseObjDebugPayload = Field(..., alias="objDebugPayload") + obj_debug: Optional[CommonResponseObjDebug] = Field(None, alias="objDebug") + m_payload: EzsignfolderGetCommunicationrecipientsV1ResponseMPayload = Field(..., alias="mPayload") + __properties = ["objDebugPayload", "objDebug", "mPayload"] + + class Config: + """Pydantic configuration""" + allow_population_by_field_name = True + validate_assignment = True + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.dict(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> EzsignfolderGetCommunicationrecipientsV1Response: + """Create an instance of EzsignfolderGetCommunicationrecipientsV1Response from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self): + """Returns the dictionary representation of the model using alias""" + _dict = self.dict(by_alias=True, + exclude={ + }, + 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: dict) -> EzsignfolderGetCommunicationrecipientsV1Response: + """Create an instance of EzsignfolderGetCommunicationrecipientsV1Response from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return EzsignfolderGetCommunicationrecipientsV1Response.parse_obj(obj) + + _obj = EzsignfolderGetCommunicationrecipientsV1Response.parse_obj({ + "obj_debug_payload": CommonResponseObjDebugPayload.from_dict(obj.get("objDebugPayload")) if obj.get("objDebugPayload") is not None else None, + "obj_debug": CommonResponseObjDebug.from_dict(obj.get("objDebug")) if obj.get("objDebug") is not None else None, + "m_payload": EzsignfolderGetCommunicationrecipientsV1ResponseMPayload.from_dict(obj.get("mPayload")) if obj.get("mPayload") is not None else None + }) + return _obj + + diff --git a/eZmaxApi/models/ezsignfolder_get_communicationrecipients_v1_response_m_payload.py b/eZmaxApi/models/ezsignfolder_get_communicationrecipients_v1_response_m_payload.py new file mode 100644 index 000000000..e9beec4c5 --- /dev/null +++ b/eZmaxApi/models/ezsignfolder_get_communicationrecipients_v1_response_m_payload.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.0 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + + +from typing import List +from pydantic import BaseModel, Field, conlist +from eZmaxApi.models.custom_communicationrecipientsgroup_response import CustomCommunicationrecipientsgroupResponse + +class EzsignfolderGetCommunicationrecipientsV1ResponseMPayload(BaseModel): + """ + Response for GET /1/object/ezsignfolder/{pkiEzsignfolderID}/getCommunicationrecipients # noqa: E501 + """ + a_obj_communicationrecipientsgroup: conlist(CustomCommunicationrecipientsgroupResponse) = Field(..., alias="a_objCommunicationrecipientsgroup") + __properties = ["a_objCommunicationrecipientsgroup"] + + class Config: + """Pydantic configuration""" + allow_population_by_field_name = True + validate_assignment = True + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.dict(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> EzsignfolderGetCommunicationrecipientsV1ResponseMPayload: + """Create an instance of EzsignfolderGetCommunicationrecipientsV1ResponseMPayload from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self): + """Returns the dictionary representation of the model using alias""" + _dict = self.dict(by_alias=True, + exclude={ + }, + 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 in self.a_obj_communicationrecipientsgroup: + if _item: + _items.append(_item.to_dict()) + _dict['a_objCommunicationrecipientsgroup'] = _items + return _dict + + @classmethod + def from_dict(cls, obj: dict) -> EzsignfolderGetCommunicationrecipientsV1ResponseMPayload: + """Create an instance of EzsignfolderGetCommunicationrecipientsV1ResponseMPayload from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return EzsignfolderGetCommunicationrecipientsV1ResponseMPayload.parse_obj(obj) + + _obj = EzsignfolderGetCommunicationrecipientsV1ResponseMPayload.parse_obj({ + "a_obj_communicationrecipientsgroup": [CustomCommunicationrecipientsgroupResponse.from_dict(_item) for _item in obj.get("a_objCommunicationrecipientsgroup")] if obj.get("a_objCommunicationrecipientsgroup") is not None else None + }) + return _obj + + diff --git a/eZmaxApi/models/ezsignfolder_get_communicationsenders_v1_response.py b/eZmaxApi/models/ezsignfolder_get_communicationsenders_v1_response.py new file mode 100644 index 000000000..caa2aa0a2 --- /dev/null +++ b/eZmaxApi/models/ezsignfolder_get_communicationsenders_v1_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.0 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + + +from typing import Optional +from pydantic import BaseModel, Field +from eZmaxApi.models.common_response_obj_debug import CommonResponseObjDebug +from eZmaxApi.models.common_response_obj_debug_payload import CommonResponseObjDebugPayload +from eZmaxApi.models.ezsignfolder_get_communicationsenders_v1_response_m_payload import EzsignfolderGetCommunicationsendersV1ResponseMPayload + +class EzsignfolderGetCommunicationsendersV1Response(BaseModel): + """ + Response for GET /1/object/ezsignfolder/{pkiEzsignfolderID}/getCommunicationrecipients # noqa: E501 + """ + obj_debug_payload: CommonResponseObjDebugPayload = Field(..., alias="objDebugPayload") + obj_debug: Optional[CommonResponseObjDebug] = Field(None, alias="objDebug") + m_payload: EzsignfolderGetCommunicationsendersV1ResponseMPayload = Field(..., alias="mPayload") + __properties = ["objDebugPayload", "objDebug", "mPayload"] + + class Config: + """Pydantic configuration""" + allow_population_by_field_name = True + validate_assignment = True + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.dict(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> EzsignfolderGetCommunicationsendersV1Response: + """Create an instance of EzsignfolderGetCommunicationsendersV1Response from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self): + """Returns the dictionary representation of the model using alias""" + _dict = self.dict(by_alias=True, + exclude={ + }, + 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: dict) -> EzsignfolderGetCommunicationsendersV1Response: + """Create an instance of EzsignfolderGetCommunicationsendersV1Response from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return EzsignfolderGetCommunicationsendersV1Response.parse_obj(obj) + + _obj = EzsignfolderGetCommunicationsendersV1Response.parse_obj({ + "obj_debug_payload": CommonResponseObjDebugPayload.from_dict(obj.get("objDebugPayload")) if obj.get("objDebugPayload") is not None else None, + "obj_debug": CommonResponseObjDebug.from_dict(obj.get("objDebug")) if obj.get("objDebug") is not None else None, + "m_payload": EzsignfolderGetCommunicationsendersV1ResponseMPayload.from_dict(obj.get("mPayload")) if obj.get("mPayload") is not None else None + }) + return _obj + + diff --git a/eZmaxApi/models/ezsignfolder_get_communicationsenders_v1_response_m_payload.py b/eZmaxApi/models/ezsignfolder_get_communicationsenders_v1_response_m_payload.py new file mode 100644 index 000000000..1fc29c625 --- /dev/null +++ b/eZmaxApi/models/ezsignfolder_get_communicationsenders_v1_response_m_payload.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.0 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + + +from typing import List +from pydantic import BaseModel, Field, conlist +from eZmaxApi.models.custom_communicationsender_response import CustomCommunicationsenderResponse + +class EzsignfolderGetCommunicationsendersV1ResponseMPayload(BaseModel): + """ + Response for GET /1/object/ezsignfolder/{pkiEzsignfolderID}/getCommunicationsenders # noqa: E501 + """ + a_obj_communicationsenders: conlist(CustomCommunicationsenderResponse) = Field(..., alias="a_objCommunicationsenders") + __properties = ["a_objCommunicationsenders"] + + class Config: + """Pydantic configuration""" + allow_population_by_field_name = True + validate_assignment = True + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.dict(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> EzsignfolderGetCommunicationsendersV1ResponseMPayload: + """Create an instance of EzsignfolderGetCommunicationsendersV1ResponseMPayload from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self): + """Returns the dictionary representation of the model using alias""" + _dict = self.dict(by_alias=True, + exclude={ + }, + 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 in self.a_obj_communicationsenders: + if _item: + _items.append(_item.to_dict()) + _dict['a_objCommunicationsenders'] = _items + return _dict + + @classmethod + def from_dict(cls, obj: dict) -> EzsignfolderGetCommunicationsendersV1ResponseMPayload: + """Create an instance of EzsignfolderGetCommunicationsendersV1ResponseMPayload from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return EzsignfolderGetCommunicationsendersV1ResponseMPayload.parse_obj(obj) + + _obj = EzsignfolderGetCommunicationsendersV1ResponseMPayload.parse_obj({ + "a_obj_communicationsenders": [CustomCommunicationsenderResponse.from_dict(_item) for _item in obj.get("a_objCommunicationsenders")] if obj.get("a_objCommunicationsenders") is not None else None + }) + return _obj + + diff --git a/eZmaxApi/models/ezsignfolder_send_v1_response.py b/eZmaxApi/models/ezsignfolder_send_v1_response.py index e0e3a89ff..03dae0fac 100644 --- a/eZmaxApi/models/ezsignfolder_send_v1_response.py +++ b/eZmaxApi/models/ezsignfolder_send_v1_response.py @@ -26,7 +26,7 @@ class EzsignfolderSendV1Response(BaseModel): """ - Response for POST /1/object/ezsignfolder/{pkiEzsignfolderID}/send # noqa: E501 + Response for GET /1/object/attachment/{pkiAttachmentID}/download # noqa: E501 """ obj_debug_payload: CommonResponseObjDebugPayload = Field(..., alias="objDebugPayload") obj_debug: Optional[CommonResponseObjDebug] = Field(None, alias="objDebug") diff --git a/eZmaxApi/models/ezsignsigner_request.py b/eZmaxApi/models/ezsignsigner_request.py index a0ffde855..022ca7848 100644 --- a/eZmaxApi/models/ezsignsigner_request.py +++ b/eZmaxApi/models/ezsignsigner_request.py @@ -28,7 +28,7 @@ class EzsignsignerRequest(BaseModel): """ fki_userlogintype_id: Optional[conint(strict=True, ge=0)] = Field(None, alias="fkiUserlogintypeID", 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**|") fki_taxassignment_id: conint(strict=True, le=15, ge=0) = Field(..., alias="fkiTaxassignmentID", 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|") - fki_secretquestion_id: Optional[conint(strict=True, ge=0)] = Field(None, alias="fkiSecretquestionID", 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)|") + fki_secretquestion_id: Optional[conint(strict=True, ge=0)] = Field(None, alias="fkiSecretquestionID", 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|") e_ezsignsigner_logintype: Optional[StrictStr] = Field(None, alias="eEzsignsignerLogintype", 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.") s_ezsignsigner_secretanswer: Optional[StrictStr] = Field(None, alias="sEzsignsignerSecretanswer", description="The predefined answer to the secret question the Ezsignsigner will need to provide to successfully authenticate.") __properties = ["fkiUserlogintypeID", "fkiTaxassignmentID", "fkiSecretquestionID", "eEzsignsignerLogintype", "sEzsignsignerSecretanswer"] diff --git a/eZmaxApi/models/ezsignsigner_request_compound.py b/eZmaxApi/models/ezsignsigner_request_compound.py index e61648849..03f6b56a3 100644 --- a/eZmaxApi/models/ezsignsigner_request_compound.py +++ b/eZmaxApi/models/ezsignsigner_request_compound.py @@ -29,7 +29,7 @@ class EzsignsignerRequestCompound(BaseModel): """ fki_userlogintype_id: Optional[conint(strict=True, ge=0)] = Field(None, alias="fkiUserlogintypeID", 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**|") fki_taxassignment_id: conint(strict=True, le=15, ge=0) = Field(..., alias="fkiTaxassignmentID", 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|") - fki_secretquestion_id: Optional[conint(strict=True, ge=0)] = Field(None, alias="fkiSecretquestionID", 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)|") + fki_secretquestion_id: Optional[conint(strict=True, ge=0)] = Field(None, alias="fkiSecretquestionID", 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|") e_ezsignsigner_logintype: Optional[StrictStr] = Field(None, alias="eEzsignsignerLogintype", 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.") s_ezsignsigner_secretanswer: Optional[StrictStr] = Field(None, alias="sEzsignsignerSecretanswer", description="The predefined answer to the secret question the Ezsignsigner will need to provide to successfully authenticate.") obj_contact: EzsignsignerRequestCompoundContact = Field(..., alias="objContact") diff --git a/eZmaxApi/models/ezsignsigner_response.py b/eZmaxApi/models/ezsignsigner_response.py index 4d36aa45e..51bf0b31d 100644 --- a/eZmaxApi/models/ezsignsigner_response.py +++ b/eZmaxApi/models/ezsignsigner_response.py @@ -28,7 +28,7 @@ class EzsignsignerResponse(BaseModel): """ pki_ezsignsigner_id: conint(strict=True, ge=0) = Field(..., alias="pkiEzsignsignerID", description="The unique ID of the Ezsignsigner") fki_taxassignment_id: conint(strict=True, le=15, ge=0) = Field(..., alias="fkiTaxassignmentID", 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|") - fki_secretquestion_id: Optional[conint(strict=True, ge=0)] = Field(None, alias="fkiSecretquestionID", 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)|") + fki_secretquestion_id: Optional[conint(strict=True, ge=0)] = Field(None, alias="fkiSecretquestionID", 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|") fki_userlogintype_id: conint(strict=True, ge=0) = Field(..., alias="fkiUserlogintypeID", 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**|") s_userlogintype_description_x: StrictStr = Field(..., alias="sUserlogintypeDescriptionX", description="The description of the Userlogintype in the language of the requester") __properties = ["pkiEzsignsignerID", "fkiTaxassignmentID", "fkiSecretquestionID", "fkiUserlogintypeID", "sUserlogintypeDescriptionX"] diff --git a/eZmaxApi/models/ezsignsigner_response_compound.py b/eZmaxApi/models/ezsignsigner_response_compound.py index 905a7e81e..f5ea4606a 100644 --- a/eZmaxApi/models/ezsignsigner_response_compound.py +++ b/eZmaxApi/models/ezsignsigner_response_compound.py @@ -29,7 +29,7 @@ class EzsignsignerResponseCompound(BaseModel): """ pki_ezsignsigner_id: conint(strict=True, ge=0) = Field(..., alias="pkiEzsignsignerID", description="The unique ID of the Ezsignsigner") fki_taxassignment_id: conint(strict=True, le=15, ge=0) = Field(..., alias="fkiTaxassignmentID", 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|") - fki_secretquestion_id: Optional[conint(strict=True, ge=0)] = Field(None, alias="fkiSecretquestionID", 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)|") + fki_secretquestion_id: Optional[conint(strict=True, ge=0)] = Field(None, alias="fkiSecretquestionID", 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|") fki_userlogintype_id: conint(strict=True, ge=0) = Field(..., alias="fkiUserlogintypeID", 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**|") s_userlogintype_description_x: StrictStr = Field(..., alias="sUserlogintypeDescriptionX", description="The description of the Userlogintype in the language of the requester") obj_contact: EzsignsignerResponseCompoundContact = Field(..., alias="objContact") diff --git a/eZmaxApi/models/field_e_communicationexternalrecipient_type.py b/eZmaxApi/models/field_e_communicationexternalrecipient_type.py index 4879a6114..eab925c05 100644 --- a/eZmaxApi/models/field_e_communicationexternalrecipient_type.py +++ b/eZmaxApi/models/field_e_communicationexternalrecipient_type.py @@ -24,7 +24,7 @@ class FieldECommunicationexternalrecipientType(str, Enum): """ - The type of Communicationexternalrecipient + The type of Communicationexternalrecipient. Only used when eCommunicationType is **Email** """ """ diff --git a/eZmaxApi/models/field_e_communicationrecipient_objecttype.py b/eZmaxApi/models/field_e_communicationrecipient_objecttype.py deleted file mode 100644 index 34193e466..000000000 --- a/eZmaxApi/models/field_e_communicationrecipient_objecttype.py +++ /dev/null @@ -1,55 +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.0 - Contact: support-api@ezmax.ca - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import json -import pprint -import re # noqa: F401 -from aenum import Enum, no_arg - - - - - -class FieldECommunicationrecipientObjecttype(str, Enum): - """ - The object type for the Communicationrecipient - """ - - """ - allowed enum values - """ - AGENT = 'Agent' - AGENTINCORPORATION = 'Agentincorporation' - ASSISTANT = 'Assistant' - BROKER = 'Broker' - CONTACT = 'Contact' - CUSTOMER = 'Customer' - EMPLOYEE = 'Employee' - EXTERNALBROKER = 'Externalbroker' - EZCOMAGENT = 'Ezcomagent' - EZCOMCOMPANY = 'Ezcomcompany' - EZSIGNSIGNER = 'Ezsignsigner' - FRANCHISEOFFICE = 'Franchiseoffice' - NOTARY = 'Notary' - REWARDMEMBER = 'Rewardmember' - SUPPLIER = 'Supplier' - USER = 'User' - - @classmethod - def from_json(cls, json_str: str) -> FieldECommunicationrecipientObjecttype: - """Create an instance of FieldECommunicationrecipientObjecttype from a JSON string""" - return FieldECommunicationrecipientObjecttype(json.loads(json_str)) - - diff --git a/eZmaxApi/models/field_e_communicationrecipient_type.py b/eZmaxApi/models/field_e_communicationrecipient_type.py index 0815924c3..7269fa98d 100644 --- a/eZmaxApi/models/field_e_communicationrecipient_type.py +++ b/eZmaxApi/models/field_e_communicationrecipient_type.py @@ -24,7 +24,7 @@ class FieldECommunicationrecipientType(str, Enum): """ - The type for the Communicationrecipient + The type for the Communicationrecipient. Only used when eCommunicationType is **Email** """ """ diff --git a/eZmaxApi/models/inscription_get_communication_list_v1_response.py b/eZmaxApi/models/inscription_get_communication_list_v1_response.py new file mode 100644 index 000000000..654ce79ab --- /dev/null +++ b/eZmaxApi/models/inscription_get_communication_list_v1_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.0 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + + +from typing import Optional +from pydantic import BaseModel, Field +from eZmaxApi.models.common_response_obj_debug import CommonResponseObjDebug +from eZmaxApi.models.common_response_obj_debug_payload_get_list import CommonResponseObjDebugPayloadGetList +from eZmaxApi.models.inscription_get_communication_list_v1_response_m_payload import InscriptionGetCommunicationListV1ResponseMPayload + +class InscriptionGetCommunicationListV1Response(BaseModel): + """ + Response for GET /1/object/inscription/{pkiInscriptionID}/getCommunicationList # noqa: E501 + """ + obj_debug_payload: CommonResponseObjDebugPayloadGetList = Field(..., alias="objDebugPayload") + obj_debug: Optional[CommonResponseObjDebug] = Field(None, alias="objDebug") + m_payload: InscriptionGetCommunicationListV1ResponseMPayload = Field(..., alias="mPayload") + __properties = ["objDebugPayload", "objDebug", "mPayload"] + + class Config: + """Pydantic configuration""" + allow_population_by_field_name = True + validate_assignment = True + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.dict(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> InscriptionGetCommunicationListV1Response: + """Create an instance of InscriptionGetCommunicationListV1Response from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self): + """Returns the dictionary representation of the model using alias""" + _dict = self.dict(by_alias=True, + exclude={ + }, + 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: dict) -> InscriptionGetCommunicationListV1Response: + """Create an instance of InscriptionGetCommunicationListV1Response from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return InscriptionGetCommunicationListV1Response.parse_obj(obj) + + _obj = InscriptionGetCommunicationListV1Response.parse_obj({ + "obj_debug_payload": CommonResponseObjDebugPayloadGetList.from_dict(obj.get("objDebugPayload")) if obj.get("objDebugPayload") is not None else None, + "obj_debug": CommonResponseObjDebug.from_dict(obj.get("objDebug")) if obj.get("objDebug") is not None else None, + "m_payload": InscriptionGetCommunicationListV1ResponseMPayload.from_dict(obj.get("mPayload")) if obj.get("mPayload") is not None else None + }) + 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 new file mode 100644 index 000000000..d7f0a9254 --- /dev/null +++ b/eZmaxApi/models/inscription_get_communication_list_v1_response_m_payload.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.0 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + + +from typing import List +from pydantic import BaseModel, Field, conlist +from eZmaxApi.models.custom_communication_list_element_response import CustomCommunicationListElementResponse + +class InscriptionGetCommunicationListV1ResponseMPayload(BaseModel): + """ + Response for GET /1/object/inscription/{pkiInscriptionID}/getCommunicationList # noqa: E501 + """ + a_obj_communication: conlist(CustomCommunicationListElementResponse) = Field(..., alias="a_objCommunication") + __properties = ["a_objCommunication"] + + class Config: + """Pydantic configuration""" + allow_population_by_field_name = True + validate_assignment = True + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.dict(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> InscriptionGetCommunicationListV1ResponseMPayload: + """Create an instance of InscriptionGetCommunicationListV1ResponseMPayload from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self): + """Returns the dictionary representation of the model using alias""" + _dict = self.dict(by_alias=True, + exclude={ + }, + 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 in self.a_obj_communication: + if _item: + _items.append(_item.to_dict()) + _dict['a_objCommunication'] = _items + return _dict + + @classmethod + def from_dict(cls, obj: dict) -> InscriptionGetCommunicationListV1ResponseMPayload: + """Create an instance of InscriptionGetCommunicationListV1ResponseMPayload from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return InscriptionGetCommunicationListV1ResponseMPayload.parse_obj(obj) + + _obj = InscriptionGetCommunicationListV1ResponseMPayload.parse_obj({ + "a_obj_communication": [CustomCommunicationListElementResponse.from_dict(_item) for _item in obj.get("a_objCommunication")] if obj.get("a_objCommunication") is not None else None + }) + return _obj + + diff --git a/eZmaxApi/models/inscriptionnotauthenticated_get_communication_list_v1_response.py b/eZmaxApi/models/inscriptionnotauthenticated_get_communication_list_v1_response.py new file mode 100644 index 000000000..abac7890d --- /dev/null +++ b/eZmaxApi/models/inscriptionnotauthenticated_get_communication_list_v1_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.0 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + + +from typing import Optional +from pydantic import BaseModel, Field +from eZmaxApi.models.common_response_obj_debug import CommonResponseObjDebug +from eZmaxApi.models.common_response_obj_debug_payload_get_list import CommonResponseObjDebugPayloadGetList +from eZmaxApi.models.inscriptionnotauthenticated_get_communication_list_v1_response_m_payload import InscriptionnotauthenticatedGetCommunicationListV1ResponseMPayload + +class InscriptionnotauthenticatedGetCommunicationListV1Response(BaseModel): + """ + Response for GET /1/object/inscriptionnotauthenticated/{pkiInscriptionnotauthenticatedID}/getCommunicationList # noqa: E501 + """ + obj_debug_payload: CommonResponseObjDebugPayloadGetList = Field(..., alias="objDebugPayload") + obj_debug: Optional[CommonResponseObjDebug] = Field(None, alias="objDebug") + m_payload: InscriptionnotauthenticatedGetCommunicationListV1ResponseMPayload = Field(..., alias="mPayload") + __properties = ["objDebugPayload", "objDebug", "mPayload"] + + class Config: + """Pydantic configuration""" + allow_population_by_field_name = True + validate_assignment = True + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.dict(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> InscriptionnotauthenticatedGetCommunicationListV1Response: + """Create an instance of InscriptionnotauthenticatedGetCommunicationListV1Response from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self): + """Returns the dictionary representation of the model using alias""" + _dict = self.dict(by_alias=True, + exclude={ + }, + 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: dict) -> InscriptionnotauthenticatedGetCommunicationListV1Response: + """Create an instance of InscriptionnotauthenticatedGetCommunicationListV1Response from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return InscriptionnotauthenticatedGetCommunicationListV1Response.parse_obj(obj) + + _obj = InscriptionnotauthenticatedGetCommunicationListV1Response.parse_obj({ + "obj_debug_payload": CommonResponseObjDebugPayloadGetList.from_dict(obj.get("objDebugPayload")) if obj.get("objDebugPayload") is not None else None, + "obj_debug": CommonResponseObjDebug.from_dict(obj.get("objDebug")) if obj.get("objDebug") is not None else None, + "m_payload": InscriptionnotauthenticatedGetCommunicationListV1ResponseMPayload.from_dict(obj.get("mPayload")) if obj.get("mPayload") is not None else None + }) + 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 new file mode 100644 index 000000000..dba459668 --- /dev/null +++ b/eZmaxApi/models/inscriptionnotauthenticated_get_communication_list_v1_response_m_payload.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.0 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + + +from typing import List +from pydantic import BaseModel, Field, conlist +from eZmaxApi.models.custom_communication_list_element_response import CustomCommunicationListElementResponse + +class InscriptionnotauthenticatedGetCommunicationListV1ResponseMPayload(BaseModel): + """ + Response for GET /1/object/inscriptionnotauthenticated/{pkiInscriptionnotauthenticatedID}/getCommunicationList # noqa: E501 + """ + a_obj_communication: conlist(CustomCommunicationListElementResponse) = Field(..., alias="a_objCommunication") + __properties = ["a_objCommunication"] + + class Config: + """Pydantic configuration""" + allow_population_by_field_name = True + validate_assignment = True + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.dict(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> InscriptionnotauthenticatedGetCommunicationListV1ResponseMPayload: + """Create an instance of InscriptionnotauthenticatedGetCommunicationListV1ResponseMPayload from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self): + """Returns the dictionary representation of the model using alias""" + _dict = self.dict(by_alias=True, + exclude={ + }, + 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 in self.a_obj_communication: + if _item: + _items.append(_item.to_dict()) + _dict['a_objCommunication'] = _items + return _dict + + @classmethod + def from_dict(cls, obj: dict) -> InscriptionnotauthenticatedGetCommunicationListV1ResponseMPayload: + """Create an instance of InscriptionnotauthenticatedGetCommunicationListV1ResponseMPayload from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return InscriptionnotauthenticatedGetCommunicationListV1ResponseMPayload.parse_obj(obj) + + _obj = InscriptionnotauthenticatedGetCommunicationListV1ResponseMPayload.parse_obj({ + "a_obj_communication": [CustomCommunicationListElementResponse.from_dict(_item) for _item in obj.get("a_objCommunication")] if obj.get("a_objCommunication") is not None else None + }) + return _obj + + diff --git a/eZmaxApi/models/inscriptiontemp_get_communication_list_v1_response.py b/eZmaxApi/models/inscriptiontemp_get_communication_list_v1_response.py new file mode 100644 index 000000000..09773d284 --- /dev/null +++ b/eZmaxApi/models/inscriptiontemp_get_communication_list_v1_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.0 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + + +from typing import Optional +from pydantic import BaseModel, Field +from eZmaxApi.models.common_response_obj_debug import CommonResponseObjDebug +from eZmaxApi.models.common_response_obj_debug_payload_get_list import CommonResponseObjDebugPayloadGetList +from eZmaxApi.models.inscriptiontemp_get_communication_list_v1_response_m_payload import InscriptiontempGetCommunicationListV1ResponseMPayload + +class InscriptiontempGetCommunicationListV1Response(BaseModel): + """ + Response for GET /1/object/inscriptiontemp/{pkiInscriptiontempID}/getCommunicationList # noqa: E501 + """ + obj_debug_payload: CommonResponseObjDebugPayloadGetList = Field(..., alias="objDebugPayload") + obj_debug: Optional[CommonResponseObjDebug] = Field(None, alias="objDebug") + m_payload: InscriptiontempGetCommunicationListV1ResponseMPayload = Field(..., alias="mPayload") + __properties = ["objDebugPayload", "objDebug", "mPayload"] + + class Config: + """Pydantic configuration""" + allow_population_by_field_name = True + validate_assignment = True + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.dict(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> InscriptiontempGetCommunicationListV1Response: + """Create an instance of InscriptiontempGetCommunicationListV1Response from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self): + """Returns the dictionary representation of the model using alias""" + _dict = self.dict(by_alias=True, + exclude={ + }, + 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: dict) -> InscriptiontempGetCommunicationListV1Response: + """Create an instance of InscriptiontempGetCommunicationListV1Response from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return InscriptiontempGetCommunicationListV1Response.parse_obj(obj) + + _obj = InscriptiontempGetCommunicationListV1Response.parse_obj({ + "obj_debug_payload": CommonResponseObjDebugPayloadGetList.from_dict(obj.get("objDebugPayload")) if obj.get("objDebugPayload") is not None else None, + "obj_debug": CommonResponseObjDebug.from_dict(obj.get("objDebug")) if obj.get("objDebug") is not None else None, + "m_payload": InscriptiontempGetCommunicationListV1ResponseMPayload.from_dict(obj.get("mPayload")) if obj.get("mPayload") is not None else None + }) + 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 new file mode 100644 index 000000000..f8a3a5a40 --- /dev/null +++ b/eZmaxApi/models/inscriptiontemp_get_communication_list_v1_response_m_payload.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.0 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + + +from typing import List +from pydantic import BaseModel, Field, conlist +from eZmaxApi.models.custom_communication_list_element_response import CustomCommunicationListElementResponse + +class InscriptiontempGetCommunicationListV1ResponseMPayload(BaseModel): + """ + Response for GET /1/object/inscriptiontemp/{pkiInscriptiontempID}/getCommunicationList # noqa: E501 + """ + a_obj_communication: conlist(CustomCommunicationListElementResponse) = Field(..., alias="a_objCommunication") + __properties = ["a_objCommunication"] + + class Config: + """Pydantic configuration""" + allow_population_by_field_name = True + validate_assignment = True + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.dict(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> InscriptiontempGetCommunicationListV1ResponseMPayload: + """Create an instance of InscriptiontempGetCommunicationListV1ResponseMPayload from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self): + """Returns the dictionary representation of the model using alias""" + _dict = self.dict(by_alias=True, + exclude={ + }, + 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 in self.a_obj_communication: + if _item: + _items.append(_item.to_dict()) + _dict['a_objCommunication'] = _items + return _dict + + @classmethod + def from_dict(cls, obj: dict) -> InscriptiontempGetCommunicationListV1ResponseMPayload: + """Create an instance of InscriptiontempGetCommunicationListV1ResponseMPayload from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return InscriptiontempGetCommunicationListV1ResponseMPayload.parse_obj(obj) + + _obj = InscriptiontempGetCommunicationListV1ResponseMPayload.parse_obj({ + "a_obj_communication": [CustomCommunicationListElementResponse.from_dict(_item) for _item in obj.get("a_objCommunication")] if obj.get("a_objCommunication") is not None else None + }) + return _obj + + diff --git a/eZmaxApi/models/invoice_get_communication_list_v1_response.py b/eZmaxApi/models/invoice_get_communication_list_v1_response.py new file mode 100644 index 000000000..0ebb0b483 --- /dev/null +++ b/eZmaxApi/models/invoice_get_communication_list_v1_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.0 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + + +from typing import Optional +from pydantic import BaseModel, Field +from eZmaxApi.models.common_response_obj_debug import CommonResponseObjDebug +from eZmaxApi.models.common_response_obj_debug_payload_get_list import CommonResponseObjDebugPayloadGetList +from eZmaxApi.models.invoice_get_communication_list_v1_response_m_payload import InvoiceGetCommunicationListV1ResponseMPayload + +class InvoiceGetCommunicationListV1Response(BaseModel): + """ + Response for GET /1/object/invoice/{pkiInvoiceID}/getCommunicationList # noqa: E501 + """ + obj_debug_payload: CommonResponseObjDebugPayloadGetList = Field(..., alias="objDebugPayload") + obj_debug: Optional[CommonResponseObjDebug] = Field(None, alias="objDebug") + m_payload: InvoiceGetCommunicationListV1ResponseMPayload = Field(..., alias="mPayload") + __properties = ["objDebugPayload", "objDebug", "mPayload"] + + class Config: + """Pydantic configuration""" + allow_population_by_field_name = True + validate_assignment = True + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.dict(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> InvoiceGetCommunicationListV1Response: + """Create an instance of InvoiceGetCommunicationListV1Response from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self): + """Returns the dictionary representation of the model using alias""" + _dict = self.dict(by_alias=True, + exclude={ + }, + 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: dict) -> InvoiceGetCommunicationListV1Response: + """Create an instance of InvoiceGetCommunicationListV1Response from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return InvoiceGetCommunicationListV1Response.parse_obj(obj) + + _obj = InvoiceGetCommunicationListV1Response.parse_obj({ + "obj_debug_payload": CommonResponseObjDebugPayloadGetList.from_dict(obj.get("objDebugPayload")) if obj.get("objDebugPayload") is not None else None, + "obj_debug": CommonResponseObjDebug.from_dict(obj.get("objDebug")) if obj.get("objDebug") is not None else None, + "m_payload": InvoiceGetCommunicationListV1ResponseMPayload.from_dict(obj.get("mPayload")) if obj.get("mPayload") is not None else None + }) + 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 new file mode 100644 index 000000000..c31364d78 --- /dev/null +++ b/eZmaxApi/models/invoice_get_communication_list_v1_response_m_payload.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.0 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + + +from typing import List +from pydantic import BaseModel, Field, conlist +from eZmaxApi.models.custom_communication_list_element_response import CustomCommunicationListElementResponse + +class InvoiceGetCommunicationListV1ResponseMPayload(BaseModel): + """ + Response for GET /1/object/invoice/{pkiInvoiceID}/getCommunicationList # noqa: E501 + """ + a_obj_communication: conlist(CustomCommunicationListElementResponse) = Field(..., alias="a_objCommunication") + __properties = ["a_objCommunication"] + + class Config: + """Pydantic configuration""" + allow_population_by_field_name = True + validate_assignment = True + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.dict(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> InvoiceGetCommunicationListV1ResponseMPayload: + """Create an instance of InvoiceGetCommunicationListV1ResponseMPayload from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self): + """Returns the dictionary representation of the model using alias""" + _dict = self.dict(by_alias=True, + exclude={ + }, + 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 in self.a_obj_communication: + if _item: + _items.append(_item.to_dict()) + _dict['a_objCommunication'] = _items + return _dict + + @classmethod + def from_dict(cls, obj: dict) -> InvoiceGetCommunicationListV1ResponseMPayload: + """Create an instance of InvoiceGetCommunicationListV1ResponseMPayload from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return InvoiceGetCommunicationListV1ResponseMPayload.parse_obj(obj) + + _obj = InvoiceGetCommunicationListV1ResponseMPayload.parse_obj({ + "a_obj_communication": [CustomCommunicationListElementResponse.from_dict(_item) for _item in obj.get("a_objCommunication")] if obj.get("a_objCommunication") is not None else None + }) + return _obj + + diff --git a/eZmaxApi/models/otherincome_get_communication_list_v1_response.py b/eZmaxApi/models/otherincome_get_communication_list_v1_response.py new file mode 100644 index 000000000..987a8a43a --- /dev/null +++ b/eZmaxApi/models/otherincome_get_communication_list_v1_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.0 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + + +from typing import Optional +from pydantic import BaseModel, Field +from eZmaxApi.models.common_response_obj_debug import CommonResponseObjDebug +from eZmaxApi.models.common_response_obj_debug_payload_get_list import CommonResponseObjDebugPayloadGetList +from eZmaxApi.models.otherincome_get_communication_list_v1_response_m_payload import OtherincomeGetCommunicationListV1ResponseMPayload + +class OtherincomeGetCommunicationListV1Response(BaseModel): + """ + Response for GET /1/object/otherincome/{pkiOtherincomeID}/getCommunicationList # noqa: E501 + """ + obj_debug_payload: CommonResponseObjDebugPayloadGetList = Field(..., alias="objDebugPayload") + obj_debug: Optional[CommonResponseObjDebug] = Field(None, alias="objDebug") + m_payload: OtherincomeGetCommunicationListV1ResponseMPayload = Field(..., alias="mPayload") + __properties = ["objDebugPayload", "objDebug", "mPayload"] + + class Config: + """Pydantic configuration""" + allow_population_by_field_name = True + validate_assignment = True + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.dict(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> OtherincomeGetCommunicationListV1Response: + """Create an instance of OtherincomeGetCommunicationListV1Response from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self): + """Returns the dictionary representation of the model using alias""" + _dict = self.dict(by_alias=True, + exclude={ + }, + 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: dict) -> OtherincomeGetCommunicationListV1Response: + """Create an instance of OtherincomeGetCommunicationListV1Response from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return OtherincomeGetCommunicationListV1Response.parse_obj(obj) + + _obj = OtherincomeGetCommunicationListV1Response.parse_obj({ + "obj_debug_payload": CommonResponseObjDebugPayloadGetList.from_dict(obj.get("objDebugPayload")) if obj.get("objDebugPayload") is not None else None, + "obj_debug": CommonResponseObjDebug.from_dict(obj.get("objDebug")) if obj.get("objDebug") is not None else None, + "m_payload": OtherincomeGetCommunicationListV1ResponseMPayload.from_dict(obj.get("mPayload")) if obj.get("mPayload") is not None else None + }) + 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 new file mode 100644 index 000000000..d6e7f3226 --- /dev/null +++ b/eZmaxApi/models/otherincome_get_communication_list_v1_response_m_payload.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.0 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + + +from typing import List +from pydantic import BaseModel, Field, conlist +from eZmaxApi.models.custom_communication_list_element_response import CustomCommunicationListElementResponse + +class OtherincomeGetCommunicationListV1ResponseMPayload(BaseModel): + """ + Response for GET /1/object/otherincome/{pkiOtherincomeID}/getCommunicationList # noqa: E501 + """ + a_obj_communication: conlist(CustomCommunicationListElementResponse) = Field(..., alias="a_objCommunication") + __properties = ["a_objCommunication"] + + class Config: + """Pydantic configuration""" + allow_population_by_field_name = True + validate_assignment = True + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.dict(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> OtherincomeGetCommunicationListV1ResponseMPayload: + """Create an instance of OtherincomeGetCommunicationListV1ResponseMPayload from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self): + """Returns the dictionary representation of the model using alias""" + _dict = self.dict(by_alias=True, + exclude={ + }, + 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 in self.a_obj_communication: + if _item: + _items.append(_item.to_dict()) + _dict['a_objCommunication'] = _items + return _dict + + @classmethod + def from_dict(cls, obj: dict) -> OtherincomeGetCommunicationListV1ResponseMPayload: + """Create an instance of OtherincomeGetCommunicationListV1ResponseMPayload from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return OtherincomeGetCommunicationListV1ResponseMPayload.parse_obj(obj) + + _obj = OtherincomeGetCommunicationListV1ResponseMPayload.parse_obj({ + "a_obj_communication": [CustomCommunicationListElementResponse.from_dict(_item) for _item in obj.get("a_objCommunication")] if obj.get("a_objCommunication") is not None else None + }) + return _obj + + diff --git a/eZmaxApi/models/phonestatic_response.py b/eZmaxApi/models/phonestatic_response.py deleted file mode 100644 index ce0eee9e3..000000000 --- a/eZmaxApi/models/phonestatic_response.py +++ /dev/null @@ -1,96 +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.0 - Contact: support-api@ezmax.ca - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - - -from typing import Optional -from pydantic import BaseModel, Field, conint, constr, validator - -class PhonestaticResponse(BaseModel): - """ - A Phonestatic Object # noqa: E501 - """ - pki_phonestatic_id: conint(strict=True, ge=0) = Field(..., alias="pkiPhonestaticID", description="The unique ID of the Phone.") - s_phonestatic_e164: Optional[constr(strict=True)] = Field(None, alias="sPhonestaticE164", description="A phone number in E.164 Format") - s_phonestatic_extension: Optional[constr(strict=True)] = Field(None, alias="sPhonestaticExtension", description="The extension of the phone number.") - __properties = ["pkiPhonestaticID", "sPhonestaticE164", "sPhonestaticExtension"] - - @validator('s_phonestatic_e164') - def s_phonestatic_e164_validate_regular_expression(cls, value): - """Validates the regular expression""" - if value is None: - return value - - if not re.match(r"^\+[1-9]\d{1,14}$", value): - raise ValueError(r"must validate the regular expression /^\+[1-9]\d{1,14}$/") - return value - - @validator('s_phonestatic_extension') - def s_phonestatic_extension_validate_regular_expression(cls, value): - """Validates the regular expression""" - if value is None: - return value - - if not re.match(r"^\d$", value): - raise ValueError(r"must validate the regular expression /^\d$/") - return value - - class Config: - """Pydantic configuration""" - allow_population_by_field_name = True - validate_assignment = True - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.dict(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> PhonestaticResponse: - """Create an instance of PhonestaticResponse from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self): - """Returns the dictionary representation of the model using alias""" - _dict = self.dict(by_alias=True, - exclude={ - }, - exclude_none=True) - return _dict - - @classmethod - def from_dict(cls, obj: dict) -> PhonestaticResponse: - """Create an instance of PhonestaticResponse from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return PhonestaticResponse.parse_obj(obj) - - _obj = PhonestaticResponse.parse_obj({ - "pki_phonestatic_id": obj.get("pkiPhonestaticID"), - "s_phonestatic_e164": obj.get("sPhonestaticE164"), - "s_phonestatic_extension": obj.get("sPhonestaticExtension") - }) - return _obj - - diff --git a/eZmaxApi/models/phonestatic_response_compound.py b/eZmaxApi/models/phonestatic_response_compound.py deleted file mode 100644 index c6ea7bd15..000000000 --- a/eZmaxApi/models/phonestatic_response_compound.py +++ /dev/null @@ -1,96 +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.0 - Contact: support-api@ezmax.ca - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -from __future__ import annotations -import pprint -import re # noqa: F401 -import json - - -from typing import Optional -from pydantic import BaseModel, Field, conint, constr, validator - -class PhonestaticResponseCompound(BaseModel): - """ - A Phonestatic Object and children to create a complete structure # noqa: E501 - """ - pki_phonestatic_id: conint(strict=True, ge=0) = Field(..., alias="pkiPhonestaticID", description="The unique ID of the Phone.") - s_phonestatic_e164: Optional[constr(strict=True)] = Field(None, alias="sPhonestaticE164", description="A phone number in E.164 Format") - s_phonestatic_extension: Optional[constr(strict=True)] = Field(None, alias="sPhonestaticExtension", description="The extension of the phone number.") - __properties = ["pkiPhonestaticID", "sPhonestaticE164", "sPhonestaticExtension"] - - @validator('s_phonestatic_e164') - def s_phonestatic_e164_validate_regular_expression(cls, value): - """Validates the regular expression""" - if value is None: - return value - - if not re.match(r"^\+[1-9]\d{1,14}$", value): - raise ValueError(r"must validate the regular expression /^\+[1-9]\d{1,14}$/") - return value - - @validator('s_phonestatic_extension') - def s_phonestatic_extension_validate_regular_expression(cls, value): - """Validates the regular expression""" - if value is None: - return value - - if not re.match(r"^\d$", value): - raise ValueError(r"must validate the regular expression /^\d$/") - return value - - class Config: - """Pydantic configuration""" - allow_population_by_field_name = True - validate_assignment = True - - def to_str(self) -> str: - """Returns the string representation of the model using alias""" - return pprint.pformat(self.dict(by_alias=True)) - - def to_json(self) -> str: - """Returns the JSON representation of the model using alias""" - return json.dumps(self.to_dict()) - - @classmethod - def from_json(cls, json_str: str) -> PhonestaticResponseCompound: - """Create an instance of PhonestaticResponseCompound from a JSON string""" - return cls.from_dict(json.loads(json_str)) - - def to_dict(self): - """Returns the dictionary representation of the model using alias""" - _dict = self.dict(by_alias=True, - exclude={ - }, - exclude_none=True) - return _dict - - @classmethod - def from_dict(cls, obj: dict) -> PhonestaticResponseCompound: - """Create an instance of PhonestaticResponseCompound from a dict""" - if obj is None: - return None - - if not isinstance(obj, dict): - return PhonestaticResponseCompound.parse_obj(obj) - - _obj = PhonestaticResponseCompound.parse_obj({ - "pki_phonestatic_id": obj.get("pkiPhonestaticID"), - "s_phonestatic_e164": obj.get("sPhonestaticE164"), - "s_phonestatic_extension": obj.get("sPhonestaticExtension") - }) - return _obj - - diff --git a/eZmaxApi/models/rejectedoffertopurchase_get_communication_list_v1_response.py b/eZmaxApi/models/rejectedoffertopurchase_get_communication_list_v1_response.py new file mode 100644 index 000000000..6c2d7a256 --- /dev/null +++ b/eZmaxApi/models/rejectedoffertopurchase_get_communication_list_v1_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.0 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + + +from typing import Optional +from pydantic import BaseModel, Field +from eZmaxApi.models.common_response_obj_debug import CommonResponseObjDebug +from eZmaxApi.models.common_response_obj_debug_payload_get_list import CommonResponseObjDebugPayloadGetList +from eZmaxApi.models.rejectedoffertopurchase_get_communication_list_v1_response_m_payload import RejectedoffertopurchaseGetCommunicationListV1ResponseMPayload + +class RejectedoffertopurchaseGetCommunicationListV1Response(BaseModel): + """ + Response for GET /1/object/rejectedoffertopurchase/{pkiRejectedoffertopurchaseID}/getCommunicationList # noqa: E501 + """ + obj_debug_payload: CommonResponseObjDebugPayloadGetList = Field(..., alias="objDebugPayload") + obj_debug: Optional[CommonResponseObjDebug] = Field(None, alias="objDebug") + m_payload: RejectedoffertopurchaseGetCommunicationListV1ResponseMPayload = Field(..., alias="mPayload") + __properties = ["objDebugPayload", "objDebug", "mPayload"] + + class Config: + """Pydantic configuration""" + allow_population_by_field_name = True + validate_assignment = True + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.dict(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> RejectedoffertopurchaseGetCommunicationListV1Response: + """Create an instance of RejectedoffertopurchaseGetCommunicationListV1Response from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self): + """Returns the dictionary representation of the model using alias""" + _dict = self.dict(by_alias=True, + exclude={ + }, + 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: dict) -> RejectedoffertopurchaseGetCommunicationListV1Response: + """Create an instance of RejectedoffertopurchaseGetCommunicationListV1Response from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return RejectedoffertopurchaseGetCommunicationListV1Response.parse_obj(obj) + + _obj = RejectedoffertopurchaseGetCommunicationListV1Response.parse_obj({ + "obj_debug_payload": CommonResponseObjDebugPayloadGetList.from_dict(obj.get("objDebugPayload")) if obj.get("objDebugPayload") is not None else None, + "obj_debug": CommonResponseObjDebug.from_dict(obj.get("objDebug")) if obj.get("objDebug") is not None else None, + "m_payload": RejectedoffertopurchaseGetCommunicationListV1ResponseMPayload.from_dict(obj.get("mPayload")) if obj.get("mPayload") is not None else None + }) + 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 new file mode 100644 index 000000000..46c486897 --- /dev/null +++ b/eZmaxApi/models/rejectedoffertopurchase_get_communication_list_v1_response_m_payload.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.0 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +from __future__ import annotations +import pprint +import re # noqa: F401 +import json + + +from typing import List +from pydantic import BaseModel, Field, conlist +from eZmaxApi.models.custom_communication_list_element_response import CustomCommunicationListElementResponse + +class RejectedoffertopurchaseGetCommunicationListV1ResponseMPayload(BaseModel): + """ + Response for GET /1/object/rejectedoffertopurchase/{pkiRejectedoffertopurchaseID}/getCommunicationList # noqa: E501 + """ + a_obj_communication: conlist(CustomCommunicationListElementResponse) = Field(..., alias="a_objCommunication") + __properties = ["a_objCommunication"] + + class Config: + """Pydantic configuration""" + allow_population_by_field_name = True + validate_assignment = True + + def to_str(self) -> str: + """Returns the string representation of the model using alias""" + return pprint.pformat(self.dict(by_alias=True)) + + def to_json(self) -> str: + """Returns the JSON representation of the model using alias""" + return json.dumps(self.to_dict()) + + @classmethod + def from_json(cls, json_str: str) -> RejectedoffertopurchaseGetCommunicationListV1ResponseMPayload: + """Create an instance of RejectedoffertopurchaseGetCommunicationListV1ResponseMPayload from a JSON string""" + return cls.from_dict(json.loads(json_str)) + + def to_dict(self): + """Returns the dictionary representation of the model using alias""" + _dict = self.dict(by_alias=True, + exclude={ + }, + 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 in self.a_obj_communication: + if _item: + _items.append(_item.to_dict()) + _dict['a_objCommunication'] = _items + return _dict + + @classmethod + def from_dict(cls, obj: dict) -> RejectedoffertopurchaseGetCommunicationListV1ResponseMPayload: + """Create an instance of RejectedoffertopurchaseGetCommunicationListV1ResponseMPayload from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return RejectedoffertopurchaseGetCommunicationListV1ResponseMPayload.parse_obj(obj) + + _obj = RejectedoffertopurchaseGetCommunicationListV1ResponseMPayload.parse_obj({ + "a_obj_communication": [CustomCommunicationListElementResponse.from_dict(_item) for _item in obj.get("a_objCommunication")] if obj.get("a_objCommunication") is not None else None + }) + return _obj + + diff --git a/eZmaxApi/models/secretquestion_autocomplete_element_response.py b/eZmaxApi/models/secretquestion_autocomplete_element_response.py index 63e1d1744..2d4715854 100644 --- a/eZmaxApi/models/secretquestion_autocomplete_element_response.py +++ b/eZmaxApi/models/secretquestion_autocomplete_element_response.py @@ -27,7 +27,7 @@ class SecretquestionAutocompleteElementResponse(BaseModel): A Secretquestion AutocompleteElement Response # noqa: E501 """ s_secretquestion_text_x: StrictStr = Field(..., alias="sSecretquestionTextX", description="The text of the Secretquestion in the language of the requester") - pki_secretquestion_id: conint(strict=True, ge=0) = Field(..., alias="pkiSecretquestionID", 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)|") + pki_secretquestion_id: conint(strict=True, ge=0) = Field(..., alias="pkiSecretquestionID", 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|") b_secretquestion_isactive: StrictBool = Field(..., alias="bSecretquestionIsactive", description="Whether the Secretquestion is active or not") __properties = ["sSecretquestionTextX", "pkiSecretquestionID", "bSecretquestionIsactive"] diff --git a/eZmaxApi/models/sessionhistory_list_element.py b/eZmaxApi/models/sessionhistory_list_element.py index 43025a057..a46152df2 100644 --- a/eZmaxApi/models/sessionhistory_list_element.py +++ b/eZmaxApi/models/sessionhistory_list_element.py @@ -76,8 +76,8 @@ def s_user_loginname_validate_regular_expression(cls, value): if value is None: return value - if not re.match(r"^(?:([\w\.-]+@[\w\.-]+\.\w{2,4})|([a-zA-Z0-9]){1,32})$", value): - raise ValueError(r"must validate the regular expression /^(?:([\w\.-]+@[\w\.-]+\.\w{2,4})|([a-zA-Z0-9]){1,32})$/") + if not re.match(r"^(?:([\w\.-]+@[\w\.-]+\.\w{2,20})|([a-zA-Z0-9]){1,32})$", value): + raise ValueError(r"must validate the regular expression /^(?:([\w\.-]+@[\w\.-]+\.\w{2,20})|([a-zA-Z0-9]){1,32})$/") return value class Config: diff --git a/eZmaxApi/models/user_list_element.py b/eZmaxApi/models/user_list_element.py index 2d1f4bb9f..239db2736 100644 --- a/eZmaxApi/models/user_list_element.py +++ b/eZmaxApi/models/user_list_element.py @@ -44,8 +44,8 @@ class UserListElement(BaseModel): @validator('s_user_loginname') def s_user_loginname_validate_regular_expression(cls, value): """Validates the regular expression""" - if not re.match(r"^(?:([\w\.-]+@[\w\.-]+\.\w{2,4})|([a-zA-Z0-9]){1,32})$", value): - raise ValueError(r"must validate the regular expression /^(?:([\w\.-]+@[\w\.-]+\.\w{2,4})|([a-zA-Z0-9]){1,32})$/") + if not re.match(r"^(?:([\w\.-]+@[\w\.-]+\.\w{2,20})|([a-zA-Z0-9]){1,32})$", value): + raise ValueError(r"must validate the regular expression /^(?:([\w\.-]+@[\w\.-]+\.\w{2,20})|([a-zA-Z0-9]){1,32})$/") return value @validator('dt_user_ezsignprepaidexpiration') diff --git a/eZmaxApi/models/user_request.py b/eZmaxApi/models/user_request.py index b6dabeb49..d4ceda391 100644 --- a/eZmaxApi/models/user_request.py +++ b/eZmaxApi/models/user_request.py @@ -44,7 +44,7 @@ class UserRequest(BaseModel): fki_billingentityinternal_id: conint(strict=True, ge=0) = Field(..., alias="fkiBillingentityinternalID", description="The unique ID of the Billingentityinternal.") obj_phone_home: Optional[PhoneRequestCompound] = Field(None, alias="objPhoneHome") obj_phone_sms: Optional[PhoneRequestCompound] = Field(None, alias="objPhoneSMS") - fki_secretquestion_id: Optional[conint(strict=True, ge=0)] = Field(None, alias="fkiSecretquestionID", 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)|") + fki_secretquestion_id: Optional[conint(strict=True, ge=0)] = Field(None, alias="fkiSecretquestionID", 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|") s_user_secretresponse: Optional[StrictStr] = Field(None, alias="sUserSecretresponse", description="The answer to the Secretquestion") fki_module_id_form: Optional[conint(strict=True, ge=0)] = Field(None, alias="fkiModuleIDForm", description="The unique ID of the Module") e_user_type: FieldEUserType = Field(..., alias="eUserType") @@ -63,8 +63,8 @@ class UserRequest(BaseModel): @validator('s_user_loginname') def s_user_loginname_validate_regular_expression(cls, value): """Validates the regular expression""" - if not re.match(r"^(?:([\w\.-]+@[\w\.-]+\.\w{2,4})|([a-zA-Z0-9]){1,32})$", value): - raise ValueError(r"must validate the regular expression /^(?:([\w\.-]+@[\w\.-]+\.\w{2,4})|([a-zA-Z0-9]){1,32})$/") + if not re.match(r"^(?:([\w\.-]+@[\w\.-]+\.\w{2,20})|([a-zA-Z0-9]){1,32})$", value): + raise ValueError(r"must validate the regular expression /^(?:([\w\.-]+@[\w\.-]+\.\w{2,20})|([a-zA-Z0-9]){1,32})$/") return value class Config: diff --git a/eZmaxApi/models/user_request_compound.py b/eZmaxApi/models/user_request_compound.py index 494d4b687..6a6b4d57b 100644 --- a/eZmaxApi/models/user_request_compound.py +++ b/eZmaxApi/models/user_request_compound.py @@ -44,7 +44,7 @@ class UserRequestCompound(BaseModel): fki_billingentityinternal_id: conint(strict=True, ge=0) = Field(..., alias="fkiBillingentityinternalID", description="The unique ID of the Billingentityinternal.") obj_phone_home: Optional[PhoneRequestCompound] = Field(None, alias="objPhoneHome") obj_phone_sms: Optional[PhoneRequestCompound] = Field(None, alias="objPhoneSMS") - fki_secretquestion_id: Optional[conint(strict=True, ge=0)] = Field(None, alias="fkiSecretquestionID", 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)|") + fki_secretquestion_id: Optional[conint(strict=True, ge=0)] = Field(None, alias="fkiSecretquestionID", 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|") s_user_secretresponse: Optional[StrictStr] = Field(None, alias="sUserSecretresponse", description="The answer to the Secretquestion") fki_module_id_form: Optional[conint(strict=True, ge=0)] = Field(None, alias="fkiModuleIDForm", description="The unique ID of the Module") e_user_type: FieldEUserType = Field(..., alias="eUserType") @@ -63,8 +63,8 @@ class UserRequestCompound(BaseModel): @validator('s_user_loginname') def s_user_loginname_validate_regular_expression(cls, value): """Validates the regular expression""" - if not re.match(r"^(?:([\w\.-]+@[\w\.-]+\.\w{2,4})|([a-zA-Z0-9]){1,32})$", value): - raise ValueError(r"must validate the regular expression /^(?:([\w\.-]+@[\w\.-]+\.\w{2,4})|([a-zA-Z0-9]){1,32})$/") + if not re.match(r"^(?:([\w\.-]+@[\w\.-]+\.\w{2,20})|([a-zA-Z0-9]){1,32})$", value): + raise ValueError(r"must validate the regular expression /^(?:([\w\.-]+@[\w\.-]+\.\w{2,20})|([a-zA-Z0-9]){1,32})$/") return value class Config: diff --git a/eZmaxApi/models/user_response.py b/eZmaxApi/models/user_response.py index 8b061e207..33f69ab9b 100644 --- a/eZmaxApi/models/user_response.py +++ b/eZmaxApi/models/user_response.py @@ -51,7 +51,7 @@ class UserResponse(BaseModel): s_billingentityinternal_description_x: StrictStr = Field(..., alias="sBillingentityinternalDescriptionX", description="The description of the Billingentityinternal in the language of the requester") obj_phone_home: Optional[PhoneResponseCompound] = Field(None, alias="objPhoneHome") obj_phone_sms: Optional[PhoneResponseCompound] = Field(None, alias="objPhoneSMS") - fki_secretquestion_id: Optional[conint(strict=True, ge=0)] = Field(None, alias="fkiSecretquestionID", 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)|") + fki_secretquestion_id: Optional[conint(strict=True, ge=0)] = Field(None, alias="fkiSecretquestionID", 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|") fki_module_id_form: Optional[conint(strict=True, ge=0)] = Field(None, alias="fkiModuleIDForm", description="The unique ID of the Module") s_module_name_x: Optional[StrictStr] = Field(None, alias="sModuleNameX", description="The Name of the Module in the language of the requester") e_user_origin: FieldEUserOrigin = Field(..., alias="eUserOrigin") @@ -75,8 +75,8 @@ class UserResponse(BaseModel): @validator('s_user_loginname') def s_user_loginname_validate_regular_expression(cls, value): """Validates the regular expression""" - if not re.match(r"^(?:([\w\.-]+@[\w\.-]+\.\w{2,4})|([a-zA-Z0-9]){1,32})$", value): - raise ValueError(r"must validate the regular expression /^(?:([\w\.-]+@[\w\.-]+\.\w{2,4})|([a-zA-Z0-9]){1,32})$/") + if not re.match(r"^(?:([\w\.-]+@[\w\.-]+\.\w{2,20})|([a-zA-Z0-9]){1,32})$", value): + raise ValueError(r"must validate the regular expression /^(?:([\w\.-]+@[\w\.-]+\.\w{2,20})|([a-zA-Z0-9]){1,32})$/") return value @validator('dt_user_lastlogondate') diff --git a/eZmaxApi/models/user_response_compound.py b/eZmaxApi/models/user_response_compound.py index 7de6bcf94..e44e186fb 100644 --- a/eZmaxApi/models/user_response_compound.py +++ b/eZmaxApi/models/user_response_compound.py @@ -51,7 +51,7 @@ class UserResponseCompound(BaseModel): s_billingentityinternal_description_x: StrictStr = Field(..., alias="sBillingentityinternalDescriptionX", description="The description of the Billingentityinternal in the language of the requester") obj_phone_home: Optional[PhoneResponseCompound] = Field(None, alias="objPhoneHome") obj_phone_sms: Optional[PhoneResponseCompound] = Field(None, alias="objPhoneSMS") - fki_secretquestion_id: Optional[conint(strict=True, ge=0)] = Field(None, alias="fkiSecretquestionID", 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)|") + fki_secretquestion_id: Optional[conint(strict=True, ge=0)] = Field(None, alias="fkiSecretquestionID", 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|") fki_module_id_form: Optional[conint(strict=True, ge=0)] = Field(None, alias="fkiModuleIDForm", description="The unique ID of the Module") s_module_name_x: Optional[StrictStr] = Field(None, alias="sModuleNameX", description="The Name of the Module in the language of the requester") e_user_origin: FieldEUserOrigin = Field(..., alias="eUserOrigin") @@ -75,8 +75,8 @@ class UserResponseCompound(BaseModel): @validator('s_user_loginname') def s_user_loginname_validate_regular_expression(cls, value): """Validates the regular expression""" - if not re.match(r"^(?:([\w\.-]+@[\w\.-]+\.\w{2,4})|([a-zA-Z0-9]){1,32})$", value): - raise ValueError(r"must validate the regular expression /^(?:([\w\.-]+@[\w\.-]+\.\w{2,4})|([a-zA-Z0-9]){1,32})$/") + if not re.match(r"^(?:([\w\.-]+@[\w\.-]+\.\w{2,20})|([a-zA-Z0-9]){1,32})$", value): + raise ValueError(r"must validate the regular expression /^(?:([\w\.-]+@[\w\.-]+\.\w{2,20})|([a-zA-Z0-9]){1,32})$/") return value @validator('dt_user_lastlogondate') diff --git a/eZmaxApi/models/usergroupdelegation_response.py b/eZmaxApi/models/usergroupdelegation_response.py index 9d7b6bfcd..8d0b7687c 100644 --- a/eZmaxApi/models/usergroupdelegation_response.py +++ b/eZmaxApi/models/usergroupdelegation_response.py @@ -39,8 +39,8 @@ class UsergroupdelegationResponse(BaseModel): @validator('s_user_loginname') def s_user_loginname_validate_regular_expression(cls, value): """Validates the regular expression""" - if not re.match(r"^(?:([\w\.-]+@[\w\.-]+\.\w{2,4})|([a-zA-Z0-9]){1,32})$", value): - raise ValueError(r"must validate the regular expression /^(?:([\w\.-]+@[\w\.-]+\.\w{2,4})|([a-zA-Z0-9]){1,32})$/") + if not re.match(r"^(?:([\w\.-]+@[\w\.-]+\.\w{2,20})|([a-zA-Z0-9]){1,32})$", value): + raise ValueError(r"must validate the regular expression /^(?:([\w\.-]+@[\w\.-]+\.\w{2,20})|([a-zA-Z0-9]){1,32})$/") return value @validator('s_usergroup_name_x') diff --git a/eZmaxApi/models/usergroupdelegation_response_compound.py b/eZmaxApi/models/usergroupdelegation_response_compound.py index a53fc5d69..f50af72e6 100644 --- a/eZmaxApi/models/usergroupdelegation_response_compound.py +++ b/eZmaxApi/models/usergroupdelegation_response_compound.py @@ -39,8 +39,8 @@ class UsergroupdelegationResponseCompound(BaseModel): @validator('s_user_loginname') def s_user_loginname_validate_regular_expression(cls, value): """Validates the regular expression""" - if not re.match(r"^(?:([\w\.-]+@[\w\.-]+\.\w{2,4})|([a-zA-Z0-9]){1,32})$", value): - raise ValueError(r"must validate the regular expression /^(?:([\w\.-]+@[\w\.-]+\.\w{2,4})|([a-zA-Z0-9]){1,32})$/") + if not re.match(r"^(?:([\w\.-]+@[\w\.-]+\.\w{2,20})|([a-zA-Z0-9]){1,32})$", value): + raise ValueError(r"must validate the regular expression /^(?:([\w\.-]+@[\w\.-]+\.\w{2,20})|([a-zA-Z0-9]){1,32})$/") return value @validator('s_usergroup_name_x') diff --git a/eZmaxApi/models/usergroupmembership_response.py b/eZmaxApi/models/usergroupmembership_response.py index c978c709b..08968fe63 100644 --- a/eZmaxApi/models/usergroupmembership_response.py +++ b/eZmaxApi/models/usergroupmembership_response.py @@ -39,8 +39,8 @@ class UsergroupmembershipResponse(BaseModel): @validator('s_user_loginname') def s_user_loginname_validate_regular_expression(cls, value): """Validates the regular expression""" - if not re.match(r"^(?:([\w\.-]+@[\w\.-]+\.\w{2,4})|([a-zA-Z0-9]){1,32})$", value): - raise ValueError(r"must validate the regular expression /^(?:([\w\.-]+@[\w\.-]+\.\w{2,4})|([a-zA-Z0-9]){1,32})$/") + if not re.match(r"^(?:([\w\.-]+@[\w\.-]+\.\w{2,20})|([a-zA-Z0-9]){1,32})$", value): + raise ValueError(r"must validate the regular expression /^(?:([\w\.-]+@[\w\.-]+\.\w{2,20})|([a-zA-Z0-9]){1,32})$/") return value @validator('s_usergroup_name_x') diff --git a/eZmaxApi/models/usergroupmembership_response_compound.py b/eZmaxApi/models/usergroupmembership_response_compound.py index af603dbb3..1180f9a91 100644 --- a/eZmaxApi/models/usergroupmembership_response_compound.py +++ b/eZmaxApi/models/usergroupmembership_response_compound.py @@ -39,8 +39,8 @@ class UsergroupmembershipResponseCompound(BaseModel): @validator('s_user_loginname') def s_user_loginname_validate_regular_expression(cls, value): """Validates the regular expression""" - if not re.match(r"^(?:([\w\.-]+@[\w\.-]+\.\w{2,4})|([a-zA-Z0-9]){1,32})$", value): - raise ValueError(r"must validate the regular expression /^(?:([\w\.-]+@[\w\.-]+\.\w{2,4})|([a-zA-Z0-9]){1,32})$/") + if not re.match(r"^(?:([\w\.-]+@[\w\.-]+\.\w{2,20})|([a-zA-Z0-9]){1,32})$", value): + raise ValueError(r"must validate the regular expression /^(?:([\w\.-]+@[\w\.-]+\.\w{2,20})|([a-zA-Z0-9]){1,32})$/") return value @validator('s_usergroup_name_x') diff --git a/eZmaxApi/models/webhook_response.py b/eZmaxApi/models/webhook_response.py index 4f91d0eb8..432bac88d 100644 --- a/eZmaxApi/models/webhook_response.py +++ b/eZmaxApi/models/webhook_response.py @@ -38,7 +38,7 @@ class WebhookResponse(BaseModel): e_webhook_managementevent: Optional[FieldEWebhookManagementevent] = Field(None, alias="eWebhookManagementevent") s_webhook_url: StrictStr = Field(..., alias="sWebhookUrl", description="The URL of the Webhook callback") s_webhook_emailfailed: StrictStr = Field(..., alias="sWebhookEmailfailed", description="The email that will receive the Webhook in case all attempts fail") - b_webhook_isactive: Optional[StrictBool] = Field(None, alias="bWebhookIsactive", description="Whether the Webhook is active or not") + b_webhook_isactive: StrictBool = Field(..., alias="bWebhookIsactive", description="Whether the Webhook is active or not") b_webhook_skipsslvalidation: StrictBool = Field(..., alias="bWebhookSkipsslvalidation", description="Wheter the server's SSL certificate should be validated or not. Not recommended to skip for production use") __properties = ["pkiWebhookID", "sWebhookDescription", "fkiEzsignfoldertypeID", "sEzsignfoldertypeNameX", "eWebhookModule", "eWebhookEzsignevent", "eWebhookManagementevent", "sWebhookUrl", "sWebhookEmailfailed", "bWebhookIsactive", "bWebhookSkipsslvalidation"] diff --git a/eZmaxApi/models/webhook_response_compound.py b/eZmaxApi/models/webhook_response_compound.py index 320db18d2..a84853405 100644 --- a/eZmaxApi/models/webhook_response_compound.py +++ b/eZmaxApi/models/webhook_response_compound.py @@ -38,7 +38,7 @@ class WebhookResponseCompound(BaseModel): e_webhook_managementevent: Optional[FieldEWebhookManagementevent] = Field(None, alias="eWebhookManagementevent") s_webhook_url: StrictStr = Field(..., alias="sWebhookUrl", description="The URL of the Webhook callback") s_webhook_emailfailed: StrictStr = Field(..., alias="sWebhookEmailfailed", description="The email that will receive the Webhook in case all attempts fail") - b_webhook_isactive: Optional[StrictBool] = Field(None, alias="bWebhookIsactive", description="Whether the Webhook is active or not") + b_webhook_isactive: StrictBool = Field(..., alias="bWebhookIsactive", description="Whether the Webhook is active or not") b_webhook_skipsslvalidation: StrictBool = Field(..., alias="bWebhookSkipsslvalidation", description="Wheter the server's SSL certificate should be validated or not. Not recommended to skip for production use") s_webhook_event: Optional[StrictStr] = Field(None, alias="sWebhookEvent", description="The concatenated string to describe the Webhook event") __properties = ["pkiWebhookID", "sWebhookDescription", "fkiEzsignfoldertypeID", "sEzsignfoldertypeNameX", "eWebhookModule", "eWebhookEzsignevent", "eWebhookManagementevent", "sWebhookUrl", "sWebhookEmailfailed", "bWebhookIsactive", "bWebhookSkipsslvalidation", "sWebhookEvent"] diff --git a/test/test_attachment_download_v1_response.py b/test/test_attachment_download_v1_response.py new file mode 100644 index 000000000..5ff517bec --- /dev/null +++ b/test/test_attachment_download_v1_response.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.0 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest +import datetime + +from eZmaxApi.models.attachment_download_v1_response import AttachmentDownloadV1Response # noqa: E501 + +class TestAttachmentDownloadV1Response(unittest.TestCase): + """AttachmentDownloadV1Response unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> AttachmentDownloadV1Response: + """Test AttachmentDownloadV1Response + 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 `AttachmentDownloadV1Response` + """ + model = AttachmentDownloadV1Response() # noqa: E501 + if include_optional: + return AttachmentDownloadV1Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, ), + 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 AttachmentDownloadV1Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, ), + ) + """ + + def testAttachmentDownloadV1Response(self): + """Test AttachmentDownloadV1Response""" + # inst_req_only = self.make_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 new file mode 100644 index 000000000..e312708a8 --- /dev/null +++ b/test/test_buyercontract_get_communication_list_v1_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.0 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest +import datetime + +from eZmaxApi.models.buyercontract_get_communication_list_v1_response import BuyercontractGetCommunicationListV1Response # noqa: E501 + +class TestBuyercontractGetCommunicationListV1Response(unittest.TestCase): + """BuyercontractGetCommunicationListV1Response unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> BuyercontractGetCommunicationListV1Response: + """Test BuyercontractGetCommunicationListV1Response + 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 `BuyercontractGetCommunicationListV1Response` + """ + model = BuyercontractGetCommunicationListV1Response() # noqa: E501 + if include_optional: + return BuyercontractGetCommunicationListV1Response( + 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.buyercontract_get_communication_list_v1_response_m_payload.buyercontract-getCommunicationList-v1-Response-mPayload() + ) + else: + return BuyercontractGetCommunicationListV1Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload_get_list.Common-Response-objDebugPayload_getList(), + m_payload = eZmaxApi.models.buyercontract_get_communication_list_v1_response_m_payload.buyercontract-getCommunicationList-v1-Response-mPayload(), + ) + """ + + def testBuyercontractGetCommunicationListV1Response(self): + """Test BuyercontractGetCommunicationListV1Response""" + # inst_req_only = self.make_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_m_payload.py b/test/test_buyercontract_get_communication_list_v1_response_m_payload.py new file mode 100644 index 000000000..4d5acab20 --- /dev/null +++ b/test/test_buyercontract_get_communication_list_v1_response_m_payload.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.0 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest +import datetime + +from eZmaxApi.models.buyercontract_get_communication_list_v1_response_m_payload import BuyercontractGetCommunicationListV1ResponseMPayload # noqa: E501 + +class TestBuyercontractGetCommunicationListV1ResponseMPayload(unittest.TestCase): + """BuyercontractGetCommunicationListV1ResponseMPayload unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> BuyercontractGetCommunicationListV1ResponseMPayload: + """Test BuyercontractGetCommunicationListV1ResponseMPayload + 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 `BuyercontractGetCommunicationListV1ResponseMPayload` + """ + model = BuyercontractGetCommunicationListV1ResponseMPayload() # noqa: E501 + if include_optional: + return BuyercontractGetCommunicationListV1ResponseMPayload( + 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 BuyercontractGetCommunicationListV1ResponseMPayload( + 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 testBuyercontractGetCommunicationListV1ResponseMPayload(self): + """Test BuyercontractGetCommunicationListV1ResponseMPayload""" + # inst_req_only = self.make_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_create_object_v1_response_m_payload.py b/test/test_communication_create_object_v1_response_m_payload.py new file mode 100644 index 000000000..bc26363a3 --- /dev/null +++ b/test/test_communication_create_object_v1_response_m_payload.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.0 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest +import datetime + +from eZmaxApi.models.communication_create_object_v1_response_m_payload import CommunicationCreateObjectV1ResponseMPayload # noqa: E501 + +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() # noqa: E501 + 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_get_object_v2_response_m_payload.py b/test/test_communication_get_object_v2_response_m_payload.py deleted file mode 100644 index 5162f14ba..000000000 --- a/test/test_communication_get_object_v2_response_m_payload.py +++ /dev/null @@ -1,54 +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.0 - Contact: support-api@ezmax.ca - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest -import datetime - -from eZmaxApi.models.communication_get_object_v2_response_m_payload import CommunicationGetObjectV2ResponseMPayload # noqa: E501 - -class TestCommunicationGetObjectV2ResponseMPayload(unittest.TestCase): - """CommunicationGetObjectV2ResponseMPayload unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> CommunicationGetObjectV2ResponseMPayload: - """Test CommunicationGetObjectV2ResponseMPayload - 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 `CommunicationGetObjectV2ResponseMPayload` - """ - model = CommunicationGetObjectV2ResponseMPayload() # noqa: E501 - if include_optional: - return CommunicationGetObjectV2ResponseMPayload( - obj_communication = eZmaxApi.models.communication_response_compound.communication-ResponseCompound() - ) - else: - return CommunicationGetObjectV2ResponseMPayload( - obj_communication = eZmaxApi.models.communication_response_compound.communication-ResponseCompound(), - ) - """ - - def testCommunicationGetObjectV2ResponseMPayload(self): - """Test CommunicationGetObjectV2ResponseMPayload""" - # inst_req_only = self.make_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 new file mode 100644 index 000000000..f9ceebc13 --- /dev/null +++ b/test/test_communication_request.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.0 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest +import datetime + +from eZmaxApi.models.communication_request import CommunicationRequest # noqa: E501 + +class TestCommunicationRequest(unittest.TestCase): + """CommunicationRequest unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> CommunicationRequest: + """Test CommunicationRequest + 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 `CommunicationRequest` + """ + model = CommunicationRequest() # noqa: E501 + if include_optional: + return CommunicationRequest( + pki_communication_id = 1, + e_communication_importance = 'Normal', + e_communication_type = 'Email', + obj_communicationsender = eZmaxApi.models.custom_communicationsender_request.Custom-Communicationsender-Request( + fki_agent_id = 1, + fki_broker_id = 26, + fki_mailboxshared_id = 47, + fki_user_id = 70, ), + s_communication_subject = 'This is an example of subject', + t_communication_body = '', + b_communication_private = False, + e_communication_attachmenttype = 'Attachment', + i_communication_attachmentlinkexpiration = 1, + b_communication_readreceipt = True + ) + else: + return CommunicationRequest( + e_communication_type = 'Email', + t_communication_body = '', + b_communication_private = False, + ) + """ + + def testCommunicationRequest(self): + """Test CommunicationRequest""" + # inst_req_only = self.make_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_compound.py b/test/test_communication_request_compound.py new file mode 100644 index 000000000..a8986adbe --- /dev/null +++ b/test/test_communication_request_compound.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.0 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest +import datetime + +from eZmaxApi.models.communication_request_compound import CommunicationRequestCompound # noqa: E501 + +class TestCommunicationRequestCompound(unittest.TestCase): + """CommunicationRequestCompound unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> CommunicationRequestCompound: + """Test CommunicationRequestCompound + 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 `CommunicationRequestCompound` + """ + model = CommunicationRequestCompound() # noqa: E501 + if include_optional: + return CommunicationRequestCompound( + pki_communication_id = 1, + e_communication_importance = 'Normal', + e_communication_type = 'Email', + obj_communicationsender = eZmaxApi.models.custom_communicationsender_request.Custom-Communicationsender-Request( + fki_agent_id = 1, + fki_broker_id = 26, + fki_mailboxshared_id = 47, + fki_user_id = 70, ), + s_communication_subject = 'This is an example of subject', + t_communication_body = '', + b_communication_private = False, + e_communication_attachmenttype = 'Attachment', + i_communication_attachmentlinkexpiration = 1, + b_communication_readreceipt = True, + a_obj_communicationattachment = [ + eZmaxApi.models.custom_communicationattachment_request.Custom-Communicationattachment-Request( + obj_communicationattachment = eZmaxApi.models.communicationattachment_request_compound.communicationattachment-RequestCompound(), + obj_communicationexternalattachment = eZmaxApi.models.common_file.Common-File( + s_file_name = 'example.pdf', + s_file_url = '', + s_file_base64 = '[B@64337702', + e_file_source = 'Base64', ), ) + ], + a_obj_communicationrecipient = [ + eZmaxApi.models.communicationrecipient_request_compound.communicationrecipient-RequestCompound() + ], + a_obj_communicationreference = [ + eZmaxApi.models.communicationreference_request_compound.communicationreference-RequestCompound() + ], + a_obj_communicationexternalrecipient = [ + eZmaxApi.models.communicationexternalrecipient_request_compound.communicationexternalrecipient-RequestCompound() + ] + ) + else: + return CommunicationRequestCompound( + e_communication_type = 'Email', + t_communication_body = '', + b_communication_private = False, + a_obj_communicationattachment = [ + eZmaxApi.models.custom_communicationattachment_request.Custom-Communicationattachment-Request( + obj_communicationattachment = eZmaxApi.models.communicationattachment_request_compound.communicationattachment-RequestCompound(), + obj_communicationexternalattachment = eZmaxApi.models.common_file.Common-File( + s_file_name = 'example.pdf', + s_file_url = '', + s_file_base64 = '[B@64337702', + e_file_source = 'Base64', ), ) + ], + a_obj_communicationrecipient = [ + eZmaxApi.models.communicationrecipient_request_compound.communicationrecipient-RequestCompound() + ], + a_obj_communicationreference = [ + eZmaxApi.models.communicationreference_request_compound.communicationreference-RequestCompound() + ], + a_obj_communicationexternalrecipient = [ + eZmaxApi.models.communicationexternalrecipient_request_compound.communicationexternalrecipient-RequestCompound() + ], + ) + """ + + def testCommunicationRequestCompound(self): + """Test CommunicationRequestCompound""" + # inst_req_only = self.make_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_response.py b/test/test_communication_response.py deleted file mode 100644 index ad87d9e55..000000000 --- a/test/test_communication_response.py +++ /dev/null @@ -1,111 +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.0 - Contact: support-api@ezmax.ca - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest -import datetime - -from eZmaxApi.models.communication_response import CommunicationResponse # noqa: E501 - -class TestCommunicationResponse(unittest.TestCase): - """CommunicationResponse unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> CommunicationResponse: - """Test CommunicationResponse - 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 `CommunicationResponse` - """ - model = CommunicationResponse() # noqa: E501 - if include_optional: - return CommunicationResponse( - pki_communication_id = 1, - e_communication_importance = 'Normal', - e_communication_type = 'Email', - s_communication_subject = 'This is an example of subject', - s_communication_bodyurl = 'http://www.example.com/4526.html', - e_communication_direction = 'Outbound', - i_communicationrecipient_count = 8, - b_communication_private = False, - obj_descriptionstatic_sender = eZmaxApi.models.descriptionstatic_response.descriptionstatic-Response( - pki_descriptionstatic_id = 37, - s_descriptionstatic_description = 'Static description', ), - obj_emailstatic_sender = eZmaxApi.models.emailstatic_response.emailstatic-Response( - pki_emailstatic_id = 99, - s_emailstatic_address = 'email@example.com', ), - obj_phonestatic_sender = eZmaxApi.models.phonestatic_response.phonestatic-Response( - pki_phonestatic_id = 1, - s_phonestatic_e164 = '+15149901516', - s_phonestatic_extension = '123', ), - 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 CommunicationResponse( - pki_communication_id = 1, - e_communication_importance = 'Normal', - e_communication_type = 'Email', - s_communication_subject = 'This is an example of subject', - e_communication_direction = 'Outbound', - i_communicationrecipient_count = 8, - b_communication_private = False, - 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 testCommunicationResponse(self): - """Test CommunicationResponse""" - # inst_req_only = self.make_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_response_compound.py b/test/test_communication_response_compound.py deleted file mode 100644 index 741b055cb..000000000 --- a/test/test_communication_response_compound.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.0 - Contact: support-api@ezmax.ca - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest -import datetime - -from eZmaxApi.models.communication_response_compound import CommunicationResponseCompound # noqa: E501 - -class TestCommunicationResponseCompound(unittest.TestCase): - """CommunicationResponseCompound unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> CommunicationResponseCompound: - """Test CommunicationResponseCompound - 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 `CommunicationResponseCompound` - """ - model = CommunicationResponseCompound() # noqa: E501 - if include_optional: - return CommunicationResponseCompound( - pki_communication_id = 1, - e_communication_importance = 'Normal', - e_communication_type = 'Email', - s_communication_subject = 'This is an example of subject', - s_communication_bodyurl = 'http://www.example.com/4526.html', - e_communication_direction = 'Outbound', - i_communicationrecipient_count = 8, - b_communication_private = False, - obj_descriptionstatic_sender = eZmaxApi.models.descriptionstatic_response.descriptionstatic-Response( - pki_descriptionstatic_id = 37, - s_descriptionstatic_description = 'Static description', ), - obj_emailstatic_sender = eZmaxApi.models.emailstatic_response.emailstatic-Response( - pki_emailstatic_id = 99, - s_emailstatic_address = 'email@example.com', ), - obj_phonestatic_sender = eZmaxApi.models.phonestatic_response.phonestatic-Response( - pki_phonestatic_id = 1, - s_phonestatic_e164 = '+15149901516', - s_phonestatic_extension = '123', ), - 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_communicationattachment = [ - eZmaxApi.models.communicationattachment_response_compound.communicationattachment-ResponseCompound() - ], - a_obj_communicationrecipient = [ - eZmaxApi.models.communicationrecipient_response_compound.communicationrecipient-ResponseCompound() - ], - a_obj_communicationexternalrecipient = [ - eZmaxApi.models.communicationexternalrecipient_response_compound.communicationexternalrecipient-ResponseCompound() - ] - ) - else: - return CommunicationResponseCompound( - pki_communication_id = 1, - e_communication_importance = 'Normal', - e_communication_type = 'Email', - s_communication_subject = 'This is an example of subject', - e_communication_direction = 'Outbound', - i_communicationrecipient_count = 8, - b_communication_private = False, - 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_communicationattachment = [ - eZmaxApi.models.communicationattachment_response_compound.communicationattachment-ResponseCompound() - ], - a_obj_communicationrecipient = [ - eZmaxApi.models.communicationrecipient_response_compound.communicationrecipient-ResponseCompound() - ], - a_obj_communicationexternalrecipient = [ - eZmaxApi.models.communicationexternalrecipient_response_compound.communicationexternalrecipient-ResponseCompound() - ], - ) - """ - - def testCommunicationResponseCompound(self): - """Test CommunicationResponseCompound""" - # inst_req_only = self.make_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_send_v1_request.py b/test/test_communication_send_v1_request.py new file mode 100644 index 000000000..c1185f93a --- /dev/null +++ b/test/test_communication_send_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.0 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest +import datetime + +from eZmaxApi.models.communication_send_v1_request import CommunicationSendV1Request # noqa: E501 + +class TestCommunicationSendV1Request(unittest.TestCase): + """CommunicationSendV1Request unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> CommunicationSendV1Request: + """Test CommunicationSendV1Request + 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 `CommunicationSendV1Request` + """ + model = CommunicationSendV1Request() # noqa: E501 + if include_optional: + return CommunicationSendV1Request( + a_obj_communication = [ + eZmaxApi.models.communication_request_compound.communication-RequestCompound() + ] + ) + else: + return CommunicationSendV1Request( + a_obj_communication = [ + eZmaxApi.models.communication_request_compound.communication-RequestCompound() + ], + ) + """ + + def testCommunicationSendV1Request(self): + """Test CommunicationSendV1Request""" + # inst_req_only = self.make_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_get_object_v2_response.py b/test/test_communication_send_v1_response.py similarity index 61% rename from test/test_communication_get_object_v2_response.py rename to test/test_communication_send_v1_response.py index d70356dfc..cdc0aef4a 100644 --- a/test/test_communication_get_object_v2_response.py +++ b/test/test_communication_send_v1_response.py @@ -16,10 +16,10 @@ import unittest import datetime -from eZmaxApi.models.communication_get_object_v2_response import CommunicationGetObjectV2Response # noqa: E501 +from eZmaxApi.models.communication_send_v1_response import CommunicationSendV1Response # noqa: E501 -class TestCommunicationGetObjectV2Response(unittest.TestCase): - """CommunicationGetObjectV2Response unit test stubs""" +class TestCommunicationSendV1Response(unittest.TestCase): + """CommunicationSendV1Response unit test stubs""" def setUp(self): pass @@ -27,16 +27,16 @@ def setUp(self): def tearDown(self): pass - def make_instance(self, include_optional) -> CommunicationGetObjectV2Response: - """Test CommunicationGetObjectV2Response + def make_instance(self, include_optional) -> CommunicationSendV1Response: + """Test CommunicationSendV1Response 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 `CommunicationGetObjectV2Response` + # uncomment below to create an instance of `CommunicationSendV1Response` """ - model = CommunicationGetObjectV2Response() # noqa: E501 + model = CommunicationSendV1Response() # noqa: E501 if include_optional: - return CommunicationGetObjectV2Response( + return CommunicationSendV1Response( obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( i_version_min = 1, i_version_max = 2, @@ -45,11 +45,13 @@ def make_instance(self, include_optional) -> CommunicationGetObjectV2Response: ], b_version_deprecated = False, ), 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_get_object_v2_response_m_payload.communication-getObject-v2-Response-mPayload( - obj_communication = eZmaxApi.models.communication_response_compound.communication-ResponseCompound(), ) + m_payload = eZmaxApi.models.communication_create_object_v1_response_m_payload.communication-createObject-v1-Response-mPayload( + a_pki_communication_id = [ + 1 + ], ) ) else: - return CommunicationGetObjectV2Response( + return CommunicationSendV1Response( obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( i_version_min = 1, i_version_max = 2, @@ -57,13 +59,15 @@ def make_instance(self, include_optional) -> CommunicationGetObjectV2Response: 117 ], b_version_deprecated = False, ), - m_payload = eZmaxApi.models.communication_get_object_v2_response_m_payload.communication-getObject-v2-Response-mPayload( - obj_communication = eZmaxApi.models.communication_response_compound.communication-ResponseCompound(), ), + m_payload = eZmaxApi.models.communication_create_object_v1_response_m_payload.communication-createObject-v1-Response-mPayload( + a_pki_communication_id = [ + 1 + ], ), ) """ - def testCommunicationGetObjectV2Response(self): - """Test CommunicationGetObjectV2Response""" + def testCommunicationSendV1Response(self): + """Test CommunicationSendV1Response""" # inst_req_only = self.make_instance(include_optional=False) # inst_req_and_optional = self.make_instance(include_optional=True) diff --git a/test/test_communicationattachment_response.py b/test/test_communicationattachment_request.py similarity index 58% rename from test/test_communicationattachment_response.py rename to test/test_communicationattachment_request.py index 9074e2fc9..d6b2bfb1a 100644 --- a/test/test_communicationattachment_response.py +++ b/test/test_communicationattachment_request.py @@ -16,10 +16,10 @@ import unittest import datetime -from eZmaxApi.models.communicationattachment_response import CommunicationattachmentResponse # noqa: E501 +from eZmaxApi.models.communicationattachment_request import CommunicationattachmentRequest # noqa: E501 -class TestCommunicationattachmentResponse(unittest.TestCase): - """CommunicationattachmentResponse unit test stubs""" +class TestCommunicationattachmentRequest(unittest.TestCase): + """CommunicationattachmentRequest unit test stubs""" def setUp(self): pass @@ -27,32 +27,28 @@ def setUp(self): def tearDown(self): pass - def make_instance(self, include_optional) -> CommunicationattachmentResponse: - """Test CommunicationattachmentResponse + def make_instance(self, include_optional) -> CommunicationattachmentRequest: + """Test CommunicationattachmentRequest 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 `CommunicationattachmentResponse` + # uncomment below to create an instance of `CommunicationattachmentRequest` """ - model = CommunicationattachmentResponse() # noqa: E501 + model = CommunicationattachmentRequest() # noqa: E501 if include_optional: - return CommunicationattachmentResponse( + return CommunicationattachmentRequest( pki_communicationattachment_id = 203, fki_attachment_id = 1, fki_invoice_id = 1, - fki_salarypreparation_id = 1, - s_communicationattachment_name = 'File.pdf', - s_download_url = '' + fki_salarypreparation_id = 1 ) else: - return CommunicationattachmentResponse( - pki_communicationattachment_id = 203, - s_communicationattachment_name = 'File.pdf', + return CommunicationattachmentRequest( ) """ - def testCommunicationattachmentResponse(self): - """Test CommunicationattachmentResponse""" + def testCommunicationattachmentRequest(self): + """Test CommunicationattachmentRequest""" # inst_req_only = self.make_instance(include_optional=False) # inst_req_and_optional = self.make_instance(include_optional=True) diff --git a/test/test_communicationattachment_response_compound.py b/test/test_communicationattachment_request_compound.py similarity index 55% rename from test/test_communicationattachment_response_compound.py rename to test/test_communicationattachment_request_compound.py index 7b754d7ab..9a419df55 100644 --- a/test/test_communicationattachment_response_compound.py +++ b/test/test_communicationattachment_request_compound.py @@ -16,10 +16,10 @@ import unittest import datetime -from eZmaxApi.models.communicationattachment_response_compound import CommunicationattachmentResponseCompound # noqa: E501 +from eZmaxApi.models.communicationattachment_request_compound import CommunicationattachmentRequestCompound # noqa: E501 -class TestCommunicationattachmentResponseCompound(unittest.TestCase): - """CommunicationattachmentResponseCompound unit test stubs""" +class TestCommunicationattachmentRequestCompound(unittest.TestCase): + """CommunicationattachmentRequestCompound unit test stubs""" def setUp(self): pass @@ -27,32 +27,28 @@ def setUp(self): def tearDown(self): pass - def make_instance(self, include_optional) -> CommunicationattachmentResponseCompound: - """Test CommunicationattachmentResponseCompound + def make_instance(self, include_optional) -> CommunicationattachmentRequestCompound: + """Test CommunicationattachmentRequestCompound 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 `CommunicationattachmentResponseCompound` + # uncomment below to create an instance of `CommunicationattachmentRequestCompound` """ - model = CommunicationattachmentResponseCompound() # noqa: E501 + model = CommunicationattachmentRequestCompound() # noqa: E501 if include_optional: - return CommunicationattachmentResponseCompound( + return CommunicationattachmentRequestCompound( pki_communicationattachment_id = 203, fki_attachment_id = 1, fki_invoice_id = 1, - fki_salarypreparation_id = 1, - s_communicationattachment_name = 'File.pdf', - s_download_url = '' + fki_salarypreparation_id = 1 ) else: - return CommunicationattachmentResponseCompound( - pki_communicationattachment_id = 203, - s_communicationattachment_name = 'File.pdf', + return CommunicationattachmentRequestCompound( ) """ - def testCommunicationattachmentResponseCompound(self): - """Test CommunicationattachmentResponseCompound""" + def testCommunicationattachmentRequestCompound(self): + """Test CommunicationattachmentRequestCompound""" # inst_req_only = self.make_instance(include_optional=False) # inst_req_and_optional = self.make_instance(include_optional=True) diff --git a/test/test_communicationexternalrecipient_request.py b/test/test_communicationexternalrecipient_request.py new file mode 100644 index 000000000..0e0f4a23f --- /dev/null +++ b/test/test_communicationexternalrecipient_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.0 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest +import datetime + +from eZmaxApi.models.communicationexternalrecipient_request import CommunicationexternalrecipientRequest # noqa: E501 + +class TestCommunicationexternalrecipientRequest(unittest.TestCase): + """CommunicationexternalrecipientRequest unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> CommunicationexternalrecipientRequest: + """Test CommunicationexternalrecipientRequest + 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 `CommunicationexternalrecipientRequest` + """ + model = CommunicationexternalrecipientRequest() # noqa: E501 + if include_optional: + return CommunicationexternalrecipientRequest( + pki_communicationexternalrecipient_id = 9, + s_email_address = 'email@example.com', + s_phone_e164 = '+15149901516', + e_communicationexternalrecipient_type = 'To', + s_communicationexternalrecipient_name = 'John Doe' + ) + else: + return CommunicationexternalrecipientRequest( + s_communicationexternalrecipient_name = 'John Doe', + ) + """ + + def testCommunicationexternalrecipientRequest(self): + """Test CommunicationexternalrecipientRequest""" + # inst_req_only = self.make_instance(include_optional=False) + # inst_req_and_optional = self.make_instance(include_optional=True) + +if __name__ == '__main__': + unittest.main() diff --git a/test/test_communicationexternalrecipient_request_compound.py b/test/test_communicationexternalrecipient_request_compound.py new file mode 100644 index 000000000..e8ba65ef6 --- /dev/null +++ b/test/test_communicationexternalrecipient_request_compound.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.0 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest +import datetime + +from eZmaxApi.models.communicationexternalrecipient_request_compound import CommunicationexternalrecipientRequestCompound # noqa: E501 + +class TestCommunicationexternalrecipientRequestCompound(unittest.TestCase): + """CommunicationexternalrecipientRequestCompound unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> CommunicationexternalrecipientRequestCompound: + """Test CommunicationexternalrecipientRequestCompound + 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 `CommunicationexternalrecipientRequestCompound` + """ + model = CommunicationexternalrecipientRequestCompound() # noqa: E501 + if include_optional: + return CommunicationexternalrecipientRequestCompound( + pki_communicationexternalrecipient_id = 9, + s_email_address = 'email@example.com', + s_phone_e164 = '+15149901516', + e_communicationexternalrecipient_type = 'To', + s_communicationexternalrecipient_name = 'John Doe' + ) + else: + return CommunicationexternalrecipientRequestCompound( + s_communicationexternalrecipient_name = 'John Doe', + ) + """ + + def testCommunicationexternalrecipientRequestCompound(self): + """Test CommunicationexternalrecipientRequestCompound""" + # inst_req_only = self.make_instance(include_optional=False) + # inst_req_and_optional = self.make_instance(include_optional=True) + +if __name__ == '__main__': + unittest.main() diff --git a/test/test_communicationexternalrecipient_response.py b/test/test_communicationexternalrecipient_response.py deleted file mode 100644 index 3e0110f67..000000000 --- a/test/test_communicationexternalrecipient_response.py +++ /dev/null @@ -1,60 +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.0 - Contact: support-api@ezmax.ca - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest -import datetime - -from eZmaxApi.models.communicationexternalrecipient_response import CommunicationexternalrecipientResponse # noqa: E501 - -class TestCommunicationexternalrecipientResponse(unittest.TestCase): - """CommunicationexternalrecipientResponse unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> CommunicationexternalrecipientResponse: - """Test CommunicationexternalrecipientResponse - 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 `CommunicationexternalrecipientResponse` - """ - model = CommunicationexternalrecipientResponse() # noqa: E501 - if include_optional: - return CommunicationexternalrecipientResponse( - pki_communicationexternalrecipient_id = 9, - e_communicationexternalrecipient_type = 'To', - obj_descriptionstatic = eZmaxApi.models.descriptionstatic_response_compound.descriptionstatic-ResponseCompound(), - obj_emailstatic = eZmaxApi.models.emailstatic_response_compound.emailstatic-ResponseCompound(), - obj_phonestatic = eZmaxApi.models.phonestatic_response_compound.phonestatic-ResponseCompound() - ) - else: - return CommunicationexternalrecipientResponse( - pki_communicationexternalrecipient_id = 9, - e_communicationexternalrecipient_type = 'To', - obj_descriptionstatic = eZmaxApi.models.descriptionstatic_response_compound.descriptionstatic-ResponseCompound(), - ) - """ - - def testCommunicationexternalrecipientResponse(self): - """Test CommunicationexternalrecipientResponse""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_communicationexternalrecipient_response_compound.py b/test/test_communicationexternalrecipient_response_compound.py deleted file mode 100644 index f21035156..000000000 --- a/test/test_communicationexternalrecipient_response_compound.py +++ /dev/null @@ -1,60 +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.0 - Contact: support-api@ezmax.ca - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest -import datetime - -from eZmaxApi.models.communicationexternalrecipient_response_compound import CommunicationexternalrecipientResponseCompound # noqa: E501 - -class TestCommunicationexternalrecipientResponseCompound(unittest.TestCase): - """CommunicationexternalrecipientResponseCompound unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> CommunicationexternalrecipientResponseCompound: - """Test CommunicationexternalrecipientResponseCompound - 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 `CommunicationexternalrecipientResponseCompound` - """ - model = CommunicationexternalrecipientResponseCompound() # noqa: E501 - if include_optional: - return CommunicationexternalrecipientResponseCompound( - pki_communicationexternalrecipient_id = 9, - e_communicationexternalrecipient_type = 'To', - obj_descriptionstatic = eZmaxApi.models.descriptionstatic_response_compound.descriptionstatic-ResponseCompound(), - obj_emailstatic = eZmaxApi.models.emailstatic_response_compound.emailstatic-ResponseCompound(), - obj_phonestatic = eZmaxApi.models.phonestatic_response_compound.phonestatic-ResponseCompound() - ) - else: - return CommunicationexternalrecipientResponseCompound( - pki_communicationexternalrecipient_id = 9, - e_communicationexternalrecipient_type = 'To', - obj_descriptionstatic = eZmaxApi.models.descriptionstatic_response_compound.descriptionstatic-ResponseCompound(), - ) - """ - - def testCommunicationexternalrecipientResponseCompound(self): - """Test CommunicationexternalrecipientResponseCompound""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_communicationrecipient_response.py b/test/test_communicationrecipient_request.py similarity index 51% rename from test/test_communicationrecipient_response.py rename to test/test_communicationrecipient_request.py index fef0223fe..e5dce622c 100644 --- a/test/test_communicationrecipient_response.py +++ b/test/test_communicationrecipient_request.py @@ -16,10 +16,10 @@ import unittest import datetime -from eZmaxApi.models.communicationrecipient_response import CommunicationrecipientResponse # noqa: E501 +from eZmaxApi.models.communicationrecipient_request import CommunicationrecipientRequest # noqa: E501 -class TestCommunicationrecipientResponse(unittest.TestCase): - """CommunicationrecipientResponse unit test stubs""" +class TestCommunicationrecipientRequest(unittest.TestCase): + """CommunicationrecipientRequest unit test stubs""" def setUp(self): pass @@ -27,48 +27,37 @@ def setUp(self): def tearDown(self): pass - def make_instance(self, include_optional) -> CommunicationrecipientResponse: - """Test CommunicationrecipientResponse + def make_instance(self, include_optional) -> CommunicationrecipientRequest: + """Test CommunicationrecipientRequest 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 `CommunicationrecipientResponse` + # uncomment below to create an instance of `CommunicationrecipientRequest` """ - model = CommunicationrecipientResponse() # noqa: E501 + model = CommunicationrecipientRequest() # noqa: E501 if include_optional: - return CommunicationrecipientResponse( + return CommunicationrecipientRequest( pki_communicationrecipient_id = 1, - e_communicationrecipient_objecttype = 'User', fki_agent_id = 1, + fki_agentincorporation_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_ezsignsigner_id = 89, fki_notary_id = 1, - fki_rewardmember_id = 1, fki_supplier_id = 1, - e_communicationrecipient_type = 'To', - obj_descriptionstatic = eZmaxApi.models.descriptionstatic_response_compound.descriptionstatic-ResponseCompound(), - obj_emailstatic = eZmaxApi.models.emailstatic_response_compound.emailstatic-ResponseCompound(), - obj_phonestatic = eZmaxApi.models.phonestatic_response_compound.phonestatic-ResponseCompound() + fki_user_id = 70, + e_communicationrecipient_type = 'To' ) else: - return CommunicationrecipientResponse( - pki_communicationrecipient_id = 1, - e_communicationrecipient_type = 'To', - obj_descriptionstatic = eZmaxApi.models.descriptionstatic_response_compound.descriptionstatic-ResponseCompound(), + return CommunicationrecipientRequest( ) """ - def testCommunicationrecipientResponse(self): - """Test CommunicationrecipientResponse""" + def testCommunicationrecipientRequest(self): + """Test CommunicationrecipientRequest""" # inst_req_only = self.make_instance(include_optional=False) # inst_req_and_optional = self.make_instance(include_optional=True) diff --git a/test/test_communicationrecipient_request_compound.py b/test/test_communicationrecipient_request_compound.py new file mode 100644 index 000000000..cf211fbe8 --- /dev/null +++ b/test/test_communicationrecipient_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.0 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest +import datetime + +from eZmaxApi.models.communicationrecipient_request_compound import CommunicationrecipientRequestCompound # noqa: E501 + +class TestCommunicationrecipientRequestCompound(unittest.TestCase): + """CommunicationrecipientRequestCompound unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> CommunicationrecipientRequestCompound: + """Test CommunicationrecipientRequestCompound + 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 `CommunicationrecipientRequestCompound` + """ + model = CommunicationrecipientRequestCompound() # noqa: E501 + if include_optional: + return CommunicationrecipientRequestCompound( + pki_communicationrecipient_id = 1, + fki_agent_id = 1, + fki_agentincorporation_id = 1, + fki_broker_id = 26, + fki_customer_id = 18, + fki_employee_id = 31, + fki_assistant_id = 1, + fki_externalbroker_id = 1, + fki_ezsignsigner_id = 89, + fki_notary_id = 1, + fki_supplier_id = 1, + fki_user_id = 70, + e_communicationrecipient_type = 'To' + ) + else: + return CommunicationrecipientRequestCompound( + ) + """ + + def testCommunicationrecipientRequestCompound(self): + """Test CommunicationrecipientRequestCompound""" + # inst_req_only = self.make_instance(include_optional=False) + # inst_req_and_optional = self.make_instance(include_optional=True) + +if __name__ == '__main__': + unittest.main() diff --git a/test/test_communicationrecipient_response_compound.py b/test/test_communicationrecipient_response_compound.py deleted file mode 100644 index ec22f62ab..000000000 --- a/test/test_communicationrecipient_response_compound.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.0 - Contact: support-api@ezmax.ca - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest -import datetime - -from eZmaxApi.models.communicationrecipient_response_compound import CommunicationrecipientResponseCompound # noqa: E501 - -class TestCommunicationrecipientResponseCompound(unittest.TestCase): - """CommunicationrecipientResponseCompound unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> CommunicationrecipientResponseCompound: - """Test CommunicationrecipientResponseCompound - 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 `CommunicationrecipientResponseCompound` - """ - model = CommunicationrecipientResponseCompound() # noqa: E501 - if include_optional: - return CommunicationrecipientResponseCompound( - pki_communicationrecipient_id = 1, - e_communicationrecipient_objecttype = 'User', - 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_communicationrecipient_type = 'To', - obj_descriptionstatic = eZmaxApi.models.descriptionstatic_response_compound.descriptionstatic-ResponseCompound(), - obj_emailstatic = eZmaxApi.models.emailstatic_response_compound.emailstatic-ResponseCompound(), - obj_phonestatic = eZmaxApi.models.phonestatic_response_compound.phonestatic-ResponseCompound() - ) - else: - return CommunicationrecipientResponseCompound( - pki_communicationrecipient_id = 1, - e_communicationrecipient_type = 'To', - obj_descriptionstatic = eZmaxApi.models.descriptionstatic_response_compound.descriptionstatic-ResponseCompound(), - ) - """ - - def testCommunicationrecipientResponseCompound(self): - """Test CommunicationrecipientResponseCompound""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_communicationreference_request.py b/test/test_communicationreference_request.py new file mode 100644 index 000000000..035dff8dc --- /dev/null +++ b/test/test_communicationreference_request.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.0 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest +import datetime + +from eZmaxApi.models.communicationreference_request import CommunicationreferenceRequest # noqa: E501 + +class TestCommunicationreferenceRequest(unittest.TestCase): + """CommunicationreferenceRequest unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> CommunicationreferenceRequest: + """Test CommunicationreferenceRequest + 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 `CommunicationreferenceRequest` + """ + model = CommunicationreferenceRequest() # noqa: E501 + if include_optional: + return CommunicationreferenceRequest( + pki_communicationreference_id = 1263, + fki_buyercontract_id = 38, + fki_ezsignfolder_id = 33, + fki_inscription_id = 17, + fki_inscriptiontemp_id = 2445, + fki_invoice_id = 1, + fki_otherincome_id = 142, + fki_electronicfundstransfer_id = 1262, + fki_rejectedoffertopurchase_id = 532 + ) + else: + return CommunicationreferenceRequest( + ) + """ + + def testCommunicationreferenceRequest(self): + """Test CommunicationreferenceRequest""" + # inst_req_only = self.make_instance(include_optional=False) + # inst_req_and_optional = self.make_instance(include_optional=True) + +if __name__ == '__main__': + unittest.main() diff --git a/test/test_communicationreference_request_compound.py b/test/test_communicationreference_request_compound.py new file mode 100644 index 000000000..bcd87237d --- /dev/null +++ b/test/test_communicationreference_request_compound.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.0 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest +import datetime + +from eZmaxApi.models.communicationreference_request_compound import CommunicationreferenceRequestCompound # noqa: E501 + +class TestCommunicationreferenceRequestCompound(unittest.TestCase): + """CommunicationreferenceRequestCompound unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> CommunicationreferenceRequestCompound: + """Test CommunicationreferenceRequestCompound + 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 `CommunicationreferenceRequestCompound` + """ + model = CommunicationreferenceRequestCompound() # noqa: E501 + if include_optional: + return CommunicationreferenceRequestCompound( + pki_communicationreference_id = 1263, + fki_buyercontract_id = 38, + fki_ezsignfolder_id = 33, + fki_inscription_id = 17, + fki_inscriptiontemp_id = 2445, + fki_invoice_id = 1, + fki_otherincome_id = 142, + fki_electronicfundstransfer_id = 1262, + fki_rejectedoffertopurchase_id = 532 + ) + else: + return CommunicationreferenceRequestCompound( + ) + """ + + def testCommunicationreferenceRequestCompound(self): + """Test CommunicationreferenceRequestCompound""" + # inst_req_only = self.make_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_communicationattachment_request.py b/test/test_custom_communicationattachment_request.py new file mode 100644 index 000000000..a29dfbfaa --- /dev/null +++ b/test/test_custom_communicationattachment_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.0 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest +import datetime + +from eZmaxApi.models.custom_communicationattachment_request import CustomCommunicationattachmentRequest # noqa: E501 + +class TestCustomCommunicationattachmentRequest(unittest.TestCase): + """CustomCommunicationattachmentRequest unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> CustomCommunicationattachmentRequest: + """Test CustomCommunicationattachmentRequest + 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 `CustomCommunicationattachmentRequest` + """ + model = CustomCommunicationattachmentRequest() # noqa: E501 + if include_optional: + return CustomCommunicationattachmentRequest( + obj_communicationattachment = eZmaxApi.models.communicationattachment_request_compound.communicationattachment-RequestCompound(), + obj_communicationexternalattachment = eZmaxApi.models.common_file.Common-File( + s_file_name = 'example.pdf', + s_file_url = '', + s_file_base64 = '[B@64337702', + e_file_source = 'Base64', ) + ) + else: + return CustomCommunicationattachmentRequest( + ) + """ + + def testCustomCommunicationattachmentRequest(self): + """Test CustomCommunicationattachmentRequest""" + # inst_req_only = self.make_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_communicationrecipientsgroup_response.py b/test/test_custom_communicationrecipientsgroup_response.py new file mode 100644 index 000000000..c8786d655 --- /dev/null +++ b/test/test_custom_communicationrecipientsgroup_response.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.0 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest +import datetime + +from eZmaxApi.models.custom_communicationrecipientsgroup_response import CustomCommunicationrecipientsgroupResponse # noqa: E501 + +class TestCustomCommunicationrecipientsgroupResponse(unittest.TestCase): + """CustomCommunicationrecipientsgroupResponse unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> CustomCommunicationrecipientsgroupResponse: + """Test CustomCommunicationrecipientsgroupResponse + 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 `CustomCommunicationrecipientsgroupResponse` + """ + model = CustomCommunicationrecipientsgroupResponse() # noqa: E501 + if include_optional: + return CustomCommunicationrecipientsgroupResponse( + 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 CustomCommunicationrecipientsgroupResponse( + 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 testCustomCommunicationrecipientsgroupResponse(self): + """Test CustomCommunicationrecipientsgroupResponse""" + # inst_req_only = self.make_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_communicationrecipientsrecipient_response.py b/test/test_custom_communicationrecipientsrecipient_response.py new file mode 100644 index 000000000..23af31b1b --- /dev/null +++ b/test/test_custom_communicationrecipientsrecipient_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.0 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest +import datetime + +from eZmaxApi.models.custom_communicationrecipientsrecipient_response import CustomCommunicationrecipientsrecipientResponse # noqa: E501 + +class TestCustomCommunicationrecipientsrecipientResponse(unittest.TestCase): + """CustomCommunicationrecipientsrecipientResponse unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> CustomCommunicationrecipientsrecipientResponse: + """Test CustomCommunicationrecipientsrecipientResponse + 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 `CustomCommunicationrecipientsrecipientResponse` + """ + model = CustomCommunicationrecipientsrecipientResponse() # noqa: E501 + if include_optional: + return CustomCommunicationrecipientsrecipientResponse( + 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 CustomCommunicationrecipientsrecipientResponse( + 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.', ), + ) + """ + + def testCustomCommunicationrecipientsrecipientResponse(self): + """Test CustomCommunicationrecipientsrecipientResponse""" + # inst_req_only = self.make_instance(include_optional=False) + # inst_req_and_optional = self.make_instance(include_optional=True) + +if __name__ == '__main__': + unittest.main() diff --git a/test/test_phonestatic_response_compound.py b/test/test_custom_communicationsender_request.py similarity index 51% rename from test/test_phonestatic_response_compound.py rename to test/test_custom_communicationsender_request.py index ad55b0ebe..b482f6548 100644 --- a/test/test_phonestatic_response_compound.py +++ b/test/test_custom_communicationsender_request.py @@ -16,10 +16,10 @@ import unittest import datetime -from eZmaxApi.models.phonestatic_response_compound import PhonestaticResponseCompound # noqa: E501 +from eZmaxApi.models.custom_communicationsender_request import CustomCommunicationsenderRequest # noqa: E501 -class TestPhonestaticResponseCompound(unittest.TestCase): - """PhonestaticResponseCompound unit test stubs""" +class TestCustomCommunicationsenderRequest(unittest.TestCase): + """CustomCommunicationsenderRequest unit test stubs""" def setUp(self): pass @@ -27,28 +27,28 @@ def setUp(self): def tearDown(self): pass - def make_instance(self, include_optional) -> PhonestaticResponseCompound: - """Test PhonestaticResponseCompound + def make_instance(self, include_optional) -> CustomCommunicationsenderRequest: + """Test CustomCommunicationsenderRequest 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 `PhonestaticResponseCompound` + # uncomment below to create an instance of `CustomCommunicationsenderRequest` """ - model = PhonestaticResponseCompound() # noqa: E501 + model = CustomCommunicationsenderRequest() # noqa: E501 if include_optional: - return PhonestaticResponseCompound( - pki_phonestatic_id = 1, - s_phonestatic_e164 = '+15149901516', - s_phonestatic_extension = '123' + return CustomCommunicationsenderRequest( + fki_agent_id = 1, + fki_broker_id = 26, + fki_mailboxshared_id = 47, + fki_user_id = 70 ) else: - return PhonestaticResponseCompound( - pki_phonestatic_id = 1, + return CustomCommunicationsenderRequest( ) """ - def testPhonestaticResponseCompound(self): - """Test PhonestaticResponseCompound""" + def testCustomCommunicationsenderRequest(self): + """Test CustomCommunicationsenderRequest""" # inst_req_only = self.make_instance(include_optional=False) # inst_req_and_optional = self.make_instance(include_optional=True) diff --git a/test/test_custom_communicationsender_response.py b/test/test_custom_communicationsender_response.py new file mode 100644 index 000000000..12f3169c7 --- /dev/null +++ b/test/test_custom_communicationsender_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.0 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest +import datetime + +from eZmaxApi.models.custom_communicationsender_response import CustomCommunicationsenderResponse # noqa: E501 + +class TestCustomCommunicationsenderResponse(unittest.TestCase): + """CustomCommunicationsenderResponse unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> CustomCommunicationsenderResponse: + """Test CustomCommunicationsenderResponse + 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 `CustomCommunicationsenderResponse` + """ + model = CustomCommunicationsenderResponse() # noqa: E501 + if include_optional: + return CustomCommunicationsenderResponse( + fki_agent_id = 1, + fki_broker_id = 26, + fki_user_id = 70, + fki_mailboxshared_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.', ), + s_email_address = 'email@example.com', + s_phone_e164 = '+15149901516' + ) + else: + return CustomCommunicationsenderResponse( + 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.', ), + ) + """ + + def testCustomCommunicationsenderResponse(self): + """Test CustomCommunicationsenderResponse""" + # inst_req_only = self.make_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 744cc8539..7375b5483 100644 --- a/test/test_custom_webhook_response.py +++ b/test/test_custom_webhook_response.py @@ -58,6 +58,7 @@ def make_instance(self, include_optional) -> CustomWebhookResponse: e_webhook_module = 'Ezsign', s_webhook_url = 'https://www.example.com', s_webhook_emailfailed = 'email@example.com', + b_webhook_isactive = True, b_webhook_skipsslvalidation = False, pks_customer_code = 'demo', b_webhook_test = True, diff --git a/test/test_descriptionstatic_response.py b/test/test_descriptionstatic_response.py deleted file mode 100644 index b4699cdd2..000000000 --- a/test/test_descriptionstatic_response.py +++ /dev/null @@ -1,56 +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.0 - Contact: support-api@ezmax.ca - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest -import datetime - -from eZmaxApi.models.descriptionstatic_response import DescriptionstaticResponse # noqa: E501 - -class TestDescriptionstaticResponse(unittest.TestCase): - """DescriptionstaticResponse unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> DescriptionstaticResponse: - """Test DescriptionstaticResponse - 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 `DescriptionstaticResponse` - """ - model = DescriptionstaticResponse() # noqa: E501 - if include_optional: - return DescriptionstaticResponse( - pki_descriptionstatic_id = 37, - s_descriptionstatic_description = 'Static description' - ) - else: - return DescriptionstaticResponse( - pki_descriptionstatic_id = 37, - s_descriptionstatic_description = 'Static description', - ) - """ - - def testDescriptionstaticResponse(self): - """Test DescriptionstaticResponse""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_descriptionstatic_response_compound.py b/test/test_descriptionstatic_response_compound.py deleted file mode 100644 index c59dfd857..000000000 --- a/test/test_descriptionstatic_response_compound.py +++ /dev/null @@ -1,56 +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.0 - Contact: support-api@ezmax.ca - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest -import datetime - -from eZmaxApi.models.descriptionstatic_response_compound import DescriptionstaticResponseCompound # noqa: E501 - -class TestDescriptionstaticResponseCompound(unittest.TestCase): - """DescriptionstaticResponseCompound unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> DescriptionstaticResponseCompound: - """Test DescriptionstaticResponseCompound - 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 `DescriptionstaticResponseCompound` - """ - model = DescriptionstaticResponseCompound() # noqa: E501 - if include_optional: - return DescriptionstaticResponseCompound( - pki_descriptionstatic_id = 37, - s_descriptionstatic_description = 'Static description' - ) - else: - return DescriptionstaticResponseCompound( - pki_descriptionstatic_id = 37, - s_descriptionstatic_description = 'Static description', - ) - """ - - def testDescriptionstaticResponseCompound(self): - """Test DescriptionstaticResponseCompound""" - # inst_req_only = self.make_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 new file mode 100644 index 000000000..77a621d77 --- /dev/null +++ b/test/test_electronicfundstransfer_get_communication_list_v1_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.0 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest +import datetime + +from eZmaxApi.models.electronicfundstransfer_get_communication_list_v1_response import ElectronicfundstransferGetCommunicationListV1Response # noqa: E501 + +class TestElectronicfundstransferGetCommunicationListV1Response(unittest.TestCase): + """ElectronicfundstransferGetCommunicationListV1Response unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> ElectronicfundstransferGetCommunicationListV1Response: + """Test ElectronicfundstransferGetCommunicationListV1Response + 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 `ElectronicfundstransferGetCommunicationListV1Response` + """ + model = ElectronicfundstransferGetCommunicationListV1Response() # noqa: E501 + if include_optional: + return ElectronicfundstransferGetCommunicationListV1Response( + 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.electronicfundstransfer_get_communication_list_v1_response_m_payload.electronicfundstransfer-getCommunicationList-v1-Response-mPayload() + ) + else: + return ElectronicfundstransferGetCommunicationListV1Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload_get_list.Common-Response-objDebugPayload_getList(), + m_payload = eZmaxApi.models.electronicfundstransfer_get_communication_list_v1_response_m_payload.electronicfundstransfer-getCommunicationList-v1-Response-mPayload(), + ) + """ + + def testElectronicfundstransferGetCommunicationListV1Response(self): + """Test ElectronicfundstransferGetCommunicationListV1Response""" + # inst_req_only = self.make_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_m_payload.py b/test/test_electronicfundstransfer_get_communication_list_v1_response_m_payload.py new file mode 100644 index 000000000..f1a86b3e4 --- /dev/null +++ b/test/test_electronicfundstransfer_get_communication_list_v1_response_m_payload.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.0 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest +import datetime + +from eZmaxApi.models.electronicfundstransfer_get_communication_list_v1_response_m_payload import ElectronicfundstransferGetCommunicationListV1ResponseMPayload # noqa: E501 + +class TestElectronicfundstransferGetCommunicationListV1ResponseMPayload(unittest.TestCase): + """ElectronicfundstransferGetCommunicationListV1ResponseMPayload unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> ElectronicfundstransferGetCommunicationListV1ResponseMPayload: + """Test ElectronicfundstransferGetCommunicationListV1ResponseMPayload + 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 `ElectronicfundstransferGetCommunicationListV1ResponseMPayload` + """ + model = ElectronicfundstransferGetCommunicationListV1ResponseMPayload() # noqa: E501 + if include_optional: + return ElectronicfundstransferGetCommunicationListV1ResponseMPayload( + 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 ElectronicfundstransferGetCommunicationListV1ResponseMPayload( + 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 testElectronicfundstransferGetCommunicationListV1ResponseMPayload(self): + """Test ElectronicfundstransferGetCommunicationListV1ResponseMPayload""" + # inst_req_only = self.make_instance(include_optional=False) + # inst_req_and_optional = self.make_instance(include_optional=True) + +if __name__ == '__main__': + unittest.main() diff --git a/test/test_emailstatic_response.py b/test/test_emailstatic_response.py deleted file mode 100644 index 16e0f7570..000000000 --- a/test/test_emailstatic_response.py +++ /dev/null @@ -1,56 +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.0 - Contact: support-api@ezmax.ca - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest -import datetime - -from eZmaxApi.models.emailstatic_response import EmailstaticResponse # noqa: E501 - -class TestEmailstaticResponse(unittest.TestCase): - """EmailstaticResponse unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> EmailstaticResponse: - """Test EmailstaticResponse - 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 `EmailstaticResponse` - """ - model = EmailstaticResponse() # noqa: E501 - if include_optional: - return EmailstaticResponse( - pki_emailstatic_id = 99, - s_emailstatic_address = 'email@example.com' - ) - else: - return EmailstaticResponse( - pki_emailstatic_id = 99, - s_emailstatic_address = 'email@example.com', - ) - """ - - def testEmailstaticResponse(self): - """Test EmailstaticResponse""" - # inst_req_only = self.make_instance(include_optional=False) - # inst_req_and_optional = self.make_instance(include_optional=True) - -if __name__ == '__main__': - unittest.main() diff --git a/test/test_emailstatic_response_compound.py b/test/test_emailstatic_response_compound.py deleted file mode 100644 index bb7156e3e..000000000 --- a/test/test_emailstatic_response_compound.py +++ /dev/null @@ -1,56 +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.0 - Contact: support-api@ezmax.ca - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest -import datetime - -from eZmaxApi.models.emailstatic_response_compound import EmailstaticResponseCompound # noqa: E501 - -class TestEmailstaticResponseCompound(unittest.TestCase): - """EmailstaticResponseCompound unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> EmailstaticResponseCompound: - """Test EmailstaticResponseCompound - 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 `EmailstaticResponseCompound` - """ - model = EmailstaticResponseCompound() # noqa: E501 - if include_optional: - return EmailstaticResponseCompound( - pki_emailstatic_id = 99, - s_emailstatic_address = 'email@example.com' - ) - else: - return EmailstaticResponseCompound( - pki_emailstatic_id = 99, - s_emailstatic_address = 'email@example.com', - ) - """ - - def testEmailstaticResponseCompound(self): - """Test EmailstaticResponseCompound""" - # inst_req_only = self.make_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_communicationrecipients_v1_response.py b/test/test_ezsignfolder_get_communicationrecipients_v1_response.py new file mode 100644 index 000000000..8226e5d79 --- /dev/null +++ b/test/test_ezsignfolder_get_communicationrecipients_v1_response.py @@ -0,0 +1,129 @@ +# coding: utf-8 + +""" + eZmax API Definition (Full) + + This API expose all the functionnalities for the eZmax and eZsign applications. + + The version of the OpenAPI document: 1.2.0 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest +import datetime + +from eZmaxApi.models.ezsignfolder_get_communicationrecipients_v1_response import EzsignfolderGetCommunicationrecipientsV1Response # noqa: E501 + +class TestEzsignfolderGetCommunicationrecipientsV1Response(unittest.TestCase): + """EzsignfolderGetCommunicationrecipientsV1Response unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> EzsignfolderGetCommunicationrecipientsV1Response: + """Test EzsignfolderGetCommunicationrecipientsV1Response + 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 `EzsignfolderGetCommunicationrecipientsV1Response` + """ + model = EzsignfolderGetCommunicationrecipientsV1Response() # noqa: E501 + if include_optional: + return EzsignfolderGetCommunicationrecipientsV1Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, ), + 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_communicationrecipients_v1_response_m_payload.ezsignfolder-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 EzsignfolderGetCommunicationrecipientsV1Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, ), + m_payload = eZmaxApi.models.ezsignfolder_get_communicationrecipients_v1_response_m_payload.ezsignfolder-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 testEzsignfolderGetCommunicationrecipientsV1Response(self): + """Test EzsignfolderGetCommunicationrecipientsV1Response""" + # inst_req_only = self.make_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_communicationrecipients_v1_response_m_payload.py b/test/test_ezsignfolder_get_communicationrecipients_v1_response_m_payload.py new file mode 100644 index 000000000..d3b333ebc --- /dev/null +++ b/test/test_ezsignfolder_get_communicationrecipients_v1_response_m_payload.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.0 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest +import datetime + +from eZmaxApi.models.ezsignfolder_get_communicationrecipients_v1_response_m_payload import EzsignfolderGetCommunicationrecipientsV1ResponseMPayload # noqa: E501 + +class TestEzsignfolderGetCommunicationrecipientsV1ResponseMPayload(unittest.TestCase): + """EzsignfolderGetCommunicationrecipientsV1ResponseMPayload unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> EzsignfolderGetCommunicationrecipientsV1ResponseMPayload: + """Test EzsignfolderGetCommunicationrecipientsV1ResponseMPayload + 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 `EzsignfolderGetCommunicationrecipientsV1ResponseMPayload` + """ + model = EzsignfolderGetCommunicationrecipientsV1ResponseMPayload() # noqa: E501 + if include_optional: + return EzsignfolderGetCommunicationrecipientsV1ResponseMPayload( + 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 EzsignfolderGetCommunicationrecipientsV1ResponseMPayload( + 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 testEzsignfolderGetCommunicationrecipientsV1ResponseMPayload(self): + """Test EzsignfolderGetCommunicationrecipientsV1ResponseMPayload""" + # inst_req_only = self.make_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_communicationsenders_v1_response.py b/test/test_ezsignfolder_get_communicationsenders_v1_response.py new file mode 100644 index 000000000..a049c8239 --- /dev/null +++ b/test/test_ezsignfolder_get_communicationsenders_v1_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.0 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest +import datetime + +from eZmaxApi.models.ezsignfolder_get_communicationsenders_v1_response import EzsignfolderGetCommunicationsendersV1Response # noqa: E501 + +class TestEzsignfolderGetCommunicationsendersV1Response(unittest.TestCase): + """EzsignfolderGetCommunicationsendersV1Response unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> EzsignfolderGetCommunicationsendersV1Response: + """Test EzsignfolderGetCommunicationsendersV1Response + 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 `EzsignfolderGetCommunicationsendersV1Response` + """ + model = EzsignfolderGetCommunicationsendersV1Response() # noqa: E501 + if include_optional: + return EzsignfolderGetCommunicationsendersV1Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, ), + 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_communicationsenders_v1_response_m_payload.ezsignfolder-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, + 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.', ), + s_email_address = 'email@example.com', + s_phone_e164 = '+15149901516', ) + ], ) + ) + else: + return EzsignfolderGetCommunicationsendersV1Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, ), + m_payload = eZmaxApi.models.ezsignfolder_get_communicationsenders_v1_response_m_payload.ezsignfolder-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, + 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.', ), + s_email_address = 'email@example.com', + s_phone_e164 = '+15149901516', ) + ], ), + ) + """ + + def testEzsignfolderGetCommunicationsendersV1Response(self): + """Test EzsignfolderGetCommunicationsendersV1Response""" + # inst_req_only = self.make_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_communicationsenders_v1_response_m_payload.py b/test/test_ezsignfolder_get_communicationsenders_v1_response_m_payload.py new file mode 100644 index 000000000..0abe6c863 --- /dev/null +++ b/test/test_ezsignfolder_get_communicationsenders_v1_response_m_payload.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.0 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest +import datetime + +from eZmaxApi.models.ezsignfolder_get_communicationsenders_v1_response_m_payload import EzsignfolderGetCommunicationsendersV1ResponseMPayload # noqa: E501 + +class TestEzsignfolderGetCommunicationsendersV1ResponseMPayload(unittest.TestCase): + """EzsignfolderGetCommunicationsendersV1ResponseMPayload unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> EzsignfolderGetCommunicationsendersV1ResponseMPayload: + """Test EzsignfolderGetCommunicationsendersV1ResponseMPayload + 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 `EzsignfolderGetCommunicationsendersV1ResponseMPayload` + """ + model = EzsignfolderGetCommunicationsendersV1ResponseMPayload() # noqa: E501 + if include_optional: + return EzsignfolderGetCommunicationsendersV1ResponseMPayload( + 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, + 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.', ), + s_email_address = 'email@example.com', + s_phone_e164 = '+15149901516', ) + ] + ) + else: + return EzsignfolderGetCommunicationsendersV1ResponseMPayload( + 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, + 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.', ), + s_email_address = 'email@example.com', + s_phone_e164 = '+15149901516', ) + ], + ) + """ + + def testEzsignfolderGetCommunicationsendersV1ResponseMPayload(self): + """Test EzsignfolderGetCommunicationsendersV1ResponseMPayload""" + # inst_req_only = self.make_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_communicationrecipient_objecttype.py b/test/test_field_e_communicationrecipient_objecttype.py deleted file mode 100644 index 45481b291..000000000 --- a/test/test_field_e_communicationrecipient_objecttype.py +++ /dev/null @@ -1,35 +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.0 - Contact: support-api@ezmax.ca - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest -import datetime - -from eZmaxApi.models.field_e_communicationrecipient_objecttype import FieldECommunicationrecipientObjecttype # noqa: E501 - -class TestFieldECommunicationrecipientObjecttype(unittest.TestCase): - """FieldECommunicationrecipientObjecttype unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def testFieldECommunicationrecipientObjecttype(self): - """Test FieldECommunicationrecipientObjecttype""" - # inst = FieldECommunicationrecipientObjecttype() - -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 new file mode 100644 index 000000000..bca85be64 --- /dev/null +++ b/test/test_inscription_get_communication_list_v1_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.0 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest +import datetime + +from eZmaxApi.models.inscription_get_communication_list_v1_response import InscriptionGetCommunicationListV1Response # noqa: E501 + +class TestInscriptionGetCommunicationListV1Response(unittest.TestCase): + """InscriptionGetCommunicationListV1Response unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> InscriptionGetCommunicationListV1Response: + """Test InscriptionGetCommunicationListV1Response + 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 `InscriptionGetCommunicationListV1Response` + """ + model = InscriptionGetCommunicationListV1Response() # noqa: E501 + if include_optional: + return InscriptionGetCommunicationListV1Response( + 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.inscription_get_communication_list_v1_response_m_payload.inscription-getCommunicationList-v1-Response-mPayload() + ) + else: + return InscriptionGetCommunicationListV1Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload_get_list.Common-Response-objDebugPayload_getList(), + m_payload = eZmaxApi.models.inscription_get_communication_list_v1_response_m_payload.inscription-getCommunicationList-v1-Response-mPayload(), + ) + """ + + def testInscriptionGetCommunicationListV1Response(self): + """Test InscriptionGetCommunicationListV1Response""" + # inst_req_only = self.make_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_m_payload.py b/test/test_inscription_get_communication_list_v1_response_m_payload.py new file mode 100644 index 000000000..f575f9335 --- /dev/null +++ b/test/test_inscription_get_communication_list_v1_response_m_payload.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.0 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest +import datetime + +from eZmaxApi.models.inscription_get_communication_list_v1_response_m_payload import InscriptionGetCommunicationListV1ResponseMPayload # noqa: E501 + +class TestInscriptionGetCommunicationListV1ResponseMPayload(unittest.TestCase): + """InscriptionGetCommunicationListV1ResponseMPayload unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> InscriptionGetCommunicationListV1ResponseMPayload: + """Test InscriptionGetCommunicationListV1ResponseMPayload + 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 `InscriptionGetCommunicationListV1ResponseMPayload` + """ + model = InscriptionGetCommunicationListV1ResponseMPayload() # noqa: E501 + if include_optional: + return InscriptionGetCommunicationListV1ResponseMPayload( + 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 InscriptionGetCommunicationListV1ResponseMPayload( + 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 testInscriptionGetCommunicationListV1ResponseMPayload(self): + """Test InscriptionGetCommunicationListV1ResponseMPayload""" + # inst_req_only = self.make_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 new file mode 100644 index 000000000..5c4331746 --- /dev/null +++ b/test/test_inscriptionnotauthenticated_get_communication_list_v1_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.0 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest +import datetime + +from eZmaxApi.models.inscriptionnotauthenticated_get_communication_list_v1_response import InscriptionnotauthenticatedGetCommunicationListV1Response # noqa: E501 + +class TestInscriptionnotauthenticatedGetCommunicationListV1Response(unittest.TestCase): + """InscriptionnotauthenticatedGetCommunicationListV1Response unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> InscriptionnotauthenticatedGetCommunicationListV1Response: + """Test InscriptionnotauthenticatedGetCommunicationListV1Response + 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 `InscriptionnotauthenticatedGetCommunicationListV1Response` + """ + model = InscriptionnotauthenticatedGetCommunicationListV1Response() # noqa: E501 + if include_optional: + return InscriptionnotauthenticatedGetCommunicationListV1Response( + 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.inscriptionnotauthenticated_get_communication_list_v1_response_m_payload.inscriptionnotauthenticated-getCommunicationList-v1-Response-mPayload() + ) + else: + return InscriptionnotauthenticatedGetCommunicationListV1Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload_get_list.Common-Response-objDebugPayload_getList(), + m_payload = eZmaxApi.models.inscriptionnotauthenticated_get_communication_list_v1_response_m_payload.inscriptionnotauthenticated-getCommunicationList-v1-Response-mPayload(), + ) + """ + + def testInscriptionnotauthenticatedGetCommunicationListV1Response(self): + """Test InscriptionnotauthenticatedGetCommunicationListV1Response""" + # inst_req_only = self.make_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_m_payload.py b/test/test_inscriptionnotauthenticated_get_communication_list_v1_response_m_payload.py new file mode 100644 index 000000000..7d44c9b86 --- /dev/null +++ b/test/test_inscriptionnotauthenticated_get_communication_list_v1_response_m_payload.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.0 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest +import datetime + +from eZmaxApi.models.inscriptionnotauthenticated_get_communication_list_v1_response_m_payload import InscriptionnotauthenticatedGetCommunicationListV1ResponseMPayload # noqa: E501 + +class TestInscriptionnotauthenticatedGetCommunicationListV1ResponseMPayload(unittest.TestCase): + """InscriptionnotauthenticatedGetCommunicationListV1ResponseMPayload unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> InscriptionnotauthenticatedGetCommunicationListV1ResponseMPayload: + """Test InscriptionnotauthenticatedGetCommunicationListV1ResponseMPayload + 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 `InscriptionnotauthenticatedGetCommunicationListV1ResponseMPayload` + """ + model = InscriptionnotauthenticatedGetCommunicationListV1ResponseMPayload() # noqa: E501 + if include_optional: + return InscriptionnotauthenticatedGetCommunicationListV1ResponseMPayload( + 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 InscriptionnotauthenticatedGetCommunicationListV1ResponseMPayload( + 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 testInscriptionnotauthenticatedGetCommunicationListV1ResponseMPayload(self): + """Test InscriptionnotauthenticatedGetCommunicationListV1ResponseMPayload""" + # inst_req_only = self.make_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 new file mode 100644 index 000000000..158ca6613 --- /dev/null +++ b/test/test_inscriptiontemp_get_communication_list_v1_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.0 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest +import datetime + +from eZmaxApi.models.inscriptiontemp_get_communication_list_v1_response import InscriptiontempGetCommunicationListV1Response # noqa: E501 + +class TestInscriptiontempGetCommunicationListV1Response(unittest.TestCase): + """InscriptiontempGetCommunicationListV1Response unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> InscriptiontempGetCommunicationListV1Response: + """Test InscriptiontempGetCommunicationListV1Response + 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 `InscriptiontempGetCommunicationListV1Response` + """ + model = InscriptiontempGetCommunicationListV1Response() # noqa: E501 + if include_optional: + return InscriptiontempGetCommunicationListV1Response( + 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.inscriptiontemp_get_communication_list_v1_response_m_payload.inscriptiontemp-getCommunicationList-v1-Response-mPayload() + ) + else: + return InscriptiontempGetCommunicationListV1Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload_get_list.Common-Response-objDebugPayload_getList(), + m_payload = eZmaxApi.models.inscriptiontemp_get_communication_list_v1_response_m_payload.inscriptiontemp-getCommunicationList-v1-Response-mPayload(), + ) + """ + + def testInscriptiontempGetCommunicationListV1Response(self): + """Test InscriptiontempGetCommunicationListV1Response""" + # inst_req_only = self.make_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_m_payload.py b/test/test_inscriptiontemp_get_communication_list_v1_response_m_payload.py new file mode 100644 index 000000000..c94c69783 --- /dev/null +++ b/test/test_inscriptiontemp_get_communication_list_v1_response_m_payload.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.0 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest +import datetime + +from eZmaxApi.models.inscriptiontemp_get_communication_list_v1_response_m_payload import InscriptiontempGetCommunicationListV1ResponseMPayload # noqa: E501 + +class TestInscriptiontempGetCommunicationListV1ResponseMPayload(unittest.TestCase): + """InscriptiontempGetCommunicationListV1ResponseMPayload unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> InscriptiontempGetCommunicationListV1ResponseMPayload: + """Test InscriptiontempGetCommunicationListV1ResponseMPayload + 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 `InscriptiontempGetCommunicationListV1ResponseMPayload` + """ + model = InscriptiontempGetCommunicationListV1ResponseMPayload() # noqa: E501 + if include_optional: + return InscriptiontempGetCommunicationListV1ResponseMPayload( + 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 InscriptiontempGetCommunicationListV1ResponseMPayload( + 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 testInscriptiontempGetCommunicationListV1ResponseMPayload(self): + """Test InscriptiontempGetCommunicationListV1ResponseMPayload""" + # inst_req_only = self.make_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 new file mode 100644 index 000000000..805b9d79d --- /dev/null +++ b/test/test_invoice_get_communication_list_v1_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.0 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest +import datetime + +from eZmaxApi.models.invoice_get_communication_list_v1_response import InvoiceGetCommunicationListV1Response # noqa: E501 + +class TestInvoiceGetCommunicationListV1Response(unittest.TestCase): + """InvoiceGetCommunicationListV1Response unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> InvoiceGetCommunicationListV1Response: + """Test InvoiceGetCommunicationListV1Response + 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 `InvoiceGetCommunicationListV1Response` + """ + model = InvoiceGetCommunicationListV1Response() # noqa: E501 + if include_optional: + return InvoiceGetCommunicationListV1Response( + 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.invoice_get_communication_list_v1_response_m_payload.invoice-getCommunicationList-v1-Response-mPayload() + ) + else: + return InvoiceGetCommunicationListV1Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload_get_list.Common-Response-objDebugPayload_getList(), + m_payload = eZmaxApi.models.invoice_get_communication_list_v1_response_m_payload.invoice-getCommunicationList-v1-Response-mPayload(), + ) + """ + + def testInvoiceGetCommunicationListV1Response(self): + """Test InvoiceGetCommunicationListV1Response""" + # inst_req_only = self.make_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_m_payload.py b/test/test_invoice_get_communication_list_v1_response_m_payload.py new file mode 100644 index 000000000..2c949986d --- /dev/null +++ b/test/test_invoice_get_communication_list_v1_response_m_payload.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.0 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest +import datetime + +from eZmaxApi.models.invoice_get_communication_list_v1_response_m_payload import InvoiceGetCommunicationListV1ResponseMPayload # noqa: E501 + +class TestInvoiceGetCommunicationListV1ResponseMPayload(unittest.TestCase): + """InvoiceGetCommunicationListV1ResponseMPayload unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> InvoiceGetCommunicationListV1ResponseMPayload: + """Test InvoiceGetCommunicationListV1ResponseMPayload + 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 `InvoiceGetCommunicationListV1ResponseMPayload` + """ + model = InvoiceGetCommunicationListV1ResponseMPayload() # noqa: E501 + if include_optional: + return InvoiceGetCommunicationListV1ResponseMPayload( + 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 InvoiceGetCommunicationListV1ResponseMPayload( + 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 testInvoiceGetCommunicationListV1ResponseMPayload(self): + """Test InvoiceGetCommunicationListV1ResponseMPayload""" + # inst_req_only = self.make_instance(include_optional=False) + # inst_req_and_optional = self.make_instance(include_optional=True) + +if __name__ == '__main__': + unittest.main() diff --git a/test/test_object_attachment_api.py b/test/test_object_attachment_api.py new file mode 100644 index 000000000..45b6dbcc9 --- /dev/null +++ b/test/test_object_attachment_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.0 + Contact: 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_attachment_api import ObjectAttachmentApi # noqa: E501 + + +class TestObjectAttachmentApi(unittest.TestCase): + """ObjectAttachmentApi unit test stubs""" + + def setUp(self) -> None: + self.api = ObjectAttachmentApi() # noqa: E501 + + def tearDown(self) -> None: + pass + + def test_attachment_download_v1(self) -> None: + """Test case for attachment_download_v1 + + Retrieve the content # noqa: E501 + """ + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/test/test_object_buyercontract_api.py b/test/test_object_buyercontract_api.py new file mode 100644 index 000000000..c5e7a6cc4 --- /dev/null +++ b/test/test_object_buyercontract_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.0 + Contact: 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_buyercontract_api import ObjectBuyercontractApi # noqa: E501 + + +class TestObjectBuyercontractApi(unittest.TestCase): + """ObjectBuyercontractApi unit test stubs""" + + def setUp(self) -> None: + self.api = ObjectBuyercontractApi() # noqa: E501 + + def tearDown(self) -> None: + pass + + def test_buyercontract_get_communication_list_v1(self) -> None: + """Test case for buyercontract_get_communication_list_v1 + + Retrieve Communication list # noqa: E501 + """ + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/test/test_object_communication_api.py b/test/test_object_communication_api.py index 596eabfec..a8190ce2c 100644 --- a/test/test_object_communication_api.py +++ b/test/test_object_communication_api.py @@ -27,10 +27,10 @@ def setUp(self) -> None: def tearDown(self) -> None: pass - def test_communication_get_object_v2(self) -> None: - """Test case for communication_get_object_v2 + def test_communication_send_v1(self) -> None: + """Test case for communication_send_v1 - Retrieve an existing Communication # noqa: E501 + Send a new Communication # noqa: E501 """ pass diff --git a/test/test_object_electronicfundstransfer_api.py b/test/test_object_electronicfundstransfer_api.py new file mode 100644 index 000000000..53ac53e28 --- /dev/null +++ b/test/test_object_electronicfundstransfer_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.0 + Contact: 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_electronicfundstransfer_api import ObjectElectronicfundstransferApi # noqa: E501 + + +class TestObjectElectronicfundstransferApi(unittest.TestCase): + """ObjectElectronicfundstransferApi unit test stubs""" + + def setUp(self) -> None: + self.api = ObjectElectronicfundstransferApi() # noqa: E501 + + def tearDown(self) -> None: + pass + + def test_eletronicfundstransfer_get_communication_list_v1(self) -> None: + """Test case for eletronicfundstransfer_get_communication_list_v1 + + Retrieve Communication list # noqa: E501 + """ + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/test/test_object_ezsignfolder_api.py b/test/test_object_ezsignfolder_api.py index 0b8de9dd9..990220811 100644 --- a/test/test_object_ezsignfolder_api.py +++ b/test/test_object_ezsignfolder_api.py @@ -104,6 +104,20 @@ def test_ezsignfolder_get_communication_list_v1(self) -> None: """ pass + def test_ezsignfolder_get_communicationrecipients_v1(self) -> None: + """Test case for ezsignfolder_get_communicationrecipients_v1 + + Retrieve Ezsignfolder's Communicationrecipient # noqa: E501 + """ + pass + + def test_ezsignfolder_get_communicationsenders_v1(self) -> None: + """Test case for ezsignfolder_get_communicationsenders_v1 + + Retrieve Ezsignfolder's Communicationsender # noqa: E501 + """ + pass + def test_ezsignfolder_get_ezsigndocuments_v1(self) -> None: """Test case for ezsignfolder_get_ezsigndocuments_v1 diff --git a/test/test_object_inscription_api.py b/test/test_object_inscription_api.py new file mode 100644 index 000000000..0e5159770 --- /dev/null +++ b/test/test_object_inscription_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.0 + Contact: 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_inscription_api import ObjectInscriptionApi # noqa: E501 + + +class TestObjectInscriptionApi(unittest.TestCase): + """ObjectInscriptionApi unit test stubs""" + + def setUp(self) -> None: + self.api = ObjectInscriptionApi() # noqa: E501 + + def tearDown(self) -> None: + pass + + def test_inscription_get_communication_list_v1(self) -> None: + """Test case for inscription_get_communication_list_v1 + + Retrieve Communication list # noqa: E501 + """ + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/test/test_object_inscriptionnotauthenticated_api.py b/test/test_object_inscriptionnotauthenticated_api.py new file mode 100644 index 000000000..e102dd29a --- /dev/null +++ b/test/test_object_inscriptionnotauthenticated_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.0 + Contact: 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_inscriptionnotauthenticated_api import ObjectInscriptionnotauthenticatedApi # noqa: E501 + + +class TestObjectInscriptionnotauthenticatedApi(unittest.TestCase): + """ObjectInscriptionnotauthenticatedApi unit test stubs""" + + def setUp(self) -> None: + self.api = ObjectInscriptionnotauthenticatedApi() # noqa: E501 + + def tearDown(self) -> None: + pass + + def test_inscriptionnotauthenticated_get_communication_list_v1(self) -> None: + """Test case for inscriptionnotauthenticated_get_communication_list_v1 + + Retrieve Communication list # noqa: E501 + """ + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/test/test_object_inscriptiontemp_api.py b/test/test_object_inscriptiontemp_api.py new file mode 100644 index 000000000..cfcdfa165 --- /dev/null +++ b/test/test_object_inscriptiontemp_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.0 + Contact: 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_inscriptiontemp_api import ObjectInscriptiontempApi # noqa: E501 + + +class TestObjectInscriptiontempApi(unittest.TestCase): + """ObjectInscriptiontempApi unit test stubs""" + + def setUp(self) -> None: + self.api = ObjectInscriptiontempApi() # noqa: E501 + + def tearDown(self) -> None: + pass + + def test_inscriptiontemp_get_communication_list_v1(self) -> None: + """Test case for inscriptiontemp_get_communication_list_v1 + + Retrieve Communication list # noqa: E501 + """ + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/test/test_object_invoice_api.py b/test/test_object_invoice_api.py new file mode 100644 index 000000000..1565f8243 --- /dev/null +++ b/test/test_object_invoice_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.0 + Contact: 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_invoice_api import ObjectInvoiceApi # noqa: E501 + + +class TestObjectInvoiceApi(unittest.TestCase): + """ObjectInvoiceApi unit test stubs""" + + def setUp(self) -> None: + self.api = ObjectInvoiceApi() # noqa: E501 + + def tearDown(self) -> None: + pass + + def test_invoice_get_communication_list_v1(self) -> None: + """Test case for invoice_get_communication_list_v1 + + Retrieve Communication list # noqa: E501 + """ + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/test/test_object_otherincome_api.py b/test/test_object_otherincome_api.py new file mode 100644 index 000000000..0ba31111e --- /dev/null +++ b/test/test_object_otherincome_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.0 + Contact: 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_otherincome_api import ObjectOtherincomeApi # noqa: E501 + + +class TestObjectOtherincomeApi(unittest.TestCase): + """ObjectOtherincomeApi unit test stubs""" + + def setUp(self) -> None: + self.api = ObjectOtherincomeApi() # noqa: E501 + + def tearDown(self) -> None: + pass + + def test_otherincome_get_communication_list_v1(self) -> None: + """Test case for otherincome_get_communication_list_v1 + + Retrieve Communication list # noqa: E501 + """ + pass + + +if __name__ == '__main__': + unittest.main() diff --git a/test/test_object_rejectedoffertopurchase_api.py b/test/test_object_rejectedoffertopurchase_api.py new file mode 100644 index 000000000..4815d8c5e --- /dev/null +++ b/test/test_object_rejectedoffertopurchase_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.0 + Contact: 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_rejectedoffertopurchase_api import ObjectRejectedoffertopurchaseApi # noqa: E501 + + +class TestObjectRejectedoffertopurchaseApi(unittest.TestCase): + """ObjectRejectedoffertopurchaseApi unit test stubs""" + + def setUp(self) -> None: + self.api = ObjectRejectedoffertopurchaseApi() # noqa: E501 + + def tearDown(self) -> None: + pass + + def test_rejectedoffertopurchase_get_communication_list_v1(self) -> None: + """Test case for rejectedoffertopurchase_get_communication_list_v1 + + Retrieve Communication list # noqa: E501 + """ + pass + + +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 new file mode 100644 index 000000000..96eb5967e --- /dev/null +++ b/test/test_otherincome_get_communication_list_v1_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.0 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest +import datetime + +from eZmaxApi.models.otherincome_get_communication_list_v1_response import OtherincomeGetCommunicationListV1Response # noqa: E501 + +class TestOtherincomeGetCommunicationListV1Response(unittest.TestCase): + """OtherincomeGetCommunicationListV1Response unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> OtherincomeGetCommunicationListV1Response: + """Test OtherincomeGetCommunicationListV1Response + 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 `OtherincomeGetCommunicationListV1Response` + """ + model = OtherincomeGetCommunicationListV1Response() # noqa: E501 + if include_optional: + return OtherincomeGetCommunicationListV1Response( + 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.otherincome_get_communication_list_v1_response_m_payload.otherincome-getCommunicationList-v1-Response-mPayload() + ) + else: + return OtherincomeGetCommunicationListV1Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload_get_list.Common-Response-objDebugPayload_getList(), + m_payload = eZmaxApi.models.otherincome_get_communication_list_v1_response_m_payload.otherincome-getCommunicationList-v1-Response-mPayload(), + ) + """ + + def testOtherincomeGetCommunicationListV1Response(self): + """Test OtherincomeGetCommunicationListV1Response""" + # inst_req_only = self.make_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_m_payload.py b/test/test_otherincome_get_communication_list_v1_response_m_payload.py new file mode 100644 index 000000000..4366e6675 --- /dev/null +++ b/test/test_otherincome_get_communication_list_v1_response_m_payload.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.0 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest +import datetime + +from eZmaxApi.models.otherincome_get_communication_list_v1_response_m_payload import OtherincomeGetCommunicationListV1ResponseMPayload # noqa: E501 + +class TestOtherincomeGetCommunicationListV1ResponseMPayload(unittest.TestCase): + """OtherincomeGetCommunicationListV1ResponseMPayload unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> OtherincomeGetCommunicationListV1ResponseMPayload: + """Test OtherincomeGetCommunicationListV1ResponseMPayload + 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 `OtherincomeGetCommunicationListV1ResponseMPayload` + """ + model = OtherincomeGetCommunicationListV1ResponseMPayload() # noqa: E501 + if include_optional: + return OtherincomeGetCommunicationListV1ResponseMPayload( + 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 OtherincomeGetCommunicationListV1ResponseMPayload( + 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 testOtherincomeGetCommunicationListV1ResponseMPayload(self): + """Test OtherincomeGetCommunicationListV1ResponseMPayload""" + # inst_req_only = self.make_instance(include_optional=False) + # inst_req_and_optional = self.make_instance(include_optional=True) + +if __name__ == '__main__': + unittest.main() diff --git a/test/test_phonestatic_response.py b/test/test_phonestatic_response.py deleted file mode 100644 index 16ccfeb45..000000000 --- a/test/test_phonestatic_response.py +++ /dev/null @@ -1,56 +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.0 - Contact: support-api@ezmax.ca - Generated by OpenAPI Generator (https://openapi-generator.tech) - - Do not edit the class manually. -""" # noqa: E501 - - -import unittest -import datetime - -from eZmaxApi.models.phonestatic_response import PhonestaticResponse # noqa: E501 - -class TestPhonestaticResponse(unittest.TestCase): - """PhonestaticResponse unit test stubs""" - - def setUp(self): - pass - - def tearDown(self): - pass - - def make_instance(self, include_optional) -> PhonestaticResponse: - """Test PhonestaticResponse - 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 `PhonestaticResponse` - """ - model = PhonestaticResponse() # noqa: E501 - if include_optional: - return PhonestaticResponse( - pki_phonestatic_id = 1, - s_phonestatic_e164 = '+15149901516', - s_phonestatic_extension = '123' - ) - else: - return PhonestaticResponse( - pki_phonestatic_id = 1, - ) - """ - - def testPhonestaticResponse(self): - """Test PhonestaticResponse""" - # inst_req_only = self.make_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 new file mode 100644 index 000000000..a66cc8a02 --- /dev/null +++ b/test/test_rejectedoffertopurchase_get_communication_list_v1_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.0 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest +import datetime + +from eZmaxApi.models.rejectedoffertopurchase_get_communication_list_v1_response import RejectedoffertopurchaseGetCommunicationListV1Response # noqa: E501 + +class TestRejectedoffertopurchaseGetCommunicationListV1Response(unittest.TestCase): + """RejectedoffertopurchaseGetCommunicationListV1Response unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> RejectedoffertopurchaseGetCommunicationListV1Response: + """Test RejectedoffertopurchaseGetCommunicationListV1Response + 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 `RejectedoffertopurchaseGetCommunicationListV1Response` + """ + model = RejectedoffertopurchaseGetCommunicationListV1Response() # noqa: E501 + if include_optional: + return RejectedoffertopurchaseGetCommunicationListV1Response( + 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.rejectedoffertopurchase_get_communication_list_v1_response_m_payload.rejectedoffertopurchase-getCommunicationList-v1-Response-mPayload() + ) + else: + return RejectedoffertopurchaseGetCommunicationListV1Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload_get_list.Common-Response-objDebugPayload_getList(), + m_payload = eZmaxApi.models.rejectedoffertopurchase_get_communication_list_v1_response_m_payload.rejectedoffertopurchase-getCommunicationList-v1-Response-mPayload(), + ) + """ + + def testRejectedoffertopurchaseGetCommunicationListV1Response(self): + """Test RejectedoffertopurchaseGetCommunicationListV1Response""" + # inst_req_only = self.make_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_m_payload.py b/test/test_rejectedoffertopurchase_get_communication_list_v1_response_m_payload.py new file mode 100644 index 000000000..a19256f2d --- /dev/null +++ b/test/test_rejectedoffertopurchase_get_communication_list_v1_response_m_payload.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.0 + Contact: support-api@ezmax.ca + Generated by OpenAPI Generator (https://openapi-generator.tech) + + Do not edit the class manually. +""" # noqa: E501 + + +import unittest +import datetime + +from eZmaxApi.models.rejectedoffertopurchase_get_communication_list_v1_response_m_payload import RejectedoffertopurchaseGetCommunicationListV1ResponseMPayload # noqa: E501 + +class TestRejectedoffertopurchaseGetCommunicationListV1ResponseMPayload(unittest.TestCase): + """RejectedoffertopurchaseGetCommunicationListV1ResponseMPayload unit test stubs""" + + def setUp(self): + pass + + def tearDown(self): + pass + + def make_instance(self, include_optional) -> RejectedoffertopurchaseGetCommunicationListV1ResponseMPayload: + """Test RejectedoffertopurchaseGetCommunicationListV1ResponseMPayload + 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 `RejectedoffertopurchaseGetCommunicationListV1ResponseMPayload` + """ + model = RejectedoffertopurchaseGetCommunicationListV1ResponseMPayload() # noqa: E501 + if include_optional: + return RejectedoffertopurchaseGetCommunicationListV1ResponseMPayload( + 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 RejectedoffertopurchaseGetCommunicationListV1ResponseMPayload( + 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 testRejectedoffertopurchaseGetCommunicationListV1ResponseMPayload(self): + """Test RejectedoffertopurchaseGetCommunicationListV1ResponseMPayload""" + # inst_req_only = self.make_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_response.py b/test/test_webhook_response.py index 84bda1d26..7e16da92d 100644 --- a/test/test_webhook_response.py +++ b/test/test_webhook_response.py @@ -56,6 +56,7 @@ def make_instance(self, include_optional) -> WebhookResponse: e_webhook_module = 'Ezsign', s_webhook_url = 'https://www.example.com', s_webhook_emailfailed = 'email@example.com', + b_webhook_isactive = True, b_webhook_skipsslvalidation = False, ) """ diff --git a/test/test_webhook_response_compound.py b/test/test_webhook_response_compound.py index 1a63e0b74..f4a983908 100644 --- a/test/test_webhook_response_compound.py +++ b/test/test_webhook_response_compound.py @@ -57,6 +57,7 @@ def make_instance(self, include_optional) -> WebhookResponseCompound: e_webhook_module = 'Ezsign', s_webhook_url = 'https://www.example.com', s_webhook_emailfailed = 'email@example.com', + b_webhook_isactive = True, b_webhook_skipsslvalidation = False, ) """