From 2e0858163eab84ca7703179ca1d1998953070529 Mon Sep 17 00:00:00 2001 From: "Api (Codebuild)" Date: Fri, 17 Jan 2025 15:45:21 +0000 Subject: [PATCH] Look for details in API documentation's changelog --- .openapi-generator/VERSION | 2 +- README.md | 4 +- ...essionGenerateFederationTokenV1Response.md | 2 + docs/ActivesessionGetCurrentV1Response.md | 4 +- ...tivesessionGetCurrentV1ResponseMPayload.md | 31 +++ docs/ActivesessionGetCurrentV2Response.md | 2 + docs/ActivesessionGetListV1Response.md | 2 + .../ActivesessionGetListV1ResponseMPayload.md | 2 + docs/ActivesessionResponseCompound.md | 19 ++ docs/ApikeyCreateObjectV2Request.md | 2 +- docs/ApikeyCreateObjectV2Response.md | 2 + docs/ApikeyCreateObjectV2ResponseMPayload.md | 2 +- docs/ApikeyEditObjectV1Request.md | 2 +- docs/ApikeyEditObjectV1Response.md | 2 + docs/ApikeyEditPermissionsV1Request.md | 2 +- docs/ApikeyEditPermissionsV1Response.md | 2 + ...yGenerateDelegatedCredentialsV1Response.md | 2 + docs/ApikeyGetCorsV1Response.md | 2 + docs/ApikeyGetListV1Response.md | 2 + docs/ApikeyGetListV1ResponseMPayload.md | 2 + docs/ApikeyGetObjectV2Response.md | 2 + docs/ApikeyGetObjectV2ResponseMPayload.md | 2 +- docs/ApikeyGetPermissionsV1Response.md | 2 + docs/ApikeyGetSubnetsV1Response.md | 2 + docs/ApikeyRegenerateV1Response.md | 2 + docs/ApikeyRegenerateV1ResponseMPayload.md | 2 +- docs/AttachmentGetAttachmentlogsV1Response.md | 2 + docs/AttachmentResponseCompound.md | 61 ++++++ docs/AttachmentlogResponseCompound.md | 5 + ...nticationexternalCreateObjectV1Response.md | 2 + ...nticationexternalDeleteObjectV1Response.md | 2 + ...henticationexternalEditObjectV1Response.md | 2 + ...cationexternalGetAutocompleteV2Response.md | 2 + ...AuthenticationexternalGetListV1Response.md | 2 + ...cationexternalGetListV1ResponseMPayload.md | 2 + ...thenticationexternalGetObjectV2Response.md | 2 + docs/AuthenticationexternalRequestCompound.md | 3 + ...ionexternalResetAuthorizationV1Response.md | 2 + .../AuthenticationexternalResponseCompound.md | 6 + ...ternalGenerateFederationTokenV1Response.md | 2 + ...entityexternalGetAutocompleteV2Response.md | 2 + ...ingentityinternalCreateObjectV1Response.md | 2 + ...llingentityinternalEditObjectV1Response.md | 2 + ...entityinternalGetAutocompleteV2Response.md | 2 + .../BillingentityinternalGetListV1Response.md | 2 + ...entityinternalGetListV1ResponseMPayload.md | 2 + ...illingentityinternalGetObjectV2Response.md | 2 + docs/BillingentityinternalRequestCompound.md | 2 + docs/BillingentityinternalResponseCompound.md | 2 + ...ingentityinternalproductRequestCompound.md | 3 + ...ngentityinternalproductResponseCompound.md | 7 + docs/BrandingCreateObjectV2Response.md | 2 + docs/BrandingEditObjectV2Response.md | 2 + docs/BrandingGetAutocompleteV2Response.md | 2 + docs/BrandingGetListV1Response.md | 2 + docs/BrandingGetListV1ResponseMPayload.md | 2 + docs/BrandingGetObjectV3Response.md | 2 + docs/BrandingRequestCompoundV2.md | 9 + docs/BrandingResponseCompoundV3.md | 10 + ...contractGetCommunicationCountV1Response.md | 2 + ...rcontractGetCommunicationListV1Response.md | 2 + ...actGetCommunicationrecipientsV1Response.md | 2 + ...ntractGetCommunicationsendersV1Response.md | 2 + docs/ClonehistoryGetListV1Response.md | 2 + docs/ClonehistoryGetListV1ResponseMPayload.md | 2 + docs/ColleagueRequestCompoundV2.md | 14 ++ docs/ColleagueResponseCompoundV2.md | 16 ++ docs/CommonGetReportV1Response.md | 2 + ...CommonResponseErrorCreditcardValidation.md | 3 + ...CommonResponseErrorEzsignformValidation.md | 5 +- docs/CommonResponseErrorSTemporaryFileUrl.md | 3 + docs/CommonResponseErrorTooManyRequests.md | 3 + ...CommonResponseErrorWrongFranchiseoffice.md | 3 + docs/CommonResponseObjDebugPayloadGetList.md | 5 + docs/CommonWebhook.md | 2 +- docs/CommunicationRequestCompound.md | 12 +- docs/CommunicationSendV1Response.md | 2 + .../CommunicationattachmentRequestCompound.md | 4 + ...icationexternalrecipientRequestCompound.md | 5 + docs/CommunicationrecipientRequestCompound.md | 15 ++ docs/CompanyGetAutocompleteV2Response.md | 2 + docs/ContactRequestCompound.md | 6 + docs/ContactRequestCompoundV2.md | 10 + docs/ContactResponseCompound.md | 13 ++ docs/ContactinformationsRequestCompound.md | 12 +- docs/ContactinformationsRequestCompoundV2.md | 13 +- docs/ContactinformationsResponse.md | 6 +- docs/ContactinformationsResponseCompound.md | 17 +- docs/ContacttitleGetAutocompleteV2Response.md | 2 + docs/CorsCreateObjectV1Response.md | 2 + docs/CorsDeleteObjectV1Response.md | 2 + docs/CorsEditObjectV1Response.md | 2 + docs/CorsGetObjectV2Response.md | 2 + docs/CorsRequestCompound.md | 3 + docs/CorsResponseCompound.md | 3 + docs/CountryGetAutocompleteV2Response.md | 2 + .../CreditcardclientCreateObjectV1Response.md | 2 + .../CreditcardclientDeleteObjectV1Response.md | 2 + docs/CreditcardclientEditObjectV1Response.md | 2 + ...editcardclientGetAutocompleteV2Response.md | 2 + docs/CreditcardclientGetListV1Response.md | 2 + ...editcardclientGetListV1ResponseMPayload.md | 2 + docs/CreditcardclientGetObjectV2Response.md | 2 + docs/CreditcardclientPatchObjectV1Response.md | 2 + docs/CreditcardclientRequestCompound.md | 9 + docs/CreditcardclientResponseCompound.md | 7 + docs/CreditcarddetailResponseCompound.md | 8 + ...CreditcardtypeGetAutocompleteV2Response.md | 2 + docs/CustomAttachmentResponse.md | 61 ++++++ ...ommunicationrecipientsrecipientResponse.md | 2 +- docs/CustomCommunicationsenderResponse.md | 2 +- docs/CustomEzsigndocumentRequest.md | 2 +- ...nerassociationActionableElementResponse.md | 9 + docs/CustomEzsignformfielderrorResponse.md | 2 +- ...teEzsignelementsPositionedByWordRequest.md | 20 ++ docs/CustomEzsignformfieldgroupRequest.md | 2 +- ...teEzsignelementsPositionedByWordRequest.md | 30 +++ ...nsubsectiongetnotificationtestsResponse.md | 5 + ...icationtestgetnotificationtestsResponse.md | 5 + docs/CustomWebhookResponse.md | 19 ++ docs/CustomerCreateObjectV1Response.md | 2 + docs/CustomerGetObjectV2Response.md | 2 + docs/CustomerRequestCompound.md | 51 +++++ docs/CustomerResponseCompound.md | 51 +++++ docs/DepartmentGetAutocompleteV2Response.md | 2 + docs/DiscussionCreateObjectV1Response.md | 2 + docs/DiscussionDeleteObjectV1Response.md | 2 + docs/DiscussionGetObjectV2Response.md | 2 + docs/DiscussionPatchObjectV1Response.md | 2 + docs/DiscussionRequestCompound.md | 3 + docs/DiscussionResponseCompound.md | 7 + ...ionUpdateDiscussionreadstatusV1Response.md | 2 + ...cussionmembershipCreateObjectV1Response.md | 2 + ...cussionmembershipDeleteObjectV1Response.md | 2 + docs/DiscussionmembershipRequestCompound.md | 6 + docs/DiscussionmembershipResponseCompound.md | 7 + ...DiscussionmessageCreateObjectV1Response.md | 2 + ...DiscussionmessageDeleteObjectV1Response.md | 2 + .../DiscussionmessagePatchObjectV1Response.md | 2 + docs/DiscussionmessageRequestCompound.md | 4 + docs/DiscussionmessageResponseCompound.md | 9 + docs/DomainCreateObjectV1Response.md | 2 + docs/DomainDeleteObjectV1Response.md | 2 + docs/DomainGetListV1Response.md | 2 + docs/DomainGetListV1ResponseMPayload.md | 2 + docs/DomainGetObjectV2Response.md | 2 + docs/DomainRequestCompound.md | 2 + docs/DomainResponseCompound.md | 8 +- ...transferGetCommunicationCountV1Response.md | 2 + ...stransferGetCommunicationListV1Response.md | 2 + ...ferGetCommunicationrecipientsV1Response.md | 2 + ...ansferGetCommunicationsendersV1Response.md | 2 + docs/EmailtypeGetAutocompleteV2Response.md | 2 + ...ctemplatedocumentCreateObjectV1Response.md | 2 + ...doctemplatedocumentEditObjectV1Response.md | 2 + ...mplatedocumentGetAutocompleteV2Response.md | 2 + .../EzdoctemplatedocumentGetListV1Response.md | 2 + ...mplatedocumentGetListV1ResponseMPayload.md | 2 + ...zdoctemplatedocumentGetObjectV2Response.md | 2 + ...octemplatedocumentPatchObjectV1Response.md | 2 + docs/EzdoctemplatedocumentRequestCompound.md | 8 + docs/EzdoctemplatedocumentResponseCompound.md | 12 ++ ...ldtypecategoryGetAutocompleteV2Response.md | 2 + ...octemplatetypeGetAutocompleteV2Response.md | 2 + ...EzmaxinvoicingGetAutocompleteV2Response.md | 2 + docs/EzmaxinvoicingGetObjectV2Response.md | 2 + .../EzmaxinvoicingGetProvisionalV1Response.md | 4 +- ...voicingGetProvisionalV1ResponseMPayload.md | 22 ++ docs/EzmaxinvoicingResponseCompound.md | 17 +- docs/EzmaxinvoicingagentResponseCompound.md | 20 ++ ...zmaxinvoicingcommissionResponseCompound.md | 8 + .../EzmaxinvoicingcontractResponseCompound.md | 9 + ...nvoicingsummaryexternalResponseCompound.md | 5 + ...ngsummaryexternaldetailResponseCompound.md | 10 + ...xinvoicingsummaryglobalResponseCompound.md | 19 ++ ...nvoicingsummaryinternalResponseCompound.md | 6 + ...ngsummaryinternaldetailResponseCompound.md | 12 ++ docs/EzmaxinvoicinguserResponseCompound.md | 9 + docs/EzmaxproductGetAutocompleteV2Response.md | 2 + .../EzsignannotationCreateObjectV1Response.md | 2 + .../EzsignannotationDeleteObjectV1Response.md | 2 + docs/EzsignannotationEditObjectV1Response.md | 2 + docs/EzsignannotationGetObjectV2Response.md | 2 + docs/EzsignannotationRequestCompound.md | 11 + docs/EzsignannotationResponseCompound.md | 11 + ...ateEzsignbulksendtransmissionV2Response.md | 2 + docs/EzsignbulksendCreateObjectV1Response.md | 2 + docs/EzsignbulksendDeleteObjectV1Response.md | 2 + docs/EzsignbulksendEditObjectV1Response.md | 2 + ...etEzsignbulksendtransmissionsV1Response.md | 2 + ...dGetEzsignsignaturesAutomaticV1Response.md | 2 + docs/EzsignbulksendGetFormsDataV1Response.md | 2 + docs/EzsignbulksendGetListV1Response.md | 2 + ...EzsignbulksendGetListV1ResponseMPayload.md | 2 + docs/EzsignbulksendGetObjectV2Response.md | 2 + docs/EzsignbulksendReorderV1Response.md | 2 + docs/EzsignbulksendRequestCompound.md | 7 + docs/EzsignbulksendResponseCompound.md | 11 + ...nddocumentmappingCreateObjectV1Response.md | 2 + ...nddocumentmappingDeleteObjectV1Response.md | 2 + ...ksenddocumentmappingGetObjectV2Response.md | 2 + ...nbulksenddocumentmappingRequestCompound.md | 4 + ...bulksenddocumentmappingResponseCompound.md | 5 + ...sendsignermappingCreateObjectV1Response.md | 2 + ...sendsignermappingDeleteObjectV1Response.md | 2 + ...ulksendsignermappingGetObjectV2Response.md | 2 + ...ignbulksendsignermappingRequestCompound.md | 4 + ...gnbulksendsignermappingResponseCompound.md | 4 + ...nGetEzsignsignaturesAutomaticV1Response.md | 2 + ...ksendtransmissionGetFormsDataV1Response.md | 2 + ...bulksendtransmissionGetObjectV2Response.md | 2 + ...ignbulksendtransmissionResponseCompound.md | 5 + .../EzsigndiscussionCreateObjectV1Response.md | 2 + .../EzsigndiscussionDeleteObjectV1Response.md | 2 + docs/EzsigndiscussionGetObjectV2Response.md | 2 + docs/EzsigndiscussionRequestCompound.md | 6 + docs/EzsigndiscussionResponseCompound.md | 7 + ...gndocumentApplyEzsigntemplateV1Response.md | 2 + ...gndocumentApplyEzsigntemplateV2Response.md | 2 + ...mentApplyEzsigntemplateglobalV1Response.md | 2 + ...zsignelementsPositionedByWordV1Response.md | 2 + docs/EzsigndocumentCreateObjectV1Request.md | 2 +- docs/EzsigndocumentCreateObjectV1Response.md | 2 + docs/EzsigndocumentCreateObjectV2Request.md | 2 +- docs/EzsigndocumentCreateObjectV2Response.md | 2 + docs/EzsigndocumentCreateObjectV3Request.md | 2 +- docs/EzsigndocumentCreateObjectV3Response.md | 2 + docs/EzsigndocumentDeclineToSignV1Response.md | 2 + docs/EzsigndocumentDeleteObjectV1Response.md | 2 + ...documentEditEzsignannotationsV1Response.md | 2 + ...mentEditEzsignformfieldgroupsV1Response.md | 2 + ...ndocumentEditEzsignsignaturesV1Response.md | 2 + docs/EzsigndocumentEditObjectV1Request.md | 2 +- docs/EzsigndocumentEditObjectV1Response.md | 2 + .../EzsigndocumentEndPrematurelyV1Response.md | 2 + docs/EzsigndocumentExtractTextV1Response.md | 2 + docs/EzsigndocumentFlattenV1Response.md | 2 + ...documentGetActionableElementsV1Response.md | 2 + .../EzsigndocumentGetAttachmentsV1Response.md | 2 + ...ndocumentGetCompletedElementsV1Response.md | 2 + .../EzsigndocumentGetDownloadUrlV1Response.md | 2 + ...ndocumentGetEzsignannotationsV1Response.md | 2 + ...ndocumentGetEzsigndiscussionsV1Response.md | 2 + ...umentGetEzsignformfieldgroupsV1Response.md | 2 + .../EzsigndocumentGetEzsignpagesV1Response.md | 2 + ...ocumentGetEzsignpagesV1ResponseMPayload.md | 2 +- ...tGetEzsignsignaturesAutomaticV1Response.md | 2 + ...gndocumentGetEzsignsignaturesV1Response.md | 2 + docs/EzsigndocumentGetFormDataV1Response.md | 2 + docs/EzsigndocumentGetObjectV1Response.md | 4 +- ...signdocumentGetObjectV1ResponseMPayload.md | 31 +++ docs/EzsigndocumentGetObjectV2Response.md | 2 + ...signdocumentGetTemporaryProofV1Response.md | 2 + ...mentGetTemporaryProofV1ResponseMPayload.md | 2 +- ...signdocumentGetWordsPositionsV1Response.md | 2 + docs/EzsigndocumentPatchObjectV1Response.md | 2 + docs/EzsigndocumentResponseCompound.md | 24 +++ ...EzsigndocumentSubmitEzsignformV1Request.md | 2 +- ...zsigndocumentSubmitEzsignformV1Response.md | 2 + docs/EzsigndocumentUnsendV1Response.md | 2 + docs/EzsignfolderArchiveV1Response.md | 2 + docs/EzsignfolderCreateObjectV1Request.md | 2 +- docs/EzsignfolderCreateObjectV1Response.md | 2 + docs/EzsignfolderCreateObjectV2Request.md | 2 +- docs/EzsignfolderCreateObjectV2Response.md | 2 + docs/EzsignfolderCreateObjectV3Request.md | 2 +- docs/EzsignfolderCreateObjectV3Response.md | 2 + docs/EzsignfolderDeleteObjectV1Response.md | 2 + ...ignfolderDisposeEzsignfoldersV1Response.md | 2 + docs/EzsignfolderDisposeV1Response.md | 2 + docs/EzsignfolderEditObjectV3Request.md | 2 +- docs/EzsignfolderEditObjectV3Response.md | 2 + docs/EzsignfolderEndPrematurelyV1Response.md | 2 + ...gnfolderGetActionableElementsV1Response.md | 2 + ...zsignfolderGetAttachmentCountV1Response.md | 2 + docs/EzsignfolderGetAttachmentsV1Response.md | 2 + ...gnfolderGetCommunicationCountV1Response.md | 2 + ...ignfolderGetCommunicationListV1Response.md | 2 + ...derGetCommunicationrecipientsV1Response.md | 2 + ...folderGetCommunicationsendersV1Response.md | 2 + ...zsignfolderGetEzsigndocumentsV1Response.md | 2 + ...zsignfoldersignerassociationsV1Response.md | 2 + ...rGetEzsignsignaturesAutomaticV1Response.md | 2 + docs/EzsignfolderGetFormsDataV1Response.md | 2 + docs/EzsignfolderGetListV1Response.md | 2 + docs/EzsignfolderGetListV1ResponseMPayload.md | 2 + docs/EzsignfolderGetObjectV1Response.md | 4 +- ...EzsignfolderGetObjectV1ResponseMPayload.md | 27 +++ docs/EzsignfolderGetObjectV2Response.md | 2 + docs/EzsignfolderGetObjectV3Response.md | 2 + ...zsignfoldersignerassociationsV1Response.md | 2 + ...erImportEzsigntemplatepackageV1Response.md | 2 + docs/EzsignfolderReorderV1Response.md | 2 + docs/EzsignfolderReorderV2Response.md | 2 + docs/EzsignfolderResponseCompound.md | 26 +++ docs/EzsignfolderResponseCompoundV3.md | 27 +++ docs/EzsignfolderSendV1Response.md | 2 + docs/EzsignfolderSendV3Response.md | 2 + docs/EzsignfolderUnsendV1Response.md | 2 + ...rassociationCreateEmbeddedUrlV1Response.md | 2 + ...signerassociationCreateObjectV1Response.md | 2 + ...signerassociationCreateObjectV2Response.md | 2 + ...signerassociationDeleteObjectV1Response.md | 2 + ...ersignerassociationEditObjectV1Response.md | 2 + ...nerassociationForceDisconnectV1Response.md | 2 + ...ssociationGetInPersonLoginUrlV1Response.md | 2 + ...dersignerassociationGetObjectV1Response.md | 4 +- ...rassociationGetObjectV1ResponseMPayload.md | 9 + ...dersignerassociationGetObjectV2Response.md | 2 + ...rsignerassociationPatchObjectV1Response.md | 2 + ...ldersignerassociationReassignV1Response.md | 2 + ...nfoldersignerassociationRequestCompound.md | 6 + ...foldersignerassociationResponseCompound.md | 6 + .../EzsignfoldertypeCreateObjectV3Response.md | 2 + docs/EzsignfoldertypeEditObjectV3Response.md | 2 + ...signfoldertypeGetAutocompleteV2Response.md | 2 + docs/EzsignfoldertypeGetListV1Response.md | 2 + ...signfoldertypeGetListV1ResponseMPayload.md | 2 + docs/EzsignfoldertypeGetObjectV2Response.md | 2 + docs/EzsignfoldertypeGetObjectV4Response.md | 2 + docs/EzsignfoldertypeRequestCompoundV3.md | 60 ++++++ docs/EzsignfoldertypeResponseCompound.md | 49 +++++ docs/EzsignfoldertypeResponseCompoundV4.md | 64 ++++++ docs/EzsignformfieldRequestCompound.md | 16 +- docs/EzsignformfieldResponseCompound.md | 16 +- ...ignformfieldgroupCreateObjectV1Response.md | 2 + ...ignformfieldgroupDeleteObjectV1Response.md | 2 + ...zsignformfieldgroupEditObjectV1Response.md | 2 + ...EzsignformfieldgroupGetObjectV2Response.md | 2 + docs/EzsignformfieldgroupRequestCompound.md | 21 +- docs/EzsignformfieldgroupResponseCompound.md | 21 +- docs/EzsignpageConsultV1Response.md | 2 + docs/EzsignsignatureCreateObjectV1Response.md | 2 + docs/EzsignsignatureCreateObjectV2Response.md | 2 + docs/EzsignsignatureCreateObjectV3Response.md | 2 + docs/EzsignsignatureDeleteObjectV1Response.md | 2 + docs/EzsignsignatureEditObjectV2Response.md | 2 + ...eGetEzsignsignatureattachmentV1Response.md | 2 + ...eGetEzsignsignaturesAutomaticV1Response.md | 2 + docs/EzsignsignatureGetObjectV3Response.md | 2 + docs/EzsignsignatureRequestCompound.md | 31 ++- docs/EzsignsignatureRequestCompoundV2.md | 31 ++- docs/EzsignsignatureResponseCompound.md | 41 +++- docs/EzsignsignatureResponseCompoundV3.md | 41 +++- docs/EzsignsignatureSignV1Response.md | 2 + docs/EzsignsignerRequestCompound.md | 5 + docs/EzsignsignerResponseCompound.md | 5 + ...EzsignsignergroupCreateObjectV1Response.md | 2 + ...EzsignsignergroupDeleteObjectV1Response.md | 2 + ...tEzsignsignergroupmembershipsV1Response.md | 2 + docs/EzsignsignergroupEditObjectV1Response.md | 2 + ...tEzsignsignergroupmembershipsV1Response.md | 2 + docs/EzsignsignergroupGetObjectV2Response.md | 2 + docs/EzsignsignergroupRequestCompound.md | 3 + docs/EzsignsignergroupResponseCompound.md | 3 + ...ergroupmembershipCreateObjectV1Response.md | 2 + ...ergroupmembershipDeleteObjectV1Response.md | 2 + ...ignergroupmembershipGetObjectV2Response.md | 2 + ...ignsignergroupmembershipRequestCompound.md | 5 + ...gnsignergroupmembershipResponseCompound.md | 5 + ...signsigningreasonCreateObjectV1Response.md | 2 + ...EzsignsigningreasonEditObjectV1Response.md | 2 + ...nsigningreasonGetAutocompleteV2Response.md | 2 + docs/EzsignsigningreasonGetListV1Response.md | 2 + ...nsigningreasonGetListV1ResponseMPayload.md | 2 + .../EzsignsigningreasonGetObjectV2Response.md | 2 + docs/EzsignsigningreasonRequestCompound.md | 3 + docs/EzsignsigningreasonResponseCompound.md | 3 + docs/EzsigntemplateCopyV1Response.md | 2 + docs/EzsigntemplateCreateObjectV3Response.md | 2 + docs/EzsigntemplateDeleteObjectV1Response.md | 2 + docs/EzsigntemplateEditObjectV3Response.md | 2 + ...EzsigntemplateGetAutocompleteV2Response.md | 2 + docs/EzsigntemplateGetListV1Response.md | 2 + ...EzsigntemplateGetListV1ResponseMPayload.md | 2 + docs/EzsigntemplateGetObjectV3Response.md | 2 + docs/EzsigntemplateRequestCompoundV3.md | 11 + docs/EzsigntemplateResponseCompound.md | 15 ++ docs/EzsigntemplateResponseCompoundV3.md | 17 ++ ...ntemplatedocumentCreateObjectV1Response.md | 2 + ...platedocumentpagerecognitionsV1Response.md | 2 + ...EzsigntemplateformfieldgroupsV1Response.md | 2 + ...tEditEzsigntemplatesignaturesV1Response.md | 2 + ...igntemplatedocumentEditObjectV1Response.md | 2 + ...gntemplatedocumentExtractTextV1Response.md | 2 + ...EzsigntemplatedocumentFlattenV1Response.md | 2 + ...platedocumentpagerecognitionsV1Response.md | 2 + ...etEzsigntemplatedocumentpagesV1Response.md | 2 + ...templatedocumentpagesV1ResponseMPayload.md | 2 +- ...EzsigntemplateformfieldgroupsV1Response.md | 2 + ...ntGetEzsigntemplatesignaturesV1Response.md | 2 + ...signtemplatedocumentGetObjectV2Response.md | 2 + ...latedocumentGetWordsPositionsV1Response.md | 2 + ...gntemplatedocumentPatchObjectV1Response.md | 2 + docs/EzsigntemplatedocumentRequestCompound.md | 12 ++ .../EzsigntemplatedocumentResponseCompound.md | 7 + ...ntpagerecognitionCreateObjectV1Response.md | 2 + ...ntpagerecognitionDeleteObjectV1Response.md | 2 + ...mentpagerecognitionEditObjectV1Response.md | 2 + ...umentpagerecognitionGetObjectV2Response.md | 2 + ...edocumentpagerecognitionRequestCompound.md | 10 + ...documentpagerecognitionResponseCompound.md | 10 + .../EzsigntemplateformfieldRequestCompound.md | 20 +- ...EzsigntemplateformfieldResponseCompound.md | 20 +- ...ateformfieldgroupCreateObjectV1Response.md | 2 + ...ateformfieldgroupDeleteObjectV1Response.md | 2 + ...plateformfieldgroupEditObjectV1Response.md | 2 + ...mplateformfieldgroupGetObjectV2Response.md | 2 + ...gntemplateformfieldgroupRequestCompound.md | 21 +- ...ntemplateformfieldgroupResponseCompound.md | 21 +- ...templateglobalGetAutocompleteV2Response.md | 2 + ...EzsigntemplateglobalGetObjectV2Response.md | 2 + docs/EzsigntemplateglobalResponseCompound.md | 10 + ...igntemplateglobalsignerResponseCompound.md | 3 + ...gntemplatepackageCreateObjectV1Response.md | 2 + ...gntemplatepackageDeleteObjectV1Response.md | 2 + ...tEzsigntemplatepackagesignersV1Response.md | 2 + ...signtemplatepackageEditObjectV1Response.md | 2 + ...emplatepackageGetAutocompleteV2Response.md | 2 + .../EzsigntemplatepackageGetListV1Response.md | 2 + ...emplatepackageGetListV1ResponseMPayload.md | 2 + ...zsigntemplatepackageGetObjectV2Response.md | 2 + docs/EzsigntemplatepackageRequestCompound.md | 7 + docs/EzsigntemplatepackageResponseCompound.md | 12 ++ ...packagemembershipCreateObjectV1Response.md | 2 + ...packagemembershipDeleteObjectV1Response.md | 2 + ...atepackagemembershipGetObjectV2Response.md | 2 + ...emplatepackagemembershipRequestCompound.md | 3 + ...mplatepackagemembershipResponseCompound.md | 4 + ...latepackagesignerCreateObjectV1Response.md | 2 + ...latepackagesignerDeleteObjectV1Response.md | 2 + ...mplatepackagesignerEditObjectV1Response.md | 2 + ...emplatepackagesignerGetObjectV2Response.md | 2 + ...igntemplatepackagesignerRequestCompound.md | 8 + ...gntemplatepackagesignerResponseCompound.md | 11 + ...esignermembershipCreateObjectV1Response.md | 2 + ...esignermembershipDeleteObjectV1Response.md | 2 + ...kagesignermembershipGetObjectV2Response.md | 2 + ...epackagesignermembershipRequestCompound.md | 5 + ...packagesignermembershipResponseCompound.md | 5 + ...platepublicCreateEzsignfolderV1Response.md | 2 + ...igntemplatepublicCreateObjectV1Response.md | 2 + ...zsigntemplatepublicEditObjectV1Response.md | 2 + ...etEzsigntemplatepublicDetailsV1Response.md | 2 + ...igntemplatepublicGetFormsDataV1Response.md | 2 + docs/EzsigntemplatepublicGetListV1Response.md | 2 + ...templatepublicGetListV1ResponseMPayload.md | 2 + ...EzsigntemplatepublicGetObjectV2Response.md | 2 + docs/EzsigntemplatepublicRequestCompound.md | 10 + ...blicResetLimitExceededCounterV1Response.md | 2 + .../EzsigntemplatepublicResetUrlV1Response.md | 2 + docs/EzsigntemplatepublicResponseCompound.md | 18 ++ ...templatesignatureCreateObjectV2Response.md | 2 + ...templatesignatureDeleteObjectV1Response.md | 2 + ...gntemplatesignatureEditObjectV2Response.md | 2 + ...igntemplatesignatureGetObjectV3Response.md | 2 + .../EzsigntemplatesignatureRequestCompound.md | 36 +++- ...zsigntemplatesignatureRequestCompoundV2.md | 36 +++- ...EzsigntemplatesignatureResponseCompound.md | 36 +++- ...signtemplatesignatureResponseCompoundV3.md | 36 +++- ...igntemplatesignerCreateObjectV1Response.md | 2 + ...igntemplatesignerDeleteObjectV1Response.md | 2 + ...zsigntemplatesignerEditObjectV1Response.md | 2 + ...EzsigntemplatesignerGetObjectV2Response.md | 2 + docs/EzsigntemplatesignerRequestCompound.md | 8 + docs/EzsigntemplatesignerResponseCompound.md | 10 + ...tsarequirementGetAutocompleteV2Response.md | 2 + docs/EzsignuserEditObjectV1Response.md | 2 + docs/EzsignuserGetObjectV2Response.md | 2 + docs/EzsignuserRequestCompound.md | 3 + docs/EzsignuserResponseCompound.md | 4 + docs/FontGetAutocompleteV2Response.md | 2 + ...ranchisebrokerGetAutocompleteV2Response.md | 2 + ...ranchiseofficeGetAutocompleteV2Response.md | 2 + ...hisereferalincomeCreateObjectV2Response.md | 2 + docs/FranchisereferalincomeRequestCompound.md | 12 ++ docs/GlaccountGetAutocompleteV2Response.md | 2 + ...countcontainerGetAutocompleteV2Response.md | 2 + docs/InscriptionGetAttachmentsV1Response.md | 2 + ...criptionGetCommunicationCountV1Response.md | 2 + ...scriptionGetCommunicationListV1Response.md | 2 + ...ionGetCommunicationrecipientsV1Response.md | 2 + ...iptionGetCommunicationsendersV1Response.md | 2 + ...nticatedGetCommunicationCountV1Response.md | 2 + ...enticatedGetCommunicationListV1Response.md | 2 + ...tedGetCommunicationrecipientsV1Response.md | 2 + ...icatedGetCommunicationsendersV1Response.md | 2 + ...tiontempGetCommunicationCountV1Response.md | 2 + ...ptiontempGetCommunicationListV1Response.md | 2 + ...empGetCommunicationrecipientsV1Response.md | 2 + ...ontempGetCommunicationsendersV1Response.md | 2 + docs/InvoiceGetAttachmentsV1Response.md | 2 + .../InvoiceGetCommunicationCountV1Response.md | 2 + docs/InvoiceGetCommunicationListV1Response.md | 2 + ...iceGetCommunicationrecipientsV1Response.md | 2 + ...nvoiceGetCommunicationsendersV1Response.md | 2 + docs/LanguageGetAutocompleteV2Response.md | 2 + docs/ModuleGetAutocompleteV2Response.md | 2 + docs/ModuleResponseCompound.md | 6 + docs/ModulegroupGetAllV1Response.md | 2 + docs/ModulegroupResponseCompound.md | 2 + docs/ModulesectionResponseCompound.md | 6 +- ...onsectionGetNotificationtestsV1Response.md | 2 + docs/NotificationtestGetElementsV1Response.md | 2 + docs/ObjectApikeyApi.md | 6 +- docs/ObjectAuthenticationexternalApi.md | 18 +- docs/ObjectBillingentityinternalApi.md | 6 +- docs/ObjectBrandingApi.md | 6 +- docs/ObjectCorsApi.md | 12 +- docs/ObjectCreditcardclientApi.md | 18 +- docs/ObjectDiscussionApi.md | 18 +- docs/ObjectDiscussionmembershipApi.md | 6 +- docs/ObjectDiscussionmessageApi.md | 12 +- docs/ObjectDomainApi.md | 6 +- docs/ObjectEzdoctemplatedocumentApi.md | 12 +- docs/ObjectEzsignannotationApi.md | 12 +- docs/ObjectEzsignbulksendApi.md | 18 +- .../ObjectEzsignbulksenddocumentmappingApi.md | 6 +- docs/ObjectEzsignbulksendsignermappingApi.md | 6 +- docs/ObjectEzsigndiscussionApi.md | 6 +- docs/ObjectEzsigndocumentApi.md | 48 ++--- docs/ObjectEzsignfolderApi.md | 66 +++--- .../ObjectEzsignfoldersignerassociationApi.md | 30 +-- docs/ObjectEzsignfoldertypeApi.md | 6 +- docs/ObjectEzsignformfieldgroupApi.md | 12 +- docs/ObjectEzsignpageApi.md | 6 +- docs/ObjectEzsignsignatureApi.md | 12 +- docs/ObjectEzsignsignergroupApi.md | 12 +- docs/ObjectEzsignsignergroupmembershipApi.md | 6 +- docs/ObjectEzsignsigningreasonApi.md | 6 +- docs/ObjectEzsigntemplateApi.md | 12 +- docs/ObjectEzsigntemplatedocumentApi.md | 12 +- ...zsigntemplatedocumentpagerecognitionApi.md | 12 +- docs/ObjectEzsigntemplateformfieldgroupApi.md | 12 +- docs/ObjectEzsigntemplatepackageApi.md | 12 +- ...bjectEzsigntemplatepackagemembershipApi.md | 6 +- docs/ObjectEzsigntemplatepackagesignerApi.md | 6 +- docs/ObjectEzsigntemplatepublicApi.md | 6 +- docs/ObjectEzsigntemplatesignatureApi.md | 12 +- docs/ObjectEzsignuserApi.md | 6 +- docs/ObjectPaymenttermApi.md | 6 +- docs/ObjectPermissionApi.md | 12 +- docs/ObjectSignatureApi.md | 12 +- docs/ObjectSubnetApi.md | 12 +- docs/ObjectSupplyApi.md | 12 +- docs/ObjectSystemconfigurationApi.md | 6 +- docs/ObjectUserApi.md | 12 +- docs/ObjectUsergroupApi.md | 6 +- docs/ObjectUsergroupdelegationApi.md | 12 +- docs/ObjectUsergroupexternalApi.md | 12 +- docs/ObjectUsergroupmembershipApi.md | 12 +- docs/ObjectUserstagedApi.md | 12 +- docs/ObjectVariableexpenseApi.md | 6 +- docs/ObjectWebhookApi.md | 24 +-- ...erincomeGetCommunicationCountV1Response.md | 2 + ...herincomeGetCommunicationListV1Response.md | 2 + ...omeGetCommunicationrecipientsV1Response.md | 2 + ...incomeGetCommunicationsendersV1Response.md | 2 + docs/PaymenttermCreateObjectV1Response.md | 2 + docs/PaymenttermEditObjectV1Response.md | 2 + docs/PaymenttermGetAutocompleteV2Response.md | 2 + docs/PaymenttermGetListV1Response.md | 2 + docs/PaymenttermGetListV1ResponseMPayload.md | 2 + docs/PaymenttermGetObjectV2Response.md | 2 + docs/PaymenttermRequestCompound.md | 6 + docs/PaymenttermResponseCompound.md | 7 + docs/PdfalevelGetAutocompleteV2Response.md | 2 + docs/PeriodGetAutocompleteV2Response.md | 2 + docs/PermissionCreateObjectV1Request.md | 2 +- docs/PermissionCreateObjectV1Response.md | 2 + docs/PermissionDeleteObjectV1Response.md | 2 + docs/PermissionEditObjectV1Request.md | 2 +- docs/PermissionEditObjectV1Response.md | 2 + docs/PermissionGetObjectV2Response.md | 2 + docs/PermissionGetObjectV2ResponseMPayload.md | 2 +- docs/PhoneResponseCompound.md | 5 + docs/PhonetypeGetAutocompleteV2Response.md | 2 + docs/ProvinceGetAutocompleteV2Response.md | 2 + ...purchaseGetCommunicationCountV1Response.md | 2 + ...opurchaseGetCommunicationListV1Response.md | 2 + ...aseGetCommunicationrecipientsV1Response.md | 2 + ...rchaseGetCommunicationsendersV1Response.md | 2 + ...SecretquestionGetAutocompleteV2Response.md | 2 + docs/SessionhistoryGetListV1Response.md | 2 + ...SessionhistoryGetListV1ResponseMPayload.md | 2 + docs/SignatureCreateObjectV1Response.md | 2 + docs/SignatureDeleteObjectV1Response.md | 2 + docs/SignatureEditObjectV1Response.md | 2 + docs/SignatureGetObjectV2Response.md | 2 + docs/SignatureGetObjectV3Response.md | 2 + docs/SignatureRequestCompound.md | 5 + docs/SignatureResponseCompound.md | 4 + docs/SignatureResponseCompoundV3.md | 5 + docs/SubnetCreateObjectV1Response.md | 2 + docs/SubnetDeleteObjectV1Response.md | 2 + docs/SubnetEditObjectV1Response.md | 2 + docs/SubnetGetObjectV2Response.md | 2 + docs/SubnetRequestCompound.md | 6 + docs/SubnetResponseCompound.md | 6 + docs/SupplyCreateObjectV1Response.md | 2 + docs/SupplyDeleteObjectV1Response.md | 2 + docs/SupplyEditObjectV1Response.md | 2 + docs/SupplyGetAutocompleteV2Response.md | 2 + docs/SupplyGetListV1Response.md | 2 + docs/SupplyGetListV1ResponseMPayload.md | 2 + docs/SupplyGetObjectV2Response.md | 2 + docs/SupplyRequestCompound.md | 9 + docs/SupplyResponseCompound.md | 12 ++ ...SystemconfigurationEditObjectV1Response.md | 2 + .../SystemconfigurationGetObjectV2Response.md | 2 + docs/SystemconfigurationRequestCompound.md | 12 ++ docs/SystemconfigurationResponseCompound.md | 17 ++ .../TaxassignmentGetAutocompleteV2Response.md | 2 + docs/TextstylestaticRequestCompound.md | 7 + docs/TextstylestaticResponseCompound.md | 9 + docs/TimezoneGetAutocompleteV2Response.md | 2 + ...contractGetCommunicationCountV1Response.md | 2 + ...qcontractGetCommunicationListV1Response.md | 2 + ...actGetCommunicationrecipientsV1Response.md | 2 + ...ntractGetCommunicationsendersV1Response.md | 2 + docs/UserCreateEzsignuserV1Response.md | 2 + docs/UserCreateObjectV1Response.md | 2 + docs/UserCreateObjectV2Response.md | 2 + docs/UserEditColleaguesV2Response.md | 2 + docs/UserEditObjectV1Response.md | 2 + docs/UserEditPermissionsV1Request.md | 2 +- docs/UserEditPermissionsV1Response.md | 2 + docs/UserGetApikeysV1Response.md | 2 + docs/UserGetApikeysV1ResponseMPayload.md | 2 +- docs/UserGetAutocompleteV2Response.md | 2 + docs/UserGetColleaguesV2Response.md | 2 + docs/UserGetEffectivePermissionsV1Response.md | 2 + docs/UserGetListV1Response.md | 2 + docs/UserGetListV1ResponseMPayload.md | 2 + docs/UserGetObjectV2Response.md | 2 + docs/UserGetObjectV2ResponseMPayload.md | 2 +- docs/UserGetPermissionsV1Response.md | 2 + docs/UserGetSubnetsV1Response.md | 2 + docs/UserGetUsergroupexternalsV1Response.md | 2 + docs/UserGetUsergroupsV1Response.md | 2 + docs/UserRequest.md | 6 +- docs/UserRequestCompound.md | 28 +++ docs/UserRequestCompoundV2.md | 28 +++ docs/UserRequestV2.md | 6 +- docs/UserResponse.md | 2 +- docs/UserResponseCompound.md | 2 +- docs/UserSendPasswordResetV1Response.md | 2 + docs/UsergroupCreateObjectV1Response.md | 2 + docs/UsergroupEditObjectV1Response.md | 2 + docs/UsergroupEditPermissionsV1Request.md | 2 +- docs/UsergroupEditPermissionsV1Response.md | 2 + ...groupEditUsergroupdelegationsV1Response.md | 2 + ...groupEditUsergroupmembershipsV1Response.md | 2 + docs/UsergroupGetAutocompleteV2Response.md | 2 + docs/UsergroupGetListV1Response.md | 2 + docs/UsergroupGetListV1ResponseMPayload.md | 2 + docs/UsergroupGetObjectV2Response.md | 2 + docs/UsergroupGetPermissionsV1Response.md | 2 + ...rgroupGetUsergroupdelegationsV1Response.md | 2 + ...rgroupGetUsergroupmembershipsV1Response.md | 2 + docs/UsergroupRequestCompound.md | 3 + docs/UsergroupResponseCompound.md | 4 + ...ergroupdelegationCreateObjectV1Response.md | 2 + ...ergroupdelegationDeleteObjectV1Response.md | 2 + ...UsergroupdelegationEditObjectV1Response.md | 2 + .../UsergroupdelegationGetObjectV2Response.md | 2 + docs/UsergroupdelegationRequestCompound.md | 3 + docs/UsergroupdelegationResponseCompound.md | 8 + ...UsergroupexternalCreateObjectV1Response.md | 2 + ...UsergroupexternalDeleteObjectV1Response.md | 2 + docs/UsergroupexternalEditObjectV1Response.md | 2 + ...rgroupexternalGetAutocompleteV2Response.md | 2 + docs/UsergroupexternalGetListV1Response.md | 2 + ...rgroupexternalGetListV1ResponseMPayload.md | 2 + docs/UsergroupexternalGetObjectV2Response.md | 2 + ...tUsergroupexternalmembershipsV1Response.md | 2 + ...sergroupexternalGetUsergroupsV1Response.md | 2 + docs/UsergroupexternalRequestCompound.md | 3 + docs/UsergroupexternalResponseCompound.md | 3 + ...groupexternalmembershipResponseCompound.md | 8 + ...ergroupmembershipCreateObjectV1Response.md | 2 + ...ergroupmembershipDeleteObjectV1Response.md | 2 + ...UsergroupmembershipEditObjectV1Response.md | 2 + .../UsergroupmembershipGetObjectV2Response.md | 2 + docs/UsergroupmembershipRequestCompound.md | 4 + docs/UsergroupmembershipResponseCompound.md | 10 + .../UserlogintypeGetAutocompleteV2Response.md | 2 + docs/UserstagedCreateUserV1Response.md | 2 + docs/UserstagedDeleteObjectV1Response.md | 2 + docs/UserstagedGetListV1Response.md | 2 + docs/UserstagedGetListV1ResponseMPayload.md | 2 + docs/UserstagedGetObjectV2Response.md | 2 + docs/UserstagedGetObjectV2ResponseMPayload.md | 2 +- docs/UserstagedMapV1Response.md | 2 + docs/VariableexpenseCreateObjectV1Response.md | 2 + docs/VariableexpenseEditObjectV1Response.md | 2 + ...ariableexpenseGetAutocompleteV2Response.md | 2 + docs/VariableexpenseGetListV1Response.md | 2 + ...ariableexpenseGetListV1ResponseMPayload.md | 2 + docs/VariableexpenseGetObjectV2Response.md | 2 + docs/VariableexpenseRequestCompound.md | 5 + docs/VariableexpenseResponseCompound.md | 5 + docs/VersionhistoryGetObjectV2Response.md | 2 + docs/VersionhistoryResponseCompound.md | 11 + docs/WebhookCreateObjectV2Response.md | 2 + docs/WebhookDeleteObjectV1Response.md | 2 + docs/WebhookEditObjectV1Response.md | 2 + docs/WebhookEzsignDocumentCompleted.md | 2 + docs/WebhookEzsignDocumentFormCompleted.md | 2 + docs/WebhookEzsignDocumentUnsent.md | 2 + docs/WebhookEzsignEzsignsignerAcceptclause.md | 2 + docs/WebhookEzsignEzsignsignerConnect.md | 2 + docs/WebhookEzsignFolderCompleted.md | 2 + docs/WebhookEzsignFolderDisposed.md | 2 + docs/WebhookEzsignFolderSent.md | 2 + docs/WebhookEzsignFolderUnsent.md | 2 + docs/WebhookEzsignSignatureSigned.md | 2 + docs/WebhookGetHistoryV1Response.md | 2 + docs/WebhookGetHistoryV1ResponseMPayload.md | 2 +- docs/WebhookGetListV1Response.md | 2 + docs/WebhookGetListV1ResponseMPayload.md | 2 + docs/WebhookGetObjectV2Response.md | 2 + docs/WebhookRegenerateApikeyV1Response.md | 2 + docs/WebhookRequestCompound.md | 12 ++ docs/WebhookResponseCompound.md | 17 ++ docs/WebhookSendWebhookV1Response.md | 2 + docs/WebhookTestV1Response.md | 2 + docs/WebhookUserUserCreated.md | 4 +- docs/WebhookUserstagedUserstagedCreated.md | 4 +- docs/WebhookheaderRequestCompound.md | 3 + docs/WebhookheaderResponseCompound.md | 4 + eZmaxApi/api/object_apikey_api.py | 6 +- .../api/object_authenticationexternal_api.py | 16 +- .../api/object_billingentityinternal_api.py | 6 +- eZmaxApi/api/object_branding_api.py | 6 +- eZmaxApi/api/object_cors_api.py | 11 +- eZmaxApi/api/object_creditcardclient_api.py | 16 +- eZmaxApi/api/object_discussion_api.py | 16 +- .../api/object_discussionmembership_api.py | 6 +- eZmaxApi/api/object_discussionmessage_api.py | 11 +- eZmaxApi/api/object_domain_api.py | 6 +- .../api/object_ezdoctemplatedocument_api.py | 11 +- eZmaxApi/api/object_ezsignannotation_api.py | 11 +- eZmaxApi/api/object_ezsignbulksend_api.py | 16 +- ...bject_ezsignbulksenddocumentmapping_api.py | 6 +- .../object_ezsignbulksendsignermapping_api.py | 6 +- eZmaxApi/api/object_ezsigndiscussion_api.py | 6 +- eZmaxApi/api/object_ezsigndocument_api.py | 41 ++-- eZmaxApi/api/object_ezsignfolder_api.py | 56 ++--- ...bject_ezsignfoldersignerassociation_api.py | 26 ++- eZmaxApi/api/object_ezsignfoldertype_api.py | 6 +- .../api/object_ezsignformfieldgroup_api.py | 11 +- eZmaxApi/api/object_ezsignpage_api.py | 6 +- eZmaxApi/api/object_ezsignsignature_api.py | 11 +- eZmaxApi/api/object_ezsignsignergroup_api.py | 11 +- .../object_ezsignsignergroupmembership_api.py | 6 +- .../api/object_ezsignsigningreason_api.py | 6 +- eZmaxApi/api/object_ezsigntemplate_api.py | 11 +- .../api/object_ezsigntemplatedocument_api.py | 11 +- ...signtemplatedocumentpagerecognition_api.py | 11 +- ...object_ezsigntemplateformfieldgroup_api.py | 11 +- .../api/object_ezsigntemplatepackage_api.py | 11 +- ...ect_ezsigntemplatepackagemembership_api.py | 6 +- .../object_ezsigntemplatepackagesigner_api.py | 6 +- .../api/object_ezsigntemplatepublic_api.py | 6 +- .../api/object_ezsigntemplatesignature_api.py | 11 +- eZmaxApi/api/object_ezsignuser_api.py | 6 +- eZmaxApi/api/object_paymentterm_api.py | 6 +- eZmaxApi/api/object_permission_api.py | 11 +- eZmaxApi/api/object_signature_api.py | 11 +- eZmaxApi/api/object_subnet_api.py | 11 +- eZmaxApi/api/object_supply_api.py | 11 +- .../api/object_systemconfiguration_api.py | 6 +- eZmaxApi/api/object_user_api.py | 11 +- eZmaxApi/api/object_usergroup_api.py | 6 +- .../api/object_usergroupdelegation_api.py | 11 +- eZmaxApi/api/object_usergroupexternal_api.py | 11 +- .../api/object_usergroupmembership_api.py | 11 +- eZmaxApi/api/object_userstaged_api.py | 11 +- eZmaxApi/api/object_variableexpense_api.py | 6 +- eZmaxApi/api/object_webhook_api.py | 21 +- eZmaxApi/configuration.py | 192 ++++-------------- ...n_generate_federation_token_v1_response.py | 9 +- .../activesession_get_current_v1_response.py | 15 +- ...ssion_get_current_v1_response_m_payload.py | 49 ++++- .../activesession_get_current_v2_response.py | 9 +- .../activesession_get_list_v1_response.py | 9 +- ...esession_get_list_v1_response_m_payload.py | 7 +- eZmaxApi/models/activesession_response.py | 30 ++- .../models/activesession_response_compound.py | 66 +++++- .../models/apikey_create_object_v2_request.py | 6 +- .../apikey_create_object_v2_response.py | 9 +- ...key_create_object_v2_response_m_payload.py | 6 +- .../models/apikey_edit_object_v1_request.py | 6 +- .../models/apikey_edit_object_v1_response.py | 9 +- .../apikey_edit_permissions_v1_request.py | 6 +- .../apikey_edit_permissions_v1_response.py | 9 +- ...erate_delegated_credentials_v1_response.py | 9 +- .../models/apikey_get_cors_v1_response.py | 9 +- .../models/apikey_get_list_v1_response.py | 9 +- .../apikey_get_list_v1_response_m_payload.py | 7 +- .../models/apikey_get_object_v2_response.py | 9 +- ...apikey_get_object_v2_response_m_payload.py | 6 +- .../apikey_get_permissions_v1_response.py | 9 +- .../models/apikey_get_subnets_v1_response.py | 9 +- .../models/apikey_regenerate_v1_response.py | 9 +- ...apikey_regenerate_v1_response_m_payload.py | 6 +- ...tachment_get_attachmentlogs_v1_response.py | 9 +- eZmaxApi/models/attachment_response.py | 72 ++++++- .../models/attachment_response_compound.py | 93 ++++++++- eZmaxApi/models/attachmentlog_response.py | 16 +- .../models/attachmentlog_response_compound.py | 30 ++- ...ationexternal_create_object_v1_response.py | 9 +- ...ationexternal_delete_object_v1_response.py | 9 +- ...icationexternal_edit_object_v1_response.py | 9 +- ...onexternal_get_autocomplete_v2_response.py | 9 +- ...enticationexternal_get_list_v1_response.py | 9 +- ...external_get_list_v1_response_m_payload.py | 7 +- ...ticationexternal_get_object_v2_response.py | 9 +- .../models/authenticationexternal_request.py | 14 +- ...authenticationexternal_request_compound.py | 18 +- ...xternal_reset_authorization_v1_response.py | 9 +- .../models/authenticationexternal_response.py | 17 +- ...uthenticationexternal_response_compound.py | 31 ++- ...l_generate_federation_token_v1_response.py | 9 +- ...tyexternal_get_autocomplete_v2_response.py | 9 +- ...ntityinternal_create_object_v1_response.py | 9 +- ...gentityinternal_edit_object_v1_response.py | 9 +- ...tyinternal_get_autocomplete_v2_response.py | 9 +- ...lingentityinternal_get_list_v1_response.py | 9 +- ...internal_get_list_v1_response_m_payload.py | 7 +- ...ngentityinternal_get_object_v2_response.py | 9 +- .../models/billingentityinternal_request.py | 13 +- .../billingentityinternal_request_compound.py | 10 +- .../models/billingentityinternal_response.py | 13 +- ...billingentityinternal_response_compound.py | 8 +- .../billingentityinternalproduct_request.py | 14 +- ...gentityinternalproduct_request_compound.py | 11 +- .../billingentityinternalproduct_response.py | 18 +- ...entityinternalproduct_response_compound.py | 13 +- .../branding_create_object_v2_response.py | 9 +- .../branding_edit_object_v2_response.py | 9 +- .../branding_get_autocomplete_v2_response.py | 9 +- .../models/branding_get_list_v1_response.py | 9 +- ...branding_get_list_v1_response_m_payload.py | 7 +- .../models/branding_get_object_v3_response.py | 9 +- .../models/branding_request_compound_v2.py | 37 +++- eZmaxApi/models/branding_request_v2.py | 20 +- .../models/branding_response_compound_v3.py | 35 +++- eZmaxApi/models/branding_response_v3.py | 21 +- ...act_get_communication_count_v1_response.py | 9 +- ...ract_get_communication_list_v1_response.py | 9 +- ...get_communicationrecipients_v1_response.py | 9 +- ...ct_get_communicationsenders_v1_response.py | 9 +- .../clonehistory_get_list_v1_response.py | 9 +- ...ehistory_get_list_v1_response_m_payload.py | 7 +- .../models/colleague_request_compound_v2.py | 42 +++- eZmaxApi/models/colleague_request_v2.py | 25 ++- .../models/colleague_response_compound_v2.py | 44 +++- eZmaxApi/models/colleague_response_v2.py | 27 ++- .../common_get_list_v1_response_m_payload.py | 13 +- .../models/common_get_report_v1_response.py | 9 +- eZmaxApi/models/common_response.py | 13 +- eZmaxApi/models/common_response_error.py | 14 +- ...on_response_error_creditcard_validation.py | 16 +- ...on_response_error_ezsignform_validation.py | 30 ++- ...mon_response_error_s_temporary_file_url.py | 15 +- ...common_response_error_too_many_requests.py | 18 +- ...on_response_error_wrong_franchiseoffice.py | 17 +- eZmaxApi/models/common_response_get_list.py | 13 +- .../common_response_obj_debug_payload.py | 16 +- ...mon_response_obj_debug_payload_get_list.py | 10 +- eZmaxApi/models/common_webhook.py | 17 +- eZmaxApi/models/communication_request.py | 21 +- .../models/communication_request_compound.py | 43 +++- .../models/communication_send_v1_response.py | 9 +- .../models/communicationattachment_request.py | 15 +- ...ommunicationattachment_request_compound.py | 12 +- .../communicationexternalrecipient_request.py | 16 +- ...ationexternalrecipient_request_compound.py | 43 +++- .../models/communicationrecipient_request.py | 26 ++- ...communicationrecipient_request_compound.py | 23 ++- .../company_get_autocomplete_v2_response.py | 9 +- eZmaxApi/models/contact_request.py | 17 +- eZmaxApi/models/contact_request_compound.py | 14 +- .../models/contact_request_compound_v2.py | 38 +++- eZmaxApi/models/contact_request_v2.py | 22 +- eZmaxApi/models/contact_response.py | 24 ++- eZmaxApi/models/contact_response_compound.py | 41 +++- .../models/contactinformations_request.py | 15 +- .../contactinformations_request_compound.py | 33 +-- ...contactinformations_request_compound_v2.py | 34 ++-- .../models/contactinformations_request_v2.py | 16 +- .../models/contactinformations_response.py | 34 +++- .../contactinformations_response_compound.py | 53 +++-- ...ntacttitle_get_autocomplete_v2_response.py | 9 +- .../models/cors_create_object_v1_response.py | 9 +- .../models/cors_delete_object_v1_response.py | 9 +- .../models/cors_edit_object_v1_response.py | 9 +- .../models/cors_get_object_v2_response.py | 9 +- eZmaxApi/models/cors_request.py | 14 +- eZmaxApi/models/cors_request_compound.py | 18 +- eZmaxApi/models/cors_response.py | 14 +- eZmaxApi/models/cors_response_compound.py | 16 +- .../country_get_autocomplete_v2_response.py | 9 +- ...ditcardclient_create_object_v1_response.py | 9 +- ...ditcardclient_delete_object_v1_response.py | 9 +- ...reditcardclient_edit_object_v1_response.py | 9 +- ...cardclient_get_autocomplete_v2_response.py | 9 +- .../creditcardclient_get_list_v1_response.py | 9 +- ...rdclient_get_list_v1_response_m_payload.py | 7 +- ...creditcardclient_get_object_v2_response.py | 9 +- ...editcardclient_patch_object_v1_response.py | 9 +- eZmaxApi/models/creditcardclient_request.py | 20 +- .../creditcardclient_request_compound.py | 41 +++- eZmaxApi/models/creditcardclient_response.py | 18 +- .../creditcardclient_response_compound.py | 20 +- eZmaxApi/models/creditcarddetail_response.py | 19 +- .../creditcarddetail_response_compound.py | 35 +++- ...itcardtype_get_autocomplete_v2_response.py | 9 +- eZmaxApi/models/custom_attachment_response.py | 91 ++++++++- ...mmunicationrecipientsrecipient_response.py | 6 +- .../custom_communicationsender_response.py | 6 +- .../models/custom_ezsigndocument_request.py | 6 +- ...association_actionable_element_response.py | 17 +- .../custom_ezsignformfielderror_response.py | 12 +- ...signelements_positioned_by_word_request.py | 46 ++++- .../custom_ezsignformfieldgroup_request.py | 12 +- ...signelements_positioned_by_word_request.py | 56 ++++- ...subsectiongetnotificationtests_response.py | 13 +- ...cationtestgetnotificationtests_response.py | 11 +- eZmaxApi/models/custom_webhook_response.py | 41 +++- .../customer_create_object_v1_response.py | 9 +- .../models/customer_get_object_v2_response.py | 9 +- eZmaxApi/models/customer_request.py | 62 +++++- eZmaxApi/models/customer_request_compound.py | 142 ++++++++++++- eZmaxApi/models/customer_response.py | 62 +++++- eZmaxApi/models/customer_response_compound.py | 142 ++++++++++++- ...department_get_autocomplete_v2_response.py | 9 +- .../discussion_create_object_v1_response.py | 9 +- .../discussion_delete_object_v1_response.py | 9 +- .../discussion_get_object_v2_response.py | 9 +- .../discussion_patch_object_v1_response.py | 9 +- eZmaxApi/models/discussion_request.py | 14 +- .../models/discussion_request_compound.py | 18 +- eZmaxApi/models/discussion_response.py | 18 +- .../models/discussion_response_compound.py | 22 +- ...update_discussionreadstatus_v1_response.py | 9 +- ...ionmembership_create_object_v1_response.py | 9 +- ...ionmembership_delete_object_v1_response.py | 9 +- .../models/discussionmembership_request.py | 17 +- .../discussionmembership_request_compound.py | 21 +- .../models/discussionmembership_response.py | 18 +- .../discussionmembership_response_compound.py | 29 ++- ...ussionmessage_create_object_v1_response.py | 9 +- ...ussionmessage_delete_object_v1_response.py | 9 +- ...cussionmessage_patch_object_v1_response.py | 9 +- eZmaxApi/models/discussionmessage_request.py | 15 +- .../discussionmessage_request_compound.py | 19 +- eZmaxApi/models/discussionmessage_response.py | 20 +- .../discussionmessage_response_compound.py | 41 +++- .../domain_create_object_v1_response.py | 9 +- .../domain_delete_object_v1_response.py | 9 +- .../models/domain_get_list_v1_response.py | 9 +- .../domain_get_list_v1_response_m_payload.py | 7 +- .../models/domain_get_object_v2_response.py | 9 +- eZmaxApi/models/domain_request.py | 13 +- eZmaxApi/models/domain_request_compound.py | 17 +- eZmaxApi/models/domain_response.py | 17 +- eZmaxApi/models/domain_response_compound.py | 31 ++- ...fer_get_communication_count_v1_response.py | 9 +- ...sfer_get_communication_list_v1_response.py | 9 +- ...get_communicationrecipients_v1_response.py | 9 +- ...er_get_communicationsenders_v1_response.py | 9 +- .../emailtype_get_autocomplete_v2_response.py | 9 +- ...platedocument_create_object_v1_response.py | 9 +- ...emplatedocument_edit_object_v1_response.py | 9 +- ...tedocument_get_autocomplete_v2_response.py | 9 +- ...octemplatedocument_get_list_v1_response.py | 9 +- ...document_get_list_v1_response_m_payload.py | 7 +- ...templatedocument_get_object_v2_response.py | 9 +- ...mplatedocument_patch_object_v1_response.py | 9 +- .../models/ezdoctemplatedocument_request.py | 19 +- .../ezdoctemplatedocument_request_compound.py | 16 +- .../models/ezdoctemplatedocument_response.py | 23 ++- ...ezdoctemplatedocument_response_compound.py | 44 +++- ...pecategory_get_autocomplete_v2_response.py | 9 +- ...mplatetype_get_autocomplete_v2_response.py | 9 +- ...xinvoicing_get_autocomplete_v2_response.py | 9 +- .../ezmaxinvoicing_get_object_v2_response.py | 9 +- ...axinvoicing_get_provisional_v1_response.py | 15 +- ...g_get_provisional_v1_response_m_payload.py | 64 +++++- eZmaxApi/models/ezmaxinvoicing_response.py | 24 ++- .../ezmaxinvoicing_response_compound.py | 88 +++++++- .../models/ezmaxinvoicingagent_response.py | 31 ++- .../ezmaxinvoicingagent_response_compound.py | 28 ++- .../ezmaxinvoicingcommission_response.py | 19 +- ...axinvoicingcommission_response_compound.py | 21 +- .../models/ezmaxinvoicingcontract_response.py | 20 +- ...zmaxinvoicingcontract_response_compound.py | 29 ++- .../ezmaxinvoicingsummaryexternal_response.py | 16 +- ...oicingsummaryexternal_response_compound.py | 13 +- ...invoicingsummaryexternaldetail_response.py | 21 +- ...summaryexternaldetail_response_compound.py | 46 ++++- .../ezmaxinvoicingsummaryglobal_response.py | 30 ++- ...nvoicingsummaryglobal_response_compound.py | 104 +++++++++- .../ezmaxinvoicingsummaryinternal_response.py | 17 +- ...oicingsummaryinternal_response_compound.py | 14 +- ...invoicingsummaryinternaldetail_response.py | 23 ++- ...summaryinternaldetail_response_compound.py | 48 ++++- .../models/ezmaxinvoicinguser_response.py | 20 +- .../ezmaxinvoicinguser_response_compound.py | 17 +- ...maxproduct_get_autocomplete_v2_response.py | 9 +- ...ignannotation_create_object_v1_response.py | 9 +- ...ignannotation_delete_object_v1_response.py | 9 +- ...zsignannotation_edit_object_v1_response.py | 9 +- ...ezsignannotation_get_object_v2_response.py | 9 +- eZmaxApi/models/ezsignannotation_request.py | 22 +- .../ezsignannotation_request_compound.py | 17 +- eZmaxApi/models/ezsignannotation_response.py | 22 +- .../ezsignannotation_response_compound.py | 17 +- ..._ezsignbulksendtransmission_v2_response.py | 9 +- ...zsignbulksend_create_object_v1_response.py | 9 +- ...zsignbulksend_delete_object_v1_response.py | 9 +- .../ezsignbulksend_edit_object_v1_response.py | 9 +- ...ezsignbulksendtransmissions_v1_response.py | 9 +- ..._ezsignsignatures_automatic_v1_response.py | 9 +- ...signbulksend_get_forms_data_v1_response.py | 9 +- .../ezsignbulksend_get_list_v1_response.py | 9 +- ...bulksend_get_list_v1_response_m_payload.py | 7 +- .../ezsignbulksend_get_object_v2_response.py | 9 +- .../ezsignbulksend_reorder_v1_response.py | 9 +- eZmaxApi/models/ezsignbulksend_request.py | 18 +- .../models/ezsignbulksend_request_compound.py | 15 +- eZmaxApi/models/ezsignbulksend_response.py | 22 +- .../ezsignbulksend_response_compound.py | 17 +- ...cumentmapping_create_object_v1_response.py | 9 +- ...cumentmapping_delete_object_v1_response.py | 9 +- ...ddocumentmapping_get_object_v2_response.py | 9 +- .../ezsignbulksenddocumentmapping_request.py | 15 +- ...ulksenddocumentmapping_request_compound.py | 12 +- .../ezsignbulksenddocumentmapping_response.py | 16 +- ...lksenddocumentmapping_response_compound.py | 11 +- ...signermapping_create_object_v1_response.py | 9 +- ...signermapping_delete_object_v1_response.py | 9 +- ...endsignermapping_get_object_v2_response.py | 9 +- .../ezsignbulksendsignermapping_request.py | 15 +- ...nbulksendsignermapping_request_compound.py | 12 +- .../ezsignbulksendsignermapping_response.py | 15 +- ...bulksendsignermapping_response_compound.py | 12 +- ..._ezsignsignatures_automatic_v1_response.py | 9 +- ...transmission_get_forms_data_v1_response.py | 9 +- ...sendtransmission_get_object_v2_response.py | 9 +- .../ezsignbulksendtransmission_response.py | 16 +- ...nbulksendtransmission_response_compound.py | 11 +- ...igndiscussion_create_object_v1_response.py | 9 +- ...igndiscussion_delete_object_v1_response.py | 9 +- ...ezsigndiscussion_get_object_v2_response.py | 9 +- eZmaxApi/models/ezsigndiscussion_request.py | 17 +- .../ezsigndiscussion_request_compound.py | 14 +- eZmaxApi/models/ezsigndiscussion_response.py | 18 +- .../ezsigndiscussion_response_compound.py | 13 +- ...cument_apply_ezsigntemplate_v1_response.py | 9 +- ...cument_apply_ezsigntemplate_v2_response.py | 7 +- ..._apply_ezsigntemplateglobal_v1_response.py | 7 +- ...elements_positioned_by_word_v1_response.py | 9 +- ...ezsigndocument_create_object_v1_request.py | 5 +- ...zsigndocument_create_object_v1_response.py | 9 +- ...ezsigndocument_create_object_v2_request.py | 6 +- ...zsigndocument_create_object_v2_response.py | 9 +- ...ezsigndocument_create_object_v3_request.py | 6 +- ...zsigndocument_create_object_v3_response.py | 9 +- ...igndocument_decline_to_sign_v1_response.py | 9 +- ...zsigndocument_delete_object_v1_response.py | 9 +- ...ment_edit_ezsignannotations_v1_response.py | 9 +- ..._edit_ezsignformfieldgroups_v1_response.py | 9 +- ...ument_edit_ezsignsignatures_v1_response.py | 9 +- .../ezsigndocument_edit_object_v1_request.py | 6 +- .../ezsigndocument_edit_object_v1_response.py | 7 +- ...igndocument_end_prematurely_v1_response.py | 9 +- ...ezsigndocument_extract_text_v1_response.py | 9 +- .../ezsigndocument_flatten_v1_response.py | 9 +- ...ent_get_actionable_elements_v1_response.py | 9 +- ...igndocument_get_attachments_v1_response.py | 9 +- ...ment_get_completed_elements_v1_response.py | 9 +- ...gndocument_get_download_url_v1_response.py | 9 +- ...ument_get_ezsignannotations_v1_response.py | 9 +- ...ument_get_ezsigndiscussions_v1_response.py | 9 +- ...t_get_ezsignformfieldgroups_v1_response.py | 9 +- ...igndocument_get_ezsignpages_v1_response.py | 9 +- ...t_get_ezsignpages_v1_response_m_payload.py | 6 +- ..._ezsignsignatures_automatic_v1_response.py | 9 +- ...cument_get_ezsignsignatures_v1_response.py | 9 +- ...zsigndocument_get_form_data_v1_response.py | 9 +- .../ezsigndocument_get_object_v1_response.py | 15 +- ...cument_get_object_v1_response_m_payload.py | 49 ++++- .../ezsigndocument_get_object_v2_response.py | 9 +- ...ocument_get_temporary_proof_v1_response.py | 9 +- ...t_temporary_proof_v1_response_m_payload.py | 6 +- ...ocument_get_words_positions_v1_response.py | 9 +- ...ezsigndocument_patch_object_v1_response.py | 9 +- eZmaxApi/models/ezsigndocument_response.py | 35 +++- .../ezsigndocument_response_compound.py | 82 +++++++- ...gndocument_submit_ezsignform_v1_request.py | 12 +- ...ndocument_submit_ezsignform_v1_response.py | 9 +- .../ezsigndocument_unsend_v1_response.py | 9 +- .../ezsignfolder_archive_v1_response.py | 9 +- .../ezsignfolder_create_object_v1_request.py | 5 +- .../ezsignfolder_create_object_v1_response.py | 9 +- .../ezsignfolder_create_object_v2_request.py | 6 +- .../ezsignfolder_create_object_v2_response.py | 9 +- .../ezsignfolder_create_object_v3_request.py | 6 +- .../ezsignfolder_create_object_v3_response.py | 9 +- .../ezsignfolder_delete_object_v1_response.py | 9 +- ...older_dispose_ezsignfolders_v1_response.py | 9 +- .../ezsignfolder_dispose_v1_response.py | 9 +- .../ezsignfolder_edit_object_v3_request.py | 6 +- .../ezsignfolder_edit_object_v3_response.py | 9 +- ...zsignfolder_end_prematurely_v1_response.py | 9 +- ...der_get_actionable_elements_v1_response.py | 9 +- ...folder_get_attachment_count_v1_response.py | 9 +- ...zsignfolder_get_attachments_v1_response.py | 9 +- ...der_get_communication_count_v1_response.py | 9 +- ...lder_get_communication_list_v1_response.py | 9 +- ...get_communicationrecipients_v1_response.py | 9 +- ...er_get_communicationsenders_v1_response.py | 9 +- ...nfolder_get_ezsigndocuments_v1_response.py | 9 +- ...ignfoldersignerassociations_v1_response.py | 9 +- ..._ezsignsignatures_automatic_v1_response.py | 9 +- ...ezsignfolder_get_forms_data_v1_response.py | 9 +- .../ezsignfolder_get_list_v1_response.py | 9 +- ...gnfolder_get_list_v1_response_m_payload.py | 7 +- .../ezsignfolder_get_object_v1_response.py | 15 +- ...folder_get_object_v1_response_m_payload.py | 52 ++++- .../ezsignfolder_get_object_v2_response.py | 9 +- .../ezsignfolder_get_object_v3_response.py | 9 +- ...ignfoldersignerassociations_v1_response.py | 9 +- ...mport_ezsigntemplatepackage_v1_response.py | 9 +- .../ezsignfolder_reorder_v1_response.py | 9 +- .../ezsignfolder_reorder_v2_response.py | 9 +- eZmaxApi/models/ezsignfolder_response.py | 37 +++- .../models/ezsignfolder_response_compound.py | 87 +++++++- .../ezsignfolder_response_compound_v3.py | 50 ++++- eZmaxApi/models/ezsignfolder_response_v3.py | 38 +++- .../models/ezsignfolder_send_v1_response.py | 9 +- .../models/ezsignfolder_send_v3_response.py | 9 +- .../models/ezsignfolder_unsend_v1_response.py | 9 +- ...ciation_create_embedded_url_v1_response.py | 9 +- ...erassociation_create_object_v1_response.py | 9 +- ...erassociation_create_object_v2_response.py | 9 +- ...erassociation_delete_object_v1_response.py | 9 +- ...gnerassociation_edit_object_v1_response.py | 9 +- ...ssociation_force_disconnect_v1_response.py | 9 +- ...ion_get_in_person_login_url_v1_response.py | 9 +- ...ignerassociation_get_object_v1_response.py | 15 +- ...iation_get_object_v1_response_m_payload.py | 17 +- ...ignerassociation_get_object_v2_response.py | 9 +- ...nerassociation_patch_object_v1_response.py | 9 +- ...rsignerassociation_reassign_v1_response.py | 9 +- .../ezsignfoldersignerassociation_request.py | 17 +- ...oldersignerassociation_request_compound.py | 12 +- .../ezsignfoldersignerassociation_response.py | 17 +- ...ldersignerassociation_response_compound.py | 32 ++- ...ignfoldertype_create_object_v3_response.py | 9 +- ...zsignfoldertype_edit_object_v3_response.py | 9 +- ...foldertype_get_autocomplete_v2_response.py | 9 +- .../ezsignfoldertype_get_list_v1_response.py | 9 +- ...ldertype_get_list_v1_response_m_payload.py | 7 +- ...ezsignfoldertype_get_object_v2_response.py | 9 +- ...ezsignfoldertype_get_object_v4_response.py | 9 +- .../ezsignfoldertype_request_compound_v3.py | 85 +++++++- .../models/ezsignfoldertype_request_v3.py | 71 ++++++- eZmaxApi/models/ezsignfoldertype_response.py | 60 +++++- .../ezsignfoldertype_response_compound.py | 94 ++++++++- .../ezsignfoldertype_response_compound_v4.py | 89 +++++++- .../models/ezsignfoldertype_response_v4.py | 75 ++++++- eZmaxApi/models/ezsignformfield_request.py | 25 ++- .../ezsignformfield_request_compound.py | 26 ++- eZmaxApi/models/ezsignformfield_response.py | 25 ++- .../ezsignformfield_response_compound.py | 26 ++- ...ormfieldgroup_create_object_v1_response.py | 9 +- ...ormfieldgroup_delete_object_v1_response.py | 9 +- ...nformfieldgroup_edit_object_v1_response.py | 9 +- ...gnformfieldgroup_get_object_v2_response.py | 9 +- .../models/ezsignformfieldgroup_request.py | 28 ++- .../ezsignformfieldgroup_request_compound.py | 72 ++++++- .../models/ezsignformfieldgroup_response.py | 28 ++- .../ezsignformfieldgroup_response_compound.py | 45 +++- .../models/ezsignpage_consult_v1_response.py | 9 +- ...signsignature_create_object_v1_response.py | 9 +- ...signsignature_create_object_v2_response.py | 9 +- ...signsignature_create_object_v3_response.py | 9 +- ...signsignature_delete_object_v1_response.py | 9 +- ...ezsignsignature_edit_object_v2_response.py | 9 +- ...t_ezsignsignatureattachment_v1_response.py | 9 +- ..._ezsignsignatures_automatic_v1_response.py | 9 +- .../ezsignsignature_get_object_v3_response.py | 9 +- eZmaxApi/models/ezsignsignature_request.py | 38 +++- .../ezsignsignature_request_compound.py | 92 ++++++++- .../ezsignsignature_request_compound_v2.py | 55 ++++- eZmaxApi/models/ezsignsignature_response.py | 48 ++++- .../ezsignsignature_response_compound.py | 84 +++++++- .../ezsignsignature_response_compound_v3.py | 85 +++++++- .../ezsignsignature_sign_v1_response.py | 9 +- eZmaxApi/models/ezsignsigner_request.py | 16 +- .../models/ezsignsigner_request_compound.py | 23 ++- eZmaxApi/models/ezsignsigner_response.py | 16 +- .../models/ezsignsigner_response_compound.py | 13 +- ...gnsignergroup_create_object_v1_response.py | 9 +- ...gnsignergroup_delete_object_v1_response.py | 9 +- ...zsignsignergroupmemberships_v1_response.py | 9 +- ...signsignergroup_edit_object_v1_response.py | 9 +- ...zsignsignergroupmemberships_v1_response.py | 9 +- ...zsignsignergroup_get_object_v2_response.py | 9 +- eZmaxApi/models/ezsignsignergroup_request.py | 14 +- .../ezsignsignergroup_request_compound.py | 11 +- eZmaxApi/models/ezsignsignergroup_response.py | 14 +- .../ezsignsignergroup_response_compound.py | 11 +- ...oupmembership_create_object_v1_response.py | 9 +- ...oupmembership_delete_object_v1_response.py | 9 +- ...rgroupmembership_get_object_v2_response.py | 9 +- .../ezsignsignergroupmembership_request.py | 16 +- ...nsignergroupmembership_request_compound.py | 13 +- .../ezsignsignergroupmembership_response.py | 16 +- ...signergroupmembership_response_compound.py | 13 +- ...signingreason_create_object_v1_response.py | 9 +- ...gnsigningreason_edit_object_v1_response.py | 9 +- ...ningreason_get_autocomplete_v2_response.py | 9 +- ...zsignsigningreason_get_list_v1_response.py | 9 +- ...ngreason_get_list_v1_response_m_payload.py | 7 +- ...ignsigningreason_get_object_v2_response.py | 9 +- .../models/ezsignsigningreason_request.py | 14 +- .../ezsignsigningreason_request_compound.py | 11 +- .../models/ezsignsigningreason_response.py | 14 +- .../ezsignsigningreason_response_compound.py | 9 +- .../models/ezsigntemplate_copy_v1_response.py | 9 +- ...zsigntemplate_create_object_v3_response.py | 9 +- ...zsigntemplate_delete_object_v1_response.py | 9 +- .../ezsigntemplate_edit_object_v3_response.py | 9 +- ...gntemplate_get_autocomplete_v2_response.py | 9 +- .../ezsigntemplate_get_list_v1_response.py | 9 +- ...template_get_list_v1_response_m_payload.py | 7 +- .../ezsigntemplate_get_object_v3_response.py | 9 +- .../ezsigntemplate_request_compound_v3.py | 46 ++++- eZmaxApi/models/ezsigntemplate_request_v3.py | 22 +- eZmaxApi/models/ezsigntemplate_response.py | 26 ++- .../ezsigntemplate_response_compound.py | 48 ++++- .../ezsigntemplate_response_compound_v3.py | 60 +++++- eZmaxApi/models/ezsigntemplate_response_v3.py | 28 ++- ...platedocument_create_object_v1_response.py | 9 +- ...atedocumentpagerecognitions_v1_response.py | 9 +- ...signtemplateformfieldgroups_v1_response.py | 9 +- ...it_ezsigntemplatesignatures_v1_response.py | 9 +- ...emplatedocument_edit_object_v1_response.py | 7 +- ...mplatedocument_extract_text_v1_response.py | 9 +- ...igntemplatedocument_flatten_v1_response.py | 9 +- ...atedocumentpagerecognitions_v1_response.py | 9 +- ...ezsigntemplatedocumentpages_v1_response.py | 9 +- ...latedocumentpages_v1_response_m_payload.py | 6 +- ...signtemplateformfieldgroups_v1_response.py | 9 +- ...et_ezsigntemplatesignatures_v1_response.py | 9 +- ...templatedocument_get_object_v2_response.py | 9 +- ...ocument_get_words_positions_v1_response.py | 9 +- ...mplatedocument_patch_object_v1_response.py | 9 +- .../models/ezsigntemplatedocument_request.py | 23 ++- ...ezsigntemplatedocument_request_compound.py | 47 ++++- .../models/ezsigntemplatedocument_response.py | 18 +- ...zsigntemplatedocument_response_compound.py | 13 +- ...gerecognition_create_object_v1_response.py | 9 +- ...gerecognition_delete_object_v1_response.py | 9 +- ...pagerecognition_edit_object_v1_response.py | 9 +- ...tpagerecognition_get_object_v2_response.py | 9 +- ...templatedocumentpagerecognition_request.py | 21 +- ...ocumentpagerecognition_request_compound.py | 25 ++- ...emplatedocumentpagerecognition_response.py | 21 +- ...cumentpagerecognition_response_compound.py | 25 ++- .../models/ezsigntemplateformfield_request.py | 29 ++- ...zsigntemplateformfield_request_compound.py | 40 +++- .../ezsigntemplateformfield_response.py | 29 ++- ...signtemplateformfield_response_compound.py | 40 +++- ...ormfieldgroup_create_object_v1_response.py | 9 +- ...ormfieldgroup_delete_object_v1_response.py | 9 +- ...eformfieldgroup_edit_object_v1_response.py | 9 +- ...teformfieldgroup_get_object_v2_response.py | 9 +- .../ezsigntemplateformfieldgroup_request.py | 28 ++- ...templateformfieldgroup_request_compound.py | 45 +++- .../ezsigntemplateformfieldgroup_response.py | 28 ++- ...emplateformfieldgroup_response_compound.py | 45 +++- ...lateglobal_get_autocomplete_v2_response.py | 9 +- ...gntemplateglobal_get_object_v2_response.py | 9 +- .../models/ezsigntemplateglobal_response.py | 21 +- .../ezsigntemplateglobal_response_compound.py | 23 ++- .../ezsigntemplateglobalsigner_response.py | 14 +- ...ntemplateglobalsigner_response_compound.py | 16 +- ...mplatepackage_create_object_v1_response.py | 9 +- ...mplatepackage_delete_object_v1_response.py | 9 +- ...zsigntemplatepackagesigners_v1_response.py | 9 +- ...templatepackage_edit_object_v1_response.py | 9 +- ...atepackage_get_autocomplete_v2_response.py | 9 +- ...igntemplatepackage_get_list_v1_response.py | 9 +- ...epackage_get_list_v1_response_m_payload.py | 7 +- ...ntemplatepackage_get_object_v2_response.py | 9 +- .../models/ezsigntemplatepackage_request.py | 18 +- .../ezsigntemplatepackage_request_compound.py | 22 +- .../models/ezsigntemplatepackage_response.py | 23 ++- ...ezsigntemplatepackage_response_compound.py | 37 +++- ...agemembership_create_object_v1_response.py | 9 +- ...agemembership_delete_object_v1_response.py | 9 +- ...ackagemembership_get_object_v2_response.py | 9 +- ...ezsigntemplatepackagemembership_request.py | 14 +- ...platepackagemembership_request_compound.py | 11 +- ...zsigntemplatepackagemembership_response.py | 15 +- ...latepackagemembership_response_compound.py | 10 +- ...packagesigner_create_object_v1_response.py | 9 +- ...packagesigner_delete_object_v1_response.py | 9 +- ...tepackagesigner_edit_object_v1_response.py | 9 +- ...atepackagesigner_get_object_v2_response.py | 9 +- .../ezsigntemplatepackagesigner_request.py | 19 +- ...ntemplatepackagesigner_request_compound.py | 16 +- .../ezsigntemplatepackagesigner_response.py | 22 +- ...templatepackagesigner_response_compound.py | 39 +++- ...nermembership_create_object_v1_response.py | 9 +- ...nermembership_delete_object_v1_response.py | 9 +- ...signermembership_get_object_v2_response.py | 9 +- ...templatepackagesignermembership_request.py | 16 +- ...ackagesignermembership_request_compound.py | 13 +- ...emplatepackagesignermembership_response.py | 16 +- ...ckagesignermembership_response_compound.py | 13 +- ...epublic_create_ezsignfolder_v1_response.py | 9 +- ...emplatepublic_create_object_v1_response.py | 9 +- ...ntemplatepublic_edit_object_v1_response.py | 9 +- ...zsigntemplatepublic_details_v1_response.py | 9 +- ...mplatepublic_get_forms_data_v1_response.py | 9 +- ...signtemplatepublic_get_list_v1_response.py | 9 +- ...tepublic_get_list_v1_response_m_payload.py | 7 +- ...gntemplatepublic_get_object_v2_response.py | 9 +- .../models/ezsigntemplatepublic_request.py | 21 +- .../ezsigntemplatepublic_request_compound.py | 32 ++- ...eset_limit_exceeded_counter_v1_response.py | 9 +- ...igntemplatepublic_reset_url_v1_response.py | 9 +- .../models/ezsigntemplatepublic_response.py | 29 ++- .../ezsigntemplatepublic_response_compound.py | 68 ++++++- ...latesignature_create_object_v2_response.py | 9 +- ...latesignature_delete_object_v1_response.py | 9 +- ...mplatesignature_edit_object_v2_response.py | 9 +- ...emplatesignature_get_object_v3_response.py | 9 +- .../models/ezsigntemplatesignature_request.py | 43 +++- ...zsigntemplatesignature_request_compound.py | 70 ++++++- ...gntemplatesignature_request_compound_v2.py | 70 ++++++- .../ezsigntemplatesignature_response.py | 43 +++- ...signtemplatesignature_response_compound.py | 70 ++++++- ...ntemplatesignature_response_compound_v3.py | 70 ++++++- ...emplatesigner_create_object_v1_response.py | 9 +- ...emplatesigner_delete_object_v1_response.py | 9 +- ...ntemplatesigner_edit_object_v1_response.py | 9 +- ...gntemplatesigner_get_object_v2_response.py | 9 +- .../models/ezsigntemplatesigner_request.py | 19 +- .../ezsigntemplatesigner_request_compound.py | 23 ++- .../models/ezsigntemplatesigner_response.py | 21 +- .../ezsigntemplatesigner_response_compound.py | 35 +++- ...equirement_get_autocomplete_v2_response.py | 9 +- .../ezsignuser_edit_object_v1_response.py | 9 +- .../ezsignuser_get_object_v2_response.py | 9 +- eZmaxApi/models/ezsignuser_request.py | 14 +- .../models/ezsignuser_request_compound.py | 11 +- eZmaxApi/models/ezsignuser_response.py | 15 +- .../models/ezsignuser_response_compound.py | 10 +- .../font_get_autocomplete_v2_response.py | 9 +- ...hisebroker_get_autocomplete_v2_response.py | 9 +- ...hiseoffice_get_autocomplete_v2_response.py | 9 +- ...referalincome_create_object_v2_response.py | 9 +- .../models/franchisereferalincome_request.py | 23 ++- ...franchisereferalincome_request_compound.py | 18 +- .../glaccount_get_autocomplete_v2_response.py | 9 +- ...tcontainer_get_autocomplete_v2_response.py | 9 +- ...inscription_get_attachments_v1_response.py | 9 +- ...ion_get_communication_count_v1_response.py | 9 +- ...tion_get_communication_list_v1_response.py | 9 +- ...get_communicationrecipients_v1_response.py | 9 +- ...on_get_communicationsenders_v1_response.py | 9 +- ...ted_get_communication_count_v1_response.py | 9 +- ...ated_get_communication_list_v1_response.py | 9 +- ...get_communicationrecipients_v1_response.py | 9 +- ...ed_get_communicationsenders_v1_response.py | 9 +- ...emp_get_communication_count_v1_response.py | 9 +- ...temp_get_communication_list_v1_response.py | 9 +- ...get_communicationrecipients_v1_response.py | 9 +- ...mp_get_communicationsenders_v1_response.py | 9 +- .../invoice_get_attachments_v1_response.py | 9 +- ...ice_get_communication_count_v1_response.py | 9 +- ...oice_get_communication_list_v1_response.py | 9 +- ...get_communicationrecipients_v1_response.py | 9 +- ...ce_get_communicationsenders_v1_response.py | 9 +- .../language_get_autocomplete_v2_response.py | 9 +- .../module_get_autocomplete_v2_response.py | 9 +- eZmaxApi/models/module_response.py | 17 +- eZmaxApi/models/module_response_compound.py | 12 +- .../models/modulegroup_get_all_v1_response.py | 9 +- eZmaxApi/models/modulegroup_response.py | 13 +- .../models/modulegroup_response_compound.py | 15 +- eZmaxApi/models/modulesection_response.py | 15 +- .../models/modulesection_response_compound.py | 16 +- ...ction_get_notificationtests_v1_response.py | 9 +- .../models/notificationsubsection_response.py | 16 +- ...tificationtest_get_elements_v1_response.py | 9 +- eZmaxApi/models/notificationtest_response.py | 16 +- ...ome_get_communication_count_v1_response.py | 9 +- ...come_get_communication_list_v1_response.py | 9 +- ...get_communicationrecipients_v1_response.py | 9 +- ...me_get_communicationsenders_v1_response.py | 9 +- .../paymentterm_create_object_v1_response.py | 9 +- .../paymentterm_edit_object_v1_response.py | 9 +- ...aymentterm_get_autocomplete_v2_response.py | 9 +- .../paymentterm_get_list_v1_response.py | 9 +- ...mentterm_get_list_v1_response_m_payload.py | 7 +- .../paymentterm_get_object_v2_response.py | 9 +- eZmaxApi/models/paymentterm_request.py | 17 +- .../models/paymentterm_request_compound.py | 21 +- eZmaxApi/models/paymentterm_response.py | 18 +- .../models/paymentterm_response_compound.py | 20 +- .../pdfalevel_get_autocomplete_v2_response.py | 9 +- .../period_get_autocomplete_v2_response.py | 9 +- .../permission_create_object_v1_request.py | 6 +- .../permission_create_object_v1_response.py | 9 +- .../permission_delete_object_v1_response.py | 9 +- .../permission_edit_object_v1_request.py | 6 +- .../permission_edit_object_v1_response.py | 9 +- .../permission_get_object_v2_response.py | 9 +- ...ission_get_object_v2_response_m_payload.py | 6 +- eZmaxApi/models/phone_response.py | 16 +- eZmaxApi/models/phone_response_compound.py | 21 +- .../phonetype_get_autocomplete_v2_response.py | 9 +- .../province_get_autocomplete_v2_response.py | 9 +- ...ase_get_communication_count_v1_response.py | 9 +- ...hase_get_communication_list_v1_response.py | 9 +- ...get_communicationrecipients_v1_response.py | 9 +- ...se_get_communicationsenders_v1_response.py | 9 +- ...etquestion_get_autocomplete_v2_response.py | 9 +- .../sessionhistory_get_list_v1_response.py | 9 +- ...nhistory_get_list_v1_response_m_payload.py | 7 +- .../signature_create_object_v1_response.py | 9 +- .../signature_delete_object_v1_response.py | 9 +- .../signature_edit_object_v1_response.py | 9 +- .../signature_get_object_v2_response.py | 9 +- .../signature_get_object_v3_response.py | 9 +- eZmaxApi/models/signature_request.py | 16 +- eZmaxApi/models/signature_request_compound.py | 33 ++- eZmaxApi/models/signature_response.py | 15 +- .../models/signature_response_compound.py | 32 ++- .../models/signature_response_compound_v3.py | 11 +- eZmaxApi/models/signature_response_v3.py | 16 +- .../subnet_create_object_v1_response.py | 9 +- .../subnet_delete_object_v1_response.py | 9 +- .../models/subnet_edit_object_v1_response.py | 9 +- .../models/subnet_get_object_v2_response.py | 9 +- eZmaxApi/models/subnet_request.py | 17 +- eZmaxApi/models/subnet_request_compound.py | 14 +- eZmaxApi/models/subnet_response.py | 17 +- eZmaxApi/models/subnet_response_compound.py | 14 +- .../supply_create_object_v1_response.py | 9 +- .../supply_delete_object_v1_response.py | 9 +- .../models/supply_edit_object_v1_response.py | 9 +- .../supply_get_autocomplete_v2_response.py | 9 +- .../models/supply_get_list_v1_response.py | 9 +- .../supply_get_list_v1_response_m_payload.py | 7 +- .../models/supply_get_object_v2_response.py | 9 +- eZmaxApi/models/supply_request.py | 20 +- eZmaxApi/models/supply_request_compound.py | 31 ++- eZmaxApi/models/supply_response.py | 23 ++- eZmaxApi/models/supply_response_compound.py | 44 +++- ...emconfiguration_edit_object_v1_response.py | 9 +- ...temconfiguration_get_object_v2_response.py | 9 +- .../models/systemconfiguration_request.py | 23 ++- .../systemconfiguration_request_compound.py | 40 +++- .../models/systemconfiguration_response.py | 28 ++- .../systemconfiguration_response_compound.py | 45 +++- ...assignment_get_autocomplete_v2_response.py | 9 +- eZmaxApi/models/textstylestatic_request.py | 18 +- .../textstylestatic_request_compound.py | 13 +- eZmaxApi/models/textstylestatic_response.py | 20 +- .../textstylestatic_response_compound.py | 24 ++- .../timezone_get_autocomplete_v2_response.py | 9 +- ...act_get_communication_count_v1_response.py | 9 +- ...ract_get_communication_list_v1_response.py | 9 +- ...get_communicationrecipients_v1_response.py | 9 +- ...ct_get_communicationsenders_v1_response.py | 9 +- .../user_create_ezsignuser_v1_response.py | 9 +- .../models/user_create_object_v1_response.py | 9 +- .../models/user_create_object_v2_response.py | 9 +- .../user_edit_colleagues_v2_response.py | 9 +- .../models/user_edit_object_v1_response.py | 9 +- .../user_edit_permissions_v1_request.py | 6 +- .../user_edit_permissions_v1_response.py | 9 +- .../models/user_get_apikeys_v1_response.py | 9 +- .../user_get_apikeys_v1_response_m_payload.py | 6 +- .../user_get_autocomplete_v2_response.py | 9 +- .../models/user_get_colleagues_v2_response.py | 9 +- ...r_get_effective_permissions_v1_response.py | 9 +- eZmaxApi/models/user_get_list_v1_response.py | 9 +- .../user_get_list_v1_response_m_payload.py | 7 +- .../models/user_get_object_v2_response.py | 9 +- .../user_get_object_v2_response_m_payload.py | 6 +- .../user_get_permissions_v1_response.py | 9 +- .../models/user_get_subnets_v1_response.py | 9 +- ...user_get_usergroupexternals_v1_response.py | 9 +- .../models/user_get_usergroups_v1_response.py | 9 +- eZmaxApi/models/user_request.py | 49 ++++- eZmaxApi/models/user_request_compound.py | 63 +++++- eZmaxApi/models/user_request_compound_v2.py | 63 +++++- eZmaxApi/models/user_request_v2.py | 49 ++++- eZmaxApi/models/user_response.py | 6 +- eZmaxApi/models/user_response_compound.py | 6 +- .../user_send_password_reset_v1_response.py | 9 +- .../usergroup_create_object_v1_response.py | 9 +- .../usergroup_edit_object_v1_response.py | 9 +- .../usergroup_edit_permissions_v1_request.py | 6 +- .../usergroup_edit_permissions_v1_response.py | 9 +- ...p_edit_usergroupdelegations_v1_response.py | 9 +- ...p_edit_usergroupmemberships_v1_response.py | 9 +- .../usergroup_get_autocomplete_v2_response.py | 9 +- .../models/usergroup_get_list_v1_response.py | 9 +- ...sergroup_get_list_v1_response_m_payload.py | 7 +- .../usergroup_get_object_v2_response.py | 9 +- .../usergroup_get_permissions_v1_response.py | 9 +- ...up_get_usergroupdelegations_v1_response.py | 9 +- ...up_get_usergroupmemberships_v1_response.py | 9 +- eZmaxApi/models/usergroup_request.py | 14 +- eZmaxApi/models/usergroup_request_compound.py | 11 +- eZmaxApi/models/usergroup_response.py | 15 +- .../models/usergroup_response_compound.py | 22 +- ...oupdelegation_create_object_v1_response.py | 9 +- ...oupdelegation_delete_object_v1_response.py | 9 +- ...groupdelegation_edit_object_v1_response.py | 9 +- ...rgroupdelegation_get_object_v2_response.py | 9 +- .../models/usergroupdelegation_request.py | 14 +- .../usergroupdelegation_request_compound.py | 11 +- .../models/usergroupdelegation_response.py | 19 +- .../usergroupdelegation_response_compound.py | 40 +++- ...groupexternal_create_object_v1_response.py | 9 +- ...groupexternal_delete_object_v1_response.py | 9 +- ...ergroupexternal_edit_object_v1_response.py | 9 +- ...upexternal_get_autocomplete_v2_response.py | 9 +- .../usergroupexternal_get_list_v1_response.py | 9 +- ...external_get_list_v1_response_m_payload.py | 7 +- ...sergroupexternal_get_object_v2_response.py | 9 +- ...sergroupexternalmemberships_v1_response.py | 9 +- ...roupexternal_get_usergroups_v1_response.py | 9 +- eZmaxApi/models/usergroupexternal_request.py | 14 +- .../usergroupexternal_request_compound.py | 25 ++- eZmaxApi/models/usergroupexternal_response.py | 14 +- .../usergroupexternal_response_compound.py | 23 ++- .../usergroupexternalmembership_response.py | 19 +- ...oupexternalmembership_response_compound.py | 35 +++- ...oupmembership_create_object_v1_response.py | 9 +- ...oupmembership_delete_object_v1_response.py | 9 +- ...groupmembership_edit_object_v1_response.py | 9 +- ...rgroupmembership_get_object_v2_response.py | 9 +- .../models/usergroupmembership_request.py | 15 +- .../usergroupmembership_request_compound.py | 12 +- .../models/usergroupmembership_response.py | 21 +- .../usergroupmembership_response_compound.py | 55 ++++- ...rlogintype_get_autocomplete_v2_response.py | 9 +- .../userstaged_create_user_v1_response.py | 9 +- .../userstaged_delete_object_v1_response.py | 9 +- .../models/userstaged_get_list_v1_response.py | 9 +- ...erstaged_get_list_v1_response_m_payload.py | 7 +- .../userstaged_get_object_v2_response.py | 9 +- ...staged_get_object_v2_response_m_payload.py | 6 +- eZmaxApi/models/userstaged_map_v1_response.py | 9 +- ...riableexpense_create_object_v1_response.py | 9 +- ...variableexpense_edit_object_v1_response.py | 9 +- ...bleexpense_get_autocomplete_v2_response.py | 9 +- .../variableexpense_get_list_v1_response.py | 9 +- ...eexpense_get_list_v1_response_m_payload.py | 7 +- .../variableexpense_get_object_v2_response.py | 9 +- eZmaxApi/models/variableexpense_request.py | 16 +- .../variableexpense_request_compound.py | 20 +- eZmaxApi/models/variableexpense_response.py | 16 +- .../variableexpense_response_compound.py | 23 ++- .../versionhistory_get_object_v2_response.py | 9 +- eZmaxApi/models/versionhistory_response.py | 22 +- .../versionhistory_response_compound.py | 19 +- .../webhook_create_object_v2_response.py | 9 +- .../webhook_delete_object_v1_response.py | 9 +- .../models/webhook_edit_object_v1_response.py | 9 +- .../webhook_ezsign_document_completed.py | 11 +- .../webhook_ezsign_document_form_completed.py | 11 +- .../models/webhook_ezsign_document_unsent.py | 11 +- ...ebhook_ezsign_ezsignsigner_acceptclause.py | 11 +- .../webhook_ezsign_ezsignsigner_connect.py | 11 +- .../models/webhook_ezsign_folder_completed.py | 11 +- .../models/webhook_ezsign_folder_disposed.py | 11 +- eZmaxApi/models/webhook_ezsign_folder_sent.py | 11 +- .../models/webhook_ezsign_folder_unsent.py | 11 +- .../models/webhook_ezsign_signature_signed.py | 11 +- .../models/webhook_get_history_v1_response.py | 9 +- ...bhook_get_history_v1_response_m_payload.py | 12 +- .../models/webhook_get_list_v1_response.py | 9 +- .../webhook_get_list_v1_response_m_payload.py | 7 +- .../models/webhook_get_object_v2_response.py | 9 +- .../webhook_regenerate_apikey_v1_response.py | 9 +- eZmaxApi/models/webhook_request.py | 23 ++- eZmaxApi/models/webhook_request_compound.py | 25 ++- eZmaxApi/models/webhook_response.py | 28 ++- eZmaxApi/models/webhook_response_compound.py | 70 ++++++- .../webhook_send_webhook_v1_response.py | 9 +- eZmaxApi/models/webhook_test_v1_response.py | 9 +- eZmaxApi/models/webhook_user_user_created.py | 17 +- .../webhook_userstaged_userstaged_created.py | 17 +- eZmaxApi/models/webhookheader_request.py | 14 +- .../models/webhookheader_request_compound.py | 25 ++- eZmaxApi/models/webhookheader_response.py | 15 +- .../models/webhookheader_response_compound.py | 24 ++- openapitools.json | 2 +- pyproject.toml | 19 +- ...n_generate_federation_token_v1_response.py | 21 +- ..._federation_token_v1_response_m_payload.py | 4 +- ...t_activesession_get_current_v1_response.py | 21 +- ...ssion_get_current_v1_response_m_payload.py | 86 ++++++++ ...t_activesession_get_current_v2_response.py | 17 ++ ...test_activesession_get_list_v1_response.py | 3 + ...esession_get_list_v1_response_m_payload.py | 4 + test/test_activesession_response_compound.py | 30 +++ test/test_apikey_create_object_v2_response.py | 17 ++ test/test_apikey_edit_object_v1_request.py | 18 +- test/test_apikey_edit_object_v1_response.py | 17 ++ ...est_apikey_edit_permissions_v1_response.py | 17 ++ ...erate_delegated_credentials_v1_response.py | 21 +- ...gated_credentials_v1_response_m_payload.py | 4 +- test/test_apikey_get_cors_v1_response.py | 17 ++ test/test_apikey_get_list_v1_response.py | 3 + ...t_apikey_get_list_v1_response_m_payload.py | 4 + test/test_apikey_get_object_v2_response.py | 17 ++ ...apikey_get_object_v2_response_m_payload.py | 64 +----- ...test_apikey_get_permissions_v1_response.py | 17 ++ test/test_apikey_get_subnets_v1_response.py | 17 ++ test/test_apikey_regenerate_v1_response.py | 17 ++ ...apikey_regenerate_v1_response_m_payload.py | 64 +----- ...tachment_get_attachmentlogs_v1_response.py | 17 ++ test/test_attachment_response_compound.py | 87 ++++++++ test/test_attachmentlog_response_compound.py | 9 + ...ationexternal_create_object_v1_response.py | 17 ++ ...ationexternal_delete_object_v1_response.py | 17 ++ ...icationexternal_edit_object_v1_response.py | 17 ++ ...onexternal_get_autocomplete_v2_response.py | 17 ++ ...enticationexternal_get_list_v1_response.py | 3 + ...external_get_list_v1_response_m_payload.py | 4 + ...ticationexternal_get_object_v2_response.py | 17 ++ ...authenticationexternal_request_compound.py | 5 + ...xternal_reset_authorization_v1_response.py | 17 ++ ...uthenticationexternal_response_compound.py | 42 ++++ ...l_generate_federation_token_v1_response.py | 21 +- ..._federation_token_v1_response_m_payload.py | 4 +- ...tyexternal_get_autocomplete_v2_response.py | 17 ++ ...ntityinternal_create_object_v1_response.py | 17 ++ ...gentityinternal_edit_object_v1_response.py | 17 ++ ...tyinternal_get_autocomplete_v2_response.py | 17 ++ ...lingentityinternal_get_list_v1_response.py | 3 + ...internal_get_list_v1_response_m_payload.py | 4 + ...ngentityinternal_get_object_v2_response.py | 17 ++ ..._billingentityinternal_request_compound.py | 7 + ...billingentityinternal_response_compound.py | 8 + ...gentityinternalproduct_request_compound.py | 5 + ...entityinternalproduct_response_compound.py | 14 ++ ...test_branding_create_object_v2_response.py | 17 ++ test/test_branding_edit_object_v2_response.py | 17 ++ ...t_branding_get_autocomplete_v2_response.py | 17 ++ test/test_branding_get_list_v1_response.py | 3 + ...branding_get_list_v1_response_m_payload.py | 4 + test/test_branding_get_object_v3_response.py | 17 ++ test/test_branding_request_compound_v2.py | 17 ++ test/test_branding_request_v2.py | 2 +- test/test_branding_response_compound_v3.py | 21 ++ ...act_get_communication_count_v1_response.py | 17 ++ ...ract_get_communication_list_v1_response.py | 3 + ...get_communicationrecipients_v1_response.py | 17 ++ ...ct_get_communicationsenders_v1_response.py | 17 ++ .../test_clonehistory_get_list_v1_response.py | 3 + ...ehistory_get_list_v1_response_m_payload.py | 4 + test/test_colleague_request_compound_v2.py | 25 +++ test/test_colleague_response_compound_v2.py | 66 ++++++ test/test_common_file.py | 2 +- test/test_common_get_report_v1_response.py | 17 ++ ...on_response_error_creditcard_validation.py | 7 + ...on_response_error_ezsignform_validation.py | 7 + ...mon_response_error_s_temporary_file_url.py | 7 + ...common_response_error_too_many_requests.py | 7 + ...on_response_error_wrong_franchiseoffice.py | 7 + ...mon_response_obj_debug_payload_get_list.py | 14 ++ test/test_communication_request_compound.py | 22 +- test/test_communication_send_v1_response.py | 17 ++ ...ommunicationattachment_request_compound.py | 4 + ...ationexternalrecipient_request_compound.py | 5 + ...communicationrecipient_request_compound.py | 15 ++ ...st_company_get_autocomplete_v2_response.py | 17 ++ test/test_contact_request_compound.py | 11 + test/test_contact_request_compound_v2.py | 15 ++ test/test_contact_response_compound.py | 22 ++ ...st_contactinformations_request_compound.py | 8 + ...contactinformations_request_compound_v2.py | 10 + test/test_contactinformations_response.py | 25 +-- ...t_contactinformations_response_compound.py | 13 ++ ...ntacttitle_get_autocomplete_v2_response.py | 17 ++ test/test_cors_create_object_v1_response.py | 17 ++ test/test_cors_delete_object_v1_response.py | 17 ++ test/test_cors_edit_object_v1_response.py | 17 ++ test/test_cors_get_object_v2_response.py | 17 ++ test/test_cors_request_compound.py | 5 + test/test_cors_response_compound.py | 6 + ...st_country_get_autocomplete_v2_response.py | 17 ++ ...ditcardclient_create_object_v1_response.py | 17 ++ ...ditcardclient_delete_object_v1_response.py | 17 ++ ...reditcardclient_edit_object_v1_response.py | 17 ++ ...cardclient_get_autocomplete_v2_response.py | 17 ++ ...t_creditcardclient_get_list_v1_response.py | 3 + ...rdclient_get_list_v1_response_m_payload.py | 4 + ...creditcardclient_get_object_v2_response.py | 17 ++ ...editcardclient_patch_object_v1_response.py | 17 ++ .../test_creditcardclient_request_compound.py | 26 +++ ...test_creditcardclient_response_compound.py | 14 ++ ...test_creditcarddetail_response_compound.py | 16 ++ ...itcardtype_get_autocomplete_v2_response.py | 17 ++ test/test_custom_apikey.py | 4 +- test/test_custom_apikeyfederation.py | 4 +- test/test_custom_attachment_response.py | 87 ++++++++ ..._custom_communicationattachment_request.py | 2 +- ...mmunicationrecipientsrecipient_response.py | 5 +- ...est_custom_communicationsender_response.py | 5 +- ...association_actionable_element_response.py | 36 ++++ ...ustom_ezsignformfielderrortest_response.py | 4 +- ...signelements_positioned_by_word_request.py | 39 ++++ ...signelements_positioned_by_word_request.py | 41 ++++ ...subsectiongetnotificationtests_response.py | 10 + ...cationtestgetnotificationtests_response.py | 14 ++ test/test_custom_webhook_response.py | 62 ++++++ ...test_customer_create_object_v1_response.py | 17 ++ test/test_customer_get_object_v2_response.py | 17 ++ test/test_customer_request_compound.py | 98 +++++++++ test/test_customer_response_compound.py | 99 +++++++++ ...department_get_autocomplete_v2_response.py | 17 ++ ...st_discussion_create_object_v1_response.py | 17 ++ ...st_discussion_delete_object_v1_response.py | 17 ++ .../test_discussion_get_object_v2_response.py | 17 ++ ...est_discussion_patch_object_v1_response.py | 17 ++ test/test_discussion_request_compound.py | 4 + test/test_discussion_response_compound.py | 17 ++ ...update_discussionreadstatus_v1_response.py | 17 ++ ...ionmembership_create_object_v1_response.py | 17 ++ ...ionmembership_delete_object_v1_response.py | 17 ++ ...t_discussionmembership_request_compound.py | 8 + ..._discussionmembership_response_compound.py | 11 + ...ussionmessage_create_object_v1_response.py | 17 ++ ...ussionmessage_delete_object_v1_response.py | 17 ++ ...cussionmessage_patch_object_v1_response.py | 17 ++ ...test_discussionmessage_request_compound.py | 6 + ...est_discussionmessage_response_compound.py | 47 +++++ test/test_domain_create_object_v1_response.py | 17 ++ test/test_domain_delete_object_v1_response.py | 17 ++ test/test_domain_get_list_v1_response.py | 3 + ...t_domain_get_list_v1_response_m_payload.py | 4 + test/test_domain_get_object_v2_response.py | 17 ++ test/test_domain_request_compound.py | 3 + test/test_domain_response_compound.py | 44 ++++ ...fer_get_communication_count_v1_response.py | 17 ++ ...sfer_get_communication_list_v1_response.py | 3 + ...get_communicationrecipients_v1_response.py | 17 ++ ...er_get_communicationsenders_v1_response.py | 17 ++ ..._emailtype_get_autocomplete_v2_response.py | 17 ++ ...platedocument_create_object_v1_response.py | 17 ++ ...emplatedocument_edit_object_v1_response.py | 17 ++ ...tedocument_get_autocomplete_v2_response.py | 17 ++ ...octemplatedocument_get_list_v1_response.py | 3 + ...document_get_list_v1_response_m_payload.py | 4 + ...templatedocument_get_object_v2_response.py | 17 ++ ...emplatedocument_patch_object_v1_request.py | 4 +- ...mplatedocument_patch_object_v1_response.py | 17 ++ ..._ezdoctemplatedocument_request_compound.py | 17 ++ ...est_ezdoctemplatedocument_request_patch.py | 2 +- ...ezdoctemplatedocument_response_compound.py | 24 +++ ...pecategory_get_autocomplete_v2_response.py | 17 ++ ...mplatetype_get_autocomplete_v2_response.py | 17 ++ ...xinvoicing_get_autocomplete_v2_response.py | 17 ++ ...t_ezmaxinvoicing_get_object_v2_response.py | 17 ++ ...axinvoicing_get_provisional_v1_response.py | 21 +- ...g_get_provisional_v1_response_m_payload.py | 94 +++++++++ test/test_ezmaxinvoicing_response_compound.py | 40 ++++ ...t_ezmaxinvoicingagent_response_compound.py | 36 ++++ ...axinvoicingcommission_response_compound.py | 12 ++ ...zmaxinvoicingcontract_response_compound.py | 50 +++++ ...oicingsummaryexternal_response_compound.py | 8 + ...summaryexternaldetail_response_compound.py | 18 ++ ...nvoicingsummaryglobal_response_compound.py | 33 +++ ...oicingsummaryinternal_response_compound.py | 14 ++ ...summaryinternaldetail_response_compound.py | 22 ++ ...st_ezmaxinvoicinguser_response_compound.py | 16 ++ ...maxproduct_get_autocomplete_v2_response.py | 17 ++ ...ignannotation_create_object_v1_response.py | 17 ++ ...ignannotation_delete_object_v1_response.py | 17 ++ ...zsignannotation_edit_object_v1_response.py | 17 ++ ...ezsignannotation_get_object_v2_response.py | 17 ++ .../test_ezsignannotation_request_compound.py | 16 ++ ...test_ezsignannotation_response_compound.py | 17 ++ ..._ezsignbulksendtransmission_v2_response.py | 17 ++ ...zsignbulksend_create_object_v1_response.py | 17 ++ ...zsignbulksend_delete_object_v1_response.py | 17 ++ ..._ezsignbulksend_edit_object_v1_response.py | 17 ++ ...ezsignbulksendtransmissions_v1_response.py | 17 ++ ..._ezsignsignatures_automatic_v1_response.py | 17 ++ ...signbulksend_get_forms_data_v1_response.py | 17 ++ ...est_ezsignbulksend_get_list_v1_response.py | 3 + ...bulksend_get_list_v1_response_m_payload.py | 4 + ...t_ezsignbulksend_get_object_v2_response.py | 17 ++ ...test_ezsignbulksend_reorder_v1_response.py | 17 ++ test/test_ezsignbulksend_request_compound.py | 13 ++ test/test_ezsignbulksend_response_compound.py | 54 +++++ ...cumentmapping_create_object_v1_response.py | 17 ++ ...cumentmapping_delete_object_v1_response.py | 17 ++ ...ddocumentmapping_get_object_v2_response.py | 17 ++ ...ulksenddocumentmapping_request_compound.py | 5 + ...lksenddocumentmapping_response_compound.py | 8 + ...signermapping_create_object_v1_response.py | 17 ++ ...signermapping_delete_object_v1_response.py | 17 ++ ...endsignermapping_get_object_v2_response.py | 17 ++ ...nbulksendsignermapping_request_compound.py | 6 + ...bulksendsignermapping_response_compound.py | 7 + ..._ezsignsignatures_automatic_v1_response.py | 17 ++ ...transmission_get_forms_data_v1_response.py | 17 ++ ...sendtransmission_get_object_v2_response.py | 17 ++ ...nbulksendtransmission_response_compound.py | 42 ++++ ...igndiscussion_create_object_v1_response.py | 17 ++ ...igndiscussion_delete_object_v1_response.py | 17 ++ ...ezsigndiscussion_get_object_v2_response.py | 17 ++ .../test_ezsigndiscussion_request_compound.py | 17 ++ ...test_ezsigndiscussion_response_compound.py | 14 ++ ...cument_apply_ezsigntemplate_v1_response.py | 17 ++ ...cument_apply_ezsigntemplate_v2_response.py | 17 ++ ..._apply_ezsigntemplateglobal_v1_response.py | 17 ++ ...elements_positioned_by_word_v1_response.py | 17 ++ ...ezsigndocument_create_object_v1_request.py | 19 +- ...zsigndocument_create_object_v1_response.py | 17 ++ ...zsigndocument_create_object_v2_response.py | 17 ++ ...zsigndocument_create_object_v3_response.py | 17 ++ ...igndocument_decline_to_sign_v1_response.py | 17 ++ ...zsigndocument_delete_object_v1_response.py | 17 ++ ...ment_edit_ezsignannotations_v1_response.py | 17 ++ ..._edit_ezsignformfieldgroups_v1_response.py | 17 ++ ...ument_edit_ezsignsignatures_v1_response.py | 17 ++ ...t_ezsigndocument_edit_object_v1_request.py | 34 +--- ..._ezsigndocument_edit_object_v1_response.py | 17 ++ ...igndocument_end_prematurely_v1_response.py | 17 ++ ...ezsigndocument_extract_text_v1_response.py | 17 ++ ...test_ezsigndocument_flatten_v1_response.py | 17 ++ ...ent_get_actionable_elements_v1_response.py | 17 ++ ...igndocument_get_attachments_v1_response.py | 17 ++ ...ment_get_completed_elements_v1_response.py | 17 ++ ...gndocument_get_download_url_v1_response.py | 17 ++ ...ument_get_ezsignannotations_v1_response.py | 17 ++ ...ument_get_ezsigndiscussions_v1_response.py | 17 ++ ...t_get_ezsignformfieldgroups_v1_response.py | 17 ++ ...igndocument_get_ezsignpages_v1_response.py | 17 ++ ..._ezsignsignatures_automatic_v1_response.py | 17 ++ ...cument_get_ezsignsignatures_v1_response.py | 17 ++ ...zsigndocument_get_form_data_v1_response.py | 17 ++ ...t_ezsigndocument_get_object_v1_response.py | 21 +- ...cument_get_object_v1_response_m_payload.py | 97 +++++++++ ...t_ezsigndocument_get_object_v2_response.py | 17 ++ ...ocument_get_temporary_proof_v1_response.py | 17 ++ ...ocument_get_words_positions_v1_response.py | 17 ++ ...ezsigndocument_patch_object_v1_response.py | 17 ++ test/test_ezsigndocument_request.py | 2 +- test/test_ezsigndocument_response_compound.py | 52 +++++ ...ndocument_submit_ezsignform_v1_response.py | 17 ++ .../test_ezsigndocument_unsend_v1_response.py | 17 ++ test/test_ezsignfolder_archive_v1_response.py | 17 ++ ...t_ezsignfolder_create_object_v1_request.py | 10 +- ..._ezsignfolder_create_object_v1_response.py | 17 ++ ..._ezsignfolder_create_object_v2_response.py | 17 ++ ..._ezsignfolder_create_object_v3_response.py | 17 ++ ..._ezsignfolder_delete_object_v1_response.py | 17 ++ ...older_dispose_ezsignfolders_v1_response.py | 17 ++ test/test_ezsignfolder_dispose_v1_response.py | 17 ++ ...est_ezsignfolder_edit_object_v3_request.py | 42 +--- ...st_ezsignfolder_edit_object_v3_response.py | 17 ++ ...zsignfolder_end_prematurely_v1_response.py | 17 ++ ...der_get_actionable_elements_v1_response.py | 17 ++ ...folder_get_attachment_count_v1_response.py | 17 ++ ...zsignfolder_get_attachments_v1_response.py | 17 ++ ...der_get_communication_count_v1_response.py | 17 ++ ...lder_get_communication_list_v1_response.py | 3 + ...get_communicationrecipients_v1_response.py | 17 ++ ...er_get_communicationsenders_v1_response.py | 17 ++ ...nfolder_get_ezsigndocuments_v1_response.py | 17 ++ ...ignfoldersignerassociations_v1_response.py | 17 ++ ..._ezsignsignatures_automatic_v1_response.py | 17 ++ ...ezsignfolder_get_forms_data_v1_response.py | 17 ++ .../test_ezsignfolder_get_list_v1_response.py | 3 + ...gnfolder_get_list_v1_response_m_payload.py | 4 + ...est_ezsignfolder_get_object_v1_response.py | 21 +- ...folder_get_object_v1_response_m_payload.py | 73 +++++++ ...est_ezsignfolder_get_object_v2_response.py | 17 ++ ...est_ezsignfolder_get_object_v3_response.py | 17 ++ ...ignfoldersignerassociations_v1_response.py | 17 ++ ...mport_ezsigntemplatepackage_v1_response.py | 17 ++ test/test_ezsignfolder_reorder_v1_response.py | 17 ++ test/test_ezsignfolder_reorder_v2_response.py | 17 ++ test/test_ezsignfolder_response_compound.py | 70 +++++++ .../test_ezsignfolder_response_compound_v3.py | 71 +++++++ test/test_ezsignfolder_send_v1_response.py | 17 ++ test/test_ezsignfolder_send_v3_response.py | 17 ++ test/test_ezsignfolder_unsend_v1_response.py | 17 ++ ...ciation_create_embedded_url_v1_response.py | 17 ++ ...erassociation_create_object_v1_response.py | 17 ++ ...erassociation_create_object_v2_response.py | 17 ++ ...erassociation_delete_object_v1_response.py | 17 ++ ...gnerassociation_edit_object_v1_response.py | 17 ++ ...ssociation_force_disconnect_v1_response.py | 17 ++ ...ion_get_in_person_login_url_v1_response.py | 17 ++ ...ignerassociation_get_object_v1_response.py | 21 +- ...iation_get_object_v1_response_m_payload.py | 36 ++++ ...ignerassociation_get_object_v2_response.py | 17 ++ ...nerassociation_patch_object_v1_response.py | 17 ++ ...rsignerassociation_reassign_v1_response.py | 17 ++ ...oldersignerassociation_request_compound.py | 15 ++ ...ldersignerassociation_response_compound.py | 28 +++ ...ignfoldertype_create_object_v3_response.py | 17 ++ ...zsignfoldertype_edit_object_v3_response.py | 17 ++ ...foldertype_get_autocomplete_v2_response.py | 17 ++ ...t_ezsignfoldertype_get_list_v1_response.py | 3 + ...ldertype_get_list_v1_response_m_payload.py | 4 + ...ezsignfoldertype_get_object_v2_response.py | 17 ++ ...ezsignfoldertype_get_object_v4_response.py | 17 ++ ...st_ezsignfoldertype_request_compound_v3.py | 91 +++++++++ ...test_ezsignfoldertype_response_compound.py | 84 ++++++++ ...t_ezsignfoldertype_response_compound_v4.py | 167 +++++++++++++++ test/test_ezsignformfield_request_compound.py | 20 ++ .../test_ezsignformfield_response_compound.py | 21 ++ ...ormfieldgroup_create_object_v1_response.py | 17 ++ ...ormfieldgroup_delete_object_v1_response.py | 17 ++ ...nformfieldgroup_edit_object_v1_response.py | 17 ++ ...gnformfieldgroup_get_object_v2_response.py | 17 ++ ...t_ezsignformfieldgroup_request_compound.py | 24 +++ ..._ezsignformfieldgroup_response_compound.py | 25 +++ test/test_ezsignpage_consult_v1_response.py | 17 ++ ...signsignature_create_object_v1_response.py | 17 ++ ...signsignature_create_object_v2_response.py | 17 ++ ...signsignature_create_object_v3_response.py | 17 ++ ...signsignature_delete_object_v1_response.py | 17 ++ ...ezsignsignature_edit_object_v2_response.py | 17 ++ ...t_ezsignsignatureattachment_v1_response.py | 17 ++ ..._ezsignsignatures_automatic_v1_response.py | 17 ++ ..._ezsignsignature_get_object_v3_response.py | 17 ++ test/test_ezsignsignature_request_compound.py | 34 ++++ ...est_ezsignsignature_request_compound_v2.py | 34 ++++ .../test_ezsignsignature_response_compound.py | 55 +++++ ...st_ezsignsignature_response_compound_v3.py | 55 +++++ test/test_ezsignsignature_sign_v1_request.py | 2 +- test/test_ezsignsignature_sign_v1_response.py | 17 ++ test/test_ezsignsigner_request_compound.py | 6 + test/test_ezsignsigner_response_compound.py | 9 + ...gnsignergroup_create_object_v1_response.py | 17 ++ ...gnsignergroup_delete_object_v1_response.py | 17 ++ ...zsignsignergroupmemberships_v1_response.py | 17 ++ ...signsignergroup_edit_object_v1_response.py | 17 ++ ...zsignsignergroupmemberships_v1_response.py | 17 ++ ...zsignsignergroup_get_object_v2_response.py | 17 ++ ...test_ezsignsignergroup_request_compound.py | 9 + ...est_ezsignsignergroup_response_compound.py | 9 + ...oupmembership_create_object_v1_response.py | 17 ++ ...oupmembership_delete_object_v1_response.py | 17 ++ ...rgroupmembership_get_object_v2_response.py | 17 ++ ...nsignergroupmembership_request_compound.py | 6 + ...signergroupmembership_response_compound.py | 7 + ...signingreason_create_object_v1_response.py | 17 ++ ...gnsigningreason_edit_object_v1_response.py | 17 ++ ...ningreason_get_autocomplete_v2_response.py | 17 ++ ...zsignsigningreason_get_list_v1_response.py | 3 + ...ngreason_get_list_v1_response_m_payload.py | 4 + ...ignsigningreason_get_object_v2_response.py | 17 ++ ...st_ezsignsigningreason_request_compound.py | 9 + ...t_ezsignsigningreason_response_compound.py | 10 + test/test_ezsigntemplate_copy_v1_response.py | 17 ++ ...zsigntemplate_create_object_v3_response.py | 17 ++ ...zsigntemplate_delete_object_v1_response.py | 17 ++ ..._ezsigntemplate_edit_object_v3_response.py | 17 ++ ...gntemplate_get_autocomplete_v2_response.py | 17 ++ ...est_ezsigntemplate_get_list_v1_response.py | 3 + ...template_get_list_v1_response_m_payload.py | 4 + ...t_ezsigntemplate_get_object_v3_response.py | 17 ++ ...test_ezsigntemplate_request_compound_v3.py | 15 ++ test/test_ezsigntemplate_response_compound.py | 54 +++++ ...est_ezsigntemplate_response_compound_v3.py | 56 +++++ ...platedocument_create_object_v1_response.py | 17 ++ ...atedocumentpagerecognitions_v1_response.py | 17 ++ ...signtemplateformfieldgroups_v1_response.py | 17 ++ ...it_ezsigntemplatesignatures_v1_response.py | 17 ++ ...emplatedocument_edit_object_v1_response.py | 17 ++ ...mplatedocument_extract_text_v1_response.py | 17 ++ ...igntemplatedocument_flatten_v1_response.py | 17 ++ ...atedocumentpagerecognitions_v1_response.py | 17 ++ ...ezsigntemplatedocumentpages_v1_response.py | 17 ++ ...signtemplateformfieldgroups_v1_response.py | 17 ++ ...et_ezsigntemplatesignatures_v1_response.py | 17 ++ ...templatedocument_get_object_v2_response.py | 17 ++ ...ocument_get_words_positions_v1_response.py | 17 ++ ...mplatedocument_patch_object_v1_response.py | 17 ++ test/test_ezsigntemplatedocument_request.py | 2 +- ...ezsigntemplatedocument_request_compound.py | 15 ++ ...zsigntemplatedocument_response_compound.py | 14 ++ ...gerecognition_create_object_v1_response.py | 17 ++ ...gerecognition_delete_object_v1_response.py | 17 ++ ...pagerecognition_edit_object_v1_response.py | 17 ++ ...tpagerecognition_get_object_v2_response.py | 17 ++ ...ocumentpagerecognition_request_compound.py | 14 ++ ...cumentpagerecognition_response_compound.py | 15 ++ ...zsigntemplateformfield_request_compound.py | 22 ++ ...signtemplateformfield_response_compound.py | 23 +++ ...ormfieldgroup_create_object_v1_response.py | 17 ++ ...ormfieldgroup_delete_object_v1_response.py | 17 ++ ...eformfieldgroup_edit_object_v1_response.py | 17 ++ ...teformfieldgroup_get_object_v2_response.py | 17 ++ ...templateformfieldgroup_request_compound.py | 25 +++ ...emplateformfieldgroup_response_compound.py | 25 +++ ...lateglobal_get_autocomplete_v2_response.py | 17 ++ ...gntemplateglobal_get_object_v2_response.py | 17 ++ ..._ezsigntemplateglobal_response_compound.py | 19 ++ ...ntemplateglobalsigner_response_compound.py | 6 + ...mplatepackage_create_object_v1_response.py | 17 ++ ...mplatepackage_delete_object_v1_response.py | 17 ++ ...zsigntemplatepackagesigners_v1_response.py | 17 ++ ...templatepackage_edit_object_v1_response.py | 17 ++ ...atepackage_get_autocomplete_v2_response.py | 17 ++ ...igntemplatepackage_get_list_v1_response.py | 3 + ...epackage_get_list_v1_response_m_payload.py | 4 + ...ntemplatepackage_get_object_v2_response.py | 17 ++ ..._ezsigntemplatepackage_request_compound.py | 12 ++ ...ezsigntemplatepackage_response_compound.py | 22 ++ ...agemembership_create_object_v1_response.py | 17 ++ ...agemembership_delete_object_v1_response.py | 17 ++ ...ackagemembership_get_object_v2_response.py | 17 ++ ...platepackagemembership_request_compound.py | 5 + ...latepackagemembership_response_compound.py | 8 + ...packagesigner_create_object_v1_response.py | 17 ++ ...packagesigner_delete_object_v1_response.py | 17 ++ ...tepackagesigner_edit_object_v1_response.py | 17 ++ ...atepackagesigner_get_object_v2_response.py | 17 ++ ...ntemplatepackagesigner_request_compound.py | 10 + ...templatepackagesigner_response_compound.py | 14 ++ ...nermembership_create_object_v1_response.py | 17 ++ ...nermembership_delete_object_v1_response.py | 17 ++ ...signermembership_get_object_v2_response.py | 17 ++ ...ackagesignermembership_request_compound.py | 8 + ...ckagesignermembership_response_compound.py | 9 + ...epublic_create_ezsignfolder_v1_response.py | 17 ++ ...emplatepublic_create_object_v1_response.py | 17 ++ ...ntemplatepublic_edit_object_v1_response.py | 17 ++ ...zsigntemplatepublic_details_v1_response.py | 17 ++ ...mplatepublic_get_forms_data_v1_response.py | 17 ++ ...signtemplatepublic_get_list_v1_response.py | 3 + ...tepublic_get_list_v1_response_m_payload.py | 4 + ...gntemplatepublic_get_object_v2_response.py | 17 ++ ...t_ezsigntemplatepublic_request_compound.py | 17 ++ ...eset_limit_exceeded_counter_v1_response.py | 17 ++ ...igntemplatepublic_reset_url_v1_response.py | 17 ++ ..._ezsigntemplatepublic_response_compound.py | 49 +++++ ...latesignature_create_object_v2_response.py | 17 ++ ...latesignature_delete_object_v1_response.py | 17 ++ ...mplatesignature_edit_object_v2_response.py | 17 ++ ...emplatesignature_get_object_v3_response.py | 17 ++ ...zsigntemplatesignature_request_compound.py | 37 ++++ ...gntemplatesignature_request_compound_v2.py | 37 ++++ ...signtemplatesignature_response_compound.py | 38 ++++ ...ntemplatesignature_response_compound_v3.py | 38 ++++ ...emplatesigner_create_object_v1_response.py | 17 ++ ...emplatesigner_delete_object_v1_response.py | 17 ++ ...ntemplatesigner_edit_object_v1_response.py | 17 ++ ...gntemplatesigner_get_object_v2_response.py | 17 ++ ...t_ezsigntemplatesigner_request_compound.py | 10 + ..._ezsigntemplatesigner_response_compound.py | 13 ++ ...equirement_get_autocomplete_v2_response.py | 17 ++ ...test_ezsignuser_edit_object_v1_response.py | 17 ++ .../test_ezsignuser_get_object_v2_response.py | 17 ++ test/test_ezsignuser_request_compound.py | 5 + test/test_ezsignuser_response_compound.py | 40 ++++ .../test_font_get_autocomplete_v2_response.py | 17 ++ ...hisebroker_get_autocomplete_v2_response.py | 17 ++ ...hiseoffice_get_autocomplete_v2_response.py | 17 ++ ...referalincome_create_object_v2_response.py | 17 ++ ...franchisereferalincome_request_compound.py | 23 +++ ..._glaccount_get_autocomplete_v2_response.py | 17 ++ ...tcontainer_get_autocomplete_v2_response.py | 17 ++ ...inscription_get_attachments_v1_response.py | 17 ++ ...ion_get_communication_count_v1_response.py | 17 ++ ...tion_get_communication_list_v1_response.py | 3 + ...get_communicationrecipients_v1_response.py | 17 ++ ...on_get_communicationsenders_v1_response.py | 17 ++ ...ted_get_communication_count_v1_response.py | 17 ++ ...ated_get_communication_list_v1_response.py | 3 + ...get_communicationrecipients_v1_response.py | 17 ++ ...ed_get_communicationsenders_v1_response.py | 17 ++ ...emp_get_communication_count_v1_response.py | 17 ++ ...temp_get_communication_list_v1_response.py | 3 + ...get_communicationrecipients_v1_response.py | 17 ++ ...mp_get_communicationsenders_v1_response.py | 17 ++ ...est_invoice_get_attachments_v1_response.py | 17 ++ ...ice_get_communication_count_v1_response.py | 17 ++ ...oice_get_communication_list_v1_response.py | 3 + ...get_communicationrecipients_v1_response.py | 17 ++ ...ce_get_communicationsenders_v1_response.py | 17 ++ ...t_language_get_autocomplete_v2_response.py | 17 ++ ...est_module_get_autocomplete_v2_response.py | 17 ++ test/test_module_response_compound.py | 12 ++ test/test_modulegroup_get_all_v1_response.py | 17 ++ test/test_modulegroup_response_compound.py | 4 + test/test_modulesection_response_compound.py | 8 + ...ction_get_notificationtests_v1_response.py | 17 ++ ...tificationtest_get_elements_v1_response.py | 17 ++ ...ome_get_communication_count_v1_response.py | 17 ++ ...come_get_communication_list_v1_response.py | 3 + ...get_communicationrecipients_v1_response.py | 17 ++ ...me_get_communicationsenders_v1_response.py | 17 ++ ...t_paymentterm_create_object_v1_response.py | 17 ++ ...est_paymentterm_edit_object_v1_response.py | 17 ++ ...aymentterm_get_autocomplete_v2_response.py | 17 ++ test/test_paymentterm_get_list_v1_response.py | 3 + ...mentterm_get_list_v1_response_m_payload.py | 4 + ...test_paymentterm_get_object_v2_response.py | 17 ++ test/test_paymentterm_request_compound.py | 15 ++ test/test_paymentterm_response_compound.py | 50 +++++ ..._pdfalevel_get_autocomplete_v2_response.py | 17 ++ ...est_period_get_autocomplete_v2_response.py | 17 ++ ...st_permission_create_object_v1_response.py | 17 ++ ...st_permission_delete_object_v1_response.py | 17 ++ .../test_permission_edit_object_v1_request.py | 16 +- ...test_permission_edit_object_v1_response.py | 17 ++ .../test_permission_get_object_v2_response.py | 17 ++ ...ission_get_object_v2_response_m_payload.py | 18 +- test/test_phone_response_compound.py | 7 + ..._phonetype_get_autocomplete_v2_response.py | 17 ++ ...t_province_get_autocomplete_v2_response.py | 17 ++ ...ase_get_communication_count_v1_response.py | 17 ++ ...hase_get_communication_list_v1_response.py | 3 + ...get_communicationrecipients_v1_response.py | 17 ++ ...se_get_communicationsenders_v1_response.py | 17 ++ ...etquestion_get_autocomplete_v2_response.py | 17 ++ ...est_sessionhistory_get_list_v1_response.py | 3 + ...nhistory_get_list_v1_response_m_payload.py | 4 + ...est_signature_create_object_v1_response.py | 17 ++ ...est_signature_delete_object_v1_response.py | 17 ++ .../test_signature_edit_object_v1_response.py | 17 ++ test/test_signature_get_object_v2_response.py | 17 ++ test/test_signature_get_object_v3_response.py | 17 ++ test/test_signature_request_compound.py | 7 + test/test_signature_response_compound.py | 5 + test/test_signature_response_compound_v3.py | 10 + test/test_subnet_create_object_v1_response.py | 17 ++ test/test_subnet_delete_object_v1_response.py | 17 ++ test/test_subnet_edit_object_v1_response.py | 17 ++ test/test_subnet_get_object_v2_response.py | 17 ++ test/test_subnet_request_compound.py | 13 ++ test/test_subnet_response_compound.py | 14 ++ test/test_supply_create_object_v1_response.py | 17 ++ test/test_supply_delete_object_v1_response.py | 17 ++ test/test_supply_edit_object_v1_response.py | 17 ++ ...est_supply_get_autocomplete_v2_response.py | 17 ++ test/test_supply_get_list_v1_response.py | 3 + ...t_supply_get_list_v1_response_m_payload.py | 4 + test/test_supply_get_object_v2_response.py | 17 ++ test/test_supply_request_compound.py | 19 ++ test/test_supply_response_compound.py | 23 +++ ...emconfiguration_edit_object_v1_response.py | 17 ++ ...temconfiguration_get_object_v2_response.py | 17 ++ ...st_systemconfiguration_request_compound.py | 17 ++ ...t_systemconfiguration_response_compound.py | 27 +++ ...assignment_get_autocomplete_v2_response.py | 17 ++ test/test_textstylestatic_request_compound.py | 14 ++ .../test_textstylestatic_response_compound.py | 17 ++ ...t_timezone_get_autocomplete_v2_response.py | 17 ++ ...act_get_communication_count_v1_response.py | 17 ++ ...ract_get_communication_list_v1_response.py | 3 + ...get_communicationrecipients_v1_response.py | 17 ++ ...ct_get_communicationsenders_v1_response.py | 17 ++ ...test_user_create_ezsignuser_v1_response.py | 17 ++ test/test_user_create_object_v1_response.py | 17 ++ test/test_user_create_object_v2_response.py | 17 ++ test/test_user_edit_colleagues_v2_response.py | 17 ++ test/test_user_edit_object_v1_response.py | 17 ++ .../test_user_edit_permissions_v1_response.py | 17 ++ test/test_user_get_apikeys_v1_response.py | 17 ++ .../test_user_get_autocomplete_v2_response.py | 17 ++ test/test_user_get_colleagues_v2_response.py | 17 ++ ...r_get_effective_permissions_v1_response.py | 17 ++ test/test_user_get_list_v1_response.py | 3 + ...est_user_get_list_v1_response_m_payload.py | 4 + test/test_user_get_object_v2_response.py | 17 ++ ...t_user_get_object_v2_response_m_payload.py | 112 +--------- test/test_user_get_permissions_v1_response.py | 17 ++ test/test_user_get_subnets_v1_response.py | 17 ++ ...user_get_usergroupexternals_v1_response.py | 17 ++ test/test_user_get_usergroups_v1_response.py | 17 ++ test/test_user_request.py | 32 +-- test/test_user_request_compound.py | 41 ++++ test/test_user_request_compound_v2.py | 41 ++++ test/test_user_request_v2.py | 22 +- test/test_user_response.py | 10 +- test/test_user_response_compound.py | 10 +- ...st_user_send_password_reset_v1_response.py | 17 ++ ...est_usergroup_create_object_v1_response.py | 17 ++ .../test_usergroup_edit_object_v1_response.py | 17 ++ ..._usergroup_edit_permissions_v1_response.py | 17 ++ ...p_edit_usergroupdelegations_v1_response.py | 17 ++ ...p_edit_usergroupmemberships_v1_response.py | 17 ++ ..._usergroup_get_autocomplete_v2_response.py | 17 ++ test/test_usergroup_get_list_v1_response.py | 3 + ...sergroup_get_list_v1_response_m_payload.py | 4 + test/test_usergroup_get_object_v2_response.py | 17 ++ ...t_usergroup_get_permissions_v1_response.py | 17 ++ ...up_get_usergroupdelegations_v1_response.py | 17 ++ ...up_get_usergroupmemberships_v1_response.py | 17 ++ test/test_usergroup_request_compound.py | 11 + test/test_usergroup_response_compound.py | 13 ++ ...oupdelegation_create_object_v1_response.py | 17 ++ ...oupdelegation_delete_object_v1_response.py | 17 ++ ...groupdelegation_edit_object_v1_response.py | 17 ++ ...rgroupdelegation_get_object_v2_response.py | 17 ++ ...st_usergroupdelegation_request_compound.py | 5 + ...t_usergroupdelegation_response_compound.py | 15 ++ ...groupexternal_create_object_v1_response.py | 17 ++ ...groupexternal_delete_object_v1_response.py | 17 ++ ...ergroupexternal_edit_object_v1_response.py | 17 ++ ...upexternal_get_autocomplete_v2_response.py | 17 ++ ..._usergroupexternal_get_list_v1_response.py | 3 + ...external_get_list_v1_response_m_payload.py | 4 + ...sergroupexternal_get_object_v2_response.py | 17 ++ ...sergroupexternalmemberships_v1_response.py | 17 ++ ...roupexternal_get_usergroups_v1_response.py | 17 ++ ...test_usergroupexternal_request_compound.py | 5 + ...est_usergroupexternal_response_compound.py | 6 + ...oupexternalmembership_response_compound.py | 16 ++ ...oupmembership_create_object_v1_response.py | 17 ++ ...oupmembership_delete_object_v1_response.py | 17 ++ ...groupmembership_edit_object_v1_response.py | 17 ++ ...rgroupmembership_get_object_v2_response.py | 17 ++ ...st_usergroupmembership_request_compound.py | 5 + ...t_usergroupmembership_response_compound.py | 13 ++ ...rlogintype_get_autocomplete_v2_response.py | 17 ++ ...test_userstaged_create_user_v1_response.py | 17 ++ ...st_userstaged_delete_object_v1_response.py | 17 ++ test/test_userstaged_get_list_v1_response.py | 3 + ...erstaged_get_list_v1_response_m_payload.py | 4 + .../test_userstaged_get_object_v2_response.py | 17 ++ ...staged_get_object_v2_response_m_payload.py | 16 +- test/test_userstaged_map_v1_response.py | 17 ++ ...riableexpense_create_object_v1_response.py | 17 ++ ...variableexpense_edit_object_v1_response.py | 17 ++ ...bleexpense_get_autocomplete_v2_response.py | 17 ++ ...st_variableexpense_get_list_v1_response.py | 3 + ...eexpense_get_list_v1_response_m_payload.py | 4 + ..._variableexpense_get_object_v2_response.py | 17 ++ test/test_variableexpense_request_compound.py | 13 ++ .../test_variableexpense_response_compound.py | 11 + ...t_versionhistory_get_object_v2_response.py | 17 ++ test/test_versionhistory_response_compound.py | 20 ++ .../test_webhook_create_object_v2_response.py | 17 ++ .../test_webhook_delete_object_v1_response.py | 17 ++ test/test_webhook_edit_object_v1_response.py | 17 ++ .../test_webhook_ezsign_document_completed.py | 8 + ..._webhook_ezsign_document_form_completed.py | 8 + test/test_webhook_ezsign_document_unsent.py | 8 + ...ebhook_ezsign_ezsignsigner_acceptclause.py | 8 + ...est_webhook_ezsign_ezsignsigner_connect.py | 8 + test/test_webhook_ezsign_folder_completed.py | 8 + test/test_webhook_ezsign_folder_disposed.py | 8 + test/test_webhook_ezsign_folder_sent.py | 8 + test/test_webhook_ezsign_folder_unsent.py | 8 + test/test_webhook_ezsign_signature_signed.py | 8 + test/test_webhook_get_history_v1_response.py | 17 ++ test/test_webhook_get_list_v1_response.py | 3 + ..._webhook_get_list_v1_response_m_payload.py | 4 + test/test_webhook_get_object_v2_response.py | 17 ++ ...t_webhook_regenerate_apikey_v1_response.py | 17 ++ test/test_webhook_request_compound.py | 18 ++ test/test_webhook_response_compound.py | 58 ++++++ test/test_webhook_send_webhook_v1_response.py | 17 ++ test/test_webhook_test_v1_response.py | 17 ++ test/test_webhook_user_user_created.py | 120 +---------- ...t_webhook_userstaged_userstaged_created.py | 24 +-- test/test_webhookheader_request_compound.py | 5 + test/test_webhookheader_response_compound.py | 8 + 2288 files changed, 26025 insertions(+), 4414 deletions(-) diff --git a/.openapi-generator/VERSION b/.openapi-generator/VERSION index 758bb9c82..4bc5d6181 100644 --- a/.openapi-generator/VERSION +++ b/.openapi-generator/VERSION @@ -1 +1 @@ -7.10.0 +7.9.0 diff --git a/README.md b/README.md index 8cee9a0b3..f3e8792ab 100644 --- a/README.md +++ b/README.md @@ -5,13 +5,13 @@ This Python package is automatically generated by the [OpenAPI Generator](https: - API version: 1.2.1 - Package version: 1.2.1 -- Generator version: 7.10.0 +- Generator version: 7.9.0 - Build package: org.openapitools.codegen.languages.PythonClientCodegen For more information, please visit [https://www.ezmax.ca/en/contact](https://www.ezmax.ca/en/contact) ## Requirements. -Python 3.8+ +Python 3.7+ ## Installation & Usage ### pip install diff --git a/docs/ActivesessionGenerateFederationTokenV1Response.md b/docs/ActivesessionGenerateFederationTokenV1Response.md index 037e6da97..9663cd471 100644 --- a/docs/ActivesessionGenerateFederationTokenV1Response.md +++ b/docs/ActivesessionGenerateFederationTokenV1Response.md @@ -6,6 +6,8 @@ Response for POST /1/object/activesession/generateFederationToken Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**obj_debug_payload** | [**CommonResponseObjDebugPayload**](CommonResponseObjDebugPayload.md) | | +**obj_debug** | [**CommonResponseObjDebug**](CommonResponseObjDebug.md) | | [optional] **m_payload** | [**ActivesessionGenerateFederationTokenV1ResponseMPayload**](ActivesessionGenerateFederationTokenV1ResponseMPayload.md) | | ## Example diff --git a/docs/ActivesessionGetCurrentV1Response.md b/docs/ActivesessionGetCurrentV1Response.md index b9b16ab59..9d0efcb8b 100644 --- a/docs/ActivesessionGetCurrentV1Response.md +++ b/docs/ActivesessionGetCurrentV1Response.md @@ -6,7 +6,9 @@ Response for GET /1/object/activesession/getCurrent Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**m_payload** | [**ActivesessionResponseCompound**](ActivesessionResponseCompound.md) | Payload for GET /1/object/activesession/getCurrent | +**obj_debug_payload** | [**CommonResponseObjDebugPayload**](CommonResponseObjDebugPayload.md) | | +**obj_debug** | [**CommonResponseObjDebug**](CommonResponseObjDebug.md) | | [optional] +**m_payload** | [**ActivesessionGetCurrentV1ResponseMPayload**](ActivesessionGetCurrentV1ResponseMPayload.md) | | ## Example diff --git a/docs/ActivesessionGetCurrentV1ResponseMPayload.md b/docs/ActivesessionGetCurrentV1ResponseMPayload.md index c48b20e1c..740307da7 100644 --- a/docs/ActivesessionGetCurrentV1ResponseMPayload.md +++ b/docs/ActivesessionGetCurrentV1ResponseMPayload.md @@ -6,6 +6,37 @@ Payload for GET /1/object/activesession/getCurrent Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**e_activesession_usertype** | [**FieldEActivesessionUsertype**](FieldEActivesessionUsertype.md) | | +**e_activesession_origin** | [**FieldEActivesessionOrigin**](FieldEActivesessionOrigin.md) | | +**e_activesession_weekdaystart** | [**FieldEActivesessionWeekdaystart**](FieldEActivesessionWeekdaystart.md) | | +**fki_language_id** | **int** | The unique ID of the Language. Valid values: |Value|Description| |-|-| |1|French| |2|English| | +**s_company_name_x** | **str** | The Name of the Company in the language of the requester | +**s_department_name_x** | **str** | The Name of the Department in the language of the requester | +**b_activesession_debug** | **bool** | Whether the active session is in debug or not | +**b_activesession_issuperadmin** | **bool** | Whether the active session is superadmin or not | +**b_activesession_attachment** | **bool** | Can access attachment when we clone a user | [optional] +**b_activesession_canafe** | **bool** | Can access canafe when we clone a user | [optional] +**b_activesession_financial** | **bool** | Can access financial element when we clone a user | [optional] +**b_activesession_realestatecompleted** | **bool** | Can access closed realestate folders when we clone a user | [optional] +**e_activesession_ezsign** | [**FieldEActivesessionEzsign**](FieldEActivesessionEzsign.md) | | [optional] +**e_activesession_ezsignaccess** | [**FieldEActivesessionEzsignaccess**](FieldEActivesessionEzsignaccess.md) | | +**e_activesession_ezsignprepaid** | [**FieldEActivesessionEzsignprepaid**](FieldEActivesessionEzsignprepaid.md) | | [optional] +**e_activesession_realestateinprogress** | [**FieldEActivesessionRealestateinprogress**](FieldEActivesessionRealestateinprogress.md) | | [optional] +**pks_customer_code** | **str** | The customer code assigned to your account | +**fki_systemconfigurationtype_id** | **int** | The unique ID of the Systemconfigurationtype | +**fki_signature_id** | **int** | The unique ID of the Signature | [optional] +**fki_ezsignuser_id** | **int** | The unique ID of the Ezsignuser | [optional] +**b_systemconfiguration_ezsignpaidbyoffice** | **bool** | Whether if Ezsign is paid by the company or not | [optional] +**e_systemconfiguration_ezsignofficeplan** | [**FieldESystemconfigurationEzsignofficeplan**](FieldESystemconfigurationEzsignofficeplan.md) | | [optional] +**e_user_ezsignaccess** | [**FieldEUserEzsignaccess**](FieldEUserEzsignaccess.md) | | +**e_user_ezsignprepaid** | [**FieldEUserEzsignprepaid**](FieldEUserEzsignprepaid.md) | | [optional] +**b_user_ezsigntrial** | **bool** | Whether the User's eZsign subscription is a trial | [optional] +**dt_user_ezsignprepaidexpiration** | **str** | The eZsign prepaid expiration date | [optional] +**a_pki_permission_id** | **List[int]** | An array of permissions granted to the user or api key | +**obj_user_real** | [**ActivesessionResponseCompoundUser**](ActivesessionResponseCompoundUser.md) | | +**obj_user_cloned** | [**ActivesessionResponseCompoundUser**](ActivesessionResponseCompoundUser.md) | | [optional] +**obj_apikey** | [**ActivesessionResponseCompoundApikey**](ActivesessionResponseCompoundApikey.md) | | [optional] +**a_e_module_internalname** | **List[str]** | An Array of Registered modules. These are the modules that are Licensed to be used by the User or the API Key. | ## Example diff --git a/docs/ActivesessionGetCurrentV2Response.md b/docs/ActivesessionGetCurrentV2Response.md index 39894d8b6..5c5951d96 100644 --- a/docs/ActivesessionGetCurrentV2Response.md +++ b/docs/ActivesessionGetCurrentV2Response.md @@ -6,6 +6,8 @@ Response for GET /2/object/activesession/getCurrent Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**obj_debug_payload** | [**CommonResponseObjDebugPayload**](CommonResponseObjDebugPayload.md) | | +**obj_debug** | [**CommonResponseObjDebug**](CommonResponseObjDebug.md) | | [optional] **m_payload** | [**ActivesessionGetCurrentV2ResponseMPayload**](ActivesessionGetCurrentV2ResponseMPayload.md) | | ## Example diff --git a/docs/ActivesessionGetListV1Response.md b/docs/ActivesessionGetListV1Response.md index 8060daeb1..c4300bb2a 100644 --- a/docs/ActivesessionGetListV1Response.md +++ b/docs/ActivesessionGetListV1Response.md @@ -6,6 +6,8 @@ Response for GET /1/object/activesession/getList Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**obj_debug_payload** | [**CommonResponseObjDebugPayloadGetList**](CommonResponseObjDebugPayloadGetList.md) | | +**obj_debug** | [**CommonResponseObjDebug**](CommonResponseObjDebug.md) | | [optional] **m_payload** | [**ActivesessionGetListV1ResponseMPayload**](ActivesessionGetListV1ResponseMPayload.md) | | ## Example diff --git a/docs/ActivesessionGetListV1ResponseMPayload.md b/docs/ActivesessionGetListV1ResponseMPayload.md index 722272010..41bde76bd 100644 --- a/docs/ActivesessionGetListV1ResponseMPayload.md +++ b/docs/ActivesessionGetListV1ResponseMPayload.md @@ -6,6 +6,8 @@ Payload for GET /1/object/activesession/getList Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**i_row_returned** | **int** | The number of rows returned | +**i_row_filtered** | **int** | The number of rows matching your filters (if any) or the total number of rows | **a_obj_activesession** | [**List[ActivesessionListElement]**](ActivesessionListElement.md) | | ## Example diff --git a/docs/ActivesessionResponseCompound.md b/docs/ActivesessionResponseCompound.md index 3a7f94a48..0abaa6d7a 100644 --- a/docs/ActivesessionResponseCompound.md +++ b/docs/ActivesessionResponseCompound.md @@ -6,6 +6,25 @@ Payload for GET /1/object/activesession/getCurrent Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**e_activesession_usertype** | [**FieldEActivesessionUsertype**](FieldEActivesessionUsertype.md) | | +**e_activesession_origin** | [**FieldEActivesessionOrigin**](FieldEActivesessionOrigin.md) | | +**e_activesession_weekdaystart** | [**FieldEActivesessionWeekdaystart**](FieldEActivesessionWeekdaystart.md) | | +**fki_language_id** | **int** | The unique ID of the Language. Valid values: |Value|Description| |-|-| |1|French| |2|English| | +**s_company_name_x** | **str** | The Name of the Company in the language of the requester | +**s_department_name_x** | **str** | The Name of the Department in the language of the requester | +**b_activesession_debug** | **bool** | Whether the active session is in debug or not | +**b_activesession_issuperadmin** | **bool** | Whether the active session is superadmin or not | +**b_activesession_attachment** | **bool** | Can access attachment when we clone a user | [optional] +**b_activesession_canafe** | **bool** | Can access canafe when we clone a user | [optional] +**b_activesession_financial** | **bool** | Can access financial element when we clone a user | [optional] +**b_activesession_realestatecompleted** | **bool** | Can access closed realestate folders when we clone a user | [optional] +**e_activesession_ezsign** | [**FieldEActivesessionEzsign**](FieldEActivesessionEzsign.md) | | [optional] +**e_activesession_ezsignaccess** | [**FieldEActivesessionEzsignaccess**](FieldEActivesessionEzsignaccess.md) | | +**e_activesession_ezsignprepaid** | [**FieldEActivesessionEzsignprepaid**](FieldEActivesessionEzsignprepaid.md) | | [optional] +**e_activesession_realestateinprogress** | [**FieldEActivesessionRealestateinprogress**](FieldEActivesessionRealestateinprogress.md) | | [optional] +**pks_customer_code** | **str** | The customer code assigned to your account | +**fki_systemconfigurationtype_id** | **int** | The unique ID of the Systemconfigurationtype | +**fki_signature_id** | **int** | The unique ID of the Signature | [optional] **fki_ezsignuser_id** | **int** | The unique ID of the Ezsignuser | [optional] **b_systemconfiguration_ezsignpaidbyoffice** | **bool** | Whether if Ezsign is paid by the company or not | [optional] **e_systemconfiguration_ezsignofficeplan** | [**FieldESystemconfigurationEzsignofficeplan**](FieldESystemconfigurationEzsignofficeplan.md) | | [optional] diff --git a/docs/ApikeyCreateObjectV2Request.md b/docs/ApikeyCreateObjectV2Request.md index 1a33c9ea4..6a0b2f319 100644 --- a/docs/ApikeyCreateObjectV2Request.md +++ b/docs/ApikeyCreateObjectV2Request.md @@ -6,7 +6,7 @@ Request for POST /2/object/apikey Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**a_obj_apikey** | [**List[ApikeyRequestCompound]**](ApikeyRequest.md) | | +**a_obj_apikey** | [**List[ApikeyRequestCompound]**](ApikeyRequestCompound.md) | | ## Example diff --git a/docs/ApikeyCreateObjectV2Response.md b/docs/ApikeyCreateObjectV2Response.md index 28e127ffd..88de685dd 100644 --- a/docs/ApikeyCreateObjectV2Response.md +++ b/docs/ApikeyCreateObjectV2Response.md @@ -6,6 +6,8 @@ Response for POST /2/object/apikey Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**obj_debug_payload** | [**CommonResponseObjDebugPayload**](CommonResponseObjDebugPayload.md) | | +**obj_debug** | [**CommonResponseObjDebug**](CommonResponseObjDebug.md) | | [optional] **m_payload** | [**ApikeyCreateObjectV2ResponseMPayload**](ApikeyCreateObjectV2ResponseMPayload.md) | | ## Example diff --git a/docs/ApikeyCreateObjectV2ResponseMPayload.md b/docs/ApikeyCreateObjectV2ResponseMPayload.md index 323f2d44c..31e5a3d61 100644 --- a/docs/ApikeyCreateObjectV2ResponseMPayload.md +++ b/docs/ApikeyCreateObjectV2ResponseMPayload.md @@ -6,7 +6,7 @@ Payload for POST /2/object/apikey Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**a_obj_apikey** | [**List[ApikeyResponseCompound]**](ApikeyResponse.md) | | +**a_obj_apikey** | [**List[ApikeyResponseCompound]**](ApikeyResponseCompound.md) | | ## Example diff --git a/docs/ApikeyEditObjectV1Request.md b/docs/ApikeyEditObjectV1Request.md index 64b2e8e30..806c047e0 100644 --- a/docs/ApikeyEditObjectV1Request.md +++ b/docs/ApikeyEditObjectV1Request.md @@ -6,7 +6,7 @@ Request for PUT /1/object/apikey/{pkiApikeyID} Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**obj_apikey** | [**ApikeyRequest**](ApikeyRequest.md) | An Apikey Object and children to create a complete structure | +**obj_apikey** | [**ApikeyRequestCompound**](ApikeyRequestCompound.md) | | ## Example diff --git a/docs/ApikeyEditObjectV1Response.md b/docs/ApikeyEditObjectV1Response.md index a35d95c12..767dbdb08 100644 --- a/docs/ApikeyEditObjectV1Response.md +++ b/docs/ApikeyEditObjectV1Response.md @@ -6,6 +6,8 @@ Response for PUT /1/object/apikey/{pkiApikeyID} Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**obj_debug_payload** | [**CommonResponseObjDebugPayload**](CommonResponseObjDebugPayload.md) | | +**obj_debug** | [**CommonResponseObjDebug**](CommonResponseObjDebug.md) | | [optional] ## Example diff --git a/docs/ApikeyEditPermissionsV1Request.md b/docs/ApikeyEditPermissionsV1Request.md index 1ecfdd025..0a193f9d6 100644 --- a/docs/ApikeyEditPermissionsV1Request.md +++ b/docs/ApikeyEditPermissionsV1Request.md @@ -6,7 +6,7 @@ Request for PUT /1/object/apikey/{pkiApikeyID}/editPermissions Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**a_obj_permission** | [**List[PermissionRequestCompound]**](PermissionRequest.md) | | +**a_obj_permission** | [**List[PermissionRequestCompound]**](PermissionRequestCompound.md) | | ## Example diff --git a/docs/ApikeyEditPermissionsV1Response.md b/docs/ApikeyEditPermissionsV1Response.md index f1663602b..938a3a893 100644 --- a/docs/ApikeyEditPermissionsV1Response.md +++ b/docs/ApikeyEditPermissionsV1Response.md @@ -6,6 +6,8 @@ Response for PUT /1/object/apikey/{pkiApikeyID}/editPermissions Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**obj_debug_payload** | [**CommonResponseObjDebugPayload**](CommonResponseObjDebugPayload.md) | | +**obj_debug** | [**CommonResponseObjDebug**](CommonResponseObjDebug.md) | | [optional] **m_payload** | [**ApikeyEditPermissionsV1ResponseMPayload**](ApikeyEditPermissionsV1ResponseMPayload.md) | | ## Example diff --git a/docs/ApikeyGenerateDelegatedCredentialsV1Response.md b/docs/ApikeyGenerateDelegatedCredentialsV1Response.md index 20ecf2243..1f2542c6e 100644 --- a/docs/ApikeyGenerateDelegatedCredentialsV1Response.md +++ b/docs/ApikeyGenerateDelegatedCredentialsV1Response.md @@ -6,6 +6,8 @@ Response for POST /1/object/apikey/generateDelegatedCredentials Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**obj_debug_payload** | [**CommonResponseObjDebugPayload**](CommonResponseObjDebugPayload.md) | | +**obj_debug** | [**CommonResponseObjDebug**](CommonResponseObjDebug.md) | | [optional] **m_payload** | [**ApikeyGenerateDelegatedCredentialsV1ResponseMPayload**](ApikeyGenerateDelegatedCredentialsV1ResponseMPayload.md) | | ## Example diff --git a/docs/ApikeyGetCorsV1Response.md b/docs/ApikeyGetCorsV1Response.md index 7aa2ed1a6..6080616d9 100644 --- a/docs/ApikeyGetCorsV1Response.md +++ b/docs/ApikeyGetCorsV1Response.md @@ -6,6 +6,8 @@ Response for GET /1/object/apikey/{pkiApikeyID}/getCors Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**obj_debug_payload** | [**CommonResponseObjDebugPayload**](CommonResponseObjDebugPayload.md) | | +**obj_debug** | [**CommonResponseObjDebug**](CommonResponseObjDebug.md) | | [optional] **m_payload** | [**ApikeyGetCorsV1ResponseMPayload**](ApikeyGetCorsV1ResponseMPayload.md) | | ## Example diff --git a/docs/ApikeyGetListV1Response.md b/docs/ApikeyGetListV1Response.md index 142630dbf..21497f0f5 100644 --- a/docs/ApikeyGetListV1Response.md +++ b/docs/ApikeyGetListV1Response.md @@ -6,6 +6,8 @@ Response for GET /1/object/apikey/getList Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**obj_debug_payload** | [**CommonResponseObjDebugPayloadGetList**](CommonResponseObjDebugPayloadGetList.md) | | +**obj_debug** | [**CommonResponseObjDebug**](CommonResponseObjDebug.md) | | [optional] **m_payload** | [**ApikeyGetListV1ResponseMPayload**](ApikeyGetListV1ResponseMPayload.md) | | ## Example diff --git a/docs/ApikeyGetListV1ResponseMPayload.md b/docs/ApikeyGetListV1ResponseMPayload.md index 9f20e25c5..6f636b3ec 100644 --- a/docs/ApikeyGetListV1ResponseMPayload.md +++ b/docs/ApikeyGetListV1ResponseMPayload.md @@ -6,6 +6,8 @@ Payload for GET /1/object/apikey/getList Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**i_row_returned** | **int** | The number of rows returned | +**i_row_filtered** | **int** | The number of rows matching your filters (if any) or the total number of rows | **a_obj_apikey** | [**List[ApikeyListElement]**](ApikeyListElement.md) | | ## Example diff --git a/docs/ApikeyGetObjectV2Response.md b/docs/ApikeyGetObjectV2Response.md index 7c047c9ef..d0524f64f 100644 --- a/docs/ApikeyGetObjectV2Response.md +++ b/docs/ApikeyGetObjectV2Response.md @@ -6,6 +6,8 @@ Response for GET /2/object/apikey/{pkiApikeyID} Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**obj_debug_payload** | [**CommonResponseObjDebugPayload**](CommonResponseObjDebugPayload.md) | | +**obj_debug** | [**CommonResponseObjDebug**](CommonResponseObjDebug.md) | | [optional] **m_payload** | [**ApikeyGetObjectV2ResponseMPayload**](ApikeyGetObjectV2ResponseMPayload.md) | | ## Example diff --git a/docs/ApikeyGetObjectV2ResponseMPayload.md b/docs/ApikeyGetObjectV2ResponseMPayload.md index 6a302c2ca..912d7895a 100644 --- a/docs/ApikeyGetObjectV2ResponseMPayload.md +++ b/docs/ApikeyGetObjectV2ResponseMPayload.md @@ -6,7 +6,7 @@ Payload for GET /2/object/apikey/{pkiApikeyID} Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**obj_apikey** | [**ApikeyResponse**](ApikeyResponse.md) | An Apikey Object and children to create a complete structure | +**obj_apikey** | [**ApikeyResponseCompound**](ApikeyResponseCompound.md) | | ## Example diff --git a/docs/ApikeyGetPermissionsV1Response.md b/docs/ApikeyGetPermissionsV1Response.md index 808b86a54..f6784ee60 100644 --- a/docs/ApikeyGetPermissionsV1Response.md +++ b/docs/ApikeyGetPermissionsV1Response.md @@ -6,6 +6,8 @@ Response for GET /1/object/apikey/{pkiApikeyID}/getPermissions Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**obj_debug_payload** | [**CommonResponseObjDebugPayload**](CommonResponseObjDebugPayload.md) | | +**obj_debug** | [**CommonResponseObjDebug**](CommonResponseObjDebug.md) | | [optional] **m_payload** | [**ApikeyGetPermissionsV1ResponseMPayload**](ApikeyGetPermissionsV1ResponseMPayload.md) | | ## Example diff --git a/docs/ApikeyGetSubnetsV1Response.md b/docs/ApikeyGetSubnetsV1Response.md index fb65acde4..122a93c9f 100644 --- a/docs/ApikeyGetSubnetsV1Response.md +++ b/docs/ApikeyGetSubnetsV1Response.md @@ -6,6 +6,8 @@ Response for GET /1/object/apikey/{pkiApikeyID}/getSubnets Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**obj_debug_payload** | [**CommonResponseObjDebugPayload**](CommonResponseObjDebugPayload.md) | | +**obj_debug** | [**CommonResponseObjDebug**](CommonResponseObjDebug.md) | | [optional] **m_payload** | [**ApikeyGetSubnetsV1ResponseMPayload**](ApikeyGetSubnetsV1ResponseMPayload.md) | | ## Example diff --git a/docs/ApikeyRegenerateV1Response.md b/docs/ApikeyRegenerateV1Response.md index acf231f15..fed59bfc6 100644 --- a/docs/ApikeyRegenerateV1Response.md +++ b/docs/ApikeyRegenerateV1Response.md @@ -6,6 +6,8 @@ Response for GET /1/object/apikey/{pkiApikeyID}/regenerate Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**obj_debug_payload** | [**CommonResponseObjDebugPayload**](CommonResponseObjDebugPayload.md) | | +**obj_debug** | [**CommonResponseObjDebug**](CommonResponseObjDebug.md) | | [optional] **m_payload** | [**ApikeyRegenerateV1ResponseMPayload**](ApikeyRegenerateV1ResponseMPayload.md) | | ## Example diff --git a/docs/ApikeyRegenerateV1ResponseMPayload.md b/docs/ApikeyRegenerateV1ResponseMPayload.md index 3c751e040..10f1f8270 100644 --- a/docs/ApikeyRegenerateV1ResponseMPayload.md +++ b/docs/ApikeyRegenerateV1ResponseMPayload.md @@ -6,7 +6,7 @@ Response for GET /1/object/apikey/{pkiApikeyID}/regenerate Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**obj_apikey** | [**ApikeyResponse**](ApikeyResponse.md) | An Apikey Object and children to create a complete structure | +**obj_apikey** | [**ApikeyResponseCompound**](ApikeyResponseCompound.md) | | ## Example diff --git a/docs/AttachmentGetAttachmentlogsV1Response.md b/docs/AttachmentGetAttachmentlogsV1Response.md index 9eef40a28..7b807008d 100644 --- a/docs/AttachmentGetAttachmentlogsV1Response.md +++ b/docs/AttachmentGetAttachmentlogsV1Response.md @@ -6,6 +6,8 @@ Response for GET /1/object/attachment/{pkiAttachmentID}/getAttachmentlogs Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**obj_debug_payload** | [**CommonResponseObjDebugPayload**](CommonResponseObjDebugPayload.md) | | +**obj_debug** | [**CommonResponseObjDebug**](CommonResponseObjDebug.md) | | [optional] **m_payload** | [**AttachmentGetAttachmentlogsV1ResponseMPayload**](AttachmentGetAttachmentlogsV1ResponseMPayload.md) | | ## Example diff --git a/docs/AttachmentResponseCompound.md b/docs/AttachmentResponseCompound.md index 71fe9ea2b..daadd84c0 100644 --- a/docs/AttachmentResponseCompound.md +++ b/docs/AttachmentResponseCompound.md @@ -6,6 +6,67 @@ A Attachment Object Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**pki_attachment_id** | **int** | The unique ID of the Attachment. | +**fki_computer_id** | **int** | The unique ID of the Computer | [optional] +**fki_adjustment_id** | **int** | The unique ID of the Adjustment | [optional] +**fki_agent_id** | **int** | The unique ID of the Agent. | [optional] +**fki_bankaccount_id** | **int** | The unique ID of the Bankaccount | [optional] +**fki_broker_id** | **int** | The unique ID of the Broker. | [optional] +**fki_commissionadvance_id** | **int** | The unique ID of the Commissionadvance | [optional] +**fki_communication_id** | **int** | The unique ID of the Communication. | [optional] +**fki_customer_id** | **int** | The unique ID of the Customer. | [optional] +**fki_customertemplate_id** | **int** | The unique ID of the Customertemplate | [optional] +**fki_deposit_id** | **int** | The unique ID of the Deposit | [optional] +**fki_deposittransitcheque_id** | **int** | The unique ID of the Deposittransitcheque | [optional] +**fki_electronicfundstransfer_id** | **int** | The unique ID of the Electronicfundstransfer | [optional] +**fki_employee_id** | **int** | The unique ID of the Employee. | [optional] +**fki_externalbroker_id** | **int** | The unique ID of the Externalbroker. | [optional] +**fki_ezcomadvanceserver_id** | **int** | The unique ID of the Ezcomadvanceserver | [optional] +**fki_ezcomcompany_id** | **int** | The unique ID of the Ezcomcompany | [optional] +**fki_ezsigndocument_id** | **int** | The unique ID of the Ezsigndocument | [optional] +**fki_ghacqcontract_id** | **int** | The unique ID of the Ghacqcontract | [optional] +**fki_inscription_id** | **int** | The unique ID of the Inscription. | [optional] +**fki_inscriptiontemp_id** | **int** | The unique ID of the Inscriptiontemp | [optional] +**fki_inscriptionnotauthenticated_id** | **int** | The unique ID of the Inscriptionnotauthenticated. | [optional] +**fki_invoice_id** | **int** | The unique ID of the Invoice. | [optional] +**fki_buyercontract_id** | **int** | The unique ID of the Buyercontract | [optional] +**fki_franchisebroker_id** | **int** | The unique ID of the Franchisebroker | [optional] +**fki_franchiseagence_id** | **int** | The unique ID of the Franchiseagence | [optional] +**fki_franchiseoffice_id** | **int** | The unique ID of the Franchisereoffice | [optional] +**fki_franchisefranchise_id** | **int** | The unique ID of the Franchisefranchise | [optional] +**fki_franchisecomplaint_id** | **int** | The unique ID of the Franchisecomplaint | [optional] +**fki_lead_id** | **int** | The unique ID of the Lead | [optional] +**fki_marketingprogram_id** | **int** | The unique ID of the Marketingprogram | [optional] +**fki_marketingfollow_id** | **int** | The unique ID of the Marketingfollow | [optional] +**fki_notary_id** | **int** | The unique ID of the Notary. | [optional] +**fki_officetaxreport_id** | **int** | The unique ID of the Officetaxreport | [optional] +**fki_otherincome_id** | **int** | The unique ID of the Otherincome | [optional] +**fki_paymentpreparation_id** | **int** | The unique ID of the Paymentpreparation | [optional] +**fki_purchase_id** | **int** | The unique ID of the Purchase | [optional] +**fki_salary_id** | **int** | The unique ID of the Salary | [optional] +**fki_supplier_id** | **int** | The unique ID of the Supplier. | [optional] +**fki_tranqcontract_id** | **int** | The unique ID of the Tranqcontract | [optional] +**fki_template_id** | **int** | The unique ID of the Template | [optional] +**fki_inscriptionchecklist_id** | **int** | The unique ID of the Inscriptionchecklist | [optional] +**fki_folder_id** | **int** | The unique ID of the Folder | [optional] +**fki_rejectedoffertopurchase_id** | **int** | The unique ID of the Rejectedoffertopurchase | [optional] +**fki_disclosure_id** | **int** | The unique ID of the Disclosure | [optional] +**fki_reconciliation_id** | **int** | The unique ID of the Reconciliation | [optional] +**fki_ezsigndocument_id_reference** | **int** | The unique ID of the Ezsigndocument | [optional] +**e_attachment_documenttype** | [**FieldEAttachmentDocumenttype**](FieldEAttachmentDocumenttype.md) | | +**s_attachment_name** | **str** | The name of the Attachment | +**e_attachment_privacy** | [**FieldEAttachmentPrivacy**](FieldEAttachmentPrivacy.md) | | +**fki_user_id_specific** | **int** | The unique ID of the User | [optional] +**e_attachment_type** | [**FieldEAttachmentType**](FieldEAttachmentType.md) | | +**i_attachment_size** | **int** | The size of the Attachment | +**i_attachment_ed_mmoduleflag** | **int** | The edmmoduleflag of the Attachment | [optional] +**s_attachment_md5** | **str** | The md5 of the Attachment | +**b_attachment_deleted** | **bool** | Whether if it's deleted | +**b_attachment_valid** | **bool** | Whether if it's valid | +**e_attachment_verified** | [**FieldEAttachmentVerified**](FieldEAttachmentVerified.md) | | +**t_attachment_rejectioncomment** | **str** | The rejectioncomment of the Attachment | [optional] +**fki_user_id_owner** | **int** | The unique ID of the User | [optional] +**obj_audit** | [**CommonAudit**](CommonAudit.md) | | [optional] ## Example diff --git a/docs/AttachmentlogResponseCompound.md b/docs/AttachmentlogResponseCompound.md index c538ac8cd..b14fbbf56 100644 --- a/docs/AttachmentlogResponseCompound.md +++ b/docs/AttachmentlogResponseCompound.md @@ -6,6 +6,11 @@ A Attachmentlog Object Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**fki_attachment_id** | **int** | The unique ID of the Attachment. | +**fki_user_id** | **int** | The unique ID of the User | +**dt_attachmentlog_datetime** | **str** | The created date | +**e_attachmentlog_type** | [**FieldEAttachmentlogType**](FieldEAttachmentlogType.md) | | +**s_attachmentlog_detail** | **str** | The additionnal detail | [optional] ## Example diff --git a/docs/AuthenticationexternalCreateObjectV1Response.md b/docs/AuthenticationexternalCreateObjectV1Response.md index f1050c339..64bbbf100 100644 --- a/docs/AuthenticationexternalCreateObjectV1Response.md +++ b/docs/AuthenticationexternalCreateObjectV1Response.md @@ -6,6 +6,8 @@ Response for POST /1/object/authenticationexternal Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**obj_debug_payload** | [**CommonResponseObjDebugPayload**](CommonResponseObjDebugPayload.md) | | +**obj_debug** | [**CommonResponseObjDebug**](CommonResponseObjDebug.md) | | [optional] **m_payload** | [**AuthenticationexternalCreateObjectV1ResponseMPayload**](AuthenticationexternalCreateObjectV1ResponseMPayload.md) | | ## Example diff --git a/docs/AuthenticationexternalDeleteObjectV1Response.md b/docs/AuthenticationexternalDeleteObjectV1Response.md index 4e9cbdeea..19494f34e 100644 --- a/docs/AuthenticationexternalDeleteObjectV1Response.md +++ b/docs/AuthenticationexternalDeleteObjectV1Response.md @@ -6,6 +6,8 @@ Response for DELETE /1/object/authenticationexternal/{pkiAuthenticationexternalI Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**obj_debug_payload** | [**CommonResponseObjDebugPayload**](CommonResponseObjDebugPayload.md) | | +**obj_debug** | [**CommonResponseObjDebug**](CommonResponseObjDebug.md) | | [optional] ## Example diff --git a/docs/AuthenticationexternalEditObjectV1Response.md b/docs/AuthenticationexternalEditObjectV1Response.md index c0650cb97..5f038db6b 100644 --- a/docs/AuthenticationexternalEditObjectV1Response.md +++ b/docs/AuthenticationexternalEditObjectV1Response.md @@ -6,6 +6,8 @@ Response for PUT /1/object/authenticationexternal/{pkiAuthenticationexternalID} Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**obj_debug_payload** | [**CommonResponseObjDebugPayload**](CommonResponseObjDebugPayload.md) | | +**obj_debug** | [**CommonResponseObjDebug**](CommonResponseObjDebug.md) | | [optional] ## Example diff --git a/docs/AuthenticationexternalGetAutocompleteV2Response.md b/docs/AuthenticationexternalGetAutocompleteV2Response.md index f8a2bfafd..5b7a51db0 100644 --- a/docs/AuthenticationexternalGetAutocompleteV2Response.md +++ b/docs/AuthenticationexternalGetAutocompleteV2Response.md @@ -6,6 +6,8 @@ Response for GET /2/object/authenticationexternal/getAutocomplete Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**obj_debug_payload** | [**CommonResponseObjDebugPayload**](CommonResponseObjDebugPayload.md) | | +**obj_debug** | [**CommonResponseObjDebug**](CommonResponseObjDebug.md) | | [optional] **m_payload** | [**AuthenticationexternalGetAutocompleteV2ResponseMPayload**](AuthenticationexternalGetAutocompleteV2ResponseMPayload.md) | | ## Example diff --git a/docs/AuthenticationexternalGetListV1Response.md b/docs/AuthenticationexternalGetListV1Response.md index 75eaa6769..7823c9e35 100644 --- a/docs/AuthenticationexternalGetListV1Response.md +++ b/docs/AuthenticationexternalGetListV1Response.md @@ -6,6 +6,8 @@ Response for GET /1/object/authenticationexternal/getList Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**obj_debug_payload** | [**CommonResponseObjDebugPayloadGetList**](CommonResponseObjDebugPayloadGetList.md) | | +**obj_debug** | [**CommonResponseObjDebug**](CommonResponseObjDebug.md) | | [optional] **m_payload** | [**AuthenticationexternalGetListV1ResponseMPayload**](AuthenticationexternalGetListV1ResponseMPayload.md) | | ## Example diff --git a/docs/AuthenticationexternalGetListV1ResponseMPayload.md b/docs/AuthenticationexternalGetListV1ResponseMPayload.md index 7ca7ec670..360d482cc 100644 --- a/docs/AuthenticationexternalGetListV1ResponseMPayload.md +++ b/docs/AuthenticationexternalGetListV1ResponseMPayload.md @@ -6,6 +6,8 @@ Payload for GET /1/object/authenticationexternal/getList Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**i_row_returned** | **int** | The number of rows returned | +**i_row_filtered** | **int** | The number of rows matching your filters (if any) or the total number of rows | **a_obj_authenticationexternal** | [**List[AuthenticationexternalListElement]**](AuthenticationexternalListElement.md) | | ## Example diff --git a/docs/AuthenticationexternalGetObjectV2Response.md b/docs/AuthenticationexternalGetObjectV2Response.md index 905858524..c15b1e8a7 100644 --- a/docs/AuthenticationexternalGetObjectV2Response.md +++ b/docs/AuthenticationexternalGetObjectV2Response.md @@ -6,6 +6,8 @@ Response for GET /2/object/authenticationexternal/{pkiAuthenticationexternalID} Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**obj_debug_payload** | [**CommonResponseObjDebugPayload**](CommonResponseObjDebugPayload.md) | | +**obj_debug** | [**CommonResponseObjDebug**](CommonResponseObjDebug.md) | | [optional] **m_payload** | [**AuthenticationexternalGetObjectV2ResponseMPayload**](AuthenticationexternalGetObjectV2ResponseMPayload.md) | | ## Example diff --git a/docs/AuthenticationexternalRequestCompound.md b/docs/AuthenticationexternalRequestCompound.md index 51279be9a..7435947e0 100644 --- a/docs/AuthenticationexternalRequestCompound.md +++ b/docs/AuthenticationexternalRequestCompound.md @@ -6,6 +6,9 @@ A Authenticationexternal Object and children Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**pki_authenticationexternal_id** | **int** | The unique ID of the Authenticationexternal | [optional] +**s_authenticationexternal_description** | **str** | The description of the Authenticationexternal | +**e_authenticationexternal_type** | [**FieldEAuthenticationexternalType**](FieldEAuthenticationexternalType.md) | | ## Example diff --git a/docs/AuthenticationexternalResetAuthorizationV1Response.md b/docs/AuthenticationexternalResetAuthorizationV1Response.md index 959302604..2b3d5b73e 100644 --- a/docs/AuthenticationexternalResetAuthorizationV1Response.md +++ b/docs/AuthenticationexternalResetAuthorizationV1Response.md @@ -6,6 +6,8 @@ Response for POST /1/object/authenticationexternal/{pkiAuthenticationexternalID} Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**obj_debug_payload** | [**CommonResponseObjDebugPayload**](CommonResponseObjDebugPayload.md) | | +**obj_debug** | [**CommonResponseObjDebug**](CommonResponseObjDebug.md) | | [optional] ## Example diff --git a/docs/AuthenticationexternalResponseCompound.md b/docs/AuthenticationexternalResponseCompound.md index e64c5a79c..f000e6e36 100644 --- a/docs/AuthenticationexternalResponseCompound.md +++ b/docs/AuthenticationexternalResponseCompound.md @@ -6,6 +6,12 @@ A Authenticationexternal Object Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**pki_authenticationexternal_id** | **int** | The unique ID of the Authenticationexternal | +**s_authenticationexternal_description** | **str** | The description of the Authenticationexternal | +**e_authenticationexternal_type** | [**FieldEAuthenticationexternalType**](FieldEAuthenticationexternalType.md) | | +**b_authenticationexternal_connected** | **bool** | Whether the Authenticationexternal has been connected or not | [optional] +**s_authenticationexternal_authorizationurl** | **str** | The url to authorize the Authenticationexternal | [optional] +**obj_audit** | [**CommonAudit**](CommonAudit.md) | | ## Example diff --git a/docs/BillingentityexternalGenerateFederationTokenV1Response.md b/docs/BillingentityexternalGenerateFederationTokenV1Response.md index 2fd0eec19..b28b0ad4d 100644 --- a/docs/BillingentityexternalGenerateFederationTokenV1Response.md +++ b/docs/BillingentityexternalGenerateFederationTokenV1Response.md @@ -6,6 +6,8 @@ Response for POST /1/object/billingentityexternal/{pkiBillingentityexternalID}/g Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**obj_debug_payload** | [**CommonResponseObjDebugPayload**](CommonResponseObjDebugPayload.md) | | +**obj_debug** | [**CommonResponseObjDebug**](CommonResponseObjDebug.md) | | [optional] **m_payload** | [**BillingentityexternalGenerateFederationTokenV1ResponseMPayload**](BillingentityexternalGenerateFederationTokenV1ResponseMPayload.md) | | ## Example diff --git a/docs/BillingentityexternalGetAutocompleteV2Response.md b/docs/BillingentityexternalGetAutocompleteV2Response.md index c2391d166..6604e0ac4 100644 --- a/docs/BillingentityexternalGetAutocompleteV2Response.md +++ b/docs/BillingentityexternalGetAutocompleteV2Response.md @@ -6,6 +6,8 @@ Response for GET /2/object/billingentityexternal/getAutocomplete Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**obj_debug_payload** | [**CommonResponseObjDebugPayload**](CommonResponseObjDebugPayload.md) | | +**obj_debug** | [**CommonResponseObjDebug**](CommonResponseObjDebug.md) | | [optional] **m_payload** | [**BillingentityexternalGetAutocompleteV2ResponseMPayload**](BillingentityexternalGetAutocompleteV2ResponseMPayload.md) | | ## Example diff --git a/docs/BillingentityinternalCreateObjectV1Response.md b/docs/BillingentityinternalCreateObjectV1Response.md index d80ce9ddc..18d012539 100644 --- a/docs/BillingentityinternalCreateObjectV1Response.md +++ b/docs/BillingentityinternalCreateObjectV1Response.md @@ -6,6 +6,8 @@ Response for POST /1/object/billingentityinternal Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**obj_debug_payload** | [**CommonResponseObjDebugPayload**](CommonResponseObjDebugPayload.md) | | +**obj_debug** | [**CommonResponseObjDebug**](CommonResponseObjDebug.md) | | [optional] **m_payload** | [**BillingentityinternalCreateObjectV1ResponseMPayload**](BillingentityinternalCreateObjectV1ResponseMPayload.md) | | ## Example diff --git a/docs/BillingentityinternalEditObjectV1Response.md b/docs/BillingentityinternalEditObjectV1Response.md index a93e89232..36d8b1ddd 100644 --- a/docs/BillingentityinternalEditObjectV1Response.md +++ b/docs/BillingentityinternalEditObjectV1Response.md @@ -6,6 +6,8 @@ Response for PUT /1/object/billingentityinternal/{pkiBillingentityinternalID} Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**obj_debug_payload** | [**CommonResponseObjDebugPayload**](CommonResponseObjDebugPayload.md) | | +**obj_debug** | [**CommonResponseObjDebug**](CommonResponseObjDebug.md) | | [optional] ## Example diff --git a/docs/BillingentityinternalGetAutocompleteV2Response.md b/docs/BillingentityinternalGetAutocompleteV2Response.md index 61e85e4da..aa562d5f4 100644 --- a/docs/BillingentityinternalGetAutocompleteV2Response.md +++ b/docs/BillingentityinternalGetAutocompleteV2Response.md @@ -6,6 +6,8 @@ Response for GET /2/object/billingentityinternal/getAutocomplete Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**obj_debug_payload** | [**CommonResponseObjDebugPayload**](CommonResponseObjDebugPayload.md) | | +**obj_debug** | [**CommonResponseObjDebug**](CommonResponseObjDebug.md) | | [optional] **m_payload** | [**BillingentityinternalGetAutocompleteV2ResponseMPayload**](BillingentityinternalGetAutocompleteV2ResponseMPayload.md) | | ## Example diff --git a/docs/BillingentityinternalGetListV1Response.md b/docs/BillingentityinternalGetListV1Response.md index 828274836..356f8c3a7 100644 --- a/docs/BillingentityinternalGetListV1Response.md +++ b/docs/BillingentityinternalGetListV1Response.md @@ -6,6 +6,8 @@ Response for GET /1/object/billingentityinternal/getList Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**obj_debug_payload** | [**CommonResponseObjDebugPayloadGetList**](CommonResponseObjDebugPayloadGetList.md) | | +**obj_debug** | [**CommonResponseObjDebug**](CommonResponseObjDebug.md) | | [optional] **m_payload** | [**BillingentityinternalGetListV1ResponseMPayload**](BillingentityinternalGetListV1ResponseMPayload.md) | | ## Example diff --git a/docs/BillingentityinternalGetListV1ResponseMPayload.md b/docs/BillingentityinternalGetListV1ResponseMPayload.md index 5f675cdf7..e266c11d4 100644 --- a/docs/BillingentityinternalGetListV1ResponseMPayload.md +++ b/docs/BillingentityinternalGetListV1ResponseMPayload.md @@ -6,6 +6,8 @@ Payload for GET /1/object/billingentityinternal/getList Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**i_row_returned** | **int** | The number of rows returned | +**i_row_filtered** | **int** | The number of rows matching your filters (if any) or the total number of rows | **a_obj_billingentityinternal** | [**List[BillingentityinternalListElement]**](BillingentityinternalListElement.md) | | ## Example diff --git a/docs/BillingentityinternalGetObjectV2Response.md b/docs/BillingentityinternalGetObjectV2Response.md index 07b70ea11..1f85c53b5 100644 --- a/docs/BillingentityinternalGetObjectV2Response.md +++ b/docs/BillingentityinternalGetObjectV2Response.md @@ -6,6 +6,8 @@ Response for GET /2/object/billingentityinternal/{pkiBillingentityinternalID} Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**obj_debug_payload** | [**CommonResponseObjDebugPayload**](CommonResponseObjDebugPayload.md) | | +**obj_debug** | [**CommonResponseObjDebug**](CommonResponseObjDebug.md) | | [optional] **m_payload** | [**BillingentityinternalGetObjectV2ResponseMPayload**](BillingentityinternalGetObjectV2ResponseMPayload.md) | | ## Example diff --git a/docs/BillingentityinternalRequestCompound.md b/docs/BillingentityinternalRequestCompound.md index 919c39eb1..1795a5c97 100644 --- a/docs/BillingentityinternalRequestCompound.md +++ b/docs/BillingentityinternalRequestCompound.md @@ -6,6 +6,8 @@ A Billingentityinternal Object and children Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**pki_billingentityinternal_id** | **int** | The unique ID of the Billingentityinternal. | [optional] +**obj_billingentityinternal_description** | [**MultilingualBillingentityinternalDescription**](MultilingualBillingentityinternalDescription.md) | | **a_obj_billingentityinternalproduct** | [**List[BillingentityinternalproductRequestCompound]**](BillingentityinternalproductRequestCompound.md) | | ## Example diff --git a/docs/BillingentityinternalResponseCompound.md b/docs/BillingentityinternalResponseCompound.md index 0afc87382..8b563d6f5 100644 --- a/docs/BillingentityinternalResponseCompound.md +++ b/docs/BillingentityinternalResponseCompound.md @@ -6,6 +6,8 @@ A Billingentityinternal Object Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**pki_billingentityinternal_id** | **int** | The unique ID of the Billingentityinternal. | +**obj_billingentityinternal_description** | [**MultilingualBillingentityinternalDescription**](MultilingualBillingentityinternalDescription.md) | | **a_obj_billingentityinternalproduct** | [**List[BillingentityinternalproductResponseCompound]**](BillingentityinternalproductResponseCompound.md) | | ## Example diff --git a/docs/BillingentityinternalproductRequestCompound.md b/docs/BillingentityinternalproductRequestCompound.md index ec36ce42e..8e9669e56 100644 --- a/docs/BillingentityinternalproductRequestCompound.md +++ b/docs/BillingentityinternalproductRequestCompound.md @@ -6,6 +6,9 @@ A Billingentityinternalproduct Object and children Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**pki_billingentityinternalproduct_id** | **int** | The unique ID of the Billingentityinternalproduct | [optional] +**fki_ezmaxproduct_id** | **int** | The unique ID of the Ezmaxproduct | +**fki_billingentityexternal_id** | **int** | The unique ID of the Billingentityexternal | ## Example diff --git a/docs/BillingentityinternalproductResponseCompound.md b/docs/BillingentityinternalproductResponseCompound.md index ae099e759..b208e10a7 100644 --- a/docs/BillingentityinternalproductResponseCompound.md +++ b/docs/BillingentityinternalproductResponseCompound.md @@ -6,6 +6,13 @@ A Billingentityinternalproduct Object Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**pki_billingentityinternalproduct_id** | **int** | The unique ID of the Billingentityinternalproduct | +**fki_billingentityinternal_id** | **int** | The unique ID of the Billingentityinternal. | +**s_billingentityinternal_description_x** | **str** | The description of the Billingentityinternal in the language of the requester | +**fki_ezmaxproduct_id** | **int** | The unique ID of the Ezmaxproduct | +**s_ezmaxproduct_description_x** | **str** | The description of the Ezmaxproduct in the language of the requester | +**fki_billingentityexternal_id** | **int** | The unique ID of the Billingentityexternal | +**s_billingentityexternal_description** | **str** | The description of the Billingentityexternal | ## Example diff --git a/docs/BrandingCreateObjectV2Response.md b/docs/BrandingCreateObjectV2Response.md index 72d39d6a8..fdf76a0fc 100644 --- a/docs/BrandingCreateObjectV2Response.md +++ b/docs/BrandingCreateObjectV2Response.md @@ -6,6 +6,8 @@ Response for POST /2/object/branding Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**obj_debug_payload** | [**CommonResponseObjDebugPayload**](CommonResponseObjDebugPayload.md) | | +**obj_debug** | [**CommonResponseObjDebug**](CommonResponseObjDebug.md) | | [optional] **m_payload** | [**BrandingCreateObjectV2ResponseMPayload**](BrandingCreateObjectV2ResponseMPayload.md) | | ## Example diff --git a/docs/BrandingEditObjectV2Response.md b/docs/BrandingEditObjectV2Response.md index c0a0f336d..1b5602838 100644 --- a/docs/BrandingEditObjectV2Response.md +++ b/docs/BrandingEditObjectV2Response.md @@ -6,6 +6,8 @@ Response for PUT /2/object/branding/{pkiBrandingID} Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**obj_debug_payload** | [**CommonResponseObjDebugPayload**](CommonResponseObjDebugPayload.md) | | +**obj_debug** | [**CommonResponseObjDebug**](CommonResponseObjDebug.md) | | [optional] ## Example diff --git a/docs/BrandingGetAutocompleteV2Response.md b/docs/BrandingGetAutocompleteV2Response.md index dfd985730..def6f0c40 100644 --- a/docs/BrandingGetAutocompleteV2Response.md +++ b/docs/BrandingGetAutocompleteV2Response.md @@ -6,6 +6,8 @@ Response for GET /2/object/branding/getAutocomplete Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**obj_debug_payload** | [**CommonResponseObjDebugPayload**](CommonResponseObjDebugPayload.md) | | +**obj_debug** | [**CommonResponseObjDebug**](CommonResponseObjDebug.md) | | [optional] **m_payload** | [**BrandingGetAutocompleteV2ResponseMPayload**](BrandingGetAutocompleteV2ResponseMPayload.md) | | ## Example diff --git a/docs/BrandingGetListV1Response.md b/docs/BrandingGetListV1Response.md index ce8948ef4..432184ea9 100644 --- a/docs/BrandingGetListV1Response.md +++ b/docs/BrandingGetListV1Response.md @@ -6,6 +6,8 @@ Response for GET /1/object/branding/getList Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**obj_debug_payload** | [**CommonResponseObjDebugPayloadGetList**](CommonResponseObjDebugPayloadGetList.md) | | +**obj_debug** | [**CommonResponseObjDebug**](CommonResponseObjDebug.md) | | [optional] **m_payload** | [**BrandingGetListV1ResponseMPayload**](BrandingGetListV1ResponseMPayload.md) | | ## Example diff --git a/docs/BrandingGetListV1ResponseMPayload.md b/docs/BrandingGetListV1ResponseMPayload.md index 2b3280c98..fc6850034 100644 --- a/docs/BrandingGetListV1ResponseMPayload.md +++ b/docs/BrandingGetListV1ResponseMPayload.md @@ -6,6 +6,8 @@ Payload for GET /1/object/branding/getList Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**i_row_returned** | **int** | The number of rows returned | +**i_row_filtered** | **int** | The number of rows matching your filters (if any) or the total number of rows | **a_obj_branding** | [**List[BrandingListElement]**](BrandingListElement.md) | | ## Example diff --git a/docs/BrandingGetObjectV3Response.md b/docs/BrandingGetObjectV3Response.md index 9ebe05703..ec85f4c03 100644 --- a/docs/BrandingGetObjectV3Response.md +++ b/docs/BrandingGetObjectV3Response.md @@ -6,6 +6,8 @@ Response for GET /3/object/branding/{pkiBrandingID} Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**obj_debug_payload** | [**CommonResponseObjDebugPayload**](CommonResponseObjDebugPayload.md) | | +**obj_debug** | [**CommonResponseObjDebug**](CommonResponseObjDebug.md) | | [optional] **m_payload** | [**BrandingGetObjectV3ResponseMPayload**](BrandingGetObjectV3ResponseMPayload.md) | | ## Example diff --git a/docs/BrandingRequestCompoundV2.md b/docs/BrandingRequestCompoundV2.md index c4042da5d..69a50b96d 100644 --- a/docs/BrandingRequestCompoundV2.md +++ b/docs/BrandingRequestCompoundV2.md @@ -6,6 +6,15 @@ A Branding Object and children Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**pki_branding_id** | **int** | The unique ID of the Branding | [optional] +**obj_branding_description** | [**MultilingualBrandingDescription**](MultilingualBrandingDescription.md) | | +**e_branding_logo** | [**FieldEBrandingLogo**](FieldEBrandingLogo.md) | | +**e_branding_alignlogo** | [**FieldEBrandingAlignlogo**](FieldEBrandingAlignlogo.md) | | [optional] +**s_branding_base64** | **bytearray** | The Base64 encoded binary content of the branding logo. This need to match image type selected in eBrandingLogo if you supply an image. If you select 'Default', the logo will be deleted and the default one will be used. | [optional] +**i_branding_color** | **int** | The primary color. This is a RGB color converted into integer | +**s_branding_name** | **str** | The name of the Branding This value will only be set if you wish to overwrite the default name. If you want to keep the default name, leave this property empty | [optional] +**s_email_address** | **str** | The email address. | [optional] +**b_branding_isactive** | **bool** | Whether the Branding is active or not | ## Example diff --git a/docs/BrandingResponseCompoundV3.md b/docs/BrandingResponseCompoundV3.md index 4e9728c4e..349e4d76b 100644 --- a/docs/BrandingResponseCompoundV3.md +++ b/docs/BrandingResponseCompoundV3.md @@ -6,6 +6,16 @@ A Branding Object Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**pki_branding_id** | **int** | The unique ID of the Branding | +**fki_email_id** | **int** | The unique ID of the Email | [optional] +**obj_branding_description** | [**MultilingualBrandingDescription**](MultilingualBrandingDescription.md) | | +**s_branding_description_x** | **str** | The Description of the Branding in the language of the requester | +**s_branding_name** | **str** | The name of the Branding This value will only be set if you wish to overwrite the default name. If you want to keep the default name, leave this property empty | [optional] +**s_email_address** | **str** | The email address. | [optional] +**e_branding_logo** | [**FieldEBrandingLogo**](FieldEBrandingLogo.md) | | +**e_branding_alignlogo** | [**FieldEBrandingAlignlogo**](FieldEBrandingAlignlogo.md) | | +**i_branding_color** | **int** | The primary color. This is a RGB color converted into integer | +**b_branding_isactive** | **bool** | Whether the Branding is active or not | **s_branding_logourl** | **str** | The url of the picture used as logo in the Branding | [optional] **s_branding_logoemailurl** | **str** | The url of the picture used in email as logo in the Branding | [optional] **s_branding_logointerfaceurl** | **str** | The url of the picture used as logo in the Branding | [optional] diff --git a/docs/BuyercontractGetCommunicationCountV1Response.md b/docs/BuyercontractGetCommunicationCountV1Response.md index 81f65cd91..fbd3eb934 100644 --- a/docs/BuyercontractGetCommunicationCountV1Response.md +++ b/docs/BuyercontractGetCommunicationCountV1Response.md @@ -6,6 +6,8 @@ Response for GET /1/object/buyercontract/{pkiBuyercontractID}/getCommunicationCo Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**obj_debug_payload** | [**CommonResponseObjDebugPayload**](CommonResponseObjDebugPayload.md) | | +**obj_debug** | [**CommonResponseObjDebug**](CommonResponseObjDebug.md) | | [optional] **m_payload** | [**BuyercontractGetCommunicationCountV1ResponseMPayload**](BuyercontractGetCommunicationCountV1ResponseMPayload.md) | | ## Example diff --git a/docs/BuyercontractGetCommunicationListV1Response.md b/docs/BuyercontractGetCommunicationListV1Response.md index cc60b0b20..4ab939bf4 100644 --- a/docs/BuyercontractGetCommunicationListV1Response.md +++ b/docs/BuyercontractGetCommunicationListV1Response.md @@ -6,6 +6,8 @@ Response for GET /1/object/buyercontract/{pkiBuyercontractID}/getCommunicationLi Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**obj_debug_payload** | [**CommonResponseObjDebugPayloadGetList**](CommonResponseObjDebugPayloadGetList.md) | | +**obj_debug** | [**CommonResponseObjDebug**](CommonResponseObjDebug.md) | | [optional] **m_payload** | [**BuyercontractGetCommunicationListV1ResponseMPayload**](BuyercontractGetCommunicationListV1ResponseMPayload.md) | | ## Example diff --git a/docs/BuyercontractGetCommunicationrecipientsV1Response.md b/docs/BuyercontractGetCommunicationrecipientsV1Response.md index dd66d4a6d..c8e04472f 100644 --- a/docs/BuyercontractGetCommunicationrecipientsV1Response.md +++ b/docs/BuyercontractGetCommunicationrecipientsV1Response.md @@ -6,6 +6,8 @@ Response for GET /1/object/buyercontract/{pkiBuyercontractID}/getCommunicationre Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**obj_debug_payload** | [**CommonResponseObjDebugPayload**](CommonResponseObjDebugPayload.md) | | +**obj_debug** | [**CommonResponseObjDebug**](CommonResponseObjDebug.md) | | [optional] **m_payload** | [**BuyercontractGetCommunicationrecipientsV1ResponseMPayload**](BuyercontractGetCommunicationrecipientsV1ResponseMPayload.md) | | ## Example diff --git a/docs/BuyercontractGetCommunicationsendersV1Response.md b/docs/BuyercontractGetCommunicationsendersV1Response.md index 07100b3ee..73e839ec0 100644 --- a/docs/BuyercontractGetCommunicationsendersV1Response.md +++ b/docs/BuyercontractGetCommunicationsendersV1Response.md @@ -6,6 +6,8 @@ Response for GET /1/object/buyercontract/{pkiBuyercontractID}/getCommunicationre Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**obj_debug_payload** | [**CommonResponseObjDebugPayload**](CommonResponseObjDebugPayload.md) | | +**obj_debug** | [**CommonResponseObjDebug**](CommonResponseObjDebug.md) | | [optional] **m_payload** | [**BuyercontractGetCommunicationsendersV1ResponseMPayload**](BuyercontractGetCommunicationsendersV1ResponseMPayload.md) | | ## Example diff --git a/docs/ClonehistoryGetListV1Response.md b/docs/ClonehistoryGetListV1Response.md index 0e2583a81..bbcef4ecd 100644 --- a/docs/ClonehistoryGetListV1Response.md +++ b/docs/ClonehistoryGetListV1Response.md @@ -6,6 +6,8 @@ Response for GET /1/object/clonehistory/getList Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**obj_debug_payload** | [**CommonResponseObjDebugPayloadGetList**](CommonResponseObjDebugPayloadGetList.md) | | +**obj_debug** | [**CommonResponseObjDebug**](CommonResponseObjDebug.md) | | [optional] **m_payload** | [**ClonehistoryGetListV1ResponseMPayload**](ClonehistoryGetListV1ResponseMPayload.md) | | ## Example diff --git a/docs/ClonehistoryGetListV1ResponseMPayload.md b/docs/ClonehistoryGetListV1ResponseMPayload.md index 58a7ef6ad..b35d526be 100644 --- a/docs/ClonehistoryGetListV1ResponseMPayload.md +++ b/docs/ClonehistoryGetListV1ResponseMPayload.md @@ -6,6 +6,8 @@ Payload for GET /1/object/clonehistory/getList Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**i_row_returned** | **int** | The number of rows returned | +**i_row_filtered** | **int** | The number of rows matching your filters (if any) or the total number of rows | **a_obj_clonehistory** | [**List[ClonehistoryListElement]**](ClonehistoryListElement.md) | | ## Example diff --git a/docs/ColleagueRequestCompoundV2.md b/docs/ColleagueRequestCompoundV2.md index 670b91a9d..9f178295a 100644 --- a/docs/ColleagueRequestCompoundV2.md +++ b/docs/ColleagueRequestCompoundV2.md @@ -6,6 +6,20 @@ A Colleague Object and children Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**pki_colleague_id** | **int** | The unique ID of the Colleague | [optional] +**fki_user_id** | **int** | The unique ID of the User | +**fki_user_id_colleague** | **int** | The unique ID of the User | +**b_colleague_ezsignemail** | **bool** | Whether the email can be used by the cloning user in Ezsign | +**b_colleague_financial** | **bool** | Whether the cloning user has access to the financial | +**b_colleague_usecloneemail** | **bool** | Whether the cloning user has access to the cloned user email to send communications | +**b_colleague_attachment** | **bool** | Whether the cloning user has access to the attachment | +**b_colleague_canafe** | **bool** | Whether the cloning user has access to canafe | +**b_colleague_permission** | **bool** | Whether the cloning user copies the permission of the cloned user | +**b_colleague_realestatecompleted** | **bool** | Whether if the cloning user has access to the completed folders in real estate | +**dt_colleague_from** | **str** | The from of the Colleague | [optional] +**dt_colleague_to** | **str** | The to of the Colleague | [optional] +**e_colleague_ezsign** | [**FieldEColleagueEzsign**](FieldEColleagueEzsign.md) | | +**e_colleague_realestateinprogress** | [**FieldEColleagueRealestateinprogess**](FieldEColleagueRealestateinprogess.md) | | ## Example diff --git a/docs/ColleagueResponseCompoundV2.md b/docs/ColleagueResponseCompoundV2.md index 491f00390..48728c788 100644 --- a/docs/ColleagueResponseCompoundV2.md +++ b/docs/ColleagueResponseCompoundV2.md @@ -6,6 +6,22 @@ A Colleague Object Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**pki_colleague_id** | **int** | The unique ID of the Colleague | +**fki_user_id** | **int** | The unique ID of the User | +**fki_user_id_colleague** | **int** | The unique ID of the User | +**b_colleague_ezsignemail** | **bool** | Whether the email can be used by the cloning user in Ezsign | +**b_colleague_financial** | **bool** | Whether the cloning user has access to the financial | +**b_colleague_usecloneemail** | **bool** | Whether the cloning user has access to the cloned user email to send communications | +**b_colleague_attachment** | **bool** | Whether the cloning user has access to the attachment | +**b_colleague_canafe** | **bool** | Whether the cloning user has access to canafe | +**b_colleague_permission** | **bool** | Whether the cloning user copies the permission of the cloned user | +**b_colleague_realestatecompleted** | **bool** | Whether if the cloning user has access to the completed folders in real estate | +**dt_colleague_from** | **str** | The from of the Colleague | [optional] +**dt_colleague_to** | **str** | The to of the Colleague | [optional] +**e_colleague_ezsign** | [**FieldEColleagueEzsign**](FieldEColleagueEzsign.md) | | +**e_colleague_realestateinprogress** | [**FieldEColleagueRealestateinprogess**](FieldEColleagueRealestateinprogess.md) | | +**obj_user_name** | [**CustomUserNameResponse**](CustomUserNameResponse.md) | | +**obj_audit** | [**CommonAudit**](CommonAudit.md) | | ## Example diff --git a/docs/CommonGetReportV1Response.md b/docs/CommonGetReportV1Response.md index 484ff2d94..8afb87279 100644 --- a/docs/CommonGetReportV1Response.md +++ b/docs/CommonGetReportV1Response.md @@ -6,6 +6,8 @@ Response for POST /1/report/xxx/xxx and /1/module/report/getReportFromCache Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**obj_debug_payload** | [**CommonResponseObjDebugPayload**](CommonResponseObjDebugPayload.md) | | +**obj_debug** | [**CommonResponseObjDebug**](CommonResponseObjDebug.md) | | [optional] **m_payload** | [**CommonGetReportV1ResponseMPayload**](CommonGetReportV1ResponseMPayload.md) | | ## Example diff --git a/docs/CommonResponseErrorCreditcardValidation.md b/docs/CommonResponseErrorCreditcardValidation.md index 864f3f9a6..abb746320 100644 --- a/docs/CommonResponseErrorCreditcardValidation.md +++ b/docs/CommonResponseErrorCreditcardValidation.md @@ -6,6 +6,9 @@ Generic Error Message Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**s_error_message** | **str** | The message giving details about the error | +**e_error_code** | [**FieldEErrorCode**](FieldEErrorCode.md) | | +**a_s_error_messagedetail** | **List[str]** | More error message detail | [optional] **obj_creditcardtransactionresponse** | [**CustomCreditcardtransactionresponseResponse**](CustomCreditcardtransactionresponseResponse.md) | | [optional] ## Example diff --git a/docs/CommonResponseErrorEzsignformValidation.md b/docs/CommonResponseErrorEzsignformValidation.md index f4b99316b..957be6ec9 100644 --- a/docs/CommonResponseErrorEzsignformValidation.md +++ b/docs/CommonResponseErrorEzsignformValidation.md @@ -6,7 +6,10 @@ Generic Error Message Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**a_obj_ezsignformfielderror** | **List[CustomEzsignformfielderrorResponse]** | | +**s_error_message** | **str** | The message giving details about the error | +**e_error_code** | [**FieldEErrorCode**](FieldEErrorCode.md) | | +**a_s_error_messagedetail** | **List[str]** | More error message detail | [optional] +**a_obj_ezsignformfielderror** | [**List[CustomEzsignformfielderrorResponse]**](CustomEzsignformfielderrorResponse.md) | | ## Example diff --git a/docs/CommonResponseErrorSTemporaryFileUrl.md b/docs/CommonResponseErrorSTemporaryFileUrl.md index 1b6b8eb4b..a40d847b0 100644 --- a/docs/CommonResponseErrorSTemporaryFileUrl.md +++ b/docs/CommonResponseErrorSTemporaryFileUrl.md @@ -6,6 +6,9 @@ Generic Error Message Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**s_error_message** | **str** | The message giving details about the error | +**e_error_code** | [**FieldEErrorCode**](FieldEErrorCode.md) | | +**a_s_error_messagedetail** | **List[str]** | More error message detail | [optional] **s_temporary_file_url** | **str** | The Temporary File Url of the document that was uploaded. That url can be reused instead of uploading the file again. | [optional] ## Example diff --git a/docs/CommonResponseErrorTooManyRequests.md b/docs/CommonResponseErrorTooManyRequests.md index 176603dae..25b95e842 100644 --- a/docs/CommonResponseErrorTooManyRequests.md +++ b/docs/CommonResponseErrorTooManyRequests.md @@ -6,6 +6,9 @@ Generic Error Message Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**s_error_message** | **str** | The message giving details about the error | +**e_error_code** | [**FieldEErrorCode**](FieldEErrorCode.md) | | +**a_s_error_messagedetail** | **List[str]** | More error message detail | [optional] ## Example diff --git a/docs/CommonResponseErrorWrongFranchiseoffice.md b/docs/CommonResponseErrorWrongFranchiseoffice.md index cf5ba60d4..a0e8e67c2 100644 --- a/docs/CommonResponseErrorWrongFranchiseoffice.md +++ b/docs/CommonResponseErrorWrongFranchiseoffice.md @@ -6,6 +6,9 @@ Error Message when a Franchisebroker is not in this Franchiseoffice. Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**s_error_message** | **str** | The message giving details about the error | +**e_error_code** | [**FieldEErrorCode**](FieldEErrorCode.md) | | +**a_s_error_messagedetail** | **List[str]** | More error message detail | [optional] **fki_franchiseagence_id** | **int** | The unique ID of the Franchiseagence | **s_franchiseagence_name** | **str** | The name of the Franchiseagence | **fki_franchiseoffice_id** | **int** | The unique ID of the Franchisereoffice | diff --git a/docs/CommonResponseObjDebugPayloadGetList.md b/docs/CommonResponseObjDebugPayloadGetList.md index dccf538fc..d0621cdb0 100644 --- a/docs/CommonResponseObjDebugPayloadGetList.md +++ b/docs/CommonResponseObjDebugPayloadGetList.md @@ -6,6 +6,11 @@ This is a debug object containing debugging information on the actual function Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**i_version_min** | **int** | The minimum version of the function that can be called | +**i_version_max** | **int** | The maximum version of the function that can be called | +**a_required_permission** | **List[int]** | An array of permissions required to access this function. If the value \"0\" is present in the array, anyone can call this function. You must have one of the permission to access the function. You don't need to have all of them. | +**b_version_deprecated** | **bool** | Wheter the current route is deprecated or not | +**dt_response_date** | **str** | Represent a Date Time. The timezone is the one configured in the User's profile. | **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. 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. | diff --git a/docs/CommonWebhook.md b/docs/CommonWebhook.md index d33b9d340..f1e856b5d 100644 --- a/docs/CommonWebhook.md +++ b/docs/CommonWebhook.md @@ -7,7 +7,7 @@ This is the base Webhook object Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **obj_webhook** | [**CustomWebhookResponse**](CustomWebhookResponse.md) | | -**a_obj_attempt** | [**List[AttemptResponseCompound]**](AttemptResponse.md) | An array containing details of previous attempts that were made to deliver the message. The array is empty if it's the first attempt. | +**a_obj_attempt** | [**List[AttemptResponseCompound]**](AttemptResponseCompound.md) | An array containing details of previous attempts that were made to deliver the message. The array is empty if it's the first attempt. | ## Example diff --git a/docs/CommunicationRequestCompound.md b/docs/CommunicationRequestCompound.md index ffb429320..4a2514976 100644 --- a/docs/CommunicationRequestCompound.md +++ b/docs/CommunicationRequestCompound.md @@ -6,9 +6,19 @@ Request for POST /1/object/communication 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]**](CommunicationreferenceRequest.md) | | +**a_obj_communicationreference** | [**List[CommunicationreferenceRequestCompound]**](CommunicationreferenceRequestCompound.md) | | **a_obj_communicationexternalrecipient** | [**List[CommunicationexternalrecipientRequestCompound]**](CommunicationexternalrecipientRequestCompound.md) | | ## Example diff --git a/docs/CommunicationSendV1Response.md b/docs/CommunicationSendV1Response.md index 4a4121f83..b8c3abdd7 100644 --- a/docs/CommunicationSendV1Response.md +++ b/docs/CommunicationSendV1Response.md @@ -6,6 +6,8 @@ Response for POST /1/object/communication Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**obj_debug_payload** | [**CommonResponseObjDebugPayload**](CommonResponseObjDebugPayload.md) | | +**obj_debug** | [**CommonResponseObjDebug**](CommonResponseObjDebug.md) | | [optional] **m_payload** | [**CommunicationSendV1ResponseMPayload**](CommunicationSendV1ResponseMPayload.md) | | ## Example diff --git a/docs/CommunicationattachmentRequestCompound.md b/docs/CommunicationattachmentRequestCompound.md index c0ac77f59..93570d159 100644 --- a/docs/CommunicationattachmentRequestCompound.md +++ b/docs/CommunicationattachmentRequestCompound.md @@ -6,6 +6,10 @@ A Communicationattachment Object and children 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 diff --git a/docs/CommunicationexternalrecipientRequestCompound.md b/docs/CommunicationexternalrecipientRequestCompound.md index 5c0121aee..3ba96c360 100644 --- a/docs/CommunicationexternalrecipientRequestCompound.md +++ b/docs/CommunicationexternalrecipientRequestCompound.md @@ -6,6 +6,11 @@ A Communicationexternalrecipient Object and children 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 | [optional] ## Example diff --git a/docs/CommunicationrecipientRequestCompound.md b/docs/CommunicationrecipientRequestCompound.md index a5dac1984..13dc80783 100644 --- a/docs/CommunicationrecipientRequestCompound.md +++ b/docs/CommunicationrecipientRequestCompound.md @@ -6,6 +6,21 @@ A Communicationrecipient Object and children 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_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_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] +**fki_mailboxshared_id** | **int** | The unique ID of the Mailboxshared | [optional] +**fki_phonelineshared_id** | **int** | The unique ID of the Phonelineshared | [optional] +**e_communicationrecipient_type** | [**FieldECommunicationrecipientType**](FieldECommunicationrecipientType.md) | | [optional] ## Example diff --git a/docs/CompanyGetAutocompleteV2Response.md b/docs/CompanyGetAutocompleteV2Response.md index 770dfaff6..c82860ba4 100644 --- a/docs/CompanyGetAutocompleteV2Response.md +++ b/docs/CompanyGetAutocompleteV2Response.md @@ -6,6 +6,8 @@ Response for GET /2/object/company/getAutocomplete Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**obj_debug_payload** | [**CommonResponseObjDebugPayload**](CommonResponseObjDebugPayload.md) | | +**obj_debug** | [**CommonResponseObjDebug**](CommonResponseObjDebug.md) | | [optional] **m_payload** | [**CompanyGetAutocompleteV2ResponseMPayload**](CompanyGetAutocompleteV2ResponseMPayload.md) | | ## Example diff --git a/docs/ContactRequestCompound.md b/docs/ContactRequestCompound.md index f69337b0c..b75644f6a 100644 --- a/docs/ContactRequestCompound.md +++ b/docs/ContactRequestCompound.md @@ -6,6 +6,12 @@ A Contact Object and children to create a complete structure Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**fki_contacttitle_id** | **int** | The unique ID of the Contacttitle. Valid values: |Value|Description| |-|-| |1|Ms.| |2|Mr.| |4|(Blank)| |5|Me (For Notaries)| | +**fki_language_id** | **int** | The unique ID of the Language. Valid values: |Value|Description| |-|-| |1|French| |2|English| | +**s_contact_firstname** | **str** | The First name of the contact | +**s_contact_lastname** | **str** | The Last name of the contact | +**s_contact_company** | **str** | The Company name of the contact | +**dt_contact_birthdate** | **str** | The Birth Date of the contact | [optional] **obj_contactinformations** | [**ContactinformationsRequestCompound**](ContactinformationsRequestCompound.md) | | ## Example diff --git a/docs/ContactRequestCompoundV2.md b/docs/ContactRequestCompoundV2.md index ba9783432..2d9a58274 100644 --- a/docs/ContactRequestCompoundV2.md +++ b/docs/ContactRequestCompoundV2.md @@ -6,6 +6,16 @@ A Contact Object and children to create a complete structure Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**fki_contacttitle_id** | **int** | The unique ID of the Contacttitle. Valid values: |Value|Description| |-|-| |1|Ms.| |2|Mr.| |4|(Blank)| |5|Me (For Notaries)| | +**fki_language_id** | **int** | The unique ID of the Language. Valid values: |Value|Description| |-|-| |1|French| |2|English| | +**e_contact_type** | [**FieldEContactType**](FieldEContactType.md) | | +**s_contact_firstname** | **str** | The First name of the contact | +**s_contact_lastname** | **str** | The Last name of the contact | +**s_contact_company** | **str** | The Company name of the contact | [optional] +**dt_contact_birthdate** | **str** | The Birth Date of the contact | [optional] +**s_contact_occupation** | **str** | The occupation of the Contact | [optional] +**t_contact_note** | **str** | The note of the Contact | [optional] +**b_contact_isactive** | **bool** | Whether the contact is active or not | [optional] **obj_contactinformations** | [**ContactinformationsRequestCompoundV2**](ContactinformationsRequestCompoundV2.md) | | ## Example diff --git a/docs/ContactResponseCompound.md b/docs/ContactResponseCompound.md index 374fa8e5f..723fc50c5 100644 --- a/docs/ContactResponseCompound.md +++ b/docs/ContactResponseCompound.md @@ -6,6 +6,19 @@ A Contact Object Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**pki_contact_id** | **int** | The unique ID of the Contact | +**fki_language_id** | **int** | The unique ID of the Language. Valid values: |Value|Description| |-|-| |1|French| |2|English| | +**fki_contacttitle_id** | **int** | The unique ID of the Contacttitle. Valid values: |Value|Description| |-|-| |1|Ms.| |2|Mr.| |4|(Blank)| |5|Me (For Notaries)| | +**fki_contactinformations_id** | **int** | The unique ID of the Contactinformations | +**dt_contact_birthdate** | **str** | The Birth Date of the contact | [optional] +**e_contact_type** | [**FieldEContactType**](FieldEContactType.md) | | +**s_contact_firstname** | **str** | The First name of the contact | +**s_contact_lastname** | **str** | The Last name of the contact | +**s_contact_company** | **str** | The Company name of the contact | [optional] +**s_contact_occupation** | **str** | The occupation of the Contact | [optional] +**t_contact_note** | **str** | The note of the Contact | [optional] +**b_contact_isactive** | **bool** | Whether the contact is active or not | +**obj_contactinformations** | [**ContactinformationsResponseCompound**](ContactinformationsResponseCompound.md) | | ## Example diff --git a/docs/ContactinformationsRequestCompound.md b/docs/ContactinformationsRequestCompound.md index 470d5e1ae..13f3caba1 100644 --- a/docs/ContactinformationsRequestCompound.md +++ b/docs/ContactinformationsRequestCompound.md @@ -6,10 +6,14 @@ A Contactinformations Object and children to create a complete structure Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**a_obj_address** | [**List[AddressRequestCompound]**](AddressRequest.md) | | -**a_obj_phone** | [**List[PhoneRequestCompound]**](PhoneRequest.md) | | -**a_obj_email** | [**List[EmailRequestCompound]**](EmailRequest.md) | | -**a_obj_website** | [**List[WebsiteRequestCompound]**](WebsiteRequest.md) | | +**i_address_default** | **int** | The index in the a_objAddress array (zero based index) representing the Address object that should become the default one. You can leave the value to 0 if the array is empty. | +**i_phone_default** | **int** | The index in the a_objPhone array (zero based index) representing the Phone object that should become the default one. You can leave the value to 0 if the array is empty. | +**i_email_default** | **int** | The index in the a_objEmail array (zero based index) representing the Email object that should become the default one. You can leave the value to 0 if the array is empty. | +**i_website_default** | **int** | The index in the a_objWebsite array (zero based index) representing the Website object that should become the default one. You can leave the value to 0 if the array is empty. | +**a_obj_address** | [**List[AddressRequestCompound]**](AddressRequestCompound.md) | | +**a_obj_phone** | [**List[PhoneRequestCompound]**](PhoneRequestCompound.md) | | +**a_obj_email** | [**List[EmailRequestCompound]**](EmailRequestCompound.md) | | +**a_obj_website** | [**List[WebsiteRequestCompound]**](WebsiteRequestCompound.md) | | ## Example diff --git a/docs/ContactinformationsRequestCompoundV2.md b/docs/ContactinformationsRequestCompoundV2.md index fad266268..b08433b7f 100644 --- a/docs/ContactinformationsRequestCompoundV2.md +++ b/docs/ContactinformationsRequestCompoundV2.md @@ -6,10 +6,15 @@ A Contactinformations Object and children to create a complete structure Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**a_obj_address** | [**List[AddressRequestCompound]**](AddressRequest.md) | | -**a_obj_phone** | [**List[PhoneRequestCompound]**](PhoneRequest.md) | | -**a_obj_email** | [**List[EmailRequestCompound]**](EmailRequest.md) | | -**a_obj_website** | [**List[WebsiteRequestCompound]**](WebsiteRequest.md) | | +**e_contactinformations_type** | [**FieldEContactinformationsType**](FieldEContactinformationsType.md) | | +**i_address_default** | **int** | The index in the a_objAddress array (zero based index) representing the Address object that should become the default one. You can leave the value to 0 if the array is empty. | +**i_phone_default** | **int** | The index in the a_objPhone array (zero based index) representing the Phone object that should become the default one. You can leave the value to 0 if the array is empty. | +**i_email_default** | **int** | The index in the a_objEmail array (zero based index) representing the Email object that should become the default one. You can leave the value to 0 if the array is empty. | +**i_website_default** | **int** | The index in the a_objWebsite array (zero based index) representing the Website object that should become the default one. You can leave the value to 0 if the array is empty. | +**a_obj_address** | [**List[AddressRequestCompound]**](AddressRequestCompound.md) | | +**a_obj_phone** | [**List[PhoneRequestCompound]**](PhoneRequestCompound.md) | | +**a_obj_email** | [**List[EmailRequestCompound]**](EmailRequestCompound.md) | | +**a_obj_website** | [**List[WebsiteRequestCompound]**](WebsiteRequestCompound.md) | | ## Example diff --git a/docs/ContactinformationsResponse.md b/docs/ContactinformationsResponse.md index 9c572de91..ae592202d 100644 --- a/docs/ContactinformationsResponse.md +++ b/docs/ContactinformationsResponse.md @@ -13,10 +13,10 @@ Name | Type | Description | Notes **fki_website_id_default** | **int** | The unique ID of the Website Default | [optional] **e_contactinformations_type** | [**FieldEContactinformationsType**](FieldEContactinformationsType.md) | | **s_contactinformations_url** | **str** | The url of the Contactinformations | [optional] -**obj_address_default** | [**AddressResponse**](AddressResponse.md) | An Address Object and children to create a complete structure | [optional] +**obj_address_default** | [**AddressResponseCompound**](AddressResponseCompound.md) | | [optional] **obj_phone_default** | [**PhoneResponseCompound**](PhoneResponseCompound.md) | | [optional] -**obj_email_default** | [**EmailResponse**](EmailResponse.md) | An Email Object and children to create a complete structure | [optional] -**obj_website_default** | [**WebsiteResponse**](WebsiteResponse.md) | A Website Object and children to create a complete structure | [optional] +**obj_email_default** | [**EmailResponseCompound**](EmailResponseCompound.md) | | [optional] +**obj_website_default** | [**WebsiteResponseCompound**](WebsiteResponseCompound.md) | | [optional] ## Example diff --git a/docs/ContactinformationsResponseCompound.md b/docs/ContactinformationsResponseCompound.md index 9dd780b46..45be41392 100644 --- a/docs/ContactinformationsResponseCompound.md +++ b/docs/ContactinformationsResponseCompound.md @@ -6,10 +6,21 @@ A Contactinformations Object Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**a_obj_address** | [**List[AddressResponseCompound]**](AddressResponse.md) | | +**pki_contactinformations_id** | **int** | The unique ID of the Contactinformations | +**fki_address_id_default** | **int** | The unique ID of the Address | [optional] +**fki_phone_id_default** | **int** | The unique ID of the Phone. | [optional] +**fki_email_id_default** | **int** | The unique ID of the Email | [optional] +**fki_website_id_default** | **int** | The unique ID of the Website Default | [optional] +**e_contactinformations_type** | [**FieldEContactinformationsType**](FieldEContactinformationsType.md) | | +**s_contactinformations_url** | **str** | The url of the Contactinformations | [optional] +**obj_address_default** | [**AddressResponseCompound**](AddressResponseCompound.md) | | [optional] +**obj_phone_default** | [**PhoneResponseCompound**](PhoneResponseCompound.md) | | [optional] +**obj_email_default** | [**EmailResponseCompound**](EmailResponseCompound.md) | | [optional] +**obj_website_default** | [**WebsiteResponseCompound**](WebsiteResponseCompound.md) | | [optional] +**a_obj_address** | [**List[AddressResponseCompound]**](AddressResponseCompound.md) | | **a_obj_phone** | [**List[PhoneResponseCompound]**](PhoneResponseCompound.md) | | -**a_obj_email** | [**List[EmailResponseCompound]**](EmailResponse.md) | | -**a_obj_website** | [**List[WebsiteResponseCompound]**](WebsiteResponse.md) | | +**a_obj_email** | [**List[EmailResponseCompound]**](EmailResponseCompound.md) | | +**a_obj_website** | [**List[WebsiteResponseCompound]**](WebsiteResponseCompound.md) | | ## Example diff --git a/docs/ContacttitleGetAutocompleteV2Response.md b/docs/ContacttitleGetAutocompleteV2Response.md index b1fe2978f..67a76336f 100644 --- a/docs/ContacttitleGetAutocompleteV2Response.md +++ b/docs/ContacttitleGetAutocompleteV2Response.md @@ -6,6 +6,8 @@ Response for GET /2/object/contacttitle/getAutocomplete Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**obj_debug_payload** | [**CommonResponseObjDebugPayload**](CommonResponseObjDebugPayload.md) | | +**obj_debug** | [**CommonResponseObjDebug**](CommonResponseObjDebug.md) | | [optional] **m_payload** | [**ContacttitleGetAutocompleteV2ResponseMPayload**](ContacttitleGetAutocompleteV2ResponseMPayload.md) | | ## Example diff --git a/docs/CorsCreateObjectV1Response.md b/docs/CorsCreateObjectV1Response.md index 857dd531c..eef43a5be 100644 --- a/docs/CorsCreateObjectV1Response.md +++ b/docs/CorsCreateObjectV1Response.md @@ -6,6 +6,8 @@ Response for POST /1/object/cors Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**obj_debug_payload** | [**CommonResponseObjDebugPayload**](CommonResponseObjDebugPayload.md) | | +**obj_debug** | [**CommonResponseObjDebug**](CommonResponseObjDebug.md) | | [optional] **m_payload** | [**CorsCreateObjectV1ResponseMPayload**](CorsCreateObjectV1ResponseMPayload.md) | | ## Example diff --git a/docs/CorsDeleteObjectV1Response.md b/docs/CorsDeleteObjectV1Response.md index 479a0b28a..85fb95ec9 100644 --- a/docs/CorsDeleteObjectV1Response.md +++ b/docs/CorsDeleteObjectV1Response.md @@ -6,6 +6,8 @@ Response for DELETE /1/object/cors/{pkiCorsID} Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**obj_debug_payload** | [**CommonResponseObjDebugPayload**](CommonResponseObjDebugPayload.md) | | +**obj_debug** | [**CommonResponseObjDebug**](CommonResponseObjDebug.md) | | [optional] ## Example diff --git a/docs/CorsEditObjectV1Response.md b/docs/CorsEditObjectV1Response.md index 5401e8ab3..6480f6cbf 100644 --- a/docs/CorsEditObjectV1Response.md +++ b/docs/CorsEditObjectV1Response.md @@ -6,6 +6,8 @@ Response for PUT /1/object/cors/{pkiCorsID} Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**obj_debug_payload** | [**CommonResponseObjDebugPayload**](CommonResponseObjDebugPayload.md) | | +**obj_debug** | [**CommonResponseObjDebug**](CommonResponseObjDebug.md) | | [optional] ## Example diff --git a/docs/CorsGetObjectV2Response.md b/docs/CorsGetObjectV2Response.md index 845450fc5..3978a7fc3 100644 --- a/docs/CorsGetObjectV2Response.md +++ b/docs/CorsGetObjectV2Response.md @@ -6,6 +6,8 @@ Response for GET /2/object/cors/{pkiCorsID} Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**obj_debug_payload** | [**CommonResponseObjDebugPayload**](CommonResponseObjDebugPayload.md) | | +**obj_debug** | [**CommonResponseObjDebug**](CommonResponseObjDebug.md) | | [optional] **m_payload** | [**CorsGetObjectV2ResponseMPayload**](CorsGetObjectV2ResponseMPayload.md) | | ## Example diff --git a/docs/CorsRequestCompound.md b/docs/CorsRequestCompound.md index 489098e7f..ce4cb3835 100644 --- a/docs/CorsRequestCompound.md +++ b/docs/CorsRequestCompound.md @@ -6,6 +6,9 @@ A Cors Object and children Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**pki_cors_id** | **int** | The unique ID of the Cors | [optional] +**fki_apikey_id** | **int** | The unique ID of the Apikey | +**s_cors_entryurl** | **str** | The entryurl of the Cors | ## Example diff --git a/docs/CorsResponseCompound.md b/docs/CorsResponseCompound.md index 9a438ec1f..01eca7a54 100644 --- a/docs/CorsResponseCompound.md +++ b/docs/CorsResponseCompound.md @@ -6,6 +6,9 @@ A Cors Object Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**pki_cors_id** | **int** | The unique ID of the Cors | +**fki_apikey_id** | **int** | The unique ID of the Apikey | +**s_cors_entryurl** | **str** | The entryurl of the Cors | ## Example diff --git a/docs/CountryGetAutocompleteV2Response.md b/docs/CountryGetAutocompleteV2Response.md index 1bd5d20c3..b950bf94e 100644 --- a/docs/CountryGetAutocompleteV2Response.md +++ b/docs/CountryGetAutocompleteV2Response.md @@ -6,6 +6,8 @@ Response for GET /2/object/country/getAutocomplete Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**obj_debug_payload** | [**CommonResponseObjDebugPayload**](CommonResponseObjDebugPayload.md) | | +**obj_debug** | [**CommonResponseObjDebug**](CommonResponseObjDebug.md) | | [optional] **m_payload** | [**CountryGetAutocompleteV2ResponseMPayload**](CountryGetAutocompleteV2ResponseMPayload.md) | | ## Example diff --git a/docs/CreditcardclientCreateObjectV1Response.md b/docs/CreditcardclientCreateObjectV1Response.md index 169fabb2e..000f3e472 100644 --- a/docs/CreditcardclientCreateObjectV1Response.md +++ b/docs/CreditcardclientCreateObjectV1Response.md @@ -6,6 +6,8 @@ Response for POST /1/object/creditcardclient Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**obj_debug_payload** | [**CommonResponseObjDebugPayload**](CommonResponseObjDebugPayload.md) | | +**obj_debug** | [**CommonResponseObjDebug**](CommonResponseObjDebug.md) | | [optional] **m_payload** | [**CreditcardclientCreateObjectV1ResponseMPayload**](CreditcardclientCreateObjectV1ResponseMPayload.md) | | ## Example diff --git a/docs/CreditcardclientDeleteObjectV1Response.md b/docs/CreditcardclientDeleteObjectV1Response.md index 5e79cfa2e..d6949da7e 100644 --- a/docs/CreditcardclientDeleteObjectV1Response.md +++ b/docs/CreditcardclientDeleteObjectV1Response.md @@ -6,6 +6,8 @@ Response for DELETE /1/object/creditcardclient/{pkiCreditcardclientID} Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**obj_debug_payload** | [**CommonResponseObjDebugPayload**](CommonResponseObjDebugPayload.md) | | +**obj_debug** | [**CommonResponseObjDebug**](CommonResponseObjDebug.md) | | [optional] ## Example diff --git a/docs/CreditcardclientEditObjectV1Response.md b/docs/CreditcardclientEditObjectV1Response.md index eee16e1d0..3c303f985 100644 --- a/docs/CreditcardclientEditObjectV1Response.md +++ b/docs/CreditcardclientEditObjectV1Response.md @@ -6,6 +6,8 @@ Response for PUT /1/object/creditcardclient/{pkiCreditcardclientID} Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**obj_debug_payload** | [**CommonResponseObjDebugPayload**](CommonResponseObjDebugPayload.md) | | +**obj_debug** | [**CommonResponseObjDebug**](CommonResponseObjDebug.md) | | [optional] ## Example diff --git a/docs/CreditcardclientGetAutocompleteV2Response.md b/docs/CreditcardclientGetAutocompleteV2Response.md index d608046b3..51cd416e6 100644 --- a/docs/CreditcardclientGetAutocompleteV2Response.md +++ b/docs/CreditcardclientGetAutocompleteV2Response.md @@ -6,6 +6,8 @@ Response for GET /2/object/creditcardclient/getAutocomplete Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**obj_debug_payload** | [**CommonResponseObjDebugPayload**](CommonResponseObjDebugPayload.md) | | +**obj_debug** | [**CommonResponseObjDebug**](CommonResponseObjDebug.md) | | [optional] **m_payload** | [**CreditcardclientGetAutocompleteV2ResponseMPayload**](CreditcardclientGetAutocompleteV2ResponseMPayload.md) | | ## Example diff --git a/docs/CreditcardclientGetListV1Response.md b/docs/CreditcardclientGetListV1Response.md index 49c53edda..579ca0a02 100644 --- a/docs/CreditcardclientGetListV1Response.md +++ b/docs/CreditcardclientGetListV1Response.md @@ -6,6 +6,8 @@ Response for GET /1/object/creditcardclient/getList Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**obj_debug_payload** | [**CommonResponseObjDebugPayloadGetList**](CommonResponseObjDebugPayloadGetList.md) | | +**obj_debug** | [**CommonResponseObjDebug**](CommonResponseObjDebug.md) | | [optional] **m_payload** | [**CreditcardclientGetListV1ResponseMPayload**](CreditcardclientGetListV1ResponseMPayload.md) | | ## Example diff --git a/docs/CreditcardclientGetListV1ResponseMPayload.md b/docs/CreditcardclientGetListV1ResponseMPayload.md index 725897d0f..fa666c7f0 100644 --- a/docs/CreditcardclientGetListV1ResponseMPayload.md +++ b/docs/CreditcardclientGetListV1ResponseMPayload.md @@ -6,6 +6,8 @@ Payload for GET /1/object/creditcardclient/getList Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**i_row_returned** | **int** | The number of rows returned | +**i_row_filtered** | **int** | The number of rows matching your filters (if any) or the total number of rows | **a_obj_creditcardclient** | [**List[CreditcardclientListElement]**](CreditcardclientListElement.md) | | ## Example diff --git a/docs/CreditcardclientGetObjectV2Response.md b/docs/CreditcardclientGetObjectV2Response.md index 6a7a5323f..a40b670ce 100644 --- a/docs/CreditcardclientGetObjectV2Response.md +++ b/docs/CreditcardclientGetObjectV2Response.md @@ -6,6 +6,8 @@ Response for GET /2/object/creditcardclient/{pkiCreditcardclientID} Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**obj_debug_payload** | [**CommonResponseObjDebugPayload**](CommonResponseObjDebugPayload.md) | | +**obj_debug** | [**CommonResponseObjDebug**](CommonResponseObjDebug.md) | | [optional] **m_payload** | [**CreditcardclientGetObjectV2ResponseMPayload**](CreditcardclientGetObjectV2ResponseMPayload.md) | | ## Example diff --git a/docs/CreditcardclientPatchObjectV1Response.md b/docs/CreditcardclientPatchObjectV1Response.md index dbd867443..b01322fc9 100644 --- a/docs/CreditcardclientPatchObjectV1Response.md +++ b/docs/CreditcardclientPatchObjectV1Response.md @@ -6,6 +6,8 @@ Response for PATCH /1/object/creditcardclient/{pkiCreditcardclientID} Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**obj_debug_payload** | [**CommonResponseObjDebugPayload**](CommonResponseObjDebugPayload.md) | | +**obj_debug** | [**CommonResponseObjDebug**](CommonResponseObjDebug.md) | | [optional] ## Example diff --git a/docs/CreditcardclientRequestCompound.md b/docs/CreditcardclientRequestCompound.md index 4fc127f93..b2c2c8fc1 100644 --- a/docs/CreditcardclientRequestCompound.md +++ b/docs/CreditcardclientRequestCompound.md @@ -6,6 +6,15 @@ A Creditcardclient Object and children Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**pki_creditcardclient_id** | **int** | The unique ID of the Creditcardclient | [optional] +**fks_creditcardtoken_id** | **str** | The creditcard token identifier | [optional] +**b_creditcardclientrelation_isdefault** | **bool** | Whether if it's the creditcardclient is the default one | +**s_creditcardclient_description** | **str** | The description of the Creditcardclient | +**b_creditcardclient_allowedcompanypayment** | **bool** | Whether if it's an allowedagencypayment | +**b_creditcardclient_allowedezsign** | **bool** | Whether if it's an allowedroyallepageprotection | +**b_creditcardclient_allowedtranquillit** | **bool** | Whether if it's an allowedtranquillit | +**obj_creditcarddetail** | [**CreditcarddetailRequest**](CreditcarddetailRequest.md) | | +**s_creditcardclient_cvv** | **str** | The creditcard card CVV | ## Example diff --git a/docs/CreditcardclientResponseCompound.md b/docs/CreditcardclientResponseCompound.md index b4435154a..0ee785bd8 100644 --- a/docs/CreditcardclientResponseCompound.md +++ b/docs/CreditcardclientResponseCompound.md @@ -6,6 +6,13 @@ A Creditcardclient Object Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**pki_creditcardclient_id** | **int** | The unique ID of the Creditcardclient | +**fki_creditcarddetail_id** | **int** | The unique ID of the Creditcarddetail | +**b_creditcardclientrelation_isdefault** | **bool** | Whether if it's the creditcardclient is the default one | +**s_creditcardclient_description** | **str** | The description of the Creditcardclient | +**b_creditcardclient_allowedcompanypayment** | **bool** | Whether if it's an allowedagencypayment | +**b_creditcardclient_allowedtranquillit** | **bool** | Whether if it's an allowedtranquillit | +**obj_creditcarddetail** | [**CreditcarddetailResponseCompound**](CreditcarddetailResponseCompound.md) | | ## Example diff --git a/docs/CreditcarddetailResponseCompound.md b/docs/CreditcarddetailResponseCompound.md index d07c99471..65ab25f6b 100644 --- a/docs/CreditcarddetailResponseCompound.md +++ b/docs/CreditcarddetailResponseCompound.md @@ -6,6 +6,14 @@ A Creditcarddetail Object Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**pki_creditcarddetail_id** | **int** | The unique ID of the Creditcarddetail | +**fki_creditcardtype_id** | **int** | The unique ID of the Creditcardtype | +**i_creditcarddetail_lastdigits** | **int** | The last digits of the Creditcarddetail | +**i_creditcarddetail_expirationmonth** | **int** | The expirationmonth of the Creditcarddetail | +**i_creditcarddetail_expirationyear** | **int** | The expirationyear of the Creditcarddetail | +**s_creditcarddetail_civic** | **str** | The civic of the Creditcarddetail | +**s_creditcarddetail_street** | **str** | The street of the Creditcarddetail | +**s_creditcarddetail_zip** | **str** | The zip of the Creditcarddetail | ## Example diff --git a/docs/CreditcardtypeGetAutocompleteV2Response.md b/docs/CreditcardtypeGetAutocompleteV2Response.md index 6f9d38c35..94bce9960 100644 --- a/docs/CreditcardtypeGetAutocompleteV2Response.md +++ b/docs/CreditcardtypeGetAutocompleteV2Response.md @@ -6,6 +6,8 @@ Response for GET /2/object/creditcardtype/getAutocomplete Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**obj_debug_payload** | [**CommonResponseObjDebugPayload**](CommonResponseObjDebugPayload.md) | | +**obj_debug** | [**CommonResponseObjDebug**](CommonResponseObjDebug.md) | | [optional] **m_payload** | [**CreditcardtypeGetAutocompleteV2ResponseMPayload**](CreditcardtypeGetAutocompleteV2ResponseMPayload.md) | | ## Example diff --git a/docs/CustomAttachmentResponse.md b/docs/CustomAttachmentResponse.md index 8eae2ea5a..28aaac671 100644 --- a/docs/CustomAttachmentResponse.md +++ b/docs/CustomAttachmentResponse.md @@ -6,6 +6,67 @@ A Custom Attachment Object Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**pki_attachment_id** | **int** | The unique ID of the Attachment. | +**fki_computer_id** | **int** | The unique ID of the Computer | [optional] +**fki_adjustment_id** | **int** | The unique ID of the Adjustment | [optional] +**fki_agent_id** | **int** | The unique ID of the Agent. | [optional] +**fki_bankaccount_id** | **int** | The unique ID of the Bankaccount | [optional] +**fki_broker_id** | **int** | The unique ID of the Broker. | [optional] +**fki_commissionadvance_id** | **int** | The unique ID of the Commissionadvance | [optional] +**fki_communication_id** | **int** | The unique ID of the Communication. | [optional] +**fki_customer_id** | **int** | The unique ID of the Customer. | [optional] +**fki_customertemplate_id** | **int** | The unique ID of the Customertemplate | [optional] +**fki_deposit_id** | **int** | The unique ID of the Deposit | [optional] +**fki_deposittransitcheque_id** | **int** | The unique ID of the Deposittransitcheque | [optional] +**fki_electronicfundstransfer_id** | **int** | The unique ID of the Electronicfundstransfer | [optional] +**fki_employee_id** | **int** | The unique ID of the Employee. | [optional] +**fki_externalbroker_id** | **int** | The unique ID of the Externalbroker. | [optional] +**fki_ezcomadvanceserver_id** | **int** | The unique ID of the Ezcomadvanceserver | [optional] +**fki_ezcomcompany_id** | **int** | The unique ID of the Ezcomcompany | [optional] +**fki_ezsigndocument_id** | **int** | The unique ID of the Ezsigndocument | [optional] +**fki_ghacqcontract_id** | **int** | The unique ID of the Ghacqcontract | [optional] +**fki_inscription_id** | **int** | The unique ID of the Inscription. | [optional] +**fki_inscriptiontemp_id** | **int** | The unique ID of the Inscriptiontemp | [optional] +**fki_inscriptionnotauthenticated_id** | **int** | The unique ID of the Inscriptionnotauthenticated. | [optional] +**fki_invoice_id** | **int** | The unique ID of the Invoice. | [optional] +**fki_buyercontract_id** | **int** | The unique ID of the Buyercontract | [optional] +**fki_franchisebroker_id** | **int** | The unique ID of the Franchisebroker | [optional] +**fki_franchiseagence_id** | **int** | The unique ID of the Franchiseagence | [optional] +**fki_franchiseoffice_id** | **int** | The unique ID of the Franchisereoffice | [optional] +**fki_franchisefranchise_id** | **int** | The unique ID of the Franchisefranchise | [optional] +**fki_franchisecomplaint_id** | **int** | The unique ID of the Franchisecomplaint | [optional] +**fki_lead_id** | **int** | The unique ID of the Lead | [optional] +**fki_marketingprogram_id** | **int** | The unique ID of the Marketingprogram | [optional] +**fki_marketingfollow_id** | **int** | The unique ID of the Marketingfollow | [optional] +**fki_notary_id** | **int** | The unique ID of the Notary. | [optional] +**fki_officetaxreport_id** | **int** | The unique ID of the Officetaxreport | [optional] +**fki_otherincome_id** | **int** | The unique ID of the Otherincome | [optional] +**fki_paymentpreparation_id** | **int** | The unique ID of the Paymentpreparation | [optional] +**fki_purchase_id** | **int** | The unique ID of the Purchase | [optional] +**fki_salary_id** | **int** | The unique ID of the Salary | [optional] +**fki_supplier_id** | **int** | The unique ID of the Supplier. | [optional] +**fki_tranqcontract_id** | **int** | The unique ID of the Tranqcontract | [optional] +**fki_template_id** | **int** | The unique ID of the Template | [optional] +**fki_inscriptionchecklist_id** | **int** | The unique ID of the Inscriptionchecklist | [optional] +**fki_folder_id** | **int** | The unique ID of the Folder | [optional] +**fki_rejectedoffertopurchase_id** | **int** | The unique ID of the Rejectedoffertopurchase | [optional] +**fki_disclosure_id** | **int** | The unique ID of the Disclosure | [optional] +**fki_reconciliation_id** | **int** | The unique ID of the Reconciliation | [optional] +**fki_ezsigndocument_id_reference** | **int** | The unique ID of the Ezsigndocument | [optional] +**e_attachment_documenttype** | [**FieldEAttachmentDocumenttype**](FieldEAttachmentDocumenttype.md) | | +**s_attachment_name** | **str** | The name of the Attachment | +**e_attachment_privacy** | [**FieldEAttachmentPrivacy**](FieldEAttachmentPrivacy.md) | | +**fki_user_id_specific** | **int** | The unique ID of the User | [optional] +**e_attachment_type** | [**FieldEAttachmentType**](FieldEAttachmentType.md) | | +**i_attachment_size** | **int** | The size of the Attachment | +**i_attachment_ed_mmoduleflag** | **int** | The edmmoduleflag of the Attachment | [optional] +**s_attachment_md5** | **str** | The md5 of the Attachment | +**b_attachment_deleted** | **bool** | Whether if it's deleted | +**b_attachment_valid** | **bool** | Whether if it's valid | +**e_attachment_verified** | [**FieldEAttachmentVerified**](FieldEAttachmentVerified.md) | | +**t_attachment_rejectioncomment** | **str** | The rejectioncomment of the Attachment | [optional] +**fki_user_id_owner** | **int** | The unique ID of the User | [optional] +**obj_audit** | [**CommonAudit**](CommonAudit.md) | | [optional] **obj_attachment_proof** | [**AttachmentResponseCompound**](AttachmentResponseCompound.md) | | [optional] **obj_attachment_proofdocument** | [**AttachmentResponseCompound**](AttachmentResponseCompound.md) | | [optional] **a_obj_attachment_attachment** | [**List[AttachmentResponseCompound]**](AttachmentResponseCompound.md) | | [optional] diff --git a/docs/CustomCommunicationrecipientsrecipientResponse.md b/docs/CustomCommunicationrecipientsrecipientResponse.md index 5c2271e17..c76cbef19 100644 --- a/docs/CustomCommunicationrecipientsrecipientResponse.md +++ b/docs/CustomCommunicationrecipientsrecipientResponse.md @@ -23,7 +23,7 @@ Name | Type | Description | Notes **fki_supplier_id** | **int** | The unique ID of the Supplier. | [optional] **e_communicationrecipientsrecipient_objecttype** | **str** | | **obj_contact_name** | [**CustomContactNameResponse**](CustomContactNameResponse.md) | | -**obj_email** | [**EmailResponse**](EmailResponse.md) | An Email Object and children to create a complete structure | [optional] +**obj_email** | [**EmailResponseCompound**](EmailResponseCompound.md) | | [optional] **obj_phone_fax** | [**PhoneResponseCompound**](PhoneResponseCompound.md) | | [optional] **obj_phone_sms** | [**PhoneResponseCompound**](PhoneResponseCompound.md) | | [optional] diff --git a/docs/CustomCommunicationsenderResponse.md b/docs/CustomCommunicationsenderResponse.md index 976c2f154..46beaae59 100644 --- a/docs/CustomCommunicationsenderResponse.md +++ b/docs/CustomCommunicationsenderResponse.md @@ -13,7 +13,7 @@ Name | Type | Description | Notes **fki_phonelineshared_id** | **int** | The unique ID of the Phonelineshared | [optional] **e_communicationsender_objecttype** | **str** | | **obj_contact_name** | [**CustomContactNameResponse**](CustomContactNameResponse.md) | | -**obj_email** | [**EmailResponse**](EmailResponse.md) | An Email Object and children to create a complete structure | [optional] +**obj_email** | [**EmailResponseCompound**](EmailResponseCompound.md) | | [optional] **obj_phone_fax** | [**PhoneResponseCompound**](PhoneResponseCompound.md) | | [optional] **obj_phone_sms** | [**PhoneResponseCompound**](PhoneResponseCompound.md) | | [optional] diff --git a/docs/CustomEzsigndocumentRequest.md b/docs/CustomEzsigndocumentRequest.md index ff80342f5..65e305c45 100644 --- a/docs/CustomEzsigndocumentRequest.md +++ b/docs/CustomEzsigndocumentRequest.md @@ -7,7 +7,7 @@ Request for POST /2/object/ezsignfolder/{pkiEzsignfolderID}/reorder Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **pki_ezsigndocument_id** | **int** | The unique ID of the Ezsigndocument | -**a_obj_ezsigndocumentdependency** | [**List[EzsigndocumentdependencyRequestCompound]**](EzsigndocumentdependencyRequest.md) | | +**a_obj_ezsigndocumentdependency** | [**List[EzsigndocumentdependencyRequestCompound]**](EzsigndocumentdependencyRequestCompound.md) | | ## Example diff --git a/docs/CustomEzsignfoldersignerassociationActionableElementResponse.md b/docs/CustomEzsignfoldersignerassociationActionableElementResponse.md index e36177ca8..064d73602 100644 --- a/docs/CustomEzsignfoldersignerassociationActionableElementResponse.md +++ b/docs/CustomEzsignfoldersignerassociationActionableElementResponse.md @@ -6,6 +6,15 @@ A Ezsignfoldersignerassociation Object with actionable elements Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**pki_ezsignfoldersignerassociation_id** | **int** | The unique ID of the Ezsignfoldersignerassociation | +**fki_ezsignfolder_id** | **int** | The unique ID of the Ezsignfolder | +**b_ezsignfoldersignerassociation_delayedsend** | **bool** | If this flag is true the signatory is part of a delayed send. | +**b_ezsignfoldersignerassociation_receivecopy** | **bool** | If this flag is true. The signatory will receive a copy of every signed Ezsigndocument even if it ain't required to sign the document. | +**t_ezsignfoldersignerassociation_message** | **str** | A custom text message that will be added to the email sent. | +**b_ezsignfoldersignerassociation_allowsigninginperson** | **bool** | If the Ezsignfoldersignerassociation is allowed to sign in person or not | +**obj_ezsignsignergroup** | [**EzsignsignergroupResponseCompound**](EzsignsignergroupResponseCompound.md) | | [optional] +**obj_user** | [**EzsignfoldersignerassociationResponseCompoundUser**](EzsignfoldersignerassociationResponseCompoundUser.md) | | [optional] +**obj_ezsignsigner** | [**EzsignsignerResponseCompound**](EzsignsignerResponseCompound.md) | | [optional] **b_ezsignfoldersignerassociation_hasactionableelements_current** | **bool** | Indicates if the Ezsignfoldersignerassociation has actionable elements in the current step | **b_ezsignfoldersignerassociation_hasactionableelements_future** | **bool** | Indicates if the Ezsignfoldersignerassociation has actionable elements in a future step | diff --git a/docs/CustomEzsignformfielderrorResponse.md b/docs/CustomEzsignformfielderrorResponse.md index ed634c58e..11667b8bb 100644 --- a/docs/CustomEzsignformfielderrorResponse.md +++ b/docs/CustomEzsignformfielderrorResponse.md @@ -7,7 +7,7 @@ A Custom Ezsignformfield Object to contain an error list Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **s_ezsignformfield_label** | **str** | The Label for the Ezsignformfield | -**a_obj_ezsignformfielderrortest** | **List[CustomEzsignformfielderrortestResponse]** | | +**a_obj_ezsignformfielderrortest** | [**List[CustomEzsignformfielderrortestResponse]**](CustomEzsignformfielderrortestResponse.md) | | ## Example diff --git a/docs/CustomEzsignformfieldgroupCreateEzsignelementsPositionedByWordRequest.md b/docs/CustomEzsignformfieldgroupCreateEzsignelementsPositionedByWordRequest.md index e55ce9b30..322321bc2 100644 --- a/docs/CustomEzsignformfieldgroupCreateEzsignelementsPositionedByWordRequest.md +++ b/docs/CustomEzsignformfieldgroupCreateEzsignelementsPositionedByWordRequest.md @@ -6,6 +6,26 @@ An Ezsignformfieldgroup Object in the context of a createEzsignelementsPositione Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**pki_ezsignformfieldgroup_id** | **int** | The unique ID of the Ezsignformfieldgroup | [optional] +**fki_ezsigndocument_id** | **int** | The unique ID of the Ezsigndocument | +**e_ezsignformfieldgroup_type** | [**FieldEEzsignformfieldgroupType**](FieldEEzsignformfieldgroupType.md) | | +**e_ezsignformfieldgroup_signerrequirement** | [**FieldEEzsignformfieldgroupSignerrequirement**](FieldEEzsignformfieldgroupSignerrequirement.md) | | [optional] +**s_ezsignformfieldgroup_label** | **str** | The Label for the Ezsignformfieldgroup | +**i_ezsignformfieldgroup_step** | **int** | The step when the Ezsignsigner will be invited to fill the form fields | +**s_ezsignformfieldgroup_defaultvalue** | **str** | The default value for the Ezsignformfieldgroup You can use the codes below and they will be replaced at signature time. | Code | Description | Example | | ------------------------- | ------------ | ------------ | | {sUserFirstname} | The first name of the contact | John | | {sUserLastname} | The last name of the contact | Doe | | {sUserJobtitle} | The job title | Sales Representative | | {sCompany} | Company name | eZmax Solutions Inc. | | {sEmailAddress} | The email address | email@example.com | | {sPhoneE164} | A phone number in E.164 Format | +15149901516 | | {sPhoneE164Cell} | A phone number in E.164 Format | +15149901516 | | [optional] +**i_ezsignformfieldgroup_filledmin** | **int** | The minimum number of Ezsignformfield that must be filled in the Ezsignformfieldgroup | +**i_ezsignformfieldgroup_filledmax** | **int** | The maximum number of Ezsignformfield that must be filled in the Ezsignformfieldgroup | +**b_ezsignformfieldgroup_readonly** | **bool** | Whether the Ezsignformfieldgroup is read only or not. | +**i_ezsignformfieldgroup_maxlength** | **int** | The maximum length for the value in the Ezsignformfieldgroup This can only be set if eEzsignformfieldgroupType is **Text** or **Textarea** | [optional] +**b_ezsignformfieldgroup_encrypted** | **bool** | Whether the Ezsignformfieldgroup is encrypted in the database or not. Encrypted values are not displayed on the Ezsigndocument. This can only be set if eEzsignformfieldgroupType is **Text** or **Textarea** | [optional] +**s_ezsignformfieldgroup_regexp** | **str** | A regular expression to indicate what values are acceptable for the Ezsignformfieldgroup. This can only be set if eEzsignformfieldgroupType is **Text** or **Textarea** | [optional] +**s_ezsignformfieldgroup_textvalidationcustommessage** | **str** | Description of validation rule. Show by signatory. | [optional] +**t_ezsignformfieldgroup_tooltip** | **str** | A tooltip that will be presented to Ezsignsigner about the Ezsignformfieldgroup | [optional] +**e_ezsignformfieldgroup_tooltipposition** | [**FieldEEzsignformfieldgroupTooltipposition**](FieldEEzsignformfieldgroupTooltipposition.md) | | [optional] +**e_ezsignformfieldgroup_textvalidation** | [**EnumTextvalidation**](EnumTextvalidation.md) | | [optional] +**a_obj_ezsignformfieldgroupsigner** | [**List[EzsignformfieldgroupsignerRequestCompound]**](EzsignformfieldgroupsignerRequestCompound.md) | | +**a_obj_dropdown_element** | [**List[CustomDropdownElementRequestCompound]**](CustomDropdownElementRequestCompound.md) | | [optional] +**a_obj_ezsignformfield** | [**List[EzsignformfieldRequestCompound]**](EzsignformfieldRequestCompound.md) | | **obj_createezsignelementspositionedbyword** | [**CustomCreateEzsignelementsPositionedByWordRequest**](CustomCreateEzsignelementsPositionedByWordRequest.md) | | ## Example diff --git a/docs/CustomEzsignformfieldgroupRequest.md b/docs/CustomEzsignformfieldgroupRequest.md index fa305c0f0..3f448de0d 100644 --- a/docs/CustomEzsignformfieldgroupRequest.md +++ b/docs/CustomEzsignformfieldgroupRequest.md @@ -8,7 +8,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **pki_ezsignformfieldgroup_id** | **int** | The unique ID of the Ezsignformfieldgroup | [optional] **s_ezsignformfieldgroup_label** | **str** | The Label for the Ezsignformfieldgroup | [optional] -**a_obj_ezsignformfield** | **List[CustomEzsignformfieldRequest]** | An array containing all the values to fill the Ezsignform. | +**a_obj_ezsignformfield** | [**List[CustomEzsignformfieldRequest]**](CustomEzsignformfieldRequest.md) | An array containing all the values to fill the Ezsignform. | ## Example diff --git a/docs/CustomEzsignsignatureCreateEzsignelementsPositionedByWordRequest.md b/docs/CustomEzsignsignatureCreateEzsignelementsPositionedByWordRequest.md index cd059b597..0ae92f182 100644 --- a/docs/CustomEzsignsignatureCreateEzsignelementsPositionedByWordRequest.md +++ b/docs/CustomEzsignsignatureCreateEzsignelementsPositionedByWordRequest.md @@ -6,6 +6,36 @@ An Ezsignsignature Object in the context of an CreateEzsignelementsPositionedByW Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**pki_ezsignsignature_id** | **int** | The unique ID of the Ezsignsignature | [optional] +**fki_ezsignfoldersignerassociation_id** | **int** | The unique ID of the Ezsignfoldersignerassociation | +**i_ezsignpage_pagenumber** | **int** | The page number in the Ezsigndocument | +**i_ezsignsignature_x** | **int** | The X coordinate (Horizontal) where to put the Ezsignsignature on the page. Coordinate is calculated at 100dpi (dot per inch). So for example, if you want to put the Ezsignsignature 2 inches from the left border of the page, you would use \"200\" for the X coordinate. | +**i_ezsignsignature_y** | **int** | The Y coordinate (Vertical) where to put the Ezsignsignature on the page. Coordinate is calculated at 100dpi (dot per inch). So for example, if you want to put the Ezsignsignature 3 inches from the top border of the page, you would use \"300\" for the Y coordinate. | +**i_ezsignsignature_width** | **int** | The width of the Ezsignsignature. Size is calculated at 100dpi (dot per inch). So for example, if you want the Ezsignsignature to have a width of 2 inches, you would use \"200\" for the iEzsignsignatureWidth. | [optional] +**i_ezsignsignature_height** | **int** | The height of the Ezsignsignature. Size is calculated at 100dpi (dot per inch). So for example, if you want the Ezsignsignature to have an height of 2 inches, you would use \"200\" for the iEzsignsignatureHeight. | [optional] +**i_ezsignsignature_step** | **int** | The step when the Ezsignsigner will be invited to sign | +**e_ezsignsignature_type** | [**FieldEEzsignsignatureType**](FieldEEzsignsignatureType.md) | | +**fki_ezsigndocument_id** | **int** | The unique ID of the Ezsigndocument | +**t_ezsignsignature_tooltip** | **str** | A tooltip that will be presented to Ezsignsigner about the Ezsignsignature | [optional] +**e_ezsignsignature_tooltipposition** | [**FieldEEzsignsignatureTooltipposition**](FieldEEzsignsignatureTooltipposition.md) | | [optional] +**e_ezsignsignature_font** | [**FieldEEzsignsignatureFont**](FieldEEzsignsignatureFont.md) | | [optional] +**fki_ezsignfoldersignerassociation_id_validation** | **int** | The unique ID of the Ezsignfoldersignerassociation | [optional] +**b_ezsignsignature_handwritten** | **bool** | Whether the Ezsignsignature must be handwritten or not when eEzsignsignatureType = Signature. | [optional] +**b_ezsignsignature_reason** | **bool** | Whether the Ezsignsignature must include a reason or not when eEzsignsignatureType = Signature. | [optional] +**b_ezsignsignature_required** | **bool** | Whether the Ezsignsignature is required or not. This field is relevant only with Ezsignsignature with eEzsignsignatureType = Attachments, Text or Textarea. | [optional] +**e_ezsignsignature_attachmentnamesource** | [**FieldEEzsignsignatureAttachmentnamesource**](FieldEEzsignsignatureAttachmentnamesource.md) | | [optional] +**s_ezsignsignature_attachmentdescription** | **str** | The description attached to the attachment name added in Ezsignsignature of eEzsignsignatureType Attachments | [optional] +**e_ezsignsignature_consultationtrigger** | [**FieldEEzsignsignatureConsultationtrigger**](FieldEEzsignsignatureConsultationtrigger.md) | | [optional] +**i_ezsignsignature_validationstep** | **int** | The step when the Ezsignsigner will be invited to validate the Ezsignsignature of eEzsignsignatureType Attachments | [optional] +**i_ezsignsignature_maxlength** | **int** | The maximum length for the value in the Ezsignsignature This can only be set if eEzsignsignatureType is **FieldText** or **FieldTextarea** | [optional] +**s_ezsignsignature_defaultvalue** | **str** | The default value for the Ezsignsignature You can use the codes below and they will be replaced at signature time. | Code | Description | Example | | ------------------------- | ------------ | ------------ | | {sUserFirstname} | The first name of the contact | John | | {sUserLastname} | The last name of the contact | Doe | | {sUserJobtitle} | The job title | Sales Representative | | {sCompany} | Company name | eZmax Solutions Inc. | | {sEmailAddress} | The email address | email@example.com | | {sPhoneE164} | A phone number in E.164 Format | +15149901516 | | {sPhoneE164Cell} | A phone number in E.164 Format | +15149901516 | | [optional] +**e_ezsignsignature_textvalidation** | [**EnumTextvalidation**](EnumTextvalidation.md) | | [optional] +**s_ezsignsignature_textvalidationcustommessage** | **str** | Description of validation rule. Show by signatory. | [optional] +**s_ezsignsignature_regexp** | **str** | A regular expression to indicate what values are acceptable for the Ezsignsignature. This can only be set if eEzsignsignatureType is **FieldText** or **FieldTextarea** and eEzsignsignatureTextvalidation is **Custom** | [optional] +**e_ezsignsignature_dependencyrequirement** | [**FieldEEzsignsignatureDependencyrequirement**](FieldEEzsignsignatureDependencyrequirement.md) | | [optional] +**b_ezsignsignature_customdate** | **bool** | Whether the Ezsignsignature has a custom date format or not. (Only possible when eEzsignsignatureType is **Name** or **Handwritten**) | [optional] +**a_obj_ezsignsignaturecustomdate** | [**List[EzsignsignaturecustomdateRequestCompound]**](EzsignsignaturecustomdateRequestCompound.md) | An array of custom date blocks that will be filled at the time of signature. Can only be used if bEzsignsignatureCustomdate is true. Use an empty array if you don't want to have a date at all. | [optional] +**a_obj_ezsignelementdependency** | [**List[EzsignelementdependencyRequestCompound]**](EzsignelementdependencyRequestCompound.md) | | [optional] **obj_createezsignelementspositionedbyword** | [**CustomCreateEzsignelementsPositionedByWordRequest**](CustomCreateEzsignelementsPositionedByWordRequest.md) | | ## Example diff --git a/docs/CustomNotificationsubsectiongetnotificationtestsResponse.md b/docs/CustomNotificationsubsectiongetnotificationtestsResponse.md index 85615b9ee..233f782d4 100644 --- a/docs/CustomNotificationsubsectiongetnotificationtestsResponse.md +++ b/docs/CustomNotificationsubsectiongetnotificationtestsResponse.md @@ -6,6 +6,11 @@ A Notificationsubsection Object in the context of getNotificationtests Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**pki_notificationsubsection_id** | **int** | The unique ID of the Notificationsubsection | +**fki_notificationsection_id** | **int** | The unique ID of the Notificationsection | +**obj_notificationsubsection_name** | [**MultilingualNotificationsubsectionName**](MultilingualNotificationsubsectionName.md) | | [optional] +**s_notificationsection_name_x** | **str** | The name of the Notificationsection in the language of the requester | [optional] +**s_notificationsubsection_name_x** | **str** | The name of the Notificationsubsection in the language of the requester | **a_obj_notificationtest** | [**List[CustomNotificationtestgetnotificationtestsResponse]**](CustomNotificationtestgetnotificationtestsResponse.md) | | ## Example diff --git a/docs/CustomNotificationtestgetnotificationtestsResponse.md b/docs/CustomNotificationtestgetnotificationtestsResponse.md index abd1acceb..0c08aa23c 100644 --- a/docs/CustomNotificationtestgetnotificationtestsResponse.md +++ b/docs/CustomNotificationtestgetnotificationtestsResponse.md @@ -6,6 +6,11 @@ A Notificationtest Object in the context of getNotificationtests Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**pki_notificationtest_id** | **int** | The unique ID of the Notificationtest | +**obj_notificationtest_name** | [**MultilingualNotificationtestName**](MultilingualNotificationtestName.md) | | +**fki_notificationsubsection_id** | **int** | The unique ID of the Notificationsubsection | +**s_notificationtest_function** | **str** | The function name of the Notificationtest | +**s_notificationtest_name_x** | **str** | The name of the Notificationtest in the language of the requester | **e_notificationpreference_status** | [**FieldENotificationpreferenceStatus**](FieldENotificationpreferenceStatus.md) | | **i_notificationtest** | **int** | The number of elements returned by the Notificationtest | diff --git a/docs/CustomWebhookResponse.md b/docs/CustomWebhookResponse.md index 23b0bab4f..aa8db8be0 100644 --- a/docs/CustomWebhookResponse.md +++ b/docs/CustomWebhookResponse.md @@ -6,6 +6,25 @@ A custom Webhook object Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**pki_webhook_id** | **int** | The unique ID of the Webhook | +**fki_authenticationexternal_id** | **int** | The unique ID of the Authenticationexternal | [optional] +**s_webhook_description** | **str** | The description of the Webhook | +**fki_ezsignfoldertype_id** | **int** | The unique ID of the Ezsignfoldertype. | [optional] +**s_ezsignfoldertype_name_x** | **str** | The name of the Ezsignfoldertype in the language of the requester | [optional] +**e_webhook_module** | [**FieldEWebhookModule**](FieldEWebhookModule.md) | | +**e_webhook_ezsignevent** | [**FieldEWebhookEzsignevent**](FieldEWebhookEzsignevent.md) | | [optional] +**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 | +**s_webhook_apikey** | **str** | The Apikey for the Webhook. This will be hidden if we are not creating or regenerating the Apikey. | [optional] +**s_webhook_secret** | **str** | The Secret for the Webhook. This will be hidden if we are not creating or regenerating the Apikey. | [optional] +**b_webhook_isactive** | **bool** | Whether the Webhook is active or not | +**b_webhook_issigned** | **bool** | Whether the requests will be signed or not | +**b_webhook_skipsslvalidation** | **bool** | Wheter the server's SSL certificate should be validated or not. Not recommended to skip for production use | +**s_authenticationexternal_description** | **str** | The description of the Authenticationexternal | [optional] +**obj_audit** | [**CommonAudit**](CommonAudit.md) | | +**s_webhook_event** | **str** | The concatenated string to describe the Webhook event | [optional] +**a_obj_webhookheader** | [**List[WebhookheaderResponseCompound]**](WebhookheaderResponseCompound.md) | | [optional] **pks_customer_code** | **str** | The customer code assigned to your account | **b_webhook_test** | **bool** | Wheter the webhook received is a manual test or a real event | **e_webhook_emittype** | **str** | Wheter the webhook received is a manual test or a real event | [optional] diff --git a/docs/CustomerCreateObjectV1Response.md b/docs/CustomerCreateObjectV1Response.md index 409033d78..29b01aa67 100644 --- a/docs/CustomerCreateObjectV1Response.md +++ b/docs/CustomerCreateObjectV1Response.md @@ -6,6 +6,8 @@ Response for POST /1/object/customer Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**obj_debug_payload** | [**CommonResponseObjDebugPayload**](CommonResponseObjDebugPayload.md) | | +**obj_debug** | [**CommonResponseObjDebug**](CommonResponseObjDebug.md) | | [optional] **m_payload** | [**CustomerCreateObjectV1ResponseMPayload**](CustomerCreateObjectV1ResponseMPayload.md) | | ## Example diff --git a/docs/CustomerGetObjectV2Response.md b/docs/CustomerGetObjectV2Response.md index 58764447c..44c3cb3f5 100644 --- a/docs/CustomerGetObjectV2Response.md +++ b/docs/CustomerGetObjectV2Response.md @@ -6,6 +6,8 @@ Response for GET /2/object/customer/{pkiCustomerID} Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**obj_debug_payload** | [**CommonResponseObjDebugPayload**](CommonResponseObjDebugPayload.md) | | +**obj_debug** | [**CommonResponseObjDebug**](CommonResponseObjDebug.md) | | [optional] **m_payload** | [**CustomerGetObjectV2ResponseMPayload**](CustomerGetObjectV2ResponseMPayload.md) | | ## Example diff --git a/docs/CustomerRequestCompound.md b/docs/CustomerRequestCompound.md index dd363c11e..8c9ff4c4e 100644 --- a/docs/CustomerRequestCompound.md +++ b/docs/CustomerRequestCompound.md @@ -6,6 +6,57 @@ A Customer Object and children Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**pki_customer_id** | **int** | The unique ID of the Customer. | [optional] +**fki_company_id** | **int** | The unique ID of the Company | +**fki_customergroup_id** | **int** | The unique ID of the Customergroup | +**s_customer_name** | **str** | The name of the Customer | +**fki_contactinformations_id** | **int** | The unique ID of the Contactinformations | +**fki_contactcontainer_id** | **int** | The unique ID of the Contactcontainer | +**fki_image_id** | **int** | The unique ID of the Image | +**fki_glaccountcontainer_id** | **int** | The unique ID of the Glaccountcontainer | +**fki_language_id** | **int** | The unique ID of the Language. Valid values: |Value|Description| |-|-| |1|French| |2|English| | +**fki_department_id** | **int** | The unique ID of the Department | +**fki_paymentmethod_id** | **int** | The unique ID of the Paymentmethod | +**fki_electronicfundstransferbankaccount_id** | **int** | The unique ID of the Electronicfundstransferbankaccount | +**fki_electronicfundstransferbankaccount_id_directdebit** | **int** | The unique ID of the Electronicfundstransferbankaccount | +**fki_sendingmethod_id** | **int** | The unique ID of the Sendingmethod | +**fki_taxassignment_id** | **int** | The unique ID of the Taxassignment. Valid values: |Value|Description| |-|-| |1|No tax| |2|GST| |3|HST (ON)| |4|HST (NB)| |5|HST (NS)| |6|HST (NL)| |7|HST (PE)| |8|GST + QST (QC)| |9|GST + QST (QC) Non-Recoverable| |10|GST + PST (BC)| |11|GST + PST (SK)| |12|GST + RST (MB)| |13|GST + PST (BC) Non-Recoverable| |14|GST + PST (SK) Non-Recoverable| |15|GST + RST (MB) Non-Recoverable| | +**fki_attendancestatus_id** | **int** | The unique ID of the Attendancestatus | +**fki_agent_id_variableexpensechargeto** | **int** | The unique ID of the Agent. | +**fki_broker_id_variableexpensechargeto** | **int** | The unique ID of the Broker. | +**fki_customer_id_variableexpensechargeto** | **int** | The unique ID of the Customer. | +**fki_glaccountcontainer_id_variableexpensechargeto** | **int** | The unique ID of the Glaccountcontainer | +**fki_agent_id_supplychargechargeto** | **int** | The unique ID of the Agent. | +**fki_broker_id_supplychargechargeto** | **int** | The unique ID of the Broker. | +**fki_customer_id_supplychargechargeto** | **int** | The unique ID of the Customer. | +**fki_glaccountcontainer_id_supplychargechargeto** | **int** | The unique ID of the Glaccountcontainer | +**fki_invoicealternatelogo_id** | **int** | The unique ID of the Invoicealternatelogo | +**fki_synchronizationlinkserver_id** | **int** | The unique ID of the Synchronizationlinkserver | +**efki_user_id** | **int** | The unique ID of the User | [optional] +**efks_customer_code** | **str** | The code of the Customer | [optional] +**s_customer_code** | **str** | The code of the Customer | +**d_customer_fulltimeequivalent** | **str** | The fulltimeequivalent of the Customer | +**i_customer_photocopiercode** | **int** | The photocopiercode of the Customer | +**i_customer_longdistancecode** | **int** | The longdistancecode of the Customer | +**i_customer_timewindowstart** | **int** | The timewindowstart of the Customer | +**i_customer_timewindowend** | **int** | The timewindowend of the Customer | +**d_customer_minimumchargeableinterests** | **str** | The minimumchargeableinterests of the Customer | +**dt_customer_birthdate** | **str** | The birthdate of the Customer | +**dt_customer_transfer** | **str** | The transfer of the Customer | +**dt_customer_transferappointment** | **str** | The transferappointment of the Customer | +**dt_customer_transfersurvey** | **str** | The transfersurvey of the Customer | +**b_customer_isactive** | **bool** | Whether the customer is active or not | +**b_customer_variableexpensefinanced** | **bool** | Whether if it's an variableexpensefinanced | +**b_customer_variableexpensefinancedtaxes** | **bool** | Whether if it's an variableexpensefinancedtaxes | +**b_customer_supplychargefinanced** | **bool** | Whether if it's an supplychargefinanced | +**b_customer_supplychargefinancedtaxes** | **bool** | Whether if it's an supplychargefinancedtaxes | +**b_customer_attendance** | **bool** | Whether if it's an attendance | +**e_customer_type** | [**FieldECustomerType**](FieldECustomerType.md) | | +**e_customer_marketingcorrespondence** | [**FieldECustomerMarketingcorrespondence**](FieldECustomerMarketingcorrespondence.md) | | +**b_customer_blackcopycarbon** | **bool** | Whether if it's an blackcopycarbon | +**b_customer_unsubscribeinfo** | **bool** | Whether if it's an unsubscribeinfo | +**t_customer_comment** | **str** | The comment of the Customer | +**importid** | **str** | | [optional] ## Example diff --git a/docs/CustomerResponseCompound.md b/docs/CustomerResponseCompound.md index 6c06ac960..61ce213f4 100644 --- a/docs/CustomerResponseCompound.md +++ b/docs/CustomerResponseCompound.md @@ -6,6 +6,57 @@ A Customer Object Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**pki_customer_id** | **int** | The unique ID of the Customer. | +**fki_company_id** | **int** | The unique ID of the Company | +**fki_customergroup_id** | **int** | The unique ID of the Customergroup | +**s_customer_name** | **str** | The name of the Customer | +**fki_contactinformations_id** | **int** | The unique ID of the Contactinformations | +**fki_contactcontainer_id** | **int** | The unique ID of the Contactcontainer | +**fki_image_id** | **int** | The unique ID of the Image | +**fki_glaccountcontainer_id** | **int** | The unique ID of the Glaccountcontainer | +**fki_language_id** | **int** | The unique ID of the Language. Valid values: |Value|Description| |-|-| |1|French| |2|English| | +**fki_department_id** | **int** | The unique ID of the Department | +**fki_paymentmethod_id** | **int** | The unique ID of the Paymentmethod | +**fki_electronicfundstransferbankaccount_id** | **int** | The unique ID of the Electronicfundstransferbankaccount | +**fki_electronicfundstransferbankaccount_id_directdebit** | **int** | The unique ID of the Electronicfundstransferbankaccount | +**fki_sendingmethod_id** | **int** | The unique ID of the Sendingmethod | +**fki_taxassignment_id** | **int** | The unique ID of the Taxassignment. Valid values: |Value|Description| |-|-| |1|No tax| |2|GST| |3|HST (ON)| |4|HST (NB)| |5|HST (NS)| |6|HST (NL)| |7|HST (PE)| |8|GST + QST (QC)| |9|GST + QST (QC) Non-Recoverable| |10|GST + PST (BC)| |11|GST + PST (SK)| |12|GST + RST (MB)| |13|GST + PST (BC) Non-Recoverable| |14|GST + PST (SK) Non-Recoverable| |15|GST + RST (MB) Non-Recoverable| | +**fki_attendancestatus_id** | **int** | The unique ID of the Attendancestatus | +**fki_agent_id_variableexpensechargeto** | **int** | The unique ID of the Agent. | +**fki_broker_id_variableexpensechargeto** | **int** | The unique ID of the Broker. | +**fki_customer_id_variableexpensechargeto** | **int** | The unique ID of the Customer. | +**fki_glaccountcontainer_id_variableexpensechargeto** | **int** | The unique ID of the Glaccountcontainer | +**fki_agent_id_supplychargechargeto** | **int** | The unique ID of the Agent. | +**fki_broker_id_supplychargechargeto** | **int** | The unique ID of the Broker. | +**fki_customer_id_supplychargechargeto** | **int** | The unique ID of the Customer. | +**fki_glaccountcontainer_id_supplychargechargeto** | **int** | The unique ID of the Glaccountcontainer | +**fki_invoicealternatelogo_id** | **int** | The unique ID of the Invoicealternatelogo | +**fki_synchronizationlinkserver_id** | **int** | The unique ID of the Synchronizationlinkserver | +**efki_user_id** | **int** | The unique ID of the User | [optional] +**efks_customer_code** | **str** | The code of the Customer | [optional] +**s_customer_code** | **str** | The code of the Customer | +**d_customer_fulltimeequivalent** | **str** | The fulltimeequivalent of the Customer | +**i_customer_photocopiercode** | **int** | The photocopiercode of the Customer | +**i_customer_longdistancecode** | **int** | The longdistancecode of the Customer | +**i_customer_timewindowstart** | **int** | The timewindowstart of the Customer | +**i_customer_timewindowend** | **int** | The timewindowend of the Customer | +**d_customer_minimumchargeableinterests** | **str** | The minimumchargeableinterests of the Customer | +**dt_customer_birthdate** | **str** | The birthdate of the Customer | +**dt_customer_transfer** | **str** | The transfer of the Customer | +**dt_customer_transferappointment** | **str** | The transferappointment of the Customer | +**dt_customer_transfersurvey** | **str** | The transfersurvey of the Customer | +**b_customer_isactive** | **bool** | Whether the customer is active or not | +**b_customer_variableexpensefinanced** | **bool** | Whether if it's an variableexpensefinanced | +**b_customer_variableexpensefinancedtaxes** | **bool** | Whether if it's an variableexpensefinancedtaxes | +**b_customer_supplychargefinanced** | **bool** | Whether if it's an supplychargefinanced | +**b_customer_supplychargefinancedtaxes** | **bool** | Whether if it's an supplychargefinancedtaxes | +**b_customer_attendance** | **bool** | Whether if it's an attendance | +**e_customer_type** | [**FieldECustomerType**](FieldECustomerType.md) | | +**e_customer_marketingcorrespondence** | [**FieldECustomerMarketingcorrespondence**](FieldECustomerMarketingcorrespondence.md) | | +**b_customer_blackcopycarbon** | **bool** | Whether if it's an blackcopycarbon | +**b_customer_unsubscribeinfo** | **bool** | Whether if it's an unsubscribeinfo | +**t_customer_comment** | **str** | The comment of the Customer | +**importid** | **str** | | [optional] ## Example diff --git a/docs/DepartmentGetAutocompleteV2Response.md b/docs/DepartmentGetAutocompleteV2Response.md index 8681af0a1..85fbb542f 100644 --- a/docs/DepartmentGetAutocompleteV2Response.md +++ b/docs/DepartmentGetAutocompleteV2Response.md @@ -6,6 +6,8 @@ Response for GET /2/object/department/getAutocomplete Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**obj_debug_payload** | [**CommonResponseObjDebugPayload**](CommonResponseObjDebugPayload.md) | | +**obj_debug** | [**CommonResponseObjDebug**](CommonResponseObjDebug.md) | | [optional] **m_payload** | [**DepartmentGetAutocompleteV2ResponseMPayload**](DepartmentGetAutocompleteV2ResponseMPayload.md) | | ## Example diff --git a/docs/DiscussionCreateObjectV1Response.md b/docs/DiscussionCreateObjectV1Response.md index 2c7e8990a..e1b458425 100644 --- a/docs/DiscussionCreateObjectV1Response.md +++ b/docs/DiscussionCreateObjectV1Response.md @@ -6,6 +6,8 @@ Response for POST /1/object/discussion Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**obj_debug_payload** | [**CommonResponseObjDebugPayload**](CommonResponseObjDebugPayload.md) | | +**obj_debug** | [**CommonResponseObjDebug**](CommonResponseObjDebug.md) | | [optional] **m_payload** | [**DiscussionCreateObjectV1ResponseMPayload**](DiscussionCreateObjectV1ResponseMPayload.md) | | ## Example diff --git a/docs/DiscussionDeleteObjectV1Response.md b/docs/DiscussionDeleteObjectV1Response.md index 84693725f..cca2f4c50 100644 --- a/docs/DiscussionDeleteObjectV1Response.md +++ b/docs/DiscussionDeleteObjectV1Response.md @@ -6,6 +6,8 @@ Response for DELETE /1/object/discussion/{pkiDiscussionID} Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**obj_debug_payload** | [**CommonResponseObjDebugPayload**](CommonResponseObjDebugPayload.md) | | +**obj_debug** | [**CommonResponseObjDebug**](CommonResponseObjDebug.md) | | [optional] ## Example diff --git a/docs/DiscussionGetObjectV2Response.md b/docs/DiscussionGetObjectV2Response.md index 5cbec6e7c..0e371f4e3 100644 --- a/docs/DiscussionGetObjectV2Response.md +++ b/docs/DiscussionGetObjectV2Response.md @@ -6,6 +6,8 @@ Response for GET /2/object/discussion/{pkiDiscussionID} Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**obj_debug_payload** | [**CommonResponseObjDebugPayload**](CommonResponseObjDebugPayload.md) | | +**obj_debug** | [**CommonResponseObjDebug**](CommonResponseObjDebug.md) | | [optional] **m_payload** | [**DiscussionGetObjectV2ResponseMPayload**](DiscussionGetObjectV2ResponseMPayload.md) | | ## Example diff --git a/docs/DiscussionPatchObjectV1Response.md b/docs/DiscussionPatchObjectV1Response.md index 52024156a..daa9f3fb6 100644 --- a/docs/DiscussionPatchObjectV1Response.md +++ b/docs/DiscussionPatchObjectV1Response.md @@ -6,6 +6,8 @@ Response for PATCH /1/object/discussion/{pkiDiscussionID} Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**obj_debug_payload** | [**CommonResponseObjDebugPayload**](CommonResponseObjDebugPayload.md) | | +**obj_debug** | [**CommonResponseObjDebug**](CommonResponseObjDebug.md) | | [optional] ## Example diff --git a/docs/DiscussionRequestCompound.md b/docs/DiscussionRequestCompound.md index 515852c32..1b6f10e38 100644 --- a/docs/DiscussionRequestCompound.md +++ b/docs/DiscussionRequestCompound.md @@ -6,6 +6,9 @@ A Discussion Object and children Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**pki_discussion_id** | **int** | The unique ID of the Discussion | [optional] +**s_discussion_description** | **str** | The description of the Discussion | +**b_discussion_closed** | **bool** | Whether if it's an closed | [optional] ## Example diff --git a/docs/DiscussionResponseCompound.md b/docs/DiscussionResponseCompound.md index ad02c0287..8c439e463 100644 --- a/docs/DiscussionResponseCompound.md +++ b/docs/DiscussionResponseCompound.md @@ -6,6 +6,13 @@ A Discussion Object Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**pki_discussion_id** | **int** | The unique ID of the Discussion | +**s_discussion_description** | **str** | The description of the Discussion | +**b_discussion_closed** | **bool** | Whether if it's an closed | +**dt_discussion_lastread** | **str** | The date the Discussion was last read | [optional] +**i_discussionmessage_count** | **int** | The count of Attachment. | +**i_discussionmessage_countunread** | **int** | The count of Attachment. | +**obj_discussionconfiguration** | [**CustomDiscussionconfigurationResponse**](CustomDiscussionconfigurationResponse.md) | | [optional] **a_obj_discussionmembership** | [**List[DiscussionmembershipResponseCompound]**](DiscussionmembershipResponseCompound.md) | | **a_obj_discussionmessage** | [**List[DiscussionmessageResponseCompound]**](DiscussionmessageResponseCompound.md) | | diff --git a/docs/DiscussionUpdateDiscussionreadstatusV1Response.md b/docs/DiscussionUpdateDiscussionreadstatusV1Response.md index fadb0c6db..74684c787 100644 --- a/docs/DiscussionUpdateDiscussionreadstatusV1Response.md +++ b/docs/DiscussionUpdateDiscussionreadstatusV1Response.md @@ -6,6 +6,8 @@ Response for GET /1/object/discussion/{pkiDiscussionID}/updateDiscussionreadstat Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**obj_debug_payload** | [**CommonResponseObjDebugPayload**](CommonResponseObjDebugPayload.md) | | +**obj_debug** | [**CommonResponseObjDebug**](CommonResponseObjDebug.md) | | [optional] ## Example diff --git a/docs/DiscussionmembershipCreateObjectV1Response.md b/docs/DiscussionmembershipCreateObjectV1Response.md index b5b1fb7b2..fee33a7b1 100644 --- a/docs/DiscussionmembershipCreateObjectV1Response.md +++ b/docs/DiscussionmembershipCreateObjectV1Response.md @@ -6,6 +6,8 @@ Response for POST /1/object/discussionmembership Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**obj_debug_payload** | [**CommonResponseObjDebugPayload**](CommonResponseObjDebugPayload.md) | | +**obj_debug** | [**CommonResponseObjDebug**](CommonResponseObjDebug.md) | | [optional] **m_payload** | [**DiscussionmembershipCreateObjectV1ResponseMPayload**](DiscussionmembershipCreateObjectV1ResponseMPayload.md) | | ## Example diff --git a/docs/DiscussionmembershipDeleteObjectV1Response.md b/docs/DiscussionmembershipDeleteObjectV1Response.md index 36346b7be..7c18becfa 100644 --- a/docs/DiscussionmembershipDeleteObjectV1Response.md +++ b/docs/DiscussionmembershipDeleteObjectV1Response.md @@ -6,6 +6,8 @@ Response for DELETE /1/object/discussionmembership/{pkiDiscussionmembershipID} Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**obj_debug_payload** | [**CommonResponseObjDebugPayload**](CommonResponseObjDebugPayload.md) | | +**obj_debug** | [**CommonResponseObjDebug**](CommonResponseObjDebug.md) | | [optional] ## Example diff --git a/docs/DiscussionmembershipRequestCompound.md b/docs/DiscussionmembershipRequestCompound.md index 0e8f4e435..fb567b697 100644 --- a/docs/DiscussionmembershipRequestCompound.md +++ b/docs/DiscussionmembershipRequestCompound.md @@ -6,6 +6,12 @@ A Discussionmembership Object and children Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**pki_discussionmembership_id** | **int** | The unique ID of the Discussionmembership | [optional] +**fki_discussion_id** | **int** | The unique ID of the Discussion | +**fki_user_id** | **int** | The unique ID of the User | [optional] +**fki_usergroup_id** | **int** | The unique ID of the Usergroup | [optional] +**fki_modulesection_id** | **int** | The unique ID of the Modulesection | [optional] +**dt_discussionmembership_joined** | **str** | The joined date of the Discussionmembership | ## Example diff --git a/docs/DiscussionmembershipResponseCompound.md b/docs/DiscussionmembershipResponseCompound.md index 9f4c02628..4f5c5eeaa 100644 --- a/docs/DiscussionmembershipResponseCompound.md +++ b/docs/DiscussionmembershipResponseCompound.md @@ -6,6 +6,13 @@ A Discussionmembership Object and children Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**pki_discussionmembership_id** | **int** | The unique ID of the Discussionmembership | +**fki_discussion_id** | **int** | The unique ID of the Discussion | +**fki_user_id** | **int** | The unique ID of the User | [optional] +**fki_usergroup_id** | **int** | The unique ID of the Usergroup | [optional] +**fki_modulesection_id** | **int** | The unique ID of the Modulesection | [optional] +**s_discussionmembership_description** | **str** | The Description containing the detail of who the Discussionmembership refers to | +**dt_discussionmembership_joined** | **str** | The joined date of the Discussionmembership | ## Example diff --git a/docs/DiscussionmessageCreateObjectV1Response.md b/docs/DiscussionmessageCreateObjectV1Response.md index 74660210f..1df387489 100644 --- a/docs/DiscussionmessageCreateObjectV1Response.md +++ b/docs/DiscussionmessageCreateObjectV1Response.md @@ -6,6 +6,8 @@ Response for POST /1/object/discussionmessage Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**obj_debug_payload** | [**CommonResponseObjDebugPayload**](CommonResponseObjDebugPayload.md) | | +**obj_debug** | [**CommonResponseObjDebug**](CommonResponseObjDebug.md) | | [optional] **m_payload** | [**DiscussionmessageCreateObjectV1ResponseMPayload**](DiscussionmessageCreateObjectV1ResponseMPayload.md) | | ## Example diff --git a/docs/DiscussionmessageDeleteObjectV1Response.md b/docs/DiscussionmessageDeleteObjectV1Response.md index 9dc14bdbf..54adfa14f 100644 --- a/docs/DiscussionmessageDeleteObjectV1Response.md +++ b/docs/DiscussionmessageDeleteObjectV1Response.md @@ -6,6 +6,8 @@ Response for DELETE /1/object/discussionmessage/{pkiDiscussionmessageID} Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**obj_debug_payload** | [**CommonResponseObjDebugPayload**](CommonResponseObjDebugPayload.md) | | +**obj_debug** | [**CommonResponseObjDebug**](CommonResponseObjDebug.md) | | [optional] ## Example diff --git a/docs/DiscussionmessagePatchObjectV1Response.md b/docs/DiscussionmessagePatchObjectV1Response.md index d8c20b66b..009c9ed1f 100644 --- a/docs/DiscussionmessagePatchObjectV1Response.md +++ b/docs/DiscussionmessagePatchObjectV1Response.md @@ -6,6 +6,8 @@ Response for PATCH /1/object/discussionmessage/{pkiDiscussionmessageID} Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**obj_debug_payload** | [**CommonResponseObjDebugPayload**](CommonResponseObjDebugPayload.md) | | +**obj_debug** | [**CommonResponseObjDebug**](CommonResponseObjDebug.md) | | [optional] ## Example diff --git a/docs/DiscussionmessageRequestCompound.md b/docs/DiscussionmessageRequestCompound.md index df0814320..ae5c3cf7b 100644 --- a/docs/DiscussionmessageRequestCompound.md +++ b/docs/DiscussionmessageRequestCompound.md @@ -6,6 +6,10 @@ A Discussionmessage Object and children Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**pki_discussionmessage_id** | **int** | The unique ID of the Discussionmessage | [optional] +**fki_discussion_id** | **int** | The unique ID of the Discussion | +**fki_discussionmembership_id_actionrequired** | **int** | The unique ID of the Discussionmembership | [optional] +**t_discussionmessage_content** | **str** | The content of the Discussionmessage | ## Example diff --git a/docs/DiscussionmessageResponseCompound.md b/docs/DiscussionmessageResponseCompound.md index 0a8c7a8d5..870e484ad 100644 --- a/docs/DiscussionmessageResponseCompound.md +++ b/docs/DiscussionmessageResponseCompound.md @@ -6,6 +6,15 @@ A Discussionmessage Object and children Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**pki_discussionmessage_id** | **int** | The unique ID of the Discussionmessage | +**fki_discussion_id** | **int** | The unique ID of the Discussion | +**fki_discussionmembership_id** | **int** | The unique ID of the Discussionmembership | [optional] +**fki_discussionmembership_id_actionrequired** | **int** | The unique ID of the Discussionmembership | [optional] +**e_discussionmessage_status** | [**FieldEDiscussionmessageStatus**](FieldEDiscussionmessageStatus.md) | | +**t_discussionmessage_content** | **str** | The content of the Discussionmessage | +**s_discussionmessage_creatorname** | **str** | The name the creator of the Discussionmessage. | +**s_discussionmessage_actionrequiredname** | **str** | The name the Actionrequired of the Discussionmessage. | [optional] +**obj_audit** | [**CommonAudit**](CommonAudit.md) | | ## Example diff --git a/docs/DomainCreateObjectV1Response.md b/docs/DomainCreateObjectV1Response.md index 231f79135..4248c34ad 100644 --- a/docs/DomainCreateObjectV1Response.md +++ b/docs/DomainCreateObjectV1Response.md @@ -6,6 +6,8 @@ Response for POST /1/object/domain Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**obj_debug_payload** | [**CommonResponseObjDebugPayload**](CommonResponseObjDebugPayload.md) | | +**obj_debug** | [**CommonResponseObjDebug**](CommonResponseObjDebug.md) | | [optional] **m_payload** | [**DomainCreateObjectV1ResponseMPayload**](DomainCreateObjectV1ResponseMPayload.md) | | ## Example diff --git a/docs/DomainDeleteObjectV1Response.md b/docs/DomainDeleteObjectV1Response.md index 70185f3d1..e5be438a3 100644 --- a/docs/DomainDeleteObjectV1Response.md +++ b/docs/DomainDeleteObjectV1Response.md @@ -6,6 +6,8 @@ Response for DELETE /1/object/domain/{pkiDomainID} Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**obj_debug_payload** | [**CommonResponseObjDebugPayload**](CommonResponseObjDebugPayload.md) | | +**obj_debug** | [**CommonResponseObjDebug**](CommonResponseObjDebug.md) | | [optional] ## Example diff --git a/docs/DomainGetListV1Response.md b/docs/DomainGetListV1Response.md index 25f7bec8c..0e737abc6 100644 --- a/docs/DomainGetListV1Response.md +++ b/docs/DomainGetListV1Response.md @@ -6,6 +6,8 @@ Response for GET /1/object/domain/getList Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**obj_debug_payload** | [**CommonResponseObjDebugPayloadGetList**](CommonResponseObjDebugPayloadGetList.md) | | +**obj_debug** | [**CommonResponseObjDebug**](CommonResponseObjDebug.md) | | [optional] **m_payload** | [**DomainGetListV1ResponseMPayload**](DomainGetListV1ResponseMPayload.md) | | ## Example diff --git a/docs/DomainGetListV1ResponseMPayload.md b/docs/DomainGetListV1ResponseMPayload.md index 402432a4a..f9fc7c17b 100644 --- a/docs/DomainGetListV1ResponseMPayload.md +++ b/docs/DomainGetListV1ResponseMPayload.md @@ -6,6 +6,8 @@ Payload for GET /1/object/domain/getList Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**i_row_returned** | **int** | The number of rows returned | +**i_row_filtered** | **int** | The number of rows matching your filters (if any) or the total number of rows | **a_obj_domain** | [**List[DomainListElement]**](DomainListElement.md) | | ## Example diff --git a/docs/DomainGetObjectV2Response.md b/docs/DomainGetObjectV2Response.md index 882404d69..63109a5d9 100644 --- a/docs/DomainGetObjectV2Response.md +++ b/docs/DomainGetObjectV2Response.md @@ -6,6 +6,8 @@ Response for GET /2/object/domain/{pkiDomainID} Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**obj_debug_payload** | [**CommonResponseObjDebugPayload**](CommonResponseObjDebugPayload.md) | | +**obj_debug** | [**CommonResponseObjDebug**](CommonResponseObjDebug.md) | | [optional] **m_payload** | [**DomainGetObjectV2ResponseMPayload**](DomainGetObjectV2ResponseMPayload.md) | | ## Example diff --git a/docs/DomainRequestCompound.md b/docs/DomainRequestCompound.md index bc1e361e6..db34ba5f9 100644 --- a/docs/DomainRequestCompound.md +++ b/docs/DomainRequestCompound.md @@ -6,6 +6,8 @@ A Domain Object and children Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**pki_domain_id** | **int** | The unique ID of the Domain | [optional] +**s_domain_name** | **str** | The name of the Domain | ## Example diff --git a/docs/DomainResponseCompound.md b/docs/DomainResponseCompound.md index b3c5500d7..4e2120dd5 100644 --- a/docs/DomainResponseCompound.md +++ b/docs/DomainResponseCompound.md @@ -6,7 +6,13 @@ A Domain Object Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**a_obj_dnsrecord** | **List[CustomDnsrecordResponse]** | | +**pki_domain_id** | **int** | The unique ID of the Domain | +**s_domain_name** | **str** | The name of the Domain | +**b_domain_validdkim** | **bool** | Whether the DKIM is valid or not | +**b_domain_validmailfrom** | **bool** | Whether the mail from is valid or not | +**b_domain_validcustomer** | **bool** | Whether the customer has access to it or not | +**obj_audit** | [**CommonAudit**](CommonAudit.md) | | +**a_obj_dnsrecord** | [**List[CustomDnsrecordResponse]**](CustomDnsrecordResponse.md) | | ## Example diff --git a/docs/ElectronicfundstransferGetCommunicationCountV1Response.md b/docs/ElectronicfundstransferGetCommunicationCountV1Response.md index d7c6783b1..bf9bc7aee 100644 --- a/docs/ElectronicfundstransferGetCommunicationCountV1Response.md +++ b/docs/ElectronicfundstransferGetCommunicationCountV1Response.md @@ -6,6 +6,8 @@ Response for GET /1/object/electronicfundstransfer/{pkiElectronicfundstransferID Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**obj_debug_payload** | [**CommonResponseObjDebugPayload**](CommonResponseObjDebugPayload.md) | | +**obj_debug** | [**CommonResponseObjDebug**](CommonResponseObjDebug.md) | | [optional] **m_payload** | [**ElectronicfundstransferGetCommunicationCountV1ResponseMPayload**](ElectronicfundstransferGetCommunicationCountV1ResponseMPayload.md) | | ## Example diff --git a/docs/ElectronicfundstransferGetCommunicationListV1Response.md b/docs/ElectronicfundstransferGetCommunicationListV1Response.md index e9cf8cdb3..45b292039 100644 --- a/docs/ElectronicfundstransferGetCommunicationListV1Response.md +++ b/docs/ElectronicfundstransferGetCommunicationListV1Response.md @@ -6,6 +6,8 @@ Response for GET /1/object/electronicfundstransfer/{pkiElectronicfundstransferID Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**obj_debug_payload** | [**CommonResponseObjDebugPayloadGetList**](CommonResponseObjDebugPayloadGetList.md) | | +**obj_debug** | [**CommonResponseObjDebug**](CommonResponseObjDebug.md) | | [optional] **m_payload** | [**ElectronicfundstransferGetCommunicationListV1ResponseMPayload**](ElectronicfundstransferGetCommunicationListV1ResponseMPayload.md) | | ## Example diff --git a/docs/ElectronicfundstransferGetCommunicationrecipientsV1Response.md b/docs/ElectronicfundstransferGetCommunicationrecipientsV1Response.md index 7b0ea862e..aa68de070 100644 --- a/docs/ElectronicfundstransferGetCommunicationrecipientsV1Response.md +++ b/docs/ElectronicfundstransferGetCommunicationrecipientsV1Response.md @@ -6,6 +6,8 @@ Response for GET /1/object/electronicfundstransfer/{pkiElectronicfundstransferID Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**obj_debug_payload** | [**CommonResponseObjDebugPayload**](CommonResponseObjDebugPayload.md) | | +**obj_debug** | [**CommonResponseObjDebug**](CommonResponseObjDebug.md) | | [optional] **m_payload** | [**ElectronicfundstransferGetCommunicationrecipientsV1ResponseMPayload**](ElectronicfundstransferGetCommunicationrecipientsV1ResponseMPayload.md) | | ## Example diff --git a/docs/ElectronicfundstransferGetCommunicationsendersV1Response.md b/docs/ElectronicfundstransferGetCommunicationsendersV1Response.md index c53c7e906..20316be1e 100644 --- a/docs/ElectronicfundstransferGetCommunicationsendersV1Response.md +++ b/docs/ElectronicfundstransferGetCommunicationsendersV1Response.md @@ -6,6 +6,8 @@ Response for GET /1/object/electronicfundstransfer/{pkiElectronicfundstransferID Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**obj_debug_payload** | [**CommonResponseObjDebugPayload**](CommonResponseObjDebugPayload.md) | | +**obj_debug** | [**CommonResponseObjDebug**](CommonResponseObjDebug.md) | | [optional] **m_payload** | [**ElectronicfundstransferGetCommunicationsendersV1ResponseMPayload**](ElectronicfundstransferGetCommunicationsendersV1ResponseMPayload.md) | | ## Example diff --git a/docs/EmailtypeGetAutocompleteV2Response.md b/docs/EmailtypeGetAutocompleteV2Response.md index 6769a00cb..91648a201 100644 --- a/docs/EmailtypeGetAutocompleteV2Response.md +++ b/docs/EmailtypeGetAutocompleteV2Response.md @@ -6,6 +6,8 @@ Response for GET /2/object/emailtype/getAutocomplete Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**obj_debug_payload** | [**CommonResponseObjDebugPayload**](CommonResponseObjDebugPayload.md) | | +**obj_debug** | [**CommonResponseObjDebug**](CommonResponseObjDebug.md) | | [optional] **m_payload** | [**EmailtypeGetAutocompleteV2ResponseMPayload**](EmailtypeGetAutocompleteV2ResponseMPayload.md) | | ## Example diff --git a/docs/EzdoctemplatedocumentCreateObjectV1Response.md b/docs/EzdoctemplatedocumentCreateObjectV1Response.md index da5284d87..d1925d1dc 100644 --- a/docs/EzdoctemplatedocumentCreateObjectV1Response.md +++ b/docs/EzdoctemplatedocumentCreateObjectV1Response.md @@ -6,6 +6,8 @@ Response for POST /1/object/ezdoctemplatedocument Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**obj_debug_payload** | [**CommonResponseObjDebugPayload**](CommonResponseObjDebugPayload.md) | | +**obj_debug** | [**CommonResponseObjDebug**](CommonResponseObjDebug.md) | | [optional] **m_payload** | [**EzdoctemplatedocumentCreateObjectV1ResponseMPayload**](EzdoctemplatedocumentCreateObjectV1ResponseMPayload.md) | | ## Example diff --git a/docs/EzdoctemplatedocumentEditObjectV1Response.md b/docs/EzdoctemplatedocumentEditObjectV1Response.md index 29f1fd6f8..8155bb89c 100644 --- a/docs/EzdoctemplatedocumentEditObjectV1Response.md +++ b/docs/EzdoctemplatedocumentEditObjectV1Response.md @@ -6,6 +6,8 @@ Response for PUT /1/object/ezdoctemplatedocument/{pkiEzdoctemplatedocumentID} Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**obj_debug_payload** | [**CommonResponseObjDebugPayload**](CommonResponseObjDebugPayload.md) | | +**obj_debug** | [**CommonResponseObjDebug**](CommonResponseObjDebug.md) | | [optional] ## Example diff --git a/docs/EzdoctemplatedocumentGetAutocompleteV2Response.md b/docs/EzdoctemplatedocumentGetAutocompleteV2Response.md index 89ffb7695..4e5a76aaf 100644 --- a/docs/EzdoctemplatedocumentGetAutocompleteV2Response.md +++ b/docs/EzdoctemplatedocumentGetAutocompleteV2Response.md @@ -6,6 +6,8 @@ Response for GET /2/object/ezdoctemplatedocument/getAutocomplete Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**obj_debug_payload** | [**CommonResponseObjDebugPayload**](CommonResponseObjDebugPayload.md) | | +**obj_debug** | [**CommonResponseObjDebug**](CommonResponseObjDebug.md) | | [optional] **m_payload** | [**EzdoctemplatedocumentGetAutocompleteV2ResponseMPayload**](EzdoctemplatedocumentGetAutocompleteV2ResponseMPayload.md) | | ## Example diff --git a/docs/EzdoctemplatedocumentGetListV1Response.md b/docs/EzdoctemplatedocumentGetListV1Response.md index d4edc5b95..428781ebb 100644 --- a/docs/EzdoctemplatedocumentGetListV1Response.md +++ b/docs/EzdoctemplatedocumentGetListV1Response.md @@ -6,6 +6,8 @@ Response for GET /1/object/ezdoctemplatedocument/getList Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**obj_debug_payload** | [**CommonResponseObjDebugPayloadGetList**](CommonResponseObjDebugPayloadGetList.md) | | +**obj_debug** | [**CommonResponseObjDebug**](CommonResponseObjDebug.md) | | [optional] **m_payload** | [**EzdoctemplatedocumentGetListV1ResponseMPayload**](EzdoctemplatedocumentGetListV1ResponseMPayload.md) | | ## Example diff --git a/docs/EzdoctemplatedocumentGetListV1ResponseMPayload.md b/docs/EzdoctemplatedocumentGetListV1ResponseMPayload.md index def7aa117..f1744ca46 100644 --- a/docs/EzdoctemplatedocumentGetListV1ResponseMPayload.md +++ b/docs/EzdoctemplatedocumentGetListV1ResponseMPayload.md @@ -6,6 +6,8 @@ Payload for GET /1/object/ezdoctemplatedocument/getList Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**i_row_returned** | **int** | The number of rows returned | +**i_row_filtered** | **int** | The number of rows matching your filters (if any) or the total number of rows | **a_obj_ezdoctemplatedocument** | [**List[EzdoctemplatedocumentListElement]**](EzdoctemplatedocumentListElement.md) | | ## Example diff --git a/docs/EzdoctemplatedocumentGetObjectV2Response.md b/docs/EzdoctemplatedocumentGetObjectV2Response.md index f7c8a2602..3ff785145 100644 --- a/docs/EzdoctemplatedocumentGetObjectV2Response.md +++ b/docs/EzdoctemplatedocumentGetObjectV2Response.md @@ -6,6 +6,8 @@ Response for GET /2/object/ezdoctemplatedocument/{pkiEzdoctemplatedocumentID} Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**obj_debug_payload** | [**CommonResponseObjDebugPayload**](CommonResponseObjDebugPayload.md) | | +**obj_debug** | [**CommonResponseObjDebug**](CommonResponseObjDebug.md) | | [optional] **m_payload** | [**EzdoctemplatedocumentGetObjectV2ResponseMPayload**](EzdoctemplatedocumentGetObjectV2ResponseMPayload.md) | | ## Example diff --git a/docs/EzdoctemplatedocumentPatchObjectV1Response.md b/docs/EzdoctemplatedocumentPatchObjectV1Response.md index 94974554a..030dd9fb9 100644 --- a/docs/EzdoctemplatedocumentPatchObjectV1Response.md +++ b/docs/EzdoctemplatedocumentPatchObjectV1Response.md @@ -6,6 +6,8 @@ Response for PATCH /1/object/ezdoctemplatedocument/{pkiEzdoctemplatedocumentID} Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**obj_debug_payload** | [**CommonResponseObjDebugPayload**](CommonResponseObjDebugPayload.md) | | +**obj_debug** | [**CommonResponseObjDebug**](CommonResponseObjDebug.md) | | [optional] ## Example diff --git a/docs/EzdoctemplatedocumentRequestCompound.md b/docs/EzdoctemplatedocumentRequestCompound.md index 197bd26cf..2e612e4ed 100644 --- a/docs/EzdoctemplatedocumentRequestCompound.md +++ b/docs/EzdoctemplatedocumentRequestCompound.md @@ -6,6 +6,14 @@ A Ezdoctemplatedocument Object and children Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**pki_ezdoctemplatedocument_id** | **int** | The unique ID of the Ezdoctemplatedocument | [optional] +**fki_language_id** | **int** | The unique ID of the Language. Valid values: |Value|Description| |-|-| |1|French| |2|English| | +**fki_ezsignfoldertype_id** | **int** | The unique ID of the Ezsignfoldertype. | [optional] +**fki_ezdoctemplatetype_id** | **int** | The unique ID of the Ezdoctemplatetype | +**fki_ezdoctemplatefieldtypecategory_id** | **int** | The unique ID of the Ezdoctemplatefieldtypecategory | +**e_ezdoctemplatedocument_privacylevel** | [**FieldEEzdoctemplatedocumentPrivacylevel**](FieldEEzdoctemplatedocumentPrivacylevel.md) | | [optional] +**b_ezdoctemplatedocument_isactive** | **bool** | Whether the ezdoctemplatedocument is active or not | +**obj_ezdoctemplatedocument_name** | [**MultilingualEzdoctemplatedocumentName**](MultilingualEzdoctemplatedocumentName.md) | | ## Example diff --git a/docs/EzdoctemplatedocumentResponseCompound.md b/docs/EzdoctemplatedocumentResponseCompound.md index 14bbac7bb..df04f6691 100644 --- a/docs/EzdoctemplatedocumentResponseCompound.md +++ b/docs/EzdoctemplatedocumentResponseCompound.md @@ -6,6 +6,18 @@ A Ezdoctemplatedocument Object Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**pki_ezdoctemplatedocument_id** | **int** | The unique ID of the Ezdoctemplatedocument | +**fki_language_id** | **int** | The unique ID of the Language. Valid values: |Value|Description| |-|-| |1|French| |2|English| | +**fki_ezsignfoldertype_id** | **int** | The unique ID of the Ezsignfoldertype. | [optional] +**fki_ezdoctemplatetype_id** | **int** | The unique ID of the Ezdoctemplatetype | +**fki_ezdoctemplatefieldtypecategory_id** | **int** | The unique ID of the Ezdoctemplatefieldtypecategory | +**e_ezdoctemplatedocument_privacylevel** | [**FieldEEzdoctemplatedocumentPrivacylevel**](FieldEEzdoctemplatedocumentPrivacylevel.md) | | [optional] +**b_ezdoctemplatedocument_isactive** | **bool** | Whether the ezdoctemplatedocument is active or not | +**obj_ezdoctemplatedocument_name** | [**MultilingualEzdoctemplatedocumentName**](MultilingualEzdoctemplatedocumentName.md) | | +**s_ezdoctemplatedocument_name_x** | **str** | The name of the Ezdoctemplatedocument in the language of the requester | [optional] +**s_ezsignfoldertype_name_x** | **str** | The name of the Ezsignfoldertype in the language of the requester | [optional] +**s_ezdoctemplatefieldtypecategory_description_x** | **str** | The description of the Ezdoctemplatefieldtypecategory in the language of the requester | +**s_ezdoctemplatetype_description_x** | **str** | The description of the Ezdoctemplatetype in the language of the requester | ## Example diff --git a/docs/EzdoctemplatefieldtypecategoryGetAutocompleteV2Response.md b/docs/EzdoctemplatefieldtypecategoryGetAutocompleteV2Response.md index 15b6a6588..716de0d70 100644 --- a/docs/EzdoctemplatefieldtypecategoryGetAutocompleteV2Response.md +++ b/docs/EzdoctemplatefieldtypecategoryGetAutocompleteV2Response.md @@ -6,6 +6,8 @@ Response for GET /2/object/ezdoctemplatefieldtypecategory/getAutocomplete Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**obj_debug_payload** | [**CommonResponseObjDebugPayload**](CommonResponseObjDebugPayload.md) | | +**obj_debug** | [**CommonResponseObjDebug**](CommonResponseObjDebug.md) | | [optional] **m_payload** | [**EzdoctemplatefieldtypecategoryGetAutocompleteV2ResponseMPayload**](EzdoctemplatefieldtypecategoryGetAutocompleteV2ResponseMPayload.md) | | ## Example diff --git a/docs/EzdoctemplatetypeGetAutocompleteV2Response.md b/docs/EzdoctemplatetypeGetAutocompleteV2Response.md index 525453148..d7ae2a564 100644 --- a/docs/EzdoctemplatetypeGetAutocompleteV2Response.md +++ b/docs/EzdoctemplatetypeGetAutocompleteV2Response.md @@ -6,6 +6,8 @@ Response for GET /2/object/ezdoctemplatetype/getAutocomplete Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**obj_debug_payload** | [**CommonResponseObjDebugPayload**](CommonResponseObjDebugPayload.md) | | +**obj_debug** | [**CommonResponseObjDebug**](CommonResponseObjDebug.md) | | [optional] **m_payload** | [**EzdoctemplatetypeGetAutocompleteV2ResponseMPayload**](EzdoctemplatetypeGetAutocompleteV2ResponseMPayload.md) | | ## Example diff --git a/docs/EzmaxinvoicingGetAutocompleteV2Response.md b/docs/EzmaxinvoicingGetAutocompleteV2Response.md index 3b673bc11..905f8dc97 100644 --- a/docs/EzmaxinvoicingGetAutocompleteV2Response.md +++ b/docs/EzmaxinvoicingGetAutocompleteV2Response.md @@ -6,6 +6,8 @@ Response for GET /2/object/ezmaxinvoicing/getAutocomplete Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**obj_debug_payload** | [**CommonResponseObjDebugPayload**](CommonResponseObjDebugPayload.md) | | +**obj_debug** | [**CommonResponseObjDebug**](CommonResponseObjDebug.md) | | [optional] **m_payload** | [**EzmaxinvoicingGetAutocompleteV2ResponseMPayload**](EzmaxinvoicingGetAutocompleteV2ResponseMPayload.md) | | ## Example diff --git a/docs/EzmaxinvoicingGetObjectV2Response.md b/docs/EzmaxinvoicingGetObjectV2Response.md index c2bbb7df3..9a5db4afb 100644 --- a/docs/EzmaxinvoicingGetObjectV2Response.md +++ b/docs/EzmaxinvoicingGetObjectV2Response.md @@ -6,6 +6,8 @@ Response for GET /2/object/ezmaxinvoicing/{pkiEzmaxinvoicingID} Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**obj_debug_payload** | [**CommonResponseObjDebugPayload**](CommonResponseObjDebugPayload.md) | | +**obj_debug** | [**CommonResponseObjDebug**](CommonResponseObjDebug.md) | | [optional] **m_payload** | [**EzmaxinvoicingGetObjectV2ResponseMPayload**](EzmaxinvoicingGetObjectV2ResponseMPayload.md) | | ## Example diff --git a/docs/EzmaxinvoicingGetProvisionalV1Response.md b/docs/EzmaxinvoicingGetProvisionalV1Response.md index 1740e7ee8..ef8caf8fe 100644 --- a/docs/EzmaxinvoicingGetProvisionalV1Response.md +++ b/docs/EzmaxinvoicingGetProvisionalV1Response.md @@ -6,7 +6,9 @@ Response for GET /1/object/ezmaxinvoicing/getProvisional Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**m_payload** | [**EzmaxinvoicingResponseCompound**](EzmaxinvoicingResponseCompound.md) | Payload for GET /1/object/ezmaxinvoicing/getProvisional | +**obj_debug_payload** | [**CommonResponseObjDebugPayload**](CommonResponseObjDebugPayload.md) | | +**obj_debug** | [**CommonResponseObjDebug**](CommonResponseObjDebug.md) | | [optional] +**m_payload** | [**EzmaxinvoicingGetProvisionalV1ResponseMPayload**](EzmaxinvoicingGetProvisionalV1ResponseMPayload.md) | | ## Example diff --git a/docs/EzmaxinvoicingGetProvisionalV1ResponseMPayload.md b/docs/EzmaxinvoicingGetProvisionalV1ResponseMPayload.md index 01feb0c84..4982cf17a 100644 --- a/docs/EzmaxinvoicingGetProvisionalV1ResponseMPayload.md +++ b/docs/EzmaxinvoicingGetProvisionalV1ResponseMPayload.md @@ -6,6 +6,28 @@ Payload for GET /1/object/ezmaxinvoicing/getProvisional Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**pki_ezmaxinvoicing_id** | **int** | The unique ID of the Ezmaxinvoicing | [optional] +**fki_ezmaxinvoicingcontract_id** | **int** | The unique ID of the Ezmaxinvoicingcontract | +**fki_ezmaxpricing_id** | **int** | The unique ID of the Ezmaxpricing | +**fki_systemconfigurationtype_id** | **int** | The unique ID of the Systemconfigurationtype | +**s_systemconfigurationtype_description_x** | **str** | The description of the Systemconfigurationtype in the language of the requester | +**yyyymm_ezmaxinvoicing** | **str** | The YYYYMM period of the Ezmaxinvoicing | +**i_ezmaxinvoicing_days** | **int** | The number of days invoiced | +**e_ezmaxinvoicing_paymenttype** | [**FieldEEzmaxinvoicingPaymenttype**](FieldEEzmaxinvoicingPaymenttype.md) | | +**d_ezmaxinvoicing_rebatepaymenttype** | **str** | The percentage of rebate depending of the payment type | +**i_ezmaxinvoicing_contractlength** | **int** | The length of the contract in years | +**d_ezmaxinvoicing_rebatecontractlength** | **str** | The percentage of rebate depending of the contract length | +**b_ezmaxinvoicing_rebate_ezsignallagents** | **bool** | Whether the rebate for eZsign is for all agents | +**obj_audit** | [**CommonAudit**](CommonAudit.md) | | [optional] +**obj_ezmaxinvoicingcontract** | [**EzmaxinvoicingcontractResponseCompound**](EzmaxinvoicingcontractResponseCompound.md) | | +**obj_ezmaxpricing** | [**CustomEzmaxpricingResponse**](CustomEzmaxpricingResponse.md) | | +**a_obj_ezmaxinvoicingsummaryglobal** | [**List[EzmaxinvoicingsummaryglobalResponseCompound]**](EzmaxinvoicingsummaryglobalResponseCompound.md) | | +**a_obj_ezmaxinvoicingsummaryexternal** | [**List[EzmaxinvoicingsummaryexternalResponseCompound]**](EzmaxinvoicingsummaryexternalResponseCompound.md) | | +**a_obj_ezmaxinvoicingsummaryinternal** | [**List[EzmaxinvoicingsummaryinternalResponseCompound]**](EzmaxinvoicingsummaryinternalResponseCompound.md) | | +**a_obj_ezmaxinvoicingagent** | [**List[EzmaxinvoicingagentResponseCompound]**](EzmaxinvoicingagentResponseCompound.md) | | +**a_obj_ezmaxinvoicinguser** | [**List[EzmaxinvoicinguserResponseCompound]**](EzmaxinvoicinguserResponseCompound.md) | | +**a_obj_ezmaxinvoicingezsignfolder** | [**List[CustomEzmaxinvoicingEzsignfolderResponse]**](CustomEzmaxinvoicingEzsignfolderResponse.md) | | +**a_obj_ezmaxinvoicingezsigndocument** | [**List[CustomEzmaxinvoicingEzsigndocumentResponse]**](CustomEzmaxinvoicingEzsigndocumentResponse.md) | | ## Example diff --git a/docs/EzmaxinvoicingResponseCompound.md b/docs/EzmaxinvoicingResponseCompound.md index cdfe34905..3f0f17996 100644 --- a/docs/EzmaxinvoicingResponseCompound.md +++ b/docs/EzmaxinvoicingResponseCompound.md @@ -6,6 +6,19 @@ A Ezmaxinvoicing Object Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**pki_ezmaxinvoicing_id** | **int** | The unique ID of the Ezmaxinvoicing | [optional] +**fki_ezmaxinvoicingcontract_id** | **int** | The unique ID of the Ezmaxinvoicingcontract | +**fki_ezmaxpricing_id** | **int** | The unique ID of the Ezmaxpricing | +**fki_systemconfigurationtype_id** | **int** | The unique ID of the Systemconfigurationtype | +**s_systemconfigurationtype_description_x** | **str** | The description of the Systemconfigurationtype in the language of the requester | +**yyyymm_ezmaxinvoicing** | **str** | The YYYYMM period of the Ezmaxinvoicing | +**i_ezmaxinvoicing_days** | **int** | The number of days invoiced | +**e_ezmaxinvoicing_paymenttype** | [**FieldEEzmaxinvoicingPaymenttype**](FieldEEzmaxinvoicingPaymenttype.md) | | +**d_ezmaxinvoicing_rebatepaymenttype** | **str** | The percentage of rebate depending of the payment type | +**i_ezmaxinvoicing_contractlength** | **int** | The length of the contract in years | +**d_ezmaxinvoicing_rebatecontractlength** | **str** | The percentage of rebate depending of the contract length | +**b_ezmaxinvoicing_rebate_ezsignallagents** | **bool** | Whether the rebate for eZsign is for all agents | +**obj_audit** | [**CommonAudit**](CommonAudit.md) | | [optional] **obj_ezmaxinvoicingcontract** | [**EzmaxinvoicingcontractResponseCompound**](EzmaxinvoicingcontractResponseCompound.md) | | **obj_ezmaxpricing** | [**CustomEzmaxpricingResponse**](CustomEzmaxpricingResponse.md) | | **a_obj_ezmaxinvoicingsummaryglobal** | [**List[EzmaxinvoicingsummaryglobalResponseCompound]**](EzmaxinvoicingsummaryglobalResponseCompound.md) | | @@ -13,8 +26,8 @@ Name | Type | Description | Notes **a_obj_ezmaxinvoicingsummaryinternal** | [**List[EzmaxinvoicingsummaryinternalResponseCompound]**](EzmaxinvoicingsummaryinternalResponseCompound.md) | | **a_obj_ezmaxinvoicingagent** | [**List[EzmaxinvoicingagentResponseCompound]**](EzmaxinvoicingagentResponseCompound.md) | | **a_obj_ezmaxinvoicinguser** | [**List[EzmaxinvoicinguserResponseCompound]**](EzmaxinvoicinguserResponseCompound.md) | | -**a_obj_ezmaxinvoicingezsignfolder** | **List[CustomEzmaxinvoicingEzsignfolderResponse]** | | -**a_obj_ezmaxinvoicingezsigndocument** | **List[CustomEzmaxinvoicingEzsigndocumentResponse]** | | +**a_obj_ezmaxinvoicingezsignfolder** | [**List[CustomEzmaxinvoicingEzsignfolderResponse]**](CustomEzmaxinvoicingEzsignfolderResponse.md) | | +**a_obj_ezmaxinvoicingezsigndocument** | [**List[CustomEzmaxinvoicingEzsigndocumentResponse]**](CustomEzmaxinvoicingEzsigndocumentResponse.md) | | ## Example diff --git a/docs/EzmaxinvoicingagentResponseCompound.md b/docs/EzmaxinvoicingagentResponseCompound.md index 297fff1d6..ca7ad7326 100644 --- a/docs/EzmaxinvoicingagentResponseCompound.md +++ b/docs/EzmaxinvoicingagentResponseCompound.md @@ -6,6 +6,26 @@ A Ezmaxinvoicingagent Object Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**pki_ezmaxinvoicingagent_id** | **int** | The unique ID of the Ezmaxinvoicingagent | [optional] +**fki_ezmaxinvoicing_id** | **int** | The unique ID of the Ezmaxinvoicing | [optional] +**fki_billingentityinternal_id** | **int** | The unique ID of the Billingentityinternal. | +**s_billingentityinternal_description_x** | **str** | The description of the Billingentityinternal in the language of the requester | +**fki_agent_id** | **int** | The unique ID of the Agent. | [optional] +**fki_broker_id** | **int** | The unique ID of the Broker. | [optional] +**i_ezmaxinvoicingagent_session** | **int** | The number of sessions | +**i_ezmaxinvoicingagent_cloned** | **int** | The number of times this user was cloned | +**i_ezmaxinvoicingagent_invoice** | **int** | The number of invoices | +**i_ezmaxinvoicingagent_inscription** | **int** | The number of inscriptions | +**i_ezmaxinvoicingagent_inscriptionactive** | **int** | The number of active inscriptions | +**i_ezmaxinvoicingagent_sale** | **int** | The number of sales | +**i_ezmaxinvoicingagent_otherincome** | **int** | The number of otherincomes | +**i_ezmaxinvoicingagent_commissioncalculation** | **int** | The number of commission calculations | +**i_ezmaxinvoicingagent_ezsigndocument** | **int** | The number of ezsign documents | +**b_ezmaxinvoicingagent_ezsignaccount** | **bool** | Whether the agent has an eZsign account | +**b_ezmaxinvoicingagent_billableezmax** | **bool** | Whether it is billable for eZmax | +**e_ezmaxinvoicingagent_variationezmax** | [**FieldEEzmaxinvoicingagentVariationezmax**](FieldEEzmaxinvoicingagentVariationezmax.md) | | +**b_ezmaxinvoicingagent_billableezsign** | **bool** | Whether it is billable for eZsign | +**e_ezmaxinvoicingagent_variationezsign** | [**FieldEEzmaxinvoicingagentVariationezsign**](FieldEEzmaxinvoicingagentVariationezsign.md) | | **obj_contact_name** | [**CustomContactNameResponse**](CustomContactNameResponse.md) | | ## Example diff --git a/docs/EzmaxinvoicingcommissionResponseCompound.md b/docs/EzmaxinvoicingcommissionResponseCompound.md index 678a9900e..c9bd6e277 100644 --- a/docs/EzmaxinvoicingcommissionResponseCompound.md +++ b/docs/EzmaxinvoicingcommissionResponseCompound.md @@ -6,6 +6,14 @@ A Ezmaxinvoicingcommission Object Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**pki_ezmaxinvoicingcommission_id** | **int** | The unique ID of the Ezmaxinvoicingcommission | [optional] +**fki_ezmaxinvoicingsummaryglobal_id** | **int** | The unique ID of the Ezmaxinvoicingsummaryglobal | [optional] +**fki_ezmaxpartner_id** | **int** | The unique ID of the Ezmaxpartner | [optional] +**fki_ezmaxrepresentative_id** | **int** | The unique ID of the Ezmaxrepresentative | [optional] +**dt_ezmaxinvoicingcommission_start** | **str** | The start date for the Ezmaxinvoicingcommission | +**dt_ezmaxinvoicingcommission_end** | **str** | The end date for the Ezmaxinvoicingcommission | +**i_ezmaxinvoicingcommission_days** | **int** | This is the number of days during the month on which the Ezmaxinvoigcommission applies | +**d_ezmaxinvoicingcommission_amount** | **str** | The amount of Ezmaxinvoicingcommission | **obj_contact_name** | [**CustomContactNameResponse**](CustomContactNameResponse.md) | | [optional] ## Example diff --git a/docs/EzmaxinvoicingcontractResponseCompound.md b/docs/EzmaxinvoicingcontractResponseCompound.md index 75e1b7343..83ad288cf 100644 --- a/docs/EzmaxinvoicingcontractResponseCompound.md +++ b/docs/EzmaxinvoicingcontractResponseCompound.md @@ -6,6 +6,15 @@ A Ezmaxinvoicingcontract Object Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**pki_ezmaxinvoicingcontract_id** | **int** | The unique ID of the Ezmaxinvoicingcontract | +**e_ezmaxinvoicingcontract_paymenttype** | [**FieldEEzmaxinvoicingcontractPaymenttype**](FieldEEzmaxinvoicingcontractPaymenttype.md) | | +**i_ezmaxinvoicingcontract_length** | **int** | The length in years of the Ezmaxinvoicingcontract | +**dt_ezmaxinvoicingcontract_start** | **str** | The start date of the Ezmaxinvoicingcontract | +**dt_ezmaxinvoicingcontract_end** | **str** | The end date of the Ezmaxinvoicingcontract | +**d_ezmaxinvoicingcontract_license** | **str** | The price of the license | +**d_ezmaxinvoicingcontract121qa** | **str** | The price for 121QA | +**b_ezmaxinvoicingcontract_ezsignallagents** | **bool** | Whether eZsign is for all agents | +**obj_audit** | [**CommonAudit**](CommonAudit.md) | | ## Example diff --git a/docs/EzmaxinvoicingsummaryexternalResponseCompound.md b/docs/EzmaxinvoicingsummaryexternalResponseCompound.md index 1bccd55e5..0d2a41f5b 100644 --- a/docs/EzmaxinvoicingsummaryexternalResponseCompound.md +++ b/docs/EzmaxinvoicingsummaryexternalResponseCompound.md @@ -6,6 +6,11 @@ A Ezmaxinvoicingsummaryexternal Object Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**pki_ezmaxinvoicingsummaryexternal_id** | **int** | The unique ID of the Ezmaxinvoicingsummaryexternal | [optional] +**fki_ezmaxinvoicing_id** | **int** | The unique ID of the Ezmaxinvoicing | [optional] +**fki_billingentityexternal_id** | **int** | The unique ID of the Billingentityexternal | +**s_billingentityexternal_description** | **str** | The description of the Billingentityexternal | +**s_ezmaxinvoicingsummaryexternal_description** | **str** | The description of the Ezmaxinvoicingsummaryexternal | **a_obj_ezmaxinvoicingsummaryexternaldetail** | [**List[EzmaxinvoicingsummaryexternaldetailResponseCompound]**](EzmaxinvoicingsummaryexternaldetailResponseCompound.md) | | ## Example diff --git a/docs/EzmaxinvoicingsummaryexternaldetailResponseCompound.md b/docs/EzmaxinvoicingsummaryexternaldetailResponseCompound.md index 142598059..77d551469 100644 --- a/docs/EzmaxinvoicingsummaryexternaldetailResponseCompound.md +++ b/docs/EzmaxinvoicingsummaryexternaldetailResponseCompound.md @@ -6,6 +6,16 @@ A Ezmaxinvoicingsummaryexternaldetail Object Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**pki_ezmaxinvoicingsummaryexternaldetail_id** | **int** | The unique ID of the Ezmaxinvoicingsummaryexternaldetail | [optional] +**fki_ezmaxinvoicingsummaryexternal_id** | **int** | The unique ID of the Ezmaxinvoicingsummaryexternal | [optional] +**fki_ezmaxproduct_id** | **int** | The unique ID of the Ezmaxproduct | +**s_ezmaxproduct_description_x** | **str** | The description of the Ezmaxproduct in the language of the requester | +**d_ezmaxinvoicingsummaryexternaldetail_countreal** | **str** | The count item invoiced for the product | +**d_ezmaxinvoicingsummaryexternaldetail_subtotal** | **str** | The subtotal invoiced for the product | +**d_ezmaxinvoicingsummaryexternaldetail_rebate** | **str** | The rebate for the product | +**d_ezmaxinvoicingsummaryexternaldetail_total** | **str** | The total invoiced for the product | +**b_ezmaxinvoicingsummaryexternaldetail_adjustment** | **bool** | Whether it's an adjustment | +**t_ezmaxproduct_help_x** | **str** | The help message of the Ezmaxproduct in the language of the requester | ## Example diff --git a/docs/EzmaxinvoicingsummaryglobalResponseCompound.md b/docs/EzmaxinvoicingsummaryglobalResponseCompound.md index d5999cf3c..b749ee20c 100644 --- a/docs/EzmaxinvoicingsummaryglobalResponseCompound.md +++ b/docs/EzmaxinvoicingsummaryglobalResponseCompound.md @@ -6,6 +6,25 @@ A Ezmaxinvoicingsummaryglobal Object Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**pki_ezmaxinvoicingsummaryglobal_id** | **int** | The unique ID of the Ezmaxinvoicingsummaryglobal | [optional] +**fki_ezmaxinvoicing_id** | **int** | The unique ID of the Ezmaxinvoicing | [optional] +**fki_ezmaxproduct_id** | **int** | The unique ID of the Ezmaxproduct | +**s_ezmaxproduct_description_x** | **str** | The description of the Ezmaxproduct in the language of the requester | +**dt_ezmaxinvoicingsummaryglobal_start** | **str** | The start date for the Ezmaxinvoicingsummaryglobal | +**dt_ezmaxinvoicingsummaryglobal_end** | **str** | The end date for the Ezmaxinvoicingsummaryglobal | +**i_ezmaxinvoicingsummaryglobal_days** | **int** | The number of days for the Ezmaxinvoicingsummaryglobal | +**d_ezmaxinvoicingsummaryglobal_countreal** | **str** | The count item calculated | +**d_ezmaxinvoicingsummaryglobal_countbilled** | **str** | The count item billed | +**d_ezmaxinvoicingsummaryglobal_subtotal** | **str** | The Ezmaxinvoicingsummaryglobal subtotal | +**d_ezmaxinvoicingsummaryglobal_rebateamount** | **str** | The rebate amount for the Ezmaxinvoicingsummaryglobal | +**d_ezmaxinvoicingsummaryglobal_rebatepercent** | **str** | The rebate percentage of the Ezmaxinvoicingsummaryglobal | +**d_ezmaxinvoicingsummaryglobal_rebatetotal** | **str** | The rebate amount total for the Ezmaxinvoicingsummaryglobal | +**d_ezmaxinvoicingsummaryglobal_total** | **str** | The Ezmaxinvoicingsummaryglobal total | +**d_ezmaxinvoicingsummaryglobal_representative** | **str** | The amount of commission for the representative | [optional] +**d_ezmaxinvoicingsummaryglobal_partner** | **str** | The amount of commission for the partner | [optional] +**d_ezmaxinvoicingsummaryglobal_net** | **str** | The net amount of the Ezmaxinvoicingsummaryglobal | [optional] +**b_ezmaxinvoicingsummaryglobal_adjustment** | **bool** | Whether it is adjustment for the Ezmaxinvoicingsummaryglobal | +**t_ezmaxproduct_help_x** | **str** | The help message of the Ezmaxproduct in the language of the requester | **a_obj_ezmaxinvoicingcommission** | [**List[EzmaxinvoicingcommissionResponseCompound]**](EzmaxinvoicingcommissionResponseCompound.md) | | [optional] ## Example diff --git a/docs/EzmaxinvoicingsummaryinternalResponseCompound.md b/docs/EzmaxinvoicingsummaryinternalResponseCompound.md index 46a0a5e50..e81500f92 100644 --- a/docs/EzmaxinvoicingsummaryinternalResponseCompound.md +++ b/docs/EzmaxinvoicingsummaryinternalResponseCompound.md @@ -6,6 +6,12 @@ A Ezmaxinvoicingsummaryinternal Object Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**pki_ezmaxinvoicingsummaryinternal_id** | **int** | The unique ID of the Ezmaxinvoicingsummaryinternal | [optional] +**obj_ezmaxinvoicingsummaryinternal_description** | [**MultilingualEzmaxinvoicingsummaryinternalDescription**](MultilingualEzmaxinvoicingsummaryinternalDescription.md) | | +**s_ezmaxinvoicingsummaryinternal_description_x** | **str** | The Ezmaxinvoicingsummaryinternal description in the language of the requester | +**fki_ezmaxinvoicing_id** | **int** | The unique ID of the Ezmaxinvoicing | [optional] +**fki_billingentityinternal_id** | **int** | The unique ID of the Billingentityinternal. | +**s_billingentityinternal_description_x** | **str** | The description of the Billingentityinternal in the language of the requester | **a_obj_ezmaxinvoicingsummaryinternaldetail** | [**List[EzmaxinvoicingsummaryinternaldetailResponseCompound]**](EzmaxinvoicingsummaryinternaldetailResponseCompound.md) | | ## Example diff --git a/docs/EzmaxinvoicingsummaryinternaldetailResponseCompound.md b/docs/EzmaxinvoicingsummaryinternaldetailResponseCompound.md index 8a49d2110..8eeb111d0 100644 --- a/docs/EzmaxinvoicingsummaryinternaldetailResponseCompound.md +++ b/docs/EzmaxinvoicingsummaryinternaldetailResponseCompound.md @@ -6,6 +6,18 @@ A Ezmaxinvoicingsummaryinternaldetail Object Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**pki_ezmaxinvoicingsummaryinternaldetail_id** | **int** | The unique ID of the Ezmaxinvoicingsummaryinternaldetail | [optional] +**fki_ezmaxinvoicingsummaryinternal_id** | **int** | The unique ID of the Ezmaxinvoicingsummaryinternal | [optional] +**fki_ezmaxproduct_id** | **int** | The unique ID of the Ezmaxproduct | +**s_ezmaxproduct_description_x** | **str** | The description of the Ezmaxproduct in the language of the requester | +**fki_billingentityexternal_id** | **int** | The unique ID of the Billingentityexternal | +**s_billingentityexternal_description** | **str** | The description of the Billingentityexternal | +**d_ezmaxinvoicingsummaryinternaldetail_countreal** | **str** | The count item invoiced for the product | +**d_ezmaxinvoicingsummaryinternaldetail_subtotal** | **str** | The subtotal invoiced for the product | +**d_ezmaxinvoicingsummaryinternaldetail_rebate** | **str** | The rebate for the product | +**d_ezmaxinvoicingsummaryinternaldetail_total** | **str** | The total invoiced for the product | +**b_ezmaxinvoicingsummaryinternaldetail_adjustment** | **bool** | Whether if it's an adjustment | +**t_ezmaxproduct_help_x** | **str** | The help message of the Ezmaxproduct in the language of the requester | ## Example diff --git a/docs/EzmaxinvoicinguserResponseCompound.md b/docs/EzmaxinvoicinguserResponseCompound.md index dd928b93f..619a051b0 100644 --- a/docs/EzmaxinvoicinguserResponseCompound.md +++ b/docs/EzmaxinvoicinguserResponseCompound.md @@ -6,6 +6,15 @@ A Ezmaxinvoicinguser Object Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**pki_ezmaxinvoicinguser_id** | **int** | The unique ID of the Ezmaxinvoicinguser | [optional] +**fki_ezmaxinvoicing_id** | **int** | The unique ID of the Ezmaxinvoicing | [optional] +**fki_billingentityinternal_id** | **int** | The unique ID of the Billingentityinternal. | +**s_billingentityinternal_description_x** | **str** | The description of the Billingentityinternal in the language of the requester | +**fki_user_id** | **int** | The unique ID of the User | +**i_ezmaxinvoicinguser_ezsigndocument** | **int** | The number of ezsign documents | +**b_ezmaxinvoicinguser_ezsignaccount** | **bool** | Whether there is an eZsign account | +**b_ezmaxinvoicinguser_billableezsign** | **bool** | Whether it is billable for eZsign | +**e_ezmaxinvoicinguser_variationezsign** | [**FieldEEzmaxinvoicinguserVariationezsign**](FieldEEzmaxinvoicinguserVariationezsign.md) | | **obj_contact_name** | [**CustomContactNameResponse**](CustomContactNameResponse.md) | | ## Example diff --git a/docs/EzmaxproductGetAutocompleteV2Response.md b/docs/EzmaxproductGetAutocompleteV2Response.md index 70bd630f8..661d2b492 100644 --- a/docs/EzmaxproductGetAutocompleteV2Response.md +++ b/docs/EzmaxproductGetAutocompleteV2Response.md @@ -6,6 +6,8 @@ Response for GET /2/object/ezmaxproduct/getAutocomplete Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**obj_debug_payload** | [**CommonResponseObjDebugPayload**](CommonResponseObjDebugPayload.md) | | +**obj_debug** | [**CommonResponseObjDebug**](CommonResponseObjDebug.md) | | [optional] **m_payload** | [**EzmaxproductGetAutocompleteV2ResponseMPayload**](EzmaxproductGetAutocompleteV2ResponseMPayload.md) | | ## Example diff --git a/docs/EzsignannotationCreateObjectV1Response.md b/docs/EzsignannotationCreateObjectV1Response.md index ba960552e..c55b40e00 100644 --- a/docs/EzsignannotationCreateObjectV1Response.md +++ b/docs/EzsignannotationCreateObjectV1Response.md @@ -6,6 +6,8 @@ Response for POST /1/object/ezsignannotation Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**obj_debug_payload** | [**CommonResponseObjDebugPayload**](CommonResponseObjDebugPayload.md) | | +**obj_debug** | [**CommonResponseObjDebug**](CommonResponseObjDebug.md) | | [optional] **m_payload** | [**EzsignannotationCreateObjectV1ResponseMPayload**](EzsignannotationCreateObjectV1ResponseMPayload.md) | | ## Example diff --git a/docs/EzsignannotationDeleteObjectV1Response.md b/docs/EzsignannotationDeleteObjectV1Response.md index 0f497bad9..3c5cec3c7 100644 --- a/docs/EzsignannotationDeleteObjectV1Response.md +++ b/docs/EzsignannotationDeleteObjectV1Response.md @@ -6,6 +6,8 @@ Response for DELETE /1/object/ezsignannotation/{pkiEzsignannotationID} Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**obj_debug_payload** | [**CommonResponseObjDebugPayload**](CommonResponseObjDebugPayload.md) | | +**obj_debug** | [**CommonResponseObjDebug**](CommonResponseObjDebug.md) | | [optional] ## Example diff --git a/docs/EzsignannotationEditObjectV1Response.md b/docs/EzsignannotationEditObjectV1Response.md index 6fdc9073f..7f12f039e 100644 --- a/docs/EzsignannotationEditObjectV1Response.md +++ b/docs/EzsignannotationEditObjectV1Response.md @@ -6,6 +6,8 @@ Response for PUT /1/object/ezsignannotation/{pkiEzsignannotationID} Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**obj_debug_payload** | [**CommonResponseObjDebugPayload**](CommonResponseObjDebugPayload.md) | | +**obj_debug** | [**CommonResponseObjDebug**](CommonResponseObjDebug.md) | | [optional] ## Example diff --git a/docs/EzsignannotationGetObjectV2Response.md b/docs/EzsignannotationGetObjectV2Response.md index 97f72a4b5..764df43b4 100644 --- a/docs/EzsignannotationGetObjectV2Response.md +++ b/docs/EzsignannotationGetObjectV2Response.md @@ -6,6 +6,8 @@ Response for GET /2/object/ezsignannotation/{pkiEzsignannotationID} Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**obj_debug_payload** | [**CommonResponseObjDebugPayload**](CommonResponseObjDebugPayload.md) | | +**obj_debug** | [**CommonResponseObjDebug**](CommonResponseObjDebug.md) | | [optional] **m_payload** | [**EzsignannotationGetObjectV2ResponseMPayload**](EzsignannotationGetObjectV2ResponseMPayload.md) | | ## Example diff --git a/docs/EzsignannotationRequestCompound.md b/docs/EzsignannotationRequestCompound.md index 283d6b9b9..ee63787f6 100644 --- a/docs/EzsignannotationRequestCompound.md +++ b/docs/EzsignannotationRequestCompound.md @@ -6,6 +6,17 @@ A Ezsignannotation Object and children Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**pki_ezsignannotation_id** | **int** | The unique ID of the Ezsignannotation | [optional] +**fki_ezsigndocument_id** | **int** | The unique ID of the Ezsigndocument | +**e_ezsignannotation_horizontalalignment** | [**EnumHorizontalalignment**](EnumHorizontalalignment.md) | | [optional] +**e_ezsignannotation_verticalalignment** | [**EnumVerticalalignment**](EnumVerticalalignment.md) | | [optional] +**e_ezsignannotation_type** | [**FieldEEzsignannotationType**](FieldEEzsignannotationType.md) | | +**i_ezsignannotation_x** | **int** | The X coordinate (Horizontal) where to put the Ezsignannotation on the page. Coordinate is calculated at 100dpi (dot per inch). So for example, if you want to put the Ezsignannotation 2 inches from the left border of the page, you would use \"200\" for the X coordinate. | +**i_ezsignannotation_y** | **int** | The Y coordinate (Vertical) where to put the Ezsignannotation on the page. Coordinate is calculated at 100dpi (dot per inch). So for example, if you want to put the Ezsignannotation 3 inches from the top border of the page, you would use \"300\" for the Y coordinate. | +**i_ezsignannotation_width** | **int** | The Width of the Ezsignannotation. Width is calculated at 100dpi (dot per inch). So for example, if you want to have the width of the Ezsignannotation to be 3 inches, you would use \"300\" for the Width. | [optional] +**i_ezsignannotation_height** | **int** | The Height of the Ezsignannotation. Height is calculated at 100dpi (dot per inch). So for example, if you want to have the height of the Ezsignannotation to be 2 inches, you would use \"200\" for the Height. This can only be set if eEzsignannotationType is **StrikethroughBlock** or **Text** | [optional] +**s_ezsignannotation_text** | **str** | The Text of the Ezsignannotation | [optional] +**i_ezsignpage_pagenumber** | **int** | The page number in the Ezsigndocument | **obj_textstylestatic** | [**TextstylestaticRequestCompound**](TextstylestaticRequestCompound.md) | | [optional] ## Example diff --git a/docs/EzsignannotationResponseCompound.md b/docs/EzsignannotationResponseCompound.md index fccbe7b70..a387c26dd 100644 --- a/docs/EzsignannotationResponseCompound.md +++ b/docs/EzsignannotationResponseCompound.md @@ -6,6 +6,17 @@ A Ezsignannotation Object Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**pki_ezsignannotation_id** | **int** | The unique ID of the Ezsignannotation | +**fki_ezsigndocument_id** | **int** | The unique ID of the Ezsigndocument | +**e_ezsignannotation_horizontalalignment** | [**EnumHorizontalalignment**](EnumHorizontalalignment.md) | | [optional] +**e_ezsignannotation_verticalalignment** | [**EnumVerticalalignment**](EnumVerticalalignment.md) | | [optional] +**e_ezsignannotation_type** | [**FieldEEzsignannotationType**](FieldEEzsignannotationType.md) | | +**i_ezsignannotation_x** | **int** | The X coordinate (Horizontal) where to put the Ezsignannotation on the page. Coordinate is calculated at 100dpi (dot per inch). So for example, if you want to put the Ezsignannotation 2 inches from the left border of the page, you would use \"200\" for the X coordinate. | +**i_ezsignannotation_y** | **int** | The Y coordinate (Vertical) where to put the Ezsignannotation on the page. Coordinate is calculated at 100dpi (dot per inch). So for example, if you want to put the Ezsignannotation 3 inches from the top border of the page, you would use \"300\" for the Y coordinate. | +**i_ezsignannotation_width** | **int** | The Width of the Ezsignannotation. Width is calculated at 100dpi (dot per inch). So for example, if you want to have the width of the Ezsignannotation to be 3 inches, you would use \"300\" for the Width. | [optional] +**i_ezsignannotation_height** | **int** | The Height of the Ezsignannotation. Height is calculated at 100dpi (dot per inch). So for example, if you want to have the height of the Ezsignannotation to be 2 inches, you would use \"200\" for the Height. This can only be set if eEzsignannotationType is **StrikethroughBlock** or **Text** | [optional] +**s_ezsignannotation_text** | **str** | The Text of the Ezsignannotation | [optional] +**i_ezsignpage_pagenumber** | **int** | The page number in the Ezsigndocument | **obj_textstylestatic** | [**TextstylestaticResponseCompound**](TextstylestaticResponseCompound.md) | | [optional] ## Example diff --git a/docs/EzsignbulksendCreateEzsignbulksendtransmissionV2Response.md b/docs/EzsignbulksendCreateEzsignbulksendtransmissionV2Response.md index e472e832d..8bdb9114c 100644 --- a/docs/EzsignbulksendCreateEzsignbulksendtransmissionV2Response.md +++ b/docs/EzsignbulksendCreateEzsignbulksendtransmissionV2Response.md @@ -6,6 +6,8 @@ Response for POST /2/object/ezsignbulksend/{pkiEzsignbulksendID}/createEzsignbul Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**obj_debug_payload** | [**CommonResponseObjDebugPayload**](CommonResponseObjDebugPayload.md) | | +**obj_debug** | [**CommonResponseObjDebug**](CommonResponseObjDebug.md) | | [optional] **m_payload** | [**EzsignbulksendCreateEzsignbulksendtransmissionV2ResponseMPayload**](EzsignbulksendCreateEzsignbulksendtransmissionV2ResponseMPayload.md) | | ## Example diff --git a/docs/EzsignbulksendCreateObjectV1Response.md b/docs/EzsignbulksendCreateObjectV1Response.md index 5ffdf3857..133fec57b 100644 --- a/docs/EzsignbulksendCreateObjectV1Response.md +++ b/docs/EzsignbulksendCreateObjectV1Response.md @@ -6,6 +6,8 @@ Response for POST /1/object/ezsignbulksend Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**obj_debug_payload** | [**CommonResponseObjDebugPayload**](CommonResponseObjDebugPayload.md) | | +**obj_debug** | [**CommonResponseObjDebug**](CommonResponseObjDebug.md) | | [optional] **m_payload** | [**EzsignbulksendCreateObjectV1ResponseMPayload**](EzsignbulksendCreateObjectV1ResponseMPayload.md) | | ## Example diff --git a/docs/EzsignbulksendDeleteObjectV1Response.md b/docs/EzsignbulksendDeleteObjectV1Response.md index 873969a7f..8a40c3126 100644 --- a/docs/EzsignbulksendDeleteObjectV1Response.md +++ b/docs/EzsignbulksendDeleteObjectV1Response.md @@ -6,6 +6,8 @@ Response for DELETE /1/object/ezsignbulksend/{pkiEzsignbulksendID} Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**obj_debug_payload** | [**CommonResponseObjDebugPayload**](CommonResponseObjDebugPayload.md) | | +**obj_debug** | [**CommonResponseObjDebug**](CommonResponseObjDebug.md) | | [optional] ## Example diff --git a/docs/EzsignbulksendEditObjectV1Response.md b/docs/EzsignbulksendEditObjectV1Response.md index 17f9e84fb..74bfe4445 100644 --- a/docs/EzsignbulksendEditObjectV1Response.md +++ b/docs/EzsignbulksendEditObjectV1Response.md @@ -6,6 +6,8 @@ Response for PUT /1/object/ezsignbulksend/{pkiEzsignbulksendID} Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**obj_debug_payload** | [**CommonResponseObjDebugPayload**](CommonResponseObjDebugPayload.md) | | +**obj_debug** | [**CommonResponseObjDebug**](CommonResponseObjDebug.md) | | [optional] ## Example diff --git a/docs/EzsignbulksendGetEzsignbulksendtransmissionsV1Response.md b/docs/EzsignbulksendGetEzsignbulksendtransmissionsV1Response.md index 3abf14da2..1e9c6e275 100644 --- a/docs/EzsignbulksendGetEzsignbulksendtransmissionsV1Response.md +++ b/docs/EzsignbulksendGetEzsignbulksendtransmissionsV1Response.md @@ -6,6 +6,8 @@ Response for GET /1/object/ezsignbulksend/{pkiEzsignbulksend}/getEzsignbulksendt Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**obj_debug_payload** | [**CommonResponseObjDebugPayload**](CommonResponseObjDebugPayload.md) | | +**obj_debug** | [**CommonResponseObjDebug**](CommonResponseObjDebug.md) | | [optional] **m_payload** | [**EzsignbulksendGetEzsignbulksendtransmissionsV1ResponseMPayload**](EzsignbulksendGetEzsignbulksendtransmissionsV1ResponseMPayload.md) | | ## Example diff --git a/docs/EzsignbulksendGetEzsignsignaturesAutomaticV1Response.md b/docs/EzsignbulksendGetEzsignsignaturesAutomaticV1Response.md index 0e17495f7..0d267e005 100644 --- a/docs/EzsignbulksendGetEzsignsignaturesAutomaticV1Response.md +++ b/docs/EzsignbulksendGetEzsignsignaturesAutomaticV1Response.md @@ -6,6 +6,8 @@ Response for GET /1/object/ezsignbulksend/{pkiEzsignbulksendID}/getEzsignsignatu Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**obj_debug_payload** | [**CommonResponseObjDebugPayload**](CommonResponseObjDebugPayload.md) | | +**obj_debug** | [**CommonResponseObjDebug**](CommonResponseObjDebug.md) | | [optional] **m_payload** | [**EzsignbulksendGetEzsignsignaturesAutomaticV1ResponseMPayload**](EzsignbulksendGetEzsignsignaturesAutomaticV1ResponseMPayload.md) | | ## Example diff --git a/docs/EzsignbulksendGetFormsDataV1Response.md b/docs/EzsignbulksendGetFormsDataV1Response.md index 14be399f5..4c4927731 100644 --- a/docs/EzsignbulksendGetFormsDataV1Response.md +++ b/docs/EzsignbulksendGetFormsDataV1Response.md @@ -6,6 +6,8 @@ Response for GET /1/object/ezsignbulksend/{pkiEzsignbulksendID}/getFormsData Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**obj_debug_payload** | [**CommonResponseObjDebugPayload**](CommonResponseObjDebugPayload.md) | | +**obj_debug** | [**CommonResponseObjDebug**](CommonResponseObjDebug.md) | | [optional] **m_payload** | [**EzsignbulksendGetFormsDataV1ResponseMPayload**](EzsignbulksendGetFormsDataV1ResponseMPayload.md) | | ## Example diff --git a/docs/EzsignbulksendGetListV1Response.md b/docs/EzsignbulksendGetListV1Response.md index 964d05a6d..e650a3ada 100644 --- a/docs/EzsignbulksendGetListV1Response.md +++ b/docs/EzsignbulksendGetListV1Response.md @@ -6,6 +6,8 @@ Response for GET /1/object/ezsignbulksend/getList Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**obj_debug_payload** | [**CommonResponseObjDebugPayloadGetList**](CommonResponseObjDebugPayloadGetList.md) | | +**obj_debug** | [**CommonResponseObjDebug**](CommonResponseObjDebug.md) | | [optional] **m_payload** | [**EzsignbulksendGetListV1ResponseMPayload**](EzsignbulksendGetListV1ResponseMPayload.md) | | ## Example diff --git a/docs/EzsignbulksendGetListV1ResponseMPayload.md b/docs/EzsignbulksendGetListV1ResponseMPayload.md index 2f3dff74d..44a93a893 100644 --- a/docs/EzsignbulksendGetListV1ResponseMPayload.md +++ b/docs/EzsignbulksendGetListV1ResponseMPayload.md @@ -6,6 +6,8 @@ Payload for GET /1/object/ezsignbulksend/getList Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**i_row_returned** | **int** | The number of rows returned | +**i_row_filtered** | **int** | The number of rows matching your filters (if any) or the total number of rows | **a_obj_ezsignbulksend** | [**List[EzsignbulksendListElement]**](EzsignbulksendListElement.md) | | ## Example diff --git a/docs/EzsignbulksendGetObjectV2Response.md b/docs/EzsignbulksendGetObjectV2Response.md index 4df5caa82..ec6d3f1ea 100644 --- a/docs/EzsignbulksendGetObjectV2Response.md +++ b/docs/EzsignbulksendGetObjectV2Response.md @@ -6,6 +6,8 @@ Response for GET /2/object/ezsignbulksend/{pkiEzsignbulksendID} Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**obj_debug_payload** | [**CommonResponseObjDebugPayload**](CommonResponseObjDebugPayload.md) | | +**obj_debug** | [**CommonResponseObjDebug**](CommonResponseObjDebug.md) | | [optional] **m_payload** | [**EzsignbulksendGetObjectV2ResponseMPayload**](EzsignbulksendGetObjectV2ResponseMPayload.md) | | ## Example diff --git a/docs/EzsignbulksendReorderV1Response.md b/docs/EzsignbulksendReorderV1Response.md index e51bcc4d0..e63227286 100644 --- a/docs/EzsignbulksendReorderV1Response.md +++ b/docs/EzsignbulksendReorderV1Response.md @@ -6,6 +6,8 @@ Response for POST /1/object/ezsignbulksend/{pkiEzsignbulksendID}/reorder Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**obj_debug_payload** | [**CommonResponseObjDebugPayload**](CommonResponseObjDebugPayload.md) | | +**obj_debug** | [**CommonResponseObjDebug**](CommonResponseObjDebug.md) | | [optional] ## Example diff --git a/docs/EzsignbulksendRequestCompound.md b/docs/EzsignbulksendRequestCompound.md index 98a145044..e966d0a06 100644 --- a/docs/EzsignbulksendRequestCompound.md +++ b/docs/EzsignbulksendRequestCompound.md @@ -6,6 +6,13 @@ A Ezsignbulksend Object and children Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**pki_ezsignbulksend_id** | **int** | The unique ID of the Ezsignbulksend | [optional] +**fki_ezsignfoldertype_id** | **int** | The unique ID of the Ezsignfoldertype. | +**fki_language_id** | **int** | The unique ID of the Language. Valid values: |Value|Description| |-|-| |1|French| |2|English| | +**s_ezsignbulksend_description** | **str** | The description of the Ezsignbulksend | +**t_ezsignbulksend_note** | **str** | Note about the Ezsignbulksend | +**b_ezsignbulksend_needvalidation** | **bool** | Whether the Ezsigntemplatepackage was automatically modified and needs a manual validation | +**b_ezsignbulksend_isactive** | **bool** | Whether the Ezsignbulksend is active or not | ## Example diff --git a/docs/EzsignbulksendResponseCompound.md b/docs/EzsignbulksendResponseCompound.md index 7817e30ed..3f4ac2c61 100644 --- a/docs/EzsignbulksendResponseCompound.md +++ b/docs/EzsignbulksendResponseCompound.md @@ -6,6 +6,17 @@ An Ezsignbulksend Object and children to create a complete structure Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**pki_ezsignbulksend_id** | **int** | The unique ID of the Ezsignbulksend | +**fki_ezsignfoldertype_id** | **int** | The unique ID of the Ezsignfoldertype. | +**fki_language_id** | **int** | The unique ID of the Language. Valid values: |Value|Description| |-|-| |1|French| |2|English| | +**s_language_name_x** | **str** | The Name of the Language in the language of the requester | +**e_ezsignfoldertype_privacylevel** | [**FieldEEzsignfoldertypePrivacylevel**](FieldEEzsignfoldertypePrivacylevel.md) | | +**s_ezsignfoldertype_name_x** | **str** | The name of the Ezsignfoldertype in the language of the requester | +**s_ezsignbulksend_description** | **str** | The description of the Ezsignbulksend | +**t_ezsignbulksend_note** | **str** | Note about the Ezsignbulksend | +**b_ezsignbulksend_needvalidation** | **bool** | Whether the Ezsigntemplatepackage was automatically modified and needs a manual validation | +**b_ezsignbulksend_isactive** | **bool** | Whether the Ezsignbulksend is active or not | +**obj_audit** | [**CommonAudit**](CommonAudit.md) | | **a_obj_ezsignbulksenddocumentmapping** | [**List[EzsignbulksenddocumentmappingResponseCompound]**](EzsignbulksenddocumentmappingResponseCompound.md) | | **a_obj_ezsignbulksendsignermapping** | [**List[EzsignbulksendsignermappingResponse]**](EzsignbulksendsignermappingResponse.md) | | diff --git a/docs/EzsignbulksenddocumentmappingCreateObjectV1Response.md b/docs/EzsignbulksenddocumentmappingCreateObjectV1Response.md index cf93e8b48..440867eec 100644 --- a/docs/EzsignbulksenddocumentmappingCreateObjectV1Response.md +++ b/docs/EzsignbulksenddocumentmappingCreateObjectV1Response.md @@ -6,6 +6,8 @@ Response for POST /1/object/ezsignbulksenddocumentmapping Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**obj_debug_payload** | [**CommonResponseObjDebugPayload**](CommonResponseObjDebugPayload.md) | | +**obj_debug** | [**CommonResponseObjDebug**](CommonResponseObjDebug.md) | | [optional] **m_payload** | [**EzsignbulksenddocumentmappingCreateObjectV1ResponseMPayload**](EzsignbulksenddocumentmappingCreateObjectV1ResponseMPayload.md) | | ## Example diff --git a/docs/EzsignbulksenddocumentmappingDeleteObjectV1Response.md b/docs/EzsignbulksenddocumentmappingDeleteObjectV1Response.md index 4ce921c09..5490e19ae 100644 --- a/docs/EzsignbulksenddocumentmappingDeleteObjectV1Response.md +++ b/docs/EzsignbulksenddocumentmappingDeleteObjectV1Response.md @@ -6,6 +6,8 @@ Response for DELETE /1/object/ezsignbulksenddocumentmapping/{pkiEzsignbulksenddo Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**obj_debug_payload** | [**CommonResponseObjDebugPayload**](CommonResponseObjDebugPayload.md) | | +**obj_debug** | [**CommonResponseObjDebug**](CommonResponseObjDebug.md) | | [optional] ## Example diff --git a/docs/EzsignbulksenddocumentmappingGetObjectV2Response.md b/docs/EzsignbulksenddocumentmappingGetObjectV2Response.md index a256d5166..02487f9fc 100644 --- a/docs/EzsignbulksenddocumentmappingGetObjectV2Response.md +++ b/docs/EzsignbulksenddocumentmappingGetObjectV2Response.md @@ -6,6 +6,8 @@ Response for GET /2/object/ezsignbulksenddocumentmapping/{pkiEzsignbulksenddocum Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**obj_debug_payload** | [**CommonResponseObjDebugPayload**](CommonResponseObjDebugPayload.md) | | +**obj_debug** | [**CommonResponseObjDebug**](CommonResponseObjDebug.md) | | [optional] **m_payload** | [**EzsignbulksenddocumentmappingGetObjectV2ResponseMPayload**](EzsignbulksenddocumentmappingGetObjectV2ResponseMPayload.md) | | ## Example diff --git a/docs/EzsignbulksenddocumentmappingRequestCompound.md b/docs/EzsignbulksenddocumentmappingRequestCompound.md index 65fde13d2..c178960f8 100644 --- a/docs/EzsignbulksenddocumentmappingRequestCompound.md +++ b/docs/EzsignbulksenddocumentmappingRequestCompound.md @@ -6,6 +6,10 @@ A Ezsignbulksenddocumentmapping Object and children Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**pki_ezsignbulksenddocumentmapping_id** | **int** | The unique ID of the Ezsignbulksenddocumentmapping. | [optional] +**fki_ezsignbulksend_id** | **int** | The unique ID of the Ezsignbulksend | +**fki_ezsigntemplatepackage_id** | **int** | The unique ID of the Ezsigntemplatepackage | [optional] +**fki_ezsigntemplate_id** | **int** | The unique ID of the Ezsigntemplate | [optional] ## Example diff --git a/docs/EzsignbulksenddocumentmappingResponseCompound.md b/docs/EzsignbulksenddocumentmappingResponseCompound.md index 3cf17ce3d..2e1ec06d1 100644 --- a/docs/EzsignbulksenddocumentmappingResponseCompound.md +++ b/docs/EzsignbulksenddocumentmappingResponseCompound.md @@ -6,6 +6,11 @@ A Ezsignbulksenddocumentmapping Object Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**pki_ezsignbulksenddocumentmapping_id** | **int** | The unique ID of the Ezsignbulksenddocumentmapping. | +**fki_ezsignbulksend_id** | **int** | The unique ID of the Ezsignbulksend | +**fki_ezsigntemplatepackage_id** | **int** | The unique ID of the Ezsigntemplatepackage | [optional] +**fki_ezsigntemplate_id** | **int** | The unique ID of the Ezsigntemplate | [optional] +**i_ezsignbulksenddocumentmapping_order** | **int** | The order in which the Ezsigntemplate or Ezsigntemplatepackage will be presented to the signatory in the Ezsignfolder. | **obj_ezsigntemplate** | [**EzsigntemplateResponseCompound**](EzsigntemplateResponseCompound.md) | | [optional] **obj_ezsigntemplatepackage** | [**EzsigntemplatepackageResponseCompound**](EzsigntemplatepackageResponseCompound.md) | | [optional] diff --git a/docs/EzsignbulksendsignermappingCreateObjectV1Response.md b/docs/EzsignbulksendsignermappingCreateObjectV1Response.md index cdaf1e723..8eb229f4d 100644 --- a/docs/EzsignbulksendsignermappingCreateObjectV1Response.md +++ b/docs/EzsignbulksendsignermappingCreateObjectV1Response.md @@ -6,6 +6,8 @@ Response for POST /1/object/ezsignbulksendsignermapping Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**obj_debug_payload** | [**CommonResponseObjDebugPayload**](CommonResponseObjDebugPayload.md) | | +**obj_debug** | [**CommonResponseObjDebug**](CommonResponseObjDebug.md) | | [optional] **m_payload** | [**EzsignbulksendsignermappingCreateObjectV1ResponseMPayload**](EzsignbulksendsignermappingCreateObjectV1ResponseMPayload.md) | | ## Example diff --git a/docs/EzsignbulksendsignermappingDeleteObjectV1Response.md b/docs/EzsignbulksendsignermappingDeleteObjectV1Response.md index 4d1b49081..d62a3a55a 100644 --- a/docs/EzsignbulksendsignermappingDeleteObjectV1Response.md +++ b/docs/EzsignbulksendsignermappingDeleteObjectV1Response.md @@ -6,6 +6,8 @@ Response for DELETE /1/object/ezsignbulksendsignermapping/{pkiEzsignbulksendsign Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**obj_debug_payload** | [**CommonResponseObjDebugPayload**](CommonResponseObjDebugPayload.md) | | +**obj_debug** | [**CommonResponseObjDebug**](CommonResponseObjDebug.md) | | [optional] ## Example diff --git a/docs/EzsignbulksendsignermappingGetObjectV2Response.md b/docs/EzsignbulksendsignermappingGetObjectV2Response.md index 66de6a13d..071d937aa 100644 --- a/docs/EzsignbulksendsignermappingGetObjectV2Response.md +++ b/docs/EzsignbulksendsignermappingGetObjectV2Response.md @@ -6,6 +6,8 @@ Response for GET /2/object/ezsignbulksendsignermapping/{pkiEzsignbulksendsignerm Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**obj_debug_payload** | [**CommonResponseObjDebugPayload**](CommonResponseObjDebugPayload.md) | | +**obj_debug** | [**CommonResponseObjDebug**](CommonResponseObjDebug.md) | | [optional] **m_payload** | [**EzsignbulksendsignermappingGetObjectV2ResponseMPayload**](EzsignbulksendsignermappingGetObjectV2ResponseMPayload.md) | | ## Example diff --git a/docs/EzsignbulksendsignermappingRequestCompound.md b/docs/EzsignbulksendsignermappingRequestCompound.md index 1229804da..17dfd727e 100644 --- a/docs/EzsignbulksendsignermappingRequestCompound.md +++ b/docs/EzsignbulksendsignermappingRequestCompound.md @@ -6,6 +6,10 @@ A Ezsignbulksendsignermapping Object and children Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**pki_ezsignbulksendsignermapping_id** | **int** | The unique ID of the Ezsignbulksendsignermapping | [optional] +**fki_ezsignbulksend_id** | **int** | The unique ID of the Ezsignbulksend | +**fki_user_id** | **int** | The unique ID of the User | [optional] +**s_ezsignbulksendsignermapping_description** | **str** | The description of the Ezsignbulksendsignermapping | ## Example diff --git a/docs/EzsignbulksendsignermappingResponseCompound.md b/docs/EzsignbulksendsignermappingResponseCompound.md index 920668538..4187ac78c 100644 --- a/docs/EzsignbulksendsignermappingResponseCompound.md +++ b/docs/EzsignbulksendsignermappingResponseCompound.md @@ -6,6 +6,10 @@ A Ezsignbulksendsignermapping Object Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**pki_ezsignbulksendsignermapping_id** | **int** | The unique ID of the Ezsignbulksendsignermapping | +**fki_ezsignbulksend_id** | **int** | The unique ID of the Ezsignbulksend | +**fki_user_id** | **int** | The unique ID of the User | [optional] +**s_ezsignbulksendsignermapping_description** | **str** | The description of the Ezsignbulksendsignermapping | ## Example diff --git a/docs/EzsignbulksendtransmissionGetEzsignsignaturesAutomaticV1Response.md b/docs/EzsignbulksendtransmissionGetEzsignsignaturesAutomaticV1Response.md index 5e8f0016d..8ef3c7370 100644 --- a/docs/EzsignbulksendtransmissionGetEzsignsignaturesAutomaticV1Response.md +++ b/docs/EzsignbulksendtransmissionGetEzsignsignaturesAutomaticV1Response.md @@ -6,6 +6,8 @@ Response for GET /1/object/ezsignbulksendtransmission/{pkiEzsignbulksendtransmis Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**obj_debug_payload** | [**CommonResponseObjDebugPayload**](CommonResponseObjDebugPayload.md) | | +**obj_debug** | [**CommonResponseObjDebug**](CommonResponseObjDebug.md) | | [optional] **m_payload** | [**EzsignbulksendtransmissionGetEzsignsignaturesAutomaticV1ResponseMPayload**](EzsignbulksendtransmissionGetEzsignsignaturesAutomaticV1ResponseMPayload.md) | | ## Example diff --git a/docs/EzsignbulksendtransmissionGetFormsDataV1Response.md b/docs/EzsignbulksendtransmissionGetFormsDataV1Response.md index 6973011f7..8bb7bc06a 100644 --- a/docs/EzsignbulksendtransmissionGetFormsDataV1Response.md +++ b/docs/EzsignbulksendtransmissionGetFormsDataV1Response.md @@ -6,6 +6,8 @@ Response for GET /1/object/ezsignbulksendtransmission/{pkiEzsignbulksendtransmis Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**obj_debug_payload** | [**CommonResponseObjDebugPayload**](CommonResponseObjDebugPayload.md) | | +**obj_debug** | [**CommonResponseObjDebug**](CommonResponseObjDebug.md) | | [optional] **m_payload** | [**EzsignbulksendtransmissionGetFormsDataV1ResponseMPayload**](EzsignbulksendtransmissionGetFormsDataV1ResponseMPayload.md) | | ## Example diff --git a/docs/EzsignbulksendtransmissionGetObjectV2Response.md b/docs/EzsignbulksendtransmissionGetObjectV2Response.md index dcabdfb70..8268cd0a1 100644 --- a/docs/EzsignbulksendtransmissionGetObjectV2Response.md +++ b/docs/EzsignbulksendtransmissionGetObjectV2Response.md @@ -6,6 +6,8 @@ Response for GET /2/object/ezsignbulksendtransmission/{pkiEzsignbulksendtransmis Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**obj_debug_payload** | [**CommonResponseObjDebugPayload**](CommonResponseObjDebugPayload.md) | | +**obj_debug** | [**CommonResponseObjDebug**](CommonResponseObjDebug.md) | | [optional] **m_payload** | [**EzsignbulksendtransmissionGetObjectV2ResponseMPayload**](EzsignbulksendtransmissionGetObjectV2ResponseMPayload.md) | | ## Example diff --git a/docs/EzsignbulksendtransmissionResponseCompound.md b/docs/EzsignbulksendtransmissionResponseCompound.md index 87cf65866..d77ac1248 100644 --- a/docs/EzsignbulksendtransmissionResponseCompound.md +++ b/docs/EzsignbulksendtransmissionResponseCompound.md @@ -6,6 +6,11 @@ An Ezsignbulksendtransmission Object and children to create a complete structure Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**pki_ezsignbulksendtransmission_id** | **int** | The unique ID of the Ezsignbulksendtransmission | +**fki_ezsignbulksend_id** | **int** | The unique ID of the Ezsignbulksend | +**s_ezsignbulksendtransmission_description** | **str** | The description of the Ezsignbulksendtransmission | +**i_ezsignbulksendtransmission_errors** | **int** | The number of errors during the Ezsignbulksendtransmission | +**obj_audit** | [**CommonAudit**](CommonAudit.md) | | **a_obj_ezsignfoldertransmission** | [**List[CustomEzsignfoldertransmissionResponse]**](CustomEzsignfoldertransmissionResponse.md) | | ## Example diff --git a/docs/EzsigndiscussionCreateObjectV1Response.md b/docs/EzsigndiscussionCreateObjectV1Response.md index db47c5cf7..d36e3ed77 100644 --- a/docs/EzsigndiscussionCreateObjectV1Response.md +++ b/docs/EzsigndiscussionCreateObjectV1Response.md @@ -6,6 +6,8 @@ Response for POST /1/object/ezsigndiscussion Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**obj_debug_payload** | [**CommonResponseObjDebugPayload**](CommonResponseObjDebugPayload.md) | | +**obj_debug** | [**CommonResponseObjDebug**](CommonResponseObjDebug.md) | | [optional] **m_payload** | [**EzsigndiscussionCreateObjectV1ResponseMPayload**](EzsigndiscussionCreateObjectV1ResponseMPayload.md) | | ## Example diff --git a/docs/EzsigndiscussionDeleteObjectV1Response.md b/docs/EzsigndiscussionDeleteObjectV1Response.md index 33fcad664..5d54e8688 100644 --- a/docs/EzsigndiscussionDeleteObjectV1Response.md +++ b/docs/EzsigndiscussionDeleteObjectV1Response.md @@ -6,6 +6,8 @@ Response for DELETE /1/object/ezsigndiscussion/{pkiEzsigndiscussionID} Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**obj_debug_payload** | [**CommonResponseObjDebugPayload**](CommonResponseObjDebugPayload.md) | | +**obj_debug** | [**CommonResponseObjDebug**](CommonResponseObjDebug.md) | | [optional] ## Example diff --git a/docs/EzsigndiscussionGetObjectV2Response.md b/docs/EzsigndiscussionGetObjectV2Response.md index b26d0a637..c8c9df8d1 100644 --- a/docs/EzsigndiscussionGetObjectV2Response.md +++ b/docs/EzsigndiscussionGetObjectV2Response.md @@ -6,6 +6,8 @@ Response for GET /2/object/ezsigndiscussion/{pkiEzsigndiscussionID} Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**obj_debug_payload** | [**CommonResponseObjDebugPayload**](CommonResponseObjDebugPayload.md) | | +**obj_debug** | [**CommonResponseObjDebug**](CommonResponseObjDebug.md) | | [optional] **m_payload** | [**EzsigndiscussionGetObjectV2ResponseMPayload**](EzsigndiscussionGetObjectV2ResponseMPayload.md) | | ## Example diff --git a/docs/EzsigndiscussionRequestCompound.md b/docs/EzsigndiscussionRequestCompound.md index 349d1ca25..da8f15932 100644 --- a/docs/EzsigndiscussionRequestCompound.md +++ b/docs/EzsigndiscussionRequestCompound.md @@ -6,6 +6,12 @@ A Ezsigndiscussion Object and children Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**pki_ezsigndiscussion_id** | **int** | The unique ID of the Ezsigndiscussion | [optional] +**fki_ezsigndocument_id** | **int** | The unique ID of the Ezsigndocument | +**i_ezsigndiscussion_pagenumber** | **int** | The page number in the Ezsigndocument for the Ezsigndiscussion | +**i_ezsigndiscussion_x** | **int** | The x of the Ezsigndiscussion | +**i_ezsigndiscussion_y** | **int** | The y of the Ezsigndiscussion | +**obj_discussion** | [**DiscussionRequest**](DiscussionRequest.md) | | ## Example diff --git a/docs/EzsigndiscussionResponseCompound.md b/docs/EzsigndiscussionResponseCompound.md index 5419e29e6..0a3c3e549 100644 --- a/docs/EzsigndiscussionResponseCompound.md +++ b/docs/EzsigndiscussionResponseCompound.md @@ -6,6 +6,13 @@ A Ezsigndiscussion Object Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**pki_ezsigndiscussion_id** | **int** | The unique ID of the Ezsigndiscussion | +**fki_ezsignpage_id** | **int** | The unique ID of the Ezsignpage | +**fki_discussion_id** | **int** | The unique ID of the Discussion | +**i_ezsigndiscussion_x** | **int** | The x of the Ezsigndiscussion | +**i_ezsigndiscussion_y** | **int** | The y of the Ezsigndiscussion | +**i_ezsigndiscussion_pagenumber** | **int** | The page number in the Ezsigndocument for the Ezsigndiscussion | +**obj_discussion** | [**DiscussionResponseCompound**](DiscussionResponseCompound.md) | | ## Example diff --git a/docs/EzsigndocumentApplyEzsigntemplateV1Response.md b/docs/EzsigndocumentApplyEzsigntemplateV1Response.md index 4853882c3..1a4b07087 100644 --- a/docs/EzsigndocumentApplyEzsigntemplateV1Response.md +++ b/docs/EzsigndocumentApplyEzsigntemplateV1Response.md @@ -6,6 +6,8 @@ Response for POST /1/object/ezsigndocument/{pkiEzsigndocument}/applyEzsigntempla Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**obj_debug_payload** | [**CommonResponseObjDebugPayload**](CommonResponseObjDebugPayload.md) | | +**obj_debug** | [**CommonResponseObjDebug**](CommonResponseObjDebug.md) | | [optional] ## Example diff --git a/docs/EzsigndocumentApplyEzsigntemplateV2Response.md b/docs/EzsigndocumentApplyEzsigntemplateV2Response.md index fbaf9379e..f7fbdd323 100644 --- a/docs/EzsigndocumentApplyEzsigntemplateV2Response.md +++ b/docs/EzsigndocumentApplyEzsigntemplateV2Response.md @@ -6,6 +6,8 @@ Response for POST /2/object/ezsigndocument/{pkiEzsigndocument}/applyEzsigntempla Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**obj_debug_payload** | [**CommonResponseObjDebugPayload**](CommonResponseObjDebugPayload.md) | | +**obj_debug** | [**CommonResponseObjDebug**](CommonResponseObjDebug.md) | | [optional] **a_obj_warning** | [**List[CommonResponseWarning]**](CommonResponseWarning.md) | | [optional] ## Example diff --git a/docs/EzsigndocumentApplyEzsigntemplateglobalV1Response.md b/docs/EzsigndocumentApplyEzsigntemplateglobalV1Response.md index 4f0098591..84ebc5879 100644 --- a/docs/EzsigndocumentApplyEzsigntemplateglobalV1Response.md +++ b/docs/EzsigndocumentApplyEzsigntemplateglobalV1Response.md @@ -6,6 +6,8 @@ Response for POST /2/object/ezsigndocument/{pkiEzsigndocument}/applyEzsigntempla Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**obj_debug_payload** | [**CommonResponseObjDebugPayload**](CommonResponseObjDebugPayload.md) | | +**obj_debug** | [**CommonResponseObjDebug**](CommonResponseObjDebug.md) | | [optional] **a_obj_warning** | [**List[CommonResponseWarning]**](CommonResponseWarning.md) | | [optional] ## Example diff --git a/docs/EzsigndocumentCreateEzsignelementsPositionedByWordV1Response.md b/docs/EzsigndocumentCreateEzsignelementsPositionedByWordV1Response.md index ee94d4d97..fefdcfe07 100644 --- a/docs/EzsigndocumentCreateEzsignelementsPositionedByWordV1Response.md +++ b/docs/EzsigndocumentCreateEzsignelementsPositionedByWordV1Response.md @@ -6,6 +6,8 @@ Response for POST /1/object/ezsigndocument/{pkiEzsigndocumentID}/createEzsignele Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**obj_debug_payload** | [**CommonResponseObjDebugPayload**](CommonResponseObjDebugPayload.md) | | +**obj_debug** | [**CommonResponseObjDebug**](CommonResponseObjDebug.md) | | [optional] **m_payload** | [**EzsigndocumentCreateEzsignelementsPositionedByWordV1ResponseMPayload**](EzsigndocumentCreateEzsignelementsPositionedByWordV1ResponseMPayload.md) | | ## Example diff --git a/docs/EzsigndocumentCreateObjectV1Request.md b/docs/EzsigndocumentCreateObjectV1Request.md index 083b6631e..70bb881ba 100644 --- a/docs/EzsigndocumentCreateObjectV1Request.md +++ b/docs/EzsigndocumentCreateObjectV1Request.md @@ -7,7 +7,7 @@ Request for POST /1/object/ezsigndocument Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **obj_ezsigndocument** | [**EzsigndocumentRequest**](EzsigndocumentRequest.md) | | [optional] -**obj_ezsigndocument_compound** | [**EzsigndocumentRequest**](EzsigndocumentRequest.md) | An Ezsigndocument Object and children to create a complete structure | [optional] +**obj_ezsigndocument_compound** | [**EzsigndocumentRequestCompound**](EzsigndocumentRequestCompound.md) | | [optional] ## Example diff --git a/docs/EzsigndocumentCreateObjectV1Response.md b/docs/EzsigndocumentCreateObjectV1Response.md index 15036674b..c858f8883 100644 --- a/docs/EzsigndocumentCreateObjectV1Response.md +++ b/docs/EzsigndocumentCreateObjectV1Response.md @@ -6,6 +6,8 @@ Response for POST /1/object/ezsigndocument Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**obj_debug_payload** | [**CommonResponseObjDebugPayload**](CommonResponseObjDebugPayload.md) | | +**obj_debug** | [**CommonResponseObjDebug**](CommonResponseObjDebug.md) | | [optional] **m_payload** | [**EzsigndocumentCreateObjectV1ResponseMPayload**](EzsigndocumentCreateObjectV1ResponseMPayload.md) | | ## Example diff --git a/docs/EzsigndocumentCreateObjectV2Request.md b/docs/EzsigndocumentCreateObjectV2Request.md index ef5262d65..78080beed 100644 --- a/docs/EzsigndocumentCreateObjectV2Request.md +++ b/docs/EzsigndocumentCreateObjectV2Request.md @@ -6,7 +6,7 @@ Request for POST /2/object/ezsigndocument Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**a_obj_ezsigndocument** | [**List[EzsigndocumentRequestCompound]**](EzsigndocumentRequest.md) | | +**a_obj_ezsigndocument** | [**List[EzsigndocumentRequestCompound]**](EzsigndocumentRequestCompound.md) | | ## Example diff --git a/docs/EzsigndocumentCreateObjectV2Response.md b/docs/EzsigndocumentCreateObjectV2Response.md index 06c715a4b..bf654752c 100644 --- a/docs/EzsigndocumentCreateObjectV2Response.md +++ b/docs/EzsigndocumentCreateObjectV2Response.md @@ -6,6 +6,8 @@ Response for POST /2/object/ezsigndocument Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**obj_debug_payload** | [**CommonResponseObjDebugPayload**](CommonResponseObjDebugPayload.md) | | +**obj_debug** | [**CommonResponseObjDebug**](CommonResponseObjDebug.md) | | [optional] **m_payload** | [**EzsigndocumentCreateObjectV2ResponseMPayload**](EzsigndocumentCreateObjectV2ResponseMPayload.md) | | ## Example diff --git a/docs/EzsigndocumentCreateObjectV3Request.md b/docs/EzsigndocumentCreateObjectV3Request.md index fb9f4a336..85b65a4d5 100644 --- a/docs/EzsigndocumentCreateObjectV3Request.md +++ b/docs/EzsigndocumentCreateObjectV3Request.md @@ -6,7 +6,7 @@ Request for POST /3/object/ezsigndocument Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**a_obj_ezsigndocument** | [**List[EzsigndocumentRequestCompound]**](EzsigndocumentRequest.md) | | +**a_obj_ezsigndocument** | [**List[EzsigndocumentRequestCompound]**](EzsigndocumentRequestCompound.md) | | ## Example diff --git a/docs/EzsigndocumentCreateObjectV3Response.md b/docs/EzsigndocumentCreateObjectV3Response.md index 4e7a23e71..2c6a811d2 100644 --- a/docs/EzsigndocumentCreateObjectV3Response.md +++ b/docs/EzsigndocumentCreateObjectV3Response.md @@ -6,6 +6,8 @@ Response for POST /3/object/ezsigndocument Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**obj_debug_payload** | [**CommonResponseObjDebugPayload**](CommonResponseObjDebugPayload.md) | | +**obj_debug** | [**CommonResponseObjDebug**](CommonResponseObjDebug.md) | | [optional] **m_payload** | [**EzsigndocumentCreateObjectV3ResponseMPayload**](EzsigndocumentCreateObjectV3ResponseMPayload.md) | | ## Example diff --git a/docs/EzsigndocumentDeclineToSignV1Response.md b/docs/EzsigndocumentDeclineToSignV1Response.md index d0c28061b..fed0bcd3c 100644 --- a/docs/EzsigndocumentDeclineToSignV1Response.md +++ b/docs/EzsigndocumentDeclineToSignV1Response.md @@ -6,6 +6,8 @@ Response for POST /1/object/ezsigndocument/{pkiEzsigndocumentID}/declineToSign Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**obj_debug_payload** | [**CommonResponseObjDebugPayload**](CommonResponseObjDebugPayload.md) | | +**obj_debug** | [**CommonResponseObjDebug**](CommonResponseObjDebug.md) | | [optional] ## Example diff --git a/docs/EzsigndocumentDeleteObjectV1Response.md b/docs/EzsigndocumentDeleteObjectV1Response.md index 774ca9b3b..7a870ed1c 100644 --- a/docs/EzsigndocumentDeleteObjectV1Response.md +++ b/docs/EzsigndocumentDeleteObjectV1Response.md @@ -6,6 +6,8 @@ Response for DELETE /1/object/ezsigndocument/{pkiEzsigndocumentID} Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**obj_debug_payload** | [**CommonResponseObjDebugPayload**](CommonResponseObjDebugPayload.md) | | +**obj_debug** | [**CommonResponseObjDebug**](CommonResponseObjDebug.md) | | [optional] ## Example diff --git a/docs/EzsigndocumentEditEzsignannotationsV1Response.md b/docs/EzsigndocumentEditEzsignannotationsV1Response.md index 099c13ec4..011ff6f2d 100644 --- a/docs/EzsigndocumentEditEzsignannotationsV1Response.md +++ b/docs/EzsigndocumentEditEzsignannotationsV1Response.md @@ -6,6 +6,8 @@ Response for PUT /1/object/ezsigndocument/{pkiEzsigndocumentID}/editEzsignannota Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**obj_debug_payload** | [**CommonResponseObjDebugPayload**](CommonResponseObjDebugPayload.md) | | +**obj_debug** | [**CommonResponseObjDebug**](CommonResponseObjDebug.md) | | [optional] **m_payload** | [**EzsigndocumentEditEzsignannotationsV1ResponseMPayload**](EzsigndocumentEditEzsignannotationsV1ResponseMPayload.md) | | ## Example diff --git a/docs/EzsigndocumentEditEzsignformfieldgroupsV1Response.md b/docs/EzsigndocumentEditEzsignformfieldgroupsV1Response.md index a56eaa1c3..06f9ec069 100644 --- a/docs/EzsigndocumentEditEzsignformfieldgroupsV1Response.md +++ b/docs/EzsigndocumentEditEzsignformfieldgroupsV1Response.md @@ -6,6 +6,8 @@ Response for PUT /1/object/ezsigndocument/{pkiEzsigndocumentID}/editEzsignformfi Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**obj_debug_payload** | [**CommonResponseObjDebugPayload**](CommonResponseObjDebugPayload.md) | | +**obj_debug** | [**CommonResponseObjDebug**](CommonResponseObjDebug.md) | | [optional] **m_payload** | [**EzsigndocumentEditEzsignformfieldgroupsV1ResponseMPayload**](EzsigndocumentEditEzsignformfieldgroupsV1ResponseMPayload.md) | | ## Example diff --git a/docs/EzsigndocumentEditEzsignsignaturesV1Response.md b/docs/EzsigndocumentEditEzsignsignaturesV1Response.md index dcda2e616..080fce16b 100644 --- a/docs/EzsigndocumentEditEzsignsignaturesV1Response.md +++ b/docs/EzsigndocumentEditEzsignsignaturesV1Response.md @@ -6,6 +6,8 @@ Response for PUT /1/object/ezsigndocument/{pkiEzsigndocumentID}/editEzsignsignat Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**obj_debug_payload** | [**CommonResponseObjDebugPayload**](CommonResponseObjDebugPayload.md) | | +**obj_debug** | [**CommonResponseObjDebug**](CommonResponseObjDebug.md) | | [optional] **m_payload** | [**EzsigndocumentEditEzsignsignaturesV1ResponseMPayload**](EzsigndocumentEditEzsignsignaturesV1ResponseMPayload.md) | | ## Example diff --git a/docs/EzsigndocumentEditObjectV1Request.md b/docs/EzsigndocumentEditObjectV1Request.md index a596261ef..90ace6cf7 100644 --- a/docs/EzsigndocumentEditObjectV1Request.md +++ b/docs/EzsigndocumentEditObjectV1Request.md @@ -6,7 +6,7 @@ Request for PUT /1/object/ezsigndocument/{pkiEzsigndocumentID} Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**obj_ezsigndocument** | [**EzsigndocumentRequest**](EzsigndocumentRequest.md) | An Ezsigndocument Object and children to create a complete structure | +**obj_ezsigndocument** | [**EzsigndocumentRequestCompound**](EzsigndocumentRequestCompound.md) | | ## Example diff --git a/docs/EzsigndocumentEditObjectV1Response.md b/docs/EzsigndocumentEditObjectV1Response.md index 762eefd16..61d1a51f9 100644 --- a/docs/EzsigndocumentEditObjectV1Response.md +++ b/docs/EzsigndocumentEditObjectV1Response.md @@ -6,6 +6,8 @@ Response for PUT /1/object/ezsigndocument/{pkiEzsigndocumentID} Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**obj_debug_payload** | [**CommonResponseObjDebugPayload**](CommonResponseObjDebugPayload.md) | | +**obj_debug** | [**CommonResponseObjDebug**](CommonResponseObjDebug.md) | | [optional] **a_obj_warning** | [**List[CommonResponseWarning]**](CommonResponseWarning.md) | | [optional] ## Example diff --git a/docs/EzsigndocumentEndPrematurelyV1Response.md b/docs/EzsigndocumentEndPrematurelyV1Response.md index dd56e0f25..98c8768b3 100644 --- a/docs/EzsigndocumentEndPrematurelyV1Response.md +++ b/docs/EzsigndocumentEndPrematurelyV1Response.md @@ -6,6 +6,8 @@ Response for POST /1/object/ezsigndocument/{pkiEzsigndocument}/endPrematurely Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**obj_debug_payload** | [**CommonResponseObjDebugPayload**](CommonResponseObjDebugPayload.md) | | +**obj_debug** | [**CommonResponseObjDebug**](CommonResponseObjDebug.md) | | [optional] ## Example diff --git a/docs/EzsigndocumentExtractTextV1Response.md b/docs/EzsigndocumentExtractTextV1Response.md index 9ab648f57..3100b7d52 100644 --- a/docs/EzsigndocumentExtractTextV1Response.md +++ b/docs/EzsigndocumentExtractTextV1Response.md @@ -6,6 +6,8 @@ Response for POST /1/object/ezsigndocument/{pkiEzsigndocumentID}/extractText Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**obj_debug_payload** | [**CommonResponseObjDebugPayload**](CommonResponseObjDebugPayload.md) | | +**obj_debug** | [**CommonResponseObjDebug**](CommonResponseObjDebug.md) | | [optional] **m_payload** | [**EzsigndocumentExtractTextV1ResponseMPayload**](EzsigndocumentExtractTextV1ResponseMPayload.md) | | ## Example diff --git a/docs/EzsigndocumentFlattenV1Response.md b/docs/EzsigndocumentFlattenV1Response.md index cd82a0056..343068c39 100644 --- a/docs/EzsigndocumentFlattenV1Response.md +++ b/docs/EzsigndocumentFlattenV1Response.md @@ -6,6 +6,8 @@ Response for POST /1/object/ezsigndocument/{pkiEzsigndocument}/flatten Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**obj_debug_payload** | [**CommonResponseObjDebugPayload**](CommonResponseObjDebugPayload.md) | | +**obj_debug** | [**CommonResponseObjDebug**](CommonResponseObjDebug.md) | | [optional] ## Example diff --git a/docs/EzsigndocumentGetActionableElementsV1Response.md b/docs/EzsigndocumentGetActionableElementsV1Response.md index 8a7193e74..942038f5b 100644 --- a/docs/EzsigndocumentGetActionableElementsV1Response.md +++ b/docs/EzsigndocumentGetActionableElementsV1Response.md @@ -6,6 +6,8 @@ Response for GET /1/object/ezsigndocument/{pkiEzsigndocumentID}/getActionableEle Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**obj_debug_payload** | [**CommonResponseObjDebugPayload**](CommonResponseObjDebugPayload.md) | | +**obj_debug** | [**CommonResponseObjDebug**](CommonResponseObjDebug.md) | | [optional] **m_payload** | [**EzsigndocumentGetActionableElementsV1ResponseMPayload**](EzsigndocumentGetActionableElementsV1ResponseMPayload.md) | | ## Example diff --git a/docs/EzsigndocumentGetAttachmentsV1Response.md b/docs/EzsigndocumentGetAttachmentsV1Response.md index c2c494df6..585820efa 100644 --- a/docs/EzsigndocumentGetAttachmentsV1Response.md +++ b/docs/EzsigndocumentGetAttachmentsV1Response.md @@ -6,6 +6,8 @@ Response for GET /1/object/ezsigndocument/{pkiEzsigndocumentID}/getAttachments Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**obj_debug_payload** | [**CommonResponseObjDebugPayload**](CommonResponseObjDebugPayload.md) | | +**obj_debug** | [**CommonResponseObjDebug**](CommonResponseObjDebug.md) | | [optional] **m_payload** | [**EzsigndocumentGetAttachmentsV1ResponseMPayload**](EzsigndocumentGetAttachmentsV1ResponseMPayload.md) | | ## Example diff --git a/docs/EzsigndocumentGetCompletedElementsV1Response.md b/docs/EzsigndocumentGetCompletedElementsV1Response.md index 2cee69cf9..6f8bf4cec 100644 --- a/docs/EzsigndocumentGetCompletedElementsV1Response.md +++ b/docs/EzsigndocumentGetCompletedElementsV1Response.md @@ -6,6 +6,8 @@ Response for GET /1/object/ezsigndocument/{pkiEzsigndocumentID}/getCompletedElem Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**obj_debug_payload** | [**CommonResponseObjDebugPayload**](CommonResponseObjDebugPayload.md) | | +**obj_debug** | [**CommonResponseObjDebug**](CommonResponseObjDebug.md) | | [optional] **m_payload** | [**EzsigndocumentGetCompletedElementsV1ResponseMPayload**](EzsigndocumentGetCompletedElementsV1ResponseMPayload.md) | | ## Example diff --git a/docs/EzsigndocumentGetDownloadUrlV1Response.md b/docs/EzsigndocumentGetDownloadUrlV1Response.md index 545880f5a..7f0d5015a 100644 --- a/docs/EzsigndocumentGetDownloadUrlV1Response.md +++ b/docs/EzsigndocumentGetDownloadUrlV1Response.md @@ -6,6 +6,8 @@ Response for GET /1/object/ezsigndocument/{pkiEzsigndocument}/getDownloadUrl Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**obj_debug_payload** | [**CommonResponseObjDebugPayload**](CommonResponseObjDebugPayload.md) | | +**obj_debug** | [**CommonResponseObjDebug**](CommonResponseObjDebug.md) | | [optional] **m_payload** | [**EzsigndocumentGetDownloadUrlV1ResponseMPayload**](EzsigndocumentGetDownloadUrlV1ResponseMPayload.md) | | ## Example diff --git a/docs/EzsigndocumentGetEzsignannotationsV1Response.md b/docs/EzsigndocumentGetEzsignannotationsV1Response.md index 40b9ad403..83c478485 100644 --- a/docs/EzsigndocumentGetEzsignannotationsV1Response.md +++ b/docs/EzsigndocumentGetEzsignannotationsV1Response.md @@ -6,6 +6,8 @@ Response for GET /1/object/ezsigndocument/{pkiEzsigndocument}/getEzsignannotatio Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**obj_debug_payload** | [**CommonResponseObjDebugPayload**](CommonResponseObjDebugPayload.md) | | +**obj_debug** | [**CommonResponseObjDebug**](CommonResponseObjDebug.md) | | [optional] **m_payload** | [**EzsigndocumentGetEzsignannotationsV1ResponseMPayload**](EzsigndocumentGetEzsignannotationsV1ResponseMPayload.md) | | ## Example diff --git a/docs/EzsigndocumentGetEzsigndiscussionsV1Response.md b/docs/EzsigndocumentGetEzsigndiscussionsV1Response.md index 6225d81f9..eeefd8ddd 100644 --- a/docs/EzsigndocumentGetEzsigndiscussionsV1Response.md +++ b/docs/EzsigndocumentGetEzsigndiscussionsV1Response.md @@ -6,6 +6,8 @@ Response for GET /1/object/ezsigndocument/{pkiEzsigndocument}/getEzsigndiscussio Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**obj_debug_payload** | [**CommonResponseObjDebugPayload**](CommonResponseObjDebugPayload.md) | | +**obj_debug** | [**CommonResponseObjDebug**](CommonResponseObjDebug.md) | | [optional] **m_payload** | [**EzsigndocumentGetEzsigndiscussionsV1ResponseMPayload**](EzsigndocumentGetEzsigndiscussionsV1ResponseMPayload.md) | | ## Example diff --git a/docs/EzsigndocumentGetEzsignformfieldgroupsV1Response.md b/docs/EzsigndocumentGetEzsignformfieldgroupsV1Response.md index c953bc685..de3431fba 100644 --- a/docs/EzsigndocumentGetEzsignformfieldgroupsV1Response.md +++ b/docs/EzsigndocumentGetEzsignformfieldgroupsV1Response.md @@ -6,6 +6,8 @@ Response for GET /1/object/ezsigndocument/{pkiEzsigndocument}/getEzsignformfield Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**obj_debug_payload** | [**CommonResponseObjDebugPayload**](CommonResponseObjDebugPayload.md) | | +**obj_debug** | [**CommonResponseObjDebug**](CommonResponseObjDebug.md) | | [optional] **m_payload** | [**EzsigndocumentGetEzsignformfieldgroupsV1ResponseMPayload**](EzsigndocumentGetEzsignformfieldgroupsV1ResponseMPayload.md) | | ## Example diff --git a/docs/EzsigndocumentGetEzsignpagesV1Response.md b/docs/EzsigndocumentGetEzsignpagesV1Response.md index 26c1a9c07..44715d6ae 100644 --- a/docs/EzsigndocumentGetEzsignpagesV1Response.md +++ b/docs/EzsigndocumentGetEzsignpagesV1Response.md @@ -6,6 +6,8 @@ Response for GET /1/object/ezsigndocument/{pkiEzsigndocument}/getEzsignpages Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**obj_debug_payload** | [**CommonResponseObjDebugPayload**](CommonResponseObjDebugPayload.md) | | +**obj_debug** | [**CommonResponseObjDebug**](CommonResponseObjDebug.md) | | [optional] **m_payload** | [**EzsigndocumentGetEzsignpagesV1ResponseMPayload**](EzsigndocumentGetEzsignpagesV1ResponseMPayload.md) | | ## Example diff --git a/docs/EzsigndocumentGetEzsignpagesV1ResponseMPayload.md b/docs/EzsigndocumentGetEzsignpagesV1ResponseMPayload.md index e38e804c1..89d99c2c2 100644 --- a/docs/EzsigndocumentGetEzsignpagesV1ResponseMPayload.md +++ b/docs/EzsigndocumentGetEzsignpagesV1ResponseMPayload.md @@ -6,7 +6,7 @@ Payload for GET /1/object/ezsigndocument/{pkiEzsigndocument}/getEzsignpages Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**a_obj_ezsignpage** | [**List[EzsignpageResponseCompound]**](EzsignpageResponse.md) | | +**a_obj_ezsignpage** | [**List[EzsignpageResponseCompound]**](EzsignpageResponseCompound.md) | | ## Example diff --git a/docs/EzsigndocumentGetEzsignsignaturesAutomaticV1Response.md b/docs/EzsigndocumentGetEzsignsignaturesAutomaticV1Response.md index 7b81e115f..1a02e22ad 100644 --- a/docs/EzsigndocumentGetEzsignsignaturesAutomaticV1Response.md +++ b/docs/EzsigndocumentGetEzsignsignaturesAutomaticV1Response.md @@ -6,6 +6,8 @@ Response for GET /1/object/ezsigndocument/{pkiEzsigndocumentID}/getEzsignsignatu Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**obj_debug_payload** | [**CommonResponseObjDebugPayload**](CommonResponseObjDebugPayload.md) | | +**obj_debug** | [**CommonResponseObjDebug**](CommonResponseObjDebug.md) | | [optional] **m_payload** | [**EzsigndocumentGetEzsignsignaturesAutomaticV1ResponseMPayload**](EzsigndocumentGetEzsignsignaturesAutomaticV1ResponseMPayload.md) | | ## Example diff --git a/docs/EzsigndocumentGetEzsignsignaturesV1Response.md b/docs/EzsigndocumentGetEzsignsignaturesV1Response.md index bb958600c..aee71f898 100644 --- a/docs/EzsigndocumentGetEzsignsignaturesV1Response.md +++ b/docs/EzsigndocumentGetEzsignsignaturesV1Response.md @@ -6,6 +6,8 @@ Response for GET /1/object/ezsigndocument/{pkiEzsigndocument}/getEzsignsignature Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**obj_debug_payload** | [**CommonResponseObjDebugPayload**](CommonResponseObjDebugPayload.md) | | +**obj_debug** | [**CommonResponseObjDebug**](CommonResponseObjDebug.md) | | [optional] **m_payload** | [**EzsigndocumentGetEzsignsignaturesV1ResponseMPayload**](EzsigndocumentGetEzsignsignaturesV1ResponseMPayload.md) | | ## Example diff --git a/docs/EzsigndocumentGetFormDataV1Response.md b/docs/EzsigndocumentGetFormDataV1Response.md index 805b90f98..92a77356a 100644 --- a/docs/EzsigndocumentGetFormDataV1Response.md +++ b/docs/EzsigndocumentGetFormDataV1Response.md @@ -6,6 +6,8 @@ Response for GET /1/object/ezsigndocument/{pkiEzsigndocument}/getFormData Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**obj_debug_payload** | [**CommonResponseObjDebugPayload**](CommonResponseObjDebugPayload.md) | | +**obj_debug** | [**CommonResponseObjDebug**](CommonResponseObjDebug.md) | | [optional] **m_payload** | [**EzsigndocumentGetFormDataV1ResponseMPayload**](EzsigndocumentGetFormDataV1ResponseMPayload.md) | | ## Example diff --git a/docs/EzsigndocumentGetObjectV1Response.md b/docs/EzsigndocumentGetObjectV1Response.md index 666ff2fa3..a69c79a0d 100644 --- a/docs/EzsigndocumentGetObjectV1Response.md +++ b/docs/EzsigndocumentGetObjectV1Response.md @@ -6,7 +6,9 @@ Response for GET /1/object/ezsigndocument/{pkiEzsigndocumentID} Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**m_payload** | [**EzsigndocumentResponseCompound**](EzsigndocumentResponseCompound.md) | Payload for GET /1/object/ezsigndocument/{pkiEzsigndocumentID} | +**obj_debug_payload** | [**CommonResponseObjDebugPayload**](CommonResponseObjDebugPayload.md) | | +**obj_debug** | [**CommonResponseObjDebug**](CommonResponseObjDebug.md) | | [optional] +**m_payload** | [**EzsigndocumentGetObjectV1ResponseMPayload**](EzsigndocumentGetObjectV1ResponseMPayload.md) | | ## Example diff --git a/docs/EzsigndocumentGetObjectV1ResponseMPayload.md b/docs/EzsigndocumentGetObjectV1ResponseMPayload.md index c7d4807d2..e89f6cf69 100644 --- a/docs/EzsigndocumentGetObjectV1ResponseMPayload.md +++ b/docs/EzsigndocumentGetObjectV1ResponseMPayload.md @@ -6,6 +6,37 @@ Payload for GET /1/object/ezsigndocument/{pkiEzsigndocumentID} Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**pki_ezsigndocument_id** | **int** | The unique ID of the Ezsigndocument | +**fki_ezsignfolder_id** | **int** | The unique ID of the Ezsignfolder | +**fki_ezsignfoldersignerassociation_id_declinedtosign** | **int** | The unique ID of the Ezsignfoldersignerassociation | [optional] +**dt_ezsigndocument_duedate** | **str** | The maximum date and time at which the Ezsigndocument can be signed. | +**dt_ezsignform_completed** | **str** | The date and time at which the Ezsignform has been completed. | [optional] +**fki_language_id** | **int** | The unique ID of the Language. Valid values: |Value|Description| |-|-| |1|French| |2|English| | [optional] +**s_ezsigndocument_name** | **str** | The name of the document that will be presented to Ezsignfoldersignerassociations | +**e_ezsigndocument_step** | [**FieldEEzsigndocumentStep**](FieldEEzsigndocumentStep.md) | | +**dt_ezsigndocument_firstsend** | **str** | The date and time when the Ezsigndocument was first sent. | [optional] +**dt_ezsigndocument_lastsend** | **str** | The date and time when the Ezsigndocument was sent the last time. | [optional] +**i_ezsigndocument_order** | **int** | The order in which the Ezsigndocument will be presented to the signatory in the Ezsignfolder. | +**i_ezsigndocument_pagetotal** | **int** | The number of pages in the Ezsigndocument. | +**i_ezsigndocument_signaturesigned** | **int** | The number of signatures that were signed in the document. | +**i_ezsigndocument_signaturetotal** | **int** | The number of total signatures that were requested in the Ezsigndocument. | +**i_ezsigndocument_formfieldtotal** | **int** | The number of total Ezsignformfield that were requested in the Ezsigndocument. | +**s_ezsigndocument_md5initial** | **str** | MD5 Hash of the initial PDF Document before signatures were applied to it. | [optional] +**t_ezsigndocument_declinedtosignreason** | **str** | A custom text message that will contain the refusal message if the Ezsigndocument is declined to sign | [optional] +**s_ezsigndocument_md5signed** | **str** | MD5 Hash of the final PDF Document after all signatures were applied to it. | [optional] +**b_ezsigndocument_ezsignform** | **bool** | If the Ezsigndocument contains an Ezsignform or not | [optional] +**b_ezsigndocument_hassignedsignatures** | **bool** | If the Ezsigndocument contains signed signatures (From internal or external sources) | [optional] +**obj_audit** | [**CommonAudit**](CommonAudit.md) | | [optional] +**s_ezsigndocument_externalid** | **str** | This field can be used to store an External ID from the client's system. Anything can be stored in this field, it will never be evaluated by the eZmax system and will be returned AS-IS. To store multiple values, consider using a JSON formatted structure, a URL encoded string, a CSV or any other custom format. | [optional] +**i_ezsigndocument_ezsignsignatureattachmenttotal** | **int** | The number of Ezsigndocumentattachment total | +**i_ezsigndocument_ezsigndiscussiontotal** | **int** | The total number of Ezsigndiscussions | +**e_ezsigndocument_steptype** | [**ComputedEEzsigndocumentSteptype**](ComputedEEzsigndocumentSteptype.md) | | +**i_ezsigndocument_stepformtotal** | **int** | The total number of steps in the form filling phase | +**i_ezsigndocument_stepformcurrent** | **int** | The current step in the form filling phase | +**i_ezsigndocument_stepsignaturetotal** | **int** | The total number of steps in the signature filling phase | +**i_ezsigndocument_stepsignature_current** | **int** | The current step in the signature phase | +**a_obj_ezsignfoldersignerassociationstatus** | [**List[CustomEzsignfoldersignerassociationstatusResponse]**](CustomEzsignfoldersignerassociationstatusResponse.md) | | +**a_obj_ezsigndocumentdependency** | [**List[EzsigndocumentdependencyResponse]**](EzsigndocumentdependencyResponse.md) | | [optional] ## Example diff --git a/docs/EzsigndocumentGetObjectV2Response.md b/docs/EzsigndocumentGetObjectV2Response.md index a132b078e..3a2e2a742 100644 --- a/docs/EzsigndocumentGetObjectV2Response.md +++ b/docs/EzsigndocumentGetObjectV2Response.md @@ -6,6 +6,8 @@ Response for GET /2/object/ezsigndocument/{pkiEzsigndocumentID} Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**obj_debug_payload** | [**CommonResponseObjDebugPayload**](CommonResponseObjDebugPayload.md) | | +**obj_debug** | [**CommonResponseObjDebug**](CommonResponseObjDebug.md) | | [optional] **m_payload** | [**EzsigndocumentGetObjectV2ResponseMPayload**](EzsigndocumentGetObjectV2ResponseMPayload.md) | | ## Example diff --git a/docs/EzsigndocumentGetTemporaryProofV1Response.md b/docs/EzsigndocumentGetTemporaryProofV1Response.md index 60426e23b..7a7765261 100644 --- a/docs/EzsigndocumentGetTemporaryProofV1Response.md +++ b/docs/EzsigndocumentGetTemporaryProofV1Response.md @@ -6,6 +6,8 @@ Response for GET /1/object/ezsigndocument/{pkiEzsigndocumentID}/getTemporaryProo Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**obj_debug_payload** | [**CommonResponseObjDebugPayload**](CommonResponseObjDebugPayload.md) | | +**obj_debug** | [**CommonResponseObjDebug**](CommonResponseObjDebug.md) | | [optional] **m_payload** | [**EzsigndocumentGetTemporaryProofV1ResponseMPayload**](EzsigndocumentGetTemporaryProofV1ResponseMPayload.md) | | ## Example diff --git a/docs/EzsigndocumentGetTemporaryProofV1ResponseMPayload.md b/docs/EzsigndocumentGetTemporaryProofV1ResponseMPayload.md index 2aa52d566..d11911535 100644 --- a/docs/EzsigndocumentGetTemporaryProofV1ResponseMPayload.md +++ b/docs/EzsigndocumentGetTemporaryProofV1ResponseMPayload.md @@ -6,7 +6,7 @@ Payload for GET /1/object/ezsigndocument/{pkiEzsigndocumentID}/getTemporaryProof Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**a_obj_ezsigndocumentlog** | [**List[EzsigndocumentlogResponseCompound]**](EzsigndocumentlogResponse.md) | | +**a_obj_ezsigndocumentlog** | [**List[EzsigndocumentlogResponseCompound]**](EzsigndocumentlogResponseCompound.md) | | ## Example diff --git a/docs/EzsigndocumentGetWordsPositionsV1Response.md b/docs/EzsigndocumentGetWordsPositionsV1Response.md index f199b839c..dd077e767 100644 --- a/docs/EzsigndocumentGetWordsPositionsV1Response.md +++ b/docs/EzsigndocumentGetWordsPositionsV1Response.md @@ -6,6 +6,8 @@ Response for POST /1/object/ezsigndocument/{pkiEzsigndocumentID}/getWordsPositio Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**obj_debug_payload** | [**CommonResponseObjDebugPayload**](CommonResponseObjDebugPayload.md) | | +**obj_debug** | [**CommonResponseObjDebug**](CommonResponseObjDebug.md) | | [optional] **m_payload** | [**List[CustomWordPositionWordResponse]**](CustomWordPositionWordResponse.md) | Payload for POST /1/object/ezsigndocument/{pkiEzsigndocumentID}/getWordsPositions | ## Example diff --git a/docs/EzsigndocumentPatchObjectV1Response.md b/docs/EzsigndocumentPatchObjectV1Response.md index 35b76e4d8..7d3e0de80 100644 --- a/docs/EzsigndocumentPatchObjectV1Response.md +++ b/docs/EzsigndocumentPatchObjectV1Response.md @@ -6,6 +6,8 @@ Response for PATCH /1/object/ezsigndocument/{pkiEzsigndocumentID} Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**obj_debug_payload** | [**CommonResponseObjDebugPayload**](CommonResponseObjDebugPayload.md) | | +**obj_debug** | [**CommonResponseObjDebug**](CommonResponseObjDebug.md) | | [optional] ## Example diff --git a/docs/EzsigndocumentResponseCompound.md b/docs/EzsigndocumentResponseCompound.md index d34f4af02..5264b5c11 100644 --- a/docs/EzsigndocumentResponseCompound.md +++ b/docs/EzsigndocumentResponseCompound.md @@ -6,6 +6,30 @@ An Ezsigndocument Object and children to create a complete structure Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**pki_ezsigndocument_id** | **int** | The unique ID of the Ezsigndocument | +**fki_ezsignfolder_id** | **int** | The unique ID of the Ezsignfolder | +**fki_ezsignfoldersignerassociation_id_declinedtosign** | **int** | The unique ID of the Ezsignfoldersignerassociation | [optional] +**dt_ezsigndocument_duedate** | **str** | The maximum date and time at which the Ezsigndocument can be signed. | +**dt_ezsignform_completed** | **str** | The date and time at which the Ezsignform has been completed. | [optional] +**fki_language_id** | **int** | The unique ID of the Language. Valid values: |Value|Description| |-|-| |1|French| |2|English| | [optional] +**s_ezsigndocument_name** | **str** | The name of the document that will be presented to Ezsignfoldersignerassociations | +**e_ezsigndocument_step** | [**FieldEEzsigndocumentStep**](FieldEEzsigndocumentStep.md) | | +**dt_ezsigndocument_firstsend** | **str** | The date and time when the Ezsigndocument was first sent. | [optional] +**dt_ezsigndocument_lastsend** | **str** | The date and time when the Ezsigndocument was sent the last time. | [optional] +**i_ezsigndocument_order** | **int** | The order in which the Ezsigndocument will be presented to the signatory in the Ezsignfolder. | +**i_ezsigndocument_pagetotal** | **int** | The number of pages in the Ezsigndocument. | +**i_ezsigndocument_signaturesigned** | **int** | The number of signatures that were signed in the document. | +**i_ezsigndocument_signaturetotal** | **int** | The number of total signatures that were requested in the Ezsigndocument. | +**i_ezsigndocument_formfieldtotal** | **int** | The number of total Ezsignformfield that were requested in the Ezsigndocument. | +**s_ezsigndocument_md5initial** | **str** | MD5 Hash of the initial PDF Document before signatures were applied to it. | [optional] +**t_ezsigndocument_declinedtosignreason** | **str** | A custom text message that will contain the refusal message if the Ezsigndocument is declined to sign | [optional] +**s_ezsigndocument_md5signed** | **str** | MD5 Hash of the final PDF Document after all signatures were applied to it. | [optional] +**b_ezsigndocument_ezsignform** | **bool** | If the Ezsigndocument contains an Ezsignform or not | [optional] +**b_ezsigndocument_hassignedsignatures** | **bool** | If the Ezsigndocument contains signed signatures (From internal or external sources) | [optional] +**obj_audit** | [**CommonAudit**](CommonAudit.md) | | [optional] +**s_ezsigndocument_externalid** | **str** | This field can be used to store an External ID from the client's system. Anything can be stored in this field, it will never be evaluated by the eZmax system and will be returned AS-IS. To store multiple values, consider using a JSON formatted structure, a URL encoded string, a CSV or any other custom format. | [optional] +**i_ezsigndocument_ezsignsignatureattachmenttotal** | **int** | The number of Ezsigndocumentattachment total | +**i_ezsigndocument_ezsigndiscussiontotal** | **int** | The total number of Ezsigndiscussions | **e_ezsigndocument_steptype** | [**ComputedEEzsigndocumentSteptype**](ComputedEEzsigndocumentSteptype.md) | | **i_ezsigndocument_stepformtotal** | **int** | The total number of steps in the form filling phase | **i_ezsigndocument_stepformcurrent** | **int** | The current step in the form filling phase | diff --git a/docs/EzsigndocumentSubmitEzsignformV1Request.md b/docs/EzsigndocumentSubmitEzsignformV1Request.md index 6cfacb4f7..836bde42d 100644 --- a/docs/EzsigndocumentSubmitEzsignformV1Request.md +++ b/docs/EzsigndocumentSubmitEzsignformV1Request.md @@ -7,7 +7,7 @@ Request for POST /1/object/ezsigndocument/{pkiEzsigndocumentID}/submitEzsignform Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **b_ezsignform_isdraft** | **bool** | Whether the Ezsignform submitted is a draft or not. | -**a_obj_ezsignformfieldgroup** | **List[CustomEzsignformfieldgroupRequest]** | | +**a_obj_ezsignformfieldgroup** | [**List[CustomEzsignformfieldgroupRequest]**](CustomEzsignformfieldgroupRequest.md) | | ## Example diff --git a/docs/EzsigndocumentSubmitEzsignformV1Response.md b/docs/EzsigndocumentSubmitEzsignformV1Response.md index d4905aea0..3938a3715 100644 --- a/docs/EzsigndocumentSubmitEzsignformV1Response.md +++ b/docs/EzsigndocumentSubmitEzsignformV1Response.md @@ -6,6 +6,8 @@ Response for POST /1/object/ezsigndocument/{pkiEzsigndocumentID}/submitEzsignfor Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**obj_debug_payload** | [**CommonResponseObjDebugPayload**](CommonResponseObjDebugPayload.md) | | +**obj_debug** | [**CommonResponseObjDebug**](CommonResponseObjDebug.md) | | [optional] ## Example diff --git a/docs/EzsigndocumentUnsendV1Response.md b/docs/EzsigndocumentUnsendV1Response.md index 961c13952..ad5f88cfd 100644 --- a/docs/EzsigndocumentUnsendV1Response.md +++ b/docs/EzsigndocumentUnsendV1Response.md @@ -6,6 +6,8 @@ Response for POST /1/object/ezsigndocument/{pkiEzsigndocumentID}/unsend Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**obj_debug_payload** | [**CommonResponseObjDebugPayload**](CommonResponseObjDebugPayload.md) | | +**obj_debug** | [**CommonResponseObjDebug**](CommonResponseObjDebug.md) | | [optional] ## Example diff --git a/docs/EzsignfolderArchiveV1Response.md b/docs/EzsignfolderArchiveV1Response.md index 45ca34857..767f0eab2 100644 --- a/docs/EzsignfolderArchiveV1Response.md +++ b/docs/EzsignfolderArchiveV1Response.md @@ -6,6 +6,8 @@ Response for POST /1/object/ezsignfolder/{pkiEzsignfolderID}/archive Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**obj_debug_payload** | [**CommonResponseObjDebugPayload**](CommonResponseObjDebugPayload.md) | | +**obj_debug** | [**CommonResponseObjDebug**](CommonResponseObjDebug.md) | | [optional] ## Example diff --git a/docs/EzsignfolderCreateObjectV1Request.md b/docs/EzsignfolderCreateObjectV1Request.md index a98968b7b..d6955ab0c 100644 --- a/docs/EzsignfolderCreateObjectV1Request.md +++ b/docs/EzsignfolderCreateObjectV1Request.md @@ -7,7 +7,7 @@ Request for POST /1/object/ezsignfolder Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **obj_ezsignfolder** | [**EzsignfolderRequest**](EzsignfolderRequest.md) | | [optional] -**obj_ezsignfolder_compound** | [**EzsignfolderRequest**](EzsignfolderRequest.md) | An Ezsignfolder Object and children to create a complete structure | [optional] +**obj_ezsignfolder_compound** | [**EzsignfolderRequestCompound**](EzsignfolderRequestCompound.md) | | [optional] ## Example diff --git a/docs/EzsignfolderCreateObjectV1Response.md b/docs/EzsignfolderCreateObjectV1Response.md index 6512f6974..65d5445a1 100644 --- a/docs/EzsignfolderCreateObjectV1Response.md +++ b/docs/EzsignfolderCreateObjectV1Response.md @@ -6,6 +6,8 @@ Response for POST /1/object/ezsignfolder Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**obj_debug_payload** | [**CommonResponseObjDebugPayload**](CommonResponseObjDebugPayload.md) | | +**obj_debug** | [**CommonResponseObjDebug**](CommonResponseObjDebug.md) | | [optional] **m_payload** | [**EzsignfolderCreateObjectV1ResponseMPayload**](EzsignfolderCreateObjectV1ResponseMPayload.md) | | ## Example diff --git a/docs/EzsignfolderCreateObjectV2Request.md b/docs/EzsignfolderCreateObjectV2Request.md index 6aaa53153..6ad5b342d 100644 --- a/docs/EzsignfolderCreateObjectV2Request.md +++ b/docs/EzsignfolderCreateObjectV2Request.md @@ -6,7 +6,7 @@ Request for POST /2/object/ezsignfolder Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**a_obj_ezsignfolder** | [**List[EzsignfolderRequestCompound]**](EzsignfolderRequest.md) | | +**a_obj_ezsignfolder** | [**List[EzsignfolderRequestCompound]**](EzsignfolderRequestCompound.md) | | ## Example diff --git a/docs/EzsignfolderCreateObjectV2Response.md b/docs/EzsignfolderCreateObjectV2Response.md index 571d10d58..b1755268d 100644 --- a/docs/EzsignfolderCreateObjectV2Response.md +++ b/docs/EzsignfolderCreateObjectV2Response.md @@ -6,6 +6,8 @@ Response for POST /2/object/ezsignfolder Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**obj_debug_payload** | [**CommonResponseObjDebugPayload**](CommonResponseObjDebugPayload.md) | | +**obj_debug** | [**CommonResponseObjDebug**](CommonResponseObjDebug.md) | | [optional] **m_payload** | [**EzsignfolderCreateObjectV2ResponseMPayload**](EzsignfolderCreateObjectV2ResponseMPayload.md) | | ## Example diff --git a/docs/EzsignfolderCreateObjectV3Request.md b/docs/EzsignfolderCreateObjectV3Request.md index a774061b9..8ff9136f2 100644 --- a/docs/EzsignfolderCreateObjectV3Request.md +++ b/docs/EzsignfolderCreateObjectV3Request.md @@ -6,7 +6,7 @@ Request for POST /3/object/ezsignfolder Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**a_obj_ezsignfolder** | [**List[EzsignfolderRequestCompoundV3]**](EzsignfolderRequestV3.md) | | +**a_obj_ezsignfolder** | [**List[EzsignfolderRequestCompoundV3]**](EzsignfolderRequestCompoundV3.md) | | ## Example diff --git a/docs/EzsignfolderCreateObjectV3Response.md b/docs/EzsignfolderCreateObjectV3Response.md index d8c240199..dadd2501b 100644 --- a/docs/EzsignfolderCreateObjectV3Response.md +++ b/docs/EzsignfolderCreateObjectV3Response.md @@ -6,6 +6,8 @@ Response for POST /3/object/ezsignfolder Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**obj_debug_payload** | [**CommonResponseObjDebugPayload**](CommonResponseObjDebugPayload.md) | | +**obj_debug** | [**CommonResponseObjDebug**](CommonResponseObjDebug.md) | | [optional] **m_payload** | [**EzsignfolderCreateObjectV3ResponseMPayload**](EzsignfolderCreateObjectV3ResponseMPayload.md) | | ## Example diff --git a/docs/EzsignfolderDeleteObjectV1Response.md b/docs/EzsignfolderDeleteObjectV1Response.md index 204332b5c..89d5df237 100644 --- a/docs/EzsignfolderDeleteObjectV1Response.md +++ b/docs/EzsignfolderDeleteObjectV1Response.md @@ -6,6 +6,8 @@ Response for DELETE /1/object/ezsignfolder/{pkiEzsignfolderID} Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**obj_debug_payload** | [**CommonResponseObjDebugPayload**](CommonResponseObjDebugPayload.md) | | +**obj_debug** | [**CommonResponseObjDebug**](CommonResponseObjDebug.md) | | [optional] ## Example diff --git a/docs/EzsignfolderDisposeEzsignfoldersV1Response.md b/docs/EzsignfolderDisposeEzsignfoldersV1Response.md index 65b3f6bc9..a720f7df8 100644 --- a/docs/EzsignfolderDisposeEzsignfoldersV1Response.md +++ b/docs/EzsignfolderDisposeEzsignfoldersV1Response.md @@ -6,6 +6,8 @@ Response for POST /1/object/ezsignfolder/disposeEzsignfolders Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**obj_debug_payload** | [**CommonResponseObjDebugPayload**](CommonResponseObjDebugPayload.md) | | +**obj_debug** | [**CommonResponseObjDebug**](CommonResponseObjDebug.md) | | [optional] ## Example diff --git a/docs/EzsignfolderDisposeV1Response.md b/docs/EzsignfolderDisposeV1Response.md index c2d7da294..5dedebb75 100644 --- a/docs/EzsignfolderDisposeV1Response.md +++ b/docs/EzsignfolderDisposeV1Response.md @@ -6,6 +6,8 @@ Response for POST /1/object/ezsignfolder/{pkiEzsignfolderID}/dispose Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**obj_debug_payload** | [**CommonResponseObjDebugPayload**](CommonResponseObjDebugPayload.md) | | +**obj_debug** | [**CommonResponseObjDebug**](CommonResponseObjDebug.md) | | [optional] ## Example diff --git a/docs/EzsignfolderEditObjectV3Request.md b/docs/EzsignfolderEditObjectV3Request.md index e48845c18..f2a83cfd4 100644 --- a/docs/EzsignfolderEditObjectV3Request.md +++ b/docs/EzsignfolderEditObjectV3Request.md @@ -6,7 +6,7 @@ Request for PUT /3/object/ezsignfolder/{pkiEzsignfolderID} Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**obj_ezsignfolder** | [**EzsignfolderRequestV3**](EzsignfolderRequestV3.md) | An Ezsignfolder Object and children to create a complete structure | +**obj_ezsignfolder** | [**EzsignfolderRequestCompoundV3**](EzsignfolderRequestCompoundV3.md) | | ## Example diff --git a/docs/EzsignfolderEditObjectV3Response.md b/docs/EzsignfolderEditObjectV3Response.md index cae261b3f..7e928ccce 100644 --- a/docs/EzsignfolderEditObjectV3Response.md +++ b/docs/EzsignfolderEditObjectV3Response.md @@ -6,6 +6,8 @@ Response for PUT /3/object/ezsignfolder/{pkiEzsignfolderID} Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**obj_debug_payload** | [**CommonResponseObjDebugPayload**](CommonResponseObjDebugPayload.md) | | +**obj_debug** | [**CommonResponseObjDebug**](CommonResponseObjDebug.md) | | [optional] ## Example diff --git a/docs/EzsignfolderEndPrematurelyV1Response.md b/docs/EzsignfolderEndPrematurelyV1Response.md index 80a235f8c..acaf1c422 100644 --- a/docs/EzsignfolderEndPrematurelyV1Response.md +++ b/docs/EzsignfolderEndPrematurelyV1Response.md @@ -6,6 +6,8 @@ Response for POST /1/object/ezsignfolder/{pkiEzsignfolderID}/endPrematurely Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**obj_debug_payload** | [**CommonResponseObjDebugPayload**](CommonResponseObjDebugPayload.md) | | +**obj_debug** | [**CommonResponseObjDebug**](CommonResponseObjDebug.md) | | [optional] ## Example diff --git a/docs/EzsignfolderGetActionableElementsV1Response.md b/docs/EzsignfolderGetActionableElementsV1Response.md index 66e81596b..cf118c8cf 100644 --- a/docs/EzsignfolderGetActionableElementsV1Response.md +++ b/docs/EzsignfolderGetActionableElementsV1Response.md @@ -6,6 +6,8 @@ Response for GET /1/object/ezsignfolder/{pkiEzsignfolderID}/getActionableElement Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**obj_debug_payload** | [**CommonResponseObjDebugPayload**](CommonResponseObjDebugPayload.md) | | +**obj_debug** | [**CommonResponseObjDebug**](CommonResponseObjDebug.md) | | [optional] **m_payload** | [**EzsignfolderGetActionableElementsV1ResponseMPayload**](EzsignfolderGetActionableElementsV1ResponseMPayload.md) | | ## Example diff --git a/docs/EzsignfolderGetAttachmentCountV1Response.md b/docs/EzsignfolderGetAttachmentCountV1Response.md index 36192a1ad..1372a6889 100644 --- a/docs/EzsignfolderGetAttachmentCountV1Response.md +++ b/docs/EzsignfolderGetAttachmentCountV1Response.md @@ -6,6 +6,8 @@ Response for GET /1/object/ezsignfolder/{pkiEzsignfolderID}/getAttachmentCount Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**obj_debug_payload** | [**CommonResponseObjDebugPayload**](CommonResponseObjDebugPayload.md) | | +**obj_debug** | [**CommonResponseObjDebug**](CommonResponseObjDebug.md) | | [optional] **m_payload** | [**EzsignfolderGetAttachmentCountV1ResponseMPayload**](EzsignfolderGetAttachmentCountV1ResponseMPayload.md) | | ## Example diff --git a/docs/EzsignfolderGetAttachmentsV1Response.md b/docs/EzsignfolderGetAttachmentsV1Response.md index e241f3818..43ef77f41 100644 --- a/docs/EzsignfolderGetAttachmentsV1Response.md +++ b/docs/EzsignfolderGetAttachmentsV1Response.md @@ -6,6 +6,8 @@ Response for GET /1/object/ezsignfolder/{pkiEzsignfolderID}/getAttachments Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**obj_debug_payload** | [**CommonResponseObjDebugPayload**](CommonResponseObjDebugPayload.md) | | +**obj_debug** | [**CommonResponseObjDebug**](CommonResponseObjDebug.md) | | [optional] **m_payload** | [**EzsignfolderGetAttachmentsV1ResponseMPayload**](EzsignfolderGetAttachmentsV1ResponseMPayload.md) | | ## Example diff --git a/docs/EzsignfolderGetCommunicationCountV1Response.md b/docs/EzsignfolderGetCommunicationCountV1Response.md index 0edd8571a..d8966c8b9 100644 --- a/docs/EzsignfolderGetCommunicationCountV1Response.md +++ b/docs/EzsignfolderGetCommunicationCountV1Response.md @@ -6,6 +6,8 @@ Response for GET /1/object/ezsignfolder/{pkiEzsignfolderID}/getCommunicationCoun Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**obj_debug_payload** | [**CommonResponseObjDebugPayload**](CommonResponseObjDebugPayload.md) | | +**obj_debug** | [**CommonResponseObjDebug**](CommonResponseObjDebug.md) | | [optional] **m_payload** | [**EzsignfolderGetCommunicationCountV1ResponseMPayload**](EzsignfolderGetCommunicationCountV1ResponseMPayload.md) | | ## Example diff --git a/docs/EzsignfolderGetCommunicationListV1Response.md b/docs/EzsignfolderGetCommunicationListV1Response.md index 945a982a4..2497fb0cb 100644 --- a/docs/EzsignfolderGetCommunicationListV1Response.md +++ b/docs/EzsignfolderGetCommunicationListV1Response.md @@ -6,6 +6,8 @@ Response for GET /1/object/ezsignfolder/{pkiEzsignfolderID}/getCommunicationList Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**obj_debug_payload** | [**CommonResponseObjDebugPayloadGetList**](CommonResponseObjDebugPayloadGetList.md) | | +**obj_debug** | [**CommonResponseObjDebug**](CommonResponseObjDebug.md) | | [optional] **m_payload** | [**EzsignfolderGetCommunicationListV1ResponseMPayload**](EzsignfolderGetCommunicationListV1ResponseMPayload.md) | | ## Example diff --git a/docs/EzsignfolderGetCommunicationrecipientsV1Response.md b/docs/EzsignfolderGetCommunicationrecipientsV1Response.md index fc54ee641..e1ff5a733 100644 --- a/docs/EzsignfolderGetCommunicationrecipientsV1Response.md +++ b/docs/EzsignfolderGetCommunicationrecipientsV1Response.md @@ -6,6 +6,8 @@ Response for GET /1/object/ezsignfolder/{pkiEzsignfolderID}/getCommunicationreci Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**obj_debug_payload** | [**CommonResponseObjDebugPayload**](CommonResponseObjDebugPayload.md) | | +**obj_debug** | [**CommonResponseObjDebug**](CommonResponseObjDebug.md) | | [optional] **m_payload** | [**EzsignfolderGetCommunicationrecipientsV1ResponseMPayload**](EzsignfolderGetCommunicationrecipientsV1ResponseMPayload.md) | | ## Example diff --git a/docs/EzsignfolderGetCommunicationsendersV1Response.md b/docs/EzsignfolderGetCommunicationsendersV1Response.md index 7ef4aa51b..18599c7e1 100644 --- a/docs/EzsignfolderGetCommunicationsendersV1Response.md +++ b/docs/EzsignfolderGetCommunicationsendersV1Response.md @@ -6,6 +6,8 @@ Response for GET /1/object/ezsignfolder/{pkiEzsignfolderID}/getCommunicationreci Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**obj_debug_payload** | [**CommonResponseObjDebugPayload**](CommonResponseObjDebugPayload.md) | | +**obj_debug** | [**CommonResponseObjDebug**](CommonResponseObjDebug.md) | | [optional] **m_payload** | [**EzsignfolderGetCommunicationsendersV1ResponseMPayload**](EzsignfolderGetCommunicationsendersV1ResponseMPayload.md) | | ## Example diff --git a/docs/EzsignfolderGetEzsigndocumentsV1Response.md b/docs/EzsignfolderGetEzsigndocumentsV1Response.md index 777be7cf3..3996e3f87 100644 --- a/docs/EzsignfolderGetEzsigndocumentsV1Response.md +++ b/docs/EzsignfolderGetEzsigndocumentsV1Response.md @@ -6,6 +6,8 @@ Response for GET /1/object/ezsignfolder/{pkiEzsignfolder}/getEzsigndocuments Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**obj_debug_payload** | [**CommonResponseObjDebugPayload**](CommonResponseObjDebugPayload.md) | | +**obj_debug** | [**CommonResponseObjDebug**](CommonResponseObjDebug.md) | | [optional] **m_payload** | [**EzsignfolderGetEzsigndocumentsV1ResponseMPayload**](EzsignfolderGetEzsigndocumentsV1ResponseMPayload.md) | | ## Example diff --git a/docs/EzsignfolderGetEzsignfoldersignerassociationsV1Response.md b/docs/EzsignfolderGetEzsignfoldersignerassociationsV1Response.md index 64cb495d2..39cc318f2 100644 --- a/docs/EzsignfolderGetEzsignfoldersignerassociationsV1Response.md +++ b/docs/EzsignfolderGetEzsignfoldersignerassociationsV1Response.md @@ -6,6 +6,8 @@ Response for GET /1/object/ezsignfolder/{pkiEzsignfolder}/getEzsignfoldersignera Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**obj_debug_payload** | [**CommonResponseObjDebugPayload**](CommonResponseObjDebugPayload.md) | | +**obj_debug** | [**CommonResponseObjDebug**](CommonResponseObjDebug.md) | | [optional] **m_payload** | [**EzsignfolderGetEzsignfoldersignerassociationsV1ResponseMPayload**](EzsignfolderGetEzsignfoldersignerassociationsV1ResponseMPayload.md) | | ## Example diff --git a/docs/EzsignfolderGetEzsignsignaturesAutomaticV1Response.md b/docs/EzsignfolderGetEzsignsignaturesAutomaticV1Response.md index 233a618e4..691ddc501 100644 --- a/docs/EzsignfolderGetEzsignsignaturesAutomaticV1Response.md +++ b/docs/EzsignfolderGetEzsignsignaturesAutomaticV1Response.md @@ -6,6 +6,8 @@ Response for GET /1/object/ezsignfolder/{pkiEzsignfolderID}/getEzsignsignaturesA Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**obj_debug_payload** | [**CommonResponseObjDebugPayload**](CommonResponseObjDebugPayload.md) | | +**obj_debug** | [**CommonResponseObjDebug**](CommonResponseObjDebug.md) | | [optional] **m_payload** | [**EzsignfolderGetEzsignsignaturesAutomaticV1ResponseMPayload**](EzsignfolderGetEzsignsignaturesAutomaticV1ResponseMPayload.md) | | ## Example diff --git a/docs/EzsignfolderGetFormsDataV1Response.md b/docs/EzsignfolderGetFormsDataV1Response.md index 8b4186223..c8cc062e6 100644 --- a/docs/EzsignfolderGetFormsDataV1Response.md +++ b/docs/EzsignfolderGetFormsDataV1Response.md @@ -6,6 +6,8 @@ Response for GET /1/object/ezsignfolder/{pkiEzsignfolder}/getFormsData Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**obj_debug_payload** | [**CommonResponseObjDebugPayload**](CommonResponseObjDebugPayload.md) | | +**obj_debug** | [**CommonResponseObjDebug**](CommonResponseObjDebug.md) | | [optional] **m_payload** | [**EzsignfolderGetFormsDataV1ResponseMPayload**](EzsignfolderGetFormsDataV1ResponseMPayload.md) | | ## Example diff --git a/docs/EzsignfolderGetListV1Response.md b/docs/EzsignfolderGetListV1Response.md index 716d23b82..26477814d 100644 --- a/docs/EzsignfolderGetListV1Response.md +++ b/docs/EzsignfolderGetListV1Response.md @@ -6,6 +6,8 @@ Response for GET /1/object/ezsignfolder/getList Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**obj_debug_payload** | [**CommonResponseObjDebugPayloadGetList**](CommonResponseObjDebugPayloadGetList.md) | | +**obj_debug** | [**CommonResponseObjDebug**](CommonResponseObjDebug.md) | | [optional] **m_payload** | [**EzsignfolderGetListV1ResponseMPayload**](EzsignfolderGetListV1ResponseMPayload.md) | | ## Example diff --git a/docs/EzsignfolderGetListV1ResponseMPayload.md b/docs/EzsignfolderGetListV1ResponseMPayload.md index 2828c873a..49bd65f69 100644 --- a/docs/EzsignfolderGetListV1ResponseMPayload.md +++ b/docs/EzsignfolderGetListV1ResponseMPayload.md @@ -6,6 +6,8 @@ Payload for GET /1/object/ezsignfolder/getList Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**i_row_returned** | **int** | The number of rows returned | +**i_row_filtered** | **int** | The number of rows matching your filters (if any) or the total number of rows | **a_obj_ezsignfolder** | [**List[EzsignfolderListElement]**](EzsignfolderListElement.md) | | ## Example diff --git a/docs/EzsignfolderGetObjectV1Response.md b/docs/EzsignfolderGetObjectV1Response.md index 06beef48f..4cb004c07 100644 --- a/docs/EzsignfolderGetObjectV1Response.md +++ b/docs/EzsignfolderGetObjectV1Response.md @@ -6,7 +6,9 @@ Response for GET /1/object/ezsignfolder/{pkiEzsignfolderID} Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**m_payload** | [**EzsignfolderResponseCompound**](EzsignfolderResponseCompound.md) | Payload for GET /1/object/ezsignfolder/{pkiEzsignfolderID} | +**obj_debug_payload** | [**CommonResponseObjDebugPayload**](CommonResponseObjDebugPayload.md) | | +**obj_debug** | [**CommonResponseObjDebug**](CommonResponseObjDebug.md) | | [optional] +**m_payload** | [**EzsignfolderGetObjectV1ResponseMPayload**](EzsignfolderGetObjectV1ResponseMPayload.md) | | ## Example diff --git a/docs/EzsignfolderGetObjectV1ResponseMPayload.md b/docs/EzsignfolderGetObjectV1ResponseMPayload.md index 37066d55b..c633d1315 100644 --- a/docs/EzsignfolderGetObjectV1ResponseMPayload.md +++ b/docs/EzsignfolderGetObjectV1ResponseMPayload.md @@ -6,6 +6,33 @@ Payload for GET /1/object/ezsignfolder/{pkiEzsignfolderID} Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**pki_ezsignfolder_id** | **int** | The unique ID of the Ezsignfolder | +**fki_ezsignfoldertype_id** | **int** | The unique ID of the Ezsignfoldertype. | [optional] +**obj_ezsignfoldertype** | [**CustomEzsignfoldertypeResponse**](CustomEzsignfoldertypeResponse.md) | | [optional] +**fki_timezone_id** | **int** | The unique ID of the Timezone | [optional] +**e_ezsignfolder_completion** | [**FieldEEzsignfolderCompletion**](FieldEEzsignfolderCompletion.md) | | +**s_ezsignfoldertype_name_x** | **str** | | [optional] +**fki_billingentityinternal_id** | **int** | The unique ID of the Billingentityinternal. | [optional] +**s_billingentityinternal_description_x** | **str** | The description of the Billingentityinternal in the language of the requester | [optional] +**fki_ezsigntsarequirement_id** | **int** | The unique ID of the Ezsigntsarequirement. Determine if a Time Stamping Authority should add a timestamp on each of the signature. Valid values: |Value|Description| |-|-| |1|No. TSA Timestamping will requested. This will make all signatures a lot faster since no round-trip to the TSA server will be required. Timestamping will be made using eZsign server's time.| |2|Best effort. Timestamping from a Time Stamping Authority will be requested but is not mandatory. In the very improbable case it cannot be completed, the timestamping will be made using eZsign server's time. **Additional fee applies**| |3|Mandatory. Timestamping from a Time Stamping Authority will be requested and is mandatory. In the very improbable case it cannot be completed, the signature will fail and the user will be asked to retry. **Additional fee applies**| | [optional] +**s_ezsigntsarequirement_description_x** | **str** | The description of the Ezsigntsarequirement in the language of the requester | [optional] +**s_ezsignfolder_description** | **str** | The description of the Ezsignfolder | +**t_ezsignfolder_note** | **str** | Note about the Ezsignfolder | [optional] +**b_ezsignfolder_isdisposable** | **bool** | If the Ezsigndocument can be disposed | [optional] +**e_ezsignfolder_sendreminderfrequency** | [**FieldEEzsignfolderSendreminderfrequency**](FieldEEzsignfolderSendreminderfrequency.md) | | [optional] +**i_ezsignfolder_sendreminderfirstdays** | **int** | The number of days before the the first reminder sending | [optional] +**i_ezsignfolder_sendreminderotherdays** | **int** | The number of days after the first reminder sending | [optional] +**dt_ezsignfolder_delayedsenddate** | **str** | The date and time at which the Ezsignfolder will be sent in the future. | [optional] +**dt_ezsignfolder_duedate** | **str** | The maximum date and time at which the Ezsignfolder can be signed. | [optional] +**dt_ezsignfolder_sentdate** | **str** | The date and time at which the Ezsignfolder was sent the last time. | [optional] +**dt_ezsignfolder_scheduledarchive** | **str** | The scheduled date and time at which the Ezsignfolder should be archived. | [optional] +**dt_ezsignfolder_scheduleddispose** | **str** | The scheduled date at which the Ezsignfolder should be Disposed. | [optional] +**e_ezsignfolder_step** | [**FieldEEzsignfolderStep**](FieldEEzsignfolderStep.md) | | [optional] +**dt_ezsignfolder_close** | **str** | The date and time at which the Ezsignfolder was closed. Either by applying the last signature or by completing it prematurely. | [optional] +**t_ezsignfolder_message** | **str** | A custom text message that will be added to the email sent. | [optional] +**obj_audit** | [**CommonAudit**](CommonAudit.md) | | [optional] +**s_ezsignfolder_externalid** | **str** | This field can be used to store an External ID from the client's system. Anything can be stored in this field, it will never be evaluated by the eZmax system and will be returned AS-IS. To store multiple values, consider using a JSON formatted structure, a URL encoded string, a CSV or any other custom format. | [optional] +**obj_timezone** | [**CustomTimezoneWithCodeResponse**](CustomTimezoneWithCodeResponse.md) | | [optional] ## Example diff --git a/docs/EzsignfolderGetObjectV2Response.md b/docs/EzsignfolderGetObjectV2Response.md index 15a0a5792..6b8c7c2f3 100644 --- a/docs/EzsignfolderGetObjectV2Response.md +++ b/docs/EzsignfolderGetObjectV2Response.md @@ -6,6 +6,8 @@ Response for GET /2/object/ezsignfolder/{pkiEzsignfolderID} Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**obj_debug_payload** | [**CommonResponseObjDebugPayload**](CommonResponseObjDebugPayload.md) | | +**obj_debug** | [**CommonResponseObjDebug**](CommonResponseObjDebug.md) | | [optional] **m_payload** | [**EzsignfolderGetObjectV2ResponseMPayload**](EzsignfolderGetObjectV2ResponseMPayload.md) | | ## Example diff --git a/docs/EzsignfolderGetObjectV3Response.md b/docs/EzsignfolderGetObjectV3Response.md index c3d9ccbfe..a8e61577f 100644 --- a/docs/EzsignfolderGetObjectV3Response.md +++ b/docs/EzsignfolderGetObjectV3Response.md @@ -6,6 +6,8 @@ Response for GET /3/object/ezsignfolder/{pkiEzsignfolderID} Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**obj_debug_payload** | [**CommonResponseObjDebugPayload**](CommonResponseObjDebugPayload.md) | | +**obj_debug** | [**CommonResponseObjDebug**](CommonResponseObjDebug.md) | | [optional] **m_payload** | [**EzsignfolderGetObjectV3ResponseMPayload**](EzsignfolderGetObjectV3ResponseMPayload.md) | | ## Example diff --git a/docs/EzsignfolderImportEzsignfoldersignerassociationsV1Response.md b/docs/EzsignfolderImportEzsignfoldersignerassociationsV1Response.md index 88605423d..e929395bf 100644 --- a/docs/EzsignfolderImportEzsignfoldersignerassociationsV1Response.md +++ b/docs/EzsignfolderImportEzsignfoldersignerassociationsV1Response.md @@ -6,6 +6,8 @@ Response for POST /1/object/ezsignfolder/{pkiEzsignfolder}/importEzsignfoldersig Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**obj_debug_payload** | [**CommonResponseObjDebugPayload**](CommonResponseObjDebugPayload.md) | | +**obj_debug** | [**CommonResponseObjDebug**](CommonResponseObjDebug.md) | | [optional] **m_payload** | [**EzsignfolderImportEzsignfoldersignerassociationsV1ResponseMPayload**](EzsignfolderImportEzsignfoldersignerassociationsV1ResponseMPayload.md) | | ## Example diff --git a/docs/EzsignfolderImportEzsigntemplatepackageV1Response.md b/docs/EzsignfolderImportEzsigntemplatepackageV1Response.md index 73d0b2e70..6e08f2949 100644 --- a/docs/EzsignfolderImportEzsigntemplatepackageV1Response.md +++ b/docs/EzsignfolderImportEzsigntemplatepackageV1Response.md @@ -6,6 +6,8 @@ Response for POST/1/object/ezsignfolder/{pkiEzsignfolderID}/importEzsigntemplate Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**obj_debug_payload** | [**CommonResponseObjDebugPayload**](CommonResponseObjDebugPayload.md) | | +**obj_debug** | [**CommonResponseObjDebug**](CommonResponseObjDebug.md) | | [optional] **m_payload** | [**EzsignfolderImportEzsigntemplatepackageV1ResponseMPayload**](EzsignfolderImportEzsigntemplatepackageV1ResponseMPayload.md) | | ## Example diff --git a/docs/EzsignfolderReorderV1Response.md b/docs/EzsignfolderReorderV1Response.md index ea972d9ef..d3232c3fe 100644 --- a/docs/EzsignfolderReorderV1Response.md +++ b/docs/EzsignfolderReorderV1Response.md @@ -6,6 +6,8 @@ Response for POST /1/object/ezsignfolder/{pkiEzsignfolderID}/reorder Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**obj_debug_payload** | [**CommonResponseObjDebugPayload**](CommonResponseObjDebugPayload.md) | | +**obj_debug** | [**CommonResponseObjDebug**](CommonResponseObjDebug.md) | | [optional] ## Example diff --git a/docs/EzsignfolderReorderV2Response.md b/docs/EzsignfolderReorderV2Response.md index d650f0ad6..a4adf67d0 100644 --- a/docs/EzsignfolderReorderV2Response.md +++ b/docs/EzsignfolderReorderV2Response.md @@ -6,6 +6,8 @@ Response for POST /2/object/ezsignfolder/{pkiEzsignfolderID}/reorder Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**obj_debug_payload** | [**CommonResponseObjDebugPayload**](CommonResponseObjDebugPayload.md) | | +**obj_debug** | [**CommonResponseObjDebug**](CommonResponseObjDebug.md) | | [optional] ## Example diff --git a/docs/EzsignfolderResponseCompound.md b/docs/EzsignfolderResponseCompound.md index 97932f268..dafc07fc7 100644 --- a/docs/EzsignfolderResponseCompound.md +++ b/docs/EzsignfolderResponseCompound.md @@ -6,6 +6,32 @@ An Ezsignfolder Object and children to create a complete structure Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**pki_ezsignfolder_id** | **int** | The unique ID of the Ezsignfolder | +**fki_ezsignfoldertype_id** | **int** | The unique ID of the Ezsignfoldertype. | [optional] +**obj_ezsignfoldertype** | [**CustomEzsignfoldertypeResponse**](CustomEzsignfoldertypeResponse.md) | | [optional] +**fki_timezone_id** | **int** | The unique ID of the Timezone | [optional] +**e_ezsignfolder_completion** | [**FieldEEzsignfolderCompletion**](FieldEEzsignfolderCompletion.md) | | +**s_ezsignfoldertype_name_x** | **str** | | [optional] +**fki_billingentityinternal_id** | **int** | The unique ID of the Billingentityinternal. | [optional] +**s_billingentityinternal_description_x** | **str** | The description of the Billingentityinternal in the language of the requester | [optional] +**fki_ezsigntsarequirement_id** | **int** | The unique ID of the Ezsigntsarequirement. Determine if a Time Stamping Authority should add a timestamp on each of the signature. Valid values: |Value|Description| |-|-| |1|No. TSA Timestamping will requested. This will make all signatures a lot faster since no round-trip to the TSA server will be required. Timestamping will be made using eZsign server's time.| |2|Best effort. Timestamping from a Time Stamping Authority will be requested but is not mandatory. In the very improbable case it cannot be completed, the timestamping will be made using eZsign server's time. **Additional fee applies**| |3|Mandatory. Timestamping from a Time Stamping Authority will be requested and is mandatory. In the very improbable case it cannot be completed, the signature will fail and the user will be asked to retry. **Additional fee applies**| | [optional] +**s_ezsigntsarequirement_description_x** | **str** | The description of the Ezsigntsarequirement in the language of the requester | [optional] +**s_ezsignfolder_description** | **str** | The description of the Ezsignfolder | +**t_ezsignfolder_note** | **str** | Note about the Ezsignfolder | [optional] +**b_ezsignfolder_isdisposable** | **bool** | If the Ezsigndocument can be disposed | [optional] +**e_ezsignfolder_sendreminderfrequency** | [**FieldEEzsignfolderSendreminderfrequency**](FieldEEzsignfolderSendreminderfrequency.md) | | [optional] +**i_ezsignfolder_sendreminderfirstdays** | **int** | The number of days before the the first reminder sending | [optional] +**i_ezsignfolder_sendreminderotherdays** | **int** | The number of days after the first reminder sending | [optional] +**dt_ezsignfolder_delayedsenddate** | **str** | The date and time at which the Ezsignfolder will be sent in the future. | [optional] +**dt_ezsignfolder_duedate** | **str** | The maximum date and time at which the Ezsignfolder can be signed. | [optional] +**dt_ezsignfolder_sentdate** | **str** | The date and time at which the Ezsignfolder was sent the last time. | [optional] +**dt_ezsignfolder_scheduledarchive** | **str** | The scheduled date and time at which the Ezsignfolder should be archived. | [optional] +**dt_ezsignfolder_scheduleddispose** | **str** | The scheduled date at which the Ezsignfolder should be Disposed. | [optional] +**e_ezsignfolder_step** | [**FieldEEzsignfolderStep**](FieldEEzsignfolderStep.md) | | [optional] +**dt_ezsignfolder_close** | **str** | The date and time at which the Ezsignfolder was closed. Either by applying the last signature or by completing it prematurely. | [optional] +**t_ezsignfolder_message** | **str** | A custom text message that will be added to the email sent. | [optional] +**obj_audit** | [**CommonAudit**](CommonAudit.md) | | [optional] +**s_ezsignfolder_externalid** | **str** | This field can be used to store an External ID from the client's system. Anything can be stored in this field, it will never be evaluated by the eZmax system and will be returned AS-IS. To store multiple values, consider using a JSON formatted structure, a URL encoded string, a CSV or any other custom format. | [optional] **obj_timezone** | [**CustomTimezoneWithCodeResponse**](CustomTimezoneWithCodeResponse.md) | | [optional] ## Example diff --git a/docs/EzsignfolderResponseCompoundV3.md b/docs/EzsignfolderResponseCompoundV3.md index a01b9d66e..a7ab3a4fe 100644 --- a/docs/EzsignfolderResponseCompoundV3.md +++ b/docs/EzsignfolderResponseCompoundV3.md @@ -6,6 +6,33 @@ An Ezsignfolder Object and children to create a complete structure Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**pki_ezsignfolder_id** | **int** | The unique ID of the Ezsignfolder | +**fki_ezsignfoldertype_id** | **int** | The unique ID of the Ezsignfoldertype. | [optional] +**obj_ezsignfoldertype** | [**CustomEzsignfoldertypeResponse**](CustomEzsignfoldertypeResponse.md) | | [optional] +**fki_timezone_id** | **int** | The unique ID of the Timezone | [optional] +**e_ezsignfolder_completion** | [**FieldEEzsignfolderCompletion**](FieldEEzsignfolderCompletion.md) | | +**e_ezsignfolder_documentdependency** | [**FieldEEzsignfolderDocumentdependency**](FieldEEzsignfolderDocumentdependency.md) | | [optional] +**s_ezsignfoldertype_name_x** | **str** | | [optional] +**fki_billingentityinternal_id** | **int** | The unique ID of the Billingentityinternal. | [optional] +**s_billingentityinternal_description_x** | **str** | The description of the Billingentityinternal in the language of the requester | [optional] +**fki_ezsigntsarequirement_id** | **int** | The unique ID of the Ezsigntsarequirement. Determine if a Time Stamping Authority should add a timestamp on each of the signature. Valid values: |Value|Description| |-|-| |1|No. TSA Timestamping will requested. This will make all signatures a lot faster since no round-trip to the TSA server will be required. Timestamping will be made using eZsign server's time.| |2|Best effort. Timestamping from a Time Stamping Authority will be requested but is not mandatory. In the very improbable case it cannot be completed, the timestamping will be made using eZsign server's time. **Additional fee applies**| |3|Mandatory. Timestamping from a Time Stamping Authority will be requested and is mandatory. In the very improbable case it cannot be completed, the signature will fail and the user will be asked to retry. **Additional fee applies**| | [optional] +**s_ezsigntsarequirement_description_x** | **str** | The description of the Ezsigntsarequirement in the language of the requester | [optional] +**s_ezsignfolder_description** | **str** | The description of the Ezsignfolder | +**t_ezsignfolder_note** | **str** | Note about the Ezsignfolder | [optional] +**b_ezsignfolder_isdisposable** | **bool** | If the Ezsigndocument can be disposed | [optional] +**i_ezsignfolder_sendreminderfirstdays** | **int** | The number of days before the the first reminder sending | [optional] +**i_ezsignfolder_sendreminderotherdays** | **int** | The number of days after the first reminder sending | [optional] +**dt_ezsignfolder_delayedsenddate** | **str** | The date and time at which the Ezsignfolder will be sent in the future. | [optional] +**dt_ezsignfolder_duedate** | **str** | The maximum date and time at which the Ezsignfolder can be signed. | [optional] +**dt_ezsignfolder_sentdate** | **str** | The date and time at which the Ezsignfolder was sent the last time. | [optional] +**dt_ezsignfolder_scheduledarchive** | **str** | The scheduled date and time at which the Ezsignfolder should be archived. | [optional] +**dt_ezsignfolder_scheduleddispose** | **str** | The scheduled date at which the Ezsignfolder should be Disposed. | [optional] +**e_ezsignfolder_step** | [**FieldEEzsignfolderStep**](FieldEEzsignfolderStep.md) | | [optional] +**dt_ezsignfolder_close** | **str** | The date and time at which the Ezsignfolder was closed. Either by applying the last signature or by completing it prematurely. | [optional] +**t_ezsignfolder_message** | **str** | A custom text message that will be added to the email sent. | [optional] +**obj_audit** | [**CommonAudit**](CommonAudit.md) | | [optional] +**s_ezsignfolder_externalid** | **str** | This field can be used to store an External ID from the client's system. Anything can be stored in this field, it will never be evaluated by the eZmax system and will be returned AS-IS. To store multiple values, consider using a JSON formatted structure, a URL encoded string, a CSV or any other custom format. | [optional] +**e_ezsignfolder_access** | [**ComputedEEzsignfolderAccess**](ComputedEEzsignfolderAccess.md) | | [optional] **obj_timezone** | [**CustomTimezoneWithCodeResponse**](CustomTimezoneWithCodeResponse.md) | | [optional] ## Example diff --git a/docs/EzsignfolderSendV1Response.md b/docs/EzsignfolderSendV1Response.md index 69d2c15fa..b6dc8a351 100644 --- a/docs/EzsignfolderSendV1Response.md +++ b/docs/EzsignfolderSendV1Response.md @@ -6,6 +6,8 @@ Response for GET /1/object/attachment/{pkiAttachmentID}/download Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**obj_debug_payload** | [**CommonResponseObjDebugPayload**](CommonResponseObjDebugPayload.md) | | +**obj_debug** | [**CommonResponseObjDebug**](CommonResponseObjDebug.md) | | [optional] ## Example diff --git a/docs/EzsignfolderSendV3Response.md b/docs/EzsignfolderSendV3Response.md index 83d7399f5..8b0010ae6 100644 --- a/docs/EzsignfolderSendV3Response.md +++ b/docs/EzsignfolderSendV3Response.md @@ -6,6 +6,8 @@ Response for POST /3/object/ezsignfolder/{pkiEzsignfolderID}/send Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**obj_debug_payload** | [**CommonResponseObjDebugPayload**](CommonResponseObjDebugPayload.md) | | +**obj_debug** | [**CommonResponseObjDebug**](CommonResponseObjDebug.md) | | [optional] ## Example diff --git a/docs/EzsignfolderUnsendV1Response.md b/docs/EzsignfolderUnsendV1Response.md index 7fcb0be46..662d0a528 100644 --- a/docs/EzsignfolderUnsendV1Response.md +++ b/docs/EzsignfolderUnsendV1Response.md @@ -6,6 +6,8 @@ Response for POST /1/object/ezsignfolder/{pkiEzsignfolderID}/unsend Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**obj_debug_payload** | [**CommonResponseObjDebugPayload**](CommonResponseObjDebugPayload.md) | | +**obj_debug** | [**CommonResponseObjDebug**](CommonResponseObjDebug.md) | | [optional] ## Example diff --git a/docs/EzsignfoldersignerassociationCreateEmbeddedUrlV1Response.md b/docs/EzsignfoldersignerassociationCreateEmbeddedUrlV1Response.md index 245602205..efe08d597 100644 --- a/docs/EzsignfoldersignerassociationCreateEmbeddedUrlV1Response.md +++ b/docs/EzsignfoldersignerassociationCreateEmbeddedUrlV1Response.md @@ -6,6 +6,8 @@ Response for POST /1/object/ezsignfoldersignerassociation/createEmbeddedUrl Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**obj_debug_payload** | [**CommonResponseObjDebugPayload**](CommonResponseObjDebugPayload.md) | | +**obj_debug** | [**CommonResponseObjDebug**](CommonResponseObjDebug.md) | | [optional] **m_payload** | [**EzsignfoldersignerassociationCreateEmbeddedUrlV1ResponseMPayload**](EzsignfoldersignerassociationCreateEmbeddedUrlV1ResponseMPayload.md) | | ## Example diff --git a/docs/EzsignfoldersignerassociationCreateObjectV1Response.md b/docs/EzsignfoldersignerassociationCreateObjectV1Response.md index add6e534c..84ac48d94 100644 --- a/docs/EzsignfoldersignerassociationCreateObjectV1Response.md +++ b/docs/EzsignfoldersignerassociationCreateObjectV1Response.md @@ -6,6 +6,8 @@ Response for POST /1/object/ezsignfoldersignerassociation Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**obj_debug_payload** | [**CommonResponseObjDebugPayload**](CommonResponseObjDebugPayload.md) | | +**obj_debug** | [**CommonResponseObjDebug**](CommonResponseObjDebug.md) | | [optional] **m_payload** | [**EzsignfoldersignerassociationCreateObjectV1ResponseMPayload**](EzsignfoldersignerassociationCreateObjectV1ResponseMPayload.md) | | ## Example diff --git a/docs/EzsignfoldersignerassociationCreateObjectV2Response.md b/docs/EzsignfoldersignerassociationCreateObjectV2Response.md index 582afcbd7..a3cc2aa21 100644 --- a/docs/EzsignfoldersignerassociationCreateObjectV2Response.md +++ b/docs/EzsignfoldersignerassociationCreateObjectV2Response.md @@ -6,6 +6,8 @@ Response for POST /2/object/ezsignfoldersignerassociation Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**obj_debug_payload** | [**CommonResponseObjDebugPayload**](CommonResponseObjDebugPayload.md) | | +**obj_debug** | [**CommonResponseObjDebug**](CommonResponseObjDebug.md) | | [optional] **m_payload** | [**EzsignfoldersignerassociationCreateObjectV2ResponseMPayload**](EzsignfoldersignerassociationCreateObjectV2ResponseMPayload.md) | | ## Example diff --git a/docs/EzsignfoldersignerassociationDeleteObjectV1Response.md b/docs/EzsignfoldersignerassociationDeleteObjectV1Response.md index 4ec2f3e25..c9c0cbb48 100644 --- a/docs/EzsignfoldersignerassociationDeleteObjectV1Response.md +++ b/docs/EzsignfoldersignerassociationDeleteObjectV1Response.md @@ -6,6 +6,8 @@ Response for DELETE /1/object/ezsignfoldersignerassociation/{pkiEzsignfoldersign Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**obj_debug_payload** | [**CommonResponseObjDebugPayload**](CommonResponseObjDebugPayload.md) | | +**obj_debug** | [**CommonResponseObjDebug**](CommonResponseObjDebug.md) | | [optional] ## Example diff --git a/docs/EzsignfoldersignerassociationEditObjectV1Response.md b/docs/EzsignfoldersignerassociationEditObjectV1Response.md index 4eaa6fa36..15cc7aa2c 100644 --- a/docs/EzsignfoldersignerassociationEditObjectV1Response.md +++ b/docs/EzsignfoldersignerassociationEditObjectV1Response.md @@ -6,6 +6,8 @@ Response for PUT /1/object/ezsignfoldersignerassociation/{pkiEzsignfoldersignera Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**obj_debug_payload** | [**CommonResponseObjDebugPayload**](CommonResponseObjDebugPayload.md) | | +**obj_debug** | [**CommonResponseObjDebug**](CommonResponseObjDebug.md) | | [optional] ## Example diff --git a/docs/EzsignfoldersignerassociationForceDisconnectV1Response.md b/docs/EzsignfoldersignerassociationForceDisconnectV1Response.md index 05725d714..2eea7e2b1 100644 --- a/docs/EzsignfoldersignerassociationForceDisconnectV1Response.md +++ b/docs/EzsignfoldersignerassociationForceDisconnectV1Response.md @@ -6,6 +6,8 @@ Response for POST /1/object/ezsignfoldersignerassociation/{pkiEzsignfoldersigner Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**obj_debug_payload** | [**CommonResponseObjDebugPayload**](CommonResponseObjDebugPayload.md) | | +**obj_debug** | [**CommonResponseObjDebug**](CommonResponseObjDebug.md) | | [optional] ## Example diff --git a/docs/EzsignfoldersignerassociationGetInPersonLoginUrlV1Response.md b/docs/EzsignfoldersignerassociationGetInPersonLoginUrlV1Response.md index 77be99c5a..ee5d02597 100644 --- a/docs/EzsignfoldersignerassociationGetInPersonLoginUrlV1Response.md +++ b/docs/EzsignfoldersignerassociationGetInPersonLoginUrlV1Response.md @@ -6,6 +6,8 @@ Response for GET /1/object/ezsignfoldersignerassociation/getInPersonLoginUrl Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**obj_debug_payload** | [**CommonResponseObjDebugPayload**](CommonResponseObjDebugPayload.md) | | +**obj_debug** | [**CommonResponseObjDebug**](CommonResponseObjDebug.md) | | [optional] **m_payload** | [**EzsignfoldersignerassociationGetInPersonLoginUrlV1ResponseMPayload**](EzsignfoldersignerassociationGetInPersonLoginUrlV1ResponseMPayload.md) | | ## Example diff --git a/docs/EzsignfoldersignerassociationGetObjectV1Response.md b/docs/EzsignfoldersignerassociationGetObjectV1Response.md index 8a860e195..e823fb467 100644 --- a/docs/EzsignfoldersignerassociationGetObjectV1Response.md +++ b/docs/EzsignfoldersignerassociationGetObjectV1Response.md @@ -6,7 +6,9 @@ Response for GET /1/object/ezsignfoldersignerassociation/{pkiEzsignfoldersignera Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**m_payload** | [**EzsignfoldersignerassociationResponseCompound**](EzsignfoldersignerassociationResponseCompound.md) | Payload for GET /1/object/ezsignfoldersignerassociation/{pkiEzsignfoldersignerassociationID} | +**obj_debug_payload** | [**CommonResponseObjDebugPayload**](CommonResponseObjDebugPayload.md) | | +**obj_debug** | [**CommonResponseObjDebug**](CommonResponseObjDebug.md) | | [optional] +**m_payload** | [**EzsignfoldersignerassociationGetObjectV1ResponseMPayload**](EzsignfoldersignerassociationGetObjectV1ResponseMPayload.md) | | ## Example diff --git a/docs/EzsignfoldersignerassociationGetObjectV1ResponseMPayload.md b/docs/EzsignfoldersignerassociationGetObjectV1ResponseMPayload.md index 1c5a20844..722aac2b5 100644 --- a/docs/EzsignfoldersignerassociationGetObjectV1ResponseMPayload.md +++ b/docs/EzsignfoldersignerassociationGetObjectV1ResponseMPayload.md @@ -6,6 +6,15 @@ Payload for GET /1/object/ezsignfoldersignerassociation/{pkiEzsignfoldersigneras Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**pki_ezsignfoldersignerassociation_id** | **int** | The unique ID of the Ezsignfoldersignerassociation | +**fki_ezsignfolder_id** | **int** | The unique ID of the Ezsignfolder | +**b_ezsignfoldersignerassociation_delayedsend** | **bool** | If this flag is true the signatory is part of a delayed send. | +**b_ezsignfoldersignerassociation_receivecopy** | **bool** | If this flag is true. The signatory will receive a copy of every signed Ezsigndocument even if it ain't required to sign the document. | +**t_ezsignfoldersignerassociation_message** | **str** | A custom text message that will be added to the email sent. | +**b_ezsignfoldersignerassociation_allowsigninginperson** | **bool** | If the Ezsignfoldersignerassociation is allowed to sign in person or not | +**obj_ezsignsignergroup** | [**EzsignsignergroupResponseCompound**](EzsignsignergroupResponseCompound.md) | | [optional] +**obj_user** | [**EzsignfoldersignerassociationResponseCompoundUser**](EzsignfoldersignerassociationResponseCompoundUser.md) | | [optional] +**obj_ezsignsigner** | [**EzsignsignerResponseCompound**](EzsignsignerResponseCompound.md) | | [optional] ## Example diff --git a/docs/EzsignfoldersignerassociationGetObjectV2Response.md b/docs/EzsignfoldersignerassociationGetObjectV2Response.md index a6d7f20b6..bfa7437dd 100644 --- a/docs/EzsignfoldersignerassociationGetObjectV2Response.md +++ b/docs/EzsignfoldersignerassociationGetObjectV2Response.md @@ -6,6 +6,8 @@ Response for GET /2/object/ezsignfoldersignerassociation/{pkiEzsignfoldersignera Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**obj_debug_payload** | [**CommonResponseObjDebugPayload**](CommonResponseObjDebugPayload.md) | | +**obj_debug** | [**CommonResponseObjDebug**](CommonResponseObjDebug.md) | | [optional] **m_payload** | [**EzsignfoldersignerassociationGetObjectV2ResponseMPayload**](EzsignfoldersignerassociationGetObjectV2ResponseMPayload.md) | | ## Example diff --git a/docs/EzsignfoldersignerassociationPatchObjectV1Response.md b/docs/EzsignfoldersignerassociationPatchObjectV1Response.md index e8e457262..5f538c996 100644 --- a/docs/EzsignfoldersignerassociationPatchObjectV1Response.md +++ b/docs/EzsignfoldersignerassociationPatchObjectV1Response.md @@ -6,6 +6,8 @@ Response for PATCH /1/object/ezsignfoldersignerassociation/{pkiEzsignfoldersigne Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**obj_debug_payload** | [**CommonResponseObjDebugPayload**](CommonResponseObjDebugPayload.md) | | +**obj_debug** | [**CommonResponseObjDebug**](CommonResponseObjDebug.md) | | [optional] ## Example diff --git a/docs/EzsignfoldersignerassociationReassignV1Response.md b/docs/EzsignfoldersignerassociationReassignV1Response.md index 511fca712..3a2a1cf58 100644 --- a/docs/EzsignfoldersignerassociationReassignV1Response.md +++ b/docs/EzsignfoldersignerassociationReassignV1Response.md @@ -6,6 +6,8 @@ Response for GET /1/object/ezsignfoldersignerassociation/{pkiEzsignfoldersignera Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**obj_debug_payload** | [**CommonResponseObjDebugPayload**](CommonResponseObjDebugPayload.md) | | +**obj_debug** | [**CommonResponseObjDebug**](CommonResponseObjDebug.md) | | [optional] ## Example diff --git a/docs/EzsignfoldersignerassociationRequestCompound.md b/docs/EzsignfoldersignerassociationRequestCompound.md index 97252b165..7bab3a903 100644 --- a/docs/EzsignfoldersignerassociationRequestCompound.md +++ b/docs/EzsignfoldersignerassociationRequestCompound.md @@ -6,6 +6,12 @@ An Ezsignfoldersignerassociation Object and children to create a complete struct Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**pki_ezsignfoldersignerassociation_id** | **int** | The unique ID of the Ezsignfoldersignerassociation | [optional] +**fki_user_id** | **int** | The unique ID of the User | [optional] +**fki_ezsignsignergroup_id** | **int** | The unique ID of the Ezsignsignergroup | [optional] +**fki_ezsignfolder_id** | **int** | The unique ID of the Ezsignfolder | +**b_ezsignfoldersignerassociation_receivecopy** | **bool** | If this flag is true. The signatory will receive a copy of every signed Ezsigndocument even if it ain't required to sign the document. | [optional] +**t_ezsignfoldersignerassociation_message** | **str** | A custom text message that will be added to the email sent. | [optional] **obj_ezsignsigner** | [**EzsignsignerRequestCompound**](EzsignsignerRequestCompound.md) | | [optional] ## Example diff --git a/docs/EzsignfoldersignerassociationResponseCompound.md b/docs/EzsignfoldersignerassociationResponseCompound.md index de9fb2f7d..ad5961242 100644 --- a/docs/EzsignfoldersignerassociationResponseCompound.md +++ b/docs/EzsignfoldersignerassociationResponseCompound.md @@ -6,6 +6,12 @@ An Ezsignfoldersignerassociation Object Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**pki_ezsignfoldersignerassociation_id** | **int** | The unique ID of the Ezsignfoldersignerassociation | +**fki_ezsignfolder_id** | **int** | The unique ID of the Ezsignfolder | +**b_ezsignfoldersignerassociation_delayedsend** | **bool** | If this flag is true the signatory is part of a delayed send. | +**b_ezsignfoldersignerassociation_receivecopy** | **bool** | If this flag is true. The signatory will receive a copy of every signed Ezsigndocument even if it ain't required to sign the document. | +**t_ezsignfoldersignerassociation_message** | **str** | A custom text message that will be added to the email sent. | +**b_ezsignfoldersignerassociation_allowsigninginperson** | **bool** | If the Ezsignfoldersignerassociation is allowed to sign in person or not | **obj_ezsignsignergroup** | [**EzsignsignergroupResponseCompound**](EzsignsignergroupResponseCompound.md) | | [optional] **obj_user** | [**EzsignfoldersignerassociationResponseCompoundUser**](EzsignfoldersignerassociationResponseCompoundUser.md) | | [optional] **obj_ezsignsigner** | [**EzsignsignerResponseCompound**](EzsignsignerResponseCompound.md) | | [optional] diff --git a/docs/EzsignfoldertypeCreateObjectV3Response.md b/docs/EzsignfoldertypeCreateObjectV3Response.md index 31769d983..32fcd28a2 100644 --- a/docs/EzsignfoldertypeCreateObjectV3Response.md +++ b/docs/EzsignfoldertypeCreateObjectV3Response.md @@ -6,6 +6,8 @@ Response for POST /3/object/ezsignfoldertype Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**obj_debug_payload** | [**CommonResponseObjDebugPayload**](CommonResponseObjDebugPayload.md) | | +**obj_debug** | [**CommonResponseObjDebug**](CommonResponseObjDebug.md) | | [optional] **m_payload** | [**EzsignfoldertypeCreateObjectV3ResponseMPayload**](EzsignfoldertypeCreateObjectV3ResponseMPayload.md) | | ## Example diff --git a/docs/EzsignfoldertypeEditObjectV3Response.md b/docs/EzsignfoldertypeEditObjectV3Response.md index 3dee3ee8d..9496c9348 100644 --- a/docs/EzsignfoldertypeEditObjectV3Response.md +++ b/docs/EzsignfoldertypeEditObjectV3Response.md @@ -6,6 +6,8 @@ Response for PUT /3/object/ezsignfoldertype/{pkiEzsignfoldertypeID} Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**obj_debug_payload** | [**CommonResponseObjDebugPayload**](CommonResponseObjDebugPayload.md) | | +**obj_debug** | [**CommonResponseObjDebug**](CommonResponseObjDebug.md) | | [optional] ## Example diff --git a/docs/EzsignfoldertypeGetAutocompleteV2Response.md b/docs/EzsignfoldertypeGetAutocompleteV2Response.md index a52dd80a0..288d35357 100644 --- a/docs/EzsignfoldertypeGetAutocompleteV2Response.md +++ b/docs/EzsignfoldertypeGetAutocompleteV2Response.md @@ -6,6 +6,8 @@ Response for GET /2/object/ezsignfoldertype/getAutocomplete Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**obj_debug_payload** | [**CommonResponseObjDebugPayload**](CommonResponseObjDebugPayload.md) | | +**obj_debug** | [**CommonResponseObjDebug**](CommonResponseObjDebug.md) | | [optional] **m_payload** | [**EzsignfoldertypeGetAutocompleteV2ResponseMPayload**](EzsignfoldertypeGetAutocompleteV2ResponseMPayload.md) | | ## Example diff --git a/docs/EzsignfoldertypeGetListV1Response.md b/docs/EzsignfoldertypeGetListV1Response.md index 8806d436d..9122a2cc8 100644 --- a/docs/EzsignfoldertypeGetListV1Response.md +++ b/docs/EzsignfoldertypeGetListV1Response.md @@ -6,6 +6,8 @@ Response for GET /1/object/ezsignfoldertype/getList Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**obj_debug_payload** | [**CommonResponseObjDebugPayloadGetList**](CommonResponseObjDebugPayloadGetList.md) | | +**obj_debug** | [**CommonResponseObjDebug**](CommonResponseObjDebug.md) | | [optional] **m_payload** | [**EzsignfoldertypeGetListV1ResponseMPayload**](EzsignfoldertypeGetListV1ResponseMPayload.md) | | ## Example diff --git a/docs/EzsignfoldertypeGetListV1ResponseMPayload.md b/docs/EzsignfoldertypeGetListV1ResponseMPayload.md index afe926d97..d0029c9ff 100644 --- a/docs/EzsignfoldertypeGetListV1ResponseMPayload.md +++ b/docs/EzsignfoldertypeGetListV1ResponseMPayload.md @@ -6,6 +6,8 @@ Payload for GET /1/object/ezsignfoldertype/getList Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**i_row_returned** | **int** | The number of rows returned | +**i_row_filtered** | **int** | The number of rows matching your filters (if any) or the total number of rows | **a_obj_ezsignfoldertype** | [**List[EzsignfoldertypeListElement]**](EzsignfoldertypeListElement.md) | | ## Example diff --git a/docs/EzsignfoldertypeGetObjectV2Response.md b/docs/EzsignfoldertypeGetObjectV2Response.md index 79be886b6..ebe5b328a 100644 --- a/docs/EzsignfoldertypeGetObjectV2Response.md +++ b/docs/EzsignfoldertypeGetObjectV2Response.md @@ -6,6 +6,8 @@ Response for GET /2/object/ezsignfoldertype/{pkiEzsignfoldertypeID} Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**obj_debug_payload** | [**CommonResponseObjDebugPayload**](CommonResponseObjDebugPayload.md) | | +**obj_debug** | [**CommonResponseObjDebug**](CommonResponseObjDebug.md) | | [optional] **m_payload** | [**EzsignfoldertypeGetObjectV2ResponseMPayload**](EzsignfoldertypeGetObjectV2ResponseMPayload.md) | | ## Example diff --git a/docs/EzsignfoldertypeGetObjectV4Response.md b/docs/EzsignfoldertypeGetObjectV4Response.md index b1c154a70..d5cb4a54a 100644 --- a/docs/EzsignfoldertypeGetObjectV4Response.md +++ b/docs/EzsignfoldertypeGetObjectV4Response.md @@ -6,6 +6,8 @@ Response for GET /4/object/ezsignfoldertype/{pkiEzsignfoldertypeID} Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**obj_debug_payload** | [**CommonResponseObjDebugPayload**](CommonResponseObjDebugPayload.md) | | +**obj_debug** | [**CommonResponseObjDebug**](CommonResponseObjDebug.md) | | [optional] **m_payload** | [**EzsignfoldertypeGetObjectV4ResponseMPayload**](EzsignfoldertypeGetObjectV4ResponseMPayload.md) | | ## Example diff --git a/docs/EzsignfoldertypeRequestCompoundV3.md b/docs/EzsignfoldertypeRequestCompoundV3.md index 0fc15a97f..7dd3241c4 100644 --- a/docs/EzsignfoldertypeRequestCompoundV3.md +++ b/docs/EzsignfoldertypeRequestCompoundV3.md @@ -6,6 +6,66 @@ A Ezsignfoldertype Object and children Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**pki_ezsignfoldertype_id** | **int** | The unique ID of the Ezsignfoldertype. | [optional] +**obj_ezsignfoldertype_name** | [**MultilingualEzsignfoldertypeName**](MultilingualEzsignfoldertypeName.md) | | +**fki_branding_id** | **int** | The unique ID of the Branding | +**fki_billingentityinternal_id** | **int** | The unique ID of the Billingentityinternal. | [optional] +**fki_ezsigntsarequirement_id** | **int** | The unique ID of the Ezsigntsarequirement. Determine if a Time Stamping Authority should add a timestamp on each of the signature. Valid values: |Value|Description| |-|-| |1|No. TSA Timestamping will requested. This will make all signatures a lot faster since no round-trip to the TSA server will be required. Timestamping will be made using eZsign server's time.| |2|Best effort. Timestamping from a Time Stamping Authority will be requested but is not mandatory. In the very improbable case it cannot be completed, the timestamping will be made using eZsign server's time. **Additional fee applies**| |3|Mandatory. Timestamping from a Time Stamping Authority will be requested and is mandatory. In the very improbable case it cannot be completed, the signature will fail and the user will be asked to retry. **Additional fee applies**| | [optional] +**fki_font_id_annotation** | **int** | The unique ID of the Font | [optional] +**fki_font_id_formfield** | **int** | The unique ID of the Font | [optional] +**fki_font_id_signature** | **int** | The unique ID of the Font | [optional] +**fki_pdfalevel_id_convert** | **int** | The unique ID of the Pdfalevel | [optional] +**a_fki_pdfalevel_id** | **List[int]** | | [optional] +**a_fki_userlogintype_id** | **List[int]** | | +**a_fki_usergroup_id_all** | **List[int]** | | [optional] +**a_fki_usergroup_id_restricted** | **List[int]** | | [optional] +**a_fki_usergroup_id_template** | **List[int]** | | [optional] +**e_ezsignfoldertype_documentdependency** | [**FieldEEzsignfoldertypeDocumentdependency**](FieldEEzsignfoldertypeDocumentdependency.md) | | [optional] +**s_email_address_signed** | **str** | The email address. | [optional] +**s_email_address_summary** | **str** | The email address. | [optional] +**e_ezsignfoldertype_pdfarequirement** | [**FieldEEzsignfoldertypePdfarequirement**](FieldEEzsignfoldertypePdfarequirement.md) | | [optional] +**e_ezsignfoldertype_pdfanoncompliantaction** | [**FieldEEzsignfoldertypePdfanoncompliantaction**](FieldEEzsignfoldertypePdfanoncompliantaction.md) | | [optional] +**e_ezsignfoldertype_privacylevel** | [**FieldEEzsignfoldertypePrivacylevel**](FieldEEzsignfoldertypePrivacylevel.md) | | +**i_ezsignfoldertype_fontsizeannotation** | **int** | Font size for annotations | [optional] +**i_ezsignfoldertype_fontsizeformfield** | **int** | Font size for form fields | [optional] +**i_ezsignfoldertype_sendreminderfirstdays** | **int** | The number of days before the the first reminder sending | [optional] +**i_ezsignfoldertype_sendreminderotherdays** | **int** | The number of days after the first reminder sending | [optional] +**i_ezsignfoldertype_archivaldays** | **int** | The number of days before the archival of Ezsignfolders created using this Ezsignfoldertype | +**e_ezsignfoldertype_disposal** | [**FieldEEzsignfoldertypeDisposal**](FieldEEzsignfoldertypeDisposal.md) | | +**e_ezsignfoldertype_completion** | [**FieldEEzsignfoldertypeCompletion**](FieldEEzsignfoldertypeCompletion.md) | | +**i_ezsignfoldertype_disposaldays** | **int** | The number of days after the archival before the disposal of the Ezsignfolder | [optional] +**i_ezsignfoldertype_deadlinedays** | **int** | The number of days to get all Ezsignsignatures | +**b_ezsignfoldertype_prematurelyendautomatically** | **bool** | Wheter if document will be ended prematurely after Ezsignfolder expires. | [optional] +**i_ezsignfoldertype_prematurelyendautomaticallydays** | **int** | Number of days between Ezsignfolder expiration and automatic prematurely end of Ezsigndocuments. | [optional] +**b_ezsignfoldertype_automaticsignature** | **bool** | Whether we allow the automatic signature by an User | [optional] +**b_ezsignfoldertype_delegate** | **bool** | Wheter if delegation of signature is allowed to another user or not | [optional] +**b_ezsignfoldertype_discussion** | **bool** | Wheter if creating a new Discussion is allowed or not | [optional] +**b_ezsignfoldertype_logrecipientinproof** | **bool** | Whether we log recipient of signed document in proof | [optional] +**b_ezsignfoldertype_reassignezsignsigner** | **bool** | Wheter if Reassignment of signature is allowed by a signatory to another signatory or not | [optional] +**b_ezsignfoldertype_reassignuser** | **bool** | Wheter if Reassignment of signature is allowed by a user to a signatory or another user or not | [optional] +**b_ezsignfoldertype_reassigngroup** | **bool** | Wheter if Reassignment of signatures of the groups to which the user belongs is authorized by a user to himself | [optional] +**b_ezsignfoldertype_sendsignedtoezsignsigner** | **bool** | Whether we send an email to Ezsignsigner when document is completed | [optional] +**b_ezsignfoldertype_sendsignedtouser** | **bool** | Whether we send an email to User who signed when document is completed | [optional] +**b_ezsignfoldertype_sendattachmentezsignsigner** | **bool** | Whether we send the Ezsigndocument in the email to Ezsignsigner | [optional] +**b_ezsignfoldertype_sendproofezsignsigner** | **bool** | Whether we send the proof in the email to Ezsignsigner | [optional] +**b_ezsignfoldertype_sendattachmentuser** | **bool** | Whether we send the Ezsigndocument in the email to User | [optional] +**b_ezsignfoldertype_sendproofuser** | **bool** | Whether we send the proof in the email to User | [optional] +**b_ezsignfoldertype_sendproofemail** | **bool** | Whether we send the proof in the email to external recipient | [optional] +**b_ezsignfoldertype_allowdownloadattachmentezsignsigner** | **bool** | Whether we allow the Ezsigndocument to be downloaded by an Ezsignsigner | [optional] +**b_ezsignfoldertype_allowdownloadproofezsignsigner** | **bool** | Whether we allow the proof to be downloaded by an Ezsignsigner | [optional] +**b_ezsignfoldertype_sendproofreceivealldocument** | **bool** | Whether we send the proof to user and Ezsignsigner who receive all documents. | [optional] +**b_ezsignfoldertype_sendsignedtodocumentowner** | **bool** | Whether we send the signed Ezsigndocument to the Ezsigndocument's owner | +**b_ezsignfoldertype_sendsignedtofolderowner** | **bool** | Whether we send the signed Ezsigndocument to the Ezsignfolder's owner | +**b_ezsignfoldertype_sendsignedtofullgroup** | **bool** | Whether we send the signed Ezsigndocument to the Usergroup that has acces to all Ezsignfolders | [optional] +**b_ezsignfoldertype_sendsignedtolimitedgroup** | **bool** | THIS FIELD WILL BE DELETED. Whether we send the signed Ezsigndocument to the Usergroup that has acces to only their own Ezsignfolders | [optional] +**b_ezsignfoldertype_sendsignedtocolleague** | **bool** | Whether we send the signed Ezsigndocument to the colleagues | +**b_ezsignfoldertype_sendsummarytodocumentowner** | **bool** | Whether we send the summary to the Ezsigndocument's owner | +**b_ezsignfoldertype_sendsummarytofolderowner** | **bool** | Whether we send the summary to the Ezsignfolder's owner | +**b_ezsignfoldertype_sendsummarytofullgroup** | **bool** | Whether we send the summary to the Usergroup that has acces to all Ezsignfolders | [optional] +**b_ezsignfoldertype_sendsummarytolimitedgroup** | **bool** | Whether we send the summary to the Usergroup that has acces to only their own Ezsignfolders | [optional] +**b_ezsignfoldertype_sendsummarytocolleague** | **bool** | Whether we send the summary to the colleagues | +**e_ezsignfoldertype_signeraccess** | [**FieldEEzsignfoldertypeSigneraccess**](FieldEEzsignfoldertypeSigneraccess.md) | | [optional] +**b_ezsignfoldertype_isactive** | **bool** | Whether the Ezsignfoldertype is active or not | **a_fki_user_id_signed** | **List[int]** | | [optional] **a_fki_user_id_summary** | **List[int]** | | [optional] diff --git a/docs/EzsignfoldertypeResponseCompound.md b/docs/EzsignfoldertypeResponseCompound.md index a95467b63..5c25c0876 100644 --- a/docs/EzsignfoldertypeResponseCompound.md +++ b/docs/EzsignfoldertypeResponseCompound.md @@ -6,6 +6,55 @@ A Ezsignfoldertype Object Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**pki_ezsignfoldertype_id** | **int** | The unique ID of the Ezsignfoldertype. | +**obj_ezsignfoldertype_name** | [**MultilingualEzsignfoldertypeName**](MultilingualEzsignfoldertypeName.md) | | +**fki_branding_id** | **int** | The unique ID of the Branding | +**fki_billingentityinternal_id** | **int** | The unique ID of the Billingentityinternal. | [optional] +**fki_usergroup_id** | **int** | The unique ID of the Usergroup | [optional] +**fki_usergroup_id_restricted** | **int** | The unique ID of the Usergroup | [optional] +**fki_ezsigntsarequirement_id** | **int** | The unique ID of the Ezsigntsarequirement. Determine if a Time Stamping Authority should add a timestamp on each of the signature. Valid values: |Value|Description| |-|-| |1|No. TSA Timestamping will requested. This will make all signatures a lot faster since no round-trip to the TSA server will be required. Timestamping will be made using eZsign server's time.| |2|Best effort. Timestamping from a Time Stamping Authority will be requested but is not mandatory. In the very improbable case it cannot be completed, the timestamping will be made using eZsign server's time. **Additional fee applies**| |3|Mandatory. Timestamping from a Time Stamping Authority will be requested and is mandatory. In the very improbable case it cannot be completed, the signature will fail and the user will be asked to retry. **Additional fee applies**| | [optional] +**s_branding_description_x** | **str** | The Description of the Branding in the language of the requester | +**s_billingentityinternal_description_x** | **str** | The description of the Billingentityinternal in the language of the requester | [optional] +**s_ezsigntsarequirement_description_x** | **str** | The description of the Ezsigntsarequirement in the language of the requester | [optional] +**s_email_address_signed** | **str** | The email address. | [optional] +**s_email_address_summary** | **str** | The email address. | [optional] +**s_usergroup_name_x** | **str** | The Name of the Usergroup in the language of the requester | [optional] +**s_usergroup_name_x_restricted** | **str** | The Name of the Usergroup in the language of the requester | [optional] +**e_ezsignfoldertype_privacylevel** | [**FieldEEzsignfoldertypePrivacylevel**](FieldEEzsignfoldertypePrivacylevel.md) | | +**e_ezsignfoldertype_sendreminderfrequency** | [**FieldEEzsignfoldertypeSendreminderfrequency**](FieldEEzsignfoldertypeSendreminderfrequency.md) | | [optional] +**i_ezsignfoldertype_archivaldays** | **int** | The number of days before the archival of Ezsignfolders created using this Ezsignfoldertype | +**e_ezsignfoldertype_disposal** | [**FieldEEzsignfoldertypeDisposal**](FieldEEzsignfoldertypeDisposal.md) | | +**e_ezsignfoldertype_completion** | [**FieldEEzsignfoldertypeCompletion**](FieldEEzsignfoldertypeCompletion.md) | | +**i_ezsignfoldertype_disposaldays** | **int** | The number of days after the archival before the disposal of the Ezsignfolder | [optional] +**i_ezsignfoldertype_deadlinedays** | **int** | The number of days to get all Ezsignsignatures | +**b_ezsignfoldertype_automaticsignature** | **bool** | Whether we allow the automatic signature by an User | [optional] +**b_ezsignfoldertype_delegate** | **bool** | Wheter if delegation of signature is allowed to another user or not | [optional] +**b_ezsignfoldertype_discussion** | **bool** | Wheter if creating a new Discussion is allowed or not | [optional] +**b_ezsignfoldertype_reassignezsignsigner** | **bool** | Wheter if Reassignment of signature is allowed by a signatory to another signatory or not | [optional] +**b_ezsignfoldertype_reassignuser** | **bool** | Wheter if Reassignment of signature is allowed by a user to a signatory or another user or not | [optional] +**b_ezsignfoldertype_reassigngroup** | **bool** | Wheter if Reassignment of signatures of the groups to which the user belongs is authorized by a user to himself | [optional] +**b_ezsignfoldertype_sendsignedtoezsignsigner** | **bool** | Whether we send an email to Ezsignsigner when document is completed | [optional] +**b_ezsignfoldertype_sendsignedtouser** | **bool** | Whether we send an email to User who signed when document is completed | [optional] +**b_ezsignfoldertype_sendattachmentezsignsigner** | **bool** | Whether we send the Ezsigndocument in the email to Ezsignsigner | [optional] +**b_ezsignfoldertype_sendproofezsignsigner** | **bool** | Whether we send the proof in the email to Ezsignsigner | [optional] +**b_ezsignfoldertype_sendattachmentuser** | **bool** | Whether we send the Ezsigndocument in the email to User | [optional] +**b_ezsignfoldertype_sendproofuser** | **bool** | Whether we send the proof in the email to User | [optional] +**b_ezsignfoldertype_sendproofemail** | **bool** | Whether we send the proof in the email to external recipient | [optional] +**b_ezsignfoldertype_allowdownloadattachmentezsignsigner** | **bool** | Whether we allow the Ezsigndocument to be downloaded by an Ezsignsigner | [optional] +**b_ezsignfoldertype_allowdownloadproofezsignsigner** | **bool** | Whether we allow the proof to be downloaded by an Ezsignsigner | [optional] +**b_ezsignfoldertype_sendproofreceivealldocument** | **bool** | Whether we send the proof to user and Ezsignsigner who receive all documents. | [optional] +**b_ezsignfoldertype_sendsignedtodocumentowner** | **bool** | Whether we send the signed Ezsigndocument to the Ezsigndocument's owner | +**b_ezsignfoldertype_sendsignedtofolderowner** | **bool** | Whether we send the signed Ezsigndocument to the Ezsignfolder's owner | +**b_ezsignfoldertype_sendsignedtofullgroup** | **bool** | Whether we send the signed Ezsigndocument to the Usergroup that has acces to all Ezsignfolders | [optional] +**b_ezsignfoldertype_sendsignedtolimitedgroup** | **bool** | THIS FIELD WILL BE DELETED. Whether we send the signed Ezsigndocument to the Usergroup that has acces to only their own Ezsignfolders | [optional] +**b_ezsignfoldertype_sendsignedtocolleague** | **bool** | Whether we send the signed Ezsigndocument to the colleagues | +**b_ezsignfoldertype_sendsummarytodocumentowner** | **bool** | Whether we send the summary to the Ezsigndocument's owner | +**b_ezsignfoldertype_sendsummarytofolderowner** | **bool** | Whether we send the summary to the Ezsignfolder's owner | +**b_ezsignfoldertype_sendsummarytofullgroup** | **bool** | Whether we send the summary to the Usergroup that has acces to all Ezsignfolders | [optional] +**b_ezsignfoldertype_sendsummarytolimitedgroup** | **bool** | Whether we send the summary to the Usergroup that has acces to only their own Ezsignfolders | [optional] +**b_ezsignfoldertype_sendsummarytocolleague** | **bool** | Whether we send the summary to the colleagues | +**b_ezsignfoldertype_isactive** | **bool** | Whether the Ezsignfoldertype is active or not | +**a_obj_userlogintype** | [**List[UserlogintypeResponse]**](UserlogintypeResponse.md) | | **a_fki_user_id_signed** | **List[int]** | | [optional] **a_fki_user_id_summary** | **List[int]** | | [optional] diff --git a/docs/EzsignfoldertypeResponseCompoundV4.md b/docs/EzsignfoldertypeResponseCompoundV4.md index 030eb9d22..519507400 100644 --- a/docs/EzsignfoldertypeResponseCompoundV4.md +++ b/docs/EzsignfoldertypeResponseCompoundV4.md @@ -6,6 +6,70 @@ A Ezsignfoldertype Object Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**pki_ezsignfoldertype_id** | **int** | The unique ID of the Ezsignfoldertype. | +**obj_ezsignfoldertype_name** | [**MultilingualEzsignfoldertypeName**](MultilingualEzsignfoldertypeName.md) | | +**fki_branding_id** | **int** | The unique ID of the Branding | +**fki_billingentityinternal_id** | **int** | The unique ID of the Billingentityinternal. | [optional] +**fki_ezsigntsarequirement_id** | **int** | The unique ID of the Ezsigntsarequirement. Determine if a Time Stamping Authority should add a timestamp on each of the signature. Valid values: |Value|Description| |-|-| |1|No. TSA Timestamping will requested. This will make all signatures a lot faster since no round-trip to the TSA server will be required. Timestamping will be made using eZsign server's time.| |2|Best effort. Timestamping from a Time Stamping Authority will be requested but is not mandatory. In the very improbable case it cannot be completed, the timestamping will be made using eZsign server's time. **Additional fee applies**| |3|Mandatory. Timestamping from a Time Stamping Authority will be requested and is mandatory. In the very improbable case it cannot be completed, the signature will fail and the user will be asked to retry. **Additional fee applies**| | [optional] +**fki_font_id_annotation** | **int** | The unique ID of the Font | [optional] +**fki_font_id_formfield** | **int** | The unique ID of the Font | [optional] +**fki_font_id_signature** | **int** | The unique ID of the Font | [optional] +**fki_pdfalevel_id_convert** | **int** | The unique ID of the Pdfalevel | [optional] +**e_ezsignfoldertype_documentdependency** | [**FieldEEzsignfoldertypeDocumentdependency**](FieldEEzsignfoldertypeDocumentdependency.md) | | [optional] +**s_branding_description_x** | **str** | The Description of the Branding in the language of the requester | +**s_billingentityinternal_description_x** | **str** | The description of the Billingentityinternal in the language of the requester | [optional] +**s_ezsigntsarequirement_description_x** | **str** | The description of the Ezsigntsarequirement in the language of the requester | [optional] +**s_email_address_signed** | **str** | The email address. | [optional] +**s_email_address_summary** | **str** | The email address. | [optional] +**e_ezsignfoldertype_pdfarequirement** | [**FieldEEzsignfoldertypePdfarequirement**](FieldEEzsignfoldertypePdfarequirement.md) | | [optional] +**e_ezsignfoldertype_pdfanoncompliantaction** | [**FieldEEzsignfoldertypePdfanoncompliantaction**](FieldEEzsignfoldertypePdfanoncompliantaction.md) | | [optional] +**e_ezsignfoldertype_privacylevel** | [**FieldEEzsignfoldertypePrivacylevel**](FieldEEzsignfoldertypePrivacylevel.md) | | +**i_ezsignfoldertype_fontsizeannotation** | **int** | Font size for annotations | [optional] +**i_ezsignfoldertype_fontsizeformfield** | **int** | Font size for form fields | [optional] +**i_ezsignfoldertype_sendreminderfirstdays** | **int** | The number of days before the the first reminder sending | [optional] +**i_ezsignfoldertype_sendreminderotherdays** | **int** | The number of days after the first reminder sending | [optional] +**i_ezsignfoldertype_archivaldays** | **int** | The number of days before the archival of Ezsignfolders created using this Ezsignfoldertype | +**e_ezsignfoldertype_disposal** | [**FieldEEzsignfoldertypeDisposal**](FieldEEzsignfoldertypeDisposal.md) | | +**e_ezsignfoldertype_completion** | [**FieldEEzsignfoldertypeCompletion**](FieldEEzsignfoldertypeCompletion.md) | | +**i_ezsignfoldertype_disposaldays** | **int** | The number of days after the archival before the disposal of the Ezsignfolder | [optional] +**i_ezsignfoldertype_deadlinedays** | **int** | The number of days to get all Ezsignsignatures | +**b_ezsignfoldertype_prematurelyendautomatically** | **bool** | Wheter if document will be ended prematurely after Ezsignfolder expires. | [optional] +**i_ezsignfoldertype_prematurelyendautomaticallydays** | **int** | Number of days between Ezsignfolder expiration and automatic prematurely end of Ezsigndocuments. | [optional] +**b_ezsignfoldertype_automaticsignature** | **bool** | Whether we allow the automatic signature by an User | [optional] +**b_ezsignfoldertype_delegate** | **bool** | Wheter if delegation of signature is allowed to another user or not | [optional] +**b_ezsignfoldertype_discussion** | **bool** | Wheter if creating a new Discussion is allowed or not | [optional] +**b_ezsignfoldertype_logrecipientinproof** | **bool** | Whether we log recipient of signed document in proof | [optional] +**b_ezsignfoldertype_reassignezsignsigner** | **bool** | Wheter if Reassignment of signature is allowed by a signatory to another signatory or not | [optional] +**b_ezsignfoldertype_reassignuser** | **bool** | Wheter if Reassignment of signature is allowed by a user to a signatory or another user or not | [optional] +**b_ezsignfoldertype_reassigngroup** | **bool** | Wheter if Reassignment of signatures of the groups to which the user belongs is authorized by a user to himself | [optional] +**b_ezsignfoldertype_sendsignedtoezsignsigner** | **bool** | Whether we send an email to Ezsignsigner when document is completed | [optional] +**b_ezsignfoldertype_sendsignedtouser** | **bool** | Whether we send an email to User who signed when document is completed | [optional] +**b_ezsignfoldertype_sendattachmentezsignsigner** | **bool** | Whether we send the Ezsigndocument in the email to Ezsignsigner | [optional] +**b_ezsignfoldertype_sendproofezsignsigner** | **bool** | Whether we send the proof in the email to Ezsignsigner | [optional] +**b_ezsignfoldertype_sendattachmentuser** | **bool** | Whether we send the Ezsigndocument in the email to User | [optional] +**b_ezsignfoldertype_sendproofuser** | **bool** | Whether we send the proof in the email to User | [optional] +**b_ezsignfoldertype_sendproofemail** | **bool** | Whether we send the proof in the email to external recipient | [optional] +**b_ezsignfoldertype_allowdownloadattachmentezsignsigner** | **bool** | Whether we allow the Ezsigndocument to be downloaded by an Ezsignsigner | [optional] +**b_ezsignfoldertype_allowdownloadproofezsignsigner** | **bool** | Whether we allow the proof to be downloaded by an Ezsignsigner | [optional] +**b_ezsignfoldertype_sendproofreceivealldocument** | **bool** | Whether we send the proof to user and Ezsignsigner who receive all documents. | [optional] +**b_ezsignfoldertype_sendsignedtodocumentowner** | **bool** | Whether we send the signed Ezsigndocument to the Ezsigndocument's owner | +**b_ezsignfoldertype_sendsignedtofolderowner** | **bool** | Whether we send the signed Ezsigndocument to the Ezsignfolder's owner | +**b_ezsignfoldertype_sendsignedtofullgroup** | **bool** | Whether we send the signed Ezsigndocument to the Usergroup that has acces to all Ezsignfolders | [optional] +**b_ezsignfoldertype_sendsignedtolimitedgroup** | **bool** | THIS FIELD WILL BE DELETED. Whether we send the signed Ezsigndocument to the Usergroup that has acces to only their own Ezsignfolders | [optional] +**b_ezsignfoldertype_sendsignedtocolleague** | **bool** | Whether we send the signed Ezsigndocument to the colleagues | +**b_ezsignfoldertype_sendsummarytodocumentowner** | **bool** | Whether we send the summary to the Ezsigndocument's owner | +**b_ezsignfoldertype_sendsummarytofolderowner** | **bool** | Whether we send the summary to the Ezsignfolder's owner | +**b_ezsignfoldertype_sendsummarytofullgroup** | **bool** | Whether we send the summary to the Usergroup that has acces to all Ezsignfolders | [optional] +**b_ezsignfoldertype_sendsummarytolimitedgroup** | **bool** | Whether we send the summary to the Usergroup that has acces to only their own Ezsignfolders | [optional] +**b_ezsignfoldertype_sendsummarytocolleague** | **bool** | Whether we send the summary to the colleagues | +**e_ezsignfoldertype_signeraccess** | [**FieldEEzsignfoldertypeSigneraccess**](FieldEEzsignfoldertypeSigneraccess.md) | | [optional] +**b_ezsignfoldertype_isactive** | **bool** | Whether the Ezsignfoldertype is active or not | +**a_fki_pdfalevel_id** | **List[int]** | | [optional] +**a_obj_userlogintype** | [**List[UserlogintypeResponse]**](UserlogintypeResponse.md) | | +**a_obj_usergroup_all** | [**List[UsergroupResponse]**](UsergroupResponse.md) | | [optional] +**a_obj_usergroup_restricted** | [**List[UsergroupResponse]**](UsergroupResponse.md) | | [optional] +**a_obj_usergroup_template** | [**List[UsergroupResponse]**](UsergroupResponse.md) | | [optional] +**obj_audit** | [**CommonAudit**](CommonAudit.md) | | **a_fki_user_id_signed** | **List[int]** | | [optional] **a_fki_user_id_summary** | **List[int]** | | [optional] diff --git a/docs/EzsignformfieldRequestCompound.md b/docs/EzsignformfieldRequestCompound.md index 37e432da2..bc13eefcf 100644 --- a/docs/EzsignformfieldRequestCompound.md +++ b/docs/EzsignformfieldRequestCompound.md @@ -6,7 +6,21 @@ An Ezsignformfield Object and children to create a complete structure Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**a_obj_ezsignelementdependency** | [**List[EzsignelementdependencyRequestCompound]**](EzsignelementdependencyRequest.md) | | [optional] +**pki_ezsignformfield_id** | **int** | The unique ID of the Ezsignformfield | [optional] +**i_ezsignpage_pagenumber** | **int** | The page number in the Ezsigndocument | +**s_ezsignformfield_label** | **str** | The Label for the Ezsignformfield | +**s_ezsignformfield_value** | **str** | The value for the Ezsignformfield This can only be set if eEzsignformfieldgroupType is Checkbox or Radio | [optional] +**i_ezsignformfield_x** | **int** | The X coordinate (Horizontal) where to put the Ezsignformfield on the Ezsignpage. Coordinate is calculated at 100dpi (dot per inch). So for example, if you want to put the Ezsignformfield 2 inches from the left border of the page, you would use \"200\" for the X coordinate. | +**i_ezsignformfield_y** | **int** | The Y coordinate (Vertical) where to put the Ezsignformfield on the Ezsignpage. Coordinate is calculated at 100dpi (dot per inch). So for example, if you want to put the Ezsignformfield 3 inches from the top border of the page, you would use \"300\" for the Y coordinate. | +**i_ezsignformfield_width** | **int** | The Width of the Ezsignformfield in pixels calculated at 100 DPI | +**i_ezsignformfield_height** | **int** | The Height of the Ezsignformfield in pixels calculated at 100 DPI | +**b_ezsignformfield_autocomplete** | **bool** | Whether the Ezsignformfield allows the use of the autocomplete of the browser. This can only be set if eEzsignformfieldgroupType is **Text** | [optional] +**b_ezsignformfield_selected** | **bool** | Whether the Ezsignformfield is selected or not by default. This can only be set if eEzsignformfieldgroupType is **Checkbox** or **Radio** | [optional] +**s_ezsignformfield_enteredvalue** | **str** | This is the value enterred for the Ezsignformfield This can only be set if eEzsignformfieldgroupType is **Dropdown**, **Text** or **Textarea** | [optional] +**e_ezsignformfield_dependencyrequirement** | [**FieldEEzsignformfieldDependencyrequirement**](FieldEEzsignformfieldDependencyrequirement.md) | | [optional] +**e_ezsignformfield_horizontalalignment** | [**EnumHorizontalalignment**](EnumHorizontalalignment.md) | | [optional] +**obj_textstylestatic** | [**TextstylestaticRequestCompound**](TextstylestaticRequestCompound.md) | | [optional] +**a_obj_ezsignelementdependency** | [**List[EzsignelementdependencyRequestCompound]**](EzsignelementdependencyRequestCompound.md) | | [optional] ## Example diff --git a/docs/EzsignformfieldResponseCompound.md b/docs/EzsignformfieldResponseCompound.md index 0fe96756b..4ba1f46cb 100644 --- a/docs/EzsignformfieldResponseCompound.md +++ b/docs/EzsignformfieldResponseCompound.md @@ -6,7 +6,21 @@ An Ezsignformfield Object and children to create a complete structure Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**a_obj_ezsignelementdependency** | [**List[EzsignelementdependencyResponseCompound]**](EzsignelementdependencyResponse.md) | | [optional] +**pki_ezsignformfield_id** | **int** | The unique ID of the Ezsignformfield | +**i_ezsignpage_pagenumber** | **int** | The page number in the Ezsigndocument | +**s_ezsignformfield_label** | **str** | The Label for the Ezsignformfield | +**s_ezsignformfield_value** | **str** | The value for the Ezsignformfield This can only be set if eEzsignformfieldgroupType is Checkbox or Radio | [optional] +**i_ezsignformfield_x** | **int** | The X coordinate (Horizontal) where to put the Ezsignformfield on the Ezsignpage. Coordinate is calculated at 100dpi (dot per inch). So for example, if you want to put the Ezsignformfield 2 inches from the left border of the page, you would use \"200\" for the X coordinate. | +**i_ezsignformfield_y** | **int** | The Y coordinate (Vertical) where to put the Ezsignformfield on the Ezsignpage. Coordinate is calculated at 100dpi (dot per inch). So for example, if you want to put the Ezsignformfield 3 inches from the top border of the page, you would use \"300\" for the Y coordinate. | +**i_ezsignformfield_width** | **int** | The Width of the Ezsignformfield in pixels calculated at 100 DPI | +**i_ezsignformfield_height** | **int** | The Height of the Ezsignformfield in pixels calculated at 100 DPI | +**b_ezsignformfield_autocomplete** | **bool** | Whether the Ezsignformfield allows the use of the autocomplete of the browser. This can only be set if eEzsignformfieldgroupType is **Text** | [optional] +**b_ezsignformfield_selected** | **bool** | Whether the Ezsignformfield is selected or not by default. This can only be set if eEzsignformfieldgroupType is **Checkbox** or **Radio** | [optional] +**s_ezsignformfield_enteredvalue** | **str** | This is the value enterred for the Ezsignformfield This can only be set if eEzsignformfieldgroupType is **Dropdown**, **Text** or **Textarea** | [optional] +**e_ezsignformfield_dependencyrequirement** | [**FieldEEzsignformfieldDependencyrequirement**](FieldEEzsignformfieldDependencyrequirement.md) | | [optional] +**e_ezsignformfield_horizontalalignment** | [**EnumHorizontalalignment**](EnumHorizontalalignment.md) | | [optional] +**obj_textstylestatic** | [**TextstylestaticResponseCompound**](TextstylestaticResponseCompound.md) | | [optional] +**a_obj_ezsignelementdependency** | [**List[EzsignelementdependencyResponseCompound]**](EzsignelementdependencyResponseCompound.md) | | [optional] ## Example diff --git a/docs/EzsignformfieldgroupCreateObjectV1Response.md b/docs/EzsignformfieldgroupCreateObjectV1Response.md index 90a34e6bb..0b96f64b1 100644 --- a/docs/EzsignformfieldgroupCreateObjectV1Response.md +++ b/docs/EzsignformfieldgroupCreateObjectV1Response.md @@ -6,6 +6,8 @@ Response for POST /1/object/ezsignformfieldgroup Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**obj_debug_payload** | [**CommonResponseObjDebugPayload**](CommonResponseObjDebugPayload.md) | | +**obj_debug** | [**CommonResponseObjDebug**](CommonResponseObjDebug.md) | | [optional] **m_payload** | [**EzsignformfieldgroupCreateObjectV1ResponseMPayload**](EzsignformfieldgroupCreateObjectV1ResponseMPayload.md) | | ## Example diff --git a/docs/EzsignformfieldgroupDeleteObjectV1Response.md b/docs/EzsignformfieldgroupDeleteObjectV1Response.md index 5b767577f..451ae9b38 100644 --- a/docs/EzsignformfieldgroupDeleteObjectV1Response.md +++ b/docs/EzsignformfieldgroupDeleteObjectV1Response.md @@ -6,6 +6,8 @@ Response for DELETE /1/object/ezsignformfieldgroup/{pkiEzsignformfieldgroupID} Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**obj_debug_payload** | [**CommonResponseObjDebugPayload**](CommonResponseObjDebugPayload.md) | | +**obj_debug** | [**CommonResponseObjDebug**](CommonResponseObjDebug.md) | | [optional] ## Example diff --git a/docs/EzsignformfieldgroupEditObjectV1Response.md b/docs/EzsignformfieldgroupEditObjectV1Response.md index c7cb3a3ca..948e19011 100644 --- a/docs/EzsignformfieldgroupEditObjectV1Response.md +++ b/docs/EzsignformfieldgroupEditObjectV1Response.md @@ -6,6 +6,8 @@ Response for PUT /1/object/ezsignformfieldgroup/{pkiEzsignfoldersignerassociatio Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**obj_debug_payload** | [**CommonResponseObjDebugPayload**](CommonResponseObjDebugPayload.md) | | +**obj_debug** | [**CommonResponseObjDebug**](CommonResponseObjDebug.md) | | [optional] ## Example diff --git a/docs/EzsignformfieldgroupGetObjectV2Response.md b/docs/EzsignformfieldgroupGetObjectV2Response.md index c4f84c2f7..3b59bbc0a 100644 --- a/docs/EzsignformfieldgroupGetObjectV2Response.md +++ b/docs/EzsignformfieldgroupGetObjectV2Response.md @@ -6,6 +6,8 @@ Response for GET /2/object/ezsignformfieldgroup/{pkiEzsignformfieldgroupID} Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**obj_debug_payload** | [**CommonResponseObjDebugPayload**](CommonResponseObjDebugPayload.md) | | +**obj_debug** | [**CommonResponseObjDebug**](CommonResponseObjDebug.md) | | [optional] **m_payload** | [**EzsignformfieldgroupGetObjectV2ResponseMPayload**](EzsignformfieldgroupGetObjectV2ResponseMPayload.md) | | ## Example diff --git a/docs/EzsignformfieldgroupRequestCompound.md b/docs/EzsignformfieldgroupRequestCompound.md index 80c7d94f5..ec62a6eb4 100644 --- a/docs/EzsignformfieldgroupRequestCompound.md +++ b/docs/EzsignformfieldgroupRequestCompound.md @@ -6,8 +6,25 @@ An Ezsignformfieldgroup Object and children to create a complete structure Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**a_obj_ezsignformfieldgroupsigner** | [**List[EzsignformfieldgroupsignerRequestCompound]**](EzsignformfieldgroupsignerRequest.md) | | -**a_obj_dropdown_element** | [**List[CustomDropdownElementRequestCompound]**](CustomDropdownElementRequest.md) | | [optional] +**pki_ezsignformfieldgroup_id** | **int** | The unique ID of the Ezsignformfieldgroup | [optional] +**fki_ezsigndocument_id** | **int** | The unique ID of the Ezsigndocument | +**e_ezsignformfieldgroup_type** | [**FieldEEzsignformfieldgroupType**](FieldEEzsignformfieldgroupType.md) | | +**e_ezsignformfieldgroup_signerrequirement** | [**FieldEEzsignformfieldgroupSignerrequirement**](FieldEEzsignformfieldgroupSignerrequirement.md) | | [optional] +**s_ezsignformfieldgroup_label** | **str** | The Label for the Ezsignformfieldgroup | +**i_ezsignformfieldgroup_step** | **int** | The step when the Ezsignsigner will be invited to fill the form fields | +**s_ezsignformfieldgroup_defaultvalue** | **str** | The default value for the Ezsignformfieldgroup You can use the codes below and they will be replaced at signature time. | Code | Description | Example | | ------------------------- | ------------ | ------------ | | {sUserFirstname} | The first name of the contact | John | | {sUserLastname} | The last name of the contact | Doe | | {sUserJobtitle} | The job title | Sales Representative | | {sCompany} | Company name | eZmax Solutions Inc. | | {sEmailAddress} | The email address | email@example.com | | {sPhoneE164} | A phone number in E.164 Format | +15149901516 | | {sPhoneE164Cell} | A phone number in E.164 Format | +15149901516 | | [optional] +**i_ezsignformfieldgroup_filledmin** | **int** | The minimum number of Ezsignformfield that must be filled in the Ezsignformfieldgroup | +**i_ezsignformfieldgroup_filledmax** | **int** | The maximum number of Ezsignformfield that must be filled in the Ezsignformfieldgroup | +**b_ezsignformfieldgroup_readonly** | **bool** | Whether the Ezsignformfieldgroup is read only or not. | +**i_ezsignformfieldgroup_maxlength** | **int** | The maximum length for the value in the Ezsignformfieldgroup This can only be set if eEzsignformfieldgroupType is **Text** or **Textarea** | [optional] +**b_ezsignformfieldgroup_encrypted** | **bool** | Whether the Ezsignformfieldgroup is encrypted in the database or not. Encrypted values are not displayed on the Ezsigndocument. This can only be set if eEzsignformfieldgroupType is **Text** or **Textarea** | [optional] +**s_ezsignformfieldgroup_regexp** | **str** | A regular expression to indicate what values are acceptable for the Ezsignformfieldgroup. This can only be set if eEzsignformfieldgroupType is **Text** or **Textarea** | [optional] +**s_ezsignformfieldgroup_textvalidationcustommessage** | **str** | Description of validation rule. Show by signatory. | [optional] +**t_ezsignformfieldgroup_tooltip** | **str** | A tooltip that will be presented to Ezsignsigner about the Ezsignformfieldgroup | [optional] +**e_ezsignformfieldgroup_tooltipposition** | [**FieldEEzsignformfieldgroupTooltipposition**](FieldEEzsignformfieldgroupTooltipposition.md) | | [optional] +**e_ezsignformfieldgroup_textvalidation** | [**EnumTextvalidation**](EnumTextvalidation.md) | | [optional] +**a_obj_ezsignformfieldgroupsigner** | [**List[EzsignformfieldgroupsignerRequestCompound]**](EzsignformfieldgroupsignerRequestCompound.md) | | +**a_obj_dropdown_element** | [**List[CustomDropdownElementRequestCompound]**](CustomDropdownElementRequestCompound.md) | | [optional] **a_obj_ezsignformfield** | [**List[EzsignformfieldRequestCompound]**](EzsignformfieldRequestCompound.md) | | ## Example diff --git a/docs/EzsignformfieldgroupResponseCompound.md b/docs/EzsignformfieldgroupResponseCompound.md index b2acf631f..3e27f1971 100644 --- a/docs/EzsignformfieldgroupResponseCompound.md +++ b/docs/EzsignformfieldgroupResponseCompound.md @@ -6,9 +6,26 @@ An Ezsignformfieldgroup Object and children to create a complete structure Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**pki_ezsignformfieldgroup_id** | **int** | The unique ID of the Ezsignformfieldgroup | +**fki_ezsigndocument_id** | **int** | The unique ID of the Ezsigndocument | +**e_ezsignformfieldgroup_type** | [**FieldEEzsignformfieldgroupType**](FieldEEzsignformfieldgroupType.md) | | +**e_ezsignformfieldgroup_signerrequirement** | [**FieldEEzsignformfieldgroupSignerrequirement**](FieldEEzsignformfieldgroupSignerrequirement.md) | | [optional] +**s_ezsignformfieldgroup_label** | **str** | The Label for the Ezsignformfieldgroup | +**i_ezsignformfieldgroup_step** | **int** | The step when the Ezsignsigner will be invited to fill the form fields | +**s_ezsignformfieldgroup_defaultvalue** | **str** | The default value for the Ezsignformfieldgroup You can use the codes below and they will be replaced at signature time. | Code | Description | Example | | ------------------------- | ------------ | ------------ | | {sUserFirstname} | The first name of the contact | John | | {sUserLastname} | The last name of the contact | Doe | | {sUserJobtitle} | The job title | Sales Representative | | {sCompany} | Company name | eZmax Solutions Inc. | | {sEmailAddress} | The email address | email@example.com | | {sPhoneE164} | A phone number in E.164 Format | +15149901516 | | {sPhoneE164Cell} | A phone number in E.164 Format | +15149901516 | | [optional] +**i_ezsignformfieldgroup_filledmin** | **int** | The minimum number of Ezsignformfield that must be filled in the Ezsignformfieldgroup | +**i_ezsignformfieldgroup_filledmax** | **int** | The maximum number of Ezsignformfield that must be filled in the Ezsignformfieldgroup | +**b_ezsignformfieldgroup_readonly** | **bool** | Whether the Ezsignformfieldgroup is read only or not. | +**i_ezsignformfieldgroup_maxlength** | **int** | The maximum length for the value in the Ezsignformfieldgroup This can only be set if eEzsignformfieldgroupType is **Text** or **Textarea** | [optional] +**b_ezsignformfieldgroup_encrypted** | **bool** | Whether the Ezsignformfieldgroup is encrypted in the database or not. Encrypted values are not displayed on the Ezsigndocument. This can only be set if eEzsignformfieldgroupType is **Text** or **Textarea** | [optional] +**e_ezsignformfieldgroup_textvalidation** | [**EnumTextvalidation**](EnumTextvalidation.md) | | [optional] +**s_ezsignformfieldgroup_regexp** | **str** | A regular expression to indicate what values are acceptable for the Ezsignformfieldgroup. This can only be set if eEzsignformfieldgroupType is **Text** or **Textarea** | [optional] +**s_ezsignformfieldgroup_textvalidationcustommessage** | **str** | Description of validation rule. Show by signatory. | [optional] +**t_ezsignformfieldgroup_tooltip** | **str** | A tooltip that will be presented to Ezsignsigner about the Ezsignformfieldgroup | [optional] +**e_ezsignformfieldgroup_tooltipposition** | [**FieldEEzsignformfieldgroupTooltipposition**](FieldEEzsignformfieldgroupTooltipposition.md) | | [optional] **a_obj_ezsignformfield** | [**List[EzsignformfieldResponseCompound]**](EzsignformfieldResponseCompound.md) | | -**a_obj_dropdown_element** | [**List[CustomDropdownElementResponseCompound]**](CustomDropdownElementResponse.md) | | [optional] -**a_obj_ezsignformfieldgroupsigner** | [**List[EzsignformfieldgroupsignerResponseCompound]**](EzsignformfieldgroupsignerResponse.md) | | +**a_obj_dropdown_element** | [**List[CustomDropdownElementResponseCompound]**](CustomDropdownElementResponseCompound.md) | | [optional] +**a_obj_ezsignformfieldgroupsigner** | [**List[EzsignformfieldgroupsignerResponseCompound]**](EzsignformfieldgroupsignerResponseCompound.md) | | ## Example diff --git a/docs/EzsignpageConsultV1Response.md b/docs/EzsignpageConsultV1Response.md index dbfa22c3c..0a547cf57 100644 --- a/docs/EzsignpageConsultV1Response.md +++ b/docs/EzsignpageConsultV1Response.md @@ -6,6 +6,8 @@ Response for POST /1/object/ezsignpage/{pkiEzsignpageID}/consult Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**obj_debug_payload** | [**CommonResponseObjDebugPayload**](CommonResponseObjDebugPayload.md) | | +**obj_debug** | [**CommonResponseObjDebug**](CommonResponseObjDebug.md) | | [optional] ## Example diff --git a/docs/EzsignsignatureCreateObjectV1Response.md b/docs/EzsignsignatureCreateObjectV1Response.md index a10574964..75ab1470e 100644 --- a/docs/EzsignsignatureCreateObjectV1Response.md +++ b/docs/EzsignsignatureCreateObjectV1Response.md @@ -6,6 +6,8 @@ Response for POST /1/object/ezsignsignature Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**obj_debug_payload** | [**CommonResponseObjDebugPayload**](CommonResponseObjDebugPayload.md) | | +**obj_debug** | [**CommonResponseObjDebug**](CommonResponseObjDebug.md) | | [optional] **m_payload** | [**EzsignsignatureCreateObjectV1ResponseMPayload**](EzsignsignatureCreateObjectV1ResponseMPayload.md) | | ## Example diff --git a/docs/EzsignsignatureCreateObjectV2Response.md b/docs/EzsignsignatureCreateObjectV2Response.md index 527367c14..7d5fd5935 100644 --- a/docs/EzsignsignatureCreateObjectV2Response.md +++ b/docs/EzsignsignatureCreateObjectV2Response.md @@ -6,6 +6,8 @@ Response for POST /2/object/ezsignsignature Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**obj_debug_payload** | [**CommonResponseObjDebugPayload**](CommonResponseObjDebugPayload.md) | | +**obj_debug** | [**CommonResponseObjDebug**](CommonResponseObjDebug.md) | | [optional] **m_payload** | [**EzsignsignatureCreateObjectV2ResponseMPayload**](EzsignsignatureCreateObjectV2ResponseMPayload.md) | | ## Example diff --git a/docs/EzsignsignatureCreateObjectV3Response.md b/docs/EzsignsignatureCreateObjectV3Response.md index 535ad50e8..c9bec9c6f 100644 --- a/docs/EzsignsignatureCreateObjectV3Response.md +++ b/docs/EzsignsignatureCreateObjectV3Response.md @@ -6,6 +6,8 @@ Response for POST /3/object/ezsignsignature Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**obj_debug_payload** | [**CommonResponseObjDebugPayload**](CommonResponseObjDebugPayload.md) | | +**obj_debug** | [**CommonResponseObjDebug**](CommonResponseObjDebug.md) | | [optional] **m_payload** | [**EzsignsignatureCreateObjectV3ResponseMPayload**](EzsignsignatureCreateObjectV3ResponseMPayload.md) | | ## Example diff --git a/docs/EzsignsignatureDeleteObjectV1Response.md b/docs/EzsignsignatureDeleteObjectV1Response.md index 7e9be882f..608fc1d42 100644 --- a/docs/EzsignsignatureDeleteObjectV1Response.md +++ b/docs/EzsignsignatureDeleteObjectV1Response.md @@ -6,6 +6,8 @@ Response for DELETE /1/object/ezsignsignature/{pkiEzsignsignatureID} Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**obj_debug_payload** | [**CommonResponseObjDebugPayload**](CommonResponseObjDebugPayload.md) | | +**obj_debug** | [**CommonResponseObjDebug**](CommonResponseObjDebug.md) | | [optional] ## Example diff --git a/docs/EzsignsignatureEditObjectV2Response.md b/docs/EzsignsignatureEditObjectV2Response.md index be2cf3da1..d21150dcd 100644 --- a/docs/EzsignsignatureEditObjectV2Response.md +++ b/docs/EzsignsignatureEditObjectV2Response.md @@ -6,6 +6,8 @@ Response for PUT /2/object/ezsignsignature/{pkiEzsignsignatureID} Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**obj_debug_payload** | [**CommonResponseObjDebugPayload**](CommonResponseObjDebugPayload.md) | | +**obj_debug** | [**CommonResponseObjDebug**](CommonResponseObjDebug.md) | | [optional] ## Example diff --git a/docs/EzsignsignatureGetEzsignsignatureattachmentV1Response.md b/docs/EzsignsignatureGetEzsignsignatureattachmentV1Response.md index 9a8a33a71..7f63be9e0 100644 --- a/docs/EzsignsignatureGetEzsignsignatureattachmentV1Response.md +++ b/docs/EzsignsignatureGetEzsignsignatureattachmentV1Response.md @@ -6,6 +6,8 @@ Response for GET /1/object/ezsignsignature/{pkiEzsignsignatureID}/getEzsignsigna Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**obj_debug_payload** | [**CommonResponseObjDebugPayload**](CommonResponseObjDebugPayload.md) | | +**obj_debug** | [**CommonResponseObjDebug**](CommonResponseObjDebug.md) | | [optional] **m_payload** | [**EzsignsignatureGetEzsignsignatureattachmentV1ResponseMPayload**](EzsignsignatureGetEzsignsignatureattachmentV1ResponseMPayload.md) | | ## Example diff --git a/docs/EzsignsignatureGetEzsignsignaturesAutomaticV1Response.md b/docs/EzsignsignatureGetEzsignsignaturesAutomaticV1Response.md index 1de1b9fee..50a6a33e2 100644 --- a/docs/EzsignsignatureGetEzsignsignaturesAutomaticV1Response.md +++ b/docs/EzsignsignatureGetEzsignsignaturesAutomaticV1Response.md @@ -6,6 +6,8 @@ Response for GET /1/object/ezsignsignature/getEzsignsignaturesAutomatic Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**obj_debug_payload** | [**CommonResponseObjDebugPayload**](CommonResponseObjDebugPayload.md) | | +**obj_debug** | [**CommonResponseObjDebug**](CommonResponseObjDebug.md) | | [optional] **m_payload** | [**EzsignsignatureGetEzsignsignaturesAutomaticV1ResponseMPayload**](EzsignsignatureGetEzsignsignaturesAutomaticV1ResponseMPayload.md) | | ## Example diff --git a/docs/EzsignsignatureGetObjectV3Response.md b/docs/EzsignsignatureGetObjectV3Response.md index faf656853..0d4bebbe0 100644 --- a/docs/EzsignsignatureGetObjectV3Response.md +++ b/docs/EzsignsignatureGetObjectV3Response.md @@ -6,6 +6,8 @@ Response for GET /3/object/ezsignsignature/{pkiEzsignsignatureID} Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**obj_debug_payload** | [**CommonResponseObjDebugPayload**](CommonResponseObjDebugPayload.md) | | +**obj_debug** | [**CommonResponseObjDebug**](CommonResponseObjDebug.md) | | [optional] **m_payload** | [**EzsignsignatureGetObjectV3ResponseMPayload**](EzsignsignatureGetObjectV3ResponseMPayload.md) | | ## Example diff --git a/docs/EzsignsignatureRequestCompound.md b/docs/EzsignsignatureRequestCompound.md index c568745d0..612a1e017 100644 --- a/docs/EzsignsignatureRequestCompound.md +++ b/docs/EzsignsignatureRequestCompound.md @@ -6,9 +6,36 @@ An Ezsignsignature Object and children to create a complete structure Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**pki_ezsignsignature_id** | **int** | The unique ID of the Ezsignsignature | [optional] +**fki_ezsignfoldersignerassociation_id** | **int** | The unique ID of the Ezsignfoldersignerassociation | +**i_ezsignpage_pagenumber** | **int** | The page number in the Ezsigndocument | +**i_ezsignsignature_x** | **int** | The X coordinate (Horizontal) where to put the Ezsignsignature on the page. Coordinate is calculated at 100dpi (dot per inch). So for example, if you want to put the Ezsignsignature 2 inches from the left border of the page, you would use \"200\" for the X coordinate. | +**i_ezsignsignature_y** | **int** | The Y coordinate (Vertical) where to put the Ezsignsignature on the page. Coordinate is calculated at 100dpi (dot per inch). So for example, if you want to put the Ezsignsignature 3 inches from the top border of the page, you would use \"300\" for the Y coordinate. | +**i_ezsignsignature_width** | **int** | The width of the Ezsignsignature. Size is calculated at 100dpi (dot per inch). So for example, if you want the Ezsignsignature to have a width of 2 inches, you would use \"200\" for the iEzsignsignatureWidth. | [optional] +**i_ezsignsignature_height** | **int** | The height of the Ezsignsignature. Size is calculated at 100dpi (dot per inch). So for example, if you want the Ezsignsignature to have an height of 2 inches, you would use \"200\" for the iEzsignsignatureHeight. | [optional] +**i_ezsignsignature_step** | **int** | The step when the Ezsignsigner will be invited to sign | +**e_ezsignsignature_type** | [**FieldEEzsignsignatureType**](FieldEEzsignsignatureType.md) | | +**fki_ezsigndocument_id** | **int** | The unique ID of the Ezsigndocument | +**t_ezsignsignature_tooltip** | **str** | A tooltip that will be presented to Ezsignsigner about the Ezsignsignature | [optional] +**e_ezsignsignature_tooltipposition** | [**FieldEEzsignsignatureTooltipposition**](FieldEEzsignsignatureTooltipposition.md) | | [optional] +**e_ezsignsignature_font** | [**FieldEEzsignsignatureFont**](FieldEEzsignsignatureFont.md) | | [optional] +**fki_ezsignfoldersignerassociation_id_validation** | **int** | The unique ID of the Ezsignfoldersignerassociation | [optional] +**b_ezsignsignature_handwritten** | **bool** | Whether the Ezsignsignature must be handwritten or not when eEzsignsignatureType = Signature. | [optional] +**b_ezsignsignature_reason** | **bool** | Whether the Ezsignsignature must include a reason or not when eEzsignsignatureType = Signature. | [optional] +**b_ezsignsignature_required** | **bool** | Whether the Ezsignsignature is required or not. This field is relevant only with Ezsignsignature with eEzsignsignatureType = Attachments, Text or Textarea. | [optional] +**e_ezsignsignature_attachmentnamesource** | [**FieldEEzsignsignatureAttachmentnamesource**](FieldEEzsignsignatureAttachmentnamesource.md) | | [optional] +**s_ezsignsignature_attachmentdescription** | **str** | The description attached to the attachment name added in Ezsignsignature of eEzsignsignatureType Attachments | [optional] +**e_ezsignsignature_consultationtrigger** | [**FieldEEzsignsignatureConsultationtrigger**](FieldEEzsignsignatureConsultationtrigger.md) | | [optional] +**i_ezsignsignature_validationstep** | **int** | The step when the Ezsignsigner will be invited to validate the Ezsignsignature of eEzsignsignatureType Attachments | [optional] +**i_ezsignsignature_maxlength** | **int** | The maximum length for the value in the Ezsignsignature This can only be set if eEzsignsignatureType is **FieldText** or **FieldTextarea** | [optional] +**s_ezsignsignature_defaultvalue** | **str** | The default value for the Ezsignsignature You can use the codes below and they will be replaced at signature time. | Code | Description | Example | | ------------------------- | ------------ | ------------ | | {sUserFirstname} | The first name of the contact | John | | {sUserLastname} | The last name of the contact | Doe | | {sUserJobtitle} | The job title | Sales Representative | | {sCompany} | Company name | eZmax Solutions Inc. | | {sEmailAddress} | The email address | email@example.com | | {sPhoneE164} | A phone number in E.164 Format | +15149901516 | | {sPhoneE164Cell} | A phone number in E.164 Format | +15149901516 | | [optional] +**e_ezsignsignature_textvalidation** | [**EnumTextvalidation**](EnumTextvalidation.md) | | [optional] +**s_ezsignsignature_textvalidationcustommessage** | **str** | Description of validation rule. Show by signatory. | [optional] +**s_ezsignsignature_regexp** | **str** | A regular expression to indicate what values are acceptable for the Ezsignsignature. This can only be set if eEzsignsignatureType is **FieldText** or **FieldTextarea** and eEzsignsignatureTextvalidation is **Custom** | [optional] +**e_ezsignsignature_dependencyrequirement** | [**FieldEEzsignsignatureDependencyrequirement**](FieldEEzsignsignatureDependencyrequirement.md) | | [optional] **b_ezsignsignature_customdate** | **bool** | Whether the Ezsignsignature has a custom date format or not. (Only possible when eEzsignsignatureType is **Name** or **Handwritten**) | [optional] -**a_obj_ezsignsignaturecustomdate** | [**List[EzsignsignaturecustomdateRequestCompound]**](EzsignsignaturecustomdateRequest.md) | An array of custom date blocks that will be filled at the time of signature. Can only be used if bEzsignsignatureCustomdate is true. Use an empty array if you don't want to have a date at all. | [optional] -**a_obj_ezsignelementdependency** | [**List[EzsignelementdependencyRequestCompound]**](EzsignelementdependencyRequest.md) | | [optional] +**a_obj_ezsignsignaturecustomdate** | [**List[EzsignsignaturecustomdateRequestCompound]**](EzsignsignaturecustomdateRequestCompound.md) | An array of custom date blocks that will be filled at the time of signature. Can only be used if bEzsignsignatureCustomdate is true. Use an empty array if you don't want to have a date at all. | [optional] +**a_obj_ezsignelementdependency** | [**List[EzsignelementdependencyRequestCompound]**](EzsignelementdependencyRequestCompound.md) | | [optional] ## Example diff --git a/docs/EzsignsignatureRequestCompoundV2.md b/docs/EzsignsignatureRequestCompoundV2.md index 1c2ee5811..3a71d4ef3 100644 --- a/docs/EzsignsignatureRequestCompoundV2.md +++ b/docs/EzsignsignatureRequestCompoundV2.md @@ -6,9 +6,36 @@ An Ezsignsignature Object and children to create a complete structure Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**pki_ezsignsignature_id** | **int** | The unique ID of the Ezsignsignature | [optional] +**fki_ezsignfoldersignerassociation_id** | **int** | The unique ID of the Ezsignfoldersignerassociation | +**i_ezsignpage_pagenumber** | **int** | The page number in the Ezsigndocument | +**i_ezsignsignature_x** | **int** | The X coordinate (Horizontal) where to put the Ezsignsignature on the page. Coordinate is calculated at 100dpi (dot per inch). So for example, if you want to put the Ezsignsignature 2 inches from the left border of the page, you would use \"200\" for the X coordinate. | +**i_ezsignsignature_y** | **int** | The Y coordinate (Vertical) where to put the Ezsignsignature on the page. Coordinate is calculated at 100dpi (dot per inch). So for example, if you want to put the Ezsignsignature 3 inches from the top border of the page, you would use \"300\" for the Y coordinate. | +**i_ezsignsignature_width** | **int** | The width of the Ezsignsignature. Size is calculated at 100dpi (dot per inch). So for example, if you want the Ezsignsignature to have a width of 2 inches, you would use \"200\" for the iEzsignsignatureWidth. | [optional] +**i_ezsignsignature_height** | **int** | The height of the Ezsignsignature. Size is calculated at 100dpi (dot per inch). So for example, if you want the Ezsignsignature to have an height of 2 inches, you would use \"200\" for the iEzsignsignatureHeight. | [optional] +**i_ezsignsignature_step** | **int** | The step when the Ezsignsigner will be invited to sign | +**e_ezsignsignature_type** | [**FieldEEzsignsignatureType**](FieldEEzsignsignatureType.md) | | +**fki_ezsigndocument_id** | **int** | The unique ID of the Ezsigndocument | +**t_ezsignsignature_tooltip** | **str** | A tooltip that will be presented to Ezsignsigner about the Ezsignsignature | [optional] +**e_ezsignsignature_tooltipposition** | [**FieldEEzsignsignatureTooltipposition**](FieldEEzsignsignatureTooltipposition.md) | | [optional] +**e_ezsignsignature_font** | [**FieldEEzsignsignatureFont**](FieldEEzsignsignatureFont.md) | | [optional] +**fki_ezsignfoldersignerassociation_id_validation** | **int** | The unique ID of the Ezsignfoldersignerassociation | [optional] +**b_ezsignsignature_handwritten** | **bool** | Whether the Ezsignsignature must be handwritten or not when eEzsignsignatureType = Signature. | [optional] +**b_ezsignsignature_reason** | **bool** | Whether the Ezsignsignature must include a reason or not when eEzsignsignatureType = Signature. | [optional] +**b_ezsignsignature_required** | **bool** | Whether the Ezsignsignature is required or not. This field is relevant only with Ezsignsignature with eEzsignsignatureType = Attachments, Text or Textarea. | [optional] +**e_ezsignsignature_attachmentnamesource** | [**FieldEEzsignsignatureAttachmentnamesource**](FieldEEzsignsignatureAttachmentnamesource.md) | | [optional] +**s_ezsignsignature_attachmentdescription** | **str** | The description attached to the attachment name added in Ezsignsignature of eEzsignsignatureType Attachments | [optional] +**e_ezsignsignature_consultationtrigger** | [**FieldEEzsignsignatureConsultationtrigger**](FieldEEzsignsignatureConsultationtrigger.md) | | [optional] +**i_ezsignsignature_validationstep** | **int** | The step when the Ezsignsigner will be invited to validate the Ezsignsignature of eEzsignsignatureType Attachments | [optional] +**i_ezsignsignature_maxlength** | **int** | The maximum length for the value in the Ezsignsignature This can only be set if eEzsignsignatureType is **FieldText** or **FieldTextarea** | [optional] +**s_ezsignsignature_defaultvalue** | **str** | The default value for the Ezsignsignature You can use the codes below and they will be replaced at signature time. | Code | Description | Example | | ------------------------- | ------------ | ------------ | | {sUserFirstname} | The first name of the contact | John | | {sUserLastname} | The last name of the contact | Doe | | {sUserJobtitle} | The job title | Sales Representative | | {sCompany} | Company name | eZmax Solutions Inc. | | {sEmailAddress} | The email address | email@example.com | | {sPhoneE164} | A phone number in E.164 Format | +15149901516 | | {sPhoneE164Cell} | A phone number in E.164 Format | +15149901516 | | [optional] +**e_ezsignsignature_textvalidation** | [**EnumTextvalidation**](EnumTextvalidation.md) | | [optional] +**s_ezsignsignature_textvalidationcustommessage** | **str** | Description of validation rule. Show by signatory. | [optional] +**s_ezsignsignature_regexp** | **str** | A regular expression to indicate what values are acceptable for the Ezsignsignature. This can only be set if eEzsignsignatureType is **FieldText** or **FieldTextarea** and eEzsignsignatureTextvalidation is **Custom** | [optional] +**e_ezsignsignature_dependencyrequirement** | [**FieldEEzsignsignatureDependencyrequirement**](FieldEEzsignsignatureDependencyrequirement.md) | | [optional] **b_ezsignsignature_customdate** | **bool** | Whether the Ezsignsignature has a custom date format or not. (Only possible when eEzsignsignatureType is **Name** or **Handwritten**) | [optional] -**a_obj_ezsignsignaturecustomdate** | [**List[EzsignsignaturecustomdateRequestCompoundV2]**](EzsignsignaturecustomdateRequestV2.md) | An array of custom date blocks that will be filled at the time of signature. Can only be used if bEzsignsignatureCustomdate is true. Use an empty array if you don't want to have a date at all. | [optional] -**a_obj_ezsignelementdependency** | [**List[EzsignelementdependencyRequestCompound]**](EzsignelementdependencyRequest.md) | | [optional] +**a_obj_ezsignsignaturecustomdate** | [**List[EzsignsignaturecustomdateRequestCompoundV2]**](EzsignsignaturecustomdateRequestCompoundV2.md) | An array of custom date blocks that will be filled at the time of signature. Can only be used if bEzsignsignatureCustomdate is true. Use an empty array if you don't want to have a date at all. | [optional] +**a_obj_ezsignelementdependency** | [**List[EzsignelementdependencyRequestCompound]**](EzsignelementdependencyRequestCompound.md) | | [optional] ## Example diff --git a/docs/EzsignsignatureResponseCompound.md b/docs/EzsignsignatureResponseCompound.md index bfa5eb6c0..c27287e71 100644 --- a/docs/EzsignsignatureResponseCompound.md +++ b/docs/EzsignsignatureResponseCompound.md @@ -6,11 +6,48 @@ An Ezsignsignature Object and children to create a complete structure Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**pki_ezsignsignature_id** | **int** | The unique ID of the Ezsignsignature | +**fki_ezsigndocument_id** | **int** | The unique ID of the Ezsigndocument | +**fki_ezsignfoldersignerassociation_id** | **int** | The unique ID of the Ezsignfoldersignerassociation | +**fki_ezsignsigningreason_id** | **int** | The unique ID of the Ezsignsigningreason | [optional] +**fki_font_id** | **int** | The unique ID of the Font | [optional] +**s_ezsignsigningreason_description_x** | **str** | The description of the Ezsignsigningreason in the language of the requester | [optional] +**i_ezsignpage_pagenumber** | **int** | The page number in the Ezsigndocument | +**i_ezsignsignature_x** | **int** | The X coordinate (Horizontal) where to put the Ezsignsignature on the page. Coordinate is calculated at 100dpi (dot per inch). So for example, if you want to put the Ezsignsignature 2 inches from the left border of the page, you would use \"200\" for the X coordinate. | +**i_ezsignsignature_y** | **int** | The Y coordinate (Vertical) where to put the Ezsignsignature on the page. Coordinate is calculated at 100dpi (dot per inch). So for example, if you want to put the Ezsignsignature 3 inches from the top border of the page, you would use \"300\" for the Y coordinate. | +**i_ezsignsignature_height** | **int** | The height of the Ezsignsignature. Size is calculated at 100dpi (dot per inch). So for example, if you want the Ezsignsignature to have an height of 2 inches, you would use \"200\" for the iEzsignsignatureHeight. | [optional] +**i_ezsignsignature_width** | **int** | The width of the Ezsignsignature. Size is calculated at 100dpi (dot per inch). So for example, if you want the Ezsignsignature to have a width of 2 inches, you would use \"200\" for the iEzsignsignatureWidth. | [optional] +**i_ezsignsignature_step** | **int** | The step when the Ezsignsigner will be invited to sign | +**i_ezsignsignature_stepadjusted** | **int** | The step when the Ezsignsigner will be invited to sign | [optional] +**e_ezsignsignature_type** | [**FieldEEzsignsignatureType**](FieldEEzsignsignatureType.md) | | +**t_ezsignsignature_tooltip** | **str** | A tooltip that will be presented to Ezsignsigner about the Ezsignsignature | [optional] +**e_ezsignsignature_tooltipposition** | [**FieldEEzsignsignatureTooltipposition**](FieldEEzsignsignatureTooltipposition.md) | | [optional] +**e_ezsignsignature_font** | [**FieldEEzsignsignatureFont**](FieldEEzsignsignatureFont.md) | | [optional] +**i_ezsignsignature_validationstep** | **int** | The step when the Ezsignsigner will be invited to validate the Ezsignsignature of eEzsignsignatureType Attachments | [optional] +**s_ezsignsignature_attachmentdescription** | **str** | The description attached to the attachment name added in Ezsignsignature of eEzsignsignatureType Attachments | [optional] +**e_ezsignsignature_attachmentnamesource** | [**FieldEEzsignsignatureAttachmentnamesource**](FieldEEzsignsignatureAttachmentnamesource.md) | | [optional] +**e_ezsignsignature_consultationtrigger** | [**FieldEEzsignsignatureConsultationtrigger**](FieldEEzsignsignatureConsultationtrigger.md) | | [optional] +**b_ezsignsignature_handwritten** | **bool** | Whether the Ezsignsignature must be handwritten or not when eEzsignsignatureType = Signature. | [optional] +**b_ezsignsignature_reason** | **bool** | Whether the Ezsignsignature must include a reason or not when eEzsignsignatureType = Signature. | [optional] +**b_ezsignsignature_required** | **bool** | Whether the Ezsignsignature is required or not. This field is relevant only with Ezsignsignature with eEzsignsignatureType = Attachments, Text or Textarea. | [optional] +**fki_ezsignfoldersignerassociation_id_validation** | **int** | The unique ID of the Ezsignfoldersignerassociation | [optional] +**dt_ezsignsignature_date** | **str** | The date the Ezsignsignature was signed | [optional] +**i_ezsignsignatureattachment_count** | **int** | The count of Ezsignsignatureattachment | [optional] +**s_ezsignsignature_description** | **str** | The value entered while signing Ezsignsignature of eEzsignsignatureType **City**, **FieldText** and **FieldTextarea** | [optional] +**i_ezsignsignature_maxlength** | **int** | The maximum length for the value in the Ezsignsignature This can only be set if eEzsignsignatureType is **FieldText** or **FieldTextarea** | [optional] +**e_ezsignsignature_textvalidation** | [**EnumTextvalidation**](EnumTextvalidation.md) | | [optional] +**s_ezsignsignature_textvalidationcustommessage** | **str** | Description of validation rule. Show by signatory. | [optional] +**e_ezsignsignature_dependencyrequirement** | [**FieldEEzsignsignatureDependencyrequirement**](FieldEEzsignsignatureDependencyrequirement.md) | | [optional] +**s_ezsignsignature_defaultvalue** | **str** | The default value for the Ezsignsignature You can use the codes below and they will be replaced at signature time. | Code | Description | Example | | ------------------------- | ------------ | ------------ | | {sUserFirstname} | The first name of the contact | John | | {sUserLastname} | The last name of the contact | Doe | | {sUserJobtitle} | The job title | Sales Representative | | {sCompany} | Company name | eZmax Solutions Inc. | | {sEmailAddress} | The email address | email@example.com | | {sPhoneE164} | A phone number in E.164 Format | +15149901516 | | {sPhoneE164Cell} | A phone number in E.164 Format | +15149901516 | | [optional] +**s_ezsignsignature_regexp** | **str** | A regular expression to indicate what values are acceptable for the Ezsignsignature. This can only be set if eEzsignsignatureType is **FieldText** or **FieldTextarea** and eEzsignsignatureTextvalidation is **Custom** | [optional] +**obj_contact_name** | [**CustomContactNameResponse**](CustomContactNameResponse.md) | | +**obj_contact_name_delegation** | [**CustomContactNameResponse**](CustomContactNameResponse.md) | | [optional] +**obj_signature** | [**SignatureResponseCompound**](SignatureResponseCompound.md) | | [optional] **dt_ezsignsignature_date_in_folder_timezone** | **str** | The date the Ezsignsignature was signed in folder's timezone | [optional] **b_ezsignsignature_customdate** | **bool** | Whether the Ezsignsignature has a custom date format or not. (Only possible when eEzsignsignatureType is **Name** or **Handwritten**) | [optional] -**a_obj_ezsignsignaturecustomdate** | [**List[EzsignsignaturecustomdateResponseCompound]**](EzsignsignaturecustomdateResponse.md) | An array of custom date blocks that will be filled at the time of signature. Can only be used if bEzsignsignatureCustomdate is true. Use an empty array if you don't want to have a date at all. | [optional] +**a_obj_ezsignsignaturecustomdate** | [**List[EzsignsignaturecustomdateResponseCompound]**](EzsignsignaturecustomdateResponseCompound.md) | An array of custom date blocks that will be filled at the time of signature. Can only be used if bEzsignsignatureCustomdate is true. Use an empty array if you don't want to have a date at all. | [optional] **obj_creditcardtransaction** | [**CustomCreditcardtransactionResponse**](CustomCreditcardtransactionResponse.md) | | [optional] -**a_obj_ezsignelementdependency** | [**List[EzsignelementdependencyResponseCompound]**](EzsignelementdependencyResponse.md) | | [optional] +**a_obj_ezsignelementdependency** | [**List[EzsignelementdependencyResponseCompound]**](EzsignelementdependencyResponseCompound.md) | | [optional] **obj_timezone** | [**CustomTimezoneWithCodeResponse**](CustomTimezoneWithCodeResponse.md) | | [optional] ## Example diff --git a/docs/EzsignsignatureResponseCompoundV3.md b/docs/EzsignsignatureResponseCompoundV3.md index 3137de338..046c1b98e 100644 --- a/docs/EzsignsignatureResponseCompoundV3.md +++ b/docs/EzsignsignatureResponseCompoundV3.md @@ -6,10 +6,47 @@ An Ezsignsignature Object and children to create a complete structure Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**pki_ezsignsignature_id** | **int** | The unique ID of the Ezsignsignature | +**fki_ezsigndocument_id** | **int** | The unique ID of the Ezsigndocument | +**fki_ezsignfoldersignerassociation_id** | **int** | The unique ID of the Ezsignfoldersignerassociation | +**fki_ezsignsigningreason_id** | **int** | The unique ID of the Ezsignsigningreason | [optional] +**fki_font_id** | **int** | The unique ID of the Font | [optional] +**s_ezsignsigningreason_description_x** | **str** | The description of the Ezsignsigningreason in the language of the requester | [optional] +**i_ezsignpage_pagenumber** | **int** | The page number in the Ezsigndocument | +**i_ezsignsignature_x** | **int** | The X coordinate (Horizontal) where to put the Ezsignsignature on the page. Coordinate is calculated at 100dpi (dot per inch). So for example, if you want to put the Ezsignsignature 2 inches from the left border of the page, you would use \"200\" for the X coordinate. | +**i_ezsignsignature_y** | **int** | The Y coordinate (Vertical) where to put the Ezsignsignature on the page. Coordinate is calculated at 100dpi (dot per inch). So for example, if you want to put the Ezsignsignature 3 inches from the top border of the page, you would use \"300\" for the Y coordinate. | +**i_ezsignsignature_height** | **int** | The height of the Ezsignsignature. Size is calculated at 100dpi (dot per inch). So for example, if you want the Ezsignsignature to have an height of 2 inches, you would use \"200\" for the iEzsignsignatureHeight. | [optional] +**i_ezsignsignature_width** | **int** | The width of the Ezsignsignature. Size is calculated at 100dpi (dot per inch). So for example, if you want the Ezsignsignature to have a width of 2 inches, you would use \"200\" for the iEzsignsignatureWidth. | [optional] +**i_ezsignsignature_step** | **int** | The step when the Ezsignsigner will be invited to sign | +**i_ezsignsignature_stepadjusted** | **int** | The step when the Ezsignsigner will be invited to sign | [optional] +**e_ezsignsignature_type** | [**FieldEEzsignsignatureType**](FieldEEzsignsignatureType.md) | | +**t_ezsignsignature_tooltip** | **str** | A tooltip that will be presented to Ezsignsigner about the Ezsignsignature | [optional] +**e_ezsignsignature_tooltipposition** | [**FieldEEzsignsignatureTooltipposition**](FieldEEzsignsignatureTooltipposition.md) | | [optional] +**e_ezsignsignature_font** | [**FieldEEzsignsignatureFont**](FieldEEzsignsignatureFont.md) | | [optional] +**i_ezsignsignature_validationstep** | **int** | The step when the Ezsignsigner will be invited to validate the Ezsignsignature of eEzsignsignatureType Attachments | [optional] +**s_ezsignsignature_attachmentdescription** | **str** | The description attached to the attachment name added in Ezsignsignature of eEzsignsignatureType Attachments | [optional] +**e_ezsignsignature_attachmentnamesource** | [**FieldEEzsignsignatureAttachmentnamesource**](FieldEEzsignsignatureAttachmentnamesource.md) | | [optional] +**e_ezsignsignature_consultationtrigger** | [**FieldEEzsignsignatureConsultationtrigger**](FieldEEzsignsignatureConsultationtrigger.md) | | [optional] +**b_ezsignsignature_handwritten** | **bool** | Whether the Ezsignsignature must be handwritten or not when eEzsignsignatureType = Signature. | [optional] +**b_ezsignsignature_reason** | **bool** | Whether the Ezsignsignature must include a reason or not when eEzsignsignatureType = Signature. | [optional] +**b_ezsignsignature_required** | **bool** | Whether the Ezsignsignature is required or not. This field is relevant only with Ezsignsignature with eEzsignsignatureType = Attachments, Text or Textarea. | [optional] +**fki_ezsignfoldersignerassociation_id_validation** | **int** | The unique ID of the Ezsignfoldersignerassociation | [optional] +**dt_ezsignsignature_date** | **str** | The date the Ezsignsignature was signed | [optional] +**i_ezsignsignatureattachment_count** | **int** | The count of Ezsignsignatureattachment | [optional] +**s_ezsignsignature_description** | **str** | The value entered while signing Ezsignsignature of eEzsignsignatureType **City**, **FieldText** and **FieldTextarea** | [optional] +**i_ezsignsignature_maxlength** | **int** | The maximum length for the value in the Ezsignsignature This can only be set if eEzsignsignatureType is **FieldText** or **FieldTextarea** | [optional] +**e_ezsignsignature_textvalidation** | [**EnumTextvalidation**](EnumTextvalidation.md) | | [optional] +**s_ezsignsignature_textvalidationcustommessage** | **str** | Description of validation rule. Show by signatory. | [optional] +**e_ezsignsignature_dependencyrequirement** | [**FieldEEzsignsignatureDependencyrequirement**](FieldEEzsignsignatureDependencyrequirement.md) | | [optional] +**s_ezsignsignature_defaultvalue** | **str** | The default value for the Ezsignsignature You can use the codes below and they will be replaced at signature time. | Code | Description | Example | | ------------------------- | ------------ | ------------ | | {sUserFirstname} | The first name of the contact | John | | {sUserLastname} | The last name of the contact | Doe | | {sUserJobtitle} | The job title | Sales Representative | | {sCompany} | Company name | eZmax Solutions Inc. | | {sEmailAddress} | The email address | email@example.com | | {sPhoneE164} | A phone number in E.164 Format | +15149901516 | | {sPhoneE164Cell} | A phone number in E.164 Format | +15149901516 | | [optional] +**s_ezsignsignature_regexp** | **str** | A regular expression to indicate what values are acceptable for the Ezsignsignature. This can only be set if eEzsignsignatureType is **FieldText** or **FieldTextarea** and eEzsignsignatureTextvalidation is **Custom** | [optional] +**obj_contact_name** | [**CustomContactNameResponse**](CustomContactNameResponse.md) | | +**obj_contact_name_delegation** | [**CustomContactNameResponse**](CustomContactNameResponse.md) | | [optional] +**obj_signature** | [**SignatureResponseCompound**](SignatureResponseCompound.md) | | [optional] **b_ezsignsignature_customdate** | **bool** | Whether the Ezsignsignature has a custom date format or not. (Only possible when eEzsignsignatureType is **Name** or **Handwritten**) | [optional] -**a_obj_ezsignsignaturecustomdate** | [**List[EzsignsignaturecustomdateResponseCompoundV2]**](EzsignsignaturecustomdateResponseV2.md) | An array of custom date blocks that will be filled at the time of signature. Can only be used if bEzsignsignatureCustomdate is true. Use an empty array if you don't want to have a date at all. | [optional] +**a_obj_ezsignsignaturecustomdate** | [**List[EzsignsignaturecustomdateResponseCompoundV2]**](EzsignsignaturecustomdateResponseCompoundV2.md) | An array of custom date blocks that will be filled at the time of signature. Can only be used if bEzsignsignatureCustomdate is true. Use an empty array if you don't want to have a date at all. | [optional] **obj_creditcardtransaction** | [**CustomCreditcardtransactionResponse**](CustomCreditcardtransactionResponse.md) | | [optional] -**a_obj_ezsignelementdependency** | [**List[EzsignelementdependencyResponseCompound]**](EzsignelementdependencyResponse.md) | | [optional] +**a_obj_ezsignelementdependency** | [**List[EzsignelementdependencyResponseCompound]**](EzsignelementdependencyResponseCompound.md) | | [optional] ## Example diff --git a/docs/EzsignsignatureSignV1Response.md b/docs/EzsignsignatureSignV1Response.md index 490912f08..d876a3dec 100644 --- a/docs/EzsignsignatureSignV1Response.md +++ b/docs/EzsignsignatureSignV1Response.md @@ -6,6 +6,8 @@ Response for POST /1/object/ezsignsignature/{pkiEzsignsignatureID}/sign Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**obj_debug_payload** | [**CommonResponseObjDebugPayload**](CommonResponseObjDebugPayload.md) | | +**obj_debug** | [**CommonResponseObjDebug**](CommonResponseObjDebug.md) | | [optional] **m_payload** | [**EzsignsignatureSignV1ResponseMPayload**](EzsignsignatureSignV1ResponseMPayload.md) | | ## Example diff --git a/docs/EzsignsignerRequestCompound.md b/docs/EzsignsignerRequestCompound.md index f11e521a3..669a4b22f 100644 --- a/docs/EzsignsignerRequestCompound.md +++ b/docs/EzsignsignerRequestCompound.md @@ -6,6 +6,11 @@ An Ezsignsigner Object and children to create a complete structure Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**fki_userlogintype_id** | **int** | The unique ID of the Userlogintype Valid values: |Value|Description|Detail| |-|-|-| |1|**Email Only**|The Ezsignsigner will receive a secure link by email| |2|**Email and phone or SMS**|The Ezsignsigner will receive a secure link by email and will need to authenticate using SMS or Phone call. **Additional fee applies**| |3|**Email and secret question**|The Ezsignsigner will receive a secure link by email and will need to authenticate using a predefined question and answer| |4|**In person only**|The Ezsignsigner will only be able to sign \"In-Person\" and there won't be any authentication. No email will be sent for invitation to sign. Make sure you evaluate the risk of signature denial and at minimum, we recommend you use a handwritten signature type| |5|**In person with phone or SMS**|The Ezsignsigner will only be able to sign \"In-Person\" and will need to authenticate using SMS or Phone call. No email will be sent for invitation to sign. **Additional fee applies**| |6|**Embedded**|The Ezsignsigner will only be able to sign in the embedded solution. No email will be sent for invitation to sign. **Additional fee applies**| |7|**Embedded with phone or SMS**|The Ezsignsigner will only be able to sign in the embedded solution and will need to authenticate using SMS or Phone call. No email will be sent for invitation to sign. **Additional fee applies**| |8|**No validation**|The Ezsignsigner will not receive an email and won't have to validate his connection using 2 factor. **Additional fee applies**| |9|**Sms only**|The Ezsignsigner will not receive an email but will will need to authenticate using SMS. **Additional fee applies**| | [optional] +**fki_taxassignment_id** | **int** | The unique ID of the Taxassignment. Valid values: |Value|Description| |-|-| |1|No tax| |2|GST| |3|HST (ON)| |4|HST (NB)| |5|HST (NS)| |6|HST (NL)| |7|HST (PE)| |8|GST + QST (QC)| |9|GST + QST (QC) Non-Recoverable| |10|GST + PST (BC)| |11|GST + PST (SK)| |12|GST + RST (MB)| |13|GST + PST (BC) Non-Recoverable| |14|GST + PST (SK) Non-Recoverable| |15|GST + RST (MB) Non-Recoverable| | +**fki_secretquestion_id** | **int** | The unique ID of the Secretquestion. Valid values: |Value|Description| |-|-| |1|The name of the hospital in which you were born| |2|The name of your grade school| |3|The last name of your favorite teacher| |4|Your favorite sports team| |5|Your favorite TV show| |6|Your favorite movie| |7|The name of the street on which you grew up| |8|The name of your first employer| |9|Your first car| |10|Your favorite food| |11|The name of your first pet| |12|Favorite musician/band| |13|What instrument you play| |14|Your father's middle name| |15|Your mother's maiden name| |16|Name of your eldest child| |17|Your spouse's middle name| |18|Favorite restaurant| |19|Childhood nickname| |20|Favorite vacation destination| |21|Your boat's name| |22|Date of Birth (YYYY-MM-DD)| |22|Secret Code| |22|Your reference code| | [optional] +**e_ezsignsigner_logintype** | **str** | The method the Ezsignsigner will authenticate to the signing platform. 1. **Password** means the Ezsignsigner will receive a secure link by email. 2. **PasswordPhone** means the Ezsignsigner will receive a secure link by email and will need to authenticate using SMS or Phone call. **Additional fee applies**. 3. **PasswordQuestion** means the Ezsignsigner will receive a secure link by email and will need to authenticate using a predefined question and answer. 4. **InPersonPhone** means the Ezsignsigner will only be able to sign \"In-Person\" and will need to authenticate using SMS or Phone call. No email will be sent for invitation to sign. **Additional fee applies**. 5. **InPerson** means the Ezsignsigner will only be able to sign \"In-Person\" and there won't be any authentication. No email will be sent for invitation to sign. Make sure you evaluate the risk of signature denial and at minimum, we recommend you use a handwritten signature type. | [optional] +**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) | | ## Example diff --git a/docs/EzsignsignerResponseCompound.md b/docs/EzsignsignerResponseCompound.md index 72c0bf6de..773e43825 100644 --- a/docs/EzsignsignerResponseCompound.md +++ b/docs/EzsignsignerResponseCompound.md @@ -6,6 +6,11 @@ An Ezsignsigner Object and children to create a complete structure Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**pki_ezsignsigner_id** | **int** | The unique ID of the Ezsignsigner | +**fki_taxassignment_id** | **int** | The unique ID of the Taxassignment. Valid values: |Value|Description| |-|-| |1|No tax| |2|GST| |3|HST (ON)| |4|HST (NB)| |5|HST (NS)| |6|HST (NL)| |7|HST (PE)| |8|GST + QST (QC)| |9|GST + QST (QC) Non-Recoverable| |10|GST + PST (BC)| |11|GST + PST (SK)| |12|GST + RST (MB)| |13|GST + PST (BC) Non-Recoverable| |14|GST + PST (SK) Non-Recoverable| |15|GST + RST (MB) Non-Recoverable| | +**fki_secretquestion_id** | **int** | The unique ID of the Secretquestion. Valid values: |Value|Description| |-|-| |1|The name of the hospital in which you were born| |2|The name of your grade school| |3|The last name of your favorite teacher| |4|Your favorite sports team| |5|Your favorite TV show| |6|Your favorite movie| |7|The name of the street on which you grew up| |8|The name of your first employer| |9|Your first car| |10|Your favorite food| |11|The name of your first pet| |12|Favorite musician/band| |13|What instrument you play| |14|Your father's middle name| |15|Your mother's maiden name| |16|Name of your eldest child| |17|Your spouse's middle name| |18|Favorite restaurant| |19|Childhood nickname| |20|Favorite vacation destination| |21|Your boat's name| |22|Date of Birth (YYYY-MM-DD)| |22|Secret Code| |22|Your reference code| | [optional] +**fki_userlogintype_id** | **int** | The unique ID of the Userlogintype Valid values: |Value|Description|Detail| |-|-|-| |1|**Email Only**|The Ezsignsigner will receive a secure link by email| |2|**Email and phone or SMS**|The Ezsignsigner will receive a secure link by email and will need to authenticate using SMS or Phone call. **Additional fee applies**| |3|**Email and secret question**|The Ezsignsigner will receive a secure link by email and will need to authenticate using a predefined question and answer| |4|**In person only**|The Ezsignsigner will only be able to sign \"In-Person\" and there won't be any authentication. No email will be sent for invitation to sign. Make sure you evaluate the risk of signature denial and at minimum, we recommend you use a handwritten signature type| |5|**In person with phone or SMS**|The Ezsignsigner will only be able to sign \"In-Person\" and will need to authenticate using SMS or Phone call. No email will be sent for invitation to sign. **Additional fee applies**| |6|**Embedded**|The Ezsignsigner will only be able to sign in the embedded solution. No email will be sent for invitation to sign. **Additional fee applies**| |7|**Embedded with phone or SMS**|The Ezsignsigner will only be able to sign in the embedded solution and will need to authenticate using SMS or Phone call. No email will be sent for invitation to sign. **Additional fee applies**| |8|**No validation**|The Ezsignsigner will not receive an email and won't have to validate his connection using 2 factor. **Additional fee applies**| |9|**Sms only**|The Ezsignsigner will not receive an email but will will need to authenticate using SMS. **Additional fee applies**| | +**s_userlogintype_description_x** | **str** | The description of the Userlogintype in the language of the requester | **obj_contact** | [**EzsignsignerResponseCompoundContact**](EzsignsignerResponseCompoundContact.md) | | ## Example diff --git a/docs/EzsignsignergroupCreateObjectV1Response.md b/docs/EzsignsignergroupCreateObjectV1Response.md index eb947e59b..6b724529d 100644 --- a/docs/EzsignsignergroupCreateObjectV1Response.md +++ b/docs/EzsignsignergroupCreateObjectV1Response.md @@ -6,6 +6,8 @@ Response for POST /1/object/ezsignsignergroup Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**obj_debug_payload** | [**CommonResponseObjDebugPayload**](CommonResponseObjDebugPayload.md) | | +**obj_debug** | [**CommonResponseObjDebug**](CommonResponseObjDebug.md) | | [optional] **m_payload** | [**EzsignsignergroupCreateObjectV1ResponseMPayload**](EzsignsignergroupCreateObjectV1ResponseMPayload.md) | | ## Example diff --git a/docs/EzsignsignergroupDeleteObjectV1Response.md b/docs/EzsignsignergroupDeleteObjectV1Response.md index 418b65137..b50beb08e 100644 --- a/docs/EzsignsignergroupDeleteObjectV1Response.md +++ b/docs/EzsignsignergroupDeleteObjectV1Response.md @@ -6,6 +6,8 @@ Response for DELETE /1/object/ezsignsignergroup/{pkiEzsignsignergroupID} Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**obj_debug_payload** | [**CommonResponseObjDebugPayload**](CommonResponseObjDebugPayload.md) | | +**obj_debug** | [**CommonResponseObjDebug**](CommonResponseObjDebug.md) | | [optional] ## Example diff --git a/docs/EzsignsignergroupEditEzsignsignergroupmembershipsV1Response.md b/docs/EzsignsignergroupEditEzsignsignergroupmembershipsV1Response.md index 990f77fd7..1b8eea428 100644 --- a/docs/EzsignsignergroupEditEzsignsignergroupmembershipsV1Response.md +++ b/docs/EzsignsignergroupEditEzsignsignergroupmembershipsV1Response.md @@ -6,6 +6,8 @@ Response for PUT /1/object/ezsignsignergroup/{pkiEzsignsignergroupID}/editEzsign Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**obj_debug_payload** | [**CommonResponseObjDebugPayload**](CommonResponseObjDebugPayload.md) | | +**obj_debug** | [**CommonResponseObjDebug**](CommonResponseObjDebug.md) | | [optional] **m_payload** | [**EzsignsignergroupEditEzsignsignergroupmembershipsV1ResponseMPayload**](EzsignsignergroupEditEzsignsignergroupmembershipsV1ResponseMPayload.md) | | ## Example diff --git a/docs/EzsignsignergroupEditObjectV1Response.md b/docs/EzsignsignergroupEditObjectV1Response.md index 2fe8c709f..6eccb3489 100644 --- a/docs/EzsignsignergroupEditObjectV1Response.md +++ b/docs/EzsignsignergroupEditObjectV1Response.md @@ -6,6 +6,8 @@ Response for PUT /1/object/ezsignsignergroup/{pkiEzsignsignergroupID} Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**obj_debug_payload** | [**CommonResponseObjDebugPayload**](CommonResponseObjDebugPayload.md) | | +**obj_debug** | [**CommonResponseObjDebug**](CommonResponseObjDebug.md) | | [optional] ## Example diff --git a/docs/EzsignsignergroupGetEzsignsignergroupmembershipsV1Response.md b/docs/EzsignsignergroupGetEzsignsignergroupmembershipsV1Response.md index 57f6c4200..49d855874 100644 --- a/docs/EzsignsignergroupGetEzsignsignergroupmembershipsV1Response.md +++ b/docs/EzsignsignergroupGetEzsignsignergroupmembershipsV1Response.md @@ -6,6 +6,8 @@ Response for GET /1/object/ezsignsignergroup/{pkiEzsignsignergroupID}/getEzsigns Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**obj_debug_payload** | [**CommonResponseObjDebugPayload**](CommonResponseObjDebugPayload.md) | | +**obj_debug** | [**CommonResponseObjDebug**](CommonResponseObjDebug.md) | | [optional] **m_payload** | [**EzsignsignergroupGetEzsignsignergroupmembershipsV1ResponseMPayload**](EzsignsignergroupGetEzsignsignergroupmembershipsV1ResponseMPayload.md) | | ## Example diff --git a/docs/EzsignsignergroupGetObjectV2Response.md b/docs/EzsignsignergroupGetObjectV2Response.md index 0bf90ecb1..633909ec6 100644 --- a/docs/EzsignsignergroupGetObjectV2Response.md +++ b/docs/EzsignsignergroupGetObjectV2Response.md @@ -6,6 +6,8 @@ Response for GET /2/object/ezsignsignergroup/{pkiEzsignsignergroupID} Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**obj_debug_payload** | [**CommonResponseObjDebugPayload**](CommonResponseObjDebugPayload.md) | | +**obj_debug** | [**CommonResponseObjDebug**](CommonResponseObjDebug.md) | | [optional] **m_payload** | [**EzsignsignergroupGetObjectV2ResponseMPayload**](EzsignsignergroupGetObjectV2ResponseMPayload.md) | | ## Example diff --git a/docs/EzsignsignergroupRequestCompound.md b/docs/EzsignsignergroupRequestCompound.md index 96c6aca22..1ea0451a5 100644 --- a/docs/EzsignsignergroupRequestCompound.md +++ b/docs/EzsignsignergroupRequestCompound.md @@ -6,6 +6,9 @@ A Ezsignsignergroup Object and children Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**pki_ezsignsignergroup_id** | **int** | The unique ID of the Ezsignsignergroup | [optional] +**fki_ezsignfolder_id** | **int** | The unique ID of the Ezsignfolder | +**obj_ezsignsignergroup_description** | [**MultilingualEzsignsignergroupDescription**](MultilingualEzsignsignergroupDescription.md) | | ## Example diff --git a/docs/EzsignsignergroupResponseCompound.md b/docs/EzsignsignergroupResponseCompound.md index 5c7ec9aee..9a83babd8 100644 --- a/docs/EzsignsignergroupResponseCompound.md +++ b/docs/EzsignsignergroupResponseCompound.md @@ -6,6 +6,9 @@ An Ezsignsignergroup Object Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**pki_ezsignsignergroup_id** | **int** | The unique ID of the Ezsignsignergroup | +**obj_ezsignsignergroup_description** | [**MultilingualEzsignsignergroupDescription**](MultilingualEzsignsignergroupDescription.md) | | +**s_ezsignsignergroup_description_x** | **str** | The Description of the Ezsignsignergroup in the language of the requester | [optional] ## Example diff --git a/docs/EzsignsignergroupmembershipCreateObjectV1Response.md b/docs/EzsignsignergroupmembershipCreateObjectV1Response.md index 39a2a9eb2..dc37a0542 100644 --- a/docs/EzsignsignergroupmembershipCreateObjectV1Response.md +++ b/docs/EzsignsignergroupmembershipCreateObjectV1Response.md @@ -6,6 +6,8 @@ Response for POST /1/object/ezsignsignergroupmembership Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**obj_debug_payload** | [**CommonResponseObjDebugPayload**](CommonResponseObjDebugPayload.md) | | +**obj_debug** | [**CommonResponseObjDebug**](CommonResponseObjDebug.md) | | [optional] **m_payload** | [**EzsignsignergroupmembershipCreateObjectV1ResponseMPayload**](EzsignsignergroupmembershipCreateObjectV1ResponseMPayload.md) | | ## Example diff --git a/docs/EzsignsignergroupmembershipDeleteObjectV1Response.md b/docs/EzsignsignergroupmembershipDeleteObjectV1Response.md index 44ef6f5f2..a869a3fec 100644 --- a/docs/EzsignsignergroupmembershipDeleteObjectV1Response.md +++ b/docs/EzsignsignergroupmembershipDeleteObjectV1Response.md @@ -6,6 +6,8 @@ Response for DELETE /1/object/ezsignsignergroupmembership/{pkiEzsignsignergroupm Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**obj_debug_payload** | [**CommonResponseObjDebugPayload**](CommonResponseObjDebugPayload.md) | | +**obj_debug** | [**CommonResponseObjDebug**](CommonResponseObjDebug.md) | | [optional] ## Example diff --git a/docs/EzsignsignergroupmembershipGetObjectV2Response.md b/docs/EzsignsignergroupmembershipGetObjectV2Response.md index fc2801f26..82c68f7ee 100644 --- a/docs/EzsignsignergroupmembershipGetObjectV2Response.md +++ b/docs/EzsignsignergroupmembershipGetObjectV2Response.md @@ -6,6 +6,8 @@ Response for GET /2/object/ezsignsignergroupmembership/{pkiEzsignsignergroupmemb Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**obj_debug_payload** | [**CommonResponseObjDebugPayload**](CommonResponseObjDebugPayload.md) | | +**obj_debug** | [**CommonResponseObjDebug**](CommonResponseObjDebug.md) | | [optional] **m_payload** | [**EzsignsignergroupmembershipGetObjectV2ResponseMPayload**](EzsignsignergroupmembershipGetObjectV2ResponseMPayload.md) | | ## Example diff --git a/docs/EzsignsignergroupmembershipRequestCompound.md b/docs/EzsignsignergroupmembershipRequestCompound.md index 12218366c..15e1823c6 100644 --- a/docs/EzsignsignergroupmembershipRequestCompound.md +++ b/docs/EzsignsignergroupmembershipRequestCompound.md @@ -6,6 +6,11 @@ A Ezsignsignergroupmembership Object and children Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**pki_ezsignsignergroupmembership_id** | **int** | The unique ID of the Ezsignsignergroupmembership | [optional] +**fki_ezsignsignergroup_id** | **int** | The unique ID of the Ezsignsignergroup | +**fki_ezsignsigner_id** | **int** | The unique ID of the Ezsignsigner | [optional] +**fki_user_id** | **int** | The unique ID of the User | [optional] +**fki_usergroup_id** | **int** | The unique ID of the Usergroup | [optional] ## Example diff --git a/docs/EzsignsignergroupmembershipResponseCompound.md b/docs/EzsignsignergroupmembershipResponseCompound.md index b4d6d69de..e16654dc6 100644 --- a/docs/EzsignsignergroupmembershipResponseCompound.md +++ b/docs/EzsignsignergroupmembershipResponseCompound.md @@ -6,6 +6,11 @@ A Ezsignsignergroupmembership Object Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**pki_ezsignsignergroupmembership_id** | **int** | The unique ID of the Ezsignsignergroupmembership | +**fki_ezsignsignergroup_id** | **int** | The unique ID of the Ezsignsignergroup | +**fki_ezsignsigner_id** | **int** | The unique ID of the Ezsignsigner | [optional] +**fki_user_id** | **int** | The unique ID of the User | [optional] +**fki_usergroup_id** | **int** | The unique ID of the Usergroup | [optional] ## Example diff --git a/docs/EzsignsigningreasonCreateObjectV1Response.md b/docs/EzsignsigningreasonCreateObjectV1Response.md index 45adeec24..6e15fb618 100644 --- a/docs/EzsignsigningreasonCreateObjectV1Response.md +++ b/docs/EzsignsigningreasonCreateObjectV1Response.md @@ -6,6 +6,8 @@ Response for POST /1/object/ezsignsigningreason Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**obj_debug_payload** | [**CommonResponseObjDebugPayload**](CommonResponseObjDebugPayload.md) | | +**obj_debug** | [**CommonResponseObjDebug**](CommonResponseObjDebug.md) | | [optional] **m_payload** | [**EzsignsigningreasonCreateObjectV1ResponseMPayload**](EzsignsigningreasonCreateObjectV1ResponseMPayload.md) | | ## Example diff --git a/docs/EzsignsigningreasonEditObjectV1Response.md b/docs/EzsignsigningreasonEditObjectV1Response.md index a2fd59358..1a22c3fd0 100644 --- a/docs/EzsignsigningreasonEditObjectV1Response.md +++ b/docs/EzsignsigningreasonEditObjectV1Response.md @@ -6,6 +6,8 @@ Response for PUT /1/object/ezsignsigningreason/{pkiEzsignsigningreasonID} Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**obj_debug_payload** | [**CommonResponseObjDebugPayload**](CommonResponseObjDebugPayload.md) | | +**obj_debug** | [**CommonResponseObjDebug**](CommonResponseObjDebug.md) | | [optional] ## Example diff --git a/docs/EzsignsigningreasonGetAutocompleteV2Response.md b/docs/EzsignsigningreasonGetAutocompleteV2Response.md index 397b7acb1..31aea75f2 100644 --- a/docs/EzsignsigningreasonGetAutocompleteV2Response.md +++ b/docs/EzsignsigningreasonGetAutocompleteV2Response.md @@ -6,6 +6,8 @@ Response for GET /2/object/ezsignsigningreason/getAutocomplete Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**obj_debug_payload** | [**CommonResponseObjDebugPayload**](CommonResponseObjDebugPayload.md) | | +**obj_debug** | [**CommonResponseObjDebug**](CommonResponseObjDebug.md) | | [optional] **m_payload** | [**EzsignsigningreasonGetAutocompleteV2ResponseMPayload**](EzsignsigningreasonGetAutocompleteV2ResponseMPayload.md) | | ## Example diff --git a/docs/EzsignsigningreasonGetListV1Response.md b/docs/EzsignsigningreasonGetListV1Response.md index c83c98ad2..1b6c8deb7 100644 --- a/docs/EzsignsigningreasonGetListV1Response.md +++ b/docs/EzsignsigningreasonGetListV1Response.md @@ -6,6 +6,8 @@ Response for GET /1/object/ezsignsigningreason/getList Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**obj_debug_payload** | [**CommonResponseObjDebugPayloadGetList**](CommonResponseObjDebugPayloadGetList.md) | | +**obj_debug** | [**CommonResponseObjDebug**](CommonResponseObjDebug.md) | | [optional] **m_payload** | [**EzsignsigningreasonGetListV1ResponseMPayload**](EzsignsigningreasonGetListV1ResponseMPayload.md) | | ## Example diff --git a/docs/EzsignsigningreasonGetListV1ResponseMPayload.md b/docs/EzsignsigningreasonGetListV1ResponseMPayload.md index dc79e230d..ff9a275da 100644 --- a/docs/EzsignsigningreasonGetListV1ResponseMPayload.md +++ b/docs/EzsignsigningreasonGetListV1ResponseMPayload.md @@ -6,6 +6,8 @@ Payload for GET /1/object/ezsignsigningreason/getList Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**i_row_returned** | **int** | The number of rows returned | +**i_row_filtered** | **int** | The number of rows matching your filters (if any) or the total number of rows | **a_obj_ezsignsigningreason** | [**List[EzsignsigningreasonListElement]**](EzsignsigningreasonListElement.md) | | ## Example diff --git a/docs/EzsignsigningreasonGetObjectV2Response.md b/docs/EzsignsigningreasonGetObjectV2Response.md index 26e21edcf..ae428d858 100644 --- a/docs/EzsignsigningreasonGetObjectV2Response.md +++ b/docs/EzsignsigningreasonGetObjectV2Response.md @@ -6,6 +6,8 @@ Response for GET /2/object/ezsignsigningreason/{pkiEzsignsigningreasonID} Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**obj_debug_payload** | [**CommonResponseObjDebugPayload**](CommonResponseObjDebugPayload.md) | | +**obj_debug** | [**CommonResponseObjDebug**](CommonResponseObjDebug.md) | | [optional] **m_payload** | [**EzsignsigningreasonGetObjectV2ResponseMPayload**](EzsignsigningreasonGetObjectV2ResponseMPayload.md) | | ## Example diff --git a/docs/EzsignsigningreasonRequestCompound.md b/docs/EzsignsigningreasonRequestCompound.md index acccf60ba..efe7c030d 100644 --- a/docs/EzsignsigningreasonRequestCompound.md +++ b/docs/EzsignsigningreasonRequestCompound.md @@ -6,6 +6,9 @@ A Ezsignsigningreason Object and children Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**pki_ezsignsigningreason_id** | **int** | The unique ID of the Ezsignsigningreason | [optional] +**obj_ezsignsigningreason_description** | [**MultilingualEzsignsigningreasonDescription**](MultilingualEzsignsigningreasonDescription.md) | | +**b_ezsignsigningreason_isactive** | **bool** | Whether the ezsignsigningreason is active or not | ## Example diff --git a/docs/EzsignsigningreasonResponseCompound.md b/docs/EzsignsigningreasonResponseCompound.md index 9f3be2dd7..83d5fda3c 100644 --- a/docs/EzsignsigningreasonResponseCompound.md +++ b/docs/EzsignsigningreasonResponseCompound.md @@ -6,6 +6,9 @@ A Ezsignsigningreason Object Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**pki_ezsignsigningreason_id** | **int** | The unique ID of the Ezsignsigningreason | +**obj_ezsignsigningreason_description** | [**MultilingualEzsignsigningreasonDescription**](MultilingualEzsignsigningreasonDescription.md) | | +**b_ezsignsigningreason_isactive** | **bool** | Whether the ezsignsigningreason is active or not | ## Example diff --git a/docs/EzsigntemplateCopyV1Response.md b/docs/EzsigntemplateCopyV1Response.md index 07c15c6f4..0280cf45c 100644 --- a/docs/EzsigntemplateCopyV1Response.md +++ b/docs/EzsigntemplateCopyV1Response.md @@ -6,6 +6,8 @@ Response for POST /1/object/ezsigntemplate/{pkiEzsigntemplateID}/copy Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**obj_debug_payload** | [**CommonResponseObjDebugPayload**](CommonResponseObjDebugPayload.md) | | +**obj_debug** | [**CommonResponseObjDebug**](CommonResponseObjDebug.md) | | [optional] **m_payload** | [**EzsigntemplateCopyV1ResponseMPayload**](EzsigntemplateCopyV1ResponseMPayload.md) | | ## Example diff --git a/docs/EzsigntemplateCreateObjectV3Response.md b/docs/EzsigntemplateCreateObjectV3Response.md index 158faf790..0e8e3f632 100644 --- a/docs/EzsigntemplateCreateObjectV3Response.md +++ b/docs/EzsigntemplateCreateObjectV3Response.md @@ -6,6 +6,8 @@ Response for POST /3/object/ezsigntemplate Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**obj_debug_payload** | [**CommonResponseObjDebugPayload**](CommonResponseObjDebugPayload.md) | | +**obj_debug** | [**CommonResponseObjDebug**](CommonResponseObjDebug.md) | | [optional] **m_payload** | [**EzsigntemplateCreateObjectV3ResponseMPayload**](EzsigntemplateCreateObjectV3ResponseMPayload.md) | | ## Example diff --git a/docs/EzsigntemplateDeleteObjectV1Response.md b/docs/EzsigntemplateDeleteObjectV1Response.md index 6b8b78ab9..271961d3f 100644 --- a/docs/EzsigntemplateDeleteObjectV1Response.md +++ b/docs/EzsigntemplateDeleteObjectV1Response.md @@ -6,6 +6,8 @@ Response for DELETE /1/object/ezsigntemplate/{pkiEzsigntemplateID} Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**obj_debug_payload** | [**CommonResponseObjDebugPayload**](CommonResponseObjDebugPayload.md) | | +**obj_debug** | [**CommonResponseObjDebug**](CommonResponseObjDebug.md) | | [optional] ## Example diff --git a/docs/EzsigntemplateEditObjectV3Response.md b/docs/EzsigntemplateEditObjectV3Response.md index 278831e81..7890674be 100644 --- a/docs/EzsigntemplateEditObjectV3Response.md +++ b/docs/EzsigntemplateEditObjectV3Response.md @@ -6,6 +6,8 @@ Response for PUT /3/object/ezsigntemplate/{pkiEzsigntemplateID} Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**obj_debug_payload** | [**CommonResponseObjDebugPayload**](CommonResponseObjDebugPayload.md) | | +**obj_debug** | [**CommonResponseObjDebug**](CommonResponseObjDebug.md) | | [optional] ## Example diff --git a/docs/EzsigntemplateGetAutocompleteV2Response.md b/docs/EzsigntemplateGetAutocompleteV2Response.md index 23c4c31ae..98eb2eb7c 100644 --- a/docs/EzsigntemplateGetAutocompleteV2Response.md +++ b/docs/EzsigntemplateGetAutocompleteV2Response.md @@ -6,6 +6,8 @@ Response for GET /2/object/ezsigntemplate/getAutocomplete Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**obj_debug_payload** | [**CommonResponseObjDebugPayload**](CommonResponseObjDebugPayload.md) | | +**obj_debug** | [**CommonResponseObjDebug**](CommonResponseObjDebug.md) | | [optional] **m_payload** | [**EzsigntemplateGetAutocompleteV2ResponseMPayload**](EzsigntemplateGetAutocompleteV2ResponseMPayload.md) | | ## Example diff --git a/docs/EzsigntemplateGetListV1Response.md b/docs/EzsigntemplateGetListV1Response.md index 9e6e601c8..1b53d1b87 100644 --- a/docs/EzsigntemplateGetListV1Response.md +++ b/docs/EzsigntemplateGetListV1Response.md @@ -6,6 +6,8 @@ Response for GET /1/object/ezsigntemplate/getList Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**obj_debug_payload** | [**CommonResponseObjDebugPayloadGetList**](CommonResponseObjDebugPayloadGetList.md) | | +**obj_debug** | [**CommonResponseObjDebug**](CommonResponseObjDebug.md) | | [optional] **m_payload** | [**EzsigntemplateGetListV1ResponseMPayload**](EzsigntemplateGetListV1ResponseMPayload.md) | | ## Example diff --git a/docs/EzsigntemplateGetListV1ResponseMPayload.md b/docs/EzsigntemplateGetListV1ResponseMPayload.md index ea08fcb98..4eabccc13 100644 --- a/docs/EzsigntemplateGetListV1ResponseMPayload.md +++ b/docs/EzsigntemplateGetListV1ResponseMPayload.md @@ -6,6 +6,8 @@ Payload for GET /1/object/ezsigntemplate/getList Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**i_row_returned** | **int** | The number of rows returned | +**i_row_filtered** | **int** | The number of rows matching your filters (if any) or the total number of rows | **a_obj_ezsigntemplate** | [**List[EzsigntemplateListElement]**](EzsigntemplateListElement.md) | | ## Example diff --git a/docs/EzsigntemplateGetObjectV3Response.md b/docs/EzsigntemplateGetObjectV3Response.md index 63b2a9d0e..18ea40c86 100644 --- a/docs/EzsigntemplateGetObjectV3Response.md +++ b/docs/EzsigntemplateGetObjectV3Response.md @@ -6,6 +6,8 @@ Response for GET /3/object/ezsigntemplate/{pkiEzsigntemplateID} Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**obj_debug_payload** | [**CommonResponseObjDebugPayload**](CommonResponseObjDebugPayload.md) | | +**obj_debug** | [**CommonResponseObjDebug**](CommonResponseObjDebug.md) | | [optional] **m_payload** | [**EzsigntemplateGetObjectV3ResponseMPayload**](EzsigntemplateGetObjectV3ResponseMPayload.md) | | ## Example diff --git a/docs/EzsigntemplateRequestCompoundV3.md b/docs/EzsigntemplateRequestCompoundV3.md index 65126eae9..105ce96ac 100644 --- a/docs/EzsigntemplateRequestCompoundV3.md +++ b/docs/EzsigntemplateRequestCompoundV3.md @@ -6,6 +6,17 @@ A Ezsigntemplate Object and children Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**pki_ezsigntemplate_id** | **int** | The unique ID of the Ezsigntemplate | [optional] +**fki_ezsignfoldertype_id** | **int** | The unique ID of the Ezsignfoldertype. | [optional] +**fki_language_id** | **int** | The unique ID of the Language. Valid values: |Value|Description| |-|-| |1|French| |2|English| | +**fki_ezdoctemplatedocument_id** | **int** | The unique ID of the Ezdoctemplatedocument | [optional] +**s_ezsigntemplate_description** | **str** | The description of the Ezsigntemplate | +**s_ezsigntemplate_externaldescription** | **str** | The external description of the Ezsigntemplate | [optional] +**t_ezsigntemplate_comment** | **str** | The comment of the Ezsigntemplate | [optional] +**e_ezsigntemplate_recognition** | [**FieldEEzsigntemplateRecognition**](FieldEEzsigntemplateRecognition.md) | | [optional] [default to FieldEEzsigntemplateRecognition.NO] +**s_ezsigntemplate_filenameregexp** | **str** | The filename regexp of the Ezsigntemplate. | [optional] +**b_ezsigntemplate_adminonly** | **bool** | Whether the Ezsigntemplate can be accessed by admin users only (eUserType=Normal) | +**e_ezsigntemplate_type** | [**FieldEEzsigntemplateType**](FieldEEzsigntemplateType.md) | | ## Example diff --git a/docs/EzsigntemplateResponseCompound.md b/docs/EzsigntemplateResponseCompound.md index 10dae2392..05b3519b9 100644 --- a/docs/EzsigntemplateResponseCompound.md +++ b/docs/EzsigntemplateResponseCompound.md @@ -6,6 +6,21 @@ A Ezsigntemplate Object Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**pki_ezsigntemplate_id** | **int** | The unique ID of the Ezsigntemplate | +**fki_ezsigntemplatedocument_id** | **int** | The unique ID of the Ezsigntemplatedocument | [optional] +**fki_ezsignfoldertype_id** | **int** | The unique ID of the Ezsignfoldertype. | [optional] +**fki_language_id** | **int** | The unique ID of the Language. Valid values: |Value|Description| |-|-| |1|French| |2|English| | +**fki_ezdoctemplatedocument_id** | **int** | The unique ID of the Ezdoctemplatedocument | [optional] +**s_language_name_x** | **str** | The Name of the Language in the language of the requester | +**s_ezsigntemplate_description** | **str** | The description of the Ezsigntemplate | +**s_ezsigntemplate_externaldescription** | **str** | The external description of the Ezsigntemplate | [optional] +**t_ezsigntemplate_comment** | **str** | The comment of the Ezsigntemplate | [optional] +**s_ezsigntemplate_filenamepattern** | **str** | The filename pattern of the Ezsigntemplate | [optional] +**b_ezsigntemplate_adminonly** | **bool** | Whether the Ezsigntemplate can be accessed by admin users only (eUserType=Normal) | +**s_ezsignfoldertype_name_x** | **str** | The name of the Ezsignfoldertype in the language of the requester | [optional] +**obj_audit** | [**CommonAudit**](CommonAudit.md) | | +**b_ezsigntemplate_editallowed** | **bool** | Whether the Ezsigntemplate if allowed to edit or not | +**e_ezsigntemplate_type** | [**FieldEEzsigntemplateType**](FieldEEzsigntemplateType.md) | | [optional] **obj_ezsigntemplatedocument** | [**EzsigntemplatedocumentResponse**](EzsigntemplatedocumentResponse.md) | | [optional] **a_obj_ezsigntemplatesigner** | [**List[EzsigntemplatesignerResponseCompound]**](EzsigntemplatesignerResponseCompound.md) | | diff --git a/docs/EzsigntemplateResponseCompoundV3.md b/docs/EzsigntemplateResponseCompoundV3.md index d8e2ed8ef..616ed4159 100644 --- a/docs/EzsigntemplateResponseCompoundV3.md +++ b/docs/EzsigntemplateResponseCompoundV3.md @@ -6,6 +6,23 @@ A Ezsigntemplate Object Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**pki_ezsigntemplate_id** | **int** | The unique ID of the Ezsigntemplate | +**fki_ezsigntemplatedocument_id** | **int** | The unique ID of the Ezsigntemplatedocument | [optional] +**fki_ezsignfoldertype_id** | **int** | The unique ID of the Ezsignfoldertype. | [optional] +**fki_language_id** | **int** | The unique ID of the Language. Valid values: |Value|Description| |-|-| |1|French| |2|English| | +**fki_ezdoctemplatedocument_id** | **int** | The unique ID of the Ezdoctemplatedocument | [optional] +**s_ezdoctemplatedocument_name_x** | **str** | The name of the Ezdoctemplatedocument in the language of the requester | [optional] +**s_language_name_x** | **str** | The Name of the Language in the language of the requester | +**s_ezsigntemplate_description** | **str** | The description of the Ezsigntemplate | +**s_ezsigntemplate_externaldescription** | **str** | The external description of the Ezsigntemplate | [optional] +**t_ezsigntemplate_comment** | **str** | The comment of the Ezsigntemplate | [optional] +**e_ezsigntemplate_recognition** | [**FieldEEzsigntemplateRecognition**](FieldEEzsigntemplateRecognition.md) | | [optional] [default to FieldEEzsigntemplateRecognition.NO] +**s_ezsigntemplate_filenameregexp** | **str** | The filename regexp of the Ezsigntemplate. | [optional] +**b_ezsigntemplate_adminonly** | **bool** | Whether the Ezsigntemplate can be accessed by admin users only (eUserType=Normal) | +**s_ezsignfoldertype_name_x** | **str** | The name of the Ezsignfoldertype in the language of the requester | [optional] +**obj_audit** | [**CommonAudit**](CommonAudit.md) | | +**b_ezsigntemplate_editallowed** | **bool** | Whether the Ezsigntemplate if allowed to edit or not | +**e_ezsigntemplate_type** | [**FieldEEzsigntemplateType**](FieldEEzsigntemplateType.md) | | [optional] **obj_ezsigntemplatedocument** | [**EzsigntemplatedocumentResponse**](EzsigntemplatedocumentResponse.md) | | [optional] **a_obj_ezsigntemplatesigner** | [**List[EzsigntemplatesignerResponseCompound]**](EzsigntemplatesignerResponseCompound.md) | | diff --git a/docs/EzsigntemplatedocumentCreateObjectV1Response.md b/docs/EzsigntemplatedocumentCreateObjectV1Response.md index 57bb91e29..007b71776 100644 --- a/docs/EzsigntemplatedocumentCreateObjectV1Response.md +++ b/docs/EzsigntemplatedocumentCreateObjectV1Response.md @@ -6,6 +6,8 @@ Response for POST /1/object/ezsigntemplatedocument Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**obj_debug_payload** | [**CommonResponseObjDebugPayload**](CommonResponseObjDebugPayload.md) | | +**obj_debug** | [**CommonResponseObjDebug**](CommonResponseObjDebug.md) | | [optional] **m_payload** | [**EzsigntemplatedocumentCreateObjectV1ResponseMPayload**](EzsigntemplatedocumentCreateObjectV1ResponseMPayload.md) | | ## Example diff --git a/docs/EzsigntemplatedocumentEditEzsigntemplatedocumentpagerecognitionsV1Response.md b/docs/EzsigntemplatedocumentEditEzsigntemplatedocumentpagerecognitionsV1Response.md index 33012f37c..4a8fae53c 100644 --- a/docs/EzsigntemplatedocumentEditEzsigntemplatedocumentpagerecognitionsV1Response.md +++ b/docs/EzsigntemplatedocumentEditEzsigntemplatedocumentpagerecognitionsV1Response.md @@ -6,6 +6,8 @@ Response for PUT /1/object/ezsigntemplatedocument/{pkiEzsigntemplatedocumentID}/ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**obj_debug_payload** | [**CommonResponseObjDebugPayload**](CommonResponseObjDebugPayload.md) | | +**obj_debug** | [**CommonResponseObjDebug**](CommonResponseObjDebug.md) | | [optional] **m_payload** | [**EzsigntemplatedocumentEditEzsigntemplatedocumentpagerecognitionsV1ResponseMPayload**](EzsigntemplatedocumentEditEzsigntemplatedocumentpagerecognitionsV1ResponseMPayload.md) | | ## Example diff --git a/docs/EzsigntemplatedocumentEditEzsigntemplateformfieldgroupsV1Response.md b/docs/EzsigntemplatedocumentEditEzsigntemplateformfieldgroupsV1Response.md index 50d2dab6c..ae5094648 100644 --- a/docs/EzsigntemplatedocumentEditEzsigntemplateformfieldgroupsV1Response.md +++ b/docs/EzsigntemplatedocumentEditEzsigntemplateformfieldgroupsV1Response.md @@ -6,6 +6,8 @@ Response for PUT /1/object/ezsigntemplatedocument/{pkiEzsigntemplatedocumentID}/ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**obj_debug_payload** | [**CommonResponseObjDebugPayload**](CommonResponseObjDebugPayload.md) | | +**obj_debug** | [**CommonResponseObjDebug**](CommonResponseObjDebug.md) | | [optional] **m_payload** | [**EzsigntemplatedocumentEditEzsigntemplateformfieldgroupsV1ResponseMPayload**](EzsigntemplatedocumentEditEzsigntemplateformfieldgroupsV1ResponseMPayload.md) | | ## Example diff --git a/docs/EzsigntemplatedocumentEditEzsigntemplatesignaturesV1Response.md b/docs/EzsigntemplatedocumentEditEzsigntemplatesignaturesV1Response.md index 58d702697..d96121f07 100644 --- a/docs/EzsigntemplatedocumentEditEzsigntemplatesignaturesV1Response.md +++ b/docs/EzsigntemplatedocumentEditEzsigntemplatesignaturesV1Response.md @@ -6,6 +6,8 @@ Response for PUT /1/object/ezsigntemplatedocument/{pkiEzsigntemplatedocumentID}/ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**obj_debug_payload** | [**CommonResponseObjDebugPayload**](CommonResponseObjDebugPayload.md) | | +**obj_debug** | [**CommonResponseObjDebug**](CommonResponseObjDebug.md) | | [optional] **m_payload** | [**EzsigntemplatedocumentEditEzsigntemplatesignaturesV1ResponseMPayload**](EzsigntemplatedocumentEditEzsigntemplatesignaturesV1ResponseMPayload.md) | | ## Example diff --git a/docs/EzsigntemplatedocumentEditObjectV1Response.md b/docs/EzsigntemplatedocumentEditObjectV1Response.md index 519188e52..19b555934 100644 --- a/docs/EzsigntemplatedocumentEditObjectV1Response.md +++ b/docs/EzsigntemplatedocumentEditObjectV1Response.md @@ -6,6 +6,8 @@ Response for PUT /1/object/ezsigntemplatedocument/{pkiEzsigntemplatedocumentID} Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**obj_debug_payload** | [**CommonResponseObjDebugPayload**](CommonResponseObjDebugPayload.md) | | +**obj_debug** | [**CommonResponseObjDebug**](CommonResponseObjDebug.md) | | [optional] **a_obj_warning** | [**List[CommonResponseWarning]**](CommonResponseWarning.md) | | [optional] ## Example diff --git a/docs/EzsigntemplatedocumentExtractTextV1Response.md b/docs/EzsigntemplatedocumentExtractTextV1Response.md index 49d3c1e43..b1360d20d 100644 --- a/docs/EzsigntemplatedocumentExtractTextV1Response.md +++ b/docs/EzsigntemplatedocumentExtractTextV1Response.md @@ -6,6 +6,8 @@ Response for POST /1/object/ezsigntemplatedocument/{pkiEzsigntemplatedocumentID} Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**obj_debug_payload** | [**CommonResponseObjDebugPayload**](CommonResponseObjDebugPayload.md) | | +**obj_debug** | [**CommonResponseObjDebug**](CommonResponseObjDebug.md) | | [optional] **m_payload** | [**EzsigntemplatedocumentExtractTextV1ResponseMPayload**](EzsigntemplatedocumentExtractTextV1ResponseMPayload.md) | | ## Example diff --git a/docs/EzsigntemplatedocumentFlattenV1Response.md b/docs/EzsigntemplatedocumentFlattenV1Response.md index ab66b24ec..fc0c82644 100644 --- a/docs/EzsigntemplatedocumentFlattenV1Response.md +++ b/docs/EzsigntemplatedocumentFlattenV1Response.md @@ -6,6 +6,8 @@ Response for POST /1/object/ezsigntemplatedocument/{pkiEzsigntemplatedocument}/f Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**obj_debug_payload** | [**CommonResponseObjDebugPayload**](CommonResponseObjDebugPayload.md) | | +**obj_debug** | [**CommonResponseObjDebug**](CommonResponseObjDebug.md) | | [optional] ## Example diff --git a/docs/EzsigntemplatedocumentGetEzsigntemplatedocumentpagerecognitionsV1Response.md b/docs/EzsigntemplatedocumentGetEzsigntemplatedocumentpagerecognitionsV1Response.md index 1e5288fde..7a9cee5b0 100644 --- a/docs/EzsigntemplatedocumentGetEzsigntemplatedocumentpagerecognitionsV1Response.md +++ b/docs/EzsigntemplatedocumentGetEzsigntemplatedocumentpagerecognitionsV1Response.md @@ -6,6 +6,8 @@ Response for GET /1/object/ezsigntemplatedocument/{pkiEzsigntemplatedocument}/ge Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**obj_debug_payload** | [**CommonResponseObjDebugPayload**](CommonResponseObjDebugPayload.md) | | +**obj_debug** | [**CommonResponseObjDebug**](CommonResponseObjDebug.md) | | [optional] **m_payload** | [**EzsigntemplatedocumentGetEzsigntemplatedocumentpagerecognitionsV1ResponseMPayload**](EzsigntemplatedocumentGetEzsigntemplatedocumentpagerecognitionsV1ResponseMPayload.md) | | ## Example diff --git a/docs/EzsigntemplatedocumentGetEzsigntemplatedocumentpagesV1Response.md b/docs/EzsigntemplatedocumentGetEzsigntemplatedocumentpagesV1Response.md index 6339c2726..30f153697 100644 --- a/docs/EzsigntemplatedocumentGetEzsigntemplatedocumentpagesV1Response.md +++ b/docs/EzsigntemplatedocumentGetEzsigntemplatedocumentpagesV1Response.md @@ -6,6 +6,8 @@ Response for GET /1/object/ezsigntemplatedocument/{pkiEzsigntemplatedocumentID}/ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**obj_debug_payload** | [**CommonResponseObjDebugPayload**](CommonResponseObjDebugPayload.md) | | +**obj_debug** | [**CommonResponseObjDebug**](CommonResponseObjDebug.md) | | [optional] **m_payload** | [**EzsigntemplatedocumentGetEzsigntemplatedocumentpagesV1ResponseMPayload**](EzsigntemplatedocumentGetEzsigntemplatedocumentpagesV1ResponseMPayload.md) | | ## Example diff --git a/docs/EzsigntemplatedocumentGetEzsigntemplatedocumentpagesV1ResponseMPayload.md b/docs/EzsigntemplatedocumentGetEzsigntemplatedocumentpagesV1ResponseMPayload.md index bb30bf4f5..03356333d 100644 --- a/docs/EzsigntemplatedocumentGetEzsigntemplatedocumentpagesV1ResponseMPayload.md +++ b/docs/EzsigntemplatedocumentGetEzsigntemplatedocumentpagesV1ResponseMPayload.md @@ -6,7 +6,7 @@ Payload for GET /1/object/ezsigntemplatedocument/{pkiEzsigntemplatedocumentID}/g Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**a_obj_ezsigntemplatedocumentpage** | [**List[EzsigntemplatedocumentpageResponseCompound]**](EzsigntemplatedocumentpageResponse.md) | | +**a_obj_ezsigntemplatedocumentpage** | [**List[EzsigntemplatedocumentpageResponseCompound]**](EzsigntemplatedocumentpageResponseCompound.md) | | ## Example diff --git a/docs/EzsigntemplatedocumentGetEzsigntemplateformfieldgroupsV1Response.md b/docs/EzsigntemplatedocumentGetEzsigntemplateformfieldgroupsV1Response.md index 7c2d09eb8..2a483b4ff 100644 --- a/docs/EzsigntemplatedocumentGetEzsigntemplateformfieldgroupsV1Response.md +++ b/docs/EzsigntemplatedocumentGetEzsigntemplateformfieldgroupsV1Response.md @@ -6,6 +6,8 @@ Response for GET /1/object/ezsigntemplatedocument/{pkiEzsigntemplatedocument}/ge Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**obj_debug_payload** | [**CommonResponseObjDebugPayload**](CommonResponseObjDebugPayload.md) | | +**obj_debug** | [**CommonResponseObjDebug**](CommonResponseObjDebug.md) | | [optional] **m_payload** | [**EzsigntemplatedocumentGetEzsigntemplateformfieldgroupsV1ResponseMPayload**](EzsigntemplatedocumentGetEzsigntemplateformfieldgroupsV1ResponseMPayload.md) | | ## Example diff --git a/docs/EzsigntemplatedocumentGetEzsigntemplatesignaturesV1Response.md b/docs/EzsigntemplatedocumentGetEzsigntemplatesignaturesV1Response.md index fd4c3cef8..2c4671e20 100644 --- a/docs/EzsigntemplatedocumentGetEzsigntemplatesignaturesV1Response.md +++ b/docs/EzsigntemplatedocumentGetEzsigntemplatesignaturesV1Response.md @@ -6,6 +6,8 @@ Response for GET /1/object/ezsigntemplatedocument/{pkiEzsigntemplatedocument}/ge Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**obj_debug_payload** | [**CommonResponseObjDebugPayload**](CommonResponseObjDebugPayload.md) | | +**obj_debug** | [**CommonResponseObjDebug**](CommonResponseObjDebug.md) | | [optional] **m_payload** | [**EzsigntemplatedocumentGetEzsigntemplatesignaturesV1ResponseMPayload**](EzsigntemplatedocumentGetEzsigntemplatesignaturesV1ResponseMPayload.md) | | ## Example diff --git a/docs/EzsigntemplatedocumentGetObjectV2Response.md b/docs/EzsigntemplatedocumentGetObjectV2Response.md index ebe118059..51ebc8717 100644 --- a/docs/EzsigntemplatedocumentGetObjectV2Response.md +++ b/docs/EzsigntemplatedocumentGetObjectV2Response.md @@ -6,6 +6,8 @@ Response for GET /2/object/ezsigntemplatedocument/{pkiEzsigntemplatedocumentID} Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**obj_debug_payload** | [**CommonResponseObjDebugPayload**](CommonResponseObjDebugPayload.md) | | +**obj_debug** | [**CommonResponseObjDebug**](CommonResponseObjDebug.md) | | [optional] **m_payload** | [**EzsigntemplatedocumentGetObjectV2ResponseMPayload**](EzsigntemplatedocumentGetObjectV2ResponseMPayload.md) | | ## Example diff --git a/docs/EzsigntemplatedocumentGetWordsPositionsV1Response.md b/docs/EzsigntemplatedocumentGetWordsPositionsV1Response.md index cb7b5ccdb..4e5549df2 100644 --- a/docs/EzsigntemplatedocumentGetWordsPositionsV1Response.md +++ b/docs/EzsigntemplatedocumentGetWordsPositionsV1Response.md @@ -6,6 +6,8 @@ Response for POST /1/object/ezsigntemplatedocument/{pkiEzsigntemplatedocumentID} Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**obj_debug_payload** | [**CommonResponseObjDebugPayload**](CommonResponseObjDebugPayload.md) | | +**obj_debug** | [**CommonResponseObjDebug**](CommonResponseObjDebug.md) | | [optional] **m_payload** | [**List[CustomWordPositionWordResponse]**](CustomWordPositionWordResponse.md) | Payload for POST /1/object/ezsigntemplatedocument/{pkiEzsigntemplatedocumentID}/getWordsPositions | ## Example diff --git a/docs/EzsigntemplatedocumentPatchObjectV1Response.md b/docs/EzsigntemplatedocumentPatchObjectV1Response.md index 97c434cc2..53a93baf1 100644 --- a/docs/EzsigntemplatedocumentPatchObjectV1Response.md +++ b/docs/EzsigntemplatedocumentPatchObjectV1Response.md @@ -6,6 +6,8 @@ Response for PATCH /1/object/ezsigntemplatedocument/{pkiEzsigntemplatedocumentID Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**obj_debug_payload** | [**CommonResponseObjDebugPayload**](CommonResponseObjDebugPayload.md) | | +**obj_debug** | [**CommonResponseObjDebug**](CommonResponseObjDebug.md) | | [optional] ## Example diff --git a/docs/EzsigntemplatedocumentRequestCompound.md b/docs/EzsigntemplatedocumentRequestCompound.md index abf05f470..749eca30c 100644 --- a/docs/EzsigntemplatedocumentRequestCompound.md +++ b/docs/EzsigntemplatedocumentRequestCompound.md @@ -6,6 +6,18 @@ A Ezsigntemplatedocument Object and children Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**pki_ezsigntemplatedocument_id** | **int** | The unique ID of the Ezsigntemplatedocument | [optional] +**fki_ezsigntemplate_id** | **int** | The unique ID of the Ezsigntemplate | +**fki_ezsigndocument_id** | **int** | The unique ID of the Ezsigndocument | [optional] +**fki_ezsigntemplatesigner_id** | **int** | The unique ID of the Ezsigntemplatesigner | [optional] +**s_ezsigntemplatedocument_name** | **str** | The name of the Ezsigntemplatedocument. | +**e_ezsigntemplatedocument_source** | **str** | Indicates where to look for the document binary content. | +**e_ezsigntemplatedocument_format** | **str** | Indicates the format of the template. | [optional] +**s_ezsigntemplatedocument_base64** | **bytearray** | The Base64 encoded binary content of the document. This field is Required when eEzsigntemplatedocumentSource = Base64. | [optional] +**s_ezsigntemplatedocument_url** | **str** | The url where the document content resides. This field is Required when eEzsigntemplatedocumentSource = Url. | [optional] +**b_ezsigntemplatedocument_forcerepair** | **bool** | Try to repair the document or flatten it if it cannot be used for electronic signature. | [optional] +**e_ezsigntemplatedocument_form** | **str** | If the document contains an existing PDF form this property must be set. **Keep** leaves the form as-is in the document. **Convert** removes the form and convert all the existing fields to Ezsigntemplateformfieldgroups and assign them to the specified **fkiEzsigntemplatesignerID** **Discard** removes the form from the document **Flatten** prints the form values in the document. | [optional] +**s_ezsigntemplatedocument_password** | **str** | If the source template is password protected, the password to open/modify it. | [optional] [default to ''] ## Example diff --git a/docs/EzsigntemplatedocumentResponseCompound.md b/docs/EzsigntemplatedocumentResponseCompound.md index 83bdea950..dc4b8b4b3 100644 --- a/docs/EzsigntemplatedocumentResponseCompound.md +++ b/docs/EzsigntemplatedocumentResponseCompound.md @@ -6,6 +6,13 @@ A Ezsigntemplatedocument Object Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**pki_ezsigntemplatedocument_id** | **int** | The unique ID of the Ezsigntemplatedocument | +**fki_ezsigntemplate_id** | **int** | The unique ID of the Ezsigntemplate | +**s_ezsigntemplatedocument_name** | **str** | The name of the Ezsigntemplatedocument. | +**i_ezsigntemplatedocument_pagetotal** | **int** | The number of pages in the Ezsigntemplatedocument. | +**i_ezsigntemplatedocument_signaturetotal** | **int** | The number of total signatures in the Ezsigntemplate. | +**i_ezsigntemplatedocument_formfieldtotal** | **int** | The number of total form fields in the Ezsigntemplate. | +**b_ezsigntemplatedocument_hassignedsignatures** | **bool** | If the Ezsigntemplatedocument contains signed signatures (From internal or external sources) | ## Example diff --git a/docs/EzsigntemplatedocumentpagerecognitionCreateObjectV1Response.md b/docs/EzsigntemplatedocumentpagerecognitionCreateObjectV1Response.md index 1b98a5a3b..2d181ab33 100644 --- a/docs/EzsigntemplatedocumentpagerecognitionCreateObjectV1Response.md +++ b/docs/EzsigntemplatedocumentpagerecognitionCreateObjectV1Response.md @@ -6,6 +6,8 @@ Response for POST /1/object/ezsigntemplatedocumentpagerecognition Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**obj_debug_payload** | [**CommonResponseObjDebugPayload**](CommonResponseObjDebugPayload.md) | | +**obj_debug** | [**CommonResponseObjDebug**](CommonResponseObjDebug.md) | | [optional] **m_payload** | [**EzsigntemplatedocumentpagerecognitionCreateObjectV1ResponseMPayload**](EzsigntemplatedocumentpagerecognitionCreateObjectV1ResponseMPayload.md) | | ## Example diff --git a/docs/EzsigntemplatedocumentpagerecognitionDeleteObjectV1Response.md b/docs/EzsigntemplatedocumentpagerecognitionDeleteObjectV1Response.md index 85ef2b776..01317c111 100644 --- a/docs/EzsigntemplatedocumentpagerecognitionDeleteObjectV1Response.md +++ b/docs/EzsigntemplatedocumentpagerecognitionDeleteObjectV1Response.md @@ -6,6 +6,8 @@ Response for DELETE /1/object/ezsigntemplatedocumentpagerecognition/{pkiEzsignte Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**obj_debug_payload** | [**CommonResponseObjDebugPayload**](CommonResponseObjDebugPayload.md) | | +**obj_debug** | [**CommonResponseObjDebug**](CommonResponseObjDebug.md) | | [optional] ## Example diff --git a/docs/EzsigntemplatedocumentpagerecognitionEditObjectV1Response.md b/docs/EzsigntemplatedocumentpagerecognitionEditObjectV1Response.md index c182f5d14..d6c94794b 100644 --- a/docs/EzsigntemplatedocumentpagerecognitionEditObjectV1Response.md +++ b/docs/EzsigntemplatedocumentpagerecognitionEditObjectV1Response.md @@ -6,6 +6,8 @@ Response for PUT /1/object/ezsigntemplatedocumentpagerecognition/{pkiEzsigntempl Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**obj_debug_payload** | [**CommonResponseObjDebugPayload**](CommonResponseObjDebugPayload.md) | | +**obj_debug** | [**CommonResponseObjDebug**](CommonResponseObjDebug.md) | | [optional] ## Example diff --git a/docs/EzsigntemplatedocumentpagerecognitionGetObjectV2Response.md b/docs/EzsigntemplatedocumentpagerecognitionGetObjectV2Response.md index 0d4b9cc7a..48205c66f 100644 --- a/docs/EzsigntemplatedocumentpagerecognitionGetObjectV2Response.md +++ b/docs/EzsigntemplatedocumentpagerecognitionGetObjectV2Response.md @@ -6,6 +6,8 @@ Response for GET /2/object/ezsigntemplatedocumentpagerecognition/{pkiEzsigntempl Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**obj_debug_payload** | [**CommonResponseObjDebugPayload**](CommonResponseObjDebugPayload.md) | | +**obj_debug** | [**CommonResponseObjDebug**](CommonResponseObjDebug.md) | | [optional] **m_payload** | [**EzsigntemplatedocumentpagerecognitionGetObjectV2ResponseMPayload**](EzsigntemplatedocumentpagerecognitionGetObjectV2ResponseMPayload.md) | | ## Example diff --git a/docs/EzsigntemplatedocumentpagerecognitionRequestCompound.md b/docs/EzsigntemplatedocumentpagerecognitionRequestCompound.md index fb7ceb801..5e1e33e72 100644 --- a/docs/EzsigntemplatedocumentpagerecognitionRequestCompound.md +++ b/docs/EzsigntemplatedocumentpagerecognitionRequestCompound.md @@ -6,6 +6,16 @@ A Ezsigntemplatedocumentpagerecognition Object and children Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**pki_ezsigntemplatedocumentpagerecognition_id** | **int** | The unique ID of the Ezsigntemplatedocumentpagerecognition | [optional] +**fki_ezsigntemplatedocumentpage_id** | **int** | The unique ID of the Ezsigntemplatedocumentpage | +**e_ezsigntemplatedocumentpagerecognition_operator** | [**FieldEEzsigntemplatedocumentpagerecognitionOperator**](FieldEEzsigntemplatedocumentpagerecognitionOperator.md) | | +**e_ezsigntemplatedocumentpagerecognition_section** | [**FieldEEzsigntemplatedocumentpagerecognitionSection**](FieldEEzsigntemplatedocumentpagerecognitionSection.md) | | +**i_ezsigntemplatedocumentpagerecognition_similarpercentage** | **int** | The similarpercentage of the Ezsigntemplatedocumentpagerecognition | [optional] +**i_ezsigntemplatedocumentpagerecognition_x** | **int** | The x of the Ezsigntemplatedocumentpagerecognition | [optional] +**i_ezsigntemplatedocumentpagerecognition_y** | **int** | The y of the Ezsigntemplatedocumentpagerecognition | [optional] +**i_ezsigntemplatedocumentpagerecognition_width** | **int** | The width of the Ezsigntemplatedocumentpagerecognition | [optional] +**i_ezsigntemplatedocumentpagerecognition_height** | **int** | The height of the Ezsigntemplatedocumentpagerecognition | [optional] +**t_ezsigntemplatedocumentpagerecognition_text** | **str** | The text of the Ezsigntemplatedocumentpagerecognition | ## Example diff --git a/docs/EzsigntemplatedocumentpagerecognitionResponseCompound.md b/docs/EzsigntemplatedocumentpagerecognitionResponseCompound.md index ae765c22e..c09c6cd75 100644 --- a/docs/EzsigntemplatedocumentpagerecognitionResponseCompound.md +++ b/docs/EzsigntemplatedocumentpagerecognitionResponseCompound.md @@ -6,6 +6,16 @@ A Ezsigntemplatedocumentpagerecognition Object Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**pki_ezsigntemplatedocumentpagerecognition_id** | **int** | The unique ID of the Ezsigntemplatedocumentpagerecognition | +**fki_ezsigntemplatedocumentpage_id** | **int** | The unique ID of the Ezsigntemplatedocumentpage | +**e_ezsigntemplatedocumentpagerecognition_operator** | [**FieldEEzsigntemplatedocumentpagerecognitionOperator**](FieldEEzsigntemplatedocumentpagerecognitionOperator.md) | | +**e_ezsigntemplatedocumentpagerecognition_section** | [**FieldEEzsigntemplatedocumentpagerecognitionSection**](FieldEEzsigntemplatedocumentpagerecognitionSection.md) | | +**i_ezsigntemplatedocumentpagerecognition_similarpercentage** | **int** | The similarpercentage of the Ezsigntemplatedocumentpagerecognition | [optional] +**i_ezsigntemplatedocumentpagerecognition_x** | **int** | The x of the Ezsigntemplatedocumentpagerecognition | [optional] +**i_ezsigntemplatedocumentpagerecognition_y** | **int** | The y of the Ezsigntemplatedocumentpagerecognition | [optional] +**i_ezsigntemplatedocumentpagerecognition_width** | **int** | The width of the Ezsigntemplatedocumentpagerecognition | [optional] +**i_ezsigntemplatedocumentpagerecognition_height** | **int** | The height of the Ezsigntemplatedocumentpagerecognition | [optional] +**t_ezsigntemplatedocumentpagerecognition_text** | **str** | The text of the Ezsigntemplatedocumentpagerecognition | ## Example diff --git a/docs/EzsigntemplateformfieldRequestCompound.md b/docs/EzsigntemplateformfieldRequestCompound.md index cf8508506..ccb3f1852 100644 --- a/docs/EzsigntemplateformfieldRequestCompound.md +++ b/docs/EzsigntemplateformfieldRequestCompound.md @@ -6,7 +6,25 @@ An Ezsigntemplateformfield Object and children to create a complete structure Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**a_obj_ezsigntemplateelementdependency** | [**List[EzsigntemplateelementdependencyRequestCompound]**](EzsigntemplateelementdependencyRequest.md) | | [optional] +**pki_ezsigntemplateformfield_id** | **int** | The unique ID of the Ezsigntemplateformfield | [optional] +**e_ezsigntemplateformfield_positioning** | [**FieldEEzsigntemplateformfieldPositioning**](FieldEEzsigntemplateformfieldPositioning.md) | | [optional] [default to FieldEEzsigntemplateformfieldPositioning.PERCOORDINATES] +**i_ezsigntemplatedocumentpage_pagenumber** | **int** | The page number in the Ezsigntemplatedocument | +**s_ezsigntemplateformfield_label** | **str** | The Label for the Ezsigntemplateformfield | +**s_ezsigntemplateformfield_value** | **str** | The value for the Ezsigntemplateformfield | [optional] +**i_ezsigntemplateformfield_x** | **int** | The X coordinate (Horizontal) where to put the Ezsigntemplateformfield on the Ezsigntemplatepage. Coordinate is calculated at 100dpi (dot per inch). So for example, if you want to put the Ezsigntemplateformfield 2 inches from the left border of the page, you would use \"200\" for the X coordinate. | [optional] +**i_ezsigntemplateformfield_y** | **int** | The Y coordinate (Vertical) where to put the Ezsigntemplateformfield on the Ezsigntemplatepage. Coordinate is calculated at 100dpi (dot per inch). So for example, if you want to put the Ezsigntemplateformfield 3 inches from the top border of the page, you would use \"300\" for the Y coordinate. | [optional] +**i_ezsigntemplateformfield_width** | **int** | The Width of the Ezsigntemplateformfield in pixels calculated at 100 DPI | +**i_ezsigntemplateformfield_height** | **int** | The Height of the Ezsigntemplateformfield in pixels calculated at 100 DPI | +**b_ezsigntemplateformfield_autocomplete** | **bool** | Whether the Ezsigntemplateformfield allows the use of the autocomplete of the browser. This can only be set if eEzsigntemplateformfieldgroupType is **Text** | [optional] +**b_ezsigntemplateformfield_selected** | **bool** | Whether the Ezsigntemplateformfield is selected or not by default. This can only be set if eEzsigntemplateformfieldgroupType is **Checkbox** or **Radio** | [optional] +**e_ezsigntemplateformfield_dependencyrequirement** | [**FieldEEzsigntemplateformfieldDependencyrequirement**](FieldEEzsigntemplateformfieldDependencyrequirement.md) | | [optional] +**s_ezsigntemplateformfield_positioningpattern** | **str** | The string pattern to search for the positioning. **This is not a regexp** This will be required if **eEzsigntemplateformfieldPositioning** is set to **PerCoordinates** | [optional] +**i_ezsigntemplateformfield_positioningoffsetx** | **int** | The offset X This will be required if **eEzsigntemplateformfieldPositioning** is set to **PerCoordinates** | [optional] +**i_ezsigntemplateformfield_positioningoffsety** | **int** | The offset Y This will be required if **eEzsigntemplateformfieldPositioning** is set to **PerCoordinates** | [optional] +**e_ezsigntemplateformfield_positioningoccurence** | [**FieldEEzsigntemplateformfieldPositioningoccurence**](FieldEEzsigntemplateformfieldPositioningoccurence.md) | | [optional] +**e_ezsigntemplateformfield_horizontalalignment** | [**EnumHorizontalalignment**](EnumHorizontalalignment.md) | | [optional] +**obj_textstylestatic** | [**TextstylestaticRequestCompound**](TextstylestaticRequestCompound.md) | | [optional] +**a_obj_ezsigntemplateelementdependency** | [**List[EzsigntemplateelementdependencyRequestCompound]**](EzsigntemplateelementdependencyRequestCompound.md) | | [optional] ## Example diff --git a/docs/EzsigntemplateformfieldResponseCompound.md b/docs/EzsigntemplateformfieldResponseCompound.md index 37aa3e11e..cdc5f1cbb 100644 --- a/docs/EzsigntemplateformfieldResponseCompound.md +++ b/docs/EzsigntemplateformfieldResponseCompound.md @@ -6,7 +6,25 @@ An Ezsigntemplateformfield Object and children Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**a_obj_ezsigntemplateelementdependency** | [**List[EzsigntemplateelementdependencyResponseCompound]**](EzsigntemplateelementdependencyResponse.md) | | [optional] +**pki_ezsigntemplateformfield_id** | **int** | The unique ID of the Ezsigntemplateformfield | +**e_ezsigntemplateformfield_positioning** | [**FieldEEzsigntemplateformfieldPositioning**](FieldEEzsigntemplateformfieldPositioning.md) | | [optional] [default to FieldEEzsigntemplateformfieldPositioning.PERCOORDINATES] +**i_ezsigntemplatedocumentpage_pagenumber** | **int** | The page number in the Ezsigntemplatedocument | +**s_ezsigntemplateformfield_label** | **str** | The Label for the Ezsigntemplateformfield | +**s_ezsigntemplateformfield_value** | **str** | The value for the Ezsigntemplateformfield | [optional] +**i_ezsigntemplateformfield_x** | **int** | The X coordinate (Horizontal) where to put the Ezsigntemplateformfield on the Ezsigntemplatepage. Coordinate is calculated at 100dpi (dot per inch). So for example, if you want to put the Ezsigntemplateformfield 2 inches from the left border of the page, you would use \"200\" for the X coordinate. | [optional] +**i_ezsigntemplateformfield_y** | **int** | The Y coordinate (Vertical) where to put the Ezsigntemplateformfield on the Ezsigntemplatepage. Coordinate is calculated at 100dpi (dot per inch). So for example, if you want to put the Ezsigntemplateformfield 3 inches from the top border of the page, you would use \"300\" for the Y coordinate. | [optional] +**i_ezsigntemplateformfield_width** | **int** | The Width of the Ezsigntemplateformfield in pixels calculated at 100 DPI | +**i_ezsigntemplateformfield_height** | **int** | The Height of the Ezsigntemplateformfield in pixels calculated at 100 DPI | +**b_ezsigntemplateformfield_autocomplete** | **bool** | Whether the Ezsigntemplateformfield allows the use of the autocomplete of the browser. This can only be set if eEzsigntemplateformfieldgroupType is **Text** | [optional] +**b_ezsigntemplateformfield_selected** | **bool** | Whether the Ezsigntemplateformfield is selected or not by default. This can only be set if eEzsigntemplateformfieldgroupType is **Checkbox** or **Radio** | [optional] +**e_ezsigntemplateformfield_dependencyrequirement** | [**FieldEEzsigntemplateformfieldDependencyrequirement**](FieldEEzsigntemplateformfieldDependencyrequirement.md) | | [optional] +**s_ezsigntemplateformfield_positioningpattern** | **str** | The string pattern to search for the positioning. **This is not a regexp** This will be required if **eEzsigntemplateformfieldPositioning** is set to **PerCoordinates** | [optional] +**i_ezsigntemplateformfield_positioningoffsetx** | **int** | The offset X This will be required if **eEzsigntemplateformfieldPositioning** is set to **PerCoordinates** | [optional] +**i_ezsigntemplateformfield_positioningoffsety** | **int** | The offset Y This will be required if **eEzsigntemplateformfieldPositioning** is set to **PerCoordinates** | [optional] +**e_ezsigntemplateformfield_positioningoccurence** | [**FieldEEzsigntemplateformfieldPositioningoccurence**](FieldEEzsigntemplateformfieldPositioningoccurence.md) | | [optional] +**e_ezsigntemplateformfield_horizontalalignment** | [**EnumHorizontalalignment**](EnumHorizontalalignment.md) | | [optional] +**obj_textstylestatic** | [**TextstylestaticResponseCompound**](TextstylestaticResponseCompound.md) | | [optional] +**a_obj_ezsigntemplateelementdependency** | [**List[EzsigntemplateelementdependencyResponseCompound]**](EzsigntemplateelementdependencyResponseCompound.md) | | [optional] ## Example diff --git a/docs/EzsigntemplateformfieldgroupCreateObjectV1Response.md b/docs/EzsigntemplateformfieldgroupCreateObjectV1Response.md index c48d1631d..aecd89ff9 100644 --- a/docs/EzsigntemplateformfieldgroupCreateObjectV1Response.md +++ b/docs/EzsigntemplateformfieldgroupCreateObjectV1Response.md @@ -6,6 +6,8 @@ Response for POST /1/object/ezsigntemplateformfieldgroup Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**obj_debug_payload** | [**CommonResponseObjDebugPayload**](CommonResponseObjDebugPayload.md) | | +**obj_debug** | [**CommonResponseObjDebug**](CommonResponseObjDebug.md) | | [optional] **m_payload** | [**EzsigntemplateformfieldgroupCreateObjectV1ResponseMPayload**](EzsigntemplateformfieldgroupCreateObjectV1ResponseMPayload.md) | | ## Example diff --git a/docs/EzsigntemplateformfieldgroupDeleteObjectV1Response.md b/docs/EzsigntemplateformfieldgroupDeleteObjectV1Response.md index 55d3d0295..3993ac255 100644 --- a/docs/EzsigntemplateformfieldgroupDeleteObjectV1Response.md +++ b/docs/EzsigntemplateformfieldgroupDeleteObjectV1Response.md @@ -6,6 +6,8 @@ Response for DELETE /1/object/ezsigntemplateformfieldgroup/{pkiEzsigntemplatefor Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**obj_debug_payload** | [**CommonResponseObjDebugPayload**](CommonResponseObjDebugPayload.md) | | +**obj_debug** | [**CommonResponseObjDebug**](CommonResponseObjDebug.md) | | [optional] ## Example diff --git a/docs/EzsigntemplateformfieldgroupEditObjectV1Response.md b/docs/EzsigntemplateformfieldgroupEditObjectV1Response.md index 604da1be9..af4775c0b 100644 --- a/docs/EzsigntemplateformfieldgroupEditObjectV1Response.md +++ b/docs/EzsigntemplateformfieldgroupEditObjectV1Response.md @@ -6,6 +6,8 @@ Response for PUT /1/object/ezsigntemplateformfieldgroup/{pkiEzsigntemplateformfi Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**obj_debug_payload** | [**CommonResponseObjDebugPayload**](CommonResponseObjDebugPayload.md) | | +**obj_debug** | [**CommonResponseObjDebug**](CommonResponseObjDebug.md) | | [optional] ## Example diff --git a/docs/EzsigntemplateformfieldgroupGetObjectV2Response.md b/docs/EzsigntemplateformfieldgroupGetObjectV2Response.md index 6179e0de0..a774502dd 100644 --- a/docs/EzsigntemplateformfieldgroupGetObjectV2Response.md +++ b/docs/EzsigntemplateformfieldgroupGetObjectV2Response.md @@ -6,6 +6,8 @@ Response for GET /2/object/ezsigntemplateformfieldgroup/{pkiEzsigntemplateformfi Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**obj_debug_payload** | [**CommonResponseObjDebugPayload**](CommonResponseObjDebugPayload.md) | | +**obj_debug** | [**CommonResponseObjDebug**](CommonResponseObjDebug.md) | | [optional] **m_payload** | [**EzsigntemplateformfieldgroupGetObjectV2ResponseMPayload**](EzsigntemplateformfieldgroupGetObjectV2ResponseMPayload.md) | | ## Example diff --git a/docs/EzsigntemplateformfieldgroupRequestCompound.md b/docs/EzsigntemplateformfieldgroupRequestCompound.md index 16306df14..3d61c216f 100644 --- a/docs/EzsigntemplateformfieldgroupRequestCompound.md +++ b/docs/EzsigntemplateformfieldgroupRequestCompound.md @@ -6,8 +6,25 @@ A Ezsigntemplateformfieldgroup Object and children Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**a_obj_ezsigntemplateformfieldgroupsigner** | [**List[EzsigntemplateformfieldgroupsignerRequestCompound]**](EzsigntemplateformfieldgroupsignerRequest.md) | | -**a_obj_dropdown_element** | [**List[CustomDropdownElementRequestCompound]**](CustomDropdownElementRequest.md) | | [optional] +**pki_ezsigntemplateformfieldgroup_id** | **int** | The unique ID of the Ezsigntemplateformfieldgroup | [optional] +**fki_ezsigntemplatedocument_id** | **int** | The unique ID of the Ezsigntemplatedocument | +**e_ezsigntemplateformfieldgroup_type** | [**FieldEEzsigntemplateformfieldgroupType**](FieldEEzsigntemplateformfieldgroupType.md) | | +**e_ezsigntemplateformfieldgroup_signerrequirement** | [**FieldEEzsigntemplateformfieldgroupSignerrequirement**](FieldEEzsigntemplateformfieldgroupSignerrequirement.md) | | [optional] +**s_ezsigntemplateformfieldgroup_label** | **str** | The Label for the Ezsigntemplateformfieldgroup | +**i_ezsigntemplateformfieldgroup_step** | **int** | The step when the Ezsigntemplatesigner will be invited to fill the form fields | +**s_ezsigntemplateformfieldgroup_defaultvalue** | **str** | The default value for the Ezsigntemplateformfieldgroup You can use the codes below and they will be replaced at signature time. | Code | Description | Example | | ------------------------- | ------------ | ------------ | | {sUserFirstname} | The first name of the contact | John | | {sUserLastname} | The last name of the contact | Doe | | {sUserJobtitle} | The job title | Sales Representative | | {sEmailAddress} | The email address | email@example.com | | {sPhoneE164} | A phone number in E.164 Format | +15149901516 | | {sPhoneE164Cell} | A phone number in E.164 Format | +15149901516 | | +**i_ezsigntemplateformfieldgroup_filledmin** | **int** | The minimum number of Ezsigntemplateformfield that must be filled in the Ezsigntemplateformfieldgroup | +**i_ezsigntemplateformfieldgroup_filledmax** | **int** | The maximum number of Ezsigntemplateformfield that must be filled in the Ezsigntemplateformfieldgroup | +**b_ezsigntemplateformfieldgroup_readonly** | **bool** | Whether the Ezsigntemplateformfieldgroup is read only or not. | +**i_ezsigntemplateformfieldgroup_maxlength** | **int** | The maximum length for the value in the Ezsigntemplateformfieldgroup This can only be set if eEzsigntemplateformfieldgroupType is **Text** or **Textarea** | [optional] +**b_ezsigntemplateformfieldgroup_encrypted** | **bool** | Whether the Ezsigntemplateformfieldgroup is encrypted in the database or not. Encrypted values are not displayed on the Ezsigndocument. This can only be set if eEzsigntemplateformfieldgroupType is **Text** or **Textarea** | [optional] +**s_ezsigntemplateformfieldgroup_regexp** | **str** | A regular expression to indicate what values are acceptable for the Ezsigntemplateformfieldgroup. This can only be set if eEzsigntemplateformfieldgroupType is **Text** or **Textarea** | [optional] +**s_ezsigntemplateformfieldgroup_textvalidationcustommessage** | **str** | Description of validation rule. Show by signatory. | [optional] +**e_ezsigntemplateformfieldgroup_textvalidation** | [**EnumTextvalidation**](EnumTextvalidation.md) | | [optional] +**t_ezsigntemplateformfieldgroup_tooltip** | **str** | A tooltip that will be presented to Ezsigntemplatesigner about the Ezsigntemplateformfieldgroup | [optional] +**e_ezsigntemplateformfieldgroup_tooltipposition** | [**FieldEEzsigntemplateformfieldgroupTooltipposition**](FieldEEzsigntemplateformfieldgroupTooltipposition.md) | | [optional] +**a_obj_ezsigntemplateformfieldgroupsigner** | [**List[EzsigntemplateformfieldgroupsignerRequestCompound]**](EzsigntemplateformfieldgroupsignerRequestCompound.md) | | +**a_obj_dropdown_element** | [**List[CustomDropdownElementRequestCompound]**](CustomDropdownElementRequestCompound.md) | | [optional] **a_obj_ezsigntemplateformfield** | [**List[EzsigntemplateformfieldRequestCompound]**](EzsigntemplateformfieldRequestCompound.md) | | ## Example diff --git a/docs/EzsigntemplateformfieldgroupResponseCompound.md b/docs/EzsigntemplateformfieldgroupResponseCompound.md index 60a2e484c..9e3e3ff6e 100644 --- a/docs/EzsigntemplateformfieldgroupResponseCompound.md +++ b/docs/EzsigntemplateformfieldgroupResponseCompound.md @@ -6,8 +6,25 @@ A Ezsigntemplateformfieldgroup Object and children Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**a_obj_ezsigntemplateformfieldgroupsigner** | [**List[EzsigntemplateformfieldgroupsignerResponseCompound]**](EzsigntemplateformfieldgroupsignerResponse.md) | | -**a_obj_dropdown_element** | [**List[CustomDropdownElementResponseCompound]**](CustomDropdownElementResponse.md) | | [optional] +**pki_ezsigntemplateformfieldgroup_id** | **int** | The unique ID of the Ezsigntemplateformfieldgroup | +**fki_ezsigntemplatedocument_id** | **int** | The unique ID of the Ezsigntemplatedocument | +**e_ezsigntemplateformfieldgroup_type** | [**FieldEEzsigntemplateformfieldgroupType**](FieldEEzsigntemplateformfieldgroupType.md) | | +**e_ezsigntemplateformfieldgroup_signerrequirement** | [**FieldEEzsigntemplateformfieldgroupSignerrequirement**](FieldEEzsigntemplateformfieldgroupSignerrequirement.md) | | [optional] +**s_ezsigntemplateformfieldgroup_label** | **str** | The Label for the Ezsigntemplateformfieldgroup | +**i_ezsigntemplateformfieldgroup_step** | **int** | The step when the Ezsigntemplatesigner will be invited to fill the form fields | +**s_ezsigntemplateformfieldgroup_defaultvalue** | **str** | The default value for the Ezsigntemplateformfieldgroup You can use the codes below and they will be replaced at signature time. | Code | Description | Example | | ------------------------- | ------------ | ------------ | | {sUserFirstname} | The first name of the contact | John | | {sUserLastname} | The last name of the contact | Doe | | {sUserJobtitle} | The job title | Sales Representative | | {sEmailAddress} | The email address | email@example.com | | {sPhoneE164} | A phone number in E.164 Format | +15149901516 | | {sPhoneE164Cell} | A phone number in E.164 Format | +15149901516 | | [optional] +**i_ezsigntemplateformfieldgroup_filledmin** | **int** | The minimum number of Ezsigntemplateformfield that must be filled in the Ezsigntemplateformfieldgroup | +**i_ezsigntemplateformfieldgroup_filledmax** | **int** | The maximum number of Ezsigntemplateformfield that must be filled in the Ezsigntemplateformfieldgroup | +**b_ezsigntemplateformfieldgroup_readonly** | **bool** | Whether the Ezsigntemplateformfieldgroup is read only or not. | +**i_ezsigntemplateformfieldgroup_maxlength** | **int** | The maximum length for the value in the Ezsigntemplateformfieldgroup This can only be set if eEzsigntemplateformfieldgroupType is **Text** or **Textarea** | [optional] +**b_ezsigntemplateformfieldgroup_encrypted** | **bool** | Whether the Ezsigntemplateformfieldgroup is encrypted in the database or not. Encrypted values are not displayed on the Ezsigndocument. This can only be set if eEzsigntemplateformfieldgroupType is **Text** or **Textarea** | [optional] +**s_ezsigntemplateformfieldgroup_regexp** | **str** | A regular expression to indicate what values are acceptable for the Ezsigntemplateformfieldgroup. This can only be set if eEzsigntemplateformfieldgroupType is **Text** or **Textarea** | [optional] +**s_ezsigntemplateformfieldgroup_textvalidationcustommessage** | **str** | Description of validation rule. Show by signatory. | [optional] +**e_ezsigntemplateformfieldgroup_textvalidation** | [**EnumTextvalidation**](EnumTextvalidation.md) | | [optional] +**t_ezsigntemplateformfieldgroup_tooltip** | **str** | A tooltip that will be presented to Ezsigntemplatesigner about the Ezsigntemplateformfieldgroup | [optional] +**e_ezsigntemplateformfieldgroup_tooltipposition** | [**FieldEEzsigntemplateformfieldgroupTooltipposition**](FieldEEzsigntemplateformfieldgroupTooltipposition.md) | | [optional] +**a_obj_ezsigntemplateformfieldgroupsigner** | [**List[EzsigntemplateformfieldgroupsignerResponseCompound]**](EzsigntemplateformfieldgroupsignerResponseCompound.md) | | +**a_obj_dropdown_element** | [**List[CustomDropdownElementResponseCompound]**](CustomDropdownElementResponseCompound.md) | | [optional] **a_obj_ezsigntemplateformfield** | [**List[EzsigntemplateformfieldResponseCompound]**](EzsigntemplateformfieldResponseCompound.md) | | ## Example diff --git a/docs/EzsigntemplateglobalGetAutocompleteV2Response.md b/docs/EzsigntemplateglobalGetAutocompleteV2Response.md index 8178a6748..d6c8c8ce3 100644 --- a/docs/EzsigntemplateglobalGetAutocompleteV2Response.md +++ b/docs/EzsigntemplateglobalGetAutocompleteV2Response.md @@ -6,6 +6,8 @@ Response for GET /2/object/ezsigntemplateglobal/getAutocomplete Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**obj_debug_payload** | [**CommonResponseObjDebugPayload**](CommonResponseObjDebugPayload.md) | | +**obj_debug** | [**CommonResponseObjDebug**](CommonResponseObjDebug.md) | | [optional] **m_payload** | [**EzsigntemplateglobalGetAutocompleteV2ResponseMPayload**](EzsigntemplateglobalGetAutocompleteV2ResponseMPayload.md) | | ## Example diff --git a/docs/EzsigntemplateglobalGetObjectV2Response.md b/docs/EzsigntemplateglobalGetObjectV2Response.md index 0b33bf445..f2d4b08d1 100644 --- a/docs/EzsigntemplateglobalGetObjectV2Response.md +++ b/docs/EzsigntemplateglobalGetObjectV2Response.md @@ -6,6 +6,8 @@ Response for GET /2/object/ezsigntemplateglobal/{pkiEzsigntemplateglobalID} Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**obj_debug_payload** | [**CommonResponseObjDebugPayload**](CommonResponseObjDebugPayload.md) | | +**obj_debug** | [**CommonResponseObjDebug**](CommonResponseObjDebug.md) | | [optional] **m_payload** | [**EzsigntemplateglobalGetObjectV2ResponseMPayload**](EzsigntemplateglobalGetObjectV2ResponseMPayload.md) | | ## Example diff --git a/docs/EzsigntemplateglobalResponseCompound.md b/docs/EzsigntemplateglobalResponseCompound.md index 06d2fe378..812c14988 100644 --- a/docs/EzsigntemplateglobalResponseCompound.md +++ b/docs/EzsigntemplateglobalResponseCompound.md @@ -6,6 +6,16 @@ A Ezsigntemplateglobal Object Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**pki_ezsigntemplateglobal_id** | **int** | The unique ID of the Ezsigntemplateglobal | +**fki_ezsigntemplateglobaldocument_id** | **int** | The unique ID of the Ezsigntemplateglobaldocument | +**fki_module_id** | **int** | The unique ID of the Module | +**s_module_name_x** | **str** | The Name of the Module in the language of the requester | [optional] +**fki_language_id** | **int** | The unique ID of the Language. Valid values: |Value|Description| |-|-| |1|French| |2|English| | +**s_language_name_x** | **str** | The Name of the Language in the language of the requester | +**e_ezsigntemplateglobal_module** | [**FieldEEzsigntemplateglobalModule**](FieldEEzsigntemplateglobalModule.md) | | +**e_ezsigntemplateglobal_supplier** | [**FieldEEzsigntemplateglobalSupplier**](FieldEEzsigntemplateglobalSupplier.md) | | +**s_ezsigntemplateglobal_code** | **str** | The Code of the Ezsigntemplateglobal | +**s_ezsigntemplateglobal_description** | **str** | The description of the Ezsigntemplate | **obj_ezsigntemplateglobaldocument** | [**EzsigntemplateglobaldocumentResponse**](EzsigntemplateglobaldocumentResponse.md) | | [optional] **a_obj_ezsigntemplateglobalsigner** | [**List[EzsigntemplateglobalsignerResponseCompound]**](EzsigntemplateglobalsignerResponseCompound.md) | | diff --git a/docs/EzsigntemplateglobalsignerResponseCompound.md b/docs/EzsigntemplateglobalsignerResponseCompound.md index cc725306b..944dec4f0 100644 --- a/docs/EzsigntemplateglobalsignerResponseCompound.md +++ b/docs/EzsigntemplateglobalsignerResponseCompound.md @@ -6,6 +6,9 @@ A Ezsigntemplateglobalsigner Object Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**pki_ezsigntemplateglobalsigner_id** | **int** | The unique ID of the Ezsigntemplateglobalsigner | +**fki_ezsigntemplateglobal_id** | **int** | The unique ID of the Ezsigntemplateglobal | +**s_ezsigntemplateglobalsigner_description** | **str** | The description of the Ezsigntemplateglobalsigner | ## Example diff --git a/docs/EzsigntemplatepackageCreateObjectV1Response.md b/docs/EzsigntemplatepackageCreateObjectV1Response.md index fa3820934..da5eae87f 100644 --- a/docs/EzsigntemplatepackageCreateObjectV1Response.md +++ b/docs/EzsigntemplatepackageCreateObjectV1Response.md @@ -6,6 +6,8 @@ Response for POST /1/object/ezsigntemplatepackage Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**obj_debug_payload** | [**CommonResponseObjDebugPayload**](CommonResponseObjDebugPayload.md) | | +**obj_debug** | [**CommonResponseObjDebug**](CommonResponseObjDebug.md) | | [optional] **m_payload** | [**EzsigntemplatepackageCreateObjectV1ResponseMPayload**](EzsigntemplatepackageCreateObjectV1ResponseMPayload.md) | | ## Example diff --git a/docs/EzsigntemplatepackageDeleteObjectV1Response.md b/docs/EzsigntemplatepackageDeleteObjectV1Response.md index e1d420832..20ed1aad3 100644 --- a/docs/EzsigntemplatepackageDeleteObjectV1Response.md +++ b/docs/EzsigntemplatepackageDeleteObjectV1Response.md @@ -6,6 +6,8 @@ Response for DELETE /1/object/ezsigntemplatepackage/{pkiEzsigntemplatepackageID} Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**obj_debug_payload** | [**CommonResponseObjDebugPayload**](CommonResponseObjDebugPayload.md) | | +**obj_debug** | [**CommonResponseObjDebug**](CommonResponseObjDebug.md) | | [optional] ## Example diff --git a/docs/EzsigntemplatepackageEditEzsigntemplatepackagesignersV1Response.md b/docs/EzsigntemplatepackageEditEzsigntemplatepackagesignersV1Response.md index 39cbbd87d..d827c94ac 100644 --- a/docs/EzsigntemplatepackageEditEzsigntemplatepackagesignersV1Response.md +++ b/docs/EzsigntemplatepackageEditEzsigntemplatepackagesignersV1Response.md @@ -6,6 +6,8 @@ Response for PUT /1/object/ezsigntemplatepackage/{pkiEzsigntemplatepackageID}/ed Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**obj_debug_payload** | [**CommonResponseObjDebugPayload**](CommonResponseObjDebugPayload.md) | | +**obj_debug** | [**CommonResponseObjDebug**](CommonResponseObjDebug.md) | | [optional] **m_payload** | [**EzsigntemplatepackageEditEzsigntemplatepackagesignersV1ResponseMPayload**](EzsigntemplatepackageEditEzsigntemplatepackagesignersV1ResponseMPayload.md) | | ## Example diff --git a/docs/EzsigntemplatepackageEditObjectV1Response.md b/docs/EzsigntemplatepackageEditObjectV1Response.md index e68ca7a0a..e61396c93 100644 --- a/docs/EzsigntemplatepackageEditObjectV1Response.md +++ b/docs/EzsigntemplatepackageEditObjectV1Response.md @@ -6,6 +6,8 @@ Response for PUT /1/object/ezsigntemplatepackage/{pkiEzsigntemplatepackageID} Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**obj_debug_payload** | [**CommonResponseObjDebugPayload**](CommonResponseObjDebugPayload.md) | | +**obj_debug** | [**CommonResponseObjDebug**](CommonResponseObjDebug.md) | | [optional] ## Example diff --git a/docs/EzsigntemplatepackageGetAutocompleteV2Response.md b/docs/EzsigntemplatepackageGetAutocompleteV2Response.md index e0f206510..d3709bf85 100644 --- a/docs/EzsigntemplatepackageGetAutocompleteV2Response.md +++ b/docs/EzsigntemplatepackageGetAutocompleteV2Response.md @@ -6,6 +6,8 @@ Response for GET /2/object/ezsigntemplatepackage/getAutocomplete Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**obj_debug_payload** | [**CommonResponseObjDebugPayload**](CommonResponseObjDebugPayload.md) | | +**obj_debug** | [**CommonResponseObjDebug**](CommonResponseObjDebug.md) | | [optional] **m_payload** | [**EzsigntemplatepackageGetAutocompleteV2ResponseMPayload**](EzsigntemplatepackageGetAutocompleteV2ResponseMPayload.md) | | ## Example diff --git a/docs/EzsigntemplatepackageGetListV1Response.md b/docs/EzsigntemplatepackageGetListV1Response.md index 2dd3175ee..ee5cd8f9b 100644 --- a/docs/EzsigntemplatepackageGetListV1Response.md +++ b/docs/EzsigntemplatepackageGetListV1Response.md @@ -6,6 +6,8 @@ Response for GET /1/object/ezsigntemplatepackage/getList Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**obj_debug_payload** | [**CommonResponseObjDebugPayloadGetList**](CommonResponseObjDebugPayloadGetList.md) | | +**obj_debug** | [**CommonResponseObjDebug**](CommonResponseObjDebug.md) | | [optional] **m_payload** | [**EzsigntemplatepackageGetListV1ResponseMPayload**](EzsigntemplatepackageGetListV1ResponseMPayload.md) | | ## Example diff --git a/docs/EzsigntemplatepackageGetListV1ResponseMPayload.md b/docs/EzsigntemplatepackageGetListV1ResponseMPayload.md index be4617691..c75d9cd14 100644 --- a/docs/EzsigntemplatepackageGetListV1ResponseMPayload.md +++ b/docs/EzsigntemplatepackageGetListV1ResponseMPayload.md @@ -6,6 +6,8 @@ Payload for GET /1/object/ezsigntemplatepackage/getList Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**i_row_returned** | **int** | The number of rows returned | +**i_row_filtered** | **int** | The number of rows matching your filters (if any) or the total number of rows | **a_obj_ezsigntemplatepackage** | [**List[EzsigntemplatepackageListElement]**](EzsigntemplatepackageListElement.md) | | ## Example diff --git a/docs/EzsigntemplatepackageGetObjectV2Response.md b/docs/EzsigntemplatepackageGetObjectV2Response.md index df6d07af4..64119e28c 100644 --- a/docs/EzsigntemplatepackageGetObjectV2Response.md +++ b/docs/EzsigntemplatepackageGetObjectV2Response.md @@ -6,6 +6,8 @@ Response for GET /2/object/ezsigntemplatepackage/{pkiEzsigntemplatepackageID} Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**obj_debug_payload** | [**CommonResponseObjDebugPayload**](CommonResponseObjDebugPayload.md) | | +**obj_debug** | [**CommonResponseObjDebug**](CommonResponseObjDebug.md) | | [optional] **m_payload** | [**EzsigntemplatepackageGetObjectV2ResponseMPayload**](EzsigntemplatepackageGetObjectV2ResponseMPayload.md) | | ## Example diff --git a/docs/EzsigntemplatepackageRequestCompound.md b/docs/EzsigntemplatepackageRequestCompound.md index 29e1f08b2..1a9dc2e43 100644 --- a/docs/EzsigntemplatepackageRequestCompound.md +++ b/docs/EzsigntemplatepackageRequestCompound.md @@ -6,6 +6,13 @@ A Ezsigntemplatepackage Object and children Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**pki_ezsigntemplatepackage_id** | **int** | The unique ID of the Ezsigntemplatepackage | [optional] +**fki_ezsignfoldertype_id** | **int** | The unique ID of the Ezsignfoldertype. | +**fki_ezdoctemplatedocument_id** | **int** | The unique ID of the Ezdoctemplatedocument | [optional] +**fki_language_id** | **int** | The unique ID of the Language. Valid values: |Value|Description| |-|-| |1|French| |2|English| | +**s_ezsigntemplatepackage_description** | **str** | The description of the Ezsigntemplatepackage | +**b_ezsigntemplatepackage_adminonly** | **bool** | Whether the Ezsigntemplatepackage can be accessed by admin users only (eUserType=Normal) | +**b_ezsigntemplatepackage_isactive** | **bool** | Whether the Ezsigntemplatepackage is active or not | ## Example diff --git a/docs/EzsigntemplatepackageResponseCompound.md b/docs/EzsigntemplatepackageResponseCompound.md index 567624a5f..315a2091b 100644 --- a/docs/EzsigntemplatepackageResponseCompound.md +++ b/docs/EzsigntemplatepackageResponseCompound.md @@ -6,6 +6,18 @@ A Ezsigntemplatepackage Object Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**pki_ezsigntemplatepackage_id** | **int** | The unique ID of the Ezsigntemplatepackage | +**fki_ezsignfoldertype_id** | **int** | The unique ID of the Ezsignfoldertype. | +**fki_ezdoctemplatedocument_id** | **int** | The unique ID of the Ezdoctemplatedocument | [optional] +**fki_language_id** | **int** | The unique ID of the Language. Valid values: |Value|Description| |-|-| |1|French| |2|English| | +**s_ezdoctemplatedocument_name_x** | **str** | The name of the Ezdoctemplatedocument in the language of the requester | [optional] +**s_language_name_x** | **str** | The Name of the Language in the language of the requester | +**s_ezsigntemplatepackage_description** | **str** | The description of the Ezsigntemplatepackage | +**b_ezsigntemplatepackage_adminonly** | **bool** | Whether the Ezsigntemplatepackage can be accessed by admin users only (eUserType=Normal) | +**b_ezsigntemplatepackage_needvalidation** | **bool** | Whether the Ezsignbulksend was automatically modified and needs a manual validation | +**b_ezsigntemplatepackage_isactive** | **bool** | Whether the Ezsigntemplatepackage is active or not | +**s_ezsignfoldertype_name_x** | **str** | The name of the Ezsignfoldertype in the language of the requester | +**b_ezsigntemplatepackage_editallowed** | **bool** | Whether the Ezsigntemplatepackage if allowed to edit or not | **a_obj_ezsigntemplatepackagesigner** | [**List[EzsigntemplatepackagesignerResponseCompound]**](EzsigntemplatepackagesignerResponseCompound.md) | | **a_obj_ezsigntemplatepackagemembership** | [**List[EzsigntemplatepackagemembershipResponseCompound]**](EzsigntemplatepackagemembershipResponseCompound.md) | | diff --git a/docs/EzsigntemplatepackagemembershipCreateObjectV1Response.md b/docs/EzsigntemplatepackagemembershipCreateObjectV1Response.md index 43daba76c..e2a7a1785 100644 --- a/docs/EzsigntemplatepackagemembershipCreateObjectV1Response.md +++ b/docs/EzsigntemplatepackagemembershipCreateObjectV1Response.md @@ -6,6 +6,8 @@ Response for POST /1/object/ezsigntemplatepackagemembership Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**obj_debug_payload** | [**CommonResponseObjDebugPayload**](CommonResponseObjDebugPayload.md) | | +**obj_debug** | [**CommonResponseObjDebug**](CommonResponseObjDebug.md) | | [optional] **m_payload** | [**EzsigntemplatepackagemembershipCreateObjectV1ResponseMPayload**](EzsigntemplatepackagemembershipCreateObjectV1ResponseMPayload.md) | | ## Example diff --git a/docs/EzsigntemplatepackagemembershipDeleteObjectV1Response.md b/docs/EzsigntemplatepackagemembershipDeleteObjectV1Response.md index 7d33c3232..583d101a6 100644 --- a/docs/EzsigntemplatepackagemembershipDeleteObjectV1Response.md +++ b/docs/EzsigntemplatepackagemembershipDeleteObjectV1Response.md @@ -6,6 +6,8 @@ Response for DELETE /1/object/ezsigntemplatepackagemembership/{pkiEzsigntemplate Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**obj_debug_payload** | [**CommonResponseObjDebugPayload**](CommonResponseObjDebugPayload.md) | | +**obj_debug** | [**CommonResponseObjDebug**](CommonResponseObjDebug.md) | | [optional] ## Example diff --git a/docs/EzsigntemplatepackagemembershipGetObjectV2Response.md b/docs/EzsigntemplatepackagemembershipGetObjectV2Response.md index 70b94abac..be72badf3 100644 --- a/docs/EzsigntemplatepackagemembershipGetObjectV2Response.md +++ b/docs/EzsigntemplatepackagemembershipGetObjectV2Response.md @@ -6,6 +6,8 @@ Response for GET /2/object/ezsigntemplatepackagemembership/{pkiEzsigntemplatepac Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**obj_debug_payload** | [**CommonResponseObjDebugPayload**](CommonResponseObjDebugPayload.md) | | +**obj_debug** | [**CommonResponseObjDebug**](CommonResponseObjDebug.md) | | [optional] **m_payload** | [**EzsigntemplatepackagemembershipGetObjectV2ResponseMPayload**](EzsigntemplatepackagemembershipGetObjectV2ResponseMPayload.md) | | ## Example diff --git a/docs/EzsigntemplatepackagemembershipRequestCompound.md b/docs/EzsigntemplatepackagemembershipRequestCompound.md index 9931c330f..98034b8d5 100644 --- a/docs/EzsigntemplatepackagemembershipRequestCompound.md +++ b/docs/EzsigntemplatepackagemembershipRequestCompound.md @@ -6,6 +6,9 @@ A Ezsigntemplatepackagemembership Object and children Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**pki_ezsigntemplatepackagemembership_id** | **int** | The unique ID of the Ezsigntemplatepackagemembership | [optional] +**fki_ezsigntemplatepackage_id** | **int** | The unique ID of the Ezsigntemplatepackage | +**fki_ezsigntemplate_id** | **int** | The unique ID of the Ezsigntemplate | ## Example diff --git a/docs/EzsigntemplatepackagemembershipResponseCompound.md b/docs/EzsigntemplatepackagemembershipResponseCompound.md index 97277a69e..99d70fb02 100644 --- a/docs/EzsigntemplatepackagemembershipResponseCompound.md +++ b/docs/EzsigntemplatepackagemembershipResponseCompound.md @@ -6,6 +6,10 @@ A Ezsigntemplatepackagemembership Object Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**pki_ezsigntemplatepackagemembership_id** | **int** | The unique ID of the Ezsigntemplatepackagemembership | +**fki_ezsigntemplatepackage_id** | **int** | The unique ID of the Ezsigntemplatepackage | +**fki_ezsigntemplate_id** | **int** | The unique ID of the Ezsigntemplate | +**i_ezsigntemplatepackagemembership_order** | **int** | The order in which the Ezsigntemplate will be imported when using an Ezsigntemplatepackage. | **obj_ezsigntemplate** | [**EzsigntemplateResponseCompound**](EzsigntemplateResponseCompound.md) | | **a_obj_ezsigntemplatepackagesignermembership** | [**List[EzsigntemplatepackagesignermembershipResponseCompound]**](EzsigntemplatepackagesignermembershipResponseCompound.md) | | diff --git a/docs/EzsigntemplatepackagesignerCreateObjectV1Response.md b/docs/EzsigntemplatepackagesignerCreateObjectV1Response.md index 7671fe860..aa1e3a15c 100644 --- a/docs/EzsigntemplatepackagesignerCreateObjectV1Response.md +++ b/docs/EzsigntemplatepackagesignerCreateObjectV1Response.md @@ -6,6 +6,8 @@ Response for POST /1/object/ezsigntemplatepackagesigner Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**obj_debug_payload** | [**CommonResponseObjDebugPayload**](CommonResponseObjDebugPayload.md) | | +**obj_debug** | [**CommonResponseObjDebug**](CommonResponseObjDebug.md) | | [optional] **m_payload** | [**EzsigntemplatepackagesignerCreateObjectV1ResponseMPayload**](EzsigntemplatepackagesignerCreateObjectV1ResponseMPayload.md) | | ## Example diff --git a/docs/EzsigntemplatepackagesignerDeleteObjectV1Response.md b/docs/EzsigntemplatepackagesignerDeleteObjectV1Response.md index f068592f4..27d0279ec 100644 --- a/docs/EzsigntemplatepackagesignerDeleteObjectV1Response.md +++ b/docs/EzsigntemplatepackagesignerDeleteObjectV1Response.md @@ -6,6 +6,8 @@ Response for DELETE /1/object/ezsigntemplatepackagesigner/{pkiEzsigntemplatepack Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**obj_debug_payload** | [**CommonResponseObjDebugPayload**](CommonResponseObjDebugPayload.md) | | +**obj_debug** | [**CommonResponseObjDebug**](CommonResponseObjDebug.md) | | [optional] **m_payload** | [**EzsigntemplatepackagesignerDeleteObjectV1ResponseMPayload**](EzsigntemplatepackagesignerDeleteObjectV1ResponseMPayload.md) | | ## Example diff --git a/docs/EzsigntemplatepackagesignerEditObjectV1Response.md b/docs/EzsigntemplatepackagesignerEditObjectV1Response.md index 7f02c1642..c07a88d13 100644 --- a/docs/EzsigntemplatepackagesignerEditObjectV1Response.md +++ b/docs/EzsigntemplatepackagesignerEditObjectV1Response.md @@ -6,6 +6,8 @@ Response for PUT /1/object/ezsigntemplatepackagesigner/{pkiEzsigntemplatepackage Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**obj_debug_payload** | [**CommonResponseObjDebugPayload**](CommonResponseObjDebugPayload.md) | | +**obj_debug** | [**CommonResponseObjDebug**](CommonResponseObjDebug.md) | | [optional] ## Example diff --git a/docs/EzsigntemplatepackagesignerGetObjectV2Response.md b/docs/EzsigntemplatepackagesignerGetObjectV2Response.md index fe96f6522..5977b7b37 100644 --- a/docs/EzsigntemplatepackagesignerGetObjectV2Response.md +++ b/docs/EzsigntemplatepackagesignerGetObjectV2Response.md @@ -6,6 +6,8 @@ Response for GET /2/object/ezsigntemplatepackagesigner/{pkiEzsigntemplatepackage Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**obj_debug_payload** | [**CommonResponseObjDebugPayload**](CommonResponseObjDebugPayload.md) | | +**obj_debug** | [**CommonResponseObjDebug**](CommonResponseObjDebug.md) | | [optional] **m_payload** | [**EzsigntemplatepackagesignerGetObjectV2ResponseMPayload**](EzsigntemplatepackagesignerGetObjectV2ResponseMPayload.md) | | ## Example diff --git a/docs/EzsigntemplatepackagesignerRequestCompound.md b/docs/EzsigntemplatepackagesignerRequestCompound.md index 6f6307470..cf9c65a8d 100644 --- a/docs/EzsigntemplatepackagesignerRequestCompound.md +++ b/docs/EzsigntemplatepackagesignerRequestCompound.md @@ -6,6 +6,14 @@ A Ezsigntemplatepackagesigner Object and children Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**pki_ezsigntemplatepackagesigner_id** | **int** | The unique ID of the Ezsigntemplatepackagesigner | [optional] +**fki_ezsigntemplatepackage_id** | **int** | The unique ID of the Ezsigntemplatepackage | +**fki_ezdoctemplatedocument_id** | **int** | The unique ID of the Ezdoctemplatedocument | [optional] +**fki_user_id** | **int** | The unique ID of the User | [optional] +**fki_usergroup_id** | **int** | The unique ID of the Usergroup | [optional] +**b_ezsigntemplatepackagesigner_receivecopy** | **bool** | If this flag is true. The signatory will receive a copy of every signed Ezsigndocument even if it ain't required to sign the document. | [optional] +**e_ezsigntemplatepackagesigner_mapping** | [**FieldEEzsigntemplatepackagesignerMapping**](FieldEEzsigntemplatepackagesignerMapping.md) | | [optional] [default to FieldEEzsigntemplatepackagesignerMapping.MANUAL] +**s_ezsigntemplatepackagesigner_description** | **str** | The description of the Ezsigntemplatepackagesigner | ## Example diff --git a/docs/EzsigntemplatepackagesignerResponseCompound.md b/docs/EzsigntemplatepackagesignerResponseCompound.md index cce4445d0..a68e04097 100644 --- a/docs/EzsigntemplatepackagesignerResponseCompound.md +++ b/docs/EzsigntemplatepackagesignerResponseCompound.md @@ -6,6 +6,17 @@ A Ezsigntemplatepackagesigner Object Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**pki_ezsigntemplatepackagesigner_id** | **int** | The unique ID of the Ezsigntemplatepackagesigner | +**fki_ezsigntemplatepackage_id** | **int** | The unique ID of the Ezsigntemplatepackage | +**fki_ezdoctemplatedocument_id** | **int** | The unique ID of the Ezdoctemplatedocument | [optional] +**fki_user_id** | **int** | The unique ID of the User | [optional] +**fki_usergroup_id** | **int** | The unique ID of the Usergroup | [optional] +**s_ezdoctemplatedocument_name_x** | **str** | The name of the Ezdoctemplatedocument in the language of the requester | [optional] +**b_ezsigntemplatepackagesigner_receivecopy** | **bool** | If this flag is true. The signatory will receive a copy of every signed Ezsigndocument even if it ain't required to sign the document. | [optional] +**e_ezsigntemplatepackagesigner_mapping** | [**FieldEEzsigntemplatepackagesignerMapping**](FieldEEzsigntemplatepackagesignerMapping.md) | | [optional] [default to FieldEEzsigntemplatepackagesignerMapping.MANUAL] +**s_ezsigntemplatepackagesigner_description** | **str** | The description of the Ezsigntemplatepackagesigner | +**s_user_name** | **str** | The description of the User in the language of the requester | [optional] +**s_usergroup_name_x** | **str** | The Name of the Usergroup in the language of the requester | [optional] ## Example diff --git a/docs/EzsigntemplatepackagesignermembershipCreateObjectV1Response.md b/docs/EzsigntemplatepackagesignermembershipCreateObjectV1Response.md index 9045756d4..2591195ab 100644 --- a/docs/EzsigntemplatepackagesignermembershipCreateObjectV1Response.md +++ b/docs/EzsigntemplatepackagesignermembershipCreateObjectV1Response.md @@ -6,6 +6,8 @@ Response for POST /1/object/ezsigntemplatepackagesignermembership Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**obj_debug_payload** | [**CommonResponseObjDebugPayload**](CommonResponseObjDebugPayload.md) | | +**obj_debug** | [**CommonResponseObjDebug**](CommonResponseObjDebug.md) | | [optional] **m_payload** | [**EzsigntemplatepackagesignermembershipCreateObjectV1ResponseMPayload**](EzsigntemplatepackagesignermembershipCreateObjectV1ResponseMPayload.md) | | ## Example diff --git a/docs/EzsigntemplatepackagesignermembershipDeleteObjectV1Response.md b/docs/EzsigntemplatepackagesignermembershipDeleteObjectV1Response.md index 00381305d..8c2b39614 100644 --- a/docs/EzsigntemplatepackagesignermembershipDeleteObjectV1Response.md +++ b/docs/EzsigntemplatepackagesignermembershipDeleteObjectV1Response.md @@ -6,6 +6,8 @@ Response for DELETE /1/object/ezsigntemplatepackagesignermembership/{pkiEzsignte Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**obj_debug_payload** | [**CommonResponseObjDebugPayload**](CommonResponseObjDebugPayload.md) | | +**obj_debug** | [**CommonResponseObjDebug**](CommonResponseObjDebug.md) | | [optional] **m_payload** | [**EzsigntemplatepackagesignermembershipDeleteObjectV1ResponseMPayload**](EzsigntemplatepackagesignermembershipDeleteObjectV1ResponseMPayload.md) | | ## Example diff --git a/docs/EzsigntemplatepackagesignermembershipGetObjectV2Response.md b/docs/EzsigntemplatepackagesignermembershipGetObjectV2Response.md index c4c19907a..b2bb80afc 100644 --- a/docs/EzsigntemplatepackagesignermembershipGetObjectV2Response.md +++ b/docs/EzsigntemplatepackagesignermembershipGetObjectV2Response.md @@ -6,6 +6,8 @@ Response for GET /2/object/ezsigntemplatepackagesignermembership/{pkiEzsigntempl Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**obj_debug_payload** | [**CommonResponseObjDebugPayload**](CommonResponseObjDebugPayload.md) | | +**obj_debug** | [**CommonResponseObjDebug**](CommonResponseObjDebug.md) | | [optional] **m_payload** | [**EzsigntemplatepackagesignermembershipGetObjectV2ResponseMPayload**](EzsigntemplatepackagesignermembershipGetObjectV2ResponseMPayload.md) | | ## Example diff --git a/docs/EzsigntemplatepackagesignermembershipRequestCompound.md b/docs/EzsigntemplatepackagesignermembershipRequestCompound.md index ba6d331f7..d18b3070e 100644 --- a/docs/EzsigntemplatepackagesignermembershipRequestCompound.md +++ b/docs/EzsigntemplatepackagesignermembershipRequestCompound.md @@ -6,6 +6,11 @@ A Ezsigntemplatepackagesignermembership Object and children Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**pki_ezsigntemplatepackagesignermembership_id** | **int** | The unique ID of the Ezsigntemplatepackagesignermembership | [optional] +**fki_ezsigntemplatepackagemembership_id** | **int** | The unique ID of the Ezsigntemplatepackagemembership | +**fki_ezsigntemplatepackagesigner_id** | **int** | The unique ID of the Ezsigntemplatepackagesigner | +**fki_ezsigntemplatesigner_id** | **int** | The unique ID of the Ezsigntemplatesigner | +**i_ezsigntemplatepackagesignermembership_copy** | **int** | The Copy number in case of multiple copies. | [optional] ## Example diff --git a/docs/EzsigntemplatepackagesignermembershipResponseCompound.md b/docs/EzsigntemplatepackagesignermembershipResponseCompound.md index 19958f976..9f564b0f9 100644 --- a/docs/EzsigntemplatepackagesignermembershipResponseCompound.md +++ b/docs/EzsigntemplatepackagesignermembershipResponseCompound.md @@ -6,6 +6,11 @@ A Ezsigntemplatepackagesignermembership Object Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**pki_ezsigntemplatepackagesignermembership_id** | **int** | The unique ID of the Ezsigntemplatepackagesignermembership | +**fki_ezsigntemplatepackagemembership_id** | **int** | The unique ID of the Ezsigntemplatepackagemembership | +**fki_ezsigntemplatepackagesigner_id** | **int** | The unique ID of the Ezsigntemplatepackagesigner | +**fki_ezsigntemplatesigner_id** | **int** | The unique ID of the Ezsigntemplatesigner | +**i_ezsigntemplatepackagesignermembership_copy** | **int** | The Copy number in case of multiple copies. | [optional] ## Example diff --git a/docs/EzsigntemplatepublicCreateEzsignfolderV1Response.md b/docs/EzsigntemplatepublicCreateEzsignfolderV1Response.md index e031b2a3e..0adc613c1 100644 --- a/docs/EzsigntemplatepublicCreateEzsignfolderV1Response.md +++ b/docs/EzsigntemplatepublicCreateEzsignfolderV1Response.md @@ -6,6 +6,8 @@ Response for POST /1/object/ezsigntemplatepublic/createEzsignfolder Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**obj_debug_payload** | [**CommonResponseObjDebugPayload**](CommonResponseObjDebugPayload.md) | | +**obj_debug** | [**CommonResponseObjDebug**](CommonResponseObjDebug.md) | | [optional] **m_payload** | [**EzsigntemplatepublicCreateEzsignfolderV1ResponseMPayload**](EzsigntemplatepublicCreateEzsignfolderV1ResponseMPayload.md) | | ## Example diff --git a/docs/EzsigntemplatepublicCreateObjectV1Response.md b/docs/EzsigntemplatepublicCreateObjectV1Response.md index 804f4832e..e11319a82 100644 --- a/docs/EzsigntemplatepublicCreateObjectV1Response.md +++ b/docs/EzsigntemplatepublicCreateObjectV1Response.md @@ -6,6 +6,8 @@ Response for POST /1/object/ezsigntemplatepublic Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**obj_debug_payload** | [**CommonResponseObjDebugPayload**](CommonResponseObjDebugPayload.md) | | +**obj_debug** | [**CommonResponseObjDebug**](CommonResponseObjDebug.md) | | [optional] **m_payload** | [**EzsigntemplatepublicCreateObjectV1ResponseMPayload**](EzsigntemplatepublicCreateObjectV1ResponseMPayload.md) | | ## Example diff --git a/docs/EzsigntemplatepublicEditObjectV1Response.md b/docs/EzsigntemplatepublicEditObjectV1Response.md index cad5346e4..948f6a0b0 100644 --- a/docs/EzsigntemplatepublicEditObjectV1Response.md +++ b/docs/EzsigntemplatepublicEditObjectV1Response.md @@ -6,6 +6,8 @@ Response for PUT /1/object/ezsigntemplatepublic/{pkiEzsigntemplatepublicID} Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**obj_debug_payload** | [**CommonResponseObjDebugPayload**](CommonResponseObjDebugPayload.md) | | +**obj_debug** | [**CommonResponseObjDebug**](CommonResponseObjDebug.md) | | [optional] ## Example diff --git a/docs/EzsigntemplatepublicGetEzsigntemplatepublicDetailsV1Response.md b/docs/EzsigntemplatepublicGetEzsigntemplatepublicDetailsV1Response.md index 5bf89a86c..54db83dc4 100644 --- a/docs/EzsigntemplatepublicGetEzsigntemplatepublicDetailsV1Response.md +++ b/docs/EzsigntemplatepublicGetEzsigntemplatepublicDetailsV1Response.md @@ -6,6 +6,8 @@ Response for POST /1/object/ezsigntemplatepublic/getEzsigntemplatepublicDetails Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**obj_debug_payload** | [**CommonResponseObjDebugPayload**](CommonResponseObjDebugPayload.md) | | +**obj_debug** | [**CommonResponseObjDebug**](CommonResponseObjDebug.md) | | [optional] **m_payload** | [**EzsigntemplatepublicGetEzsigntemplatepublicDetailsV1ResponseMPayload**](EzsigntemplatepublicGetEzsigntemplatepublicDetailsV1ResponseMPayload.md) | | ## Example diff --git a/docs/EzsigntemplatepublicGetFormsDataV1Response.md b/docs/EzsigntemplatepublicGetFormsDataV1Response.md index 082bd9bdd..1619dc6f4 100644 --- a/docs/EzsigntemplatepublicGetFormsDataV1Response.md +++ b/docs/EzsigntemplatepublicGetFormsDataV1Response.md @@ -6,6 +6,8 @@ Response for GET /1/object/ezsigntemplatepublic/{pkiEzsigntemplatepublicID}/getF Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**obj_debug_payload** | [**CommonResponseObjDebugPayload**](CommonResponseObjDebugPayload.md) | | +**obj_debug** | [**CommonResponseObjDebug**](CommonResponseObjDebug.md) | | [optional] **m_payload** | [**EzsigntemplatepublicGetFormsDataV1ResponseMPayload**](EzsigntemplatepublicGetFormsDataV1ResponseMPayload.md) | | ## Example diff --git a/docs/EzsigntemplatepublicGetListV1Response.md b/docs/EzsigntemplatepublicGetListV1Response.md index 797097ece..6509171ad 100644 --- a/docs/EzsigntemplatepublicGetListV1Response.md +++ b/docs/EzsigntemplatepublicGetListV1Response.md @@ -6,6 +6,8 @@ Response for GET /1/object/ezsigntemplatepublic/getList Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**obj_debug_payload** | [**CommonResponseObjDebugPayloadGetList**](CommonResponseObjDebugPayloadGetList.md) | | +**obj_debug** | [**CommonResponseObjDebug**](CommonResponseObjDebug.md) | | [optional] **m_payload** | [**EzsigntemplatepublicGetListV1ResponseMPayload**](EzsigntemplatepublicGetListV1ResponseMPayload.md) | | ## Example diff --git a/docs/EzsigntemplatepublicGetListV1ResponseMPayload.md b/docs/EzsigntemplatepublicGetListV1ResponseMPayload.md index bd1b601c3..db6de1284 100644 --- a/docs/EzsigntemplatepublicGetListV1ResponseMPayload.md +++ b/docs/EzsigntemplatepublicGetListV1ResponseMPayload.md @@ -6,6 +6,8 @@ Payload for GET /1/object/ezsigntemplatepublic/getList Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**i_row_returned** | **int** | The number of rows returned | +**i_row_filtered** | **int** | The number of rows matching your filters (if any) or the total number of rows | **a_obj_ezsigntemplatepublic** | [**List[EzsigntemplatepublicListElement]**](EzsigntemplatepublicListElement.md) | | ## Example diff --git a/docs/EzsigntemplatepublicGetObjectV2Response.md b/docs/EzsigntemplatepublicGetObjectV2Response.md index 79d587b5b..cdbfe03ec 100644 --- a/docs/EzsigntemplatepublicGetObjectV2Response.md +++ b/docs/EzsigntemplatepublicGetObjectV2Response.md @@ -6,6 +6,8 @@ Response for GET /2/object/ezsigntemplatepublic/{pkiEzsigntemplatepublicID} Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**obj_debug_payload** | [**CommonResponseObjDebugPayload**](CommonResponseObjDebugPayload.md) | | +**obj_debug** | [**CommonResponseObjDebug**](CommonResponseObjDebug.md) | | [optional] **m_payload** | [**EzsigntemplatepublicGetObjectV2ResponseMPayload**](EzsigntemplatepublicGetObjectV2ResponseMPayload.md) | | ## Example diff --git a/docs/EzsigntemplatepublicRequestCompound.md b/docs/EzsigntemplatepublicRequestCompound.md index ed07215b8..4af67baa0 100644 --- a/docs/EzsigntemplatepublicRequestCompound.md +++ b/docs/EzsigntemplatepublicRequestCompound.md @@ -6,6 +6,16 @@ A Ezsigntemplatepublic Object and children Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**pki_ezsigntemplatepublic_id** | **int** | The unique ID of the Ezsigntemplatepublic | [optional] +**fki_ezsignfoldertype_id** | **int** | The unique ID of the Ezsignfoldertype. | +**fki_userlogintype_id** | **int** | The unique ID of the Userlogintype Valid values: |Value|Description|Detail| |-|-|-| |1|**Email Only**|The Ezsignsigner will receive a secure link by email| |2|**Email and phone or SMS**|The Ezsignsigner will receive a secure link by email and will need to authenticate using SMS or Phone call. **Additional fee applies**| |3|**Email and secret question**|The Ezsignsigner will receive a secure link by email and will need to authenticate using a predefined question and answer| |4|**In person only**|The Ezsignsigner will only be able to sign \"In-Person\" and there won't be any authentication. No email will be sent for invitation to sign. Make sure you evaluate the risk of signature denial and at minimum, we recommend you use a handwritten signature type| |5|**In person with phone or SMS**|The Ezsignsigner will only be able to sign \"In-Person\" and will need to authenticate using SMS or Phone call. No email will be sent for invitation to sign. **Additional fee applies**| |6|**Embedded**|The Ezsignsigner will only be able to sign in the embedded solution. No email will be sent for invitation to sign. **Additional fee applies**| |7|**Embedded with phone or SMS**|The Ezsignsigner will only be able to sign in the embedded solution and will need to authenticate using SMS or Phone call. No email will be sent for invitation to sign. **Additional fee applies**| |8|**No validation**|The Ezsignsigner will not receive an email and won't have to validate his connection using 2 factor. **Additional fee applies**| |9|**Sms only**|The Ezsignsigner will not receive an email but will will need to authenticate using SMS. **Additional fee applies**| | +**fki_ezsigntemplate_id** | **int** | The unique ID of the Ezsigntemplate | [optional] +**fki_ezsigntemplatepackage_id** | **int** | The unique ID of the Ezsigntemplatepackage | [optional] +**s_ezsigntemplatepublic_description** | **str** | The description of the Ezsigntemplatepublic | +**b_ezsigntemplatepublic_isactive** | **bool** | Whether the ezsigntemplatepublic is active or not | +**t_ezsigntemplatepublic_note** | **str** | The note of the Ezsigntemplatepublic | +**e_ezsigntemplatepublic_limittype** | [**FieldEEzsigntemplatepublicLimittype**](FieldEEzsigntemplatepublicLimittype.md) | | +**i_ezsigntemplatepublic_limit** | **int** | The limit of the Ezsigntemplatepublic | ## Example diff --git a/docs/EzsigntemplatepublicResetLimitExceededCounterV1Response.md b/docs/EzsigntemplatepublicResetLimitExceededCounterV1Response.md index f725bf2da..2a8815fd5 100644 --- a/docs/EzsigntemplatepublicResetLimitExceededCounterV1Response.md +++ b/docs/EzsigntemplatepublicResetLimitExceededCounterV1Response.md @@ -6,6 +6,8 @@ Response for POST /1/object/ezsigntemplatepublic/{pkiEzsigntemplatepublicID}/res Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**obj_debug_payload** | [**CommonResponseObjDebugPayload**](CommonResponseObjDebugPayload.md) | | +**obj_debug** | [**CommonResponseObjDebug**](CommonResponseObjDebug.md) | | [optional] **m_payload** | [**EzsigntemplatepublicResetLimitExceededCounterV1ResponseMPayload**](EzsigntemplatepublicResetLimitExceededCounterV1ResponseMPayload.md) | | ## Example diff --git a/docs/EzsigntemplatepublicResetUrlV1Response.md b/docs/EzsigntemplatepublicResetUrlV1Response.md index ba75a4ba3..6af2ce37a 100644 --- a/docs/EzsigntemplatepublicResetUrlV1Response.md +++ b/docs/EzsigntemplatepublicResetUrlV1Response.md @@ -6,6 +6,8 @@ Response for POST /1/object/ezsigntemplatepublic/{pkiEzsigntemplatepublicID}/res Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**obj_debug_payload** | [**CommonResponseObjDebugPayload**](CommonResponseObjDebugPayload.md) | | +**obj_debug** | [**CommonResponseObjDebug**](CommonResponseObjDebug.md) | | [optional] **m_payload** | [**EzsigntemplatepublicResetUrlV1ResponseMPayload**](EzsigntemplatepublicResetUrlV1ResponseMPayload.md) | | ## Example diff --git a/docs/EzsigntemplatepublicResponseCompound.md b/docs/EzsigntemplatepublicResponseCompound.md index 2f905dd98..1fb80d6ea 100644 --- a/docs/EzsigntemplatepublicResponseCompound.md +++ b/docs/EzsigntemplatepublicResponseCompound.md @@ -6,6 +6,24 @@ A Ezsigntemplatepublic Object Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**pki_ezsigntemplatepublic_id** | **int** | The unique ID of the Ezsigntemplatepublic | +**fki_ezsignfoldertype_id** | **int** | The unique ID of the Ezsignfoldertype. | +**s_ezsignfoldertype_name_x** | **str** | The name of the Ezsignfoldertype in the language of the requester | +**fki_userlogintype_id** | **int** | The unique ID of the Userlogintype Valid values: |Value|Description|Detail| |-|-|-| |1|**Email Only**|The Ezsignsigner will receive a secure link by email| |2|**Email and phone or SMS**|The Ezsignsigner will receive a secure link by email and will need to authenticate using SMS or Phone call. **Additional fee applies**| |3|**Email and secret question**|The Ezsignsigner will receive a secure link by email and will need to authenticate using a predefined question and answer| |4|**In person only**|The Ezsignsigner will only be able to sign \"In-Person\" and there won't be any authentication. No email will be sent for invitation to sign. Make sure you evaluate the risk of signature denial and at minimum, we recommend you use a handwritten signature type| |5|**In person with phone or SMS**|The Ezsignsigner will only be able to sign \"In-Person\" and will need to authenticate using SMS or Phone call. No email will be sent for invitation to sign. **Additional fee applies**| |6|**Embedded**|The Ezsignsigner will only be able to sign in the embedded solution. No email will be sent for invitation to sign. **Additional fee applies**| |7|**Embedded with phone or SMS**|The Ezsignsigner will only be able to sign in the embedded solution and will need to authenticate using SMS or Phone call. No email will be sent for invitation to sign. **Additional fee applies**| |8|**No validation**|The Ezsignsigner will not receive an email and won't have to validate his connection using 2 factor. **Additional fee applies**| |9|**Sms only**|The Ezsignsigner will not receive an email but will will need to authenticate using SMS. **Additional fee applies**| | +**s_userlogintype_description_x** | **str** | The description of the Userlogintype in the language of the requester | +**fki_ezsigntemplate_id** | **int** | The unique ID of the Ezsigntemplate | [optional] +**fki_ezsigntemplatepackage_id** | **int** | The unique ID of the Ezsigntemplatepackage | [optional] +**s_ezsigntemplatepublic_description** | **str** | The description of the Ezsigntemplatepublic | +**s_ezsigntemplatepublic_referenceid** | **str** | The referenceid of the Ezsigntemplatepublic | +**b_ezsigntemplatepublic_isactive** | **bool** | Whether the ezsigntemplatepublic is active or not | +**t_ezsigntemplatepublic_note** | **str** | The note of the Ezsigntemplatepublic | +**e_ezsigntemplatepublic_limittype** | [**FieldEEzsigntemplatepublicLimittype**](FieldEEzsigntemplatepublicLimittype.md) | | +**i_ezsigntemplatepublic_limit** | **int** | The limit of the Ezsigntemplatepublic | +**i_ezsigntemplatepublic_limitexceeded** | **int** | The limitexceeded of the Ezsigntemplatepublic | +**dt_ezsigntemplatepublic_limitexceededsince** | **str** | The limitexceededsince of the Ezsigntemplatepublic | +**s_ezsigntemplatepublic_url** | **str** | The url of the Ezsigntemplatepublic You can add these value as query parameters to prefill the corresponding role |Parameter|Description| |-|-| |sEzsigntemplatesignerDescription|The role to fill| |sContactFirstname|The contact firstname| |sContactLastname|The contact lastname| |sEmailAddress|The contact email| |sPhoneE164|The contact phone number| |sPhoneE164Cell|The contact cell phone number| | +**s_ezsigntemplatepublic_ezsigntemplatedescription** | **str** | The Ezsigntemplate/Ezsigntemplatepackage description | +**obj_audit** | [**CommonAudit**](CommonAudit.md) | | [optional] **a_obj_ezsignfolderezsigntemplatepublic** | [**List[CustomEzsignfolderezsigntemplatepublicResponse]**](CustomEzsignfolderezsigntemplatepublicResponse.md) | | ## Example diff --git a/docs/EzsigntemplatesignatureCreateObjectV2Response.md b/docs/EzsigntemplatesignatureCreateObjectV2Response.md index 1b9e366f1..53c5cdd2f 100644 --- a/docs/EzsigntemplatesignatureCreateObjectV2Response.md +++ b/docs/EzsigntemplatesignatureCreateObjectV2Response.md @@ -6,6 +6,8 @@ Response for POST /2/object/ezsigntemplatesignature Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**obj_debug_payload** | [**CommonResponseObjDebugPayload**](CommonResponseObjDebugPayload.md) | | +**obj_debug** | [**CommonResponseObjDebug**](CommonResponseObjDebug.md) | | [optional] **m_payload** | [**EzsigntemplatesignatureCreateObjectV2ResponseMPayload**](EzsigntemplatesignatureCreateObjectV2ResponseMPayload.md) | | ## Example diff --git a/docs/EzsigntemplatesignatureDeleteObjectV1Response.md b/docs/EzsigntemplatesignatureDeleteObjectV1Response.md index 23a7dcf83..d26c9a1fa 100644 --- a/docs/EzsigntemplatesignatureDeleteObjectV1Response.md +++ b/docs/EzsigntemplatesignatureDeleteObjectV1Response.md @@ -6,6 +6,8 @@ Response for DELETE /1/object/ezsigntemplatesignature/{pkiEzsigntemplatesignatur Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**obj_debug_payload** | [**CommonResponseObjDebugPayload**](CommonResponseObjDebugPayload.md) | | +**obj_debug** | [**CommonResponseObjDebug**](CommonResponseObjDebug.md) | | [optional] ## Example diff --git a/docs/EzsigntemplatesignatureEditObjectV2Response.md b/docs/EzsigntemplatesignatureEditObjectV2Response.md index 08cbb53bd..86670290e 100644 --- a/docs/EzsigntemplatesignatureEditObjectV2Response.md +++ b/docs/EzsigntemplatesignatureEditObjectV2Response.md @@ -6,6 +6,8 @@ Response for PUT /2/object/ezsigntemplatesignature/{pkiEzsigntemplatesignatureID Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**obj_debug_payload** | [**CommonResponseObjDebugPayload**](CommonResponseObjDebugPayload.md) | | +**obj_debug** | [**CommonResponseObjDebug**](CommonResponseObjDebug.md) | | [optional] ## Example diff --git a/docs/EzsigntemplatesignatureGetObjectV3Response.md b/docs/EzsigntemplatesignatureGetObjectV3Response.md index 69f493909..15ef9f65a 100644 --- a/docs/EzsigntemplatesignatureGetObjectV3Response.md +++ b/docs/EzsigntemplatesignatureGetObjectV3Response.md @@ -6,6 +6,8 @@ Response for GET /3/object/ezsigntemplatesignature/{pkiEzsigntemplatesignatureID Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**obj_debug_payload** | [**CommonResponseObjDebugPayload**](CommonResponseObjDebugPayload.md) | | +**obj_debug** | [**CommonResponseObjDebug**](CommonResponseObjDebug.md) | | [optional] **m_payload** | [**EzsigntemplatesignatureGetObjectV3ResponseMPayload**](EzsigntemplatesignatureGetObjectV3ResponseMPayload.md) | | ## Example diff --git a/docs/EzsigntemplatesignatureRequestCompound.md b/docs/EzsigntemplatesignatureRequestCompound.md index 66398d085..0d6d63cc2 100644 --- a/docs/EzsigntemplatesignatureRequestCompound.md +++ b/docs/EzsigntemplatesignatureRequestCompound.md @@ -6,9 +6,41 @@ A Ezsigntemplatesignature Object and children Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**pki_ezsigntemplatesignature_id** | **int** | The unique ID of the Ezsigntemplatesignature | [optional] +**fki_ezsigntemplatedocument_id** | **int** | The unique ID of the Ezsigntemplatedocument | +**fki_ezsigntemplatesigner_id** | **int** | The unique ID of the Ezsigntemplatesigner | +**fki_ezsigntemplatesigner_id_validation** | **int** | The unique ID of the Ezsigntemplatesigner | [optional] +**b_ezsigntemplatesignature_handwritten** | **bool** | Whether the Ezsigntemplatesignature must be handwritten or not when eEzsigntemplatesignatureType = Signature. | [optional] +**b_ezsigntemplatesignature_reason** | **bool** | Whether the Ezsigntemplatesignature must include a reason or not when eEzsigntemplatesignatureType = Signature. | [optional] +**e_ezsigntemplatesignature_positioning** | [**FieldEEzsigntemplatesignaturePositioning**](FieldEEzsigntemplatesignaturePositioning.md) | | [optional] +**i_ezsigntemplatedocumentpage_pagenumber** | **int** | The page number in the Ezsigntemplatedocument | +**i_ezsigntemplatesignature_x** | **int** | The X coordinate (Horizontal) where to put the Ezsigntemplatesignature on the page. Coordinate is calculated at 100dpi (dot per inch). So for example, if you want to put the Ezsigntemplatesignature 2 inches from the left border of the page, you would use \"200\" for the X coordinate. | [optional] +**i_ezsigntemplatesignature_y** | **int** | The Y coordinate (Vertical) where to put the Ezsigntemplatesignature on the page. Coordinate is calculated at 100dpi (dot per inch). So for example, if you want to put the Ezsigntemplatesignature 3 inches from the top border of the page, you would use \"300\" for the Y coordinate. | [optional] +**i_ezsigntemplatesignature_width** | **int** | The width of the Ezsigntemplatesignature. Size is calculated at 100dpi (dot per inch). So for example, if you want the Ezsigntemplatesignature to have a width of 2 inches, you would use \"200\" for the iEzsigntemplatesignatureWidth. | [optional] +**i_ezsigntemplatesignature_height** | **int** | The height of the Ezsigntemplatesignature. Size is calculated at 100dpi (dot per inch). So for example, if you want the Ezsigntemplatesignature to have an height of 2 inches, you would use \"200\" for the iEzsigntemplatesignatureHeight. | [optional] +**i_ezsigntemplatesignature_step** | **int** | The step when the Ezsigntemplatesigner will be invited to sign | +**e_ezsigntemplatesignature_type** | [**FieldEEzsigntemplatesignatureType**](FieldEEzsigntemplatesignatureType.md) | | +**e_ezsigntemplatesignature_consultationtrigger** | [**FieldEEzsigntemplatesignatureConsultationtrigger**](FieldEEzsigntemplatesignatureConsultationtrigger.md) | | [optional] +**t_ezsigntemplatesignature_tooltip** | **str** | A tooltip that will be presented to Ezsigntemplatesigner about the Ezsigntemplatesignature | [optional] +**e_ezsigntemplatesignature_tooltipposition** | [**FieldEEzsigntemplatesignatureTooltipposition**](FieldEEzsigntemplatesignatureTooltipposition.md) | | [optional] +**e_ezsigntemplatesignature_font** | [**FieldEEzsigntemplatesignatureFont**](FieldEEzsigntemplatesignatureFont.md) | | [optional] +**b_ezsigntemplatesignature_required** | **bool** | Whether the Ezsigntemplatesignature is required or not. This field is relevant only with Ezsigntemplatesignature with eEzsigntemplatesignatureType = Attachments. | [optional] +**e_ezsigntemplatesignature_attachmentnamesource** | [**FieldEEzsigntemplatesignatureAttachmentnamesource**](FieldEEzsigntemplatesignatureAttachmentnamesource.md) | | [optional] +**s_ezsigntemplatesignature_attachmentdescription** | **str** | The description attached to the attachment name added in Ezsigntemplatesignature of eEzsigntemplatesignatureType Attachments | [optional] +**i_ezsigntemplatesignature_validationstep** | **int** | The step when the Ezsigntemplatesigner will be invited to validate the Ezsigntemplatesignature of eEzsigntemplatesignatureType Attachments | [optional] +**i_ezsigntemplatesignature_maxlength** | **int** | The maximum length for the value in the Ezsigntemplatesignature This can only be set if eEzsigntemplatesignatureType is **FieldText** or **FieldTextarea** | [optional] +**s_ezsigntemplatesignature_defaultvalue** | **str** | The default value for the Ezsigntemplatesignature You can use the codes below and they will be replaced at signature time. | Code | Description | Example | | ------------------------- | ------------ | ------------ | | {sUserFirstname} | The first name of the contact | John | | {sUserLastname} | The last name of the contact | Doe | | {sUserJobtitle} | The job title | Sales Representative | | {sCompany} | Company name | eZmax Solutions Inc. | | {sEmailAddress} | The email address | email@example.com | | {sPhoneE164} | A phone number in E.164 Format | +15149901516 | | {sPhoneE164Cell} | A phone number in E.164 Format | +15149901516 | | [optional] +**s_ezsigntemplatesignature_regexp** | **str** | A regular expression to indicate what values are acceptable for the Ezsigntemplatesignature. This can only be set if eEzsigntemplatesignatureType is **Text** or **Textarea** | [optional] +**e_ezsigntemplatesignature_textvalidation** | [**EnumTextvalidation**](EnumTextvalidation.md) | | [optional] +**s_ezsigntemplatesignature_textvalidationcustommessage** | **str** | Description of validation rule. Show by signatory. | [optional] +**e_ezsigntemplatesignature_dependencyrequirement** | [**FieldEEzsigntemplatesignatureDependencyrequirement**](FieldEEzsigntemplatesignatureDependencyrequirement.md) | | [optional] +**s_ezsigntemplatesignature_positioningpattern** | **str** | The string pattern to search for the positioning. **This is not a regexp** This will be required if **eEzsigntemplatesignaturePositioning** is set to **PerCoordinates** | [optional] +**i_ezsigntemplatesignature_positioningoffsetx** | **int** | The offset X This will be required if **eEzsigntemplatesignaturePositioning** is set to **PerCoordinates** | [optional] +**i_ezsigntemplatesignature_positioningoffsety** | **int** | The offset Y This will be required if **eEzsigntemplatesignaturePositioning** is set to **PerCoordinates** | [optional] +**e_ezsigntemplatesignature_positioningoccurence** | [**FieldEEzsigntemplatesignaturePositioningoccurence**](FieldEEzsigntemplatesignaturePositioningoccurence.md) | | [optional] **b_ezsigntemplatesignature_customdate** | **bool** | Whether the Ezsigntemplatesignature has a custom date format or not. (Only possible when eEzsigntemplatesignatureType is **Name** or **Handwritten**) | [optional] -**a_obj_ezsigntemplatesignaturecustomdate** | [**List[EzsigntemplatesignaturecustomdateRequestCompound]**](EzsigntemplatesignaturecustomdateRequest.md) | An array of custom date blocks that will be filled at the time of signature. Can only be used if bEzsigntemplatesignatureCustomdate is true. Use an empty array if you don't want to have a date at all. | [optional] -**a_obj_ezsigntemplateelementdependency** | [**List[EzsigntemplateelementdependencyRequestCompound]**](EzsigntemplateelementdependencyRequest.md) | | [optional] +**a_obj_ezsigntemplatesignaturecustomdate** | [**List[EzsigntemplatesignaturecustomdateRequestCompound]**](EzsigntemplatesignaturecustomdateRequestCompound.md) | An array of custom date blocks that will be filled at the time of signature. Can only be used if bEzsigntemplatesignatureCustomdate is true. Use an empty array if you don't want to have a date at all. | [optional] +**a_obj_ezsigntemplateelementdependency** | [**List[EzsigntemplateelementdependencyRequestCompound]**](EzsigntemplateelementdependencyRequestCompound.md) | | [optional] ## Example diff --git a/docs/EzsigntemplatesignatureRequestCompoundV2.md b/docs/EzsigntemplatesignatureRequestCompoundV2.md index 353607eb4..121fb2390 100644 --- a/docs/EzsigntemplatesignatureRequestCompoundV2.md +++ b/docs/EzsigntemplatesignatureRequestCompoundV2.md @@ -6,9 +6,41 @@ A Ezsigntemplatesignature Object and children Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**pki_ezsigntemplatesignature_id** | **int** | The unique ID of the Ezsigntemplatesignature | [optional] +**fki_ezsigntemplatedocument_id** | **int** | The unique ID of the Ezsigntemplatedocument | +**fki_ezsigntemplatesigner_id** | **int** | The unique ID of the Ezsigntemplatesigner | +**fki_ezsigntemplatesigner_id_validation** | **int** | The unique ID of the Ezsigntemplatesigner | [optional] +**b_ezsigntemplatesignature_handwritten** | **bool** | Whether the Ezsigntemplatesignature must be handwritten or not when eEzsigntemplatesignatureType = Signature. | [optional] +**b_ezsigntemplatesignature_reason** | **bool** | Whether the Ezsigntemplatesignature must include a reason or not when eEzsigntemplatesignatureType = Signature. | [optional] +**e_ezsigntemplatesignature_positioning** | [**FieldEEzsigntemplatesignaturePositioning**](FieldEEzsigntemplatesignaturePositioning.md) | | [optional] +**i_ezsigntemplatedocumentpage_pagenumber** | **int** | The page number in the Ezsigntemplatedocument | +**i_ezsigntemplatesignature_x** | **int** | The X coordinate (Horizontal) where to put the Ezsigntemplatesignature on the page. Coordinate is calculated at 100dpi (dot per inch). So for example, if you want to put the Ezsigntemplatesignature 2 inches from the left border of the page, you would use \"200\" for the X coordinate. | [optional] +**i_ezsigntemplatesignature_y** | **int** | The Y coordinate (Vertical) where to put the Ezsigntemplatesignature on the page. Coordinate is calculated at 100dpi (dot per inch). So for example, if you want to put the Ezsigntemplatesignature 3 inches from the top border of the page, you would use \"300\" for the Y coordinate. | [optional] +**i_ezsigntemplatesignature_width** | **int** | The width of the Ezsigntemplatesignature. Size is calculated at 100dpi (dot per inch). So for example, if you want the Ezsigntemplatesignature to have a width of 2 inches, you would use \"200\" for the iEzsigntemplatesignatureWidth. | [optional] +**i_ezsigntemplatesignature_height** | **int** | The height of the Ezsigntemplatesignature. Size is calculated at 100dpi (dot per inch). So for example, if you want the Ezsigntemplatesignature to have an height of 2 inches, you would use \"200\" for the iEzsigntemplatesignatureHeight. | [optional] +**i_ezsigntemplatesignature_step** | **int** | The step when the Ezsigntemplatesigner will be invited to sign | +**e_ezsigntemplatesignature_type** | [**FieldEEzsigntemplatesignatureType**](FieldEEzsigntemplatesignatureType.md) | | +**e_ezsigntemplatesignature_consultationtrigger** | [**FieldEEzsigntemplatesignatureConsultationtrigger**](FieldEEzsigntemplatesignatureConsultationtrigger.md) | | [optional] +**t_ezsigntemplatesignature_tooltip** | **str** | A tooltip that will be presented to Ezsigntemplatesigner about the Ezsigntemplatesignature | [optional] +**e_ezsigntemplatesignature_tooltipposition** | [**FieldEEzsigntemplatesignatureTooltipposition**](FieldEEzsigntemplatesignatureTooltipposition.md) | | [optional] +**e_ezsigntemplatesignature_font** | [**FieldEEzsigntemplatesignatureFont**](FieldEEzsigntemplatesignatureFont.md) | | [optional] +**b_ezsigntemplatesignature_required** | **bool** | Whether the Ezsigntemplatesignature is required or not. This field is relevant only with Ezsigntemplatesignature with eEzsigntemplatesignatureType = Attachments. | [optional] +**e_ezsigntemplatesignature_attachmentnamesource** | [**FieldEEzsigntemplatesignatureAttachmentnamesource**](FieldEEzsigntemplatesignatureAttachmentnamesource.md) | | [optional] +**s_ezsigntemplatesignature_attachmentdescription** | **str** | The description attached to the attachment name added in Ezsigntemplatesignature of eEzsigntemplatesignatureType Attachments | [optional] +**i_ezsigntemplatesignature_validationstep** | **int** | The step when the Ezsigntemplatesigner will be invited to validate the Ezsigntemplatesignature of eEzsigntemplatesignatureType Attachments | [optional] +**i_ezsigntemplatesignature_maxlength** | **int** | The maximum length for the value in the Ezsigntemplatesignature This can only be set if eEzsigntemplatesignatureType is **FieldText** or **FieldTextarea** | [optional] +**s_ezsigntemplatesignature_defaultvalue** | **str** | The default value for the Ezsigntemplatesignature You can use the codes below and they will be replaced at signature time. | Code | Description | Example | | ------------------------- | ------------ | ------------ | | {sUserFirstname} | The first name of the contact | John | | {sUserLastname} | The last name of the contact | Doe | | {sUserJobtitle} | The job title | Sales Representative | | {sCompany} | Company name | eZmax Solutions Inc. | | {sEmailAddress} | The email address | email@example.com | | {sPhoneE164} | A phone number in E.164 Format | +15149901516 | | {sPhoneE164Cell} | A phone number in E.164 Format | +15149901516 | | [optional] +**s_ezsigntemplatesignature_regexp** | **str** | A regular expression to indicate what values are acceptable for the Ezsigntemplatesignature. This can only be set if eEzsigntemplatesignatureType is **Text** or **Textarea** | [optional] +**e_ezsigntemplatesignature_textvalidation** | [**EnumTextvalidation**](EnumTextvalidation.md) | | [optional] +**s_ezsigntemplatesignature_textvalidationcustommessage** | **str** | Description of validation rule. Show by signatory. | [optional] +**e_ezsigntemplatesignature_dependencyrequirement** | [**FieldEEzsigntemplatesignatureDependencyrequirement**](FieldEEzsigntemplatesignatureDependencyrequirement.md) | | [optional] +**s_ezsigntemplatesignature_positioningpattern** | **str** | The string pattern to search for the positioning. **This is not a regexp** This will be required if **eEzsigntemplatesignaturePositioning** is set to **PerCoordinates** | [optional] +**i_ezsigntemplatesignature_positioningoffsetx** | **int** | The offset X This will be required if **eEzsigntemplatesignaturePositioning** is set to **PerCoordinates** | [optional] +**i_ezsigntemplatesignature_positioningoffsety** | **int** | The offset Y This will be required if **eEzsigntemplatesignaturePositioning** is set to **PerCoordinates** | [optional] +**e_ezsigntemplatesignature_positioningoccurence** | [**FieldEEzsigntemplatesignaturePositioningoccurence**](FieldEEzsigntemplatesignaturePositioningoccurence.md) | | [optional] **b_ezsigntemplatesignature_customdate** | **bool** | Whether the Ezsigntemplatesignature has a custom date format or not. (Only possible when eEzsigntemplatesignatureType is **Name** or **Handwritten**) | [optional] -**a_obj_ezsigntemplatesignaturecustomdate** | [**List[EzsigntemplatesignaturecustomdateRequestCompoundV2]**](EzsigntemplatesignaturecustomdateRequestV2.md) | An array of custom date blocks that will be filled at the time of signature. Can only be used if bEzsigntemplatesignatureCustomdate is true. Use an empty array if you don't want to have a date at all. | [optional] -**a_obj_ezsigntemplateelementdependency** | [**List[EzsigntemplateelementdependencyRequestCompound]**](EzsigntemplateelementdependencyRequest.md) | | [optional] +**a_obj_ezsigntemplatesignaturecustomdate** | [**List[EzsigntemplatesignaturecustomdateRequestCompoundV2]**](EzsigntemplatesignaturecustomdateRequestCompoundV2.md) | An array of custom date blocks that will be filled at the time of signature. Can only be used if bEzsigntemplatesignatureCustomdate is true. Use an empty array if you don't want to have a date at all. | [optional] +**a_obj_ezsigntemplateelementdependency** | [**List[EzsigntemplateelementdependencyRequestCompound]**](EzsigntemplateelementdependencyRequestCompound.md) | | [optional] ## Example diff --git a/docs/EzsigntemplatesignatureResponseCompound.md b/docs/EzsigntemplatesignatureResponseCompound.md index 0acbd4b6d..4573e3f25 100644 --- a/docs/EzsigntemplatesignatureResponseCompound.md +++ b/docs/EzsigntemplatesignatureResponseCompound.md @@ -6,9 +6,41 @@ A Ezsigntemplatesignature Object Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**pki_ezsigntemplatesignature_id** | **int** | The unique ID of the Ezsigntemplatesignature | +**fki_ezsigntemplatedocument_id** | **int** | The unique ID of the Ezsigntemplatedocument | +**fki_ezsigntemplatesigner_id** | **int** | The unique ID of the Ezsigntemplatesigner | +**fki_ezsigntemplatesigner_id_validation** | **int** | The unique ID of the Ezsigntemplatesigner | [optional] +**b_ezsigntemplatesignature_handwritten** | **bool** | Whether the Ezsigntemplatesignature must be handwritten or not when eEzsigntemplatesignatureType = Signature. | [optional] +**b_ezsigntemplatesignature_reason** | **bool** | Whether the Ezsigntemplatesignature must include a reason or not when eEzsigntemplatesignatureType = Signature. | [optional] +**e_ezsigntemplatesignature_positioning** | [**FieldEEzsigntemplatesignaturePositioning**](FieldEEzsigntemplatesignaturePositioning.md) | | [optional] +**i_ezsigntemplatedocumentpage_pagenumber** | **int** | The page number in the Ezsigntemplatedocument | +**i_ezsigntemplatesignature_x** | **int** | The X coordinate (Horizontal) where to put the Ezsigntemplatesignature on the page. Coordinate is calculated at 100dpi (dot per inch). So for example, if you want to put the Ezsigntemplatesignature 2 inches from the left border of the page, you would use \"200\" for the X coordinate. | [optional] +**i_ezsigntemplatesignature_y** | **int** | The Y coordinate (Vertical) where to put the Ezsigntemplatesignature on the page. Coordinate is calculated at 100dpi (dot per inch). So for example, if you want to put the Ezsigntemplatesignature 3 inches from the top border of the page, you would use \"300\" for the Y coordinate. | [optional] +**i_ezsigntemplatesignature_width** | **int** | The width of the Ezsigntemplatesignature. Size is calculated at 100dpi (dot per inch). So for example, if you want the Ezsigntemplatesignature to have a width of 2 inches, you would use \"200\" for the iEzsigntemplatesignatureWidth. | [optional] +**i_ezsigntemplatesignature_height** | **int** | The height of the Ezsigntemplatesignature. Size is calculated at 100dpi (dot per inch). So for example, if you want the Ezsigntemplatesignature to have an height of 2 inches, you would use \"200\" for the iEzsigntemplatesignatureHeight. | [optional] +**i_ezsigntemplatesignature_step** | **int** | The step when the Ezsigntemplatesigner will be invited to sign | +**e_ezsigntemplatesignature_type** | [**FieldEEzsigntemplatesignatureType**](FieldEEzsigntemplatesignatureType.md) | | +**e_ezsigntemplatesignature_consultationtrigger** | [**FieldEEzsigntemplatesignatureConsultationtrigger**](FieldEEzsigntemplatesignatureConsultationtrigger.md) | | [optional] +**t_ezsigntemplatesignature_tooltip** | **str** | A tooltip that will be presented to Ezsigntemplatesigner about the Ezsigntemplatesignature | [optional] +**e_ezsigntemplatesignature_tooltipposition** | [**FieldEEzsigntemplatesignatureTooltipposition**](FieldEEzsigntemplatesignatureTooltipposition.md) | | [optional] +**e_ezsigntemplatesignature_font** | [**FieldEEzsigntemplatesignatureFont**](FieldEEzsigntemplatesignatureFont.md) | | [optional] +**i_ezsigntemplatesignature_validationstep** | **int** | The step when the Ezsigntemplatesigner will be invited to validate the Ezsigntemplatesignature of eEzsigntemplatesignatureType Attachments | [optional] +**s_ezsigntemplatesignature_attachmentdescription** | **str** | The description attached to the attachment name added in Ezsigntemplatesignature of eEzsigntemplatesignatureType Attachments | [optional] +**e_ezsigntemplatesignature_attachmentnamesource** | [**FieldEEzsigntemplatesignatureAttachmentnamesource**](FieldEEzsigntemplatesignatureAttachmentnamesource.md) | | [optional] +**b_ezsigntemplatesignature_required** | **bool** | Whether the Ezsigntemplatesignature is required or not. This field is relevant only with Ezsigntemplatesignature with eEzsigntemplatesignatureType = Attachments. | [optional] +**i_ezsigntemplatesignature_maxlength** | **int** | The maximum length for the value in the Ezsigntemplatesignature This can only be set if eEzsigntemplatesignatureType is **FieldText** or **FieldTextarea** | [optional] +**s_ezsigntemplatesignature_defaultvalue** | **str** | The default value for the Ezsigntemplatesignature You can use the codes below and they will be replaced at signature time. | Code | Description | Example | | ------------------------- | ------------ | ------------ | | {sUserFirstname} | The first name of the contact | John | | {sUserLastname} | The last name of the contact | Doe | | {sUserJobtitle} | The job title | Sales Representative | | {sCompany} | Company name | eZmax Solutions Inc. | | {sEmailAddress} | The email address | email@example.com | | {sPhoneE164} | A phone number in E.164 Format | +15149901516 | | {sPhoneE164Cell} | A phone number in E.164 Format | +15149901516 | | [optional] +**s_ezsigntemplatesignature_regexp** | **str** | A regular expression to indicate what values are acceptable for the Ezsigntemplatesignature. This can only be set if eEzsigntemplatesignatureType is **Text** or **Textarea** | [optional] +**e_ezsigntemplatesignature_textvalidation** | [**EnumTextvalidation**](EnumTextvalidation.md) | | [optional] +**s_ezsigntemplatesignature_textvalidationcustommessage** | **str** | Description of validation rule. Show by signatory. | [optional] +**e_ezsigntemplatesignature_dependencyrequirement** | [**FieldEEzsigntemplatesignatureDependencyrequirement**](FieldEEzsigntemplatesignatureDependencyrequirement.md) | | [optional] +**s_ezsigntemplatesignature_positioningpattern** | **str** | The string pattern to search for the positioning. **This is not a regexp** This will be required if **eEzsigntemplatesignaturePositioning** is set to **PerCoordinates** | [optional] +**i_ezsigntemplatesignature_positioningoffsetx** | **int** | The offset X This will be required if **eEzsigntemplatesignaturePositioning** is set to **PerCoordinates** | [optional] +**i_ezsigntemplatesignature_positioningoffsety** | **int** | The offset Y This will be required if **eEzsigntemplatesignaturePositioning** is set to **PerCoordinates** | [optional] +**e_ezsigntemplatesignature_positioningoccurence** | [**FieldEEzsigntemplatesignaturePositioningoccurence**](FieldEEzsigntemplatesignaturePositioningoccurence.md) | | [optional] **b_ezsigntemplatesignature_customdate** | **bool** | Whether the Ezsigntemplatesignature has a custom date format or not. (Only possible when eEzsigntemplatesignatureType is **Name** or **Handwritten**) | [optional] -**a_obj_ezsigntemplatesignaturecustomdate** | [**List[EzsigntemplatesignaturecustomdateResponseCompound]**](EzsigntemplatesignaturecustomdateResponse.md) | An array of custom date blocks that will be filled at the time of signature. Can only be used if bEzsigntemplatesignatureCustomdate is true. Use an empty array if you don't want to have a date at all. | [optional] -**a_obj_ezsigntemplateelementdependency** | [**List[EzsigntemplateelementdependencyResponseCompound]**](EzsigntemplateelementdependencyResponse.md) | | [optional] +**a_obj_ezsigntemplatesignaturecustomdate** | [**List[EzsigntemplatesignaturecustomdateResponseCompound]**](EzsigntemplatesignaturecustomdateResponseCompound.md) | An array of custom date blocks that will be filled at the time of signature. Can only be used if bEzsigntemplatesignatureCustomdate is true. Use an empty array if you don't want to have a date at all. | [optional] +**a_obj_ezsigntemplateelementdependency** | [**List[EzsigntemplateelementdependencyResponseCompound]**](EzsigntemplateelementdependencyResponseCompound.md) | | [optional] ## Example diff --git a/docs/EzsigntemplatesignatureResponseCompoundV3.md b/docs/EzsigntemplatesignatureResponseCompoundV3.md index 285ea134d..a19891717 100644 --- a/docs/EzsigntemplatesignatureResponseCompoundV3.md +++ b/docs/EzsigntemplatesignatureResponseCompoundV3.md @@ -6,9 +6,41 @@ A Ezsigntemplatesignature Object Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**pki_ezsigntemplatesignature_id** | **int** | The unique ID of the Ezsigntemplatesignature | +**fki_ezsigntemplatedocument_id** | **int** | The unique ID of the Ezsigntemplatedocument | +**fki_ezsigntemplatesigner_id** | **int** | The unique ID of the Ezsigntemplatesigner | +**fki_ezsigntemplatesigner_id_validation** | **int** | The unique ID of the Ezsigntemplatesigner | [optional] +**b_ezsigntemplatesignature_handwritten** | **bool** | Whether the Ezsigntemplatesignature must be handwritten or not when eEzsigntemplatesignatureType = Signature. | [optional] +**b_ezsigntemplatesignature_reason** | **bool** | Whether the Ezsigntemplatesignature must include a reason or not when eEzsigntemplatesignatureType = Signature. | [optional] +**e_ezsigntemplatesignature_positioning** | [**FieldEEzsigntemplatesignaturePositioning**](FieldEEzsigntemplatesignaturePositioning.md) | | [optional] +**i_ezsigntemplatedocumentpage_pagenumber** | **int** | The page number in the Ezsigntemplatedocument | +**i_ezsigntemplatesignature_x** | **int** | The X coordinate (Horizontal) where to put the Ezsigntemplatesignature on the page. Coordinate is calculated at 100dpi (dot per inch). So for example, if you want to put the Ezsigntemplatesignature 2 inches from the left border of the page, you would use \"200\" for the X coordinate. | [optional] +**i_ezsigntemplatesignature_y** | **int** | The Y coordinate (Vertical) where to put the Ezsigntemplatesignature on the page. Coordinate is calculated at 100dpi (dot per inch). So for example, if you want to put the Ezsigntemplatesignature 3 inches from the top border of the page, you would use \"300\" for the Y coordinate. | [optional] +**i_ezsigntemplatesignature_width** | **int** | The width of the Ezsigntemplatesignature. Size is calculated at 100dpi (dot per inch). So for example, if you want the Ezsigntemplatesignature to have a width of 2 inches, you would use \"200\" for the iEzsigntemplatesignatureWidth. | [optional] +**i_ezsigntemplatesignature_height** | **int** | The height of the Ezsigntemplatesignature. Size is calculated at 100dpi (dot per inch). So for example, if you want the Ezsigntemplatesignature to have an height of 2 inches, you would use \"200\" for the iEzsigntemplatesignatureHeight. | [optional] +**i_ezsigntemplatesignature_step** | **int** | The step when the Ezsigntemplatesigner will be invited to sign | +**e_ezsigntemplatesignature_type** | [**FieldEEzsigntemplatesignatureType**](FieldEEzsigntemplatesignatureType.md) | | +**e_ezsigntemplatesignature_consultationtrigger** | [**FieldEEzsigntemplatesignatureConsultationtrigger**](FieldEEzsigntemplatesignatureConsultationtrigger.md) | | [optional] +**t_ezsigntemplatesignature_tooltip** | **str** | A tooltip that will be presented to Ezsigntemplatesigner about the Ezsigntemplatesignature | [optional] +**e_ezsigntemplatesignature_tooltipposition** | [**FieldEEzsigntemplatesignatureTooltipposition**](FieldEEzsigntemplatesignatureTooltipposition.md) | | [optional] +**e_ezsigntemplatesignature_font** | [**FieldEEzsigntemplatesignatureFont**](FieldEEzsigntemplatesignatureFont.md) | | [optional] +**i_ezsigntemplatesignature_validationstep** | **int** | The step when the Ezsigntemplatesigner will be invited to validate the Ezsigntemplatesignature of eEzsigntemplatesignatureType Attachments | [optional] +**s_ezsigntemplatesignature_attachmentdescription** | **str** | The description attached to the attachment name added in Ezsigntemplatesignature of eEzsigntemplatesignatureType Attachments | [optional] +**e_ezsigntemplatesignature_attachmentnamesource** | [**FieldEEzsigntemplatesignatureAttachmentnamesource**](FieldEEzsigntemplatesignatureAttachmentnamesource.md) | | [optional] +**b_ezsigntemplatesignature_required** | **bool** | Whether the Ezsigntemplatesignature is required or not. This field is relevant only with Ezsigntemplatesignature with eEzsigntemplatesignatureType = Attachments. | [optional] +**i_ezsigntemplatesignature_maxlength** | **int** | The maximum length for the value in the Ezsigntemplatesignature This can only be set if eEzsigntemplatesignatureType is **FieldText** or **FieldTextarea** | [optional] +**s_ezsigntemplatesignature_defaultvalue** | **str** | The default value for the Ezsigntemplatesignature You can use the codes below and they will be replaced at signature time. | Code | Description | Example | | ------------------------- | ------------ | ------------ | | {sUserFirstname} | The first name of the contact | John | | {sUserLastname} | The last name of the contact | Doe | | {sUserJobtitle} | The job title | Sales Representative | | {sCompany} | Company name | eZmax Solutions Inc. | | {sEmailAddress} | The email address | email@example.com | | {sPhoneE164} | A phone number in E.164 Format | +15149901516 | | {sPhoneE164Cell} | A phone number in E.164 Format | +15149901516 | | [optional] +**s_ezsigntemplatesignature_regexp** | **str** | A regular expression to indicate what values are acceptable for the Ezsigntemplatesignature. This can only be set if eEzsigntemplatesignatureType is **Text** or **Textarea** | [optional] +**e_ezsigntemplatesignature_textvalidation** | [**EnumTextvalidation**](EnumTextvalidation.md) | | [optional] +**s_ezsigntemplatesignature_textvalidationcustommessage** | **str** | Description of validation rule. Show by signatory. | [optional] +**e_ezsigntemplatesignature_dependencyrequirement** | [**FieldEEzsigntemplatesignatureDependencyrequirement**](FieldEEzsigntemplatesignatureDependencyrequirement.md) | | [optional] +**s_ezsigntemplatesignature_positioningpattern** | **str** | The string pattern to search for the positioning. **This is not a regexp** This will be required if **eEzsigntemplatesignaturePositioning** is set to **PerCoordinates** | [optional] +**i_ezsigntemplatesignature_positioningoffsetx** | **int** | The offset X This will be required if **eEzsigntemplatesignaturePositioning** is set to **PerCoordinates** | [optional] +**i_ezsigntemplatesignature_positioningoffsety** | **int** | The offset Y This will be required if **eEzsigntemplatesignaturePositioning** is set to **PerCoordinates** | [optional] +**e_ezsigntemplatesignature_positioningoccurence** | [**FieldEEzsigntemplatesignaturePositioningoccurence**](FieldEEzsigntemplatesignaturePositioningoccurence.md) | | [optional] **b_ezsigntemplatesignature_customdate** | **bool** | Whether the Ezsigntemplatesignature has a custom date format or not. (Only possible when eEzsigntemplatesignatureType is **Name** or **Handwritten**) | [optional] -**a_obj_ezsigntemplatesignaturecustomdate** | [**List[EzsigntemplatesignaturecustomdateResponseCompoundV2]**](EzsigntemplatesignaturecustomdateResponseV2.md) | An array of custom date blocks that will be filled at the time of signature. Can only be used if bEzsigntemplatesignatureCustomdate is true. Use an empty array if you don't want to have a date at all. | [optional] -**a_obj_ezsigntemplateelementdependency** | [**List[EzsigntemplateelementdependencyResponseCompound]**](EzsigntemplateelementdependencyResponse.md) | | [optional] +**a_obj_ezsigntemplatesignaturecustomdate** | [**List[EzsigntemplatesignaturecustomdateResponseCompoundV2]**](EzsigntemplatesignaturecustomdateResponseCompoundV2.md) | An array of custom date blocks that will be filled at the time of signature. Can only be used if bEzsigntemplatesignatureCustomdate is true. Use an empty array if you don't want to have a date at all. | [optional] +**a_obj_ezsigntemplateelementdependency** | [**List[EzsigntemplateelementdependencyResponseCompound]**](EzsigntemplateelementdependencyResponseCompound.md) | | [optional] ## Example diff --git a/docs/EzsigntemplatesignerCreateObjectV1Response.md b/docs/EzsigntemplatesignerCreateObjectV1Response.md index 3de3cddd4..891e49270 100644 --- a/docs/EzsigntemplatesignerCreateObjectV1Response.md +++ b/docs/EzsigntemplatesignerCreateObjectV1Response.md @@ -6,6 +6,8 @@ Response for POST /1/object/ezsigntemplatesigner Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**obj_debug_payload** | [**CommonResponseObjDebugPayload**](CommonResponseObjDebugPayload.md) | | +**obj_debug** | [**CommonResponseObjDebug**](CommonResponseObjDebug.md) | | [optional] **m_payload** | [**EzsigntemplatesignerCreateObjectV1ResponseMPayload**](EzsigntemplatesignerCreateObjectV1ResponseMPayload.md) | | ## Example diff --git a/docs/EzsigntemplatesignerDeleteObjectV1Response.md b/docs/EzsigntemplatesignerDeleteObjectV1Response.md index 99c87b8da..b93ee929b 100644 --- a/docs/EzsigntemplatesignerDeleteObjectV1Response.md +++ b/docs/EzsigntemplatesignerDeleteObjectV1Response.md @@ -6,6 +6,8 @@ Response for DELETE /1/object/ezsigntemplatesigner/{pkiEzsigntemplatesignerID} Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**obj_debug_payload** | [**CommonResponseObjDebugPayload**](CommonResponseObjDebugPayload.md) | | +**obj_debug** | [**CommonResponseObjDebug**](CommonResponseObjDebug.md) | | [optional] ## Example diff --git a/docs/EzsigntemplatesignerEditObjectV1Response.md b/docs/EzsigntemplatesignerEditObjectV1Response.md index 2b797492d..07235cdaf 100644 --- a/docs/EzsigntemplatesignerEditObjectV1Response.md +++ b/docs/EzsigntemplatesignerEditObjectV1Response.md @@ -6,6 +6,8 @@ Response for PUT /1/object/ezsigntemplatesigner/{pkiEzsigntemplatesignerID} Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**obj_debug_payload** | [**CommonResponseObjDebugPayload**](CommonResponseObjDebugPayload.md) | | +**obj_debug** | [**CommonResponseObjDebug**](CommonResponseObjDebug.md) | | [optional] ## Example diff --git a/docs/EzsigntemplatesignerGetObjectV2Response.md b/docs/EzsigntemplatesignerGetObjectV2Response.md index 1d50a23a7..0cf5c0062 100644 --- a/docs/EzsigntemplatesignerGetObjectV2Response.md +++ b/docs/EzsigntemplatesignerGetObjectV2Response.md @@ -6,6 +6,8 @@ Response for GET /2/object/ezsigntemplatesigner/{pkiEzsigntemplatesignerID} Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**obj_debug_payload** | [**CommonResponseObjDebugPayload**](CommonResponseObjDebugPayload.md) | | +**obj_debug** | [**CommonResponseObjDebug**](CommonResponseObjDebug.md) | | [optional] **m_payload** | [**EzsigntemplatesignerGetObjectV2ResponseMPayload**](EzsigntemplatesignerGetObjectV2ResponseMPayload.md) | | ## Example diff --git a/docs/EzsigntemplatesignerRequestCompound.md b/docs/EzsigntemplatesignerRequestCompound.md index 9477f2ed1..b3b4e4f33 100644 --- a/docs/EzsigntemplatesignerRequestCompound.md +++ b/docs/EzsigntemplatesignerRequestCompound.md @@ -6,6 +6,14 @@ A Ezsigntemplatesigner Object and children Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**pki_ezsigntemplatesigner_id** | **int** | The unique ID of the Ezsigntemplatesigner | [optional] +**fki_ezsigntemplate_id** | **int** | The unique ID of the Ezsigntemplate | +**fki_user_id** | **int** | The unique ID of the User | [optional] +**fki_usergroup_id** | **int** | The unique ID of the Usergroup | [optional] +**fki_ezdoctemplatedocument_id** | **int** | The unique ID of the Ezdoctemplatedocument | [optional] +**b_ezsigntemplatesigner_receivecopy** | **bool** | If this flag is true. The signatory will receive a copy of every signed Ezsigndocument even if it ain't required to sign the document. | [optional] +**e_ezsigntemplatesigner_mapping** | [**FieldEEzsigntemplatesignerMapping**](FieldEEzsigntemplatesignerMapping.md) | | [optional] +**s_ezsigntemplatesigner_description** | **str** | The description of the Ezsigntemplatesigner | ## Example diff --git a/docs/EzsigntemplatesignerResponseCompound.md b/docs/EzsigntemplatesignerResponseCompound.md index 2be084cd6..0686bd0e0 100644 --- a/docs/EzsigntemplatesignerResponseCompound.md +++ b/docs/EzsigntemplatesignerResponseCompound.md @@ -6,6 +6,16 @@ A Ezsigntemplatesigner Object Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**pki_ezsigntemplatesigner_id** | **int** | The unique ID of the Ezsigntemplatesigner | +**fki_ezsigntemplate_id** | **int** | The unique ID of the Ezsigntemplate | +**fki_user_id** | **int** | The unique ID of the User | [optional] +**fki_usergroup_id** | **int** | The unique ID of the Usergroup | [optional] +**fki_ezdoctemplatedocument_id** | **int** | The unique ID of the Ezdoctemplatedocument | [optional] +**b_ezsigntemplatesigner_receivecopy** | **bool** | If this flag is true. The signatory will receive a copy of every signed Ezsigndocument even if it ain't required to sign the document. | [optional] +**e_ezsigntemplatesigner_mapping** | [**FieldEEzsigntemplatesignerMapping**](FieldEEzsigntemplatesignerMapping.md) | | [optional] +**s_ezsigntemplatesigner_description** | **str** | The description of the Ezsigntemplatesigner | +**s_user_name** | **str** | The description of the User in the language of the requester | [optional] +**s_usergroup_name_x** | **str** | The Name of the Usergroup in the language of the requester | [optional] ## Example diff --git a/docs/EzsigntsarequirementGetAutocompleteV2Response.md b/docs/EzsigntsarequirementGetAutocompleteV2Response.md index 19924c8fa..a5709d001 100644 --- a/docs/EzsigntsarequirementGetAutocompleteV2Response.md +++ b/docs/EzsigntsarequirementGetAutocompleteV2Response.md @@ -6,6 +6,8 @@ Response for GET /2/object/ezsigntsarequirement/getAutocomplete Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**obj_debug_payload** | [**CommonResponseObjDebugPayload**](CommonResponseObjDebugPayload.md) | | +**obj_debug** | [**CommonResponseObjDebug**](CommonResponseObjDebug.md) | | [optional] **m_payload** | [**EzsigntsarequirementGetAutocompleteV2ResponseMPayload**](EzsigntsarequirementGetAutocompleteV2ResponseMPayload.md) | | ## Example diff --git a/docs/EzsignuserEditObjectV1Response.md b/docs/EzsignuserEditObjectV1Response.md index dab938c86..151ea4c1f 100644 --- a/docs/EzsignuserEditObjectV1Response.md +++ b/docs/EzsignuserEditObjectV1Response.md @@ -6,6 +6,8 @@ Response for PUT /1/object/ezsignuser/{pkiEzsignuserID} Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**obj_debug_payload** | [**CommonResponseObjDebugPayload**](CommonResponseObjDebugPayload.md) | | +**obj_debug** | [**CommonResponseObjDebug**](CommonResponseObjDebug.md) | | [optional] ## Example diff --git a/docs/EzsignuserGetObjectV2Response.md b/docs/EzsignuserGetObjectV2Response.md index 1cb808b98..598719016 100644 --- a/docs/EzsignuserGetObjectV2Response.md +++ b/docs/EzsignuserGetObjectV2Response.md @@ -6,6 +6,8 @@ Response for GET /2/object/ezsignuser/{pkiEzsignuserID} Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**obj_debug_payload** | [**CommonResponseObjDebugPayload**](CommonResponseObjDebugPayload.md) | | +**obj_debug** | [**CommonResponseObjDebug**](CommonResponseObjDebug.md) | | [optional] **m_payload** | [**EzsignuserGetObjectV2ResponseMPayload**](EzsignuserGetObjectV2ResponseMPayload.md) | | ## Example diff --git a/docs/EzsignuserRequestCompound.md b/docs/EzsignuserRequestCompound.md index c738bd505..61a5684b8 100644 --- a/docs/EzsignuserRequestCompound.md +++ b/docs/EzsignuserRequestCompound.md @@ -6,6 +6,9 @@ A Ezsignuser Object and children Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**pki_ezsignuser_id** | **int** | The unique ID of the Ezsignuser | [optional] +**fki_contact_id** | **int** | The unique ID of the Contact | +**obj_contact** | [**ContactRequestCompoundV2**](ContactRequestCompoundV2.md) | | ## Example diff --git a/docs/EzsignuserResponseCompound.md b/docs/EzsignuserResponseCompound.md index eac140c3d..d07a0cf85 100644 --- a/docs/EzsignuserResponseCompound.md +++ b/docs/EzsignuserResponseCompound.md @@ -6,6 +6,10 @@ A Ezsignuser Object Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**pki_ezsignuser_id** | **int** | The unique ID of the Ezsignuser | +**fki_contact_id** | **int** | The unique ID of the Contact | +**obj_contact** | [**ContactResponseCompound**](ContactResponseCompound.md) | | +**obj_audit** | [**CommonAudit**](CommonAudit.md) | | ## Example diff --git a/docs/FontGetAutocompleteV2Response.md b/docs/FontGetAutocompleteV2Response.md index b89b3e4aa..df9dbd62c 100644 --- a/docs/FontGetAutocompleteV2Response.md +++ b/docs/FontGetAutocompleteV2Response.md @@ -6,6 +6,8 @@ Response for GET /2/object/font/getAutocomplete Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**obj_debug_payload** | [**CommonResponseObjDebugPayload**](CommonResponseObjDebugPayload.md) | | +**obj_debug** | [**CommonResponseObjDebug**](CommonResponseObjDebug.md) | | [optional] **m_payload** | [**FontGetAutocompleteV2ResponseMPayload**](FontGetAutocompleteV2ResponseMPayload.md) | | ## Example diff --git a/docs/FranchisebrokerGetAutocompleteV2Response.md b/docs/FranchisebrokerGetAutocompleteV2Response.md index 5da9911a7..27d6a7ee8 100644 --- a/docs/FranchisebrokerGetAutocompleteV2Response.md +++ b/docs/FranchisebrokerGetAutocompleteV2Response.md @@ -6,6 +6,8 @@ Response for GET /2/object/franchisebroker/getAutocomplete Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**obj_debug_payload** | [**CommonResponseObjDebugPayload**](CommonResponseObjDebugPayload.md) | | +**obj_debug** | [**CommonResponseObjDebug**](CommonResponseObjDebug.md) | | [optional] **m_payload** | [**FranchisebrokerGetAutocompleteV2ResponseMPayload**](FranchisebrokerGetAutocompleteV2ResponseMPayload.md) | | ## Example diff --git a/docs/FranchiseofficeGetAutocompleteV2Response.md b/docs/FranchiseofficeGetAutocompleteV2Response.md index d5edbca71..07542eeac 100644 --- a/docs/FranchiseofficeGetAutocompleteV2Response.md +++ b/docs/FranchiseofficeGetAutocompleteV2Response.md @@ -6,6 +6,8 @@ Response for GET /2/object/franchiseoffice/getAutocomplete Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**obj_debug_payload** | [**CommonResponseObjDebugPayload**](CommonResponseObjDebugPayload.md) | | +**obj_debug** | [**CommonResponseObjDebug**](CommonResponseObjDebug.md) | | [optional] **m_payload** | [**FranchiseofficeGetAutocompleteV2ResponseMPayload**](FranchiseofficeGetAutocompleteV2ResponseMPayload.md) | | ## Example diff --git a/docs/FranchisereferalincomeCreateObjectV2Response.md b/docs/FranchisereferalincomeCreateObjectV2Response.md index bafb2e675..82d905a2c 100644 --- a/docs/FranchisereferalincomeCreateObjectV2Response.md +++ b/docs/FranchisereferalincomeCreateObjectV2Response.md @@ -6,6 +6,8 @@ Response for POST /2/object/franchisereferalincome Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**obj_debug_payload** | [**CommonResponseObjDebugPayload**](CommonResponseObjDebugPayload.md) | | +**obj_debug** | [**CommonResponseObjDebug**](CommonResponseObjDebug.md) | | [optional] **m_payload** | [**FranchisereferalincomeCreateObjectV2ResponseMPayload**](FranchisereferalincomeCreateObjectV2ResponseMPayload.md) | | ## Example diff --git a/docs/FranchisereferalincomeRequestCompound.md b/docs/FranchisereferalincomeRequestCompound.md index 51f8db771..d666899ac 100644 --- a/docs/FranchisereferalincomeRequestCompound.md +++ b/docs/FranchisereferalincomeRequestCompound.md @@ -6,6 +6,18 @@ A Franchisereferalincome Object and children to create a complete structure Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**pki_franchisereferalincome_id** | **int** | The unique ID of the Franchisereferalincome | [optional] +**fki_franchisebroker_id** | **int** | The unique ID of the Franchisebroker | +**fki_franchisereferalincomeprogram_id** | **int** | The unique ID of the Franchisereferalincomeprogram | +**fki_period_id** | **int** | The unique ID of the Period | +**d_franchisereferalincome_loan** | **str** | The loan amount | +**d_franchisereferalincome_franchiseamount** | **str** | The amount that will be given to the franchise | +**d_franchisereferalincome_franchisoramount** | **str** | The amount that will be kept by the franchisor | +**d_franchisereferalincome_agentamount** | **str** | The amount that will be given to the agent | +**dt_franchisereferalincome_disbursed** | **str** | The date the amounts were disbursed | +**t_franchisereferalincome_comment** | **str** | Comment about the transaction | +**fki_franchiseoffice_id** | **int** | The unique ID of the Franchisereoffice | +**s_franchisereferalincome_remoteid** | **str** | | **obj_address** | [**AddressRequest**](AddressRequest.md) | | [optional] **a_obj_contact** | [**List[ContactRequestCompound]**](ContactRequestCompound.md) | | diff --git a/docs/GlaccountGetAutocompleteV2Response.md b/docs/GlaccountGetAutocompleteV2Response.md index a5fed9f72..a5b1a4011 100644 --- a/docs/GlaccountGetAutocompleteV2Response.md +++ b/docs/GlaccountGetAutocompleteV2Response.md @@ -6,6 +6,8 @@ Response for GET /2/object/glaccount/getAutocomplete Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**obj_debug_payload** | [**CommonResponseObjDebugPayload**](CommonResponseObjDebugPayload.md) | | +**obj_debug** | [**CommonResponseObjDebug**](CommonResponseObjDebug.md) | | [optional] **m_payload** | [**GlaccountGetAutocompleteV2ResponseMPayload**](GlaccountGetAutocompleteV2ResponseMPayload.md) | | ## Example diff --git a/docs/GlaccountcontainerGetAutocompleteV2Response.md b/docs/GlaccountcontainerGetAutocompleteV2Response.md index 595c324b2..8363c3e15 100644 --- a/docs/GlaccountcontainerGetAutocompleteV2Response.md +++ b/docs/GlaccountcontainerGetAutocompleteV2Response.md @@ -6,6 +6,8 @@ Response for GET /2/object/glaccountcontainer/getAutocomplete Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**obj_debug_payload** | [**CommonResponseObjDebugPayload**](CommonResponseObjDebugPayload.md) | | +**obj_debug** | [**CommonResponseObjDebug**](CommonResponseObjDebug.md) | | [optional] **m_payload** | [**GlaccountcontainerGetAutocompleteV2ResponseMPayload**](GlaccountcontainerGetAutocompleteV2ResponseMPayload.md) | | ## Example diff --git a/docs/InscriptionGetAttachmentsV1Response.md b/docs/InscriptionGetAttachmentsV1Response.md index 331c631bd..9acfb241f 100644 --- a/docs/InscriptionGetAttachmentsV1Response.md +++ b/docs/InscriptionGetAttachmentsV1Response.md @@ -6,6 +6,8 @@ Response for GET /1/object/inscription/{pkiInscriptionID}/getAttachments Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**obj_debug_payload** | [**CommonResponseObjDebugPayload**](CommonResponseObjDebugPayload.md) | | +**obj_debug** | [**CommonResponseObjDebug**](CommonResponseObjDebug.md) | | [optional] **m_payload** | [**InscriptionGetAttachmentsV1ResponseMPayload**](InscriptionGetAttachmentsV1ResponseMPayload.md) | | ## Example diff --git a/docs/InscriptionGetCommunicationCountV1Response.md b/docs/InscriptionGetCommunicationCountV1Response.md index 2652a1f98..968dfe818 100644 --- a/docs/InscriptionGetCommunicationCountV1Response.md +++ b/docs/InscriptionGetCommunicationCountV1Response.md @@ -6,6 +6,8 @@ Response for GET /1/object/inscription/{pkiInscriptionID}/getCommunicationCount Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**obj_debug_payload** | [**CommonResponseObjDebugPayload**](CommonResponseObjDebugPayload.md) | | +**obj_debug** | [**CommonResponseObjDebug**](CommonResponseObjDebug.md) | | [optional] **m_payload** | [**InscriptionGetCommunicationCountV1ResponseMPayload**](InscriptionGetCommunicationCountV1ResponseMPayload.md) | | ## Example diff --git a/docs/InscriptionGetCommunicationListV1Response.md b/docs/InscriptionGetCommunicationListV1Response.md index b4f98783e..9d190edff 100644 --- a/docs/InscriptionGetCommunicationListV1Response.md +++ b/docs/InscriptionGetCommunicationListV1Response.md @@ -6,6 +6,8 @@ Response for GET /1/object/inscription/{pkiInscriptionID}/getCommunicationList Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**obj_debug_payload** | [**CommonResponseObjDebugPayloadGetList**](CommonResponseObjDebugPayloadGetList.md) | | +**obj_debug** | [**CommonResponseObjDebug**](CommonResponseObjDebug.md) | | [optional] **m_payload** | [**InscriptionGetCommunicationListV1ResponseMPayload**](InscriptionGetCommunicationListV1ResponseMPayload.md) | | ## Example diff --git a/docs/InscriptionGetCommunicationrecipientsV1Response.md b/docs/InscriptionGetCommunicationrecipientsV1Response.md index 1d3e2b223..cb2291cdd 100644 --- a/docs/InscriptionGetCommunicationrecipientsV1Response.md +++ b/docs/InscriptionGetCommunicationrecipientsV1Response.md @@ -6,6 +6,8 @@ Response for GET /1/object/inscription/{pkiInscriptionID}/getCommunicationrecipi Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**obj_debug_payload** | [**CommonResponseObjDebugPayload**](CommonResponseObjDebugPayload.md) | | +**obj_debug** | [**CommonResponseObjDebug**](CommonResponseObjDebug.md) | | [optional] **m_payload** | [**InscriptionGetCommunicationrecipientsV1ResponseMPayload**](InscriptionGetCommunicationrecipientsV1ResponseMPayload.md) | | ## Example diff --git a/docs/InscriptionGetCommunicationsendersV1Response.md b/docs/InscriptionGetCommunicationsendersV1Response.md index 5ebec8af2..8120c400f 100644 --- a/docs/InscriptionGetCommunicationsendersV1Response.md +++ b/docs/InscriptionGetCommunicationsendersV1Response.md @@ -6,6 +6,8 @@ Response for GET /1/object/inscription/{pkiInscriptionID}/getCommunicationrecipi Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**obj_debug_payload** | [**CommonResponseObjDebugPayload**](CommonResponseObjDebugPayload.md) | | +**obj_debug** | [**CommonResponseObjDebug**](CommonResponseObjDebug.md) | | [optional] **m_payload** | [**InscriptionGetCommunicationsendersV1ResponseMPayload**](InscriptionGetCommunicationsendersV1ResponseMPayload.md) | | ## Example diff --git a/docs/InscriptionnotauthenticatedGetCommunicationCountV1Response.md b/docs/InscriptionnotauthenticatedGetCommunicationCountV1Response.md index 4a62a2b5d..e3a57c2de 100644 --- a/docs/InscriptionnotauthenticatedGetCommunicationCountV1Response.md +++ b/docs/InscriptionnotauthenticatedGetCommunicationCountV1Response.md @@ -6,6 +6,8 @@ Response for GET /1/object/inscriptionnotauthenticated/{pkiInscriptionnotauthent Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**obj_debug_payload** | [**CommonResponseObjDebugPayload**](CommonResponseObjDebugPayload.md) | | +**obj_debug** | [**CommonResponseObjDebug**](CommonResponseObjDebug.md) | | [optional] **m_payload** | [**InscriptionnotauthenticatedGetCommunicationCountV1ResponseMPayload**](InscriptionnotauthenticatedGetCommunicationCountV1ResponseMPayload.md) | | ## Example diff --git a/docs/InscriptionnotauthenticatedGetCommunicationListV1Response.md b/docs/InscriptionnotauthenticatedGetCommunicationListV1Response.md index eccb4f89a..e18185624 100644 --- a/docs/InscriptionnotauthenticatedGetCommunicationListV1Response.md +++ b/docs/InscriptionnotauthenticatedGetCommunicationListV1Response.md @@ -6,6 +6,8 @@ Response for GET /1/object/inscriptionnotauthenticated/{pkiInscriptionnotauthent Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**obj_debug_payload** | [**CommonResponseObjDebugPayloadGetList**](CommonResponseObjDebugPayloadGetList.md) | | +**obj_debug** | [**CommonResponseObjDebug**](CommonResponseObjDebug.md) | | [optional] **m_payload** | [**InscriptionnotauthenticatedGetCommunicationListV1ResponseMPayload**](InscriptionnotauthenticatedGetCommunicationListV1ResponseMPayload.md) | | ## Example diff --git a/docs/InscriptionnotauthenticatedGetCommunicationrecipientsV1Response.md b/docs/InscriptionnotauthenticatedGetCommunicationrecipientsV1Response.md index 66956d650..03e0565f5 100644 --- a/docs/InscriptionnotauthenticatedGetCommunicationrecipientsV1Response.md +++ b/docs/InscriptionnotauthenticatedGetCommunicationrecipientsV1Response.md @@ -6,6 +6,8 @@ Response for GET /1/object/inscriptionnotauthenticated/{pkiInscriptionnotauthent Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**obj_debug_payload** | [**CommonResponseObjDebugPayload**](CommonResponseObjDebugPayload.md) | | +**obj_debug** | [**CommonResponseObjDebug**](CommonResponseObjDebug.md) | | [optional] **m_payload** | [**InscriptionnotauthenticatedGetCommunicationrecipientsV1ResponseMPayload**](InscriptionnotauthenticatedGetCommunicationrecipientsV1ResponseMPayload.md) | | ## Example diff --git a/docs/InscriptionnotauthenticatedGetCommunicationsendersV1Response.md b/docs/InscriptionnotauthenticatedGetCommunicationsendersV1Response.md index 07d2c49dd..ac50bd377 100644 --- a/docs/InscriptionnotauthenticatedGetCommunicationsendersV1Response.md +++ b/docs/InscriptionnotauthenticatedGetCommunicationsendersV1Response.md @@ -6,6 +6,8 @@ Response for GET /1/object/inscriptionnotauthenticated/{pkiInscriptionnotauthent Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**obj_debug_payload** | [**CommonResponseObjDebugPayload**](CommonResponseObjDebugPayload.md) | | +**obj_debug** | [**CommonResponseObjDebug**](CommonResponseObjDebug.md) | | [optional] **m_payload** | [**InscriptionnotauthenticatedGetCommunicationsendersV1ResponseMPayload**](InscriptionnotauthenticatedGetCommunicationsendersV1ResponseMPayload.md) | | ## Example diff --git a/docs/InscriptiontempGetCommunicationCountV1Response.md b/docs/InscriptiontempGetCommunicationCountV1Response.md index bdb619c37..8ff514fcc 100644 --- a/docs/InscriptiontempGetCommunicationCountV1Response.md +++ b/docs/InscriptiontempGetCommunicationCountV1Response.md @@ -6,6 +6,8 @@ Response for GET /1/object/inscriptiontemp/{pkiInscriptiontempID}/getCommunicati Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**obj_debug_payload** | [**CommonResponseObjDebugPayload**](CommonResponseObjDebugPayload.md) | | +**obj_debug** | [**CommonResponseObjDebug**](CommonResponseObjDebug.md) | | [optional] **m_payload** | [**InscriptiontempGetCommunicationCountV1ResponseMPayload**](InscriptiontempGetCommunicationCountV1ResponseMPayload.md) | | ## Example diff --git a/docs/InscriptiontempGetCommunicationListV1Response.md b/docs/InscriptiontempGetCommunicationListV1Response.md index e0696a7d8..abf38a6f3 100644 --- a/docs/InscriptiontempGetCommunicationListV1Response.md +++ b/docs/InscriptiontempGetCommunicationListV1Response.md @@ -6,6 +6,8 @@ Response for GET /1/object/inscriptiontemp/{pkiInscriptiontempID}/getCommunicati Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**obj_debug_payload** | [**CommonResponseObjDebugPayloadGetList**](CommonResponseObjDebugPayloadGetList.md) | | +**obj_debug** | [**CommonResponseObjDebug**](CommonResponseObjDebug.md) | | [optional] **m_payload** | [**InscriptiontempGetCommunicationListV1ResponseMPayload**](InscriptiontempGetCommunicationListV1ResponseMPayload.md) | | ## Example diff --git a/docs/InscriptiontempGetCommunicationrecipientsV1Response.md b/docs/InscriptiontempGetCommunicationrecipientsV1Response.md index 0698a4026..5081dcebb 100644 --- a/docs/InscriptiontempGetCommunicationrecipientsV1Response.md +++ b/docs/InscriptiontempGetCommunicationrecipientsV1Response.md @@ -6,6 +6,8 @@ Response for GET /1/object/inscriptiontemp/{pkiInscriptiontempID}/getCommunicati Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**obj_debug_payload** | [**CommonResponseObjDebugPayload**](CommonResponseObjDebugPayload.md) | | +**obj_debug** | [**CommonResponseObjDebug**](CommonResponseObjDebug.md) | | [optional] **m_payload** | [**InscriptiontempGetCommunicationrecipientsV1ResponseMPayload**](InscriptiontempGetCommunicationrecipientsV1ResponseMPayload.md) | | ## Example diff --git a/docs/InscriptiontempGetCommunicationsendersV1Response.md b/docs/InscriptiontempGetCommunicationsendersV1Response.md index 5c5be3d9d..d673aa1ff 100644 --- a/docs/InscriptiontempGetCommunicationsendersV1Response.md +++ b/docs/InscriptiontempGetCommunicationsendersV1Response.md @@ -6,6 +6,8 @@ Response for GET /1/object/inscriptiontemp/{pkiInscriptiontempID}/getCommunicati Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**obj_debug_payload** | [**CommonResponseObjDebugPayload**](CommonResponseObjDebugPayload.md) | | +**obj_debug** | [**CommonResponseObjDebug**](CommonResponseObjDebug.md) | | [optional] **m_payload** | [**InscriptiontempGetCommunicationsendersV1ResponseMPayload**](InscriptiontempGetCommunicationsendersV1ResponseMPayload.md) | | ## Example diff --git a/docs/InvoiceGetAttachmentsV1Response.md b/docs/InvoiceGetAttachmentsV1Response.md index 8b032bb09..636c20023 100644 --- a/docs/InvoiceGetAttachmentsV1Response.md +++ b/docs/InvoiceGetAttachmentsV1Response.md @@ -6,6 +6,8 @@ Response for GET /1/object/invoice/{pkiInvoiceID}/getAttachments Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**obj_debug_payload** | [**CommonResponseObjDebugPayload**](CommonResponseObjDebugPayload.md) | | +**obj_debug** | [**CommonResponseObjDebug**](CommonResponseObjDebug.md) | | [optional] **m_payload** | [**InvoiceGetAttachmentsV1ResponseMPayload**](InvoiceGetAttachmentsV1ResponseMPayload.md) | | ## Example diff --git a/docs/InvoiceGetCommunicationCountV1Response.md b/docs/InvoiceGetCommunicationCountV1Response.md index 200bae889..7b361c091 100644 --- a/docs/InvoiceGetCommunicationCountV1Response.md +++ b/docs/InvoiceGetCommunicationCountV1Response.md @@ -6,6 +6,8 @@ Response for GET /1/object/invoice/{pkiInvoiceID}/getCommunicationCount Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**obj_debug_payload** | [**CommonResponseObjDebugPayload**](CommonResponseObjDebugPayload.md) | | +**obj_debug** | [**CommonResponseObjDebug**](CommonResponseObjDebug.md) | | [optional] **m_payload** | [**InvoiceGetCommunicationCountV1ResponseMPayload**](InvoiceGetCommunicationCountV1ResponseMPayload.md) | | ## Example diff --git a/docs/InvoiceGetCommunicationListV1Response.md b/docs/InvoiceGetCommunicationListV1Response.md index 2bdc71e27..f5fd8ba47 100644 --- a/docs/InvoiceGetCommunicationListV1Response.md +++ b/docs/InvoiceGetCommunicationListV1Response.md @@ -6,6 +6,8 @@ Response for GET /1/object/invoice/{pkiInvoiceID}/getCommunicationList Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**obj_debug_payload** | [**CommonResponseObjDebugPayloadGetList**](CommonResponseObjDebugPayloadGetList.md) | | +**obj_debug** | [**CommonResponseObjDebug**](CommonResponseObjDebug.md) | | [optional] **m_payload** | [**InvoiceGetCommunicationListV1ResponseMPayload**](InvoiceGetCommunicationListV1ResponseMPayload.md) | | ## Example diff --git a/docs/InvoiceGetCommunicationrecipientsV1Response.md b/docs/InvoiceGetCommunicationrecipientsV1Response.md index b8b7b7fab..df43b928c 100644 --- a/docs/InvoiceGetCommunicationrecipientsV1Response.md +++ b/docs/InvoiceGetCommunicationrecipientsV1Response.md @@ -6,6 +6,8 @@ Response for GET /1/object/invoice/{pkiInvoiceID}/getCommunicationrecipients Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**obj_debug_payload** | [**CommonResponseObjDebugPayload**](CommonResponseObjDebugPayload.md) | | +**obj_debug** | [**CommonResponseObjDebug**](CommonResponseObjDebug.md) | | [optional] **m_payload** | [**InvoiceGetCommunicationrecipientsV1ResponseMPayload**](InvoiceGetCommunicationrecipientsV1ResponseMPayload.md) | | ## Example diff --git a/docs/InvoiceGetCommunicationsendersV1Response.md b/docs/InvoiceGetCommunicationsendersV1Response.md index 6fbf74280..049a8c996 100644 --- a/docs/InvoiceGetCommunicationsendersV1Response.md +++ b/docs/InvoiceGetCommunicationsendersV1Response.md @@ -6,6 +6,8 @@ Response for GET /1/object/invoice/{pkiInvoiceID}/getCommunicationrecipients Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**obj_debug_payload** | [**CommonResponseObjDebugPayload**](CommonResponseObjDebugPayload.md) | | +**obj_debug** | [**CommonResponseObjDebug**](CommonResponseObjDebug.md) | | [optional] **m_payload** | [**InvoiceGetCommunicationsendersV1ResponseMPayload**](InvoiceGetCommunicationsendersV1ResponseMPayload.md) | | ## Example diff --git a/docs/LanguageGetAutocompleteV2Response.md b/docs/LanguageGetAutocompleteV2Response.md index 3e0d5cd97..a9c85d4d7 100644 --- a/docs/LanguageGetAutocompleteV2Response.md +++ b/docs/LanguageGetAutocompleteV2Response.md @@ -6,6 +6,8 @@ Response for GET /2/object/language/getAutocomplete Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**obj_debug_payload** | [**CommonResponseObjDebugPayload**](CommonResponseObjDebugPayload.md) | | +**obj_debug** | [**CommonResponseObjDebug**](CommonResponseObjDebug.md) | | [optional] **m_payload** | [**LanguageGetAutocompleteV2ResponseMPayload**](LanguageGetAutocompleteV2ResponseMPayload.md) | | ## Example diff --git a/docs/ModuleGetAutocompleteV2Response.md b/docs/ModuleGetAutocompleteV2Response.md index c3c2cea64..419153dea 100644 --- a/docs/ModuleGetAutocompleteV2Response.md +++ b/docs/ModuleGetAutocompleteV2Response.md @@ -6,6 +6,8 @@ Response for GET /2/object/module/getAutocomplete Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**obj_debug_payload** | [**CommonResponseObjDebugPayload**](CommonResponseObjDebugPayload.md) | | +**obj_debug** | [**CommonResponseObjDebug**](CommonResponseObjDebug.md) | | [optional] **m_payload** | [**ModuleGetAutocompleteV2ResponseMPayload**](ModuleGetAutocompleteV2ResponseMPayload.md) | | ## Example diff --git a/docs/ModuleResponseCompound.md b/docs/ModuleResponseCompound.md index 4a23ff494..d9c198038 100644 --- a/docs/ModuleResponseCompound.md +++ b/docs/ModuleResponseCompound.md @@ -6,6 +6,12 @@ A Module Object Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**pki_module_id** | **int** | The unique ID of the Module | +**fki_modulegroup_id** | **int** | The unique ID of the Modulegroup | +**e_module_internalname** | **str** | The Internal name of the Module. This is theoretically an enum field but there are so many possibles values we decided not to list them all. | +**s_module_name_x** | **str** | The Name of the Module in the language of the requester | +**b_module_registered** | **bool** | Whether the Module is registered or not | +**b_module_registeredapi** | **bool** | Whether the Module is registered or not for api use | **a_obj_modulesection** | [**List[ModulesectionResponseCompound]**](ModulesectionResponseCompound.md) | | [optional] ## Example diff --git a/docs/ModulegroupGetAllV1Response.md b/docs/ModulegroupGetAllV1Response.md index 5a17789e9..f21303ab0 100644 --- a/docs/ModulegroupGetAllV1Response.md +++ b/docs/ModulegroupGetAllV1Response.md @@ -6,6 +6,8 @@ Response for GET /1/object/modulegroup/getAll Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**obj_debug_payload** | [**CommonResponseObjDebugPayload**](CommonResponseObjDebugPayload.md) | | +**obj_debug** | [**CommonResponseObjDebug**](CommonResponseObjDebug.md) | | [optional] **m_payload** | [**ModulegroupGetAllV1ResponseMPayload**](ModulegroupGetAllV1ResponseMPayload.md) | | ## Example diff --git a/docs/ModulegroupResponseCompound.md b/docs/ModulegroupResponseCompound.md index 8686b512c..ff4ffaf8e 100644 --- a/docs/ModulegroupResponseCompound.md +++ b/docs/ModulegroupResponseCompound.md @@ -6,6 +6,8 @@ A Modulegroup Object Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**pki_modulegroup_id** | **int** | The unique ID of the Modulegroup | +**s_modulegroup_name_x** | **str** | The name of the Modulegroup in the language of the requester | **a_obj_module** | [**List[ModuleResponseCompound]**](ModuleResponseCompound.md) | | [optional] ## Example diff --git a/docs/ModulesectionResponseCompound.md b/docs/ModulesectionResponseCompound.md index 529e51029..fe17fb0a5 100644 --- a/docs/ModulesectionResponseCompound.md +++ b/docs/ModulesectionResponseCompound.md @@ -6,7 +6,11 @@ A Modulesection Object Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**a_obj_permission** | [**List[PermissionResponseCompound]**](PermissionResponse.md) | | [optional] +**pki_modulesection_id** | **int** | The unique ID of the Modulesection | +**fki_module_id** | **int** | The unique ID of the Module | +**s_modulesection_internalname** | **str** | The Internal name of the Module section. | +**s_modulesection_name_x** | **str** | The Name of the Modulesection in the language of the requester | +**a_obj_permission** | [**List[PermissionResponseCompound]**](PermissionResponseCompound.md) | | [optional] ## Example diff --git a/docs/NotificationsectionGetNotificationtestsV1Response.md b/docs/NotificationsectionGetNotificationtestsV1Response.md index d3c101417..a36fcf744 100644 --- a/docs/NotificationsectionGetNotificationtestsV1Response.md +++ b/docs/NotificationsectionGetNotificationtestsV1Response.md @@ -6,6 +6,8 @@ Response for GET /1/object/notificationsection/{pkiNotificationsectionID}/getNot Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**obj_debug_payload** | [**CommonResponseObjDebugPayload**](CommonResponseObjDebugPayload.md) | | +**obj_debug** | [**CommonResponseObjDebug**](CommonResponseObjDebug.md) | | [optional] **m_payload** | [**NotificationsectionGetNotificationtestsV1ResponseMPayload**](NotificationsectionGetNotificationtestsV1ResponseMPayload.md) | | ## Example diff --git a/docs/NotificationtestGetElementsV1Response.md b/docs/NotificationtestGetElementsV1Response.md index 5fc88b514..0ef26dd3f 100644 --- a/docs/NotificationtestGetElementsV1Response.md +++ b/docs/NotificationtestGetElementsV1Response.md @@ -6,6 +6,8 @@ Response for GET /1/object/notificationtest/{pkiNotificationtestID}/getElements Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**obj_debug_payload** | [**CommonResponseObjDebugPayload**](CommonResponseObjDebugPayload.md) | | +**obj_debug** | [**CommonResponseObjDebug**](CommonResponseObjDebug.md) | | [optional] **m_payload** | [**NotificationtestGetElementsV1ResponseMPayload**](NotificationtestGetElementsV1ResponseMPayload.md) | | ## Example diff --git a/docs/ObjectApikeyApi.md b/docs/ObjectApikeyApi.md index e790c4b2a..13bee97cc 100644 --- a/docs/ObjectApikeyApi.md +++ b/docs/ObjectApikeyApi.md @@ -97,7 +97,7 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) # **apikey_edit_object_v1** -> CommonResponse apikey_edit_object_v1(pki_apikey_id, apikey_edit_object_v1_request) +> ApikeyEditObjectV1Response apikey_edit_object_v1(pki_apikey_id, apikey_edit_object_v1_request) Edit an existing Apikey @@ -110,7 +110,7 @@ Edit an existing Apikey ```python import eZmaxApi from eZmaxApi.models.apikey_edit_object_v1_request import ApikeyEditObjectV1Request -from eZmaxApi.models.common_response import CommonResponse +from eZmaxApi.models.apikey_edit_object_v1_response import ApikeyEditObjectV1Response from eZmaxApi.rest import ApiException from pprint import pprint @@ -159,7 +159,7 @@ Name | Type | Description | Notes ### Return type -[**CommonResponse**](CommonResponse.md) +[**ApikeyEditObjectV1Response**](ApikeyEditObjectV1Response.md) ### Authorization diff --git a/docs/ObjectAuthenticationexternalApi.md b/docs/ObjectAuthenticationexternalApi.md index fdd37c9a0..fc94f816b 100644 --- a/docs/ObjectAuthenticationexternalApi.md +++ b/docs/ObjectAuthenticationexternalApi.md @@ -94,7 +94,7 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) # **authenticationexternal_delete_object_v1** -> CommonResponse authenticationexternal_delete_object_v1(pki_authenticationexternal_id) +> AuthenticationexternalDeleteObjectV1Response authenticationexternal_delete_object_v1(pki_authenticationexternal_id) Delete an existing Authenticationexternal @@ -106,7 +106,7 @@ Delete an existing Authenticationexternal ```python import eZmaxApi -from eZmaxApi.models.common_response import CommonResponse +from eZmaxApi.models.authenticationexternal_delete_object_v1_response import AuthenticationexternalDeleteObjectV1Response from eZmaxApi.rest import ApiException from pprint import pprint @@ -153,7 +153,7 @@ Name | Type | Description | Notes ### Return type -[**CommonResponse**](CommonResponse.md) +[**AuthenticationexternalDeleteObjectV1Response**](AuthenticationexternalDeleteObjectV1Response.md) ### Authorization @@ -174,7 +174,7 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) # **authenticationexternal_edit_object_v1** -> CommonResponse authenticationexternal_edit_object_v1(pki_authenticationexternal_id, authenticationexternal_edit_object_v1_request) +> AuthenticationexternalEditObjectV1Response authenticationexternal_edit_object_v1(pki_authenticationexternal_id, authenticationexternal_edit_object_v1_request) Edit an existing Authenticationexternal @@ -187,7 +187,7 @@ Edit an existing Authenticationexternal ```python import eZmaxApi from eZmaxApi.models.authenticationexternal_edit_object_v1_request import AuthenticationexternalEditObjectV1Request -from eZmaxApi.models.common_response import CommonResponse +from eZmaxApi.models.authenticationexternal_edit_object_v1_response import AuthenticationexternalEditObjectV1Response from eZmaxApi.rest import ApiException from pprint import pprint @@ -236,7 +236,7 @@ Name | Type | Description | Notes ### Return type -[**CommonResponse**](CommonResponse.md) +[**AuthenticationexternalEditObjectV1Response**](AuthenticationexternalEditObjectV1Response.md) ### Authorization @@ -513,7 +513,7 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) # **authenticationexternal_reset_authorization_v1** -> CommonResponse authenticationexternal_reset_authorization_v1(pki_authenticationexternal_id, body) +> AuthenticationexternalResetAuthorizationV1Response authenticationexternal_reset_authorization_v1(pki_authenticationexternal_id, body) Reset the Authenticationexternal authorization @@ -525,7 +525,7 @@ Reset the Authenticationexternal authorization ```python import eZmaxApi -from eZmaxApi.models.common_response import CommonResponse +from eZmaxApi.models.authenticationexternal_reset_authorization_v1_response import AuthenticationexternalResetAuthorizationV1Response from eZmaxApi.rest import ApiException from pprint import pprint @@ -574,7 +574,7 @@ Name | Type | Description | Notes ### Return type -[**CommonResponse**](CommonResponse.md) +[**AuthenticationexternalResetAuthorizationV1Response**](AuthenticationexternalResetAuthorizationV1Response.md) ### Authorization diff --git a/docs/ObjectBillingentityinternalApi.md b/docs/ObjectBillingentityinternalApi.md index 570e60c85..f55316b00 100644 --- a/docs/ObjectBillingentityinternalApi.md +++ b/docs/ObjectBillingentityinternalApi.md @@ -92,7 +92,7 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) # **billingentityinternal_edit_object_v1** -> CommonResponse billingentityinternal_edit_object_v1(pki_billingentityinternal_id, billingentityinternal_edit_object_v1_request) +> BillingentityinternalEditObjectV1Response billingentityinternal_edit_object_v1(pki_billingentityinternal_id, billingentityinternal_edit_object_v1_request) Edit an existing Billingentityinternal @@ -105,7 +105,7 @@ Edit an existing Billingentityinternal ```python import eZmaxApi from eZmaxApi.models.billingentityinternal_edit_object_v1_request import BillingentityinternalEditObjectV1Request -from eZmaxApi.models.common_response import CommonResponse +from eZmaxApi.models.billingentityinternal_edit_object_v1_response import BillingentityinternalEditObjectV1Response from eZmaxApi.rest import ApiException from pprint import pprint @@ -154,7 +154,7 @@ Name | Type | Description | Notes ### Return type -[**CommonResponse**](CommonResponse.md) +[**BillingentityinternalEditObjectV1Response**](BillingentityinternalEditObjectV1Response.md) ### Authorization diff --git a/docs/ObjectBrandingApi.md b/docs/ObjectBrandingApi.md index 56d793312..f4dd7cc8b 100644 --- a/docs/ObjectBrandingApi.md +++ b/docs/ObjectBrandingApi.md @@ -92,7 +92,7 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) # **branding_edit_object_v2** -> CommonResponse branding_edit_object_v2(pki_branding_id, branding_edit_object_v2_request) +> BrandingEditObjectV2Response branding_edit_object_v2(pki_branding_id, branding_edit_object_v2_request) Edit an existing Branding @@ -105,7 +105,7 @@ Edit an existing Branding ```python import eZmaxApi from eZmaxApi.models.branding_edit_object_v2_request import BrandingEditObjectV2Request -from eZmaxApi.models.common_response import CommonResponse +from eZmaxApi.models.branding_edit_object_v2_response import BrandingEditObjectV2Response from eZmaxApi.rest import ApiException from pprint import pprint @@ -154,7 +154,7 @@ Name | Type | Description | Notes ### Return type -[**CommonResponse**](CommonResponse.md) +[**BrandingEditObjectV2Response**](BrandingEditObjectV2Response.md) ### Authorization diff --git a/docs/ObjectCorsApi.md b/docs/ObjectCorsApi.md index 91d61a225..626bcead3 100644 --- a/docs/ObjectCorsApi.md +++ b/docs/ObjectCorsApi.md @@ -91,7 +91,7 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) # **cors_delete_object_v1** -> CommonResponse cors_delete_object_v1(pki_cors_id) +> CorsDeleteObjectV1Response cors_delete_object_v1(pki_cors_id) Delete an existing Cors @@ -103,7 +103,7 @@ Delete an existing Cors ```python import eZmaxApi -from eZmaxApi.models.common_response import CommonResponse +from eZmaxApi.models.cors_delete_object_v1_response import CorsDeleteObjectV1Response from eZmaxApi.rest import ApiException from pprint import pprint @@ -150,7 +150,7 @@ Name | Type | Description | Notes ### Return type -[**CommonResponse**](CommonResponse.md) +[**CorsDeleteObjectV1Response**](CorsDeleteObjectV1Response.md) ### Authorization @@ -171,7 +171,7 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) # **cors_edit_object_v1** -> CommonResponse cors_edit_object_v1(pki_cors_id, cors_edit_object_v1_request) +> CorsEditObjectV1Response cors_edit_object_v1(pki_cors_id, cors_edit_object_v1_request) Edit an existing Cors @@ -183,8 +183,8 @@ Edit an existing Cors ```python import eZmaxApi -from eZmaxApi.models.common_response import CommonResponse from eZmaxApi.models.cors_edit_object_v1_request import CorsEditObjectV1Request +from eZmaxApi.models.cors_edit_object_v1_response import CorsEditObjectV1Response from eZmaxApi.rest import ApiException from pprint import pprint @@ -233,7 +233,7 @@ Name | Type | Description | Notes ### Return type -[**CommonResponse**](CommonResponse.md) +[**CorsEditObjectV1Response**](CorsEditObjectV1Response.md) ### Authorization diff --git a/docs/ObjectCreditcardclientApi.md b/docs/ObjectCreditcardclientApi.md index c727bbc2a..837f72f7e 100644 --- a/docs/ObjectCreditcardclientApi.md +++ b/docs/ObjectCreditcardclientApi.md @@ -95,7 +95,7 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) # **creditcardclient_delete_object_v1** -> CommonResponse creditcardclient_delete_object_v1(pki_creditcardclient_id) +> CreditcardclientDeleteObjectV1Response creditcardclient_delete_object_v1(pki_creditcardclient_id) Delete an existing Creditcardclient @@ -107,7 +107,7 @@ Delete an existing Creditcardclient ```python import eZmaxApi -from eZmaxApi.models.common_response import CommonResponse +from eZmaxApi.models.creditcardclient_delete_object_v1_response import CreditcardclientDeleteObjectV1Response from eZmaxApi.rest import ApiException from pprint import pprint @@ -154,7 +154,7 @@ Name | Type | Description | Notes ### Return type -[**CommonResponse**](CommonResponse.md) +[**CreditcardclientDeleteObjectV1Response**](CreditcardclientDeleteObjectV1Response.md) ### Authorization @@ -175,7 +175,7 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) # **creditcardclient_edit_object_v1** -> CommonResponse creditcardclient_edit_object_v1(pki_creditcardclient_id, creditcardclient_edit_object_v1_request) +> CreditcardclientEditObjectV1Response creditcardclient_edit_object_v1(pki_creditcardclient_id, creditcardclient_edit_object_v1_request) Edit an existing Creditcardclient @@ -187,8 +187,8 @@ Edit an existing Creditcardclient ```python import eZmaxApi -from eZmaxApi.models.common_response import CommonResponse from eZmaxApi.models.creditcardclient_edit_object_v1_request import CreditcardclientEditObjectV1Request +from eZmaxApi.models.creditcardclient_edit_object_v1_response import CreditcardclientEditObjectV1Response from eZmaxApi.rest import ApiException from pprint import pprint @@ -237,7 +237,7 @@ Name | Type | Description | Notes ### Return type -[**CommonResponse**](CommonResponse.md) +[**CreditcardclientEditObjectV1Response**](CreditcardclientEditObjectV1Response.md) ### Authorization @@ -514,7 +514,7 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) # **creditcardclient_patch_object_v1** -> CommonResponse creditcardclient_patch_object_v1(pki_creditcardclient_id, creditcardclient_patch_object_v1_request) +> CreditcardclientPatchObjectV1Response creditcardclient_patch_object_v1(pki_creditcardclient_id, creditcardclient_patch_object_v1_request) Patch an existing Creditcardclient @@ -526,8 +526,8 @@ Patch an existing Creditcardclient ```python import eZmaxApi -from eZmaxApi.models.common_response import CommonResponse from eZmaxApi.models.creditcardclient_patch_object_v1_request import CreditcardclientPatchObjectV1Request +from eZmaxApi.models.creditcardclient_patch_object_v1_response import CreditcardclientPatchObjectV1Response from eZmaxApi.rest import ApiException from pprint import pprint @@ -576,7 +576,7 @@ Name | Type | Description | Notes ### Return type -[**CommonResponse**](CommonResponse.md) +[**CreditcardclientPatchObjectV1Response**](CreditcardclientPatchObjectV1Response.md) ### Authorization diff --git a/docs/ObjectDiscussionApi.md b/docs/ObjectDiscussionApi.md index 583754283..26ffb5235 100644 --- a/docs/ObjectDiscussionApi.md +++ b/docs/ObjectDiscussionApi.md @@ -92,7 +92,7 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) # **discussion_delete_object_v1** -> CommonResponse discussion_delete_object_v1(pki_discussion_id) +> DiscussionDeleteObjectV1Response discussion_delete_object_v1(pki_discussion_id) Delete an existing Discussion @@ -104,7 +104,7 @@ Delete an existing Discussion ```python import eZmaxApi -from eZmaxApi.models.common_response import CommonResponse +from eZmaxApi.models.discussion_delete_object_v1_response import DiscussionDeleteObjectV1Response from eZmaxApi.rest import ApiException from pprint import pprint @@ -151,7 +151,7 @@ Name | Type | Description | Notes ### Return type -[**CommonResponse**](CommonResponse.md) +[**DiscussionDeleteObjectV1Response**](DiscussionDeleteObjectV1Response.md) ### Authorization @@ -252,7 +252,7 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) # **discussion_patch_object_v1** -> CommonResponse discussion_patch_object_v1(pki_discussion_id, discussion_patch_object_v1_request) +> DiscussionPatchObjectV1Response discussion_patch_object_v1(pki_discussion_id, discussion_patch_object_v1_request) Patch an existing Discussion @@ -264,8 +264,8 @@ Patch an existing Discussion ```python import eZmaxApi -from eZmaxApi.models.common_response import CommonResponse from eZmaxApi.models.discussion_patch_object_v1_request import DiscussionPatchObjectV1Request +from eZmaxApi.models.discussion_patch_object_v1_response import DiscussionPatchObjectV1Response from eZmaxApi.rest import ApiException from pprint import pprint @@ -314,7 +314,7 @@ Name | Type | Description | Notes ### Return type -[**CommonResponse**](CommonResponse.md) +[**DiscussionPatchObjectV1Response**](DiscussionPatchObjectV1Response.md) ### Authorization @@ -336,7 +336,7 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) # **discussion_update_discussionreadstatus_v1** -> CommonResponse discussion_update_discussionreadstatus_v1(pki_discussion_id, discussion_update_discussionreadstatus_v1_request) +> DiscussionUpdateDiscussionreadstatusV1Response discussion_update_discussionreadstatus_v1(pki_discussion_id, discussion_update_discussionreadstatus_v1_request) Update the read status of the discussion @@ -346,8 +346,8 @@ Update the read status of the discussion ```python import eZmaxApi -from eZmaxApi.models.common_response import CommonResponse from eZmaxApi.models.discussion_update_discussionreadstatus_v1_request import DiscussionUpdateDiscussionreadstatusV1Request +from eZmaxApi.models.discussion_update_discussionreadstatus_v1_response import DiscussionUpdateDiscussionreadstatusV1Response from eZmaxApi.rest import ApiException from pprint import pprint @@ -396,7 +396,7 @@ Name | Type | Description | Notes ### Return type -[**CommonResponse**](CommonResponse.md) +[**DiscussionUpdateDiscussionreadstatusV1Response**](DiscussionUpdateDiscussionreadstatusV1Response.md) ### Authorization diff --git a/docs/ObjectDiscussionmembershipApi.md b/docs/ObjectDiscussionmembershipApi.md index 306537751..dae790170 100644 --- a/docs/ObjectDiscussionmembershipApi.md +++ b/docs/ObjectDiscussionmembershipApi.md @@ -89,7 +89,7 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) # **discussionmembership_delete_object_v1** -> CommonResponse discussionmembership_delete_object_v1(pki_discussionmembership_id) +> DiscussionmembershipDeleteObjectV1Response discussionmembership_delete_object_v1(pki_discussionmembership_id) Delete an existing Discussionmembership @@ -101,7 +101,7 @@ Delete an existing Discussionmembership ```python import eZmaxApi -from eZmaxApi.models.common_response import CommonResponse +from eZmaxApi.models.discussionmembership_delete_object_v1_response import DiscussionmembershipDeleteObjectV1Response from eZmaxApi.rest import ApiException from pprint import pprint @@ -148,7 +148,7 @@ Name | Type | Description | Notes ### Return type -[**CommonResponse**](CommonResponse.md) +[**DiscussionmembershipDeleteObjectV1Response**](DiscussionmembershipDeleteObjectV1Response.md) ### Authorization diff --git a/docs/ObjectDiscussionmessageApi.md b/docs/ObjectDiscussionmessageApi.md index 086ab2d50..420729827 100644 --- a/docs/ObjectDiscussionmessageApi.md +++ b/docs/ObjectDiscussionmessageApi.md @@ -90,7 +90,7 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) # **discussionmessage_delete_object_v1** -> CommonResponse discussionmessage_delete_object_v1(pki_discussionmessage_id) +> DiscussionmessageDeleteObjectV1Response discussionmessage_delete_object_v1(pki_discussionmessage_id) Delete an existing Discussionmessage @@ -102,7 +102,7 @@ Delete an existing Discussionmessage ```python import eZmaxApi -from eZmaxApi.models.common_response import CommonResponse +from eZmaxApi.models.discussionmessage_delete_object_v1_response import DiscussionmessageDeleteObjectV1Response from eZmaxApi.rest import ApiException from pprint import pprint @@ -149,7 +149,7 @@ Name | Type | Description | Notes ### Return type -[**CommonResponse**](CommonResponse.md) +[**DiscussionmessageDeleteObjectV1Response**](DiscussionmessageDeleteObjectV1Response.md) ### Authorization @@ -171,7 +171,7 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) # **discussionmessage_patch_object_v1** -> CommonResponse discussionmessage_patch_object_v1(pki_discussionmessage_id, discussionmessage_patch_object_v1_request) +> DiscussionmessagePatchObjectV1Response discussionmessage_patch_object_v1(pki_discussionmessage_id, discussionmessage_patch_object_v1_request) Patch an existing Discussionmessage @@ -183,8 +183,8 @@ Patch an existing Discussionmessage ```python import eZmaxApi -from eZmaxApi.models.common_response import CommonResponse from eZmaxApi.models.discussionmessage_patch_object_v1_request import DiscussionmessagePatchObjectV1Request +from eZmaxApi.models.discussionmessage_patch_object_v1_response import DiscussionmessagePatchObjectV1Response from eZmaxApi.rest import ApiException from pprint import pprint @@ -233,7 +233,7 @@ Name | Type | Description | Notes ### Return type -[**CommonResponse**](CommonResponse.md) +[**DiscussionmessagePatchObjectV1Response**](DiscussionmessagePatchObjectV1Response.md) ### Authorization diff --git a/docs/ObjectDomainApi.md b/docs/ObjectDomainApi.md index e2e43fc9e..647c4c0c3 100644 --- a/docs/ObjectDomainApi.md +++ b/docs/ObjectDomainApi.md @@ -91,7 +91,7 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) # **domain_delete_object_v1** -> CommonResponse domain_delete_object_v1(pki_domain_id) +> DomainDeleteObjectV1Response domain_delete_object_v1(pki_domain_id) Delete an existing Domain @@ -103,7 +103,7 @@ Delete an existing Domain ```python import eZmaxApi -from eZmaxApi.models.common_response import CommonResponse +from eZmaxApi.models.domain_delete_object_v1_response import DomainDeleteObjectV1Response from eZmaxApi.rest import ApiException from pprint import pprint @@ -150,7 +150,7 @@ Name | Type | Description | Notes ### Return type -[**CommonResponse**](CommonResponse.md) +[**DomainDeleteObjectV1Response**](DomainDeleteObjectV1Response.md) ### Authorization diff --git a/docs/ObjectEzdoctemplatedocumentApi.md b/docs/ObjectEzdoctemplatedocumentApi.md index e13abde23..2600ee51b 100644 --- a/docs/ObjectEzdoctemplatedocumentApi.md +++ b/docs/ObjectEzdoctemplatedocumentApi.md @@ -178,7 +178,7 @@ void (empty response body) [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) # **ezdoctemplatedocument_edit_object_v1** -> CommonResponse ezdoctemplatedocument_edit_object_v1(pki_ezdoctemplatedocument_id, ezdoctemplatedocument_edit_object_v1_request) +> EzdoctemplatedocumentEditObjectV1Response ezdoctemplatedocument_edit_object_v1(pki_ezdoctemplatedocument_id, ezdoctemplatedocument_edit_object_v1_request) Edit an existing Ezdoctemplatedocument @@ -190,8 +190,8 @@ Edit an existing Ezdoctemplatedocument ```python import eZmaxApi -from eZmaxApi.models.common_response import CommonResponse from eZmaxApi.models.ezdoctemplatedocument_edit_object_v1_request import EzdoctemplatedocumentEditObjectV1Request +from eZmaxApi.models.ezdoctemplatedocument_edit_object_v1_response import EzdoctemplatedocumentEditObjectV1Response from eZmaxApi.rest import ApiException from pprint import pprint @@ -240,7 +240,7 @@ Name | Type | Description | Notes ### Return type -[**CommonResponse**](CommonResponse.md) +[**EzdoctemplatedocumentEditObjectV1Response**](EzdoctemplatedocumentEditObjectV1Response.md) ### Authorization @@ -521,7 +521,7 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) # **ezdoctemplatedocument_patch_object_v1** -> CommonResponse ezdoctemplatedocument_patch_object_v1(pki_ezdoctemplatedocument_id, ezdoctemplatedocument_patch_object_v1_request) +> EzdoctemplatedocumentPatchObjectV1Response ezdoctemplatedocument_patch_object_v1(pki_ezdoctemplatedocument_id, ezdoctemplatedocument_patch_object_v1_request) Patch an existing Ezdoctemplatedocument @@ -533,8 +533,8 @@ Patch an existing Ezdoctemplatedocument ```python import eZmaxApi -from eZmaxApi.models.common_response import CommonResponse from eZmaxApi.models.ezdoctemplatedocument_patch_object_v1_request import EzdoctemplatedocumentPatchObjectV1Request +from eZmaxApi.models.ezdoctemplatedocument_patch_object_v1_response import EzdoctemplatedocumentPatchObjectV1Response from eZmaxApi.rest import ApiException from pprint import pprint @@ -583,7 +583,7 @@ Name | Type | Description | Notes ### Return type -[**CommonResponse**](CommonResponse.md) +[**EzdoctemplatedocumentPatchObjectV1Response**](EzdoctemplatedocumentPatchObjectV1Response.md) ### Authorization diff --git a/docs/ObjectEzsignannotationApi.md b/docs/ObjectEzsignannotationApi.md index 5768e591e..9a5d057ec 100644 --- a/docs/ObjectEzsignannotationApi.md +++ b/docs/ObjectEzsignannotationApi.md @@ -91,7 +91,7 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) # **ezsignannotation_delete_object_v1** -> CommonResponse ezsignannotation_delete_object_v1(pki_ezsignannotation_id) +> EzsignannotationDeleteObjectV1Response ezsignannotation_delete_object_v1(pki_ezsignannotation_id) Delete an existing Ezsignannotation @@ -103,7 +103,7 @@ Delete an existing Ezsignannotation ```python import eZmaxApi -from eZmaxApi.models.common_response import CommonResponse +from eZmaxApi.models.ezsignannotation_delete_object_v1_response import EzsignannotationDeleteObjectV1Response from eZmaxApi.rest import ApiException from pprint import pprint @@ -150,7 +150,7 @@ Name | Type | Description | Notes ### Return type -[**CommonResponse**](CommonResponse.md) +[**EzsignannotationDeleteObjectV1Response**](EzsignannotationDeleteObjectV1Response.md) ### Authorization @@ -171,7 +171,7 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) # **ezsignannotation_edit_object_v1** -> CommonResponse ezsignannotation_edit_object_v1(pki_ezsignannotation_id, ezsignannotation_edit_object_v1_request) +> EzsignannotationEditObjectV1Response ezsignannotation_edit_object_v1(pki_ezsignannotation_id, ezsignannotation_edit_object_v1_request) Edit an existing Ezsignannotation @@ -183,8 +183,8 @@ Edit an existing Ezsignannotation ```python import eZmaxApi -from eZmaxApi.models.common_response import CommonResponse from eZmaxApi.models.ezsignannotation_edit_object_v1_request import EzsignannotationEditObjectV1Request +from eZmaxApi.models.ezsignannotation_edit_object_v1_response import EzsignannotationEditObjectV1Response from eZmaxApi.rest import ApiException from pprint import pprint @@ -233,7 +233,7 @@ Name | Type | Description | Notes ### Return type -[**CommonResponse**](CommonResponse.md) +[**EzsignannotationEditObjectV1Response**](EzsignannotationEditObjectV1Response.md) ### Authorization diff --git a/docs/ObjectEzsignbulksendApi.md b/docs/ObjectEzsignbulksendApi.md index d5004fc80..bced59d96 100644 --- a/docs/ObjectEzsignbulksendApi.md +++ b/docs/ObjectEzsignbulksendApi.md @@ -180,7 +180,7 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) # **ezsignbulksend_delete_object_v1** -> CommonResponse ezsignbulksend_delete_object_v1(pki_ezsignbulksend_id) +> EzsignbulksendDeleteObjectV1Response ezsignbulksend_delete_object_v1(pki_ezsignbulksend_id) Delete an existing Ezsignbulksend @@ -192,7 +192,7 @@ Delete an existing Ezsignbulksend ```python import eZmaxApi -from eZmaxApi.models.common_response import CommonResponse +from eZmaxApi.models.ezsignbulksend_delete_object_v1_response import EzsignbulksendDeleteObjectV1Response from eZmaxApi.rest import ApiException from pprint import pprint @@ -239,7 +239,7 @@ Name | Type | Description | Notes ### Return type -[**CommonResponse**](CommonResponse.md) +[**EzsignbulksendDeleteObjectV1Response**](EzsignbulksendDeleteObjectV1Response.md) ### Authorization @@ -261,7 +261,7 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) # **ezsignbulksend_edit_object_v1** -> CommonResponse ezsignbulksend_edit_object_v1(pki_ezsignbulksend_id, ezsignbulksend_edit_object_v1_request) +> EzsignbulksendEditObjectV1Response ezsignbulksend_edit_object_v1(pki_ezsignbulksend_id, ezsignbulksend_edit_object_v1_request) Edit an existing Ezsignbulksend @@ -273,8 +273,8 @@ Edit an existing Ezsignbulksend ```python import eZmaxApi -from eZmaxApi.models.common_response import CommonResponse from eZmaxApi.models.ezsignbulksend_edit_object_v1_request import EzsignbulksendEditObjectV1Request +from eZmaxApi.models.ezsignbulksend_edit_object_v1_response import EzsignbulksendEditObjectV1Response from eZmaxApi.rest import ApiException from pprint import pprint @@ -323,7 +323,7 @@ Name | Type | Description | Notes ### Return type -[**CommonResponse**](CommonResponse.md) +[**EzsignbulksendEditObjectV1Response**](EzsignbulksendEditObjectV1Response.md) ### Authorization @@ -839,7 +839,7 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) # **ezsignbulksend_reorder_v1** -> CommonResponse ezsignbulksend_reorder_v1(pki_ezsignbulksend_id, ezsignbulksend_reorder_v1_request) +> EzsignbulksendReorderV1Response ezsignbulksend_reorder_v1(pki_ezsignbulksend_id, ezsignbulksend_reorder_v1_request) Reorder Ezsignbulksenddocumentmappings in the Ezsignbulksend @@ -849,8 +849,8 @@ Reorder Ezsignbulksenddocumentmappings in the Ezsignbulksend ```python import eZmaxApi -from eZmaxApi.models.common_response import CommonResponse from eZmaxApi.models.ezsignbulksend_reorder_v1_request import EzsignbulksendReorderV1Request +from eZmaxApi.models.ezsignbulksend_reorder_v1_response import EzsignbulksendReorderV1Response from eZmaxApi.rest import ApiException from pprint import pprint @@ -899,7 +899,7 @@ Name | Type | Description | Notes ### Return type -[**CommonResponse**](CommonResponse.md) +[**EzsignbulksendReorderV1Response**](EzsignbulksendReorderV1Response.md) ### Authorization diff --git a/docs/ObjectEzsignbulksenddocumentmappingApi.md b/docs/ObjectEzsignbulksenddocumentmappingApi.md index 89f74397f..20a60da6f 100644 --- a/docs/ObjectEzsignbulksenddocumentmappingApi.md +++ b/docs/ObjectEzsignbulksenddocumentmappingApi.md @@ -91,7 +91,7 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) # **ezsignbulksenddocumentmapping_delete_object_v1** -> CommonResponse ezsignbulksenddocumentmapping_delete_object_v1(pki_ezsignbulksenddocumentmapping_id) +> EzsignbulksenddocumentmappingDeleteObjectV1Response ezsignbulksenddocumentmapping_delete_object_v1(pki_ezsignbulksenddocumentmapping_id) Delete an existing Ezsignbulksenddocumentmapping @@ -103,7 +103,7 @@ Delete an existing Ezsignbulksenddocumentmapping ```python import eZmaxApi -from eZmaxApi.models.common_response import CommonResponse +from eZmaxApi.models.ezsignbulksenddocumentmapping_delete_object_v1_response import EzsignbulksenddocumentmappingDeleteObjectV1Response from eZmaxApi.rest import ApiException from pprint import pprint @@ -150,7 +150,7 @@ Name | Type | Description | Notes ### Return type -[**CommonResponse**](CommonResponse.md) +[**EzsignbulksenddocumentmappingDeleteObjectV1Response**](EzsignbulksenddocumentmappingDeleteObjectV1Response.md) ### Authorization diff --git a/docs/ObjectEzsignbulksendsignermappingApi.md b/docs/ObjectEzsignbulksendsignermappingApi.md index db7fc71c7..098a7e522 100644 --- a/docs/ObjectEzsignbulksendsignermappingApi.md +++ b/docs/ObjectEzsignbulksendsignermappingApi.md @@ -90,7 +90,7 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) # **ezsignbulksendsignermapping_delete_object_v1** -> CommonResponse ezsignbulksendsignermapping_delete_object_v1(pki_ezsignbulksendsignermapping_id) +> EzsignbulksendsignermappingDeleteObjectV1Response ezsignbulksendsignermapping_delete_object_v1(pki_ezsignbulksendsignermapping_id) Delete an existing Ezsignbulksendsignermapping @@ -102,7 +102,7 @@ Delete an existing Ezsignbulksendsignermapping ```python import eZmaxApi -from eZmaxApi.models.common_response import CommonResponse +from eZmaxApi.models.ezsignbulksendsignermapping_delete_object_v1_response import EzsignbulksendsignermappingDeleteObjectV1Response from eZmaxApi.rest import ApiException from pprint import pprint @@ -149,7 +149,7 @@ Name | Type | Description | Notes ### Return type -[**CommonResponse**](CommonResponse.md) +[**EzsignbulksendsignermappingDeleteObjectV1Response**](EzsignbulksendsignermappingDeleteObjectV1Response.md) ### Authorization diff --git a/docs/ObjectEzsigndiscussionApi.md b/docs/ObjectEzsigndiscussionApi.md index c35bde86f..ce1091977 100644 --- a/docs/ObjectEzsigndiscussionApi.md +++ b/docs/ObjectEzsigndiscussionApi.md @@ -90,7 +90,7 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) # **ezsigndiscussion_delete_object_v1** -> CommonResponse ezsigndiscussion_delete_object_v1(pki_ezsigndiscussion_id) +> EzsigndiscussionDeleteObjectV1Response ezsigndiscussion_delete_object_v1(pki_ezsigndiscussion_id) Delete an existing Ezsigndiscussion @@ -102,7 +102,7 @@ Delete an existing Ezsigndiscussion ```python import eZmaxApi -from eZmaxApi.models.common_response import CommonResponse +from eZmaxApi.models.ezsigndiscussion_delete_object_v1_response import EzsigndiscussionDeleteObjectV1Response from eZmaxApi.rest import ApiException from pprint import pprint @@ -149,7 +149,7 @@ Name | Type | Description | Notes ### Return type -[**CommonResponse**](CommonResponse.md) +[**EzsigndiscussionDeleteObjectV1Response**](EzsigndiscussionDeleteObjectV1Response.md) ### Authorization diff --git a/docs/ObjectEzsigndocumentApi.md b/docs/ObjectEzsigndocumentApi.md index 02db84c63..4751ca16b 100644 --- a/docs/ObjectEzsigndocumentApi.md +++ b/docs/ObjectEzsigndocumentApi.md @@ -41,7 +41,7 @@ Method | HTTP request | Description # **ezsigndocument_apply_ezsigntemplate_v1** -> CommonResponse ezsigndocument_apply_ezsigntemplate_v1(pki_ezsigndocument_id, ezsigndocument_apply_ezsigntemplate_v1_request) +> EzsigndocumentApplyEzsigntemplateV1Response ezsigndocument_apply_ezsigntemplate_v1(pki_ezsigndocument_id, ezsigndocument_apply_ezsigntemplate_v1_request) Apply an Ezsigntemplate to the Ezsigndocument. @@ -53,8 +53,8 @@ This function is deprecated. Please use *applyEzsigntemplate* instead which is d ```python import eZmaxApi -from eZmaxApi.models.common_response import CommonResponse from eZmaxApi.models.ezsigndocument_apply_ezsigntemplate_v1_request import EzsigndocumentApplyEzsigntemplateV1Request +from eZmaxApi.models.ezsigndocument_apply_ezsigntemplate_v1_response import EzsigndocumentApplyEzsigntemplateV1Response from eZmaxApi.rest import ApiException from pprint import pprint @@ -103,7 +103,7 @@ Name | Type | Description | Notes ### Return type -[**CommonResponse**](CommonResponse.md) +[**EzsigndocumentApplyEzsigntemplateV1Response**](EzsigndocumentApplyEzsigntemplateV1Response.md) ### Authorization @@ -621,7 +621,7 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) # **ezsigndocument_decline_to_sign_v1** -> CommonResponse ezsigndocument_decline_to_sign_v1(pki_ezsigndocument_id, ezsigndocument_decline_to_sign_v1_request) +> EzsigndocumentDeclineToSignV1Response ezsigndocument_decline_to_sign_v1(pki_ezsigndocument_id, ezsigndocument_decline_to_sign_v1_request) Decline to sign @@ -633,8 +633,8 @@ Decline to sign ```python import eZmaxApi -from eZmaxApi.models.common_response import CommonResponse from eZmaxApi.models.ezsigndocument_decline_to_sign_v1_request import EzsigndocumentDeclineToSignV1Request +from eZmaxApi.models.ezsigndocument_decline_to_sign_v1_response import EzsigndocumentDeclineToSignV1Response from eZmaxApi.rest import ApiException from pprint import pprint @@ -683,7 +683,7 @@ Name | Type | Description | Notes ### Return type -[**CommonResponse**](CommonResponse.md) +[**EzsigndocumentDeclineToSignV1Response**](EzsigndocumentDeclineToSignV1Response.md) ### Authorization @@ -705,7 +705,7 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) # **ezsigndocument_delete_object_v1** -> CommonResponse ezsigndocument_delete_object_v1(pki_ezsigndocument_id) +> EzsigndocumentDeleteObjectV1Response ezsigndocument_delete_object_v1(pki_ezsigndocument_id) Delete an existing Ezsigndocument @@ -717,7 +717,7 @@ Delete an existing Ezsigndocument ```python import eZmaxApi -from eZmaxApi.models.common_response import CommonResponse +from eZmaxApi.models.ezsigndocument_delete_object_v1_response import EzsigndocumentDeleteObjectV1Response from eZmaxApi.rest import ApiException from pprint import pprint @@ -764,7 +764,7 @@ Name | Type | Description | Notes ### Return type -[**CommonResponse**](CommonResponse.md) +[**EzsigndocumentDeleteObjectV1Response**](EzsigndocumentDeleteObjectV1Response.md) ### Authorization @@ -1122,7 +1122,7 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) # **ezsigndocument_end_prematurely_v1** -> CommonResponse ezsigndocument_end_prematurely_v1(pki_ezsigndocument_id, body) +> EzsigndocumentEndPrematurelyV1Response ezsigndocument_end_prematurely_v1(pki_ezsigndocument_id, body) End prematurely @@ -1134,7 +1134,7 @@ End prematurely an Ezsigndocument when some signatures are still required ```python import eZmaxApi -from eZmaxApi.models.common_response import CommonResponse +from eZmaxApi.models.ezsigndocument_end_prematurely_v1_response import EzsigndocumentEndPrematurelyV1Response from eZmaxApi.rest import ApiException from pprint import pprint @@ -1183,7 +1183,7 @@ Name | Type | Description | Notes ### Return type -[**CommonResponse**](CommonResponse.md) +[**EzsigndocumentEndPrematurelyV1Response**](EzsigndocumentEndPrematurelyV1Response.md) ### Authorization @@ -1289,7 +1289,7 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) # **ezsigndocument_flatten_v1** -> CommonResponse ezsigndocument_flatten_v1(pki_ezsigndocument_id, body) +> EzsigndocumentFlattenV1Response ezsigndocument_flatten_v1(pki_ezsigndocument_id, body) Flatten @@ -1301,7 +1301,7 @@ Flatten an Ezsigndocument signatures, forms and annotations. This process finali ```python import eZmaxApi -from eZmaxApi.models.common_response import CommonResponse +from eZmaxApi.models.ezsigndocument_flatten_v1_response import EzsigndocumentFlattenV1Response from eZmaxApi.rest import ApiException from pprint import pprint @@ -1350,7 +1350,7 @@ Name | Type | Description | Notes ### Return type -[**CommonResponse**](CommonResponse.md) +[**EzsigndocumentFlattenV1Response**](EzsigndocumentFlattenV1Response.md) ### Authorization @@ -2587,7 +2587,7 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) # **ezsigndocument_patch_object_v1** -> CommonResponse ezsigndocument_patch_object_v1(pki_ezsigndocument_id, ezsigndocument_patch_object_v1_request) +> EzsigndocumentPatchObjectV1Response ezsigndocument_patch_object_v1(pki_ezsigndocument_id, ezsigndocument_patch_object_v1_request) Patch an existing Ezsigndocument @@ -2599,8 +2599,8 @@ Patch an existing Ezsigndocument ```python import eZmaxApi -from eZmaxApi.models.common_response import CommonResponse from eZmaxApi.models.ezsigndocument_patch_object_v1_request import EzsigndocumentPatchObjectV1Request +from eZmaxApi.models.ezsigndocument_patch_object_v1_response import EzsigndocumentPatchObjectV1Response from eZmaxApi.rest import ApiException from pprint import pprint @@ -2649,7 +2649,7 @@ Name | Type | Description | Notes ### Return type -[**CommonResponse**](CommonResponse.md) +[**EzsigndocumentPatchObjectV1Response**](EzsigndocumentPatchObjectV1Response.md) ### Authorization @@ -2671,7 +2671,7 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) # **ezsigndocument_submit_ezsignform_v1** -> CommonResponse ezsigndocument_submit_ezsignform_v1(pki_ezsigndocument_id, ezsigndocument_submit_ezsignform_v1_request) +> EzsigndocumentSubmitEzsignformV1Response ezsigndocument_submit_ezsignform_v1(pki_ezsigndocument_id, ezsigndocument_submit_ezsignform_v1_request) Submit the Ezsignform @@ -2683,8 +2683,8 @@ Submit the Ezsignform ```python import eZmaxApi -from eZmaxApi.models.common_response import CommonResponse from eZmaxApi.models.ezsigndocument_submit_ezsignform_v1_request import EzsigndocumentSubmitEzsignformV1Request +from eZmaxApi.models.ezsigndocument_submit_ezsignform_v1_response import EzsigndocumentSubmitEzsignformV1Response from eZmaxApi.rest import ApiException from pprint import pprint @@ -2733,7 +2733,7 @@ Name | Type | Description | Notes ### Return type -[**CommonResponse**](CommonResponse.md) +[**EzsigndocumentSubmitEzsignformV1Response**](EzsigndocumentSubmitEzsignformV1Response.md) ### Authorization @@ -2755,7 +2755,7 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) # **ezsigndocument_unsend_v1** -> CommonResponse ezsigndocument_unsend_v1(pki_ezsigndocument_id, body) +> EzsigndocumentUnsendV1Response ezsigndocument_unsend_v1(pki_ezsigndocument_id, body) Unsend the Ezsigndocument @@ -2767,7 +2767,7 @@ Once an Ezsigndocument has been sent to signatories, it cannot be modified. Usi ```python import eZmaxApi -from eZmaxApi.models.common_response import CommonResponse +from eZmaxApi.models.ezsigndocument_unsend_v1_response import EzsigndocumentUnsendV1Response from eZmaxApi.rest import ApiException from pprint import pprint @@ -2816,7 +2816,7 @@ Name | Type | Description | Notes ### Return type -[**CommonResponse**](CommonResponse.md) +[**EzsigndocumentUnsendV1Response**](EzsigndocumentUnsendV1Response.md) ### Authorization diff --git a/docs/ObjectEzsignfolderApi.md b/docs/ObjectEzsignfolderApi.md index 26b0fa76b..dbe04329c 100644 --- a/docs/ObjectEzsignfolderApi.md +++ b/docs/ObjectEzsignfolderApi.md @@ -39,7 +39,7 @@ Method | HTTP request | Description # **ezsignfolder_archive_v1** -> CommonResponse ezsignfolder_archive_v1(pki_ezsignfolder_id, body) +> EzsignfolderArchiveV1Response ezsignfolder_archive_v1(pki_ezsignfolder_id, body) Archive the Ezsignfolder @@ -51,7 +51,7 @@ Archive the Ezsignfolder ```python import eZmaxApi -from eZmaxApi.models.common_response import CommonResponse +from eZmaxApi.models.ezsignfolder_archive_v1_response import EzsignfolderArchiveV1Response from eZmaxApi.rest import ApiException from pprint import pprint @@ -100,7 +100,7 @@ Name | Type | Description | Notes ### Return type -[**CommonResponse**](CommonResponse.md) +[**EzsignfolderArchiveV1Response**](EzsignfolderArchiveV1Response.md) ### Authorization @@ -444,7 +444,7 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) # **ezsignfolder_delete_object_v1** -> CommonResponse ezsignfolder_delete_object_v1(pki_ezsignfolder_id) +> EzsignfolderDeleteObjectV1Response ezsignfolder_delete_object_v1(pki_ezsignfolder_id) Delete an existing Ezsignfolder @@ -454,7 +454,7 @@ Delete an existing Ezsignfolder ```python import eZmaxApi -from eZmaxApi.models.common_response import CommonResponse +from eZmaxApi.models.ezsignfolder_delete_object_v1_response import EzsignfolderDeleteObjectV1Response from eZmaxApi.rest import ApiException from pprint import pprint @@ -501,7 +501,7 @@ Name | Type | Description | Notes ### Return type -[**CommonResponse**](CommonResponse.md) +[**EzsignfolderDeleteObjectV1Response**](EzsignfolderDeleteObjectV1Response.md) ### Authorization @@ -523,7 +523,7 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) # **ezsignfolder_dispose_ezsignfolders_v1** -> CommonResponse ezsignfolder_dispose_ezsignfolders_v1(ezsignfolder_dispose_ezsignfolders_v1_request) +> EzsignfolderDisposeEzsignfoldersV1Response ezsignfolder_dispose_ezsignfolders_v1(ezsignfolder_dispose_ezsignfolders_v1_request) Dispose Ezsignfolders @@ -535,8 +535,8 @@ Dispose Ezsignfolders ```python import eZmaxApi -from eZmaxApi.models.common_response import CommonResponse from eZmaxApi.models.ezsignfolder_dispose_ezsignfolders_v1_request import EzsignfolderDisposeEzsignfoldersV1Request +from eZmaxApi.models.ezsignfolder_dispose_ezsignfolders_v1_response import EzsignfolderDisposeEzsignfoldersV1Response from eZmaxApi.rest import ApiException from pprint import pprint @@ -583,7 +583,7 @@ Name | Type | Description | Notes ### Return type -[**CommonResponse**](CommonResponse.md) +[**EzsignfolderDisposeEzsignfoldersV1Response**](EzsignfolderDisposeEzsignfoldersV1Response.md) ### Authorization @@ -605,7 +605,7 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) # **ezsignfolder_dispose_v1** -> CommonResponse ezsignfolder_dispose_v1(pki_ezsignfolder_id, body) +> EzsignfolderDisposeV1Response ezsignfolder_dispose_v1(pki_ezsignfolder_id, body) Dispose the Ezsignfolder @@ -617,7 +617,7 @@ Dispose the Ezsignfolder ```python import eZmaxApi -from eZmaxApi.models.common_response import CommonResponse +from eZmaxApi.models.ezsignfolder_dispose_v1_response import EzsignfolderDisposeV1Response from eZmaxApi.rest import ApiException from pprint import pprint @@ -666,7 +666,7 @@ Name | Type | Description | Notes ### Return type -[**CommonResponse**](CommonResponse.md) +[**EzsignfolderDisposeV1Response**](EzsignfolderDisposeV1Response.md) ### Authorization @@ -688,7 +688,7 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) # **ezsignfolder_edit_object_v3** -> CommonResponse ezsignfolder_edit_object_v3(pki_ezsignfolder_id, ezsignfolder_edit_object_v3_request) +> EzsignfolderEditObjectV3Response ezsignfolder_edit_object_v3(pki_ezsignfolder_id, ezsignfolder_edit_object_v3_request) Edit an existing Ezsignfolder @@ -700,8 +700,8 @@ Edit an existing Ezsignfolder ```python import eZmaxApi -from eZmaxApi.models.common_response import CommonResponse from eZmaxApi.models.ezsignfolder_edit_object_v3_request import EzsignfolderEditObjectV3Request +from eZmaxApi.models.ezsignfolder_edit_object_v3_response import EzsignfolderEditObjectV3Response from eZmaxApi.rest import ApiException from pprint import pprint @@ -750,7 +750,7 @@ Name | Type | Description | Notes ### Return type -[**CommonResponse**](CommonResponse.md) +[**EzsignfolderEditObjectV3Response**](EzsignfolderEditObjectV3Response.md) ### Authorization @@ -772,7 +772,7 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) # **ezsignfolder_end_prematurely_v1** -> CommonResponse ezsignfolder_end_prematurely_v1(pki_ezsignfolder_id, body) +> EzsignfolderEndPrematurelyV1Response ezsignfolder_end_prematurely_v1(pki_ezsignfolder_id, body) End prematurely @@ -784,7 +784,7 @@ End prematurely all Ezsigndocument of Ezsignfolder when some signatures are stil ```python import eZmaxApi -from eZmaxApi.models.common_response import CommonResponse +from eZmaxApi.models.ezsignfolder_end_prematurely_v1_response import EzsignfolderEndPrematurelyV1Response from eZmaxApi.rest import ApiException from pprint import pprint @@ -833,7 +833,7 @@ Name | Type | Description | Notes ### Return type -[**CommonResponse**](CommonResponse.md) +[**EzsignfolderEndPrematurelyV1Response**](EzsignfolderEndPrematurelyV1Response.md) ### Authorization @@ -2234,7 +2234,7 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) # **ezsignfolder_reorder_v1** -> CommonResponse ezsignfolder_reorder_v1(pki_ezsignfolder_id, ezsignfolder_reorder_v1_request) +> EzsignfolderReorderV1Response ezsignfolder_reorder_v1(pki_ezsignfolder_id, ezsignfolder_reorder_v1_request) Reorder Ezsigndocuments in the Ezsignfolder @@ -2244,8 +2244,8 @@ Reorder Ezsigndocuments in the Ezsignfolder ```python import eZmaxApi -from eZmaxApi.models.common_response import CommonResponse from eZmaxApi.models.ezsignfolder_reorder_v1_request import EzsignfolderReorderV1Request +from eZmaxApi.models.ezsignfolder_reorder_v1_response import EzsignfolderReorderV1Response from eZmaxApi.rest import ApiException from pprint import pprint @@ -2294,7 +2294,7 @@ Name | Type | Description | Notes ### Return type -[**CommonResponse**](CommonResponse.md) +[**EzsignfolderReorderV1Response**](EzsignfolderReorderV1Response.md) ### Authorization @@ -2316,7 +2316,7 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) # **ezsignfolder_reorder_v2** -> CommonResponse ezsignfolder_reorder_v2(pki_ezsignfolder_id, ezsignfolder_reorder_v2_request) +> EzsignfolderReorderV2Response ezsignfolder_reorder_v2(pki_ezsignfolder_id, ezsignfolder_reorder_v2_request) Reorder Ezsigndocuments in the Ezsignfolder @@ -2326,8 +2326,8 @@ Reorder Ezsigndocuments in the Ezsignfolder ```python import eZmaxApi -from eZmaxApi.models.common_response import CommonResponse from eZmaxApi.models.ezsignfolder_reorder_v2_request import EzsignfolderReorderV2Request +from eZmaxApi.models.ezsignfolder_reorder_v2_response import EzsignfolderReorderV2Response from eZmaxApi.rest import ApiException from pprint import pprint @@ -2376,7 +2376,7 @@ Name | Type | Description | Notes ### Return type -[**CommonResponse**](CommonResponse.md) +[**EzsignfolderReorderV2Response**](EzsignfolderReorderV2Response.md) ### Authorization @@ -2398,7 +2398,7 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) # **ezsignfolder_send_v1** -> CommonResponse ezsignfolder_send_v1(pki_ezsignfolder_id, ezsignfolder_send_v1_request) +> EzsignfolderSendV1Response ezsignfolder_send_v1(pki_ezsignfolder_id, ezsignfolder_send_v1_request) Send the Ezsignfolder to the signatories for signature @@ -2410,8 +2410,8 @@ Send the Ezsignfolder to the signatories for signature ```python import eZmaxApi -from eZmaxApi.models.common_response import CommonResponse from eZmaxApi.models.ezsignfolder_send_v1_request import EzsignfolderSendV1Request +from eZmaxApi.models.ezsignfolder_send_v1_response import EzsignfolderSendV1Response from eZmaxApi.rest import ApiException from pprint import pprint @@ -2460,7 +2460,7 @@ Name | Type | Description | Notes ### Return type -[**CommonResponse**](CommonResponse.md) +[**EzsignfolderSendV1Response**](EzsignfolderSendV1Response.md) ### Authorization @@ -2482,7 +2482,7 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) # **ezsignfolder_send_v3** -> CommonResponse ezsignfolder_send_v3(pki_ezsignfolder_id, ezsignfolder_send_v3_request) +> EzsignfolderSendV3Response ezsignfolder_send_v3(pki_ezsignfolder_id, ezsignfolder_send_v3_request) Send the Ezsignfolder to the signatories for signature @@ -2494,8 +2494,8 @@ Send the Ezsignfolder to the signatories for signature ```python import eZmaxApi -from eZmaxApi.models.common_response import CommonResponse from eZmaxApi.models.ezsignfolder_send_v3_request import EzsignfolderSendV3Request +from eZmaxApi.models.ezsignfolder_send_v3_response import EzsignfolderSendV3Response from eZmaxApi.rest import ApiException from pprint import pprint @@ -2544,7 +2544,7 @@ Name | Type | Description | Notes ### Return type -[**CommonResponse**](CommonResponse.md) +[**EzsignfolderSendV3Response**](EzsignfolderSendV3Response.md) ### Authorization @@ -2566,7 +2566,7 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) # **ezsignfolder_unsend_v1** -> CommonResponse ezsignfolder_unsend_v1(pki_ezsignfolder_id, body) +> EzsignfolderUnsendV1Response ezsignfolder_unsend_v1(pki_ezsignfolder_id, body) Unsend the Ezsignfolder @@ -2578,7 +2578,7 @@ Once an Ezsignfolder has been sent to signatories, it cannot be modified. Using ```python import eZmaxApi -from eZmaxApi.models.common_response import CommonResponse +from eZmaxApi.models.ezsignfolder_unsend_v1_response import EzsignfolderUnsendV1Response from eZmaxApi.rest import ApiException from pprint import pprint @@ -2627,7 +2627,7 @@ Name | Type | Description | Notes ### Return type -[**CommonResponse**](CommonResponse.md) +[**EzsignfolderUnsendV1Response**](EzsignfolderUnsendV1Response.md) ### Authorization diff --git a/docs/ObjectEzsignfoldersignerassociationApi.md b/docs/ObjectEzsignfoldersignerassociationApi.md index e526fa75f..b59a5928d 100644 --- a/docs/ObjectEzsignfoldersignerassociationApi.md +++ b/docs/ObjectEzsignfoldersignerassociationApi.md @@ -262,7 +262,7 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) # **ezsignfoldersignerassociation_delete_object_v1** -> CommonResponse ezsignfoldersignerassociation_delete_object_v1(pki_ezsignfoldersignerassociation_id) +> EzsignfoldersignerassociationDeleteObjectV1Response ezsignfoldersignerassociation_delete_object_v1(pki_ezsignfoldersignerassociation_id) Delete an existing Ezsignfoldersignerassociation @@ -274,7 +274,7 @@ Delete an existing Ezsignfoldersignerassociation ```python import eZmaxApi -from eZmaxApi.models.common_response import CommonResponse +from eZmaxApi.models.ezsignfoldersignerassociation_delete_object_v1_response import EzsignfoldersignerassociationDeleteObjectV1Response from eZmaxApi.rest import ApiException from pprint import pprint @@ -321,7 +321,7 @@ Name | Type | Description | Notes ### Return type -[**CommonResponse**](CommonResponse.md) +[**EzsignfoldersignerassociationDeleteObjectV1Response**](EzsignfoldersignerassociationDeleteObjectV1Response.md) ### Authorization @@ -343,7 +343,7 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) # **ezsignfoldersignerassociation_edit_object_v1** -> CommonResponse ezsignfoldersignerassociation_edit_object_v1(pki_ezsignfoldersignerassociation_id, ezsignfoldersignerassociation_edit_object_v1_request) +> EzsignfoldersignerassociationEditObjectV1Response ezsignfoldersignerassociation_edit_object_v1(pki_ezsignfoldersignerassociation_id, ezsignfoldersignerassociation_edit_object_v1_request) Edit an existing Ezsignfoldersignerassociation @@ -355,8 +355,8 @@ Edit an existing Ezsignfoldersignerassociation ```python import eZmaxApi -from eZmaxApi.models.common_response import CommonResponse from eZmaxApi.models.ezsignfoldersignerassociation_edit_object_v1_request import EzsignfoldersignerassociationEditObjectV1Request +from eZmaxApi.models.ezsignfoldersignerassociation_edit_object_v1_response import EzsignfoldersignerassociationEditObjectV1Response from eZmaxApi.rest import ApiException from pprint import pprint @@ -405,7 +405,7 @@ Name | Type | Description | Notes ### Return type -[**CommonResponse**](CommonResponse.md) +[**EzsignfoldersignerassociationEditObjectV1Response**](EzsignfoldersignerassociationEditObjectV1Response.md) ### Authorization @@ -427,7 +427,7 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) # **ezsignfoldersignerassociation_force_disconnect_v1** -> CommonResponse ezsignfoldersignerassociation_force_disconnect_v1(pki_ezsignfoldersignerassociation_id, body) +> EzsignfoldersignerassociationForceDisconnectV1Response ezsignfoldersignerassociation_force_disconnect_v1(pki_ezsignfoldersignerassociation_id, body) Disconnects the Ezsignfoldersignerassociation @@ -439,7 +439,7 @@ Disconnects the Ezsignfoldersignerassociation ```python import eZmaxApi -from eZmaxApi.models.common_response import CommonResponse +from eZmaxApi.models.ezsignfoldersignerassociation_force_disconnect_v1_response import EzsignfoldersignerassociationForceDisconnectV1Response from eZmaxApi.rest import ApiException from pprint import pprint @@ -488,7 +488,7 @@ Name | Type | Description | Notes ### Return type -[**CommonResponse**](CommonResponse.md) +[**EzsignfoldersignerassociationForceDisconnectV1Response**](EzsignfoldersignerassociationForceDisconnectV1Response.md) ### Authorization @@ -751,7 +751,7 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) # **ezsignfoldersignerassociation_patch_object_v1** -> CommonResponse ezsignfoldersignerassociation_patch_object_v1(pki_ezsignfoldersignerassociation_id, ezsignfoldersignerassociation_patch_object_v1_request) +> EzsignfoldersignerassociationPatchObjectV1Response ezsignfoldersignerassociation_patch_object_v1(pki_ezsignfoldersignerassociation_id, ezsignfoldersignerassociation_patch_object_v1_request) Patch an existing Ezsignfoldersignerassociation @@ -761,8 +761,8 @@ Patch an existing Ezsignfoldersignerassociation ```python import eZmaxApi -from eZmaxApi.models.common_response import CommonResponse from eZmaxApi.models.ezsignfoldersignerassociation_patch_object_v1_request import EzsignfoldersignerassociationPatchObjectV1Request +from eZmaxApi.models.ezsignfoldersignerassociation_patch_object_v1_response import EzsignfoldersignerassociationPatchObjectV1Response from eZmaxApi.rest import ApiException from pprint import pprint @@ -811,7 +811,7 @@ Name | Type | Description | Notes ### Return type -[**CommonResponse**](CommonResponse.md) +[**EzsignfoldersignerassociationPatchObjectV1Response**](EzsignfoldersignerassociationPatchObjectV1Response.md) ### Authorization @@ -833,7 +833,7 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) # **ezsignfoldersignerassociation_reassign_v1** -> CommonResponse ezsignfoldersignerassociation_reassign_v1(pki_ezsignfoldersignerassociation_id, ezsignfoldersignerassociation_reassign_v1_request) +> EzsignfoldersignerassociationReassignV1Response ezsignfoldersignerassociation_reassign_v1(pki_ezsignfoldersignerassociation_id, ezsignfoldersignerassociation_reassign_v1_request) Reassign remaining unsigned signatures and forms @@ -845,8 +845,8 @@ Reassign remaining unsigned signatures and forms ```python import eZmaxApi -from eZmaxApi.models.common_response import CommonResponse from eZmaxApi.models.ezsignfoldersignerassociation_reassign_v1_request import EzsignfoldersignerassociationReassignV1Request +from eZmaxApi.models.ezsignfoldersignerassociation_reassign_v1_response import EzsignfoldersignerassociationReassignV1Response from eZmaxApi.rest import ApiException from pprint import pprint @@ -895,7 +895,7 @@ Name | Type | Description | Notes ### Return type -[**CommonResponse**](CommonResponse.md) +[**EzsignfoldersignerassociationReassignV1Response**](EzsignfoldersignerassociationReassignV1Response.md) ### Authorization diff --git a/docs/ObjectEzsignfoldertypeApi.md b/docs/ObjectEzsignfoldertypeApi.md index 00c24c5a9..43cdd9838 100644 --- a/docs/ObjectEzsignfoldertypeApi.md +++ b/docs/ObjectEzsignfoldertypeApi.md @@ -93,7 +93,7 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) # **ezsignfoldertype_edit_object_v3** -> CommonResponse ezsignfoldertype_edit_object_v3(pki_ezsignfoldertype_id, ezsignfoldertype_edit_object_v3_request) +> EzsignfoldertypeEditObjectV3Response ezsignfoldertype_edit_object_v3(pki_ezsignfoldertype_id, ezsignfoldertype_edit_object_v3_request) Edit an existing Ezsignfoldertype @@ -105,8 +105,8 @@ Edit an existing Ezsignfoldertype ```python import eZmaxApi -from eZmaxApi.models.common_response import CommonResponse from eZmaxApi.models.ezsignfoldertype_edit_object_v3_request import EzsignfoldertypeEditObjectV3Request +from eZmaxApi.models.ezsignfoldertype_edit_object_v3_response import EzsignfoldertypeEditObjectV3Response from eZmaxApi.rest import ApiException from pprint import pprint @@ -155,7 +155,7 @@ Name | Type | Description | Notes ### Return type -[**CommonResponse**](CommonResponse.md) +[**EzsignfoldertypeEditObjectV3Response**](EzsignfoldertypeEditObjectV3Response.md) ### Authorization diff --git a/docs/ObjectEzsignformfieldgroupApi.md b/docs/ObjectEzsignformfieldgroupApi.md index 6abfaa42a..6e0068ff1 100644 --- a/docs/ObjectEzsignformfieldgroupApi.md +++ b/docs/ObjectEzsignformfieldgroupApi.md @@ -91,7 +91,7 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) # **ezsignformfieldgroup_delete_object_v1** -> CommonResponse ezsignformfieldgroup_delete_object_v1(pki_ezsignformfieldgroup_id) +> EzsignformfieldgroupDeleteObjectV1Response ezsignformfieldgroup_delete_object_v1(pki_ezsignformfieldgroup_id) Delete an existing Ezsignformfieldgroup @@ -103,7 +103,7 @@ Delete an existing Ezsignformfieldgroup ```python import eZmaxApi -from eZmaxApi.models.common_response import CommonResponse +from eZmaxApi.models.ezsignformfieldgroup_delete_object_v1_response import EzsignformfieldgroupDeleteObjectV1Response from eZmaxApi.rest import ApiException from pprint import pprint @@ -150,7 +150,7 @@ Name | Type | Description | Notes ### Return type -[**CommonResponse**](CommonResponse.md) +[**EzsignformfieldgroupDeleteObjectV1Response**](EzsignformfieldgroupDeleteObjectV1Response.md) ### Authorization @@ -172,7 +172,7 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) # **ezsignformfieldgroup_edit_object_v1** -> CommonResponse ezsignformfieldgroup_edit_object_v1(pki_ezsignformfieldgroup_id, ezsignformfieldgroup_edit_object_v1_request) +> EzsignformfieldgroupEditObjectV1Response ezsignformfieldgroup_edit_object_v1(pki_ezsignformfieldgroup_id, ezsignformfieldgroup_edit_object_v1_request) Edit an existing Ezsignformfieldgroup @@ -184,8 +184,8 @@ Edit an existing Ezsignformfieldgroup ```python import eZmaxApi -from eZmaxApi.models.common_response import CommonResponse from eZmaxApi.models.ezsignformfieldgroup_edit_object_v1_request import EzsignformfieldgroupEditObjectV1Request +from eZmaxApi.models.ezsignformfieldgroup_edit_object_v1_response import EzsignformfieldgroupEditObjectV1Response from eZmaxApi.rest import ApiException from pprint import pprint @@ -234,7 +234,7 @@ Name | Type | Description | Notes ### Return type -[**CommonResponse**](CommonResponse.md) +[**EzsignformfieldgroupEditObjectV1Response**](EzsignformfieldgroupEditObjectV1Response.md) ### Authorization diff --git a/docs/ObjectEzsignpageApi.md b/docs/ObjectEzsignpageApi.md index b70e4aedc..ee3e404e3 100644 --- a/docs/ObjectEzsignpageApi.md +++ b/docs/ObjectEzsignpageApi.md @@ -8,7 +8,7 @@ Method | HTTP request | Description # **ezsignpage_consult_v1** -> CommonResponse ezsignpage_consult_v1(pki_ezsignpage_id, body) +> EzsignpageConsultV1Response ezsignpage_consult_v1(pki_ezsignpage_id, body) Consult an Ezsignpage @@ -18,7 +18,7 @@ Consult an Ezsignpage ```python import eZmaxApi -from eZmaxApi.models.common_response import CommonResponse +from eZmaxApi.models.ezsignpage_consult_v1_response import EzsignpageConsultV1Response from eZmaxApi.rest import ApiException from pprint import pprint @@ -67,7 +67,7 @@ Name | Type | Description | Notes ### Return type -[**CommonResponse**](CommonResponse.md) +[**EzsignpageConsultV1Response**](EzsignpageConsultV1Response.md) ### Authorization diff --git a/docs/ObjectEzsignsignatureApi.md b/docs/ObjectEzsignsignatureApi.md index 9f46592bb..0fcba6274 100644 --- a/docs/ObjectEzsignsignatureApi.md +++ b/docs/ObjectEzsignsignatureApi.md @@ -256,7 +256,7 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) # **ezsignsignature_delete_object_v1** -> CommonResponse ezsignsignature_delete_object_v1(pki_ezsignsignature_id) +> EzsignsignatureDeleteObjectV1Response ezsignsignature_delete_object_v1(pki_ezsignsignature_id) Delete an existing Ezsignsignature @@ -268,7 +268,7 @@ Delete an existing Ezsignsignature ```python import eZmaxApi -from eZmaxApi.models.common_response import CommonResponse +from eZmaxApi.models.ezsignsignature_delete_object_v1_response import EzsignsignatureDeleteObjectV1Response from eZmaxApi.rest import ApiException from pprint import pprint @@ -315,7 +315,7 @@ Name | Type | Description | Notes ### Return type -[**CommonResponse**](CommonResponse.md) +[**EzsignsignatureDeleteObjectV1Response**](EzsignsignatureDeleteObjectV1Response.md) ### Authorization @@ -337,7 +337,7 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) # **ezsignsignature_edit_object_v2** -> CommonResponse ezsignsignature_edit_object_v2(pki_ezsignsignature_id, ezsignsignature_edit_object_v2_request) +> EzsignsignatureEditObjectV2Response ezsignsignature_edit_object_v2(pki_ezsignsignature_id, ezsignsignature_edit_object_v2_request) Edit an existing Ezsignsignature @@ -349,8 +349,8 @@ Edit an existing Ezsignsignature ```python import eZmaxApi -from eZmaxApi.models.common_response import CommonResponse from eZmaxApi.models.ezsignsignature_edit_object_v2_request import EzsignsignatureEditObjectV2Request +from eZmaxApi.models.ezsignsignature_edit_object_v2_response import EzsignsignatureEditObjectV2Response from eZmaxApi.rest import ApiException from pprint import pprint @@ -399,7 +399,7 @@ Name | Type | Description | Notes ### Return type -[**CommonResponse**](CommonResponse.md) +[**EzsignsignatureEditObjectV2Response**](EzsignsignatureEditObjectV2Response.md) ### Authorization diff --git a/docs/ObjectEzsignsignergroupApi.md b/docs/ObjectEzsignsignergroupApi.md index d4c9d7d8a..2ddd71e6e 100644 --- a/docs/ObjectEzsignsignergroupApi.md +++ b/docs/ObjectEzsignsignergroupApi.md @@ -93,7 +93,7 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) # **ezsignsignergroup_delete_object_v1** -> CommonResponse ezsignsignergroup_delete_object_v1(pki_ezsignsignergroup_id) +> EzsignsignergroupDeleteObjectV1Response ezsignsignergroup_delete_object_v1(pki_ezsignsignergroup_id) Delete an existing Ezsignsignergroup @@ -105,7 +105,7 @@ Delete an existing Ezsignsignergroup ```python import eZmaxApi -from eZmaxApi.models.common_response import CommonResponse +from eZmaxApi.models.ezsignsignergroup_delete_object_v1_response import EzsignsignergroupDeleteObjectV1Response from eZmaxApi.rest import ApiException from pprint import pprint @@ -152,7 +152,7 @@ Name | Type | Description | Notes ### Return type -[**CommonResponse**](CommonResponse.md) +[**EzsignsignergroupDeleteObjectV1Response**](EzsignsignergroupDeleteObjectV1Response.md) ### Authorization @@ -257,7 +257,7 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) # **ezsignsignergroup_edit_object_v1** -> CommonResponse ezsignsignergroup_edit_object_v1(pki_ezsignsignergroup_id, ezsignsignergroup_edit_object_v1_request) +> EzsignsignergroupEditObjectV1Response ezsignsignergroup_edit_object_v1(pki_ezsignsignergroup_id, ezsignsignergroup_edit_object_v1_request) Edit an existing Ezsignsignergroup @@ -269,8 +269,8 @@ Edit an existing Ezsignsignergroup ```python import eZmaxApi -from eZmaxApi.models.common_response import CommonResponse from eZmaxApi.models.ezsignsignergroup_edit_object_v1_request import EzsignsignergroupEditObjectV1Request +from eZmaxApi.models.ezsignsignergroup_edit_object_v1_response import EzsignsignergroupEditObjectV1Response from eZmaxApi.rest import ApiException from pprint import pprint @@ -319,7 +319,7 @@ Name | Type | Description | Notes ### Return type -[**CommonResponse**](CommonResponse.md) +[**EzsignsignergroupEditObjectV1Response**](EzsignsignergroupEditObjectV1Response.md) ### Authorization diff --git a/docs/ObjectEzsignsignergroupmembershipApi.md b/docs/ObjectEzsignsignergroupmembershipApi.md index 38c3ae21e..7dff3eb7f 100644 --- a/docs/ObjectEzsignsignergroupmembershipApi.md +++ b/docs/ObjectEzsignsignergroupmembershipApi.md @@ -90,7 +90,7 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) # **ezsignsignergroupmembership_delete_object_v1** -> CommonResponse ezsignsignergroupmembership_delete_object_v1(pki_ezsignsignergroupmembership_id) +> EzsignsignergroupmembershipDeleteObjectV1Response ezsignsignergroupmembership_delete_object_v1(pki_ezsignsignergroupmembership_id) Delete an existing Ezsignsignergroupmembership @@ -102,7 +102,7 @@ Delete an existing Ezsignsignergroupmembership ```python import eZmaxApi -from eZmaxApi.models.common_response import CommonResponse +from eZmaxApi.models.ezsignsignergroupmembership_delete_object_v1_response import EzsignsignergroupmembershipDeleteObjectV1Response from eZmaxApi.rest import ApiException from pprint import pprint @@ -149,7 +149,7 @@ Name | Type | Description | Notes ### Return type -[**CommonResponse**](CommonResponse.md) +[**EzsignsignergroupmembershipDeleteObjectV1Response**](EzsignsignergroupmembershipDeleteObjectV1Response.md) ### Authorization diff --git a/docs/ObjectEzsignsigningreasonApi.md b/docs/ObjectEzsignsigningreasonApi.md index c6bc797ce..b5ae4da87 100644 --- a/docs/ObjectEzsignsigningreasonApi.md +++ b/docs/ObjectEzsignsigningreasonApi.md @@ -92,7 +92,7 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) # **ezsignsigningreason_edit_object_v1** -> CommonResponse ezsignsigningreason_edit_object_v1(pki_ezsignsigningreason_id, ezsignsigningreason_edit_object_v1_request) +> EzsignsigningreasonEditObjectV1Response ezsignsigningreason_edit_object_v1(pki_ezsignsigningreason_id, ezsignsigningreason_edit_object_v1_request) Edit an existing Ezsignsigningreason @@ -104,8 +104,8 @@ Edit an existing Ezsignsigningreason ```python import eZmaxApi -from eZmaxApi.models.common_response import CommonResponse from eZmaxApi.models.ezsignsigningreason_edit_object_v1_request import EzsignsigningreasonEditObjectV1Request +from eZmaxApi.models.ezsignsigningreason_edit_object_v1_response import EzsignsigningreasonEditObjectV1Response from eZmaxApi.rest import ApiException from pprint import pprint @@ -154,7 +154,7 @@ Name | Type | Description | Notes ### Return type -[**CommonResponse**](CommonResponse.md) +[**EzsignsigningreasonEditObjectV1Response**](EzsignsigningreasonEditObjectV1Response.md) ### Authorization diff --git a/docs/ObjectEzsigntemplateApi.md b/docs/ObjectEzsigntemplateApi.md index d22136405..f75989eec 100644 --- a/docs/ObjectEzsigntemplateApi.md +++ b/docs/ObjectEzsigntemplateApi.md @@ -177,7 +177,7 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) # **ezsigntemplate_delete_object_v1** -> CommonResponse ezsigntemplate_delete_object_v1(pki_ezsigntemplate_id) +> EzsigntemplateDeleteObjectV1Response ezsigntemplate_delete_object_v1(pki_ezsigntemplate_id) Delete an existing Ezsigntemplate @@ -189,7 +189,7 @@ Delete an existing Ezsigntemplate ```python import eZmaxApi -from eZmaxApi.models.common_response import CommonResponse +from eZmaxApi.models.ezsigntemplate_delete_object_v1_response import EzsigntemplateDeleteObjectV1Response from eZmaxApi.rest import ApiException from pprint import pprint @@ -236,7 +236,7 @@ Name | Type | Description | Notes ### Return type -[**CommonResponse**](CommonResponse.md) +[**EzsigntemplateDeleteObjectV1Response**](EzsigntemplateDeleteObjectV1Response.md) ### Authorization @@ -257,7 +257,7 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) # **ezsigntemplate_edit_object_v3** -> CommonResponse ezsigntemplate_edit_object_v3(pki_ezsigntemplate_id, ezsigntemplate_edit_object_v3_request) +> EzsigntemplateEditObjectV3Response ezsigntemplate_edit_object_v3(pki_ezsigntemplate_id, ezsigntemplate_edit_object_v3_request) Edit an existing Ezsigntemplate @@ -269,8 +269,8 @@ Edit an existing Ezsigntemplate ```python import eZmaxApi -from eZmaxApi.models.common_response import CommonResponse from eZmaxApi.models.ezsigntemplate_edit_object_v3_request import EzsigntemplateEditObjectV3Request +from eZmaxApi.models.ezsigntemplate_edit_object_v3_response import EzsigntemplateEditObjectV3Response from eZmaxApi.rest import ApiException from pprint import pprint @@ -319,7 +319,7 @@ Name | Type | Description | Notes ### Return type -[**CommonResponse**](CommonResponse.md) +[**EzsigntemplateEditObjectV3Response**](EzsigntemplateEditObjectV3Response.md) ### Authorization diff --git a/docs/ObjectEzsigntemplatedocumentApi.md b/docs/ObjectEzsigntemplatedocumentApi.md index 1594fc922..d5b91ccec 100644 --- a/docs/ObjectEzsigntemplatedocumentApi.md +++ b/docs/ObjectEzsigntemplatedocumentApi.md @@ -523,7 +523,7 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) # **ezsigntemplatedocument_flatten_v1** -> CommonResponse ezsigntemplatedocument_flatten_v1(pki_ezsigntemplatedocument_id, body) +> EzsigntemplatedocumentFlattenV1Response ezsigntemplatedocument_flatten_v1(pki_ezsigntemplatedocument_id, body) Flatten @@ -535,7 +535,7 @@ Flatten an Ezsigntemplatedocument signatures, forms and annotations. This proces ```python import eZmaxApi -from eZmaxApi.models.common_response import CommonResponse +from eZmaxApi.models.ezsigntemplatedocument_flatten_v1_response import EzsigntemplatedocumentFlattenV1Response from eZmaxApi.rest import ApiException from pprint import pprint @@ -584,7 +584,7 @@ Name | Type | Description | Notes ### Return type -[**CommonResponse**](CommonResponse.md) +[**EzsigntemplatedocumentFlattenV1Response**](EzsigntemplatedocumentFlattenV1Response.md) ### Authorization @@ -1092,7 +1092,7 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) # **ezsigntemplatedocument_patch_object_v1** -> CommonResponse ezsigntemplatedocument_patch_object_v1(pki_ezsigntemplatedocument_id, ezsigntemplatedocument_patch_object_v1_request) +> EzsigntemplatedocumentPatchObjectV1Response ezsigntemplatedocument_patch_object_v1(pki_ezsigntemplatedocument_id, ezsigntemplatedocument_patch_object_v1_request) Patch an existing Ezsigntemplatedocument @@ -1104,8 +1104,8 @@ Patch an existing Ezsigntemplatedocument ```python import eZmaxApi -from eZmaxApi.models.common_response import CommonResponse from eZmaxApi.models.ezsigntemplatedocument_patch_object_v1_request import EzsigntemplatedocumentPatchObjectV1Request +from eZmaxApi.models.ezsigntemplatedocument_patch_object_v1_response import EzsigntemplatedocumentPatchObjectV1Response from eZmaxApi.rest import ApiException from pprint import pprint @@ -1154,7 +1154,7 @@ Name | Type | Description | Notes ### Return type -[**CommonResponse**](CommonResponse.md) +[**EzsigntemplatedocumentPatchObjectV1Response**](EzsigntemplatedocumentPatchObjectV1Response.md) ### Authorization diff --git a/docs/ObjectEzsigntemplatedocumentpagerecognitionApi.md b/docs/ObjectEzsigntemplatedocumentpagerecognitionApi.md index 90aa31da5..db7381c8a 100644 --- a/docs/ObjectEzsigntemplatedocumentpagerecognitionApi.md +++ b/docs/ObjectEzsigntemplatedocumentpagerecognitionApi.md @@ -91,7 +91,7 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) # **ezsigntemplatedocumentpagerecognition_delete_object_v1** -> CommonResponse ezsigntemplatedocumentpagerecognition_delete_object_v1(pki_ezsigntemplatedocumentpagerecognition_id) +> EzsigntemplatedocumentpagerecognitionDeleteObjectV1Response ezsigntemplatedocumentpagerecognition_delete_object_v1(pki_ezsigntemplatedocumentpagerecognition_id) Delete an existing Ezsigntemplatedocumentpagerecognition @@ -103,7 +103,7 @@ Delete an existing Ezsigntemplatedocumentpagerecognition ```python import eZmaxApi -from eZmaxApi.models.common_response import CommonResponse +from eZmaxApi.models.ezsigntemplatedocumentpagerecognition_delete_object_v1_response import EzsigntemplatedocumentpagerecognitionDeleteObjectV1Response from eZmaxApi.rest import ApiException from pprint import pprint @@ -150,7 +150,7 @@ Name | Type | Description | Notes ### Return type -[**CommonResponse**](CommonResponse.md) +[**EzsigntemplatedocumentpagerecognitionDeleteObjectV1Response**](EzsigntemplatedocumentpagerecognitionDeleteObjectV1Response.md) ### Authorization @@ -171,7 +171,7 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) # **ezsigntemplatedocumentpagerecognition_edit_object_v1** -> CommonResponse ezsigntemplatedocumentpagerecognition_edit_object_v1(pki_ezsigntemplatedocumentpagerecognition_id, ezsigntemplatedocumentpagerecognition_edit_object_v1_request) +> EzsigntemplatedocumentpagerecognitionEditObjectV1Response ezsigntemplatedocumentpagerecognition_edit_object_v1(pki_ezsigntemplatedocumentpagerecognition_id, ezsigntemplatedocumentpagerecognition_edit_object_v1_request) Edit an existing Ezsigntemplatedocumentpagerecognition @@ -183,8 +183,8 @@ Edit an existing Ezsigntemplatedocumentpagerecognition ```python import eZmaxApi -from eZmaxApi.models.common_response import CommonResponse from eZmaxApi.models.ezsigntemplatedocumentpagerecognition_edit_object_v1_request import EzsigntemplatedocumentpagerecognitionEditObjectV1Request +from eZmaxApi.models.ezsigntemplatedocumentpagerecognition_edit_object_v1_response import EzsigntemplatedocumentpagerecognitionEditObjectV1Response from eZmaxApi.rest import ApiException from pprint import pprint @@ -233,7 +233,7 @@ Name | Type | Description | Notes ### Return type -[**CommonResponse**](CommonResponse.md) +[**EzsigntemplatedocumentpagerecognitionEditObjectV1Response**](EzsigntemplatedocumentpagerecognitionEditObjectV1Response.md) ### Authorization diff --git a/docs/ObjectEzsigntemplateformfieldgroupApi.md b/docs/ObjectEzsigntemplateformfieldgroupApi.md index d7a2c8397..5158a588f 100644 --- a/docs/ObjectEzsigntemplateformfieldgroupApi.md +++ b/docs/ObjectEzsigntemplateformfieldgroupApi.md @@ -91,7 +91,7 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) # **ezsigntemplateformfieldgroup_delete_object_v1** -> CommonResponse ezsigntemplateformfieldgroup_delete_object_v1(pki_ezsigntemplateformfieldgroup_id) +> EzsigntemplateformfieldgroupDeleteObjectV1Response ezsigntemplateformfieldgroup_delete_object_v1(pki_ezsigntemplateformfieldgroup_id) Delete an existing Ezsigntemplateformfieldgroup @@ -103,7 +103,7 @@ Delete an existing Ezsigntemplateformfieldgroup ```python import eZmaxApi -from eZmaxApi.models.common_response import CommonResponse +from eZmaxApi.models.ezsigntemplateformfieldgroup_delete_object_v1_response import EzsigntemplateformfieldgroupDeleteObjectV1Response from eZmaxApi.rest import ApiException from pprint import pprint @@ -150,7 +150,7 @@ Name | Type | Description | Notes ### Return type -[**CommonResponse**](CommonResponse.md) +[**EzsigntemplateformfieldgroupDeleteObjectV1Response**](EzsigntemplateformfieldgroupDeleteObjectV1Response.md) ### Authorization @@ -171,7 +171,7 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) # **ezsigntemplateformfieldgroup_edit_object_v1** -> CommonResponse ezsigntemplateformfieldgroup_edit_object_v1(pki_ezsigntemplateformfieldgroup_id, ezsigntemplateformfieldgroup_edit_object_v1_request) +> EzsigntemplateformfieldgroupEditObjectV1Response ezsigntemplateformfieldgroup_edit_object_v1(pki_ezsigntemplateformfieldgroup_id, ezsigntemplateformfieldgroup_edit_object_v1_request) Edit an existing Ezsigntemplateformfieldgroup @@ -183,8 +183,8 @@ Edit an existing Ezsigntemplateformfieldgroup ```python import eZmaxApi -from eZmaxApi.models.common_response import CommonResponse from eZmaxApi.models.ezsigntemplateformfieldgroup_edit_object_v1_request import EzsigntemplateformfieldgroupEditObjectV1Request +from eZmaxApi.models.ezsigntemplateformfieldgroup_edit_object_v1_response import EzsigntemplateformfieldgroupEditObjectV1Response from eZmaxApi.rest import ApiException from pprint import pprint @@ -233,7 +233,7 @@ Name | Type | Description | Notes ### Return type -[**CommonResponse**](CommonResponse.md) +[**EzsigntemplateformfieldgroupEditObjectV1Response**](EzsigntemplateformfieldgroupEditObjectV1Response.md) ### Authorization diff --git a/docs/ObjectEzsigntemplatepackageApi.md b/docs/ObjectEzsigntemplatepackageApi.md index 93c00ee1d..8d52b5755 100644 --- a/docs/ObjectEzsigntemplatepackageApi.md +++ b/docs/ObjectEzsigntemplatepackageApi.md @@ -94,7 +94,7 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) # **ezsigntemplatepackage_delete_object_v1** -> CommonResponse ezsigntemplatepackage_delete_object_v1(pki_ezsigntemplatepackage_id) +> EzsigntemplatepackageDeleteObjectV1Response ezsigntemplatepackage_delete_object_v1(pki_ezsigntemplatepackage_id) Delete an existing Ezsigntemplatepackage @@ -106,7 +106,7 @@ Delete an existing Ezsigntemplatepackage ```python import eZmaxApi -from eZmaxApi.models.common_response import CommonResponse +from eZmaxApi.models.ezsigntemplatepackage_delete_object_v1_response import EzsigntemplatepackageDeleteObjectV1Response from eZmaxApi.rest import ApiException from pprint import pprint @@ -153,7 +153,7 @@ Name | Type | Description | Notes ### Return type -[**CommonResponse**](CommonResponse.md) +[**EzsigntemplatepackageDeleteObjectV1Response**](EzsigntemplatepackageDeleteObjectV1Response.md) ### Authorization @@ -258,7 +258,7 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) # **ezsigntemplatepackage_edit_object_v1** -> CommonResponse ezsigntemplatepackage_edit_object_v1(pki_ezsigntemplatepackage_id, ezsigntemplatepackage_edit_object_v1_request) +> EzsigntemplatepackageEditObjectV1Response ezsigntemplatepackage_edit_object_v1(pki_ezsigntemplatepackage_id, ezsigntemplatepackage_edit_object_v1_request) Edit an existing Ezsigntemplatepackage @@ -270,8 +270,8 @@ Edit an existing Ezsigntemplatepackage ```python import eZmaxApi -from eZmaxApi.models.common_response import CommonResponse from eZmaxApi.models.ezsigntemplatepackage_edit_object_v1_request import EzsigntemplatepackageEditObjectV1Request +from eZmaxApi.models.ezsigntemplatepackage_edit_object_v1_response import EzsigntemplatepackageEditObjectV1Response from eZmaxApi.rest import ApiException from pprint import pprint @@ -320,7 +320,7 @@ Name | Type | Description | Notes ### Return type -[**CommonResponse**](CommonResponse.md) +[**EzsigntemplatepackageEditObjectV1Response**](EzsigntemplatepackageEditObjectV1Response.md) ### Authorization diff --git a/docs/ObjectEzsigntemplatepackagemembershipApi.md b/docs/ObjectEzsigntemplatepackagemembershipApi.md index 4b69ae218..3961e443c 100644 --- a/docs/ObjectEzsigntemplatepackagemembershipApi.md +++ b/docs/ObjectEzsigntemplatepackagemembershipApi.md @@ -91,7 +91,7 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) # **ezsigntemplatepackagemembership_delete_object_v1** -> CommonResponse ezsigntemplatepackagemembership_delete_object_v1(pki_ezsigntemplatepackagemembership_id) +> EzsigntemplatepackagemembershipDeleteObjectV1Response ezsigntemplatepackagemembership_delete_object_v1(pki_ezsigntemplatepackagemembership_id) Delete an existing Ezsigntemplatepackagemembership @@ -103,7 +103,7 @@ Delete an existing Ezsigntemplatepackagemembership ```python import eZmaxApi -from eZmaxApi.models.common_response import CommonResponse +from eZmaxApi.models.ezsigntemplatepackagemembership_delete_object_v1_response import EzsigntemplatepackagemembershipDeleteObjectV1Response from eZmaxApi.rest import ApiException from pprint import pprint @@ -150,7 +150,7 @@ Name | Type | Description | Notes ### Return type -[**CommonResponse**](CommonResponse.md) +[**EzsigntemplatepackagemembershipDeleteObjectV1Response**](EzsigntemplatepackagemembershipDeleteObjectV1Response.md) ### Authorization diff --git a/docs/ObjectEzsigntemplatepackagesignerApi.md b/docs/ObjectEzsigntemplatepackagesignerApi.md index daf5b482d..6ae1f2513 100644 --- a/docs/ObjectEzsigntemplatepackagesignerApi.md +++ b/docs/ObjectEzsigntemplatepackagesignerApi.md @@ -171,7 +171,7 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) # **ezsigntemplatepackagesigner_edit_object_v1** -> CommonResponse ezsigntemplatepackagesigner_edit_object_v1(pki_ezsigntemplatepackagesigner_id, ezsigntemplatepackagesigner_edit_object_v1_request) +> EzsigntemplatepackagesignerEditObjectV1Response ezsigntemplatepackagesigner_edit_object_v1(pki_ezsigntemplatepackagesigner_id, ezsigntemplatepackagesigner_edit_object_v1_request) Edit an existing Ezsigntemplatepackagesigner @@ -183,8 +183,8 @@ Edit an existing Ezsigntemplatepackagesigner ```python import eZmaxApi -from eZmaxApi.models.common_response import CommonResponse from eZmaxApi.models.ezsigntemplatepackagesigner_edit_object_v1_request import EzsigntemplatepackagesignerEditObjectV1Request +from eZmaxApi.models.ezsigntemplatepackagesigner_edit_object_v1_response import EzsigntemplatepackagesignerEditObjectV1Response from eZmaxApi.rest import ApiException from pprint import pprint @@ -233,7 +233,7 @@ Name | Type | Description | Notes ### Return type -[**CommonResponse**](CommonResponse.md) +[**EzsigntemplatepackagesignerEditObjectV1Response**](EzsigntemplatepackagesignerEditObjectV1Response.md) ### Authorization diff --git a/docs/ObjectEzsigntemplatepublicApi.md b/docs/ObjectEzsigntemplatepublicApi.md index 8cf0d96c8..89bf9bcae 100644 --- a/docs/ObjectEzsigntemplatepublicApi.md +++ b/docs/ObjectEzsigntemplatepublicApi.md @@ -177,7 +177,7 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) # **ezsigntemplatepublic_edit_object_v1** -> CommonResponse ezsigntemplatepublic_edit_object_v1(pki_ezsigntemplatepublic_id, ezsigntemplatepublic_edit_object_v1_request) +> EzsigntemplatepublicEditObjectV1Response ezsigntemplatepublic_edit_object_v1(pki_ezsigntemplatepublic_id, ezsigntemplatepublic_edit_object_v1_request) Edit an existing Ezsigntemplatepublic @@ -189,8 +189,8 @@ Edit an existing Ezsigntemplatepublic ```python import eZmaxApi -from eZmaxApi.models.common_response import CommonResponse from eZmaxApi.models.ezsigntemplatepublic_edit_object_v1_request import EzsigntemplatepublicEditObjectV1Request +from eZmaxApi.models.ezsigntemplatepublic_edit_object_v1_response import EzsigntemplatepublicEditObjectV1Response from eZmaxApi.rest import ApiException from pprint import pprint @@ -239,7 +239,7 @@ Name | Type | Description | Notes ### Return type -[**CommonResponse**](CommonResponse.md) +[**EzsigntemplatepublicEditObjectV1Response**](EzsigntemplatepublicEditObjectV1Response.md) ### Authorization diff --git a/docs/ObjectEzsigntemplatesignatureApi.md b/docs/ObjectEzsigntemplatesignatureApi.md index 4991c73fd..8e9137cfa 100644 --- a/docs/ObjectEzsigntemplatesignatureApi.md +++ b/docs/ObjectEzsigntemplatesignatureApi.md @@ -91,7 +91,7 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) # **ezsigntemplatesignature_delete_object_v1** -> CommonResponse ezsigntemplatesignature_delete_object_v1(pki_ezsigntemplatesignature_id) +> EzsigntemplatesignatureDeleteObjectV1Response ezsigntemplatesignature_delete_object_v1(pki_ezsigntemplatesignature_id) Delete an existing Ezsigntemplatesignature @@ -103,7 +103,7 @@ Delete an existing Ezsigntemplatesignature ```python import eZmaxApi -from eZmaxApi.models.common_response import CommonResponse +from eZmaxApi.models.ezsigntemplatesignature_delete_object_v1_response import EzsigntemplatesignatureDeleteObjectV1Response from eZmaxApi.rest import ApiException from pprint import pprint @@ -150,7 +150,7 @@ Name | Type | Description | Notes ### Return type -[**CommonResponse**](CommonResponse.md) +[**EzsigntemplatesignatureDeleteObjectV1Response**](EzsigntemplatesignatureDeleteObjectV1Response.md) ### Authorization @@ -171,7 +171,7 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) # **ezsigntemplatesignature_edit_object_v2** -> CommonResponse ezsigntemplatesignature_edit_object_v2(pki_ezsigntemplatesignature_id, ezsigntemplatesignature_edit_object_v2_request) +> EzsigntemplatesignatureEditObjectV2Response ezsigntemplatesignature_edit_object_v2(pki_ezsigntemplatesignature_id, ezsigntemplatesignature_edit_object_v2_request) Edit an existing Ezsigntemplatesignature @@ -183,8 +183,8 @@ Edit an existing Ezsigntemplatesignature ```python import eZmaxApi -from eZmaxApi.models.common_response import CommonResponse from eZmaxApi.models.ezsigntemplatesignature_edit_object_v2_request import EzsigntemplatesignatureEditObjectV2Request +from eZmaxApi.models.ezsigntemplatesignature_edit_object_v2_response import EzsigntemplatesignatureEditObjectV2Response from eZmaxApi.rest import ApiException from pprint import pprint @@ -233,7 +233,7 @@ Name | Type | Description | Notes ### Return type -[**CommonResponse**](CommonResponse.md) +[**EzsigntemplatesignatureEditObjectV2Response**](EzsigntemplatesignatureEditObjectV2Response.md) ### Authorization diff --git a/docs/ObjectEzsignuserApi.md b/docs/ObjectEzsignuserApi.md index 3f342950e..bb9cc5b91 100644 --- a/docs/ObjectEzsignuserApi.md +++ b/docs/ObjectEzsignuserApi.md @@ -9,7 +9,7 @@ Method | HTTP request | Description # **ezsignuser_edit_object_v1** -> CommonResponse ezsignuser_edit_object_v1(pki_ezsignuser_id, ezsignuser_edit_object_v1_request) +> EzsignuserEditObjectV1Response ezsignuser_edit_object_v1(pki_ezsignuser_id, ezsignuser_edit_object_v1_request) Edit an existing Ezsignuser @@ -21,8 +21,8 @@ Edit an existing Ezsignuser ```python import eZmaxApi -from eZmaxApi.models.common_response import CommonResponse from eZmaxApi.models.ezsignuser_edit_object_v1_request import EzsignuserEditObjectV1Request +from eZmaxApi.models.ezsignuser_edit_object_v1_response import EzsignuserEditObjectV1Response from eZmaxApi.rest import ApiException from pprint import pprint @@ -71,7 +71,7 @@ Name | Type | Description | Notes ### Return type -[**CommonResponse**](CommonResponse.md) +[**EzsignuserEditObjectV1Response**](EzsignuserEditObjectV1Response.md) ### Authorization diff --git a/docs/ObjectPaymenttermApi.md b/docs/ObjectPaymenttermApi.md index 9ed77b4ab..9e4d87340 100644 --- a/docs/ObjectPaymenttermApi.md +++ b/docs/ObjectPaymenttermApi.md @@ -93,7 +93,7 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) # **paymentterm_edit_object_v1** -> CommonResponse paymentterm_edit_object_v1(pki_paymentterm_id, paymentterm_edit_object_v1_request) +> PaymenttermEditObjectV1Response paymentterm_edit_object_v1(pki_paymentterm_id, paymentterm_edit_object_v1_request) Edit an existing Paymentterm @@ -105,8 +105,8 @@ Edit an existing Paymentterm ```python import eZmaxApi -from eZmaxApi.models.common_response import CommonResponse from eZmaxApi.models.paymentterm_edit_object_v1_request import PaymenttermEditObjectV1Request +from eZmaxApi.models.paymentterm_edit_object_v1_response import PaymenttermEditObjectV1Response from eZmaxApi.rest import ApiException from pprint import pprint @@ -155,7 +155,7 @@ Name | Type | Description | Notes ### Return type -[**CommonResponse**](CommonResponse.md) +[**PaymenttermEditObjectV1Response**](PaymenttermEditObjectV1Response.md) ### Authorization diff --git a/docs/ObjectPermissionApi.md b/docs/ObjectPermissionApi.md index 35c0ee07e..63a4244b7 100644 --- a/docs/ObjectPermissionApi.md +++ b/docs/ObjectPermissionApi.md @@ -92,7 +92,7 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) # **permission_delete_object_v1** -> CommonResponse permission_delete_object_v1(pki_permission_id) +> PermissionDeleteObjectV1Response permission_delete_object_v1(pki_permission_id) Delete an existing Permission @@ -104,7 +104,7 @@ Delete an existing Permission ```python import eZmaxApi -from eZmaxApi.models.common_response import CommonResponse +from eZmaxApi.models.permission_delete_object_v1_response import PermissionDeleteObjectV1Response from eZmaxApi.rest import ApiException from pprint import pprint @@ -151,7 +151,7 @@ Name | Type | Description | Notes ### Return type -[**CommonResponse**](CommonResponse.md) +[**PermissionDeleteObjectV1Response**](PermissionDeleteObjectV1Response.md) ### Authorization @@ -172,7 +172,7 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) # **permission_edit_object_v1** -> CommonResponse permission_edit_object_v1(pki_permission_id, permission_edit_object_v1_request) +> PermissionEditObjectV1Response permission_edit_object_v1(pki_permission_id, permission_edit_object_v1_request) Edit an existing Permission @@ -184,8 +184,8 @@ Edit an existing Permission ```python import eZmaxApi -from eZmaxApi.models.common_response import CommonResponse from eZmaxApi.models.permission_edit_object_v1_request import PermissionEditObjectV1Request +from eZmaxApi.models.permission_edit_object_v1_response import PermissionEditObjectV1Response from eZmaxApi.rest import ApiException from pprint import pprint @@ -234,7 +234,7 @@ Name | Type | Description | Notes ### Return type -[**CommonResponse**](CommonResponse.md) +[**PermissionEditObjectV1Response**](PermissionEditObjectV1Response.md) ### Authorization diff --git a/docs/ObjectSignatureApi.md b/docs/ObjectSignatureApi.md index 10a29a940..5875da099 100644 --- a/docs/ObjectSignatureApi.md +++ b/docs/ObjectSignatureApi.md @@ -94,7 +94,7 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) # **signature_delete_object_v1** -> CommonResponse signature_delete_object_v1(pki_signature_id) +> SignatureDeleteObjectV1Response signature_delete_object_v1(pki_signature_id) Delete an existing Signature @@ -106,7 +106,7 @@ Delete an existing Signature ```python import eZmaxApi -from eZmaxApi.models.common_response import CommonResponse +from eZmaxApi.models.signature_delete_object_v1_response import SignatureDeleteObjectV1Response from eZmaxApi.rest import ApiException from pprint import pprint @@ -153,7 +153,7 @@ Name | Type | Description | Notes ### Return type -[**CommonResponse**](CommonResponse.md) +[**SignatureDeleteObjectV1Response**](SignatureDeleteObjectV1Response.md) ### Authorization @@ -174,7 +174,7 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) # **signature_edit_object_v1** -> CommonResponse signature_edit_object_v1(pki_signature_id, signature_edit_object_v1_request) +> SignatureEditObjectV1Response signature_edit_object_v1(pki_signature_id, signature_edit_object_v1_request) Edit an existing Signature @@ -186,8 +186,8 @@ Edit an existing Signature ```python import eZmaxApi -from eZmaxApi.models.common_response import CommonResponse from eZmaxApi.models.signature_edit_object_v1_request import SignatureEditObjectV1Request +from eZmaxApi.models.signature_edit_object_v1_response import SignatureEditObjectV1Response from eZmaxApi.rest import ApiException from pprint import pprint @@ -236,7 +236,7 @@ Name | Type | Description | Notes ### Return type -[**CommonResponse**](CommonResponse.md) +[**SignatureEditObjectV1Response**](SignatureEditObjectV1Response.md) ### Authorization diff --git a/docs/ObjectSubnetApi.md b/docs/ObjectSubnetApi.md index 1546cc7c8..2827cfc67 100644 --- a/docs/ObjectSubnetApi.md +++ b/docs/ObjectSubnetApi.md @@ -92,7 +92,7 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) # **subnet_delete_object_v1** -> CommonResponse subnet_delete_object_v1(pki_subnet_id) +> SubnetDeleteObjectV1Response subnet_delete_object_v1(pki_subnet_id) Delete an existing Subnet @@ -104,7 +104,7 @@ Delete an existing Subnet ```python import eZmaxApi -from eZmaxApi.models.common_response import CommonResponse +from eZmaxApi.models.subnet_delete_object_v1_response import SubnetDeleteObjectV1Response from eZmaxApi.rest import ApiException from pprint import pprint @@ -151,7 +151,7 @@ Name | Type | Description | Notes ### Return type -[**CommonResponse**](CommonResponse.md) +[**SubnetDeleteObjectV1Response**](SubnetDeleteObjectV1Response.md) ### Authorization @@ -173,7 +173,7 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) # **subnet_edit_object_v1** -> CommonResponse subnet_edit_object_v1(pki_subnet_id, subnet_edit_object_v1_request) +> SubnetEditObjectV1Response subnet_edit_object_v1(pki_subnet_id, subnet_edit_object_v1_request) Edit an existing Subnet @@ -185,8 +185,8 @@ Edit an existing Subnet ```python import eZmaxApi -from eZmaxApi.models.common_response import CommonResponse from eZmaxApi.models.subnet_edit_object_v1_request import SubnetEditObjectV1Request +from eZmaxApi.models.subnet_edit_object_v1_response import SubnetEditObjectV1Response from eZmaxApi.rest import ApiException from pprint import pprint @@ -235,7 +235,7 @@ Name | Type | Description | Notes ### Return type -[**CommonResponse**](CommonResponse.md) +[**SubnetEditObjectV1Response**](SubnetEditObjectV1Response.md) ### Authorization diff --git a/docs/ObjectSupplyApi.md b/docs/ObjectSupplyApi.md index f784e3d0f..e56a3c614 100644 --- a/docs/ObjectSupplyApi.md +++ b/docs/ObjectSupplyApi.md @@ -93,7 +93,7 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) # **supply_delete_object_v1** -> CommonResponse supply_delete_object_v1(pki_supply_id) +> SupplyDeleteObjectV1Response supply_delete_object_v1(pki_supply_id) Delete an existing Supply @@ -105,7 +105,7 @@ Delete an existing Supply ```python import eZmaxApi -from eZmaxApi.models.common_response import CommonResponse +from eZmaxApi.models.supply_delete_object_v1_response import SupplyDeleteObjectV1Response from eZmaxApi.rest import ApiException from pprint import pprint @@ -152,7 +152,7 @@ Name | Type | Description | Notes ### Return type -[**CommonResponse**](CommonResponse.md) +[**SupplyDeleteObjectV1Response**](SupplyDeleteObjectV1Response.md) ### Authorization @@ -173,7 +173,7 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) # **supply_edit_object_v1** -> CommonResponse supply_edit_object_v1(pki_supply_id, supply_edit_object_v1_request) +> SupplyEditObjectV1Response supply_edit_object_v1(pki_supply_id, supply_edit_object_v1_request) Edit an existing Supply @@ -185,8 +185,8 @@ Edit an existing Supply ```python import eZmaxApi -from eZmaxApi.models.common_response import CommonResponse from eZmaxApi.models.supply_edit_object_v1_request import SupplyEditObjectV1Request +from eZmaxApi.models.supply_edit_object_v1_response import SupplyEditObjectV1Response from eZmaxApi.rest import ApiException from pprint import pprint @@ -235,7 +235,7 @@ Name | Type | Description | Notes ### Return type -[**CommonResponse**](CommonResponse.md) +[**SupplyEditObjectV1Response**](SupplyEditObjectV1Response.md) ### Authorization diff --git a/docs/ObjectSystemconfigurationApi.md b/docs/ObjectSystemconfigurationApi.md index de5b85f1b..775510a0d 100644 --- a/docs/ObjectSystemconfigurationApi.md +++ b/docs/ObjectSystemconfigurationApi.md @@ -9,7 +9,7 @@ Method | HTTP request | Description # **systemconfiguration_edit_object_v1** -> CommonResponse systemconfiguration_edit_object_v1(pki_systemconfiguration_id, systemconfiguration_edit_object_v1_request) +> SystemconfigurationEditObjectV1Response systemconfiguration_edit_object_v1(pki_systemconfiguration_id, systemconfiguration_edit_object_v1_request) Edit an existing Systemconfiguration @@ -21,8 +21,8 @@ Edit an existing Systemconfiguration ```python import eZmaxApi -from eZmaxApi.models.common_response import CommonResponse from eZmaxApi.models.systemconfiguration_edit_object_v1_request import SystemconfigurationEditObjectV1Request +from eZmaxApi.models.systemconfiguration_edit_object_v1_response import SystemconfigurationEditObjectV1Response from eZmaxApi.rest import ApiException from pprint import pprint @@ -71,7 +71,7 @@ Name | Type | Description | Notes ### Return type -[**CommonResponse**](CommonResponse.md) +[**SystemconfigurationEditObjectV1Response**](SystemconfigurationEditObjectV1Response.md) ### Authorization diff --git a/docs/ObjectUserApi.md b/docs/ObjectUserApi.md index 47687a3a4..b4b15dadb 100644 --- a/docs/ObjectUserApi.md +++ b/docs/ObjectUserApi.md @@ -267,7 +267,7 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) # **user_edit_object_v1** -> CommonResponse user_edit_object_v1(pki_user_id, user_edit_object_v1_request) +> UserEditObjectV1Response user_edit_object_v1(pki_user_id, user_edit_object_v1_request) Edit an existing User @@ -279,8 +279,8 @@ Edit an existing User ```python import eZmaxApi -from eZmaxApi.models.common_response import CommonResponse from eZmaxApi.models.user_edit_object_v1_request import UserEditObjectV1Request +from eZmaxApi.models.user_edit_object_v1_response import UserEditObjectV1Response from eZmaxApi.rest import ApiException from pprint import pprint @@ -329,7 +329,7 @@ Name | Type | Description | Notes ### Return type -[**CommonResponse**](CommonResponse.md) +[**UserEditObjectV1Response**](UserEditObjectV1Response.md) ### Authorization @@ -1238,7 +1238,7 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) # **user_send_password_reset_v1** -> CommonResponse user_send_password_reset_v1(pki_user_id, body) +> UserSendPasswordResetV1Response user_send_password_reset_v1(pki_user_id, body) Send password reset @@ -1250,7 +1250,7 @@ Send the password reset email ```python import eZmaxApi -from eZmaxApi.models.common_response import CommonResponse +from eZmaxApi.models.user_send_password_reset_v1_response import UserSendPasswordResetV1Response from eZmaxApi.rest import ApiException from pprint import pprint @@ -1299,7 +1299,7 @@ Name | Type | Description | Notes ### Return type -[**CommonResponse**](CommonResponse.md) +[**UserSendPasswordResetV1Response**](UserSendPasswordResetV1Response.md) ### Authorization diff --git a/docs/ObjectUsergroupApi.md b/docs/ObjectUsergroupApi.md index 16b03ebf4..976524754 100644 --- a/docs/ObjectUsergroupApi.md +++ b/docs/ObjectUsergroupApi.md @@ -98,7 +98,7 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) # **usergroup_edit_object_v1** -> CommonResponse usergroup_edit_object_v1(pki_usergroup_id, usergroup_edit_object_v1_request) +> UsergroupEditObjectV1Response usergroup_edit_object_v1(pki_usergroup_id, usergroup_edit_object_v1_request) Edit an existing Usergroup @@ -110,8 +110,8 @@ Edit an existing Usergroup ```python import eZmaxApi -from eZmaxApi.models.common_response import CommonResponse from eZmaxApi.models.usergroup_edit_object_v1_request import UsergroupEditObjectV1Request +from eZmaxApi.models.usergroup_edit_object_v1_response import UsergroupEditObjectV1Response from eZmaxApi.rest import ApiException from pprint import pprint @@ -160,7 +160,7 @@ Name | Type | Description | Notes ### Return type -[**CommonResponse**](CommonResponse.md) +[**UsergroupEditObjectV1Response**](UsergroupEditObjectV1Response.md) ### Authorization diff --git a/docs/ObjectUsergroupdelegationApi.md b/docs/ObjectUsergroupdelegationApi.md index cba4d1db9..c963c724b 100644 --- a/docs/ObjectUsergroupdelegationApi.md +++ b/docs/ObjectUsergroupdelegationApi.md @@ -91,7 +91,7 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) # **usergroupdelegation_delete_object_v1** -> CommonResponse usergroupdelegation_delete_object_v1(pki_usergroupdelegation_id) +> UsergroupdelegationDeleteObjectV1Response usergroupdelegation_delete_object_v1(pki_usergroupdelegation_id) Delete an existing Usergroupdelegation @@ -103,7 +103,7 @@ Delete an existing Usergroupdelegation ```python import eZmaxApi -from eZmaxApi.models.common_response import CommonResponse +from eZmaxApi.models.usergroupdelegation_delete_object_v1_response import UsergroupdelegationDeleteObjectV1Response from eZmaxApi.rest import ApiException from pprint import pprint @@ -150,7 +150,7 @@ Name | Type | Description | Notes ### Return type -[**CommonResponse**](CommonResponse.md) +[**UsergroupdelegationDeleteObjectV1Response**](UsergroupdelegationDeleteObjectV1Response.md) ### Authorization @@ -171,7 +171,7 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) # **usergroupdelegation_edit_object_v1** -> CommonResponse usergroupdelegation_edit_object_v1(pki_usergroupdelegation_id, usergroupdelegation_edit_object_v1_request) +> UsergroupdelegationEditObjectV1Response usergroupdelegation_edit_object_v1(pki_usergroupdelegation_id, usergroupdelegation_edit_object_v1_request) Edit an existing Usergroupdelegation @@ -183,8 +183,8 @@ Edit an existing Usergroupdelegation ```python import eZmaxApi -from eZmaxApi.models.common_response import CommonResponse from eZmaxApi.models.usergroupdelegation_edit_object_v1_request import UsergroupdelegationEditObjectV1Request +from eZmaxApi.models.usergroupdelegation_edit_object_v1_response import UsergroupdelegationEditObjectV1Response from eZmaxApi.rest import ApiException from pprint import pprint @@ -233,7 +233,7 @@ Name | Type | Description | Notes ### Return type -[**CommonResponse**](CommonResponse.md) +[**UsergroupdelegationEditObjectV1Response**](UsergroupdelegationEditObjectV1Response.md) ### Authorization diff --git a/docs/ObjectUsergroupexternalApi.md b/docs/ObjectUsergroupexternalApi.md index bc462f26f..3149f527b 100644 --- a/docs/ObjectUsergroupexternalApi.md +++ b/docs/ObjectUsergroupexternalApi.md @@ -95,7 +95,7 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) # **usergroupexternal_delete_object_v1** -> CommonResponse usergroupexternal_delete_object_v1(pki_usergroupexternal_id) +> UsergroupexternalDeleteObjectV1Response usergroupexternal_delete_object_v1(pki_usergroupexternal_id) Delete an existing Usergroupexternal @@ -107,7 +107,7 @@ Delete an existing Usergroupexternal ```python import eZmaxApi -from eZmaxApi.models.common_response import CommonResponse +from eZmaxApi.models.usergroupexternal_delete_object_v1_response import UsergroupexternalDeleteObjectV1Response from eZmaxApi.rest import ApiException from pprint import pprint @@ -154,7 +154,7 @@ Name | Type | Description | Notes ### Return type -[**CommonResponse**](CommonResponse.md) +[**UsergroupexternalDeleteObjectV1Response**](UsergroupexternalDeleteObjectV1Response.md) ### Authorization @@ -176,7 +176,7 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) # **usergroupexternal_edit_object_v1** -> CommonResponse usergroupexternal_edit_object_v1(pki_usergroupexternal_id, usergroupexternal_edit_object_v1_request) +> UsergroupexternalEditObjectV1Response usergroupexternal_edit_object_v1(pki_usergroupexternal_id, usergroupexternal_edit_object_v1_request) Edit an existing Usergroupexternal @@ -188,8 +188,8 @@ Edit an existing Usergroupexternal ```python import eZmaxApi -from eZmaxApi.models.common_response import CommonResponse from eZmaxApi.models.usergroupexternal_edit_object_v1_request import UsergroupexternalEditObjectV1Request +from eZmaxApi.models.usergroupexternal_edit_object_v1_response import UsergroupexternalEditObjectV1Response from eZmaxApi.rest import ApiException from pprint import pprint @@ -238,7 +238,7 @@ Name | Type | Description | Notes ### Return type -[**CommonResponse**](CommonResponse.md) +[**UsergroupexternalEditObjectV1Response**](UsergroupexternalEditObjectV1Response.md) ### Authorization diff --git a/docs/ObjectUsergroupmembershipApi.md b/docs/ObjectUsergroupmembershipApi.md index efe6e55d2..3e995e446 100644 --- a/docs/ObjectUsergroupmembershipApi.md +++ b/docs/ObjectUsergroupmembershipApi.md @@ -91,7 +91,7 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) # **usergroupmembership_delete_object_v1** -> CommonResponse usergroupmembership_delete_object_v1(pki_usergroupmembership_id) +> UsergroupmembershipDeleteObjectV1Response usergroupmembership_delete_object_v1(pki_usergroupmembership_id) Delete an existing Usergroupmembership @@ -103,7 +103,7 @@ Delete an existing Usergroupmembership ```python import eZmaxApi -from eZmaxApi.models.common_response import CommonResponse +from eZmaxApi.models.usergroupmembership_delete_object_v1_response import UsergroupmembershipDeleteObjectV1Response from eZmaxApi.rest import ApiException from pprint import pprint @@ -150,7 +150,7 @@ Name | Type | Description | Notes ### Return type -[**CommonResponse**](CommonResponse.md) +[**UsergroupmembershipDeleteObjectV1Response**](UsergroupmembershipDeleteObjectV1Response.md) ### Authorization @@ -171,7 +171,7 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) # **usergroupmembership_edit_object_v1** -> CommonResponse usergroupmembership_edit_object_v1(pki_usergroupmembership_id, usergroupmembership_edit_object_v1_request) +> UsergroupmembershipEditObjectV1Response usergroupmembership_edit_object_v1(pki_usergroupmembership_id, usergroupmembership_edit_object_v1_request) Edit an existing Usergroupmembership @@ -183,8 +183,8 @@ Edit an existing Usergroupmembership ```python import eZmaxApi -from eZmaxApi.models.common_response import CommonResponse from eZmaxApi.models.usergroupmembership_edit_object_v1_request import UsergroupmembershipEditObjectV1Request +from eZmaxApi.models.usergroupmembership_edit_object_v1_response import UsergroupmembershipEditObjectV1Response from eZmaxApi.rest import ApiException from pprint import pprint @@ -233,7 +233,7 @@ Name | Type | Description | Notes ### Return type -[**CommonResponse**](CommonResponse.md) +[**UsergroupmembershipEditObjectV1Response**](UsergroupmembershipEditObjectV1Response.md) ### Authorization diff --git a/docs/ObjectUserstagedApi.md b/docs/ObjectUserstagedApi.md index bc5ac0a03..45f0c13f7 100644 --- a/docs/ObjectUserstagedApi.md +++ b/docs/ObjectUserstagedApi.md @@ -94,7 +94,7 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) # **userstaged_delete_object_v1** -> CommonResponse userstaged_delete_object_v1(pki_userstaged_id) +> UserstagedDeleteObjectV1Response userstaged_delete_object_v1(pki_userstaged_id) Delete an existing Userstaged @@ -106,7 +106,7 @@ Delete an existing Userstaged ```python import eZmaxApi -from eZmaxApi.models.common_response import CommonResponse +from eZmaxApi.models.userstaged_delete_object_v1_response import UserstagedDeleteObjectV1Response from eZmaxApi.rest import ApiException from pprint import pprint @@ -153,7 +153,7 @@ Name | Type | Description | Notes ### Return type -[**CommonResponse**](CommonResponse.md) +[**UserstagedDeleteObjectV1Response**](UserstagedDeleteObjectV1Response.md) ### Authorization @@ -343,7 +343,7 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) # **userstaged_map_v1** -> CommonResponse userstaged_map_v1(pki_userstaged_id, userstaged_map_v1_request) +> UserstagedMapV1Response userstaged_map_v1(pki_userstaged_id, userstaged_map_v1_request) Map the Userstaged to an existing user @@ -355,8 +355,8 @@ Map the Userstaged to an existing user ```python import eZmaxApi -from eZmaxApi.models.common_response import CommonResponse from eZmaxApi.models.userstaged_map_v1_request import UserstagedMapV1Request +from eZmaxApi.models.userstaged_map_v1_response import UserstagedMapV1Response from eZmaxApi.rest import ApiException from pprint import pprint @@ -405,7 +405,7 @@ Name | Type | Description | Notes ### Return type -[**CommonResponse**](CommonResponse.md) +[**UserstagedMapV1Response**](UserstagedMapV1Response.md) ### Authorization diff --git a/docs/ObjectVariableexpenseApi.md b/docs/ObjectVariableexpenseApi.md index e538bce67..91f02e92b 100644 --- a/docs/ObjectVariableexpenseApi.md +++ b/docs/ObjectVariableexpenseApi.md @@ -92,7 +92,7 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) # **variableexpense_edit_object_v1** -> CommonResponse variableexpense_edit_object_v1(pki_variableexpense_id, variableexpense_edit_object_v1_request) +> VariableexpenseEditObjectV1Response variableexpense_edit_object_v1(pki_variableexpense_id, variableexpense_edit_object_v1_request) Edit an existing Variableexpense @@ -104,8 +104,8 @@ Edit an existing Variableexpense ```python import eZmaxApi -from eZmaxApi.models.common_response import CommonResponse from eZmaxApi.models.variableexpense_edit_object_v1_request import VariableexpenseEditObjectV1Request +from eZmaxApi.models.variableexpense_edit_object_v1_response import VariableexpenseEditObjectV1Response from eZmaxApi.rest import ApiException from pprint import pprint @@ -154,7 +154,7 @@ Name | Type | Description | Notes ### Return type -[**CommonResponse**](CommonResponse.md) +[**VariableexpenseEditObjectV1Response**](VariableexpenseEditObjectV1Response.md) ### Authorization diff --git a/docs/ObjectWebhookApi.md b/docs/ObjectWebhookApi.md index f0191f925..1150b0209 100644 --- a/docs/ObjectWebhookApi.md +++ b/docs/ObjectWebhookApi.md @@ -96,7 +96,7 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) # **webhook_delete_object_v1** -> CommonResponse webhook_delete_object_v1(pki_webhook_id) +> WebhookDeleteObjectV1Response webhook_delete_object_v1(pki_webhook_id) Delete an existing Webhook @@ -108,7 +108,7 @@ Delete an existing Webhook ```python import eZmaxApi -from eZmaxApi.models.common_response import CommonResponse +from eZmaxApi.models.webhook_delete_object_v1_response import WebhookDeleteObjectV1Response from eZmaxApi.rest import ApiException from pprint import pprint @@ -155,7 +155,7 @@ Name | Type | Description | Notes ### Return type -[**CommonResponse**](CommonResponse.md) +[**WebhookDeleteObjectV1Response**](WebhookDeleteObjectV1Response.md) ### Authorization @@ -176,7 +176,7 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) # **webhook_edit_object_v1** -> CommonResponse webhook_edit_object_v1(pki_webhook_id, webhook_edit_object_v1_request) +> WebhookEditObjectV1Response webhook_edit_object_v1(pki_webhook_id, webhook_edit_object_v1_request) Edit an existing Webhook @@ -188,8 +188,8 @@ Edit an existing Webhook ```python import eZmaxApi -from eZmaxApi.models.common_response import CommonResponse from eZmaxApi.models.webhook_edit_object_v1_request import WebhookEditObjectV1Request +from eZmaxApi.models.webhook_edit_object_v1_response import WebhookEditObjectV1Response from eZmaxApi.rest import ApiException from pprint import pprint @@ -238,7 +238,7 @@ Name | Type | Description | Notes ### Return type -[**CommonResponse**](CommonResponse.md) +[**WebhookEditObjectV1Response**](WebhookEditObjectV1Response.md) ### Authorization @@ -594,7 +594,7 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) # **webhook_send_webhook_v1** -> CommonResponse webhook_send_webhook_v1(webhook_send_webhook_v1_request) +> WebhookSendWebhookV1Response webhook_send_webhook_v1(webhook_send_webhook_v1_request) Emit a Webhook event @@ -604,8 +604,8 @@ Emit a Webhook event ```python import eZmaxApi -from eZmaxApi.models.common_response import CommonResponse from eZmaxApi.models.webhook_send_webhook_v1_request import WebhookSendWebhookV1Request +from eZmaxApi.models.webhook_send_webhook_v1_response import WebhookSendWebhookV1Response from eZmaxApi.rest import ApiException from pprint import pprint @@ -652,7 +652,7 @@ Name | Type | Description | Notes ### Return type -[**CommonResponse**](CommonResponse.md) +[**WebhookSendWebhookV1Response**](WebhookSendWebhookV1Response.md) ### Authorization @@ -673,7 +673,7 @@ Name | Type | Description | Notes [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) # **webhook_test_v1** -> CommonResponse webhook_test_v1(pki_webhook_id, body) +> WebhookTestV1Response webhook_test_v1(pki_webhook_id, body) Test the Webhook by calling the Url @@ -685,7 +685,7 @@ Test the Webhook by calling the Url ```python import eZmaxApi -from eZmaxApi.models.common_response import CommonResponse +from eZmaxApi.models.webhook_test_v1_response import WebhookTestV1Response from eZmaxApi.rest import ApiException from pprint import pprint @@ -734,7 +734,7 @@ Name | Type | Description | Notes ### Return type -[**CommonResponse**](CommonResponse.md) +[**WebhookTestV1Response**](WebhookTestV1Response.md) ### Authorization diff --git a/docs/OtherincomeGetCommunicationCountV1Response.md b/docs/OtherincomeGetCommunicationCountV1Response.md index 791e75460..0a3ec04f2 100644 --- a/docs/OtherincomeGetCommunicationCountV1Response.md +++ b/docs/OtherincomeGetCommunicationCountV1Response.md @@ -6,6 +6,8 @@ Response for GET /1/object/otherincome/{pkiOtherincomeID}/getCommunicationCount Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**obj_debug_payload** | [**CommonResponseObjDebugPayload**](CommonResponseObjDebugPayload.md) | | +**obj_debug** | [**CommonResponseObjDebug**](CommonResponseObjDebug.md) | | [optional] **m_payload** | [**OtherincomeGetCommunicationCountV1ResponseMPayload**](OtherincomeGetCommunicationCountV1ResponseMPayload.md) | | ## Example diff --git a/docs/OtherincomeGetCommunicationListV1Response.md b/docs/OtherincomeGetCommunicationListV1Response.md index 4ae2ff171..521d25c7e 100644 --- a/docs/OtherincomeGetCommunicationListV1Response.md +++ b/docs/OtherincomeGetCommunicationListV1Response.md @@ -6,6 +6,8 @@ Response for GET /1/object/otherincome/{pkiOtherincomeID}/getCommunicationList Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**obj_debug_payload** | [**CommonResponseObjDebugPayloadGetList**](CommonResponseObjDebugPayloadGetList.md) | | +**obj_debug** | [**CommonResponseObjDebug**](CommonResponseObjDebug.md) | | [optional] **m_payload** | [**OtherincomeGetCommunicationListV1ResponseMPayload**](OtherincomeGetCommunicationListV1ResponseMPayload.md) | | ## Example diff --git a/docs/OtherincomeGetCommunicationrecipientsV1Response.md b/docs/OtherincomeGetCommunicationrecipientsV1Response.md index b972e08e9..adf687ce0 100644 --- a/docs/OtherincomeGetCommunicationrecipientsV1Response.md +++ b/docs/OtherincomeGetCommunicationrecipientsV1Response.md @@ -6,6 +6,8 @@ Response for GET /1/object/otherincome/{pkiOtherincomeID}/getCommunicationrecipi Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**obj_debug_payload** | [**CommonResponseObjDebugPayload**](CommonResponseObjDebugPayload.md) | | +**obj_debug** | [**CommonResponseObjDebug**](CommonResponseObjDebug.md) | | [optional] **m_payload** | [**OtherincomeGetCommunicationrecipientsV1ResponseMPayload**](OtherincomeGetCommunicationrecipientsV1ResponseMPayload.md) | | ## Example diff --git a/docs/OtherincomeGetCommunicationsendersV1Response.md b/docs/OtherincomeGetCommunicationsendersV1Response.md index 85484c4e6..9f6f6048d 100644 --- a/docs/OtherincomeGetCommunicationsendersV1Response.md +++ b/docs/OtherincomeGetCommunicationsendersV1Response.md @@ -6,6 +6,8 @@ Response for GET /1/object/otherincome/{pkiOtherincomeID}/getCommunicationrecipi Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**obj_debug_payload** | [**CommonResponseObjDebugPayload**](CommonResponseObjDebugPayload.md) | | +**obj_debug** | [**CommonResponseObjDebug**](CommonResponseObjDebug.md) | | [optional] **m_payload** | [**OtherincomeGetCommunicationsendersV1ResponseMPayload**](OtherincomeGetCommunicationsendersV1ResponseMPayload.md) | | ## Example diff --git a/docs/PaymenttermCreateObjectV1Response.md b/docs/PaymenttermCreateObjectV1Response.md index 02632bd94..1e55bfb01 100644 --- a/docs/PaymenttermCreateObjectV1Response.md +++ b/docs/PaymenttermCreateObjectV1Response.md @@ -6,6 +6,8 @@ Response for POST /1/object/paymentterm Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**obj_debug_payload** | [**CommonResponseObjDebugPayload**](CommonResponseObjDebugPayload.md) | | +**obj_debug** | [**CommonResponseObjDebug**](CommonResponseObjDebug.md) | | [optional] **m_payload** | [**PaymenttermCreateObjectV1ResponseMPayload**](PaymenttermCreateObjectV1ResponseMPayload.md) | | ## Example diff --git a/docs/PaymenttermEditObjectV1Response.md b/docs/PaymenttermEditObjectV1Response.md index a4328397e..db3c121c4 100644 --- a/docs/PaymenttermEditObjectV1Response.md +++ b/docs/PaymenttermEditObjectV1Response.md @@ -6,6 +6,8 @@ Response for PUT /1/object/paymentterm/{pkiPaymenttermID} Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**obj_debug_payload** | [**CommonResponseObjDebugPayload**](CommonResponseObjDebugPayload.md) | | +**obj_debug** | [**CommonResponseObjDebug**](CommonResponseObjDebug.md) | | [optional] ## Example diff --git a/docs/PaymenttermGetAutocompleteV2Response.md b/docs/PaymenttermGetAutocompleteV2Response.md index d56389407..def607999 100644 --- a/docs/PaymenttermGetAutocompleteV2Response.md +++ b/docs/PaymenttermGetAutocompleteV2Response.md @@ -6,6 +6,8 @@ Response for GET /2/object/paymentterm/getAutocomplete Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**obj_debug_payload** | [**CommonResponseObjDebugPayload**](CommonResponseObjDebugPayload.md) | | +**obj_debug** | [**CommonResponseObjDebug**](CommonResponseObjDebug.md) | | [optional] **m_payload** | [**PaymenttermGetAutocompleteV2ResponseMPayload**](PaymenttermGetAutocompleteV2ResponseMPayload.md) | | ## Example diff --git a/docs/PaymenttermGetListV1Response.md b/docs/PaymenttermGetListV1Response.md index 25f38b549..f1fc275f8 100644 --- a/docs/PaymenttermGetListV1Response.md +++ b/docs/PaymenttermGetListV1Response.md @@ -6,6 +6,8 @@ Response for GET /1/object/paymentterm/getList Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**obj_debug_payload** | [**CommonResponseObjDebugPayloadGetList**](CommonResponseObjDebugPayloadGetList.md) | | +**obj_debug** | [**CommonResponseObjDebug**](CommonResponseObjDebug.md) | | [optional] **m_payload** | [**PaymenttermGetListV1ResponseMPayload**](PaymenttermGetListV1ResponseMPayload.md) | | ## Example diff --git a/docs/PaymenttermGetListV1ResponseMPayload.md b/docs/PaymenttermGetListV1ResponseMPayload.md index 0b9979138..fd00d31f0 100644 --- a/docs/PaymenttermGetListV1ResponseMPayload.md +++ b/docs/PaymenttermGetListV1ResponseMPayload.md @@ -6,6 +6,8 @@ Payload for GET /1/object/paymentterm/getList Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**i_row_returned** | **int** | The number of rows returned | +**i_row_filtered** | **int** | The number of rows matching your filters (if any) or the total number of rows | **a_obj_paymentterm** | [**List[PaymenttermListElement]**](PaymenttermListElement.md) | | ## Example diff --git a/docs/PaymenttermGetObjectV2Response.md b/docs/PaymenttermGetObjectV2Response.md index 5cd95d3bf..3b6caa4e2 100644 --- a/docs/PaymenttermGetObjectV2Response.md +++ b/docs/PaymenttermGetObjectV2Response.md @@ -6,6 +6,8 @@ Response for GET /2/object/paymentterm/{pkiPaymenttermID} Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**obj_debug_payload** | [**CommonResponseObjDebugPayload**](CommonResponseObjDebugPayload.md) | | +**obj_debug** | [**CommonResponseObjDebug**](CommonResponseObjDebug.md) | | [optional] **m_payload** | [**PaymenttermGetObjectV2ResponseMPayload**](PaymenttermGetObjectV2ResponseMPayload.md) | | ## Example diff --git a/docs/PaymenttermRequestCompound.md b/docs/PaymenttermRequestCompound.md index 505d2187e..c00490f80 100644 --- a/docs/PaymenttermRequestCompound.md +++ b/docs/PaymenttermRequestCompound.md @@ -6,6 +6,12 @@ A Paymentterm Object and children Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**pki_paymentterm_id** | **int** | The unique ID of the Paymentterm | [optional] +**s_paymentterm_code** | **str** | The code of the Paymentterm | +**e_paymentterm_type** | [**FieldEPaymenttermType**](FieldEPaymenttermType.md) | | +**i_paymentterm_day** | **int** | The day of the Paymentterm | +**obj_paymentterm_description** | [**MultilingualPaymenttermDescription**](MultilingualPaymenttermDescription.md) | | +**b_paymentterm_isactive** | **bool** | Whether the Paymentterm is active or not | ## Example diff --git a/docs/PaymenttermResponseCompound.md b/docs/PaymenttermResponseCompound.md index e453a3a7a..815fe21bc 100644 --- a/docs/PaymenttermResponseCompound.md +++ b/docs/PaymenttermResponseCompound.md @@ -6,6 +6,13 @@ A Paymentterm Object Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**pki_paymentterm_id** | **int** | The unique ID of the Paymentterm | +**s_paymentterm_code** | **str** | The code of the Paymentterm | +**e_paymentterm_type** | [**FieldEPaymenttermType**](FieldEPaymenttermType.md) | | +**i_paymentterm_day** | **int** | The day of the Paymentterm | +**obj_paymentterm_description** | [**MultilingualPaymenttermDescription**](MultilingualPaymenttermDescription.md) | | +**b_paymentterm_isactive** | **bool** | Whether the Paymentterm is active or not | +**obj_audit** | [**CommonAudit**](CommonAudit.md) | | ## Example diff --git a/docs/PdfalevelGetAutocompleteV2Response.md b/docs/PdfalevelGetAutocompleteV2Response.md index 329602882..36a6ed2c8 100644 --- a/docs/PdfalevelGetAutocompleteV2Response.md +++ b/docs/PdfalevelGetAutocompleteV2Response.md @@ -6,6 +6,8 @@ Response for GET /2/object/pdfalevel/getAutocomplete Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**obj_debug_payload** | [**CommonResponseObjDebugPayload**](CommonResponseObjDebugPayload.md) | | +**obj_debug** | [**CommonResponseObjDebug**](CommonResponseObjDebug.md) | | [optional] **m_payload** | [**PdfalevelGetAutocompleteV2ResponseMPayload**](PdfalevelGetAutocompleteV2ResponseMPayload.md) | | ## Example diff --git a/docs/PeriodGetAutocompleteV2Response.md b/docs/PeriodGetAutocompleteV2Response.md index e1dcba871..aaf0d0406 100644 --- a/docs/PeriodGetAutocompleteV2Response.md +++ b/docs/PeriodGetAutocompleteV2Response.md @@ -6,6 +6,8 @@ Response for GET /2/object/period/getAutocomplete Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**obj_debug_payload** | [**CommonResponseObjDebugPayload**](CommonResponseObjDebugPayload.md) | | +**obj_debug** | [**CommonResponseObjDebug**](CommonResponseObjDebug.md) | | [optional] **m_payload** | [**PeriodGetAutocompleteV2ResponseMPayload**](PeriodGetAutocompleteV2ResponseMPayload.md) | | ## Example diff --git a/docs/PermissionCreateObjectV1Request.md b/docs/PermissionCreateObjectV1Request.md index f259e3517..3881a66c2 100644 --- a/docs/PermissionCreateObjectV1Request.md +++ b/docs/PermissionCreateObjectV1Request.md @@ -6,7 +6,7 @@ Request for POST /1/object/permission Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**a_obj_permission** | [**List[PermissionRequestCompound]**](PermissionRequest.md) | | +**a_obj_permission** | [**List[PermissionRequestCompound]**](PermissionRequestCompound.md) | | ## Example diff --git a/docs/PermissionCreateObjectV1Response.md b/docs/PermissionCreateObjectV1Response.md index 228b0ecfb..678226d1e 100644 --- a/docs/PermissionCreateObjectV1Response.md +++ b/docs/PermissionCreateObjectV1Response.md @@ -6,6 +6,8 @@ Response for POST /1/object/permission Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**obj_debug_payload** | [**CommonResponseObjDebugPayload**](CommonResponseObjDebugPayload.md) | | +**obj_debug** | [**CommonResponseObjDebug**](CommonResponseObjDebug.md) | | [optional] **m_payload** | [**PermissionCreateObjectV1ResponseMPayload**](PermissionCreateObjectV1ResponseMPayload.md) | | ## Example diff --git a/docs/PermissionDeleteObjectV1Response.md b/docs/PermissionDeleteObjectV1Response.md index 9186bffe3..e07c8d4e0 100644 --- a/docs/PermissionDeleteObjectV1Response.md +++ b/docs/PermissionDeleteObjectV1Response.md @@ -6,6 +6,8 @@ Response for DELETE /1/object/permission/{pkiPermissionID} Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**obj_debug_payload** | [**CommonResponseObjDebugPayload**](CommonResponseObjDebugPayload.md) | | +**obj_debug** | [**CommonResponseObjDebug**](CommonResponseObjDebug.md) | | [optional] ## Example diff --git a/docs/PermissionEditObjectV1Request.md b/docs/PermissionEditObjectV1Request.md index 6736b1b0e..1cb9baf00 100644 --- a/docs/PermissionEditObjectV1Request.md +++ b/docs/PermissionEditObjectV1Request.md @@ -6,7 +6,7 @@ Request for PUT /1/object/permission/{pkiPermissionID} Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**obj_permission** | [**PermissionRequest**](PermissionRequest.md) | A Permission Object and children to create a complete structure | +**obj_permission** | [**PermissionRequestCompound**](PermissionRequestCompound.md) | | ## Example diff --git a/docs/PermissionEditObjectV1Response.md b/docs/PermissionEditObjectV1Response.md index df13b1358..ff4784c80 100644 --- a/docs/PermissionEditObjectV1Response.md +++ b/docs/PermissionEditObjectV1Response.md @@ -6,6 +6,8 @@ Response for PUT /1/object/permission/{pkiPermissionID} Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**obj_debug_payload** | [**CommonResponseObjDebugPayload**](CommonResponseObjDebugPayload.md) | | +**obj_debug** | [**CommonResponseObjDebug**](CommonResponseObjDebug.md) | | [optional] ## Example diff --git a/docs/PermissionGetObjectV2Response.md b/docs/PermissionGetObjectV2Response.md index 0a761ccfa..6a65895bd 100644 --- a/docs/PermissionGetObjectV2Response.md +++ b/docs/PermissionGetObjectV2Response.md @@ -6,6 +6,8 @@ Response for GET /2/object/permission/{pkiPermissionID} Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**obj_debug_payload** | [**CommonResponseObjDebugPayload**](CommonResponseObjDebugPayload.md) | | +**obj_debug** | [**CommonResponseObjDebug**](CommonResponseObjDebug.md) | | [optional] **m_payload** | [**PermissionGetObjectV2ResponseMPayload**](PermissionGetObjectV2ResponseMPayload.md) | | ## Example diff --git a/docs/PermissionGetObjectV2ResponseMPayload.md b/docs/PermissionGetObjectV2ResponseMPayload.md index 7c394ac81..8a5d31096 100644 --- a/docs/PermissionGetObjectV2ResponseMPayload.md +++ b/docs/PermissionGetObjectV2ResponseMPayload.md @@ -6,7 +6,7 @@ Payload for GET /2/object/permission/{pkiPermissionID} Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**obj_permission** | [**PermissionResponse**](PermissionResponse.md) | A Permission Object and children to create a complete structure | +**obj_permission** | [**PermissionResponseCompound**](PermissionResponseCompound.md) | | ## Example diff --git a/docs/PhoneResponseCompound.md b/docs/PhoneResponseCompound.md index 37c1c8af8..7bc2c2fbd 100644 --- a/docs/PhoneResponseCompound.md +++ b/docs/PhoneResponseCompound.md @@ -6,6 +6,11 @@ A Phone Object and children to create a complete structure Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**pki_phone_id** | **int** | The unique ID of the Phone. | +**fki_phonetype_id** | **int** | The unique ID of the Phonetype. Valid values: |Value|Description| |-|-| |1|Office| |2|Home| |3|Mobile| |4|Fax| |5|Pager| |6|Toll Free| | +**e_phone_type** | [**FieldEPhoneType**](FieldEPhoneType.md) | | [optional] +**s_phone_e164** | **str** | A phone number in E.164 Format | [optional] +**s_phone_extension** | **str** | The extension of the phone number. The extension is the \"123\" section in this sample phone number: (514) 990-1516 x123. It can also be used with international phone numbers | [optional] **b_phone_international** | **bool** | Indicate the phone number is an international phone number. | [optional] ## Example diff --git a/docs/PhonetypeGetAutocompleteV2Response.md b/docs/PhonetypeGetAutocompleteV2Response.md index 2bf4f5d7a..24f6c0ab9 100644 --- a/docs/PhonetypeGetAutocompleteV2Response.md +++ b/docs/PhonetypeGetAutocompleteV2Response.md @@ -6,6 +6,8 @@ Response for GET /2/object/phonetype/getAutocomplete Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**obj_debug_payload** | [**CommonResponseObjDebugPayload**](CommonResponseObjDebugPayload.md) | | +**obj_debug** | [**CommonResponseObjDebug**](CommonResponseObjDebug.md) | | [optional] **m_payload** | [**PhonetypeGetAutocompleteV2ResponseMPayload**](PhonetypeGetAutocompleteV2ResponseMPayload.md) | | ## Example diff --git a/docs/ProvinceGetAutocompleteV2Response.md b/docs/ProvinceGetAutocompleteV2Response.md index ebb97887d..9e34cf6bc 100644 --- a/docs/ProvinceGetAutocompleteV2Response.md +++ b/docs/ProvinceGetAutocompleteV2Response.md @@ -6,6 +6,8 @@ Response for GET /2/object/province/getAutocomplete Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**obj_debug_payload** | [**CommonResponseObjDebugPayload**](CommonResponseObjDebugPayload.md) | | +**obj_debug** | [**CommonResponseObjDebug**](CommonResponseObjDebug.md) | | [optional] **m_payload** | [**ProvinceGetAutocompleteV2ResponseMPayload**](ProvinceGetAutocompleteV2ResponseMPayload.md) | | ## Example diff --git a/docs/RejectedoffertopurchaseGetCommunicationCountV1Response.md b/docs/RejectedoffertopurchaseGetCommunicationCountV1Response.md index de04d039f..60ab6dee6 100644 --- a/docs/RejectedoffertopurchaseGetCommunicationCountV1Response.md +++ b/docs/RejectedoffertopurchaseGetCommunicationCountV1Response.md @@ -6,6 +6,8 @@ Response for GET /1/object/rejectedoffertopurchase/{pkiRejectedoffertopurchaseID Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**obj_debug_payload** | [**CommonResponseObjDebugPayload**](CommonResponseObjDebugPayload.md) | | +**obj_debug** | [**CommonResponseObjDebug**](CommonResponseObjDebug.md) | | [optional] **m_payload** | [**RejectedoffertopurchaseGetCommunicationCountV1ResponseMPayload**](RejectedoffertopurchaseGetCommunicationCountV1ResponseMPayload.md) | | ## Example diff --git a/docs/RejectedoffertopurchaseGetCommunicationListV1Response.md b/docs/RejectedoffertopurchaseGetCommunicationListV1Response.md index aa1c96d50..64b545566 100644 --- a/docs/RejectedoffertopurchaseGetCommunicationListV1Response.md +++ b/docs/RejectedoffertopurchaseGetCommunicationListV1Response.md @@ -6,6 +6,8 @@ Response for GET /1/object/rejectedoffertopurchase/{pkiRejectedoffertopurchaseID Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**obj_debug_payload** | [**CommonResponseObjDebugPayloadGetList**](CommonResponseObjDebugPayloadGetList.md) | | +**obj_debug** | [**CommonResponseObjDebug**](CommonResponseObjDebug.md) | | [optional] **m_payload** | [**RejectedoffertopurchaseGetCommunicationListV1ResponseMPayload**](RejectedoffertopurchaseGetCommunicationListV1ResponseMPayload.md) | | ## Example diff --git a/docs/RejectedoffertopurchaseGetCommunicationrecipientsV1Response.md b/docs/RejectedoffertopurchaseGetCommunicationrecipientsV1Response.md index 108c17a48..2a80552f8 100644 --- a/docs/RejectedoffertopurchaseGetCommunicationrecipientsV1Response.md +++ b/docs/RejectedoffertopurchaseGetCommunicationrecipientsV1Response.md @@ -6,6 +6,8 @@ Response for GET /1/object/rejectedoffertopurchase/{pkiRejectedoffertopurchaseID Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**obj_debug_payload** | [**CommonResponseObjDebugPayload**](CommonResponseObjDebugPayload.md) | | +**obj_debug** | [**CommonResponseObjDebug**](CommonResponseObjDebug.md) | | [optional] **m_payload** | [**RejectedoffertopurchaseGetCommunicationrecipientsV1ResponseMPayload**](RejectedoffertopurchaseGetCommunicationrecipientsV1ResponseMPayload.md) | | ## Example diff --git a/docs/RejectedoffertopurchaseGetCommunicationsendersV1Response.md b/docs/RejectedoffertopurchaseGetCommunicationsendersV1Response.md index 57a7858b7..28da0e741 100644 --- a/docs/RejectedoffertopurchaseGetCommunicationsendersV1Response.md +++ b/docs/RejectedoffertopurchaseGetCommunicationsendersV1Response.md @@ -6,6 +6,8 @@ Response for GET /1/object/rejectedoffertopurchase/{pkiRejectedoffertopurchaseID Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**obj_debug_payload** | [**CommonResponseObjDebugPayload**](CommonResponseObjDebugPayload.md) | | +**obj_debug** | [**CommonResponseObjDebug**](CommonResponseObjDebug.md) | | [optional] **m_payload** | [**RejectedoffertopurchaseGetCommunicationsendersV1ResponseMPayload**](RejectedoffertopurchaseGetCommunicationsendersV1ResponseMPayload.md) | | ## Example diff --git a/docs/SecretquestionGetAutocompleteV2Response.md b/docs/SecretquestionGetAutocompleteV2Response.md index 332be6637..6de8275bd 100644 --- a/docs/SecretquestionGetAutocompleteV2Response.md +++ b/docs/SecretquestionGetAutocompleteV2Response.md @@ -6,6 +6,8 @@ Response for GET /2/object/secretquestion/getAutocomplete Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**obj_debug_payload** | [**CommonResponseObjDebugPayload**](CommonResponseObjDebugPayload.md) | | +**obj_debug** | [**CommonResponseObjDebug**](CommonResponseObjDebug.md) | | [optional] **m_payload** | [**SecretquestionGetAutocompleteV2ResponseMPayload**](SecretquestionGetAutocompleteV2ResponseMPayload.md) | | ## Example diff --git a/docs/SessionhistoryGetListV1Response.md b/docs/SessionhistoryGetListV1Response.md index 89cc14807..4b8cd8441 100644 --- a/docs/SessionhistoryGetListV1Response.md +++ b/docs/SessionhistoryGetListV1Response.md @@ -6,6 +6,8 @@ Response for GET /1/object/sessionhistory/getList Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**obj_debug_payload** | [**CommonResponseObjDebugPayloadGetList**](CommonResponseObjDebugPayloadGetList.md) | | +**obj_debug** | [**CommonResponseObjDebug**](CommonResponseObjDebug.md) | | [optional] **m_payload** | [**SessionhistoryGetListV1ResponseMPayload**](SessionhistoryGetListV1ResponseMPayload.md) | | ## Example diff --git a/docs/SessionhistoryGetListV1ResponseMPayload.md b/docs/SessionhistoryGetListV1ResponseMPayload.md index 6accd1035..03e4f183f 100644 --- a/docs/SessionhistoryGetListV1ResponseMPayload.md +++ b/docs/SessionhistoryGetListV1ResponseMPayload.md @@ -6,6 +6,8 @@ Payload for GET /1/object/sessionhistory/getList Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**i_row_returned** | **int** | The number of rows returned | +**i_row_filtered** | **int** | The number of rows matching your filters (if any) or the total number of rows | **a_obj_sessionhistory** | [**List[SessionhistoryListElement]**](SessionhistoryListElement.md) | | ## Example diff --git a/docs/SignatureCreateObjectV1Response.md b/docs/SignatureCreateObjectV1Response.md index 0f44cc838..e54044fe4 100644 --- a/docs/SignatureCreateObjectV1Response.md +++ b/docs/SignatureCreateObjectV1Response.md @@ -6,6 +6,8 @@ Response for POST /1/object/signature Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**obj_debug_payload** | [**CommonResponseObjDebugPayload**](CommonResponseObjDebugPayload.md) | | +**obj_debug** | [**CommonResponseObjDebug**](CommonResponseObjDebug.md) | | [optional] **m_payload** | [**SignatureCreateObjectV1ResponseMPayload**](SignatureCreateObjectV1ResponseMPayload.md) | | ## Example diff --git a/docs/SignatureDeleteObjectV1Response.md b/docs/SignatureDeleteObjectV1Response.md index c6d6c25a7..c9b9bbca5 100644 --- a/docs/SignatureDeleteObjectV1Response.md +++ b/docs/SignatureDeleteObjectV1Response.md @@ -6,6 +6,8 @@ Response for DELETE /1/object/signature/{pkiSignatureID} Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**obj_debug_payload** | [**CommonResponseObjDebugPayload**](CommonResponseObjDebugPayload.md) | | +**obj_debug** | [**CommonResponseObjDebug**](CommonResponseObjDebug.md) | | [optional] ## Example diff --git a/docs/SignatureEditObjectV1Response.md b/docs/SignatureEditObjectV1Response.md index e6d798042..7f001f049 100644 --- a/docs/SignatureEditObjectV1Response.md +++ b/docs/SignatureEditObjectV1Response.md @@ -6,6 +6,8 @@ Response for PUT /1/object/signature/{pkiSignatureID} Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**obj_debug_payload** | [**CommonResponseObjDebugPayload**](CommonResponseObjDebugPayload.md) | | +**obj_debug** | [**CommonResponseObjDebug**](CommonResponseObjDebug.md) | | [optional] ## Example diff --git a/docs/SignatureGetObjectV2Response.md b/docs/SignatureGetObjectV2Response.md index b520e15eb..cb40486f7 100644 --- a/docs/SignatureGetObjectV2Response.md +++ b/docs/SignatureGetObjectV2Response.md @@ -6,6 +6,8 @@ Response for GET /2/object/signature/{pkiSignatureID} Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**obj_debug_payload** | [**CommonResponseObjDebugPayload**](CommonResponseObjDebugPayload.md) | | +**obj_debug** | [**CommonResponseObjDebug**](CommonResponseObjDebug.md) | | [optional] **m_payload** | [**SignatureGetObjectV2ResponseMPayload**](SignatureGetObjectV2ResponseMPayload.md) | | ## Example diff --git a/docs/SignatureGetObjectV3Response.md b/docs/SignatureGetObjectV3Response.md index 5afab8a88..c650bd0f4 100644 --- a/docs/SignatureGetObjectV3Response.md +++ b/docs/SignatureGetObjectV3Response.md @@ -6,6 +6,8 @@ Response for GET /3/object/signature/{pkiSignatureID} Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**obj_debug_payload** | [**CommonResponseObjDebugPayload**](CommonResponseObjDebugPayload.md) | | +**obj_debug** | [**CommonResponseObjDebug**](CommonResponseObjDebug.md) | | [optional] **m_payload** | [**SignatureGetObjectV3ResponseMPayload**](SignatureGetObjectV3ResponseMPayload.md) | | ## Example diff --git a/docs/SignatureRequestCompound.md b/docs/SignatureRequestCompound.md index 3910ace85..53092cd59 100644 --- a/docs/SignatureRequestCompound.md +++ b/docs/SignatureRequestCompound.md @@ -6,6 +6,11 @@ A Signature Object and children Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**pki_signature_id** | **int** | The unique ID of the Signature | [optional] +**fki_font_id** | **int** | The unique ID of the Font | +**e_signature_preference** | [**FieldESignaturePreference**](FieldESignaturePreference.md) | | +**t_signature_svg** | **str** | The svg of the Signature | [optional] +**t_signature_svginitials** | **str** | The svg of the Initials | [optional] ## Example diff --git a/docs/SignatureResponseCompound.md b/docs/SignatureResponseCompound.md index 0933eefe6..da0936dd0 100644 --- a/docs/SignatureResponseCompound.md +++ b/docs/SignatureResponseCompound.md @@ -6,6 +6,10 @@ A Signature Object Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**pki_signature_id** | **int** | The unique ID of the Signature | +**fki_font_id** | **int** | The unique ID of the Font | [optional] +**s_signature_url** | **str** | The URL of the SVG file for the Signature | [optional] +**s_signature_urlinitials** | **str** | The URL of the SVG file for the Initials | [optional] ## Example diff --git a/docs/SignatureResponseCompoundV3.md b/docs/SignatureResponseCompoundV3.md index a6493b71c..63db0e31e 100644 --- a/docs/SignatureResponseCompoundV3.md +++ b/docs/SignatureResponseCompoundV3.md @@ -6,6 +6,11 @@ A Signature Object Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**pki_signature_id** | **int** | The unique ID of the Signature | +**fki_font_id** | **int** | The unique ID of the Font | +**e_signature_preference** | [**FieldESignaturePreference**](FieldESignaturePreference.md) | | +**b_signature_svg** | **bool** | Whether the signature has a SVG or not | +**b_signature_svginitials** | **bool** | Whether the initials has a SVG or not | ## Example diff --git a/docs/SubnetCreateObjectV1Response.md b/docs/SubnetCreateObjectV1Response.md index d17d3dc89..80bb0ece8 100644 --- a/docs/SubnetCreateObjectV1Response.md +++ b/docs/SubnetCreateObjectV1Response.md @@ -6,6 +6,8 @@ Response for POST /1/object/subnet Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**obj_debug_payload** | [**CommonResponseObjDebugPayload**](CommonResponseObjDebugPayload.md) | | +**obj_debug** | [**CommonResponseObjDebug**](CommonResponseObjDebug.md) | | [optional] **m_payload** | [**SubnetCreateObjectV1ResponseMPayload**](SubnetCreateObjectV1ResponseMPayload.md) | | ## Example diff --git a/docs/SubnetDeleteObjectV1Response.md b/docs/SubnetDeleteObjectV1Response.md index c44e9d902..56ee11f58 100644 --- a/docs/SubnetDeleteObjectV1Response.md +++ b/docs/SubnetDeleteObjectV1Response.md @@ -6,6 +6,8 @@ Response for DELETE /1/object/subnet/{pkiSubnetID} Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**obj_debug_payload** | [**CommonResponseObjDebugPayload**](CommonResponseObjDebugPayload.md) | | +**obj_debug** | [**CommonResponseObjDebug**](CommonResponseObjDebug.md) | | [optional] ## Example diff --git a/docs/SubnetEditObjectV1Response.md b/docs/SubnetEditObjectV1Response.md index 0ea23ff3e..b7014404b 100644 --- a/docs/SubnetEditObjectV1Response.md +++ b/docs/SubnetEditObjectV1Response.md @@ -6,6 +6,8 @@ Response for PUT /1/object/subnet/{pkiSubnetID} Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**obj_debug_payload** | [**CommonResponseObjDebugPayload**](CommonResponseObjDebugPayload.md) | | +**obj_debug** | [**CommonResponseObjDebug**](CommonResponseObjDebug.md) | | [optional] ## Example diff --git a/docs/SubnetGetObjectV2Response.md b/docs/SubnetGetObjectV2Response.md index 88b6dd9a6..9e9069b11 100644 --- a/docs/SubnetGetObjectV2Response.md +++ b/docs/SubnetGetObjectV2Response.md @@ -6,6 +6,8 @@ Response for GET /2/object/subnet/{pkiSubnetID} Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**obj_debug_payload** | [**CommonResponseObjDebugPayload**](CommonResponseObjDebugPayload.md) | | +**obj_debug** | [**CommonResponseObjDebug**](CommonResponseObjDebug.md) | | [optional] **m_payload** | [**SubnetGetObjectV2ResponseMPayload**](SubnetGetObjectV2ResponseMPayload.md) | | ## Example diff --git a/docs/SubnetRequestCompound.md b/docs/SubnetRequestCompound.md index e91a8831a..00708da97 100644 --- a/docs/SubnetRequestCompound.md +++ b/docs/SubnetRequestCompound.md @@ -6,6 +6,12 @@ A Subnet Object and children Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**pki_subnet_id** | **int** | The unique ID of the Subnet | [optional] +**fki_user_id** | **int** | The unique ID of the User | [optional] +**fki_apikey_id** | **int** | The unique ID of the Apikey | [optional] +**obj_subnet_description** | [**MultilingualSubnetDescription**](MultilingualSubnetDescription.md) | | +**i_subnet_network** | **int** | The network of the Subnet in integer form. For example 8.8.8.0 would be 134744064 | +**i_subnet_mask** | **int** | The mask of the Subnet in integer form. For example 255.255.255.0 would be 4294967040 | ## Example diff --git a/docs/SubnetResponseCompound.md b/docs/SubnetResponseCompound.md index 9f6dcfefd..bb80cd864 100644 --- a/docs/SubnetResponseCompound.md +++ b/docs/SubnetResponseCompound.md @@ -6,6 +6,12 @@ A Subnet Object Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**pki_subnet_id** | **int** | The unique ID of the Subnet | +**fki_user_id** | **int** | The unique ID of the User | [optional] +**fki_apikey_id** | **int** | The unique ID of the Apikey | [optional] +**obj_subnet_description** | [**MultilingualSubnetDescription**](MultilingualSubnetDescription.md) | | +**i_subnet_network** | **int** | The network of the Subnet in integer form. For example 8.8.8.0 would be 134744064 | +**i_subnet_mask** | **int** | The mask of the Subnet in integer form. For example 255.255.255.0 would be 4294967040 | ## Example diff --git a/docs/SupplyCreateObjectV1Response.md b/docs/SupplyCreateObjectV1Response.md index b74fea55b..834c4d335 100644 --- a/docs/SupplyCreateObjectV1Response.md +++ b/docs/SupplyCreateObjectV1Response.md @@ -6,6 +6,8 @@ Response for POST /1/object/supply Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**obj_debug_payload** | [**CommonResponseObjDebugPayload**](CommonResponseObjDebugPayload.md) | | +**obj_debug** | [**CommonResponseObjDebug**](CommonResponseObjDebug.md) | | [optional] **m_payload** | [**SupplyCreateObjectV1ResponseMPayload**](SupplyCreateObjectV1ResponseMPayload.md) | | ## Example diff --git a/docs/SupplyDeleteObjectV1Response.md b/docs/SupplyDeleteObjectV1Response.md index 4d5b37935..3cf91d2c8 100644 --- a/docs/SupplyDeleteObjectV1Response.md +++ b/docs/SupplyDeleteObjectV1Response.md @@ -6,6 +6,8 @@ Response for DELETE /1/object/supply/{pkiSupplyID} Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**obj_debug_payload** | [**CommonResponseObjDebugPayload**](CommonResponseObjDebugPayload.md) | | +**obj_debug** | [**CommonResponseObjDebug**](CommonResponseObjDebug.md) | | [optional] ## Example diff --git a/docs/SupplyEditObjectV1Response.md b/docs/SupplyEditObjectV1Response.md index 54d312e7f..f620de316 100644 --- a/docs/SupplyEditObjectV1Response.md +++ b/docs/SupplyEditObjectV1Response.md @@ -6,6 +6,8 @@ Response for PUT /1/object/supply/{pkiSupplyID} Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**obj_debug_payload** | [**CommonResponseObjDebugPayload**](CommonResponseObjDebugPayload.md) | | +**obj_debug** | [**CommonResponseObjDebug**](CommonResponseObjDebug.md) | | [optional] ## Example diff --git a/docs/SupplyGetAutocompleteV2Response.md b/docs/SupplyGetAutocompleteV2Response.md index 54c9605ba..7772ae995 100644 --- a/docs/SupplyGetAutocompleteV2Response.md +++ b/docs/SupplyGetAutocompleteV2Response.md @@ -6,6 +6,8 @@ Response for GET /2/object/supply/getAutocomplete Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**obj_debug_payload** | [**CommonResponseObjDebugPayload**](CommonResponseObjDebugPayload.md) | | +**obj_debug** | [**CommonResponseObjDebug**](CommonResponseObjDebug.md) | | [optional] **m_payload** | [**SupplyGetAutocompleteV2ResponseMPayload**](SupplyGetAutocompleteV2ResponseMPayload.md) | | ## Example diff --git a/docs/SupplyGetListV1Response.md b/docs/SupplyGetListV1Response.md index 82fe92cd0..c121f6aa2 100644 --- a/docs/SupplyGetListV1Response.md +++ b/docs/SupplyGetListV1Response.md @@ -6,6 +6,8 @@ Response for GET /1/object/supply/getList Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**obj_debug_payload** | [**CommonResponseObjDebugPayloadGetList**](CommonResponseObjDebugPayloadGetList.md) | | +**obj_debug** | [**CommonResponseObjDebug**](CommonResponseObjDebug.md) | | [optional] **m_payload** | [**SupplyGetListV1ResponseMPayload**](SupplyGetListV1ResponseMPayload.md) | | ## Example diff --git a/docs/SupplyGetListV1ResponseMPayload.md b/docs/SupplyGetListV1ResponseMPayload.md index 003ee6b4c..34b01a8af 100644 --- a/docs/SupplyGetListV1ResponseMPayload.md +++ b/docs/SupplyGetListV1ResponseMPayload.md @@ -6,6 +6,8 @@ Payload for GET /1/object/supply/getList Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**i_row_returned** | **int** | The number of rows returned | +**i_row_filtered** | **int** | The number of rows matching your filters (if any) or the total number of rows | **a_obj_supply** | [**List[SupplyListElement]**](SupplyListElement.md) | | ## Example diff --git a/docs/SupplyGetObjectV2Response.md b/docs/SupplyGetObjectV2Response.md index afd71dd04..e67593d57 100644 --- a/docs/SupplyGetObjectV2Response.md +++ b/docs/SupplyGetObjectV2Response.md @@ -6,6 +6,8 @@ Response for GET /2/object/supply/{pkiSupplyID} Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**obj_debug_payload** | [**CommonResponseObjDebugPayload**](CommonResponseObjDebugPayload.md) | | +**obj_debug** | [**CommonResponseObjDebug**](CommonResponseObjDebug.md) | | [optional] **m_payload** | [**SupplyGetObjectV2ResponseMPayload**](SupplyGetObjectV2ResponseMPayload.md) | | ## Example diff --git a/docs/SupplyRequestCompound.md b/docs/SupplyRequestCompound.md index 1e9c4a93b..e9ddf1735 100644 --- a/docs/SupplyRequestCompound.md +++ b/docs/SupplyRequestCompound.md @@ -6,6 +6,15 @@ A Supply Object and children Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**pki_supply_id** | **int** | The unique ID of the Supply | [optional] +**fki_glaccount_id** | **int** | The unique ID of the Glaccount | [optional] +**fki_glaccountcontainer_id** | **int** | The unique ID of the Glaccountcontainer | [optional] +**fki_variableexpense_id** | **int** | The unique ID of the Variableexpense | +**s_supply_code** | **str** | The code of the Supply | +**obj_supply_description** | [**MultilingualSupplyDescription**](MultilingualSupplyDescription.md) | | +**d_supply_unitprice** | **str** | The unit price of the Supply | +**b_supply_isactive** | **bool** | Whether the supply is active or not | +**b_supply_variableprice** | **bool** | Whether if the price is variable | ## Example diff --git a/docs/SupplyResponseCompound.md b/docs/SupplyResponseCompound.md index f7013313b..d2df676ea 100644 --- a/docs/SupplyResponseCompound.md +++ b/docs/SupplyResponseCompound.md @@ -6,6 +6,18 @@ A Supply Object Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**pki_supply_id** | **int** | The unique ID of the Supply | +**fki_glaccount_id** | **int** | The unique ID of the Glaccount | [optional] +**fki_glaccountcontainer_id** | **int** | The unique ID of the Glaccountcontainer | [optional] +**fki_variableexpense_id** | **int** | The unique ID of the Variableexpense | +**s_supply_code** | **str** | The code of the Supply | +**obj_supply_description** | [**MultilingualSupplyDescription**](MultilingualSupplyDescription.md) | | +**d_supply_unitprice** | **str** | The unit price of the Supply | +**b_supply_isactive** | **bool** | Whether the supply is active or not | +**b_supply_variableprice** | **bool** | Whether if the price is variable | +**s_glaccount_description_x** | **str** | The Description for the Glaccount in the language of the requester | [optional] +**s_glaccountcontainer_longdescription_x** | **str** | The Description for the Glaccountcontainer in the language of the requester | [optional] +**s_variableexpense_description_x** | **str** | The description of the Variableexpense in the language of the requester | [optional] ## Example diff --git a/docs/SystemconfigurationEditObjectV1Response.md b/docs/SystemconfigurationEditObjectV1Response.md index cfedb5e6e..53181dba1 100644 --- a/docs/SystemconfigurationEditObjectV1Response.md +++ b/docs/SystemconfigurationEditObjectV1Response.md @@ -6,6 +6,8 @@ Response for PUT /1/object/systemconfiguration/{pkiSystemconfigurationID} Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**obj_debug_payload** | [**CommonResponseObjDebugPayload**](CommonResponseObjDebugPayload.md) | | +**obj_debug** | [**CommonResponseObjDebug**](CommonResponseObjDebug.md) | | [optional] ## Example diff --git a/docs/SystemconfigurationGetObjectV2Response.md b/docs/SystemconfigurationGetObjectV2Response.md index 71a17569b..ff3868eec 100644 --- a/docs/SystemconfigurationGetObjectV2Response.md +++ b/docs/SystemconfigurationGetObjectV2Response.md @@ -6,6 +6,8 @@ Response for GET /2/object/systemconfiguration/{pkiSystemconfigurationID} Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**obj_debug_payload** | [**CommonResponseObjDebugPayload**](CommonResponseObjDebugPayload.md) | | +**obj_debug** | [**CommonResponseObjDebug**](CommonResponseObjDebug.md) | | [optional] **m_payload** | [**SystemconfigurationGetObjectV2ResponseMPayload**](SystemconfigurationGetObjectV2ResponseMPayload.md) | | ## Example diff --git a/docs/SystemconfigurationRequestCompound.md b/docs/SystemconfigurationRequestCompound.md index a08bd56df..9b8a528b5 100644 --- a/docs/SystemconfigurationRequestCompound.md +++ b/docs/SystemconfigurationRequestCompound.md @@ -6,6 +6,18 @@ A Systemconfiguration Object and children Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**pki_systemconfiguration_id** | **int** | The unique ID of the Systemconfiguration | [optional] +**fki_branding_id** | **int** | The unique ID of the Branding | [optional] +**e_systemconfiguration_newexternaluseraction** | [**FieldESystemconfigurationNewexternaluseraction**](FieldESystemconfigurationNewexternaluseraction.md) | | +**e_systemconfiguration_language1** | [**FieldESystemconfigurationLanguage1**](FieldESystemconfigurationLanguage1.md) | | +**e_systemconfiguration_language2** | [**FieldESystemconfigurationLanguage2**](FieldESystemconfigurationLanguage2.md) | | +**e_systemconfiguration_ezsign** | [**FieldESystemconfigurationEzsign**](FieldESystemconfigurationEzsign.md) | | [optional] +**e_systemconfiguration_ezsignofficeplan** | [**FieldESystemconfigurationEzsignofficeplan**](FieldESystemconfigurationEzsignofficeplan.md) | | [optional] +**b_systemconfiguration_ezsignpaidbyoffice** | **bool** | Whether if Ezsign is paid by the company or not | [optional] +**b_systemconfiguration_ezsignpersonnal** | **bool** | Whether if we allow the creation of personal files in eZsign | +**b_systemconfiguration_sspr** | **bool** | Whether if we allow SSPR | +**dt_systemconfiguration_readonlyexpirationstart** | **str** | The start date where the system will be in read only | [optional] +**dt_systemconfiguration_readonlyexpirationend** | **str** | The end date where the system will be in read only | [optional] ## Example diff --git a/docs/SystemconfigurationResponseCompound.md b/docs/SystemconfigurationResponseCompound.md index c0f602725..7c103bc55 100644 --- a/docs/SystemconfigurationResponseCompound.md +++ b/docs/SystemconfigurationResponseCompound.md @@ -6,6 +6,23 @@ A Systemconfiguration Object Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**pki_systemconfiguration_id** | **int** | The unique ID of the Systemconfiguration | +**fki_systemconfigurationtype_id** | **int** | The unique ID of the Systemconfigurationtype | +**fki_branding_id** | **int** | The unique ID of the Branding | [optional] +**s_systemconfigurationtype_description_x** | **str** | The description of the Systemconfigurationtype in the language of the requester | +**e_systemconfiguration_newexternaluseraction** | [**FieldESystemconfigurationNewexternaluseraction**](FieldESystemconfigurationNewexternaluseraction.md) | | +**e_systemconfiguration_language1** | [**FieldESystemconfigurationLanguage1**](FieldESystemconfigurationLanguage1.md) | | +**e_systemconfiguration_language2** | [**FieldESystemconfigurationLanguage2**](FieldESystemconfigurationLanguage2.md) | | +**e_systemconfiguration_ezsign** | [**FieldESystemconfigurationEzsign**](FieldESystemconfigurationEzsign.md) | | [optional] +**e_systemconfiguration_ezsignofficeplan** | [**FieldESystemconfigurationEzsignofficeplan**](FieldESystemconfigurationEzsignofficeplan.md) | | [optional] +**b_systemconfiguration_ezsignpaidbyoffice** | **bool** | Whether if Ezsign is paid by the company or not | [optional] +**b_systemconfiguration_ezsignpersonnal** | **bool** | Whether if we allow the creation of personal files in eZsign | +**b_systemconfiguration_hascreditcardmerchant** | **bool** | Whether there is a creditcard merchant configured or not | [optional] +**b_systemconfiguration_isdisposalactive** | **bool** | Whether is Disposal processus is active or not | [optional] +**b_systemconfiguration_sspr** | **bool** | Whether if we allow SSPR | +**dt_systemconfiguration_readonlyexpirationstart** | **str** | The start date where the system will be in read only | [optional] +**dt_systemconfiguration_readonlyexpirationend** | **str** | The end date where the system will be in read only | [optional] +**obj_branding** | [**CustomBrandingResponse**](CustomBrandingResponse.md) | | [optional] ## Example diff --git a/docs/TaxassignmentGetAutocompleteV2Response.md b/docs/TaxassignmentGetAutocompleteV2Response.md index dc3851bf9..f917cc463 100644 --- a/docs/TaxassignmentGetAutocompleteV2Response.md +++ b/docs/TaxassignmentGetAutocompleteV2Response.md @@ -6,6 +6,8 @@ Response for GET /2/object/taxassignment/getAutocomplete Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**obj_debug_payload** | [**CommonResponseObjDebugPayload**](CommonResponseObjDebugPayload.md) | | +**obj_debug** | [**CommonResponseObjDebug**](CommonResponseObjDebug.md) | | [optional] **m_payload** | [**TaxassignmentGetAutocompleteV2ResponseMPayload**](TaxassignmentGetAutocompleteV2ResponseMPayload.md) | | ## Example diff --git a/docs/TextstylestaticRequestCompound.md b/docs/TextstylestaticRequestCompound.md index 460954408..c66793303 100644 --- a/docs/TextstylestaticRequestCompound.md +++ b/docs/TextstylestaticRequestCompound.md @@ -6,6 +6,13 @@ A Textstylestatic Object and children Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**fki_font_id** | **int** | The unique ID of the Font | +**b_textstylestatic_bold** | **bool** | Whether the Textstylestatic is Bold or not | +**b_textstylestatic_underline** | **bool** | Whether the Textstylestatic is Underline or not | +**b_textstylestatic_italic** | **bool** | Whether the Textstylestatic is Italic or not | +**b_textstylestatic_strikethrough** | **bool** | Whether the Textstylestatic is Strikethrough or not | +**i_textstylestatic_fontcolor** | **int** | The int32 representation of the Fontcolor. For example, RGB color #39435B would be 3752795 | +**i_textstylestatic_size** | **int** | The Size for the Font of the Textstylestatic | ## Example diff --git a/docs/TextstylestaticResponseCompound.md b/docs/TextstylestaticResponseCompound.md index c672ad685..3fbeff77e 100644 --- a/docs/TextstylestaticResponseCompound.md +++ b/docs/TextstylestaticResponseCompound.md @@ -6,6 +6,15 @@ A Textstylestatic Object Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**pki_textstylestatic_id** | **int** | The unique ID of the Textstylestatic | [optional] +**fki_font_id** | **int** | The unique ID of the Font | +**s_font_name** | **str** | The name of the Font | +**b_textstylestatic_bold** | **bool** | Whether the Textstylestatic is Bold or not | +**b_textstylestatic_underline** | **bool** | Whether the Textstylestatic is Underline or not | +**b_textstylestatic_italic** | **bool** | Whether the Textstylestatic is Italic or not | +**b_textstylestatic_strikethrough** | **bool** | Whether the Textstylestatic is Strikethrough or not | +**i_textstylestatic_fontcolor** | **int** | The int32 representation of the Fontcolor. For example, RGB color #39435B would be 3752795 | +**i_textstylestatic_size** | **int** | The Size for the Font of the Textstylestatic | ## Example diff --git a/docs/TimezoneGetAutocompleteV2Response.md b/docs/TimezoneGetAutocompleteV2Response.md index 0521f54ef..a172105bd 100644 --- a/docs/TimezoneGetAutocompleteV2Response.md +++ b/docs/TimezoneGetAutocompleteV2Response.md @@ -6,6 +6,8 @@ Response for GET /2/object/timezone/getAutocomplete Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**obj_debug_payload** | [**CommonResponseObjDebugPayload**](CommonResponseObjDebugPayload.md) | | +**obj_debug** | [**CommonResponseObjDebug**](CommonResponseObjDebug.md) | | [optional] **m_payload** | [**TimezoneGetAutocompleteV2ResponseMPayload**](TimezoneGetAutocompleteV2ResponseMPayload.md) | | ## Example diff --git a/docs/TranqcontractGetCommunicationCountV1Response.md b/docs/TranqcontractGetCommunicationCountV1Response.md index a966248f8..42c190416 100644 --- a/docs/TranqcontractGetCommunicationCountV1Response.md +++ b/docs/TranqcontractGetCommunicationCountV1Response.md @@ -6,6 +6,8 @@ Response for GET /1/object/tranqcontract/{pkiTranqcontractID}/getCommunicationCo Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**obj_debug_payload** | [**CommonResponseObjDebugPayload**](CommonResponseObjDebugPayload.md) | | +**obj_debug** | [**CommonResponseObjDebug**](CommonResponseObjDebug.md) | | [optional] **m_payload** | [**TranqcontractGetCommunicationCountV1ResponseMPayload**](TranqcontractGetCommunicationCountV1ResponseMPayload.md) | | ## Example diff --git a/docs/TranqcontractGetCommunicationListV1Response.md b/docs/TranqcontractGetCommunicationListV1Response.md index 537b5ca45..47e496009 100644 --- a/docs/TranqcontractGetCommunicationListV1Response.md +++ b/docs/TranqcontractGetCommunicationListV1Response.md @@ -6,6 +6,8 @@ Response for GET /1/object/tranqcontract/{pkiTranqcontractID}/getCommunicationLi Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**obj_debug_payload** | [**CommonResponseObjDebugPayloadGetList**](CommonResponseObjDebugPayloadGetList.md) | | +**obj_debug** | [**CommonResponseObjDebug**](CommonResponseObjDebug.md) | | [optional] **m_payload** | [**TranqcontractGetCommunicationListV1ResponseMPayload**](TranqcontractGetCommunicationListV1ResponseMPayload.md) | | ## Example diff --git a/docs/TranqcontractGetCommunicationrecipientsV1Response.md b/docs/TranqcontractGetCommunicationrecipientsV1Response.md index 24c102e2c..2aae30643 100644 --- a/docs/TranqcontractGetCommunicationrecipientsV1Response.md +++ b/docs/TranqcontractGetCommunicationrecipientsV1Response.md @@ -6,6 +6,8 @@ Response for GET /1/object/tranqcontract/{pkiTranqcontractID}/getCommunicationre Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**obj_debug_payload** | [**CommonResponseObjDebugPayload**](CommonResponseObjDebugPayload.md) | | +**obj_debug** | [**CommonResponseObjDebug**](CommonResponseObjDebug.md) | | [optional] **m_payload** | [**TranqcontractGetCommunicationrecipientsV1ResponseMPayload**](TranqcontractGetCommunicationrecipientsV1ResponseMPayload.md) | | ## Example diff --git a/docs/TranqcontractGetCommunicationsendersV1Response.md b/docs/TranqcontractGetCommunicationsendersV1Response.md index aad807178..d47c4eec0 100644 --- a/docs/TranqcontractGetCommunicationsendersV1Response.md +++ b/docs/TranqcontractGetCommunicationsendersV1Response.md @@ -6,6 +6,8 @@ Response for GET /1/object/tranqcontract/{pkiTranqcontractID}/getCommunicationre Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**obj_debug_payload** | [**CommonResponseObjDebugPayload**](CommonResponseObjDebugPayload.md) | | +**obj_debug** | [**CommonResponseObjDebug**](CommonResponseObjDebug.md) | | [optional] **m_payload** | [**TranqcontractGetCommunicationsendersV1ResponseMPayload**](TranqcontractGetCommunicationsendersV1ResponseMPayload.md) | | ## Example diff --git a/docs/UserCreateEzsignuserV1Response.md b/docs/UserCreateEzsignuserV1Response.md index 77149fbd4..4efa24a90 100644 --- a/docs/UserCreateEzsignuserV1Response.md +++ b/docs/UserCreateEzsignuserV1Response.md @@ -6,6 +6,8 @@ Response for POST /1/module/user/createEzsignuser Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**obj_debug_payload** | [**CommonResponseObjDebugPayload**](CommonResponseObjDebugPayload.md) | | +**obj_debug** | [**CommonResponseObjDebug**](CommonResponseObjDebug.md) | | [optional] **m_payload** | [**UserCreateEzsignuserV1ResponseMPayload**](UserCreateEzsignuserV1ResponseMPayload.md) | | ## Example diff --git a/docs/UserCreateObjectV1Response.md b/docs/UserCreateObjectV1Response.md index cd154c133..e5a4aa2d8 100644 --- a/docs/UserCreateObjectV1Response.md +++ b/docs/UserCreateObjectV1Response.md @@ -6,6 +6,8 @@ Response for POST /1/object/user Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**obj_debug_payload** | [**CommonResponseObjDebugPayload**](CommonResponseObjDebugPayload.md) | | +**obj_debug** | [**CommonResponseObjDebug**](CommonResponseObjDebug.md) | | [optional] **m_payload** | [**UserCreateObjectV1ResponseMPayload**](UserCreateObjectV1ResponseMPayload.md) | | ## Example diff --git a/docs/UserCreateObjectV2Response.md b/docs/UserCreateObjectV2Response.md index 6d3f6ec63..3534bdcfd 100644 --- a/docs/UserCreateObjectV2Response.md +++ b/docs/UserCreateObjectV2Response.md @@ -6,6 +6,8 @@ Response for POST /1/object/user Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**obj_debug_payload** | [**CommonResponseObjDebugPayload**](CommonResponseObjDebugPayload.md) | | +**obj_debug** | [**CommonResponseObjDebug**](CommonResponseObjDebug.md) | | [optional] **m_payload** | [**UserCreateObjectV2ResponseMPayload**](UserCreateObjectV2ResponseMPayload.md) | | ## Example diff --git a/docs/UserEditColleaguesV2Response.md b/docs/UserEditColleaguesV2Response.md index 6ef3474de..4a713de8a 100644 --- a/docs/UserEditColleaguesV2Response.md +++ b/docs/UserEditColleaguesV2Response.md @@ -6,6 +6,8 @@ Response for PUT /2/object/user/{pkiUserID}/editColleagues Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**obj_debug_payload** | [**CommonResponseObjDebugPayload**](CommonResponseObjDebugPayload.md) | | +**obj_debug** | [**CommonResponseObjDebug**](CommonResponseObjDebug.md) | | [optional] **m_payload** | [**UserEditColleaguesV2ResponseMPayload**](UserEditColleaguesV2ResponseMPayload.md) | | ## Example diff --git a/docs/UserEditObjectV1Response.md b/docs/UserEditObjectV1Response.md index da14e9d17..c00dee8ee 100644 --- a/docs/UserEditObjectV1Response.md +++ b/docs/UserEditObjectV1Response.md @@ -6,6 +6,8 @@ Response for PUT /1/object/user/{pkiUserID} Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**obj_debug_payload** | [**CommonResponseObjDebugPayload**](CommonResponseObjDebugPayload.md) | | +**obj_debug** | [**CommonResponseObjDebug**](CommonResponseObjDebug.md) | | [optional] ## Example diff --git a/docs/UserEditPermissionsV1Request.md b/docs/UserEditPermissionsV1Request.md index 7c5acf159..8d656481b 100644 --- a/docs/UserEditPermissionsV1Request.md +++ b/docs/UserEditPermissionsV1Request.md @@ -6,7 +6,7 @@ Request for PUT /1/object/user/{pkiUserID}/editPermissions Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**a_obj_permission** | [**List[PermissionRequestCompound]**](PermissionRequest.md) | | +**a_obj_permission** | [**List[PermissionRequestCompound]**](PermissionRequestCompound.md) | | ## Example diff --git a/docs/UserEditPermissionsV1Response.md b/docs/UserEditPermissionsV1Response.md index 0d462a804..c2d2f3331 100644 --- a/docs/UserEditPermissionsV1Response.md +++ b/docs/UserEditPermissionsV1Response.md @@ -6,6 +6,8 @@ Response for PUT /1/object/user/{pkiUserID}/editPermissions Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**obj_debug_payload** | [**CommonResponseObjDebugPayload**](CommonResponseObjDebugPayload.md) | | +**obj_debug** | [**CommonResponseObjDebug**](CommonResponseObjDebug.md) | | [optional] **m_payload** | [**UserEditPermissionsV1ResponseMPayload**](UserEditPermissionsV1ResponseMPayload.md) | | ## Example diff --git a/docs/UserGetApikeysV1Response.md b/docs/UserGetApikeysV1Response.md index 08edbffa0..b5128f98b 100644 --- a/docs/UserGetApikeysV1Response.md +++ b/docs/UserGetApikeysV1Response.md @@ -6,6 +6,8 @@ Response for GET /1/object/user/{pkiUserID}/getApikeys Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**obj_debug_payload** | [**CommonResponseObjDebugPayload**](CommonResponseObjDebugPayload.md) | | +**obj_debug** | [**CommonResponseObjDebug**](CommonResponseObjDebug.md) | | [optional] **m_payload** | [**UserGetApikeysV1ResponseMPayload**](UserGetApikeysV1ResponseMPayload.md) | | ## Example diff --git a/docs/UserGetApikeysV1ResponseMPayload.md b/docs/UserGetApikeysV1ResponseMPayload.md index 4d96d8dbb..028999c53 100644 --- a/docs/UserGetApikeysV1ResponseMPayload.md +++ b/docs/UserGetApikeysV1ResponseMPayload.md @@ -6,7 +6,7 @@ Response for GET /1/object/user/{pkiUserID}/getApikeys Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**a_obj_apikey** | [**List[ApikeyResponseCompound]**](ApikeyResponse.md) | | +**a_obj_apikey** | [**List[ApikeyResponseCompound]**](ApikeyResponseCompound.md) | | ## Example diff --git a/docs/UserGetAutocompleteV2Response.md b/docs/UserGetAutocompleteV2Response.md index 7c0b9dc8a..488c26056 100644 --- a/docs/UserGetAutocompleteV2Response.md +++ b/docs/UserGetAutocompleteV2Response.md @@ -6,6 +6,8 @@ Response for GET /2/object/user/getAutocomplete Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**obj_debug_payload** | [**CommonResponseObjDebugPayload**](CommonResponseObjDebugPayload.md) | | +**obj_debug** | [**CommonResponseObjDebug**](CommonResponseObjDebug.md) | | [optional] **m_payload** | [**UserGetAutocompleteV2ResponseMPayload**](UserGetAutocompleteV2ResponseMPayload.md) | | ## Example diff --git a/docs/UserGetColleaguesV2Response.md b/docs/UserGetColleaguesV2Response.md index 8c1c328a4..2a7d5bf6a 100644 --- a/docs/UserGetColleaguesV2Response.md +++ b/docs/UserGetColleaguesV2Response.md @@ -6,6 +6,8 @@ Response for GET /2/object/user/{pkiUserID}/getColleagues Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**obj_debug_payload** | [**CommonResponseObjDebugPayload**](CommonResponseObjDebugPayload.md) | | +**obj_debug** | [**CommonResponseObjDebug**](CommonResponseObjDebug.md) | | [optional] **m_payload** | [**UserGetColleaguesV2ResponseMPayload**](UserGetColleaguesV2ResponseMPayload.md) | | ## Example diff --git a/docs/UserGetEffectivePermissionsV1Response.md b/docs/UserGetEffectivePermissionsV1Response.md index 9456bb4f9..fc9bc8f73 100644 --- a/docs/UserGetEffectivePermissionsV1Response.md +++ b/docs/UserGetEffectivePermissionsV1Response.md @@ -6,6 +6,8 @@ Response for GET /1/object/user/{pkiUserID}/getEffectivePermissions Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**obj_debug_payload** | [**CommonResponseObjDebugPayload**](CommonResponseObjDebugPayload.md) | | +**obj_debug** | [**CommonResponseObjDebug**](CommonResponseObjDebug.md) | | [optional] **m_payload** | [**UserGetEffectivePermissionsV1ResponseMPayload**](UserGetEffectivePermissionsV1ResponseMPayload.md) | | ## Example diff --git a/docs/UserGetListV1Response.md b/docs/UserGetListV1Response.md index d00d7728c..bb4a9a49c 100644 --- a/docs/UserGetListV1Response.md +++ b/docs/UserGetListV1Response.md @@ -6,6 +6,8 @@ Response for GET /1/object/user/getList Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**obj_debug_payload** | [**CommonResponseObjDebugPayloadGetList**](CommonResponseObjDebugPayloadGetList.md) | | +**obj_debug** | [**CommonResponseObjDebug**](CommonResponseObjDebug.md) | | [optional] **m_payload** | [**UserGetListV1ResponseMPayload**](UserGetListV1ResponseMPayload.md) | | ## Example diff --git a/docs/UserGetListV1ResponseMPayload.md b/docs/UserGetListV1ResponseMPayload.md index e11f4fede..219835d60 100644 --- a/docs/UserGetListV1ResponseMPayload.md +++ b/docs/UserGetListV1ResponseMPayload.md @@ -6,6 +6,8 @@ Payload for GET /1/object/user/getList Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**i_row_returned** | **int** | The number of rows returned | +**i_row_filtered** | **int** | The number of rows matching your filters (if any) or the total number of rows | **a_obj_user** | [**List[UserListElement]**](UserListElement.md) | | ## Example diff --git a/docs/UserGetObjectV2Response.md b/docs/UserGetObjectV2Response.md index be4f8b3cc..d4bf5dd0a 100644 --- a/docs/UserGetObjectV2Response.md +++ b/docs/UserGetObjectV2Response.md @@ -6,6 +6,8 @@ Response for GET /2/object/user/{pkiUserID} Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**obj_debug_payload** | [**CommonResponseObjDebugPayload**](CommonResponseObjDebugPayload.md) | | +**obj_debug** | [**CommonResponseObjDebug**](CommonResponseObjDebug.md) | | [optional] **m_payload** | [**UserGetObjectV2ResponseMPayload**](UserGetObjectV2ResponseMPayload.md) | | ## Example diff --git a/docs/UserGetObjectV2ResponseMPayload.md b/docs/UserGetObjectV2ResponseMPayload.md index 9c962ed2f..9c7064862 100644 --- a/docs/UserGetObjectV2ResponseMPayload.md +++ b/docs/UserGetObjectV2ResponseMPayload.md @@ -6,7 +6,7 @@ Payload for GET /2/object/user/{pkiUserID} Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**obj_user** | [**UserResponse**](UserResponse.md) | A User Object and children to create a complete structure | +**obj_user** | [**UserResponseCompound**](UserResponseCompound.md) | | ## Example diff --git a/docs/UserGetPermissionsV1Response.md b/docs/UserGetPermissionsV1Response.md index f82ffd433..238a04cd6 100644 --- a/docs/UserGetPermissionsV1Response.md +++ b/docs/UserGetPermissionsV1Response.md @@ -6,6 +6,8 @@ Response for GET /1/object/user/{pkiUserID}/getPermissions Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**obj_debug_payload** | [**CommonResponseObjDebugPayload**](CommonResponseObjDebugPayload.md) | | +**obj_debug** | [**CommonResponseObjDebug**](CommonResponseObjDebug.md) | | [optional] **m_payload** | [**UserGetPermissionsV1ResponseMPayload**](UserGetPermissionsV1ResponseMPayload.md) | | ## Example diff --git a/docs/UserGetSubnetsV1Response.md b/docs/UserGetSubnetsV1Response.md index 621d0356d..eebe23530 100644 --- a/docs/UserGetSubnetsV1Response.md +++ b/docs/UserGetSubnetsV1Response.md @@ -6,6 +6,8 @@ Response for GET /1/object/user/{pkiUserID}/getSubnets Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**obj_debug_payload** | [**CommonResponseObjDebugPayload**](CommonResponseObjDebugPayload.md) | | +**obj_debug** | [**CommonResponseObjDebug**](CommonResponseObjDebug.md) | | [optional] **m_payload** | [**UserGetSubnetsV1ResponseMPayload**](UserGetSubnetsV1ResponseMPayload.md) | | ## Example diff --git a/docs/UserGetUsergroupexternalsV1Response.md b/docs/UserGetUsergroupexternalsV1Response.md index ae8193e70..dc15dc084 100644 --- a/docs/UserGetUsergroupexternalsV1Response.md +++ b/docs/UserGetUsergroupexternalsV1Response.md @@ -6,6 +6,8 @@ Response for GET /1/object/user/{pkiUserID}/getUsergroupexternals Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**obj_debug_payload** | [**CommonResponseObjDebugPayload**](CommonResponseObjDebugPayload.md) | | +**obj_debug** | [**CommonResponseObjDebug**](CommonResponseObjDebug.md) | | [optional] **m_payload** | [**UserGetUsergroupexternalsV1ResponseMPayload**](UserGetUsergroupexternalsV1ResponseMPayload.md) | | ## Example diff --git a/docs/UserGetUsergroupsV1Response.md b/docs/UserGetUsergroupsV1Response.md index 35dca82de..5efe996c5 100644 --- a/docs/UserGetUsergroupsV1Response.md +++ b/docs/UserGetUsergroupsV1Response.md @@ -6,6 +6,8 @@ Response for GET /1/object/user/{pkiUserID}/getUsergroups Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**obj_debug_payload** | [**CommonResponseObjDebugPayload**](CommonResponseObjDebugPayload.md) | | +**obj_debug** | [**CommonResponseObjDebug**](CommonResponseObjDebug.md) | | [optional] **m_payload** | [**UserGetUsergroupsV1ResponseMPayload**](UserGetUsergroupsV1ResponseMPayload.md) | | ## Example diff --git a/docs/UserRequest.md b/docs/UserRequest.md index 7f10a6e4d..5c6034138 100644 --- a/docs/UserRequest.md +++ b/docs/UserRequest.md @@ -15,10 +15,10 @@ Name | Type | Description | Notes **fki_department_id_default** | **int** | The unique ID of the Department | **fki_timezone_id** | **int** | The unique ID of the Timezone | **fki_language_id** | **int** | The unique ID of the Language. Valid values: |Value|Description| |-|-| |1|French| |2|English| | -**obj_email** | [**EmailRequest**](EmailRequest.md) | An Email Object and children to create a complete structure | +**obj_email** | [**EmailRequestCompound**](EmailRequestCompound.md) | | **fki_billingentityinternal_id** | **int** | The unique ID of the Billingentityinternal. | -**obj_phone_home** | [**PhoneRequest**](PhoneRequest.md) | A Phone Object and children to create a complete structure | [optional] -**obj_phone_sms** | [**PhoneRequest**](PhoneRequest.md) | A Phone Object and children to create a complete structure | [optional] +**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)| |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] diff --git a/docs/UserRequestCompound.md b/docs/UserRequestCompound.md index b3118f865..888bfca70 100644 --- a/docs/UserRequestCompound.md +++ b/docs/UserRequestCompound.md @@ -6,6 +6,34 @@ A User Object and children Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**pki_user_id** | **int** | The unique ID of the User | [optional] +**fki_agent_id** | **int** | The unique ID of the Agent. | [optional] +**fki_broker_id** | **int** | The unique ID of the Broker. | [optional] +**fki_assistant_id** | **int** | The unique ID of the Assistant. | [optional] +**fki_employee_id** | **int** | The unique ID of the Employee. | [optional] +**fki_company_id_default** | **int** | The unique ID of the Company | +**fki_department_id_default** | **int** | The unique ID of the Department | +**fki_timezone_id** | **int** | The unique ID of the Timezone | +**fki_language_id** | **int** | The unique ID of the Language. Valid values: |Value|Description| |-|-| |1|French| |2|English| | +**obj_email** | [**EmailRequestCompound**](EmailRequestCompound.md) | | +**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)| |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) | | +**e_user_logintype** | [**FieldEUserLogintype**](FieldEUserLogintype.md) | | +**s_user_firstname** | **str** | The first name of the user | +**s_user_lastname** | **str** | The last name of the user | +**s_user_loginname** | **str** | The login name of the User. | +**s_user_jobtitle** | **str** | The job title of the user | [optional] +**e_user_ezsignaccess** | [**FieldEUserEzsignaccess**](FieldEUserEzsignaccess.md) | | +**b_user_isactive** | **bool** | Whether the User is active or not | +**b_user_validatebyadministration** | **bool** | Whether if the transactions in which the User is implicated must be validated by administrative personnel or not | [optional] +**b_user_validatebydirector** | **bool** | Whether if the transactions in which the User is implicated must be validated by a director or not | [optional] +**b_user_attachmentautoverified** | **bool** | Whether if Attachments uploaded by the User must be validated or not | [optional] +**b_user_changepassword** | **bool** | Whether if the User is forced to change its password | [optional] ## Example diff --git a/docs/UserRequestCompoundV2.md b/docs/UserRequestCompoundV2.md index 3ee4c0d70..d87f7c19c 100644 --- a/docs/UserRequestCompoundV2.md +++ b/docs/UserRequestCompoundV2.md @@ -6,6 +6,34 @@ A User Object and children Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**pki_user_id** | **int** | The unique ID of the User | [optional] +**fki_agent_id** | **int** | The unique ID of the Agent. | [optional] +**fki_broker_id** | **int** | The unique ID of the Broker. | [optional] +**fki_assistant_id** | **int** | The unique ID of the Assistant. | [optional] +**fki_employee_id** | **int** | The unique ID of the Employee. | [optional] +**fki_company_id_default** | **int** | The unique ID of the Company | +**fki_department_id_default** | **int** | The unique ID of the Department | +**fki_timezone_id** | **int** | The unique ID of the Timezone | +**fki_language_id** | **int** | The unique ID of the Language. Valid values: |Value|Description| |-|-| |1|French| |2|English| | +**obj_email** | [**EmailRequestCompound**](EmailRequestCompound.md) | | +**fki_billingentityinternal_id** | **int** | The unique ID of the Billingentityinternal. | +**obj_phone_home** | [**PhoneRequestCompoundV2**](PhoneRequestCompoundV2.md) | | [optional] +**obj_phone_sms** | [**PhoneRequestCompoundV2**](PhoneRequestCompoundV2.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)| |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) | | +**e_user_logintype** | [**FieldEUserLogintype**](FieldEUserLogintype.md) | | +**s_user_firstname** | **str** | The first name of the user | +**s_user_lastname** | **str** | The last name of the user | +**s_user_loginname** | **str** | The login name of the User. | +**s_user_jobtitle** | **str** | The job title of the user | [optional] +**e_user_ezsignaccess** | [**FieldEUserEzsignaccess**](FieldEUserEzsignaccess.md) | | +**b_user_isactive** | **bool** | Whether the User is active or not | +**b_user_validatebyadministration** | **bool** | Whether if the transactions in which the User is implicated must be validated by administrative personnel or not | [optional] +**b_user_validatebydirector** | **bool** | Whether if the transactions in which the User is implicated must be validated by a director or not | [optional] +**b_user_attachmentautoverified** | **bool** | Whether if Attachments uploaded by the User must be validated or not | [optional] +**b_user_changepassword** | **bool** | Whether if the User is forced to change its password | [optional] ## Example diff --git a/docs/UserRequestV2.md b/docs/UserRequestV2.md index 0bedde637..693b25f46 100644 --- a/docs/UserRequestV2.md +++ b/docs/UserRequestV2.md @@ -15,10 +15,10 @@ Name | Type | Description | Notes **fki_department_id_default** | **int** | The unique ID of the Department | **fki_timezone_id** | **int** | The unique ID of the Timezone | **fki_language_id** | **int** | The unique ID of the Language. Valid values: |Value|Description| |-|-| |1|French| |2|English| | -**obj_email** | [**EmailRequest**](EmailRequest.md) | An Email Object and children to create a complete structure | +**obj_email** | [**EmailRequestCompound**](EmailRequestCompound.md) | | **fki_billingentityinternal_id** | **int** | The unique ID of the Billingentityinternal. | -**obj_phone_home** | [**PhoneRequestV2**](PhoneRequestV2.md) | A Phone Object and children to create a complete structure | [optional] -**obj_phone_sms** | [**PhoneRequestV2**](PhoneRequestV2.md) | A Phone Object and children to create a complete structure | [optional] +**obj_phone_home** | [**PhoneRequestCompoundV2**](PhoneRequestCompoundV2.md) | | [optional] +**obj_phone_sms** | [**PhoneRequestCompoundV2**](PhoneRequestCompoundV2.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)| |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] diff --git a/docs/UserResponse.md b/docs/UserResponse.md index 1920c544d..78db3abf9 100644 --- a/docs/UserResponse.md +++ b/docs/UserResponse.md @@ -19,7 +19,7 @@ Name | Type | Description | Notes **s_timezone_name** | **str** | The description of the Timezone | **fki_language_id** | **int** | The unique ID of the Language. Valid values: |Value|Description| |-|-| |1|French| |2|English| | **s_language_name_x** | **str** | The Name of the Language in the language of the requester | -**obj_email** | [**EmailResponse**](EmailResponse.md) | An Email Object and children to create a complete structure | +**obj_email** | [**EmailResponseCompound**](EmailResponseCompound.md) | | **fki_billingentityinternal_id** | **int** | The unique ID of the Billingentityinternal. | **s_billingentityinternal_description_x** | **str** | The description of the Billingentityinternal in the language of the requester | **obj_phone_home** | [**PhoneResponseCompound**](PhoneResponseCompound.md) | | [optional] diff --git a/docs/UserResponseCompound.md b/docs/UserResponseCompound.md index 96ea549f5..69485142a 100644 --- a/docs/UserResponseCompound.md +++ b/docs/UserResponseCompound.md @@ -19,7 +19,7 @@ Name | Type | Description | Notes **s_timezone_name** | **str** | The description of the Timezone | **fki_language_id** | **int** | The unique ID of the Language. Valid values: |Value|Description| |-|-| |1|French| |2|English| | **s_language_name_x** | **str** | The Name of the Language in the language of the requester | -**obj_email** | [**EmailResponse**](EmailResponse.md) | An Email Object and children to create a complete structure | +**obj_email** | [**EmailResponseCompound**](EmailResponseCompound.md) | | **fki_billingentityinternal_id** | **int** | The unique ID of the Billingentityinternal. | **s_billingentityinternal_description_x** | **str** | The description of the Billingentityinternal in the language of the requester | **obj_phone_home** | [**PhoneResponseCompound**](PhoneResponseCompound.md) | | [optional] diff --git a/docs/UserSendPasswordResetV1Response.md b/docs/UserSendPasswordResetV1Response.md index 4752ccc07..b8a055218 100644 --- a/docs/UserSendPasswordResetV1Response.md +++ b/docs/UserSendPasswordResetV1Response.md @@ -6,6 +6,8 @@ Response for POST /1/object/user/{pkiUserID}/sendPasswordReset Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**obj_debug_payload** | [**CommonResponseObjDebugPayload**](CommonResponseObjDebugPayload.md) | | +**obj_debug** | [**CommonResponseObjDebug**](CommonResponseObjDebug.md) | | [optional] ## Example diff --git a/docs/UsergroupCreateObjectV1Response.md b/docs/UsergroupCreateObjectV1Response.md index 914419711..bd6f927de 100644 --- a/docs/UsergroupCreateObjectV1Response.md +++ b/docs/UsergroupCreateObjectV1Response.md @@ -6,6 +6,8 @@ Response for POST /1/object/usergroup Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**obj_debug_payload** | [**CommonResponseObjDebugPayload**](CommonResponseObjDebugPayload.md) | | +**obj_debug** | [**CommonResponseObjDebug**](CommonResponseObjDebug.md) | | [optional] **m_payload** | [**UsergroupCreateObjectV1ResponseMPayload**](UsergroupCreateObjectV1ResponseMPayload.md) | | ## Example diff --git a/docs/UsergroupEditObjectV1Response.md b/docs/UsergroupEditObjectV1Response.md index 86658819e..9a74032a1 100644 --- a/docs/UsergroupEditObjectV1Response.md +++ b/docs/UsergroupEditObjectV1Response.md @@ -6,6 +6,8 @@ Response for PUT /1/object/usergroup/{pkiUsergroupID} Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**obj_debug_payload** | [**CommonResponseObjDebugPayload**](CommonResponseObjDebugPayload.md) | | +**obj_debug** | [**CommonResponseObjDebug**](CommonResponseObjDebug.md) | | [optional] ## Example diff --git a/docs/UsergroupEditPermissionsV1Request.md b/docs/UsergroupEditPermissionsV1Request.md index 639845ef1..afa7ce409 100644 --- a/docs/UsergroupEditPermissionsV1Request.md +++ b/docs/UsergroupEditPermissionsV1Request.md @@ -6,7 +6,7 @@ Request for PUT /1/object/usergroup/{pkiUsergroupID}/editPermissions Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**a_obj_permission** | [**List[PermissionRequestCompound]**](PermissionRequest.md) | | +**a_obj_permission** | [**List[PermissionRequestCompound]**](PermissionRequestCompound.md) | | ## Example diff --git a/docs/UsergroupEditPermissionsV1Response.md b/docs/UsergroupEditPermissionsV1Response.md index 9afce6009..93720fb8d 100644 --- a/docs/UsergroupEditPermissionsV1Response.md +++ b/docs/UsergroupEditPermissionsV1Response.md @@ -6,6 +6,8 @@ Response for PUT /1/object/usergroup/{pkiUsergroupID}/editPermissions Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**obj_debug_payload** | [**CommonResponseObjDebugPayload**](CommonResponseObjDebugPayload.md) | | +**obj_debug** | [**CommonResponseObjDebug**](CommonResponseObjDebug.md) | | [optional] **m_payload** | [**UsergroupEditPermissionsV1ResponseMPayload**](UsergroupEditPermissionsV1ResponseMPayload.md) | | ## Example diff --git a/docs/UsergroupEditUsergroupdelegationsV1Response.md b/docs/UsergroupEditUsergroupdelegationsV1Response.md index 3b0fa81bd..0e563b642 100644 --- a/docs/UsergroupEditUsergroupdelegationsV1Response.md +++ b/docs/UsergroupEditUsergroupdelegationsV1Response.md @@ -6,6 +6,8 @@ Response for PUT /1/object/usergroup/{pkiUsergroupID}/editUsergroupdelegations Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**obj_debug_payload** | [**CommonResponseObjDebugPayload**](CommonResponseObjDebugPayload.md) | | +**obj_debug** | [**CommonResponseObjDebug**](CommonResponseObjDebug.md) | | [optional] **m_payload** | [**UsergroupEditUsergroupdelegationsV1ResponseMPayload**](UsergroupEditUsergroupdelegationsV1ResponseMPayload.md) | | ## Example diff --git a/docs/UsergroupEditUsergroupmembershipsV1Response.md b/docs/UsergroupEditUsergroupmembershipsV1Response.md index 759e1042e..013da622a 100644 --- a/docs/UsergroupEditUsergroupmembershipsV1Response.md +++ b/docs/UsergroupEditUsergroupmembershipsV1Response.md @@ -6,6 +6,8 @@ Response for PUT /1/object/usergroup/{pkiUsergroupID}/editUsergroupmemberships Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**obj_debug_payload** | [**CommonResponseObjDebugPayload**](CommonResponseObjDebugPayload.md) | | +**obj_debug** | [**CommonResponseObjDebug**](CommonResponseObjDebug.md) | | [optional] **m_payload** | [**UsergroupEditUsergroupmembershipsV1ResponseMPayload**](UsergroupEditUsergroupmembershipsV1ResponseMPayload.md) | | ## Example diff --git a/docs/UsergroupGetAutocompleteV2Response.md b/docs/UsergroupGetAutocompleteV2Response.md index fc37aa7f9..86e598c85 100644 --- a/docs/UsergroupGetAutocompleteV2Response.md +++ b/docs/UsergroupGetAutocompleteV2Response.md @@ -6,6 +6,8 @@ Response for GET /2/object/usergroup/getAutocomplete Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**obj_debug_payload** | [**CommonResponseObjDebugPayload**](CommonResponseObjDebugPayload.md) | | +**obj_debug** | [**CommonResponseObjDebug**](CommonResponseObjDebug.md) | | [optional] **m_payload** | [**UsergroupGetAutocompleteV2ResponseMPayload**](UsergroupGetAutocompleteV2ResponseMPayload.md) | | ## Example diff --git a/docs/UsergroupGetListV1Response.md b/docs/UsergroupGetListV1Response.md index 63ac1238a..e0a500a27 100644 --- a/docs/UsergroupGetListV1Response.md +++ b/docs/UsergroupGetListV1Response.md @@ -6,6 +6,8 @@ Response for GET /1/object/usergroup/getList Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**obj_debug_payload** | [**CommonResponseObjDebugPayloadGetList**](CommonResponseObjDebugPayloadGetList.md) | | +**obj_debug** | [**CommonResponseObjDebug**](CommonResponseObjDebug.md) | | [optional] **m_payload** | [**UsergroupGetListV1ResponseMPayload**](UsergroupGetListV1ResponseMPayload.md) | | ## Example diff --git a/docs/UsergroupGetListV1ResponseMPayload.md b/docs/UsergroupGetListV1ResponseMPayload.md index 2619870fb..e2545dbd8 100644 --- a/docs/UsergroupGetListV1ResponseMPayload.md +++ b/docs/UsergroupGetListV1ResponseMPayload.md @@ -6,6 +6,8 @@ Payload for GET /1/object/usergroup/getList Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**i_row_returned** | **int** | The number of rows returned | +**i_row_filtered** | **int** | The number of rows matching your filters (if any) or the total number of rows | **a_obj_usergroup** | [**List[UsergroupListElement]**](UsergroupListElement.md) | | ## Example diff --git a/docs/UsergroupGetObjectV2Response.md b/docs/UsergroupGetObjectV2Response.md index 3441ca847..566106ab5 100644 --- a/docs/UsergroupGetObjectV2Response.md +++ b/docs/UsergroupGetObjectV2Response.md @@ -6,6 +6,8 @@ Response for GET /2/object/usergroup/{pkiUsergroupID} Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**obj_debug_payload** | [**CommonResponseObjDebugPayload**](CommonResponseObjDebugPayload.md) | | +**obj_debug** | [**CommonResponseObjDebug**](CommonResponseObjDebug.md) | | [optional] **m_payload** | [**UsergroupGetObjectV2ResponseMPayload**](UsergroupGetObjectV2ResponseMPayload.md) | | ## Example diff --git a/docs/UsergroupGetPermissionsV1Response.md b/docs/UsergroupGetPermissionsV1Response.md index c487802bc..7b957a063 100644 --- a/docs/UsergroupGetPermissionsV1Response.md +++ b/docs/UsergroupGetPermissionsV1Response.md @@ -6,6 +6,8 @@ Response for GET /1/object/usergroup/{pkiUsergroupID}/getPermissions Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**obj_debug_payload** | [**CommonResponseObjDebugPayload**](CommonResponseObjDebugPayload.md) | | +**obj_debug** | [**CommonResponseObjDebug**](CommonResponseObjDebug.md) | | [optional] **m_payload** | [**UsergroupGetPermissionsV1ResponseMPayload**](UsergroupGetPermissionsV1ResponseMPayload.md) | | ## Example diff --git a/docs/UsergroupGetUsergroupdelegationsV1Response.md b/docs/UsergroupGetUsergroupdelegationsV1Response.md index 30fd5e947..3d7abaa30 100644 --- a/docs/UsergroupGetUsergroupdelegationsV1Response.md +++ b/docs/UsergroupGetUsergroupdelegationsV1Response.md @@ -6,6 +6,8 @@ Response for GET /1/object/usergroup/{pkiUsergroupID}/getUsergroupdelegations Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**obj_debug_payload** | [**CommonResponseObjDebugPayload**](CommonResponseObjDebugPayload.md) | | +**obj_debug** | [**CommonResponseObjDebug**](CommonResponseObjDebug.md) | | [optional] **m_payload** | [**UsergroupGetUsergroupdelegationsV1ResponseMPayload**](UsergroupGetUsergroupdelegationsV1ResponseMPayload.md) | | ## Example diff --git a/docs/UsergroupGetUsergroupmembershipsV1Response.md b/docs/UsergroupGetUsergroupmembershipsV1Response.md index 33377c23a..14789f8bd 100644 --- a/docs/UsergroupGetUsergroupmembershipsV1Response.md +++ b/docs/UsergroupGetUsergroupmembershipsV1Response.md @@ -6,6 +6,8 @@ Response for GET /1/object/usergroup/{pkiUsergroupID}/getUsergroupmemberships Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**obj_debug_payload** | [**CommonResponseObjDebugPayload**](CommonResponseObjDebugPayload.md) | | +**obj_debug** | [**CommonResponseObjDebug**](CommonResponseObjDebug.md) | | [optional] **m_payload** | [**UsergroupGetUsergroupmembershipsV1ResponseMPayload**](UsergroupGetUsergroupmembershipsV1ResponseMPayload.md) | | ## Example diff --git a/docs/UsergroupRequestCompound.md b/docs/UsergroupRequestCompound.md index 6ec8d8ba6..14297a17b 100644 --- a/docs/UsergroupRequestCompound.md +++ b/docs/UsergroupRequestCompound.md @@ -6,6 +6,9 @@ A Usergroup Object and children Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**pki_usergroup_id** | **int** | The unique ID of the Usergroup | [optional] +**obj_email** | [**EmailRequest**](EmailRequest.md) | | [optional] +**obj_usergroup_name** | [**MultilingualUsergroupName**](MultilingualUsergroupName.md) | | ## Example diff --git a/docs/UsergroupResponseCompound.md b/docs/UsergroupResponseCompound.md index 3e95e1bf0..a01e31cc2 100644 --- a/docs/UsergroupResponseCompound.md +++ b/docs/UsergroupResponseCompound.md @@ -6,6 +6,10 @@ A Usergroup Object Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**pki_usergroup_id** | **int** | The unique ID of the Usergroup | +**obj_usergroup_name** | [**MultilingualUsergroupName**](MultilingualUsergroupName.md) | | +**s_usergroup_name_x** | **str** | The Name of the Usergroup in the language of the requester | [optional] +**obj_email** | [**EmailRequest**](EmailRequest.md) | | [optional] ## Example diff --git a/docs/UsergroupdelegationCreateObjectV1Response.md b/docs/UsergroupdelegationCreateObjectV1Response.md index 92f914cb8..e5a891c0b 100644 --- a/docs/UsergroupdelegationCreateObjectV1Response.md +++ b/docs/UsergroupdelegationCreateObjectV1Response.md @@ -6,6 +6,8 @@ Response for POST /1/object/usergroupdelegation Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**obj_debug_payload** | [**CommonResponseObjDebugPayload**](CommonResponseObjDebugPayload.md) | | +**obj_debug** | [**CommonResponseObjDebug**](CommonResponseObjDebug.md) | | [optional] **m_payload** | [**UsergroupdelegationCreateObjectV1ResponseMPayload**](UsergroupdelegationCreateObjectV1ResponseMPayload.md) | | ## Example diff --git a/docs/UsergroupdelegationDeleteObjectV1Response.md b/docs/UsergroupdelegationDeleteObjectV1Response.md index 3932d3bbd..8a71ac66f 100644 --- a/docs/UsergroupdelegationDeleteObjectV1Response.md +++ b/docs/UsergroupdelegationDeleteObjectV1Response.md @@ -6,6 +6,8 @@ Response for DELETE /1/object/usergroupdelegation/{pkiUsergroupdelegationID} Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**obj_debug_payload** | [**CommonResponseObjDebugPayload**](CommonResponseObjDebugPayload.md) | | +**obj_debug** | [**CommonResponseObjDebug**](CommonResponseObjDebug.md) | | [optional] ## Example diff --git a/docs/UsergroupdelegationEditObjectV1Response.md b/docs/UsergroupdelegationEditObjectV1Response.md index 93539f0ae..77fff5d47 100644 --- a/docs/UsergroupdelegationEditObjectV1Response.md +++ b/docs/UsergroupdelegationEditObjectV1Response.md @@ -6,6 +6,8 @@ Response for PUT /1/object/usergroupdelegation/{pkiUsergroupdelegationID} Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**obj_debug_payload** | [**CommonResponseObjDebugPayload**](CommonResponseObjDebugPayload.md) | | +**obj_debug** | [**CommonResponseObjDebug**](CommonResponseObjDebug.md) | | [optional] ## Example diff --git a/docs/UsergroupdelegationGetObjectV2Response.md b/docs/UsergroupdelegationGetObjectV2Response.md index d5c26b061..dd1dbc305 100644 --- a/docs/UsergroupdelegationGetObjectV2Response.md +++ b/docs/UsergroupdelegationGetObjectV2Response.md @@ -6,6 +6,8 @@ Response for GET /2/object/usergroupdelegation/{pkiUsergroupdelegationID} Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**obj_debug_payload** | [**CommonResponseObjDebugPayload**](CommonResponseObjDebugPayload.md) | | +**obj_debug** | [**CommonResponseObjDebug**](CommonResponseObjDebug.md) | | [optional] **m_payload** | [**UsergroupdelegationGetObjectV2ResponseMPayload**](UsergroupdelegationGetObjectV2ResponseMPayload.md) | | ## Example diff --git a/docs/UsergroupdelegationRequestCompound.md b/docs/UsergroupdelegationRequestCompound.md index a1aff9635..40af67cd7 100644 --- a/docs/UsergroupdelegationRequestCompound.md +++ b/docs/UsergroupdelegationRequestCompound.md @@ -6,6 +6,9 @@ A Usergroupdelegation Object and children Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**pki_usergroupdelegation_id** | **int** | The unique ID of the Usergroupdelegation | [optional] +**fki_usergroup_id** | **int** | The unique ID of the Usergroup | +**fki_user_id** | **int** | The unique ID of the User | ## Example diff --git a/docs/UsergroupdelegationResponseCompound.md b/docs/UsergroupdelegationResponseCompound.md index e93b7b738..4a9cda2c5 100644 --- a/docs/UsergroupdelegationResponseCompound.md +++ b/docs/UsergroupdelegationResponseCompound.md @@ -6,6 +6,14 @@ A Usergroupdelegation Object Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**pki_usergroupdelegation_id** | **int** | The unique ID of the Usergroupdelegation | +**fki_usergroup_id** | **int** | The unique ID of the Usergroup | +**fki_user_id** | **int** | The unique ID of the User | +**s_user_firstname** | **str** | The first name of the user | +**s_user_lastname** | **str** | The last name of the user | +**s_user_loginname** | **str** | The login name of the User. | +**s_email_address** | **str** | The email address. | [optional] +**s_usergroup_name_x** | **str** | The Name of the Usergroup in the language of the requester | ## Example diff --git a/docs/UsergroupexternalCreateObjectV1Response.md b/docs/UsergroupexternalCreateObjectV1Response.md index 1742d668f..08d2b075a 100644 --- a/docs/UsergroupexternalCreateObjectV1Response.md +++ b/docs/UsergroupexternalCreateObjectV1Response.md @@ -6,6 +6,8 @@ Response for POST /1/object/usergroupexternal Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**obj_debug_payload** | [**CommonResponseObjDebugPayload**](CommonResponseObjDebugPayload.md) | | +**obj_debug** | [**CommonResponseObjDebug**](CommonResponseObjDebug.md) | | [optional] **m_payload** | [**UsergroupexternalCreateObjectV1ResponseMPayload**](UsergroupexternalCreateObjectV1ResponseMPayload.md) | | ## Example diff --git a/docs/UsergroupexternalDeleteObjectV1Response.md b/docs/UsergroupexternalDeleteObjectV1Response.md index cb602a95c..60022cfe8 100644 --- a/docs/UsergroupexternalDeleteObjectV1Response.md +++ b/docs/UsergroupexternalDeleteObjectV1Response.md @@ -6,6 +6,8 @@ Response for DELETE /1/object/usergroupexternal/{pkiUsergroupexternalID} Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**obj_debug_payload** | [**CommonResponseObjDebugPayload**](CommonResponseObjDebugPayload.md) | | +**obj_debug** | [**CommonResponseObjDebug**](CommonResponseObjDebug.md) | | [optional] ## Example diff --git a/docs/UsergroupexternalEditObjectV1Response.md b/docs/UsergroupexternalEditObjectV1Response.md index fc50448cd..5ccdd5fb1 100644 --- a/docs/UsergroupexternalEditObjectV1Response.md +++ b/docs/UsergroupexternalEditObjectV1Response.md @@ -6,6 +6,8 @@ Response for PUT /1/object/usergroupexternal/{pkiUsergroupexternalID} Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**obj_debug_payload** | [**CommonResponseObjDebugPayload**](CommonResponseObjDebugPayload.md) | | +**obj_debug** | [**CommonResponseObjDebug**](CommonResponseObjDebug.md) | | [optional] ## Example diff --git a/docs/UsergroupexternalGetAutocompleteV2Response.md b/docs/UsergroupexternalGetAutocompleteV2Response.md index 9a7dddb50..189627e55 100644 --- a/docs/UsergroupexternalGetAutocompleteV2Response.md +++ b/docs/UsergroupexternalGetAutocompleteV2Response.md @@ -6,6 +6,8 @@ Response for GET /2/object/usergroupexternal/getAutocomplete Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**obj_debug_payload** | [**CommonResponseObjDebugPayload**](CommonResponseObjDebugPayload.md) | | +**obj_debug** | [**CommonResponseObjDebug**](CommonResponseObjDebug.md) | | [optional] **m_payload** | [**UsergroupexternalGetAutocompleteV2ResponseMPayload**](UsergroupexternalGetAutocompleteV2ResponseMPayload.md) | | ## Example diff --git a/docs/UsergroupexternalGetListV1Response.md b/docs/UsergroupexternalGetListV1Response.md index 89bc83028..afa36be9d 100644 --- a/docs/UsergroupexternalGetListV1Response.md +++ b/docs/UsergroupexternalGetListV1Response.md @@ -6,6 +6,8 @@ Response for GET /1/object/usergroupexternal/getList Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**obj_debug_payload** | [**CommonResponseObjDebugPayloadGetList**](CommonResponseObjDebugPayloadGetList.md) | | +**obj_debug** | [**CommonResponseObjDebug**](CommonResponseObjDebug.md) | | [optional] **m_payload** | [**UsergroupexternalGetListV1ResponseMPayload**](UsergroupexternalGetListV1ResponseMPayload.md) | | ## Example diff --git a/docs/UsergroupexternalGetListV1ResponseMPayload.md b/docs/UsergroupexternalGetListV1ResponseMPayload.md index 568269b30..f4a8ff41a 100644 --- a/docs/UsergroupexternalGetListV1ResponseMPayload.md +++ b/docs/UsergroupexternalGetListV1ResponseMPayload.md @@ -6,6 +6,8 @@ Payload for GET /1/object/usergroupexternal/getList Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**i_row_returned** | **int** | The number of rows returned | +**i_row_filtered** | **int** | The number of rows matching your filters (if any) or the total number of rows | **a_obj_usergroupexternal** | [**List[UsergroupexternalListElement]**](UsergroupexternalListElement.md) | | ## Example diff --git a/docs/UsergroupexternalGetObjectV2Response.md b/docs/UsergroupexternalGetObjectV2Response.md index 449eaba60..c4820499b 100644 --- a/docs/UsergroupexternalGetObjectV2Response.md +++ b/docs/UsergroupexternalGetObjectV2Response.md @@ -6,6 +6,8 @@ Response for GET /2/object/usergroupexternal/{pkiUsergroupexternalID} Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**obj_debug_payload** | [**CommonResponseObjDebugPayload**](CommonResponseObjDebugPayload.md) | | +**obj_debug** | [**CommonResponseObjDebug**](CommonResponseObjDebug.md) | | [optional] **m_payload** | [**UsergroupexternalGetObjectV2ResponseMPayload**](UsergroupexternalGetObjectV2ResponseMPayload.md) | | ## Example diff --git a/docs/UsergroupexternalGetUsergroupexternalmembershipsV1Response.md b/docs/UsergroupexternalGetUsergroupexternalmembershipsV1Response.md index 2ea57cd34..152156515 100644 --- a/docs/UsergroupexternalGetUsergroupexternalmembershipsV1Response.md +++ b/docs/UsergroupexternalGetUsergroupexternalmembershipsV1Response.md @@ -6,6 +6,8 @@ Response for GET /1/object/usergroupexternal/{pkiUsergroupexternalID}/getUsergro Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**obj_debug_payload** | [**CommonResponseObjDebugPayload**](CommonResponseObjDebugPayload.md) | | +**obj_debug** | [**CommonResponseObjDebug**](CommonResponseObjDebug.md) | | [optional] **m_payload** | [**UsergroupexternalGetUsergroupexternalmembershipsV1ResponseMPayload**](UsergroupexternalGetUsergroupexternalmembershipsV1ResponseMPayload.md) | | ## Example diff --git a/docs/UsergroupexternalGetUsergroupsV1Response.md b/docs/UsergroupexternalGetUsergroupsV1Response.md index fd8a4ea6f..58be0edb2 100644 --- a/docs/UsergroupexternalGetUsergroupsV1Response.md +++ b/docs/UsergroupexternalGetUsergroupsV1Response.md @@ -6,6 +6,8 @@ Response for GET /1/object/usergroupexternal/{pkiUsergroupexternalID}/getUsergro Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**obj_debug_payload** | [**CommonResponseObjDebugPayload**](CommonResponseObjDebugPayload.md) | | +**obj_debug** | [**CommonResponseObjDebug**](CommonResponseObjDebug.md) | | [optional] **m_payload** | [**UsergroupexternalGetUsergroupsV1ResponseMPayload**](UsergroupexternalGetUsergroupsV1ResponseMPayload.md) | | ## Example diff --git a/docs/UsergroupexternalRequestCompound.md b/docs/UsergroupexternalRequestCompound.md index 93d78619b..1d9db9602 100644 --- a/docs/UsergroupexternalRequestCompound.md +++ b/docs/UsergroupexternalRequestCompound.md @@ -6,6 +6,9 @@ A Usergroupexternal Object and children Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**pki_usergroupexternal_id** | **int** | The unique ID of the Usergroupexternal | [optional] +**s_usergroupexternal_name** | **str** | The name of the Usergroupexternal | +**s_usergroupexternal_id** | **str** | The id of the Usergroupexternal | ## Example diff --git a/docs/UsergroupexternalResponseCompound.md b/docs/UsergroupexternalResponseCompound.md index 86a41505b..b9eafa3a5 100644 --- a/docs/UsergroupexternalResponseCompound.md +++ b/docs/UsergroupexternalResponseCompound.md @@ -6,6 +6,9 @@ A Usergroupexternal Object Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**pki_usergroupexternal_id** | **int** | The unique ID of the Usergroupexternal | +**s_usergroupexternal_name** | **str** | The name of the Usergroupexternal | +**s_usergroupexternal_id** | **str** | The id of the Usergroupexternal | ## Example diff --git a/docs/UsergroupexternalmembershipResponseCompound.md b/docs/UsergroupexternalmembershipResponseCompound.md index adfff4de2..579fc88fc 100644 --- a/docs/UsergroupexternalmembershipResponseCompound.md +++ b/docs/UsergroupexternalmembershipResponseCompound.md @@ -6,6 +6,14 @@ A Usergroupexternalmembership Object Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**pki_usergroupexternalmembership_id** | **int** | The unique ID of the Usergroupexternalmembership | +**fki_usergroupexternal_id** | **int** | The unique ID of the Usergroupexternal | +**fki_user_id** | **int** | The unique ID of the User | +**s_user_firstname** | **str** | The first name of the user | +**s_user_lastname** | **str** | The last name of the user | +**s_user_loginname** | **str** | The login name of the User. | +**s_email_address** | **str** | The email address. | +**s_usergroupexternal_name** | **str** | The name of the Usergroupexternal | ## Example diff --git a/docs/UsergroupmembershipCreateObjectV1Response.md b/docs/UsergroupmembershipCreateObjectV1Response.md index 239bc2f66..16a27bcc9 100644 --- a/docs/UsergroupmembershipCreateObjectV1Response.md +++ b/docs/UsergroupmembershipCreateObjectV1Response.md @@ -6,6 +6,8 @@ Response for POST /1/object/usergroupmembership Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**obj_debug_payload** | [**CommonResponseObjDebugPayload**](CommonResponseObjDebugPayload.md) | | +**obj_debug** | [**CommonResponseObjDebug**](CommonResponseObjDebug.md) | | [optional] **m_payload** | [**UsergroupmembershipCreateObjectV1ResponseMPayload**](UsergroupmembershipCreateObjectV1ResponseMPayload.md) | | ## Example diff --git a/docs/UsergroupmembershipDeleteObjectV1Response.md b/docs/UsergroupmembershipDeleteObjectV1Response.md index 1038b7fdf..592e3dfc7 100644 --- a/docs/UsergroupmembershipDeleteObjectV1Response.md +++ b/docs/UsergroupmembershipDeleteObjectV1Response.md @@ -6,6 +6,8 @@ Response for DELETE /1/object/usergroupmembership/{pkiUsergroupmembershipID} Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**obj_debug_payload** | [**CommonResponseObjDebugPayload**](CommonResponseObjDebugPayload.md) | | +**obj_debug** | [**CommonResponseObjDebug**](CommonResponseObjDebug.md) | | [optional] ## Example diff --git a/docs/UsergroupmembershipEditObjectV1Response.md b/docs/UsergroupmembershipEditObjectV1Response.md index 16da60489..53cb9d24a 100644 --- a/docs/UsergroupmembershipEditObjectV1Response.md +++ b/docs/UsergroupmembershipEditObjectV1Response.md @@ -6,6 +6,8 @@ Response for PUT /1/object/usergroupmembership/{pkiUsergroupmembershipID} Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**obj_debug_payload** | [**CommonResponseObjDebugPayload**](CommonResponseObjDebugPayload.md) | | +**obj_debug** | [**CommonResponseObjDebug**](CommonResponseObjDebug.md) | | [optional] ## Example diff --git a/docs/UsergroupmembershipGetObjectV2Response.md b/docs/UsergroupmembershipGetObjectV2Response.md index 1f38812e5..acba61884 100644 --- a/docs/UsergroupmembershipGetObjectV2Response.md +++ b/docs/UsergroupmembershipGetObjectV2Response.md @@ -6,6 +6,8 @@ Response for GET /2/object/usergroupmembership/{pkiUsergroupmembershipID} Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**obj_debug_payload** | [**CommonResponseObjDebugPayload**](CommonResponseObjDebugPayload.md) | | +**obj_debug** | [**CommonResponseObjDebug**](CommonResponseObjDebug.md) | | [optional] **m_payload** | [**UsergroupmembershipGetObjectV2ResponseMPayload**](UsergroupmembershipGetObjectV2ResponseMPayload.md) | | ## Example diff --git a/docs/UsergroupmembershipRequestCompound.md b/docs/UsergroupmembershipRequestCompound.md index 2733914fc..c7ef824bf 100644 --- a/docs/UsergroupmembershipRequestCompound.md +++ b/docs/UsergroupmembershipRequestCompound.md @@ -6,6 +6,10 @@ A Usergroupmembership Object and children Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**pki_usergroupmembership_id** | **int** | The unique ID of the Usergroupmembership | [optional] +**fki_usergroup_id** | **int** | The unique ID of the Usergroup | +**fki_user_id** | **int** | The unique ID of the User | [optional] +**fki_usergroupexternal_id** | **int** | The unique ID of the Usergroupexternal | [optional] ## Example diff --git a/docs/UsergroupmembershipResponseCompound.md b/docs/UsergroupmembershipResponseCompound.md index d72558d34..e82f78e9f 100644 --- a/docs/UsergroupmembershipResponseCompound.md +++ b/docs/UsergroupmembershipResponseCompound.md @@ -6,6 +6,16 @@ A Usergroupmembership Object Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**pki_usergroupmembership_id** | **int** | The unique ID of the Usergroupmembership | +**fki_usergroup_id** | **int** | The unique ID of the Usergroup | +**fki_user_id** | **int** | The unique ID of the User | [optional] +**fki_usergroupexternal_id** | **int** | The unique ID of the Usergroupexternal | [optional] +**s_user_firstname** | **str** | The first name of the user | [optional] +**s_user_lastname** | **str** | The last name of the user | [optional] +**s_user_loginname** | **str** | The login name of the User. | [optional] +**s_email_address** | **str** | The email address. | [optional] +**s_usergroup_name_x** | **str** | The Name of the Usergroup in the language of the requester | +**s_usergroupexternal_name** | **str** | The name of the Usergroupexternal | [optional] ## Example diff --git a/docs/UserlogintypeGetAutocompleteV2Response.md b/docs/UserlogintypeGetAutocompleteV2Response.md index c246022bd..5c3c773ea 100644 --- a/docs/UserlogintypeGetAutocompleteV2Response.md +++ b/docs/UserlogintypeGetAutocompleteV2Response.md @@ -6,6 +6,8 @@ Response for GET /2/object/userlogintype/getAutocomplete Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**obj_debug_payload** | [**CommonResponseObjDebugPayload**](CommonResponseObjDebugPayload.md) | | +**obj_debug** | [**CommonResponseObjDebug**](CommonResponseObjDebug.md) | | [optional] **m_payload** | [**UserlogintypeGetAutocompleteV2ResponseMPayload**](UserlogintypeGetAutocompleteV2ResponseMPayload.md) | | ## Example diff --git a/docs/UserstagedCreateUserV1Response.md b/docs/UserstagedCreateUserV1Response.md index ffc1a76ba..9c2748e44 100644 --- a/docs/UserstagedCreateUserV1Response.md +++ b/docs/UserstagedCreateUserV1Response.md @@ -6,6 +6,8 @@ Response for POST /1/object/userstaged/{pkiUserstagedID}/createUser Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**obj_debug_payload** | [**CommonResponseObjDebugPayload**](CommonResponseObjDebugPayload.md) | | +**obj_debug** | [**CommonResponseObjDebug**](CommonResponseObjDebug.md) | | [optional] **m_payload** | [**UserstagedCreateUserV1ResponseMPayload**](UserstagedCreateUserV1ResponseMPayload.md) | | ## Example diff --git a/docs/UserstagedDeleteObjectV1Response.md b/docs/UserstagedDeleteObjectV1Response.md index 44ebfbe8f..8000c2e96 100644 --- a/docs/UserstagedDeleteObjectV1Response.md +++ b/docs/UserstagedDeleteObjectV1Response.md @@ -6,6 +6,8 @@ Response for DELETE /1/object/userstaged/{pkiUserstagedID} Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**obj_debug_payload** | [**CommonResponseObjDebugPayload**](CommonResponseObjDebugPayload.md) | | +**obj_debug** | [**CommonResponseObjDebug**](CommonResponseObjDebug.md) | | [optional] ## Example diff --git a/docs/UserstagedGetListV1Response.md b/docs/UserstagedGetListV1Response.md index 84de072d4..b88fab1c6 100644 --- a/docs/UserstagedGetListV1Response.md +++ b/docs/UserstagedGetListV1Response.md @@ -6,6 +6,8 @@ Response for GET /1/object/userstaged/getList Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**obj_debug_payload** | [**CommonResponseObjDebugPayloadGetList**](CommonResponseObjDebugPayloadGetList.md) | | +**obj_debug** | [**CommonResponseObjDebug**](CommonResponseObjDebug.md) | | [optional] **m_payload** | [**UserstagedGetListV1ResponseMPayload**](UserstagedGetListV1ResponseMPayload.md) | | ## Example diff --git a/docs/UserstagedGetListV1ResponseMPayload.md b/docs/UserstagedGetListV1ResponseMPayload.md index a8ff8bfe3..37d68b788 100644 --- a/docs/UserstagedGetListV1ResponseMPayload.md +++ b/docs/UserstagedGetListV1ResponseMPayload.md @@ -6,6 +6,8 @@ Payload for GET /1/object/userstaged/getList Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**i_row_returned** | **int** | The number of rows returned | +**i_row_filtered** | **int** | The number of rows matching your filters (if any) or the total number of rows | **a_obj_userstaged** | [**List[UserstagedListElement]**](UserstagedListElement.md) | | ## Example diff --git a/docs/UserstagedGetObjectV2Response.md b/docs/UserstagedGetObjectV2Response.md index 84e9f7be4..4a3e93350 100644 --- a/docs/UserstagedGetObjectV2Response.md +++ b/docs/UserstagedGetObjectV2Response.md @@ -6,6 +6,8 @@ Response for GET /2/object/userstaged/{pkiUserstagedID} Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**obj_debug_payload** | [**CommonResponseObjDebugPayload**](CommonResponseObjDebugPayload.md) | | +**obj_debug** | [**CommonResponseObjDebug**](CommonResponseObjDebug.md) | | [optional] **m_payload** | [**UserstagedGetObjectV2ResponseMPayload**](UserstagedGetObjectV2ResponseMPayload.md) | | ## Example diff --git a/docs/UserstagedGetObjectV2ResponseMPayload.md b/docs/UserstagedGetObjectV2ResponseMPayload.md index 7f12b2735..f7c26a280 100644 --- a/docs/UserstagedGetObjectV2ResponseMPayload.md +++ b/docs/UserstagedGetObjectV2ResponseMPayload.md @@ -6,7 +6,7 @@ Payload for GET /2/object/userstaged/{pkiUserstagedID} Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**obj_userstaged** | [**UserstagedResponse**](UserstagedResponse.md) | A Userstaged Object | +**obj_userstaged** | [**UserstagedResponseCompound**](UserstagedResponseCompound.md) | | ## Example diff --git a/docs/UserstagedMapV1Response.md b/docs/UserstagedMapV1Response.md index 3c9b5f281..2d98af896 100644 --- a/docs/UserstagedMapV1Response.md +++ b/docs/UserstagedMapV1Response.md @@ -6,6 +6,8 @@ Response for POST /1/object/userstaged/{pkiUserstagedID}/map Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**obj_debug_payload** | [**CommonResponseObjDebugPayload**](CommonResponseObjDebugPayload.md) | | +**obj_debug** | [**CommonResponseObjDebug**](CommonResponseObjDebug.md) | | [optional] ## Example diff --git a/docs/VariableexpenseCreateObjectV1Response.md b/docs/VariableexpenseCreateObjectV1Response.md index 6955d0ca4..504f43685 100644 --- a/docs/VariableexpenseCreateObjectV1Response.md +++ b/docs/VariableexpenseCreateObjectV1Response.md @@ -6,6 +6,8 @@ Response for POST /1/object/variableexpense Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**obj_debug_payload** | [**CommonResponseObjDebugPayload**](CommonResponseObjDebugPayload.md) | | +**obj_debug** | [**CommonResponseObjDebug**](CommonResponseObjDebug.md) | | [optional] **m_payload** | [**VariableexpenseCreateObjectV1ResponseMPayload**](VariableexpenseCreateObjectV1ResponseMPayload.md) | | ## Example diff --git a/docs/VariableexpenseEditObjectV1Response.md b/docs/VariableexpenseEditObjectV1Response.md index 1fc448bc7..60f21c3e5 100644 --- a/docs/VariableexpenseEditObjectV1Response.md +++ b/docs/VariableexpenseEditObjectV1Response.md @@ -6,6 +6,8 @@ Response for PUT /1/object/variableexpense/{pkiVariableexpenseID} Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**obj_debug_payload** | [**CommonResponseObjDebugPayload**](CommonResponseObjDebugPayload.md) | | +**obj_debug** | [**CommonResponseObjDebug**](CommonResponseObjDebug.md) | | [optional] ## Example diff --git a/docs/VariableexpenseGetAutocompleteV2Response.md b/docs/VariableexpenseGetAutocompleteV2Response.md index a143058d1..5e1f678ce 100644 --- a/docs/VariableexpenseGetAutocompleteV2Response.md +++ b/docs/VariableexpenseGetAutocompleteV2Response.md @@ -6,6 +6,8 @@ Response for GET /2/object/variableexpense/getAutocomplete Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**obj_debug_payload** | [**CommonResponseObjDebugPayload**](CommonResponseObjDebugPayload.md) | | +**obj_debug** | [**CommonResponseObjDebug**](CommonResponseObjDebug.md) | | [optional] **m_payload** | [**VariableexpenseGetAutocompleteV2ResponseMPayload**](VariableexpenseGetAutocompleteV2ResponseMPayload.md) | | ## Example diff --git a/docs/VariableexpenseGetListV1Response.md b/docs/VariableexpenseGetListV1Response.md index 23cb976b9..9cb821e05 100644 --- a/docs/VariableexpenseGetListV1Response.md +++ b/docs/VariableexpenseGetListV1Response.md @@ -6,6 +6,8 @@ Response for GET /1/object/variableexpense/getList Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**obj_debug_payload** | [**CommonResponseObjDebugPayloadGetList**](CommonResponseObjDebugPayloadGetList.md) | | +**obj_debug** | [**CommonResponseObjDebug**](CommonResponseObjDebug.md) | | [optional] **m_payload** | [**VariableexpenseGetListV1ResponseMPayload**](VariableexpenseGetListV1ResponseMPayload.md) | | ## Example diff --git a/docs/VariableexpenseGetListV1ResponseMPayload.md b/docs/VariableexpenseGetListV1ResponseMPayload.md index a72c4150e..3b5e0a7ac 100644 --- a/docs/VariableexpenseGetListV1ResponseMPayload.md +++ b/docs/VariableexpenseGetListV1ResponseMPayload.md @@ -6,6 +6,8 @@ Payload for GET /1/object/variableexpense/getList Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**i_row_returned** | **int** | The number of rows returned | +**i_row_filtered** | **int** | The number of rows matching your filters (if any) or the total number of rows | **a_obj_variableexpense** | [**List[VariableexpenseListElement]**](VariableexpenseListElement.md) | | ## Example diff --git a/docs/VariableexpenseGetObjectV2Response.md b/docs/VariableexpenseGetObjectV2Response.md index b7d11f481..d69c7fb8d 100644 --- a/docs/VariableexpenseGetObjectV2Response.md +++ b/docs/VariableexpenseGetObjectV2Response.md @@ -6,6 +6,8 @@ Response for GET /2/object/variableexpense/{pkiVariableexpenseID} Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**obj_debug_payload** | [**CommonResponseObjDebugPayload**](CommonResponseObjDebugPayload.md) | | +**obj_debug** | [**CommonResponseObjDebug**](CommonResponseObjDebug.md) | | [optional] **m_payload** | [**VariableexpenseGetObjectV2ResponseMPayload**](VariableexpenseGetObjectV2ResponseMPayload.md) | | ## Example diff --git a/docs/VariableexpenseRequestCompound.md b/docs/VariableexpenseRequestCompound.md index 8575a845f..8b02d0ff1 100644 --- a/docs/VariableexpenseRequestCompound.md +++ b/docs/VariableexpenseRequestCompound.md @@ -6,6 +6,11 @@ A Variableexpense Object and children Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**pki_variableexpense_id** | **int** | The unique ID of the Variableexpense | [optional] +**s_variableexpense_code** | **str** | The code of the Variableexpense | +**obj_variableexpense_description** | [**MultilingualVariableexpenseDescription**](MultilingualVariableexpenseDescription.md) | | +**e_variableexpense_taxable** | [**FieldEVariableexpenseTaxable**](FieldEVariableexpenseTaxable.md) | | +**b_variableexpense_isactive** | **bool** | Whether the variableexpense is active or not | ## Example diff --git a/docs/VariableexpenseResponseCompound.md b/docs/VariableexpenseResponseCompound.md index 7e9929345..4fafc909a 100644 --- a/docs/VariableexpenseResponseCompound.md +++ b/docs/VariableexpenseResponseCompound.md @@ -6,6 +6,11 @@ A Variableexpense Object Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**pki_variableexpense_id** | **int** | The unique ID of the Variableexpense | +**s_variableexpense_code** | **str** | The code of the Variableexpense | [optional] +**obj_variableexpense_description** | [**MultilingualVariableexpenseDescription**](MultilingualVariableexpenseDescription.md) | | +**e_variableexpense_taxable** | [**FieldEVariableexpenseTaxable**](FieldEVariableexpenseTaxable.md) | | [optional] +**b_variableexpense_isactive** | **bool** | Whether the variableexpense is active or not | [optional] ## Example diff --git a/docs/VersionhistoryGetObjectV2Response.md b/docs/VersionhistoryGetObjectV2Response.md index d07066fcf..9c2fb9138 100644 --- a/docs/VersionhistoryGetObjectV2Response.md +++ b/docs/VersionhistoryGetObjectV2Response.md @@ -6,6 +6,8 @@ Response for GET /2/object/versionhistory/{pkiVersionhistoryID} Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**obj_debug_payload** | [**CommonResponseObjDebugPayload**](CommonResponseObjDebugPayload.md) | | +**obj_debug** | [**CommonResponseObjDebug**](CommonResponseObjDebug.md) | | [optional] **m_payload** | [**VersionhistoryGetObjectV2ResponseMPayload**](VersionhistoryGetObjectV2ResponseMPayload.md) | | ## Example diff --git a/docs/VersionhistoryResponseCompound.md b/docs/VersionhistoryResponseCompound.md index c39a3439e..206cd83f5 100644 --- a/docs/VersionhistoryResponseCompound.md +++ b/docs/VersionhistoryResponseCompound.md @@ -6,6 +6,17 @@ A Versionhistory Object Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**pki_versionhistory_id** | **int** | The unique ID of the Versionhistory | +**fki_module_id** | **int** | The unique ID of the Module | [optional] +**fki_modulesection_id** | **int** | The unique ID of the Modulesection | [optional] +**s_module_name_x** | **str** | The Name of the Module in the language of the requester | [optional] +**s_modulesection_name_x** | **str** | The Name of the Modulesection in the language of the requester | [optional] +**e_versionhistory_usertype** | [**FieldEVersionhistoryUsertype**](FieldEVersionhistoryUsertype.md) | | [optional] +**obj_versionhistory_detail** | [**MultilingualVersionhistoryDetail**](MultilingualVersionhistoryDetail.md) | | +**dt_versionhistory_date** | **str** | The date at which the Versionhistory was published or should be published | +**dt_versionhistory_dateend** | **str** | The date at which the Versionhistory will no longer be visible | [optional] +**e_versionhistory_type** | [**FieldEVersionhistoryType**](FieldEVersionhistoryType.md) | | +**b_versionhistory_draft** | **bool** | Whether the Versionhistory is published or still a draft | ## Example diff --git a/docs/WebhookCreateObjectV2Response.md b/docs/WebhookCreateObjectV2Response.md index c52e5772b..e28ac532e 100644 --- a/docs/WebhookCreateObjectV2Response.md +++ b/docs/WebhookCreateObjectV2Response.md @@ -6,6 +6,8 @@ Response for POST /2/object/webhook Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**obj_debug_payload** | [**CommonResponseObjDebugPayload**](CommonResponseObjDebugPayload.md) | | +**obj_debug** | [**CommonResponseObjDebug**](CommonResponseObjDebug.md) | | [optional] **m_payload** | [**WebhookCreateObjectV2ResponseMPayload**](WebhookCreateObjectV2ResponseMPayload.md) | | ## Example diff --git a/docs/WebhookDeleteObjectV1Response.md b/docs/WebhookDeleteObjectV1Response.md index cf5eb4f05..fcb2c4559 100644 --- a/docs/WebhookDeleteObjectV1Response.md +++ b/docs/WebhookDeleteObjectV1Response.md @@ -6,6 +6,8 @@ Response for DELETE /1/object/webhook/{pkiWebhookID} Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**obj_debug_payload** | [**CommonResponseObjDebugPayload**](CommonResponseObjDebugPayload.md) | | +**obj_debug** | [**CommonResponseObjDebug**](CommonResponseObjDebug.md) | | [optional] ## Example diff --git a/docs/WebhookEditObjectV1Response.md b/docs/WebhookEditObjectV1Response.md index 547cc9303..18b6ce4c3 100644 --- a/docs/WebhookEditObjectV1Response.md +++ b/docs/WebhookEditObjectV1Response.md @@ -6,6 +6,8 @@ Response for PUT /1/object/webhook/{pkiWebhookID} Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**obj_debug_payload** | [**CommonResponseObjDebugPayload**](CommonResponseObjDebugPayload.md) | | +**obj_debug** | [**CommonResponseObjDebug**](CommonResponseObjDebug.md) | | [optional] ## Example diff --git a/docs/WebhookEzsignDocumentCompleted.md b/docs/WebhookEzsignDocumentCompleted.md index f64f528b3..d82d1ceb7 100644 --- a/docs/WebhookEzsignDocumentCompleted.md +++ b/docs/WebhookEzsignDocumentCompleted.md @@ -6,6 +6,8 @@ This is the base Webhook object Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**obj_webhook** | [**CustomWebhookResponse**](CustomWebhookResponse.md) | | +**a_obj_attempt** | [**List[AttemptResponseCompound]**](AttemptResponseCompound.md) | An array containing details of previous attempts that were made to deliver the message. The array is empty if it's the first attempt. | **obj_ezsigndocument** | [**EzsigndocumentResponse**](EzsigndocumentResponse.md) | | ## Example diff --git a/docs/WebhookEzsignDocumentFormCompleted.md b/docs/WebhookEzsignDocumentFormCompleted.md index 59d8c9bc4..3305f8535 100644 --- a/docs/WebhookEzsignDocumentFormCompleted.md +++ b/docs/WebhookEzsignDocumentFormCompleted.md @@ -6,6 +6,8 @@ This is the base Webhook object Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**obj_webhook** | [**CustomWebhookResponse**](CustomWebhookResponse.md) | | +**a_obj_attempt** | [**List[AttemptResponseCompound]**](AttemptResponseCompound.md) | An array containing details of previous attempts that were made to deliver the message. The array is empty if it's the first attempt. | **obj_ezsigndocument** | [**EzsigndocumentResponse**](EzsigndocumentResponse.md) | | ## Example diff --git a/docs/WebhookEzsignDocumentUnsent.md b/docs/WebhookEzsignDocumentUnsent.md index 8d28187f4..545fe3baf 100644 --- a/docs/WebhookEzsignDocumentUnsent.md +++ b/docs/WebhookEzsignDocumentUnsent.md @@ -6,6 +6,8 @@ This is the base Webhook object Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**obj_webhook** | [**CustomWebhookResponse**](CustomWebhookResponse.md) | | +**a_obj_attempt** | [**List[AttemptResponseCompound]**](AttemptResponseCompound.md) | An array containing details of previous attempts that were made to deliver the message. The array is empty if it's the first attempt. | **obj_ezsigndocument** | [**EzsigndocumentResponse**](EzsigndocumentResponse.md) | | ## Example diff --git a/docs/WebhookEzsignEzsignsignerAcceptclause.md b/docs/WebhookEzsignEzsignsignerAcceptclause.md index 434d45828..5395ef6b9 100644 --- a/docs/WebhookEzsignEzsignsignerAcceptclause.md +++ b/docs/WebhookEzsignEzsignsignerAcceptclause.md @@ -6,6 +6,8 @@ This is the base Webhook object Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**obj_webhook** | [**CustomWebhookResponse**](CustomWebhookResponse.md) | | +**a_obj_attempt** | [**List[AttemptResponseCompound]**](AttemptResponseCompound.md) | An array containing details of previous attempts that were made to deliver the message. The array is empty if it's the first attempt. | **obj_ezsignfolder** | [**EzsignfolderResponse**](EzsignfolderResponse.md) | | [optional] **obj_ezsignfoldersignerassociation** | [**EzsignfoldersignerassociationResponseCompound**](EzsignfoldersignerassociationResponseCompound.md) | | diff --git a/docs/WebhookEzsignEzsignsignerConnect.md b/docs/WebhookEzsignEzsignsignerConnect.md index b449863a2..5b6bb3996 100644 --- a/docs/WebhookEzsignEzsignsignerConnect.md +++ b/docs/WebhookEzsignEzsignsignerConnect.md @@ -6,6 +6,8 @@ This is the base Webhook object Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**obj_webhook** | [**CustomWebhookResponse**](CustomWebhookResponse.md) | | +**a_obj_attempt** | [**List[AttemptResponseCompound]**](AttemptResponseCompound.md) | An array containing details of previous attempts that were made to deliver the message. The array is empty if it's the first attempt. | **obj_ezsignfolder** | [**EzsignfolderResponse**](EzsignfolderResponse.md) | | [optional] **obj_ezsignfoldersignerassociation** | [**EzsignfoldersignerassociationResponseCompound**](EzsignfoldersignerassociationResponseCompound.md) | | diff --git a/docs/WebhookEzsignFolderCompleted.md b/docs/WebhookEzsignFolderCompleted.md index 6479b6d96..efa7dbdc0 100644 --- a/docs/WebhookEzsignFolderCompleted.md +++ b/docs/WebhookEzsignFolderCompleted.md @@ -6,6 +6,8 @@ This is the base Webhook object Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**obj_webhook** | [**CustomWebhookResponse**](CustomWebhookResponse.md) | | +**a_obj_attempt** | [**List[AttemptResponseCompound]**](AttemptResponseCompound.md) | An array containing details of previous attempts that were made to deliver the message. The array is empty if it's the first attempt. | **obj_ezsignfolder** | [**EzsignfolderResponse**](EzsignfolderResponse.md) | | ## Example diff --git a/docs/WebhookEzsignFolderDisposed.md b/docs/WebhookEzsignFolderDisposed.md index d84d42e31..2134f12ef 100644 --- a/docs/WebhookEzsignFolderDisposed.md +++ b/docs/WebhookEzsignFolderDisposed.md @@ -6,6 +6,8 @@ This is the base Webhook object Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**obj_webhook** | [**CustomWebhookResponse**](CustomWebhookResponse.md) | | +**a_obj_attempt** | [**List[AttemptResponseCompound]**](AttemptResponseCompound.md) | An array containing details of previous attempts that were made to deliver the message. The array is empty if it's the first attempt. | **obj_ezsignfolder** | [**EzsignfolderResponse**](EzsignfolderResponse.md) | | ## Example diff --git a/docs/WebhookEzsignFolderSent.md b/docs/WebhookEzsignFolderSent.md index 7ab265321..f04baa473 100644 --- a/docs/WebhookEzsignFolderSent.md +++ b/docs/WebhookEzsignFolderSent.md @@ -6,6 +6,8 @@ This is the base Webhook object Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**obj_webhook** | [**CustomWebhookResponse**](CustomWebhookResponse.md) | | +**a_obj_attempt** | [**List[AttemptResponseCompound]**](AttemptResponseCompound.md) | An array containing details of previous attempts that were made to deliver the message. The array is empty if it's the first attempt. | **obj_ezsignfolder** | [**EzsignfolderResponse**](EzsignfolderResponse.md) | | ## Example diff --git a/docs/WebhookEzsignFolderUnsent.md b/docs/WebhookEzsignFolderUnsent.md index 54fa53a86..7e2e704a3 100644 --- a/docs/WebhookEzsignFolderUnsent.md +++ b/docs/WebhookEzsignFolderUnsent.md @@ -6,6 +6,8 @@ This is the base Webhook object Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**obj_webhook** | [**CustomWebhookResponse**](CustomWebhookResponse.md) | | +**a_obj_attempt** | [**List[AttemptResponseCompound]**](AttemptResponseCompound.md) | An array containing details of previous attempts that were made to deliver the message. The array is empty if it's the first attempt. | **obj_ezsignfolder** | [**EzsignfolderResponse**](EzsignfolderResponse.md) | | ## Example diff --git a/docs/WebhookEzsignSignatureSigned.md b/docs/WebhookEzsignSignatureSigned.md index 8d20906aa..912188024 100644 --- a/docs/WebhookEzsignSignatureSigned.md +++ b/docs/WebhookEzsignSignatureSigned.md @@ -6,6 +6,8 @@ This is the base Webhook object Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**obj_webhook** | [**CustomWebhookResponse**](CustomWebhookResponse.md) | | +**a_obj_attempt** | [**List[AttemptResponseCompound]**](AttemptResponseCompound.md) | An array containing details of previous attempts that were made to deliver the message. The array is empty if it's the first attempt. | **obj_ezsignsignature** | [**EzsignsignatureResponse**](EzsignsignatureResponse.md) | | ## Example diff --git a/docs/WebhookGetHistoryV1Response.md b/docs/WebhookGetHistoryV1Response.md index 84db14867..b58ba4f65 100644 --- a/docs/WebhookGetHistoryV1Response.md +++ b/docs/WebhookGetHistoryV1Response.md @@ -6,6 +6,8 @@ Response for GET /1/object/webhook/{pkiWebhookID}/getHistory Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**obj_debug_payload** | [**CommonResponseObjDebugPayload**](CommonResponseObjDebugPayload.md) | | +**obj_debug** | [**CommonResponseObjDebug**](CommonResponseObjDebug.md) | | [optional] **m_payload** | [**WebhookGetHistoryV1ResponseMPayload**](WebhookGetHistoryV1ResponseMPayload.md) | | ## Example diff --git a/docs/WebhookGetHistoryV1ResponseMPayload.md b/docs/WebhookGetHistoryV1ResponseMPayload.md index 5472dfefd..4b2555763 100644 --- a/docs/WebhookGetHistoryV1ResponseMPayload.md +++ b/docs/WebhookGetHistoryV1ResponseMPayload.md @@ -6,7 +6,7 @@ Payload for GET /1/object/webhook/{pkiWebhookID}/getHistory Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**a_obj_webhooklog** | **List[CustomWebhooklogResponse]** | | +**a_obj_webhooklog** | [**List[CustomWebhooklogResponse]**](CustomWebhooklogResponse.md) | | ## Example diff --git a/docs/WebhookGetListV1Response.md b/docs/WebhookGetListV1Response.md index 8d1e7f056..8f7be86a6 100644 --- a/docs/WebhookGetListV1Response.md +++ b/docs/WebhookGetListV1Response.md @@ -6,6 +6,8 @@ Response for GET /1/object/webhook/getList Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**obj_debug_payload** | [**CommonResponseObjDebugPayloadGetList**](CommonResponseObjDebugPayloadGetList.md) | | +**obj_debug** | [**CommonResponseObjDebug**](CommonResponseObjDebug.md) | | [optional] **m_payload** | [**WebhookGetListV1ResponseMPayload**](WebhookGetListV1ResponseMPayload.md) | | ## Example diff --git a/docs/WebhookGetListV1ResponseMPayload.md b/docs/WebhookGetListV1ResponseMPayload.md index 5ff8fc491..3144fd4d0 100644 --- a/docs/WebhookGetListV1ResponseMPayload.md +++ b/docs/WebhookGetListV1ResponseMPayload.md @@ -6,6 +6,8 @@ Payload for GET /1/object/webhook/getList Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**i_row_returned** | **int** | The number of rows returned | +**i_row_filtered** | **int** | The number of rows matching your filters (if any) or the total number of rows | **a_obj_webhook** | [**List[WebhookListElement]**](WebhookListElement.md) | | ## Example diff --git a/docs/WebhookGetObjectV2Response.md b/docs/WebhookGetObjectV2Response.md index 499cb1cc9..ec68ceaf8 100644 --- a/docs/WebhookGetObjectV2Response.md +++ b/docs/WebhookGetObjectV2Response.md @@ -6,6 +6,8 @@ Response for GET /2/object/webhook/{pkiWebhookID} Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**obj_debug_payload** | [**CommonResponseObjDebugPayload**](CommonResponseObjDebugPayload.md) | | +**obj_debug** | [**CommonResponseObjDebug**](CommonResponseObjDebug.md) | | [optional] **m_payload** | [**WebhookGetObjectV2ResponseMPayload**](WebhookGetObjectV2ResponseMPayload.md) | | ## Example diff --git a/docs/WebhookRegenerateApikeyV1Response.md b/docs/WebhookRegenerateApikeyV1Response.md index 1c1625a6e..4bd5fd528 100644 --- a/docs/WebhookRegenerateApikeyV1Response.md +++ b/docs/WebhookRegenerateApikeyV1Response.md @@ -6,6 +6,8 @@ Response for POST /1/object/webhook/{pkiWebhookID}/regenerateApikey Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**obj_debug_payload** | [**CommonResponseObjDebugPayload**](CommonResponseObjDebugPayload.md) | | +**obj_debug** | [**CommonResponseObjDebug**](CommonResponseObjDebug.md) | | [optional] **m_payload** | [**WebhookRegenerateApikeyV1ResponseMPayload**](WebhookRegenerateApikeyV1ResponseMPayload.md) | | ## Example diff --git a/docs/WebhookRequestCompound.md b/docs/WebhookRequestCompound.md index 335e004a1..7eed01862 100644 --- a/docs/WebhookRequestCompound.md +++ b/docs/WebhookRequestCompound.md @@ -6,6 +6,18 @@ A Webhook Object and children Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**pki_webhook_id** | **int** | The unique ID of the Webhook | [optional] +**fki_authenticationexternal_id** | **int** | The unique ID of the Authenticationexternal | [optional] +**fki_ezsignfoldertype_id** | **int** | The unique ID of the Ezsignfoldertype. | [optional] +**s_webhook_description** | **str** | The description of the Webhook | +**e_webhook_module** | [**FieldEWebhookModule**](FieldEWebhookModule.md) | | +**e_webhook_ezsignevent** | [**FieldEWebhookEzsignevent**](FieldEWebhookEzsignevent.md) | | [optional] +**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 | +**b_webhook_issigned** | **bool** | Whether the requests will be signed or not | [optional] +**b_webhook_skipsslvalidation** | **bool** | Wheter the server's SSL certificate should be validated or not. Not recommended to skip for production use | **a_obj_webhookheader** | [**List[WebhookheaderRequestCompound]**](WebhookheaderRequestCompound.md) | | [optional] ## Example diff --git a/docs/WebhookResponseCompound.md b/docs/WebhookResponseCompound.md index 7129c07c1..9394cd8ed 100644 --- a/docs/WebhookResponseCompound.md +++ b/docs/WebhookResponseCompound.md @@ -6,6 +6,23 @@ A Webhook Object Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**pki_webhook_id** | **int** | The unique ID of the Webhook | +**fki_authenticationexternal_id** | **int** | The unique ID of the Authenticationexternal | [optional] +**s_webhook_description** | **str** | The description of the Webhook | +**fki_ezsignfoldertype_id** | **int** | The unique ID of the Ezsignfoldertype. | [optional] +**s_ezsignfoldertype_name_x** | **str** | The name of the Ezsignfoldertype in the language of the requester | [optional] +**e_webhook_module** | [**FieldEWebhookModule**](FieldEWebhookModule.md) | | +**e_webhook_ezsignevent** | [**FieldEWebhookEzsignevent**](FieldEWebhookEzsignevent.md) | | [optional] +**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 | +**s_webhook_apikey** | **str** | The Apikey for the Webhook. This will be hidden if we are not creating or regenerating the Apikey. | [optional] +**s_webhook_secret** | **str** | The Secret for the Webhook. This will be hidden if we are not creating or regenerating the Apikey. | [optional] +**b_webhook_isactive** | **bool** | Whether the Webhook is active or not | +**b_webhook_issigned** | **bool** | Whether the requests will be signed or not | +**b_webhook_skipsslvalidation** | **bool** | Wheter the server's SSL certificate should be validated or not. Not recommended to skip for production use | +**s_authenticationexternal_description** | **str** | The description of the Authenticationexternal | [optional] +**obj_audit** | [**CommonAudit**](CommonAudit.md) | | **s_webhook_event** | **str** | The concatenated string to describe the Webhook event | [optional] **a_obj_webhookheader** | [**List[WebhookheaderResponseCompound]**](WebhookheaderResponseCompound.md) | | [optional] diff --git a/docs/WebhookSendWebhookV1Response.md b/docs/WebhookSendWebhookV1Response.md index 350b51f89..d877f97e8 100644 --- a/docs/WebhookSendWebhookV1Response.md +++ b/docs/WebhookSendWebhookV1Response.md @@ -6,6 +6,8 @@ Response for POST /1/object/webhook/sendWebhook Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**obj_debug_payload** | [**CommonResponseObjDebugPayload**](CommonResponseObjDebugPayload.md) | | +**obj_debug** | [**CommonResponseObjDebug**](CommonResponseObjDebug.md) | | [optional] ## Example diff --git a/docs/WebhookTestV1Response.md b/docs/WebhookTestV1Response.md index 4672d4deb..5b5bc95ce 100644 --- a/docs/WebhookTestV1Response.md +++ b/docs/WebhookTestV1Response.md @@ -6,6 +6,8 @@ Response for POST /1/object/webhook/{pkiWebhookID}/test Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**obj_debug_payload** | [**CommonResponseObjDebugPayload**](CommonResponseObjDebugPayload.md) | | +**obj_debug** | [**CommonResponseObjDebug**](CommonResponseObjDebug.md) | | [optional] ## Example diff --git a/docs/WebhookUserUserCreated.md b/docs/WebhookUserUserCreated.md index cb0f25c3c..b8c719f57 100644 --- a/docs/WebhookUserUserCreated.md +++ b/docs/WebhookUserUserCreated.md @@ -6,7 +6,9 @@ This is the base Webhook object Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**obj_user** | [**UserResponse**](UserResponse.md) | A User Object and children to create a complete structure | +**obj_webhook** | [**CustomWebhookResponse**](CustomWebhookResponse.md) | | +**a_obj_attempt** | [**List[AttemptResponseCompound]**](AttemptResponseCompound.md) | An array containing details of previous attempts that were made to deliver the message. The array is empty if it's the first attempt. | +**obj_user** | [**UserResponseCompound**](UserResponseCompound.md) | | ## Example diff --git a/docs/WebhookUserstagedUserstagedCreated.md b/docs/WebhookUserstagedUserstagedCreated.md index 029bb00de..80904f024 100644 --- a/docs/WebhookUserstagedUserstagedCreated.md +++ b/docs/WebhookUserstagedUserstagedCreated.md @@ -6,7 +6,9 @@ This is the base Webhook object Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**obj_userstaged** | [**UserstagedResponse**](UserstagedResponse.md) | A Userstaged Object | +**obj_webhook** | [**CustomWebhookResponse**](CustomWebhookResponse.md) | | +**a_obj_attempt** | [**List[AttemptResponseCompound]**](AttemptResponseCompound.md) | An array containing details of previous attempts that were made to deliver the message. The array is empty if it's the first attempt. | +**obj_userstaged** | [**UserstagedResponseCompound**](UserstagedResponseCompound.md) | | ## Example diff --git a/docs/WebhookheaderRequestCompound.md b/docs/WebhookheaderRequestCompound.md index 9138c96d8..f42198cd9 100644 --- a/docs/WebhookheaderRequestCompound.md +++ b/docs/WebhookheaderRequestCompound.md @@ -6,6 +6,9 @@ A Webhookheader Object Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**pki_webhookheader_id** | **int** | The unique ID of the Webhookheader | [optional] +**s_webhookheader_name** | **str** | The Name of the Webhookheader | +**s_webhookheader_value** | **str** | The Value of the Webhookheader | ## Example diff --git a/docs/WebhookheaderResponseCompound.md b/docs/WebhookheaderResponseCompound.md index 2a421a04d..2ecece647 100644 --- a/docs/WebhookheaderResponseCompound.md +++ b/docs/WebhookheaderResponseCompound.md @@ -6,6 +6,10 @@ A Webhookheader Object Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- +**pki_webhookheader_id** | **int** | The unique ID of the Webhookheader | +**fki_webhook_id** | **int** | The unique ID of the Webhook | +**s_webhookheader_name** | **str** | The Name of the Webhookheader | +**s_webhookheader_value** | **str** | The Value of the Webhookheader | ## Example diff --git a/eZmaxApi/api/object_apikey_api.py b/eZmaxApi/api/object_apikey_api.py index 08edc8d38..4890c3255 100644 --- a/eZmaxApi/api/object_apikey_api.py +++ b/eZmaxApi/api/object_apikey_api.py @@ -23,6 +23,7 @@ from eZmaxApi.models.apikey_create_object_v2_request import ApikeyCreateObjectV2Request from eZmaxApi.models.apikey_create_object_v2_response import ApikeyCreateObjectV2Response from eZmaxApi.models.apikey_edit_object_v1_request import ApikeyEditObjectV1Request +from eZmaxApi.models.apikey_edit_object_v1_response import ApikeyEditObjectV1Response from eZmaxApi.models.apikey_edit_permissions_v1_request import ApikeyEditPermissionsV1Request from eZmaxApi.models.apikey_edit_permissions_v1_response import ApikeyEditPermissionsV1Response from eZmaxApi.models.apikey_generate_delegated_credentials_v1_request import ApikeyGenerateDelegatedCredentialsV1Request @@ -34,7 +35,6 @@ from eZmaxApi.models.apikey_get_subnets_v1_response import ApikeyGetSubnetsV1Response from eZmaxApi.models.apikey_regenerate_v1_request import ApikeyRegenerateV1Request from eZmaxApi.models.apikey_regenerate_v1_response import ApikeyRegenerateV1Response -from eZmaxApi.models.common_response import CommonResponse from eZmaxApi.models.header_accept_language import HeaderAcceptLanguage from eZmaxApi.api_client import ApiClient, RequestSerialized @@ -346,7 +346,7 @@ def apikey_edit_object_v1( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> CommonResponse: + ) -> ApikeyEditObjectV1Response: """Edit an existing Apikey @@ -419,7 +419,7 @@ def apikey_edit_object_v1_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[CommonResponse]: + ) -> ApiResponse[ApikeyEditObjectV1Response]: """Edit an existing Apikey diff --git a/eZmaxApi/api/object_authenticationexternal_api.py b/eZmaxApi/api/object_authenticationexternal_api.py index 784a94a43..a580317d4 100644 --- a/eZmaxApi/api/object_authenticationexternal_api.py +++ b/eZmaxApi/api/object_authenticationexternal_api.py @@ -22,11 +22,13 @@ from typing_extensions import Annotated from eZmaxApi.models.authenticationexternal_create_object_v1_request import AuthenticationexternalCreateObjectV1Request from eZmaxApi.models.authenticationexternal_create_object_v1_response import AuthenticationexternalCreateObjectV1Response +from eZmaxApi.models.authenticationexternal_delete_object_v1_response import AuthenticationexternalDeleteObjectV1Response from eZmaxApi.models.authenticationexternal_edit_object_v1_request import AuthenticationexternalEditObjectV1Request +from eZmaxApi.models.authenticationexternal_edit_object_v1_response import AuthenticationexternalEditObjectV1Response from eZmaxApi.models.authenticationexternal_get_autocomplete_v2_response import AuthenticationexternalGetAutocompleteV2Response from eZmaxApi.models.authenticationexternal_get_list_v1_response import AuthenticationexternalGetListV1Response from eZmaxApi.models.authenticationexternal_get_object_v2_response import AuthenticationexternalGetObjectV2Response -from eZmaxApi.models.common_response import CommonResponse +from eZmaxApi.models.authenticationexternal_reset_authorization_v1_response import AuthenticationexternalResetAuthorizationV1Response from eZmaxApi.models.header_accept_language import HeaderAcceptLanguage from eZmaxApi.api_client import ApiClient, RequestSerialized @@ -337,7 +339,7 @@ def authenticationexternal_delete_object_v1( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> CommonResponse: + ) -> AuthenticationexternalDeleteObjectV1Response: """Delete an existing Authenticationexternal @@ -405,7 +407,7 @@ def authenticationexternal_delete_object_v1_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[CommonResponse]: + ) -> ApiResponse[AuthenticationexternalDeleteObjectV1Response]: """Delete an existing Authenticationexternal @@ -602,7 +604,7 @@ def authenticationexternal_edit_object_v1( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> CommonResponse: + ) -> AuthenticationexternalEditObjectV1Response: """Edit an existing Authenticationexternal @@ -675,7 +677,7 @@ def authenticationexternal_edit_object_v1_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[CommonResponse]: + ) -> ApiResponse[AuthenticationexternalEditObjectV1Response]: """Edit an existing Authenticationexternal @@ -1804,7 +1806,7 @@ def authenticationexternal_reset_authorization_v1( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> CommonResponse: + ) -> AuthenticationexternalResetAuthorizationV1Response: """Reset the Authenticationexternal authorization @@ -1876,7 +1878,7 @@ def authenticationexternal_reset_authorization_v1_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[CommonResponse]: + ) -> ApiResponse[AuthenticationexternalResetAuthorizationV1Response]: """Reset the Authenticationexternal authorization diff --git a/eZmaxApi/api/object_billingentityinternal_api.py b/eZmaxApi/api/object_billingentityinternal_api.py index 1630ec745..8fc068e39 100644 --- a/eZmaxApi/api/object_billingentityinternal_api.py +++ b/eZmaxApi/api/object_billingentityinternal_api.py @@ -23,10 +23,10 @@ from eZmaxApi.models.billingentityinternal_create_object_v1_request import BillingentityinternalCreateObjectV1Request from eZmaxApi.models.billingentityinternal_create_object_v1_response import BillingentityinternalCreateObjectV1Response from eZmaxApi.models.billingentityinternal_edit_object_v1_request import BillingentityinternalEditObjectV1Request +from eZmaxApi.models.billingentityinternal_edit_object_v1_response import BillingentityinternalEditObjectV1Response from eZmaxApi.models.billingentityinternal_get_autocomplete_v2_response import BillingentityinternalGetAutocompleteV2Response from eZmaxApi.models.billingentityinternal_get_list_v1_response import BillingentityinternalGetListV1Response from eZmaxApi.models.billingentityinternal_get_object_v2_response import BillingentityinternalGetObjectV2Response -from eZmaxApi.models.common_response import CommonResponse from eZmaxApi.models.header_accept_language import HeaderAcceptLanguage from eZmaxApi.api_client import ApiClient, RequestSerialized @@ -338,7 +338,7 @@ def billingentityinternal_edit_object_v1( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> CommonResponse: + ) -> BillingentityinternalEditObjectV1Response: """Edit an existing Billingentityinternal @@ -411,7 +411,7 @@ def billingentityinternal_edit_object_v1_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[CommonResponse]: + ) -> ApiResponse[BillingentityinternalEditObjectV1Response]: """Edit an existing Billingentityinternal diff --git a/eZmaxApi/api/object_branding_api.py b/eZmaxApi/api/object_branding_api.py index e76fe3b96..f08e32f7d 100644 --- a/eZmaxApi/api/object_branding_api.py +++ b/eZmaxApi/api/object_branding_api.py @@ -23,10 +23,10 @@ from eZmaxApi.models.branding_create_object_v2_request import BrandingCreateObjectV2Request from eZmaxApi.models.branding_create_object_v2_response import BrandingCreateObjectV2Response from eZmaxApi.models.branding_edit_object_v2_request import BrandingEditObjectV2Request +from eZmaxApi.models.branding_edit_object_v2_response import BrandingEditObjectV2Response from eZmaxApi.models.branding_get_autocomplete_v2_response import BrandingGetAutocompleteV2Response from eZmaxApi.models.branding_get_list_v1_response import BrandingGetListV1Response from eZmaxApi.models.branding_get_object_v3_response import BrandingGetObjectV3Response -from eZmaxApi.models.common_response import CommonResponse from eZmaxApi.models.header_accept_language import HeaderAcceptLanguage from eZmaxApi.api_client import ApiClient, RequestSerialized @@ -338,7 +338,7 @@ def branding_edit_object_v2( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> CommonResponse: + ) -> BrandingEditObjectV2Response: """Edit an existing Branding @@ -410,7 +410,7 @@ def branding_edit_object_v2_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[CommonResponse]: + ) -> ApiResponse[BrandingEditObjectV2Response]: """Edit an existing Branding diff --git a/eZmaxApi/api/object_cors_api.py b/eZmaxApi/api/object_cors_api.py index 7108c6e68..20dc5bb3d 100644 --- a/eZmaxApi/api/object_cors_api.py +++ b/eZmaxApi/api/object_cors_api.py @@ -19,10 +19,11 @@ from pydantic import Field from typing_extensions import Annotated -from eZmaxApi.models.common_response import CommonResponse from eZmaxApi.models.cors_create_object_v1_request import CorsCreateObjectV1Request from eZmaxApi.models.cors_create_object_v1_response import CorsCreateObjectV1Response +from eZmaxApi.models.cors_delete_object_v1_response import CorsDeleteObjectV1Response from eZmaxApi.models.cors_edit_object_v1_request import CorsEditObjectV1Request +from eZmaxApi.models.cors_edit_object_v1_response import CorsEditObjectV1Response from eZmaxApi.models.cors_get_object_v2_response import CorsGetObjectV2Response from eZmaxApi.api_client import ApiClient, RequestSerialized @@ -333,7 +334,7 @@ def cors_delete_object_v1( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> CommonResponse: + ) -> CorsDeleteObjectV1Response: """Delete an existing Cors @@ -401,7 +402,7 @@ def cors_delete_object_v1_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[CommonResponse]: + ) -> ApiResponse[CorsDeleteObjectV1Response]: """Delete an existing Cors @@ -598,7 +599,7 @@ def cors_edit_object_v1( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> CommonResponse: + ) -> CorsEditObjectV1Response: """Edit an existing Cors @@ -671,7 +672,7 @@ def cors_edit_object_v1_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[CommonResponse]: + ) -> ApiResponse[CorsEditObjectV1Response]: """Edit an existing Cors diff --git a/eZmaxApi/api/object_creditcardclient_api.py b/eZmaxApi/api/object_creditcardclient_api.py index d5a402950..4a2012114 100644 --- a/eZmaxApi/api/object_creditcardclient_api.py +++ b/eZmaxApi/api/object_creditcardclient_api.py @@ -20,14 +20,16 @@ from pydantic import Field, StrictStr, field_validator from typing import Optional from typing_extensions import Annotated -from eZmaxApi.models.common_response import CommonResponse from eZmaxApi.models.creditcardclient_create_object_v1_request import CreditcardclientCreateObjectV1Request from eZmaxApi.models.creditcardclient_create_object_v1_response import CreditcardclientCreateObjectV1Response +from eZmaxApi.models.creditcardclient_delete_object_v1_response import CreditcardclientDeleteObjectV1Response from eZmaxApi.models.creditcardclient_edit_object_v1_request import CreditcardclientEditObjectV1Request +from eZmaxApi.models.creditcardclient_edit_object_v1_response import CreditcardclientEditObjectV1Response from eZmaxApi.models.creditcardclient_get_autocomplete_v2_response import CreditcardclientGetAutocompleteV2Response from eZmaxApi.models.creditcardclient_get_list_v1_response import CreditcardclientGetListV1Response from eZmaxApi.models.creditcardclient_get_object_v2_response import CreditcardclientGetObjectV2Response from eZmaxApi.models.creditcardclient_patch_object_v1_request import CreditcardclientPatchObjectV1Request +from eZmaxApi.models.creditcardclient_patch_object_v1_response import CreditcardclientPatchObjectV1Response from eZmaxApi.models.header_accept_language import HeaderAcceptLanguage from eZmaxApi.api_client import ApiClient, RequestSerialized @@ -341,7 +343,7 @@ def creditcardclient_delete_object_v1( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> CommonResponse: + ) -> CreditcardclientDeleteObjectV1Response: """Delete an existing Creditcardclient @@ -409,7 +411,7 @@ def creditcardclient_delete_object_v1_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[CommonResponse]: + ) -> ApiResponse[CreditcardclientDeleteObjectV1Response]: """Delete an existing Creditcardclient @@ -606,7 +608,7 @@ def creditcardclient_edit_object_v1( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> CommonResponse: + ) -> CreditcardclientEditObjectV1Response: """Edit an existing Creditcardclient @@ -679,7 +681,7 @@ def creditcardclient_edit_object_v1_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[CommonResponse]: + ) -> ApiResponse[CreditcardclientEditObjectV1Response]: """Edit an existing Creditcardclient @@ -1808,7 +1810,7 @@ def creditcardclient_patch_object_v1( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> CommonResponse: + ) -> CreditcardclientPatchObjectV1Response: """Patch an existing Creditcardclient @@ -1881,7 +1883,7 @@ def creditcardclient_patch_object_v1_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[CommonResponse]: + ) -> ApiResponse[CreditcardclientPatchObjectV1Response]: """Patch an existing Creditcardclient diff --git a/eZmaxApi/api/object_discussion_api.py b/eZmaxApi/api/object_discussion_api.py index c89dd4d63..590528898 100644 --- a/eZmaxApi/api/object_discussion_api.py +++ b/eZmaxApi/api/object_discussion_api.py @@ -19,12 +19,14 @@ from pydantic import Field from typing_extensions import Annotated -from eZmaxApi.models.common_response import CommonResponse from eZmaxApi.models.discussion_create_object_v1_request import DiscussionCreateObjectV1Request from eZmaxApi.models.discussion_create_object_v1_response import DiscussionCreateObjectV1Response +from eZmaxApi.models.discussion_delete_object_v1_response import DiscussionDeleteObjectV1Response from eZmaxApi.models.discussion_get_object_v2_response import DiscussionGetObjectV2Response from eZmaxApi.models.discussion_patch_object_v1_request import DiscussionPatchObjectV1Request +from eZmaxApi.models.discussion_patch_object_v1_response import DiscussionPatchObjectV1Response from eZmaxApi.models.discussion_update_discussionreadstatus_v1_request import DiscussionUpdateDiscussionreadstatusV1Request +from eZmaxApi.models.discussion_update_discussionreadstatus_v1_response import DiscussionUpdateDiscussionreadstatusV1Response from eZmaxApi.api_client import ApiClient, RequestSerialized from eZmaxApi.api_response import ApiResponse @@ -334,7 +336,7 @@ def discussion_delete_object_v1( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> CommonResponse: + ) -> DiscussionDeleteObjectV1Response: """Delete an existing Discussion @@ -402,7 +404,7 @@ def discussion_delete_object_v1_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[CommonResponse]: + ) -> ApiResponse[DiscussionDeleteObjectV1Response]: """Delete an existing Discussion @@ -863,7 +865,7 @@ def discussion_patch_object_v1( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> CommonResponse: + ) -> DiscussionPatchObjectV1Response: """Patch an existing Discussion @@ -936,7 +938,7 @@ def discussion_patch_object_v1_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[CommonResponse]: + ) -> ApiResponse[DiscussionPatchObjectV1Response]: """Patch an existing Discussion @@ -1158,7 +1160,7 @@ def discussion_update_discussionreadstatus_v1( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> CommonResponse: + ) -> DiscussionUpdateDiscussionreadstatusV1Response: """Update the read status of the discussion @@ -1230,7 +1232,7 @@ def discussion_update_discussionreadstatus_v1_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[CommonResponse]: + ) -> ApiResponse[DiscussionUpdateDiscussionreadstatusV1Response]: """Update the read status of the discussion diff --git a/eZmaxApi/api/object_discussionmembership_api.py b/eZmaxApi/api/object_discussionmembership_api.py index 5f5302d74..2bbde8e09 100644 --- a/eZmaxApi/api/object_discussionmembership_api.py +++ b/eZmaxApi/api/object_discussionmembership_api.py @@ -19,9 +19,9 @@ from pydantic import Field from typing_extensions import Annotated -from eZmaxApi.models.common_response import CommonResponse from eZmaxApi.models.discussionmembership_create_object_v1_request import DiscussionmembershipCreateObjectV1Request from eZmaxApi.models.discussionmembership_create_object_v1_response import DiscussionmembershipCreateObjectV1Response +from eZmaxApi.models.discussionmembership_delete_object_v1_response import DiscussionmembershipDeleteObjectV1Response from eZmaxApi.api_client import ApiClient, RequestSerialized from eZmaxApi.api_response import ApiResponse @@ -331,7 +331,7 @@ def discussionmembership_delete_object_v1( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> CommonResponse: + ) -> DiscussionmembershipDeleteObjectV1Response: """Delete an existing Discussionmembership @@ -399,7 +399,7 @@ def discussionmembership_delete_object_v1_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[CommonResponse]: + ) -> ApiResponse[DiscussionmembershipDeleteObjectV1Response]: """Delete an existing Discussionmembership diff --git a/eZmaxApi/api/object_discussionmessage_api.py b/eZmaxApi/api/object_discussionmessage_api.py index adabc152e..67daa8540 100644 --- a/eZmaxApi/api/object_discussionmessage_api.py +++ b/eZmaxApi/api/object_discussionmessage_api.py @@ -19,10 +19,11 @@ from pydantic import Field from typing_extensions import Annotated -from eZmaxApi.models.common_response import CommonResponse from eZmaxApi.models.discussionmessage_create_object_v1_request import DiscussionmessageCreateObjectV1Request from eZmaxApi.models.discussionmessage_create_object_v1_response import DiscussionmessageCreateObjectV1Response +from eZmaxApi.models.discussionmessage_delete_object_v1_response import DiscussionmessageDeleteObjectV1Response from eZmaxApi.models.discussionmessage_patch_object_v1_request import DiscussionmessagePatchObjectV1Request +from eZmaxApi.models.discussionmessage_patch_object_v1_response import DiscussionmessagePatchObjectV1Response from eZmaxApi.api_client import ApiClient, RequestSerialized from eZmaxApi.api_response import ApiResponse @@ -332,7 +333,7 @@ def discussionmessage_delete_object_v1( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> CommonResponse: + ) -> DiscussionmessageDeleteObjectV1Response: """Delete an existing Discussionmessage @@ -401,7 +402,7 @@ def discussionmessage_delete_object_v1_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[CommonResponse]: + ) -> ApiResponse[DiscussionmessageDeleteObjectV1Response]: """Delete an existing Discussionmessage @@ -600,7 +601,7 @@ def discussionmessage_patch_object_v1( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> CommonResponse: + ) -> DiscussionmessagePatchObjectV1Response: """Patch an existing Discussionmessage @@ -673,7 +674,7 @@ def discussionmessage_patch_object_v1_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[CommonResponse]: + ) -> ApiResponse[DiscussionmessagePatchObjectV1Response]: """Patch an existing Discussionmessage diff --git a/eZmaxApi/api/object_domain_api.py b/eZmaxApi/api/object_domain_api.py index 605502576..5c4f794d5 100644 --- a/eZmaxApi/api/object_domain_api.py +++ b/eZmaxApi/api/object_domain_api.py @@ -20,9 +20,9 @@ from pydantic import Field, StrictStr, field_validator from typing import Optional from typing_extensions import Annotated -from eZmaxApi.models.common_response import CommonResponse from eZmaxApi.models.domain_create_object_v1_request import DomainCreateObjectV1Request from eZmaxApi.models.domain_create_object_v1_response import DomainCreateObjectV1Response +from eZmaxApi.models.domain_delete_object_v1_response import DomainDeleteObjectV1Response from eZmaxApi.models.domain_get_list_v1_response import DomainGetListV1Response from eZmaxApi.models.domain_get_object_v2_response import DomainGetObjectV2Response from eZmaxApi.models.header_accept_language import HeaderAcceptLanguage @@ -335,7 +335,7 @@ def domain_delete_object_v1( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> CommonResponse: + ) -> DomainDeleteObjectV1Response: """Delete an existing Domain @@ -403,7 +403,7 @@ def domain_delete_object_v1_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[CommonResponse]: + ) -> ApiResponse[DomainDeleteObjectV1Response]: """Delete an existing Domain diff --git a/eZmaxApi/api/object_ezdoctemplatedocument_api.py b/eZmaxApi/api/object_ezdoctemplatedocument_api.py index 85dfc4c82..e8d3046b7 100644 --- a/eZmaxApi/api/object_ezdoctemplatedocument_api.py +++ b/eZmaxApi/api/object_ezdoctemplatedocument_api.py @@ -20,14 +20,15 @@ from pydantic import Field, StrictStr, field_validator from typing import Optional from typing_extensions import Annotated -from eZmaxApi.models.common_response import CommonResponse from eZmaxApi.models.ezdoctemplatedocument_create_object_v1_request import EzdoctemplatedocumentCreateObjectV1Request from eZmaxApi.models.ezdoctemplatedocument_create_object_v1_response import EzdoctemplatedocumentCreateObjectV1Response from eZmaxApi.models.ezdoctemplatedocument_edit_object_v1_request import EzdoctemplatedocumentEditObjectV1Request +from eZmaxApi.models.ezdoctemplatedocument_edit_object_v1_response import EzdoctemplatedocumentEditObjectV1Response from eZmaxApi.models.ezdoctemplatedocument_get_autocomplete_v2_response import EzdoctemplatedocumentGetAutocompleteV2Response from eZmaxApi.models.ezdoctemplatedocument_get_list_v1_response import EzdoctemplatedocumentGetListV1Response from eZmaxApi.models.ezdoctemplatedocument_get_object_v2_response import EzdoctemplatedocumentGetObjectV2Response from eZmaxApi.models.ezdoctemplatedocument_patch_object_v1_request import EzdoctemplatedocumentPatchObjectV1Request +from eZmaxApi.models.ezdoctemplatedocument_patch_object_v1_response import EzdoctemplatedocumentPatchObjectV1Response from eZmaxApi.models.header_accept_language import HeaderAcceptLanguage from eZmaxApi.api_client import ApiClient, RequestSerialized @@ -604,7 +605,7 @@ def ezdoctemplatedocument_edit_object_v1( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> CommonResponse: + ) -> EzdoctemplatedocumentEditObjectV1Response: """Edit an existing Ezdoctemplatedocument @@ -677,7 +678,7 @@ def ezdoctemplatedocument_edit_object_v1_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[CommonResponse]: + ) -> ApiResponse[EzdoctemplatedocumentEditObjectV1Response]: """Edit an existing Ezdoctemplatedocument @@ -1840,7 +1841,7 @@ def ezdoctemplatedocument_patch_object_v1( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> CommonResponse: + ) -> EzdoctemplatedocumentPatchObjectV1Response: """Patch an existing Ezdoctemplatedocument @@ -1912,7 +1913,7 @@ def ezdoctemplatedocument_patch_object_v1_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[CommonResponse]: + ) -> ApiResponse[EzdoctemplatedocumentPatchObjectV1Response]: """Patch an existing Ezdoctemplatedocument diff --git a/eZmaxApi/api/object_ezsignannotation_api.py b/eZmaxApi/api/object_ezsignannotation_api.py index 0bd234658..a16f6bdef 100644 --- a/eZmaxApi/api/object_ezsignannotation_api.py +++ b/eZmaxApi/api/object_ezsignannotation_api.py @@ -18,10 +18,11 @@ from typing_extensions import Annotated from pydantic import StrictInt -from eZmaxApi.models.common_response import CommonResponse from eZmaxApi.models.ezsignannotation_create_object_v1_request import EzsignannotationCreateObjectV1Request from eZmaxApi.models.ezsignannotation_create_object_v1_response import EzsignannotationCreateObjectV1Response +from eZmaxApi.models.ezsignannotation_delete_object_v1_response import EzsignannotationDeleteObjectV1Response from eZmaxApi.models.ezsignannotation_edit_object_v1_request import EzsignannotationEditObjectV1Request +from eZmaxApi.models.ezsignannotation_edit_object_v1_response import EzsignannotationEditObjectV1Response from eZmaxApi.models.ezsignannotation_get_object_v2_response import EzsignannotationGetObjectV2Response from eZmaxApi.api_client import ApiClient, RequestSerialized @@ -332,7 +333,7 @@ def ezsignannotation_delete_object_v1( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> CommonResponse: + ) -> EzsignannotationDeleteObjectV1Response: """Delete an existing Ezsignannotation @@ -400,7 +401,7 @@ def ezsignannotation_delete_object_v1_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[CommonResponse]: + ) -> ApiResponse[EzsignannotationDeleteObjectV1Response]: """Delete an existing Ezsignannotation @@ -597,7 +598,7 @@ def ezsignannotation_edit_object_v1( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> CommonResponse: + ) -> EzsignannotationEditObjectV1Response: """Edit an existing Ezsignannotation @@ -670,7 +671,7 @@ def ezsignannotation_edit_object_v1_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[CommonResponse]: + ) -> ApiResponse[EzsignannotationEditObjectV1Response]: """Edit an existing Ezsignannotation diff --git a/eZmaxApi/api/object_ezsignbulksend_api.py b/eZmaxApi/api/object_ezsignbulksend_api.py index cbeceaed2..0fdff68e5 100644 --- a/eZmaxApi/api/object_ezsignbulksend_api.py +++ b/eZmaxApi/api/object_ezsignbulksend_api.py @@ -20,18 +20,20 @@ from pydantic import Field, StrictStr, field_validator from typing import Optional from typing_extensions import Annotated -from eZmaxApi.models.common_response import CommonResponse from eZmaxApi.models.ezsignbulksend_create_ezsignbulksendtransmission_v2_request import EzsignbulksendCreateEzsignbulksendtransmissionV2Request from eZmaxApi.models.ezsignbulksend_create_ezsignbulksendtransmission_v2_response import EzsignbulksendCreateEzsignbulksendtransmissionV2Response from eZmaxApi.models.ezsignbulksend_create_object_v1_request import EzsignbulksendCreateObjectV1Request from eZmaxApi.models.ezsignbulksend_create_object_v1_response import EzsignbulksendCreateObjectV1Response +from eZmaxApi.models.ezsignbulksend_delete_object_v1_response import EzsignbulksendDeleteObjectV1Response from eZmaxApi.models.ezsignbulksend_edit_object_v1_request import EzsignbulksendEditObjectV1Request +from eZmaxApi.models.ezsignbulksend_edit_object_v1_response import EzsignbulksendEditObjectV1Response from eZmaxApi.models.ezsignbulksend_get_ezsignbulksendtransmissions_v1_response import EzsignbulksendGetEzsignbulksendtransmissionsV1Response from eZmaxApi.models.ezsignbulksend_get_ezsignsignatures_automatic_v1_response import EzsignbulksendGetEzsignsignaturesAutomaticV1Response from eZmaxApi.models.ezsignbulksend_get_forms_data_v1_response import EzsignbulksendGetFormsDataV1Response from eZmaxApi.models.ezsignbulksend_get_list_v1_response import EzsignbulksendGetListV1Response from eZmaxApi.models.ezsignbulksend_get_object_v2_response import EzsignbulksendGetObjectV2Response from eZmaxApi.models.ezsignbulksend_reorder_v1_request import EzsignbulksendReorderV1Request +from eZmaxApi.models.ezsignbulksend_reorder_v1_response import EzsignbulksendReorderV1Response from eZmaxApi.models.header_accept_language import HeaderAcceptLanguage from eZmaxApi.api_client import ApiClient, RequestSerialized @@ -634,7 +636,7 @@ def ezsignbulksend_delete_object_v1( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> CommonResponse: + ) -> EzsignbulksendDeleteObjectV1Response: """Delete an existing Ezsignbulksend @@ -703,7 +705,7 @@ def ezsignbulksend_delete_object_v1_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[CommonResponse]: + ) -> ApiResponse[EzsignbulksendDeleteObjectV1Response]: """Delete an existing Ezsignbulksend @@ -902,7 +904,7 @@ def ezsignbulksend_edit_object_v1( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> CommonResponse: + ) -> EzsignbulksendEditObjectV1Response: """Edit an existing Ezsignbulksend @@ -975,7 +977,7 @@ def ezsignbulksend_edit_object_v1_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[CommonResponse]: + ) -> ApiResponse[EzsignbulksendEditObjectV1Response]: """Edit an existing Ezsignbulksend @@ -2881,7 +2883,7 @@ def ezsignbulksend_reorder_v1( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> CommonResponse: + ) -> EzsignbulksendReorderV1Response: """Reorder Ezsignbulksenddocumentmappings in the Ezsignbulksend @@ -2953,7 +2955,7 @@ def ezsignbulksend_reorder_v1_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[CommonResponse]: + ) -> ApiResponse[EzsignbulksendReorderV1Response]: """Reorder Ezsignbulksenddocumentmappings in the Ezsignbulksend diff --git a/eZmaxApi/api/object_ezsignbulksenddocumentmapping_api.py b/eZmaxApi/api/object_ezsignbulksenddocumentmapping_api.py index 0221041af..e0148fd71 100644 --- a/eZmaxApi/api/object_ezsignbulksenddocumentmapping_api.py +++ b/eZmaxApi/api/object_ezsignbulksenddocumentmapping_api.py @@ -19,9 +19,9 @@ from pydantic import Field from typing_extensions import Annotated -from eZmaxApi.models.common_response import CommonResponse from eZmaxApi.models.ezsignbulksenddocumentmapping_create_object_v1_request import EzsignbulksenddocumentmappingCreateObjectV1Request from eZmaxApi.models.ezsignbulksenddocumentmapping_create_object_v1_response import EzsignbulksenddocumentmappingCreateObjectV1Response +from eZmaxApi.models.ezsignbulksenddocumentmapping_delete_object_v1_response import EzsignbulksenddocumentmappingDeleteObjectV1Response from eZmaxApi.models.ezsignbulksenddocumentmapping_get_object_v2_response import EzsignbulksenddocumentmappingGetObjectV2Response from eZmaxApi.api_client import ApiClient, RequestSerialized @@ -335,7 +335,7 @@ def ezsignbulksenddocumentmapping_delete_object_v1( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> CommonResponse: + ) -> EzsignbulksenddocumentmappingDeleteObjectV1Response: """Delete an existing Ezsignbulksenddocumentmapping @@ -403,7 +403,7 @@ def ezsignbulksenddocumentmapping_delete_object_v1_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[CommonResponse]: + ) -> ApiResponse[EzsignbulksenddocumentmappingDeleteObjectV1Response]: """Delete an existing Ezsignbulksenddocumentmapping diff --git a/eZmaxApi/api/object_ezsignbulksendsignermapping_api.py b/eZmaxApi/api/object_ezsignbulksendsignermapping_api.py index d8788fb5d..5a90627b3 100644 --- a/eZmaxApi/api/object_ezsignbulksendsignermapping_api.py +++ b/eZmaxApi/api/object_ezsignbulksendsignermapping_api.py @@ -19,9 +19,9 @@ from pydantic import Field from typing_extensions import Annotated -from eZmaxApi.models.common_response import CommonResponse from eZmaxApi.models.ezsignbulksendsignermapping_create_object_v1_request import EzsignbulksendsignermappingCreateObjectV1Request from eZmaxApi.models.ezsignbulksendsignermapping_create_object_v1_response import EzsignbulksendsignermappingCreateObjectV1Response +from eZmaxApi.models.ezsignbulksendsignermapping_delete_object_v1_response import EzsignbulksendsignermappingDeleteObjectV1Response from eZmaxApi.models.ezsignbulksendsignermapping_get_object_v2_response import EzsignbulksendsignermappingGetObjectV2Response from eZmaxApi.api_client import ApiClient, RequestSerialized @@ -332,7 +332,7 @@ def ezsignbulksendsignermapping_delete_object_v1( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> CommonResponse: + ) -> EzsignbulksendsignermappingDeleteObjectV1Response: """Delete an existing Ezsignbulksendsignermapping @@ -400,7 +400,7 @@ def ezsignbulksendsignermapping_delete_object_v1_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[CommonResponse]: + ) -> ApiResponse[EzsignbulksendsignermappingDeleteObjectV1Response]: """Delete an existing Ezsignbulksendsignermapping diff --git a/eZmaxApi/api/object_ezsigndiscussion_api.py b/eZmaxApi/api/object_ezsigndiscussion_api.py index 75f7e1993..c2cf5ae37 100644 --- a/eZmaxApi/api/object_ezsigndiscussion_api.py +++ b/eZmaxApi/api/object_ezsigndiscussion_api.py @@ -19,9 +19,9 @@ from pydantic import Field from typing_extensions import Annotated -from eZmaxApi.models.common_response import CommonResponse from eZmaxApi.models.ezsigndiscussion_create_object_v1_request import EzsigndiscussionCreateObjectV1Request from eZmaxApi.models.ezsigndiscussion_create_object_v1_response import EzsigndiscussionCreateObjectV1Response +from eZmaxApi.models.ezsigndiscussion_delete_object_v1_response import EzsigndiscussionDeleteObjectV1Response from eZmaxApi.models.ezsigndiscussion_get_object_v2_response import EzsigndiscussionGetObjectV2Response from eZmaxApi.api_client import ApiClient, RequestSerialized @@ -332,7 +332,7 @@ def ezsigndiscussion_delete_object_v1( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> CommonResponse: + ) -> EzsigndiscussionDeleteObjectV1Response: """Delete an existing Ezsigndiscussion @@ -400,7 +400,7 @@ def ezsigndiscussion_delete_object_v1_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[CommonResponse]: + ) -> ApiResponse[EzsigndiscussionDeleteObjectV1Response]: """Delete an existing Ezsigndiscussion diff --git a/eZmaxApi/api/object_ezsigndocument_api.py b/eZmaxApi/api/object_ezsigndocument_api.py index e606b41b2..d3b7ec329 100644 --- a/eZmaxApi/api/object_ezsigndocument_api.py +++ b/eZmaxApi/api/object_ezsigndocument_api.py @@ -20,8 +20,8 @@ from pydantic import Field, StrictStr, field_validator from typing import Any, Dict, List from typing_extensions import Annotated -from eZmaxApi.models.common_response import CommonResponse from eZmaxApi.models.ezsigndocument_apply_ezsigntemplate_v1_request import EzsigndocumentApplyEzsigntemplateV1Request +from eZmaxApi.models.ezsigndocument_apply_ezsigntemplate_v1_response import EzsigndocumentApplyEzsigntemplateV1Response from eZmaxApi.models.ezsigndocument_apply_ezsigntemplate_v2_request import EzsigndocumentApplyEzsigntemplateV2Request from eZmaxApi.models.ezsigndocument_apply_ezsigntemplate_v2_response import EzsigndocumentApplyEzsigntemplateV2Response from eZmaxApi.models.ezsigndocument_apply_ezsigntemplateglobal_v1_request import EzsigndocumentApplyEzsigntemplateglobalV1Request @@ -35,6 +35,8 @@ from eZmaxApi.models.ezsigndocument_create_object_v3_request import EzsigndocumentCreateObjectV3Request from eZmaxApi.models.ezsigndocument_create_object_v3_response import EzsigndocumentCreateObjectV3Response from eZmaxApi.models.ezsigndocument_decline_to_sign_v1_request import EzsigndocumentDeclineToSignV1Request +from eZmaxApi.models.ezsigndocument_decline_to_sign_v1_response import EzsigndocumentDeclineToSignV1Response +from eZmaxApi.models.ezsigndocument_delete_object_v1_response import EzsigndocumentDeleteObjectV1Response from eZmaxApi.models.ezsigndocument_edit_ezsignannotations_v1_request import EzsigndocumentEditEzsignannotationsV1Request from eZmaxApi.models.ezsigndocument_edit_ezsignannotations_v1_response import EzsigndocumentEditEzsignannotationsV1Response from eZmaxApi.models.ezsigndocument_edit_ezsignformfieldgroups_v1_request import EzsigndocumentEditEzsignformfieldgroupsV1Request @@ -43,8 +45,10 @@ from eZmaxApi.models.ezsigndocument_edit_ezsignsignatures_v1_response import EzsigndocumentEditEzsignsignaturesV1Response from eZmaxApi.models.ezsigndocument_edit_object_v1_request import EzsigndocumentEditObjectV1Request from eZmaxApi.models.ezsigndocument_edit_object_v1_response import EzsigndocumentEditObjectV1Response +from eZmaxApi.models.ezsigndocument_end_prematurely_v1_response import EzsigndocumentEndPrematurelyV1Response from eZmaxApi.models.ezsigndocument_extract_text_v1_request import EzsigndocumentExtractTextV1Request from eZmaxApi.models.ezsigndocument_extract_text_v1_response import EzsigndocumentExtractTextV1Response +from eZmaxApi.models.ezsigndocument_flatten_v1_response import EzsigndocumentFlattenV1Response from eZmaxApi.models.ezsigndocument_get_actionable_elements_v1_response import EzsigndocumentGetActionableElementsV1Response from eZmaxApi.models.ezsigndocument_get_attachments_v1_response import EzsigndocumentGetAttachmentsV1Response from eZmaxApi.models.ezsigndocument_get_completed_elements_v1_response import EzsigndocumentGetCompletedElementsV1Response @@ -62,7 +66,10 @@ from eZmaxApi.models.ezsigndocument_get_words_positions_v1_request import EzsigndocumentGetWordsPositionsV1Request from eZmaxApi.models.ezsigndocument_get_words_positions_v1_response import EzsigndocumentGetWordsPositionsV1Response from eZmaxApi.models.ezsigndocument_patch_object_v1_request import EzsigndocumentPatchObjectV1Request +from eZmaxApi.models.ezsigndocument_patch_object_v1_response import EzsigndocumentPatchObjectV1Response from eZmaxApi.models.ezsigndocument_submit_ezsignform_v1_request import EzsigndocumentSubmitEzsignformV1Request +from eZmaxApi.models.ezsigndocument_submit_ezsignform_v1_response import EzsigndocumentSubmitEzsignformV1Response +from eZmaxApi.models.ezsigndocument_unsend_v1_response import EzsigndocumentUnsendV1Response from eZmaxApi.api_client import ApiClient, RequestSerialized from eZmaxApi.api_response import ApiResponse @@ -99,7 +106,7 @@ def ezsigndocument_apply_ezsigntemplate_v1( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> CommonResponse: + ) -> EzsigndocumentApplyEzsigntemplateV1Response: """(Deprecated) Apply an Ezsigntemplate to the Ezsigndocument. This function is deprecated. Please use *applyEzsigntemplate* instead which is doing the same thing but with a capital \"E\" to normalize the nomenclature. This endpoint applies a predefined template to the ezsign document. This allows to automatically apply all the form and signature fields on a document in a single step. The document must not already have fields otherwise an error will be returned. @@ -173,7 +180,7 @@ def ezsigndocument_apply_ezsigntemplate_v1_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[CommonResponse]: + ) -> ApiResponse[EzsigndocumentApplyEzsigntemplateV1Response]: """(Deprecated) Apply an Ezsigntemplate to the Ezsigndocument. This function is deprecated. Please use *applyEzsigntemplate* instead which is doing the same thing but with a capital \"E\" to normalize the nomenclature. This endpoint applies a predefined template to the ezsign document. This allows to automatically apply all the form and signature fields on a document in a single step. The document must not already have fields otherwise an error will be returned. @@ -2123,7 +2130,7 @@ def ezsigndocument_decline_to_sign_v1( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> CommonResponse: + ) -> EzsigndocumentDeclineToSignV1Response: """Decline to sign Decline to sign @@ -2196,7 +2203,7 @@ def ezsigndocument_decline_to_sign_v1_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[CommonResponse]: + ) -> ApiResponse[EzsigndocumentDeclineToSignV1Response]: """Decline to sign Decline to sign @@ -2417,7 +2424,7 @@ def ezsigndocument_delete_object_v1( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> CommonResponse: + ) -> EzsigndocumentDeleteObjectV1Response: """Delete an existing Ezsigndocument @@ -2486,7 +2493,7 @@ def ezsigndocument_delete_object_v1_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[CommonResponse]: + ) -> ApiResponse[EzsigndocumentDeleteObjectV1Response]: """Delete an existing Ezsigndocument @@ -3865,7 +3872,7 @@ def ezsigndocument_end_prematurely_v1( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> CommonResponse: + ) -> EzsigndocumentEndPrematurelyV1Response: """End prematurely End prematurely an Ezsigndocument when some signatures are still required @@ -3938,7 +3945,7 @@ def ezsigndocument_end_prematurely_v1_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[CommonResponse]: + ) -> ApiResponse[EzsigndocumentEndPrematurelyV1Response]: """End prematurely End prematurely an Ezsigndocument when some signatures are still required @@ -4455,7 +4462,7 @@ def ezsigndocument_flatten_v1( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> CommonResponse: + ) -> EzsigndocumentFlattenV1Response: """Flatten Flatten an Ezsigndocument signatures, forms and annotations. This process finalizes the PDF so that the forms and annotations become part of the document content and cannot be edited. @@ -4528,7 +4535,7 @@ def ezsigndocument_flatten_v1_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[CommonResponse]: + ) -> ApiResponse[EzsigndocumentFlattenV1Response]: """Flatten Flatten an Ezsigndocument signatures, forms and annotations. This process finalizes the PDF so that the forms and annotations become part of the document content and cannot be edited. @@ -8791,7 +8798,7 @@ def ezsigndocument_patch_object_v1( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> CommonResponse: + ) -> EzsigndocumentPatchObjectV1Response: """Patch an existing Ezsigndocument @@ -8864,7 +8871,7 @@ def ezsigndocument_patch_object_v1_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[CommonResponse]: + ) -> ApiResponse[EzsigndocumentPatchObjectV1Response]: """Patch an existing Ezsigndocument @@ -9086,7 +9093,7 @@ def ezsigndocument_submit_ezsignform_v1( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> CommonResponse: + ) -> EzsigndocumentSubmitEzsignformV1Response: """Submit the Ezsignform @@ -9159,7 +9166,7 @@ def ezsigndocument_submit_ezsignform_v1_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[CommonResponse]: + ) -> ApiResponse[EzsigndocumentSubmitEzsignformV1Response]: """Submit the Ezsignform @@ -9381,7 +9388,7 @@ def ezsigndocument_unsend_v1( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> CommonResponse: + ) -> EzsigndocumentUnsendV1Response: """Unsend the Ezsigndocument Once an Ezsigndocument has been sent to signatories, it cannot be modified. Using this endpoint, you can unsend the Ezsigndocument and make it modifiable again. Signatories will receive an email informing them the signature process was aborted and they might receive a new invitation to sign. ⚠️ Warning: Any signature previously made by signatories on this Ezsigndocumentswill be lost. @@ -9454,7 +9461,7 @@ def ezsigndocument_unsend_v1_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[CommonResponse]: + ) -> ApiResponse[EzsigndocumentUnsendV1Response]: """Unsend the Ezsigndocument Once an Ezsigndocument has been sent to signatories, it cannot be modified. Using this endpoint, you can unsend the Ezsigndocument and make it modifiable again. Signatories will receive an email informing them the signature process was aborted and they might receive a new invitation to sign. ⚠️ Warning: Any signature previously made by signatories on this Ezsigndocumentswill be lost. diff --git a/eZmaxApi/api/object_ezsignfolder_api.py b/eZmaxApi/api/object_ezsignfolder_api.py index 8570269f3..07b9be3df 100644 --- a/eZmaxApi/api/object_ezsignfolder_api.py +++ b/eZmaxApi/api/object_ezsignfolder_api.py @@ -20,7 +20,7 @@ from pydantic import Field, StrictBytes, StrictStr, field_validator from typing import Any, Dict, List, Optional, Tuple, Union from typing_extensions import Annotated -from eZmaxApi.models.common_response import CommonResponse +from eZmaxApi.models.ezsignfolder_archive_v1_response import EzsignfolderArchiveV1Response from eZmaxApi.models.ezsignfolder_batch_download_v1_request import EzsignfolderBatchDownloadV1Request from eZmaxApi.models.ezsignfolder_create_object_v1_request import EzsignfolderCreateObjectV1Request from eZmaxApi.models.ezsignfolder_create_object_v1_response import EzsignfolderCreateObjectV1Response @@ -28,8 +28,13 @@ from eZmaxApi.models.ezsignfolder_create_object_v2_response import EzsignfolderCreateObjectV2Response from eZmaxApi.models.ezsignfolder_create_object_v3_request import EzsignfolderCreateObjectV3Request from eZmaxApi.models.ezsignfolder_create_object_v3_response import EzsignfolderCreateObjectV3Response +from eZmaxApi.models.ezsignfolder_delete_object_v1_response import EzsignfolderDeleteObjectV1Response from eZmaxApi.models.ezsignfolder_dispose_ezsignfolders_v1_request import EzsignfolderDisposeEzsignfoldersV1Request +from eZmaxApi.models.ezsignfolder_dispose_ezsignfolders_v1_response import EzsignfolderDisposeEzsignfoldersV1Response +from eZmaxApi.models.ezsignfolder_dispose_v1_response import EzsignfolderDisposeV1Response from eZmaxApi.models.ezsignfolder_edit_object_v3_request import EzsignfolderEditObjectV3Request +from eZmaxApi.models.ezsignfolder_edit_object_v3_response import EzsignfolderEditObjectV3Response +from eZmaxApi.models.ezsignfolder_end_prematurely_v1_response import EzsignfolderEndPrematurelyV1Response from eZmaxApi.models.ezsignfolder_get_actionable_elements_v1_response import EzsignfolderGetActionableElementsV1Response from eZmaxApi.models.ezsignfolder_get_attachment_count_v1_response import EzsignfolderGetAttachmentCountV1Response from eZmaxApi.models.ezsignfolder_get_attachments_v1_response import EzsignfolderGetAttachmentsV1Response @@ -50,9 +55,14 @@ from eZmaxApi.models.ezsignfolder_import_ezsigntemplatepackage_v1_request import EzsignfolderImportEzsigntemplatepackageV1Request from eZmaxApi.models.ezsignfolder_import_ezsigntemplatepackage_v1_response import EzsignfolderImportEzsigntemplatepackageV1Response from eZmaxApi.models.ezsignfolder_reorder_v1_request import EzsignfolderReorderV1Request +from eZmaxApi.models.ezsignfolder_reorder_v1_response import EzsignfolderReorderV1Response from eZmaxApi.models.ezsignfolder_reorder_v2_request import EzsignfolderReorderV2Request +from eZmaxApi.models.ezsignfolder_reorder_v2_response import EzsignfolderReorderV2Response from eZmaxApi.models.ezsignfolder_send_v1_request import EzsignfolderSendV1Request +from eZmaxApi.models.ezsignfolder_send_v1_response import EzsignfolderSendV1Response from eZmaxApi.models.ezsignfolder_send_v3_request import EzsignfolderSendV3Request +from eZmaxApi.models.ezsignfolder_send_v3_response import EzsignfolderSendV3Response +from eZmaxApi.models.ezsignfolder_unsend_v1_response import EzsignfolderUnsendV1Response from eZmaxApi.models.header_accept_language import HeaderAcceptLanguage from eZmaxApi.api_client import ApiClient, RequestSerialized @@ -90,7 +100,7 @@ def ezsignfolder_archive_v1( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> CommonResponse: + ) -> EzsignfolderArchiveV1Response: """Archive the Ezsignfolder @@ -163,7 +173,7 @@ def ezsignfolder_archive_v1_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[CommonResponse]: + ) -> ApiResponse[EzsignfolderArchiveV1Response]: """Archive the Ezsignfolder @@ -1509,7 +1519,7 @@ def ezsignfolder_delete_object_v1( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> CommonResponse: + ) -> EzsignfolderDeleteObjectV1Response: """Delete an existing Ezsignfolder @@ -1577,7 +1587,7 @@ def ezsignfolder_delete_object_v1_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[CommonResponse]: + ) -> ApiResponse[EzsignfolderDeleteObjectV1Response]: """Delete an existing Ezsignfolder @@ -1773,7 +1783,7 @@ def ezsignfolder_dispose_ezsignfolders_v1( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> CommonResponse: + ) -> EzsignfolderDisposeEzsignfoldersV1Response: """Dispose Ezsignfolders @@ -1842,7 +1852,7 @@ def ezsignfolder_dispose_ezsignfolders_v1_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[CommonResponse]: + ) -> ApiResponse[EzsignfolderDisposeEzsignfoldersV1Response]: """Dispose Ezsignfolders @@ -2054,7 +2064,7 @@ def ezsignfolder_dispose_v1( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> CommonResponse: + ) -> EzsignfolderDisposeV1Response: """Dispose the Ezsignfolder @@ -2127,7 +2137,7 @@ def ezsignfolder_dispose_v1_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[CommonResponse]: + ) -> ApiResponse[EzsignfolderDisposeV1Response]: """Dispose the Ezsignfolder @@ -2349,7 +2359,7 @@ def ezsignfolder_edit_object_v3( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> CommonResponse: + ) -> EzsignfolderEditObjectV3Response: """Edit an existing Ezsignfolder @@ -2422,7 +2432,7 @@ def ezsignfolder_edit_object_v3_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[CommonResponse]: + ) -> ApiResponse[EzsignfolderEditObjectV3Response]: """Edit an existing Ezsignfolder @@ -2644,7 +2654,7 @@ def ezsignfolder_end_prematurely_v1( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> CommonResponse: + ) -> EzsignfolderEndPrematurelyV1Response: """End prematurely End prematurely all Ezsigndocument of Ezsignfolder when some signatures are still required @@ -2717,7 +2727,7 @@ def ezsignfolder_end_prematurely_v1_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[CommonResponse]: + ) -> ApiResponse[EzsignfolderEndPrematurelyV1Response]: """End prematurely End prematurely all Ezsigndocument of Ezsignfolder when some signatures are still required @@ -7574,7 +7584,7 @@ def ezsignfolder_reorder_v1( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> CommonResponse: + ) -> EzsignfolderReorderV1Response: """(Deprecated) Reorder Ezsigndocuments in the Ezsignfolder @@ -7647,7 +7657,7 @@ def ezsignfolder_reorder_v1_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[CommonResponse]: + ) -> ApiResponse[EzsignfolderReorderV1Response]: """(Deprecated) Reorder Ezsigndocuments in the Ezsignfolder @@ -7869,7 +7879,7 @@ def ezsignfolder_reorder_v2( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> CommonResponse: + ) -> EzsignfolderReorderV2Response: """Reorder Ezsigndocuments in the Ezsignfolder @@ -7941,7 +7951,7 @@ def ezsignfolder_reorder_v2_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[CommonResponse]: + ) -> ApiResponse[EzsignfolderReorderV2Response]: """Reorder Ezsigndocuments in the Ezsignfolder @@ -8161,7 +8171,7 @@ def ezsignfolder_send_v1( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> CommonResponse: + ) -> EzsignfolderSendV1Response: """(Deprecated) Send the Ezsignfolder to the signatories for signature @@ -8235,7 +8245,7 @@ def ezsignfolder_send_v1_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[CommonResponse]: + ) -> ApiResponse[EzsignfolderSendV1Response]: """(Deprecated) Send the Ezsignfolder to the signatories for signature @@ -8459,7 +8469,7 @@ def ezsignfolder_send_v3( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> CommonResponse: + ) -> EzsignfolderSendV3Response: """Send the Ezsignfolder to the signatories for signature @@ -8532,7 +8542,7 @@ def ezsignfolder_send_v3_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[CommonResponse]: + ) -> ApiResponse[EzsignfolderSendV3Response]: """Send the Ezsignfolder to the signatories for signature @@ -8754,7 +8764,7 @@ def ezsignfolder_unsend_v1( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> CommonResponse: + ) -> EzsignfolderUnsendV1Response: """Unsend the Ezsignfolder Once an Ezsignfolder has been sent to signatories, it cannot be modified. Using this endpoint, you can unsend the Ezsignfolder and make it modifiable again. Signatories will receive an email informing them the signature process was aborted and they might receive a new invitation to sign. ⚠️ Warning: Any signature previously made by signatories on \"Non-completed\" Ezsigndocuments will be lost. @@ -8827,7 +8837,7 @@ def ezsignfolder_unsend_v1_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[CommonResponse]: + ) -> ApiResponse[EzsignfolderUnsendV1Response]: """Unsend the Ezsignfolder Once an Ezsignfolder has been sent to signatories, it cannot be modified. Using this endpoint, you can unsend the Ezsignfolder and make it modifiable again. Signatories will receive an email informing them the signature process was aborted and they might receive a new invitation to sign. ⚠️ Warning: Any signature previously made by signatories on \"Non-completed\" Ezsigndocuments will be lost. diff --git a/eZmaxApi/api/object_ezsignfoldersignerassociation_api.py b/eZmaxApi/api/object_ezsignfoldersignerassociation_api.py index 06e6870cf..cd7e3d775 100644 --- a/eZmaxApi/api/object_ezsignfoldersignerassociation_api.py +++ b/eZmaxApi/api/object_ezsignfoldersignerassociation_api.py @@ -20,19 +20,23 @@ from pydantic import Field from typing import Any, Dict, List from typing_extensions import Annotated -from eZmaxApi.models.common_response import CommonResponse from eZmaxApi.models.ezsignfoldersignerassociation_create_embedded_url_v1_request import EzsignfoldersignerassociationCreateEmbeddedUrlV1Request from eZmaxApi.models.ezsignfoldersignerassociation_create_embedded_url_v1_response import EzsignfoldersignerassociationCreateEmbeddedUrlV1Response from eZmaxApi.models.ezsignfoldersignerassociation_create_object_v1_request import EzsignfoldersignerassociationCreateObjectV1Request from eZmaxApi.models.ezsignfoldersignerassociation_create_object_v1_response import EzsignfoldersignerassociationCreateObjectV1Response from eZmaxApi.models.ezsignfoldersignerassociation_create_object_v2_request import EzsignfoldersignerassociationCreateObjectV2Request from eZmaxApi.models.ezsignfoldersignerassociation_create_object_v2_response import EzsignfoldersignerassociationCreateObjectV2Response +from eZmaxApi.models.ezsignfoldersignerassociation_delete_object_v1_response import EzsignfoldersignerassociationDeleteObjectV1Response from eZmaxApi.models.ezsignfoldersignerassociation_edit_object_v1_request import EzsignfoldersignerassociationEditObjectV1Request +from eZmaxApi.models.ezsignfoldersignerassociation_edit_object_v1_response import EzsignfoldersignerassociationEditObjectV1Response +from eZmaxApi.models.ezsignfoldersignerassociation_force_disconnect_v1_response import EzsignfoldersignerassociationForceDisconnectV1Response from eZmaxApi.models.ezsignfoldersignerassociation_get_in_person_login_url_v1_response import EzsignfoldersignerassociationGetInPersonLoginUrlV1Response from eZmaxApi.models.ezsignfoldersignerassociation_get_object_v1_response import EzsignfoldersignerassociationGetObjectV1Response from eZmaxApi.models.ezsignfoldersignerassociation_get_object_v2_response import EzsignfoldersignerassociationGetObjectV2Response from eZmaxApi.models.ezsignfoldersignerassociation_patch_object_v1_request import EzsignfoldersignerassociationPatchObjectV1Request +from eZmaxApi.models.ezsignfoldersignerassociation_patch_object_v1_response import EzsignfoldersignerassociationPatchObjectV1Response from eZmaxApi.models.ezsignfoldersignerassociation_reassign_v1_request import EzsignfoldersignerassociationReassignV1Request +from eZmaxApi.models.ezsignfoldersignerassociation_reassign_v1_response import EzsignfoldersignerassociationReassignV1Response from eZmaxApi.api_client import ApiClient, RequestSerialized from eZmaxApi.api_response import ApiResponse @@ -915,7 +919,7 @@ def ezsignfoldersignerassociation_delete_object_v1( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> CommonResponse: + ) -> EzsignfoldersignerassociationDeleteObjectV1Response: """Delete an existing Ezsignfoldersignerassociation @@ -984,7 +988,7 @@ def ezsignfoldersignerassociation_delete_object_v1_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[CommonResponse]: + ) -> ApiResponse[EzsignfoldersignerassociationDeleteObjectV1Response]: """Delete an existing Ezsignfoldersignerassociation @@ -1183,7 +1187,7 @@ def ezsignfoldersignerassociation_edit_object_v1( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> CommonResponse: + ) -> EzsignfoldersignerassociationEditObjectV1Response: """Edit an existing Ezsignfoldersignerassociation @@ -1256,7 +1260,7 @@ def ezsignfoldersignerassociation_edit_object_v1_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[CommonResponse]: + ) -> ApiResponse[EzsignfoldersignerassociationEditObjectV1Response]: """Edit an existing Ezsignfoldersignerassociation @@ -1478,7 +1482,7 @@ def ezsignfoldersignerassociation_force_disconnect_v1( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> CommonResponse: + ) -> EzsignfoldersignerassociationForceDisconnectV1Response: """Disconnects the Ezsignfoldersignerassociation @@ -1551,7 +1555,7 @@ def ezsignfoldersignerassociation_force_disconnect_v1_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[CommonResponse]: + ) -> ApiResponse[EzsignfoldersignerassociationForceDisconnectV1Response]: """Disconnects the Ezsignfoldersignerassociation @@ -2571,7 +2575,7 @@ def ezsignfoldersignerassociation_patch_object_v1( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> CommonResponse: + ) -> EzsignfoldersignerassociationPatchObjectV1Response: """Patch an existing Ezsignfoldersignerassociation @@ -2643,7 +2647,7 @@ def ezsignfoldersignerassociation_patch_object_v1_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[CommonResponse]: + ) -> ApiResponse[EzsignfoldersignerassociationPatchObjectV1Response]: """Patch an existing Ezsignfoldersignerassociation @@ -2863,7 +2867,7 @@ def ezsignfoldersignerassociation_reassign_v1( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> CommonResponse: + ) -> EzsignfoldersignerassociationReassignV1Response: """Reassign remaining unsigned signatures and forms Reassign remaining unsigned signatures and forms @@ -2936,7 +2940,7 @@ def ezsignfoldersignerassociation_reassign_v1_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[CommonResponse]: + ) -> ApiResponse[EzsignfoldersignerassociationReassignV1Response]: """Reassign remaining unsigned signatures and forms Reassign remaining unsigned signatures and forms diff --git a/eZmaxApi/api/object_ezsignfoldertype_api.py b/eZmaxApi/api/object_ezsignfoldertype_api.py index d8e029cc1..8856b3588 100644 --- a/eZmaxApi/api/object_ezsignfoldertype_api.py +++ b/eZmaxApi/api/object_ezsignfoldertype_api.py @@ -20,10 +20,10 @@ from pydantic import Field, StrictStr, field_validator from typing import Optional from typing_extensions import Annotated -from eZmaxApi.models.common_response import CommonResponse from eZmaxApi.models.ezsignfoldertype_create_object_v3_request import EzsignfoldertypeCreateObjectV3Request from eZmaxApi.models.ezsignfoldertype_create_object_v3_response import EzsignfoldertypeCreateObjectV3Response from eZmaxApi.models.ezsignfoldertype_edit_object_v3_request import EzsignfoldertypeEditObjectV3Request +from eZmaxApi.models.ezsignfoldertype_edit_object_v3_response import EzsignfoldertypeEditObjectV3Response from eZmaxApi.models.ezsignfoldertype_get_autocomplete_v2_response import EzsignfoldertypeGetAutocompleteV2Response from eZmaxApi.models.ezsignfoldertype_get_list_v1_response import EzsignfoldertypeGetListV1Response from eZmaxApi.models.ezsignfoldertype_get_object_v2_response import EzsignfoldertypeGetObjectV2Response @@ -339,7 +339,7 @@ def ezsignfoldertype_edit_object_v3( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> CommonResponse: + ) -> EzsignfoldertypeEditObjectV3Response: """Edit an existing Ezsignfoldertype @@ -412,7 +412,7 @@ def ezsignfoldertype_edit_object_v3_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[CommonResponse]: + ) -> ApiResponse[EzsignfoldertypeEditObjectV3Response]: """Edit an existing Ezsignfoldertype diff --git a/eZmaxApi/api/object_ezsignformfieldgroup_api.py b/eZmaxApi/api/object_ezsignformfieldgroup_api.py index 679142ec7..2eb0af6f7 100644 --- a/eZmaxApi/api/object_ezsignformfieldgroup_api.py +++ b/eZmaxApi/api/object_ezsignformfieldgroup_api.py @@ -19,10 +19,11 @@ from pydantic import Field from typing_extensions import Annotated -from eZmaxApi.models.common_response import CommonResponse from eZmaxApi.models.ezsignformfieldgroup_create_object_v1_request import EzsignformfieldgroupCreateObjectV1Request from eZmaxApi.models.ezsignformfieldgroup_create_object_v1_response import EzsignformfieldgroupCreateObjectV1Response +from eZmaxApi.models.ezsignformfieldgroup_delete_object_v1_response import EzsignformfieldgroupDeleteObjectV1Response from eZmaxApi.models.ezsignformfieldgroup_edit_object_v1_request import EzsignformfieldgroupEditObjectV1Request +from eZmaxApi.models.ezsignformfieldgroup_edit_object_v1_response import EzsignformfieldgroupEditObjectV1Response from eZmaxApi.models.ezsignformfieldgroup_get_object_v2_response import EzsignformfieldgroupGetObjectV2Response from eZmaxApi.api_client import ApiClient, RequestSerialized @@ -333,7 +334,7 @@ def ezsignformfieldgroup_delete_object_v1( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> CommonResponse: + ) -> EzsignformfieldgroupDeleteObjectV1Response: """Delete an existing Ezsignformfieldgroup @@ -402,7 +403,7 @@ def ezsignformfieldgroup_delete_object_v1_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[CommonResponse]: + ) -> ApiResponse[EzsignformfieldgroupDeleteObjectV1Response]: """Delete an existing Ezsignformfieldgroup @@ -601,7 +602,7 @@ def ezsignformfieldgroup_edit_object_v1( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> CommonResponse: + ) -> EzsignformfieldgroupEditObjectV1Response: """Edit an existing Ezsignformfieldgroup @@ -674,7 +675,7 @@ def ezsignformfieldgroup_edit_object_v1_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[CommonResponse]: + ) -> ApiResponse[EzsignformfieldgroupEditObjectV1Response]: """Edit an existing Ezsignformfieldgroup diff --git a/eZmaxApi/api/object_ezsignpage_api.py b/eZmaxApi/api/object_ezsignpage_api.py index 404ef625a..8cb499547 100644 --- a/eZmaxApi/api/object_ezsignpage_api.py +++ b/eZmaxApi/api/object_ezsignpage_api.py @@ -20,7 +20,7 @@ from pydantic import Field from typing import Any, Dict from typing_extensions import Annotated -from eZmaxApi.models.common_response import CommonResponse +from eZmaxApi.models.ezsignpage_consult_v1_response import EzsignpageConsultV1Response from eZmaxApi.api_client import ApiClient, RequestSerialized from eZmaxApi.api_response import ApiResponse @@ -57,7 +57,7 @@ def ezsignpage_consult_v1( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> CommonResponse: + ) -> EzsignpageConsultV1Response: """Consult an Ezsignpage @@ -129,7 +129,7 @@ def ezsignpage_consult_v1_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[CommonResponse]: + ) -> ApiResponse[EzsignpageConsultV1Response]: """Consult an Ezsignpage diff --git a/eZmaxApi/api/object_ezsignsignature_api.py b/eZmaxApi/api/object_ezsignsignature_api.py index 7d3a1d2a0..0c5353326 100644 --- a/eZmaxApi/api/object_ezsignsignature_api.py +++ b/eZmaxApi/api/object_ezsignsignature_api.py @@ -20,14 +20,15 @@ from pydantic import Field from typing import List from typing_extensions import Annotated -from eZmaxApi.models.common_response import CommonResponse from eZmaxApi.models.ezsignsignature_create_object_v1_request import EzsignsignatureCreateObjectV1Request from eZmaxApi.models.ezsignsignature_create_object_v1_response import EzsignsignatureCreateObjectV1Response from eZmaxApi.models.ezsignsignature_create_object_v2_request import EzsignsignatureCreateObjectV2Request from eZmaxApi.models.ezsignsignature_create_object_v2_response import EzsignsignatureCreateObjectV2Response from eZmaxApi.models.ezsignsignature_create_object_v3_request import EzsignsignatureCreateObjectV3Request from eZmaxApi.models.ezsignsignature_create_object_v3_response import EzsignsignatureCreateObjectV3Response +from eZmaxApi.models.ezsignsignature_delete_object_v1_response import EzsignsignatureDeleteObjectV1Response from eZmaxApi.models.ezsignsignature_edit_object_v2_request import EzsignsignatureEditObjectV2Request +from eZmaxApi.models.ezsignsignature_edit_object_v2_response import EzsignsignatureEditObjectV2Response from eZmaxApi.models.ezsignsignature_get_ezsignsignatureattachment_v1_response import EzsignsignatureGetEzsignsignatureattachmentV1Response from eZmaxApi.models.ezsignsignature_get_ezsignsignatures_automatic_v1_response import EzsignsignatureGetEzsignsignaturesAutomaticV1Response from eZmaxApi.models.ezsignsignature_get_object_v3_response import EzsignsignatureGetObjectV3Response @@ -897,7 +898,7 @@ def ezsignsignature_delete_object_v1( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> CommonResponse: + ) -> EzsignsignatureDeleteObjectV1Response: """Delete an existing Ezsignsignature @@ -966,7 +967,7 @@ def ezsignsignature_delete_object_v1_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[CommonResponse]: + ) -> ApiResponse[EzsignsignatureDeleteObjectV1Response]: """Delete an existing Ezsignsignature @@ -1165,7 +1166,7 @@ def ezsignsignature_edit_object_v2( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> CommonResponse: + ) -> EzsignsignatureEditObjectV2Response: """Edit an existing Ezsignsignature @@ -1238,7 +1239,7 @@ def ezsignsignature_edit_object_v2_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[CommonResponse]: + ) -> ApiResponse[EzsignsignatureEditObjectV2Response]: """Edit an existing Ezsignsignature diff --git a/eZmaxApi/api/object_ezsignsignergroup_api.py b/eZmaxApi/api/object_ezsignsignergroup_api.py index 8177df4d8..35baf7ad5 100644 --- a/eZmaxApi/api/object_ezsignsignergroup_api.py +++ b/eZmaxApi/api/object_ezsignsignergroup_api.py @@ -19,12 +19,13 @@ from pydantic import Field from typing_extensions import Annotated -from eZmaxApi.models.common_response import CommonResponse from eZmaxApi.models.ezsignsignergroup_create_object_v1_request import EzsignsignergroupCreateObjectV1Request from eZmaxApi.models.ezsignsignergroup_create_object_v1_response import EzsignsignergroupCreateObjectV1Response +from eZmaxApi.models.ezsignsignergroup_delete_object_v1_response import EzsignsignergroupDeleteObjectV1Response from eZmaxApi.models.ezsignsignergroup_edit_ezsignsignergroupmemberships_v1_request import EzsignsignergroupEditEzsignsignergroupmembershipsV1Request from eZmaxApi.models.ezsignsignergroup_edit_ezsignsignergroupmemberships_v1_response import EzsignsignergroupEditEzsignsignergroupmembershipsV1Response from eZmaxApi.models.ezsignsignergroup_edit_object_v1_request import EzsignsignergroupEditObjectV1Request +from eZmaxApi.models.ezsignsignergroup_edit_object_v1_response import EzsignsignergroupEditObjectV1Response from eZmaxApi.models.ezsignsignergroup_get_ezsignsignergroupmemberships_v1_response import EzsignsignergroupGetEzsignsignergroupmembershipsV1Response from eZmaxApi.models.ezsignsignergroup_get_object_v2_response import EzsignsignergroupGetObjectV2Response @@ -336,7 +337,7 @@ def ezsignsignergroup_delete_object_v1( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> CommonResponse: + ) -> EzsignsignergroupDeleteObjectV1Response: """Delete an existing Ezsignsignergroup @@ -404,7 +405,7 @@ def ezsignsignergroup_delete_object_v1_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[CommonResponse]: + ) -> ApiResponse[EzsignsignergroupDeleteObjectV1Response]: """Delete an existing Ezsignsignergroup @@ -896,7 +897,7 @@ def ezsignsignergroup_edit_object_v1( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> CommonResponse: + ) -> EzsignsignergroupEditObjectV1Response: """Edit an existing Ezsignsignergroup @@ -968,7 +969,7 @@ def ezsignsignergroup_edit_object_v1_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[CommonResponse]: + ) -> ApiResponse[EzsignsignergroupEditObjectV1Response]: """Edit an existing Ezsignsignergroup diff --git a/eZmaxApi/api/object_ezsignsignergroupmembership_api.py b/eZmaxApi/api/object_ezsignsignergroupmembership_api.py index 44bfb6c3b..73fbf2d73 100644 --- a/eZmaxApi/api/object_ezsignsignergroupmembership_api.py +++ b/eZmaxApi/api/object_ezsignsignergroupmembership_api.py @@ -19,9 +19,9 @@ from pydantic import Field from typing_extensions import Annotated -from eZmaxApi.models.common_response import CommonResponse from eZmaxApi.models.ezsignsignergroupmembership_create_object_v1_request import EzsignsignergroupmembershipCreateObjectV1Request from eZmaxApi.models.ezsignsignergroupmembership_create_object_v1_response import EzsignsignergroupmembershipCreateObjectV1Response +from eZmaxApi.models.ezsignsignergroupmembership_delete_object_v1_response import EzsignsignergroupmembershipDeleteObjectV1Response from eZmaxApi.models.ezsignsignergroupmembership_get_object_v2_response import EzsignsignergroupmembershipGetObjectV2Response from eZmaxApi.api_client import ApiClient, RequestSerialized @@ -332,7 +332,7 @@ def ezsignsignergroupmembership_delete_object_v1( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> CommonResponse: + ) -> EzsignsignergroupmembershipDeleteObjectV1Response: """Delete an existing Ezsignsignergroupmembership @@ -400,7 +400,7 @@ def ezsignsignergroupmembership_delete_object_v1_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[CommonResponse]: + ) -> ApiResponse[EzsignsignergroupmembershipDeleteObjectV1Response]: """Delete an existing Ezsignsignergroupmembership diff --git a/eZmaxApi/api/object_ezsignsigningreason_api.py b/eZmaxApi/api/object_ezsignsigningreason_api.py index 1d5c9517d..897840433 100644 --- a/eZmaxApi/api/object_ezsignsigningreason_api.py +++ b/eZmaxApi/api/object_ezsignsigningreason_api.py @@ -20,10 +20,10 @@ from pydantic import Field, StrictStr, field_validator from typing import Optional from typing_extensions import Annotated -from eZmaxApi.models.common_response import CommonResponse from eZmaxApi.models.ezsignsigningreason_create_object_v1_request import EzsignsigningreasonCreateObjectV1Request from eZmaxApi.models.ezsignsigningreason_create_object_v1_response import EzsignsigningreasonCreateObjectV1Response from eZmaxApi.models.ezsignsigningreason_edit_object_v1_request import EzsignsigningreasonEditObjectV1Request +from eZmaxApi.models.ezsignsigningreason_edit_object_v1_response import EzsignsigningreasonEditObjectV1Response from eZmaxApi.models.ezsignsigningreason_get_autocomplete_v2_response import EzsignsigningreasonGetAutocompleteV2Response from eZmaxApi.models.ezsignsigningreason_get_list_v1_response import EzsignsigningreasonGetListV1Response from eZmaxApi.models.ezsignsigningreason_get_object_v2_response import EzsignsigningreasonGetObjectV2Response @@ -338,7 +338,7 @@ def ezsignsigningreason_edit_object_v1( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> CommonResponse: + ) -> EzsignsigningreasonEditObjectV1Response: """Edit an existing Ezsignsigningreason @@ -411,7 +411,7 @@ def ezsignsigningreason_edit_object_v1_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[CommonResponse]: + ) -> ApiResponse[EzsignsigningreasonEditObjectV1Response]: """Edit an existing Ezsignsigningreason diff --git a/eZmaxApi/api/object_ezsigntemplate_api.py b/eZmaxApi/api/object_ezsigntemplate_api.py index c5b449fc1..70adf9bc8 100644 --- a/eZmaxApi/api/object_ezsigntemplate_api.py +++ b/eZmaxApi/api/object_ezsigntemplate_api.py @@ -20,12 +20,13 @@ from pydantic import Field, StrictInt, StrictStr, field_validator from typing import Optional from typing_extensions import Annotated -from eZmaxApi.models.common_response import CommonResponse from eZmaxApi.models.ezsigntemplate_copy_v1_request import EzsigntemplateCopyV1Request from eZmaxApi.models.ezsigntemplate_copy_v1_response import EzsigntemplateCopyV1Response from eZmaxApi.models.ezsigntemplate_create_object_v3_request import EzsigntemplateCreateObjectV3Request from eZmaxApi.models.ezsigntemplate_create_object_v3_response import EzsigntemplateCreateObjectV3Response +from eZmaxApi.models.ezsigntemplate_delete_object_v1_response import EzsigntemplateDeleteObjectV1Response from eZmaxApi.models.ezsigntemplate_edit_object_v3_request import EzsigntemplateEditObjectV3Request +from eZmaxApi.models.ezsigntemplate_edit_object_v3_response import EzsigntemplateEditObjectV3Response from eZmaxApi.models.ezsigntemplate_get_autocomplete_v2_response import EzsigntemplateGetAutocompleteV2Response from eZmaxApi.models.ezsigntemplate_get_list_v1_response import EzsigntemplateGetListV1Response from eZmaxApi.models.ezsigntemplate_get_object_v3_response import EzsigntemplateGetObjectV3Response @@ -631,7 +632,7 @@ def ezsigntemplate_delete_object_v1( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> CommonResponse: + ) -> EzsigntemplateDeleteObjectV1Response: """Delete an existing Ezsigntemplate @@ -699,7 +700,7 @@ def ezsigntemplate_delete_object_v1_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[CommonResponse]: + ) -> ApiResponse[EzsigntemplateDeleteObjectV1Response]: """Delete an existing Ezsigntemplate @@ -896,7 +897,7 @@ def ezsigntemplate_edit_object_v3( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> CommonResponse: + ) -> EzsigntemplateEditObjectV3Response: """Edit an existing Ezsigntemplate @@ -969,7 +970,7 @@ def ezsigntemplate_edit_object_v3_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[CommonResponse]: + ) -> ApiResponse[EzsigntemplateEditObjectV3Response]: """Edit an existing Ezsigntemplate diff --git a/eZmaxApi/api/object_ezsigntemplatedocument_api.py b/eZmaxApi/api/object_ezsigntemplatedocument_api.py index 89b17e456..423ae8686 100644 --- a/eZmaxApi/api/object_ezsigntemplatedocument_api.py +++ b/eZmaxApi/api/object_ezsigntemplatedocument_api.py @@ -20,7 +20,6 @@ from pydantic import Field from typing import Any, Dict from typing_extensions import Annotated -from eZmaxApi.models.common_response import CommonResponse from eZmaxApi.models.ezsigntemplatedocument_create_object_v1_request import EzsigntemplatedocumentCreateObjectV1Request from eZmaxApi.models.ezsigntemplatedocument_create_object_v1_response import EzsigntemplatedocumentCreateObjectV1Response from eZmaxApi.models.ezsigntemplatedocument_edit_ezsigntemplatedocumentpagerecognitions_v1_request import EzsigntemplatedocumentEditEzsigntemplatedocumentpagerecognitionsV1Request @@ -33,6 +32,7 @@ from eZmaxApi.models.ezsigntemplatedocument_edit_object_v1_response import EzsigntemplatedocumentEditObjectV1Response from eZmaxApi.models.ezsigntemplatedocument_extract_text_v1_request import EzsigntemplatedocumentExtractTextV1Request from eZmaxApi.models.ezsigntemplatedocument_extract_text_v1_response import EzsigntemplatedocumentExtractTextV1Response +from eZmaxApi.models.ezsigntemplatedocument_flatten_v1_response import EzsigntemplatedocumentFlattenV1Response from eZmaxApi.models.ezsigntemplatedocument_get_ezsigntemplatedocumentpagerecognitions_v1_response import EzsigntemplatedocumentGetEzsigntemplatedocumentpagerecognitionsV1Response from eZmaxApi.models.ezsigntemplatedocument_get_ezsigntemplatedocumentpages_v1_response import EzsigntemplatedocumentGetEzsigntemplatedocumentpagesV1Response from eZmaxApi.models.ezsigntemplatedocument_get_ezsigntemplateformfieldgroups_v1_response import EzsigntemplatedocumentGetEzsigntemplateformfieldgroupsV1Response @@ -41,6 +41,7 @@ from eZmaxApi.models.ezsigntemplatedocument_get_words_positions_v1_request import EzsigntemplatedocumentGetWordsPositionsV1Request from eZmaxApi.models.ezsigntemplatedocument_get_words_positions_v1_response import EzsigntemplatedocumentGetWordsPositionsV1Response from eZmaxApi.models.ezsigntemplatedocument_patch_object_v1_request import EzsigntemplatedocumentPatchObjectV1Request +from eZmaxApi.models.ezsigntemplatedocument_patch_object_v1_response import EzsigntemplatedocumentPatchObjectV1Response from eZmaxApi.api_client import ApiClient, RequestSerialized from eZmaxApi.api_response import ApiResponse @@ -1832,7 +1833,7 @@ def ezsigntemplatedocument_flatten_v1( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> CommonResponse: + ) -> EzsigntemplatedocumentFlattenV1Response: """Flatten Flatten an Ezsigntemplatedocument signatures, forms and annotations. This process finalizes the PDF so that the forms and annotations become part of the document content and cannot be edited. @@ -1905,7 +1906,7 @@ def ezsigntemplatedocument_flatten_v1_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[CommonResponse]: + ) -> ApiResponse[EzsigntemplatedocumentFlattenV1Response]: """Flatten Flatten an Ezsigntemplatedocument signatures, forms and annotations. This process finalizes the PDF so that the forms and annotations become part of the document content and cannot be edited. @@ -3748,7 +3749,7 @@ def ezsigntemplatedocument_patch_object_v1( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> CommonResponse: + ) -> EzsigntemplatedocumentPatchObjectV1Response: """Patch an existing Ezsigntemplatedocument @@ -3820,7 +3821,7 @@ def ezsigntemplatedocument_patch_object_v1_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[CommonResponse]: + ) -> ApiResponse[EzsigntemplatedocumentPatchObjectV1Response]: """Patch an existing Ezsigntemplatedocument diff --git a/eZmaxApi/api/object_ezsigntemplatedocumentpagerecognition_api.py b/eZmaxApi/api/object_ezsigntemplatedocumentpagerecognition_api.py index 5f2621029..0df78ac37 100644 --- a/eZmaxApi/api/object_ezsigntemplatedocumentpagerecognition_api.py +++ b/eZmaxApi/api/object_ezsigntemplatedocumentpagerecognition_api.py @@ -19,10 +19,11 @@ from pydantic import Field from typing_extensions import Annotated -from eZmaxApi.models.common_response import CommonResponse from eZmaxApi.models.ezsigntemplatedocumentpagerecognition_create_object_v1_request import EzsigntemplatedocumentpagerecognitionCreateObjectV1Request from eZmaxApi.models.ezsigntemplatedocumentpagerecognition_create_object_v1_response import EzsigntemplatedocumentpagerecognitionCreateObjectV1Response +from eZmaxApi.models.ezsigntemplatedocumentpagerecognition_delete_object_v1_response import EzsigntemplatedocumentpagerecognitionDeleteObjectV1Response from eZmaxApi.models.ezsigntemplatedocumentpagerecognition_edit_object_v1_request import EzsigntemplatedocumentpagerecognitionEditObjectV1Request +from eZmaxApi.models.ezsigntemplatedocumentpagerecognition_edit_object_v1_response import EzsigntemplatedocumentpagerecognitionEditObjectV1Response from eZmaxApi.models.ezsigntemplatedocumentpagerecognition_get_object_v2_response import EzsigntemplatedocumentpagerecognitionGetObjectV2Response from eZmaxApi.api_client import ApiClient, RequestSerialized @@ -333,7 +334,7 @@ def ezsigntemplatedocumentpagerecognition_delete_object_v1( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> CommonResponse: + ) -> EzsigntemplatedocumentpagerecognitionDeleteObjectV1Response: """Delete an existing Ezsigntemplatedocumentpagerecognition @@ -401,7 +402,7 @@ def ezsigntemplatedocumentpagerecognition_delete_object_v1_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[CommonResponse]: + ) -> ApiResponse[EzsigntemplatedocumentpagerecognitionDeleteObjectV1Response]: """Delete an existing Ezsigntemplatedocumentpagerecognition @@ -598,7 +599,7 @@ def ezsigntemplatedocumentpagerecognition_edit_object_v1( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> CommonResponse: + ) -> EzsigntemplatedocumentpagerecognitionEditObjectV1Response: """Edit an existing Ezsigntemplatedocumentpagerecognition @@ -671,7 +672,7 @@ def ezsigntemplatedocumentpagerecognition_edit_object_v1_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[CommonResponse]: + ) -> ApiResponse[EzsigntemplatedocumentpagerecognitionEditObjectV1Response]: """Edit an existing Ezsigntemplatedocumentpagerecognition diff --git a/eZmaxApi/api/object_ezsigntemplateformfieldgroup_api.py b/eZmaxApi/api/object_ezsigntemplateformfieldgroup_api.py index a0123dfcc..d03cccfb1 100644 --- a/eZmaxApi/api/object_ezsigntemplateformfieldgroup_api.py +++ b/eZmaxApi/api/object_ezsigntemplateformfieldgroup_api.py @@ -19,10 +19,11 @@ from pydantic import Field from typing_extensions import Annotated -from eZmaxApi.models.common_response import CommonResponse from eZmaxApi.models.ezsigntemplateformfieldgroup_create_object_v1_request import EzsigntemplateformfieldgroupCreateObjectV1Request from eZmaxApi.models.ezsigntemplateformfieldgroup_create_object_v1_response import EzsigntemplateformfieldgroupCreateObjectV1Response +from eZmaxApi.models.ezsigntemplateformfieldgroup_delete_object_v1_response import EzsigntemplateformfieldgroupDeleteObjectV1Response from eZmaxApi.models.ezsigntemplateformfieldgroup_edit_object_v1_request import EzsigntemplateformfieldgroupEditObjectV1Request +from eZmaxApi.models.ezsigntemplateformfieldgroup_edit_object_v1_response import EzsigntemplateformfieldgroupEditObjectV1Response from eZmaxApi.models.ezsigntemplateformfieldgroup_get_object_v2_response import EzsigntemplateformfieldgroupGetObjectV2Response from eZmaxApi.api_client import ApiClient, RequestSerialized @@ -333,7 +334,7 @@ def ezsigntemplateformfieldgroup_delete_object_v1( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> CommonResponse: + ) -> EzsigntemplateformfieldgroupDeleteObjectV1Response: """Delete an existing Ezsigntemplateformfieldgroup @@ -401,7 +402,7 @@ def ezsigntemplateformfieldgroup_delete_object_v1_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[CommonResponse]: + ) -> ApiResponse[EzsigntemplateformfieldgroupDeleteObjectV1Response]: """Delete an existing Ezsigntemplateformfieldgroup @@ -598,7 +599,7 @@ def ezsigntemplateformfieldgroup_edit_object_v1( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> CommonResponse: + ) -> EzsigntemplateformfieldgroupEditObjectV1Response: """Edit an existing Ezsigntemplateformfieldgroup @@ -671,7 +672,7 @@ def ezsigntemplateformfieldgroup_edit_object_v1_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[CommonResponse]: + ) -> ApiResponse[EzsigntemplateformfieldgroupEditObjectV1Response]: """Edit an existing Ezsigntemplateformfieldgroup diff --git a/eZmaxApi/api/object_ezsigntemplatepackage_api.py b/eZmaxApi/api/object_ezsigntemplatepackage_api.py index e8c12170a..b92a99b5d 100644 --- a/eZmaxApi/api/object_ezsigntemplatepackage_api.py +++ b/eZmaxApi/api/object_ezsigntemplatepackage_api.py @@ -20,12 +20,13 @@ from pydantic import Field, StrictInt, StrictStr, field_validator from typing import Optional from typing_extensions import Annotated -from eZmaxApi.models.common_response import CommonResponse from eZmaxApi.models.ezsigntemplatepackage_create_object_v1_request import EzsigntemplatepackageCreateObjectV1Request from eZmaxApi.models.ezsigntemplatepackage_create_object_v1_response import EzsigntemplatepackageCreateObjectV1Response +from eZmaxApi.models.ezsigntemplatepackage_delete_object_v1_response import EzsigntemplatepackageDeleteObjectV1Response from eZmaxApi.models.ezsigntemplatepackage_edit_ezsigntemplatepackagesigners_v1_request import EzsigntemplatepackageEditEzsigntemplatepackagesignersV1Request from eZmaxApi.models.ezsigntemplatepackage_edit_ezsigntemplatepackagesigners_v1_response import EzsigntemplatepackageEditEzsigntemplatepackagesignersV1Response from eZmaxApi.models.ezsigntemplatepackage_edit_object_v1_request import EzsigntemplatepackageEditObjectV1Request +from eZmaxApi.models.ezsigntemplatepackage_edit_object_v1_response import EzsigntemplatepackageEditObjectV1Response from eZmaxApi.models.ezsigntemplatepackage_get_autocomplete_v2_response import EzsigntemplatepackageGetAutocompleteV2Response from eZmaxApi.models.ezsigntemplatepackage_get_list_v1_response import EzsigntemplatepackageGetListV1Response from eZmaxApi.models.ezsigntemplatepackage_get_object_v2_response import EzsigntemplatepackageGetObjectV2Response @@ -339,7 +340,7 @@ def ezsigntemplatepackage_delete_object_v1( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> CommonResponse: + ) -> EzsigntemplatepackageDeleteObjectV1Response: """Delete an existing Ezsigntemplatepackage @@ -407,7 +408,7 @@ def ezsigntemplatepackage_delete_object_v1_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[CommonResponse]: + ) -> ApiResponse[EzsigntemplatepackageDeleteObjectV1Response]: """Delete an existing Ezsigntemplatepackage @@ -899,7 +900,7 @@ def ezsigntemplatepackage_edit_object_v1( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> CommonResponse: + ) -> EzsigntemplatepackageEditObjectV1Response: """Edit an existing Ezsigntemplatepackage @@ -972,7 +973,7 @@ def ezsigntemplatepackage_edit_object_v1_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[CommonResponse]: + ) -> ApiResponse[EzsigntemplatepackageEditObjectV1Response]: """Edit an existing Ezsigntemplatepackage diff --git a/eZmaxApi/api/object_ezsigntemplatepackagemembership_api.py b/eZmaxApi/api/object_ezsigntemplatepackagemembership_api.py index 7c324cf6b..bb4b36885 100644 --- a/eZmaxApi/api/object_ezsigntemplatepackagemembership_api.py +++ b/eZmaxApi/api/object_ezsigntemplatepackagemembership_api.py @@ -19,9 +19,9 @@ from pydantic import Field from typing_extensions import Annotated -from eZmaxApi.models.common_response import CommonResponse from eZmaxApi.models.ezsigntemplatepackagemembership_create_object_v1_request import EzsigntemplatepackagemembershipCreateObjectV1Request from eZmaxApi.models.ezsigntemplatepackagemembership_create_object_v1_response import EzsigntemplatepackagemembershipCreateObjectV1Response +from eZmaxApi.models.ezsigntemplatepackagemembership_delete_object_v1_response import EzsigntemplatepackagemembershipDeleteObjectV1Response from eZmaxApi.models.ezsigntemplatepackagemembership_get_object_v2_response import EzsigntemplatepackagemembershipGetObjectV2Response from eZmaxApi.api_client import ApiClient, RequestSerialized @@ -335,7 +335,7 @@ def ezsigntemplatepackagemembership_delete_object_v1( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> CommonResponse: + ) -> EzsigntemplatepackagemembershipDeleteObjectV1Response: """Delete an existing Ezsigntemplatepackagemembership @@ -403,7 +403,7 @@ def ezsigntemplatepackagemembership_delete_object_v1_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[CommonResponse]: + ) -> ApiResponse[EzsigntemplatepackagemembershipDeleteObjectV1Response]: """Delete an existing Ezsigntemplatepackagemembership diff --git a/eZmaxApi/api/object_ezsigntemplatepackagesigner_api.py b/eZmaxApi/api/object_ezsigntemplatepackagesigner_api.py index 748221450..1842efeea 100644 --- a/eZmaxApi/api/object_ezsigntemplatepackagesigner_api.py +++ b/eZmaxApi/api/object_ezsigntemplatepackagesigner_api.py @@ -19,11 +19,11 @@ from pydantic import Field from typing_extensions import Annotated -from eZmaxApi.models.common_response import CommonResponse from eZmaxApi.models.ezsigntemplatepackagesigner_create_object_v1_request import EzsigntemplatepackagesignerCreateObjectV1Request from eZmaxApi.models.ezsigntemplatepackagesigner_create_object_v1_response import EzsigntemplatepackagesignerCreateObjectV1Response from eZmaxApi.models.ezsigntemplatepackagesigner_delete_object_v1_response import EzsigntemplatepackagesignerDeleteObjectV1Response from eZmaxApi.models.ezsigntemplatepackagesigner_edit_object_v1_request import EzsigntemplatepackagesignerEditObjectV1Request +from eZmaxApi.models.ezsigntemplatepackagesigner_edit_object_v1_response import EzsigntemplatepackagesignerEditObjectV1Response from eZmaxApi.models.ezsigntemplatepackagesigner_get_object_v2_response import EzsigntemplatepackagesignerGetObjectV2Response from eZmaxApi.api_client import ApiClient, RequestSerialized @@ -599,7 +599,7 @@ def ezsigntemplatepackagesigner_edit_object_v1( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> CommonResponse: + ) -> EzsigntemplatepackagesignerEditObjectV1Response: """Edit an existing Ezsigntemplatepackagesigner @@ -672,7 +672,7 @@ def ezsigntemplatepackagesigner_edit_object_v1_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[CommonResponse]: + ) -> ApiResponse[EzsigntemplatepackagesignerEditObjectV1Response]: """Edit an existing Ezsigntemplatepackagesigner diff --git a/eZmaxApi/api/object_ezsigntemplatepublic_api.py b/eZmaxApi/api/object_ezsigntemplatepublic_api.py index 144262f5a..68de76f80 100644 --- a/eZmaxApi/api/object_ezsigntemplatepublic_api.py +++ b/eZmaxApi/api/object_ezsigntemplatepublic_api.py @@ -20,12 +20,12 @@ from pydantic import Field, StrictStr, field_validator from typing import Any, Dict, Optional from typing_extensions import Annotated -from eZmaxApi.models.common_response import CommonResponse from eZmaxApi.models.ezsigntemplatepublic_create_ezsignfolder_v1_request import EzsigntemplatepublicCreateEzsignfolderV1Request from eZmaxApi.models.ezsigntemplatepublic_create_ezsignfolder_v1_response import EzsigntemplatepublicCreateEzsignfolderV1Response from eZmaxApi.models.ezsigntemplatepublic_create_object_v1_request import EzsigntemplatepublicCreateObjectV1Request from eZmaxApi.models.ezsigntemplatepublic_create_object_v1_response import EzsigntemplatepublicCreateObjectV1Response from eZmaxApi.models.ezsigntemplatepublic_edit_object_v1_request import EzsigntemplatepublicEditObjectV1Request +from eZmaxApi.models.ezsigntemplatepublic_edit_object_v1_response import EzsigntemplatepublicEditObjectV1Response from eZmaxApi.models.ezsigntemplatepublic_get_ezsigntemplatepublic_details_v1_request import EzsigntemplatepublicGetEzsigntemplatepublicDetailsV1Request from eZmaxApi.models.ezsigntemplatepublic_get_ezsigntemplatepublic_details_v1_response import EzsigntemplatepublicGetEzsigntemplatepublicDetailsV1Response from eZmaxApi.models.ezsigntemplatepublic_get_forms_data_v1_response import EzsigntemplatepublicGetFormsDataV1Response @@ -621,7 +621,7 @@ def ezsigntemplatepublic_edit_object_v1( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> CommonResponse: + ) -> EzsigntemplatepublicEditObjectV1Response: """Edit an existing Ezsigntemplatepublic @@ -694,7 +694,7 @@ def ezsigntemplatepublic_edit_object_v1_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[CommonResponse]: + ) -> ApiResponse[EzsigntemplatepublicEditObjectV1Response]: """Edit an existing Ezsigntemplatepublic diff --git a/eZmaxApi/api/object_ezsigntemplatesignature_api.py b/eZmaxApi/api/object_ezsigntemplatesignature_api.py index 6f9e654e5..b1e9ecbf0 100644 --- a/eZmaxApi/api/object_ezsigntemplatesignature_api.py +++ b/eZmaxApi/api/object_ezsigntemplatesignature_api.py @@ -19,10 +19,11 @@ from pydantic import Field from typing_extensions import Annotated -from eZmaxApi.models.common_response import CommonResponse from eZmaxApi.models.ezsigntemplatesignature_create_object_v2_request import EzsigntemplatesignatureCreateObjectV2Request from eZmaxApi.models.ezsigntemplatesignature_create_object_v2_response import EzsigntemplatesignatureCreateObjectV2Response +from eZmaxApi.models.ezsigntemplatesignature_delete_object_v1_response import EzsigntemplatesignatureDeleteObjectV1Response from eZmaxApi.models.ezsigntemplatesignature_edit_object_v2_request import EzsigntemplatesignatureEditObjectV2Request +from eZmaxApi.models.ezsigntemplatesignature_edit_object_v2_response import EzsigntemplatesignatureEditObjectV2Response from eZmaxApi.models.ezsigntemplatesignature_get_object_v3_response import EzsigntemplatesignatureGetObjectV3Response from eZmaxApi.api_client import ApiClient, RequestSerialized @@ -333,7 +334,7 @@ def ezsigntemplatesignature_delete_object_v1( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> CommonResponse: + ) -> EzsigntemplatesignatureDeleteObjectV1Response: """Delete an existing Ezsigntemplatesignature @@ -401,7 +402,7 @@ def ezsigntemplatesignature_delete_object_v1_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[CommonResponse]: + ) -> ApiResponse[EzsigntemplatesignatureDeleteObjectV1Response]: """Delete an existing Ezsigntemplatesignature @@ -598,7 +599,7 @@ def ezsigntemplatesignature_edit_object_v2( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> CommonResponse: + ) -> EzsigntemplatesignatureEditObjectV2Response: """Edit an existing Ezsigntemplatesignature @@ -671,7 +672,7 @@ def ezsigntemplatesignature_edit_object_v2_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[CommonResponse]: + ) -> ApiResponse[EzsigntemplatesignatureEditObjectV2Response]: """Edit an existing Ezsigntemplatesignature diff --git a/eZmaxApi/api/object_ezsignuser_api.py b/eZmaxApi/api/object_ezsignuser_api.py index f9379e8a3..8d5235aa2 100644 --- a/eZmaxApi/api/object_ezsignuser_api.py +++ b/eZmaxApi/api/object_ezsignuser_api.py @@ -19,8 +19,8 @@ from pydantic import Field from typing_extensions import Annotated -from eZmaxApi.models.common_response import CommonResponse from eZmaxApi.models.ezsignuser_edit_object_v1_request import EzsignuserEditObjectV1Request +from eZmaxApi.models.ezsignuser_edit_object_v1_response import EzsignuserEditObjectV1Response from eZmaxApi.models.ezsignuser_get_object_v2_response import EzsignuserGetObjectV2Response from eZmaxApi.api_client import ApiClient, RequestSerialized @@ -58,7 +58,7 @@ def ezsignuser_edit_object_v1( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> CommonResponse: + ) -> EzsignuserEditObjectV1Response: """Edit an existing Ezsignuser @@ -131,7 +131,7 @@ def ezsignuser_edit_object_v1_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[CommonResponse]: + ) -> ApiResponse[EzsignuserEditObjectV1Response]: """Edit an existing Ezsignuser diff --git a/eZmaxApi/api/object_paymentterm_api.py b/eZmaxApi/api/object_paymentterm_api.py index bfa3c2cc3..9a9d7075a 100644 --- a/eZmaxApi/api/object_paymentterm_api.py +++ b/eZmaxApi/api/object_paymentterm_api.py @@ -20,11 +20,11 @@ from pydantic import Field, StrictInt, StrictStr, field_validator from typing import Optional from typing_extensions import Annotated -from eZmaxApi.models.common_response import CommonResponse from eZmaxApi.models.header_accept_language import HeaderAcceptLanguage from eZmaxApi.models.paymentterm_create_object_v1_request import PaymenttermCreateObjectV1Request from eZmaxApi.models.paymentterm_create_object_v1_response import PaymenttermCreateObjectV1Response from eZmaxApi.models.paymentterm_edit_object_v1_request import PaymenttermEditObjectV1Request +from eZmaxApi.models.paymentterm_edit_object_v1_response import PaymenttermEditObjectV1Response from eZmaxApi.models.paymentterm_get_autocomplete_v2_response import PaymenttermGetAutocompleteV2Response from eZmaxApi.models.paymentterm_get_list_v1_response import PaymenttermGetListV1Response from eZmaxApi.models.paymentterm_get_object_v2_response import PaymenttermGetObjectV2Response @@ -341,7 +341,7 @@ def paymentterm_edit_object_v1( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> CommonResponse: + ) -> PaymenttermEditObjectV1Response: """Edit an existing Paymentterm @@ -414,7 +414,7 @@ def paymentterm_edit_object_v1_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[CommonResponse]: + ) -> ApiResponse[PaymenttermEditObjectV1Response]: """Edit an existing Paymentterm diff --git a/eZmaxApi/api/object_permission_api.py b/eZmaxApi/api/object_permission_api.py index 873e92423..e11c002b6 100644 --- a/eZmaxApi/api/object_permission_api.py +++ b/eZmaxApi/api/object_permission_api.py @@ -19,10 +19,11 @@ from pydantic import Field from typing_extensions import Annotated -from eZmaxApi.models.common_response import CommonResponse from eZmaxApi.models.permission_create_object_v1_request import PermissionCreateObjectV1Request from eZmaxApi.models.permission_create_object_v1_response import PermissionCreateObjectV1Response +from eZmaxApi.models.permission_delete_object_v1_response import PermissionDeleteObjectV1Response from eZmaxApi.models.permission_edit_object_v1_request import PermissionEditObjectV1Request +from eZmaxApi.models.permission_edit_object_v1_response import PermissionEditObjectV1Response from eZmaxApi.models.permission_get_object_v2_response import PermissionGetObjectV2Response from eZmaxApi.api_client import ApiClient, RequestSerialized @@ -336,7 +337,7 @@ def permission_delete_object_v1( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> CommonResponse: + ) -> PermissionDeleteObjectV1Response: """Delete an existing Permission @@ -404,7 +405,7 @@ def permission_delete_object_v1_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[CommonResponse]: + ) -> ApiResponse[PermissionDeleteObjectV1Response]: """Delete an existing Permission @@ -601,7 +602,7 @@ def permission_edit_object_v1( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> CommonResponse: + ) -> PermissionEditObjectV1Response: """Edit an existing Permission @@ -674,7 +675,7 @@ def permission_edit_object_v1_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[CommonResponse]: + ) -> ApiResponse[PermissionEditObjectV1Response]: """Edit an existing Permission diff --git a/eZmaxApi/api/object_signature_api.py b/eZmaxApi/api/object_signature_api.py index 8c71423a8..3209a8102 100644 --- a/eZmaxApi/api/object_signature_api.py +++ b/eZmaxApi/api/object_signature_api.py @@ -19,10 +19,11 @@ from pydantic import Field from typing_extensions import Annotated -from eZmaxApi.models.common_response import CommonResponse from eZmaxApi.models.signature_create_object_v1_request import SignatureCreateObjectV1Request from eZmaxApi.models.signature_create_object_v1_response import SignatureCreateObjectV1Response +from eZmaxApi.models.signature_delete_object_v1_response import SignatureDeleteObjectV1Response from eZmaxApi.models.signature_edit_object_v1_request import SignatureEditObjectV1Request +from eZmaxApi.models.signature_edit_object_v1_response import SignatureEditObjectV1Response from eZmaxApi.models.signature_get_object_v2_response import SignatureGetObjectV2Response from eZmaxApi.models.signature_get_object_v3_response import SignatureGetObjectV3Response @@ -334,7 +335,7 @@ def signature_delete_object_v1( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> CommonResponse: + ) -> SignatureDeleteObjectV1Response: """Delete an existing Signature @@ -402,7 +403,7 @@ def signature_delete_object_v1_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[CommonResponse]: + ) -> ApiResponse[SignatureDeleteObjectV1Response]: """Delete an existing Signature @@ -599,7 +600,7 @@ def signature_edit_object_v1( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> CommonResponse: + ) -> SignatureEditObjectV1Response: """Edit an existing Signature @@ -672,7 +673,7 @@ def signature_edit_object_v1_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[CommonResponse]: + ) -> ApiResponse[SignatureEditObjectV1Response]: """Edit an existing Signature diff --git a/eZmaxApi/api/object_subnet_api.py b/eZmaxApi/api/object_subnet_api.py index 355fea091..7f6ad1de2 100644 --- a/eZmaxApi/api/object_subnet_api.py +++ b/eZmaxApi/api/object_subnet_api.py @@ -19,10 +19,11 @@ from pydantic import Field from typing_extensions import Annotated -from eZmaxApi.models.common_response import CommonResponse from eZmaxApi.models.subnet_create_object_v1_request import SubnetCreateObjectV1Request from eZmaxApi.models.subnet_create_object_v1_response import SubnetCreateObjectV1Response +from eZmaxApi.models.subnet_delete_object_v1_response import SubnetDeleteObjectV1Response from eZmaxApi.models.subnet_edit_object_v1_request import SubnetEditObjectV1Request +from eZmaxApi.models.subnet_edit_object_v1_response import SubnetEditObjectV1Response from eZmaxApi.models.subnet_get_object_v2_response import SubnetGetObjectV2Response from eZmaxApi.api_client import ApiClient, RequestSerialized @@ -336,7 +337,7 @@ def subnet_delete_object_v1( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> CommonResponse: + ) -> SubnetDeleteObjectV1Response: """Delete an existing Subnet @@ -405,7 +406,7 @@ def subnet_delete_object_v1_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[CommonResponse]: + ) -> ApiResponse[SubnetDeleteObjectV1Response]: """Delete an existing Subnet @@ -604,7 +605,7 @@ def subnet_edit_object_v1( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> CommonResponse: + ) -> SubnetEditObjectV1Response: """Edit an existing Subnet @@ -677,7 +678,7 @@ def subnet_edit_object_v1_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[CommonResponse]: + ) -> ApiResponse[SubnetEditObjectV1Response]: """Edit an existing Subnet diff --git a/eZmaxApi/api/object_supply_api.py b/eZmaxApi/api/object_supply_api.py index 1046b05b9..3d9ce6d94 100644 --- a/eZmaxApi/api/object_supply_api.py +++ b/eZmaxApi/api/object_supply_api.py @@ -20,11 +20,12 @@ from pydantic import Field, StrictStr, field_validator from typing import Optional from typing_extensions import Annotated -from eZmaxApi.models.common_response import CommonResponse from eZmaxApi.models.header_accept_language import HeaderAcceptLanguage from eZmaxApi.models.supply_create_object_v1_request import SupplyCreateObjectV1Request from eZmaxApi.models.supply_create_object_v1_response import SupplyCreateObjectV1Response +from eZmaxApi.models.supply_delete_object_v1_response import SupplyDeleteObjectV1Response from eZmaxApi.models.supply_edit_object_v1_request import SupplyEditObjectV1Request +from eZmaxApi.models.supply_edit_object_v1_response import SupplyEditObjectV1Response from eZmaxApi.models.supply_get_autocomplete_v2_response import SupplyGetAutocompleteV2Response from eZmaxApi.models.supply_get_list_v1_response import SupplyGetListV1Response from eZmaxApi.models.supply_get_object_v2_response import SupplyGetObjectV2Response @@ -337,7 +338,7 @@ def supply_delete_object_v1( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> CommonResponse: + ) -> SupplyDeleteObjectV1Response: """Delete an existing Supply @@ -405,7 +406,7 @@ def supply_delete_object_v1_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[CommonResponse]: + ) -> ApiResponse[SupplyDeleteObjectV1Response]: """Delete an existing Supply @@ -602,7 +603,7 @@ def supply_edit_object_v1( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> CommonResponse: + ) -> SupplyEditObjectV1Response: """Edit an existing Supply @@ -675,7 +676,7 @@ def supply_edit_object_v1_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[CommonResponse]: + ) -> ApiResponse[SupplyEditObjectV1Response]: """Edit an existing Supply diff --git a/eZmaxApi/api/object_systemconfiguration_api.py b/eZmaxApi/api/object_systemconfiguration_api.py index b27cf703d..0f1262414 100644 --- a/eZmaxApi/api/object_systemconfiguration_api.py +++ b/eZmaxApi/api/object_systemconfiguration_api.py @@ -19,8 +19,8 @@ from pydantic import Field from typing_extensions import Annotated -from eZmaxApi.models.common_response import CommonResponse from eZmaxApi.models.systemconfiguration_edit_object_v1_request import SystemconfigurationEditObjectV1Request +from eZmaxApi.models.systemconfiguration_edit_object_v1_response import SystemconfigurationEditObjectV1Response from eZmaxApi.models.systemconfiguration_get_object_v2_response import SystemconfigurationGetObjectV2Response from eZmaxApi.api_client import ApiClient, RequestSerialized @@ -58,7 +58,7 @@ def systemconfiguration_edit_object_v1( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> CommonResponse: + ) -> SystemconfigurationEditObjectV1Response: """Edit an existing Systemconfiguration @@ -131,7 +131,7 @@ def systemconfiguration_edit_object_v1_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[CommonResponse]: + ) -> ApiResponse[SystemconfigurationEditObjectV1Response]: """Edit an existing Systemconfiguration diff --git a/eZmaxApi/api/object_user_api.py b/eZmaxApi/api/object_user_api.py index 377ef115f..76bb8e324 100644 --- a/eZmaxApi/api/object_user_api.py +++ b/eZmaxApi/api/object_user_api.py @@ -20,7 +20,6 @@ from pydantic import Field, StrictStr, field_validator from typing import Any, Dict, Optional from typing_extensions import Annotated -from eZmaxApi.models.common_response import CommonResponse from eZmaxApi.models.header_accept_language import HeaderAcceptLanguage from eZmaxApi.models.user_create_object_v1_request import UserCreateObjectV1Request from eZmaxApi.models.user_create_object_v1_response import UserCreateObjectV1Response @@ -29,6 +28,7 @@ from eZmaxApi.models.user_edit_colleagues_v2_request import UserEditColleaguesV2Request from eZmaxApi.models.user_edit_colleagues_v2_response import UserEditColleaguesV2Response from eZmaxApi.models.user_edit_object_v1_request import UserEditObjectV1Request +from eZmaxApi.models.user_edit_object_v1_response import UserEditObjectV1Response from eZmaxApi.models.user_edit_permissions_v1_request import UserEditPermissionsV1Request from eZmaxApi.models.user_edit_permissions_v1_response import UserEditPermissionsV1Response from eZmaxApi.models.user_get_apikeys_v1_response import UserGetApikeysV1Response @@ -41,6 +41,7 @@ from eZmaxApi.models.user_get_subnets_v1_response import UserGetSubnetsV1Response from eZmaxApi.models.user_get_usergroupexternals_v1_response import UserGetUsergroupexternalsV1Response from eZmaxApi.models.user_get_usergroups_v1_response import UserGetUsergroupsV1Response +from eZmaxApi.models.user_send_password_reset_v1_response import UserSendPasswordResetV1Response from eZmaxApi.api_client import ApiClient, RequestSerialized from eZmaxApi.api_response import ApiResponse @@ -920,7 +921,7 @@ def user_edit_object_v1( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> CommonResponse: + ) -> UserEditObjectV1Response: """Edit an existing User @@ -993,7 +994,7 @@ def user_edit_object_v1_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[CommonResponse]: + ) -> ApiResponse[UserEditObjectV1Response]: """Edit an existing User @@ -4247,7 +4248,7 @@ def user_send_password_reset_v1( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> CommonResponse: + ) -> UserSendPasswordResetV1Response: """Send password reset Send the password reset email @@ -4320,7 +4321,7 @@ def user_send_password_reset_v1_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[CommonResponse]: + ) -> ApiResponse[UserSendPasswordResetV1Response]: """Send password reset Send the password reset email diff --git a/eZmaxApi/api/object_usergroup_api.py b/eZmaxApi/api/object_usergroup_api.py index 0b0dc991c..a34c6440b 100644 --- a/eZmaxApi/api/object_usergroup_api.py +++ b/eZmaxApi/api/object_usergroup_api.py @@ -20,11 +20,11 @@ from pydantic import Field, StrictStr, field_validator from typing import Optional from typing_extensions import Annotated -from eZmaxApi.models.common_response import CommonResponse from eZmaxApi.models.header_accept_language import HeaderAcceptLanguage from eZmaxApi.models.usergroup_create_object_v1_request import UsergroupCreateObjectV1Request from eZmaxApi.models.usergroup_create_object_v1_response import UsergroupCreateObjectV1Response from eZmaxApi.models.usergroup_edit_object_v1_request import UsergroupEditObjectV1Request +from eZmaxApi.models.usergroup_edit_object_v1_response import UsergroupEditObjectV1Response from eZmaxApi.models.usergroup_edit_permissions_v1_request import UsergroupEditPermissionsV1Request from eZmaxApi.models.usergroup_edit_permissions_v1_response import UsergroupEditPermissionsV1Response from eZmaxApi.models.usergroup_edit_usergroupdelegations_v1_request import UsergroupEditUsergroupdelegationsV1Request @@ -347,7 +347,7 @@ def usergroup_edit_object_v1( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> CommonResponse: + ) -> UsergroupEditObjectV1Response: """Edit an existing Usergroup @@ -420,7 +420,7 @@ def usergroup_edit_object_v1_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[CommonResponse]: + ) -> ApiResponse[UsergroupEditObjectV1Response]: """Edit an existing Usergroup diff --git a/eZmaxApi/api/object_usergroupdelegation_api.py b/eZmaxApi/api/object_usergroupdelegation_api.py index f43b15a23..8cd2f4d83 100644 --- a/eZmaxApi/api/object_usergroupdelegation_api.py +++ b/eZmaxApi/api/object_usergroupdelegation_api.py @@ -19,10 +19,11 @@ from pydantic import Field from typing_extensions import Annotated -from eZmaxApi.models.common_response import CommonResponse from eZmaxApi.models.usergroupdelegation_create_object_v1_request import UsergroupdelegationCreateObjectV1Request from eZmaxApi.models.usergroupdelegation_create_object_v1_response import UsergroupdelegationCreateObjectV1Response +from eZmaxApi.models.usergroupdelegation_delete_object_v1_response import UsergroupdelegationDeleteObjectV1Response from eZmaxApi.models.usergroupdelegation_edit_object_v1_request import UsergroupdelegationEditObjectV1Request +from eZmaxApi.models.usergroupdelegation_edit_object_v1_response import UsergroupdelegationEditObjectV1Response from eZmaxApi.models.usergroupdelegation_get_object_v2_response import UsergroupdelegationGetObjectV2Response from eZmaxApi.api_client import ApiClient, RequestSerialized @@ -333,7 +334,7 @@ def usergroupdelegation_delete_object_v1( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> CommonResponse: + ) -> UsergroupdelegationDeleteObjectV1Response: """Delete an existing Usergroupdelegation @@ -401,7 +402,7 @@ def usergroupdelegation_delete_object_v1_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[CommonResponse]: + ) -> ApiResponse[UsergroupdelegationDeleteObjectV1Response]: """Delete an existing Usergroupdelegation @@ -598,7 +599,7 @@ def usergroupdelegation_edit_object_v1( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> CommonResponse: + ) -> UsergroupdelegationEditObjectV1Response: """Edit an existing Usergroupdelegation @@ -671,7 +672,7 @@ def usergroupdelegation_edit_object_v1_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[CommonResponse]: + ) -> ApiResponse[UsergroupdelegationEditObjectV1Response]: """Edit an existing Usergroupdelegation diff --git a/eZmaxApi/api/object_usergroupexternal_api.py b/eZmaxApi/api/object_usergroupexternal_api.py index c9844823b..d1133c77c 100644 --- a/eZmaxApi/api/object_usergroupexternal_api.py +++ b/eZmaxApi/api/object_usergroupexternal_api.py @@ -20,11 +20,12 @@ from pydantic import Field, StrictStr, field_validator from typing import Optional from typing_extensions import Annotated -from eZmaxApi.models.common_response import CommonResponse from eZmaxApi.models.header_accept_language import HeaderAcceptLanguage from eZmaxApi.models.usergroupexternal_create_object_v1_request import UsergroupexternalCreateObjectV1Request from eZmaxApi.models.usergroupexternal_create_object_v1_response import UsergroupexternalCreateObjectV1Response +from eZmaxApi.models.usergroupexternal_delete_object_v1_response import UsergroupexternalDeleteObjectV1Response from eZmaxApi.models.usergroupexternal_edit_object_v1_request import UsergroupexternalEditObjectV1Request +from eZmaxApi.models.usergroupexternal_edit_object_v1_response import UsergroupexternalEditObjectV1Response from eZmaxApi.models.usergroupexternal_get_autocomplete_v2_response import UsergroupexternalGetAutocompleteV2Response from eZmaxApi.models.usergroupexternal_get_list_v1_response import UsergroupexternalGetListV1Response from eZmaxApi.models.usergroupexternal_get_object_v2_response import UsergroupexternalGetObjectV2Response @@ -339,7 +340,7 @@ def usergroupexternal_delete_object_v1( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> CommonResponse: + ) -> UsergroupexternalDeleteObjectV1Response: """Delete an existing Usergroupexternal @@ -408,7 +409,7 @@ def usergroupexternal_delete_object_v1_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[CommonResponse]: + ) -> ApiResponse[UsergroupexternalDeleteObjectV1Response]: """Delete an existing Usergroupexternal @@ -607,7 +608,7 @@ def usergroupexternal_edit_object_v1( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> CommonResponse: + ) -> UsergroupexternalEditObjectV1Response: """Edit an existing Usergroupexternal @@ -680,7 +681,7 @@ def usergroupexternal_edit_object_v1_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[CommonResponse]: + ) -> ApiResponse[UsergroupexternalEditObjectV1Response]: """Edit an existing Usergroupexternal diff --git a/eZmaxApi/api/object_usergroupmembership_api.py b/eZmaxApi/api/object_usergroupmembership_api.py index 6fe1bfa1b..6eef20f21 100644 --- a/eZmaxApi/api/object_usergroupmembership_api.py +++ b/eZmaxApi/api/object_usergroupmembership_api.py @@ -19,10 +19,11 @@ from pydantic import Field from typing_extensions import Annotated -from eZmaxApi.models.common_response import CommonResponse from eZmaxApi.models.usergroupmembership_create_object_v1_request import UsergroupmembershipCreateObjectV1Request from eZmaxApi.models.usergroupmembership_create_object_v1_response import UsergroupmembershipCreateObjectV1Response +from eZmaxApi.models.usergroupmembership_delete_object_v1_response import UsergroupmembershipDeleteObjectV1Response from eZmaxApi.models.usergroupmembership_edit_object_v1_request import UsergroupmembershipEditObjectV1Request +from eZmaxApi.models.usergroupmembership_edit_object_v1_response import UsergroupmembershipEditObjectV1Response from eZmaxApi.models.usergroupmembership_get_object_v2_response import UsergroupmembershipGetObjectV2Response from eZmaxApi.api_client import ApiClient, RequestSerialized @@ -333,7 +334,7 @@ def usergroupmembership_delete_object_v1( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> CommonResponse: + ) -> UsergroupmembershipDeleteObjectV1Response: """Delete an existing Usergroupmembership @@ -401,7 +402,7 @@ def usergroupmembership_delete_object_v1_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[CommonResponse]: + ) -> ApiResponse[UsergroupmembershipDeleteObjectV1Response]: """Delete an existing Usergroupmembership @@ -598,7 +599,7 @@ def usergroupmembership_edit_object_v1( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> CommonResponse: + ) -> UsergroupmembershipEditObjectV1Response: """Edit an existing Usergroupmembership @@ -671,7 +672,7 @@ def usergroupmembership_edit_object_v1_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[CommonResponse]: + ) -> ApiResponse[UsergroupmembershipEditObjectV1Response]: """Edit an existing Usergroupmembership diff --git a/eZmaxApi/api/object_userstaged_api.py b/eZmaxApi/api/object_userstaged_api.py index 992327e39..6886b7d39 100644 --- a/eZmaxApi/api/object_userstaged_api.py +++ b/eZmaxApi/api/object_userstaged_api.py @@ -20,12 +20,13 @@ from pydantic import Field, StrictStr, field_validator from typing import Any, Dict, Optional from typing_extensions import Annotated -from eZmaxApi.models.common_response import CommonResponse from eZmaxApi.models.header_accept_language import HeaderAcceptLanguage from eZmaxApi.models.userstaged_create_user_v1_response import UserstagedCreateUserV1Response +from eZmaxApi.models.userstaged_delete_object_v1_response import UserstagedDeleteObjectV1Response from eZmaxApi.models.userstaged_get_list_v1_response import UserstagedGetListV1Response from eZmaxApi.models.userstaged_get_object_v2_response import UserstagedGetObjectV2Response from eZmaxApi.models.userstaged_map_v1_request import UserstagedMapV1Request +from eZmaxApi.models.userstaged_map_v1_response import UserstagedMapV1Response from eZmaxApi.api_client import ApiClient, RequestSerialized from eZmaxApi.api_response import ApiResponse @@ -353,7 +354,7 @@ def userstaged_delete_object_v1( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> CommonResponse: + ) -> UserstagedDeleteObjectV1Response: """Delete an existing Userstaged @@ -421,7 +422,7 @@ def userstaged_delete_object_v1_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[CommonResponse]: + ) -> ApiResponse[UserstagedDeleteObjectV1Response]: """Delete an existing Userstaged @@ -1215,7 +1216,7 @@ def userstaged_map_v1( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> CommonResponse: + ) -> UserstagedMapV1Response: """Map the Userstaged to an existing user @@ -1288,7 +1289,7 @@ def userstaged_map_v1_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[CommonResponse]: + ) -> ApiResponse[UserstagedMapV1Response]: """Map the Userstaged to an existing user diff --git a/eZmaxApi/api/object_variableexpense_api.py b/eZmaxApi/api/object_variableexpense_api.py index f60fd1c21..edd4d319e 100644 --- a/eZmaxApi/api/object_variableexpense_api.py +++ b/eZmaxApi/api/object_variableexpense_api.py @@ -20,11 +20,11 @@ from pydantic import Field, StrictStr, field_validator from typing import Optional from typing_extensions import Annotated -from eZmaxApi.models.common_response import CommonResponse from eZmaxApi.models.header_accept_language import HeaderAcceptLanguage from eZmaxApi.models.variableexpense_create_object_v1_request import VariableexpenseCreateObjectV1Request from eZmaxApi.models.variableexpense_create_object_v1_response import VariableexpenseCreateObjectV1Response from eZmaxApi.models.variableexpense_edit_object_v1_request import VariableexpenseEditObjectV1Request +from eZmaxApi.models.variableexpense_edit_object_v1_response import VariableexpenseEditObjectV1Response from eZmaxApi.models.variableexpense_get_autocomplete_v2_response import VariableexpenseGetAutocompleteV2Response from eZmaxApi.models.variableexpense_get_list_v1_response import VariableexpenseGetListV1Response from eZmaxApi.models.variableexpense_get_object_v2_response import VariableexpenseGetObjectV2Response @@ -338,7 +338,7 @@ def variableexpense_edit_object_v1( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> CommonResponse: + ) -> VariableexpenseEditObjectV1Response: """Edit an existing Variableexpense @@ -411,7 +411,7 @@ def variableexpense_edit_object_v1_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[CommonResponse]: + ) -> ApiResponse[VariableexpenseEditObjectV1Response]: """Edit an existing Variableexpense diff --git a/eZmaxApi/api/object_webhook_api.py b/eZmaxApi/api/object_webhook_api.py index 9752f180d..d52e04e4b 100644 --- a/eZmaxApi/api/object_webhook_api.py +++ b/eZmaxApi/api/object_webhook_api.py @@ -20,17 +20,20 @@ from pydantic import Field, StrictInt, StrictStr, field_validator from typing import Any, Dict, Optional from typing_extensions import Annotated -from eZmaxApi.models.common_response import CommonResponse from eZmaxApi.models.header_accept_language import HeaderAcceptLanguage from eZmaxApi.models.webhook_create_object_v2_request import WebhookCreateObjectV2Request from eZmaxApi.models.webhook_create_object_v2_response import WebhookCreateObjectV2Response +from eZmaxApi.models.webhook_delete_object_v1_response import WebhookDeleteObjectV1Response from eZmaxApi.models.webhook_edit_object_v1_request import WebhookEditObjectV1Request +from eZmaxApi.models.webhook_edit_object_v1_response import WebhookEditObjectV1Response from eZmaxApi.models.webhook_get_history_v1_response import WebhookGetHistoryV1Response from eZmaxApi.models.webhook_get_list_v1_response import WebhookGetListV1Response from eZmaxApi.models.webhook_get_object_v2_response import WebhookGetObjectV2Response from eZmaxApi.models.webhook_regenerate_apikey_v1_request import WebhookRegenerateApikeyV1Request from eZmaxApi.models.webhook_regenerate_apikey_v1_response import WebhookRegenerateApikeyV1Response from eZmaxApi.models.webhook_send_webhook_v1_request import WebhookSendWebhookV1Request +from eZmaxApi.models.webhook_send_webhook_v1_response import WebhookSendWebhookV1Response +from eZmaxApi.models.webhook_test_v1_response import WebhookTestV1Response from eZmaxApi.api_client import ApiClient, RequestSerialized from eZmaxApi.api_response import ApiResponse @@ -340,7 +343,7 @@ def webhook_delete_object_v1( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> CommonResponse: + ) -> WebhookDeleteObjectV1Response: """Delete an existing Webhook @@ -408,7 +411,7 @@ def webhook_delete_object_v1_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[CommonResponse]: + ) -> ApiResponse[WebhookDeleteObjectV1Response]: """Delete an existing Webhook @@ -605,7 +608,7 @@ def webhook_edit_object_v1( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> CommonResponse: + ) -> WebhookEditObjectV1Response: """Edit an existing Webhook @@ -677,7 +680,7 @@ def webhook_edit_object_v1_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[CommonResponse]: + ) -> ApiResponse[WebhookEditObjectV1Response]: """Edit an existing Webhook @@ -2069,7 +2072,7 @@ def webhook_send_webhook_v1( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> CommonResponse: + ) -> WebhookSendWebhookV1Response: """Emit a Webhook event @@ -2136,7 +2139,7 @@ def webhook_send_webhook_v1_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[CommonResponse]: + ) -> ApiResponse[WebhookSendWebhookV1Response]: """Emit a Webhook event @@ -2344,7 +2347,7 @@ def webhook_test_v1( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> CommonResponse: + ) -> WebhookTestV1Response: """Test the Webhook by calling the Url @@ -2416,7 +2419,7 @@ def webhook_test_v1_with_http_info( _content_type: Optional[StrictStr] = None, _headers: Optional[Dict[StrictStr, Any]] = None, _host_index: Annotated[StrictInt, Field(ge=0, le=0)] = 0, - ) -> ApiResponse[CommonResponse]: + ) -> ApiResponse[WebhookTestV1Response]: """Test the Webhook by calling the Url diff --git a/eZmaxApi/configuration.py b/eZmaxApi/configuration.py index 54d66b14f..2f81e48f9 100644 --- a/eZmaxApi/configuration.py +++ b/eZmaxApi/configuration.py @@ -14,16 +14,14 @@ import copy -import http.client as httplib import logging from logging import FileHandler import multiprocessing import sys -from typing import Any, ClassVar, Dict, List, Literal, Optional, TypedDict -from typing_extensions import NotRequired, Self - +from typing import Optional import urllib3 +import http.client as httplib JSON_SCHEMA_VALIDATION_KEYWORDS = { 'multipleOf', 'maximum', 'exclusiveMaximum', @@ -31,109 +29,6 @@ 'minLength', 'pattern', 'maxItems', 'minItems' } -ServerVariablesT = Dict[str, str] - -GenericAuthSetting = TypedDict( - "GenericAuthSetting", - { - "type": str, - "in": str, - "key": str, - "value": str, - }, -) - - -OAuth2AuthSetting = TypedDict( - "OAuth2AuthSetting", - { - "type": Literal["oauth2"], - "in": Literal["header"], - "key": Literal["Authorization"], - "value": str, - }, -) - - -APIKeyAuthSetting = TypedDict( - "APIKeyAuthSetting", - { - "type": Literal["api_key"], - "in": str, - "key": str, - "value": Optional[str], - }, -) - - -BasicAuthSetting = TypedDict( - "BasicAuthSetting", - { - "type": Literal["basic"], - "in": Literal["header"], - "key": Literal["Authorization"], - "value": Optional[str], - }, -) - - -BearerFormatAuthSetting = TypedDict( - "BearerFormatAuthSetting", - { - "type": Literal["bearer"], - "in": Literal["header"], - "format": Literal["JWT"], - "key": Literal["Authorization"], - "value": str, - }, -) - - -BearerAuthSetting = TypedDict( - "BearerAuthSetting", - { - "type": Literal["bearer"], - "in": Literal["header"], - "key": Literal["Authorization"], - "value": str, - }, -) - - -HTTPSignatureAuthSetting = TypedDict( - "HTTPSignatureAuthSetting", - { - "type": Literal["http-signature"], - "in": Literal["header"], - "key": Literal["Authorization"], - "value": None, - }, -) - - -AuthSettings = TypedDict( - "AuthSettings", - { - "Authorization": APIKeyAuthSetting, - "Bearer": BearerAuthSetting, - "Presigned": APIKeyAuthSetting, - }, - total=False, -) - - -class HostSettingVariable(TypedDict): - description: str - default_value: str - enum_values: List[str] - - -class HostSetting(TypedDict): - url: str - description: str - variables: NotRequired[Dict[str, HostSettingVariable]] - - class Configuration: """This class contains various settings of the API client. @@ -187,26 +82,20 @@ class Configuration: Cookie: JSESSIONID abc123 """ - _default: ClassVar[Optional[Self]] = None - - def __init__( - self, - host: Optional[str]=None, - api_key: Optional[Dict[str, str]]=None, - api_key_prefix: Optional[Dict[str, str]]=None, - username: Optional[str]=None, - password: Optional[str]=None, - access_token: Optional[str]=None, - server_index: Optional[int]=None, - server_variables: Optional[ServerVariablesT]=None, - server_operation_index: Optional[Dict[int, int]]=None, - server_operation_variables: Optional[Dict[int, ServerVariablesT]]=None, - ignore_operation_servers: bool=False, - ssl_ca_cert: Optional[str]=None, - retries: Optional[int] = None, - *, - debug: Optional[bool] = None, - ) -> None: + _default = None + + def __init__(self, host=None, + api_key=None, api_key_prefix=None, + username=None, password=None, + access_token=None, + server_index=None, server_variables=None, + server_operation_index=None, server_operation_variables=None, + ignore_operation_servers=False, + ssl_ca_cert=None, + retries=None, + *, + debug: Optional[bool] = None + ) -> None: """Constructor """ self._base_path = "https://prod.api.appcluster01.ca-central-1.ezmax.com/rest" if host is None else host @@ -330,7 +219,7 @@ def __init__( """date format """ - def __deepcopy__(self, memo: Dict[int, Any]) -> Self: + def __deepcopy__(self, memo): cls = self.__class__ result = cls.__new__(cls) memo[id(self)] = result @@ -344,11 +233,11 @@ def __deepcopy__(self, memo: Dict[int, Any]) -> Self: result.debug = self.debug return result - def __setattr__(self, name: str, value: Any) -> None: + def __setattr__(self, name, value): object.__setattr__(self, name, value) @classmethod - def set_default(cls, default: Optional[Self]) -> None: + def set_default(cls, default): """Set default instance of configuration. It stores default configuration, which can be @@ -359,7 +248,7 @@ def set_default(cls, default: Optional[Self]) -> None: cls._default = default @classmethod - def get_default_copy(cls) -> Self: + def get_default_copy(cls): """Deprecated. Please use `get_default` instead. Deprecated. Please use `get_default` instead. @@ -369,7 +258,7 @@ def get_default_copy(cls) -> Self: return cls.get_default() @classmethod - def get_default(cls) -> Self: + def get_default(cls): """Return the default configuration. This method returns newly created, based on default constructor, @@ -379,11 +268,11 @@ def get_default(cls) -> Self: :return: The configuration object. """ if cls._default is None: - cls._default = cls() + cls._default = Configuration() return cls._default @property - def logger_file(self) -> Optional[str]: + def logger_file(self): """The logger file. If the logger_file is None, then add stream handler and remove file @@ -395,7 +284,7 @@ def logger_file(self) -> Optional[str]: return self.__logger_file @logger_file.setter - def logger_file(self, value: Optional[str]) -> None: + def logger_file(self, value): """The logger file. If the logger_file is None, then add stream handler and remove file @@ -414,7 +303,7 @@ def logger_file(self, value: Optional[str]) -> None: logger.addHandler(self.logger_file_handler) @property - def debug(self) -> bool: + def debug(self): """Debug status :param value: The debug status, True or False. @@ -423,7 +312,7 @@ def debug(self) -> bool: return self.__debug @debug.setter - def debug(self, value: bool) -> None: + def debug(self, value): """Debug status :param value: The debug status, True or False. @@ -445,7 +334,7 @@ def debug(self, value: bool) -> None: httplib.HTTPConnection.debuglevel = 0 @property - def logger_format(self) -> str: + def logger_format(self): """The logger format. The logger_formatter will be updated when sets logger_format. @@ -456,7 +345,7 @@ def logger_format(self) -> str: return self.__logger_format @logger_format.setter - def logger_format(self, value: str) -> None: + def logger_format(self, value): """The logger format. The logger_formatter will be updated when sets logger_format. @@ -467,7 +356,7 @@ def logger_format(self, value: str) -> None: self.__logger_format = value self.logger_formatter = logging.Formatter(self.__logger_format) - def get_api_key_with_prefix(self, identifier: str, alias: Optional[str]=None) -> Optional[str]: + def get_api_key_with_prefix(self, identifier, alias=None): """Gets API key (with prefix if set). :param identifier: The identifier of apiKey. @@ -484,9 +373,7 @@ def get_api_key_with_prefix(self, identifier: str, alias: Optional[str]=None) -> else: return key - return None - - def get_basic_auth_token(self) -> Optional[str]: + def get_basic_auth_token(self): """Gets HTTP basic authentication header (string). :return: The token for basic HTTP authentication. @@ -501,12 +388,12 @@ def get_basic_auth_token(self) -> Optional[str]: basic_auth=username + ':' + password ).get('authorization') - def auth_settings(self)-> AuthSettings: + def auth_settings(self): """Gets Auth Settings dict for api client. :return: The Auth Settings information dict. """ - auth: AuthSettings = {} + auth = {} if 'Authorization' in self.api_key: auth['Authorization'] = { 'type': 'api_key', @@ -534,7 +421,7 @@ def auth_settings(self)-> AuthSettings: } return auth - def to_debug_report(self) -> str: + def to_debug_report(self): """Gets the essential information for debugging. :return: The report for debugging. @@ -546,7 +433,7 @@ def to_debug_report(self) -> str: "SDK Package Version: 1.2.1".\ format(env=sys.platform, pyversion=sys.version) - def get_host_settings(self) -> List[HostSetting]: + def get_host_settings(self): """Gets an array of host settings :return: An array of host settings @@ -616,12 +503,7 @@ def get_host_settings(self) -> List[HostSetting]: } ] - def get_host_from_settings( - self, - index: Optional[int], - variables: Optional[ServerVariablesT]=None, - servers: Optional[List[HostSetting]]=None, - ) -> str: + def get_host_from_settings(self, index, variables=None, servers=None): """Gets host URL based on the index and variables :param index: array index of the host settings :param variables: hash of variable and the corresponding value @@ -661,12 +543,12 @@ def get_host_from_settings( return url @property - def host(self) -> str: + def host(self): """Return generated host.""" return self.get_host_from_settings(self.server_index, variables=self.server_variables) @host.setter - def host(self, value: str) -> None: + def host(self, value): """Fix base path.""" self._base_path = value self.server_index = None diff --git a/eZmaxApi/models/activesession_generate_federation_token_v1_response.py b/eZmaxApi/models/activesession_generate_federation_token_v1_response.py index 83bf41f0d..adbe4ec88 100644 --- a/eZmaxApi/models/activesession_generate_federation_token_v1_response.py +++ b/eZmaxApi/models/activesession_generate_federation_token_v1_response.py @@ -18,19 +18,20 @@ import re # noqa: F401 import json -from pydantic import ConfigDict, Field -from typing import Any, ClassVar, Dict, List +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List, Optional from eZmaxApi.models.activesession_generate_federation_token_v1_response_m_payload import ActivesessionGenerateFederationTokenV1ResponseMPayload -from eZmaxApi.models.common_response import CommonResponse from eZmaxApi.models.common_response_obj_debug import CommonResponseObjDebug from eZmaxApi.models.common_response_obj_debug_payload import CommonResponseObjDebugPayload from typing import Optional, Set from typing_extensions import Self -class ActivesessionGenerateFederationTokenV1Response(CommonResponse): +class ActivesessionGenerateFederationTokenV1Response(BaseModel): """ Response for POST /1/object/activesession/generateFederationToken """ # noqa: E501 + obj_debug_payload: CommonResponseObjDebugPayload = Field(alias="objDebugPayload") + obj_debug: Optional[CommonResponseObjDebug] = Field(default=None, alias="objDebug") m_payload: ActivesessionGenerateFederationTokenV1ResponseMPayload = Field(alias="mPayload") __properties: ClassVar[List[str]] = ["objDebugPayload", "objDebug", "mPayload"] diff --git a/eZmaxApi/models/activesession_get_current_v1_response.py b/eZmaxApi/models/activesession_get_current_v1_response.py index b267e79c2..c34194811 100644 --- a/eZmaxApi/models/activesession_get_current_v1_response.py +++ b/eZmaxApi/models/activesession_get_current_v1_response.py @@ -18,20 +18,21 @@ import re # noqa: F401 import json -from pydantic import ConfigDict, Field -from typing import Any, ClassVar, Dict, List -from eZmaxApi.models.activesession_response_compound import ActivesessionResponseCompound -from eZmaxApi.models.common_response import CommonResponse +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List, Optional +from eZmaxApi.models.activesession_get_current_v1_response_m_payload import ActivesessionGetCurrentV1ResponseMPayload from eZmaxApi.models.common_response_obj_debug import CommonResponseObjDebug from eZmaxApi.models.common_response_obj_debug_payload import CommonResponseObjDebugPayload from typing import Optional, Set from typing_extensions import Self -class ActivesessionGetCurrentV1Response(CommonResponse): +class ActivesessionGetCurrentV1Response(BaseModel): """ Response for GET /1/object/activesession/getCurrent """ # noqa: E501 - m_payload: ActivesessionResponseCompound = Field(description="Payload for GET /1/object/activesession/getCurrent", alias="mPayload") + obj_debug_payload: CommonResponseObjDebugPayload = Field(alias="objDebugPayload") + obj_debug: Optional[CommonResponseObjDebug] = Field(default=None, alias="objDebug") + m_payload: ActivesessionGetCurrentV1ResponseMPayload = Field(alias="mPayload") __properties: ClassVar[List[str]] = ["objDebugPayload", "objDebug", "mPayload"] model_config = ConfigDict( @@ -96,7 +97,7 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: _obj = cls.model_validate({ "objDebugPayload": CommonResponseObjDebugPayload.from_dict(obj["objDebugPayload"]) if obj.get("objDebugPayload") is not None else None, "objDebug": CommonResponseObjDebug.from_dict(obj["objDebug"]) if obj.get("objDebug") is not None else None, - "mPayload": ActivesessionResponseCompound.from_dict(obj["mPayload"]) if obj.get("mPayload") is not None else None + "mPayload": ActivesessionGetCurrentV1ResponseMPayload.from_dict(obj["mPayload"]) if obj.get("mPayload") is not None else None }) return _obj diff --git a/eZmaxApi/models/activesession_get_current_v1_response_m_payload.py b/eZmaxApi/models/activesession_get_current_v1_response_m_payload.py index fcbcf0c67..617013b4a 100644 --- a/eZmaxApi/models/activesession_get_current_v1_response_m_payload.py +++ b/eZmaxApi/models/activesession_get_current_v1_response_m_payload.py @@ -18,9 +18,9 @@ import re # noqa: F401 import json -from pydantic import ConfigDict -from typing import Any, ClassVar, Dict, List -from eZmaxApi.models.activesession_response_compound import ActivesessionResponseCompound +from pydantic import BaseModel, ConfigDict, Field, StrictBool, StrictStr, field_validator +from typing import Any, ClassVar, Dict, List, Optional +from typing_extensions import Annotated from eZmaxApi.models.activesession_response_compound_apikey import ActivesessionResponseCompoundApikey from eZmaxApi.models.activesession_response_compound_user import ActivesessionResponseCompoundUser from eZmaxApi.models.field_e_activesession_ezsign import FieldEActivesessionEzsign @@ -36,12 +36,53 @@ from typing import Optional, Set from typing_extensions import Self -class ActivesessionGetCurrentV1ResponseMPayload(ActivesessionResponseCompound): +class ActivesessionGetCurrentV1ResponseMPayload(BaseModel): """ Payload for GET /1/object/activesession/getCurrent """ # noqa: E501 + e_activesession_usertype: FieldEActivesessionUsertype = Field(alias="eActivesessionUsertype") + e_activesession_origin: FieldEActivesessionOrigin = Field(alias="eActivesessionOrigin") + e_activesession_weekdaystart: FieldEActivesessionWeekdaystart = Field(alias="eActivesessionWeekdaystart") + fki_language_id: Annotated[int, Field(le=2, strict=True, ge=1)] = Field(description="The unique ID of the Language. Valid values: |Value|Description| |-|-| |1|French| |2|English|", alias="fkiLanguageID") + s_company_name_x: StrictStr = Field(description="The Name of the Company in the language of the requester", alias="sCompanyNameX") + s_department_name_x: StrictStr = Field(description="The Name of the Department in the language of the requester", alias="sDepartmentNameX") + b_activesession_debug: StrictBool = Field(description="Whether the active session is in debug or not", alias="bActivesessionDebug") + b_activesession_issuperadmin: StrictBool = Field(description="Whether the active session is superadmin or not", alias="bActivesessionIssuperadmin") + b_activesession_attachment: Optional[StrictBool] = Field(default=None, description="Can access attachment when we clone a user", alias="bActivesessionAttachment") + b_activesession_canafe: Optional[StrictBool] = Field(default=None, description="Can access canafe when we clone a user", alias="bActivesessionCanafe") + b_activesession_financial: Optional[StrictBool] = Field(default=None, description="Can access financial element when we clone a user", alias="bActivesessionFinancial") + b_activesession_realestatecompleted: Optional[StrictBool] = Field(default=None, description="Can access closed realestate folders when we clone a user", alias="bActivesessionRealestatecompleted") + e_activesession_ezsign: Optional[FieldEActivesessionEzsign] = Field(default=None, alias="eActivesessionEzsign") + e_activesession_ezsignaccess: FieldEActivesessionEzsignaccess = Field(alias="eActivesessionEzsignaccess") + e_activesession_ezsignprepaid: Optional[FieldEActivesessionEzsignprepaid] = Field(default=None, alias="eActivesessionEzsignprepaid") + e_activesession_realestateinprogress: Optional[FieldEActivesessionRealestateinprogress] = Field(default=None, alias="eActivesessionRealestateinprogress") + pks_customer_code: Annotated[str, Field(min_length=2, strict=True, max_length=6)] = Field(description="The customer code assigned to your account", alias="pksCustomerCode") + fki_systemconfigurationtype_id: Annotated[int, Field(strict=True, ge=1)] = Field(description="The unique ID of the Systemconfigurationtype", alias="fkiSystemconfigurationtypeID") + fki_signature_id: Optional[Annotated[int, Field(le=16777215, strict=True, ge=0)]] = Field(default=None, description="The unique ID of the Signature", alias="fkiSignatureID") + fki_ezsignuser_id: Optional[Annotated[int, Field(le=65535, strict=True, ge=0)]] = Field(default=None, description="The unique ID of the Ezsignuser", alias="fkiEzsignuserID") + b_systemconfiguration_ezsignpaidbyoffice: Optional[StrictBool] = Field(default=None, description="Whether if Ezsign is paid by the company or not", alias="bSystemconfigurationEzsignpaidbyoffice") + e_systemconfiguration_ezsignofficeplan: Optional[FieldESystemconfigurationEzsignofficeplan] = Field(default=None, alias="eSystemconfigurationEzsignofficeplan") + e_user_ezsignaccess: FieldEUserEzsignaccess = Field(alias="eUserEzsignaccess") + e_user_ezsignprepaid: Optional[FieldEUserEzsignprepaid] = Field(default=None, alias="eUserEzsignprepaid") + b_user_ezsigntrial: Optional[StrictBool] = Field(default=None, description="Whether the User's eZsign subscription is a trial", alias="bUserEzsigntrial") + dt_user_ezsignprepaidexpiration: Optional[Annotated[str, Field(strict=True)]] = Field(default=None, description="The eZsign prepaid expiration date", alias="dtUserEzsignprepaidexpiration") + a_pki_permission_id: List[Annotated[int, Field(strict=True, ge=0)]] = Field(description="An array of permissions granted to the user or api key", alias="a_pkiPermissionID") + obj_user_real: ActivesessionResponseCompoundUser = Field(alias="objUserReal") + obj_user_cloned: Optional[ActivesessionResponseCompoundUser] = Field(default=None, alias="objUserCloned") + obj_apikey: Optional[ActivesessionResponseCompoundApikey] = Field(default=None, alias="objApikey") + a_e_module_internalname: List[StrictStr] = Field(description="An Array of Registered modules. These are the modules that are Licensed to be used by the User or the API Key.", alias="a_eModuleInternalname") __properties: ClassVar[List[str]] = ["eActivesessionUsertype", "eActivesessionOrigin", "eActivesessionWeekdaystart", "fkiLanguageID", "sCompanyNameX", "sDepartmentNameX", "bActivesessionDebug", "bActivesessionIssuperadmin", "bActivesessionAttachment", "bActivesessionCanafe", "bActivesessionFinancial", "bActivesessionRealestatecompleted", "eActivesessionEzsign", "eActivesessionEzsignaccess", "eActivesessionEzsignprepaid", "eActivesessionRealestateinprogress", "pksCustomerCode", "fkiSystemconfigurationtypeID", "fkiSignatureID", "fkiEzsignuserID", "bSystemconfigurationEzsignpaidbyoffice", "eSystemconfigurationEzsignofficeplan", "eUserEzsignaccess", "eUserEzsignprepaid", "bUserEzsigntrial", "dtUserEzsignprepaidexpiration", "a_pkiPermissionID", "objUserReal", "objUserCloned", "objApikey", "a_eModuleInternalname"] + @field_validator('dt_user_ezsignprepaidexpiration') + def dt_user_ezsignprepaidexpiration_validate_regular_expression(cls, value): + """Validates the regular expression""" + if value is None: + return value + + if not re.match(r"^[0-9]{4}-(0[1-9]|1[0-2])-(0[1-9]|[1-2][0-9]|3[0-1])$", value): + raise ValueError(r"must validate the regular expression /^[0-9]{4}-(0[1-9]|1[0-2])-(0[1-9]|[1-2][0-9]|3[0-1])$/") + return value + model_config = ConfigDict( populate_by_name=True, validate_assignment=True, diff --git a/eZmaxApi/models/activesession_get_current_v2_response.py b/eZmaxApi/models/activesession_get_current_v2_response.py index 0c5bd6841..8db5f7bd5 100644 --- a/eZmaxApi/models/activesession_get_current_v2_response.py +++ b/eZmaxApi/models/activesession_get_current_v2_response.py @@ -18,19 +18,20 @@ import re # noqa: F401 import json -from pydantic import ConfigDict, Field -from typing import Any, ClassVar, Dict, List +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List, Optional from eZmaxApi.models.activesession_get_current_v2_response_m_payload import ActivesessionGetCurrentV2ResponseMPayload -from eZmaxApi.models.common_response import CommonResponse from eZmaxApi.models.common_response_obj_debug import CommonResponseObjDebug from eZmaxApi.models.common_response_obj_debug_payload import CommonResponseObjDebugPayload from typing import Optional, Set from typing_extensions import Self -class ActivesessionGetCurrentV2Response(CommonResponse): +class ActivesessionGetCurrentV2Response(BaseModel): """ Response for GET /2/object/activesession/getCurrent """ # noqa: E501 + obj_debug_payload: CommonResponseObjDebugPayload = Field(alias="objDebugPayload") + obj_debug: Optional[CommonResponseObjDebug] = Field(default=None, alias="objDebug") m_payload: ActivesessionGetCurrentV2ResponseMPayload = Field(alias="mPayload") __properties: ClassVar[List[str]] = ["objDebugPayload", "objDebug", "mPayload"] diff --git a/eZmaxApi/models/activesession_get_list_v1_response.py b/eZmaxApi/models/activesession_get_list_v1_response.py index 3fe3f8d31..85136cf4c 100644 --- a/eZmaxApi/models/activesession_get_list_v1_response.py +++ b/eZmaxApi/models/activesession_get_list_v1_response.py @@ -18,19 +18,20 @@ import re # noqa: F401 import json -from pydantic import ConfigDict, Field -from typing import Any, ClassVar, Dict, List +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List, Optional from eZmaxApi.models.activesession_get_list_v1_response_m_payload import ActivesessionGetListV1ResponseMPayload -from eZmaxApi.models.common_response_get_list import CommonResponseGetList from eZmaxApi.models.common_response_obj_debug import CommonResponseObjDebug from eZmaxApi.models.common_response_obj_debug_payload_get_list import CommonResponseObjDebugPayloadGetList from typing import Optional, Set from typing_extensions import Self -class ActivesessionGetListV1Response(CommonResponseGetList): +class ActivesessionGetListV1Response(BaseModel): """ Response for GET /1/object/activesession/getList """ # noqa: E501 + obj_debug_payload: CommonResponseObjDebugPayloadGetList = Field(alias="objDebugPayload") + obj_debug: Optional[CommonResponseObjDebug] = Field(default=None, alias="objDebug") m_payload: ActivesessionGetListV1ResponseMPayload = Field(alias="mPayload") __properties: ClassVar[List[str]] = ["objDebugPayload", "objDebug", "mPayload"] diff --git a/eZmaxApi/models/activesession_get_list_v1_response_m_payload.py b/eZmaxApi/models/activesession_get_list_v1_response_m_payload.py index 902210e25..13d9d8fcb 100644 --- a/eZmaxApi/models/activesession_get_list_v1_response_m_payload.py +++ b/eZmaxApi/models/activesession_get_list_v1_response_m_payload.py @@ -18,17 +18,18 @@ import re # noqa: F401 import json -from pydantic import ConfigDict, Field +from pydantic import BaseModel, ConfigDict, Field, StrictInt from typing import Any, ClassVar, Dict, List from eZmaxApi.models.activesession_list_element import ActivesessionListElement -from eZmaxApi.models.common_get_list_v1_response_m_payload import CommonGetListV1ResponseMPayload from typing import Optional, Set from typing_extensions import Self -class ActivesessionGetListV1ResponseMPayload(CommonGetListV1ResponseMPayload): +class ActivesessionGetListV1ResponseMPayload(BaseModel): """ Payload for GET /1/object/activesession/getList """ # noqa: E501 + i_row_returned: StrictInt = Field(description="The number of rows returned", alias="iRowReturned") + i_row_filtered: StrictInt = Field(description="The number of rows matching your filters (if any) or the total number of rows", alias="iRowFiltered") a_obj_activesession: List[ActivesessionListElement] = Field(alias="a_objActivesession") __properties: ClassVar[List[str]] = ["iRowReturned", "iRowFiltered", "a_objActivesession"] diff --git a/eZmaxApi/models/activesession_response.py b/eZmaxApi/models/activesession_response.py index bd3434d86..c0053beca 100644 --- a/eZmaxApi/models/activesession_response.py +++ b/eZmaxApi/models/activesession_response.py @@ -98,7 +98,35 @@ def to_dict(self) -> Dict[str, Any]: return _dict @classmethod - def from_dict(cls, obj: Dict[str, Any]) -> Optional[Self]: + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: """Create an instance of ActivesessionResponse from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "eActivesessionUsertype": obj.get("eActivesessionUsertype"), + "eActivesessionOrigin": obj.get("eActivesessionOrigin"), + "eActivesessionWeekdaystart": obj.get("eActivesessionWeekdaystart"), + "fkiLanguageID": obj.get("fkiLanguageID"), + "sCompanyNameX": obj.get("sCompanyNameX"), + "sDepartmentNameX": obj.get("sDepartmentNameX"), + "bActivesessionDebug": obj.get("bActivesessionDebug"), + "bActivesessionIssuperadmin": obj.get("bActivesessionIssuperadmin"), + "bActivesessionAttachment": obj.get("bActivesessionAttachment"), + "bActivesessionCanafe": obj.get("bActivesessionCanafe"), + "bActivesessionFinancial": obj.get("bActivesessionFinancial"), + "bActivesessionRealestatecompleted": obj.get("bActivesessionRealestatecompleted"), + "eActivesessionEzsign": obj.get("eActivesessionEzsign"), + "eActivesessionEzsignaccess": obj.get("eActivesessionEzsignaccess"), + "eActivesessionEzsignprepaid": obj.get("eActivesessionEzsignprepaid"), + "eActivesessionRealestateinprogress": obj.get("eActivesessionRealestateinprogress"), + "pksCustomerCode": obj.get("pksCustomerCode"), + "fkiSystemconfigurationtypeID": obj.get("fkiSystemconfigurationtypeID"), + "fkiSignatureID": obj.get("fkiSignatureID") + }) + return _obj diff --git a/eZmaxApi/models/activesession_response_compound.py b/eZmaxApi/models/activesession_response_compound.py index 59dc95863..d5666ee7f 100644 --- a/eZmaxApi/models/activesession_response_compound.py +++ b/eZmaxApi/models/activesession_response_compound.py @@ -18,10 +18,9 @@ import re # noqa: F401 import json -from pydantic import ConfigDict, Field, StrictBool, StrictStr, field_validator +from pydantic import BaseModel, ConfigDict, Field, StrictBool, StrictStr, field_validator from typing import Any, ClassVar, Dict, List, Optional from typing_extensions import Annotated -from eZmaxApi.models.activesession_response import ActivesessionResponse from eZmaxApi.models.activesession_response_compound_apikey import ActivesessionResponseCompoundApikey from eZmaxApi.models.activesession_response_compound_user import ActivesessionResponseCompoundUser from eZmaxApi.models.field_e_activesession_ezsign import FieldEActivesessionEzsign @@ -37,10 +36,29 @@ from typing import Optional, Set from typing_extensions import Self -class ActivesessionResponseCompound(ActivesessionResponse): +class ActivesessionResponseCompound(BaseModel): """ Payload for GET /1/object/activesession/getCurrent """ # noqa: E501 + e_activesession_usertype: FieldEActivesessionUsertype = Field(alias="eActivesessionUsertype") + e_activesession_origin: FieldEActivesessionOrigin = Field(alias="eActivesessionOrigin") + e_activesession_weekdaystart: FieldEActivesessionWeekdaystart = Field(alias="eActivesessionWeekdaystart") + fki_language_id: Annotated[int, Field(le=2, strict=True, ge=1)] = Field(description="The unique ID of the Language. Valid values: |Value|Description| |-|-| |1|French| |2|English|", alias="fkiLanguageID") + s_company_name_x: StrictStr = Field(description="The Name of the Company in the language of the requester", alias="sCompanyNameX") + s_department_name_x: StrictStr = Field(description="The Name of the Department in the language of the requester", alias="sDepartmentNameX") + b_activesession_debug: StrictBool = Field(description="Whether the active session is in debug or not", alias="bActivesessionDebug") + b_activesession_issuperadmin: StrictBool = Field(description="Whether the active session is superadmin or not", alias="bActivesessionIssuperadmin") + b_activesession_attachment: Optional[StrictBool] = Field(default=None, description="Can access attachment when we clone a user", alias="bActivesessionAttachment") + b_activesession_canafe: Optional[StrictBool] = Field(default=None, description="Can access canafe when we clone a user", alias="bActivesessionCanafe") + b_activesession_financial: Optional[StrictBool] = Field(default=None, description="Can access financial element when we clone a user", alias="bActivesessionFinancial") + b_activesession_realestatecompleted: Optional[StrictBool] = Field(default=None, description="Can access closed realestate folders when we clone a user", alias="bActivesessionRealestatecompleted") + e_activesession_ezsign: Optional[FieldEActivesessionEzsign] = Field(default=None, alias="eActivesessionEzsign") + e_activesession_ezsignaccess: FieldEActivesessionEzsignaccess = Field(alias="eActivesessionEzsignaccess") + e_activesession_ezsignprepaid: Optional[FieldEActivesessionEzsignprepaid] = Field(default=None, alias="eActivesessionEzsignprepaid") + e_activesession_realestateinprogress: Optional[FieldEActivesessionRealestateinprogress] = Field(default=None, alias="eActivesessionRealestateinprogress") + pks_customer_code: Annotated[str, Field(min_length=2, strict=True, max_length=6)] = Field(description="The customer code assigned to your account", alias="pksCustomerCode") + fki_systemconfigurationtype_id: Annotated[int, Field(strict=True, ge=1)] = Field(description="The unique ID of the Systemconfigurationtype", alias="fkiSystemconfigurationtypeID") + fki_signature_id: Optional[Annotated[int, Field(le=16777215, strict=True, ge=0)]] = Field(default=None, description="The unique ID of the Signature", alias="fkiSignatureID") fki_ezsignuser_id: Optional[Annotated[int, Field(le=65535, strict=True, ge=0)]] = Field(default=None, description="The unique ID of the Ezsignuser", alias="fkiEzsignuserID") b_systemconfiguration_ezsignpaidbyoffice: Optional[StrictBool] = Field(default=None, description="Whether if Ezsign is paid by the company or not", alias="bSystemconfigurationEzsignpaidbyoffice") e_systemconfiguration_ezsignofficeplan: Optional[FieldESystemconfigurationEzsignofficeplan] = Field(default=None, alias="eSystemconfigurationEzsignofficeplan") @@ -116,7 +134,47 @@ def to_dict(self) -> Dict[str, Any]: return _dict @classmethod - def from_dict(cls, obj: Dict[str, Any]) -> Optional[Self]: + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: """Create an instance of ActivesessionResponseCompound from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "eActivesessionUsertype": obj.get("eActivesessionUsertype"), + "eActivesessionOrigin": obj.get("eActivesessionOrigin"), + "eActivesessionWeekdaystart": obj.get("eActivesessionWeekdaystart"), + "fkiLanguageID": obj.get("fkiLanguageID"), + "sCompanyNameX": obj.get("sCompanyNameX"), + "sDepartmentNameX": obj.get("sDepartmentNameX"), + "bActivesessionDebug": obj.get("bActivesessionDebug"), + "bActivesessionIssuperadmin": obj.get("bActivesessionIssuperadmin"), + "bActivesessionAttachment": obj.get("bActivesessionAttachment"), + "bActivesessionCanafe": obj.get("bActivesessionCanafe"), + "bActivesessionFinancial": obj.get("bActivesessionFinancial"), + "bActivesessionRealestatecompleted": obj.get("bActivesessionRealestatecompleted"), + "eActivesessionEzsign": obj.get("eActivesessionEzsign"), + "eActivesessionEzsignaccess": obj.get("eActivesessionEzsignaccess"), + "eActivesessionEzsignprepaid": obj.get("eActivesessionEzsignprepaid"), + "eActivesessionRealestateinprogress": obj.get("eActivesessionRealestateinprogress"), + "pksCustomerCode": obj.get("pksCustomerCode"), + "fkiSystemconfigurationtypeID": obj.get("fkiSystemconfigurationtypeID"), + "fkiSignatureID": obj.get("fkiSignatureID"), + "fkiEzsignuserID": obj.get("fkiEzsignuserID"), + "bSystemconfigurationEzsignpaidbyoffice": obj.get("bSystemconfigurationEzsignpaidbyoffice"), + "eSystemconfigurationEzsignofficeplan": obj.get("eSystemconfigurationEzsignofficeplan"), + "eUserEzsignaccess": obj.get("eUserEzsignaccess"), + "eUserEzsignprepaid": obj.get("eUserEzsignprepaid"), + "bUserEzsigntrial": obj.get("bUserEzsigntrial"), + "dtUserEzsignprepaidexpiration": obj.get("dtUserEzsignprepaidexpiration"), + "a_pkiPermissionID": obj.get("a_pkiPermissionID"), + "objUserReal": ActivesessionResponseCompoundUser.from_dict(obj["objUserReal"]) if obj.get("objUserReal") is not None else None, + "objUserCloned": ActivesessionResponseCompoundUser.from_dict(obj["objUserCloned"]) if obj.get("objUserCloned") is not None else None, + "objApikey": ActivesessionResponseCompoundApikey.from_dict(obj["objApikey"]) if obj.get("objApikey") is not None else None, + "a_eModuleInternalname": obj.get("a_eModuleInternalname") + }) + return _obj diff --git a/eZmaxApi/models/apikey_create_object_v2_request.py b/eZmaxApi/models/apikey_create_object_v2_request.py index 0d6a3edef..3d5ee84f0 100644 --- a/eZmaxApi/models/apikey_create_object_v2_request.py +++ b/eZmaxApi/models/apikey_create_object_v2_request.py @@ -21,7 +21,7 @@ from pydantic import BaseModel, ConfigDict, Field from typing import Any, ClassVar, Dict, List from typing_extensions import Annotated -from eZmaxApi.models.apikey_request import ApikeyRequest +from eZmaxApi.models.apikey_request_compound import ApikeyRequestCompound from typing import Optional, Set from typing_extensions import Self @@ -29,7 +29,7 @@ class ApikeyCreateObjectV2Request(BaseModel): """ Request for POST /2/object/apikey """ # noqa: E501 - a_obj_apikey: Annotated[List[ApikeyRequest], Field(min_length=1)] = Field(alias="a_objApikey") + a_obj_apikey: Annotated[List[ApikeyRequestCompound], Field(min_length=1)] = Field(alias="a_objApikey") __properties: ClassVar[List[str]] = ["a_objApikey"] model_config = ConfigDict( @@ -90,7 +90,7 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: return cls.model_validate(obj) _obj = cls.model_validate({ - "a_objApikey": [ApikeyRequest.from_dict(_item) for _item in obj["a_objApikey"]] if obj.get("a_objApikey") is not None else None + "a_objApikey": [ApikeyRequestCompound.from_dict(_item) for _item in obj["a_objApikey"]] if obj.get("a_objApikey") is not None else None }) return _obj diff --git a/eZmaxApi/models/apikey_create_object_v2_response.py b/eZmaxApi/models/apikey_create_object_v2_response.py index c750f9152..0c526da19 100644 --- a/eZmaxApi/models/apikey_create_object_v2_response.py +++ b/eZmaxApi/models/apikey_create_object_v2_response.py @@ -18,19 +18,20 @@ import re # noqa: F401 import json -from pydantic import ConfigDict, Field -from typing import Any, ClassVar, Dict, List +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List, Optional from eZmaxApi.models.apikey_create_object_v2_response_m_payload import ApikeyCreateObjectV2ResponseMPayload -from eZmaxApi.models.common_response import CommonResponse from eZmaxApi.models.common_response_obj_debug import CommonResponseObjDebug from eZmaxApi.models.common_response_obj_debug_payload import CommonResponseObjDebugPayload from typing import Optional, Set from typing_extensions import Self -class ApikeyCreateObjectV2Response(CommonResponse): +class ApikeyCreateObjectV2Response(BaseModel): """ Response for POST /2/object/apikey """ # noqa: E501 + obj_debug_payload: CommonResponseObjDebugPayload = Field(alias="objDebugPayload") + obj_debug: Optional[CommonResponseObjDebug] = Field(default=None, alias="objDebug") m_payload: ApikeyCreateObjectV2ResponseMPayload = Field(alias="mPayload") __properties: ClassVar[List[str]] = ["objDebugPayload", "objDebug", "mPayload"] diff --git a/eZmaxApi/models/apikey_create_object_v2_response_m_payload.py b/eZmaxApi/models/apikey_create_object_v2_response_m_payload.py index 5db483907..e40834d84 100644 --- a/eZmaxApi/models/apikey_create_object_v2_response_m_payload.py +++ b/eZmaxApi/models/apikey_create_object_v2_response_m_payload.py @@ -21,7 +21,7 @@ from pydantic import BaseModel, ConfigDict, Field from typing import Any, ClassVar, Dict, List from typing_extensions import Annotated -from eZmaxApi.models.apikey_response import ApikeyResponse +from eZmaxApi.models.apikey_response_compound import ApikeyResponseCompound from typing import Optional, Set from typing_extensions import Self @@ -29,7 +29,7 @@ class ApikeyCreateObjectV2ResponseMPayload(BaseModel): """ Payload for POST /2/object/apikey """ # noqa: E501 - a_obj_apikey: Annotated[List[ApikeyResponse], Field(min_length=1)] = Field(alias="a_objApikey") + a_obj_apikey: Annotated[List[ApikeyResponseCompound], Field(min_length=1)] = Field(alias="a_objApikey") __properties: ClassVar[List[str]] = ["a_objApikey"] model_config = ConfigDict( @@ -90,7 +90,7 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: return cls.model_validate(obj) _obj = cls.model_validate({ - "a_objApikey": [ApikeyResponse.from_dict(_item) for _item in obj["a_objApikey"]] if obj.get("a_objApikey") is not None else None + "a_objApikey": [ApikeyResponseCompound.from_dict(_item) for _item in obj["a_objApikey"]] if obj.get("a_objApikey") is not None else None }) return _obj diff --git a/eZmaxApi/models/apikey_edit_object_v1_request.py b/eZmaxApi/models/apikey_edit_object_v1_request.py index 5661faf02..203ac3ed7 100644 --- a/eZmaxApi/models/apikey_edit_object_v1_request.py +++ b/eZmaxApi/models/apikey_edit_object_v1_request.py @@ -20,7 +20,7 @@ from pydantic import BaseModel, ConfigDict, Field from typing import Any, ClassVar, Dict, List -from eZmaxApi.models.apikey_request import ApikeyRequest +from eZmaxApi.models.apikey_request_compound import ApikeyRequestCompound from typing import Optional, Set from typing_extensions import Self @@ -28,7 +28,7 @@ class ApikeyEditObjectV1Request(BaseModel): """ Request for PUT /1/object/apikey/{pkiApikeyID} """ # noqa: E501 - obj_apikey: ApikeyRequest = Field(description="An Apikey Object and children to create a complete structure", alias="objApikey") + obj_apikey: ApikeyRequestCompound = Field(alias="objApikey") __properties: ClassVar[List[str]] = ["objApikey"] model_config = ConfigDict( @@ -85,7 +85,7 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: return cls.model_validate(obj) _obj = cls.model_validate({ - "objApikey": ApikeyRequest.from_dict(obj["objApikey"]) if obj.get("objApikey") is not None else None + "objApikey": ApikeyRequestCompound.from_dict(obj["objApikey"]) if obj.get("objApikey") is not None else None }) return _obj diff --git a/eZmaxApi/models/apikey_edit_object_v1_response.py b/eZmaxApi/models/apikey_edit_object_v1_response.py index e5c7159a9..5c29d29b3 100644 --- a/eZmaxApi/models/apikey_edit_object_v1_response.py +++ b/eZmaxApi/models/apikey_edit_object_v1_response.py @@ -18,18 +18,19 @@ import re # noqa: F401 import json -from pydantic import ConfigDict -from typing import Any, ClassVar, Dict, List -from eZmaxApi.models.common_response import CommonResponse +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List, Optional from eZmaxApi.models.common_response_obj_debug import CommonResponseObjDebug from eZmaxApi.models.common_response_obj_debug_payload import CommonResponseObjDebugPayload from typing import Optional, Set from typing_extensions import Self -class ApikeyEditObjectV1Response(CommonResponse): +class ApikeyEditObjectV1Response(BaseModel): """ Response for PUT /1/object/apikey/{pkiApikeyID} """ # noqa: E501 + obj_debug_payload: CommonResponseObjDebugPayload = Field(alias="objDebugPayload") + obj_debug: Optional[CommonResponseObjDebug] = Field(default=None, alias="objDebug") __properties: ClassVar[List[str]] = ["objDebugPayload", "objDebug"] model_config = ConfigDict( diff --git a/eZmaxApi/models/apikey_edit_permissions_v1_request.py b/eZmaxApi/models/apikey_edit_permissions_v1_request.py index c80ac3e64..d14dce826 100644 --- a/eZmaxApi/models/apikey_edit_permissions_v1_request.py +++ b/eZmaxApi/models/apikey_edit_permissions_v1_request.py @@ -20,7 +20,7 @@ from pydantic import BaseModel, ConfigDict, Field from typing import Any, ClassVar, Dict, List -from eZmaxApi.models.permission_request import PermissionRequest +from eZmaxApi.models.permission_request_compound import PermissionRequestCompound from typing import Optional, Set from typing_extensions import Self @@ -28,7 +28,7 @@ class ApikeyEditPermissionsV1Request(BaseModel): """ Request for PUT /1/object/apikey/{pkiApikeyID}/editPermissions """ # noqa: E501 - a_obj_permission: List[PermissionRequest] = Field(alias="a_objPermission") + a_obj_permission: List[PermissionRequestCompound] = Field(alias="a_objPermission") __properties: ClassVar[List[str]] = ["a_objPermission"] model_config = ConfigDict( @@ -89,7 +89,7 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: return cls.model_validate(obj) _obj = cls.model_validate({ - "a_objPermission": [PermissionRequest.from_dict(_item) for _item in obj["a_objPermission"]] if obj.get("a_objPermission") is not None else None + "a_objPermission": [PermissionRequestCompound.from_dict(_item) for _item in obj["a_objPermission"]] if obj.get("a_objPermission") is not None else None }) return _obj diff --git a/eZmaxApi/models/apikey_edit_permissions_v1_response.py b/eZmaxApi/models/apikey_edit_permissions_v1_response.py index d07489e5f..832f9475f 100644 --- a/eZmaxApi/models/apikey_edit_permissions_v1_response.py +++ b/eZmaxApi/models/apikey_edit_permissions_v1_response.py @@ -18,19 +18,20 @@ import re # noqa: F401 import json -from pydantic import ConfigDict, Field -from typing import Any, ClassVar, Dict, List +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List, Optional from eZmaxApi.models.apikey_edit_permissions_v1_response_m_payload import ApikeyEditPermissionsV1ResponseMPayload -from eZmaxApi.models.common_response import CommonResponse from eZmaxApi.models.common_response_obj_debug import CommonResponseObjDebug from eZmaxApi.models.common_response_obj_debug_payload import CommonResponseObjDebugPayload from typing import Optional, Set from typing_extensions import Self -class ApikeyEditPermissionsV1Response(CommonResponse): +class ApikeyEditPermissionsV1Response(BaseModel): """ Response for PUT /1/object/apikey/{pkiApikeyID}/editPermissions """ # noqa: E501 + obj_debug_payload: CommonResponseObjDebugPayload = Field(alias="objDebugPayload") + obj_debug: Optional[CommonResponseObjDebug] = Field(default=None, alias="objDebug") m_payload: ApikeyEditPermissionsV1ResponseMPayload = Field(alias="mPayload") __properties: ClassVar[List[str]] = ["objDebugPayload", "objDebug", "mPayload"] diff --git a/eZmaxApi/models/apikey_generate_delegated_credentials_v1_response.py b/eZmaxApi/models/apikey_generate_delegated_credentials_v1_response.py index dc7ba3b80..ee2cd2992 100644 --- a/eZmaxApi/models/apikey_generate_delegated_credentials_v1_response.py +++ b/eZmaxApi/models/apikey_generate_delegated_credentials_v1_response.py @@ -18,19 +18,20 @@ import re # noqa: F401 import json -from pydantic import ConfigDict, Field -from typing import Any, ClassVar, Dict, List +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List, Optional from eZmaxApi.models.apikey_generate_delegated_credentials_v1_response_m_payload import ApikeyGenerateDelegatedCredentialsV1ResponseMPayload -from eZmaxApi.models.common_response import CommonResponse from eZmaxApi.models.common_response_obj_debug import CommonResponseObjDebug from eZmaxApi.models.common_response_obj_debug_payload import CommonResponseObjDebugPayload from typing import Optional, Set from typing_extensions import Self -class ApikeyGenerateDelegatedCredentialsV1Response(CommonResponse): +class ApikeyGenerateDelegatedCredentialsV1Response(BaseModel): """ Response for POST /1/object/apikey/generateDelegatedCredentials """ # noqa: E501 + obj_debug_payload: CommonResponseObjDebugPayload = Field(alias="objDebugPayload") + obj_debug: Optional[CommonResponseObjDebug] = Field(default=None, alias="objDebug") m_payload: ApikeyGenerateDelegatedCredentialsV1ResponseMPayload = Field(alias="mPayload") __properties: ClassVar[List[str]] = ["objDebugPayload", "objDebug", "mPayload"] diff --git a/eZmaxApi/models/apikey_get_cors_v1_response.py b/eZmaxApi/models/apikey_get_cors_v1_response.py index 648f48ba2..f35636675 100644 --- a/eZmaxApi/models/apikey_get_cors_v1_response.py +++ b/eZmaxApi/models/apikey_get_cors_v1_response.py @@ -18,19 +18,20 @@ import re # noqa: F401 import json -from pydantic import ConfigDict, Field -from typing import Any, ClassVar, Dict, List +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List, Optional from eZmaxApi.models.apikey_get_cors_v1_response_m_payload import ApikeyGetCorsV1ResponseMPayload -from eZmaxApi.models.common_response import CommonResponse from eZmaxApi.models.common_response_obj_debug import CommonResponseObjDebug from eZmaxApi.models.common_response_obj_debug_payload import CommonResponseObjDebugPayload from typing import Optional, Set from typing_extensions import Self -class ApikeyGetCorsV1Response(CommonResponse): +class ApikeyGetCorsV1Response(BaseModel): """ Response for GET /1/object/apikey/{pkiApikeyID}/getCors """ # noqa: E501 + obj_debug_payload: CommonResponseObjDebugPayload = Field(alias="objDebugPayload") + obj_debug: Optional[CommonResponseObjDebug] = Field(default=None, alias="objDebug") m_payload: ApikeyGetCorsV1ResponseMPayload = Field(alias="mPayload") __properties: ClassVar[List[str]] = ["objDebugPayload", "objDebug", "mPayload"] diff --git a/eZmaxApi/models/apikey_get_list_v1_response.py b/eZmaxApi/models/apikey_get_list_v1_response.py index eceb82d40..8211410e8 100644 --- a/eZmaxApi/models/apikey_get_list_v1_response.py +++ b/eZmaxApi/models/apikey_get_list_v1_response.py @@ -18,19 +18,20 @@ import re # noqa: F401 import json -from pydantic import ConfigDict, Field -from typing import Any, ClassVar, Dict, List +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List, Optional from eZmaxApi.models.apikey_get_list_v1_response_m_payload import ApikeyGetListV1ResponseMPayload -from eZmaxApi.models.common_response_get_list import CommonResponseGetList from eZmaxApi.models.common_response_obj_debug import CommonResponseObjDebug from eZmaxApi.models.common_response_obj_debug_payload_get_list import CommonResponseObjDebugPayloadGetList from typing import Optional, Set from typing_extensions import Self -class ApikeyGetListV1Response(CommonResponseGetList): +class ApikeyGetListV1Response(BaseModel): """ Response for GET /1/object/apikey/getList """ # noqa: E501 + obj_debug_payload: CommonResponseObjDebugPayloadGetList = Field(alias="objDebugPayload") + obj_debug: Optional[CommonResponseObjDebug] = Field(default=None, alias="objDebug") m_payload: ApikeyGetListV1ResponseMPayload = Field(alias="mPayload") __properties: ClassVar[List[str]] = ["objDebugPayload", "objDebug", "mPayload"] diff --git a/eZmaxApi/models/apikey_get_list_v1_response_m_payload.py b/eZmaxApi/models/apikey_get_list_v1_response_m_payload.py index b567c2ecc..377a8c4c8 100644 --- a/eZmaxApi/models/apikey_get_list_v1_response_m_payload.py +++ b/eZmaxApi/models/apikey_get_list_v1_response_m_payload.py @@ -18,17 +18,18 @@ import re # noqa: F401 import json -from pydantic import ConfigDict, Field +from pydantic import BaseModel, ConfigDict, Field, StrictInt from typing import Any, ClassVar, Dict, List from eZmaxApi.models.apikey_list_element import ApikeyListElement -from eZmaxApi.models.common_get_list_v1_response_m_payload import CommonGetListV1ResponseMPayload from typing import Optional, Set from typing_extensions import Self -class ApikeyGetListV1ResponseMPayload(CommonGetListV1ResponseMPayload): +class ApikeyGetListV1ResponseMPayload(BaseModel): """ Payload for GET /1/object/apikey/getList """ # noqa: E501 + i_row_returned: StrictInt = Field(description="The number of rows returned", alias="iRowReturned") + i_row_filtered: StrictInt = Field(description="The number of rows matching your filters (if any) or the total number of rows", alias="iRowFiltered") a_obj_apikey: List[ApikeyListElement] = Field(alias="a_objApikey") __properties: ClassVar[List[str]] = ["iRowReturned", "iRowFiltered", "a_objApikey"] diff --git a/eZmaxApi/models/apikey_get_object_v2_response.py b/eZmaxApi/models/apikey_get_object_v2_response.py index 878ed3769..38ea34f4e 100644 --- a/eZmaxApi/models/apikey_get_object_v2_response.py +++ b/eZmaxApi/models/apikey_get_object_v2_response.py @@ -18,19 +18,20 @@ import re # noqa: F401 import json -from pydantic import ConfigDict, Field -from typing import Any, ClassVar, Dict, List +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List, Optional from eZmaxApi.models.apikey_get_object_v2_response_m_payload import ApikeyGetObjectV2ResponseMPayload -from eZmaxApi.models.common_response import CommonResponse from eZmaxApi.models.common_response_obj_debug import CommonResponseObjDebug from eZmaxApi.models.common_response_obj_debug_payload import CommonResponseObjDebugPayload from typing import Optional, Set from typing_extensions import Self -class ApikeyGetObjectV2Response(CommonResponse): +class ApikeyGetObjectV2Response(BaseModel): """ Response for GET /2/object/apikey/{pkiApikeyID} """ # noqa: E501 + obj_debug_payload: CommonResponseObjDebugPayload = Field(alias="objDebugPayload") + obj_debug: Optional[CommonResponseObjDebug] = Field(default=None, alias="objDebug") m_payload: ApikeyGetObjectV2ResponseMPayload = Field(alias="mPayload") __properties: ClassVar[List[str]] = ["objDebugPayload", "objDebug", "mPayload"] diff --git a/eZmaxApi/models/apikey_get_object_v2_response_m_payload.py b/eZmaxApi/models/apikey_get_object_v2_response_m_payload.py index c3ab38a3f..bfbea4e8c 100644 --- a/eZmaxApi/models/apikey_get_object_v2_response_m_payload.py +++ b/eZmaxApi/models/apikey_get_object_v2_response_m_payload.py @@ -20,7 +20,7 @@ from pydantic import BaseModel, ConfigDict, Field from typing import Any, ClassVar, Dict, List -from eZmaxApi.models.apikey_response import ApikeyResponse +from eZmaxApi.models.apikey_response_compound import ApikeyResponseCompound from typing import Optional, Set from typing_extensions import Self @@ -28,7 +28,7 @@ class ApikeyGetObjectV2ResponseMPayload(BaseModel): """ Payload for GET /2/object/apikey/{pkiApikeyID} """ # noqa: E501 - obj_apikey: ApikeyResponse = Field(description="An Apikey Object and children to create a complete structure", alias="objApikey") + obj_apikey: ApikeyResponseCompound = Field(alias="objApikey") __properties: ClassVar[List[str]] = ["objApikey"] model_config = ConfigDict( @@ -85,7 +85,7 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: return cls.model_validate(obj) _obj = cls.model_validate({ - "objApikey": ApikeyResponse.from_dict(obj["objApikey"]) if obj.get("objApikey") is not None else None + "objApikey": ApikeyResponseCompound.from_dict(obj["objApikey"]) if obj.get("objApikey") is not None else None }) return _obj diff --git a/eZmaxApi/models/apikey_get_permissions_v1_response.py b/eZmaxApi/models/apikey_get_permissions_v1_response.py index 2abc88720..08fdaf564 100644 --- a/eZmaxApi/models/apikey_get_permissions_v1_response.py +++ b/eZmaxApi/models/apikey_get_permissions_v1_response.py @@ -18,19 +18,20 @@ import re # noqa: F401 import json -from pydantic import ConfigDict, Field -from typing import Any, ClassVar, Dict, List +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List, Optional from eZmaxApi.models.apikey_get_permissions_v1_response_m_payload import ApikeyGetPermissionsV1ResponseMPayload -from eZmaxApi.models.common_response import CommonResponse from eZmaxApi.models.common_response_obj_debug import CommonResponseObjDebug from eZmaxApi.models.common_response_obj_debug_payload import CommonResponseObjDebugPayload from typing import Optional, Set from typing_extensions import Self -class ApikeyGetPermissionsV1Response(CommonResponse): +class ApikeyGetPermissionsV1Response(BaseModel): """ Response for GET /1/object/apikey/{pkiApikeyID}/getPermissions """ # noqa: E501 + obj_debug_payload: CommonResponseObjDebugPayload = Field(alias="objDebugPayload") + obj_debug: Optional[CommonResponseObjDebug] = Field(default=None, alias="objDebug") m_payload: ApikeyGetPermissionsV1ResponseMPayload = Field(alias="mPayload") __properties: ClassVar[List[str]] = ["objDebugPayload", "objDebug", "mPayload"] diff --git a/eZmaxApi/models/apikey_get_subnets_v1_response.py b/eZmaxApi/models/apikey_get_subnets_v1_response.py index 4fb58c9b1..d3151ba28 100644 --- a/eZmaxApi/models/apikey_get_subnets_v1_response.py +++ b/eZmaxApi/models/apikey_get_subnets_v1_response.py @@ -18,19 +18,20 @@ import re # noqa: F401 import json -from pydantic import ConfigDict, Field -from typing import Any, ClassVar, Dict, List +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List, Optional from eZmaxApi.models.apikey_get_subnets_v1_response_m_payload import ApikeyGetSubnetsV1ResponseMPayload -from eZmaxApi.models.common_response import CommonResponse from eZmaxApi.models.common_response_obj_debug import CommonResponseObjDebug from eZmaxApi.models.common_response_obj_debug_payload import CommonResponseObjDebugPayload from typing import Optional, Set from typing_extensions import Self -class ApikeyGetSubnetsV1Response(CommonResponse): +class ApikeyGetSubnetsV1Response(BaseModel): """ Response for GET /1/object/apikey/{pkiApikeyID}/getSubnets """ # noqa: E501 + obj_debug_payload: CommonResponseObjDebugPayload = Field(alias="objDebugPayload") + obj_debug: Optional[CommonResponseObjDebug] = Field(default=None, alias="objDebug") m_payload: ApikeyGetSubnetsV1ResponseMPayload = Field(alias="mPayload") __properties: ClassVar[List[str]] = ["objDebugPayload", "objDebug", "mPayload"] diff --git a/eZmaxApi/models/apikey_regenerate_v1_response.py b/eZmaxApi/models/apikey_regenerate_v1_response.py index 186a3a063..9047a209b 100644 --- a/eZmaxApi/models/apikey_regenerate_v1_response.py +++ b/eZmaxApi/models/apikey_regenerate_v1_response.py @@ -18,19 +18,20 @@ import re # noqa: F401 import json -from pydantic import ConfigDict, Field -from typing import Any, ClassVar, Dict, List +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List, Optional from eZmaxApi.models.apikey_regenerate_v1_response_m_payload import ApikeyRegenerateV1ResponseMPayload -from eZmaxApi.models.common_response import CommonResponse from eZmaxApi.models.common_response_obj_debug import CommonResponseObjDebug from eZmaxApi.models.common_response_obj_debug_payload import CommonResponseObjDebugPayload from typing import Optional, Set from typing_extensions import Self -class ApikeyRegenerateV1Response(CommonResponse): +class ApikeyRegenerateV1Response(BaseModel): """ Response for GET /1/object/apikey/{pkiApikeyID}/regenerate """ # noqa: E501 + obj_debug_payload: CommonResponseObjDebugPayload = Field(alias="objDebugPayload") + obj_debug: Optional[CommonResponseObjDebug] = Field(default=None, alias="objDebug") m_payload: ApikeyRegenerateV1ResponseMPayload = Field(alias="mPayload") __properties: ClassVar[List[str]] = ["objDebugPayload", "objDebug", "mPayload"] diff --git a/eZmaxApi/models/apikey_regenerate_v1_response_m_payload.py b/eZmaxApi/models/apikey_regenerate_v1_response_m_payload.py index 1b1c934c8..75fc2c18d 100644 --- a/eZmaxApi/models/apikey_regenerate_v1_response_m_payload.py +++ b/eZmaxApi/models/apikey_regenerate_v1_response_m_payload.py @@ -20,7 +20,7 @@ from pydantic import BaseModel, ConfigDict, Field from typing import Any, ClassVar, Dict, List -from eZmaxApi.models.apikey_response import ApikeyResponse +from eZmaxApi.models.apikey_response_compound import ApikeyResponseCompound from typing import Optional, Set from typing_extensions import Self @@ -28,7 +28,7 @@ class ApikeyRegenerateV1ResponseMPayload(BaseModel): """ Response for GET /1/object/apikey/{pkiApikeyID}/regenerate """ # noqa: E501 - obj_apikey: ApikeyResponse = Field(description="An Apikey Object and children to create a complete structure", alias="objApikey") + obj_apikey: ApikeyResponseCompound = Field(alias="objApikey") __properties: ClassVar[List[str]] = ["objApikey"] model_config = ConfigDict( @@ -85,7 +85,7 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: return cls.model_validate(obj) _obj = cls.model_validate({ - "objApikey": ApikeyResponse.from_dict(obj["objApikey"]) if obj.get("objApikey") is not None else None + "objApikey": ApikeyResponseCompound.from_dict(obj["objApikey"]) if obj.get("objApikey") is not None else None }) return _obj diff --git a/eZmaxApi/models/attachment_get_attachmentlogs_v1_response.py b/eZmaxApi/models/attachment_get_attachmentlogs_v1_response.py index 98a3c4cde..b1630499b 100644 --- a/eZmaxApi/models/attachment_get_attachmentlogs_v1_response.py +++ b/eZmaxApi/models/attachment_get_attachmentlogs_v1_response.py @@ -18,19 +18,20 @@ import re # noqa: F401 import json -from pydantic import ConfigDict, Field -from typing import Any, ClassVar, Dict, List +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List, Optional from eZmaxApi.models.attachment_get_attachmentlogs_v1_response_m_payload import AttachmentGetAttachmentlogsV1ResponseMPayload -from eZmaxApi.models.common_response import CommonResponse from eZmaxApi.models.common_response_obj_debug import CommonResponseObjDebug from eZmaxApi.models.common_response_obj_debug_payload import CommonResponseObjDebugPayload from typing import Optional, Set from typing_extensions import Self -class AttachmentGetAttachmentlogsV1Response(CommonResponse): +class AttachmentGetAttachmentlogsV1Response(BaseModel): """ Response for GET /1/object/attachment/{pkiAttachmentID}/getAttachmentlogs """ # noqa: E501 + obj_debug_payload: CommonResponseObjDebugPayload = Field(alias="objDebugPayload") + obj_debug: Optional[CommonResponseObjDebug] = Field(default=None, alias="objDebug") m_payload: AttachmentGetAttachmentlogsV1ResponseMPayload = Field(alias="mPayload") __properties: ClassVar[List[str]] = ["objDebugPayload", "objDebug", "mPayload"] diff --git a/eZmaxApi/models/attachment_response.py b/eZmaxApi/models/attachment_response.py index 7463107ae..8d458df87 100644 --- a/eZmaxApi/models/attachment_response.py +++ b/eZmaxApi/models/attachment_response.py @@ -165,7 +165,77 @@ def to_dict(self) -> Dict[str, Any]: return _dict @classmethod - def from_dict(cls, obj: Dict[str, Any]) -> Optional[Self]: + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: """Create an instance of AttachmentResponse from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "pkiAttachmentID": obj.get("pkiAttachmentID"), + "fkiComputerID": obj.get("fkiComputerID"), + "fkiAdjustmentID": obj.get("fkiAdjustmentID"), + "fkiAgentID": obj.get("fkiAgentID"), + "fkiBankaccountID": obj.get("fkiBankaccountID"), + "fkiBrokerID": obj.get("fkiBrokerID"), + "fkiCommissionadvanceID": obj.get("fkiCommissionadvanceID"), + "fkiCommunicationID": obj.get("fkiCommunicationID"), + "fkiCustomerID": obj.get("fkiCustomerID"), + "fkiCustomertemplateID": obj.get("fkiCustomertemplateID"), + "fkiDepositID": obj.get("fkiDepositID"), + "fkiDeposittransitchequeID": obj.get("fkiDeposittransitchequeID"), + "fkiElectronicfundstransferID": obj.get("fkiElectronicfundstransferID"), + "fkiEmployeeID": obj.get("fkiEmployeeID"), + "fkiExternalbrokerID": obj.get("fkiExternalbrokerID"), + "fkiEzcomadvanceserverID": obj.get("fkiEzcomadvanceserverID"), + "fkiEzcomcompanyID": obj.get("fkiEzcomcompanyID"), + "fkiEzsigndocumentID": obj.get("fkiEzsigndocumentID"), + "fkiGhacqcontractID": obj.get("fkiGhacqcontractID"), + "fkiInscriptionID": obj.get("fkiInscriptionID"), + "fkiInscriptiontempID": obj.get("fkiInscriptiontempID"), + "fkiInscriptionnotauthenticatedID": obj.get("fkiInscriptionnotauthenticatedID"), + "fkiInvoiceID": obj.get("fkiInvoiceID"), + "fkiBuyercontractID": obj.get("fkiBuyercontractID"), + "fkiFranchisebrokerID": obj.get("fkiFranchisebrokerID"), + "fkiFranchiseagenceID": obj.get("fkiFranchiseagenceID"), + "fkiFranchiseofficeID": obj.get("fkiFranchiseofficeID"), + "fkiFranchisefranchiseID": obj.get("fkiFranchisefranchiseID"), + "fkiFranchisecomplaintID": obj.get("fkiFranchisecomplaintID"), + "fkiLeadID": obj.get("fkiLeadID"), + "fkiMarketingprogramID": obj.get("fkiMarketingprogramID"), + "fkiMarketingfollowID": obj.get("fkiMarketingfollowID"), + "fkiNotaryID": obj.get("fkiNotaryID"), + "fkiOfficetaxreportID": obj.get("fkiOfficetaxreportID"), + "fkiOtherincomeID": obj.get("fkiOtherincomeID"), + "fkiPaymentpreparationID": obj.get("fkiPaymentpreparationID"), + "fkiPurchaseID": obj.get("fkiPurchaseID"), + "fkiSalaryID": obj.get("fkiSalaryID"), + "fkiSupplierID": obj.get("fkiSupplierID"), + "fkiTranqcontractID": obj.get("fkiTranqcontractID"), + "fkiTemplateID": obj.get("fkiTemplateID"), + "fkiInscriptionchecklistID": obj.get("fkiInscriptionchecklistID"), + "fkiFolderID": obj.get("fkiFolderID"), + "fkiRejectedoffertopurchaseID": obj.get("fkiRejectedoffertopurchaseID"), + "fkiDisclosureID": obj.get("fkiDisclosureID"), + "fkiReconciliationID": obj.get("fkiReconciliationID"), + "fkiEzsigndocumentIDReference": obj.get("fkiEzsigndocumentIDReference"), + "eAttachmentDocumenttype": obj.get("eAttachmentDocumenttype"), + "sAttachmentName": obj.get("sAttachmentName"), + "eAttachmentPrivacy": obj.get("eAttachmentPrivacy"), + "fkiUserIDSpecific": obj.get("fkiUserIDSpecific"), + "eAttachmentType": obj.get("eAttachmentType"), + "iAttachmentSize": obj.get("iAttachmentSize"), + "iAttachmentEDMmoduleflag": obj.get("iAttachmentEDMmoduleflag"), + "sAttachmentMD5": obj.get("sAttachmentMD5"), + "bAttachmentDeleted": obj.get("bAttachmentDeleted"), + "bAttachmentValid": obj.get("bAttachmentValid"), + "eAttachmentVerified": obj.get("eAttachmentVerified"), + "tAttachmentRejectioncomment": obj.get("tAttachmentRejectioncomment"), + "fkiUserIDOwner": obj.get("fkiUserIDOwner"), + "objAudit": CommonAudit.from_dict(obj["objAudit"]) if obj.get("objAudit") is not None else None + }) + return _obj diff --git a/eZmaxApi/models/attachment_response_compound.py b/eZmaxApi/models/attachment_response_compound.py index 3791dec8b..ef9d2f99f 100644 --- a/eZmaxApi/models/attachment_response_compound.py +++ b/eZmaxApi/models/attachment_response_compound.py @@ -18,9 +18,9 @@ import re # noqa: F401 import json -from pydantic import ConfigDict -from typing import Any, ClassVar, Dict, List -from eZmaxApi.models.attachment_response import AttachmentResponse +from pydantic import BaseModel, ConfigDict, Field, StrictBool, StrictInt, field_validator +from typing import Any, ClassVar, Dict, List, Optional +from typing_extensions import Annotated from eZmaxApi.models.common_audit import CommonAudit from eZmaxApi.models.field_e_attachment_documenttype import FieldEAttachmentDocumenttype from eZmaxApi.models.field_e_attachment_privacy import FieldEAttachmentPrivacy @@ -29,12 +29,97 @@ from typing import Optional, Set from typing_extensions import Self -class AttachmentResponseCompound(AttachmentResponse): +class AttachmentResponseCompound(BaseModel): """ A Attachment Object """ # noqa: E501 + pki_attachment_id: Annotated[int, Field(strict=True, ge=0)] = Field(description="The unique ID of the Attachment.", alias="pkiAttachmentID") + fki_computer_id: Optional[Annotated[int, Field(le=65535, strict=True, ge=1)]] = Field(default=None, description="The unique ID of the Computer", alias="fkiComputerID") + fki_adjustment_id: Optional[Annotated[int, Field(le=65535, strict=True, ge=0)]] = Field(default=None, description="The unique ID of the Adjustment", alias="fkiAdjustmentID") + fki_agent_id: Optional[Annotated[int, Field(strict=True, ge=0)]] = Field(default=None, description="The unique ID of the Agent.", alias="fkiAgentID") + fki_bankaccount_id: Optional[Annotated[int, Field(le=255, strict=True, ge=0)]] = Field(default=None, description="The unique ID of the Bankaccount", alias="fkiBankaccountID") + fki_broker_id: Optional[Annotated[int, Field(strict=True, ge=0)]] = Field(default=None, description="The unique ID of the Broker.", alias="fkiBrokerID") + fki_commissionadvance_id: Optional[Annotated[int, Field(le=65535, strict=True, ge=0)]] = Field(default=None, description="The unique ID of the Commissionadvance", alias="fkiCommissionadvanceID") + fki_communication_id: Optional[Annotated[int, Field(strict=True, ge=0)]] = Field(default=None, description="The unique ID of the Communication.", alias="fkiCommunicationID") + fki_customer_id: Optional[Annotated[int, Field(strict=True, ge=0)]] = Field(default=None, description="The unique ID of the Customer.", alias="fkiCustomerID") + fki_customertemplate_id: Optional[Annotated[int, Field(le=65535, strict=True, ge=0)]] = Field(default=None, description="The unique ID of the Customertemplate", alias="fkiCustomertemplateID") + fki_deposit_id: Optional[Annotated[int, Field(le=16777215, strict=True, ge=0)]] = Field(default=None, description="The unique ID of the Deposit", alias="fkiDepositID") + fki_deposittransitcheque_id: Optional[Annotated[int, Field(le=65535, strict=True, ge=0)]] = Field(default=None, description="The unique ID of the Deposittransitcheque", alias="fkiDeposittransitchequeID") + fki_electronicfundstransfer_id: Optional[Annotated[int, Field(le=65535, strict=True, ge=1)]] = Field(default=None, description="The unique ID of the Electronicfundstransfer", alias="fkiElectronicfundstransferID") + fki_employee_id: Optional[Annotated[int, Field(strict=True, ge=0)]] = Field(default=None, description="The unique ID of the Employee.", alias="fkiEmployeeID") + fki_externalbroker_id: Optional[Annotated[int, Field(strict=True, ge=0)]] = Field(default=None, description="The unique ID of the Externalbroker.", alias="fkiExternalbrokerID") + fki_ezcomadvanceserver_id: Optional[Annotated[int, Field(le=16777215, strict=True, ge=0)]] = Field(default=None, description="The unique ID of the Ezcomadvanceserver", alias="fkiEzcomadvanceserverID") + fki_ezcomcompany_id: Optional[Annotated[int, Field(le=65535, strict=True, ge=0)]] = Field(default=None, description="The unique ID of the Ezcomcompany", alias="fkiEzcomcompanyID") + fki_ezsigndocument_id: Optional[Annotated[int, Field(strict=True, ge=0)]] = Field(default=None, description="The unique ID of the Ezsigndocument", alias="fkiEzsigndocumentID") + fki_ghacqcontract_id: Optional[Annotated[int, Field(le=16777215, strict=True, ge=0)]] = Field(default=None, description="The unique ID of the Ghacqcontract", alias="fkiGhacqcontractID") + fki_inscription_id: Optional[Annotated[int, Field(strict=True, ge=0)]] = Field(default=None, description="The unique ID of the Inscription.", alias="fkiInscriptionID") + fki_inscriptiontemp_id: Optional[Annotated[int, Field(le=16777215, strict=True, ge=1)]] = Field(default=None, description="The unique ID of the Inscriptiontemp", alias="fkiInscriptiontempID") + fki_inscriptionnotauthenticated_id: Optional[Annotated[int, Field(strict=True, ge=0)]] = Field(default=None, description="The unique ID of the Inscriptionnotauthenticated.", alias="fkiInscriptionnotauthenticatedID") + fki_invoice_id: Optional[Annotated[int, Field(strict=True, ge=0)]] = Field(default=None, description="The unique ID of the Invoice.", alias="fkiInvoiceID") + fki_buyercontract_id: Optional[Annotated[int, Field(le=65535, strict=True, ge=1)]] = Field(default=None, description="The unique ID of the Buyercontract", alias="fkiBuyercontractID") + fki_franchisebroker_id: Optional[Annotated[int, Field(strict=True, ge=0)]] = Field(default=None, description="The unique ID of the Franchisebroker", alias="fkiFranchisebrokerID") + fki_franchiseagence_id: Optional[Annotated[int, Field(le=65535, strict=True, ge=0)]] = Field(default=None, description="The unique ID of the Franchiseagence", alias="fkiFranchiseagenceID") + fki_franchiseoffice_id: Optional[Annotated[int, Field(strict=True, ge=0)]] = Field(default=None, description="The unique ID of the Franchisereoffice", alias="fkiFranchiseofficeID") + fki_franchisefranchise_id: Optional[Annotated[int, Field(le=65535, strict=True, ge=0)]] = Field(default=None, description="The unique ID of the Franchisefranchise", alias="fkiFranchisefranchiseID") + fki_franchisecomplaint_id: Optional[Annotated[int, Field(le=65535, strict=True, ge=0)]] = Field(default=None, description="The unique ID of the Franchisecomplaint", alias="fkiFranchisecomplaintID") + fki_lead_id: Optional[Annotated[int, Field(le=65535, strict=True, ge=0)]] = Field(default=None, description="The unique ID of the Lead", alias="fkiLeadID") + fki_marketingprogram_id: Optional[Annotated[int, Field(le=255, strict=True, ge=0)]] = Field(default=None, description="The unique ID of the Marketingprogram", alias="fkiMarketingprogramID") + fki_marketingfollow_id: Optional[Annotated[int, Field(le=65535, strict=True, ge=0)]] = Field(default=None, description="The unique ID of the Marketingfollow", alias="fkiMarketingfollowID") + fki_notary_id: Optional[Annotated[int, Field(strict=True, ge=0)]] = Field(default=None, description="The unique ID of the Notary.", alias="fkiNotaryID") + fki_officetaxreport_id: Optional[Annotated[int, Field(le=65535, strict=True, ge=0)]] = Field(default=None, description="The unique ID of the Officetaxreport", alias="fkiOfficetaxreportID") + fki_otherincome_id: Optional[Annotated[int, Field(le=65535, strict=True, ge=1)]] = Field(default=None, description="The unique ID of the Otherincome", alias="fkiOtherincomeID") + fki_paymentpreparation_id: Optional[Annotated[int, Field(le=16777215, strict=True, ge=0)]] = Field(default=None, description="The unique ID of the Paymentpreparation", alias="fkiPaymentpreparationID") + fki_purchase_id: Optional[StrictInt] = Field(default=None, description="The unique ID of the Purchase", alias="fkiPurchaseID") + fki_salary_id: Optional[Annotated[int, Field(le=16777215, strict=True, ge=0)]] = Field(default=None, description="The unique ID of the Salary", alias="fkiSalaryID") + fki_supplier_id: Optional[Annotated[int, Field(strict=True, ge=0)]] = Field(default=None, description="The unique ID of the Supplier.", alias="fkiSupplierID") + fki_tranqcontract_id: Optional[Annotated[int, Field(le=16777215, strict=True, ge=0)]] = Field(default=None, description="The unique ID of the Tranqcontract", alias="fkiTranqcontractID") + fki_template_id: Optional[Annotated[int, Field(le=65535, strict=True, ge=0)]] = Field(default=None, description="The unique ID of the Template", alias="fkiTemplateID") + fki_inscriptionchecklist_id: Optional[Annotated[int, Field(le=16777215, strict=True, ge=0)]] = Field(default=None, description="The unique ID of the Inscriptionchecklist", alias="fkiInscriptionchecklistID") + fki_folder_id: Optional[Annotated[int, Field(le=65535, strict=True, ge=0)]] = Field(default=None, description="The unique ID of the Folder", alias="fkiFolderID") + fki_rejectedoffertopurchase_id: Optional[Annotated[int, Field(le=65535, strict=True, ge=1)]] = Field(default=None, description="The unique ID of the Rejectedoffertopurchase", alias="fkiRejectedoffertopurchaseID") + fki_disclosure_id: Optional[Annotated[int, Field(le=65535, strict=True, ge=0)]] = Field(default=None, description="The unique ID of the Disclosure", alias="fkiDisclosureID") + fki_reconciliation_id: Optional[Annotated[int, Field(le=65535, strict=True, ge=0)]] = Field(default=None, description="The unique ID of the Reconciliation", alias="fkiReconciliationID") + fki_ezsigndocument_id_reference: Optional[Annotated[int, Field(strict=True, ge=0)]] = Field(default=None, description="The unique ID of the Ezsigndocument", alias="fkiEzsigndocumentIDReference") + e_attachment_documenttype: FieldEAttachmentDocumenttype = Field(alias="eAttachmentDocumenttype") + s_attachment_name: Annotated[str, Field(strict=True)] = Field(description="The name of the Attachment", alias="sAttachmentName") + e_attachment_privacy: FieldEAttachmentPrivacy = Field(alias="eAttachmentPrivacy") + fki_user_id_specific: Optional[Annotated[int, Field(strict=True, ge=0)]] = Field(default=None, description="The unique ID of the User", alias="fkiUserIDSpecific") + e_attachment_type: FieldEAttachmentType = Field(alias="eAttachmentType") + i_attachment_size: Annotated[int, Field(le=4294967295, strict=True, ge=0)] = Field(description="The size of the Attachment", alias="iAttachmentSize") + i_attachment_ed_mmoduleflag: Optional[Annotated[int, Field(le=255, strict=True, ge=0)]] = Field(default=None, description="The edmmoduleflag of the Attachment", alias="iAttachmentEDMmoduleflag") + s_attachment_md5: Annotated[str, Field(strict=True)] = Field(description="The md5 of the Attachment", alias="sAttachmentMD5") + b_attachment_deleted: StrictBool = Field(description="Whether if it's deleted", alias="bAttachmentDeleted") + b_attachment_valid: StrictBool = Field(description="Whether if it's valid", alias="bAttachmentValid") + e_attachment_verified: FieldEAttachmentVerified = Field(alias="eAttachmentVerified") + t_attachment_rejectioncomment: Optional[Annotated[str, Field(strict=True)]] = Field(default=None, description="The rejectioncomment of the Attachment", alias="tAttachmentRejectioncomment") + fki_user_id_owner: Optional[Annotated[int, Field(strict=True, ge=0)]] = Field(default=None, description="The unique ID of the User", alias="fkiUserIDOwner") + obj_audit: Optional[CommonAudit] = Field(default=None, alias="objAudit") __properties: ClassVar[List[str]] = ["pkiAttachmentID", "fkiComputerID", "fkiAdjustmentID", "fkiAgentID", "fkiBankaccountID", "fkiBrokerID", "fkiCommissionadvanceID", "fkiCommunicationID", "fkiCustomerID", "fkiCustomertemplateID", "fkiDepositID", "fkiDeposittransitchequeID", "fkiElectronicfundstransferID", "fkiEmployeeID", "fkiExternalbrokerID", "fkiEzcomadvanceserverID", "fkiEzcomcompanyID", "fkiEzsigndocumentID", "fkiGhacqcontractID", "fkiInscriptionID", "fkiInscriptiontempID", "fkiInscriptionnotauthenticatedID", "fkiInvoiceID", "fkiBuyercontractID", "fkiFranchisebrokerID", "fkiFranchiseagenceID", "fkiFranchiseofficeID", "fkiFranchisefranchiseID", "fkiFranchisecomplaintID", "fkiLeadID", "fkiMarketingprogramID", "fkiMarketingfollowID", "fkiNotaryID", "fkiOfficetaxreportID", "fkiOtherincomeID", "fkiPaymentpreparationID", "fkiPurchaseID", "fkiSalaryID", "fkiSupplierID", "fkiTranqcontractID", "fkiTemplateID", "fkiInscriptionchecklistID", "fkiFolderID", "fkiRejectedoffertopurchaseID", "fkiDisclosureID", "fkiReconciliationID", "fkiEzsigndocumentIDReference", "eAttachmentDocumenttype", "sAttachmentName", "eAttachmentPrivacy", "fkiUserIDSpecific", "eAttachmentType", "iAttachmentSize", "iAttachmentEDMmoduleflag", "sAttachmentMD5", "bAttachmentDeleted", "bAttachmentValid", "eAttachmentVerified", "tAttachmentRejectioncomment", "fkiUserIDOwner", "objAudit"] + @field_validator('s_attachment_name') + def s_attachment_name_validate_regular_expression(cls, value): + """Validates the regular expression""" + if not re.match(r"^.{0,75}$", value): + raise ValueError(r"must validate the regular expression /^.{0,75}$/") + return value + + @field_validator('s_attachment_md5') + def s_attachment_md5_validate_regular_expression(cls, value): + """Validates the regular expression""" + if not re.match(r"^.{0,32}$", value): + raise ValueError(r"must validate the regular expression /^.{0,32}$/") + return value + + @field_validator('t_attachment_rejectioncomment') + def t_attachment_rejectioncomment_validate_regular_expression(cls, value): + """Validates the regular expression""" + if value is None: + return value + + if not re.match(r"^.{0,65535}$", value): + raise ValueError(r"must validate the regular expression /^.{0,65535}$/") + return value + model_config = ConfigDict( populate_by_name=True, validate_assignment=True, diff --git a/eZmaxApi/models/attachmentlog_response.py b/eZmaxApi/models/attachmentlog_response.py index ab67d2258..4116b7699 100644 --- a/eZmaxApi/models/attachmentlog_response.py +++ b/eZmaxApi/models/attachmentlog_response.py @@ -95,7 +95,21 @@ def to_dict(self) -> Dict[str, Any]: return _dict @classmethod - def from_dict(cls, obj: Dict[str, Any]) -> Optional[Self]: + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: """Create an instance of AttachmentlogResponse from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "fkiAttachmentID": obj.get("fkiAttachmentID"), + "fkiUserID": obj.get("fkiUserID"), + "dtAttachmentlogDatetime": obj.get("dtAttachmentlogDatetime"), + "eAttachmentlogType": obj.get("eAttachmentlogType"), + "sAttachmentlogDetail": obj.get("sAttachmentlogDetail") + }) + return _obj diff --git a/eZmaxApi/models/attachmentlog_response_compound.py b/eZmaxApi/models/attachmentlog_response_compound.py index 54aa17e03..d7faf4cad 100644 --- a/eZmaxApi/models/attachmentlog_response_compound.py +++ b/eZmaxApi/models/attachmentlog_response_compound.py @@ -18,19 +18,41 @@ import re # noqa: F401 import json -from pydantic import ConfigDict -from typing import Any, ClassVar, Dict, List -from eZmaxApi.models.attachmentlog_response import AttachmentlogResponse +from pydantic import BaseModel, ConfigDict, Field, field_validator +from typing import Any, ClassVar, Dict, List, Optional +from typing_extensions import Annotated from eZmaxApi.models.field_e_attachmentlog_type import FieldEAttachmentlogType from typing import Optional, Set from typing_extensions import Self -class AttachmentlogResponseCompound(AttachmentlogResponse): +class AttachmentlogResponseCompound(BaseModel): """ A Attachmentlog Object """ # noqa: E501 + fki_attachment_id: Annotated[int, Field(strict=True, ge=0)] = Field(description="The unique ID of the Attachment.", alias="fkiAttachmentID") + fki_user_id: Annotated[int, Field(strict=True, ge=0)] = Field(description="The unique ID of the User", alias="fkiUserID") + dt_attachmentlog_datetime: Annotated[str, Field(strict=True)] = Field(description="The created date", alias="dtAttachmentlogDatetime") + e_attachmentlog_type: FieldEAttachmentlogType = Field(alias="eAttachmentlogType") + s_attachmentlog_detail: Optional[Annotated[str, Field(strict=True)]] = Field(default=None, description="The additionnal detail", alias="sAttachmentlogDetail") __properties: ClassVar[List[str]] = ["fkiAttachmentID", "fkiUserID", "dtAttachmentlogDatetime", "eAttachmentlogType", "sAttachmentlogDetail"] + @field_validator('dt_attachmentlog_datetime') + def dt_attachmentlog_datetime_validate_regular_expression(cls, value): + """Validates the regular expression""" + if not re.match(r"^[0-9]{4}-(0[1-9]|1[0-2])-(0[1-9]|[1-2][0-9]|3[0-1]) ([01]?[0-9]|2[0-3]):([0-5][0-9]):([0-5][0-9])$", value): + raise ValueError(r"must validate the regular expression /^[0-9]{4}-(0[1-9]|1[0-2])-(0[1-9]|[1-2][0-9]|3[0-1]) ([01]?[0-9]|2[0-3]):([0-5][0-9]):([0-5][0-9])$/") + return value + + @field_validator('s_attachmentlog_detail') + def s_attachmentlog_detail_validate_regular_expression(cls, value): + """Validates the regular expression""" + if value is None: + return value + + if not re.match(r"^.{0,75}$", value): + raise ValueError(r"must validate the regular expression /^.{0,75}$/") + return value + model_config = ConfigDict( populate_by_name=True, validate_assignment=True, diff --git a/eZmaxApi/models/authenticationexternal_create_object_v1_response.py b/eZmaxApi/models/authenticationexternal_create_object_v1_response.py index c26602627..65bddd64f 100644 --- a/eZmaxApi/models/authenticationexternal_create_object_v1_response.py +++ b/eZmaxApi/models/authenticationexternal_create_object_v1_response.py @@ -18,19 +18,20 @@ import re # noqa: F401 import json -from pydantic import ConfigDict, Field -from typing import Any, ClassVar, Dict, List +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List, Optional from eZmaxApi.models.authenticationexternal_create_object_v1_response_m_payload import AuthenticationexternalCreateObjectV1ResponseMPayload -from eZmaxApi.models.common_response import CommonResponse from eZmaxApi.models.common_response_obj_debug import CommonResponseObjDebug from eZmaxApi.models.common_response_obj_debug_payload import CommonResponseObjDebugPayload from typing import Optional, Set from typing_extensions import Self -class AuthenticationexternalCreateObjectV1Response(CommonResponse): +class AuthenticationexternalCreateObjectV1Response(BaseModel): """ Response for POST /1/object/authenticationexternal """ # noqa: E501 + obj_debug_payload: CommonResponseObjDebugPayload = Field(alias="objDebugPayload") + obj_debug: Optional[CommonResponseObjDebug] = Field(default=None, alias="objDebug") m_payload: AuthenticationexternalCreateObjectV1ResponseMPayload = Field(alias="mPayload") __properties: ClassVar[List[str]] = ["objDebugPayload", "objDebug", "mPayload"] diff --git a/eZmaxApi/models/authenticationexternal_delete_object_v1_response.py b/eZmaxApi/models/authenticationexternal_delete_object_v1_response.py index aa0e48da4..1a154eb68 100644 --- a/eZmaxApi/models/authenticationexternal_delete_object_v1_response.py +++ b/eZmaxApi/models/authenticationexternal_delete_object_v1_response.py @@ -18,18 +18,19 @@ import re # noqa: F401 import json -from pydantic import ConfigDict -from typing import Any, ClassVar, Dict, List -from eZmaxApi.models.common_response import CommonResponse +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List, Optional from eZmaxApi.models.common_response_obj_debug import CommonResponseObjDebug from eZmaxApi.models.common_response_obj_debug_payload import CommonResponseObjDebugPayload from typing import Optional, Set from typing_extensions import Self -class AuthenticationexternalDeleteObjectV1Response(CommonResponse): +class AuthenticationexternalDeleteObjectV1Response(BaseModel): """ Response for DELETE /1/object/authenticationexternal/{pkiAuthenticationexternalID} """ # noqa: E501 + obj_debug_payload: CommonResponseObjDebugPayload = Field(alias="objDebugPayload") + obj_debug: Optional[CommonResponseObjDebug] = Field(default=None, alias="objDebug") __properties: ClassVar[List[str]] = ["objDebugPayload", "objDebug"] model_config = ConfigDict( diff --git a/eZmaxApi/models/authenticationexternal_edit_object_v1_response.py b/eZmaxApi/models/authenticationexternal_edit_object_v1_response.py index 16d029d4d..b3c493064 100644 --- a/eZmaxApi/models/authenticationexternal_edit_object_v1_response.py +++ b/eZmaxApi/models/authenticationexternal_edit_object_v1_response.py @@ -18,18 +18,19 @@ import re # noqa: F401 import json -from pydantic import ConfigDict -from typing import Any, ClassVar, Dict, List -from eZmaxApi.models.common_response import CommonResponse +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List, Optional from eZmaxApi.models.common_response_obj_debug import CommonResponseObjDebug from eZmaxApi.models.common_response_obj_debug_payload import CommonResponseObjDebugPayload from typing import Optional, Set from typing_extensions import Self -class AuthenticationexternalEditObjectV1Response(CommonResponse): +class AuthenticationexternalEditObjectV1Response(BaseModel): """ Response for PUT /1/object/authenticationexternal/{pkiAuthenticationexternalID} """ # noqa: E501 + obj_debug_payload: CommonResponseObjDebugPayload = Field(alias="objDebugPayload") + obj_debug: Optional[CommonResponseObjDebug] = Field(default=None, alias="objDebug") __properties: ClassVar[List[str]] = ["objDebugPayload", "objDebug"] model_config = ConfigDict( diff --git a/eZmaxApi/models/authenticationexternal_get_autocomplete_v2_response.py b/eZmaxApi/models/authenticationexternal_get_autocomplete_v2_response.py index 10f3e508f..4303d45b6 100644 --- a/eZmaxApi/models/authenticationexternal_get_autocomplete_v2_response.py +++ b/eZmaxApi/models/authenticationexternal_get_autocomplete_v2_response.py @@ -18,19 +18,20 @@ import re # noqa: F401 import json -from pydantic import ConfigDict, Field -from typing import Any, ClassVar, Dict, List +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List, Optional from eZmaxApi.models.authenticationexternal_get_autocomplete_v2_response_m_payload import AuthenticationexternalGetAutocompleteV2ResponseMPayload -from eZmaxApi.models.common_response import CommonResponse from eZmaxApi.models.common_response_obj_debug import CommonResponseObjDebug from eZmaxApi.models.common_response_obj_debug_payload import CommonResponseObjDebugPayload from typing import Optional, Set from typing_extensions import Self -class AuthenticationexternalGetAutocompleteV2Response(CommonResponse): +class AuthenticationexternalGetAutocompleteV2Response(BaseModel): """ Response for GET /2/object/authenticationexternal/getAutocomplete """ # noqa: E501 + obj_debug_payload: CommonResponseObjDebugPayload = Field(alias="objDebugPayload") + obj_debug: Optional[CommonResponseObjDebug] = Field(default=None, alias="objDebug") m_payload: AuthenticationexternalGetAutocompleteV2ResponseMPayload = Field(alias="mPayload") __properties: ClassVar[List[str]] = ["objDebugPayload", "objDebug", "mPayload"] diff --git a/eZmaxApi/models/authenticationexternal_get_list_v1_response.py b/eZmaxApi/models/authenticationexternal_get_list_v1_response.py index 0e2b0619e..448a0f4b2 100644 --- a/eZmaxApi/models/authenticationexternal_get_list_v1_response.py +++ b/eZmaxApi/models/authenticationexternal_get_list_v1_response.py @@ -18,19 +18,20 @@ import re # noqa: F401 import json -from pydantic import ConfigDict, Field -from typing import Any, ClassVar, Dict, List +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List, Optional from eZmaxApi.models.authenticationexternal_get_list_v1_response_m_payload import AuthenticationexternalGetListV1ResponseMPayload -from eZmaxApi.models.common_response_get_list import CommonResponseGetList from eZmaxApi.models.common_response_obj_debug import CommonResponseObjDebug from eZmaxApi.models.common_response_obj_debug_payload_get_list import CommonResponseObjDebugPayloadGetList from typing import Optional, Set from typing_extensions import Self -class AuthenticationexternalGetListV1Response(CommonResponseGetList): +class AuthenticationexternalGetListV1Response(BaseModel): """ Response for GET /1/object/authenticationexternal/getList """ # noqa: E501 + obj_debug_payload: CommonResponseObjDebugPayloadGetList = Field(alias="objDebugPayload") + obj_debug: Optional[CommonResponseObjDebug] = Field(default=None, alias="objDebug") m_payload: AuthenticationexternalGetListV1ResponseMPayload = Field(alias="mPayload") __properties: ClassVar[List[str]] = ["objDebugPayload", "objDebug", "mPayload"] diff --git a/eZmaxApi/models/authenticationexternal_get_list_v1_response_m_payload.py b/eZmaxApi/models/authenticationexternal_get_list_v1_response_m_payload.py index 65a61dea4..a0f017b0b 100644 --- a/eZmaxApi/models/authenticationexternal_get_list_v1_response_m_payload.py +++ b/eZmaxApi/models/authenticationexternal_get_list_v1_response_m_payload.py @@ -18,17 +18,18 @@ import re # noqa: F401 import json -from pydantic import ConfigDict, Field +from pydantic import BaseModel, ConfigDict, Field, StrictInt from typing import Any, ClassVar, Dict, List from eZmaxApi.models.authenticationexternal_list_element import AuthenticationexternalListElement -from eZmaxApi.models.common_get_list_v1_response_m_payload import CommonGetListV1ResponseMPayload from typing import Optional, Set from typing_extensions import Self -class AuthenticationexternalGetListV1ResponseMPayload(CommonGetListV1ResponseMPayload): +class AuthenticationexternalGetListV1ResponseMPayload(BaseModel): """ Payload for GET /1/object/authenticationexternal/getList """ # noqa: E501 + i_row_returned: StrictInt = Field(description="The number of rows returned", alias="iRowReturned") + i_row_filtered: StrictInt = Field(description="The number of rows matching your filters (if any) or the total number of rows", alias="iRowFiltered") a_obj_authenticationexternal: List[AuthenticationexternalListElement] = Field(alias="a_objAuthenticationexternal") __properties: ClassVar[List[str]] = ["iRowReturned", "iRowFiltered", "a_objAuthenticationexternal"] diff --git a/eZmaxApi/models/authenticationexternal_get_object_v2_response.py b/eZmaxApi/models/authenticationexternal_get_object_v2_response.py index 506ba41ae..458dd0aa8 100644 --- a/eZmaxApi/models/authenticationexternal_get_object_v2_response.py +++ b/eZmaxApi/models/authenticationexternal_get_object_v2_response.py @@ -18,19 +18,20 @@ import re # noqa: F401 import json -from pydantic import ConfigDict, Field -from typing import Any, ClassVar, Dict, List +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List, Optional from eZmaxApi.models.authenticationexternal_get_object_v2_response_m_payload import AuthenticationexternalGetObjectV2ResponseMPayload -from eZmaxApi.models.common_response import CommonResponse from eZmaxApi.models.common_response_obj_debug import CommonResponseObjDebug from eZmaxApi.models.common_response_obj_debug_payload import CommonResponseObjDebugPayload from typing import Optional, Set from typing_extensions import Self -class AuthenticationexternalGetObjectV2Response(CommonResponse): +class AuthenticationexternalGetObjectV2Response(BaseModel): """ Response for GET /2/object/authenticationexternal/{pkiAuthenticationexternalID} """ # noqa: E501 + obj_debug_payload: CommonResponseObjDebugPayload = Field(alias="objDebugPayload") + obj_debug: Optional[CommonResponseObjDebug] = Field(default=None, alias="objDebug") m_payload: AuthenticationexternalGetObjectV2ResponseMPayload = Field(alias="mPayload") __properties: ClassVar[List[str]] = ["objDebugPayload", "objDebug", "mPayload"] diff --git a/eZmaxApi/models/authenticationexternal_request.py b/eZmaxApi/models/authenticationexternal_request.py index 744b3a7cf..8a54d2198 100644 --- a/eZmaxApi/models/authenticationexternal_request.py +++ b/eZmaxApi/models/authenticationexternal_request.py @@ -83,7 +83,19 @@ def to_dict(self) -> Dict[str, Any]: return _dict @classmethod - def from_dict(cls, obj: Dict[str, Any]) -> Optional[Self]: + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: """Create an instance of AuthenticationexternalRequest from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "pkiAuthenticationexternalID": obj.get("pkiAuthenticationexternalID"), + "sAuthenticationexternalDescription": obj.get("sAuthenticationexternalDescription"), + "eAuthenticationexternalType": obj.get("eAuthenticationexternalType") + }) + return _obj diff --git a/eZmaxApi/models/authenticationexternal_request_compound.py b/eZmaxApi/models/authenticationexternal_request_compound.py index 13cf6a2e6..5d46cfe9b 100644 --- a/eZmaxApi/models/authenticationexternal_request_compound.py +++ b/eZmaxApi/models/authenticationexternal_request_compound.py @@ -18,19 +18,29 @@ import re # noqa: F401 import json -from pydantic import ConfigDict -from typing import Any, ClassVar, Dict, List -from eZmaxApi.models.authenticationexternal_request import AuthenticationexternalRequest +from pydantic import BaseModel, ConfigDict, Field, field_validator +from typing import Any, ClassVar, Dict, List, Optional +from typing_extensions import Annotated from eZmaxApi.models.field_e_authenticationexternal_type import FieldEAuthenticationexternalType from typing import Optional, Set from typing_extensions import Self -class AuthenticationexternalRequestCompound(AuthenticationexternalRequest): +class AuthenticationexternalRequestCompound(BaseModel): """ A Authenticationexternal Object and children """ # noqa: E501 + pki_authenticationexternal_id: Optional[Annotated[int, Field(le=255, strict=True, ge=0)]] = Field(default=None, description="The unique ID of the Authenticationexternal", alias="pkiAuthenticationexternalID") + s_authenticationexternal_description: Annotated[str, Field(strict=True)] = Field(description="The description of the Authenticationexternal", alias="sAuthenticationexternalDescription") + e_authenticationexternal_type: FieldEAuthenticationexternalType = Field(alias="eAuthenticationexternalType") __properties: ClassVar[List[str]] = ["pkiAuthenticationexternalID", "sAuthenticationexternalDescription", "eAuthenticationexternalType"] + @field_validator('s_authenticationexternal_description') + def s_authenticationexternal_description_validate_regular_expression(cls, value): + """Validates the regular expression""" + if not re.match(r"^.{0,50}$", value): + raise ValueError(r"must validate the regular expression /^.{0,50}$/") + return value + model_config = ConfigDict( populate_by_name=True, validate_assignment=True, diff --git a/eZmaxApi/models/authenticationexternal_reset_authorization_v1_response.py b/eZmaxApi/models/authenticationexternal_reset_authorization_v1_response.py index 6ffa1ab62..091c97366 100644 --- a/eZmaxApi/models/authenticationexternal_reset_authorization_v1_response.py +++ b/eZmaxApi/models/authenticationexternal_reset_authorization_v1_response.py @@ -18,18 +18,19 @@ import re # noqa: F401 import json -from pydantic import ConfigDict -from typing import Any, ClassVar, Dict, List -from eZmaxApi.models.common_response import CommonResponse +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List, Optional from eZmaxApi.models.common_response_obj_debug import CommonResponseObjDebug from eZmaxApi.models.common_response_obj_debug_payload import CommonResponseObjDebugPayload from typing import Optional, Set from typing_extensions import Self -class AuthenticationexternalResetAuthorizationV1Response(CommonResponse): +class AuthenticationexternalResetAuthorizationV1Response(BaseModel): """ Response for POST /1/object/authenticationexternal/{pkiAuthenticationexternalID}/resetAuthorization """ # noqa: E501 + obj_debug_payload: CommonResponseObjDebugPayload = Field(alias="objDebugPayload") + obj_debug: Optional[CommonResponseObjDebug] = Field(default=None, alias="objDebug") __properties: ClassVar[List[str]] = ["objDebugPayload", "objDebug"] model_config = ConfigDict( diff --git a/eZmaxApi/models/authenticationexternal_response.py b/eZmaxApi/models/authenticationexternal_response.py index 3c3c0f93f..302d6ae3a 100644 --- a/eZmaxApi/models/authenticationexternal_response.py +++ b/eZmaxApi/models/authenticationexternal_response.py @@ -100,7 +100,22 @@ def to_dict(self) -> Dict[str, Any]: return _dict @classmethod - def from_dict(cls, obj: Dict[str, Any]) -> Optional[Self]: + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: """Create an instance of AuthenticationexternalResponse from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "pkiAuthenticationexternalID": obj.get("pkiAuthenticationexternalID"), + "sAuthenticationexternalDescription": obj.get("sAuthenticationexternalDescription"), + "eAuthenticationexternalType": obj.get("eAuthenticationexternalType"), + "bAuthenticationexternalConnected": obj.get("bAuthenticationexternalConnected"), + "sAuthenticationexternalAuthorizationurl": obj.get("sAuthenticationexternalAuthorizationurl"), + "objAudit": CommonAudit.from_dict(obj["objAudit"]) if obj.get("objAudit") is not None else None + }) + return _obj diff --git a/eZmaxApi/models/authenticationexternal_response_compound.py b/eZmaxApi/models/authenticationexternal_response_compound.py index 2d331a132..cf2a48f25 100644 --- a/eZmaxApi/models/authenticationexternal_response_compound.py +++ b/eZmaxApi/models/authenticationexternal_response_compound.py @@ -18,20 +18,43 @@ import re # noqa: F401 import json -from pydantic import ConfigDict -from typing import Any, ClassVar, Dict, List -from eZmaxApi.models.authenticationexternal_response import AuthenticationexternalResponse +from pydantic import BaseModel, ConfigDict, Field, StrictBool, field_validator +from typing import Any, ClassVar, Dict, List, Optional +from typing_extensions import Annotated from eZmaxApi.models.common_audit import CommonAudit from eZmaxApi.models.field_e_authenticationexternal_type import FieldEAuthenticationexternalType from typing import Optional, Set from typing_extensions import Self -class AuthenticationexternalResponseCompound(AuthenticationexternalResponse): +class AuthenticationexternalResponseCompound(BaseModel): """ A Authenticationexternal Object """ # noqa: E501 + pki_authenticationexternal_id: Annotated[int, Field(le=255, strict=True, ge=0)] = Field(description="The unique ID of the Authenticationexternal", alias="pkiAuthenticationexternalID") + s_authenticationexternal_description: Annotated[str, Field(strict=True)] = Field(description="The description of the Authenticationexternal", alias="sAuthenticationexternalDescription") + e_authenticationexternal_type: FieldEAuthenticationexternalType = Field(alias="eAuthenticationexternalType") + b_authenticationexternal_connected: Optional[StrictBool] = Field(default=None, description="Whether the Authenticationexternal has been connected or not", alias="bAuthenticationexternalConnected") + s_authenticationexternal_authorizationurl: Optional[Annotated[str, Field(strict=True)]] = Field(default=None, description="The url to authorize the Authenticationexternal", alias="sAuthenticationexternalAuthorizationurl") + obj_audit: CommonAudit = Field(alias="objAudit") __properties: ClassVar[List[str]] = ["pkiAuthenticationexternalID", "sAuthenticationexternalDescription", "eAuthenticationexternalType", "bAuthenticationexternalConnected", "sAuthenticationexternalAuthorizationurl", "objAudit"] + @field_validator('s_authenticationexternal_description') + def s_authenticationexternal_description_validate_regular_expression(cls, value): + """Validates the regular expression""" + if not re.match(r"^.{0,50}$", value): + raise ValueError(r"must validate the regular expression /^.{0,50}$/") + return value + + @field_validator('s_authenticationexternal_authorizationurl') + def s_authenticationexternal_authorizationurl_validate_regular_expression(cls, value): + """Validates the regular expression""" + if value is None: + return value + + if not re.match(r"^(https|http):\/\/[^\s\/$.?#].[^\s]*$", value): + raise ValueError(r"must validate the regular expression /^(https|http):\/\/[^\s\/$.?#].[^\s]*$/") + return value + model_config = ConfigDict( populate_by_name=True, validate_assignment=True, diff --git a/eZmaxApi/models/billingentityexternal_generate_federation_token_v1_response.py b/eZmaxApi/models/billingentityexternal_generate_federation_token_v1_response.py index 0390316f2..e76c8f06b 100644 --- a/eZmaxApi/models/billingentityexternal_generate_federation_token_v1_response.py +++ b/eZmaxApi/models/billingentityexternal_generate_federation_token_v1_response.py @@ -18,19 +18,20 @@ import re # noqa: F401 import json -from pydantic import ConfigDict, Field -from typing import Any, ClassVar, Dict, List +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List, Optional from eZmaxApi.models.billingentityexternal_generate_federation_token_v1_response_m_payload import BillingentityexternalGenerateFederationTokenV1ResponseMPayload -from eZmaxApi.models.common_response import CommonResponse from eZmaxApi.models.common_response_obj_debug import CommonResponseObjDebug from eZmaxApi.models.common_response_obj_debug_payload import CommonResponseObjDebugPayload from typing import Optional, Set from typing_extensions import Self -class BillingentityexternalGenerateFederationTokenV1Response(CommonResponse): +class BillingentityexternalGenerateFederationTokenV1Response(BaseModel): """ Response for POST /1/object/billingentityexternal/{pkiBillingentityexternalID}/generateFederationToken """ # noqa: E501 + obj_debug_payload: CommonResponseObjDebugPayload = Field(alias="objDebugPayload") + obj_debug: Optional[CommonResponseObjDebug] = Field(default=None, alias="objDebug") m_payload: BillingentityexternalGenerateFederationTokenV1ResponseMPayload = Field(alias="mPayload") __properties: ClassVar[List[str]] = ["objDebugPayload", "objDebug", "mPayload"] diff --git a/eZmaxApi/models/billingentityexternal_get_autocomplete_v2_response.py b/eZmaxApi/models/billingentityexternal_get_autocomplete_v2_response.py index 5865a3a22..9185ae21d 100644 --- a/eZmaxApi/models/billingentityexternal_get_autocomplete_v2_response.py +++ b/eZmaxApi/models/billingentityexternal_get_autocomplete_v2_response.py @@ -18,19 +18,20 @@ import re # noqa: F401 import json -from pydantic import ConfigDict, Field -from typing import Any, ClassVar, Dict, List +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List, Optional from eZmaxApi.models.billingentityexternal_get_autocomplete_v2_response_m_payload import BillingentityexternalGetAutocompleteV2ResponseMPayload -from eZmaxApi.models.common_response import CommonResponse from eZmaxApi.models.common_response_obj_debug import CommonResponseObjDebug from eZmaxApi.models.common_response_obj_debug_payload import CommonResponseObjDebugPayload from typing import Optional, Set from typing_extensions import Self -class BillingentityexternalGetAutocompleteV2Response(CommonResponse): +class BillingentityexternalGetAutocompleteV2Response(BaseModel): """ Response for GET /2/object/billingentityexternal/getAutocomplete """ # noqa: E501 + obj_debug_payload: CommonResponseObjDebugPayload = Field(alias="objDebugPayload") + obj_debug: Optional[CommonResponseObjDebug] = Field(default=None, alias="objDebug") m_payload: BillingentityexternalGetAutocompleteV2ResponseMPayload = Field(alias="mPayload") __properties: ClassVar[List[str]] = ["objDebugPayload", "objDebug", "mPayload"] diff --git a/eZmaxApi/models/billingentityinternal_create_object_v1_response.py b/eZmaxApi/models/billingentityinternal_create_object_v1_response.py index c5717f2da..5b111146c 100644 --- a/eZmaxApi/models/billingentityinternal_create_object_v1_response.py +++ b/eZmaxApi/models/billingentityinternal_create_object_v1_response.py @@ -18,19 +18,20 @@ import re # noqa: F401 import json -from pydantic import ConfigDict, Field -from typing import Any, ClassVar, Dict, List +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List, Optional from eZmaxApi.models.billingentityinternal_create_object_v1_response_m_payload import BillingentityinternalCreateObjectV1ResponseMPayload -from eZmaxApi.models.common_response import CommonResponse from eZmaxApi.models.common_response_obj_debug import CommonResponseObjDebug from eZmaxApi.models.common_response_obj_debug_payload import CommonResponseObjDebugPayload from typing import Optional, Set from typing_extensions import Self -class BillingentityinternalCreateObjectV1Response(CommonResponse): +class BillingentityinternalCreateObjectV1Response(BaseModel): """ Response for POST /1/object/billingentityinternal """ # noqa: E501 + obj_debug_payload: CommonResponseObjDebugPayload = Field(alias="objDebugPayload") + obj_debug: Optional[CommonResponseObjDebug] = Field(default=None, alias="objDebug") m_payload: BillingentityinternalCreateObjectV1ResponseMPayload = Field(alias="mPayload") __properties: ClassVar[List[str]] = ["objDebugPayload", "objDebug", "mPayload"] diff --git a/eZmaxApi/models/billingentityinternal_edit_object_v1_response.py b/eZmaxApi/models/billingentityinternal_edit_object_v1_response.py index 35d9c5535..4ddac6c07 100644 --- a/eZmaxApi/models/billingentityinternal_edit_object_v1_response.py +++ b/eZmaxApi/models/billingentityinternal_edit_object_v1_response.py @@ -18,18 +18,19 @@ import re # noqa: F401 import json -from pydantic import ConfigDict -from typing import Any, ClassVar, Dict, List -from eZmaxApi.models.common_response import CommonResponse +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List, Optional from eZmaxApi.models.common_response_obj_debug import CommonResponseObjDebug from eZmaxApi.models.common_response_obj_debug_payload import CommonResponseObjDebugPayload from typing import Optional, Set from typing_extensions import Self -class BillingentityinternalEditObjectV1Response(CommonResponse): +class BillingentityinternalEditObjectV1Response(BaseModel): """ Response for PUT /1/object/billingentityinternal/{pkiBillingentityinternalID} """ # noqa: E501 + obj_debug_payload: CommonResponseObjDebugPayload = Field(alias="objDebugPayload") + obj_debug: Optional[CommonResponseObjDebug] = Field(default=None, alias="objDebug") __properties: ClassVar[List[str]] = ["objDebugPayload", "objDebug"] model_config = ConfigDict( diff --git a/eZmaxApi/models/billingentityinternal_get_autocomplete_v2_response.py b/eZmaxApi/models/billingentityinternal_get_autocomplete_v2_response.py index 1a6bc66f4..28ae3bbaa 100644 --- a/eZmaxApi/models/billingentityinternal_get_autocomplete_v2_response.py +++ b/eZmaxApi/models/billingentityinternal_get_autocomplete_v2_response.py @@ -18,19 +18,20 @@ import re # noqa: F401 import json -from pydantic import ConfigDict, Field -from typing import Any, ClassVar, Dict, List +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List, Optional from eZmaxApi.models.billingentityinternal_get_autocomplete_v2_response_m_payload import BillingentityinternalGetAutocompleteV2ResponseMPayload -from eZmaxApi.models.common_response import CommonResponse from eZmaxApi.models.common_response_obj_debug import CommonResponseObjDebug from eZmaxApi.models.common_response_obj_debug_payload import CommonResponseObjDebugPayload from typing import Optional, Set from typing_extensions import Self -class BillingentityinternalGetAutocompleteV2Response(CommonResponse): +class BillingentityinternalGetAutocompleteV2Response(BaseModel): """ Response for GET /2/object/billingentityinternal/getAutocomplete """ # noqa: E501 + obj_debug_payload: CommonResponseObjDebugPayload = Field(alias="objDebugPayload") + obj_debug: Optional[CommonResponseObjDebug] = Field(default=None, alias="objDebug") m_payload: BillingentityinternalGetAutocompleteV2ResponseMPayload = Field(alias="mPayload") __properties: ClassVar[List[str]] = ["objDebugPayload", "objDebug", "mPayload"] diff --git a/eZmaxApi/models/billingentityinternal_get_list_v1_response.py b/eZmaxApi/models/billingentityinternal_get_list_v1_response.py index 092c1465f..223026cb8 100644 --- a/eZmaxApi/models/billingentityinternal_get_list_v1_response.py +++ b/eZmaxApi/models/billingentityinternal_get_list_v1_response.py @@ -18,19 +18,20 @@ import re # noqa: F401 import json -from pydantic import ConfigDict, Field -from typing import Any, ClassVar, Dict, List +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List, Optional from eZmaxApi.models.billingentityinternal_get_list_v1_response_m_payload import BillingentityinternalGetListV1ResponseMPayload -from eZmaxApi.models.common_response_get_list import CommonResponseGetList from eZmaxApi.models.common_response_obj_debug import CommonResponseObjDebug from eZmaxApi.models.common_response_obj_debug_payload_get_list import CommonResponseObjDebugPayloadGetList from typing import Optional, Set from typing_extensions import Self -class BillingentityinternalGetListV1Response(CommonResponseGetList): +class BillingentityinternalGetListV1Response(BaseModel): """ Response for GET /1/object/billingentityinternal/getList """ # noqa: E501 + obj_debug_payload: CommonResponseObjDebugPayloadGetList = Field(alias="objDebugPayload") + obj_debug: Optional[CommonResponseObjDebug] = Field(default=None, alias="objDebug") m_payload: BillingentityinternalGetListV1ResponseMPayload = Field(alias="mPayload") __properties: ClassVar[List[str]] = ["objDebugPayload", "objDebug", "mPayload"] diff --git a/eZmaxApi/models/billingentityinternal_get_list_v1_response_m_payload.py b/eZmaxApi/models/billingentityinternal_get_list_v1_response_m_payload.py index 642e94112..ccbdb8c4c 100644 --- a/eZmaxApi/models/billingentityinternal_get_list_v1_response_m_payload.py +++ b/eZmaxApi/models/billingentityinternal_get_list_v1_response_m_payload.py @@ -18,17 +18,18 @@ import re # noqa: F401 import json -from pydantic import ConfigDict, Field +from pydantic import BaseModel, ConfigDict, Field, StrictInt from typing import Any, ClassVar, Dict, List from eZmaxApi.models.billingentityinternal_list_element import BillingentityinternalListElement -from eZmaxApi.models.common_get_list_v1_response_m_payload import CommonGetListV1ResponseMPayload from typing import Optional, Set from typing_extensions import Self -class BillingentityinternalGetListV1ResponseMPayload(CommonGetListV1ResponseMPayload): +class BillingentityinternalGetListV1ResponseMPayload(BaseModel): """ Payload for GET /1/object/billingentityinternal/getList """ # noqa: E501 + i_row_returned: StrictInt = Field(description="The number of rows returned", alias="iRowReturned") + i_row_filtered: StrictInt = Field(description="The number of rows matching your filters (if any) or the total number of rows", alias="iRowFiltered") a_obj_billingentityinternal: List[BillingentityinternalListElement] = Field(alias="a_objBillingentityinternal") __properties: ClassVar[List[str]] = ["iRowReturned", "iRowFiltered", "a_objBillingentityinternal"] diff --git a/eZmaxApi/models/billingentityinternal_get_object_v2_response.py b/eZmaxApi/models/billingentityinternal_get_object_v2_response.py index 2408377b3..61e8b4707 100644 --- a/eZmaxApi/models/billingentityinternal_get_object_v2_response.py +++ b/eZmaxApi/models/billingentityinternal_get_object_v2_response.py @@ -18,19 +18,20 @@ import re # noqa: F401 import json -from pydantic import ConfigDict, Field -from typing import Any, ClassVar, Dict, List +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List, Optional from eZmaxApi.models.billingentityinternal_get_object_v2_response_m_payload import BillingentityinternalGetObjectV2ResponseMPayload -from eZmaxApi.models.common_response import CommonResponse from eZmaxApi.models.common_response_obj_debug import CommonResponseObjDebug from eZmaxApi.models.common_response_obj_debug_payload import CommonResponseObjDebugPayload from typing import Optional, Set from typing_extensions import Self -class BillingentityinternalGetObjectV2Response(CommonResponse): +class BillingentityinternalGetObjectV2Response(BaseModel): """ Response for GET /2/object/billingentityinternal/{pkiBillingentityinternalID} """ # noqa: E501 + obj_debug_payload: CommonResponseObjDebugPayload = Field(alias="objDebugPayload") + obj_debug: Optional[CommonResponseObjDebug] = Field(default=None, alias="objDebug") m_payload: BillingentityinternalGetObjectV2ResponseMPayload = Field(alias="mPayload") __properties: ClassVar[List[str]] = ["objDebugPayload", "objDebug", "mPayload"] diff --git a/eZmaxApi/models/billingentityinternal_request.py b/eZmaxApi/models/billingentityinternal_request.py index 6cf7710f1..214c91d4a 100644 --- a/eZmaxApi/models/billingentityinternal_request.py +++ b/eZmaxApi/models/billingentityinternal_request.py @@ -78,7 +78,18 @@ def to_dict(self) -> Dict[str, Any]: return _dict @classmethod - def from_dict(cls, obj: Dict[str, Any]) -> Optional[Self]: + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: """Create an instance of BillingentityinternalRequest from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "pkiBillingentityinternalID": obj.get("pkiBillingentityinternalID"), + "objBillingentityinternalDescription": MultilingualBillingentityinternalDescription.from_dict(obj["objBillingentityinternalDescription"]) if obj.get("objBillingentityinternalDescription") is not None else None + }) + return _obj diff --git a/eZmaxApi/models/billingentityinternal_request_compound.py b/eZmaxApi/models/billingentityinternal_request_compound.py index 09cebc849..c145ee4d9 100644 --- a/eZmaxApi/models/billingentityinternal_request_compound.py +++ b/eZmaxApi/models/billingentityinternal_request_compound.py @@ -18,18 +18,20 @@ import re # noqa: F401 import json -from pydantic import ConfigDict, Field -from typing import Any, ClassVar, Dict, List -from eZmaxApi.models.billingentityinternal_request import BillingentityinternalRequest +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List, Optional +from typing_extensions import Annotated from eZmaxApi.models.billingentityinternalproduct_request_compound import BillingentityinternalproductRequestCompound from eZmaxApi.models.multilingual_billingentityinternal_description import MultilingualBillingentityinternalDescription from typing import Optional, Set from typing_extensions import Self -class BillingentityinternalRequestCompound(BillingentityinternalRequest): +class BillingentityinternalRequestCompound(BaseModel): """ A Billingentityinternal Object and children """ # noqa: E501 + pki_billingentityinternal_id: Optional[Annotated[int, Field(strict=True, ge=0)]] = Field(default=None, description="The unique ID of the Billingentityinternal.", alias="pkiBillingentityinternalID") + obj_billingentityinternal_description: MultilingualBillingentityinternalDescription = Field(alias="objBillingentityinternalDescription") a_obj_billingentityinternalproduct: List[BillingentityinternalproductRequestCompound] = Field(alias="a_objBillingentityinternalproduct") __properties: ClassVar[List[str]] = ["pkiBillingentityinternalID", "objBillingentityinternalDescription", "a_objBillingentityinternalproduct"] diff --git a/eZmaxApi/models/billingentityinternal_response.py b/eZmaxApi/models/billingentityinternal_response.py index f2888c5c3..3abfc441f 100644 --- a/eZmaxApi/models/billingentityinternal_response.py +++ b/eZmaxApi/models/billingentityinternal_response.py @@ -78,7 +78,18 @@ def to_dict(self) -> Dict[str, Any]: return _dict @classmethod - def from_dict(cls, obj: Dict[str, Any]) -> Optional[Self]: + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: """Create an instance of BillingentityinternalResponse from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "pkiBillingentityinternalID": obj.get("pkiBillingentityinternalID"), + "objBillingentityinternalDescription": MultilingualBillingentityinternalDescription.from_dict(obj["objBillingentityinternalDescription"]) if obj.get("objBillingentityinternalDescription") is not None else None + }) + return _obj diff --git a/eZmaxApi/models/billingentityinternal_response_compound.py b/eZmaxApi/models/billingentityinternal_response_compound.py index cbe793c52..6fb803d83 100644 --- a/eZmaxApi/models/billingentityinternal_response_compound.py +++ b/eZmaxApi/models/billingentityinternal_response_compound.py @@ -18,18 +18,20 @@ import re # noqa: F401 import json -from pydantic import ConfigDict, Field +from pydantic import BaseModel, ConfigDict, Field from typing import Any, ClassVar, Dict, List -from eZmaxApi.models.billingentityinternal_response import BillingentityinternalResponse +from typing_extensions import Annotated from eZmaxApi.models.billingentityinternalproduct_response_compound import BillingentityinternalproductResponseCompound from eZmaxApi.models.multilingual_billingentityinternal_description import MultilingualBillingentityinternalDescription from typing import Optional, Set from typing_extensions import Self -class BillingentityinternalResponseCompound(BillingentityinternalResponse): +class BillingentityinternalResponseCompound(BaseModel): """ A Billingentityinternal Object """ # noqa: E501 + pki_billingentityinternal_id: Annotated[int, Field(strict=True, ge=0)] = Field(description="The unique ID of the Billingentityinternal.", alias="pkiBillingentityinternalID") + obj_billingentityinternal_description: MultilingualBillingentityinternalDescription = Field(alias="objBillingentityinternalDescription") a_obj_billingentityinternalproduct: List[BillingentityinternalproductResponseCompound] = Field(alias="a_objBillingentityinternalproduct") __properties: ClassVar[List[str]] = ["pkiBillingentityinternalID", "objBillingentityinternalDescription", "a_objBillingentityinternalproduct"] diff --git a/eZmaxApi/models/billingentityinternalproduct_request.py b/eZmaxApi/models/billingentityinternalproduct_request.py index 0a8f049e3..173408a47 100644 --- a/eZmaxApi/models/billingentityinternalproduct_request.py +++ b/eZmaxApi/models/billingentityinternalproduct_request.py @@ -75,7 +75,19 @@ def to_dict(self) -> Dict[str, Any]: return _dict @classmethod - def from_dict(cls, obj: Dict[str, Any]) -> Optional[Self]: + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: """Create an instance of BillingentityinternalproductRequest from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "pkiBillingentityinternalproductID": obj.get("pkiBillingentityinternalproductID"), + "fkiEzmaxproductID": obj.get("fkiEzmaxproductID"), + "fkiBillingentityexternalID": obj.get("fkiBillingentityexternalID") + }) + return _obj diff --git a/eZmaxApi/models/billingentityinternalproduct_request_compound.py b/eZmaxApi/models/billingentityinternalproduct_request_compound.py index 29c611a0d..7e478e673 100644 --- a/eZmaxApi/models/billingentityinternalproduct_request_compound.py +++ b/eZmaxApi/models/billingentityinternalproduct_request_compound.py @@ -18,16 +18,19 @@ import re # noqa: F401 import json -from pydantic import ConfigDict -from typing import Any, ClassVar, Dict, List -from eZmaxApi.models.billingentityinternalproduct_request import BillingentityinternalproductRequest +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List, Optional +from typing_extensions import Annotated from typing import Optional, Set from typing_extensions import Self -class BillingentityinternalproductRequestCompound(BillingentityinternalproductRequest): +class BillingentityinternalproductRequestCompound(BaseModel): """ A Billingentityinternalproduct Object and children """ # noqa: E501 + pki_billingentityinternalproduct_id: Optional[Annotated[int, Field(le=255, strict=True, ge=0)]] = Field(default=None, description="The unique ID of the Billingentityinternalproduct", alias="pkiBillingentityinternalproductID") + fki_ezmaxproduct_id: Annotated[int, Field(strict=True, ge=1)] = Field(description="The unique ID of the Ezmaxproduct", alias="fkiEzmaxproductID") + fki_billingentityexternal_id: Annotated[int, Field(strict=True, ge=1)] = Field(description="The unique ID of the Billingentityexternal", alias="fkiBillingentityexternalID") __properties: ClassVar[List[str]] = ["pkiBillingentityinternalproductID", "fkiEzmaxproductID", "fkiBillingentityexternalID"] model_config = ConfigDict( diff --git a/eZmaxApi/models/billingentityinternalproduct_response.py b/eZmaxApi/models/billingentityinternalproduct_response.py index a623f2620..e8e53ca81 100644 --- a/eZmaxApi/models/billingentityinternalproduct_response.py +++ b/eZmaxApi/models/billingentityinternalproduct_response.py @@ -79,7 +79,23 @@ def to_dict(self) -> Dict[str, Any]: return _dict @classmethod - def from_dict(cls, obj: Dict[str, Any]) -> Optional[Self]: + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: """Create an instance of BillingentityinternalproductResponse from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "pkiBillingentityinternalproductID": obj.get("pkiBillingentityinternalproductID"), + "fkiBillingentityinternalID": obj.get("fkiBillingentityinternalID"), + "sBillingentityinternalDescriptionX": obj.get("sBillingentityinternalDescriptionX"), + "fkiEzmaxproductID": obj.get("fkiEzmaxproductID"), + "sEzmaxproductDescriptionX": obj.get("sEzmaxproductDescriptionX"), + "fkiBillingentityexternalID": obj.get("fkiBillingentityexternalID"), + "sBillingentityexternalDescription": obj.get("sBillingentityexternalDescription") + }) + return _obj diff --git a/eZmaxApi/models/billingentityinternalproduct_response_compound.py b/eZmaxApi/models/billingentityinternalproduct_response_compound.py index 8ab8ea4ed..b87b07bc2 100644 --- a/eZmaxApi/models/billingentityinternalproduct_response_compound.py +++ b/eZmaxApi/models/billingentityinternalproduct_response_compound.py @@ -18,16 +18,23 @@ import re # noqa: F401 import json -from pydantic import ConfigDict +from pydantic import BaseModel, ConfigDict, Field, StrictStr from typing import Any, ClassVar, Dict, List -from eZmaxApi.models.billingentityinternalproduct_response import BillingentityinternalproductResponse +from typing_extensions import Annotated from typing import Optional, Set from typing_extensions import Self -class BillingentityinternalproductResponseCompound(BillingentityinternalproductResponse): +class BillingentityinternalproductResponseCompound(BaseModel): """ A Billingentityinternalproduct Object """ # noqa: E501 + pki_billingentityinternalproduct_id: Annotated[int, Field(le=255, strict=True, ge=0)] = Field(description="The unique ID of the Billingentityinternalproduct", alias="pkiBillingentityinternalproductID") + fki_billingentityinternal_id: Annotated[int, Field(strict=True, ge=0)] = Field(description="The unique ID of the Billingentityinternal.", alias="fkiBillingentityinternalID") + s_billingentityinternal_description_x: StrictStr = Field(description="The description of the Billingentityinternal in the language of the requester", alias="sBillingentityinternalDescriptionX") + fki_ezmaxproduct_id: Annotated[int, Field(strict=True, ge=1)] = Field(description="The unique ID of the Ezmaxproduct", alias="fkiEzmaxproductID") + s_ezmaxproduct_description_x: StrictStr = Field(description="The description of the Ezmaxproduct in the language of the requester", alias="sEzmaxproductDescriptionX") + fki_billingentityexternal_id: Annotated[int, Field(strict=True, ge=1)] = Field(description="The unique ID of the Billingentityexternal", alias="fkiBillingentityexternalID") + s_billingentityexternal_description: StrictStr = Field(description="The description of the Billingentityexternal", alias="sBillingentityexternalDescription") __properties: ClassVar[List[str]] = ["pkiBillingentityinternalproductID", "fkiBillingentityinternalID", "sBillingentityinternalDescriptionX", "fkiEzmaxproductID", "sEzmaxproductDescriptionX", "fkiBillingentityexternalID", "sBillingentityexternalDescription"] model_config = ConfigDict( diff --git a/eZmaxApi/models/branding_create_object_v2_response.py b/eZmaxApi/models/branding_create_object_v2_response.py index ac237bf9d..06c3177b8 100644 --- a/eZmaxApi/models/branding_create_object_v2_response.py +++ b/eZmaxApi/models/branding_create_object_v2_response.py @@ -18,19 +18,20 @@ import re # noqa: F401 import json -from pydantic import ConfigDict, Field -from typing import Any, ClassVar, Dict, List +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List, Optional from eZmaxApi.models.branding_create_object_v2_response_m_payload import BrandingCreateObjectV2ResponseMPayload -from eZmaxApi.models.common_response import CommonResponse from eZmaxApi.models.common_response_obj_debug import CommonResponseObjDebug from eZmaxApi.models.common_response_obj_debug_payload import CommonResponseObjDebugPayload from typing import Optional, Set from typing_extensions import Self -class BrandingCreateObjectV2Response(CommonResponse): +class BrandingCreateObjectV2Response(BaseModel): """ Response for POST /2/object/branding """ # noqa: E501 + obj_debug_payload: CommonResponseObjDebugPayload = Field(alias="objDebugPayload") + obj_debug: Optional[CommonResponseObjDebug] = Field(default=None, alias="objDebug") m_payload: BrandingCreateObjectV2ResponseMPayload = Field(alias="mPayload") __properties: ClassVar[List[str]] = ["objDebugPayload", "objDebug", "mPayload"] diff --git a/eZmaxApi/models/branding_edit_object_v2_response.py b/eZmaxApi/models/branding_edit_object_v2_response.py index 34ac35f3a..4cbea3b4a 100644 --- a/eZmaxApi/models/branding_edit_object_v2_response.py +++ b/eZmaxApi/models/branding_edit_object_v2_response.py @@ -18,18 +18,19 @@ import re # noqa: F401 import json -from pydantic import ConfigDict -from typing import Any, ClassVar, Dict, List -from eZmaxApi.models.common_response import CommonResponse +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List, Optional from eZmaxApi.models.common_response_obj_debug import CommonResponseObjDebug from eZmaxApi.models.common_response_obj_debug_payload import CommonResponseObjDebugPayload from typing import Optional, Set from typing_extensions import Self -class BrandingEditObjectV2Response(CommonResponse): +class BrandingEditObjectV2Response(BaseModel): """ Response for PUT /2/object/branding/{pkiBrandingID} """ # noqa: E501 + obj_debug_payload: CommonResponseObjDebugPayload = Field(alias="objDebugPayload") + obj_debug: Optional[CommonResponseObjDebug] = Field(default=None, alias="objDebug") __properties: ClassVar[List[str]] = ["objDebugPayload", "objDebug"] model_config = ConfigDict( diff --git a/eZmaxApi/models/branding_get_autocomplete_v2_response.py b/eZmaxApi/models/branding_get_autocomplete_v2_response.py index 308b74309..c2a682161 100644 --- a/eZmaxApi/models/branding_get_autocomplete_v2_response.py +++ b/eZmaxApi/models/branding_get_autocomplete_v2_response.py @@ -18,19 +18,20 @@ import re # noqa: F401 import json -from pydantic import ConfigDict, Field -from typing import Any, ClassVar, Dict, List +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List, Optional from eZmaxApi.models.branding_get_autocomplete_v2_response_m_payload import BrandingGetAutocompleteV2ResponseMPayload -from eZmaxApi.models.common_response import CommonResponse from eZmaxApi.models.common_response_obj_debug import CommonResponseObjDebug from eZmaxApi.models.common_response_obj_debug_payload import CommonResponseObjDebugPayload from typing import Optional, Set from typing_extensions import Self -class BrandingGetAutocompleteV2Response(CommonResponse): +class BrandingGetAutocompleteV2Response(BaseModel): """ Response for GET /2/object/branding/getAutocomplete """ # noqa: E501 + obj_debug_payload: CommonResponseObjDebugPayload = Field(alias="objDebugPayload") + obj_debug: Optional[CommonResponseObjDebug] = Field(default=None, alias="objDebug") m_payload: BrandingGetAutocompleteV2ResponseMPayload = Field(alias="mPayload") __properties: ClassVar[List[str]] = ["objDebugPayload", "objDebug", "mPayload"] diff --git a/eZmaxApi/models/branding_get_list_v1_response.py b/eZmaxApi/models/branding_get_list_v1_response.py index cc3cb15cd..a950ead05 100644 --- a/eZmaxApi/models/branding_get_list_v1_response.py +++ b/eZmaxApi/models/branding_get_list_v1_response.py @@ -18,19 +18,20 @@ import re # noqa: F401 import json -from pydantic import ConfigDict, Field -from typing import Any, ClassVar, Dict, List +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List, Optional from eZmaxApi.models.branding_get_list_v1_response_m_payload import BrandingGetListV1ResponseMPayload -from eZmaxApi.models.common_response_get_list import CommonResponseGetList from eZmaxApi.models.common_response_obj_debug import CommonResponseObjDebug from eZmaxApi.models.common_response_obj_debug_payload_get_list import CommonResponseObjDebugPayloadGetList from typing import Optional, Set from typing_extensions import Self -class BrandingGetListV1Response(CommonResponseGetList): +class BrandingGetListV1Response(BaseModel): """ Response for GET /1/object/branding/getList """ # noqa: E501 + obj_debug_payload: CommonResponseObjDebugPayloadGetList = Field(alias="objDebugPayload") + obj_debug: Optional[CommonResponseObjDebug] = Field(default=None, alias="objDebug") m_payload: BrandingGetListV1ResponseMPayload = Field(alias="mPayload") __properties: ClassVar[List[str]] = ["objDebugPayload", "objDebug", "mPayload"] diff --git a/eZmaxApi/models/branding_get_list_v1_response_m_payload.py b/eZmaxApi/models/branding_get_list_v1_response_m_payload.py index 304b4dbe2..5a8c44530 100644 --- a/eZmaxApi/models/branding_get_list_v1_response_m_payload.py +++ b/eZmaxApi/models/branding_get_list_v1_response_m_payload.py @@ -18,17 +18,18 @@ import re # noqa: F401 import json -from pydantic import ConfigDict, Field +from pydantic import BaseModel, ConfigDict, Field, StrictInt from typing import Any, ClassVar, Dict, List from eZmaxApi.models.branding_list_element import BrandingListElement -from eZmaxApi.models.common_get_list_v1_response_m_payload import CommonGetListV1ResponseMPayload from typing import Optional, Set from typing_extensions import Self -class BrandingGetListV1ResponseMPayload(CommonGetListV1ResponseMPayload): +class BrandingGetListV1ResponseMPayload(BaseModel): """ Payload for GET /1/object/branding/getList """ # noqa: E501 + i_row_returned: StrictInt = Field(description="The number of rows returned", alias="iRowReturned") + i_row_filtered: StrictInt = Field(description="The number of rows matching your filters (if any) or the total number of rows", alias="iRowFiltered") a_obj_branding: List[BrandingListElement] = Field(alias="a_objBranding") __properties: ClassVar[List[str]] = ["iRowReturned", "iRowFiltered", "a_objBranding"] diff --git a/eZmaxApi/models/branding_get_object_v3_response.py b/eZmaxApi/models/branding_get_object_v3_response.py index e43e8e1ee..4c3de3e23 100644 --- a/eZmaxApi/models/branding_get_object_v3_response.py +++ b/eZmaxApi/models/branding_get_object_v3_response.py @@ -18,19 +18,20 @@ import re # noqa: F401 import json -from pydantic import ConfigDict, Field -from typing import Any, ClassVar, Dict, List +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List, Optional from eZmaxApi.models.branding_get_object_v3_response_m_payload import BrandingGetObjectV3ResponseMPayload -from eZmaxApi.models.common_response import CommonResponse from eZmaxApi.models.common_response_obj_debug import CommonResponseObjDebug from eZmaxApi.models.common_response_obj_debug_payload import CommonResponseObjDebugPayload from typing import Optional, Set from typing_extensions import Self -class BrandingGetObjectV3Response(CommonResponse): +class BrandingGetObjectV3Response(BaseModel): """ Response for GET /3/object/branding/{pkiBrandingID} """ # noqa: E501 + obj_debug_payload: CommonResponseObjDebugPayload = Field(alias="objDebugPayload") + obj_debug: Optional[CommonResponseObjDebug] = Field(default=None, alias="objDebug") m_payload: BrandingGetObjectV3ResponseMPayload = Field(alias="mPayload") __properties: ClassVar[List[str]] = ["objDebugPayload", "objDebug", "mPayload"] diff --git a/eZmaxApi/models/branding_request_compound_v2.py b/eZmaxApi/models/branding_request_compound_v2.py index 28dd8ee02..663e9b21c 100644 --- a/eZmaxApi/models/branding_request_compound_v2.py +++ b/eZmaxApi/models/branding_request_compound_v2.py @@ -18,21 +18,50 @@ import re # noqa: F401 import json -from pydantic import ConfigDict -from typing import Any, ClassVar, Dict, List -from eZmaxApi.models.branding_request_v2 import BrandingRequestV2 +from pydantic import BaseModel, ConfigDict, Field, StrictBool, StrictBytes, StrictStr, field_validator +from typing import Any, ClassVar, Dict, List, Optional, Union +from typing_extensions import Annotated from eZmaxApi.models.field_e_branding_alignlogo import FieldEBrandingAlignlogo from eZmaxApi.models.field_e_branding_logo import FieldEBrandingLogo from eZmaxApi.models.multilingual_branding_description import MultilingualBrandingDescription from typing import Optional, Set from typing_extensions import Self -class BrandingRequestCompoundV2(BrandingRequestV2): +class BrandingRequestCompoundV2(BaseModel): """ A Branding Object and children """ # noqa: E501 + pki_branding_id: Optional[Annotated[int, Field(strict=True, ge=0)]] = Field(default=None, description="The unique ID of the Branding", alias="pkiBrandingID") + obj_branding_description: MultilingualBrandingDescription = Field(alias="objBrandingDescription") + e_branding_logo: FieldEBrandingLogo = Field(alias="eBrandingLogo") + e_branding_alignlogo: Optional[FieldEBrandingAlignlogo] = Field(default=None, alias="eBrandingAlignlogo") + s_branding_base64: Optional[Union[StrictBytes, StrictStr]] = Field(default=None, description="The Base64 encoded binary content of the branding logo. This need to match image type selected in eBrandingLogo if you supply an image. If you select 'Default', the logo will be deleted and the default one will be used.", alias="sBrandingBase64") + i_branding_color: Annotated[int, Field(le=16777215, strict=True, ge=0)] = Field(description="The primary color. This is a RGB color converted into integer", alias="iBrandingColor") + s_branding_name: Optional[Annotated[str, Field(strict=True)]] = Field(default=None, description="The name of the Branding This value will only be set if you wish to overwrite the default name. If you want to keep the default name, leave this property empty", alias="sBrandingName") + s_email_address: Optional[Annotated[str, Field(strict=True)]] = Field(default=None, description="The email address.", alias="sEmailAddress") + b_branding_isactive: StrictBool = Field(description="Whether the Branding is active or not", alias="bBrandingIsactive") __properties: ClassVar[List[str]] = ["pkiBrandingID", "objBrandingDescription", "eBrandingLogo", "eBrandingAlignlogo", "sBrandingBase64", "iBrandingColor", "sBrandingName", "sEmailAddress", "bBrandingIsactive"] + @field_validator('s_branding_name') + def s_branding_name_validate_regular_expression(cls, value): + """Validates the regular expression""" + if value is None: + return value + + if not re.match(r"^.{0,55}$", value): + raise ValueError(r"must validate the regular expression /^.{0,55}$/") + return value + + @field_validator('s_email_address') + def s_email_address_validate_regular_expression(cls, value): + """Validates the regular expression""" + if value is None: + return value + + if not re.match(r"^[\w.%+\-!#$%&\'*+\/=?^`{|}~]+@[a-zA-Z0-9.-]+\.[a-zA-Z]{2,20}$", value): + raise ValueError(r"must validate the regular expression /^[\w.%+\-!#$%&'*+\/=?^`{|}~]+@[a-zA-Z0-9.-]+\.[a-zA-Z]{2,20}$/") + return value + model_config = ConfigDict( populate_by_name=True, validate_assignment=True, diff --git a/eZmaxApi/models/branding_request_v2.py b/eZmaxApi/models/branding_request_v2.py index 0d751414f..a0a3de455 100644 --- a/eZmaxApi/models/branding_request_v2.py +++ b/eZmaxApi/models/branding_request_v2.py @@ -107,7 +107,25 @@ def to_dict(self) -> Dict[str, Any]: return _dict @classmethod - def from_dict(cls, obj: Dict[str, Any]) -> Optional[Self]: + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: """Create an instance of BrandingRequestV2 from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "pkiBrandingID": obj.get("pkiBrandingID"), + "objBrandingDescription": MultilingualBrandingDescription.from_dict(obj["objBrandingDescription"]) if obj.get("objBrandingDescription") is not None else None, + "eBrandingLogo": obj.get("eBrandingLogo"), + "eBrandingAlignlogo": obj.get("eBrandingAlignlogo"), + "sBrandingBase64": obj.get("sBrandingBase64"), + "iBrandingColor": obj.get("iBrandingColor"), + "sBrandingName": obj.get("sBrandingName"), + "sEmailAddress": obj.get("sEmailAddress"), + "bBrandingIsactive": obj.get("bBrandingIsactive") + }) + return _obj diff --git a/eZmaxApi/models/branding_response_compound_v3.py b/eZmaxApi/models/branding_response_compound_v3.py index 331374852..1542cf1f6 100644 --- a/eZmaxApi/models/branding_response_compound_v3.py +++ b/eZmaxApi/models/branding_response_compound_v3.py @@ -18,25 +18,54 @@ import re # noqa: F401 import json -from pydantic import ConfigDict, Field, field_validator +from pydantic import BaseModel, ConfigDict, Field, StrictBool, StrictStr, field_validator from typing import Any, ClassVar, Dict, List, Optional from typing_extensions import Annotated -from eZmaxApi.models.branding_response_v3 import BrandingResponseV3 from eZmaxApi.models.field_e_branding_alignlogo import FieldEBrandingAlignlogo from eZmaxApi.models.field_e_branding_logo import FieldEBrandingLogo from eZmaxApi.models.multilingual_branding_description import MultilingualBrandingDescription from typing import Optional, Set from typing_extensions import Self -class BrandingResponseCompoundV3(BrandingResponseV3): +class BrandingResponseCompoundV3(BaseModel): """ A Branding Object """ # noqa: E501 + pki_branding_id: Annotated[int, Field(strict=True, ge=0)] = Field(description="The unique ID of the Branding", alias="pkiBrandingID") + fki_email_id: Optional[Annotated[int, Field(le=16777215, strict=True, ge=1)]] = Field(default=None, description="The unique ID of the Email", alias="fkiEmailID") + obj_branding_description: MultilingualBrandingDescription = Field(alias="objBrandingDescription") + s_branding_description_x: StrictStr = Field(description="The Description of the Branding in the language of the requester", alias="sBrandingDescriptionX") + s_branding_name: Optional[Annotated[str, Field(strict=True)]] = Field(default=None, description="The name of the Branding This value will only be set if you wish to overwrite the default name. If you want to keep the default name, leave this property empty", alias="sBrandingName") + s_email_address: Optional[Annotated[str, Field(strict=True)]] = Field(default=None, description="The email address.", alias="sEmailAddress") + e_branding_logo: FieldEBrandingLogo = Field(alias="eBrandingLogo") + e_branding_alignlogo: FieldEBrandingAlignlogo = Field(alias="eBrandingAlignlogo") + i_branding_color: Annotated[int, Field(le=16777215, strict=True, ge=0)] = Field(description="The primary color. This is a RGB color converted into integer", alias="iBrandingColor") + b_branding_isactive: StrictBool = Field(description="Whether the Branding is active or not", alias="bBrandingIsactive") s_branding_logourl: Optional[Annotated[str, Field(strict=True)]] = Field(default=None, description="The url of the picture used as logo in the Branding", alias="sBrandingLogourl") s_branding_logoemailurl: Optional[Annotated[str, Field(strict=True)]] = Field(default=None, description="The url of the picture used in email as logo in the Branding", alias="sBrandingLogoemailurl") s_branding_logointerfaceurl: Optional[Annotated[str, Field(strict=True)]] = Field(default=None, description="The url of the picture used as logo in the Branding", alias="sBrandingLogointerfaceurl") __properties: ClassVar[List[str]] = ["pkiBrandingID", "fkiEmailID", "objBrandingDescription", "sBrandingDescriptionX", "sBrandingName", "sEmailAddress", "eBrandingLogo", "eBrandingAlignlogo", "iBrandingColor", "bBrandingIsactive", "sBrandingLogourl", "sBrandingLogoemailurl", "sBrandingLogointerfaceurl"] + @field_validator('s_branding_name') + def s_branding_name_validate_regular_expression(cls, value): + """Validates the regular expression""" + if value is None: + return value + + if not re.match(r"^.{0,55}$", value): + raise ValueError(r"must validate the regular expression /^.{0,55}$/") + return value + + @field_validator('s_email_address') + def s_email_address_validate_regular_expression(cls, value): + """Validates the regular expression""" + if value is None: + return value + + if not re.match(r"^[\w.%+\-!#$%&\'*+\/=?^`{|}~]+@[a-zA-Z0-9.-]+\.[a-zA-Z]{2,20}$", value): + raise ValueError(r"must validate the regular expression /^[\w.%+\-!#$%&'*+\/=?^`{|}~]+@[a-zA-Z0-9.-]+\.[a-zA-Z]{2,20}$/") + return value + @field_validator('s_branding_logourl') def s_branding_logourl_validate_regular_expression(cls, value): """Validates the regular expression""" diff --git a/eZmaxApi/models/branding_response_v3.py b/eZmaxApi/models/branding_response_v3.py index 5f887a28e..4f66ef935 100644 --- a/eZmaxApi/models/branding_response_v3.py +++ b/eZmaxApi/models/branding_response_v3.py @@ -108,7 +108,26 @@ def to_dict(self) -> Dict[str, Any]: return _dict @classmethod - def from_dict(cls, obj: Dict[str, Any]) -> Optional[Self]: + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: """Create an instance of BrandingResponseV3 from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "pkiBrandingID": obj.get("pkiBrandingID"), + "fkiEmailID": obj.get("fkiEmailID"), + "objBrandingDescription": MultilingualBrandingDescription.from_dict(obj["objBrandingDescription"]) if obj.get("objBrandingDescription") is not None else None, + "sBrandingDescriptionX": obj.get("sBrandingDescriptionX"), + "sBrandingName": obj.get("sBrandingName"), + "sEmailAddress": obj.get("sEmailAddress"), + "eBrandingLogo": obj.get("eBrandingLogo"), + "eBrandingAlignlogo": obj.get("eBrandingAlignlogo"), + "iBrandingColor": obj.get("iBrandingColor"), + "bBrandingIsactive": obj.get("bBrandingIsactive") + }) + return _obj diff --git a/eZmaxApi/models/buyercontract_get_communication_count_v1_response.py b/eZmaxApi/models/buyercontract_get_communication_count_v1_response.py index 61de271bc..9d4df85e7 100644 --- a/eZmaxApi/models/buyercontract_get_communication_count_v1_response.py +++ b/eZmaxApi/models/buyercontract_get_communication_count_v1_response.py @@ -18,19 +18,20 @@ import re # noqa: F401 import json -from pydantic import ConfigDict, Field -from typing import Any, ClassVar, Dict, List +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List, Optional from eZmaxApi.models.buyercontract_get_communication_count_v1_response_m_payload import BuyercontractGetCommunicationCountV1ResponseMPayload -from eZmaxApi.models.common_response import CommonResponse from eZmaxApi.models.common_response_obj_debug import CommonResponseObjDebug from eZmaxApi.models.common_response_obj_debug_payload import CommonResponseObjDebugPayload from typing import Optional, Set from typing_extensions import Self -class BuyercontractGetCommunicationCountV1Response(CommonResponse): +class BuyercontractGetCommunicationCountV1Response(BaseModel): """ Response for GET /1/object/buyercontract/{pkiBuyercontractID}/getCommunicationCount """ # noqa: E501 + obj_debug_payload: CommonResponseObjDebugPayload = Field(alias="objDebugPayload") + obj_debug: Optional[CommonResponseObjDebug] = Field(default=None, alias="objDebug") m_payload: BuyercontractGetCommunicationCountV1ResponseMPayload = Field(alias="mPayload") __properties: ClassVar[List[str]] = ["objDebugPayload", "objDebug", "mPayload"] diff --git a/eZmaxApi/models/buyercontract_get_communication_list_v1_response.py b/eZmaxApi/models/buyercontract_get_communication_list_v1_response.py index 830dc45aa..f347a56c8 100644 --- a/eZmaxApi/models/buyercontract_get_communication_list_v1_response.py +++ b/eZmaxApi/models/buyercontract_get_communication_list_v1_response.py @@ -18,19 +18,20 @@ import re # noqa: F401 import json -from pydantic import ConfigDict, Field -from typing import Any, ClassVar, Dict, List +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List, Optional from eZmaxApi.models.buyercontract_get_communication_list_v1_response_m_payload import BuyercontractGetCommunicationListV1ResponseMPayload -from eZmaxApi.models.common_response_get_list import CommonResponseGetList from eZmaxApi.models.common_response_obj_debug import CommonResponseObjDebug from eZmaxApi.models.common_response_obj_debug_payload_get_list import CommonResponseObjDebugPayloadGetList from typing import Optional, Set from typing_extensions import Self -class BuyercontractGetCommunicationListV1Response(CommonResponseGetList): +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(default=None, alias="objDebug") m_payload: BuyercontractGetCommunicationListV1ResponseMPayload = Field(alias="mPayload") __properties: ClassVar[List[str]] = ["objDebugPayload", "objDebug", "mPayload"] diff --git a/eZmaxApi/models/buyercontract_get_communicationrecipients_v1_response.py b/eZmaxApi/models/buyercontract_get_communicationrecipients_v1_response.py index 3d46a2de8..68e26b146 100644 --- a/eZmaxApi/models/buyercontract_get_communicationrecipients_v1_response.py +++ b/eZmaxApi/models/buyercontract_get_communicationrecipients_v1_response.py @@ -18,19 +18,20 @@ import re # noqa: F401 import json -from pydantic import ConfigDict, Field -from typing import Any, ClassVar, Dict, List +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List, Optional from eZmaxApi.models.buyercontract_get_communicationrecipients_v1_response_m_payload import BuyercontractGetCommunicationrecipientsV1ResponseMPayload -from eZmaxApi.models.common_response import CommonResponse from eZmaxApi.models.common_response_obj_debug import CommonResponseObjDebug from eZmaxApi.models.common_response_obj_debug_payload import CommonResponseObjDebugPayload from typing import Optional, Set from typing_extensions import Self -class BuyercontractGetCommunicationrecipientsV1Response(CommonResponse): +class BuyercontractGetCommunicationrecipientsV1Response(BaseModel): """ Response for GET /1/object/buyercontract/{pkiBuyercontractID}/getCommunicationrecipients """ # noqa: E501 + obj_debug_payload: CommonResponseObjDebugPayload = Field(alias="objDebugPayload") + obj_debug: Optional[CommonResponseObjDebug] = Field(default=None, alias="objDebug") m_payload: BuyercontractGetCommunicationrecipientsV1ResponseMPayload = Field(alias="mPayload") __properties: ClassVar[List[str]] = ["objDebugPayload", "objDebug", "mPayload"] diff --git a/eZmaxApi/models/buyercontract_get_communicationsenders_v1_response.py b/eZmaxApi/models/buyercontract_get_communicationsenders_v1_response.py index c89b170b5..5604ad50e 100644 --- a/eZmaxApi/models/buyercontract_get_communicationsenders_v1_response.py +++ b/eZmaxApi/models/buyercontract_get_communicationsenders_v1_response.py @@ -18,19 +18,20 @@ import re # noqa: F401 import json -from pydantic import ConfigDict, Field -from typing import Any, ClassVar, Dict, List +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List, Optional from eZmaxApi.models.buyercontract_get_communicationsenders_v1_response_m_payload import BuyercontractGetCommunicationsendersV1ResponseMPayload -from eZmaxApi.models.common_response import CommonResponse from eZmaxApi.models.common_response_obj_debug import CommonResponseObjDebug from eZmaxApi.models.common_response_obj_debug_payload import CommonResponseObjDebugPayload from typing import Optional, Set from typing_extensions import Self -class BuyercontractGetCommunicationsendersV1Response(CommonResponse): +class BuyercontractGetCommunicationsendersV1Response(BaseModel): """ Response for GET /1/object/buyercontract/{pkiBuyercontractID}/getCommunicationrecipients """ # noqa: E501 + obj_debug_payload: CommonResponseObjDebugPayload = Field(alias="objDebugPayload") + obj_debug: Optional[CommonResponseObjDebug] = Field(default=None, alias="objDebug") m_payload: BuyercontractGetCommunicationsendersV1ResponseMPayload = Field(alias="mPayload") __properties: ClassVar[List[str]] = ["objDebugPayload", "objDebug", "mPayload"] diff --git a/eZmaxApi/models/clonehistory_get_list_v1_response.py b/eZmaxApi/models/clonehistory_get_list_v1_response.py index 636aca493..a4e9396d2 100644 --- a/eZmaxApi/models/clonehistory_get_list_v1_response.py +++ b/eZmaxApi/models/clonehistory_get_list_v1_response.py @@ -18,19 +18,20 @@ import re # noqa: F401 import json -from pydantic import ConfigDict, Field -from typing import Any, ClassVar, Dict, List +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List, Optional from eZmaxApi.models.clonehistory_get_list_v1_response_m_payload import ClonehistoryGetListV1ResponseMPayload -from eZmaxApi.models.common_response_get_list import CommonResponseGetList from eZmaxApi.models.common_response_obj_debug import CommonResponseObjDebug from eZmaxApi.models.common_response_obj_debug_payload_get_list import CommonResponseObjDebugPayloadGetList from typing import Optional, Set from typing_extensions import Self -class ClonehistoryGetListV1Response(CommonResponseGetList): +class ClonehistoryGetListV1Response(BaseModel): """ Response for GET /1/object/clonehistory/getList """ # noqa: E501 + obj_debug_payload: CommonResponseObjDebugPayloadGetList = Field(alias="objDebugPayload") + obj_debug: Optional[CommonResponseObjDebug] = Field(default=None, alias="objDebug") m_payload: ClonehistoryGetListV1ResponseMPayload = Field(alias="mPayload") __properties: ClassVar[List[str]] = ["objDebugPayload", "objDebug", "mPayload"] diff --git a/eZmaxApi/models/clonehistory_get_list_v1_response_m_payload.py b/eZmaxApi/models/clonehistory_get_list_v1_response_m_payload.py index db7ec80be..8023dc524 100644 --- a/eZmaxApi/models/clonehistory_get_list_v1_response_m_payload.py +++ b/eZmaxApi/models/clonehistory_get_list_v1_response_m_payload.py @@ -18,17 +18,18 @@ import re # noqa: F401 import json -from pydantic import ConfigDict, Field +from pydantic import BaseModel, ConfigDict, Field, StrictInt from typing import Any, ClassVar, Dict, List from eZmaxApi.models.clonehistory_list_element import ClonehistoryListElement -from eZmaxApi.models.common_get_list_v1_response_m_payload import CommonGetListV1ResponseMPayload from typing import Optional, Set from typing_extensions import Self -class ClonehistoryGetListV1ResponseMPayload(CommonGetListV1ResponseMPayload): +class ClonehistoryGetListV1ResponseMPayload(BaseModel): """ Payload for GET /1/object/clonehistory/getList """ # noqa: E501 + i_row_returned: StrictInt = Field(description="The number of rows returned", alias="iRowReturned") + i_row_filtered: StrictInt = Field(description="The number of rows matching your filters (if any) or the total number of rows", alias="iRowFiltered") a_obj_clonehistory: List[ClonehistoryListElement] = Field(alias="a_objClonehistory") __properties: ClassVar[List[str]] = ["iRowReturned", "iRowFiltered", "a_objClonehistory"] diff --git a/eZmaxApi/models/colleague_request_compound_v2.py b/eZmaxApi/models/colleague_request_compound_v2.py index 03c6a88e9..c5c310f5b 100644 --- a/eZmaxApi/models/colleague_request_compound_v2.py +++ b/eZmaxApi/models/colleague_request_compound_v2.py @@ -18,20 +18,54 @@ import re # noqa: F401 import json -from pydantic import ConfigDict -from typing import Any, ClassVar, Dict, List -from eZmaxApi.models.colleague_request_v2 import ColleagueRequestV2 +from pydantic import BaseModel, ConfigDict, Field, StrictBool, field_validator +from typing import Any, ClassVar, Dict, List, Optional +from typing_extensions import Annotated from eZmaxApi.models.field_e_colleague_ezsign import FieldEColleagueEzsign from eZmaxApi.models.field_e_colleague_realestateinprogess import FieldEColleagueRealestateinprogess from typing import Optional, Set from typing_extensions import Self -class ColleagueRequestCompoundV2(ColleagueRequestV2): +class ColleagueRequestCompoundV2(BaseModel): """ A Colleague Object and children """ # noqa: E501 + pki_colleague_id: Optional[Annotated[int, Field(le=65535, strict=True, ge=0)]] = Field(default=None, description="The unique ID of the Colleague", alias="pkiColleagueID") + fki_user_id: Annotated[int, Field(strict=True, ge=0)] = Field(description="The unique ID of the User", alias="fkiUserID") + fki_user_id_colleague: Annotated[int, Field(strict=True, ge=0)] = Field(description="The unique ID of the User", alias="fkiUserIDColleague") + b_colleague_ezsignemail: StrictBool = Field(description="Whether the email can be used by the cloning user in Ezsign", alias="bColleagueEzsignemail") + b_colleague_financial: StrictBool = Field(description="Whether the cloning user has access to the financial", alias="bColleagueFinancial") + b_colleague_usecloneemail: StrictBool = Field(description="Whether the cloning user has access to the cloned user email to send communications", alias="bColleagueUsecloneemail") + b_colleague_attachment: StrictBool = Field(description="Whether the cloning user has access to the attachment", alias="bColleagueAttachment") + b_colleague_canafe: StrictBool = Field(description="Whether the cloning user has access to canafe", alias="bColleagueCanafe") + b_colleague_permission: StrictBool = Field(description="Whether the cloning user copies the permission of the cloned user", alias="bColleaguePermission") + b_colleague_realestatecompleted: StrictBool = Field(description="Whether if the cloning user has access to the completed folders in real estate", alias="bColleagueRealestatecompleted") + dt_colleague_from: Optional[Annotated[str, Field(strict=True)]] = Field(default=None, description="The from of the Colleague", alias="dtColleagueFrom") + dt_colleague_to: Optional[Annotated[str, Field(strict=True)]] = Field(default=None, description="The to of the Colleague", alias="dtColleagueTo") + e_colleague_ezsign: FieldEColleagueEzsign = Field(alias="eColleagueEzsign") + e_colleague_realestateinprogress: FieldEColleagueRealestateinprogess = Field(alias="eColleagueRealestateinprogress") __properties: ClassVar[List[str]] = ["pkiColleagueID", "fkiUserID", "fkiUserIDColleague", "bColleagueEzsignemail", "bColleagueFinancial", "bColleagueUsecloneemail", "bColleagueAttachment", "bColleagueCanafe", "bColleaguePermission", "bColleagueRealestatecompleted", "dtColleagueFrom", "dtColleagueTo", "eColleagueEzsign", "eColleagueRealestateinprogress"] + @field_validator('dt_colleague_from') + def dt_colleague_from_validate_regular_expression(cls, value): + """Validates the regular expression""" + if value is None: + return value + + if not re.match(r"^[0-9]{4}-(0[1-9]|1[0-2])-(0[1-9]|[1-2][0-9]|3[0-1])$", value): + raise ValueError(r"must validate the regular expression /^[0-9]{4}-(0[1-9]|1[0-2])-(0[1-9]|[1-2][0-9]|3[0-1])$/") + return value + + @field_validator('dt_colleague_to') + def dt_colleague_to_validate_regular_expression(cls, value): + """Validates the regular expression""" + if value is None: + return value + + if not re.match(r"^[0-9]{4}-(0[1-9]|1[0-2])-(0[1-9]|[1-2][0-9]|3[0-1])$", value): + raise ValueError(r"must validate the regular expression /^[0-9]{4}-(0[1-9]|1[0-2])-(0[1-9]|[1-2][0-9]|3[0-1])$/") + return value + model_config = ConfigDict( populate_by_name=True, validate_assignment=True, diff --git a/eZmaxApi/models/colleague_request_v2.py b/eZmaxApi/models/colleague_request_v2.py index 7b1a206e8..d760fc747 100644 --- a/eZmaxApi/models/colleague_request_v2.py +++ b/eZmaxApi/models/colleague_request_v2.py @@ -108,7 +108,30 @@ def to_dict(self) -> Dict[str, Any]: return _dict @classmethod - def from_dict(cls, obj: Dict[str, Any]) -> Optional[Self]: + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: """Create an instance of ColleagueRequestV2 from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "pkiColleagueID": obj.get("pkiColleagueID"), + "fkiUserID": obj.get("fkiUserID"), + "fkiUserIDColleague": obj.get("fkiUserIDColleague"), + "bColleagueEzsignemail": obj.get("bColleagueEzsignemail"), + "bColleagueFinancial": obj.get("bColleagueFinancial"), + "bColleagueUsecloneemail": obj.get("bColleagueUsecloneemail"), + "bColleagueAttachment": obj.get("bColleagueAttachment"), + "bColleagueCanafe": obj.get("bColleagueCanafe"), + "bColleaguePermission": obj.get("bColleaguePermission"), + "bColleagueRealestatecompleted": obj.get("bColleagueRealestatecompleted"), + "dtColleagueFrom": obj.get("dtColleagueFrom"), + "dtColleagueTo": obj.get("dtColleagueTo"), + "eColleagueEzsign": obj.get("eColleagueEzsign"), + "eColleagueRealestateinprogress": obj.get("eColleagueRealestateinprogress") + }) + return _obj diff --git a/eZmaxApi/models/colleague_response_compound_v2.py b/eZmaxApi/models/colleague_response_compound_v2.py index 92ba14363..76c682802 100644 --- a/eZmaxApi/models/colleague_response_compound_v2.py +++ b/eZmaxApi/models/colleague_response_compound_v2.py @@ -18,9 +18,9 @@ import re # noqa: F401 import json -from pydantic import ConfigDict -from typing import Any, ClassVar, Dict, List -from eZmaxApi.models.colleague_response_v2 import ColleagueResponseV2 +from pydantic import BaseModel, ConfigDict, Field, StrictBool, field_validator +from typing import Any, ClassVar, Dict, List, Optional +from typing_extensions import Annotated from eZmaxApi.models.common_audit import CommonAudit from eZmaxApi.models.custom_user_name_response import CustomUserNameResponse from eZmaxApi.models.field_e_colleague_ezsign import FieldEColleagueEzsign @@ -28,12 +28,48 @@ from typing import Optional, Set from typing_extensions import Self -class ColleagueResponseCompoundV2(ColleagueResponseV2): +class ColleagueResponseCompoundV2(BaseModel): """ A Colleague Object """ # noqa: E501 + pki_colleague_id: Annotated[int, Field(le=65535, strict=True, ge=0)] = Field(description="The unique ID of the Colleague", alias="pkiColleagueID") + fki_user_id: Annotated[int, Field(strict=True, ge=0)] = Field(description="The unique ID of the User", alias="fkiUserID") + fki_user_id_colleague: Annotated[int, Field(strict=True, ge=0)] = Field(description="The unique ID of the User", alias="fkiUserIDColleague") + b_colleague_ezsignemail: StrictBool = Field(description="Whether the email can be used by the cloning user in Ezsign", alias="bColleagueEzsignemail") + b_colleague_financial: StrictBool = Field(description="Whether the cloning user has access to the financial", alias="bColleagueFinancial") + b_colleague_usecloneemail: StrictBool = Field(description="Whether the cloning user has access to the cloned user email to send communications", alias="bColleagueUsecloneemail") + b_colleague_attachment: StrictBool = Field(description="Whether the cloning user has access to the attachment", alias="bColleagueAttachment") + b_colleague_canafe: StrictBool = Field(description="Whether the cloning user has access to canafe", alias="bColleagueCanafe") + b_colleague_permission: StrictBool = Field(description="Whether the cloning user copies the permission of the cloned user", alias="bColleaguePermission") + b_colleague_realestatecompleted: StrictBool = Field(description="Whether if the cloning user has access to the completed folders in real estate", alias="bColleagueRealestatecompleted") + dt_colleague_from: Optional[Annotated[str, Field(strict=True)]] = Field(default=None, description="The from of the Colleague", alias="dtColleagueFrom") + dt_colleague_to: Optional[Annotated[str, Field(strict=True)]] = Field(default=None, description="The to of the Colleague", alias="dtColleagueTo") + e_colleague_ezsign: FieldEColleagueEzsign = Field(alias="eColleagueEzsign") + e_colleague_realestateinprogress: FieldEColleagueRealestateinprogess = Field(alias="eColleagueRealestateinprogress") + obj_user_name: CustomUserNameResponse = Field(alias="objUserName") + obj_audit: CommonAudit = Field(alias="objAudit") __properties: ClassVar[List[str]] = ["pkiColleagueID", "fkiUserID", "fkiUserIDColleague", "bColleagueEzsignemail", "bColleagueFinancial", "bColleagueUsecloneemail", "bColleagueAttachment", "bColleagueCanafe", "bColleaguePermission", "bColleagueRealestatecompleted", "dtColleagueFrom", "dtColleagueTo", "eColleagueEzsign", "eColleagueRealestateinprogress", "objUserName", "objAudit"] + @field_validator('dt_colleague_from') + def dt_colleague_from_validate_regular_expression(cls, value): + """Validates the regular expression""" + if value is None: + return value + + if not re.match(r"^[0-9]{4}-(0[1-9]|1[0-2])-(0[1-9]|[1-2][0-9]|3[0-1])$", value): + raise ValueError(r"must validate the regular expression /^[0-9]{4}-(0[1-9]|1[0-2])-(0[1-9]|[1-2][0-9]|3[0-1])$/") + return value + + @field_validator('dt_colleague_to') + def dt_colleague_to_validate_regular_expression(cls, value): + """Validates the regular expression""" + if value is None: + return value + + if not re.match(r"^[0-9]{4}-(0[1-9]|1[0-2])-(0[1-9]|[1-2][0-9]|3[0-1])$", value): + raise ValueError(r"must validate the regular expression /^[0-9]{4}-(0[1-9]|1[0-2])-(0[1-9]|[1-2][0-9]|3[0-1])$/") + return value + model_config = ConfigDict( populate_by_name=True, validate_assignment=True, diff --git a/eZmaxApi/models/colleague_response_v2.py b/eZmaxApi/models/colleague_response_v2.py index 3f0fd5219..cf2106291 100644 --- a/eZmaxApi/models/colleague_response_v2.py +++ b/eZmaxApi/models/colleague_response_v2.py @@ -118,7 +118,32 @@ def to_dict(self) -> Dict[str, Any]: return _dict @classmethod - def from_dict(cls, obj: Dict[str, Any]) -> Optional[Self]: + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: """Create an instance of ColleagueResponseV2 from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "pkiColleagueID": obj.get("pkiColleagueID"), + "fkiUserID": obj.get("fkiUserID"), + "fkiUserIDColleague": obj.get("fkiUserIDColleague"), + "bColleagueEzsignemail": obj.get("bColleagueEzsignemail"), + "bColleagueFinancial": obj.get("bColleagueFinancial"), + "bColleagueUsecloneemail": obj.get("bColleagueUsecloneemail"), + "bColleagueAttachment": obj.get("bColleagueAttachment"), + "bColleagueCanafe": obj.get("bColleagueCanafe"), + "bColleaguePermission": obj.get("bColleaguePermission"), + "bColleagueRealestatecompleted": obj.get("bColleagueRealestatecompleted"), + "dtColleagueFrom": obj.get("dtColleagueFrom"), + "dtColleagueTo": obj.get("dtColleagueTo"), + "eColleagueEzsign": obj.get("eColleagueEzsign"), + "eColleagueRealestateinprogress": obj.get("eColleagueRealestateinprogress"), + "objUserName": CustomUserNameResponse.from_dict(obj["objUserName"]) if obj.get("objUserName") is not None else None, + "objAudit": CommonAudit.from_dict(obj["objAudit"]) if obj.get("objAudit") is not None else None + }) + return _obj diff --git a/eZmaxApi/models/common_get_list_v1_response_m_payload.py b/eZmaxApi/models/common_get_list_v1_response_m_payload.py index 0f968f6f1..cb19aa739 100644 --- a/eZmaxApi/models/common_get_list_v1_response_m_payload.py +++ b/eZmaxApi/models/common_get_list_v1_response_m_payload.py @@ -73,7 +73,18 @@ def to_dict(self) -> Dict[str, Any]: return _dict @classmethod - def from_dict(cls, obj: Dict[str, Any]) -> Optional[Self]: + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: """Create an instance of CommonGetListV1ResponseMPayload from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "iRowReturned": obj.get("iRowReturned"), + "iRowFiltered": obj.get("iRowFiltered") + }) + return _obj diff --git a/eZmaxApi/models/common_get_report_v1_response.py b/eZmaxApi/models/common_get_report_v1_response.py index 0890591e6..056a77e68 100644 --- a/eZmaxApi/models/common_get_report_v1_response.py +++ b/eZmaxApi/models/common_get_report_v1_response.py @@ -18,19 +18,20 @@ import re # noqa: F401 import json -from pydantic import ConfigDict, Field -from typing import Any, ClassVar, Dict, List +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List, Optional from eZmaxApi.models.common_get_report_v1_response_m_payload import CommonGetReportV1ResponseMPayload -from eZmaxApi.models.common_response import CommonResponse from eZmaxApi.models.common_response_obj_debug import CommonResponseObjDebug from eZmaxApi.models.common_response_obj_debug_payload import CommonResponseObjDebugPayload from typing import Optional, Set from typing_extensions import Self -class CommonGetReportV1Response(CommonResponse): +class CommonGetReportV1Response(BaseModel): """ Response for POST /1/report/xxx/xxx and /1/module/report/getReportFromCache """ # noqa: E501 + obj_debug_payload: CommonResponseObjDebugPayload = Field(alias="objDebugPayload") + obj_debug: Optional[CommonResponseObjDebug] = Field(default=None, alias="objDebug") m_payload: CommonGetReportV1ResponseMPayload = Field(alias="mPayload") __properties: ClassVar[List[str]] = ["objDebugPayload", "objDebug", "mPayload"] diff --git a/eZmaxApi/models/common_response.py b/eZmaxApi/models/common_response.py index d66df9e90..2bde4e203 100644 --- a/eZmaxApi/models/common_response.py +++ b/eZmaxApi/models/common_response.py @@ -81,7 +81,18 @@ def to_dict(self) -> Dict[str, Any]: return _dict @classmethod - def from_dict(cls, obj: Dict[str, Any]) -> Optional[Self]: + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: """Create an instance of CommonResponse from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "objDebugPayload": CommonResponseObjDebugPayload.from_dict(obj["objDebugPayload"]) if obj.get("objDebugPayload") is not None else None, + "objDebug": CommonResponseObjDebug.from_dict(obj["objDebug"]) if obj.get("objDebug") is not None else None + }) + return _obj diff --git a/eZmaxApi/models/common_response_error.py b/eZmaxApi/models/common_response_error.py index 9e31bd7b7..8678e6458 100644 --- a/eZmaxApi/models/common_response_error.py +++ b/eZmaxApi/models/common_response_error.py @@ -83,7 +83,19 @@ def to_dict(self) -> Dict[str, Any]: return _dict @classmethod - def from_dict(cls, obj: Dict[str, Any]) -> Optional[Self]: + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: """Create an instance of CommonResponseError from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "sErrorMessage": obj.get("sErrorMessage"), + "eErrorCode": obj.get("eErrorCode"), + "a_sErrorMessagedetail": obj.get("a_sErrorMessagedetail") + }) + return _obj diff --git a/eZmaxApi/models/common_response_error_creditcard_validation.py b/eZmaxApi/models/common_response_error_creditcard_validation.py index 4f654f20d..b009b38cf 100644 --- a/eZmaxApi/models/common_response_error_creditcard_validation.py +++ b/eZmaxApi/models/common_response_error_creditcard_validation.py @@ -18,21 +18,31 @@ import re # noqa: F401 import json -from pydantic import ConfigDict, Field +from pydantic import BaseModel, ConfigDict, Field, StrictStr, field_validator from typing import Any, ClassVar, Dict, List, Optional -from eZmaxApi.models.common_response_error import CommonResponseError +from typing_extensions import Annotated from eZmaxApi.models.custom_creditcardtransactionresponse_response import CustomCreditcardtransactionresponseResponse from eZmaxApi.models.field_e_error_code import FieldEErrorCode from typing import Optional, Set from typing_extensions import Self -class CommonResponseErrorCreditcardValidation(CommonResponseError): +class CommonResponseErrorCreditcardValidation(BaseModel): """ Generic Error Message """ # noqa: E501 + s_error_message: Annotated[str, Field(strict=True)] = Field(description="The message giving details about the error", alias="sErrorMessage") + e_error_code: FieldEErrorCode = Field(alias="eErrorCode") + a_s_error_messagedetail: Optional[List[StrictStr]] = Field(default=None, description="More error message detail", alias="a_sErrorMessagedetail") obj_creditcardtransactionresponse: Optional[CustomCreditcardtransactionresponseResponse] = Field(default=None, alias="objCreditcardtransactionresponse") __properties: ClassVar[List[str]] = ["sErrorMessage", "eErrorCode", "a_sErrorMessagedetail", "objCreditcardtransactionresponse"] + @field_validator('s_error_message') + def s_error_message_validate_regular_expression(cls, value): + """Validates the regular expression""" + if not re.match(r"^.{0,500}$", value): + raise ValueError(r"must validate the regular expression /^.{0,500}$/") + return value + model_config = ConfigDict( populate_by_name=True, validate_assignment=True, diff --git a/eZmaxApi/models/common_response_error_ezsignform_validation.py b/eZmaxApi/models/common_response_error_ezsignform_validation.py index 7cef061a7..cc174dd33 100644 --- a/eZmaxApi/models/common_response_error_ezsignform_validation.py +++ b/eZmaxApi/models/common_response_error_ezsignform_validation.py @@ -18,20 +18,31 @@ import re # noqa: F401 import json -from pydantic import ConfigDict, Field -from typing import Any, ClassVar, Dict, List -from eZmaxApi.models.common_response_error import CommonResponseError +from pydantic import BaseModel, ConfigDict, Field, StrictStr, field_validator +from typing import Any, ClassVar, Dict, List, Optional +from typing_extensions import Annotated +from eZmaxApi.models.custom_ezsignformfielderror_response import CustomEzsignformfielderrorResponse from eZmaxApi.models.field_e_error_code import FieldEErrorCode from typing import Optional, Set from typing_extensions import Self -class CommonResponseErrorEzsignformValidation(CommonResponseError): +class CommonResponseErrorEzsignformValidation(BaseModel): """ Generic Error Message """ # noqa: E501 - a_obj_ezsignformfielderror: List[object] = Field(alias="a_objEzsignformfielderror") + s_error_message: Annotated[str, Field(strict=True)] = Field(description="The message giving details about the error", alias="sErrorMessage") + e_error_code: FieldEErrorCode = Field(alias="eErrorCode") + a_s_error_messagedetail: Optional[List[StrictStr]] = Field(default=None, description="More error message detail", alias="a_sErrorMessagedetail") + a_obj_ezsignformfielderror: List[CustomEzsignformfielderrorResponse] = Field(alias="a_objEzsignformfielderror") __properties: ClassVar[List[str]] = ["sErrorMessage", "eErrorCode", "a_sErrorMessagedetail", "a_objEzsignformfielderror"] + @field_validator('s_error_message') + def s_error_message_validate_regular_expression(cls, value): + """Validates the regular expression""" + if not re.match(r"^.{0,500}$", value): + raise ValueError(r"must validate the regular expression /^.{0,500}$/") + return value + model_config = ConfigDict( populate_by_name=True, validate_assignment=True, @@ -71,6 +82,13 @@ def to_dict(self) -> Dict[str, Any]: exclude=excluded_fields, exclude_none=True, ) + # override the default output from pydantic by calling `to_dict()` of each item in a_obj_ezsignformfielderror (list) + _items = [] + if self.a_obj_ezsignformfielderror: + for _item_a_obj_ezsignformfielderror in self.a_obj_ezsignformfielderror: + if _item_a_obj_ezsignformfielderror: + _items.append(_item_a_obj_ezsignformfielderror.to_dict()) + _dict['a_objEzsignformfielderror'] = _items return _dict @classmethod @@ -86,7 +104,7 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: "sErrorMessage": obj.get("sErrorMessage"), "eErrorCode": obj.get("eErrorCode"), "a_sErrorMessagedetail": obj.get("a_sErrorMessagedetail"), - "a_objEzsignformfielderror": obj.get("a_objEzsignformfielderror") + "a_objEzsignformfielderror": [CustomEzsignformfielderrorResponse.from_dict(_item) for _item in obj["a_objEzsignformfielderror"]] if obj.get("a_objEzsignformfielderror") is not None else None }) return _obj diff --git a/eZmaxApi/models/common_response_error_s_temporary_file_url.py b/eZmaxApi/models/common_response_error_s_temporary_file_url.py index f02536180..d5fe6f328 100644 --- a/eZmaxApi/models/common_response_error_s_temporary_file_url.py +++ b/eZmaxApi/models/common_response_error_s_temporary_file_url.py @@ -18,21 +18,30 @@ import re # noqa: F401 import json -from pydantic import ConfigDict, Field, field_validator +from pydantic import BaseModel, ConfigDict, Field, StrictStr, field_validator from typing import Any, ClassVar, Dict, List, Optional from typing_extensions import Annotated -from eZmaxApi.models.common_response_error import CommonResponseError from eZmaxApi.models.field_e_error_code import FieldEErrorCode from typing import Optional, Set from typing_extensions import Self -class CommonResponseErrorSTemporaryFileUrl(CommonResponseError): +class CommonResponseErrorSTemporaryFileUrl(BaseModel): """ Generic Error Message """ # noqa: E501 + s_error_message: Annotated[str, Field(strict=True)] = Field(description="The message giving details about the error", alias="sErrorMessage") + e_error_code: FieldEErrorCode = Field(alias="eErrorCode") + a_s_error_messagedetail: Optional[List[StrictStr]] = Field(default=None, description="More error message detail", alias="a_sErrorMessagedetail") s_temporary_file_url: Optional[Annotated[str, Field(strict=True)]] = Field(default=None, description="The Temporary File Url of the document that was uploaded. That url can be reused instead of uploading the file again.", alias="sTemporaryFileUrl") __properties: ClassVar[List[str]] = ["sErrorMessage", "eErrorCode", "a_sErrorMessagedetail", "sTemporaryFileUrl"] + @field_validator('s_error_message') + def s_error_message_validate_regular_expression(cls, value): + """Validates the regular expression""" + if not re.match(r"^.{0,500}$", value): + raise ValueError(r"must validate the regular expression /^.{0,500}$/") + return value + @field_validator('s_temporary_file_url') def s_temporary_file_url_validate_regular_expression(cls, value): """Validates the regular expression""" diff --git a/eZmaxApi/models/common_response_error_too_many_requests.py b/eZmaxApi/models/common_response_error_too_many_requests.py index 97c54a852..e82842d31 100644 --- a/eZmaxApi/models/common_response_error_too_many_requests.py +++ b/eZmaxApi/models/common_response_error_too_many_requests.py @@ -18,19 +18,29 @@ import re # noqa: F401 import json -from pydantic import ConfigDict -from typing import Any, ClassVar, Dict, List -from eZmaxApi.models.common_response_error import CommonResponseError +from pydantic import BaseModel, ConfigDict, Field, StrictStr, field_validator +from typing import Any, ClassVar, Dict, List, Optional +from typing_extensions import Annotated from eZmaxApi.models.field_e_error_code import FieldEErrorCode from typing import Optional, Set from typing_extensions import Self -class CommonResponseErrorTooManyRequests(CommonResponseError): +class CommonResponseErrorTooManyRequests(BaseModel): """ Generic Error Message """ # noqa: E501 + s_error_message: Annotated[str, Field(strict=True)] = Field(description="The message giving details about the error", alias="sErrorMessage") + e_error_code: FieldEErrorCode = Field(alias="eErrorCode") + a_s_error_messagedetail: Optional[List[StrictStr]] = Field(default=None, description="More error message detail", alias="a_sErrorMessagedetail") __properties: ClassVar[List[str]] = ["sErrorMessage", "eErrorCode", "a_sErrorMessagedetail"] + @field_validator('s_error_message') + def s_error_message_validate_regular_expression(cls, value): + """Validates the regular expression""" + if not re.match(r"^.{0,500}$", value): + raise ValueError(r"must validate the regular expression /^.{0,500}$/") + return value + model_config = ConfigDict( populate_by_name=True, validate_assignment=True, diff --git a/eZmaxApi/models/common_response_error_wrong_franchiseoffice.py b/eZmaxApi/models/common_response_error_wrong_franchiseoffice.py index b82708ca8..478edff02 100644 --- a/eZmaxApi/models/common_response_error_wrong_franchiseoffice.py +++ b/eZmaxApi/models/common_response_error_wrong_franchiseoffice.py @@ -18,24 +18,33 @@ import re # noqa: F401 import json -from pydantic import ConfigDict, Field, StrictStr -from typing import Any, ClassVar, Dict, List +from pydantic import BaseModel, ConfigDict, Field, StrictStr, field_validator +from typing import Any, ClassVar, Dict, List, Optional from typing_extensions import Annotated -from eZmaxApi.models.common_response_error import CommonResponseError from eZmaxApi.models.field_e_error_code import FieldEErrorCode from typing import Optional, Set from typing_extensions import Self -class CommonResponseErrorWrongFranchiseoffice(CommonResponseError): +class CommonResponseErrorWrongFranchiseoffice(BaseModel): """ Error Message when a Franchisebroker is not in this Franchiseoffice. """ # noqa: E501 + s_error_message: Annotated[str, Field(strict=True)] = Field(description="The message giving details about the error", alias="sErrorMessage") + e_error_code: FieldEErrorCode = Field(alias="eErrorCode") + a_s_error_messagedetail: Optional[List[StrictStr]] = Field(default=None, description="More error message detail", alias="a_sErrorMessagedetail") fki_franchiseagence_id: Annotated[int, Field(le=65535, strict=True, ge=0)] = Field(description="The unique ID of the Franchiseagence", alias="fkiFranchiseagenceID") s_franchiseagence_name: StrictStr = Field(description="The name of the Franchiseagence", alias="sFranchiseagenceName") fki_franchiseoffice_id: Annotated[int, Field(strict=True, ge=0)] = Field(description="The unique ID of the Franchisereoffice", alias="fkiFranchiseofficeID") i_franchiseoffice_code: StrictStr = Field(description="The code of the Franchiseoffice", alias="iFranchiseofficeCode") __properties: ClassVar[List[str]] = ["sErrorMessage", "eErrorCode", "a_sErrorMessagedetail", "fkiFranchiseagenceID", "sFranchiseagenceName", "fkiFranchiseofficeID", "iFranchiseofficeCode"] + @field_validator('s_error_message') + def s_error_message_validate_regular_expression(cls, value): + """Validates the regular expression""" + if not re.match(r"^.{0,500}$", value): + raise ValueError(r"must validate the regular expression /^.{0,500}$/") + return value + model_config = ConfigDict( populate_by_name=True, validate_assignment=True, diff --git a/eZmaxApi/models/common_response_get_list.py b/eZmaxApi/models/common_response_get_list.py index 90064a29e..780743aab 100644 --- a/eZmaxApi/models/common_response_get_list.py +++ b/eZmaxApi/models/common_response_get_list.py @@ -81,7 +81,18 @@ def to_dict(self) -> Dict[str, Any]: return _dict @classmethod - def from_dict(cls, obj: Dict[str, Any]) -> Optional[Self]: + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: """Create an instance of CommonResponseGetList from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "objDebugPayload": CommonResponseObjDebugPayloadGetList.from_dict(obj["objDebugPayload"]) if obj.get("objDebugPayload") is not None else None, + "objDebug": CommonResponseObjDebug.from_dict(obj["objDebug"]) if obj.get("objDebug") is not None else None + }) + return _obj diff --git a/eZmaxApi/models/common_response_obj_debug_payload.py b/eZmaxApi/models/common_response_obj_debug_payload.py index edb0edf10..453a84339 100644 --- a/eZmaxApi/models/common_response_obj_debug_payload.py +++ b/eZmaxApi/models/common_response_obj_debug_payload.py @@ -76,7 +76,21 @@ def to_dict(self) -> Dict[str, Any]: return _dict @classmethod - def from_dict(cls, obj: Dict[str, Any]) -> Optional[Self]: + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: """Create an instance of CommonResponseObjDebugPayload from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "iVersionMin": obj.get("iVersionMin"), + "iVersionMax": obj.get("iVersionMax"), + "a_RequiredPermission": obj.get("a_RequiredPermission"), + "bVersionDeprecated": obj.get("bVersionDeprecated"), + "dtResponseDate": obj.get("dtResponseDate") + }) + return _obj 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 3d0895f1c..d7988c3fe 100644 --- a/eZmaxApi/models/common_response_obj_debug_payload_get_list.py +++ b/eZmaxApi/models/common_response_obj_debug_payload_get_list.py @@ -18,18 +18,22 @@ import re # noqa: F401 import json -from pydantic import ConfigDict, Field, StrictStr +from pydantic import BaseModel, ConfigDict, Field, StrictBool, StrictInt, StrictStr from typing import Any, ClassVar, Dict, List from typing_extensions import Annotated from eZmaxApi.models.common_response_filter import CommonResponseFilter -from eZmaxApi.models.common_response_obj_debug_payload import CommonResponseObjDebugPayload from typing import Optional, Set from typing_extensions import Self -class CommonResponseObjDebugPayloadGetList(CommonResponseObjDebugPayload): +class CommonResponseObjDebugPayloadGetList(BaseModel): """ This is a debug object containing debugging information on the actual function """ # noqa: E501 + i_version_min: StrictInt = Field(description="The minimum version of the function that can be called", alias="iVersionMin") + i_version_max: StrictInt = Field(description="The maximum version of the function that can be called", alias="iVersionMax") + a_required_permission: List[StrictInt] = Field(description="An array of permissions required to access this function. If the value \"0\" is present in the array, anyone can call this function. You must have one of the permission to access the function. You don't need to have all of them.", alias="a_RequiredPermission") + b_version_deprecated: StrictBool = Field(description="Wheter the current route is deprecated or not", alias="bVersionDeprecated") + dt_response_date: StrictStr = Field(description="Represent a Date Time. The timezone is the one configured in the User's profile.", alias="dtResponseDate") a_filter: CommonResponseFilter = Field(alias="a_Filter") a_order_by: Dict[str, StrictStr] = Field(description="List of available values for *eOrderBy*", alias="a_OrderBy") i_row_max: Annotated[int, Field(le=10000, strict=True, ge=1)] = Field(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.", alias="iRowMax") diff --git a/eZmaxApi/models/common_webhook.py b/eZmaxApi/models/common_webhook.py index 307c82fc4..7fe949b96 100644 --- a/eZmaxApi/models/common_webhook.py +++ b/eZmaxApi/models/common_webhook.py @@ -20,7 +20,7 @@ from pydantic import BaseModel, ConfigDict, Field from typing import Any, ClassVar, Dict, List -from eZmaxApi.models.attempt_response import AttemptResponse +from eZmaxApi.models.attempt_response_compound import AttemptResponseCompound from eZmaxApi.models.custom_webhook_response import CustomWebhookResponse from typing import Optional, Set from typing_extensions import Self @@ -30,7 +30,7 @@ class CommonWebhook(BaseModel): This is the base Webhook object """ # noqa: E501 obj_webhook: CustomWebhookResponse = Field(alias="objWebhook") - a_obj_attempt: List[AttemptResponse] = Field(description="An array containing details of previous attempts that were made to deliver the message. The array is empty if it's the first attempt.", alias="a_objAttempt") + a_obj_attempt: List[AttemptResponseCompound] = Field(description="An array containing details of previous attempts that were made to deliver the message. The array is empty if it's the first attempt.", alias="a_objAttempt") __properties: ClassVar[List[str]] = ["objWebhook", "a_objAttempt"] model_config = ConfigDict( @@ -85,7 +85,18 @@ def to_dict(self) -> Dict[str, Any]: return _dict @classmethod - def from_dict(cls, obj: Dict[str, Any]) -> Optional[Self]: + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: """Create an instance of CommonWebhook from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "objWebhook": CustomWebhookResponse.from_dict(obj["objWebhook"]) if obj.get("objWebhook") is not None else None, + "a_objAttempt": [AttemptResponseCompound.from_dict(_item) for _item in obj["a_objAttempt"]] if obj.get("a_objAttempt") is not None else None + }) + return _obj diff --git a/eZmaxApi/models/communication_request.py b/eZmaxApi/models/communication_request.py index 418afa4fe..b1e1b05fd 100644 --- a/eZmaxApi/models/communication_request.py +++ b/eZmaxApi/models/communication_request.py @@ -108,7 +108,26 @@ def to_dict(self) -> Dict[str, Any]: return _dict @classmethod - def from_dict(cls, obj: Dict[str, Any]) -> Optional[Self]: + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: """Create an instance of CommunicationRequest from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "pkiCommunicationID": obj.get("pkiCommunicationID"), + "eCommunicationImportance": obj.get("eCommunicationImportance"), + "eCommunicationType": obj.get("eCommunicationType"), + "objCommunicationsender": CustomCommunicationsenderRequest.from_dict(obj["objCommunicationsender"]) if obj.get("objCommunicationsender") is not None else None, + "sCommunicationSubject": obj.get("sCommunicationSubject"), + "tCommunicationBody": obj.get("tCommunicationBody"), + "bCommunicationPrivate": obj.get("bCommunicationPrivate"), + "eCommunicationAttachmenttype": obj.get("eCommunicationAttachmenttype"), + "iCommunicationAttachmentlinkexpiration": obj.get("iCommunicationAttachmentlinkexpiration"), + "bCommunicationReadreceipt": obj.get("bCommunicationReadreceipt") + }) + return _obj diff --git a/eZmaxApi/models/communication_request_compound.py b/eZmaxApi/models/communication_request_compound.py index 10950de63..f3ec5374f 100644 --- a/eZmaxApi/models/communication_request_compound.py +++ b/eZmaxApi/models/communication_request_compound.py @@ -18,13 +18,12 @@ import re # noqa: F401 import json -from pydantic import ConfigDict, Field -from typing import Any, ClassVar, Dict, List +from pydantic import BaseModel, ConfigDict, Field, StrictBool, StrictStr, field_validator +from typing import Any, ClassVar, Dict, List, Optional from typing_extensions import Annotated -from eZmaxApi.models.communication_request import CommunicationRequest from eZmaxApi.models.communicationexternalrecipient_request_compound import CommunicationexternalrecipientRequestCompound 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.custom_communicationattachment_request import CustomCommunicationattachmentRequest from eZmaxApi.models.custom_communicationsender_request import CustomCommunicationsenderRequest from eZmaxApi.models.field_e_communication_importance import FieldECommunicationImportance @@ -32,16 +31,46 @@ from typing import Optional, Set from typing_extensions import Self -class CommunicationRequestCompound(CommunicationRequest): +class CommunicationRequestCompound(BaseModel): """ Request for POST /1/object/communication """ # noqa: E501 + pki_communication_id: Optional[Annotated[int, Field(strict=True, ge=0)]] = Field(default=None, description="The unique ID of the Communication.", alias="pkiCommunicationID") + e_communication_importance: Optional[FieldECommunicationImportance] = Field(default=None, alias="eCommunicationImportance") + e_communication_type: FieldECommunicationType = Field(alias="eCommunicationType") + obj_communicationsender: Optional[CustomCommunicationsenderRequest] = Field(default=None, alias="objCommunicationsender") + s_communication_subject: Optional[Annotated[str, Field(strict=True)]] = Field(default=None, description="The subject of the Communication", alias="sCommunicationSubject") + t_communication_body: StrictStr = Field(description="The Body of the Communication", alias="tCommunicationBody") + b_communication_private: StrictBool = Field(description="Whether the Communication is private or not", alias="bCommunicationPrivate") + e_communication_attachmenttype: Optional[StrictStr] = Field(default=None, description="How the attachment should be included in the email. Only used if eCommunicationType is **Email**", alias="eCommunicationAttachmenttype") + i_communication_attachmentlinkexpiration: Optional[Annotated[int, Field(le=30, strict=True, ge=1)]] = Field(default=None, description="The number of days before the attachment link expired. Only used if eCommunicationType is **Email** and eCommunicationattachmentType is **Link**", alias="iCommunicationAttachmentlinkexpiration") + b_communication_readreceipt: Optional[StrictBool] = Field(default=None, description="Whether we ask for a read receipt or not.", alias="bCommunicationReadreceipt") a_obj_communicationattachment: Annotated[List[CustomCommunicationattachmentRequest], Field(min_length=0)] = Field(alias="a_objCommunicationattachment") a_obj_communicationrecipient: Annotated[List[CommunicationrecipientRequestCompound], Field(min_length=0)] = Field(alias="a_objCommunicationrecipient") - a_obj_communicationreference: Annotated[List[CommunicationreferenceRequest], Field(min_length=0)] = Field(alias="a_objCommunicationreference") + a_obj_communicationreference: Annotated[List[CommunicationreferenceRequestCompound], Field(min_length=0)] = Field(alias="a_objCommunicationreference") a_obj_communicationexternalrecipient: Annotated[List[CommunicationexternalrecipientRequestCompound], Field(min_length=0)] = Field(alias="a_objCommunicationexternalrecipient") __properties: ClassVar[List[str]] = ["pkiCommunicationID", "eCommunicationImportance", "eCommunicationType", "objCommunicationsender", "sCommunicationSubject", "tCommunicationBody", "bCommunicationPrivate", "eCommunicationAttachmenttype", "iCommunicationAttachmentlinkexpiration", "bCommunicationReadreceipt", "a_objCommunicationattachment", "a_objCommunicationrecipient", "a_objCommunicationreference", "a_objCommunicationexternalrecipient"] + @field_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,200}$", value): + raise ValueError(r"must validate the regular expression /^.{0,200}$/") + return value + + @field_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 set(['Attachment', 'Url']): + raise ValueError("must be one of enum values ('Attachment', 'Url')") + return value + model_config = ConfigDict( populate_by_name=True, validate_assignment=True, @@ -136,7 +165,7 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: "bCommunicationReadreceipt": obj.get("bCommunicationReadreceipt"), "a_objCommunicationattachment": [CustomCommunicationattachmentRequest.from_dict(_item) for _item in obj["a_objCommunicationattachment"]] if obj.get("a_objCommunicationattachment") is not None else None, "a_objCommunicationrecipient": [CommunicationrecipientRequestCompound.from_dict(_item) for _item in obj["a_objCommunicationrecipient"]] if obj.get("a_objCommunicationrecipient") is not None else None, - "a_objCommunicationreference": [CommunicationreferenceRequest.from_dict(_item) for _item in obj["a_objCommunicationreference"]] if obj.get("a_objCommunicationreference") is not None else None, + "a_objCommunicationreference": [CommunicationreferenceRequestCompound.from_dict(_item) for _item in obj["a_objCommunicationreference"]] if obj.get("a_objCommunicationreference") is not None else None, "a_objCommunicationexternalrecipient": [CommunicationexternalrecipientRequestCompound.from_dict(_item) for _item in obj["a_objCommunicationexternalrecipient"]] if obj.get("a_objCommunicationexternalrecipient") is not None else None }) return _obj diff --git a/eZmaxApi/models/communication_send_v1_response.py b/eZmaxApi/models/communication_send_v1_response.py index 47df17860..3f8191f75 100644 --- a/eZmaxApi/models/communication_send_v1_response.py +++ b/eZmaxApi/models/communication_send_v1_response.py @@ -18,19 +18,20 @@ import re # noqa: F401 import json -from pydantic import ConfigDict, Field -from typing import Any, ClassVar, Dict, List -from eZmaxApi.models.common_response import CommonResponse +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List, Optional from eZmaxApi.models.common_response_obj_debug import CommonResponseObjDebug from eZmaxApi.models.common_response_obj_debug_payload import CommonResponseObjDebugPayload from eZmaxApi.models.communication_send_v1_response_m_payload import CommunicationSendV1ResponseMPayload from typing import Optional, Set from typing_extensions import Self -class CommunicationSendV1Response(CommonResponse): +class CommunicationSendV1Response(BaseModel): """ Response for POST /1/object/communication """ # noqa: E501 + obj_debug_payload: CommonResponseObjDebugPayload = Field(alias="objDebugPayload") + obj_debug: Optional[CommonResponseObjDebug] = Field(default=None, alias="objDebug") m_payload: CommunicationSendV1ResponseMPayload = Field(alias="mPayload") __properties: ClassVar[List[str]] = ["objDebugPayload", "objDebug", "mPayload"] diff --git a/eZmaxApi/models/communicationattachment_request.py b/eZmaxApi/models/communicationattachment_request.py index 1aa3e464f..de01dfac0 100644 --- a/eZmaxApi/models/communicationattachment_request.py +++ b/eZmaxApi/models/communicationattachment_request.py @@ -76,7 +76,20 @@ def to_dict(self) -> Dict[str, Any]: return _dict @classmethod - def from_dict(cls, obj: Dict[str, Any]) -> Optional[Self]: + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: """Create an instance of CommunicationattachmentRequest from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "pkiCommunicationattachmentID": obj.get("pkiCommunicationattachmentID"), + "fkiAttachmentID": obj.get("fkiAttachmentID"), + "fkiInvoiceID": obj.get("fkiInvoiceID"), + "fkiSalarypreparationID": obj.get("fkiSalarypreparationID") + }) + return _obj diff --git a/eZmaxApi/models/communicationattachment_request_compound.py b/eZmaxApi/models/communicationattachment_request_compound.py index e32985d76..9eebb133d 100644 --- a/eZmaxApi/models/communicationattachment_request_compound.py +++ b/eZmaxApi/models/communicationattachment_request_compound.py @@ -18,16 +18,20 @@ import re # noqa: F401 import json -from pydantic import ConfigDict -from typing import Any, ClassVar, Dict, List -from eZmaxApi.models.communicationattachment_request import CommunicationattachmentRequest +from pydantic import BaseModel, ConfigDict, Field, StrictInt +from typing import Any, ClassVar, Dict, List, Optional +from typing_extensions import Annotated from typing import Optional, Set from typing_extensions import Self -class CommunicationattachmentRequestCompound(CommunicationattachmentRequest): +class CommunicationattachmentRequestCompound(BaseModel): """ A Communicationattachment Object and children """ # noqa: E501 + pki_communicationattachment_id: Optional[StrictInt] = Field(default=None, description="The unique ID of the Communicationattachment", alias="pkiCommunicationattachmentID") + fki_attachment_id: Optional[Annotated[int, Field(strict=True, ge=0)]] = Field(default=None, description="The unique ID of the Attachment.", alias="fkiAttachmentID") + fki_invoice_id: Optional[Annotated[int, Field(strict=True, ge=0)]] = Field(default=None, description="The unique ID of the Invoice.", alias="fkiInvoiceID") + fki_salarypreparation_id: Optional[Annotated[int, Field(strict=True, ge=0)]] = Field(default=None, description="The unique ID of the Salarypreparation.", alias="fkiSalarypreparationID") __properties: ClassVar[List[str]] = ["pkiCommunicationattachmentID", "fkiAttachmentID", "fkiInvoiceID", "fkiSalarypreparationID"] model_config = ConfigDict( diff --git a/eZmaxApi/models/communicationexternalrecipient_request.py b/eZmaxApi/models/communicationexternalrecipient_request.py index 68355a608..346e78da4 100644 --- a/eZmaxApi/models/communicationexternalrecipient_request.py +++ b/eZmaxApi/models/communicationexternalrecipient_request.py @@ -108,7 +108,21 @@ def to_dict(self) -> Dict[str, Any]: return _dict @classmethod - def from_dict(cls, obj: Dict[str, Any]) -> Optional[Self]: + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: """Create an instance of CommunicationexternalrecipientRequest from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "pkiCommunicationexternalrecipientID": obj.get("pkiCommunicationexternalrecipientID"), + "sEmailAddress": obj.get("sEmailAddress"), + "sPhoneE164": obj.get("sPhoneE164"), + "eCommunicationexternalrecipientType": obj.get("eCommunicationexternalrecipientType"), + "sCommunicationexternalrecipientName": obj.get("sCommunicationexternalrecipientName") + }) + return _obj diff --git a/eZmaxApi/models/communicationexternalrecipient_request_compound.py b/eZmaxApi/models/communicationexternalrecipient_request_compound.py index f33c5c934..9e0d0d1b1 100644 --- a/eZmaxApi/models/communicationexternalrecipient_request_compound.py +++ b/eZmaxApi/models/communicationexternalrecipient_request_compound.py @@ -18,19 +18,54 @@ import re # noqa: F401 import json -from pydantic import ConfigDict -from typing import Any, ClassVar, Dict, List -from eZmaxApi.models.communicationexternalrecipient_request import CommunicationexternalrecipientRequest +from pydantic import BaseModel, ConfigDict, Field, StrictInt, field_validator +from typing import Any, ClassVar, Dict, List, Optional +from typing_extensions import Annotated from eZmaxApi.models.field_e_communicationexternalrecipient_type import FieldECommunicationexternalrecipientType from typing import Optional, Set from typing_extensions import Self -class CommunicationexternalrecipientRequestCompound(CommunicationexternalrecipientRequest): +class CommunicationexternalrecipientRequestCompound(BaseModel): """ A Communicationexternalrecipient Object and children """ # noqa: E501 + pki_communicationexternalrecipient_id: Optional[StrictInt] = Field(default=None, description="The unique ID of the Communicationexternalrecipient", alias="pkiCommunicationexternalrecipientID") + s_email_address: Optional[Annotated[str, Field(strict=True)]] = Field(default=None, description="The email address.", alias="sEmailAddress") + s_phone_e164: Optional[Annotated[str, Field(strict=True)]] = Field(default=None, description="A phone number in E.164 Format", alias="sPhoneE164") + e_communicationexternalrecipient_type: Optional[FieldECommunicationexternalrecipientType] = Field(default=None, alias="eCommunicationexternalrecipientType") + s_communicationexternalrecipient_name: Optional[Annotated[str, Field(strict=True)]] = Field(default=None, description="The name of the Communicationexternalrecipient", alias="sCommunicationexternalrecipientName") __properties: ClassVar[List[str]] = ["pkiCommunicationexternalrecipientID", "sEmailAddress", "sPhoneE164", "eCommunicationexternalrecipientType", "sCommunicationexternalrecipientName"] + @field_validator('s_email_address') + def s_email_address_validate_regular_expression(cls, value): + """Validates the regular expression""" + if value is None: + return value + + if not re.match(r"^[\w.%+\-!#$%&\'*+\/=?^`{|}~]+@[a-zA-Z0-9.-]+\.[a-zA-Z]{2,20}$", value): + raise ValueError(r"must validate the regular expression /^[\w.%+\-!#$%&'*+\/=?^`{|}~]+@[a-zA-Z0-9.-]+\.[a-zA-Z]{2,20}$/") + return value + + @field_validator('s_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 + + @field_validator('s_communicationexternalrecipient_name') + def s_communicationexternalrecipient_name_validate_regular_expression(cls, value): + """Validates the regular expression""" + if value is None: + return value + + if not re.match(r"^.{0,50}$", value): + raise ValueError(r"must validate the regular expression /^.{0,50}$/") + return value + model_config = ConfigDict( populate_by_name=True, validate_assignment=True, diff --git a/eZmaxApi/models/communicationrecipient_request.py b/eZmaxApi/models/communicationrecipient_request.py index 4eb1212cb..c6db9f880 100644 --- a/eZmaxApi/models/communicationrecipient_request.py +++ b/eZmaxApi/models/communicationrecipient_request.py @@ -88,7 +88,31 @@ def to_dict(self) -> Dict[str, Any]: return _dict @classmethod - def from_dict(cls, obj: Dict[str, Any]) -> Optional[Self]: + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: """Create an instance of CommunicationrecipientRequest from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "pkiCommunicationrecipientID": obj.get("pkiCommunicationrecipientID"), + "fkiAgentID": obj.get("fkiAgentID"), + "fkiBrokerID": obj.get("fkiBrokerID"), + "fkiContactID": obj.get("fkiContactID"), + "fkiCustomerID": obj.get("fkiCustomerID"), + "fkiEmployeeID": obj.get("fkiEmployeeID"), + "fkiAssistantID": obj.get("fkiAssistantID"), + "fkiExternalbrokerID": obj.get("fkiExternalbrokerID"), + "fkiEzsignsignerID": obj.get("fkiEzsignsignerID"), + "fkiNotaryID": obj.get("fkiNotaryID"), + "fkiSupplierID": obj.get("fkiSupplierID"), + "fkiUserID": obj.get("fkiUserID"), + "fkiMailboxsharedID": obj.get("fkiMailboxsharedID"), + "fkiPhonelinesharedID": obj.get("fkiPhonelinesharedID"), + "eCommunicationrecipientType": obj.get("eCommunicationrecipientType") + }) + return _obj diff --git a/eZmaxApi/models/communicationrecipient_request_compound.py b/eZmaxApi/models/communicationrecipient_request_compound.py index 88b2d2e28..9f19093d2 100644 --- a/eZmaxApi/models/communicationrecipient_request_compound.py +++ b/eZmaxApi/models/communicationrecipient_request_compound.py @@ -18,17 +18,32 @@ import re # noqa: F401 import json -from pydantic import ConfigDict -from typing import Any, ClassVar, Dict, List -from eZmaxApi.models.communicationrecipient_request import CommunicationrecipientRequest +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List, Optional +from typing_extensions import Annotated from eZmaxApi.models.field_e_communicationrecipient_type import FieldECommunicationrecipientType from typing import Optional, Set from typing_extensions import Self -class CommunicationrecipientRequestCompound(CommunicationrecipientRequest): +class CommunicationrecipientRequestCompound(BaseModel): """ A Communicationrecipient Object and children """ # noqa: E501 + pki_communicationrecipient_id: Optional[Annotated[int, Field(strict=True, ge=0)]] = Field(default=None, description="The unique ID of the Communicationrecipient.", alias="pkiCommunicationrecipientID") + fki_agent_id: Optional[Annotated[int, Field(strict=True, ge=0)]] = Field(default=None, description="The unique ID of the Agent.", alias="fkiAgentID") + fki_broker_id: Optional[Annotated[int, Field(strict=True, ge=0)]] = Field(default=None, description="The unique ID of the Broker.", alias="fkiBrokerID") + fki_contact_id: Optional[Annotated[int, Field(strict=True, ge=0)]] = Field(default=None, description="The unique ID of the Contact", alias="fkiContactID") + fki_customer_id: Optional[Annotated[int, Field(strict=True, ge=0)]] = Field(default=None, description="The unique ID of the Customer.", alias="fkiCustomerID") + fki_employee_id: Optional[Annotated[int, Field(strict=True, ge=0)]] = Field(default=None, description="The unique ID of the Employee.", alias="fkiEmployeeID") + fki_assistant_id: Optional[Annotated[int, Field(strict=True, ge=0)]] = Field(default=None, description="The unique ID of the Assistant.", alias="fkiAssistantID") + fki_externalbroker_id: Optional[Annotated[int, Field(strict=True, ge=0)]] = Field(default=None, description="The unique ID of the Externalbroker.", alias="fkiExternalbrokerID") + fki_ezsignsigner_id: Optional[Annotated[int, Field(strict=True, ge=0)]] = Field(default=None, description="The unique ID of the Ezsignsigner", alias="fkiEzsignsignerID") + fki_notary_id: Optional[Annotated[int, Field(strict=True, ge=0)]] = Field(default=None, description="The unique ID of the Notary.", alias="fkiNotaryID") + fki_supplier_id: Optional[Annotated[int, Field(strict=True, ge=0)]] = Field(default=None, description="The unique ID of the Supplier.", alias="fkiSupplierID") + fki_user_id: Optional[Annotated[int, Field(strict=True, ge=0)]] = Field(default=None, description="The unique ID of the User", alias="fkiUserID") + fki_mailboxshared_id: Optional[Annotated[int, Field(le=255, strict=True, ge=0)]] = Field(default=None, description="The unique ID of the Mailboxshared", alias="fkiMailboxsharedID") + fki_phonelineshared_id: Optional[Annotated[int, Field(le=255, strict=True, ge=0)]] = Field(default=None, description="The unique ID of the Phonelineshared", alias="fkiPhonelinesharedID") + e_communicationrecipient_type: Optional[FieldECommunicationrecipientType] = Field(default=None, alias="eCommunicationrecipientType") __properties: ClassVar[List[str]] = ["pkiCommunicationrecipientID", "fkiAgentID", "fkiBrokerID", "fkiContactID", "fkiCustomerID", "fkiEmployeeID", "fkiAssistantID", "fkiExternalbrokerID", "fkiEzsignsignerID", "fkiNotaryID", "fkiSupplierID", "fkiUserID", "fkiMailboxsharedID", "fkiPhonelinesharedID", "eCommunicationrecipientType"] model_config = ConfigDict( diff --git a/eZmaxApi/models/company_get_autocomplete_v2_response.py b/eZmaxApi/models/company_get_autocomplete_v2_response.py index 641f998c2..c87b2cb98 100644 --- a/eZmaxApi/models/company_get_autocomplete_v2_response.py +++ b/eZmaxApi/models/company_get_autocomplete_v2_response.py @@ -18,19 +18,20 @@ import re # noqa: F401 import json -from pydantic import ConfigDict, Field -from typing import Any, ClassVar, Dict, List -from eZmaxApi.models.common_response import CommonResponse +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List, Optional from eZmaxApi.models.common_response_obj_debug import CommonResponseObjDebug from eZmaxApi.models.common_response_obj_debug_payload import CommonResponseObjDebugPayload from eZmaxApi.models.company_get_autocomplete_v2_response_m_payload import CompanyGetAutocompleteV2ResponseMPayload from typing import Optional, Set from typing_extensions import Self -class CompanyGetAutocompleteV2Response(CommonResponse): +class CompanyGetAutocompleteV2Response(BaseModel): """ Response for GET /2/object/company/getAutocomplete """ # noqa: E501 + obj_debug_payload: CommonResponseObjDebugPayload = Field(alias="objDebugPayload") + obj_debug: Optional[CommonResponseObjDebug] = Field(default=None, alias="objDebug") m_payload: CompanyGetAutocompleteV2ResponseMPayload = Field(alias="mPayload") __properties: ClassVar[List[str]] = ["objDebugPayload", "objDebug", "mPayload"] diff --git a/eZmaxApi/models/contact_request.py b/eZmaxApi/models/contact_request.py index a256c4bd0..ec65bbc11 100644 --- a/eZmaxApi/models/contact_request.py +++ b/eZmaxApi/models/contact_request.py @@ -78,7 +78,22 @@ def to_dict(self) -> Dict[str, Any]: return _dict @classmethod - def from_dict(cls, obj: Dict[str, Any]) -> Optional[Self]: + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: """Create an instance of ContactRequest from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "fkiContacttitleID": obj.get("fkiContacttitleID"), + "fkiLanguageID": obj.get("fkiLanguageID"), + "sContactFirstname": obj.get("sContactFirstname"), + "sContactLastname": obj.get("sContactLastname"), + "sContactCompany": obj.get("sContactCompany"), + "dtContactBirthdate": obj.get("dtContactBirthdate") + }) + return _obj diff --git a/eZmaxApi/models/contact_request_compound.py b/eZmaxApi/models/contact_request_compound.py index e2499a839..53c99b676 100644 --- a/eZmaxApi/models/contact_request_compound.py +++ b/eZmaxApi/models/contact_request_compound.py @@ -18,17 +18,23 @@ import re # noqa: F401 import json -from pydantic import ConfigDict, Field -from typing import Any, ClassVar, Dict, List -from eZmaxApi.models.contact_request import ContactRequest +from pydantic import BaseModel, ConfigDict, Field, StrictStr +from typing import Any, ClassVar, Dict, List, Optional +from typing_extensions import Annotated from eZmaxApi.models.contactinformations_request_compound import ContactinformationsRequestCompound from typing import Optional, Set from typing_extensions import Self -class ContactRequestCompound(ContactRequest): +class ContactRequestCompound(BaseModel): """ A Contact Object and children to create a complete structure """ # noqa: E501 + fki_contacttitle_id: Annotated[int, Field(strict=True, ge=0)] = Field(description="The unique ID of the Contacttitle. Valid values: |Value|Description| |-|-| |1|Ms.| |2|Mr.| |4|(Blank)| |5|Me (For Notaries)|", alias="fkiContacttitleID") + fki_language_id: Annotated[int, Field(le=2, strict=True, ge=1)] = Field(description="The unique ID of the Language. Valid values: |Value|Description| |-|-| |1|French| |2|English|", alias="fkiLanguageID") + s_contact_firstname: StrictStr = Field(description="The First name of the contact", alias="sContactFirstname") + s_contact_lastname: StrictStr = Field(description="The Last name of the contact", alias="sContactLastname") + s_contact_company: StrictStr = Field(description="The Company name of the contact", alias="sContactCompany") + dt_contact_birthdate: Optional[StrictStr] = Field(default=None, description="The Birth Date of the contact", alias="dtContactBirthdate") obj_contactinformations: ContactinformationsRequestCompound = Field(alias="objContactinformations") __properties: ClassVar[List[str]] = ["fkiContacttitleID", "fkiLanguageID", "sContactFirstname", "sContactLastname", "sContactCompany", "dtContactBirthdate", "objContactinformations"] diff --git a/eZmaxApi/models/contact_request_compound_v2.py b/eZmaxApi/models/contact_request_compound_v2.py index 2b89b4ac3..62c82c339 100644 --- a/eZmaxApi/models/contact_request_compound_v2.py +++ b/eZmaxApi/models/contact_request_compound_v2.py @@ -18,21 +18,51 @@ import re # noqa: F401 import json -from pydantic import ConfigDict, Field -from typing import Any, ClassVar, Dict, List -from eZmaxApi.models.contact_request_v2 import ContactRequestV2 +from pydantic import BaseModel, ConfigDict, Field, StrictBool, StrictStr, field_validator +from typing import Any, ClassVar, Dict, List, Optional +from typing_extensions import Annotated from eZmaxApi.models.contactinformations_request_compound_v2 import ContactinformationsRequestCompoundV2 from eZmaxApi.models.field_e_contact_type import FieldEContactType from typing import Optional, Set from typing_extensions import Self -class ContactRequestCompoundV2(ContactRequestV2): +class ContactRequestCompoundV2(BaseModel): """ A Contact Object and children to create a complete structure """ # noqa: E501 + fki_contacttitle_id: Annotated[int, Field(strict=True, ge=0)] = Field(description="The unique ID of the Contacttitle. Valid values: |Value|Description| |-|-| |1|Ms.| |2|Mr.| |4|(Blank)| |5|Me (For Notaries)|", alias="fkiContacttitleID") + fki_language_id: Annotated[int, Field(le=2, strict=True, ge=1)] = Field(description="The unique ID of the Language. Valid values: |Value|Description| |-|-| |1|French| |2|English|", alias="fkiLanguageID") + e_contact_type: FieldEContactType = Field(alias="eContactType") + s_contact_firstname: StrictStr = Field(description="The First name of the contact", alias="sContactFirstname") + s_contact_lastname: StrictStr = Field(description="The Last name of the contact", alias="sContactLastname") + s_contact_company: Optional[StrictStr] = Field(default=None, description="The Company name of the contact", alias="sContactCompany") + dt_contact_birthdate: Optional[StrictStr] = Field(default=None, description="The Birth Date of the contact", alias="dtContactBirthdate") + s_contact_occupation: Optional[Annotated[str, Field(strict=True)]] = Field(default=None, description="The occupation of the Contact", alias="sContactOccupation") + t_contact_note: Optional[Annotated[str, Field(strict=True)]] = Field(default=None, description="The note of the Contact", alias="tContactNote") + b_contact_isactive: Optional[StrictBool] = Field(default=None, description="Whether the contact is active or not", alias="bContactIsactive") obj_contactinformations: ContactinformationsRequestCompoundV2 = Field(alias="objContactinformations") __properties: ClassVar[List[str]] = ["fkiContacttitleID", "fkiLanguageID", "eContactType", "sContactFirstname", "sContactLastname", "sContactCompany", "dtContactBirthdate", "sContactOccupation", "tContactNote", "bContactIsactive", "objContactinformations"] + @field_validator('s_contact_occupation') + def s_contact_occupation_validate_regular_expression(cls, value): + """Validates the regular expression""" + if value is None: + return value + + if not re.match(r"^.{0,50}$", value): + raise ValueError(r"must validate the regular expression /^.{0,50}$/") + return value + + @field_validator('t_contact_note') + def t_contact_note_validate_regular_expression(cls, value): + """Validates the regular expression""" + if value is None: + return value + + if not re.match(r"^.{0,32000}$", value): + raise ValueError(r"must validate the regular expression /^.{0,32000}$/") + return value + model_config = ConfigDict( populate_by_name=True, validate_assignment=True, diff --git a/eZmaxApi/models/contact_request_v2.py b/eZmaxApi/models/contact_request_v2.py index be174f26c..71d4e10b2 100644 --- a/eZmaxApi/models/contact_request_v2.py +++ b/eZmaxApi/models/contact_request_v2.py @@ -108,7 +108,27 @@ def to_dict(self) -> Dict[str, Any]: return _dict @classmethod - def from_dict(cls, obj: Dict[str, Any]) -> Optional[Self]: + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: """Create an instance of ContactRequestV2 from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "fkiContacttitleID": obj.get("fkiContacttitleID"), + "fkiLanguageID": obj.get("fkiLanguageID"), + "eContactType": obj.get("eContactType"), + "sContactFirstname": obj.get("sContactFirstname"), + "sContactLastname": obj.get("sContactLastname"), + "sContactCompany": obj.get("sContactCompany"), + "dtContactBirthdate": obj.get("dtContactBirthdate"), + "sContactOccupation": obj.get("sContactOccupation"), + "tContactNote": obj.get("tContactNote"), + "bContactIsactive": obj.get("bContactIsactive"), + "objContactinformations": ContactinformationsRequestCompound.from_dict(obj["objContactinformations"]) if obj.get("objContactinformations") is not None else None + }) + return _obj diff --git a/eZmaxApi/models/contact_response.py b/eZmaxApi/models/contact_response.py index 0df7daa6d..3d900c770 100644 --- a/eZmaxApi/models/contact_response.py +++ b/eZmaxApi/models/contact_response.py @@ -110,7 +110,29 @@ def to_dict(self) -> Dict[str, Any]: return _dict @classmethod - def from_dict(cls, obj: Dict[str, Any]) -> Optional[Self]: + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: """Create an instance of ContactResponse from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "pkiContactID": obj.get("pkiContactID"), + "fkiLanguageID": obj.get("fkiLanguageID"), + "fkiContacttitleID": obj.get("fkiContacttitleID"), + "fkiContactinformationsID": obj.get("fkiContactinformationsID"), + "dtContactBirthdate": obj.get("dtContactBirthdate"), + "eContactType": obj.get("eContactType"), + "sContactFirstname": obj.get("sContactFirstname"), + "sContactLastname": obj.get("sContactLastname"), + "sContactCompany": obj.get("sContactCompany"), + "sContactOccupation": obj.get("sContactOccupation"), + "tContactNote": obj.get("tContactNote"), + "bContactIsactive": obj.get("bContactIsactive"), + "objContactinformations": ContactinformationsResponseCompound.from_dict(obj["objContactinformations"]) if obj.get("objContactinformations") is not None else None + }) + return _obj diff --git a/eZmaxApi/models/contact_response_compound.py b/eZmaxApi/models/contact_response_compound.py index 05e4de7a4..72b06e029 100644 --- a/eZmaxApi/models/contact_response_compound.py +++ b/eZmaxApi/models/contact_response_compound.py @@ -18,20 +18,53 @@ import re # noqa: F401 import json -from pydantic import ConfigDict -from typing import Any, ClassVar, Dict, List -from eZmaxApi.models.contact_response import ContactResponse +from pydantic import BaseModel, ConfigDict, Field, StrictBool, StrictStr, field_validator +from typing import Any, ClassVar, Dict, List, Optional +from typing_extensions import Annotated from eZmaxApi.models.contactinformations_response_compound import ContactinformationsResponseCompound from eZmaxApi.models.field_e_contact_type import FieldEContactType from typing import Optional, Set from typing_extensions import Self -class ContactResponseCompound(ContactResponse): +class ContactResponseCompound(BaseModel): """ A Contact Object """ # noqa: E501 + pki_contact_id: Annotated[int, Field(strict=True, ge=0)] = Field(description="The unique ID of the Contact", alias="pkiContactID") + fki_language_id: Annotated[int, Field(le=2, strict=True, ge=1)] = Field(description="The unique ID of the Language. Valid values: |Value|Description| |-|-| |1|French| |2|English|", alias="fkiLanguageID") + fki_contacttitle_id: Annotated[int, Field(strict=True, ge=0)] = Field(description="The unique ID of the Contacttitle. Valid values: |Value|Description| |-|-| |1|Ms.| |2|Mr.| |4|(Blank)| |5|Me (For Notaries)|", alias="fkiContacttitleID") + fki_contactinformations_id: Annotated[int, Field(le=16777215, strict=True, ge=0)] = Field(description="The unique ID of the Contactinformations", alias="fkiContactinformationsID") + dt_contact_birthdate: Optional[StrictStr] = Field(default=None, description="The Birth Date of the contact", alias="dtContactBirthdate") + e_contact_type: FieldEContactType = Field(alias="eContactType") + s_contact_firstname: StrictStr = Field(description="The First name of the contact", alias="sContactFirstname") + s_contact_lastname: StrictStr = Field(description="The Last name of the contact", alias="sContactLastname") + s_contact_company: Optional[StrictStr] = Field(default=None, description="The Company name of the contact", alias="sContactCompany") + s_contact_occupation: Optional[Annotated[str, Field(strict=True)]] = Field(default=None, description="The occupation of the Contact", alias="sContactOccupation") + t_contact_note: Optional[Annotated[str, Field(strict=True)]] = Field(default=None, description="The note of the Contact", alias="tContactNote") + b_contact_isactive: StrictBool = Field(description="Whether the contact is active or not", alias="bContactIsactive") + obj_contactinformations: ContactinformationsResponseCompound = Field(alias="objContactinformations") __properties: ClassVar[List[str]] = ["pkiContactID", "fkiLanguageID", "fkiContacttitleID", "fkiContactinformationsID", "dtContactBirthdate", "eContactType", "sContactFirstname", "sContactLastname", "sContactCompany", "sContactOccupation", "tContactNote", "bContactIsactive", "objContactinformations"] + @field_validator('s_contact_occupation') + def s_contact_occupation_validate_regular_expression(cls, value): + """Validates the regular expression""" + if value is None: + return value + + if not re.match(r"^.{0,50}$", value): + raise ValueError(r"must validate the regular expression /^.{0,50}$/") + return value + + @field_validator('t_contact_note') + def t_contact_note_validate_regular_expression(cls, value): + """Validates the regular expression""" + if value is None: + return value + + if not re.match(r"^.{0,32000}$", value): + raise ValueError(r"must validate the regular expression /^.{0,32000}$/") + return value + model_config = ConfigDict( populate_by_name=True, validate_assignment=True, diff --git a/eZmaxApi/models/contactinformations_request.py b/eZmaxApi/models/contactinformations_request.py index 32028a779..b6119a6e1 100644 --- a/eZmaxApi/models/contactinformations_request.py +++ b/eZmaxApi/models/contactinformations_request.py @@ -75,7 +75,20 @@ def to_dict(self) -> Dict[str, Any]: return _dict @classmethod - def from_dict(cls, obj: Dict[str, Any]) -> Optional[Self]: + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: """Create an instance of ContactinformationsRequest from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "iAddressDefault": obj.get("iAddressDefault"), + "iPhoneDefault": obj.get("iPhoneDefault"), + "iEmailDefault": obj.get("iEmailDefault"), + "iWebsiteDefault": obj.get("iWebsiteDefault") + }) + return _obj diff --git a/eZmaxApi/models/contactinformations_request_compound.py b/eZmaxApi/models/contactinformations_request_compound.py index 9b3562eaa..6e4cd3b4f 100644 --- a/eZmaxApi/models/contactinformations_request_compound.py +++ b/eZmaxApi/models/contactinformations_request_compound.py @@ -18,24 +18,27 @@ import re # noqa: F401 import json -from pydantic import ConfigDict, Field +from pydantic import BaseModel, ConfigDict, Field, StrictInt from typing import Any, ClassVar, Dict, List -from eZmaxApi.models.address_request import AddressRequest -from eZmaxApi.models.contactinformations_request import ContactinformationsRequest -from eZmaxApi.models.email_request import EmailRequest -from eZmaxApi.models.phone_request import PhoneRequest -from eZmaxApi.models.website_request import WebsiteRequest +from eZmaxApi.models.address_request_compound import AddressRequestCompound +from eZmaxApi.models.email_request_compound import EmailRequestCompound +from eZmaxApi.models.phone_request_compound import PhoneRequestCompound +from eZmaxApi.models.website_request_compound import WebsiteRequestCompound from typing import Optional, Set from typing_extensions import Self -class ContactinformationsRequestCompound(ContactinformationsRequest): +class ContactinformationsRequestCompound(BaseModel): """ A Contactinformations Object and children to create a complete structure """ # noqa: E501 - a_obj_address: List[AddressRequest] = Field(alias="a_objAddress") - a_obj_phone: List[PhoneRequest] = Field(alias="a_objPhone") - a_obj_email: List[EmailRequest] = Field(alias="a_objEmail") - a_obj_website: List[WebsiteRequest] = Field(alias="a_objWebsite") + i_address_default: StrictInt = Field(description="The index in the a_objAddress array (zero based index) representing the Address object that should become the default one. You can leave the value to 0 if the array is empty.", alias="iAddressDefault") + i_phone_default: StrictInt = Field(description="The index in the a_objPhone array (zero based index) representing the Phone object that should become the default one. You can leave the value to 0 if the array is empty.", alias="iPhoneDefault") + i_email_default: StrictInt = Field(description="The index in the a_objEmail array (zero based index) representing the Email object that should become the default one. You can leave the value to 0 if the array is empty.", alias="iEmailDefault") + i_website_default: StrictInt = Field(description="The index in the a_objWebsite array (zero based index) representing the Website object that should become the default one. You can leave the value to 0 if the array is empty.", alias="iWebsiteDefault") + a_obj_address: List[AddressRequestCompound] = Field(alias="a_objAddress") + a_obj_phone: List[PhoneRequestCompound] = Field(alias="a_objPhone") + a_obj_email: List[EmailRequestCompound] = Field(alias="a_objEmail") + a_obj_website: List[WebsiteRequestCompound] = Field(alias="a_objWebsite") __properties: ClassVar[List[str]] = ["iAddressDefault", "iPhoneDefault", "iEmailDefault", "iWebsiteDefault", "a_objAddress", "a_objPhone", "a_objEmail", "a_objWebsite"] model_config = ConfigDict( @@ -121,10 +124,10 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: "iPhoneDefault": obj.get("iPhoneDefault"), "iEmailDefault": obj.get("iEmailDefault"), "iWebsiteDefault": obj.get("iWebsiteDefault"), - "a_objAddress": [AddressRequest.from_dict(_item) for _item in obj["a_objAddress"]] if obj.get("a_objAddress") is not None else None, - "a_objPhone": [PhoneRequest.from_dict(_item) for _item in obj["a_objPhone"]] if obj.get("a_objPhone") is not None else None, - "a_objEmail": [EmailRequest.from_dict(_item) for _item in obj["a_objEmail"]] if obj.get("a_objEmail") is not None else None, - "a_objWebsite": [WebsiteRequest.from_dict(_item) for _item in obj["a_objWebsite"]] if obj.get("a_objWebsite") is not None else None + "a_objAddress": [AddressRequestCompound.from_dict(_item) for _item in obj["a_objAddress"]] if obj.get("a_objAddress") is not None else None, + "a_objPhone": [PhoneRequestCompound.from_dict(_item) for _item in obj["a_objPhone"]] if obj.get("a_objPhone") is not None else None, + "a_objEmail": [EmailRequestCompound.from_dict(_item) for _item in obj["a_objEmail"]] if obj.get("a_objEmail") is not None else None, + "a_objWebsite": [WebsiteRequestCompound.from_dict(_item) for _item in obj["a_objWebsite"]] if obj.get("a_objWebsite") is not None else None }) return _obj diff --git a/eZmaxApi/models/contactinformations_request_compound_v2.py b/eZmaxApi/models/contactinformations_request_compound_v2.py index 6f12f21b5..4e9b1effb 100644 --- a/eZmaxApi/models/contactinformations_request_compound_v2.py +++ b/eZmaxApi/models/contactinformations_request_compound_v2.py @@ -18,25 +18,29 @@ import re # noqa: F401 import json -from pydantic import ConfigDict, Field +from pydantic import BaseModel, ConfigDict, Field, StrictInt from typing import Any, ClassVar, Dict, List -from eZmaxApi.models.address_request import AddressRequest -from eZmaxApi.models.contactinformations_request_v2 import ContactinformationsRequestV2 -from eZmaxApi.models.email_request import EmailRequest +from eZmaxApi.models.address_request_compound import AddressRequestCompound +from eZmaxApi.models.email_request_compound import EmailRequestCompound from eZmaxApi.models.field_e_contactinformations_type import FieldEContactinformationsType -from eZmaxApi.models.phone_request import PhoneRequest -from eZmaxApi.models.website_request import WebsiteRequest +from eZmaxApi.models.phone_request_compound import PhoneRequestCompound +from eZmaxApi.models.website_request_compound import WebsiteRequestCompound from typing import Optional, Set from typing_extensions import Self -class ContactinformationsRequestCompoundV2(ContactinformationsRequestV2): +class ContactinformationsRequestCompoundV2(BaseModel): """ A Contactinformations Object and children to create a complete structure """ # noqa: E501 - a_obj_address: List[AddressRequest] = Field(alias="a_objAddress") - a_obj_phone: List[PhoneRequest] = Field(alias="a_objPhone") - a_obj_email: List[EmailRequest] = Field(alias="a_objEmail") - a_obj_website: List[WebsiteRequest] = Field(alias="a_objWebsite") + e_contactinformations_type: FieldEContactinformationsType = Field(alias="eContactinformationsType") + i_address_default: StrictInt = Field(description="The index in the a_objAddress array (zero based index) representing the Address object that should become the default one. You can leave the value to 0 if the array is empty.", alias="iAddressDefault") + i_phone_default: StrictInt = Field(description="The index in the a_objPhone array (zero based index) representing the Phone object that should become the default one. You can leave the value to 0 if the array is empty.", alias="iPhoneDefault") + i_email_default: StrictInt = Field(description="The index in the a_objEmail array (zero based index) representing the Email object that should become the default one. You can leave the value to 0 if the array is empty.", alias="iEmailDefault") + i_website_default: StrictInt = Field(description="The index in the a_objWebsite array (zero based index) representing the Website object that should become the default one. You can leave the value to 0 if the array is empty.", alias="iWebsiteDefault") + a_obj_address: List[AddressRequestCompound] = Field(alias="a_objAddress") + a_obj_phone: List[PhoneRequestCompound] = Field(alias="a_objPhone") + a_obj_email: List[EmailRequestCompound] = Field(alias="a_objEmail") + a_obj_website: List[WebsiteRequestCompound] = Field(alias="a_objWebsite") __properties: ClassVar[List[str]] = ["eContactinformationsType", "iAddressDefault", "iPhoneDefault", "iEmailDefault", "iWebsiteDefault", "a_objAddress", "a_objPhone", "a_objEmail", "a_objWebsite"] model_config = ConfigDict( @@ -123,10 +127,10 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: "iPhoneDefault": obj.get("iPhoneDefault"), "iEmailDefault": obj.get("iEmailDefault"), "iWebsiteDefault": obj.get("iWebsiteDefault"), - "a_objAddress": [AddressRequest.from_dict(_item) for _item in obj["a_objAddress"]] if obj.get("a_objAddress") is not None else None, - "a_objPhone": [PhoneRequest.from_dict(_item) for _item in obj["a_objPhone"]] if obj.get("a_objPhone") is not None else None, - "a_objEmail": [EmailRequest.from_dict(_item) for _item in obj["a_objEmail"]] if obj.get("a_objEmail") is not None else None, - "a_objWebsite": [WebsiteRequest.from_dict(_item) for _item in obj["a_objWebsite"]] if obj.get("a_objWebsite") is not None else None + "a_objAddress": [AddressRequestCompound.from_dict(_item) for _item in obj["a_objAddress"]] if obj.get("a_objAddress") is not None else None, + "a_objPhone": [PhoneRequestCompound.from_dict(_item) for _item in obj["a_objPhone"]] if obj.get("a_objPhone") is not None else None, + "a_objEmail": [EmailRequestCompound.from_dict(_item) for _item in obj["a_objEmail"]] if obj.get("a_objEmail") is not None else None, + "a_objWebsite": [WebsiteRequestCompound.from_dict(_item) for _item in obj["a_objWebsite"]] if obj.get("a_objWebsite") is not None else None }) return _obj diff --git a/eZmaxApi/models/contactinformations_request_v2.py b/eZmaxApi/models/contactinformations_request_v2.py index 86cc3391c..993a39051 100644 --- a/eZmaxApi/models/contactinformations_request_v2.py +++ b/eZmaxApi/models/contactinformations_request_v2.py @@ -77,7 +77,21 @@ def to_dict(self) -> Dict[str, Any]: return _dict @classmethod - def from_dict(cls, obj: Dict[str, Any]) -> Optional[Self]: + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: """Create an instance of ContactinformationsRequestV2 from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "eContactinformationsType": obj.get("eContactinformationsType"), + "iAddressDefault": obj.get("iAddressDefault"), + "iPhoneDefault": obj.get("iPhoneDefault"), + "iEmailDefault": obj.get("iEmailDefault"), + "iWebsiteDefault": obj.get("iWebsiteDefault") + }) + return _obj diff --git a/eZmaxApi/models/contactinformations_response.py b/eZmaxApi/models/contactinformations_response.py index 764320a7b..f38500404 100644 --- a/eZmaxApi/models/contactinformations_response.py +++ b/eZmaxApi/models/contactinformations_response.py @@ -21,11 +21,11 @@ from pydantic import BaseModel, ConfigDict, Field, field_validator from typing import Any, ClassVar, Dict, List, Optional from typing_extensions import Annotated -from eZmaxApi.models.address_response import AddressResponse -from eZmaxApi.models.email_response import EmailResponse +from eZmaxApi.models.address_response_compound import AddressResponseCompound +from eZmaxApi.models.email_response_compound import EmailResponseCompound from eZmaxApi.models.field_e_contactinformations_type import FieldEContactinformationsType from eZmaxApi.models.phone_response_compound import PhoneResponseCompound -from eZmaxApi.models.website_response import WebsiteResponse +from eZmaxApi.models.website_response_compound import WebsiteResponseCompound from typing import Optional, Set from typing_extensions import Self @@ -40,10 +40,10 @@ class ContactinformationsResponse(BaseModel): fki_website_id_default: Optional[Annotated[int, Field(le=16777215, strict=True, ge=0)]] = Field(default=None, description="The unique ID of the Website Default", alias="fkiWebsiteIDDefault") e_contactinformations_type: FieldEContactinformationsType = Field(alias="eContactinformationsType") s_contactinformations_url: Optional[Annotated[str, Field(strict=True)]] = Field(default=None, description="The url of the Contactinformations", alias="sContactinformationsUrl") - obj_address_default: Optional[AddressResponse] = Field(default=None, description="An Address Object and children to create a complete structure", alias="objAddressDefault") + obj_address_default: Optional[AddressResponseCompound] = Field(default=None, alias="objAddressDefault") obj_phone_default: Optional[PhoneResponseCompound] = Field(default=None, alias="objPhoneDefault") - obj_email_default: Optional[EmailResponse] = Field(default=None, description="An Email Object and children to create a complete structure", alias="objEmailDefault") - obj_website_default: Optional[WebsiteResponse] = Field(default=None, description="A Website Object and children to create a complete structure", alias="objWebsiteDefault") + obj_email_default: Optional[EmailResponseCompound] = Field(default=None, alias="objEmailDefault") + obj_website_default: Optional[WebsiteResponseCompound] = Field(default=None, alias="objWebsiteDefault") __properties: ClassVar[List[str]] = ["pkiContactinformationsID", "fkiAddressIDDefault", "fkiPhoneIDDefault", "fkiEmailIDDefault", "fkiWebsiteIDDefault", "eContactinformationsType", "sContactinformationsUrl", "objAddressDefault", "objPhoneDefault", "objEmailDefault", "objWebsiteDefault"] @field_validator('s_contactinformations_url') @@ -110,7 +110,27 @@ def to_dict(self) -> Dict[str, Any]: return _dict @classmethod - def from_dict(cls, obj: Dict[str, Any]) -> Optional[Self]: + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: """Create an instance of ContactinformationsResponse from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "pkiContactinformationsID": obj.get("pkiContactinformationsID"), + "fkiAddressIDDefault": obj.get("fkiAddressIDDefault"), + "fkiPhoneIDDefault": obj.get("fkiPhoneIDDefault"), + "fkiEmailIDDefault": obj.get("fkiEmailIDDefault"), + "fkiWebsiteIDDefault": obj.get("fkiWebsiteIDDefault"), + "eContactinformationsType": obj.get("eContactinformationsType"), + "sContactinformationsUrl": obj.get("sContactinformationsUrl"), + "objAddressDefault": AddressResponseCompound.from_dict(obj["objAddressDefault"]) if obj.get("objAddressDefault") is not None else None, + "objPhoneDefault": PhoneResponseCompound.from_dict(obj["objPhoneDefault"]) if obj.get("objPhoneDefault") is not None else None, + "objEmailDefault": EmailResponseCompound.from_dict(obj["objEmailDefault"]) if obj.get("objEmailDefault") is not None else None, + "objWebsiteDefault": WebsiteResponseCompound.from_dict(obj["objWebsiteDefault"]) if obj.get("objWebsiteDefault") is not None else None + }) + return _obj diff --git a/eZmaxApi/models/contactinformations_response_compound.py b/eZmaxApi/models/contactinformations_response_compound.py index aa69518c8..fecf982ba 100644 --- a/eZmaxApi/models/contactinformations_response_compound.py +++ b/eZmaxApi/models/contactinformations_response_compound.py @@ -18,27 +18,48 @@ import re # noqa: F401 import json -from pydantic import ConfigDict, Field -from typing import Any, ClassVar, Dict, List -from eZmaxApi.models.address_response import AddressResponse -from eZmaxApi.models.contactinformations_response import ContactinformationsResponse -from eZmaxApi.models.email_response import EmailResponse +from pydantic import BaseModel, ConfigDict, Field, field_validator +from typing import Any, ClassVar, Dict, List, Optional +from typing_extensions import Annotated +from eZmaxApi.models.address_response_compound import AddressResponseCompound +from eZmaxApi.models.email_response_compound import EmailResponseCompound from eZmaxApi.models.field_e_contactinformations_type import FieldEContactinformationsType from eZmaxApi.models.phone_response_compound import PhoneResponseCompound -from eZmaxApi.models.website_response import WebsiteResponse +from eZmaxApi.models.website_response_compound import WebsiteResponseCompound from typing import Optional, Set from typing_extensions import Self -class ContactinformationsResponseCompound(ContactinformationsResponse): +class ContactinformationsResponseCompound(BaseModel): """ A Contactinformations Object """ # noqa: E501 - a_obj_address: List[AddressResponse] = Field(alias="a_objAddress") + pki_contactinformations_id: Annotated[int, Field(le=16777215, strict=True, ge=0)] = Field(description="The unique ID of the Contactinformations", alias="pkiContactinformationsID") + fki_address_id_default: Optional[Annotated[int, Field(strict=True, ge=0)]] = Field(default=None, description="The unique ID of the Address", alias="fkiAddressIDDefault") + fki_phone_id_default: Optional[Annotated[int, Field(strict=True, ge=0)]] = Field(default=None, description="The unique ID of the Phone.", alias="fkiPhoneIDDefault") + fki_email_id_default: Optional[Annotated[int, Field(le=16777215, strict=True, ge=1)]] = Field(default=None, description="The unique ID of the Email", alias="fkiEmailIDDefault") + fki_website_id_default: Optional[Annotated[int, Field(le=16777215, strict=True, ge=0)]] = Field(default=None, description="The unique ID of the Website Default", alias="fkiWebsiteIDDefault") + e_contactinformations_type: FieldEContactinformationsType = Field(alias="eContactinformationsType") + s_contactinformations_url: Optional[Annotated[str, Field(strict=True)]] = Field(default=None, description="The url of the Contactinformations", alias="sContactinformationsUrl") + obj_address_default: Optional[AddressResponseCompound] = Field(default=None, alias="objAddressDefault") + obj_phone_default: Optional[PhoneResponseCompound] = Field(default=None, alias="objPhoneDefault") + obj_email_default: Optional[EmailResponseCompound] = Field(default=None, alias="objEmailDefault") + obj_website_default: Optional[WebsiteResponseCompound] = Field(default=None, alias="objWebsiteDefault") + a_obj_address: List[AddressResponseCompound] = Field(alias="a_objAddress") a_obj_phone: List[PhoneResponseCompound] = Field(alias="a_objPhone") - a_obj_email: List[EmailResponse] = Field(alias="a_objEmail") - a_obj_website: List[WebsiteResponse] = Field(alias="a_objWebsite") + a_obj_email: List[EmailResponseCompound] = Field(alias="a_objEmail") + a_obj_website: List[WebsiteResponseCompound] = Field(alias="a_objWebsite") __properties: ClassVar[List[str]] = ["pkiContactinformationsID", "fkiAddressIDDefault", "fkiPhoneIDDefault", "fkiEmailIDDefault", "fkiWebsiteIDDefault", "eContactinformationsType", "sContactinformationsUrl", "objAddressDefault", "objPhoneDefault", "objEmailDefault", "objWebsiteDefault", "a_objAddress", "a_objPhone", "a_objEmail", "a_objWebsite"] + @field_validator('s_contactinformations_url') + def s_contactinformations_url_validate_regular_expression(cls, value): + """Validates the regular expression""" + if value is None: + return value + + if not re.match(r"^.{0,255}$", value): + raise ValueError(r"must validate the regular expression /^.{0,255}$/") + return value + model_config = ConfigDict( populate_by_name=True, validate_assignment=True, @@ -137,14 +158,14 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: "fkiWebsiteIDDefault": obj.get("fkiWebsiteIDDefault"), "eContactinformationsType": obj.get("eContactinformationsType"), "sContactinformationsUrl": obj.get("sContactinformationsUrl"), - "objAddressDefault": AddressResponse.from_dict(obj["objAddressDefault"]) if obj.get("objAddressDefault") is not None else None, + "objAddressDefault": AddressResponseCompound.from_dict(obj["objAddressDefault"]) if obj.get("objAddressDefault") is not None else None, "objPhoneDefault": PhoneResponseCompound.from_dict(obj["objPhoneDefault"]) if obj.get("objPhoneDefault") is not None else None, - "objEmailDefault": EmailResponse.from_dict(obj["objEmailDefault"]) if obj.get("objEmailDefault") is not None else None, - "objWebsiteDefault": WebsiteResponse.from_dict(obj["objWebsiteDefault"]) if obj.get("objWebsiteDefault") is not None else None, - "a_objAddress": [AddressResponse.from_dict(_item) for _item in obj["a_objAddress"]] if obj.get("a_objAddress") is not None else None, + "objEmailDefault": EmailResponseCompound.from_dict(obj["objEmailDefault"]) if obj.get("objEmailDefault") is not None else None, + "objWebsiteDefault": WebsiteResponseCompound.from_dict(obj["objWebsiteDefault"]) if obj.get("objWebsiteDefault") is not None else None, + "a_objAddress": [AddressResponseCompound.from_dict(_item) for _item in obj["a_objAddress"]] if obj.get("a_objAddress") is not None else None, "a_objPhone": [PhoneResponseCompound.from_dict(_item) for _item in obj["a_objPhone"]] if obj.get("a_objPhone") is not None else None, - "a_objEmail": [EmailResponse.from_dict(_item) for _item in obj["a_objEmail"]] if obj.get("a_objEmail") is not None else None, - "a_objWebsite": [WebsiteResponse.from_dict(_item) for _item in obj["a_objWebsite"]] if obj.get("a_objWebsite") is not None else None + "a_objEmail": [EmailResponseCompound.from_dict(_item) for _item in obj["a_objEmail"]] if obj.get("a_objEmail") is not None else None, + "a_objWebsite": [WebsiteResponseCompound.from_dict(_item) for _item in obj["a_objWebsite"]] if obj.get("a_objWebsite") is not None else None }) return _obj diff --git a/eZmaxApi/models/contacttitle_get_autocomplete_v2_response.py b/eZmaxApi/models/contacttitle_get_autocomplete_v2_response.py index e5099e526..a533961ec 100644 --- a/eZmaxApi/models/contacttitle_get_autocomplete_v2_response.py +++ b/eZmaxApi/models/contacttitle_get_autocomplete_v2_response.py @@ -18,19 +18,20 @@ import re # noqa: F401 import json -from pydantic import ConfigDict, Field -from typing import Any, ClassVar, Dict, List -from eZmaxApi.models.common_response import CommonResponse +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List, Optional from eZmaxApi.models.common_response_obj_debug import CommonResponseObjDebug from eZmaxApi.models.common_response_obj_debug_payload import CommonResponseObjDebugPayload from eZmaxApi.models.contacttitle_get_autocomplete_v2_response_m_payload import ContacttitleGetAutocompleteV2ResponseMPayload from typing import Optional, Set from typing_extensions import Self -class ContacttitleGetAutocompleteV2Response(CommonResponse): +class ContacttitleGetAutocompleteV2Response(BaseModel): """ Response for GET /2/object/contacttitle/getAutocomplete """ # noqa: E501 + obj_debug_payload: CommonResponseObjDebugPayload = Field(alias="objDebugPayload") + obj_debug: Optional[CommonResponseObjDebug] = Field(default=None, alias="objDebug") m_payload: ContacttitleGetAutocompleteV2ResponseMPayload = Field(alias="mPayload") __properties: ClassVar[List[str]] = ["objDebugPayload", "objDebug", "mPayload"] diff --git a/eZmaxApi/models/cors_create_object_v1_response.py b/eZmaxApi/models/cors_create_object_v1_response.py index ea614ff3f..08b5206d8 100644 --- a/eZmaxApi/models/cors_create_object_v1_response.py +++ b/eZmaxApi/models/cors_create_object_v1_response.py @@ -18,19 +18,20 @@ import re # noqa: F401 import json -from pydantic import ConfigDict, Field -from typing import Any, ClassVar, Dict, List -from eZmaxApi.models.common_response import CommonResponse +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List, Optional from eZmaxApi.models.common_response_obj_debug import CommonResponseObjDebug from eZmaxApi.models.common_response_obj_debug_payload import CommonResponseObjDebugPayload from eZmaxApi.models.cors_create_object_v1_response_m_payload import CorsCreateObjectV1ResponseMPayload from typing import Optional, Set from typing_extensions import Self -class CorsCreateObjectV1Response(CommonResponse): +class CorsCreateObjectV1Response(BaseModel): """ Response for POST /1/object/cors """ # noqa: E501 + obj_debug_payload: CommonResponseObjDebugPayload = Field(alias="objDebugPayload") + obj_debug: Optional[CommonResponseObjDebug] = Field(default=None, alias="objDebug") m_payload: CorsCreateObjectV1ResponseMPayload = Field(alias="mPayload") __properties: ClassVar[List[str]] = ["objDebugPayload", "objDebug", "mPayload"] diff --git a/eZmaxApi/models/cors_delete_object_v1_response.py b/eZmaxApi/models/cors_delete_object_v1_response.py index 4fa7b3476..7a3c94120 100644 --- a/eZmaxApi/models/cors_delete_object_v1_response.py +++ b/eZmaxApi/models/cors_delete_object_v1_response.py @@ -18,18 +18,19 @@ import re # noqa: F401 import json -from pydantic import ConfigDict -from typing import Any, ClassVar, Dict, List -from eZmaxApi.models.common_response import CommonResponse +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List, Optional from eZmaxApi.models.common_response_obj_debug import CommonResponseObjDebug from eZmaxApi.models.common_response_obj_debug_payload import CommonResponseObjDebugPayload from typing import Optional, Set from typing_extensions import Self -class CorsDeleteObjectV1Response(CommonResponse): +class CorsDeleteObjectV1Response(BaseModel): """ Response for DELETE /1/object/cors/{pkiCorsID} """ # noqa: E501 + obj_debug_payload: CommonResponseObjDebugPayload = Field(alias="objDebugPayload") + obj_debug: Optional[CommonResponseObjDebug] = Field(default=None, alias="objDebug") __properties: ClassVar[List[str]] = ["objDebugPayload", "objDebug"] model_config = ConfigDict( diff --git a/eZmaxApi/models/cors_edit_object_v1_response.py b/eZmaxApi/models/cors_edit_object_v1_response.py index 94e8992a6..8f3b0cd89 100644 --- a/eZmaxApi/models/cors_edit_object_v1_response.py +++ b/eZmaxApi/models/cors_edit_object_v1_response.py @@ -18,18 +18,19 @@ import re # noqa: F401 import json -from pydantic import ConfigDict -from typing import Any, ClassVar, Dict, List -from eZmaxApi.models.common_response import CommonResponse +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List, Optional from eZmaxApi.models.common_response_obj_debug import CommonResponseObjDebug from eZmaxApi.models.common_response_obj_debug_payload import CommonResponseObjDebugPayload from typing import Optional, Set from typing_extensions import Self -class CorsEditObjectV1Response(CommonResponse): +class CorsEditObjectV1Response(BaseModel): """ Response for PUT /1/object/cors/{pkiCorsID} """ # noqa: E501 + obj_debug_payload: CommonResponseObjDebugPayload = Field(alias="objDebugPayload") + obj_debug: Optional[CommonResponseObjDebug] = Field(default=None, alias="objDebug") __properties: ClassVar[List[str]] = ["objDebugPayload", "objDebug"] model_config = ConfigDict( diff --git a/eZmaxApi/models/cors_get_object_v2_response.py b/eZmaxApi/models/cors_get_object_v2_response.py index ac706a1ef..4a16a37e2 100644 --- a/eZmaxApi/models/cors_get_object_v2_response.py +++ b/eZmaxApi/models/cors_get_object_v2_response.py @@ -18,19 +18,20 @@ import re # noqa: F401 import json -from pydantic import ConfigDict, Field -from typing import Any, ClassVar, Dict, List -from eZmaxApi.models.common_response import CommonResponse +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List, Optional from eZmaxApi.models.common_response_obj_debug import CommonResponseObjDebug from eZmaxApi.models.common_response_obj_debug_payload import CommonResponseObjDebugPayload from eZmaxApi.models.cors_get_object_v2_response_m_payload import CorsGetObjectV2ResponseMPayload from typing import Optional, Set from typing_extensions import Self -class CorsGetObjectV2Response(CommonResponse): +class CorsGetObjectV2Response(BaseModel): """ Response for GET /2/object/cors/{pkiCorsID} """ # noqa: E501 + obj_debug_payload: CommonResponseObjDebugPayload = Field(alias="objDebugPayload") + obj_debug: Optional[CommonResponseObjDebug] = Field(default=None, alias="objDebug") m_payload: CorsGetObjectV2ResponseMPayload = Field(alias="mPayload") __properties: ClassVar[List[str]] = ["objDebugPayload", "objDebug", "mPayload"] diff --git a/eZmaxApi/models/cors_request.py b/eZmaxApi/models/cors_request.py index 32f440392..02299c705 100644 --- a/eZmaxApi/models/cors_request.py +++ b/eZmaxApi/models/cors_request.py @@ -82,7 +82,19 @@ def to_dict(self) -> Dict[str, Any]: return _dict @classmethod - def from_dict(cls, obj: Dict[str, Any]) -> Optional[Self]: + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: """Create an instance of CorsRequest from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "pkiCorsID": obj.get("pkiCorsID"), + "fkiApikeyID": obj.get("fkiApikeyID"), + "sCorsEntryurl": obj.get("sCorsEntryurl") + }) + return _obj diff --git a/eZmaxApi/models/cors_request_compound.py b/eZmaxApi/models/cors_request_compound.py index 8055db565..93c1b387c 100644 --- a/eZmaxApi/models/cors_request_compound.py +++ b/eZmaxApi/models/cors_request_compound.py @@ -18,18 +18,28 @@ import re # noqa: F401 import json -from pydantic import ConfigDict -from typing import Any, ClassVar, Dict, List -from eZmaxApi.models.cors_request import CorsRequest +from pydantic import BaseModel, ConfigDict, Field, field_validator +from typing import Any, ClassVar, Dict, List, Optional +from typing_extensions import Annotated from typing import Optional, Set from typing_extensions import Self -class CorsRequestCompound(CorsRequest): +class CorsRequestCompound(BaseModel): """ A Cors Object and children """ # noqa: E501 + pki_cors_id: Optional[Annotated[int, Field(le=65535, strict=True, ge=0)]] = Field(default=None, description="The unique ID of the Cors", alias="pkiCorsID") + fki_apikey_id: Annotated[int, Field(strict=True, ge=0)] = Field(description="The unique ID of the Apikey", alias="fkiApikeyID") + s_cors_entryurl: Annotated[str, Field(strict=True)] = Field(description="The entryurl of the Cors", alias="sCorsEntryurl") __properties: ClassVar[List[str]] = ["pkiCorsID", "fkiApikeyID", "sCorsEntryurl"] + @field_validator('s_cors_entryurl') + def s_cors_entryurl_validate_regular_expression(cls, value): + """Validates the regular expression""" + if not re.match(r"^(https|http):\/\/[^\s\/$.?#].[^\s]*$", value): + raise ValueError(r"must validate the regular expression /^(https|http):\/\/[^\s\/$.?#].[^\s]*$/") + return value + model_config = ConfigDict( populate_by_name=True, validate_assignment=True, diff --git a/eZmaxApi/models/cors_response.py b/eZmaxApi/models/cors_response.py index c82c1d510..d7588194a 100644 --- a/eZmaxApi/models/cors_response.py +++ b/eZmaxApi/models/cors_response.py @@ -82,7 +82,19 @@ def to_dict(self) -> Dict[str, Any]: return _dict @classmethod - def from_dict(cls, obj: Dict[str, Any]) -> Optional[Self]: + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: """Create an instance of CorsResponse from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "pkiCorsID": obj.get("pkiCorsID"), + "fkiApikeyID": obj.get("fkiApikeyID"), + "sCorsEntryurl": obj.get("sCorsEntryurl") + }) + return _obj diff --git a/eZmaxApi/models/cors_response_compound.py b/eZmaxApi/models/cors_response_compound.py index 6f989094d..43680bbbf 100644 --- a/eZmaxApi/models/cors_response_compound.py +++ b/eZmaxApi/models/cors_response_compound.py @@ -18,18 +18,28 @@ import re # noqa: F401 import json -from pydantic import ConfigDict +from pydantic import BaseModel, ConfigDict, Field, field_validator from typing import Any, ClassVar, Dict, List -from eZmaxApi.models.cors_response import CorsResponse +from typing_extensions import Annotated from typing import Optional, Set from typing_extensions import Self -class CorsResponseCompound(CorsResponse): +class CorsResponseCompound(BaseModel): """ A Cors Object """ # noqa: E501 + pki_cors_id: Annotated[int, Field(le=65535, strict=True, ge=0)] = Field(description="The unique ID of the Cors", alias="pkiCorsID") + fki_apikey_id: Annotated[int, Field(strict=True, ge=0)] = Field(description="The unique ID of the Apikey", alias="fkiApikeyID") + s_cors_entryurl: Annotated[str, Field(strict=True)] = Field(description="The entryurl of the Cors", alias="sCorsEntryurl") __properties: ClassVar[List[str]] = ["pkiCorsID", "fkiApikeyID", "sCorsEntryurl"] + @field_validator('s_cors_entryurl') + def s_cors_entryurl_validate_regular_expression(cls, value): + """Validates the regular expression""" + if not re.match(r"^(https|http):\/\/[^\s\/$.?#].[^\s]*$", value): + raise ValueError(r"must validate the regular expression /^(https|http):\/\/[^\s\/$.?#].[^\s]*$/") + return value + model_config = ConfigDict( populate_by_name=True, validate_assignment=True, diff --git a/eZmaxApi/models/country_get_autocomplete_v2_response.py b/eZmaxApi/models/country_get_autocomplete_v2_response.py index f84b07cbc..327615a35 100644 --- a/eZmaxApi/models/country_get_autocomplete_v2_response.py +++ b/eZmaxApi/models/country_get_autocomplete_v2_response.py @@ -18,19 +18,20 @@ import re # noqa: F401 import json -from pydantic import ConfigDict, Field -from typing import Any, ClassVar, Dict, List -from eZmaxApi.models.common_response import CommonResponse +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List, Optional from eZmaxApi.models.common_response_obj_debug import CommonResponseObjDebug from eZmaxApi.models.common_response_obj_debug_payload import CommonResponseObjDebugPayload from eZmaxApi.models.country_get_autocomplete_v2_response_m_payload import CountryGetAutocompleteV2ResponseMPayload from typing import Optional, Set from typing_extensions import Self -class CountryGetAutocompleteV2Response(CommonResponse): +class CountryGetAutocompleteV2Response(BaseModel): """ Response for GET /2/object/country/getAutocomplete """ # noqa: E501 + obj_debug_payload: CommonResponseObjDebugPayload = Field(alias="objDebugPayload") + obj_debug: Optional[CommonResponseObjDebug] = Field(default=None, alias="objDebug") m_payload: CountryGetAutocompleteV2ResponseMPayload = Field(alias="mPayload") __properties: ClassVar[List[str]] = ["objDebugPayload", "objDebug", "mPayload"] diff --git a/eZmaxApi/models/creditcardclient_create_object_v1_response.py b/eZmaxApi/models/creditcardclient_create_object_v1_response.py index 9aabeaee4..e62ccfc86 100644 --- a/eZmaxApi/models/creditcardclient_create_object_v1_response.py +++ b/eZmaxApi/models/creditcardclient_create_object_v1_response.py @@ -18,19 +18,20 @@ import re # noqa: F401 import json -from pydantic import ConfigDict, Field -from typing import Any, ClassVar, Dict, List -from eZmaxApi.models.common_response import CommonResponse +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List, Optional from eZmaxApi.models.common_response_obj_debug import CommonResponseObjDebug from eZmaxApi.models.common_response_obj_debug_payload import CommonResponseObjDebugPayload from eZmaxApi.models.creditcardclient_create_object_v1_response_m_payload import CreditcardclientCreateObjectV1ResponseMPayload from typing import Optional, Set from typing_extensions import Self -class CreditcardclientCreateObjectV1Response(CommonResponse): +class CreditcardclientCreateObjectV1Response(BaseModel): """ Response for POST /1/object/creditcardclient """ # noqa: E501 + obj_debug_payload: CommonResponseObjDebugPayload = Field(alias="objDebugPayload") + obj_debug: Optional[CommonResponseObjDebug] = Field(default=None, alias="objDebug") m_payload: CreditcardclientCreateObjectV1ResponseMPayload = Field(alias="mPayload") __properties: ClassVar[List[str]] = ["objDebugPayload", "objDebug", "mPayload"] diff --git a/eZmaxApi/models/creditcardclient_delete_object_v1_response.py b/eZmaxApi/models/creditcardclient_delete_object_v1_response.py index fe25af4d9..e7b0c441b 100644 --- a/eZmaxApi/models/creditcardclient_delete_object_v1_response.py +++ b/eZmaxApi/models/creditcardclient_delete_object_v1_response.py @@ -18,18 +18,19 @@ import re # noqa: F401 import json -from pydantic import ConfigDict -from typing import Any, ClassVar, Dict, List -from eZmaxApi.models.common_response import CommonResponse +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List, Optional from eZmaxApi.models.common_response_obj_debug import CommonResponseObjDebug from eZmaxApi.models.common_response_obj_debug_payload import CommonResponseObjDebugPayload from typing import Optional, Set from typing_extensions import Self -class CreditcardclientDeleteObjectV1Response(CommonResponse): +class CreditcardclientDeleteObjectV1Response(BaseModel): """ Response for DELETE /1/object/creditcardclient/{pkiCreditcardclientID} """ # noqa: E501 + obj_debug_payload: CommonResponseObjDebugPayload = Field(alias="objDebugPayload") + obj_debug: Optional[CommonResponseObjDebug] = Field(default=None, alias="objDebug") __properties: ClassVar[List[str]] = ["objDebugPayload", "objDebug"] model_config = ConfigDict( diff --git a/eZmaxApi/models/creditcardclient_edit_object_v1_response.py b/eZmaxApi/models/creditcardclient_edit_object_v1_response.py index e939c36d6..6459905f5 100644 --- a/eZmaxApi/models/creditcardclient_edit_object_v1_response.py +++ b/eZmaxApi/models/creditcardclient_edit_object_v1_response.py @@ -18,18 +18,19 @@ import re # noqa: F401 import json -from pydantic import ConfigDict -from typing import Any, ClassVar, Dict, List -from eZmaxApi.models.common_response import CommonResponse +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List, Optional from eZmaxApi.models.common_response_obj_debug import CommonResponseObjDebug from eZmaxApi.models.common_response_obj_debug_payload import CommonResponseObjDebugPayload from typing import Optional, Set from typing_extensions import Self -class CreditcardclientEditObjectV1Response(CommonResponse): +class CreditcardclientEditObjectV1Response(BaseModel): """ Response for PUT /1/object/creditcardclient/{pkiCreditcardclientID} """ # noqa: E501 + obj_debug_payload: CommonResponseObjDebugPayload = Field(alias="objDebugPayload") + obj_debug: Optional[CommonResponseObjDebug] = Field(default=None, alias="objDebug") __properties: ClassVar[List[str]] = ["objDebugPayload", "objDebug"] model_config = ConfigDict( diff --git a/eZmaxApi/models/creditcardclient_get_autocomplete_v2_response.py b/eZmaxApi/models/creditcardclient_get_autocomplete_v2_response.py index 545897a0e..73c1b6e56 100644 --- a/eZmaxApi/models/creditcardclient_get_autocomplete_v2_response.py +++ b/eZmaxApi/models/creditcardclient_get_autocomplete_v2_response.py @@ -18,19 +18,20 @@ import re # noqa: F401 import json -from pydantic import ConfigDict, Field -from typing import Any, ClassVar, Dict, List -from eZmaxApi.models.common_response import CommonResponse +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List, Optional from eZmaxApi.models.common_response_obj_debug import CommonResponseObjDebug from eZmaxApi.models.common_response_obj_debug_payload import CommonResponseObjDebugPayload from eZmaxApi.models.creditcardclient_get_autocomplete_v2_response_m_payload import CreditcardclientGetAutocompleteV2ResponseMPayload from typing import Optional, Set from typing_extensions import Self -class CreditcardclientGetAutocompleteV2Response(CommonResponse): +class CreditcardclientGetAutocompleteV2Response(BaseModel): """ Response for GET /2/object/creditcardclient/getAutocomplete """ # noqa: E501 + obj_debug_payload: CommonResponseObjDebugPayload = Field(alias="objDebugPayload") + obj_debug: Optional[CommonResponseObjDebug] = Field(default=None, alias="objDebug") m_payload: CreditcardclientGetAutocompleteV2ResponseMPayload = Field(alias="mPayload") __properties: ClassVar[List[str]] = ["objDebugPayload", "objDebug", "mPayload"] diff --git a/eZmaxApi/models/creditcardclient_get_list_v1_response.py b/eZmaxApi/models/creditcardclient_get_list_v1_response.py index 99a63283b..6b5641e94 100644 --- a/eZmaxApi/models/creditcardclient_get_list_v1_response.py +++ b/eZmaxApi/models/creditcardclient_get_list_v1_response.py @@ -18,19 +18,20 @@ import re # noqa: F401 import json -from pydantic import ConfigDict, Field -from typing import Any, ClassVar, Dict, List -from eZmaxApi.models.common_response_get_list import CommonResponseGetList +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List, Optional from eZmaxApi.models.common_response_obj_debug import CommonResponseObjDebug from eZmaxApi.models.common_response_obj_debug_payload_get_list import CommonResponseObjDebugPayloadGetList from eZmaxApi.models.creditcardclient_get_list_v1_response_m_payload import CreditcardclientGetListV1ResponseMPayload from typing import Optional, Set from typing_extensions import Self -class CreditcardclientGetListV1Response(CommonResponseGetList): +class CreditcardclientGetListV1Response(BaseModel): """ Response for GET /1/object/creditcardclient/getList """ # noqa: E501 + obj_debug_payload: CommonResponseObjDebugPayloadGetList = Field(alias="objDebugPayload") + obj_debug: Optional[CommonResponseObjDebug] = Field(default=None, alias="objDebug") m_payload: CreditcardclientGetListV1ResponseMPayload = Field(alias="mPayload") __properties: ClassVar[List[str]] = ["objDebugPayload", "objDebug", "mPayload"] diff --git a/eZmaxApi/models/creditcardclient_get_list_v1_response_m_payload.py b/eZmaxApi/models/creditcardclient_get_list_v1_response_m_payload.py index 3063db48e..dcee4fc82 100644 --- a/eZmaxApi/models/creditcardclient_get_list_v1_response_m_payload.py +++ b/eZmaxApi/models/creditcardclient_get_list_v1_response_m_payload.py @@ -18,17 +18,18 @@ import re # noqa: F401 import json -from pydantic import ConfigDict, Field +from pydantic import BaseModel, ConfigDict, Field, StrictInt from typing import Any, ClassVar, Dict, List -from eZmaxApi.models.common_get_list_v1_response_m_payload import CommonGetListV1ResponseMPayload from eZmaxApi.models.creditcardclient_list_element import CreditcardclientListElement from typing import Optional, Set from typing_extensions import Self -class CreditcardclientGetListV1ResponseMPayload(CommonGetListV1ResponseMPayload): +class CreditcardclientGetListV1ResponseMPayload(BaseModel): """ Payload for GET /1/object/creditcardclient/getList """ # noqa: E501 + i_row_returned: StrictInt = Field(description="The number of rows returned", alias="iRowReturned") + i_row_filtered: StrictInt = Field(description="The number of rows matching your filters (if any) or the total number of rows", alias="iRowFiltered") a_obj_creditcardclient: List[CreditcardclientListElement] = Field(alias="a_objCreditcardclient") __properties: ClassVar[List[str]] = ["iRowReturned", "iRowFiltered", "a_objCreditcardclient"] diff --git a/eZmaxApi/models/creditcardclient_get_object_v2_response.py b/eZmaxApi/models/creditcardclient_get_object_v2_response.py index 0c1fa9a96..2be25bcba 100644 --- a/eZmaxApi/models/creditcardclient_get_object_v2_response.py +++ b/eZmaxApi/models/creditcardclient_get_object_v2_response.py @@ -18,19 +18,20 @@ import re # noqa: F401 import json -from pydantic import ConfigDict, Field -from typing import Any, ClassVar, Dict, List -from eZmaxApi.models.common_response import CommonResponse +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List, Optional from eZmaxApi.models.common_response_obj_debug import CommonResponseObjDebug from eZmaxApi.models.common_response_obj_debug_payload import CommonResponseObjDebugPayload from eZmaxApi.models.creditcardclient_get_object_v2_response_m_payload import CreditcardclientGetObjectV2ResponseMPayload from typing import Optional, Set from typing_extensions import Self -class CreditcardclientGetObjectV2Response(CommonResponse): +class CreditcardclientGetObjectV2Response(BaseModel): """ Response for GET /2/object/creditcardclient/{pkiCreditcardclientID} """ # noqa: E501 + obj_debug_payload: CommonResponseObjDebugPayload = Field(alias="objDebugPayload") + obj_debug: Optional[CommonResponseObjDebug] = Field(default=None, alias="objDebug") m_payload: CreditcardclientGetObjectV2ResponseMPayload = Field(alias="mPayload") __properties: ClassVar[List[str]] = ["objDebugPayload", "objDebug", "mPayload"] diff --git a/eZmaxApi/models/creditcardclient_patch_object_v1_response.py b/eZmaxApi/models/creditcardclient_patch_object_v1_response.py index 2e52a875f..f13bf9d2f 100644 --- a/eZmaxApi/models/creditcardclient_patch_object_v1_response.py +++ b/eZmaxApi/models/creditcardclient_patch_object_v1_response.py @@ -18,18 +18,19 @@ import re # noqa: F401 import json -from pydantic import ConfigDict -from typing import Any, ClassVar, Dict, List -from eZmaxApi.models.common_response import CommonResponse +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List, Optional from eZmaxApi.models.common_response_obj_debug import CommonResponseObjDebug from eZmaxApi.models.common_response_obj_debug_payload import CommonResponseObjDebugPayload from typing import Optional, Set from typing_extensions import Self -class CreditcardclientPatchObjectV1Response(CommonResponse): +class CreditcardclientPatchObjectV1Response(BaseModel): """ Response for PATCH /1/object/creditcardclient/{pkiCreditcardclientID} """ # noqa: E501 + obj_debug_payload: CommonResponseObjDebugPayload = Field(alias="objDebugPayload") + obj_debug: Optional[CommonResponseObjDebug] = Field(default=None, alias="objDebug") __properties: ClassVar[List[str]] = ["objDebugPayload", "objDebug"] model_config = ConfigDict( diff --git a/eZmaxApi/models/creditcardclient_request.py b/eZmaxApi/models/creditcardclient_request.py index 3e84caad6..f4885f6da 100644 --- a/eZmaxApi/models/creditcardclient_request.py +++ b/eZmaxApi/models/creditcardclient_request.py @@ -109,7 +109,25 @@ def to_dict(self) -> Dict[str, Any]: return _dict @classmethod - def from_dict(cls, obj: Dict[str, Any]) -> Optional[Self]: + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: """Create an instance of CreditcardclientRequest from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "pkiCreditcardclientID": obj.get("pkiCreditcardclientID"), + "fksCreditcardtokenID": obj.get("fksCreditcardtokenID"), + "bCreditcardclientrelationIsdefault": obj.get("bCreditcardclientrelationIsdefault"), + "sCreditcardclientDescription": obj.get("sCreditcardclientDescription"), + "bCreditcardclientAllowedcompanypayment": obj.get("bCreditcardclientAllowedcompanypayment"), + "bCreditcardclientAllowedezsign": obj.get("bCreditcardclientAllowedezsign"), + "bCreditcardclientAllowedtranquillit": obj.get("bCreditcardclientAllowedtranquillit"), + "objCreditcarddetail": CreditcarddetailRequest.from_dict(obj["objCreditcarddetail"]) if obj.get("objCreditcarddetail") is not None else None, + "sCreditcardclientCVV": obj.get("sCreditcardclientCVV") + }) + return _obj diff --git a/eZmaxApi/models/creditcardclient_request_compound.py b/eZmaxApi/models/creditcardclient_request_compound.py index babd36245..dac41c09f 100644 --- a/eZmaxApi/models/creditcardclient_request_compound.py +++ b/eZmaxApi/models/creditcardclient_request_compound.py @@ -18,19 +18,52 @@ import re # noqa: F401 import json -from pydantic import ConfigDict -from typing import Any, ClassVar, Dict, List -from eZmaxApi.models.creditcardclient_request import CreditcardclientRequest +from pydantic import BaseModel, ConfigDict, Field, StrictBool, field_validator +from typing import Any, ClassVar, Dict, List, Optional +from typing_extensions import Annotated from eZmaxApi.models.creditcarddetail_request import CreditcarddetailRequest from typing import Optional, Set from typing_extensions import Self -class CreditcardclientRequestCompound(CreditcardclientRequest): +class CreditcardclientRequestCompound(BaseModel): """ A Creditcardclient Object and children """ # noqa: E501 + pki_creditcardclient_id: Optional[Annotated[int, Field(le=65535, strict=True, ge=0)]] = Field(default=None, description="The unique ID of the Creditcardclient", alias="pkiCreditcardclientID") + fks_creditcardtoken_id: Optional[Annotated[str, Field(strict=True)]] = Field(default=None, description="The creditcard token identifier", alias="fksCreditcardtokenID") + b_creditcardclientrelation_isdefault: StrictBool = Field(description="Whether if it's the creditcardclient is the default one", alias="bCreditcardclientrelationIsdefault") + s_creditcardclient_description: Annotated[str, Field(strict=True)] = Field(description="The description of the Creditcardclient", alias="sCreditcardclientDescription") + b_creditcardclient_allowedcompanypayment: StrictBool = Field(description="Whether if it's an allowedagencypayment", alias="bCreditcardclientAllowedcompanypayment") + b_creditcardclient_allowedezsign: StrictBool = Field(description="Whether if it's an allowedroyallepageprotection", alias="bCreditcardclientAllowedezsign") + b_creditcardclient_allowedtranquillit: StrictBool = Field(description="Whether if it's an allowedtranquillit", alias="bCreditcardclientAllowedtranquillit") + obj_creditcarddetail: CreditcarddetailRequest = Field(alias="objCreditcarddetail") + s_creditcardclient_cvv: Annotated[str, Field(strict=True)] = Field(description="The creditcard card CVV", alias="sCreditcardclientCVV") __properties: ClassVar[List[str]] = ["pkiCreditcardclientID", "fksCreditcardtokenID", "bCreditcardclientrelationIsdefault", "sCreditcardclientDescription", "bCreditcardclientAllowedcompanypayment", "bCreditcardclientAllowedezsign", "bCreditcardclientAllowedtranquillit", "objCreditcarddetail", "sCreditcardclientCVV"] + @field_validator('fks_creditcardtoken_id') + def fks_creditcardtoken_id_validate_regular_expression(cls, value): + """Validates the regular expression""" + if value is None: + return value + + if not re.match(r"^\{?[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}\}?$", value): + raise ValueError(r"must validate the regular expression /^\{?[0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{4}-[0-9a-fA-F]{12}\}?$/") + return value + + @field_validator('s_creditcardclient_description') + def s_creditcardclient_description_validate_regular_expression(cls, value): + """Validates the regular expression""" + if not re.match(r"^.{0,50}$", value): + raise ValueError(r"must validate the regular expression /^.{0,50}$/") + return value + + @field_validator('s_creditcardclient_cvv') + def s_creditcardclient_cvv_validate_regular_expression(cls, value): + """Validates the regular expression""" + if not re.match(r"^[0-9]{3,4}$", value): + raise ValueError(r"must validate the regular expression /^[0-9]{3,4}$/") + return value + model_config = ConfigDict( populate_by_name=True, validate_assignment=True, diff --git a/eZmaxApi/models/creditcardclient_response.py b/eZmaxApi/models/creditcardclient_response.py index c8324f3b8..4f6e24bc2 100644 --- a/eZmaxApi/models/creditcardclient_response.py +++ b/eZmaxApi/models/creditcardclient_response.py @@ -90,7 +90,23 @@ def to_dict(self) -> Dict[str, Any]: return _dict @classmethod - def from_dict(cls, obj: Dict[str, Any]) -> Optional[Self]: + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: """Create an instance of CreditcardclientResponse from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "pkiCreditcardclientID": obj.get("pkiCreditcardclientID"), + "fkiCreditcarddetailID": obj.get("fkiCreditcarddetailID"), + "bCreditcardclientrelationIsdefault": obj.get("bCreditcardclientrelationIsdefault"), + "sCreditcardclientDescription": obj.get("sCreditcardclientDescription"), + "bCreditcardclientAllowedcompanypayment": obj.get("bCreditcardclientAllowedcompanypayment"), + "bCreditcardclientAllowedtranquillit": obj.get("bCreditcardclientAllowedtranquillit"), + "objCreditcarddetail": CreditcarddetailResponseCompound.from_dict(obj["objCreditcarddetail"]) if obj.get("objCreditcarddetail") is not None else None + }) + return _obj diff --git a/eZmaxApi/models/creditcardclient_response_compound.py b/eZmaxApi/models/creditcardclient_response_compound.py index 34a09a571..a27dba548 100644 --- a/eZmaxApi/models/creditcardclient_response_compound.py +++ b/eZmaxApi/models/creditcardclient_response_compound.py @@ -18,19 +18,33 @@ import re # noqa: F401 import json -from pydantic import ConfigDict +from pydantic import BaseModel, ConfigDict, Field, StrictBool, field_validator from typing import Any, ClassVar, Dict, List -from eZmaxApi.models.creditcardclient_response import CreditcardclientResponse +from typing_extensions import Annotated from eZmaxApi.models.creditcarddetail_response_compound import CreditcarddetailResponseCompound from typing import Optional, Set from typing_extensions import Self -class CreditcardclientResponseCompound(CreditcardclientResponse): +class CreditcardclientResponseCompound(BaseModel): """ A Creditcardclient Object """ # noqa: E501 + pki_creditcardclient_id: Annotated[int, Field(le=65535, strict=True, ge=0)] = Field(description="The unique ID of the Creditcardclient", alias="pkiCreditcardclientID") + fki_creditcarddetail_id: Annotated[int, Field(le=65535, strict=True, ge=0)] = Field(description="The unique ID of the Creditcarddetail", alias="fkiCreditcarddetailID") + b_creditcardclientrelation_isdefault: StrictBool = Field(description="Whether if it's the creditcardclient is the default one", alias="bCreditcardclientrelationIsdefault") + s_creditcardclient_description: Annotated[str, Field(strict=True)] = Field(description="The description of the Creditcardclient", alias="sCreditcardclientDescription") + b_creditcardclient_allowedcompanypayment: StrictBool = Field(description="Whether if it's an allowedagencypayment", alias="bCreditcardclientAllowedcompanypayment") + b_creditcardclient_allowedtranquillit: StrictBool = Field(description="Whether if it's an allowedtranquillit", alias="bCreditcardclientAllowedtranquillit") + obj_creditcarddetail: CreditcarddetailResponseCompound = Field(alias="objCreditcarddetail") __properties: ClassVar[List[str]] = ["pkiCreditcardclientID", "fkiCreditcarddetailID", "bCreditcardclientrelationIsdefault", "sCreditcardclientDescription", "bCreditcardclientAllowedcompanypayment", "bCreditcardclientAllowedtranquillit", "objCreditcarddetail"] + @field_validator('s_creditcardclient_description') + def s_creditcardclient_description_validate_regular_expression(cls, value): + """Validates the regular expression""" + if not re.match(r"^.{0,50}$", value): + raise ValueError(r"must validate the regular expression /^.{0,50}$/") + return value + model_config = ConfigDict( populate_by_name=True, validate_assignment=True, diff --git a/eZmaxApi/models/creditcarddetail_response.py b/eZmaxApi/models/creditcarddetail_response.py index eef787bf2..d8b51be57 100644 --- a/eZmaxApi/models/creditcarddetail_response.py +++ b/eZmaxApi/models/creditcarddetail_response.py @@ -101,7 +101,24 @@ def to_dict(self) -> Dict[str, Any]: return _dict @classmethod - def from_dict(cls, obj: Dict[str, Any]) -> Optional[Self]: + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: """Create an instance of CreditcarddetailResponse from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "pkiCreditcarddetailID": obj.get("pkiCreditcarddetailID"), + "fkiCreditcardtypeID": obj.get("fkiCreditcardtypeID"), + "iCreditcarddetailLastdigits": obj.get("iCreditcarddetailLastdigits"), + "iCreditcarddetailExpirationmonth": obj.get("iCreditcarddetailExpirationmonth"), + "iCreditcarddetailExpirationyear": obj.get("iCreditcarddetailExpirationyear"), + "sCreditcarddetailCivic": obj.get("sCreditcarddetailCivic"), + "sCreditcarddetailStreet": obj.get("sCreditcarddetailStreet"), + "sCreditcarddetailZip": obj.get("sCreditcarddetailZip") + }) + return _obj diff --git a/eZmaxApi/models/creditcarddetail_response_compound.py b/eZmaxApi/models/creditcarddetail_response_compound.py index b07a61c07..fb6242c11 100644 --- a/eZmaxApi/models/creditcarddetail_response_compound.py +++ b/eZmaxApi/models/creditcarddetail_response_compound.py @@ -18,18 +18,47 @@ import re # noqa: F401 import json -from pydantic import ConfigDict +from pydantic import BaseModel, ConfigDict, Field, field_validator from typing import Any, ClassVar, Dict, List -from eZmaxApi.models.creditcarddetail_response import CreditcarddetailResponse +from typing_extensions import Annotated from typing import Optional, Set from typing_extensions import Self -class CreditcarddetailResponseCompound(CreditcarddetailResponse): +class CreditcarddetailResponseCompound(BaseModel): """ A Creditcarddetail Object """ # noqa: E501 + pki_creditcarddetail_id: Annotated[int, Field(le=65535, strict=True, ge=0)] = Field(description="The unique ID of the Creditcarddetail", alias="pkiCreditcarddetailID") + fki_creditcardtype_id: Annotated[int, Field(le=255, strict=True, ge=0)] = Field(description="The unique ID of the Creditcardtype", alias="fkiCreditcardtypeID") + i_creditcarddetail_lastdigits: Annotated[int, Field(le=9999, strict=True, ge=0)] = Field(description="The last digits of the Creditcarddetail", alias="iCreditcarddetailLastdigits") + i_creditcarddetail_expirationmonth: Annotated[int, Field(le=12, strict=True, ge=0)] = Field(description="The expirationmonth of the Creditcarddetail", alias="iCreditcarddetailExpirationmonth") + i_creditcarddetail_expirationyear: Annotated[int, Field(le=2200, strict=True, ge=0)] = Field(description="The expirationyear of the Creditcarddetail", alias="iCreditcarddetailExpirationyear") + s_creditcarddetail_civic: Annotated[str, Field(strict=True)] = Field(description="The civic of the Creditcarddetail", alias="sCreditcarddetailCivic") + s_creditcarddetail_street: Annotated[str, Field(strict=True)] = Field(description="The street of the Creditcarddetail", alias="sCreditcarddetailStreet") + s_creditcarddetail_zip: Annotated[str, Field(strict=True)] = Field(description="The zip of the Creditcarddetail", alias="sCreditcarddetailZip") __properties: ClassVar[List[str]] = ["pkiCreditcarddetailID", "fkiCreditcardtypeID", "iCreditcarddetailLastdigits", "iCreditcarddetailExpirationmonth", "iCreditcarddetailExpirationyear", "sCreditcarddetailCivic", "sCreditcarddetailStreet", "sCreditcarddetailZip"] + @field_validator('s_creditcarddetail_civic') + def s_creditcarddetail_civic_validate_regular_expression(cls, value): + """Validates the regular expression""" + if not re.match(r"^[\d]{1,8}$", value): + raise ValueError(r"must validate the regular expression /^[\d]{1,8}$/") + return value + + @field_validator('s_creditcarddetail_street') + def s_creditcarddetail_street_validate_regular_expression(cls, value): + """Validates the regular expression""" + if not re.match(r"^.{1,19}$", value): + raise ValueError(r"must validate the regular expression /^.{1,19}$/") + return value + + @field_validator('s_creditcarddetail_zip') + def s_creditcarddetail_zip_validate_regular_expression(cls, value): + """Validates the regular expression""" + if not re.match(r"^.{0,9}$", value): + raise ValueError(r"must validate the regular expression /^.{0,9}$/") + return value + model_config = ConfigDict( populate_by_name=True, validate_assignment=True, diff --git a/eZmaxApi/models/creditcardtype_get_autocomplete_v2_response.py b/eZmaxApi/models/creditcardtype_get_autocomplete_v2_response.py index 4561a6e83..5908b6555 100644 --- a/eZmaxApi/models/creditcardtype_get_autocomplete_v2_response.py +++ b/eZmaxApi/models/creditcardtype_get_autocomplete_v2_response.py @@ -18,19 +18,20 @@ import re # noqa: F401 import json -from pydantic import ConfigDict, Field -from typing import Any, ClassVar, Dict, List -from eZmaxApi.models.common_response import CommonResponse +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List, Optional from eZmaxApi.models.common_response_obj_debug import CommonResponseObjDebug from eZmaxApi.models.common_response_obj_debug_payload import CommonResponseObjDebugPayload from eZmaxApi.models.creditcardtype_get_autocomplete_v2_response_m_payload import CreditcardtypeGetAutocompleteV2ResponseMPayload from typing import Optional, Set from typing_extensions import Self -class CreditcardtypeGetAutocompleteV2Response(CommonResponse): +class CreditcardtypeGetAutocompleteV2Response(BaseModel): """ Response for GET /2/object/creditcardtype/getAutocomplete """ # noqa: E501 + obj_debug_payload: CommonResponseObjDebugPayload = Field(alias="objDebugPayload") + obj_debug: Optional[CommonResponseObjDebug] = Field(default=None, alias="objDebug") m_payload: CreditcardtypeGetAutocompleteV2ResponseMPayload = Field(alias="mPayload") __properties: ClassVar[List[str]] = ["objDebugPayload", "objDebug", "mPayload"] diff --git a/eZmaxApi/models/custom_attachment_response.py b/eZmaxApi/models/custom_attachment_response.py index 387a569ec..edd35bcee 100644 --- a/eZmaxApi/models/custom_attachment_response.py +++ b/eZmaxApi/models/custom_attachment_response.py @@ -18,9 +18,9 @@ import re # noqa: F401 import json -from pydantic import ConfigDict, Field +from pydantic import BaseModel, ConfigDict, Field, StrictBool, StrictInt, field_validator from typing import Any, ClassVar, Dict, List, Optional -from eZmaxApi.models.attachment_response import AttachmentResponse +from typing_extensions import Annotated from eZmaxApi.models.attachment_response_compound import AttachmentResponseCompound from eZmaxApi.models.common_audit import CommonAudit from eZmaxApi.models.field_e_attachment_documenttype import FieldEAttachmentDocumenttype @@ -30,16 +30,101 @@ from typing import Optional, Set from typing_extensions import Self -class CustomAttachmentResponse(AttachmentResponse): +class CustomAttachmentResponse(BaseModel): """ A Custom Attachment Object """ # noqa: E501 + pki_attachment_id: Annotated[int, Field(strict=True, ge=0)] = Field(description="The unique ID of the Attachment.", alias="pkiAttachmentID") + fki_computer_id: Optional[Annotated[int, Field(le=65535, strict=True, ge=1)]] = Field(default=None, description="The unique ID of the Computer", alias="fkiComputerID") + fki_adjustment_id: Optional[Annotated[int, Field(le=65535, strict=True, ge=0)]] = Field(default=None, description="The unique ID of the Adjustment", alias="fkiAdjustmentID") + fki_agent_id: Optional[Annotated[int, Field(strict=True, ge=0)]] = Field(default=None, description="The unique ID of the Agent.", alias="fkiAgentID") + fki_bankaccount_id: Optional[Annotated[int, Field(le=255, strict=True, ge=0)]] = Field(default=None, description="The unique ID of the Bankaccount", alias="fkiBankaccountID") + fki_broker_id: Optional[Annotated[int, Field(strict=True, ge=0)]] = Field(default=None, description="The unique ID of the Broker.", alias="fkiBrokerID") + fki_commissionadvance_id: Optional[Annotated[int, Field(le=65535, strict=True, ge=0)]] = Field(default=None, description="The unique ID of the Commissionadvance", alias="fkiCommissionadvanceID") + fki_communication_id: Optional[Annotated[int, Field(strict=True, ge=0)]] = Field(default=None, description="The unique ID of the Communication.", alias="fkiCommunicationID") + fki_customer_id: Optional[Annotated[int, Field(strict=True, ge=0)]] = Field(default=None, description="The unique ID of the Customer.", alias="fkiCustomerID") + fki_customertemplate_id: Optional[Annotated[int, Field(le=65535, strict=True, ge=0)]] = Field(default=None, description="The unique ID of the Customertemplate", alias="fkiCustomertemplateID") + fki_deposit_id: Optional[Annotated[int, Field(le=16777215, strict=True, ge=0)]] = Field(default=None, description="The unique ID of the Deposit", alias="fkiDepositID") + fki_deposittransitcheque_id: Optional[Annotated[int, Field(le=65535, strict=True, ge=0)]] = Field(default=None, description="The unique ID of the Deposittransitcheque", alias="fkiDeposittransitchequeID") + fki_electronicfundstransfer_id: Optional[Annotated[int, Field(le=65535, strict=True, ge=1)]] = Field(default=None, description="The unique ID of the Electronicfundstransfer", alias="fkiElectronicfundstransferID") + fki_employee_id: Optional[Annotated[int, Field(strict=True, ge=0)]] = Field(default=None, description="The unique ID of the Employee.", alias="fkiEmployeeID") + fki_externalbroker_id: Optional[Annotated[int, Field(strict=True, ge=0)]] = Field(default=None, description="The unique ID of the Externalbroker.", alias="fkiExternalbrokerID") + fki_ezcomadvanceserver_id: Optional[Annotated[int, Field(le=16777215, strict=True, ge=0)]] = Field(default=None, description="The unique ID of the Ezcomadvanceserver", alias="fkiEzcomadvanceserverID") + fki_ezcomcompany_id: Optional[Annotated[int, Field(le=65535, strict=True, ge=0)]] = Field(default=None, description="The unique ID of the Ezcomcompany", alias="fkiEzcomcompanyID") + fki_ezsigndocument_id: Optional[Annotated[int, Field(strict=True, ge=0)]] = Field(default=None, description="The unique ID of the Ezsigndocument", alias="fkiEzsigndocumentID") + fki_ghacqcontract_id: Optional[Annotated[int, Field(le=16777215, strict=True, ge=0)]] = Field(default=None, description="The unique ID of the Ghacqcontract", alias="fkiGhacqcontractID") + fki_inscription_id: Optional[Annotated[int, Field(strict=True, ge=0)]] = Field(default=None, description="The unique ID of the Inscription.", alias="fkiInscriptionID") + fki_inscriptiontemp_id: Optional[Annotated[int, Field(le=16777215, strict=True, ge=1)]] = Field(default=None, description="The unique ID of the Inscriptiontemp", alias="fkiInscriptiontempID") + fki_inscriptionnotauthenticated_id: Optional[Annotated[int, Field(strict=True, ge=0)]] = Field(default=None, description="The unique ID of the Inscriptionnotauthenticated.", alias="fkiInscriptionnotauthenticatedID") + fki_invoice_id: Optional[Annotated[int, Field(strict=True, ge=0)]] = Field(default=None, description="The unique ID of the Invoice.", alias="fkiInvoiceID") + fki_buyercontract_id: Optional[Annotated[int, Field(le=65535, strict=True, ge=1)]] = Field(default=None, description="The unique ID of the Buyercontract", alias="fkiBuyercontractID") + fki_franchisebroker_id: Optional[Annotated[int, Field(strict=True, ge=0)]] = Field(default=None, description="The unique ID of the Franchisebroker", alias="fkiFranchisebrokerID") + fki_franchiseagence_id: Optional[Annotated[int, Field(le=65535, strict=True, ge=0)]] = Field(default=None, description="The unique ID of the Franchiseagence", alias="fkiFranchiseagenceID") + fki_franchiseoffice_id: Optional[Annotated[int, Field(strict=True, ge=0)]] = Field(default=None, description="The unique ID of the Franchisereoffice", alias="fkiFranchiseofficeID") + fki_franchisefranchise_id: Optional[Annotated[int, Field(le=65535, strict=True, ge=0)]] = Field(default=None, description="The unique ID of the Franchisefranchise", alias="fkiFranchisefranchiseID") + fki_franchisecomplaint_id: Optional[Annotated[int, Field(le=65535, strict=True, ge=0)]] = Field(default=None, description="The unique ID of the Franchisecomplaint", alias="fkiFranchisecomplaintID") + fki_lead_id: Optional[Annotated[int, Field(le=65535, strict=True, ge=0)]] = Field(default=None, description="The unique ID of the Lead", alias="fkiLeadID") + fki_marketingprogram_id: Optional[Annotated[int, Field(le=255, strict=True, ge=0)]] = Field(default=None, description="The unique ID of the Marketingprogram", alias="fkiMarketingprogramID") + fki_marketingfollow_id: Optional[Annotated[int, Field(le=65535, strict=True, ge=0)]] = Field(default=None, description="The unique ID of the Marketingfollow", alias="fkiMarketingfollowID") + fki_notary_id: Optional[Annotated[int, Field(strict=True, ge=0)]] = Field(default=None, description="The unique ID of the Notary.", alias="fkiNotaryID") + fki_officetaxreport_id: Optional[Annotated[int, Field(le=65535, strict=True, ge=0)]] = Field(default=None, description="The unique ID of the Officetaxreport", alias="fkiOfficetaxreportID") + fki_otherincome_id: Optional[Annotated[int, Field(le=65535, strict=True, ge=1)]] = Field(default=None, description="The unique ID of the Otherincome", alias="fkiOtherincomeID") + fki_paymentpreparation_id: Optional[Annotated[int, Field(le=16777215, strict=True, ge=0)]] = Field(default=None, description="The unique ID of the Paymentpreparation", alias="fkiPaymentpreparationID") + fki_purchase_id: Optional[StrictInt] = Field(default=None, description="The unique ID of the Purchase", alias="fkiPurchaseID") + fki_salary_id: Optional[Annotated[int, Field(le=16777215, strict=True, ge=0)]] = Field(default=None, description="The unique ID of the Salary", alias="fkiSalaryID") + fki_supplier_id: Optional[Annotated[int, Field(strict=True, ge=0)]] = Field(default=None, description="The unique ID of the Supplier.", alias="fkiSupplierID") + fki_tranqcontract_id: Optional[Annotated[int, Field(le=16777215, strict=True, ge=0)]] = Field(default=None, description="The unique ID of the Tranqcontract", alias="fkiTranqcontractID") + fki_template_id: Optional[Annotated[int, Field(le=65535, strict=True, ge=0)]] = Field(default=None, description="The unique ID of the Template", alias="fkiTemplateID") + fki_inscriptionchecklist_id: Optional[Annotated[int, Field(le=16777215, strict=True, ge=0)]] = Field(default=None, description="The unique ID of the Inscriptionchecklist", alias="fkiInscriptionchecklistID") + fki_folder_id: Optional[Annotated[int, Field(le=65535, strict=True, ge=0)]] = Field(default=None, description="The unique ID of the Folder", alias="fkiFolderID") + fki_rejectedoffertopurchase_id: Optional[Annotated[int, Field(le=65535, strict=True, ge=1)]] = Field(default=None, description="The unique ID of the Rejectedoffertopurchase", alias="fkiRejectedoffertopurchaseID") + fki_disclosure_id: Optional[Annotated[int, Field(le=65535, strict=True, ge=0)]] = Field(default=None, description="The unique ID of the Disclosure", alias="fkiDisclosureID") + fki_reconciliation_id: Optional[Annotated[int, Field(le=65535, strict=True, ge=0)]] = Field(default=None, description="The unique ID of the Reconciliation", alias="fkiReconciliationID") + fki_ezsigndocument_id_reference: Optional[Annotated[int, Field(strict=True, ge=0)]] = Field(default=None, description="The unique ID of the Ezsigndocument", alias="fkiEzsigndocumentIDReference") + e_attachment_documenttype: FieldEAttachmentDocumenttype = Field(alias="eAttachmentDocumenttype") + s_attachment_name: Annotated[str, Field(strict=True)] = Field(description="The name of the Attachment", alias="sAttachmentName") + e_attachment_privacy: FieldEAttachmentPrivacy = Field(alias="eAttachmentPrivacy") + fki_user_id_specific: Optional[Annotated[int, Field(strict=True, ge=0)]] = Field(default=None, description="The unique ID of the User", alias="fkiUserIDSpecific") + e_attachment_type: FieldEAttachmentType = Field(alias="eAttachmentType") + i_attachment_size: Annotated[int, Field(le=4294967295, strict=True, ge=0)] = Field(description="The size of the Attachment", alias="iAttachmentSize") + i_attachment_ed_mmoduleflag: Optional[Annotated[int, Field(le=255, strict=True, ge=0)]] = Field(default=None, description="The edmmoduleflag of the Attachment", alias="iAttachmentEDMmoduleflag") + s_attachment_md5: Annotated[str, Field(strict=True)] = Field(description="The md5 of the Attachment", alias="sAttachmentMD5") + b_attachment_deleted: StrictBool = Field(description="Whether if it's deleted", alias="bAttachmentDeleted") + b_attachment_valid: StrictBool = Field(description="Whether if it's valid", alias="bAttachmentValid") + e_attachment_verified: FieldEAttachmentVerified = Field(alias="eAttachmentVerified") + t_attachment_rejectioncomment: Optional[Annotated[str, Field(strict=True)]] = Field(default=None, description="The rejectioncomment of the Attachment", alias="tAttachmentRejectioncomment") + fki_user_id_owner: Optional[Annotated[int, Field(strict=True, ge=0)]] = Field(default=None, description="The unique ID of the User", alias="fkiUserIDOwner") + obj_audit: Optional[CommonAudit] = Field(default=None, alias="objAudit") obj_attachment_proof: Optional[AttachmentResponseCompound] = Field(default=None, alias="objAttachmentProof") obj_attachment_proofdocument: Optional[AttachmentResponseCompound] = Field(default=None, alias="objAttachmentProofdocument") a_obj_attachment_attachment: Optional[List[AttachmentResponseCompound]] = Field(default=None, alias="a_objAttachmentAttachment") a_obj_attachment_version: Optional[List[AttachmentResponseCompound]] = Field(default=None, alias="a_objAttachmentVersion") __properties: ClassVar[List[str]] = ["pkiAttachmentID", "fkiComputerID", "fkiAdjustmentID", "fkiAgentID", "fkiBankaccountID", "fkiBrokerID", "fkiCommissionadvanceID", "fkiCommunicationID", "fkiCustomerID", "fkiCustomertemplateID", "fkiDepositID", "fkiDeposittransitchequeID", "fkiElectronicfundstransferID", "fkiEmployeeID", "fkiExternalbrokerID", "fkiEzcomadvanceserverID", "fkiEzcomcompanyID", "fkiEzsigndocumentID", "fkiGhacqcontractID", "fkiInscriptionID", "fkiInscriptiontempID", "fkiInscriptionnotauthenticatedID", "fkiInvoiceID", "fkiBuyercontractID", "fkiFranchisebrokerID", "fkiFranchiseagenceID", "fkiFranchiseofficeID", "fkiFranchisefranchiseID", "fkiFranchisecomplaintID", "fkiLeadID", "fkiMarketingprogramID", "fkiMarketingfollowID", "fkiNotaryID", "fkiOfficetaxreportID", "fkiOtherincomeID", "fkiPaymentpreparationID", "fkiPurchaseID", "fkiSalaryID", "fkiSupplierID", "fkiTranqcontractID", "fkiTemplateID", "fkiInscriptionchecklistID", "fkiFolderID", "fkiRejectedoffertopurchaseID", "fkiDisclosureID", "fkiReconciliationID", "fkiEzsigndocumentIDReference", "eAttachmentDocumenttype", "sAttachmentName", "eAttachmentPrivacy", "fkiUserIDSpecific", "eAttachmentType", "iAttachmentSize", "iAttachmentEDMmoduleflag", "sAttachmentMD5", "bAttachmentDeleted", "bAttachmentValid", "eAttachmentVerified", "tAttachmentRejectioncomment", "fkiUserIDOwner", "objAudit", "objAttachmentProof", "objAttachmentProofdocument", "a_objAttachmentAttachment", "a_objAttachmentVersion"] + @field_validator('s_attachment_name') + def s_attachment_name_validate_regular_expression(cls, value): + """Validates the regular expression""" + if not re.match(r"^.{0,75}$", value): + raise ValueError(r"must validate the regular expression /^.{0,75}$/") + return value + + @field_validator('s_attachment_md5') + def s_attachment_md5_validate_regular_expression(cls, value): + """Validates the regular expression""" + if not re.match(r"^.{0,32}$", value): + raise ValueError(r"must validate the regular expression /^.{0,32}$/") + return value + + @field_validator('t_attachment_rejectioncomment') + def t_attachment_rejectioncomment_validate_regular_expression(cls, value): + """Validates the regular expression""" + if value is None: + return value + + if not re.match(r"^.{0,65535}$", value): + raise ValueError(r"must validate the regular expression /^.{0,65535}$/") + return value + model_config = ConfigDict( populate_by_name=True, validate_assignment=True, diff --git a/eZmaxApi/models/custom_communicationrecipientsrecipient_response.py b/eZmaxApi/models/custom_communicationrecipientsrecipient_response.py index d4813ea2b..591bdca31 100644 --- a/eZmaxApi/models/custom_communicationrecipientsrecipient_response.py +++ b/eZmaxApi/models/custom_communicationrecipientsrecipient_response.py @@ -22,7 +22,7 @@ from typing import Any, ClassVar, Dict, List, Optional from typing_extensions import Annotated from eZmaxApi.models.custom_contact_name_response import CustomContactNameResponse -from eZmaxApi.models.email_response import EmailResponse +from eZmaxApi.models.email_response_compound import EmailResponseCompound from eZmaxApi.models.phone_response_compound import PhoneResponseCompound from typing import Optional, Set from typing_extensions import Self @@ -48,7 +48,7 @@ class CustomCommunicationrecipientsrecipientResponse(BaseModel): fki_supplier_id: Optional[Annotated[int, Field(strict=True, ge=0)]] = Field(default=None, description="The unique ID of the Supplier.", alias="fkiSupplierID") e_communicationrecipientsrecipient_objecttype: StrictStr = Field(alias="eCommunicationrecipientsrecipientObjecttype") obj_contact_name: CustomContactNameResponse = Field(alias="objContactName") - obj_email: Optional[EmailResponse] = Field(default=None, description="An Email Object and children to create a complete structure", alias="objEmail") + obj_email: Optional[EmailResponseCompound] = Field(default=None, alias="objEmail") obj_phone_fax: Optional[PhoneResponseCompound] = Field(default=None, alias="objPhoneFax") obj_phone_sms: Optional[PhoneResponseCompound] = Field(default=None, alias="objPhoneSMS") __properties: ClassVar[List[str]] = ["fkiAgentID", "fkiBrokerID", "fkiContactID", "fkiCustomerID", "fkiEmployeeID", "fkiEzsignsignerID", "fkiFranchiseofficeID", "fkiUserID", "fkiAgentincorporationID", "fkiAssistantID", "fkiExternalbrokerID", "fkiEzcomagentID", "fkiNotaryID", "fkiRewardmemberID", "fkiSupplierID", "eCommunicationrecipientsrecipientObjecttype", "objContactName", "objEmail", "objPhoneFax", "objPhoneSMS"] @@ -140,7 +140,7 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: "fkiSupplierID": obj.get("fkiSupplierID"), "eCommunicationrecipientsrecipientObjecttype": obj.get("eCommunicationrecipientsrecipientObjecttype"), "objContactName": CustomContactNameResponse.from_dict(obj["objContactName"]) if obj.get("objContactName") is not None else None, - "objEmail": EmailResponse.from_dict(obj["objEmail"]) if obj.get("objEmail") is not None else None, + "objEmail": EmailResponseCompound.from_dict(obj["objEmail"]) if obj.get("objEmail") is not None else None, "objPhoneFax": PhoneResponseCompound.from_dict(obj["objPhoneFax"]) if obj.get("objPhoneFax") is not None else None, "objPhoneSMS": PhoneResponseCompound.from_dict(obj["objPhoneSMS"]) if obj.get("objPhoneSMS") is not None else None }) diff --git a/eZmaxApi/models/custom_communicationsender_response.py b/eZmaxApi/models/custom_communicationsender_response.py index a87560eb3..cae87e74e 100644 --- a/eZmaxApi/models/custom_communicationsender_response.py +++ b/eZmaxApi/models/custom_communicationsender_response.py @@ -22,7 +22,7 @@ from typing import Any, ClassVar, Dict, List, Optional from typing_extensions import Annotated from eZmaxApi.models.custom_contact_name_response import CustomContactNameResponse -from eZmaxApi.models.email_response import EmailResponse +from eZmaxApi.models.email_response_compound import EmailResponseCompound from eZmaxApi.models.phone_response_compound import PhoneResponseCompound from typing import Optional, Set from typing_extensions import Self @@ -38,7 +38,7 @@ class CustomCommunicationsenderResponse(BaseModel): fki_phonelineshared_id: Optional[Annotated[int, Field(le=255, strict=True, ge=0)]] = Field(default=None, description="The unique ID of the Phonelineshared", alias="fkiPhonelinesharedID") e_communicationsender_objecttype: StrictStr = Field(alias="eCommunicationsenderObjecttype") obj_contact_name: CustomContactNameResponse = Field(alias="objContactName") - obj_email: Optional[EmailResponse] = Field(default=None, description="An Email Object and children to create a complete structure", alias="objEmail") + obj_email: Optional[EmailResponseCompound] = Field(default=None, alias="objEmail") obj_phone_fax: Optional[PhoneResponseCompound] = Field(default=None, alias="objPhoneFax") obj_phone_sms: Optional[PhoneResponseCompound] = Field(default=None, alias="objPhoneSMS") __properties: ClassVar[List[str]] = ["fkiAgentID", "fkiBrokerID", "fkiUserID", "fkiMailboxsharedID", "fkiPhonelinesharedID", "eCommunicationsenderObjecttype", "objContactName", "objEmail", "objPhoneFax", "objPhoneSMS"] @@ -120,7 +120,7 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: "fkiPhonelinesharedID": obj.get("fkiPhonelinesharedID"), "eCommunicationsenderObjecttype": obj.get("eCommunicationsenderObjecttype"), "objContactName": CustomContactNameResponse.from_dict(obj["objContactName"]) if obj.get("objContactName") is not None else None, - "objEmail": EmailResponse.from_dict(obj["objEmail"]) if obj.get("objEmail") is not None else None, + "objEmail": EmailResponseCompound.from_dict(obj["objEmail"]) if obj.get("objEmail") is not None else None, "objPhoneFax": PhoneResponseCompound.from_dict(obj["objPhoneFax"]) if obj.get("objPhoneFax") is not None else None, "objPhoneSMS": PhoneResponseCompound.from_dict(obj["objPhoneSMS"]) if obj.get("objPhoneSMS") is not None else None }) diff --git a/eZmaxApi/models/custom_ezsigndocument_request.py b/eZmaxApi/models/custom_ezsigndocument_request.py index e3d9a4ebe..db5ca534f 100644 --- a/eZmaxApi/models/custom_ezsigndocument_request.py +++ b/eZmaxApi/models/custom_ezsigndocument_request.py @@ -21,7 +21,7 @@ from pydantic import BaseModel, ConfigDict, Field from typing import Any, ClassVar, Dict, List from typing_extensions import Annotated -from eZmaxApi.models.ezsigndocumentdependency_request import EzsigndocumentdependencyRequest +from eZmaxApi.models.ezsigndocumentdependency_request_compound import EzsigndocumentdependencyRequestCompound from typing import Optional, Set from typing_extensions import Self @@ -30,7 +30,7 @@ class CustomEzsigndocumentRequest(BaseModel): Request for POST /2/object/ezsignfolder/{pkiEzsignfolderID}/reorder """ # noqa: E501 pki_ezsigndocument_id: Annotated[int, Field(strict=True, ge=0)] = Field(description="The unique ID of the Ezsigndocument", alias="pkiEzsigndocumentID") - a_obj_ezsigndocumentdependency: List[EzsigndocumentdependencyRequest] = Field(alias="a_objEzsigndocumentdependency") + a_obj_ezsigndocumentdependency: List[EzsigndocumentdependencyRequestCompound] = Field(alias="a_objEzsigndocumentdependency") __properties: ClassVar[List[str]] = ["pkiEzsigndocumentID", "a_objEzsigndocumentdependency"] model_config = ConfigDict( @@ -92,7 +92,7 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: _obj = cls.model_validate({ "pkiEzsigndocumentID": obj.get("pkiEzsigndocumentID"), - "a_objEzsigndocumentdependency": [EzsigndocumentdependencyRequest.from_dict(_item) for _item in obj["a_objEzsigndocumentdependency"]] if obj.get("a_objEzsigndocumentdependency") is not None else None + "a_objEzsigndocumentdependency": [EzsigndocumentdependencyRequestCompound.from_dict(_item) for _item in obj["a_objEzsigndocumentdependency"]] if obj.get("a_objEzsigndocumentdependency") is not None else None }) return _obj diff --git a/eZmaxApi/models/custom_ezsignfoldersignerassociation_actionable_element_response.py b/eZmaxApi/models/custom_ezsignfoldersignerassociation_actionable_element_response.py index e8f88e50b..f208c9c48 100644 --- a/eZmaxApi/models/custom_ezsignfoldersignerassociation_actionable_element_response.py +++ b/eZmaxApi/models/custom_ezsignfoldersignerassociation_actionable_element_response.py @@ -18,19 +18,28 @@ import re # noqa: F401 import json -from pydantic import ConfigDict, Field, StrictBool -from typing import Any, ClassVar, Dict, List -from eZmaxApi.models.ezsignfoldersignerassociation_response_compound import EzsignfoldersignerassociationResponseCompound +from pydantic import BaseModel, ConfigDict, Field, StrictBool, StrictStr +from typing import Any, ClassVar, Dict, List, Optional +from typing_extensions import Annotated from eZmaxApi.models.ezsignfoldersignerassociation_response_compound_user import EzsignfoldersignerassociationResponseCompoundUser from eZmaxApi.models.ezsignsigner_response_compound import EzsignsignerResponseCompound from eZmaxApi.models.ezsignsignergroup_response_compound import EzsignsignergroupResponseCompound from typing import Optional, Set from typing_extensions import Self -class CustomEzsignfoldersignerassociationActionableElementResponse(EzsignfoldersignerassociationResponseCompound): +class CustomEzsignfoldersignerassociationActionableElementResponse(BaseModel): """ A Ezsignfoldersignerassociation Object with actionable elements """ # noqa: E501 + pki_ezsignfoldersignerassociation_id: Annotated[int, Field(strict=True, ge=0)] = Field(description="The unique ID of the Ezsignfoldersignerassociation", alias="pkiEzsignfoldersignerassociationID") + fki_ezsignfolder_id: Annotated[int, Field(strict=True, ge=0)] = Field(description="The unique ID of the Ezsignfolder", alias="fkiEzsignfolderID") + b_ezsignfoldersignerassociation_delayedsend: StrictBool = Field(description="If this flag is true the signatory is part of a delayed send.", alias="bEzsignfoldersignerassociationDelayedsend") + b_ezsignfoldersignerassociation_receivecopy: StrictBool = Field(description="If this flag is true. The signatory will receive a copy of every signed Ezsigndocument even if it ain't required to sign the document.", alias="bEzsignfoldersignerassociationReceivecopy") + t_ezsignfoldersignerassociation_message: StrictStr = Field(description="A custom text message that will be added to the email sent.", alias="tEzsignfoldersignerassociationMessage") + b_ezsignfoldersignerassociation_allowsigninginperson: StrictBool = Field(description="If the Ezsignfoldersignerassociation is allowed to sign in person or not", alias="bEzsignfoldersignerassociationAllowsigninginperson") + obj_ezsignsignergroup: Optional[EzsignsignergroupResponseCompound] = Field(default=None, alias="objEzsignsignergroup") + obj_user: Optional[EzsignfoldersignerassociationResponseCompoundUser] = Field(default=None, alias="objUser") + obj_ezsignsigner: Optional[EzsignsignerResponseCompound] = Field(default=None, alias="objEzsignsigner") b_ezsignfoldersignerassociation_hasactionableelements_current: StrictBool = Field(description="Indicates if the Ezsignfoldersignerassociation has actionable elements in the current step", alias="bEzsignfoldersignerassociationHasactionableelementsCurrent") b_ezsignfoldersignerassociation_hasactionableelements_future: StrictBool = Field(description="Indicates if the Ezsignfoldersignerassociation has actionable elements in a future step", alias="bEzsignfoldersignerassociationHasactionableelementsFuture") __properties: ClassVar[List[str]] = ["pkiEzsignfoldersignerassociationID", "fkiEzsignfolderID", "bEzsignfoldersignerassociationDelayedsend", "bEzsignfoldersignerassociationReceivecopy", "tEzsignfoldersignerassociationMessage", "bEzsignfoldersignerassociationAllowsigninginperson", "objEzsignsignergroup", "objUser", "objEzsignsigner", "bEzsignfoldersignerassociationHasactionableelementsCurrent", "bEzsignfoldersignerassociationHasactionableelementsFuture"] diff --git a/eZmaxApi/models/custom_ezsignformfielderror_response.py b/eZmaxApi/models/custom_ezsignformfielderror_response.py index f80560b55..52062b0c0 100644 --- a/eZmaxApi/models/custom_ezsignformfielderror_response.py +++ b/eZmaxApi/models/custom_ezsignformfielderror_response.py @@ -20,6 +20,7 @@ from pydantic import BaseModel, ConfigDict, Field, StrictStr from typing import Any, ClassVar, Dict, List +from eZmaxApi.models.custom_ezsignformfielderrortest_response import CustomEzsignformfielderrortestResponse from typing import Optional, Set from typing_extensions import Self @@ -28,7 +29,7 @@ class CustomEzsignformfielderrorResponse(BaseModel): A Custom Ezsignformfield Object to contain an error list """ # noqa: E501 s_ezsignformfield_label: StrictStr = Field(description="The Label for the Ezsignformfield", alias="sEzsignformfieldLabel") - a_obj_ezsignformfielderrortest: List[object] = Field(alias="a_objEzsignformfielderrortest") + a_obj_ezsignformfielderrortest: List[CustomEzsignformfielderrortestResponse] = Field(alias="a_objEzsignformfielderrortest") __properties: ClassVar[List[str]] = ["sEzsignformfieldLabel", "a_objEzsignformfielderrortest"] model_config = ConfigDict( @@ -70,6 +71,13 @@ def to_dict(self) -> Dict[str, Any]: exclude=excluded_fields, exclude_none=True, ) + # override the default output from pydantic by calling `to_dict()` of each item in a_obj_ezsignformfielderrortest (list) + _items = [] + if self.a_obj_ezsignformfielderrortest: + for _item_a_obj_ezsignformfielderrortest in self.a_obj_ezsignformfielderrortest: + if _item_a_obj_ezsignformfielderrortest: + _items.append(_item_a_obj_ezsignformfielderrortest.to_dict()) + _dict['a_objEzsignformfielderrortest'] = _items return _dict @classmethod @@ -83,7 +91,7 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: _obj = cls.model_validate({ "sEzsignformfieldLabel": obj.get("sEzsignformfieldLabel"), - "a_objEzsignformfielderrortest": obj.get("a_objEzsignformfielderrortest") + "a_objEzsignformfielderrortest": [CustomEzsignformfielderrortestResponse.from_dict(_item) for _item in obj["a_objEzsignformfielderrortest"]] if obj.get("a_objEzsignformfielderrortest") is not None else None }) return _obj diff --git a/eZmaxApi/models/custom_ezsignformfieldgroup_create_ezsignelements_positioned_by_word_request.py b/eZmaxApi/models/custom_ezsignformfieldgroup_create_ezsignelements_positioned_by_word_request.py index 4f860ceb1..2ab06ccd2 100644 --- a/eZmaxApi/models/custom_ezsignformfieldgroup_create_ezsignelements_positioned_by_word_request.py +++ b/eZmaxApi/models/custom_ezsignformfieldgroup_create_ezsignelements_positioned_by_word_request.py @@ -18,27 +18,57 @@ import re # noqa: F401 import json -from pydantic import ConfigDict, Field -from typing import Any, ClassVar, Dict, List +from pydantic import BaseModel, ConfigDict, Field, StrictBool, StrictStr, field_validator +from typing import Any, ClassVar, Dict, List, Optional +from typing_extensions import Annotated from eZmaxApi.models.custom_create_ezsignelements_positioned_by_word_request import CustomCreateEzsignelementsPositionedByWordRequest -from eZmaxApi.models.custom_dropdown_element_request import CustomDropdownElementRequest +from eZmaxApi.models.custom_dropdown_element_request_compound import CustomDropdownElementRequestCompound from eZmaxApi.models.enum_textvalidation import EnumTextvalidation from eZmaxApi.models.ezsignformfield_request_compound import EzsignformfieldRequestCompound -from eZmaxApi.models.ezsignformfieldgroup_request_compound import EzsignformfieldgroupRequestCompound -from eZmaxApi.models.ezsignformfieldgroupsigner_request import EzsignformfieldgroupsignerRequest +from eZmaxApi.models.ezsignformfieldgroupsigner_request_compound import EzsignformfieldgroupsignerRequestCompound from eZmaxApi.models.field_e_ezsignformfieldgroup_signerrequirement import FieldEEzsignformfieldgroupSignerrequirement from eZmaxApi.models.field_e_ezsignformfieldgroup_tooltipposition import FieldEEzsignformfieldgroupTooltipposition from eZmaxApi.models.field_e_ezsignformfieldgroup_type import FieldEEzsignformfieldgroupType from typing import Optional, Set from typing_extensions import Self -class CustomEzsignformfieldgroupCreateEzsignelementsPositionedByWordRequest(EzsignformfieldgroupRequestCompound): +class CustomEzsignformfieldgroupCreateEzsignelementsPositionedByWordRequest(BaseModel): """ An Ezsignformfieldgroup Object in the context of a createEzsignelementsPositionedByWord path """ # noqa: E501 + pki_ezsignformfieldgroup_id: Optional[Annotated[int, Field(strict=True, ge=0)]] = Field(default=None, description="The unique ID of the Ezsignformfieldgroup", alias="pkiEzsignformfieldgroupID") + fki_ezsigndocument_id: Annotated[int, Field(strict=True, ge=0)] = Field(description="The unique ID of the Ezsigndocument", alias="fkiEzsigndocumentID") + e_ezsignformfieldgroup_type: FieldEEzsignformfieldgroupType = Field(alias="eEzsignformfieldgroupType") + e_ezsignformfieldgroup_signerrequirement: Optional[FieldEEzsignformfieldgroupSignerrequirement] = Field(default=None, alias="eEzsignformfieldgroupSignerrequirement") + s_ezsignformfieldgroup_label: Annotated[str, Field(min_length=1, strict=True, max_length=50)] = Field(description="The Label for the Ezsignformfieldgroup", alias="sEzsignformfieldgroupLabel") + i_ezsignformfieldgroup_step: Annotated[int, Field(strict=True, ge=1)] = Field(description="The step when the Ezsignsigner will be invited to fill the form fields", alias="iEzsignformfieldgroupStep") + s_ezsignformfieldgroup_defaultvalue: Optional[StrictStr] = Field(default=None, description="The default value for the Ezsignformfieldgroup You can use the codes below and they will be replaced at signature time. | Code | Description | Example | | ------------------------- | ------------ | ------------ | | {sUserFirstname} | The first name of the contact | John | | {sUserLastname} | The last name of the contact | Doe | | {sUserJobtitle} | The job title | Sales Representative | | {sCompany} | Company name | eZmax Solutions Inc. | | {sEmailAddress} | The email address | email@example.com | | {sPhoneE164} | A phone number in E.164 Format | +15149901516 | | {sPhoneE164Cell} | A phone number in E.164 Format | +15149901516 |", alias="sEzsignformfieldgroupDefaultvalue") + i_ezsignformfieldgroup_filledmin: Annotated[int, Field(strict=True, ge=0)] = Field(description="The minimum number of Ezsignformfield that must be filled in the Ezsignformfieldgroup", alias="iEzsignformfieldgroupFilledmin") + i_ezsignformfieldgroup_filledmax: Annotated[int, Field(strict=True, ge=0)] = Field(description="The maximum number of Ezsignformfield that must be filled in the Ezsignformfieldgroup", alias="iEzsignformfieldgroupFilledmax") + b_ezsignformfieldgroup_readonly: StrictBool = Field(description="Whether the Ezsignformfieldgroup is read only or not.", alias="bEzsignformfieldgroupReadonly") + i_ezsignformfieldgroup_maxlength: Optional[Annotated[int, Field(le=65535, strict=True, ge=0)]] = Field(default=None, description="The maximum length for the value in the Ezsignformfieldgroup This can only be set if eEzsignformfieldgroupType is **Text** or **Textarea**", alias="iEzsignformfieldgroupMaxlength") + b_ezsignformfieldgroup_encrypted: Optional[StrictBool] = Field(default=None, description="Whether the Ezsignformfieldgroup is encrypted in the database or not. Encrypted values are not displayed on the Ezsigndocument. This can only be set if eEzsignformfieldgroupType is **Text** or **Textarea**", alias="bEzsignformfieldgroupEncrypted") + s_ezsignformfieldgroup_regexp: Optional[Annotated[str, Field(strict=True)]] = Field(default=None, description="A regular expression to indicate what values are acceptable for the Ezsignformfieldgroup. This can only be set if eEzsignformfieldgroupType is **Text** or **Textarea**", alias="sEzsignformfieldgroupRegexp") + s_ezsignformfieldgroup_textvalidationcustommessage: Optional[Annotated[str, Field(min_length=0, strict=True, max_length=50)]] = Field(default=None, description="Description of validation rule. Show by signatory.", alias="sEzsignformfieldgroupTextvalidationcustommessage") + t_ezsignformfieldgroup_tooltip: Optional[StrictStr] = Field(default=None, description="A tooltip that will be presented to Ezsignsigner about the Ezsignformfieldgroup", alias="tEzsignformfieldgroupTooltip") + e_ezsignformfieldgroup_tooltipposition: Optional[FieldEEzsignformfieldgroupTooltipposition] = Field(default=None, alias="eEzsignformfieldgroupTooltipposition") + e_ezsignformfieldgroup_textvalidation: Optional[EnumTextvalidation] = Field(default=None, alias="eEzsignformfieldgroupTextvalidation") + a_obj_ezsignformfieldgroupsigner: List[EzsignformfieldgroupsignerRequestCompound] = Field(alias="a_objEzsignformfieldgroupsigner") + a_obj_dropdown_element: Optional[List[CustomDropdownElementRequestCompound]] = Field(default=None, alias="a_objDropdownElement") + a_obj_ezsignformfield: List[EzsignformfieldRequestCompound] = Field(alias="a_objEzsignformfield") obj_createezsignelementspositionedbyword: CustomCreateEzsignelementsPositionedByWordRequest = Field(alias="objCreateezsignelementspositionedbyword") __properties: ClassVar[List[str]] = ["pkiEzsignformfieldgroupID", "fkiEzsigndocumentID", "eEzsignformfieldgroupType", "eEzsignformfieldgroupSignerrequirement", "sEzsignformfieldgroupLabel", "iEzsignformfieldgroupStep", "sEzsignformfieldgroupDefaultvalue", "iEzsignformfieldgroupFilledmin", "iEzsignformfieldgroupFilledmax", "bEzsignformfieldgroupReadonly", "iEzsignformfieldgroupMaxlength", "bEzsignformfieldgroupEncrypted", "sEzsignformfieldgroupRegexp", "sEzsignformfieldgroupTextvalidationcustommessage", "tEzsignformfieldgroupTooltip", "eEzsignformfieldgroupTooltipposition", "eEzsignformfieldgroupTextvalidation", "a_objEzsignformfieldgroupsigner", "a_objDropdownElement", "a_objEzsignformfield", "objCreateezsignelementspositionedbyword"] + @field_validator('s_ezsignformfieldgroup_regexp') + def s_ezsignformfieldgroup_regexp_validate_regular_expression(cls, value): + """Validates the regular expression""" + if value is None: + return value + + if not re.match(r"^\^.*\$$|^$", value): + raise ValueError(r"must validate the regular expression /^\^.*\$$|^$/") + return value + model_config = ConfigDict( populate_by_name=True, validate_assignment=True, @@ -131,8 +161,8 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: "tEzsignformfieldgroupTooltip": obj.get("tEzsignformfieldgroupTooltip"), "eEzsignformfieldgroupTooltipposition": obj.get("eEzsignformfieldgroupTooltipposition"), "eEzsignformfieldgroupTextvalidation": obj.get("eEzsignformfieldgroupTextvalidation"), - "a_objEzsignformfieldgroupsigner": [EzsignformfieldgroupsignerRequest.from_dict(_item) for _item in obj["a_objEzsignformfieldgroupsigner"]] if obj.get("a_objEzsignformfieldgroupsigner") is not None else None, - "a_objDropdownElement": [CustomDropdownElementRequest.from_dict(_item) for _item in obj["a_objDropdownElement"]] if obj.get("a_objDropdownElement") is not None else None, + "a_objEzsignformfieldgroupsigner": [EzsignformfieldgroupsignerRequestCompound.from_dict(_item) for _item in obj["a_objEzsignformfieldgroupsigner"]] if obj.get("a_objEzsignformfieldgroupsigner") is not None else None, + "a_objDropdownElement": [CustomDropdownElementRequestCompound.from_dict(_item) for _item in obj["a_objDropdownElement"]] if obj.get("a_objDropdownElement") is not None else None, "a_objEzsignformfield": [EzsignformfieldRequestCompound.from_dict(_item) for _item in obj["a_objEzsignformfield"]] if obj.get("a_objEzsignformfield") is not None else None, "objCreateezsignelementspositionedbyword": CustomCreateEzsignelementsPositionedByWordRequest.from_dict(obj["objCreateezsignelementspositionedbyword"]) if obj.get("objCreateezsignelementspositionedbyword") is not None else None }) diff --git a/eZmaxApi/models/custom_ezsignformfieldgroup_request.py b/eZmaxApi/models/custom_ezsignformfieldgroup_request.py index 934819bda..8888e00d8 100644 --- a/eZmaxApi/models/custom_ezsignformfieldgroup_request.py +++ b/eZmaxApi/models/custom_ezsignformfieldgroup_request.py @@ -21,6 +21,7 @@ from pydantic import BaseModel, ConfigDict, Field from typing import Any, ClassVar, Dict, List, Optional from typing_extensions import Annotated +from eZmaxApi.models.custom_ezsignformfield_request import CustomEzsignformfieldRequest from typing import Optional, Set from typing_extensions import Self @@ -30,7 +31,7 @@ class CustomEzsignformfieldgroupRequest(BaseModel): """ # noqa: E501 pki_ezsignformfieldgroup_id: Optional[Annotated[int, Field(strict=True, ge=0)]] = Field(default=None, description="The unique ID of the Ezsignformfieldgroup", alias="pkiEzsignformfieldgroupID") s_ezsignformfieldgroup_label: Optional[Annotated[str, Field(min_length=1, strict=True, max_length=50)]] = Field(default=None, description="The Label for the Ezsignformfieldgroup", alias="sEzsignformfieldgroupLabel") - a_obj_ezsignformfield: Annotated[List[object], Field(min_length=1)] = Field(description="An array containing all the values to fill the Ezsignform.", alias="a_objEzsignformfield") + a_obj_ezsignformfield: Annotated[List[CustomEzsignformfieldRequest], Field(min_length=1)] = Field(description="An array containing all the values to fill the Ezsignform.", alias="a_objEzsignformfield") __properties: ClassVar[List[str]] = ["pkiEzsignformfieldgroupID", "sEzsignformfieldgroupLabel", "a_objEzsignformfield"] model_config = ConfigDict( @@ -72,6 +73,13 @@ def to_dict(self) -> Dict[str, Any]: exclude=excluded_fields, exclude_none=True, ) + # override the default output from pydantic by calling `to_dict()` of each item in a_obj_ezsignformfield (list) + _items = [] + if self.a_obj_ezsignformfield: + for _item_a_obj_ezsignformfield in self.a_obj_ezsignformfield: + if _item_a_obj_ezsignformfield: + _items.append(_item_a_obj_ezsignformfield.to_dict()) + _dict['a_objEzsignformfield'] = _items return _dict @classmethod @@ -86,7 +94,7 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: _obj = cls.model_validate({ "pkiEzsignformfieldgroupID": obj.get("pkiEzsignformfieldgroupID"), "sEzsignformfieldgroupLabel": obj.get("sEzsignformfieldgroupLabel"), - "a_objEzsignformfield": obj.get("a_objEzsignformfield") + "a_objEzsignformfield": [CustomEzsignformfieldRequest.from_dict(_item) for _item in obj["a_objEzsignformfield"]] if obj.get("a_objEzsignformfield") is not None else None }) return _obj diff --git a/eZmaxApi/models/custom_ezsignsignature_create_ezsignelements_positioned_by_word_request.py b/eZmaxApi/models/custom_ezsignsignature_create_ezsignelements_positioned_by_word_request.py index 3f0d85dee..64bba72c6 100644 --- a/eZmaxApi/models/custom_ezsignsignature_create_ezsignelements_positioned_by_word_request.py +++ b/eZmaxApi/models/custom_ezsignsignature_create_ezsignelements_positioned_by_word_request.py @@ -18,13 +18,13 @@ import re # noqa: F401 import json -from pydantic import ConfigDict, Field -from typing import Any, ClassVar, Dict, List +from pydantic import BaseModel, ConfigDict, Field, StrictBool, StrictInt, StrictStr, field_validator +from typing import Any, ClassVar, Dict, List, Optional +from typing_extensions import Annotated from eZmaxApi.models.custom_create_ezsignelements_positioned_by_word_request import CustomCreateEzsignelementsPositionedByWordRequest from eZmaxApi.models.enum_textvalidation import EnumTextvalidation -from eZmaxApi.models.ezsignelementdependency_request import EzsignelementdependencyRequest -from eZmaxApi.models.ezsignsignature_request_compound import EzsignsignatureRequestCompound -from eZmaxApi.models.ezsignsignaturecustomdate_request import EzsignsignaturecustomdateRequest +from eZmaxApi.models.ezsignelementdependency_request_compound import EzsignelementdependencyRequestCompound +from eZmaxApi.models.ezsignsignaturecustomdate_request_compound import EzsignsignaturecustomdateRequestCompound from eZmaxApi.models.field_e_ezsignsignature_attachmentnamesource import FieldEEzsignsignatureAttachmentnamesource from eZmaxApi.models.field_e_ezsignsignature_consultationtrigger import FieldEEzsignsignatureConsultationtrigger from eZmaxApi.models.field_e_ezsignsignature_dependencyrequirement import FieldEEzsignsignatureDependencyrequirement @@ -34,13 +34,53 @@ from typing import Optional, Set from typing_extensions import Self -class CustomEzsignsignatureCreateEzsignelementsPositionedByWordRequest(EzsignsignatureRequestCompound): +class CustomEzsignsignatureCreateEzsignelementsPositionedByWordRequest(BaseModel): """ An Ezsignsignature Object in the context of an CreateEzsignelementsPositionedByWord path """ # noqa: E501 + pki_ezsignsignature_id: Optional[Annotated[int, Field(strict=True, ge=0)]] = Field(default=None, description="The unique ID of the Ezsignsignature", alias="pkiEzsignsignatureID") + fki_ezsignfoldersignerassociation_id: Annotated[int, Field(strict=True, ge=0)] = Field(description="The unique ID of the Ezsignfoldersignerassociation", alias="fkiEzsignfoldersignerassociationID") + i_ezsignpage_pagenumber: Annotated[int, Field(strict=True, ge=1)] = Field(description="The page number in the Ezsigndocument", alias="iEzsignpagePagenumber") + i_ezsignsignature_x: Annotated[int, Field(strict=True, ge=0)] = Field(description="The X coordinate (Horizontal) where to put the Ezsignsignature on the page. Coordinate is calculated at 100dpi (dot per inch). So for example, if you want to put the Ezsignsignature 2 inches from the left border of the page, you would use \"200\" for the X coordinate.", alias="iEzsignsignatureX") + i_ezsignsignature_y: Annotated[int, Field(strict=True, ge=0)] = Field(description="The Y coordinate (Vertical) where to put the Ezsignsignature on the page. Coordinate is calculated at 100dpi (dot per inch). So for example, if you want to put the Ezsignsignature 3 inches from the top border of the page, you would use \"300\" for the Y coordinate.", alias="iEzsignsignatureY") + i_ezsignsignature_width: Optional[Annotated[int, Field(strict=True, ge=0)]] = Field(default=None, description="The width of the Ezsignsignature. Size is calculated at 100dpi (dot per inch). So for example, if you want the Ezsignsignature to have a width of 2 inches, you would use \"200\" for the iEzsignsignatureWidth.", alias="iEzsignsignatureWidth") + i_ezsignsignature_height: Optional[Annotated[int, Field(strict=True, ge=0)]] = Field(default=None, description="The height of the Ezsignsignature. Size is calculated at 100dpi (dot per inch). So for example, if you want the Ezsignsignature to have an height of 2 inches, you would use \"200\" for the iEzsignsignatureHeight.", alias="iEzsignsignatureHeight") + i_ezsignsignature_step: StrictInt = Field(description="The step when the Ezsignsigner will be invited to sign", alias="iEzsignsignatureStep") + e_ezsignsignature_type: FieldEEzsignsignatureType = Field(alias="eEzsignsignatureType") + fki_ezsigndocument_id: Annotated[int, Field(strict=True, ge=0)] = Field(description="The unique ID of the Ezsigndocument", alias="fkiEzsigndocumentID") + t_ezsignsignature_tooltip: Optional[StrictStr] = Field(default=None, description="A tooltip that will be presented to Ezsignsigner about the Ezsignsignature", alias="tEzsignsignatureTooltip") + e_ezsignsignature_tooltipposition: Optional[FieldEEzsignsignatureTooltipposition] = Field(default=None, alias="eEzsignsignatureTooltipposition") + e_ezsignsignature_font: Optional[FieldEEzsignsignatureFont] = Field(default=None, alias="eEzsignsignatureFont") + fki_ezsignfoldersignerassociation_id_validation: Optional[Annotated[int, Field(strict=True, ge=0)]] = Field(default=None, description="The unique ID of the Ezsignfoldersignerassociation", alias="fkiEzsignfoldersignerassociationIDValidation") + b_ezsignsignature_handwritten: Optional[StrictBool] = Field(default=None, description="Whether the Ezsignsignature must be handwritten or not when eEzsignsignatureType = Signature.", alias="bEzsignsignatureHandwritten") + b_ezsignsignature_reason: Optional[StrictBool] = Field(default=None, description="Whether the Ezsignsignature must include a reason or not when eEzsignsignatureType = Signature.", alias="bEzsignsignatureReason") + b_ezsignsignature_required: Optional[StrictBool] = Field(default=None, description="Whether the Ezsignsignature is required or not. This field is relevant only with Ezsignsignature with eEzsignsignatureType = Attachments, Text or Textarea.", alias="bEzsignsignatureRequired") + e_ezsignsignature_attachmentnamesource: Optional[FieldEEzsignsignatureAttachmentnamesource] = Field(default=None, alias="eEzsignsignatureAttachmentnamesource") + s_ezsignsignature_attachmentdescription: Optional[StrictStr] = Field(default=None, description="The description attached to the attachment name added in Ezsignsignature of eEzsignsignatureType Attachments", alias="sEzsignsignatureAttachmentdescription") + e_ezsignsignature_consultationtrigger: Optional[FieldEEzsignsignatureConsultationtrigger] = Field(default=None, alias="eEzsignsignatureConsultationtrigger") + i_ezsignsignature_validationstep: Optional[StrictInt] = Field(default=None, description="The step when the Ezsignsigner will be invited to validate the Ezsignsignature of eEzsignsignatureType Attachments", alias="iEzsignsignatureValidationstep") + i_ezsignsignature_maxlength: Optional[Annotated[int, Field(le=65535, strict=True, ge=0)]] = Field(default=None, description="The maximum length for the value in the Ezsignsignature This can only be set if eEzsignsignatureType is **FieldText** or **FieldTextarea**", alias="iEzsignsignatureMaxlength") + s_ezsignsignature_defaultvalue: Optional[StrictStr] = Field(default=None, description="The default value for the Ezsignsignature You can use the codes below and they will be replaced at signature time. | Code | Description | Example | | ------------------------- | ------------ | ------------ | | {sUserFirstname} | The first name of the contact | John | | {sUserLastname} | The last name of the contact | Doe | | {sUserJobtitle} | The job title | Sales Representative | | {sCompany} | Company name | eZmax Solutions Inc. | | {sEmailAddress} | The email address | email@example.com | | {sPhoneE164} | A phone number in E.164 Format | +15149901516 | | {sPhoneE164Cell} | A phone number in E.164 Format | +15149901516 |", alias="sEzsignsignatureDefaultvalue") + e_ezsignsignature_textvalidation: Optional[EnumTextvalidation] = Field(default=None, alias="eEzsignsignatureTextvalidation") + s_ezsignsignature_textvalidationcustommessage: Optional[Annotated[str, Field(min_length=0, strict=True, max_length=50)]] = Field(default=None, description="Description of validation rule. Show by signatory.", alias="sEzsignsignatureTextvalidationcustommessage") + s_ezsignsignature_regexp: Optional[Annotated[str, Field(strict=True)]] = Field(default=None, description="A regular expression to indicate what values are acceptable for the Ezsignsignature. This can only be set if eEzsignsignatureType is **FieldText** or **FieldTextarea** and eEzsignsignatureTextvalidation is **Custom**", alias="sEzsignsignatureRegexp") + e_ezsignsignature_dependencyrequirement: Optional[FieldEEzsignsignatureDependencyrequirement] = Field(default=None, alias="eEzsignsignatureDependencyrequirement") + b_ezsignsignature_customdate: Optional[StrictBool] = Field(default=None, description="Whether the Ezsignsignature has a custom date format or not. (Only possible when eEzsignsignatureType is **Name** or **Handwritten**)", alias="bEzsignsignatureCustomdate") + a_obj_ezsignsignaturecustomdate: Optional[List[EzsignsignaturecustomdateRequestCompound]] = Field(default=None, description="An array of custom date blocks that will be filled at the time of signature. Can only be used if bEzsignsignatureCustomdate is true. Use an empty array if you don't want to have a date at all.", alias="a_objEzsignsignaturecustomdate") + a_obj_ezsignelementdependency: Optional[List[EzsignelementdependencyRequestCompound]] = Field(default=None, alias="a_objEzsignelementdependency") obj_createezsignelementspositionedbyword: CustomCreateEzsignelementsPositionedByWordRequest = Field(alias="objCreateezsignelementspositionedbyword") __properties: ClassVar[List[str]] = ["pkiEzsignsignatureID", "fkiEzsignfoldersignerassociationID", "iEzsignpagePagenumber", "iEzsignsignatureX", "iEzsignsignatureY", "iEzsignsignatureWidth", "iEzsignsignatureHeight", "iEzsignsignatureStep", "eEzsignsignatureType", "fkiEzsigndocumentID", "tEzsignsignatureTooltip", "eEzsignsignatureTooltipposition", "eEzsignsignatureFont", "fkiEzsignfoldersignerassociationIDValidation", "bEzsignsignatureHandwritten", "bEzsignsignatureReason", "bEzsignsignatureRequired", "eEzsignsignatureAttachmentnamesource", "sEzsignsignatureAttachmentdescription", "eEzsignsignatureConsultationtrigger", "iEzsignsignatureValidationstep", "iEzsignsignatureMaxlength", "sEzsignsignatureDefaultvalue", "eEzsignsignatureTextvalidation", "sEzsignsignatureTextvalidationcustommessage", "sEzsignsignatureRegexp", "eEzsignsignatureDependencyrequirement", "bEzsignsignatureCustomdate", "a_objEzsignsignaturecustomdate", "a_objEzsignelementdependency", "objCreateezsignelementspositionedbyword"] + @field_validator('s_ezsignsignature_regexp') + def s_ezsignsignature_regexp_validate_regular_expression(cls, value): + """Validates the regular expression""" + if value is None: + return value + + if not re.match(r"^\^.*\$$|^$", value): + raise ValueError(r"must validate the regular expression /^\^.*\$$|^$/") + return value + model_config = ConfigDict( populate_by_name=True, validate_assignment=True, @@ -137,8 +177,8 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: "sEzsignsignatureRegexp": obj.get("sEzsignsignatureRegexp"), "eEzsignsignatureDependencyrequirement": obj.get("eEzsignsignatureDependencyrequirement"), "bEzsignsignatureCustomdate": obj.get("bEzsignsignatureCustomdate"), - "a_objEzsignsignaturecustomdate": [EzsignsignaturecustomdateRequest.from_dict(_item) for _item in obj["a_objEzsignsignaturecustomdate"]] if obj.get("a_objEzsignsignaturecustomdate") is not None else None, - "a_objEzsignelementdependency": [EzsignelementdependencyRequest.from_dict(_item) for _item in obj["a_objEzsignelementdependency"]] if obj.get("a_objEzsignelementdependency") is not None else None, + "a_objEzsignsignaturecustomdate": [EzsignsignaturecustomdateRequestCompound.from_dict(_item) for _item in obj["a_objEzsignsignaturecustomdate"]] if obj.get("a_objEzsignsignaturecustomdate") is not None else None, + "a_objEzsignelementdependency": [EzsignelementdependencyRequestCompound.from_dict(_item) for _item in obj["a_objEzsignelementdependency"]] if obj.get("a_objEzsignelementdependency") is not None else None, "objCreateezsignelementspositionedbyword": CustomCreateEzsignelementsPositionedByWordRequest.from_dict(obj["objCreateezsignelementspositionedbyword"]) if obj.get("objCreateezsignelementspositionedbyword") is not None else None }) return _obj diff --git a/eZmaxApi/models/custom_notificationsubsectiongetnotificationtests_response.py b/eZmaxApi/models/custom_notificationsubsectiongetnotificationtests_response.py index f7a55281a..ba85f8d2d 100644 --- a/eZmaxApi/models/custom_notificationsubsectiongetnotificationtests_response.py +++ b/eZmaxApi/models/custom_notificationsubsectiongetnotificationtests_response.py @@ -18,18 +18,23 @@ import re # noqa: F401 import json -from pydantic import ConfigDict, Field -from typing import Any, ClassVar, Dict, List +from pydantic import BaseModel, ConfigDict, Field, StrictStr +from typing import Any, ClassVar, Dict, List, Optional +from typing_extensions import Annotated from eZmaxApi.models.custom_notificationtestgetnotificationtests_response import CustomNotificationtestgetnotificationtestsResponse from eZmaxApi.models.multilingual_notificationsubsection_name import MultilingualNotificationsubsectionName -from eZmaxApi.models.notificationsubsection_response import NotificationsubsectionResponse from typing import Optional, Set from typing_extensions import Self -class CustomNotificationsubsectiongetnotificationtestsResponse(NotificationsubsectionResponse): +class CustomNotificationsubsectiongetnotificationtestsResponse(BaseModel): """ A Notificationsubsection Object in the context of getNotificationtests """ # noqa: E501 + pki_notificationsubsection_id: Annotated[int, Field(strict=True, ge=0)] = Field(description="The unique ID of the Notificationsubsection", alias="pkiNotificationsubsectionID") + fki_notificationsection_id: Annotated[int, Field(strict=True, ge=0)] = Field(description="The unique ID of the Notificationsection", alias="fkiNotificationsectionID") + obj_notificationsubsection_name: Optional[MultilingualNotificationsubsectionName] = Field(default=None, alias="objNotificationsubsectionName") + s_notificationsection_name_x: Optional[StrictStr] = Field(default=None, description="The name of the Notificationsection in the language of the requester", alias="sNotificationsectionNameX") + s_notificationsubsection_name_x: StrictStr = Field(description="The name of the Notificationsubsection in the language of the requester", alias="sNotificationsubsectionNameX") a_obj_notificationtest: List[CustomNotificationtestgetnotificationtestsResponse] = Field(alias="a_objNotificationtest") __properties: ClassVar[List[str]] = ["pkiNotificationsubsectionID", "fkiNotificationsectionID", "objNotificationsubsectionName", "sNotificationsectionNameX", "sNotificationsubsectionNameX", "a_objNotificationtest"] diff --git a/eZmaxApi/models/custom_notificationtestgetnotificationtests_response.py b/eZmaxApi/models/custom_notificationtestgetnotificationtests_response.py index 5014f2548..b9f90773f 100644 --- a/eZmaxApi/models/custom_notificationtestgetnotificationtests_response.py +++ b/eZmaxApi/models/custom_notificationtestgetnotificationtests_response.py @@ -18,18 +18,23 @@ import re # noqa: F401 import json -from pydantic import ConfigDict, Field, StrictInt +from pydantic import BaseModel, ConfigDict, Field, StrictInt, StrictStr from typing import Any, ClassVar, Dict, List +from typing_extensions import Annotated from eZmaxApi.models.field_e_notificationpreference_status import FieldENotificationpreferenceStatus from eZmaxApi.models.multilingual_notificationtest_name import MultilingualNotificationtestName -from eZmaxApi.models.notificationtest_response import NotificationtestResponse from typing import Optional, Set from typing_extensions import Self -class CustomNotificationtestgetnotificationtestsResponse(NotificationtestResponse): +class CustomNotificationtestgetnotificationtestsResponse(BaseModel): """ A Notificationtest Object in the context of getNotificationtests """ # noqa: E501 + pki_notificationtest_id: Annotated[int, Field(strict=True, ge=0)] = Field(description="The unique ID of the Notificationtest", alias="pkiNotificationtestID") + obj_notificationtest_name: MultilingualNotificationtestName = Field(alias="objNotificationtestName") + fki_notificationsubsection_id: Annotated[int, Field(strict=True, ge=0)] = Field(description="The unique ID of the Notificationsubsection", alias="fkiNotificationsubsectionID") + s_notificationtest_function: StrictStr = Field(description="The function name of the Notificationtest", alias="sNotificationtestFunction") + s_notificationtest_name_x: StrictStr = Field(description="The name of the Notificationtest in the language of the requester", alias="sNotificationtestNameX") e_notificationpreference_status: FieldENotificationpreferenceStatus = Field(alias="eNotificationpreferenceStatus") i_notificationtest: StrictInt = Field(description="The number of elements returned by the Notificationtest", alias="iNotificationtest") __properties: ClassVar[List[str]] = ["pkiNotificationtestID", "objNotificationtestName", "fkiNotificationsubsectionID", "sNotificationtestFunction", "sNotificationtestNameX", "eNotificationpreferenceStatus", "iNotificationtest"] diff --git a/eZmaxApi/models/custom_webhook_response.py b/eZmaxApi/models/custom_webhook_response.py index 2700f3cde..db140e8fd 100644 --- a/eZmaxApi/models/custom_webhook_response.py +++ b/eZmaxApi/models/custom_webhook_response.py @@ -18,27 +18,62 @@ import re # noqa: F401 import json -from pydantic import ConfigDict, Field, StrictBool, StrictStr, field_validator +from pydantic import BaseModel, ConfigDict, Field, StrictBool, StrictInt, StrictStr, field_validator from typing import Any, ClassVar, Dict, List, Optional from typing_extensions import Annotated from eZmaxApi.models.common_audit import CommonAudit from eZmaxApi.models.field_e_webhook_ezsignevent import FieldEWebhookEzsignevent from eZmaxApi.models.field_e_webhook_managementevent import FieldEWebhookManagementevent from eZmaxApi.models.field_e_webhook_module import FieldEWebhookModule -from eZmaxApi.models.webhook_response_compound import WebhookResponseCompound from eZmaxApi.models.webhookheader_response_compound import WebhookheaderResponseCompound from typing import Optional, Set from typing_extensions import Self -class CustomWebhookResponse(WebhookResponseCompound): +class CustomWebhookResponse(BaseModel): """ A custom Webhook object """ # noqa: E501 + pki_webhook_id: StrictInt = Field(description="The unique ID of the Webhook", alias="pkiWebhookID") + fki_authenticationexternal_id: Optional[Annotated[int, Field(le=255, strict=True, ge=0)]] = Field(default=None, description="The unique ID of the Authenticationexternal", alias="fkiAuthenticationexternalID") + s_webhook_description: StrictStr = Field(description="The description of the Webhook", alias="sWebhookDescription") + fki_ezsignfoldertype_id: Optional[Annotated[int, Field(le=65535, strict=True, ge=0)]] = Field(default=None, description="The unique ID of the Ezsignfoldertype.", alias="fkiEzsignfoldertypeID") + s_ezsignfoldertype_name_x: Optional[StrictStr] = Field(default=None, description="The name of the Ezsignfoldertype in the language of the requester", alias="sEzsignfoldertypeNameX") + e_webhook_module: FieldEWebhookModule = Field(alias="eWebhookModule") + e_webhook_ezsignevent: Optional[FieldEWebhookEzsignevent] = Field(default=None, alias="eWebhookEzsignevent") + e_webhook_managementevent: Optional[FieldEWebhookManagementevent] = Field(default=None, alias="eWebhookManagementevent") + s_webhook_url: Annotated[str, Field(strict=True)] = Field(description="The URL of the Webhook callback", alias="sWebhookUrl") + s_webhook_emailfailed: StrictStr = Field(description="The email that will receive the Webhook in case all attempts fail", alias="sWebhookEmailfailed") + s_webhook_apikey: Optional[StrictStr] = Field(default=None, description="The Apikey for the Webhook. This will be hidden if we are not creating or regenerating the Apikey.", alias="sWebhookApikey") + s_webhook_secret: Optional[StrictStr] = Field(default=None, description="The Secret for the Webhook. This will be hidden if we are not creating or regenerating the Apikey.", alias="sWebhookSecret") + b_webhook_isactive: StrictBool = Field(description="Whether the Webhook is active or not", alias="bWebhookIsactive") + b_webhook_issigned: StrictBool = Field(description="Whether the requests will be signed or not", alias="bWebhookIssigned") + b_webhook_skipsslvalidation: StrictBool = Field(description="Wheter the server's SSL certificate should be validated or not. Not recommended to skip for production use", alias="bWebhookSkipsslvalidation") + s_authenticationexternal_description: Optional[Annotated[str, Field(strict=True)]] = Field(default=None, description="The description of the Authenticationexternal", alias="sAuthenticationexternalDescription") + obj_audit: CommonAudit = Field(alias="objAudit") + s_webhook_event: Optional[StrictStr] = Field(default=None, description="The concatenated string to describe the Webhook event", alias="sWebhookEvent") + a_obj_webhookheader: Optional[List[WebhookheaderResponseCompound]] = Field(default=None, alias="a_objWebhookheader") pks_customer_code: Annotated[str, Field(min_length=2, strict=True, max_length=6)] = Field(description="The customer code assigned to your account", alias="pksCustomerCode") b_webhook_test: StrictBool = Field(description="Wheter the webhook received is a manual test or a real event", alias="bWebhookTest") e_webhook_emittype: Optional[StrictStr] = Field(default=None, description="Wheter the webhook received is a manual test or a real event", alias="eWebhookEmittype") __properties: ClassVar[List[str]] = ["pkiWebhookID", "fkiAuthenticationexternalID", "sWebhookDescription", "fkiEzsignfoldertypeID", "sEzsignfoldertypeNameX", "eWebhookModule", "eWebhookEzsignevent", "eWebhookManagementevent", "sWebhookUrl", "sWebhookEmailfailed", "sWebhookApikey", "sWebhookSecret", "bWebhookIsactive", "bWebhookIssigned", "bWebhookSkipsslvalidation", "sAuthenticationexternalDescription", "objAudit", "sWebhookEvent", "a_objWebhookheader", "pksCustomerCode", "bWebhookTest", "eWebhookEmittype"] + @field_validator('s_webhook_url') + def s_webhook_url_validate_regular_expression(cls, value): + """Validates the regular expression""" + if not re.match(r"^(https|http):\/\/[^\s\/$.?#].[^\s]*$", value): + raise ValueError(r"must validate the regular expression /^(https|http):\/\/[^\s\/$.?#].[^\s]*$/") + return value + + @field_validator('s_authenticationexternal_description') + def s_authenticationexternal_description_validate_regular_expression(cls, value): + """Validates the regular expression""" + if value is None: + return value + + if not re.match(r"^.{0,50}$", value): + raise ValueError(r"must validate the regular expression /^.{0,50}$/") + return value + @field_validator('e_webhook_emittype') def e_webhook_emittype_validate_enum(cls, value): """Validates the enum""" diff --git a/eZmaxApi/models/customer_create_object_v1_response.py b/eZmaxApi/models/customer_create_object_v1_response.py index aae29aea5..0ef3fca0d 100644 --- a/eZmaxApi/models/customer_create_object_v1_response.py +++ b/eZmaxApi/models/customer_create_object_v1_response.py @@ -18,19 +18,20 @@ import re # noqa: F401 import json -from pydantic import ConfigDict, Field -from typing import Any, ClassVar, Dict, List -from eZmaxApi.models.common_response import CommonResponse +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List, Optional from eZmaxApi.models.common_response_obj_debug import CommonResponseObjDebug from eZmaxApi.models.common_response_obj_debug_payload import CommonResponseObjDebugPayload from eZmaxApi.models.customer_create_object_v1_response_m_payload import CustomerCreateObjectV1ResponseMPayload from typing import Optional, Set from typing_extensions import Self -class CustomerCreateObjectV1Response(CommonResponse): +class CustomerCreateObjectV1Response(BaseModel): """ Response for POST /1/object/customer """ # noqa: E501 + obj_debug_payload: CommonResponseObjDebugPayload = Field(alias="objDebugPayload") + obj_debug: Optional[CommonResponseObjDebug] = Field(default=None, alias="objDebug") m_payload: CustomerCreateObjectV1ResponseMPayload = Field(alias="mPayload") __properties: ClassVar[List[str]] = ["objDebugPayload", "objDebug", "mPayload"] diff --git a/eZmaxApi/models/customer_get_object_v2_response.py b/eZmaxApi/models/customer_get_object_v2_response.py index db4dcedce..eefc2d5ce 100644 --- a/eZmaxApi/models/customer_get_object_v2_response.py +++ b/eZmaxApi/models/customer_get_object_v2_response.py @@ -18,19 +18,20 @@ import re # noqa: F401 import json -from pydantic import ConfigDict, Field -from typing import Any, ClassVar, Dict, List -from eZmaxApi.models.common_response import CommonResponse +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List, Optional from eZmaxApi.models.common_response_obj_debug import CommonResponseObjDebug from eZmaxApi.models.common_response_obj_debug_payload import CommonResponseObjDebugPayload from eZmaxApi.models.customer_get_object_v2_response_m_payload import CustomerGetObjectV2ResponseMPayload from typing import Optional, Set from typing_extensions import Self -class CustomerGetObjectV2Response(CommonResponse): +class CustomerGetObjectV2Response(BaseModel): """ Response for GET /2/object/customer/{pkiCustomerID} """ # noqa: E501 + obj_debug_payload: CommonResponseObjDebugPayload = Field(alias="objDebugPayload") + obj_debug: Optional[CommonResponseObjDebug] = Field(default=None, alias="objDebug") m_payload: CustomerGetObjectV2ResponseMPayload = Field(alias="mPayload") __properties: ClassVar[List[str]] = ["objDebugPayload", "objDebug", "mPayload"] diff --git a/eZmaxApi/models/customer_request.py b/eZmaxApi/models/customer_request.py index ce4c4bb3e..087584b32 100644 --- a/eZmaxApi/models/customer_request.py +++ b/eZmaxApi/models/customer_request.py @@ -208,7 +208,67 @@ def to_dict(self) -> Dict[str, Any]: return _dict @classmethod - def from_dict(cls, obj: Dict[str, Any]) -> Optional[Self]: + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: """Create an instance of CustomerRequest from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "pkiCustomerID": obj.get("pkiCustomerID"), + "fkiCompanyID": obj.get("fkiCompanyID"), + "fkiCustomergroupID": obj.get("fkiCustomergroupID"), + "sCustomerName": obj.get("sCustomerName"), + "fkiContactinformationsID": obj.get("fkiContactinformationsID"), + "fkiContactcontainerID": obj.get("fkiContactcontainerID"), + "fkiImageID": obj.get("fkiImageID"), + "fkiGlaccountcontainerID": obj.get("fkiGlaccountcontainerID"), + "fkiLanguageID": obj.get("fkiLanguageID"), + "fkiDepartmentID": obj.get("fkiDepartmentID"), + "fkiPaymentmethodID": obj.get("fkiPaymentmethodID"), + "fkiElectronicfundstransferbankaccountID": obj.get("fkiElectronicfundstransferbankaccountID"), + "fkiElectronicfundstransferbankaccountIDDirectdebit": obj.get("fkiElectronicfundstransferbankaccountIDDirectdebit"), + "fkiSendingmethodID": obj.get("fkiSendingmethodID"), + "fkiTaxassignmentID": obj.get("fkiTaxassignmentID"), + "fkiAttendancestatusID": obj.get("fkiAttendancestatusID"), + "fkiAgentIDVariableexpensechargeto": obj.get("fkiAgentIDVariableexpensechargeto"), + "fkiBrokerIDVariableexpensechargeto": obj.get("fkiBrokerIDVariableexpensechargeto"), + "fkiCustomerIDVariableexpensechargeto": obj.get("fkiCustomerIDVariableexpensechargeto"), + "fkiGlaccountcontainerIDVariableexpensechargeto": obj.get("fkiGlaccountcontainerIDVariableexpensechargeto"), + "fkiAgentIDSupplychargechargeto": obj.get("fkiAgentIDSupplychargechargeto"), + "fkiBrokerIDSupplychargechargeto": obj.get("fkiBrokerIDSupplychargechargeto"), + "fkiCustomerIDSupplychargechargeto": obj.get("fkiCustomerIDSupplychargechargeto"), + "fkiGlaccountcontainerIDSupplychargechargeto": obj.get("fkiGlaccountcontainerIDSupplychargechargeto"), + "fkiInvoicealternatelogoID": obj.get("fkiInvoicealternatelogoID"), + "fkiSynchronizationlinkserverID": obj.get("fkiSynchronizationlinkserverID"), + "efkiUserID": obj.get("efkiUserID"), + "efksCustomerCode": obj.get("efksCustomerCode"), + "sCustomerCode": obj.get("sCustomerCode"), + "dCustomerFulltimeequivalent": obj.get("dCustomerFulltimeequivalent"), + "iCustomerPhotocopiercode": obj.get("iCustomerPhotocopiercode"), + "iCustomerLongdistancecode": obj.get("iCustomerLongdistancecode"), + "iCustomerTimewindowstart": obj.get("iCustomerTimewindowstart"), + "iCustomerTimewindowend": obj.get("iCustomerTimewindowend"), + "dCustomerMinimumchargeableinterests": obj.get("dCustomerMinimumchargeableinterests"), + "dtCustomerBirthdate": obj.get("dtCustomerBirthdate"), + "dtCustomerTransfer": obj.get("dtCustomerTransfer"), + "dtCustomerTransferappointment": obj.get("dtCustomerTransferappointment"), + "dtCustomerTransfersurvey": obj.get("dtCustomerTransfersurvey"), + "bCustomerIsactive": obj.get("bCustomerIsactive"), + "bCustomerVariableexpensefinanced": obj.get("bCustomerVariableexpensefinanced"), + "bCustomerVariableexpensefinancedtaxes": obj.get("bCustomerVariableexpensefinancedtaxes"), + "bCustomerSupplychargefinanced": obj.get("bCustomerSupplychargefinanced"), + "bCustomerSupplychargefinancedtaxes": obj.get("bCustomerSupplychargefinancedtaxes"), + "bCustomerAttendance": obj.get("bCustomerAttendance"), + "eCustomerType": obj.get("eCustomerType"), + "eCustomerMarketingcorrespondence": obj.get("eCustomerMarketingcorrespondence"), + "bCustomerBlackcopycarbon": obj.get("bCustomerBlackcopycarbon"), + "bCustomerUnsubscribeinfo": obj.get("bCustomerUnsubscribeinfo"), + "tCustomerComment": obj.get("tCustomerComment"), + "IMPORTID": obj.get("IMPORTID") + }) + return _obj diff --git a/eZmaxApi/models/customer_request_compound.py b/eZmaxApi/models/customer_request_compound.py index e5515f7d8..a949f3648 100644 --- a/eZmaxApi/models/customer_request_compound.py +++ b/eZmaxApi/models/customer_request_compound.py @@ -18,20 +18,154 @@ import re # noqa: F401 import json -from pydantic import ConfigDict -from typing import Any, ClassVar, Dict, List -from eZmaxApi.models.customer_request import CustomerRequest +from pydantic import BaseModel, ConfigDict, Field, StrictBool, StrictInt, field_validator +from typing import Any, ClassVar, Dict, List, Optional +from typing_extensions import Annotated from eZmaxApi.models.field_e_customer_marketingcorrespondence import FieldECustomerMarketingcorrespondence from eZmaxApi.models.field_e_customer_type import FieldECustomerType from typing import Optional, Set from typing_extensions import Self -class CustomerRequestCompound(CustomerRequest): +class CustomerRequestCompound(BaseModel): """ A Customer Object and children """ # noqa: E501 + pki_customer_id: Optional[Annotated[int, Field(strict=True, ge=0)]] = Field(default=None, description="The unique ID of the Customer.", alias="pkiCustomerID") + fki_company_id: Annotated[int, Field(le=255, strict=True, ge=1)] = Field(description="The unique ID of the Company", alias="fkiCompanyID") + fki_customergroup_id: Annotated[int, Field(le=255, strict=True, ge=0)] = Field(description="The unique ID of the Customergroup", alias="fkiCustomergroupID") + s_customer_name: Annotated[str, Field(strict=True)] = Field(description="The name of the Customer", alias="sCustomerName") + fki_contactinformations_id: Annotated[int, Field(le=16777215, strict=True, ge=0)] = Field(description="The unique ID of the Contactinformations", alias="fkiContactinformationsID") + fki_contactcontainer_id: Annotated[int, Field(le=16777215, strict=True, ge=0)] = Field(description="The unique ID of the Contactcontainer", alias="fkiContactcontainerID") + fki_image_id: StrictInt = Field(description="The unique ID of the Image", alias="fkiImageID") + fki_glaccountcontainer_id: Annotated[int, Field(strict=True, ge=0)] = Field(description="The unique ID of the Glaccountcontainer", alias="fkiGlaccountcontainerID") + fki_language_id: Annotated[int, Field(le=2, strict=True, ge=1)] = Field(description="The unique ID of the Language. Valid values: |Value|Description| |-|-| |1|French| |2|English|", alias="fkiLanguageID") + fki_department_id: Annotated[int, Field(strict=True, ge=0)] = Field(description="The unique ID of the Department", alias="fkiDepartmentID") + fki_paymentmethod_id: Annotated[int, Field(le=255, strict=True, ge=0)] = Field(description="The unique ID of the Paymentmethod", alias="fkiPaymentmethodID") + fki_electronicfundstransferbankaccount_id: Annotated[int, Field(le=65535, strict=True, ge=0)] = Field(description="The unique ID of the Electronicfundstransferbankaccount", alias="fkiElectronicfundstransferbankaccountID") + fki_electronicfundstransferbankaccount_id_directdebit: Annotated[int, Field(le=65535, strict=True, ge=0)] = Field(description="The unique ID of the Electronicfundstransferbankaccount", alias="fkiElectronicfundstransferbankaccountIDDirectdebit") + fki_sendingmethod_id: Annotated[int, Field(le=255, strict=True, ge=0)] = Field(description="The unique ID of the Sendingmethod", alias="fkiSendingmethodID") + fki_taxassignment_id: Annotated[int, Field(le=15, strict=True, ge=0)] = Field(description="The unique ID of the Taxassignment. Valid values: |Value|Description| |-|-| |1|No tax| |2|GST| |3|HST (ON)| |4|HST (NB)| |5|HST (NS)| |6|HST (NL)| |7|HST (PE)| |8|GST + QST (QC)| |9|GST + QST (QC) Non-Recoverable| |10|GST + PST (BC)| |11|GST + PST (SK)| |12|GST + RST (MB)| |13|GST + PST (BC) Non-Recoverable| |14|GST + PST (SK) Non-Recoverable| |15|GST + RST (MB) Non-Recoverable|", alias="fkiTaxassignmentID") + fki_attendancestatus_id: Annotated[int, Field(le=65535, strict=True, ge=0)] = Field(description="The unique ID of the Attendancestatus", alias="fkiAttendancestatusID") + fki_agent_id_variableexpensechargeto: Annotated[int, Field(strict=True, ge=0)] = Field(description="The unique ID of the Agent.", alias="fkiAgentIDVariableexpensechargeto") + fki_broker_id_variableexpensechargeto: Annotated[int, Field(strict=True, ge=0)] = Field(description="The unique ID of the Broker.", alias="fkiBrokerIDVariableexpensechargeto") + fki_customer_id_variableexpensechargeto: Annotated[int, Field(strict=True, ge=0)] = Field(description="The unique ID of the Customer.", alias="fkiCustomerIDVariableexpensechargeto") + fki_glaccountcontainer_id_variableexpensechargeto: Annotated[int, Field(strict=True, ge=0)] = Field(description="The unique ID of the Glaccountcontainer", alias="fkiGlaccountcontainerIDVariableexpensechargeto") + fki_agent_id_supplychargechargeto: Annotated[int, Field(strict=True, ge=0)] = Field(description="The unique ID of the Agent.", alias="fkiAgentIDSupplychargechargeto") + fki_broker_id_supplychargechargeto: Annotated[int, Field(strict=True, ge=0)] = Field(description="The unique ID of the Broker.", alias="fkiBrokerIDSupplychargechargeto") + fki_customer_id_supplychargechargeto: Annotated[int, Field(strict=True, ge=0)] = Field(description="The unique ID of the Customer.", alias="fkiCustomerIDSupplychargechargeto") + fki_glaccountcontainer_id_supplychargechargeto: Annotated[int, Field(strict=True, ge=0)] = Field(description="The unique ID of the Glaccountcontainer", alias="fkiGlaccountcontainerIDSupplychargechargeto") + fki_invoicealternatelogo_id: Annotated[int, Field(le=255, strict=True, ge=0)] = Field(description="The unique ID of the Invoicealternatelogo", alias="fkiInvoicealternatelogoID") + fki_synchronizationlinkserver_id: Annotated[int, Field(le=255, strict=True, ge=0)] = Field(description="The unique ID of the Synchronizationlinkserver", alias="fkiSynchronizationlinkserverID") + efki_user_id: Optional[Annotated[int, Field(strict=True, ge=0)]] = Field(default=None, description="The unique ID of the User", alias="efkiUserID") + efks_customer_code: Optional[Annotated[str, Field(strict=True)]] = Field(default=None, description="The code of the Customer", alias="efksCustomerCode") + s_customer_code: Annotated[str, Field(strict=True)] = Field(description="The code of the Customer", alias="sCustomerCode") + d_customer_fulltimeequivalent: Annotated[str, Field(strict=True)] = Field(description="The fulltimeequivalent of the Customer", alias="dCustomerFulltimeequivalent") + i_customer_photocopiercode: Annotated[int, Field(le=16777215, strict=True, ge=0)] = Field(description="The photocopiercode of the Customer", alias="iCustomerPhotocopiercode") + i_customer_longdistancecode: Annotated[int, Field(le=16777215, strict=True, ge=0)] = Field(description="The longdistancecode of the Customer", alias="iCustomerLongdistancecode") + i_customer_timewindowstart: Annotated[int, Field(le=255, strict=True, ge=0)] = Field(description="The timewindowstart of the Customer", alias="iCustomerTimewindowstart") + i_customer_timewindowend: Annotated[int, Field(le=255, strict=True, ge=0)] = Field(description="The timewindowend of the Customer", alias="iCustomerTimewindowend") + d_customer_minimumchargeableinterests: Annotated[str, Field(strict=True)] = Field(description="The minimumchargeableinterests of the Customer", alias="dCustomerMinimumchargeableinterests") + dt_customer_birthdate: Annotated[str, Field(strict=True)] = Field(description="The birthdate of the Customer", alias="dtCustomerBirthdate") + dt_customer_transfer: Annotated[str, Field(strict=True)] = Field(description="The transfer of the Customer", alias="dtCustomerTransfer") + dt_customer_transferappointment: Annotated[str, Field(strict=True)] = Field(description="The transferappointment of the Customer", alias="dtCustomerTransferappointment") + dt_customer_transfersurvey: Annotated[str, Field(strict=True)] = Field(description="The transfersurvey of the Customer", alias="dtCustomerTransfersurvey") + b_customer_isactive: StrictBool = Field(description="Whether the customer is active or not", alias="bCustomerIsactive") + b_customer_variableexpensefinanced: StrictBool = Field(description="Whether if it's an variableexpensefinanced", alias="bCustomerVariableexpensefinanced") + b_customer_variableexpensefinancedtaxes: StrictBool = Field(description="Whether if it's an variableexpensefinancedtaxes", alias="bCustomerVariableexpensefinancedtaxes") + b_customer_supplychargefinanced: StrictBool = Field(description="Whether if it's an supplychargefinanced", alias="bCustomerSupplychargefinanced") + b_customer_supplychargefinancedtaxes: StrictBool = Field(description="Whether if it's an supplychargefinancedtaxes", alias="bCustomerSupplychargefinancedtaxes") + b_customer_attendance: StrictBool = Field(description="Whether if it's an attendance", alias="bCustomerAttendance") + e_customer_type: FieldECustomerType = Field(alias="eCustomerType") + e_customer_marketingcorrespondence: FieldECustomerMarketingcorrespondence = Field(alias="eCustomerMarketingcorrespondence") + b_customer_blackcopycarbon: StrictBool = Field(description="Whether if it's an blackcopycarbon", alias="bCustomerBlackcopycarbon") + b_customer_unsubscribeinfo: StrictBool = Field(description="Whether if it's an unsubscribeinfo", alias="bCustomerUnsubscribeinfo") + t_customer_comment: Annotated[str, Field(strict=True)] = Field(description="The comment of the Customer", alias="tCustomerComment") + importid: Optional[Annotated[str, Field(strict=True)]] = Field(default=None, alias="IMPORTID") __properties: ClassVar[List[str]] = ["pkiCustomerID", "fkiCompanyID", "fkiCustomergroupID", "sCustomerName", "fkiContactinformationsID", "fkiContactcontainerID", "fkiImageID", "fkiGlaccountcontainerID", "fkiLanguageID", "fkiDepartmentID", "fkiPaymentmethodID", "fkiElectronicfundstransferbankaccountID", "fkiElectronicfundstransferbankaccountIDDirectdebit", "fkiSendingmethodID", "fkiTaxassignmentID", "fkiAttendancestatusID", "fkiAgentIDVariableexpensechargeto", "fkiBrokerIDVariableexpensechargeto", "fkiCustomerIDVariableexpensechargeto", "fkiGlaccountcontainerIDVariableexpensechargeto", "fkiAgentIDSupplychargechargeto", "fkiBrokerIDSupplychargechargeto", "fkiCustomerIDSupplychargechargeto", "fkiGlaccountcontainerIDSupplychargechargeto", "fkiInvoicealternatelogoID", "fkiSynchronizationlinkserverID", "efkiUserID", "efksCustomerCode", "sCustomerCode", "dCustomerFulltimeequivalent", "iCustomerPhotocopiercode", "iCustomerLongdistancecode", "iCustomerTimewindowstart", "iCustomerTimewindowend", "dCustomerMinimumchargeableinterests", "dtCustomerBirthdate", "dtCustomerTransfer", "dtCustomerTransferappointment", "dtCustomerTransfersurvey", "bCustomerIsactive", "bCustomerVariableexpensefinanced", "bCustomerVariableexpensefinancedtaxes", "bCustomerSupplychargefinanced", "bCustomerSupplychargefinancedtaxes", "bCustomerAttendance", "eCustomerType", "eCustomerMarketingcorrespondence", "bCustomerBlackcopycarbon", "bCustomerUnsubscribeinfo", "tCustomerComment", "IMPORTID"] + @field_validator('s_customer_name') + def s_customer_name_validate_regular_expression(cls, value): + """Validates the regular expression""" + if not re.match(r"^.{0,50}$", value): + raise ValueError(r"must validate the regular expression /^.{0,50}$/") + return value + + @field_validator('efks_customer_code') + def efks_customer_code_validate_regular_expression(cls, value): + """Validates the regular expression""" + if value is None: + return value + + if not re.match(r"^.{0,6}$", value): + raise ValueError(r"must validate the regular expression /^.{0,6}$/") + return value + + @field_validator('s_customer_code') + def s_customer_code_validate_regular_expression(cls, value): + """Validates the regular expression""" + if not re.match(r"^.{0,6}$", value): + raise ValueError(r"must validate the regular expression /^.{0,6}$/") + return value + + @field_validator('d_customer_fulltimeequivalent') + def d_customer_fulltimeequivalent_validate_regular_expression(cls, value): + """Validates the regular expression""" + if not re.match(r"^-{0,1}[\d]{1,3}?\.[\d]{2}$", value): + raise ValueError(r"must validate the regular expression /^-{0,1}[\d]{1,3}?\.[\d]{2}$/") + return value + + @field_validator('d_customer_minimumchargeableinterests') + def d_customer_minimumchargeableinterests_validate_regular_expression(cls, value): + """Validates the regular expression""" + if not re.match(r"^-{0,1}[\d]{1,9}?\.[\d]{2}$", value): + raise ValueError(r"must validate the regular expression /^-{0,1}[\d]{1,9}?\.[\d]{2}$/") + return value + + @field_validator('dt_customer_birthdate') + def dt_customer_birthdate_validate_regular_expression(cls, value): + """Validates the regular expression""" + if not re.match(r"^[0-9]{4}-(0[1-9]|1[0-2])-(0[1-9]|[1-2][0-9]|3[0-1])$", value): + raise ValueError(r"must validate the regular expression /^[0-9]{4}-(0[1-9]|1[0-2])-(0[1-9]|[1-2][0-9]|3[0-1])$/") + return value + + @field_validator('dt_customer_transfer') + def dt_customer_transfer_validate_regular_expression(cls, value): + """Validates the regular expression""" + if not re.match(r"^[0-9]{4}-(0[1-9]|1[0-2])-(0[1-9]|[1-2][0-9]|3[0-1]) ([01]?[0-9]|2[0-3]):([0-5][0-9]):([0-5][0-9])$", value): + raise ValueError(r"must validate the regular expression /^[0-9]{4}-(0[1-9]|1[0-2])-(0[1-9]|[1-2][0-9]|3[0-1]) ([01]?[0-9]|2[0-3]):([0-5][0-9]):([0-5][0-9])$/") + return value + + @field_validator('dt_customer_transferappointment') + def dt_customer_transferappointment_validate_regular_expression(cls, value): + """Validates the regular expression""" + if not re.match(r"^[0-9]{4}-(0[1-9]|1[0-2])-(0[1-9]|[1-2][0-9]|3[0-1]) ([01]?[0-9]|2[0-3]):([0-5][0-9]):([0-5][0-9])$", value): + raise ValueError(r"must validate the regular expression /^[0-9]{4}-(0[1-9]|1[0-2])-(0[1-9]|[1-2][0-9]|3[0-1]) ([01]?[0-9]|2[0-3]):([0-5][0-9]):([0-5][0-9])$/") + return value + + @field_validator('dt_customer_transfersurvey') + def dt_customer_transfersurvey_validate_regular_expression(cls, value): + """Validates the regular expression""" + if not re.match(r"^[0-9]{4}-(0[1-9]|1[0-2])-(0[1-9]|[1-2][0-9]|3[0-1]) ([01]?[0-9]|2[0-3]):([0-5][0-9]):([0-5][0-9])$", value): + raise ValueError(r"must validate the regular expression /^[0-9]{4}-(0[1-9]|1[0-2])-(0[1-9]|[1-2][0-9]|3[0-1]) ([01]?[0-9]|2[0-3]):([0-5][0-9]):([0-5][0-9])$/") + return value + + @field_validator('t_customer_comment') + def t_customer_comment_validate_regular_expression(cls, value): + """Validates the regular expression""" + if not re.match(r"^.{0,16777215}$", value): + raise ValueError(r"must validate the regular expression /^.{0,16777215}$/") + return value + + @field_validator('importid') + def importid_validate_regular_expression(cls, value): + """Validates the regular expression""" + if value is None: + return value + + if not re.match(r"^.{0,15}$", value): + raise ValueError(r"must validate the regular expression /^.{0,15}$/") + return value + model_config = ConfigDict( populate_by_name=True, validate_assignment=True, diff --git a/eZmaxApi/models/customer_response.py b/eZmaxApi/models/customer_response.py index 20887d9b5..a18deb700 100644 --- a/eZmaxApi/models/customer_response.py +++ b/eZmaxApi/models/customer_response.py @@ -208,7 +208,67 @@ def to_dict(self) -> Dict[str, Any]: return _dict @classmethod - def from_dict(cls, obj: Dict[str, Any]) -> Optional[Self]: + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: """Create an instance of CustomerResponse from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "pkiCustomerID": obj.get("pkiCustomerID"), + "fkiCompanyID": obj.get("fkiCompanyID"), + "fkiCustomergroupID": obj.get("fkiCustomergroupID"), + "sCustomerName": obj.get("sCustomerName"), + "fkiContactinformationsID": obj.get("fkiContactinformationsID"), + "fkiContactcontainerID": obj.get("fkiContactcontainerID"), + "fkiImageID": obj.get("fkiImageID"), + "fkiGlaccountcontainerID": obj.get("fkiGlaccountcontainerID"), + "fkiLanguageID": obj.get("fkiLanguageID"), + "fkiDepartmentID": obj.get("fkiDepartmentID"), + "fkiPaymentmethodID": obj.get("fkiPaymentmethodID"), + "fkiElectronicfundstransferbankaccountID": obj.get("fkiElectronicfundstransferbankaccountID"), + "fkiElectronicfundstransferbankaccountIDDirectdebit": obj.get("fkiElectronicfundstransferbankaccountIDDirectdebit"), + "fkiSendingmethodID": obj.get("fkiSendingmethodID"), + "fkiTaxassignmentID": obj.get("fkiTaxassignmentID"), + "fkiAttendancestatusID": obj.get("fkiAttendancestatusID"), + "fkiAgentIDVariableexpensechargeto": obj.get("fkiAgentIDVariableexpensechargeto"), + "fkiBrokerIDVariableexpensechargeto": obj.get("fkiBrokerIDVariableexpensechargeto"), + "fkiCustomerIDVariableexpensechargeto": obj.get("fkiCustomerIDVariableexpensechargeto"), + "fkiGlaccountcontainerIDVariableexpensechargeto": obj.get("fkiGlaccountcontainerIDVariableexpensechargeto"), + "fkiAgentIDSupplychargechargeto": obj.get("fkiAgentIDSupplychargechargeto"), + "fkiBrokerIDSupplychargechargeto": obj.get("fkiBrokerIDSupplychargechargeto"), + "fkiCustomerIDSupplychargechargeto": obj.get("fkiCustomerIDSupplychargechargeto"), + "fkiGlaccountcontainerIDSupplychargechargeto": obj.get("fkiGlaccountcontainerIDSupplychargechargeto"), + "fkiInvoicealternatelogoID": obj.get("fkiInvoicealternatelogoID"), + "fkiSynchronizationlinkserverID": obj.get("fkiSynchronizationlinkserverID"), + "efkiUserID": obj.get("efkiUserID"), + "efksCustomerCode": obj.get("efksCustomerCode"), + "sCustomerCode": obj.get("sCustomerCode"), + "dCustomerFulltimeequivalent": obj.get("dCustomerFulltimeequivalent"), + "iCustomerPhotocopiercode": obj.get("iCustomerPhotocopiercode"), + "iCustomerLongdistancecode": obj.get("iCustomerLongdistancecode"), + "iCustomerTimewindowstart": obj.get("iCustomerTimewindowstart"), + "iCustomerTimewindowend": obj.get("iCustomerTimewindowend"), + "dCustomerMinimumchargeableinterests": obj.get("dCustomerMinimumchargeableinterests"), + "dtCustomerBirthdate": obj.get("dtCustomerBirthdate"), + "dtCustomerTransfer": obj.get("dtCustomerTransfer"), + "dtCustomerTransferappointment": obj.get("dtCustomerTransferappointment"), + "dtCustomerTransfersurvey": obj.get("dtCustomerTransfersurvey"), + "bCustomerIsactive": obj.get("bCustomerIsactive"), + "bCustomerVariableexpensefinanced": obj.get("bCustomerVariableexpensefinanced"), + "bCustomerVariableexpensefinancedtaxes": obj.get("bCustomerVariableexpensefinancedtaxes"), + "bCustomerSupplychargefinanced": obj.get("bCustomerSupplychargefinanced"), + "bCustomerSupplychargefinancedtaxes": obj.get("bCustomerSupplychargefinancedtaxes"), + "bCustomerAttendance": obj.get("bCustomerAttendance"), + "eCustomerType": obj.get("eCustomerType"), + "eCustomerMarketingcorrespondence": obj.get("eCustomerMarketingcorrespondence"), + "bCustomerBlackcopycarbon": obj.get("bCustomerBlackcopycarbon"), + "bCustomerUnsubscribeinfo": obj.get("bCustomerUnsubscribeinfo"), + "tCustomerComment": obj.get("tCustomerComment"), + "IMPORTID": obj.get("IMPORTID") + }) + return _obj diff --git a/eZmaxApi/models/customer_response_compound.py b/eZmaxApi/models/customer_response_compound.py index f1daaa2c2..00b56b31b 100644 --- a/eZmaxApi/models/customer_response_compound.py +++ b/eZmaxApi/models/customer_response_compound.py @@ -18,20 +18,154 @@ import re # noqa: F401 import json -from pydantic import ConfigDict -from typing import Any, ClassVar, Dict, List -from eZmaxApi.models.customer_response import CustomerResponse +from pydantic import BaseModel, ConfigDict, Field, StrictBool, StrictInt, field_validator +from typing import Any, ClassVar, Dict, List, Optional +from typing_extensions import Annotated from eZmaxApi.models.field_e_customer_marketingcorrespondence import FieldECustomerMarketingcorrespondence from eZmaxApi.models.field_e_customer_type import FieldECustomerType from typing import Optional, Set from typing_extensions import Self -class CustomerResponseCompound(CustomerResponse): +class CustomerResponseCompound(BaseModel): """ A Customer Object """ # noqa: E501 + pki_customer_id: Annotated[int, Field(strict=True, ge=0)] = Field(description="The unique ID of the Customer.", alias="pkiCustomerID") + fki_company_id: Annotated[int, Field(le=255, strict=True, ge=1)] = Field(description="The unique ID of the Company", alias="fkiCompanyID") + fki_customergroup_id: Annotated[int, Field(le=255, strict=True, ge=0)] = Field(description="The unique ID of the Customergroup", alias="fkiCustomergroupID") + s_customer_name: Annotated[str, Field(strict=True)] = Field(description="The name of the Customer", alias="sCustomerName") + fki_contactinformations_id: Annotated[int, Field(le=16777215, strict=True, ge=0)] = Field(description="The unique ID of the Contactinformations", alias="fkiContactinformationsID") + fki_contactcontainer_id: Annotated[int, Field(le=16777215, strict=True, ge=0)] = Field(description="The unique ID of the Contactcontainer", alias="fkiContactcontainerID") + fki_image_id: StrictInt = Field(description="The unique ID of the Image", alias="fkiImageID") + fki_glaccountcontainer_id: Annotated[int, Field(strict=True, ge=0)] = Field(description="The unique ID of the Glaccountcontainer", alias="fkiGlaccountcontainerID") + fki_language_id: Annotated[int, Field(le=2, strict=True, ge=1)] = Field(description="The unique ID of the Language. Valid values: |Value|Description| |-|-| |1|French| |2|English|", alias="fkiLanguageID") + fki_department_id: Annotated[int, Field(strict=True, ge=0)] = Field(description="The unique ID of the Department", alias="fkiDepartmentID") + fki_paymentmethod_id: Annotated[int, Field(le=255, strict=True, ge=0)] = Field(description="The unique ID of the Paymentmethod", alias="fkiPaymentmethodID") + fki_electronicfundstransferbankaccount_id: Annotated[int, Field(le=65535, strict=True, ge=0)] = Field(description="The unique ID of the Electronicfundstransferbankaccount", alias="fkiElectronicfundstransferbankaccountID") + fki_electronicfundstransferbankaccount_id_directdebit: Annotated[int, Field(le=65535, strict=True, ge=0)] = Field(description="The unique ID of the Electronicfundstransferbankaccount", alias="fkiElectronicfundstransferbankaccountIDDirectdebit") + fki_sendingmethod_id: Annotated[int, Field(le=255, strict=True, ge=0)] = Field(description="The unique ID of the Sendingmethod", alias="fkiSendingmethodID") + fki_taxassignment_id: Annotated[int, Field(le=15, strict=True, ge=0)] = Field(description="The unique ID of the Taxassignment. Valid values: |Value|Description| |-|-| |1|No tax| |2|GST| |3|HST (ON)| |4|HST (NB)| |5|HST (NS)| |6|HST (NL)| |7|HST (PE)| |8|GST + QST (QC)| |9|GST + QST (QC) Non-Recoverable| |10|GST + PST (BC)| |11|GST + PST (SK)| |12|GST + RST (MB)| |13|GST + PST (BC) Non-Recoverable| |14|GST + PST (SK) Non-Recoverable| |15|GST + RST (MB) Non-Recoverable|", alias="fkiTaxassignmentID") + fki_attendancestatus_id: Annotated[int, Field(le=65535, strict=True, ge=0)] = Field(description="The unique ID of the Attendancestatus", alias="fkiAttendancestatusID") + fki_agent_id_variableexpensechargeto: Annotated[int, Field(strict=True, ge=0)] = Field(description="The unique ID of the Agent.", alias="fkiAgentIDVariableexpensechargeto") + fki_broker_id_variableexpensechargeto: Annotated[int, Field(strict=True, ge=0)] = Field(description="The unique ID of the Broker.", alias="fkiBrokerIDVariableexpensechargeto") + fki_customer_id_variableexpensechargeto: Annotated[int, Field(strict=True, ge=0)] = Field(description="The unique ID of the Customer.", alias="fkiCustomerIDVariableexpensechargeto") + fki_glaccountcontainer_id_variableexpensechargeto: Annotated[int, Field(strict=True, ge=0)] = Field(description="The unique ID of the Glaccountcontainer", alias="fkiGlaccountcontainerIDVariableexpensechargeto") + fki_agent_id_supplychargechargeto: Annotated[int, Field(strict=True, ge=0)] = Field(description="The unique ID of the Agent.", alias="fkiAgentIDSupplychargechargeto") + fki_broker_id_supplychargechargeto: Annotated[int, Field(strict=True, ge=0)] = Field(description="The unique ID of the Broker.", alias="fkiBrokerIDSupplychargechargeto") + fki_customer_id_supplychargechargeto: Annotated[int, Field(strict=True, ge=0)] = Field(description="The unique ID of the Customer.", alias="fkiCustomerIDSupplychargechargeto") + fki_glaccountcontainer_id_supplychargechargeto: Annotated[int, Field(strict=True, ge=0)] = Field(description="The unique ID of the Glaccountcontainer", alias="fkiGlaccountcontainerIDSupplychargechargeto") + fki_invoicealternatelogo_id: Annotated[int, Field(le=255, strict=True, ge=0)] = Field(description="The unique ID of the Invoicealternatelogo", alias="fkiInvoicealternatelogoID") + fki_synchronizationlinkserver_id: Annotated[int, Field(le=255, strict=True, ge=0)] = Field(description="The unique ID of the Synchronizationlinkserver", alias="fkiSynchronizationlinkserverID") + efki_user_id: Optional[Annotated[int, Field(strict=True, ge=0)]] = Field(default=None, description="The unique ID of the User", alias="efkiUserID") + efks_customer_code: Optional[Annotated[str, Field(strict=True)]] = Field(default=None, description="The code of the Customer", alias="efksCustomerCode") + s_customer_code: Annotated[str, Field(strict=True)] = Field(description="The code of the Customer", alias="sCustomerCode") + d_customer_fulltimeequivalent: Annotated[str, Field(strict=True)] = Field(description="The fulltimeequivalent of the Customer", alias="dCustomerFulltimeequivalent") + i_customer_photocopiercode: Annotated[int, Field(le=16777215, strict=True, ge=0)] = Field(description="The photocopiercode of the Customer", alias="iCustomerPhotocopiercode") + i_customer_longdistancecode: Annotated[int, Field(le=16777215, strict=True, ge=0)] = Field(description="The longdistancecode of the Customer", alias="iCustomerLongdistancecode") + i_customer_timewindowstart: Annotated[int, Field(le=255, strict=True, ge=0)] = Field(description="The timewindowstart of the Customer", alias="iCustomerTimewindowstart") + i_customer_timewindowend: Annotated[int, Field(le=255, strict=True, ge=0)] = Field(description="The timewindowend of the Customer", alias="iCustomerTimewindowend") + d_customer_minimumchargeableinterests: Annotated[str, Field(strict=True)] = Field(description="The minimumchargeableinterests of the Customer", alias="dCustomerMinimumchargeableinterests") + dt_customer_birthdate: Annotated[str, Field(strict=True)] = Field(description="The birthdate of the Customer", alias="dtCustomerBirthdate") + dt_customer_transfer: Annotated[str, Field(strict=True)] = Field(description="The transfer of the Customer", alias="dtCustomerTransfer") + dt_customer_transferappointment: Annotated[str, Field(strict=True)] = Field(description="The transferappointment of the Customer", alias="dtCustomerTransferappointment") + dt_customer_transfersurvey: Annotated[str, Field(strict=True)] = Field(description="The transfersurvey of the Customer", alias="dtCustomerTransfersurvey") + b_customer_isactive: StrictBool = Field(description="Whether the customer is active or not", alias="bCustomerIsactive") + b_customer_variableexpensefinanced: StrictBool = Field(description="Whether if it's an variableexpensefinanced", alias="bCustomerVariableexpensefinanced") + b_customer_variableexpensefinancedtaxes: StrictBool = Field(description="Whether if it's an variableexpensefinancedtaxes", alias="bCustomerVariableexpensefinancedtaxes") + b_customer_supplychargefinanced: StrictBool = Field(description="Whether if it's an supplychargefinanced", alias="bCustomerSupplychargefinanced") + b_customer_supplychargefinancedtaxes: StrictBool = Field(description="Whether if it's an supplychargefinancedtaxes", alias="bCustomerSupplychargefinancedtaxes") + b_customer_attendance: StrictBool = Field(description="Whether if it's an attendance", alias="bCustomerAttendance") + e_customer_type: FieldECustomerType = Field(alias="eCustomerType") + e_customer_marketingcorrespondence: FieldECustomerMarketingcorrespondence = Field(alias="eCustomerMarketingcorrespondence") + b_customer_blackcopycarbon: StrictBool = Field(description="Whether if it's an blackcopycarbon", alias="bCustomerBlackcopycarbon") + b_customer_unsubscribeinfo: StrictBool = Field(description="Whether if it's an unsubscribeinfo", alias="bCustomerUnsubscribeinfo") + t_customer_comment: Annotated[str, Field(strict=True)] = Field(description="The comment of the Customer", alias="tCustomerComment") + importid: Optional[Annotated[str, Field(strict=True)]] = Field(default=None, alias="IMPORTID") __properties: ClassVar[List[str]] = ["pkiCustomerID", "fkiCompanyID", "fkiCustomergroupID", "sCustomerName", "fkiContactinformationsID", "fkiContactcontainerID", "fkiImageID", "fkiGlaccountcontainerID", "fkiLanguageID", "fkiDepartmentID", "fkiPaymentmethodID", "fkiElectronicfundstransferbankaccountID", "fkiElectronicfundstransferbankaccountIDDirectdebit", "fkiSendingmethodID", "fkiTaxassignmentID", "fkiAttendancestatusID", "fkiAgentIDVariableexpensechargeto", "fkiBrokerIDVariableexpensechargeto", "fkiCustomerIDVariableexpensechargeto", "fkiGlaccountcontainerIDVariableexpensechargeto", "fkiAgentIDSupplychargechargeto", "fkiBrokerIDSupplychargechargeto", "fkiCustomerIDSupplychargechargeto", "fkiGlaccountcontainerIDSupplychargechargeto", "fkiInvoicealternatelogoID", "fkiSynchronizationlinkserverID", "efkiUserID", "efksCustomerCode", "sCustomerCode", "dCustomerFulltimeequivalent", "iCustomerPhotocopiercode", "iCustomerLongdistancecode", "iCustomerTimewindowstart", "iCustomerTimewindowend", "dCustomerMinimumchargeableinterests", "dtCustomerBirthdate", "dtCustomerTransfer", "dtCustomerTransferappointment", "dtCustomerTransfersurvey", "bCustomerIsactive", "bCustomerVariableexpensefinanced", "bCustomerVariableexpensefinancedtaxes", "bCustomerSupplychargefinanced", "bCustomerSupplychargefinancedtaxes", "bCustomerAttendance", "eCustomerType", "eCustomerMarketingcorrespondence", "bCustomerBlackcopycarbon", "bCustomerUnsubscribeinfo", "tCustomerComment", "IMPORTID"] + @field_validator('s_customer_name') + def s_customer_name_validate_regular_expression(cls, value): + """Validates the regular expression""" + if not re.match(r"^.{0,50}$", value): + raise ValueError(r"must validate the regular expression /^.{0,50}$/") + return value + + @field_validator('efks_customer_code') + def efks_customer_code_validate_regular_expression(cls, value): + """Validates the regular expression""" + if value is None: + return value + + if not re.match(r"^.{0,6}$", value): + raise ValueError(r"must validate the regular expression /^.{0,6}$/") + return value + + @field_validator('s_customer_code') + def s_customer_code_validate_regular_expression(cls, value): + """Validates the regular expression""" + if not re.match(r"^.{0,6}$", value): + raise ValueError(r"must validate the regular expression /^.{0,6}$/") + return value + + @field_validator('d_customer_fulltimeequivalent') + def d_customer_fulltimeequivalent_validate_regular_expression(cls, value): + """Validates the regular expression""" + if not re.match(r"^-{0,1}[\d]{1,3}?\.[\d]{2}$", value): + raise ValueError(r"must validate the regular expression /^-{0,1}[\d]{1,3}?\.[\d]{2}$/") + return value + + @field_validator('d_customer_minimumchargeableinterests') + def d_customer_minimumchargeableinterests_validate_regular_expression(cls, value): + """Validates the regular expression""" + if not re.match(r"^-{0,1}[\d]{1,9}?\.[\d]{2}$", value): + raise ValueError(r"must validate the regular expression /^-{0,1}[\d]{1,9}?\.[\d]{2}$/") + return value + + @field_validator('dt_customer_birthdate') + def dt_customer_birthdate_validate_regular_expression(cls, value): + """Validates the regular expression""" + if not re.match(r"^[0-9]{4}-(0[1-9]|1[0-2])-(0[1-9]|[1-2][0-9]|3[0-1])$", value): + raise ValueError(r"must validate the regular expression /^[0-9]{4}-(0[1-9]|1[0-2])-(0[1-9]|[1-2][0-9]|3[0-1])$/") + return value + + @field_validator('dt_customer_transfer') + def dt_customer_transfer_validate_regular_expression(cls, value): + """Validates the regular expression""" + if not re.match(r"^[0-9]{4}-(0[1-9]|1[0-2])-(0[1-9]|[1-2][0-9]|3[0-1]) ([01]?[0-9]|2[0-3]):([0-5][0-9]):([0-5][0-9])$", value): + raise ValueError(r"must validate the regular expression /^[0-9]{4}-(0[1-9]|1[0-2])-(0[1-9]|[1-2][0-9]|3[0-1]) ([01]?[0-9]|2[0-3]):([0-5][0-9]):([0-5][0-9])$/") + return value + + @field_validator('dt_customer_transferappointment') + def dt_customer_transferappointment_validate_regular_expression(cls, value): + """Validates the regular expression""" + if not re.match(r"^[0-9]{4}-(0[1-9]|1[0-2])-(0[1-9]|[1-2][0-9]|3[0-1]) ([01]?[0-9]|2[0-3]):([0-5][0-9]):([0-5][0-9])$", value): + raise ValueError(r"must validate the regular expression /^[0-9]{4}-(0[1-9]|1[0-2])-(0[1-9]|[1-2][0-9]|3[0-1]) ([01]?[0-9]|2[0-3]):([0-5][0-9]):([0-5][0-9])$/") + return value + + @field_validator('dt_customer_transfersurvey') + def dt_customer_transfersurvey_validate_regular_expression(cls, value): + """Validates the regular expression""" + if not re.match(r"^[0-9]{4}-(0[1-9]|1[0-2])-(0[1-9]|[1-2][0-9]|3[0-1]) ([01]?[0-9]|2[0-3]):([0-5][0-9]):([0-5][0-9])$", value): + raise ValueError(r"must validate the regular expression /^[0-9]{4}-(0[1-9]|1[0-2])-(0[1-9]|[1-2][0-9]|3[0-1]) ([01]?[0-9]|2[0-3]):([0-5][0-9]):([0-5][0-9])$/") + return value + + @field_validator('t_customer_comment') + def t_customer_comment_validate_regular_expression(cls, value): + """Validates the regular expression""" + if not re.match(r"^.{0,16777215}$", value): + raise ValueError(r"must validate the regular expression /^.{0,16777215}$/") + return value + + @field_validator('importid') + def importid_validate_regular_expression(cls, value): + """Validates the regular expression""" + if value is None: + return value + + if not re.match(r"^.{0,15}$", value): + raise ValueError(r"must validate the regular expression /^.{0,15}$/") + return value + model_config = ConfigDict( populate_by_name=True, validate_assignment=True, diff --git a/eZmaxApi/models/department_get_autocomplete_v2_response.py b/eZmaxApi/models/department_get_autocomplete_v2_response.py index 95701f575..49c1f6168 100644 --- a/eZmaxApi/models/department_get_autocomplete_v2_response.py +++ b/eZmaxApi/models/department_get_autocomplete_v2_response.py @@ -18,19 +18,20 @@ import re # noqa: F401 import json -from pydantic import ConfigDict, Field -from typing import Any, ClassVar, Dict, List -from eZmaxApi.models.common_response import CommonResponse +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List, Optional from eZmaxApi.models.common_response_obj_debug import CommonResponseObjDebug from eZmaxApi.models.common_response_obj_debug_payload import CommonResponseObjDebugPayload from eZmaxApi.models.department_get_autocomplete_v2_response_m_payload import DepartmentGetAutocompleteV2ResponseMPayload from typing import Optional, Set from typing_extensions import Self -class DepartmentGetAutocompleteV2Response(CommonResponse): +class DepartmentGetAutocompleteV2Response(BaseModel): """ Response for GET /2/object/department/getAutocomplete """ # noqa: E501 + obj_debug_payload: CommonResponseObjDebugPayload = Field(alias="objDebugPayload") + obj_debug: Optional[CommonResponseObjDebug] = Field(default=None, alias="objDebug") m_payload: DepartmentGetAutocompleteV2ResponseMPayload = Field(alias="mPayload") __properties: ClassVar[List[str]] = ["objDebugPayload", "objDebug", "mPayload"] diff --git a/eZmaxApi/models/discussion_create_object_v1_response.py b/eZmaxApi/models/discussion_create_object_v1_response.py index c465e6df2..33235bd09 100644 --- a/eZmaxApi/models/discussion_create_object_v1_response.py +++ b/eZmaxApi/models/discussion_create_object_v1_response.py @@ -18,19 +18,20 @@ import re # noqa: F401 import json -from pydantic import ConfigDict, Field -from typing import Any, ClassVar, Dict, List -from eZmaxApi.models.common_response import CommonResponse +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List, Optional from eZmaxApi.models.common_response_obj_debug import CommonResponseObjDebug from eZmaxApi.models.common_response_obj_debug_payload import CommonResponseObjDebugPayload from eZmaxApi.models.discussion_create_object_v1_response_m_payload import DiscussionCreateObjectV1ResponseMPayload from typing import Optional, Set from typing_extensions import Self -class DiscussionCreateObjectV1Response(CommonResponse): +class DiscussionCreateObjectV1Response(BaseModel): """ Response for POST /1/object/discussion """ # noqa: E501 + obj_debug_payload: CommonResponseObjDebugPayload = Field(alias="objDebugPayload") + obj_debug: Optional[CommonResponseObjDebug] = Field(default=None, alias="objDebug") m_payload: DiscussionCreateObjectV1ResponseMPayload = Field(alias="mPayload") __properties: ClassVar[List[str]] = ["objDebugPayload", "objDebug", "mPayload"] diff --git a/eZmaxApi/models/discussion_delete_object_v1_response.py b/eZmaxApi/models/discussion_delete_object_v1_response.py index ef278e4b5..dcf33ff1b 100644 --- a/eZmaxApi/models/discussion_delete_object_v1_response.py +++ b/eZmaxApi/models/discussion_delete_object_v1_response.py @@ -18,18 +18,19 @@ import re # noqa: F401 import json -from pydantic import ConfigDict -from typing import Any, ClassVar, Dict, List -from eZmaxApi.models.common_response import CommonResponse +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List, Optional from eZmaxApi.models.common_response_obj_debug import CommonResponseObjDebug from eZmaxApi.models.common_response_obj_debug_payload import CommonResponseObjDebugPayload from typing import Optional, Set from typing_extensions import Self -class DiscussionDeleteObjectV1Response(CommonResponse): +class DiscussionDeleteObjectV1Response(BaseModel): """ Response for DELETE /1/object/discussion/{pkiDiscussionID} """ # noqa: E501 + obj_debug_payload: CommonResponseObjDebugPayload = Field(alias="objDebugPayload") + obj_debug: Optional[CommonResponseObjDebug] = Field(default=None, alias="objDebug") __properties: ClassVar[List[str]] = ["objDebugPayload", "objDebug"] model_config = ConfigDict( diff --git a/eZmaxApi/models/discussion_get_object_v2_response.py b/eZmaxApi/models/discussion_get_object_v2_response.py index 9b960cf59..7009099de 100644 --- a/eZmaxApi/models/discussion_get_object_v2_response.py +++ b/eZmaxApi/models/discussion_get_object_v2_response.py @@ -18,19 +18,20 @@ import re # noqa: F401 import json -from pydantic import ConfigDict, Field -from typing import Any, ClassVar, Dict, List -from eZmaxApi.models.common_response import CommonResponse +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List, Optional from eZmaxApi.models.common_response_obj_debug import CommonResponseObjDebug from eZmaxApi.models.common_response_obj_debug_payload import CommonResponseObjDebugPayload from eZmaxApi.models.discussion_get_object_v2_response_m_payload import DiscussionGetObjectV2ResponseMPayload from typing import Optional, Set from typing_extensions import Self -class DiscussionGetObjectV2Response(CommonResponse): +class DiscussionGetObjectV2Response(BaseModel): """ Response for GET /2/object/discussion/{pkiDiscussionID} """ # noqa: E501 + obj_debug_payload: CommonResponseObjDebugPayload = Field(alias="objDebugPayload") + obj_debug: Optional[CommonResponseObjDebug] = Field(default=None, alias="objDebug") m_payload: DiscussionGetObjectV2ResponseMPayload = Field(alias="mPayload") __properties: ClassVar[List[str]] = ["objDebugPayload", "objDebug", "mPayload"] diff --git a/eZmaxApi/models/discussion_patch_object_v1_response.py b/eZmaxApi/models/discussion_patch_object_v1_response.py index fabc5f655..35379f093 100644 --- a/eZmaxApi/models/discussion_patch_object_v1_response.py +++ b/eZmaxApi/models/discussion_patch_object_v1_response.py @@ -18,18 +18,19 @@ import re # noqa: F401 import json -from pydantic import ConfigDict -from typing import Any, ClassVar, Dict, List -from eZmaxApi.models.common_response import CommonResponse +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List, Optional from eZmaxApi.models.common_response_obj_debug import CommonResponseObjDebug from eZmaxApi.models.common_response_obj_debug_payload import CommonResponseObjDebugPayload from typing import Optional, Set from typing_extensions import Self -class DiscussionPatchObjectV1Response(CommonResponse): +class DiscussionPatchObjectV1Response(BaseModel): """ Response for PATCH /1/object/discussion/{pkiDiscussionID} """ # noqa: E501 + obj_debug_payload: CommonResponseObjDebugPayload = Field(alias="objDebugPayload") + obj_debug: Optional[CommonResponseObjDebug] = Field(default=None, alias="objDebug") __properties: ClassVar[List[str]] = ["objDebugPayload", "objDebug"] model_config = ConfigDict( diff --git a/eZmaxApi/models/discussion_request.py b/eZmaxApi/models/discussion_request.py index 0db923018..88f0903c6 100644 --- a/eZmaxApi/models/discussion_request.py +++ b/eZmaxApi/models/discussion_request.py @@ -82,7 +82,19 @@ def to_dict(self) -> Dict[str, Any]: return _dict @classmethod - def from_dict(cls, obj: Dict[str, Any]) -> Optional[Self]: + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: """Create an instance of DiscussionRequest from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "pkiDiscussionID": obj.get("pkiDiscussionID"), + "sDiscussionDescription": obj.get("sDiscussionDescription"), + "bDiscussionClosed": obj.get("bDiscussionClosed") + }) + return _obj diff --git a/eZmaxApi/models/discussion_request_compound.py b/eZmaxApi/models/discussion_request_compound.py index 23e1dceed..b6893064e 100644 --- a/eZmaxApi/models/discussion_request_compound.py +++ b/eZmaxApi/models/discussion_request_compound.py @@ -18,18 +18,28 @@ import re # noqa: F401 import json -from pydantic import ConfigDict -from typing import Any, ClassVar, Dict, List -from eZmaxApi.models.discussion_request import DiscussionRequest +from pydantic import BaseModel, ConfigDict, Field, StrictBool, field_validator +from typing import Any, ClassVar, Dict, List, Optional +from typing_extensions import Annotated from typing import Optional, Set from typing_extensions import Self -class DiscussionRequestCompound(DiscussionRequest): +class DiscussionRequestCompound(BaseModel): """ A Discussion Object and children """ # noqa: E501 + pki_discussion_id: Optional[Annotated[int, Field(le=16777215, strict=True, ge=0)]] = Field(default=None, description="The unique ID of the Discussion", alias="pkiDiscussionID") + s_discussion_description: Annotated[str, Field(strict=True)] = Field(description="The description of the Discussion", alias="sDiscussionDescription") + b_discussion_closed: Optional[StrictBool] = Field(default=None, description="Whether if it's an closed", alias="bDiscussionClosed") __properties: ClassVar[List[str]] = ["pkiDiscussionID", "sDiscussionDescription", "bDiscussionClosed"] + @field_validator('s_discussion_description') + def s_discussion_description_validate_regular_expression(cls, value): + """Validates the regular expression""" + if not re.match(r"^.{0,75}$", value): + raise ValueError(r"must validate the regular expression /^.{0,75}$/") + return value + model_config = ConfigDict( populate_by_name=True, validate_assignment=True, diff --git a/eZmaxApi/models/discussion_response.py b/eZmaxApi/models/discussion_response.py index 061c89fdd..bea6073b4 100644 --- a/eZmaxApi/models/discussion_response.py +++ b/eZmaxApi/models/discussion_response.py @@ -90,7 +90,23 @@ def to_dict(self) -> Dict[str, Any]: return _dict @classmethod - def from_dict(cls, obj: Dict[str, Any]) -> Optional[Self]: + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: """Create an instance of DiscussionResponse from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "pkiDiscussionID": obj.get("pkiDiscussionID"), + "sDiscussionDescription": obj.get("sDiscussionDescription"), + "bDiscussionClosed": obj.get("bDiscussionClosed"), + "dtDiscussionLastread": obj.get("dtDiscussionLastread"), + "iDiscussionmessageCount": obj.get("iDiscussionmessageCount"), + "iDiscussionmessageCountunread": obj.get("iDiscussionmessageCountunread"), + "objDiscussionconfiguration": CustomDiscussionconfigurationResponse.from_dict(obj["objDiscussionconfiguration"]) if obj.get("objDiscussionconfiguration") is not None else None + }) + return _obj diff --git a/eZmaxApi/models/discussion_response_compound.py b/eZmaxApi/models/discussion_response_compound.py index 412ee9615..cb67161d5 100644 --- a/eZmaxApi/models/discussion_response_compound.py +++ b/eZmaxApi/models/discussion_response_compound.py @@ -18,23 +18,37 @@ import re # noqa: F401 import json -from pydantic import ConfigDict, Field -from typing import Any, ClassVar, Dict, List +from pydantic import BaseModel, ConfigDict, Field, StrictBool, StrictInt, StrictStr, field_validator +from typing import Any, ClassVar, Dict, List, Optional +from typing_extensions import Annotated from eZmaxApi.models.custom_discussionconfiguration_response import CustomDiscussionconfigurationResponse -from eZmaxApi.models.discussion_response import DiscussionResponse from eZmaxApi.models.discussionmembership_response_compound import DiscussionmembershipResponseCompound from eZmaxApi.models.discussionmessage_response_compound import DiscussionmessageResponseCompound from typing import Optional, Set from typing_extensions import Self -class DiscussionResponseCompound(DiscussionResponse): +class DiscussionResponseCompound(BaseModel): """ A Discussion Object """ # noqa: E501 + pki_discussion_id: Annotated[int, Field(le=16777215, strict=True, ge=0)] = Field(description="The unique ID of the Discussion", alias="pkiDiscussionID") + s_discussion_description: Annotated[str, Field(strict=True)] = Field(description="The description of the Discussion", alias="sDiscussionDescription") + b_discussion_closed: StrictBool = Field(description="Whether if it's an closed", alias="bDiscussionClosed") + dt_discussion_lastread: Optional[StrictStr] = Field(default=None, description="The date the Discussion was last read", alias="dtDiscussionLastread") + i_discussionmessage_count: StrictInt = Field(description="The count of Attachment.", alias="iDiscussionmessageCount") + i_discussionmessage_countunread: StrictInt = Field(description="The count of Attachment.", alias="iDiscussionmessageCountunread") + obj_discussionconfiguration: Optional[CustomDiscussionconfigurationResponse] = Field(default=None, alias="objDiscussionconfiguration") a_obj_discussionmembership: List[DiscussionmembershipResponseCompound] = Field(alias="a_objDiscussionmembership") a_obj_discussionmessage: List[DiscussionmessageResponseCompound] = Field(alias="a_objDiscussionmessage") __properties: ClassVar[List[str]] = ["pkiDiscussionID", "sDiscussionDescription", "bDiscussionClosed", "dtDiscussionLastread", "iDiscussionmessageCount", "iDiscussionmessageCountunread", "objDiscussionconfiguration", "a_objDiscussionmembership", "a_objDiscussionmessage"] + @field_validator('s_discussion_description') + def s_discussion_description_validate_regular_expression(cls, value): + """Validates the regular expression""" + if not re.match(r"^.{0,75}$", value): + raise ValueError(r"must validate the regular expression /^.{0,75}$/") + return value + model_config = ConfigDict( populate_by_name=True, validate_assignment=True, diff --git a/eZmaxApi/models/discussion_update_discussionreadstatus_v1_response.py b/eZmaxApi/models/discussion_update_discussionreadstatus_v1_response.py index 01315da9d..55907f7e5 100644 --- a/eZmaxApi/models/discussion_update_discussionreadstatus_v1_response.py +++ b/eZmaxApi/models/discussion_update_discussionreadstatus_v1_response.py @@ -18,18 +18,19 @@ import re # noqa: F401 import json -from pydantic import ConfigDict -from typing import Any, ClassVar, Dict, List -from eZmaxApi.models.common_response import CommonResponse +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List, Optional from eZmaxApi.models.common_response_obj_debug import CommonResponseObjDebug from eZmaxApi.models.common_response_obj_debug_payload import CommonResponseObjDebugPayload from typing import Optional, Set from typing_extensions import Self -class DiscussionUpdateDiscussionreadstatusV1Response(CommonResponse): +class DiscussionUpdateDiscussionreadstatusV1Response(BaseModel): """ Response for GET /1/object/discussion/{pkiDiscussionID}/updateDiscussionreadstatus """ # noqa: E501 + obj_debug_payload: CommonResponseObjDebugPayload = Field(alias="objDebugPayload") + obj_debug: Optional[CommonResponseObjDebug] = Field(default=None, alias="objDebug") __properties: ClassVar[List[str]] = ["objDebugPayload", "objDebug"] model_config = ConfigDict( diff --git a/eZmaxApi/models/discussionmembership_create_object_v1_response.py b/eZmaxApi/models/discussionmembership_create_object_v1_response.py index dc144d892..abd11e56b 100644 --- a/eZmaxApi/models/discussionmembership_create_object_v1_response.py +++ b/eZmaxApi/models/discussionmembership_create_object_v1_response.py @@ -18,19 +18,20 @@ import re # noqa: F401 import json -from pydantic import ConfigDict, Field -from typing import Any, ClassVar, Dict, List -from eZmaxApi.models.common_response import CommonResponse +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List, Optional from eZmaxApi.models.common_response_obj_debug import CommonResponseObjDebug from eZmaxApi.models.common_response_obj_debug_payload import CommonResponseObjDebugPayload from eZmaxApi.models.discussionmembership_create_object_v1_response_m_payload import DiscussionmembershipCreateObjectV1ResponseMPayload from typing import Optional, Set from typing_extensions import Self -class DiscussionmembershipCreateObjectV1Response(CommonResponse): +class DiscussionmembershipCreateObjectV1Response(BaseModel): """ Response for POST /1/object/discussionmembership """ # noqa: E501 + obj_debug_payload: CommonResponseObjDebugPayload = Field(alias="objDebugPayload") + obj_debug: Optional[CommonResponseObjDebug] = Field(default=None, alias="objDebug") m_payload: DiscussionmembershipCreateObjectV1ResponseMPayload = Field(alias="mPayload") __properties: ClassVar[List[str]] = ["objDebugPayload", "objDebug", "mPayload"] diff --git a/eZmaxApi/models/discussionmembership_delete_object_v1_response.py b/eZmaxApi/models/discussionmembership_delete_object_v1_response.py index 5a40dc47c..45a105400 100644 --- a/eZmaxApi/models/discussionmembership_delete_object_v1_response.py +++ b/eZmaxApi/models/discussionmembership_delete_object_v1_response.py @@ -18,18 +18,19 @@ import re # noqa: F401 import json -from pydantic import ConfigDict -from typing import Any, ClassVar, Dict, List -from eZmaxApi.models.common_response import CommonResponse +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List, Optional from eZmaxApi.models.common_response_obj_debug import CommonResponseObjDebug from eZmaxApi.models.common_response_obj_debug_payload import CommonResponseObjDebugPayload from typing import Optional, Set from typing_extensions import Self -class DiscussionmembershipDeleteObjectV1Response(CommonResponse): +class DiscussionmembershipDeleteObjectV1Response(BaseModel): """ Response for DELETE /1/object/discussionmembership/{pkiDiscussionmembershipID} """ # noqa: E501 + obj_debug_payload: CommonResponseObjDebugPayload = Field(alias="objDebugPayload") + obj_debug: Optional[CommonResponseObjDebug] = Field(default=None, alias="objDebug") __properties: ClassVar[List[str]] = ["objDebugPayload", "objDebug"] model_config = ConfigDict( diff --git a/eZmaxApi/models/discussionmembership_request.py b/eZmaxApi/models/discussionmembership_request.py index 10441dc2e..53fd670d7 100644 --- a/eZmaxApi/models/discussionmembership_request.py +++ b/eZmaxApi/models/discussionmembership_request.py @@ -85,7 +85,22 @@ def to_dict(self) -> Dict[str, Any]: return _dict @classmethod - def from_dict(cls, obj: Dict[str, Any]) -> Optional[Self]: + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: """Create an instance of DiscussionmembershipRequest from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "pkiDiscussionmembershipID": obj.get("pkiDiscussionmembershipID"), + "fkiDiscussionID": obj.get("fkiDiscussionID"), + "fkiUserID": obj.get("fkiUserID"), + "fkiUsergroupID": obj.get("fkiUsergroupID"), + "fkiModulesectionID": obj.get("fkiModulesectionID"), + "dtDiscussionmembershipJoined": obj.get("dtDiscussionmembershipJoined") + }) + return _obj diff --git a/eZmaxApi/models/discussionmembership_request_compound.py b/eZmaxApi/models/discussionmembership_request_compound.py index 19270cbcf..81c124bd2 100644 --- a/eZmaxApi/models/discussionmembership_request_compound.py +++ b/eZmaxApi/models/discussionmembership_request_compound.py @@ -18,18 +18,31 @@ import re # noqa: F401 import json -from pydantic import ConfigDict -from typing import Any, ClassVar, Dict, List -from eZmaxApi.models.discussionmembership_request import DiscussionmembershipRequest +from pydantic import BaseModel, ConfigDict, Field, field_validator +from typing import Any, ClassVar, Dict, List, Optional +from typing_extensions import Annotated from typing import Optional, Set from typing_extensions import Self -class DiscussionmembershipRequestCompound(DiscussionmembershipRequest): +class DiscussionmembershipRequestCompound(BaseModel): """ A Discussionmembership Object and children """ # noqa: E501 + pki_discussionmembership_id: Optional[Annotated[int, Field(le=16777215, strict=True, ge=0)]] = Field(default=None, description="The unique ID of the Discussionmembership", alias="pkiDiscussionmembershipID") + fki_discussion_id: Annotated[int, Field(le=16777215, strict=True, ge=0)] = Field(description="The unique ID of the Discussion", alias="fkiDiscussionID") + fki_user_id: Optional[Annotated[int, Field(strict=True, ge=0)]] = Field(default=None, description="The unique ID of the User", alias="fkiUserID") + fki_usergroup_id: Optional[Annotated[int, Field(le=255, strict=True, ge=0)]] = Field(default=None, description="The unique ID of the Usergroup", alias="fkiUsergroupID") + fki_modulesection_id: Optional[Annotated[int, Field(strict=True, ge=0)]] = Field(default=None, description="The unique ID of the Modulesection", alias="fkiModulesectionID") + dt_discussionmembership_joined: Annotated[str, Field(strict=True)] = Field(description="The joined date of the Discussionmembership", alias="dtDiscussionmembershipJoined") __properties: ClassVar[List[str]] = ["pkiDiscussionmembershipID", "fkiDiscussionID", "fkiUserID", "fkiUsergroupID", "fkiModulesectionID", "dtDiscussionmembershipJoined"] + @field_validator('dt_discussionmembership_joined') + def dt_discussionmembership_joined_validate_regular_expression(cls, value): + """Validates the regular expression""" + if not re.match(r"^[0-9]{4}-(0[1-9]|1[0-2])-(0[1-9]|[1-2][0-9]|3[0-1]) ([01]?[0-9]|2[0-3]):([0-5][0-9]):([0-5][0-9])$", value): + raise ValueError(r"must validate the regular expression /^[0-9]{4}-(0[1-9]|1[0-2])-(0[1-9]|[1-2][0-9]|3[0-1]) ([01]?[0-9]|2[0-3]):([0-5][0-9]):([0-5][0-9])$/") + return value + model_config = ConfigDict( populate_by_name=True, validate_assignment=True, diff --git a/eZmaxApi/models/discussionmembership_response.py b/eZmaxApi/models/discussionmembership_response.py index 19291b8a5..e559da93a 100644 --- a/eZmaxApi/models/discussionmembership_response.py +++ b/eZmaxApi/models/discussionmembership_response.py @@ -93,7 +93,23 @@ def to_dict(self) -> Dict[str, Any]: return _dict @classmethod - def from_dict(cls, obj: Dict[str, Any]) -> Optional[Self]: + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: """Create an instance of DiscussionmembershipResponse from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "pkiDiscussionmembershipID": obj.get("pkiDiscussionmembershipID"), + "fkiDiscussionID": obj.get("fkiDiscussionID"), + "fkiUserID": obj.get("fkiUserID"), + "fkiUsergroupID": obj.get("fkiUsergroupID"), + "fkiModulesectionID": obj.get("fkiModulesectionID"), + "sDiscussionmembershipDescription": obj.get("sDiscussionmembershipDescription"), + "dtDiscussionmembershipJoined": obj.get("dtDiscussionmembershipJoined") + }) + return _obj diff --git a/eZmaxApi/models/discussionmembership_response_compound.py b/eZmaxApi/models/discussionmembership_response_compound.py index a9b4f8fad..b9f85b27c 100644 --- a/eZmaxApi/models/discussionmembership_response_compound.py +++ b/eZmaxApi/models/discussionmembership_response_compound.py @@ -18,18 +18,39 @@ import re # noqa: F401 import json -from pydantic import ConfigDict -from typing import Any, ClassVar, Dict, List -from eZmaxApi.models.discussionmembership_response import DiscussionmembershipResponse +from pydantic import BaseModel, ConfigDict, Field, field_validator +from typing import Any, ClassVar, Dict, List, Optional +from typing_extensions import Annotated from typing import Optional, Set from typing_extensions import Self -class DiscussionmembershipResponseCompound(DiscussionmembershipResponse): +class DiscussionmembershipResponseCompound(BaseModel): """ A Discussionmembership Object and children """ # noqa: E501 + pki_discussionmembership_id: Annotated[int, Field(le=16777215, strict=True, ge=0)] = Field(description="The unique ID of the Discussionmembership", alias="pkiDiscussionmembershipID") + fki_discussion_id: Annotated[int, Field(le=16777215, strict=True, ge=0)] = Field(description="The unique ID of the Discussion", alias="fkiDiscussionID") + fki_user_id: Optional[Annotated[int, Field(strict=True, ge=0)]] = Field(default=None, description="The unique ID of the User", alias="fkiUserID") + fki_usergroup_id: Optional[Annotated[int, Field(le=255, strict=True, ge=0)]] = Field(default=None, description="The unique ID of the Usergroup", alias="fkiUsergroupID") + fki_modulesection_id: Optional[Annotated[int, Field(strict=True, ge=0)]] = Field(default=None, description="The unique ID of the Modulesection", alias="fkiModulesectionID") + s_discussionmembership_description: Annotated[str, Field(strict=True)] = Field(description="The Description containing the detail of who the Discussionmembership refers to", alias="sDiscussionmembershipDescription") + dt_discussionmembership_joined: Annotated[str, Field(strict=True)] = Field(description="The joined date of the Discussionmembership", alias="dtDiscussionmembershipJoined") __properties: ClassVar[List[str]] = ["pkiDiscussionmembershipID", "fkiDiscussionID", "fkiUserID", "fkiUsergroupID", "fkiModulesectionID", "sDiscussionmembershipDescription", "dtDiscussionmembershipJoined"] + @field_validator('s_discussionmembership_description') + def s_discussionmembership_description_validate_regular_expression(cls, value): + """Validates the regular expression""" + if not re.match(r"^.{0,100}$", value): + raise ValueError(r"must validate the regular expression /^.{0,100}$/") + return value + + @field_validator('dt_discussionmembership_joined') + def dt_discussionmembership_joined_validate_regular_expression(cls, value): + """Validates the regular expression""" + if not re.match(r"^[0-9]{4}-(0[1-9]|1[0-2])-(0[1-9]|[1-2][0-9]|3[0-1]) ([01]?[0-9]|2[0-3]):([0-5][0-9]):([0-5][0-9])$", value): + raise ValueError(r"must validate the regular expression /^[0-9]{4}-(0[1-9]|1[0-2])-(0[1-9]|[1-2][0-9]|3[0-1]) ([01]?[0-9]|2[0-3]):([0-5][0-9]):([0-5][0-9])$/") + return value + model_config = ConfigDict( populate_by_name=True, validate_assignment=True, diff --git a/eZmaxApi/models/discussionmessage_create_object_v1_response.py b/eZmaxApi/models/discussionmessage_create_object_v1_response.py index d1d9e0581..79d072d31 100644 --- a/eZmaxApi/models/discussionmessage_create_object_v1_response.py +++ b/eZmaxApi/models/discussionmessage_create_object_v1_response.py @@ -18,19 +18,20 @@ import re # noqa: F401 import json -from pydantic import ConfigDict, Field -from typing import Any, ClassVar, Dict, List -from eZmaxApi.models.common_response import CommonResponse +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List, Optional from eZmaxApi.models.common_response_obj_debug import CommonResponseObjDebug from eZmaxApi.models.common_response_obj_debug_payload import CommonResponseObjDebugPayload from eZmaxApi.models.discussionmessage_create_object_v1_response_m_payload import DiscussionmessageCreateObjectV1ResponseMPayload from typing import Optional, Set from typing_extensions import Self -class DiscussionmessageCreateObjectV1Response(CommonResponse): +class DiscussionmessageCreateObjectV1Response(BaseModel): """ Response for POST /1/object/discussionmessage """ # noqa: E501 + obj_debug_payload: CommonResponseObjDebugPayload = Field(alias="objDebugPayload") + obj_debug: Optional[CommonResponseObjDebug] = Field(default=None, alias="objDebug") m_payload: DiscussionmessageCreateObjectV1ResponseMPayload = Field(alias="mPayload") __properties: ClassVar[List[str]] = ["objDebugPayload", "objDebug", "mPayload"] diff --git a/eZmaxApi/models/discussionmessage_delete_object_v1_response.py b/eZmaxApi/models/discussionmessage_delete_object_v1_response.py index c82a0b4bd..f0559cef6 100644 --- a/eZmaxApi/models/discussionmessage_delete_object_v1_response.py +++ b/eZmaxApi/models/discussionmessage_delete_object_v1_response.py @@ -18,18 +18,19 @@ import re # noqa: F401 import json -from pydantic import ConfigDict -from typing import Any, ClassVar, Dict, List -from eZmaxApi.models.common_response import CommonResponse +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List, Optional from eZmaxApi.models.common_response_obj_debug import CommonResponseObjDebug from eZmaxApi.models.common_response_obj_debug_payload import CommonResponseObjDebugPayload from typing import Optional, Set from typing_extensions import Self -class DiscussionmessageDeleteObjectV1Response(CommonResponse): +class DiscussionmessageDeleteObjectV1Response(BaseModel): """ Response for DELETE /1/object/discussionmessage/{pkiDiscussionmessageID} """ # noqa: E501 + obj_debug_payload: CommonResponseObjDebugPayload = Field(alias="objDebugPayload") + obj_debug: Optional[CommonResponseObjDebug] = Field(default=None, alias="objDebug") __properties: ClassVar[List[str]] = ["objDebugPayload", "objDebug"] model_config = ConfigDict( diff --git a/eZmaxApi/models/discussionmessage_patch_object_v1_response.py b/eZmaxApi/models/discussionmessage_patch_object_v1_response.py index 59a265ea3..9b24e6049 100644 --- a/eZmaxApi/models/discussionmessage_patch_object_v1_response.py +++ b/eZmaxApi/models/discussionmessage_patch_object_v1_response.py @@ -18,18 +18,19 @@ import re # noqa: F401 import json -from pydantic import ConfigDict -from typing import Any, ClassVar, Dict, List -from eZmaxApi.models.common_response import CommonResponse +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List, Optional from eZmaxApi.models.common_response_obj_debug import CommonResponseObjDebug from eZmaxApi.models.common_response_obj_debug_payload import CommonResponseObjDebugPayload from typing import Optional, Set from typing_extensions import Self -class DiscussionmessagePatchObjectV1Response(CommonResponse): +class DiscussionmessagePatchObjectV1Response(BaseModel): """ Response for PATCH /1/object/discussionmessage/{pkiDiscussionmessageID} """ # noqa: E501 + obj_debug_payload: CommonResponseObjDebugPayload = Field(alias="objDebugPayload") + obj_debug: Optional[CommonResponseObjDebug] = Field(default=None, alias="objDebug") __properties: ClassVar[List[str]] = ["objDebugPayload", "objDebug"] model_config = ConfigDict( diff --git a/eZmaxApi/models/discussionmessage_request.py b/eZmaxApi/models/discussionmessage_request.py index 69ecf4804..5b7abe12d 100644 --- a/eZmaxApi/models/discussionmessage_request.py +++ b/eZmaxApi/models/discussionmessage_request.py @@ -83,7 +83,20 @@ def to_dict(self) -> Dict[str, Any]: return _dict @classmethod - def from_dict(cls, obj: Dict[str, Any]) -> Optional[Self]: + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: """Create an instance of DiscussionmessageRequest from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "pkiDiscussionmessageID": obj.get("pkiDiscussionmessageID"), + "fkiDiscussionID": obj.get("fkiDiscussionID"), + "fkiDiscussionmembershipIDActionrequired": obj.get("fkiDiscussionmembershipIDActionrequired"), + "tDiscussionmessageContent": obj.get("tDiscussionmessageContent") + }) + return _obj diff --git a/eZmaxApi/models/discussionmessage_request_compound.py b/eZmaxApi/models/discussionmessage_request_compound.py index 01c56a0db..663c0e3e5 100644 --- a/eZmaxApi/models/discussionmessage_request_compound.py +++ b/eZmaxApi/models/discussionmessage_request_compound.py @@ -18,18 +18,29 @@ import re # noqa: F401 import json -from pydantic import ConfigDict -from typing import Any, ClassVar, Dict, List -from eZmaxApi.models.discussionmessage_request import DiscussionmessageRequest +from pydantic import BaseModel, ConfigDict, Field, field_validator +from typing import Any, ClassVar, Dict, List, Optional +from typing_extensions import Annotated from typing import Optional, Set from typing_extensions import Self -class DiscussionmessageRequestCompound(DiscussionmessageRequest): +class DiscussionmessageRequestCompound(BaseModel): """ A Discussionmessage Object and children """ # noqa: E501 + pki_discussionmessage_id: Optional[Annotated[int, Field(le=16777215, strict=True, ge=0)]] = Field(default=None, description="The unique ID of the Discussionmessage", alias="pkiDiscussionmessageID") + fki_discussion_id: Annotated[int, Field(le=16777215, strict=True, ge=0)] = Field(description="The unique ID of the Discussion", alias="fkiDiscussionID") + fki_discussionmembership_id_actionrequired: Optional[Annotated[int, Field(le=16777215, strict=True, ge=0)]] = Field(default=None, description="The unique ID of the Discussionmembership", alias="fkiDiscussionmembershipIDActionrequired") + t_discussionmessage_content: Annotated[str, Field(strict=True)] = Field(description="The content of the Discussionmessage", alias="tDiscussionmessageContent") __properties: ClassVar[List[str]] = ["pkiDiscussionmessageID", "fkiDiscussionID", "fkiDiscussionmembershipIDActionrequired", "tDiscussionmessageContent"] + @field_validator('t_discussionmessage_content') + def t_discussionmessage_content_validate_regular_expression(cls, value): + """Validates the regular expression""" + if not re.match(r"^.{0,65535}$", value): + raise ValueError(r"must validate the regular expression /^.{0,65535}$/") + return value + model_config = ConfigDict( populate_by_name=True, validate_assignment=True, diff --git a/eZmaxApi/models/discussionmessage_response.py b/eZmaxApi/models/discussionmessage_response.py index b2dfde8c1..25eec4eab 100644 --- a/eZmaxApi/models/discussionmessage_response.py +++ b/eZmaxApi/models/discussionmessage_response.py @@ -110,7 +110,25 @@ def to_dict(self) -> Dict[str, Any]: return _dict @classmethod - def from_dict(cls, obj: Dict[str, Any]) -> Optional[Self]: + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: """Create an instance of DiscussionmessageResponse from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "pkiDiscussionmessageID": obj.get("pkiDiscussionmessageID"), + "fkiDiscussionID": obj.get("fkiDiscussionID"), + "fkiDiscussionmembershipID": obj.get("fkiDiscussionmembershipID"), + "fkiDiscussionmembershipIDActionrequired": obj.get("fkiDiscussionmembershipIDActionrequired"), + "eDiscussionmessageStatus": obj.get("eDiscussionmessageStatus"), + "tDiscussionmessageContent": obj.get("tDiscussionmessageContent"), + "sDiscussionmessageCreatorname": obj.get("sDiscussionmessageCreatorname"), + "sDiscussionmessageActionrequiredname": obj.get("sDiscussionmessageActionrequiredname"), + "objAudit": CommonAudit.from_dict(obj["objAudit"]) if obj.get("objAudit") is not None else None + }) + return _obj diff --git a/eZmaxApi/models/discussionmessage_response_compound.py b/eZmaxApi/models/discussionmessage_response_compound.py index 75556121e..ca24b7ac7 100644 --- a/eZmaxApi/models/discussionmessage_response_compound.py +++ b/eZmaxApi/models/discussionmessage_response_compound.py @@ -18,20 +18,53 @@ import re # noqa: F401 import json -from pydantic import ConfigDict -from typing import Any, ClassVar, Dict, List +from pydantic import BaseModel, ConfigDict, Field, field_validator +from typing import Any, ClassVar, Dict, List, Optional +from typing_extensions import Annotated from eZmaxApi.models.common_audit import CommonAudit -from eZmaxApi.models.discussionmessage_response import DiscussionmessageResponse from eZmaxApi.models.field_e_discussionmessage_status import FieldEDiscussionmessageStatus from typing import Optional, Set from typing_extensions import Self -class DiscussionmessageResponseCompound(DiscussionmessageResponse): +class DiscussionmessageResponseCompound(BaseModel): """ A Discussionmessage Object and children """ # noqa: E501 + pki_discussionmessage_id: Annotated[int, Field(le=16777215, strict=True, ge=0)] = Field(description="The unique ID of the Discussionmessage", alias="pkiDiscussionmessageID") + fki_discussion_id: Annotated[int, Field(le=16777215, strict=True, ge=0)] = Field(description="The unique ID of the Discussion", alias="fkiDiscussionID") + fki_discussionmembership_id: Optional[Annotated[int, Field(le=16777215, strict=True, ge=0)]] = Field(default=None, description="The unique ID of the Discussionmembership", alias="fkiDiscussionmembershipID") + fki_discussionmembership_id_actionrequired: Optional[Annotated[int, Field(le=16777215, strict=True, ge=0)]] = Field(default=None, description="The unique ID of the Discussionmembership", alias="fkiDiscussionmembershipIDActionrequired") + e_discussionmessage_status: FieldEDiscussionmessageStatus = Field(alias="eDiscussionmessageStatus") + t_discussionmessage_content: Annotated[str, Field(strict=True)] = Field(description="The content of the Discussionmessage", alias="tDiscussionmessageContent") + s_discussionmessage_creatorname: Annotated[str, Field(strict=True)] = Field(description="The name the creator of the Discussionmessage.", alias="sDiscussionmessageCreatorname") + s_discussionmessage_actionrequiredname: Optional[Annotated[str, Field(strict=True)]] = Field(default=None, description="The name the Actionrequired of the Discussionmessage.", alias="sDiscussionmessageActionrequiredname") + obj_audit: CommonAudit = Field(alias="objAudit") __properties: ClassVar[List[str]] = ["pkiDiscussionmessageID", "fkiDiscussionID", "fkiDiscussionmembershipID", "fkiDiscussionmembershipIDActionrequired", "eDiscussionmessageStatus", "tDiscussionmessageContent", "sDiscussionmessageCreatorname", "sDiscussionmessageActionrequiredname", "objAudit"] + @field_validator('t_discussionmessage_content') + def t_discussionmessage_content_validate_regular_expression(cls, value): + """Validates the regular expression""" + if not re.match(r"^.{0,65535}$", value): + raise ValueError(r"must validate the regular expression /^.{0,65535}$/") + return value + + @field_validator('s_discussionmessage_creatorname') + def s_discussionmessage_creatorname_validate_regular_expression(cls, value): + """Validates the regular expression""" + if not re.match(r"^.{0,75}$", value): + raise ValueError(r"must validate the regular expression /^.{0,75}$/") + return value + + @field_validator('s_discussionmessage_actionrequiredname') + def s_discussionmessage_actionrequiredname_validate_regular_expression(cls, value): + """Validates the regular expression""" + if value is None: + return value + + if not re.match(r"^.{0,75}$", value): + raise ValueError(r"must validate the regular expression /^.{0,75}$/") + return value + model_config = ConfigDict( populate_by_name=True, validate_assignment=True, diff --git a/eZmaxApi/models/domain_create_object_v1_response.py b/eZmaxApi/models/domain_create_object_v1_response.py index 84a2fa216..31b145cc1 100644 --- a/eZmaxApi/models/domain_create_object_v1_response.py +++ b/eZmaxApi/models/domain_create_object_v1_response.py @@ -18,19 +18,20 @@ import re # noqa: F401 import json -from pydantic import ConfigDict, Field -from typing import Any, ClassVar, Dict, List -from eZmaxApi.models.common_response import CommonResponse +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List, Optional from eZmaxApi.models.common_response_obj_debug import CommonResponseObjDebug from eZmaxApi.models.common_response_obj_debug_payload import CommonResponseObjDebugPayload from eZmaxApi.models.domain_create_object_v1_response_m_payload import DomainCreateObjectV1ResponseMPayload from typing import Optional, Set from typing_extensions import Self -class DomainCreateObjectV1Response(CommonResponse): +class DomainCreateObjectV1Response(BaseModel): """ Response for POST /1/object/domain """ # noqa: E501 + obj_debug_payload: CommonResponseObjDebugPayload = Field(alias="objDebugPayload") + obj_debug: Optional[CommonResponseObjDebug] = Field(default=None, alias="objDebug") m_payload: DomainCreateObjectV1ResponseMPayload = Field(alias="mPayload") __properties: ClassVar[List[str]] = ["objDebugPayload", "objDebug", "mPayload"] diff --git a/eZmaxApi/models/domain_delete_object_v1_response.py b/eZmaxApi/models/domain_delete_object_v1_response.py index caa512b51..7efb90163 100644 --- a/eZmaxApi/models/domain_delete_object_v1_response.py +++ b/eZmaxApi/models/domain_delete_object_v1_response.py @@ -18,18 +18,19 @@ import re # noqa: F401 import json -from pydantic import ConfigDict -from typing import Any, ClassVar, Dict, List -from eZmaxApi.models.common_response import CommonResponse +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List, Optional from eZmaxApi.models.common_response_obj_debug import CommonResponseObjDebug from eZmaxApi.models.common_response_obj_debug_payload import CommonResponseObjDebugPayload from typing import Optional, Set from typing_extensions import Self -class DomainDeleteObjectV1Response(CommonResponse): +class DomainDeleteObjectV1Response(BaseModel): """ Response for DELETE /1/object/domain/{pkiDomainID} """ # noqa: E501 + obj_debug_payload: CommonResponseObjDebugPayload = Field(alias="objDebugPayload") + obj_debug: Optional[CommonResponseObjDebug] = Field(default=None, alias="objDebug") __properties: ClassVar[List[str]] = ["objDebugPayload", "objDebug"] model_config = ConfigDict( diff --git a/eZmaxApi/models/domain_get_list_v1_response.py b/eZmaxApi/models/domain_get_list_v1_response.py index c5aadd32d..9af962934 100644 --- a/eZmaxApi/models/domain_get_list_v1_response.py +++ b/eZmaxApi/models/domain_get_list_v1_response.py @@ -18,19 +18,20 @@ import re # noqa: F401 import json -from pydantic import ConfigDict, Field -from typing import Any, ClassVar, Dict, List -from eZmaxApi.models.common_response_get_list import CommonResponseGetList +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List, Optional from eZmaxApi.models.common_response_obj_debug import CommonResponseObjDebug from eZmaxApi.models.common_response_obj_debug_payload_get_list import CommonResponseObjDebugPayloadGetList from eZmaxApi.models.domain_get_list_v1_response_m_payload import DomainGetListV1ResponseMPayload from typing import Optional, Set from typing_extensions import Self -class DomainGetListV1Response(CommonResponseGetList): +class DomainGetListV1Response(BaseModel): """ Response for GET /1/object/domain/getList """ # noqa: E501 + obj_debug_payload: CommonResponseObjDebugPayloadGetList = Field(alias="objDebugPayload") + obj_debug: Optional[CommonResponseObjDebug] = Field(default=None, alias="objDebug") m_payload: DomainGetListV1ResponseMPayload = Field(alias="mPayload") __properties: ClassVar[List[str]] = ["objDebugPayload", "objDebug", "mPayload"] diff --git a/eZmaxApi/models/domain_get_list_v1_response_m_payload.py b/eZmaxApi/models/domain_get_list_v1_response_m_payload.py index 4dd5072d2..0fb3b3221 100644 --- a/eZmaxApi/models/domain_get_list_v1_response_m_payload.py +++ b/eZmaxApi/models/domain_get_list_v1_response_m_payload.py @@ -18,17 +18,18 @@ import re # noqa: F401 import json -from pydantic import ConfigDict, Field +from pydantic import BaseModel, ConfigDict, Field, StrictInt from typing import Any, ClassVar, Dict, List -from eZmaxApi.models.common_get_list_v1_response_m_payload import CommonGetListV1ResponseMPayload from eZmaxApi.models.domain_list_element import DomainListElement from typing import Optional, Set from typing_extensions import Self -class DomainGetListV1ResponseMPayload(CommonGetListV1ResponseMPayload): +class DomainGetListV1ResponseMPayload(BaseModel): """ Payload for GET /1/object/domain/getList """ # noqa: E501 + i_row_returned: StrictInt = Field(description="The number of rows returned", alias="iRowReturned") + i_row_filtered: StrictInt = Field(description="The number of rows matching your filters (if any) or the total number of rows", alias="iRowFiltered") a_obj_domain: List[DomainListElement] = Field(alias="a_objDomain") __properties: ClassVar[List[str]] = ["iRowReturned", "iRowFiltered", "a_objDomain"] diff --git a/eZmaxApi/models/domain_get_object_v2_response.py b/eZmaxApi/models/domain_get_object_v2_response.py index b1d4b50eb..78e389c5e 100644 --- a/eZmaxApi/models/domain_get_object_v2_response.py +++ b/eZmaxApi/models/domain_get_object_v2_response.py @@ -18,19 +18,20 @@ import re # noqa: F401 import json -from pydantic import ConfigDict, Field -from typing import Any, ClassVar, Dict, List -from eZmaxApi.models.common_response import CommonResponse +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List, Optional from eZmaxApi.models.common_response_obj_debug import CommonResponseObjDebug from eZmaxApi.models.common_response_obj_debug_payload import CommonResponseObjDebugPayload from eZmaxApi.models.domain_get_object_v2_response_m_payload import DomainGetObjectV2ResponseMPayload from typing import Optional, Set from typing_extensions import Self -class DomainGetObjectV2Response(CommonResponse): +class DomainGetObjectV2Response(BaseModel): """ Response for GET /2/object/domain/{pkiDomainID} """ # noqa: E501 + obj_debug_payload: CommonResponseObjDebugPayload = Field(alias="objDebugPayload") + obj_debug: Optional[CommonResponseObjDebug] = Field(default=None, alias="objDebug") m_payload: DomainGetObjectV2ResponseMPayload = Field(alias="mPayload") __properties: ClassVar[List[str]] = ["objDebugPayload", "objDebug", "mPayload"] diff --git a/eZmaxApi/models/domain_request.py b/eZmaxApi/models/domain_request.py index 71bf31824..b8e5c0ddf 100644 --- a/eZmaxApi/models/domain_request.py +++ b/eZmaxApi/models/domain_request.py @@ -81,7 +81,18 @@ def to_dict(self) -> Dict[str, Any]: return _dict @classmethod - def from_dict(cls, obj: Dict[str, Any]) -> Optional[Self]: + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: """Create an instance of DomainRequest from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "pkiDomainID": obj.get("pkiDomainID"), + "sDomainName": obj.get("sDomainName") + }) + return _obj diff --git a/eZmaxApi/models/domain_request_compound.py b/eZmaxApi/models/domain_request_compound.py index 5c7db59f6..14cddc636 100644 --- a/eZmaxApi/models/domain_request_compound.py +++ b/eZmaxApi/models/domain_request_compound.py @@ -18,18 +18,27 @@ import re # noqa: F401 import json -from pydantic import ConfigDict -from typing import Any, ClassVar, Dict, List -from eZmaxApi.models.domain_request import DomainRequest +from pydantic import BaseModel, ConfigDict, Field, field_validator +from typing import Any, ClassVar, Dict, List, Optional +from typing_extensions import Annotated from typing import Optional, Set from typing_extensions import Self -class DomainRequestCompound(DomainRequest): +class DomainRequestCompound(BaseModel): """ A Domain Object and children """ # noqa: E501 + pki_domain_id: Optional[Annotated[int, Field(le=255, strict=True, ge=0)]] = Field(default=None, description="The unique ID of the Domain", alias="pkiDomainID") + s_domain_name: Annotated[str, Field(strict=True)] = Field(description="The name of the Domain", alias="sDomainName") __properties: ClassVar[List[str]] = ["pkiDomainID", "sDomainName"] + @field_validator('s_domain_name') + def s_domain_name_validate_regular_expression(cls, value): + """Validates the regular expression""" + if not re.match(r"^(?=.{4,75}$)([a-zA-Z0-9-]+\.)+[a-zA-Z]{2,63}$", value): + raise ValueError(r"must validate the regular expression /^(?=.{4,75}$)([a-zA-Z0-9-]+\.)+[a-zA-Z]{2,63}$/") + return value + model_config = ConfigDict( populate_by_name=True, validate_assignment=True, diff --git a/eZmaxApi/models/domain_response.py b/eZmaxApi/models/domain_response.py index 7ace42097..d30e00ce9 100644 --- a/eZmaxApi/models/domain_response.py +++ b/eZmaxApi/models/domain_response.py @@ -89,7 +89,22 @@ def to_dict(self) -> Dict[str, Any]: return _dict @classmethod - def from_dict(cls, obj: Dict[str, Any]) -> Optional[Self]: + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: """Create an instance of DomainResponse from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "pkiDomainID": obj.get("pkiDomainID"), + "sDomainName": obj.get("sDomainName"), + "bDomainValiddkim": obj.get("bDomainValiddkim"), + "bDomainValidmailfrom": obj.get("bDomainValidmailfrom"), + "bDomainValidcustomer": obj.get("bDomainValidcustomer"), + "objAudit": CommonAudit.from_dict(obj["objAudit"]) if obj.get("objAudit") is not None else None + }) + return _obj diff --git a/eZmaxApi/models/domain_response_compound.py b/eZmaxApi/models/domain_response_compound.py index 674aaccd3..a6362c7d6 100644 --- a/eZmaxApi/models/domain_response_compound.py +++ b/eZmaxApi/models/domain_response_compound.py @@ -18,20 +18,34 @@ import re # noqa: F401 import json -from pydantic import ConfigDict, Field +from pydantic import BaseModel, ConfigDict, Field, StrictBool, field_validator from typing import Any, ClassVar, Dict, List +from typing_extensions import Annotated from eZmaxApi.models.common_audit import CommonAudit -from eZmaxApi.models.domain_response import DomainResponse +from eZmaxApi.models.custom_dnsrecord_response import CustomDnsrecordResponse from typing import Optional, Set from typing_extensions import Self -class DomainResponseCompound(DomainResponse): +class DomainResponseCompound(BaseModel): """ A Domain Object """ # noqa: E501 - a_obj_dnsrecord: List[object] = Field(alias="a_objDnsrecord") + pki_domain_id: Annotated[int, Field(le=255, strict=True, ge=0)] = Field(description="The unique ID of the Domain", alias="pkiDomainID") + s_domain_name: Annotated[str, Field(strict=True)] = Field(description="The name of the Domain", alias="sDomainName") + b_domain_validdkim: StrictBool = Field(description="Whether the DKIM is valid or not", alias="bDomainValiddkim") + b_domain_validmailfrom: StrictBool = Field(description="Whether the mail from is valid or not", alias="bDomainValidmailfrom") + b_domain_validcustomer: StrictBool = Field(description="Whether the customer has access to it or not", alias="bDomainValidcustomer") + obj_audit: CommonAudit = Field(alias="objAudit") + a_obj_dnsrecord: List[CustomDnsrecordResponse] = Field(alias="a_objDnsrecord") __properties: ClassVar[List[str]] = ["pkiDomainID", "sDomainName", "bDomainValiddkim", "bDomainValidmailfrom", "bDomainValidcustomer", "objAudit", "a_objDnsrecord"] + @field_validator('s_domain_name') + def s_domain_name_validate_regular_expression(cls, value): + """Validates the regular expression""" + if not re.match(r"^(?=.{4,75}$)([a-zA-Z0-9-]+\.)+[a-zA-Z]{2,63}$", value): + raise ValueError(r"must validate the regular expression /^(?=.{4,75}$)([a-zA-Z0-9-]+\.)+[a-zA-Z]{2,63}$/") + return value + model_config = ConfigDict( populate_by_name=True, validate_assignment=True, @@ -74,6 +88,13 @@ def to_dict(self) -> Dict[str, Any]: # override the default output from pydantic by calling `to_dict()` of obj_audit if self.obj_audit: _dict['objAudit'] = self.obj_audit.to_dict() + # override the default output from pydantic by calling `to_dict()` of each item in a_obj_dnsrecord (list) + _items = [] + if self.a_obj_dnsrecord: + for _item_a_obj_dnsrecord in self.a_obj_dnsrecord: + if _item_a_obj_dnsrecord: + _items.append(_item_a_obj_dnsrecord.to_dict()) + _dict['a_objDnsrecord'] = _items return _dict @classmethod @@ -92,7 +113,7 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: "bDomainValidmailfrom": obj.get("bDomainValidmailfrom"), "bDomainValidcustomer": obj.get("bDomainValidcustomer"), "objAudit": CommonAudit.from_dict(obj["objAudit"]) if obj.get("objAudit") is not None else None, - "a_objDnsrecord": obj.get("a_objDnsrecord") + "a_objDnsrecord": [CustomDnsrecordResponse.from_dict(_item) for _item in obj["a_objDnsrecord"]] if obj.get("a_objDnsrecord") is not None else None }) return _obj diff --git a/eZmaxApi/models/electronicfundstransfer_get_communication_count_v1_response.py b/eZmaxApi/models/electronicfundstransfer_get_communication_count_v1_response.py index bd0c51fef..10047f6c3 100644 --- a/eZmaxApi/models/electronicfundstransfer_get_communication_count_v1_response.py +++ b/eZmaxApi/models/electronicfundstransfer_get_communication_count_v1_response.py @@ -18,19 +18,20 @@ import re # noqa: F401 import json -from pydantic import ConfigDict, Field -from typing import Any, ClassVar, Dict, List -from eZmaxApi.models.common_response import CommonResponse +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List, Optional from eZmaxApi.models.common_response_obj_debug import CommonResponseObjDebug from eZmaxApi.models.common_response_obj_debug_payload import CommonResponseObjDebugPayload from eZmaxApi.models.electronicfundstransfer_get_communication_count_v1_response_m_payload import ElectronicfundstransferGetCommunicationCountV1ResponseMPayload from typing import Optional, Set from typing_extensions import Self -class ElectronicfundstransferGetCommunicationCountV1Response(CommonResponse): +class ElectronicfundstransferGetCommunicationCountV1Response(BaseModel): """ Response for GET /1/object/electronicfundstransfer/{pkiElectronicfundstransferID}/getCommunicationCount """ # noqa: E501 + obj_debug_payload: CommonResponseObjDebugPayload = Field(alias="objDebugPayload") + obj_debug: Optional[CommonResponseObjDebug] = Field(default=None, alias="objDebug") m_payload: ElectronicfundstransferGetCommunicationCountV1ResponseMPayload = Field(alias="mPayload") __properties: ClassVar[List[str]] = ["objDebugPayload", "objDebug", "mPayload"] diff --git a/eZmaxApi/models/electronicfundstransfer_get_communication_list_v1_response.py b/eZmaxApi/models/electronicfundstransfer_get_communication_list_v1_response.py index 042cb6c29..8bca3abeb 100644 --- a/eZmaxApi/models/electronicfundstransfer_get_communication_list_v1_response.py +++ b/eZmaxApi/models/electronicfundstransfer_get_communication_list_v1_response.py @@ -18,19 +18,20 @@ import re # noqa: F401 import json -from pydantic import ConfigDict, Field -from typing import Any, ClassVar, Dict, List -from eZmaxApi.models.common_response_get_list import CommonResponseGetList +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List, Optional from eZmaxApi.models.common_response_obj_debug import CommonResponseObjDebug from eZmaxApi.models.common_response_obj_debug_payload_get_list import CommonResponseObjDebugPayloadGetList from eZmaxApi.models.electronicfundstransfer_get_communication_list_v1_response_m_payload import ElectronicfundstransferGetCommunicationListV1ResponseMPayload from typing import Optional, Set from typing_extensions import Self -class ElectronicfundstransferGetCommunicationListV1Response(CommonResponseGetList): +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(default=None, alias="objDebug") m_payload: ElectronicfundstransferGetCommunicationListV1ResponseMPayload = Field(alias="mPayload") __properties: ClassVar[List[str]] = ["objDebugPayload", "objDebug", "mPayload"] diff --git a/eZmaxApi/models/electronicfundstransfer_get_communicationrecipients_v1_response.py b/eZmaxApi/models/electronicfundstransfer_get_communicationrecipients_v1_response.py index d3fc30881..a6a825810 100644 --- a/eZmaxApi/models/electronicfundstransfer_get_communicationrecipients_v1_response.py +++ b/eZmaxApi/models/electronicfundstransfer_get_communicationrecipients_v1_response.py @@ -18,19 +18,20 @@ import re # noqa: F401 import json -from pydantic import ConfigDict, Field -from typing import Any, ClassVar, Dict, List -from eZmaxApi.models.common_response import CommonResponse +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List, Optional from eZmaxApi.models.common_response_obj_debug import CommonResponseObjDebug from eZmaxApi.models.common_response_obj_debug_payload import CommonResponseObjDebugPayload from eZmaxApi.models.electronicfundstransfer_get_communicationrecipients_v1_response_m_payload import ElectronicfundstransferGetCommunicationrecipientsV1ResponseMPayload from typing import Optional, Set from typing_extensions import Self -class ElectronicfundstransferGetCommunicationrecipientsV1Response(CommonResponse): +class ElectronicfundstransferGetCommunicationrecipientsV1Response(BaseModel): """ Response for GET /1/object/electronicfundstransfer/{pkiElectronicfundstransferID}/getCommunicationrecipients """ # noqa: E501 + obj_debug_payload: CommonResponseObjDebugPayload = Field(alias="objDebugPayload") + obj_debug: Optional[CommonResponseObjDebug] = Field(default=None, alias="objDebug") m_payload: ElectronicfundstransferGetCommunicationrecipientsV1ResponseMPayload = Field(alias="mPayload") __properties: ClassVar[List[str]] = ["objDebugPayload", "objDebug", "mPayload"] diff --git a/eZmaxApi/models/electronicfundstransfer_get_communicationsenders_v1_response.py b/eZmaxApi/models/electronicfundstransfer_get_communicationsenders_v1_response.py index 4707170b0..399f7fb7c 100644 --- a/eZmaxApi/models/electronicfundstransfer_get_communicationsenders_v1_response.py +++ b/eZmaxApi/models/electronicfundstransfer_get_communicationsenders_v1_response.py @@ -18,19 +18,20 @@ import re # noqa: F401 import json -from pydantic import ConfigDict, Field -from typing import Any, ClassVar, Dict, List -from eZmaxApi.models.common_response import CommonResponse +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List, Optional from eZmaxApi.models.common_response_obj_debug import CommonResponseObjDebug from eZmaxApi.models.common_response_obj_debug_payload import CommonResponseObjDebugPayload from eZmaxApi.models.electronicfundstransfer_get_communicationsenders_v1_response_m_payload import ElectronicfundstransferGetCommunicationsendersV1ResponseMPayload from typing import Optional, Set from typing_extensions import Self -class ElectronicfundstransferGetCommunicationsendersV1Response(CommonResponse): +class ElectronicfundstransferGetCommunicationsendersV1Response(BaseModel): """ Response for GET /1/object/electronicfundstransfer/{pkiElectronicfundstransferID}/getCommunicationrecipients """ # noqa: E501 + obj_debug_payload: CommonResponseObjDebugPayload = Field(alias="objDebugPayload") + obj_debug: Optional[CommonResponseObjDebug] = Field(default=None, alias="objDebug") m_payload: ElectronicfundstransferGetCommunicationsendersV1ResponseMPayload = Field(alias="mPayload") __properties: ClassVar[List[str]] = ["objDebugPayload", "objDebug", "mPayload"] diff --git a/eZmaxApi/models/emailtype_get_autocomplete_v2_response.py b/eZmaxApi/models/emailtype_get_autocomplete_v2_response.py index 1eaa80db3..754f0e3fc 100644 --- a/eZmaxApi/models/emailtype_get_autocomplete_v2_response.py +++ b/eZmaxApi/models/emailtype_get_autocomplete_v2_response.py @@ -18,19 +18,20 @@ import re # noqa: F401 import json -from pydantic import ConfigDict, Field -from typing import Any, ClassVar, Dict, List -from eZmaxApi.models.common_response import CommonResponse +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List, Optional from eZmaxApi.models.common_response_obj_debug import CommonResponseObjDebug from eZmaxApi.models.common_response_obj_debug_payload import CommonResponseObjDebugPayload from eZmaxApi.models.emailtype_get_autocomplete_v2_response_m_payload import EmailtypeGetAutocompleteV2ResponseMPayload from typing import Optional, Set from typing_extensions import Self -class EmailtypeGetAutocompleteV2Response(CommonResponse): +class EmailtypeGetAutocompleteV2Response(BaseModel): """ Response for GET /2/object/emailtype/getAutocomplete """ # noqa: E501 + obj_debug_payload: CommonResponseObjDebugPayload = Field(alias="objDebugPayload") + obj_debug: Optional[CommonResponseObjDebug] = Field(default=None, alias="objDebug") m_payload: EmailtypeGetAutocompleteV2ResponseMPayload = Field(alias="mPayload") __properties: ClassVar[List[str]] = ["objDebugPayload", "objDebug", "mPayload"] diff --git a/eZmaxApi/models/ezdoctemplatedocument_create_object_v1_response.py b/eZmaxApi/models/ezdoctemplatedocument_create_object_v1_response.py index 1141c02a2..20ef7862d 100644 --- a/eZmaxApi/models/ezdoctemplatedocument_create_object_v1_response.py +++ b/eZmaxApi/models/ezdoctemplatedocument_create_object_v1_response.py @@ -18,19 +18,20 @@ import re # noqa: F401 import json -from pydantic import ConfigDict, Field -from typing import Any, ClassVar, Dict, List -from eZmaxApi.models.common_response import CommonResponse +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List, Optional from eZmaxApi.models.common_response_obj_debug import CommonResponseObjDebug from eZmaxApi.models.common_response_obj_debug_payload import CommonResponseObjDebugPayload from eZmaxApi.models.ezdoctemplatedocument_create_object_v1_response_m_payload import EzdoctemplatedocumentCreateObjectV1ResponseMPayload from typing import Optional, Set from typing_extensions import Self -class EzdoctemplatedocumentCreateObjectV1Response(CommonResponse): +class EzdoctemplatedocumentCreateObjectV1Response(BaseModel): """ Response for POST /1/object/ezdoctemplatedocument """ # noqa: E501 + obj_debug_payload: CommonResponseObjDebugPayload = Field(alias="objDebugPayload") + obj_debug: Optional[CommonResponseObjDebug] = Field(default=None, alias="objDebug") m_payload: EzdoctemplatedocumentCreateObjectV1ResponseMPayload = Field(alias="mPayload") __properties: ClassVar[List[str]] = ["objDebugPayload", "objDebug", "mPayload"] diff --git a/eZmaxApi/models/ezdoctemplatedocument_edit_object_v1_response.py b/eZmaxApi/models/ezdoctemplatedocument_edit_object_v1_response.py index 4ee88b80b..fbc397fec 100644 --- a/eZmaxApi/models/ezdoctemplatedocument_edit_object_v1_response.py +++ b/eZmaxApi/models/ezdoctemplatedocument_edit_object_v1_response.py @@ -18,18 +18,19 @@ import re # noqa: F401 import json -from pydantic import ConfigDict -from typing import Any, ClassVar, Dict, List -from eZmaxApi.models.common_response import CommonResponse +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List, Optional from eZmaxApi.models.common_response_obj_debug import CommonResponseObjDebug from eZmaxApi.models.common_response_obj_debug_payload import CommonResponseObjDebugPayload from typing import Optional, Set from typing_extensions import Self -class EzdoctemplatedocumentEditObjectV1Response(CommonResponse): +class EzdoctemplatedocumentEditObjectV1Response(BaseModel): """ Response for PUT /1/object/ezdoctemplatedocument/{pkiEzdoctemplatedocumentID} """ # noqa: E501 + obj_debug_payload: CommonResponseObjDebugPayload = Field(alias="objDebugPayload") + obj_debug: Optional[CommonResponseObjDebug] = Field(default=None, alias="objDebug") __properties: ClassVar[List[str]] = ["objDebugPayload", "objDebug"] model_config = ConfigDict( diff --git a/eZmaxApi/models/ezdoctemplatedocument_get_autocomplete_v2_response.py b/eZmaxApi/models/ezdoctemplatedocument_get_autocomplete_v2_response.py index eee8751db..114666629 100644 --- a/eZmaxApi/models/ezdoctemplatedocument_get_autocomplete_v2_response.py +++ b/eZmaxApi/models/ezdoctemplatedocument_get_autocomplete_v2_response.py @@ -18,19 +18,20 @@ import re # noqa: F401 import json -from pydantic import ConfigDict, Field -from typing import Any, ClassVar, Dict, List -from eZmaxApi.models.common_response import CommonResponse +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List, Optional from eZmaxApi.models.common_response_obj_debug import CommonResponseObjDebug from eZmaxApi.models.common_response_obj_debug_payload import CommonResponseObjDebugPayload from eZmaxApi.models.ezdoctemplatedocument_get_autocomplete_v2_response_m_payload import EzdoctemplatedocumentGetAutocompleteV2ResponseMPayload from typing import Optional, Set from typing_extensions import Self -class EzdoctemplatedocumentGetAutocompleteV2Response(CommonResponse): +class EzdoctemplatedocumentGetAutocompleteV2Response(BaseModel): """ Response for GET /2/object/ezdoctemplatedocument/getAutocomplete """ # noqa: E501 + obj_debug_payload: CommonResponseObjDebugPayload = Field(alias="objDebugPayload") + obj_debug: Optional[CommonResponseObjDebug] = Field(default=None, alias="objDebug") m_payload: EzdoctemplatedocumentGetAutocompleteV2ResponseMPayload = Field(alias="mPayload") __properties: ClassVar[List[str]] = ["objDebugPayload", "objDebug", "mPayload"] diff --git a/eZmaxApi/models/ezdoctemplatedocument_get_list_v1_response.py b/eZmaxApi/models/ezdoctemplatedocument_get_list_v1_response.py index b6ad59e95..f8cc8fef1 100644 --- a/eZmaxApi/models/ezdoctemplatedocument_get_list_v1_response.py +++ b/eZmaxApi/models/ezdoctemplatedocument_get_list_v1_response.py @@ -18,19 +18,20 @@ import re # noqa: F401 import json -from pydantic import ConfigDict, Field -from typing import Any, ClassVar, Dict, List -from eZmaxApi.models.common_response_get_list import CommonResponseGetList +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List, Optional from eZmaxApi.models.common_response_obj_debug import CommonResponseObjDebug from eZmaxApi.models.common_response_obj_debug_payload_get_list import CommonResponseObjDebugPayloadGetList from eZmaxApi.models.ezdoctemplatedocument_get_list_v1_response_m_payload import EzdoctemplatedocumentGetListV1ResponseMPayload from typing import Optional, Set from typing_extensions import Self -class EzdoctemplatedocumentGetListV1Response(CommonResponseGetList): +class EzdoctemplatedocumentGetListV1Response(BaseModel): """ Response for GET /1/object/ezdoctemplatedocument/getList """ # noqa: E501 + obj_debug_payload: CommonResponseObjDebugPayloadGetList = Field(alias="objDebugPayload") + obj_debug: Optional[CommonResponseObjDebug] = Field(default=None, alias="objDebug") m_payload: EzdoctemplatedocumentGetListV1ResponseMPayload = Field(alias="mPayload") __properties: ClassVar[List[str]] = ["objDebugPayload", "objDebug", "mPayload"] diff --git a/eZmaxApi/models/ezdoctemplatedocument_get_list_v1_response_m_payload.py b/eZmaxApi/models/ezdoctemplatedocument_get_list_v1_response_m_payload.py index dd156e1a7..0f9e0ad49 100644 --- a/eZmaxApi/models/ezdoctemplatedocument_get_list_v1_response_m_payload.py +++ b/eZmaxApi/models/ezdoctemplatedocument_get_list_v1_response_m_payload.py @@ -18,17 +18,18 @@ import re # noqa: F401 import json -from pydantic import ConfigDict, Field +from pydantic import BaseModel, ConfigDict, Field, StrictInt from typing import Any, ClassVar, Dict, List -from eZmaxApi.models.common_get_list_v1_response_m_payload import CommonGetListV1ResponseMPayload from eZmaxApi.models.ezdoctemplatedocument_list_element import EzdoctemplatedocumentListElement from typing import Optional, Set from typing_extensions import Self -class EzdoctemplatedocumentGetListV1ResponseMPayload(CommonGetListV1ResponseMPayload): +class EzdoctemplatedocumentGetListV1ResponseMPayload(BaseModel): """ Payload for GET /1/object/ezdoctemplatedocument/getList """ # noqa: E501 + i_row_returned: StrictInt = Field(description="The number of rows returned", alias="iRowReturned") + i_row_filtered: StrictInt = Field(description="The number of rows matching your filters (if any) or the total number of rows", alias="iRowFiltered") a_obj_ezdoctemplatedocument: List[EzdoctemplatedocumentListElement] = Field(alias="a_objEzdoctemplatedocument") __properties: ClassVar[List[str]] = ["iRowReturned", "iRowFiltered", "a_objEzdoctemplatedocument"] diff --git a/eZmaxApi/models/ezdoctemplatedocument_get_object_v2_response.py b/eZmaxApi/models/ezdoctemplatedocument_get_object_v2_response.py index 473ad5818..b97157e60 100644 --- a/eZmaxApi/models/ezdoctemplatedocument_get_object_v2_response.py +++ b/eZmaxApi/models/ezdoctemplatedocument_get_object_v2_response.py @@ -18,19 +18,20 @@ import re # noqa: F401 import json -from pydantic import ConfigDict, Field -from typing import Any, ClassVar, Dict, List -from eZmaxApi.models.common_response import CommonResponse +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List, Optional from eZmaxApi.models.common_response_obj_debug import CommonResponseObjDebug from eZmaxApi.models.common_response_obj_debug_payload import CommonResponseObjDebugPayload from eZmaxApi.models.ezdoctemplatedocument_get_object_v2_response_m_payload import EzdoctemplatedocumentGetObjectV2ResponseMPayload from typing import Optional, Set from typing_extensions import Self -class EzdoctemplatedocumentGetObjectV2Response(CommonResponse): +class EzdoctemplatedocumentGetObjectV2Response(BaseModel): """ Response for GET /2/object/ezdoctemplatedocument/{pkiEzdoctemplatedocumentID} """ # noqa: E501 + obj_debug_payload: CommonResponseObjDebugPayload = Field(alias="objDebugPayload") + obj_debug: Optional[CommonResponseObjDebug] = Field(default=None, alias="objDebug") m_payload: EzdoctemplatedocumentGetObjectV2ResponseMPayload = Field(alias="mPayload") __properties: ClassVar[List[str]] = ["objDebugPayload", "objDebug", "mPayload"] diff --git a/eZmaxApi/models/ezdoctemplatedocument_patch_object_v1_response.py b/eZmaxApi/models/ezdoctemplatedocument_patch_object_v1_response.py index 21bf419dc..b02591b2d 100644 --- a/eZmaxApi/models/ezdoctemplatedocument_patch_object_v1_response.py +++ b/eZmaxApi/models/ezdoctemplatedocument_patch_object_v1_response.py @@ -18,18 +18,19 @@ import re # noqa: F401 import json -from pydantic import ConfigDict -from typing import Any, ClassVar, Dict, List -from eZmaxApi.models.common_response import CommonResponse +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List, Optional from eZmaxApi.models.common_response_obj_debug import CommonResponseObjDebug from eZmaxApi.models.common_response_obj_debug_payload import CommonResponseObjDebugPayload from typing import Optional, Set from typing_extensions import Self -class EzdoctemplatedocumentPatchObjectV1Response(CommonResponse): +class EzdoctemplatedocumentPatchObjectV1Response(BaseModel): """ Response for PATCH /1/object/ezdoctemplatedocument/{pkiEzdoctemplatedocumentID} """ # noqa: E501 + obj_debug_payload: CommonResponseObjDebugPayload = Field(alias="objDebugPayload") + obj_debug: Optional[CommonResponseObjDebug] = Field(default=None, alias="objDebug") __properties: ClassVar[List[str]] = ["objDebugPayload", "objDebug"] model_config = ConfigDict( diff --git a/eZmaxApi/models/ezdoctemplatedocument_request.py b/eZmaxApi/models/ezdoctemplatedocument_request.py index a0adf7823..80d3868a9 100644 --- a/eZmaxApi/models/ezdoctemplatedocument_request.py +++ b/eZmaxApi/models/ezdoctemplatedocument_request.py @@ -85,7 +85,24 @@ def to_dict(self) -> Dict[str, Any]: return _dict @classmethod - def from_dict(cls, obj: Dict[str, Any]) -> Optional[Self]: + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: """Create an instance of EzdoctemplatedocumentRequest from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "pkiEzdoctemplatedocumentID": obj.get("pkiEzdoctemplatedocumentID"), + "fkiLanguageID": obj.get("fkiLanguageID"), + "fkiEzsignfoldertypeID": obj.get("fkiEzsignfoldertypeID"), + "fkiEzdoctemplatetypeID": obj.get("fkiEzdoctemplatetypeID"), + "fkiEzdoctemplatefieldtypecategoryID": obj.get("fkiEzdoctemplatefieldtypecategoryID"), + "eEzdoctemplatedocumentPrivacylevel": obj.get("eEzdoctemplatedocumentPrivacylevel"), + "bEzdoctemplatedocumentIsactive": obj.get("bEzdoctemplatedocumentIsactive"), + "objEzdoctemplatedocumentName": MultilingualEzdoctemplatedocumentName.from_dict(obj["objEzdoctemplatedocumentName"]) if obj.get("objEzdoctemplatedocumentName") is not None else None + }) + return _obj diff --git a/eZmaxApi/models/ezdoctemplatedocument_request_compound.py b/eZmaxApi/models/ezdoctemplatedocument_request_compound.py index 301be9dc7..76752a8e7 100644 --- a/eZmaxApi/models/ezdoctemplatedocument_request_compound.py +++ b/eZmaxApi/models/ezdoctemplatedocument_request_compound.py @@ -18,18 +18,26 @@ import re # noqa: F401 import json -from pydantic import ConfigDict -from typing import Any, ClassVar, Dict, List -from eZmaxApi.models.ezdoctemplatedocument_request import EzdoctemplatedocumentRequest +from pydantic import BaseModel, ConfigDict, Field, StrictBool +from typing import Any, ClassVar, Dict, List, Optional +from typing_extensions import Annotated from eZmaxApi.models.field_e_ezdoctemplatedocument_privacylevel import FieldEEzdoctemplatedocumentPrivacylevel from eZmaxApi.models.multilingual_ezdoctemplatedocument_name import MultilingualEzdoctemplatedocumentName from typing import Optional, Set from typing_extensions import Self -class EzdoctemplatedocumentRequestCompound(EzdoctemplatedocumentRequest): +class EzdoctemplatedocumentRequestCompound(BaseModel): """ A Ezdoctemplatedocument Object and children """ # noqa: E501 + pki_ezdoctemplatedocument_id: Optional[Annotated[int, Field(le=65535, strict=True, ge=0)]] = Field(default=None, description="The unique ID of the Ezdoctemplatedocument", alias="pkiEzdoctemplatedocumentID") + fki_language_id: Annotated[int, Field(le=2, strict=True, ge=1)] = Field(description="The unique ID of the Language. Valid values: |Value|Description| |-|-| |1|French| |2|English|", alias="fkiLanguageID") + fki_ezsignfoldertype_id: Optional[Annotated[int, Field(le=65535, strict=True, ge=0)]] = Field(default=None, description="The unique ID of the Ezsignfoldertype.", alias="fkiEzsignfoldertypeID") + fki_ezdoctemplatetype_id: Annotated[int, Field(le=255, strict=True, ge=0)] = Field(description="The unique ID of the Ezdoctemplatetype", alias="fkiEzdoctemplatetypeID") + fki_ezdoctemplatefieldtypecategory_id: Annotated[int, Field(le=255, strict=True, ge=0)] = Field(description="The unique ID of the Ezdoctemplatefieldtypecategory", alias="fkiEzdoctemplatefieldtypecategoryID") + e_ezdoctemplatedocument_privacylevel: Optional[FieldEEzdoctemplatedocumentPrivacylevel] = Field(default=None, alias="eEzdoctemplatedocumentPrivacylevel") + b_ezdoctemplatedocument_isactive: StrictBool = Field(description="Whether the ezdoctemplatedocument is active or not", alias="bEzdoctemplatedocumentIsactive") + obj_ezdoctemplatedocument_name: MultilingualEzdoctemplatedocumentName = Field(alias="objEzdoctemplatedocumentName") __properties: ClassVar[List[str]] = ["pkiEzdoctemplatedocumentID", "fkiLanguageID", "fkiEzsignfoldertypeID", "fkiEzdoctemplatetypeID", "fkiEzdoctemplatefieldtypecategoryID", "eEzdoctemplatedocumentPrivacylevel", "bEzdoctemplatedocumentIsactive", "objEzdoctemplatedocumentName"] model_config = ConfigDict( diff --git a/eZmaxApi/models/ezdoctemplatedocument_response.py b/eZmaxApi/models/ezdoctemplatedocument_response.py index 6708ab69f..a14588574 100644 --- a/eZmaxApi/models/ezdoctemplatedocument_response.py +++ b/eZmaxApi/models/ezdoctemplatedocument_response.py @@ -113,7 +113,28 @@ def to_dict(self) -> Dict[str, Any]: return _dict @classmethod - def from_dict(cls, obj: Dict[str, Any]) -> Optional[Self]: + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: """Create an instance of EzdoctemplatedocumentResponse from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "pkiEzdoctemplatedocumentID": obj.get("pkiEzdoctemplatedocumentID"), + "fkiLanguageID": obj.get("fkiLanguageID"), + "fkiEzsignfoldertypeID": obj.get("fkiEzsignfoldertypeID"), + "fkiEzdoctemplatetypeID": obj.get("fkiEzdoctemplatetypeID"), + "fkiEzdoctemplatefieldtypecategoryID": obj.get("fkiEzdoctemplatefieldtypecategoryID"), + "eEzdoctemplatedocumentPrivacylevel": obj.get("eEzdoctemplatedocumentPrivacylevel"), + "bEzdoctemplatedocumentIsactive": obj.get("bEzdoctemplatedocumentIsactive"), + "objEzdoctemplatedocumentName": MultilingualEzdoctemplatedocumentName.from_dict(obj["objEzdoctemplatedocumentName"]) if obj.get("objEzdoctemplatedocumentName") is not None else None, + "sEzdoctemplatedocumentNameX": obj.get("sEzdoctemplatedocumentNameX"), + "sEzsignfoldertypeNameX": obj.get("sEzsignfoldertypeNameX"), + "sEzdoctemplatefieldtypecategoryDescriptionX": obj.get("sEzdoctemplatefieldtypecategoryDescriptionX"), + "sEzdoctemplatetypeDescriptionX": obj.get("sEzdoctemplatetypeDescriptionX") + }) + return _obj diff --git a/eZmaxApi/models/ezdoctemplatedocument_response_compound.py b/eZmaxApi/models/ezdoctemplatedocument_response_compound.py index 1b49ccfe5..8842c812e 100644 --- a/eZmaxApi/models/ezdoctemplatedocument_response_compound.py +++ b/eZmaxApi/models/ezdoctemplatedocument_response_compound.py @@ -18,20 +18,56 @@ import re # noqa: F401 import json -from pydantic import ConfigDict -from typing import Any, ClassVar, Dict, List -from eZmaxApi.models.ezdoctemplatedocument_response import EzdoctemplatedocumentResponse +from pydantic import BaseModel, ConfigDict, Field, StrictBool, StrictStr, field_validator +from typing import Any, ClassVar, Dict, List, Optional +from typing_extensions import Annotated from eZmaxApi.models.field_e_ezdoctemplatedocument_privacylevel import FieldEEzdoctemplatedocumentPrivacylevel from eZmaxApi.models.multilingual_ezdoctemplatedocument_name import MultilingualEzdoctemplatedocumentName from typing import Optional, Set from typing_extensions import Self -class EzdoctemplatedocumentResponseCompound(EzdoctemplatedocumentResponse): +class EzdoctemplatedocumentResponseCompound(BaseModel): """ A Ezdoctemplatedocument Object """ # noqa: E501 + pki_ezdoctemplatedocument_id: Annotated[int, Field(le=65535, strict=True, ge=0)] = Field(description="The unique ID of the Ezdoctemplatedocument", alias="pkiEzdoctemplatedocumentID") + fki_language_id: Annotated[int, Field(le=2, strict=True, ge=1)] = Field(description="The unique ID of the Language. Valid values: |Value|Description| |-|-| |1|French| |2|English|", alias="fkiLanguageID") + fki_ezsignfoldertype_id: Optional[Annotated[int, Field(le=65535, strict=True, ge=0)]] = Field(default=None, description="The unique ID of the Ezsignfoldertype.", alias="fkiEzsignfoldertypeID") + fki_ezdoctemplatetype_id: Annotated[int, Field(le=255, strict=True, ge=0)] = Field(description="The unique ID of the Ezdoctemplatetype", alias="fkiEzdoctemplatetypeID") + fki_ezdoctemplatefieldtypecategory_id: Annotated[int, Field(le=255, strict=True, ge=0)] = Field(description="The unique ID of the Ezdoctemplatefieldtypecategory", alias="fkiEzdoctemplatefieldtypecategoryID") + e_ezdoctemplatedocument_privacylevel: Optional[FieldEEzdoctemplatedocumentPrivacylevel] = Field(default=None, alias="eEzdoctemplatedocumentPrivacylevel") + b_ezdoctemplatedocument_isactive: StrictBool = Field(description="Whether the ezdoctemplatedocument is active or not", alias="bEzdoctemplatedocumentIsactive") + obj_ezdoctemplatedocument_name: MultilingualEzdoctemplatedocumentName = Field(alias="objEzdoctemplatedocumentName") + s_ezdoctemplatedocument_name_x: Optional[Annotated[str, Field(strict=True)]] = Field(default=None, description="The name of the Ezdoctemplatedocument in the language of the requester", alias="sEzdoctemplatedocumentNameX") + s_ezsignfoldertype_name_x: Optional[StrictStr] = Field(default=None, description="The name of the Ezsignfoldertype in the language of the requester", alias="sEzsignfoldertypeNameX") + s_ezdoctemplatefieldtypecategory_description_x: Annotated[str, Field(strict=True)] = Field(description="The description of the Ezdoctemplatefieldtypecategory in the language of the requester", alias="sEzdoctemplatefieldtypecategoryDescriptionX") + s_ezdoctemplatetype_description_x: Annotated[str, Field(strict=True)] = Field(description="The description of the Ezdoctemplatetype in the language of the requester", alias="sEzdoctemplatetypeDescriptionX") __properties: ClassVar[List[str]] = ["pkiEzdoctemplatedocumentID", "fkiLanguageID", "fkiEzsignfoldertypeID", "fkiEzdoctemplatetypeID", "fkiEzdoctemplatefieldtypecategoryID", "eEzdoctemplatedocumentPrivacylevel", "bEzdoctemplatedocumentIsactive", "objEzdoctemplatedocumentName", "sEzdoctemplatedocumentNameX", "sEzsignfoldertypeNameX", "sEzdoctemplatefieldtypecategoryDescriptionX", "sEzdoctemplatetypeDescriptionX"] + @field_validator('s_ezdoctemplatedocument_name_x') + def s_ezdoctemplatedocument_name_x_validate_regular_expression(cls, value): + """Validates the regular expression""" + if value is None: + return value + + if not re.match(r"^.{0,50}$", value): + raise ValueError(r"must validate the regular expression /^.{0,50}$/") + return value + + @field_validator('s_ezdoctemplatefieldtypecategory_description_x') + def s_ezdoctemplatefieldtypecategory_description_x_validate_regular_expression(cls, value): + """Validates the regular expression""" + if not re.match(r"^.{0,55}$", value): + raise ValueError(r"must validate the regular expression /^.{0,55}$/") + return value + + @field_validator('s_ezdoctemplatetype_description_x') + def s_ezdoctemplatetype_description_x_validate_regular_expression(cls, value): + """Validates the regular expression""" + if not re.match(r"^.{0,50}$", value): + raise ValueError(r"must validate the regular expression /^.{0,50}$/") + return value + model_config = ConfigDict( populate_by_name=True, validate_assignment=True, diff --git a/eZmaxApi/models/ezdoctemplatefieldtypecategory_get_autocomplete_v2_response.py b/eZmaxApi/models/ezdoctemplatefieldtypecategory_get_autocomplete_v2_response.py index e10bc4e9c..189f263df 100644 --- a/eZmaxApi/models/ezdoctemplatefieldtypecategory_get_autocomplete_v2_response.py +++ b/eZmaxApi/models/ezdoctemplatefieldtypecategory_get_autocomplete_v2_response.py @@ -18,19 +18,20 @@ import re # noqa: F401 import json -from pydantic import ConfigDict, Field -from typing import Any, ClassVar, Dict, List -from eZmaxApi.models.common_response import CommonResponse +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List, Optional from eZmaxApi.models.common_response_obj_debug import CommonResponseObjDebug from eZmaxApi.models.common_response_obj_debug_payload import CommonResponseObjDebugPayload from eZmaxApi.models.ezdoctemplatefieldtypecategory_get_autocomplete_v2_response_m_payload import EzdoctemplatefieldtypecategoryGetAutocompleteV2ResponseMPayload from typing import Optional, Set from typing_extensions import Self -class EzdoctemplatefieldtypecategoryGetAutocompleteV2Response(CommonResponse): +class EzdoctemplatefieldtypecategoryGetAutocompleteV2Response(BaseModel): """ Response for GET /2/object/ezdoctemplatefieldtypecategory/getAutocomplete """ # noqa: E501 + obj_debug_payload: CommonResponseObjDebugPayload = Field(alias="objDebugPayload") + obj_debug: Optional[CommonResponseObjDebug] = Field(default=None, alias="objDebug") m_payload: EzdoctemplatefieldtypecategoryGetAutocompleteV2ResponseMPayload = Field(alias="mPayload") __properties: ClassVar[List[str]] = ["objDebugPayload", "objDebug", "mPayload"] diff --git a/eZmaxApi/models/ezdoctemplatetype_get_autocomplete_v2_response.py b/eZmaxApi/models/ezdoctemplatetype_get_autocomplete_v2_response.py index 9ed6519c7..aeac8f763 100644 --- a/eZmaxApi/models/ezdoctemplatetype_get_autocomplete_v2_response.py +++ b/eZmaxApi/models/ezdoctemplatetype_get_autocomplete_v2_response.py @@ -18,19 +18,20 @@ import re # noqa: F401 import json -from pydantic import ConfigDict, Field -from typing import Any, ClassVar, Dict, List -from eZmaxApi.models.common_response import CommonResponse +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List, Optional from eZmaxApi.models.common_response_obj_debug import CommonResponseObjDebug from eZmaxApi.models.common_response_obj_debug_payload import CommonResponseObjDebugPayload from eZmaxApi.models.ezdoctemplatetype_get_autocomplete_v2_response_m_payload import EzdoctemplatetypeGetAutocompleteV2ResponseMPayload from typing import Optional, Set from typing_extensions import Self -class EzdoctemplatetypeGetAutocompleteV2Response(CommonResponse): +class EzdoctemplatetypeGetAutocompleteV2Response(BaseModel): """ Response for GET /2/object/ezdoctemplatetype/getAutocomplete """ # noqa: E501 + obj_debug_payload: CommonResponseObjDebugPayload = Field(alias="objDebugPayload") + obj_debug: Optional[CommonResponseObjDebug] = Field(default=None, alias="objDebug") m_payload: EzdoctemplatetypeGetAutocompleteV2ResponseMPayload = Field(alias="mPayload") __properties: ClassVar[List[str]] = ["objDebugPayload", "objDebug", "mPayload"] diff --git a/eZmaxApi/models/ezmaxinvoicing_get_autocomplete_v2_response.py b/eZmaxApi/models/ezmaxinvoicing_get_autocomplete_v2_response.py index fe45427bc..84d0eabf4 100644 --- a/eZmaxApi/models/ezmaxinvoicing_get_autocomplete_v2_response.py +++ b/eZmaxApi/models/ezmaxinvoicing_get_autocomplete_v2_response.py @@ -18,19 +18,20 @@ import re # noqa: F401 import json -from pydantic import ConfigDict, Field -from typing import Any, ClassVar, Dict, List -from eZmaxApi.models.common_response import CommonResponse +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List, Optional from eZmaxApi.models.common_response_obj_debug import CommonResponseObjDebug from eZmaxApi.models.common_response_obj_debug_payload import CommonResponseObjDebugPayload from eZmaxApi.models.ezmaxinvoicing_get_autocomplete_v2_response_m_payload import EzmaxinvoicingGetAutocompleteV2ResponseMPayload from typing import Optional, Set from typing_extensions import Self -class EzmaxinvoicingGetAutocompleteV2Response(CommonResponse): +class EzmaxinvoicingGetAutocompleteV2Response(BaseModel): """ Response for GET /2/object/ezmaxinvoicing/getAutocomplete """ # noqa: E501 + obj_debug_payload: CommonResponseObjDebugPayload = Field(alias="objDebugPayload") + obj_debug: Optional[CommonResponseObjDebug] = Field(default=None, alias="objDebug") m_payload: EzmaxinvoicingGetAutocompleteV2ResponseMPayload = Field(alias="mPayload") __properties: ClassVar[List[str]] = ["objDebugPayload", "objDebug", "mPayload"] diff --git a/eZmaxApi/models/ezmaxinvoicing_get_object_v2_response.py b/eZmaxApi/models/ezmaxinvoicing_get_object_v2_response.py index 770f82d0a..e633eb390 100644 --- a/eZmaxApi/models/ezmaxinvoicing_get_object_v2_response.py +++ b/eZmaxApi/models/ezmaxinvoicing_get_object_v2_response.py @@ -18,19 +18,20 @@ import re # noqa: F401 import json -from pydantic import ConfigDict, Field -from typing import Any, ClassVar, Dict, List -from eZmaxApi.models.common_response import CommonResponse +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List, Optional from eZmaxApi.models.common_response_obj_debug import CommonResponseObjDebug from eZmaxApi.models.common_response_obj_debug_payload import CommonResponseObjDebugPayload from eZmaxApi.models.ezmaxinvoicing_get_object_v2_response_m_payload import EzmaxinvoicingGetObjectV2ResponseMPayload from typing import Optional, Set from typing_extensions import Self -class EzmaxinvoicingGetObjectV2Response(CommonResponse): +class EzmaxinvoicingGetObjectV2Response(BaseModel): """ Response for GET /2/object/ezmaxinvoicing/{pkiEzmaxinvoicingID} """ # noqa: E501 + obj_debug_payload: CommonResponseObjDebugPayload = Field(alias="objDebugPayload") + obj_debug: Optional[CommonResponseObjDebug] = Field(default=None, alias="objDebug") m_payload: EzmaxinvoicingGetObjectV2ResponseMPayload = Field(alias="mPayload") __properties: ClassVar[List[str]] = ["objDebugPayload", "objDebug", "mPayload"] diff --git a/eZmaxApi/models/ezmaxinvoicing_get_provisional_v1_response.py b/eZmaxApi/models/ezmaxinvoicing_get_provisional_v1_response.py index 5cb44442e..f453249b0 100644 --- a/eZmaxApi/models/ezmaxinvoicing_get_provisional_v1_response.py +++ b/eZmaxApi/models/ezmaxinvoicing_get_provisional_v1_response.py @@ -18,20 +18,21 @@ import re # noqa: F401 import json -from pydantic import ConfigDict, Field -from typing import Any, ClassVar, Dict, List -from eZmaxApi.models.common_response import CommonResponse +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List, Optional from eZmaxApi.models.common_response_obj_debug import CommonResponseObjDebug from eZmaxApi.models.common_response_obj_debug_payload import CommonResponseObjDebugPayload -from eZmaxApi.models.ezmaxinvoicing_response_compound import EzmaxinvoicingResponseCompound +from eZmaxApi.models.ezmaxinvoicing_get_provisional_v1_response_m_payload import EzmaxinvoicingGetProvisionalV1ResponseMPayload from typing import Optional, Set from typing_extensions import Self -class EzmaxinvoicingGetProvisionalV1Response(CommonResponse): +class EzmaxinvoicingGetProvisionalV1Response(BaseModel): """ Response for GET /1/object/ezmaxinvoicing/getProvisional """ # noqa: E501 - m_payload: EzmaxinvoicingResponseCompound = Field(description="Payload for GET /1/object/ezmaxinvoicing/getProvisional", alias="mPayload") + obj_debug_payload: CommonResponseObjDebugPayload = Field(alias="objDebugPayload") + obj_debug: Optional[CommonResponseObjDebug] = Field(default=None, alias="objDebug") + m_payload: EzmaxinvoicingGetProvisionalV1ResponseMPayload = Field(alias="mPayload") __properties: ClassVar[List[str]] = ["objDebugPayload", "objDebug", "mPayload"] model_config = ConfigDict( @@ -96,7 +97,7 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: _obj = cls.model_validate({ "objDebugPayload": CommonResponseObjDebugPayload.from_dict(obj["objDebugPayload"]) if obj.get("objDebugPayload") is not None else None, "objDebug": CommonResponseObjDebug.from_dict(obj["objDebug"]) if obj.get("objDebug") is not None else None, - "mPayload": EzmaxinvoicingResponseCompound.from_dict(obj["mPayload"]) if obj.get("mPayload") is not None else None + "mPayload": EzmaxinvoicingGetProvisionalV1ResponseMPayload.from_dict(obj["mPayload"]) if obj.get("mPayload") is not None else None }) return _obj diff --git a/eZmaxApi/models/ezmaxinvoicing_get_provisional_v1_response_m_payload.py b/eZmaxApi/models/ezmaxinvoicing_get_provisional_v1_response_m_payload.py index 91a00c4d8..9b91334b4 100644 --- a/eZmaxApi/models/ezmaxinvoicing_get_provisional_v1_response_m_payload.py +++ b/eZmaxApi/models/ezmaxinvoicing_get_provisional_v1_response_m_payload.py @@ -18,11 +18,13 @@ import re # noqa: F401 import json -from pydantic import ConfigDict -from typing import Any, ClassVar, Dict, List +from pydantic import BaseModel, ConfigDict, Field, StrictBool, StrictStr, field_validator +from typing import Any, ClassVar, Dict, List, Optional +from typing_extensions import Annotated from eZmaxApi.models.common_audit import CommonAudit +from eZmaxApi.models.custom_ezmaxinvoicing_ezsigndocument_response import CustomEzmaxinvoicingEzsigndocumentResponse +from eZmaxApi.models.custom_ezmaxinvoicing_ezsignfolder_response import CustomEzmaxinvoicingEzsignfolderResponse from eZmaxApi.models.custom_ezmaxpricing_response import CustomEzmaxpricingResponse -from eZmaxApi.models.ezmaxinvoicing_response_compound import EzmaxinvoicingResponseCompound from eZmaxApi.models.ezmaxinvoicingagent_response_compound import EzmaxinvoicingagentResponseCompound from eZmaxApi.models.ezmaxinvoicingcontract_response_compound import EzmaxinvoicingcontractResponseCompound from eZmaxApi.models.ezmaxinvoicingsummaryexternal_response_compound import EzmaxinvoicingsummaryexternalResponseCompound @@ -33,12 +35,48 @@ from typing import Optional, Set from typing_extensions import Self -class EzmaxinvoicingGetProvisionalV1ResponseMPayload(EzmaxinvoicingResponseCompound): +class EzmaxinvoicingGetProvisionalV1ResponseMPayload(BaseModel): """ Payload for GET /1/object/ezmaxinvoicing/getProvisional """ # noqa: E501 + pki_ezmaxinvoicing_id: Optional[Annotated[int, Field(strict=True, ge=0)]] = Field(default=None, description="The unique ID of the Ezmaxinvoicing", alias="pkiEzmaxinvoicingID") + fki_ezmaxinvoicingcontract_id: Annotated[int, Field(strict=True, ge=1)] = Field(description="The unique ID of the Ezmaxinvoicingcontract", alias="fkiEzmaxinvoicingcontractID") + fki_ezmaxpricing_id: Annotated[int, Field(strict=True, ge=1)] = Field(description="The unique ID of the Ezmaxpricing", alias="fkiEzmaxpricingID") + fki_systemconfigurationtype_id: Annotated[int, Field(strict=True, ge=1)] = Field(description="The unique ID of the Systemconfigurationtype", alias="fkiSystemconfigurationtypeID") + s_systemconfigurationtype_description_x: StrictStr = Field(description="The description of the Systemconfigurationtype in the language of the requester", alias="sSystemconfigurationtypeDescriptionX") + yyyymm_ezmaxinvoicing: Annotated[str, Field(strict=True, max_length=7)] = Field(description="The YYYYMM period of the Ezmaxinvoicing", alias="yyyymmEzmaxinvoicing") + i_ezmaxinvoicing_days: Annotated[int, Field(strict=True, ge=1)] = Field(description="The number of days invoiced", alias="iEzmaxinvoicingDays") + e_ezmaxinvoicing_paymenttype: FieldEEzmaxinvoicingPaymenttype = Field(alias="eEzmaxinvoicingPaymenttype") + d_ezmaxinvoicing_rebatepaymenttype: Annotated[str, Field(strict=True)] = Field(description="The percentage of rebate depending of the payment type", alias="dEzmaxinvoicingRebatepaymenttype") + i_ezmaxinvoicing_contractlength: Annotated[int, Field(strict=True, ge=1)] = Field(description="The length of the contract in years", alias="iEzmaxinvoicingContractlength") + d_ezmaxinvoicing_rebatecontractlength: Annotated[str, Field(strict=True)] = Field(description="The percentage of rebate depending of the contract length", alias="dEzmaxinvoicingRebatecontractlength") + b_ezmaxinvoicing_rebate_ezsignallagents: StrictBool = Field(description="Whether the rebate for eZsign is for all agents", alias="bEzmaxinvoicingRebateEzsignallagents") + obj_audit: Optional[CommonAudit] = Field(default=None, alias="objAudit") + obj_ezmaxinvoicingcontract: EzmaxinvoicingcontractResponseCompound = Field(alias="objEzmaxinvoicingcontract") + obj_ezmaxpricing: CustomEzmaxpricingResponse = Field(alias="objEzmaxpricing") + a_obj_ezmaxinvoicingsummaryglobal: List[EzmaxinvoicingsummaryglobalResponseCompound] = Field(alias="a_objEzmaxinvoicingsummaryglobal") + a_obj_ezmaxinvoicingsummaryexternal: List[EzmaxinvoicingsummaryexternalResponseCompound] = Field(alias="a_objEzmaxinvoicingsummaryexternal") + a_obj_ezmaxinvoicingsummaryinternal: List[EzmaxinvoicingsummaryinternalResponseCompound] = Field(alias="a_objEzmaxinvoicingsummaryinternal") + a_obj_ezmaxinvoicingagent: List[EzmaxinvoicingagentResponseCompound] = Field(alias="a_objEzmaxinvoicingagent") + a_obj_ezmaxinvoicinguser: List[EzmaxinvoicinguserResponseCompound] = Field(alias="a_objEzmaxinvoicinguser") + a_obj_ezmaxinvoicingezsignfolder: List[CustomEzmaxinvoicingEzsignfolderResponse] = Field(alias="a_objEzmaxinvoicingezsignfolder") + a_obj_ezmaxinvoicingezsigndocument: List[CustomEzmaxinvoicingEzsigndocumentResponse] = Field(alias="a_objEzmaxinvoicingezsigndocument") __properties: ClassVar[List[str]] = ["pkiEzmaxinvoicingID", "fkiEzmaxinvoicingcontractID", "fkiEzmaxpricingID", "fkiSystemconfigurationtypeID", "sSystemconfigurationtypeDescriptionX", "yyyymmEzmaxinvoicing", "iEzmaxinvoicingDays", "eEzmaxinvoicingPaymenttype", "dEzmaxinvoicingRebatepaymenttype", "iEzmaxinvoicingContractlength", "dEzmaxinvoicingRebatecontractlength", "bEzmaxinvoicingRebateEzsignallagents", "objAudit", "objEzmaxinvoicingcontract", "objEzmaxpricing", "a_objEzmaxinvoicingsummaryglobal", "a_objEzmaxinvoicingsummaryexternal", "a_objEzmaxinvoicingsummaryinternal", "a_objEzmaxinvoicingagent", "a_objEzmaxinvoicinguser", "a_objEzmaxinvoicingezsignfolder", "a_objEzmaxinvoicingezsigndocument"] + @field_validator('d_ezmaxinvoicing_rebatepaymenttype') + def d_ezmaxinvoicing_rebatepaymenttype_validate_regular_expression(cls, value): + """Validates the regular expression""" + if not re.match(r"^-{0,1}[\d]{1,3}?\.[\d]{2}$", value): + raise ValueError(r"must validate the regular expression /^-{0,1}[\d]{1,3}?\.[\d]{2}$/") + return value + + @field_validator('d_ezmaxinvoicing_rebatecontractlength') + def d_ezmaxinvoicing_rebatecontractlength_validate_regular_expression(cls, value): + """Validates the regular expression""" + if not re.match(r"^-{0,1}[\d]{1,3}?\.[\d]{2}$", value): + raise ValueError(r"must validate the regular expression /^-{0,1}[\d]{1,3}?\.[\d]{2}$/") + return value + model_config = ConfigDict( populate_by_name=True, validate_assignment=True, @@ -122,6 +160,20 @@ def to_dict(self) -> Dict[str, Any]: if _item_a_obj_ezmaxinvoicinguser: _items.append(_item_a_obj_ezmaxinvoicinguser.to_dict()) _dict['a_objEzmaxinvoicinguser'] = _items + # override the default output from pydantic by calling `to_dict()` of each item in a_obj_ezmaxinvoicingezsignfolder (list) + _items = [] + if self.a_obj_ezmaxinvoicingezsignfolder: + for _item_a_obj_ezmaxinvoicingezsignfolder in self.a_obj_ezmaxinvoicingezsignfolder: + if _item_a_obj_ezmaxinvoicingezsignfolder: + _items.append(_item_a_obj_ezmaxinvoicingezsignfolder.to_dict()) + _dict['a_objEzmaxinvoicingezsignfolder'] = _items + # override the default output from pydantic by calling `to_dict()` of each item in a_obj_ezmaxinvoicingezsigndocument (list) + _items = [] + if self.a_obj_ezmaxinvoicingezsigndocument: + for _item_a_obj_ezmaxinvoicingezsigndocument in self.a_obj_ezmaxinvoicingezsigndocument: + if _item_a_obj_ezmaxinvoicingezsigndocument: + _items.append(_item_a_obj_ezmaxinvoicingezsigndocument.to_dict()) + _dict['a_objEzmaxinvoicingezsigndocument'] = _items return _dict @classmethod @@ -154,8 +206,8 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: "a_objEzmaxinvoicingsummaryinternal": [EzmaxinvoicingsummaryinternalResponseCompound.from_dict(_item) for _item in obj["a_objEzmaxinvoicingsummaryinternal"]] if obj.get("a_objEzmaxinvoicingsummaryinternal") is not None else None, "a_objEzmaxinvoicingagent": [EzmaxinvoicingagentResponseCompound.from_dict(_item) for _item in obj["a_objEzmaxinvoicingagent"]] if obj.get("a_objEzmaxinvoicingagent") is not None else None, "a_objEzmaxinvoicinguser": [EzmaxinvoicinguserResponseCompound.from_dict(_item) for _item in obj["a_objEzmaxinvoicinguser"]] if obj.get("a_objEzmaxinvoicinguser") is not None else None, - "a_objEzmaxinvoicingezsignfolder": obj.get("a_objEzmaxinvoicingezsignfolder"), - "a_objEzmaxinvoicingezsigndocument": obj.get("a_objEzmaxinvoicingezsigndocument") + "a_objEzmaxinvoicingezsignfolder": [CustomEzmaxinvoicingEzsignfolderResponse.from_dict(_item) for _item in obj["a_objEzmaxinvoicingezsignfolder"]] if obj.get("a_objEzmaxinvoicingezsignfolder") is not None else None, + "a_objEzmaxinvoicingezsigndocument": [CustomEzmaxinvoicingEzsigndocumentResponse.from_dict(_item) for _item in obj["a_objEzmaxinvoicingezsigndocument"]] if obj.get("a_objEzmaxinvoicingezsigndocument") is not None else None }) return _obj diff --git a/eZmaxApi/models/ezmaxinvoicing_response.py b/eZmaxApi/models/ezmaxinvoicing_response.py index 2cd60ce3a..3fcf69b69 100644 --- a/eZmaxApi/models/ezmaxinvoicing_response.py +++ b/eZmaxApi/models/ezmaxinvoicing_response.py @@ -104,7 +104,29 @@ def to_dict(self) -> Dict[str, Any]: return _dict @classmethod - def from_dict(cls, obj: Dict[str, Any]) -> Optional[Self]: + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: """Create an instance of EzmaxinvoicingResponse from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "pkiEzmaxinvoicingID": obj.get("pkiEzmaxinvoicingID"), + "fkiEzmaxinvoicingcontractID": obj.get("fkiEzmaxinvoicingcontractID"), + "fkiEzmaxpricingID": obj.get("fkiEzmaxpricingID"), + "fkiSystemconfigurationtypeID": obj.get("fkiSystemconfigurationtypeID"), + "sSystemconfigurationtypeDescriptionX": obj.get("sSystemconfigurationtypeDescriptionX"), + "yyyymmEzmaxinvoicing": obj.get("yyyymmEzmaxinvoicing"), + "iEzmaxinvoicingDays": obj.get("iEzmaxinvoicingDays"), + "eEzmaxinvoicingPaymenttype": obj.get("eEzmaxinvoicingPaymenttype"), + "dEzmaxinvoicingRebatepaymenttype": obj.get("dEzmaxinvoicingRebatepaymenttype"), + "iEzmaxinvoicingContractlength": obj.get("iEzmaxinvoicingContractlength"), + "dEzmaxinvoicingRebatecontractlength": obj.get("dEzmaxinvoicingRebatecontractlength"), + "bEzmaxinvoicingRebateEzsignallagents": obj.get("bEzmaxinvoicingRebateEzsignallagents"), + "objAudit": CommonAudit.from_dict(obj["objAudit"]) if obj.get("objAudit") is not None else None + }) + return _obj diff --git a/eZmaxApi/models/ezmaxinvoicing_response_compound.py b/eZmaxApi/models/ezmaxinvoicing_response_compound.py index 499ae2b83..968639f30 100644 --- a/eZmaxApi/models/ezmaxinvoicing_response_compound.py +++ b/eZmaxApi/models/ezmaxinvoicing_response_compound.py @@ -18,11 +18,13 @@ import re # noqa: F401 import json -from pydantic import ConfigDict, Field -from typing import Any, ClassVar, Dict, List +from pydantic import BaseModel, ConfigDict, Field, StrictBool, StrictStr, field_validator +from typing import Any, ClassVar, Dict, List, Optional +from typing_extensions import Annotated from eZmaxApi.models.common_audit import CommonAudit +from eZmaxApi.models.custom_ezmaxinvoicing_ezsigndocument_response import CustomEzmaxinvoicingEzsigndocumentResponse +from eZmaxApi.models.custom_ezmaxinvoicing_ezsignfolder_response import CustomEzmaxinvoicingEzsignfolderResponse from eZmaxApi.models.custom_ezmaxpricing_response import CustomEzmaxpricingResponse -from eZmaxApi.models.ezmaxinvoicing_response import EzmaxinvoicingResponse from eZmaxApi.models.ezmaxinvoicingagent_response_compound import EzmaxinvoicingagentResponseCompound from eZmaxApi.models.ezmaxinvoicingcontract_response_compound import EzmaxinvoicingcontractResponseCompound from eZmaxApi.models.ezmaxinvoicingsummaryexternal_response_compound import EzmaxinvoicingsummaryexternalResponseCompound @@ -33,10 +35,23 @@ from typing import Optional, Set from typing_extensions import Self -class EzmaxinvoicingResponseCompound(EzmaxinvoicingResponse): +class EzmaxinvoicingResponseCompound(BaseModel): """ A Ezmaxinvoicing Object """ # noqa: E501 + pki_ezmaxinvoicing_id: Optional[Annotated[int, Field(strict=True, ge=0)]] = Field(default=None, description="The unique ID of the Ezmaxinvoicing", alias="pkiEzmaxinvoicingID") + fki_ezmaxinvoicingcontract_id: Annotated[int, Field(strict=True, ge=1)] = Field(description="The unique ID of the Ezmaxinvoicingcontract", alias="fkiEzmaxinvoicingcontractID") + fki_ezmaxpricing_id: Annotated[int, Field(strict=True, ge=1)] = Field(description="The unique ID of the Ezmaxpricing", alias="fkiEzmaxpricingID") + fki_systemconfigurationtype_id: Annotated[int, Field(strict=True, ge=1)] = Field(description="The unique ID of the Systemconfigurationtype", alias="fkiSystemconfigurationtypeID") + s_systemconfigurationtype_description_x: StrictStr = Field(description="The description of the Systemconfigurationtype in the language of the requester", alias="sSystemconfigurationtypeDescriptionX") + yyyymm_ezmaxinvoicing: Annotated[str, Field(strict=True, max_length=7)] = Field(description="The YYYYMM period of the Ezmaxinvoicing", alias="yyyymmEzmaxinvoicing") + i_ezmaxinvoicing_days: Annotated[int, Field(strict=True, ge=1)] = Field(description="The number of days invoiced", alias="iEzmaxinvoicingDays") + e_ezmaxinvoicing_paymenttype: FieldEEzmaxinvoicingPaymenttype = Field(alias="eEzmaxinvoicingPaymenttype") + d_ezmaxinvoicing_rebatepaymenttype: Annotated[str, Field(strict=True)] = Field(description="The percentage of rebate depending of the payment type", alias="dEzmaxinvoicingRebatepaymenttype") + i_ezmaxinvoicing_contractlength: Annotated[int, Field(strict=True, ge=1)] = Field(description="The length of the contract in years", alias="iEzmaxinvoicingContractlength") + d_ezmaxinvoicing_rebatecontractlength: Annotated[str, Field(strict=True)] = Field(description="The percentage of rebate depending of the contract length", alias="dEzmaxinvoicingRebatecontractlength") + b_ezmaxinvoicing_rebate_ezsignallagents: StrictBool = Field(description="Whether the rebate for eZsign is for all agents", alias="bEzmaxinvoicingRebateEzsignallagents") + obj_audit: Optional[CommonAudit] = Field(default=None, alias="objAudit") obj_ezmaxinvoicingcontract: EzmaxinvoicingcontractResponseCompound = Field(alias="objEzmaxinvoicingcontract") obj_ezmaxpricing: CustomEzmaxpricingResponse = Field(alias="objEzmaxpricing") a_obj_ezmaxinvoicingsummaryglobal: List[EzmaxinvoicingsummaryglobalResponseCompound] = Field(alias="a_objEzmaxinvoicingsummaryglobal") @@ -44,10 +59,24 @@ class EzmaxinvoicingResponseCompound(EzmaxinvoicingResponse): a_obj_ezmaxinvoicingsummaryinternal: List[EzmaxinvoicingsummaryinternalResponseCompound] = Field(alias="a_objEzmaxinvoicingsummaryinternal") a_obj_ezmaxinvoicingagent: List[EzmaxinvoicingagentResponseCompound] = Field(alias="a_objEzmaxinvoicingagent") a_obj_ezmaxinvoicinguser: List[EzmaxinvoicinguserResponseCompound] = Field(alias="a_objEzmaxinvoicinguser") - a_obj_ezmaxinvoicingezsignfolder: List[object] = Field(alias="a_objEzmaxinvoicingezsignfolder") - a_obj_ezmaxinvoicingezsigndocument: List[object] = Field(alias="a_objEzmaxinvoicingezsigndocument") + a_obj_ezmaxinvoicingezsignfolder: List[CustomEzmaxinvoicingEzsignfolderResponse] = Field(alias="a_objEzmaxinvoicingezsignfolder") + a_obj_ezmaxinvoicingezsigndocument: List[CustomEzmaxinvoicingEzsigndocumentResponse] = Field(alias="a_objEzmaxinvoicingezsigndocument") __properties: ClassVar[List[str]] = ["pkiEzmaxinvoicingID", "fkiEzmaxinvoicingcontractID", "fkiEzmaxpricingID", "fkiSystemconfigurationtypeID", "sSystemconfigurationtypeDescriptionX", "yyyymmEzmaxinvoicing", "iEzmaxinvoicingDays", "eEzmaxinvoicingPaymenttype", "dEzmaxinvoicingRebatepaymenttype", "iEzmaxinvoicingContractlength", "dEzmaxinvoicingRebatecontractlength", "bEzmaxinvoicingRebateEzsignallagents", "objAudit", "objEzmaxinvoicingcontract", "objEzmaxpricing", "a_objEzmaxinvoicingsummaryglobal", "a_objEzmaxinvoicingsummaryexternal", "a_objEzmaxinvoicingsummaryinternal", "a_objEzmaxinvoicingagent", "a_objEzmaxinvoicinguser", "a_objEzmaxinvoicingezsignfolder", "a_objEzmaxinvoicingezsigndocument"] + @field_validator('d_ezmaxinvoicing_rebatepaymenttype') + def d_ezmaxinvoicing_rebatepaymenttype_validate_regular_expression(cls, value): + """Validates the regular expression""" + if not re.match(r"^-{0,1}[\d]{1,3}?\.[\d]{2}$", value): + raise ValueError(r"must validate the regular expression /^-{0,1}[\d]{1,3}?\.[\d]{2}$/") + return value + + @field_validator('d_ezmaxinvoicing_rebatecontractlength') + def d_ezmaxinvoicing_rebatecontractlength_validate_regular_expression(cls, value): + """Validates the regular expression""" + if not re.match(r"^-{0,1}[\d]{1,3}?\.[\d]{2}$", value): + raise ValueError(r"must validate the regular expression /^-{0,1}[\d]{1,3}?\.[\d]{2}$/") + return value + model_config = ConfigDict( populate_by_name=True, validate_assignment=True, @@ -131,10 +160,55 @@ def to_dict(self) -> Dict[str, Any]: if _item_a_obj_ezmaxinvoicinguser: _items.append(_item_a_obj_ezmaxinvoicinguser.to_dict()) _dict['a_objEzmaxinvoicinguser'] = _items + # override the default output from pydantic by calling `to_dict()` of each item in a_obj_ezmaxinvoicingezsignfolder (list) + _items = [] + if self.a_obj_ezmaxinvoicingezsignfolder: + for _item_a_obj_ezmaxinvoicingezsignfolder in self.a_obj_ezmaxinvoicingezsignfolder: + if _item_a_obj_ezmaxinvoicingezsignfolder: + _items.append(_item_a_obj_ezmaxinvoicingezsignfolder.to_dict()) + _dict['a_objEzmaxinvoicingezsignfolder'] = _items + # override the default output from pydantic by calling `to_dict()` of each item in a_obj_ezmaxinvoicingezsigndocument (list) + _items = [] + if self.a_obj_ezmaxinvoicingezsigndocument: + for _item_a_obj_ezmaxinvoicingezsigndocument in self.a_obj_ezmaxinvoicingezsigndocument: + if _item_a_obj_ezmaxinvoicingezsigndocument: + _items.append(_item_a_obj_ezmaxinvoicingezsigndocument.to_dict()) + _dict['a_objEzmaxinvoicingezsigndocument'] = _items return _dict @classmethod - def from_dict(cls, obj: Dict[str, Any]) -> Optional[Self]: + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: """Create an instance of EzmaxinvoicingResponseCompound from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "pkiEzmaxinvoicingID": obj.get("pkiEzmaxinvoicingID"), + "fkiEzmaxinvoicingcontractID": obj.get("fkiEzmaxinvoicingcontractID"), + "fkiEzmaxpricingID": obj.get("fkiEzmaxpricingID"), + "fkiSystemconfigurationtypeID": obj.get("fkiSystemconfigurationtypeID"), + "sSystemconfigurationtypeDescriptionX": obj.get("sSystemconfigurationtypeDescriptionX"), + "yyyymmEzmaxinvoicing": obj.get("yyyymmEzmaxinvoicing"), + "iEzmaxinvoicingDays": obj.get("iEzmaxinvoicingDays"), + "eEzmaxinvoicingPaymenttype": obj.get("eEzmaxinvoicingPaymenttype"), + "dEzmaxinvoicingRebatepaymenttype": obj.get("dEzmaxinvoicingRebatepaymenttype"), + "iEzmaxinvoicingContractlength": obj.get("iEzmaxinvoicingContractlength"), + "dEzmaxinvoicingRebatecontractlength": obj.get("dEzmaxinvoicingRebatecontractlength"), + "bEzmaxinvoicingRebateEzsignallagents": obj.get("bEzmaxinvoicingRebateEzsignallagents"), + "objAudit": CommonAudit.from_dict(obj["objAudit"]) if obj.get("objAudit") is not None else None, + "objEzmaxinvoicingcontract": EzmaxinvoicingcontractResponseCompound.from_dict(obj["objEzmaxinvoicingcontract"]) if obj.get("objEzmaxinvoicingcontract") is not None else None, + "objEzmaxpricing": CustomEzmaxpricingResponse.from_dict(obj["objEzmaxpricing"]) if obj.get("objEzmaxpricing") is not None else None, + "a_objEzmaxinvoicingsummaryglobal": [EzmaxinvoicingsummaryglobalResponseCompound.from_dict(_item) for _item in obj["a_objEzmaxinvoicingsummaryglobal"]] if obj.get("a_objEzmaxinvoicingsummaryglobal") is not None else None, + "a_objEzmaxinvoicingsummaryexternal": [EzmaxinvoicingsummaryexternalResponseCompound.from_dict(_item) for _item in obj["a_objEzmaxinvoicingsummaryexternal"]] if obj.get("a_objEzmaxinvoicingsummaryexternal") is not None else None, + "a_objEzmaxinvoicingsummaryinternal": [EzmaxinvoicingsummaryinternalResponseCompound.from_dict(_item) for _item in obj["a_objEzmaxinvoicingsummaryinternal"]] if obj.get("a_objEzmaxinvoicingsummaryinternal") is not None else None, + "a_objEzmaxinvoicingagent": [EzmaxinvoicingagentResponseCompound.from_dict(_item) for _item in obj["a_objEzmaxinvoicingagent"]] if obj.get("a_objEzmaxinvoicingagent") is not None else None, + "a_objEzmaxinvoicinguser": [EzmaxinvoicinguserResponseCompound.from_dict(_item) for _item in obj["a_objEzmaxinvoicinguser"]] if obj.get("a_objEzmaxinvoicinguser") is not None else None, + "a_objEzmaxinvoicingezsignfolder": [CustomEzmaxinvoicingEzsignfolderResponse.from_dict(_item) for _item in obj["a_objEzmaxinvoicingezsignfolder"]] if obj.get("a_objEzmaxinvoicingezsignfolder") is not None else None, + "a_objEzmaxinvoicingezsigndocument": [CustomEzmaxinvoicingEzsigndocumentResponse.from_dict(_item) for _item in obj["a_objEzmaxinvoicingezsigndocument"]] if obj.get("a_objEzmaxinvoicingezsigndocument") is not None else None + }) + return _obj diff --git a/eZmaxApi/models/ezmaxinvoicingagent_response.py b/eZmaxApi/models/ezmaxinvoicingagent_response.py index de9e039ba..f8a57c96c 100644 --- a/eZmaxApi/models/ezmaxinvoicingagent_response.py +++ b/eZmaxApi/models/ezmaxinvoicingagent_response.py @@ -94,7 +94,36 @@ def to_dict(self) -> Dict[str, Any]: return _dict @classmethod - def from_dict(cls, obj: Dict[str, Any]) -> Optional[Self]: + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: """Create an instance of EzmaxinvoicingagentResponse from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "pkiEzmaxinvoicingagentID": obj.get("pkiEzmaxinvoicingagentID"), + "fkiEzmaxinvoicingID": obj.get("fkiEzmaxinvoicingID"), + "fkiBillingentityinternalID": obj.get("fkiBillingentityinternalID"), + "sBillingentityinternalDescriptionX": obj.get("sBillingentityinternalDescriptionX"), + "fkiAgentID": obj.get("fkiAgentID"), + "fkiBrokerID": obj.get("fkiBrokerID"), + "iEzmaxinvoicingagentSession": obj.get("iEzmaxinvoicingagentSession"), + "iEzmaxinvoicingagentCloned": obj.get("iEzmaxinvoicingagentCloned"), + "iEzmaxinvoicingagentInvoice": obj.get("iEzmaxinvoicingagentInvoice"), + "iEzmaxinvoicingagentInscription": obj.get("iEzmaxinvoicingagentInscription"), + "iEzmaxinvoicingagentInscriptionactive": obj.get("iEzmaxinvoicingagentInscriptionactive"), + "iEzmaxinvoicingagentSale": obj.get("iEzmaxinvoicingagentSale"), + "iEzmaxinvoicingagentOtherincome": obj.get("iEzmaxinvoicingagentOtherincome"), + "iEzmaxinvoicingagentCommissioncalculation": obj.get("iEzmaxinvoicingagentCommissioncalculation"), + "iEzmaxinvoicingagentEzsigndocument": obj.get("iEzmaxinvoicingagentEzsigndocument"), + "bEzmaxinvoicingagentEzsignaccount": obj.get("bEzmaxinvoicingagentEzsignaccount"), + "bEzmaxinvoicingagentBillableezmax": obj.get("bEzmaxinvoicingagentBillableezmax"), + "eEzmaxinvoicingagentVariationezmax": obj.get("eEzmaxinvoicingagentVariationezmax"), + "bEzmaxinvoicingagentBillableezsign": obj.get("bEzmaxinvoicingagentBillableezsign"), + "eEzmaxinvoicingagentVariationezsign": obj.get("eEzmaxinvoicingagentVariationezsign") + }) + return _obj diff --git a/eZmaxApi/models/ezmaxinvoicingagent_response_compound.py b/eZmaxApi/models/ezmaxinvoicingagent_response_compound.py index 3be34dbaf..99a94d5fb 100644 --- a/eZmaxApi/models/ezmaxinvoicingagent_response_compound.py +++ b/eZmaxApi/models/ezmaxinvoicingagent_response_compound.py @@ -18,19 +18,39 @@ import re # noqa: F401 import json -from pydantic import ConfigDict, Field -from typing import Any, ClassVar, Dict, List +from pydantic import BaseModel, ConfigDict, Field, StrictBool, StrictStr +from typing import Any, ClassVar, Dict, List, Optional +from typing_extensions import Annotated from eZmaxApi.models.custom_contact_name_response import CustomContactNameResponse -from eZmaxApi.models.ezmaxinvoicingagent_response import EzmaxinvoicingagentResponse from eZmaxApi.models.field_e_ezmaxinvoicingagent_variationezmax import FieldEEzmaxinvoicingagentVariationezmax from eZmaxApi.models.field_e_ezmaxinvoicingagent_variationezsign import FieldEEzmaxinvoicingagentVariationezsign from typing import Optional, Set from typing_extensions import Self -class EzmaxinvoicingagentResponseCompound(EzmaxinvoicingagentResponse): +class EzmaxinvoicingagentResponseCompound(BaseModel): """ A Ezmaxinvoicingagent Object """ # noqa: E501 + pki_ezmaxinvoicingagent_id: Optional[Annotated[int, Field(strict=True, ge=0)]] = Field(default=None, description="The unique ID of the Ezmaxinvoicingagent", alias="pkiEzmaxinvoicingagentID") + fki_ezmaxinvoicing_id: Optional[Annotated[int, Field(strict=True, ge=0)]] = Field(default=None, description="The unique ID of the Ezmaxinvoicing", alias="fkiEzmaxinvoicingID") + fki_billingentityinternal_id: Annotated[int, Field(strict=True, ge=0)] = Field(description="The unique ID of the Billingentityinternal.", alias="fkiBillingentityinternalID") + s_billingentityinternal_description_x: StrictStr = Field(description="The description of the Billingentityinternal in the language of the requester", alias="sBillingentityinternalDescriptionX") + fki_agent_id: Optional[Annotated[int, Field(strict=True, ge=0)]] = Field(default=None, description="The unique ID of the Agent.", alias="fkiAgentID") + fki_broker_id: Optional[Annotated[int, Field(strict=True, ge=0)]] = Field(default=None, description="The unique ID of the Broker.", alias="fkiBrokerID") + i_ezmaxinvoicingagent_session: Annotated[int, Field(strict=True, ge=0)] = Field(description="The number of sessions", alias="iEzmaxinvoicingagentSession") + i_ezmaxinvoicingagent_cloned: Annotated[int, Field(strict=True, ge=0)] = Field(description="The number of times this user was cloned", alias="iEzmaxinvoicingagentCloned") + i_ezmaxinvoicingagent_invoice: Annotated[int, Field(strict=True, ge=0)] = Field(description="The number of invoices", alias="iEzmaxinvoicingagentInvoice") + i_ezmaxinvoicingagent_inscription: Annotated[int, Field(strict=True, ge=0)] = Field(description="The number of inscriptions", alias="iEzmaxinvoicingagentInscription") + i_ezmaxinvoicingagent_inscriptionactive: Annotated[int, Field(strict=True, ge=0)] = Field(description="The number of active inscriptions", alias="iEzmaxinvoicingagentInscriptionactive") + i_ezmaxinvoicingagent_sale: Annotated[int, Field(strict=True, ge=0)] = Field(description="The number of sales", alias="iEzmaxinvoicingagentSale") + i_ezmaxinvoicingagent_otherincome: Annotated[int, Field(strict=True, ge=0)] = Field(description="The number of otherincomes", alias="iEzmaxinvoicingagentOtherincome") + i_ezmaxinvoicingagent_commissioncalculation: Annotated[int, Field(strict=True, ge=0)] = Field(description="The number of commission calculations", alias="iEzmaxinvoicingagentCommissioncalculation") + i_ezmaxinvoicingagent_ezsigndocument: Annotated[int, Field(strict=True, ge=0)] = Field(description="The number of ezsign documents", alias="iEzmaxinvoicingagentEzsigndocument") + b_ezmaxinvoicingagent_ezsignaccount: StrictBool = Field(description="Whether the agent has an eZsign account", alias="bEzmaxinvoicingagentEzsignaccount") + b_ezmaxinvoicingagent_billableezmax: StrictBool = Field(description="Whether it is billable for eZmax", alias="bEzmaxinvoicingagentBillableezmax") + e_ezmaxinvoicingagent_variationezmax: FieldEEzmaxinvoicingagentVariationezmax = Field(alias="eEzmaxinvoicingagentVariationezmax") + b_ezmaxinvoicingagent_billableezsign: StrictBool = Field(description="Whether it is billable for eZsign", alias="bEzmaxinvoicingagentBillableezsign") + e_ezmaxinvoicingagent_variationezsign: FieldEEzmaxinvoicingagentVariationezsign = Field(alias="eEzmaxinvoicingagentVariationezsign") obj_contact_name: CustomContactNameResponse = Field(alias="objContactName") __properties: ClassVar[List[str]] = ["pkiEzmaxinvoicingagentID", "fkiEzmaxinvoicingID", "fkiBillingentityinternalID", "sBillingentityinternalDescriptionX", "fkiAgentID", "fkiBrokerID", "iEzmaxinvoicingagentSession", "iEzmaxinvoicingagentCloned", "iEzmaxinvoicingagentInvoice", "iEzmaxinvoicingagentInscription", "iEzmaxinvoicingagentInscriptionactive", "iEzmaxinvoicingagentSale", "iEzmaxinvoicingagentOtherincome", "iEzmaxinvoicingagentCommissioncalculation", "iEzmaxinvoicingagentEzsigndocument", "bEzmaxinvoicingagentEzsignaccount", "bEzmaxinvoicingagentBillableezmax", "eEzmaxinvoicingagentVariationezmax", "bEzmaxinvoicingagentBillableezsign", "eEzmaxinvoicingagentVariationezsign", "objContactName"] diff --git a/eZmaxApi/models/ezmaxinvoicingcommission_response.py b/eZmaxApi/models/ezmaxinvoicingcommission_response.py index e6e1ae51f..279b26c48 100644 --- a/eZmaxApi/models/ezmaxinvoicingcommission_response.py +++ b/eZmaxApi/models/ezmaxinvoicingcommission_response.py @@ -87,7 +87,24 @@ def to_dict(self) -> Dict[str, Any]: return _dict @classmethod - def from_dict(cls, obj: Dict[str, Any]) -> Optional[Self]: + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: """Create an instance of EzmaxinvoicingcommissionResponse from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "pkiEzmaxinvoicingcommissionID": obj.get("pkiEzmaxinvoicingcommissionID"), + "fkiEzmaxinvoicingsummaryglobalID": obj.get("fkiEzmaxinvoicingsummaryglobalID"), + "fkiEzmaxpartnerID": obj.get("fkiEzmaxpartnerID"), + "fkiEzmaxrepresentativeID": obj.get("fkiEzmaxrepresentativeID"), + "dtEzmaxinvoicingcommissionStart": obj.get("dtEzmaxinvoicingcommissionStart"), + "dtEzmaxinvoicingcommissionEnd": obj.get("dtEzmaxinvoicingcommissionEnd"), + "iEzmaxinvoicingcommissionDays": obj.get("iEzmaxinvoicingcommissionDays"), + "dEzmaxinvoicingcommissionAmount": obj.get("dEzmaxinvoicingcommissionAmount") + }) + return _obj diff --git a/eZmaxApi/models/ezmaxinvoicingcommission_response_compound.py b/eZmaxApi/models/ezmaxinvoicingcommission_response_compound.py index 16770bf46..a2dc29790 100644 --- a/eZmaxApi/models/ezmaxinvoicingcommission_response_compound.py +++ b/eZmaxApi/models/ezmaxinvoicingcommission_response_compound.py @@ -18,20 +18,35 @@ import re # noqa: F401 import json -from pydantic import ConfigDict, Field +from pydantic import BaseModel, ConfigDict, Field, StrictInt, StrictStr, field_validator from typing import Any, ClassVar, Dict, List, Optional +from typing_extensions import Annotated from eZmaxApi.models.custom_contact_name_response import CustomContactNameResponse -from eZmaxApi.models.ezmaxinvoicingcommission_response import EzmaxinvoicingcommissionResponse from typing import Optional, Set from typing_extensions import Self -class EzmaxinvoicingcommissionResponseCompound(EzmaxinvoicingcommissionResponse): +class EzmaxinvoicingcommissionResponseCompound(BaseModel): """ A Ezmaxinvoicingcommission Object """ # noqa: E501 + pki_ezmaxinvoicingcommission_id: Optional[StrictInt] = Field(default=None, description="The unique ID of the Ezmaxinvoicingcommission", alias="pkiEzmaxinvoicingcommissionID") + fki_ezmaxinvoicingsummaryglobal_id: Optional[Annotated[int, Field(strict=True, ge=0)]] = Field(default=None, description="The unique ID of the Ezmaxinvoicingsummaryglobal", alias="fkiEzmaxinvoicingsummaryglobalID") + fki_ezmaxpartner_id: Optional[Annotated[int, Field(strict=True, ge=1)]] = Field(default=None, description="The unique ID of the Ezmaxpartner", alias="fkiEzmaxpartnerID") + fki_ezmaxrepresentative_id: Optional[Annotated[int, Field(strict=True, ge=1)]] = Field(default=None, description="The unique ID of the Ezmaxrepresentative", alias="fkiEzmaxrepresentativeID") + dt_ezmaxinvoicingcommission_start: StrictStr = Field(description="The start date for the Ezmaxinvoicingcommission", alias="dtEzmaxinvoicingcommissionStart") + dt_ezmaxinvoicingcommission_end: StrictStr = Field(description="The end date for the Ezmaxinvoicingcommission", alias="dtEzmaxinvoicingcommissionEnd") + i_ezmaxinvoicingcommission_days: Annotated[int, Field(strict=True, ge=0)] = Field(description="This is the number of days during the month on which the Ezmaxinvoigcommission applies", alias="iEzmaxinvoicingcommissionDays") + d_ezmaxinvoicingcommission_amount: Annotated[str, Field(strict=True)] = Field(description="The amount of Ezmaxinvoicingcommission", alias="dEzmaxinvoicingcommissionAmount") obj_contact_name: Optional[CustomContactNameResponse] = Field(default=None, alias="objContactName") __properties: ClassVar[List[str]] = ["pkiEzmaxinvoicingcommissionID", "fkiEzmaxinvoicingsummaryglobalID", "fkiEzmaxpartnerID", "fkiEzmaxrepresentativeID", "dtEzmaxinvoicingcommissionStart", "dtEzmaxinvoicingcommissionEnd", "iEzmaxinvoicingcommissionDays", "dEzmaxinvoicingcommissionAmount", "objContactName"] + @field_validator('d_ezmaxinvoicingcommission_amount') + def d_ezmaxinvoicingcommission_amount_validate_regular_expression(cls, value): + """Validates the regular expression""" + if not re.match(r"^-{0,1}[\d]{1,9}?\.[\d]{2}$", value): + raise ValueError(r"must validate the regular expression /^-{0,1}[\d]{1,9}?\.[\d]{2}$/") + return value + model_config = ConfigDict( populate_by_name=True, validate_assignment=True, diff --git a/eZmaxApi/models/ezmaxinvoicingcontract_response.py b/eZmaxApi/models/ezmaxinvoicingcontract_response.py index 94383db2a..cb1fa05f9 100644 --- a/eZmaxApi/models/ezmaxinvoicingcontract_response.py +++ b/eZmaxApi/models/ezmaxinvoicingcontract_response.py @@ -100,7 +100,25 @@ def to_dict(self) -> Dict[str, Any]: return _dict @classmethod - def from_dict(cls, obj: Dict[str, Any]) -> Optional[Self]: + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: """Create an instance of EzmaxinvoicingcontractResponse from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "pkiEzmaxinvoicingcontractID": obj.get("pkiEzmaxinvoicingcontractID"), + "eEzmaxinvoicingcontractPaymenttype": obj.get("eEzmaxinvoicingcontractPaymenttype"), + "iEzmaxinvoicingcontractLength": obj.get("iEzmaxinvoicingcontractLength"), + "dtEzmaxinvoicingcontractStart": obj.get("dtEzmaxinvoicingcontractStart"), + "dtEzmaxinvoicingcontractEnd": obj.get("dtEzmaxinvoicingcontractEnd"), + "dEzmaxinvoicingcontractLicense": obj.get("dEzmaxinvoicingcontractLicense"), + "dEzmaxinvoicingcontract121qa": obj.get("dEzmaxinvoicingcontract121qa"), + "bEzmaxinvoicingcontractEzsignallagents": obj.get("bEzmaxinvoicingcontractEzsignallagents"), + "objAudit": CommonAudit.from_dict(obj["objAudit"]) if obj.get("objAudit") is not None else None + }) + return _obj diff --git a/eZmaxApi/models/ezmaxinvoicingcontract_response_compound.py b/eZmaxApi/models/ezmaxinvoicingcontract_response_compound.py index f1fbfe7c6..0cfc5f26d 100644 --- a/eZmaxApi/models/ezmaxinvoicingcontract_response_compound.py +++ b/eZmaxApi/models/ezmaxinvoicingcontract_response_compound.py @@ -18,20 +18,43 @@ import re # noqa: F401 import json -from pydantic import ConfigDict +from pydantic import BaseModel, ConfigDict, Field, StrictBool, StrictStr, field_validator from typing import Any, ClassVar, Dict, List +from typing_extensions import Annotated from eZmaxApi.models.common_audit import CommonAudit -from eZmaxApi.models.ezmaxinvoicingcontract_response import EzmaxinvoicingcontractResponse from eZmaxApi.models.field_e_ezmaxinvoicingcontract_paymenttype import FieldEEzmaxinvoicingcontractPaymenttype from typing import Optional, Set from typing_extensions import Self -class EzmaxinvoicingcontractResponseCompound(EzmaxinvoicingcontractResponse): +class EzmaxinvoicingcontractResponseCompound(BaseModel): """ A Ezmaxinvoicingcontract Object """ # noqa: E501 + pki_ezmaxinvoicingcontract_id: Annotated[int, Field(strict=True, ge=1)] = Field(description="The unique ID of the Ezmaxinvoicingcontract", alias="pkiEzmaxinvoicingcontractID") + e_ezmaxinvoicingcontract_paymenttype: FieldEEzmaxinvoicingcontractPaymenttype = Field(alias="eEzmaxinvoicingcontractPaymenttype") + i_ezmaxinvoicingcontract_length: Annotated[int, Field(strict=True, ge=1)] = Field(description="The length in years of the Ezmaxinvoicingcontract", alias="iEzmaxinvoicingcontractLength") + dt_ezmaxinvoicingcontract_start: StrictStr = Field(description="The start date of the Ezmaxinvoicingcontract", alias="dtEzmaxinvoicingcontractStart") + dt_ezmaxinvoicingcontract_end: StrictStr = Field(description="The end date of the Ezmaxinvoicingcontract", alias="dtEzmaxinvoicingcontractEnd") + d_ezmaxinvoicingcontract_license: Annotated[str, Field(strict=True)] = Field(description="The price of the license", alias="dEzmaxinvoicingcontractLicense") + d_ezmaxinvoicingcontract121qa: Annotated[str, Field(strict=True)] = Field(description="The price for 121QA", alias="dEzmaxinvoicingcontract121qa") + b_ezmaxinvoicingcontract_ezsignallagents: StrictBool = Field(description="Whether eZsign is for all agents", alias="bEzmaxinvoicingcontractEzsignallagents") + obj_audit: CommonAudit = Field(alias="objAudit") __properties: ClassVar[List[str]] = ["pkiEzmaxinvoicingcontractID", "eEzmaxinvoicingcontractPaymenttype", "iEzmaxinvoicingcontractLength", "dtEzmaxinvoicingcontractStart", "dtEzmaxinvoicingcontractEnd", "dEzmaxinvoicingcontractLicense", "dEzmaxinvoicingcontract121qa", "bEzmaxinvoicingcontractEzsignallagents", "objAudit"] + @field_validator('d_ezmaxinvoicingcontract_license') + def d_ezmaxinvoicingcontract_license_validate_regular_expression(cls, value): + """Validates the regular expression""" + if not re.match(r"^-{0,1}[\d]{1,9}?\.[\d]{2}$", value): + raise ValueError(r"must validate the regular expression /^-{0,1}[\d]{1,9}?\.[\d]{2}$/") + return value + + @field_validator('d_ezmaxinvoicingcontract121qa') + def d_ezmaxinvoicingcontract121qa_validate_regular_expression(cls, value): + """Validates the regular expression""" + if not re.match(r"^-{0,1}[\d]{1,9}?\.[\d]{2}$", value): + raise ValueError(r"must validate the regular expression /^-{0,1}[\d]{1,9}?\.[\d]{2}$/") + return value + model_config = ConfigDict( populate_by_name=True, validate_assignment=True, diff --git a/eZmaxApi/models/ezmaxinvoicingsummaryexternal_response.py b/eZmaxApi/models/ezmaxinvoicingsummaryexternal_response.py index 063f26019..9b11d8ba8 100644 --- a/eZmaxApi/models/ezmaxinvoicingsummaryexternal_response.py +++ b/eZmaxApi/models/ezmaxinvoicingsummaryexternal_response.py @@ -77,7 +77,21 @@ def to_dict(self) -> Dict[str, Any]: return _dict @classmethod - def from_dict(cls, obj: Dict[str, Any]) -> Optional[Self]: + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: """Create an instance of EzmaxinvoicingsummaryexternalResponse from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "pkiEzmaxinvoicingsummaryexternalID": obj.get("pkiEzmaxinvoicingsummaryexternalID"), + "fkiEzmaxinvoicingID": obj.get("fkiEzmaxinvoicingID"), + "fkiBillingentityexternalID": obj.get("fkiBillingentityexternalID"), + "sBillingentityexternalDescription": obj.get("sBillingentityexternalDescription"), + "sEzmaxinvoicingsummaryexternalDescription": obj.get("sEzmaxinvoicingsummaryexternalDescription") + }) + return _obj diff --git a/eZmaxApi/models/ezmaxinvoicingsummaryexternal_response_compound.py b/eZmaxApi/models/ezmaxinvoicingsummaryexternal_response_compound.py index a71f9bfb7..04ce90d72 100644 --- a/eZmaxApi/models/ezmaxinvoicingsummaryexternal_response_compound.py +++ b/eZmaxApi/models/ezmaxinvoicingsummaryexternal_response_compound.py @@ -18,17 +18,22 @@ import re # noqa: F401 import json -from pydantic import ConfigDict, Field -from typing import Any, ClassVar, Dict, List -from eZmaxApi.models.ezmaxinvoicingsummaryexternal_response import EzmaxinvoicingsummaryexternalResponse +from pydantic import BaseModel, ConfigDict, Field, StrictStr +from typing import Any, ClassVar, Dict, List, Optional +from typing_extensions import Annotated from eZmaxApi.models.ezmaxinvoicingsummaryexternaldetail_response_compound import EzmaxinvoicingsummaryexternaldetailResponseCompound from typing import Optional, Set from typing_extensions import Self -class EzmaxinvoicingsummaryexternalResponseCompound(EzmaxinvoicingsummaryexternalResponse): +class EzmaxinvoicingsummaryexternalResponseCompound(BaseModel): """ A Ezmaxinvoicingsummaryexternal Object """ # noqa: E501 + pki_ezmaxinvoicingsummaryexternal_id: Optional[Annotated[int, Field(strict=True, ge=0)]] = Field(default=None, description="The unique ID of the Ezmaxinvoicingsummaryexternal", alias="pkiEzmaxinvoicingsummaryexternalID") + fki_ezmaxinvoicing_id: Optional[Annotated[int, Field(strict=True, ge=0)]] = Field(default=None, description="The unique ID of the Ezmaxinvoicing", alias="fkiEzmaxinvoicingID") + fki_billingentityexternal_id: Annotated[int, Field(strict=True, ge=1)] = Field(description="The unique ID of the Billingentityexternal", alias="fkiBillingentityexternalID") + s_billingentityexternal_description: StrictStr = Field(description="The description of the Billingentityexternal", alias="sBillingentityexternalDescription") + s_ezmaxinvoicingsummaryexternal_description: Annotated[str, Field(strict=True, max_length=70)] = Field(description="The description of the Ezmaxinvoicingsummaryexternal", alias="sEzmaxinvoicingsummaryexternalDescription") a_obj_ezmaxinvoicingsummaryexternaldetail: List[EzmaxinvoicingsummaryexternaldetailResponseCompound] = Field(alias="a_objEzmaxinvoicingsummaryexternaldetail") __properties: ClassVar[List[str]] = ["pkiEzmaxinvoicingsummaryexternalID", "fkiEzmaxinvoicingID", "fkiBillingentityexternalID", "sBillingentityexternalDescription", "sEzmaxinvoicingsummaryexternalDescription", "a_objEzmaxinvoicingsummaryexternaldetail"] diff --git a/eZmaxApi/models/ezmaxinvoicingsummaryexternaldetail_response.py b/eZmaxApi/models/ezmaxinvoicingsummaryexternaldetail_response.py index c9245ffe4..504a8dd29 100644 --- a/eZmaxApi/models/ezmaxinvoicingsummaryexternaldetail_response.py +++ b/eZmaxApi/models/ezmaxinvoicingsummaryexternaldetail_response.py @@ -110,7 +110,26 @@ def to_dict(self) -> Dict[str, Any]: return _dict @classmethod - def from_dict(cls, obj: Dict[str, Any]) -> Optional[Self]: + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: """Create an instance of EzmaxinvoicingsummaryexternaldetailResponse from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "pkiEzmaxinvoicingsummaryexternaldetailID": obj.get("pkiEzmaxinvoicingsummaryexternaldetailID"), + "fkiEzmaxinvoicingsummaryexternalID": obj.get("fkiEzmaxinvoicingsummaryexternalID"), + "fkiEzmaxproductID": obj.get("fkiEzmaxproductID"), + "sEzmaxproductDescriptionX": obj.get("sEzmaxproductDescriptionX"), + "dEzmaxinvoicingsummaryexternaldetailCountreal": obj.get("dEzmaxinvoicingsummaryexternaldetailCountreal"), + "dEzmaxinvoicingsummaryexternaldetailSubtotal": obj.get("dEzmaxinvoicingsummaryexternaldetailSubtotal"), + "dEzmaxinvoicingsummaryexternaldetailRebate": obj.get("dEzmaxinvoicingsummaryexternaldetailRebate"), + "dEzmaxinvoicingsummaryexternaldetailTotal": obj.get("dEzmaxinvoicingsummaryexternaldetailTotal"), + "bEzmaxinvoicingsummaryexternaldetailAdjustment": obj.get("bEzmaxinvoicingsummaryexternaldetailAdjustment"), + "tEzmaxproductHelpX": obj.get("tEzmaxproductHelpX") + }) + return _obj diff --git a/eZmaxApi/models/ezmaxinvoicingsummaryexternaldetail_response_compound.py b/eZmaxApi/models/ezmaxinvoicingsummaryexternaldetail_response_compound.py index 41ba13ede..86e5c5319 100644 --- a/eZmaxApi/models/ezmaxinvoicingsummaryexternaldetail_response_compound.py +++ b/eZmaxApi/models/ezmaxinvoicingsummaryexternaldetail_response_compound.py @@ -18,18 +18,56 @@ import re # noqa: F401 import json -from pydantic import ConfigDict -from typing import Any, ClassVar, Dict, List -from eZmaxApi.models.ezmaxinvoicingsummaryexternaldetail_response import EzmaxinvoicingsummaryexternaldetailResponse +from pydantic import BaseModel, ConfigDict, Field, StrictBool, StrictStr, field_validator +from typing import Any, ClassVar, Dict, List, Optional +from typing_extensions import Annotated from typing import Optional, Set from typing_extensions import Self -class EzmaxinvoicingsummaryexternaldetailResponseCompound(EzmaxinvoicingsummaryexternaldetailResponse): +class EzmaxinvoicingsummaryexternaldetailResponseCompound(BaseModel): """ A Ezmaxinvoicingsummaryexternaldetail Object """ # noqa: E501 + pki_ezmaxinvoicingsummaryexternaldetail_id: Optional[Annotated[int, Field(strict=True, ge=0)]] = Field(default=None, description="The unique ID of the Ezmaxinvoicingsummaryexternaldetail", alias="pkiEzmaxinvoicingsummaryexternaldetailID") + fki_ezmaxinvoicingsummaryexternal_id: Optional[Annotated[int, Field(strict=True, ge=0)]] = Field(default=None, description="The unique ID of the Ezmaxinvoicingsummaryexternal", alias="fkiEzmaxinvoicingsummaryexternalID") + fki_ezmaxproduct_id: Annotated[int, Field(strict=True, ge=1)] = Field(description="The unique ID of the Ezmaxproduct", alias="fkiEzmaxproductID") + s_ezmaxproduct_description_x: StrictStr = Field(description="The description of the Ezmaxproduct in the language of the requester", alias="sEzmaxproductDescriptionX") + d_ezmaxinvoicingsummaryexternaldetail_countreal: Annotated[str, Field(strict=True)] = Field(description="The count item invoiced for the product", alias="dEzmaxinvoicingsummaryexternaldetailCountreal") + d_ezmaxinvoicingsummaryexternaldetail_subtotal: Annotated[str, Field(strict=True)] = Field(description="The subtotal invoiced for the product", alias="dEzmaxinvoicingsummaryexternaldetailSubtotal") + d_ezmaxinvoicingsummaryexternaldetail_rebate: Annotated[str, Field(strict=True)] = Field(description="The rebate for the product", alias="dEzmaxinvoicingsummaryexternaldetailRebate") + d_ezmaxinvoicingsummaryexternaldetail_total: Annotated[str, Field(strict=True)] = Field(description="The total invoiced for the product", alias="dEzmaxinvoicingsummaryexternaldetailTotal") + b_ezmaxinvoicingsummaryexternaldetail_adjustment: StrictBool = Field(description="Whether it's an adjustment", alias="bEzmaxinvoicingsummaryexternaldetailAdjustment") + t_ezmaxproduct_help_x: StrictStr = Field(description="The help message of the Ezmaxproduct in the language of the requester", alias="tEzmaxproductHelpX") __properties: ClassVar[List[str]] = ["pkiEzmaxinvoicingsummaryexternaldetailID", "fkiEzmaxinvoicingsummaryexternalID", "fkiEzmaxproductID", "sEzmaxproductDescriptionX", "dEzmaxinvoicingsummaryexternaldetailCountreal", "dEzmaxinvoicingsummaryexternaldetailSubtotal", "dEzmaxinvoicingsummaryexternaldetailRebate", "dEzmaxinvoicingsummaryexternaldetailTotal", "bEzmaxinvoicingsummaryexternaldetailAdjustment", "tEzmaxproductHelpX"] + @field_validator('d_ezmaxinvoicingsummaryexternaldetail_countreal') + def d_ezmaxinvoicingsummaryexternaldetail_countreal_validate_regular_expression(cls, value): + """Validates the regular expression""" + if not re.match(r"^-{0,1}[\d]{1,6}?\.[\d]{2}$", value): + raise ValueError(r"must validate the regular expression /^-{0,1}[\d]{1,6}?\.[\d]{2}$/") + return value + + @field_validator('d_ezmaxinvoicingsummaryexternaldetail_subtotal') + def d_ezmaxinvoicingsummaryexternaldetail_subtotal_validate_regular_expression(cls, value): + """Validates the regular expression""" + if not re.match(r"^-{0,1}[\d]{1,9}?\.[\d]{2}$", value): + raise ValueError(r"must validate the regular expression /^-{0,1}[\d]{1,9}?\.[\d]{2}$/") + return value + + @field_validator('d_ezmaxinvoicingsummaryexternaldetail_rebate') + def d_ezmaxinvoicingsummaryexternaldetail_rebate_validate_regular_expression(cls, value): + """Validates the regular expression""" + if not re.match(r"^-{0,1}[\d]{1,9}?\.[\d]{2}$", value): + raise ValueError(r"must validate the regular expression /^-{0,1}[\d]{1,9}?\.[\d]{2}$/") + return value + + @field_validator('d_ezmaxinvoicingsummaryexternaldetail_total') + def d_ezmaxinvoicingsummaryexternaldetail_total_validate_regular_expression(cls, value): + """Validates the regular expression""" + if not re.match(r"^-{0,1}[\d]{1,9}?\.[\d]{2}$", value): + raise ValueError(r"must validate the regular expression /^-{0,1}[\d]{1,9}?\.[\d]{2}$/") + return value + model_config = ConfigDict( populate_by_name=True, validate_assignment=True, diff --git a/eZmaxApi/models/ezmaxinvoicingsummaryglobal_response.py b/eZmaxApi/models/ezmaxinvoicingsummaryglobal_response.py index af7316a16..de307bbf5 100644 --- a/eZmaxApi/models/ezmaxinvoicingsummaryglobal_response.py +++ b/eZmaxApi/models/ezmaxinvoicingsummaryglobal_response.py @@ -170,7 +170,35 @@ def to_dict(self) -> Dict[str, Any]: return _dict @classmethod - def from_dict(cls, obj: Dict[str, Any]) -> Optional[Self]: + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: """Create an instance of EzmaxinvoicingsummaryglobalResponse from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "pkiEzmaxinvoicingsummaryglobalID": obj.get("pkiEzmaxinvoicingsummaryglobalID"), + "fkiEzmaxinvoicingID": obj.get("fkiEzmaxinvoicingID"), + "fkiEzmaxproductID": obj.get("fkiEzmaxproductID"), + "sEzmaxproductDescriptionX": obj.get("sEzmaxproductDescriptionX"), + "dtEzmaxinvoicingsummaryglobalStart": obj.get("dtEzmaxinvoicingsummaryglobalStart"), + "dtEzmaxinvoicingsummaryglobalEnd": obj.get("dtEzmaxinvoicingsummaryglobalEnd"), + "iEzmaxinvoicingsummaryglobalDays": obj.get("iEzmaxinvoicingsummaryglobalDays"), + "dEzmaxinvoicingsummaryglobalCountreal": obj.get("dEzmaxinvoicingsummaryglobalCountreal"), + "dEzmaxinvoicingsummaryglobalCountbilled": obj.get("dEzmaxinvoicingsummaryglobalCountbilled"), + "dEzmaxinvoicingsummaryglobalSubtotal": obj.get("dEzmaxinvoicingsummaryglobalSubtotal"), + "dEzmaxinvoicingsummaryglobalRebateamount": obj.get("dEzmaxinvoicingsummaryglobalRebateamount"), + "dEzmaxinvoicingsummaryglobalRebatepercent": obj.get("dEzmaxinvoicingsummaryglobalRebatepercent"), + "dEzmaxinvoicingsummaryglobalRebatetotal": obj.get("dEzmaxinvoicingsummaryglobalRebatetotal"), + "dEzmaxinvoicingsummaryglobalTotal": obj.get("dEzmaxinvoicingsummaryglobalTotal"), + "dEzmaxinvoicingsummaryglobalRepresentative": obj.get("dEzmaxinvoicingsummaryglobalRepresentative"), + "dEzmaxinvoicingsummaryglobalPartner": obj.get("dEzmaxinvoicingsummaryglobalPartner"), + "dEzmaxinvoicingsummaryglobalNet": obj.get("dEzmaxinvoicingsummaryglobalNet"), + "bEzmaxinvoicingsummaryglobalAdjustment": obj.get("bEzmaxinvoicingsummaryglobalAdjustment"), + "tEzmaxproductHelpX": obj.get("tEzmaxproductHelpX") + }) + return _obj diff --git a/eZmaxApi/models/ezmaxinvoicingsummaryglobal_response_compound.py b/eZmaxApi/models/ezmaxinvoicingsummaryglobal_response_compound.py index 9b1d0214a..80f888471 100644 --- a/eZmaxApi/models/ezmaxinvoicingsummaryglobal_response_compound.py +++ b/eZmaxApi/models/ezmaxinvoicingsummaryglobal_response_compound.py @@ -18,20 +18,118 @@ import re # noqa: F401 import json -from pydantic import ConfigDict, Field +from pydantic import BaseModel, ConfigDict, Field, StrictBool, StrictStr, field_validator from typing import Any, ClassVar, Dict, List, Optional +from typing_extensions import Annotated from eZmaxApi.models.ezmaxinvoicingcommission_response_compound import EzmaxinvoicingcommissionResponseCompound -from eZmaxApi.models.ezmaxinvoicingsummaryglobal_response import EzmaxinvoicingsummaryglobalResponse from typing import Optional, Set from typing_extensions import Self -class EzmaxinvoicingsummaryglobalResponseCompound(EzmaxinvoicingsummaryglobalResponse): +class EzmaxinvoicingsummaryglobalResponseCompound(BaseModel): """ A Ezmaxinvoicingsummaryglobal Object """ # noqa: E501 + pki_ezmaxinvoicingsummaryglobal_id: Optional[Annotated[int, Field(strict=True, ge=0)]] = Field(default=None, description="The unique ID of the Ezmaxinvoicingsummaryglobal", alias="pkiEzmaxinvoicingsummaryglobalID") + fki_ezmaxinvoicing_id: Optional[Annotated[int, Field(strict=True, ge=0)]] = Field(default=None, description="The unique ID of the Ezmaxinvoicing", alias="fkiEzmaxinvoicingID") + fki_ezmaxproduct_id: Annotated[int, Field(strict=True, ge=1)] = Field(description="The unique ID of the Ezmaxproduct", alias="fkiEzmaxproductID") + s_ezmaxproduct_description_x: StrictStr = Field(description="The description of the Ezmaxproduct in the language of the requester", alias="sEzmaxproductDescriptionX") + dt_ezmaxinvoicingsummaryglobal_start: StrictStr = Field(description="The start date for the Ezmaxinvoicingsummaryglobal", alias="dtEzmaxinvoicingsummaryglobalStart") + dt_ezmaxinvoicingsummaryglobal_end: StrictStr = Field(description="The end date for the Ezmaxinvoicingsummaryglobal", alias="dtEzmaxinvoicingsummaryglobalEnd") + i_ezmaxinvoicingsummaryglobal_days: Annotated[int, Field(strict=True, ge=1)] = Field(description="The number of days for the Ezmaxinvoicingsummaryglobal", alias="iEzmaxinvoicingsummaryglobalDays") + d_ezmaxinvoicingsummaryglobal_countreal: Annotated[str, Field(strict=True)] = Field(description="The count item calculated", alias="dEzmaxinvoicingsummaryglobalCountreal") + d_ezmaxinvoicingsummaryglobal_countbilled: Annotated[str, Field(strict=True)] = Field(description="The count item billed", alias="dEzmaxinvoicingsummaryglobalCountbilled") + d_ezmaxinvoicingsummaryglobal_subtotal: Annotated[str, Field(strict=True)] = Field(description="The Ezmaxinvoicingsummaryglobal subtotal", alias="dEzmaxinvoicingsummaryglobalSubtotal") + d_ezmaxinvoicingsummaryglobal_rebateamount: Annotated[str, Field(strict=True)] = Field(description="The rebate amount for the Ezmaxinvoicingsummaryglobal", alias="dEzmaxinvoicingsummaryglobalRebateamount") + d_ezmaxinvoicingsummaryglobal_rebatepercent: Annotated[str, Field(strict=True)] = Field(description="The rebate percentage of the Ezmaxinvoicingsummaryglobal", alias="dEzmaxinvoicingsummaryglobalRebatepercent") + d_ezmaxinvoicingsummaryglobal_rebatetotal: Annotated[str, Field(strict=True)] = Field(description="The rebate amount total for the Ezmaxinvoicingsummaryglobal", alias="dEzmaxinvoicingsummaryglobalRebatetotal") + d_ezmaxinvoicingsummaryglobal_total: Annotated[str, Field(strict=True)] = Field(description="The Ezmaxinvoicingsummaryglobal total", alias="dEzmaxinvoicingsummaryglobalTotal") + d_ezmaxinvoicingsummaryglobal_representative: Optional[Annotated[str, Field(strict=True)]] = Field(default=None, description="The amount of commission for the representative", alias="dEzmaxinvoicingsummaryglobalRepresentative") + d_ezmaxinvoicingsummaryglobal_partner: Optional[Annotated[str, Field(strict=True)]] = Field(default=None, description="The amount of commission for the partner", alias="dEzmaxinvoicingsummaryglobalPartner") + d_ezmaxinvoicingsummaryglobal_net: Optional[Annotated[str, Field(strict=True)]] = Field(default=None, description="The net amount of the Ezmaxinvoicingsummaryglobal", alias="dEzmaxinvoicingsummaryglobalNet") + b_ezmaxinvoicingsummaryglobal_adjustment: StrictBool = Field(description="Whether it is adjustment for the Ezmaxinvoicingsummaryglobal", alias="bEzmaxinvoicingsummaryglobalAdjustment") + t_ezmaxproduct_help_x: StrictStr = Field(description="The help message of the Ezmaxproduct in the language of the requester", alias="tEzmaxproductHelpX") a_obj_ezmaxinvoicingcommission: Optional[List[EzmaxinvoicingcommissionResponseCompound]] = Field(default=None, alias="a_objEzmaxinvoicingcommission") __properties: ClassVar[List[str]] = ["pkiEzmaxinvoicingsummaryglobalID", "fkiEzmaxinvoicingID", "fkiEzmaxproductID", "sEzmaxproductDescriptionX", "dtEzmaxinvoicingsummaryglobalStart", "dtEzmaxinvoicingsummaryglobalEnd", "iEzmaxinvoicingsummaryglobalDays", "dEzmaxinvoicingsummaryglobalCountreal", "dEzmaxinvoicingsummaryglobalCountbilled", "dEzmaxinvoicingsummaryglobalSubtotal", "dEzmaxinvoicingsummaryglobalRebateamount", "dEzmaxinvoicingsummaryglobalRebatepercent", "dEzmaxinvoicingsummaryglobalRebatetotal", "dEzmaxinvoicingsummaryglobalTotal", "dEzmaxinvoicingsummaryglobalRepresentative", "dEzmaxinvoicingsummaryglobalPartner", "dEzmaxinvoicingsummaryglobalNet", "bEzmaxinvoicingsummaryglobalAdjustment", "tEzmaxproductHelpX", "a_objEzmaxinvoicingcommission"] + @field_validator('d_ezmaxinvoicingsummaryglobal_countreal') + def d_ezmaxinvoicingsummaryglobal_countreal_validate_regular_expression(cls, value): + """Validates the regular expression""" + if not re.match(r"^-{0,1}[\d]{1,6}?\.[\d]{2}$", value): + raise ValueError(r"must validate the regular expression /^-{0,1}[\d]{1,6}?\.[\d]{2}$/") + return value + + @field_validator('d_ezmaxinvoicingsummaryglobal_countbilled') + def d_ezmaxinvoicingsummaryglobal_countbilled_validate_regular_expression(cls, value): + """Validates the regular expression""" + if not re.match(r"^-{0,1}[\d]{1,6}?\.[\d]{2}$", value): + raise ValueError(r"must validate the regular expression /^-{0,1}[\d]{1,6}?\.[\d]{2}$/") + return value + + @field_validator('d_ezmaxinvoicingsummaryglobal_subtotal') + def d_ezmaxinvoicingsummaryglobal_subtotal_validate_regular_expression(cls, value): + """Validates the regular expression""" + if not re.match(r"^-{0,1}[\d]{1,9}?\.[\d]{2}$", value): + raise ValueError(r"must validate the regular expression /^-{0,1}[\d]{1,9}?\.[\d]{2}$/") + return value + + @field_validator('d_ezmaxinvoicingsummaryglobal_rebateamount') + def d_ezmaxinvoicingsummaryglobal_rebateamount_validate_regular_expression(cls, value): + """Validates the regular expression""" + if not re.match(r"^-{0,1}[\d]{1,9}?\.[\d]{2}$", value): + raise ValueError(r"must validate the regular expression /^-{0,1}[\d]{1,9}?\.[\d]{2}$/") + return value + + @field_validator('d_ezmaxinvoicingsummaryglobal_rebatepercent') + def d_ezmaxinvoicingsummaryglobal_rebatepercent_validate_regular_expression(cls, value): + """Validates the regular expression""" + if not re.match(r"^-{0,1}[\d]{1,3}?\.[\d]{2}$", value): + raise ValueError(r"must validate the regular expression /^-{0,1}[\d]{1,3}?\.[\d]{2}$/") + return value + + @field_validator('d_ezmaxinvoicingsummaryglobal_rebatetotal') + def d_ezmaxinvoicingsummaryglobal_rebatetotal_validate_regular_expression(cls, value): + """Validates the regular expression""" + if not re.match(r"^-{0,1}[\d]{1,9}?\.[\d]{2}$", value): + raise ValueError(r"must validate the regular expression /^-{0,1}[\d]{1,9}?\.[\d]{2}$/") + return value + + @field_validator('d_ezmaxinvoicingsummaryglobal_total') + def d_ezmaxinvoicingsummaryglobal_total_validate_regular_expression(cls, value): + """Validates the regular expression""" + if not re.match(r"^-{0,1}[\d]{1,9}?\.[\d]{2}$", value): + raise ValueError(r"must validate the regular expression /^-{0,1}[\d]{1,9}?\.[\d]{2}$/") + return value + + @field_validator('d_ezmaxinvoicingsummaryglobal_representative') + def d_ezmaxinvoicingsummaryglobal_representative_validate_regular_expression(cls, value): + """Validates the regular expression""" + if value is None: + return value + + if not re.match(r"^-{0,1}[\d]{1,9}?\.[\d]{2}$", value): + raise ValueError(r"must validate the regular expression /^-{0,1}[\d]{1,9}?\.[\d]{2}$/") + return value + + @field_validator('d_ezmaxinvoicingsummaryglobal_partner') + def d_ezmaxinvoicingsummaryglobal_partner_validate_regular_expression(cls, value): + """Validates the regular expression""" + if value is None: + return value + + if not re.match(r"^-{0,1}[\d]{1,9}?\.[\d]{2}$", value): + raise ValueError(r"must validate the regular expression /^-{0,1}[\d]{1,9}?\.[\d]{2}$/") + return value + + @field_validator('d_ezmaxinvoicingsummaryglobal_net') + def d_ezmaxinvoicingsummaryglobal_net_validate_regular_expression(cls, value): + """Validates the regular expression""" + if value is None: + return value + + if not re.match(r"^-{0,1}[\d]{1,9}?\.[\d]{2}$", value): + raise ValueError(r"must validate the regular expression /^-{0,1}[\d]{1,9}?\.[\d]{2}$/") + return value + model_config = ConfigDict( populate_by_name=True, validate_assignment=True, diff --git a/eZmaxApi/models/ezmaxinvoicingsummaryinternal_response.py b/eZmaxApi/models/ezmaxinvoicingsummaryinternal_response.py index e7d52a4dd..be185a67b 100644 --- a/eZmaxApi/models/ezmaxinvoicingsummaryinternal_response.py +++ b/eZmaxApi/models/ezmaxinvoicingsummaryinternal_response.py @@ -82,7 +82,22 @@ def to_dict(self) -> Dict[str, Any]: return _dict @classmethod - def from_dict(cls, obj: Dict[str, Any]) -> Optional[Self]: + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: """Create an instance of EzmaxinvoicingsummaryinternalResponse from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "pkiEzmaxinvoicingsummaryinternalID": obj.get("pkiEzmaxinvoicingsummaryinternalID"), + "objEzmaxinvoicingsummaryinternalDescription": MultilingualEzmaxinvoicingsummaryinternalDescription.from_dict(obj["objEzmaxinvoicingsummaryinternalDescription"]) if obj.get("objEzmaxinvoicingsummaryinternalDescription") is not None else None, + "sEzmaxinvoicingsummaryinternalDescriptionX": obj.get("sEzmaxinvoicingsummaryinternalDescriptionX"), + "fkiEzmaxinvoicingID": obj.get("fkiEzmaxinvoicingID"), + "fkiBillingentityinternalID": obj.get("fkiBillingentityinternalID"), + "sBillingentityinternalDescriptionX": obj.get("sBillingentityinternalDescriptionX") + }) + return _obj diff --git a/eZmaxApi/models/ezmaxinvoicingsummaryinternal_response_compound.py b/eZmaxApi/models/ezmaxinvoicingsummaryinternal_response_compound.py index 06d9c3906..5e33b1442 100644 --- a/eZmaxApi/models/ezmaxinvoicingsummaryinternal_response_compound.py +++ b/eZmaxApi/models/ezmaxinvoicingsummaryinternal_response_compound.py @@ -18,18 +18,24 @@ import re # noqa: F401 import json -from pydantic import ConfigDict, Field -from typing import Any, ClassVar, Dict, List -from eZmaxApi.models.ezmaxinvoicingsummaryinternal_response import EzmaxinvoicingsummaryinternalResponse +from pydantic import BaseModel, ConfigDict, Field, StrictStr +from typing import Any, ClassVar, Dict, List, Optional +from typing_extensions import Annotated from eZmaxApi.models.ezmaxinvoicingsummaryinternaldetail_response_compound import EzmaxinvoicingsummaryinternaldetailResponseCompound from eZmaxApi.models.multilingual_ezmaxinvoicingsummaryinternal_description import MultilingualEzmaxinvoicingsummaryinternalDescription from typing import Optional, Set from typing_extensions import Self -class EzmaxinvoicingsummaryinternalResponseCompound(EzmaxinvoicingsummaryinternalResponse): +class EzmaxinvoicingsummaryinternalResponseCompound(BaseModel): """ A Ezmaxinvoicingsummaryinternal Object """ # noqa: E501 + pki_ezmaxinvoicingsummaryinternal_id: Optional[Annotated[int, Field(strict=True, ge=0)]] = Field(default=None, description="The unique ID of the Ezmaxinvoicingsummaryinternal", alias="pkiEzmaxinvoicingsummaryinternalID") + obj_ezmaxinvoicingsummaryinternal_description: MultilingualEzmaxinvoicingsummaryinternalDescription = Field(alias="objEzmaxinvoicingsummaryinternalDescription") + s_ezmaxinvoicingsummaryinternal_description_x: Annotated[str, Field(strict=True, max_length=70)] = Field(description="The Ezmaxinvoicingsummaryinternal description in the language of the requester", alias="sEzmaxinvoicingsummaryinternalDescriptionX") + fki_ezmaxinvoicing_id: Optional[Annotated[int, Field(strict=True, ge=0)]] = Field(default=None, description="The unique ID of the Ezmaxinvoicing", alias="fkiEzmaxinvoicingID") + fki_billingentityinternal_id: Annotated[int, Field(strict=True, ge=0)] = Field(description="The unique ID of the Billingentityinternal.", alias="fkiBillingentityinternalID") + s_billingentityinternal_description_x: StrictStr = Field(description="The description of the Billingentityinternal in the language of the requester", alias="sBillingentityinternalDescriptionX") a_obj_ezmaxinvoicingsummaryinternaldetail: List[EzmaxinvoicingsummaryinternaldetailResponseCompound] = Field(alias="a_objEzmaxinvoicingsummaryinternaldetail") __properties: ClassVar[List[str]] = ["pkiEzmaxinvoicingsummaryinternalID", "objEzmaxinvoicingsummaryinternalDescription", "sEzmaxinvoicingsummaryinternalDescriptionX", "fkiEzmaxinvoicingID", "fkiBillingentityinternalID", "sBillingentityinternalDescriptionX", "a_objEzmaxinvoicingsummaryinternaldetail"] diff --git a/eZmaxApi/models/ezmaxinvoicingsummaryinternaldetail_response.py b/eZmaxApi/models/ezmaxinvoicingsummaryinternaldetail_response.py index c49886440..f948cf6eb 100644 --- a/eZmaxApi/models/ezmaxinvoicingsummaryinternaldetail_response.py +++ b/eZmaxApi/models/ezmaxinvoicingsummaryinternaldetail_response.py @@ -112,7 +112,28 @@ def to_dict(self) -> Dict[str, Any]: return _dict @classmethod - def from_dict(cls, obj: Dict[str, Any]) -> Optional[Self]: + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: """Create an instance of EzmaxinvoicingsummaryinternaldetailResponse from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "pkiEzmaxinvoicingsummaryinternaldetailID": obj.get("pkiEzmaxinvoicingsummaryinternaldetailID"), + "fkiEzmaxinvoicingsummaryinternalID": obj.get("fkiEzmaxinvoicingsummaryinternalID"), + "fkiEzmaxproductID": obj.get("fkiEzmaxproductID"), + "sEzmaxproductDescriptionX": obj.get("sEzmaxproductDescriptionX"), + "fkiBillingentityexternalID": obj.get("fkiBillingentityexternalID"), + "sBillingentityexternalDescription": obj.get("sBillingentityexternalDescription"), + "dEzmaxinvoicingsummaryinternaldetailCountreal": obj.get("dEzmaxinvoicingsummaryinternaldetailCountreal"), + "dEzmaxinvoicingsummaryinternaldetailSubtotal": obj.get("dEzmaxinvoicingsummaryinternaldetailSubtotal"), + "dEzmaxinvoicingsummaryinternaldetailRebate": obj.get("dEzmaxinvoicingsummaryinternaldetailRebate"), + "dEzmaxinvoicingsummaryinternaldetailTotal": obj.get("dEzmaxinvoicingsummaryinternaldetailTotal"), + "bEzmaxinvoicingsummaryinternaldetailAdjustment": obj.get("bEzmaxinvoicingsummaryinternaldetailAdjustment"), + "tEzmaxproductHelpX": obj.get("tEzmaxproductHelpX") + }) + return _obj diff --git a/eZmaxApi/models/ezmaxinvoicingsummaryinternaldetail_response_compound.py b/eZmaxApi/models/ezmaxinvoicingsummaryinternaldetail_response_compound.py index 64495cc97..07b1a5a70 100644 --- a/eZmaxApi/models/ezmaxinvoicingsummaryinternaldetail_response_compound.py +++ b/eZmaxApi/models/ezmaxinvoicingsummaryinternaldetail_response_compound.py @@ -18,18 +18,58 @@ import re # noqa: F401 import json -from pydantic import ConfigDict -from typing import Any, ClassVar, Dict, List -from eZmaxApi.models.ezmaxinvoicingsummaryinternaldetail_response import EzmaxinvoicingsummaryinternaldetailResponse +from pydantic import BaseModel, ConfigDict, Field, StrictBool, StrictStr, field_validator +from typing import Any, ClassVar, Dict, List, Optional +from typing_extensions import Annotated from typing import Optional, Set from typing_extensions import Self -class EzmaxinvoicingsummaryinternaldetailResponseCompound(EzmaxinvoicingsummaryinternaldetailResponse): +class EzmaxinvoicingsummaryinternaldetailResponseCompound(BaseModel): """ A Ezmaxinvoicingsummaryinternaldetail Object """ # noqa: E501 + pki_ezmaxinvoicingsummaryinternaldetail_id: Optional[Annotated[int, Field(strict=True, ge=0)]] = Field(default=None, description="The unique ID of the Ezmaxinvoicingsummaryinternaldetail", alias="pkiEzmaxinvoicingsummaryinternaldetailID") + fki_ezmaxinvoicingsummaryinternal_id: Optional[Annotated[int, Field(strict=True, ge=0)]] = Field(default=None, description="The unique ID of the Ezmaxinvoicingsummaryinternal", alias="fkiEzmaxinvoicingsummaryinternalID") + fki_ezmaxproduct_id: Annotated[int, Field(strict=True, ge=1)] = Field(description="The unique ID of the Ezmaxproduct", alias="fkiEzmaxproductID") + s_ezmaxproduct_description_x: StrictStr = Field(description="The description of the Ezmaxproduct in the language of the requester", alias="sEzmaxproductDescriptionX") + fki_billingentityexternal_id: Annotated[int, Field(strict=True, ge=1)] = Field(description="The unique ID of the Billingentityexternal", alias="fkiBillingentityexternalID") + s_billingentityexternal_description: StrictStr = Field(description="The description of the Billingentityexternal", alias="sBillingentityexternalDescription") + d_ezmaxinvoicingsummaryinternaldetail_countreal: Annotated[str, Field(strict=True)] = Field(description="The count item invoiced for the product", alias="dEzmaxinvoicingsummaryinternaldetailCountreal") + d_ezmaxinvoicingsummaryinternaldetail_subtotal: Annotated[str, Field(strict=True)] = Field(description="The subtotal invoiced for the product", alias="dEzmaxinvoicingsummaryinternaldetailSubtotal") + d_ezmaxinvoicingsummaryinternaldetail_rebate: Annotated[str, Field(strict=True)] = Field(description="The rebate for the product", alias="dEzmaxinvoicingsummaryinternaldetailRebate") + d_ezmaxinvoicingsummaryinternaldetail_total: Annotated[str, Field(strict=True)] = Field(description="The total invoiced for the product", alias="dEzmaxinvoicingsummaryinternaldetailTotal") + b_ezmaxinvoicingsummaryinternaldetail_adjustment: StrictBool = Field(description="Whether if it's an adjustment", alias="bEzmaxinvoicingsummaryinternaldetailAdjustment") + t_ezmaxproduct_help_x: StrictStr = Field(description="The help message of the Ezmaxproduct in the language of the requester", alias="tEzmaxproductHelpX") __properties: ClassVar[List[str]] = ["pkiEzmaxinvoicingsummaryinternaldetailID", "fkiEzmaxinvoicingsummaryinternalID", "fkiEzmaxproductID", "sEzmaxproductDescriptionX", "fkiBillingentityexternalID", "sBillingentityexternalDescription", "dEzmaxinvoicingsummaryinternaldetailCountreal", "dEzmaxinvoicingsummaryinternaldetailSubtotal", "dEzmaxinvoicingsummaryinternaldetailRebate", "dEzmaxinvoicingsummaryinternaldetailTotal", "bEzmaxinvoicingsummaryinternaldetailAdjustment", "tEzmaxproductHelpX"] + @field_validator('d_ezmaxinvoicingsummaryinternaldetail_countreal') + def d_ezmaxinvoicingsummaryinternaldetail_countreal_validate_regular_expression(cls, value): + """Validates the regular expression""" + if not re.match(r"^-{0,1}[\d]{1,6}?\.[\d]{2}$", value): + raise ValueError(r"must validate the regular expression /^-{0,1}[\d]{1,6}?\.[\d]{2}$/") + return value + + @field_validator('d_ezmaxinvoicingsummaryinternaldetail_subtotal') + def d_ezmaxinvoicingsummaryinternaldetail_subtotal_validate_regular_expression(cls, value): + """Validates the regular expression""" + if not re.match(r"^-{0,1}[\d]{1,9}?\.[\d]{2}$", value): + raise ValueError(r"must validate the regular expression /^-{0,1}[\d]{1,9}?\.[\d]{2}$/") + return value + + @field_validator('d_ezmaxinvoicingsummaryinternaldetail_rebate') + def d_ezmaxinvoicingsummaryinternaldetail_rebate_validate_regular_expression(cls, value): + """Validates the regular expression""" + if not re.match(r"^-{0,1}[\d]{1,9}?\.[\d]{2}$", value): + raise ValueError(r"must validate the regular expression /^-{0,1}[\d]{1,9}?\.[\d]{2}$/") + return value + + @field_validator('d_ezmaxinvoicingsummaryinternaldetail_total') + def d_ezmaxinvoicingsummaryinternaldetail_total_validate_regular_expression(cls, value): + """Validates the regular expression""" + if not re.match(r"^-{0,1}[\d]{1,9}?\.[\d]{2}$", value): + raise ValueError(r"must validate the regular expression /^-{0,1}[\d]{1,9}?\.[\d]{2}$/") + return value + model_config = ConfigDict( populate_by_name=True, validate_assignment=True, diff --git a/eZmaxApi/models/ezmaxinvoicinguser_response.py b/eZmaxApi/models/ezmaxinvoicinguser_response.py index 90b2b7e57..95705f5e7 100644 --- a/eZmaxApi/models/ezmaxinvoicinguser_response.py +++ b/eZmaxApi/models/ezmaxinvoicinguser_response.py @@ -82,7 +82,25 @@ def to_dict(self) -> Dict[str, Any]: return _dict @classmethod - def from_dict(cls, obj: Dict[str, Any]) -> Optional[Self]: + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: """Create an instance of EzmaxinvoicinguserResponse from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "pkiEzmaxinvoicinguserID": obj.get("pkiEzmaxinvoicinguserID"), + "fkiEzmaxinvoicingID": obj.get("fkiEzmaxinvoicingID"), + "fkiBillingentityinternalID": obj.get("fkiBillingentityinternalID"), + "sBillingentityinternalDescriptionX": obj.get("sBillingentityinternalDescriptionX"), + "fkiUserID": obj.get("fkiUserID"), + "iEzmaxinvoicinguserEzsigndocument": obj.get("iEzmaxinvoicinguserEzsigndocument"), + "bEzmaxinvoicinguserEzsignaccount": obj.get("bEzmaxinvoicinguserEzsignaccount"), + "bEzmaxinvoicinguserBillableezsign": obj.get("bEzmaxinvoicinguserBillableezsign"), + "eEzmaxinvoicinguserVariationezsign": obj.get("eEzmaxinvoicinguserVariationezsign") + }) + return _obj diff --git a/eZmaxApi/models/ezmaxinvoicinguser_response_compound.py b/eZmaxApi/models/ezmaxinvoicinguser_response_compound.py index eb4590121..90caad31b 100644 --- a/eZmaxApi/models/ezmaxinvoicinguser_response_compound.py +++ b/eZmaxApi/models/ezmaxinvoicinguser_response_compound.py @@ -18,18 +18,27 @@ import re # noqa: F401 import json -from pydantic import ConfigDict, Field -from typing import Any, ClassVar, Dict, List +from pydantic import BaseModel, ConfigDict, Field, StrictBool, StrictStr +from typing import Any, ClassVar, Dict, List, Optional +from typing_extensions import Annotated from eZmaxApi.models.custom_contact_name_response import CustomContactNameResponse -from eZmaxApi.models.ezmaxinvoicinguser_response import EzmaxinvoicinguserResponse from eZmaxApi.models.field_e_ezmaxinvoicinguser_variationezsign import FieldEEzmaxinvoicinguserVariationezsign from typing import Optional, Set from typing_extensions import Self -class EzmaxinvoicinguserResponseCompound(EzmaxinvoicinguserResponse): +class EzmaxinvoicinguserResponseCompound(BaseModel): """ A Ezmaxinvoicinguser Object """ # noqa: E501 + pki_ezmaxinvoicinguser_id: Optional[Annotated[int, Field(strict=True, ge=0)]] = Field(default=None, description="The unique ID of the Ezmaxinvoicinguser", alias="pkiEzmaxinvoicinguserID") + fki_ezmaxinvoicing_id: Optional[Annotated[int, Field(strict=True, ge=0)]] = Field(default=None, description="The unique ID of the Ezmaxinvoicing", alias="fkiEzmaxinvoicingID") + fki_billingentityinternal_id: Annotated[int, Field(strict=True, ge=0)] = Field(description="The unique ID of the Billingentityinternal.", alias="fkiBillingentityinternalID") + s_billingentityinternal_description_x: StrictStr = Field(description="The description of the Billingentityinternal in the language of the requester", alias="sBillingentityinternalDescriptionX") + fki_user_id: Annotated[int, Field(strict=True, ge=0)] = Field(description="The unique ID of the User", alias="fkiUserID") + i_ezmaxinvoicinguser_ezsigndocument: Annotated[int, Field(strict=True, ge=0)] = Field(description="The number of ezsign documents", alias="iEzmaxinvoicinguserEzsigndocument") + b_ezmaxinvoicinguser_ezsignaccount: StrictBool = Field(description="Whether there is an eZsign account", alias="bEzmaxinvoicinguserEzsignaccount") + b_ezmaxinvoicinguser_billableezsign: StrictBool = Field(description="Whether it is billable for eZsign", alias="bEzmaxinvoicinguserBillableezsign") + e_ezmaxinvoicinguser_variationezsign: FieldEEzmaxinvoicinguserVariationezsign = Field(alias="eEzmaxinvoicinguserVariationezsign") obj_contact_name: CustomContactNameResponse = Field(alias="objContactName") __properties: ClassVar[List[str]] = ["pkiEzmaxinvoicinguserID", "fkiEzmaxinvoicingID", "fkiBillingentityinternalID", "sBillingentityinternalDescriptionX", "fkiUserID", "iEzmaxinvoicinguserEzsigndocument", "bEzmaxinvoicinguserEzsignaccount", "bEzmaxinvoicinguserBillableezsign", "eEzmaxinvoicinguserVariationezsign", "objContactName"] diff --git a/eZmaxApi/models/ezmaxproduct_get_autocomplete_v2_response.py b/eZmaxApi/models/ezmaxproduct_get_autocomplete_v2_response.py index 7d6030b46..75d71745c 100644 --- a/eZmaxApi/models/ezmaxproduct_get_autocomplete_v2_response.py +++ b/eZmaxApi/models/ezmaxproduct_get_autocomplete_v2_response.py @@ -18,19 +18,20 @@ import re # noqa: F401 import json -from pydantic import ConfigDict, Field -from typing import Any, ClassVar, Dict, List -from eZmaxApi.models.common_response import CommonResponse +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List, Optional from eZmaxApi.models.common_response_obj_debug import CommonResponseObjDebug from eZmaxApi.models.common_response_obj_debug_payload import CommonResponseObjDebugPayload from eZmaxApi.models.ezmaxproduct_get_autocomplete_v2_response_m_payload import EzmaxproductGetAutocompleteV2ResponseMPayload from typing import Optional, Set from typing_extensions import Self -class EzmaxproductGetAutocompleteV2Response(CommonResponse): +class EzmaxproductGetAutocompleteV2Response(BaseModel): """ Response for GET /2/object/ezmaxproduct/getAutocomplete """ # noqa: E501 + obj_debug_payload: CommonResponseObjDebugPayload = Field(alias="objDebugPayload") + obj_debug: Optional[CommonResponseObjDebug] = Field(default=None, alias="objDebug") m_payload: EzmaxproductGetAutocompleteV2ResponseMPayload = Field(alias="mPayload") __properties: ClassVar[List[str]] = ["objDebugPayload", "objDebug", "mPayload"] diff --git a/eZmaxApi/models/ezsignannotation_create_object_v1_response.py b/eZmaxApi/models/ezsignannotation_create_object_v1_response.py index 0d63bffee..e6fa1fd0b 100644 --- a/eZmaxApi/models/ezsignannotation_create_object_v1_response.py +++ b/eZmaxApi/models/ezsignannotation_create_object_v1_response.py @@ -18,19 +18,20 @@ import re # noqa: F401 import json -from pydantic import ConfigDict, Field -from typing import Any, ClassVar, Dict, List -from eZmaxApi.models.common_response import CommonResponse +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List, Optional from eZmaxApi.models.common_response_obj_debug import CommonResponseObjDebug from eZmaxApi.models.common_response_obj_debug_payload import CommonResponseObjDebugPayload from eZmaxApi.models.ezsignannotation_create_object_v1_response_m_payload import EzsignannotationCreateObjectV1ResponseMPayload from typing import Optional, Set from typing_extensions import Self -class EzsignannotationCreateObjectV1Response(CommonResponse): +class EzsignannotationCreateObjectV1Response(BaseModel): """ Response for POST /1/object/ezsignannotation """ # noqa: E501 + obj_debug_payload: CommonResponseObjDebugPayload = Field(alias="objDebugPayload") + obj_debug: Optional[CommonResponseObjDebug] = Field(default=None, alias="objDebug") m_payload: EzsignannotationCreateObjectV1ResponseMPayload = Field(alias="mPayload") __properties: ClassVar[List[str]] = ["objDebugPayload", "objDebug", "mPayload"] diff --git a/eZmaxApi/models/ezsignannotation_delete_object_v1_response.py b/eZmaxApi/models/ezsignannotation_delete_object_v1_response.py index 301189e8e..06d750c2c 100644 --- a/eZmaxApi/models/ezsignannotation_delete_object_v1_response.py +++ b/eZmaxApi/models/ezsignannotation_delete_object_v1_response.py @@ -18,18 +18,19 @@ import re # noqa: F401 import json -from pydantic import ConfigDict -from typing import Any, ClassVar, Dict, List -from eZmaxApi.models.common_response import CommonResponse +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List, Optional from eZmaxApi.models.common_response_obj_debug import CommonResponseObjDebug from eZmaxApi.models.common_response_obj_debug_payload import CommonResponseObjDebugPayload from typing import Optional, Set from typing_extensions import Self -class EzsignannotationDeleteObjectV1Response(CommonResponse): +class EzsignannotationDeleteObjectV1Response(BaseModel): """ Response for DELETE /1/object/ezsignannotation/{pkiEzsignannotationID} """ # noqa: E501 + obj_debug_payload: CommonResponseObjDebugPayload = Field(alias="objDebugPayload") + obj_debug: Optional[CommonResponseObjDebug] = Field(default=None, alias="objDebug") __properties: ClassVar[List[str]] = ["objDebugPayload", "objDebug"] model_config = ConfigDict( diff --git a/eZmaxApi/models/ezsignannotation_edit_object_v1_response.py b/eZmaxApi/models/ezsignannotation_edit_object_v1_response.py index ea2ac3f6e..360f9e044 100644 --- a/eZmaxApi/models/ezsignannotation_edit_object_v1_response.py +++ b/eZmaxApi/models/ezsignannotation_edit_object_v1_response.py @@ -18,18 +18,19 @@ import re # noqa: F401 import json -from pydantic import ConfigDict -from typing import Any, ClassVar, Dict, List -from eZmaxApi.models.common_response import CommonResponse +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List, Optional from eZmaxApi.models.common_response_obj_debug import CommonResponseObjDebug from eZmaxApi.models.common_response_obj_debug_payload import CommonResponseObjDebugPayload from typing import Optional, Set from typing_extensions import Self -class EzsignannotationEditObjectV1Response(CommonResponse): +class EzsignannotationEditObjectV1Response(BaseModel): """ Response for PUT /1/object/ezsignannotation/{pkiEzsignannotationID} """ # noqa: E501 + obj_debug_payload: CommonResponseObjDebugPayload = Field(alias="objDebugPayload") + obj_debug: Optional[CommonResponseObjDebug] = Field(default=None, alias="objDebug") __properties: ClassVar[List[str]] = ["objDebugPayload", "objDebug"] model_config = ConfigDict( diff --git a/eZmaxApi/models/ezsignannotation_get_object_v2_response.py b/eZmaxApi/models/ezsignannotation_get_object_v2_response.py index 2f3f8ab8a..961350738 100644 --- a/eZmaxApi/models/ezsignannotation_get_object_v2_response.py +++ b/eZmaxApi/models/ezsignannotation_get_object_v2_response.py @@ -18,19 +18,20 @@ import re # noqa: F401 import json -from pydantic import ConfigDict, Field -from typing import Any, ClassVar, Dict, List -from eZmaxApi.models.common_response import CommonResponse +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List, Optional from eZmaxApi.models.common_response_obj_debug import CommonResponseObjDebug from eZmaxApi.models.common_response_obj_debug_payload import CommonResponseObjDebugPayload from eZmaxApi.models.ezsignannotation_get_object_v2_response_m_payload import EzsignannotationGetObjectV2ResponseMPayload from typing import Optional, Set from typing_extensions import Self -class EzsignannotationGetObjectV2Response(CommonResponse): +class EzsignannotationGetObjectV2Response(BaseModel): """ Response for GET /2/object/ezsignannotation/{pkiEzsignannotationID} """ # noqa: E501 + obj_debug_payload: CommonResponseObjDebugPayload = Field(alias="objDebugPayload") + obj_debug: Optional[CommonResponseObjDebug] = Field(default=None, alias="objDebug") m_payload: EzsignannotationGetObjectV2ResponseMPayload = Field(alias="mPayload") __properties: ClassVar[List[str]] = ["objDebugPayload", "objDebug", "mPayload"] diff --git a/eZmaxApi/models/ezsignannotation_request.py b/eZmaxApi/models/ezsignannotation_request.py index d04777f90..a5f57b8cc 100644 --- a/eZmaxApi/models/ezsignannotation_request.py +++ b/eZmaxApi/models/ezsignannotation_request.py @@ -86,7 +86,27 @@ def to_dict(self) -> Dict[str, Any]: return _dict @classmethod - def from_dict(cls, obj: Dict[str, Any]) -> Optional[Self]: + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: """Create an instance of EzsignannotationRequest from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "pkiEzsignannotationID": obj.get("pkiEzsignannotationID"), + "fkiEzsigndocumentID": obj.get("fkiEzsigndocumentID"), + "eEzsignannotationHorizontalalignment": obj.get("eEzsignannotationHorizontalalignment"), + "eEzsignannotationVerticalalignment": obj.get("eEzsignannotationVerticalalignment"), + "eEzsignannotationType": obj.get("eEzsignannotationType"), + "iEzsignannotationX": obj.get("iEzsignannotationX"), + "iEzsignannotationY": obj.get("iEzsignannotationY"), + "iEzsignannotationWidth": obj.get("iEzsignannotationWidth"), + "iEzsignannotationHeight": obj.get("iEzsignannotationHeight"), + "sEzsignannotationText": obj.get("sEzsignannotationText"), + "iEzsignpagePagenumber": obj.get("iEzsignpagePagenumber") + }) + return _obj diff --git a/eZmaxApi/models/ezsignannotation_request_compound.py b/eZmaxApi/models/ezsignannotation_request_compound.py index ed4de9f10..c4dfa909d 100644 --- a/eZmaxApi/models/ezsignannotation_request_compound.py +++ b/eZmaxApi/models/ezsignannotation_request_compound.py @@ -18,20 +18,31 @@ import re # noqa: F401 import json -from pydantic import ConfigDict, Field +from pydantic import BaseModel, ConfigDict, Field, StrictInt, StrictStr from typing import Any, ClassVar, Dict, List, Optional +from typing_extensions import Annotated from eZmaxApi.models.enum_horizontalalignment import EnumHorizontalalignment from eZmaxApi.models.enum_verticalalignment import EnumVerticalalignment -from eZmaxApi.models.ezsignannotation_request import EzsignannotationRequest from eZmaxApi.models.field_e_ezsignannotation_type import FieldEEzsignannotationType from eZmaxApi.models.textstylestatic_request_compound import TextstylestaticRequestCompound from typing import Optional, Set from typing_extensions import Self -class EzsignannotationRequestCompound(EzsignannotationRequest): +class EzsignannotationRequestCompound(BaseModel): """ A Ezsignannotation Object and children """ # noqa: E501 + pki_ezsignannotation_id: Optional[StrictInt] = Field(default=None, description="The unique ID of the Ezsignannotation", alias="pkiEzsignannotationID") + fki_ezsigndocument_id: Annotated[int, Field(strict=True, ge=0)] = Field(description="The unique ID of the Ezsigndocument", alias="fkiEzsigndocumentID") + e_ezsignannotation_horizontalalignment: Optional[EnumHorizontalalignment] = Field(default=None, alias="eEzsignannotationHorizontalalignment") + e_ezsignannotation_verticalalignment: Optional[EnumVerticalalignment] = Field(default=None, alias="eEzsignannotationVerticalalignment") + e_ezsignannotation_type: FieldEEzsignannotationType = Field(alias="eEzsignannotationType") + i_ezsignannotation_x: Annotated[int, Field(strict=True, ge=0)] = Field(description="The X coordinate (Horizontal) where to put the Ezsignannotation on the page. Coordinate is calculated at 100dpi (dot per inch). So for example, if you want to put the Ezsignannotation 2 inches from the left border of the page, you would use \"200\" for the X coordinate.", alias="iEzsignannotationX") + i_ezsignannotation_y: Annotated[int, Field(strict=True, ge=0)] = Field(description="The Y coordinate (Vertical) where to put the Ezsignannotation on the page. Coordinate is calculated at 100dpi (dot per inch). So for example, if you want to put the Ezsignannotation 3 inches from the top border of the page, you would use \"300\" for the Y coordinate.", alias="iEzsignannotationY") + i_ezsignannotation_width: Optional[Annotated[int, Field(strict=True, ge=0)]] = Field(default=None, description="The Width of the Ezsignannotation. Width is calculated at 100dpi (dot per inch). So for example, if you want to have the width of the Ezsignannotation to be 3 inches, you would use \"300\" for the Width.", alias="iEzsignannotationWidth") + i_ezsignannotation_height: Optional[Annotated[int, Field(strict=True, ge=0)]] = Field(default=None, description="The Height of the Ezsignannotation. Height is calculated at 100dpi (dot per inch). So for example, if you want to have the height of the Ezsignannotation to be 2 inches, you would use \"200\" for the Height. This can only be set if eEzsignannotationType is **StrikethroughBlock** or **Text**", alias="iEzsignannotationHeight") + s_ezsignannotation_text: Optional[StrictStr] = Field(default=None, description="The Text of the Ezsignannotation", alias="sEzsignannotationText") + i_ezsignpage_pagenumber: Annotated[int, Field(strict=True, ge=1)] = Field(description="The page number in the Ezsigndocument", alias="iEzsignpagePagenumber") obj_textstylestatic: Optional[TextstylestaticRequestCompound] = Field(default=None, alias="objTextstylestatic") __properties: ClassVar[List[str]] = ["pkiEzsignannotationID", "fkiEzsigndocumentID", "eEzsignannotationHorizontalalignment", "eEzsignannotationVerticalalignment", "eEzsignannotationType", "iEzsignannotationX", "iEzsignannotationY", "iEzsignannotationWidth", "iEzsignannotationHeight", "sEzsignannotationText", "iEzsignpagePagenumber", "objTextstylestatic"] diff --git a/eZmaxApi/models/ezsignannotation_response.py b/eZmaxApi/models/ezsignannotation_response.py index 850239c32..f32b7f87b 100644 --- a/eZmaxApi/models/ezsignannotation_response.py +++ b/eZmaxApi/models/ezsignannotation_response.py @@ -86,7 +86,27 @@ def to_dict(self) -> Dict[str, Any]: return _dict @classmethod - def from_dict(cls, obj: Dict[str, Any]) -> Optional[Self]: + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: """Create an instance of EzsignannotationResponse from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "pkiEzsignannotationID": obj.get("pkiEzsignannotationID"), + "fkiEzsigndocumentID": obj.get("fkiEzsigndocumentID"), + "eEzsignannotationHorizontalalignment": obj.get("eEzsignannotationHorizontalalignment"), + "eEzsignannotationVerticalalignment": obj.get("eEzsignannotationVerticalalignment"), + "eEzsignannotationType": obj.get("eEzsignannotationType"), + "iEzsignannotationX": obj.get("iEzsignannotationX"), + "iEzsignannotationY": obj.get("iEzsignannotationY"), + "iEzsignannotationWidth": obj.get("iEzsignannotationWidth"), + "iEzsignannotationHeight": obj.get("iEzsignannotationHeight"), + "sEzsignannotationText": obj.get("sEzsignannotationText"), + "iEzsignpagePagenumber": obj.get("iEzsignpagePagenumber") + }) + return _obj diff --git a/eZmaxApi/models/ezsignannotation_response_compound.py b/eZmaxApi/models/ezsignannotation_response_compound.py index ceec7c864..dda318c86 100644 --- a/eZmaxApi/models/ezsignannotation_response_compound.py +++ b/eZmaxApi/models/ezsignannotation_response_compound.py @@ -18,20 +18,31 @@ import re # noqa: F401 import json -from pydantic import ConfigDict, Field +from pydantic import BaseModel, ConfigDict, Field, StrictInt, StrictStr from typing import Any, ClassVar, Dict, List, Optional +from typing_extensions import Annotated from eZmaxApi.models.enum_horizontalalignment import EnumHorizontalalignment from eZmaxApi.models.enum_verticalalignment import EnumVerticalalignment -from eZmaxApi.models.ezsignannotation_response import EzsignannotationResponse from eZmaxApi.models.field_e_ezsignannotation_type import FieldEEzsignannotationType from eZmaxApi.models.textstylestatic_response_compound import TextstylestaticResponseCompound from typing import Optional, Set from typing_extensions import Self -class EzsignannotationResponseCompound(EzsignannotationResponse): +class EzsignannotationResponseCompound(BaseModel): """ A Ezsignannotation Object """ # noqa: E501 + pki_ezsignannotation_id: StrictInt = Field(description="The unique ID of the Ezsignannotation", alias="pkiEzsignannotationID") + fki_ezsigndocument_id: Annotated[int, Field(strict=True, ge=0)] = Field(description="The unique ID of the Ezsigndocument", alias="fkiEzsigndocumentID") + e_ezsignannotation_horizontalalignment: Optional[EnumHorizontalalignment] = Field(default=None, alias="eEzsignannotationHorizontalalignment") + e_ezsignannotation_verticalalignment: Optional[EnumVerticalalignment] = Field(default=None, alias="eEzsignannotationVerticalalignment") + e_ezsignannotation_type: FieldEEzsignannotationType = Field(alias="eEzsignannotationType") + i_ezsignannotation_x: Annotated[int, Field(strict=True, ge=0)] = Field(description="The X coordinate (Horizontal) where to put the Ezsignannotation on the page. Coordinate is calculated at 100dpi (dot per inch). So for example, if you want to put the Ezsignannotation 2 inches from the left border of the page, you would use \"200\" for the X coordinate.", alias="iEzsignannotationX") + i_ezsignannotation_y: Annotated[int, Field(strict=True, ge=0)] = Field(description="The Y coordinate (Vertical) where to put the Ezsignannotation on the page. Coordinate is calculated at 100dpi (dot per inch). So for example, if you want to put the Ezsignannotation 3 inches from the top border of the page, you would use \"300\" for the Y coordinate.", alias="iEzsignannotationY") + i_ezsignannotation_width: Optional[Annotated[int, Field(strict=True, ge=0)]] = Field(default=None, description="The Width of the Ezsignannotation. Width is calculated at 100dpi (dot per inch). So for example, if you want to have the width of the Ezsignannotation to be 3 inches, you would use \"300\" for the Width.", alias="iEzsignannotationWidth") + i_ezsignannotation_height: Optional[Annotated[int, Field(strict=True, ge=0)]] = Field(default=None, description="The Height of the Ezsignannotation. Height is calculated at 100dpi (dot per inch). So for example, if you want to have the height of the Ezsignannotation to be 2 inches, you would use \"200\" for the Height. This can only be set if eEzsignannotationType is **StrikethroughBlock** or **Text**", alias="iEzsignannotationHeight") + s_ezsignannotation_text: Optional[StrictStr] = Field(default=None, description="The Text of the Ezsignannotation", alias="sEzsignannotationText") + i_ezsignpage_pagenumber: Annotated[int, Field(strict=True, ge=1)] = Field(description="The page number in the Ezsigndocument", alias="iEzsignpagePagenumber") obj_textstylestatic: Optional[TextstylestaticResponseCompound] = Field(default=None, alias="objTextstylestatic") __properties: ClassVar[List[str]] = ["pkiEzsignannotationID", "fkiEzsigndocumentID", "eEzsignannotationHorizontalalignment", "eEzsignannotationVerticalalignment", "eEzsignannotationType", "iEzsignannotationX", "iEzsignannotationY", "iEzsignannotationWidth", "iEzsignannotationHeight", "sEzsignannotationText", "iEzsignpagePagenumber", "objTextstylestatic"] diff --git a/eZmaxApi/models/ezsignbulksend_create_ezsignbulksendtransmission_v2_response.py b/eZmaxApi/models/ezsignbulksend_create_ezsignbulksendtransmission_v2_response.py index 341e1dd2f..4979cd7fc 100644 --- a/eZmaxApi/models/ezsignbulksend_create_ezsignbulksendtransmission_v2_response.py +++ b/eZmaxApi/models/ezsignbulksend_create_ezsignbulksendtransmission_v2_response.py @@ -18,19 +18,20 @@ import re # noqa: F401 import json -from pydantic import ConfigDict, Field -from typing import Any, ClassVar, Dict, List -from eZmaxApi.models.common_response import CommonResponse +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List, Optional from eZmaxApi.models.common_response_obj_debug import CommonResponseObjDebug from eZmaxApi.models.common_response_obj_debug_payload import CommonResponseObjDebugPayload from eZmaxApi.models.ezsignbulksend_create_ezsignbulksendtransmission_v2_response_m_payload import EzsignbulksendCreateEzsignbulksendtransmissionV2ResponseMPayload from typing import Optional, Set from typing_extensions import Self -class EzsignbulksendCreateEzsignbulksendtransmissionV2Response(CommonResponse): +class EzsignbulksendCreateEzsignbulksendtransmissionV2Response(BaseModel): """ Response for POST /2/object/ezsignbulksend/{pkiEzsignbulksendID}/createEzsignbulksendtransmission """ # noqa: E501 + obj_debug_payload: CommonResponseObjDebugPayload = Field(alias="objDebugPayload") + obj_debug: Optional[CommonResponseObjDebug] = Field(default=None, alias="objDebug") m_payload: EzsignbulksendCreateEzsignbulksendtransmissionV2ResponseMPayload = Field(alias="mPayload") __properties: ClassVar[List[str]] = ["objDebugPayload", "objDebug", "mPayload"] diff --git a/eZmaxApi/models/ezsignbulksend_create_object_v1_response.py b/eZmaxApi/models/ezsignbulksend_create_object_v1_response.py index fc72cc1e6..241591703 100644 --- a/eZmaxApi/models/ezsignbulksend_create_object_v1_response.py +++ b/eZmaxApi/models/ezsignbulksend_create_object_v1_response.py @@ -18,19 +18,20 @@ import re # noqa: F401 import json -from pydantic import ConfigDict, Field -from typing import Any, ClassVar, Dict, List -from eZmaxApi.models.common_response import CommonResponse +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List, Optional from eZmaxApi.models.common_response_obj_debug import CommonResponseObjDebug from eZmaxApi.models.common_response_obj_debug_payload import CommonResponseObjDebugPayload from eZmaxApi.models.ezsignbulksend_create_object_v1_response_m_payload import EzsignbulksendCreateObjectV1ResponseMPayload from typing import Optional, Set from typing_extensions import Self -class EzsignbulksendCreateObjectV1Response(CommonResponse): +class EzsignbulksendCreateObjectV1Response(BaseModel): """ Response for POST /1/object/ezsignbulksend """ # noqa: E501 + obj_debug_payload: CommonResponseObjDebugPayload = Field(alias="objDebugPayload") + obj_debug: Optional[CommonResponseObjDebug] = Field(default=None, alias="objDebug") m_payload: EzsignbulksendCreateObjectV1ResponseMPayload = Field(alias="mPayload") __properties: ClassVar[List[str]] = ["objDebugPayload", "objDebug", "mPayload"] diff --git a/eZmaxApi/models/ezsignbulksend_delete_object_v1_response.py b/eZmaxApi/models/ezsignbulksend_delete_object_v1_response.py index a5dcafa59..22d33e79a 100644 --- a/eZmaxApi/models/ezsignbulksend_delete_object_v1_response.py +++ b/eZmaxApi/models/ezsignbulksend_delete_object_v1_response.py @@ -18,18 +18,19 @@ import re # noqa: F401 import json -from pydantic import ConfigDict -from typing import Any, ClassVar, Dict, List -from eZmaxApi.models.common_response import CommonResponse +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List, Optional from eZmaxApi.models.common_response_obj_debug import CommonResponseObjDebug from eZmaxApi.models.common_response_obj_debug_payload import CommonResponseObjDebugPayload from typing import Optional, Set from typing_extensions import Self -class EzsignbulksendDeleteObjectV1Response(CommonResponse): +class EzsignbulksendDeleteObjectV1Response(BaseModel): """ Response for DELETE /1/object/ezsignbulksend/{pkiEzsignbulksendID} """ # noqa: E501 + obj_debug_payload: CommonResponseObjDebugPayload = Field(alias="objDebugPayload") + obj_debug: Optional[CommonResponseObjDebug] = Field(default=None, alias="objDebug") __properties: ClassVar[List[str]] = ["objDebugPayload", "objDebug"] model_config = ConfigDict( diff --git a/eZmaxApi/models/ezsignbulksend_edit_object_v1_response.py b/eZmaxApi/models/ezsignbulksend_edit_object_v1_response.py index c96d41237..005371864 100644 --- a/eZmaxApi/models/ezsignbulksend_edit_object_v1_response.py +++ b/eZmaxApi/models/ezsignbulksend_edit_object_v1_response.py @@ -18,18 +18,19 @@ import re # noqa: F401 import json -from pydantic import ConfigDict -from typing import Any, ClassVar, Dict, List -from eZmaxApi.models.common_response import CommonResponse +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List, Optional from eZmaxApi.models.common_response_obj_debug import CommonResponseObjDebug from eZmaxApi.models.common_response_obj_debug_payload import CommonResponseObjDebugPayload from typing import Optional, Set from typing_extensions import Self -class EzsignbulksendEditObjectV1Response(CommonResponse): +class EzsignbulksendEditObjectV1Response(BaseModel): """ Response for PUT /1/object/ezsignbulksend/{pkiEzsignbulksendID} """ # noqa: E501 + obj_debug_payload: CommonResponseObjDebugPayload = Field(alias="objDebugPayload") + obj_debug: Optional[CommonResponseObjDebug] = Field(default=None, alias="objDebug") __properties: ClassVar[List[str]] = ["objDebugPayload", "objDebug"] model_config = ConfigDict( diff --git a/eZmaxApi/models/ezsignbulksend_get_ezsignbulksendtransmissions_v1_response.py b/eZmaxApi/models/ezsignbulksend_get_ezsignbulksendtransmissions_v1_response.py index 0fbbb5f68..21d9deec9 100644 --- a/eZmaxApi/models/ezsignbulksend_get_ezsignbulksendtransmissions_v1_response.py +++ b/eZmaxApi/models/ezsignbulksend_get_ezsignbulksendtransmissions_v1_response.py @@ -18,19 +18,20 @@ import re # noqa: F401 import json -from pydantic import ConfigDict, Field -from typing import Any, ClassVar, Dict, List -from eZmaxApi.models.common_response import CommonResponse +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List, Optional from eZmaxApi.models.common_response_obj_debug import CommonResponseObjDebug from eZmaxApi.models.common_response_obj_debug_payload import CommonResponseObjDebugPayload from eZmaxApi.models.ezsignbulksend_get_ezsignbulksendtransmissions_v1_response_m_payload import EzsignbulksendGetEzsignbulksendtransmissionsV1ResponseMPayload from typing import Optional, Set from typing_extensions import Self -class EzsignbulksendGetEzsignbulksendtransmissionsV1Response(CommonResponse): +class EzsignbulksendGetEzsignbulksendtransmissionsV1Response(BaseModel): """ Response for GET /1/object/ezsignbulksend/{pkiEzsignbulksend}/getEzsignbulksendtransmissions """ # noqa: E501 + obj_debug_payload: CommonResponseObjDebugPayload = Field(alias="objDebugPayload") + obj_debug: Optional[CommonResponseObjDebug] = Field(default=None, alias="objDebug") m_payload: EzsignbulksendGetEzsignbulksendtransmissionsV1ResponseMPayload = Field(alias="mPayload") __properties: ClassVar[List[str]] = ["objDebugPayload", "objDebug", "mPayload"] diff --git a/eZmaxApi/models/ezsignbulksend_get_ezsignsignatures_automatic_v1_response.py b/eZmaxApi/models/ezsignbulksend_get_ezsignsignatures_automatic_v1_response.py index d52eea552..9e0e06663 100644 --- a/eZmaxApi/models/ezsignbulksend_get_ezsignsignatures_automatic_v1_response.py +++ b/eZmaxApi/models/ezsignbulksend_get_ezsignsignatures_automatic_v1_response.py @@ -18,19 +18,20 @@ import re # noqa: F401 import json -from pydantic import ConfigDict, Field -from typing import Any, ClassVar, Dict, List -from eZmaxApi.models.common_response import CommonResponse +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List, Optional from eZmaxApi.models.common_response_obj_debug import CommonResponseObjDebug from eZmaxApi.models.common_response_obj_debug_payload import CommonResponseObjDebugPayload from eZmaxApi.models.ezsignbulksend_get_ezsignsignatures_automatic_v1_response_m_payload import EzsignbulksendGetEzsignsignaturesAutomaticV1ResponseMPayload from typing import Optional, Set from typing_extensions import Self -class EzsignbulksendGetEzsignsignaturesAutomaticV1Response(CommonResponse): +class EzsignbulksendGetEzsignsignaturesAutomaticV1Response(BaseModel): """ Response for GET /1/object/ezsignbulksend/{pkiEzsignbulksendID}/getEzsignsignaturesAutomatic """ # noqa: E501 + obj_debug_payload: CommonResponseObjDebugPayload = Field(alias="objDebugPayload") + obj_debug: Optional[CommonResponseObjDebug] = Field(default=None, alias="objDebug") m_payload: EzsignbulksendGetEzsignsignaturesAutomaticV1ResponseMPayload = Field(alias="mPayload") __properties: ClassVar[List[str]] = ["objDebugPayload", "objDebug", "mPayload"] diff --git a/eZmaxApi/models/ezsignbulksend_get_forms_data_v1_response.py b/eZmaxApi/models/ezsignbulksend_get_forms_data_v1_response.py index c94780015..4e73f65ea 100644 --- a/eZmaxApi/models/ezsignbulksend_get_forms_data_v1_response.py +++ b/eZmaxApi/models/ezsignbulksend_get_forms_data_v1_response.py @@ -18,19 +18,20 @@ import re # noqa: F401 import json -from pydantic import ConfigDict, Field -from typing import Any, ClassVar, Dict, List -from eZmaxApi.models.common_response import CommonResponse +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List, Optional from eZmaxApi.models.common_response_obj_debug import CommonResponseObjDebug from eZmaxApi.models.common_response_obj_debug_payload import CommonResponseObjDebugPayload from eZmaxApi.models.ezsignbulksend_get_forms_data_v1_response_m_payload import EzsignbulksendGetFormsDataV1ResponseMPayload from typing import Optional, Set from typing_extensions import Self -class EzsignbulksendGetFormsDataV1Response(CommonResponse): +class EzsignbulksendGetFormsDataV1Response(BaseModel): """ Response for GET /1/object/ezsignbulksend/{pkiEzsignbulksendID}/getFormsData """ # noqa: E501 + obj_debug_payload: CommonResponseObjDebugPayload = Field(alias="objDebugPayload") + obj_debug: Optional[CommonResponseObjDebug] = Field(default=None, alias="objDebug") m_payload: EzsignbulksendGetFormsDataV1ResponseMPayload = Field(alias="mPayload") __properties: ClassVar[List[str]] = ["objDebugPayload", "objDebug", "mPayload"] diff --git a/eZmaxApi/models/ezsignbulksend_get_list_v1_response.py b/eZmaxApi/models/ezsignbulksend_get_list_v1_response.py index 40829aa4d..94f19bf25 100644 --- a/eZmaxApi/models/ezsignbulksend_get_list_v1_response.py +++ b/eZmaxApi/models/ezsignbulksend_get_list_v1_response.py @@ -18,19 +18,20 @@ import re # noqa: F401 import json -from pydantic import ConfigDict, Field -from typing import Any, ClassVar, Dict, List -from eZmaxApi.models.common_response_get_list import CommonResponseGetList +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List, Optional from eZmaxApi.models.common_response_obj_debug import CommonResponseObjDebug from eZmaxApi.models.common_response_obj_debug_payload_get_list import CommonResponseObjDebugPayloadGetList from eZmaxApi.models.ezsignbulksend_get_list_v1_response_m_payload import EzsignbulksendGetListV1ResponseMPayload from typing import Optional, Set from typing_extensions import Self -class EzsignbulksendGetListV1Response(CommonResponseGetList): +class EzsignbulksendGetListV1Response(BaseModel): """ Response for GET /1/object/ezsignbulksend/getList """ # noqa: E501 + obj_debug_payload: CommonResponseObjDebugPayloadGetList = Field(alias="objDebugPayload") + obj_debug: Optional[CommonResponseObjDebug] = Field(default=None, alias="objDebug") m_payload: EzsignbulksendGetListV1ResponseMPayload = Field(alias="mPayload") __properties: ClassVar[List[str]] = ["objDebugPayload", "objDebug", "mPayload"] diff --git a/eZmaxApi/models/ezsignbulksend_get_list_v1_response_m_payload.py b/eZmaxApi/models/ezsignbulksend_get_list_v1_response_m_payload.py index 1aa9f4a70..3c8e173f7 100644 --- a/eZmaxApi/models/ezsignbulksend_get_list_v1_response_m_payload.py +++ b/eZmaxApi/models/ezsignbulksend_get_list_v1_response_m_payload.py @@ -18,17 +18,18 @@ import re # noqa: F401 import json -from pydantic import ConfigDict, Field +from pydantic import BaseModel, ConfigDict, Field, StrictInt from typing import Any, ClassVar, Dict, List -from eZmaxApi.models.common_get_list_v1_response_m_payload import CommonGetListV1ResponseMPayload from eZmaxApi.models.ezsignbulksend_list_element import EzsignbulksendListElement from typing import Optional, Set from typing_extensions import Self -class EzsignbulksendGetListV1ResponseMPayload(CommonGetListV1ResponseMPayload): +class EzsignbulksendGetListV1ResponseMPayload(BaseModel): """ Payload for GET /1/object/ezsignbulksend/getList """ # noqa: E501 + i_row_returned: StrictInt = Field(description="The number of rows returned", alias="iRowReturned") + i_row_filtered: StrictInt = Field(description="The number of rows matching your filters (if any) or the total number of rows", alias="iRowFiltered") a_obj_ezsignbulksend: List[EzsignbulksendListElement] = Field(alias="a_objEzsignbulksend") __properties: ClassVar[List[str]] = ["iRowReturned", "iRowFiltered", "a_objEzsignbulksend"] diff --git a/eZmaxApi/models/ezsignbulksend_get_object_v2_response.py b/eZmaxApi/models/ezsignbulksend_get_object_v2_response.py index a32bad5dc..3988924ba 100644 --- a/eZmaxApi/models/ezsignbulksend_get_object_v2_response.py +++ b/eZmaxApi/models/ezsignbulksend_get_object_v2_response.py @@ -18,19 +18,20 @@ import re # noqa: F401 import json -from pydantic import ConfigDict, Field -from typing import Any, ClassVar, Dict, List -from eZmaxApi.models.common_response import CommonResponse +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List, Optional from eZmaxApi.models.common_response_obj_debug import CommonResponseObjDebug from eZmaxApi.models.common_response_obj_debug_payload import CommonResponseObjDebugPayload from eZmaxApi.models.ezsignbulksend_get_object_v2_response_m_payload import EzsignbulksendGetObjectV2ResponseMPayload from typing import Optional, Set from typing_extensions import Self -class EzsignbulksendGetObjectV2Response(CommonResponse): +class EzsignbulksendGetObjectV2Response(BaseModel): """ Response for GET /2/object/ezsignbulksend/{pkiEzsignbulksendID} """ # noqa: E501 + obj_debug_payload: CommonResponseObjDebugPayload = Field(alias="objDebugPayload") + obj_debug: Optional[CommonResponseObjDebug] = Field(default=None, alias="objDebug") m_payload: EzsignbulksendGetObjectV2ResponseMPayload = Field(alias="mPayload") __properties: ClassVar[List[str]] = ["objDebugPayload", "objDebug", "mPayload"] diff --git a/eZmaxApi/models/ezsignbulksend_reorder_v1_response.py b/eZmaxApi/models/ezsignbulksend_reorder_v1_response.py index 5d8c98cec..ffe90ed9b 100644 --- a/eZmaxApi/models/ezsignbulksend_reorder_v1_response.py +++ b/eZmaxApi/models/ezsignbulksend_reorder_v1_response.py @@ -18,18 +18,19 @@ import re # noqa: F401 import json -from pydantic import ConfigDict -from typing import Any, ClassVar, Dict, List -from eZmaxApi.models.common_response import CommonResponse +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List, Optional from eZmaxApi.models.common_response_obj_debug import CommonResponseObjDebug from eZmaxApi.models.common_response_obj_debug_payload import CommonResponseObjDebugPayload from typing import Optional, Set from typing_extensions import Self -class EzsignbulksendReorderV1Response(CommonResponse): +class EzsignbulksendReorderV1Response(BaseModel): """ Response for POST /1/object/ezsignbulksend/{pkiEzsignbulksendID}/reorder """ # noqa: E501 + obj_debug_payload: CommonResponseObjDebugPayload = Field(alias="objDebugPayload") + obj_debug: Optional[CommonResponseObjDebug] = Field(default=None, alias="objDebug") __properties: ClassVar[List[str]] = ["objDebugPayload", "objDebug"] model_config = ConfigDict( diff --git a/eZmaxApi/models/ezsignbulksend_request.py b/eZmaxApi/models/ezsignbulksend_request.py index f07944b50..ffa49a934 100644 --- a/eZmaxApi/models/ezsignbulksend_request.py +++ b/eZmaxApi/models/ezsignbulksend_request.py @@ -79,7 +79,23 @@ def to_dict(self) -> Dict[str, Any]: return _dict @classmethod - def from_dict(cls, obj: Dict[str, Any]) -> Optional[Self]: + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: """Create an instance of EzsignbulksendRequest from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "pkiEzsignbulksendID": obj.get("pkiEzsignbulksendID"), + "fkiEzsignfoldertypeID": obj.get("fkiEzsignfoldertypeID"), + "fkiLanguageID": obj.get("fkiLanguageID"), + "sEzsignbulksendDescription": obj.get("sEzsignbulksendDescription"), + "tEzsignbulksendNote": obj.get("tEzsignbulksendNote"), + "bEzsignbulksendNeedvalidation": obj.get("bEzsignbulksendNeedvalidation"), + "bEzsignbulksendIsactive": obj.get("bEzsignbulksendIsactive") + }) + return _obj diff --git a/eZmaxApi/models/ezsignbulksend_request_compound.py b/eZmaxApi/models/ezsignbulksend_request_compound.py index 0851aa396..84bd92a4e 100644 --- a/eZmaxApi/models/ezsignbulksend_request_compound.py +++ b/eZmaxApi/models/ezsignbulksend_request_compound.py @@ -18,16 +18,23 @@ import re # noqa: F401 import json -from pydantic import ConfigDict -from typing import Any, ClassVar, Dict, List -from eZmaxApi.models.ezsignbulksend_request import EzsignbulksendRequest +from pydantic import BaseModel, ConfigDict, Field, StrictBool, StrictStr +from typing import Any, ClassVar, Dict, List, Optional +from typing_extensions import Annotated from typing import Optional, Set from typing_extensions import Self -class EzsignbulksendRequestCompound(EzsignbulksendRequest): +class EzsignbulksendRequestCompound(BaseModel): """ A Ezsignbulksend Object and children """ # noqa: E501 + pki_ezsignbulksend_id: Optional[Annotated[int, Field(strict=True, ge=0)]] = Field(default=None, description="The unique ID of the Ezsignbulksend", alias="pkiEzsignbulksendID") + fki_ezsignfoldertype_id: Annotated[int, Field(le=65535, strict=True, ge=0)] = Field(description="The unique ID of the Ezsignfoldertype.", alias="fkiEzsignfoldertypeID") + fki_language_id: Annotated[int, Field(le=2, strict=True, ge=1)] = Field(description="The unique ID of the Language. Valid values: |Value|Description| |-|-| |1|French| |2|English|", alias="fkiLanguageID") + s_ezsignbulksend_description: StrictStr = Field(description="The description of the Ezsignbulksend", alias="sEzsignbulksendDescription") + t_ezsignbulksend_note: StrictStr = Field(description="Note about the Ezsignbulksend", alias="tEzsignbulksendNote") + b_ezsignbulksend_needvalidation: StrictBool = Field(description="Whether the Ezsigntemplatepackage was automatically modified and needs a manual validation", alias="bEzsignbulksendNeedvalidation") + b_ezsignbulksend_isactive: StrictBool = Field(description="Whether the Ezsignbulksend is active or not", alias="bEzsignbulksendIsactive") __properties: ClassVar[List[str]] = ["pkiEzsignbulksendID", "fkiEzsignfoldertypeID", "fkiLanguageID", "sEzsignbulksendDescription", "tEzsignbulksendNote", "bEzsignbulksendNeedvalidation", "bEzsignbulksendIsactive"] model_config = ConfigDict( diff --git a/eZmaxApi/models/ezsignbulksend_response.py b/eZmaxApi/models/ezsignbulksend_response.py index 605dc299b..0cb95d37e 100644 --- a/eZmaxApi/models/ezsignbulksend_response.py +++ b/eZmaxApi/models/ezsignbulksend_response.py @@ -88,7 +88,27 @@ def to_dict(self) -> Dict[str, Any]: return _dict @classmethod - def from_dict(cls, obj: Dict[str, Any]) -> Optional[Self]: + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: """Create an instance of EzsignbulksendResponse from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "pkiEzsignbulksendID": obj.get("pkiEzsignbulksendID"), + "fkiEzsignfoldertypeID": obj.get("fkiEzsignfoldertypeID"), + "fkiLanguageID": obj.get("fkiLanguageID"), + "sLanguageNameX": obj.get("sLanguageNameX"), + "eEzsignfoldertypePrivacylevel": obj.get("eEzsignfoldertypePrivacylevel"), + "sEzsignfoldertypeNameX": obj.get("sEzsignfoldertypeNameX"), + "sEzsignbulksendDescription": obj.get("sEzsignbulksendDescription"), + "tEzsignbulksendNote": obj.get("tEzsignbulksendNote"), + "bEzsignbulksendNeedvalidation": obj.get("bEzsignbulksendNeedvalidation"), + "bEzsignbulksendIsactive": obj.get("bEzsignbulksendIsactive"), + "objAudit": CommonAudit.from_dict(obj["objAudit"]) if obj.get("objAudit") is not None else None + }) + return _obj diff --git a/eZmaxApi/models/ezsignbulksend_response_compound.py b/eZmaxApi/models/ezsignbulksend_response_compound.py index f12a8ce90..9f18ead5a 100644 --- a/eZmaxApi/models/ezsignbulksend_response_compound.py +++ b/eZmaxApi/models/ezsignbulksend_response_compound.py @@ -18,20 +18,31 @@ import re # noqa: F401 import json -from pydantic import ConfigDict, Field +from pydantic import BaseModel, ConfigDict, Field, StrictBool, StrictStr from typing import Any, ClassVar, Dict, List +from typing_extensions import Annotated from eZmaxApi.models.common_audit import CommonAudit -from eZmaxApi.models.ezsignbulksend_response import EzsignbulksendResponse from eZmaxApi.models.ezsignbulksenddocumentmapping_response_compound import EzsignbulksenddocumentmappingResponseCompound from eZmaxApi.models.ezsignbulksendsignermapping_response import EzsignbulksendsignermappingResponse from eZmaxApi.models.field_e_ezsignfoldertype_privacylevel import FieldEEzsignfoldertypePrivacylevel from typing import Optional, Set from typing_extensions import Self -class EzsignbulksendResponseCompound(EzsignbulksendResponse): +class EzsignbulksendResponseCompound(BaseModel): """ An Ezsignbulksend Object and children to create a complete structure """ # noqa: E501 + pki_ezsignbulksend_id: Annotated[int, Field(strict=True, ge=0)] = Field(description="The unique ID of the Ezsignbulksend", alias="pkiEzsignbulksendID") + fki_ezsignfoldertype_id: Annotated[int, Field(le=65535, strict=True, ge=0)] = Field(description="The unique ID of the Ezsignfoldertype.", alias="fkiEzsignfoldertypeID") + fki_language_id: Annotated[int, Field(le=2, strict=True, ge=1)] = Field(description="The unique ID of the Language. Valid values: |Value|Description| |-|-| |1|French| |2|English|", alias="fkiLanguageID") + s_language_name_x: StrictStr = Field(description="The Name of the Language in the language of the requester", alias="sLanguageNameX") + e_ezsignfoldertype_privacylevel: FieldEEzsignfoldertypePrivacylevel = Field(alias="eEzsignfoldertypePrivacylevel") + s_ezsignfoldertype_name_x: StrictStr = Field(description="The name of the Ezsignfoldertype in the language of the requester", alias="sEzsignfoldertypeNameX") + s_ezsignbulksend_description: StrictStr = Field(description="The description of the Ezsignbulksend", alias="sEzsignbulksendDescription") + t_ezsignbulksend_note: StrictStr = Field(description="Note about the Ezsignbulksend", alias="tEzsignbulksendNote") + b_ezsignbulksend_needvalidation: StrictBool = Field(description="Whether the Ezsigntemplatepackage was automatically modified and needs a manual validation", alias="bEzsignbulksendNeedvalidation") + b_ezsignbulksend_isactive: StrictBool = Field(description="Whether the Ezsignbulksend is active or not", alias="bEzsignbulksendIsactive") + obj_audit: CommonAudit = Field(alias="objAudit") a_obj_ezsignbulksenddocumentmapping: List[EzsignbulksenddocumentmappingResponseCompound] = Field(alias="a_objEzsignbulksenddocumentmapping") a_obj_ezsignbulksendsignermapping: List[EzsignbulksendsignermappingResponse] = Field(alias="a_objEzsignbulksendsignermapping") __properties: ClassVar[List[str]] = ["pkiEzsignbulksendID", "fkiEzsignfoldertypeID", "fkiLanguageID", "sLanguageNameX", "eEzsignfoldertypePrivacylevel", "sEzsignfoldertypeNameX", "sEzsignbulksendDescription", "tEzsignbulksendNote", "bEzsignbulksendNeedvalidation", "bEzsignbulksendIsactive", "objAudit", "a_objEzsignbulksenddocumentmapping", "a_objEzsignbulksendsignermapping"] diff --git a/eZmaxApi/models/ezsignbulksenddocumentmapping_create_object_v1_response.py b/eZmaxApi/models/ezsignbulksenddocumentmapping_create_object_v1_response.py index 4ae887aa8..e13965309 100644 --- a/eZmaxApi/models/ezsignbulksenddocumentmapping_create_object_v1_response.py +++ b/eZmaxApi/models/ezsignbulksenddocumentmapping_create_object_v1_response.py @@ -18,19 +18,20 @@ import re # noqa: F401 import json -from pydantic import ConfigDict, Field -from typing import Any, ClassVar, Dict, List -from eZmaxApi.models.common_response import CommonResponse +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List, Optional from eZmaxApi.models.common_response_obj_debug import CommonResponseObjDebug from eZmaxApi.models.common_response_obj_debug_payload import CommonResponseObjDebugPayload from eZmaxApi.models.ezsignbulksenddocumentmapping_create_object_v1_response_m_payload import EzsignbulksenddocumentmappingCreateObjectV1ResponseMPayload from typing import Optional, Set from typing_extensions import Self -class EzsignbulksenddocumentmappingCreateObjectV1Response(CommonResponse): +class EzsignbulksenddocumentmappingCreateObjectV1Response(BaseModel): """ Response for POST /1/object/ezsignbulksenddocumentmapping """ # noqa: E501 + obj_debug_payload: CommonResponseObjDebugPayload = Field(alias="objDebugPayload") + obj_debug: Optional[CommonResponseObjDebug] = Field(default=None, alias="objDebug") m_payload: EzsignbulksenddocumentmappingCreateObjectV1ResponseMPayload = Field(alias="mPayload") __properties: ClassVar[List[str]] = ["objDebugPayload", "objDebug", "mPayload"] diff --git a/eZmaxApi/models/ezsignbulksenddocumentmapping_delete_object_v1_response.py b/eZmaxApi/models/ezsignbulksenddocumentmapping_delete_object_v1_response.py index 2715bdc92..2ae3d297c 100644 --- a/eZmaxApi/models/ezsignbulksenddocumentmapping_delete_object_v1_response.py +++ b/eZmaxApi/models/ezsignbulksenddocumentmapping_delete_object_v1_response.py @@ -18,18 +18,19 @@ import re # noqa: F401 import json -from pydantic import ConfigDict -from typing import Any, ClassVar, Dict, List -from eZmaxApi.models.common_response import CommonResponse +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List, Optional from eZmaxApi.models.common_response_obj_debug import CommonResponseObjDebug from eZmaxApi.models.common_response_obj_debug_payload import CommonResponseObjDebugPayload from typing import Optional, Set from typing_extensions import Self -class EzsignbulksenddocumentmappingDeleteObjectV1Response(CommonResponse): +class EzsignbulksenddocumentmappingDeleteObjectV1Response(BaseModel): """ Response for DELETE /1/object/ezsignbulksenddocumentmapping/{pkiEzsignbulksenddocumentmappingID} """ # noqa: E501 + obj_debug_payload: CommonResponseObjDebugPayload = Field(alias="objDebugPayload") + obj_debug: Optional[CommonResponseObjDebug] = Field(default=None, alias="objDebug") __properties: ClassVar[List[str]] = ["objDebugPayload", "objDebug"] model_config = ConfigDict( diff --git a/eZmaxApi/models/ezsignbulksenddocumentmapping_get_object_v2_response.py b/eZmaxApi/models/ezsignbulksenddocumentmapping_get_object_v2_response.py index 578f87034..50d5cf7a9 100644 --- a/eZmaxApi/models/ezsignbulksenddocumentmapping_get_object_v2_response.py +++ b/eZmaxApi/models/ezsignbulksenddocumentmapping_get_object_v2_response.py @@ -18,19 +18,20 @@ import re # noqa: F401 import json -from pydantic import ConfigDict, Field -from typing import Any, ClassVar, Dict, List -from eZmaxApi.models.common_response import CommonResponse +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List, Optional from eZmaxApi.models.common_response_obj_debug import CommonResponseObjDebug from eZmaxApi.models.common_response_obj_debug_payload import CommonResponseObjDebugPayload from eZmaxApi.models.ezsignbulksenddocumentmapping_get_object_v2_response_m_payload import EzsignbulksenddocumentmappingGetObjectV2ResponseMPayload from typing import Optional, Set from typing_extensions import Self -class EzsignbulksenddocumentmappingGetObjectV2Response(CommonResponse): +class EzsignbulksenddocumentmappingGetObjectV2Response(BaseModel): """ Response for GET /2/object/ezsignbulksenddocumentmapping/{pkiEzsignbulksenddocumentmappingID} """ # noqa: E501 + obj_debug_payload: CommonResponseObjDebugPayload = Field(alias="objDebugPayload") + obj_debug: Optional[CommonResponseObjDebug] = Field(default=None, alias="objDebug") m_payload: EzsignbulksenddocumentmappingGetObjectV2ResponseMPayload = Field(alias="mPayload") __properties: ClassVar[List[str]] = ["objDebugPayload", "objDebug", "mPayload"] diff --git a/eZmaxApi/models/ezsignbulksenddocumentmapping_request.py b/eZmaxApi/models/ezsignbulksenddocumentmapping_request.py index 20cc8d335..c82b912c7 100644 --- a/eZmaxApi/models/ezsignbulksenddocumentmapping_request.py +++ b/eZmaxApi/models/ezsignbulksenddocumentmapping_request.py @@ -76,7 +76,20 @@ def to_dict(self) -> Dict[str, Any]: return _dict @classmethod - def from_dict(cls, obj: Dict[str, Any]) -> Optional[Self]: + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: """Create an instance of EzsignbulksenddocumentmappingRequest from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "pkiEzsignbulksenddocumentmappingID": obj.get("pkiEzsignbulksenddocumentmappingID"), + "fkiEzsignbulksendID": obj.get("fkiEzsignbulksendID"), + "fkiEzsigntemplatepackageID": obj.get("fkiEzsigntemplatepackageID"), + "fkiEzsigntemplateID": obj.get("fkiEzsigntemplateID") + }) + return _obj diff --git a/eZmaxApi/models/ezsignbulksenddocumentmapping_request_compound.py b/eZmaxApi/models/ezsignbulksenddocumentmapping_request_compound.py index b46efe866..25e191cdb 100644 --- a/eZmaxApi/models/ezsignbulksenddocumentmapping_request_compound.py +++ b/eZmaxApi/models/ezsignbulksenddocumentmapping_request_compound.py @@ -18,16 +18,20 @@ import re # noqa: F401 import json -from pydantic import ConfigDict -from typing import Any, ClassVar, Dict, List -from eZmaxApi.models.ezsignbulksenddocumentmapping_request import EzsignbulksenddocumentmappingRequest +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List, Optional +from typing_extensions import Annotated from typing import Optional, Set from typing_extensions import Self -class EzsignbulksenddocumentmappingRequestCompound(EzsignbulksenddocumentmappingRequest): +class EzsignbulksenddocumentmappingRequestCompound(BaseModel): """ A Ezsignbulksenddocumentmapping Object and children """ # noqa: E501 + pki_ezsignbulksenddocumentmapping_id: Optional[Annotated[int, Field(strict=True, ge=0)]] = Field(default=None, description="The unique ID of the Ezsignbulksenddocumentmapping.", alias="pkiEzsignbulksenddocumentmappingID") + fki_ezsignbulksend_id: Annotated[int, Field(strict=True, ge=0)] = Field(description="The unique ID of the Ezsignbulksend", alias="fkiEzsignbulksendID") + fki_ezsigntemplatepackage_id: Optional[Annotated[int, Field(strict=True, ge=0)]] = Field(default=None, description="The unique ID of the Ezsigntemplatepackage", alias="fkiEzsigntemplatepackageID") + fki_ezsigntemplate_id: Optional[Annotated[int, Field(strict=True, ge=0)]] = Field(default=None, description="The unique ID of the Ezsigntemplate", alias="fkiEzsigntemplateID") __properties: ClassVar[List[str]] = ["pkiEzsignbulksenddocumentmappingID", "fkiEzsignbulksendID", "fkiEzsigntemplatepackageID", "fkiEzsigntemplateID"] model_config = ConfigDict( diff --git a/eZmaxApi/models/ezsignbulksenddocumentmapping_response.py b/eZmaxApi/models/ezsignbulksenddocumentmapping_response.py index 81bbabb94..e2f28b280 100644 --- a/eZmaxApi/models/ezsignbulksenddocumentmapping_response.py +++ b/eZmaxApi/models/ezsignbulksenddocumentmapping_response.py @@ -77,7 +77,21 @@ def to_dict(self) -> Dict[str, Any]: return _dict @classmethod - def from_dict(cls, obj: Dict[str, Any]) -> Optional[Self]: + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: """Create an instance of EzsignbulksenddocumentmappingResponse from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "pkiEzsignbulksenddocumentmappingID": obj.get("pkiEzsignbulksenddocumentmappingID"), + "fkiEzsignbulksendID": obj.get("fkiEzsignbulksendID"), + "fkiEzsigntemplatepackageID": obj.get("fkiEzsigntemplatepackageID"), + "fkiEzsigntemplateID": obj.get("fkiEzsigntemplateID"), + "iEzsignbulksenddocumentmappingOrder": obj.get("iEzsignbulksenddocumentmappingOrder") + }) + return _obj diff --git a/eZmaxApi/models/ezsignbulksenddocumentmapping_response_compound.py b/eZmaxApi/models/ezsignbulksenddocumentmapping_response_compound.py index aadb6ffc5..fb6c19301 100644 --- a/eZmaxApi/models/ezsignbulksenddocumentmapping_response_compound.py +++ b/eZmaxApi/models/ezsignbulksenddocumentmapping_response_compound.py @@ -18,18 +18,23 @@ import re # noqa: F401 import json -from pydantic import ConfigDict, Field +from pydantic import BaseModel, ConfigDict, Field from typing import Any, ClassVar, Dict, List, Optional -from eZmaxApi.models.ezsignbulksenddocumentmapping_response import EzsignbulksenddocumentmappingResponse +from typing_extensions import Annotated from eZmaxApi.models.ezsigntemplate_response_compound import EzsigntemplateResponseCompound from eZmaxApi.models.ezsigntemplatepackage_response_compound import EzsigntemplatepackageResponseCompound from typing import Optional, Set from typing_extensions import Self -class EzsignbulksenddocumentmappingResponseCompound(EzsignbulksenddocumentmappingResponse): +class EzsignbulksenddocumentmappingResponseCompound(BaseModel): """ A Ezsignbulksenddocumentmapping Object """ # noqa: E501 + pki_ezsignbulksenddocumentmapping_id: Annotated[int, Field(strict=True, ge=0)] = Field(description="The unique ID of the Ezsignbulksenddocumentmapping.", alias="pkiEzsignbulksenddocumentmappingID") + fki_ezsignbulksend_id: Annotated[int, Field(strict=True, ge=0)] = Field(description="The unique ID of the Ezsignbulksend", alias="fkiEzsignbulksendID") + fki_ezsigntemplatepackage_id: Optional[Annotated[int, Field(strict=True, ge=0)]] = Field(default=None, description="The unique ID of the Ezsigntemplatepackage", alias="fkiEzsigntemplatepackageID") + fki_ezsigntemplate_id: Optional[Annotated[int, Field(strict=True, ge=0)]] = Field(default=None, description="The unique ID of the Ezsigntemplate", alias="fkiEzsigntemplateID") + i_ezsignbulksenddocumentmapping_order: Annotated[int, Field(strict=True, ge=0)] = Field(description="The order in which the Ezsigntemplate or Ezsigntemplatepackage will be presented to the signatory in the Ezsignfolder.", alias="iEzsignbulksenddocumentmappingOrder") obj_ezsigntemplate: Optional[EzsigntemplateResponseCompound] = Field(default=None, alias="objEzsigntemplate") obj_ezsigntemplatepackage: Optional[EzsigntemplatepackageResponseCompound] = Field(default=None, alias="objEzsigntemplatepackage") __properties: ClassVar[List[str]] = ["pkiEzsignbulksenddocumentmappingID", "fkiEzsignbulksendID", "fkiEzsigntemplatepackageID", "fkiEzsigntemplateID", "iEzsignbulksenddocumentmappingOrder", "objEzsigntemplate", "objEzsigntemplatepackage"] diff --git a/eZmaxApi/models/ezsignbulksendsignermapping_create_object_v1_response.py b/eZmaxApi/models/ezsignbulksendsignermapping_create_object_v1_response.py index e08296856..c695356db 100644 --- a/eZmaxApi/models/ezsignbulksendsignermapping_create_object_v1_response.py +++ b/eZmaxApi/models/ezsignbulksendsignermapping_create_object_v1_response.py @@ -18,19 +18,20 @@ import re # noqa: F401 import json -from pydantic import ConfigDict, Field -from typing import Any, ClassVar, Dict, List -from eZmaxApi.models.common_response import CommonResponse +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List, Optional from eZmaxApi.models.common_response_obj_debug import CommonResponseObjDebug from eZmaxApi.models.common_response_obj_debug_payload import CommonResponseObjDebugPayload from eZmaxApi.models.ezsignbulksendsignermapping_create_object_v1_response_m_payload import EzsignbulksendsignermappingCreateObjectV1ResponseMPayload from typing import Optional, Set from typing_extensions import Self -class EzsignbulksendsignermappingCreateObjectV1Response(CommonResponse): +class EzsignbulksendsignermappingCreateObjectV1Response(BaseModel): """ Response for POST /1/object/ezsignbulksendsignermapping """ # noqa: E501 + obj_debug_payload: CommonResponseObjDebugPayload = Field(alias="objDebugPayload") + obj_debug: Optional[CommonResponseObjDebug] = Field(default=None, alias="objDebug") m_payload: EzsignbulksendsignermappingCreateObjectV1ResponseMPayload = Field(alias="mPayload") __properties: ClassVar[List[str]] = ["objDebugPayload", "objDebug", "mPayload"] diff --git a/eZmaxApi/models/ezsignbulksendsignermapping_delete_object_v1_response.py b/eZmaxApi/models/ezsignbulksendsignermapping_delete_object_v1_response.py index 994ef3565..a90f38f9f 100644 --- a/eZmaxApi/models/ezsignbulksendsignermapping_delete_object_v1_response.py +++ b/eZmaxApi/models/ezsignbulksendsignermapping_delete_object_v1_response.py @@ -18,18 +18,19 @@ import re # noqa: F401 import json -from pydantic import ConfigDict -from typing import Any, ClassVar, Dict, List -from eZmaxApi.models.common_response import CommonResponse +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List, Optional from eZmaxApi.models.common_response_obj_debug import CommonResponseObjDebug from eZmaxApi.models.common_response_obj_debug_payload import CommonResponseObjDebugPayload from typing import Optional, Set from typing_extensions import Self -class EzsignbulksendsignermappingDeleteObjectV1Response(CommonResponse): +class EzsignbulksendsignermappingDeleteObjectV1Response(BaseModel): """ Response for DELETE /1/object/ezsignbulksendsignermapping/{pkiEzsignbulksendsignermappingID} """ # noqa: E501 + obj_debug_payload: CommonResponseObjDebugPayload = Field(alias="objDebugPayload") + obj_debug: Optional[CommonResponseObjDebug] = Field(default=None, alias="objDebug") __properties: ClassVar[List[str]] = ["objDebugPayload", "objDebug"] model_config = ConfigDict( diff --git a/eZmaxApi/models/ezsignbulksendsignermapping_get_object_v2_response.py b/eZmaxApi/models/ezsignbulksendsignermapping_get_object_v2_response.py index 27fb0bead..290c367c1 100644 --- a/eZmaxApi/models/ezsignbulksendsignermapping_get_object_v2_response.py +++ b/eZmaxApi/models/ezsignbulksendsignermapping_get_object_v2_response.py @@ -18,19 +18,20 @@ import re # noqa: F401 import json -from pydantic import ConfigDict, Field -from typing import Any, ClassVar, Dict, List -from eZmaxApi.models.common_response import CommonResponse +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List, Optional from eZmaxApi.models.common_response_obj_debug import CommonResponseObjDebug from eZmaxApi.models.common_response_obj_debug_payload import CommonResponseObjDebugPayload from eZmaxApi.models.ezsignbulksendsignermapping_get_object_v2_response_m_payload import EzsignbulksendsignermappingGetObjectV2ResponseMPayload from typing import Optional, Set from typing_extensions import Self -class EzsignbulksendsignermappingGetObjectV2Response(CommonResponse): +class EzsignbulksendsignermappingGetObjectV2Response(BaseModel): """ Response for GET /2/object/ezsignbulksendsignermapping/{pkiEzsignbulksendsignermappingID} """ # noqa: E501 + obj_debug_payload: CommonResponseObjDebugPayload = Field(alias="objDebugPayload") + obj_debug: Optional[CommonResponseObjDebug] = Field(default=None, alias="objDebug") m_payload: EzsignbulksendsignermappingGetObjectV2ResponseMPayload = Field(alias="mPayload") __properties: ClassVar[List[str]] = ["objDebugPayload", "objDebug", "mPayload"] diff --git a/eZmaxApi/models/ezsignbulksendsignermapping_request.py b/eZmaxApi/models/ezsignbulksendsignermapping_request.py index 50a854d7d..ab369848a 100644 --- a/eZmaxApi/models/ezsignbulksendsignermapping_request.py +++ b/eZmaxApi/models/ezsignbulksendsignermapping_request.py @@ -76,7 +76,20 @@ def to_dict(self) -> Dict[str, Any]: return _dict @classmethod - def from_dict(cls, obj: Dict[str, Any]) -> Optional[Self]: + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: """Create an instance of EzsignbulksendsignermappingRequest from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "pkiEzsignbulksendsignermappingID": obj.get("pkiEzsignbulksendsignermappingID"), + "fkiEzsignbulksendID": obj.get("fkiEzsignbulksendID"), + "fkiUserID": obj.get("fkiUserID"), + "sEzsignbulksendsignermappingDescription": obj.get("sEzsignbulksendsignermappingDescription") + }) + return _obj diff --git a/eZmaxApi/models/ezsignbulksendsignermapping_request_compound.py b/eZmaxApi/models/ezsignbulksendsignermapping_request_compound.py index 9e0a778c5..8fc6859cf 100644 --- a/eZmaxApi/models/ezsignbulksendsignermapping_request_compound.py +++ b/eZmaxApi/models/ezsignbulksendsignermapping_request_compound.py @@ -18,16 +18,20 @@ import re # noqa: F401 import json -from pydantic import ConfigDict -from typing import Any, ClassVar, Dict, List -from eZmaxApi.models.ezsignbulksendsignermapping_request import EzsignbulksendsignermappingRequest +from pydantic import BaseModel, ConfigDict, Field, StrictStr +from typing import Any, ClassVar, Dict, List, Optional +from typing_extensions import Annotated from typing import Optional, Set from typing_extensions import Self -class EzsignbulksendsignermappingRequestCompound(EzsignbulksendsignermappingRequest): +class EzsignbulksendsignermappingRequestCompound(BaseModel): """ A Ezsignbulksendsignermapping Object and children """ # noqa: E501 + pki_ezsignbulksendsignermapping_id: Optional[Annotated[int, Field(strict=True, ge=0)]] = Field(default=None, description="The unique ID of the Ezsignbulksendsignermapping", alias="pkiEzsignbulksendsignermappingID") + fki_ezsignbulksend_id: Annotated[int, Field(strict=True, ge=0)] = Field(description="The unique ID of the Ezsignbulksend", alias="fkiEzsignbulksendID") + fki_user_id: Optional[Annotated[int, Field(strict=True, ge=0)]] = Field(default=None, description="The unique ID of the User", alias="fkiUserID") + s_ezsignbulksendsignermapping_description: StrictStr = Field(description="The description of the Ezsignbulksendsignermapping", alias="sEzsignbulksendsignermappingDescription") __properties: ClassVar[List[str]] = ["pkiEzsignbulksendsignermappingID", "fkiEzsignbulksendID", "fkiUserID", "sEzsignbulksendsignermappingDescription"] model_config = ConfigDict( diff --git a/eZmaxApi/models/ezsignbulksendsignermapping_response.py b/eZmaxApi/models/ezsignbulksendsignermapping_response.py index 5d4263cbe..c5c258e5d 100644 --- a/eZmaxApi/models/ezsignbulksendsignermapping_response.py +++ b/eZmaxApi/models/ezsignbulksendsignermapping_response.py @@ -76,7 +76,20 @@ def to_dict(self) -> Dict[str, Any]: return _dict @classmethod - def from_dict(cls, obj: Dict[str, Any]) -> Optional[Self]: + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: """Create an instance of EzsignbulksendsignermappingResponse from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "pkiEzsignbulksendsignermappingID": obj.get("pkiEzsignbulksendsignermappingID"), + "fkiEzsignbulksendID": obj.get("fkiEzsignbulksendID"), + "fkiUserID": obj.get("fkiUserID"), + "sEzsignbulksendsignermappingDescription": obj.get("sEzsignbulksendsignermappingDescription") + }) + return _obj diff --git a/eZmaxApi/models/ezsignbulksendsignermapping_response_compound.py b/eZmaxApi/models/ezsignbulksendsignermapping_response_compound.py index 6fa9b8998..e26ffd594 100644 --- a/eZmaxApi/models/ezsignbulksendsignermapping_response_compound.py +++ b/eZmaxApi/models/ezsignbulksendsignermapping_response_compound.py @@ -18,16 +18,20 @@ import re # noqa: F401 import json -from pydantic import ConfigDict -from typing import Any, ClassVar, Dict, List -from eZmaxApi.models.ezsignbulksendsignermapping_response import EzsignbulksendsignermappingResponse +from pydantic import BaseModel, ConfigDict, Field, StrictStr +from typing import Any, ClassVar, Dict, List, Optional +from typing_extensions import Annotated from typing import Optional, Set from typing_extensions import Self -class EzsignbulksendsignermappingResponseCompound(EzsignbulksendsignermappingResponse): +class EzsignbulksendsignermappingResponseCompound(BaseModel): """ A Ezsignbulksendsignermapping Object """ # noqa: E501 + pki_ezsignbulksendsignermapping_id: Annotated[int, Field(strict=True, ge=0)] = Field(description="The unique ID of the Ezsignbulksendsignermapping", alias="pkiEzsignbulksendsignermappingID") + fki_ezsignbulksend_id: Annotated[int, Field(strict=True, ge=0)] = Field(description="The unique ID of the Ezsignbulksend", alias="fkiEzsignbulksendID") + fki_user_id: Optional[Annotated[int, Field(strict=True, ge=0)]] = Field(default=None, description="The unique ID of the User", alias="fkiUserID") + s_ezsignbulksendsignermapping_description: StrictStr = Field(description="The description of the Ezsignbulksendsignermapping", alias="sEzsignbulksendsignermappingDescription") __properties: ClassVar[List[str]] = ["pkiEzsignbulksendsignermappingID", "fkiEzsignbulksendID", "fkiUserID", "sEzsignbulksendsignermappingDescription"] model_config = ConfigDict( diff --git a/eZmaxApi/models/ezsignbulksendtransmission_get_ezsignsignatures_automatic_v1_response.py b/eZmaxApi/models/ezsignbulksendtransmission_get_ezsignsignatures_automatic_v1_response.py index 9a37942fd..8f245eb14 100644 --- a/eZmaxApi/models/ezsignbulksendtransmission_get_ezsignsignatures_automatic_v1_response.py +++ b/eZmaxApi/models/ezsignbulksendtransmission_get_ezsignsignatures_automatic_v1_response.py @@ -18,19 +18,20 @@ import re # noqa: F401 import json -from pydantic import ConfigDict, Field -from typing import Any, ClassVar, Dict, List -from eZmaxApi.models.common_response import CommonResponse +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List, Optional from eZmaxApi.models.common_response_obj_debug import CommonResponseObjDebug from eZmaxApi.models.common_response_obj_debug_payload import CommonResponseObjDebugPayload from eZmaxApi.models.ezsignbulksendtransmission_get_ezsignsignatures_automatic_v1_response_m_payload import EzsignbulksendtransmissionGetEzsignsignaturesAutomaticV1ResponseMPayload from typing import Optional, Set from typing_extensions import Self -class EzsignbulksendtransmissionGetEzsignsignaturesAutomaticV1Response(CommonResponse): +class EzsignbulksendtransmissionGetEzsignsignaturesAutomaticV1Response(BaseModel): """ Response for GET /1/object/ezsignbulksendtransmission/{pkiEzsignbulksendtransmissionID}/getEzsignsignaturesAutomatic """ # noqa: E501 + obj_debug_payload: CommonResponseObjDebugPayload = Field(alias="objDebugPayload") + obj_debug: Optional[CommonResponseObjDebug] = Field(default=None, alias="objDebug") m_payload: EzsignbulksendtransmissionGetEzsignsignaturesAutomaticV1ResponseMPayload = Field(alias="mPayload") __properties: ClassVar[List[str]] = ["objDebugPayload", "objDebug", "mPayload"] diff --git a/eZmaxApi/models/ezsignbulksendtransmission_get_forms_data_v1_response.py b/eZmaxApi/models/ezsignbulksendtransmission_get_forms_data_v1_response.py index 36b165c1c..46ed7b6db 100644 --- a/eZmaxApi/models/ezsignbulksendtransmission_get_forms_data_v1_response.py +++ b/eZmaxApi/models/ezsignbulksendtransmission_get_forms_data_v1_response.py @@ -18,19 +18,20 @@ import re # noqa: F401 import json -from pydantic import ConfigDict, Field -from typing import Any, ClassVar, Dict, List -from eZmaxApi.models.common_response import CommonResponse +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List, Optional from eZmaxApi.models.common_response_obj_debug import CommonResponseObjDebug from eZmaxApi.models.common_response_obj_debug_payload import CommonResponseObjDebugPayload from eZmaxApi.models.ezsignbulksendtransmission_get_forms_data_v1_response_m_payload import EzsignbulksendtransmissionGetFormsDataV1ResponseMPayload from typing import Optional, Set from typing_extensions import Self -class EzsignbulksendtransmissionGetFormsDataV1Response(CommonResponse): +class EzsignbulksendtransmissionGetFormsDataV1Response(BaseModel): """ Response for GET /1/object/ezsignbulksendtransmission/{pkiEzsignbulksendtransmissionID}/getFormsData """ # noqa: E501 + obj_debug_payload: CommonResponseObjDebugPayload = Field(alias="objDebugPayload") + obj_debug: Optional[CommonResponseObjDebug] = Field(default=None, alias="objDebug") m_payload: EzsignbulksendtransmissionGetFormsDataV1ResponseMPayload = Field(alias="mPayload") __properties: ClassVar[List[str]] = ["objDebugPayload", "objDebug", "mPayload"] diff --git a/eZmaxApi/models/ezsignbulksendtransmission_get_object_v2_response.py b/eZmaxApi/models/ezsignbulksendtransmission_get_object_v2_response.py index 716481732..90f4a8705 100644 --- a/eZmaxApi/models/ezsignbulksendtransmission_get_object_v2_response.py +++ b/eZmaxApi/models/ezsignbulksendtransmission_get_object_v2_response.py @@ -18,19 +18,20 @@ import re # noqa: F401 import json -from pydantic import ConfigDict, Field -from typing import Any, ClassVar, Dict, List -from eZmaxApi.models.common_response import CommonResponse +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List, Optional from eZmaxApi.models.common_response_obj_debug import CommonResponseObjDebug from eZmaxApi.models.common_response_obj_debug_payload import CommonResponseObjDebugPayload from eZmaxApi.models.ezsignbulksendtransmission_get_object_v2_response_m_payload import EzsignbulksendtransmissionGetObjectV2ResponseMPayload from typing import Optional, Set from typing_extensions import Self -class EzsignbulksendtransmissionGetObjectV2Response(CommonResponse): +class EzsignbulksendtransmissionGetObjectV2Response(BaseModel): """ Response for GET /2/object/ezsignbulksendtransmission/{pkiEzsignbulksendtransmissionID} """ # noqa: E501 + obj_debug_payload: CommonResponseObjDebugPayload = Field(alias="objDebugPayload") + obj_debug: Optional[CommonResponseObjDebug] = Field(default=None, alias="objDebug") m_payload: EzsignbulksendtransmissionGetObjectV2ResponseMPayload = Field(alias="mPayload") __properties: ClassVar[List[str]] = ["objDebugPayload", "objDebug", "mPayload"] diff --git a/eZmaxApi/models/ezsignbulksendtransmission_response.py b/eZmaxApi/models/ezsignbulksendtransmission_response.py index a9536fb84..7f8966dee 100644 --- a/eZmaxApi/models/ezsignbulksendtransmission_response.py +++ b/eZmaxApi/models/ezsignbulksendtransmission_response.py @@ -81,7 +81,21 @@ def to_dict(self) -> Dict[str, Any]: return _dict @classmethod - def from_dict(cls, obj: Dict[str, Any]) -> Optional[Self]: + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: """Create an instance of EzsignbulksendtransmissionResponse from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "pkiEzsignbulksendtransmissionID": obj.get("pkiEzsignbulksendtransmissionID"), + "fkiEzsignbulksendID": obj.get("fkiEzsignbulksendID"), + "sEzsignbulksendtransmissionDescription": obj.get("sEzsignbulksendtransmissionDescription"), + "iEzsignbulksendtransmissionErrors": obj.get("iEzsignbulksendtransmissionErrors"), + "objAudit": CommonAudit.from_dict(obj["objAudit"]) if obj.get("objAudit") is not None else None + }) + return _obj diff --git a/eZmaxApi/models/ezsignbulksendtransmission_response_compound.py b/eZmaxApi/models/ezsignbulksendtransmission_response_compound.py index 767dcf92e..92b2459a7 100644 --- a/eZmaxApi/models/ezsignbulksendtransmission_response_compound.py +++ b/eZmaxApi/models/ezsignbulksendtransmission_response_compound.py @@ -18,18 +18,23 @@ import re # noqa: F401 import json -from pydantic import ConfigDict, Field +from pydantic import BaseModel, ConfigDict, Field, StrictStr from typing import Any, ClassVar, Dict, List +from typing_extensions import Annotated from eZmaxApi.models.common_audit import CommonAudit from eZmaxApi.models.custom_ezsignfoldertransmission_response import CustomEzsignfoldertransmissionResponse -from eZmaxApi.models.ezsignbulksendtransmission_response import EzsignbulksendtransmissionResponse from typing import Optional, Set from typing_extensions import Self -class EzsignbulksendtransmissionResponseCompound(EzsignbulksendtransmissionResponse): +class EzsignbulksendtransmissionResponseCompound(BaseModel): """ An Ezsignbulksendtransmission Object and children to create a complete structure """ # noqa: E501 + pki_ezsignbulksendtransmission_id: Annotated[int, Field(strict=True, ge=0)] = Field(description="The unique ID of the Ezsignbulksendtransmission", alias="pkiEzsignbulksendtransmissionID") + fki_ezsignbulksend_id: Annotated[int, Field(strict=True, ge=0)] = Field(description="The unique ID of the Ezsignbulksend", alias="fkiEzsignbulksendID") + s_ezsignbulksendtransmission_description: StrictStr = Field(description="The description of the Ezsignbulksendtransmission", alias="sEzsignbulksendtransmissionDescription") + i_ezsignbulksendtransmission_errors: Annotated[int, Field(strict=True, ge=0)] = Field(description="The number of errors during the Ezsignbulksendtransmission", alias="iEzsignbulksendtransmissionErrors") + obj_audit: CommonAudit = Field(alias="objAudit") a_obj_ezsignfoldertransmission: List[CustomEzsignfoldertransmissionResponse] = Field(alias="a_objEzsignfoldertransmission") __properties: ClassVar[List[str]] = ["pkiEzsignbulksendtransmissionID", "fkiEzsignbulksendID", "sEzsignbulksendtransmissionDescription", "iEzsignbulksendtransmissionErrors", "objAudit", "a_objEzsignfoldertransmission"] diff --git a/eZmaxApi/models/ezsigndiscussion_create_object_v1_response.py b/eZmaxApi/models/ezsigndiscussion_create_object_v1_response.py index dc9fe17bf..b0936ac92 100644 --- a/eZmaxApi/models/ezsigndiscussion_create_object_v1_response.py +++ b/eZmaxApi/models/ezsigndiscussion_create_object_v1_response.py @@ -18,19 +18,20 @@ import re # noqa: F401 import json -from pydantic import ConfigDict, Field -from typing import Any, ClassVar, Dict, List -from eZmaxApi.models.common_response import CommonResponse +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List, Optional from eZmaxApi.models.common_response_obj_debug import CommonResponseObjDebug from eZmaxApi.models.common_response_obj_debug_payload import CommonResponseObjDebugPayload from eZmaxApi.models.ezsigndiscussion_create_object_v1_response_m_payload import EzsigndiscussionCreateObjectV1ResponseMPayload from typing import Optional, Set from typing_extensions import Self -class EzsigndiscussionCreateObjectV1Response(CommonResponse): +class EzsigndiscussionCreateObjectV1Response(BaseModel): """ Response for POST /1/object/ezsigndiscussion """ # noqa: E501 + obj_debug_payload: CommonResponseObjDebugPayload = Field(alias="objDebugPayload") + obj_debug: Optional[CommonResponseObjDebug] = Field(default=None, alias="objDebug") m_payload: EzsigndiscussionCreateObjectV1ResponseMPayload = Field(alias="mPayload") __properties: ClassVar[List[str]] = ["objDebugPayload", "objDebug", "mPayload"] diff --git a/eZmaxApi/models/ezsigndiscussion_delete_object_v1_response.py b/eZmaxApi/models/ezsigndiscussion_delete_object_v1_response.py index b0ceff601..08daa4ec9 100644 --- a/eZmaxApi/models/ezsigndiscussion_delete_object_v1_response.py +++ b/eZmaxApi/models/ezsigndiscussion_delete_object_v1_response.py @@ -18,18 +18,19 @@ import re # noqa: F401 import json -from pydantic import ConfigDict -from typing import Any, ClassVar, Dict, List -from eZmaxApi.models.common_response import CommonResponse +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List, Optional from eZmaxApi.models.common_response_obj_debug import CommonResponseObjDebug from eZmaxApi.models.common_response_obj_debug_payload import CommonResponseObjDebugPayload from typing import Optional, Set from typing_extensions import Self -class EzsigndiscussionDeleteObjectV1Response(CommonResponse): +class EzsigndiscussionDeleteObjectV1Response(BaseModel): """ Response for DELETE /1/object/ezsigndiscussion/{pkiEzsigndiscussionID} """ # noqa: E501 + obj_debug_payload: CommonResponseObjDebugPayload = Field(alias="objDebugPayload") + obj_debug: Optional[CommonResponseObjDebug] = Field(default=None, alias="objDebug") __properties: ClassVar[List[str]] = ["objDebugPayload", "objDebug"] model_config = ConfigDict( diff --git a/eZmaxApi/models/ezsigndiscussion_get_object_v2_response.py b/eZmaxApi/models/ezsigndiscussion_get_object_v2_response.py index 6f8be9374..8dfc81655 100644 --- a/eZmaxApi/models/ezsigndiscussion_get_object_v2_response.py +++ b/eZmaxApi/models/ezsigndiscussion_get_object_v2_response.py @@ -18,19 +18,20 @@ import re # noqa: F401 import json -from pydantic import ConfigDict, Field -from typing import Any, ClassVar, Dict, List -from eZmaxApi.models.common_response import CommonResponse +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List, Optional from eZmaxApi.models.common_response_obj_debug import CommonResponseObjDebug from eZmaxApi.models.common_response_obj_debug_payload import CommonResponseObjDebugPayload from eZmaxApi.models.ezsigndiscussion_get_object_v2_response_m_payload import EzsigndiscussionGetObjectV2ResponseMPayload from typing import Optional, Set from typing_extensions import Self -class EzsigndiscussionGetObjectV2Response(CommonResponse): +class EzsigndiscussionGetObjectV2Response(BaseModel): """ Response for GET /2/object/ezsigndiscussion/{pkiEzsigndiscussionID} """ # noqa: E501 + obj_debug_payload: CommonResponseObjDebugPayload = Field(alias="objDebugPayload") + obj_debug: Optional[CommonResponseObjDebug] = Field(default=None, alias="objDebug") m_payload: EzsigndiscussionGetObjectV2ResponseMPayload = Field(alias="mPayload") __properties: ClassVar[List[str]] = ["objDebugPayload", "objDebug", "mPayload"] diff --git a/eZmaxApi/models/ezsigndiscussion_request.py b/eZmaxApi/models/ezsigndiscussion_request.py index 939b39ec6..6ac93945d 100644 --- a/eZmaxApi/models/ezsigndiscussion_request.py +++ b/eZmaxApi/models/ezsigndiscussion_request.py @@ -82,7 +82,22 @@ def to_dict(self) -> Dict[str, Any]: return _dict @classmethod - def from_dict(cls, obj: Dict[str, Any]) -> Optional[Self]: + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: """Create an instance of EzsigndiscussionRequest from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "pkiEzsigndiscussionID": obj.get("pkiEzsigndiscussionID"), + "fkiEzsigndocumentID": obj.get("fkiEzsigndocumentID"), + "iEzsigndiscussionPagenumber": obj.get("iEzsigndiscussionPagenumber"), + "iEzsigndiscussionX": obj.get("iEzsigndiscussionX"), + "iEzsigndiscussionY": obj.get("iEzsigndiscussionY"), + "objDiscussion": DiscussionRequest.from_dict(obj["objDiscussion"]) if obj.get("objDiscussion") is not None else None + }) + return _obj diff --git a/eZmaxApi/models/ezsigndiscussion_request_compound.py b/eZmaxApi/models/ezsigndiscussion_request_compound.py index 26714bc3c..95d947b25 100644 --- a/eZmaxApi/models/ezsigndiscussion_request_compound.py +++ b/eZmaxApi/models/ezsigndiscussion_request_compound.py @@ -18,17 +18,23 @@ import re # noqa: F401 import json -from pydantic import ConfigDict -from typing import Any, ClassVar, Dict, List +from pydantic import BaseModel, ConfigDict, Field, StrictInt +from typing import Any, ClassVar, Dict, List, Optional +from typing_extensions import Annotated from eZmaxApi.models.discussion_request import DiscussionRequest -from eZmaxApi.models.ezsigndiscussion_request import EzsigndiscussionRequest from typing import Optional, Set from typing_extensions import Self -class EzsigndiscussionRequestCompound(EzsigndiscussionRequest): +class EzsigndiscussionRequestCompound(BaseModel): """ A Ezsigndiscussion Object and children """ # noqa: E501 + pki_ezsigndiscussion_id: Optional[Annotated[int, Field(le=16777215, strict=True, ge=0)]] = Field(default=None, description="The unique ID of the Ezsigndiscussion", alias="pkiEzsigndiscussionID") + fki_ezsigndocument_id: Annotated[int, Field(strict=True, ge=0)] = Field(description="The unique ID of the Ezsigndocument", alias="fkiEzsigndocumentID") + i_ezsigndiscussion_pagenumber: StrictInt = Field(description="The page number in the Ezsigndocument for the Ezsigndiscussion", alias="iEzsigndiscussionPagenumber") + i_ezsigndiscussion_x: Annotated[int, Field(le=65535, strict=True, ge=0)] = Field(description="The x of the Ezsigndiscussion", alias="iEzsigndiscussionX") + i_ezsigndiscussion_y: Annotated[int, Field(le=65535, strict=True, ge=0)] = Field(description="The y of the Ezsigndiscussion", alias="iEzsigndiscussionY") + obj_discussion: DiscussionRequest = Field(alias="objDiscussion") __properties: ClassVar[List[str]] = ["pkiEzsigndiscussionID", "fkiEzsigndocumentID", "iEzsigndiscussionPagenumber", "iEzsigndiscussionX", "iEzsigndiscussionY", "objDiscussion"] model_config = ConfigDict( diff --git a/eZmaxApi/models/ezsigndiscussion_response.py b/eZmaxApi/models/ezsigndiscussion_response.py index 54fd4d2cc..f5841e656 100644 --- a/eZmaxApi/models/ezsigndiscussion_response.py +++ b/eZmaxApi/models/ezsigndiscussion_response.py @@ -83,7 +83,23 @@ def to_dict(self) -> Dict[str, Any]: return _dict @classmethod - def from_dict(cls, obj: Dict[str, Any]) -> Optional[Self]: + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: """Create an instance of EzsigndiscussionResponse from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "pkiEzsigndiscussionID": obj.get("pkiEzsigndiscussionID"), + "fkiEzsignpageID": obj.get("fkiEzsignpageID"), + "fkiDiscussionID": obj.get("fkiDiscussionID"), + "iEzsigndiscussionX": obj.get("iEzsigndiscussionX"), + "iEzsigndiscussionY": obj.get("iEzsigndiscussionY"), + "iEzsigndiscussionPagenumber": obj.get("iEzsigndiscussionPagenumber"), + "objDiscussion": DiscussionResponseCompound.from_dict(obj["objDiscussion"]) if obj.get("objDiscussion") is not None else None + }) + return _obj diff --git a/eZmaxApi/models/ezsigndiscussion_response_compound.py b/eZmaxApi/models/ezsigndiscussion_response_compound.py index 51d3fe63c..dfd6abba8 100644 --- a/eZmaxApi/models/ezsigndiscussion_response_compound.py +++ b/eZmaxApi/models/ezsigndiscussion_response_compound.py @@ -18,17 +18,24 @@ import re # noqa: F401 import json -from pydantic import ConfigDict +from pydantic import BaseModel, ConfigDict, Field, StrictInt from typing import Any, ClassVar, Dict, List +from typing_extensions import Annotated from eZmaxApi.models.discussion_response_compound import DiscussionResponseCompound -from eZmaxApi.models.ezsigndiscussion_response import EzsigndiscussionResponse from typing import Optional, Set from typing_extensions import Self -class EzsigndiscussionResponseCompound(EzsigndiscussionResponse): +class EzsigndiscussionResponseCompound(BaseModel): """ A Ezsigndiscussion Object """ # noqa: E501 + pki_ezsigndiscussion_id: Annotated[int, Field(le=16777215, strict=True, ge=0)] = Field(description="The unique ID of the Ezsigndiscussion", alias="pkiEzsigndiscussionID") + fki_ezsignpage_id: Annotated[int, Field(strict=True, ge=0)] = Field(description="The unique ID of the Ezsignpage", alias="fkiEzsignpageID") + fki_discussion_id: Annotated[int, Field(le=16777215, strict=True, ge=0)] = Field(description="The unique ID of the Discussion", alias="fkiDiscussionID") + i_ezsigndiscussion_x: Annotated[int, Field(le=65535, strict=True, ge=0)] = Field(description="The x of the Ezsigndiscussion", alias="iEzsigndiscussionX") + i_ezsigndiscussion_y: Annotated[int, Field(le=65535, strict=True, ge=0)] = Field(description="The y of the Ezsigndiscussion", alias="iEzsigndiscussionY") + i_ezsigndiscussion_pagenumber: StrictInt = Field(description="The page number in the Ezsigndocument for the Ezsigndiscussion", alias="iEzsigndiscussionPagenumber") + obj_discussion: DiscussionResponseCompound = Field(alias="objDiscussion") __properties: ClassVar[List[str]] = ["pkiEzsigndiscussionID", "fkiEzsignpageID", "fkiDiscussionID", "iEzsigndiscussionX", "iEzsigndiscussionY", "iEzsigndiscussionPagenumber", "objDiscussion"] model_config = ConfigDict( diff --git a/eZmaxApi/models/ezsigndocument_apply_ezsigntemplate_v1_response.py b/eZmaxApi/models/ezsigndocument_apply_ezsigntemplate_v1_response.py index 8dd69b1dd..0b02f0c76 100644 --- a/eZmaxApi/models/ezsigndocument_apply_ezsigntemplate_v1_response.py +++ b/eZmaxApi/models/ezsigndocument_apply_ezsigntemplate_v1_response.py @@ -18,18 +18,19 @@ import re # noqa: F401 import json -from pydantic import ConfigDict -from typing import Any, ClassVar, Dict, List -from eZmaxApi.models.common_response import CommonResponse +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List, Optional from eZmaxApi.models.common_response_obj_debug import CommonResponseObjDebug from eZmaxApi.models.common_response_obj_debug_payload import CommonResponseObjDebugPayload from typing import Optional, Set from typing_extensions import Self -class EzsigndocumentApplyEzsigntemplateV1Response(CommonResponse): +class EzsigndocumentApplyEzsigntemplateV1Response(BaseModel): """ Response for POST /1/object/ezsigndocument/{pkiEzsigndocument}/applyEzsigntemplate """ # noqa: E501 + obj_debug_payload: CommonResponseObjDebugPayload = Field(alias="objDebugPayload") + obj_debug: Optional[CommonResponseObjDebug] = Field(default=None, alias="objDebug") __properties: ClassVar[List[str]] = ["objDebugPayload", "objDebug"] model_config = ConfigDict( diff --git a/eZmaxApi/models/ezsigndocument_apply_ezsigntemplate_v2_response.py b/eZmaxApi/models/ezsigndocument_apply_ezsigntemplate_v2_response.py index b223d7bd5..bfbd254b0 100644 --- a/eZmaxApi/models/ezsigndocument_apply_ezsigntemplate_v2_response.py +++ b/eZmaxApi/models/ezsigndocument_apply_ezsigntemplate_v2_response.py @@ -18,19 +18,20 @@ import re # noqa: F401 import json -from pydantic import ConfigDict, Field +from pydantic import BaseModel, ConfigDict, Field from typing import Any, ClassVar, Dict, List, Optional -from eZmaxApi.models.common_response import CommonResponse from eZmaxApi.models.common_response_obj_debug import CommonResponseObjDebug from eZmaxApi.models.common_response_obj_debug_payload import CommonResponseObjDebugPayload from eZmaxApi.models.common_response_warning import CommonResponseWarning from typing import Optional, Set from typing_extensions import Self -class EzsigndocumentApplyEzsigntemplateV2Response(CommonResponse): +class EzsigndocumentApplyEzsigntemplateV2Response(BaseModel): """ Response for POST /2/object/ezsigndocument/{pkiEzsigndocument}/applyEzsigntemplate """ # noqa: E501 + obj_debug_payload: CommonResponseObjDebugPayload = Field(alias="objDebugPayload") + obj_debug: Optional[CommonResponseObjDebug] = Field(default=None, alias="objDebug") a_obj_warning: Optional[List[CommonResponseWarning]] = Field(default=None, alias="a_objWarning") __properties: ClassVar[List[str]] = ["objDebugPayload", "objDebug", "a_objWarning"] diff --git a/eZmaxApi/models/ezsigndocument_apply_ezsigntemplateglobal_v1_response.py b/eZmaxApi/models/ezsigndocument_apply_ezsigntemplateglobal_v1_response.py index a182a4115..f632dba0a 100644 --- a/eZmaxApi/models/ezsigndocument_apply_ezsigntemplateglobal_v1_response.py +++ b/eZmaxApi/models/ezsigndocument_apply_ezsigntemplateglobal_v1_response.py @@ -18,19 +18,20 @@ import re # noqa: F401 import json -from pydantic import ConfigDict, Field +from pydantic import BaseModel, ConfigDict, Field from typing import Any, ClassVar, Dict, List, Optional -from eZmaxApi.models.common_response import CommonResponse from eZmaxApi.models.common_response_obj_debug import CommonResponseObjDebug from eZmaxApi.models.common_response_obj_debug_payload import CommonResponseObjDebugPayload from eZmaxApi.models.common_response_warning import CommonResponseWarning from typing import Optional, Set from typing_extensions import Self -class EzsigndocumentApplyEzsigntemplateglobalV1Response(CommonResponse): +class EzsigndocumentApplyEzsigntemplateglobalV1Response(BaseModel): """ Response for POST /2/object/ezsigndocument/{pkiEzsigndocument}/applyEzsigntemplate """ # noqa: E501 + obj_debug_payload: CommonResponseObjDebugPayload = Field(alias="objDebugPayload") + obj_debug: Optional[CommonResponseObjDebug] = Field(default=None, alias="objDebug") a_obj_warning: Optional[List[CommonResponseWarning]] = Field(default=None, alias="a_objWarning") __properties: ClassVar[List[str]] = ["objDebugPayload", "objDebug", "a_objWarning"] diff --git a/eZmaxApi/models/ezsigndocument_create_ezsignelements_positioned_by_word_v1_response.py b/eZmaxApi/models/ezsigndocument_create_ezsignelements_positioned_by_word_v1_response.py index 73476441d..d99f4833c 100644 --- a/eZmaxApi/models/ezsigndocument_create_ezsignelements_positioned_by_word_v1_response.py +++ b/eZmaxApi/models/ezsigndocument_create_ezsignelements_positioned_by_word_v1_response.py @@ -18,19 +18,20 @@ import re # noqa: F401 import json -from pydantic import ConfigDict, Field -from typing import Any, ClassVar, Dict, List -from eZmaxApi.models.common_response import CommonResponse +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List, Optional from eZmaxApi.models.common_response_obj_debug import CommonResponseObjDebug from eZmaxApi.models.common_response_obj_debug_payload import CommonResponseObjDebugPayload from eZmaxApi.models.ezsigndocument_create_ezsignelements_positioned_by_word_v1_response_m_payload import EzsigndocumentCreateEzsignelementsPositionedByWordV1ResponseMPayload from typing import Optional, Set from typing_extensions import Self -class EzsigndocumentCreateEzsignelementsPositionedByWordV1Response(CommonResponse): +class EzsigndocumentCreateEzsignelementsPositionedByWordV1Response(BaseModel): """ Response for POST /1/object/ezsigndocument/{pkiEzsigndocumentID}/createEzsignelementsPositionedByWord """ # noqa: E501 + obj_debug_payload: CommonResponseObjDebugPayload = Field(alias="objDebugPayload") + obj_debug: Optional[CommonResponseObjDebug] = Field(default=None, alias="objDebug") m_payload: EzsigndocumentCreateEzsignelementsPositionedByWordV1ResponseMPayload = Field(alias="mPayload") __properties: ClassVar[List[str]] = ["objDebugPayload", "objDebug", "mPayload"] diff --git a/eZmaxApi/models/ezsigndocument_create_object_v1_request.py b/eZmaxApi/models/ezsigndocument_create_object_v1_request.py index 8b68877a8..a7fdaf012 100644 --- a/eZmaxApi/models/ezsigndocument_create_object_v1_request.py +++ b/eZmaxApi/models/ezsigndocument_create_object_v1_request.py @@ -21,6 +21,7 @@ from pydantic import BaseModel, ConfigDict, Field from typing import Any, ClassVar, Dict, List, Optional from eZmaxApi.models.ezsigndocument_request import EzsigndocumentRequest +from eZmaxApi.models.ezsigndocument_request_compound import EzsigndocumentRequestCompound from typing import Optional, Set from typing_extensions import Self @@ -29,7 +30,7 @@ class EzsigndocumentCreateObjectV1Request(BaseModel): Request for POST /1/object/ezsigndocument """ # noqa: E501 obj_ezsigndocument: Optional[EzsigndocumentRequest] = Field(default=None, alias="objEzsigndocument") - obj_ezsigndocument_compound: Optional[EzsigndocumentRequest] = Field(default=None, description="An Ezsigndocument Object and children to create a complete structure", alias="objEzsigndocumentCompound") + obj_ezsigndocument_compound: Optional[EzsigndocumentRequestCompound] = Field(default=None, alias="objEzsigndocumentCompound") __properties: ClassVar[List[str]] = ["objEzsigndocument", "objEzsigndocumentCompound"] model_config = ConfigDict( @@ -90,7 +91,7 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: _obj = cls.model_validate({ "objEzsigndocument": EzsigndocumentRequest.from_dict(obj["objEzsigndocument"]) if obj.get("objEzsigndocument") is not None else None, - "objEzsigndocumentCompound": EzsigndocumentRequest.from_dict(obj["objEzsigndocumentCompound"]) if obj.get("objEzsigndocumentCompound") is not None else None + "objEzsigndocumentCompound": EzsigndocumentRequestCompound.from_dict(obj["objEzsigndocumentCompound"]) if obj.get("objEzsigndocumentCompound") is not None else None }) return _obj diff --git a/eZmaxApi/models/ezsigndocument_create_object_v1_response.py b/eZmaxApi/models/ezsigndocument_create_object_v1_response.py index 69b71cdb2..c454b846e 100644 --- a/eZmaxApi/models/ezsigndocument_create_object_v1_response.py +++ b/eZmaxApi/models/ezsigndocument_create_object_v1_response.py @@ -18,19 +18,20 @@ import re # noqa: F401 import json -from pydantic import ConfigDict, Field -from typing import Any, ClassVar, Dict, List -from eZmaxApi.models.common_response import CommonResponse +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List, Optional from eZmaxApi.models.common_response_obj_debug import CommonResponseObjDebug from eZmaxApi.models.common_response_obj_debug_payload import CommonResponseObjDebugPayload from eZmaxApi.models.ezsigndocument_create_object_v1_response_m_payload import EzsigndocumentCreateObjectV1ResponseMPayload from typing import Optional, Set from typing_extensions import Self -class EzsigndocumentCreateObjectV1Response(CommonResponse): +class EzsigndocumentCreateObjectV1Response(BaseModel): """ Response for POST /1/object/ezsigndocument """ # noqa: E501 + obj_debug_payload: CommonResponseObjDebugPayload = Field(alias="objDebugPayload") + obj_debug: Optional[CommonResponseObjDebug] = Field(default=None, alias="objDebug") m_payload: EzsigndocumentCreateObjectV1ResponseMPayload = Field(alias="mPayload") __properties: ClassVar[List[str]] = ["objDebugPayload", "objDebug", "mPayload"] diff --git a/eZmaxApi/models/ezsigndocument_create_object_v2_request.py b/eZmaxApi/models/ezsigndocument_create_object_v2_request.py index 1a20024ff..c20c6d56a 100644 --- a/eZmaxApi/models/ezsigndocument_create_object_v2_request.py +++ b/eZmaxApi/models/ezsigndocument_create_object_v2_request.py @@ -21,7 +21,7 @@ from pydantic import BaseModel, ConfigDict, Field from typing import Any, ClassVar, Dict, List from typing_extensions import Annotated -from eZmaxApi.models.ezsigndocument_request import EzsigndocumentRequest +from eZmaxApi.models.ezsigndocument_request_compound import EzsigndocumentRequestCompound from typing import Optional, Set from typing_extensions import Self @@ -29,7 +29,7 @@ class EzsigndocumentCreateObjectV2Request(BaseModel): """ Request for POST /2/object/ezsigndocument """ # noqa: E501 - a_obj_ezsigndocument: Annotated[List[EzsigndocumentRequest], Field(min_length=1)] = Field(alias="a_objEzsigndocument") + a_obj_ezsigndocument: Annotated[List[EzsigndocumentRequestCompound], Field(min_length=1)] = Field(alias="a_objEzsigndocument") __properties: ClassVar[List[str]] = ["a_objEzsigndocument"] model_config = ConfigDict( @@ -90,7 +90,7 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: return cls.model_validate(obj) _obj = cls.model_validate({ - "a_objEzsigndocument": [EzsigndocumentRequest.from_dict(_item) for _item in obj["a_objEzsigndocument"]] if obj.get("a_objEzsigndocument") is not None else None + "a_objEzsigndocument": [EzsigndocumentRequestCompound.from_dict(_item) for _item in obj["a_objEzsigndocument"]] if obj.get("a_objEzsigndocument") is not None else None }) return _obj diff --git a/eZmaxApi/models/ezsigndocument_create_object_v2_response.py b/eZmaxApi/models/ezsigndocument_create_object_v2_response.py index 8ae549738..339f3a1f5 100644 --- a/eZmaxApi/models/ezsigndocument_create_object_v2_response.py +++ b/eZmaxApi/models/ezsigndocument_create_object_v2_response.py @@ -18,19 +18,20 @@ import re # noqa: F401 import json -from pydantic import ConfigDict, Field -from typing import Any, ClassVar, Dict, List -from eZmaxApi.models.common_response import CommonResponse +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List, Optional from eZmaxApi.models.common_response_obj_debug import CommonResponseObjDebug from eZmaxApi.models.common_response_obj_debug_payload import CommonResponseObjDebugPayload from eZmaxApi.models.ezsigndocument_create_object_v2_response_m_payload import EzsigndocumentCreateObjectV2ResponseMPayload from typing import Optional, Set from typing_extensions import Self -class EzsigndocumentCreateObjectV2Response(CommonResponse): +class EzsigndocumentCreateObjectV2Response(BaseModel): """ Response for POST /2/object/ezsigndocument """ # noqa: E501 + obj_debug_payload: CommonResponseObjDebugPayload = Field(alias="objDebugPayload") + obj_debug: Optional[CommonResponseObjDebug] = Field(default=None, alias="objDebug") m_payload: EzsigndocumentCreateObjectV2ResponseMPayload = Field(alias="mPayload") __properties: ClassVar[List[str]] = ["objDebugPayload", "objDebug", "mPayload"] diff --git a/eZmaxApi/models/ezsigndocument_create_object_v3_request.py b/eZmaxApi/models/ezsigndocument_create_object_v3_request.py index 27a6987c0..42423318a 100644 --- a/eZmaxApi/models/ezsigndocument_create_object_v3_request.py +++ b/eZmaxApi/models/ezsigndocument_create_object_v3_request.py @@ -21,7 +21,7 @@ from pydantic import BaseModel, ConfigDict, Field from typing import Any, ClassVar, Dict, List from typing_extensions import Annotated -from eZmaxApi.models.ezsigndocument_request import EzsigndocumentRequest +from eZmaxApi.models.ezsigndocument_request_compound import EzsigndocumentRequestCompound from typing import Optional, Set from typing_extensions import Self @@ -29,7 +29,7 @@ class EzsigndocumentCreateObjectV3Request(BaseModel): """ Request for POST /3/object/ezsigndocument """ # noqa: E501 - a_obj_ezsigndocument: Annotated[List[EzsigndocumentRequest], Field(min_length=1)] = Field(alias="a_objEzsigndocument") + a_obj_ezsigndocument: Annotated[List[EzsigndocumentRequestCompound], Field(min_length=1)] = Field(alias="a_objEzsigndocument") __properties: ClassVar[List[str]] = ["a_objEzsigndocument"] model_config = ConfigDict( @@ -90,7 +90,7 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: return cls.model_validate(obj) _obj = cls.model_validate({ - "a_objEzsigndocument": [EzsigndocumentRequest.from_dict(_item) for _item in obj["a_objEzsigndocument"]] if obj.get("a_objEzsigndocument") is not None else None + "a_objEzsigndocument": [EzsigndocumentRequestCompound.from_dict(_item) for _item in obj["a_objEzsigndocument"]] if obj.get("a_objEzsigndocument") is not None else None }) return _obj diff --git a/eZmaxApi/models/ezsigndocument_create_object_v3_response.py b/eZmaxApi/models/ezsigndocument_create_object_v3_response.py index 2283fae64..a7ca52a6f 100644 --- a/eZmaxApi/models/ezsigndocument_create_object_v3_response.py +++ b/eZmaxApi/models/ezsigndocument_create_object_v3_response.py @@ -18,19 +18,20 @@ import re # noqa: F401 import json -from pydantic import ConfigDict, Field -from typing import Any, ClassVar, Dict, List -from eZmaxApi.models.common_response import CommonResponse +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List, Optional from eZmaxApi.models.common_response_obj_debug import CommonResponseObjDebug from eZmaxApi.models.common_response_obj_debug_payload import CommonResponseObjDebugPayload from eZmaxApi.models.ezsigndocument_create_object_v3_response_m_payload import EzsigndocumentCreateObjectV3ResponseMPayload from typing import Optional, Set from typing_extensions import Self -class EzsigndocumentCreateObjectV3Response(CommonResponse): +class EzsigndocumentCreateObjectV3Response(BaseModel): """ Response for POST /3/object/ezsigndocument """ # noqa: E501 + obj_debug_payload: CommonResponseObjDebugPayload = Field(alias="objDebugPayload") + obj_debug: Optional[CommonResponseObjDebug] = Field(default=None, alias="objDebug") m_payload: EzsigndocumentCreateObjectV3ResponseMPayload = Field(alias="mPayload") __properties: ClassVar[List[str]] = ["objDebugPayload", "objDebug", "mPayload"] diff --git a/eZmaxApi/models/ezsigndocument_decline_to_sign_v1_response.py b/eZmaxApi/models/ezsigndocument_decline_to_sign_v1_response.py index f4efb3a53..b23a5079c 100644 --- a/eZmaxApi/models/ezsigndocument_decline_to_sign_v1_response.py +++ b/eZmaxApi/models/ezsigndocument_decline_to_sign_v1_response.py @@ -18,18 +18,19 @@ import re # noqa: F401 import json -from pydantic import ConfigDict -from typing import Any, ClassVar, Dict, List -from eZmaxApi.models.common_response import CommonResponse +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List, Optional from eZmaxApi.models.common_response_obj_debug import CommonResponseObjDebug from eZmaxApi.models.common_response_obj_debug_payload import CommonResponseObjDebugPayload from typing import Optional, Set from typing_extensions import Self -class EzsigndocumentDeclineToSignV1Response(CommonResponse): +class EzsigndocumentDeclineToSignV1Response(BaseModel): """ Response for POST /1/object/ezsigndocument/{pkiEzsigndocumentID}/declineToSign """ # noqa: E501 + obj_debug_payload: CommonResponseObjDebugPayload = Field(alias="objDebugPayload") + obj_debug: Optional[CommonResponseObjDebug] = Field(default=None, alias="objDebug") __properties: ClassVar[List[str]] = ["objDebugPayload", "objDebug"] model_config = ConfigDict( diff --git a/eZmaxApi/models/ezsigndocument_delete_object_v1_response.py b/eZmaxApi/models/ezsigndocument_delete_object_v1_response.py index 5dbae0ff0..7b549e8dd 100644 --- a/eZmaxApi/models/ezsigndocument_delete_object_v1_response.py +++ b/eZmaxApi/models/ezsigndocument_delete_object_v1_response.py @@ -18,18 +18,19 @@ import re # noqa: F401 import json -from pydantic import ConfigDict -from typing import Any, ClassVar, Dict, List -from eZmaxApi.models.common_response import CommonResponse +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List, Optional from eZmaxApi.models.common_response_obj_debug import CommonResponseObjDebug from eZmaxApi.models.common_response_obj_debug_payload import CommonResponseObjDebugPayload from typing import Optional, Set from typing_extensions import Self -class EzsigndocumentDeleteObjectV1Response(CommonResponse): +class EzsigndocumentDeleteObjectV1Response(BaseModel): """ Response for DELETE /1/object/ezsigndocument/{pkiEzsigndocumentID} """ # noqa: E501 + obj_debug_payload: CommonResponseObjDebugPayload = Field(alias="objDebugPayload") + obj_debug: Optional[CommonResponseObjDebug] = Field(default=None, alias="objDebug") __properties: ClassVar[List[str]] = ["objDebugPayload", "objDebug"] model_config = ConfigDict( diff --git a/eZmaxApi/models/ezsigndocument_edit_ezsignannotations_v1_response.py b/eZmaxApi/models/ezsigndocument_edit_ezsignannotations_v1_response.py index b74b9ca0a..4be6d7362 100644 --- a/eZmaxApi/models/ezsigndocument_edit_ezsignannotations_v1_response.py +++ b/eZmaxApi/models/ezsigndocument_edit_ezsignannotations_v1_response.py @@ -18,19 +18,20 @@ import re # noqa: F401 import json -from pydantic import ConfigDict, Field -from typing import Any, ClassVar, Dict, List -from eZmaxApi.models.common_response import CommonResponse +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List, Optional from eZmaxApi.models.common_response_obj_debug import CommonResponseObjDebug from eZmaxApi.models.common_response_obj_debug_payload import CommonResponseObjDebugPayload from eZmaxApi.models.ezsigndocument_edit_ezsignannotations_v1_response_m_payload import EzsigndocumentEditEzsignannotationsV1ResponseMPayload from typing import Optional, Set from typing_extensions import Self -class EzsigndocumentEditEzsignannotationsV1Response(CommonResponse): +class EzsigndocumentEditEzsignannotationsV1Response(BaseModel): """ Response for PUT /1/object/ezsigndocument/{pkiEzsigndocumentID}/editEzsignannotations """ # noqa: E501 + obj_debug_payload: CommonResponseObjDebugPayload = Field(alias="objDebugPayload") + obj_debug: Optional[CommonResponseObjDebug] = Field(default=None, alias="objDebug") m_payload: EzsigndocumentEditEzsignannotationsV1ResponseMPayload = Field(alias="mPayload") __properties: ClassVar[List[str]] = ["objDebugPayload", "objDebug", "mPayload"] diff --git a/eZmaxApi/models/ezsigndocument_edit_ezsignformfieldgroups_v1_response.py b/eZmaxApi/models/ezsigndocument_edit_ezsignformfieldgroups_v1_response.py index 04e630875..564df578e 100644 --- a/eZmaxApi/models/ezsigndocument_edit_ezsignformfieldgroups_v1_response.py +++ b/eZmaxApi/models/ezsigndocument_edit_ezsignformfieldgroups_v1_response.py @@ -18,19 +18,20 @@ import re # noqa: F401 import json -from pydantic import ConfigDict, Field -from typing import Any, ClassVar, Dict, List -from eZmaxApi.models.common_response import CommonResponse +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List, Optional from eZmaxApi.models.common_response_obj_debug import CommonResponseObjDebug from eZmaxApi.models.common_response_obj_debug_payload import CommonResponseObjDebugPayload from eZmaxApi.models.ezsigndocument_edit_ezsignformfieldgroups_v1_response_m_payload import EzsigndocumentEditEzsignformfieldgroupsV1ResponseMPayload from typing import Optional, Set from typing_extensions import Self -class EzsigndocumentEditEzsignformfieldgroupsV1Response(CommonResponse): +class EzsigndocumentEditEzsignformfieldgroupsV1Response(BaseModel): """ Response for PUT /1/object/ezsigndocument/{pkiEzsigndocumentID}/editEzsignformfieldgroups """ # noqa: E501 + obj_debug_payload: CommonResponseObjDebugPayload = Field(alias="objDebugPayload") + obj_debug: Optional[CommonResponseObjDebug] = Field(default=None, alias="objDebug") m_payload: EzsigndocumentEditEzsignformfieldgroupsV1ResponseMPayload = Field(alias="mPayload") __properties: ClassVar[List[str]] = ["objDebugPayload", "objDebug", "mPayload"] diff --git a/eZmaxApi/models/ezsigndocument_edit_ezsignsignatures_v1_response.py b/eZmaxApi/models/ezsigndocument_edit_ezsignsignatures_v1_response.py index fe1616db5..10f359ba4 100644 --- a/eZmaxApi/models/ezsigndocument_edit_ezsignsignatures_v1_response.py +++ b/eZmaxApi/models/ezsigndocument_edit_ezsignsignatures_v1_response.py @@ -18,19 +18,20 @@ import re # noqa: F401 import json -from pydantic import ConfigDict, Field -from typing import Any, ClassVar, Dict, List -from eZmaxApi.models.common_response import CommonResponse +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List, Optional from eZmaxApi.models.common_response_obj_debug import CommonResponseObjDebug from eZmaxApi.models.common_response_obj_debug_payload import CommonResponseObjDebugPayload from eZmaxApi.models.ezsigndocument_edit_ezsignsignatures_v1_response_m_payload import EzsigndocumentEditEzsignsignaturesV1ResponseMPayload from typing import Optional, Set from typing_extensions import Self -class EzsigndocumentEditEzsignsignaturesV1Response(CommonResponse): +class EzsigndocumentEditEzsignsignaturesV1Response(BaseModel): """ Response for PUT /1/object/ezsigndocument/{pkiEzsigndocumentID}/editEzsignsignatures """ # noqa: E501 + obj_debug_payload: CommonResponseObjDebugPayload = Field(alias="objDebugPayload") + obj_debug: Optional[CommonResponseObjDebug] = Field(default=None, alias="objDebug") m_payload: EzsigndocumentEditEzsignsignaturesV1ResponseMPayload = Field(alias="mPayload") __properties: ClassVar[List[str]] = ["objDebugPayload", "objDebug", "mPayload"] diff --git a/eZmaxApi/models/ezsigndocument_edit_object_v1_request.py b/eZmaxApi/models/ezsigndocument_edit_object_v1_request.py index ebf378a90..111ff50d5 100644 --- a/eZmaxApi/models/ezsigndocument_edit_object_v1_request.py +++ b/eZmaxApi/models/ezsigndocument_edit_object_v1_request.py @@ -20,7 +20,7 @@ from pydantic import BaseModel, ConfigDict, Field from typing import Any, ClassVar, Dict, List -from eZmaxApi.models.ezsigndocument_request import EzsigndocumentRequest +from eZmaxApi.models.ezsigndocument_request_compound import EzsigndocumentRequestCompound from typing import Optional, Set from typing_extensions import Self @@ -28,7 +28,7 @@ class EzsigndocumentEditObjectV1Request(BaseModel): """ Request for PUT /1/object/ezsigndocument/{pkiEzsigndocumentID} """ # noqa: E501 - obj_ezsigndocument: EzsigndocumentRequest = Field(description="An Ezsigndocument Object and children to create a complete structure", alias="objEzsigndocument") + obj_ezsigndocument: EzsigndocumentRequestCompound = Field(alias="objEzsigndocument") __properties: ClassVar[List[str]] = ["objEzsigndocument"] model_config = ConfigDict( @@ -85,7 +85,7 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: return cls.model_validate(obj) _obj = cls.model_validate({ - "objEzsigndocument": EzsigndocumentRequest.from_dict(obj["objEzsigndocument"]) if obj.get("objEzsigndocument") is not None else None + "objEzsigndocument": EzsigndocumentRequestCompound.from_dict(obj["objEzsigndocument"]) if obj.get("objEzsigndocument") is not None else None }) return _obj diff --git a/eZmaxApi/models/ezsigndocument_edit_object_v1_response.py b/eZmaxApi/models/ezsigndocument_edit_object_v1_response.py index 8a5274bda..6bd4bef16 100644 --- a/eZmaxApi/models/ezsigndocument_edit_object_v1_response.py +++ b/eZmaxApi/models/ezsigndocument_edit_object_v1_response.py @@ -18,19 +18,20 @@ import re # noqa: F401 import json -from pydantic import ConfigDict, Field +from pydantic import BaseModel, ConfigDict, Field from typing import Any, ClassVar, Dict, List, Optional -from eZmaxApi.models.common_response import CommonResponse from eZmaxApi.models.common_response_obj_debug import CommonResponseObjDebug from eZmaxApi.models.common_response_obj_debug_payload import CommonResponseObjDebugPayload from eZmaxApi.models.common_response_warning import CommonResponseWarning from typing import Optional, Set from typing_extensions import Self -class EzsigndocumentEditObjectV1Response(CommonResponse): +class EzsigndocumentEditObjectV1Response(BaseModel): """ Response for PUT /1/object/ezsigndocument/{pkiEzsigndocumentID} """ # noqa: E501 + obj_debug_payload: CommonResponseObjDebugPayload = Field(alias="objDebugPayload") + obj_debug: Optional[CommonResponseObjDebug] = Field(default=None, alias="objDebug") a_obj_warning: Optional[List[CommonResponseWarning]] = Field(default=None, alias="a_objWarning") __properties: ClassVar[List[str]] = ["objDebugPayload", "objDebug", "a_objWarning"] diff --git a/eZmaxApi/models/ezsigndocument_end_prematurely_v1_response.py b/eZmaxApi/models/ezsigndocument_end_prematurely_v1_response.py index f8856ccca..e3deb48a8 100644 --- a/eZmaxApi/models/ezsigndocument_end_prematurely_v1_response.py +++ b/eZmaxApi/models/ezsigndocument_end_prematurely_v1_response.py @@ -18,18 +18,19 @@ import re # noqa: F401 import json -from pydantic import ConfigDict -from typing import Any, ClassVar, Dict, List -from eZmaxApi.models.common_response import CommonResponse +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List, Optional from eZmaxApi.models.common_response_obj_debug import CommonResponseObjDebug from eZmaxApi.models.common_response_obj_debug_payload import CommonResponseObjDebugPayload from typing import Optional, Set from typing_extensions import Self -class EzsigndocumentEndPrematurelyV1Response(CommonResponse): +class EzsigndocumentEndPrematurelyV1Response(BaseModel): """ Response for POST /1/object/ezsigndocument/{pkiEzsigndocument}/endPrematurely """ # noqa: E501 + obj_debug_payload: CommonResponseObjDebugPayload = Field(alias="objDebugPayload") + obj_debug: Optional[CommonResponseObjDebug] = Field(default=None, alias="objDebug") __properties: ClassVar[List[str]] = ["objDebugPayload", "objDebug"] model_config = ConfigDict( diff --git a/eZmaxApi/models/ezsigndocument_extract_text_v1_response.py b/eZmaxApi/models/ezsigndocument_extract_text_v1_response.py index 4b2daf50e..c7cbc5612 100644 --- a/eZmaxApi/models/ezsigndocument_extract_text_v1_response.py +++ b/eZmaxApi/models/ezsigndocument_extract_text_v1_response.py @@ -18,19 +18,20 @@ import re # noqa: F401 import json -from pydantic import ConfigDict, Field -from typing import Any, ClassVar, Dict, List -from eZmaxApi.models.common_response import CommonResponse +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List, Optional from eZmaxApi.models.common_response_obj_debug import CommonResponseObjDebug from eZmaxApi.models.common_response_obj_debug_payload import CommonResponseObjDebugPayload from eZmaxApi.models.ezsigndocument_extract_text_v1_response_m_payload import EzsigndocumentExtractTextV1ResponseMPayload from typing import Optional, Set from typing_extensions import Self -class EzsigndocumentExtractTextV1Response(CommonResponse): +class EzsigndocumentExtractTextV1Response(BaseModel): """ Response for POST /1/object/ezsigndocument/{pkiEzsigndocumentID}/extractText """ # noqa: E501 + obj_debug_payload: CommonResponseObjDebugPayload = Field(alias="objDebugPayload") + obj_debug: Optional[CommonResponseObjDebug] = Field(default=None, alias="objDebug") m_payload: EzsigndocumentExtractTextV1ResponseMPayload = Field(alias="mPayload") __properties: ClassVar[List[str]] = ["objDebugPayload", "objDebug", "mPayload"] diff --git a/eZmaxApi/models/ezsigndocument_flatten_v1_response.py b/eZmaxApi/models/ezsigndocument_flatten_v1_response.py index c4da3a150..86a59bf60 100644 --- a/eZmaxApi/models/ezsigndocument_flatten_v1_response.py +++ b/eZmaxApi/models/ezsigndocument_flatten_v1_response.py @@ -18,18 +18,19 @@ import re # noqa: F401 import json -from pydantic import ConfigDict -from typing import Any, ClassVar, Dict, List -from eZmaxApi.models.common_response import CommonResponse +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List, Optional from eZmaxApi.models.common_response_obj_debug import CommonResponseObjDebug from eZmaxApi.models.common_response_obj_debug_payload import CommonResponseObjDebugPayload from typing import Optional, Set from typing_extensions import Self -class EzsigndocumentFlattenV1Response(CommonResponse): +class EzsigndocumentFlattenV1Response(BaseModel): """ Response for POST /1/object/ezsigndocument/{pkiEzsigndocument}/flatten """ # noqa: E501 + obj_debug_payload: CommonResponseObjDebugPayload = Field(alias="objDebugPayload") + obj_debug: Optional[CommonResponseObjDebug] = Field(default=None, alias="objDebug") __properties: ClassVar[List[str]] = ["objDebugPayload", "objDebug"] model_config = ConfigDict( diff --git a/eZmaxApi/models/ezsigndocument_get_actionable_elements_v1_response.py b/eZmaxApi/models/ezsigndocument_get_actionable_elements_v1_response.py index 858cc9df7..ecee23710 100644 --- a/eZmaxApi/models/ezsigndocument_get_actionable_elements_v1_response.py +++ b/eZmaxApi/models/ezsigndocument_get_actionable_elements_v1_response.py @@ -18,19 +18,20 @@ import re # noqa: F401 import json -from pydantic import ConfigDict, Field -from typing import Any, ClassVar, Dict, List -from eZmaxApi.models.common_response import CommonResponse +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List, Optional from eZmaxApi.models.common_response_obj_debug import CommonResponseObjDebug from eZmaxApi.models.common_response_obj_debug_payload import CommonResponseObjDebugPayload from eZmaxApi.models.ezsigndocument_get_actionable_elements_v1_response_m_payload import EzsigndocumentGetActionableElementsV1ResponseMPayload from typing import Optional, Set from typing_extensions import Self -class EzsigndocumentGetActionableElementsV1Response(CommonResponse): +class EzsigndocumentGetActionableElementsV1Response(BaseModel): """ Response for GET /1/object/ezsigndocument/{pkiEzsigndocumentID}/getActionableElements """ # noqa: E501 + obj_debug_payload: CommonResponseObjDebugPayload = Field(alias="objDebugPayload") + obj_debug: Optional[CommonResponseObjDebug] = Field(default=None, alias="objDebug") m_payload: EzsigndocumentGetActionableElementsV1ResponseMPayload = Field(alias="mPayload") __properties: ClassVar[List[str]] = ["objDebugPayload", "objDebug", "mPayload"] diff --git a/eZmaxApi/models/ezsigndocument_get_attachments_v1_response.py b/eZmaxApi/models/ezsigndocument_get_attachments_v1_response.py index 9bfb3d15e..737c0d942 100644 --- a/eZmaxApi/models/ezsigndocument_get_attachments_v1_response.py +++ b/eZmaxApi/models/ezsigndocument_get_attachments_v1_response.py @@ -18,19 +18,20 @@ import re # noqa: F401 import json -from pydantic import ConfigDict, Field -from typing import Any, ClassVar, Dict, List -from eZmaxApi.models.common_response import CommonResponse +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List, Optional from eZmaxApi.models.common_response_obj_debug import CommonResponseObjDebug from eZmaxApi.models.common_response_obj_debug_payload import CommonResponseObjDebugPayload from eZmaxApi.models.ezsigndocument_get_attachments_v1_response_m_payload import EzsigndocumentGetAttachmentsV1ResponseMPayload from typing import Optional, Set from typing_extensions import Self -class EzsigndocumentGetAttachmentsV1Response(CommonResponse): +class EzsigndocumentGetAttachmentsV1Response(BaseModel): """ Response for GET /1/object/ezsigndocument/{pkiEzsigndocumentID}/getAttachments """ # noqa: E501 + obj_debug_payload: CommonResponseObjDebugPayload = Field(alias="objDebugPayload") + obj_debug: Optional[CommonResponseObjDebug] = Field(default=None, alias="objDebug") m_payload: EzsigndocumentGetAttachmentsV1ResponseMPayload = Field(alias="mPayload") __properties: ClassVar[List[str]] = ["objDebugPayload", "objDebug", "mPayload"] diff --git a/eZmaxApi/models/ezsigndocument_get_completed_elements_v1_response.py b/eZmaxApi/models/ezsigndocument_get_completed_elements_v1_response.py index d6335f835..e4e9cf32d 100644 --- a/eZmaxApi/models/ezsigndocument_get_completed_elements_v1_response.py +++ b/eZmaxApi/models/ezsigndocument_get_completed_elements_v1_response.py @@ -18,19 +18,20 @@ import re # noqa: F401 import json -from pydantic import ConfigDict, Field -from typing import Any, ClassVar, Dict, List -from eZmaxApi.models.common_response import CommonResponse +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List, Optional from eZmaxApi.models.common_response_obj_debug import CommonResponseObjDebug from eZmaxApi.models.common_response_obj_debug_payload import CommonResponseObjDebugPayload from eZmaxApi.models.ezsigndocument_get_completed_elements_v1_response_m_payload import EzsigndocumentGetCompletedElementsV1ResponseMPayload from typing import Optional, Set from typing_extensions import Self -class EzsigndocumentGetCompletedElementsV1Response(CommonResponse): +class EzsigndocumentGetCompletedElementsV1Response(BaseModel): """ Response for GET /1/object/ezsigndocument/{pkiEzsigndocumentID}/getCompletedElements """ # noqa: E501 + obj_debug_payload: CommonResponseObjDebugPayload = Field(alias="objDebugPayload") + obj_debug: Optional[CommonResponseObjDebug] = Field(default=None, alias="objDebug") m_payload: EzsigndocumentGetCompletedElementsV1ResponseMPayload = Field(alias="mPayload") __properties: ClassVar[List[str]] = ["objDebugPayload", "objDebug", "mPayload"] diff --git a/eZmaxApi/models/ezsigndocument_get_download_url_v1_response.py b/eZmaxApi/models/ezsigndocument_get_download_url_v1_response.py index e3ab476b2..b800afb01 100644 --- a/eZmaxApi/models/ezsigndocument_get_download_url_v1_response.py +++ b/eZmaxApi/models/ezsigndocument_get_download_url_v1_response.py @@ -18,19 +18,20 @@ import re # noqa: F401 import json -from pydantic import ConfigDict, Field -from typing import Any, ClassVar, Dict, List -from eZmaxApi.models.common_response import CommonResponse +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List, Optional from eZmaxApi.models.common_response_obj_debug import CommonResponseObjDebug from eZmaxApi.models.common_response_obj_debug_payload import CommonResponseObjDebugPayload from eZmaxApi.models.ezsigndocument_get_download_url_v1_response_m_payload import EzsigndocumentGetDownloadUrlV1ResponseMPayload from typing import Optional, Set from typing_extensions import Self -class EzsigndocumentGetDownloadUrlV1Response(CommonResponse): +class EzsigndocumentGetDownloadUrlV1Response(BaseModel): """ Response for GET /1/object/ezsigndocument/{pkiEzsigndocument}/getDownloadUrl """ # noqa: E501 + obj_debug_payload: CommonResponseObjDebugPayload = Field(alias="objDebugPayload") + obj_debug: Optional[CommonResponseObjDebug] = Field(default=None, alias="objDebug") m_payload: EzsigndocumentGetDownloadUrlV1ResponseMPayload = Field(alias="mPayload") __properties: ClassVar[List[str]] = ["objDebugPayload", "objDebug", "mPayload"] diff --git a/eZmaxApi/models/ezsigndocument_get_ezsignannotations_v1_response.py b/eZmaxApi/models/ezsigndocument_get_ezsignannotations_v1_response.py index b01b3d85b..9c5dac120 100644 --- a/eZmaxApi/models/ezsigndocument_get_ezsignannotations_v1_response.py +++ b/eZmaxApi/models/ezsigndocument_get_ezsignannotations_v1_response.py @@ -18,19 +18,20 @@ import re # noqa: F401 import json -from pydantic import ConfigDict, Field -from typing import Any, ClassVar, Dict, List -from eZmaxApi.models.common_response import CommonResponse +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List, Optional from eZmaxApi.models.common_response_obj_debug import CommonResponseObjDebug from eZmaxApi.models.common_response_obj_debug_payload import CommonResponseObjDebugPayload from eZmaxApi.models.ezsigndocument_get_ezsignannotations_v1_response_m_payload import EzsigndocumentGetEzsignannotationsV1ResponseMPayload from typing import Optional, Set from typing_extensions import Self -class EzsigndocumentGetEzsignannotationsV1Response(CommonResponse): +class EzsigndocumentGetEzsignannotationsV1Response(BaseModel): """ Response for GET /1/object/ezsigndocument/{pkiEzsigndocument}/getEzsignannotations """ # noqa: E501 + obj_debug_payload: CommonResponseObjDebugPayload = Field(alias="objDebugPayload") + obj_debug: Optional[CommonResponseObjDebug] = Field(default=None, alias="objDebug") m_payload: EzsigndocumentGetEzsignannotationsV1ResponseMPayload = Field(alias="mPayload") __properties: ClassVar[List[str]] = ["objDebugPayload", "objDebug", "mPayload"] diff --git a/eZmaxApi/models/ezsigndocument_get_ezsigndiscussions_v1_response.py b/eZmaxApi/models/ezsigndocument_get_ezsigndiscussions_v1_response.py index 1f4444dc5..b2a1cb6d5 100644 --- a/eZmaxApi/models/ezsigndocument_get_ezsigndiscussions_v1_response.py +++ b/eZmaxApi/models/ezsigndocument_get_ezsigndiscussions_v1_response.py @@ -18,19 +18,20 @@ import re # noqa: F401 import json -from pydantic import ConfigDict, Field -from typing import Any, ClassVar, Dict, List -from eZmaxApi.models.common_response import CommonResponse +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List, Optional from eZmaxApi.models.common_response_obj_debug import CommonResponseObjDebug from eZmaxApi.models.common_response_obj_debug_payload import CommonResponseObjDebugPayload from eZmaxApi.models.ezsigndocument_get_ezsigndiscussions_v1_response_m_payload import EzsigndocumentGetEzsigndiscussionsV1ResponseMPayload from typing import Optional, Set from typing_extensions import Self -class EzsigndocumentGetEzsigndiscussionsV1Response(CommonResponse): +class EzsigndocumentGetEzsigndiscussionsV1Response(BaseModel): """ Response for GET /1/object/ezsigndocument/{pkiEzsigndocument}/getEzsigndiscussions """ # noqa: E501 + obj_debug_payload: CommonResponseObjDebugPayload = Field(alias="objDebugPayload") + obj_debug: Optional[CommonResponseObjDebug] = Field(default=None, alias="objDebug") m_payload: EzsigndocumentGetEzsigndiscussionsV1ResponseMPayload = Field(alias="mPayload") __properties: ClassVar[List[str]] = ["objDebugPayload", "objDebug", "mPayload"] diff --git a/eZmaxApi/models/ezsigndocument_get_ezsignformfieldgroups_v1_response.py b/eZmaxApi/models/ezsigndocument_get_ezsignformfieldgroups_v1_response.py index 9a6137dbf..1134fb207 100644 --- a/eZmaxApi/models/ezsigndocument_get_ezsignformfieldgroups_v1_response.py +++ b/eZmaxApi/models/ezsigndocument_get_ezsignformfieldgroups_v1_response.py @@ -18,19 +18,20 @@ import re # noqa: F401 import json -from pydantic import ConfigDict, Field -from typing import Any, ClassVar, Dict, List -from eZmaxApi.models.common_response import CommonResponse +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List, Optional from eZmaxApi.models.common_response_obj_debug import CommonResponseObjDebug from eZmaxApi.models.common_response_obj_debug_payload import CommonResponseObjDebugPayload from eZmaxApi.models.ezsigndocument_get_ezsignformfieldgroups_v1_response_m_payload import EzsigndocumentGetEzsignformfieldgroupsV1ResponseMPayload from typing import Optional, Set from typing_extensions import Self -class EzsigndocumentGetEzsignformfieldgroupsV1Response(CommonResponse): +class EzsigndocumentGetEzsignformfieldgroupsV1Response(BaseModel): """ Response for GET /1/object/ezsigndocument/{pkiEzsigndocument}/getEzsignformfieldgroups """ # noqa: E501 + obj_debug_payload: CommonResponseObjDebugPayload = Field(alias="objDebugPayload") + obj_debug: Optional[CommonResponseObjDebug] = Field(default=None, alias="objDebug") m_payload: EzsigndocumentGetEzsignformfieldgroupsV1ResponseMPayload = Field(alias="mPayload") __properties: ClassVar[List[str]] = ["objDebugPayload", "objDebug", "mPayload"] diff --git a/eZmaxApi/models/ezsigndocument_get_ezsignpages_v1_response.py b/eZmaxApi/models/ezsigndocument_get_ezsignpages_v1_response.py index 9c876249f..160946b83 100644 --- a/eZmaxApi/models/ezsigndocument_get_ezsignpages_v1_response.py +++ b/eZmaxApi/models/ezsigndocument_get_ezsignpages_v1_response.py @@ -18,19 +18,20 @@ import re # noqa: F401 import json -from pydantic import ConfigDict, Field -from typing import Any, ClassVar, Dict, List -from eZmaxApi.models.common_response import CommonResponse +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List, Optional from eZmaxApi.models.common_response_obj_debug import CommonResponseObjDebug from eZmaxApi.models.common_response_obj_debug_payload import CommonResponseObjDebugPayload from eZmaxApi.models.ezsigndocument_get_ezsignpages_v1_response_m_payload import EzsigndocumentGetEzsignpagesV1ResponseMPayload from typing import Optional, Set from typing_extensions import Self -class EzsigndocumentGetEzsignpagesV1Response(CommonResponse): +class EzsigndocumentGetEzsignpagesV1Response(BaseModel): """ Response for GET /1/object/ezsigndocument/{pkiEzsigndocument}/getEzsignpages """ # noqa: E501 + obj_debug_payload: CommonResponseObjDebugPayload = Field(alias="objDebugPayload") + obj_debug: Optional[CommonResponseObjDebug] = Field(default=None, alias="objDebug") m_payload: EzsigndocumentGetEzsignpagesV1ResponseMPayload = Field(alias="mPayload") __properties: ClassVar[List[str]] = ["objDebugPayload", "objDebug", "mPayload"] diff --git a/eZmaxApi/models/ezsigndocument_get_ezsignpages_v1_response_m_payload.py b/eZmaxApi/models/ezsigndocument_get_ezsignpages_v1_response_m_payload.py index dd1532b31..72404f77b 100644 --- a/eZmaxApi/models/ezsigndocument_get_ezsignpages_v1_response_m_payload.py +++ b/eZmaxApi/models/ezsigndocument_get_ezsignpages_v1_response_m_payload.py @@ -20,7 +20,7 @@ from pydantic import BaseModel, ConfigDict, Field from typing import Any, ClassVar, Dict, List -from eZmaxApi.models.ezsignpage_response import EzsignpageResponse +from eZmaxApi.models.ezsignpage_response_compound import EzsignpageResponseCompound from typing import Optional, Set from typing_extensions import Self @@ -28,7 +28,7 @@ class EzsigndocumentGetEzsignpagesV1ResponseMPayload(BaseModel): """ Payload for GET /1/object/ezsigndocument/{pkiEzsigndocument}/getEzsignpages """ # noqa: E501 - a_obj_ezsignpage: List[EzsignpageResponse] = Field(alias="a_objEzsignpage") + a_obj_ezsignpage: List[EzsignpageResponseCompound] = Field(alias="a_objEzsignpage") __properties: ClassVar[List[str]] = ["a_objEzsignpage"] model_config = ConfigDict( @@ -89,7 +89,7 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: return cls.model_validate(obj) _obj = cls.model_validate({ - "a_objEzsignpage": [EzsignpageResponse.from_dict(_item) for _item in obj["a_objEzsignpage"]] if obj.get("a_objEzsignpage") is not None else None + "a_objEzsignpage": [EzsignpageResponseCompound.from_dict(_item) for _item in obj["a_objEzsignpage"]] if obj.get("a_objEzsignpage") is not None else None }) return _obj diff --git a/eZmaxApi/models/ezsigndocument_get_ezsignsignatures_automatic_v1_response.py b/eZmaxApi/models/ezsigndocument_get_ezsignsignatures_automatic_v1_response.py index 5e686526d..09e951ed3 100644 --- a/eZmaxApi/models/ezsigndocument_get_ezsignsignatures_automatic_v1_response.py +++ b/eZmaxApi/models/ezsigndocument_get_ezsignsignatures_automatic_v1_response.py @@ -18,19 +18,20 @@ import re # noqa: F401 import json -from pydantic import ConfigDict, Field -from typing import Any, ClassVar, Dict, List -from eZmaxApi.models.common_response import CommonResponse +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List, Optional from eZmaxApi.models.common_response_obj_debug import CommonResponseObjDebug from eZmaxApi.models.common_response_obj_debug_payload import CommonResponseObjDebugPayload from eZmaxApi.models.ezsigndocument_get_ezsignsignatures_automatic_v1_response_m_payload import EzsigndocumentGetEzsignsignaturesAutomaticV1ResponseMPayload from typing import Optional, Set from typing_extensions import Self -class EzsigndocumentGetEzsignsignaturesAutomaticV1Response(CommonResponse): +class EzsigndocumentGetEzsignsignaturesAutomaticV1Response(BaseModel): """ Response for GET /1/object/ezsigndocument/{pkiEzsigndocumentID}/getEzsignsignaturesAutomatic """ # noqa: E501 + obj_debug_payload: CommonResponseObjDebugPayload = Field(alias="objDebugPayload") + obj_debug: Optional[CommonResponseObjDebug] = Field(default=None, alias="objDebug") m_payload: EzsigndocumentGetEzsignsignaturesAutomaticV1ResponseMPayload = Field(alias="mPayload") __properties: ClassVar[List[str]] = ["objDebugPayload", "objDebug", "mPayload"] diff --git a/eZmaxApi/models/ezsigndocument_get_ezsignsignatures_v1_response.py b/eZmaxApi/models/ezsigndocument_get_ezsignsignatures_v1_response.py index f109d1cda..a8eb6a1d0 100644 --- a/eZmaxApi/models/ezsigndocument_get_ezsignsignatures_v1_response.py +++ b/eZmaxApi/models/ezsigndocument_get_ezsignsignatures_v1_response.py @@ -18,19 +18,20 @@ import re # noqa: F401 import json -from pydantic import ConfigDict, Field -from typing import Any, ClassVar, Dict, List -from eZmaxApi.models.common_response import CommonResponse +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List, Optional from eZmaxApi.models.common_response_obj_debug import CommonResponseObjDebug from eZmaxApi.models.common_response_obj_debug_payload import CommonResponseObjDebugPayload from eZmaxApi.models.ezsigndocument_get_ezsignsignatures_v1_response_m_payload import EzsigndocumentGetEzsignsignaturesV1ResponseMPayload from typing import Optional, Set from typing_extensions import Self -class EzsigndocumentGetEzsignsignaturesV1Response(CommonResponse): +class EzsigndocumentGetEzsignsignaturesV1Response(BaseModel): """ Response for GET /1/object/ezsigndocument/{pkiEzsigndocument}/getEzsignsignatures """ # noqa: E501 + obj_debug_payload: CommonResponseObjDebugPayload = Field(alias="objDebugPayload") + obj_debug: Optional[CommonResponseObjDebug] = Field(default=None, alias="objDebug") m_payload: EzsigndocumentGetEzsignsignaturesV1ResponseMPayload = Field(alias="mPayload") __properties: ClassVar[List[str]] = ["objDebugPayload", "objDebug", "mPayload"] diff --git a/eZmaxApi/models/ezsigndocument_get_form_data_v1_response.py b/eZmaxApi/models/ezsigndocument_get_form_data_v1_response.py index 221922c4e..1276c7f95 100644 --- a/eZmaxApi/models/ezsigndocument_get_form_data_v1_response.py +++ b/eZmaxApi/models/ezsigndocument_get_form_data_v1_response.py @@ -18,19 +18,20 @@ import re # noqa: F401 import json -from pydantic import ConfigDict, Field -from typing import Any, ClassVar, Dict, List -from eZmaxApi.models.common_response import CommonResponse +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List, Optional from eZmaxApi.models.common_response_obj_debug import CommonResponseObjDebug from eZmaxApi.models.common_response_obj_debug_payload import CommonResponseObjDebugPayload from eZmaxApi.models.ezsigndocument_get_form_data_v1_response_m_payload import EzsigndocumentGetFormDataV1ResponseMPayload from typing import Optional, Set from typing_extensions import Self -class EzsigndocumentGetFormDataV1Response(CommonResponse): +class EzsigndocumentGetFormDataV1Response(BaseModel): """ Response for GET /1/object/ezsigndocument/{pkiEzsigndocument}/getFormData """ # noqa: E501 + obj_debug_payload: CommonResponseObjDebugPayload = Field(alias="objDebugPayload") + obj_debug: Optional[CommonResponseObjDebug] = Field(default=None, alias="objDebug") m_payload: EzsigndocumentGetFormDataV1ResponseMPayload = Field(alias="mPayload") __properties: ClassVar[List[str]] = ["objDebugPayload", "objDebug", "mPayload"] diff --git a/eZmaxApi/models/ezsigndocument_get_object_v1_response.py b/eZmaxApi/models/ezsigndocument_get_object_v1_response.py index 38df0d527..cb901b5ca 100644 --- a/eZmaxApi/models/ezsigndocument_get_object_v1_response.py +++ b/eZmaxApi/models/ezsigndocument_get_object_v1_response.py @@ -18,20 +18,21 @@ import re # noqa: F401 import json -from pydantic import ConfigDict, Field -from typing import Any, ClassVar, Dict, List -from eZmaxApi.models.common_response import CommonResponse +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List, Optional from eZmaxApi.models.common_response_obj_debug import CommonResponseObjDebug from eZmaxApi.models.common_response_obj_debug_payload import CommonResponseObjDebugPayload -from eZmaxApi.models.ezsigndocument_response_compound import EzsigndocumentResponseCompound +from eZmaxApi.models.ezsigndocument_get_object_v1_response_m_payload import EzsigndocumentGetObjectV1ResponseMPayload from typing import Optional, Set from typing_extensions import Self -class EzsigndocumentGetObjectV1Response(CommonResponse): +class EzsigndocumentGetObjectV1Response(BaseModel): """ Response for GET /1/object/ezsigndocument/{pkiEzsigndocumentID} """ # noqa: E501 - m_payload: EzsigndocumentResponseCompound = Field(description="Payload for GET /1/object/ezsigndocument/{pkiEzsigndocumentID}", alias="mPayload") + obj_debug_payload: CommonResponseObjDebugPayload = Field(alias="objDebugPayload") + obj_debug: Optional[CommonResponseObjDebug] = Field(default=None, alias="objDebug") + m_payload: EzsigndocumentGetObjectV1ResponseMPayload = Field(alias="mPayload") __properties: ClassVar[List[str]] = ["objDebugPayload", "objDebug", "mPayload"] model_config = ConfigDict( @@ -96,7 +97,7 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: _obj = cls.model_validate({ "objDebugPayload": CommonResponseObjDebugPayload.from_dict(obj["objDebugPayload"]) if obj.get("objDebugPayload") is not None else None, "objDebug": CommonResponseObjDebug.from_dict(obj["objDebug"]) if obj.get("objDebug") is not None else None, - "mPayload": EzsigndocumentResponseCompound.from_dict(obj["mPayload"]) if obj.get("mPayload") is not None else None + "mPayload": EzsigndocumentGetObjectV1ResponseMPayload.from_dict(obj["mPayload"]) if obj.get("mPayload") is not None else None }) return _obj diff --git a/eZmaxApi/models/ezsigndocument_get_object_v1_response_m_payload.py b/eZmaxApi/models/ezsigndocument_get_object_v1_response_m_payload.py index 877699343..33e8b2579 100644 --- a/eZmaxApi/models/ezsigndocument_get_object_v1_response_m_payload.py +++ b/eZmaxApi/models/ezsigndocument_get_object_v1_response_m_payload.py @@ -18,23 +18,64 @@ import re # noqa: F401 import json -from pydantic import ConfigDict -from typing import Any, ClassVar, Dict, List +from pydantic import BaseModel, ConfigDict, Field, StrictBool, StrictInt, StrictStr, field_validator +from typing import Any, ClassVar, Dict, List, Optional +from typing_extensions import Annotated from eZmaxApi.models.common_audit import CommonAudit from eZmaxApi.models.computed_e_ezsigndocument_steptype import ComputedEEzsigndocumentSteptype from eZmaxApi.models.custom_ezsignfoldersignerassociationstatus_response import CustomEzsignfoldersignerassociationstatusResponse -from eZmaxApi.models.ezsigndocument_response_compound import EzsigndocumentResponseCompound from eZmaxApi.models.ezsigndocumentdependency_response import EzsigndocumentdependencyResponse from eZmaxApi.models.field_e_ezsigndocument_step import FieldEEzsigndocumentStep from typing import Optional, Set from typing_extensions import Self -class EzsigndocumentGetObjectV1ResponseMPayload(EzsigndocumentResponseCompound): +class EzsigndocumentGetObjectV1ResponseMPayload(BaseModel): """ Payload for GET /1/object/ezsigndocument/{pkiEzsigndocumentID} """ # noqa: E501 + pki_ezsigndocument_id: Annotated[int, Field(strict=True, ge=0)] = Field(description="The unique ID of the Ezsigndocument", alias="pkiEzsigndocumentID") + fki_ezsignfolder_id: Annotated[int, Field(strict=True, ge=0)] = Field(description="The unique ID of the Ezsignfolder", alias="fkiEzsignfolderID") + fki_ezsignfoldersignerassociation_id_declinedtosign: Optional[Annotated[int, Field(strict=True, ge=0)]] = Field(default=None, description="The unique ID of the Ezsignfoldersignerassociation", alias="fkiEzsignfoldersignerassociationIDDeclinedtosign") + dt_ezsigndocument_duedate: StrictStr = Field(description="The maximum date and time at which the Ezsigndocument can be signed.", alias="dtEzsigndocumentDuedate") + dt_ezsignform_completed: Optional[StrictStr] = Field(default=None, description="The date and time at which the Ezsignform has been completed.", alias="dtEzsignformCompleted") + fki_language_id: Optional[Annotated[int, Field(le=2, strict=True, ge=1)]] = Field(default=None, description="The unique ID of the Language. Valid values: |Value|Description| |-|-| |1|French| |2|English|", alias="fkiLanguageID") + s_ezsigndocument_name: StrictStr = Field(description="The name of the document that will be presented to Ezsignfoldersignerassociations", alias="sEzsigndocumentName") + e_ezsigndocument_step: FieldEEzsigndocumentStep = Field(alias="eEzsigndocumentStep") + dt_ezsigndocument_firstsend: Optional[StrictStr] = Field(default=None, description="The date and time when the Ezsigndocument was first sent.", alias="dtEzsigndocumentFirstsend") + dt_ezsigndocument_lastsend: Optional[StrictStr] = Field(default=None, description="The date and time when the Ezsigndocument was sent the last time.", alias="dtEzsigndocumentLastsend") + i_ezsigndocument_order: Annotated[int, Field(strict=True, ge=1)] = Field(description="The order in which the Ezsigndocument will be presented to the signatory in the Ezsignfolder.", alias="iEzsigndocumentOrder") + i_ezsigndocument_pagetotal: Annotated[int, Field(strict=True, ge=1)] = Field(description="The number of pages in the Ezsigndocument.", alias="iEzsigndocumentPagetotal") + i_ezsigndocument_signaturesigned: Annotated[int, Field(strict=True, ge=0)] = Field(description="The number of signatures that were signed in the document.", alias="iEzsigndocumentSignaturesigned") + i_ezsigndocument_signaturetotal: Annotated[int, Field(strict=True, ge=0)] = Field(description="The number of total signatures that were requested in the Ezsigndocument.", alias="iEzsigndocumentSignaturetotal") + i_ezsigndocument_formfieldtotal: Annotated[int, Field(strict=True, ge=0)] = Field(description="The number of total Ezsignformfield that were requested in the Ezsigndocument.", alias="iEzsigndocumentFormfieldtotal") + s_ezsigndocument_md5initial: Optional[StrictStr] = Field(default=None, description="MD5 Hash of the initial PDF Document before signatures were applied to it.", alias="sEzsigndocumentMD5initial") + t_ezsigndocument_declinedtosignreason: Optional[StrictStr] = Field(default=None, description="A custom text message that will contain the refusal message if the Ezsigndocument is declined to sign", alias="tEzsigndocumentDeclinedtosignreason") + s_ezsigndocument_md5signed: Optional[StrictStr] = Field(default=None, description="MD5 Hash of the final PDF Document after all signatures were applied to it.", alias="sEzsigndocumentMD5signed") + b_ezsigndocument_ezsignform: Optional[StrictBool] = Field(default=None, description="If the Ezsigndocument contains an Ezsignform or not", alias="bEzsigndocumentEzsignform") + b_ezsigndocument_hassignedsignatures: Optional[StrictBool] = Field(default=None, description="If the Ezsigndocument contains signed signatures (From internal or external sources)", alias="bEzsigndocumentHassignedsignatures") + obj_audit: Optional[CommonAudit] = Field(default=None, alias="objAudit") + s_ezsigndocument_externalid: Optional[Annotated[str, Field(strict=True)]] = Field(default=None, description="This field can be used to store an External ID from the client's system. Anything can be stored in this field, it will never be evaluated by the eZmax system and will be returned AS-IS. To store multiple values, consider using a JSON formatted structure, a URL encoded string, a CSV or any other custom format. ", alias="sEzsigndocumentExternalid") + i_ezsigndocument_ezsignsignatureattachmenttotal: Annotated[int, Field(strict=True, ge=0)] = Field(description="The number of Ezsigndocumentattachment total", alias="iEzsigndocumentEzsignsignatureattachmenttotal") + i_ezsigndocument_ezsigndiscussiontotal: StrictInt = Field(description="The total number of Ezsigndiscussions", alias="iEzsigndocumentEzsigndiscussiontotal") + e_ezsigndocument_steptype: ComputedEEzsigndocumentSteptype = Field(alias="eEzsigndocumentSteptype") + i_ezsigndocument_stepformtotal: StrictInt = Field(description="The total number of steps in the form filling phase", alias="iEzsigndocumentStepformtotal") + i_ezsigndocument_stepformcurrent: StrictInt = Field(description="The current step in the form filling phase", alias="iEzsigndocumentStepformcurrent") + i_ezsigndocument_stepsignaturetotal: StrictInt = Field(description="The total number of steps in the signature filling phase", alias="iEzsigndocumentStepsignaturetotal") + i_ezsigndocument_stepsignature_current: StrictInt = Field(description="The current step in the signature phase", alias="iEzsigndocumentStepsignatureCurrent") + a_obj_ezsignfoldersignerassociationstatus: List[CustomEzsignfoldersignerassociationstatusResponse] = Field(alias="a_objEzsignfoldersignerassociationstatus") + a_obj_ezsigndocumentdependency: Optional[List[EzsigndocumentdependencyResponse]] = Field(default=None, alias="a_objEzsigndocumentdependency") __properties: ClassVar[List[str]] = ["pkiEzsigndocumentID", "fkiEzsignfolderID", "fkiEzsignfoldersignerassociationIDDeclinedtosign", "dtEzsigndocumentDuedate", "dtEzsignformCompleted", "fkiLanguageID", "sEzsigndocumentName", "eEzsigndocumentStep", "dtEzsigndocumentFirstsend", "dtEzsigndocumentLastsend", "iEzsigndocumentOrder", "iEzsigndocumentPagetotal", "iEzsigndocumentSignaturesigned", "iEzsigndocumentSignaturetotal", "iEzsigndocumentFormfieldtotal", "sEzsigndocumentMD5initial", "tEzsigndocumentDeclinedtosignreason", "sEzsigndocumentMD5signed", "bEzsigndocumentEzsignform", "bEzsigndocumentHassignedsignatures", "objAudit", "sEzsigndocumentExternalid", "iEzsigndocumentEzsignsignatureattachmenttotal", "iEzsigndocumentEzsigndiscussiontotal", "eEzsigndocumentSteptype", "iEzsigndocumentStepformtotal", "iEzsigndocumentStepformcurrent", "iEzsigndocumentStepsignaturetotal", "iEzsigndocumentStepsignatureCurrent", "a_objEzsignfoldersignerassociationstatus", "a_objEzsigndocumentdependency"] + @field_validator('s_ezsigndocument_externalid') + def s_ezsigndocument_externalid_validate_regular_expression(cls, value): + """Validates the regular expression""" + if value is None: + return value + + if not re.match(r"^.{0,128}$", value): + raise ValueError(r"must validate the regular expression /^.{0,128}$/") + return value + model_config = ConfigDict( populate_by_name=True, validate_assignment=True, diff --git a/eZmaxApi/models/ezsigndocument_get_object_v2_response.py b/eZmaxApi/models/ezsigndocument_get_object_v2_response.py index 317b95311..7ca68a85a 100644 --- a/eZmaxApi/models/ezsigndocument_get_object_v2_response.py +++ b/eZmaxApi/models/ezsigndocument_get_object_v2_response.py @@ -18,19 +18,20 @@ import re # noqa: F401 import json -from pydantic import ConfigDict, Field -from typing import Any, ClassVar, Dict, List -from eZmaxApi.models.common_response import CommonResponse +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List, Optional from eZmaxApi.models.common_response_obj_debug import CommonResponseObjDebug from eZmaxApi.models.common_response_obj_debug_payload import CommonResponseObjDebugPayload from eZmaxApi.models.ezsigndocument_get_object_v2_response_m_payload import EzsigndocumentGetObjectV2ResponseMPayload from typing import Optional, Set from typing_extensions import Self -class EzsigndocumentGetObjectV2Response(CommonResponse): +class EzsigndocumentGetObjectV2Response(BaseModel): """ Response for GET /2/object/ezsigndocument/{pkiEzsigndocumentID} """ # noqa: E501 + obj_debug_payload: CommonResponseObjDebugPayload = Field(alias="objDebugPayload") + obj_debug: Optional[CommonResponseObjDebug] = Field(default=None, alias="objDebug") m_payload: EzsigndocumentGetObjectV2ResponseMPayload = Field(alias="mPayload") __properties: ClassVar[List[str]] = ["objDebugPayload", "objDebug", "mPayload"] diff --git a/eZmaxApi/models/ezsigndocument_get_temporary_proof_v1_response.py b/eZmaxApi/models/ezsigndocument_get_temporary_proof_v1_response.py index 0e6ddcbc9..8a0b0fbb1 100644 --- a/eZmaxApi/models/ezsigndocument_get_temporary_proof_v1_response.py +++ b/eZmaxApi/models/ezsigndocument_get_temporary_proof_v1_response.py @@ -18,19 +18,20 @@ import re # noqa: F401 import json -from pydantic import ConfigDict, Field -from typing import Any, ClassVar, Dict, List -from eZmaxApi.models.common_response import CommonResponse +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List, Optional from eZmaxApi.models.common_response_obj_debug import CommonResponseObjDebug from eZmaxApi.models.common_response_obj_debug_payload import CommonResponseObjDebugPayload from eZmaxApi.models.ezsigndocument_get_temporary_proof_v1_response_m_payload import EzsigndocumentGetTemporaryProofV1ResponseMPayload from typing import Optional, Set from typing_extensions import Self -class EzsigndocumentGetTemporaryProofV1Response(CommonResponse): +class EzsigndocumentGetTemporaryProofV1Response(BaseModel): """ Response for GET /1/object/ezsigndocument/{pkiEzsigndocumentID}/getTemporaryProof """ # noqa: E501 + obj_debug_payload: CommonResponseObjDebugPayload = Field(alias="objDebugPayload") + obj_debug: Optional[CommonResponseObjDebug] = Field(default=None, alias="objDebug") m_payload: EzsigndocumentGetTemporaryProofV1ResponseMPayload = Field(alias="mPayload") __properties: ClassVar[List[str]] = ["objDebugPayload", "objDebug", "mPayload"] diff --git a/eZmaxApi/models/ezsigndocument_get_temporary_proof_v1_response_m_payload.py b/eZmaxApi/models/ezsigndocument_get_temporary_proof_v1_response_m_payload.py index 4bad7cb41..c2f9e815a 100644 --- a/eZmaxApi/models/ezsigndocument_get_temporary_proof_v1_response_m_payload.py +++ b/eZmaxApi/models/ezsigndocument_get_temporary_proof_v1_response_m_payload.py @@ -20,7 +20,7 @@ from pydantic import BaseModel, ConfigDict, Field from typing import Any, ClassVar, Dict, List -from eZmaxApi.models.ezsigndocumentlog_response import EzsigndocumentlogResponse +from eZmaxApi.models.ezsigndocumentlog_response_compound import EzsigndocumentlogResponseCompound from typing import Optional, Set from typing_extensions import Self @@ -28,7 +28,7 @@ class EzsigndocumentGetTemporaryProofV1ResponseMPayload(BaseModel): """ Payload for GET /1/object/ezsigndocument/{pkiEzsigndocumentID}/getTemporaryProof """ # noqa: E501 - a_obj_ezsigndocumentlog: List[EzsigndocumentlogResponse] = Field(alias="a_objEzsigndocumentlog") + a_obj_ezsigndocumentlog: List[EzsigndocumentlogResponseCompound] = Field(alias="a_objEzsigndocumentlog") __properties: ClassVar[List[str]] = ["a_objEzsigndocumentlog"] model_config = ConfigDict( @@ -89,7 +89,7 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: return cls.model_validate(obj) _obj = cls.model_validate({ - "a_objEzsigndocumentlog": [EzsigndocumentlogResponse.from_dict(_item) for _item in obj["a_objEzsigndocumentlog"]] if obj.get("a_objEzsigndocumentlog") is not None else None + "a_objEzsigndocumentlog": [EzsigndocumentlogResponseCompound.from_dict(_item) for _item in obj["a_objEzsigndocumentlog"]] if obj.get("a_objEzsigndocumentlog") is not None else None }) return _obj diff --git a/eZmaxApi/models/ezsigndocument_get_words_positions_v1_response.py b/eZmaxApi/models/ezsigndocument_get_words_positions_v1_response.py index 0eefe5433..ccea211dc 100644 --- a/eZmaxApi/models/ezsigndocument_get_words_positions_v1_response.py +++ b/eZmaxApi/models/ezsigndocument_get_words_positions_v1_response.py @@ -18,19 +18,20 @@ import re # noqa: F401 import json -from pydantic import ConfigDict, Field -from typing import Any, ClassVar, Dict, List -from eZmaxApi.models.common_response import CommonResponse +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List, Optional from eZmaxApi.models.common_response_obj_debug import CommonResponseObjDebug from eZmaxApi.models.common_response_obj_debug_payload import CommonResponseObjDebugPayload from eZmaxApi.models.custom_word_position_word_response import CustomWordPositionWordResponse from typing import Optional, Set from typing_extensions import Self -class EzsigndocumentGetWordsPositionsV1Response(CommonResponse): +class EzsigndocumentGetWordsPositionsV1Response(BaseModel): """ Response for POST /1/object/ezsigndocument/{pkiEzsigndocumentID}/getWordsPositions """ # noqa: E501 + obj_debug_payload: CommonResponseObjDebugPayload = Field(alias="objDebugPayload") + obj_debug: Optional[CommonResponseObjDebug] = Field(default=None, alias="objDebug") m_payload: List[CustomWordPositionWordResponse] = Field(description="Payload for POST /1/object/ezsigndocument/{pkiEzsigndocumentID}/getWordsPositions", alias="mPayload") __properties: ClassVar[List[str]] = ["objDebugPayload", "objDebug", "mPayload"] diff --git a/eZmaxApi/models/ezsigndocument_patch_object_v1_response.py b/eZmaxApi/models/ezsigndocument_patch_object_v1_response.py index ab4a86472..0b335ee55 100644 --- a/eZmaxApi/models/ezsigndocument_patch_object_v1_response.py +++ b/eZmaxApi/models/ezsigndocument_patch_object_v1_response.py @@ -18,18 +18,19 @@ import re # noqa: F401 import json -from pydantic import ConfigDict -from typing import Any, ClassVar, Dict, List -from eZmaxApi.models.common_response import CommonResponse +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List, Optional from eZmaxApi.models.common_response_obj_debug import CommonResponseObjDebug from eZmaxApi.models.common_response_obj_debug_payload import CommonResponseObjDebugPayload from typing import Optional, Set from typing_extensions import Self -class EzsigndocumentPatchObjectV1Response(CommonResponse): +class EzsigndocumentPatchObjectV1Response(BaseModel): """ Response for PATCH /1/object/ezsigndocument/{pkiEzsigndocumentID} """ # noqa: E501 + obj_debug_payload: CommonResponseObjDebugPayload = Field(alias="objDebugPayload") + obj_debug: Optional[CommonResponseObjDebug] = Field(default=None, alias="objDebug") __properties: ClassVar[List[str]] = ["objDebugPayload", "objDebug"] model_config = ConfigDict( diff --git a/eZmaxApi/models/ezsigndocument_response.py b/eZmaxApi/models/ezsigndocument_response.py index f7060ba84..5fdbe0c53 100644 --- a/eZmaxApi/models/ezsigndocument_response.py +++ b/eZmaxApi/models/ezsigndocument_response.py @@ -111,7 +111,40 @@ def to_dict(self) -> Dict[str, Any]: return _dict @classmethod - def from_dict(cls, obj: Dict[str, Any]) -> Optional[Self]: + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: """Create an instance of EzsigndocumentResponse from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "pkiEzsigndocumentID": obj.get("pkiEzsigndocumentID"), + "fkiEzsignfolderID": obj.get("fkiEzsignfolderID"), + "fkiEzsignfoldersignerassociationIDDeclinedtosign": obj.get("fkiEzsignfoldersignerassociationIDDeclinedtosign"), + "dtEzsigndocumentDuedate": obj.get("dtEzsigndocumentDuedate"), + "dtEzsignformCompleted": obj.get("dtEzsignformCompleted"), + "fkiLanguageID": obj.get("fkiLanguageID"), + "sEzsigndocumentName": obj.get("sEzsigndocumentName"), + "eEzsigndocumentStep": obj.get("eEzsigndocumentStep"), + "dtEzsigndocumentFirstsend": obj.get("dtEzsigndocumentFirstsend"), + "dtEzsigndocumentLastsend": obj.get("dtEzsigndocumentLastsend"), + "iEzsigndocumentOrder": obj.get("iEzsigndocumentOrder"), + "iEzsigndocumentPagetotal": obj.get("iEzsigndocumentPagetotal"), + "iEzsigndocumentSignaturesigned": obj.get("iEzsigndocumentSignaturesigned"), + "iEzsigndocumentSignaturetotal": obj.get("iEzsigndocumentSignaturetotal"), + "iEzsigndocumentFormfieldtotal": obj.get("iEzsigndocumentFormfieldtotal"), + "sEzsigndocumentMD5initial": obj.get("sEzsigndocumentMD5initial"), + "tEzsigndocumentDeclinedtosignreason": obj.get("tEzsigndocumentDeclinedtosignreason"), + "sEzsigndocumentMD5signed": obj.get("sEzsigndocumentMD5signed"), + "bEzsigndocumentEzsignform": obj.get("bEzsigndocumentEzsignform"), + "bEzsigndocumentHassignedsignatures": obj.get("bEzsigndocumentHassignedsignatures"), + "objAudit": CommonAudit.from_dict(obj["objAudit"]) if obj.get("objAudit") is not None else None, + "sEzsigndocumentExternalid": obj.get("sEzsigndocumentExternalid"), + "iEzsigndocumentEzsignsignatureattachmenttotal": obj.get("iEzsigndocumentEzsignsignatureattachmenttotal"), + "iEzsigndocumentEzsigndiscussiontotal": obj.get("iEzsigndocumentEzsigndiscussiontotal") + }) + return _obj diff --git a/eZmaxApi/models/ezsigndocument_response_compound.py b/eZmaxApi/models/ezsigndocument_response_compound.py index e34eeb7b5..ac92fd8c6 100644 --- a/eZmaxApi/models/ezsigndocument_response_compound.py +++ b/eZmaxApi/models/ezsigndocument_response_compound.py @@ -18,21 +18,45 @@ import re # noqa: F401 import json -from pydantic import ConfigDict, Field, StrictInt +from pydantic import BaseModel, ConfigDict, Field, StrictBool, StrictInt, StrictStr, field_validator from typing import Any, ClassVar, Dict, List, Optional +from typing_extensions import Annotated from eZmaxApi.models.common_audit import CommonAudit from eZmaxApi.models.computed_e_ezsigndocument_steptype import ComputedEEzsigndocumentSteptype from eZmaxApi.models.custom_ezsignfoldersignerassociationstatus_response import CustomEzsignfoldersignerassociationstatusResponse -from eZmaxApi.models.ezsigndocument_response import EzsigndocumentResponse from eZmaxApi.models.ezsigndocumentdependency_response import EzsigndocumentdependencyResponse from eZmaxApi.models.field_e_ezsigndocument_step import FieldEEzsigndocumentStep from typing import Optional, Set from typing_extensions import Self -class EzsigndocumentResponseCompound(EzsigndocumentResponse): +class EzsigndocumentResponseCompound(BaseModel): """ An Ezsigndocument Object and children to create a complete structure """ # noqa: E501 + pki_ezsigndocument_id: Annotated[int, Field(strict=True, ge=0)] = Field(description="The unique ID of the Ezsigndocument", alias="pkiEzsigndocumentID") + fki_ezsignfolder_id: Annotated[int, Field(strict=True, ge=0)] = Field(description="The unique ID of the Ezsignfolder", alias="fkiEzsignfolderID") + fki_ezsignfoldersignerassociation_id_declinedtosign: Optional[Annotated[int, Field(strict=True, ge=0)]] = Field(default=None, description="The unique ID of the Ezsignfoldersignerassociation", alias="fkiEzsignfoldersignerassociationIDDeclinedtosign") + dt_ezsigndocument_duedate: StrictStr = Field(description="The maximum date and time at which the Ezsigndocument can be signed.", alias="dtEzsigndocumentDuedate") + dt_ezsignform_completed: Optional[StrictStr] = Field(default=None, description="The date and time at which the Ezsignform has been completed.", alias="dtEzsignformCompleted") + fki_language_id: Optional[Annotated[int, Field(le=2, strict=True, ge=1)]] = Field(default=None, description="The unique ID of the Language. Valid values: |Value|Description| |-|-| |1|French| |2|English|", alias="fkiLanguageID") + s_ezsigndocument_name: StrictStr = Field(description="The name of the document that will be presented to Ezsignfoldersignerassociations", alias="sEzsigndocumentName") + e_ezsigndocument_step: FieldEEzsigndocumentStep = Field(alias="eEzsigndocumentStep") + dt_ezsigndocument_firstsend: Optional[StrictStr] = Field(default=None, description="The date and time when the Ezsigndocument was first sent.", alias="dtEzsigndocumentFirstsend") + dt_ezsigndocument_lastsend: Optional[StrictStr] = Field(default=None, description="The date and time when the Ezsigndocument was sent the last time.", alias="dtEzsigndocumentLastsend") + i_ezsigndocument_order: Annotated[int, Field(strict=True, ge=1)] = Field(description="The order in which the Ezsigndocument will be presented to the signatory in the Ezsignfolder.", alias="iEzsigndocumentOrder") + i_ezsigndocument_pagetotal: Annotated[int, Field(strict=True, ge=1)] = Field(description="The number of pages in the Ezsigndocument.", alias="iEzsigndocumentPagetotal") + i_ezsigndocument_signaturesigned: Annotated[int, Field(strict=True, ge=0)] = Field(description="The number of signatures that were signed in the document.", alias="iEzsigndocumentSignaturesigned") + i_ezsigndocument_signaturetotal: Annotated[int, Field(strict=True, ge=0)] = Field(description="The number of total signatures that were requested in the Ezsigndocument.", alias="iEzsigndocumentSignaturetotal") + i_ezsigndocument_formfieldtotal: Annotated[int, Field(strict=True, ge=0)] = Field(description="The number of total Ezsignformfield that were requested in the Ezsigndocument.", alias="iEzsigndocumentFormfieldtotal") + s_ezsigndocument_md5initial: Optional[StrictStr] = Field(default=None, description="MD5 Hash of the initial PDF Document before signatures were applied to it.", alias="sEzsigndocumentMD5initial") + t_ezsigndocument_declinedtosignreason: Optional[StrictStr] = Field(default=None, description="A custom text message that will contain the refusal message if the Ezsigndocument is declined to sign", alias="tEzsigndocumentDeclinedtosignreason") + s_ezsigndocument_md5signed: Optional[StrictStr] = Field(default=None, description="MD5 Hash of the final PDF Document after all signatures were applied to it.", alias="sEzsigndocumentMD5signed") + b_ezsigndocument_ezsignform: Optional[StrictBool] = Field(default=None, description="If the Ezsigndocument contains an Ezsignform or not", alias="bEzsigndocumentEzsignform") + b_ezsigndocument_hassignedsignatures: Optional[StrictBool] = Field(default=None, description="If the Ezsigndocument contains signed signatures (From internal or external sources)", alias="bEzsigndocumentHassignedsignatures") + obj_audit: Optional[CommonAudit] = Field(default=None, alias="objAudit") + s_ezsigndocument_externalid: Optional[Annotated[str, Field(strict=True)]] = Field(default=None, description="This field can be used to store an External ID from the client's system. Anything can be stored in this field, it will never be evaluated by the eZmax system and will be returned AS-IS. To store multiple values, consider using a JSON formatted structure, a URL encoded string, a CSV or any other custom format. ", alias="sEzsigndocumentExternalid") + i_ezsigndocument_ezsignsignatureattachmenttotal: Annotated[int, Field(strict=True, ge=0)] = Field(description="The number of Ezsigndocumentattachment total", alias="iEzsigndocumentEzsignsignatureattachmenttotal") + i_ezsigndocument_ezsigndiscussiontotal: StrictInt = Field(description="The total number of Ezsigndiscussions", alias="iEzsigndocumentEzsigndiscussiontotal") e_ezsigndocument_steptype: ComputedEEzsigndocumentSteptype = Field(alias="eEzsigndocumentSteptype") i_ezsigndocument_stepformtotal: StrictInt = Field(description="The total number of steps in the form filling phase", alias="iEzsigndocumentStepformtotal") i_ezsigndocument_stepformcurrent: StrictInt = Field(description="The current step in the form filling phase", alias="iEzsigndocumentStepformcurrent") @@ -42,6 +66,16 @@ class EzsigndocumentResponseCompound(EzsigndocumentResponse): a_obj_ezsigndocumentdependency: Optional[List[EzsigndocumentdependencyResponse]] = Field(default=None, alias="a_objEzsigndocumentdependency") __properties: ClassVar[List[str]] = ["pkiEzsigndocumentID", "fkiEzsignfolderID", "fkiEzsignfoldersignerassociationIDDeclinedtosign", "dtEzsigndocumentDuedate", "dtEzsignformCompleted", "fkiLanguageID", "sEzsigndocumentName", "eEzsigndocumentStep", "dtEzsigndocumentFirstsend", "dtEzsigndocumentLastsend", "iEzsigndocumentOrder", "iEzsigndocumentPagetotal", "iEzsigndocumentSignaturesigned", "iEzsigndocumentSignaturetotal", "iEzsigndocumentFormfieldtotal", "sEzsigndocumentMD5initial", "tEzsigndocumentDeclinedtosignreason", "sEzsigndocumentMD5signed", "bEzsigndocumentEzsignform", "bEzsigndocumentHassignedsignatures", "objAudit", "sEzsigndocumentExternalid", "iEzsigndocumentEzsignsignatureattachmenttotal", "iEzsigndocumentEzsigndiscussiontotal", "eEzsigndocumentSteptype", "iEzsigndocumentStepformtotal", "iEzsigndocumentStepformcurrent", "iEzsigndocumentStepsignaturetotal", "iEzsigndocumentStepsignatureCurrent", "a_objEzsignfoldersignerassociationstatus", "a_objEzsigndocumentdependency"] + @field_validator('s_ezsigndocument_externalid') + def s_ezsigndocument_externalid_validate_regular_expression(cls, value): + """Validates the regular expression""" + if value is None: + return value + + if not re.match(r"^.{0,128}$", value): + raise ValueError(r"must validate the regular expression /^.{0,128}$/") + return value + model_config = ConfigDict( populate_by_name=True, validate_assignment=True, @@ -101,7 +135,47 @@ def to_dict(self) -> Dict[str, Any]: return _dict @classmethod - def from_dict(cls, obj: Dict[str, Any]) -> Optional[Self]: + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: """Create an instance of EzsigndocumentResponseCompound from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "pkiEzsigndocumentID": obj.get("pkiEzsigndocumentID"), + "fkiEzsignfolderID": obj.get("fkiEzsignfolderID"), + "fkiEzsignfoldersignerassociationIDDeclinedtosign": obj.get("fkiEzsignfoldersignerassociationIDDeclinedtosign"), + "dtEzsigndocumentDuedate": obj.get("dtEzsigndocumentDuedate"), + "dtEzsignformCompleted": obj.get("dtEzsignformCompleted"), + "fkiLanguageID": obj.get("fkiLanguageID"), + "sEzsigndocumentName": obj.get("sEzsigndocumentName"), + "eEzsigndocumentStep": obj.get("eEzsigndocumentStep"), + "dtEzsigndocumentFirstsend": obj.get("dtEzsigndocumentFirstsend"), + "dtEzsigndocumentLastsend": obj.get("dtEzsigndocumentLastsend"), + "iEzsigndocumentOrder": obj.get("iEzsigndocumentOrder"), + "iEzsigndocumentPagetotal": obj.get("iEzsigndocumentPagetotal"), + "iEzsigndocumentSignaturesigned": obj.get("iEzsigndocumentSignaturesigned"), + "iEzsigndocumentSignaturetotal": obj.get("iEzsigndocumentSignaturetotal"), + "iEzsigndocumentFormfieldtotal": obj.get("iEzsigndocumentFormfieldtotal"), + "sEzsigndocumentMD5initial": obj.get("sEzsigndocumentMD5initial"), + "tEzsigndocumentDeclinedtosignreason": obj.get("tEzsigndocumentDeclinedtosignreason"), + "sEzsigndocumentMD5signed": obj.get("sEzsigndocumentMD5signed"), + "bEzsigndocumentEzsignform": obj.get("bEzsigndocumentEzsignform"), + "bEzsigndocumentHassignedsignatures": obj.get("bEzsigndocumentHassignedsignatures"), + "objAudit": CommonAudit.from_dict(obj["objAudit"]) if obj.get("objAudit") is not None else None, + "sEzsigndocumentExternalid": obj.get("sEzsigndocumentExternalid"), + "iEzsigndocumentEzsignsignatureattachmenttotal": obj.get("iEzsigndocumentEzsignsignatureattachmenttotal"), + "iEzsigndocumentEzsigndiscussiontotal": obj.get("iEzsigndocumentEzsigndiscussiontotal"), + "eEzsigndocumentSteptype": obj.get("eEzsigndocumentSteptype"), + "iEzsigndocumentStepformtotal": obj.get("iEzsigndocumentStepformtotal"), + "iEzsigndocumentStepformcurrent": obj.get("iEzsigndocumentStepformcurrent"), + "iEzsigndocumentStepsignaturetotal": obj.get("iEzsigndocumentStepsignaturetotal"), + "iEzsigndocumentStepsignatureCurrent": obj.get("iEzsigndocumentStepsignatureCurrent"), + "a_objEzsignfoldersignerassociationstatus": [CustomEzsignfoldersignerassociationstatusResponse.from_dict(_item) for _item in obj["a_objEzsignfoldersignerassociationstatus"]] if obj.get("a_objEzsignfoldersignerassociationstatus") is not None else None, + "a_objEzsigndocumentdependency": [EzsigndocumentdependencyResponse.from_dict(_item) for _item in obj["a_objEzsigndocumentdependency"]] if obj.get("a_objEzsigndocumentdependency") is not None else None + }) + return _obj diff --git a/eZmaxApi/models/ezsigndocument_submit_ezsignform_v1_request.py b/eZmaxApi/models/ezsigndocument_submit_ezsignform_v1_request.py index a0c65f88c..849179c59 100644 --- a/eZmaxApi/models/ezsigndocument_submit_ezsignform_v1_request.py +++ b/eZmaxApi/models/ezsigndocument_submit_ezsignform_v1_request.py @@ -21,6 +21,7 @@ from pydantic import BaseModel, ConfigDict, Field, StrictBool from typing import Any, ClassVar, Dict, List from typing_extensions import Annotated +from eZmaxApi.models.custom_ezsignformfieldgroup_request import CustomEzsignformfieldgroupRequest from typing import Optional, Set from typing_extensions import Self @@ -29,7 +30,7 @@ class EzsigndocumentSubmitEzsignformV1Request(BaseModel): Request for POST /1/object/ezsigndocument/{pkiEzsigndocumentID}/submitEzsignform """ # noqa: E501 b_ezsignform_isdraft: StrictBool = Field(description="Whether the Ezsignform submitted is a draft or not.", alias="bEzsignformIsdraft") - a_obj_ezsignformfieldgroup: Annotated[List[object], Field(min_length=1)] = Field(alias="a_objEzsignformfieldgroup") + a_obj_ezsignformfieldgroup: Annotated[List[CustomEzsignformfieldgroupRequest], Field(min_length=1)] = Field(alias="a_objEzsignformfieldgroup") __properties: ClassVar[List[str]] = ["bEzsignformIsdraft", "a_objEzsignformfieldgroup"] model_config = ConfigDict( @@ -71,6 +72,13 @@ def to_dict(self) -> Dict[str, Any]: exclude=excluded_fields, exclude_none=True, ) + # override the default output from pydantic by calling `to_dict()` of each item in a_obj_ezsignformfieldgroup (list) + _items = [] + if self.a_obj_ezsignformfieldgroup: + for _item_a_obj_ezsignformfieldgroup in self.a_obj_ezsignformfieldgroup: + if _item_a_obj_ezsignformfieldgroup: + _items.append(_item_a_obj_ezsignformfieldgroup.to_dict()) + _dict['a_objEzsignformfieldgroup'] = _items return _dict @classmethod @@ -84,7 +92,7 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: _obj = cls.model_validate({ "bEzsignformIsdraft": obj.get("bEzsignformIsdraft"), - "a_objEzsignformfieldgroup": obj.get("a_objEzsignformfieldgroup") + "a_objEzsignformfieldgroup": [CustomEzsignformfieldgroupRequest.from_dict(_item) for _item in obj["a_objEzsignformfieldgroup"]] if obj.get("a_objEzsignformfieldgroup") is not None else None }) return _obj diff --git a/eZmaxApi/models/ezsigndocument_submit_ezsignform_v1_response.py b/eZmaxApi/models/ezsigndocument_submit_ezsignform_v1_response.py index db2e2e1f7..5a36abded 100644 --- a/eZmaxApi/models/ezsigndocument_submit_ezsignform_v1_response.py +++ b/eZmaxApi/models/ezsigndocument_submit_ezsignform_v1_response.py @@ -18,18 +18,19 @@ import re # noqa: F401 import json -from pydantic import ConfigDict -from typing import Any, ClassVar, Dict, List -from eZmaxApi.models.common_response import CommonResponse +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List, Optional from eZmaxApi.models.common_response_obj_debug import CommonResponseObjDebug from eZmaxApi.models.common_response_obj_debug_payload import CommonResponseObjDebugPayload from typing import Optional, Set from typing_extensions import Self -class EzsigndocumentSubmitEzsignformV1Response(CommonResponse): +class EzsigndocumentSubmitEzsignformV1Response(BaseModel): """ Response for POST /1/object/ezsigndocument/{pkiEzsigndocumentID}/submitEzsignform """ # noqa: E501 + obj_debug_payload: CommonResponseObjDebugPayload = Field(alias="objDebugPayload") + obj_debug: Optional[CommonResponseObjDebug] = Field(default=None, alias="objDebug") __properties: ClassVar[List[str]] = ["objDebugPayload", "objDebug"] model_config = ConfigDict( diff --git a/eZmaxApi/models/ezsigndocument_unsend_v1_response.py b/eZmaxApi/models/ezsigndocument_unsend_v1_response.py index ad477e526..4b1807c5a 100644 --- a/eZmaxApi/models/ezsigndocument_unsend_v1_response.py +++ b/eZmaxApi/models/ezsigndocument_unsend_v1_response.py @@ -18,18 +18,19 @@ import re # noqa: F401 import json -from pydantic import ConfigDict -from typing import Any, ClassVar, Dict, List -from eZmaxApi.models.common_response import CommonResponse +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List, Optional from eZmaxApi.models.common_response_obj_debug import CommonResponseObjDebug from eZmaxApi.models.common_response_obj_debug_payload import CommonResponseObjDebugPayload from typing import Optional, Set from typing_extensions import Self -class EzsigndocumentUnsendV1Response(CommonResponse): +class EzsigndocumentUnsendV1Response(BaseModel): """ Response for POST /1/object/ezsigndocument/{pkiEzsigndocumentID}/unsend """ # noqa: E501 + obj_debug_payload: CommonResponseObjDebugPayload = Field(alias="objDebugPayload") + obj_debug: Optional[CommonResponseObjDebug] = Field(default=None, alias="objDebug") __properties: ClassVar[List[str]] = ["objDebugPayload", "objDebug"] model_config = ConfigDict( diff --git a/eZmaxApi/models/ezsignfolder_archive_v1_response.py b/eZmaxApi/models/ezsignfolder_archive_v1_response.py index 2a1424f4f..91d43e8c9 100644 --- a/eZmaxApi/models/ezsignfolder_archive_v1_response.py +++ b/eZmaxApi/models/ezsignfolder_archive_v1_response.py @@ -18,18 +18,19 @@ import re # noqa: F401 import json -from pydantic import ConfigDict -from typing import Any, ClassVar, Dict, List -from eZmaxApi.models.common_response import CommonResponse +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List, Optional from eZmaxApi.models.common_response_obj_debug import CommonResponseObjDebug from eZmaxApi.models.common_response_obj_debug_payload import CommonResponseObjDebugPayload from typing import Optional, Set from typing_extensions import Self -class EzsignfolderArchiveV1Response(CommonResponse): +class EzsignfolderArchiveV1Response(BaseModel): """ Response for POST /1/object/ezsignfolder/{pkiEzsignfolderID}/archive """ # noqa: E501 + obj_debug_payload: CommonResponseObjDebugPayload = Field(alias="objDebugPayload") + obj_debug: Optional[CommonResponseObjDebug] = Field(default=None, alias="objDebug") __properties: ClassVar[List[str]] = ["objDebugPayload", "objDebug"] model_config = ConfigDict( diff --git a/eZmaxApi/models/ezsignfolder_create_object_v1_request.py b/eZmaxApi/models/ezsignfolder_create_object_v1_request.py index 96da0c6f3..6f3a89b06 100644 --- a/eZmaxApi/models/ezsignfolder_create_object_v1_request.py +++ b/eZmaxApi/models/ezsignfolder_create_object_v1_request.py @@ -21,6 +21,7 @@ from pydantic import BaseModel, ConfigDict, Field from typing import Any, ClassVar, Dict, List, Optional from eZmaxApi.models.ezsignfolder_request import EzsignfolderRequest +from eZmaxApi.models.ezsignfolder_request_compound import EzsignfolderRequestCompound from typing import Optional, Set from typing_extensions import Self @@ -29,7 +30,7 @@ class EzsignfolderCreateObjectV1Request(BaseModel): Request for POST /1/object/ezsignfolder """ # noqa: E501 obj_ezsignfolder: Optional[EzsignfolderRequest] = Field(default=None, alias="objEzsignfolder") - obj_ezsignfolder_compound: Optional[EzsignfolderRequest] = Field(default=None, description="An Ezsignfolder Object and children to create a complete structure", alias="objEzsignfolderCompound") + obj_ezsignfolder_compound: Optional[EzsignfolderRequestCompound] = Field(default=None, alias="objEzsignfolderCompound") __properties: ClassVar[List[str]] = ["objEzsignfolder", "objEzsignfolderCompound"] model_config = ConfigDict( @@ -90,7 +91,7 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: _obj = cls.model_validate({ "objEzsignfolder": EzsignfolderRequest.from_dict(obj["objEzsignfolder"]) if obj.get("objEzsignfolder") is not None else None, - "objEzsignfolderCompound": EzsignfolderRequest.from_dict(obj["objEzsignfolderCompound"]) if obj.get("objEzsignfolderCompound") is not None else None + "objEzsignfolderCompound": EzsignfolderRequestCompound.from_dict(obj["objEzsignfolderCompound"]) if obj.get("objEzsignfolderCompound") is not None else None }) return _obj diff --git a/eZmaxApi/models/ezsignfolder_create_object_v1_response.py b/eZmaxApi/models/ezsignfolder_create_object_v1_response.py index 74ac8b232..8ba29cc8c 100644 --- a/eZmaxApi/models/ezsignfolder_create_object_v1_response.py +++ b/eZmaxApi/models/ezsignfolder_create_object_v1_response.py @@ -18,19 +18,20 @@ import re # noqa: F401 import json -from pydantic import ConfigDict, Field -from typing import Any, ClassVar, Dict, List -from eZmaxApi.models.common_response import CommonResponse +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List, Optional from eZmaxApi.models.common_response_obj_debug import CommonResponseObjDebug from eZmaxApi.models.common_response_obj_debug_payload import CommonResponseObjDebugPayload from eZmaxApi.models.ezsignfolder_create_object_v1_response_m_payload import EzsignfolderCreateObjectV1ResponseMPayload from typing import Optional, Set from typing_extensions import Self -class EzsignfolderCreateObjectV1Response(CommonResponse): +class EzsignfolderCreateObjectV1Response(BaseModel): """ Response for POST /1/object/ezsignfolder """ # noqa: E501 + obj_debug_payload: CommonResponseObjDebugPayload = Field(alias="objDebugPayload") + obj_debug: Optional[CommonResponseObjDebug] = Field(default=None, alias="objDebug") m_payload: EzsignfolderCreateObjectV1ResponseMPayload = Field(alias="mPayload") __properties: ClassVar[List[str]] = ["objDebugPayload", "objDebug", "mPayload"] diff --git a/eZmaxApi/models/ezsignfolder_create_object_v2_request.py b/eZmaxApi/models/ezsignfolder_create_object_v2_request.py index e255a60ab..ed0cb0fb4 100644 --- a/eZmaxApi/models/ezsignfolder_create_object_v2_request.py +++ b/eZmaxApi/models/ezsignfolder_create_object_v2_request.py @@ -21,7 +21,7 @@ from pydantic import BaseModel, ConfigDict, Field from typing import Any, ClassVar, Dict, List from typing_extensions import Annotated -from eZmaxApi.models.ezsignfolder_request import EzsignfolderRequest +from eZmaxApi.models.ezsignfolder_request_compound import EzsignfolderRequestCompound from typing import Optional, Set from typing_extensions import Self @@ -29,7 +29,7 @@ class EzsignfolderCreateObjectV2Request(BaseModel): """ Request for POST /2/object/ezsignfolder """ # noqa: E501 - a_obj_ezsignfolder: Annotated[List[EzsignfolderRequest], Field(min_length=1)] = Field(alias="a_objEzsignfolder") + a_obj_ezsignfolder: Annotated[List[EzsignfolderRequestCompound], Field(min_length=1)] = Field(alias="a_objEzsignfolder") __properties: ClassVar[List[str]] = ["a_objEzsignfolder"] model_config = ConfigDict( @@ -90,7 +90,7 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: return cls.model_validate(obj) _obj = cls.model_validate({ - "a_objEzsignfolder": [EzsignfolderRequest.from_dict(_item) for _item in obj["a_objEzsignfolder"]] if obj.get("a_objEzsignfolder") is not None else None + "a_objEzsignfolder": [EzsignfolderRequestCompound.from_dict(_item) for _item in obj["a_objEzsignfolder"]] if obj.get("a_objEzsignfolder") is not None else None }) return _obj diff --git a/eZmaxApi/models/ezsignfolder_create_object_v2_response.py b/eZmaxApi/models/ezsignfolder_create_object_v2_response.py index 37228063a..769db4afa 100644 --- a/eZmaxApi/models/ezsignfolder_create_object_v2_response.py +++ b/eZmaxApi/models/ezsignfolder_create_object_v2_response.py @@ -18,19 +18,20 @@ import re # noqa: F401 import json -from pydantic import ConfigDict, Field -from typing import Any, ClassVar, Dict, List -from eZmaxApi.models.common_response import CommonResponse +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List, Optional from eZmaxApi.models.common_response_obj_debug import CommonResponseObjDebug from eZmaxApi.models.common_response_obj_debug_payload import CommonResponseObjDebugPayload from eZmaxApi.models.ezsignfolder_create_object_v2_response_m_payload import EzsignfolderCreateObjectV2ResponseMPayload from typing import Optional, Set from typing_extensions import Self -class EzsignfolderCreateObjectV2Response(CommonResponse): +class EzsignfolderCreateObjectV2Response(BaseModel): """ Response for POST /2/object/ezsignfolder """ # noqa: E501 + obj_debug_payload: CommonResponseObjDebugPayload = Field(alias="objDebugPayload") + obj_debug: Optional[CommonResponseObjDebug] = Field(default=None, alias="objDebug") m_payload: EzsignfolderCreateObjectV2ResponseMPayload = Field(alias="mPayload") __properties: ClassVar[List[str]] = ["objDebugPayload", "objDebug", "mPayload"] diff --git a/eZmaxApi/models/ezsignfolder_create_object_v3_request.py b/eZmaxApi/models/ezsignfolder_create_object_v3_request.py index 5965ee7c2..04e81349d 100644 --- a/eZmaxApi/models/ezsignfolder_create_object_v3_request.py +++ b/eZmaxApi/models/ezsignfolder_create_object_v3_request.py @@ -21,7 +21,7 @@ from pydantic import BaseModel, ConfigDict, Field from typing import Any, ClassVar, Dict, List from typing_extensions import Annotated -from eZmaxApi.models.ezsignfolder_request_v3 import EzsignfolderRequestV3 +from eZmaxApi.models.ezsignfolder_request_compound_v3 import EzsignfolderRequestCompoundV3 from typing import Optional, Set from typing_extensions import Self @@ -29,7 +29,7 @@ class EzsignfolderCreateObjectV3Request(BaseModel): """ Request for POST /3/object/ezsignfolder """ # noqa: E501 - a_obj_ezsignfolder: Annotated[List[EzsignfolderRequestV3], Field(min_length=1)] = Field(alias="a_objEzsignfolder") + a_obj_ezsignfolder: Annotated[List[EzsignfolderRequestCompoundV3], Field(min_length=1)] = Field(alias="a_objEzsignfolder") __properties: ClassVar[List[str]] = ["a_objEzsignfolder"] model_config = ConfigDict( @@ -90,7 +90,7 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: return cls.model_validate(obj) _obj = cls.model_validate({ - "a_objEzsignfolder": [EzsignfolderRequestV3.from_dict(_item) for _item in obj["a_objEzsignfolder"]] if obj.get("a_objEzsignfolder") is not None else None + "a_objEzsignfolder": [EzsignfolderRequestCompoundV3.from_dict(_item) for _item in obj["a_objEzsignfolder"]] if obj.get("a_objEzsignfolder") is not None else None }) return _obj diff --git a/eZmaxApi/models/ezsignfolder_create_object_v3_response.py b/eZmaxApi/models/ezsignfolder_create_object_v3_response.py index 4342fbad6..4301608e2 100644 --- a/eZmaxApi/models/ezsignfolder_create_object_v3_response.py +++ b/eZmaxApi/models/ezsignfolder_create_object_v3_response.py @@ -18,19 +18,20 @@ import re # noqa: F401 import json -from pydantic import ConfigDict, Field -from typing import Any, ClassVar, Dict, List -from eZmaxApi.models.common_response import CommonResponse +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List, Optional from eZmaxApi.models.common_response_obj_debug import CommonResponseObjDebug from eZmaxApi.models.common_response_obj_debug_payload import CommonResponseObjDebugPayload from eZmaxApi.models.ezsignfolder_create_object_v3_response_m_payload import EzsignfolderCreateObjectV3ResponseMPayload from typing import Optional, Set from typing_extensions import Self -class EzsignfolderCreateObjectV3Response(CommonResponse): +class EzsignfolderCreateObjectV3Response(BaseModel): """ Response for POST /3/object/ezsignfolder """ # noqa: E501 + obj_debug_payload: CommonResponseObjDebugPayload = Field(alias="objDebugPayload") + obj_debug: Optional[CommonResponseObjDebug] = Field(default=None, alias="objDebug") m_payload: EzsignfolderCreateObjectV3ResponseMPayload = Field(alias="mPayload") __properties: ClassVar[List[str]] = ["objDebugPayload", "objDebug", "mPayload"] diff --git a/eZmaxApi/models/ezsignfolder_delete_object_v1_response.py b/eZmaxApi/models/ezsignfolder_delete_object_v1_response.py index a9267e06e..aaf81169b 100644 --- a/eZmaxApi/models/ezsignfolder_delete_object_v1_response.py +++ b/eZmaxApi/models/ezsignfolder_delete_object_v1_response.py @@ -18,18 +18,19 @@ import re # noqa: F401 import json -from pydantic import ConfigDict -from typing import Any, ClassVar, Dict, List -from eZmaxApi.models.common_response import CommonResponse +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List, Optional from eZmaxApi.models.common_response_obj_debug import CommonResponseObjDebug from eZmaxApi.models.common_response_obj_debug_payload import CommonResponseObjDebugPayload from typing import Optional, Set from typing_extensions import Self -class EzsignfolderDeleteObjectV1Response(CommonResponse): +class EzsignfolderDeleteObjectV1Response(BaseModel): """ Response for DELETE /1/object/ezsignfolder/{pkiEzsignfolderID} """ # noqa: E501 + obj_debug_payload: CommonResponseObjDebugPayload = Field(alias="objDebugPayload") + obj_debug: Optional[CommonResponseObjDebug] = Field(default=None, alias="objDebug") __properties: ClassVar[List[str]] = ["objDebugPayload", "objDebug"] model_config = ConfigDict( diff --git a/eZmaxApi/models/ezsignfolder_dispose_ezsignfolders_v1_response.py b/eZmaxApi/models/ezsignfolder_dispose_ezsignfolders_v1_response.py index 207e60cd9..d44f44806 100644 --- a/eZmaxApi/models/ezsignfolder_dispose_ezsignfolders_v1_response.py +++ b/eZmaxApi/models/ezsignfolder_dispose_ezsignfolders_v1_response.py @@ -18,18 +18,19 @@ import re # noqa: F401 import json -from pydantic import ConfigDict -from typing import Any, ClassVar, Dict, List -from eZmaxApi.models.common_response import CommonResponse +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List, Optional from eZmaxApi.models.common_response_obj_debug import CommonResponseObjDebug from eZmaxApi.models.common_response_obj_debug_payload import CommonResponseObjDebugPayload from typing import Optional, Set from typing_extensions import Self -class EzsignfolderDisposeEzsignfoldersV1Response(CommonResponse): +class EzsignfolderDisposeEzsignfoldersV1Response(BaseModel): """ Response for POST /1/object/ezsignfolder/disposeEzsignfolders """ # noqa: E501 + obj_debug_payload: CommonResponseObjDebugPayload = Field(alias="objDebugPayload") + obj_debug: Optional[CommonResponseObjDebug] = Field(default=None, alias="objDebug") __properties: ClassVar[List[str]] = ["objDebugPayload", "objDebug"] model_config = ConfigDict( diff --git a/eZmaxApi/models/ezsignfolder_dispose_v1_response.py b/eZmaxApi/models/ezsignfolder_dispose_v1_response.py index dd542b1fd..c01a871a6 100644 --- a/eZmaxApi/models/ezsignfolder_dispose_v1_response.py +++ b/eZmaxApi/models/ezsignfolder_dispose_v1_response.py @@ -18,18 +18,19 @@ import re # noqa: F401 import json -from pydantic import ConfigDict -from typing import Any, ClassVar, Dict, List -from eZmaxApi.models.common_response import CommonResponse +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List, Optional from eZmaxApi.models.common_response_obj_debug import CommonResponseObjDebug from eZmaxApi.models.common_response_obj_debug_payload import CommonResponseObjDebugPayload from typing import Optional, Set from typing_extensions import Self -class EzsignfolderDisposeV1Response(CommonResponse): +class EzsignfolderDisposeV1Response(BaseModel): """ Response for POST /1/object/ezsignfolder/{pkiEzsignfolderID}/dispose """ # noqa: E501 + obj_debug_payload: CommonResponseObjDebugPayload = Field(alias="objDebugPayload") + obj_debug: Optional[CommonResponseObjDebug] = Field(default=None, alias="objDebug") __properties: ClassVar[List[str]] = ["objDebugPayload", "objDebug"] model_config = ConfigDict( diff --git a/eZmaxApi/models/ezsignfolder_edit_object_v3_request.py b/eZmaxApi/models/ezsignfolder_edit_object_v3_request.py index 0fe518f96..f64b680bd 100644 --- a/eZmaxApi/models/ezsignfolder_edit_object_v3_request.py +++ b/eZmaxApi/models/ezsignfolder_edit_object_v3_request.py @@ -20,7 +20,7 @@ from pydantic import BaseModel, ConfigDict, Field from typing import Any, ClassVar, Dict, List -from eZmaxApi.models.ezsignfolder_request_v3 import EzsignfolderRequestV3 +from eZmaxApi.models.ezsignfolder_request_compound_v3 import EzsignfolderRequestCompoundV3 from typing import Optional, Set from typing_extensions import Self @@ -28,7 +28,7 @@ class EzsignfolderEditObjectV3Request(BaseModel): """ Request for PUT /3/object/ezsignfolder/{pkiEzsignfolderID} """ # noqa: E501 - obj_ezsignfolder: EzsignfolderRequestV3 = Field(description="An Ezsignfolder Object and children to create a complete structure", alias="objEzsignfolder") + obj_ezsignfolder: EzsignfolderRequestCompoundV3 = Field(alias="objEzsignfolder") __properties: ClassVar[List[str]] = ["objEzsignfolder"] model_config = ConfigDict( @@ -85,7 +85,7 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: return cls.model_validate(obj) _obj = cls.model_validate({ - "objEzsignfolder": EzsignfolderRequestV3.from_dict(obj["objEzsignfolder"]) if obj.get("objEzsignfolder") is not None else None + "objEzsignfolder": EzsignfolderRequestCompoundV3.from_dict(obj["objEzsignfolder"]) if obj.get("objEzsignfolder") is not None else None }) return _obj diff --git a/eZmaxApi/models/ezsignfolder_edit_object_v3_response.py b/eZmaxApi/models/ezsignfolder_edit_object_v3_response.py index 5f0b58a5f..cbd1ca29a 100644 --- a/eZmaxApi/models/ezsignfolder_edit_object_v3_response.py +++ b/eZmaxApi/models/ezsignfolder_edit_object_v3_response.py @@ -18,18 +18,19 @@ import re # noqa: F401 import json -from pydantic import ConfigDict -from typing import Any, ClassVar, Dict, List -from eZmaxApi.models.common_response import CommonResponse +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List, Optional from eZmaxApi.models.common_response_obj_debug import CommonResponseObjDebug from eZmaxApi.models.common_response_obj_debug_payload import CommonResponseObjDebugPayload from typing import Optional, Set from typing_extensions import Self -class EzsignfolderEditObjectV3Response(CommonResponse): +class EzsignfolderEditObjectV3Response(BaseModel): """ Response for PUT /3/object/ezsignfolder/{pkiEzsignfolderID} """ # noqa: E501 + obj_debug_payload: CommonResponseObjDebugPayload = Field(alias="objDebugPayload") + obj_debug: Optional[CommonResponseObjDebug] = Field(default=None, alias="objDebug") __properties: ClassVar[List[str]] = ["objDebugPayload", "objDebug"] model_config = ConfigDict( diff --git a/eZmaxApi/models/ezsignfolder_end_prematurely_v1_response.py b/eZmaxApi/models/ezsignfolder_end_prematurely_v1_response.py index c999a445e..5cdd0779b 100644 --- a/eZmaxApi/models/ezsignfolder_end_prematurely_v1_response.py +++ b/eZmaxApi/models/ezsignfolder_end_prematurely_v1_response.py @@ -18,18 +18,19 @@ import re # noqa: F401 import json -from pydantic import ConfigDict -from typing import Any, ClassVar, Dict, List -from eZmaxApi.models.common_response import CommonResponse +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List, Optional from eZmaxApi.models.common_response_obj_debug import CommonResponseObjDebug from eZmaxApi.models.common_response_obj_debug_payload import CommonResponseObjDebugPayload from typing import Optional, Set from typing_extensions import Self -class EzsignfolderEndPrematurelyV1Response(CommonResponse): +class EzsignfolderEndPrematurelyV1Response(BaseModel): """ Response for POST /1/object/ezsignfolder/{pkiEzsignfolderID}/endPrematurely """ # noqa: E501 + obj_debug_payload: CommonResponseObjDebugPayload = Field(alias="objDebugPayload") + obj_debug: Optional[CommonResponseObjDebug] = Field(default=None, alias="objDebug") __properties: ClassVar[List[str]] = ["objDebugPayload", "objDebug"] model_config = ConfigDict( diff --git a/eZmaxApi/models/ezsignfolder_get_actionable_elements_v1_response.py b/eZmaxApi/models/ezsignfolder_get_actionable_elements_v1_response.py index 2c9af7b91..8a8597611 100644 --- a/eZmaxApi/models/ezsignfolder_get_actionable_elements_v1_response.py +++ b/eZmaxApi/models/ezsignfolder_get_actionable_elements_v1_response.py @@ -18,19 +18,20 @@ import re # noqa: F401 import json -from pydantic import ConfigDict, Field -from typing import Any, ClassVar, Dict, List -from eZmaxApi.models.common_response import CommonResponse +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List, Optional from eZmaxApi.models.common_response_obj_debug import CommonResponseObjDebug from eZmaxApi.models.common_response_obj_debug_payload import CommonResponseObjDebugPayload from eZmaxApi.models.ezsignfolder_get_actionable_elements_v1_response_m_payload import EzsignfolderGetActionableElementsV1ResponseMPayload from typing import Optional, Set from typing_extensions import Self -class EzsignfolderGetActionableElementsV1Response(CommonResponse): +class EzsignfolderGetActionableElementsV1Response(BaseModel): """ Response for GET /1/object/ezsignfolder/{pkiEzsignfolderID}/getActionableElements """ # noqa: E501 + obj_debug_payload: CommonResponseObjDebugPayload = Field(alias="objDebugPayload") + obj_debug: Optional[CommonResponseObjDebug] = Field(default=None, alias="objDebug") m_payload: EzsignfolderGetActionableElementsV1ResponseMPayload = Field(alias="mPayload") __properties: ClassVar[List[str]] = ["objDebugPayload", "objDebug", "mPayload"] diff --git a/eZmaxApi/models/ezsignfolder_get_attachment_count_v1_response.py b/eZmaxApi/models/ezsignfolder_get_attachment_count_v1_response.py index 58fbe1915..4f750706d 100644 --- a/eZmaxApi/models/ezsignfolder_get_attachment_count_v1_response.py +++ b/eZmaxApi/models/ezsignfolder_get_attachment_count_v1_response.py @@ -18,19 +18,20 @@ import re # noqa: F401 import json -from pydantic import ConfigDict, Field -from typing import Any, ClassVar, Dict, List -from eZmaxApi.models.common_response import CommonResponse +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List, Optional from eZmaxApi.models.common_response_obj_debug import CommonResponseObjDebug from eZmaxApi.models.common_response_obj_debug_payload import CommonResponseObjDebugPayload from eZmaxApi.models.ezsignfolder_get_attachment_count_v1_response_m_payload import EzsignfolderGetAttachmentCountV1ResponseMPayload from typing import Optional, Set from typing_extensions import Self -class EzsignfolderGetAttachmentCountV1Response(CommonResponse): +class EzsignfolderGetAttachmentCountV1Response(BaseModel): """ Response for GET /1/object/ezsignfolder/{pkiEzsignfolderID}/getAttachmentCount """ # noqa: E501 + obj_debug_payload: CommonResponseObjDebugPayload = Field(alias="objDebugPayload") + obj_debug: Optional[CommonResponseObjDebug] = Field(default=None, alias="objDebug") m_payload: EzsignfolderGetAttachmentCountV1ResponseMPayload = Field(alias="mPayload") __properties: ClassVar[List[str]] = ["objDebugPayload", "objDebug", "mPayload"] diff --git a/eZmaxApi/models/ezsignfolder_get_attachments_v1_response.py b/eZmaxApi/models/ezsignfolder_get_attachments_v1_response.py index 484cd9307..9db290560 100644 --- a/eZmaxApi/models/ezsignfolder_get_attachments_v1_response.py +++ b/eZmaxApi/models/ezsignfolder_get_attachments_v1_response.py @@ -18,19 +18,20 @@ import re # noqa: F401 import json -from pydantic import ConfigDict, Field -from typing import Any, ClassVar, Dict, List -from eZmaxApi.models.common_response import CommonResponse +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List, Optional from eZmaxApi.models.common_response_obj_debug import CommonResponseObjDebug from eZmaxApi.models.common_response_obj_debug_payload import CommonResponseObjDebugPayload from eZmaxApi.models.ezsignfolder_get_attachments_v1_response_m_payload import EzsignfolderGetAttachmentsV1ResponseMPayload from typing import Optional, Set from typing_extensions import Self -class EzsignfolderGetAttachmentsV1Response(CommonResponse): +class EzsignfolderGetAttachmentsV1Response(BaseModel): """ Response for GET /1/object/ezsignfolder/{pkiEzsignfolderID}/getAttachments """ # noqa: E501 + obj_debug_payload: CommonResponseObjDebugPayload = Field(alias="objDebugPayload") + obj_debug: Optional[CommonResponseObjDebug] = Field(default=None, alias="objDebug") m_payload: EzsignfolderGetAttachmentsV1ResponseMPayload = Field(alias="mPayload") __properties: ClassVar[List[str]] = ["objDebugPayload", "objDebug", "mPayload"] diff --git a/eZmaxApi/models/ezsignfolder_get_communication_count_v1_response.py b/eZmaxApi/models/ezsignfolder_get_communication_count_v1_response.py index 2dbb03ed7..771edcf4d 100644 --- a/eZmaxApi/models/ezsignfolder_get_communication_count_v1_response.py +++ b/eZmaxApi/models/ezsignfolder_get_communication_count_v1_response.py @@ -18,19 +18,20 @@ import re # noqa: F401 import json -from pydantic import ConfigDict, Field -from typing import Any, ClassVar, Dict, List -from eZmaxApi.models.common_response import CommonResponse +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List, Optional from eZmaxApi.models.common_response_obj_debug import CommonResponseObjDebug from eZmaxApi.models.common_response_obj_debug_payload import CommonResponseObjDebugPayload from eZmaxApi.models.ezsignfolder_get_communication_count_v1_response_m_payload import EzsignfolderGetCommunicationCountV1ResponseMPayload from typing import Optional, Set from typing_extensions import Self -class EzsignfolderGetCommunicationCountV1Response(CommonResponse): +class EzsignfolderGetCommunicationCountV1Response(BaseModel): """ Response for GET /1/object/ezsignfolder/{pkiEzsignfolderID}/getCommunicationCount """ # noqa: E501 + obj_debug_payload: CommonResponseObjDebugPayload = Field(alias="objDebugPayload") + obj_debug: Optional[CommonResponseObjDebug] = Field(default=None, alias="objDebug") m_payload: EzsignfolderGetCommunicationCountV1ResponseMPayload = Field(alias="mPayload") __properties: ClassVar[List[str]] = ["objDebugPayload", "objDebug", "mPayload"] diff --git a/eZmaxApi/models/ezsignfolder_get_communication_list_v1_response.py b/eZmaxApi/models/ezsignfolder_get_communication_list_v1_response.py index 9e5615748..0ae7599eb 100644 --- a/eZmaxApi/models/ezsignfolder_get_communication_list_v1_response.py +++ b/eZmaxApi/models/ezsignfolder_get_communication_list_v1_response.py @@ -18,19 +18,20 @@ import re # noqa: F401 import json -from pydantic import ConfigDict, Field -from typing import Any, ClassVar, Dict, List -from eZmaxApi.models.common_response_get_list import CommonResponseGetList +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List, Optional from eZmaxApi.models.common_response_obj_debug import CommonResponseObjDebug from eZmaxApi.models.common_response_obj_debug_payload_get_list import CommonResponseObjDebugPayloadGetList from eZmaxApi.models.ezsignfolder_get_communication_list_v1_response_m_payload import EzsignfolderGetCommunicationListV1ResponseMPayload from typing import Optional, Set from typing_extensions import Self -class EzsignfolderGetCommunicationListV1Response(CommonResponseGetList): +class EzsignfolderGetCommunicationListV1Response(BaseModel): """ Response for GET /1/object/ezsignfolder/{pkiEzsignfolderID}/getCommunicationList """ # noqa: E501 + obj_debug_payload: CommonResponseObjDebugPayloadGetList = Field(alias="objDebugPayload") + obj_debug: Optional[CommonResponseObjDebug] = Field(default=None, alias="objDebug") m_payload: EzsignfolderGetCommunicationListV1ResponseMPayload = Field(alias="mPayload") __properties: ClassVar[List[str]] = ["objDebugPayload", "objDebug", "mPayload"] diff --git a/eZmaxApi/models/ezsignfolder_get_communicationrecipients_v1_response.py b/eZmaxApi/models/ezsignfolder_get_communicationrecipients_v1_response.py index 8dc5fa19a..571f2d627 100644 --- a/eZmaxApi/models/ezsignfolder_get_communicationrecipients_v1_response.py +++ b/eZmaxApi/models/ezsignfolder_get_communicationrecipients_v1_response.py @@ -18,19 +18,20 @@ import re # noqa: F401 import json -from pydantic import ConfigDict, Field -from typing import Any, ClassVar, Dict, List -from eZmaxApi.models.common_response import CommonResponse +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List, Optional from eZmaxApi.models.common_response_obj_debug import CommonResponseObjDebug from eZmaxApi.models.common_response_obj_debug_payload import CommonResponseObjDebugPayload from eZmaxApi.models.ezsignfolder_get_communicationrecipients_v1_response_m_payload import EzsignfolderGetCommunicationrecipientsV1ResponseMPayload from typing import Optional, Set from typing_extensions import Self -class EzsignfolderGetCommunicationrecipientsV1Response(CommonResponse): +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(default=None, alias="objDebug") m_payload: EzsignfolderGetCommunicationrecipientsV1ResponseMPayload = Field(alias="mPayload") __properties: ClassVar[List[str]] = ["objDebugPayload", "objDebug", "mPayload"] diff --git a/eZmaxApi/models/ezsignfolder_get_communicationsenders_v1_response.py b/eZmaxApi/models/ezsignfolder_get_communicationsenders_v1_response.py index 7528ffae3..f486caf27 100644 --- a/eZmaxApi/models/ezsignfolder_get_communicationsenders_v1_response.py +++ b/eZmaxApi/models/ezsignfolder_get_communicationsenders_v1_response.py @@ -18,19 +18,20 @@ import re # noqa: F401 import json -from pydantic import ConfigDict, Field -from typing import Any, ClassVar, Dict, List -from eZmaxApi.models.common_response import CommonResponse +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List, Optional from eZmaxApi.models.common_response_obj_debug import CommonResponseObjDebug from eZmaxApi.models.common_response_obj_debug_payload import CommonResponseObjDebugPayload from eZmaxApi.models.ezsignfolder_get_communicationsenders_v1_response_m_payload import EzsignfolderGetCommunicationsendersV1ResponseMPayload from typing import Optional, Set from typing_extensions import Self -class EzsignfolderGetCommunicationsendersV1Response(CommonResponse): +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(default=None, alias="objDebug") m_payload: EzsignfolderGetCommunicationsendersV1ResponseMPayload = Field(alias="mPayload") __properties: ClassVar[List[str]] = ["objDebugPayload", "objDebug", "mPayload"] diff --git a/eZmaxApi/models/ezsignfolder_get_ezsigndocuments_v1_response.py b/eZmaxApi/models/ezsignfolder_get_ezsigndocuments_v1_response.py index e3a1e7a26..c4ac87f3a 100644 --- a/eZmaxApi/models/ezsignfolder_get_ezsigndocuments_v1_response.py +++ b/eZmaxApi/models/ezsignfolder_get_ezsigndocuments_v1_response.py @@ -18,19 +18,20 @@ import re # noqa: F401 import json -from pydantic import ConfigDict, Field -from typing import Any, ClassVar, Dict, List -from eZmaxApi.models.common_response import CommonResponse +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List, Optional from eZmaxApi.models.common_response_obj_debug import CommonResponseObjDebug from eZmaxApi.models.common_response_obj_debug_payload import CommonResponseObjDebugPayload from eZmaxApi.models.ezsignfolder_get_ezsigndocuments_v1_response_m_payload import EzsignfolderGetEzsigndocumentsV1ResponseMPayload from typing import Optional, Set from typing_extensions import Self -class EzsignfolderGetEzsigndocumentsV1Response(CommonResponse): +class EzsignfolderGetEzsigndocumentsV1Response(BaseModel): """ Response for GET /1/object/ezsignfolder/{pkiEzsignfolder}/getEzsigndocuments """ # noqa: E501 + obj_debug_payload: CommonResponseObjDebugPayload = Field(alias="objDebugPayload") + obj_debug: Optional[CommonResponseObjDebug] = Field(default=None, alias="objDebug") m_payload: EzsignfolderGetEzsigndocumentsV1ResponseMPayload = Field(alias="mPayload") __properties: ClassVar[List[str]] = ["objDebugPayload", "objDebug", "mPayload"] diff --git a/eZmaxApi/models/ezsignfolder_get_ezsignfoldersignerassociations_v1_response.py b/eZmaxApi/models/ezsignfolder_get_ezsignfoldersignerassociations_v1_response.py index 53eda469d..52d250da6 100644 --- a/eZmaxApi/models/ezsignfolder_get_ezsignfoldersignerassociations_v1_response.py +++ b/eZmaxApi/models/ezsignfolder_get_ezsignfoldersignerassociations_v1_response.py @@ -18,19 +18,20 @@ import re # noqa: F401 import json -from pydantic import ConfigDict, Field -from typing import Any, ClassVar, Dict, List -from eZmaxApi.models.common_response import CommonResponse +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List, Optional from eZmaxApi.models.common_response_obj_debug import CommonResponseObjDebug from eZmaxApi.models.common_response_obj_debug_payload import CommonResponseObjDebugPayload from eZmaxApi.models.ezsignfolder_get_ezsignfoldersignerassociations_v1_response_m_payload import EzsignfolderGetEzsignfoldersignerassociationsV1ResponseMPayload from typing import Optional, Set from typing_extensions import Self -class EzsignfolderGetEzsignfoldersignerassociationsV1Response(CommonResponse): +class EzsignfolderGetEzsignfoldersignerassociationsV1Response(BaseModel): """ Response for GET /1/object/ezsignfolder/{pkiEzsignfolder}/getEzsignfoldersignerassociations """ # noqa: E501 + obj_debug_payload: CommonResponseObjDebugPayload = Field(alias="objDebugPayload") + obj_debug: Optional[CommonResponseObjDebug] = Field(default=None, alias="objDebug") m_payload: EzsignfolderGetEzsignfoldersignerassociationsV1ResponseMPayload = Field(alias="mPayload") __properties: ClassVar[List[str]] = ["objDebugPayload", "objDebug", "mPayload"] diff --git a/eZmaxApi/models/ezsignfolder_get_ezsignsignatures_automatic_v1_response.py b/eZmaxApi/models/ezsignfolder_get_ezsignsignatures_automatic_v1_response.py index bcdab6f19..bb0aeaafc 100644 --- a/eZmaxApi/models/ezsignfolder_get_ezsignsignatures_automatic_v1_response.py +++ b/eZmaxApi/models/ezsignfolder_get_ezsignsignatures_automatic_v1_response.py @@ -18,19 +18,20 @@ import re # noqa: F401 import json -from pydantic import ConfigDict, Field -from typing import Any, ClassVar, Dict, List -from eZmaxApi.models.common_response import CommonResponse +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List, Optional from eZmaxApi.models.common_response_obj_debug import CommonResponseObjDebug from eZmaxApi.models.common_response_obj_debug_payload import CommonResponseObjDebugPayload from eZmaxApi.models.ezsignfolder_get_ezsignsignatures_automatic_v1_response_m_payload import EzsignfolderGetEzsignsignaturesAutomaticV1ResponseMPayload from typing import Optional, Set from typing_extensions import Self -class EzsignfolderGetEzsignsignaturesAutomaticV1Response(CommonResponse): +class EzsignfolderGetEzsignsignaturesAutomaticV1Response(BaseModel): """ Response for GET /1/object/ezsignfolder/{pkiEzsignfolderID}/getEzsignsignaturesAutomatic """ # noqa: E501 + obj_debug_payload: CommonResponseObjDebugPayload = Field(alias="objDebugPayload") + obj_debug: Optional[CommonResponseObjDebug] = Field(default=None, alias="objDebug") m_payload: EzsignfolderGetEzsignsignaturesAutomaticV1ResponseMPayload = Field(alias="mPayload") __properties: ClassVar[List[str]] = ["objDebugPayload", "objDebug", "mPayload"] diff --git a/eZmaxApi/models/ezsignfolder_get_forms_data_v1_response.py b/eZmaxApi/models/ezsignfolder_get_forms_data_v1_response.py index 5a5b0da04..cc9c4ee1d 100644 --- a/eZmaxApi/models/ezsignfolder_get_forms_data_v1_response.py +++ b/eZmaxApi/models/ezsignfolder_get_forms_data_v1_response.py @@ -18,19 +18,20 @@ import re # noqa: F401 import json -from pydantic import ConfigDict, Field -from typing import Any, ClassVar, Dict, List -from eZmaxApi.models.common_response import CommonResponse +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List, Optional from eZmaxApi.models.common_response_obj_debug import CommonResponseObjDebug from eZmaxApi.models.common_response_obj_debug_payload import CommonResponseObjDebugPayload from eZmaxApi.models.ezsignfolder_get_forms_data_v1_response_m_payload import EzsignfolderGetFormsDataV1ResponseMPayload from typing import Optional, Set from typing_extensions import Self -class EzsignfolderGetFormsDataV1Response(CommonResponse): +class EzsignfolderGetFormsDataV1Response(BaseModel): """ Response for GET /1/object/ezsignfolder/{pkiEzsignfolder}/getFormsData """ # noqa: E501 + obj_debug_payload: CommonResponseObjDebugPayload = Field(alias="objDebugPayload") + obj_debug: Optional[CommonResponseObjDebug] = Field(default=None, alias="objDebug") m_payload: EzsignfolderGetFormsDataV1ResponseMPayload = Field(alias="mPayload") __properties: ClassVar[List[str]] = ["objDebugPayload", "objDebug", "mPayload"] diff --git a/eZmaxApi/models/ezsignfolder_get_list_v1_response.py b/eZmaxApi/models/ezsignfolder_get_list_v1_response.py index 819ff4c11..9cac6a5bc 100644 --- a/eZmaxApi/models/ezsignfolder_get_list_v1_response.py +++ b/eZmaxApi/models/ezsignfolder_get_list_v1_response.py @@ -18,19 +18,20 @@ import re # noqa: F401 import json -from pydantic import ConfigDict, Field -from typing import Any, ClassVar, Dict, List -from eZmaxApi.models.common_response_get_list import CommonResponseGetList +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List, Optional from eZmaxApi.models.common_response_obj_debug import CommonResponseObjDebug from eZmaxApi.models.common_response_obj_debug_payload_get_list import CommonResponseObjDebugPayloadGetList from eZmaxApi.models.ezsignfolder_get_list_v1_response_m_payload import EzsignfolderGetListV1ResponseMPayload from typing import Optional, Set from typing_extensions import Self -class EzsignfolderGetListV1Response(CommonResponseGetList): +class EzsignfolderGetListV1Response(BaseModel): """ Response for GET /1/object/ezsignfolder/getList """ # noqa: E501 + obj_debug_payload: CommonResponseObjDebugPayloadGetList = Field(alias="objDebugPayload") + obj_debug: Optional[CommonResponseObjDebug] = Field(default=None, alias="objDebug") m_payload: EzsignfolderGetListV1ResponseMPayload = Field(alias="mPayload") __properties: ClassVar[List[str]] = ["objDebugPayload", "objDebug", "mPayload"] diff --git a/eZmaxApi/models/ezsignfolder_get_list_v1_response_m_payload.py b/eZmaxApi/models/ezsignfolder_get_list_v1_response_m_payload.py index d141bb0d1..cf7004119 100644 --- a/eZmaxApi/models/ezsignfolder_get_list_v1_response_m_payload.py +++ b/eZmaxApi/models/ezsignfolder_get_list_v1_response_m_payload.py @@ -18,17 +18,18 @@ import re # noqa: F401 import json -from pydantic import ConfigDict, Field +from pydantic import BaseModel, ConfigDict, Field, StrictInt from typing import Any, ClassVar, Dict, List -from eZmaxApi.models.common_get_list_v1_response_m_payload import CommonGetListV1ResponseMPayload from eZmaxApi.models.ezsignfolder_list_element import EzsignfolderListElement from typing import Optional, Set from typing_extensions import Self -class EzsignfolderGetListV1ResponseMPayload(CommonGetListV1ResponseMPayload): +class EzsignfolderGetListV1ResponseMPayload(BaseModel): """ Payload for GET /1/object/ezsignfolder/getList """ # noqa: E501 + i_row_returned: StrictInt = Field(description="The number of rows returned", alias="iRowReturned") + i_row_filtered: StrictInt = Field(description="The number of rows matching your filters (if any) or the total number of rows", alias="iRowFiltered") a_obj_ezsignfolder: List[EzsignfolderListElement] = Field(alias="a_objEzsignfolder") __properties: ClassVar[List[str]] = ["iRowReturned", "iRowFiltered", "a_objEzsignfolder"] diff --git a/eZmaxApi/models/ezsignfolder_get_object_v1_response.py b/eZmaxApi/models/ezsignfolder_get_object_v1_response.py index 72973ad1c..14136311a 100644 --- a/eZmaxApi/models/ezsignfolder_get_object_v1_response.py +++ b/eZmaxApi/models/ezsignfolder_get_object_v1_response.py @@ -18,20 +18,21 @@ import re # noqa: F401 import json -from pydantic import ConfigDict, Field -from typing import Any, ClassVar, Dict, List -from eZmaxApi.models.common_response import CommonResponse +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List, Optional from eZmaxApi.models.common_response_obj_debug import CommonResponseObjDebug from eZmaxApi.models.common_response_obj_debug_payload import CommonResponseObjDebugPayload -from eZmaxApi.models.ezsignfolder_response_compound import EzsignfolderResponseCompound +from eZmaxApi.models.ezsignfolder_get_object_v1_response_m_payload import EzsignfolderGetObjectV1ResponseMPayload from typing import Optional, Set from typing_extensions import Self -class EzsignfolderGetObjectV1Response(CommonResponse): +class EzsignfolderGetObjectV1Response(BaseModel): """ Response for GET /1/object/ezsignfolder/{pkiEzsignfolderID} """ # noqa: E501 - m_payload: EzsignfolderResponseCompound = Field(description="Payload for GET /1/object/ezsignfolder/{pkiEzsignfolderID}", alias="mPayload") + obj_debug_payload: CommonResponseObjDebugPayload = Field(alias="objDebugPayload") + obj_debug: Optional[CommonResponseObjDebug] = Field(default=None, alias="objDebug") + m_payload: EzsignfolderGetObjectV1ResponseMPayload = Field(alias="mPayload") __properties: ClassVar[List[str]] = ["objDebugPayload", "objDebug", "mPayload"] model_config = ConfigDict( @@ -96,7 +97,7 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: _obj = cls.model_validate({ "objDebugPayload": CommonResponseObjDebugPayload.from_dict(obj["objDebugPayload"]) if obj.get("objDebugPayload") is not None else None, "objDebug": CommonResponseObjDebug.from_dict(obj["objDebug"]) if obj.get("objDebug") is not None else None, - "mPayload": EzsignfolderResponseCompound.from_dict(obj["mPayload"]) if obj.get("mPayload") is not None else None + "mPayload": EzsignfolderGetObjectV1ResponseMPayload.from_dict(obj["mPayload"]) if obj.get("mPayload") is not None else None }) return _obj diff --git a/eZmaxApi/models/ezsignfolder_get_object_v1_response_m_payload.py b/eZmaxApi/models/ezsignfolder_get_object_v1_response_m_payload.py index b9f28cb3e..eb618400f 100644 --- a/eZmaxApi/models/ezsignfolder_get_object_v1_response_m_payload.py +++ b/eZmaxApi/models/ezsignfolder_get_object_v1_response_m_payload.py @@ -18,24 +18,68 @@ import re # noqa: F401 import json -from pydantic import ConfigDict -from typing import Any, ClassVar, Dict, List +from pydantic import BaseModel, ConfigDict, Field, StrictBool, StrictStr, field_validator +from typing import Any, ClassVar, Dict, List, Optional +from typing_extensions import Annotated from eZmaxApi.models.common_audit import CommonAudit from eZmaxApi.models.custom_ezsignfoldertype_response import CustomEzsignfoldertypeResponse from eZmaxApi.models.custom_timezone_with_code_response import CustomTimezoneWithCodeResponse -from eZmaxApi.models.ezsignfolder_response_compound import EzsignfolderResponseCompound from eZmaxApi.models.field_e_ezsignfolder_completion import FieldEEzsignfolderCompletion from eZmaxApi.models.field_e_ezsignfolder_sendreminderfrequency import FieldEEzsignfolderSendreminderfrequency from eZmaxApi.models.field_e_ezsignfolder_step import FieldEEzsignfolderStep from typing import Optional, Set from typing_extensions import Self -class EzsignfolderGetObjectV1ResponseMPayload(EzsignfolderResponseCompound): +class EzsignfolderGetObjectV1ResponseMPayload(BaseModel): """ Payload for GET /1/object/ezsignfolder/{pkiEzsignfolderID} """ # noqa: E501 + pki_ezsignfolder_id: Annotated[int, Field(strict=True, ge=0)] = Field(description="The unique ID of the Ezsignfolder", alias="pkiEzsignfolderID") + fki_ezsignfoldertype_id: Optional[Annotated[int, Field(le=65535, strict=True, ge=0)]] = Field(default=None, description="The unique ID of the Ezsignfoldertype.", alias="fkiEzsignfoldertypeID") + obj_ezsignfoldertype: Optional[CustomEzsignfoldertypeResponse] = Field(default=None, alias="objEzsignfoldertype") + fki_timezone_id: Optional[Annotated[int, Field(strict=True, ge=0)]] = Field(default=None, description="The unique ID of the Timezone", alias="fkiTimezoneID") + e_ezsignfolder_completion: FieldEEzsignfolderCompletion = Field(alias="eEzsignfolderCompletion") + s_ezsignfoldertype_name_x: Optional[StrictStr] = Field(default=None, alias="sEzsignfoldertypeNameX") + fki_billingentityinternal_id: Optional[Annotated[int, Field(strict=True, ge=0)]] = Field(default=None, description="The unique ID of the Billingentityinternal.", alias="fkiBillingentityinternalID") + s_billingentityinternal_description_x: Optional[StrictStr] = Field(default=None, description="The description of the Billingentityinternal in the language of the requester", alias="sBillingentityinternalDescriptionX") + fki_ezsigntsarequirement_id: Optional[Annotated[int, Field(le=3, strict=True, ge=1)]] = Field(default=None, description="The unique ID of the Ezsigntsarequirement. Determine if a Time Stamping Authority should add a timestamp on each of the signature. Valid values: |Value|Description| |-|-| |1|No. TSA Timestamping will requested. This will make all signatures a lot faster since no round-trip to the TSA server will be required. Timestamping will be made using eZsign server's time.| |2|Best effort. Timestamping from a Time Stamping Authority will be requested but is not mandatory. In the very improbable case it cannot be completed, the timestamping will be made using eZsign server's time. **Additional fee applies**| |3|Mandatory. Timestamping from a Time Stamping Authority will be requested and is mandatory. In the very improbable case it cannot be completed, the signature will fail and the user will be asked to retry. **Additional fee applies**|", alias="fkiEzsigntsarequirementID") + s_ezsigntsarequirement_description_x: Optional[StrictStr] = Field(default=None, description="The description of the Ezsigntsarequirement in the language of the requester", alias="sEzsigntsarequirementDescriptionX") + s_ezsignfolder_description: Annotated[str, Field(strict=True)] = Field(description="The description of the Ezsignfolder", alias="sEzsignfolderDescription") + t_ezsignfolder_note: Optional[StrictStr] = Field(default=None, description="Note about the Ezsignfolder", alias="tEzsignfolderNote") + b_ezsignfolder_isdisposable: Optional[StrictBool] = Field(default=None, description="If the Ezsigndocument can be disposed", alias="bEzsignfolderIsdisposable") + e_ezsignfolder_sendreminderfrequency: Optional[FieldEEzsignfolderSendreminderfrequency] = Field(default=None, alias="eEzsignfolderSendreminderfrequency") + i_ezsignfolder_sendreminderfirstdays: Optional[Annotated[int, Field(le=255, strict=True, ge=0)]] = Field(default=None, description="The number of days before the the first reminder sending", alias="iEzsignfolderSendreminderfirstdays") + i_ezsignfolder_sendreminderotherdays: Optional[Annotated[int, Field(le=255, strict=True, ge=0)]] = Field(default=None, description="The number of days after the first reminder sending", alias="iEzsignfolderSendreminderotherdays") + dt_ezsignfolder_delayedsenddate: Optional[StrictStr] = Field(default=None, description="The date and time at which the Ezsignfolder will be sent in the future.", alias="dtEzsignfolderDelayedsenddate") + dt_ezsignfolder_duedate: Optional[StrictStr] = Field(default=None, description="The maximum date and time at which the Ezsignfolder can be signed.", alias="dtEzsignfolderDuedate") + dt_ezsignfolder_sentdate: Optional[StrictStr] = Field(default=None, description="The date and time at which the Ezsignfolder was sent the last time.", alias="dtEzsignfolderSentdate") + dt_ezsignfolder_scheduledarchive: Optional[StrictStr] = Field(default=None, description="The scheduled date and time at which the Ezsignfolder should be archived.", alias="dtEzsignfolderScheduledarchive") + dt_ezsignfolder_scheduleddispose: Optional[StrictStr] = Field(default=None, description="The scheduled date at which the Ezsignfolder should be Disposed.", alias="dtEzsignfolderScheduleddispose") + e_ezsignfolder_step: Optional[FieldEEzsignfolderStep] = Field(default=None, alias="eEzsignfolderStep") + dt_ezsignfolder_close: Optional[StrictStr] = Field(default=None, description="The date and time at which the Ezsignfolder was closed. Either by applying the last signature or by completing it prematurely.", alias="dtEzsignfolderClose") + t_ezsignfolder_message: Optional[StrictStr] = Field(default=None, description="A custom text message that will be added to the email sent.", alias="tEzsignfolderMessage") + obj_audit: Optional[CommonAudit] = Field(default=None, alias="objAudit") + s_ezsignfolder_externalid: Optional[Annotated[str, Field(strict=True)]] = Field(default=None, description="This field can be used to store an External ID from the client's system. Anything can be stored in this field, it will never be evaluated by the eZmax system and will be returned AS-IS. To store multiple values, consider using a JSON formatted structure, a URL encoded string, a CSV or any other custom format. ", alias="sEzsignfolderExternalid") + obj_timezone: Optional[CustomTimezoneWithCodeResponse] = Field(default=None, alias="objTimezone") __properties: ClassVar[List[str]] = ["pkiEzsignfolderID", "fkiEzsignfoldertypeID", "objEzsignfoldertype", "fkiTimezoneID", "eEzsignfolderCompletion", "sEzsignfoldertypeNameX", "fkiBillingentityinternalID", "sBillingentityinternalDescriptionX", "fkiEzsigntsarequirementID", "sEzsigntsarequirementDescriptionX", "sEzsignfolderDescription", "tEzsignfolderNote", "bEzsignfolderIsdisposable", "eEzsignfolderSendreminderfrequency", "iEzsignfolderSendreminderfirstdays", "iEzsignfolderSendreminderotherdays", "dtEzsignfolderDelayedsenddate", "dtEzsignfolderDuedate", "dtEzsignfolderSentdate", "dtEzsignfolderScheduledarchive", "dtEzsignfolderScheduleddispose", "eEzsignfolderStep", "dtEzsignfolderClose", "tEzsignfolderMessage", "objAudit", "sEzsignfolderExternalid", "objTimezone"] + @field_validator('s_ezsignfolder_description') + def s_ezsignfolder_description_validate_regular_expression(cls, value): + """Validates the regular expression""" + if not re.match(r"^.{0,75}$", value): + raise ValueError(r"must validate the regular expression /^.{0,75}$/") + return value + + @field_validator('s_ezsignfolder_externalid') + def s_ezsignfolder_externalid_validate_regular_expression(cls, value): + """Validates the regular expression""" + if value is None: + return value + + if not re.match(r"^.{0,128}$", value): + raise ValueError(r"must validate the regular expression /^.{0,128}$/") + return value + model_config = ConfigDict( populate_by_name=True, validate_assignment=True, diff --git a/eZmaxApi/models/ezsignfolder_get_object_v2_response.py b/eZmaxApi/models/ezsignfolder_get_object_v2_response.py index 5451d1f7d..0c3a9778a 100644 --- a/eZmaxApi/models/ezsignfolder_get_object_v2_response.py +++ b/eZmaxApi/models/ezsignfolder_get_object_v2_response.py @@ -18,19 +18,20 @@ import re # noqa: F401 import json -from pydantic import ConfigDict, Field -from typing import Any, ClassVar, Dict, List -from eZmaxApi.models.common_response import CommonResponse +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List, Optional from eZmaxApi.models.common_response_obj_debug import CommonResponseObjDebug from eZmaxApi.models.common_response_obj_debug_payload import CommonResponseObjDebugPayload from eZmaxApi.models.ezsignfolder_get_object_v2_response_m_payload import EzsignfolderGetObjectV2ResponseMPayload from typing import Optional, Set from typing_extensions import Self -class EzsignfolderGetObjectV2Response(CommonResponse): +class EzsignfolderGetObjectV2Response(BaseModel): """ Response for GET /2/object/ezsignfolder/{pkiEzsignfolderID} """ # noqa: E501 + obj_debug_payload: CommonResponseObjDebugPayload = Field(alias="objDebugPayload") + obj_debug: Optional[CommonResponseObjDebug] = Field(default=None, alias="objDebug") m_payload: EzsignfolderGetObjectV2ResponseMPayload = Field(alias="mPayload") __properties: ClassVar[List[str]] = ["objDebugPayload", "objDebug", "mPayload"] diff --git a/eZmaxApi/models/ezsignfolder_get_object_v3_response.py b/eZmaxApi/models/ezsignfolder_get_object_v3_response.py index ce779ee3f..7c99033bb 100644 --- a/eZmaxApi/models/ezsignfolder_get_object_v3_response.py +++ b/eZmaxApi/models/ezsignfolder_get_object_v3_response.py @@ -18,19 +18,20 @@ import re # noqa: F401 import json -from pydantic import ConfigDict, Field -from typing import Any, ClassVar, Dict, List -from eZmaxApi.models.common_response import CommonResponse +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List, Optional from eZmaxApi.models.common_response_obj_debug import CommonResponseObjDebug from eZmaxApi.models.common_response_obj_debug_payload import CommonResponseObjDebugPayload from eZmaxApi.models.ezsignfolder_get_object_v3_response_m_payload import EzsignfolderGetObjectV3ResponseMPayload from typing import Optional, Set from typing_extensions import Self -class EzsignfolderGetObjectV3Response(CommonResponse): +class EzsignfolderGetObjectV3Response(BaseModel): """ Response for GET /3/object/ezsignfolder/{pkiEzsignfolderID} """ # noqa: E501 + obj_debug_payload: CommonResponseObjDebugPayload = Field(alias="objDebugPayload") + obj_debug: Optional[CommonResponseObjDebug] = Field(default=None, alias="objDebug") m_payload: EzsignfolderGetObjectV3ResponseMPayload = Field(alias="mPayload") __properties: ClassVar[List[str]] = ["objDebugPayload", "objDebug", "mPayload"] diff --git a/eZmaxApi/models/ezsignfolder_import_ezsignfoldersignerassociations_v1_response.py b/eZmaxApi/models/ezsignfolder_import_ezsignfoldersignerassociations_v1_response.py index 8a67c37e0..bbb7b2b07 100644 --- a/eZmaxApi/models/ezsignfolder_import_ezsignfoldersignerassociations_v1_response.py +++ b/eZmaxApi/models/ezsignfolder_import_ezsignfoldersignerassociations_v1_response.py @@ -18,19 +18,20 @@ import re # noqa: F401 import json -from pydantic import ConfigDict, Field -from typing import Any, ClassVar, Dict, List -from eZmaxApi.models.common_response import CommonResponse +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List, Optional from eZmaxApi.models.common_response_obj_debug import CommonResponseObjDebug from eZmaxApi.models.common_response_obj_debug_payload import CommonResponseObjDebugPayload from eZmaxApi.models.ezsignfolder_import_ezsignfoldersignerassociations_v1_response_m_payload import EzsignfolderImportEzsignfoldersignerassociationsV1ResponseMPayload from typing import Optional, Set from typing_extensions import Self -class EzsignfolderImportEzsignfoldersignerassociationsV1Response(CommonResponse): +class EzsignfolderImportEzsignfoldersignerassociationsV1Response(BaseModel): """ Response for POST /1/object/ezsignfolder/{pkiEzsignfolder}/importEzsignfoldersignerassociations """ # noqa: E501 + obj_debug_payload: CommonResponseObjDebugPayload = Field(alias="objDebugPayload") + obj_debug: Optional[CommonResponseObjDebug] = Field(default=None, alias="objDebug") m_payload: EzsignfolderImportEzsignfoldersignerassociationsV1ResponseMPayload = Field(alias="mPayload") __properties: ClassVar[List[str]] = ["objDebugPayload", "objDebug", "mPayload"] diff --git a/eZmaxApi/models/ezsignfolder_import_ezsigntemplatepackage_v1_response.py b/eZmaxApi/models/ezsignfolder_import_ezsigntemplatepackage_v1_response.py index 4fa6bb4a2..c942e01db 100644 --- a/eZmaxApi/models/ezsignfolder_import_ezsigntemplatepackage_v1_response.py +++ b/eZmaxApi/models/ezsignfolder_import_ezsigntemplatepackage_v1_response.py @@ -18,19 +18,20 @@ import re # noqa: F401 import json -from pydantic import ConfigDict, Field -from typing import Any, ClassVar, Dict, List -from eZmaxApi.models.common_response import CommonResponse +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List, Optional from eZmaxApi.models.common_response_obj_debug import CommonResponseObjDebug from eZmaxApi.models.common_response_obj_debug_payload import CommonResponseObjDebugPayload from eZmaxApi.models.ezsignfolder_import_ezsigntemplatepackage_v1_response_m_payload import EzsignfolderImportEzsigntemplatepackageV1ResponseMPayload from typing import Optional, Set from typing_extensions import Self -class EzsignfolderImportEzsigntemplatepackageV1Response(CommonResponse): +class EzsignfolderImportEzsigntemplatepackageV1Response(BaseModel): """ Response for POST/1/object/ezsignfolder/{pkiEzsignfolderID}/importEzsigntemplatepackage """ # noqa: E501 + obj_debug_payload: CommonResponseObjDebugPayload = Field(alias="objDebugPayload") + obj_debug: Optional[CommonResponseObjDebug] = Field(default=None, alias="objDebug") m_payload: EzsignfolderImportEzsigntemplatepackageV1ResponseMPayload = Field(alias="mPayload") __properties: ClassVar[List[str]] = ["objDebugPayload", "objDebug", "mPayload"] diff --git a/eZmaxApi/models/ezsignfolder_reorder_v1_response.py b/eZmaxApi/models/ezsignfolder_reorder_v1_response.py index 4c5a44e2e..8b5eb8db1 100644 --- a/eZmaxApi/models/ezsignfolder_reorder_v1_response.py +++ b/eZmaxApi/models/ezsignfolder_reorder_v1_response.py @@ -18,18 +18,19 @@ import re # noqa: F401 import json -from pydantic import ConfigDict -from typing import Any, ClassVar, Dict, List -from eZmaxApi.models.common_response import CommonResponse +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List, Optional from eZmaxApi.models.common_response_obj_debug import CommonResponseObjDebug from eZmaxApi.models.common_response_obj_debug_payload import CommonResponseObjDebugPayload from typing import Optional, Set from typing_extensions import Self -class EzsignfolderReorderV1Response(CommonResponse): +class EzsignfolderReorderV1Response(BaseModel): """ Response for POST /1/object/ezsignfolder/{pkiEzsignfolderID}/reorder """ # noqa: E501 + obj_debug_payload: CommonResponseObjDebugPayload = Field(alias="objDebugPayload") + obj_debug: Optional[CommonResponseObjDebug] = Field(default=None, alias="objDebug") __properties: ClassVar[List[str]] = ["objDebugPayload", "objDebug"] model_config = ConfigDict( diff --git a/eZmaxApi/models/ezsignfolder_reorder_v2_response.py b/eZmaxApi/models/ezsignfolder_reorder_v2_response.py index c8e77f521..8911bab8a 100644 --- a/eZmaxApi/models/ezsignfolder_reorder_v2_response.py +++ b/eZmaxApi/models/ezsignfolder_reorder_v2_response.py @@ -18,18 +18,19 @@ import re # noqa: F401 import json -from pydantic import ConfigDict -from typing import Any, ClassVar, Dict, List -from eZmaxApi.models.common_response import CommonResponse +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List, Optional from eZmaxApi.models.common_response_obj_debug import CommonResponseObjDebug from eZmaxApi.models.common_response_obj_debug_payload import CommonResponseObjDebugPayload from typing import Optional, Set from typing_extensions import Self -class EzsignfolderReorderV2Response(CommonResponse): +class EzsignfolderReorderV2Response(BaseModel): """ Response for POST /2/object/ezsignfolder/{pkiEzsignfolderID}/reorder """ # noqa: E501 + obj_debug_payload: CommonResponseObjDebugPayload = Field(alias="objDebugPayload") + obj_debug: Optional[CommonResponseObjDebug] = Field(default=None, alias="objDebug") __properties: ClassVar[List[str]] = ["objDebugPayload", "objDebug"] model_config = ConfigDict( diff --git a/eZmaxApi/models/ezsignfolder_response.py b/eZmaxApi/models/ezsignfolder_response.py index e8ffb1bab..6d4bd7b0d 100644 --- a/eZmaxApi/models/ezsignfolder_response.py +++ b/eZmaxApi/models/ezsignfolder_response.py @@ -126,7 +126,42 @@ def to_dict(self) -> Dict[str, Any]: return _dict @classmethod - def from_dict(cls, obj: Dict[str, Any]) -> Optional[Self]: + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: """Create an instance of EzsignfolderResponse from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "pkiEzsignfolderID": obj.get("pkiEzsignfolderID"), + "fkiEzsignfoldertypeID": obj.get("fkiEzsignfoldertypeID"), + "objEzsignfoldertype": CustomEzsignfoldertypeResponse.from_dict(obj["objEzsignfoldertype"]) if obj.get("objEzsignfoldertype") is not None else None, + "fkiTimezoneID": obj.get("fkiTimezoneID"), + "eEzsignfolderCompletion": obj.get("eEzsignfolderCompletion"), + "sEzsignfoldertypeNameX": obj.get("sEzsignfoldertypeNameX"), + "fkiBillingentityinternalID": obj.get("fkiBillingentityinternalID"), + "sBillingentityinternalDescriptionX": obj.get("sBillingentityinternalDescriptionX"), + "fkiEzsigntsarequirementID": obj.get("fkiEzsigntsarequirementID"), + "sEzsigntsarequirementDescriptionX": obj.get("sEzsigntsarequirementDescriptionX"), + "sEzsignfolderDescription": obj.get("sEzsignfolderDescription"), + "tEzsignfolderNote": obj.get("tEzsignfolderNote"), + "bEzsignfolderIsdisposable": obj.get("bEzsignfolderIsdisposable"), + "eEzsignfolderSendreminderfrequency": obj.get("eEzsignfolderSendreminderfrequency"), + "iEzsignfolderSendreminderfirstdays": obj.get("iEzsignfolderSendreminderfirstdays"), + "iEzsignfolderSendreminderotherdays": obj.get("iEzsignfolderSendreminderotherdays"), + "dtEzsignfolderDelayedsenddate": obj.get("dtEzsignfolderDelayedsenddate"), + "dtEzsignfolderDuedate": obj.get("dtEzsignfolderDuedate"), + "dtEzsignfolderSentdate": obj.get("dtEzsignfolderSentdate"), + "dtEzsignfolderScheduledarchive": obj.get("dtEzsignfolderScheduledarchive"), + "dtEzsignfolderScheduleddispose": obj.get("dtEzsignfolderScheduleddispose"), + "eEzsignfolderStep": obj.get("eEzsignfolderStep"), + "dtEzsignfolderClose": obj.get("dtEzsignfolderClose"), + "tEzsignfolderMessage": obj.get("tEzsignfolderMessage"), + "objAudit": CommonAudit.from_dict(obj["objAudit"]) if obj.get("objAudit") is not None else None, + "sEzsignfolderExternalid": obj.get("sEzsignfolderExternalid") + }) + return _obj diff --git a/eZmaxApi/models/ezsignfolder_response_compound.py b/eZmaxApi/models/ezsignfolder_response_compound.py index 5943a8827..cddbb4791 100644 --- a/eZmaxApi/models/ezsignfolder_response_compound.py +++ b/eZmaxApi/models/ezsignfolder_response_compound.py @@ -18,25 +18,68 @@ import re # noqa: F401 import json -from pydantic import ConfigDict, Field +from pydantic import BaseModel, ConfigDict, Field, StrictBool, StrictStr, field_validator from typing import Any, ClassVar, Dict, List, Optional +from typing_extensions import Annotated from eZmaxApi.models.common_audit import CommonAudit from eZmaxApi.models.custom_ezsignfoldertype_response import CustomEzsignfoldertypeResponse from eZmaxApi.models.custom_timezone_with_code_response import CustomTimezoneWithCodeResponse -from eZmaxApi.models.ezsignfolder_response import EzsignfolderResponse from eZmaxApi.models.field_e_ezsignfolder_completion import FieldEEzsignfolderCompletion from eZmaxApi.models.field_e_ezsignfolder_sendreminderfrequency import FieldEEzsignfolderSendreminderfrequency from eZmaxApi.models.field_e_ezsignfolder_step import FieldEEzsignfolderStep from typing import Optional, Set from typing_extensions import Self -class EzsignfolderResponseCompound(EzsignfolderResponse): +class EzsignfolderResponseCompound(BaseModel): """ An Ezsignfolder Object and children to create a complete structure """ # noqa: E501 + pki_ezsignfolder_id: Annotated[int, Field(strict=True, ge=0)] = Field(description="The unique ID of the Ezsignfolder", alias="pkiEzsignfolderID") + fki_ezsignfoldertype_id: Optional[Annotated[int, Field(le=65535, strict=True, ge=0)]] = Field(default=None, description="The unique ID of the Ezsignfoldertype.", alias="fkiEzsignfoldertypeID") + obj_ezsignfoldertype: Optional[CustomEzsignfoldertypeResponse] = Field(default=None, alias="objEzsignfoldertype") + fki_timezone_id: Optional[Annotated[int, Field(strict=True, ge=0)]] = Field(default=None, description="The unique ID of the Timezone", alias="fkiTimezoneID") + e_ezsignfolder_completion: FieldEEzsignfolderCompletion = Field(alias="eEzsignfolderCompletion") + s_ezsignfoldertype_name_x: Optional[StrictStr] = Field(default=None, alias="sEzsignfoldertypeNameX") + fki_billingentityinternal_id: Optional[Annotated[int, Field(strict=True, ge=0)]] = Field(default=None, description="The unique ID of the Billingentityinternal.", alias="fkiBillingentityinternalID") + s_billingentityinternal_description_x: Optional[StrictStr] = Field(default=None, description="The description of the Billingentityinternal in the language of the requester", alias="sBillingentityinternalDescriptionX") + fki_ezsigntsarequirement_id: Optional[Annotated[int, Field(le=3, strict=True, ge=1)]] = Field(default=None, description="The unique ID of the Ezsigntsarequirement. Determine if a Time Stamping Authority should add a timestamp on each of the signature. Valid values: |Value|Description| |-|-| |1|No. TSA Timestamping will requested. This will make all signatures a lot faster since no round-trip to the TSA server will be required. Timestamping will be made using eZsign server's time.| |2|Best effort. Timestamping from a Time Stamping Authority will be requested but is not mandatory. In the very improbable case it cannot be completed, the timestamping will be made using eZsign server's time. **Additional fee applies**| |3|Mandatory. Timestamping from a Time Stamping Authority will be requested and is mandatory. In the very improbable case it cannot be completed, the signature will fail and the user will be asked to retry. **Additional fee applies**|", alias="fkiEzsigntsarequirementID") + s_ezsigntsarequirement_description_x: Optional[StrictStr] = Field(default=None, description="The description of the Ezsigntsarequirement in the language of the requester", alias="sEzsigntsarequirementDescriptionX") + s_ezsignfolder_description: Annotated[str, Field(strict=True)] = Field(description="The description of the Ezsignfolder", alias="sEzsignfolderDescription") + t_ezsignfolder_note: Optional[StrictStr] = Field(default=None, description="Note about the Ezsignfolder", alias="tEzsignfolderNote") + b_ezsignfolder_isdisposable: Optional[StrictBool] = Field(default=None, description="If the Ezsigndocument can be disposed", alias="bEzsignfolderIsdisposable") + e_ezsignfolder_sendreminderfrequency: Optional[FieldEEzsignfolderSendreminderfrequency] = Field(default=None, alias="eEzsignfolderSendreminderfrequency") + i_ezsignfolder_sendreminderfirstdays: Optional[Annotated[int, Field(le=255, strict=True, ge=0)]] = Field(default=None, description="The number of days before the the first reminder sending", alias="iEzsignfolderSendreminderfirstdays") + i_ezsignfolder_sendreminderotherdays: Optional[Annotated[int, Field(le=255, strict=True, ge=0)]] = Field(default=None, description="The number of days after the first reminder sending", alias="iEzsignfolderSendreminderotherdays") + dt_ezsignfolder_delayedsenddate: Optional[StrictStr] = Field(default=None, description="The date and time at which the Ezsignfolder will be sent in the future.", alias="dtEzsignfolderDelayedsenddate") + dt_ezsignfolder_duedate: Optional[StrictStr] = Field(default=None, description="The maximum date and time at which the Ezsignfolder can be signed.", alias="dtEzsignfolderDuedate") + dt_ezsignfolder_sentdate: Optional[StrictStr] = Field(default=None, description="The date and time at which the Ezsignfolder was sent the last time.", alias="dtEzsignfolderSentdate") + dt_ezsignfolder_scheduledarchive: Optional[StrictStr] = Field(default=None, description="The scheduled date and time at which the Ezsignfolder should be archived.", alias="dtEzsignfolderScheduledarchive") + dt_ezsignfolder_scheduleddispose: Optional[StrictStr] = Field(default=None, description="The scheduled date at which the Ezsignfolder should be Disposed.", alias="dtEzsignfolderScheduleddispose") + e_ezsignfolder_step: Optional[FieldEEzsignfolderStep] = Field(default=None, alias="eEzsignfolderStep") + dt_ezsignfolder_close: Optional[StrictStr] = Field(default=None, description="The date and time at which the Ezsignfolder was closed. Either by applying the last signature or by completing it prematurely.", alias="dtEzsignfolderClose") + t_ezsignfolder_message: Optional[StrictStr] = Field(default=None, description="A custom text message that will be added to the email sent.", alias="tEzsignfolderMessage") + obj_audit: Optional[CommonAudit] = Field(default=None, alias="objAudit") + s_ezsignfolder_externalid: Optional[Annotated[str, Field(strict=True)]] = Field(default=None, description="This field can be used to store an External ID from the client's system. Anything can be stored in this field, it will never be evaluated by the eZmax system and will be returned AS-IS. To store multiple values, consider using a JSON formatted structure, a URL encoded string, a CSV or any other custom format. ", alias="sEzsignfolderExternalid") obj_timezone: Optional[CustomTimezoneWithCodeResponse] = Field(default=None, alias="objTimezone") __properties: ClassVar[List[str]] = ["pkiEzsignfolderID", "fkiEzsignfoldertypeID", "objEzsignfoldertype", "fkiTimezoneID", "eEzsignfolderCompletion", "sEzsignfoldertypeNameX", "fkiBillingentityinternalID", "sBillingentityinternalDescriptionX", "fkiEzsigntsarequirementID", "sEzsigntsarequirementDescriptionX", "sEzsignfolderDescription", "tEzsignfolderNote", "bEzsignfolderIsdisposable", "eEzsignfolderSendreminderfrequency", "iEzsignfolderSendreminderfirstdays", "iEzsignfolderSendreminderotherdays", "dtEzsignfolderDelayedsenddate", "dtEzsignfolderDuedate", "dtEzsignfolderSentdate", "dtEzsignfolderScheduledarchive", "dtEzsignfolderScheduleddispose", "eEzsignfolderStep", "dtEzsignfolderClose", "tEzsignfolderMessage", "objAudit", "sEzsignfolderExternalid", "objTimezone"] + @field_validator('s_ezsignfolder_description') + def s_ezsignfolder_description_validate_regular_expression(cls, value): + """Validates the regular expression""" + if not re.match(r"^.{0,75}$", value): + raise ValueError(r"must validate the regular expression /^.{0,75}$/") + return value + + @field_validator('s_ezsignfolder_externalid') + def s_ezsignfolder_externalid_validate_regular_expression(cls, value): + """Validates the regular expression""" + if value is None: + return value + + if not re.match(r"^.{0,128}$", value): + raise ValueError(r"must validate the regular expression /^.{0,128}$/") + return value + model_config = ConfigDict( populate_by_name=True, validate_assignment=True, @@ -88,7 +131,43 @@ def to_dict(self) -> Dict[str, Any]: return _dict @classmethod - def from_dict(cls, obj: Dict[str, Any]) -> Optional[Self]: + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: """Create an instance of EzsignfolderResponseCompound from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "pkiEzsignfolderID": obj.get("pkiEzsignfolderID"), + "fkiEzsignfoldertypeID": obj.get("fkiEzsignfoldertypeID"), + "objEzsignfoldertype": CustomEzsignfoldertypeResponse.from_dict(obj["objEzsignfoldertype"]) if obj.get("objEzsignfoldertype") is not None else None, + "fkiTimezoneID": obj.get("fkiTimezoneID"), + "eEzsignfolderCompletion": obj.get("eEzsignfolderCompletion"), + "sEzsignfoldertypeNameX": obj.get("sEzsignfoldertypeNameX"), + "fkiBillingentityinternalID": obj.get("fkiBillingentityinternalID"), + "sBillingentityinternalDescriptionX": obj.get("sBillingentityinternalDescriptionX"), + "fkiEzsigntsarequirementID": obj.get("fkiEzsigntsarequirementID"), + "sEzsigntsarequirementDescriptionX": obj.get("sEzsigntsarequirementDescriptionX"), + "sEzsignfolderDescription": obj.get("sEzsignfolderDescription"), + "tEzsignfolderNote": obj.get("tEzsignfolderNote"), + "bEzsignfolderIsdisposable": obj.get("bEzsignfolderIsdisposable"), + "eEzsignfolderSendreminderfrequency": obj.get("eEzsignfolderSendreminderfrequency"), + "iEzsignfolderSendreminderfirstdays": obj.get("iEzsignfolderSendreminderfirstdays"), + "iEzsignfolderSendreminderotherdays": obj.get("iEzsignfolderSendreminderotherdays"), + "dtEzsignfolderDelayedsenddate": obj.get("dtEzsignfolderDelayedsenddate"), + "dtEzsignfolderDuedate": obj.get("dtEzsignfolderDuedate"), + "dtEzsignfolderSentdate": obj.get("dtEzsignfolderSentdate"), + "dtEzsignfolderScheduledarchive": obj.get("dtEzsignfolderScheduledarchive"), + "dtEzsignfolderScheduleddispose": obj.get("dtEzsignfolderScheduleddispose"), + "eEzsignfolderStep": obj.get("eEzsignfolderStep"), + "dtEzsignfolderClose": obj.get("dtEzsignfolderClose"), + "tEzsignfolderMessage": obj.get("tEzsignfolderMessage"), + "objAudit": CommonAudit.from_dict(obj["objAudit"]) if obj.get("objAudit") is not None else None, + "sEzsignfolderExternalid": obj.get("sEzsignfolderExternalid"), + "objTimezone": CustomTimezoneWithCodeResponse.from_dict(obj["objTimezone"]) if obj.get("objTimezone") is not None else None + }) + return _obj diff --git a/eZmaxApi/models/ezsignfolder_response_compound_v3.py b/eZmaxApi/models/ezsignfolder_response_compound_v3.py index 357f9e8c5..ca5259e95 100644 --- a/eZmaxApi/models/ezsignfolder_response_compound_v3.py +++ b/eZmaxApi/models/ezsignfolder_response_compound_v3.py @@ -18,26 +18,70 @@ import re # noqa: F401 import json -from pydantic import ConfigDict, Field +from pydantic import BaseModel, ConfigDict, Field, StrictBool, StrictStr, field_validator from typing import Any, ClassVar, Dict, List, Optional +from typing_extensions import Annotated from eZmaxApi.models.common_audit import CommonAudit from eZmaxApi.models.computed_e_ezsignfolder_access import ComputedEEzsignfolderAccess from eZmaxApi.models.custom_ezsignfoldertype_response import CustomEzsignfoldertypeResponse from eZmaxApi.models.custom_timezone_with_code_response import CustomTimezoneWithCodeResponse -from eZmaxApi.models.ezsignfolder_response_v3 import EzsignfolderResponseV3 from eZmaxApi.models.field_e_ezsignfolder_completion import FieldEEzsignfolderCompletion from eZmaxApi.models.field_e_ezsignfolder_documentdependency import FieldEEzsignfolderDocumentdependency from eZmaxApi.models.field_e_ezsignfolder_step import FieldEEzsignfolderStep from typing import Optional, Set from typing_extensions import Self -class EzsignfolderResponseCompoundV3(EzsignfolderResponseV3): +class EzsignfolderResponseCompoundV3(BaseModel): """ An Ezsignfolder Object and children to create a complete structure """ # noqa: E501 + pki_ezsignfolder_id: Annotated[int, Field(strict=True, ge=0)] = Field(description="The unique ID of the Ezsignfolder", alias="pkiEzsignfolderID") + fki_ezsignfoldertype_id: Optional[Annotated[int, Field(le=65535, strict=True, ge=0)]] = Field(default=None, description="The unique ID of the Ezsignfoldertype.", alias="fkiEzsignfoldertypeID") + obj_ezsignfoldertype: Optional[CustomEzsignfoldertypeResponse] = Field(default=None, alias="objEzsignfoldertype") + fki_timezone_id: Optional[Annotated[int, Field(strict=True, ge=0)]] = Field(default=None, description="The unique ID of the Timezone", alias="fkiTimezoneID") + e_ezsignfolder_completion: FieldEEzsignfolderCompletion = Field(alias="eEzsignfolderCompletion") + e_ezsignfolder_documentdependency: Optional[FieldEEzsignfolderDocumentdependency] = Field(default=None, alias="eEzsignfolderDocumentdependency") + s_ezsignfoldertype_name_x: Optional[StrictStr] = Field(default=None, alias="sEzsignfoldertypeNameX") + fki_billingentityinternal_id: Optional[Annotated[int, Field(strict=True, ge=0)]] = Field(default=None, description="The unique ID of the Billingentityinternal.", alias="fkiBillingentityinternalID") + s_billingentityinternal_description_x: Optional[StrictStr] = Field(default=None, description="The description of the Billingentityinternal in the language of the requester", alias="sBillingentityinternalDescriptionX") + fki_ezsigntsarequirement_id: Optional[Annotated[int, Field(le=3, strict=True, ge=1)]] = Field(default=None, description="The unique ID of the Ezsigntsarequirement. Determine if a Time Stamping Authority should add a timestamp on each of the signature. Valid values: |Value|Description| |-|-| |1|No. TSA Timestamping will requested. This will make all signatures a lot faster since no round-trip to the TSA server will be required. Timestamping will be made using eZsign server's time.| |2|Best effort. Timestamping from a Time Stamping Authority will be requested but is not mandatory. In the very improbable case it cannot be completed, the timestamping will be made using eZsign server's time. **Additional fee applies**| |3|Mandatory. Timestamping from a Time Stamping Authority will be requested and is mandatory. In the very improbable case it cannot be completed, the signature will fail and the user will be asked to retry. **Additional fee applies**|", alias="fkiEzsigntsarequirementID") + s_ezsigntsarequirement_description_x: Optional[StrictStr] = Field(default=None, description="The description of the Ezsigntsarequirement in the language of the requester", alias="sEzsigntsarequirementDescriptionX") + s_ezsignfolder_description: Annotated[str, Field(strict=True)] = Field(description="The description of the Ezsignfolder", alias="sEzsignfolderDescription") + t_ezsignfolder_note: Optional[StrictStr] = Field(default=None, description="Note about the Ezsignfolder", alias="tEzsignfolderNote") + b_ezsignfolder_isdisposable: Optional[StrictBool] = Field(default=None, description="If the Ezsigndocument can be disposed", alias="bEzsignfolderIsdisposable") + i_ezsignfolder_sendreminderfirstdays: Optional[Annotated[int, Field(le=255, strict=True, ge=0)]] = Field(default=None, description="The number of days before the the first reminder sending", alias="iEzsignfolderSendreminderfirstdays") + i_ezsignfolder_sendreminderotherdays: Optional[Annotated[int, Field(le=255, strict=True, ge=0)]] = Field(default=None, description="The number of days after the first reminder sending", alias="iEzsignfolderSendreminderotherdays") + dt_ezsignfolder_delayedsenddate: Optional[StrictStr] = Field(default=None, description="The date and time at which the Ezsignfolder will be sent in the future.", alias="dtEzsignfolderDelayedsenddate") + dt_ezsignfolder_duedate: Optional[StrictStr] = Field(default=None, description="The maximum date and time at which the Ezsignfolder can be signed.", alias="dtEzsignfolderDuedate") + dt_ezsignfolder_sentdate: Optional[StrictStr] = Field(default=None, description="The date and time at which the Ezsignfolder was sent the last time.", alias="dtEzsignfolderSentdate") + dt_ezsignfolder_scheduledarchive: Optional[StrictStr] = Field(default=None, description="The scheduled date and time at which the Ezsignfolder should be archived.", alias="dtEzsignfolderScheduledarchive") + dt_ezsignfolder_scheduleddispose: Optional[StrictStr] = Field(default=None, description="The scheduled date at which the Ezsignfolder should be Disposed.", alias="dtEzsignfolderScheduleddispose") + e_ezsignfolder_step: Optional[FieldEEzsignfolderStep] = Field(default=None, alias="eEzsignfolderStep") + dt_ezsignfolder_close: Optional[StrictStr] = Field(default=None, description="The date and time at which the Ezsignfolder was closed. Either by applying the last signature or by completing it prematurely.", alias="dtEzsignfolderClose") + t_ezsignfolder_message: Optional[StrictStr] = Field(default=None, description="A custom text message that will be added to the email sent.", alias="tEzsignfolderMessage") + obj_audit: Optional[CommonAudit] = Field(default=None, alias="objAudit") + s_ezsignfolder_externalid: Optional[Annotated[str, Field(strict=True)]] = Field(default=None, description="This field can be used to store an External ID from the client's system. Anything can be stored in this field, it will never be evaluated by the eZmax system and will be returned AS-IS. To store multiple values, consider using a JSON formatted structure, a URL encoded string, a CSV or any other custom format. ", alias="sEzsignfolderExternalid") + e_ezsignfolder_access: Optional[ComputedEEzsignfolderAccess] = Field(default=None, alias="eEzsignfolderAccess") obj_timezone: Optional[CustomTimezoneWithCodeResponse] = Field(default=None, alias="objTimezone") __properties: ClassVar[List[str]] = ["pkiEzsignfolderID", "fkiEzsignfoldertypeID", "objEzsignfoldertype", "fkiTimezoneID", "eEzsignfolderCompletion", "eEzsignfolderDocumentdependency", "sEzsignfoldertypeNameX", "fkiBillingentityinternalID", "sBillingentityinternalDescriptionX", "fkiEzsigntsarequirementID", "sEzsigntsarequirementDescriptionX", "sEzsignfolderDescription", "tEzsignfolderNote", "bEzsignfolderIsdisposable", "iEzsignfolderSendreminderfirstdays", "iEzsignfolderSendreminderotherdays", "dtEzsignfolderDelayedsenddate", "dtEzsignfolderDuedate", "dtEzsignfolderSentdate", "dtEzsignfolderScheduledarchive", "dtEzsignfolderScheduleddispose", "eEzsignfolderStep", "dtEzsignfolderClose", "tEzsignfolderMessage", "objAudit", "sEzsignfolderExternalid", "eEzsignfolderAccess", "objTimezone"] + @field_validator('s_ezsignfolder_description') + def s_ezsignfolder_description_validate_regular_expression(cls, value): + """Validates the regular expression""" + if not re.match(r"^.{0,75}$", value): + raise ValueError(r"must validate the regular expression /^.{0,75}$/") + return value + + @field_validator('s_ezsignfolder_externalid') + def s_ezsignfolder_externalid_validate_regular_expression(cls, value): + """Validates the regular expression""" + if value is None: + return value + + if not re.match(r"^.{0,128}$", value): + raise ValueError(r"must validate the regular expression /^.{0,128}$/") + return value + model_config = ConfigDict( populate_by_name=True, validate_assignment=True, diff --git a/eZmaxApi/models/ezsignfolder_response_v3.py b/eZmaxApi/models/ezsignfolder_response_v3.py index 79f6613b1..8e0c6cf4e 100644 --- a/eZmaxApi/models/ezsignfolder_response_v3.py +++ b/eZmaxApi/models/ezsignfolder_response_v3.py @@ -128,7 +128,43 @@ def to_dict(self) -> Dict[str, Any]: return _dict @classmethod - def from_dict(cls, obj: Dict[str, Any]) -> Optional[Self]: + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: """Create an instance of EzsignfolderResponseV3 from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "pkiEzsignfolderID": obj.get("pkiEzsignfolderID"), + "fkiEzsignfoldertypeID": obj.get("fkiEzsignfoldertypeID"), + "objEzsignfoldertype": CustomEzsignfoldertypeResponse.from_dict(obj["objEzsignfoldertype"]) if obj.get("objEzsignfoldertype") is not None else None, + "fkiTimezoneID": obj.get("fkiTimezoneID"), + "eEzsignfolderCompletion": obj.get("eEzsignfolderCompletion"), + "eEzsignfolderDocumentdependency": obj.get("eEzsignfolderDocumentdependency"), + "sEzsignfoldertypeNameX": obj.get("sEzsignfoldertypeNameX"), + "fkiBillingentityinternalID": obj.get("fkiBillingentityinternalID"), + "sBillingentityinternalDescriptionX": obj.get("sBillingentityinternalDescriptionX"), + "fkiEzsigntsarequirementID": obj.get("fkiEzsigntsarequirementID"), + "sEzsigntsarequirementDescriptionX": obj.get("sEzsigntsarequirementDescriptionX"), + "sEzsignfolderDescription": obj.get("sEzsignfolderDescription"), + "tEzsignfolderNote": obj.get("tEzsignfolderNote"), + "bEzsignfolderIsdisposable": obj.get("bEzsignfolderIsdisposable"), + "iEzsignfolderSendreminderfirstdays": obj.get("iEzsignfolderSendreminderfirstdays"), + "iEzsignfolderSendreminderotherdays": obj.get("iEzsignfolderSendreminderotherdays"), + "dtEzsignfolderDelayedsenddate": obj.get("dtEzsignfolderDelayedsenddate"), + "dtEzsignfolderDuedate": obj.get("dtEzsignfolderDuedate"), + "dtEzsignfolderSentdate": obj.get("dtEzsignfolderSentdate"), + "dtEzsignfolderScheduledarchive": obj.get("dtEzsignfolderScheduledarchive"), + "dtEzsignfolderScheduleddispose": obj.get("dtEzsignfolderScheduleddispose"), + "eEzsignfolderStep": obj.get("eEzsignfolderStep"), + "dtEzsignfolderClose": obj.get("dtEzsignfolderClose"), + "tEzsignfolderMessage": obj.get("tEzsignfolderMessage"), + "objAudit": CommonAudit.from_dict(obj["objAudit"]) if obj.get("objAudit") is not None else None, + "sEzsignfolderExternalid": obj.get("sEzsignfolderExternalid"), + "eEzsignfolderAccess": obj.get("eEzsignfolderAccess") + }) + return _obj diff --git a/eZmaxApi/models/ezsignfolder_send_v1_response.py b/eZmaxApi/models/ezsignfolder_send_v1_response.py index d057a50ea..cfff1bb22 100644 --- a/eZmaxApi/models/ezsignfolder_send_v1_response.py +++ b/eZmaxApi/models/ezsignfolder_send_v1_response.py @@ -18,18 +18,19 @@ import re # noqa: F401 import json -from pydantic import ConfigDict -from typing import Any, ClassVar, Dict, List -from eZmaxApi.models.common_response import CommonResponse +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List, Optional from eZmaxApi.models.common_response_obj_debug import CommonResponseObjDebug from eZmaxApi.models.common_response_obj_debug_payload import CommonResponseObjDebugPayload from typing import Optional, Set from typing_extensions import Self -class EzsignfolderSendV1Response(CommonResponse): +class EzsignfolderSendV1Response(BaseModel): """ Response for GET /1/object/attachment/{pkiAttachmentID}/download """ # noqa: E501 + obj_debug_payload: CommonResponseObjDebugPayload = Field(alias="objDebugPayload") + obj_debug: Optional[CommonResponseObjDebug] = Field(default=None, alias="objDebug") __properties: ClassVar[List[str]] = ["objDebugPayload", "objDebug"] model_config = ConfigDict( diff --git a/eZmaxApi/models/ezsignfolder_send_v3_response.py b/eZmaxApi/models/ezsignfolder_send_v3_response.py index a0f1a6538..8498ccd7e 100644 --- a/eZmaxApi/models/ezsignfolder_send_v3_response.py +++ b/eZmaxApi/models/ezsignfolder_send_v3_response.py @@ -18,18 +18,19 @@ import re # noqa: F401 import json -from pydantic import ConfigDict -from typing import Any, ClassVar, Dict, List -from eZmaxApi.models.common_response import CommonResponse +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List, Optional from eZmaxApi.models.common_response_obj_debug import CommonResponseObjDebug from eZmaxApi.models.common_response_obj_debug_payload import CommonResponseObjDebugPayload from typing import Optional, Set from typing_extensions import Self -class EzsignfolderSendV3Response(CommonResponse): +class EzsignfolderSendV3Response(BaseModel): """ Response for POST /3/object/ezsignfolder/{pkiEzsignfolderID}/send """ # noqa: E501 + obj_debug_payload: CommonResponseObjDebugPayload = Field(alias="objDebugPayload") + obj_debug: Optional[CommonResponseObjDebug] = Field(default=None, alias="objDebug") __properties: ClassVar[List[str]] = ["objDebugPayload", "objDebug"] model_config = ConfigDict( diff --git a/eZmaxApi/models/ezsignfolder_unsend_v1_response.py b/eZmaxApi/models/ezsignfolder_unsend_v1_response.py index ff7d1f4a7..66ca1abc8 100644 --- a/eZmaxApi/models/ezsignfolder_unsend_v1_response.py +++ b/eZmaxApi/models/ezsignfolder_unsend_v1_response.py @@ -18,18 +18,19 @@ import re # noqa: F401 import json -from pydantic import ConfigDict -from typing import Any, ClassVar, Dict, List -from eZmaxApi.models.common_response import CommonResponse +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List, Optional from eZmaxApi.models.common_response_obj_debug import CommonResponseObjDebug from eZmaxApi.models.common_response_obj_debug_payload import CommonResponseObjDebugPayload from typing import Optional, Set from typing_extensions import Self -class EzsignfolderUnsendV1Response(CommonResponse): +class EzsignfolderUnsendV1Response(BaseModel): """ Response for POST /1/object/ezsignfolder/{pkiEzsignfolderID}/unsend """ # noqa: E501 + obj_debug_payload: CommonResponseObjDebugPayload = Field(alias="objDebugPayload") + obj_debug: Optional[CommonResponseObjDebug] = Field(default=None, alias="objDebug") __properties: ClassVar[List[str]] = ["objDebugPayload", "objDebug"] model_config = ConfigDict( diff --git a/eZmaxApi/models/ezsignfoldersignerassociation_create_embedded_url_v1_response.py b/eZmaxApi/models/ezsignfoldersignerassociation_create_embedded_url_v1_response.py index c5d596140..2fcf381be 100644 --- a/eZmaxApi/models/ezsignfoldersignerassociation_create_embedded_url_v1_response.py +++ b/eZmaxApi/models/ezsignfoldersignerassociation_create_embedded_url_v1_response.py @@ -18,19 +18,20 @@ import re # noqa: F401 import json -from pydantic import ConfigDict, Field -from typing import Any, ClassVar, Dict, List -from eZmaxApi.models.common_response import CommonResponse +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List, Optional from eZmaxApi.models.common_response_obj_debug import CommonResponseObjDebug from eZmaxApi.models.common_response_obj_debug_payload import CommonResponseObjDebugPayload from eZmaxApi.models.ezsignfoldersignerassociation_create_embedded_url_v1_response_m_payload import EzsignfoldersignerassociationCreateEmbeddedUrlV1ResponseMPayload from typing import Optional, Set from typing_extensions import Self -class EzsignfoldersignerassociationCreateEmbeddedUrlV1Response(CommonResponse): +class EzsignfoldersignerassociationCreateEmbeddedUrlV1Response(BaseModel): """ Response for POST /1/object/ezsignfoldersignerassociation/createEmbeddedUrl """ # noqa: E501 + obj_debug_payload: CommonResponseObjDebugPayload = Field(alias="objDebugPayload") + obj_debug: Optional[CommonResponseObjDebug] = Field(default=None, alias="objDebug") m_payload: EzsignfoldersignerassociationCreateEmbeddedUrlV1ResponseMPayload = Field(alias="mPayload") __properties: ClassVar[List[str]] = ["objDebugPayload", "objDebug", "mPayload"] diff --git a/eZmaxApi/models/ezsignfoldersignerassociation_create_object_v1_response.py b/eZmaxApi/models/ezsignfoldersignerassociation_create_object_v1_response.py index 539cd7419..eff7e10f5 100644 --- a/eZmaxApi/models/ezsignfoldersignerassociation_create_object_v1_response.py +++ b/eZmaxApi/models/ezsignfoldersignerassociation_create_object_v1_response.py @@ -18,19 +18,20 @@ import re # noqa: F401 import json -from pydantic import ConfigDict, Field -from typing import Any, ClassVar, Dict, List -from eZmaxApi.models.common_response import CommonResponse +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List, Optional from eZmaxApi.models.common_response_obj_debug import CommonResponseObjDebug from eZmaxApi.models.common_response_obj_debug_payload import CommonResponseObjDebugPayload from eZmaxApi.models.ezsignfoldersignerassociation_create_object_v1_response_m_payload import EzsignfoldersignerassociationCreateObjectV1ResponseMPayload from typing import Optional, Set from typing_extensions import Self -class EzsignfoldersignerassociationCreateObjectV1Response(CommonResponse): +class EzsignfoldersignerassociationCreateObjectV1Response(BaseModel): """ Response for POST /1/object/ezsignfoldersignerassociation """ # noqa: E501 + obj_debug_payload: CommonResponseObjDebugPayload = Field(alias="objDebugPayload") + obj_debug: Optional[CommonResponseObjDebug] = Field(default=None, alias="objDebug") m_payload: EzsignfoldersignerassociationCreateObjectV1ResponseMPayload = Field(alias="mPayload") __properties: ClassVar[List[str]] = ["objDebugPayload", "objDebug", "mPayload"] diff --git a/eZmaxApi/models/ezsignfoldersignerassociation_create_object_v2_response.py b/eZmaxApi/models/ezsignfoldersignerassociation_create_object_v2_response.py index a945a7aca..e5f8fca8a 100644 --- a/eZmaxApi/models/ezsignfoldersignerassociation_create_object_v2_response.py +++ b/eZmaxApi/models/ezsignfoldersignerassociation_create_object_v2_response.py @@ -18,19 +18,20 @@ import re # noqa: F401 import json -from pydantic import ConfigDict, Field -from typing import Any, ClassVar, Dict, List -from eZmaxApi.models.common_response import CommonResponse +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List, Optional from eZmaxApi.models.common_response_obj_debug import CommonResponseObjDebug from eZmaxApi.models.common_response_obj_debug_payload import CommonResponseObjDebugPayload from eZmaxApi.models.ezsignfoldersignerassociation_create_object_v2_response_m_payload import EzsignfoldersignerassociationCreateObjectV2ResponseMPayload from typing import Optional, Set from typing_extensions import Self -class EzsignfoldersignerassociationCreateObjectV2Response(CommonResponse): +class EzsignfoldersignerassociationCreateObjectV2Response(BaseModel): """ Response for POST /2/object/ezsignfoldersignerassociation """ # noqa: E501 + obj_debug_payload: CommonResponseObjDebugPayload = Field(alias="objDebugPayload") + obj_debug: Optional[CommonResponseObjDebug] = Field(default=None, alias="objDebug") m_payload: EzsignfoldersignerassociationCreateObjectV2ResponseMPayload = Field(alias="mPayload") __properties: ClassVar[List[str]] = ["objDebugPayload", "objDebug", "mPayload"] diff --git a/eZmaxApi/models/ezsignfoldersignerassociation_delete_object_v1_response.py b/eZmaxApi/models/ezsignfoldersignerassociation_delete_object_v1_response.py index da7d992c9..db5b29382 100644 --- a/eZmaxApi/models/ezsignfoldersignerassociation_delete_object_v1_response.py +++ b/eZmaxApi/models/ezsignfoldersignerassociation_delete_object_v1_response.py @@ -18,18 +18,19 @@ import re # noqa: F401 import json -from pydantic import ConfigDict -from typing import Any, ClassVar, Dict, List -from eZmaxApi.models.common_response import CommonResponse +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List, Optional from eZmaxApi.models.common_response_obj_debug import CommonResponseObjDebug from eZmaxApi.models.common_response_obj_debug_payload import CommonResponseObjDebugPayload from typing import Optional, Set from typing_extensions import Self -class EzsignfoldersignerassociationDeleteObjectV1Response(CommonResponse): +class EzsignfoldersignerassociationDeleteObjectV1Response(BaseModel): """ Response for DELETE /1/object/ezsignfoldersignerassociation/{pkiEzsignfoldersignerassociationID} """ # noqa: E501 + obj_debug_payload: CommonResponseObjDebugPayload = Field(alias="objDebugPayload") + obj_debug: Optional[CommonResponseObjDebug] = Field(default=None, alias="objDebug") __properties: ClassVar[List[str]] = ["objDebugPayload", "objDebug"] model_config = ConfigDict( diff --git a/eZmaxApi/models/ezsignfoldersignerassociation_edit_object_v1_response.py b/eZmaxApi/models/ezsignfoldersignerassociation_edit_object_v1_response.py index 8ffe90ad1..a9b63c873 100644 --- a/eZmaxApi/models/ezsignfoldersignerassociation_edit_object_v1_response.py +++ b/eZmaxApi/models/ezsignfoldersignerassociation_edit_object_v1_response.py @@ -18,18 +18,19 @@ import re # noqa: F401 import json -from pydantic import ConfigDict -from typing import Any, ClassVar, Dict, List -from eZmaxApi.models.common_response import CommonResponse +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List, Optional from eZmaxApi.models.common_response_obj_debug import CommonResponseObjDebug from eZmaxApi.models.common_response_obj_debug_payload import CommonResponseObjDebugPayload from typing import Optional, Set from typing_extensions import Self -class EzsignfoldersignerassociationEditObjectV1Response(CommonResponse): +class EzsignfoldersignerassociationEditObjectV1Response(BaseModel): """ Response for PUT /1/object/ezsignfoldersignerassociation/{pkiEzsignfoldersignerassociationID} """ # noqa: E501 + obj_debug_payload: CommonResponseObjDebugPayload = Field(alias="objDebugPayload") + obj_debug: Optional[CommonResponseObjDebug] = Field(default=None, alias="objDebug") __properties: ClassVar[List[str]] = ["objDebugPayload", "objDebug"] model_config = ConfigDict( diff --git a/eZmaxApi/models/ezsignfoldersignerassociation_force_disconnect_v1_response.py b/eZmaxApi/models/ezsignfoldersignerassociation_force_disconnect_v1_response.py index 1985b1c93..54d5594a0 100644 --- a/eZmaxApi/models/ezsignfoldersignerassociation_force_disconnect_v1_response.py +++ b/eZmaxApi/models/ezsignfoldersignerassociation_force_disconnect_v1_response.py @@ -18,18 +18,19 @@ import re # noqa: F401 import json -from pydantic import ConfigDict -from typing import Any, ClassVar, Dict, List -from eZmaxApi.models.common_response import CommonResponse +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List, Optional from eZmaxApi.models.common_response_obj_debug import CommonResponseObjDebug from eZmaxApi.models.common_response_obj_debug_payload import CommonResponseObjDebugPayload from typing import Optional, Set from typing_extensions import Self -class EzsignfoldersignerassociationForceDisconnectV1Response(CommonResponse): +class EzsignfoldersignerassociationForceDisconnectV1Response(BaseModel): """ Response for POST /1/object/ezsignfoldersignerassociation/{pkiEzsignfoldersignerassociation}/forceDisconnect """ # noqa: E501 + obj_debug_payload: CommonResponseObjDebugPayload = Field(alias="objDebugPayload") + obj_debug: Optional[CommonResponseObjDebug] = Field(default=None, alias="objDebug") __properties: ClassVar[List[str]] = ["objDebugPayload", "objDebug"] model_config = ConfigDict( diff --git a/eZmaxApi/models/ezsignfoldersignerassociation_get_in_person_login_url_v1_response.py b/eZmaxApi/models/ezsignfoldersignerassociation_get_in_person_login_url_v1_response.py index 7de0356df..a1e105eb0 100644 --- a/eZmaxApi/models/ezsignfoldersignerassociation_get_in_person_login_url_v1_response.py +++ b/eZmaxApi/models/ezsignfoldersignerassociation_get_in_person_login_url_v1_response.py @@ -18,19 +18,20 @@ import re # noqa: F401 import json -from pydantic import ConfigDict, Field -from typing import Any, ClassVar, Dict, List -from eZmaxApi.models.common_response import CommonResponse +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List, Optional from eZmaxApi.models.common_response_obj_debug import CommonResponseObjDebug from eZmaxApi.models.common_response_obj_debug_payload import CommonResponseObjDebugPayload from eZmaxApi.models.ezsignfoldersignerassociation_get_in_person_login_url_v1_response_m_payload import EzsignfoldersignerassociationGetInPersonLoginUrlV1ResponseMPayload from typing import Optional, Set from typing_extensions import Self -class EzsignfoldersignerassociationGetInPersonLoginUrlV1Response(CommonResponse): +class EzsignfoldersignerassociationGetInPersonLoginUrlV1Response(BaseModel): """ Response for GET /1/object/ezsignfoldersignerassociation/getInPersonLoginUrl """ # noqa: E501 + obj_debug_payload: CommonResponseObjDebugPayload = Field(alias="objDebugPayload") + obj_debug: Optional[CommonResponseObjDebug] = Field(default=None, alias="objDebug") m_payload: EzsignfoldersignerassociationGetInPersonLoginUrlV1ResponseMPayload = Field(alias="mPayload") __properties: ClassVar[List[str]] = ["objDebugPayload", "objDebug", "mPayload"] diff --git a/eZmaxApi/models/ezsignfoldersignerassociation_get_object_v1_response.py b/eZmaxApi/models/ezsignfoldersignerassociation_get_object_v1_response.py index ed8f6096f..fbaea3d78 100644 --- a/eZmaxApi/models/ezsignfoldersignerassociation_get_object_v1_response.py +++ b/eZmaxApi/models/ezsignfoldersignerassociation_get_object_v1_response.py @@ -18,20 +18,21 @@ import re # noqa: F401 import json -from pydantic import ConfigDict, Field -from typing import Any, ClassVar, Dict, List -from eZmaxApi.models.common_response import CommonResponse +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List, Optional from eZmaxApi.models.common_response_obj_debug import CommonResponseObjDebug from eZmaxApi.models.common_response_obj_debug_payload import CommonResponseObjDebugPayload -from eZmaxApi.models.ezsignfoldersignerassociation_response_compound import EzsignfoldersignerassociationResponseCompound +from eZmaxApi.models.ezsignfoldersignerassociation_get_object_v1_response_m_payload import EzsignfoldersignerassociationGetObjectV1ResponseMPayload from typing import Optional, Set from typing_extensions import Self -class EzsignfoldersignerassociationGetObjectV1Response(CommonResponse): +class EzsignfoldersignerassociationGetObjectV1Response(BaseModel): """ Response for GET /1/object/ezsignfoldersignerassociation/{pkiEzsignfoldersignerassociationID} """ # noqa: E501 - m_payload: EzsignfoldersignerassociationResponseCompound = Field(description="Payload for GET /1/object/ezsignfoldersignerassociation/{pkiEzsignfoldersignerassociationID}", alias="mPayload") + obj_debug_payload: CommonResponseObjDebugPayload = Field(alias="objDebugPayload") + obj_debug: Optional[CommonResponseObjDebug] = Field(default=None, alias="objDebug") + m_payload: EzsignfoldersignerassociationGetObjectV1ResponseMPayload = Field(alias="mPayload") __properties: ClassVar[List[str]] = ["objDebugPayload", "objDebug", "mPayload"] model_config = ConfigDict( @@ -96,7 +97,7 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: _obj = cls.model_validate({ "objDebugPayload": CommonResponseObjDebugPayload.from_dict(obj["objDebugPayload"]) if obj.get("objDebugPayload") is not None else None, "objDebug": CommonResponseObjDebug.from_dict(obj["objDebug"]) if obj.get("objDebug") is not None else None, - "mPayload": EzsignfoldersignerassociationResponseCompound.from_dict(obj["mPayload"]) if obj.get("mPayload") is not None else None + "mPayload": EzsignfoldersignerassociationGetObjectV1ResponseMPayload.from_dict(obj["mPayload"]) if obj.get("mPayload") is not None else None }) return _obj diff --git a/eZmaxApi/models/ezsignfoldersignerassociation_get_object_v1_response_m_payload.py b/eZmaxApi/models/ezsignfoldersignerassociation_get_object_v1_response_m_payload.py index d65ca5fa5..d51733255 100644 --- a/eZmaxApi/models/ezsignfoldersignerassociation_get_object_v1_response_m_payload.py +++ b/eZmaxApi/models/ezsignfoldersignerassociation_get_object_v1_response_m_payload.py @@ -18,19 +18,28 @@ import re # noqa: F401 import json -from pydantic import ConfigDict -from typing import Any, ClassVar, Dict, List -from eZmaxApi.models.ezsignfoldersignerassociation_response_compound import EzsignfoldersignerassociationResponseCompound +from pydantic import BaseModel, ConfigDict, Field, StrictBool, StrictStr +from typing import Any, ClassVar, Dict, List, Optional +from typing_extensions import Annotated from eZmaxApi.models.ezsignfoldersignerassociation_response_compound_user import EzsignfoldersignerassociationResponseCompoundUser from eZmaxApi.models.ezsignsigner_response_compound import EzsignsignerResponseCompound from eZmaxApi.models.ezsignsignergroup_response_compound import EzsignsignergroupResponseCompound from typing import Optional, Set from typing_extensions import Self -class EzsignfoldersignerassociationGetObjectV1ResponseMPayload(EzsignfoldersignerassociationResponseCompound): +class EzsignfoldersignerassociationGetObjectV1ResponseMPayload(BaseModel): """ Payload for GET /1/object/ezsignfoldersignerassociation/{pkiEzsignfoldersignerassociationID} """ # noqa: E501 + pki_ezsignfoldersignerassociation_id: Annotated[int, Field(strict=True, ge=0)] = Field(description="The unique ID of the Ezsignfoldersignerassociation", alias="pkiEzsignfoldersignerassociationID") + fki_ezsignfolder_id: Annotated[int, Field(strict=True, ge=0)] = Field(description="The unique ID of the Ezsignfolder", alias="fkiEzsignfolderID") + b_ezsignfoldersignerassociation_delayedsend: StrictBool = Field(description="If this flag is true the signatory is part of a delayed send.", alias="bEzsignfoldersignerassociationDelayedsend") + b_ezsignfoldersignerassociation_receivecopy: StrictBool = Field(description="If this flag is true. The signatory will receive a copy of every signed Ezsigndocument even if it ain't required to sign the document.", alias="bEzsignfoldersignerassociationReceivecopy") + t_ezsignfoldersignerassociation_message: StrictStr = Field(description="A custom text message that will be added to the email sent.", alias="tEzsignfoldersignerassociationMessage") + b_ezsignfoldersignerassociation_allowsigninginperson: StrictBool = Field(description="If the Ezsignfoldersignerassociation is allowed to sign in person or not", alias="bEzsignfoldersignerassociationAllowsigninginperson") + obj_ezsignsignergroup: Optional[EzsignsignergroupResponseCompound] = Field(default=None, alias="objEzsignsignergroup") + obj_user: Optional[EzsignfoldersignerassociationResponseCompoundUser] = Field(default=None, alias="objUser") + obj_ezsignsigner: Optional[EzsignsignerResponseCompound] = Field(default=None, alias="objEzsignsigner") __properties: ClassVar[List[str]] = ["pkiEzsignfoldersignerassociationID", "fkiEzsignfolderID", "bEzsignfoldersignerassociationDelayedsend", "bEzsignfoldersignerassociationReceivecopy", "tEzsignfoldersignerassociationMessage", "bEzsignfoldersignerassociationAllowsigninginperson", "objEzsignsignergroup", "objUser", "objEzsignsigner"] model_config = ConfigDict( diff --git a/eZmaxApi/models/ezsignfoldersignerassociation_get_object_v2_response.py b/eZmaxApi/models/ezsignfoldersignerassociation_get_object_v2_response.py index 76f049519..753ed7c32 100644 --- a/eZmaxApi/models/ezsignfoldersignerassociation_get_object_v2_response.py +++ b/eZmaxApi/models/ezsignfoldersignerassociation_get_object_v2_response.py @@ -18,19 +18,20 @@ import re # noqa: F401 import json -from pydantic import ConfigDict, Field -from typing import Any, ClassVar, Dict, List -from eZmaxApi.models.common_response import CommonResponse +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List, Optional from eZmaxApi.models.common_response_obj_debug import CommonResponseObjDebug from eZmaxApi.models.common_response_obj_debug_payload import CommonResponseObjDebugPayload from eZmaxApi.models.ezsignfoldersignerassociation_get_object_v2_response_m_payload import EzsignfoldersignerassociationGetObjectV2ResponseMPayload from typing import Optional, Set from typing_extensions import Self -class EzsignfoldersignerassociationGetObjectV2Response(CommonResponse): +class EzsignfoldersignerassociationGetObjectV2Response(BaseModel): """ Response for GET /2/object/ezsignfoldersignerassociation/{pkiEzsignfoldersignerassociationID} """ # noqa: E501 + obj_debug_payload: CommonResponseObjDebugPayload = Field(alias="objDebugPayload") + obj_debug: Optional[CommonResponseObjDebug] = Field(default=None, alias="objDebug") m_payload: EzsignfoldersignerassociationGetObjectV2ResponseMPayload = Field(alias="mPayload") __properties: ClassVar[List[str]] = ["objDebugPayload", "objDebug", "mPayload"] diff --git a/eZmaxApi/models/ezsignfoldersignerassociation_patch_object_v1_response.py b/eZmaxApi/models/ezsignfoldersignerassociation_patch_object_v1_response.py index 87a39bbc5..1bf11b8e3 100644 --- a/eZmaxApi/models/ezsignfoldersignerassociation_patch_object_v1_response.py +++ b/eZmaxApi/models/ezsignfoldersignerassociation_patch_object_v1_response.py @@ -18,18 +18,19 @@ import re # noqa: F401 import json -from pydantic import ConfigDict -from typing import Any, ClassVar, Dict, List -from eZmaxApi.models.common_response import CommonResponse +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List, Optional from eZmaxApi.models.common_response_obj_debug import CommonResponseObjDebug from eZmaxApi.models.common_response_obj_debug_payload import CommonResponseObjDebugPayload from typing import Optional, Set from typing_extensions import Self -class EzsignfoldersignerassociationPatchObjectV1Response(CommonResponse): +class EzsignfoldersignerassociationPatchObjectV1Response(BaseModel): """ Response for PATCH /1/object/ezsignfoldersignerassociation/{pkiEzsignfoldersignerassociationID} """ # noqa: E501 + obj_debug_payload: CommonResponseObjDebugPayload = Field(alias="objDebugPayload") + obj_debug: Optional[CommonResponseObjDebug] = Field(default=None, alias="objDebug") __properties: ClassVar[List[str]] = ["objDebugPayload", "objDebug"] model_config = ConfigDict( diff --git a/eZmaxApi/models/ezsignfoldersignerassociation_reassign_v1_response.py b/eZmaxApi/models/ezsignfoldersignerassociation_reassign_v1_response.py index 88354dbe0..2655ca2e5 100644 --- a/eZmaxApi/models/ezsignfoldersignerassociation_reassign_v1_response.py +++ b/eZmaxApi/models/ezsignfoldersignerassociation_reassign_v1_response.py @@ -18,18 +18,19 @@ import re # noqa: F401 import json -from pydantic import ConfigDict -from typing import Any, ClassVar, Dict, List -from eZmaxApi.models.common_response import CommonResponse +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List, Optional from eZmaxApi.models.common_response_obj_debug import CommonResponseObjDebug from eZmaxApi.models.common_response_obj_debug_payload import CommonResponseObjDebugPayload from typing import Optional, Set from typing_extensions import Self -class EzsignfoldersignerassociationReassignV1Response(CommonResponse): +class EzsignfoldersignerassociationReassignV1Response(BaseModel): """ Response for GET /1/object/ezsignfoldersignerassociation/{pkiEzsignfoldersignerassociationID}/reassign """ # noqa: E501 + obj_debug_payload: CommonResponseObjDebugPayload = Field(alias="objDebugPayload") + obj_debug: Optional[CommonResponseObjDebug] = Field(default=None, alias="objDebug") __properties: ClassVar[List[str]] = ["objDebugPayload", "objDebug"] model_config = ConfigDict( diff --git a/eZmaxApi/models/ezsignfoldersignerassociation_request.py b/eZmaxApi/models/ezsignfoldersignerassociation_request.py index 85d65c034..6f2c08bcd 100644 --- a/eZmaxApi/models/ezsignfoldersignerassociation_request.py +++ b/eZmaxApi/models/ezsignfoldersignerassociation_request.py @@ -78,7 +78,22 @@ def to_dict(self) -> Dict[str, Any]: return _dict @classmethod - def from_dict(cls, obj: Dict[str, Any]) -> Optional[Self]: + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: """Create an instance of EzsignfoldersignerassociationRequest from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "pkiEzsignfoldersignerassociationID": obj.get("pkiEzsignfoldersignerassociationID"), + "fkiUserID": obj.get("fkiUserID"), + "fkiEzsignsignergroupID": obj.get("fkiEzsignsignergroupID"), + "fkiEzsignfolderID": obj.get("fkiEzsignfolderID"), + "bEzsignfoldersignerassociationReceivecopy": obj.get("bEzsignfoldersignerassociationReceivecopy"), + "tEzsignfoldersignerassociationMessage": obj.get("tEzsignfoldersignerassociationMessage") + }) + return _obj diff --git a/eZmaxApi/models/ezsignfoldersignerassociation_request_compound.py b/eZmaxApi/models/ezsignfoldersignerassociation_request_compound.py index 989b1011a..6694acad1 100644 --- a/eZmaxApi/models/ezsignfoldersignerassociation_request_compound.py +++ b/eZmaxApi/models/ezsignfoldersignerassociation_request_compound.py @@ -18,17 +18,23 @@ import re # noqa: F401 import json -from pydantic import ConfigDict, Field +from pydantic import BaseModel, ConfigDict, Field, StrictBool, StrictStr from typing import Any, ClassVar, Dict, List, Optional -from eZmaxApi.models.ezsignfoldersignerassociation_request import EzsignfoldersignerassociationRequest +from typing_extensions import Annotated from eZmaxApi.models.ezsignsigner_request_compound import EzsignsignerRequestCompound from typing import Optional, Set from typing_extensions import Self -class EzsignfoldersignerassociationRequestCompound(EzsignfoldersignerassociationRequest): +class EzsignfoldersignerassociationRequestCompound(BaseModel): """ An Ezsignfoldersignerassociation Object and children to create a complete structure """ # noqa: E501 + pki_ezsignfoldersignerassociation_id: Optional[Annotated[int, Field(strict=True, ge=0)]] = Field(default=None, description="The unique ID of the Ezsignfoldersignerassociation", alias="pkiEzsignfoldersignerassociationID") + fki_user_id: Optional[Annotated[int, Field(strict=True, ge=0)]] = Field(default=None, description="The unique ID of the User", alias="fkiUserID") + fki_ezsignsignergroup_id: Optional[Annotated[int, Field(le=65535, strict=True, ge=0)]] = Field(default=None, description="The unique ID of the Ezsignsignergroup", alias="fkiEzsignsignergroupID") + fki_ezsignfolder_id: Annotated[int, Field(strict=True, ge=0)] = Field(description="The unique ID of the Ezsignfolder", alias="fkiEzsignfolderID") + b_ezsignfoldersignerassociation_receivecopy: Optional[StrictBool] = Field(default=None, description="If this flag is true. The signatory will receive a copy of every signed Ezsigndocument even if it ain't required to sign the document.", alias="bEzsignfoldersignerassociationReceivecopy") + t_ezsignfoldersignerassociation_message: Optional[StrictStr] = Field(default=None, description="A custom text message that will be added to the email sent.", alias="tEzsignfoldersignerassociationMessage") obj_ezsignsigner: Optional[EzsignsignerRequestCompound] = Field(default=None, alias="objEzsignsigner") __properties: ClassVar[List[str]] = ["pkiEzsignfoldersignerassociationID", "fkiUserID", "fkiEzsignsignergroupID", "fkiEzsignfolderID", "bEzsignfoldersignerassociationReceivecopy", "tEzsignfoldersignerassociationMessage", "objEzsignsigner"] diff --git a/eZmaxApi/models/ezsignfoldersignerassociation_response.py b/eZmaxApi/models/ezsignfoldersignerassociation_response.py index 4b25acdce..836e820d2 100644 --- a/eZmaxApi/models/ezsignfoldersignerassociation_response.py +++ b/eZmaxApi/models/ezsignfoldersignerassociation_response.py @@ -78,7 +78,22 @@ def to_dict(self) -> Dict[str, Any]: return _dict @classmethod - def from_dict(cls, obj: Dict[str, Any]) -> Optional[Self]: + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: """Create an instance of EzsignfoldersignerassociationResponse from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "pkiEzsignfoldersignerassociationID": obj.get("pkiEzsignfoldersignerassociationID"), + "fkiEzsignfolderID": obj.get("fkiEzsignfolderID"), + "bEzsignfoldersignerassociationDelayedsend": obj.get("bEzsignfoldersignerassociationDelayedsend"), + "bEzsignfoldersignerassociationReceivecopy": obj.get("bEzsignfoldersignerassociationReceivecopy"), + "tEzsignfoldersignerassociationMessage": obj.get("tEzsignfoldersignerassociationMessage"), + "bEzsignfoldersignerassociationAllowsigninginperson": obj.get("bEzsignfoldersignerassociationAllowsigninginperson") + }) + return _obj diff --git a/eZmaxApi/models/ezsignfoldersignerassociation_response_compound.py b/eZmaxApi/models/ezsignfoldersignerassociation_response_compound.py index 63095602a..5ce9b3c3b 100644 --- a/eZmaxApi/models/ezsignfoldersignerassociation_response_compound.py +++ b/eZmaxApi/models/ezsignfoldersignerassociation_response_compound.py @@ -18,19 +18,25 @@ import re # noqa: F401 import json -from pydantic import ConfigDict, Field +from pydantic import BaseModel, ConfigDict, Field, StrictBool, StrictStr from typing import Any, ClassVar, Dict, List, Optional -from eZmaxApi.models.ezsignfoldersignerassociation_response import EzsignfoldersignerassociationResponse +from typing_extensions import Annotated from eZmaxApi.models.ezsignfoldersignerassociation_response_compound_user import EzsignfoldersignerassociationResponseCompoundUser from eZmaxApi.models.ezsignsigner_response_compound import EzsignsignerResponseCompound from eZmaxApi.models.ezsignsignergroup_response_compound import EzsignsignergroupResponseCompound from typing import Optional, Set from typing_extensions import Self -class EzsignfoldersignerassociationResponseCompound(EzsignfoldersignerassociationResponse): +class EzsignfoldersignerassociationResponseCompound(BaseModel): """ An Ezsignfoldersignerassociation Object """ # noqa: E501 + pki_ezsignfoldersignerassociation_id: Annotated[int, Field(strict=True, ge=0)] = Field(description="The unique ID of the Ezsignfoldersignerassociation", alias="pkiEzsignfoldersignerassociationID") + fki_ezsignfolder_id: Annotated[int, Field(strict=True, ge=0)] = Field(description="The unique ID of the Ezsignfolder", alias="fkiEzsignfolderID") + b_ezsignfoldersignerassociation_delayedsend: StrictBool = Field(description="If this flag is true the signatory is part of a delayed send.", alias="bEzsignfoldersignerassociationDelayedsend") + b_ezsignfoldersignerassociation_receivecopy: StrictBool = Field(description="If this flag is true. The signatory will receive a copy of every signed Ezsigndocument even if it ain't required to sign the document.", alias="bEzsignfoldersignerassociationReceivecopy") + t_ezsignfoldersignerassociation_message: StrictStr = Field(description="A custom text message that will be added to the email sent.", alias="tEzsignfoldersignerassociationMessage") + b_ezsignfoldersignerassociation_allowsigninginperson: StrictBool = Field(description="If the Ezsignfoldersignerassociation is allowed to sign in person or not", alias="bEzsignfoldersignerassociationAllowsigninginperson") obj_ezsignsignergroup: Optional[EzsignsignergroupResponseCompound] = Field(default=None, alias="objEzsignsignergroup") obj_user: Optional[EzsignfoldersignerassociationResponseCompoundUser] = Field(default=None, alias="objUser") obj_ezsignsigner: Optional[EzsignsignerResponseCompound] = Field(default=None, alias="objEzsignsigner") @@ -87,7 +93,25 @@ def to_dict(self) -> Dict[str, Any]: return _dict @classmethod - def from_dict(cls, obj: Dict[str, Any]) -> Optional[Self]: + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: """Create an instance of EzsignfoldersignerassociationResponseCompound from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "pkiEzsignfoldersignerassociationID": obj.get("pkiEzsignfoldersignerassociationID"), + "fkiEzsignfolderID": obj.get("fkiEzsignfolderID"), + "bEzsignfoldersignerassociationDelayedsend": obj.get("bEzsignfoldersignerassociationDelayedsend"), + "bEzsignfoldersignerassociationReceivecopy": obj.get("bEzsignfoldersignerassociationReceivecopy"), + "tEzsignfoldersignerassociationMessage": obj.get("tEzsignfoldersignerassociationMessage"), + "bEzsignfoldersignerassociationAllowsigninginperson": obj.get("bEzsignfoldersignerassociationAllowsigninginperson"), + "objEzsignsignergroup": EzsignsignergroupResponseCompound.from_dict(obj["objEzsignsignergroup"]) if obj.get("objEzsignsignergroup") is not None else None, + "objUser": EzsignfoldersignerassociationResponseCompoundUser.from_dict(obj["objUser"]) if obj.get("objUser") is not None else None, + "objEzsignsigner": EzsignsignerResponseCompound.from_dict(obj["objEzsignsigner"]) if obj.get("objEzsignsigner") is not None else None + }) + return _obj diff --git a/eZmaxApi/models/ezsignfoldertype_create_object_v3_response.py b/eZmaxApi/models/ezsignfoldertype_create_object_v3_response.py index 2b8e9d315..501fe0f8e 100644 --- a/eZmaxApi/models/ezsignfoldertype_create_object_v3_response.py +++ b/eZmaxApi/models/ezsignfoldertype_create_object_v3_response.py @@ -18,19 +18,20 @@ import re # noqa: F401 import json -from pydantic import ConfigDict, Field -from typing import Any, ClassVar, Dict, List -from eZmaxApi.models.common_response import CommonResponse +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List, Optional from eZmaxApi.models.common_response_obj_debug import CommonResponseObjDebug from eZmaxApi.models.common_response_obj_debug_payload import CommonResponseObjDebugPayload from eZmaxApi.models.ezsignfoldertype_create_object_v3_response_m_payload import EzsignfoldertypeCreateObjectV3ResponseMPayload from typing import Optional, Set from typing_extensions import Self -class EzsignfoldertypeCreateObjectV3Response(CommonResponse): +class EzsignfoldertypeCreateObjectV3Response(BaseModel): """ Response for POST /3/object/ezsignfoldertype """ # noqa: E501 + obj_debug_payload: CommonResponseObjDebugPayload = Field(alias="objDebugPayload") + obj_debug: Optional[CommonResponseObjDebug] = Field(default=None, alias="objDebug") m_payload: EzsignfoldertypeCreateObjectV3ResponseMPayload = Field(alias="mPayload") __properties: ClassVar[List[str]] = ["objDebugPayload", "objDebug", "mPayload"] diff --git a/eZmaxApi/models/ezsignfoldertype_edit_object_v3_response.py b/eZmaxApi/models/ezsignfoldertype_edit_object_v3_response.py index 5b043eb1b..11245ccbe 100644 --- a/eZmaxApi/models/ezsignfoldertype_edit_object_v3_response.py +++ b/eZmaxApi/models/ezsignfoldertype_edit_object_v3_response.py @@ -18,18 +18,19 @@ import re # noqa: F401 import json -from pydantic import ConfigDict -from typing import Any, ClassVar, Dict, List -from eZmaxApi.models.common_response import CommonResponse +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List, Optional from eZmaxApi.models.common_response_obj_debug import CommonResponseObjDebug from eZmaxApi.models.common_response_obj_debug_payload import CommonResponseObjDebugPayload from typing import Optional, Set from typing_extensions import Self -class EzsignfoldertypeEditObjectV3Response(CommonResponse): +class EzsignfoldertypeEditObjectV3Response(BaseModel): """ Response for PUT /3/object/ezsignfoldertype/{pkiEzsignfoldertypeID} """ # noqa: E501 + obj_debug_payload: CommonResponseObjDebugPayload = Field(alias="objDebugPayload") + obj_debug: Optional[CommonResponseObjDebug] = Field(default=None, alias="objDebug") __properties: ClassVar[List[str]] = ["objDebugPayload", "objDebug"] model_config = ConfigDict( diff --git a/eZmaxApi/models/ezsignfoldertype_get_autocomplete_v2_response.py b/eZmaxApi/models/ezsignfoldertype_get_autocomplete_v2_response.py index 78ee5982b..8bbbb702b 100644 --- a/eZmaxApi/models/ezsignfoldertype_get_autocomplete_v2_response.py +++ b/eZmaxApi/models/ezsignfoldertype_get_autocomplete_v2_response.py @@ -18,19 +18,20 @@ import re # noqa: F401 import json -from pydantic import ConfigDict, Field -from typing import Any, ClassVar, Dict, List -from eZmaxApi.models.common_response import CommonResponse +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List, Optional from eZmaxApi.models.common_response_obj_debug import CommonResponseObjDebug from eZmaxApi.models.common_response_obj_debug_payload import CommonResponseObjDebugPayload from eZmaxApi.models.ezsignfoldertype_get_autocomplete_v2_response_m_payload import EzsignfoldertypeGetAutocompleteV2ResponseMPayload from typing import Optional, Set from typing_extensions import Self -class EzsignfoldertypeGetAutocompleteV2Response(CommonResponse): +class EzsignfoldertypeGetAutocompleteV2Response(BaseModel): """ Response for GET /2/object/ezsignfoldertype/getAutocomplete """ # noqa: E501 + obj_debug_payload: CommonResponseObjDebugPayload = Field(alias="objDebugPayload") + obj_debug: Optional[CommonResponseObjDebug] = Field(default=None, alias="objDebug") m_payload: EzsignfoldertypeGetAutocompleteV2ResponseMPayload = Field(alias="mPayload") __properties: ClassVar[List[str]] = ["objDebugPayload", "objDebug", "mPayload"] diff --git a/eZmaxApi/models/ezsignfoldertype_get_list_v1_response.py b/eZmaxApi/models/ezsignfoldertype_get_list_v1_response.py index 1f653c291..3e85018c2 100644 --- a/eZmaxApi/models/ezsignfoldertype_get_list_v1_response.py +++ b/eZmaxApi/models/ezsignfoldertype_get_list_v1_response.py @@ -18,19 +18,20 @@ import re # noqa: F401 import json -from pydantic import ConfigDict, Field -from typing import Any, ClassVar, Dict, List -from eZmaxApi.models.common_response_get_list import CommonResponseGetList +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List, Optional from eZmaxApi.models.common_response_obj_debug import CommonResponseObjDebug from eZmaxApi.models.common_response_obj_debug_payload_get_list import CommonResponseObjDebugPayloadGetList from eZmaxApi.models.ezsignfoldertype_get_list_v1_response_m_payload import EzsignfoldertypeGetListV1ResponseMPayload from typing import Optional, Set from typing_extensions import Self -class EzsignfoldertypeGetListV1Response(CommonResponseGetList): +class EzsignfoldertypeGetListV1Response(BaseModel): """ Response for GET /1/object/ezsignfoldertype/getList """ # noqa: E501 + obj_debug_payload: CommonResponseObjDebugPayloadGetList = Field(alias="objDebugPayload") + obj_debug: Optional[CommonResponseObjDebug] = Field(default=None, alias="objDebug") m_payload: EzsignfoldertypeGetListV1ResponseMPayload = Field(alias="mPayload") __properties: ClassVar[List[str]] = ["objDebugPayload", "objDebug", "mPayload"] diff --git a/eZmaxApi/models/ezsignfoldertype_get_list_v1_response_m_payload.py b/eZmaxApi/models/ezsignfoldertype_get_list_v1_response_m_payload.py index 911bf774c..bd99dbf8a 100644 --- a/eZmaxApi/models/ezsignfoldertype_get_list_v1_response_m_payload.py +++ b/eZmaxApi/models/ezsignfoldertype_get_list_v1_response_m_payload.py @@ -18,17 +18,18 @@ import re # noqa: F401 import json -from pydantic import ConfigDict, Field +from pydantic import BaseModel, ConfigDict, Field, StrictInt from typing import Any, ClassVar, Dict, List -from eZmaxApi.models.common_get_list_v1_response_m_payload import CommonGetListV1ResponseMPayload from eZmaxApi.models.ezsignfoldertype_list_element import EzsignfoldertypeListElement from typing import Optional, Set from typing_extensions import Self -class EzsignfoldertypeGetListV1ResponseMPayload(CommonGetListV1ResponseMPayload): +class EzsignfoldertypeGetListV1ResponseMPayload(BaseModel): """ Payload for GET /1/object/ezsignfoldertype/getList """ # noqa: E501 + i_row_returned: StrictInt = Field(description="The number of rows returned", alias="iRowReturned") + i_row_filtered: StrictInt = Field(description="The number of rows matching your filters (if any) or the total number of rows", alias="iRowFiltered") a_obj_ezsignfoldertype: List[EzsignfoldertypeListElement] = Field(alias="a_objEzsignfoldertype") __properties: ClassVar[List[str]] = ["iRowReturned", "iRowFiltered", "a_objEzsignfoldertype"] diff --git a/eZmaxApi/models/ezsignfoldertype_get_object_v2_response.py b/eZmaxApi/models/ezsignfoldertype_get_object_v2_response.py index 2d3b3f923..60d3102fc 100644 --- a/eZmaxApi/models/ezsignfoldertype_get_object_v2_response.py +++ b/eZmaxApi/models/ezsignfoldertype_get_object_v2_response.py @@ -18,19 +18,20 @@ import re # noqa: F401 import json -from pydantic import ConfigDict, Field -from typing import Any, ClassVar, Dict, List -from eZmaxApi.models.common_response import CommonResponse +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List, Optional from eZmaxApi.models.common_response_obj_debug import CommonResponseObjDebug from eZmaxApi.models.common_response_obj_debug_payload import CommonResponseObjDebugPayload from eZmaxApi.models.ezsignfoldertype_get_object_v2_response_m_payload import EzsignfoldertypeGetObjectV2ResponseMPayload from typing import Optional, Set from typing_extensions import Self -class EzsignfoldertypeGetObjectV2Response(CommonResponse): +class EzsignfoldertypeGetObjectV2Response(BaseModel): """ Response for GET /2/object/ezsignfoldertype/{pkiEzsignfoldertypeID} """ # noqa: E501 + obj_debug_payload: CommonResponseObjDebugPayload = Field(alias="objDebugPayload") + obj_debug: Optional[CommonResponseObjDebug] = Field(default=None, alias="objDebug") m_payload: EzsignfoldertypeGetObjectV2ResponseMPayload = Field(alias="mPayload") __properties: ClassVar[List[str]] = ["objDebugPayload", "objDebug", "mPayload"] diff --git a/eZmaxApi/models/ezsignfoldertype_get_object_v4_response.py b/eZmaxApi/models/ezsignfoldertype_get_object_v4_response.py index 59bf095ed..3880a703f 100644 --- a/eZmaxApi/models/ezsignfoldertype_get_object_v4_response.py +++ b/eZmaxApi/models/ezsignfoldertype_get_object_v4_response.py @@ -18,19 +18,20 @@ import re # noqa: F401 import json -from pydantic import ConfigDict, Field -from typing import Any, ClassVar, Dict, List -from eZmaxApi.models.common_response import CommonResponse +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List, Optional from eZmaxApi.models.common_response_obj_debug import CommonResponseObjDebug from eZmaxApi.models.common_response_obj_debug_payload import CommonResponseObjDebugPayload from eZmaxApi.models.ezsignfoldertype_get_object_v4_response_m_payload import EzsignfoldertypeGetObjectV4ResponseMPayload from typing import Optional, Set from typing_extensions import Self -class EzsignfoldertypeGetObjectV4Response(CommonResponse): +class EzsignfoldertypeGetObjectV4Response(BaseModel): """ Response for GET /4/object/ezsignfoldertype/{pkiEzsignfoldertypeID} """ # noqa: E501 + obj_debug_payload: CommonResponseObjDebugPayload = Field(alias="objDebugPayload") + obj_debug: Optional[CommonResponseObjDebug] = Field(default=None, alias="objDebug") m_payload: EzsignfoldertypeGetObjectV4ResponseMPayload = Field(alias="mPayload") __properties: ClassVar[List[str]] = ["objDebugPayload", "objDebug", "mPayload"] diff --git a/eZmaxApi/models/ezsignfoldertype_request_compound_v3.py b/eZmaxApi/models/ezsignfoldertype_request_compound_v3.py index 9fe3c9b63..69b0e42ca 100644 --- a/eZmaxApi/models/ezsignfoldertype_request_compound_v3.py +++ b/eZmaxApi/models/ezsignfoldertype_request_compound_v3.py @@ -18,10 +18,9 @@ import re # noqa: F401 import json -from pydantic import ConfigDict, Field +from pydantic import BaseModel, ConfigDict, Field, StrictBool, field_validator from typing import Any, ClassVar, Dict, List, Optional from typing_extensions import Annotated -from eZmaxApi.models.ezsignfoldertype_request_v3 import EzsignfoldertypeRequestV3 from eZmaxApi.models.field_e_ezsignfoldertype_completion import FieldEEzsignfoldertypeCompletion from eZmaxApi.models.field_e_ezsignfoldertype_disposal import FieldEEzsignfoldertypeDisposal from eZmaxApi.models.field_e_ezsignfoldertype_documentdependency import FieldEEzsignfoldertypeDocumentdependency @@ -33,14 +32,94 @@ from typing import Optional, Set from typing_extensions import Self -class EzsignfoldertypeRequestCompoundV3(EzsignfoldertypeRequestV3): +class EzsignfoldertypeRequestCompoundV3(BaseModel): """ A Ezsignfoldertype Object and children """ # noqa: E501 + pki_ezsignfoldertype_id: Optional[Annotated[int, Field(le=65535, strict=True, ge=0)]] = Field(default=None, description="The unique ID of the Ezsignfoldertype.", alias="pkiEzsignfoldertypeID") + obj_ezsignfoldertype_name: MultilingualEzsignfoldertypeName = Field(alias="objEzsignfoldertypeName") + fki_branding_id: Annotated[int, Field(strict=True, ge=0)] = Field(description="The unique ID of the Branding", alias="fkiBrandingID") + fki_billingentityinternal_id: Optional[Annotated[int, Field(strict=True, ge=0)]] = Field(default=None, description="The unique ID of the Billingentityinternal.", alias="fkiBillingentityinternalID") + fki_ezsigntsarequirement_id: Optional[Annotated[int, Field(le=3, strict=True, ge=1)]] = Field(default=None, description="The unique ID of the Ezsigntsarequirement. Determine if a Time Stamping Authority should add a timestamp on each of the signature. Valid values: |Value|Description| |-|-| |1|No. TSA Timestamping will requested. This will make all signatures a lot faster since no round-trip to the TSA server will be required. Timestamping will be made using eZsign server's time.| |2|Best effort. Timestamping from a Time Stamping Authority will be requested but is not mandatory. In the very improbable case it cannot be completed, the timestamping will be made using eZsign server's time. **Additional fee applies**| |3|Mandatory. Timestamping from a Time Stamping Authority will be requested and is mandatory. In the very improbable case it cannot be completed, the signature will fail and the user will be asked to retry. **Additional fee applies**|", alias="fkiEzsigntsarequirementID") + fki_font_id_annotation: Optional[Annotated[int, Field(strict=True, ge=0)]] = Field(default=None, description="The unique ID of the Font", alias="fkiFontIDAnnotation") + fki_font_id_formfield: Optional[Annotated[int, Field(strict=True, ge=0)]] = Field(default=None, description="The unique ID of the Font", alias="fkiFontIDFormfield") + fki_font_id_signature: Optional[Annotated[int, Field(strict=True, ge=0)]] = Field(default=None, description="The unique ID of the Font", alias="fkiFontIDSignature") + fki_pdfalevel_id_convert: Optional[Annotated[int, Field(le=255, strict=True, ge=0)]] = Field(default=None, description="The unique ID of the Pdfalevel", alias="fkiPdfalevelIDConvert") + a_fki_pdfalevel_id: Optional[List[Annotated[int, Field(le=255, strict=True, ge=0)]]] = Field(default=None, alias="a_fkiPdfalevelID") + a_fki_userlogintype_id: List[Annotated[int, Field(strict=True, ge=0)]] = Field(alias="a_fkiUserlogintypeID") + a_fki_usergroup_id_all: Optional[List[Annotated[int, Field(le=255, strict=True, ge=0)]]] = Field(default=None, alias="a_fkiUsergroupIDAll") + a_fki_usergroup_id_restricted: Optional[List[Annotated[int, Field(le=255, strict=True, ge=0)]]] = Field(default=None, alias="a_fkiUsergroupIDRestricted") + a_fki_usergroup_id_template: Optional[List[Annotated[int, Field(le=255, strict=True, ge=0)]]] = Field(default=None, alias="a_fkiUsergroupIDTemplate") + e_ezsignfoldertype_documentdependency: Optional[FieldEEzsignfoldertypeDocumentdependency] = Field(default=None, alias="eEzsignfoldertypeDocumentdependency") + s_email_address_signed: Optional[Annotated[str, Field(strict=True)]] = Field(default=None, description="The email address.", alias="sEmailAddressSigned") + s_email_address_summary: Optional[Annotated[str, Field(strict=True)]] = Field(default=None, description="The email address.", alias="sEmailAddressSummary") + e_ezsignfoldertype_pdfarequirement: Optional[FieldEEzsignfoldertypePdfarequirement] = Field(default=None, alias="eEzsignfoldertypePdfarequirement") + e_ezsignfoldertype_pdfanoncompliantaction: Optional[FieldEEzsignfoldertypePdfanoncompliantaction] = Field(default=None, alias="eEzsignfoldertypePdfanoncompliantaction") + e_ezsignfoldertype_privacylevel: FieldEEzsignfoldertypePrivacylevel = Field(alias="eEzsignfoldertypePrivacylevel") + i_ezsignfoldertype_fontsizeannotation: Optional[Annotated[int, Field(le=255, strict=True, ge=1)]] = Field(default=None, description="Font size for annotations", alias="iEzsignfoldertypeFontsizeannotation") + i_ezsignfoldertype_fontsizeformfield: Optional[Annotated[int, Field(le=255, strict=True, ge=1)]] = Field(default=None, description="Font size for form fields", alias="iEzsignfoldertypeFontsizeformfield") + i_ezsignfoldertype_sendreminderfirstdays: Optional[Annotated[int, Field(le=255, strict=True, ge=0)]] = Field(default=None, description="The number of days before the the first reminder sending", alias="iEzsignfoldertypeSendreminderfirstdays") + i_ezsignfoldertype_sendreminderotherdays: Optional[Annotated[int, Field(le=255, strict=True, ge=0)]] = Field(default=None, description="The number of days after the first reminder sending", alias="iEzsignfoldertypeSendreminderotherdays") + i_ezsignfoldertype_archivaldays: Annotated[int, Field(le=180, strict=True, ge=0)] = Field(description="The number of days before the archival of Ezsignfolders created using this Ezsignfoldertype", alias="iEzsignfoldertypeArchivaldays") + e_ezsignfoldertype_disposal: FieldEEzsignfoldertypeDisposal = Field(alias="eEzsignfoldertypeDisposal") + e_ezsignfoldertype_completion: FieldEEzsignfoldertypeCompletion = Field(alias="eEzsignfoldertypeCompletion") + i_ezsignfoldertype_disposaldays: Optional[Annotated[int, Field(le=9999, strict=True, ge=0)]] = Field(default=None, description="The number of days after the archival before the disposal of the Ezsignfolder", alias="iEzsignfoldertypeDisposaldays") + i_ezsignfoldertype_deadlinedays: Annotated[int, Field(le=60, strict=True, ge=1)] = Field(description="The number of days to get all Ezsignsignatures", alias="iEzsignfoldertypeDeadlinedays") + b_ezsignfoldertype_prematurelyendautomatically: Optional[StrictBool] = Field(default=None, description="Wheter if document will be ended prematurely after Ezsignfolder expires.", alias="bEzsignfoldertypePrematurelyendautomatically") + i_ezsignfoldertype_prematurelyendautomaticallydays: Optional[Annotated[int, Field(le=255, strict=True, ge=0)]] = Field(default=None, description="Number of days between Ezsignfolder expiration and automatic prematurely end of Ezsigndocuments.", alias="iEzsignfoldertypePrematurelyendautomaticallydays") + b_ezsignfoldertype_automaticsignature: Optional[StrictBool] = Field(default=None, description="Whether we allow the automatic signature by an User", alias="bEzsignfoldertypeAutomaticsignature") + b_ezsignfoldertype_delegate: Optional[StrictBool] = Field(default=None, description="Wheter if delegation of signature is allowed to another user or not", alias="bEzsignfoldertypeDelegate") + b_ezsignfoldertype_discussion: Optional[StrictBool] = Field(default=None, description="Wheter if creating a new Discussion is allowed or not", alias="bEzsignfoldertypeDiscussion") + b_ezsignfoldertype_logrecipientinproof: Optional[StrictBool] = Field(default=None, description="Whether we log recipient of signed document in proof", alias="bEzsignfoldertypeLogrecipientinproof") + b_ezsignfoldertype_reassignezsignsigner: Optional[StrictBool] = Field(default=None, description="Wheter if Reassignment of signature is allowed by a signatory to another signatory or not", alias="bEzsignfoldertypeReassignezsignsigner") + b_ezsignfoldertype_reassignuser: Optional[StrictBool] = Field(default=None, description="Wheter if Reassignment of signature is allowed by a user to a signatory or another user or not", alias="bEzsignfoldertypeReassignuser") + b_ezsignfoldertype_reassigngroup: Optional[StrictBool] = Field(default=None, description="Wheter if Reassignment of signatures of the groups to which the user belongs is authorized by a user to himself", alias="bEzsignfoldertypeReassigngroup") + b_ezsignfoldertype_sendsignedtoezsignsigner: Optional[StrictBool] = Field(default=None, description="Whether we send an email to Ezsignsigner when document is completed", alias="bEzsignfoldertypeSendsignedtoezsignsigner") + b_ezsignfoldertype_sendsignedtouser: Optional[StrictBool] = Field(default=None, description="Whether we send an email to User who signed when document is completed", alias="bEzsignfoldertypeSendsignedtouser") + b_ezsignfoldertype_sendattachmentezsignsigner: Optional[StrictBool] = Field(default=None, description="Whether we send the Ezsigndocument in the email to Ezsignsigner", alias="bEzsignfoldertypeSendattachmentezsignsigner") + b_ezsignfoldertype_sendproofezsignsigner: Optional[StrictBool] = Field(default=None, description="Whether we send the proof in the email to Ezsignsigner", alias="bEzsignfoldertypeSendproofezsignsigner") + b_ezsignfoldertype_sendattachmentuser: Optional[StrictBool] = Field(default=None, description="Whether we send the Ezsigndocument in the email to User", alias="bEzsignfoldertypeSendattachmentuser") + b_ezsignfoldertype_sendproofuser: Optional[StrictBool] = Field(default=None, description="Whether we send the proof in the email to User", alias="bEzsignfoldertypeSendproofuser") + b_ezsignfoldertype_sendproofemail: Optional[StrictBool] = Field(default=None, description="Whether we send the proof in the email to external recipient", alias="bEzsignfoldertypeSendproofemail") + b_ezsignfoldertype_allowdownloadattachmentezsignsigner: Optional[StrictBool] = Field(default=None, description="Whether we allow the Ezsigndocument to be downloaded by an Ezsignsigner", alias="bEzsignfoldertypeAllowdownloadattachmentezsignsigner") + b_ezsignfoldertype_allowdownloadproofezsignsigner: Optional[StrictBool] = Field(default=None, description="Whether we allow the proof to be downloaded by an Ezsignsigner", alias="bEzsignfoldertypeAllowdownloadproofezsignsigner") + b_ezsignfoldertype_sendproofreceivealldocument: Optional[StrictBool] = Field(default=None, description="Whether we send the proof to user and Ezsignsigner who receive all documents.", alias="bEzsignfoldertypeSendproofreceivealldocument") + b_ezsignfoldertype_sendsignedtodocumentowner: StrictBool = Field(description="Whether we send the signed Ezsigndocument to the Ezsigndocument's owner", alias="bEzsignfoldertypeSendsignedtodocumentowner") + b_ezsignfoldertype_sendsignedtofolderowner: StrictBool = Field(description="Whether we send the signed Ezsigndocument to the Ezsignfolder's owner", alias="bEzsignfoldertypeSendsignedtofolderowner") + b_ezsignfoldertype_sendsignedtofullgroup: Optional[StrictBool] = Field(default=None, description="Whether we send the signed Ezsigndocument to the Usergroup that has acces to all Ezsignfolders", alias="bEzsignfoldertypeSendsignedtofullgroup") + b_ezsignfoldertype_sendsignedtolimitedgroup: Optional[StrictBool] = Field(default=None, description="THIS FIELD WILL BE DELETED. Whether we send the signed Ezsigndocument to the Usergroup that has acces to only their own Ezsignfolders", alias="bEzsignfoldertypeSendsignedtolimitedgroup") + b_ezsignfoldertype_sendsignedtocolleague: StrictBool = Field(description="Whether we send the signed Ezsigndocument to the colleagues", alias="bEzsignfoldertypeSendsignedtocolleague") + b_ezsignfoldertype_sendsummarytodocumentowner: StrictBool = Field(description="Whether we send the summary to the Ezsigndocument's owner", alias="bEzsignfoldertypeSendsummarytodocumentowner") + b_ezsignfoldertype_sendsummarytofolderowner: StrictBool = Field(description="Whether we send the summary to the Ezsignfolder's owner", alias="bEzsignfoldertypeSendsummarytofolderowner") + b_ezsignfoldertype_sendsummarytofullgroup: Optional[StrictBool] = Field(default=None, description="Whether we send the summary to the Usergroup that has acces to all Ezsignfolders", alias="bEzsignfoldertypeSendsummarytofullgroup") + b_ezsignfoldertype_sendsummarytolimitedgroup: Optional[StrictBool] = Field(default=None, description="Whether we send the summary to the Usergroup that has acces to only their own Ezsignfolders", alias="bEzsignfoldertypeSendsummarytolimitedgroup") + b_ezsignfoldertype_sendsummarytocolleague: StrictBool = Field(description="Whether we send the summary to the colleagues", alias="bEzsignfoldertypeSendsummarytocolleague") + e_ezsignfoldertype_signeraccess: Optional[FieldEEzsignfoldertypeSigneraccess] = Field(default=None, alias="eEzsignfoldertypeSigneraccess") + b_ezsignfoldertype_isactive: StrictBool = Field(description="Whether the Ezsignfoldertype is active or not", alias="bEzsignfoldertypeIsactive") a_fki_user_id_signed: Optional[List[Annotated[int, Field(strict=True, ge=0)]]] = Field(default=None, alias="a_fkiUserIDSigned") a_fki_user_id_summary: Optional[List[Annotated[int, Field(strict=True, ge=0)]]] = Field(default=None, alias="a_fkiUserIDSummary") __properties: ClassVar[List[str]] = ["pkiEzsignfoldertypeID", "objEzsignfoldertypeName", "fkiBrandingID", "fkiBillingentityinternalID", "fkiEzsigntsarequirementID", "fkiFontIDAnnotation", "fkiFontIDFormfield", "fkiFontIDSignature", "fkiPdfalevelIDConvert", "a_fkiPdfalevelID", "a_fkiUserlogintypeID", "a_fkiUsergroupIDAll", "a_fkiUsergroupIDRestricted", "a_fkiUsergroupIDTemplate", "eEzsignfoldertypeDocumentdependency", "sEmailAddressSigned", "sEmailAddressSummary", "eEzsignfoldertypePdfarequirement", "eEzsignfoldertypePdfanoncompliantaction", "eEzsignfoldertypePrivacylevel", "iEzsignfoldertypeFontsizeannotation", "iEzsignfoldertypeFontsizeformfield", "iEzsignfoldertypeSendreminderfirstdays", "iEzsignfoldertypeSendreminderotherdays", "iEzsignfoldertypeArchivaldays", "eEzsignfoldertypeDisposal", "eEzsignfoldertypeCompletion", "iEzsignfoldertypeDisposaldays", "iEzsignfoldertypeDeadlinedays", "bEzsignfoldertypePrematurelyendautomatically", "iEzsignfoldertypePrematurelyendautomaticallydays", "bEzsignfoldertypeAutomaticsignature", "bEzsignfoldertypeDelegate", "bEzsignfoldertypeDiscussion", "bEzsignfoldertypeLogrecipientinproof", "bEzsignfoldertypeReassignezsignsigner", "bEzsignfoldertypeReassignuser", "bEzsignfoldertypeReassigngroup", "bEzsignfoldertypeSendsignedtoezsignsigner", "bEzsignfoldertypeSendsignedtouser", "bEzsignfoldertypeSendattachmentezsignsigner", "bEzsignfoldertypeSendproofezsignsigner", "bEzsignfoldertypeSendattachmentuser", "bEzsignfoldertypeSendproofuser", "bEzsignfoldertypeSendproofemail", "bEzsignfoldertypeAllowdownloadattachmentezsignsigner", "bEzsignfoldertypeAllowdownloadproofezsignsigner", "bEzsignfoldertypeSendproofreceivealldocument", "bEzsignfoldertypeSendsignedtodocumentowner", "bEzsignfoldertypeSendsignedtofolderowner", "bEzsignfoldertypeSendsignedtofullgroup", "bEzsignfoldertypeSendsignedtolimitedgroup", "bEzsignfoldertypeSendsignedtocolleague", "bEzsignfoldertypeSendsummarytodocumentowner", "bEzsignfoldertypeSendsummarytofolderowner", "bEzsignfoldertypeSendsummarytofullgroup", "bEzsignfoldertypeSendsummarytolimitedgroup", "bEzsignfoldertypeSendsummarytocolleague", "eEzsignfoldertypeSigneraccess", "bEzsignfoldertypeIsactive", "a_fkiUserIDSigned", "a_fkiUserIDSummary"] + @field_validator('s_email_address_signed') + def s_email_address_signed_validate_regular_expression(cls, value): + """Validates the regular expression""" + if value is None: + return value + + if not re.match(r"^[\w.%+\-!#$%&\'*+\/=?^`{|}~]+@[a-zA-Z0-9.-]+\.[a-zA-Z]{2,20}$", value): + raise ValueError(r"must validate the regular expression /^[\w.%+\-!#$%&'*+\/=?^`{|}~]+@[a-zA-Z0-9.-]+\.[a-zA-Z]{2,20}$/") + return value + + @field_validator('s_email_address_summary') + def s_email_address_summary_validate_regular_expression(cls, value): + """Validates the regular expression""" + if value is None: + return value + + if not re.match(r"^[\w.%+\-!#$%&\'*+\/=?^`{|}~]+@[a-zA-Z0-9.-]+\.[a-zA-Z]{2,20}$", value): + raise ValueError(r"must validate the regular expression /^[\w.%+\-!#$%&'*+\/=?^`{|}~]+@[a-zA-Z0-9.-]+\.[a-zA-Z]{2,20}$/") + return value + model_config = ConfigDict( populate_by_name=True, validate_assignment=True, diff --git a/eZmaxApi/models/ezsignfoldertype_request_v3.py b/eZmaxApi/models/ezsignfoldertype_request_v3.py index be2563ac7..459079844 100644 --- a/eZmaxApi/models/ezsignfoldertype_request_v3.py +++ b/eZmaxApi/models/ezsignfoldertype_request_v3.py @@ -163,7 +163,76 @@ def to_dict(self) -> Dict[str, Any]: return _dict @classmethod - def from_dict(cls, obj: Dict[str, Any]) -> Optional[Self]: + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: """Create an instance of EzsignfoldertypeRequestV3 from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "pkiEzsignfoldertypeID": obj.get("pkiEzsignfoldertypeID"), + "objEzsignfoldertypeName": MultilingualEzsignfoldertypeName.from_dict(obj["objEzsignfoldertypeName"]) if obj.get("objEzsignfoldertypeName") is not None else None, + "fkiBrandingID": obj.get("fkiBrandingID"), + "fkiBillingentityinternalID": obj.get("fkiBillingentityinternalID"), + "fkiEzsigntsarequirementID": obj.get("fkiEzsigntsarequirementID"), + "fkiFontIDAnnotation": obj.get("fkiFontIDAnnotation"), + "fkiFontIDFormfield": obj.get("fkiFontIDFormfield"), + "fkiFontIDSignature": obj.get("fkiFontIDSignature"), + "fkiPdfalevelIDConvert": obj.get("fkiPdfalevelIDConvert"), + "a_fkiPdfalevelID": obj.get("a_fkiPdfalevelID"), + "a_fkiUserlogintypeID": obj.get("a_fkiUserlogintypeID"), + "a_fkiUsergroupIDAll": obj.get("a_fkiUsergroupIDAll"), + "a_fkiUsergroupIDRestricted": obj.get("a_fkiUsergroupIDRestricted"), + "a_fkiUsergroupIDTemplate": obj.get("a_fkiUsergroupIDTemplate"), + "eEzsignfoldertypeDocumentdependency": obj.get("eEzsignfoldertypeDocumentdependency"), + "sEmailAddressSigned": obj.get("sEmailAddressSigned"), + "sEmailAddressSummary": obj.get("sEmailAddressSummary"), + "eEzsignfoldertypePdfarequirement": obj.get("eEzsignfoldertypePdfarequirement"), + "eEzsignfoldertypePdfanoncompliantaction": obj.get("eEzsignfoldertypePdfanoncompliantaction"), + "eEzsignfoldertypePrivacylevel": obj.get("eEzsignfoldertypePrivacylevel"), + "iEzsignfoldertypeFontsizeannotation": obj.get("iEzsignfoldertypeFontsizeannotation"), + "iEzsignfoldertypeFontsizeformfield": obj.get("iEzsignfoldertypeFontsizeformfield"), + "iEzsignfoldertypeSendreminderfirstdays": obj.get("iEzsignfoldertypeSendreminderfirstdays"), + "iEzsignfoldertypeSendreminderotherdays": obj.get("iEzsignfoldertypeSendreminderotherdays"), + "iEzsignfoldertypeArchivaldays": obj.get("iEzsignfoldertypeArchivaldays"), + "eEzsignfoldertypeDisposal": obj.get("eEzsignfoldertypeDisposal"), + "eEzsignfoldertypeCompletion": obj.get("eEzsignfoldertypeCompletion"), + "iEzsignfoldertypeDisposaldays": obj.get("iEzsignfoldertypeDisposaldays"), + "iEzsignfoldertypeDeadlinedays": obj.get("iEzsignfoldertypeDeadlinedays"), + "bEzsignfoldertypePrematurelyendautomatically": obj.get("bEzsignfoldertypePrematurelyendautomatically"), + "iEzsignfoldertypePrematurelyendautomaticallydays": obj.get("iEzsignfoldertypePrematurelyendautomaticallydays"), + "bEzsignfoldertypeAutomaticsignature": obj.get("bEzsignfoldertypeAutomaticsignature"), + "bEzsignfoldertypeDelegate": obj.get("bEzsignfoldertypeDelegate"), + "bEzsignfoldertypeDiscussion": obj.get("bEzsignfoldertypeDiscussion"), + "bEzsignfoldertypeLogrecipientinproof": obj.get("bEzsignfoldertypeLogrecipientinproof"), + "bEzsignfoldertypeReassignezsignsigner": obj.get("bEzsignfoldertypeReassignezsignsigner"), + "bEzsignfoldertypeReassignuser": obj.get("bEzsignfoldertypeReassignuser"), + "bEzsignfoldertypeReassigngroup": obj.get("bEzsignfoldertypeReassigngroup"), + "bEzsignfoldertypeSendsignedtoezsignsigner": obj.get("bEzsignfoldertypeSendsignedtoezsignsigner"), + "bEzsignfoldertypeSendsignedtouser": obj.get("bEzsignfoldertypeSendsignedtouser"), + "bEzsignfoldertypeSendattachmentezsignsigner": obj.get("bEzsignfoldertypeSendattachmentezsignsigner"), + "bEzsignfoldertypeSendproofezsignsigner": obj.get("bEzsignfoldertypeSendproofezsignsigner"), + "bEzsignfoldertypeSendattachmentuser": obj.get("bEzsignfoldertypeSendattachmentuser"), + "bEzsignfoldertypeSendproofuser": obj.get("bEzsignfoldertypeSendproofuser"), + "bEzsignfoldertypeSendproofemail": obj.get("bEzsignfoldertypeSendproofemail"), + "bEzsignfoldertypeAllowdownloadattachmentezsignsigner": obj.get("bEzsignfoldertypeAllowdownloadattachmentezsignsigner"), + "bEzsignfoldertypeAllowdownloadproofezsignsigner": obj.get("bEzsignfoldertypeAllowdownloadproofezsignsigner"), + "bEzsignfoldertypeSendproofreceivealldocument": obj.get("bEzsignfoldertypeSendproofreceivealldocument"), + "bEzsignfoldertypeSendsignedtodocumentowner": obj.get("bEzsignfoldertypeSendsignedtodocumentowner"), + "bEzsignfoldertypeSendsignedtofolderowner": obj.get("bEzsignfoldertypeSendsignedtofolderowner"), + "bEzsignfoldertypeSendsignedtofullgroup": obj.get("bEzsignfoldertypeSendsignedtofullgroup"), + "bEzsignfoldertypeSendsignedtolimitedgroup": obj.get("bEzsignfoldertypeSendsignedtolimitedgroup"), + "bEzsignfoldertypeSendsignedtocolleague": obj.get("bEzsignfoldertypeSendsignedtocolleague"), + "bEzsignfoldertypeSendsummarytodocumentowner": obj.get("bEzsignfoldertypeSendsummarytodocumentowner"), + "bEzsignfoldertypeSendsummarytofolderowner": obj.get("bEzsignfoldertypeSendsummarytofolderowner"), + "bEzsignfoldertypeSendsummarytofullgroup": obj.get("bEzsignfoldertypeSendsummarytofullgroup"), + "bEzsignfoldertypeSendsummarytolimitedgroup": obj.get("bEzsignfoldertypeSendsummarytolimitedgroup"), + "bEzsignfoldertypeSendsummarytocolleague": obj.get("bEzsignfoldertypeSendsummarytocolleague"), + "eEzsignfoldertypeSigneraccess": obj.get("eEzsignfoldertypeSigneraccess"), + "bEzsignfoldertypeIsactive": obj.get("bEzsignfoldertypeIsactive") + }) + return _obj diff --git a/eZmaxApi/models/ezsignfoldertype_response.py b/eZmaxApi/models/ezsignfoldertype_response.py index 86233d8a3..8a513be85 100644 --- a/eZmaxApi/models/ezsignfoldertype_response.py +++ b/eZmaxApi/models/ezsignfoldertype_response.py @@ -177,7 +177,65 @@ def to_dict(self) -> Dict[str, Any]: return _dict @classmethod - def from_dict(cls, obj: Dict[str, Any]) -> Optional[Self]: + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: """Create an instance of EzsignfoldertypeResponse from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "pkiEzsignfoldertypeID": obj.get("pkiEzsignfoldertypeID"), + "objEzsignfoldertypeName": MultilingualEzsignfoldertypeName.from_dict(obj["objEzsignfoldertypeName"]) if obj.get("objEzsignfoldertypeName") is not None else None, + "fkiBrandingID": obj.get("fkiBrandingID"), + "fkiBillingentityinternalID": obj.get("fkiBillingentityinternalID"), + "fkiUsergroupID": obj.get("fkiUsergroupID"), + "fkiUsergroupIDRestricted": obj.get("fkiUsergroupIDRestricted"), + "fkiEzsigntsarequirementID": obj.get("fkiEzsigntsarequirementID"), + "sBrandingDescriptionX": obj.get("sBrandingDescriptionX"), + "sBillingentityinternalDescriptionX": obj.get("sBillingentityinternalDescriptionX"), + "sEzsigntsarequirementDescriptionX": obj.get("sEzsigntsarequirementDescriptionX"), + "sEmailAddressSigned": obj.get("sEmailAddressSigned"), + "sEmailAddressSummary": obj.get("sEmailAddressSummary"), + "sUsergroupNameX": obj.get("sUsergroupNameX"), + "sUsergroupNameXRestricted": obj.get("sUsergroupNameXRestricted"), + "eEzsignfoldertypePrivacylevel": obj.get("eEzsignfoldertypePrivacylevel"), + "eEzsignfoldertypeSendreminderfrequency": obj.get("eEzsignfoldertypeSendreminderfrequency"), + "iEzsignfoldertypeArchivaldays": obj.get("iEzsignfoldertypeArchivaldays"), + "eEzsignfoldertypeDisposal": obj.get("eEzsignfoldertypeDisposal"), + "eEzsignfoldertypeCompletion": obj.get("eEzsignfoldertypeCompletion"), + "iEzsignfoldertypeDisposaldays": obj.get("iEzsignfoldertypeDisposaldays"), + "iEzsignfoldertypeDeadlinedays": obj.get("iEzsignfoldertypeDeadlinedays"), + "bEzsignfoldertypeAutomaticsignature": obj.get("bEzsignfoldertypeAutomaticsignature"), + "bEzsignfoldertypeDelegate": obj.get("bEzsignfoldertypeDelegate"), + "bEzsignfoldertypeDiscussion": obj.get("bEzsignfoldertypeDiscussion"), + "bEzsignfoldertypeReassignezsignsigner": obj.get("bEzsignfoldertypeReassignezsignsigner"), + "bEzsignfoldertypeReassignuser": obj.get("bEzsignfoldertypeReassignuser"), + "bEzsignfoldertypeReassigngroup": obj.get("bEzsignfoldertypeReassigngroup"), + "bEzsignfoldertypeSendsignedtoezsignsigner": obj.get("bEzsignfoldertypeSendsignedtoezsignsigner"), + "bEzsignfoldertypeSendsignedtouser": obj.get("bEzsignfoldertypeSendsignedtouser"), + "bEzsignfoldertypeSendattachmentezsignsigner": obj.get("bEzsignfoldertypeSendattachmentezsignsigner"), + "bEzsignfoldertypeSendproofezsignsigner": obj.get("bEzsignfoldertypeSendproofezsignsigner"), + "bEzsignfoldertypeSendattachmentuser": obj.get("bEzsignfoldertypeSendattachmentuser"), + "bEzsignfoldertypeSendproofuser": obj.get("bEzsignfoldertypeSendproofuser"), + "bEzsignfoldertypeSendproofemail": obj.get("bEzsignfoldertypeSendproofemail"), + "bEzsignfoldertypeAllowdownloadattachmentezsignsigner": obj.get("bEzsignfoldertypeAllowdownloadattachmentezsignsigner"), + "bEzsignfoldertypeAllowdownloadproofezsignsigner": obj.get("bEzsignfoldertypeAllowdownloadproofezsignsigner"), + "bEzsignfoldertypeSendproofreceivealldocument": obj.get("bEzsignfoldertypeSendproofreceivealldocument"), + "bEzsignfoldertypeSendsignedtodocumentowner": obj.get("bEzsignfoldertypeSendsignedtodocumentowner"), + "bEzsignfoldertypeSendsignedtofolderowner": obj.get("bEzsignfoldertypeSendsignedtofolderowner"), + "bEzsignfoldertypeSendsignedtofullgroup": obj.get("bEzsignfoldertypeSendsignedtofullgroup"), + "bEzsignfoldertypeSendsignedtolimitedgroup": obj.get("bEzsignfoldertypeSendsignedtolimitedgroup"), + "bEzsignfoldertypeSendsignedtocolleague": obj.get("bEzsignfoldertypeSendsignedtocolleague"), + "bEzsignfoldertypeSendsummarytodocumentowner": obj.get("bEzsignfoldertypeSendsummarytodocumentowner"), + "bEzsignfoldertypeSendsummarytofolderowner": obj.get("bEzsignfoldertypeSendsummarytofolderowner"), + "bEzsignfoldertypeSendsummarytofullgroup": obj.get("bEzsignfoldertypeSendsummarytofullgroup"), + "bEzsignfoldertypeSendsummarytolimitedgroup": obj.get("bEzsignfoldertypeSendsummarytolimitedgroup"), + "bEzsignfoldertypeSendsummarytocolleague": obj.get("bEzsignfoldertypeSendsummarytocolleague"), + "bEzsignfoldertypeIsactive": obj.get("bEzsignfoldertypeIsactive"), + "a_objUserlogintype": [UserlogintypeResponse.from_dict(_item) for _item in obj["a_objUserlogintype"]] if obj.get("a_objUserlogintype") is not None else None + }) + return _obj diff --git a/eZmaxApi/models/ezsignfoldertype_response_compound.py b/eZmaxApi/models/ezsignfoldertype_response_compound.py index a255245b9..c36485de6 100644 --- a/eZmaxApi/models/ezsignfoldertype_response_compound.py +++ b/eZmaxApi/models/ezsignfoldertype_response_compound.py @@ -18,10 +18,9 @@ import re # noqa: F401 import json -from pydantic import ConfigDict, Field +from pydantic import BaseModel, ConfigDict, Field, StrictBool, StrictStr, field_validator from typing import Any, ClassVar, Dict, List, Optional from typing_extensions import Annotated -from eZmaxApi.models.ezsignfoldertype_response import EzsignfoldertypeResponse from eZmaxApi.models.field_e_ezsignfoldertype_completion import FieldEEzsignfoldertypeCompletion from eZmaxApi.models.field_e_ezsignfoldertype_disposal import FieldEEzsignfoldertypeDisposal from eZmaxApi.models.field_e_ezsignfoldertype_privacylevel import FieldEEzsignfoldertypePrivacylevel @@ -31,14 +30,103 @@ from typing import Optional, Set from typing_extensions import Self -class EzsignfoldertypeResponseCompound(EzsignfoldertypeResponse): +class EzsignfoldertypeResponseCompound(BaseModel): """ A Ezsignfoldertype Object """ # noqa: E501 + pki_ezsignfoldertype_id: Annotated[int, Field(le=65535, strict=True, ge=0)] = Field(description="The unique ID of the Ezsignfoldertype.", alias="pkiEzsignfoldertypeID") + obj_ezsignfoldertype_name: MultilingualEzsignfoldertypeName = Field(alias="objEzsignfoldertypeName") + fki_branding_id: Annotated[int, Field(strict=True, ge=0)] = Field(description="The unique ID of the Branding", alias="fkiBrandingID") + fki_billingentityinternal_id: Optional[Annotated[int, Field(strict=True, ge=0)]] = Field(default=None, description="The unique ID of the Billingentityinternal.", alias="fkiBillingentityinternalID") + fki_usergroup_id: Optional[Annotated[int, Field(le=255, strict=True, ge=0)]] = Field(default=None, description="The unique ID of the Usergroup", alias="fkiUsergroupID") + fki_usergroup_id_restricted: Optional[Annotated[int, Field(le=255, strict=True, ge=0)]] = Field(default=None, description="The unique ID of the Usergroup", alias="fkiUsergroupIDRestricted") + fki_ezsigntsarequirement_id: Optional[Annotated[int, Field(le=3, strict=True, ge=1)]] = Field(default=None, description="The unique ID of the Ezsigntsarequirement. Determine if a Time Stamping Authority should add a timestamp on each of the signature. Valid values: |Value|Description| |-|-| |1|No. TSA Timestamping will requested. This will make all signatures a lot faster since no round-trip to the TSA server will be required. Timestamping will be made using eZsign server's time.| |2|Best effort. Timestamping from a Time Stamping Authority will be requested but is not mandatory. In the very improbable case it cannot be completed, the timestamping will be made using eZsign server's time. **Additional fee applies**| |3|Mandatory. Timestamping from a Time Stamping Authority will be requested and is mandatory. In the very improbable case it cannot be completed, the signature will fail and the user will be asked to retry. **Additional fee applies**|", alias="fkiEzsigntsarequirementID") + s_branding_description_x: StrictStr = Field(description="The Description of the Branding in the language of the requester", alias="sBrandingDescriptionX") + s_billingentityinternal_description_x: Optional[StrictStr] = Field(default=None, description="The description of the Billingentityinternal in the language of the requester", alias="sBillingentityinternalDescriptionX") + s_ezsigntsarequirement_description_x: Optional[StrictStr] = Field(default=None, description="The description of the Ezsigntsarequirement in the language of the requester", alias="sEzsigntsarequirementDescriptionX") + s_email_address_signed: Optional[Annotated[str, Field(strict=True)]] = Field(default=None, description="The email address.", alias="sEmailAddressSigned") + s_email_address_summary: Optional[Annotated[str, Field(strict=True)]] = Field(default=None, description="The email address.", alias="sEmailAddressSummary") + s_usergroup_name_x: Optional[Annotated[str, Field(strict=True)]] = Field(default=None, description="The Name of the Usergroup in the language of the requester", alias="sUsergroupNameX") + s_usergroup_name_x_restricted: Optional[Annotated[str, Field(strict=True)]] = Field(default=None, description="The Name of the Usergroup in the language of the requester", alias="sUsergroupNameXRestricted") + e_ezsignfoldertype_privacylevel: FieldEEzsignfoldertypePrivacylevel = Field(alias="eEzsignfoldertypePrivacylevel") + e_ezsignfoldertype_sendreminderfrequency: Optional[FieldEEzsignfoldertypeSendreminderfrequency] = Field(default=None, alias="eEzsignfoldertypeSendreminderfrequency") + i_ezsignfoldertype_archivaldays: Annotated[int, Field(le=180, strict=True, ge=0)] = Field(description="The number of days before the archival of Ezsignfolders created using this Ezsignfoldertype", alias="iEzsignfoldertypeArchivaldays") + e_ezsignfoldertype_disposal: FieldEEzsignfoldertypeDisposal = Field(alias="eEzsignfoldertypeDisposal") + e_ezsignfoldertype_completion: FieldEEzsignfoldertypeCompletion = Field(alias="eEzsignfoldertypeCompletion") + i_ezsignfoldertype_disposaldays: Optional[Annotated[int, Field(le=9999, strict=True, ge=0)]] = Field(default=None, description="The number of days after the archival before the disposal of the Ezsignfolder", alias="iEzsignfoldertypeDisposaldays") + i_ezsignfoldertype_deadlinedays: Annotated[int, Field(le=60, strict=True, ge=1)] = Field(description="The number of days to get all Ezsignsignatures", alias="iEzsignfoldertypeDeadlinedays") + b_ezsignfoldertype_automaticsignature: Optional[StrictBool] = Field(default=None, description="Whether we allow the automatic signature by an User", alias="bEzsignfoldertypeAutomaticsignature") + b_ezsignfoldertype_delegate: Optional[StrictBool] = Field(default=None, description="Wheter if delegation of signature is allowed to another user or not", alias="bEzsignfoldertypeDelegate") + b_ezsignfoldertype_discussion: Optional[StrictBool] = Field(default=None, description="Wheter if creating a new Discussion is allowed or not", alias="bEzsignfoldertypeDiscussion") + b_ezsignfoldertype_reassignezsignsigner: Optional[StrictBool] = Field(default=None, description="Wheter if Reassignment of signature is allowed by a signatory to another signatory or not", alias="bEzsignfoldertypeReassignezsignsigner") + b_ezsignfoldertype_reassignuser: Optional[StrictBool] = Field(default=None, description="Wheter if Reassignment of signature is allowed by a user to a signatory or another user or not", alias="bEzsignfoldertypeReassignuser") + b_ezsignfoldertype_reassigngroup: Optional[StrictBool] = Field(default=None, description="Wheter if Reassignment of signatures of the groups to which the user belongs is authorized by a user to himself", alias="bEzsignfoldertypeReassigngroup") + b_ezsignfoldertype_sendsignedtoezsignsigner: Optional[StrictBool] = Field(default=None, description="Whether we send an email to Ezsignsigner when document is completed", alias="bEzsignfoldertypeSendsignedtoezsignsigner") + b_ezsignfoldertype_sendsignedtouser: Optional[StrictBool] = Field(default=None, description="Whether we send an email to User who signed when document is completed", alias="bEzsignfoldertypeSendsignedtouser") + b_ezsignfoldertype_sendattachmentezsignsigner: Optional[StrictBool] = Field(default=None, description="Whether we send the Ezsigndocument in the email to Ezsignsigner", alias="bEzsignfoldertypeSendattachmentezsignsigner") + b_ezsignfoldertype_sendproofezsignsigner: Optional[StrictBool] = Field(default=None, description="Whether we send the proof in the email to Ezsignsigner", alias="bEzsignfoldertypeSendproofezsignsigner") + b_ezsignfoldertype_sendattachmentuser: Optional[StrictBool] = Field(default=None, description="Whether we send the Ezsigndocument in the email to User", alias="bEzsignfoldertypeSendattachmentuser") + b_ezsignfoldertype_sendproofuser: Optional[StrictBool] = Field(default=None, description="Whether we send the proof in the email to User", alias="bEzsignfoldertypeSendproofuser") + b_ezsignfoldertype_sendproofemail: Optional[StrictBool] = Field(default=None, description="Whether we send the proof in the email to external recipient", alias="bEzsignfoldertypeSendproofemail") + b_ezsignfoldertype_allowdownloadattachmentezsignsigner: Optional[StrictBool] = Field(default=None, description="Whether we allow the Ezsigndocument to be downloaded by an Ezsignsigner", alias="bEzsignfoldertypeAllowdownloadattachmentezsignsigner") + b_ezsignfoldertype_allowdownloadproofezsignsigner: Optional[StrictBool] = Field(default=None, description="Whether we allow the proof to be downloaded by an Ezsignsigner", alias="bEzsignfoldertypeAllowdownloadproofezsignsigner") + b_ezsignfoldertype_sendproofreceivealldocument: Optional[StrictBool] = Field(default=None, description="Whether we send the proof to user and Ezsignsigner who receive all documents.", alias="bEzsignfoldertypeSendproofreceivealldocument") + b_ezsignfoldertype_sendsignedtodocumentowner: StrictBool = Field(description="Whether we send the signed Ezsigndocument to the Ezsigndocument's owner", alias="bEzsignfoldertypeSendsignedtodocumentowner") + b_ezsignfoldertype_sendsignedtofolderowner: StrictBool = Field(description="Whether we send the signed Ezsigndocument to the Ezsignfolder's owner", alias="bEzsignfoldertypeSendsignedtofolderowner") + b_ezsignfoldertype_sendsignedtofullgroup: Optional[StrictBool] = Field(default=None, description="Whether we send the signed Ezsigndocument to the Usergroup that has acces to all Ezsignfolders", alias="bEzsignfoldertypeSendsignedtofullgroup") + b_ezsignfoldertype_sendsignedtolimitedgroup: Optional[StrictBool] = Field(default=None, description="THIS FIELD WILL BE DELETED. Whether we send the signed Ezsigndocument to the Usergroup that has acces to only their own Ezsignfolders", alias="bEzsignfoldertypeSendsignedtolimitedgroup") + b_ezsignfoldertype_sendsignedtocolleague: StrictBool = Field(description="Whether we send the signed Ezsigndocument to the colleagues", alias="bEzsignfoldertypeSendsignedtocolleague") + b_ezsignfoldertype_sendsummarytodocumentowner: StrictBool = Field(description="Whether we send the summary to the Ezsigndocument's owner", alias="bEzsignfoldertypeSendsummarytodocumentowner") + b_ezsignfoldertype_sendsummarytofolderowner: StrictBool = Field(description="Whether we send the summary to the Ezsignfolder's owner", alias="bEzsignfoldertypeSendsummarytofolderowner") + b_ezsignfoldertype_sendsummarytofullgroup: Optional[StrictBool] = Field(default=None, description="Whether we send the summary to the Usergroup that has acces to all Ezsignfolders", alias="bEzsignfoldertypeSendsummarytofullgroup") + b_ezsignfoldertype_sendsummarytolimitedgroup: Optional[StrictBool] = Field(default=None, description="Whether we send the summary to the Usergroup that has acces to only their own Ezsignfolders", alias="bEzsignfoldertypeSendsummarytolimitedgroup") + b_ezsignfoldertype_sendsummarytocolleague: StrictBool = Field(description="Whether we send the summary to the colleagues", alias="bEzsignfoldertypeSendsummarytocolleague") + b_ezsignfoldertype_isactive: StrictBool = Field(description="Whether the Ezsignfoldertype is active or not", alias="bEzsignfoldertypeIsactive") + a_obj_userlogintype: List[UserlogintypeResponse] = Field(alias="a_objUserlogintype") a_fki_user_id_signed: Optional[List[Annotated[int, Field(strict=True, ge=0)]]] = Field(default=None, alias="a_fkiUserIDSigned") a_fki_user_id_summary: Optional[List[Annotated[int, Field(strict=True, ge=0)]]] = Field(default=None, alias="a_fkiUserIDSummary") __properties: ClassVar[List[str]] = ["pkiEzsignfoldertypeID", "objEzsignfoldertypeName", "fkiBrandingID", "fkiBillingentityinternalID", "fkiUsergroupID", "fkiUsergroupIDRestricted", "fkiEzsigntsarequirementID", "sBrandingDescriptionX", "sBillingentityinternalDescriptionX", "sEzsigntsarequirementDescriptionX", "sEmailAddressSigned", "sEmailAddressSummary", "sUsergroupNameX", "sUsergroupNameXRestricted", "eEzsignfoldertypePrivacylevel", "eEzsignfoldertypeSendreminderfrequency", "iEzsignfoldertypeArchivaldays", "eEzsignfoldertypeDisposal", "eEzsignfoldertypeCompletion", "iEzsignfoldertypeDisposaldays", "iEzsignfoldertypeDeadlinedays", "bEzsignfoldertypeAutomaticsignature", "bEzsignfoldertypeDelegate", "bEzsignfoldertypeDiscussion", "bEzsignfoldertypeReassignezsignsigner", "bEzsignfoldertypeReassignuser", "bEzsignfoldertypeReassigngroup", "bEzsignfoldertypeSendsignedtoezsignsigner", "bEzsignfoldertypeSendsignedtouser", "bEzsignfoldertypeSendattachmentezsignsigner", "bEzsignfoldertypeSendproofezsignsigner", "bEzsignfoldertypeSendattachmentuser", "bEzsignfoldertypeSendproofuser", "bEzsignfoldertypeSendproofemail", "bEzsignfoldertypeAllowdownloadattachmentezsignsigner", "bEzsignfoldertypeAllowdownloadproofezsignsigner", "bEzsignfoldertypeSendproofreceivealldocument", "bEzsignfoldertypeSendsignedtodocumentowner", "bEzsignfoldertypeSendsignedtofolderowner", "bEzsignfoldertypeSendsignedtofullgroup", "bEzsignfoldertypeSendsignedtolimitedgroup", "bEzsignfoldertypeSendsignedtocolleague", "bEzsignfoldertypeSendsummarytodocumentowner", "bEzsignfoldertypeSendsummarytofolderowner", "bEzsignfoldertypeSendsummarytofullgroup", "bEzsignfoldertypeSendsummarytolimitedgroup", "bEzsignfoldertypeSendsummarytocolleague", "bEzsignfoldertypeIsactive", "a_objUserlogintype", "a_fkiUserIDSigned", "a_fkiUserIDSummary"] + @field_validator('s_email_address_signed') + def s_email_address_signed_validate_regular_expression(cls, value): + """Validates the regular expression""" + if value is None: + return value + + if not re.match(r"^[\w.%+\-!#$%&\'*+\/=?^`{|}~]+@[a-zA-Z0-9.-]+\.[a-zA-Z]{2,20}$", value): + raise ValueError(r"must validate the regular expression /^[\w.%+\-!#$%&'*+\/=?^`{|}~]+@[a-zA-Z0-9.-]+\.[a-zA-Z]{2,20}$/") + return value + + @field_validator('s_email_address_summary') + def s_email_address_summary_validate_regular_expression(cls, value): + """Validates the regular expression""" + if value is None: + return value + + if not re.match(r"^[\w.%+\-!#$%&\'*+\/=?^`{|}~]+@[a-zA-Z0-9.-]+\.[a-zA-Z]{2,20}$", value): + raise ValueError(r"must validate the regular expression /^[\w.%+\-!#$%&'*+\/=?^`{|}~]+@[a-zA-Z0-9.-]+\.[a-zA-Z]{2,20}$/") + return value + + @field_validator('s_usergroup_name_x') + def s_usergroup_name_x_validate_regular_expression(cls, value): + """Validates the regular expression""" + if value is None: + return value + + if not re.match(r"^.{0,50}$", value): + raise ValueError(r"must validate the regular expression /^.{0,50}$/") + return value + + @field_validator('s_usergroup_name_x_restricted') + def s_usergroup_name_x_restricted_validate_regular_expression(cls, value): + """Validates the regular expression""" + if value is None: + return value + + if not re.match(r"^.{0,50}$", value): + raise ValueError(r"must validate the regular expression /^.{0,50}$/") + return value + model_config = ConfigDict( populate_by_name=True, validate_assignment=True, diff --git a/eZmaxApi/models/ezsignfoldertype_response_compound_v4.py b/eZmaxApi/models/ezsignfoldertype_response_compound_v4.py index 2a5dbb835..43217056f 100644 --- a/eZmaxApi/models/ezsignfoldertype_response_compound_v4.py +++ b/eZmaxApi/models/ezsignfoldertype_response_compound_v4.py @@ -18,11 +18,10 @@ import re # noqa: F401 import json -from pydantic import ConfigDict, Field +from pydantic import BaseModel, ConfigDict, Field, StrictBool, StrictStr, field_validator from typing import Any, ClassVar, Dict, List, Optional from typing_extensions import Annotated from eZmaxApi.models.common_audit import CommonAudit -from eZmaxApi.models.ezsignfoldertype_response_v4 import EzsignfoldertypeResponseV4 from eZmaxApi.models.field_e_ezsignfoldertype_completion import FieldEEzsignfoldertypeCompletion from eZmaxApi.models.field_e_ezsignfoldertype_disposal import FieldEEzsignfoldertypeDisposal from eZmaxApi.models.field_e_ezsignfoldertype_documentdependency import FieldEEzsignfoldertypeDocumentdependency @@ -36,14 +35,98 @@ from typing import Optional, Set from typing_extensions import Self -class EzsignfoldertypeResponseCompoundV4(EzsignfoldertypeResponseV4): +class EzsignfoldertypeResponseCompoundV4(BaseModel): """ A Ezsignfoldertype Object """ # noqa: E501 + pki_ezsignfoldertype_id: Annotated[int, Field(le=65535, strict=True, ge=0)] = Field(description="The unique ID of the Ezsignfoldertype.", alias="pkiEzsignfoldertypeID") + obj_ezsignfoldertype_name: MultilingualEzsignfoldertypeName = Field(alias="objEzsignfoldertypeName") + fki_branding_id: Annotated[int, Field(strict=True, ge=0)] = Field(description="The unique ID of the Branding", alias="fkiBrandingID") + fki_billingentityinternal_id: Optional[Annotated[int, Field(strict=True, ge=0)]] = Field(default=None, description="The unique ID of the Billingentityinternal.", alias="fkiBillingentityinternalID") + fki_ezsigntsarequirement_id: Optional[Annotated[int, Field(le=3, strict=True, ge=1)]] = Field(default=None, description="The unique ID of the Ezsigntsarequirement. Determine if a Time Stamping Authority should add a timestamp on each of the signature. Valid values: |Value|Description| |-|-| |1|No. TSA Timestamping will requested. This will make all signatures a lot faster since no round-trip to the TSA server will be required. Timestamping will be made using eZsign server's time.| |2|Best effort. Timestamping from a Time Stamping Authority will be requested but is not mandatory. In the very improbable case it cannot be completed, the timestamping will be made using eZsign server's time. **Additional fee applies**| |3|Mandatory. Timestamping from a Time Stamping Authority will be requested and is mandatory. In the very improbable case it cannot be completed, the signature will fail and the user will be asked to retry. **Additional fee applies**|", alias="fkiEzsigntsarequirementID") + fki_font_id_annotation: Optional[Annotated[int, Field(strict=True, ge=0)]] = Field(default=None, description="The unique ID of the Font", alias="fkiFontIDAnnotation") + fki_font_id_formfield: Optional[Annotated[int, Field(strict=True, ge=0)]] = Field(default=None, description="The unique ID of the Font", alias="fkiFontIDFormfield") + fki_font_id_signature: Optional[Annotated[int, Field(strict=True, ge=0)]] = Field(default=None, description="The unique ID of the Font", alias="fkiFontIDSignature") + fki_pdfalevel_id_convert: Optional[Annotated[int, Field(le=255, strict=True, ge=0)]] = Field(default=None, description="The unique ID of the Pdfalevel", alias="fkiPdfalevelIDConvert") + e_ezsignfoldertype_documentdependency: Optional[FieldEEzsignfoldertypeDocumentdependency] = Field(default=None, alias="eEzsignfoldertypeDocumentdependency") + s_branding_description_x: StrictStr = Field(description="The Description of the Branding in the language of the requester", alias="sBrandingDescriptionX") + s_billingentityinternal_description_x: Optional[StrictStr] = Field(default=None, description="The description of the Billingentityinternal in the language of the requester", alias="sBillingentityinternalDescriptionX") + s_ezsigntsarequirement_description_x: Optional[StrictStr] = Field(default=None, description="The description of the Ezsigntsarequirement in the language of the requester", alias="sEzsigntsarequirementDescriptionX") + s_email_address_signed: Optional[Annotated[str, Field(strict=True)]] = Field(default=None, description="The email address.", alias="sEmailAddressSigned") + s_email_address_summary: Optional[Annotated[str, Field(strict=True)]] = Field(default=None, description="The email address.", alias="sEmailAddressSummary") + e_ezsignfoldertype_pdfarequirement: Optional[FieldEEzsignfoldertypePdfarequirement] = Field(default=None, alias="eEzsignfoldertypePdfarequirement") + e_ezsignfoldertype_pdfanoncompliantaction: Optional[FieldEEzsignfoldertypePdfanoncompliantaction] = Field(default=None, alias="eEzsignfoldertypePdfanoncompliantaction") + e_ezsignfoldertype_privacylevel: FieldEEzsignfoldertypePrivacylevel = Field(alias="eEzsignfoldertypePrivacylevel") + i_ezsignfoldertype_fontsizeannotation: Optional[Annotated[int, Field(le=255, strict=True, ge=1)]] = Field(default=None, description="Font size for annotations", alias="iEzsignfoldertypeFontsizeannotation") + i_ezsignfoldertype_fontsizeformfield: Optional[Annotated[int, Field(le=255, strict=True, ge=1)]] = Field(default=None, description="Font size for form fields", alias="iEzsignfoldertypeFontsizeformfield") + i_ezsignfoldertype_sendreminderfirstdays: Optional[Annotated[int, Field(le=255, strict=True, ge=0)]] = Field(default=None, description="The number of days before the the first reminder sending", alias="iEzsignfoldertypeSendreminderfirstdays") + i_ezsignfoldertype_sendreminderotherdays: Optional[Annotated[int, Field(le=255, strict=True, ge=0)]] = Field(default=None, description="The number of days after the first reminder sending", alias="iEzsignfoldertypeSendreminderotherdays") + i_ezsignfoldertype_archivaldays: Annotated[int, Field(le=180, strict=True, ge=0)] = Field(description="The number of days before the archival of Ezsignfolders created using this Ezsignfoldertype", alias="iEzsignfoldertypeArchivaldays") + e_ezsignfoldertype_disposal: FieldEEzsignfoldertypeDisposal = Field(alias="eEzsignfoldertypeDisposal") + e_ezsignfoldertype_completion: FieldEEzsignfoldertypeCompletion = Field(alias="eEzsignfoldertypeCompletion") + i_ezsignfoldertype_disposaldays: Optional[Annotated[int, Field(le=9999, strict=True, ge=0)]] = Field(default=None, description="The number of days after the archival before the disposal of the Ezsignfolder", alias="iEzsignfoldertypeDisposaldays") + i_ezsignfoldertype_deadlinedays: Annotated[int, Field(le=60, strict=True, ge=1)] = Field(description="The number of days to get all Ezsignsignatures", alias="iEzsignfoldertypeDeadlinedays") + b_ezsignfoldertype_prematurelyendautomatically: Optional[StrictBool] = Field(default=None, description="Wheter if document will be ended prematurely after Ezsignfolder expires.", alias="bEzsignfoldertypePrematurelyendautomatically") + i_ezsignfoldertype_prematurelyendautomaticallydays: Optional[Annotated[int, Field(le=255, strict=True, ge=0)]] = Field(default=None, description="Number of days between Ezsignfolder expiration and automatic prematurely end of Ezsigndocuments.", alias="iEzsignfoldertypePrematurelyendautomaticallydays") + b_ezsignfoldertype_automaticsignature: Optional[StrictBool] = Field(default=None, description="Whether we allow the automatic signature by an User", alias="bEzsignfoldertypeAutomaticsignature") + b_ezsignfoldertype_delegate: Optional[StrictBool] = Field(default=None, description="Wheter if delegation of signature is allowed to another user or not", alias="bEzsignfoldertypeDelegate") + b_ezsignfoldertype_discussion: Optional[StrictBool] = Field(default=None, description="Wheter if creating a new Discussion is allowed or not", alias="bEzsignfoldertypeDiscussion") + b_ezsignfoldertype_logrecipientinproof: Optional[StrictBool] = Field(default=None, description="Whether we log recipient of signed document in proof", alias="bEzsignfoldertypeLogrecipientinproof") + b_ezsignfoldertype_reassignezsignsigner: Optional[StrictBool] = Field(default=None, description="Wheter if Reassignment of signature is allowed by a signatory to another signatory or not", alias="bEzsignfoldertypeReassignezsignsigner") + b_ezsignfoldertype_reassignuser: Optional[StrictBool] = Field(default=None, description="Wheter if Reassignment of signature is allowed by a user to a signatory or another user or not", alias="bEzsignfoldertypeReassignuser") + b_ezsignfoldertype_reassigngroup: Optional[StrictBool] = Field(default=None, description="Wheter if Reassignment of signatures of the groups to which the user belongs is authorized by a user to himself", alias="bEzsignfoldertypeReassigngroup") + b_ezsignfoldertype_sendsignedtoezsignsigner: Optional[StrictBool] = Field(default=None, description="Whether we send an email to Ezsignsigner when document is completed", alias="bEzsignfoldertypeSendsignedtoezsignsigner") + b_ezsignfoldertype_sendsignedtouser: Optional[StrictBool] = Field(default=None, description="Whether we send an email to User who signed when document is completed", alias="bEzsignfoldertypeSendsignedtouser") + b_ezsignfoldertype_sendattachmentezsignsigner: Optional[StrictBool] = Field(default=None, description="Whether we send the Ezsigndocument in the email to Ezsignsigner", alias="bEzsignfoldertypeSendattachmentezsignsigner") + b_ezsignfoldertype_sendproofezsignsigner: Optional[StrictBool] = Field(default=None, description="Whether we send the proof in the email to Ezsignsigner", alias="bEzsignfoldertypeSendproofezsignsigner") + b_ezsignfoldertype_sendattachmentuser: Optional[StrictBool] = Field(default=None, description="Whether we send the Ezsigndocument in the email to User", alias="bEzsignfoldertypeSendattachmentuser") + b_ezsignfoldertype_sendproofuser: Optional[StrictBool] = Field(default=None, description="Whether we send the proof in the email to User", alias="bEzsignfoldertypeSendproofuser") + b_ezsignfoldertype_sendproofemail: Optional[StrictBool] = Field(default=None, description="Whether we send the proof in the email to external recipient", alias="bEzsignfoldertypeSendproofemail") + b_ezsignfoldertype_allowdownloadattachmentezsignsigner: Optional[StrictBool] = Field(default=None, description="Whether we allow the Ezsigndocument to be downloaded by an Ezsignsigner", alias="bEzsignfoldertypeAllowdownloadattachmentezsignsigner") + b_ezsignfoldertype_allowdownloadproofezsignsigner: Optional[StrictBool] = Field(default=None, description="Whether we allow the proof to be downloaded by an Ezsignsigner", alias="bEzsignfoldertypeAllowdownloadproofezsignsigner") + b_ezsignfoldertype_sendproofreceivealldocument: Optional[StrictBool] = Field(default=None, description="Whether we send the proof to user and Ezsignsigner who receive all documents.", alias="bEzsignfoldertypeSendproofreceivealldocument") + b_ezsignfoldertype_sendsignedtodocumentowner: StrictBool = Field(description="Whether we send the signed Ezsigndocument to the Ezsigndocument's owner", alias="bEzsignfoldertypeSendsignedtodocumentowner") + b_ezsignfoldertype_sendsignedtofolderowner: StrictBool = Field(description="Whether we send the signed Ezsigndocument to the Ezsignfolder's owner", alias="bEzsignfoldertypeSendsignedtofolderowner") + b_ezsignfoldertype_sendsignedtofullgroup: Optional[StrictBool] = Field(default=None, description="Whether we send the signed Ezsigndocument to the Usergroup that has acces to all Ezsignfolders", alias="bEzsignfoldertypeSendsignedtofullgroup") + b_ezsignfoldertype_sendsignedtolimitedgroup: Optional[StrictBool] = Field(default=None, description="THIS FIELD WILL BE DELETED. Whether we send the signed Ezsigndocument to the Usergroup that has acces to only their own Ezsignfolders", alias="bEzsignfoldertypeSendsignedtolimitedgroup") + b_ezsignfoldertype_sendsignedtocolleague: StrictBool = Field(description="Whether we send the signed Ezsigndocument to the colleagues", alias="bEzsignfoldertypeSendsignedtocolleague") + b_ezsignfoldertype_sendsummarytodocumentowner: StrictBool = Field(description="Whether we send the summary to the Ezsigndocument's owner", alias="bEzsignfoldertypeSendsummarytodocumentowner") + b_ezsignfoldertype_sendsummarytofolderowner: StrictBool = Field(description="Whether we send the summary to the Ezsignfolder's owner", alias="bEzsignfoldertypeSendsummarytofolderowner") + b_ezsignfoldertype_sendsummarytofullgroup: Optional[StrictBool] = Field(default=None, description="Whether we send the summary to the Usergroup that has acces to all Ezsignfolders", alias="bEzsignfoldertypeSendsummarytofullgroup") + b_ezsignfoldertype_sendsummarytolimitedgroup: Optional[StrictBool] = Field(default=None, description="Whether we send the summary to the Usergroup that has acces to only their own Ezsignfolders", alias="bEzsignfoldertypeSendsummarytolimitedgroup") + b_ezsignfoldertype_sendsummarytocolleague: StrictBool = Field(description="Whether we send the summary to the colleagues", alias="bEzsignfoldertypeSendsummarytocolleague") + e_ezsignfoldertype_signeraccess: Optional[FieldEEzsignfoldertypeSigneraccess] = Field(default=None, alias="eEzsignfoldertypeSigneraccess") + b_ezsignfoldertype_isactive: StrictBool = Field(description="Whether the Ezsignfoldertype is active or not", alias="bEzsignfoldertypeIsactive") + a_fki_pdfalevel_id: Optional[List[Annotated[int, Field(le=255, strict=True, ge=0)]]] = Field(default=None, alias="a_fkiPdfalevelID") + a_obj_userlogintype: List[UserlogintypeResponse] = Field(alias="a_objUserlogintype") + a_obj_usergroup_all: Optional[List[UsergroupResponse]] = Field(default=None, alias="a_objUsergroupAll") + a_obj_usergroup_restricted: Optional[List[UsergroupResponse]] = Field(default=None, alias="a_objUsergroupRestricted") + a_obj_usergroup_template: Optional[List[UsergroupResponse]] = Field(default=None, alias="a_objUsergroupTemplate") + obj_audit: CommonAudit = Field(alias="objAudit") a_fki_user_id_signed: Optional[List[Annotated[int, Field(strict=True, ge=0)]]] = Field(default=None, alias="a_fkiUserIDSigned") a_fki_user_id_summary: Optional[List[Annotated[int, Field(strict=True, ge=0)]]] = Field(default=None, alias="a_fkiUserIDSummary") __properties: ClassVar[List[str]] = ["pkiEzsignfoldertypeID", "objEzsignfoldertypeName", "fkiBrandingID", "fkiBillingentityinternalID", "fkiEzsigntsarequirementID", "fkiFontIDAnnotation", "fkiFontIDFormfield", "fkiFontIDSignature", "fkiPdfalevelIDConvert", "eEzsignfoldertypeDocumentdependency", "sBrandingDescriptionX", "sBillingentityinternalDescriptionX", "sEzsigntsarequirementDescriptionX", "sEmailAddressSigned", "sEmailAddressSummary", "eEzsignfoldertypePdfarequirement", "eEzsignfoldertypePdfanoncompliantaction", "eEzsignfoldertypePrivacylevel", "iEzsignfoldertypeFontsizeannotation", "iEzsignfoldertypeFontsizeformfield", "iEzsignfoldertypeSendreminderfirstdays", "iEzsignfoldertypeSendreminderotherdays", "iEzsignfoldertypeArchivaldays", "eEzsignfoldertypeDisposal", "eEzsignfoldertypeCompletion", "iEzsignfoldertypeDisposaldays", "iEzsignfoldertypeDeadlinedays", "bEzsignfoldertypePrematurelyendautomatically", "iEzsignfoldertypePrematurelyendautomaticallydays", "bEzsignfoldertypeAutomaticsignature", "bEzsignfoldertypeDelegate", "bEzsignfoldertypeDiscussion", "bEzsignfoldertypeLogrecipientinproof", "bEzsignfoldertypeReassignezsignsigner", "bEzsignfoldertypeReassignuser", "bEzsignfoldertypeReassigngroup", "bEzsignfoldertypeSendsignedtoezsignsigner", "bEzsignfoldertypeSendsignedtouser", "bEzsignfoldertypeSendattachmentezsignsigner", "bEzsignfoldertypeSendproofezsignsigner", "bEzsignfoldertypeSendattachmentuser", "bEzsignfoldertypeSendproofuser", "bEzsignfoldertypeSendproofemail", "bEzsignfoldertypeAllowdownloadattachmentezsignsigner", "bEzsignfoldertypeAllowdownloadproofezsignsigner", "bEzsignfoldertypeSendproofreceivealldocument", "bEzsignfoldertypeSendsignedtodocumentowner", "bEzsignfoldertypeSendsignedtofolderowner", "bEzsignfoldertypeSendsignedtofullgroup", "bEzsignfoldertypeSendsignedtolimitedgroup", "bEzsignfoldertypeSendsignedtocolleague", "bEzsignfoldertypeSendsummarytodocumentowner", "bEzsignfoldertypeSendsummarytofolderowner", "bEzsignfoldertypeSendsummarytofullgroup", "bEzsignfoldertypeSendsummarytolimitedgroup", "bEzsignfoldertypeSendsummarytocolleague", "eEzsignfoldertypeSigneraccess", "bEzsignfoldertypeIsactive", "a_fkiPdfalevelID", "a_objUserlogintype", "a_objUsergroupAll", "a_objUsergroupRestricted", "a_objUsergroupTemplate", "objAudit", "a_fkiUserIDSigned", "a_fkiUserIDSummary"] + @field_validator('s_email_address_signed') + def s_email_address_signed_validate_regular_expression(cls, value): + """Validates the regular expression""" + if value is None: + return value + + if not re.match(r"^[\w.%+\-!#$%&\'*+\/=?^`{|}~]+@[a-zA-Z0-9.-]+\.[a-zA-Z]{2,20}$", value): + raise ValueError(r"must validate the regular expression /^[\w.%+\-!#$%&'*+\/=?^`{|}~]+@[a-zA-Z0-9.-]+\.[a-zA-Z]{2,20}$/") + return value + + @field_validator('s_email_address_summary') + def s_email_address_summary_validate_regular_expression(cls, value): + """Validates the regular expression""" + if value is None: + return value + + if not re.match(r"^[\w.%+\-!#$%&\'*+\/=?^`{|}~]+@[a-zA-Z0-9.-]+\.[a-zA-Z]{2,20}$", value): + raise ValueError(r"must validate the regular expression /^[\w.%+\-!#$%&'*+\/=?^`{|}~]+@[a-zA-Z0-9.-]+\.[a-zA-Z]{2,20}$/") + return value + model_config = ConfigDict( populate_by_name=True, validate_assignment=True, diff --git a/eZmaxApi/models/ezsignfoldertype_response_v4.py b/eZmaxApi/models/ezsignfoldertype_response_v4.py index 3dcc25c55..59ed1d34e 100644 --- a/eZmaxApi/models/ezsignfoldertype_response_v4.py +++ b/eZmaxApi/models/ezsignfoldertype_response_v4.py @@ -201,7 +201,80 @@ def to_dict(self) -> Dict[str, Any]: return _dict @classmethod - def from_dict(cls, obj: Dict[str, Any]) -> Optional[Self]: + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: """Create an instance of EzsignfoldertypeResponseV4 from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "pkiEzsignfoldertypeID": obj.get("pkiEzsignfoldertypeID"), + "objEzsignfoldertypeName": MultilingualEzsignfoldertypeName.from_dict(obj["objEzsignfoldertypeName"]) if obj.get("objEzsignfoldertypeName") is not None else None, + "fkiBrandingID": obj.get("fkiBrandingID"), + "fkiBillingentityinternalID": obj.get("fkiBillingentityinternalID"), + "fkiEzsigntsarequirementID": obj.get("fkiEzsigntsarequirementID"), + "fkiFontIDAnnotation": obj.get("fkiFontIDAnnotation"), + "fkiFontIDFormfield": obj.get("fkiFontIDFormfield"), + "fkiFontIDSignature": obj.get("fkiFontIDSignature"), + "fkiPdfalevelIDConvert": obj.get("fkiPdfalevelIDConvert"), + "eEzsignfoldertypeDocumentdependency": obj.get("eEzsignfoldertypeDocumentdependency"), + "sBrandingDescriptionX": obj.get("sBrandingDescriptionX"), + "sBillingentityinternalDescriptionX": obj.get("sBillingentityinternalDescriptionX"), + "sEzsigntsarequirementDescriptionX": obj.get("sEzsigntsarequirementDescriptionX"), + "sEmailAddressSigned": obj.get("sEmailAddressSigned"), + "sEmailAddressSummary": obj.get("sEmailAddressSummary"), + "eEzsignfoldertypePdfarequirement": obj.get("eEzsignfoldertypePdfarequirement"), + "eEzsignfoldertypePdfanoncompliantaction": obj.get("eEzsignfoldertypePdfanoncompliantaction"), + "eEzsignfoldertypePrivacylevel": obj.get("eEzsignfoldertypePrivacylevel"), + "iEzsignfoldertypeFontsizeannotation": obj.get("iEzsignfoldertypeFontsizeannotation"), + "iEzsignfoldertypeFontsizeformfield": obj.get("iEzsignfoldertypeFontsizeformfield"), + "iEzsignfoldertypeSendreminderfirstdays": obj.get("iEzsignfoldertypeSendreminderfirstdays"), + "iEzsignfoldertypeSendreminderotherdays": obj.get("iEzsignfoldertypeSendreminderotherdays"), + "iEzsignfoldertypeArchivaldays": obj.get("iEzsignfoldertypeArchivaldays"), + "eEzsignfoldertypeDisposal": obj.get("eEzsignfoldertypeDisposal"), + "eEzsignfoldertypeCompletion": obj.get("eEzsignfoldertypeCompletion"), + "iEzsignfoldertypeDisposaldays": obj.get("iEzsignfoldertypeDisposaldays"), + "iEzsignfoldertypeDeadlinedays": obj.get("iEzsignfoldertypeDeadlinedays"), + "bEzsignfoldertypePrematurelyendautomatically": obj.get("bEzsignfoldertypePrematurelyendautomatically"), + "iEzsignfoldertypePrematurelyendautomaticallydays": obj.get("iEzsignfoldertypePrematurelyendautomaticallydays"), + "bEzsignfoldertypeAutomaticsignature": obj.get("bEzsignfoldertypeAutomaticsignature"), + "bEzsignfoldertypeDelegate": obj.get("bEzsignfoldertypeDelegate"), + "bEzsignfoldertypeDiscussion": obj.get("bEzsignfoldertypeDiscussion"), + "bEzsignfoldertypeLogrecipientinproof": obj.get("bEzsignfoldertypeLogrecipientinproof"), + "bEzsignfoldertypeReassignezsignsigner": obj.get("bEzsignfoldertypeReassignezsignsigner"), + "bEzsignfoldertypeReassignuser": obj.get("bEzsignfoldertypeReassignuser"), + "bEzsignfoldertypeReassigngroup": obj.get("bEzsignfoldertypeReassigngroup"), + "bEzsignfoldertypeSendsignedtoezsignsigner": obj.get("bEzsignfoldertypeSendsignedtoezsignsigner"), + "bEzsignfoldertypeSendsignedtouser": obj.get("bEzsignfoldertypeSendsignedtouser"), + "bEzsignfoldertypeSendattachmentezsignsigner": obj.get("bEzsignfoldertypeSendattachmentezsignsigner"), + "bEzsignfoldertypeSendproofezsignsigner": obj.get("bEzsignfoldertypeSendproofezsignsigner"), + "bEzsignfoldertypeSendattachmentuser": obj.get("bEzsignfoldertypeSendattachmentuser"), + "bEzsignfoldertypeSendproofuser": obj.get("bEzsignfoldertypeSendproofuser"), + "bEzsignfoldertypeSendproofemail": obj.get("bEzsignfoldertypeSendproofemail"), + "bEzsignfoldertypeAllowdownloadattachmentezsignsigner": obj.get("bEzsignfoldertypeAllowdownloadattachmentezsignsigner"), + "bEzsignfoldertypeAllowdownloadproofezsignsigner": obj.get("bEzsignfoldertypeAllowdownloadproofezsignsigner"), + "bEzsignfoldertypeSendproofreceivealldocument": obj.get("bEzsignfoldertypeSendproofreceivealldocument"), + "bEzsignfoldertypeSendsignedtodocumentowner": obj.get("bEzsignfoldertypeSendsignedtodocumentowner"), + "bEzsignfoldertypeSendsignedtofolderowner": obj.get("bEzsignfoldertypeSendsignedtofolderowner"), + "bEzsignfoldertypeSendsignedtofullgroup": obj.get("bEzsignfoldertypeSendsignedtofullgroup"), + "bEzsignfoldertypeSendsignedtolimitedgroup": obj.get("bEzsignfoldertypeSendsignedtolimitedgroup"), + "bEzsignfoldertypeSendsignedtocolleague": obj.get("bEzsignfoldertypeSendsignedtocolleague"), + "bEzsignfoldertypeSendsummarytodocumentowner": obj.get("bEzsignfoldertypeSendsummarytodocumentowner"), + "bEzsignfoldertypeSendsummarytofolderowner": obj.get("bEzsignfoldertypeSendsummarytofolderowner"), + "bEzsignfoldertypeSendsummarytofullgroup": obj.get("bEzsignfoldertypeSendsummarytofullgroup"), + "bEzsignfoldertypeSendsummarytolimitedgroup": obj.get("bEzsignfoldertypeSendsummarytolimitedgroup"), + "bEzsignfoldertypeSendsummarytocolleague": obj.get("bEzsignfoldertypeSendsummarytocolleague"), + "eEzsignfoldertypeSigneraccess": obj.get("eEzsignfoldertypeSigneraccess"), + "bEzsignfoldertypeIsactive": obj.get("bEzsignfoldertypeIsactive"), + "a_fkiPdfalevelID": obj.get("a_fkiPdfalevelID"), + "a_objUserlogintype": [UserlogintypeResponse.from_dict(_item) for _item in obj["a_objUserlogintype"]] if obj.get("a_objUserlogintype") is not None else None, + "a_objUsergroupAll": [UsergroupResponse.from_dict(_item) for _item in obj["a_objUsergroupAll"]] if obj.get("a_objUsergroupAll") is not None else None, + "a_objUsergroupRestricted": [UsergroupResponse.from_dict(_item) for _item in obj["a_objUsergroupRestricted"]] if obj.get("a_objUsergroupRestricted") is not None else None, + "a_objUsergroupTemplate": [UsergroupResponse.from_dict(_item) for _item in obj["a_objUsergroupTemplate"]] if obj.get("a_objUsergroupTemplate") is not None else None, + "objAudit": CommonAudit.from_dict(obj["objAudit"]) if obj.get("objAudit") is not None else None + }) + return _obj diff --git a/eZmaxApi/models/ezsignformfield_request.py b/eZmaxApi/models/ezsignformfield_request.py index 71b2a5122..489ac6321 100644 --- a/eZmaxApi/models/ezsignformfield_request.py +++ b/eZmaxApi/models/ezsignformfield_request.py @@ -92,7 +92,30 @@ def to_dict(self) -> Dict[str, Any]: return _dict @classmethod - def from_dict(cls, obj: Dict[str, Any]) -> Optional[Self]: + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: """Create an instance of EzsignformfieldRequest from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "pkiEzsignformfieldID": obj.get("pkiEzsignformfieldID"), + "iEzsignpagePagenumber": obj.get("iEzsignpagePagenumber"), + "sEzsignformfieldLabel": obj.get("sEzsignformfieldLabel"), + "sEzsignformfieldValue": obj.get("sEzsignformfieldValue"), + "iEzsignformfieldX": obj.get("iEzsignformfieldX"), + "iEzsignformfieldY": obj.get("iEzsignformfieldY"), + "iEzsignformfieldWidth": obj.get("iEzsignformfieldWidth"), + "iEzsignformfieldHeight": obj.get("iEzsignformfieldHeight"), + "bEzsignformfieldAutocomplete": obj.get("bEzsignformfieldAutocomplete"), + "bEzsignformfieldSelected": obj.get("bEzsignformfieldSelected"), + "sEzsignformfieldEnteredvalue": obj.get("sEzsignformfieldEnteredvalue"), + "eEzsignformfieldDependencyrequirement": obj.get("eEzsignformfieldDependencyrequirement"), + "eEzsignformfieldHorizontalalignment": obj.get("eEzsignformfieldHorizontalalignment"), + "objTextstylestatic": TextstylestaticRequestCompound.from_dict(obj["objTextstylestatic"]) if obj.get("objTextstylestatic") is not None else None + }) + return _obj diff --git a/eZmaxApi/models/ezsignformfield_request_compound.py b/eZmaxApi/models/ezsignformfield_request_compound.py index 6b969389a..c85fc06c0 100644 --- a/eZmaxApi/models/ezsignformfield_request_compound.py +++ b/eZmaxApi/models/ezsignformfield_request_compound.py @@ -18,21 +18,35 @@ import re # noqa: F401 import json -from pydantic import ConfigDict, Field +from pydantic import BaseModel, ConfigDict, Field, StrictBool, StrictStr from typing import Any, ClassVar, Dict, List, Optional +from typing_extensions import Annotated from eZmaxApi.models.enum_horizontalalignment import EnumHorizontalalignment -from eZmaxApi.models.ezsignelementdependency_request import EzsignelementdependencyRequest -from eZmaxApi.models.ezsignformfield_request import EzsignformfieldRequest +from eZmaxApi.models.ezsignelementdependency_request_compound import EzsignelementdependencyRequestCompound from eZmaxApi.models.field_e_ezsignformfield_dependencyrequirement import FieldEEzsignformfieldDependencyrequirement from eZmaxApi.models.textstylestatic_request_compound import TextstylestaticRequestCompound from typing import Optional, Set from typing_extensions import Self -class EzsignformfieldRequestCompound(EzsignformfieldRequest): +class EzsignformfieldRequestCompound(BaseModel): """ An Ezsignformfield Object and children to create a complete structure """ # noqa: E501 - a_obj_ezsignelementdependency: Optional[List[EzsignelementdependencyRequest]] = Field(default=None, alias="a_objEzsignelementdependency") + pki_ezsignformfield_id: Optional[Annotated[int, Field(strict=True, ge=0)]] = Field(default=None, description="The unique ID of the Ezsignformfield", alias="pkiEzsignformfieldID") + i_ezsignpage_pagenumber: Annotated[int, Field(strict=True, ge=1)] = Field(description="The page number in the Ezsigndocument", alias="iEzsignpagePagenumber") + s_ezsignformfield_label: StrictStr = Field(description="The Label for the Ezsignformfield", alias="sEzsignformfieldLabel") + s_ezsignformfield_value: Optional[StrictStr] = Field(default=None, description="The value for the Ezsignformfield This can only be set if eEzsignformfieldgroupType is Checkbox or Radio", alias="sEzsignformfieldValue") + i_ezsignformfield_x: Annotated[int, Field(strict=True, ge=0)] = Field(description="The X coordinate (Horizontal) where to put the Ezsignformfield on the Ezsignpage. Coordinate is calculated at 100dpi (dot per inch). So for example, if you want to put the Ezsignformfield 2 inches from the left border of the page, you would use \"200\" for the X coordinate.", alias="iEzsignformfieldX") + i_ezsignformfield_y: Annotated[int, Field(strict=True, ge=0)] = Field(description="The Y coordinate (Vertical) where to put the Ezsignformfield on the Ezsignpage. Coordinate is calculated at 100dpi (dot per inch). So for example, if you want to put the Ezsignformfield 3 inches from the top border of the page, you would use \"300\" for the Y coordinate.", alias="iEzsignformfieldY") + i_ezsignformfield_width: Annotated[int, Field(strict=True, ge=0)] = Field(description="The Width of the Ezsignformfield in pixels calculated at 100 DPI", alias="iEzsignformfieldWidth") + i_ezsignformfield_height: Annotated[int, Field(strict=True, ge=0)] = Field(description="The Height of the Ezsignformfield in pixels calculated at 100 DPI ", alias="iEzsignformfieldHeight") + b_ezsignformfield_autocomplete: Optional[StrictBool] = Field(default=None, description="Whether the Ezsignformfield allows the use of the autocomplete of the browser. This can only be set if eEzsignformfieldgroupType is **Text**", alias="bEzsignformfieldAutocomplete") + b_ezsignformfield_selected: Optional[StrictBool] = Field(default=None, description="Whether the Ezsignformfield is selected or not by default. This can only be set if eEzsignformfieldgroupType is **Checkbox** or **Radio**", alias="bEzsignformfieldSelected") + s_ezsignformfield_enteredvalue: Optional[StrictStr] = Field(default=None, description="This is the value enterred for the Ezsignformfield This can only be set if eEzsignformfieldgroupType is **Dropdown**, **Text** or **Textarea**", alias="sEzsignformfieldEnteredvalue") + e_ezsignformfield_dependencyrequirement: Optional[FieldEEzsignformfieldDependencyrequirement] = Field(default=None, alias="eEzsignformfieldDependencyrequirement") + e_ezsignformfield_horizontalalignment: Optional[EnumHorizontalalignment] = Field(default=None, alias="eEzsignformfieldHorizontalalignment") + obj_textstylestatic: Optional[TextstylestaticRequestCompound] = Field(default=None, alias="objTextstylestatic") + a_obj_ezsignelementdependency: Optional[List[EzsignelementdependencyRequestCompound]] = Field(default=None, alias="a_objEzsignelementdependency") __properties: ClassVar[List[str]] = ["pkiEzsignformfieldID", "iEzsignpagePagenumber", "sEzsignformfieldLabel", "sEzsignformfieldValue", "iEzsignformfieldX", "iEzsignformfieldY", "iEzsignformfieldWidth", "iEzsignformfieldHeight", "bEzsignformfieldAutocomplete", "bEzsignformfieldSelected", "sEzsignformfieldEnteredvalue", "eEzsignformfieldDependencyrequirement", "eEzsignformfieldHorizontalalignment", "objTextstylestatic", "a_objEzsignelementdependency"] model_config = ConfigDict( @@ -110,7 +124,7 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: "eEzsignformfieldDependencyrequirement": obj.get("eEzsignformfieldDependencyrequirement"), "eEzsignformfieldHorizontalalignment": obj.get("eEzsignformfieldHorizontalalignment"), "objTextstylestatic": TextstylestaticRequestCompound.from_dict(obj["objTextstylestatic"]) if obj.get("objTextstylestatic") is not None else None, - "a_objEzsignelementdependency": [EzsignelementdependencyRequest.from_dict(_item) for _item in obj["a_objEzsignelementdependency"]] if obj.get("a_objEzsignelementdependency") is not None else None + "a_objEzsignelementdependency": [EzsignelementdependencyRequestCompound.from_dict(_item) for _item in obj["a_objEzsignelementdependency"]] if obj.get("a_objEzsignelementdependency") is not None else None }) return _obj diff --git a/eZmaxApi/models/ezsignformfield_response.py b/eZmaxApi/models/ezsignformfield_response.py index aa0a4f78d..0cd1286dd 100644 --- a/eZmaxApi/models/ezsignformfield_response.py +++ b/eZmaxApi/models/ezsignformfield_response.py @@ -92,7 +92,30 @@ def to_dict(self) -> Dict[str, Any]: return _dict @classmethod - def from_dict(cls, obj: Dict[str, Any]) -> Optional[Self]: + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: """Create an instance of EzsignformfieldResponse from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "pkiEzsignformfieldID": obj.get("pkiEzsignformfieldID"), + "iEzsignpagePagenumber": obj.get("iEzsignpagePagenumber"), + "sEzsignformfieldLabel": obj.get("sEzsignformfieldLabel"), + "sEzsignformfieldValue": obj.get("sEzsignformfieldValue"), + "iEzsignformfieldX": obj.get("iEzsignformfieldX"), + "iEzsignformfieldY": obj.get("iEzsignformfieldY"), + "iEzsignformfieldWidth": obj.get("iEzsignformfieldWidth"), + "iEzsignformfieldHeight": obj.get("iEzsignformfieldHeight"), + "bEzsignformfieldAutocomplete": obj.get("bEzsignformfieldAutocomplete"), + "bEzsignformfieldSelected": obj.get("bEzsignformfieldSelected"), + "sEzsignformfieldEnteredvalue": obj.get("sEzsignformfieldEnteredvalue"), + "eEzsignformfieldDependencyrequirement": obj.get("eEzsignformfieldDependencyrequirement"), + "eEzsignformfieldHorizontalalignment": obj.get("eEzsignformfieldHorizontalalignment"), + "objTextstylestatic": TextstylestaticResponseCompound.from_dict(obj["objTextstylestatic"]) if obj.get("objTextstylestatic") is not None else None + }) + return _obj diff --git a/eZmaxApi/models/ezsignformfield_response_compound.py b/eZmaxApi/models/ezsignformfield_response_compound.py index 6cc72d880..77b68de92 100644 --- a/eZmaxApi/models/ezsignformfield_response_compound.py +++ b/eZmaxApi/models/ezsignformfield_response_compound.py @@ -18,21 +18,35 @@ import re # noqa: F401 import json -from pydantic import ConfigDict, Field +from pydantic import BaseModel, ConfigDict, Field, StrictBool, StrictStr from typing import Any, ClassVar, Dict, List, Optional +from typing_extensions import Annotated from eZmaxApi.models.enum_horizontalalignment import EnumHorizontalalignment -from eZmaxApi.models.ezsignelementdependency_response import EzsignelementdependencyResponse -from eZmaxApi.models.ezsignformfield_response import EzsignformfieldResponse +from eZmaxApi.models.ezsignelementdependency_response_compound import EzsignelementdependencyResponseCompound from eZmaxApi.models.field_e_ezsignformfield_dependencyrequirement import FieldEEzsignformfieldDependencyrequirement from eZmaxApi.models.textstylestatic_response_compound import TextstylestaticResponseCompound from typing import Optional, Set from typing_extensions import Self -class EzsignformfieldResponseCompound(EzsignformfieldResponse): +class EzsignformfieldResponseCompound(BaseModel): """ An Ezsignformfield Object and children to create a complete structure """ # noqa: E501 - a_obj_ezsignelementdependency: Optional[List[EzsignelementdependencyResponse]] = Field(default=None, alias="a_objEzsignelementdependency") + pki_ezsignformfield_id: Annotated[int, Field(strict=True, ge=0)] = Field(description="The unique ID of the Ezsignformfield", alias="pkiEzsignformfieldID") + i_ezsignpage_pagenumber: Annotated[int, Field(strict=True, ge=1)] = Field(description="The page number in the Ezsigndocument", alias="iEzsignpagePagenumber") + s_ezsignformfield_label: StrictStr = Field(description="The Label for the Ezsignformfield", alias="sEzsignformfieldLabel") + s_ezsignformfield_value: Optional[StrictStr] = Field(default=None, description="The value for the Ezsignformfield This can only be set if eEzsignformfieldgroupType is Checkbox or Radio", alias="sEzsignformfieldValue") + i_ezsignformfield_x: Annotated[int, Field(strict=True, ge=0)] = Field(description="The X coordinate (Horizontal) where to put the Ezsignformfield on the Ezsignpage. Coordinate is calculated at 100dpi (dot per inch). So for example, if you want to put the Ezsignformfield 2 inches from the left border of the page, you would use \"200\" for the X coordinate.", alias="iEzsignformfieldX") + i_ezsignformfield_y: Annotated[int, Field(strict=True, ge=0)] = Field(description="The Y coordinate (Vertical) where to put the Ezsignformfield on the Ezsignpage. Coordinate is calculated at 100dpi (dot per inch). So for example, if you want to put the Ezsignformfield 3 inches from the top border of the page, you would use \"300\" for the Y coordinate.", alias="iEzsignformfieldY") + i_ezsignformfield_width: Annotated[int, Field(strict=True, ge=0)] = Field(description="The Width of the Ezsignformfield in pixels calculated at 100 DPI", alias="iEzsignformfieldWidth") + i_ezsignformfield_height: Annotated[int, Field(strict=True, ge=0)] = Field(description="The Height of the Ezsignformfield in pixels calculated at 100 DPI ", alias="iEzsignformfieldHeight") + b_ezsignformfield_autocomplete: Optional[StrictBool] = Field(default=None, description="Whether the Ezsignformfield allows the use of the autocomplete of the browser. This can only be set if eEzsignformfieldgroupType is **Text**", alias="bEzsignformfieldAutocomplete") + b_ezsignformfield_selected: Optional[StrictBool] = Field(default=None, description="Whether the Ezsignformfield is selected or not by default. This can only be set if eEzsignformfieldgroupType is **Checkbox** or **Radio**", alias="bEzsignformfieldSelected") + s_ezsignformfield_enteredvalue: Optional[StrictStr] = Field(default=None, description="This is the value enterred for the Ezsignformfield This can only be set if eEzsignformfieldgroupType is **Dropdown**, **Text** or **Textarea**", alias="sEzsignformfieldEnteredvalue") + e_ezsignformfield_dependencyrequirement: Optional[FieldEEzsignformfieldDependencyrequirement] = Field(default=None, alias="eEzsignformfieldDependencyrequirement") + e_ezsignformfield_horizontalalignment: Optional[EnumHorizontalalignment] = Field(default=None, alias="eEzsignformfieldHorizontalalignment") + obj_textstylestatic: Optional[TextstylestaticResponseCompound] = Field(default=None, alias="objTextstylestatic") + a_obj_ezsignelementdependency: Optional[List[EzsignelementdependencyResponseCompound]] = Field(default=None, alias="a_objEzsignelementdependency") __properties: ClassVar[List[str]] = ["pkiEzsignformfieldID", "iEzsignpagePagenumber", "sEzsignformfieldLabel", "sEzsignformfieldValue", "iEzsignformfieldX", "iEzsignformfieldY", "iEzsignformfieldWidth", "iEzsignformfieldHeight", "bEzsignformfieldAutocomplete", "bEzsignformfieldSelected", "sEzsignformfieldEnteredvalue", "eEzsignformfieldDependencyrequirement", "eEzsignformfieldHorizontalalignment", "objTextstylestatic", "a_objEzsignelementdependency"] model_config = ConfigDict( @@ -110,7 +124,7 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: "eEzsignformfieldDependencyrequirement": obj.get("eEzsignformfieldDependencyrequirement"), "eEzsignformfieldHorizontalalignment": obj.get("eEzsignformfieldHorizontalalignment"), "objTextstylestatic": TextstylestaticResponseCompound.from_dict(obj["objTextstylestatic"]) if obj.get("objTextstylestatic") is not None else None, - "a_objEzsignelementdependency": [EzsignelementdependencyResponse.from_dict(_item) for _item in obj["a_objEzsignelementdependency"]] if obj.get("a_objEzsignelementdependency") is not None else None + "a_objEzsignelementdependency": [EzsignelementdependencyResponseCompound.from_dict(_item) for _item in obj["a_objEzsignelementdependency"]] if obj.get("a_objEzsignelementdependency") is not None else None }) return _obj diff --git a/eZmaxApi/models/ezsignformfieldgroup_create_object_v1_response.py b/eZmaxApi/models/ezsignformfieldgroup_create_object_v1_response.py index dd6b8eb6d..d9abf7010 100644 --- a/eZmaxApi/models/ezsignformfieldgroup_create_object_v1_response.py +++ b/eZmaxApi/models/ezsignformfieldgroup_create_object_v1_response.py @@ -18,19 +18,20 @@ import re # noqa: F401 import json -from pydantic import ConfigDict, Field -from typing import Any, ClassVar, Dict, List -from eZmaxApi.models.common_response import CommonResponse +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List, Optional from eZmaxApi.models.common_response_obj_debug import CommonResponseObjDebug from eZmaxApi.models.common_response_obj_debug_payload import CommonResponseObjDebugPayload from eZmaxApi.models.ezsignformfieldgroup_create_object_v1_response_m_payload import EzsignformfieldgroupCreateObjectV1ResponseMPayload from typing import Optional, Set from typing_extensions import Self -class EzsignformfieldgroupCreateObjectV1Response(CommonResponse): +class EzsignformfieldgroupCreateObjectV1Response(BaseModel): """ Response for POST /1/object/ezsignformfieldgroup """ # noqa: E501 + obj_debug_payload: CommonResponseObjDebugPayload = Field(alias="objDebugPayload") + obj_debug: Optional[CommonResponseObjDebug] = Field(default=None, alias="objDebug") m_payload: EzsignformfieldgroupCreateObjectV1ResponseMPayload = Field(alias="mPayload") __properties: ClassVar[List[str]] = ["objDebugPayload", "objDebug", "mPayload"] diff --git a/eZmaxApi/models/ezsignformfieldgroup_delete_object_v1_response.py b/eZmaxApi/models/ezsignformfieldgroup_delete_object_v1_response.py index 03ae46fb6..02d9f664a 100644 --- a/eZmaxApi/models/ezsignformfieldgroup_delete_object_v1_response.py +++ b/eZmaxApi/models/ezsignformfieldgroup_delete_object_v1_response.py @@ -18,18 +18,19 @@ import re # noqa: F401 import json -from pydantic import ConfigDict -from typing import Any, ClassVar, Dict, List -from eZmaxApi.models.common_response import CommonResponse +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List, Optional from eZmaxApi.models.common_response_obj_debug import CommonResponseObjDebug from eZmaxApi.models.common_response_obj_debug_payload import CommonResponseObjDebugPayload from typing import Optional, Set from typing_extensions import Self -class EzsignformfieldgroupDeleteObjectV1Response(CommonResponse): +class EzsignformfieldgroupDeleteObjectV1Response(BaseModel): """ Response for DELETE /1/object/ezsignformfieldgroup/{pkiEzsignformfieldgroupID} """ # noqa: E501 + obj_debug_payload: CommonResponseObjDebugPayload = Field(alias="objDebugPayload") + obj_debug: Optional[CommonResponseObjDebug] = Field(default=None, alias="objDebug") __properties: ClassVar[List[str]] = ["objDebugPayload", "objDebug"] model_config = ConfigDict( diff --git a/eZmaxApi/models/ezsignformfieldgroup_edit_object_v1_response.py b/eZmaxApi/models/ezsignformfieldgroup_edit_object_v1_response.py index b4817a11a..95f60a6ab 100644 --- a/eZmaxApi/models/ezsignformfieldgroup_edit_object_v1_response.py +++ b/eZmaxApi/models/ezsignformfieldgroup_edit_object_v1_response.py @@ -18,18 +18,19 @@ import re # noqa: F401 import json -from pydantic import ConfigDict -from typing import Any, ClassVar, Dict, List -from eZmaxApi.models.common_response import CommonResponse +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List, Optional from eZmaxApi.models.common_response_obj_debug import CommonResponseObjDebug from eZmaxApi.models.common_response_obj_debug_payload import CommonResponseObjDebugPayload from typing import Optional, Set from typing_extensions import Self -class EzsignformfieldgroupEditObjectV1Response(CommonResponse): +class EzsignformfieldgroupEditObjectV1Response(BaseModel): """ Response for PUT /1/object/ezsignformfieldgroup/{pkiEzsignfoldersignerassociationID} """ # noqa: E501 + obj_debug_payload: CommonResponseObjDebugPayload = Field(alias="objDebugPayload") + obj_debug: Optional[CommonResponseObjDebug] = Field(default=None, alias="objDebug") __properties: ClassVar[List[str]] = ["objDebugPayload", "objDebug"] model_config = ConfigDict( diff --git a/eZmaxApi/models/ezsignformfieldgroup_get_object_v2_response.py b/eZmaxApi/models/ezsignformfieldgroup_get_object_v2_response.py index ba4a46dbf..7291e2ca0 100644 --- a/eZmaxApi/models/ezsignformfieldgroup_get_object_v2_response.py +++ b/eZmaxApi/models/ezsignformfieldgroup_get_object_v2_response.py @@ -18,19 +18,20 @@ import re # noqa: F401 import json -from pydantic import ConfigDict, Field -from typing import Any, ClassVar, Dict, List -from eZmaxApi.models.common_response import CommonResponse +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List, Optional from eZmaxApi.models.common_response_obj_debug import CommonResponseObjDebug from eZmaxApi.models.common_response_obj_debug_payload import CommonResponseObjDebugPayload from eZmaxApi.models.ezsignformfieldgroup_get_object_v2_response_m_payload import EzsignformfieldgroupGetObjectV2ResponseMPayload from typing import Optional, Set from typing_extensions import Self -class EzsignformfieldgroupGetObjectV2Response(CommonResponse): +class EzsignformfieldgroupGetObjectV2Response(BaseModel): """ Response for GET /2/object/ezsignformfieldgroup/{pkiEzsignformfieldgroupID} """ # noqa: E501 + obj_debug_payload: CommonResponseObjDebugPayload = Field(alias="objDebugPayload") + obj_debug: Optional[CommonResponseObjDebug] = Field(default=None, alias="objDebug") m_payload: EzsignformfieldgroupGetObjectV2ResponseMPayload = Field(alias="mPayload") __properties: ClassVar[List[str]] = ["objDebugPayload", "objDebug", "mPayload"] diff --git a/eZmaxApi/models/ezsignformfieldgroup_request.py b/eZmaxApi/models/ezsignformfieldgroup_request.py index 62da6a415..4c5e17fc1 100644 --- a/eZmaxApi/models/ezsignformfieldgroup_request.py +++ b/eZmaxApi/models/ezsignformfieldgroup_request.py @@ -103,7 +103,33 @@ def to_dict(self) -> Dict[str, Any]: return _dict @classmethod - def from_dict(cls, obj: Dict[str, Any]) -> Optional[Self]: + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: """Create an instance of EzsignformfieldgroupRequest from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "pkiEzsignformfieldgroupID": obj.get("pkiEzsignformfieldgroupID"), + "fkiEzsigndocumentID": obj.get("fkiEzsigndocumentID"), + "eEzsignformfieldgroupType": obj.get("eEzsignformfieldgroupType"), + "eEzsignformfieldgroupSignerrequirement": obj.get("eEzsignformfieldgroupSignerrequirement"), + "sEzsignformfieldgroupLabel": obj.get("sEzsignformfieldgroupLabel"), + "iEzsignformfieldgroupStep": obj.get("iEzsignformfieldgroupStep"), + "sEzsignformfieldgroupDefaultvalue": obj.get("sEzsignformfieldgroupDefaultvalue"), + "iEzsignformfieldgroupFilledmin": obj.get("iEzsignformfieldgroupFilledmin"), + "iEzsignformfieldgroupFilledmax": obj.get("iEzsignformfieldgroupFilledmax"), + "bEzsignformfieldgroupReadonly": obj.get("bEzsignformfieldgroupReadonly"), + "iEzsignformfieldgroupMaxlength": obj.get("iEzsignformfieldgroupMaxlength"), + "bEzsignformfieldgroupEncrypted": obj.get("bEzsignformfieldgroupEncrypted"), + "sEzsignformfieldgroupRegexp": obj.get("sEzsignformfieldgroupRegexp"), + "sEzsignformfieldgroupTextvalidationcustommessage": obj.get("sEzsignformfieldgroupTextvalidationcustommessage"), + "tEzsignformfieldgroupTooltip": obj.get("tEzsignformfieldgroupTooltip"), + "eEzsignformfieldgroupTooltipposition": obj.get("eEzsignformfieldgroupTooltipposition"), + "eEzsignformfieldgroupTextvalidation": obj.get("eEzsignformfieldgroupTextvalidation") + }) + return _obj diff --git a/eZmaxApi/models/ezsignformfieldgroup_request_compound.py b/eZmaxApi/models/ezsignformfieldgroup_request_compound.py index 65c717336..ea854ed26 100644 --- a/eZmaxApi/models/ezsignformfieldgroup_request_compound.py +++ b/eZmaxApi/models/ezsignformfieldgroup_request_compound.py @@ -18,28 +18,55 @@ import re # noqa: F401 import json -from pydantic import ConfigDict, Field +from pydantic import BaseModel, ConfigDict, Field, StrictBool, StrictStr, field_validator from typing import Any, ClassVar, Dict, List, Optional -from eZmaxApi.models.custom_dropdown_element_request import CustomDropdownElementRequest +from typing_extensions import Annotated +from eZmaxApi.models.custom_dropdown_element_request_compound import CustomDropdownElementRequestCompound from eZmaxApi.models.enum_textvalidation import EnumTextvalidation from eZmaxApi.models.ezsignformfield_request_compound import EzsignformfieldRequestCompound -from eZmaxApi.models.ezsignformfieldgroup_request import EzsignformfieldgroupRequest -from eZmaxApi.models.ezsignformfieldgroupsigner_request import EzsignformfieldgroupsignerRequest +from eZmaxApi.models.ezsignformfieldgroupsigner_request_compound import EzsignformfieldgroupsignerRequestCompound from eZmaxApi.models.field_e_ezsignformfieldgroup_signerrequirement import FieldEEzsignformfieldgroupSignerrequirement from eZmaxApi.models.field_e_ezsignformfieldgroup_tooltipposition import FieldEEzsignformfieldgroupTooltipposition from eZmaxApi.models.field_e_ezsignformfieldgroup_type import FieldEEzsignformfieldgroupType from typing import Optional, Set from typing_extensions import Self -class EzsignformfieldgroupRequestCompound(EzsignformfieldgroupRequest): +class EzsignformfieldgroupRequestCompound(BaseModel): """ An Ezsignformfieldgroup Object and children to create a complete structure """ # noqa: E501 - a_obj_ezsignformfieldgroupsigner: List[EzsignformfieldgroupsignerRequest] = Field(alias="a_objEzsignformfieldgroupsigner") - a_obj_dropdown_element: Optional[List[CustomDropdownElementRequest]] = Field(default=None, alias="a_objDropdownElement") + pki_ezsignformfieldgroup_id: Optional[Annotated[int, Field(strict=True, ge=0)]] = Field(default=None, description="The unique ID of the Ezsignformfieldgroup", alias="pkiEzsignformfieldgroupID") + fki_ezsigndocument_id: Annotated[int, Field(strict=True, ge=0)] = Field(description="The unique ID of the Ezsigndocument", alias="fkiEzsigndocumentID") + e_ezsignformfieldgroup_type: FieldEEzsignformfieldgroupType = Field(alias="eEzsignformfieldgroupType") + e_ezsignformfieldgroup_signerrequirement: Optional[FieldEEzsignformfieldgroupSignerrequirement] = Field(default=None, alias="eEzsignformfieldgroupSignerrequirement") + s_ezsignformfieldgroup_label: Annotated[str, Field(min_length=1, strict=True, max_length=50)] = Field(description="The Label for the Ezsignformfieldgroup", alias="sEzsignformfieldgroupLabel") + i_ezsignformfieldgroup_step: Annotated[int, Field(strict=True, ge=1)] = Field(description="The step when the Ezsignsigner will be invited to fill the form fields", alias="iEzsignformfieldgroupStep") + s_ezsignformfieldgroup_defaultvalue: Optional[StrictStr] = Field(default=None, description="The default value for the Ezsignformfieldgroup You can use the codes below and they will be replaced at signature time. | Code | Description | Example | | ------------------------- | ------------ | ------------ | | {sUserFirstname} | The first name of the contact | John | | {sUserLastname} | The last name of the contact | Doe | | {sUserJobtitle} | The job title | Sales Representative | | {sCompany} | Company name | eZmax Solutions Inc. | | {sEmailAddress} | The email address | email@example.com | | {sPhoneE164} | A phone number in E.164 Format | +15149901516 | | {sPhoneE164Cell} | A phone number in E.164 Format | +15149901516 |", alias="sEzsignformfieldgroupDefaultvalue") + i_ezsignformfieldgroup_filledmin: Annotated[int, Field(strict=True, ge=0)] = Field(description="The minimum number of Ezsignformfield that must be filled in the Ezsignformfieldgroup", alias="iEzsignformfieldgroupFilledmin") + i_ezsignformfieldgroup_filledmax: Annotated[int, Field(strict=True, ge=0)] = Field(description="The maximum number of Ezsignformfield that must be filled in the Ezsignformfieldgroup", alias="iEzsignformfieldgroupFilledmax") + b_ezsignformfieldgroup_readonly: StrictBool = Field(description="Whether the Ezsignformfieldgroup is read only or not.", alias="bEzsignformfieldgroupReadonly") + i_ezsignformfieldgroup_maxlength: Optional[Annotated[int, Field(le=65535, strict=True, ge=0)]] = Field(default=None, description="The maximum length for the value in the Ezsignformfieldgroup This can only be set if eEzsignformfieldgroupType is **Text** or **Textarea**", alias="iEzsignformfieldgroupMaxlength") + b_ezsignformfieldgroup_encrypted: Optional[StrictBool] = Field(default=None, description="Whether the Ezsignformfieldgroup is encrypted in the database or not. Encrypted values are not displayed on the Ezsigndocument. This can only be set if eEzsignformfieldgroupType is **Text** or **Textarea**", alias="bEzsignformfieldgroupEncrypted") + s_ezsignformfieldgroup_regexp: Optional[Annotated[str, Field(strict=True)]] = Field(default=None, description="A regular expression to indicate what values are acceptable for the Ezsignformfieldgroup. This can only be set if eEzsignformfieldgroupType is **Text** or **Textarea**", alias="sEzsignformfieldgroupRegexp") + s_ezsignformfieldgroup_textvalidationcustommessage: Optional[Annotated[str, Field(min_length=0, strict=True, max_length=50)]] = Field(default=None, description="Description of validation rule. Show by signatory.", alias="sEzsignformfieldgroupTextvalidationcustommessage") + t_ezsignformfieldgroup_tooltip: Optional[StrictStr] = Field(default=None, description="A tooltip that will be presented to Ezsignsigner about the Ezsignformfieldgroup", alias="tEzsignformfieldgroupTooltip") + e_ezsignformfieldgroup_tooltipposition: Optional[FieldEEzsignformfieldgroupTooltipposition] = Field(default=None, alias="eEzsignformfieldgroupTooltipposition") + e_ezsignformfieldgroup_textvalidation: Optional[EnumTextvalidation] = Field(default=None, alias="eEzsignformfieldgroupTextvalidation") + a_obj_ezsignformfieldgroupsigner: List[EzsignformfieldgroupsignerRequestCompound] = Field(alias="a_objEzsignformfieldgroupsigner") + a_obj_dropdown_element: Optional[List[CustomDropdownElementRequestCompound]] = Field(default=None, alias="a_objDropdownElement") a_obj_ezsignformfield: List[EzsignformfieldRequestCompound] = Field(alias="a_objEzsignformfield") __properties: ClassVar[List[str]] = ["pkiEzsignformfieldgroupID", "fkiEzsigndocumentID", "eEzsignformfieldgroupType", "eEzsignformfieldgroupSignerrequirement", "sEzsignformfieldgroupLabel", "iEzsignformfieldgroupStep", "sEzsignformfieldgroupDefaultvalue", "iEzsignformfieldgroupFilledmin", "iEzsignformfieldgroupFilledmax", "bEzsignformfieldgroupReadonly", "iEzsignformfieldgroupMaxlength", "bEzsignformfieldgroupEncrypted", "sEzsignformfieldgroupRegexp", "sEzsignformfieldgroupTextvalidationcustommessage", "tEzsignformfieldgroupTooltip", "eEzsignformfieldgroupTooltipposition", "eEzsignformfieldgroupTextvalidation", "a_objEzsignformfieldgroupsigner", "a_objDropdownElement", "a_objEzsignformfield"] + @field_validator('s_ezsignformfieldgroup_regexp') + def s_ezsignformfieldgroup_regexp_validate_regular_expression(cls, value): + """Validates the regular expression""" + if value is None: + return value + + if not re.match(r"^\^.*\$$|^$", value): + raise ValueError(r"must validate the regular expression /^\^.*\$$|^$/") + return value + model_config = ConfigDict( populate_by_name=True, validate_assignment=True, @@ -103,7 +130,36 @@ def to_dict(self) -> Dict[str, Any]: return _dict @classmethod - def from_dict(cls, obj: Dict[str, Any]) -> Optional[Self]: + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: """Create an instance of EzsignformfieldgroupRequestCompound from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "pkiEzsignformfieldgroupID": obj.get("pkiEzsignformfieldgroupID"), + "fkiEzsigndocumentID": obj.get("fkiEzsigndocumentID"), + "eEzsignformfieldgroupType": obj.get("eEzsignformfieldgroupType"), + "eEzsignformfieldgroupSignerrequirement": obj.get("eEzsignformfieldgroupSignerrequirement"), + "sEzsignformfieldgroupLabel": obj.get("sEzsignformfieldgroupLabel"), + "iEzsignformfieldgroupStep": obj.get("iEzsignformfieldgroupStep"), + "sEzsignformfieldgroupDefaultvalue": obj.get("sEzsignformfieldgroupDefaultvalue"), + "iEzsignformfieldgroupFilledmin": obj.get("iEzsignformfieldgroupFilledmin"), + "iEzsignformfieldgroupFilledmax": obj.get("iEzsignformfieldgroupFilledmax"), + "bEzsignformfieldgroupReadonly": obj.get("bEzsignformfieldgroupReadonly"), + "iEzsignformfieldgroupMaxlength": obj.get("iEzsignformfieldgroupMaxlength"), + "bEzsignformfieldgroupEncrypted": obj.get("bEzsignformfieldgroupEncrypted"), + "sEzsignformfieldgroupRegexp": obj.get("sEzsignformfieldgroupRegexp"), + "sEzsignformfieldgroupTextvalidationcustommessage": obj.get("sEzsignformfieldgroupTextvalidationcustommessage"), + "tEzsignformfieldgroupTooltip": obj.get("tEzsignformfieldgroupTooltip"), + "eEzsignformfieldgroupTooltipposition": obj.get("eEzsignformfieldgroupTooltipposition"), + "eEzsignformfieldgroupTextvalidation": obj.get("eEzsignformfieldgroupTextvalidation"), + "a_objEzsignformfieldgroupsigner": [EzsignformfieldgroupsignerRequestCompound.from_dict(_item) for _item in obj["a_objEzsignformfieldgroupsigner"]] if obj.get("a_objEzsignformfieldgroupsigner") is not None else None, + "a_objDropdownElement": [CustomDropdownElementRequestCompound.from_dict(_item) for _item in obj["a_objDropdownElement"]] if obj.get("a_objDropdownElement") is not None else None, + "a_objEzsignformfield": [EzsignformfieldRequestCompound.from_dict(_item) for _item in obj["a_objEzsignformfield"]] if obj.get("a_objEzsignformfield") is not None else None + }) + return _obj diff --git a/eZmaxApi/models/ezsignformfieldgroup_response.py b/eZmaxApi/models/ezsignformfieldgroup_response.py index 95371c1bf..8deab4368 100644 --- a/eZmaxApi/models/ezsignformfieldgroup_response.py +++ b/eZmaxApi/models/ezsignformfieldgroup_response.py @@ -103,7 +103,33 @@ def to_dict(self) -> Dict[str, Any]: return _dict @classmethod - def from_dict(cls, obj: Dict[str, Any]) -> Optional[Self]: + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: """Create an instance of EzsignformfieldgroupResponse from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "pkiEzsignformfieldgroupID": obj.get("pkiEzsignformfieldgroupID"), + "fkiEzsigndocumentID": obj.get("fkiEzsigndocumentID"), + "eEzsignformfieldgroupType": obj.get("eEzsignformfieldgroupType"), + "eEzsignformfieldgroupSignerrequirement": obj.get("eEzsignformfieldgroupSignerrequirement"), + "sEzsignformfieldgroupLabel": obj.get("sEzsignformfieldgroupLabel"), + "iEzsignformfieldgroupStep": obj.get("iEzsignformfieldgroupStep"), + "sEzsignformfieldgroupDefaultvalue": obj.get("sEzsignformfieldgroupDefaultvalue"), + "iEzsignformfieldgroupFilledmin": obj.get("iEzsignformfieldgroupFilledmin"), + "iEzsignformfieldgroupFilledmax": obj.get("iEzsignformfieldgroupFilledmax"), + "bEzsignformfieldgroupReadonly": obj.get("bEzsignformfieldgroupReadonly"), + "iEzsignformfieldgroupMaxlength": obj.get("iEzsignformfieldgroupMaxlength"), + "bEzsignformfieldgroupEncrypted": obj.get("bEzsignformfieldgroupEncrypted"), + "eEzsignformfieldgroupTextvalidation": obj.get("eEzsignformfieldgroupTextvalidation"), + "sEzsignformfieldgroupRegexp": obj.get("sEzsignformfieldgroupRegexp"), + "sEzsignformfieldgroupTextvalidationcustommessage": obj.get("sEzsignformfieldgroupTextvalidationcustommessage"), + "tEzsignformfieldgroupTooltip": obj.get("tEzsignformfieldgroupTooltip"), + "eEzsignformfieldgroupTooltipposition": obj.get("eEzsignformfieldgroupTooltipposition") + }) + return _obj diff --git a/eZmaxApi/models/ezsignformfieldgroup_response_compound.py b/eZmaxApi/models/ezsignformfieldgroup_response_compound.py index a45cde248..e69dba409 100644 --- a/eZmaxApi/models/ezsignformfieldgroup_response_compound.py +++ b/eZmaxApi/models/ezsignformfieldgroup_response_compound.py @@ -18,28 +18,55 @@ import re # noqa: F401 import json -from pydantic import ConfigDict, Field +from pydantic import BaseModel, ConfigDict, Field, StrictBool, StrictStr, field_validator from typing import Any, ClassVar, Dict, List, Optional -from eZmaxApi.models.custom_dropdown_element_response import CustomDropdownElementResponse +from typing_extensions import Annotated +from eZmaxApi.models.custom_dropdown_element_response_compound import CustomDropdownElementResponseCompound from eZmaxApi.models.enum_textvalidation import EnumTextvalidation from eZmaxApi.models.ezsignformfield_response_compound import EzsignformfieldResponseCompound -from eZmaxApi.models.ezsignformfieldgroup_response import EzsignformfieldgroupResponse -from eZmaxApi.models.ezsignformfieldgroupsigner_response import EzsignformfieldgroupsignerResponse +from eZmaxApi.models.ezsignformfieldgroupsigner_response_compound import EzsignformfieldgroupsignerResponseCompound from eZmaxApi.models.field_e_ezsignformfieldgroup_signerrequirement import FieldEEzsignformfieldgroupSignerrequirement from eZmaxApi.models.field_e_ezsignformfieldgroup_tooltipposition import FieldEEzsignformfieldgroupTooltipposition from eZmaxApi.models.field_e_ezsignformfieldgroup_type import FieldEEzsignformfieldgroupType from typing import Optional, Set from typing_extensions import Self -class EzsignformfieldgroupResponseCompound(EzsignformfieldgroupResponse): +class EzsignformfieldgroupResponseCompound(BaseModel): """ An Ezsignformfieldgroup Object and children to create a complete structure """ # noqa: E501 + pki_ezsignformfieldgroup_id: Annotated[int, Field(strict=True, ge=0)] = Field(description="The unique ID of the Ezsignformfieldgroup", alias="pkiEzsignformfieldgroupID") + fki_ezsigndocument_id: Annotated[int, Field(strict=True, ge=0)] = Field(description="The unique ID of the Ezsigndocument", alias="fkiEzsigndocumentID") + e_ezsignformfieldgroup_type: FieldEEzsignformfieldgroupType = Field(alias="eEzsignformfieldgroupType") + e_ezsignformfieldgroup_signerrequirement: Optional[FieldEEzsignformfieldgroupSignerrequirement] = Field(default=None, alias="eEzsignformfieldgroupSignerrequirement") + s_ezsignformfieldgroup_label: Annotated[str, Field(min_length=1, strict=True, max_length=50)] = Field(description="The Label for the Ezsignformfieldgroup", alias="sEzsignformfieldgroupLabel") + i_ezsignformfieldgroup_step: Annotated[int, Field(strict=True, ge=1)] = Field(description="The step when the Ezsignsigner will be invited to fill the form fields", alias="iEzsignformfieldgroupStep") + s_ezsignformfieldgroup_defaultvalue: Optional[StrictStr] = Field(default=None, description="The default value for the Ezsignformfieldgroup You can use the codes below and they will be replaced at signature time. | Code | Description | Example | | ------------------------- | ------------ | ------------ | | {sUserFirstname} | The first name of the contact | John | | {sUserLastname} | The last name of the contact | Doe | | {sUserJobtitle} | The job title | Sales Representative | | {sCompany} | Company name | eZmax Solutions Inc. | | {sEmailAddress} | The email address | email@example.com | | {sPhoneE164} | A phone number in E.164 Format | +15149901516 | | {sPhoneE164Cell} | A phone number in E.164 Format | +15149901516 |", alias="sEzsignformfieldgroupDefaultvalue") + i_ezsignformfieldgroup_filledmin: Annotated[int, Field(strict=True, ge=0)] = Field(description="The minimum number of Ezsignformfield that must be filled in the Ezsignformfieldgroup", alias="iEzsignformfieldgroupFilledmin") + i_ezsignformfieldgroup_filledmax: Annotated[int, Field(strict=True, ge=0)] = Field(description="The maximum number of Ezsignformfield that must be filled in the Ezsignformfieldgroup", alias="iEzsignformfieldgroupFilledmax") + b_ezsignformfieldgroup_readonly: StrictBool = Field(description="Whether the Ezsignformfieldgroup is read only or not.", alias="bEzsignformfieldgroupReadonly") + i_ezsignformfieldgroup_maxlength: Optional[Annotated[int, Field(le=65535, strict=True, ge=0)]] = Field(default=None, description="The maximum length for the value in the Ezsignformfieldgroup This can only be set if eEzsignformfieldgroupType is **Text** or **Textarea**", alias="iEzsignformfieldgroupMaxlength") + b_ezsignformfieldgroup_encrypted: Optional[StrictBool] = Field(default=None, description="Whether the Ezsignformfieldgroup is encrypted in the database or not. Encrypted values are not displayed on the Ezsigndocument. This can only be set if eEzsignformfieldgroupType is **Text** or **Textarea**", alias="bEzsignformfieldgroupEncrypted") + e_ezsignformfieldgroup_textvalidation: Optional[EnumTextvalidation] = Field(default=None, alias="eEzsignformfieldgroupTextvalidation") + s_ezsignformfieldgroup_regexp: Optional[Annotated[str, Field(strict=True)]] = Field(default=None, description="A regular expression to indicate what values are acceptable for the Ezsignformfieldgroup. This can only be set if eEzsignformfieldgroupType is **Text** or **Textarea**", alias="sEzsignformfieldgroupRegexp") + s_ezsignformfieldgroup_textvalidationcustommessage: Optional[Annotated[str, Field(min_length=0, strict=True, max_length=50)]] = Field(default=None, description="Description of validation rule. Show by signatory.", alias="sEzsignformfieldgroupTextvalidationcustommessage") + t_ezsignformfieldgroup_tooltip: Optional[StrictStr] = Field(default=None, description="A tooltip that will be presented to Ezsignsigner about the Ezsignformfieldgroup", alias="tEzsignformfieldgroupTooltip") + e_ezsignformfieldgroup_tooltipposition: Optional[FieldEEzsignformfieldgroupTooltipposition] = Field(default=None, alias="eEzsignformfieldgroupTooltipposition") a_obj_ezsignformfield: List[EzsignformfieldResponseCompound] = Field(alias="a_objEzsignformfield") - a_obj_dropdown_element: Optional[List[CustomDropdownElementResponse]] = Field(default=None, alias="a_objDropdownElement") - a_obj_ezsignformfieldgroupsigner: List[EzsignformfieldgroupsignerResponse] = Field(alias="a_objEzsignformfieldgroupsigner") + a_obj_dropdown_element: Optional[List[CustomDropdownElementResponseCompound]] = Field(default=None, alias="a_objDropdownElement") + a_obj_ezsignformfieldgroupsigner: List[EzsignformfieldgroupsignerResponseCompound] = Field(alias="a_objEzsignformfieldgroupsigner") __properties: ClassVar[List[str]] = ["pkiEzsignformfieldgroupID", "fkiEzsigndocumentID", "eEzsignformfieldgroupType", "eEzsignformfieldgroupSignerrequirement", "sEzsignformfieldgroupLabel", "iEzsignformfieldgroupStep", "sEzsignformfieldgroupDefaultvalue", "iEzsignformfieldgroupFilledmin", "iEzsignformfieldgroupFilledmax", "bEzsignformfieldgroupReadonly", "iEzsignformfieldgroupMaxlength", "bEzsignformfieldgroupEncrypted", "eEzsignformfieldgroupTextvalidation", "sEzsignformfieldgroupRegexp", "sEzsignformfieldgroupTextvalidationcustommessage", "tEzsignformfieldgroupTooltip", "eEzsignformfieldgroupTooltipposition", "a_objEzsignformfield", "a_objDropdownElement", "a_objEzsignformfieldgroupsigner"] + @field_validator('s_ezsignformfieldgroup_regexp') + def s_ezsignformfieldgroup_regexp_validate_regular_expression(cls, value): + """Validates the regular expression""" + if value is None: + return value + + if not re.match(r"^\^.*\$$|^$", value): + raise ValueError(r"must validate the regular expression /^\^.*\$$|^$/") + return value + model_config = ConfigDict( populate_by_name=True, validate_assignment=True, @@ -130,8 +157,8 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: "tEzsignformfieldgroupTooltip": obj.get("tEzsignformfieldgroupTooltip"), "eEzsignformfieldgroupTooltipposition": obj.get("eEzsignformfieldgroupTooltipposition"), "a_objEzsignformfield": [EzsignformfieldResponseCompound.from_dict(_item) for _item in obj["a_objEzsignformfield"]] if obj.get("a_objEzsignformfield") is not None else None, - "a_objDropdownElement": [CustomDropdownElementResponse.from_dict(_item) for _item in obj["a_objDropdownElement"]] if obj.get("a_objDropdownElement") is not None else None, - "a_objEzsignformfieldgroupsigner": [EzsignformfieldgroupsignerResponse.from_dict(_item) for _item in obj["a_objEzsignformfieldgroupsigner"]] if obj.get("a_objEzsignformfieldgroupsigner") is not None else None + "a_objDropdownElement": [CustomDropdownElementResponseCompound.from_dict(_item) for _item in obj["a_objDropdownElement"]] if obj.get("a_objDropdownElement") is not None else None, + "a_objEzsignformfieldgroupsigner": [EzsignformfieldgroupsignerResponseCompound.from_dict(_item) for _item in obj["a_objEzsignformfieldgroupsigner"]] if obj.get("a_objEzsignformfieldgroupsigner") is not None else None }) return _obj diff --git a/eZmaxApi/models/ezsignpage_consult_v1_response.py b/eZmaxApi/models/ezsignpage_consult_v1_response.py index 0cb6630ed..cb28254b2 100644 --- a/eZmaxApi/models/ezsignpage_consult_v1_response.py +++ b/eZmaxApi/models/ezsignpage_consult_v1_response.py @@ -18,18 +18,19 @@ import re # noqa: F401 import json -from pydantic import ConfigDict -from typing import Any, ClassVar, Dict, List -from eZmaxApi.models.common_response import CommonResponse +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List, Optional from eZmaxApi.models.common_response_obj_debug import CommonResponseObjDebug from eZmaxApi.models.common_response_obj_debug_payload import CommonResponseObjDebugPayload from typing import Optional, Set from typing_extensions import Self -class EzsignpageConsultV1Response(CommonResponse): +class EzsignpageConsultV1Response(BaseModel): """ Response for POST /1/object/ezsignpage/{pkiEzsignpageID}/consult """ # noqa: E501 + obj_debug_payload: CommonResponseObjDebugPayload = Field(alias="objDebugPayload") + obj_debug: Optional[CommonResponseObjDebug] = Field(default=None, alias="objDebug") __properties: ClassVar[List[str]] = ["objDebugPayload", "objDebug"] model_config = ConfigDict( diff --git a/eZmaxApi/models/ezsignsignature_create_object_v1_response.py b/eZmaxApi/models/ezsignsignature_create_object_v1_response.py index 29551d0d5..e273b35b4 100644 --- a/eZmaxApi/models/ezsignsignature_create_object_v1_response.py +++ b/eZmaxApi/models/ezsignsignature_create_object_v1_response.py @@ -18,19 +18,20 @@ import re # noqa: F401 import json -from pydantic import ConfigDict, Field -from typing import Any, ClassVar, Dict, List -from eZmaxApi.models.common_response import CommonResponse +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List, Optional from eZmaxApi.models.common_response_obj_debug import CommonResponseObjDebug from eZmaxApi.models.common_response_obj_debug_payload import CommonResponseObjDebugPayload from eZmaxApi.models.ezsignsignature_create_object_v1_response_m_payload import EzsignsignatureCreateObjectV1ResponseMPayload from typing import Optional, Set from typing_extensions import Self -class EzsignsignatureCreateObjectV1Response(CommonResponse): +class EzsignsignatureCreateObjectV1Response(BaseModel): """ Response for POST /1/object/ezsignsignature """ # noqa: E501 + obj_debug_payload: CommonResponseObjDebugPayload = Field(alias="objDebugPayload") + obj_debug: Optional[CommonResponseObjDebug] = Field(default=None, alias="objDebug") m_payload: EzsignsignatureCreateObjectV1ResponseMPayload = Field(alias="mPayload") __properties: ClassVar[List[str]] = ["objDebugPayload", "objDebug", "mPayload"] diff --git a/eZmaxApi/models/ezsignsignature_create_object_v2_response.py b/eZmaxApi/models/ezsignsignature_create_object_v2_response.py index 1bf1f4824..aaf1cade2 100644 --- a/eZmaxApi/models/ezsignsignature_create_object_v2_response.py +++ b/eZmaxApi/models/ezsignsignature_create_object_v2_response.py @@ -18,19 +18,20 @@ import re # noqa: F401 import json -from pydantic import ConfigDict, Field -from typing import Any, ClassVar, Dict, List -from eZmaxApi.models.common_response import CommonResponse +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List, Optional from eZmaxApi.models.common_response_obj_debug import CommonResponseObjDebug from eZmaxApi.models.common_response_obj_debug_payload import CommonResponseObjDebugPayload from eZmaxApi.models.ezsignsignature_create_object_v2_response_m_payload import EzsignsignatureCreateObjectV2ResponseMPayload from typing import Optional, Set from typing_extensions import Self -class EzsignsignatureCreateObjectV2Response(CommonResponse): +class EzsignsignatureCreateObjectV2Response(BaseModel): """ Response for POST /2/object/ezsignsignature """ # noqa: E501 + obj_debug_payload: CommonResponseObjDebugPayload = Field(alias="objDebugPayload") + obj_debug: Optional[CommonResponseObjDebug] = Field(default=None, alias="objDebug") m_payload: EzsignsignatureCreateObjectV2ResponseMPayload = Field(alias="mPayload") __properties: ClassVar[List[str]] = ["objDebugPayload", "objDebug", "mPayload"] diff --git a/eZmaxApi/models/ezsignsignature_create_object_v3_response.py b/eZmaxApi/models/ezsignsignature_create_object_v3_response.py index 720cabbdc..5774a3948 100644 --- a/eZmaxApi/models/ezsignsignature_create_object_v3_response.py +++ b/eZmaxApi/models/ezsignsignature_create_object_v3_response.py @@ -18,19 +18,20 @@ import re # noqa: F401 import json -from pydantic import ConfigDict, Field -from typing import Any, ClassVar, Dict, List -from eZmaxApi.models.common_response import CommonResponse +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List, Optional from eZmaxApi.models.common_response_obj_debug import CommonResponseObjDebug from eZmaxApi.models.common_response_obj_debug_payload import CommonResponseObjDebugPayload from eZmaxApi.models.ezsignsignature_create_object_v3_response_m_payload import EzsignsignatureCreateObjectV3ResponseMPayload from typing import Optional, Set from typing_extensions import Self -class EzsignsignatureCreateObjectV3Response(CommonResponse): +class EzsignsignatureCreateObjectV3Response(BaseModel): """ Response for POST /3/object/ezsignsignature """ # noqa: E501 + obj_debug_payload: CommonResponseObjDebugPayload = Field(alias="objDebugPayload") + obj_debug: Optional[CommonResponseObjDebug] = Field(default=None, alias="objDebug") m_payload: EzsignsignatureCreateObjectV3ResponseMPayload = Field(alias="mPayload") __properties: ClassVar[List[str]] = ["objDebugPayload", "objDebug", "mPayload"] diff --git a/eZmaxApi/models/ezsignsignature_delete_object_v1_response.py b/eZmaxApi/models/ezsignsignature_delete_object_v1_response.py index 37e45aac9..67a217bec 100644 --- a/eZmaxApi/models/ezsignsignature_delete_object_v1_response.py +++ b/eZmaxApi/models/ezsignsignature_delete_object_v1_response.py @@ -18,18 +18,19 @@ import re # noqa: F401 import json -from pydantic import ConfigDict -from typing import Any, ClassVar, Dict, List -from eZmaxApi.models.common_response import CommonResponse +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List, Optional from eZmaxApi.models.common_response_obj_debug import CommonResponseObjDebug from eZmaxApi.models.common_response_obj_debug_payload import CommonResponseObjDebugPayload from typing import Optional, Set from typing_extensions import Self -class EzsignsignatureDeleteObjectV1Response(CommonResponse): +class EzsignsignatureDeleteObjectV1Response(BaseModel): """ Response for DELETE /1/object/ezsignsignature/{pkiEzsignsignatureID} """ # noqa: E501 + obj_debug_payload: CommonResponseObjDebugPayload = Field(alias="objDebugPayload") + obj_debug: Optional[CommonResponseObjDebug] = Field(default=None, alias="objDebug") __properties: ClassVar[List[str]] = ["objDebugPayload", "objDebug"] model_config = ConfigDict( diff --git a/eZmaxApi/models/ezsignsignature_edit_object_v2_response.py b/eZmaxApi/models/ezsignsignature_edit_object_v2_response.py index 9c5a87f40..32072d383 100644 --- a/eZmaxApi/models/ezsignsignature_edit_object_v2_response.py +++ b/eZmaxApi/models/ezsignsignature_edit_object_v2_response.py @@ -18,18 +18,19 @@ import re # noqa: F401 import json -from pydantic import ConfigDict -from typing import Any, ClassVar, Dict, List -from eZmaxApi.models.common_response import CommonResponse +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List, Optional from eZmaxApi.models.common_response_obj_debug import CommonResponseObjDebug from eZmaxApi.models.common_response_obj_debug_payload import CommonResponseObjDebugPayload from typing import Optional, Set from typing_extensions import Self -class EzsignsignatureEditObjectV2Response(CommonResponse): +class EzsignsignatureEditObjectV2Response(BaseModel): """ Response for PUT /2/object/ezsignsignature/{pkiEzsignsignatureID} """ # noqa: E501 + obj_debug_payload: CommonResponseObjDebugPayload = Field(alias="objDebugPayload") + obj_debug: Optional[CommonResponseObjDebug] = Field(default=None, alias="objDebug") __properties: ClassVar[List[str]] = ["objDebugPayload", "objDebug"] model_config = ConfigDict( diff --git a/eZmaxApi/models/ezsignsignature_get_ezsignsignatureattachment_v1_response.py b/eZmaxApi/models/ezsignsignature_get_ezsignsignatureattachment_v1_response.py index e42d1f066..f8e2f89a4 100644 --- a/eZmaxApi/models/ezsignsignature_get_ezsignsignatureattachment_v1_response.py +++ b/eZmaxApi/models/ezsignsignature_get_ezsignsignatureattachment_v1_response.py @@ -18,19 +18,20 @@ import re # noqa: F401 import json -from pydantic import ConfigDict, Field -from typing import Any, ClassVar, Dict, List -from eZmaxApi.models.common_response import CommonResponse +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List, Optional from eZmaxApi.models.common_response_obj_debug import CommonResponseObjDebug from eZmaxApi.models.common_response_obj_debug_payload import CommonResponseObjDebugPayload from eZmaxApi.models.ezsignsignature_get_ezsignsignatureattachment_v1_response_m_payload import EzsignsignatureGetEzsignsignatureattachmentV1ResponseMPayload from typing import Optional, Set from typing_extensions import Self -class EzsignsignatureGetEzsignsignatureattachmentV1Response(CommonResponse): +class EzsignsignatureGetEzsignsignatureattachmentV1Response(BaseModel): """ Response for GET /1/object/ezsignsignature/{pkiEzsignsignatureID}/getEzsignsignatureattachment """ # noqa: E501 + obj_debug_payload: CommonResponseObjDebugPayload = Field(alias="objDebugPayload") + obj_debug: Optional[CommonResponseObjDebug] = Field(default=None, alias="objDebug") m_payload: EzsignsignatureGetEzsignsignatureattachmentV1ResponseMPayload = Field(alias="mPayload") __properties: ClassVar[List[str]] = ["objDebugPayload", "objDebug", "mPayload"] diff --git a/eZmaxApi/models/ezsignsignature_get_ezsignsignatures_automatic_v1_response.py b/eZmaxApi/models/ezsignsignature_get_ezsignsignatures_automatic_v1_response.py index 15bf7d389..b433a429b 100644 --- a/eZmaxApi/models/ezsignsignature_get_ezsignsignatures_automatic_v1_response.py +++ b/eZmaxApi/models/ezsignsignature_get_ezsignsignatures_automatic_v1_response.py @@ -18,19 +18,20 @@ import re # noqa: F401 import json -from pydantic import ConfigDict, Field -from typing import Any, ClassVar, Dict, List -from eZmaxApi.models.common_response import CommonResponse +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List, Optional from eZmaxApi.models.common_response_obj_debug import CommonResponseObjDebug from eZmaxApi.models.common_response_obj_debug_payload import CommonResponseObjDebugPayload from eZmaxApi.models.ezsignsignature_get_ezsignsignatures_automatic_v1_response_m_payload import EzsignsignatureGetEzsignsignaturesAutomaticV1ResponseMPayload from typing import Optional, Set from typing_extensions import Self -class EzsignsignatureGetEzsignsignaturesAutomaticV1Response(CommonResponse): +class EzsignsignatureGetEzsignsignaturesAutomaticV1Response(BaseModel): """ Response for GET /1/object/ezsignsignature/getEzsignsignaturesAutomatic """ # noqa: E501 + obj_debug_payload: CommonResponseObjDebugPayload = Field(alias="objDebugPayload") + obj_debug: Optional[CommonResponseObjDebug] = Field(default=None, alias="objDebug") m_payload: EzsignsignatureGetEzsignsignaturesAutomaticV1ResponseMPayload = Field(alias="mPayload") __properties: ClassVar[List[str]] = ["objDebugPayload", "objDebug", "mPayload"] diff --git a/eZmaxApi/models/ezsignsignature_get_object_v3_response.py b/eZmaxApi/models/ezsignsignature_get_object_v3_response.py index a8db8c160..c3ce0992c 100644 --- a/eZmaxApi/models/ezsignsignature_get_object_v3_response.py +++ b/eZmaxApi/models/ezsignsignature_get_object_v3_response.py @@ -18,19 +18,20 @@ import re # noqa: F401 import json -from pydantic import ConfigDict, Field -from typing import Any, ClassVar, Dict, List -from eZmaxApi.models.common_response import CommonResponse +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List, Optional from eZmaxApi.models.common_response_obj_debug import CommonResponseObjDebug from eZmaxApi.models.common_response_obj_debug_payload import CommonResponseObjDebugPayload from eZmaxApi.models.ezsignsignature_get_object_v3_response_m_payload import EzsignsignatureGetObjectV3ResponseMPayload from typing import Optional, Set from typing_extensions import Self -class EzsignsignatureGetObjectV3Response(CommonResponse): +class EzsignsignatureGetObjectV3Response(BaseModel): """ Response for GET /3/object/ezsignsignature/{pkiEzsignsignatureID} """ # noqa: E501 + obj_debug_payload: CommonResponseObjDebugPayload = Field(alias="objDebugPayload") + obj_debug: Optional[CommonResponseObjDebug] = Field(default=None, alias="objDebug") m_payload: EzsignsignatureGetObjectV3ResponseMPayload = Field(alias="mPayload") __properties: ClassVar[List[str]] = ["objDebugPayload", "objDebug", "mPayload"] diff --git a/eZmaxApi/models/ezsignsignature_request.py b/eZmaxApi/models/ezsignsignature_request.py index a740a6130..dd3d06b6a 100644 --- a/eZmaxApi/models/ezsignsignature_request.py +++ b/eZmaxApi/models/ezsignsignature_request.py @@ -116,7 +116,43 @@ def to_dict(self) -> Dict[str, Any]: return _dict @classmethod - def from_dict(cls, obj: Dict[str, Any]) -> Optional[Self]: + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: """Create an instance of EzsignsignatureRequest from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "pkiEzsignsignatureID": obj.get("pkiEzsignsignatureID"), + "fkiEzsignfoldersignerassociationID": obj.get("fkiEzsignfoldersignerassociationID"), + "iEzsignpagePagenumber": obj.get("iEzsignpagePagenumber"), + "iEzsignsignatureX": obj.get("iEzsignsignatureX"), + "iEzsignsignatureY": obj.get("iEzsignsignatureY"), + "iEzsignsignatureWidth": obj.get("iEzsignsignatureWidth"), + "iEzsignsignatureHeight": obj.get("iEzsignsignatureHeight"), + "iEzsignsignatureStep": obj.get("iEzsignsignatureStep"), + "eEzsignsignatureType": obj.get("eEzsignsignatureType"), + "fkiEzsigndocumentID": obj.get("fkiEzsigndocumentID"), + "tEzsignsignatureTooltip": obj.get("tEzsignsignatureTooltip"), + "eEzsignsignatureTooltipposition": obj.get("eEzsignsignatureTooltipposition"), + "eEzsignsignatureFont": obj.get("eEzsignsignatureFont"), + "fkiEzsignfoldersignerassociationIDValidation": obj.get("fkiEzsignfoldersignerassociationIDValidation"), + "bEzsignsignatureHandwritten": obj.get("bEzsignsignatureHandwritten"), + "bEzsignsignatureReason": obj.get("bEzsignsignatureReason"), + "bEzsignsignatureRequired": obj.get("bEzsignsignatureRequired"), + "eEzsignsignatureAttachmentnamesource": obj.get("eEzsignsignatureAttachmentnamesource"), + "sEzsignsignatureAttachmentdescription": obj.get("sEzsignsignatureAttachmentdescription"), + "eEzsignsignatureConsultationtrigger": obj.get("eEzsignsignatureConsultationtrigger"), + "iEzsignsignatureValidationstep": obj.get("iEzsignsignatureValidationstep"), + "iEzsignsignatureMaxlength": obj.get("iEzsignsignatureMaxlength"), + "sEzsignsignatureDefaultvalue": obj.get("sEzsignsignatureDefaultvalue"), + "eEzsignsignatureTextvalidation": obj.get("eEzsignsignatureTextvalidation"), + "sEzsignsignatureTextvalidationcustommessage": obj.get("sEzsignsignatureTextvalidationcustommessage"), + "sEzsignsignatureRegexp": obj.get("sEzsignsignatureRegexp"), + "eEzsignsignatureDependencyrequirement": obj.get("eEzsignsignatureDependencyrequirement") + }) + return _obj diff --git a/eZmaxApi/models/ezsignsignature_request_compound.py b/eZmaxApi/models/ezsignsignature_request_compound.py index b778eb704..c0dee5397 100644 --- a/eZmaxApi/models/ezsignsignature_request_compound.py +++ b/eZmaxApi/models/ezsignsignature_request_compound.py @@ -18,12 +18,12 @@ import re # noqa: F401 import json -from pydantic import ConfigDict, Field, StrictBool +from pydantic import BaseModel, ConfigDict, Field, StrictBool, StrictInt, StrictStr, field_validator from typing import Any, ClassVar, Dict, List, Optional +from typing_extensions import Annotated from eZmaxApi.models.enum_textvalidation import EnumTextvalidation -from eZmaxApi.models.ezsignelementdependency_request import EzsignelementdependencyRequest -from eZmaxApi.models.ezsignsignature_request import EzsignsignatureRequest -from eZmaxApi.models.ezsignsignaturecustomdate_request import EzsignsignaturecustomdateRequest +from eZmaxApi.models.ezsignelementdependency_request_compound import EzsignelementdependencyRequestCompound +from eZmaxApi.models.ezsignsignaturecustomdate_request_compound import EzsignsignaturecustomdateRequestCompound from eZmaxApi.models.field_e_ezsignsignature_attachmentnamesource import FieldEEzsignsignatureAttachmentnamesource from eZmaxApi.models.field_e_ezsignsignature_consultationtrigger import FieldEEzsignsignatureConsultationtrigger from eZmaxApi.models.field_e_ezsignsignature_dependencyrequirement import FieldEEzsignsignatureDependencyrequirement @@ -33,15 +33,52 @@ from typing import Optional, Set from typing_extensions import Self -class EzsignsignatureRequestCompound(EzsignsignatureRequest): +class EzsignsignatureRequestCompound(BaseModel): """ An Ezsignsignature Object and children to create a complete structure """ # noqa: E501 + pki_ezsignsignature_id: Optional[Annotated[int, Field(strict=True, ge=0)]] = Field(default=None, description="The unique ID of the Ezsignsignature", alias="pkiEzsignsignatureID") + fki_ezsignfoldersignerassociation_id: Annotated[int, Field(strict=True, ge=0)] = Field(description="The unique ID of the Ezsignfoldersignerassociation", alias="fkiEzsignfoldersignerassociationID") + i_ezsignpage_pagenumber: Annotated[int, Field(strict=True, ge=1)] = Field(description="The page number in the Ezsigndocument", alias="iEzsignpagePagenumber") + i_ezsignsignature_x: Annotated[int, Field(strict=True, ge=0)] = Field(description="The X coordinate (Horizontal) where to put the Ezsignsignature on the page. Coordinate is calculated at 100dpi (dot per inch). So for example, if you want to put the Ezsignsignature 2 inches from the left border of the page, you would use \"200\" for the X coordinate.", alias="iEzsignsignatureX") + i_ezsignsignature_y: Annotated[int, Field(strict=True, ge=0)] = Field(description="The Y coordinate (Vertical) where to put the Ezsignsignature on the page. Coordinate is calculated at 100dpi (dot per inch). So for example, if you want to put the Ezsignsignature 3 inches from the top border of the page, you would use \"300\" for the Y coordinate.", alias="iEzsignsignatureY") + i_ezsignsignature_width: Optional[Annotated[int, Field(strict=True, ge=0)]] = Field(default=None, description="The width of the Ezsignsignature. Size is calculated at 100dpi (dot per inch). So for example, if you want the Ezsignsignature to have a width of 2 inches, you would use \"200\" for the iEzsignsignatureWidth.", alias="iEzsignsignatureWidth") + i_ezsignsignature_height: Optional[Annotated[int, Field(strict=True, ge=0)]] = Field(default=None, description="The height of the Ezsignsignature. Size is calculated at 100dpi (dot per inch). So for example, if you want the Ezsignsignature to have an height of 2 inches, you would use \"200\" for the iEzsignsignatureHeight.", alias="iEzsignsignatureHeight") + i_ezsignsignature_step: StrictInt = Field(description="The step when the Ezsignsigner will be invited to sign", alias="iEzsignsignatureStep") + e_ezsignsignature_type: FieldEEzsignsignatureType = Field(alias="eEzsignsignatureType") + fki_ezsigndocument_id: Annotated[int, Field(strict=True, ge=0)] = Field(description="The unique ID of the Ezsigndocument", alias="fkiEzsigndocumentID") + t_ezsignsignature_tooltip: Optional[StrictStr] = Field(default=None, description="A tooltip that will be presented to Ezsignsigner about the Ezsignsignature", alias="tEzsignsignatureTooltip") + e_ezsignsignature_tooltipposition: Optional[FieldEEzsignsignatureTooltipposition] = Field(default=None, alias="eEzsignsignatureTooltipposition") + e_ezsignsignature_font: Optional[FieldEEzsignsignatureFont] = Field(default=None, alias="eEzsignsignatureFont") + fki_ezsignfoldersignerassociation_id_validation: Optional[Annotated[int, Field(strict=True, ge=0)]] = Field(default=None, description="The unique ID of the Ezsignfoldersignerassociation", alias="fkiEzsignfoldersignerassociationIDValidation") + b_ezsignsignature_handwritten: Optional[StrictBool] = Field(default=None, description="Whether the Ezsignsignature must be handwritten or not when eEzsignsignatureType = Signature.", alias="bEzsignsignatureHandwritten") + b_ezsignsignature_reason: Optional[StrictBool] = Field(default=None, description="Whether the Ezsignsignature must include a reason or not when eEzsignsignatureType = Signature.", alias="bEzsignsignatureReason") + b_ezsignsignature_required: Optional[StrictBool] = Field(default=None, description="Whether the Ezsignsignature is required or not. This field is relevant only with Ezsignsignature with eEzsignsignatureType = Attachments, Text or Textarea.", alias="bEzsignsignatureRequired") + e_ezsignsignature_attachmentnamesource: Optional[FieldEEzsignsignatureAttachmentnamesource] = Field(default=None, alias="eEzsignsignatureAttachmentnamesource") + s_ezsignsignature_attachmentdescription: Optional[StrictStr] = Field(default=None, description="The description attached to the attachment name added in Ezsignsignature of eEzsignsignatureType Attachments", alias="sEzsignsignatureAttachmentdescription") + e_ezsignsignature_consultationtrigger: Optional[FieldEEzsignsignatureConsultationtrigger] = Field(default=None, alias="eEzsignsignatureConsultationtrigger") + i_ezsignsignature_validationstep: Optional[StrictInt] = Field(default=None, description="The step when the Ezsignsigner will be invited to validate the Ezsignsignature of eEzsignsignatureType Attachments", alias="iEzsignsignatureValidationstep") + i_ezsignsignature_maxlength: Optional[Annotated[int, Field(le=65535, strict=True, ge=0)]] = Field(default=None, description="The maximum length for the value in the Ezsignsignature This can only be set if eEzsignsignatureType is **FieldText** or **FieldTextarea**", alias="iEzsignsignatureMaxlength") + s_ezsignsignature_defaultvalue: Optional[StrictStr] = Field(default=None, description="The default value for the Ezsignsignature You can use the codes below and they will be replaced at signature time. | Code | Description | Example | | ------------------------- | ------------ | ------------ | | {sUserFirstname} | The first name of the contact | John | | {sUserLastname} | The last name of the contact | Doe | | {sUserJobtitle} | The job title | Sales Representative | | {sCompany} | Company name | eZmax Solutions Inc. | | {sEmailAddress} | The email address | email@example.com | | {sPhoneE164} | A phone number in E.164 Format | +15149901516 | | {sPhoneE164Cell} | A phone number in E.164 Format | +15149901516 |", alias="sEzsignsignatureDefaultvalue") + e_ezsignsignature_textvalidation: Optional[EnumTextvalidation] = Field(default=None, alias="eEzsignsignatureTextvalidation") + s_ezsignsignature_textvalidationcustommessage: Optional[Annotated[str, Field(min_length=0, strict=True, max_length=50)]] = Field(default=None, description="Description of validation rule. Show by signatory.", alias="sEzsignsignatureTextvalidationcustommessage") + s_ezsignsignature_regexp: Optional[Annotated[str, Field(strict=True)]] = Field(default=None, description="A regular expression to indicate what values are acceptable for the Ezsignsignature. This can only be set if eEzsignsignatureType is **FieldText** or **FieldTextarea** and eEzsignsignatureTextvalidation is **Custom**", alias="sEzsignsignatureRegexp") + e_ezsignsignature_dependencyrequirement: Optional[FieldEEzsignsignatureDependencyrequirement] = Field(default=None, alias="eEzsignsignatureDependencyrequirement") b_ezsignsignature_customdate: Optional[StrictBool] = Field(default=None, description="Whether the Ezsignsignature has a custom date format or not. (Only possible when eEzsignsignatureType is **Name** or **Handwritten**)", alias="bEzsignsignatureCustomdate") - a_obj_ezsignsignaturecustomdate: Optional[List[EzsignsignaturecustomdateRequest]] = Field(default=None, description="An array of custom date blocks that will be filled at the time of signature. Can only be used if bEzsignsignatureCustomdate is true. Use an empty array if you don't want to have a date at all.", alias="a_objEzsignsignaturecustomdate") - a_obj_ezsignelementdependency: Optional[List[EzsignelementdependencyRequest]] = Field(default=None, alias="a_objEzsignelementdependency") + a_obj_ezsignsignaturecustomdate: Optional[List[EzsignsignaturecustomdateRequestCompound]] = Field(default=None, description="An array of custom date blocks that will be filled at the time of signature. Can only be used if bEzsignsignatureCustomdate is true. Use an empty array if you don't want to have a date at all.", alias="a_objEzsignsignaturecustomdate") + a_obj_ezsignelementdependency: Optional[List[EzsignelementdependencyRequestCompound]] = Field(default=None, alias="a_objEzsignelementdependency") __properties: ClassVar[List[str]] = ["pkiEzsignsignatureID", "fkiEzsignfoldersignerassociationID", "iEzsignpagePagenumber", "iEzsignsignatureX", "iEzsignsignatureY", "iEzsignsignatureWidth", "iEzsignsignatureHeight", "iEzsignsignatureStep", "eEzsignsignatureType", "fkiEzsigndocumentID", "tEzsignsignatureTooltip", "eEzsignsignatureTooltipposition", "eEzsignsignatureFont", "fkiEzsignfoldersignerassociationIDValidation", "bEzsignsignatureHandwritten", "bEzsignsignatureReason", "bEzsignsignatureRequired", "eEzsignsignatureAttachmentnamesource", "sEzsignsignatureAttachmentdescription", "eEzsignsignatureConsultationtrigger", "iEzsignsignatureValidationstep", "iEzsignsignatureMaxlength", "sEzsignsignatureDefaultvalue", "eEzsignsignatureTextvalidation", "sEzsignsignatureTextvalidationcustommessage", "sEzsignsignatureRegexp", "eEzsignsignatureDependencyrequirement", "bEzsignsignatureCustomdate", "a_objEzsignsignaturecustomdate", "a_objEzsignelementdependency"] + @field_validator('s_ezsignsignature_regexp') + def s_ezsignsignature_regexp_validate_regular_expression(cls, value): + """Validates the regular expression""" + if value is None: + return value + + if not re.match(r"^\^.*\$$|^$", value): + raise ValueError(r"must validate the regular expression /^\^.*\$$|^$/") + return value + model_config = ConfigDict( populate_by_name=True, validate_assignment=True, @@ -98,7 +135,46 @@ def to_dict(self) -> Dict[str, Any]: return _dict @classmethod - def from_dict(cls, obj: Dict[str, Any]) -> Optional[Self]: + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: """Create an instance of EzsignsignatureRequestCompound from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "pkiEzsignsignatureID": obj.get("pkiEzsignsignatureID"), + "fkiEzsignfoldersignerassociationID": obj.get("fkiEzsignfoldersignerassociationID"), + "iEzsignpagePagenumber": obj.get("iEzsignpagePagenumber"), + "iEzsignsignatureX": obj.get("iEzsignsignatureX"), + "iEzsignsignatureY": obj.get("iEzsignsignatureY"), + "iEzsignsignatureWidth": obj.get("iEzsignsignatureWidth"), + "iEzsignsignatureHeight": obj.get("iEzsignsignatureHeight"), + "iEzsignsignatureStep": obj.get("iEzsignsignatureStep"), + "eEzsignsignatureType": obj.get("eEzsignsignatureType"), + "fkiEzsigndocumentID": obj.get("fkiEzsigndocumentID"), + "tEzsignsignatureTooltip": obj.get("tEzsignsignatureTooltip"), + "eEzsignsignatureTooltipposition": obj.get("eEzsignsignatureTooltipposition"), + "eEzsignsignatureFont": obj.get("eEzsignsignatureFont"), + "fkiEzsignfoldersignerassociationIDValidation": obj.get("fkiEzsignfoldersignerassociationIDValidation"), + "bEzsignsignatureHandwritten": obj.get("bEzsignsignatureHandwritten"), + "bEzsignsignatureReason": obj.get("bEzsignsignatureReason"), + "bEzsignsignatureRequired": obj.get("bEzsignsignatureRequired"), + "eEzsignsignatureAttachmentnamesource": obj.get("eEzsignsignatureAttachmentnamesource"), + "sEzsignsignatureAttachmentdescription": obj.get("sEzsignsignatureAttachmentdescription"), + "eEzsignsignatureConsultationtrigger": obj.get("eEzsignsignatureConsultationtrigger"), + "iEzsignsignatureValidationstep": obj.get("iEzsignsignatureValidationstep"), + "iEzsignsignatureMaxlength": obj.get("iEzsignsignatureMaxlength"), + "sEzsignsignatureDefaultvalue": obj.get("sEzsignsignatureDefaultvalue"), + "eEzsignsignatureTextvalidation": obj.get("eEzsignsignatureTextvalidation"), + "sEzsignsignatureTextvalidationcustommessage": obj.get("sEzsignsignatureTextvalidationcustommessage"), + "sEzsignsignatureRegexp": obj.get("sEzsignsignatureRegexp"), + "eEzsignsignatureDependencyrequirement": obj.get("eEzsignsignatureDependencyrequirement"), + "bEzsignsignatureCustomdate": obj.get("bEzsignsignatureCustomdate"), + "a_objEzsignsignaturecustomdate": [EzsignsignaturecustomdateRequestCompound.from_dict(_item) for _item in obj["a_objEzsignsignaturecustomdate"]] if obj.get("a_objEzsignsignaturecustomdate") is not None else None, + "a_objEzsignelementdependency": [EzsignelementdependencyRequestCompound.from_dict(_item) for _item in obj["a_objEzsignelementdependency"]] if obj.get("a_objEzsignelementdependency") is not None else None + }) + return _obj diff --git a/eZmaxApi/models/ezsignsignature_request_compound_v2.py b/eZmaxApi/models/ezsignsignature_request_compound_v2.py index 94eafd3ee..080de7485 100644 --- a/eZmaxApi/models/ezsignsignature_request_compound_v2.py +++ b/eZmaxApi/models/ezsignsignature_request_compound_v2.py @@ -18,12 +18,12 @@ import re # noqa: F401 import json -from pydantic import ConfigDict, Field, StrictBool +from pydantic import BaseModel, ConfigDict, Field, StrictBool, StrictInt, StrictStr, field_validator from typing import Any, ClassVar, Dict, List, Optional +from typing_extensions import Annotated from eZmaxApi.models.enum_textvalidation import EnumTextvalidation -from eZmaxApi.models.ezsignelementdependency_request import EzsignelementdependencyRequest -from eZmaxApi.models.ezsignsignature_request import EzsignsignatureRequest -from eZmaxApi.models.ezsignsignaturecustomdate_request_v2 import EzsignsignaturecustomdateRequestV2 +from eZmaxApi.models.ezsignelementdependency_request_compound import EzsignelementdependencyRequestCompound +from eZmaxApi.models.ezsignsignaturecustomdate_request_compound_v2 import EzsignsignaturecustomdateRequestCompoundV2 from eZmaxApi.models.field_e_ezsignsignature_attachmentnamesource import FieldEEzsignsignatureAttachmentnamesource from eZmaxApi.models.field_e_ezsignsignature_consultationtrigger import FieldEEzsignsignatureConsultationtrigger from eZmaxApi.models.field_e_ezsignsignature_dependencyrequirement import FieldEEzsignsignatureDependencyrequirement @@ -33,15 +33,52 @@ from typing import Optional, Set from typing_extensions import Self -class EzsignsignatureRequestCompoundV2(EzsignsignatureRequest): +class EzsignsignatureRequestCompoundV2(BaseModel): """ An Ezsignsignature Object and children to create a complete structure """ # noqa: E501 + pki_ezsignsignature_id: Optional[Annotated[int, Field(strict=True, ge=0)]] = Field(default=None, description="The unique ID of the Ezsignsignature", alias="pkiEzsignsignatureID") + fki_ezsignfoldersignerassociation_id: Annotated[int, Field(strict=True, ge=0)] = Field(description="The unique ID of the Ezsignfoldersignerassociation", alias="fkiEzsignfoldersignerassociationID") + i_ezsignpage_pagenumber: Annotated[int, Field(strict=True, ge=1)] = Field(description="The page number in the Ezsigndocument", alias="iEzsignpagePagenumber") + i_ezsignsignature_x: Annotated[int, Field(strict=True, ge=0)] = Field(description="The X coordinate (Horizontal) where to put the Ezsignsignature on the page. Coordinate is calculated at 100dpi (dot per inch). So for example, if you want to put the Ezsignsignature 2 inches from the left border of the page, you would use \"200\" for the X coordinate.", alias="iEzsignsignatureX") + i_ezsignsignature_y: Annotated[int, Field(strict=True, ge=0)] = Field(description="The Y coordinate (Vertical) where to put the Ezsignsignature on the page. Coordinate is calculated at 100dpi (dot per inch). So for example, if you want to put the Ezsignsignature 3 inches from the top border of the page, you would use \"300\" for the Y coordinate.", alias="iEzsignsignatureY") + i_ezsignsignature_width: Optional[Annotated[int, Field(strict=True, ge=0)]] = Field(default=None, description="The width of the Ezsignsignature. Size is calculated at 100dpi (dot per inch). So for example, if you want the Ezsignsignature to have a width of 2 inches, you would use \"200\" for the iEzsignsignatureWidth.", alias="iEzsignsignatureWidth") + i_ezsignsignature_height: Optional[Annotated[int, Field(strict=True, ge=0)]] = Field(default=None, description="The height of the Ezsignsignature. Size is calculated at 100dpi (dot per inch). So for example, if you want the Ezsignsignature to have an height of 2 inches, you would use \"200\" for the iEzsignsignatureHeight.", alias="iEzsignsignatureHeight") + i_ezsignsignature_step: StrictInt = Field(description="The step when the Ezsignsigner will be invited to sign", alias="iEzsignsignatureStep") + e_ezsignsignature_type: FieldEEzsignsignatureType = Field(alias="eEzsignsignatureType") + fki_ezsigndocument_id: Annotated[int, Field(strict=True, ge=0)] = Field(description="The unique ID of the Ezsigndocument", alias="fkiEzsigndocumentID") + t_ezsignsignature_tooltip: Optional[StrictStr] = Field(default=None, description="A tooltip that will be presented to Ezsignsigner about the Ezsignsignature", alias="tEzsignsignatureTooltip") + e_ezsignsignature_tooltipposition: Optional[FieldEEzsignsignatureTooltipposition] = Field(default=None, alias="eEzsignsignatureTooltipposition") + e_ezsignsignature_font: Optional[FieldEEzsignsignatureFont] = Field(default=None, alias="eEzsignsignatureFont") + fki_ezsignfoldersignerassociation_id_validation: Optional[Annotated[int, Field(strict=True, ge=0)]] = Field(default=None, description="The unique ID of the Ezsignfoldersignerassociation", alias="fkiEzsignfoldersignerassociationIDValidation") + b_ezsignsignature_handwritten: Optional[StrictBool] = Field(default=None, description="Whether the Ezsignsignature must be handwritten or not when eEzsignsignatureType = Signature.", alias="bEzsignsignatureHandwritten") + b_ezsignsignature_reason: Optional[StrictBool] = Field(default=None, description="Whether the Ezsignsignature must include a reason or not when eEzsignsignatureType = Signature.", alias="bEzsignsignatureReason") + b_ezsignsignature_required: Optional[StrictBool] = Field(default=None, description="Whether the Ezsignsignature is required or not. This field is relevant only with Ezsignsignature with eEzsignsignatureType = Attachments, Text or Textarea.", alias="bEzsignsignatureRequired") + e_ezsignsignature_attachmentnamesource: Optional[FieldEEzsignsignatureAttachmentnamesource] = Field(default=None, alias="eEzsignsignatureAttachmentnamesource") + s_ezsignsignature_attachmentdescription: Optional[StrictStr] = Field(default=None, description="The description attached to the attachment name added in Ezsignsignature of eEzsignsignatureType Attachments", alias="sEzsignsignatureAttachmentdescription") + e_ezsignsignature_consultationtrigger: Optional[FieldEEzsignsignatureConsultationtrigger] = Field(default=None, alias="eEzsignsignatureConsultationtrigger") + i_ezsignsignature_validationstep: Optional[StrictInt] = Field(default=None, description="The step when the Ezsignsigner will be invited to validate the Ezsignsignature of eEzsignsignatureType Attachments", alias="iEzsignsignatureValidationstep") + i_ezsignsignature_maxlength: Optional[Annotated[int, Field(le=65535, strict=True, ge=0)]] = Field(default=None, description="The maximum length for the value in the Ezsignsignature This can only be set if eEzsignsignatureType is **FieldText** or **FieldTextarea**", alias="iEzsignsignatureMaxlength") + s_ezsignsignature_defaultvalue: Optional[StrictStr] = Field(default=None, description="The default value for the Ezsignsignature You can use the codes below and they will be replaced at signature time. | Code | Description | Example | | ------------------------- | ------------ | ------------ | | {sUserFirstname} | The first name of the contact | John | | {sUserLastname} | The last name of the contact | Doe | | {sUserJobtitle} | The job title | Sales Representative | | {sCompany} | Company name | eZmax Solutions Inc. | | {sEmailAddress} | The email address | email@example.com | | {sPhoneE164} | A phone number in E.164 Format | +15149901516 | | {sPhoneE164Cell} | A phone number in E.164 Format | +15149901516 |", alias="sEzsignsignatureDefaultvalue") + e_ezsignsignature_textvalidation: Optional[EnumTextvalidation] = Field(default=None, alias="eEzsignsignatureTextvalidation") + s_ezsignsignature_textvalidationcustommessage: Optional[Annotated[str, Field(min_length=0, strict=True, max_length=50)]] = Field(default=None, description="Description of validation rule. Show by signatory.", alias="sEzsignsignatureTextvalidationcustommessage") + s_ezsignsignature_regexp: Optional[Annotated[str, Field(strict=True)]] = Field(default=None, description="A regular expression to indicate what values are acceptable for the Ezsignsignature. This can only be set if eEzsignsignatureType is **FieldText** or **FieldTextarea** and eEzsignsignatureTextvalidation is **Custom**", alias="sEzsignsignatureRegexp") + e_ezsignsignature_dependencyrequirement: Optional[FieldEEzsignsignatureDependencyrequirement] = Field(default=None, alias="eEzsignsignatureDependencyrequirement") b_ezsignsignature_customdate: Optional[StrictBool] = Field(default=None, description="Whether the Ezsignsignature has a custom date format or not. (Only possible when eEzsignsignatureType is **Name** or **Handwritten**)", alias="bEzsignsignatureCustomdate") - a_obj_ezsignsignaturecustomdate: Optional[List[EzsignsignaturecustomdateRequestV2]] = Field(default=None, description="An array of custom date blocks that will be filled at the time of signature. Can only be used if bEzsignsignatureCustomdate is true. Use an empty array if you don't want to have a date at all.", alias="a_objEzsignsignaturecustomdate") - a_obj_ezsignelementdependency: Optional[List[EzsignelementdependencyRequest]] = Field(default=None, alias="a_objEzsignelementdependency") + a_obj_ezsignsignaturecustomdate: Optional[List[EzsignsignaturecustomdateRequestCompoundV2]] = Field(default=None, description="An array of custom date blocks that will be filled at the time of signature. Can only be used if bEzsignsignatureCustomdate is true. Use an empty array if you don't want to have a date at all.", alias="a_objEzsignsignaturecustomdate") + a_obj_ezsignelementdependency: Optional[List[EzsignelementdependencyRequestCompound]] = Field(default=None, alias="a_objEzsignelementdependency") __properties: ClassVar[List[str]] = ["pkiEzsignsignatureID", "fkiEzsignfoldersignerassociationID", "iEzsignpagePagenumber", "iEzsignsignatureX", "iEzsignsignatureY", "iEzsignsignatureWidth", "iEzsignsignatureHeight", "iEzsignsignatureStep", "eEzsignsignatureType", "fkiEzsigndocumentID", "tEzsignsignatureTooltip", "eEzsignsignatureTooltipposition", "eEzsignsignatureFont", "fkiEzsignfoldersignerassociationIDValidation", "bEzsignsignatureHandwritten", "bEzsignsignatureReason", "bEzsignsignatureRequired", "eEzsignsignatureAttachmentnamesource", "sEzsignsignatureAttachmentdescription", "eEzsignsignatureConsultationtrigger", "iEzsignsignatureValidationstep", "iEzsignsignatureMaxlength", "sEzsignsignatureDefaultvalue", "eEzsignsignatureTextvalidation", "sEzsignsignatureTextvalidationcustommessage", "sEzsignsignatureRegexp", "eEzsignsignatureDependencyrequirement", "bEzsignsignatureCustomdate", "a_objEzsignsignaturecustomdate", "a_objEzsignelementdependency"] + @field_validator('s_ezsignsignature_regexp') + def s_ezsignsignature_regexp_validate_regular_expression(cls, value): + """Validates the regular expression""" + if value is None: + return value + + if not re.match(r"^\^.*\$$|^$", value): + raise ValueError(r"must validate the regular expression /^\^.*\$$|^$/") + return value + model_config = ConfigDict( populate_by_name=True, validate_assignment=True, @@ -135,8 +172,8 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: "sEzsignsignatureRegexp": obj.get("sEzsignsignatureRegexp"), "eEzsignsignatureDependencyrequirement": obj.get("eEzsignsignatureDependencyrequirement"), "bEzsignsignatureCustomdate": obj.get("bEzsignsignatureCustomdate"), - "a_objEzsignsignaturecustomdate": [EzsignsignaturecustomdateRequestV2.from_dict(_item) for _item in obj["a_objEzsignsignaturecustomdate"]] if obj.get("a_objEzsignsignaturecustomdate") is not None else None, - "a_objEzsignelementdependency": [EzsignelementdependencyRequest.from_dict(_item) for _item in obj["a_objEzsignelementdependency"]] if obj.get("a_objEzsignelementdependency") is not None else None + "a_objEzsignsignaturecustomdate": [EzsignsignaturecustomdateRequestCompoundV2.from_dict(_item) for _item in obj["a_objEzsignsignaturecustomdate"]] if obj.get("a_objEzsignsignaturecustomdate") is not None else None, + "a_objEzsignelementdependency": [EzsignelementdependencyRequestCompound.from_dict(_item) for _item in obj["a_objEzsignelementdependency"]] if obj.get("a_objEzsignelementdependency") is not None else None }) return _obj diff --git a/eZmaxApi/models/ezsignsignature_response.py b/eZmaxApi/models/ezsignsignature_response.py index 4639d0981..c6b8743df 100644 --- a/eZmaxApi/models/ezsignsignature_response.py +++ b/eZmaxApi/models/ezsignsignature_response.py @@ -157,7 +157,53 @@ def to_dict(self) -> Dict[str, Any]: return _dict @classmethod - def from_dict(cls, obj: Dict[str, Any]) -> Optional[Self]: + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: """Create an instance of EzsignsignatureResponse from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "pkiEzsignsignatureID": obj.get("pkiEzsignsignatureID"), + "fkiEzsigndocumentID": obj.get("fkiEzsigndocumentID"), + "fkiEzsignfoldersignerassociationID": obj.get("fkiEzsignfoldersignerassociationID"), + "fkiEzsignsigningreasonID": obj.get("fkiEzsignsigningreasonID"), + "fkiFontID": obj.get("fkiFontID"), + "sEzsignsigningreasonDescriptionX": obj.get("sEzsignsigningreasonDescriptionX"), + "iEzsignpagePagenumber": obj.get("iEzsignpagePagenumber"), + "iEzsignsignatureX": obj.get("iEzsignsignatureX"), + "iEzsignsignatureY": obj.get("iEzsignsignatureY"), + "iEzsignsignatureHeight": obj.get("iEzsignsignatureHeight"), + "iEzsignsignatureWidth": obj.get("iEzsignsignatureWidth"), + "iEzsignsignatureStep": obj.get("iEzsignsignatureStep"), + "iEzsignsignatureStepadjusted": obj.get("iEzsignsignatureStepadjusted"), + "eEzsignsignatureType": obj.get("eEzsignsignatureType"), + "tEzsignsignatureTooltip": obj.get("tEzsignsignatureTooltip"), + "eEzsignsignatureTooltipposition": obj.get("eEzsignsignatureTooltipposition"), + "eEzsignsignatureFont": obj.get("eEzsignsignatureFont"), + "iEzsignsignatureValidationstep": obj.get("iEzsignsignatureValidationstep"), + "sEzsignsignatureAttachmentdescription": obj.get("sEzsignsignatureAttachmentdescription"), + "eEzsignsignatureAttachmentnamesource": obj.get("eEzsignsignatureAttachmentnamesource"), + "eEzsignsignatureConsultationtrigger": obj.get("eEzsignsignatureConsultationtrigger"), + "bEzsignsignatureHandwritten": obj.get("bEzsignsignatureHandwritten"), + "bEzsignsignatureReason": obj.get("bEzsignsignatureReason"), + "bEzsignsignatureRequired": obj.get("bEzsignsignatureRequired"), + "fkiEzsignfoldersignerassociationIDValidation": obj.get("fkiEzsignfoldersignerassociationIDValidation"), + "dtEzsignsignatureDate": obj.get("dtEzsignsignatureDate"), + "iEzsignsignatureattachmentCount": obj.get("iEzsignsignatureattachmentCount"), + "sEzsignsignatureDescription": obj.get("sEzsignsignatureDescription"), + "iEzsignsignatureMaxlength": obj.get("iEzsignsignatureMaxlength"), + "eEzsignsignatureTextvalidation": obj.get("eEzsignsignatureTextvalidation"), + "sEzsignsignatureTextvalidationcustommessage": obj.get("sEzsignsignatureTextvalidationcustommessage"), + "eEzsignsignatureDependencyrequirement": obj.get("eEzsignsignatureDependencyrequirement"), + "sEzsignsignatureDefaultvalue": obj.get("sEzsignsignatureDefaultvalue"), + "sEzsignsignatureRegexp": obj.get("sEzsignsignatureRegexp"), + "objContactName": CustomContactNameResponse.from_dict(obj["objContactName"]) if obj.get("objContactName") is not None else None, + "objContactNameDelegation": CustomContactNameResponse.from_dict(obj["objContactNameDelegation"]) if obj.get("objContactNameDelegation") is not None else None, + "objSignature": SignatureResponseCompound.from_dict(obj["objSignature"]) if obj.get("objSignature") is not None else None + }) + return _obj diff --git a/eZmaxApi/models/ezsignsignature_response_compound.py b/eZmaxApi/models/ezsignsignature_response_compound.py index c3cfbacdd..fc6264dc1 100644 --- a/eZmaxApi/models/ezsignsignature_response_compound.py +++ b/eZmaxApi/models/ezsignsignature_response_compound.py @@ -18,16 +18,15 @@ import re # noqa: F401 import json -from pydantic import ConfigDict, Field, StrictBool, field_validator +from pydantic import BaseModel, ConfigDict, Field, StrictBool, StrictInt, StrictStr, field_validator from typing import Any, ClassVar, Dict, List, Optional from typing_extensions import Annotated from eZmaxApi.models.custom_contact_name_response import CustomContactNameResponse from eZmaxApi.models.custom_creditcardtransaction_response import CustomCreditcardtransactionResponse from eZmaxApi.models.custom_timezone_with_code_response import CustomTimezoneWithCodeResponse from eZmaxApi.models.enum_textvalidation import EnumTextvalidation -from eZmaxApi.models.ezsignelementdependency_response import EzsignelementdependencyResponse -from eZmaxApi.models.ezsignsignature_response import EzsignsignatureResponse -from eZmaxApi.models.ezsignsignaturecustomdate_response import EzsignsignaturecustomdateResponse +from eZmaxApi.models.ezsignelementdependency_response_compound import EzsignelementdependencyResponseCompound +from eZmaxApi.models.ezsignsignaturecustomdate_response_compound import EzsignsignaturecustomdateResponseCompound from eZmaxApi.models.field_e_ezsignsignature_attachmentnamesource import FieldEEzsignsignatureAttachmentnamesource from eZmaxApi.models.field_e_ezsignsignature_consultationtrigger import FieldEEzsignsignatureConsultationtrigger from eZmaxApi.models.field_e_ezsignsignature_dependencyrequirement import FieldEEzsignsignatureDependencyrequirement @@ -38,18 +37,85 @@ from typing import Optional, Set from typing_extensions import Self -class EzsignsignatureResponseCompound(EzsignsignatureResponse): +class EzsignsignatureResponseCompound(BaseModel): """ An Ezsignsignature Object and children to create a complete structure """ # noqa: E501 + pki_ezsignsignature_id: Annotated[int, Field(strict=True, ge=0)] = Field(description="The unique ID of the Ezsignsignature", alias="pkiEzsignsignatureID") + fki_ezsigndocument_id: Annotated[int, Field(strict=True, ge=0)] = Field(description="The unique ID of the Ezsigndocument", alias="fkiEzsigndocumentID") + fki_ezsignfoldersignerassociation_id: Annotated[int, Field(strict=True, ge=0)] = Field(description="The unique ID of the Ezsignfoldersignerassociation", alias="fkiEzsignfoldersignerassociationID") + fki_ezsignsigningreason_id: Optional[Annotated[int, Field(le=255, strict=True, ge=0)]] = Field(default=None, description="The unique ID of the Ezsignsigningreason", alias="fkiEzsignsigningreasonID") + fki_font_id: Optional[Annotated[int, Field(strict=True, ge=0)]] = Field(default=None, description="The unique ID of the Font", alias="fkiFontID") + s_ezsignsigningreason_description_x: Optional[Annotated[str, Field(strict=True)]] = Field(default=None, description="The description of the Ezsignsigningreason in the language of the requester", alias="sEzsignsigningreasonDescriptionX") + i_ezsignpage_pagenumber: Annotated[int, Field(strict=True, ge=1)] = Field(description="The page number in the Ezsigndocument", alias="iEzsignpagePagenumber") + i_ezsignsignature_x: Annotated[int, Field(strict=True, ge=0)] = Field(description="The X coordinate (Horizontal) where to put the Ezsignsignature on the page. Coordinate is calculated at 100dpi (dot per inch). So for example, if you want to put the Ezsignsignature 2 inches from the left border of the page, you would use \"200\" for the X coordinate.", alias="iEzsignsignatureX") + i_ezsignsignature_y: Annotated[int, Field(strict=True, ge=0)] = Field(description="The Y coordinate (Vertical) where to put the Ezsignsignature on the page. Coordinate is calculated at 100dpi (dot per inch). So for example, if you want to put the Ezsignsignature 3 inches from the top border of the page, you would use \"300\" for the Y coordinate.", alias="iEzsignsignatureY") + i_ezsignsignature_height: Optional[Annotated[int, Field(strict=True, ge=0)]] = Field(default=None, description="The height of the Ezsignsignature. Size is calculated at 100dpi (dot per inch). So for example, if you want the Ezsignsignature to have an height of 2 inches, you would use \"200\" for the iEzsignsignatureHeight.", alias="iEzsignsignatureHeight") + i_ezsignsignature_width: Optional[Annotated[int, Field(strict=True, ge=0)]] = Field(default=None, description="The width of the Ezsignsignature. Size is calculated at 100dpi (dot per inch). So for example, if you want the Ezsignsignature to have a width of 2 inches, you would use \"200\" for the iEzsignsignatureWidth.", alias="iEzsignsignatureWidth") + i_ezsignsignature_step: StrictInt = Field(description="The step when the Ezsignsigner will be invited to sign", alias="iEzsignsignatureStep") + i_ezsignsignature_stepadjusted: Optional[StrictInt] = Field(default=None, description="The step when the Ezsignsigner will be invited to sign", alias="iEzsignsignatureStepadjusted") + e_ezsignsignature_type: FieldEEzsignsignatureType = Field(alias="eEzsignsignatureType") + t_ezsignsignature_tooltip: Optional[StrictStr] = Field(default=None, description="A tooltip that will be presented to Ezsignsigner about the Ezsignsignature", alias="tEzsignsignatureTooltip") + e_ezsignsignature_tooltipposition: Optional[FieldEEzsignsignatureTooltipposition] = Field(default=None, alias="eEzsignsignatureTooltipposition") + e_ezsignsignature_font: Optional[FieldEEzsignsignatureFont] = Field(default=None, alias="eEzsignsignatureFont") + i_ezsignsignature_validationstep: Optional[StrictInt] = Field(default=None, description="The step when the Ezsignsigner will be invited to validate the Ezsignsignature of eEzsignsignatureType Attachments", alias="iEzsignsignatureValidationstep") + s_ezsignsignature_attachmentdescription: Optional[StrictStr] = Field(default=None, description="The description attached to the attachment name added in Ezsignsignature of eEzsignsignatureType Attachments", alias="sEzsignsignatureAttachmentdescription") + e_ezsignsignature_attachmentnamesource: Optional[FieldEEzsignsignatureAttachmentnamesource] = Field(default=None, alias="eEzsignsignatureAttachmentnamesource") + e_ezsignsignature_consultationtrigger: Optional[FieldEEzsignsignatureConsultationtrigger] = Field(default=None, alias="eEzsignsignatureConsultationtrigger") + b_ezsignsignature_handwritten: Optional[StrictBool] = Field(default=None, description="Whether the Ezsignsignature must be handwritten or not when eEzsignsignatureType = Signature.", alias="bEzsignsignatureHandwritten") + b_ezsignsignature_reason: Optional[StrictBool] = Field(default=None, description="Whether the Ezsignsignature must include a reason or not when eEzsignsignatureType = Signature.", alias="bEzsignsignatureReason") + b_ezsignsignature_required: Optional[StrictBool] = Field(default=None, description="Whether the Ezsignsignature is required or not. This field is relevant only with Ezsignsignature with eEzsignsignatureType = Attachments, Text or Textarea.", alias="bEzsignsignatureRequired") + fki_ezsignfoldersignerassociation_id_validation: Optional[Annotated[int, Field(strict=True, ge=0)]] = Field(default=None, description="The unique ID of the Ezsignfoldersignerassociation", alias="fkiEzsignfoldersignerassociationIDValidation") + dt_ezsignsignature_date: Optional[Annotated[str, Field(strict=True)]] = Field(default=None, description="The date the Ezsignsignature was signed", alias="dtEzsignsignatureDate") + i_ezsignsignatureattachment_count: Optional[StrictInt] = Field(default=None, description="The count of Ezsignsignatureattachment", alias="iEzsignsignatureattachmentCount") + s_ezsignsignature_description: Optional[StrictStr] = Field(default=None, description="The value entered while signing Ezsignsignature of eEzsignsignatureType **City**, **FieldText** and **FieldTextarea**", alias="sEzsignsignatureDescription") + i_ezsignsignature_maxlength: Optional[Annotated[int, Field(le=65535, strict=True, ge=0)]] = Field(default=None, description="The maximum length for the value in the Ezsignsignature This can only be set if eEzsignsignatureType is **FieldText** or **FieldTextarea**", alias="iEzsignsignatureMaxlength") + e_ezsignsignature_textvalidation: Optional[EnumTextvalidation] = Field(default=None, alias="eEzsignsignatureTextvalidation") + s_ezsignsignature_textvalidationcustommessage: Optional[Annotated[str, Field(min_length=0, strict=True, max_length=50)]] = Field(default=None, description="Description of validation rule. Show by signatory.", alias="sEzsignsignatureTextvalidationcustommessage") + e_ezsignsignature_dependencyrequirement: Optional[FieldEEzsignsignatureDependencyrequirement] = Field(default=None, alias="eEzsignsignatureDependencyrequirement") + s_ezsignsignature_defaultvalue: Optional[StrictStr] = Field(default=None, description="The default value for the Ezsignsignature You can use the codes below and they will be replaced at signature time. | Code | Description | Example | | ------------------------- | ------------ | ------------ | | {sUserFirstname} | The first name of the contact | John | | {sUserLastname} | The last name of the contact | Doe | | {sUserJobtitle} | The job title | Sales Representative | | {sCompany} | Company name | eZmax Solutions Inc. | | {sEmailAddress} | The email address | email@example.com | | {sPhoneE164} | A phone number in E.164 Format | +15149901516 | | {sPhoneE164Cell} | A phone number in E.164 Format | +15149901516 |", alias="sEzsignsignatureDefaultvalue") + s_ezsignsignature_regexp: Optional[Annotated[str, Field(strict=True)]] = Field(default=None, description="A regular expression to indicate what values are acceptable for the Ezsignsignature. This can only be set if eEzsignsignatureType is **FieldText** or **FieldTextarea** and eEzsignsignatureTextvalidation is **Custom**", alias="sEzsignsignatureRegexp") + obj_contact_name: CustomContactNameResponse = Field(alias="objContactName") + obj_contact_name_delegation: Optional[CustomContactNameResponse] = Field(default=None, alias="objContactNameDelegation") + obj_signature: Optional[SignatureResponseCompound] = Field(default=None, alias="objSignature") dt_ezsignsignature_date_in_folder_timezone: Optional[Annotated[str, Field(strict=True)]] = Field(default=None, description="The date the Ezsignsignature was signed in folder's timezone", alias="dtEzsignsignatureDateInFolderTimezone") b_ezsignsignature_customdate: Optional[StrictBool] = Field(default=None, description="Whether the Ezsignsignature has a custom date format or not. (Only possible when eEzsignsignatureType is **Name** or **Handwritten**)", alias="bEzsignsignatureCustomdate") - a_obj_ezsignsignaturecustomdate: Optional[List[EzsignsignaturecustomdateResponse]] = Field(default=None, description="An array of custom date blocks that will be filled at the time of signature. Can only be used if bEzsignsignatureCustomdate is true. Use an empty array if you don't want to have a date at all.", alias="a_objEzsignsignaturecustomdate") + a_obj_ezsignsignaturecustomdate: Optional[List[EzsignsignaturecustomdateResponseCompound]] = Field(default=None, description="An array of custom date blocks that will be filled at the time of signature. Can only be used if bEzsignsignatureCustomdate is true. Use an empty array if you don't want to have a date at all.", alias="a_objEzsignsignaturecustomdate") obj_creditcardtransaction: Optional[CustomCreditcardtransactionResponse] = Field(default=None, alias="objCreditcardtransaction") - a_obj_ezsignelementdependency: Optional[List[EzsignelementdependencyResponse]] = Field(default=None, alias="a_objEzsignelementdependency") + a_obj_ezsignelementdependency: Optional[List[EzsignelementdependencyResponseCompound]] = Field(default=None, alias="a_objEzsignelementdependency") obj_timezone: Optional[CustomTimezoneWithCodeResponse] = Field(default=None, alias="objTimezone") __properties: ClassVar[List[str]] = ["pkiEzsignsignatureID", "fkiEzsigndocumentID", "fkiEzsignfoldersignerassociationID", "fkiEzsignsigningreasonID", "fkiFontID", "sEzsignsigningreasonDescriptionX", "iEzsignpagePagenumber", "iEzsignsignatureX", "iEzsignsignatureY", "iEzsignsignatureHeight", "iEzsignsignatureWidth", "iEzsignsignatureStep", "iEzsignsignatureStepadjusted", "eEzsignsignatureType", "tEzsignsignatureTooltip", "eEzsignsignatureTooltipposition", "eEzsignsignatureFont", "iEzsignsignatureValidationstep", "sEzsignsignatureAttachmentdescription", "eEzsignsignatureAttachmentnamesource", "eEzsignsignatureConsultationtrigger", "bEzsignsignatureHandwritten", "bEzsignsignatureReason", "bEzsignsignatureRequired", "fkiEzsignfoldersignerassociationIDValidation", "dtEzsignsignatureDate", "iEzsignsignatureattachmentCount", "sEzsignsignatureDescription", "iEzsignsignatureMaxlength", "eEzsignsignatureTextvalidation", "sEzsignsignatureTextvalidationcustommessage", "eEzsignsignatureDependencyrequirement", "sEzsignsignatureDefaultvalue", "sEzsignsignatureRegexp", "objContactName", "objContactNameDelegation", "objSignature", "dtEzsignsignatureDateInFolderTimezone", "bEzsignsignatureCustomdate", "a_objEzsignsignaturecustomdate", "objCreditcardtransaction", "a_objEzsignelementdependency", "objTimezone"] + @field_validator('s_ezsignsigningreason_description_x') + def s_ezsignsigningreason_description_x_validate_regular_expression(cls, value): + """Validates the regular expression""" + if value is None: + return value + + if not re.match(r"^.{0,50}$", value): + raise ValueError(r"must validate the regular expression /^.{0,50}$/") + return value + + @field_validator('dt_ezsignsignature_date') + def dt_ezsignsignature_date_validate_regular_expression(cls, value): + """Validates the regular expression""" + if value is None: + return value + + if not re.match(r"^[0-9]{4}-(0[1-9]|1[0-2])-(0[1-9]|[1-2][0-9]|3[0-1]) ([01]?[0-9]|2[0-3]):([0-5][0-9]):([0-5][0-9])$", value): + raise ValueError(r"must validate the regular expression /^[0-9]{4}-(0[1-9]|1[0-2])-(0[1-9]|[1-2][0-9]|3[0-1]) ([01]?[0-9]|2[0-3]):([0-5][0-9]):([0-5][0-9])$/") + return value + + @field_validator('s_ezsignsignature_regexp') + def s_ezsignsignature_regexp_validate_regular_expression(cls, value): + """Validates the regular expression""" + if value is None: + return value + + if not re.match(r"^\^.*\$$|^$", value): + raise ValueError(r"must validate the regular expression /^\^.*\$$|^$/") + return value + @field_validator('dt_ezsignsignature_date_in_folder_timezone') def dt_ezsignsignature_date_in_folder_timezone_validate_regular_expression(cls, value): """Validates the regular expression""" @@ -179,9 +245,9 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: "objSignature": SignatureResponseCompound.from_dict(obj["objSignature"]) if obj.get("objSignature") is not None else None, "dtEzsignsignatureDateInFolderTimezone": obj.get("dtEzsignsignatureDateInFolderTimezone"), "bEzsignsignatureCustomdate": obj.get("bEzsignsignatureCustomdate"), - "a_objEzsignsignaturecustomdate": [EzsignsignaturecustomdateResponse.from_dict(_item) for _item in obj["a_objEzsignsignaturecustomdate"]] if obj.get("a_objEzsignsignaturecustomdate") is not None else None, + "a_objEzsignsignaturecustomdate": [EzsignsignaturecustomdateResponseCompound.from_dict(_item) for _item in obj["a_objEzsignsignaturecustomdate"]] if obj.get("a_objEzsignsignaturecustomdate") is not None else None, "objCreditcardtransaction": CustomCreditcardtransactionResponse.from_dict(obj["objCreditcardtransaction"]) if obj.get("objCreditcardtransaction") is not None else None, - "a_objEzsignelementdependency": [EzsignelementdependencyResponse.from_dict(_item) for _item in obj["a_objEzsignelementdependency"]] if obj.get("a_objEzsignelementdependency") is not None else None, + "a_objEzsignelementdependency": [EzsignelementdependencyResponseCompound.from_dict(_item) for _item in obj["a_objEzsignelementdependency"]] if obj.get("a_objEzsignelementdependency") is not None else None, "objTimezone": CustomTimezoneWithCodeResponse.from_dict(obj["objTimezone"]) if obj.get("objTimezone") is not None else None }) return _obj diff --git a/eZmaxApi/models/ezsignsignature_response_compound_v3.py b/eZmaxApi/models/ezsignsignature_response_compound_v3.py index 6dae8f126..4436f7362 100644 --- a/eZmaxApi/models/ezsignsignature_response_compound_v3.py +++ b/eZmaxApi/models/ezsignsignature_response_compound_v3.py @@ -18,14 +18,14 @@ import re # noqa: F401 import json -from pydantic import ConfigDict, Field, StrictBool +from pydantic import BaseModel, ConfigDict, Field, StrictBool, StrictInt, StrictStr, field_validator from typing import Any, ClassVar, Dict, List, Optional +from typing_extensions import Annotated from eZmaxApi.models.custom_contact_name_response import CustomContactNameResponse from eZmaxApi.models.custom_creditcardtransaction_response import CustomCreditcardtransactionResponse from eZmaxApi.models.enum_textvalidation import EnumTextvalidation -from eZmaxApi.models.ezsignelementdependency_response import EzsignelementdependencyResponse -from eZmaxApi.models.ezsignsignature_response import EzsignsignatureResponse -from eZmaxApi.models.ezsignsignaturecustomdate_response_v2 import EzsignsignaturecustomdateResponseV2 +from eZmaxApi.models.ezsignelementdependency_response_compound import EzsignelementdependencyResponseCompound +from eZmaxApi.models.ezsignsignaturecustomdate_response_compound_v2 import EzsignsignaturecustomdateResponseCompoundV2 from eZmaxApi.models.field_e_ezsignsignature_attachmentnamesource import FieldEEzsignsignatureAttachmentnamesource from eZmaxApi.models.field_e_ezsignsignature_consultationtrigger import FieldEEzsignsignatureConsultationtrigger from eZmaxApi.models.field_e_ezsignsignature_dependencyrequirement import FieldEEzsignsignatureDependencyrequirement @@ -36,16 +36,83 @@ from typing import Optional, Set from typing_extensions import Self -class EzsignsignatureResponseCompoundV3(EzsignsignatureResponse): +class EzsignsignatureResponseCompoundV3(BaseModel): """ An Ezsignsignature Object and children to create a complete structure """ # noqa: E501 + pki_ezsignsignature_id: Annotated[int, Field(strict=True, ge=0)] = Field(description="The unique ID of the Ezsignsignature", alias="pkiEzsignsignatureID") + fki_ezsigndocument_id: Annotated[int, Field(strict=True, ge=0)] = Field(description="The unique ID of the Ezsigndocument", alias="fkiEzsigndocumentID") + fki_ezsignfoldersignerassociation_id: Annotated[int, Field(strict=True, ge=0)] = Field(description="The unique ID of the Ezsignfoldersignerassociation", alias="fkiEzsignfoldersignerassociationID") + fki_ezsignsigningreason_id: Optional[Annotated[int, Field(le=255, strict=True, ge=0)]] = Field(default=None, description="The unique ID of the Ezsignsigningreason", alias="fkiEzsignsigningreasonID") + fki_font_id: Optional[Annotated[int, Field(strict=True, ge=0)]] = Field(default=None, description="The unique ID of the Font", alias="fkiFontID") + s_ezsignsigningreason_description_x: Optional[Annotated[str, Field(strict=True)]] = Field(default=None, description="The description of the Ezsignsigningreason in the language of the requester", alias="sEzsignsigningreasonDescriptionX") + i_ezsignpage_pagenumber: Annotated[int, Field(strict=True, ge=1)] = Field(description="The page number in the Ezsigndocument", alias="iEzsignpagePagenumber") + i_ezsignsignature_x: Annotated[int, Field(strict=True, ge=0)] = Field(description="The X coordinate (Horizontal) where to put the Ezsignsignature on the page. Coordinate is calculated at 100dpi (dot per inch). So for example, if you want to put the Ezsignsignature 2 inches from the left border of the page, you would use \"200\" for the X coordinate.", alias="iEzsignsignatureX") + i_ezsignsignature_y: Annotated[int, Field(strict=True, ge=0)] = Field(description="The Y coordinate (Vertical) where to put the Ezsignsignature on the page. Coordinate is calculated at 100dpi (dot per inch). So for example, if you want to put the Ezsignsignature 3 inches from the top border of the page, you would use \"300\" for the Y coordinate.", alias="iEzsignsignatureY") + i_ezsignsignature_height: Optional[Annotated[int, Field(strict=True, ge=0)]] = Field(default=None, description="The height of the Ezsignsignature. Size is calculated at 100dpi (dot per inch). So for example, if you want the Ezsignsignature to have an height of 2 inches, you would use \"200\" for the iEzsignsignatureHeight.", alias="iEzsignsignatureHeight") + i_ezsignsignature_width: Optional[Annotated[int, Field(strict=True, ge=0)]] = Field(default=None, description="The width of the Ezsignsignature. Size is calculated at 100dpi (dot per inch). So for example, if you want the Ezsignsignature to have a width of 2 inches, you would use \"200\" for the iEzsignsignatureWidth.", alias="iEzsignsignatureWidth") + i_ezsignsignature_step: StrictInt = Field(description="The step when the Ezsignsigner will be invited to sign", alias="iEzsignsignatureStep") + i_ezsignsignature_stepadjusted: Optional[StrictInt] = Field(default=None, description="The step when the Ezsignsigner will be invited to sign", alias="iEzsignsignatureStepadjusted") + e_ezsignsignature_type: FieldEEzsignsignatureType = Field(alias="eEzsignsignatureType") + t_ezsignsignature_tooltip: Optional[StrictStr] = Field(default=None, description="A tooltip that will be presented to Ezsignsigner about the Ezsignsignature", alias="tEzsignsignatureTooltip") + e_ezsignsignature_tooltipposition: Optional[FieldEEzsignsignatureTooltipposition] = Field(default=None, alias="eEzsignsignatureTooltipposition") + e_ezsignsignature_font: Optional[FieldEEzsignsignatureFont] = Field(default=None, alias="eEzsignsignatureFont") + i_ezsignsignature_validationstep: Optional[StrictInt] = Field(default=None, description="The step when the Ezsignsigner will be invited to validate the Ezsignsignature of eEzsignsignatureType Attachments", alias="iEzsignsignatureValidationstep") + s_ezsignsignature_attachmentdescription: Optional[StrictStr] = Field(default=None, description="The description attached to the attachment name added in Ezsignsignature of eEzsignsignatureType Attachments", alias="sEzsignsignatureAttachmentdescription") + e_ezsignsignature_attachmentnamesource: Optional[FieldEEzsignsignatureAttachmentnamesource] = Field(default=None, alias="eEzsignsignatureAttachmentnamesource") + e_ezsignsignature_consultationtrigger: Optional[FieldEEzsignsignatureConsultationtrigger] = Field(default=None, alias="eEzsignsignatureConsultationtrigger") + b_ezsignsignature_handwritten: Optional[StrictBool] = Field(default=None, description="Whether the Ezsignsignature must be handwritten or not when eEzsignsignatureType = Signature.", alias="bEzsignsignatureHandwritten") + b_ezsignsignature_reason: Optional[StrictBool] = Field(default=None, description="Whether the Ezsignsignature must include a reason or not when eEzsignsignatureType = Signature.", alias="bEzsignsignatureReason") + b_ezsignsignature_required: Optional[StrictBool] = Field(default=None, description="Whether the Ezsignsignature is required or not. This field is relevant only with Ezsignsignature with eEzsignsignatureType = Attachments, Text or Textarea.", alias="bEzsignsignatureRequired") + fki_ezsignfoldersignerassociation_id_validation: Optional[Annotated[int, Field(strict=True, ge=0)]] = Field(default=None, description="The unique ID of the Ezsignfoldersignerassociation", alias="fkiEzsignfoldersignerassociationIDValidation") + dt_ezsignsignature_date: Optional[Annotated[str, Field(strict=True)]] = Field(default=None, description="The date the Ezsignsignature was signed", alias="dtEzsignsignatureDate") + i_ezsignsignatureattachment_count: Optional[StrictInt] = Field(default=None, description="The count of Ezsignsignatureattachment", alias="iEzsignsignatureattachmentCount") + s_ezsignsignature_description: Optional[StrictStr] = Field(default=None, description="The value entered while signing Ezsignsignature of eEzsignsignatureType **City**, **FieldText** and **FieldTextarea**", alias="sEzsignsignatureDescription") + i_ezsignsignature_maxlength: Optional[Annotated[int, Field(le=65535, strict=True, ge=0)]] = Field(default=None, description="The maximum length for the value in the Ezsignsignature This can only be set if eEzsignsignatureType is **FieldText** or **FieldTextarea**", alias="iEzsignsignatureMaxlength") + e_ezsignsignature_textvalidation: Optional[EnumTextvalidation] = Field(default=None, alias="eEzsignsignatureTextvalidation") + s_ezsignsignature_textvalidationcustommessage: Optional[Annotated[str, Field(min_length=0, strict=True, max_length=50)]] = Field(default=None, description="Description of validation rule. Show by signatory.", alias="sEzsignsignatureTextvalidationcustommessage") + e_ezsignsignature_dependencyrequirement: Optional[FieldEEzsignsignatureDependencyrequirement] = Field(default=None, alias="eEzsignsignatureDependencyrequirement") + s_ezsignsignature_defaultvalue: Optional[StrictStr] = Field(default=None, description="The default value for the Ezsignsignature You can use the codes below and they will be replaced at signature time. | Code | Description | Example | | ------------------------- | ------------ | ------------ | | {sUserFirstname} | The first name of the contact | John | | {sUserLastname} | The last name of the contact | Doe | | {sUserJobtitle} | The job title | Sales Representative | | {sCompany} | Company name | eZmax Solutions Inc. | | {sEmailAddress} | The email address | email@example.com | | {sPhoneE164} | A phone number in E.164 Format | +15149901516 | | {sPhoneE164Cell} | A phone number in E.164 Format | +15149901516 |", alias="sEzsignsignatureDefaultvalue") + s_ezsignsignature_regexp: Optional[Annotated[str, Field(strict=True)]] = Field(default=None, description="A regular expression to indicate what values are acceptable for the Ezsignsignature. This can only be set if eEzsignsignatureType is **FieldText** or **FieldTextarea** and eEzsignsignatureTextvalidation is **Custom**", alias="sEzsignsignatureRegexp") + obj_contact_name: CustomContactNameResponse = Field(alias="objContactName") + obj_contact_name_delegation: Optional[CustomContactNameResponse] = Field(default=None, alias="objContactNameDelegation") + obj_signature: Optional[SignatureResponseCompound] = Field(default=None, alias="objSignature") b_ezsignsignature_customdate: Optional[StrictBool] = Field(default=None, description="Whether the Ezsignsignature has a custom date format or not. (Only possible when eEzsignsignatureType is **Name** or **Handwritten**)", alias="bEzsignsignatureCustomdate") - a_obj_ezsignsignaturecustomdate: Optional[List[EzsignsignaturecustomdateResponseV2]] = Field(default=None, description="An array of custom date blocks that will be filled at the time of signature. Can only be used if bEzsignsignatureCustomdate is true. Use an empty array if you don't want to have a date at all.", alias="a_objEzsignsignaturecustomdate") + a_obj_ezsignsignaturecustomdate: Optional[List[EzsignsignaturecustomdateResponseCompoundV2]] = Field(default=None, description="An array of custom date blocks that will be filled at the time of signature. Can only be used if bEzsignsignatureCustomdate is true. Use an empty array if you don't want to have a date at all.", alias="a_objEzsignsignaturecustomdate") obj_creditcardtransaction: Optional[CustomCreditcardtransactionResponse] = Field(default=None, alias="objCreditcardtransaction") - a_obj_ezsignelementdependency: Optional[List[EzsignelementdependencyResponse]] = Field(default=None, alias="a_objEzsignelementdependency") + a_obj_ezsignelementdependency: Optional[List[EzsignelementdependencyResponseCompound]] = Field(default=None, alias="a_objEzsignelementdependency") __properties: ClassVar[List[str]] = ["pkiEzsignsignatureID", "fkiEzsigndocumentID", "fkiEzsignfoldersignerassociationID", "fkiEzsignsigningreasonID", "fkiFontID", "sEzsignsigningreasonDescriptionX", "iEzsignpagePagenumber", "iEzsignsignatureX", "iEzsignsignatureY", "iEzsignsignatureHeight", "iEzsignsignatureWidth", "iEzsignsignatureStep", "iEzsignsignatureStepadjusted", "eEzsignsignatureType", "tEzsignsignatureTooltip", "eEzsignsignatureTooltipposition", "eEzsignsignatureFont", "iEzsignsignatureValidationstep", "sEzsignsignatureAttachmentdescription", "eEzsignsignatureAttachmentnamesource", "eEzsignsignatureConsultationtrigger", "bEzsignsignatureHandwritten", "bEzsignsignatureReason", "bEzsignsignatureRequired", "fkiEzsignfoldersignerassociationIDValidation", "dtEzsignsignatureDate", "iEzsignsignatureattachmentCount", "sEzsignsignatureDescription", "iEzsignsignatureMaxlength", "eEzsignsignatureTextvalidation", "sEzsignsignatureTextvalidationcustommessage", "eEzsignsignatureDependencyrequirement", "sEzsignsignatureDefaultvalue", "sEzsignsignatureRegexp", "objContactName", "objContactNameDelegation", "objSignature", "bEzsignsignatureCustomdate", "a_objEzsignsignaturecustomdate", "objCreditcardtransaction", "a_objEzsignelementdependency"] + @field_validator('s_ezsignsigningreason_description_x') + def s_ezsignsigningreason_description_x_validate_regular_expression(cls, value): + """Validates the regular expression""" + if value is None: + return value + + if not re.match(r"^.{0,50}$", value): + raise ValueError(r"must validate the regular expression /^.{0,50}$/") + return value + + @field_validator('dt_ezsignsignature_date') + def dt_ezsignsignature_date_validate_regular_expression(cls, value): + """Validates the regular expression""" + if value is None: + return value + + if not re.match(r"^[0-9]{4}-(0[1-9]|1[0-2])-(0[1-9]|[1-2][0-9]|3[0-1]) ([01]?[0-9]|2[0-3]):([0-5][0-9]):([0-5][0-9])$", value): + raise ValueError(r"must validate the regular expression /^[0-9]{4}-(0[1-9]|1[0-2])-(0[1-9]|[1-2][0-9]|3[0-1]) ([01]?[0-9]|2[0-3]):([0-5][0-9]):([0-5][0-9])$/") + return value + + @field_validator('s_ezsignsignature_regexp') + def s_ezsignsignature_regexp_validate_regular_expression(cls, value): + """Validates the regular expression""" + if value is None: + return value + + if not re.match(r"^\^.*\$$|^$", value): + raise ValueError(r"must validate the regular expression /^\^.*\$$|^$/") + return value + model_config = ConfigDict( populate_by_name=True, validate_assignment=True, @@ -161,9 +228,9 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: "objContactNameDelegation": CustomContactNameResponse.from_dict(obj["objContactNameDelegation"]) if obj.get("objContactNameDelegation") is not None else None, "objSignature": SignatureResponseCompound.from_dict(obj["objSignature"]) if obj.get("objSignature") is not None else None, "bEzsignsignatureCustomdate": obj.get("bEzsignsignatureCustomdate"), - "a_objEzsignsignaturecustomdate": [EzsignsignaturecustomdateResponseV2.from_dict(_item) for _item in obj["a_objEzsignsignaturecustomdate"]] if obj.get("a_objEzsignsignaturecustomdate") is not None else None, + "a_objEzsignsignaturecustomdate": [EzsignsignaturecustomdateResponseCompoundV2.from_dict(_item) for _item in obj["a_objEzsignsignaturecustomdate"]] if obj.get("a_objEzsignsignaturecustomdate") is not None else None, "objCreditcardtransaction": CustomCreditcardtransactionResponse.from_dict(obj["objCreditcardtransaction"]) if obj.get("objCreditcardtransaction") is not None else None, - "a_objEzsignelementdependency": [EzsignelementdependencyResponse.from_dict(_item) for _item in obj["a_objEzsignelementdependency"]] if obj.get("a_objEzsignelementdependency") is not None else None + "a_objEzsignelementdependency": [EzsignelementdependencyResponseCompound.from_dict(_item) for _item in obj["a_objEzsignelementdependency"]] if obj.get("a_objEzsignelementdependency") is not None else None }) return _obj diff --git a/eZmaxApi/models/ezsignsignature_sign_v1_response.py b/eZmaxApi/models/ezsignsignature_sign_v1_response.py index bca52bf74..3cd061572 100644 --- a/eZmaxApi/models/ezsignsignature_sign_v1_response.py +++ b/eZmaxApi/models/ezsignsignature_sign_v1_response.py @@ -18,19 +18,20 @@ import re # noqa: F401 import json -from pydantic import ConfigDict, Field -from typing import Any, ClassVar, Dict, List -from eZmaxApi.models.common_response import CommonResponse +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List, Optional from eZmaxApi.models.common_response_obj_debug import CommonResponseObjDebug from eZmaxApi.models.common_response_obj_debug_payload import CommonResponseObjDebugPayload from eZmaxApi.models.ezsignsignature_sign_v1_response_m_payload import EzsignsignatureSignV1ResponseMPayload from typing import Optional, Set from typing_extensions import Self -class EzsignsignatureSignV1Response(CommonResponse): +class EzsignsignatureSignV1Response(BaseModel): """ Response for POST /1/object/ezsignsignature/{pkiEzsignsignatureID}/sign """ # noqa: E501 + obj_debug_payload: CommonResponseObjDebugPayload = Field(alias="objDebugPayload") + obj_debug: Optional[CommonResponseObjDebug] = Field(default=None, alias="objDebug") m_payload: EzsignsignatureSignV1ResponseMPayload = Field(alias="mPayload") __properties: ClassVar[List[str]] = ["objDebugPayload", "objDebug", "mPayload"] diff --git a/eZmaxApi/models/ezsignsigner_request.py b/eZmaxApi/models/ezsignsigner_request.py index 44d0e4d1c..d31778285 100644 --- a/eZmaxApi/models/ezsignsigner_request.py +++ b/eZmaxApi/models/ezsignsigner_request.py @@ -87,7 +87,21 @@ def to_dict(self) -> Dict[str, Any]: return _dict @classmethod - def from_dict(cls, obj: Dict[str, Any]) -> Optional[Self]: + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: """Create an instance of EzsignsignerRequest from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "fkiUserlogintypeID": obj.get("fkiUserlogintypeID"), + "fkiTaxassignmentID": obj.get("fkiTaxassignmentID"), + "fkiSecretquestionID": obj.get("fkiSecretquestionID"), + "eEzsignsignerLogintype": obj.get("eEzsignsignerLogintype"), + "sEzsignsignerSecretanswer": obj.get("sEzsignsignerSecretanswer") + }) + return _obj diff --git a/eZmaxApi/models/ezsignsigner_request_compound.py b/eZmaxApi/models/ezsignsigner_request_compound.py index 1ae4416e9..b0808fd07 100644 --- a/eZmaxApi/models/ezsignsigner_request_compound.py +++ b/eZmaxApi/models/ezsignsigner_request_compound.py @@ -18,20 +18,35 @@ import re # noqa: F401 import json -from pydantic import ConfigDict, Field -from typing import Any, ClassVar, Dict, List -from eZmaxApi.models.ezsignsigner_request import EzsignsignerRequest +from pydantic import BaseModel, ConfigDict, Field, StrictStr, field_validator +from typing import Any, ClassVar, Dict, List, Optional +from typing_extensions import Annotated from eZmaxApi.models.ezsignsigner_request_compound_contact import EzsignsignerRequestCompoundContact from typing import Optional, Set from typing_extensions import Self -class EzsignsignerRequestCompound(EzsignsignerRequest): +class EzsignsignerRequestCompound(BaseModel): """ An Ezsignsigner Object and children to create a complete structure """ # noqa: E501 + fki_userlogintype_id: Optional[Annotated[int, Field(strict=True, ge=0)]] = Field(default=None, description="The unique ID of the Userlogintype Valid values: |Value|Description|Detail| |-|-|-| |1|**Email Only**|The Ezsignsigner will receive a secure link by email| |2|**Email and phone or SMS**|The Ezsignsigner will receive a secure link by email and will need to authenticate using SMS or Phone call. **Additional fee applies**| |3|**Email and secret question**|The Ezsignsigner will receive a secure link by email and will need to authenticate using a predefined question and answer| |4|**In person only**|The Ezsignsigner will only be able to sign \"In-Person\" and there won't be any authentication. No email will be sent for invitation to sign. Make sure you evaluate the risk of signature denial and at minimum, we recommend you use a handwritten signature type| |5|**In person with phone or SMS**|The Ezsignsigner will only be able to sign \"In-Person\" and will need to authenticate using SMS or Phone call. No email will be sent for invitation to sign. **Additional fee applies**| |6|**Embedded**|The Ezsignsigner will only be able to sign in the embedded solution. No email will be sent for invitation to sign. **Additional fee applies**| |7|**Embedded with phone or SMS**|The Ezsignsigner will only be able to sign in the embedded solution and will need to authenticate using SMS or Phone call. No email will be sent for invitation to sign. **Additional fee applies**| |8|**No validation**|The Ezsignsigner will not receive an email and won't have to validate his connection using 2 factor. **Additional fee applies**| |9|**Sms only**|The Ezsignsigner will not receive an email but will will need to authenticate using SMS. **Additional fee applies**| ", alias="fkiUserlogintypeID") + fki_taxassignment_id: Annotated[int, Field(le=15, strict=True, ge=0)] = Field(description="The unique ID of the Taxassignment. Valid values: |Value|Description| |-|-| |1|No tax| |2|GST| |3|HST (ON)| |4|HST (NB)| |5|HST (NS)| |6|HST (NL)| |7|HST (PE)| |8|GST + QST (QC)| |9|GST + QST (QC) Non-Recoverable| |10|GST + PST (BC)| |11|GST + PST (SK)| |12|GST + RST (MB)| |13|GST + PST (BC) Non-Recoverable| |14|GST + PST (SK) Non-Recoverable| |15|GST + RST (MB) Non-Recoverable|", alias="fkiTaxassignmentID") + fki_secretquestion_id: Optional[Annotated[int, Field(strict=True, ge=0)]] = Field(default=None, description="The unique ID of the Secretquestion. Valid values: |Value|Description| |-|-| |1|The name of the hospital in which you were born| |2|The name of your grade school| |3|The last name of your favorite teacher| |4|Your favorite sports team| |5|Your favorite TV show| |6|Your favorite movie| |7|The name of the street on which you grew up| |8|The name of your first employer| |9|Your first car| |10|Your favorite food| |11|The name of your first pet| |12|Favorite musician/band| |13|What instrument you play| |14|Your father's middle name| |15|Your mother's maiden name| |16|Name of your eldest child| |17|Your spouse's middle name| |18|Favorite restaurant| |19|Childhood nickname| |20|Favorite vacation destination| |21|Your boat's name| |22|Date of Birth (YYYY-MM-DD)| |22|Secret Code| |22|Your reference code|", alias="fkiSecretquestionID") + e_ezsignsigner_logintype: Optional[StrictStr] = Field(default=None, description="The method the Ezsignsigner will authenticate to the signing platform. 1. **Password** means the Ezsignsigner will receive a secure link by email. 2. **PasswordPhone** means the Ezsignsigner will receive a secure link by email and will need to authenticate using SMS or Phone call. **Additional fee applies**. 3. **PasswordQuestion** means the Ezsignsigner will receive a secure link by email and will need to authenticate using a predefined question and answer. 4. **InPersonPhone** means the Ezsignsigner will only be able to sign \"In-Person\" and will need to authenticate using SMS or Phone call. No email will be sent for invitation to sign. **Additional fee applies**. 5. **InPerson** means the Ezsignsigner will only be able to sign \"In-Person\" and there won't be any authentication. No email will be sent for invitation to sign. Make sure you evaluate the risk of signature denial and at minimum, we recommend you use a handwritten signature type.", alias="eEzsignsignerLogintype") + s_ezsignsigner_secretanswer: Optional[StrictStr] = Field(default=None, description="The predefined answer to the secret question the Ezsignsigner will need to provide to successfully authenticate.", alias="sEzsignsignerSecretanswer") obj_contact: EzsignsignerRequestCompoundContact = Field(alias="objContact") __properties: ClassVar[List[str]] = ["fkiUserlogintypeID", "fkiTaxassignmentID", "fkiSecretquestionID", "eEzsignsignerLogintype", "sEzsignsignerSecretanswer", "objContact"] + @field_validator('e_ezsignsigner_logintype') + def e_ezsignsigner_logintype_validate_enum(cls, value): + """Validates the enum""" + if value is None: + return value + + if value not in set(['Password', 'PasswordPhone', 'PasswordQuestion', 'InPersonPhone', 'InPerson']): + raise ValueError("must be one of enum values ('Password', 'PasswordPhone', 'PasswordQuestion', 'InPersonPhone', 'InPerson')") + return value + model_config = ConfigDict( populate_by_name=True, validate_assignment=True, diff --git a/eZmaxApi/models/ezsignsigner_response.py b/eZmaxApi/models/ezsignsigner_response.py index abef1b18b..aec4ab911 100644 --- a/eZmaxApi/models/ezsignsigner_response.py +++ b/eZmaxApi/models/ezsignsigner_response.py @@ -77,7 +77,21 @@ def to_dict(self) -> Dict[str, Any]: return _dict @classmethod - def from_dict(cls, obj: Dict[str, Any]) -> Optional[Self]: + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: """Create an instance of EzsignsignerResponse from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "pkiEzsignsignerID": obj.get("pkiEzsignsignerID"), + "fkiTaxassignmentID": obj.get("fkiTaxassignmentID"), + "fkiSecretquestionID": obj.get("fkiSecretquestionID"), + "fkiUserlogintypeID": obj.get("fkiUserlogintypeID"), + "sUserlogintypeDescriptionX": obj.get("sUserlogintypeDescriptionX") + }) + return _obj diff --git a/eZmaxApi/models/ezsignsigner_response_compound.py b/eZmaxApi/models/ezsignsigner_response_compound.py index 9a03dd905..e1d63ebe9 100644 --- a/eZmaxApi/models/ezsignsigner_response_compound.py +++ b/eZmaxApi/models/ezsignsigner_response_compound.py @@ -18,17 +18,22 @@ import re # noqa: F401 import json -from pydantic import ConfigDict, Field -from typing import Any, ClassVar, Dict, List -from eZmaxApi.models.ezsignsigner_response import EzsignsignerResponse +from pydantic import BaseModel, ConfigDict, Field, StrictStr +from typing import Any, ClassVar, Dict, List, Optional +from typing_extensions import Annotated from eZmaxApi.models.ezsignsigner_response_compound_contact import EzsignsignerResponseCompoundContact from typing import Optional, Set from typing_extensions import Self -class EzsignsignerResponseCompound(EzsignsignerResponse): +class EzsignsignerResponseCompound(BaseModel): """ An Ezsignsigner Object and children to create a complete structure """ # noqa: E501 + pki_ezsignsigner_id: Annotated[int, Field(strict=True, ge=0)] = Field(description="The unique ID of the Ezsignsigner", alias="pkiEzsignsignerID") + fki_taxassignment_id: Annotated[int, Field(le=15, strict=True, ge=0)] = Field(description="The unique ID of the Taxassignment. Valid values: |Value|Description| |-|-| |1|No tax| |2|GST| |3|HST (ON)| |4|HST (NB)| |5|HST (NS)| |6|HST (NL)| |7|HST (PE)| |8|GST + QST (QC)| |9|GST + QST (QC) Non-Recoverable| |10|GST + PST (BC)| |11|GST + PST (SK)| |12|GST + RST (MB)| |13|GST + PST (BC) Non-Recoverable| |14|GST + PST (SK) Non-Recoverable| |15|GST + RST (MB) Non-Recoverable|", alias="fkiTaxassignmentID") + fki_secretquestion_id: Optional[Annotated[int, Field(strict=True, ge=0)]] = Field(default=None, description="The unique ID of the Secretquestion. Valid values: |Value|Description| |-|-| |1|The name of the hospital in which you were born| |2|The name of your grade school| |3|The last name of your favorite teacher| |4|Your favorite sports team| |5|Your favorite TV show| |6|Your favorite movie| |7|The name of the street on which you grew up| |8|The name of your first employer| |9|Your first car| |10|Your favorite food| |11|The name of your first pet| |12|Favorite musician/band| |13|What instrument you play| |14|Your father's middle name| |15|Your mother's maiden name| |16|Name of your eldest child| |17|Your spouse's middle name| |18|Favorite restaurant| |19|Childhood nickname| |20|Favorite vacation destination| |21|Your boat's name| |22|Date of Birth (YYYY-MM-DD)| |22|Secret Code| |22|Your reference code|", alias="fkiSecretquestionID") + fki_userlogintype_id: Annotated[int, Field(strict=True, ge=0)] = Field(description="The unique ID of the Userlogintype Valid values: |Value|Description|Detail| |-|-|-| |1|**Email Only**|The Ezsignsigner will receive a secure link by email| |2|**Email and phone or SMS**|The Ezsignsigner will receive a secure link by email and will need to authenticate using SMS or Phone call. **Additional fee applies**| |3|**Email and secret question**|The Ezsignsigner will receive a secure link by email and will need to authenticate using a predefined question and answer| |4|**In person only**|The Ezsignsigner will only be able to sign \"In-Person\" and there won't be any authentication. No email will be sent for invitation to sign. Make sure you evaluate the risk of signature denial and at minimum, we recommend you use a handwritten signature type| |5|**In person with phone or SMS**|The Ezsignsigner will only be able to sign \"In-Person\" and will need to authenticate using SMS or Phone call. No email will be sent for invitation to sign. **Additional fee applies**| |6|**Embedded**|The Ezsignsigner will only be able to sign in the embedded solution. No email will be sent for invitation to sign. **Additional fee applies**| |7|**Embedded with phone or SMS**|The Ezsignsigner will only be able to sign in the embedded solution and will need to authenticate using SMS or Phone call. No email will be sent for invitation to sign. **Additional fee applies**| |8|**No validation**|The Ezsignsigner will not receive an email and won't have to validate his connection using 2 factor. **Additional fee applies**| |9|**Sms only**|The Ezsignsigner will not receive an email but will will need to authenticate using SMS. **Additional fee applies**| ", alias="fkiUserlogintypeID") + s_userlogintype_description_x: StrictStr = Field(description="The description of the Userlogintype in the language of the requester", alias="sUserlogintypeDescriptionX") obj_contact: EzsignsignerResponseCompoundContact = Field(alias="objContact") __properties: ClassVar[List[str]] = ["pkiEzsignsignerID", "fkiTaxassignmentID", "fkiSecretquestionID", "fkiUserlogintypeID", "sUserlogintypeDescriptionX", "objContact"] diff --git a/eZmaxApi/models/ezsignsignergroup_create_object_v1_response.py b/eZmaxApi/models/ezsignsignergroup_create_object_v1_response.py index 45bdfc4b3..531333bd3 100644 --- a/eZmaxApi/models/ezsignsignergroup_create_object_v1_response.py +++ b/eZmaxApi/models/ezsignsignergroup_create_object_v1_response.py @@ -18,19 +18,20 @@ import re # noqa: F401 import json -from pydantic import ConfigDict, Field -from typing import Any, ClassVar, Dict, List -from eZmaxApi.models.common_response import CommonResponse +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List, Optional from eZmaxApi.models.common_response_obj_debug import CommonResponseObjDebug from eZmaxApi.models.common_response_obj_debug_payload import CommonResponseObjDebugPayload from eZmaxApi.models.ezsignsignergroup_create_object_v1_response_m_payload import EzsignsignergroupCreateObjectV1ResponseMPayload from typing import Optional, Set from typing_extensions import Self -class EzsignsignergroupCreateObjectV1Response(CommonResponse): +class EzsignsignergroupCreateObjectV1Response(BaseModel): """ Response for POST /1/object/ezsignsignergroup """ # noqa: E501 + obj_debug_payload: CommonResponseObjDebugPayload = Field(alias="objDebugPayload") + obj_debug: Optional[CommonResponseObjDebug] = Field(default=None, alias="objDebug") m_payload: EzsignsignergroupCreateObjectV1ResponseMPayload = Field(alias="mPayload") __properties: ClassVar[List[str]] = ["objDebugPayload", "objDebug", "mPayload"] diff --git a/eZmaxApi/models/ezsignsignergroup_delete_object_v1_response.py b/eZmaxApi/models/ezsignsignergroup_delete_object_v1_response.py index 8edcbdf08..1c729f032 100644 --- a/eZmaxApi/models/ezsignsignergroup_delete_object_v1_response.py +++ b/eZmaxApi/models/ezsignsignergroup_delete_object_v1_response.py @@ -18,18 +18,19 @@ import re # noqa: F401 import json -from pydantic import ConfigDict -from typing import Any, ClassVar, Dict, List -from eZmaxApi.models.common_response import CommonResponse +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List, Optional from eZmaxApi.models.common_response_obj_debug import CommonResponseObjDebug from eZmaxApi.models.common_response_obj_debug_payload import CommonResponseObjDebugPayload from typing import Optional, Set from typing_extensions import Self -class EzsignsignergroupDeleteObjectV1Response(CommonResponse): +class EzsignsignergroupDeleteObjectV1Response(BaseModel): """ Response for DELETE /1/object/ezsignsignergroup/{pkiEzsignsignergroupID} """ # noqa: E501 + obj_debug_payload: CommonResponseObjDebugPayload = Field(alias="objDebugPayload") + obj_debug: Optional[CommonResponseObjDebug] = Field(default=None, alias="objDebug") __properties: ClassVar[List[str]] = ["objDebugPayload", "objDebug"] model_config = ConfigDict( diff --git a/eZmaxApi/models/ezsignsignergroup_edit_ezsignsignergroupmemberships_v1_response.py b/eZmaxApi/models/ezsignsignergroup_edit_ezsignsignergroupmemberships_v1_response.py index c7c619c3e..6e0664b98 100644 --- a/eZmaxApi/models/ezsignsignergroup_edit_ezsignsignergroupmemberships_v1_response.py +++ b/eZmaxApi/models/ezsignsignergroup_edit_ezsignsignergroupmemberships_v1_response.py @@ -18,19 +18,20 @@ import re # noqa: F401 import json -from pydantic import ConfigDict, Field -from typing import Any, ClassVar, Dict, List -from eZmaxApi.models.common_response import CommonResponse +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List, Optional from eZmaxApi.models.common_response_obj_debug import CommonResponseObjDebug from eZmaxApi.models.common_response_obj_debug_payload import CommonResponseObjDebugPayload from eZmaxApi.models.ezsignsignergroup_edit_ezsignsignergroupmemberships_v1_response_m_payload import EzsignsignergroupEditEzsignsignergroupmembershipsV1ResponseMPayload from typing import Optional, Set from typing_extensions import Self -class EzsignsignergroupEditEzsignsignergroupmembershipsV1Response(CommonResponse): +class EzsignsignergroupEditEzsignsignergroupmembershipsV1Response(BaseModel): """ Response for PUT /1/object/ezsignsignergroup/{pkiEzsignsignergroupID}/editEzsignsignergroupmemberships """ # noqa: E501 + obj_debug_payload: CommonResponseObjDebugPayload = Field(alias="objDebugPayload") + obj_debug: Optional[CommonResponseObjDebug] = Field(default=None, alias="objDebug") m_payload: EzsignsignergroupEditEzsignsignergroupmembershipsV1ResponseMPayload = Field(alias="mPayload") __properties: ClassVar[List[str]] = ["objDebugPayload", "objDebug", "mPayload"] diff --git a/eZmaxApi/models/ezsignsignergroup_edit_object_v1_response.py b/eZmaxApi/models/ezsignsignergroup_edit_object_v1_response.py index e0bae1637..1ed8523c0 100644 --- a/eZmaxApi/models/ezsignsignergroup_edit_object_v1_response.py +++ b/eZmaxApi/models/ezsignsignergroup_edit_object_v1_response.py @@ -18,18 +18,19 @@ import re # noqa: F401 import json -from pydantic import ConfigDict -from typing import Any, ClassVar, Dict, List -from eZmaxApi.models.common_response import CommonResponse +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List, Optional from eZmaxApi.models.common_response_obj_debug import CommonResponseObjDebug from eZmaxApi.models.common_response_obj_debug_payload import CommonResponseObjDebugPayload from typing import Optional, Set from typing_extensions import Self -class EzsignsignergroupEditObjectV1Response(CommonResponse): +class EzsignsignergroupEditObjectV1Response(BaseModel): """ Response for PUT /1/object/ezsignsignergroup/{pkiEzsignsignergroupID} """ # noqa: E501 + obj_debug_payload: CommonResponseObjDebugPayload = Field(alias="objDebugPayload") + obj_debug: Optional[CommonResponseObjDebug] = Field(default=None, alias="objDebug") __properties: ClassVar[List[str]] = ["objDebugPayload", "objDebug"] model_config = ConfigDict( diff --git a/eZmaxApi/models/ezsignsignergroup_get_ezsignsignergroupmemberships_v1_response.py b/eZmaxApi/models/ezsignsignergroup_get_ezsignsignergroupmemberships_v1_response.py index 1c431b018..c61156e5d 100644 --- a/eZmaxApi/models/ezsignsignergroup_get_ezsignsignergroupmemberships_v1_response.py +++ b/eZmaxApi/models/ezsignsignergroup_get_ezsignsignergroupmemberships_v1_response.py @@ -18,19 +18,20 @@ import re # noqa: F401 import json -from pydantic import ConfigDict, Field -from typing import Any, ClassVar, Dict, List -from eZmaxApi.models.common_response import CommonResponse +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List, Optional from eZmaxApi.models.common_response_obj_debug import CommonResponseObjDebug from eZmaxApi.models.common_response_obj_debug_payload import CommonResponseObjDebugPayload from eZmaxApi.models.ezsignsignergroup_get_ezsignsignergroupmemberships_v1_response_m_payload import EzsignsignergroupGetEzsignsignergroupmembershipsV1ResponseMPayload from typing import Optional, Set from typing_extensions import Self -class EzsignsignergroupGetEzsignsignergroupmembershipsV1Response(CommonResponse): +class EzsignsignergroupGetEzsignsignergroupmembershipsV1Response(BaseModel): """ Response for GET /1/object/ezsignsignergroup/{pkiEzsignsignergroupID}/getEzsignsignergroupmemberships """ # noqa: E501 + obj_debug_payload: CommonResponseObjDebugPayload = Field(alias="objDebugPayload") + obj_debug: Optional[CommonResponseObjDebug] = Field(default=None, alias="objDebug") m_payload: EzsignsignergroupGetEzsignsignergroupmembershipsV1ResponseMPayload = Field(alias="mPayload") __properties: ClassVar[List[str]] = ["objDebugPayload", "objDebug", "mPayload"] diff --git a/eZmaxApi/models/ezsignsignergroup_get_object_v2_response.py b/eZmaxApi/models/ezsignsignergroup_get_object_v2_response.py index 33100cf9a..978cbaf9b 100644 --- a/eZmaxApi/models/ezsignsignergroup_get_object_v2_response.py +++ b/eZmaxApi/models/ezsignsignergroup_get_object_v2_response.py @@ -18,19 +18,20 @@ import re # noqa: F401 import json -from pydantic import ConfigDict, Field -from typing import Any, ClassVar, Dict, List -from eZmaxApi.models.common_response import CommonResponse +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List, Optional from eZmaxApi.models.common_response_obj_debug import CommonResponseObjDebug from eZmaxApi.models.common_response_obj_debug_payload import CommonResponseObjDebugPayload from eZmaxApi.models.ezsignsignergroup_get_object_v2_response_m_payload import EzsignsignergroupGetObjectV2ResponseMPayload from typing import Optional, Set from typing_extensions import Self -class EzsignsignergroupGetObjectV2Response(CommonResponse): +class EzsignsignergroupGetObjectV2Response(BaseModel): """ Response for GET /2/object/ezsignsignergroup/{pkiEzsignsignergroupID} """ # noqa: E501 + obj_debug_payload: CommonResponseObjDebugPayload = Field(alias="objDebugPayload") + obj_debug: Optional[CommonResponseObjDebug] = Field(default=None, alias="objDebug") m_payload: EzsignsignergroupGetObjectV2ResponseMPayload = Field(alias="mPayload") __properties: ClassVar[List[str]] = ["objDebugPayload", "objDebug", "mPayload"] diff --git a/eZmaxApi/models/ezsignsignergroup_request.py b/eZmaxApi/models/ezsignsignergroup_request.py index 87b213f5e..c09734530 100644 --- a/eZmaxApi/models/ezsignsignergroup_request.py +++ b/eZmaxApi/models/ezsignsignergroup_request.py @@ -79,7 +79,19 @@ def to_dict(self) -> Dict[str, Any]: return _dict @classmethod - def from_dict(cls, obj: Dict[str, Any]) -> Optional[Self]: + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: """Create an instance of EzsignsignergroupRequest from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "pkiEzsignsignergroupID": obj.get("pkiEzsignsignergroupID"), + "fkiEzsignfolderID": obj.get("fkiEzsignfolderID"), + "objEzsignsignergroupDescription": MultilingualEzsignsignergroupDescription.from_dict(obj["objEzsignsignergroupDescription"]) if obj.get("objEzsignsignergroupDescription") is not None else None + }) + return _obj diff --git a/eZmaxApi/models/ezsignsignergroup_request_compound.py b/eZmaxApi/models/ezsignsignergroup_request_compound.py index 43df60b0d..445a7a8b5 100644 --- a/eZmaxApi/models/ezsignsignergroup_request_compound.py +++ b/eZmaxApi/models/ezsignsignergroup_request_compound.py @@ -18,17 +18,20 @@ import re # noqa: F401 import json -from pydantic import ConfigDict -from typing import Any, ClassVar, Dict, List -from eZmaxApi.models.ezsignsignergroup_request import EzsignsignergroupRequest +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List, Optional +from typing_extensions import Annotated from eZmaxApi.models.multilingual_ezsignsignergroup_description import MultilingualEzsignsignergroupDescription from typing import Optional, Set from typing_extensions import Self -class EzsignsignergroupRequestCompound(EzsignsignergroupRequest): +class EzsignsignergroupRequestCompound(BaseModel): """ A Ezsignsignergroup Object and children """ # noqa: E501 + pki_ezsignsignergroup_id: Optional[Annotated[int, Field(le=65535, strict=True, ge=0)]] = Field(default=None, description="The unique ID of the Ezsignsignergroup", alias="pkiEzsignsignergroupID") + fki_ezsignfolder_id: Annotated[int, Field(strict=True, ge=0)] = Field(description="The unique ID of the Ezsignfolder", alias="fkiEzsignfolderID") + obj_ezsignsignergroup_description: MultilingualEzsignsignergroupDescription = Field(alias="objEzsignsignergroupDescription") __properties: ClassVar[List[str]] = ["pkiEzsignsignergroupID", "fkiEzsignfolderID", "objEzsignsignergroupDescription"] model_config = ConfigDict( diff --git a/eZmaxApi/models/ezsignsignergroup_response.py b/eZmaxApi/models/ezsignsignergroup_response.py index afa0ab184..5b32e8873 100644 --- a/eZmaxApi/models/ezsignsignergroup_response.py +++ b/eZmaxApi/models/ezsignsignergroup_response.py @@ -79,7 +79,19 @@ def to_dict(self) -> Dict[str, Any]: return _dict @classmethod - def from_dict(cls, obj: Dict[str, Any]) -> Optional[Self]: + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: """Create an instance of EzsignsignergroupResponse from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "pkiEzsignsignergroupID": obj.get("pkiEzsignsignergroupID"), + "objEzsignsignergroupDescription": MultilingualEzsignsignergroupDescription.from_dict(obj["objEzsignsignergroupDescription"]) if obj.get("objEzsignsignergroupDescription") is not None else None, + "sEzsignsignergroupDescriptionX": obj.get("sEzsignsignergroupDescriptionX") + }) + return _obj diff --git a/eZmaxApi/models/ezsignsignergroup_response_compound.py b/eZmaxApi/models/ezsignsignergroup_response_compound.py index 0ea0071d4..d0b9a1980 100644 --- a/eZmaxApi/models/ezsignsignergroup_response_compound.py +++ b/eZmaxApi/models/ezsignsignergroup_response_compound.py @@ -18,17 +18,20 @@ import re # noqa: F401 import json -from pydantic import ConfigDict -from typing import Any, ClassVar, Dict, List -from eZmaxApi.models.ezsignsignergroup_response import EzsignsignergroupResponse +from pydantic import BaseModel, ConfigDict, Field, StrictStr +from typing import Any, ClassVar, Dict, List, Optional +from typing_extensions import Annotated from eZmaxApi.models.multilingual_ezsignsignergroup_description import MultilingualEzsignsignergroupDescription from typing import Optional, Set from typing_extensions import Self -class EzsignsignergroupResponseCompound(EzsignsignergroupResponse): +class EzsignsignergroupResponseCompound(BaseModel): """ An Ezsignsignergroup Object """ # noqa: E501 + pki_ezsignsignergroup_id: Annotated[int, Field(le=65535, strict=True, ge=0)] = Field(description="The unique ID of the Ezsignsignergroup", alias="pkiEzsignsignergroupID") + obj_ezsignsignergroup_description: MultilingualEzsignsignergroupDescription = Field(alias="objEzsignsignergroupDescription") + s_ezsignsignergroup_description_x: Optional[StrictStr] = Field(default=None, description="The Description of the Ezsignsignergroup in the language of the requester", alias="sEzsignsignergroupDescriptionX") __properties: ClassVar[List[str]] = ["pkiEzsignsignergroupID", "objEzsignsignergroupDescription", "sEzsignsignergroupDescriptionX"] model_config = ConfigDict( diff --git a/eZmaxApi/models/ezsignsignergroupmembership_create_object_v1_response.py b/eZmaxApi/models/ezsignsignergroupmembership_create_object_v1_response.py index 3e2bc53dc..5d7f45576 100644 --- a/eZmaxApi/models/ezsignsignergroupmembership_create_object_v1_response.py +++ b/eZmaxApi/models/ezsignsignergroupmembership_create_object_v1_response.py @@ -18,19 +18,20 @@ import re # noqa: F401 import json -from pydantic import ConfigDict, Field -from typing import Any, ClassVar, Dict, List -from eZmaxApi.models.common_response import CommonResponse +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List, Optional from eZmaxApi.models.common_response_obj_debug import CommonResponseObjDebug from eZmaxApi.models.common_response_obj_debug_payload import CommonResponseObjDebugPayload from eZmaxApi.models.ezsignsignergroupmembership_create_object_v1_response_m_payload import EzsignsignergroupmembershipCreateObjectV1ResponseMPayload from typing import Optional, Set from typing_extensions import Self -class EzsignsignergroupmembershipCreateObjectV1Response(CommonResponse): +class EzsignsignergroupmembershipCreateObjectV1Response(BaseModel): """ Response for POST /1/object/ezsignsignergroupmembership """ # noqa: E501 + obj_debug_payload: CommonResponseObjDebugPayload = Field(alias="objDebugPayload") + obj_debug: Optional[CommonResponseObjDebug] = Field(default=None, alias="objDebug") m_payload: EzsignsignergroupmembershipCreateObjectV1ResponseMPayload = Field(alias="mPayload") __properties: ClassVar[List[str]] = ["objDebugPayload", "objDebug", "mPayload"] diff --git a/eZmaxApi/models/ezsignsignergroupmembership_delete_object_v1_response.py b/eZmaxApi/models/ezsignsignergroupmembership_delete_object_v1_response.py index 138090108..e442db996 100644 --- a/eZmaxApi/models/ezsignsignergroupmembership_delete_object_v1_response.py +++ b/eZmaxApi/models/ezsignsignergroupmembership_delete_object_v1_response.py @@ -18,18 +18,19 @@ import re # noqa: F401 import json -from pydantic import ConfigDict -from typing import Any, ClassVar, Dict, List -from eZmaxApi.models.common_response import CommonResponse +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List, Optional from eZmaxApi.models.common_response_obj_debug import CommonResponseObjDebug from eZmaxApi.models.common_response_obj_debug_payload import CommonResponseObjDebugPayload from typing import Optional, Set from typing_extensions import Self -class EzsignsignergroupmembershipDeleteObjectV1Response(CommonResponse): +class EzsignsignergroupmembershipDeleteObjectV1Response(BaseModel): """ Response for DELETE /1/object/ezsignsignergroupmembership/{pkiEzsignsignergroupmembershipID} """ # noqa: E501 + obj_debug_payload: CommonResponseObjDebugPayload = Field(alias="objDebugPayload") + obj_debug: Optional[CommonResponseObjDebug] = Field(default=None, alias="objDebug") __properties: ClassVar[List[str]] = ["objDebugPayload", "objDebug"] model_config = ConfigDict( diff --git a/eZmaxApi/models/ezsignsignergroupmembership_get_object_v2_response.py b/eZmaxApi/models/ezsignsignergroupmembership_get_object_v2_response.py index fe95dc01c..31c4fb4a2 100644 --- a/eZmaxApi/models/ezsignsignergroupmembership_get_object_v2_response.py +++ b/eZmaxApi/models/ezsignsignergroupmembership_get_object_v2_response.py @@ -18,19 +18,20 @@ import re # noqa: F401 import json -from pydantic import ConfigDict, Field -from typing import Any, ClassVar, Dict, List -from eZmaxApi.models.common_response import CommonResponse +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List, Optional from eZmaxApi.models.common_response_obj_debug import CommonResponseObjDebug from eZmaxApi.models.common_response_obj_debug_payload import CommonResponseObjDebugPayload from eZmaxApi.models.ezsignsignergroupmembership_get_object_v2_response_m_payload import EzsignsignergroupmembershipGetObjectV2ResponseMPayload from typing import Optional, Set from typing_extensions import Self -class EzsignsignergroupmembershipGetObjectV2Response(CommonResponse): +class EzsignsignergroupmembershipGetObjectV2Response(BaseModel): """ Response for GET /2/object/ezsignsignergroupmembership/{pkiEzsignsignergroupmembershipID} """ # noqa: E501 + obj_debug_payload: CommonResponseObjDebugPayload = Field(alias="objDebugPayload") + obj_debug: Optional[CommonResponseObjDebug] = Field(default=None, alias="objDebug") m_payload: EzsignsignergroupmembershipGetObjectV2ResponseMPayload = Field(alias="mPayload") __properties: ClassVar[List[str]] = ["objDebugPayload", "objDebug", "mPayload"] diff --git a/eZmaxApi/models/ezsignsignergroupmembership_request.py b/eZmaxApi/models/ezsignsignergroupmembership_request.py index 20120370e..dae7feedb 100644 --- a/eZmaxApi/models/ezsignsignergroupmembership_request.py +++ b/eZmaxApi/models/ezsignsignergroupmembership_request.py @@ -77,7 +77,21 @@ def to_dict(self) -> Dict[str, Any]: return _dict @classmethod - def from_dict(cls, obj: Dict[str, Any]) -> Optional[Self]: + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: """Create an instance of EzsignsignergroupmembershipRequest from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "pkiEzsignsignergroupmembershipID": obj.get("pkiEzsignsignergroupmembershipID"), + "fkiEzsignsignergroupID": obj.get("fkiEzsignsignergroupID"), + "fkiEzsignsignerID": obj.get("fkiEzsignsignerID"), + "fkiUserID": obj.get("fkiUserID"), + "fkiUsergroupID": obj.get("fkiUsergroupID") + }) + return _obj diff --git a/eZmaxApi/models/ezsignsignergroupmembership_request_compound.py b/eZmaxApi/models/ezsignsignergroupmembership_request_compound.py index f606a049f..6c60bda28 100644 --- a/eZmaxApi/models/ezsignsignergroupmembership_request_compound.py +++ b/eZmaxApi/models/ezsignsignergroupmembership_request_compound.py @@ -18,16 +18,21 @@ import re # noqa: F401 import json -from pydantic import ConfigDict -from typing import Any, ClassVar, Dict, List -from eZmaxApi.models.ezsignsignergroupmembership_request import EzsignsignergroupmembershipRequest +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List, Optional +from typing_extensions import Annotated from typing import Optional, Set from typing_extensions import Self -class EzsignsignergroupmembershipRequestCompound(EzsignsignergroupmembershipRequest): +class EzsignsignergroupmembershipRequestCompound(BaseModel): """ A Ezsignsignergroupmembership Object and children """ # noqa: E501 + pki_ezsignsignergroupmembership_id: Optional[Annotated[int, Field(le=16777215, strict=True, ge=0)]] = Field(default=None, description="The unique ID of the Ezsignsignergroupmembership", alias="pkiEzsignsignergroupmembershipID") + fki_ezsignsignergroup_id: Annotated[int, Field(le=65535, strict=True, ge=0)] = Field(description="The unique ID of the Ezsignsignergroup", alias="fkiEzsignsignergroupID") + fki_ezsignsigner_id: Optional[Annotated[int, Field(strict=True, ge=0)]] = Field(default=None, description="The unique ID of the Ezsignsigner", alias="fkiEzsignsignerID") + fki_user_id: Optional[Annotated[int, Field(strict=True, ge=0)]] = Field(default=None, description="The unique ID of the User", alias="fkiUserID") + fki_usergroup_id: Optional[Annotated[int, Field(le=255, strict=True, ge=0)]] = Field(default=None, description="The unique ID of the Usergroup", alias="fkiUsergroupID") __properties: ClassVar[List[str]] = ["pkiEzsignsignergroupmembershipID", "fkiEzsignsignergroupID", "fkiEzsignsignerID", "fkiUserID", "fkiUsergroupID"] model_config = ConfigDict( diff --git a/eZmaxApi/models/ezsignsignergroupmembership_response.py b/eZmaxApi/models/ezsignsignergroupmembership_response.py index 8ee2a8761..b60a0e396 100644 --- a/eZmaxApi/models/ezsignsignergroupmembership_response.py +++ b/eZmaxApi/models/ezsignsignergroupmembership_response.py @@ -77,7 +77,21 @@ def to_dict(self) -> Dict[str, Any]: return _dict @classmethod - def from_dict(cls, obj: Dict[str, Any]) -> Optional[Self]: + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: """Create an instance of EzsignsignergroupmembershipResponse from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "pkiEzsignsignergroupmembershipID": obj.get("pkiEzsignsignergroupmembershipID"), + "fkiEzsignsignergroupID": obj.get("fkiEzsignsignergroupID"), + "fkiEzsignsignerID": obj.get("fkiEzsignsignerID"), + "fkiUserID": obj.get("fkiUserID"), + "fkiUsergroupID": obj.get("fkiUsergroupID") + }) + return _obj diff --git a/eZmaxApi/models/ezsignsignergroupmembership_response_compound.py b/eZmaxApi/models/ezsignsignergroupmembership_response_compound.py index 10d20a961..bd8f99e2f 100644 --- a/eZmaxApi/models/ezsignsignergroupmembership_response_compound.py +++ b/eZmaxApi/models/ezsignsignergroupmembership_response_compound.py @@ -18,16 +18,21 @@ import re # noqa: F401 import json -from pydantic import ConfigDict -from typing import Any, ClassVar, Dict, List -from eZmaxApi.models.ezsignsignergroupmembership_response import EzsignsignergroupmembershipResponse +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List, Optional +from typing_extensions import Annotated from typing import Optional, Set from typing_extensions import Self -class EzsignsignergroupmembershipResponseCompound(EzsignsignergroupmembershipResponse): +class EzsignsignergroupmembershipResponseCompound(BaseModel): """ A Ezsignsignergroupmembership Object """ # noqa: E501 + pki_ezsignsignergroupmembership_id: Annotated[int, Field(le=16777215, strict=True, ge=0)] = Field(description="The unique ID of the Ezsignsignergroupmembership", alias="pkiEzsignsignergroupmembershipID") + fki_ezsignsignergroup_id: Annotated[int, Field(le=65535, strict=True, ge=0)] = Field(description="The unique ID of the Ezsignsignergroup", alias="fkiEzsignsignergroupID") + fki_ezsignsigner_id: Optional[Annotated[int, Field(strict=True, ge=0)]] = Field(default=None, description="The unique ID of the Ezsignsigner", alias="fkiEzsignsignerID") + fki_user_id: Optional[Annotated[int, Field(strict=True, ge=0)]] = Field(default=None, description="The unique ID of the User", alias="fkiUserID") + fki_usergroup_id: Optional[Annotated[int, Field(le=255, strict=True, ge=0)]] = Field(default=None, description="The unique ID of the Usergroup", alias="fkiUsergroupID") __properties: ClassVar[List[str]] = ["pkiEzsignsignergroupmembershipID", "fkiEzsignsignergroupID", "fkiEzsignsignerID", "fkiUserID", "fkiUsergroupID"] model_config = ConfigDict( diff --git a/eZmaxApi/models/ezsignsigningreason_create_object_v1_response.py b/eZmaxApi/models/ezsignsigningreason_create_object_v1_response.py index 743f9fb7a..c83e0c70f 100644 --- a/eZmaxApi/models/ezsignsigningreason_create_object_v1_response.py +++ b/eZmaxApi/models/ezsignsigningreason_create_object_v1_response.py @@ -18,19 +18,20 @@ import re # noqa: F401 import json -from pydantic import ConfigDict, Field -from typing import Any, ClassVar, Dict, List -from eZmaxApi.models.common_response import CommonResponse +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List, Optional from eZmaxApi.models.common_response_obj_debug import CommonResponseObjDebug from eZmaxApi.models.common_response_obj_debug_payload import CommonResponseObjDebugPayload from eZmaxApi.models.ezsignsigningreason_create_object_v1_response_m_payload import EzsignsigningreasonCreateObjectV1ResponseMPayload from typing import Optional, Set from typing_extensions import Self -class EzsignsigningreasonCreateObjectV1Response(CommonResponse): +class EzsignsigningreasonCreateObjectV1Response(BaseModel): """ Response for POST /1/object/ezsignsigningreason """ # noqa: E501 + obj_debug_payload: CommonResponseObjDebugPayload = Field(alias="objDebugPayload") + obj_debug: Optional[CommonResponseObjDebug] = Field(default=None, alias="objDebug") m_payload: EzsignsigningreasonCreateObjectV1ResponseMPayload = Field(alias="mPayload") __properties: ClassVar[List[str]] = ["objDebugPayload", "objDebug", "mPayload"] diff --git a/eZmaxApi/models/ezsignsigningreason_edit_object_v1_response.py b/eZmaxApi/models/ezsignsigningreason_edit_object_v1_response.py index 2a2de42f1..38d85e549 100644 --- a/eZmaxApi/models/ezsignsigningreason_edit_object_v1_response.py +++ b/eZmaxApi/models/ezsignsigningreason_edit_object_v1_response.py @@ -18,18 +18,19 @@ import re # noqa: F401 import json -from pydantic import ConfigDict -from typing import Any, ClassVar, Dict, List -from eZmaxApi.models.common_response import CommonResponse +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List, Optional from eZmaxApi.models.common_response_obj_debug import CommonResponseObjDebug from eZmaxApi.models.common_response_obj_debug_payload import CommonResponseObjDebugPayload from typing import Optional, Set from typing_extensions import Self -class EzsignsigningreasonEditObjectV1Response(CommonResponse): +class EzsignsigningreasonEditObjectV1Response(BaseModel): """ Response for PUT /1/object/ezsignsigningreason/{pkiEzsignsigningreasonID} """ # noqa: E501 + obj_debug_payload: CommonResponseObjDebugPayload = Field(alias="objDebugPayload") + obj_debug: Optional[CommonResponseObjDebug] = Field(default=None, alias="objDebug") __properties: ClassVar[List[str]] = ["objDebugPayload", "objDebug"] model_config = ConfigDict( diff --git a/eZmaxApi/models/ezsignsigningreason_get_autocomplete_v2_response.py b/eZmaxApi/models/ezsignsigningreason_get_autocomplete_v2_response.py index 41b04a85b..e9b180e4a 100644 --- a/eZmaxApi/models/ezsignsigningreason_get_autocomplete_v2_response.py +++ b/eZmaxApi/models/ezsignsigningreason_get_autocomplete_v2_response.py @@ -18,19 +18,20 @@ import re # noqa: F401 import json -from pydantic import ConfigDict, Field -from typing import Any, ClassVar, Dict, List -from eZmaxApi.models.common_response import CommonResponse +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List, Optional from eZmaxApi.models.common_response_obj_debug import CommonResponseObjDebug from eZmaxApi.models.common_response_obj_debug_payload import CommonResponseObjDebugPayload from eZmaxApi.models.ezsignsigningreason_get_autocomplete_v2_response_m_payload import EzsignsigningreasonGetAutocompleteV2ResponseMPayload from typing import Optional, Set from typing_extensions import Self -class EzsignsigningreasonGetAutocompleteV2Response(CommonResponse): +class EzsignsigningreasonGetAutocompleteV2Response(BaseModel): """ Response for GET /2/object/ezsignsigningreason/getAutocomplete """ # noqa: E501 + obj_debug_payload: CommonResponseObjDebugPayload = Field(alias="objDebugPayload") + obj_debug: Optional[CommonResponseObjDebug] = Field(default=None, alias="objDebug") m_payload: EzsignsigningreasonGetAutocompleteV2ResponseMPayload = Field(alias="mPayload") __properties: ClassVar[List[str]] = ["objDebugPayload", "objDebug", "mPayload"] diff --git a/eZmaxApi/models/ezsignsigningreason_get_list_v1_response.py b/eZmaxApi/models/ezsignsigningreason_get_list_v1_response.py index fa3652eef..18387f0dd 100644 --- a/eZmaxApi/models/ezsignsigningreason_get_list_v1_response.py +++ b/eZmaxApi/models/ezsignsigningreason_get_list_v1_response.py @@ -18,19 +18,20 @@ import re # noqa: F401 import json -from pydantic import ConfigDict, Field -from typing import Any, ClassVar, Dict, List -from eZmaxApi.models.common_response_get_list import CommonResponseGetList +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List, Optional from eZmaxApi.models.common_response_obj_debug import CommonResponseObjDebug from eZmaxApi.models.common_response_obj_debug_payload_get_list import CommonResponseObjDebugPayloadGetList from eZmaxApi.models.ezsignsigningreason_get_list_v1_response_m_payload import EzsignsigningreasonGetListV1ResponseMPayload from typing import Optional, Set from typing_extensions import Self -class EzsignsigningreasonGetListV1Response(CommonResponseGetList): +class EzsignsigningreasonGetListV1Response(BaseModel): """ Response for GET /1/object/ezsignsigningreason/getList """ # noqa: E501 + obj_debug_payload: CommonResponseObjDebugPayloadGetList = Field(alias="objDebugPayload") + obj_debug: Optional[CommonResponseObjDebug] = Field(default=None, alias="objDebug") m_payload: EzsignsigningreasonGetListV1ResponseMPayload = Field(alias="mPayload") __properties: ClassVar[List[str]] = ["objDebugPayload", "objDebug", "mPayload"] diff --git a/eZmaxApi/models/ezsignsigningreason_get_list_v1_response_m_payload.py b/eZmaxApi/models/ezsignsigningreason_get_list_v1_response_m_payload.py index 642b21b2c..1bfe34880 100644 --- a/eZmaxApi/models/ezsignsigningreason_get_list_v1_response_m_payload.py +++ b/eZmaxApi/models/ezsignsigningreason_get_list_v1_response_m_payload.py @@ -18,17 +18,18 @@ import re # noqa: F401 import json -from pydantic import ConfigDict, Field +from pydantic import BaseModel, ConfigDict, Field, StrictInt from typing import Any, ClassVar, Dict, List -from eZmaxApi.models.common_get_list_v1_response_m_payload import CommonGetListV1ResponseMPayload from eZmaxApi.models.ezsignsigningreason_list_element import EzsignsigningreasonListElement from typing import Optional, Set from typing_extensions import Self -class EzsignsigningreasonGetListV1ResponseMPayload(CommonGetListV1ResponseMPayload): +class EzsignsigningreasonGetListV1ResponseMPayload(BaseModel): """ Payload for GET /1/object/ezsignsigningreason/getList """ # noqa: E501 + i_row_returned: StrictInt = Field(description="The number of rows returned", alias="iRowReturned") + i_row_filtered: StrictInt = Field(description="The number of rows matching your filters (if any) or the total number of rows", alias="iRowFiltered") a_obj_ezsignsigningreason: List[EzsignsigningreasonListElement] = Field(alias="a_objEzsignsigningreason") __properties: ClassVar[List[str]] = ["iRowReturned", "iRowFiltered", "a_objEzsignsigningreason"] diff --git a/eZmaxApi/models/ezsignsigningreason_get_object_v2_response.py b/eZmaxApi/models/ezsignsigningreason_get_object_v2_response.py index d9cb18d48..b92f5a017 100644 --- a/eZmaxApi/models/ezsignsigningreason_get_object_v2_response.py +++ b/eZmaxApi/models/ezsignsigningreason_get_object_v2_response.py @@ -18,19 +18,20 @@ import re # noqa: F401 import json -from pydantic import ConfigDict, Field -from typing import Any, ClassVar, Dict, List -from eZmaxApi.models.common_response import CommonResponse +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List, Optional from eZmaxApi.models.common_response_obj_debug import CommonResponseObjDebug from eZmaxApi.models.common_response_obj_debug_payload import CommonResponseObjDebugPayload from eZmaxApi.models.ezsignsigningreason_get_object_v2_response_m_payload import EzsignsigningreasonGetObjectV2ResponseMPayload from typing import Optional, Set from typing_extensions import Self -class EzsignsigningreasonGetObjectV2Response(CommonResponse): +class EzsignsigningreasonGetObjectV2Response(BaseModel): """ Response for GET /2/object/ezsignsigningreason/{pkiEzsignsigningreasonID} """ # noqa: E501 + obj_debug_payload: CommonResponseObjDebugPayload = Field(alias="objDebugPayload") + obj_debug: Optional[CommonResponseObjDebug] = Field(default=None, alias="objDebug") m_payload: EzsignsigningreasonGetObjectV2ResponseMPayload = Field(alias="mPayload") __properties: ClassVar[List[str]] = ["objDebugPayload", "objDebug", "mPayload"] diff --git a/eZmaxApi/models/ezsignsigningreason_request.py b/eZmaxApi/models/ezsignsigningreason_request.py index 85f4b5a51..f94abf37c 100644 --- a/eZmaxApi/models/ezsignsigningreason_request.py +++ b/eZmaxApi/models/ezsignsigningreason_request.py @@ -79,7 +79,19 @@ def to_dict(self) -> Dict[str, Any]: return _dict @classmethod - def from_dict(cls, obj: Dict[str, Any]) -> Optional[Self]: + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: """Create an instance of EzsignsigningreasonRequest from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "pkiEzsignsigningreasonID": obj.get("pkiEzsignsigningreasonID"), + "objEzsignsigningreasonDescription": MultilingualEzsignsigningreasonDescription.from_dict(obj["objEzsignsigningreasonDescription"]) if obj.get("objEzsignsigningreasonDescription") is not None else None, + "bEzsignsigningreasonIsactive": obj.get("bEzsignsigningreasonIsactive") + }) + return _obj diff --git a/eZmaxApi/models/ezsignsigningreason_request_compound.py b/eZmaxApi/models/ezsignsigningreason_request_compound.py index 3361af976..a45e4a2ac 100644 --- a/eZmaxApi/models/ezsignsigningreason_request_compound.py +++ b/eZmaxApi/models/ezsignsigningreason_request_compound.py @@ -18,17 +18,20 @@ import re # noqa: F401 import json -from pydantic import ConfigDict -from typing import Any, ClassVar, Dict, List -from eZmaxApi.models.ezsignsigningreason_request import EzsignsigningreasonRequest +from pydantic import BaseModel, ConfigDict, Field, StrictBool +from typing import Any, ClassVar, Dict, List, Optional +from typing_extensions import Annotated from eZmaxApi.models.multilingual_ezsignsigningreason_description import MultilingualEzsignsigningreasonDescription from typing import Optional, Set from typing_extensions import Self -class EzsignsigningreasonRequestCompound(EzsignsigningreasonRequest): +class EzsignsigningreasonRequestCompound(BaseModel): """ A Ezsignsigningreason Object and children """ # noqa: E501 + pki_ezsignsigningreason_id: Optional[Annotated[int, Field(le=255, strict=True, ge=0)]] = Field(default=None, description="The unique ID of the Ezsignsigningreason", alias="pkiEzsignsigningreasonID") + obj_ezsignsigningreason_description: MultilingualEzsignsigningreasonDescription = Field(alias="objEzsignsigningreasonDescription") + b_ezsignsigningreason_isactive: StrictBool = Field(description="Whether the ezsignsigningreason is active or not", alias="bEzsignsigningreasonIsactive") __properties: ClassVar[List[str]] = ["pkiEzsignsigningreasonID", "objEzsignsigningreasonDescription", "bEzsignsigningreasonIsactive"] model_config = ConfigDict( diff --git a/eZmaxApi/models/ezsignsigningreason_response.py b/eZmaxApi/models/ezsignsigningreason_response.py index e7a6b512a..d4a8b99a7 100644 --- a/eZmaxApi/models/ezsignsigningreason_response.py +++ b/eZmaxApi/models/ezsignsigningreason_response.py @@ -79,7 +79,19 @@ def to_dict(self) -> Dict[str, Any]: return _dict @classmethod - def from_dict(cls, obj: Dict[str, Any]) -> Optional[Self]: + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: """Create an instance of EzsignsigningreasonResponse from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "pkiEzsignsigningreasonID": obj.get("pkiEzsignsigningreasonID"), + "objEzsignsigningreasonDescription": MultilingualEzsignsigningreasonDescription.from_dict(obj["objEzsignsigningreasonDescription"]) if obj.get("objEzsignsigningreasonDescription") is not None else None, + "bEzsignsigningreasonIsactive": obj.get("bEzsignsigningreasonIsactive") + }) + return _obj diff --git a/eZmaxApi/models/ezsignsigningreason_response_compound.py b/eZmaxApi/models/ezsignsigningreason_response_compound.py index 5da59850e..2bca814d4 100644 --- a/eZmaxApi/models/ezsignsigningreason_response_compound.py +++ b/eZmaxApi/models/ezsignsigningreason_response_compound.py @@ -18,17 +18,20 @@ import re # noqa: F401 import json -from pydantic import ConfigDict +from pydantic import BaseModel, ConfigDict, Field, StrictBool from typing import Any, ClassVar, Dict, List -from eZmaxApi.models.ezsignsigningreason_response import EzsignsigningreasonResponse +from typing_extensions import Annotated from eZmaxApi.models.multilingual_ezsignsigningreason_description import MultilingualEzsignsigningreasonDescription from typing import Optional, Set from typing_extensions import Self -class EzsignsigningreasonResponseCompound(EzsignsigningreasonResponse): +class EzsignsigningreasonResponseCompound(BaseModel): """ A Ezsignsigningreason Object """ # noqa: E501 + pki_ezsignsigningreason_id: Annotated[int, Field(le=255, strict=True, ge=0)] = Field(description="The unique ID of the Ezsignsigningreason", alias="pkiEzsignsigningreasonID") + obj_ezsignsigningreason_description: MultilingualEzsignsigningreasonDescription = Field(alias="objEzsignsigningreasonDescription") + b_ezsignsigningreason_isactive: StrictBool = Field(description="Whether the ezsignsigningreason is active or not", alias="bEzsignsigningreasonIsactive") __properties: ClassVar[List[str]] = ["pkiEzsignsigningreasonID", "objEzsignsigningreasonDescription", "bEzsignsigningreasonIsactive"] model_config = ConfigDict( diff --git a/eZmaxApi/models/ezsigntemplate_copy_v1_response.py b/eZmaxApi/models/ezsigntemplate_copy_v1_response.py index 1ca0ac040..4c67b5757 100644 --- a/eZmaxApi/models/ezsigntemplate_copy_v1_response.py +++ b/eZmaxApi/models/ezsigntemplate_copy_v1_response.py @@ -18,19 +18,20 @@ import re # noqa: F401 import json -from pydantic import ConfigDict, Field -from typing import Any, ClassVar, Dict, List -from eZmaxApi.models.common_response import CommonResponse +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List, Optional from eZmaxApi.models.common_response_obj_debug import CommonResponseObjDebug from eZmaxApi.models.common_response_obj_debug_payload import CommonResponseObjDebugPayload from eZmaxApi.models.ezsigntemplate_copy_v1_response_m_payload import EzsigntemplateCopyV1ResponseMPayload from typing import Optional, Set from typing_extensions import Self -class EzsigntemplateCopyV1Response(CommonResponse): +class EzsigntemplateCopyV1Response(BaseModel): """ Response for POST /1/object/ezsigntemplate/{pkiEzsigntemplateID}/copy """ # noqa: E501 + obj_debug_payload: CommonResponseObjDebugPayload = Field(alias="objDebugPayload") + obj_debug: Optional[CommonResponseObjDebug] = Field(default=None, alias="objDebug") m_payload: EzsigntemplateCopyV1ResponseMPayload = Field(alias="mPayload") __properties: ClassVar[List[str]] = ["objDebugPayload", "objDebug", "mPayload"] diff --git a/eZmaxApi/models/ezsigntemplate_create_object_v3_response.py b/eZmaxApi/models/ezsigntemplate_create_object_v3_response.py index 123593cc7..1090cabaa 100644 --- a/eZmaxApi/models/ezsigntemplate_create_object_v3_response.py +++ b/eZmaxApi/models/ezsigntemplate_create_object_v3_response.py @@ -18,19 +18,20 @@ import re # noqa: F401 import json -from pydantic import ConfigDict, Field -from typing import Any, ClassVar, Dict, List -from eZmaxApi.models.common_response import CommonResponse +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List, Optional from eZmaxApi.models.common_response_obj_debug import CommonResponseObjDebug from eZmaxApi.models.common_response_obj_debug_payload import CommonResponseObjDebugPayload from eZmaxApi.models.ezsigntemplate_create_object_v3_response_m_payload import EzsigntemplateCreateObjectV3ResponseMPayload from typing import Optional, Set from typing_extensions import Self -class EzsigntemplateCreateObjectV3Response(CommonResponse): +class EzsigntemplateCreateObjectV3Response(BaseModel): """ Response for POST /3/object/ezsigntemplate """ # noqa: E501 + obj_debug_payload: CommonResponseObjDebugPayload = Field(alias="objDebugPayload") + obj_debug: Optional[CommonResponseObjDebug] = Field(default=None, alias="objDebug") m_payload: EzsigntemplateCreateObjectV3ResponseMPayload = Field(alias="mPayload") __properties: ClassVar[List[str]] = ["objDebugPayload", "objDebug", "mPayload"] diff --git a/eZmaxApi/models/ezsigntemplate_delete_object_v1_response.py b/eZmaxApi/models/ezsigntemplate_delete_object_v1_response.py index d3a869847..f001f726c 100644 --- a/eZmaxApi/models/ezsigntemplate_delete_object_v1_response.py +++ b/eZmaxApi/models/ezsigntemplate_delete_object_v1_response.py @@ -18,18 +18,19 @@ import re # noqa: F401 import json -from pydantic import ConfigDict -from typing import Any, ClassVar, Dict, List -from eZmaxApi.models.common_response import CommonResponse +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List, Optional from eZmaxApi.models.common_response_obj_debug import CommonResponseObjDebug from eZmaxApi.models.common_response_obj_debug_payload import CommonResponseObjDebugPayload from typing import Optional, Set from typing_extensions import Self -class EzsigntemplateDeleteObjectV1Response(CommonResponse): +class EzsigntemplateDeleteObjectV1Response(BaseModel): """ Response for DELETE /1/object/ezsigntemplate/{pkiEzsigntemplateID} """ # noqa: E501 + obj_debug_payload: CommonResponseObjDebugPayload = Field(alias="objDebugPayload") + obj_debug: Optional[CommonResponseObjDebug] = Field(default=None, alias="objDebug") __properties: ClassVar[List[str]] = ["objDebugPayload", "objDebug"] model_config = ConfigDict( diff --git a/eZmaxApi/models/ezsigntemplate_edit_object_v3_response.py b/eZmaxApi/models/ezsigntemplate_edit_object_v3_response.py index 13ad388f3..5154bd46f 100644 --- a/eZmaxApi/models/ezsigntemplate_edit_object_v3_response.py +++ b/eZmaxApi/models/ezsigntemplate_edit_object_v3_response.py @@ -18,18 +18,19 @@ import re # noqa: F401 import json -from pydantic import ConfigDict -from typing import Any, ClassVar, Dict, List -from eZmaxApi.models.common_response import CommonResponse +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List, Optional from eZmaxApi.models.common_response_obj_debug import CommonResponseObjDebug from eZmaxApi.models.common_response_obj_debug_payload import CommonResponseObjDebugPayload from typing import Optional, Set from typing_extensions import Self -class EzsigntemplateEditObjectV3Response(CommonResponse): +class EzsigntemplateEditObjectV3Response(BaseModel): """ Response for PUT /3/object/ezsigntemplate/{pkiEzsigntemplateID} """ # noqa: E501 + obj_debug_payload: CommonResponseObjDebugPayload = Field(alias="objDebugPayload") + obj_debug: Optional[CommonResponseObjDebug] = Field(default=None, alias="objDebug") __properties: ClassVar[List[str]] = ["objDebugPayload", "objDebug"] model_config = ConfigDict( diff --git a/eZmaxApi/models/ezsigntemplate_get_autocomplete_v2_response.py b/eZmaxApi/models/ezsigntemplate_get_autocomplete_v2_response.py index 182a1b5f8..fba82ab90 100644 --- a/eZmaxApi/models/ezsigntemplate_get_autocomplete_v2_response.py +++ b/eZmaxApi/models/ezsigntemplate_get_autocomplete_v2_response.py @@ -18,19 +18,20 @@ import re # noqa: F401 import json -from pydantic import ConfigDict, Field -from typing import Any, ClassVar, Dict, List -from eZmaxApi.models.common_response import CommonResponse +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List, Optional from eZmaxApi.models.common_response_obj_debug import CommonResponseObjDebug from eZmaxApi.models.common_response_obj_debug_payload import CommonResponseObjDebugPayload from eZmaxApi.models.ezsigntemplate_get_autocomplete_v2_response_m_payload import EzsigntemplateGetAutocompleteV2ResponseMPayload from typing import Optional, Set from typing_extensions import Self -class EzsigntemplateGetAutocompleteV2Response(CommonResponse): +class EzsigntemplateGetAutocompleteV2Response(BaseModel): """ Response for GET /2/object/ezsigntemplate/getAutocomplete """ # noqa: E501 + obj_debug_payload: CommonResponseObjDebugPayload = Field(alias="objDebugPayload") + obj_debug: Optional[CommonResponseObjDebug] = Field(default=None, alias="objDebug") m_payload: EzsigntemplateGetAutocompleteV2ResponseMPayload = Field(alias="mPayload") __properties: ClassVar[List[str]] = ["objDebugPayload", "objDebug", "mPayload"] diff --git a/eZmaxApi/models/ezsigntemplate_get_list_v1_response.py b/eZmaxApi/models/ezsigntemplate_get_list_v1_response.py index db8058479..e2b596119 100644 --- a/eZmaxApi/models/ezsigntemplate_get_list_v1_response.py +++ b/eZmaxApi/models/ezsigntemplate_get_list_v1_response.py @@ -18,19 +18,20 @@ import re # noqa: F401 import json -from pydantic import ConfigDict, Field -from typing import Any, ClassVar, Dict, List -from eZmaxApi.models.common_response_get_list import CommonResponseGetList +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List, Optional from eZmaxApi.models.common_response_obj_debug import CommonResponseObjDebug from eZmaxApi.models.common_response_obj_debug_payload_get_list import CommonResponseObjDebugPayloadGetList from eZmaxApi.models.ezsigntemplate_get_list_v1_response_m_payload import EzsigntemplateGetListV1ResponseMPayload from typing import Optional, Set from typing_extensions import Self -class EzsigntemplateGetListV1Response(CommonResponseGetList): +class EzsigntemplateGetListV1Response(BaseModel): """ Response for GET /1/object/ezsigntemplate/getList """ # noqa: E501 + obj_debug_payload: CommonResponseObjDebugPayloadGetList = Field(alias="objDebugPayload") + obj_debug: Optional[CommonResponseObjDebug] = Field(default=None, alias="objDebug") m_payload: EzsigntemplateGetListV1ResponseMPayload = Field(alias="mPayload") __properties: ClassVar[List[str]] = ["objDebugPayload", "objDebug", "mPayload"] diff --git a/eZmaxApi/models/ezsigntemplate_get_list_v1_response_m_payload.py b/eZmaxApi/models/ezsigntemplate_get_list_v1_response_m_payload.py index 87b21a968..412b2a5ec 100644 --- a/eZmaxApi/models/ezsigntemplate_get_list_v1_response_m_payload.py +++ b/eZmaxApi/models/ezsigntemplate_get_list_v1_response_m_payload.py @@ -18,17 +18,18 @@ import re # noqa: F401 import json -from pydantic import ConfigDict, Field +from pydantic import BaseModel, ConfigDict, Field, StrictInt from typing import Any, ClassVar, Dict, List -from eZmaxApi.models.common_get_list_v1_response_m_payload import CommonGetListV1ResponseMPayload from eZmaxApi.models.ezsigntemplate_list_element import EzsigntemplateListElement from typing import Optional, Set from typing_extensions import Self -class EzsigntemplateGetListV1ResponseMPayload(CommonGetListV1ResponseMPayload): +class EzsigntemplateGetListV1ResponseMPayload(BaseModel): """ Payload for GET /1/object/ezsigntemplate/getList """ # noqa: E501 + i_row_returned: StrictInt = Field(description="The number of rows returned", alias="iRowReturned") + i_row_filtered: StrictInt = Field(description="The number of rows matching your filters (if any) or the total number of rows", alias="iRowFiltered") a_obj_ezsigntemplate: List[EzsigntemplateListElement] = Field(alias="a_objEzsigntemplate") __properties: ClassVar[List[str]] = ["iRowReturned", "iRowFiltered", "a_objEzsigntemplate"] diff --git a/eZmaxApi/models/ezsigntemplate_get_object_v3_response.py b/eZmaxApi/models/ezsigntemplate_get_object_v3_response.py index 7c19c7aeb..b9b336a1b 100644 --- a/eZmaxApi/models/ezsigntemplate_get_object_v3_response.py +++ b/eZmaxApi/models/ezsigntemplate_get_object_v3_response.py @@ -18,19 +18,20 @@ import re # noqa: F401 import json -from pydantic import ConfigDict, Field -from typing import Any, ClassVar, Dict, List -from eZmaxApi.models.common_response import CommonResponse +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List, Optional from eZmaxApi.models.common_response_obj_debug import CommonResponseObjDebug from eZmaxApi.models.common_response_obj_debug_payload import CommonResponseObjDebugPayload from eZmaxApi.models.ezsigntemplate_get_object_v3_response_m_payload import EzsigntemplateGetObjectV3ResponseMPayload from typing import Optional, Set from typing_extensions import Self -class EzsigntemplateGetObjectV3Response(CommonResponse): +class EzsigntemplateGetObjectV3Response(BaseModel): """ Response for GET /3/object/ezsigntemplate/{pkiEzsigntemplateID} """ # noqa: E501 + obj_debug_payload: CommonResponseObjDebugPayload = Field(alias="objDebugPayload") + obj_debug: Optional[CommonResponseObjDebug] = Field(default=None, alias="objDebug") m_payload: EzsigntemplateGetObjectV3ResponseMPayload = Field(alias="mPayload") __properties: ClassVar[List[str]] = ["objDebugPayload", "objDebug", "mPayload"] diff --git a/eZmaxApi/models/ezsigntemplate_request_compound_v3.py b/eZmaxApi/models/ezsigntemplate_request_compound_v3.py index 320cae190..102c58375 100644 --- a/eZmaxApi/models/ezsigntemplate_request_compound_v3.py +++ b/eZmaxApi/models/ezsigntemplate_request_compound_v3.py @@ -18,20 +18,58 @@ import re # noqa: F401 import json -from pydantic import ConfigDict -from typing import Any, ClassVar, Dict, List -from eZmaxApi.models.ezsigntemplate_request_v3 import EzsigntemplateRequestV3 +from pydantic import BaseModel, ConfigDict, Field, StrictBool, StrictStr, field_validator +from typing import Any, ClassVar, Dict, List, Optional +from typing_extensions import Annotated from eZmaxApi.models.field_e_ezsigntemplate_recognition import FieldEEzsigntemplateRecognition from eZmaxApi.models.field_e_ezsigntemplate_type import FieldEEzsigntemplateType from typing import Optional, Set from typing_extensions import Self -class EzsigntemplateRequestCompoundV3(EzsigntemplateRequestV3): +class EzsigntemplateRequestCompoundV3(BaseModel): """ A Ezsigntemplate Object and children """ # noqa: E501 + pki_ezsigntemplate_id: Optional[Annotated[int, Field(strict=True, ge=0)]] = Field(default=None, description="The unique ID of the Ezsigntemplate", alias="pkiEzsigntemplateID") + fki_ezsignfoldertype_id: Optional[Annotated[int, Field(le=65535, strict=True, ge=0)]] = Field(default=None, description="The unique ID of the Ezsignfoldertype.", alias="fkiEzsignfoldertypeID") + fki_language_id: Annotated[int, Field(le=2, strict=True, ge=1)] = Field(description="The unique ID of the Language. Valid values: |Value|Description| |-|-| |1|French| |2|English|", alias="fkiLanguageID") + fki_ezdoctemplatedocument_id: Optional[Annotated[int, Field(le=65535, strict=True, ge=0)]] = Field(default=None, description="The unique ID of the Ezdoctemplatedocument", alias="fkiEzdoctemplatedocumentID") + s_ezsigntemplate_description: Annotated[str, Field(strict=True)] = Field(description="The description of the Ezsigntemplate", alias="sEzsigntemplateDescription") + s_ezsigntemplate_externaldescription: Optional[Annotated[str, Field(strict=True)]] = Field(default=None, description="The external description of the Ezsigntemplate", alias="sEzsigntemplateExternaldescription") + t_ezsigntemplate_comment: Optional[StrictStr] = Field(default=None, description="The comment of the Ezsigntemplate", alias="tEzsigntemplateComment") + e_ezsigntemplate_recognition: Optional[FieldEEzsigntemplateRecognition] = Field(default=FieldEEzsigntemplateRecognition.NO, alias="eEzsigntemplateRecognition") + s_ezsigntemplate_filenameregexp: Optional[Annotated[str, Field(strict=True)]] = Field(default=None, description="The filename regexp of the Ezsigntemplate.", alias="sEzsigntemplateFilenameregexp") + b_ezsigntemplate_adminonly: StrictBool = Field(description="Whether the Ezsigntemplate can be accessed by admin users only (eUserType=Normal)", alias="bEzsigntemplateAdminonly") + e_ezsigntemplate_type: FieldEEzsigntemplateType = Field(alias="eEzsigntemplateType") __properties: ClassVar[List[str]] = ["pkiEzsigntemplateID", "fkiEzsignfoldertypeID", "fkiLanguageID", "fkiEzdoctemplatedocumentID", "sEzsigntemplateDescription", "sEzsigntemplateExternaldescription", "tEzsigntemplateComment", "eEzsigntemplateRecognition", "sEzsigntemplateFilenameregexp", "bEzsigntemplateAdminonly", "eEzsigntemplateType"] + @field_validator('s_ezsigntemplate_description') + def s_ezsigntemplate_description_validate_regular_expression(cls, value): + """Validates the regular expression""" + if not re.match(r"^.{0,80}$", value): + raise ValueError(r"must validate the regular expression /^.{0,80}$/") + return value + + @field_validator('s_ezsigntemplate_externaldescription') + def s_ezsigntemplate_externaldescription_validate_regular_expression(cls, value): + """Validates the regular expression""" + if value is None: + return value + + if not re.match(r"^.{0,75}$", value): + raise ValueError(r"must validate the regular expression /^.{0,75}$/") + return value + + @field_validator('s_ezsigntemplate_filenameregexp') + def s_ezsigntemplate_filenameregexp_validate_regular_expression(cls, value): + """Validates the regular expression""" + if value is None: + return value + + if not re.match(r"^.{1,50}$", value): + raise ValueError(r"must validate the regular expression /^.{1,50}$/") + return value + model_config = ConfigDict( populate_by_name=True, validate_assignment=True, diff --git a/eZmaxApi/models/ezsigntemplate_request_v3.py b/eZmaxApi/models/ezsigntemplate_request_v3.py index 55b7806ed..501d5607f 100644 --- a/eZmaxApi/models/ezsigntemplate_request_v3.py +++ b/eZmaxApi/models/ezsigntemplate_request_v3.py @@ -112,7 +112,27 @@ def to_dict(self) -> Dict[str, Any]: return _dict @classmethod - def from_dict(cls, obj: Dict[str, Any]) -> Optional[Self]: + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: """Create an instance of EzsigntemplateRequestV3 from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "pkiEzsigntemplateID": obj.get("pkiEzsigntemplateID"), + "fkiEzsignfoldertypeID": obj.get("fkiEzsignfoldertypeID"), + "fkiLanguageID": obj.get("fkiLanguageID"), + "fkiEzdoctemplatedocumentID": obj.get("fkiEzdoctemplatedocumentID"), + "sEzsigntemplateDescription": obj.get("sEzsigntemplateDescription"), + "sEzsigntemplateExternaldescription": obj.get("sEzsigntemplateExternaldescription"), + "tEzsigntemplateComment": obj.get("tEzsigntemplateComment"), + "eEzsigntemplateRecognition": obj.get("eEzsigntemplateRecognition") if obj.get("eEzsigntemplateRecognition") is not None else FieldEEzsigntemplateRecognition.NO, + "sEzsigntemplateFilenameregexp": obj.get("sEzsigntemplateFilenameregexp"), + "bEzsigntemplateAdminonly": obj.get("bEzsigntemplateAdminonly"), + "eEzsigntemplateType": obj.get("eEzsigntemplateType") + }) + return _obj diff --git a/eZmaxApi/models/ezsigntemplate_response.py b/eZmaxApi/models/ezsigntemplate_response.py index 7a6a42ab3..0aada47f9 100644 --- a/eZmaxApi/models/ezsigntemplate_response.py +++ b/eZmaxApi/models/ezsigntemplate_response.py @@ -119,7 +119,31 @@ def to_dict(self) -> Dict[str, Any]: return _dict @classmethod - def from_dict(cls, obj: Dict[str, Any]) -> Optional[Self]: + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: """Create an instance of EzsigntemplateResponse from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "pkiEzsigntemplateID": obj.get("pkiEzsigntemplateID"), + "fkiEzsigntemplatedocumentID": obj.get("fkiEzsigntemplatedocumentID"), + "fkiEzsignfoldertypeID": obj.get("fkiEzsignfoldertypeID"), + "fkiLanguageID": obj.get("fkiLanguageID"), + "fkiEzdoctemplatedocumentID": obj.get("fkiEzdoctemplatedocumentID"), + "sLanguageNameX": obj.get("sLanguageNameX"), + "sEzsigntemplateDescription": obj.get("sEzsigntemplateDescription"), + "sEzsigntemplateExternaldescription": obj.get("sEzsigntemplateExternaldescription"), + "tEzsigntemplateComment": obj.get("tEzsigntemplateComment"), + "sEzsigntemplateFilenamepattern": obj.get("sEzsigntemplateFilenamepattern"), + "bEzsigntemplateAdminonly": obj.get("bEzsigntemplateAdminonly"), + "sEzsignfoldertypeNameX": obj.get("sEzsignfoldertypeNameX"), + "objAudit": CommonAudit.from_dict(obj["objAudit"]) if obj.get("objAudit") is not None else None, + "bEzsigntemplateEditallowed": obj.get("bEzsigntemplateEditallowed"), + "eEzsigntemplateType": obj.get("eEzsigntemplateType") + }) + return _obj diff --git a/eZmaxApi/models/ezsigntemplate_response_compound.py b/eZmaxApi/models/ezsigntemplate_response_compound.py index 090bf47f9..d2ecdc98f 100644 --- a/eZmaxApi/models/ezsigntemplate_response_compound.py +++ b/eZmaxApi/models/ezsigntemplate_response_compound.py @@ -18,24 +18,66 @@ import re # noqa: F401 import json -from pydantic import ConfigDict, Field +from pydantic import BaseModel, ConfigDict, Field, StrictBool, StrictStr, field_validator from typing import Any, ClassVar, Dict, List, Optional +from typing_extensions import Annotated from eZmaxApi.models.common_audit import CommonAudit -from eZmaxApi.models.ezsigntemplate_response import EzsigntemplateResponse from eZmaxApi.models.ezsigntemplatedocument_response import EzsigntemplatedocumentResponse from eZmaxApi.models.ezsigntemplatesigner_response_compound import EzsigntemplatesignerResponseCompound from eZmaxApi.models.field_e_ezsigntemplate_type import FieldEEzsigntemplateType from typing import Optional, Set from typing_extensions import Self -class EzsigntemplateResponseCompound(EzsigntemplateResponse): +class EzsigntemplateResponseCompound(BaseModel): """ A Ezsigntemplate Object """ # noqa: E501 + pki_ezsigntemplate_id: Annotated[int, Field(strict=True, ge=0)] = Field(description="The unique ID of the Ezsigntemplate", alias="pkiEzsigntemplateID") + fki_ezsigntemplatedocument_id: Optional[Annotated[int, Field(strict=True, ge=0)]] = Field(default=None, description="The unique ID of the Ezsigntemplatedocument", alias="fkiEzsigntemplatedocumentID") + fki_ezsignfoldertype_id: Optional[Annotated[int, Field(le=65535, strict=True, ge=0)]] = Field(default=None, description="The unique ID of the Ezsignfoldertype.", alias="fkiEzsignfoldertypeID") + fki_language_id: Annotated[int, Field(le=2, strict=True, ge=1)] = Field(description="The unique ID of the Language. Valid values: |Value|Description| |-|-| |1|French| |2|English|", alias="fkiLanguageID") + fki_ezdoctemplatedocument_id: Optional[Annotated[int, Field(le=65535, strict=True, ge=0)]] = Field(default=None, description="The unique ID of the Ezdoctemplatedocument", alias="fkiEzdoctemplatedocumentID") + s_language_name_x: StrictStr = Field(description="The Name of the Language in the language of the requester", alias="sLanguageNameX") + s_ezsigntemplate_description: Annotated[str, Field(strict=True)] = Field(description="The description of the Ezsigntemplate", alias="sEzsigntemplateDescription") + s_ezsigntemplate_externaldescription: Optional[Annotated[str, Field(strict=True)]] = Field(default=None, description="The external description of the Ezsigntemplate", alias="sEzsigntemplateExternaldescription") + t_ezsigntemplate_comment: Optional[StrictStr] = Field(default=None, description="The comment of the Ezsigntemplate", alias="tEzsigntemplateComment") + s_ezsigntemplate_filenamepattern: Optional[Annotated[str, Field(strict=True)]] = Field(default=None, description="The filename pattern of the Ezsigntemplate", alias="sEzsigntemplateFilenamepattern") + b_ezsigntemplate_adminonly: StrictBool = Field(description="Whether the Ezsigntemplate can be accessed by admin users only (eUserType=Normal)", alias="bEzsigntemplateAdminonly") + s_ezsignfoldertype_name_x: Optional[StrictStr] = Field(default=None, description="The name of the Ezsignfoldertype in the language of the requester", alias="sEzsignfoldertypeNameX") + obj_audit: CommonAudit = Field(alias="objAudit") + b_ezsigntemplate_editallowed: StrictBool = Field(description="Whether the Ezsigntemplate if allowed to edit or not", alias="bEzsigntemplateEditallowed") + e_ezsigntemplate_type: Optional[FieldEEzsigntemplateType] = Field(default=None, alias="eEzsigntemplateType") obj_ezsigntemplatedocument: Optional[EzsigntemplatedocumentResponse] = Field(default=None, alias="objEzsigntemplatedocument") a_obj_ezsigntemplatesigner: List[EzsigntemplatesignerResponseCompound] = Field(alias="a_objEzsigntemplatesigner") __properties: ClassVar[List[str]] = ["pkiEzsigntemplateID", "fkiEzsigntemplatedocumentID", "fkiEzsignfoldertypeID", "fkiLanguageID", "fkiEzdoctemplatedocumentID", "sLanguageNameX", "sEzsigntemplateDescription", "sEzsigntemplateExternaldescription", "tEzsigntemplateComment", "sEzsigntemplateFilenamepattern", "bEzsigntemplateAdminonly", "sEzsignfoldertypeNameX", "objAudit", "bEzsigntemplateEditallowed", "eEzsigntemplateType", "objEzsigntemplatedocument", "a_objEzsigntemplatesigner"] + @field_validator('s_ezsigntemplate_description') + def s_ezsigntemplate_description_validate_regular_expression(cls, value): + """Validates the regular expression""" + if not re.match(r"^.{0,80}$", value): + raise ValueError(r"must validate the regular expression /^.{0,80}$/") + return value + + @field_validator('s_ezsigntemplate_externaldescription') + def s_ezsigntemplate_externaldescription_validate_regular_expression(cls, value): + """Validates the regular expression""" + if value is None: + return value + + if not re.match(r"^.{0,75}$", value): + raise ValueError(r"must validate the regular expression /^.{0,75}$/") + return value + + @field_validator('s_ezsigntemplate_filenamepattern') + def s_ezsigntemplate_filenamepattern_validate_regular_expression(cls, value): + """Validates the regular expression""" + if value is None: + return value + + if not re.match(r"^.{1,50}$", value): + raise ValueError(r"must validate the regular expression /^.{1,50}$/") + return value + model_config = ConfigDict( populate_by_name=True, validate_assignment=True, diff --git a/eZmaxApi/models/ezsigntemplate_response_compound_v3.py b/eZmaxApi/models/ezsigntemplate_response_compound_v3.py index fa2c77974..b9f247e77 100644 --- a/eZmaxApi/models/ezsigntemplate_response_compound_v3.py +++ b/eZmaxApi/models/ezsigntemplate_response_compound_v3.py @@ -18,10 +18,10 @@ import re # noqa: F401 import json -from pydantic import ConfigDict, Field +from pydantic import BaseModel, ConfigDict, Field, StrictBool, StrictStr, field_validator from typing import Any, ClassVar, Dict, List, Optional +from typing_extensions import Annotated from eZmaxApi.models.common_audit import CommonAudit -from eZmaxApi.models.ezsigntemplate_response_v3 import EzsigntemplateResponseV3 from eZmaxApi.models.ezsigntemplatedocument_response import EzsigntemplatedocumentResponse from eZmaxApi.models.ezsigntemplatesigner_response_compound import EzsigntemplatesignerResponseCompound from eZmaxApi.models.field_e_ezsigntemplate_recognition import FieldEEzsigntemplateRecognition @@ -29,14 +29,68 @@ from typing import Optional, Set from typing_extensions import Self -class EzsigntemplateResponseCompoundV3(EzsigntemplateResponseV3): +class EzsigntemplateResponseCompoundV3(BaseModel): """ A Ezsigntemplate Object """ # noqa: E501 + pki_ezsigntemplate_id: Annotated[int, Field(strict=True, ge=0)] = Field(description="The unique ID of the Ezsigntemplate", alias="pkiEzsigntemplateID") + fki_ezsigntemplatedocument_id: Optional[Annotated[int, Field(strict=True, ge=0)]] = Field(default=None, description="The unique ID of the Ezsigntemplatedocument", alias="fkiEzsigntemplatedocumentID") + fki_ezsignfoldertype_id: Optional[Annotated[int, Field(le=65535, strict=True, ge=0)]] = Field(default=None, description="The unique ID of the Ezsignfoldertype.", alias="fkiEzsignfoldertypeID") + fki_language_id: Annotated[int, Field(le=2, strict=True, ge=1)] = Field(description="The unique ID of the Language. Valid values: |Value|Description| |-|-| |1|French| |2|English|", alias="fkiLanguageID") + fki_ezdoctemplatedocument_id: Optional[Annotated[int, Field(le=65535, strict=True, ge=0)]] = Field(default=None, description="The unique ID of the Ezdoctemplatedocument", alias="fkiEzdoctemplatedocumentID") + s_ezdoctemplatedocument_name_x: Optional[Annotated[str, Field(strict=True)]] = Field(default=None, description="The name of the Ezdoctemplatedocument in the language of the requester", alias="sEzdoctemplatedocumentNameX") + s_language_name_x: StrictStr = Field(description="The Name of the Language in the language of the requester", alias="sLanguageNameX") + s_ezsigntemplate_description: Annotated[str, Field(strict=True)] = Field(description="The description of the Ezsigntemplate", alias="sEzsigntemplateDescription") + s_ezsigntemplate_externaldescription: Optional[Annotated[str, Field(strict=True)]] = Field(default=None, description="The external description of the Ezsigntemplate", alias="sEzsigntemplateExternaldescription") + t_ezsigntemplate_comment: Optional[StrictStr] = Field(default=None, description="The comment of the Ezsigntemplate", alias="tEzsigntemplateComment") + e_ezsigntemplate_recognition: Optional[FieldEEzsigntemplateRecognition] = Field(default=FieldEEzsigntemplateRecognition.NO, alias="eEzsigntemplateRecognition") + s_ezsigntemplate_filenameregexp: Optional[Annotated[str, Field(strict=True)]] = Field(default=None, description="The filename regexp of the Ezsigntemplate.", alias="sEzsigntemplateFilenameregexp") + b_ezsigntemplate_adminonly: StrictBool = Field(description="Whether the Ezsigntemplate can be accessed by admin users only (eUserType=Normal)", alias="bEzsigntemplateAdminonly") + s_ezsignfoldertype_name_x: Optional[StrictStr] = Field(default=None, description="The name of the Ezsignfoldertype in the language of the requester", alias="sEzsignfoldertypeNameX") + obj_audit: CommonAudit = Field(alias="objAudit") + b_ezsigntemplate_editallowed: StrictBool = Field(description="Whether the Ezsigntemplate if allowed to edit or not", alias="bEzsigntemplateEditallowed") + e_ezsigntemplate_type: Optional[FieldEEzsigntemplateType] = Field(default=None, alias="eEzsigntemplateType") obj_ezsigntemplatedocument: Optional[EzsigntemplatedocumentResponse] = Field(default=None, alias="objEzsigntemplatedocument") a_obj_ezsigntemplatesigner: List[EzsigntemplatesignerResponseCompound] = Field(alias="a_objEzsigntemplatesigner") __properties: ClassVar[List[str]] = ["pkiEzsigntemplateID", "fkiEzsigntemplatedocumentID", "fkiEzsignfoldertypeID", "fkiLanguageID", "fkiEzdoctemplatedocumentID", "sEzdoctemplatedocumentNameX", "sLanguageNameX", "sEzsigntemplateDescription", "sEzsigntemplateExternaldescription", "tEzsigntemplateComment", "eEzsigntemplateRecognition", "sEzsigntemplateFilenameregexp", "bEzsigntemplateAdminonly", "sEzsignfoldertypeNameX", "objAudit", "bEzsigntemplateEditallowed", "eEzsigntemplateType", "objEzsigntemplatedocument", "a_objEzsigntemplatesigner"] + @field_validator('s_ezdoctemplatedocument_name_x') + def s_ezdoctemplatedocument_name_x_validate_regular_expression(cls, value): + """Validates the regular expression""" + if value is None: + return value + + if not re.match(r"^.{0,50}$", value): + raise ValueError(r"must validate the regular expression /^.{0,50}$/") + return value + + @field_validator('s_ezsigntemplate_description') + def s_ezsigntemplate_description_validate_regular_expression(cls, value): + """Validates the regular expression""" + if not re.match(r"^.{0,80}$", value): + raise ValueError(r"must validate the regular expression /^.{0,80}$/") + return value + + @field_validator('s_ezsigntemplate_externaldescription') + def s_ezsigntemplate_externaldescription_validate_regular_expression(cls, value): + """Validates the regular expression""" + if value is None: + return value + + if not re.match(r"^.{0,75}$", value): + raise ValueError(r"must validate the regular expression /^.{0,75}$/") + return value + + @field_validator('s_ezsigntemplate_filenameregexp') + def s_ezsigntemplate_filenameregexp_validate_regular_expression(cls, value): + """Validates the regular expression""" + if value is None: + return value + + if not re.match(r"^.{1,50}$", value): + raise ValueError(r"must validate the regular expression /^.{1,50}$/") + return value + model_config = ConfigDict( populate_by_name=True, validate_assignment=True, diff --git a/eZmaxApi/models/ezsigntemplate_response_v3.py b/eZmaxApi/models/ezsigntemplate_response_v3.py index 5d392ab38..b111042d1 100644 --- a/eZmaxApi/models/ezsigntemplate_response_v3.py +++ b/eZmaxApi/models/ezsigntemplate_response_v3.py @@ -132,7 +132,33 @@ def to_dict(self) -> Dict[str, Any]: return _dict @classmethod - def from_dict(cls, obj: Dict[str, Any]) -> Optional[Self]: + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: """Create an instance of EzsigntemplateResponseV3 from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "pkiEzsigntemplateID": obj.get("pkiEzsigntemplateID"), + "fkiEzsigntemplatedocumentID": obj.get("fkiEzsigntemplatedocumentID"), + "fkiEzsignfoldertypeID": obj.get("fkiEzsignfoldertypeID"), + "fkiLanguageID": obj.get("fkiLanguageID"), + "fkiEzdoctemplatedocumentID": obj.get("fkiEzdoctemplatedocumentID"), + "sEzdoctemplatedocumentNameX": obj.get("sEzdoctemplatedocumentNameX"), + "sLanguageNameX": obj.get("sLanguageNameX"), + "sEzsigntemplateDescription": obj.get("sEzsigntemplateDescription"), + "sEzsigntemplateExternaldescription": obj.get("sEzsigntemplateExternaldescription"), + "tEzsigntemplateComment": obj.get("tEzsigntemplateComment"), + "eEzsigntemplateRecognition": obj.get("eEzsigntemplateRecognition") if obj.get("eEzsigntemplateRecognition") is not None else FieldEEzsigntemplateRecognition.NO, + "sEzsigntemplateFilenameregexp": obj.get("sEzsigntemplateFilenameregexp"), + "bEzsigntemplateAdminonly": obj.get("bEzsigntemplateAdminonly"), + "sEzsignfoldertypeNameX": obj.get("sEzsignfoldertypeNameX"), + "objAudit": CommonAudit.from_dict(obj["objAudit"]) if obj.get("objAudit") is not None else None, + "bEzsigntemplateEditallowed": obj.get("bEzsigntemplateEditallowed"), + "eEzsigntemplateType": obj.get("eEzsigntemplateType") + }) + return _obj diff --git a/eZmaxApi/models/ezsigntemplatedocument_create_object_v1_response.py b/eZmaxApi/models/ezsigntemplatedocument_create_object_v1_response.py index d2c3c294d..200e9209f 100644 --- a/eZmaxApi/models/ezsigntemplatedocument_create_object_v1_response.py +++ b/eZmaxApi/models/ezsigntemplatedocument_create_object_v1_response.py @@ -18,19 +18,20 @@ import re # noqa: F401 import json -from pydantic import ConfigDict, Field -from typing import Any, ClassVar, Dict, List -from eZmaxApi.models.common_response import CommonResponse +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List, Optional from eZmaxApi.models.common_response_obj_debug import CommonResponseObjDebug from eZmaxApi.models.common_response_obj_debug_payload import CommonResponseObjDebugPayload from eZmaxApi.models.ezsigntemplatedocument_create_object_v1_response_m_payload import EzsigntemplatedocumentCreateObjectV1ResponseMPayload from typing import Optional, Set from typing_extensions import Self -class EzsigntemplatedocumentCreateObjectV1Response(CommonResponse): +class EzsigntemplatedocumentCreateObjectV1Response(BaseModel): """ Response for POST /1/object/ezsigntemplatedocument """ # noqa: E501 + obj_debug_payload: CommonResponseObjDebugPayload = Field(alias="objDebugPayload") + obj_debug: Optional[CommonResponseObjDebug] = Field(default=None, alias="objDebug") m_payload: EzsigntemplatedocumentCreateObjectV1ResponseMPayload = Field(alias="mPayload") __properties: ClassVar[List[str]] = ["objDebugPayload", "objDebug", "mPayload"] diff --git a/eZmaxApi/models/ezsigntemplatedocument_edit_ezsigntemplatedocumentpagerecognitions_v1_response.py b/eZmaxApi/models/ezsigntemplatedocument_edit_ezsigntemplatedocumentpagerecognitions_v1_response.py index 5c1e3dfe1..31814b0aa 100644 --- a/eZmaxApi/models/ezsigntemplatedocument_edit_ezsigntemplatedocumentpagerecognitions_v1_response.py +++ b/eZmaxApi/models/ezsigntemplatedocument_edit_ezsigntemplatedocumentpagerecognitions_v1_response.py @@ -18,19 +18,20 @@ import re # noqa: F401 import json -from pydantic import ConfigDict, Field -from typing import Any, ClassVar, Dict, List -from eZmaxApi.models.common_response import CommonResponse +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List, Optional from eZmaxApi.models.common_response_obj_debug import CommonResponseObjDebug from eZmaxApi.models.common_response_obj_debug_payload import CommonResponseObjDebugPayload from eZmaxApi.models.ezsigntemplatedocument_edit_ezsigntemplatedocumentpagerecognitions_v1_response_m_payload import EzsigntemplatedocumentEditEzsigntemplatedocumentpagerecognitionsV1ResponseMPayload from typing import Optional, Set from typing_extensions import Self -class EzsigntemplatedocumentEditEzsigntemplatedocumentpagerecognitionsV1Response(CommonResponse): +class EzsigntemplatedocumentEditEzsigntemplatedocumentpagerecognitionsV1Response(BaseModel): """ Response for PUT /1/object/ezsigntemplatedocument/{pkiEzsigntemplatedocumentID}/editEzsigntemplatedocumentpagerecognitions """ # noqa: E501 + obj_debug_payload: CommonResponseObjDebugPayload = Field(alias="objDebugPayload") + obj_debug: Optional[CommonResponseObjDebug] = Field(default=None, alias="objDebug") m_payload: EzsigntemplatedocumentEditEzsigntemplatedocumentpagerecognitionsV1ResponseMPayload = Field(alias="mPayload") __properties: ClassVar[List[str]] = ["objDebugPayload", "objDebug", "mPayload"] diff --git a/eZmaxApi/models/ezsigntemplatedocument_edit_ezsigntemplateformfieldgroups_v1_response.py b/eZmaxApi/models/ezsigntemplatedocument_edit_ezsigntemplateformfieldgroups_v1_response.py index 2eb07c0c8..955bb8fef 100644 --- a/eZmaxApi/models/ezsigntemplatedocument_edit_ezsigntemplateformfieldgroups_v1_response.py +++ b/eZmaxApi/models/ezsigntemplatedocument_edit_ezsigntemplateformfieldgroups_v1_response.py @@ -18,19 +18,20 @@ import re # noqa: F401 import json -from pydantic import ConfigDict, Field -from typing import Any, ClassVar, Dict, List -from eZmaxApi.models.common_response import CommonResponse +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List, Optional from eZmaxApi.models.common_response_obj_debug import CommonResponseObjDebug from eZmaxApi.models.common_response_obj_debug_payload import CommonResponseObjDebugPayload from eZmaxApi.models.ezsigntemplatedocument_edit_ezsigntemplateformfieldgroups_v1_response_m_payload import EzsigntemplatedocumentEditEzsigntemplateformfieldgroupsV1ResponseMPayload from typing import Optional, Set from typing_extensions import Self -class EzsigntemplatedocumentEditEzsigntemplateformfieldgroupsV1Response(CommonResponse): +class EzsigntemplatedocumentEditEzsigntemplateformfieldgroupsV1Response(BaseModel): """ Response for PUT /1/object/ezsigntemplatedocument/{pkiEzsigntemplatedocumentID}/editEzsigntemplateformfieldgroups """ # noqa: E501 + obj_debug_payload: CommonResponseObjDebugPayload = Field(alias="objDebugPayload") + obj_debug: Optional[CommonResponseObjDebug] = Field(default=None, alias="objDebug") m_payload: EzsigntemplatedocumentEditEzsigntemplateformfieldgroupsV1ResponseMPayload = Field(alias="mPayload") __properties: ClassVar[List[str]] = ["objDebugPayload", "objDebug", "mPayload"] diff --git a/eZmaxApi/models/ezsigntemplatedocument_edit_ezsigntemplatesignatures_v1_response.py b/eZmaxApi/models/ezsigntemplatedocument_edit_ezsigntemplatesignatures_v1_response.py index f08059918..ddaec687a 100644 --- a/eZmaxApi/models/ezsigntemplatedocument_edit_ezsigntemplatesignatures_v1_response.py +++ b/eZmaxApi/models/ezsigntemplatedocument_edit_ezsigntemplatesignatures_v1_response.py @@ -18,19 +18,20 @@ import re # noqa: F401 import json -from pydantic import ConfigDict, Field -from typing import Any, ClassVar, Dict, List -from eZmaxApi.models.common_response import CommonResponse +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List, Optional from eZmaxApi.models.common_response_obj_debug import CommonResponseObjDebug from eZmaxApi.models.common_response_obj_debug_payload import CommonResponseObjDebugPayload from eZmaxApi.models.ezsigntemplatedocument_edit_ezsigntemplatesignatures_v1_response_m_payload import EzsigntemplatedocumentEditEzsigntemplatesignaturesV1ResponseMPayload from typing import Optional, Set from typing_extensions import Self -class EzsigntemplatedocumentEditEzsigntemplatesignaturesV1Response(CommonResponse): +class EzsigntemplatedocumentEditEzsigntemplatesignaturesV1Response(BaseModel): """ Response for PUT /1/object/ezsigntemplatedocument/{pkiEzsigntemplatedocumentID}/editEzsigntemplatesignatures """ # noqa: E501 + obj_debug_payload: CommonResponseObjDebugPayload = Field(alias="objDebugPayload") + obj_debug: Optional[CommonResponseObjDebug] = Field(default=None, alias="objDebug") m_payload: EzsigntemplatedocumentEditEzsigntemplatesignaturesV1ResponseMPayload = Field(alias="mPayload") __properties: ClassVar[List[str]] = ["objDebugPayload", "objDebug", "mPayload"] diff --git a/eZmaxApi/models/ezsigntemplatedocument_edit_object_v1_response.py b/eZmaxApi/models/ezsigntemplatedocument_edit_object_v1_response.py index df5c79b03..298191f4a 100644 --- a/eZmaxApi/models/ezsigntemplatedocument_edit_object_v1_response.py +++ b/eZmaxApi/models/ezsigntemplatedocument_edit_object_v1_response.py @@ -18,19 +18,20 @@ import re # noqa: F401 import json -from pydantic import ConfigDict, Field +from pydantic import BaseModel, ConfigDict, Field from typing import Any, ClassVar, Dict, List, Optional -from eZmaxApi.models.common_response import CommonResponse from eZmaxApi.models.common_response_obj_debug import CommonResponseObjDebug from eZmaxApi.models.common_response_obj_debug_payload import CommonResponseObjDebugPayload from eZmaxApi.models.common_response_warning import CommonResponseWarning from typing import Optional, Set from typing_extensions import Self -class EzsigntemplatedocumentEditObjectV1Response(CommonResponse): +class EzsigntemplatedocumentEditObjectV1Response(BaseModel): """ Response for PUT /1/object/ezsigntemplatedocument/{pkiEzsigntemplatedocumentID} """ # noqa: E501 + obj_debug_payload: CommonResponseObjDebugPayload = Field(alias="objDebugPayload") + obj_debug: Optional[CommonResponseObjDebug] = Field(default=None, alias="objDebug") a_obj_warning: Optional[List[CommonResponseWarning]] = Field(default=None, alias="a_objWarning") __properties: ClassVar[List[str]] = ["objDebugPayload", "objDebug", "a_objWarning"] diff --git a/eZmaxApi/models/ezsigntemplatedocument_extract_text_v1_response.py b/eZmaxApi/models/ezsigntemplatedocument_extract_text_v1_response.py index 8b2b238be..9bcf034c0 100644 --- a/eZmaxApi/models/ezsigntemplatedocument_extract_text_v1_response.py +++ b/eZmaxApi/models/ezsigntemplatedocument_extract_text_v1_response.py @@ -18,19 +18,20 @@ import re # noqa: F401 import json -from pydantic import ConfigDict, Field -from typing import Any, ClassVar, Dict, List -from eZmaxApi.models.common_response import CommonResponse +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List, Optional from eZmaxApi.models.common_response_obj_debug import CommonResponseObjDebug from eZmaxApi.models.common_response_obj_debug_payload import CommonResponseObjDebugPayload from eZmaxApi.models.ezsigntemplatedocument_extract_text_v1_response_m_payload import EzsigntemplatedocumentExtractTextV1ResponseMPayload from typing import Optional, Set from typing_extensions import Self -class EzsigntemplatedocumentExtractTextV1Response(CommonResponse): +class EzsigntemplatedocumentExtractTextV1Response(BaseModel): """ Response for POST /1/object/ezsigntemplatedocument/{pkiEzsigntemplatedocumentID}/extractText """ # noqa: E501 + obj_debug_payload: CommonResponseObjDebugPayload = Field(alias="objDebugPayload") + obj_debug: Optional[CommonResponseObjDebug] = Field(default=None, alias="objDebug") m_payload: EzsigntemplatedocumentExtractTextV1ResponseMPayload = Field(alias="mPayload") __properties: ClassVar[List[str]] = ["objDebugPayload", "objDebug", "mPayload"] diff --git a/eZmaxApi/models/ezsigntemplatedocument_flatten_v1_response.py b/eZmaxApi/models/ezsigntemplatedocument_flatten_v1_response.py index 7da602330..1ea80ebdc 100644 --- a/eZmaxApi/models/ezsigntemplatedocument_flatten_v1_response.py +++ b/eZmaxApi/models/ezsigntemplatedocument_flatten_v1_response.py @@ -18,18 +18,19 @@ import re # noqa: F401 import json -from pydantic import ConfigDict -from typing import Any, ClassVar, Dict, List -from eZmaxApi.models.common_response import CommonResponse +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List, Optional from eZmaxApi.models.common_response_obj_debug import CommonResponseObjDebug from eZmaxApi.models.common_response_obj_debug_payload import CommonResponseObjDebugPayload from typing import Optional, Set from typing_extensions import Self -class EzsigntemplatedocumentFlattenV1Response(CommonResponse): +class EzsigntemplatedocumentFlattenV1Response(BaseModel): """ Response for POST /1/object/ezsigntemplatedocument/{pkiEzsigntemplatedocument}/flatten """ # noqa: E501 + obj_debug_payload: CommonResponseObjDebugPayload = Field(alias="objDebugPayload") + obj_debug: Optional[CommonResponseObjDebug] = Field(default=None, alias="objDebug") __properties: ClassVar[List[str]] = ["objDebugPayload", "objDebug"] model_config = ConfigDict( diff --git a/eZmaxApi/models/ezsigntemplatedocument_get_ezsigntemplatedocumentpagerecognitions_v1_response.py b/eZmaxApi/models/ezsigntemplatedocument_get_ezsigntemplatedocumentpagerecognitions_v1_response.py index c9b25b7ee..6d4e58476 100644 --- a/eZmaxApi/models/ezsigntemplatedocument_get_ezsigntemplatedocumentpagerecognitions_v1_response.py +++ b/eZmaxApi/models/ezsigntemplatedocument_get_ezsigntemplatedocumentpagerecognitions_v1_response.py @@ -18,19 +18,20 @@ import re # noqa: F401 import json -from pydantic import ConfigDict, Field -from typing import Any, ClassVar, Dict, List -from eZmaxApi.models.common_response import CommonResponse +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List, Optional from eZmaxApi.models.common_response_obj_debug import CommonResponseObjDebug from eZmaxApi.models.common_response_obj_debug_payload import CommonResponseObjDebugPayload from eZmaxApi.models.ezsigntemplatedocument_get_ezsigntemplatedocumentpagerecognitions_v1_response_m_payload import EzsigntemplatedocumentGetEzsigntemplatedocumentpagerecognitionsV1ResponseMPayload from typing import Optional, Set from typing_extensions import Self -class EzsigntemplatedocumentGetEzsigntemplatedocumentpagerecognitionsV1Response(CommonResponse): +class EzsigntemplatedocumentGetEzsigntemplatedocumentpagerecognitionsV1Response(BaseModel): """ Response for GET /1/object/ezsigntemplatedocument/{pkiEzsigntemplatedocument}/getEzsigntemplatedocumentpagerecognitions """ # noqa: E501 + obj_debug_payload: CommonResponseObjDebugPayload = Field(alias="objDebugPayload") + obj_debug: Optional[CommonResponseObjDebug] = Field(default=None, alias="objDebug") m_payload: EzsigntemplatedocumentGetEzsigntemplatedocumentpagerecognitionsV1ResponseMPayload = Field(alias="mPayload") __properties: ClassVar[List[str]] = ["objDebugPayload", "objDebug", "mPayload"] diff --git a/eZmaxApi/models/ezsigntemplatedocument_get_ezsigntemplatedocumentpages_v1_response.py b/eZmaxApi/models/ezsigntemplatedocument_get_ezsigntemplatedocumentpages_v1_response.py index bbae248b8..f467dcda2 100644 --- a/eZmaxApi/models/ezsigntemplatedocument_get_ezsigntemplatedocumentpages_v1_response.py +++ b/eZmaxApi/models/ezsigntemplatedocument_get_ezsigntemplatedocumentpages_v1_response.py @@ -18,19 +18,20 @@ import re # noqa: F401 import json -from pydantic import ConfigDict, Field -from typing import Any, ClassVar, Dict, List -from eZmaxApi.models.common_response import CommonResponse +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List, Optional from eZmaxApi.models.common_response_obj_debug import CommonResponseObjDebug from eZmaxApi.models.common_response_obj_debug_payload import CommonResponseObjDebugPayload from eZmaxApi.models.ezsigntemplatedocument_get_ezsigntemplatedocumentpages_v1_response_m_payload import EzsigntemplatedocumentGetEzsigntemplatedocumentpagesV1ResponseMPayload from typing import Optional, Set from typing_extensions import Self -class EzsigntemplatedocumentGetEzsigntemplatedocumentpagesV1Response(CommonResponse): +class EzsigntemplatedocumentGetEzsigntemplatedocumentpagesV1Response(BaseModel): """ Response for GET /1/object/ezsigntemplatedocument/{pkiEzsigntemplatedocumentID}/getEzsigntemplatedocumentpages """ # noqa: E501 + obj_debug_payload: CommonResponseObjDebugPayload = Field(alias="objDebugPayload") + obj_debug: Optional[CommonResponseObjDebug] = Field(default=None, alias="objDebug") m_payload: EzsigntemplatedocumentGetEzsigntemplatedocumentpagesV1ResponseMPayload = Field(alias="mPayload") __properties: ClassVar[List[str]] = ["objDebugPayload", "objDebug", "mPayload"] diff --git a/eZmaxApi/models/ezsigntemplatedocument_get_ezsigntemplatedocumentpages_v1_response_m_payload.py b/eZmaxApi/models/ezsigntemplatedocument_get_ezsigntemplatedocumentpages_v1_response_m_payload.py index de4a9515e..6b5ff4470 100644 --- a/eZmaxApi/models/ezsigntemplatedocument_get_ezsigntemplatedocumentpages_v1_response_m_payload.py +++ b/eZmaxApi/models/ezsigntemplatedocument_get_ezsigntemplatedocumentpages_v1_response_m_payload.py @@ -20,7 +20,7 @@ from pydantic import BaseModel, ConfigDict, Field from typing import Any, ClassVar, Dict, List -from eZmaxApi.models.ezsigntemplatedocumentpage_response import EzsigntemplatedocumentpageResponse +from eZmaxApi.models.ezsigntemplatedocumentpage_response_compound import EzsigntemplatedocumentpageResponseCompound from typing import Optional, Set from typing_extensions import Self @@ -28,7 +28,7 @@ class EzsigntemplatedocumentGetEzsigntemplatedocumentpagesV1ResponseMPayload(Bas """ Payload for GET /1/object/ezsigntemplatedocument/{pkiEzsigntemplatedocumentID}/getEzsigntemplatedocumentpages """ # noqa: E501 - a_obj_ezsigntemplatedocumentpage: List[EzsigntemplatedocumentpageResponse] = Field(alias="a_objEzsigntemplatedocumentpage") + a_obj_ezsigntemplatedocumentpage: List[EzsigntemplatedocumentpageResponseCompound] = Field(alias="a_objEzsigntemplatedocumentpage") __properties: ClassVar[List[str]] = ["a_objEzsigntemplatedocumentpage"] model_config = ConfigDict( @@ -89,7 +89,7 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: return cls.model_validate(obj) _obj = cls.model_validate({ - "a_objEzsigntemplatedocumentpage": [EzsigntemplatedocumentpageResponse.from_dict(_item) for _item in obj["a_objEzsigntemplatedocumentpage"]] if obj.get("a_objEzsigntemplatedocumentpage") is not None else None + "a_objEzsigntemplatedocumentpage": [EzsigntemplatedocumentpageResponseCompound.from_dict(_item) for _item in obj["a_objEzsigntemplatedocumentpage"]] if obj.get("a_objEzsigntemplatedocumentpage") is not None else None }) return _obj diff --git a/eZmaxApi/models/ezsigntemplatedocument_get_ezsigntemplateformfieldgroups_v1_response.py b/eZmaxApi/models/ezsigntemplatedocument_get_ezsigntemplateformfieldgroups_v1_response.py index 2068c34d5..7f8c3c740 100644 --- a/eZmaxApi/models/ezsigntemplatedocument_get_ezsigntemplateformfieldgroups_v1_response.py +++ b/eZmaxApi/models/ezsigntemplatedocument_get_ezsigntemplateformfieldgroups_v1_response.py @@ -18,19 +18,20 @@ import re # noqa: F401 import json -from pydantic import ConfigDict, Field -from typing import Any, ClassVar, Dict, List -from eZmaxApi.models.common_response import CommonResponse +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List, Optional from eZmaxApi.models.common_response_obj_debug import CommonResponseObjDebug from eZmaxApi.models.common_response_obj_debug_payload import CommonResponseObjDebugPayload from eZmaxApi.models.ezsigntemplatedocument_get_ezsigntemplateformfieldgroups_v1_response_m_payload import EzsigntemplatedocumentGetEzsigntemplateformfieldgroupsV1ResponseMPayload from typing import Optional, Set from typing_extensions import Self -class EzsigntemplatedocumentGetEzsigntemplateformfieldgroupsV1Response(CommonResponse): +class EzsigntemplatedocumentGetEzsigntemplateformfieldgroupsV1Response(BaseModel): """ Response for GET /1/object/ezsigntemplatedocument/{pkiEzsigntemplatedocument}/getEzsigntemplateformfieldgroups """ # noqa: E501 + obj_debug_payload: CommonResponseObjDebugPayload = Field(alias="objDebugPayload") + obj_debug: Optional[CommonResponseObjDebug] = Field(default=None, alias="objDebug") m_payload: EzsigntemplatedocumentGetEzsigntemplateformfieldgroupsV1ResponseMPayload = Field(alias="mPayload") __properties: ClassVar[List[str]] = ["objDebugPayload", "objDebug", "mPayload"] diff --git a/eZmaxApi/models/ezsigntemplatedocument_get_ezsigntemplatesignatures_v1_response.py b/eZmaxApi/models/ezsigntemplatedocument_get_ezsigntemplatesignatures_v1_response.py index d44ca8e67..df55d3a47 100644 --- a/eZmaxApi/models/ezsigntemplatedocument_get_ezsigntemplatesignatures_v1_response.py +++ b/eZmaxApi/models/ezsigntemplatedocument_get_ezsigntemplatesignatures_v1_response.py @@ -18,19 +18,20 @@ import re # noqa: F401 import json -from pydantic import ConfigDict, Field -from typing import Any, ClassVar, Dict, List -from eZmaxApi.models.common_response import CommonResponse +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List, Optional from eZmaxApi.models.common_response_obj_debug import CommonResponseObjDebug from eZmaxApi.models.common_response_obj_debug_payload import CommonResponseObjDebugPayload from eZmaxApi.models.ezsigntemplatedocument_get_ezsigntemplatesignatures_v1_response_m_payload import EzsigntemplatedocumentGetEzsigntemplatesignaturesV1ResponseMPayload from typing import Optional, Set from typing_extensions import Self -class EzsigntemplatedocumentGetEzsigntemplatesignaturesV1Response(CommonResponse): +class EzsigntemplatedocumentGetEzsigntemplatesignaturesV1Response(BaseModel): """ Response for GET /1/object/ezsigntemplatedocument/{pkiEzsigntemplatedocument}/getEzsigntemplatesignatures """ # noqa: E501 + obj_debug_payload: CommonResponseObjDebugPayload = Field(alias="objDebugPayload") + obj_debug: Optional[CommonResponseObjDebug] = Field(default=None, alias="objDebug") m_payload: EzsigntemplatedocumentGetEzsigntemplatesignaturesV1ResponseMPayload = Field(alias="mPayload") __properties: ClassVar[List[str]] = ["objDebugPayload", "objDebug", "mPayload"] diff --git a/eZmaxApi/models/ezsigntemplatedocument_get_object_v2_response.py b/eZmaxApi/models/ezsigntemplatedocument_get_object_v2_response.py index 2f7695076..850c9c1d5 100644 --- a/eZmaxApi/models/ezsigntemplatedocument_get_object_v2_response.py +++ b/eZmaxApi/models/ezsigntemplatedocument_get_object_v2_response.py @@ -18,19 +18,20 @@ import re # noqa: F401 import json -from pydantic import ConfigDict, Field -from typing import Any, ClassVar, Dict, List -from eZmaxApi.models.common_response import CommonResponse +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List, Optional from eZmaxApi.models.common_response_obj_debug import CommonResponseObjDebug from eZmaxApi.models.common_response_obj_debug_payload import CommonResponseObjDebugPayload from eZmaxApi.models.ezsigntemplatedocument_get_object_v2_response_m_payload import EzsigntemplatedocumentGetObjectV2ResponseMPayload from typing import Optional, Set from typing_extensions import Self -class EzsigntemplatedocumentGetObjectV2Response(CommonResponse): +class EzsigntemplatedocumentGetObjectV2Response(BaseModel): """ Response for GET /2/object/ezsigntemplatedocument/{pkiEzsigntemplatedocumentID} """ # noqa: E501 + obj_debug_payload: CommonResponseObjDebugPayload = Field(alias="objDebugPayload") + obj_debug: Optional[CommonResponseObjDebug] = Field(default=None, alias="objDebug") m_payload: EzsigntemplatedocumentGetObjectV2ResponseMPayload = Field(alias="mPayload") __properties: ClassVar[List[str]] = ["objDebugPayload", "objDebug", "mPayload"] diff --git a/eZmaxApi/models/ezsigntemplatedocument_get_words_positions_v1_response.py b/eZmaxApi/models/ezsigntemplatedocument_get_words_positions_v1_response.py index 4f9d69bb9..1225fabc5 100644 --- a/eZmaxApi/models/ezsigntemplatedocument_get_words_positions_v1_response.py +++ b/eZmaxApi/models/ezsigntemplatedocument_get_words_positions_v1_response.py @@ -18,19 +18,20 @@ import re # noqa: F401 import json -from pydantic import ConfigDict, Field -from typing import Any, ClassVar, Dict, List -from eZmaxApi.models.common_response import CommonResponse +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List, Optional from eZmaxApi.models.common_response_obj_debug import CommonResponseObjDebug from eZmaxApi.models.common_response_obj_debug_payload import CommonResponseObjDebugPayload from eZmaxApi.models.custom_word_position_word_response import CustomWordPositionWordResponse from typing import Optional, Set from typing_extensions import Self -class EzsigntemplatedocumentGetWordsPositionsV1Response(CommonResponse): +class EzsigntemplatedocumentGetWordsPositionsV1Response(BaseModel): """ Response for POST /1/object/ezsigntemplatedocument/{pkiEzsigntemplatedocumentID}/getWordsPositions """ # noqa: E501 + obj_debug_payload: CommonResponseObjDebugPayload = Field(alias="objDebugPayload") + obj_debug: Optional[CommonResponseObjDebug] = Field(default=None, alias="objDebug") m_payload: List[CustomWordPositionWordResponse] = Field(description="Payload for POST /1/object/ezsigntemplatedocument/{pkiEzsigntemplatedocumentID}/getWordsPositions", alias="mPayload") __properties: ClassVar[List[str]] = ["objDebugPayload", "objDebug", "mPayload"] diff --git a/eZmaxApi/models/ezsigntemplatedocument_patch_object_v1_response.py b/eZmaxApi/models/ezsigntemplatedocument_patch_object_v1_response.py index 7f6a05732..45082b934 100644 --- a/eZmaxApi/models/ezsigntemplatedocument_patch_object_v1_response.py +++ b/eZmaxApi/models/ezsigntemplatedocument_patch_object_v1_response.py @@ -18,18 +18,19 @@ import re # noqa: F401 import json -from pydantic import ConfigDict -from typing import Any, ClassVar, Dict, List -from eZmaxApi.models.common_response import CommonResponse +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List, Optional from eZmaxApi.models.common_response_obj_debug import CommonResponseObjDebug from eZmaxApi.models.common_response_obj_debug_payload import CommonResponseObjDebugPayload from typing import Optional, Set from typing_extensions import Self -class EzsigntemplatedocumentPatchObjectV1Response(CommonResponse): +class EzsigntemplatedocumentPatchObjectV1Response(BaseModel): """ Response for PATCH /1/object/ezsigntemplatedocument/{pkiEzsigntemplatedocumentID} """ # noqa: E501 + obj_debug_payload: CommonResponseObjDebugPayload = Field(alias="objDebugPayload") + obj_debug: Optional[CommonResponseObjDebug] = Field(default=None, alias="objDebug") __properties: ClassVar[List[str]] = ["objDebugPayload", "objDebug"] model_config = ConfigDict( diff --git a/eZmaxApi/models/ezsigntemplatedocument_request.py b/eZmaxApi/models/ezsigntemplatedocument_request.py index d22416135..22401c4f5 100644 --- a/eZmaxApi/models/ezsigntemplatedocument_request.py +++ b/eZmaxApi/models/ezsigntemplatedocument_request.py @@ -111,7 +111,28 @@ def to_dict(self) -> Dict[str, Any]: return _dict @classmethod - def from_dict(cls, obj: Dict[str, Any]) -> Optional[Self]: + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: """Create an instance of EzsigntemplatedocumentRequest from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "pkiEzsigntemplatedocumentID": obj.get("pkiEzsigntemplatedocumentID"), + "fkiEzsigntemplateID": obj.get("fkiEzsigntemplateID"), + "fkiEzsigndocumentID": obj.get("fkiEzsigndocumentID"), + "fkiEzsigntemplatesignerID": obj.get("fkiEzsigntemplatesignerID"), + "sEzsigntemplatedocumentName": obj.get("sEzsigntemplatedocumentName"), + "eEzsigntemplatedocumentSource": obj.get("eEzsigntemplatedocumentSource"), + "eEzsigntemplatedocumentFormat": obj.get("eEzsigntemplatedocumentFormat"), + "sEzsigntemplatedocumentBase64": obj.get("sEzsigntemplatedocumentBase64"), + "sEzsigntemplatedocumentUrl": obj.get("sEzsigntemplatedocumentUrl"), + "bEzsigntemplatedocumentForcerepair": obj.get("bEzsigntemplatedocumentForcerepair"), + "eEzsigntemplatedocumentForm": obj.get("eEzsigntemplatedocumentForm"), + "sEzsigntemplatedocumentPassword": obj.get("sEzsigntemplatedocumentPassword") if obj.get("sEzsigntemplatedocumentPassword") is not None else '' + }) + return _obj diff --git a/eZmaxApi/models/ezsigntemplatedocument_request_compound.py b/eZmaxApi/models/ezsigntemplatedocument_request_compound.py index d3e95e55b..8039da517 100644 --- a/eZmaxApi/models/ezsigntemplatedocument_request_compound.py +++ b/eZmaxApi/models/ezsigntemplatedocument_request_compound.py @@ -18,18 +18,57 @@ import re # noqa: F401 import json -from pydantic import ConfigDict -from typing import Any, ClassVar, Dict, List -from eZmaxApi.models.ezsigntemplatedocument_request import EzsigntemplatedocumentRequest +from pydantic import BaseModel, ConfigDict, Field, StrictBool, StrictBytes, StrictStr, field_validator +from typing import Any, ClassVar, Dict, List, Optional, Union +from typing_extensions import Annotated from typing import Optional, Set from typing_extensions import Self -class EzsigntemplatedocumentRequestCompound(EzsigntemplatedocumentRequest): +class EzsigntemplatedocumentRequestCompound(BaseModel): """ A Ezsigntemplatedocument Object and children """ # noqa: E501 + pki_ezsigntemplatedocument_id: Optional[Annotated[int, Field(strict=True, ge=0)]] = Field(default=None, description="The unique ID of the Ezsigntemplatedocument", alias="pkiEzsigntemplatedocumentID") + fki_ezsigntemplate_id: Annotated[int, Field(strict=True, ge=0)] = Field(description="The unique ID of the Ezsigntemplate", alias="fkiEzsigntemplateID") + fki_ezsigndocument_id: Optional[Annotated[int, Field(strict=True, ge=0)]] = Field(default=None, description="The unique ID of the Ezsigndocument", alias="fkiEzsigndocumentID") + fki_ezsigntemplatesigner_id: Optional[Annotated[int, Field(strict=True, ge=0)]] = Field(default=None, description="The unique ID of the Ezsigntemplatesigner", alias="fkiEzsigntemplatesignerID") + s_ezsigntemplatedocument_name: StrictStr = Field(description="The name of the Ezsigntemplatedocument.", alias="sEzsigntemplatedocumentName") + e_ezsigntemplatedocument_source: StrictStr = Field(description="Indicates where to look for the document binary content.", alias="eEzsigntemplatedocumentSource") + e_ezsigntemplatedocument_format: Optional[StrictStr] = Field(default=None, description="Indicates the format of the template.", alias="eEzsigntemplatedocumentFormat") + s_ezsigntemplatedocument_base64: Optional[Union[StrictBytes, StrictStr]] = Field(default=None, description="The Base64 encoded binary content of the document. This field is Required when eEzsigntemplatedocumentSource = Base64.", alias="sEzsigntemplatedocumentBase64") + s_ezsigntemplatedocument_url: Optional[StrictStr] = Field(default=None, description="The url where the document content resides. This field is Required when eEzsigntemplatedocumentSource = Url.", alias="sEzsigntemplatedocumentUrl") + b_ezsigntemplatedocument_forcerepair: Optional[StrictBool] = Field(default=None, description="Try to repair the document or flatten it if it cannot be used for electronic signature.", alias="bEzsigntemplatedocumentForcerepair") + e_ezsigntemplatedocument_form: Optional[StrictStr] = Field(default=None, description="If the document contains an existing PDF form this property must be set. **Keep** leaves the form as-is in the document. **Convert** removes the form and convert all the existing fields to Ezsigntemplateformfieldgroups and assign them to the specified **fkiEzsigntemplatesignerID** **Discard** removes the form from the document **Flatten** prints the form values in the document.", alias="eEzsigntemplatedocumentForm") + s_ezsigntemplatedocument_password: Optional[StrictStr] = Field(default='', description="If the source template is password protected, the password to open/modify it.", alias="sEzsigntemplatedocumentPassword") __properties: ClassVar[List[str]] = ["pkiEzsigntemplatedocumentID", "fkiEzsigntemplateID", "fkiEzsigndocumentID", "fkiEzsigntemplatesignerID", "sEzsigntemplatedocumentName", "eEzsigntemplatedocumentSource", "eEzsigntemplatedocumentFormat", "sEzsigntemplatedocumentBase64", "sEzsigntemplatedocumentUrl", "bEzsigntemplatedocumentForcerepair", "eEzsigntemplatedocumentForm", "sEzsigntemplatedocumentPassword"] + @field_validator('e_ezsigntemplatedocument_source') + def e_ezsigntemplatedocument_source_validate_enum(cls, value): + """Validates the enum""" + if value not in set(['Base64', 'Url', 'Ezsigndocument']): + raise ValueError("must be one of enum values ('Base64', 'Url', 'Ezsigndocument')") + return value + + @field_validator('e_ezsigntemplatedocument_format') + def e_ezsigntemplatedocument_format_validate_enum(cls, value): + """Validates the enum""" + if value is None: + return value + + if value not in set(['Pdf', 'Doc', 'Docx', 'Xls', 'Xlsx', 'Ppt', 'Pptx']): + raise ValueError("must be one of enum values ('Pdf', 'Doc', 'Docx', 'Xls', 'Xlsx', 'Ppt', 'Pptx')") + return value + + @field_validator('e_ezsigntemplatedocument_form') + def e_ezsigntemplatedocument_form_validate_enum(cls, value): + """Validates the enum""" + if value is None: + return value + + if value not in set(['Keep', 'Convert', 'Discard', 'Flatten']): + raise ValueError("must be one of enum values ('Keep', 'Convert', 'Discard', 'Flatten')") + return value + model_config = ConfigDict( populate_by_name=True, validate_assignment=True, diff --git a/eZmaxApi/models/ezsigntemplatedocument_response.py b/eZmaxApi/models/ezsigntemplatedocument_response.py index 18f6221d4..3bb35dd96 100644 --- a/eZmaxApi/models/ezsigntemplatedocument_response.py +++ b/eZmaxApi/models/ezsigntemplatedocument_response.py @@ -79,7 +79,23 @@ def to_dict(self) -> Dict[str, Any]: return _dict @classmethod - def from_dict(cls, obj: Dict[str, Any]) -> Optional[Self]: + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: """Create an instance of EzsigntemplatedocumentResponse from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "pkiEzsigntemplatedocumentID": obj.get("pkiEzsigntemplatedocumentID"), + "fkiEzsigntemplateID": obj.get("fkiEzsigntemplateID"), + "sEzsigntemplatedocumentName": obj.get("sEzsigntemplatedocumentName"), + "iEzsigntemplatedocumentPagetotal": obj.get("iEzsigntemplatedocumentPagetotal"), + "iEzsigntemplatedocumentSignaturetotal": obj.get("iEzsigntemplatedocumentSignaturetotal"), + "iEzsigntemplatedocumentFormfieldtotal": obj.get("iEzsigntemplatedocumentFormfieldtotal"), + "bEzsigntemplatedocumentHassignedsignatures": obj.get("bEzsigntemplatedocumentHassignedsignatures") + }) + return _obj diff --git a/eZmaxApi/models/ezsigntemplatedocument_response_compound.py b/eZmaxApi/models/ezsigntemplatedocument_response_compound.py index 5212bca62..fd9734841 100644 --- a/eZmaxApi/models/ezsigntemplatedocument_response_compound.py +++ b/eZmaxApi/models/ezsigntemplatedocument_response_compound.py @@ -18,16 +18,23 @@ import re # noqa: F401 import json -from pydantic import ConfigDict +from pydantic import BaseModel, ConfigDict, Field, StrictBool, StrictInt, StrictStr from typing import Any, ClassVar, Dict, List -from eZmaxApi.models.ezsigntemplatedocument_response import EzsigntemplatedocumentResponse +from typing_extensions import Annotated from typing import Optional, Set from typing_extensions import Self -class EzsigntemplatedocumentResponseCompound(EzsigntemplatedocumentResponse): +class EzsigntemplatedocumentResponseCompound(BaseModel): """ A Ezsigntemplatedocument Object """ # noqa: E501 + pki_ezsigntemplatedocument_id: Annotated[int, Field(strict=True, ge=0)] = Field(description="The unique ID of the Ezsigntemplatedocument", alias="pkiEzsigntemplatedocumentID") + fki_ezsigntemplate_id: Annotated[int, Field(strict=True, ge=0)] = Field(description="The unique ID of the Ezsigntemplate", alias="fkiEzsigntemplateID") + s_ezsigntemplatedocument_name: StrictStr = Field(description="The name of the Ezsigntemplatedocument.", alias="sEzsigntemplatedocumentName") + i_ezsigntemplatedocument_pagetotal: Annotated[int, Field(strict=True, ge=1)] = Field(description="The number of pages in the Ezsigntemplatedocument.", alias="iEzsigntemplatedocumentPagetotal") + i_ezsigntemplatedocument_signaturetotal: StrictInt = Field(description="The number of total signatures in the Ezsigntemplate.", alias="iEzsigntemplatedocumentSignaturetotal") + i_ezsigntemplatedocument_formfieldtotal: StrictInt = Field(description="The number of total form fields in the Ezsigntemplate.", alias="iEzsigntemplatedocumentFormfieldtotal") + b_ezsigntemplatedocument_hassignedsignatures: StrictBool = Field(description="If the Ezsigntemplatedocument contains signed signatures (From internal or external sources)", alias="bEzsigntemplatedocumentHassignedsignatures") __properties: ClassVar[List[str]] = ["pkiEzsigntemplatedocumentID", "fkiEzsigntemplateID", "sEzsigntemplatedocumentName", "iEzsigntemplatedocumentPagetotal", "iEzsigntemplatedocumentSignaturetotal", "iEzsigntemplatedocumentFormfieldtotal", "bEzsigntemplatedocumentHassignedsignatures"] model_config = ConfigDict( diff --git a/eZmaxApi/models/ezsigntemplatedocumentpagerecognition_create_object_v1_response.py b/eZmaxApi/models/ezsigntemplatedocumentpagerecognition_create_object_v1_response.py index 1262a3851..2266fb8c4 100644 --- a/eZmaxApi/models/ezsigntemplatedocumentpagerecognition_create_object_v1_response.py +++ b/eZmaxApi/models/ezsigntemplatedocumentpagerecognition_create_object_v1_response.py @@ -18,19 +18,20 @@ import re # noqa: F401 import json -from pydantic import ConfigDict, Field -from typing import Any, ClassVar, Dict, List -from eZmaxApi.models.common_response import CommonResponse +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List, Optional from eZmaxApi.models.common_response_obj_debug import CommonResponseObjDebug from eZmaxApi.models.common_response_obj_debug_payload import CommonResponseObjDebugPayload from eZmaxApi.models.ezsigntemplatedocumentpagerecognition_create_object_v1_response_m_payload import EzsigntemplatedocumentpagerecognitionCreateObjectV1ResponseMPayload from typing import Optional, Set from typing_extensions import Self -class EzsigntemplatedocumentpagerecognitionCreateObjectV1Response(CommonResponse): +class EzsigntemplatedocumentpagerecognitionCreateObjectV1Response(BaseModel): """ Response for POST /1/object/ezsigntemplatedocumentpagerecognition """ # noqa: E501 + obj_debug_payload: CommonResponseObjDebugPayload = Field(alias="objDebugPayload") + obj_debug: Optional[CommonResponseObjDebug] = Field(default=None, alias="objDebug") m_payload: EzsigntemplatedocumentpagerecognitionCreateObjectV1ResponseMPayload = Field(alias="mPayload") __properties: ClassVar[List[str]] = ["objDebugPayload", "objDebug", "mPayload"] diff --git a/eZmaxApi/models/ezsigntemplatedocumentpagerecognition_delete_object_v1_response.py b/eZmaxApi/models/ezsigntemplatedocumentpagerecognition_delete_object_v1_response.py index 882ce5b0c..35936e8cb 100644 --- a/eZmaxApi/models/ezsigntemplatedocumentpagerecognition_delete_object_v1_response.py +++ b/eZmaxApi/models/ezsigntemplatedocumentpagerecognition_delete_object_v1_response.py @@ -18,18 +18,19 @@ import re # noqa: F401 import json -from pydantic import ConfigDict -from typing import Any, ClassVar, Dict, List -from eZmaxApi.models.common_response import CommonResponse +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List, Optional from eZmaxApi.models.common_response_obj_debug import CommonResponseObjDebug from eZmaxApi.models.common_response_obj_debug_payload import CommonResponseObjDebugPayload from typing import Optional, Set from typing_extensions import Self -class EzsigntemplatedocumentpagerecognitionDeleteObjectV1Response(CommonResponse): +class EzsigntemplatedocumentpagerecognitionDeleteObjectV1Response(BaseModel): """ Response for DELETE /1/object/ezsigntemplatedocumentpagerecognition/{pkiEzsigntemplatedocumentpagerecognitionID} """ # noqa: E501 + obj_debug_payload: CommonResponseObjDebugPayload = Field(alias="objDebugPayload") + obj_debug: Optional[CommonResponseObjDebug] = Field(default=None, alias="objDebug") __properties: ClassVar[List[str]] = ["objDebugPayload", "objDebug"] model_config = ConfigDict( diff --git a/eZmaxApi/models/ezsigntemplatedocumentpagerecognition_edit_object_v1_response.py b/eZmaxApi/models/ezsigntemplatedocumentpagerecognition_edit_object_v1_response.py index a45e49098..247be9536 100644 --- a/eZmaxApi/models/ezsigntemplatedocumentpagerecognition_edit_object_v1_response.py +++ b/eZmaxApi/models/ezsigntemplatedocumentpagerecognition_edit_object_v1_response.py @@ -18,18 +18,19 @@ import re # noqa: F401 import json -from pydantic import ConfigDict -from typing import Any, ClassVar, Dict, List -from eZmaxApi.models.common_response import CommonResponse +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List, Optional from eZmaxApi.models.common_response_obj_debug import CommonResponseObjDebug from eZmaxApi.models.common_response_obj_debug_payload import CommonResponseObjDebugPayload from typing import Optional, Set from typing_extensions import Self -class EzsigntemplatedocumentpagerecognitionEditObjectV1Response(CommonResponse): +class EzsigntemplatedocumentpagerecognitionEditObjectV1Response(BaseModel): """ Response for PUT /1/object/ezsigntemplatedocumentpagerecognition/{pkiEzsigntemplatedocumentpagerecognitionID} """ # noqa: E501 + obj_debug_payload: CommonResponseObjDebugPayload = Field(alias="objDebugPayload") + obj_debug: Optional[CommonResponseObjDebug] = Field(default=None, alias="objDebug") __properties: ClassVar[List[str]] = ["objDebugPayload", "objDebug"] model_config = ConfigDict( diff --git a/eZmaxApi/models/ezsigntemplatedocumentpagerecognition_get_object_v2_response.py b/eZmaxApi/models/ezsigntemplatedocumentpagerecognition_get_object_v2_response.py index 5b999cfeb..e670a7d2c 100644 --- a/eZmaxApi/models/ezsigntemplatedocumentpagerecognition_get_object_v2_response.py +++ b/eZmaxApi/models/ezsigntemplatedocumentpagerecognition_get_object_v2_response.py @@ -18,19 +18,20 @@ import re # noqa: F401 import json -from pydantic import ConfigDict, Field -from typing import Any, ClassVar, Dict, List -from eZmaxApi.models.common_response import CommonResponse +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List, Optional from eZmaxApi.models.common_response_obj_debug import CommonResponseObjDebug from eZmaxApi.models.common_response_obj_debug_payload import CommonResponseObjDebugPayload from eZmaxApi.models.ezsigntemplatedocumentpagerecognition_get_object_v2_response_m_payload import EzsigntemplatedocumentpagerecognitionGetObjectV2ResponseMPayload from typing import Optional, Set from typing_extensions import Self -class EzsigntemplatedocumentpagerecognitionGetObjectV2Response(CommonResponse): +class EzsigntemplatedocumentpagerecognitionGetObjectV2Response(BaseModel): """ Response for GET /2/object/ezsigntemplatedocumentpagerecognition/{pkiEzsigntemplatedocumentpagerecognitionID} """ # noqa: E501 + obj_debug_payload: CommonResponseObjDebugPayload = Field(alias="objDebugPayload") + obj_debug: Optional[CommonResponseObjDebug] = Field(default=None, alias="objDebug") m_payload: EzsigntemplatedocumentpagerecognitionGetObjectV2ResponseMPayload = Field(alias="mPayload") __properties: ClassVar[List[str]] = ["objDebugPayload", "objDebug", "mPayload"] diff --git a/eZmaxApi/models/ezsigntemplatedocumentpagerecognition_request.py b/eZmaxApi/models/ezsigntemplatedocumentpagerecognition_request.py index 566db0940..68f23780d 100644 --- a/eZmaxApi/models/ezsigntemplatedocumentpagerecognition_request.py +++ b/eZmaxApi/models/ezsigntemplatedocumentpagerecognition_request.py @@ -91,7 +91,26 @@ def to_dict(self) -> Dict[str, Any]: return _dict @classmethod - def from_dict(cls, obj: Dict[str, Any]) -> Optional[Self]: + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: """Create an instance of EzsigntemplatedocumentpagerecognitionRequest from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "pkiEzsigntemplatedocumentpagerecognitionID": obj.get("pkiEzsigntemplatedocumentpagerecognitionID"), + "fkiEzsigntemplatedocumentpageID": obj.get("fkiEzsigntemplatedocumentpageID"), + "eEzsigntemplatedocumentpagerecognitionOperator": obj.get("eEzsigntemplatedocumentpagerecognitionOperator"), + "eEzsigntemplatedocumentpagerecognitionSection": obj.get("eEzsigntemplatedocumentpagerecognitionSection"), + "iEzsigntemplatedocumentpagerecognitionSimilarpercentage": obj.get("iEzsigntemplatedocumentpagerecognitionSimilarpercentage"), + "iEzsigntemplatedocumentpagerecognitionX": obj.get("iEzsigntemplatedocumentpagerecognitionX"), + "iEzsigntemplatedocumentpagerecognitionY": obj.get("iEzsigntemplatedocumentpagerecognitionY"), + "iEzsigntemplatedocumentpagerecognitionWidth": obj.get("iEzsigntemplatedocumentpagerecognitionWidth"), + "iEzsigntemplatedocumentpagerecognitionHeight": obj.get("iEzsigntemplatedocumentpagerecognitionHeight"), + "tEzsigntemplatedocumentpagerecognitionText": obj.get("tEzsigntemplatedocumentpagerecognitionText") + }) + return _obj diff --git a/eZmaxApi/models/ezsigntemplatedocumentpagerecognition_request_compound.py b/eZmaxApi/models/ezsigntemplatedocumentpagerecognition_request_compound.py index eb15ee724..808b72fbd 100644 --- a/eZmaxApi/models/ezsigntemplatedocumentpagerecognition_request_compound.py +++ b/eZmaxApi/models/ezsigntemplatedocumentpagerecognition_request_compound.py @@ -18,20 +18,37 @@ import re # noqa: F401 import json -from pydantic import ConfigDict -from typing import Any, ClassVar, Dict, List -from eZmaxApi.models.ezsigntemplatedocumentpagerecognition_request import EzsigntemplatedocumentpagerecognitionRequest +from pydantic import BaseModel, ConfigDict, Field, field_validator +from typing import Any, ClassVar, Dict, List, Optional +from typing_extensions import Annotated from eZmaxApi.models.field_e_ezsigntemplatedocumentpagerecognition_operator import FieldEEzsigntemplatedocumentpagerecognitionOperator from eZmaxApi.models.field_e_ezsigntemplatedocumentpagerecognition_section import FieldEEzsigntemplatedocumentpagerecognitionSection from typing import Optional, Set from typing_extensions import Self -class EzsigntemplatedocumentpagerecognitionRequestCompound(EzsigntemplatedocumentpagerecognitionRequest): +class EzsigntemplatedocumentpagerecognitionRequestCompound(BaseModel): """ A Ezsigntemplatedocumentpagerecognition Object and children """ # noqa: E501 + pki_ezsigntemplatedocumentpagerecognition_id: Optional[Annotated[int, Field(le=65535, strict=True, ge=0)]] = Field(default=None, description="The unique ID of the Ezsigntemplatedocumentpagerecognition", alias="pkiEzsigntemplatedocumentpagerecognitionID") + fki_ezsigntemplatedocumentpage_id: Annotated[int, Field(strict=True, ge=0)] = Field(description="The unique ID of the Ezsigntemplatedocumentpage", alias="fkiEzsigntemplatedocumentpageID") + e_ezsigntemplatedocumentpagerecognition_operator: FieldEEzsigntemplatedocumentpagerecognitionOperator = Field(alias="eEzsigntemplatedocumentpagerecognitionOperator") + e_ezsigntemplatedocumentpagerecognition_section: FieldEEzsigntemplatedocumentpagerecognitionSection = Field(alias="eEzsigntemplatedocumentpagerecognitionSection") + i_ezsigntemplatedocumentpagerecognition_similarpercentage: Optional[Annotated[int, Field(le=100, strict=True, ge=60)]] = Field(default=None, description="The similarpercentage of the Ezsigntemplatedocumentpagerecognition", alias="iEzsigntemplatedocumentpagerecognitionSimilarpercentage") + i_ezsigntemplatedocumentpagerecognition_x: Optional[Annotated[int, Field(le=65535, strict=True, ge=0)]] = Field(default=None, description="The x of the Ezsigntemplatedocumentpagerecognition", alias="iEzsigntemplatedocumentpagerecognitionX") + i_ezsigntemplatedocumentpagerecognition_y: Optional[Annotated[int, Field(le=65535, strict=True, ge=0)]] = Field(default=None, description="The y of the Ezsigntemplatedocumentpagerecognition", alias="iEzsigntemplatedocumentpagerecognitionY") + i_ezsigntemplatedocumentpagerecognition_width: Optional[Annotated[int, Field(le=65535, strict=True, ge=0)]] = Field(default=None, description="The width of the Ezsigntemplatedocumentpagerecognition", alias="iEzsigntemplatedocumentpagerecognitionWidth") + i_ezsigntemplatedocumentpagerecognition_height: Optional[Annotated[int, Field(le=65535, strict=True, ge=0)]] = Field(default=None, description="The height of the Ezsigntemplatedocumentpagerecognition", alias="iEzsigntemplatedocumentpagerecognitionHeight") + t_ezsigntemplatedocumentpagerecognition_text: Annotated[str, Field(strict=True)] = Field(description="The text of the Ezsigntemplatedocumentpagerecognition", alias="tEzsigntemplatedocumentpagerecognitionText") __properties: ClassVar[List[str]] = ["pkiEzsigntemplatedocumentpagerecognitionID", "fkiEzsigntemplatedocumentpageID", "eEzsigntemplatedocumentpagerecognitionOperator", "eEzsigntemplatedocumentpagerecognitionSection", "iEzsigntemplatedocumentpagerecognitionSimilarpercentage", "iEzsigntemplatedocumentpagerecognitionX", "iEzsigntemplatedocumentpagerecognitionY", "iEzsigntemplatedocumentpagerecognitionWidth", "iEzsigntemplatedocumentpagerecognitionHeight", "tEzsigntemplatedocumentpagerecognitionText"] + @field_validator('t_ezsigntemplatedocumentpagerecognition_text') + def t_ezsigntemplatedocumentpagerecognition_text_validate_regular_expression(cls, value): + """Validates the regular expression""" + if not re.match(r"^[.\D\d]{0,65535}$", value): + raise ValueError(r"must validate the regular expression /^[.\D\d]{0,65535}$/") + return value + model_config = ConfigDict( populate_by_name=True, validate_assignment=True, diff --git a/eZmaxApi/models/ezsigntemplatedocumentpagerecognition_response.py b/eZmaxApi/models/ezsigntemplatedocumentpagerecognition_response.py index 7769a3dac..f437408fb 100644 --- a/eZmaxApi/models/ezsigntemplatedocumentpagerecognition_response.py +++ b/eZmaxApi/models/ezsigntemplatedocumentpagerecognition_response.py @@ -91,7 +91,26 @@ def to_dict(self) -> Dict[str, Any]: return _dict @classmethod - def from_dict(cls, obj: Dict[str, Any]) -> Optional[Self]: + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: """Create an instance of EzsigntemplatedocumentpagerecognitionResponse from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "pkiEzsigntemplatedocumentpagerecognitionID": obj.get("pkiEzsigntemplatedocumentpagerecognitionID"), + "fkiEzsigntemplatedocumentpageID": obj.get("fkiEzsigntemplatedocumentpageID"), + "eEzsigntemplatedocumentpagerecognitionOperator": obj.get("eEzsigntemplatedocumentpagerecognitionOperator"), + "eEzsigntemplatedocumentpagerecognitionSection": obj.get("eEzsigntemplatedocumentpagerecognitionSection"), + "iEzsigntemplatedocumentpagerecognitionSimilarpercentage": obj.get("iEzsigntemplatedocumentpagerecognitionSimilarpercentage"), + "iEzsigntemplatedocumentpagerecognitionX": obj.get("iEzsigntemplatedocumentpagerecognitionX"), + "iEzsigntemplatedocumentpagerecognitionY": obj.get("iEzsigntemplatedocumentpagerecognitionY"), + "iEzsigntemplatedocumentpagerecognitionWidth": obj.get("iEzsigntemplatedocumentpagerecognitionWidth"), + "iEzsigntemplatedocumentpagerecognitionHeight": obj.get("iEzsigntemplatedocumentpagerecognitionHeight"), + "tEzsigntemplatedocumentpagerecognitionText": obj.get("tEzsigntemplatedocumentpagerecognitionText") + }) + return _obj diff --git a/eZmaxApi/models/ezsigntemplatedocumentpagerecognition_response_compound.py b/eZmaxApi/models/ezsigntemplatedocumentpagerecognition_response_compound.py index b25073702..6fde8941c 100644 --- a/eZmaxApi/models/ezsigntemplatedocumentpagerecognition_response_compound.py +++ b/eZmaxApi/models/ezsigntemplatedocumentpagerecognition_response_compound.py @@ -18,20 +18,37 @@ import re # noqa: F401 import json -from pydantic import ConfigDict -from typing import Any, ClassVar, Dict, List -from eZmaxApi.models.ezsigntemplatedocumentpagerecognition_response import EzsigntemplatedocumentpagerecognitionResponse +from pydantic import BaseModel, ConfigDict, Field, field_validator +from typing import Any, ClassVar, Dict, List, Optional +from typing_extensions import Annotated from eZmaxApi.models.field_e_ezsigntemplatedocumentpagerecognition_operator import FieldEEzsigntemplatedocumentpagerecognitionOperator from eZmaxApi.models.field_e_ezsigntemplatedocumentpagerecognition_section import FieldEEzsigntemplatedocumentpagerecognitionSection from typing import Optional, Set from typing_extensions import Self -class EzsigntemplatedocumentpagerecognitionResponseCompound(EzsigntemplatedocumentpagerecognitionResponse): +class EzsigntemplatedocumentpagerecognitionResponseCompound(BaseModel): """ A Ezsigntemplatedocumentpagerecognition Object """ # noqa: E501 + pki_ezsigntemplatedocumentpagerecognition_id: Annotated[int, Field(le=65535, strict=True, ge=0)] = Field(description="The unique ID of the Ezsigntemplatedocumentpagerecognition", alias="pkiEzsigntemplatedocumentpagerecognitionID") + fki_ezsigntemplatedocumentpage_id: Annotated[int, Field(strict=True, ge=0)] = Field(description="The unique ID of the Ezsigntemplatedocumentpage", alias="fkiEzsigntemplatedocumentpageID") + e_ezsigntemplatedocumentpagerecognition_operator: FieldEEzsigntemplatedocumentpagerecognitionOperator = Field(alias="eEzsigntemplatedocumentpagerecognitionOperator") + e_ezsigntemplatedocumentpagerecognition_section: FieldEEzsigntemplatedocumentpagerecognitionSection = Field(alias="eEzsigntemplatedocumentpagerecognitionSection") + i_ezsigntemplatedocumentpagerecognition_similarpercentage: Optional[Annotated[int, Field(le=100, strict=True, ge=60)]] = Field(default=None, description="The similarpercentage of the Ezsigntemplatedocumentpagerecognition", alias="iEzsigntemplatedocumentpagerecognitionSimilarpercentage") + i_ezsigntemplatedocumentpagerecognition_x: Optional[Annotated[int, Field(le=65535, strict=True, ge=0)]] = Field(default=None, description="The x of the Ezsigntemplatedocumentpagerecognition", alias="iEzsigntemplatedocumentpagerecognitionX") + i_ezsigntemplatedocumentpagerecognition_y: Optional[Annotated[int, Field(le=65535, strict=True, ge=0)]] = Field(default=None, description="The y of the Ezsigntemplatedocumentpagerecognition", alias="iEzsigntemplatedocumentpagerecognitionY") + i_ezsigntemplatedocumentpagerecognition_width: Optional[Annotated[int, Field(le=65535, strict=True, ge=0)]] = Field(default=None, description="The width of the Ezsigntemplatedocumentpagerecognition", alias="iEzsigntemplatedocumentpagerecognitionWidth") + i_ezsigntemplatedocumentpagerecognition_height: Optional[Annotated[int, Field(le=65535, strict=True, ge=0)]] = Field(default=None, description="The height of the Ezsigntemplatedocumentpagerecognition", alias="iEzsigntemplatedocumentpagerecognitionHeight") + t_ezsigntemplatedocumentpagerecognition_text: Annotated[str, Field(strict=True)] = Field(description="The text of the Ezsigntemplatedocumentpagerecognition", alias="tEzsigntemplatedocumentpagerecognitionText") __properties: ClassVar[List[str]] = ["pkiEzsigntemplatedocumentpagerecognitionID", "fkiEzsigntemplatedocumentpageID", "eEzsigntemplatedocumentpagerecognitionOperator", "eEzsigntemplatedocumentpagerecognitionSection", "iEzsigntemplatedocumentpagerecognitionSimilarpercentage", "iEzsigntemplatedocumentpagerecognitionX", "iEzsigntemplatedocumentpagerecognitionY", "iEzsigntemplatedocumentpagerecognitionWidth", "iEzsigntemplatedocumentpagerecognitionHeight", "tEzsigntemplatedocumentpagerecognitionText"] + @field_validator('t_ezsigntemplatedocumentpagerecognition_text') + def t_ezsigntemplatedocumentpagerecognition_text_validate_regular_expression(cls, value): + """Validates the regular expression""" + if not re.match(r"^[.\D\d]{0,65535}$", value): + raise ValueError(r"must validate the regular expression /^[.\D\d]{0,65535}$/") + return value + model_config = ConfigDict( populate_by_name=True, validate_assignment=True, diff --git a/eZmaxApi/models/ezsigntemplateformfield_request.py b/eZmaxApi/models/ezsigntemplateformfield_request.py index b483bafd2..46236c8a5 100644 --- a/eZmaxApi/models/ezsigntemplateformfield_request.py +++ b/eZmaxApi/models/ezsigntemplateformfield_request.py @@ -108,7 +108,34 @@ def to_dict(self) -> Dict[str, Any]: return _dict @classmethod - def from_dict(cls, obj: Dict[str, Any]) -> Optional[Self]: + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: """Create an instance of EzsigntemplateformfieldRequest from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "pkiEzsigntemplateformfieldID": obj.get("pkiEzsigntemplateformfieldID"), + "eEzsigntemplateformfieldPositioning": obj.get("eEzsigntemplateformfieldPositioning") if obj.get("eEzsigntemplateformfieldPositioning") is not None else FieldEEzsigntemplateformfieldPositioning.PERCOORDINATES, + "iEzsigntemplatedocumentpagePagenumber": obj.get("iEzsigntemplatedocumentpagePagenumber"), + "sEzsigntemplateformfieldLabel": obj.get("sEzsigntemplateformfieldLabel"), + "sEzsigntemplateformfieldValue": obj.get("sEzsigntemplateformfieldValue"), + "iEzsigntemplateformfieldX": obj.get("iEzsigntemplateformfieldX"), + "iEzsigntemplateformfieldY": obj.get("iEzsigntemplateformfieldY"), + "iEzsigntemplateformfieldWidth": obj.get("iEzsigntemplateformfieldWidth"), + "iEzsigntemplateformfieldHeight": obj.get("iEzsigntemplateformfieldHeight"), + "bEzsigntemplateformfieldAutocomplete": obj.get("bEzsigntemplateformfieldAutocomplete"), + "bEzsigntemplateformfieldSelected": obj.get("bEzsigntemplateformfieldSelected"), + "eEzsigntemplateformfieldDependencyrequirement": obj.get("eEzsigntemplateformfieldDependencyrequirement"), + "sEzsigntemplateformfieldPositioningpattern": obj.get("sEzsigntemplateformfieldPositioningpattern"), + "iEzsigntemplateformfieldPositioningoffsetx": obj.get("iEzsigntemplateformfieldPositioningoffsetx"), + "iEzsigntemplateformfieldPositioningoffsety": obj.get("iEzsigntemplateformfieldPositioningoffsety"), + "eEzsigntemplateformfieldPositioningoccurence": obj.get("eEzsigntemplateformfieldPositioningoccurence"), + "eEzsigntemplateformfieldHorizontalalignment": obj.get("eEzsigntemplateformfieldHorizontalalignment"), + "objTextstylestatic": TextstylestaticRequestCompound.from_dict(obj["objTextstylestatic"]) if obj.get("objTextstylestatic") is not None else None + }) + return _obj diff --git a/eZmaxApi/models/ezsigntemplateformfield_request_compound.py b/eZmaxApi/models/ezsigntemplateformfield_request_compound.py index c94c11271..ec9ba3d1b 100644 --- a/eZmaxApi/models/ezsigntemplateformfield_request_compound.py +++ b/eZmaxApi/models/ezsigntemplateformfield_request_compound.py @@ -18,11 +18,11 @@ import re # noqa: F401 import json -from pydantic import ConfigDict, Field +from pydantic import BaseModel, ConfigDict, Field, StrictBool, StrictInt, StrictStr, field_validator from typing import Any, ClassVar, Dict, List, Optional +from typing_extensions import Annotated from eZmaxApi.models.enum_horizontalalignment import EnumHorizontalalignment -from eZmaxApi.models.ezsigntemplateelementdependency_request import EzsigntemplateelementdependencyRequest -from eZmaxApi.models.ezsigntemplateformfield_request import EzsigntemplateformfieldRequest +from eZmaxApi.models.ezsigntemplateelementdependency_request_compound import EzsigntemplateelementdependencyRequestCompound from eZmaxApi.models.field_e_ezsigntemplateformfield_dependencyrequirement import FieldEEzsigntemplateformfieldDependencyrequirement from eZmaxApi.models.field_e_ezsigntemplateformfield_positioning import FieldEEzsigntemplateformfieldPositioning from eZmaxApi.models.field_e_ezsigntemplateformfield_positioningoccurence import FieldEEzsigntemplateformfieldPositioningoccurence @@ -30,13 +30,41 @@ from typing import Optional, Set from typing_extensions import Self -class EzsigntemplateformfieldRequestCompound(EzsigntemplateformfieldRequest): +class EzsigntemplateformfieldRequestCompound(BaseModel): """ An Ezsigntemplateformfield Object and children to create a complete structure """ # noqa: E501 - a_obj_ezsigntemplateelementdependency: Optional[List[EzsigntemplateelementdependencyRequest]] = Field(default=None, alias="a_objEzsigntemplateelementdependency") + pki_ezsigntemplateformfield_id: Optional[Annotated[int, Field(strict=True, ge=0)]] = Field(default=None, description="The unique ID of the Ezsigntemplateformfield", alias="pkiEzsigntemplateformfieldID") + e_ezsigntemplateformfield_positioning: Optional[FieldEEzsigntemplateformfieldPositioning] = Field(default=FieldEEzsigntemplateformfieldPositioning.PERCOORDINATES, alias="eEzsigntemplateformfieldPositioning") + i_ezsigntemplatedocumentpage_pagenumber: Annotated[int, Field(strict=True, ge=1)] = Field(description="The page number in the Ezsigntemplatedocument", alias="iEzsigntemplatedocumentpagePagenumber") + s_ezsigntemplateformfield_label: StrictStr = Field(description="The Label for the Ezsigntemplateformfield", alias="sEzsigntemplateformfieldLabel") + s_ezsigntemplateformfield_value: Optional[StrictStr] = Field(default=None, description="The value for the Ezsigntemplateformfield", alias="sEzsigntemplateformfieldValue") + i_ezsigntemplateformfield_x: Optional[Annotated[int, Field(strict=True, ge=0)]] = Field(default=None, description="The X coordinate (Horizontal) where to put the Ezsigntemplateformfield on the Ezsigntemplatepage. Coordinate is calculated at 100dpi (dot per inch). So for example, if you want to put the Ezsigntemplateformfield 2 inches from the left border of the page, you would use \"200\" for the X coordinate.", alias="iEzsigntemplateformfieldX") + i_ezsigntemplateformfield_y: Optional[Annotated[int, Field(strict=True, ge=0)]] = Field(default=None, description="The Y coordinate (Vertical) where to put the Ezsigntemplateformfield on the Ezsigntemplatepage. Coordinate is calculated at 100dpi (dot per inch). So for example, if you want to put the Ezsigntemplateformfield 3 inches from the top border of the page, you would use \"300\" for the Y coordinate.", alias="iEzsigntemplateformfieldY") + i_ezsigntemplateformfield_width: Annotated[int, Field(strict=True, ge=0)] = Field(description="The Width of the Ezsigntemplateformfield in pixels calculated at 100 DPI", alias="iEzsigntemplateformfieldWidth") + i_ezsigntemplateformfield_height: Annotated[int, Field(strict=True, ge=0)] = Field(description="The Height of the Ezsigntemplateformfield in pixels calculated at 100 DPI ", alias="iEzsigntemplateformfieldHeight") + b_ezsigntemplateformfield_autocomplete: Optional[StrictBool] = Field(default=None, description="Whether the Ezsigntemplateformfield allows the use of the autocomplete of the browser. This can only be set if eEzsigntemplateformfieldgroupType is **Text**", alias="bEzsigntemplateformfieldAutocomplete") + b_ezsigntemplateformfield_selected: Optional[StrictBool] = Field(default=None, description="Whether the Ezsigntemplateformfield is selected or not by default. This can only be set if eEzsigntemplateformfieldgroupType is **Checkbox** or **Radio**", alias="bEzsigntemplateformfieldSelected") + e_ezsigntemplateformfield_dependencyrequirement: Optional[FieldEEzsigntemplateformfieldDependencyrequirement] = Field(default=None, alias="eEzsigntemplateformfieldDependencyrequirement") + s_ezsigntemplateformfield_positioningpattern: Optional[Annotated[str, Field(strict=True)]] = Field(default=None, description="The string pattern to search for the positioning. **This is not a regexp** This will be required if **eEzsigntemplateformfieldPositioning** is set to **PerCoordinates**", alias="sEzsigntemplateformfieldPositioningpattern") + i_ezsigntemplateformfield_positioningoffsetx: Optional[StrictInt] = Field(default=None, description="The offset X This will be required if **eEzsigntemplateformfieldPositioning** is set to **PerCoordinates**", alias="iEzsigntemplateformfieldPositioningoffsetx") + i_ezsigntemplateformfield_positioningoffsety: Optional[StrictInt] = Field(default=None, description="The offset Y This will be required if **eEzsigntemplateformfieldPositioning** is set to **PerCoordinates**", alias="iEzsigntemplateformfieldPositioningoffsety") + e_ezsigntemplateformfield_positioningoccurence: Optional[FieldEEzsigntemplateformfieldPositioningoccurence] = Field(default=None, alias="eEzsigntemplateformfieldPositioningoccurence") + e_ezsigntemplateformfield_horizontalalignment: Optional[EnumHorizontalalignment] = Field(default=None, alias="eEzsigntemplateformfieldHorizontalalignment") + obj_textstylestatic: Optional[TextstylestaticRequestCompound] = Field(default=None, alias="objTextstylestatic") + a_obj_ezsigntemplateelementdependency: Optional[List[EzsigntemplateelementdependencyRequestCompound]] = Field(default=None, alias="a_objEzsigntemplateelementdependency") __properties: ClassVar[List[str]] = ["pkiEzsigntemplateformfieldID", "eEzsigntemplateformfieldPositioning", "iEzsigntemplatedocumentpagePagenumber", "sEzsigntemplateformfieldLabel", "sEzsigntemplateformfieldValue", "iEzsigntemplateformfieldX", "iEzsigntemplateformfieldY", "iEzsigntemplateformfieldWidth", "iEzsigntemplateformfieldHeight", "bEzsigntemplateformfieldAutocomplete", "bEzsigntemplateformfieldSelected", "eEzsigntemplateformfieldDependencyrequirement", "sEzsigntemplateformfieldPositioningpattern", "iEzsigntemplateformfieldPositioningoffsetx", "iEzsigntemplateformfieldPositioningoffsety", "eEzsigntemplateformfieldPositioningoccurence", "eEzsigntemplateformfieldHorizontalalignment", "objTextstylestatic", "a_objEzsigntemplateelementdependency"] + @field_validator('s_ezsigntemplateformfield_positioningpattern') + def s_ezsigntemplateformfield_positioningpattern_validate_regular_expression(cls, value): + """Validates the regular expression""" + if value is None: + return value + + if not re.match(r"^.{0,30}$", value): + raise ValueError(r"must validate the regular expression /^.{0,30}$/") + return value + model_config = ConfigDict( populate_by_name=True, validate_assignment=True, @@ -116,7 +144,7 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: "eEzsigntemplateformfieldPositioningoccurence": obj.get("eEzsigntemplateformfieldPositioningoccurence"), "eEzsigntemplateformfieldHorizontalalignment": obj.get("eEzsigntemplateformfieldHorizontalalignment"), "objTextstylestatic": TextstylestaticRequestCompound.from_dict(obj["objTextstylestatic"]) if obj.get("objTextstylestatic") is not None else None, - "a_objEzsigntemplateelementdependency": [EzsigntemplateelementdependencyRequest.from_dict(_item) for _item in obj["a_objEzsigntemplateelementdependency"]] if obj.get("a_objEzsigntemplateelementdependency") is not None else None + "a_objEzsigntemplateelementdependency": [EzsigntemplateelementdependencyRequestCompound.from_dict(_item) for _item in obj["a_objEzsigntemplateelementdependency"]] if obj.get("a_objEzsigntemplateelementdependency") is not None else None }) return _obj diff --git a/eZmaxApi/models/ezsigntemplateformfield_response.py b/eZmaxApi/models/ezsigntemplateformfield_response.py index d1127d5ab..bf231e408 100644 --- a/eZmaxApi/models/ezsigntemplateformfield_response.py +++ b/eZmaxApi/models/ezsigntemplateformfield_response.py @@ -108,7 +108,34 @@ def to_dict(self) -> Dict[str, Any]: return _dict @classmethod - def from_dict(cls, obj: Dict[str, Any]) -> Optional[Self]: + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: """Create an instance of EzsigntemplateformfieldResponse from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "pkiEzsigntemplateformfieldID": obj.get("pkiEzsigntemplateformfieldID"), + "eEzsigntemplateformfieldPositioning": obj.get("eEzsigntemplateformfieldPositioning") if obj.get("eEzsigntemplateformfieldPositioning") is not None else FieldEEzsigntemplateformfieldPositioning.PERCOORDINATES, + "iEzsigntemplatedocumentpagePagenumber": obj.get("iEzsigntemplatedocumentpagePagenumber"), + "sEzsigntemplateformfieldLabel": obj.get("sEzsigntemplateformfieldLabel"), + "sEzsigntemplateformfieldValue": obj.get("sEzsigntemplateformfieldValue"), + "iEzsigntemplateformfieldX": obj.get("iEzsigntemplateformfieldX"), + "iEzsigntemplateformfieldY": obj.get("iEzsigntemplateformfieldY"), + "iEzsigntemplateformfieldWidth": obj.get("iEzsigntemplateformfieldWidth"), + "iEzsigntemplateformfieldHeight": obj.get("iEzsigntemplateformfieldHeight"), + "bEzsigntemplateformfieldAutocomplete": obj.get("bEzsigntemplateformfieldAutocomplete"), + "bEzsigntemplateformfieldSelected": obj.get("bEzsigntemplateformfieldSelected"), + "eEzsigntemplateformfieldDependencyrequirement": obj.get("eEzsigntemplateformfieldDependencyrequirement"), + "sEzsigntemplateformfieldPositioningpattern": obj.get("sEzsigntemplateformfieldPositioningpattern"), + "iEzsigntemplateformfieldPositioningoffsetx": obj.get("iEzsigntemplateformfieldPositioningoffsetx"), + "iEzsigntemplateformfieldPositioningoffsety": obj.get("iEzsigntemplateformfieldPositioningoffsety"), + "eEzsigntemplateformfieldPositioningoccurence": obj.get("eEzsigntemplateformfieldPositioningoccurence"), + "eEzsigntemplateformfieldHorizontalalignment": obj.get("eEzsigntemplateformfieldHorizontalalignment"), + "objTextstylestatic": TextstylestaticResponseCompound.from_dict(obj["objTextstylestatic"]) if obj.get("objTextstylestatic") is not None else None + }) + return _obj diff --git a/eZmaxApi/models/ezsigntemplateformfield_response_compound.py b/eZmaxApi/models/ezsigntemplateformfield_response_compound.py index 1ef6d74e1..0288da144 100644 --- a/eZmaxApi/models/ezsigntemplateformfield_response_compound.py +++ b/eZmaxApi/models/ezsigntemplateformfield_response_compound.py @@ -18,11 +18,11 @@ import re # noqa: F401 import json -from pydantic import ConfigDict, Field +from pydantic import BaseModel, ConfigDict, Field, StrictBool, StrictInt, StrictStr, field_validator from typing import Any, ClassVar, Dict, List, Optional +from typing_extensions import Annotated from eZmaxApi.models.enum_horizontalalignment import EnumHorizontalalignment -from eZmaxApi.models.ezsigntemplateelementdependency_response import EzsigntemplateelementdependencyResponse -from eZmaxApi.models.ezsigntemplateformfield_response import EzsigntemplateformfieldResponse +from eZmaxApi.models.ezsigntemplateelementdependency_response_compound import EzsigntemplateelementdependencyResponseCompound from eZmaxApi.models.field_e_ezsigntemplateformfield_dependencyrequirement import FieldEEzsigntemplateformfieldDependencyrequirement from eZmaxApi.models.field_e_ezsigntemplateformfield_positioning import FieldEEzsigntemplateformfieldPositioning from eZmaxApi.models.field_e_ezsigntemplateformfield_positioningoccurence import FieldEEzsigntemplateformfieldPositioningoccurence @@ -30,13 +30,41 @@ from typing import Optional, Set from typing_extensions import Self -class EzsigntemplateformfieldResponseCompound(EzsigntemplateformfieldResponse): +class EzsigntemplateformfieldResponseCompound(BaseModel): """ An Ezsigntemplateformfield Object and children """ # noqa: E501 - a_obj_ezsigntemplateelementdependency: Optional[List[EzsigntemplateelementdependencyResponse]] = Field(default=None, alias="a_objEzsigntemplateelementdependency") + pki_ezsigntemplateformfield_id: Annotated[int, Field(strict=True, ge=0)] = Field(description="The unique ID of the Ezsigntemplateformfield", alias="pkiEzsigntemplateformfieldID") + e_ezsigntemplateformfield_positioning: Optional[FieldEEzsigntemplateformfieldPositioning] = Field(default=FieldEEzsigntemplateformfieldPositioning.PERCOORDINATES, alias="eEzsigntemplateformfieldPositioning") + i_ezsigntemplatedocumentpage_pagenumber: Annotated[int, Field(strict=True, ge=1)] = Field(description="The page number in the Ezsigntemplatedocument", alias="iEzsigntemplatedocumentpagePagenumber") + s_ezsigntemplateformfield_label: StrictStr = Field(description="The Label for the Ezsigntemplateformfield", alias="sEzsigntemplateformfieldLabel") + s_ezsigntemplateformfield_value: Optional[StrictStr] = Field(default=None, description="The value for the Ezsigntemplateformfield", alias="sEzsigntemplateformfieldValue") + i_ezsigntemplateformfield_x: Optional[Annotated[int, Field(strict=True, ge=0)]] = Field(default=None, description="The X coordinate (Horizontal) where to put the Ezsigntemplateformfield on the Ezsigntemplatepage. Coordinate is calculated at 100dpi (dot per inch). So for example, if you want to put the Ezsigntemplateformfield 2 inches from the left border of the page, you would use \"200\" for the X coordinate.", alias="iEzsigntemplateformfieldX") + i_ezsigntemplateformfield_y: Optional[Annotated[int, Field(strict=True, ge=0)]] = Field(default=None, description="The Y coordinate (Vertical) where to put the Ezsigntemplateformfield on the Ezsigntemplatepage. Coordinate is calculated at 100dpi (dot per inch). So for example, if you want to put the Ezsigntemplateformfield 3 inches from the top border of the page, you would use \"300\" for the Y coordinate.", alias="iEzsigntemplateformfieldY") + i_ezsigntemplateformfield_width: Annotated[int, Field(strict=True, ge=0)] = Field(description="The Width of the Ezsigntemplateformfield in pixels calculated at 100 DPI", alias="iEzsigntemplateformfieldWidth") + i_ezsigntemplateformfield_height: Annotated[int, Field(strict=True, ge=0)] = Field(description="The Height of the Ezsigntemplateformfield in pixels calculated at 100 DPI ", alias="iEzsigntemplateformfieldHeight") + b_ezsigntemplateformfield_autocomplete: Optional[StrictBool] = Field(default=None, description="Whether the Ezsigntemplateformfield allows the use of the autocomplete of the browser. This can only be set if eEzsigntemplateformfieldgroupType is **Text**", alias="bEzsigntemplateformfieldAutocomplete") + b_ezsigntemplateformfield_selected: Optional[StrictBool] = Field(default=None, description="Whether the Ezsigntemplateformfield is selected or not by default. This can only be set if eEzsigntemplateformfieldgroupType is **Checkbox** or **Radio**", alias="bEzsigntemplateformfieldSelected") + e_ezsigntemplateformfield_dependencyrequirement: Optional[FieldEEzsigntemplateformfieldDependencyrequirement] = Field(default=None, alias="eEzsigntemplateformfieldDependencyrequirement") + s_ezsigntemplateformfield_positioningpattern: Optional[Annotated[str, Field(strict=True)]] = Field(default=None, description="The string pattern to search for the positioning. **This is not a regexp** This will be required if **eEzsigntemplateformfieldPositioning** is set to **PerCoordinates**", alias="sEzsigntemplateformfieldPositioningpattern") + i_ezsigntemplateformfield_positioningoffsetx: Optional[StrictInt] = Field(default=None, description="The offset X This will be required if **eEzsigntemplateformfieldPositioning** is set to **PerCoordinates**", alias="iEzsigntemplateformfieldPositioningoffsetx") + i_ezsigntemplateformfield_positioningoffsety: Optional[StrictInt] = Field(default=None, description="The offset Y This will be required if **eEzsigntemplateformfieldPositioning** is set to **PerCoordinates**", alias="iEzsigntemplateformfieldPositioningoffsety") + e_ezsigntemplateformfield_positioningoccurence: Optional[FieldEEzsigntemplateformfieldPositioningoccurence] = Field(default=None, alias="eEzsigntemplateformfieldPositioningoccurence") + e_ezsigntemplateformfield_horizontalalignment: Optional[EnumHorizontalalignment] = Field(default=None, alias="eEzsigntemplateformfieldHorizontalalignment") + obj_textstylestatic: Optional[TextstylestaticResponseCompound] = Field(default=None, alias="objTextstylestatic") + a_obj_ezsigntemplateelementdependency: Optional[List[EzsigntemplateelementdependencyResponseCompound]] = Field(default=None, alias="a_objEzsigntemplateelementdependency") __properties: ClassVar[List[str]] = ["pkiEzsigntemplateformfieldID", "eEzsigntemplateformfieldPositioning", "iEzsigntemplatedocumentpagePagenumber", "sEzsigntemplateformfieldLabel", "sEzsigntemplateformfieldValue", "iEzsigntemplateformfieldX", "iEzsigntemplateformfieldY", "iEzsigntemplateformfieldWidth", "iEzsigntemplateformfieldHeight", "bEzsigntemplateformfieldAutocomplete", "bEzsigntemplateformfieldSelected", "eEzsigntemplateformfieldDependencyrequirement", "sEzsigntemplateformfieldPositioningpattern", "iEzsigntemplateformfieldPositioningoffsetx", "iEzsigntemplateformfieldPositioningoffsety", "eEzsigntemplateformfieldPositioningoccurence", "eEzsigntemplateformfieldHorizontalalignment", "objTextstylestatic", "a_objEzsigntemplateelementdependency"] + @field_validator('s_ezsigntemplateformfield_positioningpattern') + def s_ezsigntemplateformfield_positioningpattern_validate_regular_expression(cls, value): + """Validates the regular expression""" + if value is None: + return value + + if not re.match(r"^.{0,30}$", value): + raise ValueError(r"must validate the regular expression /^.{0,30}$/") + return value + model_config = ConfigDict( populate_by_name=True, validate_assignment=True, @@ -116,7 +144,7 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: "eEzsigntemplateformfieldPositioningoccurence": obj.get("eEzsigntemplateformfieldPositioningoccurence"), "eEzsigntemplateformfieldHorizontalalignment": obj.get("eEzsigntemplateformfieldHorizontalalignment"), "objTextstylestatic": TextstylestaticResponseCompound.from_dict(obj["objTextstylestatic"]) if obj.get("objTextstylestatic") is not None else None, - "a_objEzsigntemplateelementdependency": [EzsigntemplateelementdependencyResponse.from_dict(_item) for _item in obj["a_objEzsigntemplateelementdependency"]] if obj.get("a_objEzsigntemplateelementdependency") is not None else None + "a_objEzsigntemplateelementdependency": [EzsigntemplateelementdependencyResponseCompound.from_dict(_item) for _item in obj["a_objEzsigntemplateelementdependency"]] if obj.get("a_objEzsigntemplateelementdependency") is not None else None }) return _obj diff --git a/eZmaxApi/models/ezsigntemplateformfieldgroup_create_object_v1_response.py b/eZmaxApi/models/ezsigntemplateformfieldgroup_create_object_v1_response.py index 0a5d40c64..b4d354c3d 100644 --- a/eZmaxApi/models/ezsigntemplateformfieldgroup_create_object_v1_response.py +++ b/eZmaxApi/models/ezsigntemplateformfieldgroup_create_object_v1_response.py @@ -18,19 +18,20 @@ import re # noqa: F401 import json -from pydantic import ConfigDict, Field -from typing import Any, ClassVar, Dict, List -from eZmaxApi.models.common_response import CommonResponse +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List, Optional from eZmaxApi.models.common_response_obj_debug import CommonResponseObjDebug from eZmaxApi.models.common_response_obj_debug_payload import CommonResponseObjDebugPayload from eZmaxApi.models.ezsigntemplateformfieldgroup_create_object_v1_response_m_payload import EzsigntemplateformfieldgroupCreateObjectV1ResponseMPayload from typing import Optional, Set from typing_extensions import Self -class EzsigntemplateformfieldgroupCreateObjectV1Response(CommonResponse): +class EzsigntemplateformfieldgroupCreateObjectV1Response(BaseModel): """ Response for POST /1/object/ezsigntemplateformfieldgroup """ # noqa: E501 + obj_debug_payload: CommonResponseObjDebugPayload = Field(alias="objDebugPayload") + obj_debug: Optional[CommonResponseObjDebug] = Field(default=None, alias="objDebug") m_payload: EzsigntemplateformfieldgroupCreateObjectV1ResponseMPayload = Field(alias="mPayload") __properties: ClassVar[List[str]] = ["objDebugPayload", "objDebug", "mPayload"] diff --git a/eZmaxApi/models/ezsigntemplateformfieldgroup_delete_object_v1_response.py b/eZmaxApi/models/ezsigntemplateformfieldgroup_delete_object_v1_response.py index 83ebae1e3..b7c28f63b 100644 --- a/eZmaxApi/models/ezsigntemplateformfieldgroup_delete_object_v1_response.py +++ b/eZmaxApi/models/ezsigntemplateformfieldgroup_delete_object_v1_response.py @@ -18,18 +18,19 @@ import re # noqa: F401 import json -from pydantic import ConfigDict -from typing import Any, ClassVar, Dict, List -from eZmaxApi.models.common_response import CommonResponse +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List, Optional from eZmaxApi.models.common_response_obj_debug import CommonResponseObjDebug from eZmaxApi.models.common_response_obj_debug_payload import CommonResponseObjDebugPayload from typing import Optional, Set from typing_extensions import Self -class EzsigntemplateformfieldgroupDeleteObjectV1Response(CommonResponse): +class EzsigntemplateformfieldgroupDeleteObjectV1Response(BaseModel): """ Response for DELETE /1/object/ezsigntemplateformfieldgroup/{pkiEzsigntemplateformfieldgroupID} """ # noqa: E501 + obj_debug_payload: CommonResponseObjDebugPayload = Field(alias="objDebugPayload") + obj_debug: Optional[CommonResponseObjDebug] = Field(default=None, alias="objDebug") __properties: ClassVar[List[str]] = ["objDebugPayload", "objDebug"] model_config = ConfigDict( diff --git a/eZmaxApi/models/ezsigntemplateformfieldgroup_edit_object_v1_response.py b/eZmaxApi/models/ezsigntemplateformfieldgroup_edit_object_v1_response.py index 449272c0c..b15e829c5 100644 --- a/eZmaxApi/models/ezsigntemplateformfieldgroup_edit_object_v1_response.py +++ b/eZmaxApi/models/ezsigntemplateformfieldgroup_edit_object_v1_response.py @@ -18,18 +18,19 @@ import re # noqa: F401 import json -from pydantic import ConfigDict -from typing import Any, ClassVar, Dict, List -from eZmaxApi.models.common_response import CommonResponse +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List, Optional from eZmaxApi.models.common_response_obj_debug import CommonResponseObjDebug from eZmaxApi.models.common_response_obj_debug_payload import CommonResponseObjDebugPayload from typing import Optional, Set from typing_extensions import Self -class EzsigntemplateformfieldgroupEditObjectV1Response(CommonResponse): +class EzsigntemplateformfieldgroupEditObjectV1Response(BaseModel): """ Response for PUT /1/object/ezsigntemplateformfieldgroup/{pkiEzsigntemplateformfieldgroupID} """ # noqa: E501 + obj_debug_payload: CommonResponseObjDebugPayload = Field(alias="objDebugPayload") + obj_debug: Optional[CommonResponseObjDebug] = Field(default=None, alias="objDebug") __properties: ClassVar[List[str]] = ["objDebugPayload", "objDebug"] model_config = ConfigDict( diff --git a/eZmaxApi/models/ezsigntemplateformfieldgroup_get_object_v2_response.py b/eZmaxApi/models/ezsigntemplateformfieldgroup_get_object_v2_response.py index 029250e39..ebb9b72fb 100644 --- a/eZmaxApi/models/ezsigntemplateformfieldgroup_get_object_v2_response.py +++ b/eZmaxApi/models/ezsigntemplateformfieldgroup_get_object_v2_response.py @@ -18,19 +18,20 @@ import re # noqa: F401 import json -from pydantic import ConfigDict, Field -from typing import Any, ClassVar, Dict, List -from eZmaxApi.models.common_response import CommonResponse +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List, Optional from eZmaxApi.models.common_response_obj_debug import CommonResponseObjDebug from eZmaxApi.models.common_response_obj_debug_payload import CommonResponseObjDebugPayload from eZmaxApi.models.ezsigntemplateformfieldgroup_get_object_v2_response_m_payload import EzsigntemplateformfieldgroupGetObjectV2ResponseMPayload from typing import Optional, Set from typing_extensions import Self -class EzsigntemplateformfieldgroupGetObjectV2Response(CommonResponse): +class EzsigntemplateformfieldgroupGetObjectV2Response(BaseModel): """ Response for GET /2/object/ezsigntemplateformfieldgroup/{pkiEzsigntemplateformfieldgroupID} """ # noqa: E501 + obj_debug_payload: CommonResponseObjDebugPayload = Field(alias="objDebugPayload") + obj_debug: Optional[CommonResponseObjDebug] = Field(default=None, alias="objDebug") m_payload: EzsigntemplateformfieldgroupGetObjectV2ResponseMPayload = Field(alias="mPayload") __properties: ClassVar[List[str]] = ["objDebugPayload", "objDebug", "mPayload"] diff --git a/eZmaxApi/models/ezsigntemplateformfieldgroup_request.py b/eZmaxApi/models/ezsigntemplateformfieldgroup_request.py index a1620867b..45f2cedb9 100644 --- a/eZmaxApi/models/ezsigntemplateformfieldgroup_request.py +++ b/eZmaxApi/models/ezsigntemplateformfieldgroup_request.py @@ -103,7 +103,33 @@ def to_dict(self) -> Dict[str, Any]: return _dict @classmethod - def from_dict(cls, obj: Dict[str, Any]) -> Optional[Self]: + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: """Create an instance of EzsigntemplateformfieldgroupRequest from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "pkiEzsigntemplateformfieldgroupID": obj.get("pkiEzsigntemplateformfieldgroupID"), + "fkiEzsigntemplatedocumentID": obj.get("fkiEzsigntemplatedocumentID"), + "eEzsigntemplateformfieldgroupType": obj.get("eEzsigntemplateformfieldgroupType"), + "eEzsigntemplateformfieldgroupSignerrequirement": obj.get("eEzsigntemplateformfieldgroupSignerrequirement"), + "sEzsigntemplateformfieldgroupLabel": obj.get("sEzsigntemplateformfieldgroupLabel"), + "iEzsigntemplateformfieldgroupStep": obj.get("iEzsigntemplateformfieldgroupStep"), + "sEzsigntemplateformfieldgroupDefaultvalue": obj.get("sEzsigntemplateformfieldgroupDefaultvalue"), + "iEzsigntemplateformfieldgroupFilledmin": obj.get("iEzsigntemplateformfieldgroupFilledmin"), + "iEzsigntemplateformfieldgroupFilledmax": obj.get("iEzsigntemplateformfieldgroupFilledmax"), + "bEzsigntemplateformfieldgroupReadonly": obj.get("bEzsigntemplateformfieldgroupReadonly"), + "iEzsigntemplateformfieldgroupMaxlength": obj.get("iEzsigntemplateformfieldgroupMaxlength"), + "bEzsigntemplateformfieldgroupEncrypted": obj.get("bEzsigntemplateformfieldgroupEncrypted"), + "sEzsigntemplateformfieldgroupRegexp": obj.get("sEzsigntemplateformfieldgroupRegexp"), + "sEzsigntemplateformfieldgroupTextvalidationcustommessage": obj.get("sEzsigntemplateformfieldgroupTextvalidationcustommessage"), + "eEzsigntemplateformfieldgroupTextvalidation": obj.get("eEzsigntemplateformfieldgroupTextvalidation"), + "tEzsigntemplateformfieldgroupTooltip": obj.get("tEzsigntemplateformfieldgroupTooltip"), + "eEzsigntemplateformfieldgroupTooltipposition": obj.get("eEzsigntemplateformfieldgroupTooltipposition") + }) + return _obj diff --git a/eZmaxApi/models/ezsigntemplateformfieldgroup_request_compound.py b/eZmaxApi/models/ezsigntemplateformfieldgroup_request_compound.py index 2de7ffb8b..bddff6d9d 100644 --- a/eZmaxApi/models/ezsigntemplateformfieldgroup_request_compound.py +++ b/eZmaxApi/models/ezsigntemplateformfieldgroup_request_compound.py @@ -18,28 +18,55 @@ import re # noqa: F401 import json -from pydantic import ConfigDict, Field +from pydantic import BaseModel, ConfigDict, Field, StrictBool, StrictStr, field_validator from typing import Any, ClassVar, Dict, List, Optional -from eZmaxApi.models.custom_dropdown_element_request import CustomDropdownElementRequest +from typing_extensions import Annotated +from eZmaxApi.models.custom_dropdown_element_request_compound import CustomDropdownElementRequestCompound from eZmaxApi.models.enum_textvalidation import EnumTextvalidation from eZmaxApi.models.ezsigntemplateformfield_request_compound import EzsigntemplateformfieldRequestCompound -from eZmaxApi.models.ezsigntemplateformfieldgroup_request import EzsigntemplateformfieldgroupRequest -from eZmaxApi.models.ezsigntemplateformfieldgroupsigner_request import EzsigntemplateformfieldgroupsignerRequest +from eZmaxApi.models.ezsigntemplateformfieldgroupsigner_request_compound import EzsigntemplateformfieldgroupsignerRequestCompound from eZmaxApi.models.field_e_ezsigntemplateformfieldgroup_signerrequirement import FieldEEzsigntemplateformfieldgroupSignerrequirement from eZmaxApi.models.field_e_ezsigntemplateformfieldgroup_tooltipposition import FieldEEzsigntemplateformfieldgroupTooltipposition from eZmaxApi.models.field_e_ezsigntemplateformfieldgroup_type import FieldEEzsigntemplateformfieldgroupType from typing import Optional, Set from typing_extensions import Self -class EzsigntemplateformfieldgroupRequestCompound(EzsigntemplateformfieldgroupRequest): +class EzsigntemplateformfieldgroupRequestCompound(BaseModel): """ A Ezsigntemplateformfieldgroup Object and children """ # noqa: E501 - a_obj_ezsigntemplateformfieldgroupsigner: List[EzsigntemplateformfieldgroupsignerRequest] = Field(alias="a_objEzsigntemplateformfieldgroupsigner") - a_obj_dropdown_element: Optional[List[CustomDropdownElementRequest]] = Field(default=None, alias="a_objDropdownElement") + pki_ezsigntemplateformfieldgroup_id: Optional[Annotated[int, Field(strict=True, ge=0)]] = Field(default=None, description="The unique ID of the Ezsigntemplateformfieldgroup", alias="pkiEzsigntemplateformfieldgroupID") + fki_ezsigntemplatedocument_id: Annotated[int, Field(strict=True, ge=0)] = Field(description="The unique ID of the Ezsigntemplatedocument", alias="fkiEzsigntemplatedocumentID") + e_ezsigntemplateformfieldgroup_type: FieldEEzsigntemplateformfieldgroupType = Field(alias="eEzsigntemplateformfieldgroupType") + e_ezsigntemplateformfieldgroup_signerrequirement: Optional[FieldEEzsigntemplateformfieldgroupSignerrequirement] = Field(default=None, alias="eEzsigntemplateformfieldgroupSignerrequirement") + s_ezsigntemplateformfieldgroup_label: Annotated[str, Field(min_length=1, strict=True, max_length=50)] = Field(description="The Label for the Ezsigntemplateformfieldgroup", alias="sEzsigntemplateformfieldgroupLabel") + i_ezsigntemplateformfieldgroup_step: Annotated[int, Field(strict=True, ge=1)] = Field(description="The step when the Ezsigntemplatesigner will be invited to fill the form fields", alias="iEzsigntemplateformfieldgroupStep") + s_ezsigntemplateformfieldgroup_defaultvalue: StrictStr = Field(description="The default value for the Ezsigntemplateformfieldgroup You can use the codes below and they will be replaced at signature time. | Code | Description | Example | | ------------------------- | ------------ | ------------ | | {sUserFirstname} | The first name of the contact | John | | {sUserLastname} | The last name of the contact | Doe | | {sUserJobtitle} | The job title | Sales Representative | | {sEmailAddress} | The email address | email@example.com | | {sPhoneE164} | A phone number in E.164 Format | +15149901516 | | {sPhoneE164Cell} | A phone number in E.164 Format | +15149901516 |", alias="sEzsigntemplateformfieldgroupDefaultvalue") + i_ezsigntemplateformfieldgroup_filledmin: Annotated[int, Field(strict=True, ge=0)] = Field(description="The minimum number of Ezsigntemplateformfield that must be filled in the Ezsigntemplateformfieldgroup", alias="iEzsigntemplateformfieldgroupFilledmin") + i_ezsigntemplateformfieldgroup_filledmax: Annotated[int, Field(strict=True, ge=0)] = Field(description="The maximum number of Ezsigntemplateformfield that must be filled in the Ezsigntemplateformfieldgroup", alias="iEzsigntemplateformfieldgroupFilledmax") + b_ezsigntemplateformfieldgroup_readonly: StrictBool = Field(description="Whether the Ezsigntemplateformfieldgroup is read only or not.", alias="bEzsigntemplateformfieldgroupReadonly") + i_ezsigntemplateformfieldgroup_maxlength: Optional[Annotated[int, Field(le=65535, strict=True, ge=0)]] = Field(default=None, description="The maximum length for the value in the Ezsigntemplateformfieldgroup This can only be set if eEzsigntemplateformfieldgroupType is **Text** or **Textarea**", alias="iEzsigntemplateformfieldgroupMaxlength") + b_ezsigntemplateformfieldgroup_encrypted: Optional[StrictBool] = Field(default=None, description="Whether the Ezsigntemplateformfieldgroup is encrypted in the database or not. Encrypted values are not displayed on the Ezsigndocument. This can only be set if eEzsigntemplateformfieldgroupType is **Text** or **Textarea**", alias="bEzsigntemplateformfieldgroupEncrypted") + s_ezsigntemplateformfieldgroup_regexp: Optional[Annotated[str, Field(strict=True)]] = Field(default=None, description="A regular expression to indicate what values are acceptable for the Ezsigntemplateformfieldgroup. This can only be set if eEzsigntemplateformfieldgroupType is **Text** or **Textarea**", alias="sEzsigntemplateformfieldgroupRegexp") + s_ezsigntemplateformfieldgroup_textvalidationcustommessage: Optional[Annotated[str, Field(min_length=0, strict=True, max_length=50)]] = Field(default=None, description="Description of validation rule. Show by signatory.", alias="sEzsigntemplateformfieldgroupTextvalidationcustommessage") + e_ezsigntemplateformfieldgroup_textvalidation: Optional[EnumTextvalidation] = Field(default=None, alias="eEzsigntemplateformfieldgroupTextvalidation") + t_ezsigntemplateformfieldgroup_tooltip: Optional[StrictStr] = Field(default=None, description="A tooltip that will be presented to Ezsigntemplatesigner about the Ezsigntemplateformfieldgroup", alias="tEzsigntemplateformfieldgroupTooltip") + e_ezsigntemplateformfieldgroup_tooltipposition: Optional[FieldEEzsigntemplateformfieldgroupTooltipposition] = Field(default=None, alias="eEzsigntemplateformfieldgroupTooltipposition") + a_obj_ezsigntemplateformfieldgroupsigner: List[EzsigntemplateformfieldgroupsignerRequestCompound] = Field(alias="a_objEzsigntemplateformfieldgroupsigner") + a_obj_dropdown_element: Optional[List[CustomDropdownElementRequestCompound]] = Field(default=None, alias="a_objDropdownElement") a_obj_ezsigntemplateformfield: List[EzsigntemplateformfieldRequestCompound] = Field(alias="a_objEzsigntemplateformfield") __properties: ClassVar[List[str]] = ["pkiEzsigntemplateformfieldgroupID", "fkiEzsigntemplatedocumentID", "eEzsigntemplateformfieldgroupType", "eEzsigntemplateformfieldgroupSignerrequirement", "sEzsigntemplateformfieldgroupLabel", "iEzsigntemplateformfieldgroupStep", "sEzsigntemplateformfieldgroupDefaultvalue", "iEzsigntemplateformfieldgroupFilledmin", "iEzsigntemplateformfieldgroupFilledmax", "bEzsigntemplateformfieldgroupReadonly", "iEzsigntemplateformfieldgroupMaxlength", "bEzsigntemplateformfieldgroupEncrypted", "sEzsigntemplateformfieldgroupRegexp", "sEzsigntemplateformfieldgroupTextvalidationcustommessage", "eEzsigntemplateformfieldgroupTextvalidation", "tEzsigntemplateformfieldgroupTooltip", "eEzsigntemplateformfieldgroupTooltipposition", "a_objEzsigntemplateformfieldgroupsigner", "a_objDropdownElement", "a_objEzsigntemplateformfield"] + @field_validator('s_ezsigntemplateformfieldgroup_regexp') + def s_ezsigntemplateformfieldgroup_regexp_validate_regular_expression(cls, value): + """Validates the regular expression""" + if value is None: + return value + + if not re.match(r"^\^.*\$$|^$", value): + raise ValueError(r"must validate the regular expression /^\^.*\$$|^$/") + return value + model_config = ConfigDict( populate_by_name=True, validate_assignment=True, @@ -129,8 +156,8 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: "eEzsigntemplateformfieldgroupTextvalidation": obj.get("eEzsigntemplateformfieldgroupTextvalidation"), "tEzsigntemplateformfieldgroupTooltip": obj.get("tEzsigntemplateformfieldgroupTooltip"), "eEzsigntemplateformfieldgroupTooltipposition": obj.get("eEzsigntemplateformfieldgroupTooltipposition"), - "a_objEzsigntemplateformfieldgroupsigner": [EzsigntemplateformfieldgroupsignerRequest.from_dict(_item) for _item in obj["a_objEzsigntemplateformfieldgroupsigner"]] if obj.get("a_objEzsigntemplateformfieldgroupsigner") is not None else None, - "a_objDropdownElement": [CustomDropdownElementRequest.from_dict(_item) for _item in obj["a_objDropdownElement"]] if obj.get("a_objDropdownElement") is not None else None, + "a_objEzsigntemplateformfieldgroupsigner": [EzsigntemplateformfieldgroupsignerRequestCompound.from_dict(_item) for _item in obj["a_objEzsigntemplateformfieldgroupsigner"]] if obj.get("a_objEzsigntemplateformfieldgroupsigner") is not None else None, + "a_objDropdownElement": [CustomDropdownElementRequestCompound.from_dict(_item) for _item in obj["a_objDropdownElement"]] if obj.get("a_objDropdownElement") is not None else None, "a_objEzsigntemplateformfield": [EzsigntemplateformfieldRequestCompound.from_dict(_item) for _item in obj["a_objEzsigntemplateformfield"]] if obj.get("a_objEzsigntemplateformfield") is not None else None }) return _obj diff --git a/eZmaxApi/models/ezsigntemplateformfieldgroup_response.py b/eZmaxApi/models/ezsigntemplateformfieldgroup_response.py index 96334f690..713270cfa 100644 --- a/eZmaxApi/models/ezsigntemplateformfieldgroup_response.py +++ b/eZmaxApi/models/ezsigntemplateformfieldgroup_response.py @@ -103,7 +103,33 @@ def to_dict(self) -> Dict[str, Any]: return _dict @classmethod - def from_dict(cls, obj: Dict[str, Any]) -> Optional[Self]: + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: """Create an instance of EzsigntemplateformfieldgroupResponse from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "pkiEzsigntemplateformfieldgroupID": obj.get("pkiEzsigntemplateformfieldgroupID"), + "fkiEzsigntemplatedocumentID": obj.get("fkiEzsigntemplatedocumentID"), + "eEzsigntemplateformfieldgroupType": obj.get("eEzsigntemplateformfieldgroupType"), + "eEzsigntemplateformfieldgroupSignerrequirement": obj.get("eEzsigntemplateformfieldgroupSignerrequirement"), + "sEzsigntemplateformfieldgroupLabel": obj.get("sEzsigntemplateformfieldgroupLabel"), + "iEzsigntemplateformfieldgroupStep": obj.get("iEzsigntemplateformfieldgroupStep"), + "sEzsigntemplateformfieldgroupDefaultvalue": obj.get("sEzsigntemplateformfieldgroupDefaultvalue"), + "iEzsigntemplateformfieldgroupFilledmin": obj.get("iEzsigntemplateformfieldgroupFilledmin"), + "iEzsigntemplateformfieldgroupFilledmax": obj.get("iEzsigntemplateformfieldgroupFilledmax"), + "bEzsigntemplateformfieldgroupReadonly": obj.get("bEzsigntemplateformfieldgroupReadonly"), + "iEzsigntemplateformfieldgroupMaxlength": obj.get("iEzsigntemplateformfieldgroupMaxlength"), + "bEzsigntemplateformfieldgroupEncrypted": obj.get("bEzsigntemplateformfieldgroupEncrypted"), + "sEzsigntemplateformfieldgroupRegexp": obj.get("sEzsigntemplateformfieldgroupRegexp"), + "sEzsigntemplateformfieldgroupTextvalidationcustommessage": obj.get("sEzsigntemplateformfieldgroupTextvalidationcustommessage"), + "eEzsigntemplateformfieldgroupTextvalidation": obj.get("eEzsigntemplateformfieldgroupTextvalidation"), + "tEzsigntemplateformfieldgroupTooltip": obj.get("tEzsigntemplateformfieldgroupTooltip"), + "eEzsigntemplateformfieldgroupTooltipposition": obj.get("eEzsigntemplateformfieldgroupTooltipposition") + }) + return _obj diff --git a/eZmaxApi/models/ezsigntemplateformfieldgroup_response_compound.py b/eZmaxApi/models/ezsigntemplateformfieldgroup_response_compound.py index 21b44ad5b..0a8fcdab7 100644 --- a/eZmaxApi/models/ezsigntemplateformfieldgroup_response_compound.py +++ b/eZmaxApi/models/ezsigntemplateformfieldgroup_response_compound.py @@ -18,28 +18,55 @@ import re # noqa: F401 import json -from pydantic import ConfigDict, Field +from pydantic import BaseModel, ConfigDict, Field, StrictBool, StrictStr, field_validator from typing import Any, ClassVar, Dict, List, Optional -from eZmaxApi.models.custom_dropdown_element_response import CustomDropdownElementResponse +from typing_extensions import Annotated +from eZmaxApi.models.custom_dropdown_element_response_compound import CustomDropdownElementResponseCompound from eZmaxApi.models.enum_textvalidation import EnumTextvalidation from eZmaxApi.models.ezsigntemplateformfield_response_compound import EzsigntemplateformfieldResponseCompound -from eZmaxApi.models.ezsigntemplateformfieldgroup_response import EzsigntemplateformfieldgroupResponse -from eZmaxApi.models.ezsigntemplateformfieldgroupsigner_response import EzsigntemplateformfieldgroupsignerResponse +from eZmaxApi.models.ezsigntemplateformfieldgroupsigner_response_compound import EzsigntemplateformfieldgroupsignerResponseCompound from eZmaxApi.models.field_e_ezsigntemplateformfieldgroup_signerrequirement import FieldEEzsigntemplateformfieldgroupSignerrequirement from eZmaxApi.models.field_e_ezsigntemplateformfieldgroup_tooltipposition import FieldEEzsigntemplateformfieldgroupTooltipposition from eZmaxApi.models.field_e_ezsigntemplateformfieldgroup_type import FieldEEzsigntemplateformfieldgroupType from typing import Optional, Set from typing_extensions import Self -class EzsigntemplateformfieldgroupResponseCompound(EzsigntemplateformfieldgroupResponse): +class EzsigntemplateformfieldgroupResponseCompound(BaseModel): """ A Ezsigntemplateformfieldgroup Object and children """ # noqa: E501 - a_obj_ezsigntemplateformfieldgroupsigner: List[EzsigntemplateformfieldgroupsignerResponse] = Field(alias="a_objEzsigntemplateformfieldgroupsigner") - a_obj_dropdown_element: Optional[List[CustomDropdownElementResponse]] = Field(default=None, alias="a_objDropdownElement") + pki_ezsigntemplateformfieldgroup_id: Annotated[int, Field(strict=True, ge=0)] = Field(description="The unique ID of the Ezsigntemplateformfieldgroup", alias="pkiEzsigntemplateformfieldgroupID") + fki_ezsigntemplatedocument_id: Annotated[int, Field(strict=True, ge=0)] = Field(description="The unique ID of the Ezsigntemplatedocument", alias="fkiEzsigntemplatedocumentID") + e_ezsigntemplateformfieldgroup_type: FieldEEzsigntemplateformfieldgroupType = Field(alias="eEzsigntemplateformfieldgroupType") + e_ezsigntemplateformfieldgroup_signerrequirement: Optional[FieldEEzsigntemplateformfieldgroupSignerrequirement] = Field(default=None, alias="eEzsigntemplateformfieldgroupSignerrequirement") + s_ezsigntemplateformfieldgroup_label: Annotated[str, Field(min_length=1, strict=True, max_length=50)] = Field(description="The Label for the Ezsigntemplateformfieldgroup", alias="sEzsigntemplateformfieldgroupLabel") + i_ezsigntemplateformfieldgroup_step: Annotated[int, Field(strict=True, ge=1)] = Field(description="The step when the Ezsigntemplatesigner will be invited to fill the form fields", alias="iEzsigntemplateformfieldgroupStep") + s_ezsigntemplateformfieldgroup_defaultvalue: Optional[StrictStr] = Field(default=None, description="The default value for the Ezsigntemplateformfieldgroup You can use the codes below and they will be replaced at signature time. | Code | Description | Example | | ------------------------- | ------------ | ------------ | | {sUserFirstname} | The first name of the contact | John | | {sUserLastname} | The last name of the contact | Doe | | {sUserJobtitle} | The job title | Sales Representative | | {sEmailAddress} | The email address | email@example.com | | {sPhoneE164} | A phone number in E.164 Format | +15149901516 | | {sPhoneE164Cell} | A phone number in E.164 Format | +15149901516 |", alias="sEzsigntemplateformfieldgroupDefaultvalue") + i_ezsigntemplateformfieldgroup_filledmin: Annotated[int, Field(strict=True, ge=0)] = Field(description="The minimum number of Ezsigntemplateformfield that must be filled in the Ezsigntemplateformfieldgroup", alias="iEzsigntemplateformfieldgroupFilledmin") + i_ezsigntemplateformfieldgroup_filledmax: Annotated[int, Field(strict=True, ge=0)] = Field(description="The maximum number of Ezsigntemplateformfield that must be filled in the Ezsigntemplateformfieldgroup", alias="iEzsigntemplateformfieldgroupFilledmax") + b_ezsigntemplateformfieldgroup_readonly: StrictBool = Field(description="Whether the Ezsigntemplateformfieldgroup is read only or not.", alias="bEzsigntemplateformfieldgroupReadonly") + i_ezsigntemplateformfieldgroup_maxlength: Optional[Annotated[int, Field(le=65535, strict=True, ge=0)]] = Field(default=None, description="The maximum length for the value in the Ezsigntemplateformfieldgroup This can only be set if eEzsigntemplateformfieldgroupType is **Text** or **Textarea**", alias="iEzsigntemplateformfieldgroupMaxlength") + b_ezsigntemplateformfieldgroup_encrypted: Optional[StrictBool] = Field(default=None, description="Whether the Ezsigntemplateformfieldgroup is encrypted in the database or not. Encrypted values are not displayed on the Ezsigndocument. This can only be set if eEzsigntemplateformfieldgroupType is **Text** or **Textarea**", alias="bEzsigntemplateformfieldgroupEncrypted") + s_ezsigntemplateformfieldgroup_regexp: Optional[Annotated[str, Field(strict=True)]] = Field(default=None, description="A regular expression to indicate what values are acceptable for the Ezsigntemplateformfieldgroup. This can only be set if eEzsigntemplateformfieldgroupType is **Text** or **Textarea**", alias="sEzsigntemplateformfieldgroupRegexp") + s_ezsigntemplateformfieldgroup_textvalidationcustommessage: Optional[Annotated[str, Field(min_length=0, strict=True, max_length=50)]] = Field(default=None, description="Description of validation rule. Show by signatory.", alias="sEzsigntemplateformfieldgroupTextvalidationcustommessage") + e_ezsigntemplateformfieldgroup_textvalidation: Optional[EnumTextvalidation] = Field(default=None, alias="eEzsigntemplateformfieldgroupTextvalidation") + t_ezsigntemplateformfieldgroup_tooltip: Optional[StrictStr] = Field(default=None, description="A tooltip that will be presented to Ezsigntemplatesigner about the Ezsigntemplateformfieldgroup", alias="tEzsigntemplateformfieldgroupTooltip") + e_ezsigntemplateformfieldgroup_tooltipposition: Optional[FieldEEzsigntemplateformfieldgroupTooltipposition] = Field(default=None, alias="eEzsigntemplateformfieldgroupTooltipposition") + a_obj_ezsigntemplateformfieldgroupsigner: List[EzsigntemplateformfieldgroupsignerResponseCompound] = Field(alias="a_objEzsigntemplateformfieldgroupsigner") + a_obj_dropdown_element: Optional[List[CustomDropdownElementResponseCompound]] = Field(default=None, alias="a_objDropdownElement") a_obj_ezsigntemplateformfield: List[EzsigntemplateformfieldResponseCompound] = Field(alias="a_objEzsigntemplateformfield") __properties: ClassVar[List[str]] = ["pkiEzsigntemplateformfieldgroupID", "fkiEzsigntemplatedocumentID", "eEzsigntemplateformfieldgroupType", "eEzsigntemplateformfieldgroupSignerrequirement", "sEzsigntemplateformfieldgroupLabel", "iEzsigntemplateformfieldgroupStep", "sEzsigntemplateformfieldgroupDefaultvalue", "iEzsigntemplateformfieldgroupFilledmin", "iEzsigntemplateformfieldgroupFilledmax", "bEzsigntemplateformfieldgroupReadonly", "iEzsigntemplateformfieldgroupMaxlength", "bEzsigntemplateformfieldgroupEncrypted", "sEzsigntemplateformfieldgroupRegexp", "sEzsigntemplateformfieldgroupTextvalidationcustommessage", "eEzsigntemplateformfieldgroupTextvalidation", "tEzsigntemplateformfieldgroupTooltip", "eEzsigntemplateformfieldgroupTooltipposition", "a_objEzsigntemplateformfieldgroupsigner", "a_objDropdownElement", "a_objEzsigntemplateformfield"] + @field_validator('s_ezsigntemplateformfieldgroup_regexp') + def s_ezsigntemplateformfieldgroup_regexp_validate_regular_expression(cls, value): + """Validates the regular expression""" + if value is None: + return value + + if not re.match(r"^\^.*\$$|^$", value): + raise ValueError(r"must validate the regular expression /^\^.*\$$|^$/") + return value + model_config = ConfigDict( populate_by_name=True, validate_assignment=True, @@ -129,8 +156,8 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: "eEzsigntemplateformfieldgroupTextvalidation": obj.get("eEzsigntemplateformfieldgroupTextvalidation"), "tEzsigntemplateformfieldgroupTooltip": obj.get("tEzsigntemplateformfieldgroupTooltip"), "eEzsigntemplateformfieldgroupTooltipposition": obj.get("eEzsigntemplateformfieldgroupTooltipposition"), - "a_objEzsigntemplateformfieldgroupsigner": [EzsigntemplateformfieldgroupsignerResponse.from_dict(_item) for _item in obj["a_objEzsigntemplateformfieldgroupsigner"]] if obj.get("a_objEzsigntemplateformfieldgroupsigner") is not None else None, - "a_objDropdownElement": [CustomDropdownElementResponse.from_dict(_item) for _item in obj["a_objDropdownElement"]] if obj.get("a_objDropdownElement") is not None else None, + "a_objEzsigntemplateformfieldgroupsigner": [EzsigntemplateformfieldgroupsignerResponseCompound.from_dict(_item) for _item in obj["a_objEzsigntemplateformfieldgroupsigner"]] if obj.get("a_objEzsigntemplateformfieldgroupsigner") is not None else None, + "a_objDropdownElement": [CustomDropdownElementResponseCompound.from_dict(_item) for _item in obj["a_objDropdownElement"]] if obj.get("a_objDropdownElement") is not None else None, "a_objEzsigntemplateformfield": [EzsigntemplateformfieldResponseCompound.from_dict(_item) for _item in obj["a_objEzsigntemplateformfield"]] if obj.get("a_objEzsigntemplateformfield") is not None else None }) return _obj diff --git a/eZmaxApi/models/ezsigntemplateglobal_get_autocomplete_v2_response.py b/eZmaxApi/models/ezsigntemplateglobal_get_autocomplete_v2_response.py index 01ec526fa..026175e52 100644 --- a/eZmaxApi/models/ezsigntemplateglobal_get_autocomplete_v2_response.py +++ b/eZmaxApi/models/ezsigntemplateglobal_get_autocomplete_v2_response.py @@ -18,19 +18,20 @@ import re # noqa: F401 import json -from pydantic import ConfigDict, Field -from typing import Any, ClassVar, Dict, List -from eZmaxApi.models.common_response import CommonResponse +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List, Optional from eZmaxApi.models.common_response_obj_debug import CommonResponseObjDebug from eZmaxApi.models.common_response_obj_debug_payload import CommonResponseObjDebugPayload from eZmaxApi.models.ezsigntemplateglobal_get_autocomplete_v2_response_m_payload import EzsigntemplateglobalGetAutocompleteV2ResponseMPayload from typing import Optional, Set from typing_extensions import Self -class EzsigntemplateglobalGetAutocompleteV2Response(CommonResponse): +class EzsigntemplateglobalGetAutocompleteV2Response(BaseModel): """ Response for GET /2/object/ezsigntemplateglobal/getAutocomplete """ # noqa: E501 + obj_debug_payload: CommonResponseObjDebugPayload = Field(alias="objDebugPayload") + obj_debug: Optional[CommonResponseObjDebug] = Field(default=None, alias="objDebug") m_payload: EzsigntemplateglobalGetAutocompleteV2ResponseMPayload = Field(alias="mPayload") __properties: ClassVar[List[str]] = ["objDebugPayload", "objDebug", "mPayload"] diff --git a/eZmaxApi/models/ezsigntemplateglobal_get_object_v2_response.py b/eZmaxApi/models/ezsigntemplateglobal_get_object_v2_response.py index c8ccbbad8..fe91d1e32 100644 --- a/eZmaxApi/models/ezsigntemplateglobal_get_object_v2_response.py +++ b/eZmaxApi/models/ezsigntemplateglobal_get_object_v2_response.py @@ -18,19 +18,20 @@ import re # noqa: F401 import json -from pydantic import ConfigDict, Field -from typing import Any, ClassVar, Dict, List -from eZmaxApi.models.common_response import CommonResponse +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List, Optional from eZmaxApi.models.common_response_obj_debug import CommonResponseObjDebug from eZmaxApi.models.common_response_obj_debug_payload import CommonResponseObjDebugPayload from eZmaxApi.models.ezsigntemplateglobal_get_object_v2_response_m_payload import EzsigntemplateglobalGetObjectV2ResponseMPayload from typing import Optional, Set from typing_extensions import Self -class EzsigntemplateglobalGetObjectV2Response(CommonResponse): +class EzsigntemplateglobalGetObjectV2Response(BaseModel): """ Response for GET /2/object/ezsigntemplateglobal/{pkiEzsigntemplateglobalID} """ # noqa: E501 + obj_debug_payload: CommonResponseObjDebugPayload = Field(alias="objDebugPayload") + obj_debug: Optional[CommonResponseObjDebug] = Field(default=None, alias="objDebug") m_payload: EzsigntemplateglobalGetObjectV2ResponseMPayload = Field(alias="mPayload") __properties: ClassVar[List[str]] = ["objDebugPayload", "objDebug", "mPayload"] diff --git a/eZmaxApi/models/ezsigntemplateglobal_response.py b/eZmaxApi/models/ezsigntemplateglobal_response.py index 5e667530c..c6ff571f2 100644 --- a/eZmaxApi/models/ezsigntemplateglobal_response.py +++ b/eZmaxApi/models/ezsigntemplateglobal_response.py @@ -91,7 +91,26 @@ def to_dict(self) -> Dict[str, Any]: return _dict @classmethod - def from_dict(cls, obj: Dict[str, Any]) -> Optional[Self]: + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: """Create an instance of EzsigntemplateglobalResponse from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "pkiEzsigntemplateglobalID": obj.get("pkiEzsigntemplateglobalID"), + "fkiEzsigntemplateglobaldocumentID": obj.get("fkiEzsigntemplateglobaldocumentID"), + "fkiModuleID": obj.get("fkiModuleID"), + "sModuleNameX": obj.get("sModuleNameX"), + "fkiLanguageID": obj.get("fkiLanguageID"), + "sLanguageNameX": obj.get("sLanguageNameX"), + "eEzsigntemplateglobalModule": obj.get("eEzsigntemplateglobalModule"), + "eEzsigntemplateglobalSupplier": obj.get("eEzsigntemplateglobalSupplier"), + "sEzsigntemplateglobalCode": obj.get("sEzsigntemplateglobalCode"), + "sEzsigntemplateglobalDescription": obj.get("sEzsigntemplateglobalDescription") + }) + return _obj diff --git a/eZmaxApi/models/ezsigntemplateglobal_response_compound.py b/eZmaxApi/models/ezsigntemplateglobal_response_compound.py index ab1bf3ed4..4c0ff27d9 100644 --- a/eZmaxApi/models/ezsigntemplateglobal_response_compound.py +++ b/eZmaxApi/models/ezsigntemplateglobal_response_compound.py @@ -18,9 +18,9 @@ import re # noqa: F401 import json -from pydantic import ConfigDict, Field +from pydantic import BaseModel, ConfigDict, Field, StrictStr, field_validator from typing import Any, ClassVar, Dict, List, Optional -from eZmaxApi.models.ezsigntemplateglobal_response import EzsigntemplateglobalResponse +from typing_extensions import Annotated from eZmaxApi.models.ezsigntemplateglobaldocument_response import EzsigntemplateglobaldocumentResponse from eZmaxApi.models.ezsigntemplateglobalsigner_response_compound import EzsigntemplateglobalsignerResponseCompound from eZmaxApi.models.field_e_ezsigntemplateglobal_module import FieldEEzsigntemplateglobalModule @@ -28,14 +28,31 @@ from typing import Optional, Set from typing_extensions import Self -class EzsigntemplateglobalResponseCompound(EzsigntemplateglobalResponse): +class EzsigntemplateglobalResponseCompound(BaseModel): """ A Ezsigntemplateglobal Object """ # noqa: E501 + pki_ezsigntemplateglobal_id: Annotated[int, Field(strict=True, ge=0)] = Field(description="The unique ID of the Ezsigntemplateglobal", alias="pkiEzsigntemplateglobalID") + fki_ezsigntemplateglobaldocument_id: Annotated[int, Field(strict=True, ge=0)] = Field(description="The unique ID of the Ezsigntemplateglobaldocument", alias="fkiEzsigntemplateglobaldocumentID") + fki_module_id: Annotated[int, Field(strict=True, ge=0)] = Field(description="The unique ID of the Module", alias="fkiModuleID") + s_module_name_x: Optional[StrictStr] = Field(default=None, description="The Name of the Module in the language of the requester", alias="sModuleNameX") + fki_language_id: Annotated[int, Field(le=2, strict=True, ge=1)] = Field(description="The unique ID of the Language. Valid values: |Value|Description| |-|-| |1|French| |2|English|", alias="fkiLanguageID") + s_language_name_x: StrictStr = Field(description="The Name of the Language in the language of the requester", alias="sLanguageNameX") + e_ezsigntemplateglobal_module: FieldEEzsigntemplateglobalModule = Field(alias="eEzsigntemplateglobalModule") + e_ezsigntemplateglobal_supplier: FieldEEzsigntemplateglobalSupplier = Field(alias="eEzsigntemplateglobalSupplier") + s_ezsigntemplateglobal_code: Annotated[str, Field(strict=True)] = Field(description="The Code of the Ezsigntemplateglobal", alias="sEzsigntemplateglobalCode") + s_ezsigntemplateglobal_description: StrictStr = Field(description="The description of the Ezsigntemplate", alias="sEzsigntemplateglobalDescription") obj_ezsigntemplateglobaldocument: Optional[EzsigntemplateglobaldocumentResponse] = Field(default=None, alias="objEzsigntemplateglobaldocument") a_obj_ezsigntemplateglobalsigner: List[EzsigntemplateglobalsignerResponseCompound] = Field(alias="a_objEzsigntemplateglobalsigner") __properties: ClassVar[List[str]] = ["pkiEzsigntemplateglobalID", "fkiEzsigntemplateglobaldocumentID", "fkiModuleID", "sModuleNameX", "fkiLanguageID", "sLanguageNameX", "eEzsigntemplateglobalModule", "eEzsigntemplateglobalSupplier", "sEzsigntemplateglobalCode", "sEzsigntemplateglobalDescription", "objEzsigntemplateglobaldocument", "a_objEzsigntemplateglobalsigner"] + @field_validator('s_ezsigntemplateglobal_code') + def s_ezsigntemplateglobal_code_validate_regular_expression(cls, value): + """Validates the regular expression""" + if not re.match(r"^.{0,10}$", value): + raise ValueError(r"must validate the regular expression /^.{0,10}$/") + return value + model_config = ConfigDict( populate_by_name=True, validate_assignment=True, diff --git a/eZmaxApi/models/ezsigntemplateglobalsigner_response.py b/eZmaxApi/models/ezsigntemplateglobalsigner_response.py index 116eac37e..292c98ece 100644 --- a/eZmaxApi/models/ezsigntemplateglobalsigner_response.py +++ b/eZmaxApi/models/ezsigntemplateglobalsigner_response.py @@ -82,7 +82,19 @@ def to_dict(self) -> Dict[str, Any]: return _dict @classmethod - def from_dict(cls, obj: Dict[str, Any]) -> Optional[Self]: + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: """Create an instance of EzsigntemplateglobalsignerResponse from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "pkiEzsigntemplateglobalsignerID": obj.get("pkiEzsigntemplateglobalsignerID"), + "fkiEzsigntemplateglobalID": obj.get("fkiEzsigntemplateglobalID"), + "sEzsigntemplateglobalsignerDescription": obj.get("sEzsigntemplateglobalsignerDescription") + }) + return _obj diff --git a/eZmaxApi/models/ezsigntemplateglobalsigner_response_compound.py b/eZmaxApi/models/ezsigntemplateglobalsigner_response_compound.py index 38140a0f6..df21b4d19 100644 --- a/eZmaxApi/models/ezsigntemplateglobalsigner_response_compound.py +++ b/eZmaxApi/models/ezsigntemplateglobalsigner_response_compound.py @@ -18,18 +18,28 @@ import re # noqa: F401 import json -from pydantic import ConfigDict +from pydantic import BaseModel, ConfigDict, Field, field_validator from typing import Any, ClassVar, Dict, List -from eZmaxApi.models.ezsigntemplateglobalsigner_response import EzsigntemplateglobalsignerResponse +from typing_extensions import Annotated from typing import Optional, Set from typing_extensions import Self -class EzsigntemplateglobalsignerResponseCompound(EzsigntemplateglobalsignerResponse): +class EzsigntemplateglobalsignerResponseCompound(BaseModel): """ A Ezsigntemplateglobalsigner Object """ # noqa: E501 + pki_ezsigntemplateglobalsigner_id: Annotated[int, Field(strict=True, ge=0)] = Field(description="The unique ID of the Ezsigntemplateglobalsigner", alias="pkiEzsigntemplateglobalsignerID") + fki_ezsigntemplateglobal_id: Annotated[int, Field(strict=True, ge=0)] = Field(description="The unique ID of the Ezsigntemplateglobal", alias="fkiEzsigntemplateglobalID") + s_ezsigntemplateglobalsigner_description: Annotated[str, Field(strict=True)] = Field(description="The description of the Ezsigntemplateglobalsigner", alias="sEzsigntemplateglobalsignerDescription") __properties: ClassVar[List[str]] = ["pkiEzsigntemplateglobalsignerID", "fkiEzsigntemplateglobalID", "sEzsigntemplateglobalsignerDescription"] + @field_validator('s_ezsigntemplateglobalsigner_description') + def s_ezsigntemplateglobalsigner_description_validate_regular_expression(cls, value): + """Validates the regular expression""" + if not re.match(r"^.{1,50}$", value): + raise ValueError(r"must validate the regular expression /^.{1,50}$/") + return value + model_config = ConfigDict( populate_by_name=True, validate_assignment=True, diff --git a/eZmaxApi/models/ezsigntemplatepackage_create_object_v1_response.py b/eZmaxApi/models/ezsigntemplatepackage_create_object_v1_response.py index 599efd1a5..917e918d9 100644 --- a/eZmaxApi/models/ezsigntemplatepackage_create_object_v1_response.py +++ b/eZmaxApi/models/ezsigntemplatepackage_create_object_v1_response.py @@ -18,19 +18,20 @@ import re # noqa: F401 import json -from pydantic import ConfigDict, Field -from typing import Any, ClassVar, Dict, List -from eZmaxApi.models.common_response import CommonResponse +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List, Optional from eZmaxApi.models.common_response_obj_debug import CommonResponseObjDebug from eZmaxApi.models.common_response_obj_debug_payload import CommonResponseObjDebugPayload from eZmaxApi.models.ezsigntemplatepackage_create_object_v1_response_m_payload import EzsigntemplatepackageCreateObjectV1ResponseMPayload from typing import Optional, Set from typing_extensions import Self -class EzsigntemplatepackageCreateObjectV1Response(CommonResponse): +class EzsigntemplatepackageCreateObjectV1Response(BaseModel): """ Response for POST /1/object/ezsigntemplatepackage """ # noqa: E501 + obj_debug_payload: CommonResponseObjDebugPayload = Field(alias="objDebugPayload") + obj_debug: Optional[CommonResponseObjDebug] = Field(default=None, alias="objDebug") m_payload: EzsigntemplatepackageCreateObjectV1ResponseMPayload = Field(alias="mPayload") __properties: ClassVar[List[str]] = ["objDebugPayload", "objDebug", "mPayload"] diff --git a/eZmaxApi/models/ezsigntemplatepackage_delete_object_v1_response.py b/eZmaxApi/models/ezsigntemplatepackage_delete_object_v1_response.py index 3e556784b..e30f58b97 100644 --- a/eZmaxApi/models/ezsigntemplatepackage_delete_object_v1_response.py +++ b/eZmaxApi/models/ezsigntemplatepackage_delete_object_v1_response.py @@ -18,18 +18,19 @@ import re # noqa: F401 import json -from pydantic import ConfigDict -from typing import Any, ClassVar, Dict, List -from eZmaxApi.models.common_response import CommonResponse +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List, Optional from eZmaxApi.models.common_response_obj_debug import CommonResponseObjDebug from eZmaxApi.models.common_response_obj_debug_payload import CommonResponseObjDebugPayload from typing import Optional, Set from typing_extensions import Self -class EzsigntemplatepackageDeleteObjectV1Response(CommonResponse): +class EzsigntemplatepackageDeleteObjectV1Response(BaseModel): """ Response for DELETE /1/object/ezsigntemplatepackage/{pkiEzsigntemplatepackageID} """ # noqa: E501 + obj_debug_payload: CommonResponseObjDebugPayload = Field(alias="objDebugPayload") + obj_debug: Optional[CommonResponseObjDebug] = Field(default=None, alias="objDebug") __properties: ClassVar[List[str]] = ["objDebugPayload", "objDebug"] model_config = ConfigDict( diff --git a/eZmaxApi/models/ezsigntemplatepackage_edit_ezsigntemplatepackagesigners_v1_response.py b/eZmaxApi/models/ezsigntemplatepackage_edit_ezsigntemplatepackagesigners_v1_response.py index f45c283f9..0b7f7a2e1 100644 --- a/eZmaxApi/models/ezsigntemplatepackage_edit_ezsigntemplatepackagesigners_v1_response.py +++ b/eZmaxApi/models/ezsigntemplatepackage_edit_ezsigntemplatepackagesigners_v1_response.py @@ -18,19 +18,20 @@ import re # noqa: F401 import json -from pydantic import ConfigDict, Field -from typing import Any, ClassVar, Dict, List -from eZmaxApi.models.common_response import CommonResponse +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List, Optional from eZmaxApi.models.common_response_obj_debug import CommonResponseObjDebug from eZmaxApi.models.common_response_obj_debug_payload import CommonResponseObjDebugPayload from eZmaxApi.models.ezsigntemplatepackage_edit_ezsigntemplatepackagesigners_v1_response_m_payload import EzsigntemplatepackageEditEzsigntemplatepackagesignersV1ResponseMPayload from typing import Optional, Set from typing_extensions import Self -class EzsigntemplatepackageEditEzsigntemplatepackagesignersV1Response(CommonResponse): +class EzsigntemplatepackageEditEzsigntemplatepackagesignersV1Response(BaseModel): """ Response for PUT /1/object/ezsigntemplatepackage/{pkiEzsigntemplatepackageID}/editEzsigntemplatepackagesigners """ # noqa: E501 + obj_debug_payload: CommonResponseObjDebugPayload = Field(alias="objDebugPayload") + obj_debug: Optional[CommonResponseObjDebug] = Field(default=None, alias="objDebug") m_payload: EzsigntemplatepackageEditEzsigntemplatepackagesignersV1ResponseMPayload = Field(alias="mPayload") __properties: ClassVar[List[str]] = ["objDebugPayload", "objDebug", "mPayload"] diff --git a/eZmaxApi/models/ezsigntemplatepackage_edit_object_v1_response.py b/eZmaxApi/models/ezsigntemplatepackage_edit_object_v1_response.py index c727f79f8..04f093ea7 100644 --- a/eZmaxApi/models/ezsigntemplatepackage_edit_object_v1_response.py +++ b/eZmaxApi/models/ezsigntemplatepackage_edit_object_v1_response.py @@ -18,18 +18,19 @@ import re # noqa: F401 import json -from pydantic import ConfigDict -from typing import Any, ClassVar, Dict, List -from eZmaxApi.models.common_response import CommonResponse +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List, Optional from eZmaxApi.models.common_response_obj_debug import CommonResponseObjDebug from eZmaxApi.models.common_response_obj_debug_payload import CommonResponseObjDebugPayload from typing import Optional, Set from typing_extensions import Self -class EzsigntemplatepackageEditObjectV1Response(CommonResponse): +class EzsigntemplatepackageEditObjectV1Response(BaseModel): """ Response for PUT /1/object/ezsigntemplatepackage/{pkiEzsigntemplatepackageID} """ # noqa: E501 + obj_debug_payload: CommonResponseObjDebugPayload = Field(alias="objDebugPayload") + obj_debug: Optional[CommonResponseObjDebug] = Field(default=None, alias="objDebug") __properties: ClassVar[List[str]] = ["objDebugPayload", "objDebug"] model_config = ConfigDict( diff --git a/eZmaxApi/models/ezsigntemplatepackage_get_autocomplete_v2_response.py b/eZmaxApi/models/ezsigntemplatepackage_get_autocomplete_v2_response.py index ab3dae682..455bf482a 100644 --- a/eZmaxApi/models/ezsigntemplatepackage_get_autocomplete_v2_response.py +++ b/eZmaxApi/models/ezsigntemplatepackage_get_autocomplete_v2_response.py @@ -18,19 +18,20 @@ import re # noqa: F401 import json -from pydantic import ConfigDict, Field -from typing import Any, ClassVar, Dict, List -from eZmaxApi.models.common_response import CommonResponse +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List, Optional from eZmaxApi.models.common_response_obj_debug import CommonResponseObjDebug from eZmaxApi.models.common_response_obj_debug_payload import CommonResponseObjDebugPayload from eZmaxApi.models.ezsigntemplatepackage_get_autocomplete_v2_response_m_payload import EzsigntemplatepackageGetAutocompleteV2ResponseMPayload from typing import Optional, Set from typing_extensions import Self -class EzsigntemplatepackageGetAutocompleteV2Response(CommonResponse): +class EzsigntemplatepackageGetAutocompleteV2Response(BaseModel): """ Response for GET /2/object/ezsigntemplatepackage/getAutocomplete """ # noqa: E501 + obj_debug_payload: CommonResponseObjDebugPayload = Field(alias="objDebugPayload") + obj_debug: Optional[CommonResponseObjDebug] = Field(default=None, alias="objDebug") m_payload: EzsigntemplatepackageGetAutocompleteV2ResponseMPayload = Field(alias="mPayload") __properties: ClassVar[List[str]] = ["objDebugPayload", "objDebug", "mPayload"] diff --git a/eZmaxApi/models/ezsigntemplatepackage_get_list_v1_response.py b/eZmaxApi/models/ezsigntemplatepackage_get_list_v1_response.py index 123cfd762..e32f8233c 100644 --- a/eZmaxApi/models/ezsigntemplatepackage_get_list_v1_response.py +++ b/eZmaxApi/models/ezsigntemplatepackage_get_list_v1_response.py @@ -18,19 +18,20 @@ import re # noqa: F401 import json -from pydantic import ConfigDict, Field -from typing import Any, ClassVar, Dict, List -from eZmaxApi.models.common_response_get_list import CommonResponseGetList +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List, Optional from eZmaxApi.models.common_response_obj_debug import CommonResponseObjDebug from eZmaxApi.models.common_response_obj_debug_payload_get_list import CommonResponseObjDebugPayloadGetList from eZmaxApi.models.ezsigntemplatepackage_get_list_v1_response_m_payload import EzsigntemplatepackageGetListV1ResponseMPayload from typing import Optional, Set from typing_extensions import Self -class EzsigntemplatepackageGetListV1Response(CommonResponseGetList): +class EzsigntemplatepackageGetListV1Response(BaseModel): """ Response for GET /1/object/ezsigntemplatepackage/getList """ # noqa: E501 + obj_debug_payload: CommonResponseObjDebugPayloadGetList = Field(alias="objDebugPayload") + obj_debug: Optional[CommonResponseObjDebug] = Field(default=None, alias="objDebug") m_payload: EzsigntemplatepackageGetListV1ResponseMPayload = Field(alias="mPayload") __properties: ClassVar[List[str]] = ["objDebugPayload", "objDebug", "mPayload"] diff --git a/eZmaxApi/models/ezsigntemplatepackage_get_list_v1_response_m_payload.py b/eZmaxApi/models/ezsigntemplatepackage_get_list_v1_response_m_payload.py index 59cd7482c..dfe3ca5b0 100644 --- a/eZmaxApi/models/ezsigntemplatepackage_get_list_v1_response_m_payload.py +++ b/eZmaxApi/models/ezsigntemplatepackage_get_list_v1_response_m_payload.py @@ -18,17 +18,18 @@ import re # noqa: F401 import json -from pydantic import ConfigDict, Field +from pydantic import BaseModel, ConfigDict, Field, StrictInt from typing import Any, ClassVar, Dict, List -from eZmaxApi.models.common_get_list_v1_response_m_payload import CommonGetListV1ResponseMPayload from eZmaxApi.models.ezsigntemplatepackage_list_element import EzsigntemplatepackageListElement from typing import Optional, Set from typing_extensions import Self -class EzsigntemplatepackageGetListV1ResponseMPayload(CommonGetListV1ResponseMPayload): +class EzsigntemplatepackageGetListV1ResponseMPayload(BaseModel): """ Payload for GET /1/object/ezsigntemplatepackage/getList """ # noqa: E501 + i_row_returned: StrictInt = Field(description="The number of rows returned", alias="iRowReturned") + i_row_filtered: StrictInt = Field(description="The number of rows matching your filters (if any) or the total number of rows", alias="iRowFiltered") a_obj_ezsigntemplatepackage: List[EzsigntemplatepackageListElement] = Field(alias="a_objEzsigntemplatepackage") __properties: ClassVar[List[str]] = ["iRowReturned", "iRowFiltered", "a_objEzsigntemplatepackage"] diff --git a/eZmaxApi/models/ezsigntemplatepackage_get_object_v2_response.py b/eZmaxApi/models/ezsigntemplatepackage_get_object_v2_response.py index 216e7b6be..7e97a2b90 100644 --- a/eZmaxApi/models/ezsigntemplatepackage_get_object_v2_response.py +++ b/eZmaxApi/models/ezsigntemplatepackage_get_object_v2_response.py @@ -18,19 +18,20 @@ import re # noqa: F401 import json -from pydantic import ConfigDict, Field -from typing import Any, ClassVar, Dict, List -from eZmaxApi.models.common_response import CommonResponse +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List, Optional from eZmaxApi.models.common_response_obj_debug import CommonResponseObjDebug from eZmaxApi.models.common_response_obj_debug_payload import CommonResponseObjDebugPayload from eZmaxApi.models.ezsigntemplatepackage_get_object_v2_response_m_payload import EzsigntemplatepackageGetObjectV2ResponseMPayload from typing import Optional, Set from typing_extensions import Self -class EzsigntemplatepackageGetObjectV2Response(CommonResponse): +class EzsigntemplatepackageGetObjectV2Response(BaseModel): """ Response for GET /2/object/ezsigntemplatepackage/{pkiEzsigntemplatepackageID} """ # noqa: E501 + obj_debug_payload: CommonResponseObjDebugPayload = Field(alias="objDebugPayload") + obj_debug: Optional[CommonResponseObjDebug] = Field(default=None, alias="objDebug") m_payload: EzsigntemplatepackageGetObjectV2ResponseMPayload = Field(alias="mPayload") __properties: ClassVar[List[str]] = ["objDebugPayload", "objDebug", "mPayload"] diff --git a/eZmaxApi/models/ezsigntemplatepackage_request.py b/eZmaxApi/models/ezsigntemplatepackage_request.py index e79a06194..ca5352164 100644 --- a/eZmaxApi/models/ezsigntemplatepackage_request.py +++ b/eZmaxApi/models/ezsigntemplatepackage_request.py @@ -86,7 +86,23 @@ def to_dict(self) -> Dict[str, Any]: return _dict @classmethod - def from_dict(cls, obj: Dict[str, Any]) -> Optional[Self]: + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: """Create an instance of EzsigntemplatepackageRequest from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "pkiEzsigntemplatepackageID": obj.get("pkiEzsigntemplatepackageID"), + "fkiEzsignfoldertypeID": obj.get("fkiEzsignfoldertypeID"), + "fkiEzdoctemplatedocumentID": obj.get("fkiEzdoctemplatedocumentID"), + "fkiLanguageID": obj.get("fkiLanguageID"), + "sEzsigntemplatepackageDescription": obj.get("sEzsigntemplatepackageDescription"), + "bEzsigntemplatepackageAdminonly": obj.get("bEzsigntemplatepackageAdminonly"), + "bEzsigntemplatepackageIsactive": obj.get("bEzsigntemplatepackageIsactive") + }) + return _obj diff --git a/eZmaxApi/models/ezsigntemplatepackage_request_compound.py b/eZmaxApi/models/ezsigntemplatepackage_request_compound.py index 9acd29bd0..dfb1dc410 100644 --- a/eZmaxApi/models/ezsigntemplatepackage_request_compound.py +++ b/eZmaxApi/models/ezsigntemplatepackage_request_compound.py @@ -18,18 +18,32 @@ import re # noqa: F401 import json -from pydantic import ConfigDict -from typing import Any, ClassVar, Dict, List -from eZmaxApi.models.ezsigntemplatepackage_request import EzsigntemplatepackageRequest +from pydantic import BaseModel, ConfigDict, Field, StrictBool, field_validator +from typing import Any, ClassVar, Dict, List, Optional +from typing_extensions import Annotated from typing import Optional, Set from typing_extensions import Self -class EzsigntemplatepackageRequestCompound(EzsigntemplatepackageRequest): +class EzsigntemplatepackageRequestCompound(BaseModel): """ A Ezsigntemplatepackage Object and children """ # noqa: E501 + pki_ezsigntemplatepackage_id: Optional[Annotated[int, Field(strict=True, ge=0)]] = Field(default=None, description="The unique ID of the Ezsigntemplatepackage", alias="pkiEzsigntemplatepackageID") + fki_ezsignfoldertype_id: Annotated[int, Field(le=65535, strict=True, ge=0)] = Field(description="The unique ID of the Ezsignfoldertype.", alias="fkiEzsignfoldertypeID") + fki_ezdoctemplatedocument_id: Optional[Annotated[int, Field(le=65535, strict=True, ge=0)]] = Field(default=None, description="The unique ID of the Ezdoctemplatedocument", alias="fkiEzdoctemplatedocumentID") + fki_language_id: Annotated[int, Field(le=2, strict=True, ge=1)] = Field(description="The unique ID of the Language. Valid values: |Value|Description| |-|-| |1|French| |2|English|", alias="fkiLanguageID") + s_ezsigntemplatepackage_description: Annotated[str, Field(strict=True)] = Field(description="The description of the Ezsigntemplatepackage", alias="sEzsigntemplatepackageDescription") + b_ezsigntemplatepackage_adminonly: StrictBool = Field(description="Whether the Ezsigntemplatepackage can be accessed by admin users only (eUserType=Normal)", alias="bEzsigntemplatepackageAdminonly") + b_ezsigntemplatepackage_isactive: StrictBool = Field(description="Whether the Ezsigntemplatepackage is active or not", alias="bEzsigntemplatepackageIsactive") __properties: ClassVar[List[str]] = ["pkiEzsigntemplatepackageID", "fkiEzsignfoldertypeID", "fkiEzdoctemplatedocumentID", "fkiLanguageID", "sEzsigntemplatepackageDescription", "bEzsigntemplatepackageAdminonly", "bEzsigntemplatepackageIsactive"] + @field_validator('s_ezsigntemplatepackage_description') + def s_ezsigntemplatepackage_description_validate_regular_expression(cls, value): + """Validates the regular expression""" + if not re.match(r"^.{0,80}$", value): + raise ValueError(r"must validate the regular expression /^.{0,80}$/") + return value + model_config = ConfigDict( populate_by_name=True, validate_assignment=True, diff --git a/eZmaxApi/models/ezsigntemplatepackage_response.py b/eZmaxApi/models/ezsigntemplatepackage_response.py index 3995a318c..a11e160b3 100644 --- a/eZmaxApi/models/ezsigntemplatepackage_response.py +++ b/eZmaxApi/models/ezsigntemplatepackage_response.py @@ -101,7 +101,28 @@ def to_dict(self) -> Dict[str, Any]: return _dict @classmethod - def from_dict(cls, obj: Dict[str, Any]) -> Optional[Self]: + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: """Create an instance of EzsigntemplatepackageResponse from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "pkiEzsigntemplatepackageID": obj.get("pkiEzsigntemplatepackageID"), + "fkiEzsignfoldertypeID": obj.get("fkiEzsignfoldertypeID"), + "fkiEzdoctemplatedocumentID": obj.get("fkiEzdoctemplatedocumentID"), + "fkiLanguageID": obj.get("fkiLanguageID"), + "sEzdoctemplatedocumentNameX": obj.get("sEzdoctemplatedocumentNameX"), + "sLanguageNameX": obj.get("sLanguageNameX"), + "sEzsigntemplatepackageDescription": obj.get("sEzsigntemplatepackageDescription"), + "bEzsigntemplatepackageAdminonly": obj.get("bEzsigntemplatepackageAdminonly"), + "bEzsigntemplatepackageNeedvalidation": obj.get("bEzsigntemplatepackageNeedvalidation"), + "bEzsigntemplatepackageIsactive": obj.get("bEzsigntemplatepackageIsactive"), + "sEzsignfoldertypeNameX": obj.get("sEzsignfoldertypeNameX"), + "bEzsigntemplatepackageEditallowed": obj.get("bEzsigntemplatepackageEditallowed") + }) + return _obj diff --git a/eZmaxApi/models/ezsigntemplatepackage_response_compound.py b/eZmaxApi/models/ezsigntemplatepackage_response_compound.py index b9d7d74a2..e9d205b09 100644 --- a/eZmaxApi/models/ezsigntemplatepackage_response_compound.py +++ b/eZmaxApi/models/ezsigntemplatepackage_response_compound.py @@ -18,22 +18,51 @@ import re # noqa: F401 import json -from pydantic import ConfigDict, Field -from typing import Any, ClassVar, Dict, List -from eZmaxApi.models.ezsigntemplatepackage_response import EzsigntemplatepackageResponse +from pydantic import BaseModel, ConfigDict, Field, StrictBool, StrictStr, field_validator +from typing import Any, ClassVar, Dict, List, Optional +from typing_extensions import Annotated from eZmaxApi.models.ezsigntemplatepackagemembership_response_compound import EzsigntemplatepackagemembershipResponseCompound from eZmaxApi.models.ezsigntemplatepackagesigner_response_compound import EzsigntemplatepackagesignerResponseCompound from typing import Optional, Set from typing_extensions import Self -class EzsigntemplatepackageResponseCompound(EzsigntemplatepackageResponse): +class EzsigntemplatepackageResponseCompound(BaseModel): """ A Ezsigntemplatepackage Object """ # noqa: E501 + pki_ezsigntemplatepackage_id: Annotated[int, Field(strict=True, ge=0)] = Field(description="The unique ID of the Ezsigntemplatepackage", alias="pkiEzsigntemplatepackageID") + fki_ezsignfoldertype_id: Annotated[int, Field(le=65535, strict=True, ge=0)] = Field(description="The unique ID of the Ezsignfoldertype.", alias="fkiEzsignfoldertypeID") + fki_ezdoctemplatedocument_id: Optional[Annotated[int, Field(le=65535, strict=True, ge=0)]] = Field(default=None, description="The unique ID of the Ezdoctemplatedocument", alias="fkiEzdoctemplatedocumentID") + fki_language_id: Annotated[int, Field(le=2, strict=True, ge=1)] = Field(description="The unique ID of the Language. Valid values: |Value|Description| |-|-| |1|French| |2|English|", alias="fkiLanguageID") + s_ezdoctemplatedocument_name_x: Optional[Annotated[str, Field(strict=True)]] = Field(default=None, description="The name of the Ezdoctemplatedocument in the language of the requester", alias="sEzdoctemplatedocumentNameX") + s_language_name_x: StrictStr = Field(description="The Name of the Language in the language of the requester", alias="sLanguageNameX") + s_ezsigntemplatepackage_description: Annotated[str, Field(strict=True)] = Field(description="The description of the Ezsigntemplatepackage", alias="sEzsigntemplatepackageDescription") + b_ezsigntemplatepackage_adminonly: StrictBool = Field(description="Whether the Ezsigntemplatepackage can be accessed by admin users only (eUserType=Normal)", alias="bEzsigntemplatepackageAdminonly") + b_ezsigntemplatepackage_needvalidation: StrictBool = Field(description="Whether the Ezsignbulksend was automatically modified and needs a manual validation", alias="bEzsigntemplatepackageNeedvalidation") + b_ezsigntemplatepackage_isactive: StrictBool = Field(description="Whether the Ezsigntemplatepackage is active or not", alias="bEzsigntemplatepackageIsactive") + s_ezsignfoldertype_name_x: StrictStr = Field(description="The name of the Ezsignfoldertype in the language of the requester", alias="sEzsignfoldertypeNameX") + b_ezsigntemplatepackage_editallowed: StrictBool = Field(description="Whether the Ezsigntemplatepackage if allowed to edit or not", alias="bEzsigntemplatepackageEditallowed") a_obj_ezsigntemplatepackagesigner: List[EzsigntemplatepackagesignerResponseCompound] = Field(alias="a_objEzsigntemplatepackagesigner") a_obj_ezsigntemplatepackagemembership: List[EzsigntemplatepackagemembershipResponseCompound] = Field(alias="a_objEzsigntemplatepackagemembership") __properties: ClassVar[List[str]] = ["pkiEzsigntemplatepackageID", "fkiEzsignfoldertypeID", "fkiEzdoctemplatedocumentID", "fkiLanguageID", "sEzdoctemplatedocumentNameX", "sLanguageNameX", "sEzsigntemplatepackageDescription", "bEzsigntemplatepackageAdminonly", "bEzsigntemplatepackageNeedvalidation", "bEzsigntemplatepackageIsactive", "sEzsignfoldertypeNameX", "bEzsigntemplatepackageEditallowed", "a_objEzsigntemplatepackagesigner", "a_objEzsigntemplatepackagemembership"] + @field_validator('s_ezdoctemplatedocument_name_x') + def s_ezdoctemplatedocument_name_x_validate_regular_expression(cls, value): + """Validates the regular expression""" + if value is None: + return value + + if not re.match(r"^.{0,50}$", value): + raise ValueError(r"must validate the regular expression /^.{0,50}$/") + return value + + @field_validator('s_ezsigntemplatepackage_description') + def s_ezsigntemplatepackage_description_validate_regular_expression(cls, value): + """Validates the regular expression""" + if not re.match(r"^.{0,80}$", value): + raise ValueError(r"must validate the regular expression /^.{0,80}$/") + return value + model_config = ConfigDict( populate_by_name=True, validate_assignment=True, diff --git a/eZmaxApi/models/ezsigntemplatepackagemembership_create_object_v1_response.py b/eZmaxApi/models/ezsigntemplatepackagemembership_create_object_v1_response.py index e650650b4..d5e8c9e99 100644 --- a/eZmaxApi/models/ezsigntemplatepackagemembership_create_object_v1_response.py +++ b/eZmaxApi/models/ezsigntemplatepackagemembership_create_object_v1_response.py @@ -18,19 +18,20 @@ import re # noqa: F401 import json -from pydantic import ConfigDict, Field -from typing import Any, ClassVar, Dict, List -from eZmaxApi.models.common_response import CommonResponse +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List, Optional from eZmaxApi.models.common_response_obj_debug import CommonResponseObjDebug from eZmaxApi.models.common_response_obj_debug_payload import CommonResponseObjDebugPayload from eZmaxApi.models.ezsigntemplatepackagemembership_create_object_v1_response_m_payload import EzsigntemplatepackagemembershipCreateObjectV1ResponseMPayload from typing import Optional, Set from typing_extensions import Self -class EzsigntemplatepackagemembershipCreateObjectV1Response(CommonResponse): +class EzsigntemplatepackagemembershipCreateObjectV1Response(BaseModel): """ Response for POST /1/object/ezsigntemplatepackagemembership """ # noqa: E501 + obj_debug_payload: CommonResponseObjDebugPayload = Field(alias="objDebugPayload") + obj_debug: Optional[CommonResponseObjDebug] = Field(default=None, alias="objDebug") m_payload: EzsigntemplatepackagemembershipCreateObjectV1ResponseMPayload = Field(alias="mPayload") __properties: ClassVar[List[str]] = ["objDebugPayload", "objDebug", "mPayload"] diff --git a/eZmaxApi/models/ezsigntemplatepackagemembership_delete_object_v1_response.py b/eZmaxApi/models/ezsigntemplatepackagemembership_delete_object_v1_response.py index f34a6d126..4edd173c4 100644 --- a/eZmaxApi/models/ezsigntemplatepackagemembership_delete_object_v1_response.py +++ b/eZmaxApi/models/ezsigntemplatepackagemembership_delete_object_v1_response.py @@ -18,18 +18,19 @@ import re # noqa: F401 import json -from pydantic import ConfigDict -from typing import Any, ClassVar, Dict, List -from eZmaxApi.models.common_response import CommonResponse +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List, Optional from eZmaxApi.models.common_response_obj_debug import CommonResponseObjDebug from eZmaxApi.models.common_response_obj_debug_payload import CommonResponseObjDebugPayload from typing import Optional, Set from typing_extensions import Self -class EzsigntemplatepackagemembershipDeleteObjectV1Response(CommonResponse): +class EzsigntemplatepackagemembershipDeleteObjectV1Response(BaseModel): """ Response for DELETE /1/object/ezsigntemplatepackagemembership/{pkiEzsigntemplatepackagemembershipID} """ # noqa: E501 + obj_debug_payload: CommonResponseObjDebugPayload = Field(alias="objDebugPayload") + obj_debug: Optional[CommonResponseObjDebug] = Field(default=None, alias="objDebug") __properties: ClassVar[List[str]] = ["objDebugPayload", "objDebug"] model_config = ConfigDict( diff --git a/eZmaxApi/models/ezsigntemplatepackagemembership_get_object_v2_response.py b/eZmaxApi/models/ezsigntemplatepackagemembership_get_object_v2_response.py index 06210e1eb..9114993cc 100644 --- a/eZmaxApi/models/ezsigntemplatepackagemembership_get_object_v2_response.py +++ b/eZmaxApi/models/ezsigntemplatepackagemembership_get_object_v2_response.py @@ -18,19 +18,20 @@ import re # noqa: F401 import json -from pydantic import ConfigDict, Field -from typing import Any, ClassVar, Dict, List -from eZmaxApi.models.common_response import CommonResponse +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List, Optional from eZmaxApi.models.common_response_obj_debug import CommonResponseObjDebug from eZmaxApi.models.common_response_obj_debug_payload import CommonResponseObjDebugPayload from eZmaxApi.models.ezsigntemplatepackagemembership_get_object_v2_response_m_payload import EzsigntemplatepackagemembershipGetObjectV2ResponseMPayload from typing import Optional, Set from typing_extensions import Self -class EzsigntemplatepackagemembershipGetObjectV2Response(CommonResponse): +class EzsigntemplatepackagemembershipGetObjectV2Response(BaseModel): """ Response for GET /2/object/ezsigntemplatepackagemembership/{pkiEzsigntemplatepackagemembershipID} """ # noqa: E501 + obj_debug_payload: CommonResponseObjDebugPayload = Field(alias="objDebugPayload") + obj_debug: Optional[CommonResponseObjDebug] = Field(default=None, alias="objDebug") m_payload: EzsigntemplatepackagemembershipGetObjectV2ResponseMPayload = Field(alias="mPayload") __properties: ClassVar[List[str]] = ["objDebugPayload", "objDebug", "mPayload"] diff --git a/eZmaxApi/models/ezsigntemplatepackagemembership_request.py b/eZmaxApi/models/ezsigntemplatepackagemembership_request.py index 59f02aa00..a60ef8f35 100644 --- a/eZmaxApi/models/ezsigntemplatepackagemembership_request.py +++ b/eZmaxApi/models/ezsigntemplatepackagemembership_request.py @@ -75,7 +75,19 @@ def to_dict(self) -> Dict[str, Any]: return _dict @classmethod - def from_dict(cls, obj: Dict[str, Any]) -> Optional[Self]: + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: """Create an instance of EzsigntemplatepackagemembershipRequest from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "pkiEzsigntemplatepackagemembershipID": obj.get("pkiEzsigntemplatepackagemembershipID"), + "fkiEzsigntemplatepackageID": obj.get("fkiEzsigntemplatepackageID"), + "fkiEzsigntemplateID": obj.get("fkiEzsigntemplateID") + }) + return _obj diff --git a/eZmaxApi/models/ezsigntemplatepackagemembership_request_compound.py b/eZmaxApi/models/ezsigntemplatepackagemembership_request_compound.py index 62badd786..e2eb1a370 100644 --- a/eZmaxApi/models/ezsigntemplatepackagemembership_request_compound.py +++ b/eZmaxApi/models/ezsigntemplatepackagemembership_request_compound.py @@ -18,16 +18,19 @@ import re # noqa: F401 import json -from pydantic import ConfigDict -from typing import Any, ClassVar, Dict, List -from eZmaxApi.models.ezsigntemplatepackagemembership_request import EzsigntemplatepackagemembershipRequest +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List, Optional +from typing_extensions import Annotated from typing import Optional, Set from typing_extensions import Self -class EzsigntemplatepackagemembershipRequestCompound(EzsigntemplatepackagemembershipRequest): +class EzsigntemplatepackagemembershipRequestCompound(BaseModel): """ A Ezsigntemplatepackagemembership Object and children """ # noqa: E501 + pki_ezsigntemplatepackagemembership_id: Optional[Annotated[int, Field(strict=True, ge=0)]] = Field(default=None, description="The unique ID of the Ezsigntemplatepackagemembership", alias="pkiEzsigntemplatepackagemembershipID") + fki_ezsigntemplatepackage_id: Annotated[int, Field(strict=True, ge=0)] = Field(description="The unique ID of the Ezsigntemplatepackage", alias="fkiEzsigntemplatepackageID") + fki_ezsigntemplate_id: Annotated[int, Field(strict=True, ge=0)] = Field(description="The unique ID of the Ezsigntemplate", alias="fkiEzsigntemplateID") __properties: ClassVar[List[str]] = ["pkiEzsigntemplatepackagemembershipID", "fkiEzsigntemplatepackageID", "fkiEzsigntemplateID"] model_config = ConfigDict( diff --git a/eZmaxApi/models/ezsigntemplatepackagemembership_response.py b/eZmaxApi/models/ezsigntemplatepackagemembership_response.py index a16b2d83e..7a8f2a03c 100644 --- a/eZmaxApi/models/ezsigntemplatepackagemembership_response.py +++ b/eZmaxApi/models/ezsigntemplatepackagemembership_response.py @@ -76,7 +76,20 @@ def to_dict(self) -> Dict[str, Any]: return _dict @classmethod - def from_dict(cls, obj: Dict[str, Any]) -> Optional[Self]: + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: """Create an instance of EzsigntemplatepackagemembershipResponse from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "pkiEzsigntemplatepackagemembershipID": obj.get("pkiEzsigntemplatepackagemembershipID"), + "fkiEzsigntemplatepackageID": obj.get("fkiEzsigntemplatepackageID"), + "fkiEzsigntemplateID": obj.get("fkiEzsigntemplateID"), + "iEzsigntemplatepackagemembershipOrder": obj.get("iEzsigntemplatepackagemembershipOrder") + }) + return _obj diff --git a/eZmaxApi/models/ezsigntemplatepackagemembership_response_compound.py b/eZmaxApi/models/ezsigntemplatepackagemembership_response_compound.py index 4680e0ae2..7eacd1e73 100644 --- a/eZmaxApi/models/ezsigntemplatepackagemembership_response_compound.py +++ b/eZmaxApi/models/ezsigntemplatepackagemembership_response_compound.py @@ -18,18 +18,22 @@ import re # noqa: F401 import json -from pydantic import ConfigDict, Field +from pydantic import BaseModel, ConfigDict, Field from typing import Any, ClassVar, Dict, List +from typing_extensions import Annotated from eZmaxApi.models.ezsigntemplate_response_compound import EzsigntemplateResponseCompound -from eZmaxApi.models.ezsigntemplatepackagemembership_response import EzsigntemplatepackagemembershipResponse from eZmaxApi.models.ezsigntemplatepackagesignermembership_response_compound import EzsigntemplatepackagesignermembershipResponseCompound from typing import Optional, Set from typing_extensions import Self -class EzsigntemplatepackagemembershipResponseCompound(EzsigntemplatepackagemembershipResponse): +class EzsigntemplatepackagemembershipResponseCompound(BaseModel): """ A Ezsigntemplatepackagemembership Object """ # noqa: E501 + pki_ezsigntemplatepackagemembership_id: Annotated[int, Field(strict=True, ge=0)] = Field(description="The unique ID of the Ezsigntemplatepackagemembership", alias="pkiEzsigntemplatepackagemembershipID") + fki_ezsigntemplatepackage_id: Annotated[int, Field(strict=True, ge=0)] = Field(description="The unique ID of the Ezsigntemplatepackage", alias="fkiEzsigntemplatepackageID") + fki_ezsigntemplate_id: Annotated[int, Field(strict=True, ge=0)] = Field(description="The unique ID of the Ezsigntemplate", alias="fkiEzsigntemplateID") + i_ezsigntemplatepackagemembership_order: Annotated[int, Field(strict=True, ge=1)] = Field(description="The order in which the Ezsigntemplate will be imported when using an Ezsigntemplatepackage.", alias="iEzsigntemplatepackagemembershipOrder") obj_ezsigntemplate: EzsigntemplateResponseCompound = Field(alias="objEzsigntemplate") a_obj_ezsigntemplatepackagesignermembership: List[EzsigntemplatepackagesignermembershipResponseCompound] = Field(alias="a_objEzsigntemplatepackagesignermembership") __properties: ClassVar[List[str]] = ["pkiEzsigntemplatepackagemembershipID", "fkiEzsigntemplatepackageID", "fkiEzsigntemplateID", "iEzsigntemplatepackagemembershipOrder", "objEzsigntemplate", "a_objEzsigntemplatepackagesignermembership"] diff --git a/eZmaxApi/models/ezsigntemplatepackagesigner_create_object_v1_response.py b/eZmaxApi/models/ezsigntemplatepackagesigner_create_object_v1_response.py index 9fdd51b4f..363e89104 100644 --- a/eZmaxApi/models/ezsigntemplatepackagesigner_create_object_v1_response.py +++ b/eZmaxApi/models/ezsigntemplatepackagesigner_create_object_v1_response.py @@ -18,19 +18,20 @@ import re # noqa: F401 import json -from pydantic import ConfigDict, Field -from typing import Any, ClassVar, Dict, List -from eZmaxApi.models.common_response import CommonResponse +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List, Optional from eZmaxApi.models.common_response_obj_debug import CommonResponseObjDebug from eZmaxApi.models.common_response_obj_debug_payload import CommonResponseObjDebugPayload from eZmaxApi.models.ezsigntemplatepackagesigner_create_object_v1_response_m_payload import EzsigntemplatepackagesignerCreateObjectV1ResponseMPayload from typing import Optional, Set from typing_extensions import Self -class EzsigntemplatepackagesignerCreateObjectV1Response(CommonResponse): +class EzsigntemplatepackagesignerCreateObjectV1Response(BaseModel): """ Response for POST /1/object/ezsigntemplatepackagesigner """ # noqa: E501 + obj_debug_payload: CommonResponseObjDebugPayload = Field(alias="objDebugPayload") + obj_debug: Optional[CommonResponseObjDebug] = Field(default=None, alias="objDebug") m_payload: EzsigntemplatepackagesignerCreateObjectV1ResponseMPayload = Field(alias="mPayload") __properties: ClassVar[List[str]] = ["objDebugPayload", "objDebug", "mPayload"] diff --git a/eZmaxApi/models/ezsigntemplatepackagesigner_delete_object_v1_response.py b/eZmaxApi/models/ezsigntemplatepackagesigner_delete_object_v1_response.py index ca2d20b9c..f15b779c3 100644 --- a/eZmaxApi/models/ezsigntemplatepackagesigner_delete_object_v1_response.py +++ b/eZmaxApi/models/ezsigntemplatepackagesigner_delete_object_v1_response.py @@ -18,19 +18,20 @@ import re # noqa: F401 import json -from pydantic import ConfigDict, Field -from typing import Any, ClassVar, Dict, List -from eZmaxApi.models.common_response import CommonResponse +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List, Optional from eZmaxApi.models.common_response_obj_debug import CommonResponseObjDebug from eZmaxApi.models.common_response_obj_debug_payload import CommonResponseObjDebugPayload from eZmaxApi.models.ezsigntemplatepackagesigner_delete_object_v1_response_m_payload import EzsigntemplatepackagesignerDeleteObjectV1ResponseMPayload from typing import Optional, Set from typing_extensions import Self -class EzsigntemplatepackagesignerDeleteObjectV1Response(CommonResponse): +class EzsigntemplatepackagesignerDeleteObjectV1Response(BaseModel): """ Response for DELETE /1/object/ezsigntemplatepackagesigner/{pkiEzsigntemplatepackagesignerID} """ # noqa: E501 + obj_debug_payload: CommonResponseObjDebugPayload = Field(alias="objDebugPayload") + obj_debug: Optional[CommonResponseObjDebug] = Field(default=None, alias="objDebug") m_payload: EzsigntemplatepackagesignerDeleteObjectV1ResponseMPayload = Field(alias="mPayload") __properties: ClassVar[List[str]] = ["objDebugPayload", "objDebug", "mPayload"] diff --git a/eZmaxApi/models/ezsigntemplatepackagesigner_edit_object_v1_response.py b/eZmaxApi/models/ezsigntemplatepackagesigner_edit_object_v1_response.py index 21c08638b..30041ebce 100644 --- a/eZmaxApi/models/ezsigntemplatepackagesigner_edit_object_v1_response.py +++ b/eZmaxApi/models/ezsigntemplatepackagesigner_edit_object_v1_response.py @@ -18,18 +18,19 @@ import re # noqa: F401 import json -from pydantic import ConfigDict -from typing import Any, ClassVar, Dict, List -from eZmaxApi.models.common_response import CommonResponse +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List, Optional from eZmaxApi.models.common_response_obj_debug import CommonResponseObjDebug from eZmaxApi.models.common_response_obj_debug_payload import CommonResponseObjDebugPayload from typing import Optional, Set from typing_extensions import Self -class EzsigntemplatepackagesignerEditObjectV1Response(CommonResponse): +class EzsigntemplatepackagesignerEditObjectV1Response(BaseModel): """ Response for PUT /1/object/ezsigntemplatepackagesigner/{pkiEzsigntemplatepackagesignerID} """ # noqa: E501 + obj_debug_payload: CommonResponseObjDebugPayload = Field(alias="objDebugPayload") + obj_debug: Optional[CommonResponseObjDebug] = Field(default=None, alias="objDebug") __properties: ClassVar[List[str]] = ["objDebugPayload", "objDebug"] model_config = ConfigDict( diff --git a/eZmaxApi/models/ezsigntemplatepackagesigner_get_object_v2_response.py b/eZmaxApi/models/ezsigntemplatepackagesigner_get_object_v2_response.py index f7af2056a..77f72e03a 100644 --- a/eZmaxApi/models/ezsigntemplatepackagesigner_get_object_v2_response.py +++ b/eZmaxApi/models/ezsigntemplatepackagesigner_get_object_v2_response.py @@ -18,19 +18,20 @@ import re # noqa: F401 import json -from pydantic import ConfigDict, Field -from typing import Any, ClassVar, Dict, List -from eZmaxApi.models.common_response import CommonResponse +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List, Optional from eZmaxApi.models.common_response_obj_debug import CommonResponseObjDebug from eZmaxApi.models.common_response_obj_debug_payload import CommonResponseObjDebugPayload from eZmaxApi.models.ezsigntemplatepackagesigner_get_object_v2_response_m_payload import EzsigntemplatepackagesignerGetObjectV2ResponseMPayload from typing import Optional, Set from typing_extensions import Self -class EzsigntemplatepackagesignerGetObjectV2Response(CommonResponse): +class EzsigntemplatepackagesignerGetObjectV2Response(BaseModel): """ Response for GET /2/object/ezsigntemplatepackagesigner/{pkiEzsigntemplatepackagesignerID} """ # noqa: E501 + obj_debug_payload: CommonResponseObjDebugPayload = Field(alias="objDebugPayload") + obj_debug: Optional[CommonResponseObjDebug] = Field(default=None, alias="objDebug") m_payload: EzsigntemplatepackagesignerGetObjectV2ResponseMPayload = Field(alias="mPayload") __properties: ClassVar[List[str]] = ["objDebugPayload", "objDebug", "mPayload"] diff --git a/eZmaxApi/models/ezsigntemplatepackagesigner_request.py b/eZmaxApi/models/ezsigntemplatepackagesigner_request.py index 6d37183ea..f86d7e988 100644 --- a/eZmaxApi/models/ezsigntemplatepackagesigner_request.py +++ b/eZmaxApi/models/ezsigntemplatepackagesigner_request.py @@ -81,7 +81,24 @@ def to_dict(self) -> Dict[str, Any]: return _dict @classmethod - def from_dict(cls, obj: Dict[str, Any]) -> Optional[Self]: + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: """Create an instance of EzsigntemplatepackagesignerRequest from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "pkiEzsigntemplatepackagesignerID": obj.get("pkiEzsigntemplatepackagesignerID"), + "fkiEzsigntemplatepackageID": obj.get("fkiEzsigntemplatepackageID"), + "fkiEzdoctemplatedocumentID": obj.get("fkiEzdoctemplatedocumentID"), + "fkiUserID": obj.get("fkiUserID"), + "fkiUsergroupID": obj.get("fkiUsergroupID"), + "bEzsigntemplatepackagesignerReceivecopy": obj.get("bEzsigntemplatepackagesignerReceivecopy"), + "eEzsigntemplatepackagesignerMapping": obj.get("eEzsigntemplatepackagesignerMapping") if obj.get("eEzsigntemplatepackagesignerMapping") is not None else FieldEEzsigntemplatepackagesignerMapping.MANUAL, + "sEzsigntemplatepackagesignerDescription": obj.get("sEzsigntemplatepackagesignerDescription") + }) + return _obj diff --git a/eZmaxApi/models/ezsigntemplatepackagesigner_request_compound.py b/eZmaxApi/models/ezsigntemplatepackagesigner_request_compound.py index e94476248..e01ee86f2 100644 --- a/eZmaxApi/models/ezsigntemplatepackagesigner_request_compound.py +++ b/eZmaxApi/models/ezsigntemplatepackagesigner_request_compound.py @@ -18,17 +18,25 @@ import re # noqa: F401 import json -from pydantic import ConfigDict -from typing import Any, ClassVar, Dict, List -from eZmaxApi.models.ezsigntemplatepackagesigner_request import EzsigntemplatepackagesignerRequest +from pydantic import BaseModel, ConfigDict, Field, StrictBool, StrictStr +from typing import Any, ClassVar, Dict, List, Optional +from typing_extensions import Annotated from eZmaxApi.models.field_e_ezsigntemplatepackagesigner_mapping import FieldEEzsigntemplatepackagesignerMapping from typing import Optional, Set from typing_extensions import Self -class EzsigntemplatepackagesignerRequestCompound(EzsigntemplatepackagesignerRequest): +class EzsigntemplatepackagesignerRequestCompound(BaseModel): """ A Ezsigntemplatepackagesigner Object and children """ # noqa: E501 + pki_ezsigntemplatepackagesigner_id: Optional[Annotated[int, Field(strict=True, ge=0)]] = Field(default=None, description="The unique ID of the Ezsigntemplatepackagesigner", alias="pkiEzsigntemplatepackagesignerID") + fki_ezsigntemplatepackage_id: Annotated[int, Field(strict=True, ge=0)] = Field(description="The unique ID of the Ezsigntemplatepackage", alias="fkiEzsigntemplatepackageID") + fki_ezdoctemplatedocument_id: Optional[Annotated[int, Field(le=65535, strict=True, ge=0)]] = Field(default=None, description="The unique ID of the Ezdoctemplatedocument", alias="fkiEzdoctemplatedocumentID") + fki_user_id: Optional[Annotated[int, Field(strict=True, ge=0)]] = Field(default=None, description="The unique ID of the User", alias="fkiUserID") + fki_usergroup_id: Optional[Annotated[int, Field(le=255, strict=True, ge=0)]] = Field(default=None, description="The unique ID of the Usergroup", alias="fkiUsergroupID") + b_ezsigntemplatepackagesigner_receivecopy: Optional[StrictBool] = Field(default=None, description="If this flag is true. The signatory will receive a copy of every signed Ezsigndocument even if it ain't required to sign the document.", alias="bEzsigntemplatepackagesignerReceivecopy") + e_ezsigntemplatepackagesigner_mapping: Optional[FieldEEzsigntemplatepackagesignerMapping] = Field(default=FieldEEzsigntemplatepackagesignerMapping.MANUAL, alias="eEzsigntemplatepackagesignerMapping") + s_ezsigntemplatepackagesigner_description: StrictStr = Field(description="The description of the Ezsigntemplatepackagesigner", alias="sEzsigntemplatepackagesignerDescription") __properties: ClassVar[List[str]] = ["pkiEzsigntemplatepackagesignerID", "fkiEzsigntemplatepackageID", "fkiEzdoctemplatedocumentID", "fkiUserID", "fkiUsergroupID", "bEzsigntemplatepackagesignerReceivecopy", "eEzsigntemplatepackagesignerMapping", "sEzsigntemplatepackagesignerDescription"] model_config = ConfigDict( diff --git a/eZmaxApi/models/ezsigntemplatepackagesigner_response.py b/eZmaxApi/models/ezsigntemplatepackagesigner_response.py index 84592fe6a..d8fee7997 100644 --- a/eZmaxApi/models/ezsigntemplatepackagesigner_response.py +++ b/eZmaxApi/models/ezsigntemplatepackagesigner_response.py @@ -104,7 +104,27 @@ def to_dict(self) -> Dict[str, Any]: return _dict @classmethod - def from_dict(cls, obj: Dict[str, Any]) -> Optional[Self]: + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: """Create an instance of EzsigntemplatepackagesignerResponse from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "pkiEzsigntemplatepackagesignerID": obj.get("pkiEzsigntemplatepackagesignerID"), + "fkiEzsigntemplatepackageID": obj.get("fkiEzsigntemplatepackageID"), + "fkiEzdoctemplatedocumentID": obj.get("fkiEzdoctemplatedocumentID"), + "fkiUserID": obj.get("fkiUserID"), + "fkiUsergroupID": obj.get("fkiUsergroupID"), + "sEzdoctemplatedocumentNameX": obj.get("sEzdoctemplatedocumentNameX"), + "bEzsigntemplatepackagesignerReceivecopy": obj.get("bEzsigntemplatepackagesignerReceivecopy"), + "eEzsigntemplatepackagesignerMapping": obj.get("eEzsigntemplatepackagesignerMapping") if obj.get("eEzsigntemplatepackagesignerMapping") is not None else FieldEEzsigntemplatepackagesignerMapping.MANUAL, + "sEzsigntemplatepackagesignerDescription": obj.get("sEzsigntemplatepackagesignerDescription"), + "sUserName": obj.get("sUserName"), + "sUsergroupNameX": obj.get("sUsergroupNameX") + }) + return _obj diff --git a/eZmaxApi/models/ezsigntemplatepackagesigner_response_compound.py b/eZmaxApi/models/ezsigntemplatepackagesigner_response_compound.py index 5ec3d6c63..bfa1be448 100644 --- a/eZmaxApi/models/ezsigntemplatepackagesigner_response_compound.py +++ b/eZmaxApi/models/ezsigntemplatepackagesigner_response_compound.py @@ -18,19 +18,50 @@ import re # noqa: F401 import json -from pydantic import ConfigDict -from typing import Any, ClassVar, Dict, List -from eZmaxApi.models.ezsigntemplatepackagesigner_response import EzsigntemplatepackagesignerResponse +from pydantic import BaseModel, ConfigDict, Field, StrictBool, StrictStr, field_validator +from typing import Any, ClassVar, Dict, List, Optional +from typing_extensions import Annotated from eZmaxApi.models.field_e_ezsigntemplatepackagesigner_mapping import FieldEEzsigntemplatepackagesignerMapping from typing import Optional, Set from typing_extensions import Self -class EzsigntemplatepackagesignerResponseCompound(EzsigntemplatepackagesignerResponse): +class EzsigntemplatepackagesignerResponseCompound(BaseModel): """ A Ezsigntemplatepackagesigner Object """ # noqa: E501 + pki_ezsigntemplatepackagesigner_id: Annotated[int, Field(strict=True, ge=0)] = Field(description="The unique ID of the Ezsigntemplatepackagesigner", alias="pkiEzsigntemplatepackagesignerID") + fki_ezsigntemplatepackage_id: Annotated[int, Field(strict=True, ge=0)] = Field(description="The unique ID of the Ezsigntemplatepackage", alias="fkiEzsigntemplatepackageID") + fki_ezdoctemplatedocument_id: Optional[Annotated[int, Field(le=65535, strict=True, ge=0)]] = Field(default=None, description="The unique ID of the Ezdoctemplatedocument", alias="fkiEzdoctemplatedocumentID") + fki_user_id: Optional[Annotated[int, Field(strict=True, ge=0)]] = Field(default=None, description="The unique ID of the User", alias="fkiUserID") + fki_usergroup_id: Optional[Annotated[int, Field(le=255, strict=True, ge=0)]] = Field(default=None, description="The unique ID of the Usergroup", alias="fkiUsergroupID") + s_ezdoctemplatedocument_name_x: Optional[Annotated[str, Field(strict=True)]] = Field(default=None, description="The name of the Ezdoctemplatedocument in the language of the requester", alias="sEzdoctemplatedocumentNameX") + b_ezsigntemplatepackagesigner_receivecopy: Optional[StrictBool] = Field(default=None, description="If this flag is true. The signatory will receive a copy of every signed Ezsigndocument even if it ain't required to sign the document.", alias="bEzsigntemplatepackagesignerReceivecopy") + e_ezsigntemplatepackagesigner_mapping: Optional[FieldEEzsigntemplatepackagesignerMapping] = Field(default=FieldEEzsigntemplatepackagesignerMapping.MANUAL, alias="eEzsigntemplatepackagesignerMapping") + s_ezsigntemplatepackagesigner_description: StrictStr = Field(description="The description of the Ezsigntemplatepackagesigner", alias="sEzsigntemplatepackagesignerDescription") + s_user_name: Optional[StrictStr] = Field(default=None, description="The description of the User in the language of the requester", alias="sUserName") + s_usergroup_name_x: Optional[Annotated[str, Field(strict=True)]] = Field(default=None, description="The Name of the Usergroup in the language of the requester", alias="sUsergroupNameX") __properties: ClassVar[List[str]] = ["pkiEzsigntemplatepackagesignerID", "fkiEzsigntemplatepackageID", "fkiEzdoctemplatedocumentID", "fkiUserID", "fkiUsergroupID", "sEzdoctemplatedocumentNameX", "bEzsigntemplatepackagesignerReceivecopy", "eEzsigntemplatepackagesignerMapping", "sEzsigntemplatepackagesignerDescription", "sUserName", "sUsergroupNameX"] + @field_validator('s_ezdoctemplatedocument_name_x') + def s_ezdoctemplatedocument_name_x_validate_regular_expression(cls, value): + """Validates the regular expression""" + if value is None: + return value + + if not re.match(r"^.{0,50}$", value): + raise ValueError(r"must validate the regular expression /^.{0,50}$/") + return value + + @field_validator('s_usergroup_name_x') + def s_usergroup_name_x_validate_regular_expression(cls, value): + """Validates the regular expression""" + if value is None: + return value + + if not re.match(r"^.{0,50}$", value): + raise ValueError(r"must validate the regular expression /^.{0,50}$/") + return value + model_config = ConfigDict( populate_by_name=True, validate_assignment=True, diff --git a/eZmaxApi/models/ezsigntemplatepackagesignermembership_create_object_v1_response.py b/eZmaxApi/models/ezsigntemplatepackagesignermembership_create_object_v1_response.py index 46223035d..eee89ae0b 100644 --- a/eZmaxApi/models/ezsigntemplatepackagesignermembership_create_object_v1_response.py +++ b/eZmaxApi/models/ezsigntemplatepackagesignermembership_create_object_v1_response.py @@ -18,19 +18,20 @@ import re # noqa: F401 import json -from pydantic import ConfigDict, Field -from typing import Any, ClassVar, Dict, List -from eZmaxApi.models.common_response import CommonResponse +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List, Optional from eZmaxApi.models.common_response_obj_debug import CommonResponseObjDebug from eZmaxApi.models.common_response_obj_debug_payload import CommonResponseObjDebugPayload from eZmaxApi.models.ezsigntemplatepackagesignermembership_create_object_v1_response_m_payload import EzsigntemplatepackagesignermembershipCreateObjectV1ResponseMPayload from typing import Optional, Set from typing_extensions import Self -class EzsigntemplatepackagesignermembershipCreateObjectV1Response(CommonResponse): +class EzsigntemplatepackagesignermembershipCreateObjectV1Response(BaseModel): """ Response for POST /1/object/ezsigntemplatepackagesignermembership """ # noqa: E501 + obj_debug_payload: CommonResponseObjDebugPayload = Field(alias="objDebugPayload") + obj_debug: Optional[CommonResponseObjDebug] = Field(default=None, alias="objDebug") m_payload: EzsigntemplatepackagesignermembershipCreateObjectV1ResponseMPayload = Field(alias="mPayload") __properties: ClassVar[List[str]] = ["objDebugPayload", "objDebug", "mPayload"] diff --git a/eZmaxApi/models/ezsigntemplatepackagesignermembership_delete_object_v1_response.py b/eZmaxApi/models/ezsigntemplatepackagesignermembership_delete_object_v1_response.py index ad2d8f3e8..8ae0ee5bf 100644 --- a/eZmaxApi/models/ezsigntemplatepackagesignermembership_delete_object_v1_response.py +++ b/eZmaxApi/models/ezsigntemplatepackagesignermembership_delete_object_v1_response.py @@ -18,19 +18,20 @@ import re # noqa: F401 import json -from pydantic import ConfigDict, Field -from typing import Any, ClassVar, Dict, List -from eZmaxApi.models.common_response import CommonResponse +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List, Optional from eZmaxApi.models.common_response_obj_debug import CommonResponseObjDebug from eZmaxApi.models.common_response_obj_debug_payload import CommonResponseObjDebugPayload from eZmaxApi.models.ezsigntemplatepackagesignermembership_delete_object_v1_response_m_payload import EzsigntemplatepackagesignermembershipDeleteObjectV1ResponseMPayload from typing import Optional, Set from typing_extensions import Self -class EzsigntemplatepackagesignermembershipDeleteObjectV1Response(CommonResponse): +class EzsigntemplatepackagesignermembershipDeleteObjectV1Response(BaseModel): """ Response for DELETE /1/object/ezsigntemplatepackagesignermembership/{pkiEzsigntemplatepackagesignermembershipID} """ # noqa: E501 + obj_debug_payload: CommonResponseObjDebugPayload = Field(alias="objDebugPayload") + obj_debug: Optional[CommonResponseObjDebug] = Field(default=None, alias="objDebug") m_payload: EzsigntemplatepackagesignermembershipDeleteObjectV1ResponseMPayload = Field(alias="mPayload") __properties: ClassVar[List[str]] = ["objDebugPayload", "objDebug", "mPayload"] diff --git a/eZmaxApi/models/ezsigntemplatepackagesignermembership_get_object_v2_response.py b/eZmaxApi/models/ezsigntemplatepackagesignermembership_get_object_v2_response.py index 7fca2147b..4741278af 100644 --- a/eZmaxApi/models/ezsigntemplatepackagesignermembership_get_object_v2_response.py +++ b/eZmaxApi/models/ezsigntemplatepackagesignermembership_get_object_v2_response.py @@ -18,19 +18,20 @@ import re # noqa: F401 import json -from pydantic import ConfigDict, Field -from typing import Any, ClassVar, Dict, List -from eZmaxApi.models.common_response import CommonResponse +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List, Optional from eZmaxApi.models.common_response_obj_debug import CommonResponseObjDebug from eZmaxApi.models.common_response_obj_debug_payload import CommonResponseObjDebugPayload from eZmaxApi.models.ezsigntemplatepackagesignermembership_get_object_v2_response_m_payload import EzsigntemplatepackagesignermembershipGetObjectV2ResponseMPayload from typing import Optional, Set from typing_extensions import Self -class EzsigntemplatepackagesignermembershipGetObjectV2Response(CommonResponse): +class EzsigntemplatepackagesignermembershipGetObjectV2Response(BaseModel): """ Response for GET /2/object/ezsigntemplatepackagesignermembership/{pkiEzsigntemplatepackagesignermembershipID} """ # noqa: E501 + obj_debug_payload: CommonResponseObjDebugPayload = Field(alias="objDebugPayload") + obj_debug: Optional[CommonResponseObjDebug] = Field(default=None, alias="objDebug") m_payload: EzsigntemplatepackagesignermembershipGetObjectV2ResponseMPayload = Field(alias="mPayload") __properties: ClassVar[List[str]] = ["objDebugPayload", "objDebug", "mPayload"] diff --git a/eZmaxApi/models/ezsigntemplatepackagesignermembership_request.py b/eZmaxApi/models/ezsigntemplatepackagesignermembership_request.py index 6e0fff49c..73b638e0c 100644 --- a/eZmaxApi/models/ezsigntemplatepackagesignermembership_request.py +++ b/eZmaxApi/models/ezsigntemplatepackagesignermembership_request.py @@ -77,7 +77,21 @@ def to_dict(self) -> Dict[str, Any]: return _dict @classmethod - def from_dict(cls, obj: Dict[str, Any]) -> Optional[Self]: + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: """Create an instance of EzsigntemplatepackagesignermembershipRequest from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "pkiEzsigntemplatepackagesignermembershipID": obj.get("pkiEzsigntemplatepackagesignermembershipID"), + "fkiEzsigntemplatepackagemembershipID": obj.get("fkiEzsigntemplatepackagemembershipID"), + "fkiEzsigntemplatepackagesignerID": obj.get("fkiEzsigntemplatepackagesignerID"), + "fkiEzsigntemplatesignerID": obj.get("fkiEzsigntemplatesignerID"), + "iEzsigntemplatepackagesignermembershipCopy": obj.get("iEzsigntemplatepackagesignermembershipCopy") + }) + return _obj diff --git a/eZmaxApi/models/ezsigntemplatepackagesignermembership_request_compound.py b/eZmaxApi/models/ezsigntemplatepackagesignermembership_request_compound.py index 92267b425..16a8e407f 100644 --- a/eZmaxApi/models/ezsigntemplatepackagesignermembership_request_compound.py +++ b/eZmaxApi/models/ezsigntemplatepackagesignermembership_request_compound.py @@ -18,16 +18,21 @@ import re # noqa: F401 import json -from pydantic import ConfigDict -from typing import Any, ClassVar, Dict, List -from eZmaxApi.models.ezsigntemplatepackagesignermembership_request import EzsigntemplatepackagesignermembershipRequest +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List, Optional +from typing_extensions import Annotated from typing import Optional, Set from typing_extensions import Self -class EzsigntemplatepackagesignermembershipRequestCompound(EzsigntemplatepackagesignermembershipRequest): +class EzsigntemplatepackagesignermembershipRequestCompound(BaseModel): """ A Ezsigntemplatepackagesignermembership Object and children """ # noqa: E501 + pki_ezsigntemplatepackagesignermembership_id: Optional[Annotated[int, Field(strict=True, ge=0)]] = Field(default=None, description="The unique ID of the Ezsigntemplatepackagesignermembership", alias="pkiEzsigntemplatepackagesignermembershipID") + fki_ezsigntemplatepackagemembership_id: Annotated[int, Field(strict=True, ge=0)] = Field(description="The unique ID of the Ezsigntemplatepackagemembership", alias="fkiEzsigntemplatepackagemembershipID") + fki_ezsigntemplatepackagesigner_id: Annotated[int, Field(strict=True, ge=0)] = Field(description="The unique ID of the Ezsigntemplatepackagesigner", alias="fkiEzsigntemplatepackagesignerID") + fki_ezsigntemplatesigner_id: Annotated[int, Field(strict=True, ge=0)] = Field(description="The unique ID of the Ezsigntemplatesigner", alias="fkiEzsigntemplatesignerID") + i_ezsigntemplatepackagesignermembership_copy: Optional[Annotated[int, Field(strict=True, ge=1)]] = Field(default=None, description="The Copy number in case of multiple copies.", alias="iEzsigntemplatepackagesignermembershipCopy") __properties: ClassVar[List[str]] = ["pkiEzsigntemplatepackagesignermembershipID", "fkiEzsigntemplatepackagemembershipID", "fkiEzsigntemplatepackagesignerID", "fkiEzsigntemplatesignerID", "iEzsigntemplatepackagesignermembershipCopy"] model_config = ConfigDict( diff --git a/eZmaxApi/models/ezsigntemplatepackagesignermembership_response.py b/eZmaxApi/models/ezsigntemplatepackagesignermembership_response.py index 55b0a7088..73f45192e 100644 --- a/eZmaxApi/models/ezsigntemplatepackagesignermembership_response.py +++ b/eZmaxApi/models/ezsigntemplatepackagesignermembership_response.py @@ -77,7 +77,21 @@ def to_dict(self) -> Dict[str, Any]: return _dict @classmethod - def from_dict(cls, obj: Dict[str, Any]) -> Optional[Self]: + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: """Create an instance of EzsigntemplatepackagesignermembershipResponse from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "pkiEzsigntemplatepackagesignermembershipID": obj.get("pkiEzsigntemplatepackagesignermembershipID"), + "fkiEzsigntemplatepackagemembershipID": obj.get("fkiEzsigntemplatepackagemembershipID"), + "fkiEzsigntemplatepackagesignerID": obj.get("fkiEzsigntemplatepackagesignerID"), + "fkiEzsigntemplatesignerID": obj.get("fkiEzsigntemplatesignerID"), + "iEzsigntemplatepackagesignermembershipCopy": obj.get("iEzsigntemplatepackagesignermembershipCopy") + }) + return _obj diff --git a/eZmaxApi/models/ezsigntemplatepackagesignermembership_response_compound.py b/eZmaxApi/models/ezsigntemplatepackagesignermembership_response_compound.py index d7cf3c8b9..4b4978231 100644 --- a/eZmaxApi/models/ezsigntemplatepackagesignermembership_response_compound.py +++ b/eZmaxApi/models/ezsigntemplatepackagesignermembership_response_compound.py @@ -18,16 +18,21 @@ import re # noqa: F401 import json -from pydantic import ConfigDict -from typing import Any, ClassVar, Dict, List -from eZmaxApi.models.ezsigntemplatepackagesignermembership_response import EzsigntemplatepackagesignermembershipResponse +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List, Optional +from typing_extensions import Annotated from typing import Optional, Set from typing_extensions import Self -class EzsigntemplatepackagesignermembershipResponseCompound(EzsigntemplatepackagesignermembershipResponse): +class EzsigntemplatepackagesignermembershipResponseCompound(BaseModel): """ A Ezsigntemplatepackagesignermembership Object """ # noqa: E501 + pki_ezsigntemplatepackagesignermembership_id: Annotated[int, Field(strict=True, ge=0)] = Field(description="The unique ID of the Ezsigntemplatepackagesignermembership", alias="pkiEzsigntemplatepackagesignermembershipID") + fki_ezsigntemplatepackagemembership_id: Annotated[int, Field(strict=True, ge=0)] = Field(description="The unique ID of the Ezsigntemplatepackagemembership", alias="fkiEzsigntemplatepackagemembershipID") + fki_ezsigntemplatepackagesigner_id: Annotated[int, Field(strict=True, ge=0)] = Field(description="The unique ID of the Ezsigntemplatepackagesigner", alias="fkiEzsigntemplatepackagesignerID") + fki_ezsigntemplatesigner_id: Annotated[int, Field(strict=True, ge=0)] = Field(description="The unique ID of the Ezsigntemplatesigner", alias="fkiEzsigntemplatesignerID") + i_ezsigntemplatepackagesignermembership_copy: Optional[Annotated[int, Field(strict=True, ge=1)]] = Field(default=None, description="The Copy number in case of multiple copies.", alias="iEzsigntemplatepackagesignermembershipCopy") __properties: ClassVar[List[str]] = ["pkiEzsigntemplatepackagesignermembershipID", "fkiEzsigntemplatepackagemembershipID", "fkiEzsigntemplatepackagesignerID", "fkiEzsigntemplatesignerID", "iEzsigntemplatepackagesignermembershipCopy"] model_config = ConfigDict( diff --git a/eZmaxApi/models/ezsigntemplatepublic_create_ezsignfolder_v1_response.py b/eZmaxApi/models/ezsigntemplatepublic_create_ezsignfolder_v1_response.py index 42ac71d67..690265451 100644 --- a/eZmaxApi/models/ezsigntemplatepublic_create_ezsignfolder_v1_response.py +++ b/eZmaxApi/models/ezsigntemplatepublic_create_ezsignfolder_v1_response.py @@ -18,19 +18,20 @@ import re # noqa: F401 import json -from pydantic import ConfigDict, Field -from typing import Any, ClassVar, Dict, List -from eZmaxApi.models.common_response import CommonResponse +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List, Optional from eZmaxApi.models.common_response_obj_debug import CommonResponseObjDebug from eZmaxApi.models.common_response_obj_debug_payload import CommonResponseObjDebugPayload from eZmaxApi.models.ezsigntemplatepublic_create_ezsignfolder_v1_response_m_payload import EzsigntemplatepublicCreateEzsignfolderV1ResponseMPayload from typing import Optional, Set from typing_extensions import Self -class EzsigntemplatepublicCreateEzsignfolderV1Response(CommonResponse): +class EzsigntemplatepublicCreateEzsignfolderV1Response(BaseModel): """ Response for POST /1/object/ezsigntemplatepublic/createEzsignfolder """ # noqa: E501 + obj_debug_payload: CommonResponseObjDebugPayload = Field(alias="objDebugPayload") + obj_debug: Optional[CommonResponseObjDebug] = Field(default=None, alias="objDebug") m_payload: EzsigntemplatepublicCreateEzsignfolderV1ResponseMPayload = Field(alias="mPayload") __properties: ClassVar[List[str]] = ["objDebugPayload", "objDebug", "mPayload"] diff --git a/eZmaxApi/models/ezsigntemplatepublic_create_object_v1_response.py b/eZmaxApi/models/ezsigntemplatepublic_create_object_v1_response.py index 5792e5b22..57dcd436f 100644 --- a/eZmaxApi/models/ezsigntemplatepublic_create_object_v1_response.py +++ b/eZmaxApi/models/ezsigntemplatepublic_create_object_v1_response.py @@ -18,19 +18,20 @@ import re # noqa: F401 import json -from pydantic import ConfigDict, Field -from typing import Any, ClassVar, Dict, List -from eZmaxApi.models.common_response import CommonResponse +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List, Optional from eZmaxApi.models.common_response_obj_debug import CommonResponseObjDebug from eZmaxApi.models.common_response_obj_debug_payload import CommonResponseObjDebugPayload from eZmaxApi.models.ezsigntemplatepublic_create_object_v1_response_m_payload import EzsigntemplatepublicCreateObjectV1ResponseMPayload from typing import Optional, Set from typing_extensions import Self -class EzsigntemplatepublicCreateObjectV1Response(CommonResponse): +class EzsigntemplatepublicCreateObjectV1Response(BaseModel): """ Response for POST /1/object/ezsigntemplatepublic """ # noqa: E501 + obj_debug_payload: CommonResponseObjDebugPayload = Field(alias="objDebugPayload") + obj_debug: Optional[CommonResponseObjDebug] = Field(default=None, alias="objDebug") m_payload: EzsigntemplatepublicCreateObjectV1ResponseMPayload = Field(alias="mPayload") __properties: ClassVar[List[str]] = ["objDebugPayload", "objDebug", "mPayload"] diff --git a/eZmaxApi/models/ezsigntemplatepublic_edit_object_v1_response.py b/eZmaxApi/models/ezsigntemplatepublic_edit_object_v1_response.py index ddca76976..762d38086 100644 --- a/eZmaxApi/models/ezsigntemplatepublic_edit_object_v1_response.py +++ b/eZmaxApi/models/ezsigntemplatepublic_edit_object_v1_response.py @@ -18,18 +18,19 @@ import re # noqa: F401 import json -from pydantic import ConfigDict -from typing import Any, ClassVar, Dict, List -from eZmaxApi.models.common_response import CommonResponse +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List, Optional from eZmaxApi.models.common_response_obj_debug import CommonResponseObjDebug from eZmaxApi.models.common_response_obj_debug_payload import CommonResponseObjDebugPayload from typing import Optional, Set from typing_extensions import Self -class EzsigntemplatepublicEditObjectV1Response(CommonResponse): +class EzsigntemplatepublicEditObjectV1Response(BaseModel): """ Response for PUT /1/object/ezsigntemplatepublic/{pkiEzsigntemplatepublicID} """ # noqa: E501 + obj_debug_payload: CommonResponseObjDebugPayload = Field(alias="objDebugPayload") + obj_debug: Optional[CommonResponseObjDebug] = Field(default=None, alias="objDebug") __properties: ClassVar[List[str]] = ["objDebugPayload", "objDebug"] model_config = ConfigDict( diff --git a/eZmaxApi/models/ezsigntemplatepublic_get_ezsigntemplatepublic_details_v1_response.py b/eZmaxApi/models/ezsigntemplatepublic_get_ezsigntemplatepublic_details_v1_response.py index daf66536b..e35a960ea 100644 --- a/eZmaxApi/models/ezsigntemplatepublic_get_ezsigntemplatepublic_details_v1_response.py +++ b/eZmaxApi/models/ezsigntemplatepublic_get_ezsigntemplatepublic_details_v1_response.py @@ -18,19 +18,20 @@ import re # noqa: F401 import json -from pydantic import ConfigDict, Field -from typing import Any, ClassVar, Dict, List -from eZmaxApi.models.common_response import CommonResponse +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List, Optional from eZmaxApi.models.common_response_obj_debug import CommonResponseObjDebug from eZmaxApi.models.common_response_obj_debug_payload import CommonResponseObjDebugPayload from eZmaxApi.models.ezsigntemplatepublic_get_ezsigntemplatepublic_details_v1_response_m_payload import EzsigntemplatepublicGetEzsigntemplatepublicDetailsV1ResponseMPayload from typing import Optional, Set from typing_extensions import Self -class EzsigntemplatepublicGetEzsigntemplatepublicDetailsV1Response(CommonResponse): +class EzsigntemplatepublicGetEzsigntemplatepublicDetailsV1Response(BaseModel): """ Response for POST /1/object/ezsigntemplatepublic/getEzsigntemplatepublicDetails """ # noqa: E501 + obj_debug_payload: CommonResponseObjDebugPayload = Field(alias="objDebugPayload") + obj_debug: Optional[CommonResponseObjDebug] = Field(default=None, alias="objDebug") m_payload: EzsigntemplatepublicGetEzsigntemplatepublicDetailsV1ResponseMPayload = Field(alias="mPayload") __properties: ClassVar[List[str]] = ["objDebugPayload", "objDebug", "mPayload"] diff --git a/eZmaxApi/models/ezsigntemplatepublic_get_forms_data_v1_response.py b/eZmaxApi/models/ezsigntemplatepublic_get_forms_data_v1_response.py index 3436113e5..763139449 100644 --- a/eZmaxApi/models/ezsigntemplatepublic_get_forms_data_v1_response.py +++ b/eZmaxApi/models/ezsigntemplatepublic_get_forms_data_v1_response.py @@ -18,19 +18,20 @@ import re # noqa: F401 import json -from pydantic import ConfigDict, Field -from typing import Any, ClassVar, Dict, List -from eZmaxApi.models.common_response import CommonResponse +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List, Optional from eZmaxApi.models.common_response_obj_debug import CommonResponseObjDebug from eZmaxApi.models.common_response_obj_debug_payload import CommonResponseObjDebugPayload from eZmaxApi.models.ezsigntemplatepublic_get_forms_data_v1_response_m_payload import EzsigntemplatepublicGetFormsDataV1ResponseMPayload from typing import Optional, Set from typing_extensions import Self -class EzsigntemplatepublicGetFormsDataV1Response(CommonResponse): +class EzsigntemplatepublicGetFormsDataV1Response(BaseModel): """ Response for GET /1/object/ezsigntemplatepublic/{pkiEzsigntemplatepublicID}/getFormsData """ # noqa: E501 + obj_debug_payload: CommonResponseObjDebugPayload = Field(alias="objDebugPayload") + obj_debug: Optional[CommonResponseObjDebug] = Field(default=None, alias="objDebug") m_payload: EzsigntemplatepublicGetFormsDataV1ResponseMPayload = Field(alias="mPayload") __properties: ClassVar[List[str]] = ["objDebugPayload", "objDebug", "mPayload"] diff --git a/eZmaxApi/models/ezsigntemplatepublic_get_list_v1_response.py b/eZmaxApi/models/ezsigntemplatepublic_get_list_v1_response.py index edb967b63..a8d106643 100644 --- a/eZmaxApi/models/ezsigntemplatepublic_get_list_v1_response.py +++ b/eZmaxApi/models/ezsigntemplatepublic_get_list_v1_response.py @@ -18,19 +18,20 @@ import re # noqa: F401 import json -from pydantic import ConfigDict, Field -from typing import Any, ClassVar, Dict, List -from eZmaxApi.models.common_response_get_list import CommonResponseGetList +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List, Optional from eZmaxApi.models.common_response_obj_debug import CommonResponseObjDebug from eZmaxApi.models.common_response_obj_debug_payload_get_list import CommonResponseObjDebugPayloadGetList from eZmaxApi.models.ezsigntemplatepublic_get_list_v1_response_m_payload import EzsigntemplatepublicGetListV1ResponseMPayload from typing import Optional, Set from typing_extensions import Self -class EzsigntemplatepublicGetListV1Response(CommonResponseGetList): +class EzsigntemplatepublicGetListV1Response(BaseModel): """ Response for GET /1/object/ezsigntemplatepublic/getList """ # noqa: E501 + obj_debug_payload: CommonResponseObjDebugPayloadGetList = Field(alias="objDebugPayload") + obj_debug: Optional[CommonResponseObjDebug] = Field(default=None, alias="objDebug") m_payload: EzsigntemplatepublicGetListV1ResponseMPayload = Field(alias="mPayload") __properties: ClassVar[List[str]] = ["objDebugPayload", "objDebug", "mPayload"] diff --git a/eZmaxApi/models/ezsigntemplatepublic_get_list_v1_response_m_payload.py b/eZmaxApi/models/ezsigntemplatepublic_get_list_v1_response_m_payload.py index 05e7a942c..398b0d372 100644 --- a/eZmaxApi/models/ezsigntemplatepublic_get_list_v1_response_m_payload.py +++ b/eZmaxApi/models/ezsigntemplatepublic_get_list_v1_response_m_payload.py @@ -18,17 +18,18 @@ import re # noqa: F401 import json -from pydantic import ConfigDict, Field +from pydantic import BaseModel, ConfigDict, Field, StrictInt from typing import Any, ClassVar, Dict, List -from eZmaxApi.models.common_get_list_v1_response_m_payload import CommonGetListV1ResponseMPayload from eZmaxApi.models.ezsigntemplatepublic_list_element import EzsigntemplatepublicListElement from typing import Optional, Set from typing_extensions import Self -class EzsigntemplatepublicGetListV1ResponseMPayload(CommonGetListV1ResponseMPayload): +class EzsigntemplatepublicGetListV1ResponseMPayload(BaseModel): """ Payload for GET /1/object/ezsigntemplatepublic/getList """ # noqa: E501 + i_row_returned: StrictInt = Field(description="The number of rows returned", alias="iRowReturned") + i_row_filtered: StrictInt = Field(description="The number of rows matching your filters (if any) or the total number of rows", alias="iRowFiltered") a_obj_ezsigntemplatepublic: List[EzsigntemplatepublicListElement] = Field(alias="a_objEzsigntemplatepublic") __properties: ClassVar[List[str]] = ["iRowReturned", "iRowFiltered", "a_objEzsigntemplatepublic"] diff --git a/eZmaxApi/models/ezsigntemplatepublic_get_object_v2_response.py b/eZmaxApi/models/ezsigntemplatepublic_get_object_v2_response.py index eddfd01ab..c47be0382 100644 --- a/eZmaxApi/models/ezsigntemplatepublic_get_object_v2_response.py +++ b/eZmaxApi/models/ezsigntemplatepublic_get_object_v2_response.py @@ -18,19 +18,20 @@ import re # noqa: F401 import json -from pydantic import ConfigDict, Field -from typing import Any, ClassVar, Dict, List -from eZmaxApi.models.common_response import CommonResponse +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List, Optional from eZmaxApi.models.common_response_obj_debug import CommonResponseObjDebug from eZmaxApi.models.common_response_obj_debug_payload import CommonResponseObjDebugPayload from eZmaxApi.models.ezsigntemplatepublic_get_object_v2_response_m_payload import EzsigntemplatepublicGetObjectV2ResponseMPayload from typing import Optional, Set from typing_extensions import Self -class EzsigntemplatepublicGetObjectV2Response(CommonResponse): +class EzsigntemplatepublicGetObjectV2Response(BaseModel): """ Response for GET /2/object/ezsigntemplatepublic/{pkiEzsigntemplatepublicID} """ # noqa: E501 + obj_debug_payload: CommonResponseObjDebugPayload = Field(alias="objDebugPayload") + obj_debug: Optional[CommonResponseObjDebug] = Field(default=None, alias="objDebug") m_payload: EzsigntemplatepublicGetObjectV2ResponseMPayload = Field(alias="mPayload") __properties: ClassVar[List[str]] = ["objDebugPayload", "objDebug", "mPayload"] diff --git a/eZmaxApi/models/ezsigntemplatepublic_request.py b/eZmaxApi/models/ezsigntemplatepublic_request.py index 331534a18..101c86200 100644 --- a/eZmaxApi/models/ezsigntemplatepublic_request.py +++ b/eZmaxApi/models/ezsigntemplatepublic_request.py @@ -97,7 +97,26 @@ def to_dict(self) -> Dict[str, Any]: return _dict @classmethod - def from_dict(cls, obj: Dict[str, Any]) -> Optional[Self]: + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: """Create an instance of EzsigntemplatepublicRequest from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "pkiEzsigntemplatepublicID": obj.get("pkiEzsigntemplatepublicID"), + "fkiEzsignfoldertypeID": obj.get("fkiEzsignfoldertypeID"), + "fkiUserlogintypeID": obj.get("fkiUserlogintypeID"), + "fkiEzsigntemplateID": obj.get("fkiEzsigntemplateID"), + "fkiEzsigntemplatepackageID": obj.get("fkiEzsigntemplatepackageID"), + "sEzsigntemplatepublicDescription": obj.get("sEzsigntemplatepublicDescription"), + "bEzsigntemplatepublicIsactive": obj.get("bEzsigntemplatepublicIsactive"), + "tEzsigntemplatepublicNote": obj.get("tEzsigntemplatepublicNote"), + "eEzsigntemplatepublicLimittype": obj.get("eEzsigntemplatepublicLimittype"), + "iEzsigntemplatepublicLimit": obj.get("iEzsigntemplatepublicLimit") + }) + return _obj diff --git a/eZmaxApi/models/ezsigntemplatepublic_request_compound.py b/eZmaxApi/models/ezsigntemplatepublic_request_compound.py index e469ccc65..7c47e623c 100644 --- a/eZmaxApi/models/ezsigntemplatepublic_request_compound.py +++ b/eZmaxApi/models/ezsigntemplatepublic_request_compound.py @@ -18,19 +18,43 @@ import re # noqa: F401 import json -from pydantic import ConfigDict -from typing import Any, ClassVar, Dict, List -from eZmaxApi.models.ezsigntemplatepublic_request import EzsigntemplatepublicRequest +from pydantic import BaseModel, ConfigDict, Field, StrictBool, field_validator +from typing import Any, ClassVar, Dict, List, Optional +from typing_extensions import Annotated from eZmaxApi.models.field_e_ezsigntemplatepublic_limittype import FieldEEzsigntemplatepublicLimittype from typing import Optional, Set from typing_extensions import Self -class EzsigntemplatepublicRequestCompound(EzsigntemplatepublicRequest): +class EzsigntemplatepublicRequestCompound(BaseModel): """ A Ezsigntemplatepublic Object and children """ # noqa: E501 + pki_ezsigntemplatepublic_id: Optional[Annotated[int, Field(le=65535, strict=True, ge=0)]] = Field(default=None, description="The unique ID of the Ezsigntemplatepublic", alias="pkiEzsigntemplatepublicID") + fki_ezsignfoldertype_id: Annotated[int, Field(le=65535, strict=True, ge=0)] = Field(description="The unique ID of the Ezsignfoldertype.", alias="fkiEzsignfoldertypeID") + fki_userlogintype_id: Annotated[int, Field(strict=True, ge=0)] = Field(description="The unique ID of the Userlogintype Valid values: |Value|Description|Detail| |-|-|-| |1|**Email Only**|The Ezsignsigner will receive a secure link by email| |2|**Email and phone or SMS**|The Ezsignsigner will receive a secure link by email and will need to authenticate using SMS or Phone call. **Additional fee applies**| |3|**Email and secret question**|The Ezsignsigner will receive a secure link by email and will need to authenticate using a predefined question and answer| |4|**In person only**|The Ezsignsigner will only be able to sign \"In-Person\" and there won't be any authentication. No email will be sent for invitation to sign. Make sure you evaluate the risk of signature denial and at minimum, we recommend you use a handwritten signature type| |5|**In person with phone or SMS**|The Ezsignsigner will only be able to sign \"In-Person\" and will need to authenticate using SMS or Phone call. No email will be sent for invitation to sign. **Additional fee applies**| |6|**Embedded**|The Ezsignsigner will only be able to sign in the embedded solution. No email will be sent for invitation to sign. **Additional fee applies**| |7|**Embedded with phone or SMS**|The Ezsignsigner will only be able to sign in the embedded solution and will need to authenticate using SMS or Phone call. No email will be sent for invitation to sign. **Additional fee applies**| |8|**No validation**|The Ezsignsigner will not receive an email and won't have to validate his connection using 2 factor. **Additional fee applies**| |9|**Sms only**|The Ezsignsigner will not receive an email but will will need to authenticate using SMS. **Additional fee applies**| ", alias="fkiUserlogintypeID") + fki_ezsigntemplate_id: Optional[Annotated[int, Field(strict=True, ge=0)]] = Field(default=None, description="The unique ID of the Ezsigntemplate", alias="fkiEzsigntemplateID") + fki_ezsigntemplatepackage_id: Optional[Annotated[int, Field(strict=True, ge=0)]] = Field(default=None, description="The unique ID of the Ezsigntemplatepackage", alias="fkiEzsigntemplatepackageID") + s_ezsigntemplatepublic_description: Annotated[str, Field(strict=True)] = Field(description="The description of the Ezsigntemplatepublic", alias="sEzsigntemplatepublicDescription") + b_ezsigntemplatepublic_isactive: StrictBool = Field(description="Whether the ezsigntemplatepublic is active or not", alias="bEzsigntemplatepublicIsactive") + t_ezsigntemplatepublic_note: Annotated[str, Field(strict=True)] = Field(description="The note of the Ezsigntemplatepublic", alias="tEzsigntemplatepublicNote") + e_ezsigntemplatepublic_limittype: FieldEEzsigntemplatepublicLimittype = Field(alias="eEzsigntemplatepublicLimittype") + i_ezsigntemplatepublic_limit: Annotated[int, Field(le=65535, strict=True, ge=0)] = Field(description="The limit of the Ezsigntemplatepublic", alias="iEzsigntemplatepublicLimit") __properties: ClassVar[List[str]] = ["pkiEzsigntemplatepublicID", "fkiEzsignfoldertypeID", "fkiUserlogintypeID", "fkiEzsigntemplateID", "fkiEzsigntemplatepackageID", "sEzsigntemplatepublicDescription", "bEzsigntemplatepublicIsactive", "tEzsigntemplatepublicNote", "eEzsigntemplatepublicLimittype", "iEzsigntemplatepublicLimit"] + @field_validator('s_ezsigntemplatepublic_description') + def s_ezsigntemplatepublic_description_validate_regular_expression(cls, value): + """Validates the regular expression""" + if not re.match(r"^.{0,80}$", value): + raise ValueError(r"must validate the regular expression /^.{0,80}$/") + return value + + @field_validator('t_ezsigntemplatepublic_note') + def t_ezsigntemplatepublic_note_validate_regular_expression(cls, value): + """Validates the regular expression""" + if not re.match(r"^.{0,65535}$", value): + raise ValueError(r"must validate the regular expression /^.{0,65535}$/") + return value + model_config = ConfigDict( populate_by_name=True, validate_assignment=True, diff --git a/eZmaxApi/models/ezsigntemplatepublic_reset_limit_exceeded_counter_v1_response.py b/eZmaxApi/models/ezsigntemplatepublic_reset_limit_exceeded_counter_v1_response.py index 7b02eb2ac..3c501d3e3 100644 --- a/eZmaxApi/models/ezsigntemplatepublic_reset_limit_exceeded_counter_v1_response.py +++ b/eZmaxApi/models/ezsigntemplatepublic_reset_limit_exceeded_counter_v1_response.py @@ -18,19 +18,20 @@ import re # noqa: F401 import json -from pydantic import ConfigDict, Field -from typing import Any, ClassVar, Dict, List -from eZmaxApi.models.common_response import CommonResponse +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List, Optional from eZmaxApi.models.common_response_obj_debug import CommonResponseObjDebug from eZmaxApi.models.common_response_obj_debug_payload import CommonResponseObjDebugPayload from eZmaxApi.models.ezsigntemplatepublic_reset_limit_exceeded_counter_v1_response_m_payload import EzsigntemplatepublicResetLimitExceededCounterV1ResponseMPayload from typing import Optional, Set from typing_extensions import Self -class EzsigntemplatepublicResetLimitExceededCounterV1Response(CommonResponse): +class EzsigntemplatepublicResetLimitExceededCounterV1Response(BaseModel): """ Response for POST /1/object/ezsigntemplatepublic/{pkiEzsigntemplatepublicID}/resetLimitExceededCounter """ # noqa: E501 + obj_debug_payload: CommonResponseObjDebugPayload = Field(alias="objDebugPayload") + obj_debug: Optional[CommonResponseObjDebug] = Field(default=None, alias="objDebug") m_payload: EzsigntemplatepublicResetLimitExceededCounterV1ResponseMPayload = Field(alias="mPayload") __properties: ClassVar[List[str]] = ["objDebugPayload", "objDebug", "mPayload"] diff --git a/eZmaxApi/models/ezsigntemplatepublic_reset_url_v1_response.py b/eZmaxApi/models/ezsigntemplatepublic_reset_url_v1_response.py index fc6d57ef5..9e4c3dace 100644 --- a/eZmaxApi/models/ezsigntemplatepublic_reset_url_v1_response.py +++ b/eZmaxApi/models/ezsigntemplatepublic_reset_url_v1_response.py @@ -18,19 +18,20 @@ import re # noqa: F401 import json -from pydantic import ConfigDict, Field -from typing import Any, ClassVar, Dict, List -from eZmaxApi.models.common_response import CommonResponse +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List, Optional from eZmaxApi.models.common_response_obj_debug import CommonResponseObjDebug from eZmaxApi.models.common_response_obj_debug_payload import CommonResponseObjDebugPayload from eZmaxApi.models.ezsigntemplatepublic_reset_url_v1_response_m_payload import EzsigntemplatepublicResetUrlV1ResponseMPayload from typing import Optional, Set from typing_extensions import Self -class EzsigntemplatepublicResetUrlV1Response(CommonResponse): +class EzsigntemplatepublicResetUrlV1Response(BaseModel): """ Response for POST /1/object/ezsigntemplatepublic/{pkiEzsigntemplatepublicID}/resetUrl """ # noqa: E501 + obj_debug_payload: CommonResponseObjDebugPayload = Field(alias="objDebugPayload") + obj_debug: Optional[CommonResponseObjDebug] = Field(default=None, alias="objDebug") m_payload: EzsigntemplatepublicResetUrlV1ResponseMPayload = Field(alias="mPayload") __properties: ClassVar[List[str]] = ["objDebugPayload", "objDebug", "mPayload"] diff --git a/eZmaxApi/models/ezsigntemplatepublic_response.py b/eZmaxApi/models/ezsigntemplatepublic_response.py index cca5c2b17..067c68bbb 100644 --- a/eZmaxApi/models/ezsigntemplatepublic_response.py +++ b/eZmaxApi/models/ezsigntemplatepublic_response.py @@ -137,7 +137,34 @@ def to_dict(self) -> Dict[str, Any]: return _dict @classmethod - def from_dict(cls, obj: Dict[str, Any]) -> Optional[Self]: + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: """Create an instance of EzsigntemplatepublicResponse from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "pkiEzsigntemplatepublicID": obj.get("pkiEzsigntemplatepublicID"), + "fkiEzsignfoldertypeID": obj.get("fkiEzsignfoldertypeID"), + "sEzsignfoldertypeNameX": obj.get("sEzsignfoldertypeNameX"), + "fkiUserlogintypeID": obj.get("fkiUserlogintypeID"), + "sUserlogintypeDescriptionX": obj.get("sUserlogintypeDescriptionX"), + "fkiEzsigntemplateID": obj.get("fkiEzsigntemplateID"), + "fkiEzsigntemplatepackageID": obj.get("fkiEzsigntemplatepackageID"), + "sEzsigntemplatepublicDescription": obj.get("sEzsigntemplatepublicDescription"), + "sEzsigntemplatepublicReferenceid": obj.get("sEzsigntemplatepublicReferenceid"), + "bEzsigntemplatepublicIsactive": obj.get("bEzsigntemplatepublicIsactive"), + "tEzsigntemplatepublicNote": obj.get("tEzsigntemplatepublicNote"), + "eEzsigntemplatepublicLimittype": obj.get("eEzsigntemplatepublicLimittype"), + "iEzsigntemplatepublicLimit": obj.get("iEzsigntemplatepublicLimit"), + "iEzsigntemplatepublicLimitexceeded": obj.get("iEzsigntemplatepublicLimitexceeded"), + "dtEzsigntemplatepublicLimitexceededsince": obj.get("dtEzsigntemplatepublicLimitexceededsince"), + "sEzsigntemplatepublicUrl": obj.get("sEzsigntemplatepublicUrl"), + "sEzsigntemplatepublicEzsigntemplatedescription": obj.get("sEzsigntemplatepublicEzsigntemplatedescription"), + "objAudit": CommonAudit.from_dict(obj["objAudit"]) if obj.get("objAudit") is not None else None + }) + return _obj diff --git a/eZmaxApi/models/ezsigntemplatepublic_response_compound.py b/eZmaxApi/models/ezsigntemplatepublic_response_compound.py index f2f5ab6ca..32fee8654 100644 --- a/eZmaxApi/models/ezsigntemplatepublic_response_compound.py +++ b/eZmaxApi/models/ezsigntemplatepublic_response_compound.py @@ -18,22 +18,82 @@ import re # noqa: F401 import json -from pydantic import ConfigDict, Field -from typing import Any, ClassVar, Dict, List +from pydantic import BaseModel, ConfigDict, Field, StrictBool, StrictStr, field_validator +from typing import Any, ClassVar, Dict, List, Optional +from typing_extensions import Annotated from eZmaxApi.models.common_audit import CommonAudit from eZmaxApi.models.custom_ezsignfolderezsigntemplatepublic_response import CustomEzsignfolderezsigntemplatepublicResponse -from eZmaxApi.models.ezsigntemplatepublic_response import EzsigntemplatepublicResponse from eZmaxApi.models.field_e_ezsigntemplatepublic_limittype import FieldEEzsigntemplatepublicLimittype from typing import Optional, Set from typing_extensions import Self -class EzsigntemplatepublicResponseCompound(EzsigntemplatepublicResponse): +class EzsigntemplatepublicResponseCompound(BaseModel): """ A Ezsigntemplatepublic Object """ # noqa: E501 + pki_ezsigntemplatepublic_id: Annotated[int, Field(le=65535, strict=True, ge=0)] = Field(description="The unique ID of the Ezsigntemplatepublic", alias="pkiEzsigntemplatepublicID") + fki_ezsignfoldertype_id: Annotated[int, Field(le=65535, strict=True, ge=0)] = Field(description="The unique ID of the Ezsignfoldertype.", alias="fkiEzsignfoldertypeID") + s_ezsignfoldertype_name_x: StrictStr = Field(description="The name of the Ezsignfoldertype in the language of the requester", alias="sEzsignfoldertypeNameX") + fki_userlogintype_id: Annotated[int, Field(strict=True, ge=0)] = Field(description="The unique ID of the Userlogintype Valid values: |Value|Description|Detail| |-|-|-| |1|**Email Only**|The Ezsignsigner will receive a secure link by email| |2|**Email and phone or SMS**|The Ezsignsigner will receive a secure link by email and will need to authenticate using SMS or Phone call. **Additional fee applies**| |3|**Email and secret question**|The Ezsignsigner will receive a secure link by email and will need to authenticate using a predefined question and answer| |4|**In person only**|The Ezsignsigner will only be able to sign \"In-Person\" and there won't be any authentication. No email will be sent for invitation to sign. Make sure you evaluate the risk of signature denial and at minimum, we recommend you use a handwritten signature type| |5|**In person with phone or SMS**|The Ezsignsigner will only be able to sign \"In-Person\" and will need to authenticate using SMS or Phone call. No email will be sent for invitation to sign. **Additional fee applies**| |6|**Embedded**|The Ezsignsigner will only be able to sign in the embedded solution. No email will be sent for invitation to sign. **Additional fee applies**| |7|**Embedded with phone or SMS**|The Ezsignsigner will only be able to sign in the embedded solution and will need to authenticate using SMS or Phone call. No email will be sent for invitation to sign. **Additional fee applies**| |8|**No validation**|The Ezsignsigner will not receive an email and won't have to validate his connection using 2 factor. **Additional fee applies**| |9|**Sms only**|The Ezsignsigner will not receive an email but will will need to authenticate using SMS. **Additional fee applies**| ", alias="fkiUserlogintypeID") + s_userlogintype_description_x: StrictStr = Field(description="The description of the Userlogintype in the language of the requester", alias="sUserlogintypeDescriptionX") + fki_ezsigntemplate_id: Optional[Annotated[int, Field(strict=True, ge=0)]] = Field(default=None, description="The unique ID of the Ezsigntemplate", alias="fkiEzsigntemplateID") + fki_ezsigntemplatepackage_id: Optional[Annotated[int, Field(strict=True, ge=0)]] = Field(default=None, description="The unique ID of the Ezsigntemplatepackage", alias="fkiEzsigntemplatepackageID") + s_ezsigntemplatepublic_description: Annotated[str, Field(strict=True)] = Field(description="The description of the Ezsigntemplatepublic", alias="sEzsigntemplatepublicDescription") + s_ezsigntemplatepublic_referenceid: Annotated[str, Field(strict=True)] = Field(description="The referenceid of the Ezsigntemplatepublic", alias="sEzsigntemplatepublicReferenceid") + b_ezsigntemplatepublic_isactive: StrictBool = Field(description="Whether the ezsigntemplatepublic is active or not", alias="bEzsigntemplatepublicIsactive") + t_ezsigntemplatepublic_note: Annotated[str, Field(strict=True)] = Field(description="The note of the Ezsigntemplatepublic", alias="tEzsigntemplatepublicNote") + e_ezsigntemplatepublic_limittype: FieldEEzsigntemplatepublicLimittype = Field(alias="eEzsigntemplatepublicLimittype") + i_ezsigntemplatepublic_limit: Annotated[int, Field(le=65535, strict=True, ge=0)] = Field(description="The limit of the Ezsigntemplatepublic", alias="iEzsigntemplatepublicLimit") + i_ezsigntemplatepublic_limitexceeded: Annotated[int, Field(le=65535, strict=True, ge=0)] = Field(description="The limitexceeded of the Ezsigntemplatepublic", alias="iEzsigntemplatepublicLimitexceeded") + dt_ezsigntemplatepublic_limitexceededsince: Annotated[str, Field(strict=True)] = Field(description="The limitexceededsince of the Ezsigntemplatepublic", alias="dtEzsigntemplatepublicLimitexceededsince") + s_ezsigntemplatepublic_url: Annotated[str, Field(strict=True)] = Field(description="The url of the Ezsigntemplatepublic You can add these value as query parameters to prefill the corresponding role |Parameter|Description| |-|-| |sEzsigntemplatesignerDescription|The role to fill| |sContactFirstname|The contact firstname| |sContactLastname|The contact lastname| |sEmailAddress|The contact email| |sPhoneE164|The contact phone number| |sPhoneE164Cell|The contact cell phone number|", alias="sEzsigntemplatepublicUrl") + s_ezsigntemplatepublic_ezsigntemplatedescription: Annotated[str, Field(strict=True)] = Field(description="The Ezsigntemplate/Ezsigntemplatepackage description", alias="sEzsigntemplatepublicEzsigntemplatedescription") + obj_audit: Optional[CommonAudit] = Field(default=None, alias="objAudit") a_obj_ezsignfolderezsigntemplatepublic: List[CustomEzsignfolderezsigntemplatepublicResponse] = Field(alias="a_objEzsignfolderezsigntemplatepublic") __properties: ClassVar[List[str]] = ["pkiEzsigntemplatepublicID", "fkiEzsignfoldertypeID", "sEzsignfoldertypeNameX", "fkiUserlogintypeID", "sUserlogintypeDescriptionX", "fkiEzsigntemplateID", "fkiEzsigntemplatepackageID", "sEzsigntemplatepublicDescription", "sEzsigntemplatepublicReferenceid", "bEzsigntemplatepublicIsactive", "tEzsigntemplatepublicNote", "eEzsigntemplatepublicLimittype", "iEzsigntemplatepublicLimit", "iEzsigntemplatepublicLimitexceeded", "dtEzsigntemplatepublicLimitexceededsince", "sEzsigntemplatepublicUrl", "sEzsigntemplatepublicEzsigntemplatedescription", "objAudit", "a_objEzsignfolderezsigntemplatepublic"] + @field_validator('s_ezsigntemplatepublic_description') + def s_ezsigntemplatepublic_description_validate_regular_expression(cls, value): + """Validates the regular expression""" + if not re.match(r"^.{0,80}$", value): + raise ValueError(r"must validate the regular expression /^.{0,80}$/") + return value + + @field_validator('s_ezsigntemplatepublic_referenceid') + def s_ezsigntemplatepublic_referenceid_validate_regular_expression(cls, value): + """Validates the regular expression""" + if not re.match(r"^.{0,36}$", value): + raise ValueError(r"must validate the regular expression /^.{0,36}$/") + return value + + @field_validator('t_ezsigntemplatepublic_note') + def t_ezsigntemplatepublic_note_validate_regular_expression(cls, value): + """Validates the regular expression""" + if not re.match(r"^.{0,65535}$", value): + raise ValueError(r"must validate the regular expression /^.{0,65535}$/") + return value + + @field_validator('dt_ezsigntemplatepublic_limitexceededsince') + def dt_ezsigntemplatepublic_limitexceededsince_validate_regular_expression(cls, value): + """Validates the regular expression""" + if not re.match(r"^[0-9]{4}-(0[1-9]|1[0-2])-(0[1-9]|[1-2][0-9]|3[0-1]) ([01]?[0-9]|2[0-3]):([0-5][0-9]):([0-5][0-9])$", value): + raise ValueError(r"must validate the regular expression /^[0-9]{4}-(0[1-9]|1[0-2])-(0[1-9]|[1-2][0-9]|3[0-1]) ([01]?[0-9]|2[0-3]):([0-5][0-9]):([0-5][0-9])$/") + return value + + @field_validator('s_ezsigntemplatepublic_url') + def s_ezsigntemplatepublic_url_validate_regular_expression(cls, value): + """Validates the regular expression""" + if not re.match(r"^(https|http):\/\/[^\s\/$.?#].[^\s]*$", value): + raise ValueError(r"must validate the regular expression /^(https|http):\/\/[^\s\/$.?#].[^\s]*$/") + return value + + @field_validator('s_ezsigntemplatepublic_ezsigntemplatedescription') + def s_ezsigntemplatepublic_ezsigntemplatedescription_validate_regular_expression(cls, value): + """Validates the regular expression""" + if not re.match(r"^.{1,80}$", value): + raise ValueError(r"must validate the regular expression /^.{1,80}$/") + return value + model_config = ConfigDict( populate_by_name=True, validate_assignment=True, diff --git a/eZmaxApi/models/ezsigntemplatesignature_create_object_v2_response.py b/eZmaxApi/models/ezsigntemplatesignature_create_object_v2_response.py index d9e9ded1b..ebe96baea 100644 --- a/eZmaxApi/models/ezsigntemplatesignature_create_object_v2_response.py +++ b/eZmaxApi/models/ezsigntemplatesignature_create_object_v2_response.py @@ -18,19 +18,20 @@ import re # noqa: F401 import json -from pydantic import ConfigDict, Field -from typing import Any, ClassVar, Dict, List -from eZmaxApi.models.common_response import CommonResponse +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List, Optional from eZmaxApi.models.common_response_obj_debug import CommonResponseObjDebug from eZmaxApi.models.common_response_obj_debug_payload import CommonResponseObjDebugPayload from eZmaxApi.models.ezsigntemplatesignature_create_object_v2_response_m_payload import EzsigntemplatesignatureCreateObjectV2ResponseMPayload from typing import Optional, Set from typing_extensions import Self -class EzsigntemplatesignatureCreateObjectV2Response(CommonResponse): +class EzsigntemplatesignatureCreateObjectV2Response(BaseModel): """ Response for POST /2/object/ezsigntemplatesignature """ # noqa: E501 + obj_debug_payload: CommonResponseObjDebugPayload = Field(alias="objDebugPayload") + obj_debug: Optional[CommonResponseObjDebug] = Field(default=None, alias="objDebug") m_payload: EzsigntemplatesignatureCreateObjectV2ResponseMPayload = Field(alias="mPayload") __properties: ClassVar[List[str]] = ["objDebugPayload", "objDebug", "mPayload"] diff --git a/eZmaxApi/models/ezsigntemplatesignature_delete_object_v1_response.py b/eZmaxApi/models/ezsigntemplatesignature_delete_object_v1_response.py index 80f6f7c37..a6789f5fd 100644 --- a/eZmaxApi/models/ezsigntemplatesignature_delete_object_v1_response.py +++ b/eZmaxApi/models/ezsigntemplatesignature_delete_object_v1_response.py @@ -18,18 +18,19 @@ import re # noqa: F401 import json -from pydantic import ConfigDict -from typing import Any, ClassVar, Dict, List -from eZmaxApi.models.common_response import CommonResponse +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List, Optional from eZmaxApi.models.common_response_obj_debug import CommonResponseObjDebug from eZmaxApi.models.common_response_obj_debug_payload import CommonResponseObjDebugPayload from typing import Optional, Set from typing_extensions import Self -class EzsigntemplatesignatureDeleteObjectV1Response(CommonResponse): +class EzsigntemplatesignatureDeleteObjectV1Response(BaseModel): """ Response for DELETE /1/object/ezsigntemplatesignature/{pkiEzsigntemplatesignatureID} """ # noqa: E501 + obj_debug_payload: CommonResponseObjDebugPayload = Field(alias="objDebugPayload") + obj_debug: Optional[CommonResponseObjDebug] = Field(default=None, alias="objDebug") __properties: ClassVar[List[str]] = ["objDebugPayload", "objDebug"] model_config = ConfigDict( diff --git a/eZmaxApi/models/ezsigntemplatesignature_edit_object_v2_response.py b/eZmaxApi/models/ezsigntemplatesignature_edit_object_v2_response.py index 8586a890b..635624cc7 100644 --- a/eZmaxApi/models/ezsigntemplatesignature_edit_object_v2_response.py +++ b/eZmaxApi/models/ezsigntemplatesignature_edit_object_v2_response.py @@ -18,18 +18,19 @@ import re # noqa: F401 import json -from pydantic import ConfigDict -from typing import Any, ClassVar, Dict, List -from eZmaxApi.models.common_response import CommonResponse +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List, Optional from eZmaxApi.models.common_response_obj_debug import CommonResponseObjDebug from eZmaxApi.models.common_response_obj_debug_payload import CommonResponseObjDebugPayload from typing import Optional, Set from typing_extensions import Self -class EzsigntemplatesignatureEditObjectV2Response(CommonResponse): +class EzsigntemplatesignatureEditObjectV2Response(BaseModel): """ Response for PUT /2/object/ezsigntemplatesignature/{pkiEzsigntemplatesignatureID} """ # noqa: E501 + obj_debug_payload: CommonResponseObjDebugPayload = Field(alias="objDebugPayload") + obj_debug: Optional[CommonResponseObjDebug] = Field(default=None, alias="objDebug") __properties: ClassVar[List[str]] = ["objDebugPayload", "objDebug"] model_config = ConfigDict( diff --git a/eZmaxApi/models/ezsigntemplatesignature_get_object_v3_response.py b/eZmaxApi/models/ezsigntemplatesignature_get_object_v3_response.py index f87237085..04654a151 100644 --- a/eZmaxApi/models/ezsigntemplatesignature_get_object_v3_response.py +++ b/eZmaxApi/models/ezsigntemplatesignature_get_object_v3_response.py @@ -18,19 +18,20 @@ import re # noqa: F401 import json -from pydantic import ConfigDict, Field -from typing import Any, ClassVar, Dict, List -from eZmaxApi.models.common_response import CommonResponse +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List, Optional from eZmaxApi.models.common_response_obj_debug import CommonResponseObjDebug from eZmaxApi.models.common_response_obj_debug_payload import CommonResponseObjDebugPayload from eZmaxApi.models.ezsigntemplatesignature_get_object_v3_response_m_payload import EzsigntemplatesignatureGetObjectV3ResponseMPayload from typing import Optional, Set from typing_extensions import Self -class EzsigntemplatesignatureGetObjectV3Response(CommonResponse): +class EzsigntemplatesignatureGetObjectV3Response(BaseModel): """ Response for GET /3/object/ezsigntemplatesignature/{pkiEzsigntemplatesignatureID} """ # noqa: E501 + obj_debug_payload: CommonResponseObjDebugPayload = Field(alias="objDebugPayload") + obj_debug: Optional[CommonResponseObjDebug] = Field(default=None, alias="objDebug") m_payload: EzsigntemplatesignatureGetObjectV3ResponseMPayload = Field(alias="mPayload") __properties: ClassVar[List[str]] = ["objDebugPayload", "objDebug", "mPayload"] diff --git a/eZmaxApi/models/ezsigntemplatesignature_request.py b/eZmaxApi/models/ezsigntemplatesignature_request.py index 739fa3f9f..cae958d83 100644 --- a/eZmaxApi/models/ezsigntemplatesignature_request.py +++ b/eZmaxApi/models/ezsigntemplatesignature_request.py @@ -133,7 +133,48 @@ def to_dict(self) -> Dict[str, Any]: return _dict @classmethod - def from_dict(cls, obj: Dict[str, Any]) -> Optional[Self]: + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: """Create an instance of EzsigntemplatesignatureRequest from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "pkiEzsigntemplatesignatureID": obj.get("pkiEzsigntemplatesignatureID"), + "fkiEzsigntemplatedocumentID": obj.get("fkiEzsigntemplatedocumentID"), + "fkiEzsigntemplatesignerID": obj.get("fkiEzsigntemplatesignerID"), + "fkiEzsigntemplatesignerIDValidation": obj.get("fkiEzsigntemplatesignerIDValidation"), + "bEzsigntemplatesignatureHandwritten": obj.get("bEzsigntemplatesignatureHandwritten"), + "bEzsigntemplatesignatureReason": obj.get("bEzsigntemplatesignatureReason"), + "eEzsigntemplatesignaturePositioning": obj.get("eEzsigntemplatesignaturePositioning"), + "iEzsigntemplatedocumentpagePagenumber": obj.get("iEzsigntemplatedocumentpagePagenumber"), + "iEzsigntemplatesignatureX": obj.get("iEzsigntemplatesignatureX"), + "iEzsigntemplatesignatureY": obj.get("iEzsigntemplatesignatureY"), + "iEzsigntemplatesignatureWidth": obj.get("iEzsigntemplatesignatureWidth"), + "iEzsigntemplatesignatureHeight": obj.get("iEzsigntemplatesignatureHeight"), + "iEzsigntemplatesignatureStep": obj.get("iEzsigntemplatesignatureStep"), + "eEzsigntemplatesignatureType": obj.get("eEzsigntemplatesignatureType"), + "eEzsigntemplatesignatureConsultationtrigger": obj.get("eEzsigntemplatesignatureConsultationtrigger"), + "tEzsigntemplatesignatureTooltip": obj.get("tEzsigntemplatesignatureTooltip"), + "eEzsigntemplatesignatureTooltipposition": obj.get("eEzsigntemplatesignatureTooltipposition"), + "eEzsigntemplatesignatureFont": obj.get("eEzsigntemplatesignatureFont"), + "bEzsigntemplatesignatureRequired": obj.get("bEzsigntemplatesignatureRequired"), + "eEzsigntemplatesignatureAttachmentnamesource": obj.get("eEzsigntemplatesignatureAttachmentnamesource"), + "sEzsigntemplatesignatureAttachmentdescription": obj.get("sEzsigntemplatesignatureAttachmentdescription"), + "iEzsigntemplatesignatureValidationstep": obj.get("iEzsigntemplatesignatureValidationstep"), + "iEzsigntemplatesignatureMaxlength": obj.get("iEzsigntemplatesignatureMaxlength"), + "sEzsigntemplatesignatureDefaultvalue": obj.get("sEzsigntemplatesignatureDefaultvalue"), + "sEzsigntemplatesignatureRegexp": obj.get("sEzsigntemplatesignatureRegexp"), + "eEzsigntemplatesignatureTextvalidation": obj.get("eEzsigntemplatesignatureTextvalidation"), + "sEzsigntemplatesignatureTextvalidationcustommessage": obj.get("sEzsigntemplatesignatureTextvalidationcustommessage"), + "eEzsigntemplatesignatureDependencyrequirement": obj.get("eEzsigntemplatesignatureDependencyrequirement"), + "sEzsigntemplatesignaturePositioningpattern": obj.get("sEzsigntemplatesignaturePositioningpattern"), + "iEzsigntemplatesignaturePositioningoffsetx": obj.get("iEzsigntemplatesignaturePositioningoffsetx"), + "iEzsigntemplatesignaturePositioningoffsety": obj.get("iEzsigntemplatesignaturePositioningoffsety"), + "eEzsigntemplatesignaturePositioningoccurence": obj.get("eEzsigntemplatesignaturePositioningoccurence") + }) + return _obj diff --git a/eZmaxApi/models/ezsigntemplatesignature_request_compound.py b/eZmaxApi/models/ezsigntemplatesignature_request_compound.py index 40acaf7bf..711e9fbfd 100644 --- a/eZmaxApi/models/ezsigntemplatesignature_request_compound.py +++ b/eZmaxApi/models/ezsigntemplatesignature_request_compound.py @@ -18,12 +18,12 @@ import re # noqa: F401 import json -from pydantic import ConfigDict, Field, StrictBool +from pydantic import BaseModel, ConfigDict, Field, StrictBool, StrictInt, StrictStr, field_validator from typing import Any, ClassVar, Dict, List, Optional +from typing_extensions import Annotated from eZmaxApi.models.enum_textvalidation import EnumTextvalidation -from eZmaxApi.models.ezsigntemplateelementdependency_request import EzsigntemplateelementdependencyRequest -from eZmaxApi.models.ezsigntemplatesignature_request import EzsigntemplatesignatureRequest -from eZmaxApi.models.ezsigntemplatesignaturecustomdate_request import EzsigntemplatesignaturecustomdateRequest +from eZmaxApi.models.ezsigntemplateelementdependency_request_compound import EzsigntemplateelementdependencyRequestCompound +from eZmaxApi.models.ezsigntemplatesignaturecustomdate_request_compound import EzsigntemplatesignaturecustomdateRequestCompound from eZmaxApi.models.field_e_ezsigntemplatesignature_attachmentnamesource import FieldEEzsigntemplatesignatureAttachmentnamesource from eZmaxApi.models.field_e_ezsigntemplatesignature_consultationtrigger import FieldEEzsigntemplatesignatureConsultationtrigger from eZmaxApi.models.field_e_ezsigntemplatesignature_dependencyrequirement import FieldEEzsigntemplatesignatureDependencyrequirement @@ -35,15 +35,67 @@ from typing import Optional, Set from typing_extensions import Self -class EzsigntemplatesignatureRequestCompound(EzsigntemplatesignatureRequest): +class EzsigntemplatesignatureRequestCompound(BaseModel): """ A Ezsigntemplatesignature Object and children """ # noqa: E501 + pki_ezsigntemplatesignature_id: Optional[Annotated[int, Field(strict=True, ge=0)]] = Field(default=None, description="The unique ID of the Ezsigntemplatesignature", alias="pkiEzsigntemplatesignatureID") + fki_ezsigntemplatedocument_id: Annotated[int, Field(strict=True, ge=0)] = Field(description="The unique ID of the Ezsigntemplatedocument", alias="fkiEzsigntemplatedocumentID") + fki_ezsigntemplatesigner_id: Annotated[int, Field(strict=True, ge=0)] = Field(description="The unique ID of the Ezsigntemplatesigner", alias="fkiEzsigntemplatesignerID") + fki_ezsigntemplatesigner_id_validation: Optional[Annotated[int, Field(strict=True, ge=0)]] = Field(default=None, description="The unique ID of the Ezsigntemplatesigner", alias="fkiEzsigntemplatesignerIDValidation") + b_ezsigntemplatesignature_handwritten: Optional[StrictBool] = Field(default=None, description="Whether the Ezsigntemplatesignature must be handwritten or not when eEzsigntemplatesignatureType = Signature.", alias="bEzsigntemplatesignatureHandwritten") + b_ezsigntemplatesignature_reason: Optional[StrictBool] = Field(default=None, description="Whether the Ezsigntemplatesignature must include a reason or not when eEzsigntemplatesignatureType = Signature.", alias="bEzsigntemplatesignatureReason") + e_ezsigntemplatesignature_positioning: Optional[FieldEEzsigntemplatesignaturePositioning] = Field(default=None, alias="eEzsigntemplatesignaturePositioning") + i_ezsigntemplatedocumentpage_pagenumber: Annotated[int, Field(strict=True, ge=1)] = Field(description="The page number in the Ezsigntemplatedocument", alias="iEzsigntemplatedocumentpagePagenumber") + i_ezsigntemplatesignature_x: Optional[Annotated[int, Field(strict=True, ge=0)]] = Field(default=None, description="The X coordinate (Horizontal) where to put the Ezsigntemplatesignature on the page. Coordinate is calculated at 100dpi (dot per inch). So for example, if you want to put the Ezsigntemplatesignature 2 inches from the left border of the page, you would use \"200\" for the X coordinate.", alias="iEzsigntemplatesignatureX") + i_ezsigntemplatesignature_y: Optional[Annotated[int, Field(strict=True, ge=0)]] = Field(default=None, description="The Y coordinate (Vertical) where to put the Ezsigntemplatesignature on the page. Coordinate is calculated at 100dpi (dot per inch). So for example, if you want to put the Ezsigntemplatesignature 3 inches from the top border of the page, you would use \"300\" for the Y coordinate.", alias="iEzsigntemplatesignatureY") + i_ezsigntemplatesignature_width: Optional[Annotated[int, Field(strict=True, ge=0)]] = Field(default=None, description="The width of the Ezsigntemplatesignature. Size is calculated at 100dpi (dot per inch). So for example, if you want the Ezsigntemplatesignature to have a width of 2 inches, you would use \"200\" for the iEzsigntemplatesignatureWidth.", alias="iEzsigntemplatesignatureWidth") + i_ezsigntemplatesignature_height: Optional[Annotated[int, Field(strict=True, ge=0)]] = Field(default=None, description="The height of the Ezsigntemplatesignature. Size is calculated at 100dpi (dot per inch). So for example, if you want the Ezsigntemplatesignature to have an height of 2 inches, you would use \"200\" for the iEzsigntemplatesignatureHeight.", alias="iEzsigntemplatesignatureHeight") + i_ezsigntemplatesignature_step: Annotated[int, Field(strict=True, ge=1)] = Field(description="The step when the Ezsigntemplatesigner will be invited to sign", alias="iEzsigntemplatesignatureStep") + e_ezsigntemplatesignature_type: FieldEEzsigntemplatesignatureType = Field(alias="eEzsigntemplatesignatureType") + e_ezsigntemplatesignature_consultationtrigger: Optional[FieldEEzsigntemplatesignatureConsultationtrigger] = Field(default=None, alias="eEzsigntemplatesignatureConsultationtrigger") + t_ezsigntemplatesignature_tooltip: Optional[StrictStr] = Field(default=None, description="A tooltip that will be presented to Ezsigntemplatesigner about the Ezsigntemplatesignature", alias="tEzsigntemplatesignatureTooltip") + e_ezsigntemplatesignature_tooltipposition: Optional[FieldEEzsigntemplatesignatureTooltipposition] = Field(default=None, alias="eEzsigntemplatesignatureTooltipposition") + e_ezsigntemplatesignature_font: Optional[FieldEEzsigntemplatesignatureFont] = Field(default=None, alias="eEzsigntemplatesignatureFont") + b_ezsigntemplatesignature_required: Optional[StrictBool] = Field(default=None, description="Whether the Ezsigntemplatesignature is required or not. This field is relevant only with Ezsigntemplatesignature with eEzsigntemplatesignatureType = Attachments.", alias="bEzsigntemplatesignatureRequired") + e_ezsigntemplatesignature_attachmentnamesource: Optional[FieldEEzsigntemplatesignatureAttachmentnamesource] = Field(default=None, alias="eEzsigntemplatesignatureAttachmentnamesource") + s_ezsigntemplatesignature_attachmentdescription: Optional[StrictStr] = Field(default=None, description="The description attached to the attachment name added in Ezsigntemplatesignature of eEzsigntemplatesignatureType Attachments", alias="sEzsigntemplatesignatureAttachmentdescription") + i_ezsigntemplatesignature_validationstep: Optional[StrictInt] = Field(default=None, description="The step when the Ezsigntemplatesigner will be invited to validate the Ezsigntemplatesignature of eEzsigntemplatesignatureType Attachments", alias="iEzsigntemplatesignatureValidationstep") + i_ezsigntemplatesignature_maxlength: Optional[Annotated[int, Field(le=65535, strict=True, ge=0)]] = Field(default=None, description="The maximum length for the value in the Ezsigntemplatesignature This can only be set if eEzsigntemplatesignatureType is **FieldText** or **FieldTextarea**", alias="iEzsigntemplatesignatureMaxlength") + s_ezsigntemplatesignature_defaultvalue: Optional[StrictStr] = Field(default=None, description="The default value for the Ezsigntemplatesignature You can use the codes below and they will be replaced at signature time. | Code | Description | Example | | ------------------------- | ------------ | ------------ | | {sUserFirstname} | The first name of the contact | John | | {sUserLastname} | The last name of the contact | Doe | | {sUserJobtitle} | The job title | Sales Representative | | {sCompany} | Company name | eZmax Solutions Inc. | | {sEmailAddress} | The email address | email@example.com | | {sPhoneE164} | A phone number in E.164 Format | +15149901516 | | {sPhoneE164Cell} | A phone number in E.164 Format | +15149901516 |", alias="sEzsigntemplatesignatureDefaultvalue") + s_ezsigntemplatesignature_regexp: Optional[Annotated[str, Field(strict=True)]] = Field(default=None, description="A regular expression to indicate what values are acceptable for the Ezsigntemplatesignature. This can only be set if eEzsigntemplatesignatureType is **Text** or **Textarea**", alias="sEzsigntemplatesignatureRegexp") + e_ezsigntemplatesignature_textvalidation: Optional[EnumTextvalidation] = Field(default=None, alias="eEzsigntemplatesignatureTextvalidation") + s_ezsigntemplatesignature_textvalidationcustommessage: Optional[Annotated[str, Field(min_length=0, strict=True, max_length=50)]] = Field(default=None, description="Description of validation rule. Show by signatory.", alias="sEzsigntemplatesignatureTextvalidationcustommessage") + e_ezsigntemplatesignature_dependencyrequirement: Optional[FieldEEzsigntemplatesignatureDependencyrequirement] = Field(default=None, alias="eEzsigntemplatesignatureDependencyrequirement") + s_ezsigntemplatesignature_positioningpattern: Optional[Annotated[str, Field(strict=True)]] = Field(default=None, description="The string pattern to search for the positioning. **This is not a regexp** This will be required if **eEzsigntemplatesignaturePositioning** is set to **PerCoordinates**", alias="sEzsigntemplatesignaturePositioningpattern") + i_ezsigntemplatesignature_positioningoffsetx: Optional[StrictInt] = Field(default=None, description="The offset X This will be required if **eEzsigntemplatesignaturePositioning** is set to **PerCoordinates**", alias="iEzsigntemplatesignaturePositioningoffsetx") + i_ezsigntemplatesignature_positioningoffsety: Optional[StrictInt] = Field(default=None, description="The offset Y This will be required if **eEzsigntemplatesignaturePositioning** is set to **PerCoordinates**", alias="iEzsigntemplatesignaturePositioningoffsety") + e_ezsigntemplatesignature_positioningoccurence: Optional[FieldEEzsigntemplatesignaturePositioningoccurence] = Field(default=None, alias="eEzsigntemplatesignaturePositioningoccurence") b_ezsigntemplatesignature_customdate: Optional[StrictBool] = Field(default=None, description="Whether the Ezsigntemplatesignature has a custom date format or not. (Only possible when eEzsigntemplatesignatureType is **Name** or **Handwritten**)", alias="bEzsigntemplatesignatureCustomdate") - a_obj_ezsigntemplatesignaturecustomdate: Optional[List[EzsigntemplatesignaturecustomdateRequest]] = Field(default=None, description="An array of custom date blocks that will be filled at the time of signature. Can only be used if bEzsigntemplatesignatureCustomdate is true. Use an empty array if you don't want to have a date at all.", alias="a_objEzsigntemplatesignaturecustomdate") - a_obj_ezsigntemplateelementdependency: Optional[List[EzsigntemplateelementdependencyRequest]] = Field(default=None, alias="a_objEzsigntemplateelementdependency") + a_obj_ezsigntemplatesignaturecustomdate: Optional[List[EzsigntemplatesignaturecustomdateRequestCompound]] = Field(default=None, description="An array of custom date blocks that will be filled at the time of signature. Can only be used if bEzsigntemplatesignatureCustomdate is true. Use an empty array if you don't want to have a date at all.", alias="a_objEzsigntemplatesignaturecustomdate") + a_obj_ezsigntemplateelementdependency: Optional[List[EzsigntemplateelementdependencyRequestCompound]] = Field(default=None, alias="a_objEzsigntemplateelementdependency") __properties: ClassVar[List[str]] = ["pkiEzsigntemplatesignatureID", "fkiEzsigntemplatedocumentID", "fkiEzsigntemplatesignerID", "fkiEzsigntemplatesignerIDValidation", "bEzsigntemplatesignatureHandwritten", "bEzsigntemplatesignatureReason", "eEzsigntemplatesignaturePositioning", "iEzsigntemplatedocumentpagePagenumber", "iEzsigntemplatesignatureX", "iEzsigntemplatesignatureY", "iEzsigntemplatesignatureWidth", "iEzsigntemplatesignatureHeight", "iEzsigntemplatesignatureStep", "eEzsigntemplatesignatureType", "eEzsigntemplatesignatureConsultationtrigger", "tEzsigntemplatesignatureTooltip", "eEzsigntemplatesignatureTooltipposition", "eEzsigntemplatesignatureFont", "bEzsigntemplatesignatureRequired", "eEzsigntemplatesignatureAttachmentnamesource", "sEzsigntemplatesignatureAttachmentdescription", "iEzsigntemplatesignatureValidationstep", "iEzsigntemplatesignatureMaxlength", "sEzsigntemplatesignatureDefaultvalue", "sEzsigntemplatesignatureRegexp", "eEzsigntemplatesignatureTextvalidation", "sEzsigntemplatesignatureTextvalidationcustommessage", "eEzsigntemplatesignatureDependencyrequirement", "sEzsigntemplatesignaturePositioningpattern", "iEzsigntemplatesignaturePositioningoffsetx", "iEzsigntemplatesignaturePositioningoffsety", "eEzsigntemplatesignaturePositioningoccurence", "bEzsigntemplatesignatureCustomdate", "a_objEzsigntemplatesignaturecustomdate", "a_objEzsigntemplateelementdependency"] + @field_validator('s_ezsigntemplatesignature_regexp') + def s_ezsigntemplatesignature_regexp_validate_regular_expression(cls, value): + """Validates the regular expression""" + if value is None: + return value + + if not re.match(r"^\^.*\$$|^$", value): + raise ValueError(r"must validate the regular expression /^\^.*\$$|^$/") + return value + + @field_validator('s_ezsigntemplatesignature_positioningpattern') + def s_ezsigntemplatesignature_positioningpattern_validate_regular_expression(cls, value): + """Validates the regular expression""" + if value is None: + return value + + if not re.match(r"^.{0,30}$", value): + raise ValueError(r"must validate the regular expression /^.{0,30}$/") + return value + model_config = ConfigDict( populate_by_name=True, validate_assignment=True, @@ -142,8 +194,8 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: "iEzsigntemplatesignaturePositioningoffsety": obj.get("iEzsigntemplatesignaturePositioningoffsety"), "eEzsigntemplatesignaturePositioningoccurence": obj.get("eEzsigntemplatesignaturePositioningoccurence"), "bEzsigntemplatesignatureCustomdate": obj.get("bEzsigntemplatesignatureCustomdate"), - "a_objEzsigntemplatesignaturecustomdate": [EzsigntemplatesignaturecustomdateRequest.from_dict(_item) for _item in obj["a_objEzsigntemplatesignaturecustomdate"]] if obj.get("a_objEzsigntemplatesignaturecustomdate") is not None else None, - "a_objEzsigntemplateelementdependency": [EzsigntemplateelementdependencyRequest.from_dict(_item) for _item in obj["a_objEzsigntemplateelementdependency"]] if obj.get("a_objEzsigntemplateelementdependency") is not None else None + "a_objEzsigntemplatesignaturecustomdate": [EzsigntemplatesignaturecustomdateRequestCompound.from_dict(_item) for _item in obj["a_objEzsigntemplatesignaturecustomdate"]] if obj.get("a_objEzsigntemplatesignaturecustomdate") is not None else None, + "a_objEzsigntemplateelementdependency": [EzsigntemplateelementdependencyRequestCompound.from_dict(_item) for _item in obj["a_objEzsigntemplateelementdependency"]] if obj.get("a_objEzsigntemplateelementdependency") is not None else None }) return _obj diff --git a/eZmaxApi/models/ezsigntemplatesignature_request_compound_v2.py b/eZmaxApi/models/ezsigntemplatesignature_request_compound_v2.py index 23341a6f4..d0bbf5d08 100644 --- a/eZmaxApi/models/ezsigntemplatesignature_request_compound_v2.py +++ b/eZmaxApi/models/ezsigntemplatesignature_request_compound_v2.py @@ -18,12 +18,12 @@ import re # noqa: F401 import json -from pydantic import ConfigDict, Field, StrictBool +from pydantic import BaseModel, ConfigDict, Field, StrictBool, StrictInt, StrictStr, field_validator from typing import Any, ClassVar, Dict, List, Optional +from typing_extensions import Annotated from eZmaxApi.models.enum_textvalidation import EnumTextvalidation -from eZmaxApi.models.ezsigntemplateelementdependency_request import EzsigntemplateelementdependencyRequest -from eZmaxApi.models.ezsigntemplatesignature_request import EzsigntemplatesignatureRequest -from eZmaxApi.models.ezsigntemplatesignaturecustomdate_request_v2 import EzsigntemplatesignaturecustomdateRequestV2 +from eZmaxApi.models.ezsigntemplateelementdependency_request_compound import EzsigntemplateelementdependencyRequestCompound +from eZmaxApi.models.ezsigntemplatesignaturecustomdate_request_compound_v2 import EzsigntemplatesignaturecustomdateRequestCompoundV2 from eZmaxApi.models.field_e_ezsigntemplatesignature_attachmentnamesource import FieldEEzsigntemplatesignatureAttachmentnamesource from eZmaxApi.models.field_e_ezsigntemplatesignature_consultationtrigger import FieldEEzsigntemplatesignatureConsultationtrigger from eZmaxApi.models.field_e_ezsigntemplatesignature_dependencyrequirement import FieldEEzsigntemplatesignatureDependencyrequirement @@ -35,15 +35,67 @@ from typing import Optional, Set from typing_extensions import Self -class EzsigntemplatesignatureRequestCompoundV2(EzsigntemplatesignatureRequest): +class EzsigntemplatesignatureRequestCompoundV2(BaseModel): """ A Ezsigntemplatesignature Object and children """ # noqa: E501 + pki_ezsigntemplatesignature_id: Optional[Annotated[int, Field(strict=True, ge=0)]] = Field(default=None, description="The unique ID of the Ezsigntemplatesignature", alias="pkiEzsigntemplatesignatureID") + fki_ezsigntemplatedocument_id: Annotated[int, Field(strict=True, ge=0)] = Field(description="The unique ID of the Ezsigntemplatedocument", alias="fkiEzsigntemplatedocumentID") + fki_ezsigntemplatesigner_id: Annotated[int, Field(strict=True, ge=0)] = Field(description="The unique ID of the Ezsigntemplatesigner", alias="fkiEzsigntemplatesignerID") + fki_ezsigntemplatesigner_id_validation: Optional[Annotated[int, Field(strict=True, ge=0)]] = Field(default=None, description="The unique ID of the Ezsigntemplatesigner", alias="fkiEzsigntemplatesignerIDValidation") + b_ezsigntemplatesignature_handwritten: Optional[StrictBool] = Field(default=None, description="Whether the Ezsigntemplatesignature must be handwritten or not when eEzsigntemplatesignatureType = Signature.", alias="bEzsigntemplatesignatureHandwritten") + b_ezsigntemplatesignature_reason: Optional[StrictBool] = Field(default=None, description="Whether the Ezsigntemplatesignature must include a reason or not when eEzsigntemplatesignatureType = Signature.", alias="bEzsigntemplatesignatureReason") + e_ezsigntemplatesignature_positioning: Optional[FieldEEzsigntemplatesignaturePositioning] = Field(default=None, alias="eEzsigntemplatesignaturePositioning") + i_ezsigntemplatedocumentpage_pagenumber: Annotated[int, Field(strict=True, ge=1)] = Field(description="The page number in the Ezsigntemplatedocument", alias="iEzsigntemplatedocumentpagePagenumber") + i_ezsigntemplatesignature_x: Optional[Annotated[int, Field(strict=True, ge=0)]] = Field(default=None, description="The X coordinate (Horizontal) where to put the Ezsigntemplatesignature on the page. Coordinate is calculated at 100dpi (dot per inch). So for example, if you want to put the Ezsigntemplatesignature 2 inches from the left border of the page, you would use \"200\" for the X coordinate.", alias="iEzsigntemplatesignatureX") + i_ezsigntemplatesignature_y: Optional[Annotated[int, Field(strict=True, ge=0)]] = Field(default=None, description="The Y coordinate (Vertical) where to put the Ezsigntemplatesignature on the page. Coordinate is calculated at 100dpi (dot per inch). So for example, if you want to put the Ezsigntemplatesignature 3 inches from the top border of the page, you would use \"300\" for the Y coordinate.", alias="iEzsigntemplatesignatureY") + i_ezsigntemplatesignature_width: Optional[Annotated[int, Field(strict=True, ge=0)]] = Field(default=None, description="The width of the Ezsigntemplatesignature. Size is calculated at 100dpi (dot per inch). So for example, if you want the Ezsigntemplatesignature to have a width of 2 inches, you would use \"200\" for the iEzsigntemplatesignatureWidth.", alias="iEzsigntemplatesignatureWidth") + i_ezsigntemplatesignature_height: Optional[Annotated[int, Field(strict=True, ge=0)]] = Field(default=None, description="The height of the Ezsigntemplatesignature. Size is calculated at 100dpi (dot per inch). So for example, if you want the Ezsigntemplatesignature to have an height of 2 inches, you would use \"200\" for the iEzsigntemplatesignatureHeight.", alias="iEzsigntemplatesignatureHeight") + i_ezsigntemplatesignature_step: Annotated[int, Field(strict=True, ge=1)] = Field(description="The step when the Ezsigntemplatesigner will be invited to sign", alias="iEzsigntemplatesignatureStep") + e_ezsigntemplatesignature_type: FieldEEzsigntemplatesignatureType = Field(alias="eEzsigntemplatesignatureType") + e_ezsigntemplatesignature_consultationtrigger: Optional[FieldEEzsigntemplatesignatureConsultationtrigger] = Field(default=None, alias="eEzsigntemplatesignatureConsultationtrigger") + t_ezsigntemplatesignature_tooltip: Optional[StrictStr] = Field(default=None, description="A tooltip that will be presented to Ezsigntemplatesigner about the Ezsigntemplatesignature", alias="tEzsigntemplatesignatureTooltip") + e_ezsigntemplatesignature_tooltipposition: Optional[FieldEEzsigntemplatesignatureTooltipposition] = Field(default=None, alias="eEzsigntemplatesignatureTooltipposition") + e_ezsigntemplatesignature_font: Optional[FieldEEzsigntemplatesignatureFont] = Field(default=None, alias="eEzsigntemplatesignatureFont") + b_ezsigntemplatesignature_required: Optional[StrictBool] = Field(default=None, description="Whether the Ezsigntemplatesignature is required or not. This field is relevant only with Ezsigntemplatesignature with eEzsigntemplatesignatureType = Attachments.", alias="bEzsigntemplatesignatureRequired") + e_ezsigntemplatesignature_attachmentnamesource: Optional[FieldEEzsigntemplatesignatureAttachmentnamesource] = Field(default=None, alias="eEzsigntemplatesignatureAttachmentnamesource") + s_ezsigntemplatesignature_attachmentdescription: Optional[StrictStr] = Field(default=None, description="The description attached to the attachment name added in Ezsigntemplatesignature of eEzsigntemplatesignatureType Attachments", alias="sEzsigntemplatesignatureAttachmentdescription") + i_ezsigntemplatesignature_validationstep: Optional[StrictInt] = Field(default=None, description="The step when the Ezsigntemplatesigner will be invited to validate the Ezsigntemplatesignature of eEzsigntemplatesignatureType Attachments", alias="iEzsigntemplatesignatureValidationstep") + i_ezsigntemplatesignature_maxlength: Optional[Annotated[int, Field(le=65535, strict=True, ge=0)]] = Field(default=None, description="The maximum length for the value in the Ezsigntemplatesignature This can only be set if eEzsigntemplatesignatureType is **FieldText** or **FieldTextarea**", alias="iEzsigntemplatesignatureMaxlength") + s_ezsigntemplatesignature_defaultvalue: Optional[StrictStr] = Field(default=None, description="The default value for the Ezsigntemplatesignature You can use the codes below and they will be replaced at signature time. | Code | Description | Example | | ------------------------- | ------------ | ------------ | | {sUserFirstname} | The first name of the contact | John | | {sUserLastname} | The last name of the contact | Doe | | {sUserJobtitle} | The job title | Sales Representative | | {sCompany} | Company name | eZmax Solutions Inc. | | {sEmailAddress} | The email address | email@example.com | | {sPhoneE164} | A phone number in E.164 Format | +15149901516 | | {sPhoneE164Cell} | A phone number in E.164 Format | +15149901516 |", alias="sEzsigntemplatesignatureDefaultvalue") + s_ezsigntemplatesignature_regexp: Optional[Annotated[str, Field(strict=True)]] = Field(default=None, description="A regular expression to indicate what values are acceptable for the Ezsigntemplatesignature. This can only be set if eEzsigntemplatesignatureType is **Text** or **Textarea**", alias="sEzsigntemplatesignatureRegexp") + e_ezsigntemplatesignature_textvalidation: Optional[EnumTextvalidation] = Field(default=None, alias="eEzsigntemplatesignatureTextvalidation") + s_ezsigntemplatesignature_textvalidationcustommessage: Optional[Annotated[str, Field(min_length=0, strict=True, max_length=50)]] = Field(default=None, description="Description of validation rule. Show by signatory.", alias="sEzsigntemplatesignatureTextvalidationcustommessage") + e_ezsigntemplatesignature_dependencyrequirement: Optional[FieldEEzsigntemplatesignatureDependencyrequirement] = Field(default=None, alias="eEzsigntemplatesignatureDependencyrequirement") + s_ezsigntemplatesignature_positioningpattern: Optional[Annotated[str, Field(strict=True)]] = Field(default=None, description="The string pattern to search for the positioning. **This is not a regexp** This will be required if **eEzsigntemplatesignaturePositioning** is set to **PerCoordinates**", alias="sEzsigntemplatesignaturePositioningpattern") + i_ezsigntemplatesignature_positioningoffsetx: Optional[StrictInt] = Field(default=None, description="The offset X This will be required if **eEzsigntemplatesignaturePositioning** is set to **PerCoordinates**", alias="iEzsigntemplatesignaturePositioningoffsetx") + i_ezsigntemplatesignature_positioningoffsety: Optional[StrictInt] = Field(default=None, description="The offset Y This will be required if **eEzsigntemplatesignaturePositioning** is set to **PerCoordinates**", alias="iEzsigntemplatesignaturePositioningoffsety") + e_ezsigntemplatesignature_positioningoccurence: Optional[FieldEEzsigntemplatesignaturePositioningoccurence] = Field(default=None, alias="eEzsigntemplatesignaturePositioningoccurence") b_ezsigntemplatesignature_customdate: Optional[StrictBool] = Field(default=None, description="Whether the Ezsigntemplatesignature has a custom date format or not. (Only possible when eEzsigntemplatesignatureType is **Name** or **Handwritten**)", alias="bEzsigntemplatesignatureCustomdate") - a_obj_ezsigntemplatesignaturecustomdate: Optional[List[EzsigntemplatesignaturecustomdateRequestV2]] = Field(default=None, description="An array of custom date blocks that will be filled at the time of signature. Can only be used if bEzsigntemplatesignatureCustomdate is true. Use an empty array if you don't want to have a date at all.", alias="a_objEzsigntemplatesignaturecustomdate") - a_obj_ezsigntemplateelementdependency: Optional[List[EzsigntemplateelementdependencyRequest]] = Field(default=None, alias="a_objEzsigntemplateelementdependency") + a_obj_ezsigntemplatesignaturecustomdate: Optional[List[EzsigntemplatesignaturecustomdateRequestCompoundV2]] = Field(default=None, description="An array of custom date blocks that will be filled at the time of signature. Can only be used if bEzsigntemplatesignatureCustomdate is true. Use an empty array if you don't want to have a date at all.", alias="a_objEzsigntemplatesignaturecustomdate") + a_obj_ezsigntemplateelementdependency: Optional[List[EzsigntemplateelementdependencyRequestCompound]] = Field(default=None, alias="a_objEzsigntemplateelementdependency") __properties: ClassVar[List[str]] = ["pkiEzsigntemplatesignatureID", "fkiEzsigntemplatedocumentID", "fkiEzsigntemplatesignerID", "fkiEzsigntemplatesignerIDValidation", "bEzsigntemplatesignatureHandwritten", "bEzsigntemplatesignatureReason", "eEzsigntemplatesignaturePositioning", "iEzsigntemplatedocumentpagePagenumber", "iEzsigntemplatesignatureX", "iEzsigntemplatesignatureY", "iEzsigntemplatesignatureWidth", "iEzsigntemplatesignatureHeight", "iEzsigntemplatesignatureStep", "eEzsigntemplatesignatureType", "eEzsigntemplatesignatureConsultationtrigger", "tEzsigntemplatesignatureTooltip", "eEzsigntemplatesignatureTooltipposition", "eEzsigntemplatesignatureFont", "bEzsigntemplatesignatureRequired", "eEzsigntemplatesignatureAttachmentnamesource", "sEzsigntemplatesignatureAttachmentdescription", "iEzsigntemplatesignatureValidationstep", "iEzsigntemplatesignatureMaxlength", "sEzsigntemplatesignatureDefaultvalue", "sEzsigntemplatesignatureRegexp", "eEzsigntemplatesignatureTextvalidation", "sEzsigntemplatesignatureTextvalidationcustommessage", "eEzsigntemplatesignatureDependencyrequirement", "sEzsigntemplatesignaturePositioningpattern", "iEzsigntemplatesignaturePositioningoffsetx", "iEzsigntemplatesignaturePositioningoffsety", "eEzsigntemplatesignaturePositioningoccurence", "bEzsigntemplatesignatureCustomdate", "a_objEzsigntemplatesignaturecustomdate", "a_objEzsigntemplateelementdependency"] + @field_validator('s_ezsigntemplatesignature_regexp') + def s_ezsigntemplatesignature_regexp_validate_regular_expression(cls, value): + """Validates the regular expression""" + if value is None: + return value + + if not re.match(r"^\^.*\$$|^$", value): + raise ValueError(r"must validate the regular expression /^\^.*\$$|^$/") + return value + + @field_validator('s_ezsigntemplatesignature_positioningpattern') + def s_ezsigntemplatesignature_positioningpattern_validate_regular_expression(cls, value): + """Validates the regular expression""" + if value is None: + return value + + if not re.match(r"^.{0,30}$", value): + raise ValueError(r"must validate the regular expression /^.{0,30}$/") + return value + model_config = ConfigDict( populate_by_name=True, validate_assignment=True, @@ -142,8 +194,8 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: "iEzsigntemplatesignaturePositioningoffsety": obj.get("iEzsigntemplatesignaturePositioningoffsety"), "eEzsigntemplatesignaturePositioningoccurence": obj.get("eEzsigntemplatesignaturePositioningoccurence"), "bEzsigntemplatesignatureCustomdate": obj.get("bEzsigntemplatesignatureCustomdate"), - "a_objEzsigntemplatesignaturecustomdate": [EzsigntemplatesignaturecustomdateRequestV2.from_dict(_item) for _item in obj["a_objEzsigntemplatesignaturecustomdate"]] if obj.get("a_objEzsigntemplatesignaturecustomdate") is not None else None, - "a_objEzsigntemplateelementdependency": [EzsigntemplateelementdependencyRequest.from_dict(_item) for _item in obj["a_objEzsigntemplateelementdependency"]] if obj.get("a_objEzsigntemplateelementdependency") is not None else None + "a_objEzsigntemplatesignaturecustomdate": [EzsigntemplatesignaturecustomdateRequestCompoundV2.from_dict(_item) for _item in obj["a_objEzsigntemplatesignaturecustomdate"]] if obj.get("a_objEzsigntemplatesignaturecustomdate") is not None else None, + "a_objEzsigntemplateelementdependency": [EzsigntemplateelementdependencyRequestCompound.from_dict(_item) for _item in obj["a_objEzsigntemplateelementdependency"]] if obj.get("a_objEzsigntemplateelementdependency") is not None else None }) return _obj diff --git a/eZmaxApi/models/ezsigntemplatesignature_response.py b/eZmaxApi/models/ezsigntemplatesignature_response.py index d1efa458a..6412de9cf 100644 --- a/eZmaxApi/models/ezsigntemplatesignature_response.py +++ b/eZmaxApi/models/ezsigntemplatesignature_response.py @@ -133,7 +133,48 @@ def to_dict(self) -> Dict[str, Any]: return _dict @classmethod - def from_dict(cls, obj: Dict[str, Any]) -> Optional[Self]: + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: """Create an instance of EzsigntemplatesignatureResponse from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "pkiEzsigntemplatesignatureID": obj.get("pkiEzsigntemplatesignatureID"), + "fkiEzsigntemplatedocumentID": obj.get("fkiEzsigntemplatedocumentID"), + "fkiEzsigntemplatesignerID": obj.get("fkiEzsigntemplatesignerID"), + "fkiEzsigntemplatesignerIDValidation": obj.get("fkiEzsigntemplatesignerIDValidation"), + "bEzsigntemplatesignatureHandwritten": obj.get("bEzsigntemplatesignatureHandwritten"), + "bEzsigntemplatesignatureReason": obj.get("bEzsigntemplatesignatureReason"), + "eEzsigntemplatesignaturePositioning": obj.get("eEzsigntemplatesignaturePositioning"), + "iEzsigntemplatedocumentpagePagenumber": obj.get("iEzsigntemplatedocumentpagePagenumber"), + "iEzsigntemplatesignatureX": obj.get("iEzsigntemplatesignatureX"), + "iEzsigntemplatesignatureY": obj.get("iEzsigntemplatesignatureY"), + "iEzsigntemplatesignatureWidth": obj.get("iEzsigntemplatesignatureWidth"), + "iEzsigntemplatesignatureHeight": obj.get("iEzsigntemplatesignatureHeight"), + "iEzsigntemplatesignatureStep": obj.get("iEzsigntemplatesignatureStep"), + "eEzsigntemplatesignatureType": obj.get("eEzsigntemplatesignatureType"), + "eEzsigntemplatesignatureConsultationtrigger": obj.get("eEzsigntemplatesignatureConsultationtrigger"), + "tEzsigntemplatesignatureTooltip": obj.get("tEzsigntemplatesignatureTooltip"), + "eEzsigntemplatesignatureTooltipposition": obj.get("eEzsigntemplatesignatureTooltipposition"), + "eEzsigntemplatesignatureFont": obj.get("eEzsigntemplatesignatureFont"), + "iEzsigntemplatesignatureValidationstep": obj.get("iEzsigntemplatesignatureValidationstep"), + "sEzsigntemplatesignatureAttachmentdescription": obj.get("sEzsigntemplatesignatureAttachmentdescription"), + "eEzsigntemplatesignatureAttachmentnamesource": obj.get("eEzsigntemplatesignatureAttachmentnamesource"), + "bEzsigntemplatesignatureRequired": obj.get("bEzsigntemplatesignatureRequired"), + "iEzsigntemplatesignatureMaxlength": obj.get("iEzsigntemplatesignatureMaxlength"), + "sEzsigntemplatesignatureDefaultvalue": obj.get("sEzsigntemplatesignatureDefaultvalue"), + "sEzsigntemplatesignatureRegexp": obj.get("sEzsigntemplatesignatureRegexp"), + "eEzsigntemplatesignatureTextvalidation": obj.get("eEzsigntemplatesignatureTextvalidation"), + "sEzsigntemplatesignatureTextvalidationcustommessage": obj.get("sEzsigntemplatesignatureTextvalidationcustommessage"), + "eEzsigntemplatesignatureDependencyrequirement": obj.get("eEzsigntemplatesignatureDependencyrequirement"), + "sEzsigntemplatesignaturePositioningpattern": obj.get("sEzsigntemplatesignaturePositioningpattern"), + "iEzsigntemplatesignaturePositioningoffsetx": obj.get("iEzsigntemplatesignaturePositioningoffsetx"), + "iEzsigntemplatesignaturePositioningoffsety": obj.get("iEzsigntemplatesignaturePositioningoffsety"), + "eEzsigntemplatesignaturePositioningoccurence": obj.get("eEzsigntemplatesignaturePositioningoccurence") + }) + return _obj diff --git a/eZmaxApi/models/ezsigntemplatesignature_response_compound.py b/eZmaxApi/models/ezsigntemplatesignature_response_compound.py index 1ad4258e9..740487d7f 100644 --- a/eZmaxApi/models/ezsigntemplatesignature_response_compound.py +++ b/eZmaxApi/models/ezsigntemplatesignature_response_compound.py @@ -18,12 +18,12 @@ import re # noqa: F401 import json -from pydantic import ConfigDict, Field, StrictBool +from pydantic import BaseModel, ConfigDict, Field, StrictBool, StrictInt, StrictStr, field_validator from typing import Any, ClassVar, Dict, List, Optional +from typing_extensions import Annotated from eZmaxApi.models.enum_textvalidation import EnumTextvalidation -from eZmaxApi.models.ezsigntemplateelementdependency_response import EzsigntemplateelementdependencyResponse -from eZmaxApi.models.ezsigntemplatesignature_response import EzsigntemplatesignatureResponse -from eZmaxApi.models.ezsigntemplatesignaturecustomdate_response import EzsigntemplatesignaturecustomdateResponse +from eZmaxApi.models.ezsigntemplateelementdependency_response_compound import EzsigntemplateelementdependencyResponseCompound +from eZmaxApi.models.ezsigntemplatesignaturecustomdate_response_compound import EzsigntemplatesignaturecustomdateResponseCompound from eZmaxApi.models.field_e_ezsigntemplatesignature_attachmentnamesource import FieldEEzsigntemplatesignatureAttachmentnamesource from eZmaxApi.models.field_e_ezsigntemplatesignature_consultationtrigger import FieldEEzsigntemplatesignatureConsultationtrigger from eZmaxApi.models.field_e_ezsigntemplatesignature_dependencyrequirement import FieldEEzsigntemplatesignatureDependencyrequirement @@ -35,15 +35,67 @@ from typing import Optional, Set from typing_extensions import Self -class EzsigntemplatesignatureResponseCompound(EzsigntemplatesignatureResponse): +class EzsigntemplatesignatureResponseCompound(BaseModel): """ A Ezsigntemplatesignature Object """ # noqa: E501 + pki_ezsigntemplatesignature_id: Annotated[int, Field(strict=True, ge=0)] = Field(description="The unique ID of the Ezsigntemplatesignature", alias="pkiEzsigntemplatesignatureID") + fki_ezsigntemplatedocument_id: Annotated[int, Field(strict=True, ge=0)] = Field(description="The unique ID of the Ezsigntemplatedocument", alias="fkiEzsigntemplatedocumentID") + fki_ezsigntemplatesigner_id: Annotated[int, Field(strict=True, ge=0)] = Field(description="The unique ID of the Ezsigntemplatesigner", alias="fkiEzsigntemplatesignerID") + fki_ezsigntemplatesigner_id_validation: Optional[Annotated[int, Field(strict=True, ge=0)]] = Field(default=None, description="The unique ID of the Ezsigntemplatesigner", alias="fkiEzsigntemplatesignerIDValidation") + b_ezsigntemplatesignature_handwritten: Optional[StrictBool] = Field(default=None, description="Whether the Ezsigntemplatesignature must be handwritten or not when eEzsigntemplatesignatureType = Signature.", alias="bEzsigntemplatesignatureHandwritten") + b_ezsigntemplatesignature_reason: Optional[StrictBool] = Field(default=None, description="Whether the Ezsigntemplatesignature must include a reason or not when eEzsigntemplatesignatureType = Signature.", alias="bEzsigntemplatesignatureReason") + e_ezsigntemplatesignature_positioning: Optional[FieldEEzsigntemplatesignaturePositioning] = Field(default=None, alias="eEzsigntemplatesignaturePositioning") + i_ezsigntemplatedocumentpage_pagenumber: Annotated[int, Field(strict=True, ge=1)] = Field(description="The page number in the Ezsigntemplatedocument", alias="iEzsigntemplatedocumentpagePagenumber") + i_ezsigntemplatesignature_x: Optional[Annotated[int, Field(strict=True, ge=0)]] = Field(default=None, description="The X coordinate (Horizontal) where to put the Ezsigntemplatesignature on the page. Coordinate is calculated at 100dpi (dot per inch). So for example, if you want to put the Ezsigntemplatesignature 2 inches from the left border of the page, you would use \"200\" for the X coordinate.", alias="iEzsigntemplatesignatureX") + i_ezsigntemplatesignature_y: Optional[Annotated[int, Field(strict=True, ge=0)]] = Field(default=None, description="The Y coordinate (Vertical) where to put the Ezsigntemplatesignature on the page. Coordinate is calculated at 100dpi (dot per inch). So for example, if you want to put the Ezsigntemplatesignature 3 inches from the top border of the page, you would use \"300\" for the Y coordinate.", alias="iEzsigntemplatesignatureY") + i_ezsigntemplatesignature_width: Optional[Annotated[int, Field(strict=True, ge=0)]] = Field(default=None, description="The width of the Ezsigntemplatesignature. Size is calculated at 100dpi (dot per inch). So for example, if you want the Ezsigntemplatesignature to have a width of 2 inches, you would use \"200\" for the iEzsigntemplatesignatureWidth.", alias="iEzsigntemplatesignatureWidth") + i_ezsigntemplatesignature_height: Optional[Annotated[int, Field(strict=True, ge=0)]] = Field(default=None, description="The height of the Ezsigntemplatesignature. Size is calculated at 100dpi (dot per inch). So for example, if you want the Ezsigntemplatesignature to have an height of 2 inches, you would use \"200\" for the iEzsigntemplatesignatureHeight.", alias="iEzsigntemplatesignatureHeight") + i_ezsigntemplatesignature_step: Annotated[int, Field(strict=True, ge=1)] = Field(description="The step when the Ezsigntemplatesigner will be invited to sign", alias="iEzsigntemplatesignatureStep") + e_ezsigntemplatesignature_type: FieldEEzsigntemplatesignatureType = Field(alias="eEzsigntemplatesignatureType") + e_ezsigntemplatesignature_consultationtrigger: Optional[FieldEEzsigntemplatesignatureConsultationtrigger] = Field(default=None, alias="eEzsigntemplatesignatureConsultationtrigger") + t_ezsigntemplatesignature_tooltip: Optional[StrictStr] = Field(default=None, description="A tooltip that will be presented to Ezsigntemplatesigner about the Ezsigntemplatesignature", alias="tEzsigntemplatesignatureTooltip") + e_ezsigntemplatesignature_tooltipposition: Optional[FieldEEzsigntemplatesignatureTooltipposition] = Field(default=None, alias="eEzsigntemplatesignatureTooltipposition") + e_ezsigntemplatesignature_font: Optional[FieldEEzsigntemplatesignatureFont] = Field(default=None, alias="eEzsigntemplatesignatureFont") + i_ezsigntemplatesignature_validationstep: Optional[StrictInt] = Field(default=None, description="The step when the Ezsigntemplatesigner will be invited to validate the Ezsigntemplatesignature of eEzsigntemplatesignatureType Attachments", alias="iEzsigntemplatesignatureValidationstep") + s_ezsigntemplatesignature_attachmentdescription: Optional[StrictStr] = Field(default=None, description="The description attached to the attachment name added in Ezsigntemplatesignature of eEzsigntemplatesignatureType Attachments", alias="sEzsigntemplatesignatureAttachmentdescription") + e_ezsigntemplatesignature_attachmentnamesource: Optional[FieldEEzsigntemplatesignatureAttachmentnamesource] = Field(default=None, alias="eEzsigntemplatesignatureAttachmentnamesource") + b_ezsigntemplatesignature_required: Optional[StrictBool] = Field(default=None, description="Whether the Ezsigntemplatesignature is required or not. This field is relevant only with Ezsigntemplatesignature with eEzsigntemplatesignatureType = Attachments.", alias="bEzsigntemplatesignatureRequired") + i_ezsigntemplatesignature_maxlength: Optional[Annotated[int, Field(le=65535, strict=True, ge=0)]] = Field(default=None, description="The maximum length for the value in the Ezsigntemplatesignature This can only be set if eEzsigntemplatesignatureType is **FieldText** or **FieldTextarea**", alias="iEzsigntemplatesignatureMaxlength") + s_ezsigntemplatesignature_defaultvalue: Optional[StrictStr] = Field(default=None, description="The default value for the Ezsigntemplatesignature You can use the codes below and they will be replaced at signature time. | Code | Description | Example | | ------------------------- | ------------ | ------------ | | {sUserFirstname} | The first name of the contact | John | | {sUserLastname} | The last name of the contact | Doe | | {sUserJobtitle} | The job title | Sales Representative | | {sCompany} | Company name | eZmax Solutions Inc. | | {sEmailAddress} | The email address | email@example.com | | {sPhoneE164} | A phone number in E.164 Format | +15149901516 | | {sPhoneE164Cell} | A phone number in E.164 Format | +15149901516 |", alias="sEzsigntemplatesignatureDefaultvalue") + s_ezsigntemplatesignature_regexp: Optional[Annotated[str, Field(strict=True)]] = Field(default=None, description="A regular expression to indicate what values are acceptable for the Ezsigntemplatesignature. This can only be set if eEzsigntemplatesignatureType is **Text** or **Textarea**", alias="sEzsigntemplatesignatureRegexp") + e_ezsigntemplatesignature_textvalidation: Optional[EnumTextvalidation] = Field(default=None, alias="eEzsigntemplatesignatureTextvalidation") + s_ezsigntemplatesignature_textvalidationcustommessage: Optional[Annotated[str, Field(min_length=0, strict=True, max_length=50)]] = Field(default=None, description="Description of validation rule. Show by signatory.", alias="sEzsigntemplatesignatureTextvalidationcustommessage") + e_ezsigntemplatesignature_dependencyrequirement: Optional[FieldEEzsigntemplatesignatureDependencyrequirement] = Field(default=None, alias="eEzsigntemplatesignatureDependencyrequirement") + s_ezsigntemplatesignature_positioningpattern: Optional[Annotated[str, Field(strict=True)]] = Field(default=None, description="The string pattern to search for the positioning. **This is not a regexp** This will be required if **eEzsigntemplatesignaturePositioning** is set to **PerCoordinates**", alias="sEzsigntemplatesignaturePositioningpattern") + i_ezsigntemplatesignature_positioningoffsetx: Optional[StrictInt] = Field(default=None, description="The offset X This will be required if **eEzsigntemplatesignaturePositioning** is set to **PerCoordinates**", alias="iEzsigntemplatesignaturePositioningoffsetx") + i_ezsigntemplatesignature_positioningoffsety: Optional[StrictInt] = Field(default=None, description="The offset Y This will be required if **eEzsigntemplatesignaturePositioning** is set to **PerCoordinates**", alias="iEzsigntemplatesignaturePositioningoffsety") + e_ezsigntemplatesignature_positioningoccurence: Optional[FieldEEzsigntemplatesignaturePositioningoccurence] = Field(default=None, alias="eEzsigntemplatesignaturePositioningoccurence") b_ezsigntemplatesignature_customdate: Optional[StrictBool] = Field(default=None, description="Whether the Ezsigntemplatesignature has a custom date format or not. (Only possible when eEzsigntemplatesignatureType is **Name** or **Handwritten**)", alias="bEzsigntemplatesignatureCustomdate") - a_obj_ezsigntemplatesignaturecustomdate: Optional[List[EzsigntemplatesignaturecustomdateResponse]] = Field(default=None, description="An array of custom date blocks that will be filled at the time of signature. Can only be used if bEzsigntemplatesignatureCustomdate is true. Use an empty array if you don't want to have a date at all.", alias="a_objEzsigntemplatesignaturecustomdate") - a_obj_ezsigntemplateelementdependency: Optional[List[EzsigntemplateelementdependencyResponse]] = Field(default=None, alias="a_objEzsigntemplateelementdependency") + a_obj_ezsigntemplatesignaturecustomdate: Optional[List[EzsigntemplatesignaturecustomdateResponseCompound]] = Field(default=None, description="An array of custom date blocks that will be filled at the time of signature. Can only be used if bEzsigntemplatesignatureCustomdate is true. Use an empty array if you don't want to have a date at all.", alias="a_objEzsigntemplatesignaturecustomdate") + a_obj_ezsigntemplateelementdependency: Optional[List[EzsigntemplateelementdependencyResponseCompound]] = Field(default=None, alias="a_objEzsigntemplateelementdependency") __properties: ClassVar[List[str]] = ["pkiEzsigntemplatesignatureID", "fkiEzsigntemplatedocumentID", "fkiEzsigntemplatesignerID", "fkiEzsigntemplatesignerIDValidation", "bEzsigntemplatesignatureHandwritten", "bEzsigntemplatesignatureReason", "eEzsigntemplatesignaturePositioning", "iEzsigntemplatedocumentpagePagenumber", "iEzsigntemplatesignatureX", "iEzsigntemplatesignatureY", "iEzsigntemplatesignatureWidth", "iEzsigntemplatesignatureHeight", "iEzsigntemplatesignatureStep", "eEzsigntemplatesignatureType", "eEzsigntemplatesignatureConsultationtrigger", "tEzsigntemplatesignatureTooltip", "eEzsigntemplatesignatureTooltipposition", "eEzsigntemplatesignatureFont", "iEzsigntemplatesignatureValidationstep", "sEzsigntemplatesignatureAttachmentdescription", "eEzsigntemplatesignatureAttachmentnamesource", "bEzsigntemplatesignatureRequired", "iEzsigntemplatesignatureMaxlength", "sEzsigntemplatesignatureDefaultvalue", "sEzsigntemplatesignatureRegexp", "eEzsigntemplatesignatureTextvalidation", "sEzsigntemplatesignatureTextvalidationcustommessage", "eEzsigntemplatesignatureDependencyrequirement", "sEzsigntemplatesignaturePositioningpattern", "iEzsigntemplatesignaturePositioningoffsetx", "iEzsigntemplatesignaturePositioningoffsety", "eEzsigntemplatesignaturePositioningoccurence", "bEzsigntemplatesignatureCustomdate", "a_objEzsigntemplatesignaturecustomdate", "a_objEzsigntemplateelementdependency"] + @field_validator('s_ezsigntemplatesignature_regexp') + def s_ezsigntemplatesignature_regexp_validate_regular_expression(cls, value): + """Validates the regular expression""" + if value is None: + return value + + if not re.match(r"^\^.*\$$|^$", value): + raise ValueError(r"must validate the regular expression /^\^.*\$$|^$/") + return value + + @field_validator('s_ezsigntemplatesignature_positioningpattern') + def s_ezsigntemplatesignature_positioningpattern_validate_regular_expression(cls, value): + """Validates the regular expression""" + if value is None: + return value + + if not re.match(r"^.{0,30}$", value): + raise ValueError(r"must validate the regular expression /^.{0,30}$/") + return value + model_config = ConfigDict( populate_by_name=True, validate_assignment=True, @@ -142,8 +194,8 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: "iEzsigntemplatesignaturePositioningoffsety": obj.get("iEzsigntemplatesignaturePositioningoffsety"), "eEzsigntemplatesignaturePositioningoccurence": obj.get("eEzsigntemplatesignaturePositioningoccurence"), "bEzsigntemplatesignatureCustomdate": obj.get("bEzsigntemplatesignatureCustomdate"), - "a_objEzsigntemplatesignaturecustomdate": [EzsigntemplatesignaturecustomdateResponse.from_dict(_item) for _item in obj["a_objEzsigntemplatesignaturecustomdate"]] if obj.get("a_objEzsigntemplatesignaturecustomdate") is not None else None, - "a_objEzsigntemplateelementdependency": [EzsigntemplateelementdependencyResponse.from_dict(_item) for _item in obj["a_objEzsigntemplateelementdependency"]] if obj.get("a_objEzsigntemplateelementdependency") is not None else None + "a_objEzsigntemplatesignaturecustomdate": [EzsigntemplatesignaturecustomdateResponseCompound.from_dict(_item) for _item in obj["a_objEzsigntemplatesignaturecustomdate"]] if obj.get("a_objEzsigntemplatesignaturecustomdate") is not None else None, + "a_objEzsigntemplateelementdependency": [EzsigntemplateelementdependencyResponseCompound.from_dict(_item) for _item in obj["a_objEzsigntemplateelementdependency"]] if obj.get("a_objEzsigntemplateelementdependency") is not None else None }) return _obj diff --git a/eZmaxApi/models/ezsigntemplatesignature_response_compound_v3.py b/eZmaxApi/models/ezsigntemplatesignature_response_compound_v3.py index 2ea463fdb..28fbaa7af 100644 --- a/eZmaxApi/models/ezsigntemplatesignature_response_compound_v3.py +++ b/eZmaxApi/models/ezsigntemplatesignature_response_compound_v3.py @@ -18,12 +18,12 @@ import re # noqa: F401 import json -from pydantic import ConfigDict, Field, StrictBool +from pydantic import BaseModel, ConfigDict, Field, StrictBool, StrictInt, StrictStr, field_validator from typing import Any, ClassVar, Dict, List, Optional +from typing_extensions import Annotated from eZmaxApi.models.enum_textvalidation import EnumTextvalidation -from eZmaxApi.models.ezsigntemplateelementdependency_response import EzsigntemplateelementdependencyResponse -from eZmaxApi.models.ezsigntemplatesignature_response import EzsigntemplatesignatureResponse -from eZmaxApi.models.ezsigntemplatesignaturecustomdate_response_v2 import EzsigntemplatesignaturecustomdateResponseV2 +from eZmaxApi.models.ezsigntemplateelementdependency_response_compound import EzsigntemplateelementdependencyResponseCompound +from eZmaxApi.models.ezsigntemplatesignaturecustomdate_response_compound_v2 import EzsigntemplatesignaturecustomdateResponseCompoundV2 from eZmaxApi.models.field_e_ezsigntemplatesignature_attachmentnamesource import FieldEEzsigntemplatesignatureAttachmentnamesource from eZmaxApi.models.field_e_ezsigntemplatesignature_consultationtrigger import FieldEEzsigntemplatesignatureConsultationtrigger from eZmaxApi.models.field_e_ezsigntemplatesignature_dependencyrequirement import FieldEEzsigntemplatesignatureDependencyrequirement @@ -35,15 +35,67 @@ from typing import Optional, Set from typing_extensions import Self -class EzsigntemplatesignatureResponseCompoundV3(EzsigntemplatesignatureResponse): +class EzsigntemplatesignatureResponseCompoundV3(BaseModel): """ A Ezsigntemplatesignature Object """ # noqa: E501 + pki_ezsigntemplatesignature_id: Annotated[int, Field(strict=True, ge=0)] = Field(description="The unique ID of the Ezsigntemplatesignature", alias="pkiEzsigntemplatesignatureID") + fki_ezsigntemplatedocument_id: Annotated[int, Field(strict=True, ge=0)] = Field(description="The unique ID of the Ezsigntemplatedocument", alias="fkiEzsigntemplatedocumentID") + fki_ezsigntemplatesigner_id: Annotated[int, Field(strict=True, ge=0)] = Field(description="The unique ID of the Ezsigntemplatesigner", alias="fkiEzsigntemplatesignerID") + fki_ezsigntemplatesigner_id_validation: Optional[Annotated[int, Field(strict=True, ge=0)]] = Field(default=None, description="The unique ID of the Ezsigntemplatesigner", alias="fkiEzsigntemplatesignerIDValidation") + b_ezsigntemplatesignature_handwritten: Optional[StrictBool] = Field(default=None, description="Whether the Ezsigntemplatesignature must be handwritten or not when eEzsigntemplatesignatureType = Signature.", alias="bEzsigntemplatesignatureHandwritten") + b_ezsigntemplatesignature_reason: Optional[StrictBool] = Field(default=None, description="Whether the Ezsigntemplatesignature must include a reason or not when eEzsigntemplatesignatureType = Signature.", alias="bEzsigntemplatesignatureReason") + e_ezsigntemplatesignature_positioning: Optional[FieldEEzsigntemplatesignaturePositioning] = Field(default=None, alias="eEzsigntemplatesignaturePositioning") + i_ezsigntemplatedocumentpage_pagenumber: Annotated[int, Field(strict=True, ge=1)] = Field(description="The page number in the Ezsigntemplatedocument", alias="iEzsigntemplatedocumentpagePagenumber") + i_ezsigntemplatesignature_x: Optional[Annotated[int, Field(strict=True, ge=0)]] = Field(default=None, description="The X coordinate (Horizontal) where to put the Ezsigntemplatesignature on the page. Coordinate is calculated at 100dpi (dot per inch). So for example, if you want to put the Ezsigntemplatesignature 2 inches from the left border of the page, you would use \"200\" for the X coordinate.", alias="iEzsigntemplatesignatureX") + i_ezsigntemplatesignature_y: Optional[Annotated[int, Field(strict=True, ge=0)]] = Field(default=None, description="The Y coordinate (Vertical) where to put the Ezsigntemplatesignature on the page. Coordinate is calculated at 100dpi (dot per inch). So for example, if you want to put the Ezsigntemplatesignature 3 inches from the top border of the page, you would use \"300\" for the Y coordinate.", alias="iEzsigntemplatesignatureY") + i_ezsigntemplatesignature_width: Optional[Annotated[int, Field(strict=True, ge=0)]] = Field(default=None, description="The width of the Ezsigntemplatesignature. Size is calculated at 100dpi (dot per inch). So for example, if you want the Ezsigntemplatesignature to have a width of 2 inches, you would use \"200\" for the iEzsigntemplatesignatureWidth.", alias="iEzsigntemplatesignatureWidth") + i_ezsigntemplatesignature_height: Optional[Annotated[int, Field(strict=True, ge=0)]] = Field(default=None, description="The height of the Ezsigntemplatesignature. Size is calculated at 100dpi (dot per inch). So for example, if you want the Ezsigntemplatesignature to have an height of 2 inches, you would use \"200\" for the iEzsigntemplatesignatureHeight.", alias="iEzsigntemplatesignatureHeight") + i_ezsigntemplatesignature_step: Annotated[int, Field(strict=True, ge=1)] = Field(description="The step when the Ezsigntemplatesigner will be invited to sign", alias="iEzsigntemplatesignatureStep") + e_ezsigntemplatesignature_type: FieldEEzsigntemplatesignatureType = Field(alias="eEzsigntemplatesignatureType") + e_ezsigntemplatesignature_consultationtrigger: Optional[FieldEEzsigntemplatesignatureConsultationtrigger] = Field(default=None, alias="eEzsigntemplatesignatureConsultationtrigger") + t_ezsigntemplatesignature_tooltip: Optional[StrictStr] = Field(default=None, description="A tooltip that will be presented to Ezsigntemplatesigner about the Ezsigntemplatesignature", alias="tEzsigntemplatesignatureTooltip") + e_ezsigntemplatesignature_tooltipposition: Optional[FieldEEzsigntemplatesignatureTooltipposition] = Field(default=None, alias="eEzsigntemplatesignatureTooltipposition") + e_ezsigntemplatesignature_font: Optional[FieldEEzsigntemplatesignatureFont] = Field(default=None, alias="eEzsigntemplatesignatureFont") + i_ezsigntemplatesignature_validationstep: Optional[StrictInt] = Field(default=None, description="The step when the Ezsigntemplatesigner will be invited to validate the Ezsigntemplatesignature of eEzsigntemplatesignatureType Attachments", alias="iEzsigntemplatesignatureValidationstep") + s_ezsigntemplatesignature_attachmentdescription: Optional[StrictStr] = Field(default=None, description="The description attached to the attachment name added in Ezsigntemplatesignature of eEzsigntemplatesignatureType Attachments", alias="sEzsigntemplatesignatureAttachmentdescription") + e_ezsigntemplatesignature_attachmentnamesource: Optional[FieldEEzsigntemplatesignatureAttachmentnamesource] = Field(default=None, alias="eEzsigntemplatesignatureAttachmentnamesource") + b_ezsigntemplatesignature_required: Optional[StrictBool] = Field(default=None, description="Whether the Ezsigntemplatesignature is required or not. This field is relevant only with Ezsigntemplatesignature with eEzsigntemplatesignatureType = Attachments.", alias="bEzsigntemplatesignatureRequired") + i_ezsigntemplatesignature_maxlength: Optional[Annotated[int, Field(le=65535, strict=True, ge=0)]] = Field(default=None, description="The maximum length for the value in the Ezsigntemplatesignature This can only be set if eEzsigntemplatesignatureType is **FieldText** or **FieldTextarea**", alias="iEzsigntemplatesignatureMaxlength") + s_ezsigntemplatesignature_defaultvalue: Optional[StrictStr] = Field(default=None, description="The default value for the Ezsigntemplatesignature You can use the codes below and they will be replaced at signature time. | Code | Description | Example | | ------------------------- | ------------ | ------------ | | {sUserFirstname} | The first name of the contact | John | | {sUserLastname} | The last name of the contact | Doe | | {sUserJobtitle} | The job title | Sales Representative | | {sCompany} | Company name | eZmax Solutions Inc. | | {sEmailAddress} | The email address | email@example.com | | {sPhoneE164} | A phone number in E.164 Format | +15149901516 | | {sPhoneE164Cell} | A phone number in E.164 Format | +15149901516 |", alias="sEzsigntemplatesignatureDefaultvalue") + s_ezsigntemplatesignature_regexp: Optional[Annotated[str, Field(strict=True)]] = Field(default=None, description="A regular expression to indicate what values are acceptable for the Ezsigntemplatesignature. This can only be set if eEzsigntemplatesignatureType is **Text** or **Textarea**", alias="sEzsigntemplatesignatureRegexp") + e_ezsigntemplatesignature_textvalidation: Optional[EnumTextvalidation] = Field(default=None, alias="eEzsigntemplatesignatureTextvalidation") + s_ezsigntemplatesignature_textvalidationcustommessage: Optional[Annotated[str, Field(min_length=0, strict=True, max_length=50)]] = Field(default=None, description="Description of validation rule. Show by signatory.", alias="sEzsigntemplatesignatureTextvalidationcustommessage") + e_ezsigntemplatesignature_dependencyrequirement: Optional[FieldEEzsigntemplatesignatureDependencyrequirement] = Field(default=None, alias="eEzsigntemplatesignatureDependencyrequirement") + s_ezsigntemplatesignature_positioningpattern: Optional[Annotated[str, Field(strict=True)]] = Field(default=None, description="The string pattern to search for the positioning. **This is not a regexp** This will be required if **eEzsigntemplatesignaturePositioning** is set to **PerCoordinates**", alias="sEzsigntemplatesignaturePositioningpattern") + i_ezsigntemplatesignature_positioningoffsetx: Optional[StrictInt] = Field(default=None, description="The offset X This will be required if **eEzsigntemplatesignaturePositioning** is set to **PerCoordinates**", alias="iEzsigntemplatesignaturePositioningoffsetx") + i_ezsigntemplatesignature_positioningoffsety: Optional[StrictInt] = Field(default=None, description="The offset Y This will be required if **eEzsigntemplatesignaturePositioning** is set to **PerCoordinates**", alias="iEzsigntemplatesignaturePositioningoffsety") + e_ezsigntemplatesignature_positioningoccurence: Optional[FieldEEzsigntemplatesignaturePositioningoccurence] = Field(default=None, alias="eEzsigntemplatesignaturePositioningoccurence") b_ezsigntemplatesignature_customdate: Optional[StrictBool] = Field(default=None, description="Whether the Ezsigntemplatesignature has a custom date format or not. (Only possible when eEzsigntemplatesignatureType is **Name** or **Handwritten**)", alias="bEzsigntemplatesignatureCustomdate") - a_obj_ezsigntemplatesignaturecustomdate: Optional[List[EzsigntemplatesignaturecustomdateResponseV2]] = Field(default=None, description="An array of custom date blocks that will be filled at the time of signature. Can only be used if bEzsigntemplatesignatureCustomdate is true. Use an empty array if you don't want to have a date at all.", alias="a_objEzsigntemplatesignaturecustomdate") - a_obj_ezsigntemplateelementdependency: Optional[List[EzsigntemplateelementdependencyResponse]] = Field(default=None, alias="a_objEzsigntemplateelementdependency") + a_obj_ezsigntemplatesignaturecustomdate: Optional[List[EzsigntemplatesignaturecustomdateResponseCompoundV2]] = Field(default=None, description="An array of custom date blocks that will be filled at the time of signature. Can only be used if bEzsigntemplatesignatureCustomdate is true. Use an empty array if you don't want to have a date at all.", alias="a_objEzsigntemplatesignaturecustomdate") + a_obj_ezsigntemplateelementdependency: Optional[List[EzsigntemplateelementdependencyResponseCompound]] = Field(default=None, alias="a_objEzsigntemplateelementdependency") __properties: ClassVar[List[str]] = ["pkiEzsigntemplatesignatureID", "fkiEzsigntemplatedocumentID", "fkiEzsigntemplatesignerID", "fkiEzsigntemplatesignerIDValidation", "bEzsigntemplatesignatureHandwritten", "bEzsigntemplatesignatureReason", "eEzsigntemplatesignaturePositioning", "iEzsigntemplatedocumentpagePagenumber", "iEzsigntemplatesignatureX", "iEzsigntemplatesignatureY", "iEzsigntemplatesignatureWidth", "iEzsigntemplatesignatureHeight", "iEzsigntemplatesignatureStep", "eEzsigntemplatesignatureType", "eEzsigntemplatesignatureConsultationtrigger", "tEzsigntemplatesignatureTooltip", "eEzsigntemplatesignatureTooltipposition", "eEzsigntemplatesignatureFont", "iEzsigntemplatesignatureValidationstep", "sEzsigntemplatesignatureAttachmentdescription", "eEzsigntemplatesignatureAttachmentnamesource", "bEzsigntemplatesignatureRequired", "iEzsigntemplatesignatureMaxlength", "sEzsigntemplatesignatureDefaultvalue", "sEzsigntemplatesignatureRegexp", "eEzsigntemplatesignatureTextvalidation", "sEzsigntemplatesignatureTextvalidationcustommessage", "eEzsigntemplatesignatureDependencyrequirement", "sEzsigntemplatesignaturePositioningpattern", "iEzsigntemplatesignaturePositioningoffsetx", "iEzsigntemplatesignaturePositioningoffsety", "eEzsigntemplatesignaturePositioningoccurence", "bEzsigntemplatesignatureCustomdate", "a_objEzsigntemplatesignaturecustomdate", "a_objEzsigntemplateelementdependency"] + @field_validator('s_ezsigntemplatesignature_regexp') + def s_ezsigntemplatesignature_regexp_validate_regular_expression(cls, value): + """Validates the regular expression""" + if value is None: + return value + + if not re.match(r"^\^.*\$$|^$", value): + raise ValueError(r"must validate the regular expression /^\^.*\$$|^$/") + return value + + @field_validator('s_ezsigntemplatesignature_positioningpattern') + def s_ezsigntemplatesignature_positioningpattern_validate_regular_expression(cls, value): + """Validates the regular expression""" + if value is None: + return value + + if not re.match(r"^.{0,30}$", value): + raise ValueError(r"must validate the regular expression /^.{0,30}$/") + return value + model_config = ConfigDict( populate_by_name=True, validate_assignment=True, @@ -142,8 +194,8 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: "iEzsigntemplatesignaturePositioningoffsety": obj.get("iEzsigntemplatesignaturePositioningoffsety"), "eEzsigntemplatesignaturePositioningoccurence": obj.get("eEzsigntemplatesignaturePositioningoccurence"), "bEzsigntemplatesignatureCustomdate": obj.get("bEzsigntemplatesignatureCustomdate"), - "a_objEzsigntemplatesignaturecustomdate": [EzsigntemplatesignaturecustomdateResponseV2.from_dict(_item) for _item in obj["a_objEzsigntemplatesignaturecustomdate"]] if obj.get("a_objEzsigntemplatesignaturecustomdate") is not None else None, - "a_objEzsigntemplateelementdependency": [EzsigntemplateelementdependencyResponse.from_dict(_item) for _item in obj["a_objEzsigntemplateelementdependency"]] if obj.get("a_objEzsigntemplateelementdependency") is not None else None + "a_objEzsigntemplatesignaturecustomdate": [EzsigntemplatesignaturecustomdateResponseCompoundV2.from_dict(_item) for _item in obj["a_objEzsigntemplatesignaturecustomdate"]] if obj.get("a_objEzsigntemplatesignaturecustomdate") is not None else None, + "a_objEzsigntemplateelementdependency": [EzsigntemplateelementdependencyResponseCompound.from_dict(_item) for _item in obj["a_objEzsigntemplateelementdependency"]] if obj.get("a_objEzsigntemplateelementdependency") is not None else None }) return _obj diff --git a/eZmaxApi/models/ezsigntemplatesigner_create_object_v1_response.py b/eZmaxApi/models/ezsigntemplatesigner_create_object_v1_response.py index afd36e047..e3864af01 100644 --- a/eZmaxApi/models/ezsigntemplatesigner_create_object_v1_response.py +++ b/eZmaxApi/models/ezsigntemplatesigner_create_object_v1_response.py @@ -18,19 +18,20 @@ import re # noqa: F401 import json -from pydantic import ConfigDict, Field -from typing import Any, ClassVar, Dict, List -from eZmaxApi.models.common_response import CommonResponse +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List, Optional from eZmaxApi.models.common_response_obj_debug import CommonResponseObjDebug from eZmaxApi.models.common_response_obj_debug_payload import CommonResponseObjDebugPayload from eZmaxApi.models.ezsigntemplatesigner_create_object_v1_response_m_payload import EzsigntemplatesignerCreateObjectV1ResponseMPayload from typing import Optional, Set from typing_extensions import Self -class EzsigntemplatesignerCreateObjectV1Response(CommonResponse): +class EzsigntemplatesignerCreateObjectV1Response(BaseModel): """ Response for POST /1/object/ezsigntemplatesigner """ # noqa: E501 + obj_debug_payload: CommonResponseObjDebugPayload = Field(alias="objDebugPayload") + obj_debug: Optional[CommonResponseObjDebug] = Field(default=None, alias="objDebug") m_payload: EzsigntemplatesignerCreateObjectV1ResponseMPayload = Field(alias="mPayload") __properties: ClassVar[List[str]] = ["objDebugPayload", "objDebug", "mPayload"] diff --git a/eZmaxApi/models/ezsigntemplatesigner_delete_object_v1_response.py b/eZmaxApi/models/ezsigntemplatesigner_delete_object_v1_response.py index 3d555caa7..0e1ef936a 100644 --- a/eZmaxApi/models/ezsigntemplatesigner_delete_object_v1_response.py +++ b/eZmaxApi/models/ezsigntemplatesigner_delete_object_v1_response.py @@ -18,18 +18,19 @@ import re # noqa: F401 import json -from pydantic import ConfigDict -from typing import Any, ClassVar, Dict, List -from eZmaxApi.models.common_response import CommonResponse +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List, Optional from eZmaxApi.models.common_response_obj_debug import CommonResponseObjDebug from eZmaxApi.models.common_response_obj_debug_payload import CommonResponseObjDebugPayload from typing import Optional, Set from typing_extensions import Self -class EzsigntemplatesignerDeleteObjectV1Response(CommonResponse): +class EzsigntemplatesignerDeleteObjectV1Response(BaseModel): """ Response for DELETE /1/object/ezsigntemplatesigner/{pkiEzsigntemplatesignerID} """ # noqa: E501 + obj_debug_payload: CommonResponseObjDebugPayload = Field(alias="objDebugPayload") + obj_debug: Optional[CommonResponseObjDebug] = Field(default=None, alias="objDebug") __properties: ClassVar[List[str]] = ["objDebugPayload", "objDebug"] model_config = ConfigDict( diff --git a/eZmaxApi/models/ezsigntemplatesigner_edit_object_v1_response.py b/eZmaxApi/models/ezsigntemplatesigner_edit_object_v1_response.py index 449536a00..2f86636b1 100644 --- a/eZmaxApi/models/ezsigntemplatesigner_edit_object_v1_response.py +++ b/eZmaxApi/models/ezsigntemplatesigner_edit_object_v1_response.py @@ -18,18 +18,19 @@ import re # noqa: F401 import json -from pydantic import ConfigDict -from typing import Any, ClassVar, Dict, List -from eZmaxApi.models.common_response import CommonResponse +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List, Optional from eZmaxApi.models.common_response_obj_debug import CommonResponseObjDebug from eZmaxApi.models.common_response_obj_debug_payload import CommonResponseObjDebugPayload from typing import Optional, Set from typing_extensions import Self -class EzsigntemplatesignerEditObjectV1Response(CommonResponse): +class EzsigntemplatesignerEditObjectV1Response(BaseModel): """ Response for PUT /1/object/ezsigntemplatesigner/{pkiEzsigntemplatesignerID} """ # noqa: E501 + obj_debug_payload: CommonResponseObjDebugPayload = Field(alias="objDebugPayload") + obj_debug: Optional[CommonResponseObjDebug] = Field(default=None, alias="objDebug") __properties: ClassVar[List[str]] = ["objDebugPayload", "objDebug"] model_config = ConfigDict( diff --git a/eZmaxApi/models/ezsigntemplatesigner_get_object_v2_response.py b/eZmaxApi/models/ezsigntemplatesigner_get_object_v2_response.py index 2be916200..34049a8a4 100644 --- a/eZmaxApi/models/ezsigntemplatesigner_get_object_v2_response.py +++ b/eZmaxApi/models/ezsigntemplatesigner_get_object_v2_response.py @@ -18,19 +18,20 @@ import re # noqa: F401 import json -from pydantic import ConfigDict, Field -from typing import Any, ClassVar, Dict, List -from eZmaxApi.models.common_response import CommonResponse +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List, Optional from eZmaxApi.models.common_response_obj_debug import CommonResponseObjDebug from eZmaxApi.models.common_response_obj_debug_payload import CommonResponseObjDebugPayload from eZmaxApi.models.ezsigntemplatesigner_get_object_v2_response_m_payload import EzsigntemplatesignerGetObjectV2ResponseMPayload from typing import Optional, Set from typing_extensions import Self -class EzsigntemplatesignerGetObjectV2Response(CommonResponse): +class EzsigntemplatesignerGetObjectV2Response(BaseModel): """ Response for GET /2/object/ezsigntemplatesigner/{pkiEzsigntemplatesignerID} """ # noqa: E501 + obj_debug_payload: CommonResponseObjDebugPayload = Field(alias="objDebugPayload") + obj_debug: Optional[CommonResponseObjDebug] = Field(default=None, alias="objDebug") m_payload: EzsigntemplatesignerGetObjectV2ResponseMPayload = Field(alias="mPayload") __properties: ClassVar[List[str]] = ["objDebugPayload", "objDebug", "mPayload"] diff --git a/eZmaxApi/models/ezsigntemplatesigner_request.py b/eZmaxApi/models/ezsigntemplatesigner_request.py index 2464aba92..7bc17869f 100644 --- a/eZmaxApi/models/ezsigntemplatesigner_request.py +++ b/eZmaxApi/models/ezsigntemplatesigner_request.py @@ -88,7 +88,24 @@ def to_dict(self) -> Dict[str, Any]: return _dict @classmethod - def from_dict(cls, obj: Dict[str, Any]) -> Optional[Self]: + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: """Create an instance of EzsigntemplatesignerRequest from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "pkiEzsigntemplatesignerID": obj.get("pkiEzsigntemplatesignerID"), + "fkiEzsigntemplateID": obj.get("fkiEzsigntemplateID"), + "fkiUserID": obj.get("fkiUserID"), + "fkiUsergroupID": obj.get("fkiUsergroupID"), + "fkiEzdoctemplatedocumentID": obj.get("fkiEzdoctemplatedocumentID"), + "bEzsigntemplatesignerReceivecopy": obj.get("bEzsigntemplatesignerReceivecopy"), + "eEzsigntemplatesignerMapping": obj.get("eEzsigntemplatesignerMapping"), + "sEzsigntemplatesignerDescription": obj.get("sEzsigntemplatesignerDescription") + }) + return _obj diff --git a/eZmaxApi/models/ezsigntemplatesigner_request_compound.py b/eZmaxApi/models/ezsigntemplatesigner_request_compound.py index d506aed87..96b08f4e3 100644 --- a/eZmaxApi/models/ezsigntemplatesigner_request_compound.py +++ b/eZmaxApi/models/ezsigntemplatesigner_request_compound.py @@ -18,19 +18,34 @@ import re # noqa: F401 import json -from pydantic import ConfigDict -from typing import Any, ClassVar, Dict, List -from eZmaxApi.models.ezsigntemplatesigner_request import EzsigntemplatesignerRequest +from pydantic import BaseModel, ConfigDict, Field, StrictBool, field_validator +from typing import Any, ClassVar, Dict, List, Optional +from typing_extensions import Annotated from eZmaxApi.models.field_e_ezsigntemplatesigner_mapping import FieldEEzsigntemplatesignerMapping from typing import Optional, Set from typing_extensions import Self -class EzsigntemplatesignerRequestCompound(EzsigntemplatesignerRequest): +class EzsigntemplatesignerRequestCompound(BaseModel): """ A Ezsigntemplatesigner Object and children """ # noqa: E501 + pki_ezsigntemplatesigner_id: Optional[Annotated[int, Field(strict=True, ge=0)]] = Field(default=None, description="The unique ID of the Ezsigntemplatesigner", alias="pkiEzsigntemplatesignerID") + fki_ezsigntemplate_id: Annotated[int, Field(strict=True, ge=0)] = Field(description="The unique ID of the Ezsigntemplate", alias="fkiEzsigntemplateID") + fki_user_id: Optional[Annotated[int, Field(strict=True, ge=0)]] = Field(default=None, description="The unique ID of the User", alias="fkiUserID") + fki_usergroup_id: Optional[Annotated[int, Field(le=255, strict=True, ge=0)]] = Field(default=None, description="The unique ID of the Usergroup", alias="fkiUsergroupID") + fki_ezdoctemplatedocument_id: Optional[Annotated[int, Field(le=65535, strict=True, ge=0)]] = Field(default=None, description="The unique ID of the Ezdoctemplatedocument", alias="fkiEzdoctemplatedocumentID") + b_ezsigntemplatesigner_receivecopy: Optional[StrictBool] = Field(default=None, description="If this flag is true. The signatory will receive a copy of every signed Ezsigndocument even if it ain't required to sign the document.", alias="bEzsigntemplatesignerReceivecopy") + e_ezsigntemplatesigner_mapping: Optional[FieldEEzsigntemplatesignerMapping] = Field(default=None, alias="eEzsigntemplatesignerMapping") + s_ezsigntemplatesigner_description: Annotated[str, Field(strict=True)] = Field(description="The description of the Ezsigntemplatesigner", alias="sEzsigntemplatesignerDescription") __properties: ClassVar[List[str]] = ["pkiEzsigntemplatesignerID", "fkiEzsigntemplateID", "fkiUserID", "fkiUsergroupID", "fkiEzdoctemplatedocumentID", "bEzsigntemplatesignerReceivecopy", "eEzsigntemplatesignerMapping", "sEzsigntemplatesignerDescription"] + @field_validator('s_ezsigntemplatesigner_description') + def s_ezsigntemplatesigner_description_validate_regular_expression(cls, value): + """Validates the regular expression""" + if not re.match(r"^.{1,50}$", value): + raise ValueError(r"must validate the regular expression /^.{1,50}$/") + return value + model_config = ConfigDict( populate_by_name=True, validate_assignment=True, diff --git a/eZmaxApi/models/ezsigntemplatesigner_response.py b/eZmaxApi/models/ezsigntemplatesigner_response.py index c640ed64c..b4aa2dd23 100644 --- a/eZmaxApi/models/ezsigntemplatesigner_response.py +++ b/eZmaxApi/models/ezsigntemplatesigner_response.py @@ -100,7 +100,26 @@ def to_dict(self) -> Dict[str, Any]: return _dict @classmethod - def from_dict(cls, obj: Dict[str, Any]) -> Optional[Self]: + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: """Create an instance of EzsigntemplatesignerResponse from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "pkiEzsigntemplatesignerID": obj.get("pkiEzsigntemplatesignerID"), + "fkiEzsigntemplateID": obj.get("fkiEzsigntemplateID"), + "fkiUserID": obj.get("fkiUserID"), + "fkiUsergroupID": obj.get("fkiUsergroupID"), + "fkiEzdoctemplatedocumentID": obj.get("fkiEzdoctemplatedocumentID"), + "bEzsigntemplatesignerReceivecopy": obj.get("bEzsigntemplatesignerReceivecopy"), + "eEzsigntemplatesignerMapping": obj.get("eEzsigntemplatesignerMapping"), + "sEzsigntemplatesignerDescription": obj.get("sEzsigntemplatesignerDescription"), + "sUserName": obj.get("sUserName"), + "sUsergroupNameX": obj.get("sUsergroupNameX") + }) + return _obj diff --git a/eZmaxApi/models/ezsigntemplatesigner_response_compound.py b/eZmaxApi/models/ezsigntemplatesigner_response_compound.py index cb2587f55..654cb0dc9 100644 --- a/eZmaxApi/models/ezsigntemplatesigner_response_compound.py +++ b/eZmaxApi/models/ezsigntemplatesigner_response_compound.py @@ -18,19 +18,46 @@ import re # noqa: F401 import json -from pydantic import ConfigDict -from typing import Any, ClassVar, Dict, List -from eZmaxApi.models.ezsigntemplatesigner_response import EzsigntemplatesignerResponse +from pydantic import BaseModel, ConfigDict, Field, StrictBool, StrictStr, field_validator +from typing import Any, ClassVar, Dict, List, Optional +from typing_extensions import Annotated from eZmaxApi.models.field_e_ezsigntemplatesigner_mapping import FieldEEzsigntemplatesignerMapping from typing import Optional, Set from typing_extensions import Self -class EzsigntemplatesignerResponseCompound(EzsigntemplatesignerResponse): +class EzsigntemplatesignerResponseCompound(BaseModel): """ A Ezsigntemplatesigner Object """ # noqa: E501 + pki_ezsigntemplatesigner_id: Annotated[int, Field(strict=True, ge=0)] = Field(description="The unique ID of the Ezsigntemplatesigner", alias="pkiEzsigntemplatesignerID") + fki_ezsigntemplate_id: Annotated[int, Field(strict=True, ge=0)] = Field(description="The unique ID of the Ezsigntemplate", alias="fkiEzsigntemplateID") + fki_user_id: Optional[Annotated[int, Field(strict=True, ge=0)]] = Field(default=None, description="The unique ID of the User", alias="fkiUserID") + fki_usergroup_id: Optional[Annotated[int, Field(le=255, strict=True, ge=0)]] = Field(default=None, description="The unique ID of the Usergroup", alias="fkiUsergroupID") + fki_ezdoctemplatedocument_id: Optional[Annotated[int, Field(le=65535, strict=True, ge=0)]] = Field(default=None, description="The unique ID of the Ezdoctemplatedocument", alias="fkiEzdoctemplatedocumentID") + b_ezsigntemplatesigner_receivecopy: Optional[StrictBool] = Field(default=None, description="If this flag is true. The signatory will receive a copy of every signed Ezsigndocument even if it ain't required to sign the document.", alias="bEzsigntemplatesignerReceivecopy") + e_ezsigntemplatesigner_mapping: Optional[FieldEEzsigntemplatesignerMapping] = Field(default=None, alias="eEzsigntemplatesignerMapping") + s_ezsigntemplatesigner_description: Annotated[str, Field(strict=True)] = Field(description="The description of the Ezsigntemplatesigner", alias="sEzsigntemplatesignerDescription") + s_user_name: Optional[StrictStr] = Field(default=None, description="The description of the User in the language of the requester", alias="sUserName") + s_usergroup_name_x: Optional[Annotated[str, Field(strict=True)]] = Field(default=None, description="The Name of the Usergroup in the language of the requester", alias="sUsergroupNameX") __properties: ClassVar[List[str]] = ["pkiEzsigntemplatesignerID", "fkiEzsigntemplateID", "fkiUserID", "fkiUsergroupID", "fkiEzdoctemplatedocumentID", "bEzsigntemplatesignerReceivecopy", "eEzsigntemplatesignerMapping", "sEzsigntemplatesignerDescription", "sUserName", "sUsergroupNameX"] + @field_validator('s_ezsigntemplatesigner_description') + def s_ezsigntemplatesigner_description_validate_regular_expression(cls, value): + """Validates the regular expression""" + if not re.match(r"^.{1,50}$", value): + raise ValueError(r"must validate the regular expression /^.{1,50}$/") + return value + + @field_validator('s_usergroup_name_x') + def s_usergroup_name_x_validate_regular_expression(cls, value): + """Validates the regular expression""" + if value is None: + return value + + if not re.match(r"^.{0,50}$", value): + raise ValueError(r"must validate the regular expression /^.{0,50}$/") + return value + model_config = ConfigDict( populate_by_name=True, validate_assignment=True, diff --git a/eZmaxApi/models/ezsigntsarequirement_get_autocomplete_v2_response.py b/eZmaxApi/models/ezsigntsarequirement_get_autocomplete_v2_response.py index 12b5e00bc..1542dcde7 100644 --- a/eZmaxApi/models/ezsigntsarequirement_get_autocomplete_v2_response.py +++ b/eZmaxApi/models/ezsigntsarequirement_get_autocomplete_v2_response.py @@ -18,19 +18,20 @@ import re # noqa: F401 import json -from pydantic import ConfigDict, Field -from typing import Any, ClassVar, Dict, List -from eZmaxApi.models.common_response import CommonResponse +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List, Optional from eZmaxApi.models.common_response_obj_debug import CommonResponseObjDebug from eZmaxApi.models.common_response_obj_debug_payload import CommonResponseObjDebugPayload from eZmaxApi.models.ezsigntsarequirement_get_autocomplete_v2_response_m_payload import EzsigntsarequirementGetAutocompleteV2ResponseMPayload from typing import Optional, Set from typing_extensions import Self -class EzsigntsarequirementGetAutocompleteV2Response(CommonResponse): +class EzsigntsarequirementGetAutocompleteV2Response(BaseModel): """ Response for GET /2/object/ezsigntsarequirement/getAutocomplete """ # noqa: E501 + obj_debug_payload: CommonResponseObjDebugPayload = Field(alias="objDebugPayload") + obj_debug: Optional[CommonResponseObjDebug] = Field(default=None, alias="objDebug") m_payload: EzsigntsarequirementGetAutocompleteV2ResponseMPayload = Field(alias="mPayload") __properties: ClassVar[List[str]] = ["objDebugPayload", "objDebug", "mPayload"] diff --git a/eZmaxApi/models/ezsignuser_edit_object_v1_response.py b/eZmaxApi/models/ezsignuser_edit_object_v1_response.py index 9817710dc..8753b045f 100644 --- a/eZmaxApi/models/ezsignuser_edit_object_v1_response.py +++ b/eZmaxApi/models/ezsignuser_edit_object_v1_response.py @@ -18,18 +18,19 @@ import re # noqa: F401 import json -from pydantic import ConfigDict -from typing import Any, ClassVar, Dict, List -from eZmaxApi.models.common_response import CommonResponse +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List, Optional from eZmaxApi.models.common_response_obj_debug import CommonResponseObjDebug from eZmaxApi.models.common_response_obj_debug_payload import CommonResponseObjDebugPayload from typing import Optional, Set from typing_extensions import Self -class EzsignuserEditObjectV1Response(CommonResponse): +class EzsignuserEditObjectV1Response(BaseModel): """ Response for PUT /1/object/ezsignuser/{pkiEzsignuserID} """ # noqa: E501 + obj_debug_payload: CommonResponseObjDebugPayload = Field(alias="objDebugPayload") + obj_debug: Optional[CommonResponseObjDebug] = Field(default=None, alias="objDebug") __properties: ClassVar[List[str]] = ["objDebugPayload", "objDebug"] model_config = ConfigDict( diff --git a/eZmaxApi/models/ezsignuser_get_object_v2_response.py b/eZmaxApi/models/ezsignuser_get_object_v2_response.py index 0b8066a06..8c90a53f1 100644 --- a/eZmaxApi/models/ezsignuser_get_object_v2_response.py +++ b/eZmaxApi/models/ezsignuser_get_object_v2_response.py @@ -18,19 +18,20 @@ import re # noqa: F401 import json -from pydantic import ConfigDict, Field -from typing import Any, ClassVar, Dict, List -from eZmaxApi.models.common_response import CommonResponse +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List, Optional from eZmaxApi.models.common_response_obj_debug import CommonResponseObjDebug from eZmaxApi.models.common_response_obj_debug_payload import CommonResponseObjDebugPayload from eZmaxApi.models.ezsignuser_get_object_v2_response_m_payload import EzsignuserGetObjectV2ResponseMPayload from typing import Optional, Set from typing_extensions import Self -class EzsignuserGetObjectV2Response(CommonResponse): +class EzsignuserGetObjectV2Response(BaseModel): """ Response for GET /2/object/ezsignuser/{pkiEzsignuserID} """ # noqa: E501 + obj_debug_payload: CommonResponseObjDebugPayload = Field(alias="objDebugPayload") + obj_debug: Optional[CommonResponseObjDebug] = Field(default=None, alias="objDebug") m_payload: EzsignuserGetObjectV2ResponseMPayload = Field(alias="mPayload") __properties: ClassVar[List[str]] = ["objDebugPayload", "objDebug", "mPayload"] diff --git a/eZmaxApi/models/ezsignuser_request.py b/eZmaxApi/models/ezsignuser_request.py index 37c974d42..4613ed601 100644 --- a/eZmaxApi/models/ezsignuser_request.py +++ b/eZmaxApi/models/ezsignuser_request.py @@ -79,7 +79,19 @@ def to_dict(self) -> Dict[str, Any]: return _dict @classmethod - def from_dict(cls, obj: Dict[str, Any]) -> Optional[Self]: + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: """Create an instance of EzsignuserRequest from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "pkiEzsignuserID": obj.get("pkiEzsignuserID"), + "fkiContactID": obj.get("fkiContactID"), + "objContact": ContactRequestCompoundV2.from_dict(obj["objContact"]) if obj.get("objContact") is not None else None + }) + return _obj diff --git a/eZmaxApi/models/ezsignuser_request_compound.py b/eZmaxApi/models/ezsignuser_request_compound.py index 5dfdc1df3..5aeabbb41 100644 --- a/eZmaxApi/models/ezsignuser_request_compound.py +++ b/eZmaxApi/models/ezsignuser_request_compound.py @@ -18,17 +18,20 @@ import re # noqa: F401 import json -from pydantic import ConfigDict -from typing import Any, ClassVar, Dict, List +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List, Optional +from typing_extensions import Annotated from eZmaxApi.models.contact_request_compound_v2 import ContactRequestCompoundV2 -from eZmaxApi.models.ezsignuser_request import EzsignuserRequest from typing import Optional, Set from typing_extensions import Self -class EzsignuserRequestCompound(EzsignuserRequest): +class EzsignuserRequestCompound(BaseModel): """ A Ezsignuser Object and children """ # noqa: E501 + pki_ezsignuser_id: Optional[Annotated[int, Field(le=65535, strict=True, ge=0)]] = Field(default=None, description="The unique ID of the Ezsignuser", alias="pkiEzsignuserID") + fki_contact_id: Annotated[int, Field(strict=True, ge=0)] = Field(description="The unique ID of the Contact", alias="fkiContactID") + obj_contact: ContactRequestCompoundV2 = Field(alias="objContact") __properties: ClassVar[List[str]] = ["pkiEzsignuserID", "fkiContactID", "objContact"] model_config = ConfigDict( diff --git a/eZmaxApi/models/ezsignuser_response.py b/eZmaxApi/models/ezsignuser_response.py index fb836c126..6bc9efc07 100644 --- a/eZmaxApi/models/ezsignuser_response.py +++ b/eZmaxApi/models/ezsignuser_response.py @@ -84,7 +84,20 @@ def to_dict(self) -> Dict[str, Any]: return _dict @classmethod - def from_dict(cls, obj: Dict[str, Any]) -> Optional[Self]: + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: """Create an instance of EzsignuserResponse from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "pkiEzsignuserID": obj.get("pkiEzsignuserID"), + "fkiContactID": obj.get("fkiContactID"), + "objContact": ContactResponseCompound.from_dict(obj["objContact"]) if obj.get("objContact") is not None else None, + "objAudit": CommonAudit.from_dict(obj["objAudit"]) if obj.get("objAudit") is not None else None + }) + return _obj diff --git a/eZmaxApi/models/ezsignuser_response_compound.py b/eZmaxApi/models/ezsignuser_response_compound.py index c905eb63f..9e785ee8a 100644 --- a/eZmaxApi/models/ezsignuser_response_compound.py +++ b/eZmaxApi/models/ezsignuser_response_compound.py @@ -18,18 +18,22 @@ import re # noqa: F401 import json -from pydantic import ConfigDict +from pydantic import BaseModel, ConfigDict, Field from typing import Any, ClassVar, Dict, List +from typing_extensions import Annotated from eZmaxApi.models.common_audit import CommonAudit from eZmaxApi.models.contact_response_compound import ContactResponseCompound -from eZmaxApi.models.ezsignuser_response import EzsignuserResponse from typing import Optional, Set from typing_extensions import Self -class EzsignuserResponseCompound(EzsignuserResponse): +class EzsignuserResponseCompound(BaseModel): """ A Ezsignuser Object """ # noqa: E501 + pki_ezsignuser_id: Annotated[int, Field(le=65535, strict=True, ge=0)] = Field(description="The unique ID of the Ezsignuser", alias="pkiEzsignuserID") + fki_contact_id: Annotated[int, Field(strict=True, ge=0)] = Field(description="The unique ID of the Contact", alias="fkiContactID") + obj_contact: ContactResponseCompound = Field(alias="objContact") + obj_audit: CommonAudit = Field(alias="objAudit") __properties: ClassVar[List[str]] = ["pkiEzsignuserID", "fkiContactID", "objContact", "objAudit"] model_config = ConfigDict( diff --git a/eZmaxApi/models/font_get_autocomplete_v2_response.py b/eZmaxApi/models/font_get_autocomplete_v2_response.py index 73b8ff68b..30d066ce7 100644 --- a/eZmaxApi/models/font_get_autocomplete_v2_response.py +++ b/eZmaxApi/models/font_get_autocomplete_v2_response.py @@ -18,19 +18,20 @@ import re # noqa: F401 import json -from pydantic import ConfigDict, Field -from typing import Any, ClassVar, Dict, List -from eZmaxApi.models.common_response import CommonResponse +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List, Optional from eZmaxApi.models.common_response_obj_debug import CommonResponseObjDebug from eZmaxApi.models.common_response_obj_debug_payload import CommonResponseObjDebugPayload from eZmaxApi.models.font_get_autocomplete_v2_response_m_payload import FontGetAutocompleteV2ResponseMPayload from typing import Optional, Set from typing_extensions import Self -class FontGetAutocompleteV2Response(CommonResponse): +class FontGetAutocompleteV2Response(BaseModel): """ Response for GET /2/object/font/getAutocomplete """ # noqa: E501 + obj_debug_payload: CommonResponseObjDebugPayload = Field(alias="objDebugPayload") + obj_debug: Optional[CommonResponseObjDebug] = Field(default=None, alias="objDebug") m_payload: FontGetAutocompleteV2ResponseMPayload = Field(alias="mPayload") __properties: ClassVar[List[str]] = ["objDebugPayload", "objDebug", "mPayload"] diff --git a/eZmaxApi/models/franchisebroker_get_autocomplete_v2_response.py b/eZmaxApi/models/franchisebroker_get_autocomplete_v2_response.py index 300c7832e..0cd10b226 100644 --- a/eZmaxApi/models/franchisebroker_get_autocomplete_v2_response.py +++ b/eZmaxApi/models/franchisebroker_get_autocomplete_v2_response.py @@ -18,19 +18,20 @@ import re # noqa: F401 import json -from pydantic import ConfigDict, Field -from typing import Any, ClassVar, Dict, List -from eZmaxApi.models.common_response import CommonResponse +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List, Optional from eZmaxApi.models.common_response_obj_debug import CommonResponseObjDebug from eZmaxApi.models.common_response_obj_debug_payload import CommonResponseObjDebugPayload from eZmaxApi.models.franchisebroker_get_autocomplete_v2_response_m_payload import FranchisebrokerGetAutocompleteV2ResponseMPayload from typing import Optional, Set from typing_extensions import Self -class FranchisebrokerGetAutocompleteV2Response(CommonResponse): +class FranchisebrokerGetAutocompleteV2Response(BaseModel): """ Response for GET /2/object/franchisebroker/getAutocomplete """ # noqa: E501 + obj_debug_payload: CommonResponseObjDebugPayload = Field(alias="objDebugPayload") + obj_debug: Optional[CommonResponseObjDebug] = Field(default=None, alias="objDebug") m_payload: FranchisebrokerGetAutocompleteV2ResponseMPayload = Field(alias="mPayload") __properties: ClassVar[List[str]] = ["objDebugPayload", "objDebug", "mPayload"] diff --git a/eZmaxApi/models/franchiseoffice_get_autocomplete_v2_response.py b/eZmaxApi/models/franchiseoffice_get_autocomplete_v2_response.py index fe670a9d6..de5abe8b4 100644 --- a/eZmaxApi/models/franchiseoffice_get_autocomplete_v2_response.py +++ b/eZmaxApi/models/franchiseoffice_get_autocomplete_v2_response.py @@ -18,19 +18,20 @@ import re # noqa: F401 import json -from pydantic import ConfigDict, Field -from typing import Any, ClassVar, Dict, List -from eZmaxApi.models.common_response import CommonResponse +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List, Optional from eZmaxApi.models.common_response_obj_debug import CommonResponseObjDebug from eZmaxApi.models.common_response_obj_debug_payload import CommonResponseObjDebugPayload from eZmaxApi.models.franchiseoffice_get_autocomplete_v2_response_m_payload import FranchiseofficeGetAutocompleteV2ResponseMPayload from typing import Optional, Set from typing_extensions import Self -class FranchiseofficeGetAutocompleteV2Response(CommonResponse): +class FranchiseofficeGetAutocompleteV2Response(BaseModel): """ Response for GET /2/object/franchiseoffice/getAutocomplete """ # noqa: E501 + obj_debug_payload: CommonResponseObjDebugPayload = Field(alias="objDebugPayload") + obj_debug: Optional[CommonResponseObjDebug] = Field(default=None, alias="objDebug") m_payload: FranchiseofficeGetAutocompleteV2ResponseMPayload = Field(alias="mPayload") __properties: ClassVar[List[str]] = ["objDebugPayload", "objDebug", "mPayload"] diff --git a/eZmaxApi/models/franchisereferalincome_create_object_v2_response.py b/eZmaxApi/models/franchisereferalincome_create_object_v2_response.py index 59dfaeeec..9de5c7876 100644 --- a/eZmaxApi/models/franchisereferalincome_create_object_v2_response.py +++ b/eZmaxApi/models/franchisereferalincome_create_object_v2_response.py @@ -18,19 +18,20 @@ import re # noqa: F401 import json -from pydantic import ConfigDict, Field -from typing import Any, ClassVar, Dict, List -from eZmaxApi.models.common_response import CommonResponse +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List, Optional from eZmaxApi.models.common_response_obj_debug import CommonResponseObjDebug from eZmaxApi.models.common_response_obj_debug_payload import CommonResponseObjDebugPayload from eZmaxApi.models.franchisereferalincome_create_object_v2_response_m_payload import FranchisereferalincomeCreateObjectV2ResponseMPayload from typing import Optional, Set from typing_extensions import Self -class FranchisereferalincomeCreateObjectV2Response(CommonResponse): +class FranchisereferalincomeCreateObjectV2Response(BaseModel): """ Response for POST /2/object/franchisereferalincome """ # noqa: E501 + obj_debug_payload: CommonResponseObjDebugPayload = Field(alias="objDebugPayload") + obj_debug: Optional[CommonResponseObjDebug] = Field(default=None, alias="objDebug") m_payload: FranchisereferalincomeCreateObjectV2ResponseMPayload = Field(alias="mPayload") __properties: ClassVar[List[str]] = ["objDebugPayload", "objDebug", "mPayload"] diff --git a/eZmaxApi/models/franchisereferalincome_request.py b/eZmaxApi/models/franchisereferalincome_request.py index 20216a801..924a29af1 100644 --- a/eZmaxApi/models/franchisereferalincome_request.py +++ b/eZmaxApi/models/franchisereferalincome_request.py @@ -84,7 +84,28 @@ def to_dict(self) -> Dict[str, Any]: return _dict @classmethod - def from_dict(cls, obj: Dict[str, Any]) -> Optional[Self]: + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: """Create an instance of FranchisereferalincomeRequest from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "pkiFranchisereferalincomeID": obj.get("pkiFranchisereferalincomeID"), + "fkiFranchisebrokerID": obj.get("fkiFranchisebrokerID"), + "fkiFranchisereferalincomeprogramID": obj.get("fkiFranchisereferalincomeprogramID"), + "fkiPeriodID": obj.get("fkiPeriodID"), + "dFranchisereferalincomeLoan": obj.get("dFranchisereferalincomeLoan"), + "dFranchisereferalincomeFranchiseamount": obj.get("dFranchisereferalincomeFranchiseamount"), + "dFranchisereferalincomeFranchisoramount": obj.get("dFranchisereferalincomeFranchisoramount"), + "dFranchisereferalincomeAgentamount": obj.get("dFranchisereferalincomeAgentamount"), + "dtFranchisereferalincomeDisbursed": obj.get("dtFranchisereferalincomeDisbursed"), + "tFranchisereferalincomeComment": obj.get("tFranchisereferalincomeComment"), + "fkiFranchiseofficeID": obj.get("fkiFranchiseofficeID"), + "sFranchisereferalincomeRemoteid": obj.get("sFranchisereferalincomeRemoteid") + }) + return _obj diff --git a/eZmaxApi/models/franchisereferalincome_request_compound.py b/eZmaxApi/models/franchisereferalincome_request_compound.py index c45032f79..1295937e7 100644 --- a/eZmaxApi/models/franchisereferalincome_request_compound.py +++ b/eZmaxApi/models/franchisereferalincome_request_compound.py @@ -18,18 +18,30 @@ import re # noqa: F401 import json -from pydantic import ConfigDict, Field +from pydantic import BaseModel, ConfigDict, Field, StrictStr from typing import Any, ClassVar, Dict, List, Optional +from typing_extensions import Annotated from eZmaxApi.models.address_request import AddressRequest from eZmaxApi.models.contact_request_compound import ContactRequestCompound -from eZmaxApi.models.franchisereferalincome_request import FranchisereferalincomeRequest from typing import Optional, Set from typing_extensions import Self -class FranchisereferalincomeRequestCompound(FranchisereferalincomeRequest): +class FranchisereferalincomeRequestCompound(BaseModel): """ A Franchisereferalincome Object and children to create a complete structure """ # noqa: E501 + pki_franchisereferalincome_id: Optional[Annotated[int, Field(strict=True, ge=0)]] = Field(default=None, description="The unique ID of the Franchisereferalincome", alias="pkiFranchisereferalincomeID") + fki_franchisebroker_id: Annotated[int, Field(strict=True, ge=0)] = Field(description="The unique ID of the Franchisebroker", alias="fkiFranchisebrokerID") + fki_franchisereferalincomeprogram_id: Annotated[int, Field(strict=True, ge=0)] = Field(description="The unique ID of the Franchisereferalincomeprogram", alias="fkiFranchisereferalincomeprogramID") + fki_period_id: Annotated[int, Field(strict=True, ge=0)] = Field(description="The unique ID of the Period", alias="fkiPeriodID") + d_franchisereferalincome_loan: StrictStr = Field(description="The loan amount", alias="dFranchisereferalincomeLoan") + d_franchisereferalincome_franchiseamount: StrictStr = Field(description="The amount that will be given to the franchise", alias="dFranchisereferalincomeFranchiseamount") + d_franchisereferalincome_franchisoramount: StrictStr = Field(description="The amount that will be kept by the franchisor", alias="dFranchisereferalincomeFranchisoramount") + d_franchisereferalincome_agentamount: StrictStr = Field(description="The amount that will be given to the agent", alias="dFranchisereferalincomeAgentamount") + dt_franchisereferalincome_disbursed: StrictStr = Field(description="The date the amounts were disbursed", alias="dtFranchisereferalincomeDisbursed") + t_franchisereferalincome_comment: StrictStr = Field(description="Comment about the transaction", alias="tFranchisereferalincomeComment") + fki_franchiseoffice_id: Annotated[int, Field(strict=True, ge=0)] = Field(description="The unique ID of the Franchisereoffice", alias="fkiFranchiseofficeID") + s_franchisereferalincome_remoteid: StrictStr = Field(alias="sFranchisereferalincomeRemoteid") obj_address: Optional[AddressRequest] = Field(default=None, alias="objAddress") a_obj_contact: List[ContactRequestCompound] = Field(alias="a_objContact") __properties: ClassVar[List[str]] = ["pkiFranchisereferalincomeID", "fkiFranchisebrokerID", "fkiFranchisereferalincomeprogramID", "fkiPeriodID", "dFranchisereferalincomeLoan", "dFranchisereferalincomeFranchiseamount", "dFranchisereferalincomeFranchisoramount", "dFranchisereferalincomeAgentamount", "dtFranchisereferalincomeDisbursed", "tFranchisereferalincomeComment", "fkiFranchiseofficeID", "sFranchisereferalincomeRemoteid", "objAddress", "a_objContact"] diff --git a/eZmaxApi/models/glaccount_get_autocomplete_v2_response.py b/eZmaxApi/models/glaccount_get_autocomplete_v2_response.py index 0f7ae3e50..2b48a8a66 100644 --- a/eZmaxApi/models/glaccount_get_autocomplete_v2_response.py +++ b/eZmaxApi/models/glaccount_get_autocomplete_v2_response.py @@ -18,19 +18,20 @@ import re # noqa: F401 import json -from pydantic import ConfigDict, Field -from typing import Any, ClassVar, Dict, List -from eZmaxApi.models.common_response import CommonResponse +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List, Optional from eZmaxApi.models.common_response_obj_debug import CommonResponseObjDebug from eZmaxApi.models.common_response_obj_debug_payload import CommonResponseObjDebugPayload from eZmaxApi.models.glaccount_get_autocomplete_v2_response_m_payload import GlaccountGetAutocompleteV2ResponseMPayload from typing import Optional, Set from typing_extensions import Self -class GlaccountGetAutocompleteV2Response(CommonResponse): +class GlaccountGetAutocompleteV2Response(BaseModel): """ Response for GET /2/object/glaccount/getAutocomplete """ # noqa: E501 + obj_debug_payload: CommonResponseObjDebugPayload = Field(alias="objDebugPayload") + obj_debug: Optional[CommonResponseObjDebug] = Field(default=None, alias="objDebug") m_payload: GlaccountGetAutocompleteV2ResponseMPayload = Field(alias="mPayload") __properties: ClassVar[List[str]] = ["objDebugPayload", "objDebug", "mPayload"] diff --git a/eZmaxApi/models/glaccountcontainer_get_autocomplete_v2_response.py b/eZmaxApi/models/glaccountcontainer_get_autocomplete_v2_response.py index a774840c3..ae80812ff 100644 --- a/eZmaxApi/models/glaccountcontainer_get_autocomplete_v2_response.py +++ b/eZmaxApi/models/glaccountcontainer_get_autocomplete_v2_response.py @@ -18,19 +18,20 @@ import re # noqa: F401 import json -from pydantic import ConfigDict, Field -from typing import Any, ClassVar, Dict, List -from eZmaxApi.models.common_response import CommonResponse +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List, Optional from eZmaxApi.models.common_response_obj_debug import CommonResponseObjDebug from eZmaxApi.models.common_response_obj_debug_payload import CommonResponseObjDebugPayload from eZmaxApi.models.glaccountcontainer_get_autocomplete_v2_response_m_payload import GlaccountcontainerGetAutocompleteV2ResponseMPayload from typing import Optional, Set from typing_extensions import Self -class GlaccountcontainerGetAutocompleteV2Response(CommonResponse): +class GlaccountcontainerGetAutocompleteV2Response(BaseModel): """ Response for GET /2/object/glaccountcontainer/getAutocomplete """ # noqa: E501 + obj_debug_payload: CommonResponseObjDebugPayload = Field(alias="objDebugPayload") + obj_debug: Optional[CommonResponseObjDebug] = Field(default=None, alias="objDebug") m_payload: GlaccountcontainerGetAutocompleteV2ResponseMPayload = Field(alias="mPayload") __properties: ClassVar[List[str]] = ["objDebugPayload", "objDebug", "mPayload"] diff --git a/eZmaxApi/models/inscription_get_attachments_v1_response.py b/eZmaxApi/models/inscription_get_attachments_v1_response.py index 0a01d5274..4c93292c9 100644 --- a/eZmaxApi/models/inscription_get_attachments_v1_response.py +++ b/eZmaxApi/models/inscription_get_attachments_v1_response.py @@ -18,19 +18,20 @@ import re # noqa: F401 import json -from pydantic import ConfigDict, Field -from typing import Any, ClassVar, Dict, List -from eZmaxApi.models.common_response import CommonResponse +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List, Optional from eZmaxApi.models.common_response_obj_debug import CommonResponseObjDebug from eZmaxApi.models.common_response_obj_debug_payload import CommonResponseObjDebugPayload from eZmaxApi.models.inscription_get_attachments_v1_response_m_payload import InscriptionGetAttachmentsV1ResponseMPayload from typing import Optional, Set from typing_extensions import Self -class InscriptionGetAttachmentsV1Response(CommonResponse): +class InscriptionGetAttachmentsV1Response(BaseModel): """ Response for GET /1/object/inscription/{pkiInscriptionID}/getAttachments """ # noqa: E501 + obj_debug_payload: CommonResponseObjDebugPayload = Field(alias="objDebugPayload") + obj_debug: Optional[CommonResponseObjDebug] = Field(default=None, alias="objDebug") m_payload: InscriptionGetAttachmentsV1ResponseMPayload = Field(alias="mPayload") __properties: ClassVar[List[str]] = ["objDebugPayload", "objDebug", "mPayload"] diff --git a/eZmaxApi/models/inscription_get_communication_count_v1_response.py b/eZmaxApi/models/inscription_get_communication_count_v1_response.py index d5fe29cee..766f6f91e 100644 --- a/eZmaxApi/models/inscription_get_communication_count_v1_response.py +++ b/eZmaxApi/models/inscription_get_communication_count_v1_response.py @@ -18,19 +18,20 @@ import re # noqa: F401 import json -from pydantic import ConfigDict, Field -from typing import Any, ClassVar, Dict, List -from eZmaxApi.models.common_response import CommonResponse +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List, Optional from eZmaxApi.models.common_response_obj_debug import CommonResponseObjDebug from eZmaxApi.models.common_response_obj_debug_payload import CommonResponseObjDebugPayload from eZmaxApi.models.inscription_get_communication_count_v1_response_m_payload import InscriptionGetCommunicationCountV1ResponseMPayload from typing import Optional, Set from typing_extensions import Self -class InscriptionGetCommunicationCountV1Response(CommonResponse): +class InscriptionGetCommunicationCountV1Response(BaseModel): """ Response for GET /1/object/inscription/{pkiInscriptionID}/getCommunicationCount """ # noqa: E501 + obj_debug_payload: CommonResponseObjDebugPayload = Field(alias="objDebugPayload") + obj_debug: Optional[CommonResponseObjDebug] = Field(default=None, alias="objDebug") m_payload: InscriptionGetCommunicationCountV1ResponseMPayload = Field(alias="mPayload") __properties: ClassVar[List[str]] = ["objDebugPayload", "objDebug", "mPayload"] diff --git a/eZmaxApi/models/inscription_get_communication_list_v1_response.py b/eZmaxApi/models/inscription_get_communication_list_v1_response.py index ad3149162..8ba9bf1de 100644 --- a/eZmaxApi/models/inscription_get_communication_list_v1_response.py +++ b/eZmaxApi/models/inscription_get_communication_list_v1_response.py @@ -18,19 +18,20 @@ import re # noqa: F401 import json -from pydantic import ConfigDict, Field -from typing import Any, ClassVar, Dict, List -from eZmaxApi.models.common_response_get_list import CommonResponseGetList +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List, Optional from eZmaxApi.models.common_response_obj_debug import CommonResponseObjDebug from eZmaxApi.models.common_response_obj_debug_payload_get_list import CommonResponseObjDebugPayloadGetList from eZmaxApi.models.inscription_get_communication_list_v1_response_m_payload import InscriptionGetCommunicationListV1ResponseMPayload from typing import Optional, Set from typing_extensions import Self -class InscriptionGetCommunicationListV1Response(CommonResponseGetList): +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(default=None, alias="objDebug") m_payload: InscriptionGetCommunicationListV1ResponseMPayload = Field(alias="mPayload") __properties: ClassVar[List[str]] = ["objDebugPayload", "objDebug", "mPayload"] diff --git a/eZmaxApi/models/inscription_get_communicationrecipients_v1_response.py b/eZmaxApi/models/inscription_get_communicationrecipients_v1_response.py index 1cd65c82e..4bdda2be9 100644 --- a/eZmaxApi/models/inscription_get_communicationrecipients_v1_response.py +++ b/eZmaxApi/models/inscription_get_communicationrecipients_v1_response.py @@ -18,19 +18,20 @@ import re # noqa: F401 import json -from pydantic import ConfigDict, Field -from typing import Any, ClassVar, Dict, List -from eZmaxApi.models.common_response import CommonResponse +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List, Optional from eZmaxApi.models.common_response_obj_debug import CommonResponseObjDebug from eZmaxApi.models.common_response_obj_debug_payload import CommonResponseObjDebugPayload from eZmaxApi.models.inscription_get_communicationrecipients_v1_response_m_payload import InscriptionGetCommunicationrecipientsV1ResponseMPayload from typing import Optional, Set from typing_extensions import Self -class InscriptionGetCommunicationrecipientsV1Response(CommonResponse): +class InscriptionGetCommunicationrecipientsV1Response(BaseModel): """ Response for GET /1/object/inscription/{pkiInscriptionID}/getCommunicationrecipients """ # noqa: E501 + obj_debug_payload: CommonResponseObjDebugPayload = Field(alias="objDebugPayload") + obj_debug: Optional[CommonResponseObjDebug] = Field(default=None, alias="objDebug") m_payload: InscriptionGetCommunicationrecipientsV1ResponseMPayload = Field(alias="mPayload") __properties: ClassVar[List[str]] = ["objDebugPayload", "objDebug", "mPayload"] diff --git a/eZmaxApi/models/inscription_get_communicationsenders_v1_response.py b/eZmaxApi/models/inscription_get_communicationsenders_v1_response.py index d118f8c0c..d61bc8ae7 100644 --- a/eZmaxApi/models/inscription_get_communicationsenders_v1_response.py +++ b/eZmaxApi/models/inscription_get_communicationsenders_v1_response.py @@ -18,19 +18,20 @@ import re # noqa: F401 import json -from pydantic import ConfigDict, Field -from typing import Any, ClassVar, Dict, List -from eZmaxApi.models.common_response import CommonResponse +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List, Optional from eZmaxApi.models.common_response_obj_debug import CommonResponseObjDebug from eZmaxApi.models.common_response_obj_debug_payload import CommonResponseObjDebugPayload from eZmaxApi.models.inscription_get_communicationsenders_v1_response_m_payload import InscriptionGetCommunicationsendersV1ResponseMPayload from typing import Optional, Set from typing_extensions import Self -class InscriptionGetCommunicationsendersV1Response(CommonResponse): +class InscriptionGetCommunicationsendersV1Response(BaseModel): """ Response for GET /1/object/inscription/{pkiInscriptionID}/getCommunicationrecipients """ # noqa: E501 + obj_debug_payload: CommonResponseObjDebugPayload = Field(alias="objDebugPayload") + obj_debug: Optional[CommonResponseObjDebug] = Field(default=None, alias="objDebug") m_payload: InscriptionGetCommunicationsendersV1ResponseMPayload = Field(alias="mPayload") __properties: ClassVar[List[str]] = ["objDebugPayload", "objDebug", "mPayload"] diff --git a/eZmaxApi/models/inscriptionnotauthenticated_get_communication_count_v1_response.py b/eZmaxApi/models/inscriptionnotauthenticated_get_communication_count_v1_response.py index 6ed8e8034..61687ebc4 100644 --- a/eZmaxApi/models/inscriptionnotauthenticated_get_communication_count_v1_response.py +++ b/eZmaxApi/models/inscriptionnotauthenticated_get_communication_count_v1_response.py @@ -18,19 +18,20 @@ import re # noqa: F401 import json -from pydantic import ConfigDict, Field -from typing import Any, ClassVar, Dict, List -from eZmaxApi.models.common_response import CommonResponse +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List, Optional from eZmaxApi.models.common_response_obj_debug import CommonResponseObjDebug from eZmaxApi.models.common_response_obj_debug_payload import CommonResponseObjDebugPayload from eZmaxApi.models.inscriptionnotauthenticated_get_communication_count_v1_response_m_payload import InscriptionnotauthenticatedGetCommunicationCountV1ResponseMPayload from typing import Optional, Set from typing_extensions import Self -class InscriptionnotauthenticatedGetCommunicationCountV1Response(CommonResponse): +class InscriptionnotauthenticatedGetCommunicationCountV1Response(BaseModel): """ Response for GET /1/object/inscriptionnotauthenticated/{pkiInscriptionnotauthenticatedID}/getCommunicationCount """ # noqa: E501 + obj_debug_payload: CommonResponseObjDebugPayload = Field(alias="objDebugPayload") + obj_debug: Optional[CommonResponseObjDebug] = Field(default=None, alias="objDebug") m_payload: InscriptionnotauthenticatedGetCommunicationCountV1ResponseMPayload = Field(alias="mPayload") __properties: ClassVar[List[str]] = ["objDebugPayload", "objDebug", "mPayload"] diff --git a/eZmaxApi/models/inscriptionnotauthenticated_get_communication_list_v1_response.py b/eZmaxApi/models/inscriptionnotauthenticated_get_communication_list_v1_response.py index 9ba1978d6..8bde0fb67 100644 --- a/eZmaxApi/models/inscriptionnotauthenticated_get_communication_list_v1_response.py +++ b/eZmaxApi/models/inscriptionnotauthenticated_get_communication_list_v1_response.py @@ -18,19 +18,20 @@ import re # noqa: F401 import json -from pydantic import ConfigDict, Field -from typing import Any, ClassVar, Dict, List -from eZmaxApi.models.common_response_get_list import CommonResponseGetList +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List, Optional from eZmaxApi.models.common_response_obj_debug import CommonResponseObjDebug from eZmaxApi.models.common_response_obj_debug_payload_get_list import CommonResponseObjDebugPayloadGetList from eZmaxApi.models.inscriptionnotauthenticated_get_communication_list_v1_response_m_payload import InscriptionnotauthenticatedGetCommunicationListV1ResponseMPayload from typing import Optional, Set from typing_extensions import Self -class InscriptionnotauthenticatedGetCommunicationListV1Response(CommonResponseGetList): +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(default=None, alias="objDebug") m_payload: InscriptionnotauthenticatedGetCommunicationListV1ResponseMPayload = Field(alias="mPayload") __properties: ClassVar[List[str]] = ["objDebugPayload", "objDebug", "mPayload"] diff --git a/eZmaxApi/models/inscriptionnotauthenticated_get_communicationrecipients_v1_response.py b/eZmaxApi/models/inscriptionnotauthenticated_get_communicationrecipients_v1_response.py index 74f822e60..027331baf 100644 --- a/eZmaxApi/models/inscriptionnotauthenticated_get_communicationrecipients_v1_response.py +++ b/eZmaxApi/models/inscriptionnotauthenticated_get_communicationrecipients_v1_response.py @@ -18,19 +18,20 @@ import re # noqa: F401 import json -from pydantic import ConfigDict, Field -from typing import Any, ClassVar, Dict, List -from eZmaxApi.models.common_response import CommonResponse +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List, Optional from eZmaxApi.models.common_response_obj_debug import CommonResponseObjDebug from eZmaxApi.models.common_response_obj_debug_payload import CommonResponseObjDebugPayload from eZmaxApi.models.inscriptionnotauthenticated_get_communicationrecipients_v1_response_m_payload import InscriptionnotauthenticatedGetCommunicationrecipientsV1ResponseMPayload from typing import Optional, Set from typing_extensions import Self -class InscriptionnotauthenticatedGetCommunicationrecipientsV1Response(CommonResponse): +class InscriptionnotauthenticatedGetCommunicationrecipientsV1Response(BaseModel): """ Response for GET /1/object/inscriptionnotauthenticated/{pkiInscriptionnotauthenticatedID}/getCommunicationrecipients """ # noqa: E501 + obj_debug_payload: CommonResponseObjDebugPayload = Field(alias="objDebugPayload") + obj_debug: Optional[CommonResponseObjDebug] = Field(default=None, alias="objDebug") m_payload: InscriptionnotauthenticatedGetCommunicationrecipientsV1ResponseMPayload = Field(alias="mPayload") __properties: ClassVar[List[str]] = ["objDebugPayload", "objDebug", "mPayload"] diff --git a/eZmaxApi/models/inscriptionnotauthenticated_get_communicationsenders_v1_response.py b/eZmaxApi/models/inscriptionnotauthenticated_get_communicationsenders_v1_response.py index 71124405c..f43c56ff6 100644 --- a/eZmaxApi/models/inscriptionnotauthenticated_get_communicationsenders_v1_response.py +++ b/eZmaxApi/models/inscriptionnotauthenticated_get_communicationsenders_v1_response.py @@ -18,19 +18,20 @@ import re # noqa: F401 import json -from pydantic import ConfigDict, Field -from typing import Any, ClassVar, Dict, List -from eZmaxApi.models.common_response import CommonResponse +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List, Optional from eZmaxApi.models.common_response_obj_debug import CommonResponseObjDebug from eZmaxApi.models.common_response_obj_debug_payload import CommonResponseObjDebugPayload from eZmaxApi.models.inscriptionnotauthenticated_get_communicationsenders_v1_response_m_payload import InscriptionnotauthenticatedGetCommunicationsendersV1ResponseMPayload from typing import Optional, Set from typing_extensions import Self -class InscriptionnotauthenticatedGetCommunicationsendersV1Response(CommonResponse): +class InscriptionnotauthenticatedGetCommunicationsendersV1Response(BaseModel): """ Response for GET /1/object/inscriptionnotauthenticated/{pkiInscriptionnotauthenticatedID}/getCommunicationrecipients """ # noqa: E501 + obj_debug_payload: CommonResponseObjDebugPayload = Field(alias="objDebugPayload") + obj_debug: Optional[CommonResponseObjDebug] = Field(default=None, alias="objDebug") m_payload: InscriptionnotauthenticatedGetCommunicationsendersV1ResponseMPayload = Field(alias="mPayload") __properties: ClassVar[List[str]] = ["objDebugPayload", "objDebug", "mPayload"] diff --git a/eZmaxApi/models/inscriptiontemp_get_communication_count_v1_response.py b/eZmaxApi/models/inscriptiontemp_get_communication_count_v1_response.py index 27037bf53..32a79475c 100644 --- a/eZmaxApi/models/inscriptiontemp_get_communication_count_v1_response.py +++ b/eZmaxApi/models/inscriptiontemp_get_communication_count_v1_response.py @@ -18,19 +18,20 @@ import re # noqa: F401 import json -from pydantic import ConfigDict, Field -from typing import Any, ClassVar, Dict, List -from eZmaxApi.models.common_response import CommonResponse +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List, Optional from eZmaxApi.models.common_response_obj_debug import CommonResponseObjDebug from eZmaxApi.models.common_response_obj_debug_payload import CommonResponseObjDebugPayload from eZmaxApi.models.inscriptiontemp_get_communication_count_v1_response_m_payload import InscriptiontempGetCommunicationCountV1ResponseMPayload from typing import Optional, Set from typing_extensions import Self -class InscriptiontempGetCommunicationCountV1Response(CommonResponse): +class InscriptiontempGetCommunicationCountV1Response(BaseModel): """ Response for GET /1/object/inscriptiontemp/{pkiInscriptiontempID}/getCommunicationCount """ # noqa: E501 + obj_debug_payload: CommonResponseObjDebugPayload = Field(alias="objDebugPayload") + obj_debug: Optional[CommonResponseObjDebug] = Field(default=None, alias="objDebug") m_payload: InscriptiontempGetCommunicationCountV1ResponseMPayload = Field(alias="mPayload") __properties: ClassVar[List[str]] = ["objDebugPayload", "objDebug", "mPayload"] diff --git a/eZmaxApi/models/inscriptiontemp_get_communication_list_v1_response.py b/eZmaxApi/models/inscriptiontemp_get_communication_list_v1_response.py index 7a1b885cf..8c4f6237f 100644 --- a/eZmaxApi/models/inscriptiontemp_get_communication_list_v1_response.py +++ b/eZmaxApi/models/inscriptiontemp_get_communication_list_v1_response.py @@ -18,19 +18,20 @@ import re # noqa: F401 import json -from pydantic import ConfigDict, Field -from typing import Any, ClassVar, Dict, List -from eZmaxApi.models.common_response_get_list import CommonResponseGetList +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List, Optional from eZmaxApi.models.common_response_obj_debug import CommonResponseObjDebug from eZmaxApi.models.common_response_obj_debug_payload_get_list import CommonResponseObjDebugPayloadGetList from eZmaxApi.models.inscriptiontemp_get_communication_list_v1_response_m_payload import InscriptiontempGetCommunicationListV1ResponseMPayload from typing import Optional, Set from typing_extensions import Self -class InscriptiontempGetCommunicationListV1Response(CommonResponseGetList): +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(default=None, alias="objDebug") m_payload: InscriptiontempGetCommunicationListV1ResponseMPayload = Field(alias="mPayload") __properties: ClassVar[List[str]] = ["objDebugPayload", "objDebug", "mPayload"] diff --git a/eZmaxApi/models/inscriptiontemp_get_communicationrecipients_v1_response.py b/eZmaxApi/models/inscriptiontemp_get_communicationrecipients_v1_response.py index 35fc4de34..c535063ba 100644 --- a/eZmaxApi/models/inscriptiontemp_get_communicationrecipients_v1_response.py +++ b/eZmaxApi/models/inscriptiontemp_get_communicationrecipients_v1_response.py @@ -18,19 +18,20 @@ import re # noqa: F401 import json -from pydantic import ConfigDict, Field -from typing import Any, ClassVar, Dict, List -from eZmaxApi.models.common_response import CommonResponse +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List, Optional from eZmaxApi.models.common_response_obj_debug import CommonResponseObjDebug from eZmaxApi.models.common_response_obj_debug_payload import CommonResponseObjDebugPayload from eZmaxApi.models.inscriptiontemp_get_communicationrecipients_v1_response_m_payload import InscriptiontempGetCommunicationrecipientsV1ResponseMPayload from typing import Optional, Set from typing_extensions import Self -class InscriptiontempGetCommunicationrecipientsV1Response(CommonResponse): +class InscriptiontempGetCommunicationrecipientsV1Response(BaseModel): """ Response for GET /1/object/inscriptiontemp/{pkiInscriptiontempID}/getCommunicationrecipients """ # noqa: E501 + obj_debug_payload: CommonResponseObjDebugPayload = Field(alias="objDebugPayload") + obj_debug: Optional[CommonResponseObjDebug] = Field(default=None, alias="objDebug") m_payload: InscriptiontempGetCommunicationrecipientsV1ResponseMPayload = Field(alias="mPayload") __properties: ClassVar[List[str]] = ["objDebugPayload", "objDebug", "mPayload"] diff --git a/eZmaxApi/models/inscriptiontemp_get_communicationsenders_v1_response.py b/eZmaxApi/models/inscriptiontemp_get_communicationsenders_v1_response.py index da18e5fd5..e4d3550f1 100644 --- a/eZmaxApi/models/inscriptiontemp_get_communicationsenders_v1_response.py +++ b/eZmaxApi/models/inscriptiontemp_get_communicationsenders_v1_response.py @@ -18,19 +18,20 @@ import re # noqa: F401 import json -from pydantic import ConfigDict, Field -from typing import Any, ClassVar, Dict, List -from eZmaxApi.models.common_response import CommonResponse +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List, Optional from eZmaxApi.models.common_response_obj_debug import CommonResponseObjDebug from eZmaxApi.models.common_response_obj_debug_payload import CommonResponseObjDebugPayload from eZmaxApi.models.inscriptiontemp_get_communicationsenders_v1_response_m_payload import InscriptiontempGetCommunicationsendersV1ResponseMPayload from typing import Optional, Set from typing_extensions import Self -class InscriptiontempGetCommunicationsendersV1Response(CommonResponse): +class InscriptiontempGetCommunicationsendersV1Response(BaseModel): """ Response for GET /1/object/inscriptiontemp/{pkiInscriptiontempID}/getCommunicationrecipients """ # noqa: E501 + obj_debug_payload: CommonResponseObjDebugPayload = Field(alias="objDebugPayload") + obj_debug: Optional[CommonResponseObjDebug] = Field(default=None, alias="objDebug") m_payload: InscriptiontempGetCommunicationsendersV1ResponseMPayload = Field(alias="mPayload") __properties: ClassVar[List[str]] = ["objDebugPayload", "objDebug", "mPayload"] diff --git a/eZmaxApi/models/invoice_get_attachments_v1_response.py b/eZmaxApi/models/invoice_get_attachments_v1_response.py index 7ce3fcb7a..c17894d0a 100644 --- a/eZmaxApi/models/invoice_get_attachments_v1_response.py +++ b/eZmaxApi/models/invoice_get_attachments_v1_response.py @@ -18,19 +18,20 @@ import re # noqa: F401 import json -from pydantic import ConfigDict, Field -from typing import Any, ClassVar, Dict, List -from eZmaxApi.models.common_response import CommonResponse +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List, Optional from eZmaxApi.models.common_response_obj_debug import CommonResponseObjDebug from eZmaxApi.models.common_response_obj_debug_payload import CommonResponseObjDebugPayload from eZmaxApi.models.invoice_get_attachments_v1_response_m_payload import InvoiceGetAttachmentsV1ResponseMPayload from typing import Optional, Set from typing_extensions import Self -class InvoiceGetAttachmentsV1Response(CommonResponse): +class InvoiceGetAttachmentsV1Response(BaseModel): """ Response for GET /1/object/invoice/{pkiInvoiceID}/getAttachments """ # noqa: E501 + obj_debug_payload: CommonResponseObjDebugPayload = Field(alias="objDebugPayload") + obj_debug: Optional[CommonResponseObjDebug] = Field(default=None, alias="objDebug") m_payload: InvoiceGetAttachmentsV1ResponseMPayload = Field(alias="mPayload") __properties: ClassVar[List[str]] = ["objDebugPayload", "objDebug", "mPayload"] diff --git a/eZmaxApi/models/invoice_get_communication_count_v1_response.py b/eZmaxApi/models/invoice_get_communication_count_v1_response.py index daa0253a6..5add09680 100644 --- a/eZmaxApi/models/invoice_get_communication_count_v1_response.py +++ b/eZmaxApi/models/invoice_get_communication_count_v1_response.py @@ -18,19 +18,20 @@ import re # noqa: F401 import json -from pydantic import ConfigDict, Field -from typing import Any, ClassVar, Dict, List -from eZmaxApi.models.common_response import CommonResponse +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List, Optional from eZmaxApi.models.common_response_obj_debug import CommonResponseObjDebug from eZmaxApi.models.common_response_obj_debug_payload import CommonResponseObjDebugPayload from eZmaxApi.models.invoice_get_communication_count_v1_response_m_payload import InvoiceGetCommunicationCountV1ResponseMPayload from typing import Optional, Set from typing_extensions import Self -class InvoiceGetCommunicationCountV1Response(CommonResponse): +class InvoiceGetCommunicationCountV1Response(BaseModel): """ Response for GET /1/object/invoice/{pkiInvoiceID}/getCommunicationCount """ # noqa: E501 + obj_debug_payload: CommonResponseObjDebugPayload = Field(alias="objDebugPayload") + obj_debug: Optional[CommonResponseObjDebug] = Field(default=None, alias="objDebug") m_payload: InvoiceGetCommunicationCountV1ResponseMPayload = Field(alias="mPayload") __properties: ClassVar[List[str]] = ["objDebugPayload", "objDebug", "mPayload"] diff --git a/eZmaxApi/models/invoice_get_communication_list_v1_response.py b/eZmaxApi/models/invoice_get_communication_list_v1_response.py index 21c0506a2..182938741 100644 --- a/eZmaxApi/models/invoice_get_communication_list_v1_response.py +++ b/eZmaxApi/models/invoice_get_communication_list_v1_response.py @@ -18,19 +18,20 @@ import re # noqa: F401 import json -from pydantic import ConfigDict, Field -from typing import Any, ClassVar, Dict, List -from eZmaxApi.models.common_response_get_list import CommonResponseGetList +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List, Optional from eZmaxApi.models.common_response_obj_debug import CommonResponseObjDebug from eZmaxApi.models.common_response_obj_debug_payload_get_list import CommonResponseObjDebugPayloadGetList from eZmaxApi.models.invoice_get_communication_list_v1_response_m_payload import InvoiceGetCommunicationListV1ResponseMPayload from typing import Optional, Set from typing_extensions import Self -class InvoiceGetCommunicationListV1Response(CommonResponseGetList): +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(default=None, alias="objDebug") m_payload: InvoiceGetCommunicationListV1ResponseMPayload = Field(alias="mPayload") __properties: ClassVar[List[str]] = ["objDebugPayload", "objDebug", "mPayload"] diff --git a/eZmaxApi/models/invoice_get_communicationrecipients_v1_response.py b/eZmaxApi/models/invoice_get_communicationrecipients_v1_response.py index bf99c6fd2..58a61c43f 100644 --- a/eZmaxApi/models/invoice_get_communicationrecipients_v1_response.py +++ b/eZmaxApi/models/invoice_get_communicationrecipients_v1_response.py @@ -18,19 +18,20 @@ import re # noqa: F401 import json -from pydantic import ConfigDict, Field -from typing import Any, ClassVar, Dict, List -from eZmaxApi.models.common_response import CommonResponse +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List, Optional from eZmaxApi.models.common_response_obj_debug import CommonResponseObjDebug from eZmaxApi.models.common_response_obj_debug_payload import CommonResponseObjDebugPayload from eZmaxApi.models.invoice_get_communicationrecipients_v1_response_m_payload import InvoiceGetCommunicationrecipientsV1ResponseMPayload from typing import Optional, Set from typing_extensions import Self -class InvoiceGetCommunicationrecipientsV1Response(CommonResponse): +class InvoiceGetCommunicationrecipientsV1Response(BaseModel): """ Response for GET /1/object/invoice/{pkiInvoiceID}/getCommunicationrecipients """ # noqa: E501 + obj_debug_payload: CommonResponseObjDebugPayload = Field(alias="objDebugPayload") + obj_debug: Optional[CommonResponseObjDebug] = Field(default=None, alias="objDebug") m_payload: InvoiceGetCommunicationrecipientsV1ResponseMPayload = Field(alias="mPayload") __properties: ClassVar[List[str]] = ["objDebugPayload", "objDebug", "mPayload"] diff --git a/eZmaxApi/models/invoice_get_communicationsenders_v1_response.py b/eZmaxApi/models/invoice_get_communicationsenders_v1_response.py index cc443e843..e7fde380a 100644 --- a/eZmaxApi/models/invoice_get_communicationsenders_v1_response.py +++ b/eZmaxApi/models/invoice_get_communicationsenders_v1_response.py @@ -18,19 +18,20 @@ import re # noqa: F401 import json -from pydantic import ConfigDict, Field -from typing import Any, ClassVar, Dict, List -from eZmaxApi.models.common_response import CommonResponse +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List, Optional from eZmaxApi.models.common_response_obj_debug import CommonResponseObjDebug from eZmaxApi.models.common_response_obj_debug_payload import CommonResponseObjDebugPayload from eZmaxApi.models.invoice_get_communicationsenders_v1_response_m_payload import InvoiceGetCommunicationsendersV1ResponseMPayload from typing import Optional, Set from typing_extensions import Self -class InvoiceGetCommunicationsendersV1Response(CommonResponse): +class InvoiceGetCommunicationsendersV1Response(BaseModel): """ Response for GET /1/object/invoice/{pkiInvoiceID}/getCommunicationrecipients """ # noqa: E501 + obj_debug_payload: CommonResponseObjDebugPayload = Field(alias="objDebugPayload") + obj_debug: Optional[CommonResponseObjDebug] = Field(default=None, alias="objDebug") m_payload: InvoiceGetCommunicationsendersV1ResponseMPayload = Field(alias="mPayload") __properties: ClassVar[List[str]] = ["objDebugPayload", "objDebug", "mPayload"] diff --git a/eZmaxApi/models/language_get_autocomplete_v2_response.py b/eZmaxApi/models/language_get_autocomplete_v2_response.py index 8f88ad59a..8b18c2524 100644 --- a/eZmaxApi/models/language_get_autocomplete_v2_response.py +++ b/eZmaxApi/models/language_get_autocomplete_v2_response.py @@ -18,19 +18,20 @@ import re # noqa: F401 import json -from pydantic import ConfigDict, Field -from typing import Any, ClassVar, Dict, List -from eZmaxApi.models.common_response import CommonResponse +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List, Optional from eZmaxApi.models.common_response_obj_debug import CommonResponseObjDebug from eZmaxApi.models.common_response_obj_debug_payload import CommonResponseObjDebugPayload from eZmaxApi.models.language_get_autocomplete_v2_response_m_payload import LanguageGetAutocompleteV2ResponseMPayload from typing import Optional, Set from typing_extensions import Self -class LanguageGetAutocompleteV2Response(CommonResponse): +class LanguageGetAutocompleteV2Response(BaseModel): """ Response for GET /2/object/language/getAutocomplete """ # noqa: E501 + obj_debug_payload: CommonResponseObjDebugPayload = Field(alias="objDebugPayload") + obj_debug: Optional[CommonResponseObjDebug] = Field(default=None, alias="objDebug") m_payload: LanguageGetAutocompleteV2ResponseMPayload = Field(alias="mPayload") __properties: ClassVar[List[str]] = ["objDebugPayload", "objDebug", "mPayload"] diff --git a/eZmaxApi/models/module_get_autocomplete_v2_response.py b/eZmaxApi/models/module_get_autocomplete_v2_response.py index 6288f50f1..dab57f726 100644 --- a/eZmaxApi/models/module_get_autocomplete_v2_response.py +++ b/eZmaxApi/models/module_get_autocomplete_v2_response.py @@ -18,19 +18,20 @@ import re # noqa: F401 import json -from pydantic import ConfigDict, Field -from typing import Any, ClassVar, Dict, List -from eZmaxApi.models.common_response import CommonResponse +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List, Optional from eZmaxApi.models.common_response_obj_debug import CommonResponseObjDebug from eZmaxApi.models.common_response_obj_debug_payload import CommonResponseObjDebugPayload from eZmaxApi.models.module_get_autocomplete_v2_response_m_payload import ModuleGetAutocompleteV2ResponseMPayload from typing import Optional, Set from typing_extensions import Self -class ModuleGetAutocompleteV2Response(CommonResponse): +class ModuleGetAutocompleteV2Response(BaseModel): """ Response for GET /2/object/module/getAutocomplete """ # noqa: E501 + obj_debug_payload: CommonResponseObjDebugPayload = Field(alias="objDebugPayload") + obj_debug: Optional[CommonResponseObjDebug] = Field(default=None, alias="objDebug") m_payload: ModuleGetAutocompleteV2ResponseMPayload = Field(alias="mPayload") __properties: ClassVar[List[str]] = ["objDebugPayload", "objDebug", "mPayload"] diff --git a/eZmaxApi/models/module_response.py b/eZmaxApi/models/module_response.py index 618195f7f..9b8bb510c 100644 --- a/eZmaxApi/models/module_response.py +++ b/eZmaxApi/models/module_response.py @@ -78,7 +78,22 @@ def to_dict(self) -> Dict[str, Any]: return _dict @classmethod - def from_dict(cls, obj: Dict[str, Any]) -> Optional[Self]: + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: """Create an instance of ModuleResponse from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "pkiModuleID": obj.get("pkiModuleID"), + "fkiModulegroupID": obj.get("fkiModulegroupID"), + "eModuleInternalname": obj.get("eModuleInternalname"), + "sModuleNameX": obj.get("sModuleNameX"), + "bModuleRegistered": obj.get("bModuleRegistered"), + "bModuleRegisteredapi": obj.get("bModuleRegisteredapi") + }) + return _obj diff --git a/eZmaxApi/models/module_response_compound.py b/eZmaxApi/models/module_response_compound.py index f84b6e272..6cdbea9df 100644 --- a/eZmaxApi/models/module_response_compound.py +++ b/eZmaxApi/models/module_response_compound.py @@ -18,17 +18,23 @@ import re # noqa: F401 import json -from pydantic import ConfigDict, Field +from pydantic import BaseModel, ConfigDict, Field, StrictBool, StrictStr from typing import Any, ClassVar, Dict, List, Optional -from eZmaxApi.models.module_response import ModuleResponse +from typing_extensions import Annotated from eZmaxApi.models.modulesection_response_compound import ModulesectionResponseCompound from typing import Optional, Set from typing_extensions import Self -class ModuleResponseCompound(ModuleResponse): +class ModuleResponseCompound(BaseModel): """ A Module Object """ # noqa: E501 + pki_module_id: Annotated[int, Field(strict=True, ge=0)] = Field(description="The unique ID of the Module", alias="pkiModuleID") + fki_modulegroup_id: Annotated[int, Field(le=255, strict=True, ge=1)] = Field(description="The unique ID of the Modulegroup", alias="fkiModulegroupID") + e_module_internalname: StrictStr = Field(description="The Internal name of the Module. This is theoretically an enum field but there are so many possibles values we decided not to list them all.", alias="eModuleInternalname") + s_module_name_x: StrictStr = Field(description="The Name of the Module in the language of the requester", alias="sModuleNameX") + b_module_registered: StrictBool = Field(description="Whether the Module is registered or not", alias="bModuleRegistered") + b_module_registeredapi: StrictBool = Field(description="Whether the Module is registered or not for api use", alias="bModuleRegisteredapi") a_obj_modulesection: Optional[List[ModulesectionResponseCompound]] = Field(default=None, alias="a_objModulesection") __properties: ClassVar[List[str]] = ["pkiModuleID", "fkiModulegroupID", "eModuleInternalname", "sModuleNameX", "bModuleRegistered", "bModuleRegisteredapi", "a_objModulesection"] diff --git a/eZmaxApi/models/modulegroup_get_all_v1_response.py b/eZmaxApi/models/modulegroup_get_all_v1_response.py index 22b748af0..f2a4cdc8d 100644 --- a/eZmaxApi/models/modulegroup_get_all_v1_response.py +++ b/eZmaxApi/models/modulegroup_get_all_v1_response.py @@ -18,19 +18,20 @@ import re # noqa: F401 import json -from pydantic import ConfigDict, Field -from typing import Any, ClassVar, Dict, List -from eZmaxApi.models.common_response import CommonResponse +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List, Optional from eZmaxApi.models.common_response_obj_debug import CommonResponseObjDebug from eZmaxApi.models.common_response_obj_debug_payload import CommonResponseObjDebugPayload from eZmaxApi.models.modulegroup_get_all_v1_response_m_payload import ModulegroupGetAllV1ResponseMPayload from typing import Optional, Set from typing_extensions import Self -class ModulegroupGetAllV1Response(CommonResponse): +class ModulegroupGetAllV1Response(BaseModel): """ Response for GET /1/object/modulegroup/getAll """ # noqa: E501 + obj_debug_payload: CommonResponseObjDebugPayload = Field(alias="objDebugPayload") + obj_debug: Optional[CommonResponseObjDebug] = Field(default=None, alias="objDebug") m_payload: ModulegroupGetAllV1ResponseMPayload = Field(alias="mPayload") __properties: ClassVar[List[str]] = ["objDebugPayload", "objDebug", "mPayload"] diff --git a/eZmaxApi/models/modulegroup_response.py b/eZmaxApi/models/modulegroup_response.py index ab3367b15..d9c87decc 100644 --- a/eZmaxApi/models/modulegroup_response.py +++ b/eZmaxApi/models/modulegroup_response.py @@ -81,7 +81,18 @@ def to_dict(self) -> Dict[str, Any]: return _dict @classmethod - def from_dict(cls, obj: Dict[str, Any]) -> Optional[Self]: + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: """Create an instance of ModulegroupResponse from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "pkiModulegroupID": obj.get("pkiModulegroupID"), + "sModulegroupNameX": obj.get("sModulegroupNameX") + }) + return _obj diff --git a/eZmaxApi/models/modulegroup_response_compound.py b/eZmaxApi/models/modulegroup_response_compound.py index 2404992ee..ad79332e8 100644 --- a/eZmaxApi/models/modulegroup_response_compound.py +++ b/eZmaxApi/models/modulegroup_response_compound.py @@ -18,20 +18,29 @@ import re # noqa: F401 import json -from pydantic import ConfigDict, Field +from pydantic import BaseModel, ConfigDict, Field, field_validator from typing import Any, ClassVar, Dict, List, Optional +from typing_extensions import Annotated from eZmaxApi.models.module_response_compound import ModuleResponseCompound -from eZmaxApi.models.modulegroup_response import ModulegroupResponse from typing import Optional, Set from typing_extensions import Self -class ModulegroupResponseCompound(ModulegroupResponse): +class ModulegroupResponseCompound(BaseModel): """ A Modulegroup Object """ # noqa: E501 + pki_modulegroup_id: Annotated[int, Field(le=255, strict=True, ge=1)] = Field(description="The unique ID of the Modulegroup", alias="pkiModulegroupID") + s_modulegroup_name_x: Annotated[str, Field(strict=True)] = Field(description="The name of the Modulegroup in the language of the requester", alias="sModulegroupNameX") a_obj_module: Optional[List[ModuleResponseCompound]] = Field(default=None, alias="a_objModule") __properties: ClassVar[List[str]] = ["pkiModulegroupID", "sModulegroupNameX", "a_objModule"] + @field_validator('s_modulegroup_name_x') + def s_modulegroup_name_x_validate_regular_expression(cls, value): + """Validates the regular expression""" + if not re.match(r"^.{0,25}$", value): + raise ValueError(r"must validate the regular expression /^.{0,25}$/") + return value + model_config = ConfigDict( populate_by_name=True, validate_assignment=True, diff --git a/eZmaxApi/models/modulesection_response.py b/eZmaxApi/models/modulesection_response.py index 89fa13091..f5c26d154 100644 --- a/eZmaxApi/models/modulesection_response.py +++ b/eZmaxApi/models/modulesection_response.py @@ -76,7 +76,20 @@ def to_dict(self) -> Dict[str, Any]: return _dict @classmethod - def from_dict(cls, obj: Dict[str, Any]) -> Optional[Self]: + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: """Create an instance of ModulesectionResponse from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "pkiModulesectionID": obj.get("pkiModulesectionID"), + "fkiModuleID": obj.get("fkiModuleID"), + "sModulesectionInternalname": obj.get("sModulesectionInternalname"), + "sModulesectionNameX": obj.get("sModulesectionNameX") + }) + return _obj diff --git a/eZmaxApi/models/modulesection_response_compound.py b/eZmaxApi/models/modulesection_response_compound.py index fbff282e8..acbc8752d 100644 --- a/eZmaxApi/models/modulesection_response_compound.py +++ b/eZmaxApi/models/modulesection_response_compound.py @@ -18,18 +18,22 @@ import re # noqa: F401 import json -from pydantic import ConfigDict, Field +from pydantic import BaseModel, ConfigDict, Field, StrictStr from typing import Any, ClassVar, Dict, List, Optional -from eZmaxApi.models.modulesection_response import ModulesectionResponse -from eZmaxApi.models.permission_response import PermissionResponse +from typing_extensions import Annotated +from eZmaxApi.models.permission_response_compound import PermissionResponseCompound from typing import Optional, Set from typing_extensions import Self -class ModulesectionResponseCompound(ModulesectionResponse): +class ModulesectionResponseCompound(BaseModel): """ A Modulesection Object """ # noqa: E501 - a_obj_permission: Optional[List[PermissionResponse]] = Field(default=None, alias="a_objPermission") + pki_modulesection_id: Annotated[int, Field(strict=True, ge=0)] = Field(description="The unique ID of the Modulesection", alias="pkiModulesectionID") + fki_module_id: Annotated[int, Field(strict=True, ge=0)] = Field(description="The unique ID of the Module", alias="fkiModuleID") + s_modulesection_internalname: StrictStr = Field(description="The Internal name of the Module section.", alias="sModulesectionInternalname") + s_modulesection_name_x: StrictStr = Field(description="The Name of the Modulesection in the language of the requester", alias="sModulesectionNameX") + a_obj_permission: Optional[List[PermissionResponseCompound]] = Field(default=None, alias="a_objPermission") __properties: ClassVar[List[str]] = ["pkiModulesectionID", "fkiModuleID", "sModulesectionInternalname", "sModulesectionNameX", "a_objPermission"] model_config = ConfigDict( @@ -94,7 +98,7 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: "fkiModuleID": obj.get("fkiModuleID"), "sModulesectionInternalname": obj.get("sModulesectionInternalname"), "sModulesectionNameX": obj.get("sModulesectionNameX"), - "a_objPermission": [PermissionResponse.from_dict(_item) for _item in obj["a_objPermission"]] if obj.get("a_objPermission") is not None else None + "a_objPermission": [PermissionResponseCompound.from_dict(_item) for _item in obj["a_objPermission"]] if obj.get("a_objPermission") is not None else None }) return _obj diff --git a/eZmaxApi/models/notificationsection_get_notificationtests_v1_response.py b/eZmaxApi/models/notificationsection_get_notificationtests_v1_response.py index 34b17a615..5ade0f45c 100644 --- a/eZmaxApi/models/notificationsection_get_notificationtests_v1_response.py +++ b/eZmaxApi/models/notificationsection_get_notificationtests_v1_response.py @@ -18,19 +18,20 @@ import re # noqa: F401 import json -from pydantic import ConfigDict, Field -from typing import Any, ClassVar, Dict, List -from eZmaxApi.models.common_response import CommonResponse +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List, Optional from eZmaxApi.models.common_response_obj_debug import CommonResponseObjDebug from eZmaxApi.models.common_response_obj_debug_payload import CommonResponseObjDebugPayload from eZmaxApi.models.notificationsection_get_notificationtests_v1_response_m_payload import NotificationsectionGetNotificationtestsV1ResponseMPayload from typing import Optional, Set from typing_extensions import Self -class NotificationsectionGetNotificationtestsV1Response(CommonResponse): +class NotificationsectionGetNotificationtestsV1Response(BaseModel): """ Response for GET /1/object/notificationsection/{pkiNotificationsectionID}/getNotificationtests """ # noqa: E501 + obj_debug_payload: CommonResponseObjDebugPayload = Field(alias="objDebugPayload") + obj_debug: Optional[CommonResponseObjDebug] = Field(default=None, alias="objDebug") m_payload: NotificationsectionGetNotificationtestsV1ResponseMPayload = Field(alias="mPayload") __properties: ClassVar[List[str]] = ["objDebugPayload", "objDebug", "mPayload"] diff --git a/eZmaxApi/models/notificationsubsection_response.py b/eZmaxApi/models/notificationsubsection_response.py index ee3e4252b..0558c7c2b 100644 --- a/eZmaxApi/models/notificationsubsection_response.py +++ b/eZmaxApi/models/notificationsubsection_response.py @@ -81,7 +81,21 @@ def to_dict(self) -> Dict[str, Any]: return _dict @classmethod - def from_dict(cls, obj: Dict[str, Any]) -> Optional[Self]: + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: """Create an instance of NotificationsubsectionResponse from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "pkiNotificationsubsectionID": obj.get("pkiNotificationsubsectionID"), + "fkiNotificationsectionID": obj.get("fkiNotificationsectionID"), + "objNotificationsubsectionName": MultilingualNotificationsubsectionName.from_dict(obj["objNotificationsubsectionName"]) if obj.get("objNotificationsubsectionName") is not None else None, + "sNotificationsectionNameX": obj.get("sNotificationsectionNameX"), + "sNotificationsubsectionNameX": obj.get("sNotificationsubsectionNameX") + }) + return _obj diff --git a/eZmaxApi/models/notificationtest_get_elements_v1_response.py b/eZmaxApi/models/notificationtest_get_elements_v1_response.py index 365819b41..85c7182cb 100644 --- a/eZmaxApi/models/notificationtest_get_elements_v1_response.py +++ b/eZmaxApi/models/notificationtest_get_elements_v1_response.py @@ -18,19 +18,20 @@ import re # noqa: F401 import json -from pydantic import ConfigDict, Field -from typing import Any, ClassVar, Dict, List -from eZmaxApi.models.common_response import CommonResponse +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List, Optional from eZmaxApi.models.common_response_obj_debug import CommonResponseObjDebug from eZmaxApi.models.common_response_obj_debug_payload import CommonResponseObjDebugPayload from eZmaxApi.models.notificationtest_get_elements_v1_response_m_payload import NotificationtestGetElementsV1ResponseMPayload from typing import Optional, Set from typing_extensions import Self -class NotificationtestGetElementsV1Response(CommonResponse): +class NotificationtestGetElementsV1Response(BaseModel): """ Response for GET /1/object/notificationtest/{pkiNotificationtestID}/getElements """ # noqa: E501 + obj_debug_payload: CommonResponseObjDebugPayload = Field(alias="objDebugPayload") + obj_debug: Optional[CommonResponseObjDebug] = Field(default=None, alias="objDebug") m_payload: NotificationtestGetElementsV1ResponseMPayload = Field(alias="mPayload") __properties: ClassVar[List[str]] = ["objDebugPayload", "objDebug", "mPayload"] diff --git a/eZmaxApi/models/notificationtest_response.py b/eZmaxApi/models/notificationtest_response.py index 0ce5188bd..797500666 100644 --- a/eZmaxApi/models/notificationtest_response.py +++ b/eZmaxApi/models/notificationtest_response.py @@ -81,7 +81,21 @@ def to_dict(self) -> Dict[str, Any]: return _dict @classmethod - def from_dict(cls, obj: Dict[str, Any]) -> Optional[Self]: + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: """Create an instance of NotificationtestResponse from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "pkiNotificationtestID": obj.get("pkiNotificationtestID"), + "objNotificationtestName": MultilingualNotificationtestName.from_dict(obj["objNotificationtestName"]) if obj.get("objNotificationtestName") is not None else None, + "fkiNotificationsubsectionID": obj.get("fkiNotificationsubsectionID"), + "sNotificationtestFunction": obj.get("sNotificationtestFunction"), + "sNotificationtestNameX": obj.get("sNotificationtestNameX") + }) + return _obj diff --git a/eZmaxApi/models/otherincome_get_communication_count_v1_response.py b/eZmaxApi/models/otherincome_get_communication_count_v1_response.py index 393fabc02..63357dc24 100644 --- a/eZmaxApi/models/otherincome_get_communication_count_v1_response.py +++ b/eZmaxApi/models/otherincome_get_communication_count_v1_response.py @@ -18,19 +18,20 @@ import re # noqa: F401 import json -from pydantic import ConfigDict, Field -from typing import Any, ClassVar, Dict, List -from eZmaxApi.models.common_response import CommonResponse +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List, Optional from eZmaxApi.models.common_response_obj_debug import CommonResponseObjDebug from eZmaxApi.models.common_response_obj_debug_payload import CommonResponseObjDebugPayload from eZmaxApi.models.otherincome_get_communication_count_v1_response_m_payload import OtherincomeGetCommunicationCountV1ResponseMPayload from typing import Optional, Set from typing_extensions import Self -class OtherincomeGetCommunicationCountV1Response(CommonResponse): +class OtherincomeGetCommunicationCountV1Response(BaseModel): """ Response for GET /1/object/otherincome/{pkiOtherincomeID}/getCommunicationCount """ # noqa: E501 + obj_debug_payload: CommonResponseObjDebugPayload = Field(alias="objDebugPayload") + obj_debug: Optional[CommonResponseObjDebug] = Field(default=None, alias="objDebug") m_payload: OtherincomeGetCommunicationCountV1ResponseMPayload = Field(alias="mPayload") __properties: ClassVar[List[str]] = ["objDebugPayload", "objDebug", "mPayload"] diff --git a/eZmaxApi/models/otherincome_get_communication_list_v1_response.py b/eZmaxApi/models/otherincome_get_communication_list_v1_response.py index b083a9f5d..fbfab3ff6 100644 --- a/eZmaxApi/models/otherincome_get_communication_list_v1_response.py +++ b/eZmaxApi/models/otherincome_get_communication_list_v1_response.py @@ -18,19 +18,20 @@ import re # noqa: F401 import json -from pydantic import ConfigDict, Field -from typing import Any, ClassVar, Dict, List -from eZmaxApi.models.common_response_get_list import CommonResponseGetList +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List, Optional from eZmaxApi.models.common_response_obj_debug import CommonResponseObjDebug from eZmaxApi.models.common_response_obj_debug_payload_get_list import CommonResponseObjDebugPayloadGetList from eZmaxApi.models.otherincome_get_communication_list_v1_response_m_payload import OtherincomeGetCommunicationListV1ResponseMPayload from typing import Optional, Set from typing_extensions import Self -class OtherincomeGetCommunicationListV1Response(CommonResponseGetList): +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(default=None, alias="objDebug") m_payload: OtherincomeGetCommunicationListV1ResponseMPayload = Field(alias="mPayload") __properties: ClassVar[List[str]] = ["objDebugPayload", "objDebug", "mPayload"] diff --git a/eZmaxApi/models/otherincome_get_communicationrecipients_v1_response.py b/eZmaxApi/models/otherincome_get_communicationrecipients_v1_response.py index 1f33ef61b..fa6232a42 100644 --- a/eZmaxApi/models/otherincome_get_communicationrecipients_v1_response.py +++ b/eZmaxApi/models/otherincome_get_communicationrecipients_v1_response.py @@ -18,19 +18,20 @@ import re # noqa: F401 import json -from pydantic import ConfigDict, Field -from typing import Any, ClassVar, Dict, List -from eZmaxApi.models.common_response import CommonResponse +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List, Optional from eZmaxApi.models.common_response_obj_debug import CommonResponseObjDebug from eZmaxApi.models.common_response_obj_debug_payload import CommonResponseObjDebugPayload from eZmaxApi.models.otherincome_get_communicationrecipients_v1_response_m_payload import OtherincomeGetCommunicationrecipientsV1ResponseMPayload from typing import Optional, Set from typing_extensions import Self -class OtherincomeGetCommunicationrecipientsV1Response(CommonResponse): +class OtherincomeGetCommunicationrecipientsV1Response(BaseModel): """ Response for GET /1/object/otherincome/{pkiOtherincomeID}/getCommunicationrecipients """ # noqa: E501 + obj_debug_payload: CommonResponseObjDebugPayload = Field(alias="objDebugPayload") + obj_debug: Optional[CommonResponseObjDebug] = Field(default=None, alias="objDebug") m_payload: OtherincomeGetCommunicationrecipientsV1ResponseMPayload = Field(alias="mPayload") __properties: ClassVar[List[str]] = ["objDebugPayload", "objDebug", "mPayload"] diff --git a/eZmaxApi/models/otherincome_get_communicationsenders_v1_response.py b/eZmaxApi/models/otherincome_get_communicationsenders_v1_response.py index 0c9644917..d2d46cec1 100644 --- a/eZmaxApi/models/otherincome_get_communicationsenders_v1_response.py +++ b/eZmaxApi/models/otherincome_get_communicationsenders_v1_response.py @@ -18,19 +18,20 @@ import re # noqa: F401 import json -from pydantic import ConfigDict, Field -from typing import Any, ClassVar, Dict, List -from eZmaxApi.models.common_response import CommonResponse +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List, Optional from eZmaxApi.models.common_response_obj_debug import CommonResponseObjDebug from eZmaxApi.models.common_response_obj_debug_payload import CommonResponseObjDebugPayload from eZmaxApi.models.otherincome_get_communicationsenders_v1_response_m_payload import OtherincomeGetCommunicationsendersV1ResponseMPayload from typing import Optional, Set from typing_extensions import Self -class OtherincomeGetCommunicationsendersV1Response(CommonResponse): +class OtherincomeGetCommunicationsendersV1Response(BaseModel): """ Response for GET /1/object/otherincome/{pkiOtherincomeID}/getCommunicationrecipients """ # noqa: E501 + obj_debug_payload: CommonResponseObjDebugPayload = Field(alias="objDebugPayload") + obj_debug: Optional[CommonResponseObjDebug] = Field(default=None, alias="objDebug") m_payload: OtherincomeGetCommunicationsendersV1ResponseMPayload = Field(alias="mPayload") __properties: ClassVar[List[str]] = ["objDebugPayload", "objDebug", "mPayload"] diff --git a/eZmaxApi/models/paymentterm_create_object_v1_response.py b/eZmaxApi/models/paymentterm_create_object_v1_response.py index e8ce1418a..a0f134152 100644 --- a/eZmaxApi/models/paymentterm_create_object_v1_response.py +++ b/eZmaxApi/models/paymentterm_create_object_v1_response.py @@ -18,19 +18,20 @@ import re # noqa: F401 import json -from pydantic import ConfigDict, Field -from typing import Any, ClassVar, Dict, List -from eZmaxApi.models.common_response import CommonResponse +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List, Optional from eZmaxApi.models.common_response_obj_debug import CommonResponseObjDebug from eZmaxApi.models.common_response_obj_debug_payload import CommonResponseObjDebugPayload from eZmaxApi.models.paymentterm_create_object_v1_response_m_payload import PaymenttermCreateObjectV1ResponseMPayload from typing import Optional, Set from typing_extensions import Self -class PaymenttermCreateObjectV1Response(CommonResponse): +class PaymenttermCreateObjectV1Response(BaseModel): """ Response for POST /1/object/paymentterm """ # noqa: E501 + obj_debug_payload: CommonResponseObjDebugPayload = Field(alias="objDebugPayload") + obj_debug: Optional[CommonResponseObjDebug] = Field(default=None, alias="objDebug") m_payload: PaymenttermCreateObjectV1ResponseMPayload = Field(alias="mPayload") __properties: ClassVar[List[str]] = ["objDebugPayload", "objDebug", "mPayload"] diff --git a/eZmaxApi/models/paymentterm_edit_object_v1_response.py b/eZmaxApi/models/paymentterm_edit_object_v1_response.py index bfb27f31c..271156258 100644 --- a/eZmaxApi/models/paymentterm_edit_object_v1_response.py +++ b/eZmaxApi/models/paymentterm_edit_object_v1_response.py @@ -18,18 +18,19 @@ import re # noqa: F401 import json -from pydantic import ConfigDict -from typing import Any, ClassVar, Dict, List -from eZmaxApi.models.common_response import CommonResponse +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List, Optional from eZmaxApi.models.common_response_obj_debug import CommonResponseObjDebug from eZmaxApi.models.common_response_obj_debug_payload import CommonResponseObjDebugPayload from typing import Optional, Set from typing_extensions import Self -class PaymenttermEditObjectV1Response(CommonResponse): +class PaymenttermEditObjectV1Response(BaseModel): """ Response for PUT /1/object/paymentterm/{pkiPaymenttermID} """ # noqa: E501 + obj_debug_payload: CommonResponseObjDebugPayload = Field(alias="objDebugPayload") + obj_debug: Optional[CommonResponseObjDebug] = Field(default=None, alias="objDebug") __properties: ClassVar[List[str]] = ["objDebugPayload", "objDebug"] model_config = ConfigDict( diff --git a/eZmaxApi/models/paymentterm_get_autocomplete_v2_response.py b/eZmaxApi/models/paymentterm_get_autocomplete_v2_response.py index 5cff5e731..37d3f0fd1 100644 --- a/eZmaxApi/models/paymentterm_get_autocomplete_v2_response.py +++ b/eZmaxApi/models/paymentterm_get_autocomplete_v2_response.py @@ -18,19 +18,20 @@ import re # noqa: F401 import json -from pydantic import ConfigDict, Field -from typing import Any, ClassVar, Dict, List -from eZmaxApi.models.common_response import CommonResponse +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List, Optional from eZmaxApi.models.common_response_obj_debug import CommonResponseObjDebug from eZmaxApi.models.common_response_obj_debug_payload import CommonResponseObjDebugPayload from eZmaxApi.models.paymentterm_get_autocomplete_v2_response_m_payload import PaymenttermGetAutocompleteV2ResponseMPayload from typing import Optional, Set from typing_extensions import Self -class PaymenttermGetAutocompleteV2Response(CommonResponse): +class PaymenttermGetAutocompleteV2Response(BaseModel): """ Response for GET /2/object/paymentterm/getAutocomplete """ # noqa: E501 + obj_debug_payload: CommonResponseObjDebugPayload = Field(alias="objDebugPayload") + obj_debug: Optional[CommonResponseObjDebug] = Field(default=None, alias="objDebug") m_payload: PaymenttermGetAutocompleteV2ResponseMPayload = Field(alias="mPayload") __properties: ClassVar[List[str]] = ["objDebugPayload", "objDebug", "mPayload"] diff --git a/eZmaxApi/models/paymentterm_get_list_v1_response.py b/eZmaxApi/models/paymentterm_get_list_v1_response.py index 6cbaf51a3..5a36d5a3b 100644 --- a/eZmaxApi/models/paymentterm_get_list_v1_response.py +++ b/eZmaxApi/models/paymentterm_get_list_v1_response.py @@ -18,19 +18,20 @@ import re # noqa: F401 import json -from pydantic import ConfigDict, Field -from typing import Any, ClassVar, Dict, List -from eZmaxApi.models.common_response_get_list import CommonResponseGetList +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List, Optional from eZmaxApi.models.common_response_obj_debug import CommonResponseObjDebug from eZmaxApi.models.common_response_obj_debug_payload_get_list import CommonResponseObjDebugPayloadGetList from eZmaxApi.models.paymentterm_get_list_v1_response_m_payload import PaymenttermGetListV1ResponseMPayload from typing import Optional, Set from typing_extensions import Self -class PaymenttermGetListV1Response(CommonResponseGetList): +class PaymenttermGetListV1Response(BaseModel): """ Response for GET /1/object/paymentterm/getList """ # noqa: E501 + obj_debug_payload: CommonResponseObjDebugPayloadGetList = Field(alias="objDebugPayload") + obj_debug: Optional[CommonResponseObjDebug] = Field(default=None, alias="objDebug") m_payload: PaymenttermGetListV1ResponseMPayload = Field(alias="mPayload") __properties: ClassVar[List[str]] = ["objDebugPayload", "objDebug", "mPayload"] diff --git a/eZmaxApi/models/paymentterm_get_list_v1_response_m_payload.py b/eZmaxApi/models/paymentterm_get_list_v1_response_m_payload.py index 67a7d2c01..26780b87f 100644 --- a/eZmaxApi/models/paymentterm_get_list_v1_response_m_payload.py +++ b/eZmaxApi/models/paymentterm_get_list_v1_response_m_payload.py @@ -18,17 +18,18 @@ import re # noqa: F401 import json -from pydantic import ConfigDict, Field +from pydantic import BaseModel, ConfigDict, Field, StrictInt from typing import Any, ClassVar, Dict, List -from eZmaxApi.models.common_get_list_v1_response_m_payload import CommonGetListV1ResponseMPayload from eZmaxApi.models.paymentterm_list_element import PaymenttermListElement from typing import Optional, Set from typing_extensions import Self -class PaymenttermGetListV1ResponseMPayload(CommonGetListV1ResponseMPayload): +class PaymenttermGetListV1ResponseMPayload(BaseModel): """ Payload for GET /1/object/paymentterm/getList """ # noqa: E501 + i_row_returned: StrictInt = Field(description="The number of rows returned", alias="iRowReturned") + i_row_filtered: StrictInt = Field(description="The number of rows matching your filters (if any) or the total number of rows", alias="iRowFiltered") a_obj_paymentterm: List[PaymenttermListElement] = Field(alias="a_objPaymentterm") __properties: ClassVar[List[str]] = ["iRowReturned", "iRowFiltered", "a_objPaymentterm"] diff --git a/eZmaxApi/models/paymentterm_get_object_v2_response.py b/eZmaxApi/models/paymentterm_get_object_v2_response.py index 2b3939ebc..c17b2df47 100644 --- a/eZmaxApi/models/paymentterm_get_object_v2_response.py +++ b/eZmaxApi/models/paymentterm_get_object_v2_response.py @@ -18,19 +18,20 @@ import re # noqa: F401 import json -from pydantic import ConfigDict, Field -from typing import Any, ClassVar, Dict, List -from eZmaxApi.models.common_response import CommonResponse +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List, Optional from eZmaxApi.models.common_response_obj_debug import CommonResponseObjDebug from eZmaxApi.models.common_response_obj_debug_payload import CommonResponseObjDebugPayload from eZmaxApi.models.paymentterm_get_object_v2_response_m_payload import PaymenttermGetObjectV2ResponseMPayload from typing import Optional, Set from typing_extensions import Self -class PaymenttermGetObjectV2Response(CommonResponse): +class PaymenttermGetObjectV2Response(BaseModel): """ Response for GET /2/object/paymentterm/{pkiPaymenttermID} """ # noqa: E501 + obj_debug_payload: CommonResponseObjDebugPayload = Field(alias="objDebugPayload") + obj_debug: Optional[CommonResponseObjDebug] = Field(default=None, alias="objDebug") m_payload: PaymenttermGetObjectV2ResponseMPayload = Field(alias="mPayload") __properties: ClassVar[List[str]] = ["objDebugPayload", "objDebug", "mPayload"] diff --git a/eZmaxApi/models/paymentterm_request.py b/eZmaxApi/models/paymentterm_request.py index 4c7bd241a..164f251d1 100644 --- a/eZmaxApi/models/paymentterm_request.py +++ b/eZmaxApi/models/paymentterm_request.py @@ -90,7 +90,22 @@ def to_dict(self) -> Dict[str, Any]: return _dict @classmethod - def from_dict(cls, obj: Dict[str, Any]) -> Optional[Self]: + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: """Create an instance of PaymenttermRequest from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "pkiPaymenttermID": obj.get("pkiPaymenttermID"), + "sPaymenttermCode": obj.get("sPaymenttermCode"), + "ePaymenttermType": obj.get("ePaymenttermType"), + "iPaymenttermDay": obj.get("iPaymenttermDay"), + "objPaymenttermDescription": MultilingualPaymenttermDescription.from_dict(obj["objPaymenttermDescription"]) if obj.get("objPaymenttermDescription") is not None else None, + "bPaymenttermIsactive": obj.get("bPaymenttermIsactive") + }) + return _obj diff --git a/eZmaxApi/models/paymentterm_request_compound.py b/eZmaxApi/models/paymentterm_request_compound.py index b891cf9d2..0e1a324de 100644 --- a/eZmaxApi/models/paymentterm_request_compound.py +++ b/eZmaxApi/models/paymentterm_request_compound.py @@ -18,20 +18,33 @@ import re # noqa: F401 import json -from pydantic import ConfigDict -from typing import Any, ClassVar, Dict, List +from pydantic import BaseModel, ConfigDict, Field, StrictBool, StrictInt, field_validator +from typing import Any, ClassVar, Dict, List, Optional +from typing_extensions import Annotated from eZmaxApi.models.field_e_paymentterm_type import FieldEPaymenttermType from eZmaxApi.models.multilingual_paymentterm_description import MultilingualPaymenttermDescription -from eZmaxApi.models.paymentterm_request import PaymenttermRequest from typing import Optional, Set from typing_extensions import Self -class PaymenttermRequestCompound(PaymenttermRequest): +class PaymenttermRequestCompound(BaseModel): """ A Paymentterm Object and children """ # noqa: E501 + pki_paymentterm_id: Optional[StrictInt] = Field(default=None, description="The unique ID of the Paymentterm", alias="pkiPaymenttermID") + s_paymentterm_code: Annotated[str, Field(strict=True)] = Field(description="The code of the Paymentterm", alias="sPaymenttermCode") + e_paymentterm_type: FieldEPaymenttermType = Field(alias="ePaymenttermType") + i_paymentterm_day: Annotated[int, Field(le=255, strict=True, ge=0)] = Field(description="The day of the Paymentterm", alias="iPaymenttermDay") + obj_paymentterm_description: MultilingualPaymenttermDescription = Field(alias="objPaymenttermDescription") + b_paymentterm_isactive: StrictBool = Field(description="Whether the Paymentterm is active or not", alias="bPaymenttermIsactive") __properties: ClassVar[List[str]] = ["pkiPaymenttermID", "sPaymenttermCode", "ePaymenttermType", "iPaymenttermDay", "objPaymenttermDescription", "bPaymenttermIsactive"] + @field_validator('s_paymentterm_code') + def s_paymentterm_code_validate_regular_expression(cls, value): + """Validates the regular expression""" + if not re.match(r"^[A-Z0-9]{1,4}$", value): + raise ValueError(r"must validate the regular expression /^[A-Z0-9]{1,4}$/") + return value + model_config = ConfigDict( populate_by_name=True, validate_assignment=True, diff --git a/eZmaxApi/models/paymentterm_response.py b/eZmaxApi/models/paymentterm_response.py index 2113afd0b..937e291dc 100644 --- a/eZmaxApi/models/paymentterm_response.py +++ b/eZmaxApi/models/paymentterm_response.py @@ -95,7 +95,23 @@ def to_dict(self) -> Dict[str, Any]: return _dict @classmethod - def from_dict(cls, obj: Dict[str, Any]) -> Optional[Self]: + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: """Create an instance of PaymenttermResponse from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "pkiPaymenttermID": obj.get("pkiPaymenttermID"), + "sPaymenttermCode": obj.get("sPaymenttermCode"), + "ePaymenttermType": obj.get("ePaymenttermType"), + "iPaymenttermDay": obj.get("iPaymenttermDay"), + "objPaymenttermDescription": MultilingualPaymenttermDescription.from_dict(obj["objPaymenttermDescription"]) if obj.get("objPaymenttermDescription") is not None else None, + "bPaymenttermIsactive": obj.get("bPaymenttermIsactive"), + "objAudit": CommonAudit.from_dict(obj["objAudit"]) if obj.get("objAudit") is not None else None + }) + return _obj diff --git a/eZmaxApi/models/paymentterm_response_compound.py b/eZmaxApi/models/paymentterm_response_compound.py index d51b7fec5..21af4aaef 100644 --- a/eZmaxApi/models/paymentterm_response_compound.py +++ b/eZmaxApi/models/paymentterm_response_compound.py @@ -18,21 +18,35 @@ import re # noqa: F401 import json -from pydantic import ConfigDict +from pydantic import BaseModel, ConfigDict, Field, StrictBool, StrictInt, field_validator from typing import Any, ClassVar, Dict, List +from typing_extensions import Annotated from eZmaxApi.models.common_audit import CommonAudit from eZmaxApi.models.field_e_paymentterm_type import FieldEPaymenttermType from eZmaxApi.models.multilingual_paymentterm_description import MultilingualPaymenttermDescription -from eZmaxApi.models.paymentterm_response import PaymenttermResponse from typing import Optional, Set from typing_extensions import Self -class PaymenttermResponseCompound(PaymenttermResponse): +class PaymenttermResponseCompound(BaseModel): """ A Paymentterm Object """ # noqa: E501 + pki_paymentterm_id: StrictInt = Field(description="The unique ID of the Paymentterm", alias="pkiPaymenttermID") + s_paymentterm_code: Annotated[str, Field(strict=True)] = Field(description="The code of the Paymentterm", alias="sPaymenttermCode") + e_paymentterm_type: FieldEPaymenttermType = Field(alias="ePaymenttermType") + i_paymentterm_day: Annotated[int, Field(le=255, strict=True, ge=0)] = Field(description="The day of the Paymentterm", alias="iPaymenttermDay") + obj_paymentterm_description: MultilingualPaymenttermDescription = Field(alias="objPaymenttermDescription") + b_paymentterm_isactive: StrictBool = Field(description="Whether the Paymentterm is active or not", alias="bPaymenttermIsactive") + obj_audit: CommonAudit = Field(alias="objAudit") __properties: ClassVar[List[str]] = ["pkiPaymenttermID", "sPaymenttermCode", "ePaymenttermType", "iPaymenttermDay", "objPaymenttermDescription", "bPaymenttermIsactive", "objAudit"] + @field_validator('s_paymentterm_code') + def s_paymentterm_code_validate_regular_expression(cls, value): + """Validates the regular expression""" + if not re.match(r"^[A-Z0-9]{1,4}$", value): + raise ValueError(r"must validate the regular expression /^[A-Z0-9]{1,4}$/") + return value + model_config = ConfigDict( populate_by_name=True, validate_assignment=True, diff --git a/eZmaxApi/models/pdfalevel_get_autocomplete_v2_response.py b/eZmaxApi/models/pdfalevel_get_autocomplete_v2_response.py index 48dd62f06..86634e4ab 100644 --- a/eZmaxApi/models/pdfalevel_get_autocomplete_v2_response.py +++ b/eZmaxApi/models/pdfalevel_get_autocomplete_v2_response.py @@ -18,19 +18,20 @@ import re # noqa: F401 import json -from pydantic import ConfigDict, Field -from typing import Any, ClassVar, Dict, List -from eZmaxApi.models.common_response import CommonResponse +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List, Optional from eZmaxApi.models.common_response_obj_debug import CommonResponseObjDebug from eZmaxApi.models.common_response_obj_debug_payload import CommonResponseObjDebugPayload from eZmaxApi.models.pdfalevel_get_autocomplete_v2_response_m_payload import PdfalevelGetAutocompleteV2ResponseMPayload from typing import Optional, Set from typing_extensions import Self -class PdfalevelGetAutocompleteV2Response(CommonResponse): +class PdfalevelGetAutocompleteV2Response(BaseModel): """ Response for GET /2/object/pdfalevel/getAutocomplete """ # noqa: E501 + obj_debug_payload: CommonResponseObjDebugPayload = Field(alias="objDebugPayload") + obj_debug: Optional[CommonResponseObjDebug] = Field(default=None, alias="objDebug") m_payload: PdfalevelGetAutocompleteV2ResponseMPayload = Field(alias="mPayload") __properties: ClassVar[List[str]] = ["objDebugPayload", "objDebug", "mPayload"] diff --git a/eZmaxApi/models/period_get_autocomplete_v2_response.py b/eZmaxApi/models/period_get_autocomplete_v2_response.py index 565f62b08..9f43ce547 100644 --- a/eZmaxApi/models/period_get_autocomplete_v2_response.py +++ b/eZmaxApi/models/period_get_autocomplete_v2_response.py @@ -18,19 +18,20 @@ import re # noqa: F401 import json -from pydantic import ConfigDict, Field -from typing import Any, ClassVar, Dict, List -from eZmaxApi.models.common_response import CommonResponse +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List, Optional from eZmaxApi.models.common_response_obj_debug import CommonResponseObjDebug from eZmaxApi.models.common_response_obj_debug_payload import CommonResponseObjDebugPayload from eZmaxApi.models.period_get_autocomplete_v2_response_m_payload import PeriodGetAutocompleteV2ResponseMPayload from typing import Optional, Set from typing_extensions import Self -class PeriodGetAutocompleteV2Response(CommonResponse): +class PeriodGetAutocompleteV2Response(BaseModel): """ Response for GET /2/object/period/getAutocomplete """ # noqa: E501 + obj_debug_payload: CommonResponseObjDebugPayload = Field(alias="objDebugPayload") + obj_debug: Optional[CommonResponseObjDebug] = Field(default=None, alias="objDebug") m_payload: PeriodGetAutocompleteV2ResponseMPayload = Field(alias="mPayload") __properties: ClassVar[List[str]] = ["objDebugPayload", "objDebug", "mPayload"] diff --git a/eZmaxApi/models/permission_create_object_v1_request.py b/eZmaxApi/models/permission_create_object_v1_request.py index 98f99a815..270b3a43f 100644 --- a/eZmaxApi/models/permission_create_object_v1_request.py +++ b/eZmaxApi/models/permission_create_object_v1_request.py @@ -21,7 +21,7 @@ from pydantic import BaseModel, ConfigDict, Field from typing import Any, ClassVar, Dict, List from typing_extensions import Annotated -from eZmaxApi.models.permission_request import PermissionRequest +from eZmaxApi.models.permission_request_compound import PermissionRequestCompound from typing import Optional, Set from typing_extensions import Self @@ -29,7 +29,7 @@ class PermissionCreateObjectV1Request(BaseModel): """ Request for POST /1/object/permission """ # noqa: E501 - a_obj_permission: Annotated[List[PermissionRequest], Field(min_length=1)] = Field(alias="a_objPermission") + a_obj_permission: Annotated[List[PermissionRequestCompound], Field(min_length=1)] = Field(alias="a_objPermission") __properties: ClassVar[List[str]] = ["a_objPermission"] model_config = ConfigDict( @@ -90,7 +90,7 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: return cls.model_validate(obj) _obj = cls.model_validate({ - "a_objPermission": [PermissionRequest.from_dict(_item) for _item in obj["a_objPermission"]] if obj.get("a_objPermission") is not None else None + "a_objPermission": [PermissionRequestCompound.from_dict(_item) for _item in obj["a_objPermission"]] if obj.get("a_objPermission") is not None else None }) return _obj diff --git a/eZmaxApi/models/permission_create_object_v1_response.py b/eZmaxApi/models/permission_create_object_v1_response.py index dcfb9314d..d1ecdd0a8 100644 --- a/eZmaxApi/models/permission_create_object_v1_response.py +++ b/eZmaxApi/models/permission_create_object_v1_response.py @@ -18,19 +18,20 @@ import re # noqa: F401 import json -from pydantic import ConfigDict, Field -from typing import Any, ClassVar, Dict, List -from eZmaxApi.models.common_response import CommonResponse +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List, Optional from eZmaxApi.models.common_response_obj_debug import CommonResponseObjDebug from eZmaxApi.models.common_response_obj_debug_payload import CommonResponseObjDebugPayload from eZmaxApi.models.permission_create_object_v1_response_m_payload import PermissionCreateObjectV1ResponseMPayload from typing import Optional, Set from typing_extensions import Self -class PermissionCreateObjectV1Response(CommonResponse): +class PermissionCreateObjectV1Response(BaseModel): """ Response for POST /1/object/permission """ # noqa: E501 + obj_debug_payload: CommonResponseObjDebugPayload = Field(alias="objDebugPayload") + obj_debug: Optional[CommonResponseObjDebug] = Field(default=None, alias="objDebug") m_payload: PermissionCreateObjectV1ResponseMPayload = Field(alias="mPayload") __properties: ClassVar[List[str]] = ["objDebugPayload", "objDebug", "mPayload"] diff --git a/eZmaxApi/models/permission_delete_object_v1_response.py b/eZmaxApi/models/permission_delete_object_v1_response.py index 4ad598a24..7884743b8 100644 --- a/eZmaxApi/models/permission_delete_object_v1_response.py +++ b/eZmaxApi/models/permission_delete_object_v1_response.py @@ -18,18 +18,19 @@ import re # noqa: F401 import json -from pydantic import ConfigDict -from typing import Any, ClassVar, Dict, List -from eZmaxApi.models.common_response import CommonResponse +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List, Optional from eZmaxApi.models.common_response_obj_debug import CommonResponseObjDebug from eZmaxApi.models.common_response_obj_debug_payload import CommonResponseObjDebugPayload from typing import Optional, Set from typing_extensions import Self -class PermissionDeleteObjectV1Response(CommonResponse): +class PermissionDeleteObjectV1Response(BaseModel): """ Response for DELETE /1/object/permission/{pkiPermissionID} """ # noqa: E501 + obj_debug_payload: CommonResponseObjDebugPayload = Field(alias="objDebugPayload") + obj_debug: Optional[CommonResponseObjDebug] = Field(default=None, alias="objDebug") __properties: ClassVar[List[str]] = ["objDebugPayload", "objDebug"] model_config = ConfigDict( diff --git a/eZmaxApi/models/permission_edit_object_v1_request.py b/eZmaxApi/models/permission_edit_object_v1_request.py index e0e430cba..7d0b7c740 100644 --- a/eZmaxApi/models/permission_edit_object_v1_request.py +++ b/eZmaxApi/models/permission_edit_object_v1_request.py @@ -20,7 +20,7 @@ from pydantic import BaseModel, ConfigDict, Field from typing import Any, ClassVar, Dict, List -from eZmaxApi.models.permission_request import PermissionRequest +from eZmaxApi.models.permission_request_compound import PermissionRequestCompound from typing import Optional, Set from typing_extensions import Self @@ -28,7 +28,7 @@ class PermissionEditObjectV1Request(BaseModel): """ Request for PUT /1/object/permission/{pkiPermissionID} """ # noqa: E501 - obj_permission: PermissionRequest = Field(description="A Permission Object and children to create a complete structure", alias="objPermission") + obj_permission: PermissionRequestCompound = Field(alias="objPermission") __properties: ClassVar[List[str]] = ["objPermission"] model_config = ConfigDict( @@ -85,7 +85,7 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: return cls.model_validate(obj) _obj = cls.model_validate({ - "objPermission": PermissionRequest.from_dict(obj["objPermission"]) if obj.get("objPermission") is not None else None + "objPermission": PermissionRequestCompound.from_dict(obj["objPermission"]) if obj.get("objPermission") is not None else None }) return _obj diff --git a/eZmaxApi/models/permission_edit_object_v1_response.py b/eZmaxApi/models/permission_edit_object_v1_response.py index 10b753a56..c72348e22 100644 --- a/eZmaxApi/models/permission_edit_object_v1_response.py +++ b/eZmaxApi/models/permission_edit_object_v1_response.py @@ -18,18 +18,19 @@ import re # noqa: F401 import json -from pydantic import ConfigDict -from typing import Any, ClassVar, Dict, List -from eZmaxApi.models.common_response import CommonResponse +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List, Optional from eZmaxApi.models.common_response_obj_debug import CommonResponseObjDebug from eZmaxApi.models.common_response_obj_debug_payload import CommonResponseObjDebugPayload from typing import Optional, Set from typing_extensions import Self -class PermissionEditObjectV1Response(CommonResponse): +class PermissionEditObjectV1Response(BaseModel): """ Response for PUT /1/object/permission/{pkiPermissionID} """ # noqa: E501 + obj_debug_payload: CommonResponseObjDebugPayload = Field(alias="objDebugPayload") + obj_debug: Optional[CommonResponseObjDebug] = Field(default=None, alias="objDebug") __properties: ClassVar[List[str]] = ["objDebugPayload", "objDebug"] model_config = ConfigDict( diff --git a/eZmaxApi/models/permission_get_object_v2_response.py b/eZmaxApi/models/permission_get_object_v2_response.py index fef635d5f..3881cfb75 100644 --- a/eZmaxApi/models/permission_get_object_v2_response.py +++ b/eZmaxApi/models/permission_get_object_v2_response.py @@ -18,19 +18,20 @@ import re # noqa: F401 import json -from pydantic import ConfigDict, Field -from typing import Any, ClassVar, Dict, List -from eZmaxApi.models.common_response import CommonResponse +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List, Optional from eZmaxApi.models.common_response_obj_debug import CommonResponseObjDebug from eZmaxApi.models.common_response_obj_debug_payload import CommonResponseObjDebugPayload from eZmaxApi.models.permission_get_object_v2_response_m_payload import PermissionGetObjectV2ResponseMPayload from typing import Optional, Set from typing_extensions import Self -class PermissionGetObjectV2Response(CommonResponse): +class PermissionGetObjectV2Response(BaseModel): """ Response for GET /2/object/permission/{pkiPermissionID} """ # noqa: E501 + obj_debug_payload: CommonResponseObjDebugPayload = Field(alias="objDebugPayload") + obj_debug: Optional[CommonResponseObjDebug] = Field(default=None, alias="objDebug") m_payload: PermissionGetObjectV2ResponseMPayload = Field(alias="mPayload") __properties: ClassVar[List[str]] = ["objDebugPayload", "objDebug", "mPayload"] diff --git a/eZmaxApi/models/permission_get_object_v2_response_m_payload.py b/eZmaxApi/models/permission_get_object_v2_response_m_payload.py index 3a41b30cd..5ca89f6c4 100644 --- a/eZmaxApi/models/permission_get_object_v2_response_m_payload.py +++ b/eZmaxApi/models/permission_get_object_v2_response_m_payload.py @@ -20,7 +20,7 @@ from pydantic import BaseModel, ConfigDict, Field from typing import Any, ClassVar, Dict, List -from eZmaxApi.models.permission_response import PermissionResponse +from eZmaxApi.models.permission_response_compound import PermissionResponseCompound from typing import Optional, Set from typing_extensions import Self @@ -28,7 +28,7 @@ class PermissionGetObjectV2ResponseMPayload(BaseModel): """ Payload for GET /2/object/permission/{pkiPermissionID} """ # noqa: E501 - obj_permission: PermissionResponse = Field(description="A Permission Object and children to create a complete structure", alias="objPermission") + obj_permission: PermissionResponseCompound = Field(alias="objPermission") __properties: ClassVar[List[str]] = ["objPermission"] model_config = ConfigDict( @@ -85,7 +85,7 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: return cls.model_validate(obj) _obj = cls.model_validate({ - "objPermission": PermissionResponse.from_dict(obj["objPermission"]) if obj.get("objPermission") is not None else None + "objPermission": PermissionResponseCompound.from_dict(obj["objPermission"]) if obj.get("objPermission") is not None else None }) return _obj diff --git a/eZmaxApi/models/phone_response.py b/eZmaxApi/models/phone_response.py index 403eeb62e..f12122576 100644 --- a/eZmaxApi/models/phone_response.py +++ b/eZmaxApi/models/phone_response.py @@ -88,7 +88,21 @@ def to_dict(self) -> Dict[str, Any]: return _dict @classmethod - def from_dict(cls, obj: Dict[str, Any]) -> Optional[Self]: + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: """Create an instance of PhoneResponse from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "pkiPhoneID": obj.get("pkiPhoneID"), + "fkiPhonetypeID": obj.get("fkiPhonetypeID"), + "ePhoneType": obj.get("ePhoneType"), + "sPhoneE164": obj.get("sPhoneE164"), + "sPhoneExtension": obj.get("sPhoneExtension") + }) + return _obj diff --git a/eZmaxApi/models/phone_response_compound.py b/eZmaxApi/models/phone_response_compound.py index 6328390ba..0da9c095a 100644 --- a/eZmaxApi/models/phone_response_compound.py +++ b/eZmaxApi/models/phone_response_compound.py @@ -18,20 +18,35 @@ import re # noqa: F401 import json -from pydantic import ConfigDict, Field, StrictBool +from pydantic import BaseModel, ConfigDict, Field, StrictBool, StrictStr, field_validator from typing import Any, ClassVar, Dict, List, Optional +from typing_extensions import Annotated from eZmaxApi.models.field_e_phone_type import FieldEPhoneType -from eZmaxApi.models.phone_response import PhoneResponse from typing import Optional, Set from typing_extensions import Self -class PhoneResponseCompound(PhoneResponse): +class PhoneResponseCompound(BaseModel): """ A Phone Object and children to create a complete structure """ # noqa: E501 + pki_phone_id: Annotated[int, Field(strict=True, ge=0)] = Field(description="The unique ID of the Phone.", alias="pkiPhoneID") + fki_phonetype_id: Annotated[int, Field(strict=True, ge=0)] = Field(description="The unique ID of the Phonetype. Valid values: |Value|Description| |-|-| |1|Office| |2|Home| |3|Mobile| |4|Fax| |5|Pager| |6|Toll Free|", alias="fkiPhonetypeID") + e_phone_type: Optional[FieldEPhoneType] = Field(default=None, alias="ePhoneType") + s_phone_e164: Optional[Annotated[str, Field(strict=True)]] = Field(default=None, description="A phone number in E.164 Format", alias="sPhoneE164") + s_phone_extension: Optional[StrictStr] = Field(default=None, description="The extension of the phone number. The extension is the \"123\" section in this sample phone number: (514) 990-1516 x123. It can also be used with international phone numbers", alias="sPhoneExtension") b_phone_international: Optional[StrictBool] = Field(default=None, description="Indicate the phone number is an international phone number.", alias="bPhoneInternational") __properties: ClassVar[List[str]] = ["pkiPhoneID", "fkiPhonetypeID", "ePhoneType", "sPhoneE164", "sPhoneExtension", "bPhoneInternational"] + @field_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 + model_config = ConfigDict( populate_by_name=True, validate_assignment=True, diff --git a/eZmaxApi/models/phonetype_get_autocomplete_v2_response.py b/eZmaxApi/models/phonetype_get_autocomplete_v2_response.py index e169b9bcf..1c0ef599e 100644 --- a/eZmaxApi/models/phonetype_get_autocomplete_v2_response.py +++ b/eZmaxApi/models/phonetype_get_autocomplete_v2_response.py @@ -18,19 +18,20 @@ import re # noqa: F401 import json -from pydantic import ConfigDict, Field -from typing import Any, ClassVar, Dict, List -from eZmaxApi.models.common_response import CommonResponse +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List, Optional from eZmaxApi.models.common_response_obj_debug import CommonResponseObjDebug from eZmaxApi.models.common_response_obj_debug_payload import CommonResponseObjDebugPayload from eZmaxApi.models.phonetype_get_autocomplete_v2_response_m_payload import PhonetypeGetAutocompleteV2ResponseMPayload from typing import Optional, Set from typing_extensions import Self -class PhonetypeGetAutocompleteV2Response(CommonResponse): +class PhonetypeGetAutocompleteV2Response(BaseModel): """ Response for GET /2/object/phonetype/getAutocomplete """ # noqa: E501 + obj_debug_payload: CommonResponseObjDebugPayload = Field(alias="objDebugPayload") + obj_debug: Optional[CommonResponseObjDebug] = Field(default=None, alias="objDebug") m_payload: PhonetypeGetAutocompleteV2ResponseMPayload = Field(alias="mPayload") __properties: ClassVar[List[str]] = ["objDebugPayload", "objDebug", "mPayload"] diff --git a/eZmaxApi/models/province_get_autocomplete_v2_response.py b/eZmaxApi/models/province_get_autocomplete_v2_response.py index 6002c963c..d9b43f43e 100644 --- a/eZmaxApi/models/province_get_autocomplete_v2_response.py +++ b/eZmaxApi/models/province_get_autocomplete_v2_response.py @@ -18,19 +18,20 @@ import re # noqa: F401 import json -from pydantic import ConfigDict, Field -from typing import Any, ClassVar, Dict, List -from eZmaxApi.models.common_response import CommonResponse +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List, Optional from eZmaxApi.models.common_response_obj_debug import CommonResponseObjDebug from eZmaxApi.models.common_response_obj_debug_payload import CommonResponseObjDebugPayload from eZmaxApi.models.province_get_autocomplete_v2_response_m_payload import ProvinceGetAutocompleteV2ResponseMPayload from typing import Optional, Set from typing_extensions import Self -class ProvinceGetAutocompleteV2Response(CommonResponse): +class ProvinceGetAutocompleteV2Response(BaseModel): """ Response for GET /2/object/province/getAutocomplete """ # noqa: E501 + obj_debug_payload: CommonResponseObjDebugPayload = Field(alias="objDebugPayload") + obj_debug: Optional[CommonResponseObjDebug] = Field(default=None, alias="objDebug") m_payload: ProvinceGetAutocompleteV2ResponseMPayload = Field(alias="mPayload") __properties: ClassVar[List[str]] = ["objDebugPayload", "objDebug", "mPayload"] diff --git a/eZmaxApi/models/rejectedoffertopurchase_get_communication_count_v1_response.py b/eZmaxApi/models/rejectedoffertopurchase_get_communication_count_v1_response.py index 7662a29fe..f1345529e 100644 --- a/eZmaxApi/models/rejectedoffertopurchase_get_communication_count_v1_response.py +++ b/eZmaxApi/models/rejectedoffertopurchase_get_communication_count_v1_response.py @@ -18,19 +18,20 @@ import re # noqa: F401 import json -from pydantic import ConfigDict, Field -from typing import Any, ClassVar, Dict, List -from eZmaxApi.models.common_response import CommonResponse +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List, Optional from eZmaxApi.models.common_response_obj_debug import CommonResponseObjDebug from eZmaxApi.models.common_response_obj_debug_payload import CommonResponseObjDebugPayload from eZmaxApi.models.rejectedoffertopurchase_get_communication_count_v1_response_m_payload import RejectedoffertopurchaseGetCommunicationCountV1ResponseMPayload from typing import Optional, Set from typing_extensions import Self -class RejectedoffertopurchaseGetCommunicationCountV1Response(CommonResponse): +class RejectedoffertopurchaseGetCommunicationCountV1Response(BaseModel): """ Response for GET /1/object/rejectedoffertopurchase/{pkiRejectedoffertopurchaseID}/getCommunicationCount """ # noqa: E501 + obj_debug_payload: CommonResponseObjDebugPayload = Field(alias="objDebugPayload") + obj_debug: Optional[CommonResponseObjDebug] = Field(default=None, alias="objDebug") m_payload: RejectedoffertopurchaseGetCommunicationCountV1ResponseMPayload = Field(alias="mPayload") __properties: ClassVar[List[str]] = ["objDebugPayload", "objDebug", "mPayload"] diff --git a/eZmaxApi/models/rejectedoffertopurchase_get_communication_list_v1_response.py b/eZmaxApi/models/rejectedoffertopurchase_get_communication_list_v1_response.py index e0b309160..47c2456f0 100644 --- a/eZmaxApi/models/rejectedoffertopurchase_get_communication_list_v1_response.py +++ b/eZmaxApi/models/rejectedoffertopurchase_get_communication_list_v1_response.py @@ -18,19 +18,20 @@ import re # noqa: F401 import json -from pydantic import ConfigDict, Field -from typing import Any, ClassVar, Dict, List -from eZmaxApi.models.common_response_get_list import CommonResponseGetList +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List, Optional from eZmaxApi.models.common_response_obj_debug import CommonResponseObjDebug from eZmaxApi.models.common_response_obj_debug_payload_get_list import CommonResponseObjDebugPayloadGetList from eZmaxApi.models.rejectedoffertopurchase_get_communication_list_v1_response_m_payload import RejectedoffertopurchaseGetCommunicationListV1ResponseMPayload from typing import Optional, Set from typing_extensions import Self -class RejectedoffertopurchaseGetCommunicationListV1Response(CommonResponseGetList): +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(default=None, alias="objDebug") m_payload: RejectedoffertopurchaseGetCommunicationListV1ResponseMPayload = Field(alias="mPayload") __properties: ClassVar[List[str]] = ["objDebugPayload", "objDebug", "mPayload"] diff --git a/eZmaxApi/models/rejectedoffertopurchase_get_communicationrecipients_v1_response.py b/eZmaxApi/models/rejectedoffertopurchase_get_communicationrecipients_v1_response.py index f884dffae..1b514a15f 100644 --- a/eZmaxApi/models/rejectedoffertopurchase_get_communicationrecipients_v1_response.py +++ b/eZmaxApi/models/rejectedoffertopurchase_get_communicationrecipients_v1_response.py @@ -18,19 +18,20 @@ import re # noqa: F401 import json -from pydantic import ConfigDict, Field -from typing import Any, ClassVar, Dict, List -from eZmaxApi.models.common_response import CommonResponse +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List, Optional from eZmaxApi.models.common_response_obj_debug import CommonResponseObjDebug from eZmaxApi.models.common_response_obj_debug_payload import CommonResponseObjDebugPayload from eZmaxApi.models.rejectedoffertopurchase_get_communicationrecipients_v1_response_m_payload import RejectedoffertopurchaseGetCommunicationrecipientsV1ResponseMPayload from typing import Optional, Set from typing_extensions import Self -class RejectedoffertopurchaseGetCommunicationrecipientsV1Response(CommonResponse): +class RejectedoffertopurchaseGetCommunicationrecipientsV1Response(BaseModel): """ Response for GET /1/object/rejectedoffertopurchase/{pkiRejectedoffertopurchaseID}/getCommunicationrecipients """ # noqa: E501 + obj_debug_payload: CommonResponseObjDebugPayload = Field(alias="objDebugPayload") + obj_debug: Optional[CommonResponseObjDebug] = Field(default=None, alias="objDebug") m_payload: RejectedoffertopurchaseGetCommunicationrecipientsV1ResponseMPayload = Field(alias="mPayload") __properties: ClassVar[List[str]] = ["objDebugPayload", "objDebug", "mPayload"] diff --git a/eZmaxApi/models/rejectedoffertopurchase_get_communicationsenders_v1_response.py b/eZmaxApi/models/rejectedoffertopurchase_get_communicationsenders_v1_response.py index 9ca13762c..ad2ed3154 100644 --- a/eZmaxApi/models/rejectedoffertopurchase_get_communicationsenders_v1_response.py +++ b/eZmaxApi/models/rejectedoffertopurchase_get_communicationsenders_v1_response.py @@ -18,19 +18,20 @@ import re # noqa: F401 import json -from pydantic import ConfigDict, Field -from typing import Any, ClassVar, Dict, List -from eZmaxApi.models.common_response import CommonResponse +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List, Optional from eZmaxApi.models.common_response_obj_debug import CommonResponseObjDebug from eZmaxApi.models.common_response_obj_debug_payload import CommonResponseObjDebugPayload from eZmaxApi.models.rejectedoffertopurchase_get_communicationsenders_v1_response_m_payload import RejectedoffertopurchaseGetCommunicationsendersV1ResponseMPayload from typing import Optional, Set from typing_extensions import Self -class RejectedoffertopurchaseGetCommunicationsendersV1Response(CommonResponse): +class RejectedoffertopurchaseGetCommunicationsendersV1Response(BaseModel): """ Response for GET /1/object/rejectedoffertopurchase/{pkiRejectedoffertopurchaseID}/getCommunicationrecipients """ # noqa: E501 + obj_debug_payload: CommonResponseObjDebugPayload = Field(alias="objDebugPayload") + obj_debug: Optional[CommonResponseObjDebug] = Field(default=None, alias="objDebug") m_payload: RejectedoffertopurchaseGetCommunicationsendersV1ResponseMPayload = Field(alias="mPayload") __properties: ClassVar[List[str]] = ["objDebugPayload", "objDebug", "mPayload"] diff --git a/eZmaxApi/models/secretquestion_get_autocomplete_v2_response.py b/eZmaxApi/models/secretquestion_get_autocomplete_v2_response.py index bb598ba0b..5b1c5d4d2 100644 --- a/eZmaxApi/models/secretquestion_get_autocomplete_v2_response.py +++ b/eZmaxApi/models/secretquestion_get_autocomplete_v2_response.py @@ -18,19 +18,20 @@ import re # noqa: F401 import json -from pydantic import ConfigDict, Field -from typing import Any, ClassVar, Dict, List -from eZmaxApi.models.common_response import CommonResponse +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List, Optional from eZmaxApi.models.common_response_obj_debug import CommonResponseObjDebug from eZmaxApi.models.common_response_obj_debug_payload import CommonResponseObjDebugPayload from eZmaxApi.models.secretquestion_get_autocomplete_v2_response_m_payload import SecretquestionGetAutocompleteV2ResponseMPayload from typing import Optional, Set from typing_extensions import Self -class SecretquestionGetAutocompleteV2Response(CommonResponse): +class SecretquestionGetAutocompleteV2Response(BaseModel): """ Response for GET /2/object/secretquestion/getAutocomplete """ # noqa: E501 + obj_debug_payload: CommonResponseObjDebugPayload = Field(alias="objDebugPayload") + obj_debug: Optional[CommonResponseObjDebug] = Field(default=None, alias="objDebug") m_payload: SecretquestionGetAutocompleteV2ResponseMPayload = Field(alias="mPayload") __properties: ClassVar[List[str]] = ["objDebugPayload", "objDebug", "mPayload"] diff --git a/eZmaxApi/models/sessionhistory_get_list_v1_response.py b/eZmaxApi/models/sessionhistory_get_list_v1_response.py index a1e465824..f325408d4 100644 --- a/eZmaxApi/models/sessionhistory_get_list_v1_response.py +++ b/eZmaxApi/models/sessionhistory_get_list_v1_response.py @@ -18,19 +18,20 @@ import re # noqa: F401 import json -from pydantic import ConfigDict, Field -from typing import Any, ClassVar, Dict, List -from eZmaxApi.models.common_response_get_list import CommonResponseGetList +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List, Optional from eZmaxApi.models.common_response_obj_debug import CommonResponseObjDebug from eZmaxApi.models.common_response_obj_debug_payload_get_list import CommonResponseObjDebugPayloadGetList from eZmaxApi.models.sessionhistory_get_list_v1_response_m_payload import SessionhistoryGetListV1ResponseMPayload from typing import Optional, Set from typing_extensions import Self -class SessionhistoryGetListV1Response(CommonResponseGetList): +class SessionhistoryGetListV1Response(BaseModel): """ Response for GET /1/object/sessionhistory/getList """ # noqa: E501 + obj_debug_payload: CommonResponseObjDebugPayloadGetList = Field(alias="objDebugPayload") + obj_debug: Optional[CommonResponseObjDebug] = Field(default=None, alias="objDebug") m_payload: SessionhistoryGetListV1ResponseMPayload = Field(alias="mPayload") __properties: ClassVar[List[str]] = ["objDebugPayload", "objDebug", "mPayload"] diff --git a/eZmaxApi/models/sessionhistory_get_list_v1_response_m_payload.py b/eZmaxApi/models/sessionhistory_get_list_v1_response_m_payload.py index 6439578ba..185c50c91 100644 --- a/eZmaxApi/models/sessionhistory_get_list_v1_response_m_payload.py +++ b/eZmaxApi/models/sessionhistory_get_list_v1_response_m_payload.py @@ -18,17 +18,18 @@ import re # noqa: F401 import json -from pydantic import ConfigDict, Field +from pydantic import BaseModel, ConfigDict, Field, StrictInt from typing import Any, ClassVar, Dict, List -from eZmaxApi.models.common_get_list_v1_response_m_payload import CommonGetListV1ResponseMPayload from eZmaxApi.models.sessionhistory_list_element import SessionhistoryListElement from typing import Optional, Set from typing_extensions import Self -class SessionhistoryGetListV1ResponseMPayload(CommonGetListV1ResponseMPayload): +class SessionhistoryGetListV1ResponseMPayload(BaseModel): """ Payload for GET /1/object/sessionhistory/getList """ # noqa: E501 + i_row_returned: StrictInt = Field(description="The number of rows returned", alias="iRowReturned") + i_row_filtered: StrictInt = Field(description="The number of rows matching your filters (if any) or the total number of rows", alias="iRowFiltered") a_obj_sessionhistory: List[SessionhistoryListElement] = Field(alias="a_objSessionhistory") __properties: ClassVar[List[str]] = ["iRowReturned", "iRowFiltered", "a_objSessionhistory"] diff --git a/eZmaxApi/models/signature_create_object_v1_response.py b/eZmaxApi/models/signature_create_object_v1_response.py index 53a1e558c..693dddf00 100644 --- a/eZmaxApi/models/signature_create_object_v1_response.py +++ b/eZmaxApi/models/signature_create_object_v1_response.py @@ -18,19 +18,20 @@ import re # noqa: F401 import json -from pydantic import ConfigDict, Field -from typing import Any, ClassVar, Dict, List -from eZmaxApi.models.common_response import CommonResponse +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List, Optional from eZmaxApi.models.common_response_obj_debug import CommonResponseObjDebug from eZmaxApi.models.common_response_obj_debug_payload import CommonResponseObjDebugPayload from eZmaxApi.models.signature_create_object_v1_response_m_payload import SignatureCreateObjectV1ResponseMPayload from typing import Optional, Set from typing_extensions import Self -class SignatureCreateObjectV1Response(CommonResponse): +class SignatureCreateObjectV1Response(BaseModel): """ Response for POST /1/object/signature """ # noqa: E501 + obj_debug_payload: CommonResponseObjDebugPayload = Field(alias="objDebugPayload") + obj_debug: Optional[CommonResponseObjDebug] = Field(default=None, alias="objDebug") m_payload: SignatureCreateObjectV1ResponseMPayload = Field(alias="mPayload") __properties: ClassVar[List[str]] = ["objDebugPayload", "objDebug", "mPayload"] diff --git a/eZmaxApi/models/signature_delete_object_v1_response.py b/eZmaxApi/models/signature_delete_object_v1_response.py index 70614dd6f..6cd0da42e 100644 --- a/eZmaxApi/models/signature_delete_object_v1_response.py +++ b/eZmaxApi/models/signature_delete_object_v1_response.py @@ -18,18 +18,19 @@ import re # noqa: F401 import json -from pydantic import ConfigDict -from typing import Any, ClassVar, Dict, List -from eZmaxApi.models.common_response import CommonResponse +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List, Optional from eZmaxApi.models.common_response_obj_debug import CommonResponseObjDebug from eZmaxApi.models.common_response_obj_debug_payload import CommonResponseObjDebugPayload from typing import Optional, Set from typing_extensions import Self -class SignatureDeleteObjectV1Response(CommonResponse): +class SignatureDeleteObjectV1Response(BaseModel): """ Response for DELETE /1/object/signature/{pkiSignatureID} """ # noqa: E501 + obj_debug_payload: CommonResponseObjDebugPayload = Field(alias="objDebugPayload") + obj_debug: Optional[CommonResponseObjDebug] = Field(default=None, alias="objDebug") __properties: ClassVar[List[str]] = ["objDebugPayload", "objDebug"] model_config = ConfigDict( diff --git a/eZmaxApi/models/signature_edit_object_v1_response.py b/eZmaxApi/models/signature_edit_object_v1_response.py index 7def97cda..a923dab16 100644 --- a/eZmaxApi/models/signature_edit_object_v1_response.py +++ b/eZmaxApi/models/signature_edit_object_v1_response.py @@ -18,18 +18,19 @@ import re # noqa: F401 import json -from pydantic import ConfigDict -from typing import Any, ClassVar, Dict, List -from eZmaxApi.models.common_response import CommonResponse +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List, Optional from eZmaxApi.models.common_response_obj_debug import CommonResponseObjDebug from eZmaxApi.models.common_response_obj_debug_payload import CommonResponseObjDebugPayload from typing import Optional, Set from typing_extensions import Self -class SignatureEditObjectV1Response(CommonResponse): +class SignatureEditObjectV1Response(BaseModel): """ Response for PUT /1/object/signature/{pkiSignatureID} """ # noqa: E501 + obj_debug_payload: CommonResponseObjDebugPayload = Field(alias="objDebugPayload") + obj_debug: Optional[CommonResponseObjDebug] = Field(default=None, alias="objDebug") __properties: ClassVar[List[str]] = ["objDebugPayload", "objDebug"] model_config = ConfigDict( diff --git a/eZmaxApi/models/signature_get_object_v2_response.py b/eZmaxApi/models/signature_get_object_v2_response.py index f2dcfd184..185ae648e 100644 --- a/eZmaxApi/models/signature_get_object_v2_response.py +++ b/eZmaxApi/models/signature_get_object_v2_response.py @@ -18,19 +18,20 @@ import re # noqa: F401 import json -from pydantic import ConfigDict, Field -from typing import Any, ClassVar, Dict, List -from eZmaxApi.models.common_response import CommonResponse +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List, Optional from eZmaxApi.models.common_response_obj_debug import CommonResponseObjDebug from eZmaxApi.models.common_response_obj_debug_payload import CommonResponseObjDebugPayload from eZmaxApi.models.signature_get_object_v2_response_m_payload import SignatureGetObjectV2ResponseMPayload from typing import Optional, Set from typing_extensions import Self -class SignatureGetObjectV2Response(CommonResponse): +class SignatureGetObjectV2Response(BaseModel): """ Response for GET /2/object/signature/{pkiSignatureID} """ # noqa: E501 + obj_debug_payload: CommonResponseObjDebugPayload = Field(alias="objDebugPayload") + obj_debug: Optional[CommonResponseObjDebug] = Field(default=None, alias="objDebug") m_payload: SignatureGetObjectV2ResponseMPayload = Field(alias="mPayload") __properties: ClassVar[List[str]] = ["objDebugPayload", "objDebug", "mPayload"] diff --git a/eZmaxApi/models/signature_get_object_v3_response.py b/eZmaxApi/models/signature_get_object_v3_response.py index 27e3535bc..92a114436 100644 --- a/eZmaxApi/models/signature_get_object_v3_response.py +++ b/eZmaxApi/models/signature_get_object_v3_response.py @@ -18,19 +18,20 @@ import re # noqa: F401 import json -from pydantic import ConfigDict, Field -from typing import Any, ClassVar, Dict, List -from eZmaxApi.models.common_response import CommonResponse +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List, Optional from eZmaxApi.models.common_response_obj_debug import CommonResponseObjDebug from eZmaxApi.models.common_response_obj_debug_payload import CommonResponseObjDebugPayload from eZmaxApi.models.signature_get_object_v3_response_m_payload import SignatureGetObjectV3ResponseMPayload from typing import Optional, Set from typing_extensions import Self -class SignatureGetObjectV3Response(CommonResponse): +class SignatureGetObjectV3Response(BaseModel): """ Response for GET /3/object/signature/{pkiSignatureID} """ # noqa: E501 + obj_debug_payload: CommonResponseObjDebugPayload = Field(alias="objDebugPayload") + obj_debug: Optional[CommonResponseObjDebug] = Field(default=None, alias="objDebug") m_payload: SignatureGetObjectV3ResponseMPayload = Field(alias="mPayload") __properties: ClassVar[List[str]] = ["objDebugPayload", "objDebug", "mPayload"] diff --git a/eZmaxApi/models/signature_request.py b/eZmaxApi/models/signature_request.py index 83c112d4e..fc69dca09 100644 --- a/eZmaxApi/models/signature_request.py +++ b/eZmaxApi/models/signature_request.py @@ -98,7 +98,21 @@ def to_dict(self) -> Dict[str, Any]: return _dict @classmethod - def from_dict(cls, obj: Dict[str, Any]) -> Optional[Self]: + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: """Create an instance of SignatureRequest from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "pkiSignatureID": obj.get("pkiSignatureID"), + "fkiFontID": obj.get("fkiFontID"), + "eSignaturePreference": obj.get("eSignaturePreference"), + "tSignatureSvg": obj.get("tSignatureSvg"), + "tSignatureSvginitials": obj.get("tSignatureSvginitials") + }) + return _obj diff --git a/eZmaxApi/models/signature_request_compound.py b/eZmaxApi/models/signature_request_compound.py index af6733dbc..9d5fb7fb7 100644 --- a/eZmaxApi/models/signature_request_compound.py +++ b/eZmaxApi/models/signature_request_compound.py @@ -18,19 +18,44 @@ import re # noqa: F401 import json -from pydantic import ConfigDict -from typing import Any, ClassVar, Dict, List +from pydantic import BaseModel, ConfigDict, Field, field_validator +from typing import Any, ClassVar, Dict, List, Optional +from typing_extensions import Annotated from eZmaxApi.models.field_e_signature_preference import FieldESignaturePreference -from eZmaxApi.models.signature_request import SignatureRequest from typing import Optional, Set from typing_extensions import Self -class SignatureRequestCompound(SignatureRequest): +class SignatureRequestCompound(BaseModel): """ A Signature Object and children """ # noqa: E501 + pki_signature_id: Optional[Annotated[int, Field(le=16777215, strict=True, ge=0)]] = Field(default=None, description="The unique ID of the Signature", alias="pkiSignatureID") + fki_font_id: Annotated[int, Field(strict=True, ge=0)] = Field(description="The unique ID of the Font", alias="fkiFontID") + e_signature_preference: FieldESignaturePreference = Field(alias="eSignaturePreference") + t_signature_svg: Optional[Annotated[str, Field(strict=True)]] = Field(default=None, description="The svg of the Signature", alias="tSignatureSvg") + t_signature_svginitials: Optional[Annotated[str, Field(strict=True)]] = Field(default=None, description="The svg of the Initials", alias="tSignatureSvginitials") __properties: ClassVar[List[str]] = ["pkiSignatureID", "fkiFontID", "eSignaturePreference", "tSignatureSvg", "tSignatureSvginitials"] + @field_validator('t_signature_svg') + def t_signature_svg_validate_regular_expression(cls, value): + """Validates the regular expression""" + if value is None: + return value + + if not re.match(r"^.{60,65535}$", value): + raise ValueError(r"must validate the regular expression /^.{60,65535}$/") + return value + + @field_validator('t_signature_svginitials') + def t_signature_svginitials_validate_regular_expression(cls, value): + """Validates the regular expression""" + if value is None: + return value + + if not re.match(r"^.{60,65535}$", value): + raise ValueError(r"must validate the regular expression /^.{60,65535}$/") + return value + model_config = ConfigDict( populate_by_name=True, validate_assignment=True, diff --git a/eZmaxApi/models/signature_response.py b/eZmaxApi/models/signature_response.py index bb33ddcf9..ebd6a0ab0 100644 --- a/eZmaxApi/models/signature_response.py +++ b/eZmaxApi/models/signature_response.py @@ -96,7 +96,20 @@ def to_dict(self) -> Dict[str, Any]: return _dict @classmethod - def from_dict(cls, obj: Dict[str, Any]) -> Optional[Self]: + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: """Create an instance of SignatureResponse from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "pkiSignatureID": obj.get("pkiSignatureID"), + "fkiFontID": obj.get("fkiFontID"), + "sSignatureUrl": obj.get("sSignatureUrl"), + "sSignatureUrlinitials": obj.get("sSignatureUrlinitials") + }) + return _obj diff --git a/eZmaxApi/models/signature_response_compound.py b/eZmaxApi/models/signature_response_compound.py index a2619e822..d8d12cee4 100644 --- a/eZmaxApi/models/signature_response_compound.py +++ b/eZmaxApi/models/signature_response_compound.py @@ -18,18 +18,42 @@ import re # noqa: F401 import json -from pydantic import ConfigDict -from typing import Any, ClassVar, Dict, List -from eZmaxApi.models.signature_response import SignatureResponse +from pydantic import BaseModel, ConfigDict, Field, field_validator +from typing import Any, ClassVar, Dict, List, Optional +from typing_extensions import Annotated from typing import Optional, Set from typing_extensions import Self -class SignatureResponseCompound(SignatureResponse): +class SignatureResponseCompound(BaseModel): """ A Signature Object """ # noqa: E501 + pki_signature_id: Annotated[int, Field(le=16777215, strict=True, ge=0)] = Field(description="The unique ID of the Signature", alias="pkiSignatureID") + fki_font_id: Optional[Annotated[int, Field(strict=True, ge=0)]] = Field(default=None, description="The unique ID of the Font", alias="fkiFontID") + s_signature_url: Optional[Annotated[str, Field(strict=True)]] = Field(default=None, description="The URL of the SVG file for the Signature", alias="sSignatureUrl") + s_signature_urlinitials: Optional[Annotated[str, Field(strict=True)]] = Field(default=None, description="The URL of the SVG file for the Initials", alias="sSignatureUrlinitials") __properties: ClassVar[List[str]] = ["pkiSignatureID", "fkiFontID", "sSignatureUrl", "sSignatureUrlinitials"] + @field_validator('s_signature_url') + def s_signature_url_validate_regular_expression(cls, value): + """Validates the regular expression""" + if value is None: + return value + + if not re.match(r"^(https|http):\/\/[^\s\/$.?#].[^\s]*$", value): + raise ValueError(r"must validate the regular expression /^(https|http):\/\/[^\s\/$.?#].[^\s]*$/") + return value + + @field_validator('s_signature_urlinitials') + def s_signature_urlinitials_validate_regular_expression(cls, value): + """Validates the regular expression""" + if value is None: + return value + + if not re.match(r"^(https|http):\/\/[^\s\/$.?#].[^\s]*$", value): + raise ValueError(r"must validate the regular expression /^(https|http):\/\/[^\s\/$.?#].[^\s]*$/") + return value + model_config = ConfigDict( populate_by_name=True, validate_assignment=True, diff --git a/eZmaxApi/models/signature_response_compound_v3.py b/eZmaxApi/models/signature_response_compound_v3.py index a0672754b..1ff8ac4bd 100644 --- a/eZmaxApi/models/signature_response_compound_v3.py +++ b/eZmaxApi/models/signature_response_compound_v3.py @@ -18,17 +18,22 @@ import re # noqa: F401 import json -from pydantic import ConfigDict +from pydantic import BaseModel, ConfigDict, Field, StrictBool from typing import Any, ClassVar, Dict, List +from typing_extensions import Annotated from eZmaxApi.models.field_e_signature_preference import FieldESignaturePreference -from eZmaxApi.models.signature_response_v3 import SignatureResponseV3 from typing import Optional, Set from typing_extensions import Self -class SignatureResponseCompoundV3(SignatureResponseV3): +class SignatureResponseCompoundV3(BaseModel): """ A Signature Object """ # noqa: E501 + pki_signature_id: Annotated[int, Field(le=16777215, strict=True, ge=0)] = Field(description="The unique ID of the Signature", alias="pkiSignatureID") + fki_font_id: Annotated[int, Field(strict=True, ge=0)] = Field(description="The unique ID of the Font", alias="fkiFontID") + e_signature_preference: FieldESignaturePreference = Field(alias="eSignaturePreference") + b_signature_svg: StrictBool = Field(description="Whether the signature has a SVG or not", alias="bSignatureSvg") + b_signature_svginitials: StrictBool = Field(description="Whether the initials has a SVG or not", alias="bSignatureSvginitials") __properties: ClassVar[List[str]] = ["pkiSignatureID", "fkiFontID", "eSignaturePreference", "bSignatureSvg", "bSignatureSvginitials"] model_config = ConfigDict( diff --git a/eZmaxApi/models/signature_response_v3.py b/eZmaxApi/models/signature_response_v3.py index d941981c6..17a586c33 100644 --- a/eZmaxApi/models/signature_response_v3.py +++ b/eZmaxApi/models/signature_response_v3.py @@ -78,7 +78,21 @@ def to_dict(self) -> Dict[str, Any]: return _dict @classmethod - def from_dict(cls, obj: Dict[str, Any]) -> Optional[Self]: + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: """Create an instance of SignatureResponseV3 from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "pkiSignatureID": obj.get("pkiSignatureID"), + "fkiFontID": obj.get("fkiFontID"), + "eSignaturePreference": obj.get("eSignaturePreference"), + "bSignatureSvg": obj.get("bSignatureSvg"), + "bSignatureSvginitials": obj.get("bSignatureSvginitials") + }) + return _obj diff --git a/eZmaxApi/models/subnet_create_object_v1_response.py b/eZmaxApi/models/subnet_create_object_v1_response.py index 1183646c7..5220effec 100644 --- a/eZmaxApi/models/subnet_create_object_v1_response.py +++ b/eZmaxApi/models/subnet_create_object_v1_response.py @@ -18,19 +18,20 @@ import re # noqa: F401 import json -from pydantic import ConfigDict, Field -from typing import Any, ClassVar, Dict, List -from eZmaxApi.models.common_response import CommonResponse +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List, Optional from eZmaxApi.models.common_response_obj_debug import CommonResponseObjDebug from eZmaxApi.models.common_response_obj_debug_payload import CommonResponseObjDebugPayload from eZmaxApi.models.subnet_create_object_v1_response_m_payload import SubnetCreateObjectV1ResponseMPayload from typing import Optional, Set from typing_extensions import Self -class SubnetCreateObjectV1Response(CommonResponse): +class SubnetCreateObjectV1Response(BaseModel): """ Response for POST /1/object/subnet """ # noqa: E501 + obj_debug_payload: CommonResponseObjDebugPayload = Field(alias="objDebugPayload") + obj_debug: Optional[CommonResponseObjDebug] = Field(default=None, alias="objDebug") m_payload: SubnetCreateObjectV1ResponseMPayload = Field(alias="mPayload") __properties: ClassVar[List[str]] = ["objDebugPayload", "objDebug", "mPayload"] diff --git a/eZmaxApi/models/subnet_delete_object_v1_response.py b/eZmaxApi/models/subnet_delete_object_v1_response.py index c8fc15602..38a6d1da6 100644 --- a/eZmaxApi/models/subnet_delete_object_v1_response.py +++ b/eZmaxApi/models/subnet_delete_object_v1_response.py @@ -18,18 +18,19 @@ import re # noqa: F401 import json -from pydantic import ConfigDict -from typing import Any, ClassVar, Dict, List -from eZmaxApi.models.common_response import CommonResponse +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List, Optional from eZmaxApi.models.common_response_obj_debug import CommonResponseObjDebug from eZmaxApi.models.common_response_obj_debug_payload import CommonResponseObjDebugPayload from typing import Optional, Set from typing_extensions import Self -class SubnetDeleteObjectV1Response(CommonResponse): +class SubnetDeleteObjectV1Response(BaseModel): """ Response for DELETE /1/object/subnet/{pkiSubnetID} """ # noqa: E501 + obj_debug_payload: CommonResponseObjDebugPayload = Field(alias="objDebugPayload") + obj_debug: Optional[CommonResponseObjDebug] = Field(default=None, alias="objDebug") __properties: ClassVar[List[str]] = ["objDebugPayload", "objDebug"] model_config = ConfigDict( diff --git a/eZmaxApi/models/subnet_edit_object_v1_response.py b/eZmaxApi/models/subnet_edit_object_v1_response.py index a82ed57c4..40f622ba8 100644 --- a/eZmaxApi/models/subnet_edit_object_v1_response.py +++ b/eZmaxApi/models/subnet_edit_object_v1_response.py @@ -18,18 +18,19 @@ import re # noqa: F401 import json -from pydantic import ConfigDict -from typing import Any, ClassVar, Dict, List -from eZmaxApi.models.common_response import CommonResponse +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List, Optional from eZmaxApi.models.common_response_obj_debug import CommonResponseObjDebug from eZmaxApi.models.common_response_obj_debug_payload import CommonResponseObjDebugPayload from typing import Optional, Set from typing_extensions import Self -class SubnetEditObjectV1Response(CommonResponse): +class SubnetEditObjectV1Response(BaseModel): """ Response for PUT /1/object/subnet/{pkiSubnetID} """ # noqa: E501 + obj_debug_payload: CommonResponseObjDebugPayload = Field(alias="objDebugPayload") + obj_debug: Optional[CommonResponseObjDebug] = Field(default=None, alias="objDebug") __properties: ClassVar[List[str]] = ["objDebugPayload", "objDebug"] model_config = ConfigDict( diff --git a/eZmaxApi/models/subnet_get_object_v2_response.py b/eZmaxApi/models/subnet_get_object_v2_response.py index d6935ad1c..ffe33a537 100644 --- a/eZmaxApi/models/subnet_get_object_v2_response.py +++ b/eZmaxApi/models/subnet_get_object_v2_response.py @@ -18,19 +18,20 @@ import re # noqa: F401 import json -from pydantic import ConfigDict, Field -from typing import Any, ClassVar, Dict, List -from eZmaxApi.models.common_response import CommonResponse +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List, Optional from eZmaxApi.models.common_response_obj_debug import CommonResponseObjDebug from eZmaxApi.models.common_response_obj_debug_payload import CommonResponseObjDebugPayload from eZmaxApi.models.subnet_get_object_v2_response_m_payload import SubnetGetObjectV2ResponseMPayload from typing import Optional, Set from typing_extensions import Self -class SubnetGetObjectV2Response(CommonResponse): +class SubnetGetObjectV2Response(BaseModel): """ Response for GET /2/object/subnet/{pkiSubnetID} """ # noqa: E501 + obj_debug_payload: CommonResponseObjDebugPayload = Field(alias="objDebugPayload") + obj_debug: Optional[CommonResponseObjDebug] = Field(default=None, alias="objDebug") m_payload: SubnetGetObjectV2ResponseMPayload = Field(alias="mPayload") __properties: ClassVar[List[str]] = ["objDebugPayload", "objDebug", "mPayload"] diff --git a/eZmaxApi/models/subnet_request.py b/eZmaxApi/models/subnet_request.py index 2dc416524..6c90e71e5 100644 --- a/eZmaxApi/models/subnet_request.py +++ b/eZmaxApi/models/subnet_request.py @@ -82,7 +82,22 @@ def to_dict(self) -> Dict[str, Any]: return _dict @classmethod - def from_dict(cls, obj: Dict[str, Any]) -> Optional[Self]: + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: """Create an instance of SubnetRequest from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "pkiSubnetID": obj.get("pkiSubnetID"), + "fkiUserID": obj.get("fkiUserID"), + "fkiApikeyID": obj.get("fkiApikeyID"), + "objSubnetDescription": MultilingualSubnetDescription.from_dict(obj["objSubnetDescription"]) if obj.get("objSubnetDescription") is not None else None, + "iSubnetNetwork": obj.get("iSubnetNetwork"), + "iSubnetMask": obj.get("iSubnetMask") + }) + return _obj diff --git a/eZmaxApi/models/subnet_request_compound.py b/eZmaxApi/models/subnet_request_compound.py index c9f25624d..513a2d06e 100644 --- a/eZmaxApi/models/subnet_request_compound.py +++ b/eZmaxApi/models/subnet_request_compound.py @@ -18,17 +18,23 @@ import re # noqa: F401 import json -from pydantic import ConfigDict -from typing import Any, ClassVar, Dict, List +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List, Optional +from typing_extensions import Annotated from eZmaxApi.models.multilingual_subnet_description import MultilingualSubnetDescription -from eZmaxApi.models.subnet_request import SubnetRequest from typing import Optional, Set from typing_extensions import Self -class SubnetRequestCompound(SubnetRequest): +class SubnetRequestCompound(BaseModel): """ A Subnet Object and children """ # noqa: E501 + pki_subnet_id: Optional[Annotated[int, Field(le=65535, strict=True, ge=0)]] = Field(default=None, description="The unique ID of the Subnet", alias="pkiSubnetID") + fki_user_id: Optional[Annotated[int, Field(strict=True, ge=0)]] = Field(default=None, description="The unique ID of the User", alias="fkiUserID") + fki_apikey_id: Optional[Annotated[int, Field(strict=True, ge=0)]] = Field(default=None, description="The unique ID of the Apikey", alias="fkiApikeyID") + obj_subnet_description: MultilingualSubnetDescription = Field(alias="objSubnetDescription") + i_subnet_network: Annotated[int, Field(le=4294967295, strict=True, ge=0)] = Field(description="The network of the Subnet in integer form. For example 8.8.8.0 would be 134744064", alias="iSubnetNetwork") + i_subnet_mask: Annotated[int, Field(le=4294967295, strict=True, ge=0)] = Field(description="The mask of the Subnet in integer form. For example 255.255.255.0 would be 4294967040", alias="iSubnetMask") __properties: ClassVar[List[str]] = ["pkiSubnetID", "fkiUserID", "fkiApikeyID", "objSubnetDescription", "iSubnetNetwork", "iSubnetMask"] model_config = ConfigDict( diff --git a/eZmaxApi/models/subnet_response.py b/eZmaxApi/models/subnet_response.py index b46adeeb9..39c981d45 100644 --- a/eZmaxApi/models/subnet_response.py +++ b/eZmaxApi/models/subnet_response.py @@ -82,7 +82,22 @@ def to_dict(self) -> Dict[str, Any]: return _dict @classmethod - def from_dict(cls, obj: Dict[str, Any]) -> Optional[Self]: + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: """Create an instance of SubnetResponse from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "pkiSubnetID": obj.get("pkiSubnetID"), + "fkiUserID": obj.get("fkiUserID"), + "fkiApikeyID": obj.get("fkiApikeyID"), + "objSubnetDescription": MultilingualSubnetDescription.from_dict(obj["objSubnetDescription"]) if obj.get("objSubnetDescription") is not None else None, + "iSubnetNetwork": obj.get("iSubnetNetwork"), + "iSubnetMask": obj.get("iSubnetMask") + }) + return _obj diff --git a/eZmaxApi/models/subnet_response_compound.py b/eZmaxApi/models/subnet_response_compound.py index 14a4d68e0..1ce766199 100644 --- a/eZmaxApi/models/subnet_response_compound.py +++ b/eZmaxApi/models/subnet_response_compound.py @@ -18,17 +18,23 @@ import re # noqa: F401 import json -from pydantic import ConfigDict -from typing import Any, ClassVar, Dict, List +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List, Optional +from typing_extensions import Annotated from eZmaxApi.models.multilingual_subnet_description import MultilingualSubnetDescription -from eZmaxApi.models.subnet_response import SubnetResponse from typing import Optional, Set from typing_extensions import Self -class SubnetResponseCompound(SubnetResponse): +class SubnetResponseCompound(BaseModel): """ A Subnet Object """ # noqa: E501 + pki_subnet_id: Annotated[int, Field(le=65535, strict=True, ge=0)] = Field(description="The unique ID of the Subnet", alias="pkiSubnetID") + fki_user_id: Optional[Annotated[int, Field(strict=True, ge=0)]] = Field(default=None, description="The unique ID of the User", alias="fkiUserID") + fki_apikey_id: Optional[Annotated[int, Field(strict=True, ge=0)]] = Field(default=None, description="The unique ID of the Apikey", alias="fkiApikeyID") + obj_subnet_description: MultilingualSubnetDescription = Field(alias="objSubnetDescription") + i_subnet_network: Annotated[int, Field(le=4294967295, strict=True, ge=0)] = Field(description="The network of the Subnet in integer form. For example 8.8.8.0 would be 134744064", alias="iSubnetNetwork") + i_subnet_mask: Annotated[int, Field(le=4294967295, strict=True, ge=0)] = Field(description="The mask of the Subnet in integer form. For example 255.255.255.0 would be 4294967040", alias="iSubnetMask") __properties: ClassVar[List[str]] = ["pkiSubnetID", "fkiUserID", "fkiApikeyID", "objSubnetDescription", "iSubnetNetwork", "iSubnetMask"] model_config = ConfigDict( diff --git a/eZmaxApi/models/supply_create_object_v1_response.py b/eZmaxApi/models/supply_create_object_v1_response.py index 2ed0ef477..066451553 100644 --- a/eZmaxApi/models/supply_create_object_v1_response.py +++ b/eZmaxApi/models/supply_create_object_v1_response.py @@ -18,19 +18,20 @@ import re # noqa: F401 import json -from pydantic import ConfigDict, Field -from typing import Any, ClassVar, Dict, List -from eZmaxApi.models.common_response import CommonResponse +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List, Optional from eZmaxApi.models.common_response_obj_debug import CommonResponseObjDebug from eZmaxApi.models.common_response_obj_debug_payload import CommonResponseObjDebugPayload from eZmaxApi.models.supply_create_object_v1_response_m_payload import SupplyCreateObjectV1ResponseMPayload from typing import Optional, Set from typing_extensions import Self -class SupplyCreateObjectV1Response(CommonResponse): +class SupplyCreateObjectV1Response(BaseModel): """ Response for POST /1/object/supply """ # noqa: E501 + obj_debug_payload: CommonResponseObjDebugPayload = Field(alias="objDebugPayload") + obj_debug: Optional[CommonResponseObjDebug] = Field(default=None, alias="objDebug") m_payload: SupplyCreateObjectV1ResponseMPayload = Field(alias="mPayload") __properties: ClassVar[List[str]] = ["objDebugPayload", "objDebug", "mPayload"] diff --git a/eZmaxApi/models/supply_delete_object_v1_response.py b/eZmaxApi/models/supply_delete_object_v1_response.py index 13aefdad0..997d1e60a 100644 --- a/eZmaxApi/models/supply_delete_object_v1_response.py +++ b/eZmaxApi/models/supply_delete_object_v1_response.py @@ -18,18 +18,19 @@ import re # noqa: F401 import json -from pydantic import ConfigDict -from typing import Any, ClassVar, Dict, List -from eZmaxApi.models.common_response import CommonResponse +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List, Optional from eZmaxApi.models.common_response_obj_debug import CommonResponseObjDebug from eZmaxApi.models.common_response_obj_debug_payload import CommonResponseObjDebugPayload from typing import Optional, Set from typing_extensions import Self -class SupplyDeleteObjectV1Response(CommonResponse): +class SupplyDeleteObjectV1Response(BaseModel): """ Response for DELETE /1/object/supply/{pkiSupplyID} """ # noqa: E501 + obj_debug_payload: CommonResponseObjDebugPayload = Field(alias="objDebugPayload") + obj_debug: Optional[CommonResponseObjDebug] = Field(default=None, alias="objDebug") __properties: ClassVar[List[str]] = ["objDebugPayload", "objDebug"] model_config = ConfigDict( diff --git a/eZmaxApi/models/supply_edit_object_v1_response.py b/eZmaxApi/models/supply_edit_object_v1_response.py index 30520c373..2f9a80e14 100644 --- a/eZmaxApi/models/supply_edit_object_v1_response.py +++ b/eZmaxApi/models/supply_edit_object_v1_response.py @@ -18,18 +18,19 @@ import re # noqa: F401 import json -from pydantic import ConfigDict -from typing import Any, ClassVar, Dict, List -from eZmaxApi.models.common_response import CommonResponse +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List, Optional from eZmaxApi.models.common_response_obj_debug import CommonResponseObjDebug from eZmaxApi.models.common_response_obj_debug_payload import CommonResponseObjDebugPayload from typing import Optional, Set from typing_extensions import Self -class SupplyEditObjectV1Response(CommonResponse): +class SupplyEditObjectV1Response(BaseModel): """ Response for PUT /1/object/supply/{pkiSupplyID} """ # noqa: E501 + obj_debug_payload: CommonResponseObjDebugPayload = Field(alias="objDebugPayload") + obj_debug: Optional[CommonResponseObjDebug] = Field(default=None, alias="objDebug") __properties: ClassVar[List[str]] = ["objDebugPayload", "objDebug"] model_config = ConfigDict( diff --git a/eZmaxApi/models/supply_get_autocomplete_v2_response.py b/eZmaxApi/models/supply_get_autocomplete_v2_response.py index a3f43ea8e..3df081f6e 100644 --- a/eZmaxApi/models/supply_get_autocomplete_v2_response.py +++ b/eZmaxApi/models/supply_get_autocomplete_v2_response.py @@ -18,19 +18,20 @@ import re # noqa: F401 import json -from pydantic import ConfigDict, Field -from typing import Any, ClassVar, Dict, List -from eZmaxApi.models.common_response import CommonResponse +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List, Optional from eZmaxApi.models.common_response_obj_debug import CommonResponseObjDebug from eZmaxApi.models.common_response_obj_debug_payload import CommonResponseObjDebugPayload from eZmaxApi.models.supply_get_autocomplete_v2_response_m_payload import SupplyGetAutocompleteV2ResponseMPayload from typing import Optional, Set from typing_extensions import Self -class SupplyGetAutocompleteV2Response(CommonResponse): +class SupplyGetAutocompleteV2Response(BaseModel): """ Response for GET /2/object/supply/getAutocomplete """ # noqa: E501 + obj_debug_payload: CommonResponseObjDebugPayload = Field(alias="objDebugPayload") + obj_debug: Optional[CommonResponseObjDebug] = Field(default=None, alias="objDebug") m_payload: SupplyGetAutocompleteV2ResponseMPayload = Field(alias="mPayload") __properties: ClassVar[List[str]] = ["objDebugPayload", "objDebug", "mPayload"] diff --git a/eZmaxApi/models/supply_get_list_v1_response.py b/eZmaxApi/models/supply_get_list_v1_response.py index 0d5d3738e..ccd18bcff 100644 --- a/eZmaxApi/models/supply_get_list_v1_response.py +++ b/eZmaxApi/models/supply_get_list_v1_response.py @@ -18,19 +18,20 @@ import re # noqa: F401 import json -from pydantic import ConfigDict, Field -from typing import Any, ClassVar, Dict, List -from eZmaxApi.models.common_response_get_list import CommonResponseGetList +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List, Optional from eZmaxApi.models.common_response_obj_debug import CommonResponseObjDebug from eZmaxApi.models.common_response_obj_debug_payload_get_list import CommonResponseObjDebugPayloadGetList from eZmaxApi.models.supply_get_list_v1_response_m_payload import SupplyGetListV1ResponseMPayload from typing import Optional, Set from typing_extensions import Self -class SupplyGetListV1Response(CommonResponseGetList): +class SupplyGetListV1Response(BaseModel): """ Response for GET /1/object/supply/getList """ # noqa: E501 + obj_debug_payload: CommonResponseObjDebugPayloadGetList = Field(alias="objDebugPayload") + obj_debug: Optional[CommonResponseObjDebug] = Field(default=None, alias="objDebug") m_payload: SupplyGetListV1ResponseMPayload = Field(alias="mPayload") __properties: ClassVar[List[str]] = ["objDebugPayload", "objDebug", "mPayload"] diff --git a/eZmaxApi/models/supply_get_list_v1_response_m_payload.py b/eZmaxApi/models/supply_get_list_v1_response_m_payload.py index 18a1d1cab..13a83b689 100644 --- a/eZmaxApi/models/supply_get_list_v1_response_m_payload.py +++ b/eZmaxApi/models/supply_get_list_v1_response_m_payload.py @@ -18,17 +18,18 @@ import re # noqa: F401 import json -from pydantic import ConfigDict, Field +from pydantic import BaseModel, ConfigDict, Field, StrictInt from typing import Any, ClassVar, Dict, List -from eZmaxApi.models.common_get_list_v1_response_m_payload import CommonGetListV1ResponseMPayload from eZmaxApi.models.supply_list_element import SupplyListElement from typing import Optional, Set from typing_extensions import Self -class SupplyGetListV1ResponseMPayload(CommonGetListV1ResponseMPayload): +class SupplyGetListV1ResponseMPayload(BaseModel): """ Payload for GET /1/object/supply/getList """ # noqa: E501 + i_row_returned: StrictInt = Field(description="The number of rows returned", alias="iRowReturned") + i_row_filtered: StrictInt = Field(description="The number of rows matching your filters (if any) or the total number of rows", alias="iRowFiltered") a_obj_supply: List[SupplyListElement] = Field(alias="a_objSupply") __properties: ClassVar[List[str]] = ["iRowReturned", "iRowFiltered", "a_objSupply"] diff --git a/eZmaxApi/models/supply_get_object_v2_response.py b/eZmaxApi/models/supply_get_object_v2_response.py index d17aa941f..cc1ff4779 100644 --- a/eZmaxApi/models/supply_get_object_v2_response.py +++ b/eZmaxApi/models/supply_get_object_v2_response.py @@ -18,19 +18,20 @@ import re # noqa: F401 import json -from pydantic import ConfigDict, Field -from typing import Any, ClassVar, Dict, List -from eZmaxApi.models.common_response import CommonResponse +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List, Optional from eZmaxApi.models.common_response_obj_debug import CommonResponseObjDebug from eZmaxApi.models.common_response_obj_debug_payload import CommonResponseObjDebugPayload from eZmaxApi.models.supply_get_object_v2_response_m_payload import SupplyGetObjectV2ResponseMPayload from typing import Optional, Set from typing_extensions import Self -class SupplyGetObjectV2Response(CommonResponse): +class SupplyGetObjectV2Response(BaseModel): """ Response for GET /2/object/supply/{pkiSupplyID} """ # noqa: E501 + obj_debug_payload: CommonResponseObjDebugPayload = Field(alias="objDebugPayload") + obj_debug: Optional[CommonResponseObjDebug] = Field(default=None, alias="objDebug") m_payload: SupplyGetObjectV2ResponseMPayload = Field(alias="mPayload") __properties: ClassVar[List[str]] = ["objDebugPayload", "objDebug", "mPayload"] diff --git a/eZmaxApi/models/supply_request.py b/eZmaxApi/models/supply_request.py index 5eaa06b79..dbb5b9218 100644 --- a/eZmaxApi/models/supply_request.py +++ b/eZmaxApi/models/supply_request.py @@ -99,7 +99,25 @@ def to_dict(self) -> Dict[str, Any]: return _dict @classmethod - def from_dict(cls, obj: Dict[str, Any]) -> Optional[Self]: + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: """Create an instance of SupplyRequest from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "pkiSupplyID": obj.get("pkiSupplyID"), + "fkiGlaccountID": obj.get("fkiGlaccountID"), + "fkiGlaccountcontainerID": obj.get("fkiGlaccountcontainerID"), + "fkiVariableexpenseID": obj.get("fkiVariableexpenseID"), + "sSupplyCode": obj.get("sSupplyCode"), + "objSupplyDescription": MultilingualSupplyDescription.from_dict(obj["objSupplyDescription"]) if obj.get("objSupplyDescription") is not None else None, + "dSupplyUnitprice": obj.get("dSupplyUnitprice"), + "bSupplyIsactive": obj.get("bSupplyIsactive"), + "bSupplyVariableprice": obj.get("bSupplyVariableprice") + }) + return _obj diff --git a/eZmaxApi/models/supply_request_compound.py b/eZmaxApi/models/supply_request_compound.py index 7b46bdf38..91414a8ac 100644 --- a/eZmaxApi/models/supply_request_compound.py +++ b/eZmaxApi/models/supply_request_compound.py @@ -18,19 +18,42 @@ import re # noqa: F401 import json -from pydantic import ConfigDict -from typing import Any, ClassVar, Dict, List +from pydantic import BaseModel, ConfigDict, Field, StrictBool, field_validator +from typing import Any, ClassVar, Dict, List, Optional +from typing_extensions import Annotated from eZmaxApi.models.multilingual_supply_description import MultilingualSupplyDescription -from eZmaxApi.models.supply_request import SupplyRequest from typing import Optional, Set from typing_extensions import Self -class SupplyRequestCompound(SupplyRequest): +class SupplyRequestCompound(BaseModel): """ A Supply Object and children """ # noqa: E501 + pki_supply_id: Optional[Annotated[int, Field(le=65535, strict=True, ge=0)]] = Field(default=None, description="The unique ID of the Supply", alias="pkiSupplyID") + fki_glaccount_id: Optional[Annotated[int, Field(strict=True, ge=0)]] = Field(default=None, description="The unique ID of the Glaccount", alias="fkiGlaccountID") + fki_glaccountcontainer_id: Optional[Annotated[int, Field(strict=True, ge=0)]] = Field(default=None, description="The unique ID of the Glaccountcontainer", alias="fkiGlaccountcontainerID") + fki_variableexpense_id: Annotated[int, Field(le=255, strict=True, ge=1)] = Field(description="The unique ID of the Variableexpense", alias="fkiVariableexpenseID") + s_supply_code: Annotated[str, Field(strict=True)] = Field(description="The code of the Supply", alias="sSupplyCode") + obj_supply_description: MultilingualSupplyDescription = Field(alias="objSupplyDescription") + d_supply_unitprice: Annotated[str, Field(min_length=4, strict=True, max_length=13)] = Field(description="The unit price of the Supply", alias="dSupplyUnitprice") + b_supply_isactive: StrictBool = Field(description="Whether the supply is active or not", alias="bSupplyIsactive") + b_supply_variableprice: StrictBool = Field(description="Whether if the price is variable", alias="bSupplyVariableprice") __properties: ClassVar[List[str]] = ["pkiSupplyID", "fkiGlaccountID", "fkiGlaccountcontainerID", "fkiVariableexpenseID", "sSupplyCode", "objSupplyDescription", "dSupplyUnitprice", "bSupplyIsactive", "bSupplyVariableprice"] + @field_validator('s_supply_code') + def s_supply_code_validate_regular_expression(cls, value): + """Validates the regular expression""" + if not re.match(r"^.{0,5}$", value): + raise ValueError(r"must validate the regular expression /^.{0,5}$/") + return value + + @field_validator('d_supply_unitprice') + def d_supply_unitprice_validate_regular_expression(cls, value): + """Validates the regular expression""" + if not re.match(r"^-{0,1}[\d]{1,9}?\.[\d]{2}$", value): + raise ValueError(r"must validate the regular expression /^-{0,1}[\d]{1,9}?\.[\d]{2}$/") + return value + model_config = ConfigDict( populate_by_name=True, validate_assignment=True, diff --git a/eZmaxApi/models/supply_response.py b/eZmaxApi/models/supply_response.py index 07ffb6761..61d18256d 100644 --- a/eZmaxApi/models/supply_response.py +++ b/eZmaxApi/models/supply_response.py @@ -112,7 +112,28 @@ def to_dict(self) -> Dict[str, Any]: return _dict @classmethod - def from_dict(cls, obj: Dict[str, Any]) -> Optional[Self]: + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: """Create an instance of SupplyResponse from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "pkiSupplyID": obj.get("pkiSupplyID"), + "fkiGlaccountID": obj.get("fkiGlaccountID"), + "fkiGlaccountcontainerID": obj.get("fkiGlaccountcontainerID"), + "fkiVariableexpenseID": obj.get("fkiVariableexpenseID"), + "sSupplyCode": obj.get("sSupplyCode"), + "objSupplyDescription": MultilingualSupplyDescription.from_dict(obj["objSupplyDescription"]) if obj.get("objSupplyDescription") is not None else None, + "dSupplyUnitprice": obj.get("dSupplyUnitprice"), + "bSupplyIsactive": obj.get("bSupplyIsactive"), + "bSupplyVariableprice": obj.get("bSupplyVariableprice"), + "sGlaccountDescriptionX": obj.get("sGlaccountDescriptionX"), + "sGlaccountcontainerLongdescriptionX": obj.get("sGlaccountcontainerLongdescriptionX"), + "sVariableexpenseDescriptionX": obj.get("sVariableexpenseDescriptionX") + }) + return _obj diff --git a/eZmaxApi/models/supply_response_compound.py b/eZmaxApi/models/supply_response_compound.py index d99e5f050..29dc98724 100644 --- a/eZmaxApi/models/supply_response_compound.py +++ b/eZmaxApi/models/supply_response_compound.py @@ -18,19 +18,55 @@ import re # noqa: F401 import json -from pydantic import ConfigDict -from typing import Any, ClassVar, Dict, List +from pydantic import BaseModel, ConfigDict, Field, StrictBool, StrictStr, field_validator +from typing import Any, ClassVar, Dict, List, Optional +from typing_extensions import Annotated from eZmaxApi.models.multilingual_supply_description import MultilingualSupplyDescription -from eZmaxApi.models.supply_response import SupplyResponse from typing import Optional, Set from typing_extensions import Self -class SupplyResponseCompound(SupplyResponse): +class SupplyResponseCompound(BaseModel): """ A Supply Object """ # noqa: E501 + pki_supply_id: Annotated[int, Field(le=65535, strict=True, ge=0)] = Field(description="The unique ID of the Supply", alias="pkiSupplyID") + fki_glaccount_id: Optional[Annotated[int, Field(strict=True, ge=0)]] = Field(default=None, description="The unique ID of the Glaccount", alias="fkiGlaccountID") + fki_glaccountcontainer_id: Optional[Annotated[int, Field(strict=True, ge=0)]] = Field(default=None, description="The unique ID of the Glaccountcontainer", alias="fkiGlaccountcontainerID") + fki_variableexpense_id: Annotated[int, Field(le=255, strict=True, ge=1)] = Field(description="The unique ID of the Variableexpense", alias="fkiVariableexpenseID") + s_supply_code: Annotated[str, Field(strict=True)] = Field(description="The code of the Supply", alias="sSupplyCode") + obj_supply_description: MultilingualSupplyDescription = Field(alias="objSupplyDescription") + d_supply_unitprice: Annotated[str, Field(min_length=4, strict=True, max_length=13)] = Field(description="The unit price of the Supply", alias="dSupplyUnitprice") + b_supply_isactive: StrictBool = Field(description="Whether the supply is active or not", alias="bSupplyIsactive") + b_supply_variableprice: StrictBool = Field(description="Whether if the price is variable", alias="bSupplyVariableprice") + s_glaccount_description_x: Optional[StrictStr] = Field(default=None, description="The Description for the Glaccount in the language of the requester", alias="sGlaccountDescriptionX") + s_glaccountcontainer_longdescription_x: Optional[StrictStr] = Field(default=None, description="The Description for the Glaccountcontainer in the language of the requester", alias="sGlaccountcontainerLongdescriptionX") + s_variableexpense_description_x: Optional[Annotated[str, Field(strict=True)]] = Field(default=None, description="The description of the Variableexpense in the language of the requester", alias="sVariableexpenseDescriptionX") __properties: ClassVar[List[str]] = ["pkiSupplyID", "fkiGlaccountID", "fkiGlaccountcontainerID", "fkiVariableexpenseID", "sSupplyCode", "objSupplyDescription", "dSupplyUnitprice", "bSupplyIsactive", "bSupplyVariableprice", "sGlaccountDescriptionX", "sGlaccountcontainerLongdescriptionX", "sVariableexpenseDescriptionX"] + @field_validator('s_supply_code') + def s_supply_code_validate_regular_expression(cls, value): + """Validates the regular expression""" + if not re.match(r"^.{0,5}$", value): + raise ValueError(r"must validate the regular expression /^.{0,5}$/") + return value + + @field_validator('d_supply_unitprice') + def d_supply_unitprice_validate_regular_expression(cls, value): + """Validates the regular expression""" + if not re.match(r"^-{0,1}[\d]{1,9}?\.[\d]{2}$", value): + raise ValueError(r"must validate the regular expression /^-{0,1}[\d]{1,9}?\.[\d]{2}$/") + return value + + @field_validator('s_variableexpense_description_x') + def s_variableexpense_description_x_validate_regular_expression(cls, value): + """Validates the regular expression""" + if value is None: + return value + + if not re.match(r"^.{0,40}$", value): + raise ValueError(r"must validate the regular expression /^.{0,40}$/") + return value + model_config = ConfigDict( populate_by_name=True, validate_assignment=True, diff --git a/eZmaxApi/models/systemconfiguration_edit_object_v1_response.py b/eZmaxApi/models/systemconfiguration_edit_object_v1_response.py index c15353a0a..3f8998d3a 100644 --- a/eZmaxApi/models/systemconfiguration_edit_object_v1_response.py +++ b/eZmaxApi/models/systemconfiguration_edit_object_v1_response.py @@ -18,18 +18,19 @@ import re # noqa: F401 import json -from pydantic import ConfigDict -from typing import Any, ClassVar, Dict, List -from eZmaxApi.models.common_response import CommonResponse +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List, Optional from eZmaxApi.models.common_response_obj_debug import CommonResponseObjDebug from eZmaxApi.models.common_response_obj_debug_payload import CommonResponseObjDebugPayload from typing import Optional, Set from typing_extensions import Self -class SystemconfigurationEditObjectV1Response(CommonResponse): +class SystemconfigurationEditObjectV1Response(BaseModel): """ Response for PUT /1/object/systemconfiguration/{pkiSystemconfigurationID} """ # noqa: E501 + obj_debug_payload: CommonResponseObjDebugPayload = Field(alias="objDebugPayload") + obj_debug: Optional[CommonResponseObjDebug] = Field(default=None, alias="objDebug") __properties: ClassVar[List[str]] = ["objDebugPayload", "objDebug"] model_config = ConfigDict( diff --git a/eZmaxApi/models/systemconfiguration_get_object_v2_response.py b/eZmaxApi/models/systemconfiguration_get_object_v2_response.py index dbb40c335..5fe301496 100644 --- a/eZmaxApi/models/systemconfiguration_get_object_v2_response.py +++ b/eZmaxApi/models/systemconfiguration_get_object_v2_response.py @@ -18,19 +18,20 @@ import re # noqa: F401 import json -from pydantic import ConfigDict, Field -from typing import Any, ClassVar, Dict, List -from eZmaxApi.models.common_response import CommonResponse +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List, Optional from eZmaxApi.models.common_response_obj_debug import CommonResponseObjDebug from eZmaxApi.models.common_response_obj_debug_payload import CommonResponseObjDebugPayload from eZmaxApi.models.systemconfiguration_get_object_v2_response_m_payload import SystemconfigurationGetObjectV2ResponseMPayload from typing import Optional, Set from typing_extensions import Self -class SystemconfigurationGetObjectV2Response(CommonResponse): +class SystemconfigurationGetObjectV2Response(BaseModel): """ Response for GET /2/object/systemconfiguration/{pkiSystemconfigurationID} """ # noqa: E501 + obj_debug_payload: CommonResponseObjDebugPayload = Field(alias="objDebugPayload") + obj_debug: Optional[CommonResponseObjDebug] = Field(default=None, alias="objDebug") m_payload: SystemconfigurationGetObjectV2ResponseMPayload = Field(alias="mPayload") __properties: ClassVar[List[str]] = ["objDebugPayload", "objDebug", "mPayload"] diff --git a/eZmaxApi/models/systemconfiguration_request.py b/eZmaxApi/models/systemconfiguration_request.py index 3757a4b28..fef1eedfa 100644 --- a/eZmaxApi/models/systemconfiguration_request.py +++ b/eZmaxApi/models/systemconfiguration_request.py @@ -109,7 +109,28 @@ def to_dict(self) -> Dict[str, Any]: return _dict @classmethod - def from_dict(cls, obj: Dict[str, Any]) -> Optional[Self]: + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: """Create an instance of SystemconfigurationRequest from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "pkiSystemconfigurationID": obj.get("pkiSystemconfigurationID"), + "fkiBrandingID": obj.get("fkiBrandingID"), + "eSystemconfigurationNewexternaluseraction": obj.get("eSystemconfigurationNewexternaluseraction"), + "eSystemconfigurationLanguage1": obj.get("eSystemconfigurationLanguage1"), + "eSystemconfigurationLanguage2": obj.get("eSystemconfigurationLanguage2"), + "eSystemconfigurationEzsign": obj.get("eSystemconfigurationEzsign"), + "eSystemconfigurationEzsignofficeplan": obj.get("eSystemconfigurationEzsignofficeplan"), + "bSystemconfigurationEzsignpaidbyoffice": obj.get("bSystemconfigurationEzsignpaidbyoffice"), + "bSystemconfigurationEzsignpersonnal": obj.get("bSystemconfigurationEzsignpersonnal"), + "bSystemconfigurationSspr": obj.get("bSystemconfigurationSspr"), + "dtSystemconfigurationReadonlyexpirationstart": obj.get("dtSystemconfigurationReadonlyexpirationstart"), + "dtSystemconfigurationReadonlyexpirationend": obj.get("dtSystemconfigurationReadonlyexpirationend") + }) + return _obj diff --git a/eZmaxApi/models/systemconfiguration_request_compound.py b/eZmaxApi/models/systemconfiguration_request_compound.py index 8434380ca..eb0b19261 100644 --- a/eZmaxApi/models/systemconfiguration_request_compound.py +++ b/eZmaxApi/models/systemconfiguration_request_compound.py @@ -18,23 +18,55 @@ import re # noqa: F401 import json -from pydantic import ConfigDict -from typing import Any, ClassVar, Dict, List +from pydantic import BaseModel, ConfigDict, Field, StrictBool, field_validator +from typing import Any, ClassVar, Dict, List, Optional +from typing_extensions import Annotated from eZmaxApi.models.field_e_systemconfiguration_ezsign import FieldESystemconfigurationEzsign from eZmaxApi.models.field_e_systemconfiguration_ezsignofficeplan import FieldESystemconfigurationEzsignofficeplan from eZmaxApi.models.field_e_systemconfiguration_language1 import FieldESystemconfigurationLanguage1 from eZmaxApi.models.field_e_systemconfiguration_language2 import FieldESystemconfigurationLanguage2 from eZmaxApi.models.field_e_systemconfiguration_newexternaluseraction import FieldESystemconfigurationNewexternaluseraction -from eZmaxApi.models.systemconfiguration_request import SystemconfigurationRequest from typing import Optional, Set from typing_extensions import Self -class SystemconfigurationRequestCompound(SystemconfigurationRequest): +class SystemconfigurationRequestCompound(BaseModel): """ A Systemconfiguration Object and children """ # noqa: E501 + pki_systemconfiguration_id: Optional[Annotated[int, Field(le=1, strict=True, ge=1)]] = Field(default=None, description="The unique ID of the Systemconfiguration", alias="pkiSystemconfigurationID") + fki_branding_id: Optional[Annotated[int, Field(strict=True, ge=0)]] = Field(default=None, description="The unique ID of the Branding", alias="fkiBrandingID") + e_systemconfiguration_newexternaluseraction: FieldESystemconfigurationNewexternaluseraction = Field(alias="eSystemconfigurationNewexternaluseraction") + e_systemconfiguration_language1: FieldESystemconfigurationLanguage1 = Field(alias="eSystemconfigurationLanguage1") + e_systemconfiguration_language2: FieldESystemconfigurationLanguage2 = Field(alias="eSystemconfigurationLanguage2") + e_systemconfiguration_ezsign: Optional[FieldESystemconfigurationEzsign] = Field(default=None, alias="eSystemconfigurationEzsign") + e_systemconfiguration_ezsignofficeplan: Optional[FieldESystemconfigurationEzsignofficeplan] = Field(default=None, alias="eSystemconfigurationEzsignofficeplan") + b_systemconfiguration_ezsignpaidbyoffice: Optional[StrictBool] = Field(default=None, description="Whether if Ezsign is paid by the company or not", alias="bSystemconfigurationEzsignpaidbyoffice") + b_systemconfiguration_ezsignpersonnal: StrictBool = Field(description="Whether if we allow the creation of personal files in eZsign", alias="bSystemconfigurationEzsignpersonnal") + b_systemconfiguration_sspr: StrictBool = Field(description="Whether if we allow SSPR", alias="bSystemconfigurationSspr") + dt_systemconfiguration_readonlyexpirationstart: Optional[Annotated[str, Field(strict=True)]] = Field(default=None, description="The start date where the system will be in read only", alias="dtSystemconfigurationReadonlyexpirationstart") + dt_systemconfiguration_readonlyexpirationend: Optional[Annotated[str, Field(strict=True)]] = Field(default=None, description="The end date where the system will be in read only", alias="dtSystemconfigurationReadonlyexpirationend") __properties: ClassVar[List[str]] = ["pkiSystemconfigurationID", "fkiBrandingID", "eSystemconfigurationNewexternaluseraction", "eSystemconfigurationLanguage1", "eSystemconfigurationLanguage2", "eSystemconfigurationEzsign", "eSystemconfigurationEzsignofficeplan", "bSystemconfigurationEzsignpaidbyoffice", "bSystemconfigurationEzsignpersonnal", "bSystemconfigurationSspr", "dtSystemconfigurationReadonlyexpirationstart", "dtSystemconfigurationReadonlyexpirationend"] + @field_validator('dt_systemconfiguration_readonlyexpirationstart') + def dt_systemconfiguration_readonlyexpirationstart_validate_regular_expression(cls, value): + """Validates the regular expression""" + if value is None: + return value + + if not re.match(r"^[0-9]{4}-(0[1-9]|1[0-2])-(0[1-9]|[1-2][0-9]|3[0-1])$", value): + raise ValueError(r"must validate the regular expression /^[0-9]{4}-(0[1-9]|1[0-2])-(0[1-9]|[1-2][0-9]|3[0-1])$/") + return value + + @field_validator('dt_systemconfiguration_readonlyexpirationend') + def dt_systemconfiguration_readonlyexpirationend_validate_regular_expression(cls, value): + """Validates the regular expression""" + if value is None: + return value + + if not re.match(r"^[0-9]{4}-(0[1-9]|1[0-2])-(0[1-9]|[1-2][0-9]|3[0-1])$", value): + raise ValueError(r"must validate the regular expression /^[0-9]{4}-(0[1-9]|1[0-2])-(0[1-9]|[1-2][0-9]|3[0-1])$/") + return value + model_config = ConfigDict( populate_by_name=True, validate_assignment=True, diff --git a/eZmaxApi/models/systemconfiguration_response.py b/eZmaxApi/models/systemconfiguration_response.py index 3ff92682c..84270da6d 100644 --- a/eZmaxApi/models/systemconfiguration_response.py +++ b/eZmaxApi/models/systemconfiguration_response.py @@ -118,7 +118,33 @@ def to_dict(self) -> Dict[str, Any]: return _dict @classmethod - def from_dict(cls, obj: Dict[str, Any]) -> Optional[Self]: + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: """Create an instance of SystemconfigurationResponse from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "pkiSystemconfigurationID": obj.get("pkiSystemconfigurationID"), + "fkiSystemconfigurationtypeID": obj.get("fkiSystemconfigurationtypeID"), + "fkiBrandingID": obj.get("fkiBrandingID"), + "sSystemconfigurationtypeDescriptionX": obj.get("sSystemconfigurationtypeDescriptionX"), + "eSystemconfigurationNewexternaluseraction": obj.get("eSystemconfigurationNewexternaluseraction"), + "eSystemconfigurationLanguage1": obj.get("eSystemconfigurationLanguage1"), + "eSystemconfigurationLanguage2": obj.get("eSystemconfigurationLanguage2"), + "eSystemconfigurationEzsign": obj.get("eSystemconfigurationEzsign"), + "eSystemconfigurationEzsignofficeplan": obj.get("eSystemconfigurationEzsignofficeplan"), + "bSystemconfigurationEzsignpaidbyoffice": obj.get("bSystemconfigurationEzsignpaidbyoffice"), + "bSystemconfigurationEzsignpersonnal": obj.get("bSystemconfigurationEzsignpersonnal"), + "bSystemconfigurationHascreditcardmerchant": obj.get("bSystemconfigurationHascreditcardmerchant"), + "bSystemconfigurationIsdisposalactive": obj.get("bSystemconfigurationIsdisposalactive"), + "bSystemconfigurationSspr": obj.get("bSystemconfigurationSspr"), + "dtSystemconfigurationReadonlyexpirationstart": obj.get("dtSystemconfigurationReadonlyexpirationstart"), + "dtSystemconfigurationReadonlyexpirationend": obj.get("dtSystemconfigurationReadonlyexpirationend"), + "objBranding": CustomBrandingResponse.from_dict(obj["objBranding"]) if obj.get("objBranding") is not None else None + }) + return _obj diff --git a/eZmaxApi/models/systemconfiguration_response_compound.py b/eZmaxApi/models/systemconfiguration_response_compound.py index 85bfa52c5..1a8a6d5c9 100644 --- a/eZmaxApi/models/systemconfiguration_response_compound.py +++ b/eZmaxApi/models/systemconfiguration_response_compound.py @@ -18,24 +18,61 @@ import re # noqa: F401 import json -from pydantic import ConfigDict -from typing import Any, ClassVar, Dict, List +from pydantic import BaseModel, ConfigDict, Field, StrictBool, StrictStr, field_validator +from typing import Any, ClassVar, Dict, List, Optional +from typing_extensions import Annotated from eZmaxApi.models.custom_branding_response import CustomBrandingResponse from eZmaxApi.models.field_e_systemconfiguration_ezsign import FieldESystemconfigurationEzsign from eZmaxApi.models.field_e_systemconfiguration_ezsignofficeplan import FieldESystemconfigurationEzsignofficeplan from eZmaxApi.models.field_e_systemconfiguration_language1 import FieldESystemconfigurationLanguage1 from eZmaxApi.models.field_e_systemconfiguration_language2 import FieldESystemconfigurationLanguage2 from eZmaxApi.models.field_e_systemconfiguration_newexternaluseraction import FieldESystemconfigurationNewexternaluseraction -from eZmaxApi.models.systemconfiguration_response import SystemconfigurationResponse from typing import Optional, Set from typing_extensions import Self -class SystemconfigurationResponseCompound(SystemconfigurationResponse): +class SystemconfigurationResponseCompound(BaseModel): """ A Systemconfiguration Object """ # noqa: E501 + pki_systemconfiguration_id: Annotated[int, Field(le=1, strict=True, ge=1)] = Field(description="The unique ID of the Systemconfiguration", alias="pkiSystemconfigurationID") + fki_systemconfigurationtype_id: Annotated[int, Field(strict=True, ge=1)] = Field(description="The unique ID of the Systemconfigurationtype", alias="fkiSystemconfigurationtypeID") + fki_branding_id: Optional[Annotated[int, Field(strict=True, ge=0)]] = Field(default=None, description="The unique ID of the Branding", alias="fkiBrandingID") + s_systemconfigurationtype_description_x: StrictStr = Field(description="The description of the Systemconfigurationtype in the language of the requester", alias="sSystemconfigurationtypeDescriptionX") + e_systemconfiguration_newexternaluseraction: FieldESystemconfigurationNewexternaluseraction = Field(alias="eSystemconfigurationNewexternaluseraction") + e_systemconfiguration_language1: FieldESystemconfigurationLanguage1 = Field(alias="eSystemconfigurationLanguage1") + e_systemconfiguration_language2: FieldESystemconfigurationLanguage2 = Field(alias="eSystemconfigurationLanguage2") + e_systemconfiguration_ezsign: Optional[FieldESystemconfigurationEzsign] = Field(default=None, alias="eSystemconfigurationEzsign") + e_systemconfiguration_ezsignofficeplan: Optional[FieldESystemconfigurationEzsignofficeplan] = Field(default=None, alias="eSystemconfigurationEzsignofficeplan") + b_systemconfiguration_ezsignpaidbyoffice: Optional[StrictBool] = Field(default=None, description="Whether if Ezsign is paid by the company or not", alias="bSystemconfigurationEzsignpaidbyoffice") + b_systemconfiguration_ezsignpersonnal: StrictBool = Field(description="Whether if we allow the creation of personal files in eZsign", alias="bSystemconfigurationEzsignpersonnal") + b_systemconfiguration_hascreditcardmerchant: Optional[StrictBool] = Field(default=None, description="Whether there is a creditcard merchant configured or not", alias="bSystemconfigurationHascreditcardmerchant") + b_systemconfiguration_isdisposalactive: Optional[StrictBool] = Field(default=None, description="Whether is Disposal processus is active or not", alias="bSystemconfigurationIsdisposalactive") + b_systemconfiguration_sspr: StrictBool = Field(description="Whether if we allow SSPR", alias="bSystemconfigurationSspr") + dt_systemconfiguration_readonlyexpirationstart: Optional[Annotated[str, Field(strict=True)]] = Field(default=None, description="The start date where the system will be in read only", alias="dtSystemconfigurationReadonlyexpirationstart") + dt_systemconfiguration_readonlyexpirationend: Optional[Annotated[str, Field(strict=True)]] = Field(default=None, description="The end date where the system will be in read only", alias="dtSystemconfigurationReadonlyexpirationend") + obj_branding: Optional[CustomBrandingResponse] = Field(default=None, alias="objBranding") __properties: ClassVar[List[str]] = ["pkiSystemconfigurationID", "fkiSystemconfigurationtypeID", "fkiBrandingID", "sSystemconfigurationtypeDescriptionX", "eSystemconfigurationNewexternaluseraction", "eSystemconfigurationLanguage1", "eSystemconfigurationLanguage2", "eSystemconfigurationEzsign", "eSystemconfigurationEzsignofficeplan", "bSystemconfigurationEzsignpaidbyoffice", "bSystemconfigurationEzsignpersonnal", "bSystemconfigurationHascreditcardmerchant", "bSystemconfigurationIsdisposalactive", "bSystemconfigurationSspr", "dtSystemconfigurationReadonlyexpirationstart", "dtSystemconfigurationReadonlyexpirationend", "objBranding"] + @field_validator('dt_systemconfiguration_readonlyexpirationstart') + def dt_systemconfiguration_readonlyexpirationstart_validate_regular_expression(cls, value): + """Validates the regular expression""" + if value is None: + return value + + if not re.match(r"^[0-9]{4}-(0[1-9]|1[0-2])-(0[1-9]|[1-2][0-9]|3[0-1])$", value): + raise ValueError(r"must validate the regular expression /^[0-9]{4}-(0[1-9]|1[0-2])-(0[1-9]|[1-2][0-9]|3[0-1])$/") + return value + + @field_validator('dt_systemconfiguration_readonlyexpirationend') + def dt_systemconfiguration_readonlyexpirationend_validate_regular_expression(cls, value): + """Validates the regular expression""" + if value is None: + return value + + if not re.match(r"^[0-9]{4}-(0[1-9]|1[0-2])-(0[1-9]|[1-2][0-9]|3[0-1])$", value): + raise ValueError(r"must validate the regular expression /^[0-9]{4}-(0[1-9]|1[0-2])-(0[1-9]|[1-2][0-9]|3[0-1])$/") + return value + model_config = ConfigDict( populate_by_name=True, validate_assignment=True, diff --git a/eZmaxApi/models/taxassignment_get_autocomplete_v2_response.py b/eZmaxApi/models/taxassignment_get_autocomplete_v2_response.py index 546a9b0d2..c50dd0853 100644 --- a/eZmaxApi/models/taxassignment_get_autocomplete_v2_response.py +++ b/eZmaxApi/models/taxassignment_get_autocomplete_v2_response.py @@ -18,19 +18,20 @@ import re # noqa: F401 import json -from pydantic import ConfigDict, Field -from typing import Any, ClassVar, Dict, List -from eZmaxApi.models.common_response import CommonResponse +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List, Optional from eZmaxApi.models.common_response_obj_debug import CommonResponseObjDebug from eZmaxApi.models.common_response_obj_debug_payload import CommonResponseObjDebugPayload from eZmaxApi.models.taxassignment_get_autocomplete_v2_response_m_payload import TaxassignmentGetAutocompleteV2ResponseMPayload from typing import Optional, Set from typing_extensions import Self -class TaxassignmentGetAutocompleteV2Response(CommonResponse): +class TaxassignmentGetAutocompleteV2Response(BaseModel): """ Response for GET /2/object/taxassignment/getAutocomplete """ # noqa: E501 + obj_debug_payload: CommonResponseObjDebugPayload = Field(alias="objDebugPayload") + obj_debug: Optional[CommonResponseObjDebug] = Field(default=None, alias="objDebug") m_payload: TaxassignmentGetAutocompleteV2ResponseMPayload = Field(alias="mPayload") __properties: ClassVar[List[str]] = ["objDebugPayload", "objDebug", "mPayload"] diff --git a/eZmaxApi/models/textstylestatic_request.py b/eZmaxApi/models/textstylestatic_request.py index 5e59707e8..9ac1494d9 100644 --- a/eZmaxApi/models/textstylestatic_request.py +++ b/eZmaxApi/models/textstylestatic_request.py @@ -79,7 +79,23 @@ def to_dict(self) -> Dict[str, Any]: return _dict @classmethod - def from_dict(cls, obj: Dict[str, Any]) -> Optional[Self]: + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: """Create an instance of TextstylestaticRequest from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "fkiFontID": obj.get("fkiFontID"), + "bTextstylestaticBold": obj.get("bTextstylestaticBold"), + "bTextstylestaticUnderline": obj.get("bTextstylestaticUnderline"), + "bTextstylestaticItalic": obj.get("bTextstylestaticItalic"), + "bTextstylestaticStrikethrough": obj.get("bTextstylestaticStrikethrough"), + "iTextstylestaticFontcolor": obj.get("iTextstylestaticFontcolor"), + "iTextstylestaticSize": obj.get("iTextstylestaticSize") + }) + return _obj diff --git a/eZmaxApi/models/textstylestatic_request_compound.py b/eZmaxApi/models/textstylestatic_request_compound.py index d255798f4..7f6d0b2ba 100644 --- a/eZmaxApi/models/textstylestatic_request_compound.py +++ b/eZmaxApi/models/textstylestatic_request_compound.py @@ -18,16 +18,23 @@ import re # noqa: F401 import json -from pydantic import ConfigDict +from pydantic import BaseModel, ConfigDict, Field, StrictBool from typing import Any, ClassVar, Dict, List -from eZmaxApi.models.textstylestatic_request import TextstylestaticRequest +from typing_extensions import Annotated from typing import Optional, Set from typing_extensions import Self -class TextstylestaticRequestCompound(TextstylestaticRequest): +class TextstylestaticRequestCompound(BaseModel): """ A Textstylestatic Object and children """ # noqa: E501 + fki_font_id: Annotated[int, Field(strict=True, ge=0)] = Field(description="The unique ID of the Font", alias="fkiFontID") + b_textstylestatic_bold: StrictBool = Field(description="Whether the Textstylestatic is Bold or not", alias="bTextstylestaticBold") + b_textstylestatic_underline: StrictBool = Field(description="Whether the Textstylestatic is Underline or not", alias="bTextstylestaticUnderline") + b_textstylestatic_italic: StrictBool = Field(description="Whether the Textstylestatic is Italic or not", alias="bTextstylestaticItalic") + b_textstylestatic_strikethrough: StrictBool = Field(description="Whether the Textstylestatic is Strikethrough or not", alias="bTextstylestaticStrikethrough") + i_textstylestatic_fontcolor: Annotated[int, Field(le=16777215, strict=True, ge=0)] = Field(description="The int32 representation of the Fontcolor. For example, RGB color #39435B would be 3752795", alias="iTextstylestaticFontcolor") + i_textstylestatic_size: Annotated[int, Field(le=255, strict=True, ge=1)] = Field(description="The Size for the Font of the Textstylestatic", alias="iTextstylestaticSize") __properties: ClassVar[List[str]] = ["fkiFontID", "bTextstylestaticBold", "bTextstylestaticUnderline", "bTextstylestaticItalic", "bTextstylestaticStrikethrough", "iTextstylestaticFontcolor", "iTextstylestaticSize"] model_config = ConfigDict( diff --git a/eZmaxApi/models/textstylestatic_response.py b/eZmaxApi/models/textstylestatic_response.py index 5d2063523..47d9909f5 100644 --- a/eZmaxApi/models/textstylestatic_response.py +++ b/eZmaxApi/models/textstylestatic_response.py @@ -88,7 +88,25 @@ def to_dict(self) -> Dict[str, Any]: return _dict @classmethod - def from_dict(cls, obj: Dict[str, Any]) -> Optional[Self]: + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: """Create an instance of TextstylestaticResponse from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "pkiTextstylestaticID": obj.get("pkiTextstylestaticID"), + "fkiFontID": obj.get("fkiFontID"), + "sFontName": obj.get("sFontName"), + "bTextstylestaticBold": obj.get("bTextstylestaticBold"), + "bTextstylestaticUnderline": obj.get("bTextstylestaticUnderline"), + "bTextstylestaticItalic": obj.get("bTextstylestaticItalic"), + "bTextstylestaticStrikethrough": obj.get("bTextstylestaticStrikethrough"), + "iTextstylestaticFontcolor": obj.get("iTextstylestaticFontcolor"), + "iTextstylestaticSize": obj.get("iTextstylestaticSize") + }) + return _obj diff --git a/eZmaxApi/models/textstylestatic_response_compound.py b/eZmaxApi/models/textstylestatic_response_compound.py index eee3cd94a..b4b31c654 100644 --- a/eZmaxApi/models/textstylestatic_response_compound.py +++ b/eZmaxApi/models/textstylestatic_response_compound.py @@ -18,18 +18,34 @@ import re # noqa: F401 import json -from pydantic import ConfigDict -from typing import Any, ClassVar, Dict, List -from eZmaxApi.models.textstylestatic_response import TextstylestaticResponse +from pydantic import BaseModel, ConfigDict, Field, StrictBool, field_validator +from typing import Any, ClassVar, Dict, List, Optional +from typing_extensions import Annotated from typing import Optional, Set from typing_extensions import Self -class TextstylestaticResponseCompound(TextstylestaticResponse): +class TextstylestaticResponseCompound(BaseModel): """ A Textstylestatic Object """ # noqa: E501 + pki_textstylestatic_id: Optional[Annotated[int, Field(strict=True, ge=0)]] = Field(default=None, description="The unique ID of the Textstylestatic", alias="pkiTextstylestaticID") + fki_font_id: Annotated[int, Field(strict=True, ge=0)] = Field(description="The unique ID of the Font", alias="fkiFontID") + s_font_name: Annotated[str, Field(strict=True)] = Field(description="The name of the Font", alias="sFontName") + b_textstylestatic_bold: StrictBool = Field(description="Whether the Textstylestatic is Bold or not", alias="bTextstylestaticBold") + b_textstylestatic_underline: StrictBool = Field(description="Whether the Textstylestatic is Underline or not", alias="bTextstylestaticUnderline") + b_textstylestatic_italic: StrictBool = Field(description="Whether the Textstylestatic is Italic or not", alias="bTextstylestaticItalic") + b_textstylestatic_strikethrough: StrictBool = Field(description="Whether the Textstylestatic is Strikethrough or not", alias="bTextstylestaticStrikethrough") + i_textstylestatic_fontcolor: Annotated[int, Field(le=16777215, strict=True, ge=0)] = Field(description="The int32 representation of the Fontcolor. For example, RGB color #39435B would be 3752795", alias="iTextstylestaticFontcolor") + i_textstylestatic_size: Annotated[int, Field(le=255, strict=True, ge=1)] = Field(description="The Size for the Font of the Textstylestatic", alias="iTextstylestaticSize") __properties: ClassVar[List[str]] = ["pkiTextstylestaticID", "fkiFontID", "sFontName", "bTextstylestaticBold", "bTextstylestaticUnderline", "bTextstylestaticItalic", "bTextstylestaticStrikethrough", "iTextstylestaticFontcolor", "iTextstylestaticSize"] + @field_validator('s_font_name') + def s_font_name_validate_regular_expression(cls, value): + """Validates the regular expression""" + if not re.match(r"^.{0,50}$", value): + raise ValueError(r"must validate the regular expression /^.{0,50}$/") + return value + model_config = ConfigDict( populate_by_name=True, validate_assignment=True, diff --git a/eZmaxApi/models/timezone_get_autocomplete_v2_response.py b/eZmaxApi/models/timezone_get_autocomplete_v2_response.py index a751037bf..2943597ae 100644 --- a/eZmaxApi/models/timezone_get_autocomplete_v2_response.py +++ b/eZmaxApi/models/timezone_get_autocomplete_v2_response.py @@ -18,19 +18,20 @@ import re # noqa: F401 import json -from pydantic import ConfigDict, Field -from typing import Any, ClassVar, Dict, List -from eZmaxApi.models.common_response import CommonResponse +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List, Optional from eZmaxApi.models.common_response_obj_debug import CommonResponseObjDebug from eZmaxApi.models.common_response_obj_debug_payload import CommonResponseObjDebugPayload from eZmaxApi.models.timezone_get_autocomplete_v2_response_m_payload import TimezoneGetAutocompleteV2ResponseMPayload from typing import Optional, Set from typing_extensions import Self -class TimezoneGetAutocompleteV2Response(CommonResponse): +class TimezoneGetAutocompleteV2Response(BaseModel): """ Response for GET /2/object/timezone/getAutocomplete """ # noqa: E501 + obj_debug_payload: CommonResponseObjDebugPayload = Field(alias="objDebugPayload") + obj_debug: Optional[CommonResponseObjDebug] = Field(default=None, alias="objDebug") m_payload: TimezoneGetAutocompleteV2ResponseMPayload = Field(alias="mPayload") __properties: ClassVar[List[str]] = ["objDebugPayload", "objDebug", "mPayload"] diff --git a/eZmaxApi/models/tranqcontract_get_communication_count_v1_response.py b/eZmaxApi/models/tranqcontract_get_communication_count_v1_response.py index f1b4d6692..94120aa38 100644 --- a/eZmaxApi/models/tranqcontract_get_communication_count_v1_response.py +++ b/eZmaxApi/models/tranqcontract_get_communication_count_v1_response.py @@ -18,19 +18,20 @@ import re # noqa: F401 import json -from pydantic import ConfigDict, Field -from typing import Any, ClassVar, Dict, List -from eZmaxApi.models.common_response import CommonResponse +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List, Optional from eZmaxApi.models.common_response_obj_debug import CommonResponseObjDebug from eZmaxApi.models.common_response_obj_debug_payload import CommonResponseObjDebugPayload from eZmaxApi.models.tranqcontract_get_communication_count_v1_response_m_payload import TranqcontractGetCommunicationCountV1ResponseMPayload from typing import Optional, Set from typing_extensions import Self -class TranqcontractGetCommunicationCountV1Response(CommonResponse): +class TranqcontractGetCommunicationCountV1Response(BaseModel): """ Response for GET /1/object/tranqcontract/{pkiTranqcontractID}/getCommunicationCount """ # noqa: E501 + obj_debug_payload: CommonResponseObjDebugPayload = Field(alias="objDebugPayload") + obj_debug: Optional[CommonResponseObjDebug] = Field(default=None, alias="objDebug") m_payload: TranqcontractGetCommunicationCountV1ResponseMPayload = Field(alias="mPayload") __properties: ClassVar[List[str]] = ["objDebugPayload", "objDebug", "mPayload"] diff --git a/eZmaxApi/models/tranqcontract_get_communication_list_v1_response.py b/eZmaxApi/models/tranqcontract_get_communication_list_v1_response.py index 0fedd72b4..a7a860e71 100644 --- a/eZmaxApi/models/tranqcontract_get_communication_list_v1_response.py +++ b/eZmaxApi/models/tranqcontract_get_communication_list_v1_response.py @@ -18,19 +18,20 @@ import re # noqa: F401 import json -from pydantic import ConfigDict, Field -from typing import Any, ClassVar, Dict, List -from eZmaxApi.models.common_response_get_list import CommonResponseGetList +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List, Optional from eZmaxApi.models.common_response_obj_debug import CommonResponseObjDebug from eZmaxApi.models.common_response_obj_debug_payload_get_list import CommonResponseObjDebugPayloadGetList from eZmaxApi.models.tranqcontract_get_communication_list_v1_response_m_payload import TranqcontractGetCommunicationListV1ResponseMPayload from typing import Optional, Set from typing_extensions import Self -class TranqcontractGetCommunicationListV1Response(CommonResponseGetList): +class TranqcontractGetCommunicationListV1Response(BaseModel): """ Response for GET /1/object/tranqcontract/{pkiTranqcontractID}/getCommunicationList """ # noqa: E501 + obj_debug_payload: CommonResponseObjDebugPayloadGetList = Field(alias="objDebugPayload") + obj_debug: Optional[CommonResponseObjDebug] = Field(default=None, alias="objDebug") m_payload: TranqcontractGetCommunicationListV1ResponseMPayload = Field(alias="mPayload") __properties: ClassVar[List[str]] = ["objDebugPayload", "objDebug", "mPayload"] diff --git a/eZmaxApi/models/tranqcontract_get_communicationrecipients_v1_response.py b/eZmaxApi/models/tranqcontract_get_communicationrecipients_v1_response.py index 57657ad39..e433c9b2e 100644 --- a/eZmaxApi/models/tranqcontract_get_communicationrecipients_v1_response.py +++ b/eZmaxApi/models/tranqcontract_get_communicationrecipients_v1_response.py @@ -18,19 +18,20 @@ import re # noqa: F401 import json -from pydantic import ConfigDict, Field -from typing import Any, ClassVar, Dict, List -from eZmaxApi.models.common_response import CommonResponse +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List, Optional from eZmaxApi.models.common_response_obj_debug import CommonResponseObjDebug from eZmaxApi.models.common_response_obj_debug_payload import CommonResponseObjDebugPayload from eZmaxApi.models.tranqcontract_get_communicationrecipients_v1_response_m_payload import TranqcontractGetCommunicationrecipientsV1ResponseMPayload from typing import Optional, Set from typing_extensions import Self -class TranqcontractGetCommunicationrecipientsV1Response(CommonResponse): +class TranqcontractGetCommunicationrecipientsV1Response(BaseModel): """ Response for GET /1/object/tranqcontract/{pkiTranqcontractID}/getCommunicationrecipients """ # noqa: E501 + obj_debug_payload: CommonResponseObjDebugPayload = Field(alias="objDebugPayload") + obj_debug: Optional[CommonResponseObjDebug] = Field(default=None, alias="objDebug") m_payload: TranqcontractGetCommunicationrecipientsV1ResponseMPayload = Field(alias="mPayload") __properties: ClassVar[List[str]] = ["objDebugPayload", "objDebug", "mPayload"] diff --git a/eZmaxApi/models/tranqcontract_get_communicationsenders_v1_response.py b/eZmaxApi/models/tranqcontract_get_communicationsenders_v1_response.py index dffb8ce2c..a5d02ce8d 100644 --- a/eZmaxApi/models/tranqcontract_get_communicationsenders_v1_response.py +++ b/eZmaxApi/models/tranqcontract_get_communicationsenders_v1_response.py @@ -18,19 +18,20 @@ import re # noqa: F401 import json -from pydantic import ConfigDict, Field -from typing import Any, ClassVar, Dict, List -from eZmaxApi.models.common_response import CommonResponse +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List, Optional from eZmaxApi.models.common_response_obj_debug import CommonResponseObjDebug from eZmaxApi.models.common_response_obj_debug_payload import CommonResponseObjDebugPayload from eZmaxApi.models.tranqcontract_get_communicationsenders_v1_response_m_payload import TranqcontractGetCommunicationsendersV1ResponseMPayload from typing import Optional, Set from typing_extensions import Self -class TranqcontractGetCommunicationsendersV1Response(CommonResponse): +class TranqcontractGetCommunicationsendersV1Response(BaseModel): """ Response for GET /1/object/tranqcontract/{pkiTranqcontractID}/getCommunicationrecipients """ # noqa: E501 + obj_debug_payload: CommonResponseObjDebugPayload = Field(alias="objDebugPayload") + obj_debug: Optional[CommonResponseObjDebug] = Field(default=None, alias="objDebug") m_payload: TranqcontractGetCommunicationsendersV1ResponseMPayload = Field(alias="mPayload") __properties: ClassVar[List[str]] = ["objDebugPayload", "objDebug", "mPayload"] diff --git a/eZmaxApi/models/user_create_ezsignuser_v1_response.py b/eZmaxApi/models/user_create_ezsignuser_v1_response.py index a91d1d2a0..1be5a1efb 100644 --- a/eZmaxApi/models/user_create_ezsignuser_v1_response.py +++ b/eZmaxApi/models/user_create_ezsignuser_v1_response.py @@ -18,19 +18,20 @@ import re # noqa: F401 import json -from pydantic import ConfigDict, Field -from typing import Any, ClassVar, Dict, List -from eZmaxApi.models.common_response import CommonResponse +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List, Optional from eZmaxApi.models.common_response_obj_debug import CommonResponseObjDebug from eZmaxApi.models.common_response_obj_debug_payload import CommonResponseObjDebugPayload from eZmaxApi.models.user_create_ezsignuser_v1_response_m_payload import UserCreateEzsignuserV1ResponseMPayload from typing import Optional, Set from typing_extensions import Self -class UserCreateEzsignuserV1Response(CommonResponse): +class UserCreateEzsignuserV1Response(BaseModel): """ Response for POST /1/module/user/createEzsignuser """ # noqa: E501 + obj_debug_payload: CommonResponseObjDebugPayload = Field(alias="objDebugPayload") + obj_debug: Optional[CommonResponseObjDebug] = Field(default=None, alias="objDebug") m_payload: UserCreateEzsignuserV1ResponseMPayload = Field(alias="mPayload") __properties: ClassVar[List[str]] = ["objDebugPayload", "objDebug", "mPayload"] diff --git a/eZmaxApi/models/user_create_object_v1_response.py b/eZmaxApi/models/user_create_object_v1_response.py index ca57880ff..08af389ed 100644 --- a/eZmaxApi/models/user_create_object_v1_response.py +++ b/eZmaxApi/models/user_create_object_v1_response.py @@ -18,19 +18,20 @@ import re # noqa: F401 import json -from pydantic import ConfigDict, Field -from typing import Any, ClassVar, Dict, List -from eZmaxApi.models.common_response import CommonResponse +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List, Optional from eZmaxApi.models.common_response_obj_debug import CommonResponseObjDebug from eZmaxApi.models.common_response_obj_debug_payload import CommonResponseObjDebugPayload from eZmaxApi.models.user_create_object_v1_response_m_payload import UserCreateObjectV1ResponseMPayload from typing import Optional, Set from typing_extensions import Self -class UserCreateObjectV1Response(CommonResponse): +class UserCreateObjectV1Response(BaseModel): """ Response for POST /1/object/user """ # noqa: E501 + obj_debug_payload: CommonResponseObjDebugPayload = Field(alias="objDebugPayload") + obj_debug: Optional[CommonResponseObjDebug] = Field(default=None, alias="objDebug") m_payload: UserCreateObjectV1ResponseMPayload = Field(alias="mPayload") __properties: ClassVar[List[str]] = ["objDebugPayload", "objDebug", "mPayload"] diff --git a/eZmaxApi/models/user_create_object_v2_response.py b/eZmaxApi/models/user_create_object_v2_response.py index 515b932d0..7f0f9c36c 100644 --- a/eZmaxApi/models/user_create_object_v2_response.py +++ b/eZmaxApi/models/user_create_object_v2_response.py @@ -18,19 +18,20 @@ import re # noqa: F401 import json -from pydantic import ConfigDict, Field -from typing import Any, ClassVar, Dict, List -from eZmaxApi.models.common_response import CommonResponse +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List, Optional from eZmaxApi.models.common_response_obj_debug import CommonResponseObjDebug from eZmaxApi.models.common_response_obj_debug_payload import CommonResponseObjDebugPayload from eZmaxApi.models.user_create_object_v2_response_m_payload import UserCreateObjectV2ResponseMPayload from typing import Optional, Set from typing_extensions import Self -class UserCreateObjectV2Response(CommonResponse): +class UserCreateObjectV2Response(BaseModel): """ Response for POST /1/object/user """ # noqa: E501 + obj_debug_payload: CommonResponseObjDebugPayload = Field(alias="objDebugPayload") + obj_debug: Optional[CommonResponseObjDebug] = Field(default=None, alias="objDebug") m_payload: UserCreateObjectV2ResponseMPayload = Field(alias="mPayload") __properties: ClassVar[List[str]] = ["objDebugPayload", "objDebug", "mPayload"] diff --git a/eZmaxApi/models/user_edit_colleagues_v2_response.py b/eZmaxApi/models/user_edit_colleagues_v2_response.py index 762bde05a..4baa62d57 100644 --- a/eZmaxApi/models/user_edit_colleagues_v2_response.py +++ b/eZmaxApi/models/user_edit_colleagues_v2_response.py @@ -18,19 +18,20 @@ import re # noqa: F401 import json -from pydantic import ConfigDict, Field -from typing import Any, ClassVar, Dict, List -from eZmaxApi.models.common_response import CommonResponse +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List, Optional from eZmaxApi.models.common_response_obj_debug import CommonResponseObjDebug from eZmaxApi.models.common_response_obj_debug_payload import CommonResponseObjDebugPayload from eZmaxApi.models.user_edit_colleagues_v2_response_m_payload import UserEditColleaguesV2ResponseMPayload from typing import Optional, Set from typing_extensions import Self -class UserEditColleaguesV2Response(CommonResponse): +class UserEditColleaguesV2Response(BaseModel): """ Response for PUT /2/object/user/{pkiUserID}/editColleagues """ # noqa: E501 + obj_debug_payload: CommonResponseObjDebugPayload = Field(alias="objDebugPayload") + obj_debug: Optional[CommonResponseObjDebug] = Field(default=None, alias="objDebug") m_payload: UserEditColleaguesV2ResponseMPayload = Field(alias="mPayload") __properties: ClassVar[List[str]] = ["objDebugPayload", "objDebug", "mPayload"] diff --git a/eZmaxApi/models/user_edit_object_v1_response.py b/eZmaxApi/models/user_edit_object_v1_response.py index a574f0e4f..799deeb37 100644 --- a/eZmaxApi/models/user_edit_object_v1_response.py +++ b/eZmaxApi/models/user_edit_object_v1_response.py @@ -18,18 +18,19 @@ import re # noqa: F401 import json -from pydantic import ConfigDict -from typing import Any, ClassVar, Dict, List -from eZmaxApi.models.common_response import CommonResponse +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List, Optional from eZmaxApi.models.common_response_obj_debug import CommonResponseObjDebug from eZmaxApi.models.common_response_obj_debug_payload import CommonResponseObjDebugPayload from typing import Optional, Set from typing_extensions import Self -class UserEditObjectV1Response(CommonResponse): +class UserEditObjectV1Response(BaseModel): """ Response for PUT /1/object/user/{pkiUserID} """ # noqa: E501 + obj_debug_payload: CommonResponseObjDebugPayload = Field(alias="objDebugPayload") + obj_debug: Optional[CommonResponseObjDebug] = Field(default=None, alias="objDebug") __properties: ClassVar[List[str]] = ["objDebugPayload", "objDebug"] model_config = ConfigDict( diff --git a/eZmaxApi/models/user_edit_permissions_v1_request.py b/eZmaxApi/models/user_edit_permissions_v1_request.py index b068e9859..160226d91 100644 --- a/eZmaxApi/models/user_edit_permissions_v1_request.py +++ b/eZmaxApi/models/user_edit_permissions_v1_request.py @@ -20,7 +20,7 @@ from pydantic import BaseModel, ConfigDict, Field from typing import Any, ClassVar, Dict, List -from eZmaxApi.models.permission_request import PermissionRequest +from eZmaxApi.models.permission_request_compound import PermissionRequestCompound from typing import Optional, Set from typing_extensions import Self @@ -28,7 +28,7 @@ class UserEditPermissionsV1Request(BaseModel): """ Request for PUT /1/object/user/{pkiUserID}/editPermissions """ # noqa: E501 - a_obj_permission: List[PermissionRequest] = Field(alias="a_objPermission") + a_obj_permission: List[PermissionRequestCompound] = Field(alias="a_objPermission") __properties: ClassVar[List[str]] = ["a_objPermission"] model_config = ConfigDict( @@ -89,7 +89,7 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: return cls.model_validate(obj) _obj = cls.model_validate({ - "a_objPermission": [PermissionRequest.from_dict(_item) for _item in obj["a_objPermission"]] if obj.get("a_objPermission") is not None else None + "a_objPermission": [PermissionRequestCompound.from_dict(_item) for _item in obj["a_objPermission"]] if obj.get("a_objPermission") is not None else None }) return _obj diff --git a/eZmaxApi/models/user_edit_permissions_v1_response.py b/eZmaxApi/models/user_edit_permissions_v1_response.py index c70dfe6ff..86e3cb302 100644 --- a/eZmaxApi/models/user_edit_permissions_v1_response.py +++ b/eZmaxApi/models/user_edit_permissions_v1_response.py @@ -18,19 +18,20 @@ import re # noqa: F401 import json -from pydantic import ConfigDict, Field -from typing import Any, ClassVar, Dict, List -from eZmaxApi.models.common_response import CommonResponse +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List, Optional from eZmaxApi.models.common_response_obj_debug import CommonResponseObjDebug from eZmaxApi.models.common_response_obj_debug_payload import CommonResponseObjDebugPayload from eZmaxApi.models.user_edit_permissions_v1_response_m_payload import UserEditPermissionsV1ResponseMPayload from typing import Optional, Set from typing_extensions import Self -class UserEditPermissionsV1Response(CommonResponse): +class UserEditPermissionsV1Response(BaseModel): """ Response for PUT /1/object/user/{pkiUserID}/editPermissions """ # noqa: E501 + obj_debug_payload: CommonResponseObjDebugPayload = Field(alias="objDebugPayload") + obj_debug: Optional[CommonResponseObjDebug] = Field(default=None, alias="objDebug") m_payload: UserEditPermissionsV1ResponseMPayload = Field(alias="mPayload") __properties: ClassVar[List[str]] = ["objDebugPayload", "objDebug", "mPayload"] diff --git a/eZmaxApi/models/user_get_apikeys_v1_response.py b/eZmaxApi/models/user_get_apikeys_v1_response.py index 5946c39c7..e67cafcdb 100644 --- a/eZmaxApi/models/user_get_apikeys_v1_response.py +++ b/eZmaxApi/models/user_get_apikeys_v1_response.py @@ -18,19 +18,20 @@ import re # noqa: F401 import json -from pydantic import ConfigDict, Field -from typing import Any, ClassVar, Dict, List -from eZmaxApi.models.common_response import CommonResponse +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List, Optional from eZmaxApi.models.common_response_obj_debug import CommonResponseObjDebug from eZmaxApi.models.common_response_obj_debug_payload import CommonResponseObjDebugPayload from eZmaxApi.models.user_get_apikeys_v1_response_m_payload import UserGetApikeysV1ResponseMPayload from typing import Optional, Set from typing_extensions import Self -class UserGetApikeysV1Response(CommonResponse): +class UserGetApikeysV1Response(BaseModel): """ Response for GET /1/object/user/{pkiUserID}/getApikeys """ # noqa: E501 + obj_debug_payload: CommonResponseObjDebugPayload = Field(alias="objDebugPayload") + obj_debug: Optional[CommonResponseObjDebug] = Field(default=None, alias="objDebug") m_payload: UserGetApikeysV1ResponseMPayload = Field(alias="mPayload") __properties: ClassVar[List[str]] = ["objDebugPayload", "objDebug", "mPayload"] diff --git a/eZmaxApi/models/user_get_apikeys_v1_response_m_payload.py b/eZmaxApi/models/user_get_apikeys_v1_response_m_payload.py index 1ff6e59e4..cce90694e 100644 --- a/eZmaxApi/models/user_get_apikeys_v1_response_m_payload.py +++ b/eZmaxApi/models/user_get_apikeys_v1_response_m_payload.py @@ -21,7 +21,7 @@ from pydantic import BaseModel, ConfigDict, Field from typing import Any, ClassVar, Dict, List from typing_extensions import Annotated -from eZmaxApi.models.apikey_response import ApikeyResponse +from eZmaxApi.models.apikey_response_compound import ApikeyResponseCompound from typing import Optional, Set from typing_extensions import Self @@ -29,7 +29,7 @@ class UserGetApikeysV1ResponseMPayload(BaseModel): """ Response for GET /1/object/user/{pkiUserID}/getApikeys """ # noqa: E501 - a_obj_apikey: Annotated[List[ApikeyResponse], Field(min_length=0)] = Field(alias="a_objApikey") + a_obj_apikey: Annotated[List[ApikeyResponseCompound], Field(min_length=0)] = Field(alias="a_objApikey") __properties: ClassVar[List[str]] = ["a_objApikey"] model_config = ConfigDict( @@ -90,7 +90,7 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: return cls.model_validate(obj) _obj = cls.model_validate({ - "a_objApikey": [ApikeyResponse.from_dict(_item) for _item in obj["a_objApikey"]] if obj.get("a_objApikey") is not None else None + "a_objApikey": [ApikeyResponseCompound.from_dict(_item) for _item in obj["a_objApikey"]] if obj.get("a_objApikey") is not None else None }) return _obj diff --git a/eZmaxApi/models/user_get_autocomplete_v2_response.py b/eZmaxApi/models/user_get_autocomplete_v2_response.py index 6795c35f3..d524d411b 100644 --- a/eZmaxApi/models/user_get_autocomplete_v2_response.py +++ b/eZmaxApi/models/user_get_autocomplete_v2_response.py @@ -18,19 +18,20 @@ import re # noqa: F401 import json -from pydantic import ConfigDict, Field -from typing import Any, ClassVar, Dict, List -from eZmaxApi.models.common_response import CommonResponse +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List, Optional from eZmaxApi.models.common_response_obj_debug import CommonResponseObjDebug from eZmaxApi.models.common_response_obj_debug_payload import CommonResponseObjDebugPayload from eZmaxApi.models.user_get_autocomplete_v2_response_m_payload import UserGetAutocompleteV2ResponseMPayload from typing import Optional, Set from typing_extensions import Self -class UserGetAutocompleteV2Response(CommonResponse): +class UserGetAutocompleteV2Response(BaseModel): """ Response for GET /2/object/user/getAutocomplete """ # noqa: E501 + obj_debug_payload: CommonResponseObjDebugPayload = Field(alias="objDebugPayload") + obj_debug: Optional[CommonResponseObjDebug] = Field(default=None, alias="objDebug") m_payload: UserGetAutocompleteV2ResponseMPayload = Field(alias="mPayload") __properties: ClassVar[List[str]] = ["objDebugPayload", "objDebug", "mPayload"] diff --git a/eZmaxApi/models/user_get_colleagues_v2_response.py b/eZmaxApi/models/user_get_colleagues_v2_response.py index bc99253c6..9c63cdf9c 100644 --- a/eZmaxApi/models/user_get_colleagues_v2_response.py +++ b/eZmaxApi/models/user_get_colleagues_v2_response.py @@ -18,19 +18,20 @@ import re # noqa: F401 import json -from pydantic import ConfigDict, Field -from typing import Any, ClassVar, Dict, List -from eZmaxApi.models.common_response import CommonResponse +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List, Optional from eZmaxApi.models.common_response_obj_debug import CommonResponseObjDebug from eZmaxApi.models.common_response_obj_debug_payload import CommonResponseObjDebugPayload from eZmaxApi.models.user_get_colleagues_v2_response_m_payload import UserGetColleaguesV2ResponseMPayload from typing import Optional, Set from typing_extensions import Self -class UserGetColleaguesV2Response(CommonResponse): +class UserGetColleaguesV2Response(BaseModel): """ Response for GET /2/object/user/{pkiUserID}/getColleagues """ # noqa: E501 + obj_debug_payload: CommonResponseObjDebugPayload = Field(alias="objDebugPayload") + obj_debug: Optional[CommonResponseObjDebug] = Field(default=None, alias="objDebug") m_payload: UserGetColleaguesV2ResponseMPayload = Field(alias="mPayload") __properties: ClassVar[List[str]] = ["objDebugPayload", "objDebug", "mPayload"] diff --git a/eZmaxApi/models/user_get_effective_permissions_v1_response.py b/eZmaxApi/models/user_get_effective_permissions_v1_response.py index c75da4a3f..efda2c17b 100644 --- a/eZmaxApi/models/user_get_effective_permissions_v1_response.py +++ b/eZmaxApi/models/user_get_effective_permissions_v1_response.py @@ -18,19 +18,20 @@ import re # noqa: F401 import json -from pydantic import ConfigDict, Field -from typing import Any, ClassVar, Dict, List -from eZmaxApi.models.common_response import CommonResponse +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List, Optional from eZmaxApi.models.common_response_obj_debug import CommonResponseObjDebug from eZmaxApi.models.common_response_obj_debug_payload import CommonResponseObjDebugPayload from eZmaxApi.models.user_get_effective_permissions_v1_response_m_payload import UserGetEffectivePermissionsV1ResponseMPayload from typing import Optional, Set from typing_extensions import Self -class UserGetEffectivePermissionsV1Response(CommonResponse): +class UserGetEffectivePermissionsV1Response(BaseModel): """ Response for GET /1/object/user/{pkiUserID}/getEffectivePermissions """ # noqa: E501 + obj_debug_payload: CommonResponseObjDebugPayload = Field(alias="objDebugPayload") + obj_debug: Optional[CommonResponseObjDebug] = Field(default=None, alias="objDebug") m_payload: UserGetEffectivePermissionsV1ResponseMPayload = Field(alias="mPayload") __properties: ClassVar[List[str]] = ["objDebugPayload", "objDebug", "mPayload"] diff --git a/eZmaxApi/models/user_get_list_v1_response.py b/eZmaxApi/models/user_get_list_v1_response.py index b589488fa..1549aeb9e 100644 --- a/eZmaxApi/models/user_get_list_v1_response.py +++ b/eZmaxApi/models/user_get_list_v1_response.py @@ -18,19 +18,20 @@ import re # noqa: F401 import json -from pydantic import ConfigDict, Field -from typing import Any, ClassVar, Dict, List -from eZmaxApi.models.common_response_get_list import CommonResponseGetList +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List, Optional from eZmaxApi.models.common_response_obj_debug import CommonResponseObjDebug from eZmaxApi.models.common_response_obj_debug_payload_get_list import CommonResponseObjDebugPayloadGetList from eZmaxApi.models.user_get_list_v1_response_m_payload import UserGetListV1ResponseMPayload from typing import Optional, Set from typing_extensions import Self -class UserGetListV1Response(CommonResponseGetList): +class UserGetListV1Response(BaseModel): """ Response for GET /1/object/user/getList """ # noqa: E501 + obj_debug_payload: CommonResponseObjDebugPayloadGetList = Field(alias="objDebugPayload") + obj_debug: Optional[CommonResponseObjDebug] = Field(default=None, alias="objDebug") m_payload: UserGetListV1ResponseMPayload = Field(alias="mPayload") __properties: ClassVar[List[str]] = ["objDebugPayload", "objDebug", "mPayload"] diff --git a/eZmaxApi/models/user_get_list_v1_response_m_payload.py b/eZmaxApi/models/user_get_list_v1_response_m_payload.py index 51d918007..f951ddf78 100644 --- a/eZmaxApi/models/user_get_list_v1_response_m_payload.py +++ b/eZmaxApi/models/user_get_list_v1_response_m_payload.py @@ -18,17 +18,18 @@ import re # noqa: F401 import json -from pydantic import ConfigDict, Field +from pydantic import BaseModel, ConfigDict, Field, StrictInt from typing import Any, ClassVar, Dict, List -from eZmaxApi.models.common_get_list_v1_response_m_payload import CommonGetListV1ResponseMPayload from eZmaxApi.models.user_list_element import UserListElement from typing import Optional, Set from typing_extensions import Self -class UserGetListV1ResponseMPayload(CommonGetListV1ResponseMPayload): +class UserGetListV1ResponseMPayload(BaseModel): """ Payload for GET /1/object/user/getList """ # noqa: E501 + i_row_returned: StrictInt = Field(description="The number of rows returned", alias="iRowReturned") + i_row_filtered: StrictInt = Field(description="The number of rows matching your filters (if any) or the total number of rows", alias="iRowFiltered") a_obj_user: List[UserListElement] = Field(alias="a_objUser") __properties: ClassVar[List[str]] = ["iRowReturned", "iRowFiltered", "a_objUser"] diff --git a/eZmaxApi/models/user_get_object_v2_response.py b/eZmaxApi/models/user_get_object_v2_response.py index d67e6f889..9b518b9c5 100644 --- a/eZmaxApi/models/user_get_object_v2_response.py +++ b/eZmaxApi/models/user_get_object_v2_response.py @@ -18,19 +18,20 @@ import re # noqa: F401 import json -from pydantic import ConfigDict, Field -from typing import Any, ClassVar, Dict, List -from eZmaxApi.models.common_response import CommonResponse +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List, Optional from eZmaxApi.models.common_response_obj_debug import CommonResponseObjDebug from eZmaxApi.models.common_response_obj_debug_payload import CommonResponseObjDebugPayload from eZmaxApi.models.user_get_object_v2_response_m_payload import UserGetObjectV2ResponseMPayload from typing import Optional, Set from typing_extensions import Self -class UserGetObjectV2Response(CommonResponse): +class UserGetObjectV2Response(BaseModel): """ Response for GET /2/object/user/{pkiUserID} """ # noqa: E501 + obj_debug_payload: CommonResponseObjDebugPayload = Field(alias="objDebugPayload") + obj_debug: Optional[CommonResponseObjDebug] = Field(default=None, alias="objDebug") m_payload: UserGetObjectV2ResponseMPayload = Field(alias="mPayload") __properties: ClassVar[List[str]] = ["objDebugPayload", "objDebug", "mPayload"] diff --git a/eZmaxApi/models/user_get_object_v2_response_m_payload.py b/eZmaxApi/models/user_get_object_v2_response_m_payload.py index adff1fa1f..9a8829fb8 100644 --- a/eZmaxApi/models/user_get_object_v2_response_m_payload.py +++ b/eZmaxApi/models/user_get_object_v2_response_m_payload.py @@ -20,7 +20,7 @@ from pydantic import BaseModel, ConfigDict, Field from typing import Any, ClassVar, Dict, List -from eZmaxApi.models.user_response import UserResponse +from eZmaxApi.models.user_response_compound import UserResponseCompound from typing import Optional, Set from typing_extensions import Self @@ -28,7 +28,7 @@ class UserGetObjectV2ResponseMPayload(BaseModel): """ Payload for GET /2/object/user/{pkiUserID} """ # noqa: E501 - obj_user: UserResponse = Field(description="A User Object and children to create a complete structure", alias="objUser") + obj_user: UserResponseCompound = Field(alias="objUser") __properties: ClassVar[List[str]] = ["objUser"] model_config = ConfigDict( @@ -85,7 +85,7 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: return cls.model_validate(obj) _obj = cls.model_validate({ - "objUser": UserResponse.from_dict(obj["objUser"]) if obj.get("objUser") is not None else None + "objUser": UserResponseCompound.from_dict(obj["objUser"]) if obj.get("objUser") is not None else None }) return _obj diff --git a/eZmaxApi/models/user_get_permissions_v1_response.py b/eZmaxApi/models/user_get_permissions_v1_response.py index c275b6879..ea379fff1 100644 --- a/eZmaxApi/models/user_get_permissions_v1_response.py +++ b/eZmaxApi/models/user_get_permissions_v1_response.py @@ -18,19 +18,20 @@ import re # noqa: F401 import json -from pydantic import ConfigDict, Field -from typing import Any, ClassVar, Dict, List -from eZmaxApi.models.common_response import CommonResponse +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List, Optional from eZmaxApi.models.common_response_obj_debug import CommonResponseObjDebug from eZmaxApi.models.common_response_obj_debug_payload import CommonResponseObjDebugPayload from eZmaxApi.models.user_get_permissions_v1_response_m_payload import UserGetPermissionsV1ResponseMPayload from typing import Optional, Set from typing_extensions import Self -class UserGetPermissionsV1Response(CommonResponse): +class UserGetPermissionsV1Response(BaseModel): """ Response for GET /1/object/user/{pkiUserID}/getPermissions """ # noqa: E501 + obj_debug_payload: CommonResponseObjDebugPayload = Field(alias="objDebugPayload") + obj_debug: Optional[CommonResponseObjDebug] = Field(default=None, alias="objDebug") m_payload: UserGetPermissionsV1ResponseMPayload = Field(alias="mPayload") __properties: ClassVar[List[str]] = ["objDebugPayload", "objDebug", "mPayload"] diff --git a/eZmaxApi/models/user_get_subnets_v1_response.py b/eZmaxApi/models/user_get_subnets_v1_response.py index fd64dd1a6..0e13a89a5 100644 --- a/eZmaxApi/models/user_get_subnets_v1_response.py +++ b/eZmaxApi/models/user_get_subnets_v1_response.py @@ -18,19 +18,20 @@ import re # noqa: F401 import json -from pydantic import ConfigDict, Field -from typing import Any, ClassVar, Dict, List -from eZmaxApi.models.common_response import CommonResponse +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List, Optional from eZmaxApi.models.common_response_obj_debug import CommonResponseObjDebug from eZmaxApi.models.common_response_obj_debug_payload import CommonResponseObjDebugPayload from eZmaxApi.models.user_get_subnets_v1_response_m_payload import UserGetSubnetsV1ResponseMPayload from typing import Optional, Set from typing_extensions import Self -class UserGetSubnetsV1Response(CommonResponse): +class UserGetSubnetsV1Response(BaseModel): """ Response for GET /1/object/user/{pkiUserID}/getSubnets """ # noqa: E501 + obj_debug_payload: CommonResponseObjDebugPayload = Field(alias="objDebugPayload") + obj_debug: Optional[CommonResponseObjDebug] = Field(default=None, alias="objDebug") m_payload: UserGetSubnetsV1ResponseMPayload = Field(alias="mPayload") __properties: ClassVar[List[str]] = ["objDebugPayload", "objDebug", "mPayload"] diff --git a/eZmaxApi/models/user_get_usergroupexternals_v1_response.py b/eZmaxApi/models/user_get_usergroupexternals_v1_response.py index 700d8d33f..a25fbc5db 100644 --- a/eZmaxApi/models/user_get_usergroupexternals_v1_response.py +++ b/eZmaxApi/models/user_get_usergroupexternals_v1_response.py @@ -18,19 +18,20 @@ import re # noqa: F401 import json -from pydantic import ConfigDict, Field -from typing import Any, ClassVar, Dict, List -from eZmaxApi.models.common_response import CommonResponse +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List, Optional from eZmaxApi.models.common_response_obj_debug import CommonResponseObjDebug from eZmaxApi.models.common_response_obj_debug_payload import CommonResponseObjDebugPayload from eZmaxApi.models.user_get_usergroupexternals_v1_response_m_payload import UserGetUsergroupexternalsV1ResponseMPayload from typing import Optional, Set from typing_extensions import Self -class UserGetUsergroupexternalsV1Response(CommonResponse): +class UserGetUsergroupexternalsV1Response(BaseModel): """ Response for GET /1/object/user/{pkiUserID}/getUsergroupexternals """ # noqa: E501 + obj_debug_payload: CommonResponseObjDebugPayload = Field(alias="objDebugPayload") + obj_debug: Optional[CommonResponseObjDebug] = Field(default=None, alias="objDebug") m_payload: UserGetUsergroupexternalsV1ResponseMPayload = Field(alias="mPayload") __properties: ClassVar[List[str]] = ["objDebugPayload", "objDebug", "mPayload"] diff --git a/eZmaxApi/models/user_get_usergroups_v1_response.py b/eZmaxApi/models/user_get_usergroups_v1_response.py index 6e2f9e96b..4a2141dce 100644 --- a/eZmaxApi/models/user_get_usergroups_v1_response.py +++ b/eZmaxApi/models/user_get_usergroups_v1_response.py @@ -18,19 +18,20 @@ import re # noqa: F401 import json -from pydantic import ConfigDict, Field -from typing import Any, ClassVar, Dict, List -from eZmaxApi.models.common_response import CommonResponse +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List, Optional from eZmaxApi.models.common_response_obj_debug import CommonResponseObjDebug from eZmaxApi.models.common_response_obj_debug_payload import CommonResponseObjDebugPayload from eZmaxApi.models.user_get_usergroups_v1_response_m_payload import UserGetUsergroupsV1ResponseMPayload from typing import Optional, Set from typing_extensions import Self -class UserGetUsergroupsV1Response(CommonResponse): +class UserGetUsergroupsV1Response(BaseModel): """ Response for GET /1/object/user/{pkiUserID}/getUsergroups """ # noqa: E501 + obj_debug_payload: CommonResponseObjDebugPayload = Field(alias="objDebugPayload") + obj_debug: Optional[CommonResponseObjDebug] = Field(default=None, alias="objDebug") m_payload: UserGetUsergroupsV1ResponseMPayload = Field(alias="mPayload") __properties: ClassVar[List[str]] = ["objDebugPayload", "objDebug", "mPayload"] diff --git a/eZmaxApi/models/user_request.py b/eZmaxApi/models/user_request.py index 7228ae4ca..7162b34fd 100644 --- a/eZmaxApi/models/user_request.py +++ b/eZmaxApi/models/user_request.py @@ -21,11 +21,11 @@ from pydantic import BaseModel, ConfigDict, Field, StrictBool, StrictStr, field_validator from typing import Any, ClassVar, Dict, List, Optional from typing_extensions import Annotated -from eZmaxApi.models.email_request import EmailRequest +from eZmaxApi.models.email_request_compound import EmailRequestCompound from eZmaxApi.models.field_e_user_ezsignaccess import FieldEUserEzsignaccess from eZmaxApi.models.field_e_user_logintype import FieldEUserLogintype from eZmaxApi.models.field_e_user_type import FieldEUserType -from eZmaxApi.models.phone_request import PhoneRequest +from eZmaxApi.models.phone_request_compound import PhoneRequestCompound from typing import Optional, Set from typing_extensions import Self @@ -42,10 +42,10 @@ class UserRequest(BaseModel): fki_department_id_default: Annotated[int, Field(strict=True, ge=0)] = Field(description="The unique ID of the Department", alias="fkiDepartmentIDDefault") fki_timezone_id: Annotated[int, Field(strict=True, ge=0)] = Field(description="The unique ID of the Timezone", alias="fkiTimezoneID") fki_language_id: Annotated[int, Field(le=2, strict=True, ge=1)] = Field(description="The unique ID of the Language. Valid values: |Value|Description| |-|-| |1|French| |2|English|", alias="fkiLanguageID") - obj_email: EmailRequest = Field(description="An Email Object and children to create a complete structure", alias="objEmail") + obj_email: EmailRequestCompound = Field(alias="objEmail") fki_billingentityinternal_id: Annotated[int, Field(strict=True, ge=0)] = Field(description="The unique ID of the Billingentityinternal.", alias="fkiBillingentityinternalID") - obj_phone_home: Optional[PhoneRequest] = Field(default=None, description="A Phone Object and children to create a complete structure", alias="objPhoneHome") - obj_phone_sms: Optional[PhoneRequest] = Field(default=None, description="A Phone Object and children to create a complete structure", alias="objPhoneSMS") + obj_phone_home: Optional[PhoneRequestCompound] = Field(default=None, alias="objPhoneHome") + obj_phone_sms: Optional[PhoneRequestCompound] = Field(default=None, alias="objPhoneSMS") fki_secretquestion_id: Optional[Annotated[int, Field(strict=True, ge=0)]] = Field(default=None, description="The unique ID of the Secretquestion. Valid values: |Value|Description| |-|-| |1|The name of the hospital in which you were born| |2|The name of your grade school| |3|The last name of your favorite teacher| |4|Your favorite sports team| |5|Your favorite TV show| |6|Your favorite movie| |7|The name of the street on which you grew up| |8|The name of your first employer| |9|Your first car| |10|Your favorite food| |11|The name of your first pet| |12|Favorite musician/band| |13|What instrument you play| |14|Your father's middle name| |15|Your mother's maiden name| |16|Name of your eldest child| |17|Your spouse's middle name| |18|Favorite restaurant| |19|Childhood nickname| |20|Favorite vacation destination| |21|Your boat's name| |22|Date of Birth (YYYY-MM-DD)| |22|Secret Code| |22|Your reference code|", alias="fkiSecretquestionID") s_user_secretresponse: Optional[StrictStr] = Field(default=None, description="The answer to the Secretquestion", alias="sUserSecretresponse") fki_module_id_form: Optional[Annotated[int, Field(strict=True, ge=0)]] = Field(default=None, description="The unique ID of the Module", alias="fkiModuleIDForm") @@ -131,7 +131,44 @@ def to_dict(self) -> Dict[str, Any]: return _dict @classmethod - def from_dict(cls, obj: Dict[str, Any]) -> Optional[Self]: + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: """Create an instance of UserRequest from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "pkiUserID": obj.get("pkiUserID"), + "fkiAgentID": obj.get("fkiAgentID"), + "fkiBrokerID": obj.get("fkiBrokerID"), + "fkiAssistantID": obj.get("fkiAssistantID"), + "fkiEmployeeID": obj.get("fkiEmployeeID"), + "fkiCompanyIDDefault": obj.get("fkiCompanyIDDefault"), + "fkiDepartmentIDDefault": obj.get("fkiDepartmentIDDefault"), + "fkiTimezoneID": obj.get("fkiTimezoneID"), + "fkiLanguageID": obj.get("fkiLanguageID"), + "objEmail": EmailRequestCompound.from_dict(obj["objEmail"]) if obj.get("objEmail") is not None else None, + "fkiBillingentityinternalID": obj.get("fkiBillingentityinternalID"), + "objPhoneHome": PhoneRequestCompound.from_dict(obj["objPhoneHome"]) if obj.get("objPhoneHome") is not None else None, + "objPhoneSMS": PhoneRequestCompound.from_dict(obj["objPhoneSMS"]) if obj.get("objPhoneSMS") is not None else None, + "fkiSecretquestionID": obj.get("fkiSecretquestionID"), + "sUserSecretresponse": obj.get("sUserSecretresponse"), + "fkiModuleIDForm": obj.get("fkiModuleIDForm"), + "eUserType": obj.get("eUserType"), + "eUserLogintype": obj.get("eUserLogintype"), + "sUserFirstname": obj.get("sUserFirstname"), + "sUserLastname": obj.get("sUserLastname"), + "sUserLoginname": obj.get("sUserLoginname"), + "sUserJobtitle": obj.get("sUserJobtitle"), + "eUserEzsignaccess": obj.get("eUserEzsignaccess"), + "bUserIsactive": obj.get("bUserIsactive"), + "bUserValidatebyadministration": obj.get("bUserValidatebyadministration"), + "bUserValidatebydirector": obj.get("bUserValidatebydirector"), + "bUserAttachmentautoverified": obj.get("bUserAttachmentautoverified"), + "bUserChangepassword": obj.get("bUserChangepassword") + }) + return _obj diff --git a/eZmaxApi/models/user_request_compound.py b/eZmaxApi/models/user_request_compound.py index 1d4a3edbd..a7022c856 100644 --- a/eZmaxApi/models/user_request_compound.py +++ b/eZmaxApi/models/user_request_compound.py @@ -18,23 +18,68 @@ import re # noqa: F401 import json -from pydantic import ConfigDict -from typing import Any, ClassVar, Dict, List -from eZmaxApi.models.email_request import EmailRequest +from pydantic import BaseModel, ConfigDict, Field, StrictBool, StrictStr, field_validator +from typing import Any, ClassVar, Dict, List, Optional +from typing_extensions import Annotated +from eZmaxApi.models.email_request_compound import EmailRequestCompound from eZmaxApi.models.field_e_user_ezsignaccess import FieldEUserEzsignaccess from eZmaxApi.models.field_e_user_logintype import FieldEUserLogintype from eZmaxApi.models.field_e_user_type import FieldEUserType -from eZmaxApi.models.phone_request import PhoneRequest -from eZmaxApi.models.user_request import UserRequest +from eZmaxApi.models.phone_request_compound import PhoneRequestCompound from typing import Optional, Set from typing_extensions import Self -class UserRequestCompound(UserRequest): +class UserRequestCompound(BaseModel): """ A User Object and children """ # noqa: E501 + pki_user_id: Optional[Annotated[int, Field(strict=True, ge=0)]] = Field(default=None, description="The unique ID of the User", alias="pkiUserID") + fki_agent_id: Optional[Annotated[int, Field(strict=True, ge=0)]] = Field(default=None, description="The unique ID of the Agent.", alias="fkiAgentID") + fki_broker_id: Optional[Annotated[int, Field(strict=True, ge=0)]] = Field(default=None, description="The unique ID of the Broker.", alias="fkiBrokerID") + fki_assistant_id: Optional[Annotated[int, Field(strict=True, ge=0)]] = Field(default=None, description="The unique ID of the Assistant.", alias="fkiAssistantID") + fki_employee_id: Optional[Annotated[int, Field(strict=True, ge=0)]] = Field(default=None, description="The unique ID of the Employee.", alias="fkiEmployeeID") + fki_company_id_default: Annotated[int, Field(le=255, strict=True, ge=1)] = Field(description="The unique ID of the Company", alias="fkiCompanyIDDefault") + fki_department_id_default: Annotated[int, Field(strict=True, ge=0)] = Field(description="The unique ID of the Department", alias="fkiDepartmentIDDefault") + fki_timezone_id: Annotated[int, Field(strict=True, ge=0)] = Field(description="The unique ID of the Timezone", alias="fkiTimezoneID") + fki_language_id: Annotated[int, Field(le=2, strict=True, ge=1)] = Field(description="The unique ID of the Language. Valid values: |Value|Description| |-|-| |1|French| |2|English|", alias="fkiLanguageID") + obj_email: EmailRequestCompound = Field(alias="objEmail") + fki_billingentityinternal_id: Annotated[int, Field(strict=True, ge=0)] = Field(description="The unique ID of the Billingentityinternal.", alias="fkiBillingentityinternalID") + obj_phone_home: Optional[PhoneRequestCompound] = Field(default=None, alias="objPhoneHome") + obj_phone_sms: Optional[PhoneRequestCompound] = Field(default=None, alias="objPhoneSMS") + fki_secretquestion_id: Optional[Annotated[int, Field(strict=True, ge=0)]] = Field(default=None, description="The unique ID of the Secretquestion. Valid values: |Value|Description| |-|-| |1|The name of the hospital in which you were born| |2|The name of your grade school| |3|The last name of your favorite teacher| |4|Your favorite sports team| |5|Your favorite TV show| |6|Your favorite movie| |7|The name of the street on which you grew up| |8|The name of your first employer| |9|Your first car| |10|Your favorite food| |11|The name of your first pet| |12|Favorite musician/band| |13|What instrument you play| |14|Your father's middle name| |15|Your mother's maiden name| |16|Name of your eldest child| |17|Your spouse's middle name| |18|Favorite restaurant| |19|Childhood nickname| |20|Favorite vacation destination| |21|Your boat's name| |22|Date of Birth (YYYY-MM-DD)| |22|Secret Code| |22|Your reference code|", alias="fkiSecretquestionID") + s_user_secretresponse: Optional[StrictStr] = Field(default=None, description="The answer to the Secretquestion", alias="sUserSecretresponse") + fki_module_id_form: Optional[Annotated[int, Field(strict=True, ge=0)]] = Field(default=None, description="The unique ID of the Module", alias="fkiModuleIDForm") + e_user_type: FieldEUserType = Field(alias="eUserType") + e_user_logintype: FieldEUserLogintype = Field(alias="eUserLogintype") + s_user_firstname: StrictStr = Field(description="The first name of the user", alias="sUserFirstname") + s_user_lastname: StrictStr = Field(description="The last name of the user", alias="sUserLastname") + s_user_loginname: Annotated[str, Field(strict=True)] = Field(description="The login name of the User.", alias="sUserLoginname") + s_user_jobtitle: Optional[Annotated[str, Field(strict=True)]] = Field(default=None, description="The job title of the user", alias="sUserJobtitle") + e_user_ezsignaccess: FieldEUserEzsignaccess = Field(alias="eUserEzsignaccess") + b_user_isactive: StrictBool = Field(description="Whether the User is active or not", alias="bUserIsactive") + b_user_validatebyadministration: Optional[StrictBool] = Field(default=None, description="Whether if the transactions in which the User is implicated must be validated by administrative personnel or not", alias="bUserValidatebyadministration") + b_user_validatebydirector: Optional[StrictBool] = Field(default=None, description="Whether if the transactions in which the User is implicated must be validated by a director or not", alias="bUserValidatebydirector") + b_user_attachmentautoverified: Optional[StrictBool] = Field(default=None, description="Whether if Attachments uploaded by the User must be validated or not", alias="bUserAttachmentautoverified") + b_user_changepassword: Optional[StrictBool] = Field(default=None, description="Whether if the User is forced to change its password", alias="bUserChangepassword") __properties: ClassVar[List[str]] = ["pkiUserID", "fkiAgentID", "fkiBrokerID", "fkiAssistantID", "fkiEmployeeID", "fkiCompanyIDDefault", "fkiDepartmentIDDefault", "fkiTimezoneID", "fkiLanguageID", "objEmail", "fkiBillingentityinternalID", "objPhoneHome", "objPhoneSMS", "fkiSecretquestionID", "sUserSecretresponse", "fkiModuleIDForm", "eUserType", "eUserLogintype", "sUserFirstname", "sUserLastname", "sUserLoginname", "sUserJobtitle", "eUserEzsignaccess", "bUserIsactive", "bUserValidatebyadministration", "bUserValidatebydirector", "bUserAttachmentautoverified", "bUserChangepassword"] + @field_validator('s_user_loginname') + def s_user_loginname_validate_regular_expression(cls, value): + """Validates the regular expression""" + if not re.match(r"^(?:([\w.%+\-!#$%&\'*+\/=?^`{|}~]+@[a-zA-Z0-9.-]+\.[a-zA-Z]{2,20})|([a-zA-Z0-9]){1,32})$", value): + raise ValueError(r"must validate the regular expression /^(?:([\w.%+\-!#$%&'*+\/=?^`{|}~]+@[a-zA-Z0-9.-]+\.[a-zA-Z]{2,20})|([a-zA-Z0-9]){1,32})$/") + return value + + @field_validator('s_user_jobtitle') + def s_user_jobtitle_validate_regular_expression(cls, value): + """Validates the regular expression""" + if value is None: + return value + + if not re.match(r"^.{0,50}$", value): + raise ValueError(r"must validate the regular expression /^.{0,50}$/") + return value + model_config = ConfigDict( populate_by_name=True, validate_assignment=True, @@ -104,10 +149,10 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: "fkiDepartmentIDDefault": obj.get("fkiDepartmentIDDefault"), "fkiTimezoneID": obj.get("fkiTimezoneID"), "fkiLanguageID": obj.get("fkiLanguageID"), - "objEmail": EmailRequest.from_dict(obj["objEmail"]) if obj.get("objEmail") is not None else None, + "objEmail": EmailRequestCompound.from_dict(obj["objEmail"]) if obj.get("objEmail") is not None else None, "fkiBillingentityinternalID": obj.get("fkiBillingentityinternalID"), - "objPhoneHome": PhoneRequest.from_dict(obj["objPhoneHome"]) if obj.get("objPhoneHome") is not None else None, - "objPhoneSMS": PhoneRequest.from_dict(obj["objPhoneSMS"]) if obj.get("objPhoneSMS") is not None else None, + "objPhoneHome": PhoneRequestCompound.from_dict(obj["objPhoneHome"]) if obj.get("objPhoneHome") is not None else None, + "objPhoneSMS": PhoneRequestCompound.from_dict(obj["objPhoneSMS"]) if obj.get("objPhoneSMS") is not None else None, "fkiSecretquestionID": obj.get("fkiSecretquestionID"), "sUserSecretresponse": obj.get("sUserSecretresponse"), "fkiModuleIDForm": obj.get("fkiModuleIDForm"), diff --git a/eZmaxApi/models/user_request_compound_v2.py b/eZmaxApi/models/user_request_compound_v2.py index 26efb7789..125fa8971 100644 --- a/eZmaxApi/models/user_request_compound_v2.py +++ b/eZmaxApi/models/user_request_compound_v2.py @@ -18,23 +18,68 @@ import re # noqa: F401 import json -from pydantic import ConfigDict -from typing import Any, ClassVar, Dict, List -from eZmaxApi.models.email_request import EmailRequest +from pydantic import BaseModel, ConfigDict, Field, StrictBool, StrictStr, field_validator +from typing import Any, ClassVar, Dict, List, Optional +from typing_extensions import Annotated +from eZmaxApi.models.email_request_compound import EmailRequestCompound from eZmaxApi.models.field_e_user_ezsignaccess import FieldEUserEzsignaccess from eZmaxApi.models.field_e_user_logintype import FieldEUserLogintype from eZmaxApi.models.field_e_user_type import FieldEUserType -from eZmaxApi.models.phone_request_v2 import PhoneRequestV2 -from eZmaxApi.models.user_request_v2 import UserRequestV2 +from eZmaxApi.models.phone_request_compound_v2 import PhoneRequestCompoundV2 from typing import Optional, Set from typing_extensions import Self -class UserRequestCompoundV2(UserRequestV2): +class UserRequestCompoundV2(BaseModel): """ A User Object and children """ # noqa: E501 + pki_user_id: Optional[Annotated[int, Field(strict=True, ge=0)]] = Field(default=None, description="The unique ID of the User", alias="pkiUserID") + fki_agent_id: Optional[Annotated[int, Field(strict=True, ge=0)]] = Field(default=None, description="The unique ID of the Agent.", alias="fkiAgentID") + fki_broker_id: Optional[Annotated[int, Field(strict=True, ge=0)]] = Field(default=None, description="The unique ID of the Broker.", alias="fkiBrokerID") + fki_assistant_id: Optional[Annotated[int, Field(strict=True, ge=0)]] = Field(default=None, description="The unique ID of the Assistant.", alias="fkiAssistantID") + fki_employee_id: Optional[Annotated[int, Field(strict=True, ge=0)]] = Field(default=None, description="The unique ID of the Employee.", alias="fkiEmployeeID") + fki_company_id_default: Annotated[int, Field(le=255, strict=True, ge=1)] = Field(description="The unique ID of the Company", alias="fkiCompanyIDDefault") + fki_department_id_default: Annotated[int, Field(strict=True, ge=0)] = Field(description="The unique ID of the Department", alias="fkiDepartmentIDDefault") + fki_timezone_id: Annotated[int, Field(strict=True, ge=0)] = Field(description="The unique ID of the Timezone", alias="fkiTimezoneID") + fki_language_id: Annotated[int, Field(le=2, strict=True, ge=1)] = Field(description="The unique ID of the Language. Valid values: |Value|Description| |-|-| |1|French| |2|English|", alias="fkiLanguageID") + obj_email: EmailRequestCompound = Field(alias="objEmail") + fki_billingentityinternal_id: Annotated[int, Field(strict=True, ge=0)] = Field(description="The unique ID of the Billingentityinternal.", alias="fkiBillingentityinternalID") + obj_phone_home: Optional[PhoneRequestCompoundV2] = Field(default=None, alias="objPhoneHome") + obj_phone_sms: Optional[PhoneRequestCompoundV2] = Field(default=None, alias="objPhoneSMS") + fki_secretquestion_id: Optional[Annotated[int, Field(strict=True, ge=0)]] = Field(default=None, description="The unique ID of the Secretquestion. Valid values: |Value|Description| |-|-| |1|The name of the hospital in which you were born| |2|The name of your grade school| |3|The last name of your favorite teacher| |4|Your favorite sports team| |5|Your favorite TV show| |6|Your favorite movie| |7|The name of the street on which you grew up| |8|The name of your first employer| |9|Your first car| |10|Your favorite food| |11|The name of your first pet| |12|Favorite musician/band| |13|What instrument you play| |14|Your father's middle name| |15|Your mother's maiden name| |16|Name of your eldest child| |17|Your spouse's middle name| |18|Favorite restaurant| |19|Childhood nickname| |20|Favorite vacation destination| |21|Your boat's name| |22|Date of Birth (YYYY-MM-DD)| |22|Secret Code| |22|Your reference code|", alias="fkiSecretquestionID") + s_user_secretresponse: Optional[StrictStr] = Field(default=None, description="The answer to the Secretquestion", alias="sUserSecretresponse") + fki_module_id_form: Optional[Annotated[int, Field(strict=True, ge=0)]] = Field(default=None, description="The unique ID of the Module", alias="fkiModuleIDForm") + e_user_type: FieldEUserType = Field(alias="eUserType") + e_user_logintype: FieldEUserLogintype = Field(alias="eUserLogintype") + s_user_firstname: StrictStr = Field(description="The first name of the user", alias="sUserFirstname") + s_user_lastname: StrictStr = Field(description="The last name of the user", alias="sUserLastname") + s_user_loginname: Annotated[str, Field(strict=True)] = Field(description="The login name of the User.", alias="sUserLoginname") + s_user_jobtitle: Optional[Annotated[str, Field(strict=True)]] = Field(default=None, description="The job title of the user", alias="sUserJobtitle") + e_user_ezsignaccess: FieldEUserEzsignaccess = Field(alias="eUserEzsignaccess") + b_user_isactive: StrictBool = Field(description="Whether the User is active or not", alias="bUserIsactive") + b_user_validatebyadministration: Optional[StrictBool] = Field(default=None, description="Whether if the transactions in which the User is implicated must be validated by administrative personnel or not", alias="bUserValidatebyadministration") + b_user_validatebydirector: Optional[StrictBool] = Field(default=None, description="Whether if the transactions in which the User is implicated must be validated by a director or not", alias="bUserValidatebydirector") + b_user_attachmentautoverified: Optional[StrictBool] = Field(default=None, description="Whether if Attachments uploaded by the User must be validated or not", alias="bUserAttachmentautoverified") + b_user_changepassword: Optional[StrictBool] = Field(default=None, description="Whether if the User is forced to change its password", alias="bUserChangepassword") __properties: ClassVar[List[str]] = ["pkiUserID", "fkiAgentID", "fkiBrokerID", "fkiAssistantID", "fkiEmployeeID", "fkiCompanyIDDefault", "fkiDepartmentIDDefault", "fkiTimezoneID", "fkiLanguageID", "objEmail", "fkiBillingentityinternalID", "objPhoneHome", "objPhoneSMS", "fkiSecretquestionID", "sUserSecretresponse", "fkiModuleIDForm", "eUserType", "eUserLogintype", "sUserFirstname", "sUserLastname", "sUserLoginname", "sUserJobtitle", "eUserEzsignaccess", "bUserIsactive", "bUserValidatebyadministration", "bUserValidatebydirector", "bUserAttachmentautoverified", "bUserChangepassword"] + @field_validator('s_user_loginname') + def s_user_loginname_validate_regular_expression(cls, value): + """Validates the regular expression""" + if not re.match(r"^(?:([\w.%+\-!#$%&\'*+\/=?^`{|}~]+@[a-zA-Z0-9.-]+\.[a-zA-Z]{2,20})|([a-zA-Z0-9]){1,32})$", value): + raise ValueError(r"must validate the regular expression /^(?:([\w.%+\-!#$%&'*+\/=?^`{|}~]+@[a-zA-Z0-9.-]+\.[a-zA-Z]{2,20})|([a-zA-Z0-9]){1,32})$/") + return value + + @field_validator('s_user_jobtitle') + def s_user_jobtitle_validate_regular_expression(cls, value): + """Validates the regular expression""" + if value is None: + return value + + if not re.match(r"^.{0,50}$", value): + raise ValueError(r"must validate the regular expression /^.{0,50}$/") + return value + model_config = ConfigDict( populate_by_name=True, validate_assignment=True, @@ -104,10 +149,10 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: "fkiDepartmentIDDefault": obj.get("fkiDepartmentIDDefault"), "fkiTimezoneID": obj.get("fkiTimezoneID"), "fkiLanguageID": obj.get("fkiLanguageID"), - "objEmail": EmailRequest.from_dict(obj["objEmail"]) if obj.get("objEmail") is not None else None, + "objEmail": EmailRequestCompound.from_dict(obj["objEmail"]) if obj.get("objEmail") is not None else None, "fkiBillingentityinternalID": obj.get("fkiBillingentityinternalID"), - "objPhoneHome": PhoneRequestV2.from_dict(obj["objPhoneHome"]) if obj.get("objPhoneHome") is not None else None, - "objPhoneSMS": PhoneRequestV2.from_dict(obj["objPhoneSMS"]) if obj.get("objPhoneSMS") is not None else None, + "objPhoneHome": PhoneRequestCompoundV2.from_dict(obj["objPhoneHome"]) if obj.get("objPhoneHome") is not None else None, + "objPhoneSMS": PhoneRequestCompoundV2.from_dict(obj["objPhoneSMS"]) if obj.get("objPhoneSMS") is not None else None, "fkiSecretquestionID": obj.get("fkiSecretquestionID"), "sUserSecretresponse": obj.get("sUserSecretresponse"), "fkiModuleIDForm": obj.get("fkiModuleIDForm"), diff --git a/eZmaxApi/models/user_request_v2.py b/eZmaxApi/models/user_request_v2.py index 08f275c7a..9b2ac53cf 100644 --- a/eZmaxApi/models/user_request_v2.py +++ b/eZmaxApi/models/user_request_v2.py @@ -21,11 +21,11 @@ from pydantic import BaseModel, ConfigDict, Field, StrictBool, StrictStr, field_validator from typing import Any, ClassVar, Dict, List, Optional from typing_extensions import Annotated -from eZmaxApi.models.email_request import EmailRequest +from eZmaxApi.models.email_request_compound import EmailRequestCompound from eZmaxApi.models.field_e_user_ezsignaccess import FieldEUserEzsignaccess from eZmaxApi.models.field_e_user_logintype import FieldEUserLogintype from eZmaxApi.models.field_e_user_type import FieldEUserType -from eZmaxApi.models.phone_request_v2 import PhoneRequestV2 +from eZmaxApi.models.phone_request_compound_v2 import PhoneRequestCompoundV2 from typing import Optional, Set from typing_extensions import Self @@ -42,10 +42,10 @@ class UserRequestV2(BaseModel): fki_department_id_default: Annotated[int, Field(strict=True, ge=0)] = Field(description="The unique ID of the Department", alias="fkiDepartmentIDDefault") fki_timezone_id: Annotated[int, Field(strict=True, ge=0)] = Field(description="The unique ID of the Timezone", alias="fkiTimezoneID") fki_language_id: Annotated[int, Field(le=2, strict=True, ge=1)] = Field(description="The unique ID of the Language. Valid values: |Value|Description| |-|-| |1|French| |2|English|", alias="fkiLanguageID") - obj_email: EmailRequest = Field(description="An Email Object and children to create a complete structure", alias="objEmail") + obj_email: EmailRequestCompound = Field(alias="objEmail") fki_billingentityinternal_id: Annotated[int, Field(strict=True, ge=0)] = Field(description="The unique ID of the Billingentityinternal.", alias="fkiBillingentityinternalID") - obj_phone_home: Optional[PhoneRequestV2] = Field(default=None, description="A Phone Object and children to create a complete structure", alias="objPhoneHome") - obj_phone_sms: Optional[PhoneRequestV2] = Field(default=None, description="A Phone Object and children to create a complete structure", alias="objPhoneSMS") + obj_phone_home: Optional[PhoneRequestCompoundV2] = Field(default=None, alias="objPhoneHome") + obj_phone_sms: Optional[PhoneRequestCompoundV2] = Field(default=None, alias="objPhoneSMS") fki_secretquestion_id: Optional[Annotated[int, Field(strict=True, ge=0)]] = Field(default=None, description="The unique ID of the Secretquestion. Valid values: |Value|Description| |-|-| |1|The name of the hospital in which you were born| |2|The name of your grade school| |3|The last name of your favorite teacher| |4|Your favorite sports team| |5|Your favorite TV show| |6|Your favorite movie| |7|The name of the street on which you grew up| |8|The name of your first employer| |9|Your first car| |10|Your favorite food| |11|The name of your first pet| |12|Favorite musician/band| |13|What instrument you play| |14|Your father's middle name| |15|Your mother's maiden name| |16|Name of your eldest child| |17|Your spouse's middle name| |18|Favorite restaurant| |19|Childhood nickname| |20|Favorite vacation destination| |21|Your boat's name| |22|Date of Birth (YYYY-MM-DD)| |22|Secret Code| |22|Your reference code|", alias="fkiSecretquestionID") s_user_secretresponse: Optional[StrictStr] = Field(default=None, description="The answer to the Secretquestion", alias="sUserSecretresponse") fki_module_id_form: Optional[Annotated[int, Field(strict=True, ge=0)]] = Field(default=None, description="The unique ID of the Module", alias="fkiModuleIDForm") @@ -131,7 +131,44 @@ def to_dict(self) -> Dict[str, Any]: return _dict @classmethod - def from_dict(cls, obj: Dict[str, Any]) -> Optional[Self]: + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: """Create an instance of UserRequestV2 from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "pkiUserID": obj.get("pkiUserID"), + "fkiAgentID": obj.get("fkiAgentID"), + "fkiBrokerID": obj.get("fkiBrokerID"), + "fkiAssistantID": obj.get("fkiAssistantID"), + "fkiEmployeeID": obj.get("fkiEmployeeID"), + "fkiCompanyIDDefault": obj.get("fkiCompanyIDDefault"), + "fkiDepartmentIDDefault": obj.get("fkiDepartmentIDDefault"), + "fkiTimezoneID": obj.get("fkiTimezoneID"), + "fkiLanguageID": obj.get("fkiLanguageID"), + "objEmail": EmailRequestCompound.from_dict(obj["objEmail"]) if obj.get("objEmail") is not None else None, + "fkiBillingentityinternalID": obj.get("fkiBillingentityinternalID"), + "objPhoneHome": PhoneRequestCompoundV2.from_dict(obj["objPhoneHome"]) if obj.get("objPhoneHome") is not None else None, + "objPhoneSMS": PhoneRequestCompoundV2.from_dict(obj["objPhoneSMS"]) if obj.get("objPhoneSMS") is not None else None, + "fkiSecretquestionID": obj.get("fkiSecretquestionID"), + "sUserSecretresponse": obj.get("sUserSecretresponse"), + "fkiModuleIDForm": obj.get("fkiModuleIDForm"), + "eUserType": obj.get("eUserType"), + "eUserLogintype": obj.get("eUserLogintype"), + "sUserFirstname": obj.get("sUserFirstname"), + "sUserLastname": obj.get("sUserLastname"), + "sUserLoginname": obj.get("sUserLoginname"), + "sUserJobtitle": obj.get("sUserJobtitle"), + "eUserEzsignaccess": obj.get("eUserEzsignaccess"), + "bUserIsactive": obj.get("bUserIsactive"), + "bUserValidatebyadministration": obj.get("bUserValidatebyadministration"), + "bUserValidatebydirector": obj.get("bUserValidatebydirector"), + "bUserAttachmentautoverified": obj.get("bUserAttachmentautoverified"), + "bUserChangepassword": obj.get("bUserChangepassword") + }) + return _obj diff --git a/eZmaxApi/models/user_response.py b/eZmaxApi/models/user_response.py index cd1ece156..e763d1cba 100644 --- a/eZmaxApi/models/user_response.py +++ b/eZmaxApi/models/user_response.py @@ -22,7 +22,7 @@ from typing import Any, ClassVar, Dict, List, Optional from typing_extensions import Annotated from eZmaxApi.models.common_audit import CommonAudit -from eZmaxApi.models.email_response import EmailResponse +from eZmaxApi.models.email_response_compound import EmailResponseCompound from eZmaxApi.models.field_e_user_ezsignaccess import FieldEUserEzsignaccess from eZmaxApi.models.field_e_user_logintype import FieldEUserLogintype from eZmaxApi.models.field_e_user_origin import FieldEUserOrigin @@ -48,7 +48,7 @@ class UserResponse(BaseModel): s_timezone_name: StrictStr = Field(description="The description of the Timezone", alias="sTimezoneName") fki_language_id: Annotated[int, Field(le=2, strict=True, ge=1)] = Field(description="The unique ID of the Language. Valid values: |Value|Description| |-|-| |1|French| |2|English|", alias="fkiLanguageID") s_language_name_x: StrictStr = Field(description="The Name of the Language in the language of the requester", alias="sLanguageNameX") - obj_email: EmailResponse = Field(description="An Email Object and children to create a complete structure", alias="objEmail") + obj_email: EmailResponseCompound = Field(alias="objEmail") fki_billingentityinternal_id: Annotated[int, Field(strict=True, ge=0)] = Field(description="The unique ID of the Billingentityinternal.", alias="fkiBillingentityinternalID") s_billingentityinternal_description_x: StrictStr = Field(description="The description of the Billingentityinternal in the language of the requester", alias="sBillingentityinternalDescriptionX") obj_phone_home: Optional[PhoneResponseCompound] = Field(default=None, alias="objPhoneHome") @@ -198,7 +198,7 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: "sTimezoneName": obj.get("sTimezoneName"), "fkiLanguageID": obj.get("fkiLanguageID"), "sLanguageNameX": obj.get("sLanguageNameX"), - "objEmail": EmailResponse.from_dict(obj["objEmail"]) if obj.get("objEmail") is not None else None, + "objEmail": EmailResponseCompound.from_dict(obj["objEmail"]) if obj.get("objEmail") is not None else None, "fkiBillingentityinternalID": obj.get("fkiBillingentityinternalID"), "sBillingentityinternalDescriptionX": obj.get("sBillingentityinternalDescriptionX"), "objPhoneHome": PhoneResponseCompound.from_dict(obj["objPhoneHome"]) if obj.get("objPhoneHome") is not None else None, diff --git a/eZmaxApi/models/user_response_compound.py b/eZmaxApi/models/user_response_compound.py index 9b20cb07b..d950deb39 100644 --- a/eZmaxApi/models/user_response_compound.py +++ b/eZmaxApi/models/user_response_compound.py @@ -22,7 +22,7 @@ from typing import Any, ClassVar, Dict, List, Optional from typing_extensions import Annotated from eZmaxApi.models.common_audit import CommonAudit -from eZmaxApi.models.email_response import EmailResponse +from eZmaxApi.models.email_response_compound import EmailResponseCompound from eZmaxApi.models.field_e_user_ezsignaccess import FieldEUserEzsignaccess from eZmaxApi.models.field_e_user_logintype import FieldEUserLogintype from eZmaxApi.models.field_e_user_origin import FieldEUserOrigin @@ -48,7 +48,7 @@ class UserResponseCompound(BaseModel): s_timezone_name: StrictStr = Field(description="The description of the Timezone", alias="sTimezoneName") fki_language_id: Annotated[int, Field(le=2, strict=True, ge=1)] = Field(description="The unique ID of the Language. Valid values: |Value|Description| |-|-| |1|French| |2|English|", alias="fkiLanguageID") s_language_name_x: StrictStr = Field(description="The Name of the Language in the language of the requester", alias="sLanguageNameX") - obj_email: EmailResponse = Field(description="An Email Object and children to create a complete structure", alias="objEmail") + obj_email: EmailResponseCompound = Field(alias="objEmail") fki_billingentityinternal_id: Annotated[int, Field(strict=True, ge=0)] = Field(description="The unique ID of the Billingentityinternal.", alias="fkiBillingentityinternalID") s_billingentityinternal_description_x: StrictStr = Field(description="The description of the Billingentityinternal in the language of the requester", alias="sBillingentityinternalDescriptionX") obj_phone_home: Optional[PhoneResponseCompound] = Field(default=None, alias="objPhoneHome") @@ -198,7 +198,7 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: "sTimezoneName": obj.get("sTimezoneName"), "fkiLanguageID": obj.get("fkiLanguageID"), "sLanguageNameX": obj.get("sLanguageNameX"), - "objEmail": EmailResponse.from_dict(obj["objEmail"]) if obj.get("objEmail") is not None else None, + "objEmail": EmailResponseCompound.from_dict(obj["objEmail"]) if obj.get("objEmail") is not None else None, "fkiBillingentityinternalID": obj.get("fkiBillingentityinternalID"), "sBillingentityinternalDescriptionX": obj.get("sBillingentityinternalDescriptionX"), "objPhoneHome": PhoneResponseCompound.from_dict(obj["objPhoneHome"]) if obj.get("objPhoneHome") is not None else None, diff --git a/eZmaxApi/models/user_send_password_reset_v1_response.py b/eZmaxApi/models/user_send_password_reset_v1_response.py index 8d675458d..3ab72214e 100644 --- a/eZmaxApi/models/user_send_password_reset_v1_response.py +++ b/eZmaxApi/models/user_send_password_reset_v1_response.py @@ -18,18 +18,19 @@ import re # noqa: F401 import json -from pydantic import ConfigDict -from typing import Any, ClassVar, Dict, List -from eZmaxApi.models.common_response import CommonResponse +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List, Optional from eZmaxApi.models.common_response_obj_debug import CommonResponseObjDebug from eZmaxApi.models.common_response_obj_debug_payload import CommonResponseObjDebugPayload from typing import Optional, Set from typing_extensions import Self -class UserSendPasswordResetV1Response(CommonResponse): +class UserSendPasswordResetV1Response(BaseModel): """ Response for POST /1/object/user/{pkiUserID}/sendPasswordReset """ # noqa: E501 + obj_debug_payload: CommonResponseObjDebugPayload = Field(alias="objDebugPayload") + obj_debug: Optional[CommonResponseObjDebug] = Field(default=None, alias="objDebug") __properties: ClassVar[List[str]] = ["objDebugPayload", "objDebug"] model_config = ConfigDict( diff --git a/eZmaxApi/models/usergroup_create_object_v1_response.py b/eZmaxApi/models/usergroup_create_object_v1_response.py index 1d4f53992..3f8bc91a6 100644 --- a/eZmaxApi/models/usergroup_create_object_v1_response.py +++ b/eZmaxApi/models/usergroup_create_object_v1_response.py @@ -18,19 +18,20 @@ import re # noqa: F401 import json -from pydantic import ConfigDict, Field -from typing import Any, ClassVar, Dict, List -from eZmaxApi.models.common_response import CommonResponse +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List, Optional from eZmaxApi.models.common_response_obj_debug import CommonResponseObjDebug from eZmaxApi.models.common_response_obj_debug_payload import CommonResponseObjDebugPayload from eZmaxApi.models.usergroup_create_object_v1_response_m_payload import UsergroupCreateObjectV1ResponseMPayload from typing import Optional, Set from typing_extensions import Self -class UsergroupCreateObjectV1Response(CommonResponse): +class UsergroupCreateObjectV1Response(BaseModel): """ Response for POST /1/object/usergroup """ # noqa: E501 + obj_debug_payload: CommonResponseObjDebugPayload = Field(alias="objDebugPayload") + obj_debug: Optional[CommonResponseObjDebug] = Field(default=None, alias="objDebug") m_payload: UsergroupCreateObjectV1ResponseMPayload = Field(alias="mPayload") __properties: ClassVar[List[str]] = ["objDebugPayload", "objDebug", "mPayload"] diff --git a/eZmaxApi/models/usergroup_edit_object_v1_response.py b/eZmaxApi/models/usergroup_edit_object_v1_response.py index 29597ba4e..2375550ff 100644 --- a/eZmaxApi/models/usergroup_edit_object_v1_response.py +++ b/eZmaxApi/models/usergroup_edit_object_v1_response.py @@ -18,18 +18,19 @@ import re # noqa: F401 import json -from pydantic import ConfigDict -from typing import Any, ClassVar, Dict, List -from eZmaxApi.models.common_response import CommonResponse +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List, Optional from eZmaxApi.models.common_response_obj_debug import CommonResponseObjDebug from eZmaxApi.models.common_response_obj_debug_payload import CommonResponseObjDebugPayload from typing import Optional, Set from typing_extensions import Self -class UsergroupEditObjectV1Response(CommonResponse): +class UsergroupEditObjectV1Response(BaseModel): """ Response for PUT /1/object/usergroup/{pkiUsergroupID} """ # noqa: E501 + obj_debug_payload: CommonResponseObjDebugPayload = Field(alias="objDebugPayload") + obj_debug: Optional[CommonResponseObjDebug] = Field(default=None, alias="objDebug") __properties: ClassVar[List[str]] = ["objDebugPayload", "objDebug"] model_config = ConfigDict( diff --git a/eZmaxApi/models/usergroup_edit_permissions_v1_request.py b/eZmaxApi/models/usergroup_edit_permissions_v1_request.py index f1cd7efd7..6a6d61e13 100644 --- a/eZmaxApi/models/usergroup_edit_permissions_v1_request.py +++ b/eZmaxApi/models/usergroup_edit_permissions_v1_request.py @@ -20,7 +20,7 @@ from pydantic import BaseModel, ConfigDict, Field from typing import Any, ClassVar, Dict, List -from eZmaxApi.models.permission_request import PermissionRequest +from eZmaxApi.models.permission_request_compound import PermissionRequestCompound from typing import Optional, Set from typing_extensions import Self @@ -28,7 +28,7 @@ class UsergroupEditPermissionsV1Request(BaseModel): """ Request for PUT /1/object/usergroup/{pkiUsergroupID}/editPermissions """ # noqa: E501 - a_obj_permission: List[PermissionRequest] = Field(alias="a_objPermission") + a_obj_permission: List[PermissionRequestCompound] = Field(alias="a_objPermission") __properties: ClassVar[List[str]] = ["a_objPermission"] model_config = ConfigDict( @@ -89,7 +89,7 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: return cls.model_validate(obj) _obj = cls.model_validate({ - "a_objPermission": [PermissionRequest.from_dict(_item) for _item in obj["a_objPermission"]] if obj.get("a_objPermission") is not None else None + "a_objPermission": [PermissionRequestCompound.from_dict(_item) for _item in obj["a_objPermission"]] if obj.get("a_objPermission") is not None else None }) return _obj diff --git a/eZmaxApi/models/usergroup_edit_permissions_v1_response.py b/eZmaxApi/models/usergroup_edit_permissions_v1_response.py index aaed9ecc7..f8fca30a3 100644 --- a/eZmaxApi/models/usergroup_edit_permissions_v1_response.py +++ b/eZmaxApi/models/usergroup_edit_permissions_v1_response.py @@ -18,19 +18,20 @@ import re # noqa: F401 import json -from pydantic import ConfigDict, Field -from typing import Any, ClassVar, Dict, List -from eZmaxApi.models.common_response import CommonResponse +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List, Optional from eZmaxApi.models.common_response_obj_debug import CommonResponseObjDebug from eZmaxApi.models.common_response_obj_debug_payload import CommonResponseObjDebugPayload from eZmaxApi.models.usergroup_edit_permissions_v1_response_m_payload import UsergroupEditPermissionsV1ResponseMPayload from typing import Optional, Set from typing_extensions import Self -class UsergroupEditPermissionsV1Response(CommonResponse): +class UsergroupEditPermissionsV1Response(BaseModel): """ Response for PUT /1/object/usergroup/{pkiUsergroupID}/editPermissions """ # noqa: E501 + obj_debug_payload: CommonResponseObjDebugPayload = Field(alias="objDebugPayload") + obj_debug: Optional[CommonResponseObjDebug] = Field(default=None, alias="objDebug") m_payload: UsergroupEditPermissionsV1ResponseMPayload = Field(alias="mPayload") __properties: ClassVar[List[str]] = ["objDebugPayload", "objDebug", "mPayload"] diff --git a/eZmaxApi/models/usergroup_edit_usergroupdelegations_v1_response.py b/eZmaxApi/models/usergroup_edit_usergroupdelegations_v1_response.py index 44afec02d..ba43408ff 100644 --- a/eZmaxApi/models/usergroup_edit_usergroupdelegations_v1_response.py +++ b/eZmaxApi/models/usergroup_edit_usergroupdelegations_v1_response.py @@ -18,19 +18,20 @@ import re # noqa: F401 import json -from pydantic import ConfigDict, Field -from typing import Any, ClassVar, Dict, List -from eZmaxApi.models.common_response import CommonResponse +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List, Optional from eZmaxApi.models.common_response_obj_debug import CommonResponseObjDebug from eZmaxApi.models.common_response_obj_debug_payload import CommonResponseObjDebugPayload from eZmaxApi.models.usergroup_edit_usergroupdelegations_v1_response_m_payload import UsergroupEditUsergroupdelegationsV1ResponseMPayload from typing import Optional, Set from typing_extensions import Self -class UsergroupEditUsergroupdelegationsV1Response(CommonResponse): +class UsergroupEditUsergroupdelegationsV1Response(BaseModel): """ Response for PUT /1/object/usergroup/{pkiUsergroupID}/editUsergroupdelegations """ # noqa: E501 + obj_debug_payload: CommonResponseObjDebugPayload = Field(alias="objDebugPayload") + obj_debug: Optional[CommonResponseObjDebug] = Field(default=None, alias="objDebug") m_payload: UsergroupEditUsergroupdelegationsV1ResponseMPayload = Field(alias="mPayload") __properties: ClassVar[List[str]] = ["objDebugPayload", "objDebug", "mPayload"] diff --git a/eZmaxApi/models/usergroup_edit_usergroupmemberships_v1_response.py b/eZmaxApi/models/usergroup_edit_usergroupmemberships_v1_response.py index 5616010db..78ed18955 100644 --- a/eZmaxApi/models/usergroup_edit_usergroupmemberships_v1_response.py +++ b/eZmaxApi/models/usergroup_edit_usergroupmemberships_v1_response.py @@ -18,19 +18,20 @@ import re # noqa: F401 import json -from pydantic import ConfigDict, Field -from typing import Any, ClassVar, Dict, List -from eZmaxApi.models.common_response import CommonResponse +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List, Optional from eZmaxApi.models.common_response_obj_debug import CommonResponseObjDebug from eZmaxApi.models.common_response_obj_debug_payload import CommonResponseObjDebugPayload from eZmaxApi.models.usergroup_edit_usergroupmemberships_v1_response_m_payload import UsergroupEditUsergroupmembershipsV1ResponseMPayload from typing import Optional, Set from typing_extensions import Self -class UsergroupEditUsergroupmembershipsV1Response(CommonResponse): +class UsergroupEditUsergroupmembershipsV1Response(BaseModel): """ Response for PUT /1/object/usergroup/{pkiUsergroupID}/editUsergroupmemberships """ # noqa: E501 + obj_debug_payload: CommonResponseObjDebugPayload = Field(alias="objDebugPayload") + obj_debug: Optional[CommonResponseObjDebug] = Field(default=None, alias="objDebug") m_payload: UsergroupEditUsergroupmembershipsV1ResponseMPayload = Field(alias="mPayload") __properties: ClassVar[List[str]] = ["objDebugPayload", "objDebug", "mPayload"] diff --git a/eZmaxApi/models/usergroup_get_autocomplete_v2_response.py b/eZmaxApi/models/usergroup_get_autocomplete_v2_response.py index efe83fceb..8d5c19717 100644 --- a/eZmaxApi/models/usergroup_get_autocomplete_v2_response.py +++ b/eZmaxApi/models/usergroup_get_autocomplete_v2_response.py @@ -18,19 +18,20 @@ import re # noqa: F401 import json -from pydantic import ConfigDict, Field -from typing import Any, ClassVar, Dict, List -from eZmaxApi.models.common_response import CommonResponse +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List, Optional from eZmaxApi.models.common_response_obj_debug import CommonResponseObjDebug from eZmaxApi.models.common_response_obj_debug_payload import CommonResponseObjDebugPayload from eZmaxApi.models.usergroup_get_autocomplete_v2_response_m_payload import UsergroupGetAutocompleteV2ResponseMPayload from typing import Optional, Set from typing_extensions import Self -class UsergroupGetAutocompleteV2Response(CommonResponse): +class UsergroupGetAutocompleteV2Response(BaseModel): """ Response for GET /2/object/usergroup/getAutocomplete """ # noqa: E501 + obj_debug_payload: CommonResponseObjDebugPayload = Field(alias="objDebugPayload") + obj_debug: Optional[CommonResponseObjDebug] = Field(default=None, alias="objDebug") m_payload: UsergroupGetAutocompleteV2ResponseMPayload = Field(alias="mPayload") __properties: ClassVar[List[str]] = ["objDebugPayload", "objDebug", "mPayload"] diff --git a/eZmaxApi/models/usergroup_get_list_v1_response.py b/eZmaxApi/models/usergroup_get_list_v1_response.py index da8263dc6..7eec596a0 100644 --- a/eZmaxApi/models/usergroup_get_list_v1_response.py +++ b/eZmaxApi/models/usergroup_get_list_v1_response.py @@ -18,19 +18,20 @@ import re # noqa: F401 import json -from pydantic import ConfigDict, Field -from typing import Any, ClassVar, Dict, List -from eZmaxApi.models.common_response_get_list import CommonResponseGetList +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List, Optional from eZmaxApi.models.common_response_obj_debug import CommonResponseObjDebug from eZmaxApi.models.common_response_obj_debug_payload_get_list import CommonResponseObjDebugPayloadGetList from eZmaxApi.models.usergroup_get_list_v1_response_m_payload import UsergroupGetListV1ResponseMPayload from typing import Optional, Set from typing_extensions import Self -class UsergroupGetListV1Response(CommonResponseGetList): +class UsergroupGetListV1Response(BaseModel): """ Response for GET /1/object/usergroup/getList """ # noqa: E501 + obj_debug_payload: CommonResponseObjDebugPayloadGetList = Field(alias="objDebugPayload") + obj_debug: Optional[CommonResponseObjDebug] = Field(default=None, alias="objDebug") m_payload: UsergroupGetListV1ResponseMPayload = Field(alias="mPayload") __properties: ClassVar[List[str]] = ["objDebugPayload", "objDebug", "mPayload"] diff --git a/eZmaxApi/models/usergroup_get_list_v1_response_m_payload.py b/eZmaxApi/models/usergroup_get_list_v1_response_m_payload.py index 9a81b4b57..1c0505fe3 100644 --- a/eZmaxApi/models/usergroup_get_list_v1_response_m_payload.py +++ b/eZmaxApi/models/usergroup_get_list_v1_response_m_payload.py @@ -18,17 +18,18 @@ import re # noqa: F401 import json -from pydantic import ConfigDict, Field +from pydantic import BaseModel, ConfigDict, Field, StrictInt from typing import Any, ClassVar, Dict, List -from eZmaxApi.models.common_get_list_v1_response_m_payload import CommonGetListV1ResponseMPayload from eZmaxApi.models.usergroup_list_element import UsergroupListElement from typing import Optional, Set from typing_extensions import Self -class UsergroupGetListV1ResponseMPayload(CommonGetListV1ResponseMPayload): +class UsergroupGetListV1ResponseMPayload(BaseModel): """ Payload for GET /1/object/usergroup/getList """ # noqa: E501 + i_row_returned: StrictInt = Field(description="The number of rows returned", alias="iRowReturned") + i_row_filtered: StrictInt = Field(description="The number of rows matching your filters (if any) or the total number of rows", alias="iRowFiltered") a_obj_usergroup: List[UsergroupListElement] = Field(alias="a_objUsergroup") __properties: ClassVar[List[str]] = ["iRowReturned", "iRowFiltered", "a_objUsergroup"] diff --git a/eZmaxApi/models/usergroup_get_object_v2_response.py b/eZmaxApi/models/usergroup_get_object_v2_response.py index 304a59f77..021faecdb 100644 --- a/eZmaxApi/models/usergroup_get_object_v2_response.py +++ b/eZmaxApi/models/usergroup_get_object_v2_response.py @@ -18,19 +18,20 @@ import re # noqa: F401 import json -from pydantic import ConfigDict, Field -from typing import Any, ClassVar, Dict, List -from eZmaxApi.models.common_response import CommonResponse +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List, Optional from eZmaxApi.models.common_response_obj_debug import CommonResponseObjDebug from eZmaxApi.models.common_response_obj_debug_payload import CommonResponseObjDebugPayload from eZmaxApi.models.usergroup_get_object_v2_response_m_payload import UsergroupGetObjectV2ResponseMPayload from typing import Optional, Set from typing_extensions import Self -class UsergroupGetObjectV2Response(CommonResponse): +class UsergroupGetObjectV2Response(BaseModel): """ Response for GET /2/object/usergroup/{pkiUsergroupID} """ # noqa: E501 + obj_debug_payload: CommonResponseObjDebugPayload = Field(alias="objDebugPayload") + obj_debug: Optional[CommonResponseObjDebug] = Field(default=None, alias="objDebug") m_payload: UsergroupGetObjectV2ResponseMPayload = Field(alias="mPayload") __properties: ClassVar[List[str]] = ["objDebugPayload", "objDebug", "mPayload"] diff --git a/eZmaxApi/models/usergroup_get_permissions_v1_response.py b/eZmaxApi/models/usergroup_get_permissions_v1_response.py index 471dcbf71..796f1d882 100644 --- a/eZmaxApi/models/usergroup_get_permissions_v1_response.py +++ b/eZmaxApi/models/usergroup_get_permissions_v1_response.py @@ -18,19 +18,20 @@ import re # noqa: F401 import json -from pydantic import ConfigDict, Field -from typing import Any, ClassVar, Dict, List -from eZmaxApi.models.common_response import CommonResponse +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List, Optional from eZmaxApi.models.common_response_obj_debug import CommonResponseObjDebug from eZmaxApi.models.common_response_obj_debug_payload import CommonResponseObjDebugPayload from eZmaxApi.models.usergroup_get_permissions_v1_response_m_payload import UsergroupGetPermissionsV1ResponseMPayload from typing import Optional, Set from typing_extensions import Self -class UsergroupGetPermissionsV1Response(CommonResponse): +class UsergroupGetPermissionsV1Response(BaseModel): """ Response for GET /1/object/usergroup/{pkiUsergroupID}/getPermissions """ # noqa: E501 + obj_debug_payload: CommonResponseObjDebugPayload = Field(alias="objDebugPayload") + obj_debug: Optional[CommonResponseObjDebug] = Field(default=None, alias="objDebug") m_payload: UsergroupGetPermissionsV1ResponseMPayload = Field(alias="mPayload") __properties: ClassVar[List[str]] = ["objDebugPayload", "objDebug", "mPayload"] diff --git a/eZmaxApi/models/usergroup_get_usergroupdelegations_v1_response.py b/eZmaxApi/models/usergroup_get_usergroupdelegations_v1_response.py index ac7eef3f0..418cadce1 100644 --- a/eZmaxApi/models/usergroup_get_usergroupdelegations_v1_response.py +++ b/eZmaxApi/models/usergroup_get_usergroupdelegations_v1_response.py @@ -18,19 +18,20 @@ import re # noqa: F401 import json -from pydantic import ConfigDict, Field -from typing import Any, ClassVar, Dict, List -from eZmaxApi.models.common_response import CommonResponse +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List, Optional from eZmaxApi.models.common_response_obj_debug import CommonResponseObjDebug from eZmaxApi.models.common_response_obj_debug_payload import CommonResponseObjDebugPayload from eZmaxApi.models.usergroup_get_usergroupdelegations_v1_response_m_payload import UsergroupGetUsergroupdelegationsV1ResponseMPayload from typing import Optional, Set from typing_extensions import Self -class UsergroupGetUsergroupdelegationsV1Response(CommonResponse): +class UsergroupGetUsergroupdelegationsV1Response(BaseModel): """ Response for GET /1/object/usergroup/{pkiUsergroupID}/getUsergroupdelegations """ # noqa: E501 + obj_debug_payload: CommonResponseObjDebugPayload = Field(alias="objDebugPayload") + obj_debug: Optional[CommonResponseObjDebug] = Field(default=None, alias="objDebug") m_payload: UsergroupGetUsergroupdelegationsV1ResponseMPayload = Field(alias="mPayload") __properties: ClassVar[List[str]] = ["objDebugPayload", "objDebug", "mPayload"] diff --git a/eZmaxApi/models/usergroup_get_usergroupmemberships_v1_response.py b/eZmaxApi/models/usergroup_get_usergroupmemberships_v1_response.py index 0e533556e..fbae48c9d 100644 --- a/eZmaxApi/models/usergroup_get_usergroupmemberships_v1_response.py +++ b/eZmaxApi/models/usergroup_get_usergroupmemberships_v1_response.py @@ -18,19 +18,20 @@ import re # noqa: F401 import json -from pydantic import ConfigDict, Field -from typing import Any, ClassVar, Dict, List -from eZmaxApi.models.common_response import CommonResponse +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List, Optional from eZmaxApi.models.common_response_obj_debug import CommonResponseObjDebug from eZmaxApi.models.common_response_obj_debug_payload import CommonResponseObjDebugPayload from eZmaxApi.models.usergroup_get_usergroupmemberships_v1_response_m_payload import UsergroupGetUsergroupmembershipsV1ResponseMPayload from typing import Optional, Set from typing_extensions import Self -class UsergroupGetUsergroupmembershipsV1Response(CommonResponse): +class UsergroupGetUsergroupmembershipsV1Response(BaseModel): """ Response for GET /1/object/usergroup/{pkiUsergroupID}/getUsergroupmemberships """ # noqa: E501 + obj_debug_payload: CommonResponseObjDebugPayload = Field(alias="objDebugPayload") + obj_debug: Optional[CommonResponseObjDebug] = Field(default=None, alias="objDebug") m_payload: UsergroupGetUsergroupmembershipsV1ResponseMPayload = Field(alias="mPayload") __properties: ClassVar[List[str]] = ["objDebugPayload", "objDebug", "mPayload"] diff --git a/eZmaxApi/models/usergroup_request.py b/eZmaxApi/models/usergroup_request.py index 727b01ef2..165ff2601 100644 --- a/eZmaxApi/models/usergroup_request.py +++ b/eZmaxApi/models/usergroup_request.py @@ -83,7 +83,19 @@ def to_dict(self) -> Dict[str, Any]: return _dict @classmethod - def from_dict(cls, obj: Dict[str, Any]) -> Optional[Self]: + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: """Create an instance of UsergroupRequest from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "pkiUsergroupID": obj.get("pkiUsergroupID"), + "objEmail": EmailRequest.from_dict(obj["objEmail"]) if obj.get("objEmail") is not None else None, + "objUsergroupName": MultilingualUsergroupName.from_dict(obj["objUsergroupName"]) if obj.get("objUsergroupName") is not None else None + }) + return _obj diff --git a/eZmaxApi/models/usergroup_request_compound.py b/eZmaxApi/models/usergroup_request_compound.py index 4509f04f2..c169d25a7 100644 --- a/eZmaxApi/models/usergroup_request_compound.py +++ b/eZmaxApi/models/usergroup_request_compound.py @@ -18,18 +18,21 @@ import re # noqa: F401 import json -from pydantic import ConfigDict -from typing import Any, ClassVar, Dict, List +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List, Optional +from typing_extensions import Annotated from eZmaxApi.models.email_request import EmailRequest from eZmaxApi.models.multilingual_usergroup_name import MultilingualUsergroupName -from eZmaxApi.models.usergroup_request import UsergroupRequest from typing import Optional, Set from typing_extensions import Self -class UsergroupRequestCompound(UsergroupRequest): +class UsergroupRequestCompound(BaseModel): """ A Usergroup Object and children """ # noqa: E501 + pki_usergroup_id: Optional[Annotated[int, Field(le=255, strict=True, ge=0)]] = Field(default=None, description="The unique ID of the Usergroup", alias="pkiUsergroupID") + obj_email: Optional[EmailRequest] = Field(default=None, alias="objEmail") + obj_usergroup_name: MultilingualUsergroupName = Field(alias="objUsergroupName") __properties: ClassVar[List[str]] = ["pkiUsergroupID", "objEmail", "objUsergroupName"] model_config = ConfigDict( diff --git a/eZmaxApi/models/usergroup_response.py b/eZmaxApi/models/usergroup_response.py index 99879a560..33db7c551 100644 --- a/eZmaxApi/models/usergroup_response.py +++ b/eZmaxApi/models/usergroup_response.py @@ -94,7 +94,20 @@ def to_dict(self) -> Dict[str, Any]: return _dict @classmethod - def from_dict(cls, obj: Dict[str, Any]) -> Optional[Self]: + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: """Create an instance of UsergroupResponse from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "pkiUsergroupID": obj.get("pkiUsergroupID"), + "objUsergroupName": MultilingualUsergroupName.from_dict(obj["objUsergroupName"]) if obj.get("objUsergroupName") is not None else None, + "sUsergroupNameX": obj.get("sUsergroupNameX"), + "objEmail": EmailRequest.from_dict(obj["objEmail"]) if obj.get("objEmail") is not None else None + }) + return _obj diff --git a/eZmaxApi/models/usergroup_response_compound.py b/eZmaxApi/models/usergroup_response_compound.py index 6998af98a..f1a73c847 100644 --- a/eZmaxApi/models/usergroup_response_compound.py +++ b/eZmaxApi/models/usergroup_response_compound.py @@ -18,20 +18,34 @@ import re # noqa: F401 import json -from pydantic import ConfigDict -from typing import Any, ClassVar, Dict, List +from pydantic import BaseModel, ConfigDict, Field, field_validator +from typing import Any, ClassVar, Dict, List, Optional +from typing_extensions import Annotated from eZmaxApi.models.email_request import EmailRequest from eZmaxApi.models.multilingual_usergroup_name import MultilingualUsergroupName -from eZmaxApi.models.usergroup_response import UsergroupResponse from typing import Optional, Set from typing_extensions import Self -class UsergroupResponseCompound(UsergroupResponse): +class UsergroupResponseCompound(BaseModel): """ A Usergroup Object """ # noqa: E501 + pki_usergroup_id: Annotated[int, Field(le=255, strict=True, ge=0)] = Field(description="The unique ID of the Usergroup", alias="pkiUsergroupID") + obj_usergroup_name: MultilingualUsergroupName = Field(alias="objUsergroupName") + s_usergroup_name_x: Optional[Annotated[str, Field(strict=True)]] = Field(default=None, description="The Name of the Usergroup in the language of the requester", alias="sUsergroupNameX") + obj_email: Optional[EmailRequest] = Field(default=None, alias="objEmail") __properties: ClassVar[List[str]] = ["pkiUsergroupID", "objUsergroupName", "sUsergroupNameX", "objEmail"] + @field_validator('s_usergroup_name_x') + def s_usergroup_name_x_validate_regular_expression(cls, value): + """Validates the regular expression""" + if value is None: + return value + + if not re.match(r"^.{0,50}$", value): + raise ValueError(r"must validate the regular expression /^.{0,50}$/") + return value + model_config = ConfigDict( populate_by_name=True, validate_assignment=True, diff --git a/eZmaxApi/models/usergroupdelegation_create_object_v1_response.py b/eZmaxApi/models/usergroupdelegation_create_object_v1_response.py index 5a350975e..523019c61 100644 --- a/eZmaxApi/models/usergroupdelegation_create_object_v1_response.py +++ b/eZmaxApi/models/usergroupdelegation_create_object_v1_response.py @@ -18,19 +18,20 @@ import re # noqa: F401 import json -from pydantic import ConfigDict, Field -from typing import Any, ClassVar, Dict, List -from eZmaxApi.models.common_response import CommonResponse +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List, Optional from eZmaxApi.models.common_response_obj_debug import CommonResponseObjDebug from eZmaxApi.models.common_response_obj_debug_payload import CommonResponseObjDebugPayload from eZmaxApi.models.usergroupdelegation_create_object_v1_response_m_payload import UsergroupdelegationCreateObjectV1ResponseMPayload from typing import Optional, Set from typing_extensions import Self -class UsergroupdelegationCreateObjectV1Response(CommonResponse): +class UsergroupdelegationCreateObjectV1Response(BaseModel): """ Response for POST /1/object/usergroupdelegation """ # noqa: E501 + obj_debug_payload: CommonResponseObjDebugPayload = Field(alias="objDebugPayload") + obj_debug: Optional[CommonResponseObjDebug] = Field(default=None, alias="objDebug") m_payload: UsergroupdelegationCreateObjectV1ResponseMPayload = Field(alias="mPayload") __properties: ClassVar[List[str]] = ["objDebugPayload", "objDebug", "mPayload"] diff --git a/eZmaxApi/models/usergroupdelegation_delete_object_v1_response.py b/eZmaxApi/models/usergroupdelegation_delete_object_v1_response.py index b295556fa..090cbbd1e 100644 --- a/eZmaxApi/models/usergroupdelegation_delete_object_v1_response.py +++ b/eZmaxApi/models/usergroupdelegation_delete_object_v1_response.py @@ -18,18 +18,19 @@ import re # noqa: F401 import json -from pydantic import ConfigDict -from typing import Any, ClassVar, Dict, List -from eZmaxApi.models.common_response import CommonResponse +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List, Optional from eZmaxApi.models.common_response_obj_debug import CommonResponseObjDebug from eZmaxApi.models.common_response_obj_debug_payload import CommonResponseObjDebugPayload from typing import Optional, Set from typing_extensions import Self -class UsergroupdelegationDeleteObjectV1Response(CommonResponse): +class UsergroupdelegationDeleteObjectV1Response(BaseModel): """ Response for DELETE /1/object/usergroupdelegation/{pkiUsergroupdelegationID} """ # noqa: E501 + obj_debug_payload: CommonResponseObjDebugPayload = Field(alias="objDebugPayload") + obj_debug: Optional[CommonResponseObjDebug] = Field(default=None, alias="objDebug") __properties: ClassVar[List[str]] = ["objDebugPayload", "objDebug"] model_config = ConfigDict( diff --git a/eZmaxApi/models/usergroupdelegation_edit_object_v1_response.py b/eZmaxApi/models/usergroupdelegation_edit_object_v1_response.py index daffffc8f..1433179a0 100644 --- a/eZmaxApi/models/usergroupdelegation_edit_object_v1_response.py +++ b/eZmaxApi/models/usergroupdelegation_edit_object_v1_response.py @@ -18,18 +18,19 @@ import re # noqa: F401 import json -from pydantic import ConfigDict -from typing import Any, ClassVar, Dict, List -from eZmaxApi.models.common_response import CommonResponse +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List, Optional from eZmaxApi.models.common_response_obj_debug import CommonResponseObjDebug from eZmaxApi.models.common_response_obj_debug_payload import CommonResponseObjDebugPayload from typing import Optional, Set from typing_extensions import Self -class UsergroupdelegationEditObjectV1Response(CommonResponse): +class UsergroupdelegationEditObjectV1Response(BaseModel): """ Response for PUT /1/object/usergroupdelegation/{pkiUsergroupdelegationID} """ # noqa: E501 + obj_debug_payload: CommonResponseObjDebugPayload = Field(alias="objDebugPayload") + obj_debug: Optional[CommonResponseObjDebug] = Field(default=None, alias="objDebug") __properties: ClassVar[List[str]] = ["objDebugPayload", "objDebug"] model_config = ConfigDict( diff --git a/eZmaxApi/models/usergroupdelegation_get_object_v2_response.py b/eZmaxApi/models/usergroupdelegation_get_object_v2_response.py index 92492221d..b1da051b1 100644 --- a/eZmaxApi/models/usergroupdelegation_get_object_v2_response.py +++ b/eZmaxApi/models/usergroupdelegation_get_object_v2_response.py @@ -18,19 +18,20 @@ import re # noqa: F401 import json -from pydantic import ConfigDict, Field -from typing import Any, ClassVar, Dict, List -from eZmaxApi.models.common_response import CommonResponse +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List, Optional from eZmaxApi.models.common_response_obj_debug import CommonResponseObjDebug from eZmaxApi.models.common_response_obj_debug_payload import CommonResponseObjDebugPayload from eZmaxApi.models.usergroupdelegation_get_object_v2_response_m_payload import UsergroupdelegationGetObjectV2ResponseMPayload from typing import Optional, Set from typing_extensions import Self -class UsergroupdelegationGetObjectV2Response(CommonResponse): +class UsergroupdelegationGetObjectV2Response(BaseModel): """ Response for GET /2/object/usergroupdelegation/{pkiUsergroupdelegationID} """ # noqa: E501 + obj_debug_payload: CommonResponseObjDebugPayload = Field(alias="objDebugPayload") + obj_debug: Optional[CommonResponseObjDebug] = Field(default=None, alias="objDebug") m_payload: UsergroupdelegationGetObjectV2ResponseMPayload = Field(alias="mPayload") __properties: ClassVar[List[str]] = ["objDebugPayload", "objDebug", "mPayload"] diff --git a/eZmaxApi/models/usergroupdelegation_request.py b/eZmaxApi/models/usergroupdelegation_request.py index d437ddf65..893db2dde 100644 --- a/eZmaxApi/models/usergroupdelegation_request.py +++ b/eZmaxApi/models/usergroupdelegation_request.py @@ -75,7 +75,19 @@ def to_dict(self) -> Dict[str, Any]: return _dict @classmethod - def from_dict(cls, obj: Dict[str, Any]) -> Optional[Self]: + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: """Create an instance of UsergroupdelegationRequest from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "pkiUsergroupdelegationID": obj.get("pkiUsergroupdelegationID"), + "fkiUsergroupID": obj.get("fkiUsergroupID"), + "fkiUserID": obj.get("fkiUserID") + }) + return _obj diff --git a/eZmaxApi/models/usergroupdelegation_request_compound.py b/eZmaxApi/models/usergroupdelegation_request_compound.py index 56dc2deef..d0f9ec4c4 100644 --- a/eZmaxApi/models/usergroupdelegation_request_compound.py +++ b/eZmaxApi/models/usergroupdelegation_request_compound.py @@ -18,16 +18,19 @@ import re # noqa: F401 import json -from pydantic import ConfigDict -from typing import Any, ClassVar, Dict, List -from eZmaxApi.models.usergroupdelegation_request import UsergroupdelegationRequest +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List, Optional +from typing_extensions import Annotated from typing import Optional, Set from typing_extensions import Self -class UsergroupdelegationRequestCompound(UsergroupdelegationRequest): +class UsergroupdelegationRequestCompound(BaseModel): """ A Usergroupdelegation Object and children """ # noqa: E501 + pki_usergroupdelegation_id: Optional[Annotated[int, Field(le=65535, strict=True, ge=0)]] = Field(default=None, description="The unique ID of the Usergroupdelegation", alias="pkiUsergroupdelegationID") + fki_usergroup_id: Annotated[int, Field(le=255, strict=True, ge=0)] = Field(description="The unique ID of the Usergroup", alias="fkiUsergroupID") + fki_user_id: Annotated[int, Field(strict=True, ge=0)] = Field(description="The unique ID of the User", alias="fkiUserID") __properties: ClassVar[List[str]] = ["pkiUsergroupdelegationID", "fkiUsergroupID", "fkiUserID"] model_config = ConfigDict( diff --git a/eZmaxApi/models/usergroupdelegation_response.py b/eZmaxApi/models/usergroupdelegation_response.py index 793f69ec9..d74edb136 100644 --- a/eZmaxApi/models/usergroupdelegation_response.py +++ b/eZmaxApi/models/usergroupdelegation_response.py @@ -104,7 +104,24 @@ def to_dict(self) -> Dict[str, Any]: return _dict @classmethod - def from_dict(cls, obj: Dict[str, Any]) -> Optional[Self]: + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: """Create an instance of UsergroupdelegationResponse from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "pkiUsergroupdelegationID": obj.get("pkiUsergroupdelegationID"), + "fkiUsergroupID": obj.get("fkiUsergroupID"), + "fkiUserID": obj.get("fkiUserID"), + "sUserFirstname": obj.get("sUserFirstname"), + "sUserLastname": obj.get("sUserLastname"), + "sUserLoginname": obj.get("sUserLoginname"), + "sEmailAddress": obj.get("sEmailAddress"), + "sUsergroupNameX": obj.get("sUsergroupNameX") + }) + return _obj diff --git a/eZmaxApi/models/usergroupdelegation_response_compound.py b/eZmaxApi/models/usergroupdelegation_response_compound.py index c334f4146..e977512a2 100644 --- a/eZmaxApi/models/usergroupdelegation_response_compound.py +++ b/eZmaxApi/models/usergroupdelegation_response_compound.py @@ -18,18 +18,50 @@ import re # noqa: F401 import json -from pydantic import ConfigDict -from typing import Any, ClassVar, Dict, List -from eZmaxApi.models.usergroupdelegation_response import UsergroupdelegationResponse +from pydantic import BaseModel, ConfigDict, Field, StrictStr, field_validator +from typing import Any, ClassVar, Dict, List, Optional +from typing_extensions import Annotated from typing import Optional, Set from typing_extensions import Self -class UsergroupdelegationResponseCompound(UsergroupdelegationResponse): +class UsergroupdelegationResponseCompound(BaseModel): """ A Usergroupdelegation Object """ # noqa: E501 + pki_usergroupdelegation_id: Annotated[int, Field(le=65535, strict=True, ge=0)] = Field(description="The unique ID of the Usergroupdelegation", alias="pkiUsergroupdelegationID") + fki_usergroup_id: Annotated[int, Field(le=255, strict=True, ge=0)] = Field(description="The unique ID of the Usergroup", alias="fkiUsergroupID") + fki_user_id: Annotated[int, Field(strict=True, ge=0)] = Field(description="The unique ID of the User", alias="fkiUserID") + s_user_firstname: StrictStr = Field(description="The first name of the user", alias="sUserFirstname") + s_user_lastname: StrictStr = Field(description="The last name of the user", alias="sUserLastname") + s_user_loginname: Annotated[str, Field(strict=True)] = Field(description="The login name of the User.", alias="sUserLoginname") + s_email_address: Optional[Annotated[str, Field(strict=True)]] = Field(default=None, description="The email address.", alias="sEmailAddress") + s_usergroup_name_x: Annotated[str, Field(strict=True)] = Field(description="The Name of the Usergroup in the language of the requester", alias="sUsergroupNameX") __properties: ClassVar[List[str]] = ["pkiUsergroupdelegationID", "fkiUsergroupID", "fkiUserID", "sUserFirstname", "sUserLastname", "sUserLoginname", "sEmailAddress", "sUsergroupNameX"] + @field_validator('s_user_loginname') + def s_user_loginname_validate_regular_expression(cls, value): + """Validates the regular expression""" + if not re.match(r"^(?:([\w.%+\-!#$%&\'*+\/=?^`{|}~]+@[a-zA-Z0-9.-]+\.[a-zA-Z]{2,20})|([a-zA-Z0-9]){1,32})$", value): + raise ValueError(r"must validate the regular expression /^(?:([\w.%+\-!#$%&'*+\/=?^`{|}~]+@[a-zA-Z0-9.-]+\.[a-zA-Z]{2,20})|([a-zA-Z0-9]){1,32})$/") + return value + + @field_validator('s_email_address') + def s_email_address_validate_regular_expression(cls, value): + """Validates the regular expression""" + if value is None: + return value + + if not re.match(r"^[\w.%+\-!#$%&\'*+\/=?^`{|}~]+@[a-zA-Z0-9.-]+\.[a-zA-Z]{2,20}$", value): + raise ValueError(r"must validate the regular expression /^[\w.%+\-!#$%&'*+\/=?^`{|}~]+@[a-zA-Z0-9.-]+\.[a-zA-Z]{2,20}$/") + return value + + @field_validator('s_usergroup_name_x') + def s_usergroup_name_x_validate_regular_expression(cls, value): + """Validates the regular expression""" + if not re.match(r"^.{0,50}$", value): + raise ValueError(r"must validate the regular expression /^.{0,50}$/") + return value + model_config = ConfigDict( populate_by_name=True, validate_assignment=True, diff --git a/eZmaxApi/models/usergroupexternal_create_object_v1_response.py b/eZmaxApi/models/usergroupexternal_create_object_v1_response.py index dc628aabe..cd36da2af 100644 --- a/eZmaxApi/models/usergroupexternal_create_object_v1_response.py +++ b/eZmaxApi/models/usergroupexternal_create_object_v1_response.py @@ -18,19 +18,20 @@ import re # noqa: F401 import json -from pydantic import ConfigDict, Field -from typing import Any, ClassVar, Dict, List -from eZmaxApi.models.common_response import CommonResponse +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List, Optional from eZmaxApi.models.common_response_obj_debug import CommonResponseObjDebug from eZmaxApi.models.common_response_obj_debug_payload import CommonResponseObjDebugPayload from eZmaxApi.models.usergroupexternal_create_object_v1_response_m_payload import UsergroupexternalCreateObjectV1ResponseMPayload from typing import Optional, Set from typing_extensions import Self -class UsergroupexternalCreateObjectV1Response(CommonResponse): +class UsergroupexternalCreateObjectV1Response(BaseModel): """ Response for POST /1/object/usergroupexternal """ # noqa: E501 + obj_debug_payload: CommonResponseObjDebugPayload = Field(alias="objDebugPayload") + obj_debug: Optional[CommonResponseObjDebug] = Field(default=None, alias="objDebug") m_payload: UsergroupexternalCreateObjectV1ResponseMPayload = Field(alias="mPayload") __properties: ClassVar[List[str]] = ["objDebugPayload", "objDebug", "mPayload"] diff --git a/eZmaxApi/models/usergroupexternal_delete_object_v1_response.py b/eZmaxApi/models/usergroupexternal_delete_object_v1_response.py index d201a666c..b447b6c0b 100644 --- a/eZmaxApi/models/usergroupexternal_delete_object_v1_response.py +++ b/eZmaxApi/models/usergroupexternal_delete_object_v1_response.py @@ -18,18 +18,19 @@ import re # noqa: F401 import json -from pydantic import ConfigDict -from typing import Any, ClassVar, Dict, List -from eZmaxApi.models.common_response import CommonResponse +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List, Optional from eZmaxApi.models.common_response_obj_debug import CommonResponseObjDebug from eZmaxApi.models.common_response_obj_debug_payload import CommonResponseObjDebugPayload from typing import Optional, Set from typing_extensions import Self -class UsergroupexternalDeleteObjectV1Response(CommonResponse): +class UsergroupexternalDeleteObjectV1Response(BaseModel): """ Response for DELETE /1/object/usergroupexternal/{pkiUsergroupexternalID} """ # noqa: E501 + obj_debug_payload: CommonResponseObjDebugPayload = Field(alias="objDebugPayload") + obj_debug: Optional[CommonResponseObjDebug] = Field(default=None, alias="objDebug") __properties: ClassVar[List[str]] = ["objDebugPayload", "objDebug"] model_config = ConfigDict( diff --git a/eZmaxApi/models/usergroupexternal_edit_object_v1_response.py b/eZmaxApi/models/usergroupexternal_edit_object_v1_response.py index 161ad09b6..9d51d8c20 100644 --- a/eZmaxApi/models/usergroupexternal_edit_object_v1_response.py +++ b/eZmaxApi/models/usergroupexternal_edit_object_v1_response.py @@ -18,18 +18,19 @@ import re # noqa: F401 import json -from pydantic import ConfigDict -from typing import Any, ClassVar, Dict, List -from eZmaxApi.models.common_response import CommonResponse +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List, Optional from eZmaxApi.models.common_response_obj_debug import CommonResponseObjDebug from eZmaxApi.models.common_response_obj_debug_payload import CommonResponseObjDebugPayload from typing import Optional, Set from typing_extensions import Self -class UsergroupexternalEditObjectV1Response(CommonResponse): +class UsergroupexternalEditObjectV1Response(BaseModel): """ Response for PUT /1/object/usergroupexternal/{pkiUsergroupexternalID} """ # noqa: E501 + obj_debug_payload: CommonResponseObjDebugPayload = Field(alias="objDebugPayload") + obj_debug: Optional[CommonResponseObjDebug] = Field(default=None, alias="objDebug") __properties: ClassVar[List[str]] = ["objDebugPayload", "objDebug"] model_config = ConfigDict( diff --git a/eZmaxApi/models/usergroupexternal_get_autocomplete_v2_response.py b/eZmaxApi/models/usergroupexternal_get_autocomplete_v2_response.py index e6c291131..145022192 100644 --- a/eZmaxApi/models/usergroupexternal_get_autocomplete_v2_response.py +++ b/eZmaxApi/models/usergroupexternal_get_autocomplete_v2_response.py @@ -18,19 +18,20 @@ import re # noqa: F401 import json -from pydantic import ConfigDict, Field -from typing import Any, ClassVar, Dict, List -from eZmaxApi.models.common_response import CommonResponse +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List, Optional from eZmaxApi.models.common_response_obj_debug import CommonResponseObjDebug from eZmaxApi.models.common_response_obj_debug_payload import CommonResponseObjDebugPayload from eZmaxApi.models.usergroupexternal_get_autocomplete_v2_response_m_payload import UsergroupexternalGetAutocompleteV2ResponseMPayload from typing import Optional, Set from typing_extensions import Self -class UsergroupexternalGetAutocompleteV2Response(CommonResponse): +class UsergroupexternalGetAutocompleteV2Response(BaseModel): """ Response for GET /2/object/usergroupexternal/getAutocomplete """ # noqa: E501 + obj_debug_payload: CommonResponseObjDebugPayload = Field(alias="objDebugPayload") + obj_debug: Optional[CommonResponseObjDebug] = Field(default=None, alias="objDebug") m_payload: UsergroupexternalGetAutocompleteV2ResponseMPayload = Field(alias="mPayload") __properties: ClassVar[List[str]] = ["objDebugPayload", "objDebug", "mPayload"] diff --git a/eZmaxApi/models/usergroupexternal_get_list_v1_response.py b/eZmaxApi/models/usergroupexternal_get_list_v1_response.py index f57d045d5..1e3092cd1 100644 --- a/eZmaxApi/models/usergroupexternal_get_list_v1_response.py +++ b/eZmaxApi/models/usergroupexternal_get_list_v1_response.py @@ -18,19 +18,20 @@ import re # noqa: F401 import json -from pydantic import ConfigDict, Field -from typing import Any, ClassVar, Dict, List -from eZmaxApi.models.common_response_get_list import CommonResponseGetList +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List, Optional from eZmaxApi.models.common_response_obj_debug import CommonResponseObjDebug from eZmaxApi.models.common_response_obj_debug_payload_get_list import CommonResponseObjDebugPayloadGetList from eZmaxApi.models.usergroupexternal_get_list_v1_response_m_payload import UsergroupexternalGetListV1ResponseMPayload from typing import Optional, Set from typing_extensions import Self -class UsergroupexternalGetListV1Response(CommonResponseGetList): +class UsergroupexternalGetListV1Response(BaseModel): """ Response for GET /1/object/usergroupexternal/getList """ # noqa: E501 + obj_debug_payload: CommonResponseObjDebugPayloadGetList = Field(alias="objDebugPayload") + obj_debug: Optional[CommonResponseObjDebug] = Field(default=None, alias="objDebug") m_payload: UsergroupexternalGetListV1ResponseMPayload = Field(alias="mPayload") __properties: ClassVar[List[str]] = ["objDebugPayload", "objDebug", "mPayload"] diff --git a/eZmaxApi/models/usergroupexternal_get_list_v1_response_m_payload.py b/eZmaxApi/models/usergroupexternal_get_list_v1_response_m_payload.py index 3c9e9f24d..9837cb2f8 100644 --- a/eZmaxApi/models/usergroupexternal_get_list_v1_response_m_payload.py +++ b/eZmaxApi/models/usergroupexternal_get_list_v1_response_m_payload.py @@ -18,17 +18,18 @@ import re # noqa: F401 import json -from pydantic import ConfigDict, Field +from pydantic import BaseModel, ConfigDict, Field, StrictInt from typing import Any, ClassVar, Dict, List -from eZmaxApi.models.common_get_list_v1_response_m_payload import CommonGetListV1ResponseMPayload from eZmaxApi.models.usergroupexternal_list_element import UsergroupexternalListElement from typing import Optional, Set from typing_extensions import Self -class UsergroupexternalGetListV1ResponseMPayload(CommonGetListV1ResponseMPayload): +class UsergroupexternalGetListV1ResponseMPayload(BaseModel): """ Payload for GET /1/object/usergroupexternal/getList """ # noqa: E501 + i_row_returned: StrictInt = Field(description="The number of rows returned", alias="iRowReturned") + i_row_filtered: StrictInt = Field(description="The number of rows matching your filters (if any) or the total number of rows", alias="iRowFiltered") a_obj_usergroupexternal: List[UsergroupexternalListElement] = Field(alias="a_objUsergroupexternal") __properties: ClassVar[List[str]] = ["iRowReturned", "iRowFiltered", "a_objUsergroupexternal"] diff --git a/eZmaxApi/models/usergroupexternal_get_object_v2_response.py b/eZmaxApi/models/usergroupexternal_get_object_v2_response.py index 2d2f451b3..f9b0b7b60 100644 --- a/eZmaxApi/models/usergroupexternal_get_object_v2_response.py +++ b/eZmaxApi/models/usergroupexternal_get_object_v2_response.py @@ -18,19 +18,20 @@ import re # noqa: F401 import json -from pydantic import ConfigDict, Field -from typing import Any, ClassVar, Dict, List -from eZmaxApi.models.common_response import CommonResponse +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List, Optional from eZmaxApi.models.common_response_obj_debug import CommonResponseObjDebug from eZmaxApi.models.common_response_obj_debug_payload import CommonResponseObjDebugPayload from eZmaxApi.models.usergroupexternal_get_object_v2_response_m_payload import UsergroupexternalGetObjectV2ResponseMPayload from typing import Optional, Set from typing_extensions import Self -class UsergroupexternalGetObjectV2Response(CommonResponse): +class UsergroupexternalGetObjectV2Response(BaseModel): """ Response for GET /2/object/usergroupexternal/{pkiUsergroupexternalID} """ # noqa: E501 + obj_debug_payload: CommonResponseObjDebugPayload = Field(alias="objDebugPayload") + obj_debug: Optional[CommonResponseObjDebug] = Field(default=None, alias="objDebug") m_payload: UsergroupexternalGetObjectV2ResponseMPayload = Field(alias="mPayload") __properties: ClassVar[List[str]] = ["objDebugPayload", "objDebug", "mPayload"] diff --git a/eZmaxApi/models/usergroupexternal_get_usergroupexternalmemberships_v1_response.py b/eZmaxApi/models/usergroupexternal_get_usergroupexternalmemberships_v1_response.py index dccb9866b..4b77cd478 100644 --- a/eZmaxApi/models/usergroupexternal_get_usergroupexternalmemberships_v1_response.py +++ b/eZmaxApi/models/usergroupexternal_get_usergroupexternalmemberships_v1_response.py @@ -18,19 +18,20 @@ import re # noqa: F401 import json -from pydantic import ConfigDict, Field -from typing import Any, ClassVar, Dict, List -from eZmaxApi.models.common_response import CommonResponse +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List, Optional from eZmaxApi.models.common_response_obj_debug import CommonResponseObjDebug from eZmaxApi.models.common_response_obj_debug_payload import CommonResponseObjDebugPayload from eZmaxApi.models.usergroupexternal_get_usergroupexternalmemberships_v1_response_m_payload import UsergroupexternalGetUsergroupexternalmembershipsV1ResponseMPayload from typing import Optional, Set from typing_extensions import Self -class UsergroupexternalGetUsergroupexternalmembershipsV1Response(CommonResponse): +class UsergroupexternalGetUsergroupexternalmembershipsV1Response(BaseModel): """ Response for GET /1/object/usergroupexternal/{pkiUsergroupexternalID}/getUsergroupexternalmemberships """ # noqa: E501 + obj_debug_payload: CommonResponseObjDebugPayload = Field(alias="objDebugPayload") + obj_debug: Optional[CommonResponseObjDebug] = Field(default=None, alias="objDebug") m_payload: UsergroupexternalGetUsergroupexternalmembershipsV1ResponseMPayload = Field(alias="mPayload") __properties: ClassVar[List[str]] = ["objDebugPayload", "objDebug", "mPayload"] diff --git a/eZmaxApi/models/usergroupexternal_get_usergroups_v1_response.py b/eZmaxApi/models/usergroupexternal_get_usergroups_v1_response.py index f79564ce8..137a8206b 100644 --- a/eZmaxApi/models/usergroupexternal_get_usergroups_v1_response.py +++ b/eZmaxApi/models/usergroupexternal_get_usergroups_v1_response.py @@ -18,19 +18,20 @@ import re # noqa: F401 import json -from pydantic import ConfigDict, Field -from typing import Any, ClassVar, Dict, List -from eZmaxApi.models.common_response import CommonResponse +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List, Optional from eZmaxApi.models.common_response_obj_debug import CommonResponseObjDebug from eZmaxApi.models.common_response_obj_debug_payload import CommonResponseObjDebugPayload from eZmaxApi.models.usergroupexternal_get_usergroups_v1_response_m_payload import UsergroupexternalGetUsergroupsV1ResponseMPayload from typing import Optional, Set from typing_extensions import Self -class UsergroupexternalGetUsergroupsV1Response(CommonResponse): +class UsergroupexternalGetUsergroupsV1Response(BaseModel): """ Response for GET /1/object/usergroupexternal/{pkiUsergroupexternalID}/getUsergroups """ # noqa: E501 + obj_debug_payload: CommonResponseObjDebugPayload = Field(alias="objDebugPayload") + obj_debug: Optional[CommonResponseObjDebug] = Field(default=None, alias="objDebug") m_payload: UsergroupexternalGetUsergroupsV1ResponseMPayload = Field(alias="mPayload") __properties: ClassVar[List[str]] = ["objDebugPayload", "objDebug", "mPayload"] diff --git a/eZmaxApi/models/usergroupexternal_request.py b/eZmaxApi/models/usergroupexternal_request.py index 6e1175e30..744281a6b 100644 --- a/eZmaxApi/models/usergroupexternal_request.py +++ b/eZmaxApi/models/usergroupexternal_request.py @@ -89,7 +89,19 @@ def to_dict(self) -> Dict[str, Any]: return _dict @classmethod - def from_dict(cls, obj: Dict[str, Any]) -> Optional[Self]: + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: """Create an instance of UsergroupexternalRequest from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "pkiUsergroupexternalID": obj.get("pkiUsergroupexternalID"), + "sUsergroupexternalName": obj.get("sUsergroupexternalName"), + "sUsergroupexternalID": obj.get("sUsergroupexternalID") + }) + return _obj diff --git a/eZmaxApi/models/usergroupexternal_request_compound.py b/eZmaxApi/models/usergroupexternal_request_compound.py index e6ee7c63a..8f7ce4fab 100644 --- a/eZmaxApi/models/usergroupexternal_request_compound.py +++ b/eZmaxApi/models/usergroupexternal_request_compound.py @@ -18,18 +18,35 @@ import re # noqa: F401 import json -from pydantic import ConfigDict -from typing import Any, ClassVar, Dict, List -from eZmaxApi.models.usergroupexternal_request import UsergroupexternalRequest +from pydantic import BaseModel, ConfigDict, Field, field_validator +from typing import Any, ClassVar, Dict, List, Optional +from typing_extensions import Annotated from typing import Optional, Set from typing_extensions import Self -class UsergroupexternalRequestCompound(UsergroupexternalRequest): +class UsergroupexternalRequestCompound(BaseModel): """ A Usergroupexternal Object and children """ # noqa: E501 + pki_usergroupexternal_id: Optional[Annotated[int, Field(le=255, strict=True, ge=0)]] = Field(default=None, description="The unique ID of the Usergroupexternal", alias="pkiUsergroupexternalID") + s_usergroupexternal_name: Annotated[str, Field(strict=True)] = Field(description="The name of the Usergroupexternal", alias="sUsergroupexternalName") + s_usergroupexternal_id: Annotated[str, Field(strict=True)] = Field(description="The id of the Usergroupexternal", alias="sUsergroupexternalID") __properties: ClassVar[List[str]] = ["pkiUsergroupexternalID", "sUsergroupexternalName", "sUsergroupexternalID"] + @field_validator('s_usergroupexternal_name') + def s_usergroupexternal_name_validate_regular_expression(cls, value): + """Validates the regular expression""" + if not re.match(r"^.{0,64}$", value): + raise ValueError(r"must validate the regular expression /^.{0,64}$/") + return value + + @field_validator('s_usergroupexternal_id') + def s_usergroupexternal_id_validate_regular_expression(cls, value): + """Validates the regular expression""" + if not re.match(r"^.{0,64}$", value): + raise ValueError(r"must validate the regular expression /^.{0,64}$/") + return value + model_config = ConfigDict( populate_by_name=True, validate_assignment=True, diff --git a/eZmaxApi/models/usergroupexternal_response.py b/eZmaxApi/models/usergroupexternal_response.py index 1056a29c9..0d129f095 100644 --- a/eZmaxApi/models/usergroupexternal_response.py +++ b/eZmaxApi/models/usergroupexternal_response.py @@ -89,7 +89,19 @@ def to_dict(self) -> Dict[str, Any]: return _dict @classmethod - def from_dict(cls, obj: Dict[str, Any]) -> Optional[Self]: + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: """Create an instance of UsergroupexternalResponse from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "pkiUsergroupexternalID": obj.get("pkiUsergroupexternalID"), + "sUsergroupexternalName": obj.get("sUsergroupexternalName"), + "sUsergroupexternalID": obj.get("sUsergroupexternalID") + }) + return _obj diff --git a/eZmaxApi/models/usergroupexternal_response_compound.py b/eZmaxApi/models/usergroupexternal_response_compound.py index f9dcb9357..8410df72f 100644 --- a/eZmaxApi/models/usergroupexternal_response_compound.py +++ b/eZmaxApi/models/usergroupexternal_response_compound.py @@ -18,18 +18,35 @@ import re # noqa: F401 import json -from pydantic import ConfigDict +from pydantic import BaseModel, ConfigDict, Field, field_validator from typing import Any, ClassVar, Dict, List -from eZmaxApi.models.usergroupexternal_response import UsergroupexternalResponse +from typing_extensions import Annotated from typing import Optional, Set from typing_extensions import Self -class UsergroupexternalResponseCompound(UsergroupexternalResponse): +class UsergroupexternalResponseCompound(BaseModel): """ A Usergroupexternal Object """ # noqa: E501 + pki_usergroupexternal_id: Annotated[int, Field(le=255, strict=True, ge=0)] = Field(description="The unique ID of the Usergroupexternal", alias="pkiUsergroupexternalID") + s_usergroupexternal_name: Annotated[str, Field(strict=True)] = Field(description="The name of the Usergroupexternal", alias="sUsergroupexternalName") + s_usergroupexternal_id: Annotated[str, Field(strict=True)] = Field(description="The id of the Usergroupexternal", alias="sUsergroupexternalID") __properties: ClassVar[List[str]] = ["pkiUsergroupexternalID", "sUsergroupexternalName", "sUsergroupexternalID"] + @field_validator('s_usergroupexternal_name') + def s_usergroupexternal_name_validate_regular_expression(cls, value): + """Validates the regular expression""" + if not re.match(r"^.{0,64}$", value): + raise ValueError(r"must validate the regular expression /^.{0,64}$/") + return value + + @field_validator('s_usergroupexternal_id') + def s_usergroupexternal_id_validate_regular_expression(cls, value): + """Validates the regular expression""" + if not re.match(r"^.{0,64}$", value): + raise ValueError(r"must validate the regular expression /^.{0,64}$/") + return value + model_config = ConfigDict( populate_by_name=True, validate_assignment=True, diff --git a/eZmaxApi/models/usergroupexternalmembership_response.py b/eZmaxApi/models/usergroupexternalmembership_response.py index 4efcbcce9..fdfddc833 100644 --- a/eZmaxApi/models/usergroupexternalmembership_response.py +++ b/eZmaxApi/models/usergroupexternalmembership_response.py @@ -101,7 +101,24 @@ def to_dict(self) -> Dict[str, Any]: return _dict @classmethod - def from_dict(cls, obj: Dict[str, Any]) -> Optional[Self]: + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: """Create an instance of UsergroupexternalmembershipResponse from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "pkiUsergroupexternalmembershipID": obj.get("pkiUsergroupexternalmembershipID"), + "fkiUsergroupexternalID": obj.get("fkiUsergroupexternalID"), + "fkiUserID": obj.get("fkiUserID"), + "sUserFirstname": obj.get("sUserFirstname"), + "sUserLastname": obj.get("sUserLastname"), + "sUserLoginname": obj.get("sUserLoginname"), + "sEmailAddress": obj.get("sEmailAddress"), + "sUsergroupexternalName": obj.get("sUsergroupexternalName") + }) + return _obj diff --git a/eZmaxApi/models/usergroupexternalmembership_response_compound.py b/eZmaxApi/models/usergroupexternalmembership_response_compound.py index f4c07d37d..a477f8368 100644 --- a/eZmaxApi/models/usergroupexternalmembership_response_compound.py +++ b/eZmaxApi/models/usergroupexternalmembership_response_compound.py @@ -18,18 +18,47 @@ import re # noqa: F401 import json -from pydantic import ConfigDict +from pydantic import BaseModel, ConfigDict, Field, StrictStr, field_validator from typing import Any, ClassVar, Dict, List -from eZmaxApi.models.usergroupexternalmembership_response import UsergroupexternalmembershipResponse +from typing_extensions import Annotated from typing import Optional, Set from typing_extensions import Self -class UsergroupexternalmembershipResponseCompound(UsergroupexternalmembershipResponse): +class UsergroupexternalmembershipResponseCompound(BaseModel): """ A Usergroupexternalmembership Object """ # noqa: E501 + pki_usergroupexternalmembership_id: Annotated[int, Field(le=65535, strict=True, ge=0)] = Field(description="The unique ID of the Usergroupexternalmembership", alias="pkiUsergroupexternalmembershipID") + fki_usergroupexternal_id: Annotated[int, Field(le=255, strict=True, ge=0)] = Field(description="The unique ID of the Usergroupexternal", alias="fkiUsergroupexternalID") + fki_user_id: Annotated[int, Field(strict=True, ge=0)] = Field(description="The unique ID of the User", alias="fkiUserID") + s_user_firstname: StrictStr = Field(description="The first name of the user", alias="sUserFirstname") + s_user_lastname: StrictStr = Field(description="The last name of the user", alias="sUserLastname") + s_user_loginname: Annotated[str, Field(strict=True)] = Field(description="The login name of the User.", alias="sUserLoginname") + s_email_address: Annotated[str, Field(strict=True)] = Field(description="The email address.", alias="sEmailAddress") + s_usergroupexternal_name: Annotated[str, Field(strict=True)] = Field(description="The name of the Usergroupexternal", alias="sUsergroupexternalName") __properties: ClassVar[List[str]] = ["pkiUsergroupexternalmembershipID", "fkiUsergroupexternalID", "fkiUserID", "sUserFirstname", "sUserLastname", "sUserLoginname", "sEmailAddress", "sUsergroupexternalName"] + @field_validator('s_user_loginname') + def s_user_loginname_validate_regular_expression(cls, value): + """Validates the regular expression""" + if not re.match(r"^(?:([\w.%+\-!#$%&\'*+\/=?^`{|}~]+@[a-zA-Z0-9.-]+\.[a-zA-Z]{2,20})|([a-zA-Z0-9]){1,32})$", value): + raise ValueError(r"must validate the regular expression /^(?:([\w.%+\-!#$%&'*+\/=?^`{|}~]+@[a-zA-Z0-9.-]+\.[a-zA-Z]{2,20})|([a-zA-Z0-9]){1,32})$/") + return value + + @field_validator('s_email_address') + def s_email_address_validate_regular_expression(cls, value): + """Validates the regular expression""" + if not re.match(r"^[\w.%+\-!#$%&\'*+\/=?^`{|}~]+@[a-zA-Z0-9.-]+\.[a-zA-Z]{2,20}$", value): + raise ValueError(r"must validate the regular expression /^[\w.%+\-!#$%&'*+\/=?^`{|}~]+@[a-zA-Z0-9.-]+\.[a-zA-Z]{2,20}$/") + return value + + @field_validator('s_usergroupexternal_name') + def s_usergroupexternal_name_validate_regular_expression(cls, value): + """Validates the regular expression""" + if not re.match(r"^.{0,64}$", value): + raise ValueError(r"must validate the regular expression /^.{0,64}$/") + return value + model_config = ConfigDict( populate_by_name=True, validate_assignment=True, diff --git a/eZmaxApi/models/usergroupmembership_create_object_v1_response.py b/eZmaxApi/models/usergroupmembership_create_object_v1_response.py index 1cf5a6a15..ca9d1c66c 100644 --- a/eZmaxApi/models/usergroupmembership_create_object_v1_response.py +++ b/eZmaxApi/models/usergroupmembership_create_object_v1_response.py @@ -18,19 +18,20 @@ import re # noqa: F401 import json -from pydantic import ConfigDict, Field -from typing import Any, ClassVar, Dict, List -from eZmaxApi.models.common_response import CommonResponse +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List, Optional from eZmaxApi.models.common_response_obj_debug import CommonResponseObjDebug from eZmaxApi.models.common_response_obj_debug_payload import CommonResponseObjDebugPayload from eZmaxApi.models.usergroupmembership_create_object_v1_response_m_payload import UsergroupmembershipCreateObjectV1ResponseMPayload from typing import Optional, Set from typing_extensions import Self -class UsergroupmembershipCreateObjectV1Response(CommonResponse): +class UsergroupmembershipCreateObjectV1Response(BaseModel): """ Response for POST /1/object/usergroupmembership """ # noqa: E501 + obj_debug_payload: CommonResponseObjDebugPayload = Field(alias="objDebugPayload") + obj_debug: Optional[CommonResponseObjDebug] = Field(default=None, alias="objDebug") m_payload: UsergroupmembershipCreateObjectV1ResponseMPayload = Field(alias="mPayload") __properties: ClassVar[List[str]] = ["objDebugPayload", "objDebug", "mPayload"] diff --git a/eZmaxApi/models/usergroupmembership_delete_object_v1_response.py b/eZmaxApi/models/usergroupmembership_delete_object_v1_response.py index a1b357d08..6caa6393c 100644 --- a/eZmaxApi/models/usergroupmembership_delete_object_v1_response.py +++ b/eZmaxApi/models/usergroupmembership_delete_object_v1_response.py @@ -18,18 +18,19 @@ import re # noqa: F401 import json -from pydantic import ConfigDict -from typing import Any, ClassVar, Dict, List -from eZmaxApi.models.common_response import CommonResponse +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List, Optional from eZmaxApi.models.common_response_obj_debug import CommonResponseObjDebug from eZmaxApi.models.common_response_obj_debug_payload import CommonResponseObjDebugPayload from typing import Optional, Set from typing_extensions import Self -class UsergroupmembershipDeleteObjectV1Response(CommonResponse): +class UsergroupmembershipDeleteObjectV1Response(BaseModel): """ Response for DELETE /1/object/usergroupmembership/{pkiUsergroupmembershipID} """ # noqa: E501 + obj_debug_payload: CommonResponseObjDebugPayload = Field(alias="objDebugPayload") + obj_debug: Optional[CommonResponseObjDebug] = Field(default=None, alias="objDebug") __properties: ClassVar[List[str]] = ["objDebugPayload", "objDebug"] model_config = ConfigDict( diff --git a/eZmaxApi/models/usergroupmembership_edit_object_v1_response.py b/eZmaxApi/models/usergroupmembership_edit_object_v1_response.py index 173568b2e..41526bf15 100644 --- a/eZmaxApi/models/usergroupmembership_edit_object_v1_response.py +++ b/eZmaxApi/models/usergroupmembership_edit_object_v1_response.py @@ -18,18 +18,19 @@ import re # noqa: F401 import json -from pydantic import ConfigDict -from typing import Any, ClassVar, Dict, List -from eZmaxApi.models.common_response import CommonResponse +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List, Optional from eZmaxApi.models.common_response_obj_debug import CommonResponseObjDebug from eZmaxApi.models.common_response_obj_debug_payload import CommonResponseObjDebugPayload from typing import Optional, Set from typing_extensions import Self -class UsergroupmembershipEditObjectV1Response(CommonResponse): +class UsergroupmembershipEditObjectV1Response(BaseModel): """ Response for PUT /1/object/usergroupmembership/{pkiUsergroupmembershipID} """ # noqa: E501 + obj_debug_payload: CommonResponseObjDebugPayload = Field(alias="objDebugPayload") + obj_debug: Optional[CommonResponseObjDebug] = Field(default=None, alias="objDebug") __properties: ClassVar[List[str]] = ["objDebugPayload", "objDebug"] model_config = ConfigDict( diff --git a/eZmaxApi/models/usergroupmembership_get_object_v2_response.py b/eZmaxApi/models/usergroupmembership_get_object_v2_response.py index 74835c547..34c0d59a6 100644 --- a/eZmaxApi/models/usergroupmembership_get_object_v2_response.py +++ b/eZmaxApi/models/usergroupmembership_get_object_v2_response.py @@ -18,19 +18,20 @@ import re # noqa: F401 import json -from pydantic import ConfigDict, Field -from typing import Any, ClassVar, Dict, List -from eZmaxApi.models.common_response import CommonResponse +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List, Optional from eZmaxApi.models.common_response_obj_debug import CommonResponseObjDebug from eZmaxApi.models.common_response_obj_debug_payload import CommonResponseObjDebugPayload from eZmaxApi.models.usergroupmembership_get_object_v2_response_m_payload import UsergroupmembershipGetObjectV2ResponseMPayload from typing import Optional, Set from typing_extensions import Self -class UsergroupmembershipGetObjectV2Response(CommonResponse): +class UsergroupmembershipGetObjectV2Response(BaseModel): """ Response for GET /2/object/usergroupmembership/{pkiUsergroupmembershipID} """ # noqa: E501 + obj_debug_payload: CommonResponseObjDebugPayload = Field(alias="objDebugPayload") + obj_debug: Optional[CommonResponseObjDebug] = Field(default=None, alias="objDebug") m_payload: UsergroupmembershipGetObjectV2ResponseMPayload = Field(alias="mPayload") __properties: ClassVar[List[str]] = ["objDebugPayload", "objDebug", "mPayload"] diff --git a/eZmaxApi/models/usergroupmembership_request.py b/eZmaxApi/models/usergroupmembership_request.py index 05a25fe57..99cab45e7 100644 --- a/eZmaxApi/models/usergroupmembership_request.py +++ b/eZmaxApi/models/usergroupmembership_request.py @@ -76,7 +76,20 @@ def to_dict(self) -> Dict[str, Any]: return _dict @classmethod - def from_dict(cls, obj: Dict[str, Any]) -> Optional[Self]: + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: """Create an instance of UsergroupmembershipRequest from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "pkiUsergroupmembershipID": obj.get("pkiUsergroupmembershipID"), + "fkiUsergroupID": obj.get("fkiUsergroupID"), + "fkiUserID": obj.get("fkiUserID"), + "fkiUsergroupexternalID": obj.get("fkiUsergroupexternalID") + }) + return _obj diff --git a/eZmaxApi/models/usergroupmembership_request_compound.py b/eZmaxApi/models/usergroupmembership_request_compound.py index f97a7805e..b31ab9207 100644 --- a/eZmaxApi/models/usergroupmembership_request_compound.py +++ b/eZmaxApi/models/usergroupmembership_request_compound.py @@ -18,16 +18,20 @@ import re # noqa: F401 import json -from pydantic import ConfigDict -from typing import Any, ClassVar, Dict, List -from eZmaxApi.models.usergroupmembership_request import UsergroupmembershipRequest +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List, Optional +from typing_extensions import Annotated from typing import Optional, Set from typing_extensions import Self -class UsergroupmembershipRequestCompound(UsergroupmembershipRequest): +class UsergroupmembershipRequestCompound(BaseModel): """ A Usergroupmembership Object and children """ # noqa: E501 + pki_usergroupmembership_id: Optional[Annotated[int, Field(le=65535, strict=True, ge=0)]] = Field(default=None, description="The unique ID of the Usergroupmembership", alias="pkiUsergroupmembershipID") + fki_usergroup_id: Annotated[int, Field(le=255, strict=True, ge=0)] = Field(description="The unique ID of the Usergroup", alias="fkiUsergroupID") + fki_user_id: Optional[Annotated[int, Field(strict=True, ge=0)]] = Field(default=None, description="The unique ID of the User", alias="fkiUserID") + fki_usergroupexternal_id: Optional[Annotated[int, Field(le=255, strict=True, ge=0)]] = Field(default=None, description="The unique ID of the Usergroupexternal", alias="fkiUsergroupexternalID") __properties: ClassVar[List[str]] = ["pkiUsergroupmembershipID", "fkiUsergroupID", "fkiUserID", "fkiUsergroupexternalID"] model_config = ConfigDict( diff --git a/eZmaxApi/models/usergroupmembership_response.py b/eZmaxApi/models/usergroupmembership_response.py index e4b7ad336..24d01e55a 100644 --- a/eZmaxApi/models/usergroupmembership_response.py +++ b/eZmaxApi/models/usergroupmembership_response.py @@ -119,7 +119,26 @@ def to_dict(self) -> Dict[str, Any]: return _dict @classmethod - def from_dict(cls, obj: Dict[str, Any]) -> Optional[Self]: + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: """Create an instance of UsergroupmembershipResponse from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "pkiUsergroupmembershipID": obj.get("pkiUsergroupmembershipID"), + "fkiUsergroupID": obj.get("fkiUsergroupID"), + "fkiUserID": obj.get("fkiUserID"), + "fkiUsergroupexternalID": obj.get("fkiUsergroupexternalID"), + "sUserFirstname": obj.get("sUserFirstname"), + "sUserLastname": obj.get("sUserLastname"), + "sUserLoginname": obj.get("sUserLoginname"), + "sEmailAddress": obj.get("sEmailAddress"), + "sUsergroupNameX": obj.get("sUsergroupNameX"), + "sUsergroupexternalName": obj.get("sUsergroupexternalName") + }) + return _obj diff --git a/eZmaxApi/models/usergroupmembership_response_compound.py b/eZmaxApi/models/usergroupmembership_response_compound.py index c7e61d303..b926cb92c 100644 --- a/eZmaxApi/models/usergroupmembership_response_compound.py +++ b/eZmaxApi/models/usergroupmembership_response_compound.py @@ -18,18 +18,65 @@ import re # noqa: F401 import json -from pydantic import ConfigDict -from typing import Any, ClassVar, Dict, List -from eZmaxApi.models.usergroupmembership_response import UsergroupmembershipResponse +from pydantic import BaseModel, ConfigDict, Field, StrictStr, field_validator +from typing import Any, ClassVar, Dict, List, Optional +from typing_extensions import Annotated from typing import Optional, Set from typing_extensions import Self -class UsergroupmembershipResponseCompound(UsergroupmembershipResponse): +class UsergroupmembershipResponseCompound(BaseModel): """ A Usergroupmembership Object """ # noqa: E501 + pki_usergroupmembership_id: Annotated[int, Field(le=65535, strict=True, ge=0)] = Field(description="The unique ID of the Usergroupmembership", alias="pkiUsergroupmembershipID") + fki_usergroup_id: Annotated[int, Field(le=255, strict=True, ge=0)] = Field(description="The unique ID of the Usergroup", alias="fkiUsergroupID") + fki_user_id: Optional[Annotated[int, Field(strict=True, ge=0)]] = Field(default=None, description="The unique ID of the User", alias="fkiUserID") + fki_usergroupexternal_id: Optional[Annotated[int, Field(le=255, strict=True, ge=0)]] = Field(default=None, description="The unique ID of the Usergroupexternal", alias="fkiUsergroupexternalID") + s_user_firstname: Optional[StrictStr] = Field(default=None, description="The first name of the user", alias="sUserFirstname") + s_user_lastname: Optional[StrictStr] = Field(default=None, description="The last name of the user", alias="sUserLastname") + s_user_loginname: Optional[Annotated[str, Field(strict=True)]] = Field(default=None, description="The login name of the User.", alias="sUserLoginname") + s_email_address: Optional[Annotated[str, Field(strict=True)]] = Field(default=None, description="The email address.", alias="sEmailAddress") + s_usergroup_name_x: Annotated[str, Field(strict=True)] = Field(description="The Name of the Usergroup in the language of the requester", alias="sUsergroupNameX") + s_usergroupexternal_name: Optional[Annotated[str, Field(strict=True)]] = Field(default=None, description="The name of the Usergroupexternal", alias="sUsergroupexternalName") __properties: ClassVar[List[str]] = ["pkiUsergroupmembershipID", "fkiUsergroupID", "fkiUserID", "fkiUsergroupexternalID", "sUserFirstname", "sUserLastname", "sUserLoginname", "sEmailAddress", "sUsergroupNameX", "sUsergroupexternalName"] + @field_validator('s_user_loginname') + def s_user_loginname_validate_regular_expression(cls, value): + """Validates the regular expression""" + if value is None: + return value + + if not re.match(r"^(?:([\w.%+\-!#$%&\'*+\/=?^`{|}~]+@[a-zA-Z0-9.-]+\.[a-zA-Z]{2,20})|([a-zA-Z0-9]){1,32})$", value): + raise ValueError(r"must validate the regular expression /^(?:([\w.%+\-!#$%&'*+\/=?^`{|}~]+@[a-zA-Z0-9.-]+\.[a-zA-Z]{2,20})|([a-zA-Z0-9]){1,32})$/") + return value + + @field_validator('s_email_address') + def s_email_address_validate_regular_expression(cls, value): + """Validates the regular expression""" + if value is None: + return value + + if not re.match(r"^[\w.%+\-!#$%&\'*+\/=?^`{|}~]+@[a-zA-Z0-9.-]+\.[a-zA-Z]{2,20}$", value): + raise ValueError(r"must validate the regular expression /^[\w.%+\-!#$%&'*+\/=?^`{|}~]+@[a-zA-Z0-9.-]+\.[a-zA-Z]{2,20}$/") + return value + + @field_validator('s_usergroup_name_x') + def s_usergroup_name_x_validate_regular_expression(cls, value): + """Validates the regular expression""" + if not re.match(r"^.{0,50}$", value): + raise ValueError(r"must validate the regular expression /^.{0,50}$/") + return value + + @field_validator('s_usergroupexternal_name') + def s_usergroupexternal_name_validate_regular_expression(cls, value): + """Validates the regular expression""" + if value is None: + return value + + if not re.match(r"^.{0,64}$", value): + raise ValueError(r"must validate the regular expression /^.{0,64}$/") + return value + model_config = ConfigDict( populate_by_name=True, validate_assignment=True, diff --git a/eZmaxApi/models/userlogintype_get_autocomplete_v2_response.py b/eZmaxApi/models/userlogintype_get_autocomplete_v2_response.py index ffead362b..065195226 100644 --- a/eZmaxApi/models/userlogintype_get_autocomplete_v2_response.py +++ b/eZmaxApi/models/userlogintype_get_autocomplete_v2_response.py @@ -18,19 +18,20 @@ import re # noqa: F401 import json -from pydantic import ConfigDict, Field -from typing import Any, ClassVar, Dict, List -from eZmaxApi.models.common_response import CommonResponse +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List, Optional from eZmaxApi.models.common_response_obj_debug import CommonResponseObjDebug from eZmaxApi.models.common_response_obj_debug_payload import CommonResponseObjDebugPayload from eZmaxApi.models.userlogintype_get_autocomplete_v2_response_m_payload import UserlogintypeGetAutocompleteV2ResponseMPayload from typing import Optional, Set from typing_extensions import Self -class UserlogintypeGetAutocompleteV2Response(CommonResponse): +class UserlogintypeGetAutocompleteV2Response(BaseModel): """ Response for GET /2/object/userlogintype/getAutocomplete """ # noqa: E501 + obj_debug_payload: CommonResponseObjDebugPayload = Field(alias="objDebugPayload") + obj_debug: Optional[CommonResponseObjDebug] = Field(default=None, alias="objDebug") m_payload: UserlogintypeGetAutocompleteV2ResponseMPayload = Field(alias="mPayload") __properties: ClassVar[List[str]] = ["objDebugPayload", "objDebug", "mPayload"] diff --git a/eZmaxApi/models/userstaged_create_user_v1_response.py b/eZmaxApi/models/userstaged_create_user_v1_response.py index f4c036212..d66983452 100644 --- a/eZmaxApi/models/userstaged_create_user_v1_response.py +++ b/eZmaxApi/models/userstaged_create_user_v1_response.py @@ -18,19 +18,20 @@ import re # noqa: F401 import json -from pydantic import ConfigDict, Field -from typing import Any, ClassVar, Dict, List -from eZmaxApi.models.common_response import CommonResponse +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List, Optional from eZmaxApi.models.common_response_obj_debug import CommonResponseObjDebug from eZmaxApi.models.common_response_obj_debug_payload import CommonResponseObjDebugPayload from eZmaxApi.models.userstaged_create_user_v1_response_m_payload import UserstagedCreateUserV1ResponseMPayload from typing import Optional, Set from typing_extensions import Self -class UserstagedCreateUserV1Response(CommonResponse): +class UserstagedCreateUserV1Response(BaseModel): """ Response for POST /1/object/userstaged/{pkiUserstagedID}/createUser """ # noqa: E501 + obj_debug_payload: CommonResponseObjDebugPayload = Field(alias="objDebugPayload") + obj_debug: Optional[CommonResponseObjDebug] = Field(default=None, alias="objDebug") m_payload: UserstagedCreateUserV1ResponseMPayload = Field(alias="mPayload") __properties: ClassVar[List[str]] = ["objDebugPayload", "objDebug", "mPayload"] diff --git a/eZmaxApi/models/userstaged_delete_object_v1_response.py b/eZmaxApi/models/userstaged_delete_object_v1_response.py index e990ebbb7..7245eba89 100644 --- a/eZmaxApi/models/userstaged_delete_object_v1_response.py +++ b/eZmaxApi/models/userstaged_delete_object_v1_response.py @@ -18,18 +18,19 @@ import re # noqa: F401 import json -from pydantic import ConfigDict -from typing import Any, ClassVar, Dict, List -from eZmaxApi.models.common_response import CommonResponse +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List, Optional from eZmaxApi.models.common_response_obj_debug import CommonResponseObjDebug from eZmaxApi.models.common_response_obj_debug_payload import CommonResponseObjDebugPayload from typing import Optional, Set from typing_extensions import Self -class UserstagedDeleteObjectV1Response(CommonResponse): +class UserstagedDeleteObjectV1Response(BaseModel): """ Response for DELETE /1/object/userstaged/{pkiUserstagedID} """ # noqa: E501 + obj_debug_payload: CommonResponseObjDebugPayload = Field(alias="objDebugPayload") + obj_debug: Optional[CommonResponseObjDebug] = Field(default=None, alias="objDebug") __properties: ClassVar[List[str]] = ["objDebugPayload", "objDebug"] model_config = ConfigDict( diff --git a/eZmaxApi/models/userstaged_get_list_v1_response.py b/eZmaxApi/models/userstaged_get_list_v1_response.py index c5f09a221..33df47c6f 100644 --- a/eZmaxApi/models/userstaged_get_list_v1_response.py +++ b/eZmaxApi/models/userstaged_get_list_v1_response.py @@ -18,19 +18,20 @@ import re # noqa: F401 import json -from pydantic import ConfigDict, Field -from typing import Any, ClassVar, Dict, List -from eZmaxApi.models.common_response_get_list import CommonResponseGetList +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List, Optional from eZmaxApi.models.common_response_obj_debug import CommonResponseObjDebug from eZmaxApi.models.common_response_obj_debug_payload_get_list import CommonResponseObjDebugPayloadGetList from eZmaxApi.models.userstaged_get_list_v1_response_m_payload import UserstagedGetListV1ResponseMPayload from typing import Optional, Set from typing_extensions import Self -class UserstagedGetListV1Response(CommonResponseGetList): +class UserstagedGetListV1Response(BaseModel): """ Response for GET /1/object/userstaged/getList """ # noqa: E501 + obj_debug_payload: CommonResponseObjDebugPayloadGetList = Field(alias="objDebugPayload") + obj_debug: Optional[CommonResponseObjDebug] = Field(default=None, alias="objDebug") m_payload: UserstagedGetListV1ResponseMPayload = Field(alias="mPayload") __properties: ClassVar[List[str]] = ["objDebugPayload", "objDebug", "mPayload"] diff --git a/eZmaxApi/models/userstaged_get_list_v1_response_m_payload.py b/eZmaxApi/models/userstaged_get_list_v1_response_m_payload.py index c39a37fb1..ba840c634 100644 --- a/eZmaxApi/models/userstaged_get_list_v1_response_m_payload.py +++ b/eZmaxApi/models/userstaged_get_list_v1_response_m_payload.py @@ -18,17 +18,18 @@ import re # noqa: F401 import json -from pydantic import ConfigDict, Field +from pydantic import BaseModel, ConfigDict, Field, StrictInt from typing import Any, ClassVar, Dict, List -from eZmaxApi.models.common_get_list_v1_response_m_payload import CommonGetListV1ResponseMPayload from eZmaxApi.models.userstaged_list_element import UserstagedListElement from typing import Optional, Set from typing_extensions import Self -class UserstagedGetListV1ResponseMPayload(CommonGetListV1ResponseMPayload): +class UserstagedGetListV1ResponseMPayload(BaseModel): """ Payload for GET /1/object/userstaged/getList """ # noqa: E501 + i_row_returned: StrictInt = Field(description="The number of rows returned", alias="iRowReturned") + i_row_filtered: StrictInt = Field(description="The number of rows matching your filters (if any) or the total number of rows", alias="iRowFiltered") a_obj_userstaged: List[UserstagedListElement] = Field(alias="a_objUserstaged") __properties: ClassVar[List[str]] = ["iRowReturned", "iRowFiltered", "a_objUserstaged"] diff --git a/eZmaxApi/models/userstaged_get_object_v2_response.py b/eZmaxApi/models/userstaged_get_object_v2_response.py index fc3374712..84d01cc8c 100644 --- a/eZmaxApi/models/userstaged_get_object_v2_response.py +++ b/eZmaxApi/models/userstaged_get_object_v2_response.py @@ -18,19 +18,20 @@ import re # noqa: F401 import json -from pydantic import ConfigDict, Field -from typing import Any, ClassVar, Dict, List -from eZmaxApi.models.common_response import CommonResponse +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List, Optional from eZmaxApi.models.common_response_obj_debug import CommonResponseObjDebug from eZmaxApi.models.common_response_obj_debug_payload import CommonResponseObjDebugPayload from eZmaxApi.models.userstaged_get_object_v2_response_m_payload import UserstagedGetObjectV2ResponseMPayload from typing import Optional, Set from typing_extensions import Self -class UserstagedGetObjectV2Response(CommonResponse): +class UserstagedGetObjectV2Response(BaseModel): """ Response for GET /2/object/userstaged/{pkiUserstagedID} """ # noqa: E501 + obj_debug_payload: CommonResponseObjDebugPayload = Field(alias="objDebugPayload") + obj_debug: Optional[CommonResponseObjDebug] = Field(default=None, alias="objDebug") m_payload: UserstagedGetObjectV2ResponseMPayload = Field(alias="mPayload") __properties: ClassVar[List[str]] = ["objDebugPayload", "objDebug", "mPayload"] diff --git a/eZmaxApi/models/userstaged_get_object_v2_response_m_payload.py b/eZmaxApi/models/userstaged_get_object_v2_response_m_payload.py index e9aa654c4..868e4f332 100644 --- a/eZmaxApi/models/userstaged_get_object_v2_response_m_payload.py +++ b/eZmaxApi/models/userstaged_get_object_v2_response_m_payload.py @@ -20,7 +20,7 @@ from pydantic import BaseModel, ConfigDict, Field from typing import Any, ClassVar, Dict, List -from eZmaxApi.models.userstaged_response import UserstagedResponse +from eZmaxApi.models.userstaged_response_compound import UserstagedResponseCompound from typing import Optional, Set from typing_extensions import Self @@ -28,7 +28,7 @@ class UserstagedGetObjectV2ResponseMPayload(BaseModel): """ Payload for GET /2/object/userstaged/{pkiUserstagedID} """ # noqa: E501 - obj_userstaged: UserstagedResponse = Field(description="A Userstaged Object", alias="objUserstaged") + obj_userstaged: UserstagedResponseCompound = Field(alias="objUserstaged") __properties: ClassVar[List[str]] = ["objUserstaged"] model_config = ConfigDict( @@ -85,7 +85,7 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: return cls.model_validate(obj) _obj = cls.model_validate({ - "objUserstaged": UserstagedResponse.from_dict(obj["objUserstaged"]) if obj.get("objUserstaged") is not None else None + "objUserstaged": UserstagedResponseCompound.from_dict(obj["objUserstaged"]) if obj.get("objUserstaged") is not None else None }) return _obj diff --git a/eZmaxApi/models/userstaged_map_v1_response.py b/eZmaxApi/models/userstaged_map_v1_response.py index 060cbee58..0c5d5cf4f 100644 --- a/eZmaxApi/models/userstaged_map_v1_response.py +++ b/eZmaxApi/models/userstaged_map_v1_response.py @@ -18,18 +18,19 @@ import re # noqa: F401 import json -from pydantic import ConfigDict -from typing import Any, ClassVar, Dict, List -from eZmaxApi.models.common_response import CommonResponse +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List, Optional from eZmaxApi.models.common_response_obj_debug import CommonResponseObjDebug from eZmaxApi.models.common_response_obj_debug_payload import CommonResponseObjDebugPayload from typing import Optional, Set from typing_extensions import Self -class UserstagedMapV1Response(CommonResponse): +class UserstagedMapV1Response(BaseModel): """ Response for POST /1/object/userstaged/{pkiUserstagedID}/map """ # noqa: E501 + obj_debug_payload: CommonResponseObjDebugPayload = Field(alias="objDebugPayload") + obj_debug: Optional[CommonResponseObjDebug] = Field(default=None, alias="objDebug") __properties: ClassVar[List[str]] = ["objDebugPayload", "objDebug"] model_config = ConfigDict( diff --git a/eZmaxApi/models/variableexpense_create_object_v1_response.py b/eZmaxApi/models/variableexpense_create_object_v1_response.py index f0d6bd189..ac8c9e986 100644 --- a/eZmaxApi/models/variableexpense_create_object_v1_response.py +++ b/eZmaxApi/models/variableexpense_create_object_v1_response.py @@ -18,19 +18,20 @@ import re # noqa: F401 import json -from pydantic import ConfigDict, Field -from typing import Any, ClassVar, Dict, List -from eZmaxApi.models.common_response import CommonResponse +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List, Optional from eZmaxApi.models.common_response_obj_debug import CommonResponseObjDebug from eZmaxApi.models.common_response_obj_debug_payload import CommonResponseObjDebugPayload from eZmaxApi.models.variableexpense_create_object_v1_response_m_payload import VariableexpenseCreateObjectV1ResponseMPayload from typing import Optional, Set from typing_extensions import Self -class VariableexpenseCreateObjectV1Response(CommonResponse): +class VariableexpenseCreateObjectV1Response(BaseModel): """ Response for POST /1/object/variableexpense """ # noqa: E501 + obj_debug_payload: CommonResponseObjDebugPayload = Field(alias="objDebugPayload") + obj_debug: Optional[CommonResponseObjDebug] = Field(default=None, alias="objDebug") m_payload: VariableexpenseCreateObjectV1ResponseMPayload = Field(alias="mPayload") __properties: ClassVar[List[str]] = ["objDebugPayload", "objDebug", "mPayload"] diff --git a/eZmaxApi/models/variableexpense_edit_object_v1_response.py b/eZmaxApi/models/variableexpense_edit_object_v1_response.py index 8417c305a..16b47ed19 100644 --- a/eZmaxApi/models/variableexpense_edit_object_v1_response.py +++ b/eZmaxApi/models/variableexpense_edit_object_v1_response.py @@ -18,18 +18,19 @@ import re # noqa: F401 import json -from pydantic import ConfigDict -from typing import Any, ClassVar, Dict, List -from eZmaxApi.models.common_response import CommonResponse +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List, Optional from eZmaxApi.models.common_response_obj_debug import CommonResponseObjDebug from eZmaxApi.models.common_response_obj_debug_payload import CommonResponseObjDebugPayload from typing import Optional, Set from typing_extensions import Self -class VariableexpenseEditObjectV1Response(CommonResponse): +class VariableexpenseEditObjectV1Response(BaseModel): """ Response for PUT /1/object/variableexpense/{pkiVariableexpenseID} """ # noqa: E501 + obj_debug_payload: CommonResponseObjDebugPayload = Field(alias="objDebugPayload") + obj_debug: Optional[CommonResponseObjDebug] = Field(default=None, alias="objDebug") __properties: ClassVar[List[str]] = ["objDebugPayload", "objDebug"] model_config = ConfigDict( diff --git a/eZmaxApi/models/variableexpense_get_autocomplete_v2_response.py b/eZmaxApi/models/variableexpense_get_autocomplete_v2_response.py index de4402b05..44050edd8 100644 --- a/eZmaxApi/models/variableexpense_get_autocomplete_v2_response.py +++ b/eZmaxApi/models/variableexpense_get_autocomplete_v2_response.py @@ -18,19 +18,20 @@ import re # noqa: F401 import json -from pydantic import ConfigDict, Field -from typing import Any, ClassVar, Dict, List -from eZmaxApi.models.common_response import CommonResponse +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List, Optional from eZmaxApi.models.common_response_obj_debug import CommonResponseObjDebug from eZmaxApi.models.common_response_obj_debug_payload import CommonResponseObjDebugPayload from eZmaxApi.models.variableexpense_get_autocomplete_v2_response_m_payload import VariableexpenseGetAutocompleteV2ResponseMPayload from typing import Optional, Set from typing_extensions import Self -class VariableexpenseGetAutocompleteV2Response(CommonResponse): +class VariableexpenseGetAutocompleteV2Response(BaseModel): """ Response for GET /2/object/variableexpense/getAutocomplete """ # noqa: E501 + obj_debug_payload: CommonResponseObjDebugPayload = Field(alias="objDebugPayload") + obj_debug: Optional[CommonResponseObjDebug] = Field(default=None, alias="objDebug") m_payload: VariableexpenseGetAutocompleteV2ResponseMPayload = Field(alias="mPayload") __properties: ClassVar[List[str]] = ["objDebugPayload", "objDebug", "mPayload"] diff --git a/eZmaxApi/models/variableexpense_get_list_v1_response.py b/eZmaxApi/models/variableexpense_get_list_v1_response.py index d3302df22..753b0f745 100644 --- a/eZmaxApi/models/variableexpense_get_list_v1_response.py +++ b/eZmaxApi/models/variableexpense_get_list_v1_response.py @@ -18,19 +18,20 @@ import re # noqa: F401 import json -from pydantic import ConfigDict, Field -from typing import Any, ClassVar, Dict, List -from eZmaxApi.models.common_response_get_list import CommonResponseGetList +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List, Optional from eZmaxApi.models.common_response_obj_debug import CommonResponseObjDebug from eZmaxApi.models.common_response_obj_debug_payload_get_list import CommonResponseObjDebugPayloadGetList from eZmaxApi.models.variableexpense_get_list_v1_response_m_payload import VariableexpenseGetListV1ResponseMPayload from typing import Optional, Set from typing_extensions import Self -class VariableexpenseGetListV1Response(CommonResponseGetList): +class VariableexpenseGetListV1Response(BaseModel): """ Response for GET /1/object/variableexpense/getList """ # noqa: E501 + obj_debug_payload: CommonResponseObjDebugPayloadGetList = Field(alias="objDebugPayload") + obj_debug: Optional[CommonResponseObjDebug] = Field(default=None, alias="objDebug") m_payload: VariableexpenseGetListV1ResponseMPayload = Field(alias="mPayload") __properties: ClassVar[List[str]] = ["objDebugPayload", "objDebug", "mPayload"] diff --git a/eZmaxApi/models/variableexpense_get_list_v1_response_m_payload.py b/eZmaxApi/models/variableexpense_get_list_v1_response_m_payload.py index be0c1b566..a929d9025 100644 --- a/eZmaxApi/models/variableexpense_get_list_v1_response_m_payload.py +++ b/eZmaxApi/models/variableexpense_get_list_v1_response_m_payload.py @@ -18,17 +18,18 @@ import re # noqa: F401 import json -from pydantic import ConfigDict, Field +from pydantic import BaseModel, ConfigDict, Field, StrictInt from typing import Any, ClassVar, Dict, List -from eZmaxApi.models.common_get_list_v1_response_m_payload import CommonGetListV1ResponseMPayload from eZmaxApi.models.variableexpense_list_element import VariableexpenseListElement from typing import Optional, Set from typing_extensions import Self -class VariableexpenseGetListV1ResponseMPayload(CommonGetListV1ResponseMPayload): +class VariableexpenseGetListV1ResponseMPayload(BaseModel): """ Payload for GET /1/object/variableexpense/getList """ # noqa: E501 + i_row_returned: StrictInt = Field(description="The number of rows returned", alias="iRowReturned") + i_row_filtered: StrictInt = Field(description="The number of rows matching your filters (if any) or the total number of rows", alias="iRowFiltered") a_obj_variableexpense: List[VariableexpenseListElement] = Field(alias="a_objVariableexpense") __properties: ClassVar[List[str]] = ["iRowReturned", "iRowFiltered", "a_objVariableexpense"] diff --git a/eZmaxApi/models/variableexpense_get_object_v2_response.py b/eZmaxApi/models/variableexpense_get_object_v2_response.py index 78f3a9770..68dc68b8c 100644 --- a/eZmaxApi/models/variableexpense_get_object_v2_response.py +++ b/eZmaxApi/models/variableexpense_get_object_v2_response.py @@ -18,19 +18,20 @@ import re # noqa: F401 import json -from pydantic import ConfigDict, Field -from typing import Any, ClassVar, Dict, List -from eZmaxApi.models.common_response import CommonResponse +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List, Optional from eZmaxApi.models.common_response_obj_debug import CommonResponseObjDebug from eZmaxApi.models.common_response_obj_debug_payload import CommonResponseObjDebugPayload from eZmaxApi.models.variableexpense_get_object_v2_response_m_payload import VariableexpenseGetObjectV2ResponseMPayload from typing import Optional, Set from typing_extensions import Self -class VariableexpenseGetObjectV2Response(CommonResponse): +class VariableexpenseGetObjectV2Response(BaseModel): """ Response for GET /2/object/variableexpense/{pkiVariableexpenseID} """ # noqa: E501 + obj_debug_payload: CommonResponseObjDebugPayload = Field(alias="objDebugPayload") + obj_debug: Optional[CommonResponseObjDebug] = Field(default=None, alias="objDebug") m_payload: VariableexpenseGetObjectV2ResponseMPayload = Field(alias="mPayload") __properties: ClassVar[List[str]] = ["objDebugPayload", "objDebug", "mPayload"] diff --git a/eZmaxApi/models/variableexpense_request.py b/eZmaxApi/models/variableexpense_request.py index b1f7ea113..e82cc513c 100644 --- a/eZmaxApi/models/variableexpense_request.py +++ b/eZmaxApi/models/variableexpense_request.py @@ -89,7 +89,21 @@ def to_dict(self) -> Dict[str, Any]: return _dict @classmethod - def from_dict(cls, obj: Dict[str, Any]) -> Optional[Self]: + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: """Create an instance of VariableexpenseRequest from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "pkiVariableexpenseID": obj.get("pkiVariableexpenseID"), + "sVariableexpenseCode": obj.get("sVariableexpenseCode"), + "objVariableexpenseDescription": MultilingualVariableexpenseDescription.from_dict(obj["objVariableexpenseDescription"]) if obj.get("objVariableexpenseDescription") is not None else None, + "eVariableexpenseTaxable": obj.get("eVariableexpenseTaxable"), + "bVariableexpenseIsactive": obj.get("bVariableexpenseIsactive") + }) + return _obj diff --git a/eZmaxApi/models/variableexpense_request_compound.py b/eZmaxApi/models/variableexpense_request_compound.py index e4f63dd56..6cb383731 100644 --- a/eZmaxApi/models/variableexpense_request_compound.py +++ b/eZmaxApi/models/variableexpense_request_compound.py @@ -18,20 +18,32 @@ import re # noqa: F401 import json -from pydantic import ConfigDict -from typing import Any, ClassVar, Dict, List +from pydantic import BaseModel, ConfigDict, Field, StrictBool, field_validator +from typing import Any, ClassVar, Dict, List, Optional +from typing_extensions import Annotated from eZmaxApi.models.field_e_variableexpense_taxable import FieldEVariableexpenseTaxable from eZmaxApi.models.multilingual_variableexpense_description import MultilingualVariableexpenseDescription -from eZmaxApi.models.variableexpense_request import VariableexpenseRequest from typing import Optional, Set from typing_extensions import Self -class VariableexpenseRequestCompound(VariableexpenseRequest): +class VariableexpenseRequestCompound(BaseModel): """ A Variableexpense Object and children """ # noqa: E501 + pki_variableexpense_id: Optional[Annotated[int, Field(le=255, strict=True, ge=1)]] = Field(default=None, description="The unique ID of the Variableexpense", alias="pkiVariableexpenseID") + s_variableexpense_code: Annotated[str, Field(strict=True)] = Field(description="The code of the Variableexpense", alias="sVariableexpenseCode") + obj_variableexpense_description: MultilingualVariableexpenseDescription = Field(alias="objVariableexpenseDescription") + e_variableexpense_taxable: FieldEVariableexpenseTaxable = Field(alias="eVariableexpenseTaxable") + b_variableexpense_isactive: StrictBool = Field(description="Whether the variableexpense is active or not", alias="bVariableexpenseIsactive") __properties: ClassVar[List[str]] = ["pkiVariableexpenseID", "sVariableexpenseCode", "objVariableexpenseDescription", "eVariableexpenseTaxable", "bVariableexpenseIsactive"] + @field_validator('s_variableexpense_code') + def s_variableexpense_code_validate_regular_expression(cls, value): + """Validates the regular expression""" + if not re.match(r"^.{0,5}$", value): + raise ValueError(r"must validate the regular expression /^.{0,5}$/") + return value + model_config = ConfigDict( populate_by_name=True, validate_assignment=True, diff --git a/eZmaxApi/models/variableexpense_response.py b/eZmaxApi/models/variableexpense_response.py index 56b2e5b74..69239bff1 100644 --- a/eZmaxApi/models/variableexpense_response.py +++ b/eZmaxApi/models/variableexpense_response.py @@ -92,7 +92,21 @@ def to_dict(self) -> Dict[str, Any]: return _dict @classmethod - def from_dict(cls, obj: Dict[str, Any]) -> Optional[Self]: + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: """Create an instance of VariableexpenseResponse from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "pkiVariableexpenseID": obj.get("pkiVariableexpenseID"), + "sVariableexpenseCode": obj.get("sVariableexpenseCode"), + "objVariableexpenseDescription": MultilingualVariableexpenseDescription.from_dict(obj["objVariableexpenseDescription"]) if obj.get("objVariableexpenseDescription") is not None else None, + "eVariableexpenseTaxable": obj.get("eVariableexpenseTaxable"), + "bVariableexpenseIsactive": obj.get("bVariableexpenseIsactive") + }) + return _obj diff --git a/eZmaxApi/models/variableexpense_response_compound.py b/eZmaxApi/models/variableexpense_response_compound.py index 2d7fd78d8..a38858b4b 100644 --- a/eZmaxApi/models/variableexpense_response_compound.py +++ b/eZmaxApi/models/variableexpense_response_compound.py @@ -18,20 +18,35 @@ import re # noqa: F401 import json -from pydantic import ConfigDict -from typing import Any, ClassVar, Dict, List +from pydantic import BaseModel, ConfigDict, Field, StrictBool, field_validator +from typing import Any, ClassVar, Dict, List, Optional +from typing_extensions import Annotated from eZmaxApi.models.field_e_variableexpense_taxable import FieldEVariableexpenseTaxable from eZmaxApi.models.multilingual_variableexpense_description import MultilingualVariableexpenseDescription -from eZmaxApi.models.variableexpense_response import VariableexpenseResponse from typing import Optional, Set from typing_extensions import Self -class VariableexpenseResponseCompound(VariableexpenseResponse): +class VariableexpenseResponseCompound(BaseModel): """ A Variableexpense Object """ # noqa: E501 + pki_variableexpense_id: Annotated[int, Field(le=255, strict=True, ge=1)] = Field(description="The unique ID of the Variableexpense", alias="pkiVariableexpenseID") + s_variableexpense_code: Optional[Annotated[str, Field(strict=True)]] = Field(default=None, description="The code of the Variableexpense", alias="sVariableexpenseCode") + obj_variableexpense_description: MultilingualVariableexpenseDescription = Field(alias="objVariableexpenseDescription") + e_variableexpense_taxable: Optional[FieldEVariableexpenseTaxable] = Field(default=None, alias="eVariableexpenseTaxable") + b_variableexpense_isactive: Optional[StrictBool] = Field(default=None, description="Whether the variableexpense is active or not", alias="bVariableexpenseIsactive") __properties: ClassVar[List[str]] = ["pkiVariableexpenseID", "sVariableexpenseCode", "objVariableexpenseDescription", "eVariableexpenseTaxable", "bVariableexpenseIsactive"] + @field_validator('s_variableexpense_code') + def s_variableexpense_code_validate_regular_expression(cls, value): + """Validates the regular expression""" + if value is None: + return value + + if not re.match(r"^.{0,5}$", value): + raise ValueError(r"must validate the regular expression /^.{0,5}$/") + return value + model_config = ConfigDict( populate_by_name=True, validate_assignment=True, diff --git a/eZmaxApi/models/versionhistory_get_object_v2_response.py b/eZmaxApi/models/versionhistory_get_object_v2_response.py index 870850d0f..935db32a7 100644 --- a/eZmaxApi/models/versionhistory_get_object_v2_response.py +++ b/eZmaxApi/models/versionhistory_get_object_v2_response.py @@ -18,19 +18,20 @@ import re # noqa: F401 import json -from pydantic import ConfigDict, Field -from typing import Any, ClassVar, Dict, List -from eZmaxApi.models.common_response import CommonResponse +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List, Optional from eZmaxApi.models.common_response_obj_debug import CommonResponseObjDebug from eZmaxApi.models.common_response_obj_debug_payload import CommonResponseObjDebugPayload from eZmaxApi.models.versionhistory_get_object_v2_response_m_payload import VersionhistoryGetObjectV2ResponseMPayload from typing import Optional, Set from typing_extensions import Self -class VersionhistoryGetObjectV2Response(CommonResponse): +class VersionhistoryGetObjectV2Response(BaseModel): """ Response for GET /2/object/versionhistory/{pkiVersionhistoryID} """ # noqa: E501 + obj_debug_payload: CommonResponseObjDebugPayload = Field(alias="objDebugPayload") + obj_debug: Optional[CommonResponseObjDebug] = Field(default=None, alias="objDebug") m_payload: VersionhistoryGetObjectV2ResponseMPayload = Field(alias="mPayload") __properties: ClassVar[List[str]] = ["objDebugPayload", "objDebug", "mPayload"] diff --git a/eZmaxApi/models/versionhistory_response.py b/eZmaxApi/models/versionhistory_response.py index cde0fff9d..4060edbf0 100644 --- a/eZmaxApi/models/versionhistory_response.py +++ b/eZmaxApi/models/versionhistory_response.py @@ -89,7 +89,27 @@ def to_dict(self) -> Dict[str, Any]: return _dict @classmethod - def from_dict(cls, obj: Dict[str, Any]) -> Optional[Self]: + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: """Create an instance of VersionhistoryResponse from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "pkiVersionhistoryID": obj.get("pkiVersionhistoryID"), + "fkiModuleID": obj.get("fkiModuleID"), + "fkiModulesectionID": obj.get("fkiModulesectionID"), + "sModuleNameX": obj.get("sModuleNameX"), + "sModulesectionNameX": obj.get("sModulesectionNameX"), + "eVersionhistoryUsertype": obj.get("eVersionhistoryUsertype"), + "objVersionhistoryDetail": MultilingualVersionhistoryDetail.from_dict(obj["objVersionhistoryDetail"]) if obj.get("objVersionhistoryDetail") is not None else None, + "dtVersionhistoryDate": obj.get("dtVersionhistoryDate"), + "dtVersionhistoryDateend": obj.get("dtVersionhistoryDateend"), + "eVersionhistoryType": obj.get("eVersionhistoryType"), + "bVersionhistoryDraft": obj.get("bVersionhistoryDraft") + }) + return _obj diff --git a/eZmaxApi/models/versionhistory_response_compound.py b/eZmaxApi/models/versionhistory_response_compound.py index c91586a35..618ba8143 100644 --- a/eZmaxApi/models/versionhistory_response_compound.py +++ b/eZmaxApi/models/versionhistory_response_compound.py @@ -18,19 +18,30 @@ import re # noqa: F401 import json -from pydantic import ConfigDict -from typing import Any, ClassVar, Dict, List +from pydantic import BaseModel, ConfigDict, Field, StrictBool, StrictStr +from typing import Any, ClassVar, Dict, List, Optional +from typing_extensions import Annotated from eZmaxApi.models.field_e_versionhistory_type import FieldEVersionhistoryType from eZmaxApi.models.field_e_versionhistory_usertype import FieldEVersionhistoryUsertype from eZmaxApi.models.multilingual_versionhistory_detail import MultilingualVersionhistoryDetail -from eZmaxApi.models.versionhistory_response import VersionhistoryResponse from typing import Optional, Set from typing_extensions import Self -class VersionhistoryResponseCompound(VersionhistoryResponse): +class VersionhistoryResponseCompound(BaseModel): """ A Versionhistory Object """ # noqa: E501 + pki_versionhistory_id: Annotated[int, Field(strict=True, ge=0)] = Field(description="The unique ID of the Versionhistory", alias="pkiVersionhistoryID") + fki_module_id: Optional[Annotated[int, Field(strict=True, ge=0)]] = Field(default=None, description="The unique ID of the Module", alias="fkiModuleID") + fki_modulesection_id: Optional[Annotated[int, Field(strict=True, ge=0)]] = Field(default=None, description="The unique ID of the Modulesection", alias="fkiModulesectionID") + s_module_name_x: Optional[StrictStr] = Field(default=None, description="The Name of the Module in the language of the requester", alias="sModuleNameX") + s_modulesection_name_x: Optional[StrictStr] = Field(default=None, description="The Name of the Modulesection in the language of the requester", alias="sModulesectionNameX") + e_versionhistory_usertype: Optional[FieldEVersionhistoryUsertype] = Field(default=None, alias="eVersionhistoryUsertype") + obj_versionhistory_detail: MultilingualVersionhistoryDetail = Field(alias="objVersionhistoryDetail") + dt_versionhistory_date: StrictStr = Field(description="The date at which the Versionhistory was published or should be published", alias="dtVersionhistoryDate") + dt_versionhistory_dateend: Optional[StrictStr] = Field(default=None, description="The date at which the Versionhistory will no longer be visible", alias="dtVersionhistoryDateend") + e_versionhistory_type: FieldEVersionhistoryType = Field(alias="eVersionhistoryType") + b_versionhistory_draft: StrictBool = Field(description="Whether the Versionhistory is published or still a draft", alias="bVersionhistoryDraft") __properties: ClassVar[List[str]] = ["pkiVersionhistoryID", "fkiModuleID", "fkiModulesectionID", "sModuleNameX", "sModulesectionNameX", "eVersionhistoryUsertype", "objVersionhistoryDetail", "dtVersionhistoryDate", "dtVersionhistoryDateend", "eVersionhistoryType", "bVersionhistoryDraft"] model_config = ConfigDict( diff --git a/eZmaxApi/models/webhook_create_object_v2_response.py b/eZmaxApi/models/webhook_create_object_v2_response.py index b7a75ed0b..23fda264a 100644 --- a/eZmaxApi/models/webhook_create_object_v2_response.py +++ b/eZmaxApi/models/webhook_create_object_v2_response.py @@ -18,19 +18,20 @@ import re # noqa: F401 import json -from pydantic import ConfigDict, Field -from typing import Any, ClassVar, Dict, List -from eZmaxApi.models.common_response import CommonResponse +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List, Optional from eZmaxApi.models.common_response_obj_debug import CommonResponseObjDebug from eZmaxApi.models.common_response_obj_debug_payload import CommonResponseObjDebugPayload from eZmaxApi.models.webhook_create_object_v2_response_m_payload import WebhookCreateObjectV2ResponseMPayload from typing import Optional, Set from typing_extensions import Self -class WebhookCreateObjectV2Response(CommonResponse): +class WebhookCreateObjectV2Response(BaseModel): """ Response for POST /2/object/webhook """ # noqa: E501 + obj_debug_payload: CommonResponseObjDebugPayload = Field(alias="objDebugPayload") + obj_debug: Optional[CommonResponseObjDebug] = Field(default=None, alias="objDebug") m_payload: WebhookCreateObjectV2ResponseMPayload = Field(alias="mPayload") __properties: ClassVar[List[str]] = ["objDebugPayload", "objDebug", "mPayload"] diff --git a/eZmaxApi/models/webhook_delete_object_v1_response.py b/eZmaxApi/models/webhook_delete_object_v1_response.py index 9181a23a3..89d6c16b5 100644 --- a/eZmaxApi/models/webhook_delete_object_v1_response.py +++ b/eZmaxApi/models/webhook_delete_object_v1_response.py @@ -18,18 +18,19 @@ import re # noqa: F401 import json -from pydantic import ConfigDict -from typing import Any, ClassVar, Dict, List -from eZmaxApi.models.common_response import CommonResponse +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List, Optional from eZmaxApi.models.common_response_obj_debug import CommonResponseObjDebug from eZmaxApi.models.common_response_obj_debug_payload import CommonResponseObjDebugPayload from typing import Optional, Set from typing_extensions import Self -class WebhookDeleteObjectV1Response(CommonResponse): +class WebhookDeleteObjectV1Response(BaseModel): """ Response for DELETE /1/object/webhook/{pkiWebhookID} """ # noqa: E501 + obj_debug_payload: CommonResponseObjDebugPayload = Field(alias="objDebugPayload") + obj_debug: Optional[CommonResponseObjDebug] = Field(default=None, alias="objDebug") __properties: ClassVar[List[str]] = ["objDebugPayload", "objDebug"] model_config = ConfigDict( diff --git a/eZmaxApi/models/webhook_edit_object_v1_response.py b/eZmaxApi/models/webhook_edit_object_v1_response.py index 2af45e387..aad6b4fea 100644 --- a/eZmaxApi/models/webhook_edit_object_v1_response.py +++ b/eZmaxApi/models/webhook_edit_object_v1_response.py @@ -18,18 +18,19 @@ import re # noqa: F401 import json -from pydantic import ConfigDict -from typing import Any, ClassVar, Dict, List -from eZmaxApi.models.common_response import CommonResponse +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List, Optional from eZmaxApi.models.common_response_obj_debug import CommonResponseObjDebug from eZmaxApi.models.common_response_obj_debug_payload import CommonResponseObjDebugPayload from typing import Optional, Set from typing_extensions import Self -class WebhookEditObjectV1Response(CommonResponse): +class WebhookEditObjectV1Response(BaseModel): """ Response for PUT /1/object/webhook/{pkiWebhookID} """ # noqa: E501 + obj_debug_payload: CommonResponseObjDebugPayload = Field(alias="objDebugPayload") + obj_debug: Optional[CommonResponseObjDebug] = Field(default=None, alias="objDebug") __properties: ClassVar[List[str]] = ["objDebugPayload", "objDebug"] model_config = ConfigDict( diff --git a/eZmaxApi/models/webhook_ezsign_document_completed.py b/eZmaxApi/models/webhook_ezsign_document_completed.py index c2f62df6e..23423fdbe 100644 --- a/eZmaxApi/models/webhook_ezsign_document_completed.py +++ b/eZmaxApi/models/webhook_ezsign_document_completed.py @@ -18,19 +18,20 @@ import re # noqa: F401 import json -from pydantic import ConfigDict, Field +from pydantic import BaseModel, ConfigDict, Field from typing import Any, ClassVar, Dict, List -from eZmaxApi.models.attempt_response import AttemptResponse -from eZmaxApi.models.common_webhook import CommonWebhook +from eZmaxApi.models.attempt_response_compound import AttemptResponseCompound from eZmaxApi.models.custom_webhook_response import CustomWebhookResponse from eZmaxApi.models.ezsigndocument_response import EzsigndocumentResponse from typing import Optional, Set from typing_extensions import Self -class WebhookEzsignDocumentCompleted(CommonWebhook): +class WebhookEzsignDocumentCompleted(BaseModel): """ This is the base Webhook object """ # noqa: E501 + obj_webhook: CustomWebhookResponse = Field(alias="objWebhook") + a_obj_attempt: List[AttemptResponseCompound] = Field(description="An array containing details of previous attempts that were made to deliver the message. The array is empty if it's the first attempt.", alias="a_objAttempt") obj_ezsigndocument: EzsigndocumentResponse = Field(alias="objEzsigndocument") __properties: ClassVar[List[str]] = ["objWebhook", "a_objAttempt", "objEzsigndocument"] @@ -99,7 +100,7 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: _obj = cls.model_validate({ "objWebhook": CustomWebhookResponse.from_dict(obj["objWebhook"]) if obj.get("objWebhook") is not None else None, - "a_objAttempt": [AttemptResponse.from_dict(_item) for _item in obj["a_objAttempt"]] if obj.get("a_objAttempt") is not None else None, + "a_objAttempt": [AttemptResponseCompound.from_dict(_item) for _item in obj["a_objAttempt"]] if obj.get("a_objAttempt") is not None else None, "objEzsigndocument": EzsigndocumentResponse.from_dict(obj["objEzsigndocument"]) if obj.get("objEzsigndocument") is not None else None }) return _obj diff --git a/eZmaxApi/models/webhook_ezsign_document_form_completed.py b/eZmaxApi/models/webhook_ezsign_document_form_completed.py index 45def7200..d2d9cf0dc 100644 --- a/eZmaxApi/models/webhook_ezsign_document_form_completed.py +++ b/eZmaxApi/models/webhook_ezsign_document_form_completed.py @@ -18,19 +18,20 @@ import re # noqa: F401 import json -from pydantic import ConfigDict, Field +from pydantic import BaseModel, ConfigDict, Field from typing import Any, ClassVar, Dict, List -from eZmaxApi.models.attempt_response import AttemptResponse -from eZmaxApi.models.common_webhook import CommonWebhook +from eZmaxApi.models.attempt_response_compound import AttemptResponseCompound from eZmaxApi.models.custom_webhook_response import CustomWebhookResponse from eZmaxApi.models.ezsigndocument_response import EzsigndocumentResponse from typing import Optional, Set from typing_extensions import Self -class WebhookEzsignDocumentFormCompleted(CommonWebhook): +class WebhookEzsignDocumentFormCompleted(BaseModel): """ This is the base Webhook object """ # noqa: E501 + obj_webhook: CustomWebhookResponse = Field(alias="objWebhook") + a_obj_attempt: List[AttemptResponseCompound] = Field(description="An array containing details of previous attempts that were made to deliver the message. The array is empty if it's the first attempt.", alias="a_objAttempt") obj_ezsigndocument: EzsigndocumentResponse = Field(alias="objEzsigndocument") __properties: ClassVar[List[str]] = ["objWebhook", "a_objAttempt", "objEzsigndocument"] @@ -99,7 +100,7 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: _obj = cls.model_validate({ "objWebhook": CustomWebhookResponse.from_dict(obj["objWebhook"]) if obj.get("objWebhook") is not None else None, - "a_objAttempt": [AttemptResponse.from_dict(_item) for _item in obj["a_objAttempt"]] if obj.get("a_objAttempt") is not None else None, + "a_objAttempt": [AttemptResponseCompound.from_dict(_item) for _item in obj["a_objAttempt"]] if obj.get("a_objAttempt") is not None else None, "objEzsigndocument": EzsigndocumentResponse.from_dict(obj["objEzsigndocument"]) if obj.get("objEzsigndocument") is not None else None }) return _obj diff --git a/eZmaxApi/models/webhook_ezsign_document_unsent.py b/eZmaxApi/models/webhook_ezsign_document_unsent.py index 9388d7993..312c38f65 100644 --- a/eZmaxApi/models/webhook_ezsign_document_unsent.py +++ b/eZmaxApi/models/webhook_ezsign_document_unsent.py @@ -18,19 +18,20 @@ import re # noqa: F401 import json -from pydantic import ConfigDict, Field +from pydantic import BaseModel, ConfigDict, Field from typing import Any, ClassVar, Dict, List -from eZmaxApi.models.attempt_response import AttemptResponse -from eZmaxApi.models.common_webhook import CommonWebhook +from eZmaxApi.models.attempt_response_compound import AttemptResponseCompound from eZmaxApi.models.custom_webhook_response import CustomWebhookResponse from eZmaxApi.models.ezsigndocument_response import EzsigndocumentResponse from typing import Optional, Set from typing_extensions import Self -class WebhookEzsignDocumentUnsent(CommonWebhook): +class WebhookEzsignDocumentUnsent(BaseModel): """ This is the base Webhook object """ # noqa: E501 + obj_webhook: CustomWebhookResponse = Field(alias="objWebhook") + a_obj_attempt: List[AttemptResponseCompound] = Field(description="An array containing details of previous attempts that were made to deliver the message. The array is empty if it's the first attempt.", alias="a_objAttempt") obj_ezsigndocument: EzsigndocumentResponse = Field(alias="objEzsigndocument") __properties: ClassVar[List[str]] = ["objWebhook", "a_objAttempt", "objEzsigndocument"] @@ -99,7 +100,7 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: _obj = cls.model_validate({ "objWebhook": CustomWebhookResponse.from_dict(obj["objWebhook"]) if obj.get("objWebhook") is not None else None, - "a_objAttempt": [AttemptResponse.from_dict(_item) for _item in obj["a_objAttempt"]] if obj.get("a_objAttempt") is not None else None, + "a_objAttempt": [AttemptResponseCompound.from_dict(_item) for _item in obj["a_objAttempt"]] if obj.get("a_objAttempt") is not None else None, "objEzsigndocument": EzsigndocumentResponse.from_dict(obj["objEzsigndocument"]) if obj.get("objEzsigndocument") is not None else None }) return _obj diff --git a/eZmaxApi/models/webhook_ezsign_ezsignsigner_acceptclause.py b/eZmaxApi/models/webhook_ezsign_ezsignsigner_acceptclause.py index a90c577c8..86f562195 100644 --- a/eZmaxApi/models/webhook_ezsign_ezsignsigner_acceptclause.py +++ b/eZmaxApi/models/webhook_ezsign_ezsignsigner_acceptclause.py @@ -18,20 +18,21 @@ import re # noqa: F401 import json -from pydantic import ConfigDict, Field +from pydantic import BaseModel, ConfigDict, Field from typing import Any, ClassVar, Dict, List, Optional -from eZmaxApi.models.attempt_response import AttemptResponse -from eZmaxApi.models.common_webhook import CommonWebhook +from eZmaxApi.models.attempt_response_compound import AttemptResponseCompound from eZmaxApi.models.custom_webhook_response import CustomWebhookResponse from eZmaxApi.models.ezsignfolder_response import EzsignfolderResponse from eZmaxApi.models.ezsignfoldersignerassociation_response_compound import EzsignfoldersignerassociationResponseCompound from typing import Optional, Set from typing_extensions import Self -class WebhookEzsignEzsignsignerAcceptclause(CommonWebhook): +class WebhookEzsignEzsignsignerAcceptclause(BaseModel): """ This is the base Webhook object """ # noqa: E501 + obj_webhook: CustomWebhookResponse = Field(alias="objWebhook") + a_obj_attempt: List[AttemptResponseCompound] = Field(description="An array containing details of previous attempts that were made to deliver the message. The array is empty if it's the first attempt.", alias="a_objAttempt") obj_ezsignfolder: Optional[EzsignfolderResponse] = Field(default=None, alias="objEzsignfolder") obj_ezsignfoldersignerassociation: EzsignfoldersignerassociationResponseCompound = Field(alias="objEzsignfoldersignerassociation") __properties: ClassVar[List[str]] = ["objWebhook", "a_objAttempt", "objEzsignfolder", "objEzsignfoldersignerassociation"] @@ -104,7 +105,7 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: _obj = cls.model_validate({ "objWebhook": CustomWebhookResponse.from_dict(obj["objWebhook"]) if obj.get("objWebhook") is not None else None, - "a_objAttempt": [AttemptResponse.from_dict(_item) for _item in obj["a_objAttempt"]] if obj.get("a_objAttempt") is not None else None, + "a_objAttempt": [AttemptResponseCompound.from_dict(_item) for _item in obj["a_objAttempt"]] if obj.get("a_objAttempt") is not None else None, "objEzsignfolder": EzsignfolderResponse.from_dict(obj["objEzsignfolder"]) if obj.get("objEzsignfolder") is not None else None, "objEzsignfoldersignerassociation": EzsignfoldersignerassociationResponseCompound.from_dict(obj["objEzsignfoldersignerassociation"]) if obj.get("objEzsignfoldersignerassociation") is not None else None }) diff --git a/eZmaxApi/models/webhook_ezsign_ezsignsigner_connect.py b/eZmaxApi/models/webhook_ezsign_ezsignsigner_connect.py index bded9dedc..9f177e1c0 100644 --- a/eZmaxApi/models/webhook_ezsign_ezsignsigner_connect.py +++ b/eZmaxApi/models/webhook_ezsign_ezsignsigner_connect.py @@ -18,20 +18,21 @@ import re # noqa: F401 import json -from pydantic import ConfigDict, Field +from pydantic import BaseModel, ConfigDict, Field from typing import Any, ClassVar, Dict, List, Optional -from eZmaxApi.models.attempt_response import AttemptResponse -from eZmaxApi.models.common_webhook import CommonWebhook +from eZmaxApi.models.attempt_response_compound import AttemptResponseCompound from eZmaxApi.models.custom_webhook_response import CustomWebhookResponse from eZmaxApi.models.ezsignfolder_response import EzsignfolderResponse from eZmaxApi.models.ezsignfoldersignerassociation_response_compound import EzsignfoldersignerassociationResponseCompound from typing import Optional, Set from typing_extensions import Self -class WebhookEzsignEzsignsignerConnect(CommonWebhook): +class WebhookEzsignEzsignsignerConnect(BaseModel): """ This is the base Webhook object """ # noqa: E501 + obj_webhook: CustomWebhookResponse = Field(alias="objWebhook") + a_obj_attempt: List[AttemptResponseCompound] = Field(description="An array containing details of previous attempts that were made to deliver the message. The array is empty if it's the first attempt.", alias="a_objAttempt") obj_ezsignfolder: Optional[EzsignfolderResponse] = Field(default=None, alias="objEzsignfolder") obj_ezsignfoldersignerassociation: EzsignfoldersignerassociationResponseCompound = Field(alias="objEzsignfoldersignerassociation") __properties: ClassVar[List[str]] = ["objWebhook", "a_objAttempt", "objEzsignfolder", "objEzsignfoldersignerassociation"] @@ -104,7 +105,7 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: _obj = cls.model_validate({ "objWebhook": CustomWebhookResponse.from_dict(obj["objWebhook"]) if obj.get("objWebhook") is not None else None, - "a_objAttempt": [AttemptResponse.from_dict(_item) for _item in obj["a_objAttempt"]] if obj.get("a_objAttempt") is not None else None, + "a_objAttempt": [AttemptResponseCompound.from_dict(_item) for _item in obj["a_objAttempt"]] if obj.get("a_objAttempt") is not None else None, "objEzsignfolder": EzsignfolderResponse.from_dict(obj["objEzsignfolder"]) if obj.get("objEzsignfolder") is not None else None, "objEzsignfoldersignerassociation": EzsignfoldersignerassociationResponseCompound.from_dict(obj["objEzsignfoldersignerassociation"]) if obj.get("objEzsignfoldersignerassociation") is not None else None }) diff --git a/eZmaxApi/models/webhook_ezsign_folder_completed.py b/eZmaxApi/models/webhook_ezsign_folder_completed.py index 89176af2e..193af9c10 100644 --- a/eZmaxApi/models/webhook_ezsign_folder_completed.py +++ b/eZmaxApi/models/webhook_ezsign_folder_completed.py @@ -18,19 +18,20 @@ import re # noqa: F401 import json -from pydantic import ConfigDict, Field +from pydantic import BaseModel, ConfigDict, Field from typing import Any, ClassVar, Dict, List -from eZmaxApi.models.attempt_response import AttemptResponse -from eZmaxApi.models.common_webhook import CommonWebhook +from eZmaxApi.models.attempt_response_compound import AttemptResponseCompound from eZmaxApi.models.custom_webhook_response import CustomWebhookResponse from eZmaxApi.models.ezsignfolder_response import EzsignfolderResponse from typing import Optional, Set from typing_extensions import Self -class WebhookEzsignFolderCompleted(CommonWebhook): +class WebhookEzsignFolderCompleted(BaseModel): """ This is the base Webhook object """ # noqa: E501 + obj_webhook: CustomWebhookResponse = Field(alias="objWebhook") + a_obj_attempt: List[AttemptResponseCompound] = Field(description="An array containing details of previous attempts that were made to deliver the message. The array is empty if it's the first attempt.", alias="a_objAttempt") obj_ezsignfolder: EzsignfolderResponse = Field(alias="objEzsignfolder") __properties: ClassVar[List[str]] = ["objWebhook", "a_objAttempt", "objEzsignfolder"] @@ -99,7 +100,7 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: _obj = cls.model_validate({ "objWebhook": CustomWebhookResponse.from_dict(obj["objWebhook"]) if obj.get("objWebhook") is not None else None, - "a_objAttempt": [AttemptResponse.from_dict(_item) for _item in obj["a_objAttempt"]] if obj.get("a_objAttempt") is not None else None, + "a_objAttempt": [AttemptResponseCompound.from_dict(_item) for _item in obj["a_objAttempt"]] if obj.get("a_objAttempt") is not None else None, "objEzsignfolder": EzsignfolderResponse.from_dict(obj["objEzsignfolder"]) if obj.get("objEzsignfolder") is not None else None }) return _obj diff --git a/eZmaxApi/models/webhook_ezsign_folder_disposed.py b/eZmaxApi/models/webhook_ezsign_folder_disposed.py index 0a4575e54..319010b32 100644 --- a/eZmaxApi/models/webhook_ezsign_folder_disposed.py +++ b/eZmaxApi/models/webhook_ezsign_folder_disposed.py @@ -18,19 +18,20 @@ import re # noqa: F401 import json -from pydantic import ConfigDict, Field +from pydantic import BaseModel, ConfigDict, Field from typing import Any, ClassVar, Dict, List -from eZmaxApi.models.attempt_response import AttemptResponse -from eZmaxApi.models.common_webhook import CommonWebhook +from eZmaxApi.models.attempt_response_compound import AttemptResponseCompound from eZmaxApi.models.custom_webhook_response import CustomWebhookResponse from eZmaxApi.models.ezsignfolder_response import EzsignfolderResponse from typing import Optional, Set from typing_extensions import Self -class WebhookEzsignFolderDisposed(CommonWebhook): +class WebhookEzsignFolderDisposed(BaseModel): """ This is the base Webhook object """ # noqa: E501 + obj_webhook: CustomWebhookResponse = Field(alias="objWebhook") + a_obj_attempt: List[AttemptResponseCompound] = Field(description="An array containing details of previous attempts that were made to deliver the message. The array is empty if it's the first attempt.", alias="a_objAttempt") obj_ezsignfolder: EzsignfolderResponse = Field(alias="objEzsignfolder") __properties: ClassVar[List[str]] = ["objWebhook", "a_objAttempt", "objEzsignfolder"] @@ -99,7 +100,7 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: _obj = cls.model_validate({ "objWebhook": CustomWebhookResponse.from_dict(obj["objWebhook"]) if obj.get("objWebhook") is not None else None, - "a_objAttempt": [AttemptResponse.from_dict(_item) for _item in obj["a_objAttempt"]] if obj.get("a_objAttempt") is not None else None, + "a_objAttempt": [AttemptResponseCompound.from_dict(_item) for _item in obj["a_objAttempt"]] if obj.get("a_objAttempt") is not None else None, "objEzsignfolder": EzsignfolderResponse.from_dict(obj["objEzsignfolder"]) if obj.get("objEzsignfolder") is not None else None }) return _obj diff --git a/eZmaxApi/models/webhook_ezsign_folder_sent.py b/eZmaxApi/models/webhook_ezsign_folder_sent.py index 2c82da8e2..f75375648 100644 --- a/eZmaxApi/models/webhook_ezsign_folder_sent.py +++ b/eZmaxApi/models/webhook_ezsign_folder_sent.py @@ -18,19 +18,20 @@ import re # noqa: F401 import json -from pydantic import ConfigDict, Field +from pydantic import BaseModel, ConfigDict, Field from typing import Any, ClassVar, Dict, List -from eZmaxApi.models.attempt_response import AttemptResponse -from eZmaxApi.models.common_webhook import CommonWebhook +from eZmaxApi.models.attempt_response_compound import AttemptResponseCompound from eZmaxApi.models.custom_webhook_response import CustomWebhookResponse from eZmaxApi.models.ezsignfolder_response import EzsignfolderResponse from typing import Optional, Set from typing_extensions import Self -class WebhookEzsignFolderSent(CommonWebhook): +class WebhookEzsignFolderSent(BaseModel): """ This is the base Webhook object """ # noqa: E501 + obj_webhook: CustomWebhookResponse = Field(alias="objWebhook") + a_obj_attempt: List[AttemptResponseCompound] = Field(description="An array containing details of previous attempts that were made to deliver the message. The array is empty if it's the first attempt.", alias="a_objAttempt") obj_ezsignfolder: EzsignfolderResponse = Field(alias="objEzsignfolder") __properties: ClassVar[List[str]] = ["objWebhook", "a_objAttempt", "objEzsignfolder"] @@ -99,7 +100,7 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: _obj = cls.model_validate({ "objWebhook": CustomWebhookResponse.from_dict(obj["objWebhook"]) if obj.get("objWebhook") is not None else None, - "a_objAttempt": [AttemptResponse.from_dict(_item) for _item in obj["a_objAttempt"]] if obj.get("a_objAttempt") is not None else None, + "a_objAttempt": [AttemptResponseCompound.from_dict(_item) for _item in obj["a_objAttempt"]] if obj.get("a_objAttempt") is not None else None, "objEzsignfolder": EzsignfolderResponse.from_dict(obj["objEzsignfolder"]) if obj.get("objEzsignfolder") is not None else None }) return _obj diff --git a/eZmaxApi/models/webhook_ezsign_folder_unsent.py b/eZmaxApi/models/webhook_ezsign_folder_unsent.py index 579729bd0..9629651e9 100644 --- a/eZmaxApi/models/webhook_ezsign_folder_unsent.py +++ b/eZmaxApi/models/webhook_ezsign_folder_unsent.py @@ -18,19 +18,20 @@ import re # noqa: F401 import json -from pydantic import ConfigDict, Field +from pydantic import BaseModel, ConfigDict, Field from typing import Any, ClassVar, Dict, List -from eZmaxApi.models.attempt_response import AttemptResponse -from eZmaxApi.models.common_webhook import CommonWebhook +from eZmaxApi.models.attempt_response_compound import AttemptResponseCompound from eZmaxApi.models.custom_webhook_response import CustomWebhookResponse from eZmaxApi.models.ezsignfolder_response import EzsignfolderResponse from typing import Optional, Set from typing_extensions import Self -class WebhookEzsignFolderUnsent(CommonWebhook): +class WebhookEzsignFolderUnsent(BaseModel): """ This is the base Webhook object """ # noqa: E501 + obj_webhook: CustomWebhookResponse = Field(alias="objWebhook") + a_obj_attempt: List[AttemptResponseCompound] = Field(description="An array containing details of previous attempts that were made to deliver the message. The array is empty if it's the first attempt.", alias="a_objAttempt") obj_ezsignfolder: EzsignfolderResponse = Field(alias="objEzsignfolder") __properties: ClassVar[List[str]] = ["objWebhook", "a_objAttempt", "objEzsignfolder"] @@ -99,7 +100,7 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: _obj = cls.model_validate({ "objWebhook": CustomWebhookResponse.from_dict(obj["objWebhook"]) if obj.get("objWebhook") is not None else None, - "a_objAttempt": [AttemptResponse.from_dict(_item) for _item in obj["a_objAttempt"]] if obj.get("a_objAttempt") is not None else None, + "a_objAttempt": [AttemptResponseCompound.from_dict(_item) for _item in obj["a_objAttempt"]] if obj.get("a_objAttempt") is not None else None, "objEzsignfolder": EzsignfolderResponse.from_dict(obj["objEzsignfolder"]) if obj.get("objEzsignfolder") is not None else None }) return _obj diff --git a/eZmaxApi/models/webhook_ezsign_signature_signed.py b/eZmaxApi/models/webhook_ezsign_signature_signed.py index f9304584d..c0f0cffba 100644 --- a/eZmaxApi/models/webhook_ezsign_signature_signed.py +++ b/eZmaxApi/models/webhook_ezsign_signature_signed.py @@ -18,19 +18,20 @@ import re # noqa: F401 import json -from pydantic import ConfigDict, Field +from pydantic import BaseModel, ConfigDict, Field from typing import Any, ClassVar, Dict, List -from eZmaxApi.models.attempt_response import AttemptResponse -from eZmaxApi.models.common_webhook import CommonWebhook +from eZmaxApi.models.attempt_response_compound import AttemptResponseCompound from eZmaxApi.models.custom_webhook_response import CustomWebhookResponse from eZmaxApi.models.ezsignsignature_response import EzsignsignatureResponse from typing import Optional, Set from typing_extensions import Self -class WebhookEzsignSignatureSigned(CommonWebhook): +class WebhookEzsignSignatureSigned(BaseModel): """ This is the base Webhook object """ # noqa: E501 + obj_webhook: CustomWebhookResponse = Field(alias="objWebhook") + a_obj_attempt: List[AttemptResponseCompound] = Field(description="An array containing details of previous attempts that were made to deliver the message. The array is empty if it's the first attempt.", alias="a_objAttempt") obj_ezsignsignature: EzsignsignatureResponse = Field(alias="objEzsignsignature") __properties: ClassVar[List[str]] = ["objWebhook", "a_objAttempt", "objEzsignsignature"] @@ -99,7 +100,7 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: _obj = cls.model_validate({ "objWebhook": CustomWebhookResponse.from_dict(obj["objWebhook"]) if obj.get("objWebhook") is not None else None, - "a_objAttempt": [AttemptResponse.from_dict(_item) for _item in obj["a_objAttempt"]] if obj.get("a_objAttempt") is not None else None, + "a_objAttempt": [AttemptResponseCompound.from_dict(_item) for _item in obj["a_objAttempt"]] if obj.get("a_objAttempt") is not None else None, "objEzsignsignature": EzsignsignatureResponse.from_dict(obj["objEzsignsignature"]) if obj.get("objEzsignsignature") is not None else None }) return _obj diff --git a/eZmaxApi/models/webhook_get_history_v1_response.py b/eZmaxApi/models/webhook_get_history_v1_response.py index fd498808b..40baab7e9 100644 --- a/eZmaxApi/models/webhook_get_history_v1_response.py +++ b/eZmaxApi/models/webhook_get_history_v1_response.py @@ -18,19 +18,20 @@ import re # noqa: F401 import json -from pydantic import ConfigDict, Field -from typing import Any, ClassVar, Dict, List -from eZmaxApi.models.common_response import CommonResponse +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List, Optional from eZmaxApi.models.common_response_obj_debug import CommonResponseObjDebug from eZmaxApi.models.common_response_obj_debug_payload import CommonResponseObjDebugPayload from eZmaxApi.models.webhook_get_history_v1_response_m_payload import WebhookGetHistoryV1ResponseMPayload from typing import Optional, Set from typing_extensions import Self -class WebhookGetHistoryV1Response(CommonResponse): +class WebhookGetHistoryV1Response(BaseModel): """ Response for GET /1/object/webhook/{pkiWebhookID}/getHistory """ # noqa: E501 + obj_debug_payload: CommonResponseObjDebugPayload = Field(alias="objDebugPayload") + obj_debug: Optional[CommonResponseObjDebug] = Field(default=None, alias="objDebug") m_payload: WebhookGetHistoryV1ResponseMPayload = Field(alias="mPayload") __properties: ClassVar[List[str]] = ["objDebugPayload", "objDebug", "mPayload"] diff --git a/eZmaxApi/models/webhook_get_history_v1_response_m_payload.py b/eZmaxApi/models/webhook_get_history_v1_response_m_payload.py index cfcb97b2c..0a10d664f 100644 --- a/eZmaxApi/models/webhook_get_history_v1_response_m_payload.py +++ b/eZmaxApi/models/webhook_get_history_v1_response_m_payload.py @@ -20,6 +20,7 @@ from pydantic import BaseModel, ConfigDict, Field from typing import Any, ClassVar, Dict, List +from eZmaxApi.models.custom_webhooklog_response import CustomWebhooklogResponse from typing import Optional, Set from typing_extensions import Self @@ -27,7 +28,7 @@ class WebhookGetHistoryV1ResponseMPayload(BaseModel): """ Payload for GET /1/object/webhook/{pkiWebhookID}/getHistory """ # noqa: E501 - a_obj_webhooklog: List[object] = Field(alias="a_objWebhooklog") + a_obj_webhooklog: List[CustomWebhooklogResponse] = Field(alias="a_objWebhooklog") __properties: ClassVar[List[str]] = ["a_objWebhooklog"] model_config = ConfigDict( @@ -69,6 +70,13 @@ def to_dict(self) -> Dict[str, Any]: exclude=excluded_fields, exclude_none=True, ) + # override the default output from pydantic by calling `to_dict()` of each item in a_obj_webhooklog (list) + _items = [] + if self.a_obj_webhooklog: + for _item_a_obj_webhooklog in self.a_obj_webhooklog: + if _item_a_obj_webhooklog: + _items.append(_item_a_obj_webhooklog.to_dict()) + _dict['a_objWebhooklog'] = _items return _dict @classmethod @@ -81,7 +89,7 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: return cls.model_validate(obj) _obj = cls.model_validate({ - "a_objWebhooklog": obj.get("a_objWebhooklog") + "a_objWebhooklog": [CustomWebhooklogResponse.from_dict(_item) for _item in obj["a_objWebhooklog"]] if obj.get("a_objWebhooklog") is not None else None }) return _obj diff --git a/eZmaxApi/models/webhook_get_list_v1_response.py b/eZmaxApi/models/webhook_get_list_v1_response.py index ca1993371..29c649d26 100644 --- a/eZmaxApi/models/webhook_get_list_v1_response.py +++ b/eZmaxApi/models/webhook_get_list_v1_response.py @@ -18,19 +18,20 @@ import re # noqa: F401 import json -from pydantic import ConfigDict, Field -from typing import Any, ClassVar, Dict, List -from eZmaxApi.models.common_response_get_list import CommonResponseGetList +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List, Optional from eZmaxApi.models.common_response_obj_debug import CommonResponseObjDebug from eZmaxApi.models.common_response_obj_debug_payload_get_list import CommonResponseObjDebugPayloadGetList from eZmaxApi.models.webhook_get_list_v1_response_m_payload import WebhookGetListV1ResponseMPayload from typing import Optional, Set from typing_extensions import Self -class WebhookGetListV1Response(CommonResponseGetList): +class WebhookGetListV1Response(BaseModel): """ Response for GET /1/object/webhook/getList """ # noqa: E501 + obj_debug_payload: CommonResponseObjDebugPayloadGetList = Field(alias="objDebugPayload") + obj_debug: Optional[CommonResponseObjDebug] = Field(default=None, alias="objDebug") m_payload: WebhookGetListV1ResponseMPayload = Field(alias="mPayload") __properties: ClassVar[List[str]] = ["objDebugPayload", "objDebug", "mPayload"] diff --git a/eZmaxApi/models/webhook_get_list_v1_response_m_payload.py b/eZmaxApi/models/webhook_get_list_v1_response_m_payload.py index d267e19f0..2441da0a2 100644 --- a/eZmaxApi/models/webhook_get_list_v1_response_m_payload.py +++ b/eZmaxApi/models/webhook_get_list_v1_response_m_payload.py @@ -18,17 +18,18 @@ import re # noqa: F401 import json -from pydantic import ConfigDict, Field +from pydantic import BaseModel, ConfigDict, Field, StrictInt from typing import Any, ClassVar, Dict, List -from eZmaxApi.models.common_get_list_v1_response_m_payload import CommonGetListV1ResponseMPayload from eZmaxApi.models.webhook_list_element import WebhookListElement from typing import Optional, Set from typing_extensions import Self -class WebhookGetListV1ResponseMPayload(CommonGetListV1ResponseMPayload): +class WebhookGetListV1ResponseMPayload(BaseModel): """ Payload for GET /1/object/webhook/getList """ # noqa: E501 + i_row_returned: StrictInt = Field(description="The number of rows returned", alias="iRowReturned") + i_row_filtered: StrictInt = Field(description="The number of rows matching your filters (if any) or the total number of rows", alias="iRowFiltered") a_obj_webhook: List[WebhookListElement] = Field(alias="a_objWebhook") __properties: ClassVar[List[str]] = ["iRowReturned", "iRowFiltered", "a_objWebhook"] diff --git a/eZmaxApi/models/webhook_get_object_v2_response.py b/eZmaxApi/models/webhook_get_object_v2_response.py index b1ff078e4..8d3325131 100644 --- a/eZmaxApi/models/webhook_get_object_v2_response.py +++ b/eZmaxApi/models/webhook_get_object_v2_response.py @@ -18,19 +18,20 @@ import re # noqa: F401 import json -from pydantic import ConfigDict, Field -from typing import Any, ClassVar, Dict, List -from eZmaxApi.models.common_response import CommonResponse +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List, Optional from eZmaxApi.models.common_response_obj_debug import CommonResponseObjDebug from eZmaxApi.models.common_response_obj_debug_payload import CommonResponseObjDebugPayload from eZmaxApi.models.webhook_get_object_v2_response_m_payload import WebhookGetObjectV2ResponseMPayload from typing import Optional, Set from typing_extensions import Self -class WebhookGetObjectV2Response(CommonResponse): +class WebhookGetObjectV2Response(BaseModel): """ Response for GET /2/object/webhook/{pkiWebhookID} """ # noqa: E501 + obj_debug_payload: CommonResponseObjDebugPayload = Field(alias="objDebugPayload") + obj_debug: Optional[CommonResponseObjDebug] = Field(default=None, alias="objDebug") m_payload: WebhookGetObjectV2ResponseMPayload = Field(alias="mPayload") __properties: ClassVar[List[str]] = ["objDebugPayload", "objDebug", "mPayload"] diff --git a/eZmaxApi/models/webhook_regenerate_apikey_v1_response.py b/eZmaxApi/models/webhook_regenerate_apikey_v1_response.py index db76890c0..3a1aa4201 100644 --- a/eZmaxApi/models/webhook_regenerate_apikey_v1_response.py +++ b/eZmaxApi/models/webhook_regenerate_apikey_v1_response.py @@ -18,19 +18,20 @@ import re # noqa: F401 import json -from pydantic import ConfigDict, Field -from typing import Any, ClassVar, Dict, List -from eZmaxApi.models.common_response import CommonResponse +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List, Optional from eZmaxApi.models.common_response_obj_debug import CommonResponseObjDebug from eZmaxApi.models.common_response_obj_debug_payload import CommonResponseObjDebugPayload from eZmaxApi.models.webhook_regenerate_apikey_v1_response_m_payload import WebhookRegenerateApikeyV1ResponseMPayload from typing import Optional, Set from typing_extensions import Self -class WebhookRegenerateApikeyV1Response(CommonResponse): +class WebhookRegenerateApikeyV1Response(BaseModel): """ Response for POST /1/object/webhook/{pkiWebhookID}/regenerateApikey """ # noqa: E501 + obj_debug_payload: CommonResponseObjDebugPayload = Field(alias="objDebugPayload") + obj_debug: Optional[CommonResponseObjDebug] = Field(default=None, alias="objDebug") m_payload: WebhookRegenerateApikeyV1ResponseMPayload = Field(alias="mPayload") __properties: ClassVar[List[str]] = ["objDebugPayload", "objDebug", "mPayload"] diff --git a/eZmaxApi/models/webhook_request.py b/eZmaxApi/models/webhook_request.py index c2c2d4665..d72a362fe 100644 --- a/eZmaxApi/models/webhook_request.py +++ b/eZmaxApi/models/webhook_request.py @@ -94,7 +94,28 @@ def to_dict(self) -> Dict[str, Any]: return _dict @classmethod - def from_dict(cls, obj: Dict[str, Any]) -> Optional[Self]: + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: """Create an instance of WebhookRequest from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "pkiWebhookID": obj.get("pkiWebhookID"), + "fkiAuthenticationexternalID": obj.get("fkiAuthenticationexternalID"), + "fkiEzsignfoldertypeID": obj.get("fkiEzsignfoldertypeID"), + "sWebhookDescription": obj.get("sWebhookDescription"), + "eWebhookModule": obj.get("eWebhookModule"), + "eWebhookEzsignevent": obj.get("eWebhookEzsignevent"), + "eWebhookManagementevent": obj.get("eWebhookManagementevent"), + "sWebhookUrl": obj.get("sWebhookUrl"), + "sWebhookEmailfailed": obj.get("sWebhookEmailfailed"), + "bWebhookIsactive": obj.get("bWebhookIsactive"), + "bWebhookIssigned": obj.get("bWebhookIssigned"), + "bWebhookSkipsslvalidation": obj.get("bWebhookSkipsslvalidation") + }) + return _obj diff --git a/eZmaxApi/models/webhook_request_compound.py b/eZmaxApi/models/webhook_request_compound.py index a8eab76e8..d61a1b94c 100644 --- a/eZmaxApi/models/webhook_request_compound.py +++ b/eZmaxApi/models/webhook_request_compound.py @@ -18,23 +18,42 @@ import re # noqa: F401 import json -from pydantic import ConfigDict, Field +from pydantic import BaseModel, ConfigDict, Field, StrictBool, StrictInt, StrictStr, field_validator from typing import Any, ClassVar, Dict, List, Optional +from typing_extensions import Annotated from eZmaxApi.models.field_e_webhook_ezsignevent import FieldEWebhookEzsignevent from eZmaxApi.models.field_e_webhook_managementevent import FieldEWebhookManagementevent from eZmaxApi.models.field_e_webhook_module import FieldEWebhookModule -from eZmaxApi.models.webhook_request import WebhookRequest from eZmaxApi.models.webhookheader_request_compound import WebhookheaderRequestCompound from typing import Optional, Set from typing_extensions import Self -class WebhookRequestCompound(WebhookRequest): +class WebhookRequestCompound(BaseModel): """ A Webhook Object and children """ # noqa: E501 + pki_webhook_id: Optional[StrictInt] = Field(default=None, description="The unique ID of the Webhook", alias="pkiWebhookID") + fki_authenticationexternal_id: Optional[Annotated[int, Field(le=255, strict=True, ge=0)]] = Field(default=None, description="The unique ID of the Authenticationexternal", alias="fkiAuthenticationexternalID") + fki_ezsignfoldertype_id: Optional[Annotated[int, Field(le=65535, strict=True, ge=0)]] = Field(default=None, description="The unique ID of the Ezsignfoldertype.", alias="fkiEzsignfoldertypeID") + s_webhook_description: StrictStr = Field(description="The description of the Webhook", alias="sWebhookDescription") + e_webhook_module: FieldEWebhookModule = Field(alias="eWebhookModule") + e_webhook_ezsignevent: Optional[FieldEWebhookEzsignevent] = Field(default=None, alias="eWebhookEzsignevent") + e_webhook_managementevent: Optional[FieldEWebhookManagementevent] = Field(default=None, alias="eWebhookManagementevent") + s_webhook_url: Annotated[str, Field(strict=True)] = Field(description="The URL of the Webhook callback", alias="sWebhookUrl") + s_webhook_emailfailed: StrictStr = Field(description="The email that will receive the Webhook in case all attempts fail", alias="sWebhookEmailfailed") + b_webhook_isactive: StrictBool = Field(description="Whether the Webhook is active or not", alias="bWebhookIsactive") + b_webhook_issigned: Optional[StrictBool] = Field(default=None, description="Whether the requests will be signed or not", alias="bWebhookIssigned") + b_webhook_skipsslvalidation: StrictBool = Field(description="Wheter the server's SSL certificate should be validated or not. Not recommended to skip for production use", alias="bWebhookSkipsslvalidation") a_obj_webhookheader: Optional[List[WebhookheaderRequestCompound]] = Field(default=None, alias="a_objWebhookheader") __properties: ClassVar[List[str]] = ["pkiWebhookID", "fkiAuthenticationexternalID", "fkiEzsignfoldertypeID", "sWebhookDescription", "eWebhookModule", "eWebhookEzsignevent", "eWebhookManagementevent", "sWebhookUrl", "sWebhookEmailfailed", "bWebhookIsactive", "bWebhookIssigned", "bWebhookSkipsslvalidation", "a_objWebhookheader"] + @field_validator('s_webhook_url') + def s_webhook_url_validate_regular_expression(cls, value): + """Validates the regular expression""" + if not re.match(r"^(https|http):\/\/[^\s\/$.?#].[^\s]*$", value): + raise ValueError(r"must validate the regular expression /^(https|http):\/\/[^\s\/$.?#].[^\s]*$/") + return value + model_config = ConfigDict( populate_by_name=True, validate_assignment=True, diff --git a/eZmaxApi/models/webhook_response.py b/eZmaxApi/models/webhook_response.py index 338592e48..f688db3dc 100644 --- a/eZmaxApi/models/webhook_response.py +++ b/eZmaxApi/models/webhook_response.py @@ -113,7 +113,33 @@ def to_dict(self) -> Dict[str, Any]: return _dict @classmethod - def from_dict(cls, obj: Dict[str, Any]) -> Optional[Self]: + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: """Create an instance of WebhookResponse from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "pkiWebhookID": obj.get("pkiWebhookID"), + "fkiAuthenticationexternalID": obj.get("fkiAuthenticationexternalID"), + "sWebhookDescription": obj.get("sWebhookDescription"), + "fkiEzsignfoldertypeID": obj.get("fkiEzsignfoldertypeID"), + "sEzsignfoldertypeNameX": obj.get("sEzsignfoldertypeNameX"), + "eWebhookModule": obj.get("eWebhookModule"), + "eWebhookEzsignevent": obj.get("eWebhookEzsignevent"), + "eWebhookManagementevent": obj.get("eWebhookManagementevent"), + "sWebhookUrl": obj.get("sWebhookUrl"), + "sWebhookEmailfailed": obj.get("sWebhookEmailfailed"), + "sWebhookApikey": obj.get("sWebhookApikey"), + "sWebhookSecret": obj.get("sWebhookSecret"), + "bWebhookIsactive": obj.get("bWebhookIsactive"), + "bWebhookIssigned": obj.get("bWebhookIssigned"), + "bWebhookSkipsslvalidation": obj.get("bWebhookSkipsslvalidation"), + "sAuthenticationexternalDescription": obj.get("sAuthenticationexternalDescription"), + "objAudit": CommonAudit.from_dict(obj["objAudit"]) if obj.get("objAudit") is not None else None + }) + return _obj diff --git a/eZmaxApi/models/webhook_response_compound.py b/eZmaxApi/models/webhook_response_compound.py index e896ddddc..876527caf 100644 --- a/eZmaxApi/models/webhook_response_compound.py +++ b/eZmaxApi/models/webhook_response_compound.py @@ -18,25 +18,59 @@ import re # noqa: F401 import json -from pydantic import ConfigDict, Field, StrictStr +from pydantic import BaseModel, ConfigDict, Field, StrictBool, StrictInt, StrictStr, field_validator from typing import Any, ClassVar, Dict, List, Optional +from typing_extensions import Annotated from eZmaxApi.models.common_audit import CommonAudit from eZmaxApi.models.field_e_webhook_ezsignevent import FieldEWebhookEzsignevent from eZmaxApi.models.field_e_webhook_managementevent import FieldEWebhookManagementevent from eZmaxApi.models.field_e_webhook_module import FieldEWebhookModule -from eZmaxApi.models.webhook_response import WebhookResponse from eZmaxApi.models.webhookheader_response_compound import WebhookheaderResponseCompound from typing import Optional, Set from typing_extensions import Self -class WebhookResponseCompound(WebhookResponse): +class WebhookResponseCompound(BaseModel): """ A Webhook Object """ # noqa: E501 + pki_webhook_id: StrictInt = Field(description="The unique ID of the Webhook", alias="pkiWebhookID") + fki_authenticationexternal_id: Optional[Annotated[int, Field(le=255, strict=True, ge=0)]] = Field(default=None, description="The unique ID of the Authenticationexternal", alias="fkiAuthenticationexternalID") + s_webhook_description: StrictStr = Field(description="The description of the Webhook", alias="sWebhookDescription") + fki_ezsignfoldertype_id: Optional[Annotated[int, Field(le=65535, strict=True, ge=0)]] = Field(default=None, description="The unique ID of the Ezsignfoldertype.", alias="fkiEzsignfoldertypeID") + s_ezsignfoldertype_name_x: Optional[StrictStr] = Field(default=None, description="The name of the Ezsignfoldertype in the language of the requester", alias="sEzsignfoldertypeNameX") + e_webhook_module: FieldEWebhookModule = Field(alias="eWebhookModule") + e_webhook_ezsignevent: Optional[FieldEWebhookEzsignevent] = Field(default=None, alias="eWebhookEzsignevent") + e_webhook_managementevent: Optional[FieldEWebhookManagementevent] = Field(default=None, alias="eWebhookManagementevent") + s_webhook_url: Annotated[str, Field(strict=True)] = Field(description="The URL of the Webhook callback", alias="sWebhookUrl") + s_webhook_emailfailed: StrictStr = Field(description="The email that will receive the Webhook in case all attempts fail", alias="sWebhookEmailfailed") + s_webhook_apikey: Optional[StrictStr] = Field(default=None, description="The Apikey for the Webhook. This will be hidden if we are not creating or regenerating the Apikey.", alias="sWebhookApikey") + s_webhook_secret: Optional[StrictStr] = Field(default=None, description="The Secret for the Webhook. This will be hidden if we are not creating or regenerating the Apikey.", alias="sWebhookSecret") + b_webhook_isactive: StrictBool = Field(description="Whether the Webhook is active or not", alias="bWebhookIsactive") + b_webhook_issigned: StrictBool = Field(description="Whether the requests will be signed or not", alias="bWebhookIssigned") + b_webhook_skipsslvalidation: StrictBool = Field(description="Wheter the server's SSL certificate should be validated or not. Not recommended to skip for production use", alias="bWebhookSkipsslvalidation") + s_authenticationexternal_description: Optional[Annotated[str, Field(strict=True)]] = Field(default=None, description="The description of the Authenticationexternal", alias="sAuthenticationexternalDescription") + obj_audit: CommonAudit = Field(alias="objAudit") s_webhook_event: Optional[StrictStr] = Field(default=None, description="The concatenated string to describe the Webhook event", alias="sWebhookEvent") a_obj_webhookheader: Optional[List[WebhookheaderResponseCompound]] = Field(default=None, alias="a_objWebhookheader") __properties: ClassVar[List[str]] = ["pkiWebhookID", "fkiAuthenticationexternalID", "sWebhookDescription", "fkiEzsignfoldertypeID", "sEzsignfoldertypeNameX", "eWebhookModule", "eWebhookEzsignevent", "eWebhookManagementevent", "sWebhookUrl", "sWebhookEmailfailed", "sWebhookApikey", "sWebhookSecret", "bWebhookIsactive", "bWebhookIssigned", "bWebhookSkipsslvalidation", "sAuthenticationexternalDescription", "objAudit", "sWebhookEvent", "a_objWebhookheader"] + @field_validator('s_webhook_url') + def s_webhook_url_validate_regular_expression(cls, value): + """Validates the regular expression""" + if not re.match(r"^(https|http):\/\/[^\s\/$.?#].[^\s]*$", value): + raise ValueError(r"must validate the regular expression /^(https|http):\/\/[^\s\/$.?#].[^\s]*$/") + return value + + @field_validator('s_authenticationexternal_description') + def s_authenticationexternal_description_validate_regular_expression(cls, value): + """Validates the regular expression""" + if value is None: + return value + + if not re.match(r"^.{0,50}$", value): + raise ValueError(r"must validate the regular expression /^.{0,50}$/") + return value + model_config = ConfigDict( populate_by_name=True, validate_assignment=True, @@ -89,7 +123,35 @@ def to_dict(self) -> Dict[str, Any]: return _dict @classmethod - def from_dict(cls, obj: Dict[str, Any]) -> Optional[Self]: + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: """Create an instance of WebhookResponseCompound from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "pkiWebhookID": obj.get("pkiWebhookID"), + "fkiAuthenticationexternalID": obj.get("fkiAuthenticationexternalID"), + "sWebhookDescription": obj.get("sWebhookDescription"), + "fkiEzsignfoldertypeID": obj.get("fkiEzsignfoldertypeID"), + "sEzsignfoldertypeNameX": obj.get("sEzsignfoldertypeNameX"), + "eWebhookModule": obj.get("eWebhookModule"), + "eWebhookEzsignevent": obj.get("eWebhookEzsignevent"), + "eWebhookManagementevent": obj.get("eWebhookManagementevent"), + "sWebhookUrl": obj.get("sWebhookUrl"), + "sWebhookEmailfailed": obj.get("sWebhookEmailfailed"), + "sWebhookApikey": obj.get("sWebhookApikey"), + "sWebhookSecret": obj.get("sWebhookSecret"), + "bWebhookIsactive": obj.get("bWebhookIsactive"), + "bWebhookIssigned": obj.get("bWebhookIssigned"), + "bWebhookSkipsslvalidation": obj.get("bWebhookSkipsslvalidation"), + "sAuthenticationexternalDescription": obj.get("sAuthenticationexternalDescription"), + "objAudit": CommonAudit.from_dict(obj["objAudit"]) if obj.get("objAudit") is not None else None, + "sWebhookEvent": obj.get("sWebhookEvent"), + "a_objWebhookheader": [WebhookheaderResponseCompound.from_dict(_item) for _item in obj["a_objWebhookheader"]] if obj.get("a_objWebhookheader") is not None else None + }) + return _obj diff --git a/eZmaxApi/models/webhook_send_webhook_v1_response.py b/eZmaxApi/models/webhook_send_webhook_v1_response.py index bbe5e3921..c193d6cd8 100644 --- a/eZmaxApi/models/webhook_send_webhook_v1_response.py +++ b/eZmaxApi/models/webhook_send_webhook_v1_response.py @@ -18,18 +18,19 @@ import re # noqa: F401 import json -from pydantic import ConfigDict -from typing import Any, ClassVar, Dict, List -from eZmaxApi.models.common_response import CommonResponse +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List, Optional from eZmaxApi.models.common_response_obj_debug import CommonResponseObjDebug from eZmaxApi.models.common_response_obj_debug_payload import CommonResponseObjDebugPayload from typing import Optional, Set from typing_extensions import Self -class WebhookSendWebhookV1Response(CommonResponse): +class WebhookSendWebhookV1Response(BaseModel): """ Response for POST /1/object/webhook/sendWebhook """ # noqa: E501 + obj_debug_payload: CommonResponseObjDebugPayload = Field(alias="objDebugPayload") + obj_debug: Optional[CommonResponseObjDebug] = Field(default=None, alias="objDebug") __properties: ClassVar[List[str]] = ["objDebugPayload", "objDebug"] model_config = ConfigDict( diff --git a/eZmaxApi/models/webhook_test_v1_response.py b/eZmaxApi/models/webhook_test_v1_response.py index dd3ad09dd..d42cb53a4 100644 --- a/eZmaxApi/models/webhook_test_v1_response.py +++ b/eZmaxApi/models/webhook_test_v1_response.py @@ -18,18 +18,19 @@ import re # noqa: F401 import json -from pydantic import ConfigDict -from typing import Any, ClassVar, Dict, List -from eZmaxApi.models.common_response import CommonResponse +from pydantic import BaseModel, ConfigDict, Field +from typing import Any, ClassVar, Dict, List, Optional from eZmaxApi.models.common_response_obj_debug import CommonResponseObjDebug from eZmaxApi.models.common_response_obj_debug_payload import CommonResponseObjDebugPayload from typing import Optional, Set from typing_extensions import Self -class WebhookTestV1Response(CommonResponse): +class WebhookTestV1Response(BaseModel): """ Response for POST /1/object/webhook/{pkiWebhookID}/test """ # noqa: E501 + obj_debug_payload: CommonResponseObjDebugPayload = Field(alias="objDebugPayload") + obj_debug: Optional[CommonResponseObjDebug] = Field(default=None, alias="objDebug") __properties: ClassVar[List[str]] = ["objDebugPayload", "objDebug"] model_config = ConfigDict( diff --git a/eZmaxApi/models/webhook_user_user_created.py b/eZmaxApi/models/webhook_user_user_created.py index dcc2658d4..1af0a5efb 100644 --- a/eZmaxApi/models/webhook_user_user_created.py +++ b/eZmaxApi/models/webhook_user_user_created.py @@ -18,20 +18,21 @@ import re # noqa: F401 import json -from pydantic import ConfigDict, Field +from pydantic import BaseModel, ConfigDict, Field from typing import Any, ClassVar, Dict, List -from eZmaxApi.models.attempt_response import AttemptResponse -from eZmaxApi.models.common_webhook import CommonWebhook +from eZmaxApi.models.attempt_response_compound import AttemptResponseCompound from eZmaxApi.models.custom_webhook_response import CustomWebhookResponse -from eZmaxApi.models.user_response import UserResponse +from eZmaxApi.models.user_response_compound import UserResponseCompound from typing import Optional, Set from typing_extensions import Self -class WebhookUserUserCreated(CommonWebhook): +class WebhookUserUserCreated(BaseModel): """ This is the base Webhook object """ # noqa: E501 - obj_user: UserResponse = Field(description="A User Object and children to create a complete structure", alias="objUser") + obj_webhook: CustomWebhookResponse = Field(alias="objWebhook") + a_obj_attempt: List[AttemptResponseCompound] = Field(description="An array containing details of previous attempts that were made to deliver the message. The array is empty if it's the first attempt.", alias="a_objAttempt") + obj_user: UserResponseCompound = Field(alias="objUser") __properties: ClassVar[List[str]] = ["objWebhook", "a_objAttempt", "objUser"] model_config = ConfigDict( @@ -99,8 +100,8 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: _obj = cls.model_validate({ "objWebhook": CustomWebhookResponse.from_dict(obj["objWebhook"]) if obj.get("objWebhook") is not None else None, - "a_objAttempt": [AttemptResponse.from_dict(_item) for _item in obj["a_objAttempt"]] if obj.get("a_objAttempt") is not None else None, - "objUser": UserResponse.from_dict(obj["objUser"]) if obj.get("objUser") is not None else None + "a_objAttempt": [AttemptResponseCompound.from_dict(_item) for _item in obj["a_objAttempt"]] if obj.get("a_objAttempt") is not None else None, + "objUser": UserResponseCompound.from_dict(obj["objUser"]) if obj.get("objUser") is not None else None }) return _obj diff --git a/eZmaxApi/models/webhook_userstaged_userstaged_created.py b/eZmaxApi/models/webhook_userstaged_userstaged_created.py index 2861d4c3b..84f47aa20 100644 --- a/eZmaxApi/models/webhook_userstaged_userstaged_created.py +++ b/eZmaxApi/models/webhook_userstaged_userstaged_created.py @@ -18,20 +18,21 @@ import re # noqa: F401 import json -from pydantic import ConfigDict, Field +from pydantic import BaseModel, ConfigDict, Field from typing import Any, ClassVar, Dict, List -from eZmaxApi.models.attempt_response import AttemptResponse -from eZmaxApi.models.common_webhook import CommonWebhook +from eZmaxApi.models.attempt_response_compound import AttemptResponseCompound from eZmaxApi.models.custom_webhook_response import CustomWebhookResponse -from eZmaxApi.models.userstaged_response import UserstagedResponse +from eZmaxApi.models.userstaged_response_compound import UserstagedResponseCompound from typing import Optional, Set from typing_extensions import Self -class WebhookUserstagedUserstagedCreated(CommonWebhook): +class WebhookUserstagedUserstagedCreated(BaseModel): """ This is the base Webhook object """ # noqa: E501 - obj_userstaged: UserstagedResponse = Field(description="A Userstaged Object", alias="objUserstaged") + obj_webhook: CustomWebhookResponse = Field(alias="objWebhook") + a_obj_attempt: List[AttemptResponseCompound] = Field(description="An array containing details of previous attempts that were made to deliver the message. The array is empty if it's the first attempt.", alias="a_objAttempt") + obj_userstaged: UserstagedResponseCompound = Field(alias="objUserstaged") __properties: ClassVar[List[str]] = ["objWebhook", "a_objAttempt", "objUserstaged"] model_config = ConfigDict( @@ -99,8 +100,8 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: _obj = cls.model_validate({ "objWebhook": CustomWebhookResponse.from_dict(obj["objWebhook"]) if obj.get("objWebhook") is not None else None, - "a_objAttempt": [AttemptResponse.from_dict(_item) for _item in obj["a_objAttempt"]] if obj.get("a_objAttempt") is not None else None, - "objUserstaged": UserstagedResponse.from_dict(obj["objUserstaged"]) if obj.get("objUserstaged") is not None else None + "a_objAttempt": [AttemptResponseCompound.from_dict(_item) for _item in obj["a_objAttempt"]] if obj.get("a_objAttempt") is not None else None, + "objUserstaged": UserstagedResponseCompound.from_dict(obj["objUserstaged"]) if obj.get("objUserstaged") is not None else None }) return _obj diff --git a/eZmaxApi/models/webhookheader_request.py b/eZmaxApi/models/webhookheader_request.py index 09650dafb..cc1a7bf0f 100644 --- a/eZmaxApi/models/webhookheader_request.py +++ b/eZmaxApi/models/webhookheader_request.py @@ -89,7 +89,19 @@ def to_dict(self) -> Dict[str, Any]: return _dict @classmethod - def from_dict(cls, obj: Dict[str, Any]) -> Optional[Self]: + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: """Create an instance of WebhookheaderRequest from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "pkiWebhookheaderID": obj.get("pkiWebhookheaderID"), + "sWebhookheaderName": obj.get("sWebhookheaderName"), + "sWebhookheaderValue": obj.get("sWebhookheaderValue") + }) + return _obj diff --git a/eZmaxApi/models/webhookheader_request_compound.py b/eZmaxApi/models/webhookheader_request_compound.py index eca682501..80d8bd7d2 100644 --- a/eZmaxApi/models/webhookheader_request_compound.py +++ b/eZmaxApi/models/webhookheader_request_compound.py @@ -18,18 +18,35 @@ import re # noqa: F401 import json -from pydantic import ConfigDict -from typing import Any, ClassVar, Dict, List -from eZmaxApi.models.webhookheader_request import WebhookheaderRequest +from pydantic import BaseModel, ConfigDict, Field, StrictInt, field_validator +from typing import Any, ClassVar, Dict, List, Optional +from typing_extensions import Annotated from typing import Optional, Set from typing_extensions import Self -class WebhookheaderRequestCompound(WebhookheaderRequest): +class WebhookheaderRequestCompound(BaseModel): """ A Webhookheader Object """ # noqa: E501 + pki_webhookheader_id: Optional[StrictInt] = Field(default=None, description="The unique ID of the Webhookheader", alias="pkiWebhookheaderID") + s_webhookheader_name: Annotated[str, Field(strict=True)] = Field(description="The Name of the Webhookheader", alias="sWebhookheaderName") + s_webhookheader_value: Annotated[str, Field(strict=True)] = Field(description="The Value of the Webhookheader", alias="sWebhookheaderValue") __properties: ClassVar[List[str]] = ["pkiWebhookheaderID", "sWebhookheaderName", "sWebhookheaderValue"] + @field_validator('s_webhookheader_name') + def s_webhookheader_name_validate_regular_expression(cls, value): + """Validates the regular expression""" + if not re.match(r"^(?!(?:e|E)(?:z|Z)(?:m|M)(?:a|A)(?:x|X))(?!(?:h|H)(?:o|O)(?:s|S)(?:t|T)$|(?:u|U)(?:s|S)(?:e|E)(?:r|R)-(?:a|A)(?:g|G)(?:e|E)(?:n|N)(?:t|T)$)(?!\s)[^\s].*$", value): + raise ValueError(r"must validate the regular expression /^(?!(?:e|E)(?:z|Z)(?:m|M)(?:a|A)(?:x|X))(?!(?:h|H)(?:o|O)(?:s|S)(?:t|T)$|(?:u|U)(?:s|S)(?:e|E)(?:r|R)-(?:a|A)(?:g|G)(?:e|E)(?:n|N)(?:t|T)$)(?!\s)[^\s].*$/") + return value + + @field_validator('s_webhookheader_value') + def s_webhookheader_value_validate_regular_expression(cls, value): + """Validates the regular expression""" + if not re.match(r"^.{1,255}$", value): + raise ValueError(r"must validate the regular expression /^.{1,255}$/") + return value + model_config = ConfigDict( populate_by_name=True, validate_assignment=True, diff --git a/eZmaxApi/models/webhookheader_response.py b/eZmaxApi/models/webhookheader_response.py index 0afaf01c7..5c2f7f4d3 100644 --- a/eZmaxApi/models/webhookheader_response.py +++ b/eZmaxApi/models/webhookheader_response.py @@ -90,7 +90,20 @@ def to_dict(self) -> Dict[str, Any]: return _dict @classmethod - def from_dict(cls, obj: Dict[str, Any]) -> Optional[Self]: + def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: """Create an instance of WebhookheaderResponse from a dict""" + if obj is None: + return None + + if not isinstance(obj, dict): + return cls.model_validate(obj) + + _obj = cls.model_validate({ + "pkiWebhookheaderID": obj.get("pkiWebhookheaderID"), + "fkiWebhookID": obj.get("fkiWebhookID"), + "sWebhookheaderName": obj.get("sWebhookheaderName"), + "sWebhookheaderValue": obj.get("sWebhookheaderValue") + }) + return _obj diff --git a/eZmaxApi/models/webhookheader_response_compound.py b/eZmaxApi/models/webhookheader_response_compound.py index 47f9b9685..672beb02c 100644 --- a/eZmaxApi/models/webhookheader_response_compound.py +++ b/eZmaxApi/models/webhookheader_response_compound.py @@ -18,18 +18,36 @@ import re # noqa: F401 import json -from pydantic import ConfigDict +from pydantic import BaseModel, ConfigDict, Field, StrictInt, field_validator from typing import Any, ClassVar, Dict, List -from eZmaxApi.models.webhookheader_response import WebhookheaderResponse +from typing_extensions import Annotated from typing import Optional, Set from typing_extensions import Self -class WebhookheaderResponseCompound(WebhookheaderResponse): +class WebhookheaderResponseCompound(BaseModel): """ A Webhookheader Object """ # noqa: E501 + pki_webhookheader_id: StrictInt = Field(description="The unique ID of the Webhookheader", alias="pkiWebhookheaderID") + fki_webhook_id: StrictInt = Field(description="The unique ID of the Webhook", alias="fkiWebhookID") + s_webhookheader_name: Annotated[str, Field(strict=True)] = Field(description="The Name of the Webhookheader", alias="sWebhookheaderName") + s_webhookheader_value: Annotated[str, Field(strict=True)] = Field(description="The Value of the Webhookheader", alias="sWebhookheaderValue") __properties: ClassVar[List[str]] = ["pkiWebhookheaderID", "fkiWebhookID", "sWebhookheaderName", "sWebhookheaderValue"] + @field_validator('s_webhookheader_name') + def s_webhookheader_name_validate_regular_expression(cls, value): + """Validates the regular expression""" + if not re.match(r"^(?!(?:e|E)(?:z|Z)(?:m|M)(?:a|A)(?:x|X))(?!(?:h|H)(?:o|O)(?:s|S)(?:t|T)$|(?:u|U)(?:s|S)(?:e|E)(?:r|R)-(?:a|A)(?:g|G)(?:e|E)(?:n|N)(?:t|T)$)(?!\s)[^\s].*$", value): + raise ValueError(r"must validate the regular expression /^(?!(?:e|E)(?:z|Z)(?:m|M)(?:a|A)(?:x|X))(?!(?:h|H)(?:o|O)(?:s|S)(?:t|T)$|(?:u|U)(?:s|S)(?:e|E)(?:r|R)-(?:a|A)(?:g|G)(?:e|E)(?:n|N)(?:t|T)$)(?!\s)[^\s].*$/") + return value + + @field_validator('s_webhookheader_value') + def s_webhookheader_value_validate_regular_expression(cls, value): + """Validates the regular expression""" + if not re.match(r"^.{1,255}$", value): + raise ValueError(r"must validate the regular expression /^.{1,255}$/") + return value + model_config = ConfigDict( populate_by_name=True, validate_assignment=True, diff --git a/openapitools.json b/openapitools.json index f8d07ce1d..f80faaa6d 100644 --- a/openapitools.json +++ b/openapitools.json @@ -2,6 +2,6 @@ "$schema": "./node_modules/@openapitools/openapi-generator-cli/config.schema.json", "spaces": 2, "generator-cli": { - "version": "7.10.0" + "version": "7.9.0" } } diff --git a/pyproject.toml b/pyproject.toml index 3cf0db537..0d76c05e6 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -49,7 +49,7 @@ warn_unused_ignores = true ## Getting these passing should be easy strict_equality = true -extra_checks = true +strict_concatenate = true ## Strongly recommend enabling this one as soon as you can check_untyped_defs = true @@ -70,20 +70,3 @@ disallow_any_generics = true # ### This one can be tricky to get passing if you use a lot of untyped libraries #warn_return_any = true - -[[tool.mypy.overrides]] -module = [ - "eZmaxApi.configuration", -] -warn_unused_ignores = true -strict_equality = true -extra_checks = true -check_untyped_defs = true -disallow_subclassing_any = true -disallow_untyped_decorators = true -disallow_any_generics = true -disallow_untyped_calls = true -disallow_incomplete_defs = true -disallow_untyped_defs = true -no_implicit_reexport = true -warn_return_any = true diff --git a/test/test_activesession_generate_federation_token_v1_response.py b/test/test_activesession_generate_federation_token_v1_response.py index a8c8144e0..9bcf6e966 100644 --- a/test/test_activesession_generate_federation_token_v1_response.py +++ b/test/test_activesession_generate_federation_token_v1_response.py @@ -36,17 +36,34 @@ def make_instance(self, include_optional) -> ActivesessionGenerateFederationToke model = ActivesessionGenerateFederationTokenV1Response() if include_optional: return ActivesessionGenerateFederationTokenV1Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), + obj_debug = {"sMemoryUsage":"11,923MB","sRunTime":"0.6084s","iSQLSelects":3,"iSQLQueries":6,"a_objSQLQuery":[{"sQuery":"SELECT * FROM table","fDuration":1.0E-4},{"sQuery":"SELECT * FROM table","fDuration":1.0E-4}]}, m_payload = eZmaxApi.models.activesession_generate_federation_token_v1_response_m_payload.activesession-generateFederationToken-v1-Response-mPayload( obj_apikeyfederation = eZmaxApi.models.custom_apikeyfederation.Custom-Apikeyfederation( - s_apikeyfederation_key = 'jUR,rZ#UM/?R,Fp^l6$ARjbhJk C>i H\'qT\\{i H'qT\\{i H\'qT\\{i H'qT\\{ ActivesessionGenerateFederationToke if include_optional: return ActivesessionGenerateFederationTokenV1ResponseMPayload( obj_apikeyfederation = eZmaxApi.models.custom_apikeyfederation.Custom-Apikeyfederation( - s_apikeyfederation_key = 'jUR,rZ#UM/?R,Fp^l6$ARjbhJk C>i H\'qT\\{i H'qT\\{i H\'qT\\{i H'qT\\{ ActivesessionGetCurrentV1Response: model = ActivesessionGetCurrentV1Response() if include_optional: return ActivesessionGetCurrentV1Response( - m_payload = eZmaxApi.models.activesession_response_compound.activesession-ResponseCompound() + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), + obj_debug = {"sMemoryUsage":"11,923MB","sRunTime":"0.6084s","iSQLSelects":3,"iSQLQueries":6,"a_objSQLQuery":[{"sQuery":"SELECT * FROM table","fDuration":1.0E-4},{"sQuery":"SELECT * FROM table","fDuration":1.0E-4}]}, + m_payload = eZmaxApi.models.activesession_get_current_v1_response_m_payload.activesession-getCurrent-v1-Response-mPayload() ) else: return ActivesessionGetCurrentV1Response( - m_payload = eZmaxApi.models.activesession_response_compound.activesession-ResponseCompound(), + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), + m_payload = eZmaxApi.models.activesession_get_current_v1_response_m_payload.activesession-getCurrent-v1-Response-mPayload(), ) """ diff --git a/test/test_activesession_get_current_v1_response_m_payload.py b/test/test_activesession_get_current_v1_response_m_payload.py index 384bf970c..31c3b7188 100644 --- a/test/test_activesession_get_current_v1_response_m_payload.py +++ b/test/test_activesession_get_current_v1_response_m_payload.py @@ -36,9 +36,95 @@ def make_instance(self, include_optional) -> ActivesessionGetCurrentV1ResponseMP model = ActivesessionGetCurrentV1ResponseMPayload() if include_optional: return ActivesessionGetCurrentV1ResponseMPayload( + e_activesession_usertype = 'Normal', + e_activesession_origin = 'BuiltIn', + e_activesession_weekdaystart = 'Sunday', + fki_language_id = 2, + s_company_name_x = 'Acme inc.', + s_department_name_x = 'Head Office', + b_activesession_debug = False, + b_activesession_issuperadmin = False, + b_activesession_attachment = False, + b_activesession_canafe = False, + b_activesession_financial = False, + b_activesession_realestatecompleted = False, + e_activesession_ezsign = 'Full', + e_activesession_ezsignaccess = 'Prepaid', + e_activesession_ezsignprepaid = 'Basic', + e_activesession_realestateinprogress = 'Create', + pks_customer_code = 'demo', + fki_systemconfigurationtype_id = 28, + fki_signature_id = 12, + fki_ezsignuser_id = 94, + b_systemconfiguration_ezsignpaidbyoffice = True, + e_systemconfiguration_ezsignofficeplan = 'Standard', + e_user_ezsignaccess = 'PaidByOffice', + e_user_ezsignprepaid = 'Basic', + b_user_ezsigntrial = False, + dt_user_ezsignprepaidexpiration = '2020-12-31', + a_pki_permission_id = [ + 53 + ], + obj_user_real = eZmaxApi.models.activesession_response_compound_user.activesession-ResponseCompound-User( + pki_user_id = 70, + fki_timezone_id = 247, + s_avatar_url = 'http://www.website.com/avatar.jpg', + s_user_firstname = 'John', + s_user_lastname = 'Doe', + s_email_address = 'email@example.com', + e_user_ezsignsendreminderfrequency = 'None', + i_user_interfacecolor = 3752795, + b_user_interfacedark = False, + i_user_listresult = 25, ), + obj_user_cloned = eZmaxApi.models.activesession_response_compound_user.activesession-ResponseCompound-User( + pki_user_id = 70, + fki_timezone_id = 247, + s_avatar_url = 'http://www.website.com/avatar.jpg', + s_user_firstname = 'John', + s_user_lastname = 'Doe', + s_email_address = 'email@example.com', + e_user_ezsignsendreminderfrequency = 'None', + i_user_interfacecolor = 3752795, + b_user_interfacedark = False, + i_user_listresult = 25, ), + obj_apikey = eZmaxApi.models.activesession_response_compound_apikey.activesession-ResponseCompound-Apikey( + pki_apikey_id = 99, + s_apikey_description_x = 'Project X', ), + a_e_module_internalname = [ + 'Purchases' + ] ) else: return ActivesessionGetCurrentV1ResponseMPayload( + e_activesession_usertype = 'Normal', + e_activesession_origin = 'BuiltIn', + e_activesession_weekdaystart = 'Sunday', + fki_language_id = 2, + s_company_name_x = 'Acme inc.', + s_department_name_x = 'Head Office', + b_activesession_debug = False, + b_activesession_issuperadmin = False, + e_activesession_ezsignaccess = 'Prepaid', + pks_customer_code = 'demo', + fki_systemconfigurationtype_id = 28, + e_user_ezsignaccess = 'PaidByOffice', + a_pki_permission_id = [ + 53 + ], + obj_user_real = eZmaxApi.models.activesession_response_compound_user.activesession-ResponseCompound-User( + pki_user_id = 70, + fki_timezone_id = 247, + s_avatar_url = 'http://www.website.com/avatar.jpg', + s_user_firstname = 'John', + s_user_lastname = 'Doe', + s_email_address = 'email@example.com', + e_user_ezsignsendreminderfrequency = 'None', + i_user_interfacecolor = 3752795, + b_user_interfacedark = False, + i_user_listresult = 25, ), + a_e_module_internalname = [ + 'Purchases' + ], ) """ diff --git a/test/test_activesession_get_current_v2_response.py b/test/test_activesession_get_current_v2_response.py index e08a1d9cc..a056f40f1 100644 --- a/test/test_activesession_get_current_v2_response.py +++ b/test/test_activesession_get_current_v2_response.py @@ -36,11 +36,28 @@ def make_instance(self, include_optional) -> ActivesessionGetCurrentV2Response: model = ActivesessionGetCurrentV2Response() if include_optional: return ActivesessionGetCurrentV2Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), + obj_debug = {"sMemoryUsage":"11,923MB","sRunTime":"0.6084s","iSQLSelects":3,"iSQLQueries":6,"a_objSQLQuery":[{"sQuery":"SELECT * FROM table","fDuration":1.0E-4},{"sQuery":"SELECT * FROM table","fDuration":1.0E-4}]}, m_payload = eZmaxApi.models.activesession_get_current_v2_response_m_payload.activesession-getCurrent-v2-Response-mPayload( obj_activesession = eZmaxApi.models.activesession_response_compound.activesession-ResponseCompound(), ) ) else: return ActivesessionGetCurrentV2Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), m_payload = eZmaxApi.models.activesession_get_current_v2_response_m_payload.activesession-getCurrent-v2-Response-mPayload( obj_activesession = eZmaxApi.models.activesession_response_compound.activesession-ResponseCompound(), ), ) diff --git a/test/test_activesession_get_list_v1_response.py b/test/test_activesession_get_list_v1_response.py index 131beb2d5..a4c7a8f08 100644 --- a/test/test_activesession_get_list_v1_response.py +++ b/test/test_activesession_get_list_v1_response.py @@ -36,10 +36,13 @@ def make_instance(self, include_optional) -> ActivesessionGetListV1Response: model = ActivesessionGetListV1Response() if include_optional: return ActivesessionGetListV1Response( + 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.activesession_get_list_v1_response_m_payload.activesession-getList-v1-Response-mPayload() ) else: return ActivesessionGetListV1Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload_get_list.Common-Response-objDebugPayload_getList(), m_payload = eZmaxApi.models.activesession_get_list_v1_response_m_payload.activesession-getList-v1-Response-mPayload(), ) """ diff --git a/test/test_activesession_get_list_v1_response_m_payload.py b/test/test_activesession_get_list_v1_response_m_payload.py index fc2eda4de..d427622e4 100644 --- a/test/test_activesession_get_list_v1_response_m_payload.py +++ b/test/test_activesession_get_list_v1_response_m_payload.py @@ -36,6 +36,8 @@ def make_instance(self, include_optional) -> ActivesessionGetListV1ResponseMPayl model = ActivesessionGetListV1ResponseMPayload() if include_optional: return ActivesessionGetListV1ResponseMPayload( + i_row_returned = 100, + i_row_filtered = 533, a_obj_activesession = [ eZmaxApi.models.activesession_list_element.activesession-ListElement( pki_activesession_id = 16, @@ -54,6 +56,8 @@ def make_instance(self, include_optional) -> ActivesessionGetListV1ResponseMPayl ) else: return ActivesessionGetListV1ResponseMPayload( + i_row_returned = 100, + i_row_filtered = 533, a_obj_activesession = [ eZmaxApi.models.activesession_list_element.activesession-ListElement( pki_activesession_id = 16, diff --git a/test/test_activesession_response_compound.py b/test/test_activesession_response_compound.py index 1994fb79b..2d5f3f3a2 100644 --- a/test/test_activesession_response_compound.py +++ b/test/test_activesession_response_compound.py @@ -36,6 +36,25 @@ def make_instance(self, include_optional) -> ActivesessionResponseCompound: model = ActivesessionResponseCompound() if include_optional: return ActivesessionResponseCompound( + e_activesession_usertype = 'Normal', + e_activesession_origin = 'BuiltIn', + e_activesession_weekdaystart = 'Sunday', + fki_language_id = 2, + s_company_name_x = 'Acme inc.', + s_department_name_x = 'Head Office', + b_activesession_debug = False, + b_activesession_issuperadmin = False, + b_activesession_attachment = False, + b_activesession_canafe = False, + b_activesession_financial = False, + b_activesession_realestatecompleted = False, + e_activesession_ezsign = 'Full', + e_activesession_ezsignaccess = 'Prepaid', + e_activesession_ezsignprepaid = 'Basic', + e_activesession_realestateinprogress = 'Create', + pks_customer_code = 'demo', + fki_systemconfigurationtype_id = 28, + fki_signature_id = 12, fki_ezsignuser_id = 94, b_systemconfiguration_ezsignpaidbyoffice = True, e_systemconfiguration_ezsignofficeplan = 'Standard', @@ -77,6 +96,17 @@ def make_instance(self, include_optional) -> ActivesessionResponseCompound: ) else: return ActivesessionResponseCompound( + e_activesession_usertype = 'Normal', + e_activesession_origin = 'BuiltIn', + e_activesession_weekdaystart = 'Sunday', + fki_language_id = 2, + s_company_name_x = 'Acme inc.', + s_department_name_x = 'Head Office', + b_activesession_debug = False, + b_activesession_issuperadmin = False, + e_activesession_ezsignaccess = 'Prepaid', + pks_customer_code = 'demo', + fki_systemconfigurationtype_id = 28, e_user_ezsignaccess = 'PaidByOffice', a_pki_permission_id = [ 53 diff --git a/test/test_apikey_create_object_v2_response.py b/test/test_apikey_create_object_v2_response.py index 5e27937ce..649724043 100644 --- a/test/test_apikey_create_object_v2_response.py +++ b/test/test_apikey_create_object_v2_response.py @@ -36,6 +36,15 @@ def make_instance(self, include_optional) -> ApikeyCreateObjectV2Response: model = ApikeyCreateObjectV2Response() if include_optional: return ApikeyCreateObjectV2Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), + obj_debug = {"sMemoryUsage":"11,923MB","sRunTime":"0.6084s","iSQLSelects":3,"iSQLQueries":6,"a_objSQLQuery":[{"sQuery":"SELECT * FROM table","fDuration":1.0E-4},{"sQuery":"SELECT * FROM table","fDuration":1.0E-4}]}, m_payload = eZmaxApi.models.apikey_create_object_v2_response_m_payload.apikey-createObject-v2-Response-mPayload( a_obj_apikey = [ eZmaxApi.models.apikey_response_compound.apikey-ResponseCompound() @@ -43,6 +52,14 @@ def make_instance(self, include_optional) -> ApikeyCreateObjectV2Response: ) else: return ApikeyCreateObjectV2Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), m_payload = eZmaxApi.models.apikey_create_object_v2_response_m_payload.apikey-createObject-v2-Response-mPayload( a_obj_apikey = [ eZmaxApi.models.apikey_response_compound.apikey-ResponseCompound() diff --git a/test/test_apikey_edit_object_v1_request.py b/test/test_apikey_edit_object_v1_request.py index 03fef4f6c..2b87e0b69 100644 --- a/test/test_apikey_edit_object_v1_request.py +++ b/test/test_apikey_edit_object_v1_request.py @@ -36,25 +36,11 @@ def make_instance(self, include_optional) -> ApikeyEditObjectV1Request: model = ApikeyEditObjectV1Request() if include_optional: return ApikeyEditObjectV1Request( - obj_apikey = eZmaxApi.models.apikey_request.apikey-Request( - pki_apikey_id = 99, - fki_user_id = 70, - obj_apikey_description = eZmaxApi.models.multilingual_apikey_description.Multilingual-ApikeyDescription( - s_apikey_description1 = 'Projet X', - s_apikey_description2 = 'Project X', ), - b_apikey_isactive = True, - b_apikey_issigned = True, ) + obj_apikey = eZmaxApi.models.apikey_request_compound.apikey-RequestCompound() ) else: return ApikeyEditObjectV1Request( - obj_apikey = eZmaxApi.models.apikey_request.apikey-Request( - pki_apikey_id = 99, - fki_user_id = 70, - obj_apikey_description = eZmaxApi.models.multilingual_apikey_description.Multilingual-ApikeyDescription( - s_apikey_description1 = 'Projet X', - s_apikey_description2 = 'Project X', ), - b_apikey_isactive = True, - b_apikey_issigned = True, ), + obj_apikey = eZmaxApi.models.apikey_request_compound.apikey-RequestCompound(), ) """ diff --git a/test/test_apikey_edit_object_v1_response.py b/test/test_apikey_edit_object_v1_response.py index 2211691ec..83f99ce70 100644 --- a/test/test_apikey_edit_object_v1_response.py +++ b/test/test_apikey_edit_object_v1_response.py @@ -36,9 +36,26 @@ def make_instance(self, include_optional) -> ApikeyEditObjectV1Response: model = ApikeyEditObjectV1Response() if include_optional: return ApikeyEditObjectV1Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), + obj_debug = {"sMemoryUsage":"11,923MB","sRunTime":"0.6084s","iSQLSelects":3,"iSQLQueries":6,"a_objSQLQuery":[{"sQuery":"SELECT * FROM table","fDuration":1.0E-4},{"sQuery":"SELECT * FROM table","fDuration":1.0E-4}]} ) else: return ApikeyEditObjectV1Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), ) """ diff --git a/test/test_apikey_edit_permissions_v1_response.py b/test/test_apikey_edit_permissions_v1_response.py index 207672d56..bfd6ad753 100644 --- a/test/test_apikey_edit_permissions_v1_response.py +++ b/test/test_apikey_edit_permissions_v1_response.py @@ -36,6 +36,15 @@ def make_instance(self, include_optional) -> ApikeyEditPermissionsV1Response: model = ApikeyEditPermissionsV1Response() if include_optional: return ApikeyEditPermissionsV1Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), + obj_debug = {"sMemoryUsage":"11,923MB","sRunTime":"0.6084s","iSQLSelects":3,"iSQLQueries":6,"a_objSQLQuery":[{"sQuery":"SELECT * FROM table","fDuration":1.0E-4},{"sQuery":"SELECT * FROM table","fDuration":1.0E-4}]}, m_payload = eZmaxApi.models.apikey_edit_permissions_v1_response_m_payload.apikey-editPermissions-v1-Response-mPayload( a_pki_permission_id = [ 31 @@ -43,6 +52,14 @@ def make_instance(self, include_optional) -> ApikeyEditPermissionsV1Response: ) else: return ApikeyEditPermissionsV1Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), m_payload = eZmaxApi.models.apikey_edit_permissions_v1_response_m_payload.apikey-editPermissions-v1-Response-mPayload( a_pki_permission_id = [ 31 diff --git a/test/test_apikey_generate_delegated_credentials_v1_response.py b/test/test_apikey_generate_delegated_credentials_v1_response.py index 6af1846d8..89c0da611 100644 --- a/test/test_apikey_generate_delegated_credentials_v1_response.py +++ b/test/test_apikey_generate_delegated_credentials_v1_response.py @@ -36,16 +36,33 @@ def make_instance(self, include_optional) -> ApikeyGenerateDelegatedCredentialsV model = ApikeyGenerateDelegatedCredentialsV1Response() if include_optional: return ApikeyGenerateDelegatedCredentialsV1Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), + obj_debug = {"sMemoryUsage":"11,923MB","sRunTime":"0.6084s","iSQLSelects":3,"iSQLQueries":6,"a_objSQLQuery":[{"sQuery":"SELECT * FROM table","fDuration":1.0E-4},{"sQuery":"SELECT * FROM table","fDuration":1.0E-4}]}, m_payload = eZmaxApi.models.apikey_generate_delegated_credentials_v1_response_m_payload.apikey-generateDelegatedCredentials-v1-Response-mPayload( obj_apikey = eZmaxApi.models.custom_apikey.Custom-Apikey( - s_apikey_key = 'jUR,rZ#UM/?R,Fp^l6$ARjbhJk C>i H\'qT\\{i H'qT\\{i H\'qT\\{i H'qT\\{ ApikeyGenerateDelegatedCredentialsV if include_optional: return ApikeyGenerateDelegatedCredentialsV1ResponseMPayload( obj_apikey = eZmaxApi.models.custom_apikey.Custom-Apikey( - s_apikey_key = 'jUR,rZ#UM/?R,Fp^l6$ARjbhJk C>i H\'qT\\{i H'qT\\{i H\'qT\\{i H'qT\\{ ApikeyGetCorsV1Response: model = ApikeyGetCorsV1Response() if include_optional: return ApikeyGetCorsV1Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), + obj_debug = {"sMemoryUsage":"11,923MB","sRunTime":"0.6084s","iSQLSelects":3,"iSQLQueries":6,"a_objSQLQuery":[{"sQuery":"SELECT * FROM table","fDuration":1.0E-4},{"sQuery":"SELECT * FROM table","fDuration":1.0E-4}]}, m_payload = eZmaxApi.models.apikey_get_cors_v1_response_m_payload.apikey-getCors-v1-Response-mPayload( a_obj_cors = [ eZmaxApi.models.cors_response_compound.cors-ResponseCompound() @@ -43,6 +52,14 @@ def make_instance(self, include_optional) -> ApikeyGetCorsV1Response: ) else: return ApikeyGetCorsV1Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), m_payload = eZmaxApi.models.apikey_get_cors_v1_response_m_payload.apikey-getCors-v1-Response-mPayload( a_obj_cors = [ eZmaxApi.models.cors_response_compound.cors-ResponseCompound() diff --git a/test/test_apikey_get_list_v1_response.py b/test/test_apikey_get_list_v1_response.py index 2282d34cd..a228f3880 100644 --- a/test/test_apikey_get_list_v1_response.py +++ b/test/test_apikey_get_list_v1_response.py @@ -36,10 +36,13 @@ def make_instance(self, include_optional) -> ApikeyGetListV1Response: model = ApikeyGetListV1Response() if include_optional: return ApikeyGetListV1Response( + 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.apikey_get_list_v1_response_m_payload.apikey-getList-v1-Response-mPayload() ) else: return ApikeyGetListV1Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload_get_list.Common-Response-objDebugPayload_getList(), m_payload = eZmaxApi.models.apikey_get_list_v1_response_m_payload.apikey-getList-v1-Response-mPayload(), ) """ diff --git a/test/test_apikey_get_list_v1_response_m_payload.py b/test/test_apikey_get_list_v1_response_m_payload.py index aed550672..23b89da0b 100644 --- a/test/test_apikey_get_list_v1_response_m_payload.py +++ b/test/test_apikey_get_list_v1_response_m_payload.py @@ -36,6 +36,8 @@ def make_instance(self, include_optional) -> ApikeyGetListV1ResponseMPayload: model = ApikeyGetListV1ResponseMPayload() if include_optional: return ApikeyGetListV1ResponseMPayload( + i_row_returned = 100, + i_row_filtered = 533, a_obj_apikey = [ eZmaxApi.models.apikey_list_element.apikey-ListElement( pki_apikey_id = 99, @@ -48,6 +50,8 @@ def make_instance(self, include_optional) -> ApikeyGetListV1ResponseMPayload: ) else: return ApikeyGetListV1ResponseMPayload( + i_row_returned = 100, + i_row_filtered = 533, a_obj_apikey = [ eZmaxApi.models.apikey_list_element.apikey-ListElement( pki_apikey_id = 99, diff --git a/test/test_apikey_get_object_v2_response.py b/test/test_apikey_get_object_v2_response.py index 730a9c9fa..258967099 100644 --- a/test/test_apikey_get_object_v2_response.py +++ b/test/test_apikey_get_object_v2_response.py @@ -36,11 +36,28 @@ def make_instance(self, include_optional) -> ApikeyGetObjectV2Response: model = ApikeyGetObjectV2Response() if include_optional: return ApikeyGetObjectV2Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), + obj_debug = {"sMemoryUsage":"11,923MB","sRunTime":"0.6084s","iSQLSelects":3,"iSQLQueries":6,"a_objSQLQuery":[{"sQuery":"SELECT * FROM table","fDuration":1.0E-4},{"sQuery":"SELECT * FROM table","fDuration":1.0E-4}]}, m_payload = eZmaxApi.models.apikey_get_object_v2_response_m_payload.apikey-getObject-v2-Response-mPayload( obj_apikey = eZmaxApi.models.apikey_response_compound.apikey-ResponseCompound(), ) ) else: return ApikeyGetObjectV2Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), m_payload = eZmaxApi.models.apikey_get_object_v2_response_m_payload.apikey-getObject-v2-Response-mPayload( obj_apikey = eZmaxApi.models.apikey_response_compound.apikey-ResponseCompound(), ), ) diff --git a/test/test_apikey_get_object_v2_response_m_payload.py b/test/test_apikey_get_object_v2_response_m_payload.py index 99d31dbda..4f9a1907f 100644 --- a/test/test_apikey_get_object_v2_response_m_payload.py +++ b/test/test_apikey_get_object_v2_response_m_payload.py @@ -36,71 +36,11 @@ def make_instance(self, include_optional) -> ApikeyGetObjectV2ResponseMPayload: model = ApikeyGetObjectV2ResponseMPayload() if include_optional: return ApikeyGetObjectV2ResponseMPayload( - obj_apikey = eZmaxApi.models.apikey_response.apikey-Response( - pki_apikey_id = 99, - fki_user_id = 70, - obj_apikey_description = eZmaxApi.models.multilingual_apikey_description.Multilingual-ApikeyDescription( - s_apikey_description1 = 'Projet X', - s_apikey_description2 = 'Project X', ), - 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_apikey_apikey = '', - s_apikey_secret = '', - b_apikey_isactive = True, - b_apikey_issigned = True, - obj_audit = eZmaxApi.models.common_audit.Common-Audit( - obj_auditdetail_created = eZmaxApi.models.common_auditdetail.Common-Auditdetail( - fki_user_id = 70, - fki_apikey_id = 99, - s_user_loginname = 'JohnDoe', - s_user_lastname = 'Doe', - s_user_firstname = 'John', - s_apikey_description_x = 'Project X', - dt_auditdetail_date = '2020-12-31 23:59:59', ), - obj_auditdetail_modified = eZmaxApi.models.common_auditdetail.Common-Auditdetail( - fki_user_id = 70, - fki_apikey_id = 99, - s_user_loginname = 'JohnDoe', - s_user_lastname = 'Doe', - s_user_firstname = 'John', - s_apikey_description_x = 'Project X', - dt_auditdetail_date = '2020-12-31 23:59:59', ), ), ) + obj_apikey = eZmaxApi.models.apikey_response_compound.apikey-ResponseCompound() ) else: return ApikeyGetObjectV2ResponseMPayload( - obj_apikey = eZmaxApi.models.apikey_response.apikey-Response( - pki_apikey_id = 99, - fki_user_id = 70, - obj_apikey_description = eZmaxApi.models.multilingual_apikey_description.Multilingual-ApikeyDescription( - s_apikey_description1 = 'Projet X', - s_apikey_description2 = 'Project X', ), - 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_apikey_apikey = '', - s_apikey_secret = '', - b_apikey_isactive = True, - b_apikey_issigned = True, - obj_audit = eZmaxApi.models.common_audit.Common-Audit( - obj_auditdetail_created = eZmaxApi.models.common_auditdetail.Common-Auditdetail( - fki_user_id = 70, - fki_apikey_id = 99, - s_user_loginname = 'JohnDoe', - s_user_lastname = 'Doe', - s_user_firstname = 'John', - s_apikey_description_x = 'Project X', - dt_auditdetail_date = '2020-12-31 23:59:59', ), - obj_auditdetail_modified = eZmaxApi.models.common_auditdetail.Common-Auditdetail( - fki_user_id = 70, - fki_apikey_id = 99, - s_user_loginname = 'JohnDoe', - s_user_lastname = 'Doe', - s_user_firstname = 'John', - s_apikey_description_x = 'Project X', - dt_auditdetail_date = '2020-12-31 23:59:59', ), ), ), + obj_apikey = eZmaxApi.models.apikey_response_compound.apikey-ResponseCompound(), ) """ diff --git a/test/test_apikey_get_permissions_v1_response.py b/test/test_apikey_get_permissions_v1_response.py index 37a64be8c..84619bc69 100644 --- a/test/test_apikey_get_permissions_v1_response.py +++ b/test/test_apikey_get_permissions_v1_response.py @@ -36,6 +36,15 @@ def make_instance(self, include_optional) -> ApikeyGetPermissionsV1Response: model = ApikeyGetPermissionsV1Response() if include_optional: return ApikeyGetPermissionsV1Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), + obj_debug = {"sMemoryUsage":"11,923MB","sRunTime":"0.6084s","iSQLSelects":3,"iSQLQueries":6,"a_objSQLQuery":[{"sQuery":"SELECT * FROM table","fDuration":1.0E-4},{"sQuery":"SELECT * FROM table","fDuration":1.0E-4}]}, m_payload = eZmaxApi.models.apikey_get_permissions_v1_response_m_payload.apikey-getPermissions-v1-Response-mPayload( a_obj_modulegroup = [ eZmaxApi.models.modulegroup_response_compound.modulegroup-ResponseCompound() @@ -43,6 +52,14 @@ def make_instance(self, include_optional) -> ApikeyGetPermissionsV1Response: ) else: return ApikeyGetPermissionsV1Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), m_payload = eZmaxApi.models.apikey_get_permissions_v1_response_m_payload.apikey-getPermissions-v1-Response-mPayload( a_obj_modulegroup = [ eZmaxApi.models.modulegroup_response_compound.modulegroup-ResponseCompound() diff --git a/test/test_apikey_get_subnets_v1_response.py b/test/test_apikey_get_subnets_v1_response.py index 97b29f19a..5bd04cd58 100644 --- a/test/test_apikey_get_subnets_v1_response.py +++ b/test/test_apikey_get_subnets_v1_response.py @@ -36,6 +36,15 @@ def make_instance(self, include_optional) -> ApikeyGetSubnetsV1Response: model = ApikeyGetSubnetsV1Response() if include_optional: return ApikeyGetSubnetsV1Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), + obj_debug = {"sMemoryUsage":"11,923MB","sRunTime":"0.6084s","iSQLSelects":3,"iSQLQueries":6,"a_objSQLQuery":[{"sQuery":"SELECT * FROM table","fDuration":1.0E-4},{"sQuery":"SELECT * FROM table","fDuration":1.0E-4}]}, m_payload = eZmaxApi.models.apikey_get_subnets_v1_response_m_payload.apikey-getSubnets-v1-Response-mPayload( a_obj_subnet = [ eZmaxApi.models.subnet_response_compound.subnet-ResponseCompound() @@ -43,6 +52,14 @@ def make_instance(self, include_optional) -> ApikeyGetSubnetsV1Response: ) else: return ApikeyGetSubnetsV1Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), m_payload = eZmaxApi.models.apikey_get_subnets_v1_response_m_payload.apikey-getSubnets-v1-Response-mPayload( a_obj_subnet = [ eZmaxApi.models.subnet_response_compound.subnet-ResponseCompound() diff --git a/test/test_apikey_regenerate_v1_response.py b/test/test_apikey_regenerate_v1_response.py index e660b74b2..b4e1a5b6e 100644 --- a/test/test_apikey_regenerate_v1_response.py +++ b/test/test_apikey_regenerate_v1_response.py @@ -36,11 +36,28 @@ def make_instance(self, include_optional) -> ApikeyRegenerateV1Response: model = ApikeyRegenerateV1Response() if include_optional: return ApikeyRegenerateV1Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), + obj_debug = {"sMemoryUsage":"11,923MB","sRunTime":"0.6084s","iSQLSelects":3,"iSQLQueries":6,"a_objSQLQuery":[{"sQuery":"SELECT * FROM table","fDuration":1.0E-4},{"sQuery":"SELECT * FROM table","fDuration":1.0E-4}]}, m_payload = eZmaxApi.models.apikey_regenerate_v1_response_m_payload.apikey-regenerate-v1-Response-mPayload( obj_apikey = eZmaxApi.models.apikey_response_compound.apikey-ResponseCompound(), ) ) else: return ApikeyRegenerateV1Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), m_payload = eZmaxApi.models.apikey_regenerate_v1_response_m_payload.apikey-regenerate-v1-Response-mPayload( obj_apikey = eZmaxApi.models.apikey_response_compound.apikey-ResponseCompound(), ), ) diff --git a/test/test_apikey_regenerate_v1_response_m_payload.py b/test/test_apikey_regenerate_v1_response_m_payload.py index 5d07454d8..1a46168ad 100644 --- a/test/test_apikey_regenerate_v1_response_m_payload.py +++ b/test/test_apikey_regenerate_v1_response_m_payload.py @@ -36,71 +36,11 @@ def make_instance(self, include_optional) -> ApikeyRegenerateV1ResponseMPayload: model = ApikeyRegenerateV1ResponseMPayload() if include_optional: return ApikeyRegenerateV1ResponseMPayload( - obj_apikey = eZmaxApi.models.apikey_response.apikey-Response( - pki_apikey_id = 99, - fki_user_id = 70, - obj_apikey_description = eZmaxApi.models.multilingual_apikey_description.Multilingual-ApikeyDescription( - s_apikey_description1 = 'Projet X', - s_apikey_description2 = 'Project X', ), - 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_apikey_apikey = '', - s_apikey_secret = '', - b_apikey_isactive = True, - b_apikey_issigned = True, - obj_audit = eZmaxApi.models.common_audit.Common-Audit( - obj_auditdetail_created = eZmaxApi.models.common_auditdetail.Common-Auditdetail( - fki_user_id = 70, - fki_apikey_id = 99, - s_user_loginname = 'JohnDoe', - s_user_lastname = 'Doe', - s_user_firstname = 'John', - s_apikey_description_x = 'Project X', - dt_auditdetail_date = '2020-12-31 23:59:59', ), - obj_auditdetail_modified = eZmaxApi.models.common_auditdetail.Common-Auditdetail( - fki_user_id = 70, - fki_apikey_id = 99, - s_user_loginname = 'JohnDoe', - s_user_lastname = 'Doe', - s_user_firstname = 'John', - s_apikey_description_x = 'Project X', - dt_auditdetail_date = '2020-12-31 23:59:59', ), ), ) + obj_apikey = eZmaxApi.models.apikey_response_compound.apikey-ResponseCompound() ) else: return ApikeyRegenerateV1ResponseMPayload( - obj_apikey = eZmaxApi.models.apikey_response.apikey-Response( - pki_apikey_id = 99, - fki_user_id = 70, - obj_apikey_description = eZmaxApi.models.multilingual_apikey_description.Multilingual-ApikeyDescription( - s_apikey_description1 = 'Projet X', - s_apikey_description2 = 'Project X', ), - 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_apikey_apikey = '', - s_apikey_secret = '', - b_apikey_isactive = True, - b_apikey_issigned = True, - obj_audit = eZmaxApi.models.common_audit.Common-Audit( - obj_auditdetail_created = eZmaxApi.models.common_auditdetail.Common-Auditdetail( - fki_user_id = 70, - fki_apikey_id = 99, - s_user_loginname = 'JohnDoe', - s_user_lastname = 'Doe', - s_user_firstname = 'John', - s_apikey_description_x = 'Project X', - dt_auditdetail_date = '2020-12-31 23:59:59', ), - obj_auditdetail_modified = eZmaxApi.models.common_auditdetail.Common-Auditdetail( - fki_user_id = 70, - fki_apikey_id = 99, - s_user_loginname = 'JohnDoe', - s_user_lastname = 'Doe', - s_user_firstname = 'John', - s_apikey_description_x = 'Project X', - dt_auditdetail_date = '2020-12-31 23:59:59', ), ), ), + obj_apikey = eZmaxApi.models.apikey_response_compound.apikey-ResponseCompound(), ) """ diff --git a/test/test_attachment_get_attachmentlogs_v1_response.py b/test/test_attachment_get_attachmentlogs_v1_response.py index d3457d985..119176102 100644 --- a/test/test_attachment_get_attachmentlogs_v1_response.py +++ b/test/test_attachment_get_attachmentlogs_v1_response.py @@ -36,6 +36,15 @@ def make_instance(self, include_optional) -> AttachmentGetAttachmentlogsV1Respon model = AttachmentGetAttachmentlogsV1Response() if include_optional: return AttachmentGetAttachmentlogsV1Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), + obj_debug = {"sMemoryUsage":"11,923MB","sRunTime":"0.6084s","iSQLSelects":3,"iSQLQueries":6,"a_objSQLQuery":[{"sQuery":"SELECT * FROM table","fDuration":1.0E-4},{"sQuery":"SELECT * FROM table","fDuration":1.0E-4}]}, m_payload = eZmaxApi.models.attachment_get_attachmentlogs_v1_response_m_payload.attachment-getAttachmentlogs-v1-Response-mPayload( a_obj_attachmentlog = [ eZmaxApi.models.attachmentlog_response_compound.attachmentlog-ResponseCompound() @@ -43,6 +52,14 @@ def make_instance(self, include_optional) -> AttachmentGetAttachmentlogsV1Respon ) else: return AttachmentGetAttachmentlogsV1Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), m_payload = eZmaxApi.models.attachment_get_attachmentlogs_v1_response_m_payload.attachment-getAttachmentlogs-v1-Response-mPayload( a_obj_attachmentlog = [ eZmaxApi.models.attachmentlog_response_compound.attachmentlog-ResponseCompound() diff --git a/test/test_attachment_response_compound.py b/test/test_attachment_response_compound.py index fc8b20e73..10a5d1ac1 100644 --- a/test/test_attachment_response_compound.py +++ b/test/test_attachment_response_compound.py @@ -36,9 +36,96 @@ def make_instance(self, include_optional) -> AttachmentResponseCompound: model = AttachmentResponseCompound() if include_optional: return AttachmentResponseCompound( + pki_attachment_id = 1, + fki_computer_id = 249, + fki_adjustment_id = 202, + fki_agent_id = 1, + fki_bankaccount_id = 46, + fki_broker_id = 26, + fki_commissionadvance_id = 115, + fki_communication_id = 1, + fki_customer_id = 18, + fki_customertemplate_id = 152, + fki_deposit_id = 54, + fki_deposittransitcheque_id = 251, + fki_electronicfundstransfer_id = 1262, + fki_employee_id = 31, + fki_externalbroker_id = 1, + fki_ezcomadvanceserver_id = 238, + fki_ezcomcompany_id = 170, + fki_ezsigndocument_id = 97, + fki_ghacqcontract_id = 217, + fki_inscription_id = 17, + fki_inscriptiontemp_id = 2445, + fki_inscriptionnotauthenticated_id = 24, + fki_invoice_id = 1, + fki_buyercontract_id = 38, + fki_franchisebroker_id = 61, + fki_franchiseagence_id = 117, + fki_franchiseoffice_id = 50, + fki_franchisefranchise_id = 156, + fki_franchisecomplaint_id = 24, + fki_lead_id = 117, + fki_marketingprogram_id = 178, + fki_marketingfollow_id = 45, + fki_notary_id = 1, + fki_officetaxreport_id = 200, + fki_otherincome_id = 142, + fki_paymentpreparation_id = 124, + fki_purchase_id = 155, + fki_salary_id = 73, + fki_supplier_id = 1, + fki_tranqcontract_id = 39, + fki_template_id = 232, + fki_inscriptionchecklist_id = 191, + fki_folder_id = 81, + fki_rejectedoffertopurchase_id = 532, + fki_disclosure_id = 51, + fki_reconciliation_id = 140, + fki_ezsigndocument_id_reference = 97, + e_attachment_documenttype = 'Adjustment', + s_attachment_name = 'Document.pdf', + e_attachment_privacy = 'All', + fki_user_id_specific = 70, + e_attachment_type = 'Other', + i_attachment_size = 277465200, + i_attachment_ed_mmoduleflag = 65, + s_attachment_md5 = '2cb29026e8a93c930e71598579400db6', + b_attachment_deleted = False, + b_attachment_valid = True, + e_attachment_verified = 'No', + t_attachment_rejectioncomment = 'Unreadable', + fki_user_id_owner = 70, + 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 AttachmentResponseCompound( + pki_attachment_id = 1, + e_attachment_documenttype = 'Adjustment', + s_attachment_name = 'Document.pdf', + e_attachment_privacy = 'All', + e_attachment_type = 'Other', + i_attachment_size = 277465200, + s_attachment_md5 = '2cb29026e8a93c930e71598579400db6', + b_attachment_deleted = False, + b_attachment_valid = True, + e_attachment_verified = 'No', ) """ diff --git a/test/test_attachmentlog_response_compound.py b/test/test_attachmentlog_response_compound.py index 3b7894043..f9fae3e74 100644 --- a/test/test_attachmentlog_response_compound.py +++ b/test/test_attachmentlog_response_compound.py @@ -36,9 +36,18 @@ def make_instance(self, include_optional) -> AttachmentlogResponseCompound: model = AttachmentlogResponseCompound() if include_optional: return AttachmentlogResponseCompound( + fki_attachment_id = 1, + fki_user_id = 70, + dt_attachmentlog_datetime = '2020-12-31 23:59:59', + e_attachmentlog_type = 'AutoValidation', + s_attachmentlog_detail = 'System' ) else: return AttachmentlogResponseCompound( + fki_attachment_id = 1, + fki_user_id = 70, + dt_attachmentlog_datetime = '2020-12-31 23:59:59', + e_attachmentlog_type = 'AutoValidation', ) """ diff --git a/test/test_authenticationexternal_create_object_v1_response.py b/test/test_authenticationexternal_create_object_v1_response.py index f2e05ce5c..e6b98f3e0 100644 --- a/test/test_authenticationexternal_create_object_v1_response.py +++ b/test/test_authenticationexternal_create_object_v1_response.py @@ -36,6 +36,15 @@ def make_instance(self, include_optional) -> AuthenticationexternalCreateObjectV model = AuthenticationexternalCreateObjectV1Response() if include_optional: return AuthenticationexternalCreateObjectV1Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), + obj_debug = {"sMemoryUsage":"11,923MB","sRunTime":"0.6084s","iSQLSelects":3,"iSQLQueries":6,"a_objSQLQuery":[{"sQuery":"SELECT * FROM table","fDuration":1.0E-4},{"sQuery":"SELECT * FROM table","fDuration":1.0E-4}]}, m_payload = eZmaxApi.models.authenticationexternal_create_object_v1_response_m_payload.authenticationexternal-createObject-v1-Response-mPayload( a_pki_authenticationexternal_id = [ 56 @@ -43,6 +52,14 @@ def make_instance(self, include_optional) -> AuthenticationexternalCreateObjectV ) else: return AuthenticationexternalCreateObjectV1Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), m_payload = eZmaxApi.models.authenticationexternal_create_object_v1_response_m_payload.authenticationexternal-createObject-v1-Response-mPayload( a_pki_authenticationexternal_id = [ 56 diff --git a/test/test_authenticationexternal_delete_object_v1_response.py b/test/test_authenticationexternal_delete_object_v1_response.py index 5ebd3fe05..51f9bee62 100644 --- a/test/test_authenticationexternal_delete_object_v1_response.py +++ b/test/test_authenticationexternal_delete_object_v1_response.py @@ -36,9 +36,26 @@ def make_instance(self, include_optional) -> AuthenticationexternalDeleteObjectV model = AuthenticationexternalDeleteObjectV1Response() if include_optional: return AuthenticationexternalDeleteObjectV1Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), + obj_debug = {"sMemoryUsage":"11,923MB","sRunTime":"0.6084s","iSQLSelects":3,"iSQLQueries":6,"a_objSQLQuery":[{"sQuery":"SELECT * FROM table","fDuration":1.0E-4},{"sQuery":"SELECT * FROM table","fDuration":1.0E-4}]} ) else: return AuthenticationexternalDeleteObjectV1Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), ) """ diff --git a/test/test_authenticationexternal_edit_object_v1_response.py b/test/test_authenticationexternal_edit_object_v1_response.py index 3ab683bba..476fa28b4 100644 --- a/test/test_authenticationexternal_edit_object_v1_response.py +++ b/test/test_authenticationexternal_edit_object_v1_response.py @@ -36,9 +36,26 @@ def make_instance(self, include_optional) -> AuthenticationexternalEditObjectV1R model = AuthenticationexternalEditObjectV1Response() if include_optional: return AuthenticationexternalEditObjectV1Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), + obj_debug = {"sMemoryUsage":"11,923MB","sRunTime":"0.6084s","iSQLSelects":3,"iSQLQueries":6,"a_objSQLQuery":[{"sQuery":"SELECT * FROM table","fDuration":1.0E-4},{"sQuery":"SELECT * FROM table","fDuration":1.0E-4}]} ) else: return AuthenticationexternalEditObjectV1Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), ) """ diff --git a/test/test_authenticationexternal_get_autocomplete_v2_response.py b/test/test_authenticationexternal_get_autocomplete_v2_response.py index 9acfd6baf..f6abeb49b 100644 --- a/test/test_authenticationexternal_get_autocomplete_v2_response.py +++ b/test/test_authenticationexternal_get_autocomplete_v2_response.py @@ -36,6 +36,15 @@ def make_instance(self, include_optional) -> AuthenticationexternalGetAutocomple model = AuthenticationexternalGetAutocompleteV2Response() if include_optional: return AuthenticationexternalGetAutocompleteV2Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), + obj_debug = {"sMemoryUsage":"11,923MB","sRunTime":"0.6084s","iSQLSelects":3,"iSQLQueries":6,"a_objSQLQuery":[{"sQuery":"SELECT * FROM table","fDuration":1.0E-4},{"sQuery":"SELECT * FROM table","fDuration":1.0E-4}]}, m_payload = eZmaxApi.models.authenticationexternal_get_autocomplete_v2_response_m_payload.authenticationexternal-getAutocomplete-v2-Response-mPayload( a_obj_authenticationexternal = [ eZmaxApi.models.authenticationexternal_autocomplete_element_response.authenticationexternal-AutocompleteElement-Response( @@ -46,6 +55,14 @@ def make_instance(self, include_optional) -> AuthenticationexternalGetAutocomple ) else: return AuthenticationexternalGetAutocompleteV2Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), m_payload = eZmaxApi.models.authenticationexternal_get_autocomplete_v2_response_m_payload.authenticationexternal-getAutocomplete-v2-Response-mPayload( a_obj_authenticationexternal = [ eZmaxApi.models.authenticationexternal_autocomplete_element_response.authenticationexternal-AutocompleteElement-Response( diff --git a/test/test_authenticationexternal_get_list_v1_response.py b/test/test_authenticationexternal_get_list_v1_response.py index 858fc0cd8..cc8ebfd6f 100644 --- a/test/test_authenticationexternal_get_list_v1_response.py +++ b/test/test_authenticationexternal_get_list_v1_response.py @@ -36,10 +36,13 @@ def make_instance(self, include_optional) -> AuthenticationexternalGetListV1Resp model = AuthenticationexternalGetListV1Response() if include_optional: return AuthenticationexternalGetListV1Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload_get_list.Common-Response-objDebugPayload_getList(), + obj_debug = {"sMemoryUsage":"11,923MB","sRunTime":"0.6084s","iSQLSelects":3,"iSQLQueries":6,"a_objSQLQuery":[{"sQuery":"SELECT * FROM table","fDuration":1.0E-4},{"sQuery":"SELECT * FROM table","fDuration":1.0E-4}]}, m_payload = eZmaxApi.models.authenticationexternal_get_list_v1_response_m_payload.authenticationexternal-getList-v1-Response-mPayload() ) else: return AuthenticationexternalGetListV1Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload_get_list.Common-Response-objDebugPayload_getList(), m_payload = eZmaxApi.models.authenticationexternal_get_list_v1_response_m_payload.authenticationexternal-getList-v1-Response-mPayload(), ) """ diff --git a/test/test_authenticationexternal_get_list_v1_response_m_payload.py b/test/test_authenticationexternal_get_list_v1_response_m_payload.py index dfbc9ce91..e0a5d2ac9 100644 --- a/test/test_authenticationexternal_get_list_v1_response_m_payload.py +++ b/test/test_authenticationexternal_get_list_v1_response_m_payload.py @@ -36,6 +36,8 @@ def make_instance(self, include_optional) -> AuthenticationexternalGetListV1Resp model = AuthenticationexternalGetListV1ResponseMPayload() if include_optional: return AuthenticationexternalGetListV1ResponseMPayload( + i_row_returned = 100, + i_row_filtered = 533, a_obj_authenticationexternal = [ eZmaxApi.models.authenticationexternal_list_element.authenticationexternal-ListElement( pki_authenticationexternal_id = 56, @@ -46,6 +48,8 @@ def make_instance(self, include_optional) -> AuthenticationexternalGetListV1Resp ) else: return AuthenticationexternalGetListV1ResponseMPayload( + i_row_returned = 100, + i_row_filtered = 533, a_obj_authenticationexternal = [ eZmaxApi.models.authenticationexternal_list_element.authenticationexternal-ListElement( pki_authenticationexternal_id = 56, diff --git a/test/test_authenticationexternal_get_object_v2_response.py b/test/test_authenticationexternal_get_object_v2_response.py index a8fe7cc52..069d9f465 100644 --- a/test/test_authenticationexternal_get_object_v2_response.py +++ b/test/test_authenticationexternal_get_object_v2_response.py @@ -36,11 +36,28 @@ def make_instance(self, include_optional) -> AuthenticationexternalGetObjectV2Re model = AuthenticationexternalGetObjectV2Response() if include_optional: return AuthenticationexternalGetObjectV2Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), + obj_debug = {"sMemoryUsage":"11,923MB","sRunTime":"0.6084s","iSQLSelects":3,"iSQLQueries":6,"a_objSQLQuery":[{"sQuery":"SELECT * FROM table","fDuration":1.0E-4},{"sQuery":"SELECT * FROM table","fDuration":1.0E-4}]}, m_payload = eZmaxApi.models.authenticationexternal_get_object_v2_response_m_payload.authenticationexternal-getObject-v2-Response-mPayload( obj_authenticationexternal = eZmaxApi.models.authenticationexternal_response_compound.authenticationexternal-ResponseCompound(), ) ) else: return AuthenticationexternalGetObjectV2Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), m_payload = eZmaxApi.models.authenticationexternal_get_object_v2_response_m_payload.authenticationexternal-getObject-v2-Response-mPayload( obj_authenticationexternal = eZmaxApi.models.authenticationexternal_response_compound.authenticationexternal-ResponseCompound(), ), ) diff --git a/test/test_authenticationexternal_request_compound.py b/test/test_authenticationexternal_request_compound.py index 1816a7f02..59d6b1b03 100644 --- a/test/test_authenticationexternal_request_compound.py +++ b/test/test_authenticationexternal_request_compound.py @@ -36,9 +36,14 @@ def make_instance(self, include_optional) -> AuthenticationexternalRequestCompou model = AuthenticationexternalRequestCompound() if include_optional: return AuthenticationexternalRequestCompound( + pki_authenticationexternal_id = 56, + s_authenticationexternal_description = 'Authentification', + e_authenticationexternal_type = 'Salesforce' ) else: return AuthenticationexternalRequestCompound( + s_authenticationexternal_description = 'Authentification', + e_authenticationexternal_type = 'Salesforce', ) """ diff --git a/test/test_authenticationexternal_reset_authorization_v1_response.py b/test/test_authenticationexternal_reset_authorization_v1_response.py index c083460ed..11f636b55 100644 --- a/test/test_authenticationexternal_reset_authorization_v1_response.py +++ b/test/test_authenticationexternal_reset_authorization_v1_response.py @@ -36,9 +36,26 @@ def make_instance(self, include_optional) -> AuthenticationexternalResetAuthoriz model = AuthenticationexternalResetAuthorizationV1Response() if include_optional: return AuthenticationexternalResetAuthorizationV1Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), + obj_debug = {"sMemoryUsage":"11,923MB","sRunTime":"0.6084s","iSQLSelects":3,"iSQLQueries":6,"a_objSQLQuery":[{"sQuery":"SELECT * FROM table","fDuration":1.0E-4},{"sQuery":"SELECT * FROM table","fDuration":1.0E-4}]} ) else: return AuthenticationexternalResetAuthorizationV1Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), ) """ diff --git a/test/test_authenticationexternal_response_compound.py b/test/test_authenticationexternal_response_compound.py index 50ad4a7cf..072d77964 100644 --- a/test/test_authenticationexternal_response_compound.py +++ b/test/test_authenticationexternal_response_compound.py @@ -36,9 +36,51 @@ def make_instance(self, include_optional) -> AuthenticationexternalResponseCompo model = AuthenticationexternalResponseCompound() if include_optional: return AuthenticationexternalResponseCompound( + pki_authenticationexternal_id = 56, + s_authenticationexternal_description = 'Authentification', + e_authenticationexternal_type = 'Salesforce', + b_authenticationexternal_connected = True, + s_authenticationexternal_authorizationurl = 'http://www.website.com/authorize.php', + obj_audit = eZmaxApi.models.common_audit.Common-Audit( + obj_auditdetail_created = eZmaxApi.models.common_auditdetail.Common-Auditdetail( + fki_user_id = 70, + fki_apikey_id = 99, + s_user_loginname = 'JohnDoe', + s_user_lastname = 'Doe', + s_user_firstname = 'John', + s_apikey_description_x = 'Project X', + dt_auditdetail_date = '2020-12-31 23:59:59', ), + obj_auditdetail_modified = eZmaxApi.models.common_auditdetail.Common-Auditdetail( + fki_user_id = 70, + fki_apikey_id = 99, + s_user_loginname = 'JohnDoe', + s_user_lastname = 'Doe', + s_user_firstname = 'John', + s_apikey_description_x = 'Project X', + dt_auditdetail_date = '2020-12-31 23:59:59', ), ) ) else: return AuthenticationexternalResponseCompound( + pki_authenticationexternal_id = 56, + s_authenticationexternal_description = 'Authentification', + e_authenticationexternal_type = 'Salesforce', + obj_audit = eZmaxApi.models.common_audit.Common-Audit( + obj_auditdetail_created = eZmaxApi.models.common_auditdetail.Common-Auditdetail( + fki_user_id = 70, + fki_apikey_id = 99, + s_user_loginname = 'JohnDoe', + s_user_lastname = 'Doe', + s_user_firstname = 'John', + s_apikey_description_x = 'Project X', + dt_auditdetail_date = '2020-12-31 23:59:59', ), + obj_auditdetail_modified = eZmaxApi.models.common_auditdetail.Common-Auditdetail( + fki_user_id = 70, + fki_apikey_id = 99, + s_user_loginname = 'JohnDoe', + s_user_lastname = 'Doe', + s_user_firstname = 'John', + s_apikey_description_x = 'Project X', + dt_auditdetail_date = '2020-12-31 23:59:59', ), ), ) """ diff --git a/test/test_billingentityexternal_generate_federation_token_v1_response.py b/test/test_billingentityexternal_generate_federation_token_v1_response.py index f1f126037..c1839ed5c 100644 --- a/test/test_billingentityexternal_generate_federation_token_v1_response.py +++ b/test/test_billingentityexternal_generate_federation_token_v1_response.py @@ -36,17 +36,34 @@ def make_instance(self, include_optional) -> BillingentityexternalGenerateFedera model = BillingentityexternalGenerateFederationTokenV1Response() if include_optional: return BillingentityexternalGenerateFederationTokenV1Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), + obj_debug = {"sMemoryUsage":"11,923MB","sRunTime":"0.6084s","iSQLSelects":3,"iSQLQueries":6,"a_objSQLQuery":[{"sQuery":"SELECT * FROM table","fDuration":1.0E-4},{"sQuery":"SELECT * FROM table","fDuration":1.0E-4}]}, m_payload = eZmaxApi.models.billingentityexternal_generate_federation_token_v1_response_m_payload.billingentityexternal-generateFederationToken-v1-Response-mPayload( obj_apikeyfederation = eZmaxApi.models.custom_apikeyfederation.Custom-Apikeyfederation( - s_apikeyfederation_key = 'jUR,rZ#UM/?R,Fp^l6$ARjbhJk C>i H\'qT\\{i H'qT\\{i H\'qT\\{i H'qT\\{ BillingentityexternalGenerateFedera if include_optional: return BillingentityexternalGenerateFederationTokenV1ResponseMPayload( obj_apikeyfederation = eZmaxApi.models.custom_apikeyfederation.Custom-Apikeyfederation( - s_apikeyfederation_key = 'jUR,rZ#UM/?R,Fp^l6$ARjbhJk C>i H\'qT\\{i H'qT\\{i H\'qT\\{i H'qT\\{ BillingentityexternalGetAutocomplet model = BillingentityexternalGetAutocompleteV2Response() if include_optional: return BillingentityexternalGetAutocompleteV2Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), + obj_debug = {"sMemoryUsage":"11,923MB","sRunTime":"0.6084s","iSQLSelects":3,"iSQLQueries":6,"a_objSQLQuery":[{"sQuery":"SELECT * FROM table","fDuration":1.0E-4},{"sQuery":"SELECT * FROM table","fDuration":1.0E-4}]}, m_payload = eZmaxApi.models.billingentityexternal_get_autocomplete_v2_response_m_payload.billingentityexternal-getAutocomplete-v2-Response-mPayload( a_obj_billingentityexternal = [ eZmaxApi.models.billingentityexternal_autocomplete_element_response.billingentityexternal-AutocompleteElement-Response( @@ -46,6 +55,14 @@ def make_instance(self, include_optional) -> BillingentityexternalGetAutocomplet ) else: return BillingentityexternalGetAutocompleteV2Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), m_payload = eZmaxApi.models.billingentityexternal_get_autocomplete_v2_response_m_payload.billingentityexternal-getAutocomplete-v2-Response-mPayload( a_obj_billingentityexternal = [ eZmaxApi.models.billingentityexternal_autocomplete_element_response.billingentityexternal-AutocompleteElement-Response( diff --git a/test/test_billingentityinternal_create_object_v1_response.py b/test/test_billingentityinternal_create_object_v1_response.py index aa50466ee..7c353d483 100644 --- a/test/test_billingentityinternal_create_object_v1_response.py +++ b/test/test_billingentityinternal_create_object_v1_response.py @@ -36,6 +36,15 @@ def make_instance(self, include_optional) -> BillingentityinternalCreateObjectV1 model = BillingentityinternalCreateObjectV1Response() if include_optional: return BillingentityinternalCreateObjectV1Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), + obj_debug = {"sMemoryUsage":"11,923MB","sRunTime":"0.6084s","iSQLSelects":3,"iSQLQueries":6,"a_objSQLQuery":[{"sQuery":"SELECT * FROM table","fDuration":1.0E-4},{"sQuery":"SELECT * FROM table","fDuration":1.0E-4}]}, m_payload = eZmaxApi.models.billingentityinternal_create_object_v1_response_m_payload.billingentityinternal-createObject-v1-Response-mPayload( a_pki_billingentityinternal_id = [ 1 @@ -43,6 +52,14 @@ def make_instance(self, include_optional) -> BillingentityinternalCreateObjectV1 ) else: return BillingentityinternalCreateObjectV1Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), m_payload = eZmaxApi.models.billingentityinternal_create_object_v1_response_m_payload.billingentityinternal-createObject-v1-Response-mPayload( a_pki_billingentityinternal_id = [ 1 diff --git a/test/test_billingentityinternal_edit_object_v1_response.py b/test/test_billingentityinternal_edit_object_v1_response.py index 572963471..2c868219e 100644 --- a/test/test_billingentityinternal_edit_object_v1_response.py +++ b/test/test_billingentityinternal_edit_object_v1_response.py @@ -36,9 +36,26 @@ def make_instance(self, include_optional) -> BillingentityinternalEditObjectV1Re model = BillingentityinternalEditObjectV1Response() if include_optional: return BillingentityinternalEditObjectV1Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), + obj_debug = {"sMemoryUsage":"11,923MB","sRunTime":"0.6084s","iSQLSelects":3,"iSQLQueries":6,"a_objSQLQuery":[{"sQuery":"SELECT * FROM table","fDuration":1.0E-4},{"sQuery":"SELECT * FROM table","fDuration":1.0E-4}]} ) else: return BillingentityinternalEditObjectV1Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), ) """ diff --git a/test/test_billingentityinternal_get_autocomplete_v2_response.py b/test/test_billingentityinternal_get_autocomplete_v2_response.py index 9e2f64dc6..f7815d47f 100644 --- a/test/test_billingentityinternal_get_autocomplete_v2_response.py +++ b/test/test_billingentityinternal_get_autocomplete_v2_response.py @@ -36,6 +36,15 @@ def make_instance(self, include_optional) -> BillingentityinternalGetAutocomplet model = BillingentityinternalGetAutocompleteV2Response() if include_optional: return BillingentityinternalGetAutocompleteV2Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), + obj_debug = {"sMemoryUsage":"11,923MB","sRunTime":"0.6084s","iSQLSelects":3,"iSQLQueries":6,"a_objSQLQuery":[{"sQuery":"SELECT * FROM table","fDuration":1.0E-4},{"sQuery":"SELECT * FROM table","fDuration":1.0E-4}]}, m_payload = eZmaxApi.models.billingentityinternal_get_autocomplete_v2_response_m_payload.billingentityinternal-getAutocomplete-v2-Response-mPayload( a_obj_billingentityinternal = [ eZmaxApi.models.billingentityinternal_autocomplete_element_response.billingentityinternal-AutocompleteElement-Response( @@ -46,6 +55,14 @@ def make_instance(self, include_optional) -> BillingentityinternalGetAutocomplet ) else: return BillingentityinternalGetAutocompleteV2Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), m_payload = eZmaxApi.models.billingentityinternal_get_autocomplete_v2_response_m_payload.billingentityinternal-getAutocomplete-v2-Response-mPayload( a_obj_billingentityinternal = [ eZmaxApi.models.billingentityinternal_autocomplete_element_response.billingentityinternal-AutocompleteElement-Response( diff --git a/test/test_billingentityinternal_get_list_v1_response.py b/test/test_billingentityinternal_get_list_v1_response.py index 6f03abdf7..16e2ab206 100644 --- a/test/test_billingentityinternal_get_list_v1_response.py +++ b/test/test_billingentityinternal_get_list_v1_response.py @@ -36,10 +36,13 @@ def make_instance(self, include_optional) -> BillingentityinternalGetListV1Respo model = BillingentityinternalGetListV1Response() if include_optional: return BillingentityinternalGetListV1Response( + 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.billingentityinternal_get_list_v1_response_m_payload.billingentityinternal-getList-v1-Response-mPayload() ) else: return BillingentityinternalGetListV1Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload_get_list.Common-Response-objDebugPayload_getList(), m_payload = eZmaxApi.models.billingentityinternal_get_list_v1_response_m_payload.billingentityinternal-getList-v1-Response-mPayload(), ) """ diff --git a/test/test_billingentityinternal_get_list_v1_response_m_payload.py b/test/test_billingentityinternal_get_list_v1_response_m_payload.py index c66f6ff25..f5b2a520f 100644 --- a/test/test_billingentityinternal_get_list_v1_response_m_payload.py +++ b/test/test_billingentityinternal_get_list_v1_response_m_payload.py @@ -36,6 +36,8 @@ def make_instance(self, include_optional) -> BillingentityinternalGetListV1Respo model = BillingentityinternalGetListV1ResponseMPayload() if include_optional: return BillingentityinternalGetListV1ResponseMPayload( + i_row_returned = 100, + i_row_filtered = 533, a_obj_billingentityinternal = [ eZmaxApi.models.billingentityinternal_list_element.billingentityinternal-ListElement( pki_billingentityinternal_id = 1, @@ -44,6 +46,8 @@ def make_instance(self, include_optional) -> BillingentityinternalGetListV1Respo ) else: return BillingentityinternalGetListV1ResponseMPayload( + i_row_returned = 100, + i_row_filtered = 533, a_obj_billingentityinternal = [ eZmaxApi.models.billingentityinternal_list_element.billingentityinternal-ListElement( pki_billingentityinternal_id = 1, diff --git a/test/test_billingentityinternal_get_object_v2_response.py b/test/test_billingentityinternal_get_object_v2_response.py index 7a53ecc74..b8c9b9a33 100644 --- a/test/test_billingentityinternal_get_object_v2_response.py +++ b/test/test_billingentityinternal_get_object_v2_response.py @@ -36,11 +36,28 @@ def make_instance(self, include_optional) -> BillingentityinternalGetObjectV2Res model = BillingentityinternalGetObjectV2Response() if include_optional: return BillingentityinternalGetObjectV2Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), + obj_debug = {"sMemoryUsage":"11,923MB","sRunTime":"0.6084s","iSQLSelects":3,"iSQLQueries":6,"a_objSQLQuery":[{"sQuery":"SELECT * FROM table","fDuration":1.0E-4},{"sQuery":"SELECT * FROM table","fDuration":1.0E-4}]}, m_payload = eZmaxApi.models.billingentityinternal_get_object_v2_response_m_payload.billingentityinternal-getObject-v2-Response-mPayload( obj_billingentityinternal = eZmaxApi.models.billingentityinternal_response_compound.billingentityinternal-ResponseCompound(), ) ) else: return BillingentityinternalGetObjectV2Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), m_payload = eZmaxApi.models.billingentityinternal_get_object_v2_response_m_payload.billingentityinternal-getObject-v2-Response-mPayload( obj_billingentityinternal = eZmaxApi.models.billingentityinternal_response_compound.billingentityinternal-ResponseCompound(), ), ) diff --git a/test/test_billingentityinternal_request_compound.py b/test/test_billingentityinternal_request_compound.py index 074315e82..fb3955992 100644 --- a/test/test_billingentityinternal_request_compound.py +++ b/test/test_billingentityinternal_request_compound.py @@ -36,12 +36,19 @@ def make_instance(self, include_optional) -> BillingentityinternalRequestCompoun model = BillingentityinternalRequestCompound() if include_optional: return BillingentityinternalRequestCompound( + pki_billingentityinternal_id = 1, + obj_billingentityinternal_description = eZmaxApi.models.multilingual_billingentityinternal_description.Multilingual-BillingentityinternalDescription( + s_billingentityinternal_description1 = 'Défaut', + s_billingentityinternal_description2 = 'Default', ), a_obj_billingentityinternalproduct = [ eZmaxApi.models.billingentityinternalproduct_request_compound.billingentityinternalproduct-RequestCompound() ] ) else: return BillingentityinternalRequestCompound( + obj_billingentityinternal_description = eZmaxApi.models.multilingual_billingentityinternal_description.Multilingual-BillingentityinternalDescription( + s_billingentityinternal_description1 = 'Défaut', + s_billingentityinternal_description2 = 'Default', ), a_obj_billingentityinternalproduct = [ eZmaxApi.models.billingentityinternalproduct_request_compound.billingentityinternalproduct-RequestCompound() ], diff --git a/test/test_billingentityinternal_response_compound.py b/test/test_billingentityinternal_response_compound.py index 91a23b20a..dc317cc8d 100644 --- a/test/test_billingentityinternal_response_compound.py +++ b/test/test_billingentityinternal_response_compound.py @@ -36,12 +36,20 @@ def make_instance(self, include_optional) -> BillingentityinternalResponseCompou model = BillingentityinternalResponseCompound() if include_optional: return BillingentityinternalResponseCompound( + pki_billingentityinternal_id = 1, + obj_billingentityinternal_description = eZmaxApi.models.multilingual_billingentityinternal_description.Multilingual-BillingentityinternalDescription( + s_billingentityinternal_description1 = 'Défaut', + s_billingentityinternal_description2 = 'Default', ), a_obj_billingentityinternalproduct = [ eZmaxApi.models.billingentityinternalproduct_response_compound.billingentityinternalproduct-ResponseCompound() ] ) else: return BillingentityinternalResponseCompound( + pki_billingentityinternal_id = 1, + obj_billingentityinternal_description = eZmaxApi.models.multilingual_billingentityinternal_description.Multilingual-BillingentityinternalDescription( + s_billingentityinternal_description1 = 'Défaut', + s_billingentityinternal_description2 = 'Default', ), a_obj_billingentityinternalproduct = [ eZmaxApi.models.billingentityinternalproduct_response_compound.billingentityinternalproduct-ResponseCompound() ], diff --git a/test/test_billingentityinternalproduct_request_compound.py b/test/test_billingentityinternalproduct_request_compound.py index 31c162e14..5d6ff2ce3 100644 --- a/test/test_billingentityinternalproduct_request_compound.py +++ b/test/test_billingentityinternalproduct_request_compound.py @@ -36,9 +36,14 @@ def make_instance(self, include_optional) -> BillingentityinternalproductRequest model = BillingentityinternalproductRequestCompound() if include_optional: return BillingentityinternalproductRequestCompound( + pki_billingentityinternalproduct_id = 254, + fki_ezmaxproduct_id = 172, + fki_billingentityexternal_id = 83 ) else: return BillingentityinternalproductRequestCompound( + fki_ezmaxproduct_id = 172, + fki_billingentityexternal_id = 83, ) """ diff --git a/test/test_billingentityinternalproduct_response_compound.py b/test/test_billingentityinternalproduct_response_compound.py index 9256fa4e1..96fa86954 100644 --- a/test/test_billingentityinternalproduct_response_compound.py +++ b/test/test_billingentityinternalproduct_response_compound.py @@ -36,9 +36,23 @@ def make_instance(self, include_optional) -> BillingentityinternalproductRespons model = BillingentityinternalproductResponseCompound() if include_optional: return BillingentityinternalproductResponseCompound( + pki_billingentityinternalproduct_id = 254, + fki_billingentityinternal_id = 1, + s_billingentityinternal_description_x = 'Default', + fki_ezmaxproduct_id = 172, + s_ezmaxproduct_description_x = 'eZmax (License)', + fki_billingentityexternal_id = 83, + s_billingentityexternal_description = 'ACME Inc' ) else: return BillingentityinternalproductResponseCompound( + pki_billingentityinternalproduct_id = 254, + fki_billingentityinternal_id = 1, + s_billingentityinternal_description_x = 'Default', + fki_ezmaxproduct_id = 172, + s_ezmaxproduct_description_x = 'eZmax (License)', + fki_billingentityexternal_id = 83, + s_billingentityexternal_description = 'ACME Inc', ) """ diff --git a/test/test_branding_create_object_v2_response.py b/test/test_branding_create_object_v2_response.py index 4d4ddc547..cf70caaa7 100644 --- a/test/test_branding_create_object_v2_response.py +++ b/test/test_branding_create_object_v2_response.py @@ -36,6 +36,15 @@ def make_instance(self, include_optional) -> BrandingCreateObjectV2Response: model = BrandingCreateObjectV2Response() if include_optional: return BrandingCreateObjectV2Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), + obj_debug = {"sMemoryUsage":"11,923MB","sRunTime":"0.6084s","iSQLSelects":3,"iSQLQueries":6,"a_objSQLQuery":[{"sQuery":"SELECT * FROM table","fDuration":1.0E-4},{"sQuery":"SELECT * FROM table","fDuration":1.0E-4}]}, m_payload = eZmaxApi.models.branding_create_object_v2_response_m_payload.branding-createObject-v2-Response-mPayload( a_pki_branding_id = [ 78 @@ -43,6 +52,14 @@ def make_instance(self, include_optional) -> BrandingCreateObjectV2Response: ) else: return BrandingCreateObjectV2Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), m_payload = eZmaxApi.models.branding_create_object_v2_response_m_payload.branding-createObject-v2-Response-mPayload( a_pki_branding_id = [ 78 diff --git a/test/test_branding_edit_object_v2_response.py b/test/test_branding_edit_object_v2_response.py index f42d33b36..edb49dd05 100644 --- a/test/test_branding_edit_object_v2_response.py +++ b/test/test_branding_edit_object_v2_response.py @@ -36,9 +36,26 @@ def make_instance(self, include_optional) -> BrandingEditObjectV2Response: model = BrandingEditObjectV2Response() if include_optional: return BrandingEditObjectV2Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), + obj_debug = {"sMemoryUsage":"11,923MB","sRunTime":"0.6084s","iSQLSelects":3,"iSQLQueries":6,"a_objSQLQuery":[{"sQuery":"SELECT * FROM table","fDuration":1.0E-4},{"sQuery":"SELECT * FROM table","fDuration":1.0E-4}]} ) else: return BrandingEditObjectV2Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), ) """ diff --git a/test/test_branding_get_autocomplete_v2_response.py b/test/test_branding_get_autocomplete_v2_response.py index 66b49a1ab..971af053a 100644 --- a/test/test_branding_get_autocomplete_v2_response.py +++ b/test/test_branding_get_autocomplete_v2_response.py @@ -36,6 +36,15 @@ def make_instance(self, include_optional) -> BrandingGetAutocompleteV2Response: model = BrandingGetAutocompleteV2Response() if include_optional: return BrandingGetAutocompleteV2Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), + obj_debug = {"sMemoryUsage":"11,923MB","sRunTime":"0.6084s","iSQLSelects":3,"iSQLQueries":6,"a_objSQLQuery":[{"sQuery":"SELECT * FROM table","fDuration":1.0E-4},{"sQuery":"SELECT * FROM table","fDuration":1.0E-4}]}, m_payload = eZmaxApi.models.branding_get_autocomplete_v2_response_m_payload.branding-getAutocomplete-v2-Response-mPayload( a_obj_branding = [ eZmaxApi.models.branding_autocomplete_element_response.branding-AutocompleteElement-Response( @@ -46,6 +55,14 @@ def make_instance(self, include_optional) -> BrandingGetAutocompleteV2Response: ) else: return BrandingGetAutocompleteV2Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), m_payload = eZmaxApi.models.branding_get_autocomplete_v2_response_m_payload.branding-getAutocomplete-v2-Response-mPayload( a_obj_branding = [ eZmaxApi.models.branding_autocomplete_element_response.branding-AutocompleteElement-Response( diff --git a/test/test_branding_get_list_v1_response.py b/test/test_branding_get_list_v1_response.py index 9438a15d0..2c0ee59a5 100644 --- a/test/test_branding_get_list_v1_response.py +++ b/test/test_branding_get_list_v1_response.py @@ -36,10 +36,13 @@ def make_instance(self, include_optional) -> BrandingGetListV1Response: model = BrandingGetListV1Response() if include_optional: return BrandingGetListV1Response( + 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.branding_get_list_v1_response_m_payload.branding-getList-v1-Response-mPayload() ) else: return BrandingGetListV1Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload_get_list.Common-Response-objDebugPayload_getList(), m_payload = eZmaxApi.models.branding_get_list_v1_response_m_payload.branding-getList-v1-Response-mPayload(), ) """ diff --git a/test/test_branding_get_list_v1_response_m_payload.py b/test/test_branding_get_list_v1_response_m_payload.py index 0f28331d4..ebc9dc2b8 100644 --- a/test/test_branding_get_list_v1_response_m_payload.py +++ b/test/test_branding_get_list_v1_response_m_payload.py @@ -36,6 +36,8 @@ def make_instance(self, include_optional) -> BrandingGetListV1ResponseMPayload: model = BrandingGetListV1ResponseMPayload() if include_optional: return BrandingGetListV1ResponseMPayload( + i_row_returned = 100, + i_row_filtered = 533, a_obj_branding = [ eZmaxApi.models.branding_list_element.branding-ListElement( pki_branding_id = 78, @@ -51,6 +53,8 @@ def make_instance(self, include_optional) -> BrandingGetListV1ResponseMPayload: ) else: return BrandingGetListV1ResponseMPayload( + i_row_returned = 100, + i_row_filtered = 533, a_obj_branding = [ eZmaxApi.models.branding_list_element.branding-ListElement( pki_branding_id = 78, diff --git a/test/test_branding_get_object_v3_response.py b/test/test_branding_get_object_v3_response.py index c08070a75..652c227f3 100644 --- a/test/test_branding_get_object_v3_response.py +++ b/test/test_branding_get_object_v3_response.py @@ -36,11 +36,28 @@ def make_instance(self, include_optional) -> BrandingGetObjectV3Response: model = BrandingGetObjectV3Response() if include_optional: return BrandingGetObjectV3Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), + obj_debug = {"sMemoryUsage":"11,923MB","sRunTime":"0.6084s","iSQLSelects":3,"iSQLQueries":6,"a_objSQLQuery":[{"sQuery":"SELECT * FROM table","fDuration":1.0E-4},{"sQuery":"SELECT * FROM table","fDuration":1.0E-4}]}, m_payload = eZmaxApi.models.branding_get_object_v3_response_m_payload.branding-getObject-v3-Response-mPayload( obj_branding = eZmaxApi.models.branding_response_compound_v3.branding-ResponseCompoundV3(), ) ) else: return BrandingGetObjectV3Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), m_payload = eZmaxApi.models.branding_get_object_v3_response_m_payload.branding-getObject-v3-Response-mPayload( obj_branding = eZmaxApi.models.branding_response_compound_v3.branding-ResponseCompoundV3(), ), ) diff --git a/test/test_branding_request_compound_v2.py b/test/test_branding_request_compound_v2.py index 0841d0c3c..734daf54c 100644 --- a/test/test_branding_request_compound_v2.py +++ b/test/test_branding_request_compound_v2.py @@ -36,9 +36,26 @@ def make_instance(self, include_optional) -> BrandingRequestCompoundV2: model = BrandingRequestCompoundV2() if include_optional: return BrandingRequestCompoundV2( + pki_branding_id = 78, + obj_branding_description = eZmaxApi.models.multilingual_branding_description.Multilingual-BrandingDescription( + s_branding_description1 = 'Compagnie X', + s_branding_description2 = 'Company X', ), + e_branding_logo = 'Default', + e_branding_alignlogo = 'Center', + s_branding_base64 = 'eyIkcmVmIjoiIy9jb21wb25lbnRzL2V4YW1wbGVzL1BuZ0FzQmFzZTY0L3ZhbHVlIn0=', + i_branding_color = 15658734, + s_branding_name = 'eZmax (Corp)', + s_email_address = 'email@example.com', + b_branding_isactive = True ) else: return BrandingRequestCompoundV2( + obj_branding_description = eZmaxApi.models.multilingual_branding_description.Multilingual-BrandingDescription( + s_branding_description1 = 'Compagnie X', + s_branding_description2 = 'Company X', ), + e_branding_logo = 'Default', + i_branding_color = 15658734, + b_branding_isactive = True, ) """ diff --git a/test/test_branding_request_v2.py b/test/test_branding_request_v2.py index 2366c0aad..c443220a8 100644 --- a/test/test_branding_request_v2.py +++ b/test/test_branding_request_v2.py @@ -42,7 +42,7 @@ def make_instance(self, include_optional) -> BrandingRequestV2: s_branding_description2 = 'Company X', ), e_branding_logo = 'Default', e_branding_alignlogo = 'Center', - s_branding_base64 = '[B@30ed9c6c', + s_branding_base64 = '[B@b91d8c4', i_branding_color = 15658734, s_branding_name = 'eZmax (Corp)', s_email_address = 'email@example.com', diff --git a/test/test_branding_response_compound_v3.py b/test/test_branding_response_compound_v3.py index b9a5e4b50..8d3472e50 100644 --- a/test/test_branding_response_compound_v3.py +++ b/test/test_branding_response_compound_v3.py @@ -36,12 +36,33 @@ def make_instance(self, include_optional) -> BrandingResponseCompoundV3: model = BrandingResponseCompoundV3() if include_optional: return BrandingResponseCompoundV3( + pki_branding_id = 78, + fki_email_id = 22, + obj_branding_description = eZmaxApi.models.multilingual_branding_description.Multilingual-BrandingDescription( + s_branding_description1 = 'Compagnie X', + s_branding_description2 = 'Company X', ), + s_branding_description_x = 'Company X', + s_branding_name = 'eZmax (Corp)', + s_email_address = 'email@example.com', + e_branding_logo = 'Default', + e_branding_alignlogo = 'Center', + i_branding_color = 15658734, + b_branding_isactive = True, s_branding_logourl = 'http://www.example.com/logo.jpg', s_branding_logoemailurl = 'http://www.example.com/logo.jpg', s_branding_logointerfaceurl = 'http://www.example.com/logo.jpg' ) else: return BrandingResponseCompoundV3( + pki_branding_id = 78, + obj_branding_description = eZmaxApi.models.multilingual_branding_description.Multilingual-BrandingDescription( + s_branding_description1 = 'Compagnie X', + s_branding_description2 = 'Company X', ), + s_branding_description_x = 'Company X', + e_branding_logo = 'Default', + e_branding_alignlogo = 'Center', + i_branding_color = 15658734, + b_branding_isactive = True, ) """ diff --git a/test/test_buyercontract_get_communication_count_v1_response.py b/test/test_buyercontract_get_communication_count_v1_response.py index 29ea1f1e2..2f8d294fa 100644 --- a/test/test_buyercontract_get_communication_count_v1_response.py +++ b/test/test_buyercontract_get_communication_count_v1_response.py @@ -36,11 +36,28 @@ def make_instance(self, include_optional) -> BuyercontractGetCommunicationCountV model = BuyercontractGetCommunicationCountV1Response() if include_optional: return BuyercontractGetCommunicationCountV1Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), + obj_debug = {"sMemoryUsage":"11,923MB","sRunTime":"0.6084s","iSQLSelects":3,"iSQLQueries":6,"a_objSQLQuery":[{"sQuery":"SELECT * FROM table","fDuration":1.0E-4},{"sQuery":"SELECT * FROM table","fDuration":1.0E-4}]}, m_payload = eZmaxApi.models.buyercontract_get_communication_count_v1_response_m_payload.buyercontract-getCommunicationCount-v1-Response-mPayload( i_communication_count = 8, ) ) else: return BuyercontractGetCommunicationCountV1Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), m_payload = eZmaxApi.models.buyercontract_get_communication_count_v1_response_m_payload.buyercontract-getCommunicationCount-v1-Response-mPayload( i_communication_count = 8, ), ) diff --git a/test/test_buyercontract_get_communication_list_v1_response.py b/test/test_buyercontract_get_communication_list_v1_response.py index 58288afcd..9439ef449 100644 --- a/test/test_buyercontract_get_communication_list_v1_response.py +++ b/test/test_buyercontract_get_communication_list_v1_response.py @@ -36,6 +36,8 @@ def make_instance(self, include_optional) -> BuyercontractGetCommunicationListV1 model = BuyercontractGetCommunicationListV1Response() 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( a_obj_communication = [ eZmaxApi.models.custom_communication_list_element_response.Custom-CommunicationListElement-Response( @@ -52,6 +54,7 @@ def make_instance(self, include_optional) -> BuyercontractGetCommunicationListV1 ) 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( a_obj_communication = [ eZmaxApi.models.custom_communication_list_element_response.Custom-CommunicationListElement-Response( diff --git a/test/test_buyercontract_get_communicationrecipients_v1_response.py b/test/test_buyercontract_get_communicationrecipients_v1_response.py index 6f95ef1e6..7ea77b3ba 100644 --- a/test/test_buyercontract_get_communicationrecipients_v1_response.py +++ b/test/test_buyercontract_get_communicationrecipients_v1_response.py @@ -36,6 +36,15 @@ def make_instance(self, include_optional) -> BuyercontractGetCommunicationrecipi model = BuyercontractGetCommunicationrecipientsV1Response() if include_optional: return BuyercontractGetCommunicationrecipientsV1Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), + obj_debug = {"sMemoryUsage":"11,923MB","sRunTime":"0.6084s","iSQLSelects":3,"iSQLQueries":6,"a_objSQLQuery":[{"sQuery":"SELECT * FROM table","fDuration":1.0E-4},{"sQuery":"SELECT * FROM table","fDuration":1.0E-4}]}, m_payload = eZmaxApi.models.buyercontract_get_communicationrecipients_v1_response_m_payload.buyercontract-getCommunicationrecipients-v1-Response-mPayload( a_obj_communicationrecipientsgroup = [ eZmaxApi.models.custom_communicationrecipientsgroup_response.Custom-Communicationrecipientsgroup-Response( @@ -70,6 +79,14 @@ def make_instance(self, include_optional) -> BuyercontractGetCommunicationrecipi ) else: return BuyercontractGetCommunicationrecipientsV1Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), m_payload = eZmaxApi.models.buyercontract_get_communicationrecipients_v1_response_m_payload.buyercontract-getCommunicationrecipients-v1-Response-mPayload( a_obj_communicationrecipientsgroup = [ eZmaxApi.models.custom_communicationrecipientsgroup_response.Custom-Communicationrecipientsgroup-Response( diff --git a/test/test_buyercontract_get_communicationsenders_v1_response.py b/test/test_buyercontract_get_communicationsenders_v1_response.py index 717f07bc2..8cd620829 100644 --- a/test/test_buyercontract_get_communicationsenders_v1_response.py +++ b/test/test_buyercontract_get_communicationsenders_v1_response.py @@ -36,6 +36,15 @@ def make_instance(self, include_optional) -> BuyercontractGetCommunicationsender model = BuyercontractGetCommunicationsendersV1Response() if include_optional: return BuyercontractGetCommunicationsendersV1Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), + obj_debug = {"sMemoryUsage":"11,923MB","sRunTime":"0.6084s","iSQLSelects":3,"iSQLQueries":6,"a_objSQLQuery":[{"sQuery":"SELECT * FROM table","fDuration":1.0E-4},{"sQuery":"SELECT * FROM table","fDuration":1.0E-4}]}, m_payload = eZmaxApi.models.buyercontract_get_communicationsenders_v1_response_m_payload.buyercontract-getCommunicationsenders-v1-Response-mPayload( a_obj_communicationsenders = [ eZmaxApi.models.custom_communicationsender_response.Custom-Communicationsender-Response( @@ -56,6 +65,14 @@ def make_instance(self, include_optional) -> BuyercontractGetCommunicationsender ) else: return BuyercontractGetCommunicationsendersV1Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), m_payload = eZmaxApi.models.buyercontract_get_communicationsenders_v1_response_m_payload.buyercontract-getCommunicationsenders-v1-Response-mPayload( a_obj_communicationsenders = [ eZmaxApi.models.custom_communicationsender_response.Custom-Communicationsender-Response( diff --git a/test/test_clonehistory_get_list_v1_response.py b/test/test_clonehistory_get_list_v1_response.py index 360dac414..621a9832f 100644 --- a/test/test_clonehistory_get_list_v1_response.py +++ b/test/test_clonehistory_get_list_v1_response.py @@ -36,10 +36,13 @@ def make_instance(self, include_optional) -> ClonehistoryGetListV1Response: model = ClonehistoryGetListV1Response() if include_optional: return ClonehistoryGetListV1Response( + 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.clonehistory_get_list_v1_response_m_payload.clonehistory-getList-v1-Response-mPayload() ) else: return ClonehistoryGetListV1Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload_get_list.Common-Response-objDebugPayload_getList(), m_payload = eZmaxApi.models.clonehistory_get_list_v1_response_m_payload.clonehistory-getList-v1-Response-mPayload(), ) """ diff --git a/test/test_clonehistory_get_list_v1_response_m_payload.py b/test/test_clonehistory_get_list_v1_response_m_payload.py index 6130f4790..ba703d547 100644 --- a/test/test_clonehistory_get_list_v1_response_m_payload.py +++ b/test/test_clonehistory_get_list_v1_response_m_payload.py @@ -36,6 +36,8 @@ def make_instance(self, include_optional) -> ClonehistoryGetListV1ResponseMPaylo model = ClonehistoryGetListV1ResponseMPayload() if include_optional: return ClonehistoryGetListV1ResponseMPayload( + i_row_returned = 100, + i_row_filtered = 533, a_obj_clonehistory = [ eZmaxApi.models.clonehistory_list_element.clonehistory-ListElement( pki_clonehistory_id = 12, @@ -53,6 +55,8 @@ def make_instance(self, include_optional) -> ClonehistoryGetListV1ResponseMPaylo ) else: return ClonehistoryGetListV1ResponseMPayload( + i_row_returned = 100, + i_row_filtered = 533, a_obj_clonehistory = [ eZmaxApi.models.clonehistory_list_element.clonehistory-ListElement( pki_clonehistory_id = 12, diff --git a/test/test_colleague_request_compound_v2.py b/test/test_colleague_request_compound_v2.py index 8ec33c434..545803c05 100644 --- a/test/test_colleague_request_compound_v2.py +++ b/test/test_colleague_request_compound_v2.py @@ -36,9 +36,34 @@ def make_instance(self, include_optional) -> ColleagueRequestCompoundV2: model = ColleagueRequestCompoundV2() if include_optional: return ColleagueRequestCompoundV2( + pki_colleague_id = 60, + fki_user_id = 70, + fki_user_id_colleague = 70, + b_colleague_ezsignemail = False, + b_colleague_financial = True, + b_colleague_usecloneemail = True, + b_colleague_attachment = True, + b_colleague_canafe = True, + b_colleague_permission = True, + b_colleague_realestatecompleted = True, + dt_colleague_from = '2020-12-31', + dt_colleague_to = '2020-12-31', + e_colleague_ezsign = 'Full', + e_colleague_realestateinprogress = 'Create' ) else: return ColleagueRequestCompoundV2( + fki_user_id = 70, + fki_user_id_colleague = 70, + b_colleague_ezsignemail = False, + b_colleague_financial = True, + b_colleague_usecloneemail = True, + b_colleague_attachment = True, + b_colleague_canafe = True, + b_colleague_permission = True, + b_colleague_realestatecompleted = True, + e_colleague_ezsign = 'Full', + e_colleague_realestateinprogress = 'Create', ) """ diff --git a/test/test_colleague_response_compound_v2.py b/test/test_colleague_response_compound_v2.py index f1fbab145..2d854807f 100644 --- a/test/test_colleague_response_compound_v2.py +++ b/test/test_colleague_response_compound_v2.py @@ -36,9 +36,75 @@ def make_instance(self, include_optional) -> ColleagueResponseCompoundV2: model = ColleagueResponseCompoundV2() if include_optional: return ColleagueResponseCompoundV2( + pki_colleague_id = 60, + fki_user_id = 70, + fki_user_id_colleague = 70, + b_colleague_ezsignemail = False, + b_colleague_financial = True, + b_colleague_usecloneemail = True, + b_colleague_attachment = True, + b_colleague_canafe = True, + b_colleague_permission = True, + b_colleague_realestatecompleted = True, + dt_colleague_from = '2020-12-31', + dt_colleague_to = '2020-12-31', + e_colleague_ezsign = 'Full', + e_colleague_realestateinprogress = 'Create', + obj_user_name = eZmaxApi.models.custom_user_name_response.Custom-UserName-Response( + s_user_lastname = 'Doe', + s_user_firstname = 'John', ), + obj_audit = eZmaxApi.models.common_audit.Common-Audit( + obj_auditdetail_created = eZmaxApi.models.common_auditdetail.Common-Auditdetail( + fki_user_id = 70, + fki_apikey_id = 99, + s_user_loginname = 'JohnDoe', + s_user_lastname = 'Doe', + s_user_firstname = 'John', + s_apikey_description_x = 'Project X', + dt_auditdetail_date = '2020-12-31 23:59:59', ), + obj_auditdetail_modified = eZmaxApi.models.common_auditdetail.Common-Auditdetail( + fki_user_id = 70, + fki_apikey_id = 99, + s_user_loginname = 'JohnDoe', + s_user_lastname = 'Doe', + s_user_firstname = 'John', + s_apikey_description_x = 'Project X', + dt_auditdetail_date = '2020-12-31 23:59:59', ), ) ) else: return ColleagueResponseCompoundV2( + pki_colleague_id = 60, + fki_user_id = 70, + fki_user_id_colleague = 70, + b_colleague_ezsignemail = False, + b_colleague_financial = True, + b_colleague_usecloneemail = True, + b_colleague_attachment = True, + b_colleague_canafe = True, + b_colleague_permission = True, + b_colleague_realestatecompleted = True, + e_colleague_ezsign = 'Full', + e_colleague_realestateinprogress = 'Create', + obj_user_name = eZmaxApi.models.custom_user_name_response.Custom-UserName-Response( + s_user_lastname = 'Doe', + s_user_firstname = 'John', ), + obj_audit = eZmaxApi.models.common_audit.Common-Audit( + obj_auditdetail_created = eZmaxApi.models.common_auditdetail.Common-Auditdetail( + fki_user_id = 70, + fki_apikey_id = 99, + s_user_loginname = 'JohnDoe', + s_user_lastname = 'Doe', + s_user_firstname = 'John', + s_apikey_description_x = 'Project X', + dt_auditdetail_date = '2020-12-31 23:59:59', ), + obj_auditdetail_modified = eZmaxApi.models.common_auditdetail.Common-Auditdetail( + fki_user_id = 70, + fki_apikey_id = 99, + s_user_loginname = 'JohnDoe', + s_user_lastname = 'Doe', + s_user_firstname = 'John', + s_apikey_description_x = 'Project X', + dt_auditdetail_date = '2020-12-31 23:59:59', ), ), ) """ diff --git a/test/test_common_file.py b/test/test_common_file.py index f640e7b79..e29689538 100644 --- a/test/test_common_file.py +++ b/test/test_common_file.py @@ -38,7 +38,7 @@ def make_instance(self, include_optional) -> CommonFile: return CommonFile( s_file_name = 'example.pdf', s_file_url = '', - s_file_base64 = '[B@754777cd', + s_file_base64 = '[B@7807ac2c', e_file_source = 'Base64' ) else: diff --git a/test/test_common_get_report_v1_response.py b/test/test_common_get_report_v1_response.py index 93a0913be..b52235903 100644 --- a/test/test_common_get_report_v1_response.py +++ b/test/test_common_get_report_v1_response.py @@ -36,6 +36,15 @@ def make_instance(self, include_optional) -> CommonGetReportV1Response: model = CommonGetReportV1Response() if include_optional: return CommonGetReportV1Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), + obj_debug = {"sMemoryUsage":"11,923MB","sRunTime":"0.6084s","iSQLSelects":3,"iSQLQueries":6,"a_objSQLQuery":[{"sQuery":"SELECT * FROM table","fDuration":1.0E-4},{"sQuery":"SELECT * FROM table","fDuration":1.0E-4}]}, m_payload = eZmaxApi.models.common_get_report_v1_response_m_payload.Common-getReport-v1-Response-mPayload( obj_reportgroup = eZmaxApi.models.common_reportgroup.Common-Reportgroup( a_obj_report = [ @@ -100,6 +109,14 @@ def make_instance(self, include_optional) -> CommonGetReportV1Response: ) else: return CommonGetReportV1Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), m_payload = eZmaxApi.models.common_get_report_v1_response_m_payload.Common-getReport-v1-Response-mPayload( obj_reportgroup = eZmaxApi.models.common_reportgroup.Common-Reportgroup( a_obj_report = [ diff --git a/test/test_common_response_error_creditcard_validation.py b/test/test_common_response_error_creditcard_validation.py index 0fbbc61b0..00041ec7c 100644 --- a/test/test_common_response_error_creditcard_validation.py +++ b/test/test_common_response_error_creditcard_validation.py @@ -36,6 +36,11 @@ def make_instance(self, include_optional) -> CommonResponseErrorCreditcardValida model = CommonResponseErrorCreditcardValidation() if include_optional: return CommonResponseErrorCreditcardValidation( + s_error_message = 'Invalid Signature Headers', + e_error_code = 'BADREQUEST', + a_s_error_messagedetail = [ + '' + ], obj_creditcardtransactionresponse = eZmaxApi.models.custom_creditcardtransactionresponse_response.Custom-Creditcardtransactionresponse-Response( s_creditcardtransaction_is_ocode = '01', s_creditcardtransaction_responsecode = '027', @@ -45,6 +50,8 @@ def make_instance(self, include_optional) -> CommonResponseErrorCreditcardValida ) else: return CommonResponseErrorCreditcardValidation( + s_error_message = 'Invalid Signature Headers', + e_error_code = 'BADREQUEST', ) """ diff --git a/test/test_common_response_error_ezsignform_validation.py b/test/test_common_response_error_ezsignform_validation.py index aef0731c2..a2c73d33d 100644 --- a/test/test_common_response_error_ezsignform_validation.py +++ b/test/test_common_response_error_ezsignform_validation.py @@ -36,12 +36,19 @@ def make_instance(self, include_optional) -> CommonResponseErrorEzsignformValida model = CommonResponseErrorEzsignformValidation() if include_optional: return CommonResponseErrorEzsignformValidation( + s_error_message = 'Invalid Signature Headers', + e_error_code = 'BADREQUEST', + a_s_error_messagedetail = [ + '' + ], a_obj_ezsignformfielderror = [ eZmaxApi.models.custom_ezsignformfielderror_response.Custom-Ezsignformfielderror-Response() ] ) else: return CommonResponseErrorEzsignformValidation( + s_error_message = 'Invalid Signature Headers', + e_error_code = 'BADREQUEST', a_obj_ezsignformfielderror = [ eZmaxApi.models.custom_ezsignformfielderror_response.Custom-Ezsignformfielderror-Response() ], diff --git a/test/test_common_response_error_s_temporary_file_url.py b/test/test_common_response_error_s_temporary_file_url.py index aeb92c30d..737979218 100644 --- a/test/test_common_response_error_s_temporary_file_url.py +++ b/test/test_common_response_error_s_temporary_file_url.py @@ -36,10 +36,17 @@ def make_instance(self, include_optional) -> CommonResponseErrorSTemporaryFileUr model = CommonResponseErrorSTemporaryFileUrl() if include_optional: return CommonResponseErrorSTemporaryFileUrl( + s_error_message = 'Invalid Signature Headers', + e_error_code = 'BADREQUEST', + a_s_error_messagedetail = [ + '' + ], s_temporary_file_url = 'http://www.example.com/document.pdf' ) else: return CommonResponseErrorSTemporaryFileUrl( + s_error_message = 'Invalid Signature Headers', + e_error_code = 'BADREQUEST', ) """ diff --git a/test/test_common_response_error_too_many_requests.py b/test/test_common_response_error_too_many_requests.py index fd470d18e..fcb0abac9 100644 --- a/test/test_common_response_error_too_many_requests.py +++ b/test/test_common_response_error_too_many_requests.py @@ -36,9 +36,16 @@ def make_instance(self, include_optional) -> CommonResponseErrorTooManyRequests: model = CommonResponseErrorTooManyRequests() if include_optional: return CommonResponseErrorTooManyRequests( + s_error_message = 'Invalid Signature Headers', + e_error_code = 'BADREQUEST', + a_s_error_messagedetail = [ + '' + ] ) else: return CommonResponseErrorTooManyRequests( + s_error_message = 'Invalid Signature Headers', + e_error_code = 'BADREQUEST', ) """ diff --git a/test/test_common_response_error_wrong_franchiseoffice.py b/test/test_common_response_error_wrong_franchiseoffice.py index e0dd077db..f435e13a1 100644 --- a/test/test_common_response_error_wrong_franchiseoffice.py +++ b/test/test_common_response_error_wrong_franchiseoffice.py @@ -36,6 +36,11 @@ def make_instance(self, include_optional) -> CommonResponseErrorWrongFranchiseof model = CommonResponseErrorWrongFranchiseoffice() if include_optional: return CommonResponseErrorWrongFranchiseoffice( + s_error_message = 'Invalid Signature Headers', + e_error_code = 'BADREQUEST', + a_s_error_messagedetail = [ + '' + ], fki_franchiseagence_id = 117, s_franchiseagence_name = 'Default', fki_franchiseoffice_id = 50, @@ -43,6 +48,8 @@ def make_instance(self, include_optional) -> CommonResponseErrorWrongFranchiseof ) else: return CommonResponseErrorWrongFranchiseoffice( + s_error_message = 'Invalid Signature Headers', + e_error_code = 'BADREQUEST', fki_franchiseagence_id = 117, s_franchiseagence_name = 'Default', fki_franchiseoffice_id = 50, diff --git a/test/test_common_response_obj_debug_payload_get_list.py b/test/test_common_response_obj_debug_payload_get_list.py index 27a758eb8..ec587ed96 100644 --- a/test/test_common_response_obj_debug_payload_get_list.py +++ b/test/test_common_response_obj_debug_payload_get_list.py @@ -36,6 +36,13 @@ def make_instance(self, include_optional) -> CommonResponseObjDebugPayloadGetLis model = CommonResponseObjDebugPayloadGetList() if include_optional: return CommonResponseObjDebugPayloadGetList( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', a_filter = eZmaxApi.models.common_response_filter.Common-Response-Filter( a_auto_type = { 'key' : '' @@ -56,6 +63,13 @@ def make_instance(self, include_optional) -> CommonResponseObjDebugPayloadGetLis ) else: return CommonResponseObjDebugPayloadGetList( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', a_filter = eZmaxApi.models.common_response_filter.Common-Response-Filter( a_auto_type = { 'key' : '' diff --git a/test/test_communication_request_compound.py b/test/test_communication_request_compound.py index fc3274985..2f43edacd 100644 --- a/test/test_communication_request_compound.py +++ b/test/test_communication_request_compound.py @@ -36,13 +36,28 @@ def make_instance(self, include_optional) -> CommunicationRequestCompound: model = CommunicationRequestCompound() 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_phonelineshared_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@754777cd', + s_file_base64 = '[B@7807ac2c', e_file_source = 'Base64', ), ) ], a_obj_communicationrecipient = [ @@ -57,13 +72,16 @@ def make_instance(self, include_optional) -> CommunicationRequestCompound: ) 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@754777cd', + s_file_base64 = '[B@7807ac2c', e_file_source = 'Base64', ), ) ], a_obj_communicationrecipient = [ diff --git a/test/test_communication_send_v1_response.py b/test/test_communication_send_v1_response.py index 837ed1da7..9782364e1 100644 --- a/test/test_communication_send_v1_response.py +++ b/test/test_communication_send_v1_response.py @@ -36,6 +36,15 @@ def make_instance(self, include_optional) -> CommunicationSendV1Response: model = CommunicationSendV1Response() if include_optional: return CommunicationSendV1Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), + obj_debug = {"sMemoryUsage":"11,923MB","sRunTime":"0.6084s","iSQLSelects":3,"iSQLQueries":6,"a_objSQLQuery":[{"sQuery":"SELECT * FROM table","fDuration":1.0E-4},{"sQuery":"SELECT * FROM table","fDuration":1.0E-4}]}, m_payload = eZmaxApi.models.communication_send_v1_response_m_payload.communication-send-v1-Response-mPayload( a_pki_communication_id = [ 1 @@ -43,6 +52,14 @@ def make_instance(self, include_optional) -> CommunicationSendV1Response: ) else: return CommunicationSendV1Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), m_payload = eZmaxApi.models.communication_send_v1_response_m_payload.communication-send-v1-Response-mPayload( a_pki_communication_id = [ 1 diff --git a/test/test_communicationattachment_request_compound.py b/test/test_communicationattachment_request_compound.py index 15efaeee0..5dfeff8b5 100644 --- a/test/test_communicationattachment_request_compound.py +++ b/test/test_communicationattachment_request_compound.py @@ -36,6 +36,10 @@ def make_instance(self, include_optional) -> CommunicationattachmentRequestCompo model = CommunicationattachmentRequestCompound() if include_optional: return CommunicationattachmentRequestCompound( + pki_communicationattachment_id = 203, + fki_attachment_id = 1, + fki_invoice_id = 1, + fki_salarypreparation_id = 1 ) else: return CommunicationattachmentRequestCompound( diff --git a/test/test_communicationexternalrecipient_request_compound.py b/test/test_communicationexternalrecipient_request_compound.py index 582003588..6780b1c80 100644 --- a/test/test_communicationexternalrecipient_request_compound.py +++ b/test/test_communicationexternalrecipient_request_compound.py @@ -36,6 +36,11 @@ def make_instance(self, include_optional) -> CommunicationexternalrecipientReque model = CommunicationexternalrecipientRequestCompound() 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( diff --git a/test/test_communicationrecipient_request_compound.py b/test/test_communicationrecipient_request_compound.py index d4f18218d..c437e74fd 100644 --- a/test/test_communicationrecipient_request_compound.py +++ b/test/test_communicationrecipient_request_compound.py @@ -36,6 +36,21 @@ def make_instance(self, include_optional) -> CommunicationrecipientRequestCompou model = CommunicationrecipientRequestCompound() if include_optional: return CommunicationrecipientRequestCompound( + pki_communicationrecipient_id = 1, + fki_agent_id = 1, + fki_broker_id = 26, + fki_contact_id = 21, + 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, + fki_mailboxshared_id = 47, + fki_phonelineshared_id = 47, + e_communicationrecipient_type = 'To' ) else: return CommunicationrecipientRequestCompound( diff --git a/test/test_company_get_autocomplete_v2_response.py b/test/test_company_get_autocomplete_v2_response.py index bad7e212e..0fd8dae2c 100644 --- a/test/test_company_get_autocomplete_v2_response.py +++ b/test/test_company_get_autocomplete_v2_response.py @@ -36,6 +36,15 @@ def make_instance(self, include_optional) -> CompanyGetAutocompleteV2Response: model = CompanyGetAutocompleteV2Response() if include_optional: return CompanyGetAutocompleteV2Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), + obj_debug = {"sMemoryUsage":"11,923MB","sRunTime":"0.6084s","iSQLSelects":3,"iSQLQueries":6,"a_objSQLQuery":[{"sQuery":"SELECT * FROM table","fDuration":1.0E-4},{"sQuery":"SELECT * FROM table","fDuration":1.0E-4}]}, m_payload = eZmaxApi.models.company_get_autocomplete_v2_response_m_payload.company-getAutocomplete-v2-Response-mPayload( a_obj_company = [ eZmaxApi.models.company_autocomplete_element_response.company-AutocompleteElement-Response( @@ -46,6 +55,14 @@ def make_instance(self, include_optional) -> CompanyGetAutocompleteV2Response: ) else: return CompanyGetAutocompleteV2Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), m_payload = eZmaxApi.models.company_get_autocomplete_v2_response_m_payload.company-getAutocomplete-v2-Response-mPayload( a_obj_company = [ eZmaxApi.models.company_autocomplete_element_response.company-AutocompleteElement-Response( diff --git a/test/test_contact_request_compound.py b/test/test_contact_request_compound.py index edb796885..1f60e3236 100644 --- a/test/test_contact_request_compound.py +++ b/test/test_contact_request_compound.py @@ -36,10 +36,21 @@ def make_instance(self, include_optional) -> ContactRequestCompound: model = ContactRequestCompound() if include_optional: return ContactRequestCompound( + fki_contacttitle_id = 2, + fki_language_id = 2, + s_contact_firstname = 'John', + s_contact_lastname = 'Doe', + s_contact_company = 'eZmax Solutions Inc.', + dt_contact_birthdate = '1980-01-01', obj_contactinformations = eZmaxApi.models.contactinformations_request_compound.contactinformations-RequestCompound() ) else: return ContactRequestCompound( + fki_contacttitle_id = 2, + fki_language_id = 2, + s_contact_firstname = 'John', + s_contact_lastname = 'Doe', + s_contact_company = 'eZmax Solutions Inc.', obj_contactinformations = eZmaxApi.models.contactinformations_request_compound.contactinformations-RequestCompound(), ) """ diff --git a/test/test_contact_request_compound_v2.py b/test/test_contact_request_compound_v2.py index 8a1dbf5f0..7da9161f0 100644 --- a/test/test_contact_request_compound_v2.py +++ b/test/test_contact_request_compound_v2.py @@ -36,10 +36,25 @@ def make_instance(self, include_optional) -> ContactRequestCompoundV2: model = ContactRequestCompoundV2() if include_optional: return ContactRequestCompoundV2( + fki_contacttitle_id = 2, + fki_language_id = 2, + e_contact_type = 'Agent', + s_contact_firstname = 'John', + s_contact_lastname = 'Doe', + s_contact_company = 'eZmax Solutions Inc.', + dt_contact_birthdate = '1980-01-01', + s_contact_occupation = 'Programmer', + t_contact_note = 'This is a note', + b_contact_isactive = True, obj_contactinformations = eZmaxApi.models.contactinformations_request_compound_v2.contactinformations-RequestCompoundV2() ) else: return ContactRequestCompoundV2( + fki_contacttitle_id = 2, + fki_language_id = 2, + e_contact_type = 'Agent', + s_contact_firstname = 'John', + s_contact_lastname = 'Doe', obj_contactinformations = eZmaxApi.models.contactinformations_request_compound_v2.contactinformations-RequestCompoundV2(), ) """ diff --git a/test/test_contact_response_compound.py b/test/test_contact_response_compound.py index 088c78d14..af79f3fb3 100644 --- a/test/test_contact_response_compound.py +++ b/test/test_contact_response_compound.py @@ -36,9 +36,31 @@ def make_instance(self, include_optional) -> ContactResponseCompound: model = ContactResponseCompound() if include_optional: return ContactResponseCompound( + pki_contact_id = 21, + fki_language_id = 2, + fki_contacttitle_id = 2, + fki_contactinformations_id = 55, + dt_contact_birthdate = '1980-01-01', + e_contact_type = 'Agent', + s_contact_firstname = 'John', + s_contact_lastname = 'Doe', + s_contact_company = 'eZmax Solutions Inc.', + s_contact_occupation = 'Programmer', + t_contact_note = 'This is a note', + b_contact_isactive = True, + obj_contactinformations = eZmaxApi.models.contactinformations_response_compound.contactinformations-ResponseCompound() ) else: return ContactResponseCompound( + pki_contact_id = 21, + fki_language_id = 2, + fki_contacttitle_id = 2, + fki_contactinformations_id = 55, + e_contact_type = 'Agent', + s_contact_firstname = 'John', + s_contact_lastname = 'Doe', + b_contact_isactive = True, + obj_contactinformations = eZmaxApi.models.contactinformations_response_compound.contactinformations-ResponseCompound(), ) """ diff --git a/test/test_contactinformations_request_compound.py b/test/test_contactinformations_request_compound.py index 80aed7551..c2da08ee9 100644 --- a/test/test_contactinformations_request_compound.py +++ b/test/test_contactinformations_request_compound.py @@ -36,6 +36,10 @@ def make_instance(self, include_optional) -> ContactinformationsRequestCompound: model = ContactinformationsRequestCompound() if include_optional: return ContactinformationsRequestCompound( + i_address_default = 56, + i_phone_default = 56, + i_email_default = 56, + i_website_default = 56, a_obj_address = [ eZmaxApi.models.address_request_compound.address-RequestCompound() ], @@ -51,6 +55,10 @@ def make_instance(self, include_optional) -> ContactinformationsRequestCompound: ) else: return ContactinformationsRequestCompound( + i_address_default = 56, + i_phone_default = 56, + i_email_default = 56, + i_website_default = 56, a_obj_address = [ eZmaxApi.models.address_request_compound.address-RequestCompound() ], diff --git a/test/test_contactinformations_request_compound_v2.py b/test/test_contactinformations_request_compound_v2.py index 7888160cf..047ff334b 100644 --- a/test/test_contactinformations_request_compound_v2.py +++ b/test/test_contactinformations_request_compound_v2.py @@ -36,6 +36,11 @@ def make_instance(self, include_optional) -> ContactinformationsRequestCompoundV model = ContactinformationsRequestCompoundV2() if include_optional: return ContactinformationsRequestCompoundV2( + e_contactinformations_type = 'BankAccount', + i_address_default = 56, + i_phone_default = 56, + i_email_default = 56, + i_website_default = 56, a_obj_address = [ eZmaxApi.models.address_request_compound.address-RequestCompound() ], @@ -51,6 +56,11 @@ def make_instance(self, include_optional) -> ContactinformationsRequestCompoundV ) else: return ContactinformationsRequestCompoundV2( + e_contactinformations_type = 'BankAccount', + i_address_default = 56, + i_phone_default = 56, + i_email_default = 56, + i_website_default = 56, a_obj_address = [ eZmaxApi.models.address_request_compound.address-RequestCompound() ], diff --git a/test/test_contactinformations_response.py b/test/test_contactinformations_response.py index 717969257..91b6d85af 100644 --- a/test/test_contactinformations_response.py +++ b/test/test_contactinformations_response.py @@ -43,29 +43,10 @@ def make_instance(self, include_optional) -> ContactinformationsResponse: fki_website_id_default = 145, e_contactinformations_type = 'BankAccount', s_contactinformations_url = 'https://www.example.com', - obj_address_default = eZmaxApi.models.address_response.address-Response( - pki_address_id = 142, - fki_addresstype_id = 1, - s_address_civic = '2540', - s_address_street = 'Daniel-Johnson Blvd.', - s_address_suite = '610', - s_address_city = 'Laval', - fki_province_id = 11, - s_province_name_x = 'Quebec', - fki_country_id = 1, - s_country_name_x = 'Canada', - s_address_zip = 'H7T2S3', - f_address_longitude = 'doej', - f_address_latitude = 'doej', ), + obj_address_default = eZmaxApi.models.address_response_compound.address-ResponseCompound(), obj_phone_default = eZmaxApi.models.phone_response_compound.phone-ResponseCompound(), - obj_email_default = eZmaxApi.models.email_response.email-Response( - pki_email_id = 22, - fki_emailtype_id = 1, - s_email_address = 'email@example.com', ), - obj_website_default = eZmaxApi.models.website_response.website-Response( - pki_website_id = 145, - fki_websitetype_id = 1, - s_website_address = 'https://www.example.com', ) + obj_email_default = eZmaxApi.models.email_response_compound.email-ResponseCompound(), + obj_website_default = eZmaxApi.models.website_response_compound.website-ResponseCompound() ) else: return ContactinformationsResponse( diff --git a/test/test_contactinformations_response_compound.py b/test/test_contactinformations_response_compound.py index d83d202ed..7c1fe8ba4 100644 --- a/test/test_contactinformations_response_compound.py +++ b/test/test_contactinformations_response_compound.py @@ -36,6 +36,17 @@ def make_instance(self, include_optional) -> ContactinformationsResponseCompound model = ContactinformationsResponseCompound() if include_optional: return ContactinformationsResponseCompound( + pki_contactinformations_id = 55, + fki_address_id_default = 142, + fki_phone_id_default = 1, + fki_email_id_default = 22, + fki_website_id_default = 145, + e_contactinformations_type = 'BankAccount', + s_contactinformations_url = 'https://www.example.com', + obj_address_default = eZmaxApi.models.address_response_compound.address-ResponseCompound(), + obj_phone_default = eZmaxApi.models.phone_response_compound.phone-ResponseCompound(), + obj_email_default = eZmaxApi.models.email_response_compound.email-ResponseCompound(), + obj_website_default = eZmaxApi.models.website_response_compound.website-ResponseCompound(), a_obj_address = [ eZmaxApi.models.address_response_compound.address-ResponseCompound() ], @@ -51,6 +62,8 @@ def make_instance(self, include_optional) -> ContactinformationsResponseCompound ) else: return ContactinformationsResponseCompound( + pki_contactinformations_id = 55, + e_contactinformations_type = 'BankAccount', a_obj_address = [ eZmaxApi.models.address_response_compound.address-ResponseCompound() ], diff --git a/test/test_contacttitle_get_autocomplete_v2_response.py b/test/test_contacttitle_get_autocomplete_v2_response.py index 2a4dda40b..aedc0b011 100644 --- a/test/test_contacttitle_get_autocomplete_v2_response.py +++ b/test/test_contacttitle_get_autocomplete_v2_response.py @@ -36,6 +36,15 @@ def make_instance(self, include_optional) -> ContacttitleGetAutocompleteV2Respon model = ContacttitleGetAutocompleteV2Response() if include_optional: return ContacttitleGetAutocompleteV2Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), + obj_debug = {"sMemoryUsage":"11,923MB","sRunTime":"0.6084s","iSQLSelects":3,"iSQLQueries":6,"a_objSQLQuery":[{"sQuery":"SELECT * FROM table","fDuration":1.0E-4},{"sQuery":"SELECT * FROM table","fDuration":1.0E-4}]}, m_payload = eZmaxApi.models.contacttitle_get_autocomplete_v2_response_m_payload.contacttitle-getAutocomplete-v2-Response-mPayload( a_obj_contacttitle = [ eZmaxApi.models.contacttitle_autocomplete_element_response.contacttitle-AutocompleteElement-Response( @@ -45,6 +54,14 @@ def make_instance(self, include_optional) -> ContacttitleGetAutocompleteV2Respon ) else: return ContacttitleGetAutocompleteV2Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), m_payload = eZmaxApi.models.contacttitle_get_autocomplete_v2_response_m_payload.contacttitle-getAutocomplete-v2-Response-mPayload( a_obj_contacttitle = [ eZmaxApi.models.contacttitle_autocomplete_element_response.contacttitle-AutocompleteElement-Response( diff --git a/test/test_cors_create_object_v1_response.py b/test/test_cors_create_object_v1_response.py index 5cf164ffd..a39b762ab 100644 --- a/test/test_cors_create_object_v1_response.py +++ b/test/test_cors_create_object_v1_response.py @@ -36,6 +36,15 @@ def make_instance(self, include_optional) -> CorsCreateObjectV1Response: model = CorsCreateObjectV1Response() if include_optional: return CorsCreateObjectV1Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), + obj_debug = {"sMemoryUsage":"11,923MB","sRunTime":"0.6084s","iSQLSelects":3,"iSQLQueries":6,"a_objSQLQuery":[{"sQuery":"SELECT * FROM table","fDuration":1.0E-4},{"sQuery":"SELECT * FROM table","fDuration":1.0E-4}]}, m_payload = eZmaxApi.models.cors_create_object_v1_response_m_payload.cors-createObject-v1-Response-mPayload( a_pki_cors_id = [ 228 @@ -43,6 +52,14 @@ def make_instance(self, include_optional) -> CorsCreateObjectV1Response: ) else: return CorsCreateObjectV1Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), m_payload = eZmaxApi.models.cors_create_object_v1_response_m_payload.cors-createObject-v1-Response-mPayload( a_pki_cors_id = [ 228 diff --git a/test/test_cors_delete_object_v1_response.py b/test/test_cors_delete_object_v1_response.py index ffba1d6a9..6cba75816 100644 --- a/test/test_cors_delete_object_v1_response.py +++ b/test/test_cors_delete_object_v1_response.py @@ -36,9 +36,26 @@ def make_instance(self, include_optional) -> CorsDeleteObjectV1Response: model = CorsDeleteObjectV1Response() if include_optional: return CorsDeleteObjectV1Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), + obj_debug = {"sMemoryUsage":"11,923MB","sRunTime":"0.6084s","iSQLSelects":3,"iSQLQueries":6,"a_objSQLQuery":[{"sQuery":"SELECT * FROM table","fDuration":1.0E-4},{"sQuery":"SELECT * FROM table","fDuration":1.0E-4}]} ) else: return CorsDeleteObjectV1Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), ) """ diff --git a/test/test_cors_edit_object_v1_response.py b/test/test_cors_edit_object_v1_response.py index e55bc271a..dad1bff99 100644 --- a/test/test_cors_edit_object_v1_response.py +++ b/test/test_cors_edit_object_v1_response.py @@ -36,9 +36,26 @@ def make_instance(self, include_optional) -> CorsEditObjectV1Response: model = CorsEditObjectV1Response() if include_optional: return CorsEditObjectV1Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), + obj_debug = {"sMemoryUsage":"11,923MB","sRunTime":"0.6084s","iSQLSelects":3,"iSQLQueries":6,"a_objSQLQuery":[{"sQuery":"SELECT * FROM table","fDuration":1.0E-4},{"sQuery":"SELECT * FROM table","fDuration":1.0E-4}]} ) else: return CorsEditObjectV1Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), ) """ diff --git a/test/test_cors_get_object_v2_response.py b/test/test_cors_get_object_v2_response.py index be81c1283..56dee9bd3 100644 --- a/test/test_cors_get_object_v2_response.py +++ b/test/test_cors_get_object_v2_response.py @@ -36,11 +36,28 @@ def make_instance(self, include_optional) -> CorsGetObjectV2Response: model = CorsGetObjectV2Response() if include_optional: return CorsGetObjectV2Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), + obj_debug = {"sMemoryUsage":"11,923MB","sRunTime":"0.6084s","iSQLSelects":3,"iSQLQueries":6,"a_objSQLQuery":[{"sQuery":"SELECT * FROM table","fDuration":1.0E-4},{"sQuery":"SELECT * FROM table","fDuration":1.0E-4}]}, m_payload = eZmaxApi.models.cors_get_object_v2_response_m_payload.cors-getObject-v2-Response-mPayload( obj_cors = eZmaxApi.models.cors_response_compound.cors-ResponseCompound(), ) ) else: return CorsGetObjectV2Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), m_payload = eZmaxApi.models.cors_get_object_v2_response_m_payload.cors-getObject-v2-Response-mPayload( obj_cors = eZmaxApi.models.cors_response_compound.cors-ResponseCompound(), ), ) diff --git a/test/test_cors_request_compound.py b/test/test_cors_request_compound.py index 6bc66a8e7..550bf15c8 100644 --- a/test/test_cors_request_compound.py +++ b/test/test_cors_request_compound.py @@ -36,9 +36,14 @@ def make_instance(self, include_optional) -> CorsRequestCompound: model = CorsRequestCompound() if include_optional: return CorsRequestCompound( + pki_cors_id = 228, + fki_apikey_id = 99, + s_cors_entryurl = 'Https://www.example.com' ) else: return CorsRequestCompound( + fki_apikey_id = 99, + s_cors_entryurl = 'Https://www.example.com', ) """ diff --git a/test/test_cors_response_compound.py b/test/test_cors_response_compound.py index 5d82a1b35..6f7f589e2 100644 --- a/test/test_cors_response_compound.py +++ b/test/test_cors_response_compound.py @@ -36,9 +36,15 @@ def make_instance(self, include_optional) -> CorsResponseCompound: model = CorsResponseCompound() if include_optional: return CorsResponseCompound( + pki_cors_id = 228, + fki_apikey_id = 99, + s_cors_entryurl = 'Https://www.example.com' ) else: return CorsResponseCompound( + pki_cors_id = 228, + fki_apikey_id = 99, + s_cors_entryurl = 'Https://www.example.com', ) """ diff --git a/test/test_country_get_autocomplete_v2_response.py b/test/test_country_get_autocomplete_v2_response.py index ed86e154e..e868a1b7d 100644 --- a/test/test_country_get_autocomplete_v2_response.py +++ b/test/test_country_get_autocomplete_v2_response.py @@ -36,6 +36,15 @@ def make_instance(self, include_optional) -> CountryGetAutocompleteV2Response: model = CountryGetAutocompleteV2Response() if include_optional: return CountryGetAutocompleteV2Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), + obj_debug = {"sMemoryUsage":"11,923MB","sRunTime":"0.6084s","iSQLSelects":3,"iSQLQueries":6,"a_objSQLQuery":[{"sQuery":"SELECT * FROM table","fDuration":1.0E-4},{"sQuery":"SELECT * FROM table","fDuration":1.0E-4}]}, m_payload = eZmaxApi.models.country_get_autocomplete_v2_response_m_payload.country-getAutocomplete-v2-Response-mPayload( a_obj_country = [ eZmaxApi.models.country_autocomplete_element_response.country-AutocompleteElement-Response( @@ -47,6 +56,14 @@ def make_instance(self, include_optional) -> CountryGetAutocompleteV2Response: ) else: return CountryGetAutocompleteV2Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), m_payload = eZmaxApi.models.country_get_autocomplete_v2_response_m_payload.country-getAutocomplete-v2-Response-mPayload( a_obj_country = [ eZmaxApi.models.country_autocomplete_element_response.country-AutocompleteElement-Response( diff --git a/test/test_creditcardclient_create_object_v1_response.py b/test/test_creditcardclient_create_object_v1_response.py index 4b5846479..526c95821 100644 --- a/test/test_creditcardclient_create_object_v1_response.py +++ b/test/test_creditcardclient_create_object_v1_response.py @@ -36,6 +36,15 @@ def make_instance(self, include_optional) -> CreditcardclientCreateObjectV1Respo model = CreditcardclientCreateObjectV1Response() if include_optional: return CreditcardclientCreateObjectV1Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), + obj_debug = {"sMemoryUsage":"11,923MB","sRunTime":"0.6084s","iSQLSelects":3,"iSQLQueries":6,"a_objSQLQuery":[{"sQuery":"SELECT * FROM table","fDuration":1.0E-4},{"sQuery":"SELECT * FROM table","fDuration":1.0E-4}]}, m_payload = eZmaxApi.models.creditcardclient_create_object_v1_response_m_payload.creditcardclient-createObject-v1-Response-mPayload( a_pki_creditcardclient_id = [ 114 @@ -43,6 +52,14 @@ def make_instance(self, include_optional) -> CreditcardclientCreateObjectV1Respo ) else: return CreditcardclientCreateObjectV1Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), m_payload = eZmaxApi.models.creditcardclient_create_object_v1_response_m_payload.creditcardclient-createObject-v1-Response-mPayload( a_pki_creditcardclient_id = [ 114 diff --git a/test/test_creditcardclient_delete_object_v1_response.py b/test/test_creditcardclient_delete_object_v1_response.py index 0af4ef7c6..b0ef5c770 100644 --- a/test/test_creditcardclient_delete_object_v1_response.py +++ b/test/test_creditcardclient_delete_object_v1_response.py @@ -36,9 +36,26 @@ def make_instance(self, include_optional) -> CreditcardclientDeleteObjectV1Respo model = CreditcardclientDeleteObjectV1Response() if include_optional: return CreditcardclientDeleteObjectV1Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), + obj_debug = {"sMemoryUsage":"11,923MB","sRunTime":"0.6084s","iSQLSelects":3,"iSQLQueries":6,"a_objSQLQuery":[{"sQuery":"SELECT * FROM table","fDuration":1.0E-4},{"sQuery":"SELECT * FROM table","fDuration":1.0E-4}]} ) else: return CreditcardclientDeleteObjectV1Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), ) """ diff --git a/test/test_creditcardclient_edit_object_v1_response.py b/test/test_creditcardclient_edit_object_v1_response.py index e265d51c2..1c886fd80 100644 --- a/test/test_creditcardclient_edit_object_v1_response.py +++ b/test/test_creditcardclient_edit_object_v1_response.py @@ -36,9 +36,26 @@ def make_instance(self, include_optional) -> CreditcardclientEditObjectV1Respons model = CreditcardclientEditObjectV1Response() if include_optional: return CreditcardclientEditObjectV1Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), + obj_debug = {"sMemoryUsage":"11,923MB","sRunTime":"0.6084s","iSQLSelects":3,"iSQLQueries":6,"a_objSQLQuery":[{"sQuery":"SELECT * FROM table","fDuration":1.0E-4},{"sQuery":"SELECT * FROM table","fDuration":1.0E-4}]} ) else: return CreditcardclientEditObjectV1Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), ) """ diff --git a/test/test_creditcardclient_get_autocomplete_v2_response.py b/test/test_creditcardclient_get_autocomplete_v2_response.py index f6a4b42f6..acfacdac5 100644 --- a/test/test_creditcardclient_get_autocomplete_v2_response.py +++ b/test/test_creditcardclient_get_autocomplete_v2_response.py @@ -36,6 +36,15 @@ def make_instance(self, include_optional) -> CreditcardclientGetAutocompleteV2Re model = CreditcardclientGetAutocompleteV2Response() if include_optional: return CreditcardclientGetAutocompleteV2Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), + obj_debug = {"sMemoryUsage":"11,923MB","sRunTime":"0.6084s","iSQLSelects":3,"iSQLQueries":6,"a_objSQLQuery":[{"sQuery":"SELECT * FROM table","fDuration":1.0E-4},{"sQuery":"SELECT * FROM table","fDuration":1.0E-4}]}, m_payload = eZmaxApi.models.creditcardclient_get_autocomplete_v2_response_m_payload.creditcardclient-getAutocomplete-v2-Response-mPayload( a_obj_creditcardclient = [ eZmaxApi.models.creditcardclient_autocomplete_element_response.creditcardclient-AutocompleteElement-Response( @@ -45,6 +54,14 @@ def make_instance(self, include_optional) -> CreditcardclientGetAutocompleteV2Re ) else: return CreditcardclientGetAutocompleteV2Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), m_payload = eZmaxApi.models.creditcardclient_get_autocomplete_v2_response_m_payload.creditcardclient-getAutocomplete-v2-Response-mPayload( a_obj_creditcardclient = [ eZmaxApi.models.creditcardclient_autocomplete_element_response.creditcardclient-AutocompleteElement-Response( diff --git a/test/test_creditcardclient_get_list_v1_response.py b/test/test_creditcardclient_get_list_v1_response.py index e68ae582d..0d76e02ba 100644 --- a/test/test_creditcardclient_get_list_v1_response.py +++ b/test/test_creditcardclient_get_list_v1_response.py @@ -36,10 +36,13 @@ def make_instance(self, include_optional) -> CreditcardclientGetListV1Response: model = CreditcardclientGetListV1Response() if include_optional: return CreditcardclientGetListV1Response( + 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.creditcardclient_get_list_v1_response_m_payload.creditcardclient-getList-v1-Response-mPayload() ) else: return CreditcardclientGetListV1Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload_get_list.Common-Response-objDebugPayload_getList(), m_payload = eZmaxApi.models.creditcardclient_get_list_v1_response_m_payload.creditcardclient-getList-v1-Response-mPayload(), ) """ diff --git a/test/test_creditcardclient_get_list_v1_response_m_payload.py b/test/test_creditcardclient_get_list_v1_response_m_payload.py index 72e5f8506..676fd38d5 100644 --- a/test/test_creditcardclient_get_list_v1_response_m_payload.py +++ b/test/test_creditcardclient_get_list_v1_response_m_payload.py @@ -36,6 +36,8 @@ def make_instance(self, include_optional) -> CreditcardclientGetListV1ResponseMP model = CreditcardclientGetListV1ResponseMPayload() if include_optional: return CreditcardclientGetListV1ResponseMPayload( + i_row_returned = 100, + i_row_filtered = 533, a_obj_creditcardclient = [ eZmaxApi.models.creditcardclient_list_element.creditcardclient-ListElement( pki_creditcardclient_id = 114, @@ -52,6 +54,8 @@ def make_instance(self, include_optional) -> CreditcardclientGetListV1ResponseMP ) else: return CreditcardclientGetListV1ResponseMPayload( + i_row_returned = 100, + i_row_filtered = 533, a_obj_creditcardclient = [ eZmaxApi.models.creditcardclient_list_element.creditcardclient-ListElement( pki_creditcardclient_id = 114, diff --git a/test/test_creditcardclient_get_object_v2_response.py b/test/test_creditcardclient_get_object_v2_response.py index 4bbde8db9..7f6485200 100644 --- a/test/test_creditcardclient_get_object_v2_response.py +++ b/test/test_creditcardclient_get_object_v2_response.py @@ -36,11 +36,28 @@ def make_instance(self, include_optional) -> CreditcardclientGetObjectV2Response model = CreditcardclientGetObjectV2Response() if include_optional: return CreditcardclientGetObjectV2Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), + obj_debug = {"sMemoryUsage":"11,923MB","sRunTime":"0.6084s","iSQLSelects":3,"iSQLQueries":6,"a_objSQLQuery":[{"sQuery":"SELECT * FROM table","fDuration":1.0E-4},{"sQuery":"SELECT * FROM table","fDuration":1.0E-4}]}, m_payload = eZmaxApi.models.creditcardclient_get_object_v2_response_m_payload.creditcardclient-getObject-v2-Response-mPayload( obj_creditcardclient = eZmaxApi.models.creditcardclient_response_compound.creditcardclient-ResponseCompound(), ) ) else: return CreditcardclientGetObjectV2Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), m_payload = eZmaxApi.models.creditcardclient_get_object_v2_response_m_payload.creditcardclient-getObject-v2-Response-mPayload( obj_creditcardclient = eZmaxApi.models.creditcardclient_response_compound.creditcardclient-ResponseCompound(), ), ) diff --git a/test/test_creditcardclient_patch_object_v1_response.py b/test/test_creditcardclient_patch_object_v1_response.py index d2b5a798c..b1ef1a75b 100644 --- a/test/test_creditcardclient_patch_object_v1_response.py +++ b/test/test_creditcardclient_patch_object_v1_response.py @@ -36,9 +36,26 @@ def make_instance(self, include_optional) -> CreditcardclientPatchObjectV1Respon model = CreditcardclientPatchObjectV1Response() if include_optional: return CreditcardclientPatchObjectV1Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), + obj_debug = {"sMemoryUsage":"11,923MB","sRunTime":"0.6084s","iSQLSelects":3,"iSQLQueries":6,"a_objSQLQuery":[{"sQuery":"SELECT * FROM table","fDuration":1.0E-4},{"sQuery":"SELECT * FROM table","fDuration":1.0E-4}]} ) else: return CreditcardclientPatchObjectV1Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), ) """ diff --git a/test/test_creditcardclient_request_compound.py b/test/test_creditcardclient_request_compound.py index 4b07ed428..836ae2810 100644 --- a/test/test_creditcardclient_request_compound.py +++ b/test/test_creditcardclient_request_compound.py @@ -36,9 +36,35 @@ def make_instance(self, include_optional) -> CreditcardclientRequestCompound: model = CreditcardclientRequestCompound() if include_optional: return CreditcardclientRequestCompound( + pki_creditcardclient_id = 114, + fks_creditcardtoken_id = '6B29FC40-CA47-1067-B31D-00DD010662DA', + b_creditcardclientrelation_isdefault = True, + s_creditcardclient_description = 'Visa', + b_creditcardclient_allowedcompanypayment = True, + b_creditcardclient_allowedezsign = True, + b_creditcardclient_allowedtranquillit = True, + obj_creditcarddetail = eZmaxApi.models.creditcarddetail_request.creditcarddetail-Request( + i_creditcarddetail_expirationmonth = 10, + i_creditcarddetail_expirationyear = 2024, + s_creditcarddetail_civic = '2500', + s_creditcarddetail_street = 'Daniel-Johnson Blvd.', + s_creditcarddetail_zip = 'H7T 2P6', ), + s_creditcardclient_cvv = '4807' ) else: return CreditcardclientRequestCompound( + b_creditcardclientrelation_isdefault = True, + s_creditcardclient_description = 'Visa', + b_creditcardclient_allowedcompanypayment = True, + b_creditcardclient_allowedezsign = True, + b_creditcardclient_allowedtranquillit = True, + obj_creditcarddetail = eZmaxApi.models.creditcarddetail_request.creditcarddetail-Request( + i_creditcarddetail_expirationmonth = 10, + i_creditcarddetail_expirationyear = 2024, + s_creditcarddetail_civic = '2500', + s_creditcarddetail_street = 'Daniel-Johnson Blvd.', + s_creditcarddetail_zip = 'H7T 2P6', ), + s_creditcardclient_cvv = '4807', ) """ diff --git a/test/test_creditcardclient_response_compound.py b/test/test_creditcardclient_response_compound.py index a6334bc31..aecf62653 100644 --- a/test/test_creditcardclient_response_compound.py +++ b/test/test_creditcardclient_response_compound.py @@ -36,9 +36,23 @@ def make_instance(self, include_optional) -> CreditcardclientResponseCompound: model = CreditcardclientResponseCompound() if include_optional: return CreditcardclientResponseCompound( + pki_creditcardclient_id = 114, + fki_creditcarddetail_id = 53, + b_creditcardclientrelation_isdefault = True, + s_creditcardclient_description = 'Visa', + b_creditcardclient_allowedcompanypayment = True, + b_creditcardclient_allowedtranquillit = True, + obj_creditcarddetail = eZmaxApi.models.creditcarddetail_response_compound.creditcarddetail-ResponseCompound() ) else: return CreditcardclientResponseCompound( + pki_creditcardclient_id = 114, + fki_creditcarddetail_id = 53, + b_creditcardclientrelation_isdefault = True, + s_creditcardclient_description = 'Visa', + b_creditcardclient_allowedcompanypayment = True, + b_creditcardclient_allowedtranquillit = True, + obj_creditcarddetail = eZmaxApi.models.creditcarddetail_response_compound.creditcarddetail-ResponseCompound(), ) """ diff --git a/test/test_creditcarddetail_response_compound.py b/test/test_creditcarddetail_response_compound.py index ee1440b0b..886461690 100644 --- a/test/test_creditcarddetail_response_compound.py +++ b/test/test_creditcarddetail_response_compound.py @@ -36,9 +36,25 @@ def make_instance(self, include_optional) -> CreditcarddetailResponseCompound: model = CreditcarddetailResponseCompound() if include_optional: return CreditcarddetailResponseCompound( + pki_creditcarddetail_id = 53, + fki_creditcardtype_id = 2, + i_creditcarddetail_lastdigits = 4242, + i_creditcarddetail_expirationmonth = 10, + i_creditcarddetail_expirationyear = 2024, + s_creditcarddetail_civic = '2500', + s_creditcarddetail_street = 'Daniel-Johnson Blvd.', + s_creditcarddetail_zip = 'H7T 2P6' ) else: return CreditcarddetailResponseCompound( + pki_creditcarddetail_id = 53, + fki_creditcardtype_id = 2, + i_creditcarddetail_lastdigits = 4242, + i_creditcarddetail_expirationmonth = 10, + i_creditcarddetail_expirationyear = 2024, + s_creditcarddetail_civic = '2500', + s_creditcarddetail_street = 'Daniel-Johnson Blvd.', + s_creditcarddetail_zip = 'H7T 2P6', ) """ diff --git a/test/test_creditcardtype_get_autocomplete_v2_response.py b/test/test_creditcardtype_get_autocomplete_v2_response.py index 97a70d8fb..cfb484c52 100644 --- a/test/test_creditcardtype_get_autocomplete_v2_response.py +++ b/test/test_creditcardtype_get_autocomplete_v2_response.py @@ -36,6 +36,15 @@ def make_instance(self, include_optional) -> CreditcardtypeGetAutocompleteV2Resp model = CreditcardtypeGetAutocompleteV2Response() if include_optional: return CreditcardtypeGetAutocompleteV2Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), + obj_debug = {"sMemoryUsage":"11,923MB","sRunTime":"0.6084s","iSQLSelects":3,"iSQLQueries":6,"a_objSQLQuery":[{"sQuery":"SELECT * FROM table","fDuration":1.0E-4},{"sQuery":"SELECT * FROM table","fDuration":1.0E-4}]}, m_payload = eZmaxApi.models.creditcardtype_get_autocomplete_v2_response_m_payload.creditcardtype-getAutocomplete-v2-Response-mPayload( a_obj_creditcardtype = [ eZmaxApi.models.creditcardtype_autocomplete_element_response.creditcardtype-AutocompleteElement-Response( @@ -46,6 +55,14 @@ def make_instance(self, include_optional) -> CreditcardtypeGetAutocompleteV2Resp ) else: return CreditcardtypeGetAutocompleteV2Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), m_payload = eZmaxApi.models.creditcardtype_get_autocomplete_v2_response_m_payload.creditcardtype-getAutocomplete-v2-Response-mPayload( a_obj_creditcardtype = [ eZmaxApi.models.creditcardtype_autocomplete_element_response.creditcardtype-AutocompleteElement-Response( diff --git a/test/test_custom_apikey.py b/test/test_custom_apikey.py index 15af3485e..4af0555f6 100644 --- a/test/test_custom_apikey.py +++ b/test/test_custom_apikey.py @@ -36,12 +36,12 @@ def make_instance(self, include_optional) -> CustomApikey: model = CustomApikey() if include_optional: return CustomApikey( - s_apikey_key = 'jUR,rZ#UM/?R,Fp^l6$ARjbhJk C>i H\'qT\\{i H'qT\\{i H\'qT\\{i H'qT\\{ CustomApikeyfederation: model = CustomApikeyfederation() if include_optional: return CustomApikeyfederation( - s_apikeyfederation_key = 'jUR,rZ#UM/?R,Fp^l6$ARjbhJk C>i H\'qT\\{i H'qT\\{i H\'qT\\{i H'qT\\{ CustomAttachmentResponse: model = CustomAttachmentResponse() if include_optional: return CustomAttachmentResponse( + pki_attachment_id = 1, + fki_computer_id = 249, + fki_adjustment_id = 202, + fki_agent_id = 1, + fki_bankaccount_id = 46, + fki_broker_id = 26, + fki_commissionadvance_id = 115, + fki_communication_id = 1, + fki_customer_id = 18, + fki_customertemplate_id = 152, + fki_deposit_id = 54, + fki_deposittransitcheque_id = 251, + fki_electronicfundstransfer_id = 1262, + fki_employee_id = 31, + fki_externalbroker_id = 1, + fki_ezcomadvanceserver_id = 238, + fki_ezcomcompany_id = 170, + fki_ezsigndocument_id = 97, + fki_ghacqcontract_id = 217, + fki_inscription_id = 17, + fki_inscriptiontemp_id = 2445, + fki_inscriptionnotauthenticated_id = 24, + fki_invoice_id = 1, + fki_buyercontract_id = 38, + fki_franchisebroker_id = 61, + fki_franchiseagence_id = 117, + fki_franchiseoffice_id = 50, + fki_franchisefranchise_id = 156, + fki_franchisecomplaint_id = 24, + fki_lead_id = 117, + fki_marketingprogram_id = 178, + fki_marketingfollow_id = 45, + fki_notary_id = 1, + fki_officetaxreport_id = 200, + fki_otherincome_id = 142, + fki_paymentpreparation_id = 124, + fki_purchase_id = 155, + fki_salary_id = 73, + fki_supplier_id = 1, + fki_tranqcontract_id = 39, + fki_template_id = 232, + fki_inscriptionchecklist_id = 191, + fki_folder_id = 81, + fki_rejectedoffertopurchase_id = 532, + fki_disclosure_id = 51, + fki_reconciliation_id = 140, + fki_ezsigndocument_id_reference = 97, + e_attachment_documenttype = 'Adjustment', + s_attachment_name = 'Document.pdf', + e_attachment_privacy = 'All', + fki_user_id_specific = 70, + e_attachment_type = 'Other', + i_attachment_size = 277465200, + i_attachment_ed_mmoduleflag = 65, + s_attachment_md5 = '2cb29026e8a93c930e71598579400db6', + b_attachment_deleted = False, + b_attachment_valid = True, + e_attachment_verified = 'No', + t_attachment_rejectioncomment = 'Unreadable', + fki_user_id_owner = 70, + 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', ), ), obj_attachment_proof = eZmaxApi.models.attachment_response_compound.attachment-ResponseCompound(), obj_attachment_proofdocument = eZmaxApi.models.attachment_response_compound.attachment-ResponseCompound(), a_obj_attachment_attachment = [ @@ -47,6 +124,16 @@ def make_instance(self, include_optional) -> CustomAttachmentResponse: ) else: return CustomAttachmentResponse( + pki_attachment_id = 1, + e_attachment_documenttype = 'Adjustment', + s_attachment_name = 'Document.pdf', + e_attachment_privacy = 'All', + e_attachment_type = 'Other', + i_attachment_size = 277465200, + s_attachment_md5 = '2cb29026e8a93c930e71598579400db6', + b_attachment_deleted = False, + b_attachment_valid = True, + e_attachment_verified = 'No', ) """ diff --git a/test/test_custom_communicationattachment_request.py b/test/test_custom_communicationattachment_request.py index 434d257a9..be5069a9f 100644 --- a/test/test_custom_communicationattachment_request.py +++ b/test/test_custom_communicationattachment_request.py @@ -40,7 +40,7 @@ def make_instance(self, include_optional) -> CustomCommunicationattachmentReques obj_communicationexternalattachment = eZmaxApi.models.common_file.Common-File( s_file_name = 'example.pdf', s_file_url = '', - s_file_base64 = '[B@754777cd', + s_file_base64 = '[B@7807ac2c', e_file_source = 'Base64', ) ) else: diff --git a/test/test_custom_communicationrecipientsrecipient_response.py b/test/test_custom_communicationrecipientsrecipient_response.py index 328c02017..2cda5a04f 100644 --- a/test/test_custom_communicationrecipientsrecipient_response.py +++ b/test/test_custom_communicationrecipientsrecipient_response.py @@ -56,10 +56,7 @@ def make_instance(self, include_optional) -> CustomCommunicationrecipientsrecipi s_contact_firstname = 'John', s_contact_lastname = 'Doe', s_contact_company = 'eZmax Solutions Inc.', ), - obj_email = eZmaxApi.models.email_response.email-Response( - pki_email_id = 22, - fki_emailtype_id = 1, - s_email_address = 'email@example.com', ), + 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() ) diff --git a/test/test_custom_communicationsender_response.py b/test/test_custom_communicationsender_response.py index 85b76253b..e793627f1 100644 --- a/test/test_custom_communicationsender_response.py +++ b/test/test_custom_communicationsender_response.py @@ -46,10 +46,7 @@ def make_instance(self, include_optional) -> CustomCommunicationsenderResponse: s_contact_firstname = 'John', s_contact_lastname = 'Doe', s_contact_company = 'eZmax Solutions Inc.', ), - obj_email = eZmaxApi.models.email_response.email-Response( - pki_email_id = 22, - fki_emailtype_id = 1, - s_email_address = 'email@example.com', ), + 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() ) diff --git a/test/test_custom_ezsignfoldersignerassociation_actionable_element_response.py b/test/test_custom_ezsignfoldersignerassociation_actionable_element_response.py index b98e4acd6..ef2ce1598 100644 --- a/test/test_custom_ezsignfoldersignerassociation_actionable_element_response.py +++ b/test/test_custom_ezsignfoldersignerassociation_actionable_element_response.py @@ -36,11 +36,47 @@ def make_instance(self, include_optional) -> CustomEzsignfoldersignerassociation model = CustomEzsignfoldersignerassociationActionableElementResponse() if include_optional: return CustomEzsignfoldersignerassociationActionableElementResponse( + pki_ezsignfoldersignerassociation_id = 20, + fki_ezsignfolder_id = 33, + b_ezsignfoldersignerassociation_delayedsend = True, + b_ezsignfoldersignerassociation_receivecopy = True, + t_ezsignfoldersignerassociation_message = 'Hi John, + +This is the document I need you to review. + +Could you sign it before Monday please. + +Best Regards. + +Mary', + b_ezsignfoldersignerassociation_allowsigninginperson = True, + obj_ezsignsignergroup = eZmaxApi.models.ezsignsignergroup_response_compound.ezsignsignergroup-ResponseCompound(), + obj_user = eZmaxApi.models.ezsignfoldersignerassociation_response_compound_user.ezsignfoldersignerassociation-ResponseCompound-User( + pki_user_id = 70, + fki_language_id = 2, + s_user_firstname = 'John', + s_user_lastname = 'Doe', + s_email_address = 'email@example.com', ), + obj_ezsignsigner = eZmaxApi.models.ezsignsigner_response_compound.ezsignsigner-ResponseCompound(), b_ezsignfoldersignerassociation_hasactionableelements_current = True, b_ezsignfoldersignerassociation_hasactionableelements_future = True ) else: return CustomEzsignfoldersignerassociationActionableElementResponse( + pki_ezsignfoldersignerassociation_id = 20, + fki_ezsignfolder_id = 33, + b_ezsignfoldersignerassociation_delayedsend = True, + b_ezsignfoldersignerassociation_receivecopy = True, + t_ezsignfoldersignerassociation_message = 'Hi John, + +This is the document I need you to review. + +Could you sign it before Monday please. + +Best Regards. + +Mary', + b_ezsignfoldersignerassociation_allowsigninginperson = True, b_ezsignfoldersignerassociation_hasactionableelements_current = True, b_ezsignfoldersignerassociation_hasactionableelements_future = True, ) diff --git a/test/test_custom_ezsignformfielderrortest_response.py b/test/test_custom_ezsignformfielderrortest_response.py index b60545240..e8e1baa6f 100644 --- a/test/test_custom_ezsignformfielderrortest_response.py +++ b/test/test_custom_ezsignformfielderrortest_response.py @@ -37,12 +37,12 @@ def make_instance(self, include_optional) -> CustomEzsignformfielderrortestRespo if include_optional: return CustomEzsignformfielderrortestResponse( s_ezsignformfielderrortest_name = 'jUR,rZ#UM/?', - s_ezsignformfielderrortest_detail = 'jUR,rZ#UM/?R,Fp^l6$ARjbhJk C>i H\'qT\\{i H'qT\\{i H\'qT\\{i H'qT\\{ CustomEzsignformfieldgroupCreateEzs model = CustomEzsignformfieldgroupCreateEzsignelementsPositionedByWordRequest() if include_optional: return CustomEzsignformfieldgroupCreateEzsignelementsPositionedByWordRequest( + pki_ezsignformfieldgroup_id = 26, + fki_ezsigndocument_id = 97, + e_ezsignformfieldgroup_type = 'Text', + e_ezsignformfieldgroup_signerrequirement = 'One', + s_ezsignformfieldgroup_label = 'Allergies', + i_ezsignformfieldgroup_step = 1, + s_ezsignformfieldgroup_defaultvalue = 'Foo', + i_ezsignformfieldgroup_filledmin = 1, + i_ezsignformfieldgroup_filledmax = 2, + b_ezsignformfieldgroup_readonly = True, + i_ezsignformfieldgroup_maxlength = 75, + b_ezsignformfieldgroup_encrypted = True, + s_ezsignformfieldgroup_regexp = '/[-0-9a-zA-Z.+_]+@[-0-9a-zA-Z.+_]+.[a-zA-Z]{2,4}/', + s_ezsignformfieldgroup_textvalidationcustommessage = 'Phone number', + t_ezsignformfieldgroup_tooltip = 'Please enter a valid email address', + e_ezsignformfieldgroup_tooltipposition = 'TopLeft', + e_ezsignformfieldgroup_textvalidation = 'None', + a_obj_ezsignformfieldgroupsigner = [ + eZmaxApi.models.ezsignformfieldgroupsigner_request_compound.ezsignformfieldgroupsigner-RequestCompound() + ], + a_obj_dropdown_element = [ + eZmaxApi.models.custom_dropdown_element_request_compound.Custom-DropdownElement-RequestCompound() + ], + a_obj_ezsignformfield = [ + eZmaxApi.models.ezsignformfield_request_compound.ezsignformfield-RequestCompound() + ], obj_createezsignelementspositionedbyword = eZmaxApi.models.custom_create_ezsignelements_positioned_by_word_request.Custom-CreateEzsignelementsPositionedByWord-Request( s_createezsignelementspositionedbyword_pattern = 'jUR,rZ#UM/?R,Fp^l6$AR', i_createezsignelementspositionedbyword_offsetx = 56, @@ -44,6 +70,19 @@ def make_instance(self, include_optional) -> CustomEzsignformfieldgroupCreateEzs ) else: return CustomEzsignformfieldgroupCreateEzsignelementsPositionedByWordRequest( + fki_ezsigndocument_id = 97, + e_ezsignformfieldgroup_type = 'Text', + s_ezsignformfieldgroup_label = 'Allergies', + i_ezsignformfieldgroup_step = 1, + i_ezsignformfieldgroup_filledmin = 1, + i_ezsignformfieldgroup_filledmax = 2, + b_ezsignformfieldgroup_readonly = True, + a_obj_ezsignformfieldgroupsigner = [ + eZmaxApi.models.ezsignformfieldgroupsigner_request_compound.ezsignformfieldgroupsigner-RequestCompound() + ], + a_obj_ezsignformfield = [ + eZmaxApi.models.ezsignformfield_request_compound.ezsignformfield-RequestCompound() + ], obj_createezsignelementspositionedbyword = eZmaxApi.models.custom_create_ezsignelements_positioned_by_word_request.Custom-CreateEzsignelementsPositionedByWord-Request( s_createezsignelementspositionedbyword_pattern = 'jUR,rZ#UM/?R,Fp^l6$AR', i_createezsignelementspositionedbyword_offsetx = 56, diff --git a/test/test_custom_ezsignsignature_create_ezsignelements_positioned_by_word_request.py b/test/test_custom_ezsignsignature_create_ezsignelements_positioned_by_word_request.py index 79f68a30c..2b83b9bc1 100644 --- a/test/test_custom_ezsignsignature_create_ezsignelements_positioned_by_word_request.py +++ b/test/test_custom_ezsignsignature_create_ezsignelements_positioned_by_word_request.py @@ -36,6 +36,40 @@ def make_instance(self, include_optional) -> CustomEzsignsignatureCreateEzsignel model = CustomEzsignsignatureCreateEzsignelementsPositionedByWordRequest() if include_optional: return CustomEzsignsignatureCreateEzsignelementsPositionedByWordRequest( + pki_ezsignsignature_id = 49, + fki_ezsignfoldersignerassociation_id = 20, + i_ezsignpage_pagenumber = 1, + i_ezsignsignature_x = 200, + i_ezsignsignature_y = 300, + i_ezsignsignature_width = 200, + i_ezsignsignature_height = 200, + i_ezsignsignature_step = 1, + e_ezsignsignature_type = 'Name', + fki_ezsigndocument_id = 97, + t_ezsignsignature_tooltip = 'Please sign here if you agree to the terms', + e_ezsignsignature_tooltipposition = 'TopLeft', + e_ezsignsignature_font = 'Normal', + fki_ezsignfoldersignerassociation_id_validation = 20, + b_ezsignsignature_handwritten = True, + b_ezsignsignature_reason = True, + b_ezsignsignature_required = True, + e_ezsignsignature_attachmentnamesource = 'Description', + s_ezsignsignature_attachmentdescription = 'Attachment', + e_ezsignsignature_consultationtrigger = 'Manual', + i_ezsignsignature_validationstep = 1, + i_ezsignsignature_maxlength = 75, + s_ezsignsignature_defaultvalue = 'Foo', + e_ezsignsignature_textvalidation = 'None', + s_ezsignsignature_textvalidationcustommessage = 'Phone number', + s_ezsignsignature_regexp = '/[-0-9a-zA-Z.+_]+@[-0-9a-zA-Z.+_]+.[a-zA-Z]{2,4}/', + e_ezsignsignature_dependencyrequirement = 'AllOf', + b_ezsignsignature_customdate = True, + a_obj_ezsignsignaturecustomdate = [ + eZmaxApi.models.ezsignsignaturecustomdate_request_compound.ezsignsignaturecustomdate-RequestCompound() + ], + a_obj_ezsignelementdependency = [ + eZmaxApi.models.ezsignelementdependency_request_compound.ezsignelementdependency-RequestCompound() + ], obj_createezsignelementspositionedbyword = eZmaxApi.models.custom_create_ezsignelements_positioned_by_word_request.Custom-CreateEzsignelementsPositionedByWord-Request( s_createezsignelementspositionedbyword_pattern = 'jUR,rZ#UM/?R,Fp^l6$AR', i_createezsignelementspositionedbyword_offsetx = 56, @@ -44,6 +78,13 @@ def make_instance(self, include_optional) -> CustomEzsignsignatureCreateEzsignel ) else: return CustomEzsignsignatureCreateEzsignelementsPositionedByWordRequest( + fki_ezsignfoldersignerassociation_id = 20, + i_ezsignpage_pagenumber = 1, + i_ezsignsignature_x = 200, + i_ezsignsignature_y = 300, + i_ezsignsignature_step = 1, + e_ezsignsignature_type = 'Name', + fki_ezsigndocument_id = 97, obj_createezsignelementspositionedbyword = eZmaxApi.models.custom_create_ezsignelements_positioned_by_word_request.Custom-CreateEzsignelementsPositionedByWord-Request( s_createezsignelementspositionedbyword_pattern = 'jUR,rZ#UM/?R,Fp^l6$AR', i_createezsignelementspositionedbyword_offsetx = 56, diff --git a/test/test_custom_notificationsubsectiongetnotificationtests_response.py b/test/test_custom_notificationsubsectiongetnotificationtests_response.py index 633643cb7..be9ce330a 100644 --- a/test/test_custom_notificationsubsectiongetnotificationtests_response.py +++ b/test/test_custom_notificationsubsectiongetnotificationtests_response.py @@ -36,12 +36,22 @@ def make_instance(self, include_optional) -> CustomNotificationsubsectiongetnoti model = CustomNotificationsubsectiongetnotificationtestsResponse() if include_optional: return CustomNotificationsubsectiongetnotificationtestsResponse( + pki_notificationsubsection_id = 3, + fki_notificationsection_id = 1, + obj_notificationsubsection_name = eZmaxApi.models.multilingual_notificationsubsection_name.Multilingual-NotificationsubsectionName( + s_notificationsubsection_name1 = 'Signature électronique', + s_notificationsubsection_name2 = 'Electronic signature', ), + s_notificationsection_name_x = 'Homepage', + s_notificationsubsection_name_x = 'Default', a_obj_notificationtest = [ eZmaxApi.models.custom_notificationtestgetnotificationtests_response.Custom-Notificationtestgetnotificationtests-Response() ] ) else: return CustomNotificationsubsectiongetnotificationtestsResponse( + pki_notificationsubsection_id = 3, + fki_notificationsection_id = 1, + s_notificationsubsection_name_x = 'Default', a_obj_notificationtest = [ eZmaxApi.models.custom_notificationtestgetnotificationtests_response.Custom-Notificationtestgetnotificationtests-Response() ], diff --git a/test/test_custom_notificationtestgetnotificationtests_response.py b/test/test_custom_notificationtestgetnotificationtests_response.py index 067e0a6b9..1a7cb1a1c 100644 --- a/test/test_custom_notificationtestgetnotificationtests_response.py +++ b/test/test_custom_notificationtestgetnotificationtests_response.py @@ -36,11 +36,25 @@ def make_instance(self, include_optional) -> CustomNotificationtestgetnotificati model = CustomNotificationtestgetnotificationtestsResponse() if include_optional: return CustomNotificationtestgetnotificationtestsResponse( + pki_notificationtest_id = 14, + obj_notificationtest_name = eZmaxApi.models.multilingual_notificationtest_name.Multilingual-NotificationtestName( + s_notificationtest_name1 = 'Default', + s_notificationtest_name2 = 'Default', ), + fki_notificationsubsection_id = 3, + s_notificationtest_function = 'Default', + s_notificationtest_name_x = 'Default', e_notificationpreference_status = 'Show', i_notificationtest = 27 ) else: return CustomNotificationtestgetnotificationtestsResponse( + pki_notificationtest_id = 14, + obj_notificationtest_name = eZmaxApi.models.multilingual_notificationtest_name.Multilingual-NotificationtestName( + s_notificationtest_name1 = 'Default', + s_notificationtest_name2 = 'Default', ), + fki_notificationsubsection_id = 3, + s_notificationtest_function = 'Default', + s_notificationtest_name_x = 'Default', e_notificationpreference_status = 'Show', i_notificationtest = 27, ) diff --git a/test/test_custom_webhook_response.py b/test/test_custom_webhook_response.py index ec5e357f1..08a9709be 100644 --- a/test/test_custom_webhook_response.py +++ b/test/test_custom_webhook_response.py @@ -36,12 +36,74 @@ def make_instance(self, include_optional) -> CustomWebhookResponse: model = CustomWebhookResponse() if include_optional: return CustomWebhookResponse( + pki_webhook_id = 77, + fki_authenticationexternal_id = 56, + s_webhook_description = 'Import into our system', + fki_ezsignfoldertype_id = 5, + s_ezsignfoldertype_name_x = 'Default', + e_webhook_module = 'Ezsign', + e_webhook_ezsignevent = 'FolderCompleted', + e_webhook_managementevent = 'UserCreated', + s_webhook_url = 'https://www.example.com', + s_webhook_emailfailed = 'email@example.com', + s_webhook_apikey = '', + s_webhook_secret = '', + b_webhook_isactive = True, + b_webhook_issigned = True, + b_webhook_skipsslvalidation = False, + s_authenticationexternal_description = 'Authentification', + obj_audit = eZmaxApi.models.common_audit.Common-Audit( + obj_auditdetail_created = eZmaxApi.models.common_auditdetail.Common-Auditdetail( + fki_user_id = 70, + fki_apikey_id = 99, + s_user_loginname = 'JohnDoe', + s_user_lastname = 'Doe', + s_user_firstname = 'John', + s_apikey_description_x = 'Project X', + dt_auditdetail_date = '2020-12-31 23:59:59', ), + obj_auditdetail_modified = eZmaxApi.models.common_auditdetail.Common-Auditdetail( + fki_user_id = 70, + fki_apikey_id = 99, + s_user_loginname = 'JohnDoe', + s_user_lastname = 'Doe', + s_user_firstname = 'John', + s_apikey_description_x = 'Project X', + dt_auditdetail_date = '2020-12-31 23:59:59', ), ), + s_webhook_event = 'Ezsign-DocumentCompleted', + a_obj_webhookheader = [ + eZmaxApi.models.webhookheader_response_compound.webhookheader-ResponseCompound() + ], pks_customer_code = 'demo', b_webhook_test = True, e_webhook_emittype = 'Automatic' ) else: return CustomWebhookResponse( + pki_webhook_id = 77, + s_webhook_description = 'Import into our system', + e_webhook_module = 'Ezsign', + s_webhook_url = 'https://www.example.com', + s_webhook_emailfailed = 'email@example.com', + b_webhook_isactive = True, + b_webhook_issigned = True, + b_webhook_skipsslvalidation = 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', ), ), pks_customer_code = 'demo', b_webhook_test = True, ) diff --git a/test/test_customer_create_object_v1_response.py b/test/test_customer_create_object_v1_response.py index b4fa10baa..96bce682a 100644 --- a/test/test_customer_create_object_v1_response.py +++ b/test/test_customer_create_object_v1_response.py @@ -36,6 +36,15 @@ def make_instance(self, include_optional) -> CustomerCreateObjectV1Response: model = CustomerCreateObjectV1Response() if include_optional: return CustomerCreateObjectV1Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), + obj_debug = {"sMemoryUsage":"11,923MB","sRunTime":"0.6084s","iSQLSelects":3,"iSQLQueries":6,"a_objSQLQuery":[{"sQuery":"SELECT * FROM table","fDuration":1.0E-4},{"sQuery":"SELECT * FROM table","fDuration":1.0E-4}]}, m_payload = eZmaxApi.models.customer_create_object_v1_response_m_payload.customer-createObject-v1-Response-mPayload( a_pki_customer_id = [ 18 @@ -43,6 +52,14 @@ def make_instance(self, include_optional) -> CustomerCreateObjectV1Response: ) else: return CustomerCreateObjectV1Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), m_payload = eZmaxApi.models.customer_create_object_v1_response_m_payload.customer-createObject-v1-Response-mPayload( a_pki_customer_id = [ 18 diff --git a/test/test_customer_get_object_v2_response.py b/test/test_customer_get_object_v2_response.py index 741cf41df..bd992fe13 100644 --- a/test/test_customer_get_object_v2_response.py +++ b/test/test_customer_get_object_v2_response.py @@ -36,11 +36,28 @@ def make_instance(self, include_optional) -> CustomerGetObjectV2Response: model = CustomerGetObjectV2Response() if include_optional: return CustomerGetObjectV2Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), + obj_debug = {"sMemoryUsage":"11,923MB","sRunTime":"0.6084s","iSQLSelects":3,"iSQLQueries":6,"a_objSQLQuery":[{"sQuery":"SELECT * FROM table","fDuration":1.0E-4},{"sQuery":"SELECT * FROM table","fDuration":1.0E-4}]}, m_payload = eZmaxApi.models.customer_get_object_v2_response_m_payload.customer-getObject-v2-Response-mPayload( obj_customer = eZmaxApi.models.customer_response_compound.customer-ResponseCompound(), ) ) else: return CustomerGetObjectV2Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), m_payload = eZmaxApi.models.customer_get_object_v2_response_m_payload.customer-getObject-v2-Response-mPayload( obj_customer = eZmaxApi.models.customer_response_compound.customer-ResponseCompound(), ), ) diff --git a/test/test_customer_request_compound.py b/test/test_customer_request_compound.py index ae325a328..c6cb4216b 100644 --- a/test/test_customer_request_compound.py +++ b/test/test_customer_request_compound.py @@ -36,9 +36,107 @@ def make_instance(self, include_optional) -> CustomerRequestCompound: model = CustomerRequestCompound() if include_optional: return CustomerRequestCompound( + pki_customer_id = 18, + fki_company_id = 1, + fki_customergroup_id = 229, + s_customer_name = 'eZmax Solutions', + fki_contactinformations_id = 55, + fki_contactcontainer_id = 150, + fki_image_id = 164, + fki_glaccountcontainer_id = 66, + fki_language_id = 2, + fki_department_id = 21, + fki_paymentmethod_id = 166, + fki_electronicfundstransferbankaccount_id = 36, + fki_electronicfundstransferbankaccount_id_directdebit = 36, + fki_sendingmethod_id = 223, + fki_taxassignment_id = 1, + fki_attendancestatus_id = 170, + fki_agent_id_variableexpensechargeto = 1, + fki_broker_id_variableexpensechargeto = 26, + fki_customer_id_variableexpensechargeto = 18, + fki_glaccountcontainer_id_variableexpensechargeto = 66, + fki_agent_id_supplychargechargeto = 1, + fki_broker_id_supplychargechargeto = 26, + fki_customer_id_supplychargechargeto = 18, + fki_glaccountcontainer_id_supplychargechargeto = 66, + fki_invoicealternatelogo_id = 242, + fki_synchronizationlinkserver_id = 107, + efki_user_id = 70, + efks_customer_code = 'EZMA1', + s_customer_code = 'EZMA1', + d_customer_fulltimeequivalent = '4.00', + i_customer_photocopiercode = 7085237, + i_customer_longdistancecode = 12316524, + i_customer_timewindowstart = 172, + i_customer_timewindowend = 193, + d_customer_minimumchargeableinterests = '4.00', + dt_customer_birthdate = '2020-12-31', + dt_customer_transfer = '2020-12-31 23:59:59', + dt_customer_transferappointment = '2020-12-31 23:59:59', + dt_customer_transfersurvey = '2020-12-31 23:59:59', + b_customer_isactive = True, + b_customer_variableexpensefinanced = True, + b_customer_variableexpensefinancedtaxes = True, + b_customer_supplychargefinanced = True, + b_customer_supplychargefinancedtaxes = True, + b_customer_attendance = True, + e_customer_type = 'Normal', + e_customer_marketingcorrespondence = 'No', + b_customer_blackcopycarbon = True, + b_customer_unsubscribeinfo = True, + t_customer_comment = 'This is a comment', + importid = 'jUR,rZ#UM/?' ) else: return CustomerRequestCompound( + fki_company_id = 1, + fki_customergroup_id = 229, + s_customer_name = 'eZmax Solutions', + fki_contactinformations_id = 55, + fki_contactcontainer_id = 150, + fki_image_id = 164, + fki_glaccountcontainer_id = 66, + fki_language_id = 2, + fki_department_id = 21, + fki_paymentmethod_id = 166, + fki_electronicfundstransferbankaccount_id = 36, + fki_electronicfundstransferbankaccount_id_directdebit = 36, + fki_sendingmethod_id = 223, + fki_taxassignment_id = 1, + fki_attendancestatus_id = 170, + fki_agent_id_variableexpensechargeto = 1, + fki_broker_id_variableexpensechargeto = 26, + fki_customer_id_variableexpensechargeto = 18, + fki_glaccountcontainer_id_variableexpensechargeto = 66, + fki_agent_id_supplychargechargeto = 1, + fki_broker_id_supplychargechargeto = 26, + fki_customer_id_supplychargechargeto = 18, + fki_glaccountcontainer_id_supplychargechargeto = 66, + fki_invoicealternatelogo_id = 242, + fki_synchronizationlinkserver_id = 107, + s_customer_code = 'EZMA1', + d_customer_fulltimeequivalent = '4.00', + i_customer_photocopiercode = 7085237, + i_customer_longdistancecode = 12316524, + i_customer_timewindowstart = 172, + i_customer_timewindowend = 193, + d_customer_minimumchargeableinterests = '4.00', + dt_customer_birthdate = '2020-12-31', + dt_customer_transfer = '2020-12-31 23:59:59', + dt_customer_transferappointment = '2020-12-31 23:59:59', + dt_customer_transfersurvey = '2020-12-31 23:59:59', + b_customer_isactive = True, + b_customer_variableexpensefinanced = True, + b_customer_variableexpensefinancedtaxes = True, + b_customer_supplychargefinanced = True, + b_customer_supplychargefinancedtaxes = True, + b_customer_attendance = True, + e_customer_type = 'Normal', + e_customer_marketingcorrespondence = 'No', + b_customer_blackcopycarbon = True, + b_customer_unsubscribeinfo = True, + t_customer_comment = 'This is a comment', ) """ diff --git a/test/test_customer_response_compound.py b/test/test_customer_response_compound.py index 553272d29..cfec6066a 100644 --- a/test/test_customer_response_compound.py +++ b/test/test_customer_response_compound.py @@ -36,9 +36,108 @@ def make_instance(self, include_optional) -> CustomerResponseCompound: model = CustomerResponseCompound() if include_optional: return CustomerResponseCompound( + pki_customer_id = 18, + fki_company_id = 1, + fki_customergroup_id = 229, + s_customer_name = 'eZmax Solutions', + fki_contactinformations_id = 55, + fki_contactcontainer_id = 150, + fki_image_id = 164, + fki_glaccountcontainer_id = 66, + fki_language_id = 2, + fki_department_id = 21, + fki_paymentmethod_id = 166, + fki_electronicfundstransferbankaccount_id = 36, + fki_electronicfundstransferbankaccount_id_directdebit = 36, + fki_sendingmethod_id = 223, + fki_taxassignment_id = 1, + fki_attendancestatus_id = 170, + fki_agent_id_variableexpensechargeto = 1, + fki_broker_id_variableexpensechargeto = 26, + fki_customer_id_variableexpensechargeto = 18, + fki_glaccountcontainer_id_variableexpensechargeto = 66, + fki_agent_id_supplychargechargeto = 1, + fki_broker_id_supplychargechargeto = 26, + fki_customer_id_supplychargechargeto = 18, + fki_glaccountcontainer_id_supplychargechargeto = 66, + fki_invoicealternatelogo_id = 242, + fki_synchronizationlinkserver_id = 107, + efki_user_id = 70, + efks_customer_code = 'EZMA1', + s_customer_code = 'EZMA1', + d_customer_fulltimeequivalent = '4.00', + i_customer_photocopiercode = 7085237, + i_customer_longdistancecode = 12316524, + i_customer_timewindowstart = 172, + i_customer_timewindowend = 193, + d_customer_minimumchargeableinterests = '4.00', + dt_customer_birthdate = '2020-12-31', + dt_customer_transfer = '2020-12-31 23:59:59', + dt_customer_transferappointment = '2020-12-31 23:59:59', + dt_customer_transfersurvey = '2020-12-31 23:59:59', + b_customer_isactive = True, + b_customer_variableexpensefinanced = True, + b_customer_variableexpensefinancedtaxes = True, + b_customer_supplychargefinanced = True, + b_customer_supplychargefinancedtaxes = True, + b_customer_attendance = True, + e_customer_type = 'Normal', + e_customer_marketingcorrespondence = 'No', + b_customer_blackcopycarbon = True, + b_customer_unsubscribeinfo = True, + t_customer_comment = 'This is a comment', + importid = 'jUR,rZ#UM/?' ) else: return CustomerResponseCompound( + pki_customer_id = 18, + fki_company_id = 1, + fki_customergroup_id = 229, + s_customer_name = 'eZmax Solutions', + fki_contactinformations_id = 55, + fki_contactcontainer_id = 150, + fki_image_id = 164, + fki_glaccountcontainer_id = 66, + fki_language_id = 2, + fki_department_id = 21, + fki_paymentmethod_id = 166, + fki_electronicfundstransferbankaccount_id = 36, + fki_electronicfundstransferbankaccount_id_directdebit = 36, + fki_sendingmethod_id = 223, + fki_taxassignment_id = 1, + fki_attendancestatus_id = 170, + fki_agent_id_variableexpensechargeto = 1, + fki_broker_id_variableexpensechargeto = 26, + fki_customer_id_variableexpensechargeto = 18, + fki_glaccountcontainer_id_variableexpensechargeto = 66, + fki_agent_id_supplychargechargeto = 1, + fki_broker_id_supplychargechargeto = 26, + fki_customer_id_supplychargechargeto = 18, + fki_glaccountcontainer_id_supplychargechargeto = 66, + fki_invoicealternatelogo_id = 242, + fki_synchronizationlinkserver_id = 107, + s_customer_code = 'EZMA1', + d_customer_fulltimeequivalent = '4.00', + i_customer_photocopiercode = 7085237, + i_customer_longdistancecode = 12316524, + i_customer_timewindowstart = 172, + i_customer_timewindowend = 193, + d_customer_minimumchargeableinterests = '4.00', + dt_customer_birthdate = '2020-12-31', + dt_customer_transfer = '2020-12-31 23:59:59', + dt_customer_transferappointment = '2020-12-31 23:59:59', + dt_customer_transfersurvey = '2020-12-31 23:59:59', + b_customer_isactive = True, + b_customer_variableexpensefinanced = True, + b_customer_variableexpensefinancedtaxes = True, + b_customer_supplychargefinanced = True, + b_customer_supplychargefinancedtaxes = True, + b_customer_attendance = True, + e_customer_type = 'Normal', + e_customer_marketingcorrespondence = 'No', + b_customer_blackcopycarbon = True, + b_customer_unsubscribeinfo = True, + t_customer_comment = 'This is a comment', ) """ diff --git a/test/test_department_get_autocomplete_v2_response.py b/test/test_department_get_autocomplete_v2_response.py index 7778697a0..70a0c4d75 100644 --- a/test/test_department_get_autocomplete_v2_response.py +++ b/test/test_department_get_autocomplete_v2_response.py @@ -36,6 +36,15 @@ def make_instance(self, include_optional) -> DepartmentGetAutocompleteV2Response model = DepartmentGetAutocompleteV2Response() if include_optional: return DepartmentGetAutocompleteV2Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), + obj_debug = {"sMemoryUsage":"11,923MB","sRunTime":"0.6084s","iSQLSelects":3,"iSQLQueries":6,"a_objSQLQuery":[{"sQuery":"SELECT * FROM table","fDuration":1.0E-4},{"sQuery":"SELECT * FROM table","fDuration":1.0E-4}]}, m_payload = eZmaxApi.models.department_get_autocomplete_v2_response_m_payload.department-getAutocomplete-v2-Response-mPayload( a_obj_department = [ eZmaxApi.models.department_autocomplete_element_response.department-AutocompleteElement-Response( @@ -47,6 +56,14 @@ def make_instance(self, include_optional) -> DepartmentGetAutocompleteV2Response ) else: return DepartmentGetAutocompleteV2Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), m_payload = eZmaxApi.models.department_get_autocomplete_v2_response_m_payload.department-getAutocomplete-v2-Response-mPayload( a_obj_department = [ eZmaxApi.models.department_autocomplete_element_response.department-AutocompleteElement-Response( diff --git a/test/test_discussion_create_object_v1_response.py b/test/test_discussion_create_object_v1_response.py index a099570c1..dd0e9a005 100644 --- a/test/test_discussion_create_object_v1_response.py +++ b/test/test_discussion_create_object_v1_response.py @@ -36,6 +36,15 @@ def make_instance(self, include_optional) -> DiscussionCreateObjectV1Response: model = DiscussionCreateObjectV1Response() if include_optional: return DiscussionCreateObjectV1Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), + obj_debug = {"sMemoryUsage":"11,923MB","sRunTime":"0.6084s","iSQLSelects":3,"iSQLQueries":6,"a_objSQLQuery":[{"sQuery":"SELECT * FROM table","fDuration":1.0E-4},{"sQuery":"SELECT * FROM table","fDuration":1.0E-4}]}, m_payload = eZmaxApi.models.discussion_create_object_v1_response_m_payload.discussion-createObject-v1-Response-mPayload( a_pki_discussion_id = [ 125 @@ -43,6 +52,14 @@ def make_instance(self, include_optional) -> DiscussionCreateObjectV1Response: ) else: return DiscussionCreateObjectV1Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), m_payload = eZmaxApi.models.discussion_create_object_v1_response_m_payload.discussion-createObject-v1-Response-mPayload( a_pki_discussion_id = [ 125 diff --git a/test/test_discussion_delete_object_v1_response.py b/test/test_discussion_delete_object_v1_response.py index aa344cc65..b839ef643 100644 --- a/test/test_discussion_delete_object_v1_response.py +++ b/test/test_discussion_delete_object_v1_response.py @@ -36,9 +36,26 @@ def make_instance(self, include_optional) -> DiscussionDeleteObjectV1Response: model = DiscussionDeleteObjectV1Response() if include_optional: return DiscussionDeleteObjectV1Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), + obj_debug = {"sMemoryUsage":"11,923MB","sRunTime":"0.6084s","iSQLSelects":3,"iSQLQueries":6,"a_objSQLQuery":[{"sQuery":"SELECT * FROM table","fDuration":1.0E-4},{"sQuery":"SELECT * FROM table","fDuration":1.0E-4}]} ) else: return DiscussionDeleteObjectV1Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), ) """ diff --git a/test/test_discussion_get_object_v2_response.py b/test/test_discussion_get_object_v2_response.py index 293f503eb..a2b97d552 100644 --- a/test/test_discussion_get_object_v2_response.py +++ b/test/test_discussion_get_object_v2_response.py @@ -36,11 +36,28 @@ def make_instance(self, include_optional) -> DiscussionGetObjectV2Response: model = DiscussionGetObjectV2Response() if include_optional: return DiscussionGetObjectV2Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), + obj_debug = {"sMemoryUsage":"11,923MB","sRunTime":"0.6084s","iSQLSelects":3,"iSQLQueries":6,"a_objSQLQuery":[{"sQuery":"SELECT * FROM table","fDuration":1.0E-4},{"sQuery":"SELECT * FROM table","fDuration":1.0E-4}]}, m_payload = eZmaxApi.models.discussion_get_object_v2_response_m_payload.discussion-getObject-v2-Response-mPayload( obj_discussion = eZmaxApi.models.discussion_response_compound.discussion-ResponseCompound(), ) ) else: return DiscussionGetObjectV2Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), m_payload = eZmaxApi.models.discussion_get_object_v2_response_m_payload.discussion-getObject-v2-Response-mPayload( obj_discussion = eZmaxApi.models.discussion_response_compound.discussion-ResponseCompound(), ), ) diff --git a/test/test_discussion_patch_object_v1_response.py b/test/test_discussion_patch_object_v1_response.py index 996aee167..39c70b8a3 100644 --- a/test/test_discussion_patch_object_v1_response.py +++ b/test/test_discussion_patch_object_v1_response.py @@ -36,9 +36,26 @@ def make_instance(self, include_optional) -> DiscussionPatchObjectV1Response: model = DiscussionPatchObjectV1Response() if include_optional: return DiscussionPatchObjectV1Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), + obj_debug = {"sMemoryUsage":"11,923MB","sRunTime":"0.6084s","iSQLSelects":3,"iSQLQueries":6,"a_objSQLQuery":[{"sQuery":"SELECT * FROM table","fDuration":1.0E-4},{"sQuery":"SELECT * FROM table","fDuration":1.0E-4}]} ) else: return DiscussionPatchObjectV1Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), ) """ diff --git a/test/test_discussion_request_compound.py b/test/test_discussion_request_compound.py index d80925a9e..fb3f7e988 100644 --- a/test/test_discussion_request_compound.py +++ b/test/test_discussion_request_compound.py @@ -36,9 +36,13 @@ def make_instance(self, include_optional) -> DiscussionRequestCompound: model = DiscussionRequestCompound() if include_optional: return DiscussionRequestCompound( + pki_discussion_id = 125, + s_discussion_description = 'John Doe', + b_discussion_closed = True ) else: return DiscussionRequestCompound( + s_discussion_description = 'John Doe', ) """ diff --git a/test/test_discussion_response_compound.py b/test/test_discussion_response_compound.py index d5651e648..cf9dff794 100644 --- a/test/test_discussion_response_compound.py +++ b/test/test_discussion_response_compound.py @@ -36,6 +36,18 @@ def make_instance(self, include_optional) -> DiscussionResponseCompound: model = DiscussionResponseCompound() if include_optional: return DiscussionResponseCompound( + pki_discussion_id = 125, + s_discussion_description = 'John Doe', + b_discussion_closed = True, + dt_discussion_lastread = '2020-12-31 23:59:59', + i_discussionmessage_count = 4, + i_discussionmessage_countunread = 4, + obj_discussionconfiguration = eZmaxApi.models.custom_discussionconfiguration_response.Custom-Discussionconfiguration-Response( + b_discussionconfiguration_completehistorywhenadded = True, + b_discussionconfiguration_createallowed = True, + b_discussionconfiguration_deleteallowed = True, + b_discussionconfiguration_deletediscussionmessageallowed = True, + b_discussionconfiguration_editdiscussionmessageallowed = True, ), a_obj_discussionmembership = [ eZmaxApi.models.discussionmembership_response_compound.discussionmembership-ResponseCompound() ], @@ -45,6 +57,11 @@ def make_instance(self, include_optional) -> DiscussionResponseCompound: ) else: return DiscussionResponseCompound( + pki_discussion_id = 125, + s_discussion_description = 'John Doe', + b_discussion_closed = True, + i_discussionmessage_count = 4, + i_discussionmessage_countunread = 4, a_obj_discussionmembership = [ eZmaxApi.models.discussionmembership_response_compound.discussionmembership-ResponseCompound() ], diff --git a/test/test_discussion_update_discussionreadstatus_v1_response.py b/test/test_discussion_update_discussionreadstatus_v1_response.py index af49d4cff..256775614 100644 --- a/test/test_discussion_update_discussionreadstatus_v1_response.py +++ b/test/test_discussion_update_discussionreadstatus_v1_response.py @@ -36,9 +36,26 @@ def make_instance(self, include_optional) -> DiscussionUpdateDiscussionreadstatu model = DiscussionUpdateDiscussionreadstatusV1Response() if include_optional: return DiscussionUpdateDiscussionreadstatusV1Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), + obj_debug = {"sMemoryUsage":"11,923MB","sRunTime":"0.6084s","iSQLSelects":3,"iSQLQueries":6,"a_objSQLQuery":[{"sQuery":"SELECT * FROM table","fDuration":1.0E-4},{"sQuery":"SELECT * FROM table","fDuration":1.0E-4}]} ) else: return DiscussionUpdateDiscussionreadstatusV1Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), ) """ diff --git a/test/test_discussionmembership_create_object_v1_response.py b/test/test_discussionmembership_create_object_v1_response.py index 6af613411..eaf118adc 100644 --- a/test/test_discussionmembership_create_object_v1_response.py +++ b/test/test_discussionmembership_create_object_v1_response.py @@ -36,6 +36,15 @@ def make_instance(self, include_optional) -> DiscussionmembershipCreateObjectV1R model = DiscussionmembershipCreateObjectV1Response() if include_optional: return DiscussionmembershipCreateObjectV1Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), + obj_debug = {"sMemoryUsage":"11,923MB","sRunTime":"0.6084s","iSQLSelects":3,"iSQLQueries":6,"a_objSQLQuery":[{"sQuery":"SELECT * FROM table","fDuration":1.0E-4},{"sQuery":"SELECT * FROM table","fDuration":1.0E-4}]}, m_payload = eZmaxApi.models.discussionmembership_create_object_v1_response_m_payload.discussionmembership-createObject-v1-Response-mPayload( a_pki_discussionmembership_id = [ 165 @@ -43,6 +52,14 @@ def make_instance(self, include_optional) -> DiscussionmembershipCreateObjectV1R ) else: return DiscussionmembershipCreateObjectV1Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), m_payload = eZmaxApi.models.discussionmembership_create_object_v1_response_m_payload.discussionmembership-createObject-v1-Response-mPayload( a_pki_discussionmembership_id = [ 165 diff --git a/test/test_discussionmembership_delete_object_v1_response.py b/test/test_discussionmembership_delete_object_v1_response.py index 76c6b5875..3102e8505 100644 --- a/test/test_discussionmembership_delete_object_v1_response.py +++ b/test/test_discussionmembership_delete_object_v1_response.py @@ -36,9 +36,26 @@ def make_instance(self, include_optional) -> DiscussionmembershipDeleteObjectV1R model = DiscussionmembershipDeleteObjectV1Response() if include_optional: return DiscussionmembershipDeleteObjectV1Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), + obj_debug = {"sMemoryUsage":"11,923MB","sRunTime":"0.6084s","iSQLSelects":3,"iSQLQueries":6,"a_objSQLQuery":[{"sQuery":"SELECT * FROM table","fDuration":1.0E-4},{"sQuery":"SELECT * FROM table","fDuration":1.0E-4}]} ) else: return DiscussionmembershipDeleteObjectV1Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), ) """ diff --git a/test/test_discussionmembership_request_compound.py b/test/test_discussionmembership_request_compound.py index bad3e476d..ab07cb1ba 100644 --- a/test/test_discussionmembership_request_compound.py +++ b/test/test_discussionmembership_request_compound.py @@ -36,9 +36,17 @@ def make_instance(self, include_optional) -> DiscussionmembershipRequestCompound model = DiscussionmembershipRequestCompound() if include_optional: return DiscussionmembershipRequestCompound( + pki_discussionmembership_id = 165, + fki_discussion_id = 125, + fki_user_id = 70, + fki_usergroup_id = 2, + fki_modulesection_id = 53, + dt_discussionmembership_joined = '2020-12-31 23:59:59' ) else: return DiscussionmembershipRequestCompound( + fki_discussion_id = 125, + dt_discussionmembership_joined = '2020-12-31 23:59:59', ) """ diff --git a/test/test_discussionmembership_response_compound.py b/test/test_discussionmembership_response_compound.py index ae6afa0c6..36ff12bdf 100644 --- a/test/test_discussionmembership_response_compound.py +++ b/test/test_discussionmembership_response_compound.py @@ -36,9 +36,20 @@ def make_instance(self, include_optional) -> DiscussionmembershipResponseCompoun model = DiscussionmembershipResponseCompound() if include_optional: return DiscussionmembershipResponseCompound( + pki_discussionmembership_id = 165, + fki_discussion_id = 125, + fki_user_id = 70, + fki_usergroup_id = 2, + fki_modulesection_id = 53, + s_discussionmembership_description = 'John Doe', + dt_discussionmembership_joined = '2020-12-31 23:59:59' ) else: return DiscussionmembershipResponseCompound( + pki_discussionmembership_id = 165, + fki_discussion_id = 125, + s_discussionmembership_description = 'John Doe', + dt_discussionmembership_joined = '2020-12-31 23:59:59', ) """ diff --git a/test/test_discussionmessage_create_object_v1_response.py b/test/test_discussionmessage_create_object_v1_response.py index 7e0cf7371..6bc58a02d 100644 --- a/test/test_discussionmessage_create_object_v1_response.py +++ b/test/test_discussionmessage_create_object_v1_response.py @@ -36,6 +36,15 @@ def make_instance(self, include_optional) -> DiscussionmessageCreateObjectV1Resp model = DiscussionmessageCreateObjectV1Response() if include_optional: return DiscussionmessageCreateObjectV1Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), + obj_debug = {"sMemoryUsage":"11,923MB","sRunTime":"0.6084s","iSQLSelects":3,"iSQLQueries":6,"a_objSQLQuery":[{"sQuery":"SELECT * FROM table","fDuration":1.0E-4},{"sQuery":"SELECT * FROM table","fDuration":1.0E-4}]}, m_payload = eZmaxApi.models.discussionmessage_create_object_v1_response_m_payload.discussionmessage-createObject-v1-Response-mPayload( a_pki_discussionmessage_id = [ 123 @@ -43,6 +52,14 @@ def make_instance(self, include_optional) -> DiscussionmessageCreateObjectV1Resp ) else: return DiscussionmessageCreateObjectV1Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), m_payload = eZmaxApi.models.discussionmessage_create_object_v1_response_m_payload.discussionmessage-createObject-v1-Response-mPayload( a_pki_discussionmessage_id = [ 123 diff --git a/test/test_discussionmessage_delete_object_v1_response.py b/test/test_discussionmessage_delete_object_v1_response.py index 3e50534de..44be46dd3 100644 --- a/test/test_discussionmessage_delete_object_v1_response.py +++ b/test/test_discussionmessage_delete_object_v1_response.py @@ -36,9 +36,26 @@ def make_instance(self, include_optional) -> DiscussionmessageDeleteObjectV1Resp model = DiscussionmessageDeleteObjectV1Response() if include_optional: return DiscussionmessageDeleteObjectV1Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), + obj_debug = {"sMemoryUsage":"11,923MB","sRunTime":"0.6084s","iSQLSelects":3,"iSQLQueries":6,"a_objSQLQuery":[{"sQuery":"SELECT * FROM table","fDuration":1.0E-4},{"sQuery":"SELECT * FROM table","fDuration":1.0E-4}]} ) else: return DiscussionmessageDeleteObjectV1Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), ) """ diff --git a/test/test_discussionmessage_patch_object_v1_response.py b/test/test_discussionmessage_patch_object_v1_response.py index 98fd2ad84..e07b55139 100644 --- a/test/test_discussionmessage_patch_object_v1_response.py +++ b/test/test_discussionmessage_patch_object_v1_response.py @@ -36,9 +36,26 @@ def make_instance(self, include_optional) -> DiscussionmessagePatchObjectV1Respo model = DiscussionmessagePatchObjectV1Response() if include_optional: return DiscussionmessagePatchObjectV1Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), + obj_debug = {"sMemoryUsage":"11,923MB","sRunTime":"0.6084s","iSQLSelects":3,"iSQLQueries":6,"a_objSQLQuery":[{"sQuery":"SELECT * FROM table","fDuration":1.0E-4},{"sQuery":"SELECT * FROM table","fDuration":1.0E-4}]} ) else: return DiscussionmessagePatchObjectV1Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), ) """ diff --git a/test/test_discussionmessage_request_compound.py b/test/test_discussionmessage_request_compound.py index e176bba3a..78cb58117 100644 --- a/test/test_discussionmessage_request_compound.py +++ b/test/test_discussionmessage_request_compound.py @@ -36,9 +36,15 @@ def make_instance(self, include_optional) -> DiscussionmessageRequestCompound: model = DiscussionmessageRequestCompound() if include_optional: return DiscussionmessageRequestCompound( + pki_discussionmessage_id = 123, + fki_discussion_id = 125, + fki_discussionmembership_id_actionrequired = 165, + t_discussionmessage_content = 'Hello, this is an example of content in a message' ) else: return DiscussionmessageRequestCompound( + fki_discussion_id = 125, + t_discussionmessage_content = 'Hello, this is an example of content in a message', ) """ diff --git a/test/test_discussionmessage_response_compound.py b/test/test_discussionmessage_response_compound.py index 65b734dc2..f9e530050 100644 --- a/test/test_discussionmessage_response_compound.py +++ b/test/test_discussionmessage_response_compound.py @@ -36,9 +36,56 @@ def make_instance(self, include_optional) -> DiscussionmessageResponseCompound: model = DiscussionmessageResponseCompound() if include_optional: return DiscussionmessageResponseCompound( + pki_discussionmessage_id = 123, + fki_discussion_id = 125, + fki_discussionmembership_id = 165, + fki_discussionmembership_id_actionrequired = 165, + e_discussionmessage_status = 'New', + t_discussionmessage_content = 'Hello, this is an example of content in a message', + s_discussionmessage_creatorname = 'John Doe', + s_discussionmessage_actionrequiredname = 'Jane Doe', + 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 DiscussionmessageResponseCompound( + pki_discussionmessage_id = 123, + fki_discussion_id = 125, + e_discussionmessage_status = 'New', + t_discussionmessage_content = 'Hello, this is an example of content in a message', + s_discussionmessage_creatorname = 'John Doe', + 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', ), ), ) """ diff --git a/test/test_domain_create_object_v1_response.py b/test/test_domain_create_object_v1_response.py index b4aa5077f..018160c92 100644 --- a/test/test_domain_create_object_v1_response.py +++ b/test/test_domain_create_object_v1_response.py @@ -36,6 +36,15 @@ def make_instance(self, include_optional) -> DomainCreateObjectV1Response: model = DomainCreateObjectV1Response() if include_optional: return DomainCreateObjectV1Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), + obj_debug = {"sMemoryUsage":"11,923MB","sRunTime":"0.6084s","iSQLSelects":3,"iSQLQueries":6,"a_objSQLQuery":[{"sQuery":"SELECT * FROM table","fDuration":1.0E-4},{"sQuery":"SELECT * FROM table","fDuration":1.0E-4}]}, m_payload = eZmaxApi.models.domain_create_object_v1_response_m_payload.domain-createObject-v1-Response-mPayload( a_pki_domain_id = [ 96 @@ -43,6 +52,14 @@ def make_instance(self, include_optional) -> DomainCreateObjectV1Response: ) else: return DomainCreateObjectV1Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), m_payload = eZmaxApi.models.domain_create_object_v1_response_m_payload.domain-createObject-v1-Response-mPayload( a_pki_domain_id = [ 96 diff --git a/test/test_domain_delete_object_v1_response.py b/test/test_domain_delete_object_v1_response.py index 2fc4a9739..c7697181e 100644 --- a/test/test_domain_delete_object_v1_response.py +++ b/test/test_domain_delete_object_v1_response.py @@ -36,9 +36,26 @@ def make_instance(self, include_optional) -> DomainDeleteObjectV1Response: model = DomainDeleteObjectV1Response() if include_optional: return DomainDeleteObjectV1Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), + obj_debug = {"sMemoryUsage":"11,923MB","sRunTime":"0.6084s","iSQLSelects":3,"iSQLQueries":6,"a_objSQLQuery":[{"sQuery":"SELECT * FROM table","fDuration":1.0E-4},{"sQuery":"SELECT * FROM table","fDuration":1.0E-4}]} ) else: return DomainDeleteObjectV1Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), ) """ diff --git a/test/test_domain_get_list_v1_response.py b/test/test_domain_get_list_v1_response.py index 388600b3e..75b7700bd 100644 --- a/test/test_domain_get_list_v1_response.py +++ b/test/test_domain_get_list_v1_response.py @@ -36,10 +36,13 @@ def make_instance(self, include_optional) -> DomainGetListV1Response: model = DomainGetListV1Response() if include_optional: return DomainGetListV1Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload_get_list.Common-Response-objDebugPayload_getList(), + obj_debug = {"sMemoryUsage":"11,923MB","sRunTime":"0.6084s","iSQLSelects":3,"iSQLQueries":6,"a_objSQLQuery":[{"sQuery":"SELECT * FROM table","fDuration":1.0E-4},{"sQuery":"SELECT * FROM table","fDuration":1.0E-4}]}, m_payload = eZmaxApi.models.domain_get_list_v1_response_m_payload.domain-getList-v1-Response-mPayload() ) else: return DomainGetListV1Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload_get_list.Common-Response-objDebugPayload_getList(), m_payload = eZmaxApi.models.domain_get_list_v1_response_m_payload.domain-getList-v1-Response-mPayload(), ) """ diff --git a/test/test_domain_get_list_v1_response_m_payload.py b/test/test_domain_get_list_v1_response_m_payload.py index e4722a564..6436bc07c 100644 --- a/test/test_domain_get_list_v1_response_m_payload.py +++ b/test/test_domain_get_list_v1_response_m_payload.py @@ -36,6 +36,8 @@ def make_instance(self, include_optional) -> DomainGetListV1ResponseMPayload: model = DomainGetListV1ResponseMPayload() if include_optional: return DomainGetListV1ResponseMPayload( + i_row_returned = 100, + i_row_filtered = 533, a_obj_domain = [ eZmaxApi.models.domain_list_element.domain-ListElement( pki_domain_id = 96, @@ -44,6 +46,8 @@ def make_instance(self, include_optional) -> DomainGetListV1ResponseMPayload: ) else: return DomainGetListV1ResponseMPayload( + i_row_returned = 100, + i_row_filtered = 533, a_obj_domain = [ eZmaxApi.models.domain_list_element.domain-ListElement( pki_domain_id = 96, diff --git a/test/test_domain_get_object_v2_response.py b/test/test_domain_get_object_v2_response.py index dfa3a42ba..2e4295744 100644 --- a/test/test_domain_get_object_v2_response.py +++ b/test/test_domain_get_object_v2_response.py @@ -36,11 +36,28 @@ def make_instance(self, include_optional) -> DomainGetObjectV2Response: model = DomainGetObjectV2Response() if include_optional: return DomainGetObjectV2Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), + obj_debug = {"sMemoryUsage":"11,923MB","sRunTime":"0.6084s","iSQLSelects":3,"iSQLQueries":6,"a_objSQLQuery":[{"sQuery":"SELECT * FROM table","fDuration":1.0E-4},{"sQuery":"SELECT * FROM table","fDuration":1.0E-4}]}, m_payload = eZmaxApi.models.domain_get_object_v2_response_m_payload.domain-getObject-v2-Response-mPayload( obj_domain = eZmaxApi.models.domain_response_compound.domain-ResponseCompound(), ) ) else: return DomainGetObjectV2Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), m_payload = eZmaxApi.models.domain_get_object_v2_response_m_payload.domain-getObject-v2-Response-mPayload( obj_domain = eZmaxApi.models.domain_response_compound.domain-ResponseCompound(), ), ) diff --git a/test/test_domain_request_compound.py b/test/test_domain_request_compound.py index 18d622102..bb898591c 100644 --- a/test/test_domain_request_compound.py +++ b/test/test_domain_request_compound.py @@ -36,9 +36,12 @@ def make_instance(self, include_optional) -> DomainRequestCompound: model = DomainRequestCompound() if include_optional: return DomainRequestCompound( + pki_domain_id = 96, + s_domain_name = 'ezsign.ca' ) else: return DomainRequestCompound( + s_domain_name = 'ezsign.ca', ) """ diff --git a/test/test_domain_response_compound.py b/test/test_domain_response_compound.py index fb3144503..a4fe5cd9a 100644 --- a/test/test_domain_response_compound.py +++ b/test/test_domain_response_compound.py @@ -36,12 +36,56 @@ def make_instance(self, include_optional) -> DomainResponseCompound: model = DomainResponseCompound() if include_optional: return DomainResponseCompound( + pki_domain_id = 96, + s_domain_name = 'ezsign.ca', + b_domain_validdkim = True, + b_domain_validmailfrom = True, + b_domain_validcustomer = True, + obj_audit = eZmaxApi.models.common_audit.Common-Audit( + obj_auditdetail_created = eZmaxApi.models.common_auditdetail.Common-Auditdetail( + fki_user_id = 70, + fki_apikey_id = 99, + s_user_loginname = 'JohnDoe', + s_user_lastname = 'Doe', + s_user_firstname = 'John', + s_apikey_description_x = 'Project X', + dt_auditdetail_date = '2020-12-31 23:59:59', ), + obj_auditdetail_modified = eZmaxApi.models.common_auditdetail.Common-Auditdetail( + fki_user_id = 70, + fki_apikey_id = 99, + s_user_loginname = 'JohnDoe', + s_user_lastname = 'Doe', + s_user_firstname = 'John', + s_apikey_description_x = 'Project X', + dt_auditdetail_date = '2020-12-31 23:59:59', ), ), a_obj_dnsrecord = [ eZmaxApi.models.custom_dnsrecord_response.Custom-Dnsrecord-Response() ] ) else: return DomainResponseCompound( + pki_domain_id = 96, + s_domain_name = 'ezsign.ca', + b_domain_validdkim = True, + b_domain_validmailfrom = True, + b_domain_validcustomer = True, + obj_audit = eZmaxApi.models.common_audit.Common-Audit( + obj_auditdetail_created = eZmaxApi.models.common_auditdetail.Common-Auditdetail( + fki_user_id = 70, + fki_apikey_id = 99, + s_user_loginname = 'JohnDoe', + s_user_lastname = 'Doe', + s_user_firstname = 'John', + s_apikey_description_x = 'Project X', + dt_auditdetail_date = '2020-12-31 23:59:59', ), + obj_auditdetail_modified = eZmaxApi.models.common_auditdetail.Common-Auditdetail( + fki_user_id = 70, + fki_apikey_id = 99, + s_user_loginname = 'JohnDoe', + s_user_lastname = 'Doe', + s_user_firstname = 'John', + s_apikey_description_x = 'Project X', + dt_auditdetail_date = '2020-12-31 23:59:59', ), ), a_obj_dnsrecord = [ eZmaxApi.models.custom_dnsrecord_response.Custom-Dnsrecord-Response() ], diff --git a/test/test_electronicfundstransfer_get_communication_count_v1_response.py b/test/test_electronicfundstransfer_get_communication_count_v1_response.py index 45844d2bd..7f1cbde55 100644 --- a/test/test_electronicfundstransfer_get_communication_count_v1_response.py +++ b/test/test_electronicfundstransfer_get_communication_count_v1_response.py @@ -36,11 +36,28 @@ def make_instance(self, include_optional) -> ElectronicfundstransferGetCommunica model = ElectronicfundstransferGetCommunicationCountV1Response() if include_optional: return ElectronicfundstransferGetCommunicationCountV1Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), + obj_debug = {"sMemoryUsage":"11,923MB","sRunTime":"0.6084s","iSQLSelects":3,"iSQLQueries":6,"a_objSQLQuery":[{"sQuery":"SELECT * FROM table","fDuration":1.0E-4},{"sQuery":"SELECT * FROM table","fDuration":1.0E-4}]}, m_payload = eZmaxApi.models.electronicfundstransfer_get_communication_count_v1_response_m_payload.electronicfundstransfer-getCommunicationCount-v1-Response-mPayload( i_communication_count = 8, ) ) else: return ElectronicfundstransferGetCommunicationCountV1Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), m_payload = eZmaxApi.models.electronicfundstransfer_get_communication_count_v1_response_m_payload.electronicfundstransfer-getCommunicationCount-v1-Response-mPayload( i_communication_count = 8, ), ) diff --git a/test/test_electronicfundstransfer_get_communication_list_v1_response.py b/test/test_electronicfundstransfer_get_communication_list_v1_response.py index 14f447de7..70b3836a8 100644 --- a/test/test_electronicfundstransfer_get_communication_list_v1_response.py +++ b/test/test_electronicfundstransfer_get_communication_list_v1_response.py @@ -36,6 +36,8 @@ def make_instance(self, include_optional) -> ElectronicfundstransferGetCommunica model = ElectronicfundstransferGetCommunicationListV1Response() 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( a_obj_communication = [ eZmaxApi.models.custom_communication_list_element_response.Custom-CommunicationListElement-Response( @@ -52,6 +54,7 @@ def make_instance(self, include_optional) -> ElectronicfundstransferGetCommunica ) 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( a_obj_communication = [ eZmaxApi.models.custom_communication_list_element_response.Custom-CommunicationListElement-Response( diff --git a/test/test_electronicfundstransfer_get_communicationrecipients_v1_response.py b/test/test_electronicfundstransfer_get_communicationrecipients_v1_response.py index 640f93170..761c43001 100644 --- a/test/test_electronicfundstransfer_get_communicationrecipients_v1_response.py +++ b/test/test_electronicfundstransfer_get_communicationrecipients_v1_response.py @@ -36,6 +36,15 @@ def make_instance(self, include_optional) -> ElectronicfundstransferGetCommunica model = ElectronicfundstransferGetCommunicationrecipientsV1Response() if include_optional: return ElectronicfundstransferGetCommunicationrecipientsV1Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), + obj_debug = {"sMemoryUsage":"11,923MB","sRunTime":"0.6084s","iSQLSelects":3,"iSQLQueries":6,"a_objSQLQuery":[{"sQuery":"SELECT * FROM table","fDuration":1.0E-4},{"sQuery":"SELECT * FROM table","fDuration":1.0E-4}]}, m_payload = eZmaxApi.models.electronicfundstransfer_get_communicationrecipients_v1_response_m_payload.electronicfundstransfer-getCommunicationrecipients-v1-Response-mPayload( a_obj_communicationrecipientsgroup = [ eZmaxApi.models.custom_communicationrecipientsgroup_response.Custom-Communicationrecipientsgroup-Response( @@ -70,6 +79,14 @@ def make_instance(self, include_optional) -> ElectronicfundstransferGetCommunica ) else: return ElectronicfundstransferGetCommunicationrecipientsV1Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), m_payload = eZmaxApi.models.electronicfundstransfer_get_communicationrecipients_v1_response_m_payload.electronicfundstransfer-getCommunicationrecipients-v1-Response-mPayload( a_obj_communicationrecipientsgroup = [ eZmaxApi.models.custom_communicationrecipientsgroup_response.Custom-Communicationrecipientsgroup-Response( diff --git a/test/test_electronicfundstransfer_get_communicationsenders_v1_response.py b/test/test_electronicfundstransfer_get_communicationsenders_v1_response.py index 4af374de1..f669155aa 100644 --- a/test/test_electronicfundstransfer_get_communicationsenders_v1_response.py +++ b/test/test_electronicfundstransfer_get_communicationsenders_v1_response.py @@ -36,6 +36,15 @@ def make_instance(self, include_optional) -> ElectronicfundstransferGetCommunica model = ElectronicfundstransferGetCommunicationsendersV1Response() if include_optional: return ElectronicfundstransferGetCommunicationsendersV1Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), + obj_debug = {"sMemoryUsage":"11,923MB","sRunTime":"0.6084s","iSQLSelects":3,"iSQLQueries":6,"a_objSQLQuery":[{"sQuery":"SELECT * FROM table","fDuration":1.0E-4},{"sQuery":"SELECT * FROM table","fDuration":1.0E-4}]}, m_payload = eZmaxApi.models.electronicfundstransfer_get_communicationsenders_v1_response_m_payload.electronicfundstransfer-getCommunicationsenders-v1-Response-mPayload( a_obj_communicationsenders = [ eZmaxApi.models.custom_communicationsender_response.Custom-Communicationsender-Response( @@ -56,6 +65,14 @@ def make_instance(self, include_optional) -> ElectronicfundstransferGetCommunica ) else: return ElectronicfundstransferGetCommunicationsendersV1Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), m_payload = eZmaxApi.models.electronicfundstransfer_get_communicationsenders_v1_response_m_payload.electronicfundstransfer-getCommunicationsenders-v1-Response-mPayload( a_obj_communicationsenders = [ eZmaxApi.models.custom_communicationsender_response.Custom-Communicationsender-Response( diff --git a/test/test_emailtype_get_autocomplete_v2_response.py b/test/test_emailtype_get_autocomplete_v2_response.py index d74a10457..c7d6a94dc 100644 --- a/test/test_emailtype_get_autocomplete_v2_response.py +++ b/test/test_emailtype_get_autocomplete_v2_response.py @@ -36,6 +36,15 @@ def make_instance(self, include_optional) -> EmailtypeGetAutocompleteV2Response: model = EmailtypeGetAutocompleteV2Response() if include_optional: return EmailtypeGetAutocompleteV2Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), + obj_debug = {"sMemoryUsage":"11,923MB","sRunTime":"0.6084s","iSQLSelects":3,"iSQLQueries":6,"a_objSQLQuery":[{"sQuery":"SELECT * FROM table","fDuration":1.0E-4},{"sQuery":"SELECT * FROM table","fDuration":1.0E-4}]}, m_payload = eZmaxApi.models.emailtype_get_autocomplete_v2_response_m_payload.emailtype-getAutocomplete-v2-Response-mPayload( a_obj_emailtype = [ eZmaxApi.models.emailtype_autocomplete_element_response.emailtype-AutocompleteElement-Response( @@ -46,6 +55,14 @@ def make_instance(self, include_optional) -> EmailtypeGetAutocompleteV2Response: ) else: return EmailtypeGetAutocompleteV2Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), m_payload = eZmaxApi.models.emailtype_get_autocomplete_v2_response_m_payload.emailtype-getAutocomplete-v2-Response-mPayload( a_obj_emailtype = [ eZmaxApi.models.emailtype_autocomplete_element_response.emailtype-AutocompleteElement-Response( diff --git a/test/test_ezdoctemplatedocument_create_object_v1_response.py b/test/test_ezdoctemplatedocument_create_object_v1_response.py index 16647ef00..957544835 100644 --- a/test/test_ezdoctemplatedocument_create_object_v1_response.py +++ b/test/test_ezdoctemplatedocument_create_object_v1_response.py @@ -36,6 +36,15 @@ def make_instance(self, include_optional) -> EzdoctemplatedocumentCreateObjectV1 model = EzdoctemplatedocumentCreateObjectV1Response() if include_optional: return EzdoctemplatedocumentCreateObjectV1Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), + obj_debug = {"sMemoryUsage":"11,923MB","sRunTime":"0.6084s","iSQLSelects":3,"iSQLQueries":6,"a_objSQLQuery":[{"sQuery":"SELECT * FROM table","fDuration":1.0E-4},{"sQuery":"SELECT * FROM table","fDuration":1.0E-4}]}, m_payload = eZmaxApi.models.ezdoctemplatedocument_create_object_v1_response_m_payload.ezdoctemplatedocument-createObject-v1-Response-mPayload( a_pki_ezdoctemplatedocument_id = [ 95 @@ -43,6 +52,14 @@ def make_instance(self, include_optional) -> EzdoctemplatedocumentCreateObjectV1 ) else: return EzdoctemplatedocumentCreateObjectV1Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), m_payload = eZmaxApi.models.ezdoctemplatedocument_create_object_v1_response_m_payload.ezdoctemplatedocument-createObject-v1-Response-mPayload( a_pki_ezdoctemplatedocument_id = [ 95 diff --git a/test/test_ezdoctemplatedocument_edit_object_v1_response.py b/test/test_ezdoctemplatedocument_edit_object_v1_response.py index 8850ba67e..eebf1d5fd 100644 --- a/test/test_ezdoctemplatedocument_edit_object_v1_response.py +++ b/test/test_ezdoctemplatedocument_edit_object_v1_response.py @@ -36,9 +36,26 @@ def make_instance(self, include_optional) -> EzdoctemplatedocumentEditObjectV1Re model = EzdoctemplatedocumentEditObjectV1Response() if include_optional: return EzdoctemplatedocumentEditObjectV1Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), + obj_debug = {"sMemoryUsage":"11,923MB","sRunTime":"0.6084s","iSQLSelects":3,"iSQLQueries":6,"a_objSQLQuery":[{"sQuery":"SELECT * FROM table","fDuration":1.0E-4},{"sQuery":"SELECT * FROM table","fDuration":1.0E-4}]} ) else: return EzdoctemplatedocumentEditObjectV1Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), ) """ diff --git a/test/test_ezdoctemplatedocument_get_autocomplete_v2_response.py b/test/test_ezdoctemplatedocument_get_autocomplete_v2_response.py index d954e1ef1..e871edd1a 100644 --- a/test/test_ezdoctemplatedocument_get_autocomplete_v2_response.py +++ b/test/test_ezdoctemplatedocument_get_autocomplete_v2_response.py @@ -36,6 +36,15 @@ def make_instance(self, include_optional) -> EzdoctemplatedocumentGetAutocomplet model = EzdoctemplatedocumentGetAutocompleteV2Response() if include_optional: return EzdoctemplatedocumentGetAutocompleteV2Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), + obj_debug = {"sMemoryUsage":"11,923MB","sRunTime":"0.6084s","iSQLSelects":3,"iSQLQueries":6,"a_objSQLQuery":[{"sQuery":"SELECT * FROM table","fDuration":1.0E-4},{"sQuery":"SELECT * FROM table","fDuration":1.0E-4}]}, m_payload = eZmaxApi.models.ezdoctemplatedocument_get_autocomplete_v2_response_m_payload.ezdoctemplatedocument-getAutocomplete-v2-Response-mPayload( a_obj_ezdoctemplatedocument = [ eZmaxApi.models.ezdoctemplatedocument_autocomplete_element_response.ezdoctemplatedocument-AutocompleteElement-Response( @@ -46,6 +55,14 @@ def make_instance(self, include_optional) -> EzdoctemplatedocumentGetAutocomplet ) else: return EzdoctemplatedocumentGetAutocompleteV2Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), m_payload = eZmaxApi.models.ezdoctemplatedocument_get_autocomplete_v2_response_m_payload.ezdoctemplatedocument-getAutocomplete-v2-Response-mPayload( a_obj_ezdoctemplatedocument = [ eZmaxApi.models.ezdoctemplatedocument_autocomplete_element_response.ezdoctemplatedocument-AutocompleteElement-Response( diff --git a/test/test_ezdoctemplatedocument_get_list_v1_response.py b/test/test_ezdoctemplatedocument_get_list_v1_response.py index 6b202d95f..888fdfaa4 100644 --- a/test/test_ezdoctemplatedocument_get_list_v1_response.py +++ b/test/test_ezdoctemplatedocument_get_list_v1_response.py @@ -36,10 +36,13 @@ def make_instance(self, include_optional) -> EzdoctemplatedocumentGetListV1Respo model = EzdoctemplatedocumentGetListV1Response() if include_optional: return EzdoctemplatedocumentGetListV1Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload_get_list.Common-Response-objDebugPayload_getList(), + obj_debug = {"sMemoryUsage":"11,923MB","sRunTime":"0.6084s","iSQLSelects":3,"iSQLQueries":6,"a_objSQLQuery":[{"sQuery":"SELECT * FROM table","fDuration":1.0E-4},{"sQuery":"SELECT * FROM table","fDuration":1.0E-4}]}, m_payload = eZmaxApi.models.ezdoctemplatedocument_get_list_v1_response_m_payload.ezdoctemplatedocument-getList-v1-Response-mPayload() ) else: return EzdoctemplatedocumentGetListV1Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload_get_list.Common-Response-objDebugPayload_getList(), m_payload = eZmaxApi.models.ezdoctemplatedocument_get_list_v1_response_m_payload.ezdoctemplatedocument-getList-v1-Response-mPayload(), ) """ diff --git a/test/test_ezdoctemplatedocument_get_list_v1_response_m_payload.py b/test/test_ezdoctemplatedocument_get_list_v1_response_m_payload.py index 68f7cac82..a3e8f234e 100644 --- a/test/test_ezdoctemplatedocument_get_list_v1_response_m_payload.py +++ b/test/test_ezdoctemplatedocument_get_list_v1_response_m_payload.py @@ -36,6 +36,8 @@ def make_instance(self, include_optional) -> EzdoctemplatedocumentGetListV1Respo model = EzdoctemplatedocumentGetListV1ResponseMPayload() if include_optional: return EzdoctemplatedocumentGetListV1ResponseMPayload( + i_row_returned = 100, + i_row_filtered = 533, a_obj_ezdoctemplatedocument = [ eZmaxApi.models.ezdoctemplatedocument_list_element.ezdoctemplatedocument-ListElement( pki_ezdoctemplatedocument_id = 95, @@ -53,6 +55,8 @@ def make_instance(self, include_optional) -> EzdoctemplatedocumentGetListV1Respo ) else: return EzdoctemplatedocumentGetListV1ResponseMPayload( + i_row_returned = 100, + i_row_filtered = 533, a_obj_ezdoctemplatedocument = [ eZmaxApi.models.ezdoctemplatedocument_list_element.ezdoctemplatedocument-ListElement( pki_ezdoctemplatedocument_id = 95, diff --git a/test/test_ezdoctemplatedocument_get_object_v2_response.py b/test/test_ezdoctemplatedocument_get_object_v2_response.py index 694d026f5..ceeb3979b 100644 --- a/test/test_ezdoctemplatedocument_get_object_v2_response.py +++ b/test/test_ezdoctemplatedocument_get_object_v2_response.py @@ -36,11 +36,28 @@ def make_instance(self, include_optional) -> EzdoctemplatedocumentGetObjectV2Res model = EzdoctemplatedocumentGetObjectV2Response() if include_optional: return EzdoctemplatedocumentGetObjectV2Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), + obj_debug = {"sMemoryUsage":"11,923MB","sRunTime":"0.6084s","iSQLSelects":3,"iSQLQueries":6,"a_objSQLQuery":[{"sQuery":"SELECT * FROM table","fDuration":1.0E-4},{"sQuery":"SELECT * FROM table","fDuration":1.0E-4}]}, m_payload = eZmaxApi.models.ezdoctemplatedocument_get_object_v2_response_m_payload.ezdoctemplatedocument-getObject-v2-Response-mPayload( obj_ezdoctemplatedocument = eZmaxApi.models.ezdoctemplatedocument_response_compound.ezdoctemplatedocument-ResponseCompound(), ) ) else: return EzdoctemplatedocumentGetObjectV2Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), m_payload = eZmaxApi.models.ezdoctemplatedocument_get_object_v2_response_m_payload.ezdoctemplatedocument-getObject-v2-Response-mPayload( obj_ezdoctemplatedocument = eZmaxApi.models.ezdoctemplatedocument_response_compound.ezdoctemplatedocument-ResponseCompound(), ), ) diff --git a/test/test_ezdoctemplatedocument_patch_object_v1_request.py b/test/test_ezdoctemplatedocument_patch_object_v1_request.py index 68f5ede28..0d62c4e8c 100644 --- a/test/test_ezdoctemplatedocument_patch_object_v1_request.py +++ b/test/test_ezdoctemplatedocument_patch_object_v1_request.py @@ -39,14 +39,14 @@ def make_instance(self, include_optional) -> EzdoctemplatedocumentPatchObjectV1R obj_ezdoctemplatedocument = eZmaxApi.models.ezdoctemplatedocument_request_patch.ezdoctemplatedocument-RequestPatch( e_ezdoctemplatedocument_format = 'Docx', s_ezdoctemplatedocument_fields = 'jUR,rZ#UM/?R,Fp^l6$ARj', - s_ezdoctemplatedocument_base64 = '[B@782a4fff', ) + s_ezdoctemplatedocument_base64 = '[B@4b6166aa', ) ) else: return EzdoctemplatedocumentPatchObjectV1Request( obj_ezdoctemplatedocument = eZmaxApi.models.ezdoctemplatedocument_request_patch.ezdoctemplatedocument-RequestPatch( e_ezdoctemplatedocument_format = 'Docx', s_ezdoctemplatedocument_fields = 'jUR,rZ#UM/?R,Fp^l6$ARj', - s_ezdoctemplatedocument_base64 = '[B@782a4fff', ), + s_ezdoctemplatedocument_base64 = '[B@4b6166aa', ), ) """ diff --git a/test/test_ezdoctemplatedocument_patch_object_v1_response.py b/test/test_ezdoctemplatedocument_patch_object_v1_response.py index 03b500313..4d63b6dda 100644 --- a/test/test_ezdoctemplatedocument_patch_object_v1_response.py +++ b/test/test_ezdoctemplatedocument_patch_object_v1_response.py @@ -36,9 +36,26 @@ def make_instance(self, include_optional) -> EzdoctemplatedocumentPatchObjectV1R model = EzdoctemplatedocumentPatchObjectV1Response() if include_optional: return EzdoctemplatedocumentPatchObjectV1Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), + obj_debug = {"sMemoryUsage":"11,923MB","sRunTime":"0.6084s","iSQLSelects":3,"iSQLQueries":6,"a_objSQLQuery":[{"sQuery":"SELECT * FROM table","fDuration":1.0E-4},{"sQuery":"SELECT * FROM table","fDuration":1.0E-4}]} ) else: return EzdoctemplatedocumentPatchObjectV1Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), ) """ diff --git a/test/test_ezdoctemplatedocument_request_compound.py b/test/test_ezdoctemplatedocument_request_compound.py index d46756b1a..2c37e6395 100644 --- a/test/test_ezdoctemplatedocument_request_compound.py +++ b/test/test_ezdoctemplatedocument_request_compound.py @@ -36,9 +36,26 @@ def make_instance(self, include_optional) -> EzdoctemplatedocumentRequestCompoun model = EzdoctemplatedocumentRequestCompound() if include_optional: return EzdoctemplatedocumentRequestCompound( + pki_ezdoctemplatedocument_id = 95, + fki_language_id = 2, + fki_ezsignfoldertype_id = 5, + fki_ezdoctemplatetype_id = 7, + fki_ezdoctemplatefieldtypecategory_id = 4, + e_ezdoctemplatedocument_privacylevel = 'Company', + b_ezdoctemplatedocument_isactive = True, + obj_ezdoctemplatedocument_name = eZmaxApi.models.multilingual_ezdoctemplatedocument_name.Multilingual-EzdoctemplatedocumentName( + s_ezdoctemplatedocument_name1 = 'Contrat type', + s_ezdoctemplatedocument_name2 = 'Standard Contract', ) ) else: return EzdoctemplatedocumentRequestCompound( + fki_language_id = 2, + fki_ezdoctemplatetype_id = 7, + fki_ezdoctemplatefieldtypecategory_id = 4, + b_ezdoctemplatedocument_isactive = True, + obj_ezdoctemplatedocument_name = eZmaxApi.models.multilingual_ezdoctemplatedocument_name.Multilingual-EzdoctemplatedocumentName( + s_ezdoctemplatedocument_name1 = 'Contrat type', + s_ezdoctemplatedocument_name2 = 'Standard Contract', ), ) """ diff --git a/test/test_ezdoctemplatedocument_request_patch.py b/test/test_ezdoctemplatedocument_request_patch.py index 03c9a315f..a2822677e 100644 --- a/test/test_ezdoctemplatedocument_request_patch.py +++ b/test/test_ezdoctemplatedocument_request_patch.py @@ -38,7 +38,7 @@ def make_instance(self, include_optional) -> EzdoctemplatedocumentRequestPatch: return EzdoctemplatedocumentRequestPatch( e_ezdoctemplatedocument_format = 'Docx', s_ezdoctemplatedocument_fields = 'jUR,rZ#UM/?R,Fp^l6$ARj', - s_ezdoctemplatedocument_base64 = '[B@782a4fff' + s_ezdoctemplatedocument_base64 = '[B@4b6166aa' ) else: return EzdoctemplatedocumentRequestPatch( diff --git a/test/test_ezdoctemplatedocument_response_compound.py b/test/test_ezdoctemplatedocument_response_compound.py index 16a8af8dc..6b159eaf1 100644 --- a/test/test_ezdoctemplatedocument_response_compound.py +++ b/test/test_ezdoctemplatedocument_response_compound.py @@ -36,9 +36,33 @@ def make_instance(self, include_optional) -> EzdoctemplatedocumentResponseCompou model = EzdoctemplatedocumentResponseCompound() if include_optional: return EzdoctemplatedocumentResponseCompound( + pki_ezdoctemplatedocument_id = 95, + fki_language_id = 2, + fki_ezsignfoldertype_id = 5, + fki_ezdoctemplatetype_id = 7, + fki_ezdoctemplatefieldtypecategory_id = 4, + e_ezdoctemplatedocument_privacylevel = 'Company', + b_ezdoctemplatedocument_isactive = True, + obj_ezdoctemplatedocument_name = eZmaxApi.models.multilingual_ezdoctemplatedocument_name.Multilingual-EzdoctemplatedocumentName( + s_ezdoctemplatedocument_name1 = 'Contrat type', + s_ezdoctemplatedocument_name2 = 'Standard Contract', ), + s_ezdoctemplatedocument_name_x = 'Standard Contract', + s_ezsignfoldertype_name_x = 'Default', + s_ezdoctemplatefieldtypecategory_description_x = 'Sale', + s_ezdoctemplatetype_description_x = 'Real Estate' ) else: return EzdoctemplatedocumentResponseCompound( + pki_ezdoctemplatedocument_id = 95, + fki_language_id = 2, + fki_ezdoctemplatetype_id = 7, + fki_ezdoctemplatefieldtypecategory_id = 4, + b_ezdoctemplatedocument_isactive = True, + obj_ezdoctemplatedocument_name = eZmaxApi.models.multilingual_ezdoctemplatedocument_name.Multilingual-EzdoctemplatedocumentName( + s_ezdoctemplatedocument_name1 = 'Contrat type', + s_ezdoctemplatedocument_name2 = 'Standard Contract', ), + s_ezdoctemplatefieldtypecategory_description_x = 'Sale', + s_ezdoctemplatetype_description_x = 'Real Estate', ) """ diff --git a/test/test_ezdoctemplatefieldtypecategory_get_autocomplete_v2_response.py b/test/test_ezdoctemplatefieldtypecategory_get_autocomplete_v2_response.py index cd9b18e10..8f37ef0f3 100644 --- a/test/test_ezdoctemplatefieldtypecategory_get_autocomplete_v2_response.py +++ b/test/test_ezdoctemplatefieldtypecategory_get_autocomplete_v2_response.py @@ -36,6 +36,15 @@ def make_instance(self, include_optional) -> EzdoctemplatefieldtypecategoryGetAu model = EzdoctemplatefieldtypecategoryGetAutocompleteV2Response() if include_optional: return EzdoctemplatefieldtypecategoryGetAutocompleteV2Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), + obj_debug = {"sMemoryUsage":"11,923MB","sRunTime":"0.6084s","iSQLSelects":3,"iSQLQueries":6,"a_objSQLQuery":[{"sQuery":"SELECT * FROM table","fDuration":1.0E-4},{"sQuery":"SELECT * FROM table","fDuration":1.0E-4}]}, m_payload = eZmaxApi.models.ezdoctemplatefieldtypecategory_get_autocomplete_v2_response_m_payload.ezdoctemplatefieldtypecategory-getAutocomplete-v2-Response-mPayload( a_obj_ezdoctemplatefieldtypecategory = [ eZmaxApi.models.ezdoctemplatefieldtypecategory_autocomplete_element_response.ezdoctemplatefieldtypecategory-AutocompleteElement-Response( @@ -47,6 +56,14 @@ def make_instance(self, include_optional) -> EzdoctemplatefieldtypecategoryGetAu ) else: return EzdoctemplatefieldtypecategoryGetAutocompleteV2Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), m_payload = eZmaxApi.models.ezdoctemplatefieldtypecategory_get_autocomplete_v2_response_m_payload.ezdoctemplatefieldtypecategory-getAutocomplete-v2-Response-mPayload( a_obj_ezdoctemplatefieldtypecategory = [ eZmaxApi.models.ezdoctemplatefieldtypecategory_autocomplete_element_response.ezdoctemplatefieldtypecategory-AutocompleteElement-Response( diff --git a/test/test_ezdoctemplatetype_get_autocomplete_v2_response.py b/test/test_ezdoctemplatetype_get_autocomplete_v2_response.py index 1190d7d3a..8abf378a3 100644 --- a/test/test_ezdoctemplatetype_get_autocomplete_v2_response.py +++ b/test/test_ezdoctemplatetype_get_autocomplete_v2_response.py @@ -36,6 +36,15 @@ def make_instance(self, include_optional) -> EzdoctemplatetypeGetAutocompleteV2R model = EzdoctemplatetypeGetAutocompleteV2Response() if include_optional: return EzdoctemplatetypeGetAutocompleteV2Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), + obj_debug = {"sMemoryUsage":"11,923MB","sRunTime":"0.6084s","iSQLSelects":3,"iSQLQueries":6,"a_objSQLQuery":[{"sQuery":"SELECT * FROM table","fDuration":1.0E-4},{"sQuery":"SELECT * FROM table","fDuration":1.0E-4}]}, m_payload = eZmaxApi.models.ezdoctemplatetype_get_autocomplete_v2_response_m_payload.ezdoctemplatetype-getAutocomplete-v2-Response-mPayload( a_obj_ezdoctemplatetype = [ eZmaxApi.models.ezdoctemplatetype_autocomplete_element_response.ezdoctemplatetype-AutocompleteElement-Response( @@ -46,6 +55,14 @@ def make_instance(self, include_optional) -> EzdoctemplatetypeGetAutocompleteV2R ) else: return EzdoctemplatetypeGetAutocompleteV2Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), m_payload = eZmaxApi.models.ezdoctemplatetype_get_autocomplete_v2_response_m_payload.ezdoctemplatetype-getAutocomplete-v2-Response-mPayload( a_obj_ezdoctemplatetype = [ eZmaxApi.models.ezdoctemplatetype_autocomplete_element_response.ezdoctemplatetype-AutocompleteElement-Response( diff --git a/test/test_ezmaxinvoicing_get_autocomplete_v2_response.py b/test/test_ezmaxinvoicing_get_autocomplete_v2_response.py index b6afbcf20..064faebf8 100644 --- a/test/test_ezmaxinvoicing_get_autocomplete_v2_response.py +++ b/test/test_ezmaxinvoicing_get_autocomplete_v2_response.py @@ -36,6 +36,15 @@ def make_instance(self, include_optional) -> EzmaxinvoicingGetAutocompleteV2Resp model = EzmaxinvoicingGetAutocompleteV2Response() if include_optional: return EzmaxinvoicingGetAutocompleteV2Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), + obj_debug = {"sMemoryUsage":"11,923MB","sRunTime":"0.6084s","iSQLSelects":3,"iSQLQueries":6,"a_objSQLQuery":[{"sQuery":"SELECT * FROM table","fDuration":1.0E-4},{"sQuery":"SELECT * FROM table","fDuration":1.0E-4}]}, m_payload = eZmaxApi.models.ezmaxinvoicing_get_autocomplete_v2_response_m_payload.ezmaxinvoicing-getAutocomplete-v2-Response-mPayload( a_obj_ezmaxinvoicing = [ eZmaxApi.models.ezmaxinvoicing_autocomplete_element_response.ezmaxinvoicing-AutocompleteElement-Response( @@ -46,6 +55,14 @@ def make_instance(self, include_optional) -> EzmaxinvoicingGetAutocompleteV2Resp ) else: return EzmaxinvoicingGetAutocompleteV2Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), m_payload = eZmaxApi.models.ezmaxinvoicing_get_autocomplete_v2_response_m_payload.ezmaxinvoicing-getAutocomplete-v2-Response-mPayload( a_obj_ezmaxinvoicing = [ eZmaxApi.models.ezmaxinvoicing_autocomplete_element_response.ezmaxinvoicing-AutocompleteElement-Response( diff --git a/test/test_ezmaxinvoicing_get_object_v2_response.py b/test/test_ezmaxinvoicing_get_object_v2_response.py index 04e1a45f7..227c57261 100644 --- a/test/test_ezmaxinvoicing_get_object_v2_response.py +++ b/test/test_ezmaxinvoicing_get_object_v2_response.py @@ -36,11 +36,28 @@ def make_instance(self, include_optional) -> EzmaxinvoicingGetObjectV2Response: model = EzmaxinvoicingGetObjectV2Response() if include_optional: return EzmaxinvoicingGetObjectV2Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), + obj_debug = {"sMemoryUsage":"11,923MB","sRunTime":"0.6084s","iSQLSelects":3,"iSQLQueries":6,"a_objSQLQuery":[{"sQuery":"SELECT * FROM table","fDuration":1.0E-4},{"sQuery":"SELECT * FROM table","fDuration":1.0E-4}]}, m_payload = eZmaxApi.models.ezmaxinvoicing_get_object_v2_response_m_payload.ezmaxinvoicing-getObject-v2-Response-mPayload( obj_ezmaxinvoicing = eZmaxApi.models.ezmaxinvoicing_response_compound.ezmaxinvoicing-ResponseCompound(), ) ) else: return EzmaxinvoicingGetObjectV2Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), m_payload = eZmaxApi.models.ezmaxinvoicing_get_object_v2_response_m_payload.ezmaxinvoicing-getObject-v2-Response-mPayload( obj_ezmaxinvoicing = eZmaxApi.models.ezmaxinvoicing_response_compound.ezmaxinvoicing-ResponseCompound(), ), ) diff --git a/test/test_ezmaxinvoicing_get_provisional_v1_response.py b/test/test_ezmaxinvoicing_get_provisional_v1_response.py index c1cf282f8..ce13ccb74 100644 --- a/test/test_ezmaxinvoicing_get_provisional_v1_response.py +++ b/test/test_ezmaxinvoicing_get_provisional_v1_response.py @@ -36,11 +36,28 @@ def make_instance(self, include_optional) -> EzmaxinvoicingGetProvisionalV1Respo model = EzmaxinvoicingGetProvisionalV1Response() if include_optional: return EzmaxinvoicingGetProvisionalV1Response( - m_payload = eZmaxApi.models.ezmaxinvoicing_response_compound.ezmaxinvoicing-ResponseCompound() + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), + obj_debug = {"sMemoryUsage":"11,923MB","sRunTime":"0.6084s","iSQLSelects":3,"iSQLQueries":6,"a_objSQLQuery":[{"sQuery":"SELECT * FROM table","fDuration":1.0E-4},{"sQuery":"SELECT * FROM table","fDuration":1.0E-4}]}, + m_payload = eZmaxApi.models.ezmaxinvoicing_get_provisional_v1_response_m_payload.ezmaxinvoicing-getProvisional-v1-Response-mPayload() ) else: return EzmaxinvoicingGetProvisionalV1Response( - m_payload = eZmaxApi.models.ezmaxinvoicing_response_compound.ezmaxinvoicing-ResponseCompound(), + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), + m_payload = eZmaxApi.models.ezmaxinvoicing_get_provisional_v1_response_m_payload.ezmaxinvoicing-getProvisional-v1-Response-mPayload(), ) """ diff --git a/test/test_ezmaxinvoicing_get_provisional_v1_response_m_payload.py b/test/test_ezmaxinvoicing_get_provisional_v1_response_m_payload.py index 1a1c5d42e..fd018bafc 100644 --- a/test/test_ezmaxinvoicing_get_provisional_v1_response_m_payload.py +++ b/test/test_ezmaxinvoicing_get_provisional_v1_response_m_payload.py @@ -36,9 +36,103 @@ def make_instance(self, include_optional) -> EzmaxinvoicingGetProvisionalV1Respo model = EzmaxinvoicingGetProvisionalV1ResponseMPayload() if include_optional: return EzmaxinvoicingGetProvisionalV1ResponseMPayload( + pki_ezmaxinvoicing_id = 28, + fki_ezmaxinvoicingcontract_id = 28, + fki_ezmaxpricing_id = 28, + fki_systemconfigurationtype_id = 28, + s_systemconfigurationtype_description_x = 'eZsign (Pro)', + yyyymm_ezmaxinvoicing = '2022-01', + i_ezmaxinvoicing_days = 28, + e_ezmaxinvoicing_paymenttype = 'Cheque', + d_ezmaxinvoicing_rebatepaymenttype = '1.00', + i_ezmaxinvoicing_contractlength = 1, + d_ezmaxinvoicing_rebatecontractlength = '1.00', + b_ezmaxinvoicing_rebate_ezsignallagents = True, + obj_audit = eZmaxApi.models.common_audit.Common-Audit( + obj_auditdetail_created = eZmaxApi.models.common_auditdetail.Common-Auditdetail( + fki_user_id = 70, + fki_apikey_id = 99, + s_user_loginname = 'JohnDoe', + s_user_lastname = 'Doe', + s_user_firstname = 'John', + s_apikey_description_x = 'Project X', + dt_auditdetail_date = '2020-12-31 23:59:59', ), + obj_auditdetail_modified = eZmaxApi.models.common_auditdetail.Common-Auditdetail( + fki_user_id = 70, + fki_apikey_id = 99, + s_user_loginname = 'JohnDoe', + s_user_lastname = 'Doe', + s_user_firstname = 'John', + s_apikey_description_x = 'Project X', + dt_auditdetail_date = '2020-12-31 23:59:59', ), ), + obj_ezmaxinvoicingcontract = eZmaxApi.models.ezmaxinvoicingcontract_response_compound.ezmaxinvoicingcontract-ResponseCompound(), + obj_ezmaxpricing = eZmaxApi.models.custom_ezmaxpricing_response.Custom-Ezmaxpricing-Response( + pki_ezmaxpricing_id = 28, + d_ezmaxpricing_rebateezsignallagents = '90.00', + dt_ezmaxpricing_start = '2020-12-31', + dt_ezmaxpricing_end = '2020-12-31', ), + a_obj_ezmaxinvoicingsummaryglobal = [ + eZmaxApi.models.ezmaxinvoicingsummaryglobal_response_compound.ezmaxinvoicingsummaryglobal-ResponseCompound() + ], + a_obj_ezmaxinvoicingsummaryexternal = [ + eZmaxApi.models.ezmaxinvoicingsummaryexternal_response_compound.ezmaxinvoicingsummaryexternal-ResponseCompound() + ], + a_obj_ezmaxinvoicingsummaryinternal = [ + eZmaxApi.models.ezmaxinvoicingsummaryinternal_response_compound.ezmaxinvoicingsummaryinternal-ResponseCompound() + ], + a_obj_ezmaxinvoicingagent = [ + eZmaxApi.models.ezmaxinvoicingagent_response_compound.ezmaxinvoicingagent-ResponseCompound() + ], + a_obj_ezmaxinvoicinguser = [ + eZmaxApi.models.ezmaxinvoicinguser_response_compound.ezmaxinvoicinguser-ResponseCompound() + ], + a_obj_ezmaxinvoicingezsignfolder = [ + eZmaxApi.models.custom_ezmaxinvoicing_ezsignfolder_response.Custom-EzmaxinvoicingEzsignfolder-Response() + ], + a_obj_ezmaxinvoicingezsigndocument = [ + eZmaxApi.models.custom_ezmaxinvoicing_ezsigndocument_response.Custom-EzmaxinvoicingEzsigndocument-Response() + ] ) else: return EzmaxinvoicingGetProvisionalV1ResponseMPayload( + fki_ezmaxinvoicingcontract_id = 28, + fki_ezmaxpricing_id = 28, + fki_systemconfigurationtype_id = 28, + s_systemconfigurationtype_description_x = 'eZsign (Pro)', + yyyymm_ezmaxinvoicing = '2022-01', + i_ezmaxinvoicing_days = 28, + e_ezmaxinvoicing_paymenttype = 'Cheque', + d_ezmaxinvoicing_rebatepaymenttype = '1.00', + i_ezmaxinvoicing_contractlength = 1, + d_ezmaxinvoicing_rebatecontractlength = '1.00', + b_ezmaxinvoicing_rebate_ezsignallagents = True, + obj_ezmaxinvoicingcontract = eZmaxApi.models.ezmaxinvoicingcontract_response_compound.ezmaxinvoicingcontract-ResponseCompound(), + obj_ezmaxpricing = eZmaxApi.models.custom_ezmaxpricing_response.Custom-Ezmaxpricing-Response( + pki_ezmaxpricing_id = 28, + d_ezmaxpricing_rebateezsignallagents = '90.00', + dt_ezmaxpricing_start = '2020-12-31', + dt_ezmaxpricing_end = '2020-12-31', ), + a_obj_ezmaxinvoicingsummaryglobal = [ + eZmaxApi.models.ezmaxinvoicingsummaryglobal_response_compound.ezmaxinvoicingsummaryglobal-ResponseCompound() + ], + a_obj_ezmaxinvoicingsummaryexternal = [ + eZmaxApi.models.ezmaxinvoicingsummaryexternal_response_compound.ezmaxinvoicingsummaryexternal-ResponseCompound() + ], + a_obj_ezmaxinvoicingsummaryinternal = [ + eZmaxApi.models.ezmaxinvoicingsummaryinternal_response_compound.ezmaxinvoicingsummaryinternal-ResponseCompound() + ], + a_obj_ezmaxinvoicingagent = [ + eZmaxApi.models.ezmaxinvoicingagent_response_compound.ezmaxinvoicingagent-ResponseCompound() + ], + a_obj_ezmaxinvoicinguser = [ + eZmaxApi.models.ezmaxinvoicinguser_response_compound.ezmaxinvoicinguser-ResponseCompound() + ], + a_obj_ezmaxinvoicingezsignfolder = [ + eZmaxApi.models.custom_ezmaxinvoicing_ezsignfolder_response.Custom-EzmaxinvoicingEzsignfolder-Response() + ], + a_obj_ezmaxinvoicingezsigndocument = [ + eZmaxApi.models.custom_ezmaxinvoicing_ezsigndocument_response.Custom-EzmaxinvoicingEzsigndocument-Response() + ], ) """ diff --git a/test/test_ezmaxinvoicing_response_compound.py b/test/test_ezmaxinvoicing_response_compound.py index 336b9b8bd..49a05b854 100644 --- a/test/test_ezmaxinvoicing_response_compound.py +++ b/test/test_ezmaxinvoicing_response_compound.py @@ -36,6 +36,35 @@ def make_instance(self, include_optional) -> EzmaxinvoicingResponseCompound: model = EzmaxinvoicingResponseCompound() if include_optional: return EzmaxinvoicingResponseCompound( + pki_ezmaxinvoicing_id = 28, + fki_ezmaxinvoicingcontract_id = 28, + fki_ezmaxpricing_id = 28, + fki_systemconfigurationtype_id = 28, + s_systemconfigurationtype_description_x = 'eZsign (Pro)', + yyyymm_ezmaxinvoicing = '2022-01', + i_ezmaxinvoicing_days = 28, + e_ezmaxinvoicing_paymenttype = 'Cheque', + d_ezmaxinvoicing_rebatepaymenttype = '1.00', + i_ezmaxinvoicing_contractlength = 1, + d_ezmaxinvoicing_rebatecontractlength = '1.00', + b_ezmaxinvoicing_rebate_ezsignallagents = True, + obj_audit = eZmaxApi.models.common_audit.Common-Audit( + obj_auditdetail_created = eZmaxApi.models.common_auditdetail.Common-Auditdetail( + fki_user_id = 70, + fki_apikey_id = 99, + s_user_loginname = 'JohnDoe', + s_user_lastname = 'Doe', + s_user_firstname = 'John', + s_apikey_description_x = 'Project X', + dt_auditdetail_date = '2020-12-31 23:59:59', ), + obj_auditdetail_modified = eZmaxApi.models.common_auditdetail.Common-Auditdetail( + fki_user_id = 70, + fki_apikey_id = 99, + s_user_loginname = 'JohnDoe', + s_user_lastname = 'Doe', + s_user_firstname = 'John', + s_apikey_description_x = 'Project X', + dt_auditdetail_date = '2020-12-31 23:59:59', ), ), obj_ezmaxinvoicingcontract = eZmaxApi.models.ezmaxinvoicingcontract_response_compound.ezmaxinvoicingcontract-ResponseCompound(), obj_ezmaxpricing = eZmaxApi.models.custom_ezmaxpricing_response.Custom-Ezmaxpricing-Response( pki_ezmaxpricing_id = 28, @@ -66,6 +95,17 @@ def make_instance(self, include_optional) -> EzmaxinvoicingResponseCompound: ) else: return EzmaxinvoicingResponseCompound( + fki_ezmaxinvoicingcontract_id = 28, + fki_ezmaxpricing_id = 28, + fki_systemconfigurationtype_id = 28, + s_systemconfigurationtype_description_x = 'eZsign (Pro)', + yyyymm_ezmaxinvoicing = '2022-01', + i_ezmaxinvoicing_days = 28, + e_ezmaxinvoicing_paymenttype = 'Cheque', + d_ezmaxinvoicing_rebatepaymenttype = '1.00', + i_ezmaxinvoicing_contractlength = 1, + d_ezmaxinvoicing_rebatecontractlength = '1.00', + b_ezmaxinvoicing_rebate_ezsignallagents = True, obj_ezmaxinvoicingcontract = eZmaxApi.models.ezmaxinvoicingcontract_response_compound.ezmaxinvoicingcontract-ResponseCompound(), obj_ezmaxpricing = eZmaxApi.models.custom_ezmaxpricing_response.Custom-Ezmaxpricing-Response( pki_ezmaxpricing_id = 28, diff --git a/test/test_ezmaxinvoicingagent_response_compound.py b/test/test_ezmaxinvoicingagent_response_compound.py index bc633eeb8..c6a78d882 100644 --- a/test/test_ezmaxinvoicingagent_response_compound.py +++ b/test/test_ezmaxinvoicingagent_response_compound.py @@ -36,6 +36,26 @@ def make_instance(self, include_optional) -> EzmaxinvoicingagentResponseCompound model = EzmaxinvoicingagentResponseCompound() if include_optional: return EzmaxinvoicingagentResponseCompound( + pki_ezmaxinvoicingagent_id = 181, + fki_ezmaxinvoicing_id = 28, + fki_billingentityinternal_id = 1, + s_billingentityinternal_description_x = 'Default', + fki_agent_id = 1, + fki_broker_id = 26, + i_ezmaxinvoicingagent_session = 42, + i_ezmaxinvoicingagent_cloned = 157, + i_ezmaxinvoicingagent_invoice = 30, + i_ezmaxinvoicingagent_inscription = 113, + i_ezmaxinvoicingagent_inscriptionactive = 51, + i_ezmaxinvoicingagent_sale = 213, + i_ezmaxinvoicingagent_otherincome = 198, + i_ezmaxinvoicingagent_commissioncalculation = 107, + i_ezmaxinvoicingagent_ezsigndocument = 160, + b_ezmaxinvoicingagent_ezsignaccount = True, + b_ezmaxinvoicingagent_billableezmax = True, + e_ezmaxinvoicingagent_variationezmax = 'Charge', + b_ezmaxinvoicingagent_billableezsign = True, + e_ezmaxinvoicingagent_variationezsign = 'Charge', obj_contact_name = eZmaxApi.models.custom_contact_name_response.Custom-ContactName-Response( s_contact_firstname = 'John', s_contact_lastname = 'Doe', @@ -43,6 +63,22 @@ def make_instance(self, include_optional) -> EzmaxinvoicingagentResponseCompound ) else: return EzmaxinvoicingagentResponseCompound( + fki_billingentityinternal_id = 1, + s_billingentityinternal_description_x = 'Default', + i_ezmaxinvoicingagent_session = 42, + i_ezmaxinvoicingagent_cloned = 157, + i_ezmaxinvoicingagent_invoice = 30, + i_ezmaxinvoicingagent_inscription = 113, + i_ezmaxinvoicingagent_inscriptionactive = 51, + i_ezmaxinvoicingagent_sale = 213, + i_ezmaxinvoicingagent_otherincome = 198, + i_ezmaxinvoicingagent_commissioncalculation = 107, + i_ezmaxinvoicingagent_ezsigndocument = 160, + b_ezmaxinvoicingagent_ezsignaccount = True, + b_ezmaxinvoicingagent_billableezmax = True, + e_ezmaxinvoicingagent_variationezmax = 'Charge', + b_ezmaxinvoicingagent_billableezsign = True, + e_ezmaxinvoicingagent_variationezsign = 'Charge', obj_contact_name = eZmaxApi.models.custom_contact_name_response.Custom-ContactName-Response( s_contact_firstname = 'John', s_contact_lastname = 'Doe', diff --git a/test/test_ezmaxinvoicingcommission_response_compound.py b/test/test_ezmaxinvoicingcommission_response_compound.py index e0ebfbde5..d94ef0608 100644 --- a/test/test_ezmaxinvoicingcommission_response_compound.py +++ b/test/test_ezmaxinvoicingcommission_response_compound.py @@ -36,6 +36,14 @@ def make_instance(self, include_optional) -> EzmaxinvoicingcommissionResponseCom model = EzmaxinvoicingcommissionResponseCompound() if include_optional: return EzmaxinvoicingcommissionResponseCompound( + pki_ezmaxinvoicingcommission_id = 36, + fki_ezmaxinvoicingsummaryglobal_id = 241, + fki_ezmaxpartner_id = 12, + fki_ezmaxrepresentative_id = 21, + dt_ezmaxinvoicingcommission_start = '2020-12-31', + dt_ezmaxinvoicingcommission_end = '2020-12-31', + i_ezmaxinvoicingcommission_days = 30, + d_ezmaxinvoicingcommission_amount = '450.34', obj_contact_name = eZmaxApi.models.custom_contact_name_response.Custom-ContactName-Response( s_contact_firstname = 'John', s_contact_lastname = 'Doe', @@ -43,6 +51,10 @@ def make_instance(self, include_optional) -> EzmaxinvoicingcommissionResponseCom ) else: return EzmaxinvoicingcommissionResponseCompound( + dt_ezmaxinvoicingcommission_start = '2020-12-31', + dt_ezmaxinvoicingcommission_end = '2020-12-31', + i_ezmaxinvoicingcommission_days = 30, + d_ezmaxinvoicingcommission_amount = '450.34', ) """ diff --git a/test/test_ezmaxinvoicingcontract_response_compound.py b/test/test_ezmaxinvoicingcontract_response_compound.py index 4627a118e..8a54a730f 100644 --- a/test/test_ezmaxinvoicingcontract_response_compound.py +++ b/test/test_ezmaxinvoicingcontract_response_compound.py @@ -36,9 +36,59 @@ def make_instance(self, include_optional) -> EzmaxinvoicingcontractResponseCompo model = EzmaxinvoicingcontractResponseCompound() if include_optional: return EzmaxinvoicingcontractResponseCompound( + pki_ezmaxinvoicingcontract_id = 28, + e_ezmaxinvoicingcontract_paymenttype = 'Cheque', + i_ezmaxinvoicingcontract_length = 3, + dt_ezmaxinvoicingcontract_start = '2020-12-31', + dt_ezmaxinvoicingcontract_end = '2020-12-31', + d_ezmaxinvoicingcontract_license = '335.42', + d_ezmaxinvoicingcontract121qa = '295.48', + b_ezmaxinvoicingcontract_ezsignallagents = True, + obj_audit = eZmaxApi.models.common_audit.Common-Audit( + obj_auditdetail_created = eZmaxApi.models.common_auditdetail.Common-Auditdetail( + fki_user_id = 70, + fki_apikey_id = 99, + s_user_loginname = 'JohnDoe', + s_user_lastname = 'Doe', + s_user_firstname = 'John', + s_apikey_description_x = 'Project X', + dt_auditdetail_date = '2020-12-31 23:59:59', ), + obj_auditdetail_modified = eZmaxApi.models.common_auditdetail.Common-Auditdetail( + fki_user_id = 70, + fki_apikey_id = 99, + s_user_loginname = 'JohnDoe', + s_user_lastname = 'Doe', + s_user_firstname = 'John', + s_apikey_description_x = 'Project X', + dt_auditdetail_date = '2020-12-31 23:59:59', ), ) ) else: return EzmaxinvoicingcontractResponseCompound( + pki_ezmaxinvoicingcontract_id = 28, + e_ezmaxinvoicingcontract_paymenttype = 'Cheque', + i_ezmaxinvoicingcontract_length = 3, + dt_ezmaxinvoicingcontract_start = '2020-12-31', + dt_ezmaxinvoicingcontract_end = '2020-12-31', + d_ezmaxinvoicingcontract_license = '335.42', + d_ezmaxinvoicingcontract121qa = '295.48', + b_ezmaxinvoicingcontract_ezsignallagents = True, + obj_audit = eZmaxApi.models.common_audit.Common-Audit( + obj_auditdetail_created = eZmaxApi.models.common_auditdetail.Common-Auditdetail( + fki_user_id = 70, + fki_apikey_id = 99, + s_user_loginname = 'JohnDoe', + s_user_lastname = 'Doe', + s_user_firstname = 'John', + s_apikey_description_x = 'Project X', + dt_auditdetail_date = '2020-12-31 23:59:59', ), + obj_auditdetail_modified = eZmaxApi.models.common_auditdetail.Common-Auditdetail( + fki_user_id = 70, + fki_apikey_id = 99, + s_user_loginname = 'JohnDoe', + s_user_lastname = 'Doe', + s_user_firstname = 'John', + s_apikey_description_x = 'Project X', + dt_auditdetail_date = '2020-12-31 23:59:59', ), ), ) """ diff --git a/test/test_ezmaxinvoicingsummaryexternal_response_compound.py b/test/test_ezmaxinvoicingsummaryexternal_response_compound.py index 32498af49..bda842a9b 100644 --- a/test/test_ezmaxinvoicingsummaryexternal_response_compound.py +++ b/test/test_ezmaxinvoicingsummaryexternal_response_compound.py @@ -36,12 +36,20 @@ def make_instance(self, include_optional) -> EzmaxinvoicingsummaryexternalRespon model = EzmaxinvoicingsummaryexternalResponseCompound() if include_optional: return EzmaxinvoicingsummaryexternalResponseCompound( + pki_ezmaxinvoicingsummaryexternal_id = 177, + fki_ezmaxinvoicing_id = 28, + fki_billingentityexternal_id = 83, + s_billingentityexternal_description = 'ACME Inc', + s_ezmaxinvoicingsummaryexternal_description = 'Company Demo', a_obj_ezmaxinvoicingsummaryexternaldetail = [ eZmaxApi.models.ezmaxinvoicingsummaryexternaldetail_response_compound.ezmaxinvoicingsummaryexternaldetail-ResponseCompound() ] ) else: return EzmaxinvoicingsummaryexternalResponseCompound( + fki_billingentityexternal_id = 83, + s_billingentityexternal_description = 'ACME Inc', + s_ezmaxinvoicingsummaryexternal_description = 'Company Demo', a_obj_ezmaxinvoicingsummaryexternaldetail = [ eZmaxApi.models.ezmaxinvoicingsummaryexternaldetail_response_compound.ezmaxinvoicingsummaryexternaldetail-ResponseCompound() ], diff --git a/test/test_ezmaxinvoicingsummaryexternaldetail_response_compound.py b/test/test_ezmaxinvoicingsummaryexternaldetail_response_compound.py index c80424b52..116ecb3d3 100644 --- a/test/test_ezmaxinvoicingsummaryexternaldetail_response_compound.py +++ b/test/test_ezmaxinvoicingsummaryexternaldetail_response_compound.py @@ -36,9 +36,27 @@ def make_instance(self, include_optional) -> Ezmaxinvoicingsummaryexternaldetail model = EzmaxinvoicingsummaryexternaldetailResponseCompound() if include_optional: return EzmaxinvoicingsummaryexternaldetailResponseCompound( + pki_ezmaxinvoicingsummaryexternaldetail_id = 163, + fki_ezmaxinvoicingsummaryexternal_id = 177, + fki_ezmaxproduct_id = 172, + s_ezmaxproduct_description_x = 'eZmax (License)', + d_ezmaxinvoicingsummaryexternaldetail_countreal = '815.61', + d_ezmaxinvoicingsummaryexternaldetail_subtotal = '382.88', + d_ezmaxinvoicingsummaryexternaldetail_rebate = '608.18', + d_ezmaxinvoicingsummaryexternaldetail_total = '869.71', + b_ezmaxinvoicingsummaryexternaldetail_adjustment = True, + t_ezmaxproduct_help_x = 'This is an exemple of help message' ) else: return EzmaxinvoicingsummaryexternaldetailResponseCompound( + fki_ezmaxproduct_id = 172, + s_ezmaxproduct_description_x = 'eZmax (License)', + d_ezmaxinvoicingsummaryexternaldetail_countreal = '815.61', + d_ezmaxinvoicingsummaryexternaldetail_subtotal = '382.88', + d_ezmaxinvoicingsummaryexternaldetail_rebate = '608.18', + d_ezmaxinvoicingsummaryexternaldetail_total = '869.71', + b_ezmaxinvoicingsummaryexternaldetail_adjustment = True, + t_ezmaxproduct_help_x = 'This is an exemple of help message', ) """ diff --git a/test/test_ezmaxinvoicingsummaryglobal_response_compound.py b/test/test_ezmaxinvoicingsummaryglobal_response_compound.py index f367d11f9..62bd5fdf5 100644 --- a/test/test_ezmaxinvoicingsummaryglobal_response_compound.py +++ b/test/test_ezmaxinvoicingsummaryglobal_response_compound.py @@ -36,12 +36,45 @@ def make_instance(self, include_optional) -> EzmaxinvoicingsummaryglobalResponse model = EzmaxinvoicingsummaryglobalResponseCompound() if include_optional: return EzmaxinvoicingsummaryglobalResponseCompound( + pki_ezmaxinvoicingsummaryglobal_id = 241, + fki_ezmaxinvoicing_id = 28, + fki_ezmaxproduct_id = 172, + s_ezmaxproduct_description_x = 'eZmax (License)', + dt_ezmaxinvoicingsummaryglobal_start = '2020-12-31', + dt_ezmaxinvoicingsummaryglobal_end = '2020-12-31', + i_ezmaxinvoicingsummaryglobal_days = 30, + d_ezmaxinvoicingsummaryglobal_countreal = '649.08', + d_ezmaxinvoicingsummaryglobal_countbilled = '581.56', + d_ezmaxinvoicingsummaryglobal_subtotal = '200.00', + d_ezmaxinvoicingsummaryglobal_rebateamount = '0.00', + d_ezmaxinvoicingsummaryglobal_rebatepercent = '0.00', + d_ezmaxinvoicingsummaryglobal_rebatetotal = '2.00', + d_ezmaxinvoicingsummaryglobal_total = '198.00', + d_ezmaxinvoicingsummaryglobal_representative = '685.88', + d_ezmaxinvoicingsummaryglobal_partner = '266.49', + d_ezmaxinvoicingsummaryglobal_net = '521.71', + b_ezmaxinvoicingsummaryglobal_adjustment = True, + t_ezmaxproduct_help_x = 'This is an exemple of help message', a_obj_ezmaxinvoicingcommission = [ eZmaxApi.models.ezmaxinvoicingcommission_response_compound.ezmaxinvoicingcommission-ResponseCompound() ] ) else: return EzmaxinvoicingsummaryglobalResponseCompound( + fki_ezmaxproduct_id = 172, + s_ezmaxproduct_description_x = 'eZmax (License)', + dt_ezmaxinvoicingsummaryglobal_start = '2020-12-31', + dt_ezmaxinvoicingsummaryglobal_end = '2020-12-31', + i_ezmaxinvoicingsummaryglobal_days = 30, + d_ezmaxinvoicingsummaryglobal_countreal = '649.08', + d_ezmaxinvoicingsummaryglobal_countbilled = '581.56', + d_ezmaxinvoicingsummaryglobal_subtotal = '200.00', + d_ezmaxinvoicingsummaryglobal_rebateamount = '0.00', + d_ezmaxinvoicingsummaryglobal_rebatepercent = '0.00', + d_ezmaxinvoicingsummaryglobal_rebatetotal = '2.00', + d_ezmaxinvoicingsummaryglobal_total = '198.00', + b_ezmaxinvoicingsummaryglobal_adjustment = True, + t_ezmaxproduct_help_x = 'This is an exemple of help message', ) """ diff --git a/test/test_ezmaxinvoicingsummaryinternal_response_compound.py b/test/test_ezmaxinvoicingsummaryinternal_response_compound.py index ab221c4c7..01b1324e7 100644 --- a/test/test_ezmaxinvoicingsummaryinternal_response_compound.py +++ b/test/test_ezmaxinvoicingsummaryinternal_response_compound.py @@ -36,12 +36,26 @@ def make_instance(self, include_optional) -> EzmaxinvoicingsummaryinternalRespon model = EzmaxinvoicingsummaryinternalResponseCompound() if include_optional: return EzmaxinvoicingsummaryinternalResponseCompound( + pki_ezmaxinvoicingsummaryinternal_id = 57, + obj_ezmaxinvoicingsummaryinternal_description = eZmaxApi.models.multilingual_ezmaxinvoicingsummaryinternal_description.Multilingual-EzmaxinvoicingsummaryinternalDescription( + s_ezmaxinvoicingsummaryinternal_description1 = 'Défaut', + s_ezmaxinvoicingsummaryinternal_description2 = 'Défault', ), + s_ezmaxinvoicingsummaryinternal_description_x = 'Défaut', + fki_ezmaxinvoicing_id = 28, + fki_billingentityinternal_id = 1, + s_billingentityinternal_description_x = 'Default', a_obj_ezmaxinvoicingsummaryinternaldetail = [ eZmaxApi.models.ezmaxinvoicingsummaryinternaldetail_response_compound.ezmaxinvoicingsummaryinternaldetail-ResponseCompound() ] ) else: return EzmaxinvoicingsummaryinternalResponseCompound( + obj_ezmaxinvoicingsummaryinternal_description = eZmaxApi.models.multilingual_ezmaxinvoicingsummaryinternal_description.Multilingual-EzmaxinvoicingsummaryinternalDescription( + s_ezmaxinvoicingsummaryinternal_description1 = 'Défaut', + s_ezmaxinvoicingsummaryinternal_description2 = 'Défault', ), + s_ezmaxinvoicingsummaryinternal_description_x = 'Défaut', + fki_billingentityinternal_id = 1, + s_billingentityinternal_description_x = 'Default', a_obj_ezmaxinvoicingsummaryinternaldetail = [ eZmaxApi.models.ezmaxinvoicingsummaryinternaldetail_response_compound.ezmaxinvoicingsummaryinternaldetail-ResponseCompound() ], diff --git a/test/test_ezmaxinvoicingsummaryinternaldetail_response_compound.py b/test/test_ezmaxinvoicingsummaryinternaldetail_response_compound.py index 7d651e8ad..da4d9c72d 100644 --- a/test/test_ezmaxinvoicingsummaryinternaldetail_response_compound.py +++ b/test/test_ezmaxinvoicingsummaryinternaldetail_response_compound.py @@ -36,9 +36,31 @@ def make_instance(self, include_optional) -> Ezmaxinvoicingsummaryinternaldetail model = EzmaxinvoicingsummaryinternaldetailResponseCompound() if include_optional: return EzmaxinvoicingsummaryinternaldetailResponseCompound( + pki_ezmaxinvoicingsummaryinternaldetail_id = 73, + fki_ezmaxinvoicingsummaryinternal_id = 57, + fki_ezmaxproduct_id = 172, + s_ezmaxproduct_description_x = 'eZmax (License)', + fki_billingentityexternal_id = 83, + s_billingentityexternal_description = 'ACME Inc', + d_ezmaxinvoicingsummaryinternaldetail_countreal = '350.32', + d_ezmaxinvoicingsummaryinternaldetail_subtotal = '625.41', + d_ezmaxinvoicingsummaryinternaldetail_rebate = '560.81', + d_ezmaxinvoicingsummaryinternaldetail_total = '510.77', + b_ezmaxinvoicingsummaryinternaldetail_adjustment = True, + t_ezmaxproduct_help_x = 'This is an exemple of help message' ) else: return EzmaxinvoicingsummaryinternaldetailResponseCompound( + fki_ezmaxproduct_id = 172, + s_ezmaxproduct_description_x = 'eZmax (License)', + fki_billingentityexternal_id = 83, + s_billingentityexternal_description = 'ACME Inc', + d_ezmaxinvoicingsummaryinternaldetail_countreal = '350.32', + d_ezmaxinvoicingsummaryinternaldetail_subtotal = '625.41', + d_ezmaxinvoicingsummaryinternaldetail_rebate = '560.81', + d_ezmaxinvoicingsummaryinternaldetail_total = '510.77', + b_ezmaxinvoicingsummaryinternaldetail_adjustment = True, + t_ezmaxproduct_help_x = 'This is an exemple of help message', ) """ diff --git a/test/test_ezmaxinvoicinguser_response_compound.py b/test/test_ezmaxinvoicinguser_response_compound.py index 2d9056041..01cef9a42 100644 --- a/test/test_ezmaxinvoicinguser_response_compound.py +++ b/test/test_ezmaxinvoicinguser_response_compound.py @@ -36,6 +36,15 @@ def make_instance(self, include_optional) -> EzmaxinvoicinguserResponseCompound: model = EzmaxinvoicinguserResponseCompound() if include_optional: return EzmaxinvoicinguserResponseCompound( + pki_ezmaxinvoicinguser_id = 202, + fki_ezmaxinvoicing_id = 28, + fki_billingentityinternal_id = 1, + s_billingentityinternal_description_x = 'Default', + fki_user_id = 70, + i_ezmaxinvoicinguser_ezsigndocument = 243, + b_ezmaxinvoicinguser_ezsignaccount = True, + b_ezmaxinvoicinguser_billableezsign = True, + e_ezmaxinvoicinguser_variationezsign = 'Charge', obj_contact_name = eZmaxApi.models.custom_contact_name_response.Custom-ContactName-Response( s_contact_firstname = 'John', s_contact_lastname = 'Doe', @@ -43,6 +52,13 @@ def make_instance(self, include_optional) -> EzmaxinvoicinguserResponseCompound: ) else: return EzmaxinvoicinguserResponseCompound( + fki_billingentityinternal_id = 1, + s_billingentityinternal_description_x = 'Default', + fki_user_id = 70, + i_ezmaxinvoicinguser_ezsigndocument = 243, + b_ezmaxinvoicinguser_ezsignaccount = True, + b_ezmaxinvoicinguser_billableezsign = True, + e_ezmaxinvoicinguser_variationezsign = 'Charge', obj_contact_name = eZmaxApi.models.custom_contact_name_response.Custom-ContactName-Response( s_contact_firstname = 'John', s_contact_lastname = 'Doe', diff --git a/test/test_ezmaxproduct_get_autocomplete_v2_response.py b/test/test_ezmaxproduct_get_autocomplete_v2_response.py index 2a831eaf5..7487cdfd9 100644 --- a/test/test_ezmaxproduct_get_autocomplete_v2_response.py +++ b/test/test_ezmaxproduct_get_autocomplete_v2_response.py @@ -36,6 +36,15 @@ def make_instance(self, include_optional) -> EzmaxproductGetAutocompleteV2Respon model = EzmaxproductGetAutocompleteV2Response() if include_optional: return EzmaxproductGetAutocompleteV2Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), + obj_debug = {"sMemoryUsage":"11,923MB","sRunTime":"0.6084s","iSQLSelects":3,"iSQLQueries":6,"a_objSQLQuery":[{"sQuery":"SELECT * FROM table","fDuration":1.0E-4},{"sQuery":"SELECT * FROM table","fDuration":1.0E-4}]}, m_payload = eZmaxApi.models.ezmaxproduct_get_autocomplete_v2_response_m_payload.ezmaxproduct-getAutocomplete-v2-Response-mPayload( a_obj_ezmaxproduct = [ eZmaxApi.models.ezmaxproduct_autocomplete_element_response.ezmaxproduct-AutocompleteElement-Response( @@ -46,6 +55,14 @@ def make_instance(self, include_optional) -> EzmaxproductGetAutocompleteV2Respon ) else: return EzmaxproductGetAutocompleteV2Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), m_payload = eZmaxApi.models.ezmaxproduct_get_autocomplete_v2_response_m_payload.ezmaxproduct-getAutocomplete-v2-Response-mPayload( a_obj_ezmaxproduct = [ eZmaxApi.models.ezmaxproduct_autocomplete_element_response.ezmaxproduct-AutocompleteElement-Response( diff --git a/test/test_ezsignannotation_create_object_v1_response.py b/test/test_ezsignannotation_create_object_v1_response.py index 4b84d0ab7..2ea1fdfd6 100644 --- a/test/test_ezsignannotation_create_object_v1_response.py +++ b/test/test_ezsignannotation_create_object_v1_response.py @@ -36,6 +36,15 @@ def make_instance(self, include_optional) -> EzsignannotationCreateObjectV1Respo model = EzsignannotationCreateObjectV1Response() if include_optional: return EzsignannotationCreateObjectV1Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), + obj_debug = {"sMemoryUsage":"11,923MB","sRunTime":"0.6084s","iSQLSelects":3,"iSQLQueries":6,"a_objSQLQuery":[{"sQuery":"SELECT * FROM table","fDuration":1.0E-4},{"sQuery":"SELECT * FROM table","fDuration":1.0E-4}]}, m_payload = eZmaxApi.models.ezsignannotation_create_object_v1_response_m_payload.ezsignannotation-createObject-v1-Response-mPayload( a_pki_ezsignannotation_id = [ 113 @@ -43,6 +52,14 @@ def make_instance(self, include_optional) -> EzsignannotationCreateObjectV1Respo ) else: return EzsignannotationCreateObjectV1Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), m_payload = eZmaxApi.models.ezsignannotation_create_object_v1_response_m_payload.ezsignannotation-createObject-v1-Response-mPayload( a_pki_ezsignannotation_id = [ 113 diff --git a/test/test_ezsignannotation_delete_object_v1_response.py b/test/test_ezsignannotation_delete_object_v1_response.py index 27df5920a..4741b7874 100644 --- a/test/test_ezsignannotation_delete_object_v1_response.py +++ b/test/test_ezsignannotation_delete_object_v1_response.py @@ -36,9 +36,26 @@ def make_instance(self, include_optional) -> EzsignannotationDeleteObjectV1Respo model = EzsignannotationDeleteObjectV1Response() if include_optional: return EzsignannotationDeleteObjectV1Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), + obj_debug = {"sMemoryUsage":"11,923MB","sRunTime":"0.6084s","iSQLSelects":3,"iSQLQueries":6,"a_objSQLQuery":[{"sQuery":"SELECT * FROM table","fDuration":1.0E-4},{"sQuery":"SELECT * FROM table","fDuration":1.0E-4}]} ) else: return EzsignannotationDeleteObjectV1Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), ) """ diff --git a/test/test_ezsignannotation_edit_object_v1_response.py b/test/test_ezsignannotation_edit_object_v1_response.py index f0ef17110..367fc5f6e 100644 --- a/test/test_ezsignannotation_edit_object_v1_response.py +++ b/test/test_ezsignannotation_edit_object_v1_response.py @@ -36,9 +36,26 @@ def make_instance(self, include_optional) -> EzsignannotationEditObjectV1Respons model = EzsignannotationEditObjectV1Response() if include_optional: return EzsignannotationEditObjectV1Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), + obj_debug = {"sMemoryUsage":"11,923MB","sRunTime":"0.6084s","iSQLSelects":3,"iSQLQueries":6,"a_objSQLQuery":[{"sQuery":"SELECT * FROM table","fDuration":1.0E-4},{"sQuery":"SELECT * FROM table","fDuration":1.0E-4}]} ) else: return EzsignannotationEditObjectV1Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), ) """ diff --git a/test/test_ezsignannotation_get_object_v2_response.py b/test/test_ezsignannotation_get_object_v2_response.py index 94c266916..cb3e72877 100644 --- a/test/test_ezsignannotation_get_object_v2_response.py +++ b/test/test_ezsignannotation_get_object_v2_response.py @@ -36,11 +36,28 @@ def make_instance(self, include_optional) -> EzsignannotationGetObjectV2Response model = EzsignannotationGetObjectV2Response() if include_optional: return EzsignannotationGetObjectV2Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), + obj_debug = {"sMemoryUsage":"11,923MB","sRunTime":"0.6084s","iSQLSelects":3,"iSQLQueries":6,"a_objSQLQuery":[{"sQuery":"SELECT * FROM table","fDuration":1.0E-4},{"sQuery":"SELECT * FROM table","fDuration":1.0E-4}]}, m_payload = eZmaxApi.models.ezsignannotation_get_object_v2_response_m_payload.ezsignannotation-getObject-v2-Response-mPayload( obj_ezsignannotation = eZmaxApi.models.ezsignannotation_response_compound.ezsignannotation-ResponseCompound(), ) ) else: return EzsignannotationGetObjectV2Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), m_payload = eZmaxApi.models.ezsignannotation_get_object_v2_response_m_payload.ezsignannotation-getObject-v2-Response-mPayload( obj_ezsignannotation = eZmaxApi.models.ezsignannotation_response_compound.ezsignannotation-ResponseCompound(), ), ) diff --git a/test/test_ezsignannotation_request_compound.py b/test/test_ezsignannotation_request_compound.py index ae6670096..bfe5f6da0 100644 --- a/test/test_ezsignannotation_request_compound.py +++ b/test/test_ezsignannotation_request_compound.py @@ -36,10 +36,26 @@ def make_instance(self, include_optional) -> EzsignannotationRequestCompound: model = EzsignannotationRequestCompound() if include_optional: return EzsignannotationRequestCompound( + pki_ezsignannotation_id = 113, + fki_ezsigndocument_id = 97, + e_ezsignannotation_horizontalalignment = 'Center', + e_ezsignannotation_verticalalignment = 'Bottom', + e_ezsignannotation_type = 'Text', + i_ezsignannotation_x = 50, + i_ezsignannotation_y = 50, + i_ezsignannotation_width = 75, + i_ezsignannotation_height = 25, + s_ezsignannotation_text = 'Sample', + i_ezsignpage_pagenumber = 1, obj_textstylestatic = eZmaxApi.models.textstylestatic_request_compound.textstylestatic-RequestCompound() ) else: return EzsignannotationRequestCompound( + fki_ezsigndocument_id = 97, + e_ezsignannotation_type = 'Text', + i_ezsignannotation_x = 50, + i_ezsignannotation_y = 50, + i_ezsignpage_pagenumber = 1, ) """ diff --git a/test/test_ezsignannotation_response_compound.py b/test/test_ezsignannotation_response_compound.py index 101e76a1d..725fa5fa4 100644 --- a/test/test_ezsignannotation_response_compound.py +++ b/test/test_ezsignannotation_response_compound.py @@ -36,10 +36,27 @@ def make_instance(self, include_optional) -> EzsignannotationResponseCompound: model = EzsignannotationResponseCompound() if include_optional: return EzsignannotationResponseCompound( + pki_ezsignannotation_id = 113, + fki_ezsigndocument_id = 97, + e_ezsignannotation_horizontalalignment = 'Center', + e_ezsignannotation_verticalalignment = 'Bottom', + e_ezsignannotation_type = 'Text', + i_ezsignannotation_x = 50, + i_ezsignannotation_y = 50, + i_ezsignannotation_width = 75, + i_ezsignannotation_height = 25, + s_ezsignannotation_text = 'Sample', + i_ezsignpage_pagenumber = 1, obj_textstylestatic = eZmaxApi.models.textstylestatic_response_compound.textstylestatic-ResponseCompound() ) else: return EzsignannotationResponseCompound( + pki_ezsignannotation_id = 113, + fki_ezsigndocument_id = 97, + e_ezsignannotation_type = 'Text', + i_ezsignannotation_x = 50, + i_ezsignannotation_y = 50, + i_ezsignpage_pagenumber = 1, ) """ diff --git a/test/test_ezsignbulksend_create_ezsignbulksendtransmission_v2_response.py b/test/test_ezsignbulksend_create_ezsignbulksendtransmission_v2_response.py index bc97c7943..77072d7d1 100644 --- a/test/test_ezsignbulksend_create_ezsignbulksendtransmission_v2_response.py +++ b/test/test_ezsignbulksend_create_ezsignbulksendtransmission_v2_response.py @@ -36,6 +36,15 @@ def make_instance(self, include_optional) -> EzsignbulksendCreateEzsignbulksendt model = EzsignbulksendCreateEzsignbulksendtransmissionV2Response() if include_optional: return EzsignbulksendCreateEzsignbulksendtransmissionV2Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), + obj_debug = {"sMemoryUsage":"11,923MB","sRunTime":"0.6084s","iSQLSelects":3,"iSQLQueries":6,"a_objSQLQuery":[{"sQuery":"SELECT * FROM table","fDuration":1.0E-4},{"sQuery":"SELECT * FROM table","fDuration":1.0E-4}]}, m_payload = eZmaxApi.models.ezsignbulksend_create_ezsignbulksendtransmission_v2_response_m_payload.ezsignbulksend-createEzsignbulksendtransmission-v2-Response-mPayload( obj_ezsignbulksendtransmission = eZmaxApi.models.ezsignbulksendtransmission_response.ezsignbulksendtransmission-Response( pki_ezsignbulksendtransmission_id = 21, @@ -62,6 +71,14 @@ def make_instance(self, include_optional) -> EzsignbulksendCreateEzsignbulksendt ) else: return EzsignbulksendCreateEzsignbulksendtransmissionV2Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), m_payload = eZmaxApi.models.ezsignbulksend_create_ezsignbulksendtransmission_v2_response_m_payload.ezsignbulksend-createEzsignbulksendtransmission-v2-Response-mPayload( obj_ezsignbulksendtransmission = eZmaxApi.models.ezsignbulksendtransmission_response.ezsignbulksendtransmission-Response( pki_ezsignbulksendtransmission_id = 21, diff --git a/test/test_ezsignbulksend_create_object_v1_response.py b/test/test_ezsignbulksend_create_object_v1_response.py index ab37510c2..821cac6e2 100644 --- a/test/test_ezsignbulksend_create_object_v1_response.py +++ b/test/test_ezsignbulksend_create_object_v1_response.py @@ -36,6 +36,15 @@ def make_instance(self, include_optional) -> EzsignbulksendCreateObjectV1Respons model = EzsignbulksendCreateObjectV1Response() if include_optional: return EzsignbulksendCreateObjectV1Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), + obj_debug = {"sMemoryUsage":"11,923MB","sRunTime":"0.6084s","iSQLSelects":3,"iSQLQueries":6,"a_objSQLQuery":[{"sQuery":"SELECT * FROM table","fDuration":1.0E-4},{"sQuery":"SELECT * FROM table","fDuration":1.0E-4}]}, m_payload = eZmaxApi.models.ezsignbulksend_create_object_v1_response_m_payload.ezsignbulksend-createObject-v1-Response-mPayload( a_pki_ezsignbulksend_id = [ 8 @@ -43,6 +52,14 @@ def make_instance(self, include_optional) -> EzsignbulksendCreateObjectV1Respons ) else: return EzsignbulksendCreateObjectV1Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), m_payload = eZmaxApi.models.ezsignbulksend_create_object_v1_response_m_payload.ezsignbulksend-createObject-v1-Response-mPayload( a_pki_ezsignbulksend_id = [ 8 diff --git a/test/test_ezsignbulksend_delete_object_v1_response.py b/test/test_ezsignbulksend_delete_object_v1_response.py index fba8c6b75..9a4916a6f 100644 --- a/test/test_ezsignbulksend_delete_object_v1_response.py +++ b/test/test_ezsignbulksend_delete_object_v1_response.py @@ -36,9 +36,26 @@ def make_instance(self, include_optional) -> EzsignbulksendDeleteObjectV1Respons model = EzsignbulksendDeleteObjectV1Response() if include_optional: return EzsignbulksendDeleteObjectV1Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), + obj_debug = {"sMemoryUsage":"11,923MB","sRunTime":"0.6084s","iSQLSelects":3,"iSQLQueries":6,"a_objSQLQuery":[{"sQuery":"SELECT * FROM table","fDuration":1.0E-4},{"sQuery":"SELECT * FROM table","fDuration":1.0E-4}]} ) else: return EzsignbulksendDeleteObjectV1Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), ) """ diff --git a/test/test_ezsignbulksend_edit_object_v1_response.py b/test/test_ezsignbulksend_edit_object_v1_response.py index 91afeba40..70c20afe7 100644 --- a/test/test_ezsignbulksend_edit_object_v1_response.py +++ b/test/test_ezsignbulksend_edit_object_v1_response.py @@ -36,9 +36,26 @@ def make_instance(self, include_optional) -> EzsignbulksendEditObjectV1Response: model = EzsignbulksendEditObjectV1Response() if include_optional: return EzsignbulksendEditObjectV1Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), + obj_debug = {"sMemoryUsage":"11,923MB","sRunTime":"0.6084s","iSQLSelects":3,"iSQLQueries":6,"a_objSQLQuery":[{"sQuery":"SELECT * FROM table","fDuration":1.0E-4},{"sQuery":"SELECT * FROM table","fDuration":1.0E-4}]} ) else: return EzsignbulksendEditObjectV1Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), ) """ diff --git a/test/test_ezsignbulksend_get_ezsignbulksendtransmissions_v1_response.py b/test/test_ezsignbulksend_get_ezsignbulksendtransmissions_v1_response.py index 4116fdcda..c7fccb1b9 100644 --- a/test/test_ezsignbulksend_get_ezsignbulksendtransmissions_v1_response.py +++ b/test/test_ezsignbulksend_get_ezsignbulksendtransmissions_v1_response.py @@ -36,6 +36,15 @@ def make_instance(self, include_optional) -> EzsignbulksendGetEzsignbulksendtran model = EzsignbulksendGetEzsignbulksendtransmissionsV1Response() if include_optional: return EzsignbulksendGetEzsignbulksendtransmissionsV1Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), + obj_debug = {"sMemoryUsage":"11,923MB","sRunTime":"0.6084s","iSQLSelects":3,"iSQLQueries":6,"a_objSQLQuery":[{"sQuery":"SELECT * FROM table","fDuration":1.0E-4},{"sQuery":"SELECT * FROM table","fDuration":1.0E-4}]}, m_payload = eZmaxApi.models.ezsignbulksend_get_ezsignbulksendtransmissions_v1_response_m_payload.ezsignbulksend-getEzsignbulksendtransmissions-v1-Response-mPayload( a_obj_ezsignbulksendtransmission = [ eZmaxApi.models.ezsignbulksendtransmission_response_compound.ezsignbulksendtransmission-ResponseCompound() @@ -43,6 +52,14 @@ def make_instance(self, include_optional) -> EzsignbulksendGetEzsignbulksendtran ) else: return EzsignbulksendGetEzsignbulksendtransmissionsV1Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), m_payload = eZmaxApi.models.ezsignbulksend_get_ezsignbulksendtransmissions_v1_response_m_payload.ezsignbulksend-getEzsignbulksendtransmissions-v1-Response-mPayload( a_obj_ezsignbulksendtransmission = [ eZmaxApi.models.ezsignbulksendtransmission_response_compound.ezsignbulksendtransmission-ResponseCompound() diff --git a/test/test_ezsignbulksend_get_ezsignsignatures_automatic_v1_response.py b/test/test_ezsignbulksend_get_ezsignsignatures_automatic_v1_response.py index b1152c371..9a6461f44 100644 --- a/test/test_ezsignbulksend_get_ezsignsignatures_automatic_v1_response.py +++ b/test/test_ezsignbulksend_get_ezsignsignatures_automatic_v1_response.py @@ -36,6 +36,15 @@ def make_instance(self, include_optional) -> EzsignbulksendGetEzsignsignaturesAu model = EzsignbulksendGetEzsignsignaturesAutomaticV1Response() if include_optional: return EzsignbulksendGetEzsignsignaturesAutomaticV1Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), + obj_debug = {"sMemoryUsage":"11,923MB","sRunTime":"0.6084s","iSQLSelects":3,"iSQLQueries":6,"a_objSQLQuery":[{"sQuery":"SELECT * FROM table","fDuration":1.0E-4},{"sQuery":"SELECT * FROM table","fDuration":1.0E-4}]}, m_payload = eZmaxApi.models.ezsignbulksend_get_ezsignsignatures_automatic_v1_response_m_payload.ezsignbulksend-getEzsignsignaturesAutomatic-v1-Response-mPayload( a_e_ezsignsignature_type = [ 'Name' @@ -59,6 +68,14 @@ def make_instance(self, include_optional) -> EzsignbulksendGetEzsignsignaturesAu ) else: return EzsignbulksendGetEzsignsignaturesAutomaticV1Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), m_payload = eZmaxApi.models.ezsignbulksend_get_ezsignsignatures_automatic_v1_response_m_payload.ezsignbulksend-getEzsignsignaturesAutomatic-v1-Response-mPayload( a_e_ezsignsignature_type = [ 'Name' diff --git a/test/test_ezsignbulksend_get_forms_data_v1_response.py b/test/test_ezsignbulksend_get_forms_data_v1_response.py index 3a9742633..6391dce90 100644 --- a/test/test_ezsignbulksend_get_forms_data_v1_response.py +++ b/test/test_ezsignbulksend_get_forms_data_v1_response.py @@ -36,6 +36,15 @@ def make_instance(self, include_optional) -> EzsignbulksendGetFormsDataV1Respons model = EzsignbulksendGetFormsDataV1Response() if include_optional: return EzsignbulksendGetFormsDataV1Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), + obj_debug = {"sMemoryUsage":"11,923MB","sRunTime":"0.6084s","iSQLSelects":3,"iSQLQueries":6,"a_objSQLQuery":[{"sQuery":"SELECT * FROM table","fDuration":1.0E-4},{"sQuery":"SELECT * FROM table","fDuration":1.0E-4}]}, m_payload = eZmaxApi.models.ezsignbulksend_get_forms_data_v1_response_m_payload.ezsignbulksend-getFormsData-v1-Response-mPayload( a_obj_forms_data_folder = [ eZmaxApi.models.custom_forms_data_folder_response.Custom-FormsDataFolder-Response( @@ -68,6 +77,14 @@ def make_instance(self, include_optional) -> EzsignbulksendGetFormsDataV1Respons ) else: return EzsignbulksendGetFormsDataV1Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), m_payload = eZmaxApi.models.ezsignbulksend_get_forms_data_v1_response_m_payload.ezsignbulksend-getFormsData-v1-Response-mPayload( a_obj_forms_data_folder = [ eZmaxApi.models.custom_forms_data_folder_response.Custom-FormsDataFolder-Response( diff --git a/test/test_ezsignbulksend_get_list_v1_response.py b/test/test_ezsignbulksend_get_list_v1_response.py index a52500b5f..3e042f899 100644 --- a/test/test_ezsignbulksend_get_list_v1_response.py +++ b/test/test_ezsignbulksend_get_list_v1_response.py @@ -36,10 +36,13 @@ def make_instance(self, include_optional) -> EzsignbulksendGetListV1Response: model = EzsignbulksendGetListV1Response() if include_optional: return EzsignbulksendGetListV1Response( + 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.ezsignbulksend_get_list_v1_response_m_payload.ezsignbulksend-getList-v1-Response-mPayload() ) else: return EzsignbulksendGetListV1Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload_get_list.Common-Response-objDebugPayload_getList(), m_payload = eZmaxApi.models.ezsignbulksend_get_list_v1_response_m_payload.ezsignbulksend-getList-v1-Response-mPayload(), ) """ diff --git a/test/test_ezsignbulksend_get_list_v1_response_m_payload.py b/test/test_ezsignbulksend_get_list_v1_response_m_payload.py index e81677cff..7a385aa12 100644 --- a/test/test_ezsignbulksend_get_list_v1_response_m_payload.py +++ b/test/test_ezsignbulksend_get_list_v1_response_m_payload.py @@ -36,6 +36,8 @@ def make_instance(self, include_optional) -> EzsignbulksendGetListV1ResponseMPay model = EzsignbulksendGetListV1ResponseMPayload() if include_optional: return EzsignbulksendGetListV1ResponseMPayload( + i_row_returned = 100, + i_row_filtered = 533, a_obj_ezsignbulksend = [ eZmaxApi.models.ezsignbulksend_list_element.ezsignbulksend-ListElement( pki_ezsignbulksend_id = 8, @@ -53,6 +55,8 @@ def make_instance(self, include_optional) -> EzsignbulksendGetListV1ResponseMPay ) else: return EzsignbulksendGetListV1ResponseMPayload( + i_row_returned = 100, + i_row_filtered = 533, a_obj_ezsignbulksend = [ eZmaxApi.models.ezsignbulksend_list_element.ezsignbulksend-ListElement( pki_ezsignbulksend_id = 8, diff --git a/test/test_ezsignbulksend_get_object_v2_response.py b/test/test_ezsignbulksend_get_object_v2_response.py index 03c812e94..de87b6d53 100644 --- a/test/test_ezsignbulksend_get_object_v2_response.py +++ b/test/test_ezsignbulksend_get_object_v2_response.py @@ -36,11 +36,28 @@ def make_instance(self, include_optional) -> EzsignbulksendGetObjectV2Response: model = EzsignbulksendGetObjectV2Response() if include_optional: return EzsignbulksendGetObjectV2Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), + obj_debug = {"sMemoryUsage":"11,923MB","sRunTime":"0.6084s","iSQLSelects":3,"iSQLQueries":6,"a_objSQLQuery":[{"sQuery":"SELECT * FROM table","fDuration":1.0E-4},{"sQuery":"SELECT * FROM table","fDuration":1.0E-4}]}, m_payload = eZmaxApi.models.ezsignbulksend_get_object_v2_response_m_payload.ezsignbulksend-getObject-v2-Response-mPayload( obj_ezsignbulksend = eZmaxApi.models.ezsignbulksend_response_compound.ezsignbulksend-ResponseCompound(), ) ) else: return EzsignbulksendGetObjectV2Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), m_payload = eZmaxApi.models.ezsignbulksend_get_object_v2_response_m_payload.ezsignbulksend-getObject-v2-Response-mPayload( obj_ezsignbulksend = eZmaxApi.models.ezsignbulksend_response_compound.ezsignbulksend-ResponseCompound(), ), ) diff --git a/test/test_ezsignbulksend_reorder_v1_response.py b/test/test_ezsignbulksend_reorder_v1_response.py index a0921b0c7..831e09126 100644 --- a/test/test_ezsignbulksend_reorder_v1_response.py +++ b/test/test_ezsignbulksend_reorder_v1_response.py @@ -36,9 +36,26 @@ def make_instance(self, include_optional) -> EzsignbulksendReorderV1Response: model = EzsignbulksendReorderV1Response() if include_optional: return EzsignbulksendReorderV1Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), + obj_debug = {"sMemoryUsage":"11,923MB","sRunTime":"0.6084s","iSQLSelects":3,"iSQLQueries":6,"a_objSQLQuery":[{"sQuery":"SELECT * FROM table","fDuration":1.0E-4},{"sQuery":"SELECT * FROM table","fDuration":1.0E-4}]} ) else: return EzsignbulksendReorderV1Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), ) """ diff --git a/test/test_ezsignbulksend_request_compound.py b/test/test_ezsignbulksend_request_compound.py index 7deff8eb7..a6b786147 100644 --- a/test/test_ezsignbulksend_request_compound.py +++ b/test/test_ezsignbulksend_request_compound.py @@ -36,9 +36,22 @@ def make_instance(self, include_optional) -> EzsignbulksendRequestCompound: model = EzsignbulksendRequestCompound() if include_optional: return EzsignbulksendRequestCompound( + pki_ezsignbulksend_id = 8, + fki_ezsignfoldertype_id = 5, + fki_language_id = 2, + s_ezsignbulksend_description = 'Test eZsign Bulk Send', + t_ezsignbulksend_note = 'This is a note', + b_ezsignbulksend_needvalidation = True, + b_ezsignbulksend_isactive = True ) else: return EzsignbulksendRequestCompound( + fki_ezsignfoldertype_id = 5, + fki_language_id = 2, + s_ezsignbulksend_description = 'Test eZsign Bulk Send', + t_ezsignbulksend_note = 'This is a note', + b_ezsignbulksend_needvalidation = True, + b_ezsignbulksend_isactive = True, ) """ diff --git a/test/test_ezsignbulksend_response_compound.py b/test/test_ezsignbulksend_response_compound.py index 373edd805..f5009b968 100644 --- a/test/test_ezsignbulksend_response_compound.py +++ b/test/test_ezsignbulksend_response_compound.py @@ -36,6 +36,33 @@ def make_instance(self, include_optional) -> EzsignbulksendResponseCompound: model = EzsignbulksendResponseCompound() if include_optional: return EzsignbulksendResponseCompound( + pki_ezsignbulksend_id = 8, + fki_ezsignfoldertype_id = 5, + fki_language_id = 2, + s_language_name_x = 'English', + e_ezsignfoldertype_privacylevel = 'User', + s_ezsignfoldertype_name_x = 'Default', + s_ezsignbulksend_description = 'Test eZsign Bulk Send', + t_ezsignbulksend_note = 'This is a note', + b_ezsignbulksend_needvalidation = True, + b_ezsignbulksend_isactive = True, + obj_audit = eZmaxApi.models.common_audit.Common-Audit( + obj_auditdetail_created = eZmaxApi.models.common_auditdetail.Common-Auditdetail( + fki_user_id = 70, + fki_apikey_id = 99, + s_user_loginname = 'JohnDoe', + s_user_lastname = 'Doe', + s_user_firstname = 'John', + s_apikey_description_x = 'Project X', + dt_auditdetail_date = '2020-12-31 23:59:59', ), + obj_auditdetail_modified = eZmaxApi.models.common_auditdetail.Common-Auditdetail( + fki_user_id = 70, + fki_apikey_id = 99, + s_user_loginname = 'JohnDoe', + s_user_lastname = 'Doe', + s_user_firstname = 'John', + s_apikey_description_x = 'Project X', + dt_auditdetail_date = '2020-12-31 23:59:59', ), ), a_obj_ezsignbulksenddocumentmapping = [ eZmaxApi.models.ezsignbulksenddocumentmapping_response_compound.ezsignbulksenddocumentmapping-ResponseCompound() ], @@ -49,6 +76,33 @@ def make_instance(self, include_optional) -> EzsignbulksendResponseCompound: ) else: return EzsignbulksendResponseCompound( + pki_ezsignbulksend_id = 8, + fki_ezsignfoldertype_id = 5, + fki_language_id = 2, + s_language_name_x = 'English', + e_ezsignfoldertype_privacylevel = 'User', + s_ezsignfoldertype_name_x = 'Default', + s_ezsignbulksend_description = 'Test eZsign Bulk Send', + t_ezsignbulksend_note = 'This is a note', + b_ezsignbulksend_needvalidation = True, + b_ezsignbulksend_isactive = True, + obj_audit = eZmaxApi.models.common_audit.Common-Audit( + obj_auditdetail_created = eZmaxApi.models.common_auditdetail.Common-Auditdetail( + fki_user_id = 70, + fki_apikey_id = 99, + s_user_loginname = 'JohnDoe', + s_user_lastname = 'Doe', + s_user_firstname = 'John', + s_apikey_description_x = 'Project X', + dt_auditdetail_date = '2020-12-31 23:59:59', ), + obj_auditdetail_modified = eZmaxApi.models.common_auditdetail.Common-Auditdetail( + fki_user_id = 70, + fki_apikey_id = 99, + s_user_loginname = 'JohnDoe', + s_user_lastname = 'Doe', + s_user_firstname = 'John', + s_apikey_description_x = 'Project X', + dt_auditdetail_date = '2020-12-31 23:59:59', ), ), a_obj_ezsignbulksenddocumentmapping = [ eZmaxApi.models.ezsignbulksenddocumentmapping_response_compound.ezsignbulksenddocumentmapping-ResponseCompound() ], diff --git a/test/test_ezsignbulksenddocumentmapping_create_object_v1_response.py b/test/test_ezsignbulksenddocumentmapping_create_object_v1_response.py index 8a01eb7a1..4de89a5a6 100644 --- a/test/test_ezsignbulksenddocumentmapping_create_object_v1_response.py +++ b/test/test_ezsignbulksenddocumentmapping_create_object_v1_response.py @@ -36,6 +36,15 @@ def make_instance(self, include_optional) -> EzsignbulksenddocumentmappingCreate model = EzsignbulksenddocumentmappingCreateObjectV1Response() if include_optional: return EzsignbulksenddocumentmappingCreateObjectV1Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), + obj_debug = {"sMemoryUsage":"11,923MB","sRunTime":"0.6084s","iSQLSelects":3,"iSQLQueries":6,"a_objSQLQuery":[{"sQuery":"SELECT * FROM table","fDuration":1.0E-4},{"sQuery":"SELECT * FROM table","fDuration":1.0E-4}]}, m_payload = eZmaxApi.models.ezsignbulksenddocumentmapping_create_object_v1_response_m_payload.ezsignbulksenddocumentmapping-createObject-v1-Response-mPayload( a_pki_ezsignbulksenddocumentmapping_id = [ 48 @@ -43,6 +52,14 @@ def make_instance(self, include_optional) -> EzsignbulksenddocumentmappingCreate ) else: return EzsignbulksenddocumentmappingCreateObjectV1Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), m_payload = eZmaxApi.models.ezsignbulksenddocumentmapping_create_object_v1_response_m_payload.ezsignbulksenddocumentmapping-createObject-v1-Response-mPayload( a_pki_ezsignbulksenddocumentmapping_id = [ 48 diff --git a/test/test_ezsignbulksenddocumentmapping_delete_object_v1_response.py b/test/test_ezsignbulksenddocumentmapping_delete_object_v1_response.py index 3425ca215..0a7e3c70c 100644 --- a/test/test_ezsignbulksenddocumentmapping_delete_object_v1_response.py +++ b/test/test_ezsignbulksenddocumentmapping_delete_object_v1_response.py @@ -36,9 +36,26 @@ def make_instance(self, include_optional) -> EzsignbulksenddocumentmappingDelete model = EzsignbulksenddocumentmappingDeleteObjectV1Response() if include_optional: return EzsignbulksenddocumentmappingDeleteObjectV1Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), + obj_debug = {"sMemoryUsage":"11,923MB","sRunTime":"0.6084s","iSQLSelects":3,"iSQLQueries":6,"a_objSQLQuery":[{"sQuery":"SELECT * FROM table","fDuration":1.0E-4},{"sQuery":"SELECT * FROM table","fDuration":1.0E-4}]} ) else: return EzsignbulksenddocumentmappingDeleteObjectV1Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), ) """ diff --git a/test/test_ezsignbulksenddocumentmapping_get_object_v2_response.py b/test/test_ezsignbulksenddocumentmapping_get_object_v2_response.py index a821c13aa..52864b469 100644 --- a/test/test_ezsignbulksenddocumentmapping_get_object_v2_response.py +++ b/test/test_ezsignbulksenddocumentmapping_get_object_v2_response.py @@ -36,11 +36,28 @@ def make_instance(self, include_optional) -> EzsignbulksenddocumentmappingGetObj model = EzsignbulksenddocumentmappingGetObjectV2Response() if include_optional: return EzsignbulksenddocumentmappingGetObjectV2Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), + obj_debug = {"sMemoryUsage":"11,923MB","sRunTime":"0.6084s","iSQLSelects":3,"iSQLQueries":6,"a_objSQLQuery":[{"sQuery":"SELECT * FROM table","fDuration":1.0E-4},{"sQuery":"SELECT * FROM table","fDuration":1.0E-4}]}, m_payload = eZmaxApi.models.ezsignbulksenddocumentmapping_get_object_v2_response_m_payload.ezsignbulksenddocumentmapping-getObject-v2-Response-mPayload( obj_ezsignbulksenddocumentmapping = eZmaxApi.models.ezsignbulksenddocumentmapping_response_compound.ezsignbulksenddocumentmapping-ResponseCompound(), ) ) else: return EzsignbulksenddocumentmappingGetObjectV2Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), m_payload = eZmaxApi.models.ezsignbulksenddocumentmapping_get_object_v2_response_m_payload.ezsignbulksenddocumentmapping-getObject-v2-Response-mPayload( obj_ezsignbulksenddocumentmapping = eZmaxApi.models.ezsignbulksenddocumentmapping_response_compound.ezsignbulksenddocumentmapping-ResponseCompound(), ), ) diff --git a/test/test_ezsignbulksenddocumentmapping_request_compound.py b/test/test_ezsignbulksenddocumentmapping_request_compound.py index 11c6d842a..523977877 100644 --- a/test/test_ezsignbulksenddocumentmapping_request_compound.py +++ b/test/test_ezsignbulksenddocumentmapping_request_compound.py @@ -36,9 +36,14 @@ def make_instance(self, include_optional) -> EzsignbulksenddocumentmappingReques model = EzsignbulksenddocumentmappingRequestCompound() if include_optional: return EzsignbulksenddocumentmappingRequestCompound( + pki_ezsignbulksenddocumentmapping_id = 48, + fki_ezsignbulksend_id = 8, + fki_ezsigntemplatepackage_id = 99, + fki_ezsigntemplate_id = 36 ) else: return EzsignbulksenddocumentmappingRequestCompound( + fki_ezsignbulksend_id = 8, ) """ diff --git a/test/test_ezsignbulksenddocumentmapping_response_compound.py b/test/test_ezsignbulksenddocumentmapping_response_compound.py index 162dc1501..ece45bbcc 100644 --- a/test/test_ezsignbulksenddocumentmapping_response_compound.py +++ b/test/test_ezsignbulksenddocumentmapping_response_compound.py @@ -36,11 +36,19 @@ def make_instance(self, include_optional) -> EzsignbulksenddocumentmappingRespon model = EzsignbulksenddocumentmappingResponseCompound() if include_optional: return EzsignbulksenddocumentmappingResponseCompound( + pki_ezsignbulksenddocumentmapping_id = 48, + fki_ezsignbulksend_id = 8, + fki_ezsigntemplatepackage_id = 99, + fki_ezsigntemplate_id = 36, + i_ezsignbulksenddocumentmapping_order = 1, obj_ezsigntemplate = eZmaxApi.models.ezsigntemplate_response_compound.ezsigntemplate-ResponseCompound(), obj_ezsigntemplatepackage = eZmaxApi.models.ezsigntemplatepackage_response_compound.ezsigntemplatepackage-ResponseCompound() ) else: return EzsignbulksenddocumentmappingResponseCompound( + pki_ezsignbulksenddocumentmapping_id = 48, + fki_ezsignbulksend_id = 8, + i_ezsignbulksenddocumentmapping_order = 1, ) """ diff --git a/test/test_ezsignbulksendsignermapping_create_object_v1_response.py b/test/test_ezsignbulksendsignermapping_create_object_v1_response.py index fea154f41..e8d570cf7 100644 --- a/test/test_ezsignbulksendsignermapping_create_object_v1_response.py +++ b/test/test_ezsignbulksendsignermapping_create_object_v1_response.py @@ -36,6 +36,15 @@ def make_instance(self, include_optional) -> EzsignbulksendsignermappingCreateOb model = EzsignbulksendsignermappingCreateObjectV1Response() if include_optional: return EzsignbulksendsignermappingCreateObjectV1Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), + obj_debug = {"sMemoryUsage":"11,923MB","sRunTime":"0.6084s","iSQLSelects":3,"iSQLQueries":6,"a_objSQLQuery":[{"sQuery":"SELECT * FROM table","fDuration":1.0E-4},{"sQuery":"SELECT * FROM table","fDuration":1.0E-4}]}, m_payload = eZmaxApi.models.ezsignbulksendsignermapping_create_object_v1_response_m_payload.ezsignbulksendsignermapping-createObject-v1-Response-mPayload( a_pki_ezsignbulksendsignermapping_id = [ 57 @@ -43,6 +52,14 @@ def make_instance(self, include_optional) -> EzsignbulksendsignermappingCreateOb ) else: return EzsignbulksendsignermappingCreateObjectV1Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), m_payload = eZmaxApi.models.ezsignbulksendsignermapping_create_object_v1_response_m_payload.ezsignbulksendsignermapping-createObject-v1-Response-mPayload( a_pki_ezsignbulksendsignermapping_id = [ 57 diff --git a/test/test_ezsignbulksendsignermapping_delete_object_v1_response.py b/test/test_ezsignbulksendsignermapping_delete_object_v1_response.py index d3ee9db34..e07740c7f 100644 --- a/test/test_ezsignbulksendsignermapping_delete_object_v1_response.py +++ b/test/test_ezsignbulksendsignermapping_delete_object_v1_response.py @@ -36,9 +36,26 @@ def make_instance(self, include_optional) -> EzsignbulksendsignermappingDeleteOb model = EzsignbulksendsignermappingDeleteObjectV1Response() if include_optional: return EzsignbulksendsignermappingDeleteObjectV1Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), + obj_debug = {"sMemoryUsage":"11,923MB","sRunTime":"0.6084s","iSQLSelects":3,"iSQLQueries":6,"a_objSQLQuery":[{"sQuery":"SELECT * FROM table","fDuration":1.0E-4},{"sQuery":"SELECT * FROM table","fDuration":1.0E-4}]} ) else: return EzsignbulksendsignermappingDeleteObjectV1Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), ) """ diff --git a/test/test_ezsignbulksendsignermapping_get_object_v2_response.py b/test/test_ezsignbulksendsignermapping_get_object_v2_response.py index 53e7cca2e..299bd7b91 100644 --- a/test/test_ezsignbulksendsignermapping_get_object_v2_response.py +++ b/test/test_ezsignbulksendsignermapping_get_object_v2_response.py @@ -36,11 +36,28 @@ def make_instance(self, include_optional) -> EzsignbulksendsignermappingGetObjec model = EzsignbulksendsignermappingGetObjectV2Response() if include_optional: return EzsignbulksendsignermappingGetObjectV2Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), + obj_debug = {"sMemoryUsage":"11,923MB","sRunTime":"0.6084s","iSQLSelects":3,"iSQLQueries":6,"a_objSQLQuery":[{"sQuery":"SELECT * FROM table","fDuration":1.0E-4},{"sQuery":"SELECT * FROM table","fDuration":1.0E-4}]}, m_payload = eZmaxApi.models.ezsignbulksendsignermapping_get_object_v2_response_m_payload.ezsignbulksendsignermapping-getObject-v2-Response-mPayload( obj_ezsignbulksendsignermapping = eZmaxApi.models.ezsignbulksendsignermapping_response_compound.ezsignbulksendsignermapping-ResponseCompound(), ) ) else: return EzsignbulksendsignermappingGetObjectV2Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), m_payload = eZmaxApi.models.ezsignbulksendsignermapping_get_object_v2_response_m_payload.ezsignbulksendsignermapping-getObject-v2-Response-mPayload( obj_ezsignbulksendsignermapping = eZmaxApi.models.ezsignbulksendsignermapping_response_compound.ezsignbulksendsignermapping-ResponseCompound(), ), ) diff --git a/test/test_ezsignbulksendsignermapping_request_compound.py b/test/test_ezsignbulksendsignermapping_request_compound.py index 6eabd401a..d6cd2ffb1 100644 --- a/test/test_ezsignbulksendsignermapping_request_compound.py +++ b/test/test_ezsignbulksendsignermapping_request_compound.py @@ -36,9 +36,15 @@ def make_instance(self, include_optional) -> EzsignbulksendsignermappingRequestC model = EzsignbulksendsignermappingRequestCompound() if include_optional: return EzsignbulksendsignermappingRequestCompound( + pki_ezsignbulksendsignermapping_id = 57, + fki_ezsignbulksend_id = 8, + fki_user_id = 70, + s_ezsignbulksendsignermapping_description = 'Supervisor' ) else: return EzsignbulksendsignermappingRequestCompound( + fki_ezsignbulksend_id = 8, + s_ezsignbulksendsignermapping_description = 'Supervisor', ) """ diff --git a/test/test_ezsignbulksendsignermapping_response_compound.py b/test/test_ezsignbulksendsignermapping_response_compound.py index f7cf418df..da97b6911 100644 --- a/test/test_ezsignbulksendsignermapping_response_compound.py +++ b/test/test_ezsignbulksendsignermapping_response_compound.py @@ -36,9 +36,16 @@ def make_instance(self, include_optional) -> EzsignbulksendsignermappingResponse model = EzsignbulksendsignermappingResponseCompound() if include_optional: return EzsignbulksendsignermappingResponseCompound( + pki_ezsignbulksendsignermapping_id = 57, + fki_ezsignbulksend_id = 8, + fki_user_id = 70, + s_ezsignbulksendsignermapping_description = 'Supervisor' ) else: return EzsignbulksendsignermappingResponseCompound( + pki_ezsignbulksendsignermapping_id = 57, + fki_ezsignbulksend_id = 8, + s_ezsignbulksendsignermapping_description = 'Supervisor', ) """ diff --git a/test/test_ezsignbulksendtransmission_get_ezsignsignatures_automatic_v1_response.py b/test/test_ezsignbulksendtransmission_get_ezsignsignatures_automatic_v1_response.py index 00004b202..068a6b9db 100644 --- a/test/test_ezsignbulksendtransmission_get_ezsignsignatures_automatic_v1_response.py +++ b/test/test_ezsignbulksendtransmission_get_ezsignsignatures_automatic_v1_response.py @@ -36,6 +36,15 @@ def make_instance(self, include_optional) -> EzsignbulksendtransmissionGetEzsign model = EzsignbulksendtransmissionGetEzsignsignaturesAutomaticV1Response() if include_optional: return EzsignbulksendtransmissionGetEzsignsignaturesAutomaticV1Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), + obj_debug = {"sMemoryUsage":"11,923MB","sRunTime":"0.6084s","iSQLSelects":3,"iSQLQueries":6,"a_objSQLQuery":[{"sQuery":"SELECT * FROM table","fDuration":1.0E-4},{"sQuery":"SELECT * FROM table","fDuration":1.0E-4}]}, m_payload = eZmaxApi.models.ezsignbulksendtransmission_get_ezsignsignatures_automatic_v1_response_m_payload.ezsignbulksendtransmission-getEzsignsignaturesAutomatic-v1-Response-mPayload( a_e_ezsignsignature_type = [ 'Name' @@ -59,6 +68,14 @@ def make_instance(self, include_optional) -> EzsignbulksendtransmissionGetEzsign ) else: return EzsignbulksendtransmissionGetEzsignsignaturesAutomaticV1Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), m_payload = eZmaxApi.models.ezsignbulksendtransmission_get_ezsignsignatures_automatic_v1_response_m_payload.ezsignbulksendtransmission-getEzsignsignaturesAutomatic-v1-Response-mPayload( a_e_ezsignsignature_type = [ 'Name' diff --git a/test/test_ezsignbulksendtransmission_get_forms_data_v1_response.py b/test/test_ezsignbulksendtransmission_get_forms_data_v1_response.py index c973895a1..67fefa804 100644 --- a/test/test_ezsignbulksendtransmission_get_forms_data_v1_response.py +++ b/test/test_ezsignbulksendtransmission_get_forms_data_v1_response.py @@ -36,6 +36,15 @@ def make_instance(self, include_optional) -> EzsignbulksendtransmissionGetFormsD model = EzsignbulksendtransmissionGetFormsDataV1Response() if include_optional: return EzsignbulksendtransmissionGetFormsDataV1Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), + obj_debug = {"sMemoryUsage":"11,923MB","sRunTime":"0.6084s","iSQLSelects":3,"iSQLQueries":6,"a_objSQLQuery":[{"sQuery":"SELECT * FROM table","fDuration":1.0E-4},{"sQuery":"SELECT * FROM table","fDuration":1.0E-4}]}, m_payload = eZmaxApi.models.ezsignbulksendtransmission_get_forms_data_v1_response_m_payload.ezsignbulksendtransmission-getFormsData-v1-Response-mPayload( a_obj_forms_data_folder = [ eZmaxApi.models.custom_forms_data_folder_response.Custom-FormsDataFolder-Response( @@ -68,6 +77,14 @@ def make_instance(self, include_optional) -> EzsignbulksendtransmissionGetFormsD ) else: return EzsignbulksendtransmissionGetFormsDataV1Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), m_payload = eZmaxApi.models.ezsignbulksendtransmission_get_forms_data_v1_response_m_payload.ezsignbulksendtransmission-getFormsData-v1-Response-mPayload( a_obj_forms_data_folder = [ eZmaxApi.models.custom_forms_data_folder_response.Custom-FormsDataFolder-Response( diff --git a/test/test_ezsignbulksendtransmission_get_object_v2_response.py b/test/test_ezsignbulksendtransmission_get_object_v2_response.py index 0529636e8..6e88cbc70 100644 --- a/test/test_ezsignbulksendtransmission_get_object_v2_response.py +++ b/test/test_ezsignbulksendtransmission_get_object_v2_response.py @@ -36,11 +36,28 @@ def make_instance(self, include_optional) -> EzsignbulksendtransmissionGetObject model = EzsignbulksendtransmissionGetObjectV2Response() if include_optional: return EzsignbulksendtransmissionGetObjectV2Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), + obj_debug = {"sMemoryUsage":"11,923MB","sRunTime":"0.6084s","iSQLSelects":3,"iSQLQueries":6,"a_objSQLQuery":[{"sQuery":"SELECT * FROM table","fDuration":1.0E-4},{"sQuery":"SELECT * FROM table","fDuration":1.0E-4}]}, m_payload = eZmaxApi.models.ezsignbulksendtransmission_get_object_v2_response_m_payload.ezsignbulksendtransmission-getObject-v2-Response-mPayload( obj_ezsignbulksendtransmission = eZmaxApi.models.ezsignbulksendtransmission_response_compound.ezsignbulksendtransmission-ResponseCompound(), ) ) else: return EzsignbulksendtransmissionGetObjectV2Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), m_payload = eZmaxApi.models.ezsignbulksendtransmission_get_object_v2_response_m_payload.ezsignbulksendtransmission-getObject-v2-Response-mPayload( obj_ezsignbulksendtransmission = eZmaxApi.models.ezsignbulksendtransmission_response_compound.ezsignbulksendtransmission-ResponseCompound(), ), ) diff --git a/test/test_ezsignbulksendtransmission_response_compound.py b/test/test_ezsignbulksendtransmission_response_compound.py index 8403eec74..af1d20336 100644 --- a/test/test_ezsignbulksendtransmission_response_compound.py +++ b/test/test_ezsignbulksendtransmission_response_compound.py @@ -36,6 +36,27 @@ def make_instance(self, include_optional) -> EzsignbulksendtransmissionResponseC model = EzsignbulksendtransmissionResponseCompound() if include_optional: return EzsignbulksendtransmissionResponseCompound( + pki_ezsignbulksendtransmission_id = 21, + fki_ezsignbulksend_id = 8, + s_ezsignbulksendtransmission_description = 'Test eZsign Bulk Send Transmission #1', + i_ezsignbulksendtransmission_errors = 1, + obj_audit = eZmaxApi.models.common_audit.Common-Audit( + obj_auditdetail_created = eZmaxApi.models.common_auditdetail.Common-Auditdetail( + fki_user_id = 70, + fki_apikey_id = 99, + s_user_loginname = 'JohnDoe', + s_user_lastname = 'Doe', + s_user_firstname = 'John', + s_apikey_description_x = 'Project X', + dt_auditdetail_date = '2020-12-31 23:59:59', ), + obj_auditdetail_modified = eZmaxApi.models.common_auditdetail.Common-Auditdetail( + fki_user_id = 70, + fki_apikey_id = 99, + s_user_loginname = 'JohnDoe', + s_user_lastname = 'Doe', + s_user_firstname = 'John', + s_apikey_description_x = 'Project X', + dt_auditdetail_date = '2020-12-31 23:59:59', ), ), a_obj_ezsignfoldertransmission = [ eZmaxApi.models.custom_ezsignfoldertransmission_response.Custom-Ezsignfoldertransmission-Response( pki_ezsignfolder_id = 33, @@ -54,6 +75,27 @@ def make_instance(self, include_optional) -> EzsignbulksendtransmissionResponseC ) else: return EzsignbulksendtransmissionResponseCompound( + pki_ezsignbulksendtransmission_id = 21, + fki_ezsignbulksend_id = 8, + s_ezsignbulksendtransmission_description = 'Test eZsign Bulk Send Transmission #1', + i_ezsignbulksendtransmission_errors = 1, + obj_audit = eZmaxApi.models.common_audit.Common-Audit( + obj_auditdetail_created = eZmaxApi.models.common_auditdetail.Common-Auditdetail( + fki_user_id = 70, + fki_apikey_id = 99, + s_user_loginname = 'JohnDoe', + s_user_lastname = 'Doe', + s_user_firstname = 'John', + s_apikey_description_x = 'Project X', + dt_auditdetail_date = '2020-12-31 23:59:59', ), + obj_auditdetail_modified = eZmaxApi.models.common_auditdetail.Common-Auditdetail( + fki_user_id = 70, + fki_apikey_id = 99, + s_user_loginname = 'JohnDoe', + s_user_lastname = 'Doe', + s_user_firstname = 'John', + s_apikey_description_x = 'Project X', + dt_auditdetail_date = '2020-12-31 23:59:59', ), ), a_obj_ezsignfoldertransmission = [ eZmaxApi.models.custom_ezsignfoldertransmission_response.Custom-Ezsignfoldertransmission-Response( pki_ezsignfolder_id = 33, diff --git a/test/test_ezsigndiscussion_create_object_v1_response.py b/test/test_ezsigndiscussion_create_object_v1_response.py index 76978600f..67543f636 100644 --- a/test/test_ezsigndiscussion_create_object_v1_response.py +++ b/test/test_ezsigndiscussion_create_object_v1_response.py @@ -36,6 +36,15 @@ def make_instance(self, include_optional) -> EzsigndiscussionCreateObjectV1Respo model = EzsigndiscussionCreateObjectV1Response() if include_optional: return EzsigndiscussionCreateObjectV1Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), + obj_debug = {"sMemoryUsage":"11,923MB","sRunTime":"0.6084s","iSQLSelects":3,"iSQLQueries":6,"a_objSQLQuery":[{"sQuery":"SELECT * FROM table","fDuration":1.0E-4},{"sQuery":"SELECT * FROM table","fDuration":1.0E-4}]}, m_payload = eZmaxApi.models.ezsigndiscussion_create_object_v1_response_m_payload.ezsigndiscussion-createObject-v1-Response-mPayload( a_pki_ezsigndiscussion_id = [ 194 @@ -43,6 +52,14 @@ def make_instance(self, include_optional) -> EzsigndiscussionCreateObjectV1Respo ) else: return EzsigndiscussionCreateObjectV1Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), m_payload = eZmaxApi.models.ezsigndiscussion_create_object_v1_response_m_payload.ezsigndiscussion-createObject-v1-Response-mPayload( a_pki_ezsigndiscussion_id = [ 194 diff --git a/test/test_ezsigndiscussion_delete_object_v1_response.py b/test/test_ezsigndiscussion_delete_object_v1_response.py index 117450077..58aa6012c 100644 --- a/test/test_ezsigndiscussion_delete_object_v1_response.py +++ b/test/test_ezsigndiscussion_delete_object_v1_response.py @@ -36,9 +36,26 @@ def make_instance(self, include_optional) -> EzsigndiscussionDeleteObjectV1Respo model = EzsigndiscussionDeleteObjectV1Response() if include_optional: return EzsigndiscussionDeleteObjectV1Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), + obj_debug = {"sMemoryUsage":"11,923MB","sRunTime":"0.6084s","iSQLSelects":3,"iSQLQueries":6,"a_objSQLQuery":[{"sQuery":"SELECT * FROM table","fDuration":1.0E-4},{"sQuery":"SELECT * FROM table","fDuration":1.0E-4}]} ) else: return EzsigndiscussionDeleteObjectV1Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), ) """ diff --git a/test/test_ezsigndiscussion_get_object_v2_response.py b/test/test_ezsigndiscussion_get_object_v2_response.py index cc65a1f2e..a0cd28048 100644 --- a/test/test_ezsigndiscussion_get_object_v2_response.py +++ b/test/test_ezsigndiscussion_get_object_v2_response.py @@ -36,11 +36,28 @@ def make_instance(self, include_optional) -> EzsigndiscussionGetObjectV2Response model = EzsigndiscussionGetObjectV2Response() if include_optional: return EzsigndiscussionGetObjectV2Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), + obj_debug = {"sMemoryUsage":"11,923MB","sRunTime":"0.6084s","iSQLSelects":3,"iSQLQueries":6,"a_objSQLQuery":[{"sQuery":"SELECT * FROM table","fDuration":1.0E-4},{"sQuery":"SELECT * FROM table","fDuration":1.0E-4}]}, m_payload = eZmaxApi.models.ezsigndiscussion_get_object_v2_response_m_payload.ezsigndiscussion-getObject-v2-Response-mPayload( obj_ezsigndiscussion = eZmaxApi.models.ezsigndiscussion_response_compound.ezsigndiscussion-ResponseCompound(), ) ) else: return EzsigndiscussionGetObjectV2Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), m_payload = eZmaxApi.models.ezsigndiscussion_get_object_v2_response_m_payload.ezsigndiscussion-getObject-v2-Response-mPayload( obj_ezsigndiscussion = eZmaxApi.models.ezsigndiscussion_response_compound.ezsigndiscussion-ResponseCompound(), ), ) diff --git a/test/test_ezsigndiscussion_request_compound.py b/test/test_ezsigndiscussion_request_compound.py index b0521ea74..624fbab29 100644 --- a/test/test_ezsigndiscussion_request_compound.py +++ b/test/test_ezsigndiscussion_request_compound.py @@ -36,9 +36,26 @@ def make_instance(self, include_optional) -> EzsigndiscussionRequestCompound: model = EzsigndiscussionRequestCompound() if include_optional: return EzsigndiscussionRequestCompound( + pki_ezsigndiscussion_id = 194, + fki_ezsigndocument_id = 97, + i_ezsigndiscussion_pagenumber = 4, + i_ezsigndiscussion_x = 57208, + i_ezsigndiscussion_y = 57652, + obj_discussion = eZmaxApi.models.discussion_request.discussion-Request( + pki_discussion_id = 125, + s_discussion_description = 'John Doe', + b_discussion_closed = True, ) ) else: return EzsigndiscussionRequestCompound( + fki_ezsigndocument_id = 97, + i_ezsigndiscussion_pagenumber = 4, + i_ezsigndiscussion_x = 57208, + i_ezsigndiscussion_y = 57652, + obj_discussion = eZmaxApi.models.discussion_request.discussion-Request( + pki_discussion_id = 125, + s_discussion_description = 'John Doe', + b_discussion_closed = True, ), ) """ diff --git a/test/test_ezsigndiscussion_response_compound.py b/test/test_ezsigndiscussion_response_compound.py index 7c07f48be..576eee711 100644 --- a/test/test_ezsigndiscussion_response_compound.py +++ b/test/test_ezsigndiscussion_response_compound.py @@ -36,9 +36,23 @@ def make_instance(self, include_optional) -> EzsigndiscussionResponseCompound: model = EzsigndiscussionResponseCompound() if include_optional: return EzsigndiscussionResponseCompound( + pki_ezsigndiscussion_id = 194, + fki_ezsignpage_id = 64, + fki_discussion_id = 125, + i_ezsigndiscussion_x = 57208, + i_ezsigndiscussion_y = 57652, + i_ezsigndiscussion_pagenumber = 4, + obj_discussion = eZmaxApi.models.discussion_response_compound.discussion-ResponseCompound() ) else: return EzsigndiscussionResponseCompound( + pki_ezsigndiscussion_id = 194, + fki_ezsignpage_id = 64, + fki_discussion_id = 125, + i_ezsigndiscussion_x = 57208, + i_ezsigndiscussion_y = 57652, + i_ezsigndiscussion_pagenumber = 4, + obj_discussion = eZmaxApi.models.discussion_response_compound.discussion-ResponseCompound(), ) """ diff --git a/test/test_ezsigndocument_apply_ezsigntemplate_v1_response.py b/test/test_ezsigndocument_apply_ezsigntemplate_v1_response.py index 53cff06e9..f8e145f26 100644 --- a/test/test_ezsigndocument_apply_ezsigntemplate_v1_response.py +++ b/test/test_ezsigndocument_apply_ezsigntemplate_v1_response.py @@ -36,9 +36,26 @@ def make_instance(self, include_optional) -> EzsigndocumentApplyEzsigntemplateV1 model = EzsigndocumentApplyEzsigntemplateV1Response() if include_optional: return EzsigndocumentApplyEzsigntemplateV1Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), + obj_debug = {"sMemoryUsage":"11,923MB","sRunTime":"0.6084s","iSQLSelects":3,"iSQLQueries":6,"a_objSQLQuery":[{"sQuery":"SELECT * FROM table","fDuration":1.0E-4},{"sQuery":"SELECT * FROM table","fDuration":1.0E-4}]} ) else: return EzsigndocumentApplyEzsigntemplateV1Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), ) """ diff --git a/test/test_ezsigndocument_apply_ezsigntemplate_v2_response.py b/test/test_ezsigndocument_apply_ezsigntemplate_v2_response.py index 7d0d269a8..96d018d3c 100644 --- a/test/test_ezsigndocument_apply_ezsigntemplate_v2_response.py +++ b/test/test_ezsigndocument_apply_ezsigntemplate_v2_response.py @@ -36,6 +36,15 @@ def make_instance(self, include_optional) -> EzsigndocumentApplyEzsigntemplateV2 model = EzsigndocumentApplyEzsigntemplateV2Response() if include_optional: return EzsigndocumentApplyEzsigntemplateV2Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), + obj_debug = {"sMemoryUsage":"11,923MB","sRunTime":"0.6084s","iSQLSelects":3,"iSQLQueries":6,"a_objSQLQuery":[{"sQuery":"SELECT * FROM table","fDuration":1.0E-4},{"sQuery":"SELECT * FROM table","fDuration":1.0E-4}]}, a_obj_warning = [ eZmaxApi.models.common_response_warning.Common-Response-Warning( s_warning_message = '', @@ -44,6 +53,14 @@ def make_instance(self, include_optional) -> EzsigndocumentApplyEzsigntemplateV2 ) else: return EzsigndocumentApplyEzsigntemplateV2Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), ) """ diff --git a/test/test_ezsigndocument_apply_ezsigntemplateglobal_v1_response.py b/test/test_ezsigndocument_apply_ezsigntemplateglobal_v1_response.py index 4da5630dc..8cf1cf2b5 100644 --- a/test/test_ezsigndocument_apply_ezsigntemplateglobal_v1_response.py +++ b/test/test_ezsigndocument_apply_ezsigntemplateglobal_v1_response.py @@ -36,6 +36,15 @@ def make_instance(self, include_optional) -> EzsigndocumentApplyEzsigntemplategl model = EzsigndocumentApplyEzsigntemplateglobalV1Response() if include_optional: return EzsigndocumentApplyEzsigntemplateglobalV1Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), + obj_debug = {"sMemoryUsage":"11,923MB","sRunTime":"0.6084s","iSQLSelects":3,"iSQLQueries":6,"a_objSQLQuery":[{"sQuery":"SELECT * FROM table","fDuration":1.0E-4},{"sQuery":"SELECT * FROM table","fDuration":1.0E-4}]}, a_obj_warning = [ eZmaxApi.models.common_response_warning.Common-Response-Warning( s_warning_message = '', @@ -44,6 +53,14 @@ def make_instance(self, include_optional) -> EzsigndocumentApplyEzsigntemplategl ) else: return EzsigndocumentApplyEzsigntemplateglobalV1Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), ) """ diff --git a/test/test_ezsigndocument_create_ezsignelements_positioned_by_word_v1_response.py b/test/test_ezsigndocument_create_ezsignelements_positioned_by_word_v1_response.py index 991fa5c3a..01383ca4d 100644 --- a/test/test_ezsigndocument_create_ezsignelements_positioned_by_word_v1_response.py +++ b/test/test_ezsigndocument_create_ezsignelements_positioned_by_word_v1_response.py @@ -36,6 +36,15 @@ def make_instance(self, include_optional) -> EzsigndocumentCreateEzsignelementsP model = EzsigndocumentCreateEzsignelementsPositionedByWordV1Response() if include_optional: return EzsigndocumentCreateEzsignelementsPositionedByWordV1Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), + obj_debug = {"sMemoryUsage":"11,923MB","sRunTime":"0.6084s","iSQLSelects":3,"iSQLQueries":6,"a_objSQLQuery":[{"sQuery":"SELECT * FROM table","fDuration":1.0E-4},{"sQuery":"SELECT * FROM table","fDuration":1.0E-4}]}, m_payload = eZmaxApi.models.ezsigndocument_create_ezsignelements_positioned_by_word_v1_response_m_payload.ezsigndocument-createEzsignelementsPositionedByWord-v1-Response-mPayload( a_pki_ezsignsignature_id = [ 49 @@ -46,6 +55,14 @@ def make_instance(self, include_optional) -> EzsigndocumentCreateEzsignelementsP ) else: return EzsigndocumentCreateEzsignelementsPositionedByWordV1Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), m_payload = eZmaxApi.models.ezsigndocument_create_ezsignelements_positioned_by_word_v1_response_m_payload.ezsigndocument-createEzsignelementsPositionedByWord-v1-Response-mPayload( a_pki_ezsignsignature_id = [ 49 diff --git a/test/test_ezsigndocument_create_object_v1_request.py b/test/test_ezsigndocument_create_object_v1_request.py index f05823dc8..cb9dbd701 100644 --- a/test/test_ezsigndocument_create_object_v1_request.py +++ b/test/test_ezsigndocument_create_object_v1_request.py @@ -44,7 +44,7 @@ def make_instance(self, include_optional) -> EzsigndocumentCreateObjectV1Request fki_language_id = 2, e_ezsigndocument_source = 'Base64', e_ezsigndocument_format = 'Pdf', - s_ezsigndocument_base64 = '[B@46c670a6', + s_ezsigndocument_base64 = '[B@a77614d', s_ezsigndocument_url = 'http://www.example.com/document.pdf', b_ezsigndocument_forcerepair = True, s_ezsigndocument_password = 'SecretPassword123', @@ -52,22 +52,7 @@ def make_instance(self, include_optional) -> EzsigndocumentCreateObjectV1Request dt_ezsigndocument_duedate = '2020-12-31 23:59:59', s_ezsigndocument_name = 'Contract #123', s_ezsigndocument_externalid = '{"ID": 1234, "TAGS": ["tag1", "tag2", "tag3"]}', ), - obj_ezsigndocument_compound = eZmaxApi.models.ezsigndocument_request.ezsigndocument-Request( - pki_ezsigndocument_id = 97, - fki_ezsignfolder_id = 33, - fki_ezsigntemplate_id = 36, - fki_ezsignfoldersignerassociation_id = 20, - fki_language_id = 2, - e_ezsigndocument_source = 'Base64', - e_ezsigndocument_format = 'Pdf', - s_ezsigndocument_base64 = '[B@46c670a6', - s_ezsigndocument_url = 'http://www.example.com/document.pdf', - b_ezsigndocument_forcerepair = True, - s_ezsigndocument_password = 'SecretPassword123', - e_ezsigndocument_form = 'Keep', - dt_ezsigndocument_duedate = '2020-12-31 23:59:59', - s_ezsigndocument_name = 'Contract #123', - s_ezsigndocument_externalid = '{"ID": 1234, "TAGS": ["tag1", "tag2", "tag3"]}', ) + obj_ezsigndocument_compound = eZmaxApi.models.ezsigndocument_request_compound.ezsigndocument-RequestCompound() ) else: return EzsigndocumentCreateObjectV1Request( diff --git a/test/test_ezsigndocument_create_object_v1_response.py b/test/test_ezsigndocument_create_object_v1_response.py index 4e43c60f5..d2266ef1a 100644 --- a/test/test_ezsigndocument_create_object_v1_response.py +++ b/test/test_ezsigndocument_create_object_v1_response.py @@ -36,6 +36,15 @@ def make_instance(self, include_optional) -> EzsigndocumentCreateObjectV1Respons model = EzsigndocumentCreateObjectV1Response() if include_optional: return EzsigndocumentCreateObjectV1Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), + obj_debug = {"sMemoryUsage":"11,923MB","sRunTime":"0.6084s","iSQLSelects":3,"iSQLQueries":6,"a_objSQLQuery":[{"sQuery":"SELECT * FROM table","fDuration":1.0E-4},{"sQuery":"SELECT * FROM table","fDuration":1.0E-4}]}, m_payload = eZmaxApi.models.ezsigndocument_create_object_v1_response_m_payload.ezsigndocument-createObject-v1-Response-mPayload( a_pki_ezsigndocument_id = [ 97 @@ -43,6 +52,14 @@ def make_instance(self, include_optional) -> EzsigndocumentCreateObjectV1Respons ) else: return EzsigndocumentCreateObjectV1Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), m_payload = eZmaxApi.models.ezsigndocument_create_object_v1_response_m_payload.ezsigndocument-createObject-v1-Response-mPayload( a_pki_ezsigndocument_id = [ 97 diff --git a/test/test_ezsigndocument_create_object_v2_response.py b/test/test_ezsigndocument_create_object_v2_response.py index 0db48383b..96ca4c94c 100644 --- a/test/test_ezsigndocument_create_object_v2_response.py +++ b/test/test_ezsigndocument_create_object_v2_response.py @@ -36,6 +36,15 @@ def make_instance(self, include_optional) -> EzsigndocumentCreateObjectV2Respons model = EzsigndocumentCreateObjectV2Response() if include_optional: return EzsigndocumentCreateObjectV2Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), + obj_debug = {"sMemoryUsage":"11,923MB","sRunTime":"0.6084s","iSQLSelects":3,"iSQLQueries":6,"a_objSQLQuery":[{"sQuery":"SELECT * FROM table","fDuration":1.0E-4},{"sQuery":"SELECT * FROM table","fDuration":1.0E-4}]}, m_payload = eZmaxApi.models.ezsigndocument_create_object_v2_response_m_payload.ezsigndocument-createObject-v2-Response-mPayload( a_pki_ezsigndocument_id = [ 97 @@ -43,6 +52,14 @@ def make_instance(self, include_optional) -> EzsigndocumentCreateObjectV2Respons ) else: return EzsigndocumentCreateObjectV2Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), m_payload = eZmaxApi.models.ezsigndocument_create_object_v2_response_m_payload.ezsigndocument-createObject-v2-Response-mPayload( a_pki_ezsigndocument_id = [ 97 diff --git a/test/test_ezsigndocument_create_object_v3_response.py b/test/test_ezsigndocument_create_object_v3_response.py index f59db2934..3488da668 100644 --- a/test/test_ezsigndocument_create_object_v3_response.py +++ b/test/test_ezsigndocument_create_object_v3_response.py @@ -36,6 +36,15 @@ def make_instance(self, include_optional) -> EzsigndocumentCreateObjectV3Respons model = EzsigndocumentCreateObjectV3Response() if include_optional: return EzsigndocumentCreateObjectV3Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), + obj_debug = {"sMemoryUsage":"11,923MB","sRunTime":"0.6084s","iSQLSelects":3,"iSQLQueries":6,"a_objSQLQuery":[{"sQuery":"SELECT * FROM table","fDuration":1.0E-4},{"sQuery":"SELECT * FROM table","fDuration":1.0E-4}]}, m_payload = eZmaxApi.models.ezsigndocument_create_object_v3_response_m_payload.ezsigndocument-createObject-v3-Response-mPayload( a_obj_ezsigndocument = [ eZmaxApi.models.ezsigndocument_create_element_v3_response.ezsigndocument-createElement-v3-Response( @@ -49,6 +58,14 @@ def make_instance(self, include_optional) -> EzsigndocumentCreateObjectV3Respons ) else: return EzsigndocumentCreateObjectV3Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), m_payload = eZmaxApi.models.ezsigndocument_create_object_v3_response_m_payload.ezsigndocument-createObject-v3-Response-mPayload( a_obj_ezsigndocument = [ eZmaxApi.models.ezsigndocument_create_element_v3_response.ezsigndocument-createElement-v3-Response( diff --git a/test/test_ezsigndocument_decline_to_sign_v1_response.py b/test/test_ezsigndocument_decline_to_sign_v1_response.py index 7e7735c5c..2d4fce6e3 100644 --- a/test/test_ezsigndocument_decline_to_sign_v1_response.py +++ b/test/test_ezsigndocument_decline_to_sign_v1_response.py @@ -36,9 +36,26 @@ def make_instance(self, include_optional) -> EzsigndocumentDeclineToSignV1Respon model = EzsigndocumentDeclineToSignV1Response() if include_optional: return EzsigndocumentDeclineToSignV1Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), + obj_debug = {"sMemoryUsage":"11,923MB","sRunTime":"0.6084s","iSQLSelects":3,"iSQLQueries":6,"a_objSQLQuery":[{"sQuery":"SELECT * FROM table","fDuration":1.0E-4},{"sQuery":"SELECT * FROM table","fDuration":1.0E-4}]} ) else: return EzsigndocumentDeclineToSignV1Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), ) """ diff --git a/test/test_ezsigndocument_delete_object_v1_response.py b/test/test_ezsigndocument_delete_object_v1_response.py index 288b8f5f3..bcf53bf42 100644 --- a/test/test_ezsigndocument_delete_object_v1_response.py +++ b/test/test_ezsigndocument_delete_object_v1_response.py @@ -36,9 +36,26 @@ def make_instance(self, include_optional) -> EzsigndocumentDeleteObjectV1Respons model = EzsigndocumentDeleteObjectV1Response() if include_optional: return EzsigndocumentDeleteObjectV1Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), + obj_debug = {"sMemoryUsage":"11,923MB","sRunTime":"0.6084s","iSQLSelects":3,"iSQLQueries":6,"a_objSQLQuery":[{"sQuery":"SELECT * FROM table","fDuration":1.0E-4},{"sQuery":"SELECT * FROM table","fDuration":1.0E-4}]} ) else: return EzsigndocumentDeleteObjectV1Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), ) """ diff --git a/test/test_ezsigndocument_edit_ezsignannotations_v1_response.py b/test/test_ezsigndocument_edit_ezsignannotations_v1_response.py index 452702cd0..4d1838221 100644 --- a/test/test_ezsigndocument_edit_ezsignannotations_v1_response.py +++ b/test/test_ezsigndocument_edit_ezsignannotations_v1_response.py @@ -36,6 +36,15 @@ def make_instance(self, include_optional) -> EzsigndocumentEditEzsignannotations model = EzsigndocumentEditEzsignannotationsV1Response() if include_optional: return EzsigndocumentEditEzsignannotationsV1Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), + obj_debug = {"sMemoryUsage":"11,923MB","sRunTime":"0.6084s","iSQLSelects":3,"iSQLQueries":6,"a_objSQLQuery":[{"sQuery":"SELECT * FROM table","fDuration":1.0E-4},{"sQuery":"SELECT * FROM table","fDuration":1.0E-4}]}, m_payload = eZmaxApi.models.ezsigndocument_edit_ezsignannotations_v1_response_m_payload.ezsigndocument-editEzsignannotations-v1-Response-mPayload( a_pki_ezsignannotation_id = [ 113 @@ -43,6 +52,14 @@ def make_instance(self, include_optional) -> EzsigndocumentEditEzsignannotations ) else: return EzsigndocumentEditEzsignannotationsV1Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), m_payload = eZmaxApi.models.ezsigndocument_edit_ezsignannotations_v1_response_m_payload.ezsigndocument-editEzsignannotations-v1-Response-mPayload( a_pki_ezsignannotation_id = [ 113 diff --git a/test/test_ezsigndocument_edit_ezsignformfieldgroups_v1_response.py b/test/test_ezsigndocument_edit_ezsignformfieldgroups_v1_response.py index 141c6832e..6a75aacd6 100644 --- a/test/test_ezsigndocument_edit_ezsignformfieldgroups_v1_response.py +++ b/test/test_ezsigndocument_edit_ezsignformfieldgroups_v1_response.py @@ -36,6 +36,15 @@ def make_instance(self, include_optional) -> EzsigndocumentEditEzsignformfieldgr model = EzsigndocumentEditEzsignformfieldgroupsV1Response() if include_optional: return EzsigndocumentEditEzsignformfieldgroupsV1Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), + obj_debug = {"sMemoryUsage":"11,923MB","sRunTime":"0.6084s","iSQLSelects":3,"iSQLQueries":6,"a_objSQLQuery":[{"sQuery":"SELECT * FROM table","fDuration":1.0E-4},{"sQuery":"SELECT * FROM table","fDuration":1.0E-4}]}, m_payload = eZmaxApi.models.ezsigndocument_edit_ezsignformfieldgroups_v1_response_m_payload.ezsigndocument-editEzsignformfieldgroups-v1-Response-mPayload( a_pki_ezsignformfieldgroup_id = [ 26 @@ -43,6 +52,14 @@ def make_instance(self, include_optional) -> EzsigndocumentEditEzsignformfieldgr ) else: return EzsigndocumentEditEzsignformfieldgroupsV1Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), m_payload = eZmaxApi.models.ezsigndocument_edit_ezsignformfieldgroups_v1_response_m_payload.ezsigndocument-editEzsignformfieldgroups-v1-Response-mPayload( a_pki_ezsignformfieldgroup_id = [ 26 diff --git a/test/test_ezsigndocument_edit_ezsignsignatures_v1_response.py b/test/test_ezsigndocument_edit_ezsignsignatures_v1_response.py index 7c68c710f..ec840d8ed 100644 --- a/test/test_ezsigndocument_edit_ezsignsignatures_v1_response.py +++ b/test/test_ezsigndocument_edit_ezsignsignatures_v1_response.py @@ -36,6 +36,15 @@ def make_instance(self, include_optional) -> EzsigndocumentEditEzsignsignaturesV model = EzsigndocumentEditEzsignsignaturesV1Response() if include_optional: return EzsigndocumentEditEzsignsignaturesV1Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), + obj_debug = {"sMemoryUsage":"11,923MB","sRunTime":"0.6084s","iSQLSelects":3,"iSQLQueries":6,"a_objSQLQuery":[{"sQuery":"SELECT * FROM table","fDuration":1.0E-4},{"sQuery":"SELECT * FROM table","fDuration":1.0E-4}]}, m_payload = eZmaxApi.models.ezsigndocument_edit_ezsignsignatures_v1_response_m_payload.ezsigndocument-editEzsignsignatures-v1-Response-mPayload( a_pki_ezsignsignature_id = [ 49 @@ -43,6 +52,14 @@ def make_instance(self, include_optional) -> EzsigndocumentEditEzsignsignaturesV ) else: return EzsigndocumentEditEzsignsignaturesV1Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), m_payload = eZmaxApi.models.ezsigndocument_edit_ezsignsignatures_v1_response_m_payload.ezsigndocument-editEzsignsignatures-v1-Response-mPayload( a_pki_ezsignsignature_id = [ 49 diff --git a/test/test_ezsigndocument_edit_object_v1_request.py b/test/test_ezsigndocument_edit_object_v1_request.py index 4dab8f338..82b42723d 100644 --- a/test/test_ezsigndocument_edit_object_v1_request.py +++ b/test/test_ezsigndocument_edit_object_v1_request.py @@ -36,41 +36,11 @@ def make_instance(self, include_optional) -> EzsigndocumentEditObjectV1Request: model = EzsigndocumentEditObjectV1Request() if include_optional: return EzsigndocumentEditObjectV1Request( - obj_ezsigndocument = eZmaxApi.models.ezsigndocument_request.ezsigndocument-Request( - pki_ezsigndocument_id = 97, - fki_ezsignfolder_id = 33, - fki_ezsigntemplate_id = 36, - fki_ezsignfoldersignerassociation_id = 20, - fki_language_id = 2, - e_ezsigndocument_source = 'Base64', - e_ezsigndocument_format = 'Pdf', - s_ezsigndocument_base64 = '[B@46c670a6', - s_ezsigndocument_url = 'http://www.example.com/document.pdf', - b_ezsigndocument_forcerepair = True, - s_ezsigndocument_password = 'SecretPassword123', - e_ezsigndocument_form = 'Keep', - dt_ezsigndocument_duedate = '2020-12-31 23:59:59', - s_ezsigndocument_name = 'Contract #123', - s_ezsigndocument_externalid = '{"ID": 1234, "TAGS": ["tag1", "tag2", "tag3"]}', ) + obj_ezsigndocument = eZmaxApi.models.ezsigndocument_request_compound.ezsigndocument-RequestCompound() ) else: return EzsigndocumentEditObjectV1Request( - obj_ezsigndocument = eZmaxApi.models.ezsigndocument_request.ezsigndocument-Request( - pki_ezsigndocument_id = 97, - fki_ezsignfolder_id = 33, - fki_ezsigntemplate_id = 36, - fki_ezsignfoldersignerassociation_id = 20, - fki_language_id = 2, - e_ezsigndocument_source = 'Base64', - e_ezsigndocument_format = 'Pdf', - s_ezsigndocument_base64 = '[B@46c670a6', - s_ezsigndocument_url = 'http://www.example.com/document.pdf', - b_ezsigndocument_forcerepair = True, - s_ezsigndocument_password = 'SecretPassword123', - e_ezsigndocument_form = 'Keep', - dt_ezsigndocument_duedate = '2020-12-31 23:59:59', - s_ezsigndocument_name = 'Contract #123', - s_ezsigndocument_externalid = '{"ID": 1234, "TAGS": ["tag1", "tag2", "tag3"]}', ), + obj_ezsigndocument = eZmaxApi.models.ezsigndocument_request_compound.ezsigndocument-RequestCompound(), ) """ diff --git a/test/test_ezsigndocument_edit_object_v1_response.py b/test/test_ezsigndocument_edit_object_v1_response.py index 448272304..e0548db27 100644 --- a/test/test_ezsigndocument_edit_object_v1_response.py +++ b/test/test_ezsigndocument_edit_object_v1_response.py @@ -36,6 +36,15 @@ def make_instance(self, include_optional) -> EzsigndocumentEditObjectV1Response: model = EzsigndocumentEditObjectV1Response() if include_optional: return EzsigndocumentEditObjectV1Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), + obj_debug = {"sMemoryUsage":"11,923MB","sRunTime":"0.6084s","iSQLSelects":3,"iSQLQueries":6,"a_objSQLQuery":[{"sQuery":"SELECT * FROM table","fDuration":1.0E-4},{"sQuery":"SELECT * FROM table","fDuration":1.0E-4}]}, a_obj_warning = [ eZmaxApi.models.common_response_warning.Common-Response-Warning( s_warning_message = '', @@ -44,6 +53,14 @@ def make_instance(self, include_optional) -> EzsigndocumentEditObjectV1Response: ) else: return EzsigndocumentEditObjectV1Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), ) """ diff --git a/test/test_ezsigndocument_end_prematurely_v1_response.py b/test/test_ezsigndocument_end_prematurely_v1_response.py index f23a63bb4..86f7837d7 100644 --- a/test/test_ezsigndocument_end_prematurely_v1_response.py +++ b/test/test_ezsigndocument_end_prematurely_v1_response.py @@ -36,9 +36,26 @@ def make_instance(self, include_optional) -> EzsigndocumentEndPrematurelyV1Respo model = EzsigndocumentEndPrematurelyV1Response() if include_optional: return EzsigndocumentEndPrematurelyV1Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), + obj_debug = {"sMemoryUsage":"11,923MB","sRunTime":"0.6084s","iSQLSelects":3,"iSQLQueries":6,"a_objSQLQuery":[{"sQuery":"SELECT * FROM table","fDuration":1.0E-4},{"sQuery":"SELECT * FROM table","fDuration":1.0E-4}]} ) else: return EzsigndocumentEndPrematurelyV1Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), ) """ diff --git a/test/test_ezsigndocument_extract_text_v1_response.py b/test/test_ezsigndocument_extract_text_v1_response.py index 7af96df88..2f2668a07 100644 --- a/test/test_ezsigndocument_extract_text_v1_response.py +++ b/test/test_ezsigndocument_extract_text_v1_response.py @@ -36,11 +36,28 @@ def make_instance(self, include_optional) -> EzsigndocumentExtractTextV1Response model = EzsigndocumentExtractTextV1Response() if include_optional: return EzsigndocumentExtractTextV1Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), + obj_debug = {"sMemoryUsage":"11,923MB","sRunTime":"0.6084s","iSQLSelects":3,"iSQLQueries":6,"a_objSQLQuery":[{"sQuery":"SELECT * FROM table","fDuration":1.0E-4},{"sQuery":"SELECT * FROM table","fDuration":1.0E-4}]}, m_payload = eZmaxApi.models.ezsigndocument_extract_text_v1_response_m_payload.ezsigndocument-extractText-v1-Response-mPayload( s_text = 'Text extract from document', ) ) else: return EzsigndocumentExtractTextV1Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), m_payload = eZmaxApi.models.ezsigndocument_extract_text_v1_response_m_payload.ezsigndocument-extractText-v1-Response-mPayload( s_text = 'Text extract from document', ), ) diff --git a/test/test_ezsigndocument_flatten_v1_response.py b/test/test_ezsigndocument_flatten_v1_response.py index 9cebfd721..4d6c29edb 100644 --- a/test/test_ezsigndocument_flatten_v1_response.py +++ b/test/test_ezsigndocument_flatten_v1_response.py @@ -36,9 +36,26 @@ def make_instance(self, include_optional) -> EzsigndocumentFlattenV1Response: model = EzsigndocumentFlattenV1Response() if include_optional: return EzsigndocumentFlattenV1Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), + obj_debug = {"sMemoryUsage":"11,923MB","sRunTime":"0.6084s","iSQLSelects":3,"iSQLQueries":6,"a_objSQLQuery":[{"sQuery":"SELECT * FROM table","fDuration":1.0E-4},{"sQuery":"SELECT * FROM table","fDuration":1.0E-4}]} ) else: return EzsigndocumentFlattenV1Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), ) """ diff --git a/test/test_ezsigndocument_get_actionable_elements_v1_response.py b/test/test_ezsigndocument_get_actionable_elements_v1_response.py index d4044221d..ab5c02ea3 100644 --- a/test/test_ezsigndocument_get_actionable_elements_v1_response.py +++ b/test/test_ezsigndocument_get_actionable_elements_v1_response.py @@ -36,6 +36,15 @@ def make_instance(self, include_optional) -> EzsigndocumentGetActionableElements model = EzsigndocumentGetActionableElementsV1Response() if include_optional: return EzsigndocumentGetActionableElementsV1Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), + obj_debug = {"sMemoryUsage":"11,923MB","sRunTime":"0.6084s","iSQLSelects":3,"iSQLQueries":6,"a_objSQLQuery":[{"sQuery":"SELECT * FROM table","fDuration":1.0E-4},{"sQuery":"SELECT * FROM table","fDuration":1.0E-4}]}, m_payload = eZmaxApi.models.ezsigndocument_get_actionable_elements_v1_response_m_payload.ezsigndocument-getActionableElements-v1-Response-mPayload( a_obj_ezsignsignature = [ eZmaxApi.models.ezsignsignature_response_compound.ezsignsignature-ResponseCompound() @@ -46,6 +55,14 @@ def make_instance(self, include_optional) -> EzsigndocumentGetActionableElements ) else: return EzsigndocumentGetActionableElementsV1Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), m_payload = eZmaxApi.models.ezsigndocument_get_actionable_elements_v1_response_m_payload.ezsigndocument-getActionableElements-v1-Response-mPayload( a_obj_ezsignsignature = [ eZmaxApi.models.ezsignsignature_response_compound.ezsignsignature-ResponseCompound() diff --git a/test/test_ezsigndocument_get_attachments_v1_response.py b/test/test_ezsigndocument_get_attachments_v1_response.py index 9501de6e5..27a85d340 100644 --- a/test/test_ezsigndocument_get_attachments_v1_response.py +++ b/test/test_ezsigndocument_get_attachments_v1_response.py @@ -36,6 +36,15 @@ def make_instance(self, include_optional) -> EzsigndocumentGetAttachmentsV1Respo model = EzsigndocumentGetAttachmentsV1Response() if include_optional: return EzsigndocumentGetAttachmentsV1Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), + obj_debug = {"sMemoryUsage":"11,923MB","sRunTime":"0.6084s","iSQLSelects":3,"iSQLQueries":6,"a_objSQLQuery":[{"sQuery":"SELECT * FROM table","fDuration":1.0E-4},{"sQuery":"SELECT * FROM table","fDuration":1.0E-4}]}, m_payload = eZmaxApi.models.ezsigndocument_get_attachments_v1_response_m_payload.ezsigndocument-getAttachments-v1-Response-mPayload( a_obj_attachmentdocumenttype = [ eZmaxApi.models.custom_attachmentdocumenttype_response.Custom-Attachmentdocumenttype-Response( @@ -47,6 +56,14 @@ def make_instance(self, include_optional) -> EzsigndocumentGetAttachmentsV1Respo ) else: return EzsigndocumentGetAttachmentsV1Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), m_payload = eZmaxApi.models.ezsigndocument_get_attachments_v1_response_m_payload.ezsigndocument-getAttachments-v1-Response-mPayload( a_obj_attachmentdocumenttype = [ eZmaxApi.models.custom_attachmentdocumenttype_response.Custom-Attachmentdocumenttype-Response( diff --git a/test/test_ezsigndocument_get_completed_elements_v1_response.py b/test/test_ezsigndocument_get_completed_elements_v1_response.py index 3042ab33b..9c5d69b74 100644 --- a/test/test_ezsigndocument_get_completed_elements_v1_response.py +++ b/test/test_ezsigndocument_get_completed_elements_v1_response.py @@ -36,6 +36,15 @@ def make_instance(self, include_optional) -> EzsigndocumentGetCompletedElementsV model = EzsigndocumentGetCompletedElementsV1Response() if include_optional: return EzsigndocumentGetCompletedElementsV1Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), + obj_debug = {"sMemoryUsage":"11,923MB","sRunTime":"0.6084s","iSQLSelects":3,"iSQLQueries":6,"a_objSQLQuery":[{"sQuery":"SELECT * FROM table","fDuration":1.0E-4},{"sQuery":"SELECT * FROM table","fDuration":1.0E-4}]}, m_payload = eZmaxApi.models.ezsigndocument_get_completed_elements_v1_response_m_payload.ezsigndocument-getCompletedElements-v1-Response-mPayload( a_obj_ezsignsignature = [ eZmaxApi.models.ezsignsignature_response_compound.ezsignsignature-ResponseCompound() @@ -46,6 +55,14 @@ def make_instance(self, include_optional) -> EzsigndocumentGetCompletedElementsV ) else: return EzsigndocumentGetCompletedElementsV1Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), m_payload = eZmaxApi.models.ezsigndocument_get_completed_elements_v1_response_m_payload.ezsigndocument-getCompletedElements-v1-Response-mPayload( a_obj_ezsignsignature = [ eZmaxApi.models.ezsignsignature_response_compound.ezsignsignature-ResponseCompound() diff --git a/test/test_ezsigndocument_get_download_url_v1_response.py b/test/test_ezsigndocument_get_download_url_v1_response.py index 86252f12f..a98343f1e 100644 --- a/test/test_ezsigndocument_get_download_url_v1_response.py +++ b/test/test_ezsigndocument_get_download_url_v1_response.py @@ -36,10 +36,27 @@ def make_instance(self, include_optional) -> EzsigndocumentGetDownloadUrlV1Respo model = EzsigndocumentGetDownloadUrlV1Response() if include_optional: return EzsigndocumentGetDownloadUrlV1Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), + obj_debug = {"sMemoryUsage":"11,923MB","sRunTime":"0.6084s","iSQLSelects":3,"iSQLQueries":6,"a_objSQLQuery":[{"sQuery":"SELECT * FROM table","fDuration":1.0E-4},{"sQuery":"SELECT * FROM table","fDuration":1.0E-4}]}, m_payload = {"sDownloadUrl":"http://www.example.com/document.pdf"} ) else: return EzsigndocumentGetDownloadUrlV1Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), m_payload = {"sDownloadUrl":"http://www.example.com/document.pdf"}, ) """ diff --git a/test/test_ezsigndocument_get_ezsignannotations_v1_response.py b/test/test_ezsigndocument_get_ezsignannotations_v1_response.py index c0ec23f53..d9c24a174 100644 --- a/test/test_ezsigndocument_get_ezsignannotations_v1_response.py +++ b/test/test_ezsigndocument_get_ezsignannotations_v1_response.py @@ -36,6 +36,15 @@ def make_instance(self, include_optional) -> EzsigndocumentGetEzsignannotationsV model = EzsigndocumentGetEzsignannotationsV1Response() if include_optional: return EzsigndocumentGetEzsignannotationsV1Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), + obj_debug = {"sMemoryUsage":"11,923MB","sRunTime":"0.6084s","iSQLSelects":3,"iSQLQueries":6,"a_objSQLQuery":[{"sQuery":"SELECT * FROM table","fDuration":1.0E-4},{"sQuery":"SELECT * FROM table","fDuration":1.0E-4}]}, m_payload = eZmaxApi.models.ezsigndocument_get_ezsignannotations_v1_response_m_payload.ezsigndocument-getEzsignannotations-v1-Response-mPayload( a_obj_ezsignannotation = [ eZmaxApi.models.ezsignannotation_response_compound.ezsignannotation-ResponseCompound() @@ -43,6 +52,14 @@ def make_instance(self, include_optional) -> EzsigndocumentGetEzsignannotationsV ) else: return EzsigndocumentGetEzsignannotationsV1Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), m_payload = eZmaxApi.models.ezsigndocument_get_ezsignannotations_v1_response_m_payload.ezsigndocument-getEzsignannotations-v1-Response-mPayload( a_obj_ezsignannotation = [ eZmaxApi.models.ezsignannotation_response_compound.ezsignannotation-ResponseCompound() diff --git a/test/test_ezsigndocument_get_ezsigndiscussions_v1_response.py b/test/test_ezsigndocument_get_ezsigndiscussions_v1_response.py index 92e019b24..ae4976137 100644 --- a/test/test_ezsigndocument_get_ezsigndiscussions_v1_response.py +++ b/test/test_ezsigndocument_get_ezsigndiscussions_v1_response.py @@ -36,6 +36,15 @@ def make_instance(self, include_optional) -> EzsigndocumentGetEzsigndiscussionsV model = EzsigndocumentGetEzsigndiscussionsV1Response() if include_optional: return EzsigndocumentGetEzsigndiscussionsV1Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), + obj_debug = {"sMemoryUsage":"11,923MB","sRunTime":"0.6084s","iSQLSelects":3,"iSQLQueries":6,"a_objSQLQuery":[{"sQuery":"SELECT * FROM table","fDuration":1.0E-4},{"sQuery":"SELECT * FROM table","fDuration":1.0E-4}]}, m_payload = eZmaxApi.models.ezsigndocument_get_ezsigndiscussions_v1_response_m_payload.ezsigndocument-getEzsigndiscussions-v1-Response-mPayload( a_obj_ezsigndiscussion = [ eZmaxApi.models.ezsigndiscussion_response.ezsigndiscussion-Response( @@ -50,6 +59,14 @@ def make_instance(self, include_optional) -> EzsigndocumentGetEzsigndiscussionsV ) else: return EzsigndocumentGetEzsigndiscussionsV1Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), m_payload = eZmaxApi.models.ezsigndocument_get_ezsigndiscussions_v1_response_m_payload.ezsigndocument-getEzsigndiscussions-v1-Response-mPayload( a_obj_ezsigndiscussion = [ eZmaxApi.models.ezsigndiscussion_response.ezsigndiscussion-Response( diff --git a/test/test_ezsigndocument_get_ezsignformfieldgroups_v1_response.py b/test/test_ezsigndocument_get_ezsignformfieldgroups_v1_response.py index 8f2f42123..3023eaea0 100644 --- a/test/test_ezsigndocument_get_ezsignformfieldgroups_v1_response.py +++ b/test/test_ezsigndocument_get_ezsignformfieldgroups_v1_response.py @@ -36,6 +36,15 @@ def make_instance(self, include_optional) -> EzsigndocumentGetEzsignformfieldgro model = EzsigndocumentGetEzsignformfieldgroupsV1Response() if include_optional: return EzsigndocumentGetEzsignformfieldgroupsV1Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), + obj_debug = {"sMemoryUsage":"11,923MB","sRunTime":"0.6084s","iSQLSelects":3,"iSQLQueries":6,"a_objSQLQuery":[{"sQuery":"SELECT * FROM table","fDuration":1.0E-4},{"sQuery":"SELECT * FROM table","fDuration":1.0E-4}]}, m_payload = eZmaxApi.models.ezsigndocument_get_ezsignformfieldgroups_v1_response_m_payload.ezsigndocument-getEzsignformfieldgroups-v1-Response-mPayload( a_obj_ezsignformfieldgroup = [ eZmaxApi.models.ezsignformfieldgroup_response_compound.ezsignformfieldgroup-ResponseCompound() @@ -43,6 +52,14 @@ def make_instance(self, include_optional) -> EzsigndocumentGetEzsignformfieldgro ) else: return EzsigndocumentGetEzsignformfieldgroupsV1Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), m_payload = eZmaxApi.models.ezsigndocument_get_ezsignformfieldgroups_v1_response_m_payload.ezsigndocument-getEzsignformfieldgroups-v1-Response-mPayload( a_obj_ezsignformfieldgroup = [ eZmaxApi.models.ezsignformfieldgroup_response_compound.ezsignformfieldgroup-ResponseCompound() diff --git a/test/test_ezsigndocument_get_ezsignpages_v1_response.py b/test/test_ezsigndocument_get_ezsignpages_v1_response.py index 62a3117df..9ddda470a 100644 --- a/test/test_ezsigndocument_get_ezsignpages_v1_response.py +++ b/test/test_ezsigndocument_get_ezsignpages_v1_response.py @@ -36,6 +36,15 @@ def make_instance(self, include_optional) -> EzsigndocumentGetEzsignpagesV1Respo model = EzsigndocumentGetEzsignpagesV1Response() if include_optional: return EzsigndocumentGetEzsignpagesV1Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), + obj_debug = {"sMemoryUsage":"11,923MB","sRunTime":"0.6084s","iSQLSelects":3,"iSQLQueries":6,"a_objSQLQuery":[{"sQuery":"SELECT * FROM table","fDuration":1.0E-4},{"sQuery":"SELECT * FROM table","fDuration":1.0E-4}]}, m_payload = eZmaxApi.models.ezsigndocument_get_ezsignpages_v1_response_m_payload.ezsigndocument-getEzsignpages-v1-Response-mPayload( a_obj_ezsignpage = [ eZmaxApi.models.ezsignpage_response_compound.ezsignpage-ResponseCompound() @@ -43,6 +52,14 @@ def make_instance(self, include_optional) -> EzsigndocumentGetEzsignpagesV1Respo ) else: return EzsigndocumentGetEzsignpagesV1Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), m_payload = eZmaxApi.models.ezsigndocument_get_ezsignpages_v1_response_m_payload.ezsigndocument-getEzsignpages-v1-Response-mPayload( a_obj_ezsignpage = [ eZmaxApi.models.ezsignpage_response_compound.ezsignpage-ResponseCompound() diff --git a/test/test_ezsigndocument_get_ezsignsignatures_automatic_v1_response.py b/test/test_ezsigndocument_get_ezsignsignatures_automatic_v1_response.py index f489089e6..941f62860 100644 --- a/test/test_ezsigndocument_get_ezsignsignatures_automatic_v1_response.py +++ b/test/test_ezsigndocument_get_ezsignsignatures_automatic_v1_response.py @@ -36,6 +36,15 @@ def make_instance(self, include_optional) -> EzsigndocumentGetEzsignsignaturesAu model = EzsigndocumentGetEzsignsignaturesAutomaticV1Response() if include_optional: return EzsigndocumentGetEzsignsignaturesAutomaticV1Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), + obj_debug = {"sMemoryUsage":"11,923MB","sRunTime":"0.6084s","iSQLSelects":3,"iSQLQueries":6,"a_objSQLQuery":[{"sQuery":"SELECT * FROM table","fDuration":1.0E-4},{"sQuery":"SELECT * FROM table","fDuration":1.0E-4}]}, m_payload = eZmaxApi.models.ezsigndocument_get_ezsignsignatures_automatic_v1_response_m_payload.ezsigndocument-getEzsignsignaturesAutomatic-v1-Response-mPayload( a_e_ezsignsignature_type = [ 'Name' @@ -59,6 +68,14 @@ def make_instance(self, include_optional) -> EzsigndocumentGetEzsignsignaturesAu ) else: return EzsigndocumentGetEzsignsignaturesAutomaticV1Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), m_payload = eZmaxApi.models.ezsigndocument_get_ezsignsignatures_automatic_v1_response_m_payload.ezsigndocument-getEzsignsignaturesAutomatic-v1-Response-mPayload( a_e_ezsignsignature_type = [ 'Name' diff --git a/test/test_ezsigndocument_get_ezsignsignatures_v1_response.py b/test/test_ezsigndocument_get_ezsignsignatures_v1_response.py index 4b74e4930..a5a756bc3 100644 --- a/test/test_ezsigndocument_get_ezsignsignatures_v1_response.py +++ b/test/test_ezsigndocument_get_ezsignsignatures_v1_response.py @@ -36,6 +36,15 @@ def make_instance(self, include_optional) -> EzsigndocumentGetEzsignsignaturesV1 model = EzsigndocumentGetEzsignsignaturesV1Response() if include_optional: return EzsigndocumentGetEzsignsignaturesV1Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), + obj_debug = {"sMemoryUsage":"11,923MB","sRunTime":"0.6084s","iSQLSelects":3,"iSQLQueries":6,"a_objSQLQuery":[{"sQuery":"SELECT * FROM table","fDuration":1.0E-4},{"sQuery":"SELECT * FROM table","fDuration":1.0E-4}]}, m_payload = eZmaxApi.models.ezsigndocument_get_ezsignsignatures_v1_response_m_payload.ezsigndocument-getEzsignsignatures-v1-Response-mPayload( a_obj_ezsignsignature = [ eZmaxApi.models.ezsignsignature_response_compound.ezsignsignature-ResponseCompound() @@ -43,6 +52,14 @@ def make_instance(self, include_optional) -> EzsigndocumentGetEzsignsignaturesV1 ) else: return EzsigndocumentGetEzsignsignaturesV1Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), m_payload = eZmaxApi.models.ezsigndocument_get_ezsignsignatures_v1_response_m_payload.ezsigndocument-getEzsignsignatures-v1-Response-mPayload( a_obj_ezsignsignature = [ eZmaxApi.models.ezsignsignature_response_compound.ezsignsignature-ResponseCompound() diff --git a/test/test_ezsigndocument_get_form_data_v1_response.py b/test/test_ezsigndocument_get_form_data_v1_response.py index 8458ae060..1bc6504e3 100644 --- a/test/test_ezsigndocument_get_form_data_v1_response.py +++ b/test/test_ezsigndocument_get_form_data_v1_response.py @@ -36,6 +36,15 @@ def make_instance(self, include_optional) -> EzsigndocumentGetFormDataV1Response model = EzsigndocumentGetFormDataV1Response() if include_optional: return EzsigndocumentGetFormDataV1Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), + obj_debug = {"sMemoryUsage":"11,923MB","sRunTime":"0.6084s","iSQLSelects":3,"iSQLQueries":6,"a_objSQLQuery":[{"sQuery":"SELECT * FROM table","fDuration":1.0E-4},{"sQuery":"SELECT * FROM table","fDuration":1.0E-4}]}, m_payload = eZmaxApi.models.ezsigndocument_get_form_data_v1_response_m_payload.ezsigndocument-getFormData-v1-Response-mPayload( obj_form_data_document = eZmaxApi.models.custom_form_data_document_response.Custom-FormDataDocument-Response( pki_ezsigndocument_id = 97, @@ -61,6 +70,14 @@ def make_instance(self, include_optional) -> EzsigndocumentGetFormDataV1Response ) else: return EzsigndocumentGetFormDataV1Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), m_payload = eZmaxApi.models.ezsigndocument_get_form_data_v1_response_m_payload.ezsigndocument-getFormData-v1-Response-mPayload( obj_form_data_document = eZmaxApi.models.custom_form_data_document_response.Custom-FormDataDocument-Response( pki_ezsigndocument_id = 97, diff --git a/test/test_ezsigndocument_get_object_v1_response.py b/test/test_ezsigndocument_get_object_v1_response.py index 632671257..8b3405f3b 100644 --- a/test/test_ezsigndocument_get_object_v1_response.py +++ b/test/test_ezsigndocument_get_object_v1_response.py @@ -36,11 +36,28 @@ def make_instance(self, include_optional) -> EzsigndocumentGetObjectV1Response: model = EzsigndocumentGetObjectV1Response() if include_optional: return EzsigndocumentGetObjectV1Response( - m_payload = eZmaxApi.models.ezsigndocument_response_compound.ezsigndocument-ResponseCompound() + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), + obj_debug = {"sMemoryUsage":"11,923MB","sRunTime":"0.6084s","iSQLSelects":3,"iSQLQueries":6,"a_objSQLQuery":[{"sQuery":"SELECT * FROM table","fDuration":1.0E-4},{"sQuery":"SELECT * FROM table","fDuration":1.0E-4}]}, + m_payload = eZmaxApi.models.ezsigndocument_get_object_v1_response_m_payload.ezsigndocument-getObject-v1-Response-mPayload() ) else: return EzsigndocumentGetObjectV1Response( - m_payload = eZmaxApi.models.ezsigndocument_response_compound.ezsigndocument-ResponseCompound(), + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), + m_payload = eZmaxApi.models.ezsigndocument_get_object_v1_response_m_payload.ezsigndocument-getObject-v1-Response-mPayload(), ) """ diff --git a/test/test_ezsigndocument_get_object_v1_response_m_payload.py b/test/test_ezsigndocument_get_object_v1_response_m_payload.py index 9dd30fd24..11c44431d 100644 --- a/test/test_ezsigndocument_get_object_v1_response_m_payload.py +++ b/test/test_ezsigndocument_get_object_v1_response_m_payload.py @@ -36,9 +36,106 @@ def make_instance(self, include_optional) -> EzsigndocumentGetObjectV1ResponseMP model = EzsigndocumentGetObjectV1ResponseMPayload() if include_optional: return EzsigndocumentGetObjectV1ResponseMPayload( + pki_ezsigndocument_id = 97, + fki_ezsignfolder_id = 33, + fki_ezsignfoldersignerassociation_id_declinedtosign = 20, + dt_ezsigndocument_duedate = '2020-12-31 23:59:59', + dt_ezsignform_completed = '2020-12-31 23:59:59', + fki_language_id = 2, + s_ezsigndocument_name = 'Contract #123', + e_ezsigndocument_step = 'Completed', + dt_ezsigndocument_firstsend = '2020-12-31 23:59:59', + dt_ezsigndocument_lastsend = '2020-12-31 23:59:59', + i_ezsigndocument_order = 1, + i_ezsigndocument_pagetotal = 4, + i_ezsigndocument_signaturesigned = 3, + i_ezsigndocument_signaturetotal = 4, + i_ezsigndocument_formfieldtotal = 4, + s_ezsigndocument_md5initial = '012345678901234567890123456789AB', + t_ezsigndocument_declinedtosignreason = 'The conditions in the contract are different than those discuted', + s_ezsigndocument_md5signed = '012345678901234567890123456789AB', + b_ezsigndocument_ezsignform = True, + b_ezsigndocument_hassignedsignatures = True, + obj_audit = eZmaxApi.models.common_audit.Common-Audit( + obj_auditdetail_created = eZmaxApi.models.common_auditdetail.Common-Auditdetail( + fki_user_id = 70, + fki_apikey_id = 99, + s_user_loginname = 'JohnDoe', + s_user_lastname = 'Doe', + s_user_firstname = 'John', + s_apikey_description_x = 'Project X', + dt_auditdetail_date = '2020-12-31 23:59:59', ), + obj_auditdetail_modified = eZmaxApi.models.common_auditdetail.Common-Auditdetail( + fki_user_id = 70, + fki_apikey_id = 99, + s_user_loginname = 'JohnDoe', + s_user_lastname = 'Doe', + s_user_firstname = 'John', + s_apikey_description_x = 'Project X', + dt_auditdetail_date = '2020-12-31 23:59:59', ), ), + s_ezsigndocument_externalid = '{"ID": 1234, "TAGS": ["tag1", "tag2", "tag3"]}', + i_ezsigndocument_ezsignsignatureattachmenttotal = 3, + i_ezsigndocument_ezsigndiscussiontotal = 14, + e_ezsigndocument_steptype = 'Sign', + i_ezsigndocument_stepformtotal = 2, + i_ezsigndocument_stepformcurrent = 1, + i_ezsigndocument_stepsignaturetotal = 2, + i_ezsigndocument_stepsignature_current = 0, + a_obj_ezsignfoldersignerassociationstatus = [ + eZmaxApi.models.custom_ezsignfoldersignerassociationstatus_response.Custom-Ezsignfoldersignerassociationstatus-Response( + fki_ezsignfoldersignerassociation_id = 20, + s_ezsignfoldersignerassociationstatus_lastname = 'Doe', + s_ezsignfoldersignerassociationstatus_firstname = 'John', + s_ezsignfoldersignerassociationstatus_description_x = 'John Doe', + a_obj_ezsignsignaturestatus = [ + eZmaxApi.models.custom_ezsignsignaturestatus_response.Custom-Ezsignsignaturestatus-Response( + e_ezsignsignaturestatus_steptype = 'Form', + i_ezsignsignaturestatus_step = 1, + i_ezsignsignaturestatus_total = 2, + i_ezsignsignaturestatus_signed = 1, + i_ezsignsignaturestatus_conditional = 1, ) + ], ) + ], + a_obj_ezsigndocumentdependency = [ + eZmaxApi.models.ezsigndocumentdependency_response.ezsigndocumentdependency-Response( + pki_ezsigndocumentdependency_id = 87, + fki_ezsigndocument_i_ddependency = 97, ) + ] ) else: return EzsigndocumentGetObjectV1ResponseMPayload( + pki_ezsigndocument_id = 97, + fki_ezsignfolder_id = 33, + dt_ezsigndocument_duedate = '2020-12-31 23:59:59', + s_ezsigndocument_name = 'Contract #123', + e_ezsigndocument_step = 'Completed', + i_ezsigndocument_order = 1, + i_ezsigndocument_pagetotal = 4, + i_ezsigndocument_signaturesigned = 3, + i_ezsigndocument_signaturetotal = 4, + i_ezsigndocument_formfieldtotal = 4, + i_ezsigndocument_ezsignsignatureattachmenttotal = 3, + i_ezsigndocument_ezsigndiscussiontotal = 14, + e_ezsigndocument_steptype = 'Sign', + i_ezsigndocument_stepformtotal = 2, + i_ezsigndocument_stepformcurrent = 1, + i_ezsigndocument_stepsignaturetotal = 2, + i_ezsigndocument_stepsignature_current = 0, + a_obj_ezsignfoldersignerassociationstatus = [ + eZmaxApi.models.custom_ezsignfoldersignerassociationstatus_response.Custom-Ezsignfoldersignerassociationstatus-Response( + fki_ezsignfoldersignerassociation_id = 20, + s_ezsignfoldersignerassociationstatus_lastname = 'Doe', + s_ezsignfoldersignerassociationstatus_firstname = 'John', + s_ezsignfoldersignerassociationstatus_description_x = 'John Doe', + a_obj_ezsignsignaturestatus = [ + eZmaxApi.models.custom_ezsignsignaturestatus_response.Custom-Ezsignsignaturestatus-Response( + e_ezsignsignaturestatus_steptype = 'Form', + i_ezsignsignaturestatus_step = 1, + i_ezsignsignaturestatus_total = 2, + i_ezsignsignaturestatus_signed = 1, + i_ezsignsignaturestatus_conditional = 1, ) + ], ) + ], ) """ diff --git a/test/test_ezsigndocument_get_object_v2_response.py b/test/test_ezsigndocument_get_object_v2_response.py index 602dc5d48..099ec49c8 100644 --- a/test/test_ezsigndocument_get_object_v2_response.py +++ b/test/test_ezsigndocument_get_object_v2_response.py @@ -36,11 +36,28 @@ def make_instance(self, include_optional) -> EzsigndocumentGetObjectV2Response: model = EzsigndocumentGetObjectV2Response() if include_optional: return EzsigndocumentGetObjectV2Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), + obj_debug = {"sMemoryUsage":"11,923MB","sRunTime":"0.6084s","iSQLSelects":3,"iSQLQueries":6,"a_objSQLQuery":[{"sQuery":"SELECT * FROM table","fDuration":1.0E-4},{"sQuery":"SELECT * FROM table","fDuration":1.0E-4}]}, m_payload = eZmaxApi.models.ezsigndocument_get_object_v2_response_m_payload.ezsigndocument-getObject-v2-Response-mPayload( obj_ezsigndocument = eZmaxApi.models.ezsigndocument_response_compound.ezsigndocument-ResponseCompound(), ) ) else: return EzsigndocumentGetObjectV2Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), m_payload = eZmaxApi.models.ezsigndocument_get_object_v2_response_m_payload.ezsigndocument-getObject-v2-Response-mPayload( obj_ezsigndocument = eZmaxApi.models.ezsigndocument_response_compound.ezsigndocument-ResponseCompound(), ), ) diff --git a/test/test_ezsigndocument_get_temporary_proof_v1_response.py b/test/test_ezsigndocument_get_temporary_proof_v1_response.py index 31c24ec5e..2db4e97c9 100644 --- a/test/test_ezsigndocument_get_temporary_proof_v1_response.py +++ b/test/test_ezsigndocument_get_temporary_proof_v1_response.py @@ -36,6 +36,15 @@ def make_instance(self, include_optional) -> EzsigndocumentGetTemporaryProofV1Re model = EzsigndocumentGetTemporaryProofV1Response() if include_optional: return EzsigndocumentGetTemporaryProofV1Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), + obj_debug = {"sMemoryUsage":"11,923MB","sRunTime":"0.6084s","iSQLSelects":3,"iSQLQueries":6,"a_objSQLQuery":[{"sQuery":"SELECT * FROM table","fDuration":1.0E-4},{"sQuery":"SELECT * FROM table","fDuration":1.0E-4}]}, m_payload = eZmaxApi.models.ezsigndocument_get_temporary_proof_v1_response_m_payload.ezsigndocument-getTemporaryProof-v1-Response-mPayload( a_obj_ezsigndocumentlog = [ eZmaxApi.models.ezsigndocumentlog_response_compound.ezsigndocumentlog-ResponseCompound() @@ -43,6 +52,14 @@ def make_instance(self, include_optional) -> EzsigndocumentGetTemporaryProofV1Re ) else: return EzsigndocumentGetTemporaryProofV1Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), m_payload = eZmaxApi.models.ezsigndocument_get_temporary_proof_v1_response_m_payload.ezsigndocument-getTemporaryProof-v1-Response-mPayload( a_obj_ezsigndocumentlog = [ eZmaxApi.models.ezsigndocumentlog_response_compound.ezsigndocumentlog-ResponseCompound() diff --git a/test/test_ezsigndocument_get_words_positions_v1_response.py b/test/test_ezsigndocument_get_words_positions_v1_response.py index 7969a513c..71f73eb3b 100644 --- a/test/test_ezsigndocument_get_words_positions_v1_response.py +++ b/test/test_ezsigndocument_get_words_positions_v1_response.py @@ -36,6 +36,15 @@ def make_instance(self, include_optional) -> EzsigndocumentGetWordsPositionsV1Re model = EzsigndocumentGetWordsPositionsV1Response() if include_optional: return EzsigndocumentGetWordsPositionsV1Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), + obj_debug = {"sMemoryUsage":"11,923MB","sRunTime":"0.6084s","iSQLSelects":3,"iSQLQueries":6,"a_objSQLQuery":[{"sQuery":"SELECT * FROM table","fDuration":1.0E-4},{"sQuery":"SELECT * FROM table","fDuration":1.0E-4}]}, m_payload = [ eZmaxApi.models.custom_word_position_word_response.Custom-WordPositionWord-Response( s_word = '', @@ -49,6 +58,14 @@ def make_instance(self, include_optional) -> EzsigndocumentGetWordsPositionsV1Re ) else: return EzsigndocumentGetWordsPositionsV1Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), m_payload = [ eZmaxApi.models.custom_word_position_word_response.Custom-WordPositionWord-Response( s_word = '', diff --git a/test/test_ezsigndocument_patch_object_v1_response.py b/test/test_ezsigndocument_patch_object_v1_response.py index c2f7523fe..a1b6bb7bb 100644 --- a/test/test_ezsigndocument_patch_object_v1_response.py +++ b/test/test_ezsigndocument_patch_object_v1_response.py @@ -36,9 +36,26 @@ def make_instance(self, include_optional) -> EzsigndocumentPatchObjectV1Response model = EzsigndocumentPatchObjectV1Response() if include_optional: return EzsigndocumentPatchObjectV1Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), + obj_debug = {"sMemoryUsage":"11,923MB","sRunTime":"0.6084s","iSQLSelects":3,"iSQLQueries":6,"a_objSQLQuery":[{"sQuery":"SELECT * FROM table","fDuration":1.0E-4},{"sQuery":"SELECT * FROM table","fDuration":1.0E-4}]} ) else: return EzsigndocumentPatchObjectV1Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), ) """ diff --git a/test/test_ezsigndocument_request.py b/test/test_ezsigndocument_request.py index 9ac5def6a..2a450fd05 100644 --- a/test/test_ezsigndocument_request.py +++ b/test/test_ezsigndocument_request.py @@ -43,7 +43,7 @@ def make_instance(self, include_optional) -> EzsigndocumentRequest: fki_language_id = 2, e_ezsigndocument_source = 'Base64', e_ezsigndocument_format = 'Pdf', - s_ezsigndocument_base64 = '[B@46c670a6', + s_ezsigndocument_base64 = '[B@a77614d', s_ezsigndocument_url = 'http://www.example.com/document.pdf', b_ezsigndocument_forcerepair = True, s_ezsigndocument_password = 'SecretPassword123', diff --git a/test/test_ezsigndocument_response_compound.py b/test/test_ezsigndocument_response_compound.py index f9d328603..444618657 100644 --- a/test/test_ezsigndocument_response_compound.py +++ b/test/test_ezsigndocument_response_compound.py @@ -36,6 +36,46 @@ def make_instance(self, include_optional) -> EzsigndocumentResponseCompound: model = EzsigndocumentResponseCompound() if include_optional: return EzsigndocumentResponseCompound( + pki_ezsigndocument_id = 97, + fki_ezsignfolder_id = 33, + fki_ezsignfoldersignerassociation_id_declinedtosign = 20, + dt_ezsigndocument_duedate = '2020-12-31 23:59:59', + dt_ezsignform_completed = '2020-12-31 23:59:59', + fki_language_id = 2, + s_ezsigndocument_name = 'Contract #123', + e_ezsigndocument_step = 'Completed', + dt_ezsigndocument_firstsend = '2020-12-31 23:59:59', + dt_ezsigndocument_lastsend = '2020-12-31 23:59:59', + i_ezsigndocument_order = 1, + i_ezsigndocument_pagetotal = 4, + i_ezsigndocument_signaturesigned = 3, + i_ezsigndocument_signaturetotal = 4, + i_ezsigndocument_formfieldtotal = 4, + s_ezsigndocument_md5initial = '012345678901234567890123456789AB', + t_ezsigndocument_declinedtosignreason = 'The conditions in the contract are different than those discuted', + s_ezsigndocument_md5signed = '012345678901234567890123456789AB', + b_ezsigndocument_ezsignform = True, + b_ezsigndocument_hassignedsignatures = True, + obj_audit = eZmaxApi.models.common_audit.Common-Audit( + obj_auditdetail_created = eZmaxApi.models.common_auditdetail.Common-Auditdetail( + fki_user_id = 70, + fki_apikey_id = 99, + s_user_loginname = 'JohnDoe', + s_user_lastname = 'Doe', + s_user_firstname = 'John', + s_apikey_description_x = 'Project X', + dt_auditdetail_date = '2020-12-31 23:59:59', ), + obj_auditdetail_modified = eZmaxApi.models.common_auditdetail.Common-Auditdetail( + fki_user_id = 70, + fki_apikey_id = 99, + s_user_loginname = 'JohnDoe', + s_user_lastname = 'Doe', + s_user_firstname = 'John', + s_apikey_description_x = 'Project X', + dt_auditdetail_date = '2020-12-31 23:59:59', ), ), + s_ezsigndocument_externalid = '{"ID": 1234, "TAGS": ["tag1", "tag2", "tag3"]}', + i_ezsigndocument_ezsignsignatureattachmenttotal = 3, + i_ezsigndocument_ezsigndiscussiontotal = 14, e_ezsigndocument_steptype = 'Sign', i_ezsigndocument_stepformtotal = 2, i_ezsigndocument_stepformcurrent = 1, @@ -64,6 +104,18 @@ def make_instance(self, include_optional) -> EzsigndocumentResponseCompound: ) else: return EzsigndocumentResponseCompound( + pki_ezsigndocument_id = 97, + fki_ezsignfolder_id = 33, + dt_ezsigndocument_duedate = '2020-12-31 23:59:59', + s_ezsigndocument_name = 'Contract #123', + e_ezsigndocument_step = 'Completed', + i_ezsigndocument_order = 1, + i_ezsigndocument_pagetotal = 4, + i_ezsigndocument_signaturesigned = 3, + i_ezsigndocument_signaturetotal = 4, + i_ezsigndocument_formfieldtotal = 4, + i_ezsigndocument_ezsignsignatureattachmenttotal = 3, + i_ezsigndocument_ezsigndiscussiontotal = 14, e_ezsigndocument_steptype = 'Sign', i_ezsigndocument_stepformtotal = 2, i_ezsigndocument_stepformcurrent = 1, diff --git a/test/test_ezsigndocument_submit_ezsignform_v1_response.py b/test/test_ezsigndocument_submit_ezsignform_v1_response.py index 95d222029..13e649250 100644 --- a/test/test_ezsigndocument_submit_ezsignform_v1_response.py +++ b/test/test_ezsigndocument_submit_ezsignform_v1_response.py @@ -36,9 +36,26 @@ def make_instance(self, include_optional) -> EzsigndocumentSubmitEzsignformV1Res model = EzsigndocumentSubmitEzsignformV1Response() if include_optional: return EzsigndocumentSubmitEzsignformV1Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), + obj_debug = {"sMemoryUsage":"11,923MB","sRunTime":"0.6084s","iSQLSelects":3,"iSQLQueries":6,"a_objSQLQuery":[{"sQuery":"SELECT * FROM table","fDuration":1.0E-4},{"sQuery":"SELECT * FROM table","fDuration":1.0E-4}]} ) else: return EzsigndocumentSubmitEzsignformV1Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), ) """ diff --git a/test/test_ezsigndocument_unsend_v1_response.py b/test/test_ezsigndocument_unsend_v1_response.py index dacfe624b..28c868f64 100644 --- a/test/test_ezsigndocument_unsend_v1_response.py +++ b/test/test_ezsigndocument_unsend_v1_response.py @@ -36,9 +36,26 @@ def make_instance(self, include_optional) -> EzsigndocumentUnsendV1Response: model = EzsigndocumentUnsendV1Response() if include_optional: return EzsigndocumentUnsendV1Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), + obj_debug = {"sMemoryUsage":"11,923MB","sRunTime":"0.6084s","iSQLSelects":3,"iSQLQueries":6,"a_objSQLQuery":[{"sQuery":"SELECT * FROM table","fDuration":1.0E-4},{"sQuery":"SELECT * FROM table","fDuration":1.0E-4}]} ) else: return EzsigndocumentUnsendV1Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), ) """ diff --git a/test/test_ezsignfolder_archive_v1_response.py b/test/test_ezsignfolder_archive_v1_response.py index 822b6c6b2..8e0356fa8 100644 --- a/test/test_ezsignfolder_archive_v1_response.py +++ b/test/test_ezsignfolder_archive_v1_response.py @@ -36,9 +36,26 @@ def make_instance(self, include_optional) -> EzsignfolderArchiveV1Response: model = EzsignfolderArchiveV1Response() if include_optional: return EzsignfolderArchiveV1Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), + obj_debug = {"sMemoryUsage":"11,923MB","sRunTime":"0.6084s","iSQLSelects":3,"iSQLQueries":6,"a_objSQLQuery":[{"sQuery":"SELECT * FROM table","fDuration":1.0E-4},{"sQuery":"SELECT * FROM table","fDuration":1.0E-4}]} ) else: return EzsignfolderArchiveV1Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), ) """ diff --git a/test/test_ezsignfolder_create_object_v1_request.py b/test/test_ezsignfolder_create_object_v1_request.py index 38693a931..100690185 100644 --- a/test/test_ezsignfolder_create_object_v1_request.py +++ b/test/test_ezsignfolder_create_object_v1_request.py @@ -45,15 +45,7 @@ def make_instance(self, include_optional) -> EzsignfolderCreateObjectV1Request: t_ezsignfolder_note = 'This is a note', e_ezsignfolder_sendreminderfrequency = 'None', s_ezsignfolder_externalid = '{"ID": 1234, "TAGS": ["tag1", "tag2", "tag3"]}', ), - obj_ezsignfolder_compound = eZmaxApi.models.ezsignfolder_request.ezsignfolder-Request( - pki_ezsignfolder_id = 33, - fki_ezsignfoldertype_id = 5, - fki_timezone_id = 247, - fki_ezsigntsarequirement_id = 1, - s_ezsignfolder_description = 'Test eZsign Folder', - t_ezsignfolder_note = 'This is a note', - e_ezsignfolder_sendreminderfrequency = 'None', - s_ezsignfolder_externalid = '{"ID": 1234, "TAGS": ["tag1", "tag2", "tag3"]}', ) + obj_ezsignfolder_compound = eZmaxApi.models.ezsignfolder_request_compound.ezsignfolder-RequestCompound() ) else: return EzsignfolderCreateObjectV1Request( diff --git a/test/test_ezsignfolder_create_object_v1_response.py b/test/test_ezsignfolder_create_object_v1_response.py index 99fe8fa62..fa1df7563 100644 --- a/test/test_ezsignfolder_create_object_v1_response.py +++ b/test/test_ezsignfolder_create_object_v1_response.py @@ -36,6 +36,15 @@ def make_instance(self, include_optional) -> EzsignfolderCreateObjectV1Response: model = EzsignfolderCreateObjectV1Response() if include_optional: return EzsignfolderCreateObjectV1Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), + obj_debug = {"sMemoryUsage":"11,923MB","sRunTime":"0.6084s","iSQLSelects":3,"iSQLQueries":6,"a_objSQLQuery":[{"sQuery":"SELECT * FROM table","fDuration":1.0E-4},{"sQuery":"SELECT * FROM table","fDuration":1.0E-4}]}, m_payload = eZmaxApi.models.ezsignfolder_create_object_v1_response_m_payload.ezsignfolder-createObject-v1-Response-mPayload( a_pki_ezsignfolder_id = [ 33 @@ -43,6 +52,14 @@ def make_instance(self, include_optional) -> EzsignfolderCreateObjectV1Response: ) else: return EzsignfolderCreateObjectV1Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), m_payload = eZmaxApi.models.ezsignfolder_create_object_v1_response_m_payload.ezsignfolder-createObject-v1-Response-mPayload( a_pki_ezsignfolder_id = [ 33 diff --git a/test/test_ezsignfolder_create_object_v2_response.py b/test/test_ezsignfolder_create_object_v2_response.py index c516c8008..3bf9dce65 100644 --- a/test/test_ezsignfolder_create_object_v2_response.py +++ b/test/test_ezsignfolder_create_object_v2_response.py @@ -36,6 +36,15 @@ def make_instance(self, include_optional) -> EzsignfolderCreateObjectV2Response: model = EzsignfolderCreateObjectV2Response() if include_optional: return EzsignfolderCreateObjectV2Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), + obj_debug = {"sMemoryUsage":"11,923MB","sRunTime":"0.6084s","iSQLSelects":3,"iSQLQueries":6,"a_objSQLQuery":[{"sQuery":"SELECT * FROM table","fDuration":1.0E-4},{"sQuery":"SELECT * FROM table","fDuration":1.0E-4}]}, m_payload = eZmaxApi.models.ezsignfolder_create_object_v2_response_m_payload.ezsignfolder-createObject-v2-Response-mPayload( a_pki_ezsignfolder_id = [ 33 @@ -43,6 +52,14 @@ def make_instance(self, include_optional) -> EzsignfolderCreateObjectV2Response: ) else: return EzsignfolderCreateObjectV2Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), m_payload = eZmaxApi.models.ezsignfolder_create_object_v2_response_m_payload.ezsignfolder-createObject-v2-Response-mPayload( a_pki_ezsignfolder_id = [ 33 diff --git a/test/test_ezsignfolder_create_object_v3_response.py b/test/test_ezsignfolder_create_object_v3_response.py index 218ab55ee..be9f8dc33 100644 --- a/test/test_ezsignfolder_create_object_v3_response.py +++ b/test/test_ezsignfolder_create_object_v3_response.py @@ -36,6 +36,15 @@ def make_instance(self, include_optional) -> EzsignfolderCreateObjectV3Response: model = EzsignfolderCreateObjectV3Response() if include_optional: return EzsignfolderCreateObjectV3Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), + obj_debug = {"sMemoryUsage":"11,923MB","sRunTime":"0.6084s","iSQLSelects":3,"iSQLQueries":6,"a_objSQLQuery":[{"sQuery":"SELECT * FROM table","fDuration":1.0E-4},{"sQuery":"SELECT * FROM table","fDuration":1.0E-4}]}, m_payload = eZmaxApi.models.ezsignfolder_create_object_v3_response_m_payload.ezsignfolder-createObject-v3-Response-mPayload( a_pki_ezsignfolder_id = [ 33 @@ -43,6 +52,14 @@ def make_instance(self, include_optional) -> EzsignfolderCreateObjectV3Response: ) else: return EzsignfolderCreateObjectV3Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), m_payload = eZmaxApi.models.ezsignfolder_create_object_v3_response_m_payload.ezsignfolder-createObject-v3-Response-mPayload( a_pki_ezsignfolder_id = [ 33 diff --git a/test/test_ezsignfolder_delete_object_v1_response.py b/test/test_ezsignfolder_delete_object_v1_response.py index 288d6be0b..97dc842e1 100644 --- a/test/test_ezsignfolder_delete_object_v1_response.py +++ b/test/test_ezsignfolder_delete_object_v1_response.py @@ -36,9 +36,26 @@ def make_instance(self, include_optional) -> EzsignfolderDeleteObjectV1Response: model = EzsignfolderDeleteObjectV1Response() if include_optional: return EzsignfolderDeleteObjectV1Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), + obj_debug = {"sMemoryUsage":"11,923MB","sRunTime":"0.6084s","iSQLSelects":3,"iSQLQueries":6,"a_objSQLQuery":[{"sQuery":"SELECT * FROM table","fDuration":1.0E-4},{"sQuery":"SELECT * FROM table","fDuration":1.0E-4}]} ) else: return EzsignfolderDeleteObjectV1Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), ) """ diff --git a/test/test_ezsignfolder_dispose_ezsignfolders_v1_response.py b/test/test_ezsignfolder_dispose_ezsignfolders_v1_response.py index 70196c0a2..0841d1ee9 100644 --- a/test/test_ezsignfolder_dispose_ezsignfolders_v1_response.py +++ b/test/test_ezsignfolder_dispose_ezsignfolders_v1_response.py @@ -36,9 +36,26 @@ def make_instance(self, include_optional) -> EzsignfolderDisposeEzsignfoldersV1R model = EzsignfolderDisposeEzsignfoldersV1Response() if include_optional: return EzsignfolderDisposeEzsignfoldersV1Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), + obj_debug = {"sMemoryUsage":"11,923MB","sRunTime":"0.6084s","iSQLSelects":3,"iSQLQueries":6,"a_objSQLQuery":[{"sQuery":"SELECT * FROM table","fDuration":1.0E-4},{"sQuery":"SELECT * FROM table","fDuration":1.0E-4}]} ) else: return EzsignfolderDisposeEzsignfoldersV1Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), ) """ diff --git a/test/test_ezsignfolder_dispose_v1_response.py b/test/test_ezsignfolder_dispose_v1_response.py index 4edf96331..f8a4944f7 100644 --- a/test/test_ezsignfolder_dispose_v1_response.py +++ b/test/test_ezsignfolder_dispose_v1_response.py @@ -36,9 +36,26 @@ def make_instance(self, include_optional) -> EzsignfolderDisposeV1Response: model = EzsignfolderDisposeV1Response() if include_optional: return EzsignfolderDisposeV1Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), + obj_debug = {"sMemoryUsage":"11,923MB","sRunTime":"0.6084s","iSQLSelects":3,"iSQLQueries":6,"a_objSQLQuery":[{"sQuery":"SELECT * FROM table","fDuration":1.0E-4},{"sQuery":"SELECT * FROM table","fDuration":1.0E-4}]} ) else: return EzsignfolderDisposeV1Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), ) """ diff --git a/test/test_ezsignfolder_edit_object_v3_request.py b/test/test_ezsignfolder_edit_object_v3_request.py index a30b62407..adf95f429 100644 --- a/test/test_ezsignfolder_edit_object_v3_request.py +++ b/test/test_ezsignfolder_edit_object_v3_request.py @@ -36,49 +36,11 @@ def make_instance(self, include_optional) -> EzsignfolderEditObjectV3Request: model = EzsignfolderEditObjectV3Request() if include_optional: return EzsignfolderEditObjectV3Request( - obj_ezsignfolder = eZmaxApi.models.ezsignfolder_request_v3.ezsignfolder-RequestV3( - pki_ezsignfolder_id = 33, - fki_ezsignfoldertype_id = 5, - fki_timezone_id = 247, - fki_ezsigntsarequirement_id = 1, - e_ezsignfolder_documentdependency = 'All', - s_ezsignfolder_description = 'Test eZsign Folder', - t_ezsignfolder_note = 'This is a note', - t_ezsignfolder_message = 'Hi everyone, - -This is the document I need you to review. - -Could you sign it before Monday please. - -Best Regards. - -Mary', - i_ezsignfolder_sendreminderfirstdays = 30, - i_ezsignfolder_sendreminderotherdays = 30, - s_ezsignfolder_externalid = '{"ID": 1234, "TAGS": ["tag1", "tag2", "tag3"]}', ) + obj_ezsignfolder = eZmaxApi.models.ezsignfolder_request_compound_v3.ezsignfolder-RequestCompoundV3() ) else: return EzsignfolderEditObjectV3Request( - obj_ezsignfolder = eZmaxApi.models.ezsignfolder_request_v3.ezsignfolder-RequestV3( - pki_ezsignfolder_id = 33, - fki_ezsignfoldertype_id = 5, - fki_timezone_id = 247, - fki_ezsigntsarequirement_id = 1, - e_ezsignfolder_documentdependency = 'All', - s_ezsignfolder_description = 'Test eZsign Folder', - t_ezsignfolder_note = 'This is a note', - t_ezsignfolder_message = 'Hi everyone, - -This is the document I need you to review. - -Could you sign it before Monday please. - -Best Regards. - -Mary', - i_ezsignfolder_sendreminderfirstdays = 30, - i_ezsignfolder_sendreminderotherdays = 30, - s_ezsignfolder_externalid = '{"ID": 1234, "TAGS": ["tag1", "tag2", "tag3"]}', ), + obj_ezsignfolder = eZmaxApi.models.ezsignfolder_request_compound_v3.ezsignfolder-RequestCompoundV3(), ) """ diff --git a/test/test_ezsignfolder_edit_object_v3_response.py b/test/test_ezsignfolder_edit_object_v3_response.py index 1f4df0fa9..d9d54eceb 100644 --- a/test/test_ezsignfolder_edit_object_v3_response.py +++ b/test/test_ezsignfolder_edit_object_v3_response.py @@ -36,9 +36,26 @@ def make_instance(self, include_optional) -> EzsignfolderEditObjectV3Response: model = EzsignfolderEditObjectV3Response() if include_optional: return EzsignfolderEditObjectV3Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), + obj_debug = {"sMemoryUsage":"11,923MB","sRunTime":"0.6084s","iSQLSelects":3,"iSQLQueries":6,"a_objSQLQuery":[{"sQuery":"SELECT * FROM table","fDuration":1.0E-4},{"sQuery":"SELECT * FROM table","fDuration":1.0E-4}]} ) else: return EzsignfolderEditObjectV3Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), ) """ diff --git a/test/test_ezsignfolder_end_prematurely_v1_response.py b/test/test_ezsignfolder_end_prematurely_v1_response.py index a04ecbd09..c117b2617 100644 --- a/test/test_ezsignfolder_end_prematurely_v1_response.py +++ b/test/test_ezsignfolder_end_prematurely_v1_response.py @@ -36,9 +36,26 @@ def make_instance(self, include_optional) -> EzsignfolderEndPrematurelyV1Respons model = EzsignfolderEndPrematurelyV1Response() if include_optional: return EzsignfolderEndPrematurelyV1Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), + obj_debug = {"sMemoryUsage":"11,923MB","sRunTime":"0.6084s","iSQLSelects":3,"iSQLQueries":6,"a_objSQLQuery":[{"sQuery":"SELECT * FROM table","fDuration":1.0E-4},{"sQuery":"SELECT * FROM table","fDuration":1.0E-4}]} ) else: return EzsignfolderEndPrematurelyV1Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), ) """ diff --git a/test/test_ezsignfolder_get_actionable_elements_v1_response.py b/test/test_ezsignfolder_get_actionable_elements_v1_response.py index f0deb1dad..d5d07ba97 100644 --- a/test/test_ezsignfolder_get_actionable_elements_v1_response.py +++ b/test/test_ezsignfolder_get_actionable_elements_v1_response.py @@ -36,6 +36,15 @@ def make_instance(self, include_optional) -> EzsignfolderGetActionableElementsV1 model = EzsignfolderGetActionableElementsV1Response() if include_optional: return EzsignfolderGetActionableElementsV1Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), + obj_debug = {"sMemoryUsage":"11,923MB","sRunTime":"0.6084s","iSQLSelects":3,"iSQLQueries":6,"a_objSQLQuery":[{"sQuery":"SELECT * FROM table","fDuration":1.0E-4},{"sQuery":"SELECT * FROM table","fDuration":1.0E-4}]}, m_payload = eZmaxApi.models.ezsignfolder_get_actionable_elements_v1_response_m_payload.ezsignfolder-getActionableElements-v1-Response-mPayload( a_obj_ezsignsignature = [ eZmaxApi.models.ezsignsignature_response_compound.ezsignsignature-ResponseCompound() @@ -46,6 +55,14 @@ def make_instance(self, include_optional) -> EzsignfolderGetActionableElementsV1 ) else: return EzsignfolderGetActionableElementsV1Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), m_payload = eZmaxApi.models.ezsignfolder_get_actionable_elements_v1_response_m_payload.ezsignfolder-getActionableElements-v1-Response-mPayload( a_obj_ezsignsignature = [ eZmaxApi.models.ezsignsignature_response_compound.ezsignsignature-ResponseCompound() diff --git a/test/test_ezsignfolder_get_attachment_count_v1_response.py b/test/test_ezsignfolder_get_attachment_count_v1_response.py index 451087562..d60720782 100644 --- a/test/test_ezsignfolder_get_attachment_count_v1_response.py +++ b/test/test_ezsignfolder_get_attachment_count_v1_response.py @@ -36,11 +36,28 @@ def make_instance(self, include_optional) -> EzsignfolderGetAttachmentCountV1Res model = EzsignfolderGetAttachmentCountV1Response() if include_optional: return EzsignfolderGetAttachmentCountV1Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), + obj_debug = {"sMemoryUsage":"11,923MB","sRunTime":"0.6084s","iSQLSelects":3,"iSQLQueries":6,"a_objSQLQuery":[{"sQuery":"SELECT * FROM table","fDuration":1.0E-4},{"sQuery":"SELECT * FROM table","fDuration":1.0E-4}]}, m_payload = eZmaxApi.models.ezsignfolder_get_attachment_count_v1_response_m_payload.ezsignfolder-getAttachmentCount-v1-Response-mPayload( i_attachment_count = 4, ) ) else: return EzsignfolderGetAttachmentCountV1Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), m_payload = eZmaxApi.models.ezsignfolder_get_attachment_count_v1_response_m_payload.ezsignfolder-getAttachmentCount-v1-Response-mPayload( i_attachment_count = 4, ), ) diff --git a/test/test_ezsignfolder_get_attachments_v1_response.py b/test/test_ezsignfolder_get_attachments_v1_response.py index c56ded712..a05063105 100644 --- a/test/test_ezsignfolder_get_attachments_v1_response.py +++ b/test/test_ezsignfolder_get_attachments_v1_response.py @@ -36,6 +36,15 @@ def make_instance(self, include_optional) -> EzsignfolderGetAttachmentsV1Respons model = EzsignfolderGetAttachmentsV1Response() if include_optional: return EzsignfolderGetAttachmentsV1Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), + obj_debug = {"sMemoryUsage":"11,923MB","sRunTime":"0.6084s","iSQLSelects":3,"iSQLQueries":6,"a_objSQLQuery":[{"sQuery":"SELECT * FROM table","fDuration":1.0E-4},{"sQuery":"SELECT * FROM table","fDuration":1.0E-4}]}, m_payload = eZmaxApi.models.ezsignfolder_get_attachments_v1_response_m_payload.ezsignfolder-getAttachments-v1-Response-mPayload( a_obj_attachmentdocumenttype = [ eZmaxApi.models.custom_attachmentdocumenttype_response.Custom-Attachmentdocumenttype-Response( @@ -47,6 +56,14 @@ def make_instance(self, include_optional) -> EzsignfolderGetAttachmentsV1Respons ) else: return EzsignfolderGetAttachmentsV1Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), m_payload = eZmaxApi.models.ezsignfolder_get_attachments_v1_response_m_payload.ezsignfolder-getAttachments-v1-Response-mPayload( a_obj_attachmentdocumenttype = [ eZmaxApi.models.custom_attachmentdocumenttype_response.Custom-Attachmentdocumenttype-Response( diff --git a/test/test_ezsignfolder_get_communication_count_v1_response.py b/test/test_ezsignfolder_get_communication_count_v1_response.py index 93ed0905b..06f2d48d7 100644 --- a/test/test_ezsignfolder_get_communication_count_v1_response.py +++ b/test/test_ezsignfolder_get_communication_count_v1_response.py @@ -36,11 +36,28 @@ def make_instance(self, include_optional) -> EzsignfolderGetCommunicationCountV1 model = EzsignfolderGetCommunicationCountV1Response() if include_optional: return EzsignfolderGetCommunicationCountV1Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), + obj_debug = {"sMemoryUsage":"11,923MB","sRunTime":"0.6084s","iSQLSelects":3,"iSQLQueries":6,"a_objSQLQuery":[{"sQuery":"SELECT * FROM table","fDuration":1.0E-4},{"sQuery":"SELECT * FROM table","fDuration":1.0E-4}]}, m_payload = eZmaxApi.models.ezsignfolder_get_communication_count_v1_response_m_payload.ezsignfolder-getCommunicationCount-v1-Response-mPayload( i_communication_count = 8, ) ) else: return EzsignfolderGetCommunicationCountV1Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), m_payload = eZmaxApi.models.ezsignfolder_get_communication_count_v1_response_m_payload.ezsignfolder-getCommunicationCount-v1-Response-mPayload( i_communication_count = 8, ), ) diff --git a/test/test_ezsignfolder_get_communication_list_v1_response.py b/test/test_ezsignfolder_get_communication_list_v1_response.py index 78b0d9d56..360da122d 100644 --- a/test/test_ezsignfolder_get_communication_list_v1_response.py +++ b/test/test_ezsignfolder_get_communication_list_v1_response.py @@ -36,6 +36,8 @@ def make_instance(self, include_optional) -> EzsignfolderGetCommunicationListV1R model = EzsignfolderGetCommunicationListV1Response() if include_optional: return EzsignfolderGetCommunicationListV1Response( + 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.ezsignfolder_get_communication_list_v1_response_m_payload.ezsignfolder-getCommunicationList-v1-Response-mPayload( a_obj_communication = [ eZmaxApi.models.custom_communication_list_element_response.Custom-CommunicationListElement-Response( @@ -52,6 +54,7 @@ def make_instance(self, include_optional) -> EzsignfolderGetCommunicationListV1R ) else: return EzsignfolderGetCommunicationListV1Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload_get_list.Common-Response-objDebugPayload_getList(), m_payload = eZmaxApi.models.ezsignfolder_get_communication_list_v1_response_m_payload.ezsignfolder-getCommunicationList-v1-Response-mPayload( a_obj_communication = [ eZmaxApi.models.custom_communication_list_element_response.Custom-CommunicationListElement-Response( diff --git a/test/test_ezsignfolder_get_communicationrecipients_v1_response.py b/test/test_ezsignfolder_get_communicationrecipients_v1_response.py index 07c764e88..a341d2dd7 100644 --- a/test/test_ezsignfolder_get_communicationrecipients_v1_response.py +++ b/test/test_ezsignfolder_get_communicationrecipients_v1_response.py @@ -36,6 +36,15 @@ def make_instance(self, include_optional) -> EzsignfolderGetCommunicationrecipie model = EzsignfolderGetCommunicationrecipientsV1Response() 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, + dt_response_date = '2020-12-31 23:59:59', ), + obj_debug = {"sMemoryUsage":"11,923MB","sRunTime":"0.6084s","iSQLSelects":3,"iSQLQueries":6,"a_objSQLQuery":[{"sQuery":"SELECT * FROM table","fDuration":1.0E-4},{"sQuery":"SELECT * FROM table","fDuration":1.0E-4}]}, m_payload = eZmaxApi.models.ezsignfolder_get_communicationrecipients_v1_response_m_payload.ezsignfolder-getCommunicationrecipients-v1-Response-mPayload( a_obj_communicationrecipientsgroup = [ eZmaxApi.models.custom_communicationrecipientsgroup_response.Custom-Communicationrecipientsgroup-Response( @@ -70,6 +79,14 @@ def make_instance(self, include_optional) -> EzsignfolderGetCommunicationrecipie ) 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, + dt_response_date = '2020-12-31 23:59:59', ), 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( diff --git a/test/test_ezsignfolder_get_communicationsenders_v1_response.py b/test/test_ezsignfolder_get_communicationsenders_v1_response.py index 4d6fa691b..9932f1ed4 100644 --- a/test/test_ezsignfolder_get_communicationsenders_v1_response.py +++ b/test/test_ezsignfolder_get_communicationsenders_v1_response.py @@ -36,6 +36,15 @@ def make_instance(self, include_optional) -> EzsignfolderGetCommunicationsenders model = EzsignfolderGetCommunicationsendersV1Response() 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, + dt_response_date = '2020-12-31 23:59:59', ), + obj_debug = {"sMemoryUsage":"11,923MB","sRunTime":"0.6084s","iSQLSelects":3,"iSQLQueries":6,"a_objSQLQuery":[{"sQuery":"SELECT * FROM table","fDuration":1.0E-4},{"sQuery":"SELECT * FROM table","fDuration":1.0E-4}]}, m_payload = eZmaxApi.models.ezsignfolder_get_communicationsenders_v1_response_m_payload.ezsignfolder-getCommunicationsenders-v1-Response-mPayload( a_obj_communicationsenders = [ eZmaxApi.models.custom_communicationsender_response.Custom-Communicationsender-Response( @@ -56,6 +65,14 @@ def make_instance(self, include_optional) -> EzsignfolderGetCommunicationsenders ) 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, + dt_response_date = '2020-12-31 23:59:59', ), 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( diff --git a/test/test_ezsignfolder_get_ezsigndocuments_v1_response.py b/test/test_ezsignfolder_get_ezsigndocuments_v1_response.py index 2f2458100..72784f1c9 100644 --- a/test/test_ezsignfolder_get_ezsigndocuments_v1_response.py +++ b/test/test_ezsignfolder_get_ezsigndocuments_v1_response.py @@ -36,6 +36,15 @@ def make_instance(self, include_optional) -> EzsignfolderGetEzsigndocumentsV1Res model = EzsignfolderGetEzsigndocumentsV1Response() if include_optional: return EzsignfolderGetEzsigndocumentsV1Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), + obj_debug = {"sMemoryUsage":"11,923MB","sRunTime":"0.6084s","iSQLSelects":3,"iSQLQueries":6,"a_objSQLQuery":[{"sQuery":"SELECT * FROM table","fDuration":1.0E-4},{"sQuery":"SELECT * FROM table","fDuration":1.0E-4}]}, m_payload = eZmaxApi.models.ezsignfolder_get_ezsigndocuments_v1_response_m_payload.ezsignfolder-getEzsigndocuments-v1-Response-mPayload( a_obj_ezsigndocument = [ eZmaxApi.models.ezsigndocument_response_compound.ezsigndocument-ResponseCompound() @@ -43,6 +52,14 @@ def make_instance(self, include_optional) -> EzsignfolderGetEzsigndocumentsV1Res ) else: return EzsignfolderGetEzsigndocumentsV1Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), m_payload = eZmaxApi.models.ezsignfolder_get_ezsigndocuments_v1_response_m_payload.ezsignfolder-getEzsigndocuments-v1-Response-mPayload( a_obj_ezsigndocument = [ eZmaxApi.models.ezsigndocument_response_compound.ezsigndocument-ResponseCompound() diff --git a/test/test_ezsignfolder_get_ezsignfoldersignerassociations_v1_response.py b/test/test_ezsignfolder_get_ezsignfoldersignerassociations_v1_response.py index 97041b5d5..2b7f91ddb 100644 --- a/test/test_ezsignfolder_get_ezsignfoldersignerassociations_v1_response.py +++ b/test/test_ezsignfolder_get_ezsignfoldersignerassociations_v1_response.py @@ -36,6 +36,15 @@ def make_instance(self, include_optional) -> EzsignfolderGetEzsignfoldersigneras model = EzsignfolderGetEzsignfoldersignerassociationsV1Response() if include_optional: return EzsignfolderGetEzsignfoldersignerassociationsV1Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), + obj_debug = {"sMemoryUsage":"11,923MB","sRunTime":"0.6084s","iSQLSelects":3,"iSQLQueries":6,"a_objSQLQuery":[{"sQuery":"SELECT * FROM table","fDuration":1.0E-4},{"sQuery":"SELECT * FROM table","fDuration":1.0E-4}]}, m_payload = eZmaxApi.models.ezsignfolder_get_ezsignfoldersignerassociations_v1_response_m_payload.ezsignfolder-getEzsignfoldersignerassociations-v1-Response-mPayload( a_obj_ezsignfoldersignerassociation = [ eZmaxApi.models.custom_ezsignfoldersignerassociation_actionable_element_response.Custom-EzsignfoldersignerassociationActionableElement-Response() @@ -43,6 +52,14 @@ def make_instance(self, include_optional) -> EzsignfolderGetEzsignfoldersigneras ) else: return EzsignfolderGetEzsignfoldersignerassociationsV1Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), m_payload = eZmaxApi.models.ezsignfolder_get_ezsignfoldersignerassociations_v1_response_m_payload.ezsignfolder-getEzsignfoldersignerassociations-v1-Response-mPayload( a_obj_ezsignfoldersignerassociation = [ eZmaxApi.models.custom_ezsignfoldersignerassociation_actionable_element_response.Custom-EzsignfoldersignerassociationActionableElement-Response() diff --git a/test/test_ezsignfolder_get_ezsignsignatures_automatic_v1_response.py b/test/test_ezsignfolder_get_ezsignsignatures_automatic_v1_response.py index cb0bf64fd..7a27b35ee 100644 --- a/test/test_ezsignfolder_get_ezsignsignatures_automatic_v1_response.py +++ b/test/test_ezsignfolder_get_ezsignsignatures_automatic_v1_response.py @@ -36,6 +36,15 @@ def make_instance(self, include_optional) -> EzsignfolderGetEzsignsignaturesAuto model = EzsignfolderGetEzsignsignaturesAutomaticV1Response() if include_optional: return EzsignfolderGetEzsignsignaturesAutomaticV1Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), + obj_debug = {"sMemoryUsage":"11,923MB","sRunTime":"0.6084s","iSQLSelects":3,"iSQLQueries":6,"a_objSQLQuery":[{"sQuery":"SELECT * FROM table","fDuration":1.0E-4},{"sQuery":"SELECT * FROM table","fDuration":1.0E-4}]}, m_payload = eZmaxApi.models.ezsignfolder_get_ezsignsignatures_automatic_v1_response_m_payload.ezsignfolder-getEzsignsignaturesAutomatic-v1-Response-mPayload( a_e_ezsignsignature_type = [ 'Name' @@ -59,6 +68,14 @@ def make_instance(self, include_optional) -> EzsignfolderGetEzsignsignaturesAuto ) else: return EzsignfolderGetEzsignsignaturesAutomaticV1Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), m_payload = eZmaxApi.models.ezsignfolder_get_ezsignsignatures_automatic_v1_response_m_payload.ezsignfolder-getEzsignsignaturesAutomatic-v1-Response-mPayload( a_e_ezsignsignature_type = [ 'Name' diff --git a/test/test_ezsignfolder_get_forms_data_v1_response.py b/test/test_ezsignfolder_get_forms_data_v1_response.py index b05502dc6..43d8ab984 100644 --- a/test/test_ezsignfolder_get_forms_data_v1_response.py +++ b/test/test_ezsignfolder_get_forms_data_v1_response.py @@ -36,6 +36,15 @@ def make_instance(self, include_optional) -> EzsignfolderGetFormsDataV1Response: model = EzsignfolderGetFormsDataV1Response() if include_optional: return EzsignfolderGetFormsDataV1Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), + obj_debug = {"sMemoryUsage":"11,923MB","sRunTime":"0.6084s","iSQLSelects":3,"iSQLQueries":6,"a_objSQLQuery":[{"sQuery":"SELECT * FROM table","fDuration":1.0E-4},{"sQuery":"SELECT * FROM table","fDuration":1.0E-4}]}, m_payload = eZmaxApi.models.ezsignfolder_get_forms_data_v1_response_m_payload.ezsignfolder-getFormsData-v1-Response-mPayload( obj_forms_data_folder = eZmaxApi.models.custom_forms_data_folder_response.Custom-FormsDataFolder-Response( pki_ezsignfolder_id = 33, @@ -66,6 +75,14 @@ def make_instance(self, include_optional) -> EzsignfolderGetFormsDataV1Response: ) else: return EzsignfolderGetFormsDataV1Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), m_payload = eZmaxApi.models.ezsignfolder_get_forms_data_v1_response_m_payload.ezsignfolder-getFormsData-v1-Response-mPayload( obj_forms_data_folder = eZmaxApi.models.custom_forms_data_folder_response.Custom-FormsDataFolder-Response( pki_ezsignfolder_id = 33, diff --git a/test/test_ezsignfolder_get_list_v1_response.py b/test/test_ezsignfolder_get_list_v1_response.py index d8ddb6e6a..b2f3c5bf8 100644 --- a/test/test_ezsignfolder_get_list_v1_response.py +++ b/test/test_ezsignfolder_get_list_v1_response.py @@ -36,10 +36,13 @@ def make_instance(self, include_optional) -> EzsignfolderGetListV1Response: model = EzsignfolderGetListV1Response() if include_optional: return EzsignfolderGetListV1Response( + 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.ezsignfolder_get_list_v1_response_m_payload.ezsignfolder-getList-v1-Response-mPayload() ) else: return EzsignfolderGetListV1Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload_get_list.Common-Response-objDebugPayload_getList(), m_payload = eZmaxApi.models.ezsignfolder_get_list_v1_response_m_payload.ezsignfolder-getList-v1-Response-mPayload(), ) """ diff --git a/test/test_ezsignfolder_get_list_v1_response_m_payload.py b/test/test_ezsignfolder_get_list_v1_response_m_payload.py index 4f1d1f326..97510c55e 100644 --- a/test/test_ezsignfolder_get_list_v1_response_m_payload.py +++ b/test/test_ezsignfolder_get_list_v1_response_m_payload.py @@ -36,6 +36,8 @@ def make_instance(self, include_optional) -> EzsignfolderGetListV1ResponseMPaylo model = EzsignfolderGetListV1ResponseMPayload() if include_optional: return EzsignfolderGetListV1ResponseMPayload( + i_row_returned = 100, + i_row_filtered = 533, a_obj_ezsignfolder = [ eZmaxApi.models.ezsignfolder_list_element.ezsignfolder-ListElement( pki_ezsignfolder_id = 33, @@ -63,6 +65,8 @@ def make_instance(self, include_optional) -> EzsignfolderGetListV1ResponseMPaylo ) else: return EzsignfolderGetListV1ResponseMPayload( + i_row_returned = 100, + i_row_filtered = 533, a_obj_ezsignfolder = [ eZmaxApi.models.ezsignfolder_list_element.ezsignfolder-ListElement( pki_ezsignfolder_id = 33, diff --git a/test/test_ezsignfolder_get_object_v1_response.py b/test/test_ezsignfolder_get_object_v1_response.py index 7ffe5d4f5..49773fcb6 100644 --- a/test/test_ezsignfolder_get_object_v1_response.py +++ b/test/test_ezsignfolder_get_object_v1_response.py @@ -36,11 +36,28 @@ def make_instance(self, include_optional) -> EzsignfolderGetObjectV1Response: model = EzsignfolderGetObjectV1Response() if include_optional: return EzsignfolderGetObjectV1Response( - m_payload = eZmaxApi.models.ezsignfolder_response_compound.ezsignfolder-ResponseCompound() + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), + obj_debug = {"sMemoryUsage":"11,923MB","sRunTime":"0.6084s","iSQLSelects":3,"iSQLQueries":6,"a_objSQLQuery":[{"sQuery":"SELECT * FROM table","fDuration":1.0E-4},{"sQuery":"SELECT * FROM table","fDuration":1.0E-4}]}, + m_payload = eZmaxApi.models.ezsignfolder_get_object_v1_response_m_payload.ezsignfolder-getObject-v1-Response-mPayload() ) else: return EzsignfolderGetObjectV1Response( - m_payload = eZmaxApi.models.ezsignfolder_response_compound.ezsignfolder-ResponseCompound(), + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), + m_payload = eZmaxApi.models.ezsignfolder_get_object_v1_response_m_payload.ezsignfolder-getObject-v1-Response-mPayload(), ) """ diff --git a/test/test_ezsignfolder_get_object_v1_response_m_payload.py b/test/test_ezsignfolder_get_object_v1_response_m_payload.py index af2eb61a8..73fdeb7d6 100644 --- a/test/test_ezsignfolder_get_object_v1_response_m_payload.py +++ b/test/test_ezsignfolder_get_object_v1_response_m_payload.py @@ -36,9 +36,82 @@ def make_instance(self, include_optional) -> EzsignfolderGetObjectV1ResponseMPay model = EzsignfolderGetObjectV1ResponseMPayload() if include_optional: return EzsignfolderGetObjectV1ResponseMPayload( + pki_ezsignfolder_id = 33, + fki_ezsignfoldertype_id = 5, + obj_ezsignfoldertype = eZmaxApi.models.custom_ezsignfoldertype_response.Custom-Ezsignfoldertype-Response( + pki_ezsignfoldertype_id = 5, + fki_font_id_annotation = 1, + fki_font_id_formfield = 1, + fki_font_id_signature = 1, + s_ezsignfoldertype_name_x = 'Default', + b_ezsignfoldertype_sendproofezsignsigner = False, + b_ezsignfoldertype_allowdownloadattachmentezsignsigner = False, + b_ezsignfoldertype_allowdownloadproofezsignsigner = False, + b_ezsignfoldertype_automaticsignature = False, + b_ezsignfoldertype_delegate = True, + b_ezsignfoldertype_discussion = True, + b_ezsignfoldertype_reassignezsignsigner = True, + b_ezsignfoldertype_reassignuser = True, + b_ezsignfoldertype_reassigngroup = True, + i_ezsignfoldertype_deadlinedays = 5, + i_ezsignfoldertype_fontsizeannotation = 10, + i_ezsignfoldertype_fontsizeformfield = 12, ), + fki_timezone_id = 247, + e_ezsignfolder_completion = 'PerEzsigndocument', + s_ezsignfoldertype_name_x = '', + fki_billingentityinternal_id = 1, + s_billingentityinternal_description_x = 'Default', + fki_ezsigntsarequirement_id = 1, + s_ezsigntsarequirement_description_x = 'No', + s_ezsignfolder_description = 'Test eZsign Folder', + t_ezsignfolder_note = 'This is a note', + b_ezsignfolder_isdisposable = False, + e_ezsignfolder_sendreminderfrequency = 'None', + i_ezsignfolder_sendreminderfirstdays = 30, + i_ezsignfolder_sendreminderotherdays = 30, + dt_ezsignfolder_delayedsenddate = '2020-12-31T23:59:59.000Z', + dt_ezsignfolder_duedate = '2020-12-31 23:59:59', + dt_ezsignfolder_sentdate = '2020-12-31T23:59:59.000Z', + dt_ezsignfolder_scheduledarchive = '2020-12-31 23:59:59', + dt_ezsignfolder_scheduleddispose = '2020-12-31', + e_ezsignfolder_step = 'Completed', + dt_ezsignfolder_close = '2020-12-31 23:59:59', + t_ezsignfolder_message = 'Hi everyone, + +This is the document I need you to review. + +Could you sign it before Monday please. + +Best Regards. + +Mary', + obj_audit = eZmaxApi.models.common_audit.Common-Audit( + obj_auditdetail_created = eZmaxApi.models.common_auditdetail.Common-Auditdetail( + fki_user_id = 70, + fki_apikey_id = 99, + s_user_loginname = 'JohnDoe', + s_user_lastname = 'Doe', + s_user_firstname = 'John', + s_apikey_description_x = 'Project X', + dt_auditdetail_date = '2020-12-31 23:59:59', ), + obj_auditdetail_modified = eZmaxApi.models.common_auditdetail.Common-Auditdetail( + fki_user_id = 70, + fki_apikey_id = 99, + s_user_loginname = 'JohnDoe', + s_user_lastname = 'Doe', + s_user_firstname = 'John', + s_apikey_description_x = 'Project X', + dt_auditdetail_date = '2020-12-31 23:59:59', ), ), + s_ezsignfolder_externalid = '{"ID": 1234, "TAGS": ["tag1", "tag2", "tag3"]}', + obj_timezone = eZmaxApi.models.custom_timezone_with_code_response.Custom-TimezoneWithCode-Response( + s_timezone_name = '', + s_code = 'EST', ) ) else: return EzsignfolderGetObjectV1ResponseMPayload( + pki_ezsignfolder_id = 33, + e_ezsignfolder_completion = 'PerEzsigndocument', + s_ezsignfolder_description = 'Test eZsign Folder', ) """ diff --git a/test/test_ezsignfolder_get_object_v2_response.py b/test/test_ezsignfolder_get_object_v2_response.py index c89731df5..83d1aface 100644 --- a/test/test_ezsignfolder_get_object_v2_response.py +++ b/test/test_ezsignfolder_get_object_v2_response.py @@ -36,11 +36,28 @@ def make_instance(self, include_optional) -> EzsignfolderGetObjectV2Response: model = EzsignfolderGetObjectV2Response() if include_optional: return EzsignfolderGetObjectV2Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), + obj_debug = {"sMemoryUsage":"11,923MB","sRunTime":"0.6084s","iSQLSelects":3,"iSQLQueries":6,"a_objSQLQuery":[{"sQuery":"SELECT * FROM table","fDuration":1.0E-4},{"sQuery":"SELECT * FROM table","fDuration":1.0E-4}]}, m_payload = eZmaxApi.models.ezsignfolder_get_object_v2_response_m_payload.ezsignfolder-getObject-v2-Response-mPayload( obj_ezsignfolder = eZmaxApi.models.ezsignfolder_response_compound.ezsignfolder-ResponseCompound(), ) ) else: return EzsignfolderGetObjectV2Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), m_payload = eZmaxApi.models.ezsignfolder_get_object_v2_response_m_payload.ezsignfolder-getObject-v2-Response-mPayload( obj_ezsignfolder = eZmaxApi.models.ezsignfolder_response_compound.ezsignfolder-ResponseCompound(), ), ) diff --git a/test/test_ezsignfolder_get_object_v3_response.py b/test/test_ezsignfolder_get_object_v3_response.py index 850b3752b..874ddb0b2 100644 --- a/test/test_ezsignfolder_get_object_v3_response.py +++ b/test/test_ezsignfolder_get_object_v3_response.py @@ -36,11 +36,28 @@ def make_instance(self, include_optional) -> EzsignfolderGetObjectV3Response: model = EzsignfolderGetObjectV3Response() if include_optional: return EzsignfolderGetObjectV3Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), + obj_debug = {"sMemoryUsage":"11,923MB","sRunTime":"0.6084s","iSQLSelects":3,"iSQLQueries":6,"a_objSQLQuery":[{"sQuery":"SELECT * FROM table","fDuration":1.0E-4},{"sQuery":"SELECT * FROM table","fDuration":1.0E-4}]}, m_payload = eZmaxApi.models.ezsignfolder_get_object_v3_response_m_payload.ezsignfolder-getObject-v3-Response-mPayload( obj_ezsignfolder = eZmaxApi.models.ezsignfolder_response_compound_v3.ezsignfolder-ResponseCompoundV3(), ) ) else: return EzsignfolderGetObjectV3Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), m_payload = eZmaxApi.models.ezsignfolder_get_object_v3_response_m_payload.ezsignfolder-getObject-v3-Response-mPayload( obj_ezsignfolder = eZmaxApi.models.ezsignfolder_response_compound_v3.ezsignfolder-ResponseCompoundV3(), ), ) diff --git a/test/test_ezsignfolder_import_ezsignfoldersignerassociations_v1_response.py b/test/test_ezsignfolder_import_ezsignfoldersignerassociations_v1_response.py index fd4b15040..a7a3266f2 100644 --- a/test/test_ezsignfolder_import_ezsignfoldersignerassociations_v1_response.py +++ b/test/test_ezsignfolder_import_ezsignfoldersignerassociations_v1_response.py @@ -36,6 +36,15 @@ def make_instance(self, include_optional) -> EzsignfolderImportEzsignfoldersigne model = EzsignfolderImportEzsignfoldersignerassociationsV1Response() if include_optional: return EzsignfolderImportEzsignfoldersignerassociationsV1Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), + obj_debug = {"sMemoryUsage":"11,923MB","sRunTime":"0.6084s","iSQLSelects":3,"iSQLQueries":6,"a_objSQLQuery":[{"sQuery":"SELECT * FROM table","fDuration":1.0E-4},{"sQuery":"SELECT * FROM table","fDuration":1.0E-4}]}, m_payload = eZmaxApi.models.ezsignfolder_import_ezsignfoldersignerassociations_v1_response_m_payload.ezsignfolder-importEzsignfoldersignerassociations-v1-Response-mPayload( a_pki_ezsignfoldersignerassociation_id = [ 20 @@ -43,6 +52,14 @@ def make_instance(self, include_optional) -> EzsignfolderImportEzsignfoldersigne ) else: return EzsignfolderImportEzsignfoldersignerassociationsV1Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), m_payload = eZmaxApi.models.ezsignfolder_import_ezsignfoldersignerassociations_v1_response_m_payload.ezsignfolder-importEzsignfoldersignerassociations-v1-Response-mPayload( a_pki_ezsignfoldersignerassociation_id = [ 20 diff --git a/test/test_ezsignfolder_import_ezsigntemplatepackage_v1_response.py b/test/test_ezsignfolder_import_ezsigntemplatepackage_v1_response.py index 50965a12d..028bfc9de 100644 --- a/test/test_ezsignfolder_import_ezsigntemplatepackage_v1_response.py +++ b/test/test_ezsignfolder_import_ezsigntemplatepackage_v1_response.py @@ -36,6 +36,15 @@ def make_instance(self, include_optional) -> EzsignfolderImportEzsigntemplatepac model = EzsignfolderImportEzsigntemplatepackageV1Response() if include_optional: return EzsignfolderImportEzsigntemplatepackageV1Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), + obj_debug = {"sMemoryUsage":"11,923MB","sRunTime":"0.6084s","iSQLSelects":3,"iSQLQueries":6,"a_objSQLQuery":[{"sQuery":"SELECT * FROM table","fDuration":1.0E-4},{"sQuery":"SELECT * FROM table","fDuration":1.0E-4}]}, m_payload = eZmaxApi.models.ezsignfolder_import_ezsigntemplatepackage_v1_response_m_payload.ezsignfolder-importEzsigntemplatepackage-v1-Response-mPayload( a_obj_ezsigndocument = [ eZmaxApi.models.ezsigndocument_response_compound.ezsigndocument-ResponseCompound() @@ -43,6 +52,14 @@ def make_instance(self, include_optional) -> EzsignfolderImportEzsigntemplatepac ) else: return EzsignfolderImportEzsigntemplatepackageV1Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), m_payload = eZmaxApi.models.ezsignfolder_import_ezsigntemplatepackage_v1_response_m_payload.ezsignfolder-importEzsigntemplatepackage-v1-Response-mPayload( a_obj_ezsigndocument = [ eZmaxApi.models.ezsigndocument_response_compound.ezsigndocument-ResponseCompound() diff --git a/test/test_ezsignfolder_reorder_v1_response.py b/test/test_ezsignfolder_reorder_v1_response.py index da79adbaa..447169cfc 100644 --- a/test/test_ezsignfolder_reorder_v1_response.py +++ b/test/test_ezsignfolder_reorder_v1_response.py @@ -36,9 +36,26 @@ def make_instance(self, include_optional) -> EzsignfolderReorderV1Response: model = EzsignfolderReorderV1Response() if include_optional: return EzsignfolderReorderV1Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), + obj_debug = {"sMemoryUsage":"11,923MB","sRunTime":"0.6084s","iSQLSelects":3,"iSQLQueries":6,"a_objSQLQuery":[{"sQuery":"SELECT * FROM table","fDuration":1.0E-4},{"sQuery":"SELECT * FROM table","fDuration":1.0E-4}]} ) else: return EzsignfolderReorderV1Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), ) """ diff --git a/test/test_ezsignfolder_reorder_v2_response.py b/test/test_ezsignfolder_reorder_v2_response.py index 3fb268249..ae9ac3b75 100644 --- a/test/test_ezsignfolder_reorder_v2_response.py +++ b/test/test_ezsignfolder_reorder_v2_response.py @@ -36,9 +36,26 @@ def make_instance(self, include_optional) -> EzsignfolderReorderV2Response: model = EzsignfolderReorderV2Response() if include_optional: return EzsignfolderReorderV2Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), + obj_debug = {"sMemoryUsage":"11,923MB","sRunTime":"0.6084s","iSQLSelects":3,"iSQLQueries":6,"a_objSQLQuery":[{"sQuery":"SELECT * FROM table","fDuration":1.0E-4},{"sQuery":"SELECT * FROM table","fDuration":1.0E-4}]} ) else: return EzsignfolderReorderV2Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), ) """ diff --git a/test/test_ezsignfolder_response_compound.py b/test/test_ezsignfolder_response_compound.py index ca7e5ef20..f8c623739 100644 --- a/test/test_ezsignfolder_response_compound.py +++ b/test/test_ezsignfolder_response_compound.py @@ -36,12 +36,82 @@ def make_instance(self, include_optional) -> EzsignfolderResponseCompound: model = EzsignfolderResponseCompound() if include_optional: return EzsignfolderResponseCompound( + pki_ezsignfolder_id = 33, + fki_ezsignfoldertype_id = 5, + obj_ezsignfoldertype = eZmaxApi.models.custom_ezsignfoldertype_response.Custom-Ezsignfoldertype-Response( + pki_ezsignfoldertype_id = 5, + fki_font_id_annotation = 1, + fki_font_id_formfield = 1, + fki_font_id_signature = 1, + s_ezsignfoldertype_name_x = 'Default', + b_ezsignfoldertype_sendproofezsignsigner = False, + b_ezsignfoldertype_allowdownloadattachmentezsignsigner = False, + b_ezsignfoldertype_allowdownloadproofezsignsigner = False, + b_ezsignfoldertype_automaticsignature = False, + b_ezsignfoldertype_delegate = True, + b_ezsignfoldertype_discussion = True, + b_ezsignfoldertype_reassignezsignsigner = True, + b_ezsignfoldertype_reassignuser = True, + b_ezsignfoldertype_reassigngroup = True, + i_ezsignfoldertype_deadlinedays = 5, + i_ezsignfoldertype_fontsizeannotation = 10, + i_ezsignfoldertype_fontsizeformfield = 12, ), + fki_timezone_id = 247, + e_ezsignfolder_completion = 'PerEzsigndocument', + s_ezsignfoldertype_name_x = '', + fki_billingentityinternal_id = 1, + s_billingentityinternal_description_x = 'Default', + fki_ezsigntsarequirement_id = 1, + s_ezsigntsarequirement_description_x = 'No', + s_ezsignfolder_description = 'Test eZsign Folder', + t_ezsignfolder_note = 'This is a note', + b_ezsignfolder_isdisposable = False, + e_ezsignfolder_sendreminderfrequency = 'None', + i_ezsignfolder_sendreminderfirstdays = 30, + i_ezsignfolder_sendreminderotherdays = 30, + dt_ezsignfolder_delayedsenddate = '2020-12-31T23:59:59.000Z', + dt_ezsignfolder_duedate = '2020-12-31 23:59:59', + dt_ezsignfolder_sentdate = '2020-12-31T23:59:59.000Z', + dt_ezsignfolder_scheduledarchive = '2020-12-31 23:59:59', + dt_ezsignfolder_scheduleddispose = '2020-12-31', + e_ezsignfolder_step = 'Completed', + dt_ezsignfolder_close = '2020-12-31 23:59:59', + t_ezsignfolder_message = 'Hi everyone, + +This is the document I need you to review. + +Could you sign it before Monday please. + +Best Regards. + +Mary', + obj_audit = eZmaxApi.models.common_audit.Common-Audit( + obj_auditdetail_created = eZmaxApi.models.common_auditdetail.Common-Auditdetail( + fki_user_id = 70, + fki_apikey_id = 99, + s_user_loginname = 'JohnDoe', + s_user_lastname = 'Doe', + s_user_firstname = 'John', + s_apikey_description_x = 'Project X', + dt_auditdetail_date = '2020-12-31 23:59:59', ), + obj_auditdetail_modified = eZmaxApi.models.common_auditdetail.Common-Auditdetail( + fki_user_id = 70, + fki_apikey_id = 99, + s_user_loginname = 'JohnDoe', + s_user_lastname = 'Doe', + s_user_firstname = 'John', + s_apikey_description_x = 'Project X', + dt_auditdetail_date = '2020-12-31 23:59:59', ), ), + s_ezsignfolder_externalid = '{"ID": 1234, "TAGS": ["tag1", "tag2", "tag3"]}', obj_timezone = eZmaxApi.models.custom_timezone_with_code_response.Custom-TimezoneWithCode-Response( s_timezone_name = '', s_code = 'EST', ) ) else: return EzsignfolderResponseCompound( + pki_ezsignfolder_id = 33, + e_ezsignfolder_completion = 'PerEzsigndocument', + s_ezsignfolder_description = 'Test eZsign Folder', ) """ diff --git a/test/test_ezsignfolder_response_compound_v3.py b/test/test_ezsignfolder_response_compound_v3.py index 102a04f7c..a0ea9f60a 100644 --- a/test/test_ezsignfolder_response_compound_v3.py +++ b/test/test_ezsignfolder_response_compound_v3.py @@ -36,12 +36,83 @@ def make_instance(self, include_optional) -> EzsignfolderResponseCompoundV3: model = EzsignfolderResponseCompoundV3() if include_optional: return EzsignfolderResponseCompoundV3( + pki_ezsignfolder_id = 33, + fki_ezsignfoldertype_id = 5, + obj_ezsignfoldertype = eZmaxApi.models.custom_ezsignfoldertype_response.Custom-Ezsignfoldertype-Response( + pki_ezsignfoldertype_id = 5, + fki_font_id_annotation = 1, + fki_font_id_formfield = 1, + fki_font_id_signature = 1, + s_ezsignfoldertype_name_x = 'Default', + b_ezsignfoldertype_sendproofezsignsigner = False, + b_ezsignfoldertype_allowdownloadattachmentezsignsigner = False, + b_ezsignfoldertype_allowdownloadproofezsignsigner = False, + b_ezsignfoldertype_automaticsignature = False, + b_ezsignfoldertype_delegate = True, + b_ezsignfoldertype_discussion = True, + b_ezsignfoldertype_reassignezsignsigner = True, + b_ezsignfoldertype_reassignuser = True, + b_ezsignfoldertype_reassigngroup = True, + i_ezsignfoldertype_deadlinedays = 5, + i_ezsignfoldertype_fontsizeannotation = 10, + i_ezsignfoldertype_fontsizeformfield = 12, ), + fki_timezone_id = 247, + e_ezsignfolder_completion = 'PerEzsigndocument', + e_ezsignfolder_documentdependency = 'All', + s_ezsignfoldertype_name_x = '', + fki_billingentityinternal_id = 1, + s_billingentityinternal_description_x = 'Default', + fki_ezsigntsarequirement_id = 1, + s_ezsigntsarequirement_description_x = 'No', + s_ezsignfolder_description = 'Test eZsign Folder', + t_ezsignfolder_note = 'This is a note', + b_ezsignfolder_isdisposable = False, + i_ezsignfolder_sendreminderfirstdays = 30, + i_ezsignfolder_sendreminderotherdays = 30, + dt_ezsignfolder_delayedsenddate = '2020-12-31T23:59:59.000Z', + dt_ezsignfolder_duedate = '2020-12-31 23:59:59', + dt_ezsignfolder_sentdate = '2020-12-31T23:59:59.000Z', + dt_ezsignfolder_scheduledarchive = '2020-12-31 23:59:59', + dt_ezsignfolder_scheduleddispose = '2020-12-31', + e_ezsignfolder_step = 'Completed', + dt_ezsignfolder_close = '2020-12-31 23:59:59', + t_ezsignfolder_message = 'Hi everyone, + +This is the document I need you to review. + +Could you sign it before Monday please. + +Best Regards. + +Mary', + obj_audit = eZmaxApi.models.common_audit.Common-Audit( + obj_auditdetail_created = eZmaxApi.models.common_auditdetail.Common-Auditdetail( + fki_user_id = 70, + fki_apikey_id = 99, + s_user_loginname = 'JohnDoe', + s_user_lastname = 'Doe', + s_user_firstname = 'John', + s_apikey_description_x = 'Project X', + dt_auditdetail_date = '2020-12-31 23:59:59', ), + obj_auditdetail_modified = eZmaxApi.models.common_auditdetail.Common-Auditdetail( + fki_user_id = 70, + fki_apikey_id = 99, + s_user_loginname = 'JohnDoe', + s_user_lastname = 'Doe', + s_user_firstname = 'John', + s_apikey_description_x = 'Project X', + dt_auditdetail_date = '2020-12-31 23:59:59', ), ), + s_ezsignfolder_externalid = '{"ID": 1234, "TAGS": ["tag1", "tag2", "tag3"]}', + e_ezsignfolder_access = 'Full', obj_timezone = eZmaxApi.models.custom_timezone_with_code_response.Custom-TimezoneWithCode-Response( s_timezone_name = '', s_code = 'EST', ) ) else: return EzsignfolderResponseCompoundV3( + pki_ezsignfolder_id = 33, + e_ezsignfolder_completion = 'PerEzsigndocument', + s_ezsignfolder_description = 'Test eZsign Folder', ) """ diff --git a/test/test_ezsignfolder_send_v1_response.py b/test/test_ezsignfolder_send_v1_response.py index 3ddbfe9e6..1e6aa0407 100644 --- a/test/test_ezsignfolder_send_v1_response.py +++ b/test/test_ezsignfolder_send_v1_response.py @@ -36,9 +36,26 @@ def make_instance(self, include_optional) -> EzsignfolderSendV1Response: model = EzsignfolderSendV1Response() if include_optional: return EzsignfolderSendV1Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), + obj_debug = {"sMemoryUsage":"11,923MB","sRunTime":"0.6084s","iSQLSelects":3,"iSQLQueries":6,"a_objSQLQuery":[{"sQuery":"SELECT * FROM table","fDuration":1.0E-4},{"sQuery":"SELECT * FROM table","fDuration":1.0E-4}]} ) else: return EzsignfolderSendV1Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), ) """ diff --git a/test/test_ezsignfolder_send_v3_response.py b/test/test_ezsignfolder_send_v3_response.py index 47464cc2e..822bd2ae4 100644 --- a/test/test_ezsignfolder_send_v3_response.py +++ b/test/test_ezsignfolder_send_v3_response.py @@ -36,9 +36,26 @@ def make_instance(self, include_optional) -> EzsignfolderSendV3Response: model = EzsignfolderSendV3Response() if include_optional: return EzsignfolderSendV3Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), + obj_debug = {"sMemoryUsage":"11,923MB","sRunTime":"0.6084s","iSQLSelects":3,"iSQLQueries":6,"a_objSQLQuery":[{"sQuery":"SELECT * FROM table","fDuration":1.0E-4},{"sQuery":"SELECT * FROM table","fDuration":1.0E-4}]} ) else: return EzsignfolderSendV3Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), ) """ diff --git a/test/test_ezsignfolder_unsend_v1_response.py b/test/test_ezsignfolder_unsend_v1_response.py index 7b918607d..1ecfc6c5a 100644 --- a/test/test_ezsignfolder_unsend_v1_response.py +++ b/test/test_ezsignfolder_unsend_v1_response.py @@ -36,9 +36,26 @@ def make_instance(self, include_optional) -> EzsignfolderUnsendV1Response: model = EzsignfolderUnsendV1Response() if include_optional: return EzsignfolderUnsendV1Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), + obj_debug = {"sMemoryUsage":"11,923MB","sRunTime":"0.6084s","iSQLSelects":3,"iSQLQueries":6,"a_objSQLQuery":[{"sQuery":"SELECT * FROM table","fDuration":1.0E-4},{"sQuery":"SELECT * FROM table","fDuration":1.0E-4}]} ) else: return EzsignfolderUnsendV1Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), ) """ diff --git a/test/test_ezsignfoldersignerassociation_create_embedded_url_v1_response.py b/test/test_ezsignfoldersignerassociation_create_embedded_url_v1_response.py index feb41d604..3577e7b71 100644 --- a/test/test_ezsignfoldersignerassociation_create_embedded_url_v1_response.py +++ b/test/test_ezsignfoldersignerassociation_create_embedded_url_v1_response.py @@ -36,11 +36,28 @@ def make_instance(self, include_optional) -> EzsignfoldersignerassociationCreate model = EzsignfoldersignerassociationCreateEmbeddedUrlV1Response() if include_optional: return EzsignfoldersignerassociationCreateEmbeddedUrlV1Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), + obj_debug = {"sMemoryUsage":"11,923MB","sRunTime":"0.6084s","iSQLSelects":3,"iSQLQueries":6,"a_objSQLQuery":[{"sQuery":"SELECT * FROM table","fDuration":1.0E-4},{"sQuery":"SELECT * FROM table","fDuration":1.0E-4}]}, m_payload = eZmaxApi.models.ezsignfoldersignerassociation_create_embedded_url_v1_response_m_payload.ezsignfoldersignerassociation-createEmbeddedUrl-v1-Response-mPayload( s_embedded_url = '', ) ) else: return EzsignfoldersignerassociationCreateEmbeddedUrlV1Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), m_payload = eZmaxApi.models.ezsignfoldersignerassociation_create_embedded_url_v1_response_m_payload.ezsignfoldersignerassociation-createEmbeddedUrl-v1-Response-mPayload( s_embedded_url = '', ), ) diff --git a/test/test_ezsignfoldersignerassociation_create_object_v1_response.py b/test/test_ezsignfoldersignerassociation_create_object_v1_response.py index 31de6373b..b3118ed1d 100644 --- a/test/test_ezsignfoldersignerassociation_create_object_v1_response.py +++ b/test/test_ezsignfoldersignerassociation_create_object_v1_response.py @@ -36,6 +36,15 @@ def make_instance(self, include_optional) -> EzsignfoldersignerassociationCreate model = EzsignfoldersignerassociationCreateObjectV1Response() if include_optional: return EzsignfoldersignerassociationCreateObjectV1Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), + obj_debug = {"sMemoryUsage":"11,923MB","sRunTime":"0.6084s","iSQLSelects":3,"iSQLQueries":6,"a_objSQLQuery":[{"sQuery":"SELECT * FROM table","fDuration":1.0E-4},{"sQuery":"SELECT * FROM table","fDuration":1.0E-4}]}, m_payload = eZmaxApi.models.ezsignfoldersignerassociation_create_object_v1_response_m_payload.ezsignfoldersignerassociation-createObject-v1-Response-mPayload( a_pki_ezsignfoldersignerassociation_id = [ 20 @@ -43,6 +52,14 @@ def make_instance(self, include_optional) -> EzsignfoldersignerassociationCreate ) else: return EzsignfoldersignerassociationCreateObjectV1Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), m_payload = eZmaxApi.models.ezsignfoldersignerassociation_create_object_v1_response_m_payload.ezsignfoldersignerassociation-createObject-v1-Response-mPayload( a_pki_ezsignfoldersignerassociation_id = [ 20 diff --git a/test/test_ezsignfoldersignerassociation_create_object_v2_response.py b/test/test_ezsignfoldersignerassociation_create_object_v2_response.py index 06ddcb445..f413f47d1 100644 --- a/test/test_ezsignfoldersignerassociation_create_object_v2_response.py +++ b/test/test_ezsignfoldersignerassociation_create_object_v2_response.py @@ -36,6 +36,15 @@ def make_instance(self, include_optional) -> EzsignfoldersignerassociationCreate model = EzsignfoldersignerassociationCreateObjectV2Response() if include_optional: return EzsignfoldersignerassociationCreateObjectV2Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), + obj_debug = {"sMemoryUsage":"11,923MB","sRunTime":"0.6084s","iSQLSelects":3,"iSQLQueries":6,"a_objSQLQuery":[{"sQuery":"SELECT * FROM table","fDuration":1.0E-4},{"sQuery":"SELECT * FROM table","fDuration":1.0E-4}]}, m_payload = eZmaxApi.models.ezsignfoldersignerassociation_create_object_v2_response_m_payload.ezsignfoldersignerassociation-createObject-v2-Response-mPayload( a_pki_ezsignfoldersignerassociation_id = [ 20 @@ -43,6 +52,14 @@ def make_instance(self, include_optional) -> EzsignfoldersignerassociationCreate ) else: return EzsignfoldersignerassociationCreateObjectV2Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), m_payload = eZmaxApi.models.ezsignfoldersignerassociation_create_object_v2_response_m_payload.ezsignfoldersignerassociation-createObject-v2-Response-mPayload( a_pki_ezsignfoldersignerassociation_id = [ 20 diff --git a/test/test_ezsignfoldersignerassociation_delete_object_v1_response.py b/test/test_ezsignfoldersignerassociation_delete_object_v1_response.py index 34466f7eb..c73f6a904 100644 --- a/test/test_ezsignfoldersignerassociation_delete_object_v1_response.py +++ b/test/test_ezsignfoldersignerassociation_delete_object_v1_response.py @@ -36,9 +36,26 @@ def make_instance(self, include_optional) -> EzsignfoldersignerassociationDelete model = EzsignfoldersignerassociationDeleteObjectV1Response() if include_optional: return EzsignfoldersignerassociationDeleteObjectV1Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), + obj_debug = {"sMemoryUsage":"11,923MB","sRunTime":"0.6084s","iSQLSelects":3,"iSQLQueries":6,"a_objSQLQuery":[{"sQuery":"SELECT * FROM table","fDuration":1.0E-4},{"sQuery":"SELECT * FROM table","fDuration":1.0E-4}]} ) else: return EzsignfoldersignerassociationDeleteObjectV1Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), ) """ diff --git a/test/test_ezsignfoldersignerassociation_edit_object_v1_response.py b/test/test_ezsignfoldersignerassociation_edit_object_v1_response.py index 1e9573473..f083197dc 100644 --- a/test/test_ezsignfoldersignerassociation_edit_object_v1_response.py +++ b/test/test_ezsignfoldersignerassociation_edit_object_v1_response.py @@ -36,9 +36,26 @@ def make_instance(self, include_optional) -> EzsignfoldersignerassociationEditOb model = EzsignfoldersignerassociationEditObjectV1Response() if include_optional: return EzsignfoldersignerassociationEditObjectV1Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), + obj_debug = {"sMemoryUsage":"11,923MB","sRunTime":"0.6084s","iSQLSelects":3,"iSQLQueries":6,"a_objSQLQuery":[{"sQuery":"SELECT * FROM table","fDuration":1.0E-4},{"sQuery":"SELECT * FROM table","fDuration":1.0E-4}]} ) else: return EzsignfoldersignerassociationEditObjectV1Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), ) """ diff --git a/test/test_ezsignfoldersignerassociation_force_disconnect_v1_response.py b/test/test_ezsignfoldersignerassociation_force_disconnect_v1_response.py index 4e250674a..6d89a9dbe 100644 --- a/test/test_ezsignfoldersignerassociation_force_disconnect_v1_response.py +++ b/test/test_ezsignfoldersignerassociation_force_disconnect_v1_response.py @@ -36,9 +36,26 @@ def make_instance(self, include_optional) -> EzsignfoldersignerassociationForceD model = EzsignfoldersignerassociationForceDisconnectV1Response() if include_optional: return EzsignfoldersignerassociationForceDisconnectV1Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), + obj_debug = {"sMemoryUsage":"11,923MB","sRunTime":"0.6084s","iSQLSelects":3,"iSQLQueries":6,"a_objSQLQuery":[{"sQuery":"SELECT * FROM table","fDuration":1.0E-4},{"sQuery":"SELECT * FROM table","fDuration":1.0E-4}]} ) else: return EzsignfoldersignerassociationForceDisconnectV1Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), ) """ diff --git a/test/test_ezsignfoldersignerassociation_get_in_person_login_url_v1_response.py b/test/test_ezsignfoldersignerassociation_get_in_person_login_url_v1_response.py index d92695058..5a2b7276b 100644 --- a/test/test_ezsignfoldersignerassociation_get_in_person_login_url_v1_response.py +++ b/test/test_ezsignfoldersignerassociation_get_in_person_login_url_v1_response.py @@ -36,11 +36,28 @@ def make_instance(self, include_optional) -> EzsignfoldersignerassociationGetInP model = EzsignfoldersignerassociationGetInPersonLoginUrlV1Response() if include_optional: return EzsignfoldersignerassociationGetInPersonLoginUrlV1Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), + obj_debug = {"sMemoryUsage":"11,923MB","sRunTime":"0.6084s","iSQLSelects":3,"iSQLQueries":6,"a_objSQLQuery":[{"sQuery":"SELECT * FROM table","fDuration":1.0E-4},{"sQuery":"SELECT * FROM table","fDuration":1.0E-4}]}, m_payload = eZmaxApi.models.ezsignfoldersignerassociation_get_in_person_login_url_v1_response_m_payload.ezsignfoldersignerassociation-getInPersonLoginUrl-v1-Response-mPayload( s_login_url = '', ) ) else: return EzsignfoldersignerassociationGetInPersonLoginUrlV1Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), m_payload = eZmaxApi.models.ezsignfoldersignerassociation_get_in_person_login_url_v1_response_m_payload.ezsignfoldersignerassociation-getInPersonLoginUrl-v1-Response-mPayload( s_login_url = '', ), ) diff --git a/test/test_ezsignfoldersignerassociation_get_object_v1_response.py b/test/test_ezsignfoldersignerassociation_get_object_v1_response.py index 1a7e0b27e..e9cc28b2f 100644 --- a/test/test_ezsignfoldersignerassociation_get_object_v1_response.py +++ b/test/test_ezsignfoldersignerassociation_get_object_v1_response.py @@ -36,11 +36,28 @@ def make_instance(self, include_optional) -> EzsignfoldersignerassociationGetObj model = EzsignfoldersignerassociationGetObjectV1Response() if include_optional: return EzsignfoldersignerassociationGetObjectV1Response( - m_payload = eZmaxApi.models.ezsignfoldersignerassociation_response_compound.ezsignfoldersignerassociation-ResponseCompound() + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), + obj_debug = {"sMemoryUsage":"11,923MB","sRunTime":"0.6084s","iSQLSelects":3,"iSQLQueries":6,"a_objSQLQuery":[{"sQuery":"SELECT * FROM table","fDuration":1.0E-4},{"sQuery":"SELECT * FROM table","fDuration":1.0E-4}]}, + m_payload = eZmaxApi.models.ezsignfoldersignerassociation_get_object_v1_response_m_payload.ezsignfoldersignerassociation-getObject-v1-Response-mPayload() ) else: return EzsignfoldersignerassociationGetObjectV1Response( - m_payload = eZmaxApi.models.ezsignfoldersignerassociation_response_compound.ezsignfoldersignerassociation-ResponseCompound(), + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), + m_payload = eZmaxApi.models.ezsignfoldersignerassociation_get_object_v1_response_m_payload.ezsignfoldersignerassociation-getObject-v1-Response-mPayload(), ) """ diff --git a/test/test_ezsignfoldersignerassociation_get_object_v1_response_m_payload.py b/test/test_ezsignfoldersignerassociation_get_object_v1_response_m_payload.py index 02591e5c7..79830fb69 100644 --- a/test/test_ezsignfoldersignerassociation_get_object_v1_response_m_payload.py +++ b/test/test_ezsignfoldersignerassociation_get_object_v1_response_m_payload.py @@ -36,9 +36,45 @@ def make_instance(self, include_optional) -> EzsignfoldersignerassociationGetObj model = EzsignfoldersignerassociationGetObjectV1ResponseMPayload() if include_optional: return EzsignfoldersignerassociationGetObjectV1ResponseMPayload( + pki_ezsignfoldersignerassociation_id = 20, + fki_ezsignfolder_id = 33, + b_ezsignfoldersignerassociation_delayedsend = True, + b_ezsignfoldersignerassociation_receivecopy = True, + t_ezsignfoldersignerassociation_message = 'Hi John, + +This is the document I need you to review. + +Could you sign it before Monday please. + +Best Regards. + +Mary', + b_ezsignfoldersignerassociation_allowsigninginperson = True, + obj_ezsignsignergroup = eZmaxApi.models.ezsignsignergroup_response_compound.ezsignsignergroup-ResponseCompound(), + obj_user = eZmaxApi.models.ezsignfoldersignerassociation_response_compound_user.ezsignfoldersignerassociation-ResponseCompound-User( + pki_user_id = 70, + fki_language_id = 2, + s_user_firstname = 'John', + s_user_lastname = 'Doe', + s_email_address = 'email@example.com', ), + obj_ezsignsigner = eZmaxApi.models.ezsignsigner_response_compound.ezsignsigner-ResponseCompound() ) else: return EzsignfoldersignerassociationGetObjectV1ResponseMPayload( + pki_ezsignfoldersignerassociation_id = 20, + fki_ezsignfolder_id = 33, + b_ezsignfoldersignerassociation_delayedsend = True, + b_ezsignfoldersignerassociation_receivecopy = True, + t_ezsignfoldersignerassociation_message = 'Hi John, + +This is the document I need you to review. + +Could you sign it before Monday please. + +Best Regards. + +Mary', + b_ezsignfoldersignerassociation_allowsigninginperson = True, ) """ diff --git a/test/test_ezsignfoldersignerassociation_get_object_v2_response.py b/test/test_ezsignfoldersignerassociation_get_object_v2_response.py index 0f819bcf5..958108a20 100644 --- a/test/test_ezsignfoldersignerassociation_get_object_v2_response.py +++ b/test/test_ezsignfoldersignerassociation_get_object_v2_response.py @@ -36,11 +36,28 @@ def make_instance(self, include_optional) -> EzsignfoldersignerassociationGetObj model = EzsignfoldersignerassociationGetObjectV2Response() if include_optional: return EzsignfoldersignerassociationGetObjectV2Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), + obj_debug = {"sMemoryUsage":"11,923MB","sRunTime":"0.6084s","iSQLSelects":3,"iSQLQueries":6,"a_objSQLQuery":[{"sQuery":"SELECT * FROM table","fDuration":1.0E-4},{"sQuery":"SELECT * FROM table","fDuration":1.0E-4}]}, m_payload = eZmaxApi.models.ezsignfoldersignerassociation_get_object_v2_response_m_payload.ezsignfoldersignerassociation-getObject-v2-Response-mPayload( obj_ezsignfoldersignerassociation = eZmaxApi.models.ezsignfoldersignerassociation_response_compound.ezsignfoldersignerassociation-ResponseCompound(), ) ) else: return EzsignfoldersignerassociationGetObjectV2Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), m_payload = eZmaxApi.models.ezsignfoldersignerassociation_get_object_v2_response_m_payload.ezsignfoldersignerassociation-getObject-v2-Response-mPayload( obj_ezsignfoldersignerassociation = eZmaxApi.models.ezsignfoldersignerassociation_response_compound.ezsignfoldersignerassociation-ResponseCompound(), ), ) diff --git a/test/test_ezsignfoldersignerassociation_patch_object_v1_response.py b/test/test_ezsignfoldersignerassociation_patch_object_v1_response.py index 1d0f0229f..77038d365 100644 --- a/test/test_ezsignfoldersignerassociation_patch_object_v1_response.py +++ b/test/test_ezsignfoldersignerassociation_patch_object_v1_response.py @@ -36,9 +36,26 @@ def make_instance(self, include_optional) -> EzsignfoldersignerassociationPatchO model = EzsignfoldersignerassociationPatchObjectV1Response() if include_optional: return EzsignfoldersignerassociationPatchObjectV1Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), + obj_debug = {"sMemoryUsage":"11,923MB","sRunTime":"0.6084s","iSQLSelects":3,"iSQLQueries":6,"a_objSQLQuery":[{"sQuery":"SELECT * FROM table","fDuration":1.0E-4},{"sQuery":"SELECT * FROM table","fDuration":1.0E-4}]} ) else: return EzsignfoldersignerassociationPatchObjectV1Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), ) """ diff --git a/test/test_ezsignfoldersignerassociation_reassign_v1_response.py b/test/test_ezsignfoldersignerassociation_reassign_v1_response.py index a55998140..5cfe83341 100644 --- a/test/test_ezsignfoldersignerassociation_reassign_v1_response.py +++ b/test/test_ezsignfoldersignerassociation_reassign_v1_response.py @@ -36,9 +36,26 @@ def make_instance(self, include_optional) -> EzsignfoldersignerassociationReassi model = EzsignfoldersignerassociationReassignV1Response() if include_optional: return EzsignfoldersignerassociationReassignV1Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), + obj_debug = {"sMemoryUsage":"11,923MB","sRunTime":"0.6084s","iSQLSelects":3,"iSQLQueries":6,"a_objSQLQuery":[{"sQuery":"SELECT * FROM table","fDuration":1.0E-4},{"sQuery":"SELECT * FROM table","fDuration":1.0E-4}]} ) else: return EzsignfoldersignerassociationReassignV1Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), ) """ diff --git a/test/test_ezsignfoldersignerassociation_request_compound.py b/test/test_ezsignfoldersignerassociation_request_compound.py index 411eb46c5..8daa11965 100644 --- a/test/test_ezsignfoldersignerassociation_request_compound.py +++ b/test/test_ezsignfoldersignerassociation_request_compound.py @@ -36,10 +36,25 @@ def make_instance(self, include_optional) -> EzsignfoldersignerassociationReques model = EzsignfoldersignerassociationRequestCompound() if include_optional: return EzsignfoldersignerassociationRequestCompound( + pki_ezsignfoldersignerassociation_id = 20, + fki_user_id = 70, + fki_ezsignsignergroup_id = 27, + fki_ezsignfolder_id = 33, + b_ezsignfoldersignerassociation_receivecopy = True, + t_ezsignfoldersignerassociation_message = 'Hi John, + +This is the document I need you to review. + +Could you sign it before Monday please. + +Best Regards. + +Mary', obj_ezsignsigner = eZmaxApi.models.ezsignsigner_request_compound.ezsignsigner-RequestCompound() ) else: return EzsignfoldersignerassociationRequestCompound( + fki_ezsignfolder_id = 33, ) """ diff --git a/test/test_ezsignfoldersignerassociation_response_compound.py b/test/test_ezsignfoldersignerassociation_response_compound.py index 32ad12f36..70651abdd 100644 --- a/test/test_ezsignfoldersignerassociation_response_compound.py +++ b/test/test_ezsignfoldersignerassociation_response_compound.py @@ -36,6 +36,20 @@ def make_instance(self, include_optional) -> EzsignfoldersignerassociationRespon model = EzsignfoldersignerassociationResponseCompound() if include_optional: return EzsignfoldersignerassociationResponseCompound( + pki_ezsignfoldersignerassociation_id = 20, + fki_ezsignfolder_id = 33, + b_ezsignfoldersignerassociation_delayedsend = True, + b_ezsignfoldersignerassociation_receivecopy = True, + t_ezsignfoldersignerassociation_message = 'Hi John, + +This is the document I need you to review. + +Could you sign it before Monday please. + +Best Regards. + +Mary', + b_ezsignfoldersignerassociation_allowsigninginperson = True, obj_ezsignsignergroup = eZmaxApi.models.ezsignsignergroup_response_compound.ezsignsignergroup-ResponseCompound(), obj_user = eZmaxApi.models.ezsignfoldersignerassociation_response_compound_user.ezsignfoldersignerassociation-ResponseCompound-User( pki_user_id = 70, @@ -47,6 +61,20 @@ def make_instance(self, include_optional) -> EzsignfoldersignerassociationRespon ) else: return EzsignfoldersignerassociationResponseCompound( + pki_ezsignfoldersignerassociation_id = 20, + fki_ezsignfolder_id = 33, + b_ezsignfoldersignerassociation_delayedsend = True, + b_ezsignfoldersignerassociation_receivecopy = True, + t_ezsignfoldersignerassociation_message = 'Hi John, + +This is the document I need you to review. + +Could you sign it before Monday please. + +Best Regards. + +Mary', + b_ezsignfoldersignerassociation_allowsigninginperson = True, ) """ diff --git a/test/test_ezsignfoldertype_create_object_v3_response.py b/test/test_ezsignfoldertype_create_object_v3_response.py index c1c818be3..7e373e072 100644 --- a/test/test_ezsignfoldertype_create_object_v3_response.py +++ b/test/test_ezsignfoldertype_create_object_v3_response.py @@ -36,6 +36,15 @@ def make_instance(self, include_optional) -> EzsignfoldertypeCreateObjectV3Respo model = EzsignfoldertypeCreateObjectV3Response() if include_optional: return EzsignfoldertypeCreateObjectV3Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), + obj_debug = {"sMemoryUsage":"11,923MB","sRunTime":"0.6084s","iSQLSelects":3,"iSQLQueries":6,"a_objSQLQuery":[{"sQuery":"SELECT * FROM table","fDuration":1.0E-4},{"sQuery":"SELECT * FROM table","fDuration":1.0E-4}]}, m_payload = eZmaxApi.models.ezsignfoldertype_create_object_v3_response_m_payload.ezsignfoldertype-createObject-v3-Response-mPayload( a_pki_ezsignfoldertype_id = [ 5 @@ -43,6 +52,14 @@ def make_instance(self, include_optional) -> EzsignfoldertypeCreateObjectV3Respo ) else: return EzsignfoldertypeCreateObjectV3Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), m_payload = eZmaxApi.models.ezsignfoldertype_create_object_v3_response_m_payload.ezsignfoldertype-createObject-v3-Response-mPayload( a_pki_ezsignfoldertype_id = [ 5 diff --git a/test/test_ezsignfoldertype_edit_object_v3_response.py b/test/test_ezsignfoldertype_edit_object_v3_response.py index ead26e757..3901e2415 100644 --- a/test/test_ezsignfoldertype_edit_object_v3_response.py +++ b/test/test_ezsignfoldertype_edit_object_v3_response.py @@ -36,9 +36,26 @@ def make_instance(self, include_optional) -> EzsignfoldertypeEditObjectV3Respons model = EzsignfoldertypeEditObjectV3Response() if include_optional: return EzsignfoldertypeEditObjectV3Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), + obj_debug = {"sMemoryUsage":"11,923MB","sRunTime":"0.6084s","iSQLSelects":3,"iSQLQueries":6,"a_objSQLQuery":[{"sQuery":"SELECT * FROM table","fDuration":1.0E-4},{"sQuery":"SELECT * FROM table","fDuration":1.0E-4}]} ) else: return EzsignfoldertypeEditObjectV3Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), ) """ diff --git a/test/test_ezsignfoldertype_get_autocomplete_v2_response.py b/test/test_ezsignfoldertype_get_autocomplete_v2_response.py index 45e8dcce3..edd0bb313 100644 --- a/test/test_ezsignfoldertype_get_autocomplete_v2_response.py +++ b/test/test_ezsignfoldertype_get_autocomplete_v2_response.py @@ -36,6 +36,15 @@ def make_instance(self, include_optional) -> EzsignfoldertypeGetAutocompleteV2Re model = EzsignfoldertypeGetAutocompleteV2Response() if include_optional: return EzsignfoldertypeGetAutocompleteV2Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), + obj_debug = {"sMemoryUsage":"11,923MB","sRunTime":"0.6084s","iSQLSelects":3,"iSQLQueries":6,"a_objSQLQuery":[{"sQuery":"SELECT * FROM table","fDuration":1.0E-4},{"sQuery":"SELECT * FROM table","fDuration":1.0E-4}]}, m_payload = eZmaxApi.models.ezsignfoldertype_get_autocomplete_v2_response_m_payload.ezsignfoldertype-getAutocomplete-v2-Response-mPayload( a_obj_ezsignfoldertype = [ eZmaxApi.models.ezsignfoldertype_autocomplete_element_response.ezsignfoldertype-AutocompleteElement-Response( @@ -47,6 +56,14 @@ def make_instance(self, include_optional) -> EzsignfoldertypeGetAutocompleteV2Re ) else: return EzsignfoldertypeGetAutocompleteV2Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), m_payload = eZmaxApi.models.ezsignfoldertype_get_autocomplete_v2_response_m_payload.ezsignfoldertype-getAutocomplete-v2-Response-mPayload( a_obj_ezsignfoldertype = [ eZmaxApi.models.ezsignfoldertype_autocomplete_element_response.ezsignfoldertype-AutocompleteElement-Response( diff --git a/test/test_ezsignfoldertype_get_list_v1_response.py b/test/test_ezsignfoldertype_get_list_v1_response.py index 3f99003e1..422ec271c 100644 --- a/test/test_ezsignfoldertype_get_list_v1_response.py +++ b/test/test_ezsignfoldertype_get_list_v1_response.py @@ -36,10 +36,13 @@ def make_instance(self, include_optional) -> EzsignfoldertypeGetListV1Response: model = EzsignfoldertypeGetListV1Response() if include_optional: return EzsignfoldertypeGetListV1Response( + 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.ezsignfoldertype_get_list_v1_response_m_payload.ezsignfoldertype-getList-v1-Response-mPayload() ) else: return EzsignfoldertypeGetListV1Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload_get_list.Common-Response-objDebugPayload_getList(), m_payload = eZmaxApi.models.ezsignfoldertype_get_list_v1_response_m_payload.ezsignfoldertype-getList-v1-Response-mPayload(), ) """ diff --git a/test/test_ezsignfoldertype_get_list_v1_response_m_payload.py b/test/test_ezsignfoldertype_get_list_v1_response_m_payload.py index 36b4a9ce0..02a9b8dbe 100644 --- a/test/test_ezsignfoldertype_get_list_v1_response_m_payload.py +++ b/test/test_ezsignfoldertype_get_list_v1_response_m_payload.py @@ -36,6 +36,8 @@ def make_instance(self, include_optional) -> EzsignfoldertypeGetListV1ResponseMP model = EzsignfoldertypeGetListV1ResponseMPayload() if include_optional: return EzsignfoldertypeGetListV1ResponseMPayload( + i_row_returned = 100, + i_row_filtered = 533, a_obj_ezsignfoldertype = [ eZmaxApi.models.ezsignfoldertype_list_element.ezsignfoldertype-ListElement( pki_ezsignfoldertype_id = 5, @@ -46,6 +48,8 @@ def make_instance(self, include_optional) -> EzsignfoldertypeGetListV1ResponseMP ) else: return EzsignfoldertypeGetListV1ResponseMPayload( + i_row_returned = 100, + i_row_filtered = 533, a_obj_ezsignfoldertype = [ eZmaxApi.models.ezsignfoldertype_list_element.ezsignfoldertype-ListElement( pki_ezsignfoldertype_id = 5, diff --git a/test/test_ezsignfoldertype_get_object_v2_response.py b/test/test_ezsignfoldertype_get_object_v2_response.py index fb8f7b8d3..02d3d3cf4 100644 --- a/test/test_ezsignfoldertype_get_object_v2_response.py +++ b/test/test_ezsignfoldertype_get_object_v2_response.py @@ -36,11 +36,28 @@ def make_instance(self, include_optional) -> EzsignfoldertypeGetObjectV2Response model = EzsignfoldertypeGetObjectV2Response() if include_optional: return EzsignfoldertypeGetObjectV2Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), + obj_debug = {"sMemoryUsage":"11,923MB","sRunTime":"0.6084s","iSQLSelects":3,"iSQLQueries":6,"a_objSQLQuery":[{"sQuery":"SELECT * FROM table","fDuration":1.0E-4},{"sQuery":"SELECT * FROM table","fDuration":1.0E-4}]}, m_payload = eZmaxApi.models.ezsignfoldertype_get_object_v2_response_m_payload.ezsignfoldertype-getObject-v2-Response-mPayload( obj_ezsignfoldertype = eZmaxApi.models.ezsignfoldertype_response_compound.ezsignfoldertype-ResponseCompound(), ) ) else: return EzsignfoldertypeGetObjectV2Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), m_payload = eZmaxApi.models.ezsignfoldertype_get_object_v2_response_m_payload.ezsignfoldertype-getObject-v2-Response-mPayload( obj_ezsignfoldertype = eZmaxApi.models.ezsignfoldertype_response_compound.ezsignfoldertype-ResponseCompound(), ), ) diff --git a/test/test_ezsignfoldertype_get_object_v4_response.py b/test/test_ezsignfoldertype_get_object_v4_response.py index cfea93345..c55e99eb3 100644 --- a/test/test_ezsignfoldertype_get_object_v4_response.py +++ b/test/test_ezsignfoldertype_get_object_v4_response.py @@ -36,11 +36,28 @@ def make_instance(self, include_optional) -> EzsignfoldertypeGetObjectV4Response model = EzsignfoldertypeGetObjectV4Response() if include_optional: return EzsignfoldertypeGetObjectV4Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), + obj_debug = {"sMemoryUsage":"11,923MB","sRunTime":"0.6084s","iSQLSelects":3,"iSQLQueries":6,"a_objSQLQuery":[{"sQuery":"SELECT * FROM table","fDuration":1.0E-4},{"sQuery":"SELECT * FROM table","fDuration":1.0E-4}]}, m_payload = eZmaxApi.models.ezsignfoldertype_get_object_v4_response_m_payload.ezsignfoldertype-getObject-v4-Response-mPayload( obj_ezsignfoldertype = eZmaxApi.models.ezsignfoldertype_response_compound_v4.ezsignfoldertype-ResponseCompoundV4(), ) ) else: return EzsignfoldertypeGetObjectV4Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), m_payload = eZmaxApi.models.ezsignfoldertype_get_object_v4_response_m_payload.ezsignfoldertype-getObject-v4-Response-mPayload( obj_ezsignfoldertype = eZmaxApi.models.ezsignfoldertype_response_compound_v4.ezsignfoldertype-ResponseCompoundV4(), ), ) diff --git a/test/test_ezsignfoldertype_request_compound_v3.py b/test/test_ezsignfoldertype_request_compound_v3.py index 99b2f5212..59e0260e7 100644 --- a/test/test_ezsignfoldertype_request_compound_v3.py +++ b/test/test_ezsignfoldertype_request_compound_v3.py @@ -36,6 +36,78 @@ def make_instance(self, include_optional) -> EzsignfoldertypeRequestCompoundV3: model = EzsignfoldertypeRequestCompoundV3() if include_optional: return EzsignfoldertypeRequestCompoundV3( + pki_ezsignfoldertype_id = 5, + obj_ezsignfoldertype_name = eZmaxApi.models.multilingual_ezsignfoldertype_name.Multilingual-EzsignfoldertypeName( + s_ezsignfoldertype_name1 = 'Embauche', + s_ezsignfoldertype_name2 = 'Recruitment', ), + fki_branding_id = 78, + fki_billingentityinternal_id = 1, + fki_ezsigntsarequirement_id = 1, + fki_font_id_annotation = 1, + fki_font_id_formfield = 1, + fki_font_id_signature = 1, + fki_pdfalevel_id_convert = 102, + a_fki_pdfalevel_id = [ + 102 + ], + a_fki_userlogintype_id = [ + 2 + ], + a_fki_usergroup_id_all = [ + 2 + ], + a_fki_usergroup_id_restricted = [ + 2 + ], + a_fki_usergroup_id_template = [ + 2 + ], + e_ezsignfoldertype_documentdependency = 'All', + s_email_address_signed = 'email@example.com', + s_email_address_summary = 'email@example.com', + e_ezsignfoldertype_pdfarequirement = 'None', + e_ezsignfoldertype_pdfanoncompliantaction = 'Reject', + e_ezsignfoldertype_privacylevel = 'User', + i_ezsignfoldertype_fontsizeannotation = 10, + i_ezsignfoldertype_fontsizeformfield = 12, + i_ezsignfoldertype_sendreminderfirstdays = 30, + i_ezsignfoldertype_sendreminderotherdays = 30, + i_ezsignfoldertype_archivaldays = 30, + e_ezsignfoldertype_disposal = 'Manual', + e_ezsignfoldertype_completion = 'PerEzsigndocument', + i_ezsignfoldertype_disposaldays = 365, + i_ezsignfoldertype_deadlinedays = 5, + b_ezsignfoldertype_prematurelyendautomatically = True, + i_ezsignfoldertype_prematurelyendautomaticallydays = 5, + b_ezsignfoldertype_automaticsignature = False, + b_ezsignfoldertype_delegate = True, + b_ezsignfoldertype_discussion = True, + b_ezsignfoldertype_logrecipientinproof = False, + b_ezsignfoldertype_reassignezsignsigner = True, + b_ezsignfoldertype_reassignuser = True, + b_ezsignfoldertype_reassigngroup = True, + b_ezsignfoldertype_sendsignedtoezsignsigner = False, + b_ezsignfoldertype_sendsignedtouser = False, + b_ezsignfoldertype_sendattachmentezsignsigner = False, + b_ezsignfoldertype_sendproofezsignsigner = False, + b_ezsignfoldertype_sendattachmentuser = False, + b_ezsignfoldertype_sendproofuser = False, + b_ezsignfoldertype_sendproofemail = False, + b_ezsignfoldertype_allowdownloadattachmentezsignsigner = False, + b_ezsignfoldertype_allowdownloadproofezsignsigner = False, + b_ezsignfoldertype_sendproofreceivealldocument = False, + b_ezsignfoldertype_sendsignedtodocumentowner = False, + b_ezsignfoldertype_sendsignedtofolderowner = False, + b_ezsignfoldertype_sendsignedtofullgroup = False, + b_ezsignfoldertype_sendsignedtolimitedgroup = False, + b_ezsignfoldertype_sendsignedtocolleague = False, + b_ezsignfoldertype_sendsummarytodocumentowner = False, + b_ezsignfoldertype_sendsummarytofolderowner = False, + b_ezsignfoldertype_sendsummarytofullgroup = False, + b_ezsignfoldertype_sendsummarytolimitedgroup = False, + b_ezsignfoldertype_sendsummarytocolleague = False, + e_ezsignfoldertype_signeraccess = 'No', + b_ezsignfoldertype_isactive = True, a_fki_user_id_signed = [ 70 ], @@ -45,6 +117,25 @@ def make_instance(self, include_optional) -> EzsignfoldertypeRequestCompoundV3: ) else: return EzsignfoldertypeRequestCompoundV3( + obj_ezsignfoldertype_name = eZmaxApi.models.multilingual_ezsignfoldertype_name.Multilingual-EzsignfoldertypeName( + s_ezsignfoldertype_name1 = 'Embauche', + s_ezsignfoldertype_name2 = 'Recruitment', ), + fki_branding_id = 78, + a_fki_userlogintype_id = [ + 2 + ], + e_ezsignfoldertype_privacylevel = 'User', + i_ezsignfoldertype_archivaldays = 30, + e_ezsignfoldertype_disposal = 'Manual', + e_ezsignfoldertype_completion = 'PerEzsigndocument', + i_ezsignfoldertype_deadlinedays = 5, + b_ezsignfoldertype_sendsignedtodocumentowner = False, + b_ezsignfoldertype_sendsignedtofolderowner = False, + b_ezsignfoldertype_sendsignedtocolleague = False, + b_ezsignfoldertype_sendsummarytodocumentowner = False, + b_ezsignfoldertype_sendsummarytofolderowner = False, + b_ezsignfoldertype_sendsummarytocolleague = False, + b_ezsignfoldertype_isactive = True, ) """ diff --git a/test/test_ezsignfoldertype_response_compound.py b/test/test_ezsignfoldertype_response_compound.py index ce304e065..00a7a491c 100644 --- a/test/test_ezsignfoldertype_response_compound.py +++ b/test/test_ezsignfoldertype_response_compound.py @@ -36,6 +36,64 @@ def make_instance(self, include_optional) -> EzsignfoldertypeResponseCompound: model = EzsignfoldertypeResponseCompound() if include_optional: return EzsignfoldertypeResponseCompound( + pki_ezsignfoldertype_id = 5, + obj_ezsignfoldertype_name = eZmaxApi.models.multilingual_ezsignfoldertype_name.Multilingual-EzsignfoldertypeName( + s_ezsignfoldertype_name1 = 'Embauche', + s_ezsignfoldertype_name2 = 'Recruitment', ), + fki_branding_id = 78, + fki_billingentityinternal_id = 1, + fki_usergroup_id = 2, + fki_usergroup_id_restricted = 2, + fki_ezsigntsarequirement_id = 1, + s_branding_description_x = 'Company X', + s_billingentityinternal_description_x = 'Default', + s_ezsigntsarequirement_description_x = 'No', + s_email_address_signed = 'email@example.com', + s_email_address_summary = 'email@example.com', + s_usergroup_name_x = 'Administration', + s_usergroup_name_x_restricted = 'Administration', + e_ezsignfoldertype_privacylevel = 'User', + e_ezsignfoldertype_sendreminderfrequency = 'None', + i_ezsignfoldertype_archivaldays = 30, + e_ezsignfoldertype_disposal = 'Manual', + e_ezsignfoldertype_completion = 'PerEzsigndocument', + i_ezsignfoldertype_disposaldays = 365, + i_ezsignfoldertype_deadlinedays = 5, + b_ezsignfoldertype_automaticsignature = False, + b_ezsignfoldertype_delegate = True, + b_ezsignfoldertype_discussion = True, + b_ezsignfoldertype_reassignezsignsigner = True, + b_ezsignfoldertype_reassignuser = True, + b_ezsignfoldertype_reassigngroup = True, + b_ezsignfoldertype_sendsignedtoezsignsigner = False, + b_ezsignfoldertype_sendsignedtouser = False, + b_ezsignfoldertype_sendattachmentezsignsigner = False, + b_ezsignfoldertype_sendproofezsignsigner = False, + b_ezsignfoldertype_sendattachmentuser = False, + b_ezsignfoldertype_sendproofuser = False, + b_ezsignfoldertype_sendproofemail = False, + b_ezsignfoldertype_allowdownloadattachmentezsignsigner = False, + b_ezsignfoldertype_allowdownloadproofezsignsigner = False, + b_ezsignfoldertype_sendproofreceivealldocument = False, + b_ezsignfoldertype_sendsignedtodocumentowner = False, + b_ezsignfoldertype_sendsignedtofolderowner = False, + b_ezsignfoldertype_sendsignedtofullgroup = False, + b_ezsignfoldertype_sendsignedtolimitedgroup = False, + b_ezsignfoldertype_sendsignedtocolleague = False, + b_ezsignfoldertype_sendsummarytodocumentowner = False, + b_ezsignfoldertype_sendsummarytofolderowner = False, + b_ezsignfoldertype_sendsummarytofullgroup = False, + b_ezsignfoldertype_sendsummarytolimitedgroup = False, + b_ezsignfoldertype_sendsummarytocolleague = False, + b_ezsignfoldertype_isactive = True, + a_obj_userlogintype = [ + eZmaxApi.models.userlogintype_response.userlogintype-Response( + pki_userlogintype_id = 2, + obj_userlogintype_description = eZmaxApi.models.multilingual_userlogintype_description.Multilingual-UserlogintypeDescription( + s_userlogintype_description1 = 'Courriel et téléphone ou SMS', + s_userlogintype_description2 = 'Email and phone or SMS', ), + s_userlogintype_description_x = 'Email and phone or SMS', ) + ], a_fki_user_id_signed = [ 70 ], @@ -45,6 +103,32 @@ def make_instance(self, include_optional) -> EzsignfoldertypeResponseCompound: ) else: return EzsignfoldertypeResponseCompound( + pki_ezsignfoldertype_id = 5, + obj_ezsignfoldertype_name = eZmaxApi.models.multilingual_ezsignfoldertype_name.Multilingual-EzsignfoldertypeName( + s_ezsignfoldertype_name1 = 'Embauche', + s_ezsignfoldertype_name2 = 'Recruitment', ), + fki_branding_id = 78, + s_branding_description_x = 'Company X', + e_ezsignfoldertype_privacylevel = 'User', + i_ezsignfoldertype_archivaldays = 30, + e_ezsignfoldertype_disposal = 'Manual', + e_ezsignfoldertype_completion = 'PerEzsigndocument', + i_ezsignfoldertype_deadlinedays = 5, + b_ezsignfoldertype_sendsignedtodocumentowner = False, + b_ezsignfoldertype_sendsignedtofolderowner = False, + b_ezsignfoldertype_sendsignedtocolleague = False, + b_ezsignfoldertype_sendsummarytodocumentowner = False, + b_ezsignfoldertype_sendsummarytofolderowner = False, + b_ezsignfoldertype_sendsummarytocolleague = False, + b_ezsignfoldertype_isactive = True, + a_obj_userlogintype = [ + eZmaxApi.models.userlogintype_response.userlogintype-Response( + pki_userlogintype_id = 2, + obj_userlogintype_description = eZmaxApi.models.multilingual_userlogintype_description.Multilingual-UserlogintypeDescription( + s_userlogintype_description1 = 'Courriel et téléphone ou SMS', + s_userlogintype_description2 = 'Email and phone or SMS', ), + s_userlogintype_description_x = 'Email and phone or SMS', ) + ], ) """ diff --git a/test/test_ezsignfoldertype_response_compound_v4.py b/test/test_ezsignfoldertype_response_compound_v4.py index f7b3cfd7b..6f0dc9d6f 100644 --- a/test/test_ezsignfoldertype_response_compound_v4.py +++ b/test/test_ezsignfoldertype_response_compound_v4.py @@ -36,6 +36,130 @@ def make_instance(self, include_optional) -> EzsignfoldertypeResponseCompoundV4: model = EzsignfoldertypeResponseCompoundV4() if include_optional: return EzsignfoldertypeResponseCompoundV4( + pki_ezsignfoldertype_id = 5, + obj_ezsignfoldertype_name = eZmaxApi.models.multilingual_ezsignfoldertype_name.Multilingual-EzsignfoldertypeName( + s_ezsignfoldertype_name1 = 'Embauche', + s_ezsignfoldertype_name2 = 'Recruitment', ), + fki_branding_id = 78, + fki_billingentityinternal_id = 1, + fki_ezsigntsarequirement_id = 1, + fki_font_id_annotation = 1, + fki_font_id_formfield = 1, + fki_font_id_signature = 1, + fki_pdfalevel_id_convert = 102, + e_ezsignfoldertype_documentdependency = 'All', + s_branding_description_x = 'Company X', + s_billingentityinternal_description_x = 'Default', + s_ezsigntsarequirement_description_x = 'No', + s_email_address_signed = 'email@example.com', + s_email_address_summary = 'email@example.com', + e_ezsignfoldertype_pdfarequirement = 'None', + e_ezsignfoldertype_pdfanoncompliantaction = 'Reject', + e_ezsignfoldertype_privacylevel = 'User', + i_ezsignfoldertype_fontsizeannotation = 10, + i_ezsignfoldertype_fontsizeformfield = 12, + i_ezsignfoldertype_sendreminderfirstdays = 30, + i_ezsignfoldertype_sendreminderotherdays = 30, + i_ezsignfoldertype_archivaldays = 30, + e_ezsignfoldertype_disposal = 'Manual', + e_ezsignfoldertype_completion = 'PerEzsigndocument', + i_ezsignfoldertype_disposaldays = 365, + i_ezsignfoldertype_deadlinedays = 5, + b_ezsignfoldertype_prematurelyendautomatically = True, + i_ezsignfoldertype_prematurelyendautomaticallydays = 5, + b_ezsignfoldertype_automaticsignature = False, + b_ezsignfoldertype_delegate = True, + b_ezsignfoldertype_discussion = True, + b_ezsignfoldertype_logrecipientinproof = False, + b_ezsignfoldertype_reassignezsignsigner = True, + b_ezsignfoldertype_reassignuser = True, + b_ezsignfoldertype_reassigngroup = True, + b_ezsignfoldertype_sendsignedtoezsignsigner = False, + b_ezsignfoldertype_sendsignedtouser = False, + b_ezsignfoldertype_sendattachmentezsignsigner = False, + b_ezsignfoldertype_sendproofezsignsigner = False, + b_ezsignfoldertype_sendattachmentuser = False, + b_ezsignfoldertype_sendproofuser = False, + b_ezsignfoldertype_sendproofemail = False, + b_ezsignfoldertype_allowdownloadattachmentezsignsigner = False, + b_ezsignfoldertype_allowdownloadproofezsignsigner = False, + b_ezsignfoldertype_sendproofreceivealldocument = False, + b_ezsignfoldertype_sendsignedtodocumentowner = False, + b_ezsignfoldertype_sendsignedtofolderowner = False, + b_ezsignfoldertype_sendsignedtofullgroup = False, + b_ezsignfoldertype_sendsignedtolimitedgroup = False, + b_ezsignfoldertype_sendsignedtocolleague = False, + b_ezsignfoldertype_sendsummarytodocumentowner = False, + b_ezsignfoldertype_sendsummarytofolderowner = False, + b_ezsignfoldertype_sendsummarytofullgroup = False, + b_ezsignfoldertype_sendsummarytolimitedgroup = False, + b_ezsignfoldertype_sendsummarytocolleague = False, + e_ezsignfoldertype_signeraccess = 'No', + b_ezsignfoldertype_isactive = True, + a_fki_pdfalevel_id = [ + 102 + ], + a_obj_userlogintype = [ + eZmaxApi.models.userlogintype_response.userlogintype-Response( + pki_userlogintype_id = 2, + obj_userlogintype_description = eZmaxApi.models.multilingual_userlogintype_description.Multilingual-UserlogintypeDescription( + s_userlogintype_description1 = 'Courriel et téléphone ou SMS', + s_userlogintype_description2 = 'Email and phone or SMS', ), + s_userlogintype_description_x = 'Email and phone or SMS', ) + ], + a_obj_usergroup_all = [ + eZmaxApi.models.usergroup_response.usergroup-Response( + pki_usergroup_id = 2, + obj_usergroup_name = eZmaxApi.models.multilingual_usergroup_name.Multilingual-UsergroupName( + s_usergroup_name1 = 'Direction', + s_usergroup_name2 = 'Management', ), + s_usergroup_name_x = 'Administration', + obj_email = eZmaxApi.models.email_request.email-Request( + pki_email_id = 22, + fki_emailtype_id = 1, + s_email_address = 'email@example.com', ), ) + ], + a_obj_usergroup_restricted = [ + eZmaxApi.models.usergroup_response.usergroup-Response( + pki_usergroup_id = 2, + obj_usergroup_name = eZmaxApi.models.multilingual_usergroup_name.Multilingual-UsergroupName( + s_usergroup_name1 = 'Direction', + s_usergroup_name2 = 'Management', ), + s_usergroup_name_x = 'Administration', + obj_email = eZmaxApi.models.email_request.email-Request( + pki_email_id = 22, + fki_emailtype_id = 1, + s_email_address = 'email@example.com', ), ) + ], + a_obj_usergroup_template = [ + eZmaxApi.models.usergroup_response.usergroup-Response( + pki_usergroup_id = 2, + obj_usergroup_name = eZmaxApi.models.multilingual_usergroup_name.Multilingual-UsergroupName( + s_usergroup_name1 = 'Direction', + s_usergroup_name2 = 'Management', ), + s_usergroup_name_x = 'Administration', + obj_email = eZmaxApi.models.email_request.email-Request( + pki_email_id = 22, + fki_emailtype_id = 1, + s_email_address = 'email@example.com', ), ) + ], + obj_audit = eZmaxApi.models.common_audit.Common-Audit( + obj_auditdetail_created = eZmaxApi.models.common_auditdetail.Common-Auditdetail( + fki_user_id = 70, + fki_apikey_id = 99, + s_user_loginname = 'JohnDoe', + s_user_lastname = 'Doe', + s_user_firstname = 'John', + s_apikey_description_x = 'Project X', + dt_auditdetail_date = '2020-12-31 23:59:59', ), + obj_auditdetail_modified = eZmaxApi.models.common_auditdetail.Common-Auditdetail( + fki_user_id = 70, + fki_apikey_id = 99, + s_user_loginname = 'JohnDoe', + s_user_lastname = 'Doe', + s_user_firstname = 'John', + s_apikey_description_x = 'Project X', + dt_auditdetail_date = '2020-12-31 23:59:59', ), ), a_fki_user_id_signed = [ 70 ], @@ -45,6 +169,49 @@ def make_instance(self, include_optional) -> EzsignfoldertypeResponseCompoundV4: ) else: return EzsignfoldertypeResponseCompoundV4( + pki_ezsignfoldertype_id = 5, + obj_ezsignfoldertype_name = eZmaxApi.models.multilingual_ezsignfoldertype_name.Multilingual-EzsignfoldertypeName( + s_ezsignfoldertype_name1 = 'Embauche', + s_ezsignfoldertype_name2 = 'Recruitment', ), + fki_branding_id = 78, + s_branding_description_x = 'Company X', + e_ezsignfoldertype_privacylevel = 'User', + i_ezsignfoldertype_archivaldays = 30, + e_ezsignfoldertype_disposal = 'Manual', + e_ezsignfoldertype_completion = 'PerEzsigndocument', + i_ezsignfoldertype_deadlinedays = 5, + b_ezsignfoldertype_sendsignedtodocumentowner = False, + b_ezsignfoldertype_sendsignedtofolderowner = False, + b_ezsignfoldertype_sendsignedtocolleague = False, + b_ezsignfoldertype_sendsummarytodocumentowner = False, + b_ezsignfoldertype_sendsummarytofolderowner = False, + b_ezsignfoldertype_sendsummarytocolleague = False, + b_ezsignfoldertype_isactive = True, + a_obj_userlogintype = [ + eZmaxApi.models.userlogintype_response.userlogintype-Response( + pki_userlogintype_id = 2, + obj_userlogintype_description = eZmaxApi.models.multilingual_userlogintype_description.Multilingual-UserlogintypeDescription( + s_userlogintype_description1 = 'Courriel et téléphone ou SMS', + s_userlogintype_description2 = 'Email and phone or SMS', ), + s_userlogintype_description_x = 'Email and phone or SMS', ) + ], + obj_audit = eZmaxApi.models.common_audit.Common-Audit( + obj_auditdetail_created = eZmaxApi.models.common_auditdetail.Common-Auditdetail( + fki_user_id = 70, + fki_apikey_id = 99, + s_user_loginname = 'JohnDoe', + s_user_lastname = 'Doe', + s_user_firstname = 'John', + s_apikey_description_x = 'Project X', + dt_auditdetail_date = '2020-12-31 23:59:59', ), + obj_auditdetail_modified = eZmaxApi.models.common_auditdetail.Common-Auditdetail( + fki_user_id = 70, + fki_apikey_id = 99, + s_user_loginname = 'JohnDoe', + s_user_lastname = 'Doe', + s_user_firstname = 'John', + s_apikey_description_x = 'Project X', + dt_auditdetail_date = '2020-12-31 23:59:59', ), ), ) """ diff --git a/test/test_ezsignformfield_request_compound.py b/test/test_ezsignformfield_request_compound.py index 6dfbc4d5e..84e456209 100644 --- a/test/test_ezsignformfield_request_compound.py +++ b/test/test_ezsignformfield_request_compound.py @@ -36,12 +36,32 @@ def make_instance(self, include_optional) -> EzsignformfieldRequestCompound: model = EzsignformfieldRequestCompound() if include_optional: return EzsignformfieldRequestCompound( + pki_ezsignformfield_id = 32, + i_ezsignpage_pagenumber = 1, + s_ezsignformfield_label = 'Peanuts', + s_ezsignformfield_value = 'Yes', + i_ezsignformfield_x = 200, + i_ezsignformfield_y = 300, + i_ezsignformfield_width = 102, + i_ezsignformfield_height = 22, + b_ezsignformfield_autocomplete = True, + b_ezsignformfield_selected = True, + s_ezsignformfield_enteredvalue = 'Montreal', + e_ezsignformfield_dependencyrequirement = 'AllOf', + e_ezsignformfield_horizontalalignment = 'Center', + obj_textstylestatic = eZmaxApi.models.textstylestatic_request_compound.textstylestatic-RequestCompound(), a_obj_ezsignelementdependency = [ eZmaxApi.models.ezsignelementdependency_request_compound.ezsignelementdependency-RequestCompound() ] ) else: return EzsignformfieldRequestCompound( + i_ezsignpage_pagenumber = 1, + s_ezsignformfield_label = 'Peanuts', + i_ezsignformfield_x = 200, + i_ezsignformfield_y = 300, + i_ezsignformfield_width = 102, + i_ezsignformfield_height = 22, ) """ diff --git a/test/test_ezsignformfield_response_compound.py b/test/test_ezsignformfield_response_compound.py index cdd17fe19..772739e6f 100644 --- a/test/test_ezsignformfield_response_compound.py +++ b/test/test_ezsignformfield_response_compound.py @@ -36,12 +36,33 @@ def make_instance(self, include_optional) -> EzsignformfieldResponseCompound: model = EzsignformfieldResponseCompound() if include_optional: return EzsignformfieldResponseCompound( + pki_ezsignformfield_id = 32, + i_ezsignpage_pagenumber = 1, + s_ezsignformfield_label = 'Peanuts', + s_ezsignformfield_value = 'Yes', + i_ezsignformfield_x = 200, + i_ezsignformfield_y = 300, + i_ezsignformfield_width = 102, + i_ezsignformfield_height = 22, + b_ezsignformfield_autocomplete = True, + b_ezsignformfield_selected = True, + s_ezsignformfield_enteredvalue = 'Montreal', + e_ezsignformfield_dependencyrequirement = 'AllOf', + e_ezsignformfield_horizontalalignment = 'Center', + obj_textstylestatic = eZmaxApi.models.textstylestatic_response_compound.textstylestatic-ResponseCompound(), a_obj_ezsignelementdependency = [ eZmaxApi.models.ezsignelementdependency_response_compound.ezsignelementdependency-ResponseCompound() ] ) else: return EzsignformfieldResponseCompound( + pki_ezsignformfield_id = 32, + i_ezsignpage_pagenumber = 1, + s_ezsignformfield_label = 'Peanuts', + i_ezsignformfield_x = 200, + i_ezsignformfield_y = 300, + i_ezsignformfield_width = 102, + i_ezsignformfield_height = 22, ) """ diff --git a/test/test_ezsignformfieldgroup_create_object_v1_response.py b/test/test_ezsignformfieldgroup_create_object_v1_response.py index 2a31365af..fefce3fdb 100644 --- a/test/test_ezsignformfieldgroup_create_object_v1_response.py +++ b/test/test_ezsignformfieldgroup_create_object_v1_response.py @@ -36,6 +36,15 @@ def make_instance(self, include_optional) -> EzsignformfieldgroupCreateObjectV1R model = EzsignformfieldgroupCreateObjectV1Response() if include_optional: return EzsignformfieldgroupCreateObjectV1Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), + obj_debug = {"sMemoryUsage":"11,923MB","sRunTime":"0.6084s","iSQLSelects":3,"iSQLQueries":6,"a_objSQLQuery":[{"sQuery":"SELECT * FROM table","fDuration":1.0E-4},{"sQuery":"SELECT * FROM table","fDuration":1.0E-4}]}, m_payload = eZmaxApi.models.ezsignformfieldgroup_create_object_v1_response_m_payload.ezsignformfieldgroup-createObject-v1-Response-mPayload( a_pki_ezsignformfieldgroup_id = [ 26 @@ -43,6 +52,14 @@ def make_instance(self, include_optional) -> EzsignformfieldgroupCreateObjectV1R ) else: return EzsignformfieldgroupCreateObjectV1Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), m_payload = eZmaxApi.models.ezsignformfieldgroup_create_object_v1_response_m_payload.ezsignformfieldgroup-createObject-v1-Response-mPayload( a_pki_ezsignformfieldgroup_id = [ 26 diff --git a/test/test_ezsignformfieldgroup_delete_object_v1_response.py b/test/test_ezsignformfieldgroup_delete_object_v1_response.py index 20d0104e1..bbf85f707 100644 --- a/test/test_ezsignformfieldgroup_delete_object_v1_response.py +++ b/test/test_ezsignformfieldgroup_delete_object_v1_response.py @@ -36,9 +36,26 @@ def make_instance(self, include_optional) -> EzsignformfieldgroupDeleteObjectV1R model = EzsignformfieldgroupDeleteObjectV1Response() if include_optional: return EzsignformfieldgroupDeleteObjectV1Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), + obj_debug = {"sMemoryUsage":"11,923MB","sRunTime":"0.6084s","iSQLSelects":3,"iSQLQueries":6,"a_objSQLQuery":[{"sQuery":"SELECT * FROM table","fDuration":1.0E-4},{"sQuery":"SELECT * FROM table","fDuration":1.0E-4}]} ) else: return EzsignformfieldgroupDeleteObjectV1Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), ) """ diff --git a/test/test_ezsignformfieldgroup_edit_object_v1_response.py b/test/test_ezsignformfieldgroup_edit_object_v1_response.py index 22afde309..08dd90d6b 100644 --- a/test/test_ezsignformfieldgroup_edit_object_v1_response.py +++ b/test/test_ezsignformfieldgroup_edit_object_v1_response.py @@ -36,9 +36,26 @@ def make_instance(self, include_optional) -> EzsignformfieldgroupEditObjectV1Res model = EzsignformfieldgroupEditObjectV1Response() if include_optional: return EzsignformfieldgroupEditObjectV1Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), + obj_debug = {"sMemoryUsage":"11,923MB","sRunTime":"0.6084s","iSQLSelects":3,"iSQLQueries":6,"a_objSQLQuery":[{"sQuery":"SELECT * FROM table","fDuration":1.0E-4},{"sQuery":"SELECT * FROM table","fDuration":1.0E-4}]} ) else: return EzsignformfieldgroupEditObjectV1Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), ) """ diff --git a/test/test_ezsignformfieldgroup_get_object_v2_response.py b/test/test_ezsignformfieldgroup_get_object_v2_response.py index ce895314a..e7b949ec3 100644 --- a/test/test_ezsignformfieldgroup_get_object_v2_response.py +++ b/test/test_ezsignformfieldgroup_get_object_v2_response.py @@ -36,11 +36,28 @@ def make_instance(self, include_optional) -> EzsignformfieldgroupGetObjectV2Resp model = EzsignformfieldgroupGetObjectV2Response() if include_optional: return EzsignformfieldgroupGetObjectV2Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), + obj_debug = {"sMemoryUsage":"11,923MB","sRunTime":"0.6084s","iSQLSelects":3,"iSQLQueries":6,"a_objSQLQuery":[{"sQuery":"SELECT * FROM table","fDuration":1.0E-4},{"sQuery":"SELECT * FROM table","fDuration":1.0E-4}]}, m_payload = eZmaxApi.models.ezsignformfieldgroup_get_object_v2_response_m_payload.ezsignformfieldgroup-getObject-v2-Response-mPayload( obj_ezsignformfieldgroup = eZmaxApi.models.ezsignformfieldgroup_response_compound.ezsignformfieldgroup-ResponseCompound(), ) ) else: return EzsignformfieldgroupGetObjectV2Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), m_payload = eZmaxApi.models.ezsignformfieldgroup_get_object_v2_response_m_payload.ezsignformfieldgroup-getObject-v2-Response-mPayload( obj_ezsignformfieldgroup = eZmaxApi.models.ezsignformfieldgroup_response_compound.ezsignformfieldgroup-ResponseCompound(), ), ) diff --git a/test/test_ezsignformfieldgroup_request_compound.py b/test/test_ezsignformfieldgroup_request_compound.py index 315fc415d..fdda7a183 100644 --- a/test/test_ezsignformfieldgroup_request_compound.py +++ b/test/test_ezsignformfieldgroup_request_compound.py @@ -36,6 +36,23 @@ def make_instance(self, include_optional) -> EzsignformfieldgroupRequestCompound model = EzsignformfieldgroupRequestCompound() if include_optional: return EzsignformfieldgroupRequestCompound( + pki_ezsignformfieldgroup_id = 26, + fki_ezsigndocument_id = 97, + e_ezsignformfieldgroup_type = 'Text', + e_ezsignformfieldgroup_signerrequirement = 'One', + s_ezsignformfieldgroup_label = 'Allergies', + i_ezsignformfieldgroup_step = 1, + s_ezsignformfieldgroup_defaultvalue = 'Foo', + i_ezsignformfieldgroup_filledmin = 1, + i_ezsignformfieldgroup_filledmax = 2, + b_ezsignformfieldgroup_readonly = True, + i_ezsignformfieldgroup_maxlength = 75, + b_ezsignformfieldgroup_encrypted = True, + s_ezsignformfieldgroup_regexp = '/[-0-9a-zA-Z.+_]+@[-0-9a-zA-Z.+_]+.[a-zA-Z]{2,4}/', + s_ezsignformfieldgroup_textvalidationcustommessage = 'Phone number', + t_ezsignformfieldgroup_tooltip = 'Please enter a valid email address', + e_ezsignformfieldgroup_tooltipposition = 'TopLeft', + e_ezsignformfieldgroup_textvalidation = 'None', a_obj_ezsignformfieldgroupsigner = [ eZmaxApi.models.ezsignformfieldgroupsigner_request_compound.ezsignformfieldgroupsigner-RequestCompound() ], @@ -48,6 +65,13 @@ def make_instance(self, include_optional) -> EzsignformfieldgroupRequestCompound ) else: return EzsignformfieldgroupRequestCompound( + fki_ezsigndocument_id = 97, + e_ezsignformfieldgroup_type = 'Text', + s_ezsignformfieldgroup_label = 'Allergies', + i_ezsignformfieldgroup_step = 1, + i_ezsignformfieldgroup_filledmin = 1, + i_ezsignformfieldgroup_filledmax = 2, + b_ezsignformfieldgroup_readonly = True, a_obj_ezsignformfieldgroupsigner = [ eZmaxApi.models.ezsignformfieldgroupsigner_request_compound.ezsignformfieldgroupsigner-RequestCompound() ], diff --git a/test/test_ezsignformfieldgroup_response_compound.py b/test/test_ezsignformfieldgroup_response_compound.py index 0a3f0544f..d0a21c5ba 100644 --- a/test/test_ezsignformfieldgroup_response_compound.py +++ b/test/test_ezsignformfieldgroup_response_compound.py @@ -36,6 +36,23 @@ def make_instance(self, include_optional) -> EzsignformfieldgroupResponseCompoun model = EzsignformfieldgroupResponseCompound() if include_optional: return EzsignformfieldgroupResponseCompound( + pki_ezsignformfieldgroup_id = 26, + fki_ezsigndocument_id = 97, + e_ezsignformfieldgroup_type = 'Text', + e_ezsignformfieldgroup_signerrequirement = 'One', + s_ezsignformfieldgroup_label = 'Allergies', + i_ezsignformfieldgroup_step = 1, + s_ezsignformfieldgroup_defaultvalue = 'Foo', + i_ezsignformfieldgroup_filledmin = 1, + i_ezsignformfieldgroup_filledmax = 2, + b_ezsignformfieldgroup_readonly = True, + i_ezsignformfieldgroup_maxlength = 75, + b_ezsignformfieldgroup_encrypted = True, + e_ezsignformfieldgroup_textvalidation = 'None', + s_ezsignformfieldgroup_regexp = '/[-0-9a-zA-Z.+_]+@[-0-9a-zA-Z.+_]+.[a-zA-Z]{2,4}/', + s_ezsignformfieldgroup_textvalidationcustommessage = 'Phone number', + t_ezsignformfieldgroup_tooltip = 'Please enter a valid email address', + e_ezsignformfieldgroup_tooltipposition = 'TopLeft', a_obj_ezsignformfield = [ eZmaxApi.models.ezsignformfield_response_compound.ezsignformfield-ResponseCompound() ], @@ -48,6 +65,14 @@ def make_instance(self, include_optional) -> EzsignformfieldgroupResponseCompoun ) else: return EzsignformfieldgroupResponseCompound( + pki_ezsignformfieldgroup_id = 26, + fki_ezsigndocument_id = 97, + e_ezsignformfieldgroup_type = 'Text', + s_ezsignformfieldgroup_label = 'Allergies', + i_ezsignformfieldgroup_step = 1, + i_ezsignformfieldgroup_filledmin = 1, + i_ezsignformfieldgroup_filledmax = 2, + b_ezsignformfieldgroup_readonly = True, a_obj_ezsignformfield = [ eZmaxApi.models.ezsignformfield_response_compound.ezsignformfield-ResponseCompound() ], diff --git a/test/test_ezsignpage_consult_v1_response.py b/test/test_ezsignpage_consult_v1_response.py index c9b7799cf..79558d322 100644 --- a/test/test_ezsignpage_consult_v1_response.py +++ b/test/test_ezsignpage_consult_v1_response.py @@ -36,9 +36,26 @@ def make_instance(self, include_optional) -> EzsignpageConsultV1Response: model = EzsignpageConsultV1Response() if include_optional: return EzsignpageConsultV1Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), + obj_debug = {"sMemoryUsage":"11,923MB","sRunTime":"0.6084s","iSQLSelects":3,"iSQLQueries":6,"a_objSQLQuery":[{"sQuery":"SELECT * FROM table","fDuration":1.0E-4},{"sQuery":"SELECT * FROM table","fDuration":1.0E-4}]} ) else: return EzsignpageConsultV1Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), ) """ diff --git a/test/test_ezsignsignature_create_object_v1_response.py b/test/test_ezsignsignature_create_object_v1_response.py index 9078f9605..1742ca428 100644 --- a/test/test_ezsignsignature_create_object_v1_response.py +++ b/test/test_ezsignsignature_create_object_v1_response.py @@ -36,6 +36,15 @@ def make_instance(self, include_optional) -> EzsignsignatureCreateObjectV1Respon model = EzsignsignatureCreateObjectV1Response() if include_optional: return EzsignsignatureCreateObjectV1Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), + obj_debug = {"sMemoryUsage":"11,923MB","sRunTime":"0.6084s","iSQLSelects":3,"iSQLQueries":6,"a_objSQLQuery":[{"sQuery":"SELECT * FROM table","fDuration":1.0E-4},{"sQuery":"SELECT * FROM table","fDuration":1.0E-4}]}, m_payload = eZmaxApi.models.ezsignsignature_create_object_v1_response_m_payload.ezsignsignature-createObject-v1-Response-mPayload( a_pki_ezsignsignature_id = [ 49 @@ -43,6 +52,14 @@ def make_instance(self, include_optional) -> EzsignsignatureCreateObjectV1Respon ) else: return EzsignsignatureCreateObjectV1Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), m_payload = eZmaxApi.models.ezsignsignature_create_object_v1_response_m_payload.ezsignsignature-createObject-v1-Response-mPayload( a_pki_ezsignsignature_id = [ 49 diff --git a/test/test_ezsignsignature_create_object_v2_response.py b/test/test_ezsignsignature_create_object_v2_response.py index b13d02796..8fc8e88c8 100644 --- a/test/test_ezsignsignature_create_object_v2_response.py +++ b/test/test_ezsignsignature_create_object_v2_response.py @@ -36,6 +36,15 @@ def make_instance(self, include_optional) -> EzsignsignatureCreateObjectV2Respon model = EzsignsignatureCreateObjectV2Response() if include_optional: return EzsignsignatureCreateObjectV2Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), + obj_debug = {"sMemoryUsage":"11,923MB","sRunTime":"0.6084s","iSQLSelects":3,"iSQLQueries":6,"a_objSQLQuery":[{"sQuery":"SELECT * FROM table","fDuration":1.0E-4},{"sQuery":"SELECT * FROM table","fDuration":1.0E-4}]}, m_payload = eZmaxApi.models.ezsignsignature_create_object_v2_response_m_payload.ezsignsignature-createObject-v2-Response-mPayload( a_pki_ezsignsignature_id = [ 49 @@ -43,6 +52,14 @@ def make_instance(self, include_optional) -> EzsignsignatureCreateObjectV2Respon ) else: return EzsignsignatureCreateObjectV2Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), m_payload = eZmaxApi.models.ezsignsignature_create_object_v2_response_m_payload.ezsignsignature-createObject-v2-Response-mPayload( a_pki_ezsignsignature_id = [ 49 diff --git a/test/test_ezsignsignature_create_object_v3_response.py b/test/test_ezsignsignature_create_object_v3_response.py index eb0ae1830..ade2e5bc9 100644 --- a/test/test_ezsignsignature_create_object_v3_response.py +++ b/test/test_ezsignsignature_create_object_v3_response.py @@ -36,6 +36,15 @@ def make_instance(self, include_optional) -> EzsignsignatureCreateObjectV3Respon model = EzsignsignatureCreateObjectV3Response() if include_optional: return EzsignsignatureCreateObjectV3Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), + obj_debug = {"sMemoryUsage":"11,923MB","sRunTime":"0.6084s","iSQLSelects":3,"iSQLQueries":6,"a_objSQLQuery":[{"sQuery":"SELECT * FROM table","fDuration":1.0E-4},{"sQuery":"SELECT * FROM table","fDuration":1.0E-4}]}, m_payload = eZmaxApi.models.ezsignsignature_create_object_v3_response_m_payload.ezsignsignature-createObject-v3-Response-mPayload( a_pki_ezsignsignature_id = [ 49 @@ -43,6 +52,14 @@ def make_instance(self, include_optional) -> EzsignsignatureCreateObjectV3Respon ) else: return EzsignsignatureCreateObjectV3Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), m_payload = eZmaxApi.models.ezsignsignature_create_object_v3_response_m_payload.ezsignsignature-createObject-v3-Response-mPayload( a_pki_ezsignsignature_id = [ 49 diff --git a/test/test_ezsignsignature_delete_object_v1_response.py b/test/test_ezsignsignature_delete_object_v1_response.py index 677992ccf..dde124127 100644 --- a/test/test_ezsignsignature_delete_object_v1_response.py +++ b/test/test_ezsignsignature_delete_object_v1_response.py @@ -36,9 +36,26 @@ def make_instance(self, include_optional) -> EzsignsignatureDeleteObjectV1Respon model = EzsignsignatureDeleteObjectV1Response() if include_optional: return EzsignsignatureDeleteObjectV1Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), + obj_debug = {"sMemoryUsage":"11,923MB","sRunTime":"0.6084s","iSQLSelects":3,"iSQLQueries":6,"a_objSQLQuery":[{"sQuery":"SELECT * FROM table","fDuration":1.0E-4},{"sQuery":"SELECT * FROM table","fDuration":1.0E-4}]} ) else: return EzsignsignatureDeleteObjectV1Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), ) """ diff --git a/test/test_ezsignsignature_edit_object_v2_response.py b/test/test_ezsignsignature_edit_object_v2_response.py index d72c19963..adc55dfba 100644 --- a/test/test_ezsignsignature_edit_object_v2_response.py +++ b/test/test_ezsignsignature_edit_object_v2_response.py @@ -36,9 +36,26 @@ def make_instance(self, include_optional) -> EzsignsignatureEditObjectV2Response model = EzsignsignatureEditObjectV2Response() if include_optional: return EzsignsignatureEditObjectV2Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), + obj_debug = {"sMemoryUsage":"11,923MB","sRunTime":"0.6084s","iSQLSelects":3,"iSQLQueries":6,"a_objSQLQuery":[{"sQuery":"SELECT * FROM table","fDuration":1.0E-4},{"sQuery":"SELECT * FROM table","fDuration":1.0E-4}]} ) else: return EzsignsignatureEditObjectV2Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), ) """ diff --git a/test/test_ezsignsignature_get_ezsignsignatureattachment_v1_response.py b/test/test_ezsignsignature_get_ezsignsignatureattachment_v1_response.py index 6b72653ed..dcbce520a 100644 --- a/test/test_ezsignsignature_get_ezsignsignatureattachment_v1_response.py +++ b/test/test_ezsignsignature_get_ezsignsignatureattachment_v1_response.py @@ -36,6 +36,15 @@ def make_instance(self, include_optional) -> EzsignsignatureGetEzsignsignatureat model = EzsignsignatureGetEzsignsignatureattachmentV1Response() if include_optional: return EzsignsignatureGetEzsignsignatureattachmentV1Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), + obj_debug = {"sMemoryUsage":"11,923MB","sRunTime":"0.6084s","iSQLSelects":3,"iSQLQueries":6,"a_objSQLQuery":[{"sQuery":"SELECT * FROM table","fDuration":1.0E-4},{"sQuery":"SELECT * FROM table","fDuration":1.0E-4}]}, m_payload = eZmaxApi.models.ezsignsignature_get_ezsignsignatureattachment_v1_response_m_payload.ezsignsignature-getEzsignsignatureattachment-v1-Response-mPayload( a_obj_ezsignsignatureattachment = [ eZmaxApi.models.ezsignsignatureattachment_response.ezsignsignatureattachment-Response( @@ -48,6 +57,14 @@ def make_instance(self, include_optional) -> EzsignsignatureGetEzsignsignatureat ) else: return EzsignsignatureGetEzsignsignatureattachmentV1Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), m_payload = eZmaxApi.models.ezsignsignature_get_ezsignsignatureattachment_v1_response_m_payload.ezsignsignature-getEzsignsignatureattachment-v1-Response-mPayload( a_obj_ezsignsignatureattachment = [ eZmaxApi.models.ezsignsignatureattachment_response.ezsignsignatureattachment-Response( diff --git a/test/test_ezsignsignature_get_ezsignsignatures_automatic_v1_response.py b/test/test_ezsignsignature_get_ezsignsignatures_automatic_v1_response.py index a33fb5670..11723627c 100644 --- a/test/test_ezsignsignature_get_ezsignsignatures_automatic_v1_response.py +++ b/test/test_ezsignsignature_get_ezsignsignatures_automatic_v1_response.py @@ -36,6 +36,15 @@ def make_instance(self, include_optional) -> EzsignsignatureGetEzsignsignaturesA model = EzsignsignatureGetEzsignsignaturesAutomaticV1Response() if include_optional: return EzsignsignatureGetEzsignsignaturesAutomaticV1Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), + obj_debug = {"sMemoryUsage":"11,923MB","sRunTime":"0.6084s","iSQLSelects":3,"iSQLQueries":6,"a_objSQLQuery":[{"sQuery":"SELECT * FROM table","fDuration":1.0E-4},{"sQuery":"SELECT * FROM table","fDuration":1.0E-4}]}, m_payload = eZmaxApi.models.ezsignsignature_get_ezsignsignatures_automatic_v1_response_m_payload.ezsignsignature-getEzsignsignaturesAutomatic-v1-Response-mPayload( a_e_ezsignsignature_type = [ 'Name' @@ -59,6 +68,14 @@ def make_instance(self, include_optional) -> EzsignsignatureGetEzsignsignaturesA ) else: return EzsignsignatureGetEzsignsignaturesAutomaticV1Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), m_payload = eZmaxApi.models.ezsignsignature_get_ezsignsignatures_automatic_v1_response_m_payload.ezsignsignature-getEzsignsignaturesAutomatic-v1-Response-mPayload( a_e_ezsignsignature_type = [ 'Name' diff --git a/test/test_ezsignsignature_get_object_v3_response.py b/test/test_ezsignsignature_get_object_v3_response.py index 65f699d30..cff114ccb 100644 --- a/test/test_ezsignsignature_get_object_v3_response.py +++ b/test/test_ezsignsignature_get_object_v3_response.py @@ -36,11 +36,28 @@ def make_instance(self, include_optional) -> EzsignsignatureGetObjectV3Response: model = EzsignsignatureGetObjectV3Response() if include_optional: return EzsignsignatureGetObjectV3Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), + obj_debug = {"sMemoryUsage":"11,923MB","sRunTime":"0.6084s","iSQLSelects":3,"iSQLQueries":6,"a_objSQLQuery":[{"sQuery":"SELECT * FROM table","fDuration":1.0E-4},{"sQuery":"SELECT * FROM table","fDuration":1.0E-4}]}, m_payload = eZmaxApi.models.ezsignsignature_get_object_v3_response_m_payload.ezsignsignature-getObject-v3-Response-mPayload( obj_ezsignsignature = eZmaxApi.models.ezsignsignature_response_compound_v3.ezsignsignature-ResponseCompoundV3(), ) ) else: return EzsignsignatureGetObjectV3Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), m_payload = eZmaxApi.models.ezsignsignature_get_object_v3_response_m_payload.ezsignsignature-getObject-v3-Response-mPayload( obj_ezsignsignature = eZmaxApi.models.ezsignsignature_response_compound_v3.ezsignsignature-ResponseCompoundV3(), ), ) diff --git a/test/test_ezsignsignature_request_compound.py b/test/test_ezsignsignature_request_compound.py index 675a3e869..5229b5321 100644 --- a/test/test_ezsignsignature_request_compound.py +++ b/test/test_ezsignsignature_request_compound.py @@ -36,6 +36,33 @@ def make_instance(self, include_optional) -> EzsignsignatureRequestCompound: model = EzsignsignatureRequestCompound() if include_optional: return EzsignsignatureRequestCompound( + pki_ezsignsignature_id = 49, + fki_ezsignfoldersignerassociation_id = 20, + i_ezsignpage_pagenumber = 1, + i_ezsignsignature_x = 200, + i_ezsignsignature_y = 300, + i_ezsignsignature_width = 200, + i_ezsignsignature_height = 200, + i_ezsignsignature_step = 1, + e_ezsignsignature_type = 'Name', + fki_ezsigndocument_id = 97, + t_ezsignsignature_tooltip = 'Please sign here if you agree to the terms', + e_ezsignsignature_tooltipposition = 'TopLeft', + e_ezsignsignature_font = 'Normal', + fki_ezsignfoldersignerassociation_id_validation = 20, + b_ezsignsignature_handwritten = True, + b_ezsignsignature_reason = True, + b_ezsignsignature_required = True, + e_ezsignsignature_attachmentnamesource = 'Description', + s_ezsignsignature_attachmentdescription = 'Attachment', + e_ezsignsignature_consultationtrigger = 'Manual', + i_ezsignsignature_validationstep = 1, + i_ezsignsignature_maxlength = 75, + s_ezsignsignature_defaultvalue = 'Foo', + e_ezsignsignature_textvalidation = 'None', + s_ezsignsignature_textvalidationcustommessage = 'Phone number', + s_ezsignsignature_regexp = '/[-0-9a-zA-Z.+_]+@[-0-9a-zA-Z.+_]+.[a-zA-Z]{2,4}/', + e_ezsignsignature_dependencyrequirement = 'AllOf', b_ezsignsignature_customdate = True, a_obj_ezsignsignaturecustomdate = [ eZmaxApi.models.ezsignsignaturecustomdate_request_compound.ezsignsignaturecustomdate-RequestCompound() @@ -46,6 +73,13 @@ def make_instance(self, include_optional) -> EzsignsignatureRequestCompound: ) else: return EzsignsignatureRequestCompound( + fki_ezsignfoldersignerassociation_id = 20, + i_ezsignpage_pagenumber = 1, + i_ezsignsignature_x = 200, + i_ezsignsignature_y = 300, + i_ezsignsignature_step = 1, + e_ezsignsignature_type = 'Name', + fki_ezsigndocument_id = 97, ) """ diff --git a/test/test_ezsignsignature_request_compound_v2.py b/test/test_ezsignsignature_request_compound_v2.py index 685e9785f..3684efd63 100644 --- a/test/test_ezsignsignature_request_compound_v2.py +++ b/test/test_ezsignsignature_request_compound_v2.py @@ -36,6 +36,33 @@ def make_instance(self, include_optional) -> EzsignsignatureRequestCompoundV2: model = EzsignsignatureRequestCompoundV2() if include_optional: return EzsignsignatureRequestCompoundV2( + pki_ezsignsignature_id = 49, + fki_ezsignfoldersignerassociation_id = 20, + i_ezsignpage_pagenumber = 1, + i_ezsignsignature_x = 200, + i_ezsignsignature_y = 300, + i_ezsignsignature_width = 200, + i_ezsignsignature_height = 200, + i_ezsignsignature_step = 1, + e_ezsignsignature_type = 'Name', + fki_ezsigndocument_id = 97, + t_ezsignsignature_tooltip = 'Please sign here if you agree to the terms', + e_ezsignsignature_tooltipposition = 'TopLeft', + e_ezsignsignature_font = 'Normal', + fki_ezsignfoldersignerassociation_id_validation = 20, + b_ezsignsignature_handwritten = True, + b_ezsignsignature_reason = True, + b_ezsignsignature_required = True, + e_ezsignsignature_attachmentnamesource = 'Description', + s_ezsignsignature_attachmentdescription = 'Attachment', + e_ezsignsignature_consultationtrigger = 'Manual', + i_ezsignsignature_validationstep = 1, + i_ezsignsignature_maxlength = 75, + s_ezsignsignature_defaultvalue = 'Foo', + e_ezsignsignature_textvalidation = 'None', + s_ezsignsignature_textvalidationcustommessage = 'Phone number', + s_ezsignsignature_regexp = '/[-0-9a-zA-Z.+_]+@[-0-9a-zA-Z.+_]+.[a-zA-Z]{2,4}/', + e_ezsignsignature_dependencyrequirement = 'AllOf', b_ezsignsignature_customdate = True, a_obj_ezsignsignaturecustomdate = [ eZmaxApi.models.ezsignsignaturecustomdate_request_compound_v2.ezsignsignaturecustomdate-RequestCompoundV2() @@ -46,6 +73,13 @@ def make_instance(self, include_optional) -> EzsignsignatureRequestCompoundV2: ) else: return EzsignsignatureRequestCompoundV2( + fki_ezsignfoldersignerassociation_id = 20, + i_ezsignpage_pagenumber = 1, + i_ezsignsignature_x = 200, + i_ezsignsignature_y = 300, + i_ezsignsignature_step = 1, + e_ezsignsignature_type = 'Name', + fki_ezsigndocument_id = 97, ) """ diff --git a/test/test_ezsignsignature_response_compound.py b/test/test_ezsignsignature_response_compound.py index 88e380c40..d0d96f620 100644 --- a/test/test_ezsignsignature_response_compound.py +++ b/test/test_ezsignsignature_response_compound.py @@ -36,6 +36,49 @@ def make_instance(self, include_optional) -> EzsignsignatureResponseCompound: model = EzsignsignatureResponseCompound() if include_optional: return EzsignsignatureResponseCompound( + pki_ezsignsignature_id = 49, + fki_ezsigndocument_id = 97, + fki_ezsignfoldersignerassociation_id = 20, + fki_ezsignsigningreason_id = 194, + fki_font_id = 1, + s_ezsignsigningreason_description_x = 'I approve this document', + i_ezsignpage_pagenumber = 1, + i_ezsignsignature_x = 200, + i_ezsignsignature_y = 300, + i_ezsignsignature_height = 200, + i_ezsignsignature_width = 200, + i_ezsignsignature_step = 1, + i_ezsignsignature_stepadjusted = 1, + e_ezsignsignature_type = 'Name', + t_ezsignsignature_tooltip = 'Please sign here if you agree to the terms', + e_ezsignsignature_tooltipposition = 'TopLeft', + e_ezsignsignature_font = 'Normal', + i_ezsignsignature_validationstep = 1, + s_ezsignsignature_attachmentdescription = 'Attachment', + e_ezsignsignature_attachmentnamesource = 'Description', + e_ezsignsignature_consultationtrigger = 'Manual', + b_ezsignsignature_handwritten = True, + b_ezsignsignature_reason = True, + b_ezsignsignature_required = True, + fki_ezsignfoldersignerassociation_id_validation = 20, + dt_ezsignsignature_date = '2020-12-31 23:59:59', + i_ezsignsignatureattachment_count = 7, + s_ezsignsignature_description = 'Montreal', + i_ezsignsignature_maxlength = 75, + e_ezsignsignature_textvalidation = 'None', + s_ezsignsignature_textvalidationcustommessage = 'Phone number', + e_ezsignsignature_dependencyrequirement = 'AllOf', + s_ezsignsignature_defaultvalue = 'Foo', + s_ezsignsignature_regexp = '/[-0-9a-zA-Z.+_]+@[-0-9a-zA-Z.+_]+.[a-zA-Z]{2,4}/', + obj_contact_name = eZmaxApi.models.custom_contact_name_response.Custom-ContactName-Response( + s_contact_firstname = 'John', + s_contact_lastname = 'Doe', + s_contact_company = 'eZmax Solutions Inc.', ), + obj_contact_name_delegation = eZmaxApi.models.custom_contact_name_response.Custom-ContactName-Response( + s_contact_firstname = 'John', + s_contact_lastname = 'Doe', + s_contact_company = 'eZmax Solutions Inc.', ), + obj_signature = eZmaxApi.models.signature_response_compound.signature-ResponseCompound(), dt_ezsignsignature_date_in_folder_timezone = '2020-12-31 23:59:59', b_ezsignsignature_customdate = True, a_obj_ezsignsignaturecustomdate = [ @@ -55,6 +98,18 @@ def make_instance(self, include_optional) -> EzsignsignatureResponseCompound: ) else: return EzsignsignatureResponseCompound( + pki_ezsignsignature_id = 49, + fki_ezsigndocument_id = 97, + fki_ezsignfoldersignerassociation_id = 20, + i_ezsignpage_pagenumber = 1, + i_ezsignsignature_x = 200, + i_ezsignsignature_y = 300, + i_ezsignsignature_step = 1, + e_ezsignsignature_type = 'Name', + obj_contact_name = eZmaxApi.models.custom_contact_name_response.Custom-ContactName-Response( + s_contact_firstname = 'John', + s_contact_lastname = 'Doe', + s_contact_company = 'eZmax Solutions Inc.', ), ) """ diff --git a/test/test_ezsignsignature_response_compound_v3.py b/test/test_ezsignsignature_response_compound_v3.py index 9e8b92b85..1d3e83adb 100644 --- a/test/test_ezsignsignature_response_compound_v3.py +++ b/test/test_ezsignsignature_response_compound_v3.py @@ -36,6 +36,49 @@ def make_instance(self, include_optional) -> EzsignsignatureResponseCompoundV3: model = EzsignsignatureResponseCompoundV3() if include_optional: return EzsignsignatureResponseCompoundV3( + pki_ezsignsignature_id = 49, + fki_ezsigndocument_id = 97, + fki_ezsignfoldersignerassociation_id = 20, + fki_ezsignsigningreason_id = 194, + fki_font_id = 1, + s_ezsignsigningreason_description_x = 'I approve this document', + i_ezsignpage_pagenumber = 1, + i_ezsignsignature_x = 200, + i_ezsignsignature_y = 300, + i_ezsignsignature_height = 200, + i_ezsignsignature_width = 200, + i_ezsignsignature_step = 1, + i_ezsignsignature_stepadjusted = 1, + e_ezsignsignature_type = 'Name', + t_ezsignsignature_tooltip = 'Please sign here if you agree to the terms', + e_ezsignsignature_tooltipposition = 'TopLeft', + e_ezsignsignature_font = 'Normal', + i_ezsignsignature_validationstep = 1, + s_ezsignsignature_attachmentdescription = 'Attachment', + e_ezsignsignature_attachmentnamesource = 'Description', + e_ezsignsignature_consultationtrigger = 'Manual', + b_ezsignsignature_handwritten = True, + b_ezsignsignature_reason = True, + b_ezsignsignature_required = True, + fki_ezsignfoldersignerassociation_id_validation = 20, + dt_ezsignsignature_date = '2020-12-31 23:59:59', + i_ezsignsignatureattachment_count = 7, + s_ezsignsignature_description = 'Montreal', + i_ezsignsignature_maxlength = 75, + e_ezsignsignature_textvalidation = 'None', + s_ezsignsignature_textvalidationcustommessage = 'Phone number', + e_ezsignsignature_dependencyrequirement = 'AllOf', + s_ezsignsignature_defaultvalue = 'Foo', + s_ezsignsignature_regexp = '/[-0-9a-zA-Z.+_]+@[-0-9a-zA-Z.+_]+.[a-zA-Z]{2,4}/', + obj_contact_name = eZmaxApi.models.custom_contact_name_response.Custom-ContactName-Response( + s_contact_firstname = 'John', + s_contact_lastname = 'Doe', + s_contact_company = 'eZmax Solutions Inc.', ), + obj_contact_name_delegation = eZmaxApi.models.custom_contact_name_response.Custom-ContactName-Response( + s_contact_firstname = 'John', + s_contact_lastname = 'Doe', + s_contact_company = 'eZmax Solutions Inc.', ), + obj_signature = eZmaxApi.models.signature_response_compound.signature-ResponseCompound(), b_ezsignsignature_customdate = True, a_obj_ezsignsignaturecustomdate = [ eZmaxApi.models.ezsignsignaturecustomdate_response_compound_v2.ezsignsignaturecustomdate-ResponseCompoundV2() @@ -51,6 +94,18 @@ def make_instance(self, include_optional) -> EzsignsignatureResponseCompoundV3: ) else: return EzsignsignatureResponseCompoundV3( + pki_ezsignsignature_id = 49, + fki_ezsigndocument_id = 97, + fki_ezsignfoldersignerassociation_id = 20, + i_ezsignpage_pagenumber = 1, + i_ezsignsignature_x = 200, + i_ezsignsignature_y = 300, + i_ezsignsignature_step = 1, + e_ezsignsignature_type = 'Name', + obj_contact_name = eZmaxApi.models.custom_contact_name_response.Custom-ContactName-Response( + s_contact_firstname = 'John', + s_contact_lastname = 'Doe', + s_contact_company = 'eZmax Solutions Inc.', ), ) """ diff --git a/test/test_ezsignsignature_sign_v1_request.py b/test/test_ezsignsignature_sign_v1_request.py index 789041c97..d3649a859 100644 --- a/test/test_ezsignsignature_sign_v1_request.py +++ b/test/test_ezsignsignature_sign_v1_request.py @@ -46,7 +46,7 @@ def make_instance(self, include_optional) -> EzsignsignatureSignV1Request: eZmaxApi.models.common_file.Common-File( s_file_name = 'example.pdf', s_file_url = '', - s_file_base64 = '[B@754777cd', + s_file_base64 = '[B@7807ac2c', e_file_source = 'Base64', ) ], b_is_automatic = True diff --git a/test/test_ezsignsignature_sign_v1_response.py b/test/test_ezsignsignature_sign_v1_response.py index 6b3b39304..e763f7db8 100644 --- a/test/test_ezsignsignature_sign_v1_response.py +++ b/test/test_ezsignsignature_sign_v1_response.py @@ -36,6 +36,15 @@ def make_instance(self, include_optional) -> EzsignsignatureSignV1Response: model = EzsignsignatureSignV1Response() if include_optional: return EzsignsignatureSignV1Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), + obj_debug = {"sMemoryUsage":"11,923MB","sRunTime":"0.6084s","iSQLSelects":3,"iSQLQueries":6,"a_objSQLQuery":[{"sQuery":"SELECT * FROM table","fDuration":1.0E-4},{"sQuery":"SELECT * FROM table","fDuration":1.0E-4}]}, m_payload = eZmaxApi.models.ezsignsignature_sign_v1_response_m_payload.ezsignsignature-sign-v1-Response-mPayload( dt_ezsignsignature_date_in_folder_timezone = '2020-12-31 23:59:59', obj_timezone = eZmaxApi.models.custom_timezone_with_code_response.Custom-TimezoneWithCode-Response( @@ -44,6 +53,14 @@ def make_instance(self, include_optional) -> EzsignsignatureSignV1Response: ) else: return EzsignsignatureSignV1Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), m_payload = eZmaxApi.models.ezsignsignature_sign_v1_response_m_payload.ezsignsignature-sign-v1-Response-mPayload( dt_ezsignsignature_date_in_folder_timezone = '2020-12-31 23:59:59', obj_timezone = eZmaxApi.models.custom_timezone_with_code_response.Custom-TimezoneWithCode-Response( diff --git a/test/test_ezsignsigner_request_compound.py b/test/test_ezsignsigner_request_compound.py index f2c9677c4..8a45124f1 100644 --- a/test/test_ezsignsigner_request_compound.py +++ b/test/test_ezsignsigner_request_compound.py @@ -36,6 +36,11 @@ def make_instance(self, include_optional) -> EzsignsignerRequestCompound: model = EzsignsignerRequestCompound() if include_optional: return EzsignsignerRequestCompound( + fki_userlogintype_id = 2, + fki_taxassignment_id = 1, + fki_secretquestion_id = 7, + e_ezsignsigner_logintype = 'Password', + s_ezsignsigner_secretanswer = '', obj_contact = eZmaxApi.models.ezsignsigner_request_compound_contact.ezsignsigner-RequestCompound-Contact( s_contact_firstname = 'John', s_contact_lastname = 'Doe', @@ -49,6 +54,7 @@ def make_instance(self, include_optional) -> EzsignsignerRequestCompound: ) else: return EzsignsignerRequestCompound( + fki_taxassignment_id = 1, obj_contact = eZmaxApi.models.ezsignsigner_request_compound_contact.ezsignsigner-RequestCompound-Contact( s_contact_firstname = 'John', s_contact_lastname = 'Doe', diff --git a/test/test_ezsignsigner_response_compound.py b/test/test_ezsignsigner_response_compound.py index 19dd69258..c055e2e5a 100644 --- a/test/test_ezsignsigner_response_compound.py +++ b/test/test_ezsignsigner_response_compound.py @@ -36,6 +36,11 @@ def make_instance(self, include_optional) -> EzsignsignerResponseCompound: model = EzsignsignerResponseCompound() if include_optional: return EzsignsignerResponseCompound( + pki_ezsignsigner_id = 89, + fki_taxassignment_id = 1, + fki_secretquestion_id = 7, + fki_userlogintype_id = 2, + s_userlogintype_description_x = 'Email and phone or SMS', obj_contact = eZmaxApi.models.ezsignsigner_response_compound_contact.ezsignsigner-ResponseCompound-Contact( pki_contact_id = 21, s_contact_firstname = 'John', @@ -48,6 +53,10 @@ def make_instance(self, include_optional) -> EzsignsignerResponseCompound: ) else: return EzsignsignerResponseCompound( + pki_ezsignsigner_id = 89, + fki_taxassignment_id = 1, + fki_userlogintype_id = 2, + s_userlogintype_description_x = 'Email and phone or SMS', obj_contact = eZmaxApi.models.ezsignsigner_response_compound_contact.ezsignsigner-ResponseCompound-Contact( pki_contact_id = 21, s_contact_firstname = 'John', diff --git a/test/test_ezsignsignergroup_create_object_v1_response.py b/test/test_ezsignsignergroup_create_object_v1_response.py index 9a2bb4da4..f6f24283c 100644 --- a/test/test_ezsignsignergroup_create_object_v1_response.py +++ b/test/test_ezsignsignergroup_create_object_v1_response.py @@ -36,6 +36,15 @@ def make_instance(self, include_optional) -> EzsignsignergroupCreateObjectV1Resp model = EzsignsignergroupCreateObjectV1Response() if include_optional: return EzsignsignergroupCreateObjectV1Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), + obj_debug = {"sMemoryUsage":"11,923MB","sRunTime":"0.6084s","iSQLSelects":3,"iSQLQueries":6,"a_objSQLQuery":[{"sQuery":"SELECT * FROM table","fDuration":1.0E-4},{"sQuery":"SELECT * FROM table","fDuration":1.0E-4}]}, m_payload = eZmaxApi.models.ezsignsignergroup_create_object_v1_response_m_payload.ezsignsignergroup-createObject-v1-Response-mPayload( a_pki_ezsignsignergroup_id = [ 27 @@ -43,6 +52,14 @@ def make_instance(self, include_optional) -> EzsignsignergroupCreateObjectV1Resp ) else: return EzsignsignergroupCreateObjectV1Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), m_payload = eZmaxApi.models.ezsignsignergroup_create_object_v1_response_m_payload.ezsignsignergroup-createObject-v1-Response-mPayload( a_pki_ezsignsignergroup_id = [ 27 diff --git a/test/test_ezsignsignergroup_delete_object_v1_response.py b/test/test_ezsignsignergroup_delete_object_v1_response.py index 300a28a81..f7abd2e6e 100644 --- a/test/test_ezsignsignergroup_delete_object_v1_response.py +++ b/test/test_ezsignsignergroup_delete_object_v1_response.py @@ -36,9 +36,26 @@ def make_instance(self, include_optional) -> EzsignsignergroupDeleteObjectV1Resp model = EzsignsignergroupDeleteObjectV1Response() if include_optional: return EzsignsignergroupDeleteObjectV1Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), + obj_debug = {"sMemoryUsage":"11,923MB","sRunTime":"0.6084s","iSQLSelects":3,"iSQLQueries":6,"a_objSQLQuery":[{"sQuery":"SELECT * FROM table","fDuration":1.0E-4},{"sQuery":"SELECT * FROM table","fDuration":1.0E-4}]} ) else: return EzsignsignergroupDeleteObjectV1Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), ) """ diff --git a/test/test_ezsignsignergroup_edit_ezsignsignergroupmemberships_v1_response.py b/test/test_ezsignsignergroup_edit_ezsignsignergroupmemberships_v1_response.py index 07c350e2d..1c86209af 100644 --- a/test/test_ezsignsignergroup_edit_ezsignsignergroupmemberships_v1_response.py +++ b/test/test_ezsignsignergroup_edit_ezsignsignergroupmemberships_v1_response.py @@ -36,6 +36,15 @@ def make_instance(self, include_optional) -> EzsignsignergroupEditEzsignsignergr model = EzsignsignergroupEditEzsignsignergroupmembershipsV1Response() if include_optional: return EzsignsignergroupEditEzsignsignergroupmembershipsV1Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), + obj_debug = {"sMemoryUsage":"11,923MB","sRunTime":"0.6084s","iSQLSelects":3,"iSQLQueries":6,"a_objSQLQuery":[{"sQuery":"SELECT * FROM table","fDuration":1.0E-4},{"sQuery":"SELECT * FROM table","fDuration":1.0E-4}]}, m_payload = eZmaxApi.models.ezsignsignergroup_edit_ezsignsignergroupmemberships_v1_response_m_payload.ezsignsignergroup-editEzsignsignergroupmemberships-v1-Response-mPayload( a_pki_ezsignsignergroupmembership_id = [ 153 @@ -43,6 +52,14 @@ def make_instance(self, include_optional) -> EzsignsignergroupEditEzsignsignergr ) else: return EzsignsignergroupEditEzsignsignergroupmembershipsV1Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), m_payload = eZmaxApi.models.ezsignsignergroup_edit_ezsignsignergroupmemberships_v1_response_m_payload.ezsignsignergroup-editEzsignsignergroupmemberships-v1-Response-mPayload( a_pki_ezsignsignergroupmembership_id = [ 153 diff --git a/test/test_ezsignsignergroup_edit_object_v1_response.py b/test/test_ezsignsignergroup_edit_object_v1_response.py index 88891c3c5..29baf15dd 100644 --- a/test/test_ezsignsignergroup_edit_object_v1_response.py +++ b/test/test_ezsignsignergroup_edit_object_v1_response.py @@ -36,9 +36,26 @@ def make_instance(self, include_optional) -> EzsignsignergroupEditObjectV1Respon model = EzsignsignergroupEditObjectV1Response() if include_optional: return EzsignsignergroupEditObjectV1Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), + obj_debug = {"sMemoryUsage":"11,923MB","sRunTime":"0.6084s","iSQLSelects":3,"iSQLQueries":6,"a_objSQLQuery":[{"sQuery":"SELECT * FROM table","fDuration":1.0E-4},{"sQuery":"SELECT * FROM table","fDuration":1.0E-4}]} ) else: return EzsignsignergroupEditObjectV1Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), ) """ diff --git a/test/test_ezsignsignergroup_get_ezsignsignergroupmemberships_v1_response.py b/test/test_ezsignsignergroup_get_ezsignsignergroupmemberships_v1_response.py index 7c81734ef..c5d844f6b 100644 --- a/test/test_ezsignsignergroup_get_ezsignsignergroupmemberships_v1_response.py +++ b/test/test_ezsignsignergroup_get_ezsignsignergroupmemberships_v1_response.py @@ -36,6 +36,15 @@ def make_instance(self, include_optional) -> EzsignsignergroupGetEzsignsignergro model = EzsignsignergroupGetEzsignsignergroupmembershipsV1Response() if include_optional: return EzsignsignergroupGetEzsignsignergroupmembershipsV1Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), + obj_debug = {"sMemoryUsage":"11,923MB","sRunTime":"0.6084s","iSQLSelects":3,"iSQLQueries":6,"a_objSQLQuery":[{"sQuery":"SELECT * FROM table","fDuration":1.0E-4},{"sQuery":"SELECT * FROM table","fDuration":1.0E-4}]}, m_payload = eZmaxApi.models.ezsignsignergroup_get_ezsignsignergroupmemberships_v1_response_m_payload.ezsignsignergroup-getEzsignsignergroupmemberships-v1-Response-mPayload( a_obj_ezsignsignergroupmembership = [ eZmaxApi.models.ezsignsignergroupmembership_response_compound.ezsignsignergroupmembership-ResponseCompound() @@ -43,6 +52,14 @@ def make_instance(self, include_optional) -> EzsignsignergroupGetEzsignsignergro ) else: return EzsignsignergroupGetEzsignsignergroupmembershipsV1Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), m_payload = eZmaxApi.models.ezsignsignergroup_get_ezsignsignergroupmemberships_v1_response_m_payload.ezsignsignergroup-getEzsignsignergroupmemberships-v1-Response-mPayload( a_obj_ezsignsignergroupmembership = [ eZmaxApi.models.ezsignsignergroupmembership_response_compound.ezsignsignergroupmembership-ResponseCompound() diff --git a/test/test_ezsignsignergroup_get_object_v2_response.py b/test/test_ezsignsignergroup_get_object_v2_response.py index c377f7cab..995d27a9f 100644 --- a/test/test_ezsignsignergroup_get_object_v2_response.py +++ b/test/test_ezsignsignergroup_get_object_v2_response.py @@ -36,11 +36,28 @@ def make_instance(self, include_optional) -> EzsignsignergroupGetObjectV2Respons model = EzsignsignergroupGetObjectV2Response() if include_optional: return EzsignsignergroupGetObjectV2Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), + obj_debug = {"sMemoryUsage":"11,923MB","sRunTime":"0.6084s","iSQLSelects":3,"iSQLQueries":6,"a_objSQLQuery":[{"sQuery":"SELECT * FROM table","fDuration":1.0E-4},{"sQuery":"SELECT * FROM table","fDuration":1.0E-4}]}, m_payload = eZmaxApi.models.ezsignsignergroup_get_object_v2_response_m_payload.ezsignsignergroup-getObject-v2-Response-mPayload( obj_ezsignsignergroup = eZmaxApi.models.ezsignsignergroup_response_compound.ezsignsignergroup-ResponseCompound(), ) ) else: return EzsignsignergroupGetObjectV2Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), m_payload = eZmaxApi.models.ezsignsignergroup_get_object_v2_response_m_payload.ezsignsignergroup-getObject-v2-Response-mPayload( obj_ezsignsignergroup = eZmaxApi.models.ezsignsignergroup_response_compound.ezsignsignergroup-ResponseCompound(), ), ) diff --git a/test/test_ezsignsignergroup_request_compound.py b/test/test_ezsignsignergroup_request_compound.py index 63a50d141..df06958ff 100644 --- a/test/test_ezsignsignergroup_request_compound.py +++ b/test/test_ezsignsignergroup_request_compound.py @@ -36,9 +36,18 @@ def make_instance(self, include_optional) -> EzsignsignergroupRequestCompound: model = EzsignsignergroupRequestCompound() if include_optional: return EzsignsignergroupRequestCompound( + pki_ezsignsignergroup_id = 27, + fki_ezsignfolder_id = 33, + obj_ezsignsignergroup_description = eZmaxApi.models.multilingual_ezsignsignergroup_description.Multilingual-EzsignsignergroupDescription( + s_ezsignsignergroup_description1 = 'RH', + s_ezsignsignergroup_description2 = 'HR', ) ) else: return EzsignsignergroupRequestCompound( + fki_ezsignfolder_id = 33, + obj_ezsignsignergroup_description = eZmaxApi.models.multilingual_ezsignsignergroup_description.Multilingual-EzsignsignergroupDescription( + s_ezsignsignergroup_description1 = 'RH', + s_ezsignsignergroup_description2 = 'HR', ), ) """ diff --git a/test/test_ezsignsignergroup_response_compound.py b/test/test_ezsignsignergroup_response_compound.py index 325631907..d56cce33f 100644 --- a/test/test_ezsignsignergroup_response_compound.py +++ b/test/test_ezsignsignergroup_response_compound.py @@ -36,9 +36,18 @@ def make_instance(self, include_optional) -> EzsignsignergroupResponseCompound: model = EzsignsignergroupResponseCompound() if include_optional: return EzsignsignergroupResponseCompound( + pki_ezsignsignergroup_id = 27, + obj_ezsignsignergroup_description = eZmaxApi.models.multilingual_ezsignsignergroup_description.Multilingual-EzsignsignergroupDescription( + s_ezsignsignergroup_description1 = 'RH', + s_ezsignsignergroup_description2 = 'HR', ), + s_ezsignsignergroup_description_x = 'HR' ) else: return EzsignsignergroupResponseCompound( + pki_ezsignsignergroup_id = 27, + obj_ezsignsignergroup_description = eZmaxApi.models.multilingual_ezsignsignergroup_description.Multilingual-EzsignsignergroupDescription( + s_ezsignsignergroup_description1 = 'RH', + s_ezsignsignergroup_description2 = 'HR', ), ) """ diff --git a/test/test_ezsignsignergroupmembership_create_object_v1_response.py b/test/test_ezsignsignergroupmembership_create_object_v1_response.py index 4d334177a..1311b8efa 100644 --- a/test/test_ezsignsignergroupmembership_create_object_v1_response.py +++ b/test/test_ezsignsignergroupmembership_create_object_v1_response.py @@ -36,6 +36,15 @@ def make_instance(self, include_optional) -> EzsignsignergroupmembershipCreateOb model = EzsignsignergroupmembershipCreateObjectV1Response() if include_optional: return EzsignsignergroupmembershipCreateObjectV1Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), + obj_debug = {"sMemoryUsage":"11,923MB","sRunTime":"0.6084s","iSQLSelects":3,"iSQLQueries":6,"a_objSQLQuery":[{"sQuery":"SELECT * FROM table","fDuration":1.0E-4},{"sQuery":"SELECT * FROM table","fDuration":1.0E-4}]}, m_payload = eZmaxApi.models.ezsignsignergroupmembership_create_object_v1_response_m_payload.ezsignsignergroupmembership-createObject-v1-Response-mPayload( a_pki_ezsignsignergroupmembership_id = [ 153 @@ -43,6 +52,14 @@ def make_instance(self, include_optional) -> EzsignsignergroupmembershipCreateOb ) else: return EzsignsignergroupmembershipCreateObjectV1Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), m_payload = eZmaxApi.models.ezsignsignergroupmembership_create_object_v1_response_m_payload.ezsignsignergroupmembership-createObject-v1-Response-mPayload( a_pki_ezsignsignergroupmembership_id = [ 153 diff --git a/test/test_ezsignsignergroupmembership_delete_object_v1_response.py b/test/test_ezsignsignergroupmembership_delete_object_v1_response.py index c6fe6287f..a5b2e4a98 100644 --- a/test/test_ezsignsignergroupmembership_delete_object_v1_response.py +++ b/test/test_ezsignsignergroupmembership_delete_object_v1_response.py @@ -36,9 +36,26 @@ def make_instance(self, include_optional) -> EzsignsignergroupmembershipDeleteOb model = EzsignsignergroupmembershipDeleteObjectV1Response() if include_optional: return EzsignsignergroupmembershipDeleteObjectV1Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), + obj_debug = {"sMemoryUsage":"11,923MB","sRunTime":"0.6084s","iSQLSelects":3,"iSQLQueries":6,"a_objSQLQuery":[{"sQuery":"SELECT * FROM table","fDuration":1.0E-4},{"sQuery":"SELECT * FROM table","fDuration":1.0E-4}]} ) else: return EzsignsignergroupmembershipDeleteObjectV1Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), ) """ diff --git a/test/test_ezsignsignergroupmembership_get_object_v2_response.py b/test/test_ezsignsignergroupmembership_get_object_v2_response.py index e68af779e..62f6b2a29 100644 --- a/test/test_ezsignsignergroupmembership_get_object_v2_response.py +++ b/test/test_ezsignsignergroupmembership_get_object_v2_response.py @@ -36,11 +36,28 @@ def make_instance(self, include_optional) -> EzsignsignergroupmembershipGetObjec model = EzsignsignergroupmembershipGetObjectV2Response() if include_optional: return EzsignsignergroupmembershipGetObjectV2Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), + obj_debug = {"sMemoryUsage":"11,923MB","sRunTime":"0.6084s","iSQLSelects":3,"iSQLQueries":6,"a_objSQLQuery":[{"sQuery":"SELECT * FROM table","fDuration":1.0E-4},{"sQuery":"SELECT * FROM table","fDuration":1.0E-4}]}, m_payload = eZmaxApi.models.ezsignsignergroupmembership_get_object_v2_response_m_payload.ezsignsignergroupmembership-getObject-v2-Response-mPayload( obj_ezsignsignergroupmembership = eZmaxApi.models.ezsignsignergroupmembership_response_compound.ezsignsignergroupmembership-ResponseCompound(), ) ) else: return EzsignsignergroupmembershipGetObjectV2Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), m_payload = eZmaxApi.models.ezsignsignergroupmembership_get_object_v2_response_m_payload.ezsignsignergroupmembership-getObject-v2-Response-mPayload( obj_ezsignsignergroupmembership = eZmaxApi.models.ezsignsignergroupmembership_response_compound.ezsignsignergroupmembership-ResponseCompound(), ), ) diff --git a/test/test_ezsignsignergroupmembership_request_compound.py b/test/test_ezsignsignergroupmembership_request_compound.py index 3c48859bd..c3e548e03 100644 --- a/test/test_ezsignsignergroupmembership_request_compound.py +++ b/test/test_ezsignsignergroupmembership_request_compound.py @@ -36,9 +36,15 @@ def make_instance(self, include_optional) -> EzsignsignergroupmembershipRequestC model = EzsignsignergroupmembershipRequestCompound() if include_optional: return EzsignsignergroupmembershipRequestCompound( + pki_ezsignsignergroupmembership_id = 153, + fki_ezsignsignergroup_id = 27, + fki_ezsignsigner_id = 89, + fki_user_id = 70, + fki_usergroup_id = 2 ) else: return EzsignsignergroupmembershipRequestCompound( + fki_ezsignsignergroup_id = 27, ) """ diff --git a/test/test_ezsignsignergroupmembership_response_compound.py b/test/test_ezsignsignergroupmembership_response_compound.py index b85e93f01..4d5195a19 100644 --- a/test/test_ezsignsignergroupmembership_response_compound.py +++ b/test/test_ezsignsignergroupmembership_response_compound.py @@ -36,9 +36,16 @@ def make_instance(self, include_optional) -> EzsignsignergroupmembershipResponse model = EzsignsignergroupmembershipResponseCompound() if include_optional: return EzsignsignergroupmembershipResponseCompound( + pki_ezsignsignergroupmembership_id = 153, + fki_ezsignsignergroup_id = 27, + fki_ezsignsigner_id = 89, + fki_user_id = 70, + fki_usergroup_id = 2 ) else: return EzsignsignergroupmembershipResponseCompound( + pki_ezsignsignergroupmembership_id = 153, + fki_ezsignsignergroup_id = 27, ) """ diff --git a/test/test_ezsignsigningreason_create_object_v1_response.py b/test/test_ezsignsigningreason_create_object_v1_response.py index eca56d7c6..85f7c40c8 100644 --- a/test/test_ezsignsigningreason_create_object_v1_response.py +++ b/test/test_ezsignsigningreason_create_object_v1_response.py @@ -36,6 +36,15 @@ def make_instance(self, include_optional) -> EzsignsigningreasonCreateObjectV1Re model = EzsignsigningreasonCreateObjectV1Response() if include_optional: return EzsignsigningreasonCreateObjectV1Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), + obj_debug = {"sMemoryUsage":"11,923MB","sRunTime":"0.6084s","iSQLSelects":3,"iSQLQueries":6,"a_objSQLQuery":[{"sQuery":"SELECT * FROM table","fDuration":1.0E-4},{"sQuery":"SELECT * FROM table","fDuration":1.0E-4}]}, m_payload = eZmaxApi.models.ezsignsigningreason_create_object_v1_response_m_payload.ezsignsigningreason-createObject-v1-Response-mPayload( a_pki_ezsignsigningreason_id = [ 194 @@ -43,6 +52,14 @@ def make_instance(self, include_optional) -> EzsignsigningreasonCreateObjectV1Re ) else: return EzsignsigningreasonCreateObjectV1Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), m_payload = eZmaxApi.models.ezsignsigningreason_create_object_v1_response_m_payload.ezsignsigningreason-createObject-v1-Response-mPayload( a_pki_ezsignsigningreason_id = [ 194 diff --git a/test/test_ezsignsigningreason_edit_object_v1_response.py b/test/test_ezsignsigningreason_edit_object_v1_response.py index e23d044d4..22bc33c4c 100644 --- a/test/test_ezsignsigningreason_edit_object_v1_response.py +++ b/test/test_ezsignsigningreason_edit_object_v1_response.py @@ -36,9 +36,26 @@ def make_instance(self, include_optional) -> EzsignsigningreasonEditObjectV1Resp model = EzsignsigningreasonEditObjectV1Response() if include_optional: return EzsignsigningreasonEditObjectV1Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), + obj_debug = {"sMemoryUsage":"11,923MB","sRunTime":"0.6084s","iSQLSelects":3,"iSQLQueries":6,"a_objSQLQuery":[{"sQuery":"SELECT * FROM table","fDuration":1.0E-4},{"sQuery":"SELECT * FROM table","fDuration":1.0E-4}]} ) else: return EzsignsigningreasonEditObjectV1Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), ) """ diff --git a/test/test_ezsignsigningreason_get_autocomplete_v2_response.py b/test/test_ezsignsigningreason_get_autocomplete_v2_response.py index 1af46bf86..ca65a85f7 100644 --- a/test/test_ezsignsigningreason_get_autocomplete_v2_response.py +++ b/test/test_ezsignsigningreason_get_autocomplete_v2_response.py @@ -36,6 +36,15 @@ def make_instance(self, include_optional) -> EzsignsigningreasonGetAutocompleteV model = EzsignsigningreasonGetAutocompleteV2Response() if include_optional: return EzsignsigningreasonGetAutocompleteV2Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), + obj_debug = {"sMemoryUsage":"11,923MB","sRunTime":"0.6084s","iSQLSelects":3,"iSQLQueries":6,"a_objSQLQuery":[{"sQuery":"SELECT * FROM table","fDuration":1.0E-4},{"sQuery":"SELECT * FROM table","fDuration":1.0E-4}]}, m_payload = eZmaxApi.models.ezsignsigningreason_get_autocomplete_v2_response_m_payload.ezsignsigningreason-getAutocomplete-v2-Response-mPayload( a_obj_ezsignsigningreason = [ eZmaxApi.models.ezsignsigningreason_autocomplete_element_response.ezsignsigningreason-AutocompleteElement-Response( @@ -46,6 +55,14 @@ def make_instance(self, include_optional) -> EzsignsigningreasonGetAutocompleteV ) else: return EzsignsigningreasonGetAutocompleteV2Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), m_payload = eZmaxApi.models.ezsignsigningreason_get_autocomplete_v2_response_m_payload.ezsignsigningreason-getAutocomplete-v2-Response-mPayload( a_obj_ezsignsigningreason = [ eZmaxApi.models.ezsignsigningreason_autocomplete_element_response.ezsignsigningreason-AutocompleteElement-Response( diff --git a/test/test_ezsignsigningreason_get_list_v1_response.py b/test/test_ezsignsigningreason_get_list_v1_response.py index cc23ed8c2..3c852ccb0 100644 --- a/test/test_ezsignsigningreason_get_list_v1_response.py +++ b/test/test_ezsignsigningreason_get_list_v1_response.py @@ -36,10 +36,13 @@ def make_instance(self, include_optional) -> EzsignsigningreasonGetListV1Respons model = EzsignsigningreasonGetListV1Response() if include_optional: return EzsignsigningreasonGetListV1Response( + 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.ezsignsigningreason_get_list_v1_response_m_payload.ezsignsigningreason-getList-v1-Response-mPayload() ) else: return EzsignsigningreasonGetListV1Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload_get_list.Common-Response-objDebugPayload_getList(), m_payload = eZmaxApi.models.ezsignsigningreason_get_list_v1_response_m_payload.ezsignsigningreason-getList-v1-Response-mPayload(), ) """ diff --git a/test/test_ezsignsigningreason_get_list_v1_response_m_payload.py b/test/test_ezsignsigningreason_get_list_v1_response_m_payload.py index 26d97ad57..c810acb41 100644 --- a/test/test_ezsignsigningreason_get_list_v1_response_m_payload.py +++ b/test/test_ezsignsigningreason_get_list_v1_response_m_payload.py @@ -36,6 +36,8 @@ def make_instance(self, include_optional) -> EzsignsigningreasonGetListV1Respons model = EzsignsigningreasonGetListV1ResponseMPayload() if include_optional: return EzsignsigningreasonGetListV1ResponseMPayload( + i_row_returned = 100, + i_row_filtered = 533, a_obj_ezsignsigningreason = [ eZmaxApi.models.ezsignsigningreason_list_element.ezsignsigningreason-ListElement( pki_ezsignsigningreason_id = 194, @@ -45,6 +47,8 @@ def make_instance(self, include_optional) -> EzsignsigningreasonGetListV1Respons ) else: return EzsignsigningreasonGetListV1ResponseMPayload( + i_row_returned = 100, + i_row_filtered = 533, a_obj_ezsignsigningreason = [ eZmaxApi.models.ezsignsigningreason_list_element.ezsignsigningreason-ListElement( pki_ezsignsigningreason_id = 194, diff --git a/test/test_ezsignsigningreason_get_object_v2_response.py b/test/test_ezsignsigningreason_get_object_v2_response.py index 1530a84b0..f1e2f4ec0 100644 --- a/test/test_ezsignsigningreason_get_object_v2_response.py +++ b/test/test_ezsignsigningreason_get_object_v2_response.py @@ -36,11 +36,28 @@ def make_instance(self, include_optional) -> EzsignsigningreasonGetObjectV2Respo model = EzsignsigningreasonGetObjectV2Response() if include_optional: return EzsignsigningreasonGetObjectV2Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), + obj_debug = {"sMemoryUsage":"11,923MB","sRunTime":"0.6084s","iSQLSelects":3,"iSQLQueries":6,"a_objSQLQuery":[{"sQuery":"SELECT * FROM table","fDuration":1.0E-4},{"sQuery":"SELECT * FROM table","fDuration":1.0E-4}]}, m_payload = eZmaxApi.models.ezsignsigningreason_get_object_v2_response_m_payload.ezsignsigningreason-getObject-v2-Response-mPayload( obj_ezsignsigningreason = eZmaxApi.models.ezsignsigningreason_response_compound.ezsignsigningreason-ResponseCompound(), ) ) else: return EzsignsigningreasonGetObjectV2Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), m_payload = eZmaxApi.models.ezsignsigningreason_get_object_v2_response_m_payload.ezsignsigningreason-getObject-v2-Response-mPayload( obj_ezsignsigningreason = eZmaxApi.models.ezsignsigningreason_response_compound.ezsignsigningreason-ResponseCompound(), ), ) diff --git a/test/test_ezsignsigningreason_request_compound.py b/test/test_ezsignsigningreason_request_compound.py index 581d5658b..0bfb5d0bf 100644 --- a/test/test_ezsignsigningreason_request_compound.py +++ b/test/test_ezsignsigningreason_request_compound.py @@ -36,9 +36,18 @@ def make_instance(self, include_optional) -> EzsignsigningreasonRequestCompound: model = EzsignsigningreasonRequestCompound() if include_optional: return EzsignsigningreasonRequestCompound( + pki_ezsignsigningreason_id = 194, + obj_ezsignsigningreason_description = eZmaxApi.models.multilingual_ezsignsigningreason_description.Multilingual-EzsignsigningreasonDescription( + s_ezsignsigningreason_description1 = 'J'approuve ce document', + s_ezsignsigningreason_description2 = 'I approve this document', ), + b_ezsignsigningreason_isactive = True ) else: return EzsignsigningreasonRequestCompound( + obj_ezsignsigningreason_description = eZmaxApi.models.multilingual_ezsignsigningreason_description.Multilingual-EzsignsigningreasonDescription( + s_ezsignsigningreason_description1 = 'J'approuve ce document', + s_ezsignsigningreason_description2 = 'I approve this document', ), + b_ezsignsigningreason_isactive = True, ) """ diff --git a/test/test_ezsignsigningreason_response_compound.py b/test/test_ezsignsigningreason_response_compound.py index 35a76c4a9..72376047f 100644 --- a/test/test_ezsignsigningreason_response_compound.py +++ b/test/test_ezsignsigningreason_response_compound.py @@ -36,9 +36,19 @@ def make_instance(self, include_optional) -> EzsignsigningreasonResponseCompound model = EzsignsigningreasonResponseCompound() if include_optional: return EzsignsigningreasonResponseCompound( + pki_ezsignsigningreason_id = 194, + obj_ezsignsigningreason_description = eZmaxApi.models.multilingual_ezsignsigningreason_description.Multilingual-EzsignsigningreasonDescription( + s_ezsignsigningreason_description1 = 'J'approuve ce document', + s_ezsignsigningreason_description2 = 'I approve this document', ), + b_ezsignsigningreason_isactive = True ) else: return EzsignsigningreasonResponseCompound( + pki_ezsignsigningreason_id = 194, + obj_ezsignsigningreason_description = eZmaxApi.models.multilingual_ezsignsigningreason_description.Multilingual-EzsignsigningreasonDescription( + s_ezsignsigningreason_description1 = 'J'approuve ce document', + s_ezsignsigningreason_description2 = 'I approve this document', ), + b_ezsignsigningreason_isactive = True, ) """ diff --git a/test/test_ezsigntemplate_copy_v1_response.py b/test/test_ezsigntemplate_copy_v1_response.py index 686f2c9ef..428cf6791 100644 --- a/test/test_ezsigntemplate_copy_v1_response.py +++ b/test/test_ezsigntemplate_copy_v1_response.py @@ -36,6 +36,15 @@ def make_instance(self, include_optional) -> EzsigntemplateCopyV1Response: model = EzsigntemplateCopyV1Response() if include_optional: return EzsigntemplateCopyV1Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), + obj_debug = {"sMemoryUsage":"11,923MB","sRunTime":"0.6084s","iSQLSelects":3,"iSQLQueries":6,"a_objSQLQuery":[{"sQuery":"SELECT * FROM table","fDuration":1.0E-4},{"sQuery":"SELECT * FROM table","fDuration":1.0E-4}]}, m_payload = eZmaxApi.models.ezsigntemplate_copy_v1_response_m_payload.ezsigntemplate-copy-v1-Response-mPayload( a_pki_ezsigntemplate_id = [ 36 @@ -43,6 +52,14 @@ def make_instance(self, include_optional) -> EzsigntemplateCopyV1Response: ) else: return EzsigntemplateCopyV1Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), m_payload = eZmaxApi.models.ezsigntemplate_copy_v1_response_m_payload.ezsigntemplate-copy-v1-Response-mPayload( a_pki_ezsigntemplate_id = [ 36 diff --git a/test/test_ezsigntemplate_create_object_v3_response.py b/test/test_ezsigntemplate_create_object_v3_response.py index 3310bdd38..258104425 100644 --- a/test/test_ezsigntemplate_create_object_v3_response.py +++ b/test/test_ezsigntemplate_create_object_v3_response.py @@ -36,6 +36,15 @@ def make_instance(self, include_optional) -> EzsigntemplateCreateObjectV3Respons model = EzsigntemplateCreateObjectV3Response() if include_optional: return EzsigntemplateCreateObjectV3Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), + obj_debug = {"sMemoryUsage":"11,923MB","sRunTime":"0.6084s","iSQLSelects":3,"iSQLQueries":6,"a_objSQLQuery":[{"sQuery":"SELECT * FROM table","fDuration":1.0E-4},{"sQuery":"SELECT * FROM table","fDuration":1.0E-4}]}, m_payload = eZmaxApi.models.ezsigntemplate_create_object_v3_response_m_payload.ezsigntemplate-createObject-v3-Response-mPayload( a_pki_ezsigntemplate_id = [ 36 @@ -43,6 +52,14 @@ def make_instance(self, include_optional) -> EzsigntemplateCreateObjectV3Respons ) else: return EzsigntemplateCreateObjectV3Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), m_payload = eZmaxApi.models.ezsigntemplate_create_object_v3_response_m_payload.ezsigntemplate-createObject-v3-Response-mPayload( a_pki_ezsigntemplate_id = [ 36 diff --git a/test/test_ezsigntemplate_delete_object_v1_response.py b/test/test_ezsigntemplate_delete_object_v1_response.py index b00ffb9b2..262a6c376 100644 --- a/test/test_ezsigntemplate_delete_object_v1_response.py +++ b/test/test_ezsigntemplate_delete_object_v1_response.py @@ -36,9 +36,26 @@ def make_instance(self, include_optional) -> EzsigntemplateDeleteObjectV1Respons model = EzsigntemplateDeleteObjectV1Response() if include_optional: return EzsigntemplateDeleteObjectV1Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), + obj_debug = {"sMemoryUsage":"11,923MB","sRunTime":"0.6084s","iSQLSelects":3,"iSQLQueries":6,"a_objSQLQuery":[{"sQuery":"SELECT * FROM table","fDuration":1.0E-4},{"sQuery":"SELECT * FROM table","fDuration":1.0E-4}]} ) else: return EzsigntemplateDeleteObjectV1Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), ) """ diff --git a/test/test_ezsigntemplate_edit_object_v3_response.py b/test/test_ezsigntemplate_edit_object_v3_response.py index 01930f382..d71a43608 100644 --- a/test/test_ezsigntemplate_edit_object_v3_response.py +++ b/test/test_ezsigntemplate_edit_object_v3_response.py @@ -36,9 +36,26 @@ def make_instance(self, include_optional) -> EzsigntemplateEditObjectV3Response: model = EzsigntemplateEditObjectV3Response() if include_optional: return EzsigntemplateEditObjectV3Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), + obj_debug = {"sMemoryUsage":"11,923MB","sRunTime":"0.6084s","iSQLSelects":3,"iSQLQueries":6,"a_objSQLQuery":[{"sQuery":"SELECT * FROM table","fDuration":1.0E-4},{"sQuery":"SELECT * FROM table","fDuration":1.0E-4}]} ) else: return EzsigntemplateEditObjectV3Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), ) """ diff --git a/test/test_ezsigntemplate_get_autocomplete_v2_response.py b/test/test_ezsigntemplate_get_autocomplete_v2_response.py index f2bfae053..e4cb9f030 100644 --- a/test/test_ezsigntemplate_get_autocomplete_v2_response.py +++ b/test/test_ezsigntemplate_get_autocomplete_v2_response.py @@ -36,6 +36,15 @@ def make_instance(self, include_optional) -> EzsigntemplateGetAutocompleteV2Resp model = EzsigntemplateGetAutocompleteV2Response() if include_optional: return EzsigntemplateGetAutocompleteV2Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), + obj_debug = {"sMemoryUsage":"11,923MB","sRunTime":"0.6084s","iSQLSelects":3,"iSQLQueries":6,"a_objSQLQuery":[{"sQuery":"SELECT * FROM table","fDuration":1.0E-4},{"sQuery":"SELECT * FROM table","fDuration":1.0E-4}]}, m_payload = eZmaxApi.models.ezsigntemplate_get_autocomplete_v2_response_m_payload.ezsigntemplate-getAutocomplete-v2-Response-mPayload( a_obj_ezsigntemplate = [ eZmaxApi.models.ezsigntemplate_autocomplete_element_response.ezsigntemplate-AutocompleteElement-Response( @@ -47,6 +56,14 @@ def make_instance(self, include_optional) -> EzsigntemplateGetAutocompleteV2Resp ) else: return EzsigntemplateGetAutocompleteV2Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), m_payload = eZmaxApi.models.ezsigntemplate_get_autocomplete_v2_response_m_payload.ezsigntemplate-getAutocomplete-v2-Response-mPayload( a_obj_ezsigntemplate = [ eZmaxApi.models.ezsigntemplate_autocomplete_element_response.ezsigntemplate-AutocompleteElement-Response( diff --git a/test/test_ezsigntemplate_get_list_v1_response.py b/test/test_ezsigntemplate_get_list_v1_response.py index df3ac2784..24fbb37ab 100644 --- a/test/test_ezsigntemplate_get_list_v1_response.py +++ b/test/test_ezsigntemplate_get_list_v1_response.py @@ -36,10 +36,13 @@ def make_instance(self, include_optional) -> EzsigntemplateGetListV1Response: model = EzsigntemplateGetListV1Response() if include_optional: return EzsigntemplateGetListV1Response( + 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.ezsigntemplate_get_list_v1_response_m_payload.ezsigntemplate-getList-v1-Response-mPayload() ) else: return EzsigntemplateGetListV1Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload_get_list.Common-Response-objDebugPayload_getList(), m_payload = eZmaxApi.models.ezsigntemplate_get_list_v1_response_m_payload.ezsigntemplate-getList-v1-Response-mPayload(), ) """ diff --git a/test/test_ezsigntemplate_get_list_v1_response_m_payload.py b/test/test_ezsigntemplate_get_list_v1_response_m_payload.py index 17d62ec13..6d7d8a23c 100644 --- a/test/test_ezsigntemplate_get_list_v1_response_m_payload.py +++ b/test/test_ezsigntemplate_get_list_v1_response_m_payload.py @@ -36,6 +36,8 @@ def make_instance(self, include_optional) -> EzsigntemplateGetListV1ResponseMPay model = EzsigntemplateGetListV1ResponseMPayload() if include_optional: return EzsigntemplateGetListV1ResponseMPayload( + i_row_returned = 100, + i_row_filtered = 533, a_obj_ezsigntemplate = [ eZmaxApi.models.ezsigntemplate_list_element.ezsigntemplate-ListElement( pki_ezsigntemplate_id = 36, @@ -52,6 +54,8 @@ def make_instance(self, include_optional) -> EzsigntemplateGetListV1ResponseMPay ) else: return EzsigntemplateGetListV1ResponseMPayload( + i_row_returned = 100, + i_row_filtered = 533, a_obj_ezsigntemplate = [ eZmaxApi.models.ezsigntemplate_list_element.ezsigntemplate-ListElement( pki_ezsigntemplate_id = 36, diff --git a/test/test_ezsigntemplate_get_object_v3_response.py b/test/test_ezsigntemplate_get_object_v3_response.py index a7bf10293..5b93daaac 100644 --- a/test/test_ezsigntemplate_get_object_v3_response.py +++ b/test/test_ezsigntemplate_get_object_v3_response.py @@ -36,11 +36,28 @@ def make_instance(self, include_optional) -> EzsigntemplateGetObjectV3Response: model = EzsigntemplateGetObjectV3Response() if include_optional: return EzsigntemplateGetObjectV3Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), + obj_debug = {"sMemoryUsage":"11,923MB","sRunTime":"0.6084s","iSQLSelects":3,"iSQLQueries":6,"a_objSQLQuery":[{"sQuery":"SELECT * FROM table","fDuration":1.0E-4},{"sQuery":"SELECT * FROM table","fDuration":1.0E-4}]}, m_payload = eZmaxApi.models.ezsigntemplate_get_object_v3_response_m_payload.ezsigntemplate-getObject-v3-Response-mPayload( obj_ezsigntemplate = eZmaxApi.models.ezsigntemplate_response_compound_v3.ezsigntemplate-ResponseCompoundV3(), ) ) else: return EzsigntemplateGetObjectV3Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), m_payload = eZmaxApi.models.ezsigntemplate_get_object_v3_response_m_payload.ezsigntemplate-getObject-v3-Response-mPayload( obj_ezsigntemplate = eZmaxApi.models.ezsigntemplate_response_compound_v3.ezsigntemplate-ResponseCompoundV3(), ), ) diff --git a/test/test_ezsigntemplate_request_compound_v3.py b/test/test_ezsigntemplate_request_compound_v3.py index f3d771d20..0b561ec6d 100644 --- a/test/test_ezsigntemplate_request_compound_v3.py +++ b/test/test_ezsigntemplate_request_compound_v3.py @@ -36,9 +36,24 @@ def make_instance(self, include_optional) -> EzsigntemplateRequestCompoundV3: model = EzsigntemplateRequestCompoundV3() if include_optional: return EzsigntemplateRequestCompoundV3( + pki_ezsigntemplate_id = 36, + fki_ezsignfoldertype_id = 5, + fki_language_id = 2, + fki_ezdoctemplatedocument_id = 95, + s_ezsigntemplate_description = 'Standard Contract', + s_ezsigntemplate_externaldescription = 'Test eZsign Folder', + t_ezsigntemplate_comment = '', + e_ezsigntemplate_recognition = 'No', + s_ezsigntemplate_filenameregexp = 'Contract', + b_ezsigntemplate_adminonly = True, + e_ezsigntemplate_type = 'Ezsignfoldertype' ) else: return EzsigntemplateRequestCompoundV3( + fki_language_id = 2, + s_ezsigntemplate_description = 'Standard Contract', + b_ezsigntemplate_adminonly = True, + e_ezsigntemplate_type = 'Ezsignfoldertype', ) """ diff --git a/test/test_ezsigntemplate_response_compound.py b/test/test_ezsigntemplate_response_compound.py index 817e4a570..5fd43fe56 100644 --- a/test/test_ezsigntemplate_response_compound.py +++ b/test/test_ezsigntemplate_response_compound.py @@ -36,6 +36,37 @@ def make_instance(self, include_optional) -> EzsigntemplateResponseCompound: model = EzsigntemplateResponseCompound() if include_optional: return EzsigntemplateResponseCompound( + pki_ezsigntemplate_id = 36, + fki_ezsigntemplatedocument_id = 133, + fki_ezsignfoldertype_id = 5, + fki_language_id = 2, + fki_ezdoctemplatedocument_id = 95, + s_language_name_x = 'English', + s_ezsigntemplate_description = 'Standard Contract', + s_ezsigntemplate_externaldescription = 'Test eZsign Folder', + t_ezsigntemplate_comment = '', + s_ezsigntemplate_filenamepattern = 'Contract', + b_ezsigntemplate_adminonly = True, + s_ezsignfoldertype_name_x = 'Default', + obj_audit = eZmaxApi.models.common_audit.Common-Audit( + obj_auditdetail_created = eZmaxApi.models.common_auditdetail.Common-Auditdetail( + fki_user_id = 70, + fki_apikey_id = 99, + s_user_loginname = 'JohnDoe', + s_user_lastname = 'Doe', + s_user_firstname = 'John', + s_apikey_description_x = 'Project X', + dt_auditdetail_date = '2020-12-31 23:59:59', ), + obj_auditdetail_modified = eZmaxApi.models.common_auditdetail.Common-Auditdetail( + fki_user_id = 70, + fki_apikey_id = 99, + s_user_loginname = 'JohnDoe', + s_user_lastname = 'Doe', + s_user_firstname = 'John', + s_apikey_description_x = 'Project X', + dt_auditdetail_date = '2020-12-31 23:59:59', ), ), + b_ezsigntemplate_editallowed = True, + e_ezsigntemplate_type = 'Ezsignfoldertype', obj_ezsigntemplatedocument = eZmaxApi.models.ezsigntemplatedocument_response.ezsigntemplatedocument-Response( pki_ezsigntemplatedocument_id = 133, fki_ezsigntemplate_id = 36, @@ -50,6 +81,29 @@ def make_instance(self, include_optional) -> EzsigntemplateResponseCompound: ) else: return EzsigntemplateResponseCompound( + pki_ezsigntemplate_id = 36, + fki_language_id = 2, + s_language_name_x = 'English', + s_ezsigntemplate_description = 'Standard Contract', + b_ezsigntemplate_adminonly = True, + obj_audit = eZmaxApi.models.common_audit.Common-Audit( + obj_auditdetail_created = eZmaxApi.models.common_auditdetail.Common-Auditdetail( + fki_user_id = 70, + fki_apikey_id = 99, + s_user_loginname = 'JohnDoe', + s_user_lastname = 'Doe', + s_user_firstname = 'John', + s_apikey_description_x = 'Project X', + dt_auditdetail_date = '2020-12-31 23:59:59', ), + obj_auditdetail_modified = eZmaxApi.models.common_auditdetail.Common-Auditdetail( + fki_user_id = 70, + fki_apikey_id = 99, + s_user_loginname = 'JohnDoe', + s_user_lastname = 'Doe', + s_user_firstname = 'John', + s_apikey_description_x = 'Project X', + dt_auditdetail_date = '2020-12-31 23:59:59', ), ), + b_ezsigntemplate_editallowed = True, a_obj_ezsigntemplatesigner = [ eZmaxApi.models.ezsigntemplatesigner_response_compound.ezsigntemplatesigner-ResponseCompound() ], diff --git a/test/test_ezsigntemplate_response_compound_v3.py b/test/test_ezsigntemplate_response_compound_v3.py index efa4c4bbf..818686c8c 100644 --- a/test/test_ezsigntemplate_response_compound_v3.py +++ b/test/test_ezsigntemplate_response_compound_v3.py @@ -36,6 +36,39 @@ def make_instance(self, include_optional) -> EzsigntemplateResponseCompoundV3: model = EzsigntemplateResponseCompoundV3() if include_optional: return EzsigntemplateResponseCompoundV3( + pki_ezsigntemplate_id = 36, + fki_ezsigntemplatedocument_id = 133, + fki_ezsignfoldertype_id = 5, + fki_language_id = 2, + fki_ezdoctemplatedocument_id = 95, + s_ezdoctemplatedocument_name_x = 'Standard Contract', + s_language_name_x = 'English', + s_ezsigntemplate_description = 'Standard Contract', + s_ezsigntemplate_externaldescription = 'Test eZsign Folder', + t_ezsigntemplate_comment = '', + e_ezsigntemplate_recognition = 'No', + s_ezsigntemplate_filenameregexp = 'Contract', + b_ezsigntemplate_adminonly = True, + s_ezsignfoldertype_name_x = 'Default', + obj_audit = eZmaxApi.models.common_audit.Common-Audit( + obj_auditdetail_created = eZmaxApi.models.common_auditdetail.Common-Auditdetail( + fki_user_id = 70, + fki_apikey_id = 99, + s_user_loginname = 'JohnDoe', + s_user_lastname = 'Doe', + s_user_firstname = 'John', + s_apikey_description_x = 'Project X', + dt_auditdetail_date = '2020-12-31 23:59:59', ), + obj_auditdetail_modified = eZmaxApi.models.common_auditdetail.Common-Auditdetail( + fki_user_id = 70, + fki_apikey_id = 99, + s_user_loginname = 'JohnDoe', + s_user_lastname = 'Doe', + s_user_firstname = 'John', + s_apikey_description_x = 'Project X', + dt_auditdetail_date = '2020-12-31 23:59:59', ), ), + b_ezsigntemplate_editallowed = True, + e_ezsigntemplate_type = 'Ezsignfoldertype', obj_ezsigntemplatedocument = eZmaxApi.models.ezsigntemplatedocument_response.ezsigntemplatedocument-Response( pki_ezsigntemplatedocument_id = 133, fki_ezsigntemplate_id = 36, @@ -50,6 +83,29 @@ def make_instance(self, include_optional) -> EzsigntemplateResponseCompoundV3: ) else: return EzsigntemplateResponseCompoundV3( + pki_ezsigntemplate_id = 36, + fki_language_id = 2, + s_language_name_x = 'English', + s_ezsigntemplate_description = 'Standard Contract', + b_ezsigntemplate_adminonly = True, + obj_audit = eZmaxApi.models.common_audit.Common-Audit( + obj_auditdetail_created = eZmaxApi.models.common_auditdetail.Common-Auditdetail( + fki_user_id = 70, + fki_apikey_id = 99, + s_user_loginname = 'JohnDoe', + s_user_lastname = 'Doe', + s_user_firstname = 'John', + s_apikey_description_x = 'Project X', + dt_auditdetail_date = '2020-12-31 23:59:59', ), + obj_auditdetail_modified = eZmaxApi.models.common_auditdetail.Common-Auditdetail( + fki_user_id = 70, + fki_apikey_id = 99, + s_user_loginname = 'JohnDoe', + s_user_lastname = 'Doe', + s_user_firstname = 'John', + s_apikey_description_x = 'Project X', + dt_auditdetail_date = '2020-12-31 23:59:59', ), ), + b_ezsigntemplate_editallowed = True, a_obj_ezsigntemplatesigner = [ eZmaxApi.models.ezsigntemplatesigner_response_compound.ezsigntemplatesigner-ResponseCompound() ], diff --git a/test/test_ezsigntemplatedocument_create_object_v1_response.py b/test/test_ezsigntemplatedocument_create_object_v1_response.py index f7e14aa7c..9cb4fa458 100644 --- a/test/test_ezsigntemplatedocument_create_object_v1_response.py +++ b/test/test_ezsigntemplatedocument_create_object_v1_response.py @@ -36,6 +36,15 @@ def make_instance(self, include_optional) -> EzsigntemplatedocumentCreateObjectV model = EzsigntemplatedocumentCreateObjectV1Response() if include_optional: return EzsigntemplatedocumentCreateObjectV1Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), + obj_debug = {"sMemoryUsage":"11,923MB","sRunTime":"0.6084s","iSQLSelects":3,"iSQLQueries":6,"a_objSQLQuery":[{"sQuery":"SELECT * FROM table","fDuration":1.0E-4},{"sQuery":"SELECT * FROM table","fDuration":1.0E-4}]}, m_payload = eZmaxApi.models.ezsigntemplatedocument_create_object_v1_response_m_payload.ezsigntemplatedocument-createObject-v1-Response-mPayload( a_pki_ezsigntemplatedocument_id = [ 133 @@ -43,6 +52,14 @@ def make_instance(self, include_optional) -> EzsigntemplatedocumentCreateObjectV ) else: return EzsigntemplatedocumentCreateObjectV1Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), m_payload = eZmaxApi.models.ezsigntemplatedocument_create_object_v1_response_m_payload.ezsigntemplatedocument-createObject-v1-Response-mPayload( a_pki_ezsigntemplatedocument_id = [ 133 diff --git a/test/test_ezsigntemplatedocument_edit_ezsigntemplatedocumentpagerecognitions_v1_response.py b/test/test_ezsigntemplatedocument_edit_ezsigntemplatedocumentpagerecognitions_v1_response.py index 3e0269930..68f81c219 100644 --- a/test/test_ezsigntemplatedocument_edit_ezsigntemplatedocumentpagerecognitions_v1_response.py +++ b/test/test_ezsigntemplatedocument_edit_ezsigntemplatedocumentpagerecognitions_v1_response.py @@ -36,6 +36,15 @@ def make_instance(self, include_optional) -> EzsigntemplatedocumentEditEzsigntem model = EzsigntemplatedocumentEditEzsigntemplatedocumentpagerecognitionsV1Response() if include_optional: return EzsigntemplatedocumentEditEzsigntemplatedocumentpagerecognitionsV1Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), + obj_debug = {"sMemoryUsage":"11,923MB","sRunTime":"0.6084s","iSQLSelects":3,"iSQLQueries":6,"a_objSQLQuery":[{"sQuery":"SELECT * FROM table","fDuration":1.0E-4},{"sQuery":"SELECT * FROM table","fDuration":1.0E-4}]}, m_payload = eZmaxApi.models.ezsigntemplatedocument_edit_ezsigntemplatedocumentpagerecognitions_v1_response_m_payload.ezsigntemplatedocument-editEzsigntemplatedocumentpagerecognitions-v1-Response-mPayload( a_pki_ezsigntemplatedocumentpagerecognition_id = [ 126 @@ -43,6 +52,14 @@ def make_instance(self, include_optional) -> EzsigntemplatedocumentEditEzsigntem ) else: return EzsigntemplatedocumentEditEzsigntemplatedocumentpagerecognitionsV1Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), m_payload = eZmaxApi.models.ezsigntemplatedocument_edit_ezsigntemplatedocumentpagerecognitions_v1_response_m_payload.ezsigntemplatedocument-editEzsigntemplatedocumentpagerecognitions-v1-Response-mPayload( a_pki_ezsigntemplatedocumentpagerecognition_id = [ 126 diff --git a/test/test_ezsigntemplatedocument_edit_ezsigntemplateformfieldgroups_v1_response.py b/test/test_ezsigntemplatedocument_edit_ezsigntemplateformfieldgroups_v1_response.py index 19f638aa6..88ee37535 100644 --- a/test/test_ezsigntemplatedocument_edit_ezsigntemplateformfieldgroups_v1_response.py +++ b/test/test_ezsigntemplatedocument_edit_ezsigntemplateformfieldgroups_v1_response.py @@ -36,6 +36,15 @@ def make_instance(self, include_optional) -> EzsigntemplatedocumentEditEzsigntem model = EzsigntemplatedocumentEditEzsigntemplateformfieldgroupsV1Response() if include_optional: return EzsigntemplatedocumentEditEzsigntemplateformfieldgroupsV1Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), + obj_debug = {"sMemoryUsage":"11,923MB","sRunTime":"0.6084s","iSQLSelects":3,"iSQLQueries":6,"a_objSQLQuery":[{"sQuery":"SELECT * FROM table","fDuration":1.0E-4},{"sQuery":"SELECT * FROM table","fDuration":1.0E-4}]}, m_payload = eZmaxApi.models.ezsigntemplatedocument_edit_ezsigntemplateformfieldgroups_v1_response_m_payload.ezsigntemplatedocument-editEzsigntemplateformfieldgroups-v1-Response-mPayload( a_pki_ezsigntemplateformfieldgroup_id = [ 64 @@ -43,6 +52,14 @@ def make_instance(self, include_optional) -> EzsigntemplatedocumentEditEzsigntem ) else: return EzsigntemplatedocumentEditEzsigntemplateformfieldgroupsV1Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), m_payload = eZmaxApi.models.ezsigntemplatedocument_edit_ezsigntemplateformfieldgroups_v1_response_m_payload.ezsigntemplatedocument-editEzsigntemplateformfieldgroups-v1-Response-mPayload( a_pki_ezsigntemplateformfieldgroup_id = [ 64 diff --git a/test/test_ezsigntemplatedocument_edit_ezsigntemplatesignatures_v1_response.py b/test/test_ezsigntemplatedocument_edit_ezsigntemplatesignatures_v1_response.py index 131b16ec4..cbb5c0848 100644 --- a/test/test_ezsigntemplatedocument_edit_ezsigntemplatesignatures_v1_response.py +++ b/test/test_ezsigntemplatedocument_edit_ezsigntemplatesignatures_v1_response.py @@ -36,6 +36,15 @@ def make_instance(self, include_optional) -> EzsigntemplatedocumentEditEzsigntem model = EzsigntemplatedocumentEditEzsigntemplatesignaturesV1Response() if include_optional: return EzsigntemplatedocumentEditEzsigntemplatesignaturesV1Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), + obj_debug = {"sMemoryUsage":"11,923MB","sRunTime":"0.6084s","iSQLSelects":3,"iSQLQueries":6,"a_objSQLQuery":[{"sQuery":"SELECT * FROM table","fDuration":1.0E-4},{"sQuery":"SELECT * FROM table","fDuration":1.0E-4}]}, m_payload = eZmaxApi.models.ezsigntemplatedocument_edit_ezsigntemplatesignatures_v1_response_m_payload.ezsigntemplatedocument-editEzsigntemplatesignatures-v1-Response-mPayload( a_pki_ezsigntemplatesignature_id = [ 99 @@ -43,6 +52,14 @@ def make_instance(self, include_optional) -> EzsigntemplatedocumentEditEzsigntem ) else: return EzsigntemplatedocumentEditEzsigntemplatesignaturesV1Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), m_payload = eZmaxApi.models.ezsigntemplatedocument_edit_ezsigntemplatesignatures_v1_response_m_payload.ezsigntemplatedocument-editEzsigntemplatesignatures-v1-Response-mPayload( a_pki_ezsigntemplatesignature_id = [ 99 diff --git a/test/test_ezsigntemplatedocument_edit_object_v1_response.py b/test/test_ezsigntemplatedocument_edit_object_v1_response.py index 32e905def..d8c689cd7 100644 --- a/test/test_ezsigntemplatedocument_edit_object_v1_response.py +++ b/test/test_ezsigntemplatedocument_edit_object_v1_response.py @@ -36,6 +36,15 @@ def make_instance(self, include_optional) -> EzsigntemplatedocumentEditObjectV1R model = EzsigntemplatedocumentEditObjectV1Response() if include_optional: return EzsigntemplatedocumentEditObjectV1Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), + obj_debug = {"sMemoryUsage":"11,923MB","sRunTime":"0.6084s","iSQLSelects":3,"iSQLQueries":6,"a_objSQLQuery":[{"sQuery":"SELECT * FROM table","fDuration":1.0E-4},{"sQuery":"SELECT * FROM table","fDuration":1.0E-4}]}, a_obj_warning = [ eZmaxApi.models.common_response_warning.Common-Response-Warning( s_warning_message = '', @@ -44,6 +53,14 @@ def make_instance(self, include_optional) -> EzsigntemplatedocumentEditObjectV1R ) else: return EzsigntemplatedocumentEditObjectV1Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), ) """ diff --git a/test/test_ezsigntemplatedocument_extract_text_v1_response.py b/test/test_ezsigntemplatedocument_extract_text_v1_response.py index 3e45a32f3..a4db98979 100644 --- a/test/test_ezsigntemplatedocument_extract_text_v1_response.py +++ b/test/test_ezsigntemplatedocument_extract_text_v1_response.py @@ -36,11 +36,28 @@ def make_instance(self, include_optional) -> EzsigntemplatedocumentExtractTextV1 model = EzsigntemplatedocumentExtractTextV1Response() if include_optional: return EzsigntemplatedocumentExtractTextV1Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), + obj_debug = {"sMemoryUsage":"11,923MB","sRunTime":"0.6084s","iSQLSelects":3,"iSQLQueries":6,"a_objSQLQuery":[{"sQuery":"SELECT * FROM table","fDuration":1.0E-4},{"sQuery":"SELECT * FROM table","fDuration":1.0E-4}]}, m_payload = eZmaxApi.models.ezsigntemplatedocument_extract_text_v1_response_m_payload.ezsigntemplatedocument-extractText-v1-Response-mPayload( s_text = 'Text extract from document', ) ) else: return EzsigntemplatedocumentExtractTextV1Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), m_payload = eZmaxApi.models.ezsigntemplatedocument_extract_text_v1_response_m_payload.ezsigntemplatedocument-extractText-v1-Response-mPayload( s_text = 'Text extract from document', ), ) diff --git a/test/test_ezsigntemplatedocument_flatten_v1_response.py b/test/test_ezsigntemplatedocument_flatten_v1_response.py index 9a5ad3b94..6a0f92d5c 100644 --- a/test/test_ezsigntemplatedocument_flatten_v1_response.py +++ b/test/test_ezsigntemplatedocument_flatten_v1_response.py @@ -36,9 +36,26 @@ def make_instance(self, include_optional) -> EzsigntemplatedocumentFlattenV1Resp model = EzsigntemplatedocumentFlattenV1Response() if include_optional: return EzsigntemplatedocumentFlattenV1Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), + obj_debug = {"sMemoryUsage":"11,923MB","sRunTime":"0.6084s","iSQLSelects":3,"iSQLQueries":6,"a_objSQLQuery":[{"sQuery":"SELECT * FROM table","fDuration":1.0E-4},{"sQuery":"SELECT * FROM table","fDuration":1.0E-4}]} ) else: return EzsigntemplatedocumentFlattenV1Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), ) """ diff --git a/test/test_ezsigntemplatedocument_get_ezsigntemplatedocumentpagerecognitions_v1_response.py b/test/test_ezsigntemplatedocument_get_ezsigntemplatedocumentpagerecognitions_v1_response.py index 88a82d8e1..c141ce3d4 100644 --- a/test/test_ezsigntemplatedocument_get_ezsigntemplatedocumentpagerecognitions_v1_response.py +++ b/test/test_ezsigntemplatedocument_get_ezsigntemplatedocumentpagerecognitions_v1_response.py @@ -36,6 +36,15 @@ def make_instance(self, include_optional) -> EzsigntemplatedocumentGetEzsigntemp model = EzsigntemplatedocumentGetEzsigntemplatedocumentpagerecognitionsV1Response() if include_optional: return EzsigntemplatedocumentGetEzsigntemplatedocumentpagerecognitionsV1Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), + obj_debug = {"sMemoryUsage":"11,923MB","sRunTime":"0.6084s","iSQLSelects":3,"iSQLQueries":6,"a_objSQLQuery":[{"sQuery":"SELECT * FROM table","fDuration":1.0E-4},{"sQuery":"SELECT * FROM table","fDuration":1.0E-4}]}, m_payload = eZmaxApi.models.ezsigntemplatedocument_get_ezsigntemplatedocumentpagerecognitions_v1_response_m_payload.ezsigntemplatedocument-getEzsigntemplatedocumentpagerecognitions-v1-Response-mPayload( a_obj_ezsigntemplatedocumentpagerecognition = [ eZmaxApi.models.ezsigntemplatedocumentpagerecognition_response_compound.ezsigntemplatedocumentpagerecognition-ResponseCompound() @@ -43,6 +52,14 @@ def make_instance(self, include_optional) -> EzsigntemplatedocumentGetEzsigntemp ) else: return EzsigntemplatedocumentGetEzsigntemplatedocumentpagerecognitionsV1Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), m_payload = eZmaxApi.models.ezsigntemplatedocument_get_ezsigntemplatedocumentpagerecognitions_v1_response_m_payload.ezsigntemplatedocument-getEzsigntemplatedocumentpagerecognitions-v1-Response-mPayload( a_obj_ezsigntemplatedocumentpagerecognition = [ eZmaxApi.models.ezsigntemplatedocumentpagerecognition_response_compound.ezsigntemplatedocumentpagerecognition-ResponseCompound() diff --git a/test/test_ezsigntemplatedocument_get_ezsigntemplatedocumentpages_v1_response.py b/test/test_ezsigntemplatedocument_get_ezsigntemplatedocumentpages_v1_response.py index 2572b8708..3ac0db546 100644 --- a/test/test_ezsigntemplatedocument_get_ezsigntemplatedocumentpages_v1_response.py +++ b/test/test_ezsigntemplatedocument_get_ezsigntemplatedocumentpages_v1_response.py @@ -36,6 +36,15 @@ def make_instance(self, include_optional) -> EzsigntemplatedocumentGetEzsigntemp model = EzsigntemplatedocumentGetEzsigntemplatedocumentpagesV1Response() if include_optional: return EzsigntemplatedocumentGetEzsigntemplatedocumentpagesV1Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), + obj_debug = {"sMemoryUsage":"11,923MB","sRunTime":"0.6084s","iSQLSelects":3,"iSQLQueries":6,"a_objSQLQuery":[{"sQuery":"SELECT * FROM table","fDuration":1.0E-4},{"sQuery":"SELECT * FROM table","fDuration":1.0E-4}]}, m_payload = eZmaxApi.models.ezsigntemplatedocument_get_ezsigntemplatedocumentpages_v1_response_m_payload.ezsigntemplatedocument-getEzsigntemplatedocumentpages-v1-Response-mPayload( a_obj_ezsigntemplatedocumentpage = [ eZmaxApi.models.ezsigntemplatedocumentpage_response_compound.ezsigntemplatedocumentpage-ResponseCompound() @@ -43,6 +52,14 @@ def make_instance(self, include_optional) -> EzsigntemplatedocumentGetEzsigntemp ) else: return EzsigntemplatedocumentGetEzsigntemplatedocumentpagesV1Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), m_payload = eZmaxApi.models.ezsigntemplatedocument_get_ezsigntemplatedocumentpages_v1_response_m_payload.ezsigntemplatedocument-getEzsigntemplatedocumentpages-v1-Response-mPayload( a_obj_ezsigntemplatedocumentpage = [ eZmaxApi.models.ezsigntemplatedocumentpage_response_compound.ezsigntemplatedocumentpage-ResponseCompound() diff --git a/test/test_ezsigntemplatedocument_get_ezsigntemplateformfieldgroups_v1_response.py b/test/test_ezsigntemplatedocument_get_ezsigntemplateformfieldgroups_v1_response.py index c7263dff5..ec8df03a6 100644 --- a/test/test_ezsigntemplatedocument_get_ezsigntemplateformfieldgroups_v1_response.py +++ b/test/test_ezsigntemplatedocument_get_ezsigntemplateformfieldgroups_v1_response.py @@ -36,6 +36,15 @@ def make_instance(self, include_optional) -> EzsigntemplatedocumentGetEzsigntemp model = EzsigntemplatedocumentGetEzsigntemplateformfieldgroupsV1Response() if include_optional: return EzsigntemplatedocumentGetEzsigntemplateformfieldgroupsV1Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), + obj_debug = {"sMemoryUsage":"11,923MB","sRunTime":"0.6084s","iSQLSelects":3,"iSQLQueries":6,"a_objSQLQuery":[{"sQuery":"SELECT * FROM table","fDuration":1.0E-4},{"sQuery":"SELECT * FROM table","fDuration":1.0E-4}]}, m_payload = eZmaxApi.models.ezsigntemplatedocument_get_ezsigntemplateformfieldgroups_v1_response_m_payload.ezsigntemplatedocument-getEzsigntemplateformfieldgroups-v1-Response-mPayload( a_obj_ezsigntemplateformfieldgroup = [ eZmaxApi.models.ezsigntemplateformfieldgroup_response_compound.ezsigntemplateformfieldgroup-ResponseCompound() @@ -43,6 +52,14 @@ def make_instance(self, include_optional) -> EzsigntemplatedocumentGetEzsigntemp ) else: return EzsigntemplatedocumentGetEzsigntemplateformfieldgroupsV1Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), m_payload = eZmaxApi.models.ezsigntemplatedocument_get_ezsigntemplateformfieldgroups_v1_response_m_payload.ezsigntemplatedocument-getEzsigntemplateformfieldgroups-v1-Response-mPayload( a_obj_ezsigntemplateformfieldgroup = [ eZmaxApi.models.ezsigntemplateformfieldgroup_response_compound.ezsigntemplateformfieldgroup-ResponseCompound() diff --git a/test/test_ezsigntemplatedocument_get_ezsigntemplatesignatures_v1_response.py b/test/test_ezsigntemplatedocument_get_ezsigntemplatesignatures_v1_response.py index 59d5143f2..cbd278860 100644 --- a/test/test_ezsigntemplatedocument_get_ezsigntemplatesignatures_v1_response.py +++ b/test/test_ezsigntemplatedocument_get_ezsigntemplatesignatures_v1_response.py @@ -36,6 +36,15 @@ def make_instance(self, include_optional) -> EzsigntemplatedocumentGetEzsigntemp model = EzsigntemplatedocumentGetEzsigntemplatesignaturesV1Response() if include_optional: return EzsigntemplatedocumentGetEzsigntemplatesignaturesV1Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), + obj_debug = {"sMemoryUsage":"11,923MB","sRunTime":"0.6084s","iSQLSelects":3,"iSQLQueries":6,"a_objSQLQuery":[{"sQuery":"SELECT * FROM table","fDuration":1.0E-4},{"sQuery":"SELECT * FROM table","fDuration":1.0E-4}]}, m_payload = eZmaxApi.models.ezsigntemplatedocument_get_ezsigntemplatesignatures_v1_response_m_payload.ezsigntemplatedocument-getEzsigntemplatesignatures-v1-Response-mPayload( a_obj_ezsigntemplatesignature = [ eZmaxApi.models.ezsigntemplatesignature_response_compound.ezsigntemplatesignature-ResponseCompound() @@ -43,6 +52,14 @@ def make_instance(self, include_optional) -> EzsigntemplatedocumentGetEzsigntemp ) else: return EzsigntemplatedocumentGetEzsigntemplatesignaturesV1Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), m_payload = eZmaxApi.models.ezsigntemplatedocument_get_ezsigntemplatesignatures_v1_response_m_payload.ezsigntemplatedocument-getEzsigntemplatesignatures-v1-Response-mPayload( a_obj_ezsigntemplatesignature = [ eZmaxApi.models.ezsigntemplatesignature_response_compound.ezsigntemplatesignature-ResponseCompound() diff --git a/test/test_ezsigntemplatedocument_get_object_v2_response.py b/test/test_ezsigntemplatedocument_get_object_v2_response.py index 5a2e92224..cc7f0998f 100644 --- a/test/test_ezsigntemplatedocument_get_object_v2_response.py +++ b/test/test_ezsigntemplatedocument_get_object_v2_response.py @@ -36,11 +36,28 @@ def make_instance(self, include_optional) -> EzsigntemplatedocumentGetObjectV2Re model = EzsigntemplatedocumentGetObjectV2Response() if include_optional: return EzsigntemplatedocumentGetObjectV2Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), + obj_debug = {"sMemoryUsage":"11,923MB","sRunTime":"0.6084s","iSQLSelects":3,"iSQLQueries":6,"a_objSQLQuery":[{"sQuery":"SELECT * FROM table","fDuration":1.0E-4},{"sQuery":"SELECT * FROM table","fDuration":1.0E-4}]}, m_payload = eZmaxApi.models.ezsigntemplatedocument_get_object_v2_response_m_payload.ezsigntemplatedocument-getObject-v2-Response-mPayload( obj_ezsigntemplatedocument = eZmaxApi.models.ezsigntemplatedocument_response_compound.ezsigntemplatedocument-ResponseCompound(), ) ) else: return EzsigntemplatedocumentGetObjectV2Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), m_payload = eZmaxApi.models.ezsigntemplatedocument_get_object_v2_response_m_payload.ezsigntemplatedocument-getObject-v2-Response-mPayload( obj_ezsigntemplatedocument = eZmaxApi.models.ezsigntemplatedocument_response_compound.ezsigntemplatedocument-ResponseCompound(), ), ) diff --git a/test/test_ezsigntemplatedocument_get_words_positions_v1_response.py b/test/test_ezsigntemplatedocument_get_words_positions_v1_response.py index a31f383a0..8dc95d036 100644 --- a/test/test_ezsigntemplatedocument_get_words_positions_v1_response.py +++ b/test/test_ezsigntemplatedocument_get_words_positions_v1_response.py @@ -36,6 +36,15 @@ def make_instance(self, include_optional) -> EzsigntemplatedocumentGetWordsPosit model = EzsigntemplatedocumentGetWordsPositionsV1Response() if include_optional: return EzsigntemplatedocumentGetWordsPositionsV1Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), + obj_debug = {"sMemoryUsage":"11,923MB","sRunTime":"0.6084s","iSQLSelects":3,"iSQLQueries":6,"a_objSQLQuery":[{"sQuery":"SELECT * FROM table","fDuration":1.0E-4},{"sQuery":"SELECT * FROM table","fDuration":1.0E-4}]}, m_payload = [ eZmaxApi.models.custom_word_position_word_response.Custom-WordPositionWord-Response( s_word = '', @@ -49,6 +58,14 @@ def make_instance(self, include_optional) -> EzsigntemplatedocumentGetWordsPosit ) else: return EzsigntemplatedocumentGetWordsPositionsV1Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), m_payload = [ eZmaxApi.models.custom_word_position_word_response.Custom-WordPositionWord-Response( s_word = '', diff --git a/test/test_ezsigntemplatedocument_patch_object_v1_response.py b/test/test_ezsigntemplatedocument_patch_object_v1_response.py index d8c2af632..cc9914bff 100644 --- a/test/test_ezsigntemplatedocument_patch_object_v1_response.py +++ b/test/test_ezsigntemplatedocument_patch_object_v1_response.py @@ -36,9 +36,26 @@ def make_instance(self, include_optional) -> EzsigntemplatedocumentPatchObjectV1 model = EzsigntemplatedocumentPatchObjectV1Response() if include_optional: return EzsigntemplatedocumentPatchObjectV1Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), + obj_debug = {"sMemoryUsage":"11,923MB","sRunTime":"0.6084s","iSQLSelects":3,"iSQLQueries":6,"a_objSQLQuery":[{"sQuery":"SELECT * FROM table","fDuration":1.0E-4},{"sQuery":"SELECT * FROM table","fDuration":1.0E-4}]} ) else: return EzsigntemplatedocumentPatchObjectV1Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), ) """ diff --git a/test/test_ezsigntemplatedocument_request.py b/test/test_ezsigntemplatedocument_request.py index fd0d378d7..aa7d2c0cb 100644 --- a/test/test_ezsigntemplatedocument_request.py +++ b/test/test_ezsigntemplatedocument_request.py @@ -43,7 +43,7 @@ def make_instance(self, include_optional) -> EzsigntemplatedocumentRequest: s_ezsigntemplatedocument_name = 'Standard Contract', e_ezsigntemplatedocument_source = 'Base64', e_ezsigntemplatedocument_format = 'Pdf', - s_ezsigntemplatedocument_base64 = '[B@59fc684e', + s_ezsigntemplatedocument_base64 = '[B@4fd4cae3', s_ezsigntemplatedocument_url = 'http://www.example.com/template.pdf', b_ezsigntemplatedocument_forcerepair = True, e_ezsigntemplatedocument_form = 'Keep', diff --git a/test/test_ezsigntemplatedocument_request_compound.py b/test/test_ezsigntemplatedocument_request_compound.py index 89c433b88..f891a0453 100644 --- a/test/test_ezsigntemplatedocument_request_compound.py +++ b/test/test_ezsigntemplatedocument_request_compound.py @@ -36,9 +36,24 @@ def make_instance(self, include_optional) -> EzsigntemplatedocumentRequestCompou model = EzsigntemplatedocumentRequestCompound() if include_optional: return EzsigntemplatedocumentRequestCompound( + pki_ezsigntemplatedocument_id = 133, + fki_ezsigntemplate_id = 36, + fki_ezsigndocument_id = 97, + fki_ezsigntemplatesigner_id = 9, + s_ezsigntemplatedocument_name = 'Standard Contract', + e_ezsigntemplatedocument_source = 'Base64', + e_ezsigntemplatedocument_format = 'Pdf', + s_ezsigntemplatedocument_base64 = 'eyIkcmVmIjoiIy9jb21wb25lbnRzL2V4YW1wbGVzL1BkZkFzQmFzZTY0L3ZhbHVlIn0=', + s_ezsigntemplatedocument_url = 'http://www.example.com/template.pdf', + b_ezsigntemplatedocument_forcerepair = True, + e_ezsigntemplatedocument_form = 'Keep', + s_ezsigntemplatedocument_password = '' ) else: return EzsigntemplatedocumentRequestCompound( + fki_ezsigntemplate_id = 36, + s_ezsigntemplatedocument_name = 'Standard Contract', + e_ezsigntemplatedocument_source = 'Base64', ) """ diff --git a/test/test_ezsigntemplatedocument_response_compound.py b/test/test_ezsigntemplatedocument_response_compound.py index 85736c57d..f17b981fd 100644 --- a/test/test_ezsigntemplatedocument_response_compound.py +++ b/test/test_ezsigntemplatedocument_response_compound.py @@ -36,9 +36,23 @@ def make_instance(self, include_optional) -> EzsigntemplatedocumentResponseCompo model = EzsigntemplatedocumentResponseCompound() if include_optional: return EzsigntemplatedocumentResponseCompound( + pki_ezsigntemplatedocument_id = 133, + fki_ezsigntemplate_id = 36, + s_ezsigntemplatedocument_name = 'Standard Contract', + i_ezsigntemplatedocument_pagetotal = 5, + i_ezsigntemplatedocument_signaturetotal = 8, + i_ezsigntemplatedocument_formfieldtotal = 8, + b_ezsigntemplatedocument_hassignedsignatures = True ) else: return EzsigntemplatedocumentResponseCompound( + pki_ezsigntemplatedocument_id = 133, + fki_ezsigntemplate_id = 36, + s_ezsigntemplatedocument_name = 'Standard Contract', + i_ezsigntemplatedocument_pagetotal = 5, + i_ezsigntemplatedocument_signaturetotal = 8, + i_ezsigntemplatedocument_formfieldtotal = 8, + b_ezsigntemplatedocument_hassignedsignatures = True, ) """ diff --git a/test/test_ezsigntemplatedocumentpagerecognition_create_object_v1_response.py b/test/test_ezsigntemplatedocumentpagerecognition_create_object_v1_response.py index f50b0dc78..7775cfe5b 100644 --- a/test/test_ezsigntemplatedocumentpagerecognition_create_object_v1_response.py +++ b/test/test_ezsigntemplatedocumentpagerecognition_create_object_v1_response.py @@ -36,6 +36,15 @@ def make_instance(self, include_optional) -> Ezsigntemplatedocumentpagerecogniti model = EzsigntemplatedocumentpagerecognitionCreateObjectV1Response() if include_optional: return EzsigntemplatedocumentpagerecognitionCreateObjectV1Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), + obj_debug = {"sMemoryUsage":"11,923MB","sRunTime":"0.6084s","iSQLSelects":3,"iSQLQueries":6,"a_objSQLQuery":[{"sQuery":"SELECT * FROM table","fDuration":1.0E-4},{"sQuery":"SELECT * FROM table","fDuration":1.0E-4}]}, m_payload = eZmaxApi.models.ezsigntemplatedocumentpagerecognition_create_object_v1_response_m_payload.ezsigntemplatedocumentpagerecognition-createObject-v1-Response-mPayload( a_pki_ezsigntemplatedocumentpagerecognition_id = [ 126 @@ -43,6 +52,14 @@ def make_instance(self, include_optional) -> Ezsigntemplatedocumentpagerecogniti ) else: return EzsigntemplatedocumentpagerecognitionCreateObjectV1Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), m_payload = eZmaxApi.models.ezsigntemplatedocumentpagerecognition_create_object_v1_response_m_payload.ezsigntemplatedocumentpagerecognition-createObject-v1-Response-mPayload( a_pki_ezsigntemplatedocumentpagerecognition_id = [ 126 diff --git a/test/test_ezsigntemplatedocumentpagerecognition_delete_object_v1_response.py b/test/test_ezsigntemplatedocumentpagerecognition_delete_object_v1_response.py index c1d17b16e..7bf5ccd48 100644 --- a/test/test_ezsigntemplatedocumentpagerecognition_delete_object_v1_response.py +++ b/test/test_ezsigntemplatedocumentpagerecognition_delete_object_v1_response.py @@ -36,9 +36,26 @@ def make_instance(self, include_optional) -> Ezsigntemplatedocumentpagerecogniti model = EzsigntemplatedocumentpagerecognitionDeleteObjectV1Response() if include_optional: return EzsigntemplatedocumentpagerecognitionDeleteObjectV1Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), + obj_debug = {"sMemoryUsage":"11,923MB","sRunTime":"0.6084s","iSQLSelects":3,"iSQLQueries":6,"a_objSQLQuery":[{"sQuery":"SELECT * FROM table","fDuration":1.0E-4},{"sQuery":"SELECT * FROM table","fDuration":1.0E-4}]} ) else: return EzsigntemplatedocumentpagerecognitionDeleteObjectV1Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), ) """ diff --git a/test/test_ezsigntemplatedocumentpagerecognition_edit_object_v1_response.py b/test/test_ezsigntemplatedocumentpagerecognition_edit_object_v1_response.py index 1b6aa1c3a..c3e67c297 100644 --- a/test/test_ezsigntemplatedocumentpagerecognition_edit_object_v1_response.py +++ b/test/test_ezsigntemplatedocumentpagerecognition_edit_object_v1_response.py @@ -36,9 +36,26 @@ def make_instance(self, include_optional) -> Ezsigntemplatedocumentpagerecogniti model = EzsigntemplatedocumentpagerecognitionEditObjectV1Response() if include_optional: return EzsigntemplatedocumentpagerecognitionEditObjectV1Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), + obj_debug = {"sMemoryUsage":"11,923MB","sRunTime":"0.6084s","iSQLSelects":3,"iSQLQueries":6,"a_objSQLQuery":[{"sQuery":"SELECT * FROM table","fDuration":1.0E-4},{"sQuery":"SELECT * FROM table","fDuration":1.0E-4}]} ) else: return EzsigntemplatedocumentpagerecognitionEditObjectV1Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), ) """ diff --git a/test/test_ezsigntemplatedocumentpagerecognition_get_object_v2_response.py b/test/test_ezsigntemplatedocumentpagerecognition_get_object_v2_response.py index 26636d63a..080aea33e 100644 --- a/test/test_ezsigntemplatedocumentpagerecognition_get_object_v2_response.py +++ b/test/test_ezsigntemplatedocumentpagerecognition_get_object_v2_response.py @@ -36,11 +36,28 @@ def make_instance(self, include_optional) -> Ezsigntemplatedocumentpagerecogniti model = EzsigntemplatedocumentpagerecognitionGetObjectV2Response() if include_optional: return EzsigntemplatedocumentpagerecognitionGetObjectV2Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), + obj_debug = {"sMemoryUsage":"11,923MB","sRunTime":"0.6084s","iSQLSelects":3,"iSQLQueries":6,"a_objSQLQuery":[{"sQuery":"SELECT * FROM table","fDuration":1.0E-4},{"sQuery":"SELECT * FROM table","fDuration":1.0E-4}]}, m_payload = eZmaxApi.models.ezsigntemplatedocumentpagerecognition_get_object_v2_response_m_payload.ezsigntemplatedocumentpagerecognition-getObject-v2-Response-mPayload( obj_ezsigntemplatedocumentpagerecognition = eZmaxApi.models.ezsigntemplatedocumentpagerecognition_response_compound.ezsigntemplatedocumentpagerecognition-ResponseCompound(), ) ) else: return EzsigntemplatedocumentpagerecognitionGetObjectV2Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), m_payload = eZmaxApi.models.ezsigntemplatedocumentpagerecognition_get_object_v2_response_m_payload.ezsigntemplatedocumentpagerecognition-getObject-v2-Response-mPayload( obj_ezsigntemplatedocumentpagerecognition = eZmaxApi.models.ezsigntemplatedocumentpagerecognition_response_compound.ezsigntemplatedocumentpagerecognition-ResponseCompound(), ), ) diff --git a/test/test_ezsigntemplatedocumentpagerecognition_request_compound.py b/test/test_ezsigntemplatedocumentpagerecognition_request_compound.py index f34b07d50..543f0ccd1 100644 --- a/test/test_ezsigntemplatedocumentpagerecognition_request_compound.py +++ b/test/test_ezsigntemplatedocumentpagerecognition_request_compound.py @@ -36,9 +36,23 @@ def make_instance(self, include_optional) -> Ezsigntemplatedocumentpagerecogniti model = EzsigntemplatedocumentpagerecognitionRequestCompound() if include_optional: return EzsigntemplatedocumentpagerecognitionRequestCompound( + pki_ezsigntemplatedocumentpagerecognition_id = 126, + fki_ezsigntemplatedocumentpage_id = 85, + e_ezsigntemplatedocumentpagerecognition_operator = 'eq', + e_ezsigntemplatedocumentpagerecognition_section = 'FirstLine', + i_ezsigntemplatedocumentpagerecognition_similarpercentage = 50, + i_ezsigntemplatedocumentpagerecognition_x = 36325, + i_ezsigntemplatedocumentpagerecognition_y = 407, + i_ezsigntemplatedocumentpagerecognition_width = 29232, + i_ezsigntemplatedocumentpagerecognition_height = 42651, + t_ezsigntemplatedocumentpagerecognition_text = 'Contract' ) else: return EzsigntemplatedocumentpagerecognitionRequestCompound( + fki_ezsigntemplatedocumentpage_id = 85, + e_ezsigntemplatedocumentpagerecognition_operator = 'eq', + e_ezsigntemplatedocumentpagerecognition_section = 'FirstLine', + t_ezsigntemplatedocumentpagerecognition_text = 'Contract', ) """ diff --git a/test/test_ezsigntemplatedocumentpagerecognition_response_compound.py b/test/test_ezsigntemplatedocumentpagerecognition_response_compound.py index ce00cb213..f1ec97bf4 100644 --- a/test/test_ezsigntemplatedocumentpagerecognition_response_compound.py +++ b/test/test_ezsigntemplatedocumentpagerecognition_response_compound.py @@ -36,9 +36,24 @@ def make_instance(self, include_optional) -> Ezsigntemplatedocumentpagerecogniti model = EzsigntemplatedocumentpagerecognitionResponseCompound() if include_optional: return EzsigntemplatedocumentpagerecognitionResponseCompound( + pki_ezsigntemplatedocumentpagerecognition_id = 126, + fki_ezsigntemplatedocumentpage_id = 85, + e_ezsigntemplatedocumentpagerecognition_operator = 'eq', + e_ezsigntemplatedocumentpagerecognition_section = 'FirstLine', + i_ezsigntemplatedocumentpagerecognition_similarpercentage = 50, + i_ezsigntemplatedocumentpagerecognition_x = 36325, + i_ezsigntemplatedocumentpagerecognition_y = 407, + i_ezsigntemplatedocumentpagerecognition_width = 29232, + i_ezsigntemplatedocumentpagerecognition_height = 42651, + t_ezsigntemplatedocumentpagerecognition_text = 'Contract' ) else: return EzsigntemplatedocumentpagerecognitionResponseCompound( + pki_ezsigntemplatedocumentpagerecognition_id = 126, + fki_ezsigntemplatedocumentpage_id = 85, + e_ezsigntemplatedocumentpagerecognition_operator = 'eq', + e_ezsigntemplatedocumentpagerecognition_section = 'FirstLine', + t_ezsigntemplatedocumentpagerecognition_text = 'Contract', ) """ diff --git a/test/test_ezsigntemplateformfield_request_compound.py b/test/test_ezsigntemplateformfield_request_compound.py index 2e6826fea..c8680acda 100644 --- a/test/test_ezsigntemplateformfield_request_compound.py +++ b/test/test_ezsigntemplateformfield_request_compound.py @@ -36,12 +36,34 @@ def make_instance(self, include_optional) -> EzsigntemplateformfieldRequestCompo model = EzsigntemplateformfieldRequestCompound() if include_optional: return EzsigntemplateformfieldRequestCompound( + pki_ezsigntemplateformfield_id = 71, + e_ezsigntemplateformfield_positioning = 'PerCoordinates', + i_ezsigntemplatedocumentpage_pagenumber = 1, + s_ezsigntemplateformfield_label = 'Peanuts', + s_ezsigntemplateformfield_value = 'Yes', + i_ezsigntemplateformfield_x = 200, + i_ezsigntemplateformfield_y = 300, + i_ezsigntemplateformfield_width = 102, + i_ezsigntemplateformfield_height = 22, + b_ezsigntemplateformfield_autocomplete = True, + b_ezsigntemplateformfield_selected = True, + e_ezsigntemplateformfield_dependencyrequirement = 'AllOf', + s_ezsigntemplateformfield_positioningpattern = 'Signature', + i_ezsigntemplateformfield_positioningoffsetx = 200, + i_ezsigntemplateformfield_positioningoffsety = 200, + e_ezsigntemplateformfield_positioningoccurence = 'All', + e_ezsigntemplateformfield_horizontalalignment = 'Center', + obj_textstylestatic = eZmaxApi.models.textstylestatic_request_compound.textstylestatic-RequestCompound(), a_obj_ezsigntemplateelementdependency = [ eZmaxApi.models.ezsigntemplateelementdependency_request_compound.ezsigntemplateelementdependency-RequestCompound() ] ) else: return EzsigntemplateformfieldRequestCompound( + i_ezsigntemplatedocumentpage_pagenumber = 1, + s_ezsigntemplateformfield_label = 'Peanuts', + i_ezsigntemplateformfield_width = 102, + i_ezsigntemplateformfield_height = 22, ) """ diff --git a/test/test_ezsigntemplateformfield_response_compound.py b/test/test_ezsigntemplateformfield_response_compound.py index 2181c8326..817b0aac9 100644 --- a/test/test_ezsigntemplateformfield_response_compound.py +++ b/test/test_ezsigntemplateformfield_response_compound.py @@ -36,12 +36,35 @@ def make_instance(self, include_optional) -> EzsigntemplateformfieldResponseComp model = EzsigntemplateformfieldResponseCompound() if include_optional: return EzsigntemplateformfieldResponseCompound( + pki_ezsigntemplateformfield_id = 71, + e_ezsigntemplateformfield_positioning = 'PerCoordinates', + i_ezsigntemplatedocumentpage_pagenumber = 1, + s_ezsigntemplateformfield_label = 'Peanuts', + s_ezsigntemplateformfield_value = 'Yes', + i_ezsigntemplateformfield_x = 200, + i_ezsigntemplateformfield_y = 300, + i_ezsigntemplateformfield_width = 102, + i_ezsigntemplateformfield_height = 22, + b_ezsigntemplateformfield_autocomplete = True, + b_ezsigntemplateformfield_selected = True, + e_ezsigntemplateformfield_dependencyrequirement = 'AllOf', + s_ezsigntemplateformfield_positioningpattern = 'Signature', + i_ezsigntemplateformfield_positioningoffsetx = 200, + i_ezsigntemplateformfield_positioningoffsety = 200, + e_ezsigntemplateformfield_positioningoccurence = 'All', + e_ezsigntemplateformfield_horizontalalignment = 'Center', + obj_textstylestatic = eZmaxApi.models.textstylestatic_response_compound.textstylestatic-ResponseCompound(), a_obj_ezsigntemplateelementdependency = [ eZmaxApi.models.ezsigntemplateelementdependency_response_compound.ezsigntemplateelementdependency-ResponseCompound() ] ) else: return EzsigntemplateformfieldResponseCompound( + pki_ezsigntemplateformfield_id = 71, + i_ezsigntemplatedocumentpage_pagenumber = 1, + s_ezsigntemplateformfield_label = 'Peanuts', + i_ezsigntemplateformfield_width = 102, + i_ezsigntemplateformfield_height = 22, ) """ diff --git a/test/test_ezsigntemplateformfieldgroup_create_object_v1_response.py b/test/test_ezsigntemplateformfieldgroup_create_object_v1_response.py index 782fc05bc..a0d6b51e5 100644 --- a/test/test_ezsigntemplateformfieldgroup_create_object_v1_response.py +++ b/test/test_ezsigntemplateformfieldgroup_create_object_v1_response.py @@ -36,6 +36,15 @@ def make_instance(self, include_optional) -> EzsigntemplateformfieldgroupCreateO model = EzsigntemplateformfieldgroupCreateObjectV1Response() if include_optional: return EzsigntemplateformfieldgroupCreateObjectV1Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), + obj_debug = {"sMemoryUsage":"11,923MB","sRunTime":"0.6084s","iSQLSelects":3,"iSQLQueries":6,"a_objSQLQuery":[{"sQuery":"SELECT * FROM table","fDuration":1.0E-4},{"sQuery":"SELECT * FROM table","fDuration":1.0E-4}]}, m_payload = eZmaxApi.models.ezsigntemplateformfieldgroup_create_object_v1_response_m_payload.ezsigntemplateformfieldgroup-createObject-v1-Response-mPayload( a_pki_ezsigntemplateformfieldgroup_id = [ 64 @@ -43,6 +52,14 @@ def make_instance(self, include_optional) -> EzsigntemplateformfieldgroupCreateO ) else: return EzsigntemplateformfieldgroupCreateObjectV1Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), m_payload = eZmaxApi.models.ezsigntemplateformfieldgroup_create_object_v1_response_m_payload.ezsigntemplateformfieldgroup-createObject-v1-Response-mPayload( a_pki_ezsigntemplateformfieldgroup_id = [ 64 diff --git a/test/test_ezsigntemplateformfieldgroup_delete_object_v1_response.py b/test/test_ezsigntemplateformfieldgroup_delete_object_v1_response.py index e6f881ae8..2415df563 100644 --- a/test/test_ezsigntemplateformfieldgroup_delete_object_v1_response.py +++ b/test/test_ezsigntemplateformfieldgroup_delete_object_v1_response.py @@ -36,9 +36,26 @@ def make_instance(self, include_optional) -> EzsigntemplateformfieldgroupDeleteO model = EzsigntemplateformfieldgroupDeleteObjectV1Response() if include_optional: return EzsigntemplateformfieldgroupDeleteObjectV1Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), + obj_debug = {"sMemoryUsage":"11,923MB","sRunTime":"0.6084s","iSQLSelects":3,"iSQLQueries":6,"a_objSQLQuery":[{"sQuery":"SELECT * FROM table","fDuration":1.0E-4},{"sQuery":"SELECT * FROM table","fDuration":1.0E-4}]} ) else: return EzsigntemplateformfieldgroupDeleteObjectV1Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), ) """ diff --git a/test/test_ezsigntemplateformfieldgroup_edit_object_v1_response.py b/test/test_ezsigntemplateformfieldgroup_edit_object_v1_response.py index e4e890563..1ee0c0477 100644 --- a/test/test_ezsigntemplateformfieldgroup_edit_object_v1_response.py +++ b/test/test_ezsigntemplateformfieldgroup_edit_object_v1_response.py @@ -36,9 +36,26 @@ def make_instance(self, include_optional) -> EzsigntemplateformfieldgroupEditObj model = EzsigntemplateformfieldgroupEditObjectV1Response() if include_optional: return EzsigntemplateformfieldgroupEditObjectV1Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), + obj_debug = {"sMemoryUsage":"11,923MB","sRunTime":"0.6084s","iSQLSelects":3,"iSQLQueries":6,"a_objSQLQuery":[{"sQuery":"SELECT * FROM table","fDuration":1.0E-4},{"sQuery":"SELECT * FROM table","fDuration":1.0E-4}]} ) else: return EzsigntemplateformfieldgroupEditObjectV1Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), ) """ diff --git a/test/test_ezsigntemplateformfieldgroup_get_object_v2_response.py b/test/test_ezsigntemplateformfieldgroup_get_object_v2_response.py index 5c3cc8533..fd597ad60 100644 --- a/test/test_ezsigntemplateformfieldgroup_get_object_v2_response.py +++ b/test/test_ezsigntemplateformfieldgroup_get_object_v2_response.py @@ -36,11 +36,28 @@ def make_instance(self, include_optional) -> EzsigntemplateformfieldgroupGetObje model = EzsigntemplateformfieldgroupGetObjectV2Response() if include_optional: return EzsigntemplateformfieldgroupGetObjectV2Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), + obj_debug = {"sMemoryUsage":"11,923MB","sRunTime":"0.6084s","iSQLSelects":3,"iSQLQueries":6,"a_objSQLQuery":[{"sQuery":"SELECT * FROM table","fDuration":1.0E-4},{"sQuery":"SELECT * FROM table","fDuration":1.0E-4}]}, m_payload = eZmaxApi.models.ezsigntemplateformfieldgroup_get_object_v2_response_m_payload.ezsigntemplateformfieldgroup-getObject-v2-Response-mPayload( obj_ezsigntemplateformfieldgroup = eZmaxApi.models.ezsigntemplateformfieldgroup_response_compound.ezsigntemplateformfieldgroup-ResponseCompound(), ) ) else: return EzsigntemplateformfieldgroupGetObjectV2Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), m_payload = eZmaxApi.models.ezsigntemplateformfieldgroup_get_object_v2_response_m_payload.ezsigntemplateformfieldgroup-getObject-v2-Response-mPayload( obj_ezsigntemplateformfieldgroup = eZmaxApi.models.ezsigntemplateformfieldgroup_response_compound.ezsigntemplateformfieldgroup-ResponseCompound(), ), ) diff --git a/test/test_ezsigntemplateformfieldgroup_request_compound.py b/test/test_ezsigntemplateformfieldgroup_request_compound.py index b7e522cd1..1bed9d4d1 100644 --- a/test/test_ezsigntemplateformfieldgroup_request_compound.py +++ b/test/test_ezsigntemplateformfieldgroup_request_compound.py @@ -36,6 +36,23 @@ def make_instance(self, include_optional) -> EzsigntemplateformfieldgroupRequest model = EzsigntemplateformfieldgroupRequestCompound() if include_optional: return EzsigntemplateformfieldgroupRequestCompound( + pki_ezsigntemplateformfieldgroup_id = 64, + fki_ezsigntemplatedocument_id = 133, + e_ezsigntemplateformfieldgroup_type = 'Text', + e_ezsigntemplateformfieldgroup_signerrequirement = 'One', + s_ezsigntemplateformfieldgroup_label = 'Allergies', + i_ezsigntemplateformfieldgroup_step = 1, + s_ezsigntemplateformfieldgroup_defaultvalue = 'Foo', + i_ezsigntemplateformfieldgroup_filledmin = 1, + i_ezsigntemplateformfieldgroup_filledmax = 2, + b_ezsigntemplateformfieldgroup_readonly = True, + i_ezsigntemplateformfieldgroup_maxlength = 75, + b_ezsigntemplateformfieldgroup_encrypted = True, + s_ezsigntemplateformfieldgroup_regexp = '/[-0-9a-zA-Z.+_]+@[-0-9a-zA-Z.+_]+.[a-zA-Z]{2,4}/', + s_ezsigntemplateformfieldgroup_textvalidationcustommessage = 'Phone number', + e_ezsigntemplateformfieldgroup_textvalidation = 'None', + t_ezsigntemplateformfieldgroup_tooltip = 'Please enter a valid email address', + e_ezsigntemplateformfieldgroup_tooltipposition = 'TopLeft', a_obj_ezsigntemplateformfieldgroupsigner = [ eZmaxApi.models.ezsigntemplateformfieldgroupsigner_request_compound.ezsigntemplateformfieldgroupsigner-RequestCompound() ], @@ -48,6 +65,14 @@ def make_instance(self, include_optional) -> EzsigntemplateformfieldgroupRequest ) else: return EzsigntemplateformfieldgroupRequestCompound( + fki_ezsigntemplatedocument_id = 133, + e_ezsigntemplateformfieldgroup_type = 'Text', + s_ezsigntemplateformfieldgroup_label = 'Allergies', + i_ezsigntemplateformfieldgroup_step = 1, + s_ezsigntemplateformfieldgroup_defaultvalue = 'Foo', + i_ezsigntemplateformfieldgroup_filledmin = 1, + i_ezsigntemplateformfieldgroup_filledmax = 2, + b_ezsigntemplateformfieldgroup_readonly = True, a_obj_ezsigntemplateformfieldgroupsigner = [ eZmaxApi.models.ezsigntemplateformfieldgroupsigner_request_compound.ezsigntemplateformfieldgroupsigner-RequestCompound() ], diff --git a/test/test_ezsigntemplateformfieldgroup_response_compound.py b/test/test_ezsigntemplateformfieldgroup_response_compound.py index 6a9a74deb..c02e9b78e 100644 --- a/test/test_ezsigntemplateformfieldgroup_response_compound.py +++ b/test/test_ezsigntemplateformfieldgroup_response_compound.py @@ -36,6 +36,23 @@ def make_instance(self, include_optional) -> EzsigntemplateformfieldgroupRespons model = EzsigntemplateformfieldgroupResponseCompound() if include_optional: return EzsigntemplateformfieldgroupResponseCompound( + pki_ezsigntemplateformfieldgroup_id = 64, + fki_ezsigntemplatedocument_id = 133, + e_ezsigntemplateformfieldgroup_type = 'Text', + e_ezsigntemplateformfieldgroup_signerrequirement = 'One', + s_ezsigntemplateformfieldgroup_label = 'Allergies', + i_ezsigntemplateformfieldgroup_step = 1, + s_ezsigntemplateformfieldgroup_defaultvalue = 'Foo', + i_ezsigntemplateformfieldgroup_filledmin = 1, + i_ezsigntemplateformfieldgroup_filledmax = 2, + b_ezsigntemplateformfieldgroup_readonly = True, + i_ezsigntemplateformfieldgroup_maxlength = 75, + b_ezsigntemplateformfieldgroup_encrypted = True, + s_ezsigntemplateformfieldgroup_regexp = '/[-0-9a-zA-Z.+_]+@[-0-9a-zA-Z.+_]+.[a-zA-Z]{2,4}/', + s_ezsigntemplateformfieldgroup_textvalidationcustommessage = 'Phone number', + e_ezsigntemplateformfieldgroup_textvalidation = 'None', + t_ezsigntemplateformfieldgroup_tooltip = 'Please enter a valid email address', + e_ezsigntemplateformfieldgroup_tooltipposition = 'TopLeft', a_obj_ezsigntemplateformfieldgroupsigner = [ eZmaxApi.models.ezsigntemplateformfieldgroupsigner_response_compound.ezsigntemplateformfieldgroupsigner-ResponseCompound() ], @@ -48,6 +65,14 @@ def make_instance(self, include_optional) -> EzsigntemplateformfieldgroupRespons ) else: return EzsigntemplateformfieldgroupResponseCompound( + pki_ezsigntemplateformfieldgroup_id = 64, + fki_ezsigntemplatedocument_id = 133, + e_ezsigntemplateformfieldgroup_type = 'Text', + s_ezsigntemplateformfieldgroup_label = 'Allergies', + i_ezsigntemplateformfieldgroup_step = 1, + i_ezsigntemplateformfieldgroup_filledmin = 1, + i_ezsigntemplateformfieldgroup_filledmax = 2, + b_ezsigntemplateformfieldgroup_readonly = True, a_obj_ezsigntemplateformfieldgroupsigner = [ eZmaxApi.models.ezsigntemplateformfieldgroupsigner_response_compound.ezsigntemplateformfieldgroupsigner-ResponseCompound() ], diff --git a/test/test_ezsigntemplateglobal_get_autocomplete_v2_response.py b/test/test_ezsigntemplateglobal_get_autocomplete_v2_response.py index 2b4373eb7..41e101550 100644 --- a/test/test_ezsigntemplateglobal_get_autocomplete_v2_response.py +++ b/test/test_ezsigntemplateglobal_get_autocomplete_v2_response.py @@ -36,6 +36,15 @@ def make_instance(self, include_optional) -> EzsigntemplateglobalGetAutocomplete model = EzsigntemplateglobalGetAutocompleteV2Response() if include_optional: return EzsigntemplateglobalGetAutocompleteV2Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), + obj_debug = {"sMemoryUsage":"11,923MB","sRunTime":"0.6084s","iSQLSelects":3,"iSQLQueries":6,"a_objSQLQuery":[{"sQuery":"SELECT * FROM table","fDuration":1.0E-4},{"sQuery":"SELECT * FROM table","fDuration":1.0E-4}]}, m_payload = eZmaxApi.models.ezsigntemplateglobal_get_autocomplete_v2_response_m_payload.ezsigntemplateglobal-getAutocomplete-v2-Response-mPayload( a_obj_ezsigntemplateglobal = [ eZmaxApi.models.ezsigntemplateglobal_autocomplete_element_response.ezsigntemplateglobal-AutocompleteElement-Response( @@ -46,6 +55,14 @@ def make_instance(self, include_optional) -> EzsigntemplateglobalGetAutocomplete ) else: return EzsigntemplateglobalGetAutocompleteV2Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), m_payload = eZmaxApi.models.ezsigntemplateglobal_get_autocomplete_v2_response_m_payload.ezsigntemplateglobal-getAutocomplete-v2-Response-mPayload( a_obj_ezsigntemplateglobal = [ eZmaxApi.models.ezsigntemplateglobal_autocomplete_element_response.ezsigntemplateglobal-AutocompleteElement-Response( diff --git a/test/test_ezsigntemplateglobal_get_object_v2_response.py b/test/test_ezsigntemplateglobal_get_object_v2_response.py index 7fd81581b..aa272f85f 100644 --- a/test/test_ezsigntemplateglobal_get_object_v2_response.py +++ b/test/test_ezsigntemplateglobal_get_object_v2_response.py @@ -36,11 +36,28 @@ def make_instance(self, include_optional) -> EzsigntemplateglobalGetObjectV2Resp model = EzsigntemplateglobalGetObjectV2Response() if include_optional: return EzsigntemplateglobalGetObjectV2Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), + obj_debug = {"sMemoryUsage":"11,923MB","sRunTime":"0.6084s","iSQLSelects":3,"iSQLQueries":6,"a_objSQLQuery":[{"sQuery":"SELECT * FROM table","fDuration":1.0E-4},{"sQuery":"SELECT * FROM table","fDuration":1.0E-4}]}, m_payload = eZmaxApi.models.ezsigntemplateglobal_get_object_v2_response_m_payload.ezsigntemplateglobal-getObject-v2-Response-mPayload( obj_ezsigntemplateglobal = eZmaxApi.models.ezsigntemplateglobal_response_compound.ezsigntemplateglobal-ResponseCompound(), ) ) else: return EzsigntemplateglobalGetObjectV2Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), m_payload = eZmaxApi.models.ezsigntemplateglobal_get_object_v2_response_m_payload.ezsigntemplateglobal-getObject-v2-Response-mPayload( obj_ezsigntemplateglobal = eZmaxApi.models.ezsigntemplateglobal_response_compound.ezsigntemplateglobal-ResponseCompound(), ), ) diff --git a/test/test_ezsigntemplateglobal_response_compound.py b/test/test_ezsigntemplateglobal_response_compound.py index 342d69f8d..0e9b94e2e 100644 --- a/test/test_ezsigntemplateglobal_response_compound.py +++ b/test/test_ezsigntemplateglobal_response_compound.py @@ -36,6 +36,16 @@ def make_instance(self, include_optional) -> EzsigntemplateglobalResponseCompoun model = EzsigntemplateglobalResponseCompound() if include_optional: return EzsigntemplateglobalResponseCompound( + pki_ezsigntemplateglobal_id = 36, + fki_ezsigntemplateglobaldocument_id = 133, + fki_module_id = 40, + s_module_name_x = 'Purchase', + fki_language_id = 2, + s_language_name_x = 'English', + e_ezsigntemplateglobal_module = 'All', + e_ezsigntemplateglobal_supplier = 'Centris', + s_ezsigntemplateglobal_code = 'DR-FR', + s_ezsigntemplateglobal_description = 'Standard Contract', obj_ezsigntemplateglobaldocument = eZmaxApi.models.ezsigntemplateglobaldocument_response.ezsigntemplateglobaldocument-Response( pki_ezsigntemplateglobaldocument_id = 133, s_ezsigntemplateglobaldocument_name = 'Standard Contract', @@ -47,6 +57,15 @@ def make_instance(self, include_optional) -> EzsigntemplateglobalResponseCompoun ) else: return EzsigntemplateglobalResponseCompound( + pki_ezsigntemplateglobal_id = 36, + fki_ezsigntemplateglobaldocument_id = 133, + fki_module_id = 40, + fki_language_id = 2, + s_language_name_x = 'English', + e_ezsigntemplateglobal_module = 'All', + e_ezsigntemplateglobal_supplier = 'Centris', + s_ezsigntemplateglobal_code = 'DR-FR', + s_ezsigntemplateglobal_description = 'Standard Contract', a_obj_ezsigntemplateglobalsigner = [ eZmaxApi.models.ezsigntemplateglobalsigner_response_compound.ezsigntemplateglobalsigner-ResponseCompound() ], diff --git a/test/test_ezsigntemplateglobalsigner_response_compound.py b/test/test_ezsigntemplateglobalsigner_response_compound.py index 295c29786..c0c2f6983 100644 --- a/test/test_ezsigntemplateglobalsigner_response_compound.py +++ b/test/test_ezsigntemplateglobalsigner_response_compound.py @@ -36,9 +36,15 @@ def make_instance(self, include_optional) -> EzsigntemplateglobalsignerResponseC model = EzsigntemplateglobalsignerResponseCompound() if include_optional: return EzsigntemplateglobalsignerResponseCompound( + pki_ezsigntemplateglobalsigner_id = 9, + fki_ezsigntemplateglobal_id = 36, + s_ezsigntemplateglobalsigner_description = 'Customer' ) else: return EzsigntemplateglobalsignerResponseCompound( + pki_ezsigntemplateglobalsigner_id = 9, + fki_ezsigntemplateglobal_id = 36, + s_ezsigntemplateglobalsigner_description = 'Customer', ) """ diff --git a/test/test_ezsigntemplatepackage_create_object_v1_response.py b/test/test_ezsigntemplatepackage_create_object_v1_response.py index fc771073c..7a8d18869 100644 --- a/test/test_ezsigntemplatepackage_create_object_v1_response.py +++ b/test/test_ezsigntemplatepackage_create_object_v1_response.py @@ -36,6 +36,15 @@ def make_instance(self, include_optional) -> EzsigntemplatepackageCreateObjectV1 model = EzsigntemplatepackageCreateObjectV1Response() if include_optional: return EzsigntemplatepackageCreateObjectV1Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), + obj_debug = {"sMemoryUsage":"11,923MB","sRunTime":"0.6084s","iSQLSelects":3,"iSQLQueries":6,"a_objSQLQuery":[{"sQuery":"SELECT * FROM table","fDuration":1.0E-4},{"sQuery":"SELECT * FROM table","fDuration":1.0E-4}]}, m_payload = eZmaxApi.models.ezsigntemplatepackage_create_object_v1_response_m_payload.ezsigntemplatepackage-createObject-v1-Response-mPayload( a_pki_ezsigntemplatepackage_id = [ 99 @@ -43,6 +52,14 @@ def make_instance(self, include_optional) -> EzsigntemplatepackageCreateObjectV1 ) else: return EzsigntemplatepackageCreateObjectV1Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), m_payload = eZmaxApi.models.ezsigntemplatepackage_create_object_v1_response_m_payload.ezsigntemplatepackage-createObject-v1-Response-mPayload( a_pki_ezsigntemplatepackage_id = [ 99 diff --git a/test/test_ezsigntemplatepackage_delete_object_v1_response.py b/test/test_ezsigntemplatepackage_delete_object_v1_response.py index db382cf7c..67e1d9274 100644 --- a/test/test_ezsigntemplatepackage_delete_object_v1_response.py +++ b/test/test_ezsigntemplatepackage_delete_object_v1_response.py @@ -36,9 +36,26 @@ def make_instance(self, include_optional) -> EzsigntemplatepackageDeleteObjectV1 model = EzsigntemplatepackageDeleteObjectV1Response() if include_optional: return EzsigntemplatepackageDeleteObjectV1Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), + obj_debug = {"sMemoryUsage":"11,923MB","sRunTime":"0.6084s","iSQLSelects":3,"iSQLQueries":6,"a_objSQLQuery":[{"sQuery":"SELECT * FROM table","fDuration":1.0E-4},{"sQuery":"SELECT * FROM table","fDuration":1.0E-4}]} ) else: return EzsigntemplatepackageDeleteObjectV1Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), ) """ diff --git a/test/test_ezsigntemplatepackage_edit_ezsigntemplatepackagesigners_v1_response.py b/test/test_ezsigntemplatepackage_edit_ezsigntemplatepackagesigners_v1_response.py index 21b1a5416..a934fb650 100644 --- a/test/test_ezsigntemplatepackage_edit_ezsigntemplatepackagesigners_v1_response.py +++ b/test/test_ezsigntemplatepackage_edit_ezsigntemplatepackagesigners_v1_response.py @@ -36,6 +36,15 @@ def make_instance(self, include_optional) -> EzsigntemplatepackageEditEzsigntemp model = EzsigntemplatepackageEditEzsigntemplatepackagesignersV1Response() if include_optional: return EzsigntemplatepackageEditEzsigntemplatepackagesignersV1Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), + obj_debug = {"sMemoryUsage":"11,923MB","sRunTime":"0.6084s","iSQLSelects":3,"iSQLQueries":6,"a_objSQLQuery":[{"sQuery":"SELECT * FROM table","fDuration":1.0E-4},{"sQuery":"SELECT * FROM table","fDuration":1.0E-4}]}, m_payload = eZmaxApi.models.ezsigntemplatepackage_edit_ezsigntemplatepackagesigners_v1_response_m_payload.ezsigntemplatepackage-editEzsigntemplatepackagesigners-v1-Response-mPayload( a_pki_ezsigntemplatepackagesigner_id = [ 174 @@ -43,6 +52,14 @@ def make_instance(self, include_optional) -> EzsigntemplatepackageEditEzsigntemp ) else: return EzsigntemplatepackageEditEzsigntemplatepackagesignersV1Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), m_payload = eZmaxApi.models.ezsigntemplatepackage_edit_ezsigntemplatepackagesigners_v1_response_m_payload.ezsigntemplatepackage-editEzsigntemplatepackagesigners-v1-Response-mPayload( a_pki_ezsigntemplatepackagesigner_id = [ 174 diff --git a/test/test_ezsigntemplatepackage_edit_object_v1_response.py b/test/test_ezsigntemplatepackage_edit_object_v1_response.py index 44f62d529..b3084d7e8 100644 --- a/test/test_ezsigntemplatepackage_edit_object_v1_response.py +++ b/test/test_ezsigntemplatepackage_edit_object_v1_response.py @@ -36,9 +36,26 @@ def make_instance(self, include_optional) -> EzsigntemplatepackageEditObjectV1Re model = EzsigntemplatepackageEditObjectV1Response() if include_optional: return EzsigntemplatepackageEditObjectV1Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), + obj_debug = {"sMemoryUsage":"11,923MB","sRunTime":"0.6084s","iSQLSelects":3,"iSQLQueries":6,"a_objSQLQuery":[{"sQuery":"SELECT * FROM table","fDuration":1.0E-4},{"sQuery":"SELECT * FROM table","fDuration":1.0E-4}]} ) else: return EzsigntemplatepackageEditObjectV1Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), ) """ diff --git a/test/test_ezsigntemplatepackage_get_autocomplete_v2_response.py b/test/test_ezsigntemplatepackage_get_autocomplete_v2_response.py index b82b93524..1ba333f55 100644 --- a/test/test_ezsigntemplatepackage_get_autocomplete_v2_response.py +++ b/test/test_ezsigntemplatepackage_get_autocomplete_v2_response.py @@ -36,6 +36,15 @@ def make_instance(self, include_optional) -> EzsigntemplatepackageGetAutocomplet model = EzsigntemplatepackageGetAutocompleteV2Response() if include_optional: return EzsigntemplatepackageGetAutocompleteV2Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), + obj_debug = {"sMemoryUsage":"11,923MB","sRunTime":"0.6084s","iSQLSelects":3,"iSQLQueries":6,"a_objSQLQuery":[{"sQuery":"SELECT * FROM table","fDuration":1.0E-4},{"sQuery":"SELECT * FROM table","fDuration":1.0E-4}]}, m_payload = eZmaxApi.models.ezsigntemplatepackage_get_autocomplete_v2_response_m_payload.ezsigntemplatepackage-getAutocomplete-v2-Response-mPayload( a_obj_ezsigntemplatepackage = [ eZmaxApi.models.ezsigntemplatepackage_autocomplete_element_response.ezsigntemplatepackage-AutocompleteElement-Response( @@ -48,6 +57,14 @@ def make_instance(self, include_optional) -> EzsigntemplatepackageGetAutocomplet ) else: return EzsigntemplatepackageGetAutocompleteV2Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), m_payload = eZmaxApi.models.ezsigntemplatepackage_get_autocomplete_v2_response_m_payload.ezsigntemplatepackage-getAutocomplete-v2-Response-mPayload( a_obj_ezsigntemplatepackage = [ eZmaxApi.models.ezsigntemplatepackage_autocomplete_element_response.ezsigntemplatepackage-AutocompleteElement-Response( diff --git a/test/test_ezsigntemplatepackage_get_list_v1_response.py b/test/test_ezsigntemplatepackage_get_list_v1_response.py index 713a0b29c..c2d412098 100644 --- a/test/test_ezsigntemplatepackage_get_list_v1_response.py +++ b/test/test_ezsigntemplatepackage_get_list_v1_response.py @@ -36,10 +36,13 @@ def make_instance(self, include_optional) -> EzsigntemplatepackageGetListV1Respo model = EzsigntemplatepackageGetListV1Response() if include_optional: return EzsigntemplatepackageGetListV1Response( + 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.ezsigntemplatepackage_get_list_v1_response_m_payload.ezsigntemplatepackage-getList-v1-Response-mPayload() ) else: return EzsigntemplatepackageGetListV1Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload_get_list.Common-Response-objDebugPayload_getList(), m_payload = eZmaxApi.models.ezsigntemplatepackage_get_list_v1_response_m_payload.ezsigntemplatepackage-getList-v1-Response-mPayload(), ) """ diff --git a/test/test_ezsigntemplatepackage_get_list_v1_response_m_payload.py b/test/test_ezsigntemplatepackage_get_list_v1_response_m_payload.py index f35870e44..0f642a705 100644 --- a/test/test_ezsigntemplatepackage_get_list_v1_response_m_payload.py +++ b/test/test_ezsigntemplatepackage_get_list_v1_response_m_payload.py @@ -36,6 +36,8 @@ def make_instance(self, include_optional) -> EzsigntemplatepackageGetListV1Respo model = EzsigntemplatepackageGetListV1ResponseMPayload() if include_optional: return EzsigntemplatepackageGetListV1ResponseMPayload( + i_row_returned = 100, + i_row_filtered = 533, a_obj_ezsigntemplatepackage = [ eZmaxApi.models.ezsigntemplatepackage_list_element.ezsigntemplatepackage-ListElement( pki_ezsigntemplatepackage_id = 99, @@ -50,6 +52,8 @@ def make_instance(self, include_optional) -> EzsigntemplatepackageGetListV1Respo ) else: return EzsigntemplatepackageGetListV1ResponseMPayload( + i_row_returned = 100, + i_row_filtered = 533, a_obj_ezsigntemplatepackage = [ eZmaxApi.models.ezsigntemplatepackage_list_element.ezsigntemplatepackage-ListElement( pki_ezsigntemplatepackage_id = 99, diff --git a/test/test_ezsigntemplatepackage_get_object_v2_response.py b/test/test_ezsigntemplatepackage_get_object_v2_response.py index e0ed6803e..c3ed2e0d2 100644 --- a/test/test_ezsigntemplatepackage_get_object_v2_response.py +++ b/test/test_ezsigntemplatepackage_get_object_v2_response.py @@ -36,11 +36,28 @@ def make_instance(self, include_optional) -> EzsigntemplatepackageGetObjectV2Res model = EzsigntemplatepackageGetObjectV2Response() if include_optional: return EzsigntemplatepackageGetObjectV2Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), + obj_debug = {"sMemoryUsage":"11,923MB","sRunTime":"0.6084s","iSQLSelects":3,"iSQLQueries":6,"a_objSQLQuery":[{"sQuery":"SELECT * FROM table","fDuration":1.0E-4},{"sQuery":"SELECT * FROM table","fDuration":1.0E-4}]}, m_payload = eZmaxApi.models.ezsigntemplatepackage_get_object_v2_response_m_payload.ezsigntemplatepackage-getObject-v2-Response-mPayload( obj_ezsigntemplatepackage = eZmaxApi.models.ezsigntemplatepackage_response_compound.ezsigntemplatepackage-ResponseCompound(), ) ) else: return EzsigntemplatepackageGetObjectV2Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), m_payload = eZmaxApi.models.ezsigntemplatepackage_get_object_v2_response_m_payload.ezsigntemplatepackage-getObject-v2-Response-mPayload( obj_ezsigntemplatepackage = eZmaxApi.models.ezsigntemplatepackage_response_compound.ezsigntemplatepackage-ResponseCompound(), ), ) diff --git a/test/test_ezsigntemplatepackage_request_compound.py b/test/test_ezsigntemplatepackage_request_compound.py index e3aae9c5c..bcd482e16 100644 --- a/test/test_ezsigntemplatepackage_request_compound.py +++ b/test/test_ezsigntemplatepackage_request_compound.py @@ -36,9 +36,21 @@ def make_instance(self, include_optional) -> EzsigntemplatepackageRequestCompoun model = EzsigntemplatepackageRequestCompound() if include_optional: return EzsigntemplatepackageRequestCompound( + pki_ezsigntemplatepackage_id = 99, + fki_ezsignfoldertype_id = 5, + fki_ezdoctemplatedocument_id = 95, + fki_language_id = 2, + s_ezsigntemplatepackage_description = 'Package for new clients', + b_ezsigntemplatepackage_adminonly = True, + b_ezsigntemplatepackage_isactive = True ) else: return EzsigntemplatepackageRequestCompound( + fki_ezsignfoldertype_id = 5, + fki_language_id = 2, + s_ezsigntemplatepackage_description = 'Package for new clients', + b_ezsigntemplatepackage_adminonly = True, + b_ezsigntemplatepackage_isactive = True, ) """ diff --git a/test/test_ezsigntemplatepackage_response_compound.py b/test/test_ezsigntemplatepackage_response_compound.py index 8167297aa..e8c40fd6f 100644 --- a/test/test_ezsigntemplatepackage_response_compound.py +++ b/test/test_ezsigntemplatepackage_response_compound.py @@ -36,6 +36,18 @@ def make_instance(self, include_optional) -> EzsigntemplatepackageResponseCompou model = EzsigntemplatepackageResponseCompound() if include_optional: return EzsigntemplatepackageResponseCompound( + pki_ezsigntemplatepackage_id = 99, + fki_ezsignfoldertype_id = 5, + fki_ezdoctemplatedocument_id = 95, + fki_language_id = 2, + s_ezdoctemplatedocument_name_x = 'Standard Contract', + s_language_name_x = 'English', + s_ezsigntemplatepackage_description = 'Package for new clients', + b_ezsigntemplatepackage_adminonly = True, + b_ezsigntemplatepackage_needvalidation = True, + b_ezsigntemplatepackage_isactive = True, + s_ezsignfoldertype_name_x = 'Default', + b_ezsigntemplatepackage_editallowed = True, a_obj_ezsigntemplatepackagesigner = [ eZmaxApi.models.ezsigntemplatepackagesigner_response_compound.ezsigntemplatepackagesigner-ResponseCompound() ], @@ -45,6 +57,16 @@ def make_instance(self, include_optional) -> EzsigntemplatepackageResponseCompou ) else: return EzsigntemplatepackageResponseCompound( + pki_ezsigntemplatepackage_id = 99, + fki_ezsignfoldertype_id = 5, + fki_language_id = 2, + s_language_name_x = 'English', + s_ezsigntemplatepackage_description = 'Package for new clients', + b_ezsigntemplatepackage_adminonly = True, + b_ezsigntemplatepackage_needvalidation = True, + b_ezsigntemplatepackage_isactive = True, + s_ezsignfoldertype_name_x = 'Default', + b_ezsigntemplatepackage_editallowed = True, a_obj_ezsigntemplatepackagesigner = [ eZmaxApi.models.ezsigntemplatepackagesigner_response_compound.ezsigntemplatepackagesigner-ResponseCompound() ], diff --git a/test/test_ezsigntemplatepackagemembership_create_object_v1_response.py b/test/test_ezsigntemplatepackagemembership_create_object_v1_response.py index 44acbfaba..80760fe0d 100644 --- a/test/test_ezsigntemplatepackagemembership_create_object_v1_response.py +++ b/test/test_ezsigntemplatepackagemembership_create_object_v1_response.py @@ -36,6 +36,15 @@ def make_instance(self, include_optional) -> EzsigntemplatepackagemembershipCrea model = EzsigntemplatepackagemembershipCreateObjectV1Response() if include_optional: return EzsigntemplatepackagemembershipCreateObjectV1Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), + obj_debug = {"sMemoryUsage":"11,923MB","sRunTime":"0.6084s","iSQLSelects":3,"iSQLQueries":6,"a_objSQLQuery":[{"sQuery":"SELECT * FROM table","fDuration":1.0E-4},{"sQuery":"SELECT * FROM table","fDuration":1.0E-4}]}, m_payload = eZmaxApi.models.ezsigntemplatepackagemembership_create_object_v1_response_m_payload.ezsigntemplatepackagemembership-createObject-v1-Response-mPayload( a_pki_ezsigntemplatepackagemembership_id = [ 194 @@ -45,6 +54,14 @@ def make_instance(self, include_optional) -> EzsigntemplatepackagemembershipCrea ) else: return EzsigntemplatepackagemembershipCreateObjectV1Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), m_payload = eZmaxApi.models.ezsigntemplatepackagemembership_create_object_v1_response_m_payload.ezsigntemplatepackagemembership-createObject-v1-Response-mPayload( a_pki_ezsigntemplatepackagemembership_id = [ 194 diff --git a/test/test_ezsigntemplatepackagemembership_delete_object_v1_response.py b/test/test_ezsigntemplatepackagemembership_delete_object_v1_response.py index 37da91f93..629417ba3 100644 --- a/test/test_ezsigntemplatepackagemembership_delete_object_v1_response.py +++ b/test/test_ezsigntemplatepackagemembership_delete_object_v1_response.py @@ -36,9 +36,26 @@ def make_instance(self, include_optional) -> EzsigntemplatepackagemembershipDele model = EzsigntemplatepackagemembershipDeleteObjectV1Response() if include_optional: return EzsigntemplatepackagemembershipDeleteObjectV1Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), + obj_debug = {"sMemoryUsage":"11,923MB","sRunTime":"0.6084s","iSQLSelects":3,"iSQLQueries":6,"a_objSQLQuery":[{"sQuery":"SELECT * FROM table","fDuration":1.0E-4},{"sQuery":"SELECT * FROM table","fDuration":1.0E-4}]} ) else: return EzsigntemplatepackagemembershipDeleteObjectV1Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), ) """ diff --git a/test/test_ezsigntemplatepackagemembership_get_object_v2_response.py b/test/test_ezsigntemplatepackagemembership_get_object_v2_response.py index 35be5e3d9..abbbc859e 100644 --- a/test/test_ezsigntemplatepackagemembership_get_object_v2_response.py +++ b/test/test_ezsigntemplatepackagemembership_get_object_v2_response.py @@ -36,11 +36,28 @@ def make_instance(self, include_optional) -> EzsigntemplatepackagemembershipGetO model = EzsigntemplatepackagemembershipGetObjectV2Response() if include_optional: return EzsigntemplatepackagemembershipGetObjectV2Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), + obj_debug = {"sMemoryUsage":"11,923MB","sRunTime":"0.6084s","iSQLSelects":3,"iSQLQueries":6,"a_objSQLQuery":[{"sQuery":"SELECT * FROM table","fDuration":1.0E-4},{"sQuery":"SELECT * FROM table","fDuration":1.0E-4}]}, m_payload = eZmaxApi.models.ezsigntemplatepackagemembership_get_object_v2_response_m_payload.ezsigntemplatepackagemembership-getObject-v2-Response-mPayload( obj_ezsigntemplatepackagemembership = eZmaxApi.models.ezsigntemplatepackagemembership_response_compound.ezsigntemplatepackagemembership-ResponseCompound(), ) ) else: return EzsigntemplatepackagemembershipGetObjectV2Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), m_payload = eZmaxApi.models.ezsigntemplatepackagemembership_get_object_v2_response_m_payload.ezsigntemplatepackagemembership-getObject-v2-Response-mPayload( obj_ezsigntemplatepackagemembership = eZmaxApi.models.ezsigntemplatepackagemembership_response_compound.ezsigntemplatepackagemembership-ResponseCompound(), ), ) diff --git a/test/test_ezsigntemplatepackagemembership_request_compound.py b/test/test_ezsigntemplatepackagemembership_request_compound.py index c46708d02..69630a256 100644 --- a/test/test_ezsigntemplatepackagemembership_request_compound.py +++ b/test/test_ezsigntemplatepackagemembership_request_compound.py @@ -36,9 +36,14 @@ def make_instance(self, include_optional) -> EzsigntemplatepackagemembershipRequ model = EzsigntemplatepackagemembershipRequestCompound() if include_optional: return EzsigntemplatepackagemembershipRequestCompound( + pki_ezsigntemplatepackagemembership_id = 194, + fki_ezsigntemplatepackage_id = 99, + fki_ezsigntemplate_id = 36 ) else: return EzsigntemplatepackagemembershipRequestCompound( + fki_ezsigntemplatepackage_id = 99, + fki_ezsigntemplate_id = 36, ) """ diff --git a/test/test_ezsigntemplatepackagemembership_response_compound.py b/test/test_ezsigntemplatepackagemembership_response_compound.py index 5d647e3aa..757e948a8 100644 --- a/test/test_ezsigntemplatepackagemembership_response_compound.py +++ b/test/test_ezsigntemplatepackagemembership_response_compound.py @@ -36,6 +36,10 @@ def make_instance(self, include_optional) -> EzsigntemplatepackagemembershipResp model = EzsigntemplatepackagemembershipResponseCompound() if include_optional: return EzsigntemplatepackagemembershipResponseCompound( + pki_ezsigntemplatepackagemembership_id = 194, + fki_ezsigntemplatepackage_id = 99, + fki_ezsigntemplate_id = 36, + i_ezsigntemplatepackagemembership_order = 1, obj_ezsigntemplate = eZmaxApi.models.ezsigntemplate_response_compound.ezsigntemplate-ResponseCompound(), a_obj_ezsigntemplatepackagesignermembership = [ eZmaxApi.models.ezsigntemplatepackagesignermembership_response_compound.ezsigntemplatepackagesignermembership-ResponseCompound() @@ -43,6 +47,10 @@ def make_instance(self, include_optional) -> EzsigntemplatepackagemembershipResp ) else: return EzsigntemplatepackagemembershipResponseCompound( + pki_ezsigntemplatepackagemembership_id = 194, + fki_ezsigntemplatepackage_id = 99, + fki_ezsigntemplate_id = 36, + i_ezsigntemplatepackagemembership_order = 1, obj_ezsigntemplate = eZmaxApi.models.ezsigntemplate_response_compound.ezsigntemplate-ResponseCompound(), a_obj_ezsigntemplatepackagesignermembership = [ eZmaxApi.models.ezsigntemplatepackagesignermembership_response_compound.ezsigntemplatepackagesignermembership-ResponseCompound() diff --git a/test/test_ezsigntemplatepackagesigner_create_object_v1_response.py b/test/test_ezsigntemplatepackagesigner_create_object_v1_response.py index 8cf84e2b1..9c57f4fad 100644 --- a/test/test_ezsigntemplatepackagesigner_create_object_v1_response.py +++ b/test/test_ezsigntemplatepackagesigner_create_object_v1_response.py @@ -36,6 +36,15 @@ def make_instance(self, include_optional) -> EzsigntemplatepackagesignerCreateOb model = EzsigntemplatepackagesignerCreateObjectV1Response() if include_optional: return EzsigntemplatepackagesignerCreateObjectV1Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), + obj_debug = {"sMemoryUsage":"11,923MB","sRunTime":"0.6084s","iSQLSelects":3,"iSQLQueries":6,"a_objSQLQuery":[{"sQuery":"SELECT * FROM table","fDuration":1.0E-4},{"sQuery":"SELECT * FROM table","fDuration":1.0E-4}]}, m_payload = eZmaxApi.models.ezsigntemplatepackagesigner_create_object_v1_response_m_payload.ezsigntemplatepackagesigner-createObject-v1-Response-mPayload( a_pki_ezsigntemplatepackagesigner_id = [ 174 @@ -43,6 +52,14 @@ def make_instance(self, include_optional) -> EzsigntemplatepackagesignerCreateOb ) else: return EzsigntemplatepackagesignerCreateObjectV1Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), m_payload = eZmaxApi.models.ezsigntemplatepackagesigner_create_object_v1_response_m_payload.ezsigntemplatepackagesigner-createObject-v1-Response-mPayload( a_pki_ezsigntemplatepackagesigner_id = [ 174 diff --git a/test/test_ezsigntemplatepackagesigner_delete_object_v1_response.py b/test/test_ezsigntemplatepackagesigner_delete_object_v1_response.py index b8c804825..4e939f118 100644 --- a/test/test_ezsigntemplatepackagesigner_delete_object_v1_response.py +++ b/test/test_ezsigntemplatepackagesigner_delete_object_v1_response.py @@ -36,12 +36,29 @@ def make_instance(self, include_optional) -> EzsigntemplatepackagesignerDeleteOb model = EzsigntemplatepackagesignerDeleteObjectV1Response() if include_optional: return EzsigntemplatepackagesignerDeleteObjectV1Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), + obj_debug = {"sMemoryUsage":"11,923MB","sRunTime":"0.6084s","iSQLSelects":3,"iSQLQueries":6,"a_objSQLQuery":[{"sQuery":"SELECT * FROM table","fDuration":1.0E-4},{"sQuery":"SELECT * FROM table","fDuration":1.0E-4}]}, m_payload = eZmaxApi.models.ezsigntemplatepackagesigner_delete_object_v1_response_m_payload.ezsigntemplatepackagesigner-deleteObject-v1-Response-mPayload( b_ezsigntemplatepackage_needvalidation = True, b_ezsignbulksend_needvalidation = True, ) ) else: return EzsigntemplatepackagesignerDeleteObjectV1Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), m_payload = eZmaxApi.models.ezsigntemplatepackagesigner_delete_object_v1_response_m_payload.ezsigntemplatepackagesigner-deleteObject-v1-Response-mPayload( b_ezsigntemplatepackage_needvalidation = True, b_ezsignbulksend_needvalidation = True, ), diff --git a/test/test_ezsigntemplatepackagesigner_edit_object_v1_response.py b/test/test_ezsigntemplatepackagesigner_edit_object_v1_response.py index 49dd05d3d..486316da3 100644 --- a/test/test_ezsigntemplatepackagesigner_edit_object_v1_response.py +++ b/test/test_ezsigntemplatepackagesigner_edit_object_v1_response.py @@ -36,9 +36,26 @@ def make_instance(self, include_optional) -> EzsigntemplatepackagesignerEditObje model = EzsigntemplatepackagesignerEditObjectV1Response() if include_optional: return EzsigntemplatepackagesignerEditObjectV1Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), + obj_debug = {"sMemoryUsage":"11,923MB","sRunTime":"0.6084s","iSQLSelects":3,"iSQLQueries":6,"a_objSQLQuery":[{"sQuery":"SELECT * FROM table","fDuration":1.0E-4},{"sQuery":"SELECT * FROM table","fDuration":1.0E-4}]} ) else: return EzsigntemplatepackagesignerEditObjectV1Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), ) """ diff --git a/test/test_ezsigntemplatepackagesigner_get_object_v2_response.py b/test/test_ezsigntemplatepackagesigner_get_object_v2_response.py index ac56e265f..713c26ce0 100644 --- a/test/test_ezsigntemplatepackagesigner_get_object_v2_response.py +++ b/test/test_ezsigntemplatepackagesigner_get_object_v2_response.py @@ -36,11 +36,28 @@ def make_instance(self, include_optional) -> EzsigntemplatepackagesignerGetObjec model = EzsigntemplatepackagesignerGetObjectV2Response() if include_optional: return EzsigntemplatepackagesignerGetObjectV2Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), + obj_debug = {"sMemoryUsage":"11,923MB","sRunTime":"0.6084s","iSQLSelects":3,"iSQLQueries":6,"a_objSQLQuery":[{"sQuery":"SELECT * FROM table","fDuration":1.0E-4},{"sQuery":"SELECT * FROM table","fDuration":1.0E-4}]}, m_payload = eZmaxApi.models.ezsigntemplatepackagesigner_get_object_v2_response_m_payload.ezsigntemplatepackagesigner-getObject-v2-Response-mPayload( obj_ezsigntemplatepackagesigner = eZmaxApi.models.ezsigntemplatepackagesigner_response_compound.ezsigntemplatepackagesigner-ResponseCompound(), ) ) else: return EzsigntemplatepackagesignerGetObjectV2Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), m_payload = eZmaxApi.models.ezsigntemplatepackagesigner_get_object_v2_response_m_payload.ezsigntemplatepackagesigner-getObject-v2-Response-mPayload( obj_ezsigntemplatepackagesigner = eZmaxApi.models.ezsigntemplatepackagesigner_response_compound.ezsigntemplatepackagesigner-ResponseCompound(), ), ) diff --git a/test/test_ezsigntemplatepackagesigner_request_compound.py b/test/test_ezsigntemplatepackagesigner_request_compound.py index 3c60a6258..f1b45a483 100644 --- a/test/test_ezsigntemplatepackagesigner_request_compound.py +++ b/test/test_ezsigntemplatepackagesigner_request_compound.py @@ -36,9 +36,19 @@ def make_instance(self, include_optional) -> EzsigntemplatepackagesignerRequestC model = EzsigntemplatepackagesignerRequestCompound() if include_optional: return EzsigntemplatepackagesignerRequestCompound( + pki_ezsigntemplatepackagesigner_id = 174, + fki_ezsigntemplatepackage_id = 99, + fki_ezdoctemplatedocument_id = 95, + fki_user_id = 70, + fki_usergroup_id = 2, + b_ezsigntemplatepackagesigner_receivecopy = True, + e_ezsigntemplatepackagesigner_mapping = 'Manual', + s_ezsigntemplatepackagesigner_description = 'Customer' ) else: return EzsigntemplatepackagesignerRequestCompound( + fki_ezsigntemplatepackage_id = 99, + s_ezsigntemplatepackagesigner_description = 'Customer', ) """ diff --git a/test/test_ezsigntemplatepackagesigner_response_compound.py b/test/test_ezsigntemplatepackagesigner_response_compound.py index 98843cabe..6f566c8c8 100644 --- a/test/test_ezsigntemplatepackagesigner_response_compound.py +++ b/test/test_ezsigntemplatepackagesigner_response_compound.py @@ -36,9 +36,23 @@ def make_instance(self, include_optional) -> EzsigntemplatepackagesignerResponse model = EzsigntemplatepackagesignerResponseCompound() if include_optional: return EzsigntemplatepackagesignerResponseCompound( + pki_ezsigntemplatepackagesigner_id = 174, + fki_ezsigntemplatepackage_id = 99, + fki_ezdoctemplatedocument_id = 95, + fki_user_id = 70, + fki_usergroup_id = 2, + s_ezdoctemplatedocument_name_x = 'Standard Contract', + b_ezsigntemplatepackagesigner_receivecopy = True, + e_ezsigntemplatepackagesigner_mapping = 'Manual', + s_ezsigntemplatepackagesigner_description = 'Customer', + s_user_name = 'Default', + s_usergroup_name_x = 'Administration' ) else: return EzsigntemplatepackagesignerResponseCompound( + pki_ezsigntemplatepackagesigner_id = 174, + fki_ezsigntemplatepackage_id = 99, + s_ezsigntemplatepackagesigner_description = 'Customer', ) """ diff --git a/test/test_ezsigntemplatepackagesignermembership_create_object_v1_response.py b/test/test_ezsigntemplatepackagesignermembership_create_object_v1_response.py index 3eaf733fb..a79a610a5 100644 --- a/test/test_ezsigntemplatepackagesignermembership_create_object_v1_response.py +++ b/test/test_ezsigntemplatepackagesignermembership_create_object_v1_response.py @@ -36,6 +36,15 @@ def make_instance(self, include_optional) -> Ezsigntemplatepackagesignermembersh model = EzsigntemplatepackagesignermembershipCreateObjectV1Response() if include_optional: return EzsigntemplatepackagesignermembershipCreateObjectV1Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), + obj_debug = {"sMemoryUsage":"11,923MB","sRunTime":"0.6084s","iSQLSelects":3,"iSQLQueries":6,"a_objSQLQuery":[{"sQuery":"SELECT * FROM table","fDuration":1.0E-4},{"sQuery":"SELECT * FROM table","fDuration":1.0E-4}]}, m_payload = eZmaxApi.models.ezsigntemplatepackagesignermembership_create_object_v1_response_m_payload.ezsigntemplatepackagesignermembership-createObject-v1-Response-mPayload( a_pki_ezsigntemplatepackagesignermembership_id = [ 237 @@ -43,6 +52,14 @@ def make_instance(self, include_optional) -> Ezsigntemplatepackagesignermembersh ) else: return EzsigntemplatepackagesignermembershipCreateObjectV1Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), m_payload = eZmaxApi.models.ezsigntemplatepackagesignermembership_create_object_v1_response_m_payload.ezsigntemplatepackagesignermembership-createObject-v1-Response-mPayload( a_pki_ezsigntemplatepackagesignermembership_id = [ 237 diff --git a/test/test_ezsigntemplatepackagesignermembership_delete_object_v1_response.py b/test/test_ezsigntemplatepackagesignermembership_delete_object_v1_response.py index cbe4f2d00..a75d0f562 100644 --- a/test/test_ezsigntemplatepackagesignermembership_delete_object_v1_response.py +++ b/test/test_ezsigntemplatepackagesignermembership_delete_object_v1_response.py @@ -36,12 +36,29 @@ def make_instance(self, include_optional) -> Ezsigntemplatepackagesignermembersh model = EzsigntemplatepackagesignermembershipDeleteObjectV1Response() if include_optional: return EzsigntemplatepackagesignermembershipDeleteObjectV1Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), + obj_debug = {"sMemoryUsage":"11,923MB","sRunTime":"0.6084s","iSQLSelects":3,"iSQLQueries":6,"a_objSQLQuery":[{"sQuery":"SELECT * FROM table","fDuration":1.0E-4},{"sQuery":"SELECT * FROM table","fDuration":1.0E-4}]}, m_payload = eZmaxApi.models.ezsigntemplatepackagesignermembership_delete_object_v1_response_m_payload.ezsigntemplatepackagesignermembership-deleteObject-v1-Response-mPayload( b_ezsigntemplatepackage_needvalidation = True, b_ezsignbulksend_needvalidation = True, ) ) else: return EzsigntemplatepackagesignermembershipDeleteObjectV1Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), m_payload = eZmaxApi.models.ezsigntemplatepackagesignermembership_delete_object_v1_response_m_payload.ezsigntemplatepackagesignermembership-deleteObject-v1-Response-mPayload( b_ezsigntemplatepackage_needvalidation = True, b_ezsignbulksend_needvalidation = True, ), diff --git a/test/test_ezsigntemplatepackagesignermembership_get_object_v2_response.py b/test/test_ezsigntemplatepackagesignermembership_get_object_v2_response.py index 6e2fb3761..39db7f593 100644 --- a/test/test_ezsigntemplatepackagesignermembership_get_object_v2_response.py +++ b/test/test_ezsigntemplatepackagesignermembership_get_object_v2_response.py @@ -36,11 +36,28 @@ def make_instance(self, include_optional) -> Ezsigntemplatepackagesignermembersh model = EzsigntemplatepackagesignermembershipGetObjectV2Response() if include_optional: return EzsigntemplatepackagesignermembershipGetObjectV2Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), + obj_debug = {"sMemoryUsage":"11,923MB","sRunTime":"0.6084s","iSQLSelects":3,"iSQLQueries":6,"a_objSQLQuery":[{"sQuery":"SELECT * FROM table","fDuration":1.0E-4},{"sQuery":"SELECT * FROM table","fDuration":1.0E-4}]}, m_payload = eZmaxApi.models.ezsigntemplatepackagesignermembership_get_object_v2_response_m_payload.ezsigntemplatepackagesignermembership-getObject-v2-Response-mPayload( obj_ezsigntemplatepackagesignermembership = eZmaxApi.models.ezsigntemplatepackagesignermembership_response_compound.ezsigntemplatepackagesignermembership-ResponseCompound(), ) ) else: return EzsigntemplatepackagesignermembershipGetObjectV2Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), m_payload = eZmaxApi.models.ezsigntemplatepackagesignermembership_get_object_v2_response_m_payload.ezsigntemplatepackagesignermembership-getObject-v2-Response-mPayload( obj_ezsigntemplatepackagesignermembership = eZmaxApi.models.ezsigntemplatepackagesignermembership_response_compound.ezsigntemplatepackagesignermembership-ResponseCompound(), ), ) diff --git a/test/test_ezsigntemplatepackagesignermembership_request_compound.py b/test/test_ezsigntemplatepackagesignermembership_request_compound.py index 779e43911..666d8de20 100644 --- a/test/test_ezsigntemplatepackagesignermembership_request_compound.py +++ b/test/test_ezsigntemplatepackagesignermembership_request_compound.py @@ -36,9 +36,17 @@ def make_instance(self, include_optional) -> Ezsigntemplatepackagesignermembersh model = EzsigntemplatepackagesignermembershipRequestCompound() if include_optional: return EzsigntemplatepackagesignermembershipRequestCompound( + pki_ezsigntemplatepackagesignermembership_id = 237, + fki_ezsigntemplatepackagemembership_id = 194, + fki_ezsigntemplatepackagesigner_id = 174, + fki_ezsigntemplatesigner_id = 9, + i_ezsigntemplatepackagesignermembership_copy = 1 ) else: return EzsigntemplatepackagesignermembershipRequestCompound( + fki_ezsigntemplatepackagemembership_id = 194, + fki_ezsigntemplatepackagesigner_id = 174, + fki_ezsigntemplatesigner_id = 9, ) """ diff --git a/test/test_ezsigntemplatepackagesignermembership_response_compound.py b/test/test_ezsigntemplatepackagesignermembership_response_compound.py index 6c38e42f2..c84c90de0 100644 --- a/test/test_ezsigntemplatepackagesignermembership_response_compound.py +++ b/test/test_ezsigntemplatepackagesignermembership_response_compound.py @@ -36,9 +36,18 @@ def make_instance(self, include_optional) -> Ezsigntemplatepackagesignermembersh model = EzsigntemplatepackagesignermembershipResponseCompound() if include_optional: return EzsigntemplatepackagesignermembershipResponseCompound( + pki_ezsigntemplatepackagesignermembership_id = 237, + fki_ezsigntemplatepackagemembership_id = 194, + fki_ezsigntemplatepackagesigner_id = 174, + fki_ezsigntemplatesigner_id = 9, + i_ezsigntemplatepackagesignermembership_copy = 1 ) else: return EzsigntemplatepackagesignermembershipResponseCompound( + pki_ezsigntemplatepackagesignermembership_id = 237, + fki_ezsigntemplatepackagemembership_id = 194, + fki_ezsigntemplatepackagesigner_id = 174, + fki_ezsigntemplatesigner_id = 9, ) """ diff --git a/test/test_ezsigntemplatepublic_create_ezsignfolder_v1_response.py b/test/test_ezsigntemplatepublic_create_ezsignfolder_v1_response.py index e2aa3c342..9b604fca8 100644 --- a/test/test_ezsigntemplatepublic_create_ezsignfolder_v1_response.py +++ b/test/test_ezsigntemplatepublic_create_ezsignfolder_v1_response.py @@ -36,11 +36,28 @@ def make_instance(self, include_optional) -> EzsigntemplatepublicCreateEzsignfol model = EzsigntemplatepublicCreateEzsignfolderV1Response() if include_optional: return EzsigntemplatepublicCreateEzsignfolderV1Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), + obj_debug = {"sMemoryUsage":"11,923MB","sRunTime":"0.6084s","iSQLSelects":3,"iSQLQueries":6,"a_objSQLQuery":[{"sQuery":"SELECT * FROM table","fDuration":1.0E-4},{"sQuery":"SELECT * FROM table","fDuration":1.0E-4}]}, m_payload = eZmaxApi.models.ezsigntemplatepublic_create_ezsignfolder_v1_response_m_payload.ezsigntemplatepublic-createEzsignfolder-v1-Response-mPayload( s_ezsigntemplatepublic_signingurl = 'https://prod.ezsignsigner.ca-central-1.ezmax.com/ezsigntemplatepublic/{sEzmaxcustomerCode}/{sEzsigntemplatepublicReferenceID}', ) ) else: return EzsigntemplatepublicCreateEzsignfolderV1Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), m_payload = eZmaxApi.models.ezsigntemplatepublic_create_ezsignfolder_v1_response_m_payload.ezsigntemplatepublic-createEzsignfolder-v1-Response-mPayload( s_ezsigntemplatepublic_signingurl = 'https://prod.ezsignsigner.ca-central-1.ezmax.com/ezsigntemplatepublic/{sEzmaxcustomerCode}/{sEzsigntemplatepublicReferenceID}', ), ) diff --git a/test/test_ezsigntemplatepublic_create_object_v1_response.py b/test/test_ezsigntemplatepublic_create_object_v1_response.py index 1b1136776..0b1871af1 100644 --- a/test/test_ezsigntemplatepublic_create_object_v1_response.py +++ b/test/test_ezsigntemplatepublic_create_object_v1_response.py @@ -36,6 +36,15 @@ def make_instance(self, include_optional) -> EzsigntemplatepublicCreateObjectV1R model = EzsigntemplatepublicCreateObjectV1Response() if include_optional: return EzsigntemplatepublicCreateObjectV1Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), + obj_debug = {"sMemoryUsage":"11,923MB","sRunTime":"0.6084s","iSQLSelects":3,"iSQLQueries":6,"a_objSQLQuery":[{"sQuery":"SELECT * FROM table","fDuration":1.0E-4},{"sQuery":"SELECT * FROM table","fDuration":1.0E-4}]}, m_payload = eZmaxApi.models.ezsigntemplatepublic_create_object_v1_response_m_payload.ezsigntemplatepublic-createObject-v1-Response-mPayload( a_pki_ezsigntemplatepublic_id = [ 96 @@ -43,6 +52,14 @@ def make_instance(self, include_optional) -> EzsigntemplatepublicCreateObjectV1R ) else: return EzsigntemplatepublicCreateObjectV1Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), m_payload = eZmaxApi.models.ezsigntemplatepublic_create_object_v1_response_m_payload.ezsigntemplatepublic-createObject-v1-Response-mPayload( a_pki_ezsigntemplatepublic_id = [ 96 diff --git a/test/test_ezsigntemplatepublic_edit_object_v1_response.py b/test/test_ezsigntemplatepublic_edit_object_v1_response.py index 3eadcec44..68ad2af8b 100644 --- a/test/test_ezsigntemplatepublic_edit_object_v1_response.py +++ b/test/test_ezsigntemplatepublic_edit_object_v1_response.py @@ -36,9 +36,26 @@ def make_instance(self, include_optional) -> EzsigntemplatepublicEditObjectV1Res model = EzsigntemplatepublicEditObjectV1Response() if include_optional: return EzsigntemplatepublicEditObjectV1Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), + obj_debug = {"sMemoryUsage":"11,923MB","sRunTime":"0.6084s","iSQLSelects":3,"iSQLQueries":6,"a_objSQLQuery":[{"sQuery":"SELECT * FROM table","fDuration":1.0E-4},{"sQuery":"SELECT * FROM table","fDuration":1.0E-4}]} ) else: return EzsigntemplatepublicEditObjectV1Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), ) """ diff --git a/test/test_ezsigntemplatepublic_get_ezsigntemplatepublic_details_v1_response.py b/test/test_ezsigntemplatepublic_get_ezsigntemplatepublic_details_v1_response.py index 1c19dbe7b..afb0c5003 100644 --- a/test/test_ezsigntemplatepublic_get_ezsigntemplatepublic_details_v1_response.py +++ b/test/test_ezsigntemplatepublic_get_ezsigntemplatepublic_details_v1_response.py @@ -36,6 +36,15 @@ def make_instance(self, include_optional) -> EzsigntemplatepublicGetEzsigntempla model = EzsigntemplatepublicGetEzsigntemplatepublicDetailsV1Response() if include_optional: return EzsigntemplatepublicGetEzsigntemplatepublicDetailsV1Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), + obj_debug = {"sMemoryUsage":"11,923MB","sRunTime":"0.6084s","iSQLSelects":3,"iSQLQueries":6,"a_objSQLQuery":[{"sQuery":"SELECT * FROM table","fDuration":1.0E-4},{"sQuery":"SELECT * FROM table","fDuration":1.0E-4}]}, m_payload = eZmaxApi.models.ezsigntemplatepublic_get_ezsigntemplatepublic_details_v1_response_m_payload.ezsigntemplatepublic-getEzsigntemplatepublicDetails-v1-Response-mPayload( obj_branding = eZmaxApi.models.custom_branding_response.Custom-Branding-Response( i_branding_color = 15658734, @@ -47,6 +56,14 @@ def make_instance(self, include_optional) -> EzsigntemplatepublicGetEzsigntempla ) else: return EzsigntemplatepublicGetEzsigntemplatepublicDetailsV1Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), m_payload = eZmaxApi.models.ezsigntemplatepublic_get_ezsigntemplatepublic_details_v1_response_m_payload.ezsigntemplatepublic-getEzsigntemplatepublicDetails-v1-Response-mPayload( obj_branding = eZmaxApi.models.custom_branding_response.Custom-Branding-Response( i_branding_color = 15658734, diff --git a/test/test_ezsigntemplatepublic_get_forms_data_v1_response.py b/test/test_ezsigntemplatepublic_get_forms_data_v1_response.py index f69553dde..236d0ebc4 100644 --- a/test/test_ezsigntemplatepublic_get_forms_data_v1_response.py +++ b/test/test_ezsigntemplatepublic_get_forms_data_v1_response.py @@ -36,6 +36,15 @@ def make_instance(self, include_optional) -> EzsigntemplatepublicGetFormsDataV1R model = EzsigntemplatepublicGetFormsDataV1Response() if include_optional: return EzsigntemplatepublicGetFormsDataV1Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), + obj_debug = {"sMemoryUsage":"11,923MB","sRunTime":"0.6084s","iSQLSelects":3,"iSQLQueries":6,"a_objSQLQuery":[{"sQuery":"SELECT * FROM table","fDuration":1.0E-4},{"sQuery":"SELECT * FROM table","fDuration":1.0E-4}]}, m_payload = eZmaxApi.models.ezsigntemplatepublic_get_forms_data_v1_response_m_payload.ezsigntemplatepublic-getFormsData-v1-Response-mPayload( a_obj_forms_data_folder = [ eZmaxApi.models.custom_forms_data_folder_response.Custom-FormsDataFolder-Response( @@ -68,6 +77,14 @@ def make_instance(self, include_optional) -> EzsigntemplatepublicGetFormsDataV1R ) else: return EzsigntemplatepublicGetFormsDataV1Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), m_payload = eZmaxApi.models.ezsigntemplatepublic_get_forms_data_v1_response_m_payload.ezsigntemplatepublic-getFormsData-v1-Response-mPayload( a_obj_forms_data_folder = [ eZmaxApi.models.custom_forms_data_folder_response.Custom-FormsDataFolder-Response( diff --git a/test/test_ezsigntemplatepublic_get_list_v1_response.py b/test/test_ezsigntemplatepublic_get_list_v1_response.py index bf91afdfc..3b564c538 100644 --- a/test/test_ezsigntemplatepublic_get_list_v1_response.py +++ b/test/test_ezsigntemplatepublic_get_list_v1_response.py @@ -36,10 +36,13 @@ def make_instance(self, include_optional) -> EzsigntemplatepublicGetListV1Respon model = EzsigntemplatepublicGetListV1Response() if include_optional: return EzsigntemplatepublicGetListV1Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload_get_list.Common-Response-objDebugPayload_getList(), + obj_debug = {"sMemoryUsage":"11,923MB","sRunTime":"0.6084s","iSQLSelects":3,"iSQLQueries":6,"a_objSQLQuery":[{"sQuery":"SELECT * FROM table","fDuration":1.0E-4},{"sQuery":"SELECT * FROM table","fDuration":1.0E-4}]}, m_payload = eZmaxApi.models.ezsigntemplatepublic_get_list_v1_response_m_payload.ezsigntemplatepublic-getList-v1-Response-mPayload() ) else: return EzsigntemplatepublicGetListV1Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload_get_list.Common-Response-objDebugPayload_getList(), m_payload = eZmaxApi.models.ezsigntemplatepublic_get_list_v1_response_m_payload.ezsigntemplatepublic-getList-v1-Response-mPayload(), ) """ diff --git a/test/test_ezsigntemplatepublic_get_list_v1_response_m_payload.py b/test/test_ezsigntemplatepublic_get_list_v1_response_m_payload.py index 95e208a38..bf2c7872b 100644 --- a/test/test_ezsigntemplatepublic_get_list_v1_response_m_payload.py +++ b/test/test_ezsigntemplatepublic_get_list_v1_response_m_payload.py @@ -36,6 +36,8 @@ def make_instance(self, include_optional) -> EzsigntemplatepublicGetListV1Respon model = EzsigntemplatepublicGetListV1ResponseMPayload() if include_optional: return EzsigntemplatepublicGetListV1ResponseMPayload( + i_row_returned = 100, + i_row_filtered = 533, a_obj_ezsigntemplatepublic = [ eZmaxApi.models.ezsigntemplatepublic_list_element.ezsigntemplatepublic-ListElement( pki_ezsigntemplatepublic_id = 96, @@ -58,6 +60,8 @@ def make_instance(self, include_optional) -> EzsigntemplatepublicGetListV1Respon ) else: return EzsigntemplatepublicGetListV1ResponseMPayload( + i_row_returned = 100, + i_row_filtered = 533, a_obj_ezsigntemplatepublic = [ eZmaxApi.models.ezsigntemplatepublic_list_element.ezsigntemplatepublic-ListElement( pki_ezsigntemplatepublic_id = 96, diff --git a/test/test_ezsigntemplatepublic_get_object_v2_response.py b/test/test_ezsigntemplatepublic_get_object_v2_response.py index c961265b8..36c3e1b59 100644 --- a/test/test_ezsigntemplatepublic_get_object_v2_response.py +++ b/test/test_ezsigntemplatepublic_get_object_v2_response.py @@ -36,11 +36,28 @@ def make_instance(self, include_optional) -> EzsigntemplatepublicGetObjectV2Resp model = EzsigntemplatepublicGetObjectV2Response() if include_optional: return EzsigntemplatepublicGetObjectV2Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), + obj_debug = {"sMemoryUsage":"11,923MB","sRunTime":"0.6084s","iSQLSelects":3,"iSQLQueries":6,"a_objSQLQuery":[{"sQuery":"SELECT * FROM table","fDuration":1.0E-4},{"sQuery":"SELECT * FROM table","fDuration":1.0E-4}]}, m_payload = eZmaxApi.models.ezsigntemplatepublic_get_object_v2_response_m_payload.ezsigntemplatepublic-getObject-v2-Response-mPayload( obj_ezsigntemplatepublic = eZmaxApi.models.ezsigntemplatepublic_response_compound.ezsigntemplatepublic-ResponseCompound(), ) ) else: return EzsigntemplatepublicGetObjectV2Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), m_payload = eZmaxApi.models.ezsigntemplatepublic_get_object_v2_response_m_payload.ezsigntemplatepublic-getObject-v2-Response-mPayload( obj_ezsigntemplatepublic = eZmaxApi.models.ezsigntemplatepublic_response_compound.ezsigntemplatepublic-ResponseCompound(), ), ) diff --git a/test/test_ezsigntemplatepublic_request_compound.py b/test/test_ezsigntemplatepublic_request_compound.py index 188d03289..eb848b004 100644 --- a/test/test_ezsigntemplatepublic_request_compound.py +++ b/test/test_ezsigntemplatepublic_request_compound.py @@ -36,9 +36,26 @@ def make_instance(self, include_optional) -> EzsigntemplatepublicRequestCompound model = EzsigntemplatepublicRequestCompound() if include_optional: return EzsigntemplatepublicRequestCompound( + pki_ezsigntemplatepublic_id = 96, + fki_ezsignfoldertype_id = 5, + fki_userlogintype_id = 2, + fki_ezsigntemplate_id = 36, + fki_ezsigntemplatepackage_id = 99, + s_ezsigntemplatepublic_description = 'Inscription form', + b_ezsigntemplatepublic_isactive = True, + t_ezsigntemplatepublic_note = 'This is a note', + e_ezsigntemplatepublic_limittype = 'Hour', + i_ezsigntemplatepublic_limit = 10 ) else: return EzsigntemplatepublicRequestCompound( + fki_ezsignfoldertype_id = 5, + fki_userlogintype_id = 2, + s_ezsigntemplatepublic_description = 'Inscription form', + b_ezsigntemplatepublic_isactive = True, + t_ezsigntemplatepublic_note = 'This is a note', + e_ezsigntemplatepublic_limittype = 'Hour', + i_ezsigntemplatepublic_limit = 10, ) """ diff --git a/test/test_ezsigntemplatepublic_reset_limit_exceeded_counter_v1_response.py b/test/test_ezsigntemplatepublic_reset_limit_exceeded_counter_v1_response.py index 7d6879b27..e127b1aa9 100644 --- a/test/test_ezsigntemplatepublic_reset_limit_exceeded_counter_v1_response.py +++ b/test/test_ezsigntemplatepublic_reset_limit_exceeded_counter_v1_response.py @@ -36,11 +36,28 @@ def make_instance(self, include_optional) -> EzsigntemplatepublicResetLimitExcee model = EzsigntemplatepublicResetLimitExceededCounterV1Response() if include_optional: return EzsigntemplatepublicResetLimitExceededCounterV1Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), + obj_debug = {"sMemoryUsage":"11,923MB","sRunTime":"0.6084s","iSQLSelects":3,"iSQLQueries":6,"a_objSQLQuery":[{"sQuery":"SELECT * FROM table","fDuration":1.0E-4},{"sQuery":"SELECT * FROM table","fDuration":1.0E-4}]}, m_payload = eZmaxApi.models.ezsigntemplatepublic_reset_limit_exceeded_counter_v1_response_m_payload.ezsigntemplatepublic-resetLimitExceededCounter-v1-Response-mPayload( dt_ezsigntemplatepublic_limitexceededsince = '2024-05-16 15:12:45', ) ) else: return EzsigntemplatepublicResetLimitExceededCounterV1Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), m_payload = eZmaxApi.models.ezsigntemplatepublic_reset_limit_exceeded_counter_v1_response_m_payload.ezsigntemplatepublic-resetLimitExceededCounter-v1-Response-mPayload( dt_ezsigntemplatepublic_limitexceededsince = '2024-05-16 15:12:45', ), ) diff --git a/test/test_ezsigntemplatepublic_reset_url_v1_response.py b/test/test_ezsigntemplatepublic_reset_url_v1_response.py index 58dc1fda1..b7514ac49 100644 --- a/test/test_ezsigntemplatepublic_reset_url_v1_response.py +++ b/test/test_ezsigntemplatepublic_reset_url_v1_response.py @@ -36,11 +36,28 @@ def make_instance(self, include_optional) -> EzsigntemplatepublicResetUrlV1Respo model = EzsigntemplatepublicResetUrlV1Response() if include_optional: return EzsigntemplatepublicResetUrlV1Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), + obj_debug = {"sMemoryUsage":"11,923MB","sRunTime":"0.6084s","iSQLSelects":3,"iSQLQueries":6,"a_objSQLQuery":[{"sQuery":"SELECT * FROM table","fDuration":1.0E-4},{"sQuery":"SELECT * FROM table","fDuration":1.0E-4}]}, m_payload = eZmaxApi.models.ezsigntemplatepublic_reset_url_v1_response_m_payload.ezsigntemplatepublic-resetUrl-v1-Response-mPayload( s_ezsigntemplatepublic_url = 'https://prod.ezsignsigner.ca-central-1.ezmax.com/ezsigntemplatepublic/{sEzmaxcustomerCode}/{sEzsigntemplatepublicReferenceID}', ) ) else: return EzsigntemplatepublicResetUrlV1Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), m_payload = eZmaxApi.models.ezsigntemplatepublic_reset_url_v1_response_m_payload.ezsigntemplatepublic-resetUrl-v1-Response-mPayload( s_ezsigntemplatepublic_url = 'https://prod.ezsignsigner.ca-central-1.ezmax.com/ezsigntemplatepublic/{sEzmaxcustomerCode}/{sEzsigntemplatepublicReferenceID}', ), ) diff --git a/test/test_ezsigntemplatepublic_response_compound.py b/test/test_ezsigntemplatepublic_response_compound.py index 6fd806e89..694eface5 100644 --- a/test/test_ezsigntemplatepublic_response_compound.py +++ b/test/test_ezsigntemplatepublic_response_compound.py @@ -36,6 +36,40 @@ def make_instance(self, include_optional) -> EzsigntemplatepublicResponseCompoun model = EzsigntemplatepublicResponseCompound() if include_optional: return EzsigntemplatepublicResponseCompound( + pki_ezsigntemplatepublic_id = 96, + fki_ezsignfoldertype_id = 5, + s_ezsignfoldertype_name_x = 'Default', + fki_userlogintype_id = 2, + s_userlogintype_description_x = 'Email and phone or SMS', + fki_ezsigntemplate_id = 36, + fki_ezsigntemplatepackage_id = 99, + s_ezsigntemplatepublic_description = 'Inscription form', + s_ezsigntemplatepublic_referenceid = '6B29FC40-CA47-1067-B31D-00DD010662DA', + b_ezsigntemplatepublic_isactive = True, + t_ezsigntemplatepublic_note = 'This is a note', + e_ezsigntemplatepublic_limittype = 'Hour', + i_ezsigntemplatepublic_limit = 10, + i_ezsigntemplatepublic_limitexceeded = 5, + dt_ezsigntemplatepublic_limitexceededsince = '2024-05-16 15:12:45', + s_ezsigntemplatepublic_url = 'https://prod.ezsignsigner.ca-central-1.ezmax.com/ezsigntemplatepublic/{sEzmaxcustomerCode}/{sEzsigntemplatepublicReferenceID}', + s_ezsigntemplatepublic_ezsigntemplatedescription = 'jUR,rZ#UM/?R,Fp^l6$AR', + obj_audit = eZmaxApi.models.common_audit.Common-Audit( + obj_auditdetail_created = eZmaxApi.models.common_auditdetail.Common-Auditdetail( + fki_user_id = 70, + fki_apikey_id = 99, + s_user_loginname = 'JohnDoe', + s_user_lastname = 'Doe', + s_user_firstname = 'John', + s_apikey_description_x = 'Project X', + dt_auditdetail_date = '2020-12-31 23:59:59', ), + obj_auditdetail_modified = eZmaxApi.models.common_auditdetail.Common-Auditdetail( + fki_user_id = 70, + fki_apikey_id = 99, + s_user_loginname = 'JohnDoe', + s_user_lastname = 'Doe', + s_user_firstname = 'John', + s_apikey_description_x = 'Project X', + dt_auditdetail_date = '2020-12-31 23:59:59', ), ), a_obj_ezsignfolderezsigntemplatepublic = [ eZmaxApi.models.custom_ezsignfolderezsigntemplatepublic_response.Custom-Ezsignfolderezsigntemplatepublic-Response( pki_ezsignfolder_id = 33, @@ -56,6 +90,21 @@ def make_instance(self, include_optional) -> EzsigntemplatepublicResponseCompoun ) else: return EzsigntemplatepublicResponseCompound( + pki_ezsigntemplatepublic_id = 96, + fki_ezsignfoldertype_id = 5, + s_ezsignfoldertype_name_x = 'Default', + fki_userlogintype_id = 2, + s_userlogintype_description_x = 'Email and phone or SMS', + s_ezsigntemplatepublic_description = 'Inscription form', + s_ezsigntemplatepublic_referenceid = '6B29FC40-CA47-1067-B31D-00DD010662DA', + b_ezsigntemplatepublic_isactive = True, + t_ezsigntemplatepublic_note = 'This is a note', + e_ezsigntemplatepublic_limittype = 'Hour', + i_ezsigntemplatepublic_limit = 10, + i_ezsigntemplatepublic_limitexceeded = 5, + dt_ezsigntemplatepublic_limitexceededsince = '2024-05-16 15:12:45', + s_ezsigntemplatepublic_url = 'https://prod.ezsignsigner.ca-central-1.ezmax.com/ezsigntemplatepublic/{sEzmaxcustomerCode}/{sEzsigntemplatepublicReferenceID}', + s_ezsigntemplatepublic_ezsigntemplatedescription = 'jUR,rZ#UM/?R,Fp^l6$AR', a_obj_ezsignfolderezsigntemplatepublic = [ eZmaxApi.models.custom_ezsignfolderezsigntemplatepublic_response.Custom-Ezsignfolderezsigntemplatepublic-Response( pki_ezsignfolder_id = 33, diff --git a/test/test_ezsigntemplatesignature_create_object_v2_response.py b/test/test_ezsigntemplatesignature_create_object_v2_response.py index 7974df585..0d524af61 100644 --- a/test/test_ezsigntemplatesignature_create_object_v2_response.py +++ b/test/test_ezsigntemplatesignature_create_object_v2_response.py @@ -36,6 +36,15 @@ def make_instance(self, include_optional) -> EzsigntemplatesignatureCreateObject model = EzsigntemplatesignatureCreateObjectV2Response() if include_optional: return EzsigntemplatesignatureCreateObjectV2Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), + obj_debug = {"sMemoryUsage":"11,923MB","sRunTime":"0.6084s","iSQLSelects":3,"iSQLQueries":6,"a_objSQLQuery":[{"sQuery":"SELECT * FROM table","fDuration":1.0E-4},{"sQuery":"SELECT * FROM table","fDuration":1.0E-4}]}, m_payload = eZmaxApi.models.ezsigntemplatesignature_create_object_v2_response_m_payload.ezsigntemplatesignature-createObject-v2-Response-mPayload( a_pki_ezsigntemplatesignature_id = [ 99 @@ -43,6 +52,14 @@ def make_instance(self, include_optional) -> EzsigntemplatesignatureCreateObject ) else: return EzsigntemplatesignatureCreateObjectV2Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), m_payload = eZmaxApi.models.ezsigntemplatesignature_create_object_v2_response_m_payload.ezsigntemplatesignature-createObject-v2-Response-mPayload( a_pki_ezsigntemplatesignature_id = [ 99 diff --git a/test/test_ezsigntemplatesignature_delete_object_v1_response.py b/test/test_ezsigntemplatesignature_delete_object_v1_response.py index 70840c0f7..c0107f644 100644 --- a/test/test_ezsigntemplatesignature_delete_object_v1_response.py +++ b/test/test_ezsigntemplatesignature_delete_object_v1_response.py @@ -36,9 +36,26 @@ def make_instance(self, include_optional) -> EzsigntemplatesignatureDeleteObject model = EzsigntemplatesignatureDeleteObjectV1Response() if include_optional: return EzsigntemplatesignatureDeleteObjectV1Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), + obj_debug = {"sMemoryUsage":"11,923MB","sRunTime":"0.6084s","iSQLSelects":3,"iSQLQueries":6,"a_objSQLQuery":[{"sQuery":"SELECT * FROM table","fDuration":1.0E-4},{"sQuery":"SELECT * FROM table","fDuration":1.0E-4}]} ) else: return EzsigntemplatesignatureDeleteObjectV1Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), ) """ diff --git a/test/test_ezsigntemplatesignature_edit_object_v2_response.py b/test/test_ezsigntemplatesignature_edit_object_v2_response.py index a9b7d64e7..b4fc599d1 100644 --- a/test/test_ezsigntemplatesignature_edit_object_v2_response.py +++ b/test/test_ezsigntemplatesignature_edit_object_v2_response.py @@ -36,9 +36,26 @@ def make_instance(self, include_optional) -> EzsigntemplatesignatureEditObjectV2 model = EzsigntemplatesignatureEditObjectV2Response() if include_optional: return EzsigntemplatesignatureEditObjectV2Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), + obj_debug = {"sMemoryUsage":"11,923MB","sRunTime":"0.6084s","iSQLSelects":3,"iSQLQueries":6,"a_objSQLQuery":[{"sQuery":"SELECT * FROM table","fDuration":1.0E-4},{"sQuery":"SELECT * FROM table","fDuration":1.0E-4}]} ) else: return EzsigntemplatesignatureEditObjectV2Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), ) """ diff --git a/test/test_ezsigntemplatesignature_get_object_v3_response.py b/test/test_ezsigntemplatesignature_get_object_v3_response.py index 8ad4ca108..3ec25f062 100644 --- a/test/test_ezsigntemplatesignature_get_object_v3_response.py +++ b/test/test_ezsigntemplatesignature_get_object_v3_response.py @@ -36,11 +36,28 @@ def make_instance(self, include_optional) -> EzsigntemplatesignatureGetObjectV3R model = EzsigntemplatesignatureGetObjectV3Response() if include_optional: return EzsigntemplatesignatureGetObjectV3Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), + obj_debug = {"sMemoryUsage":"11,923MB","sRunTime":"0.6084s","iSQLSelects":3,"iSQLQueries":6,"a_objSQLQuery":[{"sQuery":"SELECT * FROM table","fDuration":1.0E-4},{"sQuery":"SELECT * FROM table","fDuration":1.0E-4}]}, m_payload = eZmaxApi.models.ezsigntemplatesignature_get_object_v3_response_m_payload.ezsigntemplatesignature-getObject-v3-Response-mPayload( obj_ezsigntemplatesignature = eZmaxApi.models.ezsigntemplatesignature_response_compound_v3.ezsigntemplatesignature-ResponseCompoundV3(), ) ) else: return EzsigntemplatesignatureGetObjectV3Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), m_payload = eZmaxApi.models.ezsigntemplatesignature_get_object_v3_response_m_payload.ezsigntemplatesignature-getObject-v3-Response-mPayload( obj_ezsigntemplatesignature = eZmaxApi.models.ezsigntemplatesignature_response_compound_v3.ezsigntemplatesignature-ResponseCompoundV3(), ), ) diff --git a/test/test_ezsigntemplatesignature_request_compound.py b/test/test_ezsigntemplatesignature_request_compound.py index e1dc94da7..a700ce6c5 100644 --- a/test/test_ezsigntemplatesignature_request_compound.py +++ b/test/test_ezsigntemplatesignature_request_compound.py @@ -36,6 +36,38 @@ def make_instance(self, include_optional) -> EzsigntemplatesignatureRequestCompo model = EzsigntemplatesignatureRequestCompound() if include_optional: return EzsigntemplatesignatureRequestCompound( + pki_ezsigntemplatesignature_id = 99, + fki_ezsigntemplatedocument_id = 133, + fki_ezsigntemplatesigner_id = 9, + fki_ezsigntemplatesigner_id_validation = 9, + b_ezsigntemplatesignature_handwritten = True, + b_ezsigntemplatesignature_reason = True, + e_ezsigntemplatesignature_positioning = 'PerCoordinates', + i_ezsigntemplatedocumentpage_pagenumber = 1, + i_ezsigntemplatesignature_x = 200, + i_ezsigntemplatesignature_y = 300, + i_ezsigntemplatesignature_width = 200, + i_ezsigntemplatesignature_height = 200, + i_ezsigntemplatesignature_step = 1, + e_ezsigntemplatesignature_type = 'Signature', + e_ezsigntemplatesignature_consultationtrigger = 'Manual', + t_ezsigntemplatesignature_tooltip = 'Please sign here if you agree to the terms', + e_ezsigntemplatesignature_tooltipposition = 'TopLeft', + e_ezsigntemplatesignature_font = 'Normal', + b_ezsigntemplatesignature_required = True, + e_ezsigntemplatesignature_attachmentnamesource = 'Description', + s_ezsigntemplatesignature_attachmentdescription = 'Attachment', + i_ezsigntemplatesignature_validationstep = 1, + i_ezsigntemplatesignature_maxlength = 75, + s_ezsigntemplatesignature_defaultvalue = 'Foo', + s_ezsigntemplatesignature_regexp = '/[-0-9a-zA-Z.+_]+@[-0-9a-zA-Z.+_]+.[a-zA-Z]{2,4}/', + e_ezsigntemplatesignature_textvalidation = 'None', + s_ezsigntemplatesignature_textvalidationcustommessage = 'Phone number', + e_ezsigntemplatesignature_dependencyrequirement = 'AllOf', + s_ezsigntemplatesignature_positioningpattern = 'Signature', + i_ezsigntemplatesignature_positioningoffsetx = 200, + i_ezsigntemplatesignature_positioningoffsety = 200, + e_ezsigntemplatesignature_positioningoccurence = 'All', b_ezsigntemplatesignature_customdate = True, a_obj_ezsigntemplatesignaturecustomdate = [ eZmaxApi.models.ezsigntemplatesignaturecustomdate_request_compound.ezsigntemplatesignaturecustomdate-RequestCompound() @@ -46,6 +78,11 @@ def make_instance(self, include_optional) -> EzsigntemplatesignatureRequestCompo ) else: return EzsigntemplatesignatureRequestCompound( + fki_ezsigntemplatedocument_id = 133, + fki_ezsigntemplatesigner_id = 9, + i_ezsigntemplatedocumentpage_pagenumber = 1, + i_ezsigntemplatesignature_step = 1, + e_ezsigntemplatesignature_type = 'Signature', ) """ diff --git a/test/test_ezsigntemplatesignature_request_compound_v2.py b/test/test_ezsigntemplatesignature_request_compound_v2.py index ba6ef7eda..7e2b3eda5 100644 --- a/test/test_ezsigntemplatesignature_request_compound_v2.py +++ b/test/test_ezsigntemplatesignature_request_compound_v2.py @@ -36,6 +36,38 @@ def make_instance(self, include_optional) -> EzsigntemplatesignatureRequestCompo model = EzsigntemplatesignatureRequestCompoundV2() if include_optional: return EzsigntemplatesignatureRequestCompoundV2( + pki_ezsigntemplatesignature_id = 99, + fki_ezsigntemplatedocument_id = 133, + fki_ezsigntemplatesigner_id = 9, + fki_ezsigntemplatesigner_id_validation = 9, + b_ezsigntemplatesignature_handwritten = True, + b_ezsigntemplatesignature_reason = True, + e_ezsigntemplatesignature_positioning = 'PerCoordinates', + i_ezsigntemplatedocumentpage_pagenumber = 1, + i_ezsigntemplatesignature_x = 200, + i_ezsigntemplatesignature_y = 300, + i_ezsigntemplatesignature_width = 200, + i_ezsigntemplatesignature_height = 200, + i_ezsigntemplatesignature_step = 1, + e_ezsigntemplatesignature_type = 'Signature', + e_ezsigntemplatesignature_consultationtrigger = 'Manual', + t_ezsigntemplatesignature_tooltip = 'Please sign here if you agree to the terms', + e_ezsigntemplatesignature_tooltipposition = 'TopLeft', + e_ezsigntemplatesignature_font = 'Normal', + b_ezsigntemplatesignature_required = True, + e_ezsigntemplatesignature_attachmentnamesource = 'Description', + s_ezsigntemplatesignature_attachmentdescription = 'Attachment', + i_ezsigntemplatesignature_validationstep = 1, + i_ezsigntemplatesignature_maxlength = 75, + s_ezsigntemplatesignature_defaultvalue = 'Foo', + s_ezsigntemplatesignature_regexp = '/[-0-9a-zA-Z.+_]+@[-0-9a-zA-Z.+_]+.[a-zA-Z]{2,4}/', + e_ezsigntemplatesignature_textvalidation = 'None', + s_ezsigntemplatesignature_textvalidationcustommessage = 'Phone number', + e_ezsigntemplatesignature_dependencyrequirement = 'AllOf', + s_ezsigntemplatesignature_positioningpattern = 'Signature', + i_ezsigntemplatesignature_positioningoffsetx = 200, + i_ezsigntemplatesignature_positioningoffsety = 200, + e_ezsigntemplatesignature_positioningoccurence = 'All', b_ezsigntemplatesignature_customdate = True, a_obj_ezsigntemplatesignaturecustomdate = [ eZmaxApi.models.ezsigntemplatesignaturecustomdate_request_compound_v2.ezsigntemplatesignaturecustomdate-RequestCompoundV2() @@ -46,6 +78,11 @@ def make_instance(self, include_optional) -> EzsigntemplatesignatureRequestCompo ) else: return EzsigntemplatesignatureRequestCompoundV2( + fki_ezsigntemplatedocument_id = 133, + fki_ezsigntemplatesigner_id = 9, + i_ezsigntemplatedocumentpage_pagenumber = 1, + i_ezsigntemplatesignature_step = 1, + e_ezsigntemplatesignature_type = 'Signature', ) """ diff --git a/test/test_ezsigntemplatesignature_response_compound.py b/test/test_ezsigntemplatesignature_response_compound.py index 2f5d18194..682280e66 100644 --- a/test/test_ezsigntemplatesignature_response_compound.py +++ b/test/test_ezsigntemplatesignature_response_compound.py @@ -36,6 +36,38 @@ def make_instance(self, include_optional) -> EzsigntemplatesignatureResponseComp model = EzsigntemplatesignatureResponseCompound() if include_optional: return EzsigntemplatesignatureResponseCompound( + pki_ezsigntemplatesignature_id = 99, + fki_ezsigntemplatedocument_id = 133, + fki_ezsigntemplatesigner_id = 9, + fki_ezsigntemplatesigner_id_validation = 9, + b_ezsigntemplatesignature_handwritten = True, + b_ezsigntemplatesignature_reason = True, + e_ezsigntemplatesignature_positioning = 'PerCoordinates', + i_ezsigntemplatedocumentpage_pagenumber = 1, + i_ezsigntemplatesignature_x = 200, + i_ezsigntemplatesignature_y = 300, + i_ezsigntemplatesignature_width = 200, + i_ezsigntemplatesignature_height = 200, + i_ezsigntemplatesignature_step = 1, + e_ezsigntemplatesignature_type = 'Signature', + e_ezsigntemplatesignature_consultationtrigger = 'Manual', + t_ezsigntemplatesignature_tooltip = 'Please sign here if you agree to the terms', + e_ezsigntemplatesignature_tooltipposition = 'TopLeft', + e_ezsigntemplatesignature_font = 'Normal', + i_ezsigntemplatesignature_validationstep = 1, + s_ezsigntemplatesignature_attachmentdescription = 'Attachment', + e_ezsigntemplatesignature_attachmentnamesource = 'Description', + b_ezsigntemplatesignature_required = True, + i_ezsigntemplatesignature_maxlength = 75, + s_ezsigntemplatesignature_defaultvalue = 'Foo', + s_ezsigntemplatesignature_regexp = '/[-0-9a-zA-Z.+_]+@[-0-9a-zA-Z.+_]+.[a-zA-Z]{2,4}/', + e_ezsigntemplatesignature_textvalidation = 'None', + s_ezsigntemplatesignature_textvalidationcustommessage = 'Phone number', + e_ezsigntemplatesignature_dependencyrequirement = 'AllOf', + s_ezsigntemplatesignature_positioningpattern = 'Signature', + i_ezsigntemplatesignature_positioningoffsetx = 200, + i_ezsigntemplatesignature_positioningoffsety = 200, + e_ezsigntemplatesignature_positioningoccurence = 'All', b_ezsigntemplatesignature_customdate = True, a_obj_ezsigntemplatesignaturecustomdate = [ eZmaxApi.models.ezsigntemplatesignaturecustomdate_response_compound.ezsigntemplatesignaturecustomdate-ResponseCompound() @@ -46,6 +78,12 @@ def make_instance(self, include_optional) -> EzsigntemplatesignatureResponseComp ) else: return EzsigntemplatesignatureResponseCompound( + pki_ezsigntemplatesignature_id = 99, + fki_ezsigntemplatedocument_id = 133, + fki_ezsigntemplatesigner_id = 9, + i_ezsigntemplatedocumentpage_pagenumber = 1, + i_ezsigntemplatesignature_step = 1, + e_ezsigntemplatesignature_type = 'Signature', ) """ diff --git a/test/test_ezsigntemplatesignature_response_compound_v3.py b/test/test_ezsigntemplatesignature_response_compound_v3.py index cca78a6a1..0e383bfe1 100644 --- a/test/test_ezsigntemplatesignature_response_compound_v3.py +++ b/test/test_ezsigntemplatesignature_response_compound_v3.py @@ -36,6 +36,38 @@ def make_instance(self, include_optional) -> EzsigntemplatesignatureResponseComp model = EzsigntemplatesignatureResponseCompoundV3() if include_optional: return EzsigntemplatesignatureResponseCompoundV3( + pki_ezsigntemplatesignature_id = 99, + fki_ezsigntemplatedocument_id = 133, + fki_ezsigntemplatesigner_id = 9, + fki_ezsigntemplatesigner_id_validation = 9, + b_ezsigntemplatesignature_handwritten = True, + b_ezsigntemplatesignature_reason = True, + e_ezsigntemplatesignature_positioning = 'PerCoordinates', + i_ezsigntemplatedocumentpage_pagenumber = 1, + i_ezsigntemplatesignature_x = 200, + i_ezsigntemplatesignature_y = 300, + i_ezsigntemplatesignature_width = 200, + i_ezsigntemplatesignature_height = 200, + i_ezsigntemplatesignature_step = 1, + e_ezsigntemplatesignature_type = 'Signature', + e_ezsigntemplatesignature_consultationtrigger = 'Manual', + t_ezsigntemplatesignature_tooltip = 'Please sign here if you agree to the terms', + e_ezsigntemplatesignature_tooltipposition = 'TopLeft', + e_ezsigntemplatesignature_font = 'Normal', + i_ezsigntemplatesignature_validationstep = 1, + s_ezsigntemplatesignature_attachmentdescription = 'Attachment', + e_ezsigntemplatesignature_attachmentnamesource = 'Description', + b_ezsigntemplatesignature_required = True, + i_ezsigntemplatesignature_maxlength = 75, + s_ezsigntemplatesignature_defaultvalue = 'Foo', + s_ezsigntemplatesignature_regexp = '/[-0-9a-zA-Z.+_]+@[-0-9a-zA-Z.+_]+.[a-zA-Z]{2,4}/', + e_ezsigntemplatesignature_textvalidation = 'None', + s_ezsigntemplatesignature_textvalidationcustommessage = 'Phone number', + e_ezsigntemplatesignature_dependencyrequirement = 'AllOf', + s_ezsigntemplatesignature_positioningpattern = 'Signature', + i_ezsigntemplatesignature_positioningoffsetx = 200, + i_ezsigntemplatesignature_positioningoffsety = 200, + e_ezsigntemplatesignature_positioningoccurence = 'All', b_ezsigntemplatesignature_customdate = True, a_obj_ezsigntemplatesignaturecustomdate = [ eZmaxApi.models.ezsigntemplatesignaturecustomdate_response_compound_v2.ezsigntemplatesignaturecustomdate-ResponseCompoundV2() @@ -46,6 +78,12 @@ def make_instance(self, include_optional) -> EzsigntemplatesignatureResponseComp ) else: return EzsigntemplatesignatureResponseCompoundV3( + pki_ezsigntemplatesignature_id = 99, + fki_ezsigntemplatedocument_id = 133, + fki_ezsigntemplatesigner_id = 9, + i_ezsigntemplatedocumentpage_pagenumber = 1, + i_ezsigntemplatesignature_step = 1, + e_ezsigntemplatesignature_type = 'Signature', ) """ diff --git a/test/test_ezsigntemplatesigner_create_object_v1_response.py b/test/test_ezsigntemplatesigner_create_object_v1_response.py index c8a67bfb5..d887ba425 100644 --- a/test/test_ezsigntemplatesigner_create_object_v1_response.py +++ b/test/test_ezsigntemplatesigner_create_object_v1_response.py @@ -36,6 +36,15 @@ def make_instance(self, include_optional) -> EzsigntemplatesignerCreateObjectV1R model = EzsigntemplatesignerCreateObjectV1Response() if include_optional: return EzsigntemplatesignerCreateObjectV1Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), + obj_debug = {"sMemoryUsage":"11,923MB","sRunTime":"0.6084s","iSQLSelects":3,"iSQLQueries":6,"a_objSQLQuery":[{"sQuery":"SELECT * FROM table","fDuration":1.0E-4},{"sQuery":"SELECT * FROM table","fDuration":1.0E-4}]}, m_payload = eZmaxApi.models.ezsigntemplatesigner_create_object_v1_response_m_payload.ezsigntemplatesigner-createObject-v1-Response-mPayload( a_pki_ezsigntemplatesigner_id = [ 9 @@ -45,6 +54,14 @@ def make_instance(self, include_optional) -> EzsigntemplatesignerCreateObjectV1R ) else: return EzsigntemplatesignerCreateObjectV1Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), m_payload = eZmaxApi.models.ezsigntemplatesigner_create_object_v1_response_m_payload.ezsigntemplatesigner-createObject-v1-Response-mPayload( a_pki_ezsigntemplatesigner_id = [ 9 diff --git a/test/test_ezsigntemplatesigner_delete_object_v1_response.py b/test/test_ezsigntemplatesigner_delete_object_v1_response.py index 206a7725e..99b7e167c 100644 --- a/test/test_ezsigntemplatesigner_delete_object_v1_response.py +++ b/test/test_ezsigntemplatesigner_delete_object_v1_response.py @@ -36,9 +36,26 @@ def make_instance(self, include_optional) -> EzsigntemplatesignerDeleteObjectV1R model = EzsigntemplatesignerDeleteObjectV1Response() if include_optional: return EzsigntemplatesignerDeleteObjectV1Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), + obj_debug = {"sMemoryUsage":"11,923MB","sRunTime":"0.6084s","iSQLSelects":3,"iSQLQueries":6,"a_objSQLQuery":[{"sQuery":"SELECT * FROM table","fDuration":1.0E-4},{"sQuery":"SELECT * FROM table","fDuration":1.0E-4}]} ) else: return EzsigntemplatesignerDeleteObjectV1Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), ) """ diff --git a/test/test_ezsigntemplatesigner_edit_object_v1_response.py b/test/test_ezsigntemplatesigner_edit_object_v1_response.py index 76c7e19f0..53ef297b8 100644 --- a/test/test_ezsigntemplatesigner_edit_object_v1_response.py +++ b/test/test_ezsigntemplatesigner_edit_object_v1_response.py @@ -36,9 +36,26 @@ def make_instance(self, include_optional) -> EzsigntemplatesignerEditObjectV1Res model = EzsigntemplatesignerEditObjectV1Response() if include_optional: return EzsigntemplatesignerEditObjectV1Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), + obj_debug = {"sMemoryUsage":"11,923MB","sRunTime":"0.6084s","iSQLSelects":3,"iSQLQueries":6,"a_objSQLQuery":[{"sQuery":"SELECT * FROM table","fDuration":1.0E-4},{"sQuery":"SELECT * FROM table","fDuration":1.0E-4}]} ) else: return EzsigntemplatesignerEditObjectV1Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), ) """ diff --git a/test/test_ezsigntemplatesigner_get_object_v2_response.py b/test/test_ezsigntemplatesigner_get_object_v2_response.py index 70eefe447..6b48f2021 100644 --- a/test/test_ezsigntemplatesigner_get_object_v2_response.py +++ b/test/test_ezsigntemplatesigner_get_object_v2_response.py @@ -36,11 +36,28 @@ def make_instance(self, include_optional) -> EzsigntemplatesignerGetObjectV2Resp model = EzsigntemplatesignerGetObjectV2Response() if include_optional: return EzsigntemplatesignerGetObjectV2Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), + obj_debug = {"sMemoryUsage":"11,923MB","sRunTime":"0.6084s","iSQLSelects":3,"iSQLQueries":6,"a_objSQLQuery":[{"sQuery":"SELECT * FROM table","fDuration":1.0E-4},{"sQuery":"SELECT * FROM table","fDuration":1.0E-4}]}, m_payload = eZmaxApi.models.ezsigntemplatesigner_get_object_v2_response_m_payload.ezsigntemplatesigner-getObject-v2-Response-mPayload( obj_ezsigntemplatesigner = eZmaxApi.models.ezsigntemplatesigner_response_compound.ezsigntemplatesigner-ResponseCompound(), ) ) else: return EzsigntemplatesignerGetObjectV2Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), m_payload = eZmaxApi.models.ezsigntemplatesigner_get_object_v2_response_m_payload.ezsigntemplatesigner-getObject-v2-Response-mPayload( obj_ezsigntemplatesigner = eZmaxApi.models.ezsigntemplatesigner_response_compound.ezsigntemplatesigner-ResponseCompound(), ), ) diff --git a/test/test_ezsigntemplatesigner_request_compound.py b/test/test_ezsigntemplatesigner_request_compound.py index a24cec330..eb26fc79f 100644 --- a/test/test_ezsigntemplatesigner_request_compound.py +++ b/test/test_ezsigntemplatesigner_request_compound.py @@ -36,9 +36,19 @@ def make_instance(self, include_optional) -> EzsigntemplatesignerRequestCompound model = EzsigntemplatesignerRequestCompound() if include_optional: return EzsigntemplatesignerRequestCompound( + pki_ezsigntemplatesigner_id = 9, + fki_ezsigntemplate_id = 36, + fki_user_id = 70, + fki_usergroup_id = 2, + fki_ezdoctemplatedocument_id = 95, + b_ezsigntemplatesigner_receivecopy = True, + e_ezsigntemplatesigner_mapping = 'Manual', + s_ezsigntemplatesigner_description = 'Customer' ) else: return EzsigntemplatesignerRequestCompound( + fki_ezsigntemplate_id = 36, + s_ezsigntemplatesigner_description = 'Customer', ) """ diff --git a/test/test_ezsigntemplatesigner_response_compound.py b/test/test_ezsigntemplatesigner_response_compound.py index dd7df1b1e..e742938b3 100644 --- a/test/test_ezsigntemplatesigner_response_compound.py +++ b/test/test_ezsigntemplatesigner_response_compound.py @@ -36,9 +36,22 @@ def make_instance(self, include_optional) -> EzsigntemplatesignerResponseCompoun model = EzsigntemplatesignerResponseCompound() if include_optional: return EzsigntemplatesignerResponseCompound( + pki_ezsigntemplatesigner_id = 9, + fki_ezsigntemplate_id = 36, + fki_user_id = 70, + fki_usergroup_id = 2, + fki_ezdoctemplatedocument_id = 95, + b_ezsigntemplatesigner_receivecopy = True, + e_ezsigntemplatesigner_mapping = 'Manual', + s_ezsigntemplatesigner_description = 'Customer', + s_user_name = 'Default', + s_usergroup_name_x = 'Administration' ) else: return EzsigntemplatesignerResponseCompound( + pki_ezsigntemplatesigner_id = 9, + fki_ezsigntemplate_id = 36, + s_ezsigntemplatesigner_description = 'Customer', ) """ diff --git a/test/test_ezsigntsarequirement_get_autocomplete_v2_response.py b/test/test_ezsigntsarequirement_get_autocomplete_v2_response.py index 50270cfa5..42920641d 100644 --- a/test/test_ezsigntsarequirement_get_autocomplete_v2_response.py +++ b/test/test_ezsigntsarequirement_get_autocomplete_v2_response.py @@ -36,6 +36,15 @@ def make_instance(self, include_optional) -> EzsigntsarequirementGetAutocomplete model = EzsigntsarequirementGetAutocompleteV2Response() if include_optional: return EzsigntsarequirementGetAutocompleteV2Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), + obj_debug = {"sMemoryUsage":"11,923MB","sRunTime":"0.6084s","iSQLSelects":3,"iSQLQueries":6,"a_objSQLQuery":[{"sQuery":"SELECT * FROM table","fDuration":1.0E-4},{"sQuery":"SELECT * FROM table","fDuration":1.0E-4}]}, m_payload = eZmaxApi.models.ezsigntsarequirement_get_autocomplete_v2_response_m_payload.ezsigntsarequirement-getAutocomplete-v2-Response-mPayload( a_obj_ezsigntsarequirement = [ eZmaxApi.models.ezsigntsarequirement_autocomplete_element_response.ezsigntsarequirement-AutocompleteElement-Response( @@ -47,6 +56,14 @@ def make_instance(self, include_optional) -> EzsigntsarequirementGetAutocomplete ) else: return EzsigntsarequirementGetAutocompleteV2Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), m_payload = eZmaxApi.models.ezsigntsarequirement_get_autocomplete_v2_response_m_payload.ezsigntsarequirement-getAutocomplete-v2-Response-mPayload( a_obj_ezsigntsarequirement = [ eZmaxApi.models.ezsigntsarequirement_autocomplete_element_response.ezsigntsarequirement-AutocompleteElement-Response( diff --git a/test/test_ezsignuser_edit_object_v1_response.py b/test/test_ezsignuser_edit_object_v1_response.py index 8c03e455d..1eed19216 100644 --- a/test/test_ezsignuser_edit_object_v1_response.py +++ b/test/test_ezsignuser_edit_object_v1_response.py @@ -36,9 +36,26 @@ def make_instance(self, include_optional) -> EzsignuserEditObjectV1Response: model = EzsignuserEditObjectV1Response() if include_optional: return EzsignuserEditObjectV1Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), + obj_debug = {"sMemoryUsage":"11,923MB","sRunTime":"0.6084s","iSQLSelects":3,"iSQLQueries":6,"a_objSQLQuery":[{"sQuery":"SELECT * FROM table","fDuration":1.0E-4},{"sQuery":"SELECT * FROM table","fDuration":1.0E-4}]} ) else: return EzsignuserEditObjectV1Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), ) """ diff --git a/test/test_ezsignuser_get_object_v2_response.py b/test/test_ezsignuser_get_object_v2_response.py index b2cbf10b4..942a5631a 100644 --- a/test/test_ezsignuser_get_object_v2_response.py +++ b/test/test_ezsignuser_get_object_v2_response.py @@ -36,11 +36,28 @@ def make_instance(self, include_optional) -> EzsignuserGetObjectV2Response: model = EzsignuserGetObjectV2Response() if include_optional: return EzsignuserGetObjectV2Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), + obj_debug = {"sMemoryUsage":"11,923MB","sRunTime":"0.6084s","iSQLSelects":3,"iSQLQueries":6,"a_objSQLQuery":[{"sQuery":"SELECT * FROM table","fDuration":1.0E-4},{"sQuery":"SELECT * FROM table","fDuration":1.0E-4}]}, m_payload = eZmaxApi.models.ezsignuser_get_object_v2_response_m_payload.ezsignuser-getObject-v2-Response-mPayload( obj_ezsignuser = eZmaxApi.models.ezsignuser_response_compound.ezsignuser-ResponseCompound(), ) ) else: return EzsignuserGetObjectV2Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), m_payload = eZmaxApi.models.ezsignuser_get_object_v2_response_m_payload.ezsignuser-getObject-v2-Response-mPayload( obj_ezsignuser = eZmaxApi.models.ezsignuser_response_compound.ezsignuser-ResponseCompound(), ), ) diff --git a/test/test_ezsignuser_request_compound.py b/test/test_ezsignuser_request_compound.py index a27b5c2bf..b00713cde 100644 --- a/test/test_ezsignuser_request_compound.py +++ b/test/test_ezsignuser_request_compound.py @@ -36,9 +36,14 @@ def make_instance(self, include_optional) -> EzsignuserRequestCompound: model = EzsignuserRequestCompound() if include_optional: return EzsignuserRequestCompound( + pki_ezsignuser_id = 94, + fki_contact_id = 21, + obj_contact = eZmaxApi.models.contact_request_compound_v2.contact-RequestCompoundV2() ) else: return EzsignuserRequestCompound( + fki_contact_id = 21, + obj_contact = eZmaxApi.models.contact_request_compound_v2.contact-RequestCompoundV2(), ) """ diff --git a/test/test_ezsignuser_response_compound.py b/test/test_ezsignuser_response_compound.py index ccaca5c9f..5db0e5097 100644 --- a/test/test_ezsignuser_response_compound.py +++ b/test/test_ezsignuser_response_compound.py @@ -36,9 +36,49 @@ def make_instance(self, include_optional) -> EzsignuserResponseCompound: model = EzsignuserResponseCompound() if include_optional: return EzsignuserResponseCompound( + pki_ezsignuser_id = 94, + fki_contact_id = 21, + obj_contact = eZmaxApi.models.contact_response_compound.contact-ResponseCompound(), + obj_audit = eZmaxApi.models.common_audit.Common-Audit( + obj_auditdetail_created = eZmaxApi.models.common_auditdetail.Common-Auditdetail( + fki_user_id = 70, + fki_apikey_id = 99, + s_user_loginname = 'JohnDoe', + s_user_lastname = 'Doe', + s_user_firstname = 'John', + s_apikey_description_x = 'Project X', + dt_auditdetail_date = '2020-12-31 23:59:59', ), + obj_auditdetail_modified = eZmaxApi.models.common_auditdetail.Common-Auditdetail( + fki_user_id = 70, + fki_apikey_id = 99, + s_user_loginname = 'JohnDoe', + s_user_lastname = 'Doe', + s_user_firstname = 'John', + s_apikey_description_x = 'Project X', + dt_auditdetail_date = '2020-12-31 23:59:59', ), ) ) else: return EzsignuserResponseCompound( + pki_ezsignuser_id = 94, + fki_contact_id = 21, + obj_contact = eZmaxApi.models.contact_response_compound.contact-ResponseCompound(), + obj_audit = eZmaxApi.models.common_audit.Common-Audit( + obj_auditdetail_created = eZmaxApi.models.common_auditdetail.Common-Auditdetail( + fki_user_id = 70, + fki_apikey_id = 99, + s_user_loginname = 'JohnDoe', + s_user_lastname = 'Doe', + s_user_firstname = 'John', + s_apikey_description_x = 'Project X', + dt_auditdetail_date = '2020-12-31 23:59:59', ), + obj_auditdetail_modified = eZmaxApi.models.common_auditdetail.Common-Auditdetail( + fki_user_id = 70, + fki_apikey_id = 99, + s_user_loginname = 'JohnDoe', + s_user_lastname = 'Doe', + s_user_firstname = 'John', + s_apikey_description_x = 'Project X', + dt_auditdetail_date = '2020-12-31 23:59:59', ), ), ) """ diff --git a/test/test_font_get_autocomplete_v2_response.py b/test/test_font_get_autocomplete_v2_response.py index be04ce21b..9e7d99e38 100644 --- a/test/test_font_get_autocomplete_v2_response.py +++ b/test/test_font_get_autocomplete_v2_response.py @@ -36,6 +36,15 @@ def make_instance(self, include_optional) -> FontGetAutocompleteV2Response: model = FontGetAutocompleteV2Response() if include_optional: return FontGetAutocompleteV2Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), + obj_debug = {"sMemoryUsage":"11,923MB","sRunTime":"0.6084s","iSQLSelects":3,"iSQLQueries":6,"a_objSQLQuery":[{"sQuery":"SELECT * FROM table","fDuration":1.0E-4},{"sQuery":"SELECT * FROM table","fDuration":1.0E-4}]}, m_payload = eZmaxApi.models.font_get_autocomplete_v2_response_m_payload.font-getAutocomplete-v2-Response-mPayload( a_obj_font = [ eZmaxApi.models.font_autocomplete_element_response.font-AutocompleteElement-Response( @@ -46,6 +55,14 @@ def make_instance(self, include_optional) -> FontGetAutocompleteV2Response: ) else: return FontGetAutocompleteV2Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), m_payload = eZmaxApi.models.font_get_autocomplete_v2_response_m_payload.font-getAutocomplete-v2-Response-mPayload( a_obj_font = [ eZmaxApi.models.font_autocomplete_element_response.font-AutocompleteElement-Response( diff --git a/test/test_franchisebroker_get_autocomplete_v2_response.py b/test/test_franchisebroker_get_autocomplete_v2_response.py index 13a7b2540..4b8a08246 100644 --- a/test/test_franchisebroker_get_autocomplete_v2_response.py +++ b/test/test_franchisebroker_get_autocomplete_v2_response.py @@ -36,6 +36,15 @@ def make_instance(self, include_optional) -> FranchisebrokerGetAutocompleteV2Res model = FranchisebrokerGetAutocompleteV2Response() if include_optional: return FranchisebrokerGetAutocompleteV2Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), + obj_debug = {"sMemoryUsage":"11,923MB","sRunTime":"0.6084s","iSQLSelects":3,"iSQLQueries":6,"a_objSQLQuery":[{"sQuery":"SELECT * FROM table","fDuration":1.0E-4},{"sQuery":"SELECT * FROM table","fDuration":1.0E-4}]}, m_payload = eZmaxApi.models.franchisebroker_get_autocomplete_v2_response_m_payload.franchisebroker-getAutocomplete-v2-Response-mPayload( a_obj_franchisebroker = [ eZmaxApi.models.franchisebroker_autocomplete_element_response.franchisebroker-AutocompleteElement-Response( @@ -46,6 +55,14 @@ def make_instance(self, include_optional) -> FranchisebrokerGetAutocompleteV2Res ) else: return FranchisebrokerGetAutocompleteV2Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), m_payload = eZmaxApi.models.franchisebroker_get_autocomplete_v2_response_m_payload.franchisebroker-getAutocomplete-v2-Response-mPayload( a_obj_franchisebroker = [ eZmaxApi.models.franchisebroker_autocomplete_element_response.franchisebroker-AutocompleteElement-Response( diff --git a/test/test_franchiseoffice_get_autocomplete_v2_response.py b/test/test_franchiseoffice_get_autocomplete_v2_response.py index dc610c99a..1871e48bd 100644 --- a/test/test_franchiseoffice_get_autocomplete_v2_response.py +++ b/test/test_franchiseoffice_get_autocomplete_v2_response.py @@ -36,6 +36,15 @@ def make_instance(self, include_optional) -> FranchiseofficeGetAutocompleteV2Res model = FranchiseofficeGetAutocompleteV2Response() if include_optional: return FranchiseofficeGetAutocompleteV2Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), + obj_debug = {"sMemoryUsage":"11,923MB","sRunTime":"0.6084s","iSQLSelects":3,"iSQLQueries":6,"a_objSQLQuery":[{"sQuery":"SELECT * FROM table","fDuration":1.0E-4},{"sQuery":"SELECT * FROM table","fDuration":1.0E-4}]}, m_payload = eZmaxApi.models.franchiseoffice_get_autocomplete_v2_response_m_payload.franchiseoffice-getAutocomplete-v2-Response-mPayload( a_obj_franchiseoffice = [ eZmaxApi.models.franchiseoffice_autocomplete_element_response.franchiseoffice-AutocompleteElement-Response( @@ -46,6 +55,14 @@ def make_instance(self, include_optional) -> FranchiseofficeGetAutocompleteV2Res ) else: return FranchiseofficeGetAutocompleteV2Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), m_payload = eZmaxApi.models.franchiseoffice_get_autocomplete_v2_response_m_payload.franchiseoffice-getAutocomplete-v2-Response-mPayload( a_obj_franchiseoffice = [ eZmaxApi.models.franchiseoffice_autocomplete_element_response.franchiseoffice-AutocompleteElement-Response( diff --git a/test/test_franchisereferalincome_create_object_v2_response.py b/test/test_franchisereferalincome_create_object_v2_response.py index 2509968ce..55ad4f937 100644 --- a/test/test_franchisereferalincome_create_object_v2_response.py +++ b/test/test_franchisereferalincome_create_object_v2_response.py @@ -36,6 +36,15 @@ def make_instance(self, include_optional) -> FranchisereferalincomeCreateObjectV model = FranchisereferalincomeCreateObjectV2Response() if include_optional: return FranchisereferalincomeCreateObjectV2Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), + obj_debug = {"sMemoryUsage":"11,923MB","sRunTime":"0.6084s","iSQLSelects":3,"iSQLQueries":6,"a_objSQLQuery":[{"sQuery":"SELECT * FROM table","fDuration":1.0E-4},{"sQuery":"SELECT * FROM table","fDuration":1.0E-4}]}, m_payload = eZmaxApi.models.franchisereferalincome_create_object_v2_response_m_payload.franchisereferalincome-createObject-v2-Response-mPayload( a_pki_franchisereferalincome_id = [ 35 @@ -43,6 +52,14 @@ def make_instance(self, include_optional) -> FranchisereferalincomeCreateObjectV ) else: return FranchisereferalincomeCreateObjectV2Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), m_payload = eZmaxApi.models.franchisereferalincome_create_object_v2_response_m_payload.franchisereferalincome-createObject-v2-Response-mPayload( a_pki_franchisereferalincome_id = [ 35 diff --git a/test/test_franchisereferalincome_request_compound.py b/test/test_franchisereferalincome_request_compound.py index 0d068f295..1e323dedf 100644 --- a/test/test_franchisereferalincome_request_compound.py +++ b/test/test_franchisereferalincome_request_compound.py @@ -36,6 +36,18 @@ def make_instance(self, include_optional) -> FranchisereferalincomeRequestCompou model = FranchisereferalincomeRequestCompound() if include_optional: return FranchisereferalincomeRequestCompound( + pki_franchisereferalincome_id = 35, + fki_franchisebroker_id = 61, + fki_franchisereferalincomeprogram_id = 51, + fki_period_id = 21, + d_franchisereferalincome_loan = '500275.62', + d_franchisereferalincome_franchiseamount = '275.00', + d_franchisereferalincome_franchisoramount = '385.00', + d_franchisereferalincome_agentamount = '800.00', + dt_franchisereferalincome_disbursed = '2020-12-31', + t_franchisereferalincome_comment = 'This is a comment', + fki_franchiseoffice_id = 50, + s_franchisereferalincome_remoteid = '', obj_address = eZmaxApi.models.address_request.address-Request( pki_address_id = 142, fki_addresstype_id = 1, @@ -54,6 +66,17 @@ def make_instance(self, include_optional) -> FranchisereferalincomeRequestCompou ) else: return FranchisereferalincomeRequestCompound( + fki_franchisebroker_id = 61, + fki_franchisereferalincomeprogram_id = 51, + fki_period_id = 21, + d_franchisereferalincome_loan = '500275.62', + d_franchisereferalincome_franchiseamount = '275.00', + d_franchisereferalincome_franchisoramount = '385.00', + d_franchisereferalincome_agentamount = '800.00', + dt_franchisereferalincome_disbursed = '2020-12-31', + t_franchisereferalincome_comment = 'This is a comment', + fki_franchiseoffice_id = 50, + s_franchisereferalincome_remoteid = '', a_obj_contact = [ eZmaxApi.models.contact_request_compound.contact-RequestCompound() ], diff --git a/test/test_glaccount_get_autocomplete_v2_response.py b/test/test_glaccount_get_autocomplete_v2_response.py index 4fdbf1b63..d71a3f08a 100644 --- a/test/test_glaccount_get_autocomplete_v2_response.py +++ b/test/test_glaccount_get_autocomplete_v2_response.py @@ -36,6 +36,15 @@ def make_instance(self, include_optional) -> GlaccountGetAutocompleteV2Response: model = GlaccountGetAutocompleteV2Response() if include_optional: return GlaccountGetAutocompleteV2Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), + obj_debug = {"sMemoryUsage":"11,923MB","sRunTime":"0.6084s","iSQLSelects":3,"iSQLQueries":6,"a_objSQLQuery":[{"sQuery":"SELECT * FROM table","fDuration":1.0E-4},{"sQuery":"SELECT * FROM table","fDuration":1.0E-4}]}, m_payload = eZmaxApi.models.glaccount_get_autocomplete_v2_response_m_payload.glaccount-getAutocomplete-v2-Response-mPayload( a_obj_glaccount = [ eZmaxApi.models.glaccount_autocomplete_element_response.glaccount-AutocompleteElement-Response( @@ -47,6 +56,14 @@ def make_instance(self, include_optional) -> GlaccountGetAutocompleteV2Response: ) else: return GlaccountGetAutocompleteV2Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), m_payload = eZmaxApi.models.glaccount_get_autocomplete_v2_response_m_payload.glaccount-getAutocomplete-v2-Response-mPayload( a_obj_glaccount = [ eZmaxApi.models.glaccount_autocomplete_element_response.glaccount-AutocompleteElement-Response( diff --git a/test/test_glaccountcontainer_get_autocomplete_v2_response.py b/test/test_glaccountcontainer_get_autocomplete_v2_response.py index 7751fca43..b5a10cc81 100644 --- a/test/test_glaccountcontainer_get_autocomplete_v2_response.py +++ b/test/test_glaccountcontainer_get_autocomplete_v2_response.py @@ -36,6 +36,15 @@ def make_instance(self, include_optional) -> GlaccountcontainerGetAutocompleteV2 model = GlaccountcontainerGetAutocompleteV2Response() if include_optional: return GlaccountcontainerGetAutocompleteV2Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), + obj_debug = {"sMemoryUsage":"11,923MB","sRunTime":"0.6084s","iSQLSelects":3,"iSQLQueries":6,"a_objSQLQuery":[{"sQuery":"SELECT * FROM table","fDuration":1.0E-4},{"sQuery":"SELECT * FROM table","fDuration":1.0E-4}]}, m_payload = eZmaxApi.models.glaccountcontainer_get_autocomplete_v2_response_m_payload.glaccountcontainer-getAutocomplete-v2-Response-mPayload( a_obj_glaccountcontainer = [ eZmaxApi.models.glaccountcontainer_autocomplete_element_response.glaccountcontainer-AutocompleteElement-Response( @@ -47,6 +56,14 @@ def make_instance(self, include_optional) -> GlaccountcontainerGetAutocompleteV2 ) else: return GlaccountcontainerGetAutocompleteV2Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), m_payload = eZmaxApi.models.glaccountcontainer_get_autocomplete_v2_response_m_payload.glaccountcontainer-getAutocomplete-v2-Response-mPayload( a_obj_glaccountcontainer = [ eZmaxApi.models.glaccountcontainer_autocomplete_element_response.glaccountcontainer-AutocompleteElement-Response( diff --git a/test/test_inscription_get_attachments_v1_response.py b/test/test_inscription_get_attachments_v1_response.py index a86c9c385..0bb2fb74e 100644 --- a/test/test_inscription_get_attachments_v1_response.py +++ b/test/test_inscription_get_attachments_v1_response.py @@ -36,6 +36,15 @@ def make_instance(self, include_optional) -> InscriptionGetAttachmentsV1Response model = InscriptionGetAttachmentsV1Response() if include_optional: return InscriptionGetAttachmentsV1Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), + obj_debug = {"sMemoryUsage":"11,923MB","sRunTime":"0.6084s","iSQLSelects":3,"iSQLQueries":6,"a_objSQLQuery":[{"sQuery":"SELECT * FROM table","fDuration":1.0E-4},{"sQuery":"SELECT * FROM table","fDuration":1.0E-4}]}, m_payload = eZmaxApi.models.inscription_get_attachments_v1_response_m_payload.inscription-getAttachments-v1-Response-mPayload( a_obj_attachmentdocumenttype = [ eZmaxApi.models.custom_attachmentdocumenttype_response.Custom-Attachmentdocumenttype-Response( @@ -47,6 +56,14 @@ def make_instance(self, include_optional) -> InscriptionGetAttachmentsV1Response ) else: return InscriptionGetAttachmentsV1Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), m_payload = eZmaxApi.models.inscription_get_attachments_v1_response_m_payload.inscription-getAttachments-v1-Response-mPayload( a_obj_attachmentdocumenttype = [ eZmaxApi.models.custom_attachmentdocumenttype_response.Custom-Attachmentdocumenttype-Response( diff --git a/test/test_inscription_get_communication_count_v1_response.py b/test/test_inscription_get_communication_count_v1_response.py index 9ed73d0ec..95342b01a 100644 --- a/test/test_inscription_get_communication_count_v1_response.py +++ b/test/test_inscription_get_communication_count_v1_response.py @@ -36,11 +36,28 @@ def make_instance(self, include_optional) -> InscriptionGetCommunicationCountV1R model = InscriptionGetCommunicationCountV1Response() if include_optional: return InscriptionGetCommunicationCountV1Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), + obj_debug = {"sMemoryUsage":"11,923MB","sRunTime":"0.6084s","iSQLSelects":3,"iSQLQueries":6,"a_objSQLQuery":[{"sQuery":"SELECT * FROM table","fDuration":1.0E-4},{"sQuery":"SELECT * FROM table","fDuration":1.0E-4}]}, m_payload = eZmaxApi.models.inscription_get_communication_count_v1_response_m_payload.inscription-getCommunicationCount-v1-Response-mPayload( i_communication_count = 8, ) ) else: return InscriptionGetCommunicationCountV1Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), m_payload = eZmaxApi.models.inscription_get_communication_count_v1_response_m_payload.inscription-getCommunicationCount-v1-Response-mPayload( i_communication_count = 8, ), ) diff --git a/test/test_inscription_get_communication_list_v1_response.py b/test/test_inscription_get_communication_list_v1_response.py index 529b93e5f..e363404b0 100644 --- a/test/test_inscription_get_communication_list_v1_response.py +++ b/test/test_inscription_get_communication_list_v1_response.py @@ -36,6 +36,8 @@ def make_instance(self, include_optional) -> InscriptionGetCommunicationListV1Re model = InscriptionGetCommunicationListV1Response() 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( a_obj_communication = [ eZmaxApi.models.custom_communication_list_element_response.Custom-CommunicationListElement-Response( @@ -52,6 +54,7 @@ def make_instance(self, include_optional) -> InscriptionGetCommunicationListV1Re ) 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( a_obj_communication = [ eZmaxApi.models.custom_communication_list_element_response.Custom-CommunicationListElement-Response( diff --git a/test/test_inscription_get_communicationrecipients_v1_response.py b/test/test_inscription_get_communicationrecipients_v1_response.py index 7ccc3bc5d..d0380eccc 100644 --- a/test/test_inscription_get_communicationrecipients_v1_response.py +++ b/test/test_inscription_get_communicationrecipients_v1_response.py @@ -36,6 +36,15 @@ def make_instance(self, include_optional) -> InscriptionGetCommunicationrecipien model = InscriptionGetCommunicationrecipientsV1Response() if include_optional: return InscriptionGetCommunicationrecipientsV1Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), + obj_debug = {"sMemoryUsage":"11,923MB","sRunTime":"0.6084s","iSQLSelects":3,"iSQLQueries":6,"a_objSQLQuery":[{"sQuery":"SELECT * FROM table","fDuration":1.0E-4},{"sQuery":"SELECT * FROM table","fDuration":1.0E-4}]}, m_payload = eZmaxApi.models.inscription_get_communicationrecipients_v1_response_m_payload.inscription-getCommunicationrecipients-v1-Response-mPayload( a_obj_communicationrecipientsgroup = [ eZmaxApi.models.custom_communicationrecipientsgroup_response.Custom-Communicationrecipientsgroup-Response( @@ -70,6 +79,14 @@ def make_instance(self, include_optional) -> InscriptionGetCommunicationrecipien ) else: return InscriptionGetCommunicationrecipientsV1Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), m_payload = eZmaxApi.models.inscription_get_communicationrecipients_v1_response_m_payload.inscription-getCommunicationrecipients-v1-Response-mPayload( a_obj_communicationrecipientsgroup = [ eZmaxApi.models.custom_communicationrecipientsgroup_response.Custom-Communicationrecipientsgroup-Response( diff --git a/test/test_inscription_get_communicationsenders_v1_response.py b/test/test_inscription_get_communicationsenders_v1_response.py index fefcf46e3..672c67a1f 100644 --- a/test/test_inscription_get_communicationsenders_v1_response.py +++ b/test/test_inscription_get_communicationsenders_v1_response.py @@ -36,6 +36,15 @@ def make_instance(self, include_optional) -> InscriptionGetCommunicationsendersV model = InscriptionGetCommunicationsendersV1Response() if include_optional: return InscriptionGetCommunicationsendersV1Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), + obj_debug = {"sMemoryUsage":"11,923MB","sRunTime":"0.6084s","iSQLSelects":3,"iSQLQueries":6,"a_objSQLQuery":[{"sQuery":"SELECT * FROM table","fDuration":1.0E-4},{"sQuery":"SELECT * FROM table","fDuration":1.0E-4}]}, m_payload = eZmaxApi.models.inscription_get_communicationsenders_v1_response_m_payload.inscription-getCommunicationsenders-v1-Response-mPayload( a_obj_communicationsenders = [ eZmaxApi.models.custom_communicationsender_response.Custom-Communicationsender-Response( @@ -56,6 +65,14 @@ def make_instance(self, include_optional) -> InscriptionGetCommunicationsendersV ) else: return InscriptionGetCommunicationsendersV1Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), m_payload = eZmaxApi.models.inscription_get_communicationsenders_v1_response_m_payload.inscription-getCommunicationsenders-v1-Response-mPayload( a_obj_communicationsenders = [ eZmaxApi.models.custom_communicationsender_response.Custom-Communicationsender-Response( diff --git a/test/test_inscriptionnotauthenticated_get_communication_count_v1_response.py b/test/test_inscriptionnotauthenticated_get_communication_count_v1_response.py index c3420c19c..4e8371773 100644 --- a/test/test_inscriptionnotauthenticated_get_communication_count_v1_response.py +++ b/test/test_inscriptionnotauthenticated_get_communication_count_v1_response.py @@ -36,11 +36,28 @@ def make_instance(self, include_optional) -> InscriptionnotauthenticatedGetCommu model = InscriptionnotauthenticatedGetCommunicationCountV1Response() if include_optional: return InscriptionnotauthenticatedGetCommunicationCountV1Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), + obj_debug = {"sMemoryUsage":"11,923MB","sRunTime":"0.6084s","iSQLSelects":3,"iSQLQueries":6,"a_objSQLQuery":[{"sQuery":"SELECT * FROM table","fDuration":1.0E-4},{"sQuery":"SELECT * FROM table","fDuration":1.0E-4}]}, m_payload = eZmaxApi.models.inscriptionnotauthenticated_get_communication_count_v1_response_m_payload.inscriptionnotauthenticated-getCommunicationCount-v1-Response-mPayload( i_communication_count = 8, ) ) else: return InscriptionnotauthenticatedGetCommunicationCountV1Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), m_payload = eZmaxApi.models.inscriptionnotauthenticated_get_communication_count_v1_response_m_payload.inscriptionnotauthenticated-getCommunicationCount-v1-Response-mPayload( i_communication_count = 8, ), ) diff --git a/test/test_inscriptionnotauthenticated_get_communication_list_v1_response.py b/test/test_inscriptionnotauthenticated_get_communication_list_v1_response.py index 934063077..db157b8e9 100644 --- a/test/test_inscriptionnotauthenticated_get_communication_list_v1_response.py +++ b/test/test_inscriptionnotauthenticated_get_communication_list_v1_response.py @@ -36,6 +36,8 @@ def make_instance(self, include_optional) -> InscriptionnotauthenticatedGetCommu model = InscriptionnotauthenticatedGetCommunicationListV1Response() 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( a_obj_communication = [ eZmaxApi.models.custom_communication_list_element_response.Custom-CommunicationListElement-Response( @@ -52,6 +54,7 @@ def make_instance(self, include_optional) -> InscriptionnotauthenticatedGetCommu ) 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( a_obj_communication = [ eZmaxApi.models.custom_communication_list_element_response.Custom-CommunicationListElement-Response( diff --git a/test/test_inscriptionnotauthenticated_get_communicationrecipients_v1_response.py b/test/test_inscriptionnotauthenticated_get_communicationrecipients_v1_response.py index f2668ad86..5b4bc545f 100644 --- a/test/test_inscriptionnotauthenticated_get_communicationrecipients_v1_response.py +++ b/test/test_inscriptionnotauthenticated_get_communicationrecipients_v1_response.py @@ -36,6 +36,15 @@ def make_instance(self, include_optional) -> InscriptionnotauthenticatedGetCommu model = InscriptionnotauthenticatedGetCommunicationrecipientsV1Response() if include_optional: return InscriptionnotauthenticatedGetCommunicationrecipientsV1Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), + obj_debug = {"sMemoryUsage":"11,923MB","sRunTime":"0.6084s","iSQLSelects":3,"iSQLQueries":6,"a_objSQLQuery":[{"sQuery":"SELECT * FROM table","fDuration":1.0E-4},{"sQuery":"SELECT * FROM table","fDuration":1.0E-4}]}, m_payload = eZmaxApi.models.inscriptionnotauthenticated_get_communicationrecipients_v1_response_m_payload.inscriptionnotauthenticated-getCommunicationrecipients-v1-Response-mPayload( a_obj_communicationrecipientsgroup = [ eZmaxApi.models.custom_communicationrecipientsgroup_response.Custom-Communicationrecipientsgroup-Response( @@ -70,6 +79,14 @@ def make_instance(self, include_optional) -> InscriptionnotauthenticatedGetCommu ) else: return InscriptionnotauthenticatedGetCommunicationrecipientsV1Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), m_payload = eZmaxApi.models.inscriptionnotauthenticated_get_communicationrecipients_v1_response_m_payload.inscriptionnotauthenticated-getCommunicationrecipients-v1-Response-mPayload( a_obj_communicationrecipientsgroup = [ eZmaxApi.models.custom_communicationrecipientsgroup_response.Custom-Communicationrecipientsgroup-Response( diff --git a/test/test_inscriptionnotauthenticated_get_communicationsenders_v1_response.py b/test/test_inscriptionnotauthenticated_get_communicationsenders_v1_response.py index 2c26efbc7..730c88ec5 100644 --- a/test/test_inscriptionnotauthenticated_get_communicationsenders_v1_response.py +++ b/test/test_inscriptionnotauthenticated_get_communicationsenders_v1_response.py @@ -36,6 +36,15 @@ def make_instance(self, include_optional) -> InscriptionnotauthenticatedGetCommu model = InscriptionnotauthenticatedGetCommunicationsendersV1Response() if include_optional: return InscriptionnotauthenticatedGetCommunicationsendersV1Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), + obj_debug = {"sMemoryUsage":"11,923MB","sRunTime":"0.6084s","iSQLSelects":3,"iSQLQueries":6,"a_objSQLQuery":[{"sQuery":"SELECT * FROM table","fDuration":1.0E-4},{"sQuery":"SELECT * FROM table","fDuration":1.0E-4}]}, m_payload = eZmaxApi.models.inscriptionnotauthenticated_get_communicationsenders_v1_response_m_payload.inscriptionnotauthenticated-getCommunicationsenders-v1-Response-mPayload( a_obj_communicationsenders = [ eZmaxApi.models.custom_communicationsender_response.Custom-Communicationsender-Response( @@ -56,6 +65,14 @@ def make_instance(self, include_optional) -> InscriptionnotauthenticatedGetCommu ) else: return InscriptionnotauthenticatedGetCommunicationsendersV1Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), m_payload = eZmaxApi.models.inscriptionnotauthenticated_get_communicationsenders_v1_response_m_payload.inscriptionnotauthenticated-getCommunicationsenders-v1-Response-mPayload( a_obj_communicationsenders = [ eZmaxApi.models.custom_communicationsender_response.Custom-Communicationsender-Response( diff --git a/test/test_inscriptiontemp_get_communication_count_v1_response.py b/test/test_inscriptiontemp_get_communication_count_v1_response.py index 98b0f5f74..7c2c805a1 100644 --- a/test/test_inscriptiontemp_get_communication_count_v1_response.py +++ b/test/test_inscriptiontemp_get_communication_count_v1_response.py @@ -36,11 +36,28 @@ def make_instance(self, include_optional) -> InscriptiontempGetCommunicationCoun model = InscriptiontempGetCommunicationCountV1Response() if include_optional: return InscriptiontempGetCommunicationCountV1Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), + obj_debug = {"sMemoryUsage":"11,923MB","sRunTime":"0.6084s","iSQLSelects":3,"iSQLQueries":6,"a_objSQLQuery":[{"sQuery":"SELECT * FROM table","fDuration":1.0E-4},{"sQuery":"SELECT * FROM table","fDuration":1.0E-4}]}, m_payload = eZmaxApi.models.inscriptiontemp_get_communication_count_v1_response_m_payload.inscriptiontemp-getCommunicationCount-v1-Response-mPayload( i_communication_count = 8, ) ) else: return InscriptiontempGetCommunicationCountV1Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), m_payload = eZmaxApi.models.inscriptiontemp_get_communication_count_v1_response_m_payload.inscriptiontemp-getCommunicationCount-v1-Response-mPayload( i_communication_count = 8, ), ) diff --git a/test/test_inscriptiontemp_get_communication_list_v1_response.py b/test/test_inscriptiontemp_get_communication_list_v1_response.py index beb3b37e7..edbced5f5 100644 --- a/test/test_inscriptiontemp_get_communication_list_v1_response.py +++ b/test/test_inscriptiontemp_get_communication_list_v1_response.py @@ -36,6 +36,8 @@ def make_instance(self, include_optional) -> InscriptiontempGetCommunicationList model = InscriptiontempGetCommunicationListV1Response() 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( a_obj_communication = [ eZmaxApi.models.custom_communication_list_element_response.Custom-CommunicationListElement-Response( @@ -52,6 +54,7 @@ def make_instance(self, include_optional) -> InscriptiontempGetCommunicationList ) 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( a_obj_communication = [ eZmaxApi.models.custom_communication_list_element_response.Custom-CommunicationListElement-Response( diff --git a/test/test_inscriptiontemp_get_communicationrecipients_v1_response.py b/test/test_inscriptiontemp_get_communicationrecipients_v1_response.py index b43c62f97..5cca2e240 100644 --- a/test/test_inscriptiontemp_get_communicationrecipients_v1_response.py +++ b/test/test_inscriptiontemp_get_communicationrecipients_v1_response.py @@ -36,6 +36,15 @@ def make_instance(self, include_optional) -> InscriptiontempGetCommunicationreci model = InscriptiontempGetCommunicationrecipientsV1Response() if include_optional: return InscriptiontempGetCommunicationrecipientsV1Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), + obj_debug = {"sMemoryUsage":"11,923MB","sRunTime":"0.6084s","iSQLSelects":3,"iSQLQueries":6,"a_objSQLQuery":[{"sQuery":"SELECT * FROM table","fDuration":1.0E-4},{"sQuery":"SELECT * FROM table","fDuration":1.0E-4}]}, m_payload = eZmaxApi.models.inscriptiontemp_get_communicationrecipients_v1_response_m_payload.inscriptiontemp-getCommunicationrecipients-v1-Response-mPayload( a_obj_communicationrecipientsgroup = [ eZmaxApi.models.custom_communicationrecipientsgroup_response.Custom-Communicationrecipientsgroup-Response( @@ -70,6 +79,14 @@ def make_instance(self, include_optional) -> InscriptiontempGetCommunicationreci ) else: return InscriptiontempGetCommunicationrecipientsV1Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), m_payload = eZmaxApi.models.inscriptiontemp_get_communicationrecipients_v1_response_m_payload.inscriptiontemp-getCommunicationrecipients-v1-Response-mPayload( a_obj_communicationrecipientsgroup = [ eZmaxApi.models.custom_communicationrecipientsgroup_response.Custom-Communicationrecipientsgroup-Response( diff --git a/test/test_inscriptiontemp_get_communicationsenders_v1_response.py b/test/test_inscriptiontemp_get_communicationsenders_v1_response.py index d02a06392..2d5bf374f 100644 --- a/test/test_inscriptiontemp_get_communicationsenders_v1_response.py +++ b/test/test_inscriptiontemp_get_communicationsenders_v1_response.py @@ -36,6 +36,15 @@ def make_instance(self, include_optional) -> InscriptiontempGetCommunicationsend model = InscriptiontempGetCommunicationsendersV1Response() if include_optional: return InscriptiontempGetCommunicationsendersV1Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), + obj_debug = {"sMemoryUsage":"11,923MB","sRunTime":"0.6084s","iSQLSelects":3,"iSQLQueries":6,"a_objSQLQuery":[{"sQuery":"SELECT * FROM table","fDuration":1.0E-4},{"sQuery":"SELECT * FROM table","fDuration":1.0E-4}]}, m_payload = eZmaxApi.models.inscriptiontemp_get_communicationsenders_v1_response_m_payload.inscriptiontemp-getCommunicationsenders-v1-Response-mPayload( a_obj_communicationsenders = [ eZmaxApi.models.custom_communicationsender_response.Custom-Communicationsender-Response( @@ -56,6 +65,14 @@ def make_instance(self, include_optional) -> InscriptiontempGetCommunicationsend ) else: return InscriptiontempGetCommunicationsendersV1Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), m_payload = eZmaxApi.models.inscriptiontemp_get_communicationsenders_v1_response_m_payload.inscriptiontemp-getCommunicationsenders-v1-Response-mPayload( a_obj_communicationsenders = [ eZmaxApi.models.custom_communicationsender_response.Custom-Communicationsender-Response( diff --git a/test/test_invoice_get_attachments_v1_response.py b/test/test_invoice_get_attachments_v1_response.py index d90e8ee87..d9dad27fe 100644 --- a/test/test_invoice_get_attachments_v1_response.py +++ b/test/test_invoice_get_attachments_v1_response.py @@ -36,6 +36,15 @@ def make_instance(self, include_optional) -> InvoiceGetAttachmentsV1Response: model = InvoiceGetAttachmentsV1Response() if include_optional: return InvoiceGetAttachmentsV1Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), + obj_debug = {"sMemoryUsage":"11,923MB","sRunTime":"0.6084s","iSQLSelects":3,"iSQLQueries":6,"a_objSQLQuery":[{"sQuery":"SELECT * FROM table","fDuration":1.0E-4},{"sQuery":"SELECT * FROM table","fDuration":1.0E-4}]}, m_payload = eZmaxApi.models.invoice_get_attachments_v1_response_m_payload.invoice-getAttachments-v1-Response-mPayload( a_obj_attachmentdocumenttype = [ eZmaxApi.models.custom_attachmentdocumenttype_response.Custom-Attachmentdocumenttype-Response( @@ -47,6 +56,14 @@ def make_instance(self, include_optional) -> InvoiceGetAttachmentsV1Response: ) else: return InvoiceGetAttachmentsV1Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), m_payload = eZmaxApi.models.invoice_get_attachments_v1_response_m_payload.invoice-getAttachments-v1-Response-mPayload( a_obj_attachmentdocumenttype = [ eZmaxApi.models.custom_attachmentdocumenttype_response.Custom-Attachmentdocumenttype-Response( diff --git a/test/test_invoice_get_communication_count_v1_response.py b/test/test_invoice_get_communication_count_v1_response.py index 6976b1498..80a2623ea 100644 --- a/test/test_invoice_get_communication_count_v1_response.py +++ b/test/test_invoice_get_communication_count_v1_response.py @@ -36,11 +36,28 @@ def make_instance(self, include_optional) -> InvoiceGetCommunicationCountV1Respo model = InvoiceGetCommunicationCountV1Response() if include_optional: return InvoiceGetCommunicationCountV1Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), + obj_debug = {"sMemoryUsage":"11,923MB","sRunTime":"0.6084s","iSQLSelects":3,"iSQLQueries":6,"a_objSQLQuery":[{"sQuery":"SELECT * FROM table","fDuration":1.0E-4},{"sQuery":"SELECT * FROM table","fDuration":1.0E-4}]}, m_payload = eZmaxApi.models.invoice_get_communication_count_v1_response_m_payload.invoice-getCommunicationCount-v1-Response-mPayload( i_communication_count = 8, ) ) else: return InvoiceGetCommunicationCountV1Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), m_payload = eZmaxApi.models.invoice_get_communication_count_v1_response_m_payload.invoice-getCommunicationCount-v1-Response-mPayload( i_communication_count = 8, ), ) diff --git a/test/test_invoice_get_communication_list_v1_response.py b/test/test_invoice_get_communication_list_v1_response.py index 361d2b82b..d8976c38b 100644 --- a/test/test_invoice_get_communication_list_v1_response.py +++ b/test/test_invoice_get_communication_list_v1_response.py @@ -36,6 +36,8 @@ def make_instance(self, include_optional) -> InvoiceGetCommunicationListV1Respon model = InvoiceGetCommunicationListV1Response() 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( a_obj_communication = [ eZmaxApi.models.custom_communication_list_element_response.Custom-CommunicationListElement-Response( @@ -52,6 +54,7 @@ def make_instance(self, include_optional) -> InvoiceGetCommunicationListV1Respon ) 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( a_obj_communication = [ eZmaxApi.models.custom_communication_list_element_response.Custom-CommunicationListElement-Response( diff --git a/test/test_invoice_get_communicationrecipients_v1_response.py b/test/test_invoice_get_communicationrecipients_v1_response.py index 14335d88c..70f7f5431 100644 --- a/test/test_invoice_get_communicationrecipients_v1_response.py +++ b/test/test_invoice_get_communicationrecipients_v1_response.py @@ -36,6 +36,15 @@ def make_instance(self, include_optional) -> InvoiceGetCommunicationrecipientsV1 model = InvoiceGetCommunicationrecipientsV1Response() if include_optional: return InvoiceGetCommunicationrecipientsV1Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), + obj_debug = {"sMemoryUsage":"11,923MB","sRunTime":"0.6084s","iSQLSelects":3,"iSQLQueries":6,"a_objSQLQuery":[{"sQuery":"SELECT * FROM table","fDuration":1.0E-4},{"sQuery":"SELECT * FROM table","fDuration":1.0E-4}]}, m_payload = eZmaxApi.models.invoice_get_communicationrecipients_v1_response_m_payload.invoice-getCommunicationrecipients-v1-Response-mPayload( a_obj_communicationrecipientsgroup = [ eZmaxApi.models.custom_communicationrecipientsgroup_response.Custom-Communicationrecipientsgroup-Response( @@ -70,6 +79,14 @@ def make_instance(self, include_optional) -> InvoiceGetCommunicationrecipientsV1 ) else: return InvoiceGetCommunicationrecipientsV1Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), m_payload = eZmaxApi.models.invoice_get_communicationrecipients_v1_response_m_payload.invoice-getCommunicationrecipients-v1-Response-mPayload( a_obj_communicationrecipientsgroup = [ eZmaxApi.models.custom_communicationrecipientsgroup_response.Custom-Communicationrecipientsgroup-Response( diff --git a/test/test_invoice_get_communicationsenders_v1_response.py b/test/test_invoice_get_communicationsenders_v1_response.py index c6ccf837f..302e45ef1 100644 --- a/test/test_invoice_get_communicationsenders_v1_response.py +++ b/test/test_invoice_get_communicationsenders_v1_response.py @@ -36,6 +36,15 @@ def make_instance(self, include_optional) -> InvoiceGetCommunicationsendersV1Res model = InvoiceGetCommunicationsendersV1Response() if include_optional: return InvoiceGetCommunicationsendersV1Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), + obj_debug = {"sMemoryUsage":"11,923MB","sRunTime":"0.6084s","iSQLSelects":3,"iSQLQueries":6,"a_objSQLQuery":[{"sQuery":"SELECT * FROM table","fDuration":1.0E-4},{"sQuery":"SELECT * FROM table","fDuration":1.0E-4}]}, m_payload = eZmaxApi.models.invoice_get_communicationsenders_v1_response_m_payload.invoice-getCommunicationsenders-v1-Response-mPayload( a_obj_communicationsenders = [ eZmaxApi.models.custom_communicationsender_response.Custom-Communicationsender-Response( @@ -56,6 +65,14 @@ def make_instance(self, include_optional) -> InvoiceGetCommunicationsendersV1Res ) else: return InvoiceGetCommunicationsendersV1Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), m_payload = eZmaxApi.models.invoice_get_communicationsenders_v1_response_m_payload.invoice-getCommunicationsenders-v1-Response-mPayload( a_obj_communicationsenders = [ eZmaxApi.models.custom_communicationsender_response.Custom-Communicationsender-Response( diff --git a/test/test_language_get_autocomplete_v2_response.py b/test/test_language_get_autocomplete_v2_response.py index d7e4d1e0a..1bb9f6502 100644 --- a/test/test_language_get_autocomplete_v2_response.py +++ b/test/test_language_get_autocomplete_v2_response.py @@ -36,6 +36,15 @@ def make_instance(self, include_optional) -> LanguageGetAutocompleteV2Response: model = LanguageGetAutocompleteV2Response() if include_optional: return LanguageGetAutocompleteV2Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), + obj_debug = {"sMemoryUsage":"11,923MB","sRunTime":"0.6084s","iSQLSelects":3,"iSQLQueries":6,"a_objSQLQuery":[{"sQuery":"SELECT * FROM table","fDuration":1.0E-4},{"sQuery":"SELECT * FROM table","fDuration":1.0E-4}]}, m_payload = eZmaxApi.models.language_get_autocomplete_v2_response_m_payload.language-getAutocomplete-v2-Response-mPayload( a_obj_language = [ eZmaxApi.models.language_autocomplete_element_response.language-AutocompleteElement-Response( @@ -46,6 +55,14 @@ def make_instance(self, include_optional) -> LanguageGetAutocompleteV2Response: ) else: return LanguageGetAutocompleteV2Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), m_payload = eZmaxApi.models.language_get_autocomplete_v2_response_m_payload.language-getAutocomplete-v2-Response-mPayload( a_obj_language = [ eZmaxApi.models.language_autocomplete_element_response.language-AutocompleteElement-Response( diff --git a/test/test_module_get_autocomplete_v2_response.py b/test/test_module_get_autocomplete_v2_response.py index 3c310566b..6441da767 100644 --- a/test/test_module_get_autocomplete_v2_response.py +++ b/test/test_module_get_autocomplete_v2_response.py @@ -36,6 +36,15 @@ def make_instance(self, include_optional) -> ModuleGetAutocompleteV2Response: model = ModuleGetAutocompleteV2Response() if include_optional: return ModuleGetAutocompleteV2Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), + obj_debug = {"sMemoryUsage":"11,923MB","sRunTime":"0.6084s","iSQLSelects":3,"iSQLQueries":6,"a_objSQLQuery":[{"sQuery":"SELECT * FROM table","fDuration":1.0E-4},{"sQuery":"SELECT * FROM table","fDuration":1.0E-4}]}, m_payload = eZmaxApi.models.module_get_autocomplete_v2_response_m_payload.module-getAutocomplete-v2-Response-mPayload( a_obj_module = [ eZmaxApi.models.module_autocomplete_element_response.module-AutocompleteElement-Response( @@ -46,6 +55,14 @@ def make_instance(self, include_optional) -> ModuleGetAutocompleteV2Response: ) else: return ModuleGetAutocompleteV2Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), m_payload = eZmaxApi.models.module_get_autocomplete_v2_response_m_payload.module-getAutocomplete-v2-Response-mPayload( a_obj_module = [ eZmaxApi.models.module_autocomplete_element_response.module-AutocompleteElement-Response( diff --git a/test/test_module_response_compound.py b/test/test_module_response_compound.py index ed4d723be..78e9a8228 100644 --- a/test/test_module_response_compound.py +++ b/test/test_module_response_compound.py @@ -36,12 +36,24 @@ def make_instance(self, include_optional) -> ModuleResponseCompound: model = ModuleResponseCompound() if include_optional: return ModuleResponseCompound( + pki_module_id = 40, + fki_modulegroup_id = 46, + e_module_internalname = 'Purchases', + s_module_name_x = 'Purchase', + b_module_registered = True, + b_module_registeredapi = True, a_obj_modulesection = [ eZmaxApi.models.modulesection_response_compound.modulesection-ResponseCompound() ] ) else: return ModuleResponseCompound( + pki_module_id = 40, + fki_modulegroup_id = 46, + e_module_internalname = 'Purchases', + s_module_name_x = 'Purchase', + b_module_registered = True, + b_module_registeredapi = True, ) """ diff --git a/test/test_modulegroup_get_all_v1_response.py b/test/test_modulegroup_get_all_v1_response.py index 47e80a4e4..05a073746 100644 --- a/test/test_modulegroup_get_all_v1_response.py +++ b/test/test_modulegroup_get_all_v1_response.py @@ -36,6 +36,15 @@ def make_instance(self, include_optional) -> ModulegroupGetAllV1Response: model = ModulegroupGetAllV1Response() if include_optional: return ModulegroupGetAllV1Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), + obj_debug = {"sMemoryUsage":"11,923MB","sRunTime":"0.6084s","iSQLSelects":3,"iSQLQueries":6,"a_objSQLQuery":[{"sQuery":"SELECT * FROM table","fDuration":1.0E-4},{"sQuery":"SELECT * FROM table","fDuration":1.0E-4}]}, m_payload = eZmaxApi.models.modulegroup_get_all_v1_response_m_payload.modulegroup-getAll-v1-Response-mPayload( a_obj_modulegroup = [ eZmaxApi.models.modulegroup_response_compound.modulegroup-ResponseCompound() @@ -43,6 +52,14 @@ def make_instance(self, include_optional) -> ModulegroupGetAllV1Response: ) else: return ModulegroupGetAllV1Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), m_payload = eZmaxApi.models.modulegroup_get_all_v1_response_m_payload.modulegroup-getAll-v1-Response-mPayload( a_obj_modulegroup = [ eZmaxApi.models.modulegroup_response_compound.modulegroup-ResponseCompound() diff --git a/test/test_modulegroup_response_compound.py b/test/test_modulegroup_response_compound.py index 5e8690b0e..575a62c67 100644 --- a/test/test_modulegroup_response_compound.py +++ b/test/test_modulegroup_response_compound.py @@ -36,12 +36,16 @@ def make_instance(self, include_optional) -> ModulegroupResponseCompound: model = ModulegroupResponseCompound() if include_optional: return ModulegroupResponseCompound( + pki_modulegroup_id = 46, + s_modulegroup_name_x = 'Management', a_obj_module = [ eZmaxApi.models.module_response_compound.module-ResponseCompound() ] ) else: return ModulegroupResponseCompound( + pki_modulegroup_id = 46, + s_modulegroup_name_x = 'Management', ) """ diff --git a/test/test_modulesection_response_compound.py b/test/test_modulesection_response_compound.py index 8760f34c2..a8400e50d 100644 --- a/test/test_modulesection_response_compound.py +++ b/test/test_modulesection_response_compound.py @@ -36,12 +36,20 @@ def make_instance(self, include_optional) -> ModulesectionResponseCompound: model = ModulesectionResponseCompound() if include_optional: return ModulesectionResponseCompound( + pki_modulesection_id = 53, + fki_module_id = 40, + s_modulesection_internalname = 'Access', + s_modulesection_name_x = 'Access', a_obj_permission = [ eZmaxApi.models.permission_response_compound.permission-ResponseCompound() ] ) else: return ModulesectionResponseCompound( + pki_modulesection_id = 53, + fki_module_id = 40, + s_modulesection_internalname = 'Access', + s_modulesection_name_x = 'Access', ) """ diff --git a/test/test_notificationsection_get_notificationtests_v1_response.py b/test/test_notificationsection_get_notificationtests_v1_response.py index 823e9e782..d7fd00b86 100644 --- a/test/test_notificationsection_get_notificationtests_v1_response.py +++ b/test/test_notificationsection_get_notificationtests_v1_response.py @@ -36,6 +36,15 @@ def make_instance(self, include_optional) -> NotificationsectionGetNotificationt model = NotificationsectionGetNotificationtestsV1Response() if include_optional: return NotificationsectionGetNotificationtestsV1Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), + obj_debug = {"sMemoryUsage":"11,923MB","sRunTime":"0.6084s","iSQLSelects":3,"iSQLQueries":6,"a_objSQLQuery":[{"sQuery":"SELECT * FROM table","fDuration":1.0E-4},{"sQuery":"SELECT * FROM table","fDuration":1.0E-4}]}, m_payload = eZmaxApi.models.notificationsection_get_notificationtests_v1_response_m_payload.notificationsection-getNotificationtests-v1-Response-mPayload( a_obj_notificationsubsection = [ eZmaxApi.models.custom_notificationsubsectiongetnotificationtests_response.Custom-Notificationsubsectiongetnotificationtests-Response() @@ -43,6 +52,14 @@ def make_instance(self, include_optional) -> NotificationsectionGetNotificationt ) else: return NotificationsectionGetNotificationtestsV1Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), m_payload = eZmaxApi.models.notificationsection_get_notificationtests_v1_response_m_payload.notificationsection-getNotificationtests-v1-Response-mPayload( a_obj_notificationsubsection = [ eZmaxApi.models.custom_notificationsubsectiongetnotificationtests_response.Custom-Notificationsubsectiongetnotificationtests-Response() diff --git a/test/test_notificationtest_get_elements_v1_response.py b/test/test_notificationtest_get_elements_v1_response.py index d32f19237..78ce96dda 100644 --- a/test/test_notificationtest_get_elements_v1_response.py +++ b/test/test_notificationtest_get_elements_v1_response.py @@ -36,6 +36,15 @@ def make_instance(self, include_optional) -> NotificationtestGetElementsV1Respon model = NotificationtestGetElementsV1Response() if include_optional: return NotificationtestGetElementsV1Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), + obj_debug = {"sMemoryUsage":"11,923MB","sRunTime":"0.6084s","iSQLSelects":3,"iSQLQueries":6,"a_objSQLQuery":[{"sQuery":"SELECT * FROM table","fDuration":1.0E-4},{"sQuery":"SELECT * FROM table","fDuration":1.0E-4}]}, m_payload = eZmaxApi.models.notificationtest_get_elements_v1_response_m_payload.notificationtest-getElements-v1-Response-mPayload( pki_notificationtest_id = 14, s_notificationtest_function = 'Default', @@ -48,6 +57,14 @@ def make_instance(self, include_optional) -> NotificationtestGetElementsV1Respon ) else: return NotificationtestGetElementsV1Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), m_payload = eZmaxApi.models.notificationtest_get_elements_v1_response_m_payload.notificationtest-getElements-v1-Response-mPayload( pki_notificationtest_id = 14, s_notificationtest_function = 'Default', diff --git a/test/test_otherincome_get_communication_count_v1_response.py b/test/test_otherincome_get_communication_count_v1_response.py index 95a563464..45424b281 100644 --- a/test/test_otherincome_get_communication_count_v1_response.py +++ b/test/test_otherincome_get_communication_count_v1_response.py @@ -36,11 +36,28 @@ def make_instance(self, include_optional) -> OtherincomeGetCommunicationCountV1R model = OtherincomeGetCommunicationCountV1Response() if include_optional: return OtherincomeGetCommunicationCountV1Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), + obj_debug = {"sMemoryUsage":"11,923MB","sRunTime":"0.6084s","iSQLSelects":3,"iSQLQueries":6,"a_objSQLQuery":[{"sQuery":"SELECT * FROM table","fDuration":1.0E-4},{"sQuery":"SELECT * FROM table","fDuration":1.0E-4}]}, m_payload = eZmaxApi.models.otherincome_get_communication_count_v1_response_m_payload.otherincome-getCommunicationCount-v1-Response-mPayload( i_communication_count = 8, ) ) else: return OtherincomeGetCommunicationCountV1Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), m_payload = eZmaxApi.models.otherincome_get_communication_count_v1_response_m_payload.otherincome-getCommunicationCount-v1-Response-mPayload( i_communication_count = 8, ), ) diff --git a/test/test_otherincome_get_communication_list_v1_response.py b/test/test_otherincome_get_communication_list_v1_response.py index 643655588..39ee442f3 100644 --- a/test/test_otherincome_get_communication_list_v1_response.py +++ b/test/test_otherincome_get_communication_list_v1_response.py @@ -36,6 +36,8 @@ def make_instance(self, include_optional) -> OtherincomeGetCommunicationListV1Re model = OtherincomeGetCommunicationListV1Response() 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( a_obj_communication = [ eZmaxApi.models.custom_communication_list_element_response.Custom-CommunicationListElement-Response( @@ -52,6 +54,7 @@ def make_instance(self, include_optional) -> OtherincomeGetCommunicationListV1Re ) 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( a_obj_communication = [ eZmaxApi.models.custom_communication_list_element_response.Custom-CommunicationListElement-Response( diff --git a/test/test_otherincome_get_communicationrecipients_v1_response.py b/test/test_otherincome_get_communicationrecipients_v1_response.py index 829f9e8e0..f3fecf473 100644 --- a/test/test_otherincome_get_communicationrecipients_v1_response.py +++ b/test/test_otherincome_get_communicationrecipients_v1_response.py @@ -36,6 +36,15 @@ def make_instance(self, include_optional) -> OtherincomeGetCommunicationrecipien model = OtherincomeGetCommunicationrecipientsV1Response() if include_optional: return OtherincomeGetCommunicationrecipientsV1Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), + obj_debug = {"sMemoryUsage":"11,923MB","sRunTime":"0.6084s","iSQLSelects":3,"iSQLQueries":6,"a_objSQLQuery":[{"sQuery":"SELECT * FROM table","fDuration":1.0E-4},{"sQuery":"SELECT * FROM table","fDuration":1.0E-4}]}, m_payload = eZmaxApi.models.otherincome_get_communicationrecipients_v1_response_m_payload.otherincome-getCommunicationrecipients-v1-Response-mPayload( a_obj_communicationrecipientsgroup = [ eZmaxApi.models.custom_communicationrecipientsgroup_response.Custom-Communicationrecipientsgroup-Response( @@ -70,6 +79,14 @@ def make_instance(self, include_optional) -> OtherincomeGetCommunicationrecipien ) else: return OtherincomeGetCommunicationrecipientsV1Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), m_payload = eZmaxApi.models.otherincome_get_communicationrecipients_v1_response_m_payload.otherincome-getCommunicationrecipients-v1-Response-mPayload( a_obj_communicationrecipientsgroup = [ eZmaxApi.models.custom_communicationrecipientsgroup_response.Custom-Communicationrecipientsgroup-Response( diff --git a/test/test_otherincome_get_communicationsenders_v1_response.py b/test/test_otherincome_get_communicationsenders_v1_response.py index 16de6d44f..09f987587 100644 --- a/test/test_otherincome_get_communicationsenders_v1_response.py +++ b/test/test_otherincome_get_communicationsenders_v1_response.py @@ -36,6 +36,15 @@ def make_instance(self, include_optional) -> OtherincomeGetCommunicationsendersV model = OtherincomeGetCommunicationsendersV1Response() if include_optional: return OtherincomeGetCommunicationsendersV1Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), + obj_debug = {"sMemoryUsage":"11,923MB","sRunTime":"0.6084s","iSQLSelects":3,"iSQLQueries":6,"a_objSQLQuery":[{"sQuery":"SELECT * FROM table","fDuration":1.0E-4},{"sQuery":"SELECT * FROM table","fDuration":1.0E-4}]}, m_payload = eZmaxApi.models.otherincome_get_communicationsenders_v1_response_m_payload.otherincome-getCommunicationsenders-v1-Response-mPayload( a_obj_communicationsenders = [ eZmaxApi.models.custom_communicationsender_response.Custom-Communicationsender-Response( @@ -56,6 +65,14 @@ def make_instance(self, include_optional) -> OtherincomeGetCommunicationsendersV ) else: return OtherincomeGetCommunicationsendersV1Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), m_payload = eZmaxApi.models.otherincome_get_communicationsenders_v1_response_m_payload.otherincome-getCommunicationsenders-v1-Response-mPayload( a_obj_communicationsenders = [ eZmaxApi.models.custom_communicationsender_response.Custom-Communicationsender-Response( diff --git a/test/test_paymentterm_create_object_v1_response.py b/test/test_paymentterm_create_object_v1_response.py index 9b85003b8..01a895ec9 100644 --- a/test/test_paymentterm_create_object_v1_response.py +++ b/test/test_paymentterm_create_object_v1_response.py @@ -36,6 +36,15 @@ def make_instance(self, include_optional) -> PaymenttermCreateObjectV1Response: model = PaymenttermCreateObjectV1Response() if include_optional: return PaymenttermCreateObjectV1Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), + obj_debug = {"sMemoryUsage":"11,923MB","sRunTime":"0.6084s","iSQLSelects":3,"iSQLQueries":6,"a_objSQLQuery":[{"sQuery":"SELECT * FROM table","fDuration":1.0E-4},{"sQuery":"SELECT * FROM table","fDuration":1.0E-4}]}, m_payload = eZmaxApi.models.paymentterm_create_object_v1_response_m_payload.paymentterm-createObject-v1-Response-mPayload( a_pki_paymentterm_id = [ 46 @@ -43,6 +52,14 @@ def make_instance(self, include_optional) -> PaymenttermCreateObjectV1Response: ) else: return PaymenttermCreateObjectV1Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), m_payload = eZmaxApi.models.paymentterm_create_object_v1_response_m_payload.paymentterm-createObject-v1-Response-mPayload( a_pki_paymentterm_id = [ 46 diff --git a/test/test_paymentterm_edit_object_v1_response.py b/test/test_paymentterm_edit_object_v1_response.py index 303c27718..bef191027 100644 --- a/test/test_paymentterm_edit_object_v1_response.py +++ b/test/test_paymentterm_edit_object_v1_response.py @@ -36,9 +36,26 @@ def make_instance(self, include_optional) -> PaymenttermEditObjectV1Response: model = PaymenttermEditObjectV1Response() if include_optional: return PaymenttermEditObjectV1Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), + obj_debug = {"sMemoryUsage":"11,923MB","sRunTime":"0.6084s","iSQLSelects":3,"iSQLQueries":6,"a_objSQLQuery":[{"sQuery":"SELECT * FROM table","fDuration":1.0E-4},{"sQuery":"SELECT * FROM table","fDuration":1.0E-4}]} ) else: return PaymenttermEditObjectV1Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), ) """ diff --git a/test/test_paymentterm_get_autocomplete_v2_response.py b/test/test_paymentterm_get_autocomplete_v2_response.py index 287fea550..2e96be8e4 100644 --- a/test/test_paymentterm_get_autocomplete_v2_response.py +++ b/test/test_paymentterm_get_autocomplete_v2_response.py @@ -36,6 +36,15 @@ def make_instance(self, include_optional) -> PaymenttermGetAutocompleteV2Respons model = PaymenttermGetAutocompleteV2Response() if include_optional: return PaymenttermGetAutocompleteV2Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), + obj_debug = {"sMemoryUsage":"11,923MB","sRunTime":"0.6084s","iSQLSelects":3,"iSQLQueries":6,"a_objSQLQuery":[{"sQuery":"SELECT * FROM table","fDuration":1.0E-4},{"sQuery":"SELECT * FROM table","fDuration":1.0E-4}]}, m_payload = eZmaxApi.models.paymentterm_get_autocomplete_v2_response_m_payload.paymentterm-getAutocomplete-v2-Response-mPayload( a_obj_paymentterm = [ eZmaxApi.models.paymentterm_autocomplete_element_response.paymentterm-AutocompleteElement-Response( @@ -46,6 +55,14 @@ def make_instance(self, include_optional) -> PaymenttermGetAutocompleteV2Respons ) else: return PaymenttermGetAutocompleteV2Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), m_payload = eZmaxApi.models.paymentterm_get_autocomplete_v2_response_m_payload.paymentterm-getAutocomplete-v2-Response-mPayload( a_obj_paymentterm = [ eZmaxApi.models.paymentterm_autocomplete_element_response.paymentterm-AutocompleteElement-Response( diff --git a/test/test_paymentterm_get_list_v1_response.py b/test/test_paymentterm_get_list_v1_response.py index 930d645af..a974bb11a 100644 --- a/test/test_paymentterm_get_list_v1_response.py +++ b/test/test_paymentterm_get_list_v1_response.py @@ -36,10 +36,13 @@ def make_instance(self, include_optional) -> PaymenttermGetListV1Response: model = PaymenttermGetListV1Response() if include_optional: return PaymenttermGetListV1Response( + 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.paymentterm_get_list_v1_response_m_payload.paymentterm-getList-v1-Response-mPayload() ) else: return PaymenttermGetListV1Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload_get_list.Common-Response-objDebugPayload_getList(), m_payload = eZmaxApi.models.paymentterm_get_list_v1_response_m_payload.paymentterm-getList-v1-Response-mPayload(), ) """ diff --git a/test/test_paymentterm_get_list_v1_response_m_payload.py b/test/test_paymentterm_get_list_v1_response_m_payload.py index 2980b7cee..abd97577b 100644 --- a/test/test_paymentterm_get_list_v1_response_m_payload.py +++ b/test/test_paymentterm_get_list_v1_response_m_payload.py @@ -36,6 +36,8 @@ def make_instance(self, include_optional) -> PaymenttermGetListV1ResponseMPayloa model = PaymenttermGetListV1ResponseMPayload() if include_optional: return PaymenttermGetListV1ResponseMPayload( + i_row_returned = 100, + i_row_filtered = 533, a_obj_paymentterm = [ eZmaxApi.models.paymentterm_list_element.paymentterm-ListElement( pki_paymentterm_id = 46, @@ -48,6 +50,8 @@ def make_instance(self, include_optional) -> PaymenttermGetListV1ResponseMPayloa ) else: return PaymenttermGetListV1ResponseMPayload( + i_row_returned = 100, + i_row_filtered = 533, a_obj_paymentterm = [ eZmaxApi.models.paymentterm_list_element.paymentterm-ListElement( pki_paymentterm_id = 46, diff --git a/test/test_paymentterm_get_object_v2_response.py b/test/test_paymentterm_get_object_v2_response.py index 5793e4fb2..3a6558b58 100644 --- a/test/test_paymentterm_get_object_v2_response.py +++ b/test/test_paymentterm_get_object_v2_response.py @@ -36,11 +36,28 @@ def make_instance(self, include_optional) -> PaymenttermGetObjectV2Response: model = PaymenttermGetObjectV2Response() if include_optional: return PaymenttermGetObjectV2Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), + obj_debug = {"sMemoryUsage":"11,923MB","sRunTime":"0.6084s","iSQLSelects":3,"iSQLQueries":6,"a_objSQLQuery":[{"sQuery":"SELECT * FROM table","fDuration":1.0E-4},{"sQuery":"SELECT * FROM table","fDuration":1.0E-4}]}, m_payload = eZmaxApi.models.paymentterm_get_object_v2_response_m_payload.paymentterm-getObject-v2-Response-mPayload( obj_paymentterm = eZmaxApi.models.paymentterm_response_compound.paymentterm-ResponseCompound(), ) ) else: return PaymenttermGetObjectV2Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), m_payload = eZmaxApi.models.paymentterm_get_object_v2_response_m_payload.paymentterm-getObject-v2-Response-mPayload( obj_paymentterm = eZmaxApi.models.paymentterm_response_compound.paymentterm-ResponseCompound(), ), ) diff --git a/test/test_paymentterm_request_compound.py b/test/test_paymentterm_request_compound.py index 19c038a07..3c7a451ce 100644 --- a/test/test_paymentterm_request_compound.py +++ b/test/test_paymentterm_request_compound.py @@ -36,9 +36,24 @@ def make_instance(self, include_optional) -> PaymenttermRequestCompound: model = PaymenttermRequestCompound() if include_optional: return PaymenttermRequestCompound( + pki_paymentterm_id = 46, + s_paymentterm_code = '0030', + e_paymentterm_type = 'Days', + i_paymentterm_day = 30, + obj_paymentterm_description = eZmaxApi.models.multilingual_paymentterm_description.Multilingual-PaymenttermDescription( + s_paymentterm_description1 = 'Net 30 jours', + s_paymentterm_description2 = 'Net 30 days', ), + b_paymentterm_isactive = True ) else: return PaymenttermRequestCompound( + s_paymentterm_code = '0030', + e_paymentterm_type = 'Days', + i_paymentterm_day = 30, + obj_paymentterm_description = eZmaxApi.models.multilingual_paymentterm_description.Multilingual-PaymenttermDescription( + s_paymentterm_description1 = 'Net 30 jours', + s_paymentterm_description2 = 'Net 30 days', ), + b_paymentterm_isactive = True, ) """ diff --git a/test/test_paymentterm_response_compound.py b/test/test_paymentterm_response_compound.py index b79f7c9d7..da543aabe 100644 --- a/test/test_paymentterm_response_compound.py +++ b/test/test_paymentterm_response_compound.py @@ -36,9 +36,59 @@ def make_instance(self, include_optional) -> PaymenttermResponseCompound: model = PaymenttermResponseCompound() if include_optional: return PaymenttermResponseCompound( + pki_paymentterm_id = 46, + s_paymentterm_code = '0030', + e_paymentterm_type = 'Days', + i_paymentterm_day = 30, + obj_paymentterm_description = eZmaxApi.models.multilingual_paymentterm_description.Multilingual-PaymenttermDescription( + s_paymentterm_description1 = 'Net 30 jours', + s_paymentterm_description2 = 'Net 30 days', ), + b_paymentterm_isactive = True, + obj_audit = eZmaxApi.models.common_audit.Common-Audit( + obj_auditdetail_created = eZmaxApi.models.common_auditdetail.Common-Auditdetail( + fki_user_id = 70, + fki_apikey_id = 99, + s_user_loginname = 'JohnDoe', + s_user_lastname = 'Doe', + s_user_firstname = 'John', + s_apikey_description_x = 'Project X', + dt_auditdetail_date = '2020-12-31 23:59:59', ), + obj_auditdetail_modified = eZmaxApi.models.common_auditdetail.Common-Auditdetail( + fki_user_id = 70, + fki_apikey_id = 99, + s_user_loginname = 'JohnDoe', + s_user_lastname = 'Doe', + s_user_firstname = 'John', + s_apikey_description_x = 'Project X', + dt_auditdetail_date = '2020-12-31 23:59:59', ), ) ) else: return PaymenttermResponseCompound( + pki_paymentterm_id = 46, + s_paymentterm_code = '0030', + e_paymentterm_type = 'Days', + i_paymentterm_day = 30, + obj_paymentterm_description = eZmaxApi.models.multilingual_paymentterm_description.Multilingual-PaymenttermDescription( + s_paymentterm_description1 = 'Net 30 jours', + s_paymentterm_description2 = 'Net 30 days', ), + b_paymentterm_isactive = True, + obj_audit = eZmaxApi.models.common_audit.Common-Audit( + obj_auditdetail_created = eZmaxApi.models.common_auditdetail.Common-Auditdetail( + fki_user_id = 70, + fki_apikey_id = 99, + s_user_loginname = 'JohnDoe', + s_user_lastname = 'Doe', + s_user_firstname = 'John', + s_apikey_description_x = 'Project X', + dt_auditdetail_date = '2020-12-31 23:59:59', ), + obj_auditdetail_modified = eZmaxApi.models.common_auditdetail.Common-Auditdetail( + fki_user_id = 70, + fki_apikey_id = 99, + s_user_loginname = 'JohnDoe', + s_user_lastname = 'Doe', + s_user_firstname = 'John', + s_apikey_description_x = 'Project X', + dt_auditdetail_date = '2020-12-31 23:59:59', ), ), ) """ diff --git a/test/test_pdfalevel_get_autocomplete_v2_response.py b/test/test_pdfalevel_get_autocomplete_v2_response.py index aaeecc081..3250b5cd4 100644 --- a/test/test_pdfalevel_get_autocomplete_v2_response.py +++ b/test/test_pdfalevel_get_autocomplete_v2_response.py @@ -36,6 +36,15 @@ def make_instance(self, include_optional) -> PdfalevelGetAutocompleteV2Response: model = PdfalevelGetAutocompleteV2Response() if include_optional: return PdfalevelGetAutocompleteV2Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), + obj_debug = {"sMemoryUsage":"11,923MB","sRunTime":"0.6084s","iSQLSelects":3,"iSQLQueries":6,"a_objSQLQuery":[{"sQuery":"SELECT * FROM table","fDuration":1.0E-4},{"sQuery":"SELECT * FROM table","fDuration":1.0E-4}]}, m_payload = eZmaxApi.models.pdfalevel_get_autocomplete_v2_response_m_payload.pdfalevel-getAutocomplete-v2-Response-mPayload( a_obj_pdfalevel = [ eZmaxApi.models.pdfalevel_autocomplete_element_response.pdfalevel-AutocompleteElement-Response( @@ -46,6 +55,14 @@ def make_instance(self, include_optional) -> PdfalevelGetAutocompleteV2Response: ) else: return PdfalevelGetAutocompleteV2Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), m_payload = eZmaxApi.models.pdfalevel_get_autocomplete_v2_response_m_payload.pdfalevel-getAutocomplete-v2-Response-mPayload( a_obj_pdfalevel = [ eZmaxApi.models.pdfalevel_autocomplete_element_response.pdfalevel-AutocompleteElement-Response( diff --git a/test/test_period_get_autocomplete_v2_response.py b/test/test_period_get_autocomplete_v2_response.py index 8b4011188..4c1c6aefe 100644 --- a/test/test_period_get_autocomplete_v2_response.py +++ b/test/test_period_get_autocomplete_v2_response.py @@ -36,6 +36,15 @@ def make_instance(self, include_optional) -> PeriodGetAutocompleteV2Response: model = PeriodGetAutocompleteV2Response() if include_optional: return PeriodGetAutocompleteV2Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), + obj_debug = {"sMemoryUsage":"11,923MB","sRunTime":"0.6084s","iSQLSelects":3,"iSQLQueries":6,"a_objSQLQuery":[{"sQuery":"SELECT * FROM table","fDuration":1.0E-4},{"sQuery":"SELECT * FROM table","fDuration":1.0E-4}]}, m_payload = eZmaxApi.models.period_get_autocomplete_v2_response_m_payload.period-getAutocomplete-v2-Response-mPayload( a_obj_period = [ eZmaxApi.models.period_autocomplete_element_response.period-AutocompleteElement-Response( @@ -46,6 +55,14 @@ def make_instance(self, include_optional) -> PeriodGetAutocompleteV2Response: ) else: return PeriodGetAutocompleteV2Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), m_payload = eZmaxApi.models.period_get_autocomplete_v2_response_m_payload.period-getAutocomplete-v2-Response-mPayload( a_obj_period = [ eZmaxApi.models.period_autocomplete_element_response.period-AutocompleteElement-Response( diff --git a/test/test_permission_create_object_v1_response.py b/test/test_permission_create_object_v1_response.py index b156d18cb..7743ecb50 100644 --- a/test/test_permission_create_object_v1_response.py +++ b/test/test_permission_create_object_v1_response.py @@ -36,6 +36,15 @@ def make_instance(self, include_optional) -> PermissionCreateObjectV1Response: model = PermissionCreateObjectV1Response() if include_optional: return PermissionCreateObjectV1Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), + obj_debug = {"sMemoryUsage":"11,923MB","sRunTime":"0.6084s","iSQLSelects":3,"iSQLQueries":6,"a_objSQLQuery":[{"sQuery":"SELECT * FROM table","fDuration":1.0E-4},{"sQuery":"SELECT * FROM table","fDuration":1.0E-4}]}, m_payload = eZmaxApi.models.permission_create_object_v1_response_m_payload.permission-createObject-v1-Response-mPayload( a_pki_permission_id = [ 31 @@ -43,6 +52,14 @@ def make_instance(self, include_optional) -> PermissionCreateObjectV1Response: ) else: return PermissionCreateObjectV1Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), m_payload = eZmaxApi.models.permission_create_object_v1_response_m_payload.permission-createObject-v1-Response-mPayload( a_pki_permission_id = [ 31 diff --git a/test/test_permission_delete_object_v1_response.py b/test/test_permission_delete_object_v1_response.py index a65a13530..2a6f0ad34 100644 --- a/test/test_permission_delete_object_v1_response.py +++ b/test/test_permission_delete_object_v1_response.py @@ -36,9 +36,26 @@ def make_instance(self, include_optional) -> PermissionDeleteObjectV1Response: model = PermissionDeleteObjectV1Response() if include_optional: return PermissionDeleteObjectV1Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), + obj_debug = {"sMemoryUsage":"11,923MB","sRunTime":"0.6084s","iSQLSelects":3,"iSQLQueries":6,"a_objSQLQuery":[{"sQuery":"SELECT * FROM table","fDuration":1.0E-4},{"sQuery":"SELECT * FROM table","fDuration":1.0E-4}]} ) else: return PermissionDeleteObjectV1Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), ) """ diff --git a/test/test_permission_edit_object_v1_request.py b/test/test_permission_edit_object_v1_request.py index 9ad19d983..2dfcb5c33 100644 --- a/test/test_permission_edit_object_v1_request.py +++ b/test/test_permission_edit_object_v1_request.py @@ -36,23 +36,11 @@ def make_instance(self, include_optional) -> PermissionEditObjectV1Request: model = PermissionEditObjectV1Request() if include_optional: return PermissionEditObjectV1Request( - obj_permission = eZmaxApi.models.permission_request.permission-Request( - pki_permission_id = 31, - fki_user_id = 70, - fki_apikey_id = 99, - fki_usergroup_id = 2, - fki_company_id = 1, - fki_modulesection_id = 53, ) + obj_permission = eZmaxApi.models.permission_request_compound.permission-RequestCompound() ) else: return PermissionEditObjectV1Request( - obj_permission = eZmaxApi.models.permission_request.permission-Request( - pki_permission_id = 31, - fki_user_id = 70, - fki_apikey_id = 99, - fki_usergroup_id = 2, - fki_company_id = 1, - fki_modulesection_id = 53, ), + obj_permission = eZmaxApi.models.permission_request_compound.permission-RequestCompound(), ) """ diff --git a/test/test_permission_edit_object_v1_response.py b/test/test_permission_edit_object_v1_response.py index 426a849a4..cae609c51 100644 --- a/test/test_permission_edit_object_v1_response.py +++ b/test/test_permission_edit_object_v1_response.py @@ -36,9 +36,26 @@ def make_instance(self, include_optional) -> PermissionEditObjectV1Response: model = PermissionEditObjectV1Response() if include_optional: return PermissionEditObjectV1Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), + obj_debug = {"sMemoryUsage":"11,923MB","sRunTime":"0.6084s","iSQLSelects":3,"iSQLQueries":6,"a_objSQLQuery":[{"sQuery":"SELECT * FROM table","fDuration":1.0E-4},{"sQuery":"SELECT * FROM table","fDuration":1.0E-4}]} ) else: return PermissionEditObjectV1Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), ) """ diff --git a/test/test_permission_get_object_v2_response.py b/test/test_permission_get_object_v2_response.py index 0204f953f..fba6c735c 100644 --- a/test/test_permission_get_object_v2_response.py +++ b/test/test_permission_get_object_v2_response.py @@ -36,11 +36,28 @@ def make_instance(self, include_optional) -> PermissionGetObjectV2Response: model = PermissionGetObjectV2Response() if include_optional: return PermissionGetObjectV2Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), + obj_debug = {"sMemoryUsage":"11,923MB","sRunTime":"0.6084s","iSQLSelects":3,"iSQLQueries":6,"a_objSQLQuery":[{"sQuery":"SELECT * FROM table","fDuration":1.0E-4},{"sQuery":"SELECT * FROM table","fDuration":1.0E-4}]}, m_payload = eZmaxApi.models.permission_get_object_v2_response_m_payload.permission-getObject-v2-Response-mPayload( obj_permission = eZmaxApi.models.permission_response_compound.permission-ResponseCompound(), ) ) else: return PermissionGetObjectV2Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), m_payload = eZmaxApi.models.permission_get_object_v2_response_m_payload.permission-getObject-v2-Response-mPayload( obj_permission = eZmaxApi.models.permission_response_compound.permission-ResponseCompound(), ), ) diff --git a/test/test_permission_get_object_v2_response_m_payload.py b/test/test_permission_get_object_v2_response_m_payload.py index 961b71467..c6c3b1889 100644 --- a/test/test_permission_get_object_v2_response_m_payload.py +++ b/test/test_permission_get_object_v2_response_m_payload.py @@ -36,25 +36,11 @@ def make_instance(self, include_optional) -> PermissionGetObjectV2ResponseMPaylo model = PermissionGetObjectV2ResponseMPayload() if include_optional: return PermissionGetObjectV2ResponseMPayload( - obj_permission = eZmaxApi.models.permission_response.permission-Response( - pki_permission_id = 31, - fki_user_id = 70, - fki_apikey_id = 99, - fki_usergroup_id = 2, - fki_company_id = 1, - fki_modulesection_id = 53, - s_company_name_x = 'Acme inc.', ) + obj_permission = eZmaxApi.models.permission_response_compound.permission-ResponseCompound() ) else: return PermissionGetObjectV2ResponseMPayload( - obj_permission = eZmaxApi.models.permission_response.permission-Response( - pki_permission_id = 31, - fki_user_id = 70, - fki_apikey_id = 99, - fki_usergroup_id = 2, - fki_company_id = 1, - fki_modulesection_id = 53, - s_company_name_x = 'Acme inc.', ), + obj_permission = eZmaxApi.models.permission_response_compound.permission-ResponseCompound(), ) """ diff --git a/test/test_phone_response_compound.py b/test/test_phone_response_compound.py index e7b864ae4..78982dbad 100644 --- a/test/test_phone_response_compound.py +++ b/test/test_phone_response_compound.py @@ -36,10 +36,17 @@ def make_instance(self, include_optional) -> PhoneResponseCompound: model = PhoneResponseCompound() if include_optional: return PhoneResponseCompound( + pki_phone_id = 1, + fki_phonetype_id = 1, + e_phone_type = 'Local', + s_phone_e164 = '+15149901516', + s_phone_extension = '123', b_phone_international = True ) else: return PhoneResponseCompound( + pki_phone_id = 1, + fki_phonetype_id = 1, ) """ diff --git a/test/test_phonetype_get_autocomplete_v2_response.py b/test/test_phonetype_get_autocomplete_v2_response.py index 1032ea204..99aa7370b 100644 --- a/test/test_phonetype_get_autocomplete_v2_response.py +++ b/test/test_phonetype_get_autocomplete_v2_response.py @@ -36,6 +36,15 @@ def make_instance(self, include_optional) -> PhonetypeGetAutocompleteV2Response: model = PhonetypeGetAutocompleteV2Response() if include_optional: return PhonetypeGetAutocompleteV2Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), + obj_debug = {"sMemoryUsage":"11,923MB","sRunTime":"0.6084s","iSQLSelects":3,"iSQLQueries":6,"a_objSQLQuery":[{"sQuery":"SELECT * FROM table","fDuration":1.0E-4},{"sQuery":"SELECT * FROM table","fDuration":1.0E-4}]}, m_payload = eZmaxApi.models.phonetype_get_autocomplete_v2_response_m_payload.phonetype-getAutocomplete-v2-Response-mPayload( a_obj_phonetype = [ eZmaxApi.models.phonetype_autocomplete_element_response.phonetype-AutocompleteElement-Response( @@ -46,6 +55,14 @@ def make_instance(self, include_optional) -> PhonetypeGetAutocompleteV2Response: ) else: return PhonetypeGetAutocompleteV2Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), m_payload = eZmaxApi.models.phonetype_get_autocomplete_v2_response_m_payload.phonetype-getAutocomplete-v2-Response-mPayload( a_obj_phonetype = [ eZmaxApi.models.phonetype_autocomplete_element_response.phonetype-AutocompleteElement-Response( diff --git a/test/test_province_get_autocomplete_v2_response.py b/test/test_province_get_autocomplete_v2_response.py index 4c4206952..938fc1816 100644 --- a/test/test_province_get_autocomplete_v2_response.py +++ b/test/test_province_get_autocomplete_v2_response.py @@ -36,6 +36,15 @@ def make_instance(self, include_optional) -> ProvinceGetAutocompleteV2Response: model = ProvinceGetAutocompleteV2Response() if include_optional: return ProvinceGetAutocompleteV2Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), + obj_debug = {"sMemoryUsage":"11,923MB","sRunTime":"0.6084s","iSQLSelects":3,"iSQLQueries":6,"a_objSQLQuery":[{"sQuery":"SELECT * FROM table","fDuration":1.0E-4},{"sQuery":"SELECT * FROM table","fDuration":1.0E-4}]}, m_payload = eZmaxApi.models.province_get_autocomplete_v2_response_m_payload.province-getAutocomplete-v2-Response-mPayload( a_obj_province = [ eZmaxApi.models.province_autocomplete_element_response.province-AutocompleteElement-Response( @@ -48,6 +57,14 @@ def make_instance(self, include_optional) -> ProvinceGetAutocompleteV2Response: ) else: return ProvinceGetAutocompleteV2Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), m_payload = eZmaxApi.models.province_get_autocomplete_v2_response_m_payload.province-getAutocomplete-v2-Response-mPayload( a_obj_province = [ eZmaxApi.models.province_autocomplete_element_response.province-AutocompleteElement-Response( diff --git a/test/test_rejectedoffertopurchase_get_communication_count_v1_response.py b/test/test_rejectedoffertopurchase_get_communication_count_v1_response.py index d05061c90..c5ee43d3a 100644 --- a/test/test_rejectedoffertopurchase_get_communication_count_v1_response.py +++ b/test/test_rejectedoffertopurchase_get_communication_count_v1_response.py @@ -36,11 +36,28 @@ def make_instance(self, include_optional) -> RejectedoffertopurchaseGetCommunica model = RejectedoffertopurchaseGetCommunicationCountV1Response() if include_optional: return RejectedoffertopurchaseGetCommunicationCountV1Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), + obj_debug = {"sMemoryUsage":"11,923MB","sRunTime":"0.6084s","iSQLSelects":3,"iSQLQueries":6,"a_objSQLQuery":[{"sQuery":"SELECT * FROM table","fDuration":1.0E-4},{"sQuery":"SELECT * FROM table","fDuration":1.0E-4}]}, m_payload = eZmaxApi.models.rejectedoffertopurchase_get_communication_count_v1_response_m_payload.rejectedoffertopurchase-getCommunicationCount-v1-Response-mPayload( i_communication_count = 8, ) ) else: return RejectedoffertopurchaseGetCommunicationCountV1Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), m_payload = eZmaxApi.models.rejectedoffertopurchase_get_communication_count_v1_response_m_payload.rejectedoffertopurchase-getCommunicationCount-v1-Response-mPayload( i_communication_count = 8, ), ) diff --git a/test/test_rejectedoffertopurchase_get_communication_list_v1_response.py b/test/test_rejectedoffertopurchase_get_communication_list_v1_response.py index 3fb506fb4..15a2ff645 100644 --- a/test/test_rejectedoffertopurchase_get_communication_list_v1_response.py +++ b/test/test_rejectedoffertopurchase_get_communication_list_v1_response.py @@ -36,6 +36,8 @@ def make_instance(self, include_optional) -> RejectedoffertopurchaseGetCommunica model = RejectedoffertopurchaseGetCommunicationListV1Response() 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( a_obj_communication = [ eZmaxApi.models.custom_communication_list_element_response.Custom-CommunicationListElement-Response( @@ -52,6 +54,7 @@ def make_instance(self, include_optional) -> RejectedoffertopurchaseGetCommunica ) 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( a_obj_communication = [ eZmaxApi.models.custom_communication_list_element_response.Custom-CommunicationListElement-Response( diff --git a/test/test_rejectedoffertopurchase_get_communicationrecipients_v1_response.py b/test/test_rejectedoffertopurchase_get_communicationrecipients_v1_response.py index abedce823..b5bab2c9b 100644 --- a/test/test_rejectedoffertopurchase_get_communicationrecipients_v1_response.py +++ b/test/test_rejectedoffertopurchase_get_communicationrecipients_v1_response.py @@ -36,6 +36,15 @@ def make_instance(self, include_optional) -> RejectedoffertopurchaseGetCommunica model = RejectedoffertopurchaseGetCommunicationrecipientsV1Response() if include_optional: return RejectedoffertopurchaseGetCommunicationrecipientsV1Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), + obj_debug = {"sMemoryUsage":"11,923MB","sRunTime":"0.6084s","iSQLSelects":3,"iSQLQueries":6,"a_objSQLQuery":[{"sQuery":"SELECT * FROM table","fDuration":1.0E-4},{"sQuery":"SELECT * FROM table","fDuration":1.0E-4}]}, m_payload = eZmaxApi.models.rejectedoffertopurchase_get_communicationrecipients_v1_response_m_payload.rejectedoffertopurchase-getCommunicationrecipients-v1-Response-mPayload( a_obj_communicationrecipientsgroup = [ eZmaxApi.models.custom_communicationrecipientsgroup_response.Custom-Communicationrecipientsgroup-Response( @@ -70,6 +79,14 @@ def make_instance(self, include_optional) -> RejectedoffertopurchaseGetCommunica ) else: return RejectedoffertopurchaseGetCommunicationrecipientsV1Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), m_payload = eZmaxApi.models.rejectedoffertopurchase_get_communicationrecipients_v1_response_m_payload.rejectedoffertopurchase-getCommunicationrecipients-v1-Response-mPayload( a_obj_communicationrecipientsgroup = [ eZmaxApi.models.custom_communicationrecipientsgroup_response.Custom-Communicationrecipientsgroup-Response( diff --git a/test/test_rejectedoffertopurchase_get_communicationsenders_v1_response.py b/test/test_rejectedoffertopurchase_get_communicationsenders_v1_response.py index 87f7f9278..2ac97a2b4 100644 --- a/test/test_rejectedoffertopurchase_get_communicationsenders_v1_response.py +++ b/test/test_rejectedoffertopurchase_get_communicationsenders_v1_response.py @@ -36,6 +36,15 @@ def make_instance(self, include_optional) -> RejectedoffertopurchaseGetCommunica model = RejectedoffertopurchaseGetCommunicationsendersV1Response() if include_optional: return RejectedoffertopurchaseGetCommunicationsendersV1Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), + obj_debug = {"sMemoryUsage":"11,923MB","sRunTime":"0.6084s","iSQLSelects":3,"iSQLQueries":6,"a_objSQLQuery":[{"sQuery":"SELECT * FROM table","fDuration":1.0E-4},{"sQuery":"SELECT * FROM table","fDuration":1.0E-4}]}, m_payload = eZmaxApi.models.rejectedoffertopurchase_get_communicationsenders_v1_response_m_payload.rejectedoffertopurchase-getCommunicationsenders-v1-Response-mPayload( a_obj_communicationsenders = [ eZmaxApi.models.custom_communicationsender_response.Custom-Communicationsender-Response( @@ -56,6 +65,14 @@ def make_instance(self, include_optional) -> RejectedoffertopurchaseGetCommunica ) else: return RejectedoffertopurchaseGetCommunicationsendersV1Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), m_payload = eZmaxApi.models.rejectedoffertopurchase_get_communicationsenders_v1_response_m_payload.rejectedoffertopurchase-getCommunicationsenders-v1-Response-mPayload( a_obj_communicationsenders = [ eZmaxApi.models.custom_communicationsender_response.Custom-Communicationsender-Response( diff --git a/test/test_secretquestion_get_autocomplete_v2_response.py b/test/test_secretquestion_get_autocomplete_v2_response.py index 04fe53476..1d5e3c684 100644 --- a/test/test_secretquestion_get_autocomplete_v2_response.py +++ b/test/test_secretquestion_get_autocomplete_v2_response.py @@ -36,6 +36,15 @@ def make_instance(self, include_optional) -> SecretquestionGetAutocompleteV2Resp model = SecretquestionGetAutocompleteV2Response() if include_optional: return SecretquestionGetAutocompleteV2Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), + obj_debug = {"sMemoryUsage":"11,923MB","sRunTime":"0.6084s","iSQLSelects":3,"iSQLQueries":6,"a_objSQLQuery":[{"sQuery":"SELECT * FROM table","fDuration":1.0E-4},{"sQuery":"SELECT * FROM table","fDuration":1.0E-4}]}, m_payload = eZmaxApi.models.secretquestion_get_autocomplete_v2_response_m_payload.secretquestion-getAutocomplete-v2-Response-mPayload( a_obj_secretquestion = [ eZmaxApi.models.secretquestion_autocomplete_element_response.secretquestion-AutocompleteElement-Response( @@ -46,6 +55,14 @@ def make_instance(self, include_optional) -> SecretquestionGetAutocompleteV2Resp ) else: return SecretquestionGetAutocompleteV2Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), m_payload = eZmaxApi.models.secretquestion_get_autocomplete_v2_response_m_payload.secretquestion-getAutocomplete-v2-Response-mPayload( a_obj_secretquestion = [ eZmaxApi.models.secretquestion_autocomplete_element_response.secretquestion-AutocompleteElement-Response( diff --git a/test/test_sessionhistory_get_list_v1_response.py b/test/test_sessionhistory_get_list_v1_response.py index ef3155628..41450818f 100644 --- a/test/test_sessionhistory_get_list_v1_response.py +++ b/test/test_sessionhistory_get_list_v1_response.py @@ -36,10 +36,13 @@ def make_instance(self, include_optional) -> SessionhistoryGetListV1Response: model = SessionhistoryGetListV1Response() if include_optional: return SessionhistoryGetListV1Response( + 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.sessionhistory_get_list_v1_response_m_payload.sessionhistory-getList-v1-Response-mPayload() ) else: return SessionhistoryGetListV1Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload_get_list.Common-Response-objDebugPayload_getList(), m_payload = eZmaxApi.models.sessionhistory_get_list_v1_response_m_payload.sessionhistory-getList-v1-Response-mPayload(), ) """ diff --git a/test/test_sessionhistory_get_list_v1_response_m_payload.py b/test/test_sessionhistory_get_list_v1_response_m_payload.py index 07022a366..4ddec65d6 100644 --- a/test/test_sessionhistory_get_list_v1_response_m_payload.py +++ b/test/test_sessionhistory_get_list_v1_response_m_payload.py @@ -36,6 +36,8 @@ def make_instance(self, include_optional) -> SessionhistoryGetListV1ResponseMPay model = SessionhistoryGetListV1ResponseMPayload() if include_optional: return SessionhistoryGetListV1ResponseMPayload( + i_row_returned = 100, + i_row_filtered = 533, a_obj_sessionhistory = [ eZmaxApi.models.sessionhistory_list_element.sessionhistory-ListElement( pki_sessionhistory_id = 259, @@ -52,6 +54,8 @@ def make_instance(self, include_optional) -> SessionhistoryGetListV1ResponseMPay ) else: return SessionhistoryGetListV1ResponseMPayload( + i_row_returned = 100, + i_row_filtered = 533, a_obj_sessionhistory = [ eZmaxApi.models.sessionhistory_list_element.sessionhistory-ListElement( pki_sessionhistory_id = 259, diff --git a/test/test_signature_create_object_v1_response.py b/test/test_signature_create_object_v1_response.py index 1baade75e..a605f4ae4 100644 --- a/test/test_signature_create_object_v1_response.py +++ b/test/test_signature_create_object_v1_response.py @@ -36,6 +36,15 @@ def make_instance(self, include_optional) -> SignatureCreateObjectV1Response: model = SignatureCreateObjectV1Response() if include_optional: return SignatureCreateObjectV1Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), + obj_debug = {"sMemoryUsage":"11,923MB","sRunTime":"0.6084s","iSQLSelects":3,"iSQLQueries":6,"a_objSQLQuery":[{"sQuery":"SELECT * FROM table","fDuration":1.0E-4},{"sQuery":"SELECT * FROM table","fDuration":1.0E-4}]}, m_payload = eZmaxApi.models.signature_create_object_v1_response_m_payload.signature-createObject-v1-Response-mPayload( a_pki_signature_id = [ 12 @@ -43,6 +52,14 @@ def make_instance(self, include_optional) -> SignatureCreateObjectV1Response: ) else: return SignatureCreateObjectV1Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), m_payload = eZmaxApi.models.signature_create_object_v1_response_m_payload.signature-createObject-v1-Response-mPayload( a_pki_signature_id = [ 12 diff --git a/test/test_signature_delete_object_v1_response.py b/test/test_signature_delete_object_v1_response.py index 42f03f27e..16bb317a9 100644 --- a/test/test_signature_delete_object_v1_response.py +++ b/test/test_signature_delete_object_v1_response.py @@ -36,9 +36,26 @@ def make_instance(self, include_optional) -> SignatureDeleteObjectV1Response: model = SignatureDeleteObjectV1Response() if include_optional: return SignatureDeleteObjectV1Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), + obj_debug = {"sMemoryUsage":"11,923MB","sRunTime":"0.6084s","iSQLSelects":3,"iSQLQueries":6,"a_objSQLQuery":[{"sQuery":"SELECT * FROM table","fDuration":1.0E-4},{"sQuery":"SELECT * FROM table","fDuration":1.0E-4}]} ) else: return SignatureDeleteObjectV1Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), ) """ diff --git a/test/test_signature_edit_object_v1_response.py b/test/test_signature_edit_object_v1_response.py index 108ab1a21..b0aae0c89 100644 --- a/test/test_signature_edit_object_v1_response.py +++ b/test/test_signature_edit_object_v1_response.py @@ -36,9 +36,26 @@ def make_instance(self, include_optional) -> SignatureEditObjectV1Response: model = SignatureEditObjectV1Response() if include_optional: return SignatureEditObjectV1Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), + obj_debug = {"sMemoryUsage":"11,923MB","sRunTime":"0.6084s","iSQLSelects":3,"iSQLQueries":6,"a_objSQLQuery":[{"sQuery":"SELECT * FROM table","fDuration":1.0E-4},{"sQuery":"SELECT * FROM table","fDuration":1.0E-4}]} ) else: return SignatureEditObjectV1Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), ) """ diff --git a/test/test_signature_get_object_v2_response.py b/test/test_signature_get_object_v2_response.py index 9e25a4ee1..de99b7bfb 100644 --- a/test/test_signature_get_object_v2_response.py +++ b/test/test_signature_get_object_v2_response.py @@ -36,11 +36,28 @@ def make_instance(self, include_optional) -> SignatureGetObjectV2Response: model = SignatureGetObjectV2Response() if include_optional: return SignatureGetObjectV2Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), + obj_debug = {"sMemoryUsage":"11,923MB","sRunTime":"0.6084s","iSQLSelects":3,"iSQLQueries":6,"a_objSQLQuery":[{"sQuery":"SELECT * FROM table","fDuration":1.0E-4},{"sQuery":"SELECT * FROM table","fDuration":1.0E-4}]}, m_payload = eZmaxApi.models.signature_get_object_v2_response_m_payload.signature-getObject-v2-Response-mPayload( obj_signature = eZmaxApi.models.signature_response_compound.signature-ResponseCompound(), ) ) else: return SignatureGetObjectV2Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), m_payload = eZmaxApi.models.signature_get_object_v2_response_m_payload.signature-getObject-v2-Response-mPayload( obj_signature = eZmaxApi.models.signature_response_compound.signature-ResponseCompound(), ), ) diff --git a/test/test_signature_get_object_v3_response.py b/test/test_signature_get_object_v3_response.py index 7f4ac2a1d..2cd11631c 100644 --- a/test/test_signature_get_object_v3_response.py +++ b/test/test_signature_get_object_v3_response.py @@ -36,11 +36,28 @@ def make_instance(self, include_optional) -> SignatureGetObjectV3Response: model = SignatureGetObjectV3Response() if include_optional: return SignatureGetObjectV3Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), + obj_debug = {"sMemoryUsage":"11,923MB","sRunTime":"0.6084s","iSQLSelects":3,"iSQLQueries":6,"a_objSQLQuery":[{"sQuery":"SELECT * FROM table","fDuration":1.0E-4},{"sQuery":"SELECT * FROM table","fDuration":1.0E-4}]}, m_payload = eZmaxApi.models.signature_get_object_v3_response_m_payload.signature-getObject-v3-Response-mPayload( obj_signature = eZmaxApi.models.signature_response_compound_v3.signature-ResponseCompoundV3(), ) ) else: return SignatureGetObjectV3Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), m_payload = eZmaxApi.models.signature_get_object_v3_response_m_payload.signature-getObject-v3-Response-mPayload( obj_signature = eZmaxApi.models.signature_response_compound_v3.signature-ResponseCompoundV3(), ), ) diff --git a/test/test_signature_request_compound.py b/test/test_signature_request_compound.py index 8db579f02..74dfd6947 100644 --- a/test/test_signature_request_compound.py +++ b/test/test_signature_request_compound.py @@ -36,9 +36,16 @@ def make_instance(self, include_optional) -> SignatureRequestCompound: model = SignatureRequestCompound() if include_optional: return SignatureRequestCompound( + pki_signature_id = 12, + fki_font_id = 1, + e_signature_preference = 'Text', + t_signature_svg = '{"$ref":"#/components/examples/Svg/value"}', + t_signature_svginitials = '{"$ref":"#/components/examples/Svg/value"}' ) else: return SignatureRequestCompound( + fki_font_id = 1, + e_signature_preference = 'Text', ) """ diff --git a/test/test_signature_response_compound.py b/test/test_signature_response_compound.py index d24305787..7527c4233 100644 --- a/test/test_signature_response_compound.py +++ b/test/test_signature_response_compound.py @@ -36,9 +36,14 @@ def make_instance(self, include_optional) -> SignatureResponseCompound: model = SignatureResponseCompound() if include_optional: return SignatureResponseCompound( + pki_signature_id = 12, + fki_font_id = 1, + s_signature_url = 'https://www.example.com/signature.svg', + s_signature_urlinitials = 'https://www.example.com/signature.svg' ) else: return SignatureResponseCompound( + pki_signature_id = 12, ) """ diff --git a/test/test_signature_response_compound_v3.py b/test/test_signature_response_compound_v3.py index f86516b4a..bb83c5c51 100644 --- a/test/test_signature_response_compound_v3.py +++ b/test/test_signature_response_compound_v3.py @@ -36,9 +36,19 @@ def make_instance(self, include_optional) -> SignatureResponseCompoundV3: model = SignatureResponseCompoundV3() if include_optional: return SignatureResponseCompoundV3( + pki_signature_id = 12, + fki_font_id = 1, + e_signature_preference = 'Text', + b_signature_svg = False, + b_signature_svginitials = False ) else: return SignatureResponseCompoundV3( + pki_signature_id = 12, + fki_font_id = 1, + e_signature_preference = 'Text', + b_signature_svg = False, + b_signature_svginitials = False, ) """ diff --git a/test/test_subnet_create_object_v1_response.py b/test/test_subnet_create_object_v1_response.py index 345c89979..3a4f538c5 100644 --- a/test/test_subnet_create_object_v1_response.py +++ b/test/test_subnet_create_object_v1_response.py @@ -36,6 +36,15 @@ def make_instance(self, include_optional) -> SubnetCreateObjectV1Response: model = SubnetCreateObjectV1Response() if include_optional: return SubnetCreateObjectV1Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), + obj_debug = {"sMemoryUsage":"11,923MB","sRunTime":"0.6084s","iSQLSelects":3,"iSQLQueries":6,"a_objSQLQuery":[{"sQuery":"SELECT * FROM table","fDuration":1.0E-4},{"sQuery":"SELECT * FROM table","fDuration":1.0E-4}]}, m_payload = eZmaxApi.models.subnet_create_object_v1_response_m_payload.subnet-createObject-v1-Response-mPayload( a_pki_subnet_id = [ 3 @@ -43,6 +52,14 @@ def make_instance(self, include_optional) -> SubnetCreateObjectV1Response: ) else: return SubnetCreateObjectV1Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), m_payload = eZmaxApi.models.subnet_create_object_v1_response_m_payload.subnet-createObject-v1-Response-mPayload( a_pki_subnet_id = [ 3 diff --git a/test/test_subnet_delete_object_v1_response.py b/test/test_subnet_delete_object_v1_response.py index 6694500ff..b00cc9f2c 100644 --- a/test/test_subnet_delete_object_v1_response.py +++ b/test/test_subnet_delete_object_v1_response.py @@ -36,9 +36,26 @@ def make_instance(self, include_optional) -> SubnetDeleteObjectV1Response: model = SubnetDeleteObjectV1Response() if include_optional: return SubnetDeleteObjectV1Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), + obj_debug = {"sMemoryUsage":"11,923MB","sRunTime":"0.6084s","iSQLSelects":3,"iSQLQueries":6,"a_objSQLQuery":[{"sQuery":"SELECT * FROM table","fDuration":1.0E-4},{"sQuery":"SELECT * FROM table","fDuration":1.0E-4}]} ) else: return SubnetDeleteObjectV1Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), ) """ diff --git a/test/test_subnet_edit_object_v1_response.py b/test/test_subnet_edit_object_v1_response.py index be4f8ecb8..2b91e6125 100644 --- a/test/test_subnet_edit_object_v1_response.py +++ b/test/test_subnet_edit_object_v1_response.py @@ -36,9 +36,26 @@ def make_instance(self, include_optional) -> SubnetEditObjectV1Response: model = SubnetEditObjectV1Response() if include_optional: return SubnetEditObjectV1Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), + obj_debug = {"sMemoryUsage":"11,923MB","sRunTime":"0.6084s","iSQLSelects":3,"iSQLQueries":6,"a_objSQLQuery":[{"sQuery":"SELECT * FROM table","fDuration":1.0E-4},{"sQuery":"SELECT * FROM table","fDuration":1.0E-4}]} ) else: return SubnetEditObjectV1Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), ) """ diff --git a/test/test_subnet_get_object_v2_response.py b/test/test_subnet_get_object_v2_response.py index 754f06629..6d543c0d0 100644 --- a/test/test_subnet_get_object_v2_response.py +++ b/test/test_subnet_get_object_v2_response.py @@ -36,11 +36,28 @@ def make_instance(self, include_optional) -> SubnetGetObjectV2Response: model = SubnetGetObjectV2Response() if include_optional: return SubnetGetObjectV2Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), + obj_debug = {"sMemoryUsage":"11,923MB","sRunTime":"0.6084s","iSQLSelects":3,"iSQLQueries":6,"a_objSQLQuery":[{"sQuery":"SELECT * FROM table","fDuration":1.0E-4},{"sQuery":"SELECT * FROM table","fDuration":1.0E-4}]}, m_payload = eZmaxApi.models.subnet_get_object_v2_response_m_payload.subnet-getObject-v2-Response-mPayload( obj_subnet = eZmaxApi.models.subnet_response_compound.subnet-ResponseCompound(), ) ) else: return SubnetGetObjectV2Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), m_payload = eZmaxApi.models.subnet_get_object_v2_response_m_payload.subnet-getObject-v2-Response-mPayload( obj_subnet = eZmaxApi.models.subnet_response_compound.subnet-ResponseCompound(), ), ) diff --git a/test/test_subnet_request_compound.py b/test/test_subnet_request_compound.py index 3461fae14..0cd27f468 100644 --- a/test/test_subnet_request_compound.py +++ b/test/test_subnet_request_compound.py @@ -36,9 +36,22 @@ def make_instance(self, include_optional) -> SubnetRequestCompound: model = SubnetRequestCompound() if include_optional: return SubnetRequestCompound( + pki_subnet_id = 3, + fki_user_id = 70, + fki_apikey_id = 99, + obj_subnet_description = eZmaxApi.models.multilingual_subnet_description.Multilingual-SubnetDescription( + s_subnet_description1 = 'Bureau chef', + s_subnet_description2 = 'Head office', ), + i_subnet_network = 134744064, + i_subnet_mask = 4294967040 ) else: return SubnetRequestCompound( + obj_subnet_description = eZmaxApi.models.multilingual_subnet_description.Multilingual-SubnetDescription( + s_subnet_description1 = 'Bureau chef', + s_subnet_description2 = 'Head office', ), + i_subnet_network = 134744064, + i_subnet_mask = 4294967040, ) """ diff --git a/test/test_subnet_response_compound.py b/test/test_subnet_response_compound.py index dc1234f43..341edfd2a 100644 --- a/test/test_subnet_response_compound.py +++ b/test/test_subnet_response_compound.py @@ -36,9 +36,23 @@ def make_instance(self, include_optional) -> SubnetResponseCompound: model = SubnetResponseCompound() if include_optional: return SubnetResponseCompound( + pki_subnet_id = 3, + fki_user_id = 70, + fki_apikey_id = 99, + obj_subnet_description = eZmaxApi.models.multilingual_subnet_description.Multilingual-SubnetDescription( + s_subnet_description1 = 'Bureau chef', + s_subnet_description2 = 'Head office', ), + i_subnet_network = 134744064, + i_subnet_mask = 4294967040 ) else: return SubnetResponseCompound( + pki_subnet_id = 3, + obj_subnet_description = eZmaxApi.models.multilingual_subnet_description.Multilingual-SubnetDescription( + s_subnet_description1 = 'Bureau chef', + s_subnet_description2 = 'Head office', ), + i_subnet_network = 134744064, + i_subnet_mask = 4294967040, ) """ diff --git a/test/test_supply_create_object_v1_response.py b/test/test_supply_create_object_v1_response.py index 8b0f0625b..7907a24cc 100644 --- a/test/test_supply_create_object_v1_response.py +++ b/test/test_supply_create_object_v1_response.py @@ -36,6 +36,15 @@ def make_instance(self, include_optional) -> SupplyCreateObjectV1Response: model = SupplyCreateObjectV1Response() if include_optional: return SupplyCreateObjectV1Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), + obj_debug = {"sMemoryUsage":"11,923MB","sRunTime":"0.6084s","iSQLSelects":3,"iSQLQueries":6,"a_objSQLQuery":[{"sQuery":"SELECT * FROM table","fDuration":1.0E-4},{"sQuery":"SELECT * FROM table","fDuration":1.0E-4}]}, m_payload = eZmaxApi.models.supply_create_object_v1_response_m_payload.supply-createObject-v1-Response-mPayload( a_pki_supply_id = [ 85 @@ -43,6 +52,14 @@ def make_instance(self, include_optional) -> SupplyCreateObjectV1Response: ) else: return SupplyCreateObjectV1Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), m_payload = eZmaxApi.models.supply_create_object_v1_response_m_payload.supply-createObject-v1-Response-mPayload( a_pki_supply_id = [ 85 diff --git a/test/test_supply_delete_object_v1_response.py b/test/test_supply_delete_object_v1_response.py index cfe5e03fd..5b45d2df1 100644 --- a/test/test_supply_delete_object_v1_response.py +++ b/test/test_supply_delete_object_v1_response.py @@ -36,9 +36,26 @@ def make_instance(self, include_optional) -> SupplyDeleteObjectV1Response: model = SupplyDeleteObjectV1Response() if include_optional: return SupplyDeleteObjectV1Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), + obj_debug = {"sMemoryUsage":"11,923MB","sRunTime":"0.6084s","iSQLSelects":3,"iSQLQueries":6,"a_objSQLQuery":[{"sQuery":"SELECT * FROM table","fDuration":1.0E-4},{"sQuery":"SELECT * FROM table","fDuration":1.0E-4}]} ) else: return SupplyDeleteObjectV1Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), ) """ diff --git a/test/test_supply_edit_object_v1_response.py b/test/test_supply_edit_object_v1_response.py index 0dbe64e38..e234bfbee 100644 --- a/test/test_supply_edit_object_v1_response.py +++ b/test/test_supply_edit_object_v1_response.py @@ -36,9 +36,26 @@ def make_instance(self, include_optional) -> SupplyEditObjectV1Response: model = SupplyEditObjectV1Response() if include_optional: return SupplyEditObjectV1Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), + obj_debug = {"sMemoryUsage":"11,923MB","sRunTime":"0.6084s","iSQLSelects":3,"iSQLQueries":6,"a_objSQLQuery":[{"sQuery":"SELECT * FROM table","fDuration":1.0E-4},{"sQuery":"SELECT * FROM table","fDuration":1.0E-4}]} ) else: return SupplyEditObjectV1Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), ) """ diff --git a/test/test_supply_get_autocomplete_v2_response.py b/test/test_supply_get_autocomplete_v2_response.py index 3417017c4..f7ac164b4 100644 --- a/test/test_supply_get_autocomplete_v2_response.py +++ b/test/test_supply_get_autocomplete_v2_response.py @@ -36,6 +36,15 @@ def make_instance(self, include_optional) -> SupplyGetAutocompleteV2Response: model = SupplyGetAutocompleteV2Response() if include_optional: return SupplyGetAutocompleteV2Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), + obj_debug = {"sMemoryUsage":"11,923MB","sRunTime":"0.6084s","iSQLSelects":3,"iSQLQueries":6,"a_objSQLQuery":[{"sQuery":"SELECT * FROM table","fDuration":1.0E-4},{"sQuery":"SELECT * FROM table","fDuration":1.0E-4}]}, m_payload = eZmaxApi.models.supply_get_autocomplete_v2_response_m_payload.supply-getAutocomplete-v2-Response-mPayload( a_obj_supply = [ eZmaxApi.models.supply_autocomplete_element_response.supply-AutocompleteElement-Response( @@ -46,6 +55,14 @@ def make_instance(self, include_optional) -> SupplyGetAutocompleteV2Response: ) else: return SupplyGetAutocompleteV2Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), m_payload = eZmaxApi.models.supply_get_autocomplete_v2_response_m_payload.supply-getAutocomplete-v2-Response-mPayload( a_obj_supply = [ eZmaxApi.models.supply_autocomplete_element_response.supply-AutocompleteElement-Response( diff --git a/test/test_supply_get_list_v1_response.py b/test/test_supply_get_list_v1_response.py index 367e359e0..efeb63ed9 100644 --- a/test/test_supply_get_list_v1_response.py +++ b/test/test_supply_get_list_v1_response.py @@ -36,10 +36,13 @@ def make_instance(self, include_optional) -> SupplyGetListV1Response: model = SupplyGetListV1Response() if include_optional: return SupplyGetListV1Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload_get_list.Common-Response-objDebugPayload_getList(), + obj_debug = {"sMemoryUsage":"11,923MB","sRunTime":"0.6084s","iSQLSelects":3,"iSQLQueries":6,"a_objSQLQuery":[{"sQuery":"SELECT * FROM table","fDuration":1.0E-4},{"sQuery":"SELECT * FROM table","fDuration":1.0E-4}]}, m_payload = eZmaxApi.models.supply_get_list_v1_response_m_payload.supply-getList-v1-Response-mPayload() ) else: return SupplyGetListV1Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload_get_list.Common-Response-objDebugPayload_getList(), m_payload = eZmaxApi.models.supply_get_list_v1_response_m_payload.supply-getList-v1-Response-mPayload(), ) """ diff --git a/test/test_supply_get_list_v1_response_m_payload.py b/test/test_supply_get_list_v1_response_m_payload.py index 97b666bb8..d2d6d907d 100644 --- a/test/test_supply_get_list_v1_response_m_payload.py +++ b/test/test_supply_get_list_v1_response_m_payload.py @@ -36,6 +36,8 @@ def make_instance(self, include_optional) -> SupplyGetListV1ResponseMPayload: model = SupplyGetListV1ResponseMPayload() if include_optional: return SupplyGetListV1ResponseMPayload( + i_row_returned = 100, + i_row_filtered = 533, a_obj_supply = [ eZmaxApi.models.supply_list_element.supply-ListElement( pki_supply_id = 85, @@ -54,6 +56,8 @@ def make_instance(self, include_optional) -> SupplyGetListV1ResponseMPayload: ) else: return SupplyGetListV1ResponseMPayload( + i_row_returned = 100, + i_row_filtered = 533, a_obj_supply = [ eZmaxApi.models.supply_list_element.supply-ListElement( pki_supply_id = 85, diff --git a/test/test_supply_get_object_v2_response.py b/test/test_supply_get_object_v2_response.py index 3c9229565..5a195473f 100644 --- a/test/test_supply_get_object_v2_response.py +++ b/test/test_supply_get_object_v2_response.py @@ -36,11 +36,28 @@ def make_instance(self, include_optional) -> SupplyGetObjectV2Response: model = SupplyGetObjectV2Response() if include_optional: return SupplyGetObjectV2Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), + obj_debug = {"sMemoryUsage":"11,923MB","sRunTime":"0.6084s","iSQLSelects":3,"iSQLQueries":6,"a_objSQLQuery":[{"sQuery":"SELECT * FROM table","fDuration":1.0E-4},{"sQuery":"SELECT * FROM table","fDuration":1.0E-4}]}, m_payload = eZmaxApi.models.supply_get_object_v2_response_m_payload.supply-getObject-v2-Response-mPayload( obj_supply = eZmaxApi.models.supply_response_compound.supply-ResponseCompound(), ) ) else: return SupplyGetObjectV2Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), m_payload = eZmaxApi.models.supply_get_object_v2_response_m_payload.supply-getObject-v2-Response-mPayload( obj_supply = eZmaxApi.models.supply_response_compound.supply-ResponseCompound(), ), ) diff --git a/test/test_supply_request_compound.py b/test/test_supply_request_compound.py index e40c94c91..c094292eb 100644 --- a/test/test_supply_request_compound.py +++ b/test/test_supply_request_compound.py @@ -36,9 +36,28 @@ def make_instance(self, include_optional) -> SupplyRequestCompound: model = SupplyRequestCompound() if include_optional: return SupplyRequestCompound( + pki_supply_id = 85, + fki_glaccount_id = 35, + fki_glaccountcontainer_id = 66, + fki_variableexpense_id = 2, + s_supply_code = 'PPLET', + obj_supply_description = eZmaxApi.models.multilingual_supply_description.Multilingual-SupplyDescription( + s_supply_description1 = 'Papier lettre paquet', + s_supply_description2 = 'Letter paper package', ), + d_supply_unitprice = '8', + b_supply_isactive = True, + b_supply_variableprice = True ) else: return SupplyRequestCompound( + fki_variableexpense_id = 2, + s_supply_code = 'PPLET', + obj_supply_description = eZmaxApi.models.multilingual_supply_description.Multilingual-SupplyDescription( + s_supply_description1 = 'Papier lettre paquet', + s_supply_description2 = 'Letter paper package', ), + d_supply_unitprice = '8', + b_supply_isactive = True, + b_supply_variableprice = True, ) """ diff --git a/test/test_supply_response_compound.py b/test/test_supply_response_compound.py index 2f1424f83..435dadcbf 100644 --- a/test/test_supply_response_compound.py +++ b/test/test_supply_response_compound.py @@ -36,9 +36,32 @@ def make_instance(self, include_optional) -> SupplyResponseCompound: model = SupplyResponseCompound() if include_optional: return SupplyResponseCompound( + pki_supply_id = 85, + fki_glaccount_id = 35, + fki_glaccountcontainer_id = 66, + fki_variableexpense_id = 2, + s_supply_code = 'PPLET', + obj_supply_description = eZmaxApi.models.multilingual_supply_description.Multilingual-SupplyDescription( + s_supply_description1 = 'Papier lettre paquet', + s_supply_description2 = 'Letter paper package', ), + d_supply_unitprice = '8', + b_supply_isactive = True, + b_supply_variableprice = True, + s_glaccount_description_x = 'Supplies income', + s_glaccountcontainer_longdescription_x = 'Quebec', + s_variableexpense_description_x = 'Équipements de bureau' ) else: return SupplyResponseCompound( + pki_supply_id = 85, + fki_variableexpense_id = 2, + s_supply_code = 'PPLET', + obj_supply_description = eZmaxApi.models.multilingual_supply_description.Multilingual-SupplyDescription( + s_supply_description1 = 'Papier lettre paquet', + s_supply_description2 = 'Letter paper package', ), + d_supply_unitprice = '8', + b_supply_isactive = True, + b_supply_variableprice = True, ) """ diff --git a/test/test_systemconfiguration_edit_object_v1_response.py b/test/test_systemconfiguration_edit_object_v1_response.py index 4c26b9a18..9f307a079 100644 --- a/test/test_systemconfiguration_edit_object_v1_response.py +++ b/test/test_systemconfiguration_edit_object_v1_response.py @@ -36,9 +36,26 @@ def make_instance(self, include_optional) -> SystemconfigurationEditObjectV1Resp model = SystemconfigurationEditObjectV1Response() if include_optional: return SystemconfigurationEditObjectV1Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), + obj_debug = {"sMemoryUsage":"11,923MB","sRunTime":"0.6084s","iSQLSelects":3,"iSQLQueries":6,"a_objSQLQuery":[{"sQuery":"SELECT * FROM table","fDuration":1.0E-4},{"sQuery":"SELECT * FROM table","fDuration":1.0E-4}]} ) else: return SystemconfigurationEditObjectV1Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), ) """ diff --git a/test/test_systemconfiguration_get_object_v2_response.py b/test/test_systemconfiguration_get_object_v2_response.py index aac70999f..696e0c458 100644 --- a/test/test_systemconfiguration_get_object_v2_response.py +++ b/test/test_systemconfiguration_get_object_v2_response.py @@ -36,11 +36,28 @@ def make_instance(self, include_optional) -> SystemconfigurationGetObjectV2Respo model = SystemconfigurationGetObjectV2Response() if include_optional: return SystemconfigurationGetObjectV2Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), + obj_debug = {"sMemoryUsage":"11,923MB","sRunTime":"0.6084s","iSQLSelects":3,"iSQLQueries":6,"a_objSQLQuery":[{"sQuery":"SELECT * FROM table","fDuration":1.0E-4},{"sQuery":"SELECT * FROM table","fDuration":1.0E-4}]}, m_payload = eZmaxApi.models.systemconfiguration_get_object_v2_response_m_payload.systemconfiguration-getObject-v2-Response-mPayload( obj_systemconfiguration = eZmaxApi.models.systemconfiguration_response_compound.systemconfiguration-ResponseCompound(), ) ) else: return SystemconfigurationGetObjectV2Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), m_payload = eZmaxApi.models.systemconfiguration_get_object_v2_response_m_payload.systemconfiguration-getObject-v2-Response-mPayload( obj_systemconfiguration = eZmaxApi.models.systemconfiguration_response_compound.systemconfiguration-ResponseCompound(), ), ) diff --git a/test/test_systemconfiguration_request_compound.py b/test/test_systemconfiguration_request_compound.py index 2ebcfe29d..e083f8978 100644 --- a/test/test_systemconfiguration_request_compound.py +++ b/test/test_systemconfiguration_request_compound.py @@ -36,9 +36,26 @@ def make_instance(self, include_optional) -> SystemconfigurationRequestCompound: model = SystemconfigurationRequestCompound() if include_optional: return SystemconfigurationRequestCompound( + pki_systemconfiguration_id = 1, + fki_branding_id = 78, + e_systemconfiguration_newexternaluseraction = 'Stage', + e_systemconfiguration_language1 = 'fr_QC', + e_systemconfiguration_language2 = 'en_CA', + e_systemconfiguration_ezsign = 'Yes', + e_systemconfiguration_ezsignofficeplan = 'Standard', + b_systemconfiguration_ezsignpaidbyoffice = True, + b_systemconfiguration_ezsignpersonnal = True, + b_systemconfiguration_sspr = True, + dt_systemconfiguration_readonlyexpirationstart = '2020-12-31', + dt_systemconfiguration_readonlyexpirationend = '2021-12-31' ) else: return SystemconfigurationRequestCompound( + e_systemconfiguration_newexternaluseraction = 'Stage', + e_systemconfiguration_language1 = 'fr_QC', + e_systemconfiguration_language2 = 'en_CA', + b_systemconfiguration_ezsignpersonnal = True, + b_systemconfiguration_sspr = True, ) """ diff --git a/test/test_systemconfiguration_response_compound.py b/test/test_systemconfiguration_response_compound.py index 8abc8868e..db7d90693 100644 --- a/test/test_systemconfiguration_response_compound.py +++ b/test/test_systemconfiguration_response_compound.py @@ -36,9 +36,36 @@ def make_instance(self, include_optional) -> SystemconfigurationResponseCompound model = SystemconfigurationResponseCompound() if include_optional: return SystemconfigurationResponseCompound( + pki_systemconfiguration_id = 1, + fki_systemconfigurationtype_id = 28, + fki_branding_id = 78, + s_systemconfigurationtype_description_x = 'eZsign (Pro)', + e_systemconfiguration_newexternaluseraction = 'Stage', + e_systemconfiguration_language1 = 'fr_QC', + e_systemconfiguration_language2 = 'en_CA', + e_systemconfiguration_ezsign = 'Yes', + e_systemconfiguration_ezsignofficeplan = 'Standard', + b_systemconfiguration_ezsignpaidbyoffice = True, + b_systemconfiguration_ezsignpersonnal = True, + b_systemconfiguration_hascreditcardmerchant = True, + b_systemconfiguration_isdisposalactive = True, + b_systemconfiguration_sspr = True, + dt_systemconfiguration_readonlyexpirationstart = '2020-12-31', + dt_systemconfiguration_readonlyexpirationend = '2021-12-31', + obj_branding = eZmaxApi.models.custom_branding_response.Custom-Branding-Response( + i_branding_color = 15658734, + s_branding_logointerfaceurl = 'http://www.example.com/logo.jpg', ) ) else: return SystemconfigurationResponseCompound( + pki_systemconfiguration_id = 1, + fki_systemconfigurationtype_id = 28, + s_systemconfigurationtype_description_x = 'eZsign (Pro)', + e_systemconfiguration_newexternaluseraction = 'Stage', + e_systemconfiguration_language1 = 'fr_QC', + e_systemconfiguration_language2 = 'en_CA', + b_systemconfiguration_ezsignpersonnal = True, + b_systemconfiguration_sspr = True, ) """ diff --git a/test/test_taxassignment_get_autocomplete_v2_response.py b/test/test_taxassignment_get_autocomplete_v2_response.py index 6524d5d36..1e85cc245 100644 --- a/test/test_taxassignment_get_autocomplete_v2_response.py +++ b/test/test_taxassignment_get_autocomplete_v2_response.py @@ -36,6 +36,15 @@ def make_instance(self, include_optional) -> TaxassignmentGetAutocompleteV2Respo model = TaxassignmentGetAutocompleteV2Response() if include_optional: return TaxassignmentGetAutocompleteV2Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), + obj_debug = {"sMemoryUsage":"11,923MB","sRunTime":"0.6084s","iSQLSelects":3,"iSQLQueries":6,"a_objSQLQuery":[{"sQuery":"SELECT * FROM table","fDuration":1.0E-4},{"sQuery":"SELECT * FROM table","fDuration":1.0E-4}]}, m_payload = eZmaxApi.models.taxassignment_get_autocomplete_v2_response_m_payload.taxassignment-getAutocomplete-v2-Response-mPayload( a_obj_taxassignment = [ eZmaxApi.models.taxassignment_autocomplete_element_response.taxassignment-AutocompleteElement-Response( @@ -46,6 +55,14 @@ def make_instance(self, include_optional) -> TaxassignmentGetAutocompleteV2Respo ) else: return TaxassignmentGetAutocompleteV2Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), m_payload = eZmaxApi.models.taxassignment_get_autocomplete_v2_response_m_payload.taxassignment-getAutocomplete-v2-Response-mPayload( a_obj_taxassignment = [ eZmaxApi.models.taxassignment_autocomplete_element_response.taxassignment-AutocompleteElement-Response( diff --git a/test/test_textstylestatic_request_compound.py b/test/test_textstylestatic_request_compound.py index 63495d5fa..85c60ea38 100644 --- a/test/test_textstylestatic_request_compound.py +++ b/test/test_textstylestatic_request_compound.py @@ -36,9 +36,23 @@ def make_instance(self, include_optional) -> TextstylestaticRequestCompound: model = TextstylestaticRequestCompound() if include_optional: return TextstylestaticRequestCompound( + fki_font_id = 1, + b_textstylestatic_bold = True, + b_textstylestatic_underline = True, + b_textstylestatic_italic = True, + b_textstylestatic_strikethrough = True, + i_textstylestatic_fontcolor = 3752795, + i_textstylestatic_size = 12 ) else: return TextstylestaticRequestCompound( + fki_font_id = 1, + b_textstylestatic_bold = True, + b_textstylestatic_underline = True, + b_textstylestatic_italic = True, + b_textstylestatic_strikethrough = True, + i_textstylestatic_fontcolor = 3752795, + i_textstylestatic_size = 12, ) """ diff --git a/test/test_textstylestatic_response_compound.py b/test/test_textstylestatic_response_compound.py index 0067e54c0..aecc27300 100644 --- a/test/test_textstylestatic_response_compound.py +++ b/test/test_textstylestatic_response_compound.py @@ -36,9 +36,26 @@ def make_instance(self, include_optional) -> TextstylestaticResponseCompound: model = TextstylestaticResponseCompound() if include_optional: return TextstylestaticResponseCompound( + pki_textstylestatic_id = 216, + fki_font_id = 1, + s_font_name = 'Arial', + b_textstylestatic_bold = True, + b_textstylestatic_underline = True, + b_textstylestatic_italic = True, + b_textstylestatic_strikethrough = True, + i_textstylestatic_fontcolor = 3752795, + i_textstylestatic_size = 12 ) else: return TextstylestaticResponseCompound( + fki_font_id = 1, + s_font_name = 'Arial', + b_textstylestatic_bold = True, + b_textstylestatic_underline = True, + b_textstylestatic_italic = True, + b_textstylestatic_strikethrough = True, + i_textstylestatic_fontcolor = 3752795, + i_textstylestatic_size = 12, ) """ diff --git a/test/test_timezone_get_autocomplete_v2_response.py b/test/test_timezone_get_autocomplete_v2_response.py index 5024d3f8d..5c18df54b 100644 --- a/test/test_timezone_get_autocomplete_v2_response.py +++ b/test/test_timezone_get_autocomplete_v2_response.py @@ -36,6 +36,15 @@ def make_instance(self, include_optional) -> TimezoneGetAutocompleteV2Response: model = TimezoneGetAutocompleteV2Response() if include_optional: return TimezoneGetAutocompleteV2Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), + obj_debug = {"sMemoryUsage":"11,923MB","sRunTime":"0.6084s","iSQLSelects":3,"iSQLQueries":6,"a_objSQLQuery":[{"sQuery":"SELECT * FROM table","fDuration":1.0E-4},{"sQuery":"SELECT * FROM table","fDuration":1.0E-4}]}, m_payload = eZmaxApi.models.timezone_get_autocomplete_v2_response_m_payload.timezone-getAutocomplete-v2-Response-mPayload( a_obj_timezone = [ eZmaxApi.models.timezone_autocomplete_element_response.timezone-AutocompleteElement-Response( @@ -46,6 +55,14 @@ def make_instance(self, include_optional) -> TimezoneGetAutocompleteV2Response: ) else: return TimezoneGetAutocompleteV2Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), m_payload = eZmaxApi.models.timezone_get_autocomplete_v2_response_m_payload.timezone-getAutocomplete-v2-Response-mPayload( a_obj_timezone = [ eZmaxApi.models.timezone_autocomplete_element_response.timezone-AutocompleteElement-Response( diff --git a/test/test_tranqcontract_get_communication_count_v1_response.py b/test/test_tranqcontract_get_communication_count_v1_response.py index ef2544dde..68d5a7c34 100644 --- a/test/test_tranqcontract_get_communication_count_v1_response.py +++ b/test/test_tranqcontract_get_communication_count_v1_response.py @@ -36,11 +36,28 @@ def make_instance(self, include_optional) -> TranqcontractGetCommunicationCountV model = TranqcontractGetCommunicationCountV1Response() if include_optional: return TranqcontractGetCommunicationCountV1Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), + obj_debug = {"sMemoryUsage":"11,923MB","sRunTime":"0.6084s","iSQLSelects":3,"iSQLQueries":6,"a_objSQLQuery":[{"sQuery":"SELECT * FROM table","fDuration":1.0E-4},{"sQuery":"SELECT * FROM table","fDuration":1.0E-4}]}, m_payload = eZmaxApi.models.tranqcontract_get_communication_count_v1_response_m_payload.tranqcontract-getCommunicationCount-v1-Response-mPayload( i_communication_count = 8, ) ) else: return TranqcontractGetCommunicationCountV1Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), m_payload = eZmaxApi.models.tranqcontract_get_communication_count_v1_response_m_payload.tranqcontract-getCommunicationCount-v1-Response-mPayload( i_communication_count = 8, ), ) diff --git a/test/test_tranqcontract_get_communication_list_v1_response.py b/test/test_tranqcontract_get_communication_list_v1_response.py index 90b221c64..bbc1b684a 100644 --- a/test/test_tranqcontract_get_communication_list_v1_response.py +++ b/test/test_tranqcontract_get_communication_list_v1_response.py @@ -36,6 +36,8 @@ def make_instance(self, include_optional) -> TranqcontractGetCommunicationListV1 model = TranqcontractGetCommunicationListV1Response() if include_optional: return TranqcontractGetCommunicationListV1Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload_get_list.Common-Response-objDebugPayload_getList(), + obj_debug = {"sMemoryUsage":"11,923MB","sRunTime":"0.6084s","iSQLSelects":3,"iSQLQueries":6,"a_objSQLQuery":[{"sQuery":"SELECT * FROM table","fDuration":1.0E-4},{"sQuery":"SELECT * FROM table","fDuration":1.0E-4}]}, m_payload = eZmaxApi.models.tranqcontract_get_communication_list_v1_response_m_payload.tranqcontract-getCommunicationList-v1-Response-mPayload( a_obj_communication = [ eZmaxApi.models.custom_communication_list_element_response.Custom-CommunicationListElement-Response( @@ -52,6 +54,7 @@ def make_instance(self, include_optional) -> TranqcontractGetCommunicationListV1 ) else: return TranqcontractGetCommunicationListV1Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload_get_list.Common-Response-objDebugPayload_getList(), m_payload = eZmaxApi.models.tranqcontract_get_communication_list_v1_response_m_payload.tranqcontract-getCommunicationList-v1-Response-mPayload( a_obj_communication = [ eZmaxApi.models.custom_communication_list_element_response.Custom-CommunicationListElement-Response( diff --git a/test/test_tranqcontract_get_communicationrecipients_v1_response.py b/test/test_tranqcontract_get_communicationrecipients_v1_response.py index 4b1133b11..36ec1d19e 100644 --- a/test/test_tranqcontract_get_communicationrecipients_v1_response.py +++ b/test/test_tranqcontract_get_communicationrecipients_v1_response.py @@ -36,6 +36,15 @@ def make_instance(self, include_optional) -> TranqcontractGetCommunicationrecipi model = TranqcontractGetCommunicationrecipientsV1Response() if include_optional: return TranqcontractGetCommunicationrecipientsV1Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), + obj_debug = {"sMemoryUsage":"11,923MB","sRunTime":"0.6084s","iSQLSelects":3,"iSQLQueries":6,"a_objSQLQuery":[{"sQuery":"SELECT * FROM table","fDuration":1.0E-4},{"sQuery":"SELECT * FROM table","fDuration":1.0E-4}]}, m_payload = eZmaxApi.models.tranqcontract_get_communicationrecipients_v1_response_m_payload.tranqcontract-getCommunicationrecipients-v1-Response-mPayload( a_obj_communicationrecipientsgroup = [ eZmaxApi.models.custom_communicationrecipientsgroup_response.Custom-Communicationrecipientsgroup-Response( @@ -70,6 +79,14 @@ def make_instance(self, include_optional) -> TranqcontractGetCommunicationrecipi ) else: return TranqcontractGetCommunicationrecipientsV1Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), m_payload = eZmaxApi.models.tranqcontract_get_communicationrecipients_v1_response_m_payload.tranqcontract-getCommunicationrecipients-v1-Response-mPayload( a_obj_communicationrecipientsgroup = [ eZmaxApi.models.custom_communicationrecipientsgroup_response.Custom-Communicationrecipientsgroup-Response( diff --git a/test/test_tranqcontract_get_communicationsenders_v1_response.py b/test/test_tranqcontract_get_communicationsenders_v1_response.py index 57fde34ee..f3c1a374a 100644 --- a/test/test_tranqcontract_get_communicationsenders_v1_response.py +++ b/test/test_tranqcontract_get_communicationsenders_v1_response.py @@ -36,6 +36,15 @@ def make_instance(self, include_optional) -> TranqcontractGetCommunicationsender model = TranqcontractGetCommunicationsendersV1Response() if include_optional: return TranqcontractGetCommunicationsendersV1Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), + obj_debug = {"sMemoryUsage":"11,923MB","sRunTime":"0.6084s","iSQLSelects":3,"iSQLQueries":6,"a_objSQLQuery":[{"sQuery":"SELECT * FROM table","fDuration":1.0E-4},{"sQuery":"SELECT * FROM table","fDuration":1.0E-4}]}, m_payload = eZmaxApi.models.tranqcontract_get_communicationsenders_v1_response_m_payload.tranqcontract-getCommunicationsenders-v1-Response-mPayload( a_obj_communicationsenders = [ eZmaxApi.models.custom_communicationsender_response.Custom-Communicationsender-Response( @@ -56,6 +65,14 @@ def make_instance(self, include_optional) -> TranqcontractGetCommunicationsender ) else: return TranqcontractGetCommunicationsendersV1Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), m_payload = eZmaxApi.models.tranqcontract_get_communicationsenders_v1_response_m_payload.tranqcontract-getCommunicationsenders-v1-Response-mPayload( a_obj_communicationsenders = [ eZmaxApi.models.custom_communicationsender_response.Custom-Communicationsender-Response( diff --git a/test/test_user_create_ezsignuser_v1_response.py b/test/test_user_create_ezsignuser_v1_response.py index af8bff34b..34e799eed 100644 --- a/test/test_user_create_ezsignuser_v1_response.py +++ b/test/test_user_create_ezsignuser_v1_response.py @@ -36,10 +36,27 @@ def make_instance(self, include_optional) -> UserCreateEzsignuserV1Response: model = UserCreateEzsignuserV1Response() if include_optional: return UserCreateEzsignuserV1Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), + obj_debug = {"sMemoryUsage":"11,923MB","sRunTime":"0.6084s","iSQLSelects":3,"iSQLQueries":6,"a_objSQLQuery":[{"sQuery":"SELECT * FROM table","fDuration":1.0E-4},{"sQuery":"SELECT * FROM table","fDuration":1.0E-4}]}, m_payload = {"a_sEmailAddressSuccess":["someone@example.com","someone2@example.com"],"a_sEmailAddressFailure":["UserAlreadyExists@example.com"]} ) else: return UserCreateEzsignuserV1Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), m_payload = {"a_sEmailAddressSuccess":["someone@example.com","someone2@example.com"],"a_sEmailAddressFailure":["UserAlreadyExists@example.com"]}, ) """ diff --git a/test/test_user_create_object_v1_response.py b/test/test_user_create_object_v1_response.py index 2142dca4b..92d0c91e2 100644 --- a/test/test_user_create_object_v1_response.py +++ b/test/test_user_create_object_v1_response.py @@ -36,6 +36,15 @@ def make_instance(self, include_optional) -> UserCreateObjectV1Response: model = UserCreateObjectV1Response() if include_optional: return UserCreateObjectV1Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), + obj_debug = {"sMemoryUsage":"11,923MB","sRunTime":"0.6084s","iSQLSelects":3,"iSQLQueries":6,"a_objSQLQuery":[{"sQuery":"SELECT * FROM table","fDuration":1.0E-4},{"sQuery":"SELECT * FROM table","fDuration":1.0E-4}]}, m_payload = eZmaxApi.models.user_create_object_v1_response_m_payload.user-createObject-v1-Response-mPayload( a_pki_user_id = [ 70 @@ -43,6 +52,14 @@ def make_instance(self, include_optional) -> UserCreateObjectV1Response: ) else: return UserCreateObjectV1Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), m_payload = eZmaxApi.models.user_create_object_v1_response_m_payload.user-createObject-v1-Response-mPayload( a_pki_user_id = [ 70 diff --git a/test/test_user_create_object_v2_response.py b/test/test_user_create_object_v2_response.py index dc7df1ef3..33b3f8f91 100644 --- a/test/test_user_create_object_v2_response.py +++ b/test/test_user_create_object_v2_response.py @@ -36,6 +36,15 @@ def make_instance(self, include_optional) -> UserCreateObjectV2Response: model = UserCreateObjectV2Response() if include_optional: return UserCreateObjectV2Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), + obj_debug = {"sMemoryUsage":"11,923MB","sRunTime":"0.6084s","iSQLSelects":3,"iSQLQueries":6,"a_objSQLQuery":[{"sQuery":"SELECT * FROM table","fDuration":1.0E-4},{"sQuery":"SELECT * FROM table","fDuration":1.0E-4}]}, m_payload = eZmaxApi.models.user_create_object_v2_response_m_payload.user-createObject-v2-Response-mPayload( a_pki_user_id = [ 70 @@ -43,6 +52,14 @@ def make_instance(self, include_optional) -> UserCreateObjectV2Response: ) else: return UserCreateObjectV2Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), m_payload = eZmaxApi.models.user_create_object_v2_response_m_payload.user-createObject-v2-Response-mPayload( a_pki_user_id = [ 70 diff --git a/test/test_user_edit_colleagues_v2_response.py b/test/test_user_edit_colleagues_v2_response.py index d9a2fc1cd..0608a432d 100644 --- a/test/test_user_edit_colleagues_v2_response.py +++ b/test/test_user_edit_colleagues_v2_response.py @@ -36,6 +36,15 @@ def make_instance(self, include_optional) -> UserEditColleaguesV2Response: model = UserEditColleaguesV2Response() if include_optional: return UserEditColleaguesV2Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), + obj_debug = {"sMemoryUsage":"11,923MB","sRunTime":"0.6084s","iSQLSelects":3,"iSQLQueries":6,"a_objSQLQuery":[{"sQuery":"SELECT * FROM table","fDuration":1.0E-4},{"sQuery":"SELECT * FROM table","fDuration":1.0E-4}]}, m_payload = eZmaxApi.models.user_edit_colleagues_v2_response_m_payload.user-editColleagues-v2-Response-mPayload( a_pki_colleague_id = [ 60 @@ -43,6 +52,14 @@ def make_instance(self, include_optional) -> UserEditColleaguesV2Response: ) else: return UserEditColleaguesV2Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), m_payload = eZmaxApi.models.user_edit_colleagues_v2_response_m_payload.user-editColleagues-v2-Response-mPayload( a_pki_colleague_id = [ 60 diff --git a/test/test_user_edit_object_v1_response.py b/test/test_user_edit_object_v1_response.py index d9ef7adac..7f974e592 100644 --- a/test/test_user_edit_object_v1_response.py +++ b/test/test_user_edit_object_v1_response.py @@ -36,9 +36,26 @@ def make_instance(self, include_optional) -> UserEditObjectV1Response: model = UserEditObjectV1Response() if include_optional: return UserEditObjectV1Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), + obj_debug = {"sMemoryUsage":"11,923MB","sRunTime":"0.6084s","iSQLSelects":3,"iSQLQueries":6,"a_objSQLQuery":[{"sQuery":"SELECT * FROM table","fDuration":1.0E-4},{"sQuery":"SELECT * FROM table","fDuration":1.0E-4}]} ) else: return UserEditObjectV1Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), ) """ diff --git a/test/test_user_edit_permissions_v1_response.py b/test/test_user_edit_permissions_v1_response.py index 3aeaa854b..41fc3deee 100644 --- a/test/test_user_edit_permissions_v1_response.py +++ b/test/test_user_edit_permissions_v1_response.py @@ -36,6 +36,15 @@ def make_instance(self, include_optional) -> UserEditPermissionsV1Response: model = UserEditPermissionsV1Response() if include_optional: return UserEditPermissionsV1Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), + obj_debug = {"sMemoryUsage":"11,923MB","sRunTime":"0.6084s","iSQLSelects":3,"iSQLQueries":6,"a_objSQLQuery":[{"sQuery":"SELECT * FROM table","fDuration":1.0E-4},{"sQuery":"SELECT * FROM table","fDuration":1.0E-4}]}, m_payload = eZmaxApi.models.user_edit_permissions_v1_response_m_payload.user-editPermissions-v1-Response-mPayload( a_pki_permission_id = [ 31 @@ -43,6 +52,14 @@ def make_instance(self, include_optional) -> UserEditPermissionsV1Response: ) else: return UserEditPermissionsV1Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), m_payload = eZmaxApi.models.user_edit_permissions_v1_response_m_payload.user-editPermissions-v1-Response-mPayload( a_pki_permission_id = [ 31 diff --git a/test/test_user_get_apikeys_v1_response.py b/test/test_user_get_apikeys_v1_response.py index 55819003b..fb0ce8a87 100644 --- a/test/test_user_get_apikeys_v1_response.py +++ b/test/test_user_get_apikeys_v1_response.py @@ -36,6 +36,15 @@ def make_instance(self, include_optional) -> UserGetApikeysV1Response: model = UserGetApikeysV1Response() if include_optional: return UserGetApikeysV1Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), + obj_debug = {"sMemoryUsage":"11,923MB","sRunTime":"0.6084s","iSQLSelects":3,"iSQLQueries":6,"a_objSQLQuery":[{"sQuery":"SELECT * FROM table","fDuration":1.0E-4},{"sQuery":"SELECT * FROM table","fDuration":1.0E-4}]}, m_payload = eZmaxApi.models.user_get_apikeys_v1_response_m_payload.user-getApikeys-v1-Response-mPayload( a_obj_apikey = [ eZmaxApi.models.apikey_response_compound.apikey-ResponseCompound() @@ -43,6 +52,14 @@ def make_instance(self, include_optional) -> UserGetApikeysV1Response: ) else: return UserGetApikeysV1Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), m_payload = eZmaxApi.models.user_get_apikeys_v1_response_m_payload.user-getApikeys-v1-Response-mPayload( a_obj_apikey = [ eZmaxApi.models.apikey_response_compound.apikey-ResponseCompound() diff --git a/test/test_user_get_autocomplete_v2_response.py b/test/test_user_get_autocomplete_v2_response.py index 0e4eb2a9e..fe91e18ff 100644 --- a/test/test_user_get_autocomplete_v2_response.py +++ b/test/test_user_get_autocomplete_v2_response.py @@ -36,6 +36,15 @@ def make_instance(self, include_optional) -> UserGetAutocompleteV2Response: model = UserGetAutocompleteV2Response() if include_optional: return UserGetAutocompleteV2Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), + obj_debug = {"sMemoryUsage":"11,923MB","sRunTime":"0.6084s","iSQLSelects":3,"iSQLQueries":6,"a_objSQLQuery":[{"sQuery":"SELECT * FROM table","fDuration":1.0E-4},{"sQuery":"SELECT * FROM table","fDuration":1.0E-4}]}, m_payload = eZmaxApi.models.user_get_autocomplete_v2_response_m_payload.user-getAutocomplete-v2-Response-mPayload( a_obj_user = [ eZmaxApi.models.user_autocomplete_element_response.user-AutocompleteElement-Response( @@ -47,6 +56,14 @@ def make_instance(self, include_optional) -> UserGetAutocompleteV2Response: ) else: return UserGetAutocompleteV2Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), m_payload = eZmaxApi.models.user_get_autocomplete_v2_response_m_payload.user-getAutocomplete-v2-Response-mPayload( a_obj_user = [ eZmaxApi.models.user_autocomplete_element_response.user-AutocompleteElement-Response( diff --git a/test/test_user_get_colleagues_v2_response.py b/test/test_user_get_colleagues_v2_response.py index 060f7a5aa..1b4e2112c 100644 --- a/test/test_user_get_colleagues_v2_response.py +++ b/test/test_user_get_colleagues_v2_response.py @@ -36,6 +36,15 @@ def make_instance(self, include_optional) -> UserGetColleaguesV2Response: model = UserGetColleaguesV2Response() if include_optional: return UserGetColleaguesV2Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), + obj_debug = {"sMemoryUsage":"11,923MB","sRunTime":"0.6084s","iSQLSelects":3,"iSQLQueries":6,"a_objSQLQuery":[{"sQuery":"SELECT * FROM table","fDuration":1.0E-4},{"sQuery":"SELECT * FROM table","fDuration":1.0E-4}]}, m_payload = eZmaxApi.models.user_get_colleagues_v2_response_m_payload.user-getColleagues-v2-Response-mPayload( a_obj_colleague = [ eZmaxApi.models.colleague_response_compound_v2.colleague-ResponseCompoundV2() @@ -46,6 +55,14 @@ def make_instance(self, include_optional) -> UserGetColleaguesV2Response: ) else: return UserGetColleaguesV2Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), m_payload = eZmaxApi.models.user_get_colleagues_v2_response_m_payload.user-getColleagues-v2-Response-mPayload( a_obj_colleague = [ eZmaxApi.models.colleague_response_compound_v2.colleague-ResponseCompoundV2() diff --git a/test/test_user_get_effective_permissions_v1_response.py b/test/test_user_get_effective_permissions_v1_response.py index daf682d0e..2a3561bfa 100644 --- a/test/test_user_get_effective_permissions_v1_response.py +++ b/test/test_user_get_effective_permissions_v1_response.py @@ -36,6 +36,15 @@ def make_instance(self, include_optional) -> UserGetEffectivePermissionsV1Respon model = UserGetEffectivePermissionsV1Response() if include_optional: return UserGetEffectivePermissionsV1Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), + obj_debug = {"sMemoryUsage":"11,923MB","sRunTime":"0.6084s","iSQLSelects":3,"iSQLQueries":6,"a_objSQLQuery":[{"sQuery":"SELECT * FROM table","fDuration":1.0E-4},{"sQuery":"SELECT * FROM table","fDuration":1.0E-4}]}, m_payload = eZmaxApi.models.user_get_effective_permissions_v1_response_m_payload.user-getEffectivePermissions-v1-Response-mPayload( a_obj_modulegroup = [ eZmaxApi.models.modulegroup_response_compound.modulegroup-ResponseCompound() @@ -43,6 +52,14 @@ def make_instance(self, include_optional) -> UserGetEffectivePermissionsV1Respon ) else: return UserGetEffectivePermissionsV1Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), m_payload = eZmaxApi.models.user_get_effective_permissions_v1_response_m_payload.user-getEffectivePermissions-v1-Response-mPayload( a_obj_modulegroup = [ eZmaxApi.models.modulegroup_response_compound.modulegroup-ResponseCompound() diff --git a/test/test_user_get_list_v1_response.py b/test/test_user_get_list_v1_response.py index 0cefc8239..cd97b3b09 100644 --- a/test/test_user_get_list_v1_response.py +++ b/test/test_user_get_list_v1_response.py @@ -36,10 +36,13 @@ def make_instance(self, include_optional) -> UserGetListV1Response: model = UserGetListV1Response() if include_optional: return UserGetListV1Response( + 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.user_get_list_v1_response_m_payload.user-getList-v1-Response-mPayload() ) else: return UserGetListV1Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload_get_list.Common-Response-objDebugPayload_getList(), m_payload = eZmaxApi.models.user_get_list_v1_response_m_payload.user-getList-v1-Response-mPayload(), ) """ diff --git a/test/test_user_get_list_v1_response_m_payload.py b/test/test_user_get_list_v1_response_m_payload.py index 23358dd04..908b5b394 100644 --- a/test/test_user_get_list_v1_response_m_payload.py +++ b/test/test_user_get_list_v1_response_m_payload.py @@ -36,6 +36,8 @@ def make_instance(self, include_optional) -> UserGetListV1ResponseMPayload: model = UserGetListV1ResponseMPayload() if include_optional: return UserGetListV1ResponseMPayload( + i_row_returned = 100, + i_row_filtered = 533, a_obj_user = [ eZmaxApi.models.user_list_element.user-ListElement( pki_user_id = 70, @@ -53,6 +55,8 @@ def make_instance(self, include_optional) -> UserGetListV1ResponseMPayload: ) else: return UserGetListV1ResponseMPayload( + i_row_returned = 100, + i_row_filtered = 533, a_obj_user = [ eZmaxApi.models.user_list_element.user-ListElement( pki_user_id = 70, diff --git a/test/test_user_get_object_v2_response.py b/test/test_user_get_object_v2_response.py index 939aea9b4..bd4e6a81c 100644 --- a/test/test_user_get_object_v2_response.py +++ b/test/test_user_get_object_v2_response.py @@ -36,11 +36,28 @@ def make_instance(self, include_optional) -> UserGetObjectV2Response: model = UserGetObjectV2Response() if include_optional: return UserGetObjectV2Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), + obj_debug = {"sMemoryUsage":"11,923MB","sRunTime":"0.6084s","iSQLSelects":3,"iSQLQueries":6,"a_objSQLQuery":[{"sQuery":"SELECT * FROM table","fDuration":1.0E-4},{"sQuery":"SELECT * FROM table","fDuration":1.0E-4}]}, m_payload = eZmaxApi.models.user_get_object_v2_response_m_payload.user-getObject-v2-Response-mPayload( obj_user = eZmaxApi.models.user_response_compound.user-ResponseCompound(), ) ) else: return UserGetObjectV2Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), m_payload = eZmaxApi.models.user_get_object_v2_response_m_payload.user-getObject-v2-Response-mPayload( obj_user = eZmaxApi.models.user_response_compound.user-ResponseCompound(), ), ) diff --git a/test/test_user_get_object_v2_response_m_payload.py b/test/test_user_get_object_v2_response_m_payload.py index 105fd5c6f..4f7e19b00 100644 --- a/test/test_user_get_object_v2_response_m_payload.py +++ b/test/test_user_get_object_v2_response_m_payload.py @@ -36,119 +36,11 @@ def make_instance(self, include_optional) -> UserGetObjectV2ResponseMPayload: model = UserGetObjectV2ResponseMPayload() if include_optional: return UserGetObjectV2ResponseMPayload( - obj_user = eZmaxApi.models.user_response.user-Response( - pki_user_id = 70, - fki_agent_id = 1, - fki_broker_id = 26, - fki_assistant_id = 1, - fki_employee_id = 31, - fki_company_id_default = 1, - s_company_name_x = 'Acme inc.', - fki_department_id_default = 21, - s_department_name_x = 'Head Office', - fki_timezone_id = 247, - s_timezone_name = 'Default', - fki_language_id = 2, - s_language_name_x = 'English', - obj_email = eZmaxApi.models.email_response_compound.email-ResponseCompound(), - fki_billingentityinternal_id = 1, - s_billingentityinternal_description_x = 'Default', - obj_phone_home = eZmaxApi.models.phone_response_compound.phone-ResponseCompound(), - obj_phone_sms = eZmaxApi.models.phone_response_compound.phone-ResponseCompound(), - fki_secretquestion_id = 7, - fki_module_id_form = 40, - s_module_name_x = 'Purchase', - e_user_origin = 'BuiltIn', - e_user_type = 'EzsignUser', - e_user_logintype = 'Password', - s_user_firstname = 'John', - s_user_lastname = 'Doe', - s_user_loginname = 'JohnDoe', - s_user_jobtitle = 'Sales Representative', - e_user_ezsignaccess = 'PaidByOffice', - dt_user_lastlogondate = '2020-12-31 23:59:59', - dt_user_passwordchanged = '2020-12-31 23:59:59', - dt_user_ezsignprepaidexpiration = '2020-12-31', - b_user_isactive = True, - b_user_validatebyadministration = False, - b_user_validatebydirector = False, - b_user_attachmentautoverified = True, - b_user_changepassword = True, - obj_audit = eZmaxApi.models.common_audit.Common-Audit( - obj_auditdetail_created = eZmaxApi.models.common_auditdetail.Common-Auditdetail( - fki_user_id = 70, - fki_apikey_id = 99, - s_user_loginname = 'JohnDoe', - s_user_lastname = 'Doe', - s_user_firstname = 'John', - s_apikey_description_x = 'Project X', - dt_auditdetail_date = '2020-12-31 23:59:59', ), - obj_auditdetail_modified = eZmaxApi.models.common_auditdetail.Common-Auditdetail( - fki_user_id = 70, - fki_apikey_id = 99, - s_user_loginname = 'JohnDoe', - s_user_lastname = 'Doe', - s_user_firstname = 'John', - s_apikey_description_x = 'Project X', - dt_auditdetail_date = '2020-12-31 23:59:59', ), ), ) + obj_user = eZmaxApi.models.user_response_compound.user-ResponseCompound() ) else: return UserGetObjectV2ResponseMPayload( - obj_user = eZmaxApi.models.user_response.user-Response( - pki_user_id = 70, - fki_agent_id = 1, - fki_broker_id = 26, - fki_assistant_id = 1, - fki_employee_id = 31, - fki_company_id_default = 1, - s_company_name_x = 'Acme inc.', - fki_department_id_default = 21, - s_department_name_x = 'Head Office', - fki_timezone_id = 247, - s_timezone_name = 'Default', - fki_language_id = 2, - s_language_name_x = 'English', - obj_email = eZmaxApi.models.email_response_compound.email-ResponseCompound(), - fki_billingentityinternal_id = 1, - s_billingentityinternal_description_x = 'Default', - obj_phone_home = eZmaxApi.models.phone_response_compound.phone-ResponseCompound(), - obj_phone_sms = eZmaxApi.models.phone_response_compound.phone-ResponseCompound(), - fki_secretquestion_id = 7, - fki_module_id_form = 40, - s_module_name_x = 'Purchase', - e_user_origin = 'BuiltIn', - e_user_type = 'EzsignUser', - e_user_logintype = 'Password', - s_user_firstname = 'John', - s_user_lastname = 'Doe', - s_user_loginname = 'JohnDoe', - s_user_jobtitle = 'Sales Representative', - e_user_ezsignaccess = 'PaidByOffice', - dt_user_lastlogondate = '2020-12-31 23:59:59', - dt_user_passwordchanged = '2020-12-31 23:59:59', - dt_user_ezsignprepaidexpiration = '2020-12-31', - b_user_isactive = True, - b_user_validatebyadministration = False, - b_user_validatebydirector = False, - b_user_attachmentautoverified = True, - b_user_changepassword = True, - obj_audit = eZmaxApi.models.common_audit.Common-Audit( - obj_auditdetail_created = eZmaxApi.models.common_auditdetail.Common-Auditdetail( - fki_user_id = 70, - fki_apikey_id = 99, - s_user_loginname = 'JohnDoe', - s_user_lastname = 'Doe', - s_user_firstname = 'John', - s_apikey_description_x = 'Project X', - dt_auditdetail_date = '2020-12-31 23:59:59', ), - obj_auditdetail_modified = eZmaxApi.models.common_auditdetail.Common-Auditdetail( - fki_user_id = 70, - fki_apikey_id = 99, - s_user_loginname = 'JohnDoe', - s_user_lastname = 'Doe', - s_user_firstname = 'John', - s_apikey_description_x = 'Project X', - dt_auditdetail_date = '2020-12-31 23:59:59', ), ), ), + obj_user = eZmaxApi.models.user_response_compound.user-ResponseCompound(), ) """ diff --git a/test/test_user_get_permissions_v1_response.py b/test/test_user_get_permissions_v1_response.py index 7fdd18e08..dc1374321 100644 --- a/test/test_user_get_permissions_v1_response.py +++ b/test/test_user_get_permissions_v1_response.py @@ -36,6 +36,15 @@ def make_instance(self, include_optional) -> UserGetPermissionsV1Response: model = UserGetPermissionsV1Response() if include_optional: return UserGetPermissionsV1Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), + obj_debug = {"sMemoryUsage":"11,923MB","sRunTime":"0.6084s","iSQLSelects":3,"iSQLQueries":6,"a_objSQLQuery":[{"sQuery":"SELECT * FROM table","fDuration":1.0E-4},{"sQuery":"SELECT * FROM table","fDuration":1.0E-4}]}, m_payload = eZmaxApi.models.user_get_permissions_v1_response_m_payload.user-getPermissions-v1-Response-mPayload( a_obj_modulegroup = [ eZmaxApi.models.modulegroup_response_compound.modulegroup-ResponseCompound() @@ -43,6 +52,14 @@ def make_instance(self, include_optional) -> UserGetPermissionsV1Response: ) else: return UserGetPermissionsV1Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), m_payload = eZmaxApi.models.user_get_permissions_v1_response_m_payload.user-getPermissions-v1-Response-mPayload( a_obj_modulegroup = [ eZmaxApi.models.modulegroup_response_compound.modulegroup-ResponseCompound() diff --git a/test/test_user_get_subnets_v1_response.py b/test/test_user_get_subnets_v1_response.py index 2715f43e5..155bc95e7 100644 --- a/test/test_user_get_subnets_v1_response.py +++ b/test/test_user_get_subnets_v1_response.py @@ -36,6 +36,15 @@ def make_instance(self, include_optional) -> UserGetSubnetsV1Response: model = UserGetSubnetsV1Response() if include_optional: return UserGetSubnetsV1Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), + obj_debug = {"sMemoryUsage":"11,923MB","sRunTime":"0.6084s","iSQLSelects":3,"iSQLQueries":6,"a_objSQLQuery":[{"sQuery":"SELECT * FROM table","fDuration":1.0E-4},{"sQuery":"SELECT * FROM table","fDuration":1.0E-4}]}, m_payload = eZmaxApi.models.user_get_subnets_v1_response_m_payload.user-getSubnets-v1-Response-mPayload( a_obj_subnet = [ eZmaxApi.models.subnet_response_compound.subnet-ResponseCompound() @@ -43,6 +52,14 @@ def make_instance(self, include_optional) -> UserGetSubnetsV1Response: ) else: return UserGetSubnetsV1Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), m_payload = eZmaxApi.models.user_get_subnets_v1_response_m_payload.user-getSubnets-v1-Response-mPayload( a_obj_subnet = [ eZmaxApi.models.subnet_response_compound.subnet-ResponseCompound() diff --git a/test/test_user_get_usergroupexternals_v1_response.py b/test/test_user_get_usergroupexternals_v1_response.py index df5978f70..558d2ffbd 100644 --- a/test/test_user_get_usergroupexternals_v1_response.py +++ b/test/test_user_get_usergroupexternals_v1_response.py @@ -36,6 +36,15 @@ def make_instance(self, include_optional) -> UserGetUsergroupexternalsV1Response model = UserGetUsergroupexternalsV1Response() if include_optional: return UserGetUsergroupexternalsV1Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), + obj_debug = {"sMemoryUsage":"11,923MB","sRunTime":"0.6084s","iSQLSelects":3,"iSQLQueries":6,"a_objSQLQuery":[{"sQuery":"SELECT * FROM table","fDuration":1.0E-4},{"sQuery":"SELECT * FROM table","fDuration":1.0E-4}]}, m_payload = eZmaxApi.models.user_get_usergroupexternals_v1_response_m_payload.user-getUsergroupexternals-v1-Response-mPayload( a_obj_usergroupexternal = [ eZmaxApi.models.usergroupexternal_response_compound.usergroupexternal-ResponseCompound() @@ -43,6 +52,14 @@ def make_instance(self, include_optional) -> UserGetUsergroupexternalsV1Response ) else: return UserGetUsergroupexternalsV1Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), m_payload = eZmaxApi.models.user_get_usergroupexternals_v1_response_m_payload.user-getUsergroupexternals-v1-Response-mPayload( a_obj_usergroupexternal = [ eZmaxApi.models.usergroupexternal_response_compound.usergroupexternal-ResponseCompound() diff --git a/test/test_user_get_usergroups_v1_response.py b/test/test_user_get_usergroups_v1_response.py index 77304a3dc..9832ce458 100644 --- a/test/test_user_get_usergroups_v1_response.py +++ b/test/test_user_get_usergroups_v1_response.py @@ -36,6 +36,15 @@ def make_instance(self, include_optional) -> UserGetUsergroupsV1Response: model = UserGetUsergroupsV1Response() if include_optional: return UserGetUsergroupsV1Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), + obj_debug = {"sMemoryUsage":"11,923MB","sRunTime":"0.6084s","iSQLSelects":3,"iSQLQueries":6,"a_objSQLQuery":[{"sQuery":"SELECT * FROM table","fDuration":1.0E-4},{"sQuery":"SELECT * FROM table","fDuration":1.0E-4}]}, m_payload = eZmaxApi.models.user_get_usergroups_v1_response_m_payload.user-getUsergroups-v1-Response-mPayload( a_obj_usergroup = [ eZmaxApi.models.usergroup_response_compound.usergroup-ResponseCompound() @@ -43,6 +52,14 @@ def make_instance(self, include_optional) -> UserGetUsergroupsV1Response: ) else: return UserGetUsergroupsV1Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), m_payload = eZmaxApi.models.user_get_usergroups_v1_response_m_payload.user-getUsergroups-v1-Response-mPayload( a_obj_usergroup = [ eZmaxApi.models.usergroup_response_compound.usergroup-ResponseCompound() diff --git a/test/test_user_request.py b/test/test_user_request.py index 1f03574bd..4dcba637a 100644 --- a/test/test_user_request.py +++ b/test/test_user_request.py @@ -45,31 +45,10 @@ def make_instance(self, include_optional) -> UserRequest: fki_department_id_default = 21, fki_timezone_id = 247, fki_language_id = 2, - obj_email = eZmaxApi.models.email_request.email-Request( - pki_email_id = 22, - fki_emailtype_id = 1, - s_email_address = 'email@example.com', ), + obj_email = eZmaxApi.models.email_request_compound.email-RequestCompound(), fki_billingentityinternal_id = 1, - obj_phone_home = eZmaxApi.models.phone_request.phone-Request( - pki_phone_id = 1, - fki_phonetype_id = 1, - e_phone_type = 'Local', - s_phone_region = '514', - s_phone_exchange = '990', - s_phone_number = '1516', - s_phone_international = '15149901516', - s_phone_extension = '123', - s_phone_e164 = '+15149901516', ), - obj_phone_sms = eZmaxApi.models.phone_request.phone-Request( - pki_phone_id = 1, - fki_phonetype_id = 1, - e_phone_type = 'Local', - s_phone_region = '514', - s_phone_exchange = '990', - s_phone_number = '1516', - s_phone_international = '15149901516', - s_phone_extension = '123', - s_phone_e164 = '+15149901516', ), + obj_phone_home = eZmaxApi.models.phone_request_compound.phone-RequestCompound(), + obj_phone_sms = eZmaxApi.models.phone_request_compound.phone-RequestCompound(), fki_secretquestion_id = 7, s_user_secretresponse = 'Montreal General Hospital', fki_module_id_form = 40, @@ -92,10 +71,7 @@ def make_instance(self, include_optional) -> UserRequest: fki_department_id_default = 21, fki_timezone_id = 247, fki_language_id = 2, - obj_email = eZmaxApi.models.email_request.email-Request( - pki_email_id = 22, - fki_emailtype_id = 1, - s_email_address = 'email@example.com', ), + obj_email = eZmaxApi.models.email_request_compound.email-RequestCompound(), fki_billingentityinternal_id = 1, e_user_type = 'EzsignUser', e_user_logintype = 'Password', diff --git a/test/test_user_request_compound.py b/test/test_user_request_compound.py index 35d1872e7..4af899b2c 100644 --- a/test/test_user_request_compound.py +++ b/test/test_user_request_compound.py @@ -36,9 +36,50 @@ def make_instance(self, include_optional) -> UserRequestCompound: model = UserRequestCompound() if include_optional: return UserRequestCompound( + pki_user_id = 70, + fki_agent_id = 1, + fki_broker_id = 26, + fki_assistant_id = 1, + fki_employee_id = 31, + fki_company_id_default = 1, + fki_department_id_default = 21, + fki_timezone_id = 247, + fki_language_id = 2, + obj_email = eZmaxApi.models.email_request_compound.email-RequestCompound(), + fki_billingentityinternal_id = 1, + obj_phone_home = eZmaxApi.models.phone_request_compound.phone-RequestCompound(), + obj_phone_sms = eZmaxApi.models.phone_request_compound.phone-RequestCompound(), + fki_secretquestion_id = 7, + s_user_secretresponse = 'Montreal General Hospital', + fki_module_id_form = 40, + e_user_type = 'EzsignUser', + e_user_logintype = 'Password', + s_user_firstname = 'John', + s_user_lastname = 'Doe', + s_user_loginname = 'JohnDoe', + s_user_jobtitle = 'Sales Representative', + e_user_ezsignaccess = 'PaidByOffice', + b_user_isactive = True, + b_user_validatebyadministration = False, + b_user_validatebydirector = False, + b_user_attachmentautoverified = True, + b_user_changepassword = True ) else: return UserRequestCompound( + fki_company_id_default = 1, + fki_department_id_default = 21, + fki_timezone_id = 247, + fki_language_id = 2, + obj_email = eZmaxApi.models.email_request_compound.email-RequestCompound(), + fki_billingentityinternal_id = 1, + e_user_type = 'EzsignUser', + e_user_logintype = 'Password', + s_user_firstname = 'John', + s_user_lastname = 'Doe', + s_user_loginname = 'JohnDoe', + e_user_ezsignaccess = 'PaidByOffice', + b_user_isactive = True, ) """ diff --git a/test/test_user_request_compound_v2.py b/test/test_user_request_compound_v2.py index da9563afa..2fbed01ea 100644 --- a/test/test_user_request_compound_v2.py +++ b/test/test_user_request_compound_v2.py @@ -36,9 +36,50 @@ def make_instance(self, include_optional) -> UserRequestCompoundV2: model = UserRequestCompoundV2() if include_optional: return UserRequestCompoundV2( + pki_user_id = 70, + fki_agent_id = 1, + fki_broker_id = 26, + fki_assistant_id = 1, + fki_employee_id = 31, + fki_company_id_default = 1, + fki_department_id_default = 21, + fki_timezone_id = 247, + fki_language_id = 2, + obj_email = eZmaxApi.models.email_request_compound.email-RequestCompound(), + fki_billingentityinternal_id = 1, + obj_phone_home = eZmaxApi.models.phone_request_compound_v2.phone-RequestCompoundV2(), + obj_phone_sms = eZmaxApi.models.phone_request_compound_v2.phone-RequestCompoundV2(), + fki_secretquestion_id = 7, + s_user_secretresponse = 'Montreal General Hospital', + fki_module_id_form = 40, + e_user_type = 'EzsignUser', + e_user_logintype = 'Password', + s_user_firstname = 'John', + s_user_lastname = 'Doe', + s_user_loginname = 'JohnDoe', + s_user_jobtitle = 'Sales Representative', + e_user_ezsignaccess = 'PaidByOffice', + b_user_isactive = True, + b_user_validatebyadministration = False, + b_user_validatebydirector = False, + b_user_attachmentautoverified = True, + b_user_changepassword = True ) else: return UserRequestCompoundV2( + fki_company_id_default = 1, + fki_department_id_default = 21, + fki_timezone_id = 247, + fki_language_id = 2, + obj_email = eZmaxApi.models.email_request_compound.email-RequestCompound(), + fki_billingentityinternal_id = 1, + e_user_type = 'EzsignUser', + e_user_logintype = 'Password', + s_user_firstname = 'John', + s_user_lastname = 'Doe', + s_user_loginname = 'JohnDoe', + e_user_ezsignaccess = 'PaidByOffice', + b_user_isactive = True, ) """ diff --git a/test/test_user_request_v2.py b/test/test_user_request_v2.py index b1a21a3f0..1da9d1669 100644 --- a/test/test_user_request_v2.py +++ b/test/test_user_request_v2.py @@ -45,21 +45,10 @@ def make_instance(self, include_optional) -> UserRequestV2: fki_department_id_default = 21, fki_timezone_id = 247, fki_language_id = 2, - obj_email = eZmaxApi.models.email_request.email-Request( - pki_email_id = 22, - fki_emailtype_id = 1, - s_email_address = 'email@example.com', ), + obj_email = eZmaxApi.models.email_request_compound.email-RequestCompound(), fki_billingentityinternal_id = 1, - obj_phone_home = eZmaxApi.models.phone_request_v2.phone-RequestV2( - pki_phone_id = 1, - fki_phonetype_id = 1, - s_phone_extension = '123', - s_phone_e164 = '+15149901516', ), - obj_phone_sms = eZmaxApi.models.phone_request_v2.phone-RequestV2( - pki_phone_id = 1, - fki_phonetype_id = 1, - s_phone_extension = '123', - s_phone_e164 = '+15149901516', ), + obj_phone_home = eZmaxApi.models.phone_request_compound_v2.phone-RequestCompoundV2(), + obj_phone_sms = eZmaxApi.models.phone_request_compound_v2.phone-RequestCompoundV2(), fki_secretquestion_id = 7, s_user_secretresponse = 'Montreal General Hospital', fki_module_id_form = 40, @@ -82,10 +71,7 @@ def make_instance(self, include_optional) -> UserRequestV2: fki_department_id_default = 21, fki_timezone_id = 247, fki_language_id = 2, - obj_email = eZmaxApi.models.email_request.email-Request( - pki_email_id = 22, - fki_emailtype_id = 1, - s_email_address = 'email@example.com', ), + obj_email = eZmaxApi.models.email_request_compound.email-RequestCompound(), fki_billingentityinternal_id = 1, e_user_type = 'EzsignUser', e_user_logintype = 'Password', diff --git a/test/test_user_response.py b/test/test_user_response.py index 29a05a845..996f2a0e4 100644 --- a/test/test_user_response.py +++ b/test/test_user_response.py @@ -49,10 +49,7 @@ def make_instance(self, include_optional) -> UserResponse: s_timezone_name = 'Default', fki_language_id = 2, s_language_name_x = 'English', - obj_email = eZmaxApi.models.email_response.email-Response( - pki_email_id = 22, - fki_emailtype_id = 1, - s_email_address = 'email@example.com', ), + obj_email = eZmaxApi.models.email_response_compound.email-ResponseCompound(), fki_billingentityinternal_id = 1, s_billingentityinternal_description_x = 'Default', obj_phone_home = eZmaxApi.models.phone_response_compound.phone-ResponseCompound(), @@ -105,10 +102,7 @@ def make_instance(self, include_optional) -> UserResponse: s_timezone_name = 'Default', fki_language_id = 2, s_language_name_x = 'English', - obj_email = eZmaxApi.models.email_response.email-Response( - pki_email_id = 22, - fki_emailtype_id = 1, - s_email_address = 'email@example.com', ), + obj_email = eZmaxApi.models.email_response_compound.email-ResponseCompound(), fki_billingentityinternal_id = 1, s_billingentityinternal_description_x = 'Default', e_user_origin = 'BuiltIn', diff --git a/test/test_user_response_compound.py b/test/test_user_response_compound.py index b139791ee..2a44a6ed0 100644 --- a/test/test_user_response_compound.py +++ b/test/test_user_response_compound.py @@ -49,10 +49,7 @@ def make_instance(self, include_optional) -> UserResponseCompound: s_timezone_name = 'Default', fki_language_id = 2, s_language_name_x = 'English', - obj_email = eZmaxApi.models.email_response.email-Response( - pki_email_id = 22, - fki_emailtype_id = 1, - s_email_address = 'email@example.com', ), + obj_email = eZmaxApi.models.email_response_compound.email-ResponseCompound(), fki_billingentityinternal_id = 1, s_billingentityinternal_description_x = 'Default', obj_phone_home = eZmaxApi.models.phone_response_compound.phone-ResponseCompound(), @@ -105,10 +102,7 @@ def make_instance(self, include_optional) -> UserResponseCompound: s_timezone_name = 'Default', fki_language_id = 2, s_language_name_x = 'English', - obj_email = eZmaxApi.models.email_response.email-Response( - pki_email_id = 22, - fki_emailtype_id = 1, - s_email_address = 'email@example.com', ), + obj_email = eZmaxApi.models.email_response_compound.email-ResponseCompound(), fki_billingentityinternal_id = 1, s_billingentityinternal_description_x = 'Default', e_user_origin = 'BuiltIn', diff --git a/test/test_user_send_password_reset_v1_response.py b/test/test_user_send_password_reset_v1_response.py index 3bf8f1ce1..b96f473ce 100644 --- a/test/test_user_send_password_reset_v1_response.py +++ b/test/test_user_send_password_reset_v1_response.py @@ -36,9 +36,26 @@ def make_instance(self, include_optional) -> UserSendPasswordResetV1Response: model = UserSendPasswordResetV1Response() if include_optional: return UserSendPasswordResetV1Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), + obj_debug = {"sMemoryUsage":"11,923MB","sRunTime":"0.6084s","iSQLSelects":3,"iSQLQueries":6,"a_objSQLQuery":[{"sQuery":"SELECT * FROM table","fDuration":1.0E-4},{"sQuery":"SELECT * FROM table","fDuration":1.0E-4}]} ) else: return UserSendPasswordResetV1Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), ) """ diff --git a/test/test_usergroup_create_object_v1_response.py b/test/test_usergroup_create_object_v1_response.py index 083a6ff78..3a47f85b3 100644 --- a/test/test_usergroup_create_object_v1_response.py +++ b/test/test_usergroup_create_object_v1_response.py @@ -36,6 +36,15 @@ def make_instance(self, include_optional) -> UsergroupCreateObjectV1Response: model = UsergroupCreateObjectV1Response() if include_optional: return UsergroupCreateObjectV1Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), + obj_debug = {"sMemoryUsage":"11,923MB","sRunTime":"0.6084s","iSQLSelects":3,"iSQLQueries":6,"a_objSQLQuery":[{"sQuery":"SELECT * FROM table","fDuration":1.0E-4},{"sQuery":"SELECT * FROM table","fDuration":1.0E-4}]}, m_payload = eZmaxApi.models.usergroup_create_object_v1_response_m_payload.usergroup-createObject-v1-Response-mPayload( a_pki_usergroup_id = [ 2 @@ -43,6 +52,14 @@ def make_instance(self, include_optional) -> UsergroupCreateObjectV1Response: ) else: return UsergroupCreateObjectV1Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), m_payload = eZmaxApi.models.usergroup_create_object_v1_response_m_payload.usergroup-createObject-v1-Response-mPayload( a_pki_usergroup_id = [ 2 diff --git a/test/test_usergroup_edit_object_v1_response.py b/test/test_usergroup_edit_object_v1_response.py index 589dcf04f..81fe22b5f 100644 --- a/test/test_usergroup_edit_object_v1_response.py +++ b/test/test_usergroup_edit_object_v1_response.py @@ -36,9 +36,26 @@ def make_instance(self, include_optional) -> UsergroupEditObjectV1Response: model = UsergroupEditObjectV1Response() if include_optional: return UsergroupEditObjectV1Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), + obj_debug = {"sMemoryUsage":"11,923MB","sRunTime":"0.6084s","iSQLSelects":3,"iSQLQueries":6,"a_objSQLQuery":[{"sQuery":"SELECT * FROM table","fDuration":1.0E-4},{"sQuery":"SELECT * FROM table","fDuration":1.0E-4}]} ) else: return UsergroupEditObjectV1Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), ) """ diff --git a/test/test_usergroup_edit_permissions_v1_response.py b/test/test_usergroup_edit_permissions_v1_response.py index dd307845c..4f78ab4ad 100644 --- a/test/test_usergroup_edit_permissions_v1_response.py +++ b/test/test_usergroup_edit_permissions_v1_response.py @@ -36,6 +36,15 @@ def make_instance(self, include_optional) -> UsergroupEditPermissionsV1Response: model = UsergroupEditPermissionsV1Response() if include_optional: return UsergroupEditPermissionsV1Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), + obj_debug = {"sMemoryUsage":"11,923MB","sRunTime":"0.6084s","iSQLSelects":3,"iSQLQueries":6,"a_objSQLQuery":[{"sQuery":"SELECT * FROM table","fDuration":1.0E-4},{"sQuery":"SELECT * FROM table","fDuration":1.0E-4}]}, m_payload = eZmaxApi.models.usergroup_edit_permissions_v1_response_m_payload.usergroup-editPermissions-v1-Response-mPayload( a_pki_permission_id = [ 31 @@ -43,6 +52,14 @@ def make_instance(self, include_optional) -> UsergroupEditPermissionsV1Response: ) else: return UsergroupEditPermissionsV1Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), m_payload = eZmaxApi.models.usergroup_edit_permissions_v1_response_m_payload.usergroup-editPermissions-v1-Response-mPayload( a_pki_permission_id = [ 31 diff --git a/test/test_usergroup_edit_usergroupdelegations_v1_response.py b/test/test_usergroup_edit_usergroupdelegations_v1_response.py index 1c4fee448..19462e8f2 100644 --- a/test/test_usergroup_edit_usergroupdelegations_v1_response.py +++ b/test/test_usergroup_edit_usergroupdelegations_v1_response.py @@ -36,6 +36,15 @@ def make_instance(self, include_optional) -> UsergroupEditUsergroupdelegationsV1 model = UsergroupEditUsergroupdelegationsV1Response() if include_optional: return UsergroupEditUsergroupdelegationsV1Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), + obj_debug = {"sMemoryUsage":"11,923MB","sRunTime":"0.6084s","iSQLSelects":3,"iSQLQueries":6,"a_objSQLQuery":[{"sQuery":"SELECT * FROM table","fDuration":1.0E-4},{"sQuery":"SELECT * FROM table","fDuration":1.0E-4}]}, m_payload = eZmaxApi.models.usergroup_edit_usergroupdelegations_v1_response_m_payload.usergroup-editUsergroupdelegations-v1-Response-mPayload( a_pki_usergroupdelegation_id = [ 141 @@ -43,6 +52,14 @@ def make_instance(self, include_optional) -> UsergroupEditUsergroupdelegationsV1 ) else: return UsergroupEditUsergroupdelegationsV1Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), m_payload = eZmaxApi.models.usergroup_edit_usergroupdelegations_v1_response_m_payload.usergroup-editUsergroupdelegations-v1-Response-mPayload( a_pki_usergroupdelegation_id = [ 141 diff --git a/test/test_usergroup_edit_usergroupmemberships_v1_response.py b/test/test_usergroup_edit_usergroupmemberships_v1_response.py index 618d805cd..bc955aa30 100644 --- a/test/test_usergroup_edit_usergroupmemberships_v1_response.py +++ b/test/test_usergroup_edit_usergroupmemberships_v1_response.py @@ -36,6 +36,15 @@ def make_instance(self, include_optional) -> UsergroupEditUsergroupmembershipsV1 model = UsergroupEditUsergroupmembershipsV1Response() if include_optional: return UsergroupEditUsergroupmembershipsV1Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), + obj_debug = {"sMemoryUsage":"11,923MB","sRunTime":"0.6084s","iSQLSelects":3,"iSQLQueries":6,"a_objSQLQuery":[{"sQuery":"SELECT * FROM table","fDuration":1.0E-4},{"sQuery":"SELECT * FROM table","fDuration":1.0E-4}]}, m_payload = eZmaxApi.models.usergroup_edit_usergroupmemberships_v1_response_m_payload.usergroup-editUsergroupmemberships-v1-Response-mPayload( a_pki_usergroupmembership_id = [ 21 @@ -43,6 +52,14 @@ def make_instance(self, include_optional) -> UsergroupEditUsergroupmembershipsV1 ) else: return UsergroupEditUsergroupmembershipsV1Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), m_payload = eZmaxApi.models.usergroup_edit_usergroupmemberships_v1_response_m_payload.usergroup-editUsergroupmemberships-v1-Response-mPayload( a_pki_usergroupmembership_id = [ 21 diff --git a/test/test_usergroup_get_autocomplete_v2_response.py b/test/test_usergroup_get_autocomplete_v2_response.py index fd7da0872..d235c473d 100644 --- a/test/test_usergroup_get_autocomplete_v2_response.py +++ b/test/test_usergroup_get_autocomplete_v2_response.py @@ -36,6 +36,15 @@ def make_instance(self, include_optional) -> UsergroupGetAutocompleteV2Response: model = UsergroupGetAutocompleteV2Response() if include_optional: return UsergroupGetAutocompleteV2Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), + obj_debug = {"sMemoryUsage":"11,923MB","sRunTime":"0.6084s","iSQLSelects":3,"iSQLQueries":6,"a_objSQLQuery":[{"sQuery":"SELECT * FROM table","fDuration":1.0E-4},{"sQuery":"SELECT * FROM table","fDuration":1.0E-4}]}, m_payload = eZmaxApi.models.usergroup_get_autocomplete_v2_response_m_payload.usergroup-getAutocomplete-v2-Response-mPayload( a_obj_usergroup = [ eZmaxApi.models.usergroup_autocomplete_element_response.usergroup-AutocompleteElement-Response( @@ -46,6 +55,14 @@ def make_instance(self, include_optional) -> UsergroupGetAutocompleteV2Response: ) else: return UsergroupGetAutocompleteV2Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), m_payload = eZmaxApi.models.usergroup_get_autocomplete_v2_response_m_payload.usergroup-getAutocomplete-v2-Response-mPayload( a_obj_usergroup = [ eZmaxApi.models.usergroup_autocomplete_element_response.usergroup-AutocompleteElement-Response( diff --git a/test/test_usergroup_get_list_v1_response.py b/test/test_usergroup_get_list_v1_response.py index 9543edb92..8f87f4da0 100644 --- a/test/test_usergroup_get_list_v1_response.py +++ b/test/test_usergroup_get_list_v1_response.py @@ -36,10 +36,13 @@ def make_instance(self, include_optional) -> UsergroupGetListV1Response: model = UsergroupGetListV1Response() if include_optional: return UsergroupGetListV1Response( + 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.usergroup_get_list_v1_response_m_payload.usergroup-getList-v1-Response-mPayload() ) else: return UsergroupGetListV1Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload_get_list.Common-Response-objDebugPayload_getList(), m_payload = eZmaxApi.models.usergroup_get_list_v1_response_m_payload.usergroup-getList-v1-Response-mPayload(), ) """ diff --git a/test/test_usergroup_get_list_v1_response_m_payload.py b/test/test_usergroup_get_list_v1_response_m_payload.py index 2a8264c34..927d5f1b9 100644 --- a/test/test_usergroup_get_list_v1_response_m_payload.py +++ b/test/test_usergroup_get_list_v1_response_m_payload.py @@ -36,6 +36,8 @@ def make_instance(self, include_optional) -> UsergroupGetListV1ResponseMPayload: model = UsergroupGetListV1ResponseMPayload() if include_optional: return UsergroupGetListV1ResponseMPayload( + i_row_returned = 100, + i_row_filtered = 533, a_obj_usergroup = [ eZmaxApi.models.usergroup_list_element.usergroup-ListElement( pki_usergroup_id = 2, @@ -45,6 +47,8 @@ def make_instance(self, include_optional) -> UsergroupGetListV1ResponseMPayload: ) else: return UsergroupGetListV1ResponseMPayload( + i_row_returned = 100, + i_row_filtered = 533, a_obj_usergroup = [ eZmaxApi.models.usergroup_list_element.usergroup-ListElement( pki_usergroup_id = 2, diff --git a/test/test_usergroup_get_object_v2_response.py b/test/test_usergroup_get_object_v2_response.py index 40cd20909..d758197c8 100644 --- a/test/test_usergroup_get_object_v2_response.py +++ b/test/test_usergroup_get_object_v2_response.py @@ -36,11 +36,28 @@ def make_instance(self, include_optional) -> UsergroupGetObjectV2Response: model = UsergroupGetObjectV2Response() if include_optional: return UsergroupGetObjectV2Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), + obj_debug = {"sMemoryUsage":"11,923MB","sRunTime":"0.6084s","iSQLSelects":3,"iSQLQueries":6,"a_objSQLQuery":[{"sQuery":"SELECT * FROM table","fDuration":1.0E-4},{"sQuery":"SELECT * FROM table","fDuration":1.0E-4}]}, m_payload = eZmaxApi.models.usergroup_get_object_v2_response_m_payload.usergroup-getObject-v2-Response-mPayload( obj_usergroup = eZmaxApi.models.usergroup_response_compound.usergroup-ResponseCompound(), ) ) else: return UsergroupGetObjectV2Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), m_payload = eZmaxApi.models.usergroup_get_object_v2_response_m_payload.usergroup-getObject-v2-Response-mPayload( obj_usergroup = eZmaxApi.models.usergroup_response_compound.usergroup-ResponseCompound(), ), ) diff --git a/test/test_usergroup_get_permissions_v1_response.py b/test/test_usergroup_get_permissions_v1_response.py index da310d816..8f0399a6b 100644 --- a/test/test_usergroup_get_permissions_v1_response.py +++ b/test/test_usergroup_get_permissions_v1_response.py @@ -36,6 +36,15 @@ def make_instance(self, include_optional) -> UsergroupGetPermissionsV1Response: model = UsergroupGetPermissionsV1Response() if include_optional: return UsergroupGetPermissionsV1Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), + obj_debug = {"sMemoryUsage":"11,923MB","sRunTime":"0.6084s","iSQLSelects":3,"iSQLQueries":6,"a_objSQLQuery":[{"sQuery":"SELECT * FROM table","fDuration":1.0E-4},{"sQuery":"SELECT * FROM table","fDuration":1.0E-4}]}, m_payload = eZmaxApi.models.usergroup_get_permissions_v1_response_m_payload.usergroup-getPermissions-v1-Response-mPayload( a_obj_modulegroup = [ eZmaxApi.models.modulegroup_response_compound.modulegroup-ResponseCompound() @@ -43,6 +52,14 @@ def make_instance(self, include_optional) -> UsergroupGetPermissionsV1Response: ) else: return UsergroupGetPermissionsV1Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), m_payload = eZmaxApi.models.usergroup_get_permissions_v1_response_m_payload.usergroup-getPermissions-v1-Response-mPayload( a_obj_modulegroup = [ eZmaxApi.models.modulegroup_response_compound.modulegroup-ResponseCompound() diff --git a/test/test_usergroup_get_usergroupdelegations_v1_response.py b/test/test_usergroup_get_usergroupdelegations_v1_response.py index 04ec41432..0c1450300 100644 --- a/test/test_usergroup_get_usergroupdelegations_v1_response.py +++ b/test/test_usergroup_get_usergroupdelegations_v1_response.py @@ -36,6 +36,15 @@ def make_instance(self, include_optional) -> UsergroupGetUsergroupdelegationsV1R model = UsergroupGetUsergroupdelegationsV1Response() if include_optional: return UsergroupGetUsergroupdelegationsV1Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), + obj_debug = {"sMemoryUsage":"11,923MB","sRunTime":"0.6084s","iSQLSelects":3,"iSQLQueries":6,"a_objSQLQuery":[{"sQuery":"SELECT * FROM table","fDuration":1.0E-4},{"sQuery":"SELECT * FROM table","fDuration":1.0E-4}]}, m_payload = eZmaxApi.models.usergroup_get_usergroupdelegations_v1_response_m_payload.usergroup-getUsergroupdelegations-v1-Response-mPayload( a_obj_usergroupdelegation = [ eZmaxApi.models.usergroupdelegation_response_compound.usergroupdelegation-ResponseCompound() @@ -43,6 +52,14 @@ def make_instance(self, include_optional) -> UsergroupGetUsergroupdelegationsV1R ) else: return UsergroupGetUsergroupdelegationsV1Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), m_payload = eZmaxApi.models.usergroup_get_usergroupdelegations_v1_response_m_payload.usergroup-getUsergroupdelegations-v1-Response-mPayload( a_obj_usergroupdelegation = [ eZmaxApi.models.usergroupdelegation_response_compound.usergroupdelegation-ResponseCompound() diff --git a/test/test_usergroup_get_usergroupmemberships_v1_response.py b/test/test_usergroup_get_usergroupmemberships_v1_response.py index 423c11f59..b1670f542 100644 --- a/test/test_usergroup_get_usergroupmemberships_v1_response.py +++ b/test/test_usergroup_get_usergroupmemberships_v1_response.py @@ -36,6 +36,15 @@ def make_instance(self, include_optional) -> UsergroupGetUsergroupmembershipsV1R model = UsergroupGetUsergroupmembershipsV1Response() if include_optional: return UsergroupGetUsergroupmembershipsV1Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), + obj_debug = {"sMemoryUsage":"11,923MB","sRunTime":"0.6084s","iSQLSelects":3,"iSQLQueries":6,"a_objSQLQuery":[{"sQuery":"SELECT * FROM table","fDuration":1.0E-4},{"sQuery":"SELECT * FROM table","fDuration":1.0E-4}]}, m_payload = eZmaxApi.models.usergroup_get_usergroupmemberships_v1_response_m_payload.usergroup-getUsergroupmemberships-v1-Response-mPayload( a_obj_usergroupmembership = [ eZmaxApi.models.usergroupmembership_response_compound.usergroupmembership-ResponseCompound() @@ -43,6 +52,14 @@ def make_instance(self, include_optional) -> UsergroupGetUsergroupmembershipsV1R ) else: return UsergroupGetUsergroupmembershipsV1Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), m_payload = eZmaxApi.models.usergroup_get_usergroupmemberships_v1_response_m_payload.usergroup-getUsergroupmemberships-v1-Response-mPayload( a_obj_usergroupmembership = [ eZmaxApi.models.usergroupmembership_response_compound.usergroupmembership-ResponseCompound() diff --git a/test/test_usergroup_request_compound.py b/test/test_usergroup_request_compound.py index 4cd19f3ad..e818f417f 100644 --- a/test/test_usergroup_request_compound.py +++ b/test/test_usergroup_request_compound.py @@ -36,9 +36,20 @@ def make_instance(self, include_optional) -> UsergroupRequestCompound: model = UsergroupRequestCompound() if include_optional: return UsergroupRequestCompound( + pki_usergroup_id = 2, + obj_email = eZmaxApi.models.email_request.email-Request( + pki_email_id = 22, + fki_emailtype_id = 1, + s_email_address = 'email@example.com', ), + obj_usergroup_name = eZmaxApi.models.multilingual_usergroup_name.Multilingual-UsergroupName( + s_usergroup_name1 = 'Direction', + s_usergroup_name2 = 'Management', ) ) else: return UsergroupRequestCompound( + obj_usergroup_name = eZmaxApi.models.multilingual_usergroup_name.Multilingual-UsergroupName( + s_usergroup_name1 = 'Direction', + s_usergroup_name2 = 'Management', ), ) """ diff --git a/test/test_usergroup_response_compound.py b/test/test_usergroup_response_compound.py index 6b92fbdf6..f17cee75d 100644 --- a/test/test_usergroup_response_compound.py +++ b/test/test_usergroup_response_compound.py @@ -36,9 +36,22 @@ def make_instance(self, include_optional) -> UsergroupResponseCompound: model = UsergroupResponseCompound() if include_optional: return UsergroupResponseCompound( + pki_usergroup_id = 2, + obj_usergroup_name = eZmaxApi.models.multilingual_usergroup_name.Multilingual-UsergroupName( + s_usergroup_name1 = 'Direction', + s_usergroup_name2 = 'Management', ), + s_usergroup_name_x = 'Administration', + obj_email = eZmaxApi.models.email_request.email-Request( + pki_email_id = 22, + fki_emailtype_id = 1, + s_email_address = 'email@example.com', ) ) else: return UsergroupResponseCompound( + pki_usergroup_id = 2, + obj_usergroup_name = eZmaxApi.models.multilingual_usergroup_name.Multilingual-UsergroupName( + s_usergroup_name1 = 'Direction', + s_usergroup_name2 = 'Management', ), ) """ diff --git a/test/test_usergroupdelegation_create_object_v1_response.py b/test/test_usergroupdelegation_create_object_v1_response.py index 0a5cdfed9..af651c6a9 100644 --- a/test/test_usergroupdelegation_create_object_v1_response.py +++ b/test/test_usergroupdelegation_create_object_v1_response.py @@ -36,6 +36,15 @@ def make_instance(self, include_optional) -> UsergroupdelegationCreateObjectV1Re model = UsergroupdelegationCreateObjectV1Response() if include_optional: return UsergroupdelegationCreateObjectV1Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), + obj_debug = {"sMemoryUsage":"11,923MB","sRunTime":"0.6084s","iSQLSelects":3,"iSQLQueries":6,"a_objSQLQuery":[{"sQuery":"SELECT * FROM table","fDuration":1.0E-4},{"sQuery":"SELECT * FROM table","fDuration":1.0E-4}]}, m_payload = eZmaxApi.models.usergroupdelegation_create_object_v1_response_m_payload.usergroupdelegation-createObject-v1-Response-mPayload( a_pki_usergroupdelegation_id = [ 141 @@ -43,6 +52,14 @@ def make_instance(self, include_optional) -> UsergroupdelegationCreateObjectV1Re ) else: return UsergroupdelegationCreateObjectV1Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), m_payload = eZmaxApi.models.usergroupdelegation_create_object_v1_response_m_payload.usergroupdelegation-createObject-v1-Response-mPayload( a_pki_usergroupdelegation_id = [ 141 diff --git a/test/test_usergroupdelegation_delete_object_v1_response.py b/test/test_usergroupdelegation_delete_object_v1_response.py index ce79faa4b..510900c38 100644 --- a/test/test_usergroupdelegation_delete_object_v1_response.py +++ b/test/test_usergroupdelegation_delete_object_v1_response.py @@ -36,9 +36,26 @@ def make_instance(self, include_optional) -> UsergroupdelegationDeleteObjectV1Re model = UsergroupdelegationDeleteObjectV1Response() if include_optional: return UsergroupdelegationDeleteObjectV1Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), + obj_debug = {"sMemoryUsage":"11,923MB","sRunTime":"0.6084s","iSQLSelects":3,"iSQLQueries":6,"a_objSQLQuery":[{"sQuery":"SELECT * FROM table","fDuration":1.0E-4},{"sQuery":"SELECT * FROM table","fDuration":1.0E-4}]} ) else: return UsergroupdelegationDeleteObjectV1Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), ) """ diff --git a/test/test_usergroupdelegation_edit_object_v1_response.py b/test/test_usergroupdelegation_edit_object_v1_response.py index 80f2e8875..989b06527 100644 --- a/test/test_usergroupdelegation_edit_object_v1_response.py +++ b/test/test_usergroupdelegation_edit_object_v1_response.py @@ -36,9 +36,26 @@ def make_instance(self, include_optional) -> UsergroupdelegationEditObjectV1Resp model = UsergroupdelegationEditObjectV1Response() if include_optional: return UsergroupdelegationEditObjectV1Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), + obj_debug = {"sMemoryUsage":"11,923MB","sRunTime":"0.6084s","iSQLSelects":3,"iSQLQueries":6,"a_objSQLQuery":[{"sQuery":"SELECT * FROM table","fDuration":1.0E-4},{"sQuery":"SELECT * FROM table","fDuration":1.0E-4}]} ) else: return UsergroupdelegationEditObjectV1Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), ) """ diff --git a/test/test_usergroupdelegation_get_object_v2_response.py b/test/test_usergroupdelegation_get_object_v2_response.py index 2f502c695..10b3804d2 100644 --- a/test/test_usergroupdelegation_get_object_v2_response.py +++ b/test/test_usergroupdelegation_get_object_v2_response.py @@ -36,11 +36,28 @@ def make_instance(self, include_optional) -> UsergroupdelegationGetObjectV2Respo model = UsergroupdelegationGetObjectV2Response() if include_optional: return UsergroupdelegationGetObjectV2Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), + obj_debug = {"sMemoryUsage":"11,923MB","sRunTime":"0.6084s","iSQLSelects":3,"iSQLQueries":6,"a_objSQLQuery":[{"sQuery":"SELECT * FROM table","fDuration":1.0E-4},{"sQuery":"SELECT * FROM table","fDuration":1.0E-4}]}, m_payload = eZmaxApi.models.usergroupdelegation_get_object_v2_response_m_payload.usergroupdelegation-getObject-v2-Response-mPayload( obj_usergroupdelegation = eZmaxApi.models.usergroupdelegation_response_compound.usergroupdelegation-ResponseCompound(), ) ) else: return UsergroupdelegationGetObjectV2Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), m_payload = eZmaxApi.models.usergroupdelegation_get_object_v2_response_m_payload.usergroupdelegation-getObject-v2-Response-mPayload( obj_usergroupdelegation = eZmaxApi.models.usergroupdelegation_response_compound.usergroupdelegation-ResponseCompound(), ), ) diff --git a/test/test_usergroupdelegation_request_compound.py b/test/test_usergroupdelegation_request_compound.py index dd5908113..8a4b8db6a 100644 --- a/test/test_usergroupdelegation_request_compound.py +++ b/test/test_usergroupdelegation_request_compound.py @@ -36,9 +36,14 @@ def make_instance(self, include_optional) -> UsergroupdelegationRequestCompound: model = UsergroupdelegationRequestCompound() if include_optional: return UsergroupdelegationRequestCompound( + pki_usergroupdelegation_id = 141, + fki_usergroup_id = 2, + fki_user_id = 70 ) else: return UsergroupdelegationRequestCompound( + fki_usergroup_id = 2, + fki_user_id = 70, ) """ diff --git a/test/test_usergroupdelegation_response_compound.py b/test/test_usergroupdelegation_response_compound.py index 5c691bb06..086055cf0 100644 --- a/test/test_usergroupdelegation_response_compound.py +++ b/test/test_usergroupdelegation_response_compound.py @@ -36,9 +36,24 @@ def make_instance(self, include_optional) -> UsergroupdelegationResponseCompound model = UsergroupdelegationResponseCompound() if include_optional: return UsergroupdelegationResponseCompound( + pki_usergroupdelegation_id = 141, + fki_usergroup_id = 2, + fki_user_id = 70, + s_user_firstname = 'John', + s_user_lastname = 'Doe', + s_user_loginname = 'JohnDoe', + s_email_address = 'email@example.com', + s_usergroup_name_x = 'Administration' ) else: return UsergroupdelegationResponseCompound( + pki_usergroupdelegation_id = 141, + fki_usergroup_id = 2, + fki_user_id = 70, + s_user_firstname = 'John', + s_user_lastname = 'Doe', + s_user_loginname = 'JohnDoe', + s_usergroup_name_x = 'Administration', ) """ diff --git a/test/test_usergroupexternal_create_object_v1_response.py b/test/test_usergroupexternal_create_object_v1_response.py index 13598c184..1a9046159 100644 --- a/test/test_usergroupexternal_create_object_v1_response.py +++ b/test/test_usergroupexternal_create_object_v1_response.py @@ -36,6 +36,15 @@ def make_instance(self, include_optional) -> UsergroupexternalCreateObjectV1Resp model = UsergroupexternalCreateObjectV1Response() if include_optional: return UsergroupexternalCreateObjectV1Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), + obj_debug = {"sMemoryUsage":"11,923MB","sRunTime":"0.6084s","iSQLSelects":3,"iSQLQueries":6,"a_objSQLQuery":[{"sQuery":"SELECT * FROM table","fDuration":1.0E-4},{"sQuery":"SELECT * FROM table","fDuration":1.0E-4}]}, m_payload = eZmaxApi.models.usergroupexternal_create_object_v1_response_m_payload.usergroupexternal-createObject-v1-Response-mPayload( a_pki_usergroupexternal_id = [ 16 @@ -43,6 +52,14 @@ def make_instance(self, include_optional) -> UsergroupexternalCreateObjectV1Resp ) else: return UsergroupexternalCreateObjectV1Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), m_payload = eZmaxApi.models.usergroupexternal_create_object_v1_response_m_payload.usergroupexternal-createObject-v1-Response-mPayload( a_pki_usergroupexternal_id = [ 16 diff --git a/test/test_usergroupexternal_delete_object_v1_response.py b/test/test_usergroupexternal_delete_object_v1_response.py index 8c1bcf0ce..5936c14f8 100644 --- a/test/test_usergroupexternal_delete_object_v1_response.py +++ b/test/test_usergroupexternal_delete_object_v1_response.py @@ -36,9 +36,26 @@ def make_instance(self, include_optional) -> UsergroupexternalDeleteObjectV1Resp model = UsergroupexternalDeleteObjectV1Response() if include_optional: return UsergroupexternalDeleteObjectV1Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), + obj_debug = {"sMemoryUsage":"11,923MB","sRunTime":"0.6084s","iSQLSelects":3,"iSQLQueries":6,"a_objSQLQuery":[{"sQuery":"SELECT * FROM table","fDuration":1.0E-4},{"sQuery":"SELECT * FROM table","fDuration":1.0E-4}]} ) else: return UsergroupexternalDeleteObjectV1Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), ) """ diff --git a/test/test_usergroupexternal_edit_object_v1_response.py b/test/test_usergroupexternal_edit_object_v1_response.py index 3aa56e97c..30dc46409 100644 --- a/test/test_usergroupexternal_edit_object_v1_response.py +++ b/test/test_usergroupexternal_edit_object_v1_response.py @@ -36,9 +36,26 @@ def make_instance(self, include_optional) -> UsergroupexternalEditObjectV1Respon model = UsergroupexternalEditObjectV1Response() if include_optional: return UsergroupexternalEditObjectV1Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), + obj_debug = {"sMemoryUsage":"11,923MB","sRunTime":"0.6084s","iSQLSelects":3,"iSQLQueries":6,"a_objSQLQuery":[{"sQuery":"SELECT * FROM table","fDuration":1.0E-4},{"sQuery":"SELECT * FROM table","fDuration":1.0E-4}]} ) else: return UsergroupexternalEditObjectV1Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), ) """ diff --git a/test/test_usergroupexternal_get_autocomplete_v2_response.py b/test/test_usergroupexternal_get_autocomplete_v2_response.py index b54ae8b27..2aceb0c51 100644 --- a/test/test_usergroupexternal_get_autocomplete_v2_response.py +++ b/test/test_usergroupexternal_get_autocomplete_v2_response.py @@ -36,6 +36,15 @@ def make_instance(self, include_optional) -> UsergroupexternalGetAutocompleteV2R model = UsergroupexternalGetAutocompleteV2Response() if include_optional: return UsergroupexternalGetAutocompleteV2Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), + obj_debug = {"sMemoryUsage":"11,923MB","sRunTime":"0.6084s","iSQLSelects":3,"iSQLQueries":6,"a_objSQLQuery":[{"sQuery":"SELECT * FROM table","fDuration":1.0E-4},{"sQuery":"SELECT * FROM table","fDuration":1.0E-4}]}, m_payload = eZmaxApi.models.usergroupexternal_get_autocomplete_v2_response_m_payload.usergroupexternal-getAutocomplete-v2-Response-mPayload( a_obj_usergroupexternal = [ eZmaxApi.models.usergroupexternal_autocomplete_element_response.usergroupexternal-AutocompleteElement-Response( @@ -46,6 +55,14 @@ def make_instance(self, include_optional) -> UsergroupexternalGetAutocompleteV2R ) else: return UsergroupexternalGetAutocompleteV2Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), m_payload = eZmaxApi.models.usergroupexternal_get_autocomplete_v2_response_m_payload.usergroupexternal-getAutocomplete-v2-Response-mPayload( a_obj_usergroupexternal = [ eZmaxApi.models.usergroupexternal_autocomplete_element_response.usergroupexternal-AutocompleteElement-Response( diff --git a/test/test_usergroupexternal_get_list_v1_response.py b/test/test_usergroupexternal_get_list_v1_response.py index 3fc90e0dd..99d45267d 100644 --- a/test/test_usergroupexternal_get_list_v1_response.py +++ b/test/test_usergroupexternal_get_list_v1_response.py @@ -36,10 +36,13 @@ def make_instance(self, include_optional) -> UsergroupexternalGetListV1Response: model = UsergroupexternalGetListV1Response() if include_optional: return UsergroupexternalGetListV1Response( + 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.usergroupexternal_get_list_v1_response_m_payload.usergroupexternal-getList-v1-Response-mPayload() ) else: return UsergroupexternalGetListV1Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload_get_list.Common-Response-objDebugPayload_getList(), m_payload = eZmaxApi.models.usergroupexternal_get_list_v1_response_m_payload.usergroupexternal-getList-v1-Response-mPayload(), ) """ diff --git a/test/test_usergroupexternal_get_list_v1_response_m_payload.py b/test/test_usergroupexternal_get_list_v1_response_m_payload.py index c9a8ddc94..0fd9efda2 100644 --- a/test/test_usergroupexternal_get_list_v1_response_m_payload.py +++ b/test/test_usergroupexternal_get_list_v1_response_m_payload.py @@ -36,6 +36,8 @@ def make_instance(self, include_optional) -> UsergroupexternalGetListV1ResponseM model = UsergroupexternalGetListV1ResponseMPayload() if include_optional: return UsergroupexternalGetListV1ResponseMPayload( + i_row_returned = 100, + i_row_filtered = 533, a_obj_usergroupexternal = [ eZmaxApi.models.usergroupexternal_list_element.usergroupexternal-ListElement( pki_usergroupexternal_id = 16, @@ -45,6 +47,8 @@ def make_instance(self, include_optional) -> UsergroupexternalGetListV1ResponseM ) else: return UsergroupexternalGetListV1ResponseMPayload( + i_row_returned = 100, + i_row_filtered = 533, a_obj_usergroupexternal = [ eZmaxApi.models.usergroupexternal_list_element.usergroupexternal-ListElement( pki_usergroupexternal_id = 16, diff --git a/test/test_usergroupexternal_get_object_v2_response.py b/test/test_usergroupexternal_get_object_v2_response.py index 19e52996c..4e9dae80b 100644 --- a/test/test_usergroupexternal_get_object_v2_response.py +++ b/test/test_usergroupexternal_get_object_v2_response.py @@ -36,11 +36,28 @@ def make_instance(self, include_optional) -> UsergroupexternalGetObjectV2Respons model = UsergroupexternalGetObjectV2Response() if include_optional: return UsergroupexternalGetObjectV2Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), + obj_debug = {"sMemoryUsage":"11,923MB","sRunTime":"0.6084s","iSQLSelects":3,"iSQLQueries":6,"a_objSQLQuery":[{"sQuery":"SELECT * FROM table","fDuration":1.0E-4},{"sQuery":"SELECT * FROM table","fDuration":1.0E-4}]}, m_payload = eZmaxApi.models.usergroupexternal_get_object_v2_response_m_payload.usergroupexternal-getObject-v2-Response-mPayload( obj_usergroupexternal = eZmaxApi.models.usergroupexternal_response_compound.usergroupexternal-ResponseCompound(), ) ) else: return UsergroupexternalGetObjectV2Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), m_payload = eZmaxApi.models.usergroupexternal_get_object_v2_response_m_payload.usergroupexternal-getObject-v2-Response-mPayload( obj_usergroupexternal = eZmaxApi.models.usergroupexternal_response_compound.usergroupexternal-ResponseCompound(), ), ) diff --git a/test/test_usergroupexternal_get_usergroupexternalmemberships_v1_response.py b/test/test_usergroupexternal_get_usergroupexternalmemberships_v1_response.py index 49466061b..063d43e66 100644 --- a/test/test_usergroupexternal_get_usergroupexternalmemberships_v1_response.py +++ b/test/test_usergroupexternal_get_usergroupexternalmemberships_v1_response.py @@ -36,6 +36,15 @@ def make_instance(self, include_optional) -> UsergroupexternalGetUsergroupextern model = UsergroupexternalGetUsergroupexternalmembershipsV1Response() if include_optional: return UsergroupexternalGetUsergroupexternalmembershipsV1Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), + obj_debug = {"sMemoryUsage":"11,923MB","sRunTime":"0.6084s","iSQLSelects":3,"iSQLQueries":6,"a_objSQLQuery":[{"sQuery":"SELECT * FROM table","fDuration":1.0E-4},{"sQuery":"SELECT * FROM table","fDuration":1.0E-4}]}, m_payload = eZmaxApi.models.usergroupexternal_get_usergroupexternalmemberships_v1_response_m_payload.usergroupexternal-getUsergroupexternalmemberships-v1-Response-mPayload( a_obj_usergroupexternalmembership = [ eZmaxApi.models.usergroupexternalmembership_response_compound.usergroupexternalmembership-ResponseCompound() @@ -43,6 +52,14 @@ def make_instance(self, include_optional) -> UsergroupexternalGetUsergroupextern ) else: return UsergroupexternalGetUsergroupexternalmembershipsV1Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), m_payload = eZmaxApi.models.usergroupexternal_get_usergroupexternalmemberships_v1_response_m_payload.usergroupexternal-getUsergroupexternalmemberships-v1-Response-mPayload( a_obj_usergroupexternalmembership = [ eZmaxApi.models.usergroupexternalmembership_response_compound.usergroupexternalmembership-ResponseCompound() diff --git a/test/test_usergroupexternal_get_usergroups_v1_response.py b/test/test_usergroupexternal_get_usergroups_v1_response.py index 5022d4ab1..9897f392b 100644 --- a/test/test_usergroupexternal_get_usergroups_v1_response.py +++ b/test/test_usergroupexternal_get_usergroups_v1_response.py @@ -36,6 +36,15 @@ def make_instance(self, include_optional) -> UsergroupexternalGetUsergroupsV1Res model = UsergroupexternalGetUsergroupsV1Response() if include_optional: return UsergroupexternalGetUsergroupsV1Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), + obj_debug = {"sMemoryUsage":"11,923MB","sRunTime":"0.6084s","iSQLSelects":3,"iSQLQueries":6,"a_objSQLQuery":[{"sQuery":"SELECT * FROM table","fDuration":1.0E-4},{"sQuery":"SELECT * FROM table","fDuration":1.0E-4}]}, m_payload = eZmaxApi.models.usergroupexternal_get_usergroups_v1_response_m_payload.usergroupexternal-getUsergroups-v1-Response-mPayload( a_obj_usergroup = [ eZmaxApi.models.usergroup_response_compound.usergroup-ResponseCompound() @@ -43,6 +52,14 @@ def make_instance(self, include_optional) -> UsergroupexternalGetUsergroupsV1Res ) else: return UsergroupexternalGetUsergroupsV1Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), m_payload = eZmaxApi.models.usergroupexternal_get_usergroups_v1_response_m_payload.usergroupexternal-getUsergroups-v1-Response-mPayload( a_obj_usergroup = [ eZmaxApi.models.usergroup_response_compound.usergroup-ResponseCompound() diff --git a/test/test_usergroupexternal_request_compound.py b/test/test_usergroupexternal_request_compound.py index a280695cd..14b4ed24a 100644 --- a/test/test_usergroupexternal_request_compound.py +++ b/test/test_usergroupexternal_request_compound.py @@ -36,9 +36,14 @@ def make_instance(self, include_optional) -> UsergroupexternalRequestCompound: model = UsergroupexternalRequestCompound() if include_optional: return UsergroupexternalRequestCompound( + pki_usergroupexternal_id = 16, + s_usergroupexternal_name = 'Administrators', + s_usergroupexternal_id = '5140-1542' ) else: return UsergroupexternalRequestCompound( + s_usergroupexternal_name = 'Administrators', + s_usergroupexternal_id = '5140-1542', ) """ diff --git a/test/test_usergroupexternal_response_compound.py b/test/test_usergroupexternal_response_compound.py index 223471a72..4e109aae8 100644 --- a/test/test_usergroupexternal_response_compound.py +++ b/test/test_usergroupexternal_response_compound.py @@ -36,9 +36,15 @@ def make_instance(self, include_optional) -> UsergroupexternalResponseCompound: model = UsergroupexternalResponseCompound() if include_optional: return UsergroupexternalResponseCompound( + pki_usergroupexternal_id = 16, + s_usergroupexternal_name = 'Administrators', + s_usergroupexternal_id = '5140-1542' ) else: return UsergroupexternalResponseCompound( + pki_usergroupexternal_id = 16, + s_usergroupexternal_name = 'Administrators', + s_usergroupexternal_id = '5140-1542', ) """ diff --git a/test/test_usergroupexternalmembership_response_compound.py b/test/test_usergroupexternalmembership_response_compound.py index 92e7f3170..de668e720 100644 --- a/test/test_usergroupexternalmembership_response_compound.py +++ b/test/test_usergroupexternalmembership_response_compound.py @@ -36,9 +36,25 @@ def make_instance(self, include_optional) -> UsergroupexternalmembershipResponse model = UsergroupexternalmembershipResponseCompound() if include_optional: return UsergroupexternalmembershipResponseCompound( + pki_usergroupexternalmembership_id = 21, + fki_usergroupexternal_id = 16, + fki_user_id = 70, + s_user_firstname = 'John', + s_user_lastname = 'Doe', + s_user_loginname = 'JohnDoe', + s_email_address = 'email@example.com', + s_usergroupexternal_name = 'Administrators' ) else: return UsergroupexternalmembershipResponseCompound( + pki_usergroupexternalmembership_id = 21, + fki_usergroupexternal_id = 16, + fki_user_id = 70, + s_user_firstname = 'John', + s_user_lastname = 'Doe', + s_user_loginname = 'JohnDoe', + s_email_address = 'email@example.com', + s_usergroupexternal_name = 'Administrators', ) """ diff --git a/test/test_usergroupmembership_create_object_v1_response.py b/test/test_usergroupmembership_create_object_v1_response.py index 527e6def6..b53378621 100644 --- a/test/test_usergroupmembership_create_object_v1_response.py +++ b/test/test_usergroupmembership_create_object_v1_response.py @@ -36,6 +36,15 @@ def make_instance(self, include_optional) -> UsergroupmembershipCreateObjectV1Re model = UsergroupmembershipCreateObjectV1Response() if include_optional: return UsergroupmembershipCreateObjectV1Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), + obj_debug = {"sMemoryUsage":"11,923MB","sRunTime":"0.6084s","iSQLSelects":3,"iSQLQueries":6,"a_objSQLQuery":[{"sQuery":"SELECT * FROM table","fDuration":1.0E-4},{"sQuery":"SELECT * FROM table","fDuration":1.0E-4}]}, m_payload = eZmaxApi.models.usergroupmembership_create_object_v1_response_m_payload.usergroupmembership-createObject-v1-Response-mPayload( a_pki_usergroupmembership_id = [ 21 @@ -43,6 +52,14 @@ def make_instance(self, include_optional) -> UsergroupmembershipCreateObjectV1Re ) else: return UsergroupmembershipCreateObjectV1Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), m_payload = eZmaxApi.models.usergroupmembership_create_object_v1_response_m_payload.usergroupmembership-createObject-v1-Response-mPayload( a_pki_usergroupmembership_id = [ 21 diff --git a/test/test_usergroupmembership_delete_object_v1_response.py b/test/test_usergroupmembership_delete_object_v1_response.py index c62917721..3511b9c57 100644 --- a/test/test_usergroupmembership_delete_object_v1_response.py +++ b/test/test_usergroupmembership_delete_object_v1_response.py @@ -36,9 +36,26 @@ def make_instance(self, include_optional) -> UsergroupmembershipDeleteObjectV1Re model = UsergroupmembershipDeleteObjectV1Response() if include_optional: return UsergroupmembershipDeleteObjectV1Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), + obj_debug = {"sMemoryUsage":"11,923MB","sRunTime":"0.6084s","iSQLSelects":3,"iSQLQueries":6,"a_objSQLQuery":[{"sQuery":"SELECT * FROM table","fDuration":1.0E-4},{"sQuery":"SELECT * FROM table","fDuration":1.0E-4}]} ) else: return UsergroupmembershipDeleteObjectV1Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), ) """ diff --git a/test/test_usergroupmembership_edit_object_v1_response.py b/test/test_usergroupmembership_edit_object_v1_response.py index 5279e3893..4ef0eeffa 100644 --- a/test/test_usergroupmembership_edit_object_v1_response.py +++ b/test/test_usergroupmembership_edit_object_v1_response.py @@ -36,9 +36,26 @@ def make_instance(self, include_optional) -> UsergroupmembershipEditObjectV1Resp model = UsergroupmembershipEditObjectV1Response() if include_optional: return UsergroupmembershipEditObjectV1Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), + obj_debug = {"sMemoryUsage":"11,923MB","sRunTime":"0.6084s","iSQLSelects":3,"iSQLQueries":6,"a_objSQLQuery":[{"sQuery":"SELECT * FROM table","fDuration":1.0E-4},{"sQuery":"SELECT * FROM table","fDuration":1.0E-4}]} ) else: return UsergroupmembershipEditObjectV1Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), ) """ diff --git a/test/test_usergroupmembership_get_object_v2_response.py b/test/test_usergroupmembership_get_object_v2_response.py index e9c338e58..8ae8db356 100644 --- a/test/test_usergroupmembership_get_object_v2_response.py +++ b/test/test_usergroupmembership_get_object_v2_response.py @@ -36,11 +36,28 @@ def make_instance(self, include_optional) -> UsergroupmembershipGetObjectV2Respo model = UsergroupmembershipGetObjectV2Response() if include_optional: return UsergroupmembershipGetObjectV2Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), + obj_debug = {"sMemoryUsage":"11,923MB","sRunTime":"0.6084s","iSQLSelects":3,"iSQLQueries":6,"a_objSQLQuery":[{"sQuery":"SELECT * FROM table","fDuration":1.0E-4},{"sQuery":"SELECT * FROM table","fDuration":1.0E-4}]}, m_payload = eZmaxApi.models.usergroupmembership_get_object_v2_response_m_payload.usergroupmembership-getObject-v2-Response-mPayload( obj_usergroupmembership = eZmaxApi.models.usergroupmembership_response_compound.usergroupmembership-ResponseCompound(), ) ) else: return UsergroupmembershipGetObjectV2Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), m_payload = eZmaxApi.models.usergroupmembership_get_object_v2_response_m_payload.usergroupmembership-getObject-v2-Response-mPayload( obj_usergroupmembership = eZmaxApi.models.usergroupmembership_response_compound.usergroupmembership-ResponseCompound(), ), ) diff --git a/test/test_usergroupmembership_request_compound.py b/test/test_usergroupmembership_request_compound.py index bb986bf6e..5c47b6d8f 100644 --- a/test/test_usergroupmembership_request_compound.py +++ b/test/test_usergroupmembership_request_compound.py @@ -36,9 +36,14 @@ def make_instance(self, include_optional) -> UsergroupmembershipRequestCompound: model = UsergroupmembershipRequestCompound() if include_optional: return UsergroupmembershipRequestCompound( + pki_usergroupmembership_id = 21, + fki_usergroup_id = 2, + fki_user_id = 70, + fki_usergroupexternal_id = 16 ) else: return UsergroupmembershipRequestCompound( + fki_usergroup_id = 2, ) """ diff --git a/test/test_usergroupmembership_response_compound.py b/test/test_usergroupmembership_response_compound.py index 09d02463b..e306de56a 100644 --- a/test/test_usergroupmembership_response_compound.py +++ b/test/test_usergroupmembership_response_compound.py @@ -36,9 +36,22 @@ def make_instance(self, include_optional) -> UsergroupmembershipResponseCompound model = UsergroupmembershipResponseCompound() if include_optional: return UsergroupmembershipResponseCompound( + pki_usergroupmembership_id = 21, + fki_usergroup_id = 2, + fki_user_id = 70, + fki_usergroupexternal_id = 16, + s_user_firstname = 'John', + s_user_lastname = 'Doe', + s_user_loginname = 'JohnDoe', + s_email_address = 'email@example.com', + s_usergroup_name_x = 'Administration', + s_usergroupexternal_name = 'Administrators' ) else: return UsergroupmembershipResponseCompound( + pki_usergroupmembership_id = 21, + fki_usergroup_id = 2, + s_usergroup_name_x = 'Administration', ) """ diff --git a/test/test_userlogintype_get_autocomplete_v2_response.py b/test/test_userlogintype_get_autocomplete_v2_response.py index 953532509..0411643c7 100644 --- a/test/test_userlogintype_get_autocomplete_v2_response.py +++ b/test/test_userlogintype_get_autocomplete_v2_response.py @@ -36,6 +36,15 @@ def make_instance(self, include_optional) -> UserlogintypeGetAutocompleteV2Respo model = UserlogintypeGetAutocompleteV2Response() if include_optional: return UserlogintypeGetAutocompleteV2Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), + obj_debug = {"sMemoryUsage":"11,923MB","sRunTime":"0.6084s","iSQLSelects":3,"iSQLQueries":6,"a_objSQLQuery":[{"sQuery":"SELECT * FROM table","fDuration":1.0E-4},{"sQuery":"SELECT * FROM table","fDuration":1.0E-4}]}, m_payload = eZmaxApi.models.userlogintype_get_autocomplete_v2_response_m_payload.userlogintype-getAutocomplete-v2-Response-mPayload( a_obj_userlogintype = [ eZmaxApi.models.userlogintype_autocomplete_element_response.userlogintype-AutocompleteElement-Response( @@ -46,6 +55,14 @@ def make_instance(self, include_optional) -> UserlogintypeGetAutocompleteV2Respo ) else: return UserlogintypeGetAutocompleteV2Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), m_payload = eZmaxApi.models.userlogintype_get_autocomplete_v2_response_m_payload.userlogintype-getAutocomplete-v2-Response-mPayload( a_obj_userlogintype = [ eZmaxApi.models.userlogintype_autocomplete_element_response.userlogintype-AutocompleteElement-Response( diff --git a/test/test_userstaged_create_user_v1_response.py b/test/test_userstaged_create_user_v1_response.py index a28f82e75..4e6cb74e2 100644 --- a/test/test_userstaged_create_user_v1_response.py +++ b/test/test_userstaged_create_user_v1_response.py @@ -36,11 +36,28 @@ def make_instance(self, include_optional) -> UserstagedCreateUserV1Response: model = UserstagedCreateUserV1Response() if include_optional: return UserstagedCreateUserV1Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), + obj_debug = {"sMemoryUsage":"11,923MB","sRunTime":"0.6084s","iSQLSelects":3,"iSQLQueries":6,"a_objSQLQuery":[{"sQuery":"SELECT * FROM table","fDuration":1.0E-4},{"sQuery":"SELECT * FROM table","fDuration":1.0E-4}]}, m_payload = eZmaxApi.models.userstaged_create_user_v1_response_m_payload.userstaged-createUser-v1-Response-mPayload( pki_user_id = 70, ) ) else: return UserstagedCreateUserV1Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), m_payload = eZmaxApi.models.userstaged_create_user_v1_response_m_payload.userstaged-createUser-v1-Response-mPayload( pki_user_id = 70, ), ) diff --git a/test/test_userstaged_delete_object_v1_response.py b/test/test_userstaged_delete_object_v1_response.py index 1f927c592..9a0acbf6a 100644 --- a/test/test_userstaged_delete_object_v1_response.py +++ b/test/test_userstaged_delete_object_v1_response.py @@ -36,9 +36,26 @@ def make_instance(self, include_optional) -> UserstagedDeleteObjectV1Response: model = UserstagedDeleteObjectV1Response() if include_optional: return UserstagedDeleteObjectV1Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), + obj_debug = {"sMemoryUsage":"11,923MB","sRunTime":"0.6084s","iSQLSelects":3,"iSQLQueries":6,"a_objSQLQuery":[{"sQuery":"SELECT * FROM table","fDuration":1.0E-4},{"sQuery":"SELECT * FROM table","fDuration":1.0E-4}]} ) else: return UserstagedDeleteObjectV1Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), ) """ diff --git a/test/test_userstaged_get_list_v1_response.py b/test/test_userstaged_get_list_v1_response.py index a997a6d48..7114ce465 100644 --- a/test/test_userstaged_get_list_v1_response.py +++ b/test/test_userstaged_get_list_v1_response.py @@ -36,10 +36,13 @@ def make_instance(self, include_optional) -> UserstagedGetListV1Response: model = UserstagedGetListV1Response() if include_optional: return UserstagedGetListV1Response( + 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.userstaged_get_list_v1_response_m_payload.userstaged-getList-v1-Response-mPayload() ) else: return UserstagedGetListV1Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload_get_list.Common-Response-objDebugPayload_getList(), m_payload = eZmaxApi.models.userstaged_get_list_v1_response_m_payload.userstaged-getList-v1-Response-mPayload(), ) """ diff --git a/test/test_userstaged_get_list_v1_response_m_payload.py b/test/test_userstaged_get_list_v1_response_m_payload.py index c74c3c43d..c1c497d31 100644 --- a/test/test_userstaged_get_list_v1_response_m_payload.py +++ b/test/test_userstaged_get_list_v1_response_m_payload.py @@ -36,6 +36,8 @@ def make_instance(self, include_optional) -> UserstagedGetListV1ResponseMPayload model = UserstagedGetListV1ResponseMPayload() if include_optional: return UserstagedGetListV1ResponseMPayload( + i_row_returned = 100, + i_row_filtered = 533, a_obj_userstaged = [ eZmaxApi.models.userstaged_list_element.userstaged-ListElement( pki_userstaged_id = 90, @@ -47,6 +49,8 @@ def make_instance(self, include_optional) -> UserstagedGetListV1ResponseMPayload ) else: return UserstagedGetListV1ResponseMPayload( + i_row_returned = 100, + i_row_filtered = 533, a_obj_userstaged = [ eZmaxApi.models.userstaged_list_element.userstaged-ListElement( pki_userstaged_id = 90, diff --git a/test/test_userstaged_get_object_v2_response.py b/test/test_userstaged_get_object_v2_response.py index 21fda29d4..e55e20fd8 100644 --- a/test/test_userstaged_get_object_v2_response.py +++ b/test/test_userstaged_get_object_v2_response.py @@ -36,11 +36,28 @@ def make_instance(self, include_optional) -> UserstagedGetObjectV2Response: model = UserstagedGetObjectV2Response() if include_optional: return UserstagedGetObjectV2Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), + obj_debug = {"sMemoryUsage":"11,923MB","sRunTime":"0.6084s","iSQLSelects":3,"iSQLQueries":6,"a_objSQLQuery":[{"sQuery":"SELECT * FROM table","fDuration":1.0E-4},{"sQuery":"SELECT * FROM table","fDuration":1.0E-4}]}, m_payload = eZmaxApi.models.userstaged_get_object_v2_response_m_payload.userstaged-getObject-v2-Response-mPayload( obj_userstaged = eZmaxApi.models.userstaged_response_compound.userstaged-ResponseCompound(), ) ) else: return UserstagedGetObjectV2Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), m_payload = eZmaxApi.models.userstaged_get_object_v2_response_m_payload.userstaged-getObject-v2-Response-mPayload( obj_userstaged = eZmaxApi.models.userstaged_response_compound.userstaged-ResponseCompound(), ), ) diff --git a/test/test_userstaged_get_object_v2_response_m_payload.py b/test/test_userstaged_get_object_v2_response_m_payload.py index b8fe0392f..b986418e7 100644 --- a/test/test_userstaged_get_object_v2_response_m_payload.py +++ b/test/test_userstaged_get_object_v2_response_m_payload.py @@ -36,23 +36,11 @@ def make_instance(self, include_optional) -> UserstagedGetObjectV2ResponseMPaylo model = UserstagedGetObjectV2ResponseMPayload() if include_optional: return UserstagedGetObjectV2ResponseMPayload( - obj_userstaged = eZmaxApi.models.userstaged_response.userstaged-Response( - pki_userstaged_id = 90, - fki_email_id = 22, - s_email_address = 'email@example.com', - s_userstaged_firstname = 'Jane', - s_userstaged_lastname = 'Doe', - s_userstaged_externalid = 'azuread_6b303ca8-9e34-4c21-9a53-0856342dec5e', ) + obj_userstaged = eZmaxApi.models.userstaged_response_compound.userstaged-ResponseCompound() ) else: return UserstagedGetObjectV2ResponseMPayload( - obj_userstaged = eZmaxApi.models.userstaged_response.userstaged-Response( - pki_userstaged_id = 90, - fki_email_id = 22, - s_email_address = 'email@example.com', - s_userstaged_firstname = 'Jane', - s_userstaged_lastname = 'Doe', - s_userstaged_externalid = 'azuread_6b303ca8-9e34-4c21-9a53-0856342dec5e', ), + obj_userstaged = eZmaxApi.models.userstaged_response_compound.userstaged-ResponseCompound(), ) """ diff --git a/test/test_userstaged_map_v1_response.py b/test/test_userstaged_map_v1_response.py index d24c75bbb..c366e2f0d 100644 --- a/test/test_userstaged_map_v1_response.py +++ b/test/test_userstaged_map_v1_response.py @@ -36,9 +36,26 @@ def make_instance(self, include_optional) -> UserstagedMapV1Response: model = UserstagedMapV1Response() if include_optional: return UserstagedMapV1Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), + obj_debug = {"sMemoryUsage":"11,923MB","sRunTime":"0.6084s","iSQLSelects":3,"iSQLQueries":6,"a_objSQLQuery":[{"sQuery":"SELECT * FROM table","fDuration":1.0E-4},{"sQuery":"SELECT * FROM table","fDuration":1.0E-4}]} ) else: return UserstagedMapV1Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), ) """ diff --git a/test/test_variableexpense_create_object_v1_response.py b/test/test_variableexpense_create_object_v1_response.py index 3d7041ce5..3f655bd07 100644 --- a/test/test_variableexpense_create_object_v1_response.py +++ b/test/test_variableexpense_create_object_v1_response.py @@ -36,6 +36,15 @@ def make_instance(self, include_optional) -> VariableexpenseCreateObjectV1Respon model = VariableexpenseCreateObjectV1Response() if include_optional: return VariableexpenseCreateObjectV1Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), + obj_debug = {"sMemoryUsage":"11,923MB","sRunTime":"0.6084s","iSQLSelects":3,"iSQLQueries":6,"a_objSQLQuery":[{"sQuery":"SELECT * FROM table","fDuration":1.0E-4},{"sQuery":"SELECT * FROM table","fDuration":1.0E-4}]}, m_payload = eZmaxApi.models.variableexpense_create_object_v1_response_m_payload.variableexpense-createObject-v1-Response-mPayload( a_pki_variableexpense_id = [ 2 @@ -43,6 +52,14 @@ def make_instance(self, include_optional) -> VariableexpenseCreateObjectV1Respon ) else: return VariableexpenseCreateObjectV1Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), m_payload = eZmaxApi.models.variableexpense_create_object_v1_response_m_payload.variableexpense-createObject-v1-Response-mPayload( a_pki_variableexpense_id = [ 2 diff --git a/test/test_variableexpense_edit_object_v1_response.py b/test/test_variableexpense_edit_object_v1_response.py index 88df1130d..930932239 100644 --- a/test/test_variableexpense_edit_object_v1_response.py +++ b/test/test_variableexpense_edit_object_v1_response.py @@ -36,9 +36,26 @@ def make_instance(self, include_optional) -> VariableexpenseEditObjectV1Response model = VariableexpenseEditObjectV1Response() if include_optional: return VariableexpenseEditObjectV1Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), + obj_debug = {"sMemoryUsage":"11,923MB","sRunTime":"0.6084s","iSQLSelects":3,"iSQLQueries":6,"a_objSQLQuery":[{"sQuery":"SELECT * FROM table","fDuration":1.0E-4},{"sQuery":"SELECT * FROM table","fDuration":1.0E-4}]} ) else: return VariableexpenseEditObjectV1Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), ) """ diff --git a/test/test_variableexpense_get_autocomplete_v2_response.py b/test/test_variableexpense_get_autocomplete_v2_response.py index 5df940d1e..8c8ad8d29 100644 --- a/test/test_variableexpense_get_autocomplete_v2_response.py +++ b/test/test_variableexpense_get_autocomplete_v2_response.py @@ -36,6 +36,15 @@ def make_instance(self, include_optional) -> VariableexpenseGetAutocompleteV2Res model = VariableexpenseGetAutocompleteV2Response() if include_optional: return VariableexpenseGetAutocompleteV2Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), + obj_debug = {"sMemoryUsage":"11,923MB","sRunTime":"0.6084s","iSQLSelects":3,"iSQLQueries":6,"a_objSQLQuery":[{"sQuery":"SELECT * FROM table","fDuration":1.0E-4},{"sQuery":"SELECT * FROM table","fDuration":1.0E-4}]}, m_payload = eZmaxApi.models.variableexpense_get_autocomplete_v2_response_m_payload.variableexpense-getAutocomplete-v2-Response-mPayload( a_obj_variableexpense = [ eZmaxApi.models.variableexpense_autocomplete_element_response.variableexpense-AutocompleteElement-Response( @@ -46,6 +55,14 @@ def make_instance(self, include_optional) -> VariableexpenseGetAutocompleteV2Res ) else: return VariableexpenseGetAutocompleteV2Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), m_payload = eZmaxApi.models.variableexpense_get_autocomplete_v2_response_m_payload.variableexpense-getAutocomplete-v2-Response-mPayload( a_obj_variableexpense = [ eZmaxApi.models.variableexpense_autocomplete_element_response.variableexpense-AutocompleteElement-Response( diff --git a/test/test_variableexpense_get_list_v1_response.py b/test/test_variableexpense_get_list_v1_response.py index 84c66cefb..4e2cbb10f 100644 --- a/test/test_variableexpense_get_list_v1_response.py +++ b/test/test_variableexpense_get_list_v1_response.py @@ -36,10 +36,13 @@ def make_instance(self, include_optional) -> VariableexpenseGetListV1Response: model = VariableexpenseGetListV1Response() if include_optional: return VariableexpenseGetListV1Response( + 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.variableexpense_get_list_v1_response_m_payload.variableexpense-getList-v1-Response-mPayload() ) else: return VariableexpenseGetListV1Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload_get_list.Common-Response-objDebugPayload_getList(), m_payload = eZmaxApi.models.variableexpense_get_list_v1_response_m_payload.variableexpense-getList-v1-Response-mPayload(), ) """ diff --git a/test/test_variableexpense_get_list_v1_response_m_payload.py b/test/test_variableexpense_get_list_v1_response_m_payload.py index dddf02c9c..11b05c2af 100644 --- a/test/test_variableexpense_get_list_v1_response_m_payload.py +++ b/test/test_variableexpense_get_list_v1_response_m_payload.py @@ -36,6 +36,8 @@ def make_instance(self, include_optional) -> VariableexpenseGetListV1ResponseMPa model = VariableexpenseGetListV1ResponseMPayload() if include_optional: return VariableexpenseGetListV1ResponseMPayload( + i_row_returned = 100, + i_row_filtered = 533, a_obj_variableexpense = [ eZmaxApi.models.variableexpense_list_element.variableexpense-ListElement( pki_variableexpense_id = 2, @@ -47,6 +49,8 @@ def make_instance(self, include_optional) -> VariableexpenseGetListV1ResponseMPa ) else: return VariableexpenseGetListV1ResponseMPayload( + i_row_returned = 100, + i_row_filtered = 533, a_obj_variableexpense = [ eZmaxApi.models.variableexpense_list_element.variableexpense-ListElement( pki_variableexpense_id = 2, diff --git a/test/test_variableexpense_get_object_v2_response.py b/test/test_variableexpense_get_object_v2_response.py index 25355cf72..31a26f52a 100644 --- a/test/test_variableexpense_get_object_v2_response.py +++ b/test/test_variableexpense_get_object_v2_response.py @@ -36,11 +36,28 @@ def make_instance(self, include_optional) -> VariableexpenseGetObjectV2Response: model = VariableexpenseGetObjectV2Response() if include_optional: return VariableexpenseGetObjectV2Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), + obj_debug = {"sMemoryUsage":"11,923MB","sRunTime":"0.6084s","iSQLSelects":3,"iSQLQueries":6,"a_objSQLQuery":[{"sQuery":"SELECT * FROM table","fDuration":1.0E-4},{"sQuery":"SELECT * FROM table","fDuration":1.0E-4}]}, m_payload = eZmaxApi.models.variableexpense_get_object_v2_response_m_payload.variableexpense-getObject-v2-Response-mPayload( obj_variableexpense = eZmaxApi.models.variableexpense_response_compound.variableexpense-ResponseCompound(), ) ) else: return VariableexpenseGetObjectV2Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), m_payload = eZmaxApi.models.variableexpense_get_object_v2_response_m_payload.variableexpense-getObject-v2-Response-mPayload( obj_variableexpense = eZmaxApi.models.variableexpense_response_compound.variableexpense-ResponseCompound(), ), ) diff --git a/test/test_variableexpense_request_compound.py b/test/test_variableexpense_request_compound.py index e2653f4d8..de1dcd59a 100644 --- a/test/test_variableexpense_request_compound.py +++ b/test/test_variableexpense_request_compound.py @@ -36,9 +36,22 @@ def make_instance(self, include_optional) -> VariableexpenseRequestCompound: model = VariableexpenseRequestCompound() if include_optional: return VariableexpenseRequestCompound( + pki_variableexpense_id = 2, + s_variableexpense_code = 'EQBUR', + obj_variableexpense_description = eZmaxApi.models.multilingual_variableexpense_description.Multilingual-VariableexpenseDescription( + s_variableexpense_description1 = 'Équipements de bureau', + s_variableexpense_description2 = 'Office equipment', ), + e_variableexpense_taxable = 'Yes', + b_variableexpense_isactive = True ) else: return VariableexpenseRequestCompound( + s_variableexpense_code = 'EQBUR', + obj_variableexpense_description = eZmaxApi.models.multilingual_variableexpense_description.Multilingual-VariableexpenseDescription( + s_variableexpense_description1 = 'Équipements de bureau', + s_variableexpense_description2 = 'Office equipment', ), + e_variableexpense_taxable = 'Yes', + b_variableexpense_isactive = True, ) """ diff --git a/test/test_variableexpense_response_compound.py b/test/test_variableexpense_response_compound.py index 0322a5803..f4de96412 100644 --- a/test/test_variableexpense_response_compound.py +++ b/test/test_variableexpense_response_compound.py @@ -36,9 +36,20 @@ def make_instance(self, include_optional) -> VariableexpenseResponseCompound: model = VariableexpenseResponseCompound() if include_optional: return VariableexpenseResponseCompound( + pki_variableexpense_id = 2, + s_variableexpense_code = 'EQBUR', + obj_variableexpense_description = eZmaxApi.models.multilingual_variableexpense_description.Multilingual-VariableexpenseDescription( + s_variableexpense_description1 = 'Équipements de bureau', + s_variableexpense_description2 = 'Office equipment', ), + e_variableexpense_taxable = 'Yes', + b_variableexpense_isactive = True ) else: return VariableexpenseResponseCompound( + pki_variableexpense_id = 2, + obj_variableexpense_description = eZmaxApi.models.multilingual_variableexpense_description.Multilingual-VariableexpenseDescription( + s_variableexpense_description1 = 'Équipements de bureau', + s_variableexpense_description2 = 'Office equipment', ), ) """ diff --git a/test/test_versionhistory_get_object_v2_response.py b/test/test_versionhistory_get_object_v2_response.py index 3be298b33..d39926b52 100644 --- a/test/test_versionhistory_get_object_v2_response.py +++ b/test/test_versionhistory_get_object_v2_response.py @@ -36,11 +36,28 @@ def make_instance(self, include_optional) -> VersionhistoryGetObjectV2Response: model = VersionhistoryGetObjectV2Response() if include_optional: return VersionhistoryGetObjectV2Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), + obj_debug = {"sMemoryUsage":"11,923MB","sRunTime":"0.6084s","iSQLSelects":3,"iSQLQueries":6,"a_objSQLQuery":[{"sQuery":"SELECT * FROM table","fDuration":1.0E-4},{"sQuery":"SELECT * FROM table","fDuration":1.0E-4}]}, m_payload = eZmaxApi.models.versionhistory_get_object_v2_response_m_payload.versionhistory-getObject-v2-Response-mPayload( obj_versionhistory = eZmaxApi.models.versionhistory_response_compound.versionhistory-ResponseCompound(), ) ) else: return VersionhistoryGetObjectV2Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), m_payload = eZmaxApi.models.versionhistory_get_object_v2_response_m_payload.versionhistory-getObject-v2-Response-mPayload( obj_versionhistory = eZmaxApi.models.versionhistory_response_compound.versionhistory-ResponseCompound(), ), ) diff --git a/test/test_versionhistory_response_compound.py b/test/test_versionhistory_response_compound.py index 5903cfccd..8cce8e86b 100644 --- a/test/test_versionhistory_response_compound.py +++ b/test/test_versionhistory_response_compound.py @@ -36,9 +36,29 @@ def make_instance(self, include_optional) -> VersionhistoryResponseCompound: model = VersionhistoryResponseCompound() if include_optional: return VersionhistoryResponseCompound( + pki_versionhistory_id = 42, + fki_module_id = 40, + fki_modulesection_id = 53, + s_module_name_x = 'Purchase', + s_modulesection_name_x = 'Access', + e_versionhistory_usertype = 'Normal', + obj_versionhistory_detail = eZmaxApi.models.multilingual_versionhistory_detail.Multilingual-VersionhistoryDetail( + t_versionhistory_detail1 = 'Message important', + t_versionhistory_detail2 = 'Important message', ), + dt_versionhistory_date = '2020-12-31', + dt_versionhistory_dateend = '2020-12-31', + e_versionhistory_type = 'NewFeature', + b_versionhistory_draft = True ) else: return VersionhistoryResponseCompound( + pki_versionhistory_id = 42, + obj_versionhistory_detail = eZmaxApi.models.multilingual_versionhistory_detail.Multilingual-VersionhistoryDetail( + t_versionhistory_detail1 = 'Message important', + t_versionhistory_detail2 = 'Important message', ), + dt_versionhistory_date = '2020-12-31', + e_versionhistory_type = 'NewFeature', + b_versionhistory_draft = True, ) """ diff --git a/test/test_webhook_create_object_v2_response.py b/test/test_webhook_create_object_v2_response.py index d2dafd11a..18176a04c 100644 --- a/test/test_webhook_create_object_v2_response.py +++ b/test/test_webhook_create_object_v2_response.py @@ -36,6 +36,15 @@ def make_instance(self, include_optional) -> WebhookCreateObjectV2Response: model = WebhookCreateObjectV2Response() if include_optional: return WebhookCreateObjectV2Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), + obj_debug = {"sMemoryUsage":"11,923MB","sRunTime":"0.6084s","iSQLSelects":3,"iSQLQueries":6,"a_objSQLQuery":[{"sQuery":"SELECT * FROM table","fDuration":1.0E-4},{"sQuery":"SELECT * FROM table","fDuration":1.0E-4}]}, m_payload = eZmaxApi.models.webhook_create_object_v2_response_m_payload.webhook-createObject-v2-Response-mPayload( a_obj_webhook = [ eZmaxApi.models.webhook_response_compound.webhook-ResponseCompound() @@ -43,6 +52,14 @@ def make_instance(self, include_optional) -> WebhookCreateObjectV2Response: ) else: return WebhookCreateObjectV2Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), m_payload = eZmaxApi.models.webhook_create_object_v2_response_m_payload.webhook-createObject-v2-Response-mPayload( a_obj_webhook = [ eZmaxApi.models.webhook_response_compound.webhook-ResponseCompound() diff --git a/test/test_webhook_delete_object_v1_response.py b/test/test_webhook_delete_object_v1_response.py index 354604509..a9b2294fa 100644 --- a/test/test_webhook_delete_object_v1_response.py +++ b/test/test_webhook_delete_object_v1_response.py @@ -36,9 +36,26 @@ def make_instance(self, include_optional) -> WebhookDeleteObjectV1Response: model = WebhookDeleteObjectV1Response() if include_optional: return WebhookDeleteObjectV1Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), + obj_debug = {"sMemoryUsage":"11,923MB","sRunTime":"0.6084s","iSQLSelects":3,"iSQLQueries":6,"a_objSQLQuery":[{"sQuery":"SELECT * FROM table","fDuration":1.0E-4},{"sQuery":"SELECT * FROM table","fDuration":1.0E-4}]} ) else: return WebhookDeleteObjectV1Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), ) """ diff --git a/test/test_webhook_edit_object_v1_response.py b/test/test_webhook_edit_object_v1_response.py index d20d354b3..fa23b8494 100644 --- a/test/test_webhook_edit_object_v1_response.py +++ b/test/test_webhook_edit_object_v1_response.py @@ -36,9 +36,26 @@ def make_instance(self, include_optional) -> WebhookEditObjectV1Response: model = WebhookEditObjectV1Response() if include_optional: return WebhookEditObjectV1Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), + obj_debug = {"sMemoryUsage":"11,923MB","sRunTime":"0.6084s","iSQLSelects":3,"iSQLQueries":6,"a_objSQLQuery":[{"sQuery":"SELECT * FROM table","fDuration":1.0E-4},{"sQuery":"SELECT * FROM table","fDuration":1.0E-4}]} ) else: return WebhookEditObjectV1Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), ) """ diff --git a/test/test_webhook_ezsign_document_completed.py b/test/test_webhook_ezsign_document_completed.py index 2e2898ab7..feef5bd94 100644 --- a/test/test_webhook_ezsign_document_completed.py +++ b/test/test_webhook_ezsign_document_completed.py @@ -36,6 +36,10 @@ def make_instance(self, include_optional) -> WebhookEzsignDocumentCompleted: model = WebhookEzsignDocumentCompleted() if include_optional: return WebhookEzsignDocumentCompleted( + obj_webhook = eZmaxApi.models.custom_webhook_response.Custom-Webhook-Response(), + a_obj_attempt = [ + eZmaxApi.models.attempt_response_compound.attempt-ResponseCompound() + ], obj_ezsigndocument = eZmaxApi.models.ezsigndocument_response.ezsigndocument-Response( pki_ezsigndocument_id = 97, fki_ezsignfolder_id = 33, @@ -80,6 +84,10 @@ def make_instance(self, include_optional) -> WebhookEzsignDocumentCompleted: ) else: return WebhookEzsignDocumentCompleted( + obj_webhook = eZmaxApi.models.custom_webhook_response.Custom-Webhook-Response(), + a_obj_attempt = [ + eZmaxApi.models.attempt_response_compound.attempt-ResponseCompound() + ], obj_ezsigndocument = eZmaxApi.models.ezsigndocument_response.ezsigndocument-Response( pki_ezsigndocument_id = 97, fki_ezsignfolder_id = 33, diff --git a/test/test_webhook_ezsign_document_form_completed.py b/test/test_webhook_ezsign_document_form_completed.py index d6d5c655d..c94e600f1 100644 --- a/test/test_webhook_ezsign_document_form_completed.py +++ b/test/test_webhook_ezsign_document_form_completed.py @@ -36,6 +36,10 @@ def make_instance(self, include_optional) -> WebhookEzsignDocumentFormCompleted: model = WebhookEzsignDocumentFormCompleted() if include_optional: return WebhookEzsignDocumentFormCompleted( + obj_webhook = eZmaxApi.models.custom_webhook_response.Custom-Webhook-Response(), + a_obj_attempt = [ + eZmaxApi.models.attempt_response_compound.attempt-ResponseCompound() + ], obj_ezsigndocument = eZmaxApi.models.ezsigndocument_response.ezsigndocument-Response( pki_ezsigndocument_id = 97, fki_ezsignfolder_id = 33, @@ -80,6 +84,10 @@ def make_instance(self, include_optional) -> WebhookEzsignDocumentFormCompleted: ) else: return WebhookEzsignDocumentFormCompleted( + obj_webhook = eZmaxApi.models.custom_webhook_response.Custom-Webhook-Response(), + a_obj_attempt = [ + eZmaxApi.models.attempt_response_compound.attempt-ResponseCompound() + ], obj_ezsigndocument = eZmaxApi.models.ezsigndocument_response.ezsigndocument-Response( pki_ezsigndocument_id = 97, fki_ezsignfolder_id = 33, diff --git a/test/test_webhook_ezsign_document_unsent.py b/test/test_webhook_ezsign_document_unsent.py index 9e5404544..860fc4786 100644 --- a/test/test_webhook_ezsign_document_unsent.py +++ b/test/test_webhook_ezsign_document_unsent.py @@ -36,6 +36,10 @@ def make_instance(self, include_optional) -> WebhookEzsignDocumentUnsent: model = WebhookEzsignDocumentUnsent() if include_optional: return WebhookEzsignDocumentUnsent( + obj_webhook = eZmaxApi.models.custom_webhook_response.Custom-Webhook-Response(), + a_obj_attempt = [ + eZmaxApi.models.attempt_response_compound.attempt-ResponseCompound() + ], obj_ezsigndocument = eZmaxApi.models.ezsigndocument_response.ezsigndocument-Response( pki_ezsigndocument_id = 97, fki_ezsignfolder_id = 33, @@ -80,6 +84,10 @@ def make_instance(self, include_optional) -> WebhookEzsignDocumentUnsent: ) else: return WebhookEzsignDocumentUnsent( + obj_webhook = eZmaxApi.models.custom_webhook_response.Custom-Webhook-Response(), + a_obj_attempt = [ + eZmaxApi.models.attempt_response_compound.attempt-ResponseCompound() + ], obj_ezsigndocument = eZmaxApi.models.ezsigndocument_response.ezsigndocument-Response( pki_ezsigndocument_id = 97, fki_ezsignfolder_id = 33, diff --git a/test/test_webhook_ezsign_ezsignsigner_acceptclause.py b/test/test_webhook_ezsign_ezsignsigner_acceptclause.py index f8be60363..535afca10 100644 --- a/test/test_webhook_ezsign_ezsignsigner_acceptclause.py +++ b/test/test_webhook_ezsign_ezsignsigner_acceptclause.py @@ -36,6 +36,10 @@ def make_instance(self, include_optional) -> WebhookEzsignEzsignsignerAcceptclau model = WebhookEzsignEzsignsignerAcceptclause() if include_optional: return WebhookEzsignEzsignsignerAcceptclause( + obj_webhook = eZmaxApi.models.custom_webhook_response.Custom-Webhook-Response(), + a_obj_attempt = [ + eZmaxApi.models.attempt_response_compound.attempt-ResponseCompound() + ], obj_ezsignfolder = eZmaxApi.models.ezsignfolder_response.ezsignfolder-Response( pki_ezsignfolder_id = 33, fki_ezsignfoldertype_id = 5, @@ -108,6 +112,10 @@ def make_instance(self, include_optional) -> WebhookEzsignEzsignsignerAcceptclau ) else: return WebhookEzsignEzsignsignerAcceptclause( + obj_webhook = eZmaxApi.models.custom_webhook_response.Custom-Webhook-Response(), + a_obj_attempt = [ + eZmaxApi.models.attempt_response_compound.attempt-ResponseCompound() + ], obj_ezsignfoldersignerassociation = eZmaxApi.models.ezsignfoldersignerassociation_response_compound.ezsignfoldersignerassociation-ResponseCompound(), ) """ diff --git a/test/test_webhook_ezsign_ezsignsigner_connect.py b/test/test_webhook_ezsign_ezsignsigner_connect.py index f3da8afd8..1f7f256b8 100644 --- a/test/test_webhook_ezsign_ezsignsigner_connect.py +++ b/test/test_webhook_ezsign_ezsignsigner_connect.py @@ -36,6 +36,10 @@ def make_instance(self, include_optional) -> WebhookEzsignEzsignsignerConnect: model = WebhookEzsignEzsignsignerConnect() if include_optional: return WebhookEzsignEzsignsignerConnect( + obj_webhook = eZmaxApi.models.custom_webhook_response.Custom-Webhook-Response(), + a_obj_attempt = [ + eZmaxApi.models.attempt_response_compound.attempt-ResponseCompound() + ], obj_ezsignfolder = eZmaxApi.models.ezsignfolder_response.ezsignfolder-Response( pki_ezsignfolder_id = 33, fki_ezsignfoldertype_id = 5, @@ -108,6 +112,10 @@ def make_instance(self, include_optional) -> WebhookEzsignEzsignsignerConnect: ) else: return WebhookEzsignEzsignsignerConnect( + obj_webhook = eZmaxApi.models.custom_webhook_response.Custom-Webhook-Response(), + a_obj_attempt = [ + eZmaxApi.models.attempt_response_compound.attempt-ResponseCompound() + ], obj_ezsignfoldersignerassociation = eZmaxApi.models.ezsignfoldersignerassociation_response_compound.ezsignfoldersignerassociation-ResponseCompound(), ) """ diff --git a/test/test_webhook_ezsign_folder_completed.py b/test/test_webhook_ezsign_folder_completed.py index 42f59bf76..d87380fd3 100644 --- a/test/test_webhook_ezsign_folder_completed.py +++ b/test/test_webhook_ezsign_folder_completed.py @@ -36,6 +36,10 @@ def make_instance(self, include_optional) -> WebhookEzsignFolderCompleted: model = WebhookEzsignFolderCompleted() if include_optional: return WebhookEzsignFolderCompleted( + obj_webhook = eZmaxApi.models.custom_webhook_response.Custom-Webhook-Response(), + a_obj_attempt = [ + eZmaxApi.models.attempt_response_compound.attempt-ResponseCompound() + ], obj_ezsignfolder = eZmaxApi.models.ezsignfolder_response.ezsignfolder-Response( pki_ezsignfolder_id = 33, fki_ezsignfoldertype_id = 5, @@ -107,6 +111,10 @@ def make_instance(self, include_optional) -> WebhookEzsignFolderCompleted: ) else: return WebhookEzsignFolderCompleted( + obj_webhook = eZmaxApi.models.custom_webhook_response.Custom-Webhook-Response(), + a_obj_attempt = [ + eZmaxApi.models.attempt_response_compound.attempt-ResponseCompound() + ], obj_ezsignfolder = eZmaxApi.models.ezsignfolder_response.ezsignfolder-Response( pki_ezsignfolder_id = 33, fki_ezsignfoldertype_id = 5, diff --git a/test/test_webhook_ezsign_folder_disposed.py b/test/test_webhook_ezsign_folder_disposed.py index 9d74304b9..a5cec903a 100644 --- a/test/test_webhook_ezsign_folder_disposed.py +++ b/test/test_webhook_ezsign_folder_disposed.py @@ -36,6 +36,10 @@ def make_instance(self, include_optional) -> WebhookEzsignFolderDisposed: model = WebhookEzsignFolderDisposed() if include_optional: return WebhookEzsignFolderDisposed( + obj_webhook = eZmaxApi.models.custom_webhook_response.Custom-Webhook-Response(), + a_obj_attempt = [ + eZmaxApi.models.attempt_response_compound.attempt-ResponseCompound() + ], obj_ezsignfolder = eZmaxApi.models.ezsignfolder_response.ezsignfolder-Response( pki_ezsignfolder_id = 33, fki_ezsignfoldertype_id = 5, @@ -107,6 +111,10 @@ def make_instance(self, include_optional) -> WebhookEzsignFolderDisposed: ) else: return WebhookEzsignFolderDisposed( + obj_webhook = eZmaxApi.models.custom_webhook_response.Custom-Webhook-Response(), + a_obj_attempt = [ + eZmaxApi.models.attempt_response_compound.attempt-ResponseCompound() + ], obj_ezsignfolder = eZmaxApi.models.ezsignfolder_response.ezsignfolder-Response( pki_ezsignfolder_id = 33, fki_ezsignfoldertype_id = 5, diff --git a/test/test_webhook_ezsign_folder_sent.py b/test/test_webhook_ezsign_folder_sent.py index 02a3f61f5..e0fc3886b 100644 --- a/test/test_webhook_ezsign_folder_sent.py +++ b/test/test_webhook_ezsign_folder_sent.py @@ -36,6 +36,10 @@ def make_instance(self, include_optional) -> WebhookEzsignFolderSent: model = WebhookEzsignFolderSent() if include_optional: return WebhookEzsignFolderSent( + obj_webhook = eZmaxApi.models.custom_webhook_response.Custom-Webhook-Response(), + a_obj_attempt = [ + eZmaxApi.models.attempt_response_compound.attempt-ResponseCompound() + ], obj_ezsignfolder = eZmaxApi.models.ezsignfolder_response.ezsignfolder-Response( pki_ezsignfolder_id = 33, fki_ezsignfoldertype_id = 5, @@ -107,6 +111,10 @@ def make_instance(self, include_optional) -> WebhookEzsignFolderSent: ) else: return WebhookEzsignFolderSent( + obj_webhook = eZmaxApi.models.custom_webhook_response.Custom-Webhook-Response(), + a_obj_attempt = [ + eZmaxApi.models.attempt_response_compound.attempt-ResponseCompound() + ], obj_ezsignfolder = eZmaxApi.models.ezsignfolder_response.ezsignfolder-Response( pki_ezsignfolder_id = 33, fki_ezsignfoldertype_id = 5, diff --git a/test/test_webhook_ezsign_folder_unsent.py b/test/test_webhook_ezsign_folder_unsent.py index eefd7db9c..2df3f0ff4 100644 --- a/test/test_webhook_ezsign_folder_unsent.py +++ b/test/test_webhook_ezsign_folder_unsent.py @@ -36,6 +36,10 @@ def make_instance(self, include_optional) -> WebhookEzsignFolderUnsent: model = WebhookEzsignFolderUnsent() if include_optional: return WebhookEzsignFolderUnsent( + obj_webhook = eZmaxApi.models.custom_webhook_response.Custom-Webhook-Response(), + a_obj_attempt = [ + eZmaxApi.models.attempt_response_compound.attempt-ResponseCompound() + ], obj_ezsignfolder = eZmaxApi.models.ezsignfolder_response.ezsignfolder-Response( pki_ezsignfolder_id = 33, fki_ezsignfoldertype_id = 5, @@ -107,6 +111,10 @@ def make_instance(self, include_optional) -> WebhookEzsignFolderUnsent: ) else: return WebhookEzsignFolderUnsent( + obj_webhook = eZmaxApi.models.custom_webhook_response.Custom-Webhook-Response(), + a_obj_attempt = [ + eZmaxApi.models.attempt_response_compound.attempt-ResponseCompound() + ], obj_ezsignfolder = eZmaxApi.models.ezsignfolder_response.ezsignfolder-Response( pki_ezsignfolder_id = 33, fki_ezsignfoldertype_id = 5, diff --git a/test/test_webhook_ezsign_signature_signed.py b/test/test_webhook_ezsign_signature_signed.py index 369c84759..1bbe5bafc 100644 --- a/test/test_webhook_ezsign_signature_signed.py +++ b/test/test_webhook_ezsign_signature_signed.py @@ -36,6 +36,10 @@ def make_instance(self, include_optional) -> WebhookEzsignSignatureSigned: model = WebhookEzsignSignatureSigned() if include_optional: return WebhookEzsignSignatureSigned( + obj_webhook = eZmaxApi.models.custom_webhook_response.Custom-Webhook-Response(), + a_obj_attempt = [ + eZmaxApi.models.attempt_response_compound.attempt-ResponseCompound() + ], obj_ezsignsignature = eZmaxApi.models.ezsignsignature_response.ezsignsignature-Response( pki_ezsignsignature_id = 49, fki_ezsigndocument_id = 97, @@ -83,6 +87,10 @@ def make_instance(self, include_optional) -> WebhookEzsignSignatureSigned: ) else: return WebhookEzsignSignatureSigned( + obj_webhook = eZmaxApi.models.custom_webhook_response.Custom-Webhook-Response(), + a_obj_attempt = [ + eZmaxApi.models.attempt_response_compound.attempt-ResponseCompound() + ], obj_ezsignsignature = eZmaxApi.models.ezsignsignature_response.ezsignsignature-Response( pki_ezsignsignature_id = 49, fki_ezsigndocument_id = 97, diff --git a/test/test_webhook_get_history_v1_response.py b/test/test_webhook_get_history_v1_response.py index 29d29f853..655e21f11 100644 --- a/test/test_webhook_get_history_v1_response.py +++ b/test/test_webhook_get_history_v1_response.py @@ -36,6 +36,15 @@ def make_instance(self, include_optional) -> WebhookGetHistoryV1Response: model = WebhookGetHistoryV1Response() if include_optional: return WebhookGetHistoryV1Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), + obj_debug = {"sMemoryUsage":"11,923MB","sRunTime":"0.6084s","iSQLSelects":3,"iSQLQueries":6,"a_objSQLQuery":[{"sQuery":"SELECT * FROM table","fDuration":1.0E-4},{"sQuery":"SELECT * FROM table","fDuration":1.0E-4}]}, m_payload = eZmaxApi.models.webhook_get_history_v1_response_m_payload.webhook-getHistory-v1-Response-mPayload( a_obj_webhooklog = [ eZmaxApi.models.custom_webhooklog_response.Custom-Webhooklog-Response() @@ -43,6 +52,14 @@ def make_instance(self, include_optional) -> WebhookGetHistoryV1Response: ) else: return WebhookGetHistoryV1Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), m_payload = eZmaxApi.models.webhook_get_history_v1_response_m_payload.webhook-getHistory-v1-Response-mPayload( a_obj_webhooklog = [ eZmaxApi.models.custom_webhooklog_response.Custom-Webhooklog-Response() diff --git a/test/test_webhook_get_list_v1_response.py b/test/test_webhook_get_list_v1_response.py index 0cfeaf5e5..3aa0f4cc0 100644 --- a/test/test_webhook_get_list_v1_response.py +++ b/test/test_webhook_get_list_v1_response.py @@ -36,10 +36,13 @@ def make_instance(self, include_optional) -> WebhookGetListV1Response: model = WebhookGetListV1Response() if include_optional: return WebhookGetListV1Response( + 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.webhook_get_list_v1_response_m_payload.webhook-getList-v1-Response-mPayload() ) else: return WebhookGetListV1Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload_get_list.Common-Response-objDebugPayload_getList(), m_payload = eZmaxApi.models.webhook_get_list_v1_response_m_payload.webhook-getList-v1-Response-mPayload(), ) """ diff --git a/test/test_webhook_get_list_v1_response_m_payload.py b/test/test_webhook_get_list_v1_response_m_payload.py index 3eb152de9..2a1de0c57 100644 --- a/test/test_webhook_get_list_v1_response_m_payload.py +++ b/test/test_webhook_get_list_v1_response_m_payload.py @@ -36,6 +36,8 @@ def make_instance(self, include_optional) -> WebhookGetListV1ResponseMPayload: model = WebhookGetListV1ResponseMPayload() if include_optional: return WebhookGetListV1ResponseMPayload( + i_row_returned = 100, + i_row_filtered = 533, a_obj_webhook = [ eZmaxApi.models.webhook_list_element.webhook-ListElement( pki_webhook_id = 77, @@ -52,6 +54,8 @@ def make_instance(self, include_optional) -> WebhookGetListV1ResponseMPayload: ) else: return WebhookGetListV1ResponseMPayload( + i_row_returned = 100, + i_row_filtered = 533, a_obj_webhook = [ eZmaxApi.models.webhook_list_element.webhook-ListElement( pki_webhook_id = 77, diff --git a/test/test_webhook_get_object_v2_response.py b/test/test_webhook_get_object_v2_response.py index 2f0485ff4..25f4bbf7a 100644 --- a/test/test_webhook_get_object_v2_response.py +++ b/test/test_webhook_get_object_v2_response.py @@ -36,11 +36,28 @@ def make_instance(self, include_optional) -> WebhookGetObjectV2Response: model = WebhookGetObjectV2Response() if include_optional: return WebhookGetObjectV2Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), + obj_debug = {"sMemoryUsage":"11,923MB","sRunTime":"0.6084s","iSQLSelects":3,"iSQLQueries":6,"a_objSQLQuery":[{"sQuery":"SELECT * FROM table","fDuration":1.0E-4},{"sQuery":"SELECT * FROM table","fDuration":1.0E-4}]}, m_payload = eZmaxApi.models.webhook_get_object_v2_response_m_payload.webhook-getObject-v2-Response-mPayload( obj_webhook = eZmaxApi.models.webhook_response_compound.webhook-ResponseCompound(), ) ) else: return WebhookGetObjectV2Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), m_payload = eZmaxApi.models.webhook_get_object_v2_response_m_payload.webhook-getObject-v2-Response-mPayload( obj_webhook = eZmaxApi.models.webhook_response_compound.webhook-ResponseCompound(), ), ) diff --git a/test/test_webhook_regenerate_apikey_v1_response.py b/test/test_webhook_regenerate_apikey_v1_response.py index 1380f674c..108a71638 100644 --- a/test/test_webhook_regenerate_apikey_v1_response.py +++ b/test/test_webhook_regenerate_apikey_v1_response.py @@ -36,11 +36,28 @@ def make_instance(self, include_optional) -> WebhookRegenerateApikeyV1Response: model = WebhookRegenerateApikeyV1Response() if include_optional: return WebhookRegenerateApikeyV1Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), + obj_debug = {"sMemoryUsage":"11,923MB","sRunTime":"0.6084s","iSQLSelects":3,"iSQLQueries":6,"a_objSQLQuery":[{"sQuery":"SELECT * FROM table","fDuration":1.0E-4},{"sQuery":"SELECT * FROM table","fDuration":1.0E-4}]}, m_payload = eZmaxApi.models.webhook_regenerate_apikey_v1_response_m_payload.webhook-regenerateApikey-v1-Response-mPayload( obj_webhook = eZmaxApi.models.webhook_response_compound.webhook-ResponseCompound(), ) ) else: return WebhookRegenerateApikeyV1Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), m_payload = eZmaxApi.models.webhook_regenerate_apikey_v1_response_m_payload.webhook-regenerateApikey-v1-Response-mPayload( obj_webhook = eZmaxApi.models.webhook_response_compound.webhook-ResponseCompound(), ), ) diff --git a/test/test_webhook_request_compound.py b/test/test_webhook_request_compound.py index 0fca03e5f..cf6bf7a88 100644 --- a/test/test_webhook_request_compound.py +++ b/test/test_webhook_request_compound.py @@ -36,12 +36,30 @@ def make_instance(self, include_optional) -> WebhookRequestCompound: model = WebhookRequestCompound() if include_optional: return WebhookRequestCompound( + pki_webhook_id = 77, + fki_authenticationexternal_id = 56, + fki_ezsignfoldertype_id = 5, + s_webhook_description = 'Import into our system', + e_webhook_module = 'Ezsign', + e_webhook_ezsignevent = 'FolderCompleted', + e_webhook_managementevent = 'UserCreated', + s_webhook_url = 'https://www.example.com', + s_webhook_emailfailed = 'email@example.com', + b_webhook_isactive = True, + b_webhook_issigned = True, + b_webhook_skipsslvalidation = False, a_obj_webhookheader = [ eZmaxApi.models.webhookheader_request_compound.webhookheader-RequestCompound() ] ) else: return WebhookRequestCompound( + s_webhook_description = 'Import into our system', + 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 56d451c57..40c6b420c 100644 --- a/test/test_webhook_response_compound.py +++ b/test/test_webhook_response_compound.py @@ -36,6 +36,39 @@ def make_instance(self, include_optional) -> WebhookResponseCompound: model = WebhookResponseCompound() if include_optional: return WebhookResponseCompound( + pki_webhook_id = 77, + fki_authenticationexternal_id = 56, + s_webhook_description = 'Import into our system', + fki_ezsignfoldertype_id = 5, + s_ezsignfoldertype_name_x = 'Default', + e_webhook_module = 'Ezsign', + e_webhook_ezsignevent = 'FolderCompleted', + e_webhook_managementevent = 'UserCreated', + s_webhook_url = 'https://www.example.com', + s_webhook_emailfailed = 'email@example.com', + s_webhook_apikey = '', + s_webhook_secret = '', + b_webhook_isactive = True, + b_webhook_issigned = True, + b_webhook_skipsslvalidation = False, + s_authenticationexternal_description = 'Authentification', + obj_audit = eZmaxApi.models.common_audit.Common-Audit( + obj_auditdetail_created = eZmaxApi.models.common_auditdetail.Common-Auditdetail( + fki_user_id = 70, + fki_apikey_id = 99, + s_user_loginname = 'JohnDoe', + s_user_lastname = 'Doe', + s_user_firstname = 'John', + s_apikey_description_x = 'Project X', + dt_auditdetail_date = '2020-12-31 23:59:59', ), + obj_auditdetail_modified = eZmaxApi.models.common_auditdetail.Common-Auditdetail( + fki_user_id = 70, + fki_apikey_id = 99, + s_user_loginname = 'JohnDoe', + s_user_lastname = 'Doe', + s_user_firstname = 'John', + s_apikey_description_x = 'Project X', + dt_auditdetail_date = '2020-12-31 23:59:59', ), ), s_webhook_event = 'Ezsign-DocumentCompleted', a_obj_webhookheader = [ eZmaxApi.models.webhookheader_response_compound.webhookheader-ResponseCompound() @@ -43,6 +76,31 @@ def make_instance(self, include_optional) -> WebhookResponseCompound: ) else: return WebhookResponseCompound( + pki_webhook_id = 77, + s_webhook_description = 'Import into our system', + e_webhook_module = 'Ezsign', + s_webhook_url = 'https://www.example.com', + s_webhook_emailfailed = 'email@example.com', + b_webhook_isactive = True, + b_webhook_issigned = True, + b_webhook_skipsslvalidation = 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', ), ), ) """ diff --git a/test/test_webhook_send_webhook_v1_response.py b/test/test_webhook_send_webhook_v1_response.py index 22093abe6..26a761d0e 100644 --- a/test/test_webhook_send_webhook_v1_response.py +++ b/test/test_webhook_send_webhook_v1_response.py @@ -36,9 +36,26 @@ def make_instance(self, include_optional) -> WebhookSendWebhookV1Response: model = WebhookSendWebhookV1Response() if include_optional: return WebhookSendWebhookV1Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), + obj_debug = {"sMemoryUsage":"11,923MB","sRunTime":"0.6084s","iSQLSelects":3,"iSQLQueries":6,"a_objSQLQuery":[{"sQuery":"SELECT * FROM table","fDuration":1.0E-4},{"sQuery":"SELECT * FROM table","fDuration":1.0E-4}]} ) else: return WebhookSendWebhookV1Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), ) """ diff --git a/test/test_webhook_test_v1_response.py b/test/test_webhook_test_v1_response.py index 28a89ce18..63caa7eff 100644 --- a/test/test_webhook_test_v1_response.py +++ b/test/test_webhook_test_v1_response.py @@ -36,9 +36,26 @@ def make_instance(self, include_optional) -> WebhookTestV1Response: model = WebhookTestV1Response() if include_optional: return WebhookTestV1Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), + obj_debug = {"sMemoryUsage":"11,923MB","sRunTime":"0.6084s","iSQLSelects":3,"iSQLQueries":6,"a_objSQLQuery":[{"sQuery":"SELECT * FROM table","fDuration":1.0E-4},{"sQuery":"SELECT * FROM table","fDuration":1.0E-4}]} ) else: return WebhookTestV1Response( + obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( + i_version_min = 1, + i_version_max = 2, + a_required_permission = [ + 117 + ], + b_version_deprecated = False, + dt_response_date = '2020-12-31 23:59:59', ), ) """ diff --git a/test/test_webhook_user_user_created.py b/test/test_webhook_user_user_created.py index 31493c0bf..f1a1650c5 100644 --- a/test/test_webhook_user_user_created.py +++ b/test/test_webhook_user_user_created.py @@ -36,119 +36,19 @@ def make_instance(self, include_optional) -> WebhookUserUserCreated: model = WebhookUserUserCreated() if include_optional: return WebhookUserUserCreated( - obj_user = eZmaxApi.models.user_response.user-Response( - pki_user_id = 70, - fki_agent_id = 1, - fki_broker_id = 26, - fki_assistant_id = 1, - fki_employee_id = 31, - fki_company_id_default = 1, - s_company_name_x = 'Acme inc.', - fki_department_id_default = 21, - s_department_name_x = 'Head Office', - fki_timezone_id = 247, - s_timezone_name = 'Default', - fki_language_id = 2, - s_language_name_x = 'English', - obj_email = eZmaxApi.models.email_response_compound.email-ResponseCompound(), - fki_billingentityinternal_id = 1, - s_billingentityinternal_description_x = 'Default', - obj_phone_home = eZmaxApi.models.phone_response_compound.phone-ResponseCompound(), - obj_phone_sms = eZmaxApi.models.phone_response_compound.phone-ResponseCompound(), - fki_secretquestion_id = 7, - fki_module_id_form = 40, - s_module_name_x = 'Purchase', - e_user_origin = 'BuiltIn', - e_user_type = 'EzsignUser', - e_user_logintype = 'Password', - s_user_firstname = 'John', - s_user_lastname = 'Doe', - s_user_loginname = 'JohnDoe', - s_user_jobtitle = 'Sales Representative', - e_user_ezsignaccess = 'PaidByOffice', - dt_user_lastlogondate = '2020-12-31 23:59:59', - dt_user_passwordchanged = '2020-12-31 23:59:59', - dt_user_ezsignprepaidexpiration = '2020-12-31', - b_user_isactive = True, - b_user_validatebyadministration = False, - b_user_validatebydirector = False, - b_user_attachmentautoverified = True, - b_user_changepassword = True, - obj_audit = eZmaxApi.models.common_audit.Common-Audit( - obj_auditdetail_created = eZmaxApi.models.common_auditdetail.Common-Auditdetail( - fki_user_id = 70, - fki_apikey_id = 99, - s_user_loginname = 'JohnDoe', - s_user_lastname = 'Doe', - s_user_firstname = 'John', - s_apikey_description_x = 'Project X', - dt_auditdetail_date = '2020-12-31 23:59:59', ), - obj_auditdetail_modified = eZmaxApi.models.common_auditdetail.Common-Auditdetail( - fki_user_id = 70, - fki_apikey_id = 99, - s_user_loginname = 'JohnDoe', - s_user_lastname = 'Doe', - s_user_firstname = 'John', - s_apikey_description_x = 'Project X', - dt_auditdetail_date = '2020-12-31 23:59:59', ), ), ) + obj_webhook = eZmaxApi.models.custom_webhook_response.Custom-Webhook-Response(), + a_obj_attempt = [ + eZmaxApi.models.attempt_response_compound.attempt-ResponseCompound() + ], + obj_user = eZmaxApi.models.user_response_compound.user-ResponseCompound() ) else: return WebhookUserUserCreated( - obj_user = eZmaxApi.models.user_response.user-Response( - pki_user_id = 70, - fki_agent_id = 1, - fki_broker_id = 26, - fki_assistant_id = 1, - fki_employee_id = 31, - fki_company_id_default = 1, - s_company_name_x = 'Acme inc.', - fki_department_id_default = 21, - s_department_name_x = 'Head Office', - fki_timezone_id = 247, - s_timezone_name = 'Default', - fki_language_id = 2, - s_language_name_x = 'English', - obj_email = eZmaxApi.models.email_response_compound.email-ResponseCompound(), - fki_billingentityinternal_id = 1, - s_billingentityinternal_description_x = 'Default', - obj_phone_home = eZmaxApi.models.phone_response_compound.phone-ResponseCompound(), - obj_phone_sms = eZmaxApi.models.phone_response_compound.phone-ResponseCompound(), - fki_secretquestion_id = 7, - fki_module_id_form = 40, - s_module_name_x = 'Purchase', - e_user_origin = 'BuiltIn', - e_user_type = 'EzsignUser', - e_user_logintype = 'Password', - s_user_firstname = 'John', - s_user_lastname = 'Doe', - s_user_loginname = 'JohnDoe', - s_user_jobtitle = 'Sales Representative', - e_user_ezsignaccess = 'PaidByOffice', - dt_user_lastlogondate = '2020-12-31 23:59:59', - dt_user_passwordchanged = '2020-12-31 23:59:59', - dt_user_ezsignprepaidexpiration = '2020-12-31', - b_user_isactive = True, - b_user_validatebyadministration = False, - b_user_validatebydirector = False, - b_user_attachmentautoverified = True, - b_user_changepassword = True, - obj_audit = eZmaxApi.models.common_audit.Common-Audit( - obj_auditdetail_created = eZmaxApi.models.common_auditdetail.Common-Auditdetail( - fki_user_id = 70, - fki_apikey_id = 99, - s_user_loginname = 'JohnDoe', - s_user_lastname = 'Doe', - s_user_firstname = 'John', - s_apikey_description_x = 'Project X', - dt_auditdetail_date = '2020-12-31 23:59:59', ), - obj_auditdetail_modified = eZmaxApi.models.common_auditdetail.Common-Auditdetail( - fki_user_id = 70, - fki_apikey_id = 99, - s_user_loginname = 'JohnDoe', - s_user_lastname = 'Doe', - s_user_firstname = 'John', - s_apikey_description_x = 'Project X', - dt_auditdetail_date = '2020-12-31 23:59:59', ), ), ), + obj_webhook = eZmaxApi.models.custom_webhook_response.Custom-Webhook-Response(), + a_obj_attempt = [ + eZmaxApi.models.attempt_response_compound.attempt-ResponseCompound() + ], + obj_user = eZmaxApi.models.user_response_compound.user-ResponseCompound(), ) """ diff --git a/test/test_webhook_userstaged_userstaged_created.py b/test/test_webhook_userstaged_userstaged_created.py index 9df956e5c..55b9f0730 100644 --- a/test/test_webhook_userstaged_userstaged_created.py +++ b/test/test_webhook_userstaged_userstaged_created.py @@ -36,23 +36,19 @@ def make_instance(self, include_optional) -> WebhookUserstagedUserstagedCreated: model = WebhookUserstagedUserstagedCreated() if include_optional: return WebhookUserstagedUserstagedCreated( - obj_userstaged = eZmaxApi.models.userstaged_response.userstaged-Response( - pki_userstaged_id = 90, - fki_email_id = 22, - s_email_address = 'email@example.com', - s_userstaged_firstname = 'Jane', - s_userstaged_lastname = 'Doe', - s_userstaged_externalid = 'azuread_6b303ca8-9e34-4c21-9a53-0856342dec5e', ) + obj_webhook = eZmaxApi.models.custom_webhook_response.Custom-Webhook-Response(), + a_obj_attempt = [ + eZmaxApi.models.attempt_response_compound.attempt-ResponseCompound() + ], + obj_userstaged = eZmaxApi.models.userstaged_response_compound.userstaged-ResponseCompound() ) else: return WebhookUserstagedUserstagedCreated( - obj_userstaged = eZmaxApi.models.userstaged_response.userstaged-Response( - pki_userstaged_id = 90, - fki_email_id = 22, - s_email_address = 'email@example.com', - s_userstaged_firstname = 'Jane', - s_userstaged_lastname = 'Doe', - s_userstaged_externalid = 'azuread_6b303ca8-9e34-4c21-9a53-0856342dec5e', ), + obj_webhook = eZmaxApi.models.custom_webhook_response.Custom-Webhook-Response(), + a_obj_attempt = [ + eZmaxApi.models.attempt_response_compound.attempt-ResponseCompound() + ], + obj_userstaged = eZmaxApi.models.userstaged_response_compound.userstaged-ResponseCompound(), ) """ diff --git a/test/test_webhookheader_request_compound.py b/test/test_webhookheader_request_compound.py index 6b1a6930d..e52ae1301 100644 --- a/test/test_webhookheader_request_compound.py +++ b/test/test_webhookheader_request_compound.py @@ -36,9 +36,14 @@ def make_instance(self, include_optional) -> WebhookheaderRequestCompound: model = WebhookheaderRequestCompound() if include_optional: return WebhookheaderRequestCompound( + pki_webhookheader_id = 77, + s_webhookheader_name = 'Authorization', + s_webhookheader_value = 'd75fca0e12b6c671e7f6d4df0cf59e4e' ) else: return WebhookheaderRequestCompound( + s_webhookheader_name = 'Authorization', + s_webhookheader_value = 'd75fca0e12b6c671e7f6d4df0cf59e4e', ) """ diff --git a/test/test_webhookheader_response_compound.py b/test/test_webhookheader_response_compound.py index 5c03a4aea..86d7900bd 100644 --- a/test/test_webhookheader_response_compound.py +++ b/test/test_webhookheader_response_compound.py @@ -36,9 +36,17 @@ def make_instance(self, include_optional) -> WebhookheaderResponseCompound: model = WebhookheaderResponseCompound() if include_optional: return WebhookheaderResponseCompound( + pki_webhookheader_id = 77, + fki_webhook_id = 77, + s_webhookheader_name = 'Authorization', + s_webhookheader_value = 'd75fca0e12b6c671e7f6d4df0cf59e4e' ) else: return WebhookheaderResponseCompound( + pki_webhookheader_id = 77, + fki_webhook_id = 77, + s_webhookheader_name = 'Authorization', + s_webhookheader_value = 'd75fca0e12b6c671e7f6d4df0cf59e4e', ) """