diff --git a/docs/ActivesessionGenerateFederationTokenV1Response.md b/docs/ActivesessionGenerateFederationTokenV1Response.md index 9663cd47..037e6da9 100644 --- a/docs/ActivesessionGenerateFederationTokenV1Response.md +++ b/docs/ActivesessionGenerateFederationTokenV1Response.md @@ -6,8 +6,6 @@ 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 e00b453a..b9b16ab5 100644 --- a/docs/ActivesessionGetCurrentV1Response.md +++ b/docs/ActivesessionGetCurrentV1Response.md @@ -6,8 +6,6 @@ Response for GET /1/object/activesession/getCurrent Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**obj_debug_payload** | [**CommonResponseObjDebugPayload**](CommonResponseObjDebugPayload.md) | | -**obj_debug** | [**CommonResponseObjDebug**](CommonResponseObjDebug.md) | | [optional] **m_payload** | [**ActivesessionResponseCompound**](ActivesessionResponseCompound.md) | Payload for GET /1/object/activesession/getCurrent | ## Example diff --git a/docs/ActivesessionGetCurrentV1ResponseMPayload.md b/docs/ActivesessionGetCurrentV1ResponseMPayload.md index 740307da..c48b20e1 100644 --- a/docs/ActivesessionGetCurrentV1ResponseMPayload.md +++ b/docs/ActivesessionGetCurrentV1ResponseMPayload.md @@ -6,37 +6,6 @@ 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 5c5951d9..39894d8b 100644 --- a/docs/ActivesessionGetCurrentV2Response.md +++ b/docs/ActivesessionGetCurrentV2Response.md @@ -6,8 +6,6 @@ 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 c4300bb2..8060daeb 100644 --- a/docs/ActivesessionGetListV1Response.md +++ b/docs/ActivesessionGetListV1Response.md @@ -6,8 +6,6 @@ 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 41bde76b..72227201 100644 --- a/docs/ActivesessionGetListV1ResponseMPayload.md +++ b/docs/ActivesessionGetListV1ResponseMPayload.md @@ -6,8 +6,6 @@ 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 0abaa6d7..3a7f94a4 100644 --- a/docs/ActivesessionResponseCompound.md +++ b/docs/ActivesessionResponseCompound.md @@ -6,25 +6,6 @@ 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/ApikeyCreateObjectV2Response.md b/docs/ApikeyCreateObjectV2Response.md index 88de685d..28e127ff 100644 --- a/docs/ApikeyCreateObjectV2Response.md +++ b/docs/ApikeyCreateObjectV2Response.md @@ -6,8 +6,6 @@ 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/ApikeyEditObjectV1Response.md b/docs/ApikeyEditObjectV1Response.md index 767dbdb0..a35d95c1 100644 --- a/docs/ApikeyEditObjectV1Response.md +++ b/docs/ApikeyEditObjectV1Response.md @@ -6,8 +6,6 @@ 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/ApikeyEditPermissionsV1Response.md b/docs/ApikeyEditPermissionsV1Response.md index 938a3a89..f1663602 100644 --- a/docs/ApikeyEditPermissionsV1Response.md +++ b/docs/ApikeyEditPermissionsV1Response.md @@ -6,8 +6,6 @@ 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 1f2542c6..20ecf224 100644 --- a/docs/ApikeyGenerateDelegatedCredentialsV1Response.md +++ b/docs/ApikeyGenerateDelegatedCredentialsV1Response.md @@ -6,8 +6,6 @@ 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 6080616d..7aa2ed1a 100644 --- a/docs/ApikeyGetCorsV1Response.md +++ b/docs/ApikeyGetCorsV1Response.md @@ -6,8 +6,6 @@ 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 21497f0f..142630db 100644 --- a/docs/ApikeyGetListV1Response.md +++ b/docs/ApikeyGetListV1Response.md @@ -6,8 +6,6 @@ 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 6f636b3e..9f20e25c 100644 --- a/docs/ApikeyGetListV1ResponseMPayload.md +++ b/docs/ApikeyGetListV1ResponseMPayload.md @@ -6,8 +6,6 @@ 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 d0524f64..7c047c9e 100644 --- a/docs/ApikeyGetObjectV2Response.md +++ b/docs/ApikeyGetObjectV2Response.md @@ -6,8 +6,6 @@ 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/ApikeyGetPermissionsV1Response.md b/docs/ApikeyGetPermissionsV1Response.md index f6784ee6..808b86a5 100644 --- a/docs/ApikeyGetPermissionsV1Response.md +++ b/docs/ApikeyGetPermissionsV1Response.md @@ -6,8 +6,6 @@ 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 122a93c9..fb65acde 100644 --- a/docs/ApikeyGetSubnetsV1Response.md +++ b/docs/ApikeyGetSubnetsV1Response.md @@ -6,8 +6,6 @@ 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 fed59bfc..acf231f1 100644 --- a/docs/ApikeyRegenerateV1Response.md +++ b/docs/ApikeyRegenerateV1Response.md @@ -6,8 +6,6 @@ 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/AttachmentGetAttachmentlogsV1Response.md b/docs/AttachmentGetAttachmentlogsV1Response.md index 7b807008..9eef40a2 100644 --- a/docs/AttachmentGetAttachmentlogsV1Response.md +++ b/docs/AttachmentGetAttachmentlogsV1Response.md @@ -6,8 +6,6 @@ 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 daadd84c..71fe9ea2 100644 --- a/docs/AttachmentResponseCompound.md +++ b/docs/AttachmentResponseCompound.md @@ -6,67 +6,6 @@ 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 b14fbbf5..c538ac8c 100644 --- a/docs/AttachmentlogResponseCompound.md +++ b/docs/AttachmentlogResponseCompound.md @@ -6,11 +6,6 @@ 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 64bbbf10..f1050c33 100644 --- a/docs/AuthenticationexternalCreateObjectV1Response.md +++ b/docs/AuthenticationexternalCreateObjectV1Response.md @@ -6,8 +6,6 @@ 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 19494f34..4e9cbdee 100644 --- a/docs/AuthenticationexternalDeleteObjectV1Response.md +++ b/docs/AuthenticationexternalDeleteObjectV1Response.md @@ -6,8 +6,6 @@ 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 5f038db6..c0650cb9 100644 --- a/docs/AuthenticationexternalEditObjectV1Response.md +++ b/docs/AuthenticationexternalEditObjectV1Response.md @@ -6,8 +6,6 @@ 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 5b7a51db..f8a2bfaf 100644 --- a/docs/AuthenticationexternalGetAutocompleteV2Response.md +++ b/docs/AuthenticationexternalGetAutocompleteV2Response.md @@ -6,8 +6,6 @@ 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 7823c9e3..75eaa676 100644 --- a/docs/AuthenticationexternalGetListV1Response.md +++ b/docs/AuthenticationexternalGetListV1Response.md @@ -6,8 +6,6 @@ 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 360d482c..7ca7ec67 100644 --- a/docs/AuthenticationexternalGetListV1ResponseMPayload.md +++ b/docs/AuthenticationexternalGetListV1ResponseMPayload.md @@ -6,8 +6,6 @@ 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 c15b1e8a..90585852 100644 --- a/docs/AuthenticationexternalGetObjectV2Response.md +++ b/docs/AuthenticationexternalGetObjectV2Response.md @@ -6,8 +6,6 @@ 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 7435947e..51279be9 100644 --- a/docs/AuthenticationexternalRequestCompound.md +++ b/docs/AuthenticationexternalRequestCompound.md @@ -6,9 +6,6 @@ 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 2b3d5b73..95930260 100644 --- a/docs/AuthenticationexternalResetAuthorizationV1Response.md +++ b/docs/AuthenticationexternalResetAuthorizationV1Response.md @@ -6,8 +6,6 @@ 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 f000e6e3..e64c5a79 100644 --- a/docs/AuthenticationexternalResponseCompound.md +++ b/docs/AuthenticationexternalResponseCompound.md @@ -6,12 +6,6 @@ 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 b28b0ad4..2fd0eec1 100644 --- a/docs/BillingentityexternalGenerateFederationTokenV1Response.md +++ b/docs/BillingentityexternalGenerateFederationTokenV1Response.md @@ -6,8 +6,6 @@ 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 6604e0ac..c2391d16 100644 --- a/docs/BillingentityexternalGetAutocompleteV2Response.md +++ b/docs/BillingentityexternalGetAutocompleteV2Response.md @@ -6,8 +6,6 @@ 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 18d01253..d80ce9dd 100644 --- a/docs/BillingentityinternalCreateObjectV1Response.md +++ b/docs/BillingentityinternalCreateObjectV1Response.md @@ -6,8 +6,6 @@ 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 36d8b1dd..a93e8923 100644 --- a/docs/BillingentityinternalEditObjectV1Response.md +++ b/docs/BillingentityinternalEditObjectV1Response.md @@ -6,8 +6,6 @@ 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 aa562d5f..61e85e4d 100644 --- a/docs/BillingentityinternalGetAutocompleteV2Response.md +++ b/docs/BillingentityinternalGetAutocompleteV2Response.md @@ -6,8 +6,6 @@ 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 356f8c3a..82827483 100644 --- a/docs/BillingentityinternalGetListV1Response.md +++ b/docs/BillingentityinternalGetListV1Response.md @@ -6,8 +6,6 @@ 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 e266c11d..5f675cdf 100644 --- a/docs/BillingentityinternalGetListV1ResponseMPayload.md +++ b/docs/BillingentityinternalGetListV1ResponseMPayload.md @@ -6,8 +6,6 @@ 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 1f85c53b..07b70ea1 100644 --- a/docs/BillingentityinternalGetObjectV2Response.md +++ b/docs/BillingentityinternalGetObjectV2Response.md @@ -6,8 +6,6 @@ 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 1795a5c9..919c39eb 100644 --- a/docs/BillingentityinternalRequestCompound.md +++ b/docs/BillingentityinternalRequestCompound.md @@ -6,8 +6,6 @@ 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 8b563d6f..0afc8738 100644 --- a/docs/BillingentityinternalResponseCompound.md +++ b/docs/BillingentityinternalResponseCompound.md @@ -6,8 +6,6 @@ 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 8e9669e5..ec36ce42 100644 --- a/docs/BillingentityinternalproductRequestCompound.md +++ b/docs/BillingentityinternalproductRequestCompound.md @@ -6,9 +6,6 @@ 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 b208e10a..ae099e75 100644 --- a/docs/BillingentityinternalproductResponseCompound.md +++ b/docs/BillingentityinternalproductResponseCompound.md @@ -6,13 +6,6 @@ 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 fdf76a0f..72d39d6a 100644 --- a/docs/BrandingCreateObjectV2Response.md +++ b/docs/BrandingCreateObjectV2Response.md @@ -6,8 +6,6 @@ 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 1b560283..c0a0f336 100644 --- a/docs/BrandingEditObjectV2Response.md +++ b/docs/BrandingEditObjectV2Response.md @@ -6,8 +6,6 @@ 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 def6f0c4..dfd98573 100644 --- a/docs/BrandingGetAutocompleteV2Response.md +++ b/docs/BrandingGetAutocompleteV2Response.md @@ -6,8 +6,6 @@ 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 432184ea..ce8948ef 100644 --- a/docs/BrandingGetListV1Response.md +++ b/docs/BrandingGetListV1Response.md @@ -6,8 +6,6 @@ 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 fc685003..2b3280c9 100644 --- a/docs/BrandingGetListV1ResponseMPayload.md +++ b/docs/BrandingGetListV1ResponseMPayload.md @@ -6,8 +6,6 @@ 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 ec85f4c0..9ebe0570 100644 --- a/docs/BrandingGetObjectV3Response.md +++ b/docs/BrandingGetObjectV3Response.md @@ -6,8 +6,6 @@ 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 69a50b96..c4042da5 100644 --- a/docs/BrandingRequestCompoundV2.md +++ b/docs/BrandingRequestCompoundV2.md @@ -6,15 +6,6 @@ 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 349e4d76..4e9728c4 100644 --- a/docs/BrandingResponseCompoundV3.md +++ b/docs/BrandingResponseCompoundV3.md @@ -6,16 +6,6 @@ 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 fbd3eb93..81f65cd9 100644 --- a/docs/BuyercontractGetCommunicationCountV1Response.md +++ b/docs/BuyercontractGetCommunicationCountV1Response.md @@ -6,8 +6,6 @@ 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 4ab939bf..cc60b0b2 100644 --- a/docs/BuyercontractGetCommunicationListV1Response.md +++ b/docs/BuyercontractGetCommunicationListV1Response.md @@ -6,8 +6,6 @@ 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 c8e04472..dd66d4a6 100644 --- a/docs/BuyercontractGetCommunicationrecipientsV1Response.md +++ b/docs/BuyercontractGetCommunicationrecipientsV1Response.md @@ -6,8 +6,6 @@ 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 73e839ec..07100b3e 100644 --- a/docs/BuyercontractGetCommunicationsendersV1Response.md +++ b/docs/BuyercontractGetCommunicationsendersV1Response.md @@ -6,8 +6,6 @@ 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 bbcef4ec..0e2583a8 100644 --- a/docs/ClonehistoryGetListV1Response.md +++ b/docs/ClonehistoryGetListV1Response.md @@ -6,8 +6,6 @@ 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 b35d526b..58a7ef6a 100644 --- a/docs/ClonehistoryGetListV1ResponseMPayload.md +++ b/docs/ClonehistoryGetListV1ResponseMPayload.md @@ -6,8 +6,6 @@ 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 9f178295..670b91a9 100644 --- a/docs/ColleagueRequestCompoundV2.md +++ b/docs/ColleagueRequestCompoundV2.md @@ -6,20 +6,6 @@ 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 48728c78..491f0039 100644 --- a/docs/ColleagueResponseCompoundV2.md +++ b/docs/ColleagueResponseCompoundV2.md @@ -6,22 +6,6 @@ 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 8afb8727..484ff2d9 100644 --- a/docs/CommonGetReportV1Response.md +++ b/docs/CommonGetReportV1Response.md @@ -6,8 +6,6 @@ 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 abb74632..864f3f9a 100644 --- a/docs/CommonResponseErrorCreditcardValidation.md +++ b/docs/CommonResponseErrorCreditcardValidation.md @@ -6,9 +6,6 @@ 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 bef24954..f4b99316 100644 --- a/docs/CommonResponseErrorEzsignformValidation.md +++ b/docs/CommonResponseErrorEzsignformValidation.md @@ -6,9 +6,6 @@ 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] **a_obj_ezsignformfielderror** | **List[CustomEzsignformfielderrorResponse]** | | ## Example diff --git a/docs/CommonResponseErrorSTemporaryFileUrl.md b/docs/CommonResponseErrorSTemporaryFileUrl.md index a40d847b..1b6b8eb4 100644 --- a/docs/CommonResponseErrorSTemporaryFileUrl.md +++ b/docs/CommonResponseErrorSTemporaryFileUrl.md @@ -6,9 +6,6 @@ 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 25b95e84..176603da 100644 --- a/docs/CommonResponseErrorTooManyRequests.md +++ b/docs/CommonResponseErrorTooManyRequests.md @@ -6,9 +6,6 @@ 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 a0e8e67c..cf5ba60d 100644 --- a/docs/CommonResponseErrorWrongFranchiseoffice.md +++ b/docs/CommonResponseErrorWrongFranchiseoffice.md @@ -6,9 +6,6 @@ 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 d0621cdb..dccf538f 100644 --- a/docs/CommonResponseObjDebugPayloadGetList.md +++ b/docs/CommonResponseObjDebugPayloadGetList.md @@ -6,11 +6,6 @@ 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/CommunicationRequestCompound.md b/docs/CommunicationRequestCompound.md index 130f52ee..ffb42932 100644 --- a/docs/CommunicationRequestCompound.md +++ b/docs/CommunicationRequestCompound.md @@ -6,16 +6,6 @@ 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) | | diff --git a/docs/CommunicationSendV1Response.md b/docs/CommunicationSendV1Response.md index b8c3abdd..4a4121f8 100644 --- a/docs/CommunicationSendV1Response.md +++ b/docs/CommunicationSendV1Response.md @@ -6,8 +6,6 @@ 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 93570d15..c0ac77f5 100644 --- a/docs/CommunicationattachmentRequestCompound.md +++ b/docs/CommunicationattachmentRequestCompound.md @@ -6,10 +6,6 @@ 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 3ba96c36..5c0121ae 100644 --- a/docs/CommunicationexternalrecipientRequestCompound.md +++ b/docs/CommunicationexternalrecipientRequestCompound.md @@ -6,11 +6,6 @@ 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 13dc8078..a5dac198 100644 --- a/docs/CommunicationrecipientRequestCompound.md +++ b/docs/CommunicationrecipientRequestCompound.md @@ -6,21 +6,6 @@ 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 c82860ba..770dfaff 100644 --- a/docs/CompanyGetAutocompleteV2Response.md +++ b/docs/CompanyGetAutocompleteV2Response.md @@ -6,8 +6,6 @@ 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 b75644f6..f69337b0 100644 --- a/docs/ContactRequestCompound.md +++ b/docs/ContactRequestCompound.md @@ -6,12 +6,6 @@ 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 2d9a5827..ba978343 100644 --- a/docs/ContactRequestCompoundV2.md +++ b/docs/ContactRequestCompoundV2.md @@ -6,16 +6,6 @@ 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 723fc50c..374fa8e5 100644 --- a/docs/ContactResponseCompound.md +++ b/docs/ContactResponseCompound.md @@ -6,19 +6,6 @@ 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 9d97241e..470d5e1a 100644 --- a/docs/ContactinformationsRequestCompound.md +++ b/docs/ContactinformationsRequestCompound.md @@ -6,10 +6,6 @@ A Contactinformations Object and children to create a complete structure Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**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]**](AddressRequest.md) | | **a_obj_phone** | [**List[PhoneRequestCompound]**](PhoneRequest.md) | | **a_obj_email** | [**List[EmailRequestCompound]**](EmailRequest.md) | | diff --git a/docs/ContactinformationsRequestCompoundV2.md b/docs/ContactinformationsRequestCompoundV2.md index 2454387e..fad26626 100644 --- a/docs/ContactinformationsRequestCompoundV2.md +++ b/docs/ContactinformationsRequestCompoundV2.md @@ -6,11 +6,6 @@ A Contactinformations Object and children to create a complete structure Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**e_contactinformations_type** | [**FieldEContactinformationsType**](FieldEContactinformationsType.md) | | -**i_address_default** | **int** | The index in the a_objAddress array (zero based index) representing the Address object that should become the default one. You can leave the value to 0 if the array is empty. | -**i_phone_default** | **int** | The index in the a_objPhone array (zero based index) representing the Phone object that should become the default one. You can leave the value to 0 if the array is empty. | -**i_email_default** | **int** | The index in the a_objEmail array (zero based index) representing the Email object that should become the default one. You can leave the value to 0 if the array is empty. | -**i_website_default** | **int** | The index in the a_objWebsite array (zero based index) representing the Website object that should become the default one. You can leave the value to 0 if the array is empty. | **a_obj_address** | [**List[AddressRequestCompound]**](AddressRequest.md) | | **a_obj_phone** | [**List[PhoneRequestCompound]**](PhoneRequest.md) | | **a_obj_email** | [**List[EmailRequestCompound]**](EmailRequest.md) | | diff --git a/docs/ContactinformationsResponseCompound.md b/docs/ContactinformationsResponseCompound.md index 6dcbfb00..9dd780b4 100644 --- a/docs/ContactinformationsResponseCompound.md +++ b/docs/ContactinformationsResponseCompound.md @@ -6,17 +6,6 @@ A Contactinformations Object Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**pki_contactinformations_id** | **int** | The unique ID of the Contactinformations | -**fki_address_id_default** | **int** | The unique ID of the Address | [optional] -**fki_phone_id_default** | **int** | The unique ID of the Phone. | [optional] -**fki_email_id_default** | **int** | The unique ID of the Email | [optional] -**fki_website_id_default** | **int** | The unique ID of the Website Default | [optional] -**e_contactinformations_type** | [**FieldEContactinformationsType**](FieldEContactinformationsType.md) | | -**s_contactinformations_url** | **str** | The url of the Contactinformations | [optional] -**obj_address_default** | [**AddressResponse**](AddressResponse.md) | An Address Object and children to create a complete structure | [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] **a_obj_address** | [**List[AddressResponseCompound]**](AddressResponse.md) | | **a_obj_phone** | [**List[PhoneResponseCompound]**](PhoneResponseCompound.md) | | **a_obj_email** | [**List[EmailResponseCompound]**](EmailResponse.md) | | diff --git a/docs/ContacttitleGetAutocompleteV2Response.md b/docs/ContacttitleGetAutocompleteV2Response.md index 67a76336..b1fe2978 100644 --- a/docs/ContacttitleGetAutocompleteV2Response.md +++ b/docs/ContacttitleGetAutocompleteV2Response.md @@ -6,8 +6,6 @@ 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 eef43a5b..857dd531 100644 --- a/docs/CorsCreateObjectV1Response.md +++ b/docs/CorsCreateObjectV1Response.md @@ -6,8 +6,6 @@ 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 85fb95ec..479a0b28 100644 --- a/docs/CorsDeleteObjectV1Response.md +++ b/docs/CorsDeleteObjectV1Response.md @@ -6,8 +6,6 @@ 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 6480f6cb..5401e8ab 100644 --- a/docs/CorsEditObjectV1Response.md +++ b/docs/CorsEditObjectV1Response.md @@ -6,8 +6,6 @@ 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 3978a7fc..845450fc 100644 --- a/docs/CorsGetObjectV2Response.md +++ b/docs/CorsGetObjectV2Response.md @@ -6,8 +6,6 @@ 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 ce4cb383..489098e7 100644 --- a/docs/CorsRequestCompound.md +++ b/docs/CorsRequestCompound.md @@ -6,9 +6,6 @@ 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 01eca7a5..9a438ec1 100644 --- a/docs/CorsResponseCompound.md +++ b/docs/CorsResponseCompound.md @@ -6,9 +6,6 @@ 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 b950bf94..1bd5d20c 100644 --- a/docs/CountryGetAutocompleteV2Response.md +++ b/docs/CountryGetAutocompleteV2Response.md @@ -6,8 +6,6 @@ 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 000f3e47..169fabb2 100644 --- a/docs/CreditcardclientCreateObjectV1Response.md +++ b/docs/CreditcardclientCreateObjectV1Response.md @@ -6,8 +6,6 @@ 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 d6949da7..5e79cfa2 100644 --- a/docs/CreditcardclientDeleteObjectV1Response.md +++ b/docs/CreditcardclientDeleteObjectV1Response.md @@ -6,8 +6,6 @@ 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 3c303f98..eee16e1d 100644 --- a/docs/CreditcardclientEditObjectV1Response.md +++ b/docs/CreditcardclientEditObjectV1Response.md @@ -6,8 +6,6 @@ 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 51cd416e..d608046b 100644 --- a/docs/CreditcardclientGetAutocompleteV2Response.md +++ b/docs/CreditcardclientGetAutocompleteV2Response.md @@ -6,8 +6,6 @@ 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 579ca0a0..49c53edd 100644 --- a/docs/CreditcardclientGetListV1Response.md +++ b/docs/CreditcardclientGetListV1Response.md @@ -6,8 +6,6 @@ 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 fa666c7f..725897d0 100644 --- a/docs/CreditcardclientGetListV1ResponseMPayload.md +++ b/docs/CreditcardclientGetListV1ResponseMPayload.md @@ -6,8 +6,6 @@ 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 a40b670c..6a7a5323 100644 --- a/docs/CreditcardclientGetObjectV2Response.md +++ b/docs/CreditcardclientGetObjectV2Response.md @@ -6,8 +6,6 @@ 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 b01322fc..dbd86744 100644 --- a/docs/CreditcardclientPatchObjectV1Response.md +++ b/docs/CreditcardclientPatchObjectV1Response.md @@ -6,8 +6,6 @@ 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 b2c2c8fc..4fc127f9 100644 --- a/docs/CreditcardclientRequestCompound.md +++ b/docs/CreditcardclientRequestCompound.md @@ -6,15 +6,6 @@ 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 0ee785bd..b4435154 100644 --- a/docs/CreditcardclientResponseCompound.md +++ b/docs/CreditcardclientResponseCompound.md @@ -6,13 +6,6 @@ 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 65ab25f6..d07c9947 100644 --- a/docs/CreditcarddetailResponseCompound.md +++ b/docs/CreditcarddetailResponseCompound.md @@ -6,14 +6,6 @@ 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 94bce996..6f9d38c3 100644 --- a/docs/CreditcardtypeGetAutocompleteV2Response.md +++ b/docs/CreditcardtypeGetAutocompleteV2Response.md @@ -6,8 +6,6 @@ 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 28aaac67..8eae2ea5 100644 --- a/docs/CustomAttachmentResponse.md +++ b/docs/CustomAttachmentResponse.md @@ -6,67 +6,6 @@ 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/CustomEzsignfoldersignerassociationActionableElementResponse.md b/docs/CustomEzsignfoldersignerassociationActionableElementResponse.md index 064d7360..e36177ca 100644 --- a/docs/CustomEzsignfoldersignerassociationActionableElementResponse.md +++ b/docs/CustomEzsignfoldersignerassociationActionableElementResponse.md @@ -6,15 +6,6 @@ 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/CustomEzsignformfieldgroupCreateEzsignelementsPositionedByWordRequest.md b/docs/CustomEzsignformfieldgroupCreateEzsignelementsPositionedByWordRequest.md index 8531b972..e55ce9b3 100644 --- a/docs/CustomEzsignformfieldgroupCreateEzsignelementsPositionedByWordRequest.md +++ b/docs/CustomEzsignformfieldgroupCreateEzsignelementsPositionedByWordRequest.md @@ -6,26 +6,6 @@ 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]**](EzsignformfieldgroupsignerRequest.md) | | -**a_obj_dropdown_element** | [**List[CustomDropdownElementRequestCompound]**](CustomDropdownElementRequest.md) | | [optional] -**a_obj_ezsignformfield** | [**List[EzsignformfieldRequestCompound]**](EzsignformfieldRequestCompound.md) | | **obj_createezsignelementspositionedbyword** | [**CustomCreateEzsignelementsPositionedByWordRequest**](CustomCreateEzsignelementsPositionedByWordRequest.md) | | ## Example diff --git a/docs/CustomEzsignsignatureCreateEzsignelementsPositionedByWordRequest.md b/docs/CustomEzsignsignatureCreateEzsignelementsPositionedByWordRequest.md index b960bdd7..cd059b59 100644 --- a/docs/CustomEzsignsignatureCreateEzsignelementsPositionedByWordRequest.md +++ b/docs/CustomEzsignsignatureCreateEzsignelementsPositionedByWordRequest.md @@ -6,36 +6,6 @@ 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]**](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] **obj_createezsignelementspositionedbyword** | [**CustomCreateEzsignelementsPositionedByWordRequest**](CustomCreateEzsignelementsPositionedByWordRequest.md) | | ## Example diff --git a/docs/CustomNotificationsubsectiongetnotificationtestsResponse.md b/docs/CustomNotificationsubsectiongetnotificationtestsResponse.md index 233f782d..85615b9e 100644 --- a/docs/CustomNotificationsubsectiongetnotificationtestsResponse.md +++ b/docs/CustomNotificationsubsectiongetnotificationtestsResponse.md @@ -6,11 +6,6 @@ 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 0c08aa23..abd1acce 100644 --- a/docs/CustomNotificationtestgetnotificationtestsResponse.md +++ b/docs/CustomNotificationtestgetnotificationtestsResponse.md @@ -6,11 +6,6 @@ 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 aa8db8be..23b0bab4 100644 --- a/docs/CustomWebhookResponse.md +++ b/docs/CustomWebhookResponse.md @@ -6,25 +6,6 @@ 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 29b01aa6..409033d7 100644 --- a/docs/CustomerCreateObjectV1Response.md +++ b/docs/CustomerCreateObjectV1Response.md @@ -6,8 +6,6 @@ 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 44c3cb3f..58764447 100644 --- a/docs/CustomerGetObjectV2Response.md +++ b/docs/CustomerGetObjectV2Response.md @@ -6,8 +6,6 @@ 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 8c9ff4c4..dd363c11 100644 --- a/docs/CustomerRequestCompound.md +++ b/docs/CustomerRequestCompound.md @@ -6,57 +6,6 @@ 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 61ce213f..6c06ac96 100644 --- a/docs/CustomerResponseCompound.md +++ b/docs/CustomerResponseCompound.md @@ -6,57 +6,6 @@ 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 85fbb542..8681af0a 100644 --- a/docs/DepartmentGetAutocompleteV2Response.md +++ b/docs/DepartmentGetAutocompleteV2Response.md @@ -6,8 +6,6 @@ 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 e1b45842..2c7e8990 100644 --- a/docs/DiscussionCreateObjectV1Response.md +++ b/docs/DiscussionCreateObjectV1Response.md @@ -6,8 +6,6 @@ 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 cca2f4c5..84693725 100644 --- a/docs/DiscussionDeleteObjectV1Response.md +++ b/docs/DiscussionDeleteObjectV1Response.md @@ -6,8 +6,6 @@ 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 0e371f4e..5cbec6e7 100644 --- a/docs/DiscussionGetObjectV2Response.md +++ b/docs/DiscussionGetObjectV2Response.md @@ -6,8 +6,6 @@ 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 daa9f3fb..52024156 100644 --- a/docs/DiscussionPatchObjectV1Response.md +++ b/docs/DiscussionPatchObjectV1Response.md @@ -6,8 +6,6 @@ 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 1b6f10e3..515852c3 100644 --- a/docs/DiscussionRequestCompound.md +++ b/docs/DiscussionRequestCompound.md @@ -6,9 +6,6 @@ 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 8c439e46..ad02c028 100644 --- a/docs/DiscussionResponseCompound.md +++ b/docs/DiscussionResponseCompound.md @@ -6,13 +6,6 @@ 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 74684c78..fadb0c6d 100644 --- a/docs/DiscussionUpdateDiscussionreadstatusV1Response.md +++ b/docs/DiscussionUpdateDiscussionreadstatusV1Response.md @@ -6,8 +6,6 @@ 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 fee33a7b..b5b1fb7b 100644 --- a/docs/DiscussionmembershipCreateObjectV1Response.md +++ b/docs/DiscussionmembershipCreateObjectV1Response.md @@ -6,8 +6,6 @@ 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 7c18becf..36346b7b 100644 --- a/docs/DiscussionmembershipDeleteObjectV1Response.md +++ b/docs/DiscussionmembershipDeleteObjectV1Response.md @@ -6,8 +6,6 @@ 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 fb567b69..0e8f4e43 100644 --- a/docs/DiscussionmembershipRequestCompound.md +++ b/docs/DiscussionmembershipRequestCompound.md @@ -6,12 +6,6 @@ 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 4f5c5eea..9f4c0262 100644 --- a/docs/DiscussionmembershipResponseCompound.md +++ b/docs/DiscussionmembershipResponseCompound.md @@ -6,13 +6,6 @@ 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 1df38748..74660210 100644 --- a/docs/DiscussionmessageCreateObjectV1Response.md +++ b/docs/DiscussionmessageCreateObjectV1Response.md @@ -6,8 +6,6 @@ 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 54adfa14..9dc14bdb 100644 --- a/docs/DiscussionmessageDeleteObjectV1Response.md +++ b/docs/DiscussionmessageDeleteObjectV1Response.md @@ -6,8 +6,6 @@ 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 009c9ed1..d8c20b66 100644 --- a/docs/DiscussionmessagePatchObjectV1Response.md +++ b/docs/DiscussionmessagePatchObjectV1Response.md @@ -6,8 +6,6 @@ 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 ae5c3cf7..df081432 100644 --- a/docs/DiscussionmessageRequestCompound.md +++ b/docs/DiscussionmessageRequestCompound.md @@ -6,10 +6,6 @@ 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 870e484a..0a8c7a8d 100644 --- a/docs/DiscussionmessageResponseCompound.md +++ b/docs/DiscussionmessageResponseCompound.md @@ -6,15 +6,6 @@ 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 4248c34a..231f7913 100644 --- a/docs/DomainCreateObjectV1Response.md +++ b/docs/DomainCreateObjectV1Response.md @@ -6,8 +6,6 @@ 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 e5be438a..70185f3d 100644 --- a/docs/DomainDeleteObjectV1Response.md +++ b/docs/DomainDeleteObjectV1Response.md @@ -6,8 +6,6 @@ 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 0e737abc..25f7bec8 100644 --- a/docs/DomainGetListV1Response.md +++ b/docs/DomainGetListV1Response.md @@ -6,8 +6,6 @@ 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 f9fc7c17..402432a4 100644 --- a/docs/DomainGetListV1ResponseMPayload.md +++ b/docs/DomainGetListV1ResponseMPayload.md @@ -6,8 +6,6 @@ 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 63109a5d..882404d6 100644 --- a/docs/DomainGetObjectV2Response.md +++ b/docs/DomainGetObjectV2Response.md @@ -6,8 +6,6 @@ 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 db34ba5f..bc1e361e 100644 --- a/docs/DomainRequestCompound.md +++ b/docs/DomainRequestCompound.md @@ -6,8 +6,6 @@ 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 86b67391..b3c5500d 100644 --- a/docs/DomainResponseCompound.md +++ b/docs/DomainResponseCompound.md @@ -6,12 +6,6 @@ A Domain Object Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**pki_domain_id** | **int** | The unique ID of the Domain | -**s_domain_name** | **str** | The name of the Domain | -**b_domain_validdkim** | **bool** | Whether the DKIM is valid or not | -**b_domain_validmailfrom** | **bool** | Whether the mail from is valid or not | -**b_domain_validcustomer** | **bool** | Whether the customer has access to it or not | -**obj_audit** | [**CommonAudit**](CommonAudit.md) | | **a_obj_dnsrecord** | **List[CustomDnsrecordResponse]** | | ## Example diff --git a/docs/ElectronicfundstransferGetCommunicationCountV1Response.md b/docs/ElectronicfundstransferGetCommunicationCountV1Response.md index bf9bc7ae..d7c6783b 100644 --- a/docs/ElectronicfundstransferGetCommunicationCountV1Response.md +++ b/docs/ElectronicfundstransferGetCommunicationCountV1Response.md @@ -6,8 +6,6 @@ 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 45b29203..e9cf8cdb 100644 --- a/docs/ElectronicfundstransferGetCommunicationListV1Response.md +++ b/docs/ElectronicfundstransferGetCommunicationListV1Response.md @@ -6,8 +6,6 @@ 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 aa68de07..7b0ea862 100644 --- a/docs/ElectronicfundstransferGetCommunicationrecipientsV1Response.md +++ b/docs/ElectronicfundstransferGetCommunicationrecipientsV1Response.md @@ -6,8 +6,6 @@ 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 20316be1..c53c7e90 100644 --- a/docs/ElectronicfundstransferGetCommunicationsendersV1Response.md +++ b/docs/ElectronicfundstransferGetCommunicationsendersV1Response.md @@ -6,8 +6,6 @@ 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 91648a20..6769a00c 100644 --- a/docs/EmailtypeGetAutocompleteV2Response.md +++ b/docs/EmailtypeGetAutocompleteV2Response.md @@ -6,8 +6,6 @@ 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 d1925d1d..da5284d8 100644 --- a/docs/EzdoctemplatedocumentCreateObjectV1Response.md +++ b/docs/EzdoctemplatedocumentCreateObjectV1Response.md @@ -6,8 +6,6 @@ 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 8155bb89..29f1fd6f 100644 --- a/docs/EzdoctemplatedocumentEditObjectV1Response.md +++ b/docs/EzdoctemplatedocumentEditObjectV1Response.md @@ -6,8 +6,6 @@ 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 4e5a76aa..89ffb769 100644 --- a/docs/EzdoctemplatedocumentGetAutocompleteV2Response.md +++ b/docs/EzdoctemplatedocumentGetAutocompleteV2Response.md @@ -6,8 +6,6 @@ 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 428781eb..d4edc5b9 100644 --- a/docs/EzdoctemplatedocumentGetListV1Response.md +++ b/docs/EzdoctemplatedocumentGetListV1Response.md @@ -6,8 +6,6 @@ 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 f1744ca4..def7aa11 100644 --- a/docs/EzdoctemplatedocumentGetListV1ResponseMPayload.md +++ b/docs/EzdoctemplatedocumentGetListV1ResponseMPayload.md @@ -6,8 +6,6 @@ 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 3ff78514..f7c8a260 100644 --- a/docs/EzdoctemplatedocumentGetObjectV2Response.md +++ b/docs/EzdoctemplatedocumentGetObjectV2Response.md @@ -6,8 +6,6 @@ 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 030dd9fb..94974554 100644 --- a/docs/EzdoctemplatedocumentPatchObjectV1Response.md +++ b/docs/EzdoctemplatedocumentPatchObjectV1Response.md @@ -6,8 +6,6 @@ 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 2e612e4e..197bd26c 100644 --- a/docs/EzdoctemplatedocumentRequestCompound.md +++ b/docs/EzdoctemplatedocumentRequestCompound.md @@ -6,14 +6,6 @@ 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 df04f669..14bbac7b 100644 --- a/docs/EzdoctemplatedocumentResponseCompound.md +++ b/docs/EzdoctemplatedocumentResponseCompound.md @@ -6,18 +6,6 @@ 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 716de0d7..15b6a658 100644 --- a/docs/EzdoctemplatefieldtypecategoryGetAutocompleteV2Response.md +++ b/docs/EzdoctemplatefieldtypecategoryGetAutocompleteV2Response.md @@ -6,8 +6,6 @@ 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 d7ae2a56..52545314 100644 --- a/docs/EzdoctemplatetypeGetAutocompleteV2Response.md +++ b/docs/EzdoctemplatetypeGetAutocompleteV2Response.md @@ -6,8 +6,6 @@ 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 905f8dc9..3b673bc1 100644 --- a/docs/EzmaxinvoicingGetAutocompleteV2Response.md +++ b/docs/EzmaxinvoicingGetAutocompleteV2Response.md @@ -6,8 +6,6 @@ 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 9a5db4af..c2bbb7df 100644 --- a/docs/EzmaxinvoicingGetObjectV2Response.md +++ b/docs/EzmaxinvoicingGetObjectV2Response.md @@ -6,8 +6,6 @@ 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 ee488942..1740e7ee 100644 --- a/docs/EzmaxinvoicingGetProvisionalV1Response.md +++ b/docs/EzmaxinvoicingGetProvisionalV1Response.md @@ -6,8 +6,6 @@ Response for GET /1/object/ezmaxinvoicing/getProvisional Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**obj_debug_payload** | [**CommonResponseObjDebugPayload**](CommonResponseObjDebugPayload.md) | | -**obj_debug** | [**CommonResponseObjDebug**](CommonResponseObjDebug.md) | | [optional] **m_payload** | [**EzmaxinvoicingResponseCompound**](EzmaxinvoicingResponseCompound.md) | Payload for GET /1/object/ezmaxinvoicing/getProvisional | ## Example diff --git a/docs/EzmaxinvoicingGetProvisionalV1ResponseMPayload.md b/docs/EzmaxinvoicingGetProvisionalV1ResponseMPayload.md index 9cf5d7d1..01feb0c8 100644 --- a/docs/EzmaxinvoicingGetProvisionalV1ResponseMPayload.md +++ b/docs/EzmaxinvoicingGetProvisionalV1ResponseMPayload.md @@ -6,28 +6,6 @@ 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]** | | -**a_obj_ezmaxinvoicingezsigndocument** | **List[CustomEzmaxinvoicingEzsigndocumentResponse]** | | ## Example diff --git a/docs/EzmaxinvoicingResponseCompound.md b/docs/EzmaxinvoicingResponseCompound.md index 982dd873..cdfe3490 100644 --- a/docs/EzmaxinvoicingResponseCompound.md +++ b/docs/EzmaxinvoicingResponseCompound.md @@ -6,19 +6,6 @@ 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) | | diff --git a/docs/EzmaxinvoicingagentResponseCompound.md b/docs/EzmaxinvoicingagentResponseCompound.md index ca7ad732..297fff1d 100644 --- a/docs/EzmaxinvoicingagentResponseCompound.md +++ b/docs/EzmaxinvoicingagentResponseCompound.md @@ -6,26 +6,6 @@ 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 c9bd6e27..678a9900 100644 --- a/docs/EzmaxinvoicingcommissionResponseCompound.md +++ b/docs/EzmaxinvoicingcommissionResponseCompound.md @@ -6,14 +6,6 @@ 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 83ad288c..75e1b734 100644 --- a/docs/EzmaxinvoicingcontractResponseCompound.md +++ b/docs/EzmaxinvoicingcontractResponseCompound.md @@ -6,15 +6,6 @@ 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 0d2a41f5..1bccd55e 100644 --- a/docs/EzmaxinvoicingsummaryexternalResponseCompound.md +++ b/docs/EzmaxinvoicingsummaryexternalResponseCompound.md @@ -6,11 +6,6 @@ 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 77d55146..14259805 100644 --- a/docs/EzmaxinvoicingsummaryexternaldetailResponseCompound.md +++ b/docs/EzmaxinvoicingsummaryexternaldetailResponseCompound.md @@ -6,16 +6,6 @@ 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 b749ee20..d5999cf3 100644 --- a/docs/EzmaxinvoicingsummaryglobalResponseCompound.md +++ b/docs/EzmaxinvoicingsummaryglobalResponseCompound.md @@ -6,25 +6,6 @@ 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 e81500f9..46a0a5e5 100644 --- a/docs/EzmaxinvoicingsummaryinternalResponseCompound.md +++ b/docs/EzmaxinvoicingsummaryinternalResponseCompound.md @@ -6,12 +6,6 @@ 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 8eeb111d..8a49d211 100644 --- a/docs/EzmaxinvoicingsummaryinternaldetailResponseCompound.md +++ b/docs/EzmaxinvoicingsummaryinternaldetailResponseCompound.md @@ -6,18 +6,6 @@ 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 619a051b..dd928b93 100644 --- a/docs/EzmaxinvoicinguserResponseCompound.md +++ b/docs/EzmaxinvoicinguserResponseCompound.md @@ -6,15 +6,6 @@ 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 661d2b49..70bd630f 100644 --- a/docs/EzmaxproductGetAutocompleteV2Response.md +++ b/docs/EzmaxproductGetAutocompleteV2Response.md @@ -6,8 +6,6 @@ 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 c55b40e0..ba960552 100644 --- a/docs/EzsignannotationCreateObjectV1Response.md +++ b/docs/EzsignannotationCreateObjectV1Response.md @@ -6,8 +6,6 @@ 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 3c5cec3c..0f497bad 100644 --- a/docs/EzsignannotationDeleteObjectV1Response.md +++ b/docs/EzsignannotationDeleteObjectV1Response.md @@ -6,8 +6,6 @@ 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 7f12f039..6fdc9073 100644 --- a/docs/EzsignannotationEditObjectV1Response.md +++ b/docs/EzsignannotationEditObjectV1Response.md @@ -6,8 +6,6 @@ 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 764df43b..97f72a4b 100644 --- a/docs/EzsignannotationGetObjectV2Response.md +++ b/docs/EzsignannotationGetObjectV2Response.md @@ -6,8 +6,6 @@ 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 ee63787f..283d6b9b 100644 --- a/docs/EzsignannotationRequestCompound.md +++ b/docs/EzsignannotationRequestCompound.md @@ -6,17 +6,6 @@ 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 a387c26d..fccbe7b7 100644 --- a/docs/EzsignannotationResponseCompound.md +++ b/docs/EzsignannotationResponseCompound.md @@ -6,17 +6,6 @@ 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 8bdb9114..e472e832 100644 --- a/docs/EzsignbulksendCreateEzsignbulksendtransmissionV2Response.md +++ b/docs/EzsignbulksendCreateEzsignbulksendtransmissionV2Response.md @@ -6,8 +6,6 @@ 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 133fec57..5ffdf385 100644 --- a/docs/EzsignbulksendCreateObjectV1Response.md +++ b/docs/EzsignbulksendCreateObjectV1Response.md @@ -6,8 +6,6 @@ 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 8a40c312..873969a7 100644 --- a/docs/EzsignbulksendDeleteObjectV1Response.md +++ b/docs/EzsignbulksendDeleteObjectV1Response.md @@ -6,8 +6,6 @@ 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 74bfe444..17f9e84f 100644 --- a/docs/EzsignbulksendEditObjectV1Response.md +++ b/docs/EzsignbulksendEditObjectV1Response.md @@ -6,8 +6,6 @@ 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 1e9c6e27..3abf14da 100644 --- a/docs/EzsignbulksendGetEzsignbulksendtransmissionsV1Response.md +++ b/docs/EzsignbulksendGetEzsignbulksendtransmissionsV1Response.md @@ -6,8 +6,6 @@ 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 0d267e00..0e17495f 100644 --- a/docs/EzsignbulksendGetEzsignsignaturesAutomaticV1Response.md +++ b/docs/EzsignbulksendGetEzsignsignaturesAutomaticV1Response.md @@ -6,8 +6,6 @@ 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 4c492773..14be399f 100644 --- a/docs/EzsignbulksendGetFormsDataV1Response.md +++ b/docs/EzsignbulksendGetFormsDataV1Response.md @@ -6,8 +6,6 @@ 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 e650a3ad..964d05a6 100644 --- a/docs/EzsignbulksendGetListV1Response.md +++ b/docs/EzsignbulksendGetListV1Response.md @@ -6,8 +6,6 @@ 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 44a93a89..2f3dff74 100644 --- a/docs/EzsignbulksendGetListV1ResponseMPayload.md +++ b/docs/EzsignbulksendGetListV1ResponseMPayload.md @@ -6,8 +6,6 @@ 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 ec6d3f1e..4df5caa8 100644 --- a/docs/EzsignbulksendGetObjectV2Response.md +++ b/docs/EzsignbulksendGetObjectV2Response.md @@ -6,8 +6,6 @@ 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 e6322728..e51bcc4d 100644 --- a/docs/EzsignbulksendReorderV1Response.md +++ b/docs/EzsignbulksendReorderV1Response.md @@ -6,8 +6,6 @@ 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 e966d0a0..98a14504 100644 --- a/docs/EzsignbulksendRequestCompound.md +++ b/docs/EzsignbulksendRequestCompound.md @@ -6,13 +6,6 @@ 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 3f4ac2c6..7817e30e 100644 --- a/docs/EzsignbulksendResponseCompound.md +++ b/docs/EzsignbulksendResponseCompound.md @@ -6,17 +6,6 @@ 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 440867ee..cf93e8b4 100644 --- a/docs/EzsignbulksenddocumentmappingCreateObjectV1Response.md +++ b/docs/EzsignbulksenddocumentmappingCreateObjectV1Response.md @@ -6,8 +6,6 @@ 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 5490e19a..4ce921c0 100644 --- a/docs/EzsignbulksenddocumentmappingDeleteObjectV1Response.md +++ b/docs/EzsignbulksenddocumentmappingDeleteObjectV1Response.md @@ -6,8 +6,6 @@ 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 02487f9f..a256d516 100644 --- a/docs/EzsignbulksenddocumentmappingGetObjectV2Response.md +++ b/docs/EzsignbulksenddocumentmappingGetObjectV2Response.md @@ -6,8 +6,6 @@ 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 c178960f..65fde13d 100644 --- a/docs/EzsignbulksenddocumentmappingRequestCompound.md +++ b/docs/EzsignbulksenddocumentmappingRequestCompound.md @@ -6,10 +6,6 @@ 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 2e1ec06d..3cf17ce3 100644 --- a/docs/EzsignbulksenddocumentmappingResponseCompound.md +++ b/docs/EzsignbulksenddocumentmappingResponseCompound.md @@ -6,11 +6,6 @@ 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 8eb229f4..cdaf1e72 100644 --- a/docs/EzsignbulksendsignermappingCreateObjectV1Response.md +++ b/docs/EzsignbulksendsignermappingCreateObjectV1Response.md @@ -6,8 +6,6 @@ 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 d62a3a55..4d1b4908 100644 --- a/docs/EzsignbulksendsignermappingDeleteObjectV1Response.md +++ b/docs/EzsignbulksendsignermappingDeleteObjectV1Response.md @@ -6,8 +6,6 @@ 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 071d937a..66de6a13 100644 --- a/docs/EzsignbulksendsignermappingGetObjectV2Response.md +++ b/docs/EzsignbulksendsignermappingGetObjectV2Response.md @@ -6,8 +6,6 @@ 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 17dfd727..1229804d 100644 --- a/docs/EzsignbulksendsignermappingRequestCompound.md +++ b/docs/EzsignbulksendsignermappingRequestCompound.md @@ -6,10 +6,6 @@ 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 4187ac78..92066853 100644 --- a/docs/EzsignbulksendsignermappingResponseCompound.md +++ b/docs/EzsignbulksendsignermappingResponseCompound.md @@ -6,10 +6,6 @@ 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 8ef3c737..5e8f0016 100644 --- a/docs/EzsignbulksendtransmissionGetEzsignsignaturesAutomaticV1Response.md +++ b/docs/EzsignbulksendtransmissionGetEzsignsignaturesAutomaticV1Response.md @@ -6,8 +6,6 @@ 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 8bb7bc06..6973011f 100644 --- a/docs/EzsignbulksendtransmissionGetFormsDataV1Response.md +++ b/docs/EzsignbulksendtransmissionGetFormsDataV1Response.md @@ -6,8 +6,6 @@ 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 8268cd0a..dcabdfb7 100644 --- a/docs/EzsignbulksendtransmissionGetObjectV2Response.md +++ b/docs/EzsignbulksendtransmissionGetObjectV2Response.md @@ -6,8 +6,6 @@ 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 d77ac124..87cf6586 100644 --- a/docs/EzsignbulksendtransmissionResponseCompound.md +++ b/docs/EzsignbulksendtransmissionResponseCompound.md @@ -6,11 +6,6 @@ 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 d36e3ed7..db47c5cf 100644 --- a/docs/EzsigndiscussionCreateObjectV1Response.md +++ b/docs/EzsigndiscussionCreateObjectV1Response.md @@ -6,8 +6,6 @@ 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 5d54e868..33fcad66 100644 --- a/docs/EzsigndiscussionDeleteObjectV1Response.md +++ b/docs/EzsigndiscussionDeleteObjectV1Response.md @@ -6,8 +6,6 @@ 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 c8c9df8d..b26d0a63 100644 --- a/docs/EzsigndiscussionGetObjectV2Response.md +++ b/docs/EzsigndiscussionGetObjectV2Response.md @@ -6,8 +6,6 @@ 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 da8f1593..349d1ca2 100644 --- a/docs/EzsigndiscussionRequestCompound.md +++ b/docs/EzsigndiscussionRequestCompound.md @@ -6,12 +6,6 @@ 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 0a3c3e54..5419e29e 100644 --- a/docs/EzsigndiscussionResponseCompound.md +++ b/docs/EzsigndiscussionResponseCompound.md @@ -6,13 +6,6 @@ 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 1a4b0708..4853882c 100644 --- a/docs/EzsigndocumentApplyEzsigntemplateV1Response.md +++ b/docs/EzsigndocumentApplyEzsigntemplateV1Response.md @@ -6,8 +6,6 @@ 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 f7fbdd32..fbaf9379 100644 --- a/docs/EzsigndocumentApplyEzsigntemplateV2Response.md +++ b/docs/EzsigndocumentApplyEzsigntemplateV2Response.md @@ -6,8 +6,6 @@ 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 84ebc587..4f009859 100644 --- a/docs/EzsigndocumentApplyEzsigntemplateglobalV1Response.md +++ b/docs/EzsigndocumentApplyEzsigntemplateglobalV1Response.md @@ -6,8 +6,6 @@ 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 fefdcfe0..ee94d4d9 100644 --- a/docs/EzsigndocumentCreateEzsignelementsPositionedByWordV1Response.md +++ b/docs/EzsigndocumentCreateEzsignelementsPositionedByWordV1Response.md @@ -6,8 +6,6 @@ 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/EzsigndocumentCreateObjectV1Response.md b/docs/EzsigndocumentCreateObjectV1Response.md index c858f888..15036674 100644 --- a/docs/EzsigndocumentCreateObjectV1Response.md +++ b/docs/EzsigndocumentCreateObjectV1Response.md @@ -6,8 +6,6 @@ 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/EzsigndocumentCreateObjectV2Response.md b/docs/EzsigndocumentCreateObjectV2Response.md index bf654752..06c715a4 100644 --- a/docs/EzsigndocumentCreateObjectV2Response.md +++ b/docs/EzsigndocumentCreateObjectV2Response.md @@ -6,8 +6,6 @@ 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/EzsigndocumentCreateObjectV3Response.md b/docs/EzsigndocumentCreateObjectV3Response.md index 2c6a811d..4e7a23e7 100644 --- a/docs/EzsigndocumentCreateObjectV3Response.md +++ b/docs/EzsigndocumentCreateObjectV3Response.md @@ -6,8 +6,6 @@ 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 fed0bcd3..d0c28061 100644 --- a/docs/EzsigndocumentDeclineToSignV1Response.md +++ b/docs/EzsigndocumentDeclineToSignV1Response.md @@ -6,8 +6,6 @@ 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 7a870ed1..774ca9b3 100644 --- a/docs/EzsigndocumentDeleteObjectV1Response.md +++ b/docs/EzsigndocumentDeleteObjectV1Response.md @@ -6,8 +6,6 @@ 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 011ff6f2..099c13ec 100644 --- a/docs/EzsigndocumentEditEzsignannotationsV1Response.md +++ b/docs/EzsigndocumentEditEzsignannotationsV1Response.md @@ -6,8 +6,6 @@ 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 06f9ec06..a56eaa1c 100644 --- a/docs/EzsigndocumentEditEzsignformfieldgroupsV1Response.md +++ b/docs/EzsigndocumentEditEzsignformfieldgroupsV1Response.md @@ -6,8 +6,6 @@ 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 080fce16..dcda2e61 100644 --- a/docs/EzsigndocumentEditEzsignsignaturesV1Response.md +++ b/docs/EzsigndocumentEditEzsignsignaturesV1Response.md @@ -6,8 +6,6 @@ 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/EzsigndocumentEditObjectV1Response.md b/docs/EzsigndocumentEditObjectV1Response.md index 61d1a51f..762eefd1 100644 --- a/docs/EzsigndocumentEditObjectV1Response.md +++ b/docs/EzsigndocumentEditObjectV1Response.md @@ -6,8 +6,6 @@ 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 98c8768b..dd56e0f2 100644 --- a/docs/EzsigndocumentEndPrematurelyV1Response.md +++ b/docs/EzsigndocumentEndPrematurelyV1Response.md @@ -6,8 +6,6 @@ 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 3100b7d5..9ab648f5 100644 --- a/docs/EzsigndocumentExtractTextV1Response.md +++ b/docs/EzsigndocumentExtractTextV1Response.md @@ -6,8 +6,6 @@ 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 343068c3..cd82a005 100644 --- a/docs/EzsigndocumentFlattenV1Response.md +++ b/docs/EzsigndocumentFlattenV1Response.md @@ -6,8 +6,6 @@ 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 942038f5..8a7193e7 100644 --- a/docs/EzsigndocumentGetActionableElementsV1Response.md +++ b/docs/EzsigndocumentGetActionableElementsV1Response.md @@ -6,8 +6,6 @@ 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 585820ef..c2c494df 100644 --- a/docs/EzsigndocumentGetAttachmentsV1Response.md +++ b/docs/EzsigndocumentGetAttachmentsV1Response.md @@ -6,8 +6,6 @@ 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 6f8bf4ce..2cee69cf 100644 --- a/docs/EzsigndocumentGetCompletedElementsV1Response.md +++ b/docs/EzsigndocumentGetCompletedElementsV1Response.md @@ -6,8 +6,6 @@ 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 7f0d5015..545880f5 100644 --- a/docs/EzsigndocumentGetDownloadUrlV1Response.md +++ b/docs/EzsigndocumentGetDownloadUrlV1Response.md @@ -6,8 +6,6 @@ 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 83c47848..40b9ad40 100644 --- a/docs/EzsigndocumentGetEzsignannotationsV1Response.md +++ b/docs/EzsigndocumentGetEzsignannotationsV1Response.md @@ -6,8 +6,6 @@ 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 eeefd8dd..6225d81f 100644 --- a/docs/EzsigndocumentGetEzsigndiscussionsV1Response.md +++ b/docs/EzsigndocumentGetEzsigndiscussionsV1Response.md @@ -6,8 +6,6 @@ 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 de3431fb..c953bc68 100644 --- a/docs/EzsigndocumentGetEzsignformfieldgroupsV1Response.md +++ b/docs/EzsigndocumentGetEzsignformfieldgroupsV1Response.md @@ -6,8 +6,6 @@ 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 44715d6a..26c1a9c0 100644 --- a/docs/EzsigndocumentGetEzsignpagesV1Response.md +++ b/docs/EzsigndocumentGetEzsignpagesV1Response.md @@ -6,8 +6,6 @@ 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/EzsigndocumentGetEzsignsignaturesAutomaticV1Response.md b/docs/EzsigndocumentGetEzsignsignaturesAutomaticV1Response.md index 1a02e22a..7b81e115 100644 --- a/docs/EzsigndocumentGetEzsignsignaturesAutomaticV1Response.md +++ b/docs/EzsigndocumentGetEzsignsignaturesAutomaticV1Response.md @@ -6,8 +6,6 @@ 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 aee71f89..bb958600 100644 --- a/docs/EzsigndocumentGetEzsignsignaturesV1Response.md +++ b/docs/EzsigndocumentGetEzsignsignaturesV1Response.md @@ -6,8 +6,6 @@ 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 92a77356..805b90f9 100644 --- a/docs/EzsigndocumentGetFormDataV1Response.md +++ b/docs/EzsigndocumentGetFormDataV1Response.md @@ -6,8 +6,6 @@ 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 c0291785..666ff2fa 100644 --- a/docs/EzsigndocumentGetObjectV1Response.md +++ b/docs/EzsigndocumentGetObjectV1Response.md @@ -6,8 +6,6 @@ Response for GET /1/object/ezsigndocument/{pkiEzsigndocumentID} Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**obj_debug_payload** | [**CommonResponseObjDebugPayload**](CommonResponseObjDebugPayload.md) | | -**obj_debug** | [**CommonResponseObjDebug**](CommonResponseObjDebug.md) | | [optional] **m_payload** | [**EzsigndocumentResponseCompound**](EzsigndocumentResponseCompound.md) | Payload for GET /1/object/ezsigndocument/{pkiEzsigndocumentID} | ## Example diff --git a/docs/EzsigndocumentGetObjectV1ResponseMPayload.md b/docs/EzsigndocumentGetObjectV1ResponseMPayload.md index e89f6cf6..c7d4807d 100644 --- a/docs/EzsigndocumentGetObjectV1ResponseMPayload.md +++ b/docs/EzsigndocumentGetObjectV1ResponseMPayload.md @@ -6,37 +6,6 @@ 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 3a2e2a74..a132b078 100644 --- a/docs/EzsigndocumentGetObjectV2Response.md +++ b/docs/EzsigndocumentGetObjectV2Response.md @@ -6,8 +6,6 @@ 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 7a776526..60426e23 100644 --- a/docs/EzsigndocumentGetTemporaryProofV1Response.md +++ b/docs/EzsigndocumentGetTemporaryProofV1Response.md @@ -6,8 +6,6 @@ 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/EzsigndocumentGetWordsPositionsV1Response.md b/docs/EzsigndocumentGetWordsPositionsV1Response.md index dd077e76..f199b839 100644 --- a/docs/EzsigndocumentGetWordsPositionsV1Response.md +++ b/docs/EzsigndocumentGetWordsPositionsV1Response.md @@ -6,8 +6,6 @@ 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 7d3e0de8..35b76e4d 100644 --- a/docs/EzsigndocumentPatchObjectV1Response.md +++ b/docs/EzsigndocumentPatchObjectV1Response.md @@ -6,8 +6,6 @@ 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 5264b5c1..d34f4af0 100644 --- a/docs/EzsigndocumentResponseCompound.md +++ b/docs/EzsigndocumentResponseCompound.md @@ -6,30 +6,6 @@ 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/EzsigndocumentSubmitEzsignformV1Response.md b/docs/EzsigndocumentSubmitEzsignformV1Response.md index 3938a371..d4905aea 100644 --- a/docs/EzsigndocumentSubmitEzsignformV1Response.md +++ b/docs/EzsigndocumentSubmitEzsignformV1Response.md @@ -6,8 +6,6 @@ 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 ad5f88cf..961c1395 100644 --- a/docs/EzsigndocumentUnsendV1Response.md +++ b/docs/EzsigndocumentUnsendV1Response.md @@ -6,8 +6,6 @@ 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 767f0eab..45ca3485 100644 --- a/docs/EzsignfolderArchiveV1Response.md +++ b/docs/EzsignfolderArchiveV1Response.md @@ -6,8 +6,6 @@ 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/EzsignfolderCreateObjectV1Response.md b/docs/EzsignfolderCreateObjectV1Response.md index 65d5445a..6512f697 100644 --- a/docs/EzsignfolderCreateObjectV1Response.md +++ b/docs/EzsignfolderCreateObjectV1Response.md @@ -6,8 +6,6 @@ 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/EzsignfolderCreateObjectV2Response.md b/docs/EzsignfolderCreateObjectV2Response.md index b1755268..571d10d5 100644 --- a/docs/EzsignfolderCreateObjectV2Response.md +++ b/docs/EzsignfolderCreateObjectV2Response.md @@ -6,8 +6,6 @@ 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/EzsignfolderCreateObjectV3Response.md b/docs/EzsignfolderCreateObjectV3Response.md index dadd2501..d8c24019 100644 --- a/docs/EzsignfolderCreateObjectV3Response.md +++ b/docs/EzsignfolderCreateObjectV3Response.md @@ -6,8 +6,6 @@ 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 89d5df23..204332b5 100644 --- a/docs/EzsignfolderDeleteObjectV1Response.md +++ b/docs/EzsignfolderDeleteObjectV1Response.md @@ -6,8 +6,6 @@ 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 a720f7df..65b3f6bc 100644 --- a/docs/EzsignfolderDisposeEzsignfoldersV1Response.md +++ b/docs/EzsignfolderDisposeEzsignfoldersV1Response.md @@ -6,8 +6,6 @@ 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 5dedebb7..c2d7da29 100644 --- a/docs/EzsignfolderDisposeV1Response.md +++ b/docs/EzsignfolderDisposeV1Response.md @@ -6,8 +6,6 @@ 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/EzsignfolderEditObjectV3Response.md b/docs/EzsignfolderEditObjectV3Response.md index 7e928ccc..cae261b3 100644 --- a/docs/EzsignfolderEditObjectV3Response.md +++ b/docs/EzsignfolderEditObjectV3Response.md @@ -6,8 +6,6 @@ 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 acaf1c42..80a235f8 100644 --- a/docs/EzsignfolderEndPrematurelyV1Response.md +++ b/docs/EzsignfolderEndPrematurelyV1Response.md @@ -6,8 +6,6 @@ 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 cf118c8c..66e81596 100644 --- a/docs/EzsignfolderGetActionableElementsV1Response.md +++ b/docs/EzsignfolderGetActionableElementsV1Response.md @@ -6,8 +6,6 @@ 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 1372a688..36192a1a 100644 --- a/docs/EzsignfolderGetAttachmentCountV1Response.md +++ b/docs/EzsignfolderGetAttachmentCountV1Response.md @@ -6,8 +6,6 @@ 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 43ef77f4..e241f381 100644 --- a/docs/EzsignfolderGetAttachmentsV1Response.md +++ b/docs/EzsignfolderGetAttachmentsV1Response.md @@ -6,8 +6,6 @@ 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 d8966c8b..0edd8571 100644 --- a/docs/EzsignfolderGetCommunicationCountV1Response.md +++ b/docs/EzsignfolderGetCommunicationCountV1Response.md @@ -6,8 +6,6 @@ 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 2497fb0c..945a982a 100644 --- a/docs/EzsignfolderGetCommunicationListV1Response.md +++ b/docs/EzsignfolderGetCommunicationListV1Response.md @@ -6,8 +6,6 @@ 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 e1ff5a73..fc54ee64 100644 --- a/docs/EzsignfolderGetCommunicationrecipientsV1Response.md +++ b/docs/EzsignfolderGetCommunicationrecipientsV1Response.md @@ -6,8 +6,6 @@ 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 18599c7e..7ef4aa51 100644 --- a/docs/EzsignfolderGetCommunicationsendersV1Response.md +++ b/docs/EzsignfolderGetCommunicationsendersV1Response.md @@ -6,8 +6,6 @@ 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 3996e3f8..777be7cf 100644 --- a/docs/EzsignfolderGetEzsigndocumentsV1Response.md +++ b/docs/EzsignfolderGetEzsigndocumentsV1Response.md @@ -6,8 +6,6 @@ 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 39cc318f..64cb495d 100644 --- a/docs/EzsignfolderGetEzsignfoldersignerassociationsV1Response.md +++ b/docs/EzsignfolderGetEzsignfoldersignerassociationsV1Response.md @@ -6,8 +6,6 @@ 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 691ddc50..233a618e 100644 --- a/docs/EzsignfolderGetEzsignsignaturesAutomaticV1Response.md +++ b/docs/EzsignfolderGetEzsignsignaturesAutomaticV1Response.md @@ -6,8 +6,6 @@ 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 c8cc062e..8b418622 100644 --- a/docs/EzsignfolderGetFormsDataV1Response.md +++ b/docs/EzsignfolderGetFormsDataV1Response.md @@ -6,8 +6,6 @@ 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 26477814..716d23b8 100644 --- a/docs/EzsignfolderGetListV1Response.md +++ b/docs/EzsignfolderGetListV1Response.md @@ -6,8 +6,6 @@ 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 49bd65f6..2828c873 100644 --- a/docs/EzsignfolderGetListV1ResponseMPayload.md +++ b/docs/EzsignfolderGetListV1ResponseMPayload.md @@ -6,8 +6,6 @@ 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 7742c9bc..06beef48 100644 --- a/docs/EzsignfolderGetObjectV1Response.md +++ b/docs/EzsignfolderGetObjectV1Response.md @@ -6,8 +6,6 @@ Response for GET /1/object/ezsignfolder/{pkiEzsignfolderID} Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**obj_debug_payload** | [**CommonResponseObjDebugPayload**](CommonResponseObjDebugPayload.md) | | -**obj_debug** | [**CommonResponseObjDebug**](CommonResponseObjDebug.md) | | [optional] **m_payload** | [**EzsignfolderResponseCompound**](EzsignfolderResponseCompound.md) | Payload for GET /1/object/ezsignfolder/{pkiEzsignfolderID} | ## Example diff --git a/docs/EzsignfolderGetObjectV1ResponseMPayload.md b/docs/EzsignfolderGetObjectV1ResponseMPayload.md index c633d131..37066d55 100644 --- a/docs/EzsignfolderGetObjectV1ResponseMPayload.md +++ b/docs/EzsignfolderGetObjectV1ResponseMPayload.md @@ -6,33 +6,6 @@ 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 6b8c7c2f..15a0a579 100644 --- a/docs/EzsignfolderGetObjectV2Response.md +++ b/docs/EzsignfolderGetObjectV2Response.md @@ -6,8 +6,6 @@ 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 a8e61577..c3d9ccbf 100644 --- a/docs/EzsignfolderGetObjectV3Response.md +++ b/docs/EzsignfolderGetObjectV3Response.md @@ -6,8 +6,6 @@ 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 e929395b..88605423 100644 --- a/docs/EzsignfolderImportEzsignfoldersignerassociationsV1Response.md +++ b/docs/EzsignfolderImportEzsignfoldersignerassociationsV1Response.md @@ -6,8 +6,6 @@ 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 6e08f294..73d0b2e7 100644 --- a/docs/EzsignfolderImportEzsigntemplatepackageV1Response.md +++ b/docs/EzsignfolderImportEzsigntemplatepackageV1Response.md @@ -6,8 +6,6 @@ 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 d3232c3f..ea972d9e 100644 --- a/docs/EzsignfolderReorderV1Response.md +++ b/docs/EzsignfolderReorderV1Response.md @@ -6,8 +6,6 @@ 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 a4adf67d..d650f0ad 100644 --- a/docs/EzsignfolderReorderV2Response.md +++ b/docs/EzsignfolderReorderV2Response.md @@ -6,8 +6,6 @@ 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 dafc07fc..97932f26 100644 --- a/docs/EzsignfolderResponseCompound.md +++ b/docs/EzsignfolderResponseCompound.md @@ -6,32 +6,6 @@ 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 a7ab3a4f..a01b9d66 100644 --- a/docs/EzsignfolderResponseCompoundV3.md +++ b/docs/EzsignfolderResponseCompoundV3.md @@ -6,33 +6,6 @@ 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 b6dc8a35..69d2c15f 100644 --- a/docs/EzsignfolderSendV1Response.md +++ b/docs/EzsignfolderSendV1Response.md @@ -6,8 +6,6 @@ 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 8b0010ae..83d7399f 100644 --- a/docs/EzsignfolderSendV3Response.md +++ b/docs/EzsignfolderSendV3Response.md @@ -6,8 +6,6 @@ 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 662d0a52..7fcb0be4 100644 --- a/docs/EzsignfolderUnsendV1Response.md +++ b/docs/EzsignfolderUnsendV1Response.md @@ -6,8 +6,6 @@ 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 efe08d59..24560220 100644 --- a/docs/EzsignfoldersignerassociationCreateEmbeddedUrlV1Response.md +++ b/docs/EzsignfoldersignerassociationCreateEmbeddedUrlV1Response.md @@ -6,8 +6,6 @@ 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 84ac48d9..add6e534 100644 --- a/docs/EzsignfoldersignerassociationCreateObjectV1Response.md +++ b/docs/EzsignfoldersignerassociationCreateObjectV1Response.md @@ -6,8 +6,6 @@ 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 a3cc2aa2..582afcbd 100644 --- a/docs/EzsignfoldersignerassociationCreateObjectV2Response.md +++ b/docs/EzsignfoldersignerassociationCreateObjectV2Response.md @@ -6,8 +6,6 @@ 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 c9c0cbb4..4ec2f3e2 100644 --- a/docs/EzsignfoldersignerassociationDeleteObjectV1Response.md +++ b/docs/EzsignfoldersignerassociationDeleteObjectV1Response.md @@ -6,8 +6,6 @@ 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 15cc7aa2..4eaa6fa3 100644 --- a/docs/EzsignfoldersignerassociationEditObjectV1Response.md +++ b/docs/EzsignfoldersignerassociationEditObjectV1Response.md @@ -6,8 +6,6 @@ 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 2eea7e2b..05725d71 100644 --- a/docs/EzsignfoldersignerassociationForceDisconnectV1Response.md +++ b/docs/EzsignfoldersignerassociationForceDisconnectV1Response.md @@ -6,8 +6,6 @@ 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 ee5d0259..77be99c5 100644 --- a/docs/EzsignfoldersignerassociationGetInPersonLoginUrlV1Response.md +++ b/docs/EzsignfoldersignerassociationGetInPersonLoginUrlV1Response.md @@ -6,8 +6,6 @@ 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 c71059c9..8a860e19 100644 --- a/docs/EzsignfoldersignerassociationGetObjectV1Response.md +++ b/docs/EzsignfoldersignerassociationGetObjectV1Response.md @@ -6,8 +6,6 @@ Response for GET /1/object/ezsignfoldersignerassociation/{pkiEzsignfoldersignera Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**obj_debug_payload** | [**CommonResponseObjDebugPayload**](CommonResponseObjDebugPayload.md) | | -**obj_debug** | [**CommonResponseObjDebug**](CommonResponseObjDebug.md) | | [optional] **m_payload** | [**EzsignfoldersignerassociationResponseCompound**](EzsignfoldersignerassociationResponseCompound.md) | Payload for GET /1/object/ezsignfoldersignerassociation/{pkiEzsignfoldersignerassociationID} | ## Example diff --git a/docs/EzsignfoldersignerassociationGetObjectV1ResponseMPayload.md b/docs/EzsignfoldersignerassociationGetObjectV1ResponseMPayload.md index 722aac2b..1c5a2084 100644 --- a/docs/EzsignfoldersignerassociationGetObjectV1ResponseMPayload.md +++ b/docs/EzsignfoldersignerassociationGetObjectV1ResponseMPayload.md @@ -6,15 +6,6 @@ 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 bfa7437d..a6d7f20b 100644 --- a/docs/EzsignfoldersignerassociationGetObjectV2Response.md +++ b/docs/EzsignfoldersignerassociationGetObjectV2Response.md @@ -6,8 +6,6 @@ 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 5f538c99..e8e45726 100644 --- a/docs/EzsignfoldersignerassociationPatchObjectV1Response.md +++ b/docs/EzsignfoldersignerassociationPatchObjectV1Response.md @@ -6,8 +6,6 @@ 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 3a2a1cf5..511fca71 100644 --- a/docs/EzsignfoldersignerassociationReassignV1Response.md +++ b/docs/EzsignfoldersignerassociationReassignV1Response.md @@ -6,8 +6,6 @@ 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 7bab3a90..97252b16 100644 --- a/docs/EzsignfoldersignerassociationRequestCompound.md +++ b/docs/EzsignfoldersignerassociationRequestCompound.md @@ -6,12 +6,6 @@ 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 ad596124..de9fb2f7 100644 --- a/docs/EzsignfoldersignerassociationResponseCompound.md +++ b/docs/EzsignfoldersignerassociationResponseCompound.md @@ -6,12 +6,6 @@ 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 32fcd28a..31769d98 100644 --- a/docs/EzsignfoldertypeCreateObjectV3Response.md +++ b/docs/EzsignfoldertypeCreateObjectV3Response.md @@ -6,8 +6,6 @@ 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 9496c934..3dee3ee8 100644 --- a/docs/EzsignfoldertypeEditObjectV3Response.md +++ b/docs/EzsignfoldertypeEditObjectV3Response.md @@ -6,8 +6,6 @@ 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 288d3535..a52dd80a 100644 --- a/docs/EzsignfoldertypeGetAutocompleteV2Response.md +++ b/docs/EzsignfoldertypeGetAutocompleteV2Response.md @@ -6,8 +6,6 @@ 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 9122a2cc..8806d436 100644 --- a/docs/EzsignfoldertypeGetListV1Response.md +++ b/docs/EzsignfoldertypeGetListV1Response.md @@ -6,8 +6,6 @@ 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 d0029c9f..afe926d9 100644 --- a/docs/EzsignfoldertypeGetListV1ResponseMPayload.md +++ b/docs/EzsignfoldertypeGetListV1ResponseMPayload.md @@ -6,8 +6,6 @@ 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 ebe5b328..79be886b 100644 --- a/docs/EzsignfoldertypeGetObjectV2Response.md +++ b/docs/EzsignfoldertypeGetObjectV2Response.md @@ -6,8 +6,6 @@ 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 d5cb4a54..b1c154a7 100644 --- a/docs/EzsignfoldertypeGetObjectV4Response.md +++ b/docs/EzsignfoldertypeGetObjectV4Response.md @@ -6,8 +6,6 @@ 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 7dd3241c..0fc15a97 100644 --- a/docs/EzsignfoldertypeRequestCompoundV3.md +++ b/docs/EzsignfoldertypeRequestCompoundV3.md @@ -6,66 +6,6 @@ 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 5c25c087..a95467b6 100644 --- a/docs/EzsignfoldertypeResponseCompound.md +++ b/docs/EzsignfoldertypeResponseCompound.md @@ -6,55 +6,6 @@ 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 51950740..030eb9d2 100644 --- a/docs/EzsignfoldertypeResponseCompoundV4.md +++ b/docs/EzsignfoldertypeResponseCompoundV4.md @@ -6,70 +6,6 @@ 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 e15a5275..37e432da 100644 --- a/docs/EzsignformfieldRequestCompound.md +++ b/docs/EzsignformfieldRequestCompound.md @@ -6,20 +6,6 @@ An Ezsignformfield Object and children to create a complete structure Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**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]**](EzsignelementdependencyRequest.md) | | [optional] ## Example diff --git a/docs/EzsignformfieldResponseCompound.md b/docs/EzsignformfieldResponseCompound.md index 267a2a6f..0fe96756 100644 --- a/docs/EzsignformfieldResponseCompound.md +++ b/docs/EzsignformfieldResponseCompound.md @@ -6,20 +6,6 @@ An Ezsignformfield Object and children to create a complete structure Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**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]**](EzsignelementdependencyResponse.md) | | [optional] ## Example diff --git a/docs/EzsignformfieldgroupCreateObjectV1Response.md b/docs/EzsignformfieldgroupCreateObjectV1Response.md index 0b96f64b..90a34e6b 100644 --- a/docs/EzsignformfieldgroupCreateObjectV1Response.md +++ b/docs/EzsignformfieldgroupCreateObjectV1Response.md @@ -6,8 +6,6 @@ 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 451ae9b3..5b767577 100644 --- a/docs/EzsignformfieldgroupDeleteObjectV1Response.md +++ b/docs/EzsignformfieldgroupDeleteObjectV1Response.md @@ -6,8 +6,6 @@ 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 948e1901..c7cb3a3c 100644 --- a/docs/EzsignformfieldgroupEditObjectV1Response.md +++ b/docs/EzsignformfieldgroupEditObjectV1Response.md @@ -6,8 +6,6 @@ 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 3b59bbc0..c4f84c2f 100644 --- a/docs/EzsignformfieldgroupGetObjectV2Response.md +++ b/docs/EzsignformfieldgroupGetObjectV2Response.md @@ -6,8 +6,6 @@ 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 8bb12cbb..80c7d94f 100644 --- a/docs/EzsignformfieldgroupRequestCompound.md +++ b/docs/EzsignformfieldgroupRequestCompound.md @@ -6,23 +6,6 @@ An Ezsignformfieldgroup Object and children to create a complete structure 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]**](EzsignformfieldgroupsignerRequest.md) | | **a_obj_dropdown_element** | [**List[CustomDropdownElementRequestCompound]**](CustomDropdownElementRequest.md) | | [optional] **a_obj_ezsignformfield** | [**List[EzsignformfieldRequestCompound]**](EzsignformfieldRequestCompound.md) | | diff --git a/docs/EzsignformfieldgroupResponseCompound.md b/docs/EzsignformfieldgroupResponseCompound.md index 224a739e..b2acf631 100644 --- a/docs/EzsignformfieldgroupResponseCompound.md +++ b/docs/EzsignformfieldgroupResponseCompound.md @@ -6,23 +6,6 @@ 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) | | diff --git a/docs/EzsignpageConsultV1Response.md b/docs/EzsignpageConsultV1Response.md index 0a547cf5..dbfa22c3 100644 --- a/docs/EzsignpageConsultV1Response.md +++ b/docs/EzsignpageConsultV1Response.md @@ -6,8 +6,6 @@ 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 75ab1470..a1057496 100644 --- a/docs/EzsignsignatureCreateObjectV1Response.md +++ b/docs/EzsignsignatureCreateObjectV1Response.md @@ -6,8 +6,6 @@ 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 7d5fd593..527367c1 100644 --- a/docs/EzsignsignatureCreateObjectV2Response.md +++ b/docs/EzsignsignatureCreateObjectV2Response.md @@ -6,8 +6,6 @@ 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 c9bec9c6..535ad50e 100644 --- a/docs/EzsignsignatureCreateObjectV3Response.md +++ b/docs/EzsignsignatureCreateObjectV3Response.md @@ -6,8 +6,6 @@ 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 608fc1d4..7e9be882 100644 --- a/docs/EzsignsignatureDeleteObjectV1Response.md +++ b/docs/EzsignsignatureDeleteObjectV1Response.md @@ -6,8 +6,6 @@ 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 d21150dc..be2cf3da 100644 --- a/docs/EzsignsignatureEditObjectV2Response.md +++ b/docs/EzsignsignatureEditObjectV2Response.md @@ -6,8 +6,6 @@ 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 7f63be9e..9a8a33a7 100644 --- a/docs/EzsignsignatureGetEzsignsignatureattachmentV1Response.md +++ b/docs/EzsignsignatureGetEzsignsignatureattachmentV1Response.md @@ -6,8 +6,6 @@ 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 50a6a33e..1de1b9fe 100644 --- a/docs/EzsignsignatureGetEzsignsignaturesAutomaticV1Response.md +++ b/docs/EzsignsignatureGetEzsignsignaturesAutomaticV1Response.md @@ -6,8 +6,6 @@ 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 0d4bebbe..faf65685 100644 --- a/docs/EzsignsignatureGetObjectV3Response.md +++ b/docs/EzsignsignatureGetObjectV3Response.md @@ -6,8 +6,6 @@ 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 1328d182..c568745d 100644 --- a/docs/EzsignsignatureRequestCompound.md +++ b/docs/EzsignsignatureRequestCompound.md @@ -6,33 +6,6 @@ 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] diff --git a/docs/EzsignsignatureRequestCompoundV2.md b/docs/EzsignsignatureRequestCompoundV2.md index 97b1582d..1c2ee581 100644 --- a/docs/EzsignsignatureRequestCompoundV2.md +++ b/docs/EzsignsignatureRequestCompoundV2.md @@ -6,33 +6,6 @@ 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] diff --git a/docs/EzsignsignatureResponseCompound.md b/docs/EzsignsignatureResponseCompound.md index 31e5bad4..bfa5eb6c 100644 --- a/docs/EzsignsignatureResponseCompound.md +++ b/docs/EzsignsignatureResponseCompound.md @@ -6,43 +6,6 @@ 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] diff --git a/docs/EzsignsignatureResponseCompoundV3.md b/docs/EzsignsignatureResponseCompoundV3.md index 8d8887f8..3137de33 100644 --- a/docs/EzsignsignatureResponseCompoundV3.md +++ b/docs/EzsignsignatureResponseCompoundV3.md @@ -6,43 +6,6 @@ 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] **obj_creditcardtransaction** | [**CustomCreditcardtransactionResponse**](CustomCreditcardtransactionResponse.md) | | [optional] diff --git a/docs/EzsignsignatureSignV1Response.md b/docs/EzsignsignatureSignV1Response.md index d876a3de..490912f0 100644 --- a/docs/EzsignsignatureSignV1Response.md +++ b/docs/EzsignsignatureSignV1Response.md @@ -6,8 +6,6 @@ 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 669a4b22..f11e521a 100644 --- a/docs/EzsignsignerRequestCompound.md +++ b/docs/EzsignsignerRequestCompound.md @@ -6,11 +6,6 @@ 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 773e4382..72c0bf6d 100644 --- a/docs/EzsignsignerResponseCompound.md +++ b/docs/EzsignsignerResponseCompound.md @@ -6,11 +6,6 @@ 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 6b724529..eb947e59 100644 --- a/docs/EzsignsignergroupCreateObjectV1Response.md +++ b/docs/EzsignsignergroupCreateObjectV1Response.md @@ -6,8 +6,6 @@ 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 b50beb08..418b6513 100644 --- a/docs/EzsignsignergroupDeleteObjectV1Response.md +++ b/docs/EzsignsignergroupDeleteObjectV1Response.md @@ -6,8 +6,6 @@ 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 1b8eea42..990f77fd 100644 --- a/docs/EzsignsignergroupEditEzsignsignergroupmembershipsV1Response.md +++ b/docs/EzsignsignergroupEditEzsignsignergroupmembershipsV1Response.md @@ -6,8 +6,6 @@ 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 6eccb348..2fe8c709 100644 --- a/docs/EzsignsignergroupEditObjectV1Response.md +++ b/docs/EzsignsignergroupEditObjectV1Response.md @@ -6,8 +6,6 @@ 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 49d85587..57f6c420 100644 --- a/docs/EzsignsignergroupGetEzsignsignergroupmembershipsV1Response.md +++ b/docs/EzsignsignergroupGetEzsignsignergroupmembershipsV1Response.md @@ -6,8 +6,6 @@ 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 633909ec..0bf90ecb 100644 --- a/docs/EzsignsignergroupGetObjectV2Response.md +++ b/docs/EzsignsignergroupGetObjectV2Response.md @@ -6,8 +6,6 @@ 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 1ea0451a..96c6aca2 100644 --- a/docs/EzsignsignergroupRequestCompound.md +++ b/docs/EzsignsignergroupRequestCompound.md @@ -6,9 +6,6 @@ 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 9a83babd..5c7ec9ae 100644 --- a/docs/EzsignsignergroupResponseCompound.md +++ b/docs/EzsignsignergroupResponseCompound.md @@ -6,9 +6,6 @@ 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 dc37a054..39a2a9eb 100644 --- a/docs/EzsignsignergroupmembershipCreateObjectV1Response.md +++ b/docs/EzsignsignergroupmembershipCreateObjectV1Response.md @@ -6,8 +6,6 @@ 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 a869a3fe..44ef6f5f 100644 --- a/docs/EzsignsignergroupmembershipDeleteObjectV1Response.md +++ b/docs/EzsignsignergroupmembershipDeleteObjectV1Response.md @@ -6,8 +6,6 @@ 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 82c68f7e..fc2801f2 100644 --- a/docs/EzsignsignergroupmembershipGetObjectV2Response.md +++ b/docs/EzsignsignergroupmembershipGetObjectV2Response.md @@ -6,8 +6,6 @@ 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 15e1823c..12218366 100644 --- a/docs/EzsignsignergroupmembershipRequestCompound.md +++ b/docs/EzsignsignergroupmembershipRequestCompound.md @@ -6,11 +6,6 @@ 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 e16654dc..b4d6d69d 100644 --- a/docs/EzsignsignergroupmembershipResponseCompound.md +++ b/docs/EzsignsignergroupmembershipResponseCompound.md @@ -6,11 +6,6 @@ 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 6e15fb61..45adeec2 100644 --- a/docs/EzsignsigningreasonCreateObjectV1Response.md +++ b/docs/EzsignsigningreasonCreateObjectV1Response.md @@ -6,8 +6,6 @@ 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 1a22c3fd..a2fd5935 100644 --- a/docs/EzsignsigningreasonEditObjectV1Response.md +++ b/docs/EzsignsigningreasonEditObjectV1Response.md @@ -6,8 +6,6 @@ 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 31aea75f..397b7acb 100644 --- a/docs/EzsignsigningreasonGetAutocompleteV2Response.md +++ b/docs/EzsignsigningreasonGetAutocompleteV2Response.md @@ -6,8 +6,6 @@ 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 1b6c8deb..c83c98ad 100644 --- a/docs/EzsignsigningreasonGetListV1Response.md +++ b/docs/EzsignsigningreasonGetListV1Response.md @@ -6,8 +6,6 @@ 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 ff9a275d..dc79e230 100644 --- a/docs/EzsignsigningreasonGetListV1ResponseMPayload.md +++ b/docs/EzsignsigningreasonGetListV1ResponseMPayload.md @@ -6,8 +6,6 @@ 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 ae428d85..26e21edc 100644 --- a/docs/EzsignsigningreasonGetObjectV2Response.md +++ b/docs/EzsignsigningreasonGetObjectV2Response.md @@ -6,8 +6,6 @@ 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 efe7c030..acccf60b 100644 --- a/docs/EzsignsigningreasonRequestCompound.md +++ b/docs/EzsignsigningreasonRequestCompound.md @@ -6,9 +6,6 @@ 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 83d5fda3..9f3be2dd 100644 --- a/docs/EzsignsigningreasonResponseCompound.md +++ b/docs/EzsignsigningreasonResponseCompound.md @@ -6,9 +6,6 @@ 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 0280cf45..07c15c6f 100644 --- a/docs/EzsigntemplateCopyV1Response.md +++ b/docs/EzsigntemplateCopyV1Response.md @@ -6,8 +6,6 @@ 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 0e8e3f63..158faf79 100644 --- a/docs/EzsigntemplateCreateObjectV3Response.md +++ b/docs/EzsigntemplateCreateObjectV3Response.md @@ -6,8 +6,6 @@ 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 271961d3..6b8b78ab 100644 --- a/docs/EzsigntemplateDeleteObjectV1Response.md +++ b/docs/EzsigntemplateDeleteObjectV1Response.md @@ -6,8 +6,6 @@ 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 7890674b..278831e8 100644 --- a/docs/EzsigntemplateEditObjectV3Response.md +++ b/docs/EzsigntemplateEditObjectV3Response.md @@ -6,8 +6,6 @@ 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 98eb2eb7..23c4c31a 100644 --- a/docs/EzsigntemplateGetAutocompleteV2Response.md +++ b/docs/EzsigntemplateGetAutocompleteV2Response.md @@ -6,8 +6,6 @@ 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 1b53d1b8..9e6e601c 100644 --- a/docs/EzsigntemplateGetListV1Response.md +++ b/docs/EzsigntemplateGetListV1Response.md @@ -6,8 +6,6 @@ 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 4eabccc1..ea08fcb9 100644 --- a/docs/EzsigntemplateGetListV1ResponseMPayload.md +++ b/docs/EzsigntemplateGetListV1ResponseMPayload.md @@ -6,8 +6,6 @@ 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 18ea40c8..63b2a9d0 100644 --- a/docs/EzsigntemplateGetObjectV3Response.md +++ b/docs/EzsigntemplateGetObjectV3Response.md @@ -6,8 +6,6 @@ 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 105ce96a..65126eae 100644 --- a/docs/EzsigntemplateRequestCompoundV3.md +++ b/docs/EzsigntemplateRequestCompoundV3.md @@ -6,17 +6,6 @@ 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 05b3519b..10dae239 100644 --- a/docs/EzsigntemplateResponseCompound.md +++ b/docs/EzsigntemplateResponseCompound.md @@ -6,21 +6,6 @@ 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 616ed415..d8e2ed8e 100644 --- a/docs/EzsigntemplateResponseCompoundV3.md +++ b/docs/EzsigntemplateResponseCompoundV3.md @@ -6,23 +6,6 @@ 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 007b7177..57bb91e2 100644 --- a/docs/EzsigntemplatedocumentCreateObjectV1Response.md +++ b/docs/EzsigntemplatedocumentCreateObjectV1Response.md @@ -6,8 +6,6 @@ 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 4a8fae53..33012f37 100644 --- a/docs/EzsigntemplatedocumentEditEzsigntemplatedocumentpagerecognitionsV1Response.md +++ b/docs/EzsigntemplatedocumentEditEzsigntemplatedocumentpagerecognitionsV1Response.md @@ -6,8 +6,6 @@ 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 ae509464..50d2dab6 100644 --- a/docs/EzsigntemplatedocumentEditEzsigntemplateformfieldgroupsV1Response.md +++ b/docs/EzsigntemplatedocumentEditEzsigntemplateformfieldgroupsV1Response.md @@ -6,8 +6,6 @@ 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 d96121f0..58d70269 100644 --- a/docs/EzsigntemplatedocumentEditEzsigntemplatesignaturesV1Response.md +++ b/docs/EzsigntemplatedocumentEditEzsigntemplatesignaturesV1Response.md @@ -6,8 +6,6 @@ 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 19b55593..519188e5 100644 --- a/docs/EzsigntemplatedocumentEditObjectV1Response.md +++ b/docs/EzsigntemplatedocumentEditObjectV1Response.md @@ -6,8 +6,6 @@ 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 b1360d20..49d3c1e4 100644 --- a/docs/EzsigntemplatedocumentExtractTextV1Response.md +++ b/docs/EzsigntemplatedocumentExtractTextV1Response.md @@ -6,8 +6,6 @@ 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 fc0c8264..ab66b24e 100644 --- a/docs/EzsigntemplatedocumentFlattenV1Response.md +++ b/docs/EzsigntemplatedocumentFlattenV1Response.md @@ -6,8 +6,6 @@ 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 7a9cee5b..1e5288fd 100644 --- a/docs/EzsigntemplatedocumentGetEzsigntemplatedocumentpagerecognitionsV1Response.md +++ b/docs/EzsigntemplatedocumentGetEzsigntemplatedocumentpagerecognitionsV1Response.md @@ -6,8 +6,6 @@ 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 30f15369..6339c272 100644 --- a/docs/EzsigntemplatedocumentGetEzsigntemplatedocumentpagesV1Response.md +++ b/docs/EzsigntemplatedocumentGetEzsigntemplatedocumentpagesV1Response.md @@ -6,8 +6,6 @@ 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/EzsigntemplatedocumentGetEzsigntemplateformfieldgroupsV1Response.md b/docs/EzsigntemplatedocumentGetEzsigntemplateformfieldgroupsV1Response.md index 2a483b4f..7c2d09eb 100644 --- a/docs/EzsigntemplatedocumentGetEzsigntemplateformfieldgroupsV1Response.md +++ b/docs/EzsigntemplatedocumentGetEzsigntemplateformfieldgroupsV1Response.md @@ -6,8 +6,6 @@ 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 2c4671e2..fd4c3cef 100644 --- a/docs/EzsigntemplatedocumentGetEzsigntemplatesignaturesV1Response.md +++ b/docs/EzsigntemplatedocumentGetEzsigntemplatesignaturesV1Response.md @@ -6,8 +6,6 @@ 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 51ebc871..ebe11805 100644 --- a/docs/EzsigntemplatedocumentGetObjectV2Response.md +++ b/docs/EzsigntemplatedocumentGetObjectV2Response.md @@ -6,8 +6,6 @@ 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 4e5549df..cb7b5ccd 100644 --- a/docs/EzsigntemplatedocumentGetWordsPositionsV1Response.md +++ b/docs/EzsigntemplatedocumentGetWordsPositionsV1Response.md @@ -6,8 +6,6 @@ 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 53a93baf..97c434cc 100644 --- a/docs/EzsigntemplatedocumentPatchObjectV1Response.md +++ b/docs/EzsigntemplatedocumentPatchObjectV1Response.md @@ -6,8 +6,6 @@ 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 749eca30..abf05f47 100644 --- a/docs/EzsigntemplatedocumentRequestCompound.md +++ b/docs/EzsigntemplatedocumentRequestCompound.md @@ -6,18 +6,6 @@ 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 dc4b8b4b..83bdea95 100644 --- a/docs/EzsigntemplatedocumentResponseCompound.md +++ b/docs/EzsigntemplatedocumentResponseCompound.md @@ -6,13 +6,6 @@ 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 2d181ab3..1b98a5a3 100644 --- a/docs/EzsigntemplatedocumentpagerecognitionCreateObjectV1Response.md +++ b/docs/EzsigntemplatedocumentpagerecognitionCreateObjectV1Response.md @@ -6,8 +6,6 @@ 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 01317c11..85ef2b77 100644 --- a/docs/EzsigntemplatedocumentpagerecognitionDeleteObjectV1Response.md +++ b/docs/EzsigntemplatedocumentpagerecognitionDeleteObjectV1Response.md @@ -6,8 +6,6 @@ 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 d6c94794..c182f5d1 100644 --- a/docs/EzsigntemplatedocumentpagerecognitionEditObjectV1Response.md +++ b/docs/EzsigntemplatedocumentpagerecognitionEditObjectV1Response.md @@ -6,8 +6,6 @@ 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 48205c66..0d4b9cc7 100644 --- a/docs/EzsigntemplatedocumentpagerecognitionGetObjectV2Response.md +++ b/docs/EzsigntemplatedocumentpagerecognitionGetObjectV2Response.md @@ -6,8 +6,6 @@ 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 5e1e33e7..fb7ceb80 100644 --- a/docs/EzsigntemplatedocumentpagerecognitionRequestCompound.md +++ b/docs/EzsigntemplatedocumentpagerecognitionRequestCompound.md @@ -6,16 +6,6 @@ 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 c09c6cd7..ae765c22 100644 --- a/docs/EzsigntemplatedocumentpagerecognitionResponseCompound.md +++ b/docs/EzsigntemplatedocumentpagerecognitionResponseCompound.md @@ -6,16 +6,6 @@ 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 d935b450..cf850850 100644 --- a/docs/EzsigntemplateformfieldRequestCompound.md +++ b/docs/EzsigntemplateformfieldRequestCompound.md @@ -6,24 +6,6 @@ An Ezsigntemplateformfield Object and children to create a complete structure Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**pki_ezsigntemplateformfield_id** | **int** | The unique ID of the Ezsigntemplateformfield | [optional] -**e_ezsigntemplateformfield_positioning** | [**FieldEEzsigntemplateformfieldPositioning**](FieldEEzsigntemplateformfieldPositioning.md) | | [optional] [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]**](EzsigntemplateelementdependencyRequest.md) | | [optional] ## Example diff --git a/docs/EzsigntemplateformfieldResponseCompound.md b/docs/EzsigntemplateformfieldResponseCompound.md index 87b1b70a..37aa3e11 100644 --- a/docs/EzsigntemplateformfieldResponseCompound.md +++ b/docs/EzsigntemplateformfieldResponseCompound.md @@ -6,24 +6,6 @@ An Ezsigntemplateformfield Object and children Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**pki_ezsigntemplateformfield_id** | **int** | The unique ID of the Ezsigntemplateformfield | -**e_ezsigntemplateformfield_positioning** | [**FieldEEzsigntemplateformfieldPositioning**](FieldEEzsigntemplateformfieldPositioning.md) | | [optional] [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]**](EzsigntemplateelementdependencyResponse.md) | | [optional] ## Example diff --git a/docs/EzsigntemplateformfieldgroupCreateObjectV1Response.md b/docs/EzsigntemplateformfieldgroupCreateObjectV1Response.md index aecd89ff..c48d1631 100644 --- a/docs/EzsigntemplateformfieldgroupCreateObjectV1Response.md +++ b/docs/EzsigntemplateformfieldgroupCreateObjectV1Response.md @@ -6,8 +6,6 @@ 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 3993ac25..55d3d029 100644 --- a/docs/EzsigntemplateformfieldgroupDeleteObjectV1Response.md +++ b/docs/EzsigntemplateformfieldgroupDeleteObjectV1Response.md @@ -6,8 +6,6 @@ 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 af4775c0..604da1be 100644 --- a/docs/EzsigntemplateformfieldgroupEditObjectV1Response.md +++ b/docs/EzsigntemplateformfieldgroupEditObjectV1Response.md @@ -6,8 +6,6 @@ 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 a774502d..6179e0de 100644 --- a/docs/EzsigntemplateformfieldgroupGetObjectV2Response.md +++ b/docs/EzsigntemplateformfieldgroupGetObjectV2Response.md @@ -6,8 +6,6 @@ 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 a90a8170..16306df1 100644 --- a/docs/EzsigntemplateformfieldgroupRequestCompound.md +++ b/docs/EzsigntemplateformfieldgroupRequestCompound.md @@ -6,23 +6,6 @@ A Ezsigntemplateformfieldgroup Object and children Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**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]**](EzsigntemplateformfieldgroupsignerRequest.md) | | **a_obj_dropdown_element** | [**List[CustomDropdownElementRequestCompound]**](CustomDropdownElementRequest.md) | | [optional] **a_obj_ezsigntemplateformfield** | [**List[EzsigntemplateformfieldRequestCompound]**](EzsigntemplateformfieldRequestCompound.md) | | diff --git a/docs/EzsigntemplateformfieldgroupResponseCompound.md b/docs/EzsigntemplateformfieldgroupResponseCompound.md index 2c011468..60a2e484 100644 --- a/docs/EzsigntemplateformfieldgroupResponseCompound.md +++ b/docs/EzsigntemplateformfieldgroupResponseCompound.md @@ -6,23 +6,6 @@ A Ezsigntemplateformfieldgroup Object and children Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**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]**](EzsigntemplateformfieldgroupsignerResponse.md) | | **a_obj_dropdown_element** | [**List[CustomDropdownElementResponseCompound]**](CustomDropdownElementResponse.md) | | [optional] **a_obj_ezsigntemplateformfield** | [**List[EzsigntemplateformfieldResponseCompound]**](EzsigntemplateformfieldResponseCompound.md) | | diff --git a/docs/EzsigntemplateglobalGetAutocompleteV2Response.md b/docs/EzsigntemplateglobalGetAutocompleteV2Response.md index d6c8c8ce..8178a674 100644 --- a/docs/EzsigntemplateglobalGetAutocompleteV2Response.md +++ b/docs/EzsigntemplateglobalGetAutocompleteV2Response.md @@ -6,8 +6,6 @@ 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 f2d4b08d..0b33bf44 100644 --- a/docs/EzsigntemplateglobalGetObjectV2Response.md +++ b/docs/EzsigntemplateglobalGetObjectV2Response.md @@ -6,8 +6,6 @@ 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 812c1498..06d2fe37 100644 --- a/docs/EzsigntemplateglobalResponseCompound.md +++ b/docs/EzsigntemplateglobalResponseCompound.md @@ -6,16 +6,6 @@ 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 944dec4f..cc725306 100644 --- a/docs/EzsigntemplateglobalsignerResponseCompound.md +++ b/docs/EzsigntemplateglobalsignerResponseCompound.md @@ -6,9 +6,6 @@ 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 da5eae87..fa382093 100644 --- a/docs/EzsigntemplatepackageCreateObjectV1Response.md +++ b/docs/EzsigntemplatepackageCreateObjectV1Response.md @@ -6,8 +6,6 @@ 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 20ed1aad..e1d42083 100644 --- a/docs/EzsigntemplatepackageDeleteObjectV1Response.md +++ b/docs/EzsigntemplatepackageDeleteObjectV1Response.md @@ -6,8 +6,6 @@ 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 d827c94a..39cbbd87 100644 --- a/docs/EzsigntemplatepackageEditEzsigntemplatepackagesignersV1Response.md +++ b/docs/EzsigntemplatepackageEditEzsigntemplatepackagesignersV1Response.md @@ -6,8 +6,6 @@ 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 e61396c9..e68ca7a0 100644 --- a/docs/EzsigntemplatepackageEditObjectV1Response.md +++ b/docs/EzsigntemplatepackageEditObjectV1Response.md @@ -6,8 +6,6 @@ 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 d3709bf8..e0f20651 100644 --- a/docs/EzsigntemplatepackageGetAutocompleteV2Response.md +++ b/docs/EzsigntemplatepackageGetAutocompleteV2Response.md @@ -6,8 +6,6 @@ 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 ee5cd8f9..2dd3175e 100644 --- a/docs/EzsigntemplatepackageGetListV1Response.md +++ b/docs/EzsigntemplatepackageGetListV1Response.md @@ -6,8 +6,6 @@ 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 c75d9cd1..be461769 100644 --- a/docs/EzsigntemplatepackageGetListV1ResponseMPayload.md +++ b/docs/EzsigntemplatepackageGetListV1ResponseMPayload.md @@ -6,8 +6,6 @@ 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 64119e28..df6d07af 100644 --- a/docs/EzsigntemplatepackageGetObjectV2Response.md +++ b/docs/EzsigntemplatepackageGetObjectV2Response.md @@ -6,8 +6,6 @@ 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 1a9dc2e4..29e1f08b 100644 --- a/docs/EzsigntemplatepackageRequestCompound.md +++ b/docs/EzsigntemplatepackageRequestCompound.md @@ -6,13 +6,6 @@ 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 315a2091..567624a5 100644 --- a/docs/EzsigntemplatepackageResponseCompound.md +++ b/docs/EzsigntemplatepackageResponseCompound.md @@ -6,18 +6,6 @@ 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 e2a7a178..43daba76 100644 --- a/docs/EzsigntemplatepackagemembershipCreateObjectV1Response.md +++ b/docs/EzsigntemplatepackagemembershipCreateObjectV1Response.md @@ -6,8 +6,6 @@ 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 583d101a..7d33c323 100644 --- a/docs/EzsigntemplatepackagemembershipDeleteObjectV1Response.md +++ b/docs/EzsigntemplatepackagemembershipDeleteObjectV1Response.md @@ -6,8 +6,6 @@ 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 be72badf..70b94aba 100644 --- a/docs/EzsigntemplatepackagemembershipGetObjectV2Response.md +++ b/docs/EzsigntemplatepackagemembershipGetObjectV2Response.md @@ -6,8 +6,6 @@ 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 98034b8d..9931c330 100644 --- a/docs/EzsigntemplatepackagemembershipRequestCompound.md +++ b/docs/EzsigntemplatepackagemembershipRequestCompound.md @@ -6,9 +6,6 @@ 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 99d70fb0..97277a69 100644 --- a/docs/EzsigntemplatepackagemembershipResponseCompound.md +++ b/docs/EzsigntemplatepackagemembershipResponseCompound.md @@ -6,10 +6,6 @@ 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 aa1e3a15..7671fe86 100644 --- a/docs/EzsigntemplatepackagesignerCreateObjectV1Response.md +++ b/docs/EzsigntemplatepackagesignerCreateObjectV1Response.md @@ -6,8 +6,6 @@ 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 27d0279e..f068592f 100644 --- a/docs/EzsigntemplatepackagesignerDeleteObjectV1Response.md +++ b/docs/EzsigntemplatepackagesignerDeleteObjectV1Response.md @@ -6,8 +6,6 @@ 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 c07a88d1..7f02c164 100644 --- a/docs/EzsigntemplatepackagesignerEditObjectV1Response.md +++ b/docs/EzsigntemplatepackagesignerEditObjectV1Response.md @@ -6,8 +6,6 @@ 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 5977b7b3..fe96f652 100644 --- a/docs/EzsigntemplatepackagesignerGetObjectV2Response.md +++ b/docs/EzsigntemplatepackagesignerGetObjectV2Response.md @@ -6,8 +6,6 @@ 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 cf9c65a8..6f630747 100644 --- a/docs/EzsigntemplatepackagesignerRequestCompound.md +++ b/docs/EzsigntemplatepackagesignerRequestCompound.md @@ -6,14 +6,6 @@ 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 a68e0409..cce4445d 100644 --- a/docs/EzsigntemplatepackagesignerResponseCompound.md +++ b/docs/EzsigntemplatepackagesignerResponseCompound.md @@ -6,17 +6,6 @@ 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 2591195a..9045756d 100644 --- a/docs/EzsigntemplatepackagesignermembershipCreateObjectV1Response.md +++ b/docs/EzsigntemplatepackagesignermembershipCreateObjectV1Response.md @@ -6,8 +6,6 @@ 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 8c2b3961..00381305 100644 --- a/docs/EzsigntemplatepackagesignermembershipDeleteObjectV1Response.md +++ b/docs/EzsigntemplatepackagesignermembershipDeleteObjectV1Response.md @@ -6,8 +6,6 @@ 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 b2bb80af..c4c19907 100644 --- a/docs/EzsigntemplatepackagesignermembershipGetObjectV2Response.md +++ b/docs/EzsigntemplatepackagesignermembershipGetObjectV2Response.md @@ -6,8 +6,6 @@ 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 d18b3070..ba6d331f 100644 --- a/docs/EzsigntemplatepackagesignermembershipRequestCompound.md +++ b/docs/EzsigntemplatepackagesignermembershipRequestCompound.md @@ -6,11 +6,6 @@ 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 9f564b0f..19958f97 100644 --- a/docs/EzsigntemplatepackagesignermembershipResponseCompound.md +++ b/docs/EzsigntemplatepackagesignermembershipResponseCompound.md @@ -6,11 +6,6 @@ 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 0adc613c..e031b2a3 100644 --- a/docs/EzsigntemplatepublicCreateEzsignfolderV1Response.md +++ b/docs/EzsigntemplatepublicCreateEzsignfolderV1Response.md @@ -6,8 +6,6 @@ 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 e11319a8..804f4832 100644 --- a/docs/EzsigntemplatepublicCreateObjectV1Response.md +++ b/docs/EzsigntemplatepublicCreateObjectV1Response.md @@ -6,8 +6,6 @@ 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 948f6a0b..cad5346e 100644 --- a/docs/EzsigntemplatepublicEditObjectV1Response.md +++ b/docs/EzsigntemplatepublicEditObjectV1Response.md @@ -6,8 +6,6 @@ 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 54db83dc..5bf89a86 100644 --- a/docs/EzsigntemplatepublicGetEzsigntemplatepublicDetailsV1Response.md +++ b/docs/EzsigntemplatepublicGetEzsigntemplatepublicDetailsV1Response.md @@ -6,8 +6,6 @@ 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 1619dc6f..082bd9bd 100644 --- a/docs/EzsigntemplatepublicGetFormsDataV1Response.md +++ b/docs/EzsigntemplatepublicGetFormsDataV1Response.md @@ -6,8 +6,6 @@ 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 6509171a..797097ec 100644 --- a/docs/EzsigntemplatepublicGetListV1Response.md +++ b/docs/EzsigntemplatepublicGetListV1Response.md @@ -6,8 +6,6 @@ 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 db6de128..bd1b601c 100644 --- a/docs/EzsigntemplatepublicGetListV1ResponseMPayload.md +++ b/docs/EzsigntemplatepublicGetListV1ResponseMPayload.md @@ -6,8 +6,6 @@ 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 cdbfe03e..79d587b5 100644 --- a/docs/EzsigntemplatepublicGetObjectV2Response.md +++ b/docs/EzsigntemplatepublicGetObjectV2Response.md @@ -6,8 +6,6 @@ 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 4af67baa..ed07215b 100644 --- a/docs/EzsigntemplatepublicRequestCompound.md +++ b/docs/EzsigntemplatepublicRequestCompound.md @@ -6,16 +6,6 @@ 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 2a8815fd..f725bf2d 100644 --- a/docs/EzsigntemplatepublicResetLimitExceededCounterV1Response.md +++ b/docs/EzsigntemplatepublicResetLimitExceededCounterV1Response.md @@ -6,8 +6,6 @@ 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 6af2ce37..ba75a4ba 100644 --- a/docs/EzsigntemplatepublicResetUrlV1Response.md +++ b/docs/EzsigntemplatepublicResetUrlV1Response.md @@ -6,8 +6,6 @@ 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 1fb80d6e..2f905dd9 100644 --- a/docs/EzsigntemplatepublicResponseCompound.md +++ b/docs/EzsigntemplatepublicResponseCompound.md @@ -6,24 +6,6 @@ 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 53c5cdd2..1b9e366f 100644 --- a/docs/EzsigntemplatesignatureCreateObjectV2Response.md +++ b/docs/EzsigntemplatesignatureCreateObjectV2Response.md @@ -6,8 +6,6 @@ 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 d26c9a1f..23a7dcf8 100644 --- a/docs/EzsigntemplatesignatureDeleteObjectV1Response.md +++ b/docs/EzsigntemplatesignatureDeleteObjectV1Response.md @@ -6,8 +6,6 @@ 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 86670290..08cbb53b 100644 --- a/docs/EzsigntemplatesignatureEditObjectV2Response.md +++ b/docs/EzsigntemplatesignatureEditObjectV2Response.md @@ -6,8 +6,6 @@ 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 15ef9f65..69f49390 100644 --- a/docs/EzsigntemplatesignatureGetObjectV3Response.md +++ b/docs/EzsigntemplatesignatureGetObjectV3Response.md @@ -6,8 +6,6 @@ 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 950b87ec..66398d08 100644 --- a/docs/EzsigntemplatesignatureRequestCompound.md +++ b/docs/EzsigntemplatesignatureRequestCompound.md @@ -6,38 +6,6 @@ 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] diff --git a/docs/EzsigntemplatesignatureRequestCompoundV2.md b/docs/EzsigntemplatesignatureRequestCompoundV2.md index 68feeb84..353607eb 100644 --- a/docs/EzsigntemplatesignatureRequestCompoundV2.md +++ b/docs/EzsigntemplatesignatureRequestCompoundV2.md @@ -6,38 +6,6 @@ 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] diff --git a/docs/EzsigntemplatesignatureResponseCompound.md b/docs/EzsigntemplatesignatureResponseCompound.md index f4a5e77a..0acbd4b6 100644 --- a/docs/EzsigntemplatesignatureResponseCompound.md +++ b/docs/EzsigntemplatesignatureResponseCompound.md @@ -6,38 +6,6 @@ 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] diff --git a/docs/EzsigntemplatesignatureResponseCompoundV3.md b/docs/EzsigntemplatesignatureResponseCompoundV3.md index 6225581d..285ea134 100644 --- a/docs/EzsigntemplatesignatureResponseCompoundV3.md +++ b/docs/EzsigntemplatesignatureResponseCompoundV3.md @@ -6,38 +6,6 @@ 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] diff --git a/docs/EzsigntemplatesignerCreateObjectV1Response.md b/docs/EzsigntemplatesignerCreateObjectV1Response.md index 891e4927..3de3cddd 100644 --- a/docs/EzsigntemplatesignerCreateObjectV1Response.md +++ b/docs/EzsigntemplatesignerCreateObjectV1Response.md @@ -6,8 +6,6 @@ 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 b93ee929..99c87b8d 100644 --- a/docs/EzsigntemplatesignerDeleteObjectV1Response.md +++ b/docs/EzsigntemplatesignerDeleteObjectV1Response.md @@ -6,8 +6,6 @@ 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 07235cda..2b797492 100644 --- a/docs/EzsigntemplatesignerEditObjectV1Response.md +++ b/docs/EzsigntemplatesignerEditObjectV1Response.md @@ -6,8 +6,6 @@ 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 0cf5c006..1d50a23a 100644 --- a/docs/EzsigntemplatesignerGetObjectV2Response.md +++ b/docs/EzsigntemplatesignerGetObjectV2Response.md @@ -6,8 +6,6 @@ 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 b3b4e4f3..9477f2ed 100644 --- a/docs/EzsigntemplatesignerRequestCompound.md +++ b/docs/EzsigntemplatesignerRequestCompound.md @@ -6,14 +6,6 @@ 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 0686bd0e..2be084cd 100644 --- a/docs/EzsigntemplatesignerResponseCompound.md +++ b/docs/EzsigntemplatesignerResponseCompound.md @@ -6,16 +6,6 @@ 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 a5709d00..19924c8f 100644 --- a/docs/EzsigntsarequirementGetAutocompleteV2Response.md +++ b/docs/EzsigntsarequirementGetAutocompleteV2Response.md @@ -6,8 +6,6 @@ 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 151ea4c1..dab938c8 100644 --- a/docs/EzsignuserEditObjectV1Response.md +++ b/docs/EzsignuserEditObjectV1Response.md @@ -6,8 +6,6 @@ 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 59871901..1cb808b9 100644 --- a/docs/EzsignuserGetObjectV2Response.md +++ b/docs/EzsignuserGetObjectV2Response.md @@ -6,8 +6,6 @@ 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 61a5684b..c738bd50 100644 --- a/docs/EzsignuserRequestCompound.md +++ b/docs/EzsignuserRequestCompound.md @@ -6,9 +6,6 @@ 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 d07a0cf8..eac140c3 100644 --- a/docs/EzsignuserResponseCompound.md +++ b/docs/EzsignuserResponseCompound.md @@ -6,10 +6,6 @@ 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 df9dbd62..b89b3e4a 100644 --- a/docs/FontGetAutocompleteV2Response.md +++ b/docs/FontGetAutocompleteV2Response.md @@ -6,8 +6,6 @@ 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 27d6a7ee..5da9911a 100644 --- a/docs/FranchisebrokerGetAutocompleteV2Response.md +++ b/docs/FranchisebrokerGetAutocompleteV2Response.md @@ -6,8 +6,6 @@ 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 07542eea..d5edbca7 100644 --- a/docs/FranchiseofficeGetAutocompleteV2Response.md +++ b/docs/FranchiseofficeGetAutocompleteV2Response.md @@ -6,8 +6,6 @@ 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 82d905a2..bafb2e67 100644 --- a/docs/FranchisereferalincomeCreateObjectV2Response.md +++ b/docs/FranchisereferalincomeCreateObjectV2Response.md @@ -6,8 +6,6 @@ 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 d666899a..51f8db77 100644 --- a/docs/FranchisereferalincomeRequestCompound.md +++ b/docs/FranchisereferalincomeRequestCompound.md @@ -6,18 +6,6 @@ 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 a5b1a401..a5fed9f7 100644 --- a/docs/GlaccountGetAutocompleteV2Response.md +++ b/docs/GlaccountGetAutocompleteV2Response.md @@ -6,8 +6,6 @@ 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 8363c3e1..595c324b 100644 --- a/docs/GlaccountcontainerGetAutocompleteV2Response.md +++ b/docs/GlaccountcontainerGetAutocompleteV2Response.md @@ -6,8 +6,6 @@ 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 9acfb241..331c631b 100644 --- a/docs/InscriptionGetAttachmentsV1Response.md +++ b/docs/InscriptionGetAttachmentsV1Response.md @@ -6,8 +6,6 @@ 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 968dfe81..2652a1f9 100644 --- a/docs/InscriptionGetCommunicationCountV1Response.md +++ b/docs/InscriptionGetCommunicationCountV1Response.md @@ -6,8 +6,6 @@ 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 9d190edf..b4f98783 100644 --- a/docs/InscriptionGetCommunicationListV1Response.md +++ b/docs/InscriptionGetCommunicationListV1Response.md @@ -6,8 +6,6 @@ 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 cb2291cd..1d3e2b22 100644 --- a/docs/InscriptionGetCommunicationrecipientsV1Response.md +++ b/docs/InscriptionGetCommunicationrecipientsV1Response.md @@ -6,8 +6,6 @@ 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 8120c400..5ebec8af 100644 --- a/docs/InscriptionGetCommunicationsendersV1Response.md +++ b/docs/InscriptionGetCommunicationsendersV1Response.md @@ -6,8 +6,6 @@ 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 e3a57c2d..4a62a2b5 100644 --- a/docs/InscriptionnotauthenticatedGetCommunicationCountV1Response.md +++ b/docs/InscriptionnotauthenticatedGetCommunicationCountV1Response.md @@ -6,8 +6,6 @@ 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 e1818562..eccb4f89 100644 --- a/docs/InscriptionnotauthenticatedGetCommunicationListV1Response.md +++ b/docs/InscriptionnotauthenticatedGetCommunicationListV1Response.md @@ -6,8 +6,6 @@ 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 03e0565f..66956d65 100644 --- a/docs/InscriptionnotauthenticatedGetCommunicationrecipientsV1Response.md +++ b/docs/InscriptionnotauthenticatedGetCommunicationrecipientsV1Response.md @@ -6,8 +6,6 @@ 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 ac50bd37..07d2c49d 100644 --- a/docs/InscriptionnotauthenticatedGetCommunicationsendersV1Response.md +++ b/docs/InscriptionnotauthenticatedGetCommunicationsendersV1Response.md @@ -6,8 +6,6 @@ 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 8ff514fc..bdb619c3 100644 --- a/docs/InscriptiontempGetCommunicationCountV1Response.md +++ b/docs/InscriptiontempGetCommunicationCountV1Response.md @@ -6,8 +6,6 @@ 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 abf38a6f..e0696a7d 100644 --- a/docs/InscriptiontempGetCommunicationListV1Response.md +++ b/docs/InscriptiontempGetCommunicationListV1Response.md @@ -6,8 +6,6 @@ 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 5081dceb..0698a402 100644 --- a/docs/InscriptiontempGetCommunicationrecipientsV1Response.md +++ b/docs/InscriptiontempGetCommunicationrecipientsV1Response.md @@ -6,8 +6,6 @@ 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 d673aa1f..5c5be3d9 100644 --- a/docs/InscriptiontempGetCommunicationsendersV1Response.md +++ b/docs/InscriptiontempGetCommunicationsendersV1Response.md @@ -6,8 +6,6 @@ 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 636c2002..8b032bb0 100644 --- a/docs/InvoiceGetAttachmentsV1Response.md +++ b/docs/InvoiceGetAttachmentsV1Response.md @@ -6,8 +6,6 @@ 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 7b361c09..200bae88 100644 --- a/docs/InvoiceGetCommunicationCountV1Response.md +++ b/docs/InvoiceGetCommunicationCountV1Response.md @@ -6,8 +6,6 @@ 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 f5fd8ba4..2bdc71e2 100644 --- a/docs/InvoiceGetCommunicationListV1Response.md +++ b/docs/InvoiceGetCommunicationListV1Response.md @@ -6,8 +6,6 @@ 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 df43b928..b8b7b7fa 100644 --- a/docs/InvoiceGetCommunicationrecipientsV1Response.md +++ b/docs/InvoiceGetCommunicationrecipientsV1Response.md @@ -6,8 +6,6 @@ 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 049a8c99..6fbf7428 100644 --- a/docs/InvoiceGetCommunicationsendersV1Response.md +++ b/docs/InvoiceGetCommunicationsendersV1Response.md @@ -6,8 +6,6 @@ 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 a9c85d4d..3e0d5cd9 100644 --- a/docs/LanguageGetAutocompleteV2Response.md +++ b/docs/LanguageGetAutocompleteV2Response.md @@ -6,8 +6,6 @@ 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 419153de..c3c2cea6 100644 --- a/docs/ModuleGetAutocompleteV2Response.md +++ b/docs/ModuleGetAutocompleteV2Response.md @@ -6,8 +6,6 @@ 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 d9c19803..4a23ff49 100644 --- a/docs/ModuleResponseCompound.md +++ b/docs/ModuleResponseCompound.md @@ -6,12 +6,6 @@ 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 f21303ab..5a17789e 100644 --- a/docs/ModulegroupGetAllV1Response.md +++ b/docs/ModulegroupGetAllV1Response.md @@ -6,8 +6,6 @@ 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 ff4ffaf8..8686b512 100644 --- a/docs/ModulegroupResponseCompound.md +++ b/docs/ModulegroupResponseCompound.md @@ -6,8 +6,6 @@ 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 aae66f9b..529e5102 100644 --- a/docs/ModulesectionResponseCompound.md +++ b/docs/ModulesectionResponseCompound.md @@ -6,10 +6,6 @@ A Modulesection Object Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**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]**](PermissionResponse.md) | | [optional] ## Example diff --git a/docs/NotificationsectionGetNotificationtestsV1Response.md b/docs/NotificationsectionGetNotificationtestsV1Response.md index a36fcf74..d3c10141 100644 --- a/docs/NotificationsectionGetNotificationtestsV1Response.md +++ b/docs/NotificationsectionGetNotificationtestsV1Response.md @@ -6,8 +6,6 @@ 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 0ef26dd3..5fc88b51 100644 --- a/docs/NotificationtestGetElementsV1Response.md +++ b/docs/NotificationtestGetElementsV1Response.md @@ -6,8 +6,6 @@ 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/OtherincomeGetCommunicationCountV1Response.md b/docs/OtherincomeGetCommunicationCountV1Response.md index 0a3ec04f..791e7546 100644 --- a/docs/OtherincomeGetCommunicationCountV1Response.md +++ b/docs/OtherincomeGetCommunicationCountV1Response.md @@ -6,8 +6,6 @@ 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 521d25c7..4ae2ff17 100644 --- a/docs/OtherincomeGetCommunicationListV1Response.md +++ b/docs/OtherincomeGetCommunicationListV1Response.md @@ -6,8 +6,6 @@ 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 adf687ce..b972e08e 100644 --- a/docs/OtherincomeGetCommunicationrecipientsV1Response.md +++ b/docs/OtherincomeGetCommunicationrecipientsV1Response.md @@ -6,8 +6,6 @@ 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 9f6f6048..85484c4e 100644 --- a/docs/OtherincomeGetCommunicationsendersV1Response.md +++ b/docs/OtherincomeGetCommunicationsendersV1Response.md @@ -6,8 +6,6 @@ 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 1e55bfb0..02632bd9 100644 --- a/docs/PaymenttermCreateObjectV1Response.md +++ b/docs/PaymenttermCreateObjectV1Response.md @@ -6,8 +6,6 @@ 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 db3c121c..a4328397 100644 --- a/docs/PaymenttermEditObjectV1Response.md +++ b/docs/PaymenttermEditObjectV1Response.md @@ -6,8 +6,6 @@ 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 def60799..d5638940 100644 --- a/docs/PaymenttermGetAutocompleteV2Response.md +++ b/docs/PaymenttermGetAutocompleteV2Response.md @@ -6,8 +6,6 @@ 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 f1fc275f..25f38b54 100644 --- a/docs/PaymenttermGetListV1Response.md +++ b/docs/PaymenttermGetListV1Response.md @@ -6,8 +6,6 @@ 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 fd00d31f..0b997913 100644 --- a/docs/PaymenttermGetListV1ResponseMPayload.md +++ b/docs/PaymenttermGetListV1ResponseMPayload.md @@ -6,8 +6,6 @@ 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 3b6caa4e..5cd95d3b 100644 --- a/docs/PaymenttermGetObjectV2Response.md +++ b/docs/PaymenttermGetObjectV2Response.md @@ -6,8 +6,6 @@ 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 c00490f8..505d2187 100644 --- a/docs/PaymenttermRequestCompound.md +++ b/docs/PaymenttermRequestCompound.md @@ -6,12 +6,6 @@ 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 815fe21b..e453a3a7 100644 --- a/docs/PaymenttermResponseCompound.md +++ b/docs/PaymenttermResponseCompound.md @@ -6,13 +6,6 @@ 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 36a6ed2c..32960288 100644 --- a/docs/PdfalevelGetAutocompleteV2Response.md +++ b/docs/PdfalevelGetAutocompleteV2Response.md @@ -6,8 +6,6 @@ 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 aaf0d040..e1dcba87 100644 --- a/docs/PeriodGetAutocompleteV2Response.md +++ b/docs/PeriodGetAutocompleteV2Response.md @@ -6,8 +6,6 @@ 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/PermissionCreateObjectV1Response.md b/docs/PermissionCreateObjectV1Response.md index 678226d1..228b0ecf 100644 --- a/docs/PermissionCreateObjectV1Response.md +++ b/docs/PermissionCreateObjectV1Response.md @@ -6,8 +6,6 @@ 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 e07c8d4e..9186bffe 100644 --- a/docs/PermissionDeleteObjectV1Response.md +++ b/docs/PermissionDeleteObjectV1Response.md @@ -6,8 +6,6 @@ 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/PermissionEditObjectV1Response.md b/docs/PermissionEditObjectV1Response.md index ff4784c8..df13b135 100644 --- a/docs/PermissionEditObjectV1Response.md +++ b/docs/PermissionEditObjectV1Response.md @@ -6,8 +6,6 @@ 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 6a65895b..0a761ccf 100644 --- a/docs/PermissionGetObjectV2Response.md +++ b/docs/PermissionGetObjectV2Response.md @@ -6,8 +6,6 @@ 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/PhoneResponseCompound.md b/docs/PhoneResponseCompound.md index 7bc2c2fb..37c1c8af 100644 --- a/docs/PhoneResponseCompound.md +++ b/docs/PhoneResponseCompound.md @@ -6,11 +6,6 @@ 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 24f6c0ab..2bf4f5d7 100644 --- a/docs/PhonetypeGetAutocompleteV2Response.md +++ b/docs/PhonetypeGetAutocompleteV2Response.md @@ -6,8 +6,6 @@ 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 9e34cf6b..ebb97887 100644 --- a/docs/ProvinceGetAutocompleteV2Response.md +++ b/docs/ProvinceGetAutocompleteV2Response.md @@ -6,8 +6,6 @@ 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 60ab6dee..de04d039 100644 --- a/docs/RejectedoffertopurchaseGetCommunicationCountV1Response.md +++ b/docs/RejectedoffertopurchaseGetCommunicationCountV1Response.md @@ -6,8 +6,6 @@ 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 64b54556..aa1c96d5 100644 --- a/docs/RejectedoffertopurchaseGetCommunicationListV1Response.md +++ b/docs/RejectedoffertopurchaseGetCommunicationListV1Response.md @@ -6,8 +6,6 @@ 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 2a80552f..108c17a4 100644 --- a/docs/RejectedoffertopurchaseGetCommunicationrecipientsV1Response.md +++ b/docs/RejectedoffertopurchaseGetCommunicationrecipientsV1Response.md @@ -6,8 +6,6 @@ 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 28da0e74..57a7858b 100644 --- a/docs/RejectedoffertopurchaseGetCommunicationsendersV1Response.md +++ b/docs/RejectedoffertopurchaseGetCommunicationsendersV1Response.md @@ -6,8 +6,6 @@ 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 6de8275b..332be663 100644 --- a/docs/SecretquestionGetAutocompleteV2Response.md +++ b/docs/SecretquestionGetAutocompleteV2Response.md @@ -6,8 +6,6 @@ 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 4b8cd844..89cc1480 100644 --- a/docs/SessionhistoryGetListV1Response.md +++ b/docs/SessionhistoryGetListV1Response.md @@ -6,8 +6,6 @@ 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 03e4f183..6accd103 100644 --- a/docs/SessionhistoryGetListV1ResponseMPayload.md +++ b/docs/SessionhistoryGetListV1ResponseMPayload.md @@ -6,8 +6,6 @@ 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 e54044fe..0f44cc83 100644 --- a/docs/SignatureCreateObjectV1Response.md +++ b/docs/SignatureCreateObjectV1Response.md @@ -6,8 +6,6 @@ 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 c9b9bbca..c6d6c25a 100644 --- a/docs/SignatureDeleteObjectV1Response.md +++ b/docs/SignatureDeleteObjectV1Response.md @@ -6,8 +6,6 @@ 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 7f001f04..e6d79804 100644 --- a/docs/SignatureEditObjectV1Response.md +++ b/docs/SignatureEditObjectV1Response.md @@ -6,8 +6,6 @@ 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 cb40486f..b520e15e 100644 --- a/docs/SignatureGetObjectV2Response.md +++ b/docs/SignatureGetObjectV2Response.md @@ -6,8 +6,6 @@ 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 c650bd0f..5afab8a8 100644 --- a/docs/SignatureGetObjectV3Response.md +++ b/docs/SignatureGetObjectV3Response.md @@ -6,8 +6,6 @@ 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 53092cd5..3910ace8 100644 --- a/docs/SignatureRequestCompound.md +++ b/docs/SignatureRequestCompound.md @@ -6,11 +6,6 @@ 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 da0936dd..0933eefe 100644 --- a/docs/SignatureResponseCompound.md +++ b/docs/SignatureResponseCompound.md @@ -6,10 +6,6 @@ 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 63db0e31..a6493b71 100644 --- a/docs/SignatureResponseCompoundV3.md +++ b/docs/SignatureResponseCompoundV3.md @@ -6,11 +6,6 @@ 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 80bb0ece..d17d3dc8 100644 --- a/docs/SubnetCreateObjectV1Response.md +++ b/docs/SubnetCreateObjectV1Response.md @@ -6,8 +6,6 @@ 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 56ee11f5..c44e9d90 100644 --- a/docs/SubnetDeleteObjectV1Response.md +++ b/docs/SubnetDeleteObjectV1Response.md @@ -6,8 +6,6 @@ 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 b7014404..0ea23ff3 100644 --- a/docs/SubnetEditObjectV1Response.md +++ b/docs/SubnetEditObjectV1Response.md @@ -6,8 +6,6 @@ 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 9e9069b1..88b6dd9a 100644 --- a/docs/SubnetGetObjectV2Response.md +++ b/docs/SubnetGetObjectV2Response.md @@ -6,8 +6,6 @@ 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 00708da9..e91a8831 100644 --- a/docs/SubnetRequestCompound.md +++ b/docs/SubnetRequestCompound.md @@ -6,12 +6,6 @@ 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 bb80cd86..9f6dcfef 100644 --- a/docs/SubnetResponseCompound.md +++ b/docs/SubnetResponseCompound.md @@ -6,12 +6,6 @@ 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 834c4d33..b74fea55 100644 --- a/docs/SupplyCreateObjectV1Response.md +++ b/docs/SupplyCreateObjectV1Response.md @@ -6,8 +6,6 @@ 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 3cf91d2c..4d5b3793 100644 --- a/docs/SupplyDeleteObjectV1Response.md +++ b/docs/SupplyDeleteObjectV1Response.md @@ -6,8 +6,6 @@ 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 f620de31..54d312e7 100644 --- a/docs/SupplyEditObjectV1Response.md +++ b/docs/SupplyEditObjectV1Response.md @@ -6,8 +6,6 @@ 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 7772ae99..54c9605b 100644 --- a/docs/SupplyGetAutocompleteV2Response.md +++ b/docs/SupplyGetAutocompleteV2Response.md @@ -6,8 +6,6 @@ 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 c121f6aa..82fe92cd 100644 --- a/docs/SupplyGetListV1Response.md +++ b/docs/SupplyGetListV1Response.md @@ -6,8 +6,6 @@ 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 34b01a8a..003ee6b4 100644 --- a/docs/SupplyGetListV1ResponseMPayload.md +++ b/docs/SupplyGetListV1ResponseMPayload.md @@ -6,8 +6,6 @@ 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 e67593d5..afd71dd0 100644 --- a/docs/SupplyGetObjectV2Response.md +++ b/docs/SupplyGetObjectV2Response.md @@ -6,8 +6,6 @@ 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 e9ddf173..1e9c4a93 100644 --- a/docs/SupplyRequestCompound.md +++ b/docs/SupplyRequestCompound.md @@ -6,15 +6,6 @@ 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 d2df676e..f7013313 100644 --- a/docs/SupplyResponseCompound.md +++ b/docs/SupplyResponseCompound.md @@ -6,18 +6,6 @@ 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 53181dba..cfedb5e6 100644 --- a/docs/SystemconfigurationEditObjectV1Response.md +++ b/docs/SystemconfigurationEditObjectV1Response.md @@ -6,8 +6,6 @@ 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 ff3868ee..71a17569 100644 --- a/docs/SystemconfigurationGetObjectV2Response.md +++ b/docs/SystemconfigurationGetObjectV2Response.md @@ -6,8 +6,6 @@ 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 9b8a528b..a08bd56d 100644 --- a/docs/SystemconfigurationRequestCompound.md +++ b/docs/SystemconfigurationRequestCompound.md @@ -6,18 +6,6 @@ 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 7c103bc5..c0f60272 100644 --- a/docs/SystemconfigurationResponseCompound.md +++ b/docs/SystemconfigurationResponseCompound.md @@ -6,23 +6,6 @@ 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 f917cc46..dc3851bf 100644 --- a/docs/TaxassignmentGetAutocompleteV2Response.md +++ b/docs/TaxassignmentGetAutocompleteV2Response.md @@ -6,8 +6,6 @@ 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 c6679330..46095440 100644 --- a/docs/TextstylestaticRequestCompound.md +++ b/docs/TextstylestaticRequestCompound.md @@ -6,13 +6,6 @@ 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 3fbeff77..c672ad68 100644 --- a/docs/TextstylestaticResponseCompound.md +++ b/docs/TextstylestaticResponseCompound.md @@ -6,15 +6,6 @@ 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 a172105b..0521f54e 100644 --- a/docs/TimezoneGetAutocompleteV2Response.md +++ b/docs/TimezoneGetAutocompleteV2Response.md @@ -6,8 +6,6 @@ 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 42c19041..a966248f 100644 --- a/docs/TranqcontractGetCommunicationCountV1Response.md +++ b/docs/TranqcontractGetCommunicationCountV1Response.md @@ -6,8 +6,6 @@ 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 47e49600..537b5ca4 100644 --- a/docs/TranqcontractGetCommunicationListV1Response.md +++ b/docs/TranqcontractGetCommunicationListV1Response.md @@ -6,8 +6,6 @@ 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 2aae3064..24c102e2 100644 --- a/docs/TranqcontractGetCommunicationrecipientsV1Response.md +++ b/docs/TranqcontractGetCommunicationrecipientsV1Response.md @@ -6,8 +6,6 @@ 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 d47c4eec..aad80717 100644 --- a/docs/TranqcontractGetCommunicationsendersV1Response.md +++ b/docs/TranqcontractGetCommunicationsendersV1Response.md @@ -6,8 +6,6 @@ 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 4efa24a9..77149fbd 100644 --- a/docs/UserCreateEzsignuserV1Response.md +++ b/docs/UserCreateEzsignuserV1Response.md @@ -6,8 +6,6 @@ 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 e5a4aa2d..cd154c13 100644 --- a/docs/UserCreateObjectV1Response.md +++ b/docs/UserCreateObjectV1Response.md @@ -6,8 +6,6 @@ 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 3534bdcf..6d3f6ec6 100644 --- a/docs/UserCreateObjectV2Response.md +++ b/docs/UserCreateObjectV2Response.md @@ -6,8 +6,6 @@ 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 4a713de8..6ef3474d 100644 --- a/docs/UserEditColleaguesV2Response.md +++ b/docs/UserEditColleaguesV2Response.md @@ -6,8 +6,6 @@ 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 c00dee8e..da14e9d1 100644 --- a/docs/UserEditObjectV1Response.md +++ b/docs/UserEditObjectV1Response.md @@ -6,8 +6,6 @@ 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/UserEditPermissionsV1Response.md b/docs/UserEditPermissionsV1Response.md index c2d2f333..0d462a80 100644 --- a/docs/UserEditPermissionsV1Response.md +++ b/docs/UserEditPermissionsV1Response.md @@ -6,8 +6,6 @@ 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 b5128f98..08edbffa 100644 --- a/docs/UserGetApikeysV1Response.md +++ b/docs/UserGetApikeysV1Response.md @@ -6,8 +6,6 @@ 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/UserGetAutocompleteV2Response.md b/docs/UserGetAutocompleteV2Response.md index 488c2605..7c0b9dc8 100644 --- a/docs/UserGetAutocompleteV2Response.md +++ b/docs/UserGetAutocompleteV2Response.md @@ -6,8 +6,6 @@ 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 2a7d5bf6..8c1c328a 100644 --- a/docs/UserGetColleaguesV2Response.md +++ b/docs/UserGetColleaguesV2Response.md @@ -6,8 +6,6 @@ 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 fc9bc8f7..9456bb4f 100644 --- a/docs/UserGetEffectivePermissionsV1Response.md +++ b/docs/UserGetEffectivePermissionsV1Response.md @@ -6,8 +6,6 @@ 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 bb4a9a49..d00d7728 100644 --- a/docs/UserGetListV1Response.md +++ b/docs/UserGetListV1Response.md @@ -6,8 +6,6 @@ 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 219835d6..e11f4fed 100644 --- a/docs/UserGetListV1ResponseMPayload.md +++ b/docs/UserGetListV1ResponseMPayload.md @@ -6,8 +6,6 @@ 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 d4bf5dd0..be4f8b3c 100644 --- a/docs/UserGetObjectV2Response.md +++ b/docs/UserGetObjectV2Response.md @@ -6,8 +6,6 @@ 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/UserGetPermissionsV1Response.md b/docs/UserGetPermissionsV1Response.md index 238a04cd..f82ffd43 100644 --- a/docs/UserGetPermissionsV1Response.md +++ b/docs/UserGetPermissionsV1Response.md @@ -6,8 +6,6 @@ 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 eebe2353..621d0356 100644 --- a/docs/UserGetSubnetsV1Response.md +++ b/docs/UserGetSubnetsV1Response.md @@ -6,8 +6,6 @@ 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 dc15dc08..ae8193e7 100644 --- a/docs/UserGetUsergroupexternalsV1Response.md +++ b/docs/UserGetUsergroupexternalsV1Response.md @@ -6,8 +6,6 @@ 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 5efe996c..35dca82d 100644 --- a/docs/UserGetUsergroupsV1Response.md +++ b/docs/UserGetUsergroupsV1Response.md @@ -6,8 +6,6 @@ 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/UserRequestCompound.md b/docs/UserRequestCompound.md index 523617ec..b3118f86 100644 --- a/docs/UserRequestCompound.md +++ b/docs/UserRequestCompound.md @@ -6,34 +6,6 @@ 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** | [**EmailRequest**](EmailRequest.md) | An Email Object and children to create a complete structure | -**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] -**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 642e6174..3ee4c0d7 100644 --- a/docs/UserRequestCompoundV2.md +++ b/docs/UserRequestCompoundV2.md @@ -6,34 +6,6 @@ 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** | [**EmailRequest**](EmailRequest.md) | An Email Object and children to create a complete structure | -**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] -**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/UserSendPasswordResetV1Response.md b/docs/UserSendPasswordResetV1Response.md index b8a05521..4752ccc0 100644 --- a/docs/UserSendPasswordResetV1Response.md +++ b/docs/UserSendPasswordResetV1Response.md @@ -6,8 +6,6 @@ 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 bd6f927d..91441971 100644 --- a/docs/UsergroupCreateObjectV1Response.md +++ b/docs/UsergroupCreateObjectV1Response.md @@ -6,8 +6,6 @@ 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 9a74032a..86658819 100644 --- a/docs/UsergroupEditObjectV1Response.md +++ b/docs/UsergroupEditObjectV1Response.md @@ -6,8 +6,6 @@ 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/UsergroupEditPermissionsV1Response.md b/docs/UsergroupEditPermissionsV1Response.md index 93720fb8..9afce600 100644 --- a/docs/UsergroupEditPermissionsV1Response.md +++ b/docs/UsergroupEditPermissionsV1Response.md @@ -6,8 +6,6 @@ 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 0e563b64..3b0fa81b 100644 --- a/docs/UsergroupEditUsergroupdelegationsV1Response.md +++ b/docs/UsergroupEditUsergroupdelegationsV1Response.md @@ -6,8 +6,6 @@ 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 013da622..759e1042 100644 --- a/docs/UsergroupEditUsergroupmembershipsV1Response.md +++ b/docs/UsergroupEditUsergroupmembershipsV1Response.md @@ -6,8 +6,6 @@ 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 86e598c8..fc37aa7f 100644 --- a/docs/UsergroupGetAutocompleteV2Response.md +++ b/docs/UsergroupGetAutocompleteV2Response.md @@ -6,8 +6,6 @@ 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 e0a500a2..63ac1238 100644 --- a/docs/UsergroupGetListV1Response.md +++ b/docs/UsergroupGetListV1Response.md @@ -6,8 +6,6 @@ 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 e2545dbd..2619870f 100644 --- a/docs/UsergroupGetListV1ResponseMPayload.md +++ b/docs/UsergroupGetListV1ResponseMPayload.md @@ -6,8 +6,6 @@ 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 566106ab..3441ca84 100644 --- a/docs/UsergroupGetObjectV2Response.md +++ b/docs/UsergroupGetObjectV2Response.md @@ -6,8 +6,6 @@ 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 7b957a06..c487802b 100644 --- a/docs/UsergroupGetPermissionsV1Response.md +++ b/docs/UsergroupGetPermissionsV1Response.md @@ -6,8 +6,6 @@ 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 3d7abaa3..30fd5e94 100644 --- a/docs/UsergroupGetUsergroupdelegationsV1Response.md +++ b/docs/UsergroupGetUsergroupdelegationsV1Response.md @@ -6,8 +6,6 @@ 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 14789f8b..33377c23 100644 --- a/docs/UsergroupGetUsergroupmembershipsV1Response.md +++ b/docs/UsergroupGetUsergroupmembershipsV1Response.md @@ -6,8 +6,6 @@ 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 14297a17..6ec8d8ba 100644 --- a/docs/UsergroupRequestCompound.md +++ b/docs/UsergroupRequestCompound.md @@ -6,9 +6,6 @@ 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 a01e31cc..3e95e1bf 100644 --- a/docs/UsergroupResponseCompound.md +++ b/docs/UsergroupResponseCompound.md @@ -6,10 +6,6 @@ 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 e5a891c0..92f914cb 100644 --- a/docs/UsergroupdelegationCreateObjectV1Response.md +++ b/docs/UsergroupdelegationCreateObjectV1Response.md @@ -6,8 +6,6 @@ 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 8a71ac66..3932d3bb 100644 --- a/docs/UsergroupdelegationDeleteObjectV1Response.md +++ b/docs/UsergroupdelegationDeleteObjectV1Response.md @@ -6,8 +6,6 @@ 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 77fff5d4..93539f0a 100644 --- a/docs/UsergroupdelegationEditObjectV1Response.md +++ b/docs/UsergroupdelegationEditObjectV1Response.md @@ -6,8 +6,6 @@ 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 dd1dbc30..d5c26b06 100644 --- a/docs/UsergroupdelegationGetObjectV2Response.md +++ b/docs/UsergroupdelegationGetObjectV2Response.md @@ -6,8 +6,6 @@ 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 40af67cd..a1aff963 100644 --- a/docs/UsergroupdelegationRequestCompound.md +++ b/docs/UsergroupdelegationRequestCompound.md @@ -6,9 +6,6 @@ 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 4a9cda2c..e93b7b73 100644 --- a/docs/UsergroupdelegationResponseCompound.md +++ b/docs/UsergroupdelegationResponseCompound.md @@ -6,14 +6,6 @@ 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 08d2b075..1742d668 100644 --- a/docs/UsergroupexternalCreateObjectV1Response.md +++ b/docs/UsergroupexternalCreateObjectV1Response.md @@ -6,8 +6,6 @@ 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 60022cfe..cb602a95 100644 --- a/docs/UsergroupexternalDeleteObjectV1Response.md +++ b/docs/UsergroupexternalDeleteObjectV1Response.md @@ -6,8 +6,6 @@ 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 5ccdd5fb..fc50448c 100644 --- a/docs/UsergroupexternalEditObjectV1Response.md +++ b/docs/UsergroupexternalEditObjectV1Response.md @@ -6,8 +6,6 @@ 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 189627e5..9a7dddb5 100644 --- a/docs/UsergroupexternalGetAutocompleteV2Response.md +++ b/docs/UsergroupexternalGetAutocompleteV2Response.md @@ -6,8 +6,6 @@ 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 afa36be9..89bc8302 100644 --- a/docs/UsergroupexternalGetListV1Response.md +++ b/docs/UsergroupexternalGetListV1Response.md @@ -6,8 +6,6 @@ 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 f4a8ff41..568269b3 100644 --- a/docs/UsergroupexternalGetListV1ResponseMPayload.md +++ b/docs/UsergroupexternalGetListV1ResponseMPayload.md @@ -6,8 +6,6 @@ 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 c4820499..449eaba6 100644 --- a/docs/UsergroupexternalGetObjectV2Response.md +++ b/docs/UsergroupexternalGetObjectV2Response.md @@ -6,8 +6,6 @@ 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 15215651..2ea57cd3 100644 --- a/docs/UsergroupexternalGetUsergroupexternalmembershipsV1Response.md +++ b/docs/UsergroupexternalGetUsergroupexternalmembershipsV1Response.md @@ -6,8 +6,6 @@ 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 58be0edb..fd8a4ea6 100644 --- a/docs/UsergroupexternalGetUsergroupsV1Response.md +++ b/docs/UsergroupexternalGetUsergroupsV1Response.md @@ -6,8 +6,6 @@ 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 1d9db960..93d78619 100644 --- a/docs/UsergroupexternalRequestCompound.md +++ b/docs/UsergroupexternalRequestCompound.md @@ -6,9 +6,6 @@ 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 b9eafa3a..86a41505 100644 --- a/docs/UsergroupexternalResponseCompound.md +++ b/docs/UsergroupexternalResponseCompound.md @@ -6,9 +6,6 @@ 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 579fc88f..adfff4de 100644 --- a/docs/UsergroupexternalmembershipResponseCompound.md +++ b/docs/UsergroupexternalmembershipResponseCompound.md @@ -6,14 +6,6 @@ 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 16a27bcc..239bc2f6 100644 --- a/docs/UsergroupmembershipCreateObjectV1Response.md +++ b/docs/UsergroupmembershipCreateObjectV1Response.md @@ -6,8 +6,6 @@ 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 592e3dfc..1038b7fd 100644 --- a/docs/UsergroupmembershipDeleteObjectV1Response.md +++ b/docs/UsergroupmembershipDeleteObjectV1Response.md @@ -6,8 +6,6 @@ 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 53cb9d24..16da6048 100644 --- a/docs/UsergroupmembershipEditObjectV1Response.md +++ b/docs/UsergroupmembershipEditObjectV1Response.md @@ -6,8 +6,6 @@ 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 acba6188..1f38812e 100644 --- a/docs/UsergroupmembershipGetObjectV2Response.md +++ b/docs/UsergroupmembershipGetObjectV2Response.md @@ -6,8 +6,6 @@ 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 c7ef824b..2733914f 100644 --- a/docs/UsergroupmembershipRequestCompound.md +++ b/docs/UsergroupmembershipRequestCompound.md @@ -6,10 +6,6 @@ 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 e82f78e9..d72558d3 100644 --- a/docs/UsergroupmembershipResponseCompound.md +++ b/docs/UsergroupmembershipResponseCompound.md @@ -6,16 +6,6 @@ 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 5c3c773e..c246022b 100644 --- a/docs/UserlogintypeGetAutocompleteV2Response.md +++ b/docs/UserlogintypeGetAutocompleteV2Response.md @@ -6,8 +6,6 @@ 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 9c2748e4..ffc1a76b 100644 --- a/docs/UserstagedCreateUserV1Response.md +++ b/docs/UserstagedCreateUserV1Response.md @@ -6,8 +6,6 @@ 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 8000c2e9..44ebfbe8 100644 --- a/docs/UserstagedDeleteObjectV1Response.md +++ b/docs/UserstagedDeleteObjectV1Response.md @@ -6,8 +6,6 @@ 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 b88fab1c..84de072d 100644 --- a/docs/UserstagedGetListV1Response.md +++ b/docs/UserstagedGetListV1Response.md @@ -6,8 +6,6 @@ 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 37d68b78..a8ff8bfe 100644 --- a/docs/UserstagedGetListV1ResponseMPayload.md +++ b/docs/UserstagedGetListV1ResponseMPayload.md @@ -6,8 +6,6 @@ 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 4a3e9335..84e9f7be 100644 --- a/docs/UserstagedGetObjectV2Response.md +++ b/docs/UserstagedGetObjectV2Response.md @@ -6,8 +6,6 @@ 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/UserstagedMapV1Response.md b/docs/UserstagedMapV1Response.md index 2d98af89..3c9b5f28 100644 --- a/docs/UserstagedMapV1Response.md +++ b/docs/UserstagedMapV1Response.md @@ -6,8 +6,6 @@ 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 504f4368..6955d0ca 100644 --- a/docs/VariableexpenseCreateObjectV1Response.md +++ b/docs/VariableexpenseCreateObjectV1Response.md @@ -6,8 +6,6 @@ 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 60f21c3e..1fc448bc 100644 --- a/docs/VariableexpenseEditObjectV1Response.md +++ b/docs/VariableexpenseEditObjectV1Response.md @@ -6,8 +6,6 @@ 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 5e1f678c..a143058d 100644 --- a/docs/VariableexpenseGetAutocompleteV2Response.md +++ b/docs/VariableexpenseGetAutocompleteV2Response.md @@ -6,8 +6,6 @@ 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 9cb821e0..23cb976b 100644 --- a/docs/VariableexpenseGetListV1Response.md +++ b/docs/VariableexpenseGetListV1Response.md @@ -6,8 +6,6 @@ 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 3b5e0a7a..a72c4150 100644 --- a/docs/VariableexpenseGetListV1ResponseMPayload.md +++ b/docs/VariableexpenseGetListV1ResponseMPayload.md @@ -6,8 +6,6 @@ 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 d69c7fb8..b7d11f48 100644 --- a/docs/VariableexpenseGetObjectV2Response.md +++ b/docs/VariableexpenseGetObjectV2Response.md @@ -6,8 +6,6 @@ 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 8b02d0ff..8575a845 100644 --- a/docs/VariableexpenseRequestCompound.md +++ b/docs/VariableexpenseRequestCompound.md @@ -6,11 +6,6 @@ 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 4fafc909..7e992934 100644 --- a/docs/VariableexpenseResponseCompound.md +++ b/docs/VariableexpenseResponseCompound.md @@ -6,11 +6,6 @@ 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 9c2fb913..d07066fc 100644 --- a/docs/VersionhistoryGetObjectV2Response.md +++ b/docs/VersionhistoryGetObjectV2Response.md @@ -6,8 +6,6 @@ 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 206cd83f..c39a3439 100644 --- a/docs/VersionhistoryResponseCompound.md +++ b/docs/VersionhistoryResponseCompound.md @@ -6,17 +6,6 @@ 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 e28ac532..c52e5772 100644 --- a/docs/WebhookCreateObjectV2Response.md +++ b/docs/WebhookCreateObjectV2Response.md @@ -6,8 +6,6 @@ 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 fcb2c455..cf5eb4f0 100644 --- a/docs/WebhookDeleteObjectV1Response.md +++ b/docs/WebhookDeleteObjectV1Response.md @@ -6,8 +6,6 @@ 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 18b6ce4c..547cc930 100644 --- a/docs/WebhookEditObjectV1Response.md +++ b/docs/WebhookEditObjectV1Response.md @@ -6,8 +6,6 @@ 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 1b72ca6b..f64f528b 100644 --- a/docs/WebhookEzsignDocumentCompleted.md +++ b/docs/WebhookEzsignDocumentCompleted.md @@ -6,8 +6,6 @@ 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. | **obj_ezsigndocument** | [**EzsigndocumentResponse**](EzsigndocumentResponse.md) | | ## Example diff --git a/docs/WebhookEzsignDocumentFormCompleted.md b/docs/WebhookEzsignDocumentFormCompleted.md index 50fa8c42..59d8c9bc 100644 --- a/docs/WebhookEzsignDocumentFormCompleted.md +++ b/docs/WebhookEzsignDocumentFormCompleted.md @@ -6,8 +6,6 @@ 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. | **obj_ezsigndocument** | [**EzsigndocumentResponse**](EzsigndocumentResponse.md) | | ## Example diff --git a/docs/WebhookEzsignDocumentUnsent.md b/docs/WebhookEzsignDocumentUnsent.md index 2e462e9a..8d28187f 100644 --- a/docs/WebhookEzsignDocumentUnsent.md +++ b/docs/WebhookEzsignDocumentUnsent.md @@ -6,8 +6,6 @@ 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. | **obj_ezsigndocument** | [**EzsigndocumentResponse**](EzsigndocumentResponse.md) | | ## Example diff --git a/docs/WebhookEzsignEzsignsignerAcceptclause.md b/docs/WebhookEzsignEzsignsignerAcceptclause.md index 0ff108aa..434d4582 100644 --- a/docs/WebhookEzsignEzsignsignerAcceptclause.md +++ b/docs/WebhookEzsignEzsignsignerAcceptclause.md @@ -6,8 +6,6 @@ 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. | **obj_ezsignfolder** | [**EzsignfolderResponse**](EzsignfolderResponse.md) | | [optional] **obj_ezsignfoldersignerassociation** | [**EzsignfoldersignerassociationResponseCompound**](EzsignfoldersignerassociationResponseCompound.md) | | diff --git a/docs/WebhookEzsignEzsignsignerConnect.md b/docs/WebhookEzsignEzsignsignerConnect.md index 927bfc0c..b449863a 100644 --- a/docs/WebhookEzsignEzsignsignerConnect.md +++ b/docs/WebhookEzsignEzsignsignerConnect.md @@ -6,8 +6,6 @@ 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. | **obj_ezsignfolder** | [**EzsignfolderResponse**](EzsignfolderResponse.md) | | [optional] **obj_ezsignfoldersignerassociation** | [**EzsignfoldersignerassociationResponseCompound**](EzsignfoldersignerassociationResponseCompound.md) | | diff --git a/docs/WebhookEzsignFolderCompleted.md b/docs/WebhookEzsignFolderCompleted.md index 4fe1951c..6479b6d9 100644 --- a/docs/WebhookEzsignFolderCompleted.md +++ b/docs/WebhookEzsignFolderCompleted.md @@ -6,8 +6,6 @@ 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. | **obj_ezsignfolder** | [**EzsignfolderResponse**](EzsignfolderResponse.md) | | ## Example diff --git a/docs/WebhookEzsignFolderDisposed.md b/docs/WebhookEzsignFolderDisposed.md index 211a08c1..d84d42e3 100644 --- a/docs/WebhookEzsignFolderDisposed.md +++ b/docs/WebhookEzsignFolderDisposed.md @@ -6,8 +6,6 @@ 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. | **obj_ezsignfolder** | [**EzsignfolderResponse**](EzsignfolderResponse.md) | | ## Example diff --git a/docs/WebhookEzsignFolderSent.md b/docs/WebhookEzsignFolderSent.md index fc2703dc..7ab26532 100644 --- a/docs/WebhookEzsignFolderSent.md +++ b/docs/WebhookEzsignFolderSent.md @@ -6,8 +6,6 @@ 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. | **obj_ezsignfolder** | [**EzsignfolderResponse**](EzsignfolderResponse.md) | | ## Example diff --git a/docs/WebhookEzsignFolderUnsent.md b/docs/WebhookEzsignFolderUnsent.md index 8aafb771..54fa53a8 100644 --- a/docs/WebhookEzsignFolderUnsent.md +++ b/docs/WebhookEzsignFolderUnsent.md @@ -6,8 +6,6 @@ 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. | **obj_ezsignfolder** | [**EzsignfolderResponse**](EzsignfolderResponse.md) | | ## Example diff --git a/docs/WebhookEzsignSignatureSigned.md b/docs/WebhookEzsignSignatureSigned.md index 5c83390a..8d20906a 100644 --- a/docs/WebhookEzsignSignatureSigned.md +++ b/docs/WebhookEzsignSignatureSigned.md @@ -6,8 +6,6 @@ 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. | **obj_ezsignsignature** | [**EzsignsignatureResponse**](EzsignsignatureResponse.md) | | ## Example diff --git a/docs/WebhookGetHistoryV1Response.md b/docs/WebhookGetHistoryV1Response.md index b58ba4f6..84db1486 100644 --- a/docs/WebhookGetHistoryV1Response.md +++ b/docs/WebhookGetHistoryV1Response.md @@ -6,8 +6,6 @@ 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/WebhookGetListV1Response.md b/docs/WebhookGetListV1Response.md index 8f7be86a..8d1e7f05 100644 --- a/docs/WebhookGetListV1Response.md +++ b/docs/WebhookGetListV1Response.md @@ -6,8 +6,6 @@ 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 3144fd4d..5ff8fc49 100644 --- a/docs/WebhookGetListV1ResponseMPayload.md +++ b/docs/WebhookGetListV1ResponseMPayload.md @@ -6,8 +6,6 @@ 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 ec68ceaf..499cb1cc 100644 --- a/docs/WebhookGetObjectV2Response.md +++ b/docs/WebhookGetObjectV2Response.md @@ -6,8 +6,6 @@ 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 4bd5fd52..1c1625a6 100644 --- a/docs/WebhookRegenerateApikeyV1Response.md +++ b/docs/WebhookRegenerateApikeyV1Response.md @@ -6,8 +6,6 @@ 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 7eed0186..335e004a 100644 --- a/docs/WebhookRequestCompound.md +++ b/docs/WebhookRequestCompound.md @@ -6,18 +6,6 @@ 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 9394cd8e..7129c07c 100644 --- a/docs/WebhookResponseCompound.md +++ b/docs/WebhookResponseCompound.md @@ -6,23 +6,6 @@ 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 d877f97e..350b51f8 100644 --- a/docs/WebhookSendWebhookV1Response.md +++ b/docs/WebhookSendWebhookV1Response.md @@ -6,8 +6,6 @@ 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 5b5bc95c..4672d4de 100644 --- a/docs/WebhookTestV1Response.md +++ b/docs/WebhookTestV1Response.md @@ -6,8 +6,6 @@ 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 694ec205..cb0f25c3 100644 --- a/docs/WebhookUserUserCreated.md +++ b/docs/WebhookUserUserCreated.md @@ -6,8 +6,6 @@ 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. | **obj_user** | [**UserResponse**](UserResponse.md) | A User Object and children to create a complete structure | ## Example diff --git a/docs/WebhookUserstagedUserstagedCreated.md b/docs/WebhookUserstagedUserstagedCreated.md index 6541248f..029bb00d 100644 --- a/docs/WebhookUserstagedUserstagedCreated.md +++ b/docs/WebhookUserstagedUserstagedCreated.md @@ -6,8 +6,6 @@ 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. | **obj_userstaged** | [**UserstagedResponse**](UserstagedResponse.md) | A Userstaged Object | ## Example diff --git a/docs/WebhookheaderRequestCompound.md b/docs/WebhookheaderRequestCompound.md index f42198cd..9138c96d 100644 --- a/docs/WebhookheaderRequestCompound.md +++ b/docs/WebhookheaderRequestCompound.md @@ -6,9 +6,6 @@ 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 2ecece64..2a421a04 100644 --- a/docs/WebhookheaderResponseCompound.md +++ b/docs/WebhookheaderResponseCompound.md @@ -6,10 +6,6 @@ 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/models/activesession_generate_federation_token_v1_response.py b/eZmaxApi/models/activesession_generate_federation_token_v1_response.py index adbe4ec8..83bf41f0 100644 --- a/eZmaxApi/models/activesession_generate_federation_token_v1_response.py +++ b/eZmaxApi/models/activesession_generate_federation_token_v1_response.py @@ -18,20 +18,19 @@ import re # noqa: F401 import json -from pydantic import BaseModel, ConfigDict, Field -from typing import Any, ClassVar, Dict, List, Optional +from pydantic import ConfigDict, Field +from typing import Any, ClassVar, Dict, List 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(BaseModel): +class ActivesessionGenerateFederationTokenV1Response(CommonResponse): """ 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 fbf7849b..b267e79c 100644 --- a/eZmaxApi/models/activesession_get_current_v1_response.py +++ b/eZmaxApi/models/activesession_get_current_v1_response.py @@ -18,20 +18,19 @@ import re # noqa: F401 import json -from pydantic import BaseModel, ConfigDict, Field -from typing import Any, ClassVar, Dict, List, Optional +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 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(BaseModel): +class ActivesessionGetCurrentV1Response(CommonResponse): """ Response for GET /1/object/activesession/getCurrent """ # noqa: E501 - obj_debug_payload: CommonResponseObjDebugPayload = Field(alias="objDebugPayload") - obj_debug: Optional[CommonResponseObjDebug] = Field(default=None, alias="objDebug") m_payload: ActivesessionResponseCompound = Field(description="Payload for GET /1/object/activesession/getCurrent", alias="mPayload") __properties: ClassVar[List[str]] = ["objDebugPayload", "objDebug", "mPayload"] 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 617013b4..fcbcf0c6 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 BaseModel, ConfigDict, Field, StrictBool, StrictStr, field_validator -from typing import Any, ClassVar, Dict, List, Optional -from typing_extensions import Annotated +from pydantic import ConfigDict +from typing import Any, ClassVar, Dict, List +from eZmaxApi.models.activesession_response_compound import ActivesessionResponseCompound 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,53 +36,12 @@ from typing import Optional, Set from typing_extensions import Self -class ActivesessionGetCurrentV1ResponseMPayload(BaseModel): +class ActivesessionGetCurrentV1ResponseMPayload(ActivesessionResponseCompound): """ 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 8db5f7bd..0c5bd684 100644 --- a/eZmaxApi/models/activesession_get_current_v2_response.py +++ b/eZmaxApi/models/activesession_get_current_v2_response.py @@ -18,20 +18,19 @@ import re # noqa: F401 import json -from pydantic import BaseModel, ConfigDict, Field -from typing import Any, ClassVar, Dict, List, Optional +from pydantic import ConfigDict, Field +from typing import Any, ClassVar, Dict, List 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(BaseModel): +class ActivesessionGetCurrentV2Response(CommonResponse): """ 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 85136cf4..3fe3f8d3 100644 --- a/eZmaxApi/models/activesession_get_list_v1_response.py +++ b/eZmaxApi/models/activesession_get_list_v1_response.py @@ -18,20 +18,19 @@ import re # noqa: F401 import json -from pydantic import BaseModel, ConfigDict, Field -from typing import Any, ClassVar, Dict, List, Optional +from pydantic import ConfigDict, Field +from typing import Any, ClassVar, Dict, List 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(BaseModel): +class ActivesessionGetListV1Response(CommonResponseGetList): """ 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 13d9d8fc..902210e2 100644 --- a/eZmaxApi/models/activesession_get_list_v1_response_m_payload.py +++ b/eZmaxApi/models/activesession_get_list_v1_response_m_payload.py @@ -18,18 +18,17 @@ import re # noqa: F401 import json -from pydantic import BaseModel, ConfigDict, Field, StrictInt +from pydantic import ConfigDict, Field 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(BaseModel): +class ActivesessionGetListV1ResponseMPayload(CommonGetListV1ResponseMPayload): """ 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 c0053bec..bd3434d8 100644 --- a/eZmaxApi/models/activesession_response.py +++ b/eZmaxApi/models/activesession_response.py @@ -98,35 +98,7 @@ def to_dict(self) -> Dict[str, Any]: return _dict @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + def from_dict(cls, obj: 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 d5666ee7..59dc9586 100644 --- a/eZmaxApi/models/activesession_response_compound.py +++ b/eZmaxApi/models/activesession_response_compound.py @@ -18,9 +18,10 @@ import re # noqa: F401 import json -from pydantic import BaseModel, ConfigDict, Field, StrictBool, StrictStr, field_validator +from pydantic import 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 @@ -36,29 +37,10 @@ from typing import Optional, Set from typing_extensions import Self -class ActivesessionResponseCompound(BaseModel): +class ActivesessionResponseCompound(ActivesessionResponse): """ 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") @@ -134,47 +116,7 @@ def to_dict(self) -> Dict[str, Any]: return _dict @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + def from_dict(cls, obj: 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_response.py b/eZmaxApi/models/apikey_create_object_v2_response.py index 0c526da1..c750f915 100644 --- a/eZmaxApi/models/apikey_create_object_v2_response.py +++ b/eZmaxApi/models/apikey_create_object_v2_response.py @@ -18,20 +18,19 @@ import re # noqa: F401 import json -from pydantic import BaseModel, ConfigDict, Field -from typing import Any, ClassVar, Dict, List, Optional +from pydantic import ConfigDict, Field +from typing import Any, ClassVar, Dict, List 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(BaseModel): +class ApikeyCreateObjectV2Response(CommonResponse): """ 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_edit_object_v1_response.py b/eZmaxApi/models/apikey_edit_object_v1_response.py index 5c29d29b..e5c7159a 100644 --- a/eZmaxApi/models/apikey_edit_object_v1_response.py +++ b/eZmaxApi/models/apikey_edit_object_v1_response.py @@ -18,19 +18,18 @@ import re # noqa: F401 import json -from pydantic import BaseModel, ConfigDict, Field -from typing import Any, ClassVar, Dict, List, Optional +from pydantic import ConfigDict +from typing import Any, ClassVar, Dict, List +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 ApikeyEditObjectV1Response(BaseModel): +class ApikeyEditObjectV1Response(CommonResponse): """ 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_response.py b/eZmaxApi/models/apikey_edit_permissions_v1_response.py index 832f9475..d07489e5 100644 --- a/eZmaxApi/models/apikey_edit_permissions_v1_response.py +++ b/eZmaxApi/models/apikey_edit_permissions_v1_response.py @@ -18,20 +18,19 @@ import re # noqa: F401 import json -from pydantic import BaseModel, ConfigDict, Field -from typing import Any, ClassVar, Dict, List, Optional +from pydantic import ConfigDict, Field +from typing import Any, ClassVar, Dict, List 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(BaseModel): +class ApikeyEditPermissionsV1Response(CommonResponse): """ 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 ee2cd299..dc7ba3b8 100644 --- a/eZmaxApi/models/apikey_generate_delegated_credentials_v1_response.py +++ b/eZmaxApi/models/apikey_generate_delegated_credentials_v1_response.py @@ -18,20 +18,19 @@ import re # noqa: F401 import json -from pydantic import BaseModel, ConfigDict, Field -from typing import Any, ClassVar, Dict, List, Optional +from pydantic import ConfigDict, Field +from typing import Any, ClassVar, Dict, List 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(BaseModel): +class ApikeyGenerateDelegatedCredentialsV1Response(CommonResponse): """ 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 f3563667..648f48ba 100644 --- a/eZmaxApi/models/apikey_get_cors_v1_response.py +++ b/eZmaxApi/models/apikey_get_cors_v1_response.py @@ -18,20 +18,19 @@ import re # noqa: F401 import json -from pydantic import BaseModel, ConfigDict, Field -from typing import Any, ClassVar, Dict, List, Optional +from pydantic import ConfigDict, Field +from typing import Any, ClassVar, Dict, List 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(BaseModel): +class ApikeyGetCorsV1Response(CommonResponse): """ 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 8211410e..eceb82d4 100644 --- a/eZmaxApi/models/apikey_get_list_v1_response.py +++ b/eZmaxApi/models/apikey_get_list_v1_response.py @@ -18,20 +18,19 @@ import re # noqa: F401 import json -from pydantic import BaseModel, ConfigDict, Field -from typing import Any, ClassVar, Dict, List, Optional +from pydantic import ConfigDict, Field +from typing import Any, ClassVar, Dict, List 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(BaseModel): +class ApikeyGetListV1Response(CommonResponseGetList): """ 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 377a8c4c..b567c2ec 100644 --- a/eZmaxApi/models/apikey_get_list_v1_response_m_payload.py +++ b/eZmaxApi/models/apikey_get_list_v1_response_m_payload.py @@ -18,18 +18,17 @@ import re # noqa: F401 import json -from pydantic import BaseModel, ConfigDict, Field, StrictInt +from pydantic import ConfigDict, Field 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(BaseModel): +class ApikeyGetListV1ResponseMPayload(CommonGetListV1ResponseMPayload): """ 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 38ea34f4..878ed376 100644 --- a/eZmaxApi/models/apikey_get_object_v2_response.py +++ b/eZmaxApi/models/apikey_get_object_v2_response.py @@ -18,20 +18,19 @@ import re # noqa: F401 import json -from pydantic import BaseModel, ConfigDict, Field -from typing import Any, ClassVar, Dict, List, Optional +from pydantic import ConfigDict, Field +from typing import Any, ClassVar, Dict, List 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(BaseModel): +class ApikeyGetObjectV2Response(CommonResponse): """ 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_permissions_v1_response.py b/eZmaxApi/models/apikey_get_permissions_v1_response.py index 08fdaf56..2abc8872 100644 --- a/eZmaxApi/models/apikey_get_permissions_v1_response.py +++ b/eZmaxApi/models/apikey_get_permissions_v1_response.py @@ -18,20 +18,19 @@ import re # noqa: F401 import json -from pydantic import BaseModel, ConfigDict, Field -from typing import Any, ClassVar, Dict, List, Optional +from pydantic import ConfigDict, Field +from typing import Any, ClassVar, Dict, List 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(BaseModel): +class ApikeyGetPermissionsV1Response(CommonResponse): """ 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 d3151ba2..4fb58c9b 100644 --- a/eZmaxApi/models/apikey_get_subnets_v1_response.py +++ b/eZmaxApi/models/apikey_get_subnets_v1_response.py @@ -18,20 +18,19 @@ import re # noqa: F401 import json -from pydantic import BaseModel, ConfigDict, Field -from typing import Any, ClassVar, Dict, List, Optional +from pydantic import ConfigDict, Field +from typing import Any, ClassVar, Dict, List 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(BaseModel): +class ApikeyGetSubnetsV1Response(CommonResponse): """ 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 9047a209..186a3a06 100644 --- a/eZmaxApi/models/apikey_regenerate_v1_response.py +++ b/eZmaxApi/models/apikey_regenerate_v1_response.py @@ -18,20 +18,19 @@ import re # noqa: F401 import json -from pydantic import BaseModel, ConfigDict, Field -from typing import Any, ClassVar, Dict, List, Optional +from pydantic import ConfigDict, Field +from typing import Any, ClassVar, Dict, List 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(BaseModel): +class ApikeyRegenerateV1Response(CommonResponse): """ 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/attachment_get_attachmentlogs_v1_response.py b/eZmaxApi/models/attachment_get_attachmentlogs_v1_response.py index b1630499..98a3c4cd 100644 --- a/eZmaxApi/models/attachment_get_attachmentlogs_v1_response.py +++ b/eZmaxApi/models/attachment_get_attachmentlogs_v1_response.py @@ -18,20 +18,19 @@ import re # noqa: F401 import json -from pydantic import BaseModel, ConfigDict, Field -from typing import Any, ClassVar, Dict, List, Optional +from pydantic import ConfigDict, Field +from typing import Any, ClassVar, Dict, List 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(BaseModel): +class AttachmentGetAttachmentlogsV1Response(CommonResponse): """ 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 8d458df8..7463107a 100644 --- a/eZmaxApi/models/attachment_response.py +++ b/eZmaxApi/models/attachment_response.py @@ -165,77 +165,7 @@ def to_dict(self) -> Dict[str, Any]: return _dict @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + def from_dict(cls, obj: 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 ef9d2f99..3791dec8 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 BaseModel, ConfigDict, Field, StrictBool, StrictInt, field_validator -from typing import Any, ClassVar, Dict, List, Optional -from typing_extensions import Annotated +from pydantic import ConfigDict +from typing import Any, ClassVar, Dict, List +from eZmaxApi.models.attachment_response import AttachmentResponse 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,97 +29,12 @@ from typing import Optional, Set from typing_extensions import Self -class AttachmentResponseCompound(BaseModel): +class AttachmentResponseCompound(AttachmentResponse): """ 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 4116b769..ab67d225 100644 --- a/eZmaxApi/models/attachmentlog_response.py +++ b/eZmaxApi/models/attachmentlog_response.py @@ -95,21 +95,7 @@ def to_dict(self) -> Dict[str, Any]: return _dict @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + def from_dict(cls, obj: 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 d7faf4ca..54aa17e0 100644 --- a/eZmaxApi/models/attachmentlog_response_compound.py +++ b/eZmaxApi/models/attachmentlog_response_compound.py @@ -18,41 +18,19 @@ import re # noqa: F401 import json -from pydantic import BaseModel, ConfigDict, Field, field_validator -from typing import Any, ClassVar, Dict, List, Optional -from typing_extensions import Annotated +from pydantic import ConfigDict +from typing import Any, ClassVar, Dict, List +from eZmaxApi.models.attachmentlog_response import AttachmentlogResponse from eZmaxApi.models.field_e_attachmentlog_type import FieldEAttachmentlogType from typing import Optional, Set from typing_extensions import Self -class AttachmentlogResponseCompound(BaseModel): +class AttachmentlogResponseCompound(AttachmentlogResponse): """ 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 65bddd64..c2660262 100644 --- a/eZmaxApi/models/authenticationexternal_create_object_v1_response.py +++ b/eZmaxApi/models/authenticationexternal_create_object_v1_response.py @@ -18,20 +18,19 @@ import re # noqa: F401 import json -from pydantic import BaseModel, ConfigDict, Field -from typing import Any, ClassVar, Dict, List, Optional +from pydantic import ConfigDict, Field +from typing import Any, ClassVar, Dict, List 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(BaseModel): +class AuthenticationexternalCreateObjectV1Response(CommonResponse): """ 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 1a154eb6..aa0e48da 100644 --- a/eZmaxApi/models/authenticationexternal_delete_object_v1_response.py +++ b/eZmaxApi/models/authenticationexternal_delete_object_v1_response.py @@ -18,19 +18,18 @@ import re # noqa: F401 import json -from pydantic import BaseModel, ConfigDict, Field -from typing import Any, ClassVar, Dict, List, Optional +from pydantic import ConfigDict +from typing import Any, ClassVar, Dict, List +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 AuthenticationexternalDeleteObjectV1Response(BaseModel): +class AuthenticationexternalDeleteObjectV1Response(CommonResponse): """ 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 b3c49306..16d029d4 100644 --- a/eZmaxApi/models/authenticationexternal_edit_object_v1_response.py +++ b/eZmaxApi/models/authenticationexternal_edit_object_v1_response.py @@ -18,19 +18,18 @@ import re # noqa: F401 import json -from pydantic import BaseModel, ConfigDict, Field -from typing import Any, ClassVar, Dict, List, Optional +from pydantic import ConfigDict +from typing import Any, ClassVar, Dict, List +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 AuthenticationexternalEditObjectV1Response(BaseModel): +class AuthenticationexternalEditObjectV1Response(CommonResponse): """ 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 4303d45b..10f3e508 100644 --- a/eZmaxApi/models/authenticationexternal_get_autocomplete_v2_response.py +++ b/eZmaxApi/models/authenticationexternal_get_autocomplete_v2_response.py @@ -18,20 +18,19 @@ import re # noqa: F401 import json -from pydantic import BaseModel, ConfigDict, Field -from typing import Any, ClassVar, Dict, List, Optional +from pydantic import ConfigDict, Field +from typing import Any, ClassVar, Dict, List 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(BaseModel): +class AuthenticationexternalGetAutocompleteV2Response(CommonResponse): """ 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 448a0f4b..0e2b0619 100644 --- a/eZmaxApi/models/authenticationexternal_get_list_v1_response.py +++ b/eZmaxApi/models/authenticationexternal_get_list_v1_response.py @@ -18,20 +18,19 @@ import re # noqa: F401 import json -from pydantic import BaseModel, ConfigDict, Field -from typing import Any, ClassVar, Dict, List, Optional +from pydantic import ConfigDict, Field +from typing import Any, ClassVar, Dict, List 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(BaseModel): +class AuthenticationexternalGetListV1Response(CommonResponseGetList): """ 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 a0f017b0..65a61dea 100644 --- a/eZmaxApi/models/authenticationexternal_get_list_v1_response_m_payload.py +++ b/eZmaxApi/models/authenticationexternal_get_list_v1_response_m_payload.py @@ -18,18 +18,17 @@ import re # noqa: F401 import json -from pydantic import BaseModel, ConfigDict, Field, StrictInt +from pydantic import ConfigDict, Field 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(BaseModel): +class AuthenticationexternalGetListV1ResponseMPayload(CommonGetListV1ResponseMPayload): """ 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 458dd0aa..506ba41a 100644 --- a/eZmaxApi/models/authenticationexternal_get_object_v2_response.py +++ b/eZmaxApi/models/authenticationexternal_get_object_v2_response.py @@ -18,20 +18,19 @@ import re # noqa: F401 import json -from pydantic import BaseModel, ConfigDict, Field -from typing import Any, ClassVar, Dict, List, Optional +from pydantic import ConfigDict, Field +from typing import Any, ClassVar, Dict, List 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(BaseModel): +class AuthenticationexternalGetObjectV2Response(CommonResponse): """ 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 8a54d219..744b3a7c 100644 --- a/eZmaxApi/models/authenticationexternal_request.py +++ b/eZmaxApi/models/authenticationexternal_request.py @@ -83,19 +83,7 @@ def to_dict(self) -> Dict[str, Any]: return _dict @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + def from_dict(cls, obj: 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 5d46cfe9..13cf6a2e 100644 --- a/eZmaxApi/models/authenticationexternal_request_compound.py +++ b/eZmaxApi/models/authenticationexternal_request_compound.py @@ -18,29 +18,19 @@ import re # noqa: F401 import json -from pydantic import BaseModel, ConfigDict, Field, field_validator -from typing import Any, ClassVar, Dict, List, Optional -from typing_extensions import Annotated +from pydantic import ConfigDict +from typing import Any, ClassVar, Dict, List +from eZmaxApi.models.authenticationexternal_request import AuthenticationexternalRequest from eZmaxApi.models.field_e_authenticationexternal_type import FieldEAuthenticationexternalType from typing import Optional, Set from typing_extensions import Self -class AuthenticationexternalRequestCompound(BaseModel): +class AuthenticationexternalRequestCompound(AuthenticationexternalRequest): """ 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 091c9736..6ffa1ab6 100644 --- a/eZmaxApi/models/authenticationexternal_reset_authorization_v1_response.py +++ b/eZmaxApi/models/authenticationexternal_reset_authorization_v1_response.py @@ -18,19 +18,18 @@ import re # noqa: F401 import json -from pydantic import BaseModel, ConfigDict, Field -from typing import Any, ClassVar, Dict, List, Optional +from pydantic import ConfigDict +from typing import Any, ClassVar, Dict, List +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 AuthenticationexternalResetAuthorizationV1Response(BaseModel): +class AuthenticationexternalResetAuthorizationV1Response(CommonResponse): """ 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 302d6ae3..3c3c0f93 100644 --- a/eZmaxApi/models/authenticationexternal_response.py +++ b/eZmaxApi/models/authenticationexternal_response.py @@ -100,22 +100,7 @@ def to_dict(self) -> Dict[str, Any]: return _dict @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + def from_dict(cls, obj: 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 cf2a48f2..2d331a13 100644 --- a/eZmaxApi/models/authenticationexternal_response_compound.py +++ b/eZmaxApi/models/authenticationexternal_response_compound.py @@ -18,43 +18,20 @@ import re # noqa: F401 import json -from pydantic import BaseModel, ConfigDict, Field, StrictBool, field_validator -from typing import Any, ClassVar, Dict, List, Optional -from typing_extensions import Annotated +from pydantic import ConfigDict +from typing import Any, ClassVar, Dict, List +from eZmaxApi.models.authenticationexternal_response import AuthenticationexternalResponse from eZmaxApi.models.common_audit import CommonAudit from eZmaxApi.models.field_e_authenticationexternal_type import FieldEAuthenticationexternalType from typing import Optional, Set from typing_extensions import Self -class AuthenticationexternalResponseCompound(BaseModel): +class AuthenticationexternalResponseCompound(AuthenticationexternalResponse): """ 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 e76c8f06..0390316f 100644 --- a/eZmaxApi/models/billingentityexternal_generate_federation_token_v1_response.py +++ b/eZmaxApi/models/billingentityexternal_generate_federation_token_v1_response.py @@ -18,20 +18,19 @@ import re # noqa: F401 import json -from pydantic import BaseModel, ConfigDict, Field -from typing import Any, ClassVar, Dict, List, Optional +from pydantic import ConfigDict, Field +from typing import Any, ClassVar, Dict, List 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(BaseModel): +class BillingentityexternalGenerateFederationTokenV1Response(CommonResponse): """ 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 9185ae21..5865a3a2 100644 --- a/eZmaxApi/models/billingentityexternal_get_autocomplete_v2_response.py +++ b/eZmaxApi/models/billingentityexternal_get_autocomplete_v2_response.py @@ -18,20 +18,19 @@ import re # noqa: F401 import json -from pydantic import BaseModel, ConfigDict, Field -from typing import Any, ClassVar, Dict, List, Optional +from pydantic import ConfigDict, Field +from typing import Any, ClassVar, Dict, List 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(BaseModel): +class BillingentityexternalGetAutocompleteV2Response(CommonResponse): """ 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 5b111146..c5717f2d 100644 --- a/eZmaxApi/models/billingentityinternal_create_object_v1_response.py +++ b/eZmaxApi/models/billingentityinternal_create_object_v1_response.py @@ -18,20 +18,19 @@ import re # noqa: F401 import json -from pydantic import BaseModel, ConfigDict, Field -from typing import Any, ClassVar, Dict, List, Optional +from pydantic import ConfigDict, Field +from typing import Any, ClassVar, Dict, List 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(BaseModel): +class BillingentityinternalCreateObjectV1Response(CommonResponse): """ 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 4ddac6c0..35d9c553 100644 --- a/eZmaxApi/models/billingentityinternal_edit_object_v1_response.py +++ b/eZmaxApi/models/billingentityinternal_edit_object_v1_response.py @@ -18,19 +18,18 @@ import re # noqa: F401 import json -from pydantic import BaseModel, ConfigDict, Field -from typing import Any, ClassVar, Dict, List, Optional +from pydantic import ConfigDict +from typing import Any, ClassVar, Dict, List +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 BillingentityinternalEditObjectV1Response(BaseModel): +class BillingentityinternalEditObjectV1Response(CommonResponse): """ 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 28ae3bba..1a6bc66f 100644 --- a/eZmaxApi/models/billingentityinternal_get_autocomplete_v2_response.py +++ b/eZmaxApi/models/billingentityinternal_get_autocomplete_v2_response.py @@ -18,20 +18,19 @@ import re # noqa: F401 import json -from pydantic import BaseModel, ConfigDict, Field -from typing import Any, ClassVar, Dict, List, Optional +from pydantic import ConfigDict, Field +from typing import Any, ClassVar, Dict, List 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(BaseModel): +class BillingentityinternalGetAutocompleteV2Response(CommonResponse): """ 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 223026cb..092c1465 100644 --- a/eZmaxApi/models/billingentityinternal_get_list_v1_response.py +++ b/eZmaxApi/models/billingentityinternal_get_list_v1_response.py @@ -18,20 +18,19 @@ import re # noqa: F401 import json -from pydantic import BaseModel, ConfigDict, Field -from typing import Any, ClassVar, Dict, List, Optional +from pydantic import ConfigDict, Field +from typing import Any, ClassVar, Dict, List 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(BaseModel): +class BillingentityinternalGetListV1Response(CommonResponseGetList): """ 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 ccbdb8c4..642e9411 100644 --- a/eZmaxApi/models/billingentityinternal_get_list_v1_response_m_payload.py +++ b/eZmaxApi/models/billingentityinternal_get_list_v1_response_m_payload.py @@ -18,18 +18,17 @@ import re # noqa: F401 import json -from pydantic import BaseModel, ConfigDict, Field, StrictInt +from pydantic import ConfigDict, Field 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(BaseModel): +class BillingentityinternalGetListV1ResponseMPayload(CommonGetListV1ResponseMPayload): """ 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 61e8b470..2408377b 100644 --- a/eZmaxApi/models/billingentityinternal_get_object_v2_response.py +++ b/eZmaxApi/models/billingentityinternal_get_object_v2_response.py @@ -18,20 +18,19 @@ import re # noqa: F401 import json -from pydantic import BaseModel, ConfigDict, Field -from typing import Any, ClassVar, Dict, List, Optional +from pydantic import ConfigDict, Field +from typing import Any, ClassVar, Dict, List 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(BaseModel): +class BillingentityinternalGetObjectV2Response(CommonResponse): """ 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 214c91d4..6cf7710f 100644 --- a/eZmaxApi/models/billingentityinternal_request.py +++ b/eZmaxApi/models/billingentityinternal_request.py @@ -78,18 +78,7 @@ def to_dict(self) -> Dict[str, Any]: return _dict @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + def from_dict(cls, obj: 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 c145ee4d..09cebc84 100644 --- a/eZmaxApi/models/billingentityinternal_request_compound.py +++ b/eZmaxApi/models/billingentityinternal_request_compound.py @@ -18,20 +18,18 @@ import re # noqa: F401 import json -from pydantic import BaseModel, ConfigDict, Field -from typing import Any, ClassVar, Dict, List, Optional -from typing_extensions import Annotated +from pydantic import ConfigDict, Field +from typing import Any, ClassVar, Dict, List +from eZmaxApi.models.billingentityinternal_request import BillingentityinternalRequest 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(BaseModel): +class BillingentityinternalRequestCompound(BillingentityinternalRequest): """ 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 3abfc441..f2888c5c 100644 --- a/eZmaxApi/models/billingentityinternal_response.py +++ b/eZmaxApi/models/billingentityinternal_response.py @@ -78,18 +78,7 @@ def to_dict(self) -> Dict[str, Any]: return _dict @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + def from_dict(cls, obj: 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 6fb803d8..cbe793c5 100644 --- a/eZmaxApi/models/billingentityinternal_response_compound.py +++ b/eZmaxApi/models/billingentityinternal_response_compound.py @@ -18,20 +18,18 @@ import re # noqa: F401 import json -from pydantic import BaseModel, ConfigDict, Field +from pydantic import ConfigDict, Field from typing import Any, ClassVar, Dict, List -from typing_extensions import Annotated +from eZmaxApi.models.billingentityinternal_response import BillingentityinternalResponse 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(BaseModel): +class BillingentityinternalResponseCompound(BillingentityinternalResponse): """ 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 173408a4..0a8f049e 100644 --- a/eZmaxApi/models/billingentityinternalproduct_request.py +++ b/eZmaxApi/models/billingentityinternalproduct_request.py @@ -75,19 +75,7 @@ def to_dict(self) -> Dict[str, Any]: return _dict @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + def from_dict(cls, obj: 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 7e478e67..29c611a0 100644 --- a/eZmaxApi/models/billingentityinternalproduct_request_compound.py +++ b/eZmaxApi/models/billingentityinternalproduct_request_compound.py @@ -18,19 +18,16 @@ import re # noqa: F401 import json -from pydantic import BaseModel, ConfigDict, Field -from typing import Any, ClassVar, Dict, List, Optional -from typing_extensions import Annotated +from pydantic import ConfigDict +from typing import Any, ClassVar, Dict, List +from eZmaxApi.models.billingentityinternalproduct_request import BillingentityinternalproductRequest from typing import Optional, Set from typing_extensions import Self -class BillingentityinternalproductRequestCompound(BaseModel): +class BillingentityinternalproductRequestCompound(BillingentityinternalproductRequest): """ 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 e8e53ca8..a623f262 100644 --- a/eZmaxApi/models/billingentityinternalproduct_response.py +++ b/eZmaxApi/models/billingentityinternalproduct_response.py @@ -79,23 +79,7 @@ def to_dict(self) -> Dict[str, Any]: return _dict @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + def from_dict(cls, obj: 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 b87b07bc..8ab8ea4e 100644 --- a/eZmaxApi/models/billingentityinternalproduct_response_compound.py +++ b/eZmaxApi/models/billingentityinternalproduct_response_compound.py @@ -18,23 +18,16 @@ import re # noqa: F401 import json -from pydantic import BaseModel, ConfigDict, Field, StrictStr +from pydantic import ConfigDict from typing import Any, ClassVar, Dict, List -from typing_extensions import Annotated +from eZmaxApi.models.billingentityinternalproduct_response import BillingentityinternalproductResponse from typing import Optional, Set from typing_extensions import Self -class BillingentityinternalproductResponseCompound(BaseModel): +class BillingentityinternalproductResponseCompound(BillingentityinternalproductResponse): """ 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 06c3177b..ac237bf9 100644 --- a/eZmaxApi/models/branding_create_object_v2_response.py +++ b/eZmaxApi/models/branding_create_object_v2_response.py @@ -18,20 +18,19 @@ import re # noqa: F401 import json -from pydantic import BaseModel, ConfigDict, Field -from typing import Any, ClassVar, Dict, List, Optional +from pydantic import ConfigDict, Field +from typing import Any, ClassVar, Dict, List 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(BaseModel): +class BrandingCreateObjectV2Response(CommonResponse): """ 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 4cbea3b4..34ac35f3 100644 --- a/eZmaxApi/models/branding_edit_object_v2_response.py +++ b/eZmaxApi/models/branding_edit_object_v2_response.py @@ -18,19 +18,18 @@ import re # noqa: F401 import json -from pydantic import BaseModel, ConfigDict, Field -from typing import Any, ClassVar, Dict, List, Optional +from pydantic import ConfigDict +from typing import Any, ClassVar, Dict, List +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 BrandingEditObjectV2Response(BaseModel): +class BrandingEditObjectV2Response(CommonResponse): """ 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 c2a68216..308b7430 100644 --- a/eZmaxApi/models/branding_get_autocomplete_v2_response.py +++ b/eZmaxApi/models/branding_get_autocomplete_v2_response.py @@ -18,20 +18,19 @@ import re # noqa: F401 import json -from pydantic import BaseModel, ConfigDict, Field -from typing import Any, ClassVar, Dict, List, Optional +from pydantic import ConfigDict, Field +from typing import Any, ClassVar, Dict, List 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(BaseModel): +class BrandingGetAutocompleteV2Response(CommonResponse): """ 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 a950ead0..cc3cb15c 100644 --- a/eZmaxApi/models/branding_get_list_v1_response.py +++ b/eZmaxApi/models/branding_get_list_v1_response.py @@ -18,20 +18,19 @@ import re # noqa: F401 import json -from pydantic import BaseModel, ConfigDict, Field -from typing import Any, ClassVar, Dict, List, Optional +from pydantic import ConfigDict, Field +from typing import Any, ClassVar, Dict, List 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(BaseModel): +class BrandingGetListV1Response(CommonResponseGetList): """ 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 5a8c4453..304b4dbe 100644 --- a/eZmaxApi/models/branding_get_list_v1_response_m_payload.py +++ b/eZmaxApi/models/branding_get_list_v1_response_m_payload.py @@ -18,18 +18,17 @@ import re # noqa: F401 import json -from pydantic import BaseModel, ConfigDict, Field, StrictInt +from pydantic import ConfigDict, Field 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(BaseModel): +class BrandingGetListV1ResponseMPayload(CommonGetListV1ResponseMPayload): """ 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 4c3de3e2..e43e8e1e 100644 --- a/eZmaxApi/models/branding_get_object_v3_response.py +++ b/eZmaxApi/models/branding_get_object_v3_response.py @@ -18,20 +18,19 @@ import re # noqa: F401 import json -from pydantic import BaseModel, ConfigDict, Field -from typing import Any, ClassVar, Dict, List, Optional +from pydantic import ConfigDict, Field +from typing import Any, ClassVar, Dict, List 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(BaseModel): +class BrandingGetObjectV3Response(CommonResponse): """ 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 663e9b21..28dd8ee0 100644 --- a/eZmaxApi/models/branding_request_compound_v2.py +++ b/eZmaxApi/models/branding_request_compound_v2.py @@ -18,50 +18,21 @@ import re # noqa: F401 import json -from pydantic import BaseModel, ConfigDict, Field, StrictBool, StrictBytes, StrictStr, field_validator -from typing import Any, ClassVar, Dict, List, Optional, Union -from typing_extensions import Annotated +from pydantic import ConfigDict +from typing import Any, ClassVar, Dict, List +from eZmaxApi.models.branding_request_v2 import BrandingRequestV2 from eZmaxApi.models.field_e_branding_alignlogo import FieldEBrandingAlignlogo from eZmaxApi.models.field_e_branding_logo import FieldEBrandingLogo from eZmaxApi.models.multilingual_branding_description import MultilingualBrandingDescription from typing import Optional, Set from typing_extensions import Self -class BrandingRequestCompoundV2(BaseModel): +class BrandingRequestCompoundV2(BrandingRequestV2): """ 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 a0a3de45..0d751414 100644 --- a/eZmaxApi/models/branding_request_v2.py +++ b/eZmaxApi/models/branding_request_v2.py @@ -107,25 +107,7 @@ def to_dict(self) -> Dict[str, Any]: return _dict @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + def from_dict(cls, obj: 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 1542cf1f..33137485 100644 --- a/eZmaxApi/models/branding_response_compound_v3.py +++ b/eZmaxApi/models/branding_response_compound_v3.py @@ -18,54 +18,25 @@ import re # noqa: F401 import json -from pydantic import BaseModel, ConfigDict, Field, StrictBool, StrictStr, field_validator +from pydantic import ConfigDict, Field, 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(BaseModel): +class BrandingResponseCompoundV3(BrandingResponseV3): """ 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 4f66ef93..5f887a28 100644 --- a/eZmaxApi/models/branding_response_v3.py +++ b/eZmaxApi/models/branding_response_v3.py @@ -108,26 +108,7 @@ def to_dict(self) -> Dict[str, Any]: return _dict @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + def from_dict(cls, obj: 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 9d4df85e..61de271b 100644 --- a/eZmaxApi/models/buyercontract_get_communication_count_v1_response.py +++ b/eZmaxApi/models/buyercontract_get_communication_count_v1_response.py @@ -18,20 +18,19 @@ import re # noqa: F401 import json -from pydantic import BaseModel, ConfigDict, Field -from typing import Any, ClassVar, Dict, List, Optional +from pydantic import ConfigDict, Field +from typing import Any, ClassVar, Dict, List 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(BaseModel): +class BuyercontractGetCommunicationCountV1Response(CommonResponse): """ 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 f347a56c..830dc45a 100644 --- a/eZmaxApi/models/buyercontract_get_communication_list_v1_response.py +++ b/eZmaxApi/models/buyercontract_get_communication_list_v1_response.py @@ -18,20 +18,19 @@ import re # noqa: F401 import json -from pydantic import BaseModel, ConfigDict, Field -from typing import Any, ClassVar, Dict, List, Optional +from pydantic import ConfigDict, Field +from typing import Any, ClassVar, Dict, List 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(BaseModel): +class BuyercontractGetCommunicationListV1Response(CommonResponseGetList): """ 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 68e26b14..3d46a2de 100644 --- a/eZmaxApi/models/buyercontract_get_communicationrecipients_v1_response.py +++ b/eZmaxApi/models/buyercontract_get_communicationrecipients_v1_response.py @@ -18,20 +18,19 @@ import re # noqa: F401 import json -from pydantic import BaseModel, ConfigDict, Field -from typing import Any, ClassVar, Dict, List, Optional +from pydantic import ConfigDict, Field +from typing import Any, ClassVar, Dict, List 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(BaseModel): +class BuyercontractGetCommunicationrecipientsV1Response(CommonResponse): """ 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 5604ad50..c89b170b 100644 --- a/eZmaxApi/models/buyercontract_get_communicationsenders_v1_response.py +++ b/eZmaxApi/models/buyercontract_get_communicationsenders_v1_response.py @@ -18,20 +18,19 @@ import re # noqa: F401 import json -from pydantic import BaseModel, ConfigDict, Field -from typing import Any, ClassVar, Dict, List, Optional +from pydantic import ConfigDict, Field +from typing import Any, ClassVar, Dict, List 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(BaseModel): +class BuyercontractGetCommunicationsendersV1Response(CommonResponse): """ 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 a4e9396d..636aca49 100644 --- a/eZmaxApi/models/clonehistory_get_list_v1_response.py +++ b/eZmaxApi/models/clonehistory_get_list_v1_response.py @@ -18,20 +18,19 @@ import re # noqa: F401 import json -from pydantic import BaseModel, ConfigDict, Field -from typing import Any, ClassVar, Dict, List, Optional +from pydantic import ConfigDict, Field +from typing import Any, ClassVar, Dict, List 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(BaseModel): +class ClonehistoryGetListV1Response(CommonResponseGetList): """ 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 8023dc52..db7ec80b 100644 --- a/eZmaxApi/models/clonehistory_get_list_v1_response_m_payload.py +++ b/eZmaxApi/models/clonehistory_get_list_v1_response_m_payload.py @@ -18,18 +18,17 @@ import re # noqa: F401 import json -from pydantic import BaseModel, ConfigDict, Field, StrictInt +from pydantic import ConfigDict, Field 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(BaseModel): +class ClonehistoryGetListV1ResponseMPayload(CommonGetListV1ResponseMPayload): """ 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 c5c310f5..03c6a88e 100644 --- a/eZmaxApi/models/colleague_request_compound_v2.py +++ b/eZmaxApi/models/colleague_request_compound_v2.py @@ -18,54 +18,20 @@ import re # noqa: F401 import json -from pydantic import BaseModel, ConfigDict, Field, StrictBool, field_validator -from typing import Any, ClassVar, Dict, List, Optional -from typing_extensions import Annotated +from pydantic import ConfigDict +from typing import Any, ClassVar, Dict, List +from eZmaxApi.models.colleague_request_v2 import ColleagueRequestV2 from eZmaxApi.models.field_e_colleague_ezsign import FieldEColleagueEzsign from eZmaxApi.models.field_e_colleague_realestateinprogess import FieldEColleagueRealestateinprogess from typing import Optional, Set from typing_extensions import Self -class ColleagueRequestCompoundV2(BaseModel): +class ColleagueRequestCompoundV2(ColleagueRequestV2): """ 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 d760fc74..7b1a206e 100644 --- a/eZmaxApi/models/colleague_request_v2.py +++ b/eZmaxApi/models/colleague_request_v2.py @@ -108,30 +108,7 @@ def to_dict(self) -> Dict[str, Any]: return _dict @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + def from_dict(cls, obj: 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 76c68280..92ba1436 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 BaseModel, ConfigDict, Field, StrictBool, field_validator -from typing import Any, ClassVar, Dict, List, Optional -from typing_extensions import Annotated +from pydantic import ConfigDict +from typing import Any, ClassVar, Dict, List +from eZmaxApi.models.colleague_response_v2 import ColleagueResponseV2 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,48 +28,12 @@ from typing import Optional, Set from typing_extensions import Self -class ColleagueResponseCompoundV2(BaseModel): +class ColleagueResponseCompoundV2(ColleagueResponseV2): """ 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 cf210629..3f0fd521 100644 --- a/eZmaxApi/models/colleague_response_v2.py +++ b/eZmaxApi/models/colleague_response_v2.py @@ -118,32 +118,7 @@ def to_dict(self) -> Dict[str, Any]: return _dict @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + def from_dict(cls, obj: 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 cb19aa73..0f968f6f 100644 --- a/eZmaxApi/models/common_get_list_v1_response_m_payload.py +++ b/eZmaxApi/models/common_get_list_v1_response_m_payload.py @@ -73,18 +73,7 @@ def to_dict(self) -> Dict[str, Any]: return _dict @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + def from_dict(cls, obj: 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 056a77e6..0890591e 100644 --- a/eZmaxApi/models/common_get_report_v1_response.py +++ b/eZmaxApi/models/common_get_report_v1_response.py @@ -18,20 +18,19 @@ import re # noqa: F401 import json -from pydantic import BaseModel, ConfigDict, Field -from typing import Any, ClassVar, Dict, List, Optional +from pydantic import ConfigDict, Field +from typing import Any, ClassVar, Dict, List 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(BaseModel): +class CommonGetReportV1Response(CommonResponse): """ 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 2bde4e20..d66df9e9 100644 --- a/eZmaxApi/models/common_response.py +++ b/eZmaxApi/models/common_response.py @@ -81,18 +81,7 @@ def to_dict(self) -> Dict[str, Any]: return _dict @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + def from_dict(cls, obj: 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 8678e645..9e31bd7b 100644 --- a/eZmaxApi/models/common_response_error.py +++ b/eZmaxApi/models/common_response_error.py @@ -83,19 +83,7 @@ def to_dict(self) -> Dict[str, Any]: return _dict @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + def from_dict(cls, obj: 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 b009b38c..4f654f20 100644 --- a/eZmaxApi/models/common_response_error_creditcard_validation.py +++ b/eZmaxApi/models/common_response_error_creditcard_validation.py @@ -18,31 +18,21 @@ import re # noqa: F401 import json -from pydantic import BaseModel, ConfigDict, Field, StrictStr, field_validator +from pydantic import ConfigDict, Field from typing import Any, ClassVar, Dict, List, Optional -from typing_extensions import Annotated +from eZmaxApi.models.common_response_error import CommonResponseError from eZmaxApi.models.custom_creditcardtransactionresponse_response import CustomCreditcardtransactionresponseResponse from eZmaxApi.models.field_e_error_code import FieldEErrorCode from typing import Optional, Set from typing_extensions import Self -class CommonResponseErrorCreditcardValidation(BaseModel): +class CommonResponseErrorCreditcardValidation(CommonResponseError): """ 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 53a68029..7cef061a 100644 --- a/eZmaxApi/models/common_response_error_ezsignform_validation.py +++ b/eZmaxApi/models/common_response_error_ezsignform_validation.py @@ -18,30 +18,20 @@ import re # noqa: F401 import json -from pydantic import BaseModel, ConfigDict, Field, StrictStr, field_validator -from typing import Any, ClassVar, Dict, List, Optional -from typing_extensions import Annotated +from pydantic import ConfigDict, Field +from typing import Any, ClassVar, Dict, List +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 CommonResponseErrorEzsignformValidation(BaseModel): +class CommonResponseErrorEzsignformValidation(CommonResponseError): """ 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") a_obj_ezsignformfielderror: List[object] = 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, 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 d5fe6f32..f0253618 100644 --- a/eZmaxApi/models/common_response_error_s_temporary_file_url.py +++ b/eZmaxApi/models/common_response_error_s_temporary_file_url.py @@ -18,30 +18,21 @@ import re # noqa: F401 import json -from pydantic import BaseModel, ConfigDict, Field, StrictStr, field_validator +from pydantic import ConfigDict, Field, 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(BaseModel): +class CommonResponseErrorSTemporaryFileUrl(CommonResponseError): """ 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 e82842d3..97c54a85 100644 --- a/eZmaxApi/models/common_response_error_too_many_requests.py +++ b/eZmaxApi/models/common_response_error_too_many_requests.py @@ -18,29 +18,19 @@ import re # noqa: F401 import json -from pydantic import BaseModel, ConfigDict, Field, StrictStr, field_validator -from typing import Any, ClassVar, Dict, List, Optional -from typing_extensions import Annotated +from pydantic import ConfigDict +from typing import Any, ClassVar, Dict, List +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 CommonResponseErrorTooManyRequests(BaseModel): +class CommonResponseErrorTooManyRequests(CommonResponseError): """ 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 478edff0..b82708ca 100644 --- a/eZmaxApi/models/common_response_error_wrong_franchiseoffice.py +++ b/eZmaxApi/models/common_response_error_wrong_franchiseoffice.py @@ -18,33 +18,24 @@ import re # noqa: F401 import json -from pydantic import BaseModel, ConfigDict, Field, StrictStr, field_validator -from typing import Any, ClassVar, Dict, List, Optional +from pydantic import ConfigDict, Field, StrictStr +from typing import Any, ClassVar, Dict, List 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(BaseModel): +class CommonResponseErrorWrongFranchiseoffice(CommonResponseError): """ 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 780743aa..90064a29 100644 --- a/eZmaxApi/models/common_response_get_list.py +++ b/eZmaxApi/models/common_response_get_list.py @@ -81,18 +81,7 @@ def to_dict(self) -> Dict[str, Any]: return _dict @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + def from_dict(cls, obj: 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 453a8433..edb0edf1 100644 --- a/eZmaxApi/models/common_response_obj_debug_payload.py +++ b/eZmaxApi/models/common_response_obj_debug_payload.py @@ -76,21 +76,7 @@ def to_dict(self) -> Dict[str, Any]: return _dict @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + def from_dict(cls, obj: 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 d7988c3f..3d0895f1 100644 --- a/eZmaxApi/models/common_response_obj_debug_payload_get_list.py +++ b/eZmaxApi/models/common_response_obj_debug_payload_get_list.py @@ -18,22 +18,18 @@ import re # noqa: F401 import json -from pydantic import BaseModel, ConfigDict, Field, StrictBool, StrictInt, StrictStr +from pydantic import ConfigDict, Field, 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(BaseModel): +class CommonResponseObjDebugPayloadGetList(CommonResponseObjDebugPayload): """ 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 234f82e7..307c82fc 100644 --- a/eZmaxApi/models/common_webhook.py +++ b/eZmaxApi/models/common_webhook.py @@ -85,18 +85,7 @@ def to_dict(self) -> Dict[str, Any]: return _dict @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + def from_dict(cls, obj: 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": [AttemptResponse.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 b1e1b05f..418afa4f 100644 --- a/eZmaxApi/models/communication_request.py +++ b/eZmaxApi/models/communication_request.py @@ -108,26 +108,7 @@ def to_dict(self) -> Dict[str, Any]: return _dict @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + def from_dict(cls, obj: 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 96c40e17..10950de6 100644 --- a/eZmaxApi/models/communication_request_compound.py +++ b/eZmaxApi/models/communication_request_compound.py @@ -18,9 +18,10 @@ import re # noqa: F401 import json -from pydantic import BaseModel, ConfigDict, Field, StrictBool, StrictStr, field_validator -from typing import Any, ClassVar, Dict, List, Optional +from pydantic import ConfigDict, Field +from typing import Any, ClassVar, Dict, List 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 @@ -31,46 +32,16 @@ from typing import Optional, Set from typing_extensions import Self -class CommunicationRequestCompound(BaseModel): +class CommunicationRequestCompound(CommunicationRequest): """ 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_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, diff --git a/eZmaxApi/models/communication_send_v1_response.py b/eZmaxApi/models/communication_send_v1_response.py index 3f8191f7..47df1786 100644 --- a/eZmaxApi/models/communication_send_v1_response.py +++ b/eZmaxApi/models/communication_send_v1_response.py @@ -18,20 +18,19 @@ import re # noqa: F401 import json -from pydantic import BaseModel, ConfigDict, Field -from typing import Any, ClassVar, Dict, List, Optional +from pydantic import ConfigDict, Field +from typing import Any, ClassVar, Dict, List +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.communication_send_v1_response_m_payload import CommunicationSendV1ResponseMPayload from typing import Optional, Set from typing_extensions import Self -class CommunicationSendV1Response(BaseModel): +class CommunicationSendV1Response(CommonResponse): """ 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 de01dfac..1aa3e464 100644 --- a/eZmaxApi/models/communicationattachment_request.py +++ b/eZmaxApi/models/communicationattachment_request.py @@ -76,20 +76,7 @@ def to_dict(self) -> Dict[str, Any]: return _dict @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + def from_dict(cls, obj: 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 9eebb133..e32985d7 100644 --- a/eZmaxApi/models/communicationattachment_request_compound.py +++ b/eZmaxApi/models/communicationattachment_request_compound.py @@ -18,20 +18,16 @@ import re # noqa: F401 import json -from pydantic import BaseModel, ConfigDict, Field, StrictInt -from typing import Any, ClassVar, Dict, List, Optional -from typing_extensions import Annotated +from pydantic import ConfigDict +from typing import Any, ClassVar, Dict, List +from eZmaxApi.models.communicationattachment_request import CommunicationattachmentRequest from typing import Optional, Set from typing_extensions import Self -class CommunicationattachmentRequestCompound(BaseModel): +class CommunicationattachmentRequestCompound(CommunicationattachmentRequest): """ 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 346e78da..68355a60 100644 --- a/eZmaxApi/models/communicationexternalrecipient_request.py +++ b/eZmaxApi/models/communicationexternalrecipient_request.py @@ -108,21 +108,7 @@ def to_dict(self) -> Dict[str, Any]: return _dict @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + def from_dict(cls, obj: 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 9e0d0d1b..f33c5c93 100644 --- a/eZmaxApi/models/communicationexternalrecipient_request_compound.py +++ b/eZmaxApi/models/communicationexternalrecipient_request_compound.py @@ -18,54 +18,19 @@ import re # noqa: F401 import json -from pydantic import BaseModel, ConfigDict, Field, StrictInt, field_validator -from typing import Any, ClassVar, Dict, List, Optional -from typing_extensions import Annotated +from pydantic import ConfigDict +from typing import Any, ClassVar, Dict, List +from eZmaxApi.models.communicationexternalrecipient_request import CommunicationexternalrecipientRequest from eZmaxApi.models.field_e_communicationexternalrecipient_type import FieldECommunicationexternalrecipientType from typing import Optional, Set from typing_extensions import Self -class CommunicationexternalrecipientRequestCompound(BaseModel): +class CommunicationexternalrecipientRequestCompound(CommunicationexternalrecipientRequest): """ 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 c6db9f88..4eb1212c 100644 --- a/eZmaxApi/models/communicationrecipient_request.py +++ b/eZmaxApi/models/communicationrecipient_request.py @@ -88,31 +88,7 @@ def to_dict(self) -> Dict[str, Any]: return _dict @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + def from_dict(cls, obj: 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 9f19093d..88b2d2e2 100644 --- a/eZmaxApi/models/communicationrecipient_request_compound.py +++ b/eZmaxApi/models/communicationrecipient_request_compound.py @@ -18,32 +18,17 @@ import re # noqa: F401 import json -from pydantic import BaseModel, ConfigDict, Field -from typing import Any, ClassVar, Dict, List, Optional -from typing_extensions import Annotated +from pydantic import ConfigDict +from typing import Any, ClassVar, Dict, List +from eZmaxApi.models.communicationrecipient_request import CommunicationrecipientRequest from eZmaxApi.models.field_e_communicationrecipient_type import FieldECommunicationrecipientType from typing import Optional, Set from typing_extensions import Self -class CommunicationrecipientRequestCompound(BaseModel): +class CommunicationrecipientRequestCompound(CommunicationrecipientRequest): """ 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 c87b2cb9..641f998c 100644 --- a/eZmaxApi/models/company_get_autocomplete_v2_response.py +++ b/eZmaxApi/models/company_get_autocomplete_v2_response.py @@ -18,20 +18,19 @@ import re # noqa: F401 import json -from pydantic import BaseModel, ConfigDict, Field -from typing import Any, ClassVar, Dict, List, Optional +from pydantic import ConfigDict, Field +from typing import Any, ClassVar, Dict, List +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.company_get_autocomplete_v2_response_m_payload import CompanyGetAutocompleteV2ResponseMPayload from typing import Optional, Set from typing_extensions import Self -class CompanyGetAutocompleteV2Response(BaseModel): +class CompanyGetAutocompleteV2Response(CommonResponse): """ 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 ec65bbc1..a256c4bd 100644 --- a/eZmaxApi/models/contact_request.py +++ b/eZmaxApi/models/contact_request.py @@ -78,22 +78,7 @@ def to_dict(self) -> Dict[str, Any]: return _dict @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + def from_dict(cls, obj: 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 53c99b67..e2499a83 100644 --- a/eZmaxApi/models/contact_request_compound.py +++ b/eZmaxApi/models/contact_request_compound.py @@ -18,23 +18,17 @@ import re # noqa: F401 import json -from pydantic import BaseModel, ConfigDict, Field, StrictStr -from typing import Any, ClassVar, Dict, List, Optional -from typing_extensions import Annotated +from pydantic import ConfigDict, Field +from typing import Any, ClassVar, Dict, List +from eZmaxApi.models.contact_request import ContactRequest from eZmaxApi.models.contactinformations_request_compound import ContactinformationsRequestCompound from typing import Optional, Set from typing_extensions import Self -class ContactRequestCompound(BaseModel): +class ContactRequestCompound(ContactRequest): """ 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 62c82c33..2b89b4ac 100644 --- a/eZmaxApi/models/contact_request_compound_v2.py +++ b/eZmaxApi/models/contact_request_compound_v2.py @@ -18,51 +18,21 @@ import re # noqa: F401 import json -from pydantic import BaseModel, ConfigDict, Field, StrictBool, StrictStr, field_validator -from typing import Any, ClassVar, Dict, List, Optional -from typing_extensions import Annotated +from pydantic import ConfigDict, Field +from typing import Any, ClassVar, Dict, List +from eZmaxApi.models.contact_request_v2 import ContactRequestV2 from eZmaxApi.models.contactinformations_request_compound_v2 import ContactinformationsRequestCompoundV2 from eZmaxApi.models.field_e_contact_type import FieldEContactType from typing import Optional, Set from typing_extensions import Self -class ContactRequestCompoundV2(BaseModel): +class ContactRequestCompoundV2(ContactRequestV2): """ 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 71d4e10b..be174f26 100644 --- a/eZmaxApi/models/contact_request_v2.py +++ b/eZmaxApi/models/contact_request_v2.py @@ -108,27 +108,7 @@ def to_dict(self) -> Dict[str, Any]: return _dict @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + def from_dict(cls, obj: 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 3d900c77..0df7daa6 100644 --- a/eZmaxApi/models/contact_response.py +++ b/eZmaxApi/models/contact_response.py @@ -110,29 +110,7 @@ def to_dict(self) -> Dict[str, Any]: return _dict @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + def from_dict(cls, obj: 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 72b06e02..05e4de7a 100644 --- a/eZmaxApi/models/contact_response_compound.py +++ b/eZmaxApi/models/contact_response_compound.py @@ -18,53 +18,20 @@ import re # noqa: F401 import json -from pydantic import BaseModel, ConfigDict, Field, StrictBool, StrictStr, field_validator -from typing import Any, ClassVar, Dict, List, Optional -from typing_extensions import Annotated +from pydantic import ConfigDict +from typing import Any, ClassVar, Dict, List +from eZmaxApi.models.contact_response import ContactResponse from eZmaxApi.models.contactinformations_response_compound import ContactinformationsResponseCompound from eZmaxApi.models.field_e_contact_type import FieldEContactType from typing import Optional, Set from typing_extensions import Self -class ContactResponseCompound(BaseModel): +class ContactResponseCompound(ContactResponse): """ 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 b6119a6e..32028a77 100644 --- a/eZmaxApi/models/contactinformations_request.py +++ b/eZmaxApi/models/contactinformations_request.py @@ -75,20 +75,7 @@ def to_dict(self) -> Dict[str, Any]: return _dict @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + def from_dict(cls, obj: 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 5e972d12..9b3562ea 100644 --- a/eZmaxApi/models/contactinformations_request_compound.py +++ b/eZmaxApi/models/contactinformations_request_compound.py @@ -18,23 +18,20 @@ import re # noqa: F401 import json -from pydantic import BaseModel, ConfigDict, Field, StrictInt +from pydantic import ConfigDict, Field 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 typing import Optional, Set from typing_extensions import Self -class ContactinformationsRequestCompound(BaseModel): +class ContactinformationsRequestCompound(ContactinformationsRequest): """ A Contactinformations Object and children to create a complete structure """ # noqa: E501 - 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[AddressRequest] = Field(alias="a_objAddress") a_obj_phone: List[PhoneRequest] = Field(alias="a_objPhone") a_obj_email: List[EmailRequest] = Field(alias="a_objEmail") diff --git a/eZmaxApi/models/contactinformations_request_compound_v2.py b/eZmaxApi/models/contactinformations_request_compound_v2.py index c55ba721..6f12f21b 100644 --- a/eZmaxApi/models/contactinformations_request_compound_v2.py +++ b/eZmaxApi/models/contactinformations_request_compound_v2.py @@ -18,9 +18,10 @@ import re # noqa: F401 import json -from pydantic import BaseModel, ConfigDict, Field, StrictInt +from pydantic import ConfigDict, Field 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.field_e_contactinformations_type import FieldEContactinformationsType from eZmaxApi.models.phone_request import PhoneRequest @@ -28,15 +29,10 @@ from typing import Optional, Set from typing_extensions import Self -class ContactinformationsRequestCompoundV2(BaseModel): +class ContactinformationsRequestCompoundV2(ContactinformationsRequestV2): """ A Contactinformations Object and children to create a complete structure """ # noqa: E501 - e_contactinformations_type: FieldEContactinformationsType = Field(alias="eContactinformationsType") - i_address_default: StrictInt = Field(description="The index in the a_objAddress array (zero based index) representing the Address object that should become the default one. You can leave the value to 0 if the array is empty.", alias="iAddressDefault") - i_phone_default: StrictInt = Field(description="The index in the a_objPhone array (zero based index) representing the Phone object that should become the default one. You can leave the value to 0 if the array is empty.", alias="iPhoneDefault") - i_email_default: StrictInt = Field(description="The index in the a_objEmail array (zero based index) representing the Email object that should become the default one. You can leave the value to 0 if the array is empty.", alias="iEmailDefault") - i_website_default: StrictInt = Field(description="The index in the a_objWebsite array (zero based index) representing the Website object that should become the default one. You can leave the value to 0 if the array is empty.", alias="iWebsiteDefault") a_obj_address: List[AddressRequest] = Field(alias="a_objAddress") a_obj_phone: List[PhoneRequest] = Field(alias="a_objPhone") a_obj_email: List[EmailRequest] = Field(alias="a_objEmail") diff --git a/eZmaxApi/models/contactinformations_request_v2.py b/eZmaxApi/models/contactinformations_request_v2.py index 993a3905..86cc3391 100644 --- a/eZmaxApi/models/contactinformations_request_v2.py +++ b/eZmaxApi/models/contactinformations_request_v2.py @@ -77,21 +77,7 @@ def to_dict(self) -> Dict[str, Any]: return _dict @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + def from_dict(cls, obj: 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 3e3ad8fa..764320a7 100644 --- a/eZmaxApi/models/contactinformations_response.py +++ b/eZmaxApi/models/contactinformations_response.py @@ -110,27 +110,7 @@ def to_dict(self) -> Dict[str, Any]: return _dict @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + def from_dict(cls, obj: 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": AddressResponse.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 - }) - return _obj diff --git a/eZmaxApi/models/contactinformations_response_compound.py b/eZmaxApi/models/contactinformations_response_compound.py index b5e0d062..aa69518c 100644 --- a/eZmaxApi/models/contactinformations_response_compound.py +++ b/eZmaxApi/models/contactinformations_response_compound.py @@ -18,10 +18,10 @@ import re # noqa: F401 import json -from pydantic import BaseModel, ConfigDict, Field, field_validator -from typing import Any, ClassVar, Dict, List, Optional -from typing_extensions import Annotated +from 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 eZmaxApi.models.field_e_contactinformations_type import FieldEContactinformationsType from eZmaxApi.models.phone_response_compound import PhoneResponseCompound @@ -29,37 +29,16 @@ from typing import Optional, Set from typing_extensions import Self -class ContactinformationsResponseCompound(BaseModel): +class ContactinformationsResponseCompound(ContactinformationsResponse): """ A Contactinformations Object """ # noqa: E501 - pki_contactinformations_id: Annotated[int, Field(le=16777215, strict=True, ge=0)] = Field(description="The unique ID of the Contactinformations", alias="pkiContactinformationsID") - fki_address_id_default: Optional[Annotated[int, Field(strict=True, ge=0)]] = Field(default=None, description="The unique ID of the Address", alias="fkiAddressIDDefault") - fki_phone_id_default: Optional[Annotated[int, Field(strict=True, ge=0)]] = Field(default=None, description="The unique ID of the Phone.", alias="fkiPhoneIDDefault") - fki_email_id_default: Optional[Annotated[int, Field(le=16777215, strict=True, ge=1)]] = Field(default=None, description="The unique ID of the Email", alias="fkiEmailIDDefault") - fki_website_id_default: Optional[Annotated[int, Field(le=16777215, strict=True, ge=0)]] = Field(default=None, description="The unique ID of the Website Default", alias="fkiWebsiteIDDefault") - e_contactinformations_type: FieldEContactinformationsType = Field(alias="eContactinformationsType") - s_contactinformations_url: Optional[Annotated[str, Field(strict=True)]] = Field(default=None, description="The url of the Contactinformations", alias="sContactinformationsUrl") - obj_address_default: Optional[AddressResponse] = Field(default=None, description="An Address Object and children to create a complete structure", 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") a_obj_address: List[AddressResponse] = 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") __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, diff --git a/eZmaxApi/models/contacttitle_get_autocomplete_v2_response.py b/eZmaxApi/models/contacttitle_get_autocomplete_v2_response.py index a533961e..e5099e52 100644 --- a/eZmaxApi/models/contacttitle_get_autocomplete_v2_response.py +++ b/eZmaxApi/models/contacttitle_get_autocomplete_v2_response.py @@ -18,20 +18,19 @@ import re # noqa: F401 import json -from pydantic import BaseModel, ConfigDict, Field -from typing import Any, ClassVar, Dict, List, Optional +from pydantic import ConfigDict, Field +from typing import Any, ClassVar, Dict, List +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.contacttitle_get_autocomplete_v2_response_m_payload import ContacttitleGetAutocompleteV2ResponseMPayload from typing import Optional, Set from typing_extensions import Self -class ContacttitleGetAutocompleteV2Response(BaseModel): +class ContacttitleGetAutocompleteV2Response(CommonResponse): """ 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 08b5206d..ea614ff3 100644 --- a/eZmaxApi/models/cors_create_object_v1_response.py +++ b/eZmaxApi/models/cors_create_object_v1_response.py @@ -18,20 +18,19 @@ import re # noqa: F401 import json -from pydantic import BaseModel, ConfigDict, Field -from typing import Any, ClassVar, Dict, List, Optional +from pydantic import ConfigDict, Field +from typing import Any, ClassVar, Dict, List +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.cors_create_object_v1_response_m_payload import CorsCreateObjectV1ResponseMPayload from typing import Optional, Set from typing_extensions import Self -class CorsCreateObjectV1Response(BaseModel): +class CorsCreateObjectV1Response(CommonResponse): """ 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 7a3c9412..4fa7b347 100644 --- a/eZmaxApi/models/cors_delete_object_v1_response.py +++ b/eZmaxApi/models/cors_delete_object_v1_response.py @@ -18,19 +18,18 @@ import re # noqa: F401 import json -from pydantic import BaseModel, ConfigDict, Field -from typing import Any, ClassVar, Dict, List, Optional +from pydantic import ConfigDict +from typing import Any, ClassVar, Dict, List +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 CorsDeleteObjectV1Response(BaseModel): +class CorsDeleteObjectV1Response(CommonResponse): """ 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 8f3b0cd8..94e8992a 100644 --- a/eZmaxApi/models/cors_edit_object_v1_response.py +++ b/eZmaxApi/models/cors_edit_object_v1_response.py @@ -18,19 +18,18 @@ import re # noqa: F401 import json -from pydantic import BaseModel, ConfigDict, Field -from typing import Any, ClassVar, Dict, List, Optional +from pydantic import ConfigDict +from typing import Any, ClassVar, Dict, List +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 CorsEditObjectV1Response(BaseModel): +class CorsEditObjectV1Response(CommonResponse): """ 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 4a16a37e..ac706a1e 100644 --- a/eZmaxApi/models/cors_get_object_v2_response.py +++ b/eZmaxApi/models/cors_get_object_v2_response.py @@ -18,20 +18,19 @@ import re # noqa: F401 import json -from pydantic import BaseModel, ConfigDict, Field -from typing import Any, ClassVar, Dict, List, Optional +from pydantic import ConfigDict, Field +from typing import Any, ClassVar, Dict, List +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.cors_get_object_v2_response_m_payload import CorsGetObjectV2ResponseMPayload from typing import Optional, Set from typing_extensions import Self -class CorsGetObjectV2Response(BaseModel): +class CorsGetObjectV2Response(CommonResponse): """ 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 02299c70..32f44039 100644 --- a/eZmaxApi/models/cors_request.py +++ b/eZmaxApi/models/cors_request.py @@ -82,19 +82,7 @@ def to_dict(self) -> Dict[str, Any]: return _dict @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + def from_dict(cls, obj: 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 93c1b387..8055db56 100644 --- a/eZmaxApi/models/cors_request_compound.py +++ b/eZmaxApi/models/cors_request_compound.py @@ -18,28 +18,18 @@ import re # noqa: F401 import json -from pydantic import BaseModel, ConfigDict, Field, field_validator -from typing import Any, ClassVar, Dict, List, Optional -from typing_extensions import Annotated +from pydantic import ConfigDict +from typing import Any, ClassVar, Dict, List +from eZmaxApi.models.cors_request import CorsRequest from typing import Optional, Set from typing_extensions import Self -class CorsRequestCompound(BaseModel): +class CorsRequestCompound(CorsRequest): """ 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 d7588194..c82c1d51 100644 --- a/eZmaxApi/models/cors_response.py +++ b/eZmaxApi/models/cors_response.py @@ -82,19 +82,7 @@ def to_dict(self) -> Dict[str, Any]: return _dict @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + def from_dict(cls, obj: 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 43680bbb..6f989094 100644 --- a/eZmaxApi/models/cors_response_compound.py +++ b/eZmaxApi/models/cors_response_compound.py @@ -18,28 +18,18 @@ import re # noqa: F401 import json -from pydantic import BaseModel, ConfigDict, Field, field_validator +from pydantic import ConfigDict from typing import Any, ClassVar, Dict, List -from typing_extensions import Annotated +from eZmaxApi.models.cors_response import CorsResponse from typing import Optional, Set from typing_extensions import Self -class CorsResponseCompound(BaseModel): +class CorsResponseCompound(CorsResponse): """ 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 327615a3..f84b07cb 100644 --- a/eZmaxApi/models/country_get_autocomplete_v2_response.py +++ b/eZmaxApi/models/country_get_autocomplete_v2_response.py @@ -18,20 +18,19 @@ import re # noqa: F401 import json -from pydantic import BaseModel, ConfigDict, Field -from typing import Any, ClassVar, Dict, List, Optional +from pydantic import ConfigDict, Field +from typing import Any, ClassVar, Dict, List +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.country_get_autocomplete_v2_response_m_payload import CountryGetAutocompleteV2ResponseMPayload from typing import Optional, Set from typing_extensions import Self -class CountryGetAutocompleteV2Response(BaseModel): +class CountryGetAutocompleteV2Response(CommonResponse): """ 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 e62ccfc8..9aabeaee 100644 --- a/eZmaxApi/models/creditcardclient_create_object_v1_response.py +++ b/eZmaxApi/models/creditcardclient_create_object_v1_response.py @@ -18,20 +18,19 @@ import re # noqa: F401 import json -from pydantic import BaseModel, ConfigDict, Field -from typing import Any, ClassVar, Dict, List, Optional +from pydantic import ConfigDict, Field +from typing import Any, ClassVar, Dict, List +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.creditcardclient_create_object_v1_response_m_payload import CreditcardclientCreateObjectV1ResponseMPayload from typing import Optional, Set from typing_extensions import Self -class CreditcardclientCreateObjectV1Response(BaseModel): +class CreditcardclientCreateObjectV1Response(CommonResponse): """ 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 e7b0c441..fe25af4d 100644 --- a/eZmaxApi/models/creditcardclient_delete_object_v1_response.py +++ b/eZmaxApi/models/creditcardclient_delete_object_v1_response.py @@ -18,19 +18,18 @@ import re # noqa: F401 import json -from pydantic import BaseModel, ConfigDict, Field -from typing import Any, ClassVar, Dict, List, Optional +from pydantic import ConfigDict +from typing import Any, ClassVar, Dict, List +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 CreditcardclientDeleteObjectV1Response(BaseModel): +class CreditcardclientDeleteObjectV1Response(CommonResponse): """ 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 6459905f..e939c36d 100644 --- a/eZmaxApi/models/creditcardclient_edit_object_v1_response.py +++ b/eZmaxApi/models/creditcardclient_edit_object_v1_response.py @@ -18,19 +18,18 @@ import re # noqa: F401 import json -from pydantic import BaseModel, ConfigDict, Field -from typing import Any, ClassVar, Dict, List, Optional +from pydantic import ConfigDict +from typing import Any, ClassVar, Dict, List +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 CreditcardclientEditObjectV1Response(BaseModel): +class CreditcardclientEditObjectV1Response(CommonResponse): """ 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 73c1b6e5..545897a0 100644 --- a/eZmaxApi/models/creditcardclient_get_autocomplete_v2_response.py +++ b/eZmaxApi/models/creditcardclient_get_autocomplete_v2_response.py @@ -18,20 +18,19 @@ import re # noqa: F401 import json -from pydantic import BaseModel, ConfigDict, Field -from typing import Any, ClassVar, Dict, List, Optional +from pydantic import ConfigDict, Field +from typing import Any, ClassVar, Dict, List +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.creditcardclient_get_autocomplete_v2_response_m_payload import CreditcardclientGetAutocompleteV2ResponseMPayload from typing import Optional, Set from typing_extensions import Self -class CreditcardclientGetAutocompleteV2Response(BaseModel): +class CreditcardclientGetAutocompleteV2Response(CommonResponse): """ 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 6b5641e9..99a63283 100644 --- a/eZmaxApi/models/creditcardclient_get_list_v1_response.py +++ b/eZmaxApi/models/creditcardclient_get_list_v1_response.py @@ -18,20 +18,19 @@ import re # noqa: F401 import json -from pydantic import BaseModel, ConfigDict, Field -from typing import Any, ClassVar, Dict, List, Optional +from pydantic import ConfigDict, Field +from typing import Any, ClassVar, Dict, List +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 eZmaxApi.models.creditcardclient_get_list_v1_response_m_payload import CreditcardclientGetListV1ResponseMPayload from typing import Optional, Set from typing_extensions import Self -class CreditcardclientGetListV1Response(BaseModel): +class CreditcardclientGetListV1Response(CommonResponseGetList): """ 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 dcee4fc8..3063db48 100644 --- a/eZmaxApi/models/creditcardclient_get_list_v1_response_m_payload.py +++ b/eZmaxApi/models/creditcardclient_get_list_v1_response_m_payload.py @@ -18,18 +18,17 @@ import re # noqa: F401 import json -from pydantic import BaseModel, ConfigDict, Field, StrictInt +from pydantic import ConfigDict, Field 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(BaseModel): +class CreditcardclientGetListV1ResponseMPayload(CommonGetListV1ResponseMPayload): """ 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 2be25bcb..0c1fa9a9 100644 --- a/eZmaxApi/models/creditcardclient_get_object_v2_response.py +++ b/eZmaxApi/models/creditcardclient_get_object_v2_response.py @@ -18,20 +18,19 @@ import re # noqa: F401 import json -from pydantic import BaseModel, ConfigDict, Field -from typing import Any, ClassVar, Dict, List, Optional +from pydantic import ConfigDict, Field +from typing import Any, ClassVar, Dict, List +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.creditcardclient_get_object_v2_response_m_payload import CreditcardclientGetObjectV2ResponseMPayload from typing import Optional, Set from typing_extensions import Self -class CreditcardclientGetObjectV2Response(BaseModel): +class CreditcardclientGetObjectV2Response(CommonResponse): """ 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 f13bf9d2..2e52a875 100644 --- a/eZmaxApi/models/creditcardclient_patch_object_v1_response.py +++ b/eZmaxApi/models/creditcardclient_patch_object_v1_response.py @@ -18,19 +18,18 @@ import re # noqa: F401 import json -from pydantic import BaseModel, ConfigDict, Field -from typing import Any, ClassVar, Dict, List, Optional +from pydantic import ConfigDict +from typing import Any, ClassVar, Dict, List +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 CreditcardclientPatchObjectV1Response(BaseModel): +class CreditcardclientPatchObjectV1Response(CommonResponse): """ 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 f4885f6d..3e84caad 100644 --- a/eZmaxApi/models/creditcardclient_request.py +++ b/eZmaxApi/models/creditcardclient_request.py @@ -109,25 +109,7 @@ def to_dict(self) -> Dict[str, Any]: return _dict @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + def from_dict(cls, obj: 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 dac41c09..babd3624 100644 --- a/eZmaxApi/models/creditcardclient_request_compound.py +++ b/eZmaxApi/models/creditcardclient_request_compound.py @@ -18,52 +18,19 @@ import re # noqa: F401 import json -from pydantic import BaseModel, ConfigDict, Field, StrictBool, field_validator -from typing import Any, ClassVar, Dict, List, Optional -from typing_extensions import Annotated +from pydantic import ConfigDict +from typing import Any, ClassVar, Dict, List +from eZmaxApi.models.creditcardclient_request import CreditcardclientRequest from eZmaxApi.models.creditcarddetail_request import CreditcarddetailRequest from typing import Optional, Set from typing_extensions import Self -class CreditcardclientRequestCompound(BaseModel): +class CreditcardclientRequestCompound(CreditcardclientRequest): """ 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 4f6e24bc..c8324f3b 100644 --- a/eZmaxApi/models/creditcardclient_response.py +++ b/eZmaxApi/models/creditcardclient_response.py @@ -90,23 +90,7 @@ def to_dict(self) -> Dict[str, Any]: return _dict @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + def from_dict(cls, obj: 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 a27dba54..34a09a57 100644 --- a/eZmaxApi/models/creditcardclient_response_compound.py +++ b/eZmaxApi/models/creditcardclient_response_compound.py @@ -18,33 +18,19 @@ import re # noqa: F401 import json -from pydantic import BaseModel, ConfigDict, Field, StrictBool, field_validator +from pydantic import ConfigDict from typing import Any, ClassVar, Dict, List -from typing_extensions import Annotated +from eZmaxApi.models.creditcardclient_response import CreditcardclientResponse from eZmaxApi.models.creditcarddetail_response_compound import CreditcarddetailResponseCompound from typing import Optional, Set from typing_extensions import Self -class CreditcardclientResponseCompound(BaseModel): +class CreditcardclientResponseCompound(CreditcardclientResponse): """ 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 d8b51be5..eef787bf 100644 --- a/eZmaxApi/models/creditcarddetail_response.py +++ b/eZmaxApi/models/creditcarddetail_response.py @@ -101,24 +101,7 @@ def to_dict(self) -> Dict[str, Any]: return _dict @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + def from_dict(cls, obj: 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 fb6242c1..b07a61c0 100644 --- a/eZmaxApi/models/creditcarddetail_response_compound.py +++ b/eZmaxApi/models/creditcarddetail_response_compound.py @@ -18,47 +18,18 @@ import re # noqa: F401 import json -from pydantic import BaseModel, ConfigDict, Field, field_validator +from pydantic import ConfigDict from typing import Any, ClassVar, Dict, List -from typing_extensions import Annotated +from eZmaxApi.models.creditcarddetail_response import CreditcarddetailResponse from typing import Optional, Set from typing_extensions import Self -class CreditcarddetailResponseCompound(BaseModel): +class CreditcarddetailResponseCompound(CreditcarddetailResponse): """ 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 5908b655..4561a6e8 100644 --- a/eZmaxApi/models/creditcardtype_get_autocomplete_v2_response.py +++ b/eZmaxApi/models/creditcardtype_get_autocomplete_v2_response.py @@ -18,20 +18,19 @@ import re # noqa: F401 import json -from pydantic import BaseModel, ConfigDict, Field -from typing import Any, ClassVar, Dict, List, Optional +from pydantic import ConfigDict, Field +from typing import Any, ClassVar, Dict, List +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.creditcardtype_get_autocomplete_v2_response_m_payload import CreditcardtypeGetAutocompleteV2ResponseMPayload from typing import Optional, Set from typing_extensions import Self -class CreditcardtypeGetAutocompleteV2Response(BaseModel): +class CreditcardtypeGetAutocompleteV2Response(CommonResponse): """ 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 edd35bce..387a569e 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 BaseModel, ConfigDict, Field, StrictBool, StrictInt, field_validator +from pydantic import ConfigDict, Field from typing import Any, ClassVar, Dict, List, Optional -from typing_extensions import Annotated +from eZmaxApi.models.attachment_response import AttachmentResponse 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,101 +30,16 @@ from typing import Optional, Set from typing_extensions import Self -class CustomAttachmentResponse(BaseModel): +class CustomAttachmentResponse(AttachmentResponse): """ 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_ezsignfoldersignerassociation_actionable_element_response.py b/eZmaxApi/models/custom_ezsignfoldersignerassociation_actionable_element_response.py index f208c9c4..e8f88e50 100644 --- a/eZmaxApi/models/custom_ezsignfoldersignerassociation_actionable_element_response.py +++ b/eZmaxApi/models/custom_ezsignfoldersignerassociation_actionable_element_response.py @@ -18,28 +18,19 @@ import re # noqa: F401 import json -from pydantic import BaseModel, ConfigDict, Field, StrictBool, StrictStr -from typing import Any, ClassVar, Dict, List, Optional -from typing_extensions import Annotated +from pydantic import ConfigDict, Field, StrictBool +from typing import Any, ClassVar, Dict, List +from eZmaxApi.models.ezsignfoldersignerassociation_response_compound import EzsignfoldersignerassociationResponseCompound 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(BaseModel): +class CustomEzsignfoldersignerassociationActionableElementResponse(EzsignfoldersignerassociationResponseCompound): """ 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_ezsignformfieldgroup_create_ezsignelements_positioned_by_word_request.py b/eZmaxApi/models/custom_ezsignformfieldgroup_create_ezsignelements_positioned_by_word_request.py index 993f07f3..4f860ceb 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,13 +18,13 @@ import re # noqa: F401 import json -from pydantic import BaseModel, ConfigDict, Field, StrictBool, StrictStr, field_validator -from typing import Any, ClassVar, Dict, List, Optional -from typing_extensions import Annotated +from pydantic import ConfigDict, Field +from typing import Any, ClassVar, Dict, List from eZmaxApi.models.custom_create_ezsignelements_positioned_by_word_request import CustomCreateEzsignelementsPositionedByWordRequest from eZmaxApi.models.custom_dropdown_element_request import CustomDropdownElementRequest 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.field_e_ezsignformfieldgroup_signerrequirement import FieldEEzsignformfieldgroupSignerrequirement from eZmaxApi.models.field_e_ezsignformfieldgroup_tooltipposition import FieldEEzsignformfieldgroupTooltipposition @@ -32,43 +32,13 @@ from typing import Optional, Set from typing_extensions import Self -class CustomEzsignformfieldgroupCreateEzsignelementsPositionedByWordRequest(BaseModel): +class CustomEzsignformfieldgroupCreateEzsignelementsPositionedByWordRequest(EzsignformfieldgroupRequestCompound): """ 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[EzsignformfieldgroupsignerRequest] = Field(alias="a_objEzsignformfieldgroupsigner") - a_obj_dropdown_element: Optional[List[CustomDropdownElementRequest]] = 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, 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 37cc5adc..3f0d85de 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,12 +18,12 @@ import re # noqa: F401 import json -from pydantic import BaseModel, ConfigDict, Field, StrictBool, StrictInt, StrictStr, field_validator -from typing import Any, ClassVar, Dict, List, Optional -from typing_extensions import Annotated +from pydantic import ConfigDict, Field +from typing import Any, ClassVar, Dict, List 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.field_e_ezsignsignature_attachmentnamesource import FieldEEzsignsignatureAttachmentnamesource from eZmaxApi.models.field_e_ezsignsignature_consultationtrigger import FieldEEzsignsignatureConsultationtrigger @@ -34,53 +34,13 @@ from typing import Optional, Set from typing_extensions import Self -class CustomEzsignsignatureCreateEzsignelementsPositionedByWordRequest(BaseModel): +class CustomEzsignsignatureCreateEzsignelementsPositionedByWordRequest(EzsignsignatureRequestCompound): """ 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[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") 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, diff --git a/eZmaxApi/models/custom_notificationsubsectiongetnotificationtests_response.py b/eZmaxApi/models/custom_notificationsubsectiongetnotificationtests_response.py index ba85f8d2..f7a55281 100644 --- a/eZmaxApi/models/custom_notificationsubsectiongetnotificationtests_response.py +++ b/eZmaxApi/models/custom_notificationsubsectiongetnotificationtests_response.py @@ -18,23 +18,18 @@ import re # noqa: F401 import json -from pydantic import BaseModel, ConfigDict, Field, StrictStr -from typing import Any, ClassVar, Dict, List, Optional -from typing_extensions import Annotated +from pydantic import ConfigDict, Field +from typing import Any, ClassVar, Dict, List 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(BaseModel): +class CustomNotificationsubsectiongetnotificationtestsResponse(NotificationsubsectionResponse): """ 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 b9f90773..5014f254 100644 --- a/eZmaxApi/models/custom_notificationtestgetnotificationtests_response.py +++ b/eZmaxApi/models/custom_notificationtestgetnotificationtests_response.py @@ -18,23 +18,18 @@ import re # noqa: F401 import json -from pydantic import BaseModel, ConfigDict, Field, StrictInt, StrictStr +from pydantic import ConfigDict, Field, StrictInt 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(BaseModel): +class CustomNotificationtestgetnotificationtestsResponse(NotificationtestResponse): """ 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 db140e8f..2700f3cd 100644 --- a/eZmaxApi/models/custom_webhook_response.py +++ b/eZmaxApi/models/custom_webhook_response.py @@ -18,62 +18,27 @@ import re # noqa: F401 import json -from pydantic import BaseModel, ConfigDict, Field, StrictBool, StrictInt, StrictStr, field_validator +from pydantic import ConfigDict, Field, StrictBool, StrictStr, field_validator from typing import Any, ClassVar, Dict, List, Optional from typing_extensions import Annotated from eZmaxApi.models.common_audit import CommonAudit from eZmaxApi.models.field_e_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(BaseModel): +class CustomWebhookResponse(WebhookResponseCompound): """ 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 0ef3fca0..aae29aea 100644 --- a/eZmaxApi/models/customer_create_object_v1_response.py +++ b/eZmaxApi/models/customer_create_object_v1_response.py @@ -18,20 +18,19 @@ import re # noqa: F401 import json -from pydantic import BaseModel, ConfigDict, Field -from typing import Any, ClassVar, Dict, List, Optional +from pydantic import ConfigDict, Field +from typing import Any, ClassVar, Dict, List +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.customer_create_object_v1_response_m_payload import CustomerCreateObjectV1ResponseMPayload from typing import Optional, Set from typing_extensions import Self -class CustomerCreateObjectV1Response(BaseModel): +class CustomerCreateObjectV1Response(CommonResponse): """ 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 eefc2d5c..db4dcedc 100644 --- a/eZmaxApi/models/customer_get_object_v2_response.py +++ b/eZmaxApi/models/customer_get_object_v2_response.py @@ -18,20 +18,19 @@ import re # noqa: F401 import json -from pydantic import BaseModel, ConfigDict, Field -from typing import Any, ClassVar, Dict, List, Optional +from pydantic import ConfigDict, Field +from typing import Any, ClassVar, Dict, List +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.customer_get_object_v2_response_m_payload import CustomerGetObjectV2ResponseMPayload from typing import Optional, Set from typing_extensions import Self -class CustomerGetObjectV2Response(BaseModel): +class CustomerGetObjectV2Response(CommonResponse): """ 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 087584b3..ce4c4bb3 100644 --- a/eZmaxApi/models/customer_request.py +++ b/eZmaxApi/models/customer_request.py @@ -208,67 +208,7 @@ def to_dict(self) -> Dict[str, Any]: return _dict @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + def from_dict(cls, obj: 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 a949f364..e5515f7d 100644 --- a/eZmaxApi/models/customer_request_compound.py +++ b/eZmaxApi/models/customer_request_compound.py @@ -18,154 +18,20 @@ import re # noqa: F401 import json -from pydantic import BaseModel, ConfigDict, Field, StrictBool, StrictInt, field_validator -from typing import Any, ClassVar, Dict, List, Optional -from typing_extensions import Annotated +from pydantic import ConfigDict +from typing import Any, ClassVar, Dict, List +from eZmaxApi.models.customer_request import CustomerRequest from eZmaxApi.models.field_e_customer_marketingcorrespondence import FieldECustomerMarketingcorrespondence from eZmaxApi.models.field_e_customer_type import FieldECustomerType from typing import Optional, Set from typing_extensions import Self -class CustomerRequestCompound(BaseModel): +class CustomerRequestCompound(CustomerRequest): """ 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 a18deb70..20887d9b 100644 --- a/eZmaxApi/models/customer_response.py +++ b/eZmaxApi/models/customer_response.py @@ -208,67 +208,7 @@ def to_dict(self) -> Dict[str, Any]: return _dict @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + def from_dict(cls, obj: 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 00b56b31..f1daaa2c 100644 --- a/eZmaxApi/models/customer_response_compound.py +++ b/eZmaxApi/models/customer_response_compound.py @@ -18,154 +18,20 @@ import re # noqa: F401 import json -from pydantic import BaseModel, ConfigDict, Field, StrictBool, StrictInt, field_validator -from typing import Any, ClassVar, Dict, List, Optional -from typing_extensions import Annotated +from pydantic import ConfigDict +from typing import Any, ClassVar, Dict, List +from eZmaxApi.models.customer_response import CustomerResponse from eZmaxApi.models.field_e_customer_marketingcorrespondence import FieldECustomerMarketingcorrespondence from eZmaxApi.models.field_e_customer_type import FieldECustomerType from typing import Optional, Set from typing_extensions import Self -class CustomerResponseCompound(BaseModel): +class CustomerResponseCompound(CustomerResponse): """ 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 49c1f616..95701f57 100644 --- a/eZmaxApi/models/department_get_autocomplete_v2_response.py +++ b/eZmaxApi/models/department_get_autocomplete_v2_response.py @@ -18,20 +18,19 @@ import re # noqa: F401 import json -from pydantic import BaseModel, ConfigDict, Field -from typing import Any, ClassVar, Dict, List, Optional +from pydantic import ConfigDict, Field +from typing import Any, ClassVar, Dict, List +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.department_get_autocomplete_v2_response_m_payload import DepartmentGetAutocompleteV2ResponseMPayload from typing import Optional, Set from typing_extensions import Self -class DepartmentGetAutocompleteV2Response(BaseModel): +class DepartmentGetAutocompleteV2Response(CommonResponse): """ 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 33235bd0..c465e6df 100644 --- a/eZmaxApi/models/discussion_create_object_v1_response.py +++ b/eZmaxApi/models/discussion_create_object_v1_response.py @@ -18,20 +18,19 @@ import re # noqa: F401 import json -from pydantic import BaseModel, ConfigDict, Field -from typing import Any, ClassVar, Dict, List, Optional +from pydantic import ConfigDict, Field +from typing import Any, ClassVar, Dict, List +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.discussion_create_object_v1_response_m_payload import DiscussionCreateObjectV1ResponseMPayload from typing import Optional, Set from typing_extensions import Self -class DiscussionCreateObjectV1Response(BaseModel): +class DiscussionCreateObjectV1Response(CommonResponse): """ 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 dcf33ff1..ef278e4b 100644 --- a/eZmaxApi/models/discussion_delete_object_v1_response.py +++ b/eZmaxApi/models/discussion_delete_object_v1_response.py @@ -18,19 +18,18 @@ import re # noqa: F401 import json -from pydantic import BaseModel, ConfigDict, Field -from typing import Any, ClassVar, Dict, List, Optional +from pydantic import ConfigDict +from typing import Any, ClassVar, Dict, List +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 DiscussionDeleteObjectV1Response(BaseModel): +class DiscussionDeleteObjectV1Response(CommonResponse): """ 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 7009099d..9b960cf5 100644 --- a/eZmaxApi/models/discussion_get_object_v2_response.py +++ b/eZmaxApi/models/discussion_get_object_v2_response.py @@ -18,20 +18,19 @@ import re # noqa: F401 import json -from pydantic import BaseModel, ConfigDict, Field -from typing import Any, ClassVar, Dict, List, Optional +from pydantic import ConfigDict, Field +from typing import Any, ClassVar, Dict, List +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.discussion_get_object_v2_response_m_payload import DiscussionGetObjectV2ResponseMPayload from typing import Optional, Set from typing_extensions import Self -class DiscussionGetObjectV2Response(BaseModel): +class DiscussionGetObjectV2Response(CommonResponse): """ 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 35379f09..fabc5f65 100644 --- a/eZmaxApi/models/discussion_patch_object_v1_response.py +++ b/eZmaxApi/models/discussion_patch_object_v1_response.py @@ -18,19 +18,18 @@ import re # noqa: F401 import json -from pydantic import BaseModel, ConfigDict, Field -from typing import Any, ClassVar, Dict, List, Optional +from pydantic import ConfigDict +from typing import Any, ClassVar, Dict, List +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 DiscussionPatchObjectV1Response(BaseModel): +class DiscussionPatchObjectV1Response(CommonResponse): """ 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 88f0903c..0db92301 100644 --- a/eZmaxApi/models/discussion_request.py +++ b/eZmaxApi/models/discussion_request.py @@ -82,19 +82,7 @@ def to_dict(self) -> Dict[str, Any]: return _dict @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + def from_dict(cls, obj: 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 b6893064..23e1dcee 100644 --- a/eZmaxApi/models/discussion_request_compound.py +++ b/eZmaxApi/models/discussion_request_compound.py @@ -18,28 +18,18 @@ import re # noqa: F401 import json -from pydantic import BaseModel, ConfigDict, Field, StrictBool, field_validator -from typing import Any, ClassVar, Dict, List, Optional -from typing_extensions import Annotated +from pydantic import ConfigDict +from typing import Any, ClassVar, Dict, List +from eZmaxApi.models.discussion_request import DiscussionRequest from typing import Optional, Set from typing_extensions import Self -class DiscussionRequestCompound(BaseModel): +class DiscussionRequestCompound(DiscussionRequest): """ 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 bea6073b..061c89fd 100644 --- a/eZmaxApi/models/discussion_response.py +++ b/eZmaxApi/models/discussion_response.py @@ -90,23 +90,7 @@ def to_dict(self) -> Dict[str, Any]: return _dict @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + def from_dict(cls, obj: 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 cb67161d..412ee961 100644 --- a/eZmaxApi/models/discussion_response_compound.py +++ b/eZmaxApi/models/discussion_response_compound.py @@ -18,37 +18,23 @@ import re # noqa: F401 import json -from pydantic import BaseModel, ConfigDict, Field, StrictBool, StrictInt, StrictStr, field_validator -from typing import Any, ClassVar, Dict, List, Optional -from typing_extensions import Annotated +from pydantic import ConfigDict, Field +from typing import Any, ClassVar, Dict, List 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(BaseModel): +class DiscussionResponseCompound(DiscussionResponse): """ 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 55907f7e..01315da9 100644 --- a/eZmaxApi/models/discussion_update_discussionreadstatus_v1_response.py +++ b/eZmaxApi/models/discussion_update_discussionreadstatus_v1_response.py @@ -18,19 +18,18 @@ import re # noqa: F401 import json -from pydantic import BaseModel, ConfigDict, Field -from typing import Any, ClassVar, Dict, List, Optional +from pydantic import ConfigDict +from typing import Any, ClassVar, Dict, List +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 DiscussionUpdateDiscussionreadstatusV1Response(BaseModel): +class DiscussionUpdateDiscussionreadstatusV1Response(CommonResponse): """ 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 abd11e56..dc144d89 100644 --- a/eZmaxApi/models/discussionmembership_create_object_v1_response.py +++ b/eZmaxApi/models/discussionmembership_create_object_v1_response.py @@ -18,20 +18,19 @@ import re # noqa: F401 import json -from pydantic import BaseModel, ConfigDict, Field -from typing import Any, ClassVar, Dict, List, Optional +from pydantic import ConfigDict, Field +from typing import Any, ClassVar, Dict, List +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.discussionmembership_create_object_v1_response_m_payload import DiscussionmembershipCreateObjectV1ResponseMPayload from typing import Optional, Set from typing_extensions import Self -class DiscussionmembershipCreateObjectV1Response(BaseModel): +class DiscussionmembershipCreateObjectV1Response(CommonResponse): """ 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 45a10540..5a40dc47 100644 --- a/eZmaxApi/models/discussionmembership_delete_object_v1_response.py +++ b/eZmaxApi/models/discussionmembership_delete_object_v1_response.py @@ -18,19 +18,18 @@ import re # noqa: F401 import json -from pydantic import BaseModel, ConfigDict, Field -from typing import Any, ClassVar, Dict, List, Optional +from pydantic import ConfigDict +from typing import Any, ClassVar, Dict, List +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 DiscussionmembershipDeleteObjectV1Response(BaseModel): +class DiscussionmembershipDeleteObjectV1Response(CommonResponse): """ 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 53fd670d..10441dc2 100644 --- a/eZmaxApi/models/discussionmembership_request.py +++ b/eZmaxApi/models/discussionmembership_request.py @@ -85,22 +85,7 @@ def to_dict(self) -> Dict[str, Any]: return _dict @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + def from_dict(cls, obj: 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 81c124bd..19270cbc 100644 --- a/eZmaxApi/models/discussionmembership_request_compound.py +++ b/eZmaxApi/models/discussionmembership_request_compound.py @@ -18,31 +18,18 @@ import re # noqa: F401 import json -from pydantic import BaseModel, ConfigDict, Field, field_validator -from typing import Any, ClassVar, Dict, List, Optional -from typing_extensions import Annotated +from pydantic import ConfigDict +from typing import Any, ClassVar, Dict, List +from eZmaxApi.models.discussionmembership_request import DiscussionmembershipRequest from typing import Optional, Set from typing_extensions import Self -class DiscussionmembershipRequestCompound(BaseModel): +class DiscussionmembershipRequestCompound(DiscussionmembershipRequest): """ 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 e559da93..19291b8a 100644 --- a/eZmaxApi/models/discussionmembership_response.py +++ b/eZmaxApi/models/discussionmembership_response.py @@ -93,23 +93,7 @@ def to_dict(self) -> Dict[str, Any]: return _dict @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + def from_dict(cls, obj: 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 b9f85b27..a9b4f8fa 100644 --- a/eZmaxApi/models/discussionmembership_response_compound.py +++ b/eZmaxApi/models/discussionmembership_response_compound.py @@ -18,39 +18,18 @@ import re # noqa: F401 import json -from pydantic import BaseModel, ConfigDict, Field, field_validator -from typing import Any, ClassVar, Dict, List, Optional -from typing_extensions import Annotated +from pydantic import ConfigDict +from typing import Any, ClassVar, Dict, List +from eZmaxApi.models.discussionmembership_response import DiscussionmembershipResponse from typing import Optional, Set from typing_extensions import Self -class DiscussionmembershipResponseCompound(BaseModel): +class DiscussionmembershipResponseCompound(DiscussionmembershipResponse): """ 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 79d072d3..d1d9e058 100644 --- a/eZmaxApi/models/discussionmessage_create_object_v1_response.py +++ b/eZmaxApi/models/discussionmessage_create_object_v1_response.py @@ -18,20 +18,19 @@ import re # noqa: F401 import json -from pydantic import BaseModel, ConfigDict, Field -from typing import Any, ClassVar, Dict, List, Optional +from pydantic import ConfigDict, Field +from typing import Any, ClassVar, Dict, List +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.discussionmessage_create_object_v1_response_m_payload import DiscussionmessageCreateObjectV1ResponseMPayload from typing import Optional, Set from typing_extensions import Self -class DiscussionmessageCreateObjectV1Response(BaseModel): +class DiscussionmessageCreateObjectV1Response(CommonResponse): """ 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 f0559cef..c82a0b4b 100644 --- a/eZmaxApi/models/discussionmessage_delete_object_v1_response.py +++ b/eZmaxApi/models/discussionmessage_delete_object_v1_response.py @@ -18,19 +18,18 @@ import re # noqa: F401 import json -from pydantic import BaseModel, ConfigDict, Field -from typing import Any, ClassVar, Dict, List, Optional +from pydantic import ConfigDict +from typing import Any, ClassVar, Dict, List +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 DiscussionmessageDeleteObjectV1Response(BaseModel): +class DiscussionmessageDeleteObjectV1Response(CommonResponse): """ 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 9b24e604..59a265ea 100644 --- a/eZmaxApi/models/discussionmessage_patch_object_v1_response.py +++ b/eZmaxApi/models/discussionmessage_patch_object_v1_response.py @@ -18,19 +18,18 @@ import re # noqa: F401 import json -from pydantic import BaseModel, ConfigDict, Field -from typing import Any, ClassVar, Dict, List, Optional +from pydantic import ConfigDict +from typing import Any, ClassVar, Dict, List +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 DiscussionmessagePatchObjectV1Response(BaseModel): +class DiscussionmessagePatchObjectV1Response(CommonResponse): """ 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 5b7abe12..69ecf480 100644 --- a/eZmaxApi/models/discussionmessage_request.py +++ b/eZmaxApi/models/discussionmessage_request.py @@ -83,20 +83,7 @@ def to_dict(self) -> Dict[str, Any]: return _dict @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + def from_dict(cls, obj: 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 663c0e3e..01c56a0d 100644 --- a/eZmaxApi/models/discussionmessage_request_compound.py +++ b/eZmaxApi/models/discussionmessage_request_compound.py @@ -18,29 +18,18 @@ import re # noqa: F401 import json -from pydantic import BaseModel, ConfigDict, Field, field_validator -from typing import Any, ClassVar, Dict, List, Optional -from typing_extensions import Annotated +from pydantic import ConfigDict +from typing import Any, ClassVar, Dict, List +from eZmaxApi.models.discussionmessage_request import DiscussionmessageRequest from typing import Optional, Set from typing_extensions import Self -class DiscussionmessageRequestCompound(BaseModel): +class DiscussionmessageRequestCompound(DiscussionmessageRequest): """ 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 25eec4ea..b2dfde8c 100644 --- a/eZmaxApi/models/discussionmessage_response.py +++ b/eZmaxApi/models/discussionmessage_response.py @@ -110,25 +110,7 @@ def to_dict(self) -> Dict[str, Any]: return _dict @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + def from_dict(cls, obj: 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 ca24b7ac..75556121 100644 --- a/eZmaxApi/models/discussionmessage_response_compound.py +++ b/eZmaxApi/models/discussionmessage_response_compound.py @@ -18,53 +18,20 @@ import re # noqa: F401 import json -from pydantic import BaseModel, ConfigDict, Field, field_validator -from typing import Any, ClassVar, Dict, List, Optional -from typing_extensions import Annotated +from pydantic import ConfigDict +from typing import Any, ClassVar, Dict, List 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(BaseModel): +class DiscussionmessageResponseCompound(DiscussionmessageResponse): """ 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 31b145cc..84a2fa21 100644 --- a/eZmaxApi/models/domain_create_object_v1_response.py +++ b/eZmaxApi/models/domain_create_object_v1_response.py @@ -18,20 +18,19 @@ import re # noqa: F401 import json -from pydantic import BaseModel, ConfigDict, Field -from typing import Any, ClassVar, Dict, List, Optional +from pydantic import ConfigDict, Field +from typing import Any, ClassVar, Dict, List +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.domain_create_object_v1_response_m_payload import DomainCreateObjectV1ResponseMPayload from typing import Optional, Set from typing_extensions import Self -class DomainCreateObjectV1Response(BaseModel): +class DomainCreateObjectV1Response(CommonResponse): """ 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 7efb9016..caa512b5 100644 --- a/eZmaxApi/models/domain_delete_object_v1_response.py +++ b/eZmaxApi/models/domain_delete_object_v1_response.py @@ -18,19 +18,18 @@ import re # noqa: F401 import json -from pydantic import BaseModel, ConfigDict, Field -from typing import Any, ClassVar, Dict, List, Optional +from pydantic import ConfigDict +from typing import Any, ClassVar, Dict, List +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 DomainDeleteObjectV1Response(BaseModel): +class DomainDeleteObjectV1Response(CommonResponse): """ 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 9af96293..c5aadd32 100644 --- a/eZmaxApi/models/domain_get_list_v1_response.py +++ b/eZmaxApi/models/domain_get_list_v1_response.py @@ -18,20 +18,19 @@ import re # noqa: F401 import json -from pydantic import BaseModel, ConfigDict, Field -from typing import Any, ClassVar, Dict, List, Optional +from pydantic import ConfigDict, Field +from typing import Any, ClassVar, Dict, List +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 eZmaxApi.models.domain_get_list_v1_response_m_payload import DomainGetListV1ResponseMPayload from typing import Optional, Set from typing_extensions import Self -class DomainGetListV1Response(BaseModel): +class DomainGetListV1Response(CommonResponseGetList): """ 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 0fb3b322..4dd5072d 100644 --- a/eZmaxApi/models/domain_get_list_v1_response_m_payload.py +++ b/eZmaxApi/models/domain_get_list_v1_response_m_payload.py @@ -18,18 +18,17 @@ import re # noqa: F401 import json -from pydantic import BaseModel, ConfigDict, Field, StrictInt +from pydantic import ConfigDict, Field 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(BaseModel): +class DomainGetListV1ResponseMPayload(CommonGetListV1ResponseMPayload): """ 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 78e389c5..b1d4b50e 100644 --- a/eZmaxApi/models/domain_get_object_v2_response.py +++ b/eZmaxApi/models/domain_get_object_v2_response.py @@ -18,20 +18,19 @@ import re # noqa: F401 import json -from pydantic import BaseModel, ConfigDict, Field -from typing import Any, ClassVar, Dict, List, Optional +from pydantic import ConfigDict, Field +from typing import Any, ClassVar, Dict, List +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.domain_get_object_v2_response_m_payload import DomainGetObjectV2ResponseMPayload from typing import Optional, Set from typing_extensions import Self -class DomainGetObjectV2Response(BaseModel): +class DomainGetObjectV2Response(CommonResponse): """ 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 b8e5c0dd..71bf3182 100644 --- a/eZmaxApi/models/domain_request.py +++ b/eZmaxApi/models/domain_request.py @@ -81,18 +81,7 @@ def to_dict(self) -> Dict[str, Any]: return _dict @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + def from_dict(cls, obj: 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 14cddc63..5c7db59f 100644 --- a/eZmaxApi/models/domain_request_compound.py +++ b/eZmaxApi/models/domain_request_compound.py @@ -18,27 +18,18 @@ import re # noqa: F401 import json -from pydantic import BaseModel, ConfigDict, Field, field_validator -from typing import Any, ClassVar, Dict, List, Optional -from typing_extensions import Annotated +from pydantic import ConfigDict +from typing import Any, ClassVar, Dict, List +from eZmaxApi.models.domain_request import DomainRequest from typing import Optional, Set from typing_extensions import Self -class DomainRequestCompound(BaseModel): +class DomainRequestCompound(DomainRequest): """ 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 d30e00ce..7ace4209 100644 --- a/eZmaxApi/models/domain_response.py +++ b/eZmaxApi/models/domain_response.py @@ -89,22 +89,7 @@ def to_dict(self) -> Dict[str, Any]: return _dict @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + def from_dict(cls, obj: 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 2696dba9..674aaccd 100644 --- a/eZmaxApi/models/domain_response_compound.py +++ b/eZmaxApi/models/domain_response_compound.py @@ -18,33 +18,20 @@ import re # noqa: F401 import json -from pydantic import BaseModel, ConfigDict, Field, StrictBool, field_validator +from pydantic import ConfigDict, Field 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 typing import Optional, Set from typing_extensions import Self -class DomainResponseCompound(BaseModel): +class DomainResponseCompound(DomainResponse): """ A Domain Object """ # noqa: E501 - pki_domain_id: Annotated[int, Field(le=255, strict=True, ge=0)] = Field(description="The unique ID of the Domain", alias="pkiDomainID") - s_domain_name: Annotated[str, Field(strict=True)] = Field(description="The name of the Domain", alias="sDomainName") - b_domain_validdkim: StrictBool = Field(description="Whether the DKIM is valid or not", alias="bDomainValiddkim") - b_domain_validmailfrom: StrictBool = Field(description="Whether the mail from is valid or not", alias="bDomainValidmailfrom") - b_domain_validcustomer: StrictBool = Field(description="Whether the customer has access to it or not", alias="bDomainValidcustomer") - obj_audit: CommonAudit = Field(alias="objAudit") a_obj_dnsrecord: List[object] = 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, diff --git a/eZmaxApi/models/electronicfundstransfer_get_communication_count_v1_response.py b/eZmaxApi/models/electronicfundstransfer_get_communication_count_v1_response.py index 10047f6c..bd0c51fe 100644 --- a/eZmaxApi/models/electronicfundstransfer_get_communication_count_v1_response.py +++ b/eZmaxApi/models/electronicfundstransfer_get_communication_count_v1_response.py @@ -18,20 +18,19 @@ import re # noqa: F401 import json -from pydantic import BaseModel, ConfigDict, Field -from typing import Any, ClassVar, Dict, List, Optional +from pydantic import ConfigDict, Field +from typing import Any, ClassVar, Dict, List +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.electronicfundstransfer_get_communication_count_v1_response_m_payload import ElectronicfundstransferGetCommunicationCountV1ResponseMPayload from typing import Optional, Set from typing_extensions import Self -class ElectronicfundstransferGetCommunicationCountV1Response(BaseModel): +class ElectronicfundstransferGetCommunicationCountV1Response(CommonResponse): """ 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 8bca3abe..042cb6c2 100644 --- a/eZmaxApi/models/electronicfundstransfer_get_communication_list_v1_response.py +++ b/eZmaxApi/models/electronicfundstransfer_get_communication_list_v1_response.py @@ -18,20 +18,19 @@ import re # noqa: F401 import json -from pydantic import BaseModel, ConfigDict, Field -from typing import Any, ClassVar, Dict, List, Optional +from pydantic import ConfigDict, Field +from typing import Any, ClassVar, Dict, List +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 eZmaxApi.models.electronicfundstransfer_get_communication_list_v1_response_m_payload import ElectronicfundstransferGetCommunicationListV1ResponseMPayload from typing import Optional, Set from typing_extensions import Self -class ElectronicfundstransferGetCommunicationListV1Response(BaseModel): +class ElectronicfundstransferGetCommunicationListV1Response(CommonResponseGetList): """ 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 a6a82581..d3fc3088 100644 --- a/eZmaxApi/models/electronicfundstransfer_get_communicationrecipients_v1_response.py +++ b/eZmaxApi/models/electronicfundstransfer_get_communicationrecipients_v1_response.py @@ -18,20 +18,19 @@ import re # noqa: F401 import json -from pydantic import BaseModel, ConfigDict, Field -from typing import Any, ClassVar, Dict, List, Optional +from pydantic import ConfigDict, Field +from typing import Any, ClassVar, Dict, List +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.electronicfundstransfer_get_communicationrecipients_v1_response_m_payload import ElectronicfundstransferGetCommunicationrecipientsV1ResponseMPayload from typing import Optional, Set from typing_extensions import Self -class ElectronicfundstransferGetCommunicationrecipientsV1Response(BaseModel): +class ElectronicfundstransferGetCommunicationrecipientsV1Response(CommonResponse): """ 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 399f7fb7..4707170b 100644 --- a/eZmaxApi/models/electronicfundstransfer_get_communicationsenders_v1_response.py +++ b/eZmaxApi/models/electronicfundstransfer_get_communicationsenders_v1_response.py @@ -18,20 +18,19 @@ import re # noqa: F401 import json -from pydantic import BaseModel, ConfigDict, Field -from typing import Any, ClassVar, Dict, List, Optional +from pydantic import ConfigDict, Field +from typing import Any, ClassVar, Dict, List +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.electronicfundstransfer_get_communicationsenders_v1_response_m_payload import ElectronicfundstransferGetCommunicationsendersV1ResponseMPayload from typing import Optional, Set from typing_extensions import Self -class ElectronicfundstransferGetCommunicationsendersV1Response(BaseModel): +class ElectronicfundstransferGetCommunicationsendersV1Response(CommonResponse): """ 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 754f0e3f..1eaa80db 100644 --- a/eZmaxApi/models/emailtype_get_autocomplete_v2_response.py +++ b/eZmaxApi/models/emailtype_get_autocomplete_v2_response.py @@ -18,20 +18,19 @@ import re # noqa: F401 import json -from pydantic import BaseModel, ConfigDict, Field -from typing import Any, ClassVar, Dict, List, Optional +from pydantic import ConfigDict, Field +from typing import Any, ClassVar, Dict, List +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.emailtype_get_autocomplete_v2_response_m_payload import EmailtypeGetAutocompleteV2ResponseMPayload from typing import Optional, Set from typing_extensions import Self -class EmailtypeGetAutocompleteV2Response(BaseModel): +class EmailtypeGetAutocompleteV2Response(CommonResponse): """ 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 20ef7862..1141c02a 100644 --- a/eZmaxApi/models/ezdoctemplatedocument_create_object_v1_response.py +++ b/eZmaxApi/models/ezdoctemplatedocument_create_object_v1_response.py @@ -18,20 +18,19 @@ import re # noqa: F401 import json -from pydantic import BaseModel, ConfigDict, Field -from typing import Any, ClassVar, Dict, List, Optional +from pydantic import ConfigDict, Field +from typing import Any, ClassVar, Dict, List +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.ezdoctemplatedocument_create_object_v1_response_m_payload import EzdoctemplatedocumentCreateObjectV1ResponseMPayload from typing import Optional, Set from typing_extensions import Self -class EzdoctemplatedocumentCreateObjectV1Response(BaseModel): +class EzdoctemplatedocumentCreateObjectV1Response(CommonResponse): """ 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 fbc397fe..4ee88b80 100644 --- a/eZmaxApi/models/ezdoctemplatedocument_edit_object_v1_response.py +++ b/eZmaxApi/models/ezdoctemplatedocument_edit_object_v1_response.py @@ -18,19 +18,18 @@ import re # noqa: F401 import json -from pydantic import BaseModel, ConfigDict, Field -from typing import Any, ClassVar, Dict, List, Optional +from pydantic import ConfigDict +from typing import Any, ClassVar, Dict, List +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 EzdoctemplatedocumentEditObjectV1Response(BaseModel): +class EzdoctemplatedocumentEditObjectV1Response(CommonResponse): """ 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 11466662..eee8751d 100644 --- a/eZmaxApi/models/ezdoctemplatedocument_get_autocomplete_v2_response.py +++ b/eZmaxApi/models/ezdoctemplatedocument_get_autocomplete_v2_response.py @@ -18,20 +18,19 @@ import re # noqa: F401 import json -from pydantic import BaseModel, ConfigDict, Field -from typing import Any, ClassVar, Dict, List, Optional +from pydantic import ConfigDict, Field +from typing import Any, ClassVar, Dict, List +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.ezdoctemplatedocument_get_autocomplete_v2_response_m_payload import EzdoctemplatedocumentGetAutocompleteV2ResponseMPayload from typing import Optional, Set from typing_extensions import Self -class EzdoctemplatedocumentGetAutocompleteV2Response(BaseModel): +class EzdoctemplatedocumentGetAutocompleteV2Response(CommonResponse): """ 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 f8cc8fef..b6ad59e9 100644 --- a/eZmaxApi/models/ezdoctemplatedocument_get_list_v1_response.py +++ b/eZmaxApi/models/ezdoctemplatedocument_get_list_v1_response.py @@ -18,20 +18,19 @@ import re # noqa: F401 import json -from pydantic import BaseModel, ConfigDict, Field -from typing import Any, ClassVar, Dict, List, Optional +from pydantic import ConfigDict, Field +from typing import Any, ClassVar, Dict, List +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 eZmaxApi.models.ezdoctemplatedocument_get_list_v1_response_m_payload import EzdoctemplatedocumentGetListV1ResponseMPayload from typing import Optional, Set from typing_extensions import Self -class EzdoctemplatedocumentGetListV1Response(BaseModel): +class EzdoctemplatedocumentGetListV1Response(CommonResponseGetList): """ 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 0f9e0ad4..dd156e1a 100644 --- a/eZmaxApi/models/ezdoctemplatedocument_get_list_v1_response_m_payload.py +++ b/eZmaxApi/models/ezdoctemplatedocument_get_list_v1_response_m_payload.py @@ -18,18 +18,17 @@ import re # noqa: F401 import json -from pydantic import BaseModel, ConfigDict, Field, StrictInt +from pydantic import ConfigDict, Field 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(BaseModel): +class EzdoctemplatedocumentGetListV1ResponseMPayload(CommonGetListV1ResponseMPayload): """ 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 b97157e6..473ad581 100644 --- a/eZmaxApi/models/ezdoctemplatedocument_get_object_v2_response.py +++ b/eZmaxApi/models/ezdoctemplatedocument_get_object_v2_response.py @@ -18,20 +18,19 @@ import re # noqa: F401 import json -from pydantic import BaseModel, ConfigDict, Field -from typing import Any, ClassVar, Dict, List, Optional +from pydantic import ConfigDict, Field +from typing import Any, ClassVar, Dict, List +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.ezdoctemplatedocument_get_object_v2_response_m_payload import EzdoctemplatedocumentGetObjectV2ResponseMPayload from typing import Optional, Set from typing_extensions import Self -class EzdoctemplatedocumentGetObjectV2Response(BaseModel): +class EzdoctemplatedocumentGetObjectV2Response(CommonResponse): """ 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 b02591b2..21bf419d 100644 --- a/eZmaxApi/models/ezdoctemplatedocument_patch_object_v1_response.py +++ b/eZmaxApi/models/ezdoctemplatedocument_patch_object_v1_response.py @@ -18,19 +18,18 @@ import re # noqa: F401 import json -from pydantic import BaseModel, ConfigDict, Field -from typing import Any, ClassVar, Dict, List, Optional +from pydantic import ConfigDict +from typing import Any, ClassVar, Dict, List +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 EzdoctemplatedocumentPatchObjectV1Response(BaseModel): +class EzdoctemplatedocumentPatchObjectV1Response(CommonResponse): """ 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 80d3868a..a0adf782 100644 --- a/eZmaxApi/models/ezdoctemplatedocument_request.py +++ b/eZmaxApi/models/ezdoctemplatedocument_request.py @@ -85,24 +85,7 @@ def to_dict(self) -> Dict[str, Any]: return _dict @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + def from_dict(cls, obj: 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 76752a8e..301be9dc 100644 --- a/eZmaxApi/models/ezdoctemplatedocument_request_compound.py +++ b/eZmaxApi/models/ezdoctemplatedocument_request_compound.py @@ -18,26 +18,18 @@ import re # noqa: F401 import json -from pydantic import BaseModel, ConfigDict, Field, StrictBool -from typing import Any, ClassVar, Dict, List, Optional -from typing_extensions import Annotated +from pydantic import ConfigDict +from typing import Any, ClassVar, Dict, List +from eZmaxApi.models.ezdoctemplatedocument_request import EzdoctemplatedocumentRequest from eZmaxApi.models.field_e_ezdoctemplatedocument_privacylevel import FieldEEzdoctemplatedocumentPrivacylevel from eZmaxApi.models.multilingual_ezdoctemplatedocument_name import MultilingualEzdoctemplatedocumentName from typing import Optional, Set from typing_extensions import Self -class EzdoctemplatedocumentRequestCompound(BaseModel): +class EzdoctemplatedocumentRequestCompound(EzdoctemplatedocumentRequest): """ 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 a1458857..6708ab69 100644 --- a/eZmaxApi/models/ezdoctemplatedocument_response.py +++ b/eZmaxApi/models/ezdoctemplatedocument_response.py @@ -113,28 +113,7 @@ def to_dict(self) -> Dict[str, Any]: return _dict @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + def from_dict(cls, obj: 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 8842c812..1b49ccfe 100644 --- a/eZmaxApi/models/ezdoctemplatedocument_response_compound.py +++ b/eZmaxApi/models/ezdoctemplatedocument_response_compound.py @@ -18,56 +18,20 @@ import re # noqa: F401 import json -from pydantic import BaseModel, ConfigDict, Field, StrictBool, StrictStr, field_validator -from typing import Any, ClassVar, Dict, List, Optional -from typing_extensions import Annotated +from pydantic import ConfigDict +from typing import Any, ClassVar, Dict, List +from eZmaxApi.models.ezdoctemplatedocument_response import EzdoctemplatedocumentResponse from eZmaxApi.models.field_e_ezdoctemplatedocument_privacylevel import FieldEEzdoctemplatedocumentPrivacylevel from eZmaxApi.models.multilingual_ezdoctemplatedocument_name import MultilingualEzdoctemplatedocumentName from typing import Optional, Set from typing_extensions import Self -class EzdoctemplatedocumentResponseCompound(BaseModel): +class EzdoctemplatedocumentResponseCompound(EzdoctemplatedocumentResponse): """ 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 189f263d..e10bc4e9 100644 --- a/eZmaxApi/models/ezdoctemplatefieldtypecategory_get_autocomplete_v2_response.py +++ b/eZmaxApi/models/ezdoctemplatefieldtypecategory_get_autocomplete_v2_response.py @@ -18,20 +18,19 @@ import re # noqa: F401 import json -from pydantic import BaseModel, ConfigDict, Field -from typing import Any, ClassVar, Dict, List, Optional +from pydantic import ConfigDict, Field +from typing import Any, ClassVar, Dict, List +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.ezdoctemplatefieldtypecategory_get_autocomplete_v2_response_m_payload import EzdoctemplatefieldtypecategoryGetAutocompleteV2ResponseMPayload from typing import Optional, Set from typing_extensions import Self -class EzdoctemplatefieldtypecategoryGetAutocompleteV2Response(BaseModel): +class EzdoctemplatefieldtypecategoryGetAutocompleteV2Response(CommonResponse): """ 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 aeac8f76..9ed6519c 100644 --- a/eZmaxApi/models/ezdoctemplatetype_get_autocomplete_v2_response.py +++ b/eZmaxApi/models/ezdoctemplatetype_get_autocomplete_v2_response.py @@ -18,20 +18,19 @@ import re # noqa: F401 import json -from pydantic import BaseModel, ConfigDict, Field -from typing import Any, ClassVar, Dict, List, Optional +from pydantic import ConfigDict, Field +from typing import Any, ClassVar, Dict, List +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.ezdoctemplatetype_get_autocomplete_v2_response_m_payload import EzdoctemplatetypeGetAutocompleteV2ResponseMPayload from typing import Optional, Set from typing_extensions import Self -class EzdoctemplatetypeGetAutocompleteV2Response(BaseModel): +class EzdoctemplatetypeGetAutocompleteV2Response(CommonResponse): """ 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 84d0eabf..fe45427b 100644 --- a/eZmaxApi/models/ezmaxinvoicing_get_autocomplete_v2_response.py +++ b/eZmaxApi/models/ezmaxinvoicing_get_autocomplete_v2_response.py @@ -18,20 +18,19 @@ import re # noqa: F401 import json -from pydantic import BaseModel, ConfigDict, Field -from typing import Any, ClassVar, Dict, List, Optional +from pydantic import ConfigDict, Field +from typing import Any, ClassVar, Dict, List +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.ezmaxinvoicing_get_autocomplete_v2_response_m_payload import EzmaxinvoicingGetAutocompleteV2ResponseMPayload from typing import Optional, Set from typing_extensions import Self -class EzmaxinvoicingGetAutocompleteV2Response(BaseModel): +class EzmaxinvoicingGetAutocompleteV2Response(CommonResponse): """ 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 e633eb39..770f82d0 100644 --- a/eZmaxApi/models/ezmaxinvoicing_get_object_v2_response.py +++ b/eZmaxApi/models/ezmaxinvoicing_get_object_v2_response.py @@ -18,20 +18,19 @@ import re # noqa: F401 import json -from pydantic import BaseModel, ConfigDict, Field -from typing import Any, ClassVar, Dict, List, Optional +from pydantic import ConfigDict, Field +from typing import Any, ClassVar, Dict, List +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.ezmaxinvoicing_get_object_v2_response_m_payload import EzmaxinvoicingGetObjectV2ResponseMPayload from typing import Optional, Set from typing_extensions import Self -class EzmaxinvoicingGetObjectV2Response(BaseModel): +class EzmaxinvoicingGetObjectV2Response(CommonResponse): """ 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 6d023a46..5cb44442 100644 --- a/eZmaxApi/models/ezmaxinvoicing_get_provisional_v1_response.py +++ b/eZmaxApi/models/ezmaxinvoicing_get_provisional_v1_response.py @@ -18,20 +18,19 @@ import re # noqa: F401 import json -from pydantic import BaseModel, ConfigDict, Field -from typing import Any, ClassVar, Dict, List, Optional +from pydantic import ConfigDict, Field +from typing import Any, ClassVar, Dict, List +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.ezmaxinvoicing_response_compound import EzmaxinvoicingResponseCompound from typing import Optional, Set from typing_extensions import Self -class EzmaxinvoicingGetProvisionalV1Response(BaseModel): +class EzmaxinvoicingGetProvisionalV1Response(CommonResponse): """ Response for GET /1/object/ezmaxinvoicing/getProvisional """ # noqa: E501 - obj_debug_payload: CommonResponseObjDebugPayload = Field(alias="objDebugPayload") - obj_debug: Optional[CommonResponseObjDebug] = Field(default=None, alias="objDebug") m_payload: EzmaxinvoicingResponseCompound = Field(description="Payload for GET /1/object/ezmaxinvoicing/getProvisional", alias="mPayload") __properties: ClassVar[List[str]] = ["objDebugPayload", "objDebug", "mPayload"] 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 769b3bd2..91a00c4d 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,11 @@ import re # noqa: F401 import json -from pydantic import BaseModel, ConfigDict, Field, StrictBool, StrictStr, field_validator -from typing import Any, ClassVar, Dict, List, Optional -from typing_extensions import Annotated +from pydantic import ConfigDict +from typing import Any, ClassVar, Dict, List from eZmaxApi.models.common_audit import CommonAudit 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,48 +33,12 @@ from typing import Optional, Set from typing_extensions import Self -class EzmaxinvoicingGetProvisionalV1ResponseMPayload(BaseModel): +class EzmaxinvoicingGetProvisionalV1ResponseMPayload(EzmaxinvoicingResponseCompound): """ 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[object] = Field(alias="a_objEzmaxinvoicingezsignfolder") - a_obj_ezmaxinvoicingezsigndocument: List[object] = 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, diff --git a/eZmaxApi/models/ezmaxinvoicing_response.py b/eZmaxApi/models/ezmaxinvoicing_response.py index 3fcf69b6..2cd60ce3 100644 --- a/eZmaxApi/models/ezmaxinvoicing_response.py +++ b/eZmaxApi/models/ezmaxinvoicing_response.py @@ -104,29 +104,7 @@ def to_dict(self) -> Dict[str, Any]: return _dict @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + def from_dict(cls, obj: 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 07010071..499ae2b8 100644 --- a/eZmaxApi/models/ezmaxinvoicing_response_compound.py +++ b/eZmaxApi/models/ezmaxinvoicing_response_compound.py @@ -18,11 +18,11 @@ import re # noqa: F401 import json -from pydantic import BaseModel, ConfigDict, Field, StrictBool, StrictStr, field_validator -from typing import Any, ClassVar, Dict, List, Optional -from typing_extensions import Annotated +from pydantic import ConfigDict, Field +from typing import Any, ClassVar, Dict, List from eZmaxApi.models.common_audit import CommonAudit 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,23 +33,10 @@ from typing import Optional, Set from typing_extensions import Self -class EzmaxinvoicingResponseCompound(BaseModel): +class EzmaxinvoicingResponseCompound(EzmaxinvoicingResponse): """ 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") @@ -61,20 +48,6 @@ class EzmaxinvoicingResponseCompound(BaseModel): a_obj_ezmaxinvoicingezsigndocument: List[object] = 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, @@ -161,38 +134,7 @@ def to_dict(self) -> Dict[str, Any]: return _dict @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + def from_dict(cls, obj: 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": obj.get("a_objEzmaxinvoicingezsignfolder"), - "a_objEzmaxinvoicingezsigndocument": obj.get("a_objEzmaxinvoicingezsigndocument") - }) - return _obj diff --git a/eZmaxApi/models/ezmaxinvoicingagent_response.py b/eZmaxApi/models/ezmaxinvoicingagent_response.py index f8a57c96..de9e039b 100644 --- a/eZmaxApi/models/ezmaxinvoicingagent_response.py +++ b/eZmaxApi/models/ezmaxinvoicingagent_response.py @@ -94,36 +94,7 @@ def to_dict(self) -> Dict[str, Any]: return _dict @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + def from_dict(cls, obj: 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 99a94d5f..3be34dba 100644 --- a/eZmaxApi/models/ezmaxinvoicingagent_response_compound.py +++ b/eZmaxApi/models/ezmaxinvoicingagent_response_compound.py @@ -18,39 +18,19 @@ import re # noqa: F401 import json -from pydantic import BaseModel, ConfigDict, Field, StrictBool, StrictStr -from typing import Any, ClassVar, Dict, List, Optional -from typing_extensions import Annotated +from pydantic import ConfigDict, Field +from typing import Any, ClassVar, Dict, List 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(BaseModel): +class EzmaxinvoicingagentResponseCompound(EzmaxinvoicingagentResponse): """ 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 279b26c4..e6e1ae51 100644 --- a/eZmaxApi/models/ezmaxinvoicingcommission_response.py +++ b/eZmaxApi/models/ezmaxinvoicingcommission_response.py @@ -87,24 +87,7 @@ def to_dict(self) -> Dict[str, Any]: return _dict @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + def from_dict(cls, obj: 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 a2dc2979..16770bf4 100644 --- a/eZmaxApi/models/ezmaxinvoicingcommission_response_compound.py +++ b/eZmaxApi/models/ezmaxinvoicingcommission_response_compound.py @@ -18,35 +18,20 @@ import re # noqa: F401 import json -from pydantic import BaseModel, ConfigDict, Field, StrictInt, StrictStr, field_validator +from pydantic import ConfigDict, Field 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(BaseModel): +class EzmaxinvoicingcommissionResponseCompound(EzmaxinvoicingcommissionResponse): """ 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 cb1fa05f..94383db2 100644 --- a/eZmaxApi/models/ezmaxinvoicingcontract_response.py +++ b/eZmaxApi/models/ezmaxinvoicingcontract_response.py @@ -100,25 +100,7 @@ def to_dict(self) -> Dict[str, Any]: return _dict @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + def from_dict(cls, obj: 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 0cfc5f26..f1fbfe7c 100644 --- a/eZmaxApi/models/ezmaxinvoicingcontract_response_compound.py +++ b/eZmaxApi/models/ezmaxinvoicingcontract_response_compound.py @@ -18,43 +18,20 @@ import re # noqa: F401 import json -from pydantic import BaseModel, ConfigDict, Field, StrictBool, StrictStr, field_validator +from pydantic import ConfigDict 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(BaseModel): +class EzmaxinvoicingcontractResponseCompound(EzmaxinvoicingcontractResponse): """ 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 9b11d8ba..063f2601 100644 --- a/eZmaxApi/models/ezmaxinvoicingsummaryexternal_response.py +++ b/eZmaxApi/models/ezmaxinvoicingsummaryexternal_response.py @@ -77,21 +77,7 @@ def to_dict(self) -> Dict[str, Any]: return _dict @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + def from_dict(cls, obj: 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 04ce90d7..a71f9bfb 100644 --- a/eZmaxApi/models/ezmaxinvoicingsummaryexternal_response_compound.py +++ b/eZmaxApi/models/ezmaxinvoicingsummaryexternal_response_compound.py @@ -18,22 +18,17 @@ import re # noqa: F401 import json -from pydantic import BaseModel, ConfigDict, Field, StrictStr -from typing import Any, ClassVar, Dict, List, Optional -from typing_extensions import Annotated +from pydantic import ConfigDict, Field +from typing import Any, ClassVar, Dict, List +from eZmaxApi.models.ezmaxinvoicingsummaryexternal_response import EzmaxinvoicingsummaryexternalResponse from eZmaxApi.models.ezmaxinvoicingsummaryexternaldetail_response_compound import EzmaxinvoicingsummaryexternaldetailResponseCompound from typing import Optional, Set from typing_extensions import Self -class EzmaxinvoicingsummaryexternalResponseCompound(BaseModel): +class EzmaxinvoicingsummaryexternalResponseCompound(EzmaxinvoicingsummaryexternalResponse): """ 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 504a8dd2..c9245ffe 100644 --- a/eZmaxApi/models/ezmaxinvoicingsummaryexternaldetail_response.py +++ b/eZmaxApi/models/ezmaxinvoicingsummaryexternaldetail_response.py @@ -110,26 +110,7 @@ def to_dict(self) -> Dict[str, Any]: return _dict @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + def from_dict(cls, obj: 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 86e5c531..41ba13ed 100644 --- a/eZmaxApi/models/ezmaxinvoicingsummaryexternaldetail_response_compound.py +++ b/eZmaxApi/models/ezmaxinvoicingsummaryexternaldetail_response_compound.py @@ -18,56 +18,18 @@ import re # noqa: F401 import json -from pydantic import BaseModel, ConfigDict, Field, StrictBool, StrictStr, field_validator -from typing import Any, ClassVar, Dict, List, Optional -from typing_extensions import Annotated +from pydantic import ConfigDict +from typing import Any, ClassVar, Dict, List +from eZmaxApi.models.ezmaxinvoicingsummaryexternaldetail_response import EzmaxinvoicingsummaryexternaldetailResponse from typing import Optional, Set from typing_extensions import Self -class EzmaxinvoicingsummaryexternaldetailResponseCompound(BaseModel): +class EzmaxinvoicingsummaryexternaldetailResponseCompound(EzmaxinvoicingsummaryexternaldetailResponse): """ 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 de307bbf..af7316a1 100644 --- a/eZmaxApi/models/ezmaxinvoicingsummaryglobal_response.py +++ b/eZmaxApi/models/ezmaxinvoicingsummaryglobal_response.py @@ -170,35 +170,7 @@ def to_dict(self) -> Dict[str, Any]: return _dict @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + def from_dict(cls, obj: 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 80f88847..9b1d0214 100644 --- a/eZmaxApi/models/ezmaxinvoicingsummaryglobal_response_compound.py +++ b/eZmaxApi/models/ezmaxinvoicingsummaryglobal_response_compound.py @@ -18,118 +18,20 @@ import re # noqa: F401 import json -from pydantic import BaseModel, ConfigDict, Field, StrictBool, StrictStr, field_validator +from pydantic import ConfigDict, Field 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(BaseModel): +class EzmaxinvoicingsummaryglobalResponseCompound(EzmaxinvoicingsummaryglobalResponse): """ 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 be185a67..e7d52a4d 100644 --- a/eZmaxApi/models/ezmaxinvoicingsummaryinternal_response.py +++ b/eZmaxApi/models/ezmaxinvoicingsummaryinternal_response.py @@ -82,22 +82,7 @@ def to_dict(self) -> Dict[str, Any]: return _dict @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + def from_dict(cls, obj: 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 5e33b144..06d9c390 100644 --- a/eZmaxApi/models/ezmaxinvoicingsummaryinternal_response_compound.py +++ b/eZmaxApi/models/ezmaxinvoicingsummaryinternal_response_compound.py @@ -18,24 +18,18 @@ import re # noqa: F401 import json -from pydantic import BaseModel, ConfigDict, Field, StrictStr -from typing import Any, ClassVar, Dict, List, Optional -from typing_extensions import Annotated +from pydantic import ConfigDict, Field +from typing import Any, ClassVar, Dict, List +from eZmaxApi.models.ezmaxinvoicingsummaryinternal_response import EzmaxinvoicingsummaryinternalResponse 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(BaseModel): +class EzmaxinvoicingsummaryinternalResponseCompound(EzmaxinvoicingsummaryinternalResponse): """ 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 f948cf6e..c4988644 100644 --- a/eZmaxApi/models/ezmaxinvoicingsummaryinternaldetail_response.py +++ b/eZmaxApi/models/ezmaxinvoicingsummaryinternaldetail_response.py @@ -112,28 +112,7 @@ def to_dict(self) -> Dict[str, Any]: return _dict @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + def from_dict(cls, obj: 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 07b1a5a7..64495cc9 100644 --- a/eZmaxApi/models/ezmaxinvoicingsummaryinternaldetail_response_compound.py +++ b/eZmaxApi/models/ezmaxinvoicingsummaryinternaldetail_response_compound.py @@ -18,58 +18,18 @@ import re # noqa: F401 import json -from pydantic import BaseModel, ConfigDict, Field, StrictBool, StrictStr, field_validator -from typing import Any, ClassVar, Dict, List, Optional -from typing_extensions import Annotated +from pydantic import ConfigDict +from typing import Any, ClassVar, Dict, List +from eZmaxApi.models.ezmaxinvoicingsummaryinternaldetail_response import EzmaxinvoicingsummaryinternaldetailResponse from typing import Optional, Set from typing_extensions import Self -class EzmaxinvoicingsummaryinternaldetailResponseCompound(BaseModel): +class EzmaxinvoicingsummaryinternaldetailResponseCompound(EzmaxinvoicingsummaryinternaldetailResponse): """ 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 95705f5e..90b2b7e5 100644 --- a/eZmaxApi/models/ezmaxinvoicinguser_response.py +++ b/eZmaxApi/models/ezmaxinvoicinguser_response.py @@ -82,25 +82,7 @@ def to_dict(self) -> Dict[str, Any]: return _dict @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + def from_dict(cls, obj: 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 90caad31..eb459012 100644 --- a/eZmaxApi/models/ezmaxinvoicinguser_response_compound.py +++ b/eZmaxApi/models/ezmaxinvoicinguser_response_compound.py @@ -18,27 +18,18 @@ import re # noqa: F401 import json -from pydantic import BaseModel, ConfigDict, Field, StrictBool, StrictStr -from typing import Any, ClassVar, Dict, List, Optional -from typing_extensions import Annotated +from pydantic import ConfigDict, Field +from typing import Any, ClassVar, Dict, List 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(BaseModel): +class EzmaxinvoicinguserResponseCompound(EzmaxinvoicinguserResponse): """ 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 75d71745..7d6030b4 100644 --- a/eZmaxApi/models/ezmaxproduct_get_autocomplete_v2_response.py +++ b/eZmaxApi/models/ezmaxproduct_get_autocomplete_v2_response.py @@ -18,20 +18,19 @@ import re # noqa: F401 import json -from pydantic import BaseModel, ConfigDict, Field -from typing import Any, ClassVar, Dict, List, Optional +from pydantic import ConfigDict, Field +from typing import Any, ClassVar, Dict, List +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.ezmaxproduct_get_autocomplete_v2_response_m_payload import EzmaxproductGetAutocompleteV2ResponseMPayload from typing import Optional, Set from typing_extensions import Self -class EzmaxproductGetAutocompleteV2Response(BaseModel): +class EzmaxproductGetAutocompleteV2Response(CommonResponse): """ 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 e6fa1fd0..0d63bffe 100644 --- a/eZmaxApi/models/ezsignannotation_create_object_v1_response.py +++ b/eZmaxApi/models/ezsignannotation_create_object_v1_response.py @@ -18,20 +18,19 @@ import re # noqa: F401 import json -from pydantic import BaseModel, ConfigDict, Field -from typing import Any, ClassVar, Dict, List, Optional +from pydantic import ConfigDict, Field +from typing import Any, ClassVar, Dict, List +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.ezsignannotation_create_object_v1_response_m_payload import EzsignannotationCreateObjectV1ResponseMPayload from typing import Optional, Set from typing_extensions import Self -class EzsignannotationCreateObjectV1Response(BaseModel): +class EzsignannotationCreateObjectV1Response(CommonResponse): """ 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 06d750c2..301189e8 100644 --- a/eZmaxApi/models/ezsignannotation_delete_object_v1_response.py +++ b/eZmaxApi/models/ezsignannotation_delete_object_v1_response.py @@ -18,19 +18,18 @@ import re # noqa: F401 import json -from pydantic import BaseModel, ConfigDict, Field -from typing import Any, ClassVar, Dict, List, Optional +from pydantic import ConfigDict +from typing import Any, ClassVar, Dict, List +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 EzsignannotationDeleteObjectV1Response(BaseModel): +class EzsignannotationDeleteObjectV1Response(CommonResponse): """ 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 360f9e04..ea2ac3f6 100644 --- a/eZmaxApi/models/ezsignannotation_edit_object_v1_response.py +++ b/eZmaxApi/models/ezsignannotation_edit_object_v1_response.py @@ -18,19 +18,18 @@ import re # noqa: F401 import json -from pydantic import BaseModel, ConfigDict, Field -from typing import Any, ClassVar, Dict, List, Optional +from pydantic import ConfigDict +from typing import Any, ClassVar, Dict, List +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 EzsignannotationEditObjectV1Response(BaseModel): +class EzsignannotationEditObjectV1Response(CommonResponse): """ 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 96135073..2f3f8ab8 100644 --- a/eZmaxApi/models/ezsignannotation_get_object_v2_response.py +++ b/eZmaxApi/models/ezsignannotation_get_object_v2_response.py @@ -18,20 +18,19 @@ import re # noqa: F401 import json -from pydantic import BaseModel, ConfigDict, Field -from typing import Any, ClassVar, Dict, List, Optional +from pydantic import ConfigDict, Field +from typing import Any, ClassVar, Dict, List +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.ezsignannotation_get_object_v2_response_m_payload import EzsignannotationGetObjectV2ResponseMPayload from typing import Optional, Set from typing_extensions import Self -class EzsignannotationGetObjectV2Response(BaseModel): +class EzsignannotationGetObjectV2Response(CommonResponse): """ 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 a5f57b8c..d04777f9 100644 --- a/eZmaxApi/models/ezsignannotation_request.py +++ b/eZmaxApi/models/ezsignannotation_request.py @@ -86,27 +86,7 @@ def to_dict(self) -> Dict[str, Any]: return _dict @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + def from_dict(cls, obj: 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 c4dfa909..ed4de9f1 100644 --- a/eZmaxApi/models/ezsignannotation_request_compound.py +++ b/eZmaxApi/models/ezsignannotation_request_compound.py @@ -18,31 +18,20 @@ import re # noqa: F401 import json -from pydantic import BaseModel, ConfigDict, Field, StrictInt, StrictStr +from pydantic import ConfigDict, Field 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(BaseModel): +class EzsignannotationRequestCompound(EzsignannotationRequest): """ 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 f32b7f87..850239c3 100644 --- a/eZmaxApi/models/ezsignannotation_response.py +++ b/eZmaxApi/models/ezsignannotation_response.py @@ -86,27 +86,7 @@ def to_dict(self) -> Dict[str, Any]: return _dict @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + def from_dict(cls, obj: 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 dda318c8..ceec7c86 100644 --- a/eZmaxApi/models/ezsignannotation_response_compound.py +++ b/eZmaxApi/models/ezsignannotation_response_compound.py @@ -18,31 +18,20 @@ import re # noqa: F401 import json -from pydantic import BaseModel, ConfigDict, Field, StrictInt, StrictStr +from pydantic import ConfigDict, Field 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(BaseModel): +class EzsignannotationResponseCompound(EzsignannotationResponse): """ 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 4979cd7f..341e1dd2 100644 --- a/eZmaxApi/models/ezsignbulksend_create_ezsignbulksendtransmission_v2_response.py +++ b/eZmaxApi/models/ezsignbulksend_create_ezsignbulksendtransmission_v2_response.py @@ -18,20 +18,19 @@ import re # noqa: F401 import json -from pydantic import BaseModel, ConfigDict, Field -from typing import Any, ClassVar, Dict, List, Optional +from pydantic import ConfigDict, Field +from typing import Any, ClassVar, Dict, List +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.ezsignbulksend_create_ezsignbulksendtransmission_v2_response_m_payload import EzsignbulksendCreateEzsignbulksendtransmissionV2ResponseMPayload from typing import Optional, Set from typing_extensions import Self -class EzsignbulksendCreateEzsignbulksendtransmissionV2Response(BaseModel): +class EzsignbulksendCreateEzsignbulksendtransmissionV2Response(CommonResponse): """ 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 24159170..fc72cc1e 100644 --- a/eZmaxApi/models/ezsignbulksend_create_object_v1_response.py +++ b/eZmaxApi/models/ezsignbulksend_create_object_v1_response.py @@ -18,20 +18,19 @@ import re # noqa: F401 import json -from pydantic import BaseModel, ConfigDict, Field -from typing import Any, ClassVar, Dict, List, Optional +from pydantic import ConfigDict, Field +from typing import Any, ClassVar, Dict, List +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.ezsignbulksend_create_object_v1_response_m_payload import EzsignbulksendCreateObjectV1ResponseMPayload from typing import Optional, Set from typing_extensions import Self -class EzsignbulksendCreateObjectV1Response(BaseModel): +class EzsignbulksendCreateObjectV1Response(CommonResponse): """ 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 22d33e79..a5dcafa5 100644 --- a/eZmaxApi/models/ezsignbulksend_delete_object_v1_response.py +++ b/eZmaxApi/models/ezsignbulksend_delete_object_v1_response.py @@ -18,19 +18,18 @@ import re # noqa: F401 import json -from pydantic import BaseModel, ConfigDict, Field -from typing import Any, ClassVar, Dict, List, Optional +from pydantic import ConfigDict +from typing import Any, ClassVar, Dict, List +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 EzsignbulksendDeleteObjectV1Response(BaseModel): +class EzsignbulksendDeleteObjectV1Response(CommonResponse): """ 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 00537186..c96d4123 100644 --- a/eZmaxApi/models/ezsignbulksend_edit_object_v1_response.py +++ b/eZmaxApi/models/ezsignbulksend_edit_object_v1_response.py @@ -18,19 +18,18 @@ import re # noqa: F401 import json -from pydantic import BaseModel, ConfigDict, Field -from typing import Any, ClassVar, Dict, List, Optional +from pydantic import ConfigDict +from typing import Any, ClassVar, Dict, List +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 EzsignbulksendEditObjectV1Response(BaseModel): +class EzsignbulksendEditObjectV1Response(CommonResponse): """ 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 21d9deec..0fbbb5f6 100644 --- a/eZmaxApi/models/ezsignbulksend_get_ezsignbulksendtransmissions_v1_response.py +++ b/eZmaxApi/models/ezsignbulksend_get_ezsignbulksendtransmissions_v1_response.py @@ -18,20 +18,19 @@ import re # noqa: F401 import json -from pydantic import BaseModel, ConfigDict, Field -from typing import Any, ClassVar, Dict, List, Optional +from pydantic import ConfigDict, Field +from typing import Any, ClassVar, Dict, List +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.ezsignbulksend_get_ezsignbulksendtransmissions_v1_response_m_payload import EzsignbulksendGetEzsignbulksendtransmissionsV1ResponseMPayload from typing import Optional, Set from typing_extensions import Self -class EzsignbulksendGetEzsignbulksendtransmissionsV1Response(BaseModel): +class EzsignbulksendGetEzsignbulksendtransmissionsV1Response(CommonResponse): """ 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 9e0e0666..d52eea55 100644 --- a/eZmaxApi/models/ezsignbulksend_get_ezsignsignatures_automatic_v1_response.py +++ b/eZmaxApi/models/ezsignbulksend_get_ezsignsignatures_automatic_v1_response.py @@ -18,20 +18,19 @@ import re # noqa: F401 import json -from pydantic import BaseModel, ConfigDict, Field -from typing import Any, ClassVar, Dict, List, Optional +from pydantic import ConfigDict, Field +from typing import Any, ClassVar, Dict, List +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.ezsignbulksend_get_ezsignsignatures_automatic_v1_response_m_payload import EzsignbulksendGetEzsignsignaturesAutomaticV1ResponseMPayload from typing import Optional, Set from typing_extensions import Self -class EzsignbulksendGetEzsignsignaturesAutomaticV1Response(BaseModel): +class EzsignbulksendGetEzsignsignaturesAutomaticV1Response(CommonResponse): """ 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 4e73f65e..c9478001 100644 --- a/eZmaxApi/models/ezsignbulksend_get_forms_data_v1_response.py +++ b/eZmaxApi/models/ezsignbulksend_get_forms_data_v1_response.py @@ -18,20 +18,19 @@ import re # noqa: F401 import json -from pydantic import BaseModel, ConfigDict, Field -from typing import Any, ClassVar, Dict, List, Optional +from pydantic import ConfigDict, Field +from typing import Any, ClassVar, Dict, List +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.ezsignbulksend_get_forms_data_v1_response_m_payload import EzsignbulksendGetFormsDataV1ResponseMPayload from typing import Optional, Set from typing_extensions import Self -class EzsignbulksendGetFormsDataV1Response(BaseModel): +class EzsignbulksendGetFormsDataV1Response(CommonResponse): """ 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 94f19bf2..40829aa4 100644 --- a/eZmaxApi/models/ezsignbulksend_get_list_v1_response.py +++ b/eZmaxApi/models/ezsignbulksend_get_list_v1_response.py @@ -18,20 +18,19 @@ import re # noqa: F401 import json -from pydantic import BaseModel, ConfigDict, Field -from typing import Any, ClassVar, Dict, List, Optional +from pydantic import ConfigDict, Field +from typing import Any, ClassVar, Dict, List +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 eZmaxApi.models.ezsignbulksend_get_list_v1_response_m_payload import EzsignbulksendGetListV1ResponseMPayload from typing import Optional, Set from typing_extensions import Self -class EzsignbulksendGetListV1Response(BaseModel): +class EzsignbulksendGetListV1Response(CommonResponseGetList): """ 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 3c8e173f..1aa9f4a7 100644 --- a/eZmaxApi/models/ezsignbulksend_get_list_v1_response_m_payload.py +++ b/eZmaxApi/models/ezsignbulksend_get_list_v1_response_m_payload.py @@ -18,18 +18,17 @@ import re # noqa: F401 import json -from pydantic import BaseModel, ConfigDict, Field, StrictInt +from pydantic import ConfigDict, Field 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(BaseModel): +class EzsignbulksendGetListV1ResponseMPayload(CommonGetListV1ResponseMPayload): """ 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 3988924b..a32bad5d 100644 --- a/eZmaxApi/models/ezsignbulksend_get_object_v2_response.py +++ b/eZmaxApi/models/ezsignbulksend_get_object_v2_response.py @@ -18,20 +18,19 @@ import re # noqa: F401 import json -from pydantic import BaseModel, ConfigDict, Field -from typing import Any, ClassVar, Dict, List, Optional +from pydantic import ConfigDict, Field +from typing import Any, ClassVar, Dict, List +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.ezsignbulksend_get_object_v2_response_m_payload import EzsignbulksendGetObjectV2ResponseMPayload from typing import Optional, Set from typing_extensions import Self -class EzsignbulksendGetObjectV2Response(BaseModel): +class EzsignbulksendGetObjectV2Response(CommonResponse): """ 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 ffe90ed9..5d8c98ce 100644 --- a/eZmaxApi/models/ezsignbulksend_reorder_v1_response.py +++ b/eZmaxApi/models/ezsignbulksend_reorder_v1_response.py @@ -18,19 +18,18 @@ import re # noqa: F401 import json -from pydantic import BaseModel, ConfigDict, Field -from typing import Any, ClassVar, Dict, List, Optional +from pydantic import ConfigDict +from typing import Any, ClassVar, Dict, List +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 EzsignbulksendReorderV1Response(BaseModel): +class EzsignbulksendReorderV1Response(CommonResponse): """ 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 ffa49a93..f07944b5 100644 --- a/eZmaxApi/models/ezsignbulksend_request.py +++ b/eZmaxApi/models/ezsignbulksend_request.py @@ -79,23 +79,7 @@ def to_dict(self) -> Dict[str, Any]: return _dict @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + def from_dict(cls, obj: 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 84bd92a4..0851aa39 100644 --- a/eZmaxApi/models/ezsignbulksend_request_compound.py +++ b/eZmaxApi/models/ezsignbulksend_request_compound.py @@ -18,23 +18,16 @@ import re # noqa: F401 import json -from pydantic import BaseModel, ConfigDict, Field, StrictBool, StrictStr -from typing import Any, ClassVar, Dict, List, Optional -from typing_extensions import Annotated +from pydantic import ConfigDict +from typing import Any, ClassVar, Dict, List +from eZmaxApi.models.ezsignbulksend_request import EzsignbulksendRequest from typing import Optional, Set from typing_extensions import Self -class EzsignbulksendRequestCompound(BaseModel): +class EzsignbulksendRequestCompound(EzsignbulksendRequest): """ 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 0cb95d37..605dc299 100644 --- a/eZmaxApi/models/ezsignbulksend_response.py +++ b/eZmaxApi/models/ezsignbulksend_response.py @@ -88,27 +88,7 @@ def to_dict(self) -> Dict[str, Any]: return _dict @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + def from_dict(cls, obj: 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 9f18ead5..f12a8ce9 100644 --- a/eZmaxApi/models/ezsignbulksend_response_compound.py +++ b/eZmaxApi/models/ezsignbulksend_response_compound.py @@ -18,31 +18,20 @@ import re # noqa: F401 import json -from pydantic import BaseModel, ConfigDict, Field, StrictBool, StrictStr +from pydantic import ConfigDict, Field 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(BaseModel): +class EzsignbulksendResponseCompound(EzsignbulksendResponse): """ 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 e1396530..4ae887aa 100644 --- a/eZmaxApi/models/ezsignbulksenddocumentmapping_create_object_v1_response.py +++ b/eZmaxApi/models/ezsignbulksenddocumentmapping_create_object_v1_response.py @@ -18,20 +18,19 @@ import re # noqa: F401 import json -from pydantic import BaseModel, ConfigDict, Field -from typing import Any, ClassVar, Dict, List, Optional +from pydantic import ConfigDict, Field +from typing import Any, ClassVar, Dict, List +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.ezsignbulksenddocumentmapping_create_object_v1_response_m_payload import EzsignbulksenddocumentmappingCreateObjectV1ResponseMPayload from typing import Optional, Set from typing_extensions import Self -class EzsignbulksenddocumentmappingCreateObjectV1Response(BaseModel): +class EzsignbulksenddocumentmappingCreateObjectV1Response(CommonResponse): """ 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 2ae3d297..2715bdc9 100644 --- a/eZmaxApi/models/ezsignbulksenddocumentmapping_delete_object_v1_response.py +++ b/eZmaxApi/models/ezsignbulksenddocumentmapping_delete_object_v1_response.py @@ -18,19 +18,18 @@ import re # noqa: F401 import json -from pydantic import BaseModel, ConfigDict, Field -from typing import Any, ClassVar, Dict, List, Optional +from pydantic import ConfigDict +from typing import Any, ClassVar, Dict, List +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 EzsignbulksenddocumentmappingDeleteObjectV1Response(BaseModel): +class EzsignbulksenddocumentmappingDeleteObjectV1Response(CommonResponse): """ 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 50d5cf7a..578f8703 100644 --- a/eZmaxApi/models/ezsignbulksenddocumentmapping_get_object_v2_response.py +++ b/eZmaxApi/models/ezsignbulksenddocumentmapping_get_object_v2_response.py @@ -18,20 +18,19 @@ import re # noqa: F401 import json -from pydantic import BaseModel, ConfigDict, Field -from typing import Any, ClassVar, Dict, List, Optional +from pydantic import ConfigDict, Field +from typing import Any, ClassVar, Dict, List +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.ezsignbulksenddocumentmapping_get_object_v2_response_m_payload import EzsignbulksenddocumentmappingGetObjectV2ResponseMPayload from typing import Optional, Set from typing_extensions import Self -class EzsignbulksenddocumentmappingGetObjectV2Response(BaseModel): +class EzsignbulksenddocumentmappingGetObjectV2Response(CommonResponse): """ 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 c82b912c..20cc8d33 100644 --- a/eZmaxApi/models/ezsignbulksenddocumentmapping_request.py +++ b/eZmaxApi/models/ezsignbulksenddocumentmapping_request.py @@ -76,20 +76,7 @@ def to_dict(self) -> Dict[str, Any]: return _dict @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + def from_dict(cls, obj: 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 25e191cd..b46efe86 100644 --- a/eZmaxApi/models/ezsignbulksenddocumentmapping_request_compound.py +++ b/eZmaxApi/models/ezsignbulksenddocumentmapping_request_compound.py @@ -18,20 +18,16 @@ import re # noqa: F401 import json -from pydantic import BaseModel, ConfigDict, Field -from typing import Any, ClassVar, Dict, List, Optional -from typing_extensions import Annotated +from pydantic import ConfigDict +from typing import Any, ClassVar, Dict, List +from eZmaxApi.models.ezsignbulksenddocumentmapping_request import EzsignbulksenddocumentmappingRequest from typing import Optional, Set from typing_extensions import Self -class EzsignbulksenddocumentmappingRequestCompound(BaseModel): +class EzsignbulksenddocumentmappingRequestCompound(EzsignbulksenddocumentmappingRequest): """ 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 e2f28b28..81bbabb9 100644 --- a/eZmaxApi/models/ezsignbulksenddocumentmapping_response.py +++ b/eZmaxApi/models/ezsignbulksenddocumentmapping_response.py @@ -77,21 +77,7 @@ def to_dict(self) -> Dict[str, Any]: return _dict @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + def from_dict(cls, obj: 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 fb6c1930..aadb6ffc 100644 --- a/eZmaxApi/models/ezsignbulksenddocumentmapping_response_compound.py +++ b/eZmaxApi/models/ezsignbulksenddocumentmapping_response_compound.py @@ -18,23 +18,18 @@ import re # noqa: F401 import json -from pydantic import BaseModel, ConfigDict, Field +from pydantic import ConfigDict, Field from typing import Any, ClassVar, Dict, List, Optional -from typing_extensions import Annotated +from eZmaxApi.models.ezsignbulksenddocumentmapping_response import EzsignbulksenddocumentmappingResponse 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(BaseModel): +class EzsignbulksenddocumentmappingResponseCompound(EzsignbulksenddocumentmappingResponse): """ 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 c695356d..e0829685 100644 --- a/eZmaxApi/models/ezsignbulksendsignermapping_create_object_v1_response.py +++ b/eZmaxApi/models/ezsignbulksendsignermapping_create_object_v1_response.py @@ -18,20 +18,19 @@ import re # noqa: F401 import json -from pydantic import BaseModel, ConfigDict, Field -from typing import Any, ClassVar, Dict, List, Optional +from pydantic import ConfigDict, Field +from typing import Any, ClassVar, Dict, List +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.ezsignbulksendsignermapping_create_object_v1_response_m_payload import EzsignbulksendsignermappingCreateObjectV1ResponseMPayload from typing import Optional, Set from typing_extensions import Self -class EzsignbulksendsignermappingCreateObjectV1Response(BaseModel): +class EzsignbulksendsignermappingCreateObjectV1Response(CommonResponse): """ 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 a90f38f9..994ef356 100644 --- a/eZmaxApi/models/ezsignbulksendsignermapping_delete_object_v1_response.py +++ b/eZmaxApi/models/ezsignbulksendsignermapping_delete_object_v1_response.py @@ -18,19 +18,18 @@ import re # noqa: F401 import json -from pydantic import BaseModel, ConfigDict, Field -from typing import Any, ClassVar, Dict, List, Optional +from pydantic import ConfigDict +from typing import Any, ClassVar, Dict, List +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 EzsignbulksendsignermappingDeleteObjectV1Response(BaseModel): +class EzsignbulksendsignermappingDeleteObjectV1Response(CommonResponse): """ 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 290c367c..27fb0bea 100644 --- a/eZmaxApi/models/ezsignbulksendsignermapping_get_object_v2_response.py +++ b/eZmaxApi/models/ezsignbulksendsignermapping_get_object_v2_response.py @@ -18,20 +18,19 @@ import re # noqa: F401 import json -from pydantic import BaseModel, ConfigDict, Field -from typing import Any, ClassVar, Dict, List, Optional +from pydantic import ConfigDict, Field +from typing import Any, ClassVar, Dict, List +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.ezsignbulksendsignermapping_get_object_v2_response_m_payload import EzsignbulksendsignermappingGetObjectV2ResponseMPayload from typing import Optional, Set from typing_extensions import Self -class EzsignbulksendsignermappingGetObjectV2Response(BaseModel): +class EzsignbulksendsignermappingGetObjectV2Response(CommonResponse): """ 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 ab369848..50a854d7 100644 --- a/eZmaxApi/models/ezsignbulksendsignermapping_request.py +++ b/eZmaxApi/models/ezsignbulksendsignermapping_request.py @@ -76,20 +76,7 @@ def to_dict(self) -> Dict[str, Any]: return _dict @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + def from_dict(cls, obj: 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 8fc6859c..9e0a778c 100644 --- a/eZmaxApi/models/ezsignbulksendsignermapping_request_compound.py +++ b/eZmaxApi/models/ezsignbulksendsignermapping_request_compound.py @@ -18,20 +18,16 @@ import re # noqa: F401 import json -from pydantic import BaseModel, ConfigDict, Field, StrictStr -from typing import Any, ClassVar, Dict, List, Optional -from typing_extensions import Annotated +from pydantic import ConfigDict +from typing import Any, ClassVar, Dict, List +from eZmaxApi.models.ezsignbulksendsignermapping_request import EzsignbulksendsignermappingRequest from typing import Optional, Set from typing_extensions import Self -class EzsignbulksendsignermappingRequestCompound(BaseModel): +class EzsignbulksendsignermappingRequestCompound(EzsignbulksendsignermappingRequest): """ 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 c5c258e5..5d4263cb 100644 --- a/eZmaxApi/models/ezsignbulksendsignermapping_response.py +++ b/eZmaxApi/models/ezsignbulksendsignermapping_response.py @@ -76,20 +76,7 @@ def to_dict(self) -> Dict[str, Any]: return _dict @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + def from_dict(cls, obj: 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 e26ffd59..6fa9b899 100644 --- a/eZmaxApi/models/ezsignbulksendsignermapping_response_compound.py +++ b/eZmaxApi/models/ezsignbulksendsignermapping_response_compound.py @@ -18,20 +18,16 @@ import re # noqa: F401 import json -from pydantic import BaseModel, ConfigDict, Field, StrictStr -from typing import Any, ClassVar, Dict, List, Optional -from typing_extensions import Annotated +from pydantic import ConfigDict +from typing import Any, ClassVar, Dict, List +from eZmaxApi.models.ezsignbulksendsignermapping_response import EzsignbulksendsignermappingResponse from typing import Optional, Set from typing_extensions import Self -class EzsignbulksendsignermappingResponseCompound(BaseModel): +class EzsignbulksendsignermappingResponseCompound(EzsignbulksendsignermappingResponse): """ 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 8f245eb1..9a37942f 100644 --- a/eZmaxApi/models/ezsignbulksendtransmission_get_ezsignsignatures_automatic_v1_response.py +++ b/eZmaxApi/models/ezsignbulksendtransmission_get_ezsignsignatures_automatic_v1_response.py @@ -18,20 +18,19 @@ import re # noqa: F401 import json -from pydantic import BaseModel, ConfigDict, Field -from typing import Any, ClassVar, Dict, List, Optional +from pydantic import ConfigDict, Field +from typing import Any, ClassVar, Dict, List +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.ezsignbulksendtransmission_get_ezsignsignatures_automatic_v1_response_m_payload import EzsignbulksendtransmissionGetEzsignsignaturesAutomaticV1ResponseMPayload from typing import Optional, Set from typing_extensions import Self -class EzsignbulksendtransmissionGetEzsignsignaturesAutomaticV1Response(BaseModel): +class EzsignbulksendtransmissionGetEzsignsignaturesAutomaticV1Response(CommonResponse): """ 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 46ed7b6d..36b165c1 100644 --- a/eZmaxApi/models/ezsignbulksendtransmission_get_forms_data_v1_response.py +++ b/eZmaxApi/models/ezsignbulksendtransmission_get_forms_data_v1_response.py @@ -18,20 +18,19 @@ import re # noqa: F401 import json -from pydantic import BaseModel, ConfigDict, Field -from typing import Any, ClassVar, Dict, List, Optional +from pydantic import ConfigDict, Field +from typing import Any, ClassVar, Dict, List +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.ezsignbulksendtransmission_get_forms_data_v1_response_m_payload import EzsignbulksendtransmissionGetFormsDataV1ResponseMPayload from typing import Optional, Set from typing_extensions import Self -class EzsignbulksendtransmissionGetFormsDataV1Response(BaseModel): +class EzsignbulksendtransmissionGetFormsDataV1Response(CommonResponse): """ 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 90f4a870..71648173 100644 --- a/eZmaxApi/models/ezsignbulksendtransmission_get_object_v2_response.py +++ b/eZmaxApi/models/ezsignbulksendtransmission_get_object_v2_response.py @@ -18,20 +18,19 @@ import re # noqa: F401 import json -from pydantic import BaseModel, ConfigDict, Field -from typing import Any, ClassVar, Dict, List, Optional +from pydantic import ConfigDict, Field +from typing import Any, ClassVar, Dict, List +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.ezsignbulksendtransmission_get_object_v2_response_m_payload import EzsignbulksendtransmissionGetObjectV2ResponseMPayload from typing import Optional, Set from typing_extensions import Self -class EzsignbulksendtransmissionGetObjectV2Response(BaseModel): +class EzsignbulksendtransmissionGetObjectV2Response(CommonResponse): """ 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 7f8966de..a9536fb8 100644 --- a/eZmaxApi/models/ezsignbulksendtransmission_response.py +++ b/eZmaxApi/models/ezsignbulksendtransmission_response.py @@ -81,21 +81,7 @@ def to_dict(self) -> Dict[str, Any]: return _dict @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + def from_dict(cls, obj: 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 92b2459a..767dcf92 100644 --- a/eZmaxApi/models/ezsignbulksendtransmission_response_compound.py +++ b/eZmaxApi/models/ezsignbulksendtransmission_response_compound.py @@ -18,23 +18,18 @@ import re # noqa: F401 import json -from pydantic import BaseModel, ConfigDict, Field, StrictStr +from pydantic import ConfigDict, Field 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(BaseModel): +class EzsignbulksendtransmissionResponseCompound(EzsignbulksendtransmissionResponse): """ 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 b0936ac9..dc9fe17b 100644 --- a/eZmaxApi/models/ezsigndiscussion_create_object_v1_response.py +++ b/eZmaxApi/models/ezsigndiscussion_create_object_v1_response.py @@ -18,20 +18,19 @@ import re # noqa: F401 import json -from pydantic import BaseModel, ConfigDict, Field -from typing import Any, ClassVar, Dict, List, Optional +from pydantic import ConfigDict, Field +from typing import Any, ClassVar, Dict, List +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.ezsigndiscussion_create_object_v1_response_m_payload import EzsigndiscussionCreateObjectV1ResponseMPayload from typing import Optional, Set from typing_extensions import Self -class EzsigndiscussionCreateObjectV1Response(BaseModel): +class EzsigndiscussionCreateObjectV1Response(CommonResponse): """ 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 08daa4ec..b0ceff60 100644 --- a/eZmaxApi/models/ezsigndiscussion_delete_object_v1_response.py +++ b/eZmaxApi/models/ezsigndiscussion_delete_object_v1_response.py @@ -18,19 +18,18 @@ import re # noqa: F401 import json -from pydantic import BaseModel, ConfigDict, Field -from typing import Any, ClassVar, Dict, List, Optional +from pydantic import ConfigDict +from typing import Any, ClassVar, Dict, List +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 EzsigndiscussionDeleteObjectV1Response(BaseModel): +class EzsigndiscussionDeleteObjectV1Response(CommonResponse): """ 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 8dfc8165..6f8be937 100644 --- a/eZmaxApi/models/ezsigndiscussion_get_object_v2_response.py +++ b/eZmaxApi/models/ezsigndiscussion_get_object_v2_response.py @@ -18,20 +18,19 @@ import re # noqa: F401 import json -from pydantic import BaseModel, ConfigDict, Field -from typing import Any, ClassVar, Dict, List, Optional +from pydantic import ConfigDict, Field +from typing import Any, ClassVar, Dict, List +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.ezsigndiscussion_get_object_v2_response_m_payload import EzsigndiscussionGetObjectV2ResponseMPayload from typing import Optional, Set from typing_extensions import Self -class EzsigndiscussionGetObjectV2Response(BaseModel): +class EzsigndiscussionGetObjectV2Response(CommonResponse): """ 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 6ac93945..939b39ec 100644 --- a/eZmaxApi/models/ezsigndiscussion_request.py +++ b/eZmaxApi/models/ezsigndiscussion_request.py @@ -82,22 +82,7 @@ def to_dict(self) -> Dict[str, Any]: return _dict @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + def from_dict(cls, obj: 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 95d947b2..26714bc3 100644 --- a/eZmaxApi/models/ezsigndiscussion_request_compound.py +++ b/eZmaxApi/models/ezsigndiscussion_request_compound.py @@ -18,23 +18,17 @@ import re # noqa: F401 import json -from pydantic import BaseModel, ConfigDict, Field, StrictInt -from typing import Any, ClassVar, Dict, List, Optional -from typing_extensions import Annotated +from pydantic import ConfigDict +from typing import Any, ClassVar, Dict, List 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(BaseModel): +class EzsigndiscussionRequestCompound(EzsigndiscussionRequest): """ 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 f5841e65..54fd4d2c 100644 --- a/eZmaxApi/models/ezsigndiscussion_response.py +++ b/eZmaxApi/models/ezsigndiscussion_response.py @@ -83,23 +83,7 @@ def to_dict(self) -> Dict[str, Any]: return _dict @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + def from_dict(cls, obj: 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 dfd6abba..51d3fe63 100644 --- a/eZmaxApi/models/ezsigndiscussion_response_compound.py +++ b/eZmaxApi/models/ezsigndiscussion_response_compound.py @@ -18,24 +18,17 @@ import re # noqa: F401 import json -from pydantic import BaseModel, ConfigDict, Field, StrictInt +from pydantic import ConfigDict 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(BaseModel): +class EzsigndiscussionResponseCompound(EzsigndiscussionResponse): """ 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 0b02f0c7..8dd69b1d 100644 --- a/eZmaxApi/models/ezsigndocument_apply_ezsigntemplate_v1_response.py +++ b/eZmaxApi/models/ezsigndocument_apply_ezsigntemplate_v1_response.py @@ -18,19 +18,18 @@ import re # noqa: F401 import json -from pydantic import BaseModel, ConfigDict, Field -from typing import Any, ClassVar, Dict, List, Optional +from pydantic import ConfigDict +from typing import Any, ClassVar, Dict, List +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 EzsigndocumentApplyEzsigntemplateV1Response(BaseModel): +class EzsigndocumentApplyEzsigntemplateV1Response(CommonResponse): """ 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 bfbd254b..b223d7bd 100644 --- a/eZmaxApi/models/ezsigndocument_apply_ezsigntemplate_v2_response.py +++ b/eZmaxApi/models/ezsigndocument_apply_ezsigntemplate_v2_response.py @@ -18,20 +18,19 @@ import re # noqa: F401 import json -from pydantic import BaseModel, ConfigDict, Field +from pydantic import 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(BaseModel): +class EzsigndocumentApplyEzsigntemplateV2Response(CommonResponse): """ 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 f632dba0..a182a411 100644 --- a/eZmaxApi/models/ezsigndocument_apply_ezsigntemplateglobal_v1_response.py +++ b/eZmaxApi/models/ezsigndocument_apply_ezsigntemplateglobal_v1_response.py @@ -18,20 +18,19 @@ import re # noqa: F401 import json -from pydantic import BaseModel, ConfigDict, Field +from pydantic import 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(BaseModel): +class EzsigndocumentApplyEzsigntemplateglobalV1Response(CommonResponse): """ 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 d99f4833..73476441 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,20 +18,19 @@ import re # noqa: F401 import json -from pydantic import BaseModel, ConfigDict, Field -from typing import Any, ClassVar, Dict, List, Optional +from pydantic import ConfigDict, Field +from typing import Any, ClassVar, Dict, List +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.ezsigndocument_create_ezsignelements_positioned_by_word_v1_response_m_payload import EzsigndocumentCreateEzsignelementsPositionedByWordV1ResponseMPayload from typing import Optional, Set from typing_extensions import Self -class EzsigndocumentCreateEzsignelementsPositionedByWordV1Response(BaseModel): +class EzsigndocumentCreateEzsignelementsPositionedByWordV1Response(CommonResponse): """ 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_response.py b/eZmaxApi/models/ezsigndocument_create_object_v1_response.py index c454b846..69b71cdb 100644 --- a/eZmaxApi/models/ezsigndocument_create_object_v1_response.py +++ b/eZmaxApi/models/ezsigndocument_create_object_v1_response.py @@ -18,20 +18,19 @@ import re # noqa: F401 import json -from pydantic import BaseModel, ConfigDict, Field -from typing import Any, ClassVar, Dict, List, Optional +from pydantic import ConfigDict, Field +from typing import Any, ClassVar, Dict, List +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.ezsigndocument_create_object_v1_response_m_payload import EzsigndocumentCreateObjectV1ResponseMPayload from typing import Optional, Set from typing_extensions import Self -class EzsigndocumentCreateObjectV1Response(BaseModel): +class EzsigndocumentCreateObjectV1Response(CommonResponse): """ 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_response.py b/eZmaxApi/models/ezsigndocument_create_object_v2_response.py index 339f3a1f..8ae54973 100644 --- a/eZmaxApi/models/ezsigndocument_create_object_v2_response.py +++ b/eZmaxApi/models/ezsigndocument_create_object_v2_response.py @@ -18,20 +18,19 @@ import re # noqa: F401 import json -from pydantic import BaseModel, ConfigDict, Field -from typing import Any, ClassVar, Dict, List, Optional +from pydantic import ConfigDict, Field +from typing import Any, ClassVar, Dict, List +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.ezsigndocument_create_object_v2_response_m_payload import EzsigndocumentCreateObjectV2ResponseMPayload from typing import Optional, Set from typing_extensions import Self -class EzsigndocumentCreateObjectV2Response(BaseModel): +class EzsigndocumentCreateObjectV2Response(CommonResponse): """ 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_response.py b/eZmaxApi/models/ezsigndocument_create_object_v3_response.py index a7ca52a6..2283fae6 100644 --- a/eZmaxApi/models/ezsigndocument_create_object_v3_response.py +++ b/eZmaxApi/models/ezsigndocument_create_object_v3_response.py @@ -18,20 +18,19 @@ import re # noqa: F401 import json -from pydantic import BaseModel, ConfigDict, Field -from typing import Any, ClassVar, Dict, List, Optional +from pydantic import ConfigDict, Field +from typing import Any, ClassVar, Dict, List +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.ezsigndocument_create_object_v3_response_m_payload import EzsigndocumentCreateObjectV3ResponseMPayload from typing import Optional, Set from typing_extensions import Self -class EzsigndocumentCreateObjectV3Response(BaseModel): +class EzsigndocumentCreateObjectV3Response(CommonResponse): """ 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 b23a5079..f4efb3a5 100644 --- a/eZmaxApi/models/ezsigndocument_decline_to_sign_v1_response.py +++ b/eZmaxApi/models/ezsigndocument_decline_to_sign_v1_response.py @@ -18,19 +18,18 @@ import re # noqa: F401 import json -from pydantic import BaseModel, ConfigDict, Field -from typing import Any, ClassVar, Dict, List, Optional +from pydantic import ConfigDict +from typing import Any, ClassVar, Dict, List +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 EzsigndocumentDeclineToSignV1Response(BaseModel): +class EzsigndocumentDeclineToSignV1Response(CommonResponse): """ 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 7b549e8d..5dbae0ff 100644 --- a/eZmaxApi/models/ezsigndocument_delete_object_v1_response.py +++ b/eZmaxApi/models/ezsigndocument_delete_object_v1_response.py @@ -18,19 +18,18 @@ import re # noqa: F401 import json -from pydantic import BaseModel, ConfigDict, Field -from typing import Any, ClassVar, Dict, List, Optional +from pydantic import ConfigDict +from typing import Any, ClassVar, Dict, List +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 EzsigndocumentDeleteObjectV1Response(BaseModel): +class EzsigndocumentDeleteObjectV1Response(CommonResponse): """ 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 4be6d736..b74b9ca0 100644 --- a/eZmaxApi/models/ezsigndocument_edit_ezsignannotations_v1_response.py +++ b/eZmaxApi/models/ezsigndocument_edit_ezsignannotations_v1_response.py @@ -18,20 +18,19 @@ import re # noqa: F401 import json -from pydantic import BaseModel, ConfigDict, Field -from typing import Any, ClassVar, Dict, List, Optional +from pydantic import ConfigDict, Field +from typing import Any, ClassVar, Dict, List +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.ezsigndocument_edit_ezsignannotations_v1_response_m_payload import EzsigndocumentEditEzsignannotationsV1ResponseMPayload from typing import Optional, Set from typing_extensions import Self -class EzsigndocumentEditEzsignannotationsV1Response(BaseModel): +class EzsigndocumentEditEzsignannotationsV1Response(CommonResponse): """ 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 564df578..04e63087 100644 --- a/eZmaxApi/models/ezsigndocument_edit_ezsignformfieldgroups_v1_response.py +++ b/eZmaxApi/models/ezsigndocument_edit_ezsignformfieldgroups_v1_response.py @@ -18,20 +18,19 @@ import re # noqa: F401 import json -from pydantic import BaseModel, ConfigDict, Field -from typing import Any, ClassVar, Dict, List, Optional +from pydantic import ConfigDict, Field +from typing import Any, ClassVar, Dict, List +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.ezsigndocument_edit_ezsignformfieldgroups_v1_response_m_payload import EzsigndocumentEditEzsignformfieldgroupsV1ResponseMPayload from typing import Optional, Set from typing_extensions import Self -class EzsigndocumentEditEzsignformfieldgroupsV1Response(BaseModel): +class EzsigndocumentEditEzsignformfieldgroupsV1Response(CommonResponse): """ 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 10f359ba..fe1616db 100644 --- a/eZmaxApi/models/ezsigndocument_edit_ezsignsignatures_v1_response.py +++ b/eZmaxApi/models/ezsigndocument_edit_ezsignsignatures_v1_response.py @@ -18,20 +18,19 @@ import re # noqa: F401 import json -from pydantic import BaseModel, ConfigDict, Field -from typing import Any, ClassVar, Dict, List, Optional +from pydantic import ConfigDict, Field +from typing import Any, ClassVar, Dict, List +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.ezsigndocument_edit_ezsignsignatures_v1_response_m_payload import EzsigndocumentEditEzsignsignaturesV1ResponseMPayload from typing import Optional, Set from typing_extensions import Self -class EzsigndocumentEditEzsignsignaturesV1Response(BaseModel): +class EzsigndocumentEditEzsignsignaturesV1Response(CommonResponse): """ 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_response.py b/eZmaxApi/models/ezsigndocument_edit_object_v1_response.py index 6bd4bef1..8a5274bd 100644 --- a/eZmaxApi/models/ezsigndocument_edit_object_v1_response.py +++ b/eZmaxApi/models/ezsigndocument_edit_object_v1_response.py @@ -18,20 +18,19 @@ import re # noqa: F401 import json -from pydantic import BaseModel, ConfigDict, Field +from pydantic import 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(BaseModel): +class EzsigndocumentEditObjectV1Response(CommonResponse): """ 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 e3deb48a..f8856ccc 100644 --- a/eZmaxApi/models/ezsigndocument_end_prematurely_v1_response.py +++ b/eZmaxApi/models/ezsigndocument_end_prematurely_v1_response.py @@ -18,19 +18,18 @@ import re # noqa: F401 import json -from pydantic import BaseModel, ConfigDict, Field -from typing import Any, ClassVar, Dict, List, Optional +from pydantic import ConfigDict +from typing import Any, ClassVar, Dict, List +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 EzsigndocumentEndPrematurelyV1Response(BaseModel): +class EzsigndocumentEndPrematurelyV1Response(CommonResponse): """ 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 c7cbc561..4b2daf50 100644 --- a/eZmaxApi/models/ezsigndocument_extract_text_v1_response.py +++ b/eZmaxApi/models/ezsigndocument_extract_text_v1_response.py @@ -18,20 +18,19 @@ import re # noqa: F401 import json -from pydantic import BaseModel, ConfigDict, Field -from typing import Any, ClassVar, Dict, List, Optional +from pydantic import ConfigDict, Field +from typing import Any, ClassVar, Dict, List +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.ezsigndocument_extract_text_v1_response_m_payload import EzsigndocumentExtractTextV1ResponseMPayload from typing import Optional, Set from typing_extensions import Self -class EzsigndocumentExtractTextV1Response(BaseModel): +class EzsigndocumentExtractTextV1Response(CommonResponse): """ 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 86a59bf6..c4da3a15 100644 --- a/eZmaxApi/models/ezsigndocument_flatten_v1_response.py +++ b/eZmaxApi/models/ezsigndocument_flatten_v1_response.py @@ -18,19 +18,18 @@ import re # noqa: F401 import json -from pydantic import BaseModel, ConfigDict, Field -from typing import Any, ClassVar, Dict, List, Optional +from pydantic import ConfigDict +from typing import Any, ClassVar, Dict, List +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 EzsigndocumentFlattenV1Response(BaseModel): +class EzsigndocumentFlattenV1Response(CommonResponse): """ 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 ecee2371..858cc9df 100644 --- a/eZmaxApi/models/ezsigndocument_get_actionable_elements_v1_response.py +++ b/eZmaxApi/models/ezsigndocument_get_actionable_elements_v1_response.py @@ -18,20 +18,19 @@ import re # noqa: F401 import json -from pydantic import BaseModel, ConfigDict, Field -from typing import Any, ClassVar, Dict, List, Optional +from pydantic import ConfigDict, Field +from typing import Any, ClassVar, Dict, List +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.ezsigndocument_get_actionable_elements_v1_response_m_payload import EzsigndocumentGetActionableElementsV1ResponseMPayload from typing import Optional, Set from typing_extensions import Self -class EzsigndocumentGetActionableElementsV1Response(BaseModel): +class EzsigndocumentGetActionableElementsV1Response(CommonResponse): """ 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 737c0d94..9bfb3d15 100644 --- a/eZmaxApi/models/ezsigndocument_get_attachments_v1_response.py +++ b/eZmaxApi/models/ezsigndocument_get_attachments_v1_response.py @@ -18,20 +18,19 @@ import re # noqa: F401 import json -from pydantic import BaseModel, ConfigDict, Field -from typing import Any, ClassVar, Dict, List, Optional +from pydantic import ConfigDict, Field +from typing import Any, ClassVar, Dict, List +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.ezsigndocument_get_attachments_v1_response_m_payload import EzsigndocumentGetAttachmentsV1ResponseMPayload from typing import Optional, Set from typing_extensions import Self -class EzsigndocumentGetAttachmentsV1Response(BaseModel): +class EzsigndocumentGetAttachmentsV1Response(CommonResponse): """ 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 e4e9cf32..d6335f83 100644 --- a/eZmaxApi/models/ezsigndocument_get_completed_elements_v1_response.py +++ b/eZmaxApi/models/ezsigndocument_get_completed_elements_v1_response.py @@ -18,20 +18,19 @@ import re # noqa: F401 import json -from pydantic import BaseModel, ConfigDict, Field -from typing import Any, ClassVar, Dict, List, Optional +from pydantic import ConfigDict, Field +from typing import Any, ClassVar, Dict, List +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.ezsigndocument_get_completed_elements_v1_response_m_payload import EzsigndocumentGetCompletedElementsV1ResponseMPayload from typing import Optional, Set from typing_extensions import Self -class EzsigndocumentGetCompletedElementsV1Response(BaseModel): +class EzsigndocumentGetCompletedElementsV1Response(CommonResponse): """ 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 b800afb0..e3ab476b 100644 --- a/eZmaxApi/models/ezsigndocument_get_download_url_v1_response.py +++ b/eZmaxApi/models/ezsigndocument_get_download_url_v1_response.py @@ -18,20 +18,19 @@ import re # noqa: F401 import json -from pydantic import BaseModel, ConfigDict, Field -from typing import Any, ClassVar, Dict, List, Optional +from pydantic import ConfigDict, Field +from typing import Any, ClassVar, Dict, List +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.ezsigndocument_get_download_url_v1_response_m_payload import EzsigndocumentGetDownloadUrlV1ResponseMPayload from typing import Optional, Set from typing_extensions import Self -class EzsigndocumentGetDownloadUrlV1Response(BaseModel): +class EzsigndocumentGetDownloadUrlV1Response(CommonResponse): """ 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 9c5dac12..b01b3d85 100644 --- a/eZmaxApi/models/ezsigndocument_get_ezsignannotations_v1_response.py +++ b/eZmaxApi/models/ezsigndocument_get_ezsignannotations_v1_response.py @@ -18,20 +18,19 @@ import re # noqa: F401 import json -from pydantic import BaseModel, ConfigDict, Field -from typing import Any, ClassVar, Dict, List, Optional +from pydantic import ConfigDict, Field +from typing import Any, ClassVar, Dict, List +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.ezsigndocument_get_ezsignannotations_v1_response_m_payload import EzsigndocumentGetEzsignannotationsV1ResponseMPayload from typing import Optional, Set from typing_extensions import Self -class EzsigndocumentGetEzsignannotationsV1Response(BaseModel): +class EzsigndocumentGetEzsignannotationsV1Response(CommonResponse): """ 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 b2a1cb6d..1f4444dc 100644 --- a/eZmaxApi/models/ezsigndocument_get_ezsigndiscussions_v1_response.py +++ b/eZmaxApi/models/ezsigndocument_get_ezsigndiscussions_v1_response.py @@ -18,20 +18,19 @@ import re # noqa: F401 import json -from pydantic import BaseModel, ConfigDict, Field -from typing import Any, ClassVar, Dict, List, Optional +from pydantic import ConfigDict, Field +from typing import Any, ClassVar, Dict, List +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.ezsigndocument_get_ezsigndiscussions_v1_response_m_payload import EzsigndocumentGetEzsigndiscussionsV1ResponseMPayload from typing import Optional, Set from typing_extensions import Self -class EzsigndocumentGetEzsigndiscussionsV1Response(BaseModel): +class EzsigndocumentGetEzsigndiscussionsV1Response(CommonResponse): """ 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 1134fb20..9a6137db 100644 --- a/eZmaxApi/models/ezsigndocument_get_ezsignformfieldgroups_v1_response.py +++ b/eZmaxApi/models/ezsigndocument_get_ezsignformfieldgroups_v1_response.py @@ -18,20 +18,19 @@ import re # noqa: F401 import json -from pydantic import BaseModel, ConfigDict, Field -from typing import Any, ClassVar, Dict, List, Optional +from pydantic import ConfigDict, Field +from typing import Any, ClassVar, Dict, List +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.ezsigndocument_get_ezsignformfieldgroups_v1_response_m_payload import EzsigndocumentGetEzsignformfieldgroupsV1ResponseMPayload from typing import Optional, Set from typing_extensions import Self -class EzsigndocumentGetEzsignformfieldgroupsV1Response(BaseModel): +class EzsigndocumentGetEzsignformfieldgroupsV1Response(CommonResponse): """ 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 160946b8..9c876249 100644 --- a/eZmaxApi/models/ezsigndocument_get_ezsignpages_v1_response.py +++ b/eZmaxApi/models/ezsigndocument_get_ezsignpages_v1_response.py @@ -18,20 +18,19 @@ import re # noqa: F401 import json -from pydantic import BaseModel, ConfigDict, Field -from typing import Any, ClassVar, Dict, List, Optional +from pydantic import ConfigDict, Field +from typing import Any, ClassVar, Dict, List +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.ezsigndocument_get_ezsignpages_v1_response_m_payload import EzsigndocumentGetEzsignpagesV1ResponseMPayload from typing import Optional, Set from typing_extensions import Self -class EzsigndocumentGetEzsignpagesV1Response(BaseModel): +class EzsigndocumentGetEzsignpagesV1Response(CommonResponse): """ 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_ezsignsignatures_automatic_v1_response.py b/eZmaxApi/models/ezsigndocument_get_ezsignsignatures_automatic_v1_response.py index 09e951ed..5e686526 100644 --- a/eZmaxApi/models/ezsigndocument_get_ezsignsignatures_automatic_v1_response.py +++ b/eZmaxApi/models/ezsigndocument_get_ezsignsignatures_automatic_v1_response.py @@ -18,20 +18,19 @@ import re # noqa: F401 import json -from pydantic import BaseModel, ConfigDict, Field -from typing import Any, ClassVar, Dict, List, Optional +from pydantic import ConfigDict, Field +from typing import Any, ClassVar, Dict, List +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.ezsigndocument_get_ezsignsignatures_automatic_v1_response_m_payload import EzsigndocumentGetEzsignsignaturesAutomaticV1ResponseMPayload from typing import Optional, Set from typing_extensions import Self -class EzsigndocumentGetEzsignsignaturesAutomaticV1Response(BaseModel): +class EzsigndocumentGetEzsignsignaturesAutomaticV1Response(CommonResponse): """ 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 a8eb6a1d..f109d1cd 100644 --- a/eZmaxApi/models/ezsigndocument_get_ezsignsignatures_v1_response.py +++ b/eZmaxApi/models/ezsigndocument_get_ezsignsignatures_v1_response.py @@ -18,20 +18,19 @@ import re # noqa: F401 import json -from pydantic import BaseModel, ConfigDict, Field -from typing import Any, ClassVar, Dict, List, Optional +from pydantic import ConfigDict, Field +from typing import Any, ClassVar, Dict, List +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.ezsigndocument_get_ezsignsignatures_v1_response_m_payload import EzsigndocumentGetEzsignsignaturesV1ResponseMPayload from typing import Optional, Set from typing_extensions import Self -class EzsigndocumentGetEzsignsignaturesV1Response(BaseModel): +class EzsigndocumentGetEzsignsignaturesV1Response(CommonResponse): """ 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 1276c7f9..221922c4 100644 --- a/eZmaxApi/models/ezsigndocument_get_form_data_v1_response.py +++ b/eZmaxApi/models/ezsigndocument_get_form_data_v1_response.py @@ -18,20 +18,19 @@ import re # noqa: F401 import json -from pydantic import BaseModel, ConfigDict, Field -from typing import Any, ClassVar, Dict, List, Optional +from pydantic import ConfigDict, Field +from typing import Any, ClassVar, Dict, List +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.ezsigndocument_get_form_data_v1_response_m_payload import EzsigndocumentGetFormDataV1ResponseMPayload from typing import Optional, Set from typing_extensions import Self -class EzsigndocumentGetFormDataV1Response(BaseModel): +class EzsigndocumentGetFormDataV1Response(CommonResponse): """ 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 86f47209..38df0d52 100644 --- a/eZmaxApi/models/ezsigndocument_get_object_v1_response.py +++ b/eZmaxApi/models/ezsigndocument_get_object_v1_response.py @@ -18,20 +18,19 @@ import re # noqa: F401 import json -from pydantic import BaseModel, ConfigDict, Field -from typing import Any, ClassVar, Dict, List, Optional +from pydantic import ConfigDict, Field +from typing import Any, ClassVar, Dict, List +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.ezsigndocument_response_compound import EzsigndocumentResponseCompound from typing import Optional, Set from typing_extensions import Self -class EzsigndocumentGetObjectV1Response(BaseModel): +class EzsigndocumentGetObjectV1Response(CommonResponse): """ Response for GET /1/object/ezsigndocument/{pkiEzsigndocumentID} """ # noqa: E501 - obj_debug_payload: CommonResponseObjDebugPayload = Field(alias="objDebugPayload") - obj_debug: Optional[CommonResponseObjDebug] = Field(default=None, alias="objDebug") m_payload: EzsigndocumentResponseCompound = Field(description="Payload for GET /1/object/ezsigndocument/{pkiEzsigndocumentID}", alias="mPayload") __properties: ClassVar[List[str]] = ["objDebugPayload", "objDebug", "mPayload"] 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 33e8b257..87769934 100644 --- a/eZmaxApi/models/ezsigndocument_get_object_v1_response_m_payload.py +++ b/eZmaxApi/models/ezsigndocument_get_object_v1_response_m_payload.py @@ -18,64 +18,23 @@ import re # noqa: F401 import json -from pydantic import BaseModel, ConfigDict, Field, StrictBool, StrictInt, StrictStr, field_validator -from typing import Any, ClassVar, Dict, List, Optional -from typing_extensions import Annotated +from pydantic import ConfigDict +from typing import Any, ClassVar, Dict, List 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(BaseModel): +class EzsigndocumentGetObjectV1ResponseMPayload(EzsigndocumentResponseCompound): """ 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 7ca68a85..317b9531 100644 --- a/eZmaxApi/models/ezsigndocument_get_object_v2_response.py +++ b/eZmaxApi/models/ezsigndocument_get_object_v2_response.py @@ -18,20 +18,19 @@ import re # noqa: F401 import json -from pydantic import BaseModel, ConfigDict, Field -from typing import Any, ClassVar, Dict, List, Optional +from pydantic import ConfigDict, Field +from typing import Any, ClassVar, Dict, List +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.ezsigndocument_get_object_v2_response_m_payload import EzsigndocumentGetObjectV2ResponseMPayload from typing import Optional, Set from typing_extensions import Self -class EzsigndocumentGetObjectV2Response(BaseModel): +class EzsigndocumentGetObjectV2Response(CommonResponse): """ 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 8a0b0fbb..0e6ddcbc 100644 --- a/eZmaxApi/models/ezsigndocument_get_temporary_proof_v1_response.py +++ b/eZmaxApi/models/ezsigndocument_get_temporary_proof_v1_response.py @@ -18,20 +18,19 @@ import re # noqa: F401 import json -from pydantic import BaseModel, ConfigDict, Field -from typing import Any, ClassVar, Dict, List, Optional +from pydantic import ConfigDict, Field +from typing import Any, ClassVar, Dict, List +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.ezsigndocument_get_temporary_proof_v1_response_m_payload import EzsigndocumentGetTemporaryProofV1ResponseMPayload from typing import Optional, Set from typing_extensions import Self -class EzsigndocumentGetTemporaryProofV1Response(BaseModel): +class EzsigndocumentGetTemporaryProofV1Response(CommonResponse): """ 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_words_positions_v1_response.py b/eZmaxApi/models/ezsigndocument_get_words_positions_v1_response.py index ccea211d..0eefe543 100644 --- a/eZmaxApi/models/ezsigndocument_get_words_positions_v1_response.py +++ b/eZmaxApi/models/ezsigndocument_get_words_positions_v1_response.py @@ -18,20 +18,19 @@ import re # noqa: F401 import json -from pydantic import BaseModel, ConfigDict, Field -from typing import Any, ClassVar, Dict, List, Optional +from pydantic import ConfigDict, Field +from typing import Any, ClassVar, Dict, List +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.custom_word_position_word_response import CustomWordPositionWordResponse from typing import Optional, Set from typing_extensions import Self -class EzsigndocumentGetWordsPositionsV1Response(BaseModel): +class EzsigndocumentGetWordsPositionsV1Response(CommonResponse): """ 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 0b335ee5..ab4a8647 100644 --- a/eZmaxApi/models/ezsigndocument_patch_object_v1_response.py +++ b/eZmaxApi/models/ezsigndocument_patch_object_v1_response.py @@ -18,19 +18,18 @@ import re # noqa: F401 import json -from pydantic import BaseModel, ConfigDict, Field -from typing import Any, ClassVar, Dict, List, Optional +from pydantic import ConfigDict +from typing import Any, ClassVar, Dict, List +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 EzsigndocumentPatchObjectV1Response(BaseModel): +class EzsigndocumentPatchObjectV1Response(CommonResponse): """ 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 5fdbe0c5..f7060ba8 100644 --- a/eZmaxApi/models/ezsigndocument_response.py +++ b/eZmaxApi/models/ezsigndocument_response.py @@ -111,40 +111,7 @@ def to_dict(self) -> Dict[str, Any]: return _dict @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + def from_dict(cls, obj: 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 ac92fd8c..e34eeb7b 100644 --- a/eZmaxApi/models/ezsigndocument_response_compound.py +++ b/eZmaxApi/models/ezsigndocument_response_compound.py @@ -18,45 +18,21 @@ import re # noqa: F401 import json -from pydantic import BaseModel, ConfigDict, Field, StrictBool, StrictInt, StrictStr, field_validator +from pydantic import ConfigDict, Field, StrictInt 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(BaseModel): +class EzsigndocumentResponseCompound(EzsigndocumentResponse): """ 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") @@ -66,16 +42,6 @@ class EzsigndocumentResponseCompound(BaseModel): 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, @@ -135,47 +101,7 @@ def to_dict(self) -> Dict[str, Any]: return _dict @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + def from_dict(cls, obj: 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_response.py b/eZmaxApi/models/ezsigndocument_submit_ezsignform_v1_response.py index 5a36abde..db2e2e1f 100644 --- a/eZmaxApi/models/ezsigndocument_submit_ezsignform_v1_response.py +++ b/eZmaxApi/models/ezsigndocument_submit_ezsignform_v1_response.py @@ -18,19 +18,18 @@ import re # noqa: F401 import json -from pydantic import BaseModel, ConfigDict, Field -from typing import Any, ClassVar, Dict, List, Optional +from pydantic import ConfigDict +from typing import Any, ClassVar, Dict, List +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 EzsigndocumentSubmitEzsignformV1Response(BaseModel): +class EzsigndocumentSubmitEzsignformV1Response(CommonResponse): """ 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 4b1807c5..ad477e52 100644 --- a/eZmaxApi/models/ezsigndocument_unsend_v1_response.py +++ b/eZmaxApi/models/ezsigndocument_unsend_v1_response.py @@ -18,19 +18,18 @@ import re # noqa: F401 import json -from pydantic import BaseModel, ConfigDict, Field -from typing import Any, ClassVar, Dict, List, Optional +from pydantic import ConfigDict +from typing import Any, ClassVar, Dict, List +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 EzsigndocumentUnsendV1Response(BaseModel): +class EzsigndocumentUnsendV1Response(CommonResponse): """ 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 91d43e8c..2a1424f4 100644 --- a/eZmaxApi/models/ezsignfolder_archive_v1_response.py +++ b/eZmaxApi/models/ezsignfolder_archive_v1_response.py @@ -18,19 +18,18 @@ import re # noqa: F401 import json -from pydantic import BaseModel, ConfigDict, Field -from typing import Any, ClassVar, Dict, List, Optional +from pydantic import ConfigDict +from typing import Any, ClassVar, Dict, List +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 EzsignfolderArchiveV1Response(BaseModel): +class EzsignfolderArchiveV1Response(CommonResponse): """ 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_response.py b/eZmaxApi/models/ezsignfolder_create_object_v1_response.py index 8ba29cc8..74ac8b23 100644 --- a/eZmaxApi/models/ezsignfolder_create_object_v1_response.py +++ b/eZmaxApi/models/ezsignfolder_create_object_v1_response.py @@ -18,20 +18,19 @@ import re # noqa: F401 import json -from pydantic import BaseModel, ConfigDict, Field -from typing import Any, ClassVar, Dict, List, Optional +from pydantic import ConfigDict, Field +from typing import Any, ClassVar, Dict, List +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.ezsignfolder_create_object_v1_response_m_payload import EzsignfolderCreateObjectV1ResponseMPayload from typing import Optional, Set from typing_extensions import Self -class EzsignfolderCreateObjectV1Response(BaseModel): +class EzsignfolderCreateObjectV1Response(CommonResponse): """ 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_response.py b/eZmaxApi/models/ezsignfolder_create_object_v2_response.py index 769db4af..37228063 100644 --- a/eZmaxApi/models/ezsignfolder_create_object_v2_response.py +++ b/eZmaxApi/models/ezsignfolder_create_object_v2_response.py @@ -18,20 +18,19 @@ import re # noqa: F401 import json -from pydantic import BaseModel, ConfigDict, Field -from typing import Any, ClassVar, Dict, List, Optional +from pydantic import ConfigDict, Field +from typing import Any, ClassVar, Dict, List +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.ezsignfolder_create_object_v2_response_m_payload import EzsignfolderCreateObjectV2ResponseMPayload from typing import Optional, Set from typing_extensions import Self -class EzsignfolderCreateObjectV2Response(BaseModel): +class EzsignfolderCreateObjectV2Response(CommonResponse): """ 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_response.py b/eZmaxApi/models/ezsignfolder_create_object_v3_response.py index 4301608e..4342fbad 100644 --- a/eZmaxApi/models/ezsignfolder_create_object_v3_response.py +++ b/eZmaxApi/models/ezsignfolder_create_object_v3_response.py @@ -18,20 +18,19 @@ import re # noqa: F401 import json -from pydantic import BaseModel, ConfigDict, Field -from typing import Any, ClassVar, Dict, List, Optional +from pydantic import ConfigDict, Field +from typing import Any, ClassVar, Dict, List +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.ezsignfolder_create_object_v3_response_m_payload import EzsignfolderCreateObjectV3ResponseMPayload from typing import Optional, Set from typing_extensions import Self -class EzsignfolderCreateObjectV3Response(BaseModel): +class EzsignfolderCreateObjectV3Response(CommonResponse): """ 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 aaf81169..a9267e06 100644 --- a/eZmaxApi/models/ezsignfolder_delete_object_v1_response.py +++ b/eZmaxApi/models/ezsignfolder_delete_object_v1_response.py @@ -18,19 +18,18 @@ import re # noqa: F401 import json -from pydantic import BaseModel, ConfigDict, Field -from typing import Any, ClassVar, Dict, List, Optional +from pydantic import ConfigDict +from typing import Any, ClassVar, Dict, List +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 EzsignfolderDeleteObjectV1Response(BaseModel): +class EzsignfolderDeleteObjectV1Response(CommonResponse): """ 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 d44f4480..207e60cd 100644 --- a/eZmaxApi/models/ezsignfolder_dispose_ezsignfolders_v1_response.py +++ b/eZmaxApi/models/ezsignfolder_dispose_ezsignfolders_v1_response.py @@ -18,19 +18,18 @@ import re # noqa: F401 import json -from pydantic import BaseModel, ConfigDict, Field -from typing import Any, ClassVar, Dict, List, Optional +from pydantic import ConfigDict +from typing import Any, ClassVar, Dict, List +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 EzsignfolderDisposeEzsignfoldersV1Response(BaseModel): +class EzsignfolderDisposeEzsignfoldersV1Response(CommonResponse): """ 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 c01a871a..dd542b1f 100644 --- a/eZmaxApi/models/ezsignfolder_dispose_v1_response.py +++ b/eZmaxApi/models/ezsignfolder_dispose_v1_response.py @@ -18,19 +18,18 @@ import re # noqa: F401 import json -from pydantic import BaseModel, ConfigDict, Field -from typing import Any, ClassVar, Dict, List, Optional +from pydantic import ConfigDict +from typing import Any, ClassVar, Dict, List +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 EzsignfolderDisposeV1Response(BaseModel): +class EzsignfolderDisposeV1Response(CommonResponse): """ 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_response.py b/eZmaxApi/models/ezsignfolder_edit_object_v3_response.py index cbd1ca29..5f0b58a5 100644 --- a/eZmaxApi/models/ezsignfolder_edit_object_v3_response.py +++ b/eZmaxApi/models/ezsignfolder_edit_object_v3_response.py @@ -18,19 +18,18 @@ import re # noqa: F401 import json -from pydantic import BaseModel, ConfigDict, Field -from typing import Any, ClassVar, Dict, List, Optional +from pydantic import ConfigDict +from typing import Any, ClassVar, Dict, List +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 EzsignfolderEditObjectV3Response(BaseModel): +class EzsignfolderEditObjectV3Response(CommonResponse): """ 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 5cdd0779..c999a445 100644 --- a/eZmaxApi/models/ezsignfolder_end_prematurely_v1_response.py +++ b/eZmaxApi/models/ezsignfolder_end_prematurely_v1_response.py @@ -18,19 +18,18 @@ import re # noqa: F401 import json -from pydantic import BaseModel, ConfigDict, Field -from typing import Any, ClassVar, Dict, List, Optional +from pydantic import ConfigDict +from typing import Any, ClassVar, Dict, List +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 EzsignfolderEndPrematurelyV1Response(BaseModel): +class EzsignfolderEndPrematurelyV1Response(CommonResponse): """ 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 8a859761..2c9af7b9 100644 --- a/eZmaxApi/models/ezsignfolder_get_actionable_elements_v1_response.py +++ b/eZmaxApi/models/ezsignfolder_get_actionable_elements_v1_response.py @@ -18,20 +18,19 @@ import re # noqa: F401 import json -from pydantic import BaseModel, ConfigDict, Field -from typing import Any, ClassVar, Dict, List, Optional +from pydantic import ConfigDict, Field +from typing import Any, ClassVar, Dict, List +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.ezsignfolder_get_actionable_elements_v1_response_m_payload import EzsignfolderGetActionableElementsV1ResponseMPayload from typing import Optional, Set from typing_extensions import Self -class EzsignfolderGetActionableElementsV1Response(BaseModel): +class EzsignfolderGetActionableElementsV1Response(CommonResponse): """ 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 4f750706..58fbe191 100644 --- a/eZmaxApi/models/ezsignfolder_get_attachment_count_v1_response.py +++ b/eZmaxApi/models/ezsignfolder_get_attachment_count_v1_response.py @@ -18,20 +18,19 @@ import re # noqa: F401 import json -from pydantic import BaseModel, ConfigDict, Field -from typing import Any, ClassVar, Dict, List, Optional +from pydantic import ConfigDict, Field +from typing import Any, ClassVar, Dict, List +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.ezsignfolder_get_attachment_count_v1_response_m_payload import EzsignfolderGetAttachmentCountV1ResponseMPayload from typing import Optional, Set from typing_extensions import Self -class EzsignfolderGetAttachmentCountV1Response(BaseModel): +class EzsignfolderGetAttachmentCountV1Response(CommonResponse): """ 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 9db29056..484cd930 100644 --- a/eZmaxApi/models/ezsignfolder_get_attachments_v1_response.py +++ b/eZmaxApi/models/ezsignfolder_get_attachments_v1_response.py @@ -18,20 +18,19 @@ import re # noqa: F401 import json -from pydantic import BaseModel, ConfigDict, Field -from typing import Any, ClassVar, Dict, List, Optional +from pydantic import ConfigDict, Field +from typing import Any, ClassVar, Dict, List +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.ezsignfolder_get_attachments_v1_response_m_payload import EzsignfolderGetAttachmentsV1ResponseMPayload from typing import Optional, Set from typing_extensions import Self -class EzsignfolderGetAttachmentsV1Response(BaseModel): +class EzsignfolderGetAttachmentsV1Response(CommonResponse): """ 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 771edcf4..2dbb03ed 100644 --- a/eZmaxApi/models/ezsignfolder_get_communication_count_v1_response.py +++ b/eZmaxApi/models/ezsignfolder_get_communication_count_v1_response.py @@ -18,20 +18,19 @@ import re # noqa: F401 import json -from pydantic import BaseModel, ConfigDict, Field -from typing import Any, ClassVar, Dict, List, Optional +from pydantic import ConfigDict, Field +from typing import Any, ClassVar, Dict, List +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.ezsignfolder_get_communication_count_v1_response_m_payload import EzsignfolderGetCommunicationCountV1ResponseMPayload from typing import Optional, Set from typing_extensions import Self -class EzsignfolderGetCommunicationCountV1Response(BaseModel): +class EzsignfolderGetCommunicationCountV1Response(CommonResponse): """ 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 0ae7599e..9e561574 100644 --- a/eZmaxApi/models/ezsignfolder_get_communication_list_v1_response.py +++ b/eZmaxApi/models/ezsignfolder_get_communication_list_v1_response.py @@ -18,20 +18,19 @@ import re # noqa: F401 import json -from pydantic import BaseModel, ConfigDict, Field -from typing import Any, ClassVar, Dict, List, Optional +from pydantic import ConfigDict, Field +from typing import Any, ClassVar, Dict, List +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 eZmaxApi.models.ezsignfolder_get_communication_list_v1_response_m_payload import EzsignfolderGetCommunicationListV1ResponseMPayload from typing import Optional, Set from typing_extensions import Self -class EzsignfolderGetCommunicationListV1Response(BaseModel): +class EzsignfolderGetCommunicationListV1Response(CommonResponseGetList): """ 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 571f2d62..8dc5fa19 100644 --- a/eZmaxApi/models/ezsignfolder_get_communicationrecipients_v1_response.py +++ b/eZmaxApi/models/ezsignfolder_get_communicationrecipients_v1_response.py @@ -18,20 +18,19 @@ import re # noqa: F401 import json -from pydantic import BaseModel, ConfigDict, Field -from typing import Any, ClassVar, Dict, List, Optional +from pydantic import ConfigDict, Field +from typing import Any, ClassVar, Dict, List +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.ezsignfolder_get_communicationrecipients_v1_response_m_payload import EzsignfolderGetCommunicationrecipientsV1ResponseMPayload from typing import Optional, Set from typing_extensions import Self -class EzsignfolderGetCommunicationrecipientsV1Response(BaseModel): +class EzsignfolderGetCommunicationrecipientsV1Response(CommonResponse): """ 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 f486caf2..7528ffae 100644 --- a/eZmaxApi/models/ezsignfolder_get_communicationsenders_v1_response.py +++ b/eZmaxApi/models/ezsignfolder_get_communicationsenders_v1_response.py @@ -18,20 +18,19 @@ import re # noqa: F401 import json -from pydantic import BaseModel, ConfigDict, Field -from typing import Any, ClassVar, Dict, List, Optional +from pydantic import ConfigDict, Field +from typing import Any, ClassVar, Dict, List +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.ezsignfolder_get_communicationsenders_v1_response_m_payload import EzsignfolderGetCommunicationsendersV1ResponseMPayload from typing import Optional, Set from typing_extensions import Self -class EzsignfolderGetCommunicationsendersV1Response(BaseModel): +class EzsignfolderGetCommunicationsendersV1Response(CommonResponse): """ 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 c4ac87f3..e3a1e7a2 100644 --- a/eZmaxApi/models/ezsignfolder_get_ezsigndocuments_v1_response.py +++ b/eZmaxApi/models/ezsignfolder_get_ezsigndocuments_v1_response.py @@ -18,20 +18,19 @@ import re # noqa: F401 import json -from pydantic import BaseModel, ConfigDict, Field -from typing import Any, ClassVar, Dict, List, Optional +from pydantic import ConfigDict, Field +from typing import Any, ClassVar, Dict, List +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.ezsignfolder_get_ezsigndocuments_v1_response_m_payload import EzsignfolderGetEzsigndocumentsV1ResponseMPayload from typing import Optional, Set from typing_extensions import Self -class EzsignfolderGetEzsigndocumentsV1Response(BaseModel): +class EzsignfolderGetEzsigndocumentsV1Response(CommonResponse): """ 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 52d250da..53eda469 100644 --- a/eZmaxApi/models/ezsignfolder_get_ezsignfoldersignerassociations_v1_response.py +++ b/eZmaxApi/models/ezsignfolder_get_ezsignfoldersignerassociations_v1_response.py @@ -18,20 +18,19 @@ import re # noqa: F401 import json -from pydantic import BaseModel, ConfigDict, Field -from typing import Any, ClassVar, Dict, List, Optional +from pydantic import ConfigDict, Field +from typing import Any, ClassVar, Dict, List +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.ezsignfolder_get_ezsignfoldersignerassociations_v1_response_m_payload import EzsignfolderGetEzsignfoldersignerassociationsV1ResponseMPayload from typing import Optional, Set from typing_extensions import Self -class EzsignfolderGetEzsignfoldersignerassociationsV1Response(BaseModel): +class EzsignfolderGetEzsignfoldersignerassociationsV1Response(CommonResponse): """ 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 bb0aeaaf..bcdab6f1 100644 --- a/eZmaxApi/models/ezsignfolder_get_ezsignsignatures_automatic_v1_response.py +++ b/eZmaxApi/models/ezsignfolder_get_ezsignsignatures_automatic_v1_response.py @@ -18,20 +18,19 @@ import re # noqa: F401 import json -from pydantic import BaseModel, ConfigDict, Field -from typing import Any, ClassVar, Dict, List, Optional +from pydantic import ConfigDict, Field +from typing import Any, ClassVar, Dict, List +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.ezsignfolder_get_ezsignsignatures_automatic_v1_response_m_payload import EzsignfolderGetEzsignsignaturesAutomaticV1ResponseMPayload from typing import Optional, Set from typing_extensions import Self -class EzsignfolderGetEzsignsignaturesAutomaticV1Response(BaseModel): +class EzsignfolderGetEzsignsignaturesAutomaticV1Response(CommonResponse): """ 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 cc9c4ee1..5a5b0da0 100644 --- a/eZmaxApi/models/ezsignfolder_get_forms_data_v1_response.py +++ b/eZmaxApi/models/ezsignfolder_get_forms_data_v1_response.py @@ -18,20 +18,19 @@ import re # noqa: F401 import json -from pydantic import BaseModel, ConfigDict, Field -from typing import Any, ClassVar, Dict, List, Optional +from pydantic import ConfigDict, Field +from typing import Any, ClassVar, Dict, List +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.ezsignfolder_get_forms_data_v1_response_m_payload import EzsignfolderGetFormsDataV1ResponseMPayload from typing import Optional, Set from typing_extensions import Self -class EzsignfolderGetFormsDataV1Response(BaseModel): +class EzsignfolderGetFormsDataV1Response(CommonResponse): """ 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 9cac6a5b..819ff4c1 100644 --- a/eZmaxApi/models/ezsignfolder_get_list_v1_response.py +++ b/eZmaxApi/models/ezsignfolder_get_list_v1_response.py @@ -18,20 +18,19 @@ import re # noqa: F401 import json -from pydantic import BaseModel, ConfigDict, Field -from typing import Any, ClassVar, Dict, List, Optional +from pydantic import ConfigDict, Field +from typing import Any, ClassVar, Dict, List +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 eZmaxApi.models.ezsignfolder_get_list_v1_response_m_payload import EzsignfolderGetListV1ResponseMPayload from typing import Optional, Set from typing_extensions import Self -class EzsignfolderGetListV1Response(BaseModel): +class EzsignfolderGetListV1Response(CommonResponseGetList): """ 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 cf700411..d141bb0d 100644 --- a/eZmaxApi/models/ezsignfolder_get_list_v1_response_m_payload.py +++ b/eZmaxApi/models/ezsignfolder_get_list_v1_response_m_payload.py @@ -18,18 +18,17 @@ import re # noqa: F401 import json -from pydantic import BaseModel, ConfigDict, Field, StrictInt +from pydantic import ConfigDict, Field 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(BaseModel): +class EzsignfolderGetListV1ResponseMPayload(CommonGetListV1ResponseMPayload): """ 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 e13b70ff..72973ad1 100644 --- a/eZmaxApi/models/ezsignfolder_get_object_v1_response.py +++ b/eZmaxApi/models/ezsignfolder_get_object_v1_response.py @@ -18,20 +18,19 @@ import re # noqa: F401 import json -from pydantic import BaseModel, ConfigDict, Field -from typing import Any, ClassVar, Dict, List, Optional +from pydantic import ConfigDict, Field +from typing import Any, ClassVar, Dict, List +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.ezsignfolder_response_compound import EzsignfolderResponseCompound from typing import Optional, Set from typing_extensions import Self -class EzsignfolderGetObjectV1Response(BaseModel): +class EzsignfolderGetObjectV1Response(CommonResponse): """ Response for GET /1/object/ezsignfolder/{pkiEzsignfolderID} """ # noqa: E501 - obj_debug_payload: CommonResponseObjDebugPayload = Field(alias="objDebugPayload") - obj_debug: Optional[CommonResponseObjDebug] = Field(default=None, alias="objDebug") m_payload: EzsignfolderResponseCompound = Field(description="Payload for GET /1/object/ezsignfolder/{pkiEzsignfolderID}", alias="mPayload") __properties: ClassVar[List[str]] = ["objDebugPayload", "objDebug", "mPayload"] 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 eb618400..b9f28cb3 100644 --- a/eZmaxApi/models/ezsignfolder_get_object_v1_response_m_payload.py +++ b/eZmaxApi/models/ezsignfolder_get_object_v1_response_m_payload.py @@ -18,68 +18,24 @@ import re # noqa: F401 import json -from pydantic import BaseModel, ConfigDict, Field, StrictBool, StrictStr, field_validator -from typing import Any, ClassVar, Dict, List, Optional -from typing_extensions import Annotated +from pydantic import ConfigDict +from typing import Any, ClassVar, Dict, List 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(BaseModel): +class EzsignfolderGetObjectV1ResponseMPayload(EzsignfolderResponseCompound): """ 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 0c3a9778..5451d1f7 100644 --- a/eZmaxApi/models/ezsignfolder_get_object_v2_response.py +++ b/eZmaxApi/models/ezsignfolder_get_object_v2_response.py @@ -18,20 +18,19 @@ import re # noqa: F401 import json -from pydantic import BaseModel, ConfigDict, Field -from typing import Any, ClassVar, Dict, List, Optional +from pydantic import ConfigDict, Field +from typing import Any, ClassVar, Dict, List +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.ezsignfolder_get_object_v2_response_m_payload import EzsignfolderGetObjectV2ResponseMPayload from typing import Optional, Set from typing_extensions import Self -class EzsignfolderGetObjectV2Response(BaseModel): +class EzsignfolderGetObjectV2Response(CommonResponse): """ 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 7c99033b..ce779ee3 100644 --- a/eZmaxApi/models/ezsignfolder_get_object_v3_response.py +++ b/eZmaxApi/models/ezsignfolder_get_object_v3_response.py @@ -18,20 +18,19 @@ import re # noqa: F401 import json -from pydantic import BaseModel, ConfigDict, Field -from typing import Any, ClassVar, Dict, List, Optional +from pydantic import ConfigDict, Field +from typing import Any, ClassVar, Dict, List +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.ezsignfolder_get_object_v3_response_m_payload import EzsignfolderGetObjectV3ResponseMPayload from typing import Optional, Set from typing_extensions import Self -class EzsignfolderGetObjectV3Response(BaseModel): +class EzsignfolderGetObjectV3Response(CommonResponse): """ 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 bbb7b2b0..8a67c37e 100644 --- a/eZmaxApi/models/ezsignfolder_import_ezsignfoldersignerassociations_v1_response.py +++ b/eZmaxApi/models/ezsignfolder_import_ezsignfoldersignerassociations_v1_response.py @@ -18,20 +18,19 @@ import re # noqa: F401 import json -from pydantic import BaseModel, ConfigDict, Field -from typing import Any, ClassVar, Dict, List, Optional +from pydantic import ConfigDict, Field +from typing import Any, ClassVar, Dict, List +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.ezsignfolder_import_ezsignfoldersignerassociations_v1_response_m_payload import EzsignfolderImportEzsignfoldersignerassociationsV1ResponseMPayload from typing import Optional, Set from typing_extensions import Self -class EzsignfolderImportEzsignfoldersignerassociationsV1Response(BaseModel): +class EzsignfolderImportEzsignfoldersignerassociationsV1Response(CommonResponse): """ 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 c942e01d..4fa6bb4a 100644 --- a/eZmaxApi/models/ezsignfolder_import_ezsigntemplatepackage_v1_response.py +++ b/eZmaxApi/models/ezsignfolder_import_ezsigntemplatepackage_v1_response.py @@ -18,20 +18,19 @@ import re # noqa: F401 import json -from pydantic import BaseModel, ConfigDict, Field -from typing import Any, ClassVar, Dict, List, Optional +from pydantic import ConfigDict, Field +from typing import Any, ClassVar, Dict, List +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.ezsignfolder_import_ezsigntemplatepackage_v1_response_m_payload import EzsignfolderImportEzsigntemplatepackageV1ResponseMPayload from typing import Optional, Set from typing_extensions import Self -class EzsignfolderImportEzsigntemplatepackageV1Response(BaseModel): +class EzsignfolderImportEzsigntemplatepackageV1Response(CommonResponse): """ 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 8b5eb8db..4c5a44e2 100644 --- a/eZmaxApi/models/ezsignfolder_reorder_v1_response.py +++ b/eZmaxApi/models/ezsignfolder_reorder_v1_response.py @@ -18,19 +18,18 @@ import re # noqa: F401 import json -from pydantic import BaseModel, ConfigDict, Field -from typing import Any, ClassVar, Dict, List, Optional +from pydantic import ConfigDict +from typing import Any, ClassVar, Dict, List +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 EzsignfolderReorderV1Response(BaseModel): +class EzsignfolderReorderV1Response(CommonResponse): """ 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 8911bab8..c8e77f52 100644 --- a/eZmaxApi/models/ezsignfolder_reorder_v2_response.py +++ b/eZmaxApi/models/ezsignfolder_reorder_v2_response.py @@ -18,19 +18,18 @@ import re # noqa: F401 import json -from pydantic import BaseModel, ConfigDict, Field -from typing import Any, ClassVar, Dict, List, Optional +from pydantic import ConfigDict +from typing import Any, ClassVar, Dict, List +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 EzsignfolderReorderV2Response(BaseModel): +class EzsignfolderReorderV2Response(CommonResponse): """ 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 6d4bd7b0..e8ffb1ba 100644 --- a/eZmaxApi/models/ezsignfolder_response.py +++ b/eZmaxApi/models/ezsignfolder_response.py @@ -126,42 +126,7 @@ def to_dict(self) -> Dict[str, Any]: return _dict @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + def from_dict(cls, obj: 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 cddbb479..5943a882 100644 --- a/eZmaxApi/models/ezsignfolder_response_compound.py +++ b/eZmaxApi/models/ezsignfolder_response_compound.py @@ -18,68 +18,25 @@ import re # noqa: F401 import json -from pydantic import BaseModel, ConfigDict, Field, StrictBool, StrictStr, field_validator +from pydantic import ConfigDict, Field 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(BaseModel): +class EzsignfolderResponseCompound(EzsignfolderResponse): """ 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, @@ -131,43 +88,7 @@ def to_dict(self) -> Dict[str, Any]: return _dict @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + def from_dict(cls, obj: 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 ca5259e9..357f9e8c 100644 --- a/eZmaxApi/models/ezsignfolder_response_compound_v3.py +++ b/eZmaxApi/models/ezsignfolder_response_compound_v3.py @@ -18,70 +18,26 @@ import re # noqa: F401 import json -from pydantic import BaseModel, ConfigDict, Field, StrictBool, StrictStr, field_validator +from pydantic import ConfigDict, Field 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(BaseModel): +class EzsignfolderResponseCompoundV3(EzsignfolderResponseV3): """ 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 8e0c6cf4..79f6613b 100644 --- a/eZmaxApi/models/ezsignfolder_response_v3.py +++ b/eZmaxApi/models/ezsignfolder_response_v3.py @@ -128,43 +128,7 @@ def to_dict(self) -> Dict[str, Any]: return _dict @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + def from_dict(cls, obj: 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 cfff1bb2..d057a50e 100644 --- a/eZmaxApi/models/ezsignfolder_send_v1_response.py +++ b/eZmaxApi/models/ezsignfolder_send_v1_response.py @@ -18,19 +18,18 @@ import re # noqa: F401 import json -from pydantic import BaseModel, ConfigDict, Field -from typing import Any, ClassVar, Dict, List, Optional +from pydantic import ConfigDict +from typing import Any, ClassVar, Dict, List +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 EzsignfolderSendV1Response(BaseModel): +class EzsignfolderSendV1Response(CommonResponse): """ 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 8498ccd7..a0f1a653 100644 --- a/eZmaxApi/models/ezsignfolder_send_v3_response.py +++ b/eZmaxApi/models/ezsignfolder_send_v3_response.py @@ -18,19 +18,18 @@ import re # noqa: F401 import json -from pydantic import BaseModel, ConfigDict, Field -from typing import Any, ClassVar, Dict, List, Optional +from pydantic import ConfigDict +from typing import Any, ClassVar, Dict, List +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 EzsignfolderSendV3Response(BaseModel): +class EzsignfolderSendV3Response(CommonResponse): """ 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 66ca1abc..ff7d1f4a 100644 --- a/eZmaxApi/models/ezsignfolder_unsend_v1_response.py +++ b/eZmaxApi/models/ezsignfolder_unsend_v1_response.py @@ -18,19 +18,18 @@ import re # noqa: F401 import json -from pydantic import BaseModel, ConfigDict, Field -from typing import Any, ClassVar, Dict, List, Optional +from pydantic import ConfigDict +from typing import Any, ClassVar, Dict, List +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 EzsignfolderUnsendV1Response(BaseModel): +class EzsignfolderUnsendV1Response(CommonResponse): """ 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 2fcf381b..c5d59614 100644 --- a/eZmaxApi/models/ezsignfoldersignerassociation_create_embedded_url_v1_response.py +++ b/eZmaxApi/models/ezsignfoldersignerassociation_create_embedded_url_v1_response.py @@ -18,20 +18,19 @@ import re # noqa: F401 import json -from pydantic import BaseModel, ConfigDict, Field -from typing import Any, ClassVar, Dict, List, Optional +from pydantic import ConfigDict, Field +from typing import Any, ClassVar, Dict, List +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.ezsignfoldersignerassociation_create_embedded_url_v1_response_m_payload import EzsignfoldersignerassociationCreateEmbeddedUrlV1ResponseMPayload from typing import Optional, Set from typing_extensions import Self -class EzsignfoldersignerassociationCreateEmbeddedUrlV1Response(BaseModel): +class EzsignfoldersignerassociationCreateEmbeddedUrlV1Response(CommonResponse): """ 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 eff7e10f..539cd741 100644 --- a/eZmaxApi/models/ezsignfoldersignerassociation_create_object_v1_response.py +++ b/eZmaxApi/models/ezsignfoldersignerassociation_create_object_v1_response.py @@ -18,20 +18,19 @@ import re # noqa: F401 import json -from pydantic import BaseModel, ConfigDict, Field -from typing import Any, ClassVar, Dict, List, Optional +from pydantic import ConfigDict, Field +from typing import Any, ClassVar, Dict, List +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.ezsignfoldersignerassociation_create_object_v1_response_m_payload import EzsignfoldersignerassociationCreateObjectV1ResponseMPayload from typing import Optional, Set from typing_extensions import Self -class EzsignfoldersignerassociationCreateObjectV1Response(BaseModel): +class EzsignfoldersignerassociationCreateObjectV1Response(CommonResponse): """ 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 e5f8fca8..a945a7ac 100644 --- a/eZmaxApi/models/ezsignfoldersignerassociation_create_object_v2_response.py +++ b/eZmaxApi/models/ezsignfoldersignerassociation_create_object_v2_response.py @@ -18,20 +18,19 @@ import re # noqa: F401 import json -from pydantic import BaseModel, ConfigDict, Field -from typing import Any, ClassVar, Dict, List, Optional +from pydantic import ConfigDict, Field +from typing import Any, ClassVar, Dict, List +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.ezsignfoldersignerassociation_create_object_v2_response_m_payload import EzsignfoldersignerassociationCreateObjectV2ResponseMPayload from typing import Optional, Set from typing_extensions import Self -class EzsignfoldersignerassociationCreateObjectV2Response(BaseModel): +class EzsignfoldersignerassociationCreateObjectV2Response(CommonResponse): """ 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 db5b2938..da7d992c 100644 --- a/eZmaxApi/models/ezsignfoldersignerassociation_delete_object_v1_response.py +++ b/eZmaxApi/models/ezsignfoldersignerassociation_delete_object_v1_response.py @@ -18,19 +18,18 @@ import re # noqa: F401 import json -from pydantic import BaseModel, ConfigDict, Field -from typing import Any, ClassVar, Dict, List, Optional +from pydantic import ConfigDict +from typing import Any, ClassVar, Dict, List +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 EzsignfoldersignerassociationDeleteObjectV1Response(BaseModel): +class EzsignfoldersignerassociationDeleteObjectV1Response(CommonResponse): """ 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 a9b63c87..8ffe90ad 100644 --- a/eZmaxApi/models/ezsignfoldersignerassociation_edit_object_v1_response.py +++ b/eZmaxApi/models/ezsignfoldersignerassociation_edit_object_v1_response.py @@ -18,19 +18,18 @@ import re # noqa: F401 import json -from pydantic import BaseModel, ConfigDict, Field -from typing import Any, ClassVar, Dict, List, Optional +from pydantic import ConfigDict +from typing import Any, ClassVar, Dict, List +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 EzsignfoldersignerassociationEditObjectV1Response(BaseModel): +class EzsignfoldersignerassociationEditObjectV1Response(CommonResponse): """ 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 54d5594a..1985b1c9 100644 --- a/eZmaxApi/models/ezsignfoldersignerassociation_force_disconnect_v1_response.py +++ b/eZmaxApi/models/ezsignfoldersignerassociation_force_disconnect_v1_response.py @@ -18,19 +18,18 @@ import re # noqa: F401 import json -from pydantic import BaseModel, ConfigDict, Field -from typing import Any, ClassVar, Dict, List, Optional +from pydantic import ConfigDict +from typing import Any, ClassVar, Dict, List +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 EzsignfoldersignerassociationForceDisconnectV1Response(BaseModel): +class EzsignfoldersignerassociationForceDisconnectV1Response(CommonResponse): """ 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 a1e105eb..7de0356d 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,20 +18,19 @@ import re # noqa: F401 import json -from pydantic import BaseModel, ConfigDict, Field -from typing import Any, ClassVar, Dict, List, Optional +from pydantic import ConfigDict, Field +from typing import Any, ClassVar, Dict, List +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.ezsignfoldersignerassociation_get_in_person_login_url_v1_response_m_payload import EzsignfoldersignerassociationGetInPersonLoginUrlV1ResponseMPayload from typing import Optional, Set from typing_extensions import Self -class EzsignfoldersignerassociationGetInPersonLoginUrlV1Response(BaseModel): +class EzsignfoldersignerassociationGetInPersonLoginUrlV1Response(CommonResponse): """ 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 201bdc13..ed8f6096 100644 --- a/eZmaxApi/models/ezsignfoldersignerassociation_get_object_v1_response.py +++ b/eZmaxApi/models/ezsignfoldersignerassociation_get_object_v1_response.py @@ -18,20 +18,19 @@ import re # noqa: F401 import json -from pydantic import BaseModel, ConfigDict, Field -from typing import Any, ClassVar, Dict, List, Optional +from pydantic import ConfigDict, Field +from typing import Any, ClassVar, Dict, List +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.ezsignfoldersignerassociation_response_compound import EzsignfoldersignerassociationResponseCompound from typing import Optional, Set from typing_extensions import Self -class EzsignfoldersignerassociationGetObjectV1Response(BaseModel): +class EzsignfoldersignerassociationGetObjectV1Response(CommonResponse): """ Response for GET /1/object/ezsignfoldersignerassociation/{pkiEzsignfoldersignerassociationID} """ # noqa: E501 - obj_debug_payload: CommonResponseObjDebugPayload = Field(alias="objDebugPayload") - obj_debug: Optional[CommonResponseObjDebug] = Field(default=None, alias="objDebug") m_payload: EzsignfoldersignerassociationResponseCompound = Field(description="Payload for GET /1/object/ezsignfoldersignerassociation/{pkiEzsignfoldersignerassociationID}", alias="mPayload") __properties: ClassVar[List[str]] = ["objDebugPayload", "objDebug", "mPayload"] 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 d5173325..d65ca5fa 100644 --- a/eZmaxApi/models/ezsignfoldersignerassociation_get_object_v1_response_m_payload.py +++ b/eZmaxApi/models/ezsignfoldersignerassociation_get_object_v1_response_m_payload.py @@ -18,28 +18,19 @@ import re # noqa: F401 import json -from pydantic import BaseModel, ConfigDict, Field, StrictBool, StrictStr -from typing import Any, ClassVar, Dict, List, Optional -from typing_extensions import Annotated +from pydantic import ConfigDict +from typing import Any, ClassVar, Dict, List +from eZmaxApi.models.ezsignfoldersignerassociation_response_compound import EzsignfoldersignerassociationResponseCompound 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(BaseModel): +class EzsignfoldersignerassociationGetObjectV1ResponseMPayload(EzsignfoldersignerassociationResponseCompound): """ 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 753ed7c3..76f04951 100644 --- a/eZmaxApi/models/ezsignfoldersignerassociation_get_object_v2_response.py +++ b/eZmaxApi/models/ezsignfoldersignerassociation_get_object_v2_response.py @@ -18,20 +18,19 @@ import re # noqa: F401 import json -from pydantic import BaseModel, ConfigDict, Field -from typing import Any, ClassVar, Dict, List, Optional +from pydantic import ConfigDict, Field +from typing import Any, ClassVar, Dict, List +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.ezsignfoldersignerassociation_get_object_v2_response_m_payload import EzsignfoldersignerassociationGetObjectV2ResponseMPayload from typing import Optional, Set from typing_extensions import Self -class EzsignfoldersignerassociationGetObjectV2Response(BaseModel): +class EzsignfoldersignerassociationGetObjectV2Response(CommonResponse): """ 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 1bf11b8e..87a39bbc 100644 --- a/eZmaxApi/models/ezsignfoldersignerassociation_patch_object_v1_response.py +++ b/eZmaxApi/models/ezsignfoldersignerassociation_patch_object_v1_response.py @@ -18,19 +18,18 @@ import re # noqa: F401 import json -from pydantic import BaseModel, ConfigDict, Field -from typing import Any, ClassVar, Dict, List, Optional +from pydantic import ConfigDict +from typing import Any, ClassVar, Dict, List +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 EzsignfoldersignerassociationPatchObjectV1Response(BaseModel): +class EzsignfoldersignerassociationPatchObjectV1Response(CommonResponse): """ 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 2655ca2e..88354dbe 100644 --- a/eZmaxApi/models/ezsignfoldersignerassociation_reassign_v1_response.py +++ b/eZmaxApi/models/ezsignfoldersignerassociation_reassign_v1_response.py @@ -18,19 +18,18 @@ import re # noqa: F401 import json -from pydantic import BaseModel, ConfigDict, Field -from typing import Any, ClassVar, Dict, List, Optional +from pydantic import ConfigDict +from typing import Any, ClassVar, Dict, List +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 EzsignfoldersignerassociationReassignV1Response(BaseModel): +class EzsignfoldersignerassociationReassignV1Response(CommonResponse): """ 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 6f2c08bc..85d65c03 100644 --- a/eZmaxApi/models/ezsignfoldersignerassociation_request.py +++ b/eZmaxApi/models/ezsignfoldersignerassociation_request.py @@ -78,22 +78,7 @@ def to_dict(self) -> Dict[str, Any]: return _dict @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + def from_dict(cls, obj: 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 6694acad..989b1011 100644 --- a/eZmaxApi/models/ezsignfoldersignerassociation_request_compound.py +++ b/eZmaxApi/models/ezsignfoldersignerassociation_request_compound.py @@ -18,23 +18,17 @@ import re # noqa: F401 import json -from pydantic import BaseModel, ConfigDict, Field, StrictBool, StrictStr +from pydantic import ConfigDict, Field from typing import Any, ClassVar, Dict, List, Optional -from typing_extensions import Annotated +from eZmaxApi.models.ezsignfoldersignerassociation_request import EzsignfoldersignerassociationRequest from eZmaxApi.models.ezsignsigner_request_compound import EzsignsignerRequestCompound from typing import Optional, Set from typing_extensions import Self -class EzsignfoldersignerassociationRequestCompound(BaseModel): +class EzsignfoldersignerassociationRequestCompound(EzsignfoldersignerassociationRequest): """ 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 836e820d..4b25acdc 100644 --- a/eZmaxApi/models/ezsignfoldersignerassociation_response.py +++ b/eZmaxApi/models/ezsignfoldersignerassociation_response.py @@ -78,22 +78,7 @@ def to_dict(self) -> Dict[str, Any]: return _dict @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + def from_dict(cls, obj: 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 5ce9b3c3..63095602 100644 --- a/eZmaxApi/models/ezsignfoldersignerassociation_response_compound.py +++ b/eZmaxApi/models/ezsignfoldersignerassociation_response_compound.py @@ -18,25 +18,19 @@ import re # noqa: F401 import json -from pydantic import BaseModel, ConfigDict, Field, StrictBool, StrictStr +from pydantic import ConfigDict, Field from typing import Any, ClassVar, Dict, List, Optional -from typing_extensions import Annotated +from eZmaxApi.models.ezsignfoldersignerassociation_response import EzsignfoldersignerassociationResponse 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(BaseModel): +class EzsignfoldersignerassociationResponseCompound(EzsignfoldersignerassociationResponse): """ 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") @@ -93,25 +87,7 @@ def to_dict(self) -> Dict[str, Any]: return _dict @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + def from_dict(cls, obj: 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 501fe0f8..2b8e9d31 100644 --- a/eZmaxApi/models/ezsignfoldertype_create_object_v3_response.py +++ b/eZmaxApi/models/ezsignfoldertype_create_object_v3_response.py @@ -18,20 +18,19 @@ import re # noqa: F401 import json -from pydantic import BaseModel, ConfigDict, Field -from typing import Any, ClassVar, Dict, List, Optional +from pydantic import ConfigDict, Field +from typing import Any, ClassVar, Dict, List +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.ezsignfoldertype_create_object_v3_response_m_payload import EzsignfoldertypeCreateObjectV3ResponseMPayload from typing import Optional, Set from typing_extensions import Self -class EzsignfoldertypeCreateObjectV3Response(BaseModel): +class EzsignfoldertypeCreateObjectV3Response(CommonResponse): """ 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 11245ccb..5b043eb1 100644 --- a/eZmaxApi/models/ezsignfoldertype_edit_object_v3_response.py +++ b/eZmaxApi/models/ezsignfoldertype_edit_object_v3_response.py @@ -18,19 +18,18 @@ import re # noqa: F401 import json -from pydantic import BaseModel, ConfigDict, Field -from typing import Any, ClassVar, Dict, List, Optional +from pydantic import ConfigDict +from typing import Any, ClassVar, Dict, List +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 EzsignfoldertypeEditObjectV3Response(BaseModel): +class EzsignfoldertypeEditObjectV3Response(CommonResponse): """ 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 8bbbb702..78ee5982 100644 --- a/eZmaxApi/models/ezsignfoldertype_get_autocomplete_v2_response.py +++ b/eZmaxApi/models/ezsignfoldertype_get_autocomplete_v2_response.py @@ -18,20 +18,19 @@ import re # noqa: F401 import json -from pydantic import BaseModel, ConfigDict, Field -from typing import Any, ClassVar, Dict, List, Optional +from pydantic import ConfigDict, Field +from typing import Any, ClassVar, Dict, List +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.ezsignfoldertype_get_autocomplete_v2_response_m_payload import EzsignfoldertypeGetAutocompleteV2ResponseMPayload from typing import Optional, Set from typing_extensions import Self -class EzsignfoldertypeGetAutocompleteV2Response(BaseModel): +class EzsignfoldertypeGetAutocompleteV2Response(CommonResponse): """ 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 3e85018c..1f653c29 100644 --- a/eZmaxApi/models/ezsignfoldertype_get_list_v1_response.py +++ b/eZmaxApi/models/ezsignfoldertype_get_list_v1_response.py @@ -18,20 +18,19 @@ import re # noqa: F401 import json -from pydantic import BaseModel, ConfigDict, Field -from typing import Any, ClassVar, Dict, List, Optional +from pydantic import ConfigDict, Field +from typing import Any, ClassVar, Dict, List +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 eZmaxApi.models.ezsignfoldertype_get_list_v1_response_m_payload import EzsignfoldertypeGetListV1ResponseMPayload from typing import Optional, Set from typing_extensions import Self -class EzsignfoldertypeGetListV1Response(BaseModel): +class EzsignfoldertypeGetListV1Response(CommonResponseGetList): """ 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 bd99dbf8..911bf774 100644 --- a/eZmaxApi/models/ezsignfoldertype_get_list_v1_response_m_payload.py +++ b/eZmaxApi/models/ezsignfoldertype_get_list_v1_response_m_payload.py @@ -18,18 +18,17 @@ import re # noqa: F401 import json -from pydantic import BaseModel, ConfigDict, Field, StrictInt +from pydantic import ConfigDict, Field 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(BaseModel): +class EzsignfoldertypeGetListV1ResponseMPayload(CommonGetListV1ResponseMPayload): """ 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 60d3102f..2d3b3f92 100644 --- a/eZmaxApi/models/ezsignfoldertype_get_object_v2_response.py +++ b/eZmaxApi/models/ezsignfoldertype_get_object_v2_response.py @@ -18,20 +18,19 @@ import re # noqa: F401 import json -from pydantic import BaseModel, ConfigDict, Field -from typing import Any, ClassVar, Dict, List, Optional +from pydantic import ConfigDict, Field +from typing import Any, ClassVar, Dict, List +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.ezsignfoldertype_get_object_v2_response_m_payload import EzsignfoldertypeGetObjectV2ResponseMPayload from typing import Optional, Set from typing_extensions import Self -class EzsignfoldertypeGetObjectV2Response(BaseModel): +class EzsignfoldertypeGetObjectV2Response(CommonResponse): """ 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 3880a703..59bf095e 100644 --- a/eZmaxApi/models/ezsignfoldertype_get_object_v4_response.py +++ b/eZmaxApi/models/ezsignfoldertype_get_object_v4_response.py @@ -18,20 +18,19 @@ import re # noqa: F401 import json -from pydantic import BaseModel, ConfigDict, Field -from typing import Any, ClassVar, Dict, List, Optional +from pydantic import ConfigDict, Field +from typing import Any, ClassVar, Dict, List +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.ezsignfoldertype_get_object_v4_response_m_payload import EzsignfoldertypeGetObjectV4ResponseMPayload from typing import Optional, Set from typing_extensions import Self -class EzsignfoldertypeGetObjectV4Response(BaseModel): +class EzsignfoldertypeGetObjectV4Response(CommonResponse): """ 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 69b0e42c..9fe3c9b6 100644 --- a/eZmaxApi/models/ezsignfoldertype_request_compound_v3.py +++ b/eZmaxApi/models/ezsignfoldertype_request_compound_v3.py @@ -18,9 +18,10 @@ import re # noqa: F401 import json -from pydantic import BaseModel, ConfigDict, Field, StrictBool, field_validator +from pydantic import ConfigDict, Field 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 @@ -32,94 +33,14 @@ from typing import Optional, Set from typing_extensions import Self -class EzsignfoldertypeRequestCompoundV3(BaseModel): +class EzsignfoldertypeRequestCompoundV3(EzsignfoldertypeRequestV3): """ 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 45907984..be2563ac 100644 --- a/eZmaxApi/models/ezsignfoldertype_request_v3.py +++ b/eZmaxApi/models/ezsignfoldertype_request_v3.py @@ -163,76 +163,7 @@ def to_dict(self) -> Dict[str, Any]: return _dict @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + def from_dict(cls, obj: 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 8a513be8..86233d8a 100644 --- a/eZmaxApi/models/ezsignfoldertype_response.py +++ b/eZmaxApi/models/ezsignfoldertype_response.py @@ -177,65 +177,7 @@ def to_dict(self) -> Dict[str, Any]: return _dict @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + def from_dict(cls, obj: 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 c36485de..a255245b 100644 --- a/eZmaxApi/models/ezsignfoldertype_response_compound.py +++ b/eZmaxApi/models/ezsignfoldertype_response_compound.py @@ -18,9 +18,10 @@ import re # noqa: F401 import json -from pydantic import BaseModel, ConfigDict, Field, StrictBool, StrictStr, field_validator +from pydantic import ConfigDict, Field 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 @@ -30,103 +31,14 @@ from typing import Optional, Set from typing_extensions import Self -class EzsignfoldertypeResponseCompound(BaseModel): +class EzsignfoldertypeResponseCompound(EzsignfoldertypeResponse): """ 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 43217056..2a5dbb83 100644 --- a/eZmaxApi/models/ezsignfoldertype_response_compound_v4.py +++ b/eZmaxApi/models/ezsignfoldertype_response_compound_v4.py @@ -18,10 +18,11 @@ import re # noqa: F401 import json -from pydantic import BaseModel, ConfigDict, Field, StrictBool, StrictStr, field_validator +from pydantic import ConfigDict, Field 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 @@ -35,98 +36,14 @@ from typing import Optional, Set from typing_extensions import Self -class EzsignfoldertypeResponseCompoundV4(BaseModel): +class EzsignfoldertypeResponseCompoundV4(EzsignfoldertypeResponseV4): """ 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 59ed1d34..3dcc25c5 100644 --- a/eZmaxApi/models/ezsignfoldertype_response_v4.py +++ b/eZmaxApi/models/ezsignfoldertype_response_v4.py @@ -201,80 +201,7 @@ def to_dict(self) -> Dict[str, Any]: return _dict @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + def from_dict(cls, obj: 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 489ac632..71b2a512 100644 --- a/eZmaxApi/models/ezsignformfield_request.py +++ b/eZmaxApi/models/ezsignformfield_request.py @@ -92,30 +92,7 @@ def to_dict(self) -> Dict[str, Any]: return _dict @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + def from_dict(cls, obj: 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 1f35566f..6b969389 100644 --- a/eZmaxApi/models/ezsignformfield_request_compound.py +++ b/eZmaxApi/models/ezsignformfield_request_compound.py @@ -18,34 +18,20 @@ import re # noqa: F401 import json -from pydantic import BaseModel, ConfigDict, Field, StrictBool, StrictStr +from pydantic import ConfigDict, Field 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.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(BaseModel): +class EzsignformfieldRequestCompound(EzsignformfieldRequest): """ An Ezsignformfield Object and children to create a complete structure """ # noqa: E501 - 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[EzsignelementdependencyRequest]] = 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"] diff --git a/eZmaxApi/models/ezsignformfield_response.py b/eZmaxApi/models/ezsignformfield_response.py index 0cd1286d..aa0a4f78 100644 --- a/eZmaxApi/models/ezsignformfield_response.py +++ b/eZmaxApi/models/ezsignformfield_response.py @@ -92,30 +92,7 @@ def to_dict(self) -> Dict[str, Any]: return _dict @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + def from_dict(cls, obj: 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 5bb8fc46..6cc72d88 100644 --- a/eZmaxApi/models/ezsignformfield_response_compound.py +++ b/eZmaxApi/models/ezsignformfield_response_compound.py @@ -18,34 +18,20 @@ import re # noqa: F401 import json -from pydantic import BaseModel, ConfigDict, Field, StrictBool, StrictStr +from pydantic import ConfigDict, Field 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.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(BaseModel): +class EzsignformfieldResponseCompound(EzsignformfieldResponse): """ An Ezsignformfield Object and children to create a complete structure """ # noqa: E501 - 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[EzsignelementdependencyResponse]] = 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"] diff --git a/eZmaxApi/models/ezsignformfieldgroup_create_object_v1_response.py b/eZmaxApi/models/ezsignformfieldgroup_create_object_v1_response.py index d9abf701..dd6b8eb6 100644 --- a/eZmaxApi/models/ezsignformfieldgroup_create_object_v1_response.py +++ b/eZmaxApi/models/ezsignformfieldgroup_create_object_v1_response.py @@ -18,20 +18,19 @@ import re # noqa: F401 import json -from pydantic import BaseModel, ConfigDict, Field -from typing import Any, ClassVar, Dict, List, Optional +from pydantic import ConfigDict, Field +from typing import Any, ClassVar, Dict, List +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.ezsignformfieldgroup_create_object_v1_response_m_payload import EzsignformfieldgroupCreateObjectV1ResponseMPayload from typing import Optional, Set from typing_extensions import Self -class EzsignformfieldgroupCreateObjectV1Response(BaseModel): +class EzsignformfieldgroupCreateObjectV1Response(CommonResponse): """ 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 02d9f664..03ae46fb 100644 --- a/eZmaxApi/models/ezsignformfieldgroup_delete_object_v1_response.py +++ b/eZmaxApi/models/ezsignformfieldgroup_delete_object_v1_response.py @@ -18,19 +18,18 @@ import re # noqa: F401 import json -from pydantic import BaseModel, ConfigDict, Field -from typing import Any, ClassVar, Dict, List, Optional +from pydantic import ConfigDict +from typing import Any, ClassVar, Dict, List +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 EzsignformfieldgroupDeleteObjectV1Response(BaseModel): +class EzsignformfieldgroupDeleteObjectV1Response(CommonResponse): """ 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 95f60a6a..b4817a11 100644 --- a/eZmaxApi/models/ezsignformfieldgroup_edit_object_v1_response.py +++ b/eZmaxApi/models/ezsignformfieldgroup_edit_object_v1_response.py @@ -18,19 +18,18 @@ import re # noqa: F401 import json -from pydantic import BaseModel, ConfigDict, Field -from typing import Any, ClassVar, Dict, List, Optional +from pydantic import ConfigDict +from typing import Any, ClassVar, Dict, List +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 EzsignformfieldgroupEditObjectV1Response(BaseModel): +class EzsignformfieldgroupEditObjectV1Response(CommonResponse): """ 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 7291e2ca..ba4a46db 100644 --- a/eZmaxApi/models/ezsignformfieldgroup_get_object_v2_response.py +++ b/eZmaxApi/models/ezsignformfieldgroup_get_object_v2_response.py @@ -18,20 +18,19 @@ import re # noqa: F401 import json -from pydantic import BaseModel, ConfigDict, Field -from typing import Any, ClassVar, Dict, List, Optional +from pydantic import ConfigDict, Field +from typing import Any, ClassVar, Dict, List +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.ezsignformfieldgroup_get_object_v2_response_m_payload import EzsignformfieldgroupGetObjectV2ResponseMPayload from typing import Optional, Set from typing_extensions import Self -class EzsignformfieldgroupGetObjectV2Response(BaseModel): +class EzsignformfieldgroupGetObjectV2Response(CommonResponse): """ 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 4c5e17fc..62da6a41 100644 --- a/eZmaxApi/models/ezsignformfieldgroup_request.py +++ b/eZmaxApi/models/ezsignformfieldgroup_request.py @@ -103,33 +103,7 @@ def to_dict(self) -> Dict[str, Any]: return _dict @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + def from_dict(cls, obj: 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 43570676..65c71733 100644 --- a/eZmaxApi/models/ezsignformfieldgroup_request_compound.py +++ b/eZmaxApi/models/ezsignformfieldgroup_request_compound.py @@ -18,12 +18,12 @@ import re # noqa: F401 import json -from pydantic import BaseModel, ConfigDict, Field, StrictBool, StrictStr, field_validator +from pydantic import ConfigDict, Field from typing import Any, ClassVar, Dict, List, Optional -from typing_extensions import Annotated from eZmaxApi.models.custom_dropdown_element_request import CustomDropdownElementRequest 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.field_e_ezsignformfieldgroup_signerrequirement import FieldEEzsignformfieldgroupSignerrequirement from eZmaxApi.models.field_e_ezsignformfieldgroup_tooltipposition import FieldEEzsignformfieldgroupTooltipposition @@ -31,42 +31,15 @@ from typing import Optional, Set from typing_extensions import Self -class EzsignformfieldgroupRequestCompound(BaseModel): +class EzsignformfieldgroupRequestCompound(EzsignformfieldgroupRequest): """ An Ezsignformfieldgroup Object and children to create a complete structure """ # 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[EzsignformfieldgroupsignerRequest] = Field(alias="a_objEzsignformfieldgroupsigner") a_obj_dropdown_element: Optional[List[CustomDropdownElementRequest]] = 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, @@ -130,36 +103,7 @@ def to_dict(self) -> Dict[str, Any]: return _dict @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + def from_dict(cls, obj: 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": [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_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 8deab436..95371c1b 100644 --- a/eZmaxApi/models/ezsignformfieldgroup_response.py +++ b/eZmaxApi/models/ezsignformfieldgroup_response.py @@ -103,33 +103,7 @@ def to_dict(self) -> Dict[str, Any]: return _dict @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + def from_dict(cls, obj: 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 fd2de773..a45cde24 100644 --- a/eZmaxApi/models/ezsignformfieldgroup_response_compound.py +++ b/eZmaxApi/models/ezsignformfieldgroup_response_compound.py @@ -18,12 +18,12 @@ import re # noqa: F401 import json -from pydantic import BaseModel, ConfigDict, Field, StrictBool, StrictStr, field_validator +from pydantic import ConfigDict, Field from typing import Any, ClassVar, Dict, List, Optional -from typing_extensions import Annotated from eZmaxApi.models.custom_dropdown_element_response import CustomDropdownElementResponse 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.field_e_ezsignformfieldgroup_signerrequirement import FieldEEzsignformfieldgroupSignerrequirement from eZmaxApi.models.field_e_ezsignformfieldgroup_tooltipposition import FieldEEzsignformfieldgroupTooltipposition @@ -31,42 +31,15 @@ from typing import Optional, Set from typing_extensions import Self -class EzsignformfieldgroupResponseCompound(BaseModel): +class EzsignformfieldgroupResponseCompound(EzsignformfieldgroupResponse): """ 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") __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, diff --git a/eZmaxApi/models/ezsignpage_consult_v1_response.py b/eZmaxApi/models/ezsignpage_consult_v1_response.py index cb28254b..0cb6630e 100644 --- a/eZmaxApi/models/ezsignpage_consult_v1_response.py +++ b/eZmaxApi/models/ezsignpage_consult_v1_response.py @@ -18,19 +18,18 @@ import re # noqa: F401 import json -from pydantic import BaseModel, ConfigDict, Field -from typing import Any, ClassVar, Dict, List, Optional +from pydantic import ConfigDict +from typing import Any, ClassVar, Dict, List +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 EzsignpageConsultV1Response(BaseModel): +class EzsignpageConsultV1Response(CommonResponse): """ 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 e273b35b..29551d0d 100644 --- a/eZmaxApi/models/ezsignsignature_create_object_v1_response.py +++ b/eZmaxApi/models/ezsignsignature_create_object_v1_response.py @@ -18,20 +18,19 @@ import re # noqa: F401 import json -from pydantic import BaseModel, ConfigDict, Field -from typing import Any, ClassVar, Dict, List, Optional +from pydantic import ConfigDict, Field +from typing import Any, ClassVar, Dict, List +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.ezsignsignature_create_object_v1_response_m_payload import EzsignsignatureCreateObjectV1ResponseMPayload from typing import Optional, Set from typing_extensions import Self -class EzsignsignatureCreateObjectV1Response(BaseModel): +class EzsignsignatureCreateObjectV1Response(CommonResponse): """ 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 aaf1cade..1bf1f482 100644 --- a/eZmaxApi/models/ezsignsignature_create_object_v2_response.py +++ b/eZmaxApi/models/ezsignsignature_create_object_v2_response.py @@ -18,20 +18,19 @@ import re # noqa: F401 import json -from pydantic import BaseModel, ConfigDict, Field -from typing import Any, ClassVar, Dict, List, Optional +from pydantic import ConfigDict, Field +from typing import Any, ClassVar, Dict, List +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.ezsignsignature_create_object_v2_response_m_payload import EzsignsignatureCreateObjectV2ResponseMPayload from typing import Optional, Set from typing_extensions import Self -class EzsignsignatureCreateObjectV2Response(BaseModel): +class EzsignsignatureCreateObjectV2Response(CommonResponse): """ 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 5774a394..720cabbd 100644 --- a/eZmaxApi/models/ezsignsignature_create_object_v3_response.py +++ b/eZmaxApi/models/ezsignsignature_create_object_v3_response.py @@ -18,20 +18,19 @@ import re # noqa: F401 import json -from pydantic import BaseModel, ConfigDict, Field -from typing import Any, ClassVar, Dict, List, Optional +from pydantic import ConfigDict, Field +from typing import Any, ClassVar, Dict, List +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.ezsignsignature_create_object_v3_response_m_payload import EzsignsignatureCreateObjectV3ResponseMPayload from typing import Optional, Set from typing_extensions import Self -class EzsignsignatureCreateObjectV3Response(BaseModel): +class EzsignsignatureCreateObjectV3Response(CommonResponse): """ 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 67a217be..37e45aac 100644 --- a/eZmaxApi/models/ezsignsignature_delete_object_v1_response.py +++ b/eZmaxApi/models/ezsignsignature_delete_object_v1_response.py @@ -18,19 +18,18 @@ import re # noqa: F401 import json -from pydantic import BaseModel, ConfigDict, Field -from typing import Any, ClassVar, Dict, List, Optional +from pydantic import ConfigDict +from typing import Any, ClassVar, Dict, List +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 EzsignsignatureDeleteObjectV1Response(BaseModel): +class EzsignsignatureDeleteObjectV1Response(CommonResponse): """ 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 32072d38..9c5a87f4 100644 --- a/eZmaxApi/models/ezsignsignature_edit_object_v2_response.py +++ b/eZmaxApi/models/ezsignsignature_edit_object_v2_response.py @@ -18,19 +18,18 @@ import re # noqa: F401 import json -from pydantic import BaseModel, ConfigDict, Field -from typing import Any, ClassVar, Dict, List, Optional +from pydantic import ConfigDict +from typing import Any, ClassVar, Dict, List +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 EzsignsignatureEditObjectV2Response(BaseModel): +class EzsignsignatureEditObjectV2Response(CommonResponse): """ 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 f8e2f89a..e42d1f06 100644 --- a/eZmaxApi/models/ezsignsignature_get_ezsignsignatureattachment_v1_response.py +++ b/eZmaxApi/models/ezsignsignature_get_ezsignsignatureattachment_v1_response.py @@ -18,20 +18,19 @@ import re # noqa: F401 import json -from pydantic import BaseModel, ConfigDict, Field -from typing import Any, ClassVar, Dict, List, Optional +from pydantic import ConfigDict, Field +from typing import Any, ClassVar, Dict, List +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.ezsignsignature_get_ezsignsignatureattachment_v1_response_m_payload import EzsignsignatureGetEzsignsignatureattachmentV1ResponseMPayload from typing import Optional, Set from typing_extensions import Self -class EzsignsignatureGetEzsignsignatureattachmentV1Response(BaseModel): +class EzsignsignatureGetEzsignsignatureattachmentV1Response(CommonResponse): """ 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 b433a429..15bf7d38 100644 --- a/eZmaxApi/models/ezsignsignature_get_ezsignsignatures_automatic_v1_response.py +++ b/eZmaxApi/models/ezsignsignature_get_ezsignsignatures_automatic_v1_response.py @@ -18,20 +18,19 @@ import re # noqa: F401 import json -from pydantic import BaseModel, ConfigDict, Field -from typing import Any, ClassVar, Dict, List, Optional +from pydantic import ConfigDict, Field +from typing import Any, ClassVar, Dict, List +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.ezsignsignature_get_ezsignsignatures_automatic_v1_response_m_payload import EzsignsignatureGetEzsignsignaturesAutomaticV1ResponseMPayload from typing import Optional, Set from typing_extensions import Self -class EzsignsignatureGetEzsignsignaturesAutomaticV1Response(BaseModel): +class EzsignsignatureGetEzsignsignaturesAutomaticV1Response(CommonResponse): """ 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 c3ce0992..a8db8c16 100644 --- a/eZmaxApi/models/ezsignsignature_get_object_v3_response.py +++ b/eZmaxApi/models/ezsignsignature_get_object_v3_response.py @@ -18,20 +18,19 @@ import re # noqa: F401 import json -from pydantic import BaseModel, ConfigDict, Field -from typing import Any, ClassVar, Dict, List, Optional +from pydantic import ConfigDict, Field +from typing import Any, ClassVar, Dict, List +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.ezsignsignature_get_object_v3_response_m_payload import EzsignsignatureGetObjectV3ResponseMPayload from typing import Optional, Set from typing_extensions import Self -class EzsignsignatureGetObjectV3Response(BaseModel): +class EzsignsignatureGetObjectV3Response(CommonResponse): """ 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 dd3d06b6..a740a613 100644 --- a/eZmaxApi/models/ezsignsignature_request.py +++ b/eZmaxApi/models/ezsignsignature_request.py @@ -116,43 +116,7 @@ def to_dict(self) -> Dict[str, Any]: return _dict @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + def from_dict(cls, obj: 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 ed227bd9..b778eb70 100644 --- a/eZmaxApi/models/ezsignsignature_request_compound.py +++ b/eZmaxApi/models/ezsignsignature_request_compound.py @@ -18,11 +18,11 @@ import re # noqa: F401 import json -from pydantic import BaseModel, ConfigDict, Field, StrictBool, StrictInt, StrictStr, field_validator +from pydantic import ConfigDict, Field, StrictBool 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.field_e_ezsignsignature_attachmentnamesource import FieldEEzsignsignatureAttachmentnamesource from eZmaxApi.models.field_e_ezsignsignature_consultationtrigger import FieldEEzsignsignatureConsultationtrigger @@ -33,52 +33,15 @@ from typing import Optional, Set from typing_extensions import Self -class EzsignsignatureRequestCompound(BaseModel): +class EzsignsignatureRequestCompound(EzsignsignatureRequest): """ 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") __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,46 +98,7 @@ def to_dict(self) -> Dict[str, Any]: return _dict @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + def from_dict(cls, obj: 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": [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 - }) - return _obj diff --git a/eZmaxApi/models/ezsignsignature_request_compound_v2.py b/eZmaxApi/models/ezsignsignature_request_compound_v2.py index 3beb6fe6..94eafd3e 100644 --- a/eZmaxApi/models/ezsignsignature_request_compound_v2.py +++ b/eZmaxApi/models/ezsignsignature_request_compound_v2.py @@ -18,11 +18,11 @@ import re # noqa: F401 import json -from pydantic import BaseModel, ConfigDict, Field, StrictBool, StrictInt, StrictStr, field_validator +from pydantic import ConfigDict, Field, StrictBool 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.field_e_ezsignsignature_attachmentnamesource import FieldEEzsignsignatureAttachmentnamesource from eZmaxApi.models.field_e_ezsignsignature_consultationtrigger import FieldEEzsignsignatureConsultationtrigger @@ -33,52 +33,15 @@ from typing import Optional, Set from typing_extensions import Self -class EzsignsignatureRequestCompoundV2(BaseModel): +class EzsignsignatureRequestCompoundV2(EzsignsignatureRequest): """ 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") __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, diff --git a/eZmaxApi/models/ezsignsignature_response.py b/eZmaxApi/models/ezsignsignature_response.py index c6b8743d..4639d098 100644 --- a/eZmaxApi/models/ezsignsignature_response.py +++ b/eZmaxApi/models/ezsignsignature_response.py @@ -157,53 +157,7 @@ def to_dict(self) -> Dict[str, Any]: return _dict @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + def from_dict(cls, obj: 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 ac504f36..c3cfbacd 100644 --- a/eZmaxApi/models/ezsignsignature_response_compound.py +++ b/eZmaxApi/models/ezsignsignature_response_compound.py @@ -18,7 +18,7 @@ import re # noqa: F401 import json -from pydantic import BaseModel, ConfigDict, Field, StrictBool, StrictInt, StrictStr, field_validator +from pydantic import ConfigDict, Field, StrictBool, field_validator from typing import Any, ClassVar, Dict, List, Optional from typing_extensions import Annotated from eZmaxApi.models.custom_contact_name_response import CustomContactNameResponse @@ -26,6 +26,7 @@ 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.field_e_ezsignsignature_attachmentnamesource import FieldEEzsignsignatureAttachmentnamesource from eZmaxApi.models.field_e_ezsignsignature_consultationtrigger import FieldEEzsignsignatureConsultationtrigger @@ -37,47 +38,10 @@ from typing import Optional, Set from typing_extensions import Self -class EzsignsignatureResponseCompound(BaseModel): +class EzsignsignatureResponseCompound(EzsignsignatureResponse): """ 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") @@ -86,36 +50,6 @@ class EzsignsignatureResponseCompound(BaseModel): 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""" diff --git a/eZmaxApi/models/ezsignsignature_response_compound_v3.py b/eZmaxApi/models/ezsignsignature_response_compound_v3.py index a99ed289..6dae8f12 100644 --- a/eZmaxApi/models/ezsignsignature_response_compound_v3.py +++ b/eZmaxApi/models/ezsignsignature_response_compound_v3.py @@ -18,13 +18,13 @@ import re # noqa: F401 import json -from pydantic import BaseModel, ConfigDict, Field, StrictBool, StrictInt, StrictStr, field_validator +from pydantic import ConfigDict, Field, StrictBool 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.field_e_ezsignsignature_attachmentnamesource import FieldEEzsignsignatureAttachmentnamesource from eZmaxApi.models.field_e_ezsignsignature_consultationtrigger import FieldEEzsignsignatureConsultationtrigger @@ -36,83 +36,16 @@ from typing import Optional, Set from typing_extensions import Self -class EzsignsignatureResponseCompoundV3(BaseModel): +class EzsignsignatureResponseCompoundV3(EzsignsignatureResponse): """ 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") obj_creditcardtransaction: Optional[CustomCreditcardtransactionResponse] = Field(default=None, alias="objCreditcardtransaction") a_obj_ezsignelementdependency: Optional[List[EzsignelementdependencyResponse]] = 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, diff --git a/eZmaxApi/models/ezsignsignature_sign_v1_response.py b/eZmaxApi/models/ezsignsignature_sign_v1_response.py index 3cd06157..bca52bf7 100644 --- a/eZmaxApi/models/ezsignsignature_sign_v1_response.py +++ b/eZmaxApi/models/ezsignsignature_sign_v1_response.py @@ -18,20 +18,19 @@ import re # noqa: F401 import json -from pydantic import BaseModel, ConfigDict, Field -from typing import Any, ClassVar, Dict, List, Optional +from pydantic import ConfigDict, Field +from typing import Any, ClassVar, Dict, List +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.ezsignsignature_sign_v1_response_m_payload import EzsignsignatureSignV1ResponseMPayload from typing import Optional, Set from typing_extensions import Self -class EzsignsignatureSignV1Response(BaseModel): +class EzsignsignatureSignV1Response(CommonResponse): """ 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 d3177828..44d0e4d1 100644 --- a/eZmaxApi/models/ezsignsigner_request.py +++ b/eZmaxApi/models/ezsignsigner_request.py @@ -87,21 +87,7 @@ def to_dict(self) -> Dict[str, Any]: return _dict @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + def from_dict(cls, obj: 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 b0808fd0..1ae4416e 100644 --- a/eZmaxApi/models/ezsignsigner_request_compound.py +++ b/eZmaxApi/models/ezsignsigner_request_compound.py @@ -18,35 +18,20 @@ import re # noqa: F401 import json -from pydantic import BaseModel, ConfigDict, Field, StrictStr, field_validator -from typing import Any, ClassVar, Dict, List, Optional -from typing_extensions import Annotated +from pydantic import ConfigDict, Field +from typing import Any, ClassVar, Dict, List +from eZmaxApi.models.ezsignsigner_request import EzsignsignerRequest from eZmaxApi.models.ezsignsigner_request_compound_contact import EzsignsignerRequestCompoundContact from typing import Optional, Set from typing_extensions import Self -class EzsignsignerRequestCompound(BaseModel): +class EzsignsignerRequestCompound(EzsignsignerRequest): """ 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 aec4ab91..abef1b18 100644 --- a/eZmaxApi/models/ezsignsigner_response.py +++ b/eZmaxApi/models/ezsignsigner_response.py @@ -77,21 +77,7 @@ def to_dict(self) -> Dict[str, Any]: return _dict @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + def from_dict(cls, obj: 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 e1d63ebe..9a03dd90 100644 --- a/eZmaxApi/models/ezsignsigner_response_compound.py +++ b/eZmaxApi/models/ezsignsigner_response_compound.py @@ -18,22 +18,17 @@ import re # noqa: F401 import json -from pydantic import BaseModel, ConfigDict, Field, StrictStr -from typing import Any, ClassVar, Dict, List, Optional -from typing_extensions import Annotated +from pydantic import ConfigDict, Field +from typing import Any, ClassVar, Dict, List +from eZmaxApi.models.ezsignsigner_response import EzsignsignerResponse from eZmaxApi.models.ezsignsigner_response_compound_contact import EzsignsignerResponseCompoundContact from typing import Optional, Set from typing_extensions import Self -class EzsignsignerResponseCompound(BaseModel): +class EzsignsignerResponseCompound(EzsignsignerResponse): """ 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 531333bd..45bdfc4b 100644 --- a/eZmaxApi/models/ezsignsignergroup_create_object_v1_response.py +++ b/eZmaxApi/models/ezsignsignergroup_create_object_v1_response.py @@ -18,20 +18,19 @@ import re # noqa: F401 import json -from pydantic import BaseModel, ConfigDict, Field -from typing import Any, ClassVar, Dict, List, Optional +from pydantic import ConfigDict, Field +from typing import Any, ClassVar, Dict, List +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.ezsignsignergroup_create_object_v1_response_m_payload import EzsignsignergroupCreateObjectV1ResponseMPayload from typing import Optional, Set from typing_extensions import Self -class EzsignsignergroupCreateObjectV1Response(BaseModel): +class EzsignsignergroupCreateObjectV1Response(CommonResponse): """ 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 1c729f03..8edcbdf0 100644 --- a/eZmaxApi/models/ezsignsignergroup_delete_object_v1_response.py +++ b/eZmaxApi/models/ezsignsignergroup_delete_object_v1_response.py @@ -18,19 +18,18 @@ import re # noqa: F401 import json -from pydantic import BaseModel, ConfigDict, Field -from typing import Any, ClassVar, Dict, List, Optional +from pydantic import ConfigDict +from typing import Any, ClassVar, Dict, List +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 EzsignsignergroupDeleteObjectV1Response(BaseModel): +class EzsignsignergroupDeleteObjectV1Response(CommonResponse): """ 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 6e0664b9..c7c619c3 100644 --- a/eZmaxApi/models/ezsignsignergroup_edit_ezsignsignergroupmemberships_v1_response.py +++ b/eZmaxApi/models/ezsignsignergroup_edit_ezsignsignergroupmemberships_v1_response.py @@ -18,20 +18,19 @@ import re # noqa: F401 import json -from pydantic import BaseModel, ConfigDict, Field -from typing import Any, ClassVar, Dict, List, Optional +from pydantic import ConfigDict, Field +from typing import Any, ClassVar, Dict, List +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.ezsignsignergroup_edit_ezsignsignergroupmemberships_v1_response_m_payload import EzsignsignergroupEditEzsignsignergroupmembershipsV1ResponseMPayload from typing import Optional, Set from typing_extensions import Self -class EzsignsignergroupEditEzsignsignergroupmembershipsV1Response(BaseModel): +class EzsignsignergroupEditEzsignsignergroupmembershipsV1Response(CommonResponse): """ 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 1ed8523c..e0bae163 100644 --- a/eZmaxApi/models/ezsignsignergroup_edit_object_v1_response.py +++ b/eZmaxApi/models/ezsignsignergroup_edit_object_v1_response.py @@ -18,19 +18,18 @@ import re # noqa: F401 import json -from pydantic import BaseModel, ConfigDict, Field -from typing import Any, ClassVar, Dict, List, Optional +from pydantic import ConfigDict +from typing import Any, ClassVar, Dict, List +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 EzsignsignergroupEditObjectV1Response(BaseModel): +class EzsignsignergroupEditObjectV1Response(CommonResponse): """ 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 c61156e5..1c431b01 100644 --- a/eZmaxApi/models/ezsignsignergroup_get_ezsignsignergroupmemberships_v1_response.py +++ b/eZmaxApi/models/ezsignsignergroup_get_ezsignsignergroupmemberships_v1_response.py @@ -18,20 +18,19 @@ import re # noqa: F401 import json -from pydantic import BaseModel, ConfigDict, Field -from typing import Any, ClassVar, Dict, List, Optional +from pydantic import ConfigDict, Field +from typing import Any, ClassVar, Dict, List +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.ezsignsignergroup_get_ezsignsignergroupmemberships_v1_response_m_payload import EzsignsignergroupGetEzsignsignergroupmembershipsV1ResponseMPayload from typing import Optional, Set from typing_extensions import Self -class EzsignsignergroupGetEzsignsignergroupmembershipsV1Response(BaseModel): +class EzsignsignergroupGetEzsignsignergroupmembershipsV1Response(CommonResponse): """ 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 978cbaf9..33100cf9 100644 --- a/eZmaxApi/models/ezsignsignergroup_get_object_v2_response.py +++ b/eZmaxApi/models/ezsignsignergroup_get_object_v2_response.py @@ -18,20 +18,19 @@ import re # noqa: F401 import json -from pydantic import BaseModel, ConfigDict, Field -from typing import Any, ClassVar, Dict, List, Optional +from pydantic import ConfigDict, Field +from typing import Any, ClassVar, Dict, List +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.ezsignsignergroup_get_object_v2_response_m_payload import EzsignsignergroupGetObjectV2ResponseMPayload from typing import Optional, Set from typing_extensions import Self -class EzsignsignergroupGetObjectV2Response(BaseModel): +class EzsignsignergroupGetObjectV2Response(CommonResponse): """ 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 c0973453..87b213f5 100644 --- a/eZmaxApi/models/ezsignsignergroup_request.py +++ b/eZmaxApi/models/ezsignsignergroup_request.py @@ -79,19 +79,7 @@ def to_dict(self) -> Dict[str, Any]: return _dict @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + def from_dict(cls, obj: 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 445a7a8b..43df60b0 100644 --- a/eZmaxApi/models/ezsignsignergroup_request_compound.py +++ b/eZmaxApi/models/ezsignsignergroup_request_compound.py @@ -18,20 +18,17 @@ import re # noqa: F401 import json -from pydantic import BaseModel, ConfigDict, Field -from typing import Any, ClassVar, Dict, List, Optional -from typing_extensions import Annotated +from pydantic import ConfigDict +from typing import Any, ClassVar, Dict, List +from eZmaxApi.models.ezsignsignergroup_request import EzsignsignergroupRequest from eZmaxApi.models.multilingual_ezsignsignergroup_description import MultilingualEzsignsignergroupDescription from typing import Optional, Set from typing_extensions import Self -class EzsignsignergroupRequestCompound(BaseModel): +class EzsignsignergroupRequestCompound(EzsignsignergroupRequest): """ 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 5b32e887..afa0ab18 100644 --- a/eZmaxApi/models/ezsignsignergroup_response.py +++ b/eZmaxApi/models/ezsignsignergroup_response.py @@ -79,19 +79,7 @@ def to_dict(self) -> Dict[str, Any]: return _dict @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + def from_dict(cls, obj: 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 d0b9a198..0ea0071d 100644 --- a/eZmaxApi/models/ezsignsignergroup_response_compound.py +++ b/eZmaxApi/models/ezsignsignergroup_response_compound.py @@ -18,20 +18,17 @@ import re # noqa: F401 import json -from pydantic import BaseModel, ConfigDict, Field, StrictStr -from typing import Any, ClassVar, Dict, List, Optional -from typing_extensions import Annotated +from pydantic import ConfigDict +from typing import Any, ClassVar, Dict, List +from eZmaxApi.models.ezsignsignergroup_response import EzsignsignergroupResponse from eZmaxApi.models.multilingual_ezsignsignergroup_description import MultilingualEzsignsignergroupDescription from typing import Optional, Set from typing_extensions import Self -class EzsignsignergroupResponseCompound(BaseModel): +class EzsignsignergroupResponseCompound(EzsignsignergroupResponse): """ 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 5d7f4557..3e2bc53d 100644 --- a/eZmaxApi/models/ezsignsignergroupmembership_create_object_v1_response.py +++ b/eZmaxApi/models/ezsignsignergroupmembership_create_object_v1_response.py @@ -18,20 +18,19 @@ import re # noqa: F401 import json -from pydantic import BaseModel, ConfigDict, Field -from typing import Any, ClassVar, Dict, List, Optional +from pydantic import ConfigDict, Field +from typing import Any, ClassVar, Dict, List +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.ezsignsignergroupmembership_create_object_v1_response_m_payload import EzsignsignergroupmembershipCreateObjectV1ResponseMPayload from typing import Optional, Set from typing_extensions import Self -class EzsignsignergroupmembershipCreateObjectV1Response(BaseModel): +class EzsignsignergroupmembershipCreateObjectV1Response(CommonResponse): """ 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 e442db99..13809010 100644 --- a/eZmaxApi/models/ezsignsignergroupmembership_delete_object_v1_response.py +++ b/eZmaxApi/models/ezsignsignergroupmembership_delete_object_v1_response.py @@ -18,19 +18,18 @@ import re # noqa: F401 import json -from pydantic import BaseModel, ConfigDict, Field -from typing import Any, ClassVar, Dict, List, Optional +from pydantic import ConfigDict +from typing import Any, ClassVar, Dict, List +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 EzsignsignergroupmembershipDeleteObjectV1Response(BaseModel): +class EzsignsignergroupmembershipDeleteObjectV1Response(CommonResponse): """ 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 31c4fb4a..fe95dc01 100644 --- a/eZmaxApi/models/ezsignsignergroupmembership_get_object_v2_response.py +++ b/eZmaxApi/models/ezsignsignergroupmembership_get_object_v2_response.py @@ -18,20 +18,19 @@ import re # noqa: F401 import json -from pydantic import BaseModel, ConfigDict, Field -from typing import Any, ClassVar, Dict, List, Optional +from pydantic import ConfigDict, Field +from typing import Any, ClassVar, Dict, List +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.ezsignsignergroupmembership_get_object_v2_response_m_payload import EzsignsignergroupmembershipGetObjectV2ResponseMPayload from typing import Optional, Set from typing_extensions import Self -class EzsignsignergroupmembershipGetObjectV2Response(BaseModel): +class EzsignsignergroupmembershipGetObjectV2Response(CommonResponse): """ 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 dae7feed..20120370 100644 --- a/eZmaxApi/models/ezsignsignergroupmembership_request.py +++ b/eZmaxApi/models/ezsignsignergroupmembership_request.py @@ -77,21 +77,7 @@ def to_dict(self) -> Dict[str, Any]: return _dict @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + def from_dict(cls, obj: 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 6c60bda2..f606a049 100644 --- a/eZmaxApi/models/ezsignsignergroupmembership_request_compound.py +++ b/eZmaxApi/models/ezsignsignergroupmembership_request_compound.py @@ -18,21 +18,16 @@ import re # noqa: F401 import json -from pydantic import BaseModel, ConfigDict, Field -from typing import Any, ClassVar, Dict, List, Optional -from typing_extensions import Annotated +from pydantic import ConfigDict +from typing import Any, ClassVar, Dict, List +from eZmaxApi.models.ezsignsignergroupmembership_request import EzsignsignergroupmembershipRequest from typing import Optional, Set from typing_extensions import Self -class EzsignsignergroupmembershipRequestCompound(BaseModel): +class EzsignsignergroupmembershipRequestCompound(EzsignsignergroupmembershipRequest): """ 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 b60a0e39..8ee2a876 100644 --- a/eZmaxApi/models/ezsignsignergroupmembership_response.py +++ b/eZmaxApi/models/ezsignsignergroupmembership_response.py @@ -77,21 +77,7 @@ def to_dict(self) -> Dict[str, Any]: return _dict @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + def from_dict(cls, obj: 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 bd8f99e2..10d20a96 100644 --- a/eZmaxApi/models/ezsignsignergroupmembership_response_compound.py +++ b/eZmaxApi/models/ezsignsignergroupmembership_response_compound.py @@ -18,21 +18,16 @@ import re # noqa: F401 import json -from pydantic import BaseModel, ConfigDict, Field -from typing import Any, ClassVar, Dict, List, Optional -from typing_extensions import Annotated +from pydantic import ConfigDict +from typing import Any, ClassVar, Dict, List +from eZmaxApi.models.ezsignsignergroupmembership_response import EzsignsignergroupmembershipResponse from typing import Optional, Set from typing_extensions import Self -class EzsignsignergroupmembershipResponseCompound(BaseModel): +class EzsignsignergroupmembershipResponseCompound(EzsignsignergroupmembershipResponse): """ 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 c83e0c70..743f9fb7 100644 --- a/eZmaxApi/models/ezsignsigningreason_create_object_v1_response.py +++ b/eZmaxApi/models/ezsignsigningreason_create_object_v1_response.py @@ -18,20 +18,19 @@ import re # noqa: F401 import json -from pydantic import BaseModel, ConfigDict, Field -from typing import Any, ClassVar, Dict, List, Optional +from pydantic import ConfigDict, Field +from typing import Any, ClassVar, Dict, List +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.ezsignsigningreason_create_object_v1_response_m_payload import EzsignsigningreasonCreateObjectV1ResponseMPayload from typing import Optional, Set from typing_extensions import Self -class EzsignsigningreasonCreateObjectV1Response(BaseModel): +class EzsignsigningreasonCreateObjectV1Response(CommonResponse): """ 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 38d85e54..2a2de42f 100644 --- a/eZmaxApi/models/ezsignsigningreason_edit_object_v1_response.py +++ b/eZmaxApi/models/ezsignsigningreason_edit_object_v1_response.py @@ -18,19 +18,18 @@ import re # noqa: F401 import json -from pydantic import BaseModel, ConfigDict, Field -from typing import Any, ClassVar, Dict, List, Optional +from pydantic import ConfigDict +from typing import Any, ClassVar, Dict, List +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 EzsignsigningreasonEditObjectV1Response(BaseModel): +class EzsignsigningreasonEditObjectV1Response(CommonResponse): """ 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 e9b180e4..41b04a85 100644 --- a/eZmaxApi/models/ezsignsigningreason_get_autocomplete_v2_response.py +++ b/eZmaxApi/models/ezsignsigningreason_get_autocomplete_v2_response.py @@ -18,20 +18,19 @@ import re # noqa: F401 import json -from pydantic import BaseModel, ConfigDict, Field -from typing import Any, ClassVar, Dict, List, Optional +from pydantic import ConfigDict, Field +from typing import Any, ClassVar, Dict, List +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.ezsignsigningreason_get_autocomplete_v2_response_m_payload import EzsignsigningreasonGetAutocompleteV2ResponseMPayload from typing import Optional, Set from typing_extensions import Self -class EzsignsigningreasonGetAutocompleteV2Response(BaseModel): +class EzsignsigningreasonGetAutocompleteV2Response(CommonResponse): """ 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 18387f0d..fa3652ee 100644 --- a/eZmaxApi/models/ezsignsigningreason_get_list_v1_response.py +++ b/eZmaxApi/models/ezsignsigningreason_get_list_v1_response.py @@ -18,20 +18,19 @@ import re # noqa: F401 import json -from pydantic import BaseModel, ConfigDict, Field -from typing import Any, ClassVar, Dict, List, Optional +from pydantic import ConfigDict, Field +from typing import Any, ClassVar, Dict, List +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 eZmaxApi.models.ezsignsigningreason_get_list_v1_response_m_payload import EzsignsigningreasonGetListV1ResponseMPayload from typing import Optional, Set from typing_extensions import Self -class EzsignsigningreasonGetListV1Response(BaseModel): +class EzsignsigningreasonGetListV1Response(CommonResponseGetList): """ 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 1bfe3488..642b21b2 100644 --- a/eZmaxApi/models/ezsignsigningreason_get_list_v1_response_m_payload.py +++ b/eZmaxApi/models/ezsignsigningreason_get_list_v1_response_m_payload.py @@ -18,18 +18,17 @@ import re # noqa: F401 import json -from pydantic import BaseModel, ConfigDict, Field, StrictInt +from pydantic import ConfigDict, Field 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(BaseModel): +class EzsignsigningreasonGetListV1ResponseMPayload(CommonGetListV1ResponseMPayload): """ 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 b92f5a01..d9cb18d4 100644 --- a/eZmaxApi/models/ezsignsigningreason_get_object_v2_response.py +++ b/eZmaxApi/models/ezsignsigningreason_get_object_v2_response.py @@ -18,20 +18,19 @@ import re # noqa: F401 import json -from pydantic import BaseModel, ConfigDict, Field -from typing import Any, ClassVar, Dict, List, Optional +from pydantic import ConfigDict, Field +from typing import Any, ClassVar, Dict, List +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.ezsignsigningreason_get_object_v2_response_m_payload import EzsignsigningreasonGetObjectV2ResponseMPayload from typing import Optional, Set from typing_extensions import Self -class EzsignsigningreasonGetObjectV2Response(BaseModel): +class EzsignsigningreasonGetObjectV2Response(CommonResponse): """ 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 f94abf37..85f4b5a5 100644 --- a/eZmaxApi/models/ezsignsigningreason_request.py +++ b/eZmaxApi/models/ezsignsigningreason_request.py @@ -79,19 +79,7 @@ def to_dict(self) -> Dict[str, Any]: return _dict @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + def from_dict(cls, obj: 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 a45e4a2a..3361af97 100644 --- a/eZmaxApi/models/ezsignsigningreason_request_compound.py +++ b/eZmaxApi/models/ezsignsigningreason_request_compound.py @@ -18,20 +18,17 @@ import re # noqa: F401 import json -from pydantic import BaseModel, ConfigDict, Field, StrictBool -from typing import Any, ClassVar, Dict, List, Optional -from typing_extensions import Annotated +from pydantic import ConfigDict +from typing import Any, ClassVar, Dict, List +from eZmaxApi.models.ezsignsigningreason_request import EzsignsigningreasonRequest from eZmaxApi.models.multilingual_ezsignsigningreason_description import MultilingualEzsignsigningreasonDescription from typing import Optional, Set from typing_extensions import Self -class EzsignsigningreasonRequestCompound(BaseModel): +class EzsignsigningreasonRequestCompound(EzsignsigningreasonRequest): """ 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 d4a8b99a..e7a6b512 100644 --- a/eZmaxApi/models/ezsignsigningreason_response.py +++ b/eZmaxApi/models/ezsignsigningreason_response.py @@ -79,19 +79,7 @@ def to_dict(self) -> Dict[str, Any]: return _dict @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + def from_dict(cls, obj: 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 2bca814d..5da59850 100644 --- a/eZmaxApi/models/ezsignsigningreason_response_compound.py +++ b/eZmaxApi/models/ezsignsigningreason_response_compound.py @@ -18,20 +18,17 @@ import re # noqa: F401 import json -from pydantic import BaseModel, ConfigDict, Field, StrictBool +from pydantic import ConfigDict from typing import Any, ClassVar, Dict, List -from typing_extensions import Annotated +from eZmaxApi.models.ezsignsigningreason_response import EzsignsigningreasonResponse from eZmaxApi.models.multilingual_ezsignsigningreason_description import MultilingualEzsignsigningreasonDescription from typing import Optional, Set from typing_extensions import Self -class EzsignsigningreasonResponseCompound(BaseModel): +class EzsignsigningreasonResponseCompound(EzsignsigningreasonResponse): """ 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 4c67b575..1ca0ac04 100644 --- a/eZmaxApi/models/ezsigntemplate_copy_v1_response.py +++ b/eZmaxApi/models/ezsigntemplate_copy_v1_response.py @@ -18,20 +18,19 @@ import re # noqa: F401 import json -from pydantic import BaseModel, ConfigDict, Field -from typing import Any, ClassVar, Dict, List, Optional +from pydantic import ConfigDict, Field +from typing import Any, ClassVar, Dict, List +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.ezsigntemplate_copy_v1_response_m_payload import EzsigntemplateCopyV1ResponseMPayload from typing import Optional, Set from typing_extensions import Self -class EzsigntemplateCopyV1Response(BaseModel): +class EzsigntemplateCopyV1Response(CommonResponse): """ 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 1090caba..123593cc 100644 --- a/eZmaxApi/models/ezsigntemplate_create_object_v3_response.py +++ b/eZmaxApi/models/ezsigntemplate_create_object_v3_response.py @@ -18,20 +18,19 @@ import re # noqa: F401 import json -from pydantic import BaseModel, ConfigDict, Field -from typing import Any, ClassVar, Dict, List, Optional +from pydantic import ConfigDict, Field +from typing import Any, ClassVar, Dict, List +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.ezsigntemplate_create_object_v3_response_m_payload import EzsigntemplateCreateObjectV3ResponseMPayload from typing import Optional, Set from typing_extensions import Self -class EzsigntemplateCreateObjectV3Response(BaseModel): +class EzsigntemplateCreateObjectV3Response(CommonResponse): """ 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 f001f726..d3a86984 100644 --- a/eZmaxApi/models/ezsigntemplate_delete_object_v1_response.py +++ b/eZmaxApi/models/ezsigntemplate_delete_object_v1_response.py @@ -18,19 +18,18 @@ import re # noqa: F401 import json -from pydantic import BaseModel, ConfigDict, Field -from typing import Any, ClassVar, Dict, List, Optional +from pydantic import ConfigDict +from typing import Any, ClassVar, Dict, List +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 EzsigntemplateDeleteObjectV1Response(BaseModel): +class EzsigntemplateDeleteObjectV1Response(CommonResponse): """ 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 5154bd46..13ad388f 100644 --- a/eZmaxApi/models/ezsigntemplate_edit_object_v3_response.py +++ b/eZmaxApi/models/ezsigntemplate_edit_object_v3_response.py @@ -18,19 +18,18 @@ import re # noqa: F401 import json -from pydantic import BaseModel, ConfigDict, Field -from typing import Any, ClassVar, Dict, List, Optional +from pydantic import ConfigDict +from typing import Any, ClassVar, Dict, List +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 EzsigntemplateEditObjectV3Response(BaseModel): +class EzsigntemplateEditObjectV3Response(CommonResponse): """ 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 fba82ab9..182a1b5f 100644 --- a/eZmaxApi/models/ezsigntemplate_get_autocomplete_v2_response.py +++ b/eZmaxApi/models/ezsigntemplate_get_autocomplete_v2_response.py @@ -18,20 +18,19 @@ import re # noqa: F401 import json -from pydantic import BaseModel, ConfigDict, Field -from typing import Any, ClassVar, Dict, List, Optional +from pydantic import ConfigDict, Field +from typing import Any, ClassVar, Dict, List +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.ezsigntemplate_get_autocomplete_v2_response_m_payload import EzsigntemplateGetAutocompleteV2ResponseMPayload from typing import Optional, Set from typing_extensions import Self -class EzsigntemplateGetAutocompleteV2Response(BaseModel): +class EzsigntemplateGetAutocompleteV2Response(CommonResponse): """ 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 e2b59611..db805847 100644 --- a/eZmaxApi/models/ezsigntemplate_get_list_v1_response.py +++ b/eZmaxApi/models/ezsigntemplate_get_list_v1_response.py @@ -18,20 +18,19 @@ import re # noqa: F401 import json -from pydantic import BaseModel, ConfigDict, Field -from typing import Any, ClassVar, Dict, List, Optional +from pydantic import ConfigDict, Field +from typing import Any, ClassVar, Dict, List +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 eZmaxApi.models.ezsigntemplate_get_list_v1_response_m_payload import EzsigntemplateGetListV1ResponseMPayload from typing import Optional, Set from typing_extensions import Self -class EzsigntemplateGetListV1Response(BaseModel): +class EzsigntemplateGetListV1Response(CommonResponseGetList): """ 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 412b2a5e..87b21a96 100644 --- a/eZmaxApi/models/ezsigntemplate_get_list_v1_response_m_payload.py +++ b/eZmaxApi/models/ezsigntemplate_get_list_v1_response_m_payload.py @@ -18,18 +18,17 @@ import re # noqa: F401 import json -from pydantic import BaseModel, ConfigDict, Field, StrictInt +from pydantic import ConfigDict, Field 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(BaseModel): +class EzsigntemplateGetListV1ResponseMPayload(CommonGetListV1ResponseMPayload): """ 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 b9b336a1..7c19c7ae 100644 --- a/eZmaxApi/models/ezsigntemplate_get_object_v3_response.py +++ b/eZmaxApi/models/ezsigntemplate_get_object_v3_response.py @@ -18,20 +18,19 @@ import re # noqa: F401 import json -from pydantic import BaseModel, ConfigDict, Field -from typing import Any, ClassVar, Dict, List, Optional +from pydantic import ConfigDict, Field +from typing import Any, ClassVar, Dict, List +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.ezsigntemplate_get_object_v3_response_m_payload import EzsigntemplateGetObjectV3ResponseMPayload from typing import Optional, Set from typing_extensions import Self -class EzsigntemplateGetObjectV3Response(BaseModel): +class EzsigntemplateGetObjectV3Response(CommonResponse): """ 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 102c5837..320cae19 100644 --- a/eZmaxApi/models/ezsigntemplate_request_compound_v3.py +++ b/eZmaxApi/models/ezsigntemplate_request_compound_v3.py @@ -18,58 +18,20 @@ import re # noqa: F401 import json -from pydantic import BaseModel, ConfigDict, Field, StrictBool, StrictStr, field_validator -from typing import Any, ClassVar, Dict, List, Optional -from typing_extensions import Annotated +from pydantic import ConfigDict +from typing import Any, ClassVar, Dict, List +from eZmaxApi.models.ezsigntemplate_request_v3 import EzsigntemplateRequestV3 from eZmaxApi.models.field_e_ezsigntemplate_recognition import FieldEEzsigntemplateRecognition from eZmaxApi.models.field_e_ezsigntemplate_type import FieldEEzsigntemplateType from typing import Optional, Set from typing_extensions import Self -class EzsigntemplateRequestCompoundV3(BaseModel): +class EzsigntemplateRequestCompoundV3(EzsigntemplateRequestV3): """ 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 501d5607..55b7806e 100644 --- a/eZmaxApi/models/ezsigntemplate_request_v3.py +++ b/eZmaxApi/models/ezsigntemplate_request_v3.py @@ -112,27 +112,7 @@ def to_dict(self) -> Dict[str, Any]: return _dict @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + def from_dict(cls, obj: 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 0aada47f..7a6a42ab 100644 --- a/eZmaxApi/models/ezsigntemplate_response.py +++ b/eZmaxApi/models/ezsigntemplate_response.py @@ -119,31 +119,7 @@ def to_dict(self) -> Dict[str, Any]: return _dict @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + def from_dict(cls, obj: 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 d2ecdc98..090bf47f 100644 --- a/eZmaxApi/models/ezsigntemplate_response_compound.py +++ b/eZmaxApi/models/ezsigntemplate_response_compound.py @@ -18,66 +18,24 @@ import re # noqa: F401 import json -from pydantic import BaseModel, ConfigDict, Field, StrictBool, StrictStr, field_validator +from pydantic import ConfigDict, Field 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(BaseModel): +class EzsigntemplateResponseCompound(EzsigntemplateResponse): """ 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 b9f247e7..fa2c7797 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 BaseModel, ConfigDict, Field, StrictBool, StrictStr, field_validator +from pydantic import ConfigDict, Field 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,68 +29,14 @@ from typing import Optional, Set from typing_extensions import Self -class EzsigntemplateResponseCompoundV3(BaseModel): +class EzsigntemplateResponseCompoundV3(EzsigntemplateResponseV3): """ 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 b111042d..5d392ab3 100644 --- a/eZmaxApi/models/ezsigntemplate_response_v3.py +++ b/eZmaxApi/models/ezsigntemplate_response_v3.py @@ -132,33 +132,7 @@ def to_dict(self) -> Dict[str, Any]: return _dict @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + def from_dict(cls, obj: 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 200e9209..d2c3c294 100644 --- a/eZmaxApi/models/ezsigntemplatedocument_create_object_v1_response.py +++ b/eZmaxApi/models/ezsigntemplatedocument_create_object_v1_response.py @@ -18,20 +18,19 @@ import re # noqa: F401 import json -from pydantic import BaseModel, ConfigDict, Field -from typing import Any, ClassVar, Dict, List, Optional +from pydantic import ConfigDict, Field +from typing import Any, ClassVar, Dict, List +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.ezsigntemplatedocument_create_object_v1_response_m_payload import EzsigntemplatedocumentCreateObjectV1ResponseMPayload from typing import Optional, Set from typing_extensions import Self -class EzsigntemplatedocumentCreateObjectV1Response(BaseModel): +class EzsigntemplatedocumentCreateObjectV1Response(CommonResponse): """ 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 31814b0a..5c1e3dfe 100644 --- a/eZmaxApi/models/ezsigntemplatedocument_edit_ezsigntemplatedocumentpagerecognitions_v1_response.py +++ b/eZmaxApi/models/ezsigntemplatedocument_edit_ezsigntemplatedocumentpagerecognitions_v1_response.py @@ -18,20 +18,19 @@ import re # noqa: F401 import json -from pydantic import BaseModel, ConfigDict, Field -from typing import Any, ClassVar, Dict, List, Optional +from pydantic import ConfigDict, Field +from typing import Any, ClassVar, Dict, List +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.ezsigntemplatedocument_edit_ezsigntemplatedocumentpagerecognitions_v1_response_m_payload import EzsigntemplatedocumentEditEzsigntemplatedocumentpagerecognitionsV1ResponseMPayload from typing import Optional, Set from typing_extensions import Self -class EzsigntemplatedocumentEditEzsigntemplatedocumentpagerecognitionsV1Response(BaseModel): +class EzsigntemplatedocumentEditEzsigntemplatedocumentpagerecognitionsV1Response(CommonResponse): """ 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 955bb8fe..2eb07c0c 100644 --- a/eZmaxApi/models/ezsigntemplatedocument_edit_ezsigntemplateformfieldgroups_v1_response.py +++ b/eZmaxApi/models/ezsigntemplatedocument_edit_ezsigntemplateformfieldgroups_v1_response.py @@ -18,20 +18,19 @@ import re # noqa: F401 import json -from pydantic import BaseModel, ConfigDict, Field -from typing import Any, ClassVar, Dict, List, Optional +from pydantic import ConfigDict, Field +from typing import Any, ClassVar, Dict, List +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.ezsigntemplatedocument_edit_ezsigntemplateformfieldgroups_v1_response_m_payload import EzsigntemplatedocumentEditEzsigntemplateformfieldgroupsV1ResponseMPayload from typing import Optional, Set from typing_extensions import Self -class EzsigntemplatedocumentEditEzsigntemplateformfieldgroupsV1Response(BaseModel): +class EzsigntemplatedocumentEditEzsigntemplateformfieldgroupsV1Response(CommonResponse): """ 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 ddaec687..f0805991 100644 --- a/eZmaxApi/models/ezsigntemplatedocument_edit_ezsigntemplatesignatures_v1_response.py +++ b/eZmaxApi/models/ezsigntemplatedocument_edit_ezsigntemplatesignatures_v1_response.py @@ -18,20 +18,19 @@ import re # noqa: F401 import json -from pydantic import BaseModel, ConfigDict, Field -from typing import Any, ClassVar, Dict, List, Optional +from pydantic import ConfigDict, Field +from typing import Any, ClassVar, Dict, List +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.ezsigntemplatedocument_edit_ezsigntemplatesignatures_v1_response_m_payload import EzsigntemplatedocumentEditEzsigntemplatesignaturesV1ResponseMPayload from typing import Optional, Set from typing_extensions import Self -class EzsigntemplatedocumentEditEzsigntemplatesignaturesV1Response(BaseModel): +class EzsigntemplatedocumentEditEzsigntemplatesignaturesV1Response(CommonResponse): """ 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 298191f4..df5c79b0 100644 --- a/eZmaxApi/models/ezsigntemplatedocument_edit_object_v1_response.py +++ b/eZmaxApi/models/ezsigntemplatedocument_edit_object_v1_response.py @@ -18,20 +18,19 @@ import re # noqa: F401 import json -from pydantic import BaseModel, ConfigDict, Field +from pydantic import 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(BaseModel): +class EzsigntemplatedocumentEditObjectV1Response(CommonResponse): """ 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 9bcf034c..8b2b238b 100644 --- a/eZmaxApi/models/ezsigntemplatedocument_extract_text_v1_response.py +++ b/eZmaxApi/models/ezsigntemplatedocument_extract_text_v1_response.py @@ -18,20 +18,19 @@ import re # noqa: F401 import json -from pydantic import BaseModel, ConfigDict, Field -from typing import Any, ClassVar, Dict, List, Optional +from pydantic import ConfigDict, Field +from typing import Any, ClassVar, Dict, List +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.ezsigntemplatedocument_extract_text_v1_response_m_payload import EzsigntemplatedocumentExtractTextV1ResponseMPayload from typing import Optional, Set from typing_extensions import Self -class EzsigntemplatedocumentExtractTextV1Response(BaseModel): +class EzsigntemplatedocumentExtractTextV1Response(CommonResponse): """ 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 1ea80ebd..7da60233 100644 --- a/eZmaxApi/models/ezsigntemplatedocument_flatten_v1_response.py +++ b/eZmaxApi/models/ezsigntemplatedocument_flatten_v1_response.py @@ -18,19 +18,18 @@ import re # noqa: F401 import json -from pydantic import BaseModel, ConfigDict, Field -from typing import Any, ClassVar, Dict, List, Optional +from pydantic import ConfigDict +from typing import Any, ClassVar, Dict, List +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 EzsigntemplatedocumentFlattenV1Response(BaseModel): +class EzsigntemplatedocumentFlattenV1Response(CommonResponse): """ 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 6d4e5847..c9b25b7e 100644 --- a/eZmaxApi/models/ezsigntemplatedocument_get_ezsigntemplatedocumentpagerecognitions_v1_response.py +++ b/eZmaxApi/models/ezsigntemplatedocument_get_ezsigntemplatedocumentpagerecognitions_v1_response.py @@ -18,20 +18,19 @@ import re # noqa: F401 import json -from pydantic import BaseModel, ConfigDict, Field -from typing import Any, ClassVar, Dict, List, Optional +from pydantic import ConfigDict, Field +from typing import Any, ClassVar, Dict, List +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.ezsigntemplatedocument_get_ezsigntemplatedocumentpagerecognitions_v1_response_m_payload import EzsigntemplatedocumentGetEzsigntemplatedocumentpagerecognitionsV1ResponseMPayload from typing import Optional, Set from typing_extensions import Self -class EzsigntemplatedocumentGetEzsigntemplatedocumentpagerecognitionsV1Response(BaseModel): +class EzsigntemplatedocumentGetEzsigntemplatedocumentpagerecognitionsV1Response(CommonResponse): """ 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 f467dcda..bbae248b 100644 --- a/eZmaxApi/models/ezsigntemplatedocument_get_ezsigntemplatedocumentpages_v1_response.py +++ b/eZmaxApi/models/ezsigntemplatedocument_get_ezsigntemplatedocumentpages_v1_response.py @@ -18,20 +18,19 @@ import re # noqa: F401 import json -from pydantic import BaseModel, ConfigDict, Field -from typing import Any, ClassVar, Dict, List, Optional +from pydantic import ConfigDict, Field +from typing import Any, ClassVar, Dict, List +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.ezsigntemplatedocument_get_ezsigntemplatedocumentpages_v1_response_m_payload import EzsigntemplatedocumentGetEzsigntemplatedocumentpagesV1ResponseMPayload from typing import Optional, Set from typing_extensions import Self -class EzsigntemplatedocumentGetEzsigntemplatedocumentpagesV1Response(BaseModel): +class EzsigntemplatedocumentGetEzsigntemplatedocumentpagesV1Response(CommonResponse): """ 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_ezsigntemplateformfieldgroups_v1_response.py b/eZmaxApi/models/ezsigntemplatedocument_get_ezsigntemplateformfieldgroups_v1_response.py index 7f8c3c74..2068c34d 100644 --- a/eZmaxApi/models/ezsigntemplatedocument_get_ezsigntemplateformfieldgroups_v1_response.py +++ b/eZmaxApi/models/ezsigntemplatedocument_get_ezsigntemplateformfieldgroups_v1_response.py @@ -18,20 +18,19 @@ import re # noqa: F401 import json -from pydantic import BaseModel, ConfigDict, Field -from typing import Any, ClassVar, Dict, List, Optional +from pydantic import ConfigDict, Field +from typing import Any, ClassVar, Dict, List +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.ezsigntemplatedocument_get_ezsigntemplateformfieldgroups_v1_response_m_payload import EzsigntemplatedocumentGetEzsigntemplateformfieldgroupsV1ResponseMPayload from typing import Optional, Set from typing_extensions import Self -class EzsigntemplatedocumentGetEzsigntemplateformfieldgroupsV1Response(BaseModel): +class EzsigntemplatedocumentGetEzsigntemplateformfieldgroupsV1Response(CommonResponse): """ 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 df55d3a4..d44ca8e6 100644 --- a/eZmaxApi/models/ezsigntemplatedocument_get_ezsigntemplatesignatures_v1_response.py +++ b/eZmaxApi/models/ezsigntemplatedocument_get_ezsigntemplatesignatures_v1_response.py @@ -18,20 +18,19 @@ import re # noqa: F401 import json -from pydantic import BaseModel, ConfigDict, Field -from typing import Any, ClassVar, Dict, List, Optional +from pydantic import ConfigDict, Field +from typing import Any, ClassVar, Dict, List +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.ezsigntemplatedocument_get_ezsigntemplatesignatures_v1_response_m_payload import EzsigntemplatedocumentGetEzsigntemplatesignaturesV1ResponseMPayload from typing import Optional, Set from typing_extensions import Self -class EzsigntemplatedocumentGetEzsigntemplatesignaturesV1Response(BaseModel): +class EzsigntemplatedocumentGetEzsigntemplatesignaturesV1Response(CommonResponse): """ 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 850c9c1d..2f769507 100644 --- a/eZmaxApi/models/ezsigntemplatedocument_get_object_v2_response.py +++ b/eZmaxApi/models/ezsigntemplatedocument_get_object_v2_response.py @@ -18,20 +18,19 @@ import re # noqa: F401 import json -from pydantic import BaseModel, ConfigDict, Field -from typing import Any, ClassVar, Dict, List, Optional +from pydantic import ConfigDict, Field +from typing import Any, ClassVar, Dict, List +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.ezsigntemplatedocument_get_object_v2_response_m_payload import EzsigntemplatedocumentGetObjectV2ResponseMPayload from typing import Optional, Set from typing_extensions import Self -class EzsigntemplatedocumentGetObjectV2Response(BaseModel): +class EzsigntemplatedocumentGetObjectV2Response(CommonResponse): """ 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 1225fabc..4f9d69bb 100644 --- a/eZmaxApi/models/ezsigntemplatedocument_get_words_positions_v1_response.py +++ b/eZmaxApi/models/ezsigntemplatedocument_get_words_positions_v1_response.py @@ -18,20 +18,19 @@ import re # noqa: F401 import json -from pydantic import BaseModel, ConfigDict, Field -from typing import Any, ClassVar, Dict, List, Optional +from pydantic import ConfigDict, Field +from typing import Any, ClassVar, Dict, List +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.custom_word_position_word_response import CustomWordPositionWordResponse from typing import Optional, Set from typing_extensions import Self -class EzsigntemplatedocumentGetWordsPositionsV1Response(BaseModel): +class EzsigntemplatedocumentGetWordsPositionsV1Response(CommonResponse): """ 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 45082b93..7f6a0573 100644 --- a/eZmaxApi/models/ezsigntemplatedocument_patch_object_v1_response.py +++ b/eZmaxApi/models/ezsigntemplatedocument_patch_object_v1_response.py @@ -18,19 +18,18 @@ import re # noqa: F401 import json -from pydantic import BaseModel, ConfigDict, Field -from typing import Any, ClassVar, Dict, List, Optional +from pydantic import ConfigDict +from typing import Any, ClassVar, Dict, List +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 EzsigntemplatedocumentPatchObjectV1Response(BaseModel): +class EzsigntemplatedocumentPatchObjectV1Response(CommonResponse): """ 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 22401c4f..d2241613 100644 --- a/eZmaxApi/models/ezsigntemplatedocument_request.py +++ b/eZmaxApi/models/ezsigntemplatedocument_request.py @@ -111,28 +111,7 @@ def to_dict(self) -> Dict[str, Any]: return _dict @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + def from_dict(cls, obj: 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 8039da51..d3e95e55 100644 --- a/eZmaxApi/models/ezsigntemplatedocument_request_compound.py +++ b/eZmaxApi/models/ezsigntemplatedocument_request_compound.py @@ -18,57 +18,18 @@ import re # noqa: F401 import json -from pydantic import BaseModel, ConfigDict, Field, StrictBool, StrictBytes, StrictStr, field_validator -from typing import Any, ClassVar, Dict, List, Optional, Union -from typing_extensions import Annotated +from pydantic import ConfigDict +from typing import Any, ClassVar, Dict, List +from eZmaxApi.models.ezsigntemplatedocument_request import EzsigntemplatedocumentRequest from typing import Optional, Set from typing_extensions import Self -class EzsigntemplatedocumentRequestCompound(BaseModel): +class EzsigntemplatedocumentRequestCompound(EzsigntemplatedocumentRequest): """ 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 3bb35dd9..18f6221d 100644 --- a/eZmaxApi/models/ezsigntemplatedocument_response.py +++ b/eZmaxApi/models/ezsigntemplatedocument_response.py @@ -79,23 +79,7 @@ def to_dict(self) -> Dict[str, Any]: return _dict @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + def from_dict(cls, obj: 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 fd973484..5212bca6 100644 --- a/eZmaxApi/models/ezsigntemplatedocument_response_compound.py +++ b/eZmaxApi/models/ezsigntemplatedocument_response_compound.py @@ -18,23 +18,16 @@ import re # noqa: F401 import json -from pydantic import BaseModel, ConfigDict, Field, StrictBool, StrictInt, StrictStr +from pydantic import ConfigDict from typing import Any, ClassVar, Dict, List -from typing_extensions import Annotated +from eZmaxApi.models.ezsigntemplatedocument_response import EzsigntemplatedocumentResponse from typing import Optional, Set from typing_extensions import Self -class EzsigntemplatedocumentResponseCompound(BaseModel): +class EzsigntemplatedocumentResponseCompound(EzsigntemplatedocumentResponse): """ 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 2266fb8c..1262a385 100644 --- a/eZmaxApi/models/ezsigntemplatedocumentpagerecognition_create_object_v1_response.py +++ b/eZmaxApi/models/ezsigntemplatedocumentpagerecognition_create_object_v1_response.py @@ -18,20 +18,19 @@ import re # noqa: F401 import json -from pydantic import BaseModel, ConfigDict, Field -from typing import Any, ClassVar, Dict, List, Optional +from pydantic import ConfigDict, Field +from typing import Any, ClassVar, Dict, List +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.ezsigntemplatedocumentpagerecognition_create_object_v1_response_m_payload import EzsigntemplatedocumentpagerecognitionCreateObjectV1ResponseMPayload from typing import Optional, Set from typing_extensions import Self -class EzsigntemplatedocumentpagerecognitionCreateObjectV1Response(BaseModel): +class EzsigntemplatedocumentpagerecognitionCreateObjectV1Response(CommonResponse): """ 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 35936e8c..882ce5b0 100644 --- a/eZmaxApi/models/ezsigntemplatedocumentpagerecognition_delete_object_v1_response.py +++ b/eZmaxApi/models/ezsigntemplatedocumentpagerecognition_delete_object_v1_response.py @@ -18,19 +18,18 @@ import re # noqa: F401 import json -from pydantic import BaseModel, ConfigDict, Field -from typing import Any, ClassVar, Dict, List, Optional +from pydantic import ConfigDict +from typing import Any, ClassVar, Dict, List +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 EzsigntemplatedocumentpagerecognitionDeleteObjectV1Response(BaseModel): +class EzsigntemplatedocumentpagerecognitionDeleteObjectV1Response(CommonResponse): """ 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 247be953..a45e4909 100644 --- a/eZmaxApi/models/ezsigntemplatedocumentpagerecognition_edit_object_v1_response.py +++ b/eZmaxApi/models/ezsigntemplatedocumentpagerecognition_edit_object_v1_response.py @@ -18,19 +18,18 @@ import re # noqa: F401 import json -from pydantic import BaseModel, ConfigDict, Field -from typing import Any, ClassVar, Dict, List, Optional +from pydantic import ConfigDict +from typing import Any, ClassVar, Dict, List +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 EzsigntemplatedocumentpagerecognitionEditObjectV1Response(BaseModel): +class EzsigntemplatedocumentpagerecognitionEditObjectV1Response(CommonResponse): """ 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 e670a7d2..5b999cfe 100644 --- a/eZmaxApi/models/ezsigntemplatedocumentpagerecognition_get_object_v2_response.py +++ b/eZmaxApi/models/ezsigntemplatedocumentpagerecognition_get_object_v2_response.py @@ -18,20 +18,19 @@ import re # noqa: F401 import json -from pydantic import BaseModel, ConfigDict, Field -from typing import Any, ClassVar, Dict, List, Optional +from pydantic import ConfigDict, Field +from typing import Any, ClassVar, Dict, List +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.ezsigntemplatedocumentpagerecognition_get_object_v2_response_m_payload import EzsigntemplatedocumentpagerecognitionGetObjectV2ResponseMPayload from typing import Optional, Set from typing_extensions import Self -class EzsigntemplatedocumentpagerecognitionGetObjectV2Response(BaseModel): +class EzsigntemplatedocumentpagerecognitionGetObjectV2Response(CommonResponse): """ 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 68f23780..566db094 100644 --- a/eZmaxApi/models/ezsigntemplatedocumentpagerecognition_request.py +++ b/eZmaxApi/models/ezsigntemplatedocumentpagerecognition_request.py @@ -91,26 +91,7 @@ def to_dict(self) -> Dict[str, Any]: return _dict @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + def from_dict(cls, obj: 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 808b72fb..eb15ee72 100644 --- a/eZmaxApi/models/ezsigntemplatedocumentpagerecognition_request_compound.py +++ b/eZmaxApi/models/ezsigntemplatedocumentpagerecognition_request_compound.py @@ -18,37 +18,20 @@ import re # noqa: F401 import json -from pydantic import BaseModel, ConfigDict, Field, field_validator -from typing import Any, ClassVar, Dict, List, Optional -from typing_extensions import Annotated +from pydantic import ConfigDict +from typing import Any, ClassVar, Dict, List +from eZmaxApi.models.ezsigntemplatedocumentpagerecognition_request import EzsigntemplatedocumentpagerecognitionRequest from eZmaxApi.models.field_e_ezsigntemplatedocumentpagerecognition_operator import FieldEEzsigntemplatedocumentpagerecognitionOperator from eZmaxApi.models.field_e_ezsigntemplatedocumentpagerecognition_section import FieldEEzsigntemplatedocumentpagerecognitionSection from typing import Optional, Set from typing_extensions import Self -class EzsigntemplatedocumentpagerecognitionRequestCompound(BaseModel): +class EzsigntemplatedocumentpagerecognitionRequestCompound(EzsigntemplatedocumentpagerecognitionRequest): """ 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 f437408f..7769a3da 100644 --- a/eZmaxApi/models/ezsigntemplatedocumentpagerecognition_response.py +++ b/eZmaxApi/models/ezsigntemplatedocumentpagerecognition_response.py @@ -91,26 +91,7 @@ def to_dict(self) -> Dict[str, Any]: return _dict @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + def from_dict(cls, obj: 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 6fde8941..b2507370 100644 --- a/eZmaxApi/models/ezsigntemplatedocumentpagerecognition_response_compound.py +++ b/eZmaxApi/models/ezsigntemplatedocumentpagerecognition_response_compound.py @@ -18,37 +18,20 @@ import re # noqa: F401 import json -from pydantic import BaseModel, ConfigDict, Field, field_validator -from typing import Any, ClassVar, Dict, List, Optional -from typing_extensions import Annotated +from pydantic import ConfigDict +from typing import Any, ClassVar, Dict, List +from eZmaxApi.models.ezsigntemplatedocumentpagerecognition_response import EzsigntemplatedocumentpagerecognitionResponse from eZmaxApi.models.field_e_ezsigntemplatedocumentpagerecognition_operator import FieldEEzsigntemplatedocumentpagerecognitionOperator from eZmaxApi.models.field_e_ezsigntemplatedocumentpagerecognition_section import FieldEEzsigntemplatedocumentpagerecognitionSection from typing import Optional, Set from typing_extensions import Self -class EzsigntemplatedocumentpagerecognitionResponseCompound(BaseModel): +class EzsigntemplatedocumentpagerecognitionResponseCompound(EzsigntemplatedocumentpagerecognitionResponse): """ 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 46236c8a..b483bafd 100644 --- a/eZmaxApi/models/ezsigntemplateformfield_request.py +++ b/eZmaxApi/models/ezsigntemplateformfield_request.py @@ -108,34 +108,7 @@ def to_dict(self) -> Dict[str, Any]: return _dict @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + def from_dict(cls, obj: 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 9820be2e..c94c1127 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 BaseModel, ConfigDict, Field, StrictBool, StrictInt, StrictStr, field_validator +from pydantic import ConfigDict, Field 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.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,41 +30,13 @@ from typing import Optional, Set from typing_extensions import Self -class EzsigntemplateformfieldRequestCompound(BaseModel): +class EzsigntemplateformfieldRequestCompound(EzsigntemplateformfieldRequest): """ An Ezsigntemplateformfield Object and children to create a complete structure """ # noqa: E501 - pki_ezsigntemplateformfield_id: Optional[Annotated[int, Field(strict=True, ge=0)]] = Field(default=None, description="The unique ID of the Ezsigntemplateformfield", alias="pkiEzsigntemplateformfieldID") - e_ezsigntemplateformfield_positioning: Optional[FieldEEzsigntemplateformfieldPositioning] = Field(default=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[EzsigntemplateelementdependencyRequest]] = 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, diff --git a/eZmaxApi/models/ezsigntemplateformfield_response.py b/eZmaxApi/models/ezsigntemplateformfield_response.py index bf231e40..d1127d5a 100644 --- a/eZmaxApi/models/ezsigntemplateformfield_response.py +++ b/eZmaxApi/models/ezsigntemplateformfield_response.py @@ -108,34 +108,7 @@ def to_dict(self) -> Dict[str, Any]: return _dict @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + def from_dict(cls, obj: 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 0ff2ecee..1ef6d74e 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 BaseModel, ConfigDict, Field, StrictBool, StrictInt, StrictStr, field_validator +from pydantic import ConfigDict, Field 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.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,41 +30,13 @@ from typing import Optional, Set from typing_extensions import Self -class EzsigntemplateformfieldResponseCompound(BaseModel): +class EzsigntemplateformfieldResponseCompound(EzsigntemplateformfieldResponse): """ An Ezsigntemplateformfield Object and children """ # noqa: E501 - pki_ezsigntemplateformfield_id: Annotated[int, Field(strict=True, ge=0)] = Field(description="The unique ID of the Ezsigntemplateformfield", alias="pkiEzsigntemplateformfieldID") - e_ezsigntemplateformfield_positioning: Optional[FieldEEzsigntemplateformfieldPositioning] = Field(default=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[EzsigntemplateelementdependencyResponse]] = 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, diff --git a/eZmaxApi/models/ezsigntemplateformfieldgroup_create_object_v1_response.py b/eZmaxApi/models/ezsigntemplateformfieldgroup_create_object_v1_response.py index b4d354c3..0a5d40c6 100644 --- a/eZmaxApi/models/ezsigntemplateformfieldgroup_create_object_v1_response.py +++ b/eZmaxApi/models/ezsigntemplateformfieldgroup_create_object_v1_response.py @@ -18,20 +18,19 @@ import re # noqa: F401 import json -from pydantic import BaseModel, ConfigDict, Field -from typing import Any, ClassVar, Dict, List, Optional +from pydantic import ConfigDict, Field +from typing import Any, ClassVar, Dict, List +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.ezsigntemplateformfieldgroup_create_object_v1_response_m_payload import EzsigntemplateformfieldgroupCreateObjectV1ResponseMPayload from typing import Optional, Set from typing_extensions import Self -class EzsigntemplateformfieldgroupCreateObjectV1Response(BaseModel): +class EzsigntemplateformfieldgroupCreateObjectV1Response(CommonResponse): """ 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 b7c28f63..83ebae1e 100644 --- a/eZmaxApi/models/ezsigntemplateformfieldgroup_delete_object_v1_response.py +++ b/eZmaxApi/models/ezsigntemplateformfieldgroup_delete_object_v1_response.py @@ -18,19 +18,18 @@ import re # noqa: F401 import json -from pydantic import BaseModel, ConfigDict, Field -from typing import Any, ClassVar, Dict, List, Optional +from pydantic import ConfigDict +from typing import Any, ClassVar, Dict, List +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 EzsigntemplateformfieldgroupDeleteObjectV1Response(BaseModel): +class EzsigntemplateformfieldgroupDeleteObjectV1Response(CommonResponse): """ 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 b15e829c..449272c0 100644 --- a/eZmaxApi/models/ezsigntemplateformfieldgroup_edit_object_v1_response.py +++ b/eZmaxApi/models/ezsigntemplateformfieldgroup_edit_object_v1_response.py @@ -18,19 +18,18 @@ import re # noqa: F401 import json -from pydantic import BaseModel, ConfigDict, Field -from typing import Any, ClassVar, Dict, List, Optional +from pydantic import ConfigDict +from typing import Any, ClassVar, Dict, List +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 EzsigntemplateformfieldgroupEditObjectV1Response(BaseModel): +class EzsigntemplateformfieldgroupEditObjectV1Response(CommonResponse): """ 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 ebb9b72f..029250e3 100644 --- a/eZmaxApi/models/ezsigntemplateformfieldgroup_get_object_v2_response.py +++ b/eZmaxApi/models/ezsigntemplateformfieldgroup_get_object_v2_response.py @@ -18,20 +18,19 @@ import re # noqa: F401 import json -from pydantic import BaseModel, ConfigDict, Field -from typing import Any, ClassVar, Dict, List, Optional +from pydantic import ConfigDict, Field +from typing import Any, ClassVar, Dict, List +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.ezsigntemplateformfieldgroup_get_object_v2_response_m_payload import EzsigntemplateformfieldgroupGetObjectV2ResponseMPayload from typing import Optional, Set from typing_extensions import Self -class EzsigntemplateformfieldgroupGetObjectV2Response(BaseModel): +class EzsigntemplateformfieldgroupGetObjectV2Response(CommonResponse): """ 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 45f2cedb..a1620867 100644 --- a/eZmaxApi/models/ezsigntemplateformfieldgroup_request.py +++ b/eZmaxApi/models/ezsigntemplateformfieldgroup_request.py @@ -103,33 +103,7 @@ def to_dict(self) -> Dict[str, Any]: return _dict @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + def from_dict(cls, obj: 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 3be9f93b..2de7ffb8 100644 --- a/eZmaxApi/models/ezsigntemplateformfieldgroup_request_compound.py +++ b/eZmaxApi/models/ezsigntemplateformfieldgroup_request_compound.py @@ -18,12 +18,12 @@ import re # noqa: F401 import json -from pydantic import BaseModel, ConfigDict, Field, StrictBool, StrictStr, field_validator +from pydantic import ConfigDict, Field from typing import Any, ClassVar, Dict, List, Optional -from typing_extensions import Annotated from eZmaxApi.models.custom_dropdown_element_request import CustomDropdownElementRequest 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.field_e_ezsigntemplateformfieldgroup_signerrequirement import FieldEEzsigntemplateformfieldgroupSignerrequirement from eZmaxApi.models.field_e_ezsigntemplateformfieldgroup_tooltipposition import FieldEEzsigntemplateformfieldgroupTooltipposition @@ -31,42 +31,15 @@ from typing import Optional, Set from typing_extensions import Self -class EzsigntemplateformfieldgroupRequestCompound(BaseModel): +class EzsigntemplateformfieldgroupRequestCompound(EzsigntemplateformfieldgroupRequest): """ A Ezsigntemplateformfieldgroup Object and children """ # noqa: E501 - 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[EzsigntemplateformfieldgroupsignerRequest] = Field(alias="a_objEzsigntemplateformfieldgroupsigner") a_obj_dropdown_element: Optional[List[CustomDropdownElementRequest]] = 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, diff --git a/eZmaxApi/models/ezsigntemplateformfieldgroup_response.py b/eZmaxApi/models/ezsigntemplateformfieldgroup_response.py index 713270cf..96334f69 100644 --- a/eZmaxApi/models/ezsigntemplateformfieldgroup_response.py +++ b/eZmaxApi/models/ezsigntemplateformfieldgroup_response.py @@ -103,33 +103,7 @@ def to_dict(self) -> Dict[str, Any]: return _dict @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + def from_dict(cls, obj: 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 b0a12d9a..21b44ad5 100644 --- a/eZmaxApi/models/ezsigntemplateformfieldgroup_response_compound.py +++ b/eZmaxApi/models/ezsigntemplateformfieldgroup_response_compound.py @@ -18,12 +18,12 @@ import re # noqa: F401 import json -from pydantic import BaseModel, ConfigDict, Field, StrictBool, StrictStr, field_validator +from pydantic import ConfigDict, Field from typing import Any, ClassVar, Dict, List, Optional -from typing_extensions import Annotated from eZmaxApi.models.custom_dropdown_element_response import CustomDropdownElementResponse 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.field_e_ezsigntemplateformfieldgroup_signerrequirement import FieldEEzsigntemplateformfieldgroupSignerrequirement from eZmaxApi.models.field_e_ezsigntemplateformfieldgroup_tooltipposition import FieldEEzsigntemplateformfieldgroupTooltipposition @@ -31,42 +31,15 @@ from typing import Optional, Set from typing_extensions import Self -class EzsigntemplateformfieldgroupResponseCompound(BaseModel): +class EzsigntemplateformfieldgroupResponseCompound(EzsigntemplateformfieldgroupResponse): """ A Ezsigntemplateformfieldgroup Object and children """ # noqa: E501 - 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[EzsigntemplateformfieldgroupsignerResponse] = Field(alias="a_objEzsigntemplateformfieldgroupsigner") a_obj_dropdown_element: Optional[List[CustomDropdownElementResponse]] = 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, diff --git a/eZmaxApi/models/ezsigntemplateglobal_get_autocomplete_v2_response.py b/eZmaxApi/models/ezsigntemplateglobal_get_autocomplete_v2_response.py index 026175e5..01ec526f 100644 --- a/eZmaxApi/models/ezsigntemplateglobal_get_autocomplete_v2_response.py +++ b/eZmaxApi/models/ezsigntemplateglobal_get_autocomplete_v2_response.py @@ -18,20 +18,19 @@ import re # noqa: F401 import json -from pydantic import BaseModel, ConfigDict, Field -from typing import Any, ClassVar, Dict, List, Optional +from pydantic import ConfigDict, Field +from typing import Any, ClassVar, Dict, List +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.ezsigntemplateglobal_get_autocomplete_v2_response_m_payload import EzsigntemplateglobalGetAutocompleteV2ResponseMPayload from typing import Optional, Set from typing_extensions import Self -class EzsigntemplateglobalGetAutocompleteV2Response(BaseModel): +class EzsigntemplateglobalGetAutocompleteV2Response(CommonResponse): """ 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 fe91d1e3..c8ccbbad 100644 --- a/eZmaxApi/models/ezsigntemplateglobal_get_object_v2_response.py +++ b/eZmaxApi/models/ezsigntemplateglobal_get_object_v2_response.py @@ -18,20 +18,19 @@ import re # noqa: F401 import json -from pydantic import BaseModel, ConfigDict, Field -from typing import Any, ClassVar, Dict, List, Optional +from pydantic import ConfigDict, Field +from typing import Any, ClassVar, Dict, List +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.ezsigntemplateglobal_get_object_v2_response_m_payload import EzsigntemplateglobalGetObjectV2ResponseMPayload from typing import Optional, Set from typing_extensions import Self -class EzsigntemplateglobalGetObjectV2Response(BaseModel): +class EzsigntemplateglobalGetObjectV2Response(CommonResponse): """ 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 c6ff571f..5e667530 100644 --- a/eZmaxApi/models/ezsigntemplateglobal_response.py +++ b/eZmaxApi/models/ezsigntemplateglobal_response.py @@ -91,26 +91,7 @@ def to_dict(self) -> Dict[str, Any]: return _dict @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + def from_dict(cls, obj: 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 4c0ff27d..ab1bf3ed 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 BaseModel, ConfigDict, Field, StrictStr, field_validator +from pydantic import ConfigDict, Field from typing import Any, ClassVar, Dict, List, Optional -from typing_extensions import Annotated +from eZmaxApi.models.ezsigntemplateglobal_response import EzsigntemplateglobalResponse 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,31 +28,14 @@ from typing import Optional, Set from typing_extensions import Self -class EzsigntemplateglobalResponseCompound(BaseModel): +class EzsigntemplateglobalResponseCompound(EzsigntemplateglobalResponse): """ 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 292c98ec..116eac37 100644 --- a/eZmaxApi/models/ezsigntemplateglobalsigner_response.py +++ b/eZmaxApi/models/ezsigntemplateglobalsigner_response.py @@ -82,19 +82,7 @@ def to_dict(self) -> Dict[str, Any]: return _dict @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + def from_dict(cls, obj: 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 df21b4d1..38140a0f 100644 --- a/eZmaxApi/models/ezsigntemplateglobalsigner_response_compound.py +++ b/eZmaxApi/models/ezsigntemplateglobalsigner_response_compound.py @@ -18,28 +18,18 @@ import re # noqa: F401 import json -from pydantic import BaseModel, ConfigDict, Field, field_validator +from pydantic import ConfigDict from typing import Any, ClassVar, Dict, List -from typing_extensions import Annotated +from eZmaxApi.models.ezsigntemplateglobalsigner_response import EzsigntemplateglobalsignerResponse from typing import Optional, Set from typing_extensions import Self -class EzsigntemplateglobalsignerResponseCompound(BaseModel): +class EzsigntemplateglobalsignerResponseCompound(EzsigntemplateglobalsignerResponse): """ 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 917e918d..599efd1a 100644 --- a/eZmaxApi/models/ezsigntemplatepackage_create_object_v1_response.py +++ b/eZmaxApi/models/ezsigntemplatepackage_create_object_v1_response.py @@ -18,20 +18,19 @@ import re # noqa: F401 import json -from pydantic import BaseModel, ConfigDict, Field -from typing import Any, ClassVar, Dict, List, Optional +from pydantic import ConfigDict, Field +from typing import Any, ClassVar, Dict, List +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.ezsigntemplatepackage_create_object_v1_response_m_payload import EzsigntemplatepackageCreateObjectV1ResponseMPayload from typing import Optional, Set from typing_extensions import Self -class EzsigntemplatepackageCreateObjectV1Response(BaseModel): +class EzsigntemplatepackageCreateObjectV1Response(CommonResponse): """ 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 e30f58b9..3e556784 100644 --- a/eZmaxApi/models/ezsigntemplatepackage_delete_object_v1_response.py +++ b/eZmaxApi/models/ezsigntemplatepackage_delete_object_v1_response.py @@ -18,19 +18,18 @@ import re # noqa: F401 import json -from pydantic import BaseModel, ConfigDict, Field -from typing import Any, ClassVar, Dict, List, Optional +from pydantic import ConfigDict +from typing import Any, ClassVar, Dict, List +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 EzsigntemplatepackageDeleteObjectV1Response(BaseModel): +class EzsigntemplatepackageDeleteObjectV1Response(CommonResponse): """ 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 0b7f7a2e..f45c283f 100644 --- a/eZmaxApi/models/ezsigntemplatepackage_edit_ezsigntemplatepackagesigners_v1_response.py +++ b/eZmaxApi/models/ezsigntemplatepackage_edit_ezsigntemplatepackagesigners_v1_response.py @@ -18,20 +18,19 @@ import re # noqa: F401 import json -from pydantic import BaseModel, ConfigDict, Field -from typing import Any, ClassVar, Dict, List, Optional +from pydantic import ConfigDict, Field +from typing import Any, ClassVar, Dict, List +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.ezsigntemplatepackage_edit_ezsigntemplatepackagesigners_v1_response_m_payload import EzsigntemplatepackageEditEzsigntemplatepackagesignersV1ResponseMPayload from typing import Optional, Set from typing_extensions import Self -class EzsigntemplatepackageEditEzsigntemplatepackagesignersV1Response(BaseModel): +class EzsigntemplatepackageEditEzsigntemplatepackagesignersV1Response(CommonResponse): """ 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 04f093ea..c727f79f 100644 --- a/eZmaxApi/models/ezsigntemplatepackage_edit_object_v1_response.py +++ b/eZmaxApi/models/ezsigntemplatepackage_edit_object_v1_response.py @@ -18,19 +18,18 @@ import re # noqa: F401 import json -from pydantic import BaseModel, ConfigDict, Field -from typing import Any, ClassVar, Dict, List, Optional +from pydantic import ConfigDict +from typing import Any, ClassVar, Dict, List +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 EzsigntemplatepackageEditObjectV1Response(BaseModel): +class EzsigntemplatepackageEditObjectV1Response(CommonResponse): """ 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 455bf482..ab3dae68 100644 --- a/eZmaxApi/models/ezsigntemplatepackage_get_autocomplete_v2_response.py +++ b/eZmaxApi/models/ezsigntemplatepackage_get_autocomplete_v2_response.py @@ -18,20 +18,19 @@ import re # noqa: F401 import json -from pydantic import BaseModel, ConfigDict, Field -from typing import Any, ClassVar, Dict, List, Optional +from pydantic import ConfigDict, Field +from typing import Any, ClassVar, Dict, List +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.ezsigntemplatepackage_get_autocomplete_v2_response_m_payload import EzsigntemplatepackageGetAutocompleteV2ResponseMPayload from typing import Optional, Set from typing_extensions import Self -class EzsigntemplatepackageGetAutocompleteV2Response(BaseModel): +class EzsigntemplatepackageGetAutocompleteV2Response(CommonResponse): """ 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 e32f8233..123cfd76 100644 --- a/eZmaxApi/models/ezsigntemplatepackage_get_list_v1_response.py +++ b/eZmaxApi/models/ezsigntemplatepackage_get_list_v1_response.py @@ -18,20 +18,19 @@ import re # noqa: F401 import json -from pydantic import BaseModel, ConfigDict, Field -from typing import Any, ClassVar, Dict, List, Optional +from pydantic import ConfigDict, Field +from typing import Any, ClassVar, Dict, List +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 eZmaxApi.models.ezsigntemplatepackage_get_list_v1_response_m_payload import EzsigntemplatepackageGetListV1ResponseMPayload from typing import Optional, Set from typing_extensions import Self -class EzsigntemplatepackageGetListV1Response(BaseModel): +class EzsigntemplatepackageGetListV1Response(CommonResponseGetList): """ 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 dfe3ca5b..59cd7482 100644 --- a/eZmaxApi/models/ezsigntemplatepackage_get_list_v1_response_m_payload.py +++ b/eZmaxApi/models/ezsigntemplatepackage_get_list_v1_response_m_payload.py @@ -18,18 +18,17 @@ import re # noqa: F401 import json -from pydantic import BaseModel, ConfigDict, Field, StrictInt +from pydantic import ConfigDict, Field 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(BaseModel): +class EzsigntemplatepackageGetListV1ResponseMPayload(CommonGetListV1ResponseMPayload): """ 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 7e97a2b9..216e7b6b 100644 --- a/eZmaxApi/models/ezsigntemplatepackage_get_object_v2_response.py +++ b/eZmaxApi/models/ezsigntemplatepackage_get_object_v2_response.py @@ -18,20 +18,19 @@ import re # noqa: F401 import json -from pydantic import BaseModel, ConfigDict, Field -from typing import Any, ClassVar, Dict, List, Optional +from pydantic import ConfigDict, Field +from typing import Any, ClassVar, Dict, List +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.ezsigntemplatepackage_get_object_v2_response_m_payload import EzsigntemplatepackageGetObjectV2ResponseMPayload from typing import Optional, Set from typing_extensions import Self -class EzsigntemplatepackageGetObjectV2Response(BaseModel): +class EzsigntemplatepackageGetObjectV2Response(CommonResponse): """ 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 ca535216..e79a0619 100644 --- a/eZmaxApi/models/ezsigntemplatepackage_request.py +++ b/eZmaxApi/models/ezsigntemplatepackage_request.py @@ -86,23 +86,7 @@ def to_dict(self) -> Dict[str, Any]: return _dict @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + def from_dict(cls, obj: 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 dfb1dc41..9acd29bd 100644 --- a/eZmaxApi/models/ezsigntemplatepackage_request_compound.py +++ b/eZmaxApi/models/ezsigntemplatepackage_request_compound.py @@ -18,32 +18,18 @@ import re # noqa: F401 import json -from pydantic import BaseModel, ConfigDict, Field, StrictBool, field_validator -from typing import Any, ClassVar, Dict, List, Optional -from typing_extensions import Annotated +from pydantic import ConfigDict +from typing import Any, ClassVar, Dict, List +from eZmaxApi.models.ezsigntemplatepackage_request import EzsigntemplatepackageRequest from typing import Optional, Set from typing_extensions import Self -class EzsigntemplatepackageRequestCompound(BaseModel): +class EzsigntemplatepackageRequestCompound(EzsigntemplatepackageRequest): """ 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 a11e160b..3995a318 100644 --- a/eZmaxApi/models/ezsigntemplatepackage_response.py +++ b/eZmaxApi/models/ezsigntemplatepackage_response.py @@ -101,28 +101,7 @@ def to_dict(self) -> Dict[str, Any]: return _dict @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + def from_dict(cls, obj: 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 e9d205b0..b9d7d74a 100644 --- a/eZmaxApi/models/ezsigntemplatepackage_response_compound.py +++ b/eZmaxApi/models/ezsigntemplatepackage_response_compound.py @@ -18,51 +18,22 @@ import re # noqa: F401 import json -from pydantic import BaseModel, ConfigDict, Field, StrictBool, StrictStr, field_validator -from typing import Any, ClassVar, Dict, List, Optional -from typing_extensions import Annotated +from pydantic import ConfigDict, Field +from typing import Any, ClassVar, Dict, List +from eZmaxApi.models.ezsigntemplatepackage_response import EzsigntemplatepackageResponse 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(BaseModel): +class EzsigntemplatepackageResponseCompound(EzsigntemplatepackageResponse): """ 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 d5e8c9e9..e650650b 100644 --- a/eZmaxApi/models/ezsigntemplatepackagemembership_create_object_v1_response.py +++ b/eZmaxApi/models/ezsigntemplatepackagemembership_create_object_v1_response.py @@ -18,20 +18,19 @@ import re # noqa: F401 import json -from pydantic import BaseModel, ConfigDict, Field -from typing import Any, ClassVar, Dict, List, Optional +from pydantic import ConfigDict, Field +from typing import Any, ClassVar, Dict, List +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.ezsigntemplatepackagemembership_create_object_v1_response_m_payload import EzsigntemplatepackagemembershipCreateObjectV1ResponseMPayload from typing import Optional, Set from typing_extensions import Self -class EzsigntemplatepackagemembershipCreateObjectV1Response(BaseModel): +class EzsigntemplatepackagemembershipCreateObjectV1Response(CommonResponse): """ 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 4edd173c..f34a6d12 100644 --- a/eZmaxApi/models/ezsigntemplatepackagemembership_delete_object_v1_response.py +++ b/eZmaxApi/models/ezsigntemplatepackagemembership_delete_object_v1_response.py @@ -18,19 +18,18 @@ import re # noqa: F401 import json -from pydantic import BaseModel, ConfigDict, Field -from typing import Any, ClassVar, Dict, List, Optional +from pydantic import ConfigDict +from typing import Any, ClassVar, Dict, List +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 EzsigntemplatepackagemembershipDeleteObjectV1Response(BaseModel): +class EzsigntemplatepackagemembershipDeleteObjectV1Response(CommonResponse): """ 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 9114993c..06210e1e 100644 --- a/eZmaxApi/models/ezsigntemplatepackagemembership_get_object_v2_response.py +++ b/eZmaxApi/models/ezsigntemplatepackagemembership_get_object_v2_response.py @@ -18,20 +18,19 @@ import re # noqa: F401 import json -from pydantic import BaseModel, ConfigDict, Field -from typing import Any, ClassVar, Dict, List, Optional +from pydantic import ConfigDict, Field +from typing import Any, ClassVar, Dict, List +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.ezsigntemplatepackagemembership_get_object_v2_response_m_payload import EzsigntemplatepackagemembershipGetObjectV2ResponseMPayload from typing import Optional, Set from typing_extensions import Self -class EzsigntemplatepackagemembershipGetObjectV2Response(BaseModel): +class EzsigntemplatepackagemembershipGetObjectV2Response(CommonResponse): """ 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 a60ef8f3..59f02aa0 100644 --- a/eZmaxApi/models/ezsigntemplatepackagemembership_request.py +++ b/eZmaxApi/models/ezsigntemplatepackagemembership_request.py @@ -75,19 +75,7 @@ def to_dict(self) -> Dict[str, Any]: return _dict @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + def from_dict(cls, obj: 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 e2eb1a37..62badd78 100644 --- a/eZmaxApi/models/ezsigntemplatepackagemembership_request_compound.py +++ b/eZmaxApi/models/ezsigntemplatepackagemembership_request_compound.py @@ -18,19 +18,16 @@ import re # noqa: F401 import json -from pydantic import BaseModel, ConfigDict, Field -from typing import Any, ClassVar, Dict, List, Optional -from typing_extensions import Annotated +from pydantic import ConfigDict +from typing import Any, ClassVar, Dict, List +from eZmaxApi.models.ezsigntemplatepackagemembership_request import EzsigntemplatepackagemembershipRequest from typing import Optional, Set from typing_extensions import Self -class EzsigntemplatepackagemembershipRequestCompound(BaseModel): +class EzsigntemplatepackagemembershipRequestCompound(EzsigntemplatepackagemembershipRequest): """ 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 7a8f2a03..a16b2d83 100644 --- a/eZmaxApi/models/ezsigntemplatepackagemembership_response.py +++ b/eZmaxApi/models/ezsigntemplatepackagemembership_response.py @@ -76,20 +76,7 @@ def to_dict(self) -> Dict[str, Any]: return _dict @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + def from_dict(cls, obj: 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 7eacd1e7..4680e0ae 100644 --- a/eZmaxApi/models/ezsigntemplatepackagemembership_response_compound.py +++ b/eZmaxApi/models/ezsigntemplatepackagemembership_response_compound.py @@ -18,22 +18,18 @@ import re # noqa: F401 import json -from pydantic import BaseModel, ConfigDict, Field +from pydantic import 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(BaseModel): +class EzsigntemplatepackagemembershipResponseCompound(EzsigntemplatepackagemembershipResponse): """ 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 363e8910..9fdd51b4 100644 --- a/eZmaxApi/models/ezsigntemplatepackagesigner_create_object_v1_response.py +++ b/eZmaxApi/models/ezsigntemplatepackagesigner_create_object_v1_response.py @@ -18,20 +18,19 @@ import re # noqa: F401 import json -from pydantic import BaseModel, ConfigDict, Field -from typing import Any, ClassVar, Dict, List, Optional +from pydantic import ConfigDict, Field +from typing import Any, ClassVar, Dict, List +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.ezsigntemplatepackagesigner_create_object_v1_response_m_payload import EzsigntemplatepackagesignerCreateObjectV1ResponseMPayload from typing import Optional, Set from typing_extensions import Self -class EzsigntemplatepackagesignerCreateObjectV1Response(BaseModel): +class EzsigntemplatepackagesignerCreateObjectV1Response(CommonResponse): """ 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 f15b779c..ca2d20b9 100644 --- a/eZmaxApi/models/ezsigntemplatepackagesigner_delete_object_v1_response.py +++ b/eZmaxApi/models/ezsigntemplatepackagesigner_delete_object_v1_response.py @@ -18,20 +18,19 @@ import re # noqa: F401 import json -from pydantic import BaseModel, ConfigDict, Field -from typing import Any, ClassVar, Dict, List, Optional +from pydantic import ConfigDict, Field +from typing import Any, ClassVar, Dict, List +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.ezsigntemplatepackagesigner_delete_object_v1_response_m_payload import EzsigntemplatepackagesignerDeleteObjectV1ResponseMPayload from typing import Optional, Set from typing_extensions import Self -class EzsigntemplatepackagesignerDeleteObjectV1Response(BaseModel): +class EzsigntemplatepackagesignerDeleteObjectV1Response(CommonResponse): """ 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 30041ebc..21c08638 100644 --- a/eZmaxApi/models/ezsigntemplatepackagesigner_edit_object_v1_response.py +++ b/eZmaxApi/models/ezsigntemplatepackagesigner_edit_object_v1_response.py @@ -18,19 +18,18 @@ import re # noqa: F401 import json -from pydantic import BaseModel, ConfigDict, Field -from typing import Any, ClassVar, Dict, List, Optional +from pydantic import ConfigDict +from typing import Any, ClassVar, Dict, List +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 EzsigntemplatepackagesignerEditObjectV1Response(BaseModel): +class EzsigntemplatepackagesignerEditObjectV1Response(CommonResponse): """ 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 77f72e03..f7af2056 100644 --- a/eZmaxApi/models/ezsigntemplatepackagesigner_get_object_v2_response.py +++ b/eZmaxApi/models/ezsigntemplatepackagesigner_get_object_v2_response.py @@ -18,20 +18,19 @@ import re # noqa: F401 import json -from pydantic import BaseModel, ConfigDict, Field -from typing import Any, ClassVar, Dict, List, Optional +from pydantic import ConfigDict, Field +from typing import Any, ClassVar, Dict, List +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.ezsigntemplatepackagesigner_get_object_v2_response_m_payload import EzsigntemplatepackagesignerGetObjectV2ResponseMPayload from typing import Optional, Set from typing_extensions import Self -class EzsigntemplatepackagesignerGetObjectV2Response(BaseModel): +class EzsigntemplatepackagesignerGetObjectV2Response(CommonResponse): """ 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 f86d7e98..6d37183e 100644 --- a/eZmaxApi/models/ezsigntemplatepackagesigner_request.py +++ b/eZmaxApi/models/ezsigntemplatepackagesigner_request.py @@ -81,24 +81,7 @@ def to_dict(self) -> Dict[str, Any]: return _dict @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + def from_dict(cls, obj: 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 e01ee86f..e9447624 100644 --- a/eZmaxApi/models/ezsigntemplatepackagesigner_request_compound.py +++ b/eZmaxApi/models/ezsigntemplatepackagesigner_request_compound.py @@ -18,25 +18,17 @@ import re # noqa: F401 import json -from pydantic import BaseModel, ConfigDict, Field, StrictBool, StrictStr -from typing import Any, ClassVar, Dict, List, Optional -from typing_extensions import Annotated +from pydantic import ConfigDict +from typing import Any, ClassVar, Dict, List +from eZmaxApi.models.ezsigntemplatepackagesigner_request import EzsigntemplatepackagesignerRequest from eZmaxApi.models.field_e_ezsigntemplatepackagesigner_mapping import FieldEEzsigntemplatepackagesignerMapping from typing import Optional, Set from typing_extensions import Self -class EzsigntemplatepackagesignerRequestCompound(BaseModel): +class EzsigntemplatepackagesignerRequestCompound(EzsigntemplatepackagesignerRequest): """ 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 d8fee799..84592fe6 100644 --- a/eZmaxApi/models/ezsigntemplatepackagesigner_response.py +++ b/eZmaxApi/models/ezsigntemplatepackagesigner_response.py @@ -104,27 +104,7 @@ def to_dict(self) -> Dict[str, Any]: return _dict @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + def from_dict(cls, obj: 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 bfa1be44..5ec3d6c6 100644 --- a/eZmaxApi/models/ezsigntemplatepackagesigner_response_compound.py +++ b/eZmaxApi/models/ezsigntemplatepackagesigner_response_compound.py @@ -18,50 +18,19 @@ import re # noqa: F401 import json -from pydantic import BaseModel, ConfigDict, Field, StrictBool, StrictStr, field_validator -from typing import Any, ClassVar, Dict, List, Optional -from typing_extensions import Annotated +from pydantic import ConfigDict +from typing import Any, ClassVar, Dict, List +from eZmaxApi.models.ezsigntemplatepackagesigner_response import EzsigntemplatepackagesignerResponse from eZmaxApi.models.field_e_ezsigntemplatepackagesigner_mapping import FieldEEzsigntemplatepackagesignerMapping from typing import Optional, Set from typing_extensions import Self -class EzsigntemplatepackagesignerResponseCompound(BaseModel): +class EzsigntemplatepackagesignerResponseCompound(EzsigntemplatepackagesignerResponse): """ 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 eee89ae0..46223035 100644 --- a/eZmaxApi/models/ezsigntemplatepackagesignermembership_create_object_v1_response.py +++ b/eZmaxApi/models/ezsigntemplatepackagesignermembership_create_object_v1_response.py @@ -18,20 +18,19 @@ import re # noqa: F401 import json -from pydantic import BaseModel, ConfigDict, Field -from typing import Any, ClassVar, Dict, List, Optional +from pydantic import ConfigDict, Field +from typing import Any, ClassVar, Dict, List +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.ezsigntemplatepackagesignermembership_create_object_v1_response_m_payload import EzsigntemplatepackagesignermembershipCreateObjectV1ResponseMPayload from typing import Optional, Set from typing_extensions import Self -class EzsigntemplatepackagesignermembershipCreateObjectV1Response(BaseModel): +class EzsigntemplatepackagesignermembershipCreateObjectV1Response(CommonResponse): """ 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 8ae0ee5b..ad2d8f3e 100644 --- a/eZmaxApi/models/ezsigntemplatepackagesignermembership_delete_object_v1_response.py +++ b/eZmaxApi/models/ezsigntemplatepackagesignermembership_delete_object_v1_response.py @@ -18,20 +18,19 @@ import re # noqa: F401 import json -from pydantic import BaseModel, ConfigDict, Field -from typing import Any, ClassVar, Dict, List, Optional +from pydantic import ConfigDict, Field +from typing import Any, ClassVar, Dict, List +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.ezsigntemplatepackagesignermembership_delete_object_v1_response_m_payload import EzsigntemplatepackagesignermembershipDeleteObjectV1ResponseMPayload from typing import Optional, Set from typing_extensions import Self -class EzsigntemplatepackagesignermembershipDeleteObjectV1Response(BaseModel): +class EzsigntemplatepackagesignermembershipDeleteObjectV1Response(CommonResponse): """ 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 4741278a..7fca2147 100644 --- a/eZmaxApi/models/ezsigntemplatepackagesignermembership_get_object_v2_response.py +++ b/eZmaxApi/models/ezsigntemplatepackagesignermembership_get_object_v2_response.py @@ -18,20 +18,19 @@ import re # noqa: F401 import json -from pydantic import BaseModel, ConfigDict, Field -from typing import Any, ClassVar, Dict, List, Optional +from pydantic import ConfigDict, Field +from typing import Any, ClassVar, Dict, List +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.ezsigntemplatepackagesignermembership_get_object_v2_response_m_payload import EzsigntemplatepackagesignermembershipGetObjectV2ResponseMPayload from typing import Optional, Set from typing_extensions import Self -class EzsigntemplatepackagesignermembershipGetObjectV2Response(BaseModel): +class EzsigntemplatepackagesignermembershipGetObjectV2Response(CommonResponse): """ 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 73b638e0..6e0fff49 100644 --- a/eZmaxApi/models/ezsigntemplatepackagesignermembership_request.py +++ b/eZmaxApi/models/ezsigntemplatepackagesignermembership_request.py @@ -77,21 +77,7 @@ def to_dict(self) -> Dict[str, Any]: return _dict @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + def from_dict(cls, obj: 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 16a8e407..92267b42 100644 --- a/eZmaxApi/models/ezsigntemplatepackagesignermembership_request_compound.py +++ b/eZmaxApi/models/ezsigntemplatepackagesignermembership_request_compound.py @@ -18,21 +18,16 @@ import re # noqa: F401 import json -from pydantic import BaseModel, ConfigDict, Field -from typing import Any, ClassVar, Dict, List, Optional -from typing_extensions import Annotated +from pydantic import ConfigDict +from typing import Any, ClassVar, Dict, List +from eZmaxApi.models.ezsigntemplatepackagesignermembership_request import EzsigntemplatepackagesignermembershipRequest from typing import Optional, Set from typing_extensions import Self -class EzsigntemplatepackagesignermembershipRequestCompound(BaseModel): +class EzsigntemplatepackagesignermembershipRequestCompound(EzsigntemplatepackagesignermembershipRequest): """ 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 73f45192..55b0a708 100644 --- a/eZmaxApi/models/ezsigntemplatepackagesignermembership_response.py +++ b/eZmaxApi/models/ezsigntemplatepackagesignermembership_response.py @@ -77,21 +77,7 @@ def to_dict(self) -> Dict[str, Any]: return _dict @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + def from_dict(cls, obj: 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 4b497823..d7cf3c8b 100644 --- a/eZmaxApi/models/ezsigntemplatepackagesignermembership_response_compound.py +++ b/eZmaxApi/models/ezsigntemplatepackagesignermembership_response_compound.py @@ -18,21 +18,16 @@ import re # noqa: F401 import json -from pydantic import BaseModel, ConfigDict, Field -from typing import Any, ClassVar, Dict, List, Optional -from typing_extensions import Annotated +from pydantic import ConfigDict +from typing import Any, ClassVar, Dict, List +from eZmaxApi.models.ezsigntemplatepackagesignermembership_response import EzsigntemplatepackagesignermembershipResponse from typing import Optional, Set from typing_extensions import Self -class EzsigntemplatepackagesignermembershipResponseCompound(BaseModel): +class EzsigntemplatepackagesignermembershipResponseCompound(EzsigntemplatepackagesignermembershipResponse): """ 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 69026545..42ac71d6 100644 --- a/eZmaxApi/models/ezsigntemplatepublic_create_ezsignfolder_v1_response.py +++ b/eZmaxApi/models/ezsigntemplatepublic_create_ezsignfolder_v1_response.py @@ -18,20 +18,19 @@ import re # noqa: F401 import json -from pydantic import BaseModel, ConfigDict, Field -from typing import Any, ClassVar, Dict, List, Optional +from pydantic import ConfigDict, Field +from typing import Any, ClassVar, Dict, List +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.ezsigntemplatepublic_create_ezsignfolder_v1_response_m_payload import EzsigntemplatepublicCreateEzsignfolderV1ResponseMPayload from typing import Optional, Set from typing_extensions import Self -class EzsigntemplatepublicCreateEzsignfolderV1Response(BaseModel): +class EzsigntemplatepublicCreateEzsignfolderV1Response(CommonResponse): """ 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 57dcd436..5792e5b2 100644 --- a/eZmaxApi/models/ezsigntemplatepublic_create_object_v1_response.py +++ b/eZmaxApi/models/ezsigntemplatepublic_create_object_v1_response.py @@ -18,20 +18,19 @@ import re # noqa: F401 import json -from pydantic import BaseModel, ConfigDict, Field -from typing import Any, ClassVar, Dict, List, Optional +from pydantic import ConfigDict, Field +from typing import Any, ClassVar, Dict, List +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.ezsigntemplatepublic_create_object_v1_response_m_payload import EzsigntemplatepublicCreateObjectV1ResponseMPayload from typing import Optional, Set from typing_extensions import Self -class EzsigntemplatepublicCreateObjectV1Response(BaseModel): +class EzsigntemplatepublicCreateObjectV1Response(CommonResponse): """ 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 762d3808..ddca7697 100644 --- a/eZmaxApi/models/ezsigntemplatepublic_edit_object_v1_response.py +++ b/eZmaxApi/models/ezsigntemplatepublic_edit_object_v1_response.py @@ -18,19 +18,18 @@ import re # noqa: F401 import json -from pydantic import BaseModel, ConfigDict, Field -from typing import Any, ClassVar, Dict, List, Optional +from pydantic import ConfigDict +from typing import Any, ClassVar, Dict, List +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 EzsigntemplatepublicEditObjectV1Response(BaseModel): +class EzsigntemplatepublicEditObjectV1Response(CommonResponse): """ 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 e35a960e..daf66536 100644 --- a/eZmaxApi/models/ezsigntemplatepublic_get_ezsigntemplatepublic_details_v1_response.py +++ b/eZmaxApi/models/ezsigntemplatepublic_get_ezsigntemplatepublic_details_v1_response.py @@ -18,20 +18,19 @@ import re # noqa: F401 import json -from pydantic import BaseModel, ConfigDict, Field -from typing import Any, ClassVar, Dict, List, Optional +from pydantic import ConfigDict, Field +from typing import Any, ClassVar, Dict, List +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.ezsigntemplatepublic_get_ezsigntemplatepublic_details_v1_response_m_payload import EzsigntemplatepublicGetEzsigntemplatepublicDetailsV1ResponseMPayload from typing import Optional, Set from typing_extensions import Self -class EzsigntemplatepublicGetEzsigntemplatepublicDetailsV1Response(BaseModel): +class EzsigntemplatepublicGetEzsigntemplatepublicDetailsV1Response(CommonResponse): """ 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 76313944..3436113e 100644 --- a/eZmaxApi/models/ezsigntemplatepublic_get_forms_data_v1_response.py +++ b/eZmaxApi/models/ezsigntemplatepublic_get_forms_data_v1_response.py @@ -18,20 +18,19 @@ import re # noqa: F401 import json -from pydantic import BaseModel, ConfigDict, Field -from typing import Any, ClassVar, Dict, List, Optional +from pydantic import ConfigDict, Field +from typing import Any, ClassVar, Dict, List +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.ezsigntemplatepublic_get_forms_data_v1_response_m_payload import EzsigntemplatepublicGetFormsDataV1ResponseMPayload from typing import Optional, Set from typing_extensions import Self -class EzsigntemplatepublicGetFormsDataV1Response(BaseModel): +class EzsigntemplatepublicGetFormsDataV1Response(CommonResponse): """ 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 a8d10664..edb967b6 100644 --- a/eZmaxApi/models/ezsigntemplatepublic_get_list_v1_response.py +++ b/eZmaxApi/models/ezsigntemplatepublic_get_list_v1_response.py @@ -18,20 +18,19 @@ import re # noqa: F401 import json -from pydantic import BaseModel, ConfigDict, Field -from typing import Any, ClassVar, Dict, List, Optional +from pydantic import ConfigDict, Field +from typing import Any, ClassVar, Dict, List +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 eZmaxApi.models.ezsigntemplatepublic_get_list_v1_response_m_payload import EzsigntemplatepublicGetListV1ResponseMPayload from typing import Optional, Set from typing_extensions import Self -class EzsigntemplatepublicGetListV1Response(BaseModel): +class EzsigntemplatepublicGetListV1Response(CommonResponseGetList): """ 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 398b0d37..05e7a942 100644 --- a/eZmaxApi/models/ezsigntemplatepublic_get_list_v1_response_m_payload.py +++ b/eZmaxApi/models/ezsigntemplatepublic_get_list_v1_response_m_payload.py @@ -18,18 +18,17 @@ import re # noqa: F401 import json -from pydantic import BaseModel, ConfigDict, Field, StrictInt +from pydantic import ConfigDict, Field 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(BaseModel): +class EzsigntemplatepublicGetListV1ResponseMPayload(CommonGetListV1ResponseMPayload): """ 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 c47be038..eddfd01a 100644 --- a/eZmaxApi/models/ezsigntemplatepublic_get_object_v2_response.py +++ b/eZmaxApi/models/ezsigntemplatepublic_get_object_v2_response.py @@ -18,20 +18,19 @@ import re # noqa: F401 import json -from pydantic import BaseModel, ConfigDict, Field -from typing import Any, ClassVar, Dict, List, Optional +from pydantic import ConfigDict, Field +from typing import Any, ClassVar, Dict, List +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.ezsigntemplatepublic_get_object_v2_response_m_payload import EzsigntemplatepublicGetObjectV2ResponseMPayload from typing import Optional, Set from typing_extensions import Self -class EzsigntemplatepublicGetObjectV2Response(BaseModel): +class EzsigntemplatepublicGetObjectV2Response(CommonResponse): """ 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 101c8620..331534a1 100644 --- a/eZmaxApi/models/ezsigntemplatepublic_request.py +++ b/eZmaxApi/models/ezsigntemplatepublic_request.py @@ -97,26 +97,7 @@ def to_dict(self) -> Dict[str, Any]: return _dict @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + def from_dict(cls, obj: 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 7c47e623..e469ccc6 100644 --- a/eZmaxApi/models/ezsigntemplatepublic_request_compound.py +++ b/eZmaxApi/models/ezsigntemplatepublic_request_compound.py @@ -18,43 +18,19 @@ import re # noqa: F401 import json -from pydantic import BaseModel, ConfigDict, Field, StrictBool, field_validator -from typing import Any, ClassVar, Dict, List, Optional -from typing_extensions import Annotated +from pydantic import ConfigDict +from typing import Any, ClassVar, Dict, List +from eZmaxApi.models.ezsigntemplatepublic_request import EzsigntemplatepublicRequest from eZmaxApi.models.field_e_ezsigntemplatepublic_limittype import FieldEEzsigntemplatepublicLimittype from typing import Optional, Set from typing_extensions import Self -class EzsigntemplatepublicRequestCompound(BaseModel): +class EzsigntemplatepublicRequestCompound(EzsigntemplatepublicRequest): """ 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 3c501d3e..7b02eb2a 100644 --- a/eZmaxApi/models/ezsigntemplatepublic_reset_limit_exceeded_counter_v1_response.py +++ b/eZmaxApi/models/ezsigntemplatepublic_reset_limit_exceeded_counter_v1_response.py @@ -18,20 +18,19 @@ import re # noqa: F401 import json -from pydantic import BaseModel, ConfigDict, Field -from typing import Any, ClassVar, Dict, List, Optional +from pydantic import ConfigDict, Field +from typing import Any, ClassVar, Dict, List +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.ezsigntemplatepublic_reset_limit_exceeded_counter_v1_response_m_payload import EzsigntemplatepublicResetLimitExceededCounterV1ResponseMPayload from typing import Optional, Set from typing_extensions import Self -class EzsigntemplatepublicResetLimitExceededCounterV1Response(BaseModel): +class EzsigntemplatepublicResetLimitExceededCounterV1Response(CommonResponse): """ 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 9e4c3dac..fc6d57ef 100644 --- a/eZmaxApi/models/ezsigntemplatepublic_reset_url_v1_response.py +++ b/eZmaxApi/models/ezsigntemplatepublic_reset_url_v1_response.py @@ -18,20 +18,19 @@ import re # noqa: F401 import json -from pydantic import BaseModel, ConfigDict, Field -from typing import Any, ClassVar, Dict, List, Optional +from pydantic import ConfigDict, Field +from typing import Any, ClassVar, Dict, List +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.ezsigntemplatepublic_reset_url_v1_response_m_payload import EzsigntemplatepublicResetUrlV1ResponseMPayload from typing import Optional, Set from typing_extensions import Self -class EzsigntemplatepublicResetUrlV1Response(BaseModel): +class EzsigntemplatepublicResetUrlV1Response(CommonResponse): """ 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 067c68bb..cca5c2b1 100644 --- a/eZmaxApi/models/ezsigntemplatepublic_response.py +++ b/eZmaxApi/models/ezsigntemplatepublic_response.py @@ -137,34 +137,7 @@ def to_dict(self) -> Dict[str, Any]: return _dict @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + def from_dict(cls, obj: 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 32fee865..f2f5ab6c 100644 --- a/eZmaxApi/models/ezsigntemplatepublic_response_compound.py +++ b/eZmaxApi/models/ezsigntemplatepublic_response_compound.py @@ -18,82 +18,22 @@ import re # noqa: F401 import json -from pydantic import BaseModel, ConfigDict, Field, StrictBool, StrictStr, field_validator -from typing import Any, ClassVar, Dict, List, Optional -from typing_extensions import Annotated +from pydantic import ConfigDict, Field +from typing import Any, ClassVar, Dict, List 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(BaseModel): +class EzsigntemplatepublicResponseCompound(EzsigntemplatepublicResponse): """ 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 ebe96bae..d9e9ded1 100644 --- a/eZmaxApi/models/ezsigntemplatesignature_create_object_v2_response.py +++ b/eZmaxApi/models/ezsigntemplatesignature_create_object_v2_response.py @@ -18,20 +18,19 @@ import re # noqa: F401 import json -from pydantic import BaseModel, ConfigDict, Field -from typing import Any, ClassVar, Dict, List, Optional +from pydantic import ConfigDict, Field +from typing import Any, ClassVar, Dict, List +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.ezsigntemplatesignature_create_object_v2_response_m_payload import EzsigntemplatesignatureCreateObjectV2ResponseMPayload from typing import Optional, Set from typing_extensions import Self -class EzsigntemplatesignatureCreateObjectV2Response(BaseModel): +class EzsigntemplatesignatureCreateObjectV2Response(CommonResponse): """ 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 a6789f5f..80f6f7c3 100644 --- a/eZmaxApi/models/ezsigntemplatesignature_delete_object_v1_response.py +++ b/eZmaxApi/models/ezsigntemplatesignature_delete_object_v1_response.py @@ -18,19 +18,18 @@ import re # noqa: F401 import json -from pydantic import BaseModel, ConfigDict, Field -from typing import Any, ClassVar, Dict, List, Optional +from pydantic import ConfigDict +from typing import Any, ClassVar, Dict, List +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 EzsigntemplatesignatureDeleteObjectV1Response(BaseModel): +class EzsigntemplatesignatureDeleteObjectV1Response(CommonResponse): """ 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 635624cc..8586a890 100644 --- a/eZmaxApi/models/ezsigntemplatesignature_edit_object_v2_response.py +++ b/eZmaxApi/models/ezsigntemplatesignature_edit_object_v2_response.py @@ -18,19 +18,18 @@ import re # noqa: F401 import json -from pydantic import BaseModel, ConfigDict, Field -from typing import Any, ClassVar, Dict, List, Optional +from pydantic import ConfigDict +from typing import Any, ClassVar, Dict, List +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 EzsigntemplatesignatureEditObjectV2Response(BaseModel): +class EzsigntemplatesignatureEditObjectV2Response(CommonResponse): """ 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 04654a15..f8723708 100644 --- a/eZmaxApi/models/ezsigntemplatesignature_get_object_v3_response.py +++ b/eZmaxApi/models/ezsigntemplatesignature_get_object_v3_response.py @@ -18,20 +18,19 @@ import re # noqa: F401 import json -from pydantic import BaseModel, ConfigDict, Field -from typing import Any, ClassVar, Dict, List, Optional +from pydantic import ConfigDict, Field +from typing import Any, ClassVar, Dict, List +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.ezsigntemplatesignature_get_object_v3_response_m_payload import EzsigntemplatesignatureGetObjectV3ResponseMPayload from typing import Optional, Set from typing_extensions import Self -class EzsigntemplatesignatureGetObjectV3Response(BaseModel): +class EzsigntemplatesignatureGetObjectV3Response(CommonResponse): """ 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 cae958d8..739fa3f9 100644 --- a/eZmaxApi/models/ezsigntemplatesignature_request.py +++ b/eZmaxApi/models/ezsigntemplatesignature_request.py @@ -133,48 +133,7 @@ def to_dict(self) -> Dict[str, Any]: return _dict @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + def from_dict(cls, obj: 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 28c71b99..40acaf7b 100644 --- a/eZmaxApi/models/ezsigntemplatesignature_request_compound.py +++ b/eZmaxApi/models/ezsigntemplatesignature_request_compound.py @@ -18,11 +18,11 @@ import re # noqa: F401 import json -from pydantic import BaseModel, ConfigDict, Field, StrictBool, StrictInt, StrictStr, field_validator +from pydantic import ConfigDict, Field, StrictBool 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.field_e_ezsigntemplatesignature_attachmentnamesource import FieldEEzsigntemplatesignatureAttachmentnamesource from eZmaxApi.models.field_e_ezsigntemplatesignature_consultationtrigger import FieldEEzsigntemplatesignatureConsultationtrigger @@ -35,67 +35,15 @@ from typing import Optional, Set from typing_extensions import Self -class EzsigntemplatesignatureRequestCompound(BaseModel): +class EzsigntemplatesignatureRequestCompound(EzsigntemplatesignatureRequest): """ 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") __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, diff --git a/eZmaxApi/models/ezsigntemplatesignature_request_compound_v2.py b/eZmaxApi/models/ezsigntemplatesignature_request_compound_v2.py index 5168f450..23341a6f 100644 --- a/eZmaxApi/models/ezsigntemplatesignature_request_compound_v2.py +++ b/eZmaxApi/models/ezsigntemplatesignature_request_compound_v2.py @@ -18,11 +18,11 @@ import re # noqa: F401 import json -from pydantic import BaseModel, ConfigDict, Field, StrictBool, StrictInt, StrictStr, field_validator +from pydantic import ConfigDict, Field, StrictBool 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.field_e_ezsigntemplatesignature_attachmentnamesource import FieldEEzsigntemplatesignatureAttachmentnamesource from eZmaxApi.models.field_e_ezsigntemplatesignature_consultationtrigger import FieldEEzsigntemplatesignatureConsultationtrigger @@ -35,67 +35,15 @@ from typing import Optional, Set from typing_extensions import Self -class EzsigntemplatesignatureRequestCompoundV2(BaseModel): +class EzsigntemplatesignatureRequestCompoundV2(EzsigntemplatesignatureRequest): """ 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") __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, diff --git a/eZmaxApi/models/ezsigntemplatesignature_response.py b/eZmaxApi/models/ezsigntemplatesignature_response.py index 6412de9c..d1efa458 100644 --- a/eZmaxApi/models/ezsigntemplatesignature_response.py +++ b/eZmaxApi/models/ezsigntemplatesignature_response.py @@ -133,48 +133,7 @@ def to_dict(self) -> Dict[str, Any]: return _dict @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + def from_dict(cls, obj: 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 6875a500..1ad4258e 100644 --- a/eZmaxApi/models/ezsigntemplatesignature_response_compound.py +++ b/eZmaxApi/models/ezsigntemplatesignature_response_compound.py @@ -18,11 +18,11 @@ import re # noqa: F401 import json -from pydantic import BaseModel, ConfigDict, Field, StrictBool, StrictInt, StrictStr, field_validator +from pydantic import ConfigDict, Field, StrictBool 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.field_e_ezsigntemplatesignature_attachmentnamesource import FieldEEzsigntemplatesignatureAttachmentnamesource from eZmaxApi.models.field_e_ezsigntemplatesignature_consultationtrigger import FieldEEzsigntemplatesignatureConsultationtrigger @@ -35,67 +35,15 @@ from typing import Optional, Set from typing_extensions import Self -class EzsigntemplatesignatureResponseCompound(BaseModel): +class EzsigntemplatesignatureResponseCompound(EzsigntemplatesignatureResponse): """ 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") __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, diff --git a/eZmaxApi/models/ezsigntemplatesignature_response_compound_v3.py b/eZmaxApi/models/ezsigntemplatesignature_response_compound_v3.py index 3f5a8eea..2ea463fd 100644 --- a/eZmaxApi/models/ezsigntemplatesignature_response_compound_v3.py +++ b/eZmaxApi/models/ezsigntemplatesignature_response_compound_v3.py @@ -18,11 +18,11 @@ import re # noqa: F401 import json -from pydantic import BaseModel, ConfigDict, Field, StrictBool, StrictInt, StrictStr, field_validator +from pydantic import ConfigDict, Field, StrictBool 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.field_e_ezsigntemplatesignature_attachmentnamesource import FieldEEzsigntemplatesignatureAttachmentnamesource from eZmaxApi.models.field_e_ezsigntemplatesignature_consultationtrigger import FieldEEzsigntemplatesignatureConsultationtrigger @@ -35,67 +35,15 @@ from typing import Optional, Set from typing_extensions import Self -class EzsigntemplatesignatureResponseCompoundV3(BaseModel): +class EzsigntemplatesignatureResponseCompoundV3(EzsigntemplatesignatureResponse): """ 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") __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, diff --git a/eZmaxApi/models/ezsigntemplatesigner_create_object_v1_response.py b/eZmaxApi/models/ezsigntemplatesigner_create_object_v1_response.py index e3864af0..afd36e04 100644 --- a/eZmaxApi/models/ezsigntemplatesigner_create_object_v1_response.py +++ b/eZmaxApi/models/ezsigntemplatesigner_create_object_v1_response.py @@ -18,20 +18,19 @@ import re # noqa: F401 import json -from pydantic import BaseModel, ConfigDict, Field -from typing import Any, ClassVar, Dict, List, Optional +from pydantic import ConfigDict, Field +from typing import Any, ClassVar, Dict, List +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.ezsigntemplatesigner_create_object_v1_response_m_payload import EzsigntemplatesignerCreateObjectV1ResponseMPayload from typing import Optional, Set from typing_extensions import Self -class EzsigntemplatesignerCreateObjectV1Response(BaseModel): +class EzsigntemplatesignerCreateObjectV1Response(CommonResponse): """ 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 0e1ef936..3d555caa 100644 --- a/eZmaxApi/models/ezsigntemplatesigner_delete_object_v1_response.py +++ b/eZmaxApi/models/ezsigntemplatesigner_delete_object_v1_response.py @@ -18,19 +18,18 @@ import re # noqa: F401 import json -from pydantic import BaseModel, ConfigDict, Field -from typing import Any, ClassVar, Dict, List, Optional +from pydantic import ConfigDict +from typing import Any, ClassVar, Dict, List +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 EzsigntemplatesignerDeleteObjectV1Response(BaseModel): +class EzsigntemplatesignerDeleteObjectV1Response(CommonResponse): """ 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 2f86636b..449536a0 100644 --- a/eZmaxApi/models/ezsigntemplatesigner_edit_object_v1_response.py +++ b/eZmaxApi/models/ezsigntemplatesigner_edit_object_v1_response.py @@ -18,19 +18,18 @@ import re # noqa: F401 import json -from pydantic import BaseModel, ConfigDict, Field -from typing import Any, ClassVar, Dict, List, Optional +from pydantic import ConfigDict +from typing import Any, ClassVar, Dict, List +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 EzsigntemplatesignerEditObjectV1Response(BaseModel): +class EzsigntemplatesignerEditObjectV1Response(CommonResponse): """ 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 34049a8a..2be91620 100644 --- a/eZmaxApi/models/ezsigntemplatesigner_get_object_v2_response.py +++ b/eZmaxApi/models/ezsigntemplatesigner_get_object_v2_response.py @@ -18,20 +18,19 @@ import re # noqa: F401 import json -from pydantic import BaseModel, ConfigDict, Field -from typing import Any, ClassVar, Dict, List, Optional +from pydantic import ConfigDict, Field +from typing import Any, ClassVar, Dict, List +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.ezsigntemplatesigner_get_object_v2_response_m_payload import EzsigntemplatesignerGetObjectV2ResponseMPayload from typing import Optional, Set from typing_extensions import Self -class EzsigntemplatesignerGetObjectV2Response(BaseModel): +class EzsigntemplatesignerGetObjectV2Response(CommonResponse): """ 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 7bc17869..2464aba9 100644 --- a/eZmaxApi/models/ezsigntemplatesigner_request.py +++ b/eZmaxApi/models/ezsigntemplatesigner_request.py @@ -88,24 +88,7 @@ def to_dict(self) -> Dict[str, Any]: return _dict @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + def from_dict(cls, obj: 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 96b08f4e..d506aed8 100644 --- a/eZmaxApi/models/ezsigntemplatesigner_request_compound.py +++ b/eZmaxApi/models/ezsigntemplatesigner_request_compound.py @@ -18,34 +18,19 @@ import re # noqa: F401 import json -from pydantic import BaseModel, ConfigDict, Field, StrictBool, field_validator -from typing import Any, ClassVar, Dict, List, Optional -from typing_extensions import Annotated +from pydantic import ConfigDict +from typing import Any, ClassVar, Dict, List +from eZmaxApi.models.ezsigntemplatesigner_request import EzsigntemplatesignerRequest from eZmaxApi.models.field_e_ezsigntemplatesigner_mapping import FieldEEzsigntemplatesignerMapping from typing import Optional, Set from typing_extensions import Self -class EzsigntemplatesignerRequestCompound(BaseModel): +class EzsigntemplatesignerRequestCompound(EzsigntemplatesignerRequest): """ 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 b4aa2dd2..c640ed64 100644 --- a/eZmaxApi/models/ezsigntemplatesigner_response.py +++ b/eZmaxApi/models/ezsigntemplatesigner_response.py @@ -100,26 +100,7 @@ def to_dict(self) -> Dict[str, Any]: return _dict @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + def from_dict(cls, obj: 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 654cb0dc..cb2587f5 100644 --- a/eZmaxApi/models/ezsigntemplatesigner_response_compound.py +++ b/eZmaxApi/models/ezsigntemplatesigner_response_compound.py @@ -18,46 +18,19 @@ import re # noqa: F401 import json -from pydantic import BaseModel, ConfigDict, Field, StrictBool, StrictStr, field_validator -from typing import Any, ClassVar, Dict, List, Optional -from typing_extensions import Annotated +from pydantic import ConfigDict +from typing import Any, ClassVar, Dict, List +from eZmaxApi.models.ezsigntemplatesigner_response import EzsigntemplatesignerResponse from eZmaxApi.models.field_e_ezsigntemplatesigner_mapping import FieldEEzsigntemplatesignerMapping from typing import Optional, Set from typing_extensions import Self -class EzsigntemplatesignerResponseCompound(BaseModel): +class EzsigntemplatesignerResponseCompound(EzsigntemplatesignerResponse): """ 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 1542dcde..12b5e00b 100644 --- a/eZmaxApi/models/ezsigntsarequirement_get_autocomplete_v2_response.py +++ b/eZmaxApi/models/ezsigntsarequirement_get_autocomplete_v2_response.py @@ -18,20 +18,19 @@ import re # noqa: F401 import json -from pydantic import BaseModel, ConfigDict, Field -from typing import Any, ClassVar, Dict, List, Optional +from pydantic import ConfigDict, Field +from typing import Any, ClassVar, Dict, List +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.ezsigntsarequirement_get_autocomplete_v2_response_m_payload import EzsigntsarequirementGetAutocompleteV2ResponseMPayload from typing import Optional, Set from typing_extensions import Self -class EzsigntsarequirementGetAutocompleteV2Response(BaseModel): +class EzsigntsarequirementGetAutocompleteV2Response(CommonResponse): """ 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 8753b045..9817710d 100644 --- a/eZmaxApi/models/ezsignuser_edit_object_v1_response.py +++ b/eZmaxApi/models/ezsignuser_edit_object_v1_response.py @@ -18,19 +18,18 @@ import re # noqa: F401 import json -from pydantic import BaseModel, ConfigDict, Field -from typing import Any, ClassVar, Dict, List, Optional +from pydantic import ConfigDict +from typing import Any, ClassVar, Dict, List +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 EzsignuserEditObjectV1Response(BaseModel): +class EzsignuserEditObjectV1Response(CommonResponse): """ 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 8c90a53f..0b8066a0 100644 --- a/eZmaxApi/models/ezsignuser_get_object_v2_response.py +++ b/eZmaxApi/models/ezsignuser_get_object_v2_response.py @@ -18,20 +18,19 @@ import re # noqa: F401 import json -from pydantic import BaseModel, ConfigDict, Field -from typing import Any, ClassVar, Dict, List, Optional +from pydantic import ConfigDict, Field +from typing import Any, ClassVar, Dict, List +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.ezsignuser_get_object_v2_response_m_payload import EzsignuserGetObjectV2ResponseMPayload from typing import Optional, Set from typing_extensions import Self -class EzsignuserGetObjectV2Response(BaseModel): +class EzsignuserGetObjectV2Response(CommonResponse): """ 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 4613ed60..37c974d4 100644 --- a/eZmaxApi/models/ezsignuser_request.py +++ b/eZmaxApi/models/ezsignuser_request.py @@ -79,19 +79,7 @@ def to_dict(self) -> Dict[str, Any]: return _dict @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + def from_dict(cls, obj: 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 5aeabbb4..5dfdc1df 100644 --- a/eZmaxApi/models/ezsignuser_request_compound.py +++ b/eZmaxApi/models/ezsignuser_request_compound.py @@ -18,20 +18,17 @@ import re # noqa: F401 import json -from pydantic import BaseModel, ConfigDict, Field -from typing import Any, ClassVar, Dict, List, Optional -from typing_extensions import Annotated +from pydantic import ConfigDict +from typing import Any, ClassVar, Dict, List 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(BaseModel): +class EzsignuserRequestCompound(EzsignuserRequest): """ 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 6bc9efc0..fb836c12 100644 --- a/eZmaxApi/models/ezsignuser_response.py +++ b/eZmaxApi/models/ezsignuser_response.py @@ -84,20 +84,7 @@ def to_dict(self) -> Dict[str, Any]: return _dict @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + def from_dict(cls, obj: 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 9e785ee8..c905eb63 100644 --- a/eZmaxApi/models/ezsignuser_response_compound.py +++ b/eZmaxApi/models/ezsignuser_response_compound.py @@ -18,22 +18,18 @@ import re # noqa: F401 import json -from pydantic import BaseModel, ConfigDict, Field +from pydantic import ConfigDict 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(BaseModel): +class EzsignuserResponseCompound(EzsignuserResponse): """ 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 30d066ce..73b8ff68 100644 --- a/eZmaxApi/models/font_get_autocomplete_v2_response.py +++ b/eZmaxApi/models/font_get_autocomplete_v2_response.py @@ -18,20 +18,19 @@ import re # noqa: F401 import json -from pydantic import BaseModel, ConfigDict, Field -from typing import Any, ClassVar, Dict, List, Optional +from pydantic import ConfigDict, Field +from typing import Any, ClassVar, Dict, List +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.font_get_autocomplete_v2_response_m_payload import FontGetAutocompleteV2ResponseMPayload from typing import Optional, Set from typing_extensions import Self -class FontGetAutocompleteV2Response(BaseModel): +class FontGetAutocompleteV2Response(CommonResponse): """ 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 0cd10b22..300c7832 100644 --- a/eZmaxApi/models/franchisebroker_get_autocomplete_v2_response.py +++ b/eZmaxApi/models/franchisebroker_get_autocomplete_v2_response.py @@ -18,20 +18,19 @@ import re # noqa: F401 import json -from pydantic import BaseModel, ConfigDict, Field -from typing import Any, ClassVar, Dict, List, Optional +from pydantic import ConfigDict, Field +from typing import Any, ClassVar, Dict, List +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.franchisebroker_get_autocomplete_v2_response_m_payload import FranchisebrokerGetAutocompleteV2ResponseMPayload from typing import Optional, Set from typing_extensions import Self -class FranchisebrokerGetAutocompleteV2Response(BaseModel): +class FranchisebrokerGetAutocompleteV2Response(CommonResponse): """ 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 de5abe8b..fe670a9d 100644 --- a/eZmaxApi/models/franchiseoffice_get_autocomplete_v2_response.py +++ b/eZmaxApi/models/franchiseoffice_get_autocomplete_v2_response.py @@ -18,20 +18,19 @@ import re # noqa: F401 import json -from pydantic import BaseModel, ConfigDict, Field -from typing import Any, ClassVar, Dict, List, Optional +from pydantic import ConfigDict, Field +from typing import Any, ClassVar, Dict, List +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.franchiseoffice_get_autocomplete_v2_response_m_payload import FranchiseofficeGetAutocompleteV2ResponseMPayload from typing import Optional, Set from typing_extensions import Self -class FranchiseofficeGetAutocompleteV2Response(BaseModel): +class FranchiseofficeGetAutocompleteV2Response(CommonResponse): """ 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 9de5c787..59dfaeee 100644 --- a/eZmaxApi/models/franchisereferalincome_create_object_v2_response.py +++ b/eZmaxApi/models/franchisereferalincome_create_object_v2_response.py @@ -18,20 +18,19 @@ import re # noqa: F401 import json -from pydantic import BaseModel, ConfigDict, Field -from typing import Any, ClassVar, Dict, List, Optional +from pydantic import ConfigDict, Field +from typing import Any, ClassVar, Dict, List +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.franchisereferalincome_create_object_v2_response_m_payload import FranchisereferalincomeCreateObjectV2ResponseMPayload from typing import Optional, Set from typing_extensions import Self -class FranchisereferalincomeCreateObjectV2Response(BaseModel): +class FranchisereferalincomeCreateObjectV2Response(CommonResponse): """ 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 924a29af..20216a80 100644 --- a/eZmaxApi/models/franchisereferalincome_request.py +++ b/eZmaxApi/models/franchisereferalincome_request.py @@ -84,28 +84,7 @@ def to_dict(self) -> Dict[str, Any]: return _dict @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + def from_dict(cls, obj: 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 1295937e..c45032f7 100644 --- a/eZmaxApi/models/franchisereferalincome_request_compound.py +++ b/eZmaxApi/models/franchisereferalincome_request_compound.py @@ -18,30 +18,18 @@ import re # noqa: F401 import json -from pydantic import BaseModel, ConfigDict, Field, StrictStr +from pydantic import ConfigDict, Field 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(BaseModel): +class FranchisereferalincomeRequestCompound(FranchisereferalincomeRequest): """ 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 2b48a8a6..0f7ae3e5 100644 --- a/eZmaxApi/models/glaccount_get_autocomplete_v2_response.py +++ b/eZmaxApi/models/glaccount_get_autocomplete_v2_response.py @@ -18,20 +18,19 @@ import re # noqa: F401 import json -from pydantic import BaseModel, ConfigDict, Field -from typing import Any, ClassVar, Dict, List, Optional +from pydantic import ConfigDict, Field +from typing import Any, ClassVar, Dict, List +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.glaccount_get_autocomplete_v2_response_m_payload import GlaccountGetAutocompleteV2ResponseMPayload from typing import Optional, Set from typing_extensions import Self -class GlaccountGetAutocompleteV2Response(BaseModel): +class GlaccountGetAutocompleteV2Response(CommonResponse): """ 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 ae80812f..a774840c 100644 --- a/eZmaxApi/models/glaccountcontainer_get_autocomplete_v2_response.py +++ b/eZmaxApi/models/glaccountcontainer_get_autocomplete_v2_response.py @@ -18,20 +18,19 @@ import re # noqa: F401 import json -from pydantic import BaseModel, ConfigDict, Field -from typing import Any, ClassVar, Dict, List, Optional +from pydantic import ConfigDict, Field +from typing import Any, ClassVar, Dict, List +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.glaccountcontainer_get_autocomplete_v2_response_m_payload import GlaccountcontainerGetAutocompleteV2ResponseMPayload from typing import Optional, Set from typing_extensions import Self -class GlaccountcontainerGetAutocompleteV2Response(BaseModel): +class GlaccountcontainerGetAutocompleteV2Response(CommonResponse): """ 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 4c93292c..0a01d527 100644 --- a/eZmaxApi/models/inscription_get_attachments_v1_response.py +++ b/eZmaxApi/models/inscription_get_attachments_v1_response.py @@ -18,20 +18,19 @@ import re # noqa: F401 import json -from pydantic import BaseModel, ConfigDict, Field -from typing import Any, ClassVar, Dict, List, Optional +from pydantic import ConfigDict, Field +from typing import Any, ClassVar, Dict, List +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.inscription_get_attachments_v1_response_m_payload import InscriptionGetAttachmentsV1ResponseMPayload from typing import Optional, Set from typing_extensions import Self -class InscriptionGetAttachmentsV1Response(BaseModel): +class InscriptionGetAttachmentsV1Response(CommonResponse): """ 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 766f6f91..d5fe29ce 100644 --- a/eZmaxApi/models/inscription_get_communication_count_v1_response.py +++ b/eZmaxApi/models/inscription_get_communication_count_v1_response.py @@ -18,20 +18,19 @@ import re # noqa: F401 import json -from pydantic import BaseModel, ConfigDict, Field -from typing import Any, ClassVar, Dict, List, Optional +from pydantic import ConfigDict, Field +from typing import Any, ClassVar, Dict, List +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.inscription_get_communication_count_v1_response_m_payload import InscriptionGetCommunicationCountV1ResponseMPayload from typing import Optional, Set from typing_extensions import Self -class InscriptionGetCommunicationCountV1Response(BaseModel): +class InscriptionGetCommunicationCountV1Response(CommonResponse): """ 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 8ba9bf1d..ad314916 100644 --- a/eZmaxApi/models/inscription_get_communication_list_v1_response.py +++ b/eZmaxApi/models/inscription_get_communication_list_v1_response.py @@ -18,20 +18,19 @@ import re # noqa: F401 import json -from pydantic import BaseModel, ConfigDict, Field -from typing import Any, ClassVar, Dict, List, Optional +from pydantic import ConfigDict, Field +from typing import Any, ClassVar, Dict, List +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 eZmaxApi.models.inscription_get_communication_list_v1_response_m_payload import InscriptionGetCommunicationListV1ResponseMPayload from typing import Optional, Set from typing_extensions import Self -class InscriptionGetCommunicationListV1Response(BaseModel): +class InscriptionGetCommunicationListV1Response(CommonResponseGetList): """ 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 4bdda2be..1cd65c82 100644 --- a/eZmaxApi/models/inscription_get_communicationrecipients_v1_response.py +++ b/eZmaxApi/models/inscription_get_communicationrecipients_v1_response.py @@ -18,20 +18,19 @@ import re # noqa: F401 import json -from pydantic import BaseModel, ConfigDict, Field -from typing import Any, ClassVar, Dict, List, Optional +from pydantic import ConfigDict, Field +from typing import Any, ClassVar, Dict, List +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.inscription_get_communicationrecipients_v1_response_m_payload import InscriptionGetCommunicationrecipientsV1ResponseMPayload from typing import Optional, Set from typing_extensions import Self -class InscriptionGetCommunicationrecipientsV1Response(BaseModel): +class InscriptionGetCommunicationrecipientsV1Response(CommonResponse): """ 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 d61bc8ae..d118f8c0 100644 --- a/eZmaxApi/models/inscription_get_communicationsenders_v1_response.py +++ b/eZmaxApi/models/inscription_get_communicationsenders_v1_response.py @@ -18,20 +18,19 @@ import re # noqa: F401 import json -from pydantic import BaseModel, ConfigDict, Field -from typing import Any, ClassVar, Dict, List, Optional +from pydantic import ConfigDict, Field +from typing import Any, ClassVar, Dict, List +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.inscription_get_communicationsenders_v1_response_m_payload import InscriptionGetCommunicationsendersV1ResponseMPayload from typing import Optional, Set from typing_extensions import Self -class InscriptionGetCommunicationsendersV1Response(BaseModel): +class InscriptionGetCommunicationsendersV1Response(CommonResponse): """ 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 61687ebc..6ed8e803 100644 --- a/eZmaxApi/models/inscriptionnotauthenticated_get_communication_count_v1_response.py +++ b/eZmaxApi/models/inscriptionnotauthenticated_get_communication_count_v1_response.py @@ -18,20 +18,19 @@ import re # noqa: F401 import json -from pydantic import BaseModel, ConfigDict, Field -from typing import Any, ClassVar, Dict, List, Optional +from pydantic import ConfigDict, Field +from typing import Any, ClassVar, Dict, List +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.inscriptionnotauthenticated_get_communication_count_v1_response_m_payload import InscriptionnotauthenticatedGetCommunicationCountV1ResponseMPayload from typing import Optional, Set from typing_extensions import Self -class InscriptionnotauthenticatedGetCommunicationCountV1Response(BaseModel): +class InscriptionnotauthenticatedGetCommunicationCountV1Response(CommonResponse): """ 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 8bde0fb6..9ba1978d 100644 --- a/eZmaxApi/models/inscriptionnotauthenticated_get_communication_list_v1_response.py +++ b/eZmaxApi/models/inscriptionnotauthenticated_get_communication_list_v1_response.py @@ -18,20 +18,19 @@ import re # noqa: F401 import json -from pydantic import BaseModel, ConfigDict, Field -from typing import Any, ClassVar, Dict, List, Optional +from pydantic import ConfigDict, Field +from typing import Any, ClassVar, Dict, List +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 eZmaxApi.models.inscriptionnotauthenticated_get_communication_list_v1_response_m_payload import InscriptionnotauthenticatedGetCommunicationListV1ResponseMPayload from typing import Optional, Set from typing_extensions import Self -class InscriptionnotauthenticatedGetCommunicationListV1Response(BaseModel): +class InscriptionnotauthenticatedGetCommunicationListV1Response(CommonResponseGetList): """ 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 027331ba..74f822e6 100644 --- a/eZmaxApi/models/inscriptionnotauthenticated_get_communicationrecipients_v1_response.py +++ b/eZmaxApi/models/inscriptionnotauthenticated_get_communicationrecipients_v1_response.py @@ -18,20 +18,19 @@ import re # noqa: F401 import json -from pydantic import BaseModel, ConfigDict, Field -from typing import Any, ClassVar, Dict, List, Optional +from pydantic import ConfigDict, Field +from typing import Any, ClassVar, Dict, List +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.inscriptionnotauthenticated_get_communicationrecipients_v1_response_m_payload import InscriptionnotauthenticatedGetCommunicationrecipientsV1ResponseMPayload from typing import Optional, Set from typing_extensions import Self -class InscriptionnotauthenticatedGetCommunicationrecipientsV1Response(BaseModel): +class InscriptionnotauthenticatedGetCommunicationrecipientsV1Response(CommonResponse): """ 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 f43c56ff..71124405 100644 --- a/eZmaxApi/models/inscriptionnotauthenticated_get_communicationsenders_v1_response.py +++ b/eZmaxApi/models/inscriptionnotauthenticated_get_communicationsenders_v1_response.py @@ -18,20 +18,19 @@ import re # noqa: F401 import json -from pydantic import BaseModel, ConfigDict, Field -from typing import Any, ClassVar, Dict, List, Optional +from pydantic import ConfigDict, Field +from typing import Any, ClassVar, Dict, List +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.inscriptionnotauthenticated_get_communicationsenders_v1_response_m_payload import InscriptionnotauthenticatedGetCommunicationsendersV1ResponseMPayload from typing import Optional, Set from typing_extensions import Self -class InscriptionnotauthenticatedGetCommunicationsendersV1Response(BaseModel): +class InscriptionnotauthenticatedGetCommunicationsendersV1Response(CommonResponse): """ 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 32a79475..27037bf5 100644 --- a/eZmaxApi/models/inscriptiontemp_get_communication_count_v1_response.py +++ b/eZmaxApi/models/inscriptiontemp_get_communication_count_v1_response.py @@ -18,20 +18,19 @@ import re # noqa: F401 import json -from pydantic import BaseModel, ConfigDict, Field -from typing import Any, ClassVar, Dict, List, Optional +from pydantic import ConfigDict, Field +from typing import Any, ClassVar, Dict, List +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.inscriptiontemp_get_communication_count_v1_response_m_payload import InscriptiontempGetCommunicationCountV1ResponseMPayload from typing import Optional, Set from typing_extensions import Self -class InscriptiontempGetCommunicationCountV1Response(BaseModel): +class InscriptiontempGetCommunicationCountV1Response(CommonResponse): """ 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 8c4f6237..7a1b885c 100644 --- a/eZmaxApi/models/inscriptiontemp_get_communication_list_v1_response.py +++ b/eZmaxApi/models/inscriptiontemp_get_communication_list_v1_response.py @@ -18,20 +18,19 @@ import re # noqa: F401 import json -from pydantic import BaseModel, ConfigDict, Field -from typing import Any, ClassVar, Dict, List, Optional +from pydantic import ConfigDict, Field +from typing import Any, ClassVar, Dict, List +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 eZmaxApi.models.inscriptiontemp_get_communication_list_v1_response_m_payload import InscriptiontempGetCommunicationListV1ResponseMPayload from typing import Optional, Set from typing_extensions import Self -class InscriptiontempGetCommunicationListV1Response(BaseModel): +class InscriptiontempGetCommunicationListV1Response(CommonResponseGetList): """ 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 c535063b..35fc4de3 100644 --- a/eZmaxApi/models/inscriptiontemp_get_communicationrecipients_v1_response.py +++ b/eZmaxApi/models/inscriptiontemp_get_communicationrecipients_v1_response.py @@ -18,20 +18,19 @@ import re # noqa: F401 import json -from pydantic import BaseModel, ConfigDict, Field -from typing import Any, ClassVar, Dict, List, Optional +from pydantic import ConfigDict, Field +from typing import Any, ClassVar, Dict, List +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.inscriptiontemp_get_communicationrecipients_v1_response_m_payload import InscriptiontempGetCommunicationrecipientsV1ResponseMPayload from typing import Optional, Set from typing_extensions import Self -class InscriptiontempGetCommunicationrecipientsV1Response(BaseModel): +class InscriptiontempGetCommunicationrecipientsV1Response(CommonResponse): """ 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 e4d3550f..da18e5fd 100644 --- a/eZmaxApi/models/inscriptiontemp_get_communicationsenders_v1_response.py +++ b/eZmaxApi/models/inscriptiontemp_get_communicationsenders_v1_response.py @@ -18,20 +18,19 @@ import re # noqa: F401 import json -from pydantic import BaseModel, ConfigDict, Field -from typing import Any, ClassVar, Dict, List, Optional +from pydantic import ConfigDict, Field +from typing import Any, ClassVar, Dict, List +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.inscriptiontemp_get_communicationsenders_v1_response_m_payload import InscriptiontempGetCommunicationsendersV1ResponseMPayload from typing import Optional, Set from typing_extensions import Self -class InscriptiontempGetCommunicationsendersV1Response(BaseModel): +class InscriptiontempGetCommunicationsendersV1Response(CommonResponse): """ 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 c17894d0..7ce3fcb7 100644 --- a/eZmaxApi/models/invoice_get_attachments_v1_response.py +++ b/eZmaxApi/models/invoice_get_attachments_v1_response.py @@ -18,20 +18,19 @@ import re # noqa: F401 import json -from pydantic import BaseModel, ConfigDict, Field -from typing import Any, ClassVar, Dict, List, Optional +from pydantic import ConfigDict, Field +from typing import Any, ClassVar, Dict, List +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.invoice_get_attachments_v1_response_m_payload import InvoiceGetAttachmentsV1ResponseMPayload from typing import Optional, Set from typing_extensions import Self -class InvoiceGetAttachmentsV1Response(BaseModel): +class InvoiceGetAttachmentsV1Response(CommonResponse): """ 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 5add0968..daa0253a 100644 --- a/eZmaxApi/models/invoice_get_communication_count_v1_response.py +++ b/eZmaxApi/models/invoice_get_communication_count_v1_response.py @@ -18,20 +18,19 @@ import re # noqa: F401 import json -from pydantic import BaseModel, ConfigDict, Field -from typing import Any, ClassVar, Dict, List, Optional +from pydantic import ConfigDict, Field +from typing import Any, ClassVar, Dict, List +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.invoice_get_communication_count_v1_response_m_payload import InvoiceGetCommunicationCountV1ResponseMPayload from typing import Optional, Set from typing_extensions import Self -class InvoiceGetCommunicationCountV1Response(BaseModel): +class InvoiceGetCommunicationCountV1Response(CommonResponse): """ 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 18293874..21c0506a 100644 --- a/eZmaxApi/models/invoice_get_communication_list_v1_response.py +++ b/eZmaxApi/models/invoice_get_communication_list_v1_response.py @@ -18,20 +18,19 @@ import re # noqa: F401 import json -from pydantic import BaseModel, ConfigDict, Field -from typing import Any, ClassVar, Dict, List, Optional +from pydantic import ConfigDict, Field +from typing import Any, ClassVar, Dict, List +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 eZmaxApi.models.invoice_get_communication_list_v1_response_m_payload import InvoiceGetCommunicationListV1ResponseMPayload from typing import Optional, Set from typing_extensions import Self -class InvoiceGetCommunicationListV1Response(BaseModel): +class InvoiceGetCommunicationListV1Response(CommonResponseGetList): """ 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 58a61c43..bf99c6fd 100644 --- a/eZmaxApi/models/invoice_get_communicationrecipients_v1_response.py +++ b/eZmaxApi/models/invoice_get_communicationrecipients_v1_response.py @@ -18,20 +18,19 @@ import re # noqa: F401 import json -from pydantic import BaseModel, ConfigDict, Field -from typing import Any, ClassVar, Dict, List, Optional +from pydantic import ConfigDict, Field +from typing import Any, ClassVar, Dict, List +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.invoice_get_communicationrecipients_v1_response_m_payload import InvoiceGetCommunicationrecipientsV1ResponseMPayload from typing import Optional, Set from typing_extensions import Self -class InvoiceGetCommunicationrecipientsV1Response(BaseModel): +class InvoiceGetCommunicationrecipientsV1Response(CommonResponse): """ 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 e7fde380..cc443e84 100644 --- a/eZmaxApi/models/invoice_get_communicationsenders_v1_response.py +++ b/eZmaxApi/models/invoice_get_communicationsenders_v1_response.py @@ -18,20 +18,19 @@ import re # noqa: F401 import json -from pydantic import BaseModel, ConfigDict, Field -from typing import Any, ClassVar, Dict, List, Optional +from pydantic import ConfigDict, Field +from typing import Any, ClassVar, Dict, List +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.invoice_get_communicationsenders_v1_response_m_payload import InvoiceGetCommunicationsendersV1ResponseMPayload from typing import Optional, Set from typing_extensions import Self -class InvoiceGetCommunicationsendersV1Response(BaseModel): +class InvoiceGetCommunicationsendersV1Response(CommonResponse): """ 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 8b18c252..8f88ad59 100644 --- a/eZmaxApi/models/language_get_autocomplete_v2_response.py +++ b/eZmaxApi/models/language_get_autocomplete_v2_response.py @@ -18,20 +18,19 @@ import re # noqa: F401 import json -from pydantic import BaseModel, ConfigDict, Field -from typing import Any, ClassVar, Dict, List, Optional +from pydantic import ConfigDict, Field +from typing import Any, ClassVar, Dict, List +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.language_get_autocomplete_v2_response_m_payload import LanguageGetAutocompleteV2ResponseMPayload from typing import Optional, Set from typing_extensions import Self -class LanguageGetAutocompleteV2Response(BaseModel): +class LanguageGetAutocompleteV2Response(CommonResponse): """ 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 dab57f72..6288f50f 100644 --- a/eZmaxApi/models/module_get_autocomplete_v2_response.py +++ b/eZmaxApi/models/module_get_autocomplete_v2_response.py @@ -18,20 +18,19 @@ import re # noqa: F401 import json -from pydantic import BaseModel, ConfigDict, Field -from typing import Any, ClassVar, Dict, List, Optional +from pydantic import ConfigDict, Field +from typing import Any, ClassVar, Dict, List +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.module_get_autocomplete_v2_response_m_payload import ModuleGetAutocompleteV2ResponseMPayload from typing import Optional, Set from typing_extensions import Self -class ModuleGetAutocompleteV2Response(BaseModel): +class ModuleGetAutocompleteV2Response(CommonResponse): """ 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 9b8bb510..618195f7 100644 --- a/eZmaxApi/models/module_response.py +++ b/eZmaxApi/models/module_response.py @@ -78,22 +78,7 @@ def to_dict(self) -> Dict[str, Any]: return _dict @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + def from_dict(cls, obj: 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 6cdbea9d..f84b6e27 100644 --- a/eZmaxApi/models/module_response_compound.py +++ b/eZmaxApi/models/module_response_compound.py @@ -18,23 +18,17 @@ import re # noqa: F401 import json -from pydantic import BaseModel, ConfigDict, Field, StrictBool, StrictStr +from pydantic import ConfigDict, Field from typing import Any, ClassVar, Dict, List, Optional -from typing_extensions import Annotated +from eZmaxApi.models.module_response import ModuleResponse from eZmaxApi.models.modulesection_response_compound import ModulesectionResponseCompound from typing import Optional, Set from typing_extensions import Self -class ModuleResponseCompound(BaseModel): +class ModuleResponseCompound(ModuleResponse): """ 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 f2a4cdc8..22b748af 100644 --- a/eZmaxApi/models/modulegroup_get_all_v1_response.py +++ b/eZmaxApi/models/modulegroup_get_all_v1_response.py @@ -18,20 +18,19 @@ import re # noqa: F401 import json -from pydantic import BaseModel, ConfigDict, Field -from typing import Any, ClassVar, Dict, List, Optional +from pydantic import ConfigDict, Field +from typing import Any, ClassVar, Dict, List +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.modulegroup_get_all_v1_response_m_payload import ModulegroupGetAllV1ResponseMPayload from typing import Optional, Set from typing_extensions import Self -class ModulegroupGetAllV1Response(BaseModel): +class ModulegroupGetAllV1Response(CommonResponse): """ 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 d9c87dec..ab3367b1 100644 --- a/eZmaxApi/models/modulegroup_response.py +++ b/eZmaxApi/models/modulegroup_response.py @@ -81,18 +81,7 @@ def to_dict(self) -> Dict[str, Any]: return _dict @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + def from_dict(cls, obj: 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 ad79332e..2404992e 100644 --- a/eZmaxApi/models/modulegroup_response_compound.py +++ b/eZmaxApi/models/modulegroup_response_compound.py @@ -18,29 +18,20 @@ import re # noqa: F401 import json -from pydantic import BaseModel, ConfigDict, Field, field_validator +from pydantic import ConfigDict, Field 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(BaseModel): +class ModulegroupResponseCompound(ModulegroupResponse): """ 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 f5c26d15..89fa1309 100644 --- a/eZmaxApi/models/modulesection_response.py +++ b/eZmaxApi/models/modulesection_response.py @@ -76,20 +76,7 @@ def to_dict(self) -> Dict[str, Any]: return _dict @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + def from_dict(cls, obj: 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 818759ce..fbff282e 100644 --- a/eZmaxApi/models/modulesection_response_compound.py +++ b/eZmaxApi/models/modulesection_response_compound.py @@ -18,21 +18,17 @@ import re # noqa: F401 import json -from pydantic import BaseModel, ConfigDict, Field, StrictStr +from pydantic import ConfigDict, Field from typing import Any, ClassVar, Dict, List, Optional -from typing_extensions import Annotated +from eZmaxApi.models.modulesection_response import ModulesectionResponse from eZmaxApi.models.permission_response import PermissionResponse from typing import Optional, Set from typing_extensions import Self -class ModulesectionResponseCompound(BaseModel): +class ModulesectionResponseCompound(ModulesectionResponse): """ A Modulesection Object """ # noqa: E501 - 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[PermissionResponse]] = Field(default=None, alias="a_objPermission") __properties: ClassVar[List[str]] = ["pkiModulesectionID", "fkiModuleID", "sModulesectionInternalname", "sModulesectionNameX", "a_objPermission"] diff --git a/eZmaxApi/models/notificationsection_get_notificationtests_v1_response.py b/eZmaxApi/models/notificationsection_get_notificationtests_v1_response.py index 5ade0f45..34b17a61 100644 --- a/eZmaxApi/models/notificationsection_get_notificationtests_v1_response.py +++ b/eZmaxApi/models/notificationsection_get_notificationtests_v1_response.py @@ -18,20 +18,19 @@ import re # noqa: F401 import json -from pydantic import BaseModel, ConfigDict, Field -from typing import Any, ClassVar, Dict, List, Optional +from pydantic import ConfigDict, Field +from typing import Any, ClassVar, Dict, List +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.notificationsection_get_notificationtests_v1_response_m_payload import NotificationsectionGetNotificationtestsV1ResponseMPayload from typing import Optional, Set from typing_extensions import Self -class NotificationsectionGetNotificationtestsV1Response(BaseModel): +class NotificationsectionGetNotificationtestsV1Response(CommonResponse): """ 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 0558c7c2..ee3e4252 100644 --- a/eZmaxApi/models/notificationsubsection_response.py +++ b/eZmaxApi/models/notificationsubsection_response.py @@ -81,21 +81,7 @@ def to_dict(self) -> Dict[str, Any]: return _dict @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + def from_dict(cls, obj: 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 85c7182c..365819b4 100644 --- a/eZmaxApi/models/notificationtest_get_elements_v1_response.py +++ b/eZmaxApi/models/notificationtest_get_elements_v1_response.py @@ -18,20 +18,19 @@ import re # noqa: F401 import json -from pydantic import BaseModel, ConfigDict, Field -from typing import Any, ClassVar, Dict, List, Optional +from pydantic import ConfigDict, Field +from typing import Any, ClassVar, Dict, List +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.notificationtest_get_elements_v1_response_m_payload import NotificationtestGetElementsV1ResponseMPayload from typing import Optional, Set from typing_extensions import Self -class NotificationtestGetElementsV1Response(BaseModel): +class NotificationtestGetElementsV1Response(CommonResponse): """ 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 79750066..0ce5188b 100644 --- a/eZmaxApi/models/notificationtest_response.py +++ b/eZmaxApi/models/notificationtest_response.py @@ -81,21 +81,7 @@ def to_dict(self) -> Dict[str, Any]: return _dict @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + def from_dict(cls, obj: 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 63357dc2..393fabc0 100644 --- a/eZmaxApi/models/otherincome_get_communication_count_v1_response.py +++ b/eZmaxApi/models/otherincome_get_communication_count_v1_response.py @@ -18,20 +18,19 @@ import re # noqa: F401 import json -from pydantic import BaseModel, ConfigDict, Field -from typing import Any, ClassVar, Dict, List, Optional +from pydantic import ConfigDict, Field +from typing import Any, ClassVar, Dict, List +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.otherincome_get_communication_count_v1_response_m_payload import OtherincomeGetCommunicationCountV1ResponseMPayload from typing import Optional, Set from typing_extensions import Self -class OtherincomeGetCommunicationCountV1Response(BaseModel): +class OtherincomeGetCommunicationCountV1Response(CommonResponse): """ 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 fbfab3ff..b083a9f5 100644 --- a/eZmaxApi/models/otherincome_get_communication_list_v1_response.py +++ b/eZmaxApi/models/otherincome_get_communication_list_v1_response.py @@ -18,20 +18,19 @@ import re # noqa: F401 import json -from pydantic import BaseModel, ConfigDict, Field -from typing import Any, ClassVar, Dict, List, Optional +from pydantic import ConfigDict, Field +from typing import Any, ClassVar, Dict, List +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 eZmaxApi.models.otherincome_get_communication_list_v1_response_m_payload import OtherincomeGetCommunicationListV1ResponseMPayload from typing import Optional, Set from typing_extensions import Self -class OtherincomeGetCommunicationListV1Response(BaseModel): +class OtherincomeGetCommunicationListV1Response(CommonResponseGetList): """ 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 fa6232a4..1f33ef61 100644 --- a/eZmaxApi/models/otherincome_get_communicationrecipients_v1_response.py +++ b/eZmaxApi/models/otherincome_get_communicationrecipients_v1_response.py @@ -18,20 +18,19 @@ import re # noqa: F401 import json -from pydantic import BaseModel, ConfigDict, Field -from typing import Any, ClassVar, Dict, List, Optional +from pydantic import ConfigDict, Field +from typing import Any, ClassVar, Dict, List +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.otherincome_get_communicationrecipients_v1_response_m_payload import OtherincomeGetCommunicationrecipientsV1ResponseMPayload from typing import Optional, Set from typing_extensions import Self -class OtherincomeGetCommunicationrecipientsV1Response(BaseModel): +class OtherincomeGetCommunicationrecipientsV1Response(CommonResponse): """ 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 d2d46cec..0c964491 100644 --- a/eZmaxApi/models/otherincome_get_communicationsenders_v1_response.py +++ b/eZmaxApi/models/otherincome_get_communicationsenders_v1_response.py @@ -18,20 +18,19 @@ import re # noqa: F401 import json -from pydantic import BaseModel, ConfigDict, Field -from typing import Any, ClassVar, Dict, List, Optional +from pydantic import ConfigDict, Field +from typing import Any, ClassVar, Dict, List +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.otherincome_get_communicationsenders_v1_response_m_payload import OtherincomeGetCommunicationsendersV1ResponseMPayload from typing import Optional, Set from typing_extensions import Self -class OtherincomeGetCommunicationsendersV1Response(BaseModel): +class OtherincomeGetCommunicationsendersV1Response(CommonResponse): """ 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 a0f13415..e8ce1418 100644 --- a/eZmaxApi/models/paymentterm_create_object_v1_response.py +++ b/eZmaxApi/models/paymentterm_create_object_v1_response.py @@ -18,20 +18,19 @@ import re # noqa: F401 import json -from pydantic import BaseModel, ConfigDict, Field -from typing import Any, ClassVar, Dict, List, Optional +from pydantic import ConfigDict, Field +from typing import Any, ClassVar, Dict, List +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.paymentterm_create_object_v1_response_m_payload import PaymenttermCreateObjectV1ResponseMPayload from typing import Optional, Set from typing_extensions import Self -class PaymenttermCreateObjectV1Response(BaseModel): +class PaymenttermCreateObjectV1Response(CommonResponse): """ 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 27115625..bfb27f31 100644 --- a/eZmaxApi/models/paymentterm_edit_object_v1_response.py +++ b/eZmaxApi/models/paymentterm_edit_object_v1_response.py @@ -18,19 +18,18 @@ import re # noqa: F401 import json -from pydantic import BaseModel, ConfigDict, Field -from typing import Any, ClassVar, Dict, List, Optional +from pydantic import ConfigDict +from typing import Any, ClassVar, Dict, List +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 PaymenttermEditObjectV1Response(BaseModel): +class PaymenttermEditObjectV1Response(CommonResponse): """ 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 37d3f0fd..5cff5e73 100644 --- a/eZmaxApi/models/paymentterm_get_autocomplete_v2_response.py +++ b/eZmaxApi/models/paymentterm_get_autocomplete_v2_response.py @@ -18,20 +18,19 @@ import re # noqa: F401 import json -from pydantic import BaseModel, ConfigDict, Field -from typing import Any, ClassVar, Dict, List, Optional +from pydantic import ConfigDict, Field +from typing import Any, ClassVar, Dict, List +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.paymentterm_get_autocomplete_v2_response_m_payload import PaymenttermGetAutocompleteV2ResponseMPayload from typing import Optional, Set from typing_extensions import Self -class PaymenttermGetAutocompleteV2Response(BaseModel): +class PaymenttermGetAutocompleteV2Response(CommonResponse): """ 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 5a36d5a3..6cbaf51a 100644 --- a/eZmaxApi/models/paymentterm_get_list_v1_response.py +++ b/eZmaxApi/models/paymentterm_get_list_v1_response.py @@ -18,20 +18,19 @@ import re # noqa: F401 import json -from pydantic import BaseModel, ConfigDict, Field -from typing import Any, ClassVar, Dict, List, Optional +from pydantic import ConfigDict, Field +from typing import Any, ClassVar, Dict, List +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 eZmaxApi.models.paymentterm_get_list_v1_response_m_payload import PaymenttermGetListV1ResponseMPayload from typing import Optional, Set from typing_extensions import Self -class PaymenttermGetListV1Response(BaseModel): +class PaymenttermGetListV1Response(CommonResponseGetList): """ 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 26780b87..67a7d2c0 100644 --- a/eZmaxApi/models/paymentterm_get_list_v1_response_m_payload.py +++ b/eZmaxApi/models/paymentterm_get_list_v1_response_m_payload.py @@ -18,18 +18,17 @@ import re # noqa: F401 import json -from pydantic import BaseModel, ConfigDict, Field, StrictInt +from pydantic import ConfigDict, Field 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(BaseModel): +class PaymenttermGetListV1ResponseMPayload(CommonGetListV1ResponseMPayload): """ 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 c17b2df4..2b3939eb 100644 --- a/eZmaxApi/models/paymentterm_get_object_v2_response.py +++ b/eZmaxApi/models/paymentterm_get_object_v2_response.py @@ -18,20 +18,19 @@ import re # noqa: F401 import json -from pydantic import BaseModel, ConfigDict, Field -from typing import Any, ClassVar, Dict, List, Optional +from pydantic import ConfigDict, Field +from typing import Any, ClassVar, Dict, List +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.paymentterm_get_object_v2_response_m_payload import PaymenttermGetObjectV2ResponseMPayload from typing import Optional, Set from typing_extensions import Self -class PaymenttermGetObjectV2Response(BaseModel): +class PaymenttermGetObjectV2Response(CommonResponse): """ 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 164f251d..4c7bd241 100644 --- a/eZmaxApi/models/paymentterm_request.py +++ b/eZmaxApi/models/paymentterm_request.py @@ -90,22 +90,7 @@ def to_dict(self) -> Dict[str, Any]: return _dict @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + def from_dict(cls, obj: 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 0e1a324d..b891cf9d 100644 --- a/eZmaxApi/models/paymentterm_request_compound.py +++ b/eZmaxApi/models/paymentterm_request_compound.py @@ -18,33 +18,20 @@ import re # noqa: F401 import json -from pydantic import BaseModel, ConfigDict, Field, StrictBool, StrictInt, field_validator -from typing import Any, ClassVar, Dict, List, Optional -from typing_extensions import Annotated +from pydantic import ConfigDict +from typing import Any, ClassVar, Dict, List 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(BaseModel): +class PaymenttermRequestCompound(PaymenttermRequest): """ 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 937e291d..2113afd0 100644 --- a/eZmaxApi/models/paymentterm_response.py +++ b/eZmaxApi/models/paymentterm_response.py @@ -95,23 +95,7 @@ def to_dict(self) -> Dict[str, Any]: return _dict @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + def from_dict(cls, obj: 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 21af4aae..d51b7fec 100644 --- a/eZmaxApi/models/paymentterm_response_compound.py +++ b/eZmaxApi/models/paymentterm_response_compound.py @@ -18,35 +18,21 @@ import re # noqa: F401 import json -from pydantic import BaseModel, ConfigDict, Field, StrictBool, StrictInt, field_validator +from pydantic import ConfigDict 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(BaseModel): +class PaymenttermResponseCompound(PaymenttermResponse): """ 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 86634e4a..48dd62f0 100644 --- a/eZmaxApi/models/pdfalevel_get_autocomplete_v2_response.py +++ b/eZmaxApi/models/pdfalevel_get_autocomplete_v2_response.py @@ -18,20 +18,19 @@ import re # noqa: F401 import json -from pydantic import BaseModel, ConfigDict, Field -from typing import Any, ClassVar, Dict, List, Optional +from pydantic import ConfigDict, Field +from typing import Any, ClassVar, Dict, List +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.pdfalevel_get_autocomplete_v2_response_m_payload import PdfalevelGetAutocompleteV2ResponseMPayload from typing import Optional, Set from typing_extensions import Self -class PdfalevelGetAutocompleteV2Response(BaseModel): +class PdfalevelGetAutocompleteV2Response(CommonResponse): """ 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 9f43ce54..565f62b0 100644 --- a/eZmaxApi/models/period_get_autocomplete_v2_response.py +++ b/eZmaxApi/models/period_get_autocomplete_v2_response.py @@ -18,20 +18,19 @@ import re # noqa: F401 import json -from pydantic import BaseModel, ConfigDict, Field -from typing import Any, ClassVar, Dict, List, Optional +from pydantic import ConfigDict, Field +from typing import Any, ClassVar, Dict, List +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.period_get_autocomplete_v2_response_m_payload import PeriodGetAutocompleteV2ResponseMPayload from typing import Optional, Set from typing_extensions import Self -class PeriodGetAutocompleteV2Response(BaseModel): +class PeriodGetAutocompleteV2Response(CommonResponse): """ 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_response.py b/eZmaxApi/models/permission_create_object_v1_response.py index d1ecdd0a..dcfb9314 100644 --- a/eZmaxApi/models/permission_create_object_v1_response.py +++ b/eZmaxApi/models/permission_create_object_v1_response.py @@ -18,20 +18,19 @@ import re # noqa: F401 import json -from pydantic import BaseModel, ConfigDict, Field -from typing import Any, ClassVar, Dict, List, Optional +from pydantic import ConfigDict, Field +from typing import Any, ClassVar, Dict, List +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.permission_create_object_v1_response_m_payload import PermissionCreateObjectV1ResponseMPayload from typing import Optional, Set from typing_extensions import Self -class PermissionCreateObjectV1Response(BaseModel): +class PermissionCreateObjectV1Response(CommonResponse): """ 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 7884743b..4ad598a2 100644 --- a/eZmaxApi/models/permission_delete_object_v1_response.py +++ b/eZmaxApi/models/permission_delete_object_v1_response.py @@ -18,19 +18,18 @@ import re # noqa: F401 import json -from pydantic import BaseModel, ConfigDict, Field -from typing import Any, ClassVar, Dict, List, Optional +from pydantic import ConfigDict +from typing import Any, ClassVar, Dict, List +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 PermissionDeleteObjectV1Response(BaseModel): +class PermissionDeleteObjectV1Response(CommonResponse): """ 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_response.py b/eZmaxApi/models/permission_edit_object_v1_response.py index c72348e2..10b753a5 100644 --- a/eZmaxApi/models/permission_edit_object_v1_response.py +++ b/eZmaxApi/models/permission_edit_object_v1_response.py @@ -18,19 +18,18 @@ import re # noqa: F401 import json -from pydantic import BaseModel, ConfigDict, Field -from typing import Any, ClassVar, Dict, List, Optional +from pydantic import ConfigDict +from typing import Any, ClassVar, Dict, List +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 PermissionEditObjectV1Response(BaseModel): +class PermissionEditObjectV1Response(CommonResponse): """ 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 3881cfb7..fef635d5 100644 --- a/eZmaxApi/models/permission_get_object_v2_response.py +++ b/eZmaxApi/models/permission_get_object_v2_response.py @@ -18,20 +18,19 @@ import re # noqa: F401 import json -from pydantic import BaseModel, ConfigDict, Field -from typing import Any, ClassVar, Dict, List, Optional +from pydantic import ConfigDict, Field +from typing import Any, ClassVar, Dict, List +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.permission_get_object_v2_response_m_payload import PermissionGetObjectV2ResponseMPayload from typing import Optional, Set from typing_extensions import Self -class PermissionGetObjectV2Response(BaseModel): +class PermissionGetObjectV2Response(CommonResponse): """ 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/phone_response.py b/eZmaxApi/models/phone_response.py index f1212257..403eeb62 100644 --- a/eZmaxApi/models/phone_response.py +++ b/eZmaxApi/models/phone_response.py @@ -88,21 +88,7 @@ def to_dict(self) -> Dict[str, Any]: return _dict @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + def from_dict(cls, obj: 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 0da9c095..6328390b 100644 --- a/eZmaxApi/models/phone_response_compound.py +++ b/eZmaxApi/models/phone_response_compound.py @@ -18,35 +18,20 @@ import re # noqa: F401 import json -from pydantic import BaseModel, ConfigDict, Field, StrictBool, StrictStr, field_validator +from pydantic import ConfigDict, Field, StrictBool 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(BaseModel): +class PhoneResponseCompound(PhoneResponse): """ 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 1c0ef599..e169b9bc 100644 --- a/eZmaxApi/models/phonetype_get_autocomplete_v2_response.py +++ b/eZmaxApi/models/phonetype_get_autocomplete_v2_response.py @@ -18,20 +18,19 @@ import re # noqa: F401 import json -from pydantic import BaseModel, ConfigDict, Field -from typing import Any, ClassVar, Dict, List, Optional +from pydantic import ConfigDict, Field +from typing import Any, ClassVar, Dict, List +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.phonetype_get_autocomplete_v2_response_m_payload import PhonetypeGetAutocompleteV2ResponseMPayload from typing import Optional, Set from typing_extensions import Self -class PhonetypeGetAutocompleteV2Response(BaseModel): +class PhonetypeGetAutocompleteV2Response(CommonResponse): """ 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 d9b43f43..6002c963 100644 --- a/eZmaxApi/models/province_get_autocomplete_v2_response.py +++ b/eZmaxApi/models/province_get_autocomplete_v2_response.py @@ -18,20 +18,19 @@ import re # noqa: F401 import json -from pydantic import BaseModel, ConfigDict, Field -from typing import Any, ClassVar, Dict, List, Optional +from pydantic import ConfigDict, Field +from typing import Any, ClassVar, Dict, List +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.province_get_autocomplete_v2_response_m_payload import ProvinceGetAutocompleteV2ResponseMPayload from typing import Optional, Set from typing_extensions import Self -class ProvinceGetAutocompleteV2Response(BaseModel): +class ProvinceGetAutocompleteV2Response(CommonResponse): """ 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 f1345529..7662a29f 100644 --- a/eZmaxApi/models/rejectedoffertopurchase_get_communication_count_v1_response.py +++ b/eZmaxApi/models/rejectedoffertopurchase_get_communication_count_v1_response.py @@ -18,20 +18,19 @@ import re # noqa: F401 import json -from pydantic import BaseModel, ConfigDict, Field -from typing import Any, ClassVar, Dict, List, Optional +from pydantic import ConfigDict, Field +from typing import Any, ClassVar, Dict, List +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.rejectedoffertopurchase_get_communication_count_v1_response_m_payload import RejectedoffertopurchaseGetCommunicationCountV1ResponseMPayload from typing import Optional, Set from typing_extensions import Self -class RejectedoffertopurchaseGetCommunicationCountV1Response(BaseModel): +class RejectedoffertopurchaseGetCommunicationCountV1Response(CommonResponse): """ 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 47c2456f..e0b30916 100644 --- a/eZmaxApi/models/rejectedoffertopurchase_get_communication_list_v1_response.py +++ b/eZmaxApi/models/rejectedoffertopurchase_get_communication_list_v1_response.py @@ -18,20 +18,19 @@ import re # noqa: F401 import json -from pydantic import BaseModel, ConfigDict, Field -from typing import Any, ClassVar, Dict, List, Optional +from pydantic import ConfigDict, Field +from typing import Any, ClassVar, Dict, List +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 eZmaxApi.models.rejectedoffertopurchase_get_communication_list_v1_response_m_payload import RejectedoffertopurchaseGetCommunicationListV1ResponseMPayload from typing import Optional, Set from typing_extensions import Self -class RejectedoffertopurchaseGetCommunicationListV1Response(BaseModel): +class RejectedoffertopurchaseGetCommunicationListV1Response(CommonResponseGetList): """ 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 1b514a15..f884dffa 100644 --- a/eZmaxApi/models/rejectedoffertopurchase_get_communicationrecipients_v1_response.py +++ b/eZmaxApi/models/rejectedoffertopurchase_get_communicationrecipients_v1_response.py @@ -18,20 +18,19 @@ import re # noqa: F401 import json -from pydantic import BaseModel, ConfigDict, Field -from typing import Any, ClassVar, Dict, List, Optional +from pydantic import ConfigDict, Field +from typing import Any, ClassVar, Dict, List +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.rejectedoffertopurchase_get_communicationrecipients_v1_response_m_payload import RejectedoffertopurchaseGetCommunicationrecipientsV1ResponseMPayload from typing import Optional, Set from typing_extensions import Self -class RejectedoffertopurchaseGetCommunicationrecipientsV1Response(BaseModel): +class RejectedoffertopurchaseGetCommunicationrecipientsV1Response(CommonResponse): """ 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 ad2ed315..9ca13762 100644 --- a/eZmaxApi/models/rejectedoffertopurchase_get_communicationsenders_v1_response.py +++ b/eZmaxApi/models/rejectedoffertopurchase_get_communicationsenders_v1_response.py @@ -18,20 +18,19 @@ import re # noqa: F401 import json -from pydantic import BaseModel, ConfigDict, Field -from typing import Any, ClassVar, Dict, List, Optional +from pydantic import ConfigDict, Field +from typing import Any, ClassVar, Dict, List +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.rejectedoffertopurchase_get_communicationsenders_v1_response_m_payload import RejectedoffertopurchaseGetCommunicationsendersV1ResponseMPayload from typing import Optional, Set from typing_extensions import Self -class RejectedoffertopurchaseGetCommunicationsendersV1Response(BaseModel): +class RejectedoffertopurchaseGetCommunicationsendersV1Response(CommonResponse): """ 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 5b1c5d4d..bb598ba0 100644 --- a/eZmaxApi/models/secretquestion_get_autocomplete_v2_response.py +++ b/eZmaxApi/models/secretquestion_get_autocomplete_v2_response.py @@ -18,20 +18,19 @@ import re # noqa: F401 import json -from pydantic import BaseModel, ConfigDict, Field -from typing import Any, ClassVar, Dict, List, Optional +from pydantic import ConfigDict, Field +from typing import Any, ClassVar, Dict, List +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.secretquestion_get_autocomplete_v2_response_m_payload import SecretquestionGetAutocompleteV2ResponseMPayload from typing import Optional, Set from typing_extensions import Self -class SecretquestionGetAutocompleteV2Response(BaseModel): +class SecretquestionGetAutocompleteV2Response(CommonResponse): """ 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 f325408d..a1e46582 100644 --- a/eZmaxApi/models/sessionhistory_get_list_v1_response.py +++ b/eZmaxApi/models/sessionhistory_get_list_v1_response.py @@ -18,20 +18,19 @@ import re # noqa: F401 import json -from pydantic import BaseModel, ConfigDict, Field -from typing import Any, ClassVar, Dict, List, Optional +from pydantic import ConfigDict, Field +from typing import Any, ClassVar, Dict, List +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 eZmaxApi.models.sessionhistory_get_list_v1_response_m_payload import SessionhistoryGetListV1ResponseMPayload from typing import Optional, Set from typing_extensions import Self -class SessionhistoryGetListV1Response(BaseModel): +class SessionhistoryGetListV1Response(CommonResponseGetList): """ 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 185c50c9..6439578b 100644 --- a/eZmaxApi/models/sessionhistory_get_list_v1_response_m_payload.py +++ b/eZmaxApi/models/sessionhistory_get_list_v1_response_m_payload.py @@ -18,18 +18,17 @@ import re # noqa: F401 import json -from pydantic import BaseModel, ConfigDict, Field, StrictInt +from pydantic import ConfigDict, Field 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(BaseModel): +class SessionhistoryGetListV1ResponseMPayload(CommonGetListV1ResponseMPayload): """ 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 693dddf0..53a1e558 100644 --- a/eZmaxApi/models/signature_create_object_v1_response.py +++ b/eZmaxApi/models/signature_create_object_v1_response.py @@ -18,20 +18,19 @@ import re # noqa: F401 import json -from pydantic import BaseModel, ConfigDict, Field -from typing import Any, ClassVar, Dict, List, Optional +from pydantic import ConfigDict, Field +from typing import Any, ClassVar, Dict, List +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.signature_create_object_v1_response_m_payload import SignatureCreateObjectV1ResponseMPayload from typing import Optional, Set from typing_extensions import Self -class SignatureCreateObjectV1Response(BaseModel): +class SignatureCreateObjectV1Response(CommonResponse): """ 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 6cd0da42..70614dd6 100644 --- a/eZmaxApi/models/signature_delete_object_v1_response.py +++ b/eZmaxApi/models/signature_delete_object_v1_response.py @@ -18,19 +18,18 @@ import re # noqa: F401 import json -from pydantic import BaseModel, ConfigDict, Field -from typing import Any, ClassVar, Dict, List, Optional +from pydantic import ConfigDict +from typing import Any, ClassVar, Dict, List +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 SignatureDeleteObjectV1Response(BaseModel): +class SignatureDeleteObjectV1Response(CommonResponse): """ 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 a923dab1..7def97cd 100644 --- a/eZmaxApi/models/signature_edit_object_v1_response.py +++ b/eZmaxApi/models/signature_edit_object_v1_response.py @@ -18,19 +18,18 @@ import re # noqa: F401 import json -from pydantic import BaseModel, ConfigDict, Field -from typing import Any, ClassVar, Dict, List, Optional +from pydantic import ConfigDict +from typing import Any, ClassVar, Dict, List +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 SignatureEditObjectV1Response(BaseModel): +class SignatureEditObjectV1Response(CommonResponse): """ 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 185ae648..f2dcfd18 100644 --- a/eZmaxApi/models/signature_get_object_v2_response.py +++ b/eZmaxApi/models/signature_get_object_v2_response.py @@ -18,20 +18,19 @@ import re # noqa: F401 import json -from pydantic import BaseModel, ConfigDict, Field -from typing import Any, ClassVar, Dict, List, Optional +from pydantic import ConfigDict, Field +from typing import Any, ClassVar, Dict, List +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.signature_get_object_v2_response_m_payload import SignatureGetObjectV2ResponseMPayload from typing import Optional, Set from typing_extensions import Self -class SignatureGetObjectV2Response(BaseModel): +class SignatureGetObjectV2Response(CommonResponse): """ 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 92a11443..27e3535b 100644 --- a/eZmaxApi/models/signature_get_object_v3_response.py +++ b/eZmaxApi/models/signature_get_object_v3_response.py @@ -18,20 +18,19 @@ import re # noqa: F401 import json -from pydantic import BaseModel, ConfigDict, Field -from typing import Any, ClassVar, Dict, List, Optional +from pydantic import ConfigDict, Field +from typing import Any, ClassVar, Dict, List +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.signature_get_object_v3_response_m_payload import SignatureGetObjectV3ResponseMPayload from typing import Optional, Set from typing_extensions import Self -class SignatureGetObjectV3Response(BaseModel): +class SignatureGetObjectV3Response(CommonResponse): """ 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 fc69dca0..83c112d4 100644 --- a/eZmaxApi/models/signature_request.py +++ b/eZmaxApi/models/signature_request.py @@ -98,21 +98,7 @@ def to_dict(self) -> Dict[str, Any]: return _dict @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + def from_dict(cls, obj: 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 9d5fb7fb..af6733db 100644 --- a/eZmaxApi/models/signature_request_compound.py +++ b/eZmaxApi/models/signature_request_compound.py @@ -18,44 +18,19 @@ import re # noqa: F401 import json -from pydantic import BaseModel, ConfigDict, Field, field_validator -from typing import Any, ClassVar, Dict, List, Optional -from typing_extensions import Annotated +from pydantic import ConfigDict +from typing import Any, ClassVar, Dict, List 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(BaseModel): +class SignatureRequestCompound(SignatureRequest): """ 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 ebd6a0ab..bb33ddcf 100644 --- a/eZmaxApi/models/signature_response.py +++ b/eZmaxApi/models/signature_response.py @@ -96,20 +96,7 @@ def to_dict(self) -> Dict[str, Any]: return _dict @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + def from_dict(cls, obj: 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 d8d12cee..a2619e82 100644 --- a/eZmaxApi/models/signature_response_compound.py +++ b/eZmaxApi/models/signature_response_compound.py @@ -18,42 +18,18 @@ import re # noqa: F401 import json -from pydantic import BaseModel, ConfigDict, Field, field_validator -from typing import Any, ClassVar, Dict, List, Optional -from typing_extensions import Annotated +from pydantic import ConfigDict +from typing import Any, ClassVar, Dict, List +from eZmaxApi.models.signature_response import SignatureResponse from typing import Optional, Set from typing_extensions import Self -class SignatureResponseCompound(BaseModel): +class SignatureResponseCompound(SignatureResponse): """ 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 1ff8ac4b..a0672754 100644 --- a/eZmaxApi/models/signature_response_compound_v3.py +++ b/eZmaxApi/models/signature_response_compound_v3.py @@ -18,22 +18,17 @@ import re # noqa: F401 import json -from pydantic import BaseModel, ConfigDict, Field, StrictBool +from pydantic import ConfigDict 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(BaseModel): +class SignatureResponseCompoundV3(SignatureResponseV3): """ 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 17a586c3..d941981c 100644 --- a/eZmaxApi/models/signature_response_v3.py +++ b/eZmaxApi/models/signature_response_v3.py @@ -78,21 +78,7 @@ def to_dict(self) -> Dict[str, Any]: return _dict @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + def from_dict(cls, obj: 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 5220effe..1183646c 100644 --- a/eZmaxApi/models/subnet_create_object_v1_response.py +++ b/eZmaxApi/models/subnet_create_object_v1_response.py @@ -18,20 +18,19 @@ import re # noqa: F401 import json -from pydantic import BaseModel, ConfigDict, Field -from typing import Any, ClassVar, Dict, List, Optional +from pydantic import ConfigDict, Field +from typing import Any, ClassVar, Dict, List +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.subnet_create_object_v1_response_m_payload import SubnetCreateObjectV1ResponseMPayload from typing import Optional, Set from typing_extensions import Self -class SubnetCreateObjectV1Response(BaseModel): +class SubnetCreateObjectV1Response(CommonResponse): """ 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 38a6d1da..c8fc1560 100644 --- a/eZmaxApi/models/subnet_delete_object_v1_response.py +++ b/eZmaxApi/models/subnet_delete_object_v1_response.py @@ -18,19 +18,18 @@ import re # noqa: F401 import json -from pydantic import BaseModel, ConfigDict, Field -from typing import Any, ClassVar, Dict, List, Optional +from pydantic import ConfigDict +from typing import Any, ClassVar, Dict, List +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 SubnetDeleteObjectV1Response(BaseModel): +class SubnetDeleteObjectV1Response(CommonResponse): """ 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 40f622ba..a82ed57c 100644 --- a/eZmaxApi/models/subnet_edit_object_v1_response.py +++ b/eZmaxApi/models/subnet_edit_object_v1_response.py @@ -18,19 +18,18 @@ import re # noqa: F401 import json -from pydantic import BaseModel, ConfigDict, Field -from typing import Any, ClassVar, Dict, List, Optional +from pydantic import ConfigDict +from typing import Any, ClassVar, Dict, List +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 SubnetEditObjectV1Response(BaseModel): +class SubnetEditObjectV1Response(CommonResponse): """ 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 ffe33a53..d6935ad1 100644 --- a/eZmaxApi/models/subnet_get_object_v2_response.py +++ b/eZmaxApi/models/subnet_get_object_v2_response.py @@ -18,20 +18,19 @@ import re # noqa: F401 import json -from pydantic import BaseModel, ConfigDict, Field -from typing import Any, ClassVar, Dict, List, Optional +from pydantic import ConfigDict, Field +from typing import Any, ClassVar, Dict, List +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.subnet_get_object_v2_response_m_payload import SubnetGetObjectV2ResponseMPayload from typing import Optional, Set from typing_extensions import Self -class SubnetGetObjectV2Response(BaseModel): +class SubnetGetObjectV2Response(CommonResponse): """ 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 6c90e71e..2dc41652 100644 --- a/eZmaxApi/models/subnet_request.py +++ b/eZmaxApi/models/subnet_request.py @@ -82,22 +82,7 @@ def to_dict(self) -> Dict[str, Any]: return _dict @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + def from_dict(cls, obj: 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 513a2d06..c9f25624 100644 --- a/eZmaxApi/models/subnet_request_compound.py +++ b/eZmaxApi/models/subnet_request_compound.py @@ -18,23 +18,17 @@ import re # noqa: F401 import json -from pydantic import BaseModel, ConfigDict, Field -from typing import Any, ClassVar, Dict, List, Optional -from typing_extensions import Annotated +from pydantic import ConfigDict +from typing import Any, ClassVar, Dict, List 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(BaseModel): +class SubnetRequestCompound(SubnetRequest): """ 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 39c981d4..b46adeeb 100644 --- a/eZmaxApi/models/subnet_response.py +++ b/eZmaxApi/models/subnet_response.py @@ -82,22 +82,7 @@ def to_dict(self) -> Dict[str, Any]: return _dict @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + def from_dict(cls, obj: 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 1ce76619..14a4d68e 100644 --- a/eZmaxApi/models/subnet_response_compound.py +++ b/eZmaxApi/models/subnet_response_compound.py @@ -18,23 +18,17 @@ import re # noqa: F401 import json -from pydantic import BaseModel, ConfigDict, Field -from typing import Any, ClassVar, Dict, List, Optional -from typing_extensions import Annotated +from pydantic import ConfigDict +from typing import Any, ClassVar, Dict, List 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(BaseModel): +class SubnetResponseCompound(SubnetResponse): """ 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 06645155..2ed0ef47 100644 --- a/eZmaxApi/models/supply_create_object_v1_response.py +++ b/eZmaxApi/models/supply_create_object_v1_response.py @@ -18,20 +18,19 @@ import re # noqa: F401 import json -from pydantic import BaseModel, ConfigDict, Field -from typing import Any, ClassVar, Dict, List, Optional +from pydantic import ConfigDict, Field +from typing import Any, ClassVar, Dict, List +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.supply_create_object_v1_response_m_payload import SupplyCreateObjectV1ResponseMPayload from typing import Optional, Set from typing_extensions import Self -class SupplyCreateObjectV1Response(BaseModel): +class SupplyCreateObjectV1Response(CommonResponse): """ 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 997d1e60..13aefdad 100644 --- a/eZmaxApi/models/supply_delete_object_v1_response.py +++ b/eZmaxApi/models/supply_delete_object_v1_response.py @@ -18,19 +18,18 @@ import re # noqa: F401 import json -from pydantic import BaseModel, ConfigDict, Field -from typing import Any, ClassVar, Dict, List, Optional +from pydantic import ConfigDict +from typing import Any, ClassVar, Dict, List +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 SupplyDeleteObjectV1Response(BaseModel): +class SupplyDeleteObjectV1Response(CommonResponse): """ 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 2f9a80e1..30520c37 100644 --- a/eZmaxApi/models/supply_edit_object_v1_response.py +++ b/eZmaxApi/models/supply_edit_object_v1_response.py @@ -18,19 +18,18 @@ import re # noqa: F401 import json -from pydantic import BaseModel, ConfigDict, Field -from typing import Any, ClassVar, Dict, List, Optional +from pydantic import ConfigDict +from typing import Any, ClassVar, Dict, List +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 SupplyEditObjectV1Response(BaseModel): +class SupplyEditObjectV1Response(CommonResponse): """ 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 3df081f6..a3f43ea8 100644 --- a/eZmaxApi/models/supply_get_autocomplete_v2_response.py +++ b/eZmaxApi/models/supply_get_autocomplete_v2_response.py @@ -18,20 +18,19 @@ import re # noqa: F401 import json -from pydantic import BaseModel, ConfigDict, Field -from typing import Any, ClassVar, Dict, List, Optional +from pydantic import ConfigDict, Field +from typing import Any, ClassVar, Dict, List +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.supply_get_autocomplete_v2_response_m_payload import SupplyGetAutocompleteV2ResponseMPayload from typing import Optional, Set from typing_extensions import Self -class SupplyGetAutocompleteV2Response(BaseModel): +class SupplyGetAutocompleteV2Response(CommonResponse): """ 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 ccd18bcf..0d5d3738 100644 --- a/eZmaxApi/models/supply_get_list_v1_response.py +++ b/eZmaxApi/models/supply_get_list_v1_response.py @@ -18,20 +18,19 @@ import re # noqa: F401 import json -from pydantic import BaseModel, ConfigDict, Field -from typing import Any, ClassVar, Dict, List, Optional +from pydantic import ConfigDict, Field +from typing import Any, ClassVar, Dict, List +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 eZmaxApi.models.supply_get_list_v1_response_m_payload import SupplyGetListV1ResponseMPayload from typing import Optional, Set from typing_extensions import Self -class SupplyGetListV1Response(BaseModel): +class SupplyGetListV1Response(CommonResponseGetList): """ 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 13a83b68..18a1d1ca 100644 --- a/eZmaxApi/models/supply_get_list_v1_response_m_payload.py +++ b/eZmaxApi/models/supply_get_list_v1_response_m_payload.py @@ -18,18 +18,17 @@ import re # noqa: F401 import json -from pydantic import BaseModel, ConfigDict, Field, StrictInt +from pydantic import ConfigDict, Field 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(BaseModel): +class SupplyGetListV1ResponseMPayload(CommonGetListV1ResponseMPayload): """ 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 cc1ff477..d17aa941 100644 --- a/eZmaxApi/models/supply_get_object_v2_response.py +++ b/eZmaxApi/models/supply_get_object_v2_response.py @@ -18,20 +18,19 @@ import re # noqa: F401 import json -from pydantic import BaseModel, ConfigDict, Field -from typing import Any, ClassVar, Dict, List, Optional +from pydantic import ConfigDict, Field +from typing import Any, ClassVar, Dict, List +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.supply_get_object_v2_response_m_payload import SupplyGetObjectV2ResponseMPayload from typing import Optional, Set from typing_extensions import Self -class SupplyGetObjectV2Response(BaseModel): +class SupplyGetObjectV2Response(CommonResponse): """ 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 dbb5b921..5eaa06b7 100644 --- a/eZmaxApi/models/supply_request.py +++ b/eZmaxApi/models/supply_request.py @@ -99,25 +99,7 @@ def to_dict(self) -> Dict[str, Any]: return _dict @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + def from_dict(cls, obj: 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 91414a8a..7b46bdf3 100644 --- a/eZmaxApi/models/supply_request_compound.py +++ b/eZmaxApi/models/supply_request_compound.py @@ -18,42 +18,19 @@ import re # noqa: F401 import json -from pydantic import BaseModel, ConfigDict, Field, StrictBool, field_validator -from typing import Any, ClassVar, Dict, List, Optional -from typing_extensions import Annotated +from pydantic import ConfigDict +from typing import Any, ClassVar, Dict, List 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(BaseModel): +class SupplyRequestCompound(SupplyRequest): """ 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 61d18256..07ffb676 100644 --- a/eZmaxApi/models/supply_response.py +++ b/eZmaxApi/models/supply_response.py @@ -112,28 +112,7 @@ def to_dict(self) -> Dict[str, Any]: return _dict @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + def from_dict(cls, obj: 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 29dc9872..d99e5f05 100644 --- a/eZmaxApi/models/supply_response_compound.py +++ b/eZmaxApi/models/supply_response_compound.py @@ -18,55 +18,19 @@ import re # noqa: F401 import json -from pydantic import BaseModel, ConfigDict, Field, StrictBool, StrictStr, field_validator -from typing import Any, ClassVar, Dict, List, Optional -from typing_extensions import Annotated +from pydantic import ConfigDict +from typing import Any, ClassVar, Dict, List 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(BaseModel): +class SupplyResponseCompound(SupplyResponse): """ 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 3f8998d3..c15353a0 100644 --- a/eZmaxApi/models/systemconfiguration_edit_object_v1_response.py +++ b/eZmaxApi/models/systemconfiguration_edit_object_v1_response.py @@ -18,19 +18,18 @@ import re # noqa: F401 import json -from pydantic import BaseModel, ConfigDict, Field -from typing import Any, ClassVar, Dict, List, Optional +from pydantic import ConfigDict +from typing import Any, ClassVar, Dict, List +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 SystemconfigurationEditObjectV1Response(BaseModel): +class SystemconfigurationEditObjectV1Response(CommonResponse): """ 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 5fe30149..dbb40c33 100644 --- a/eZmaxApi/models/systemconfiguration_get_object_v2_response.py +++ b/eZmaxApi/models/systemconfiguration_get_object_v2_response.py @@ -18,20 +18,19 @@ import re # noqa: F401 import json -from pydantic import BaseModel, ConfigDict, Field -from typing import Any, ClassVar, Dict, List, Optional +from pydantic import ConfigDict, Field +from typing import Any, ClassVar, Dict, List +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.systemconfiguration_get_object_v2_response_m_payload import SystemconfigurationGetObjectV2ResponseMPayload from typing import Optional, Set from typing_extensions import Self -class SystemconfigurationGetObjectV2Response(BaseModel): +class SystemconfigurationGetObjectV2Response(CommonResponse): """ 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 fef1eedf..3757a4b2 100644 --- a/eZmaxApi/models/systemconfiguration_request.py +++ b/eZmaxApi/models/systemconfiguration_request.py @@ -109,28 +109,7 @@ def to_dict(self) -> Dict[str, Any]: return _dict @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + def from_dict(cls, obj: 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 eb0b1926..8434380c 100644 --- a/eZmaxApi/models/systemconfiguration_request_compound.py +++ b/eZmaxApi/models/systemconfiguration_request_compound.py @@ -18,55 +18,23 @@ import re # noqa: F401 import json -from pydantic import BaseModel, ConfigDict, Field, StrictBool, field_validator -from typing import Any, ClassVar, Dict, List, Optional -from typing_extensions import Annotated +from pydantic import ConfigDict +from typing import Any, ClassVar, Dict, List 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(BaseModel): +class SystemconfigurationRequestCompound(SystemconfigurationRequest): """ 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 84270da6..3ff92682 100644 --- a/eZmaxApi/models/systemconfiguration_response.py +++ b/eZmaxApi/models/systemconfiguration_response.py @@ -118,33 +118,7 @@ def to_dict(self) -> Dict[str, Any]: return _dict @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + def from_dict(cls, obj: 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 1a8a6d5c..85bfa52c 100644 --- a/eZmaxApi/models/systemconfiguration_response_compound.py +++ b/eZmaxApi/models/systemconfiguration_response_compound.py @@ -18,61 +18,24 @@ import re # noqa: F401 import json -from pydantic import BaseModel, ConfigDict, Field, StrictBool, StrictStr, field_validator -from typing import Any, ClassVar, Dict, List, Optional -from typing_extensions import Annotated +from pydantic import ConfigDict +from typing import Any, ClassVar, Dict, List 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(BaseModel): +class SystemconfigurationResponseCompound(SystemconfigurationResponse): """ 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 c50dd085..546a9b0d 100644 --- a/eZmaxApi/models/taxassignment_get_autocomplete_v2_response.py +++ b/eZmaxApi/models/taxassignment_get_autocomplete_v2_response.py @@ -18,20 +18,19 @@ import re # noqa: F401 import json -from pydantic import BaseModel, ConfigDict, Field -from typing import Any, ClassVar, Dict, List, Optional +from pydantic import ConfigDict, Field +from typing import Any, ClassVar, Dict, List +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.taxassignment_get_autocomplete_v2_response_m_payload import TaxassignmentGetAutocompleteV2ResponseMPayload from typing import Optional, Set from typing_extensions import Self -class TaxassignmentGetAutocompleteV2Response(BaseModel): +class TaxassignmentGetAutocompleteV2Response(CommonResponse): """ 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 9ac1494d..5e59707e 100644 --- a/eZmaxApi/models/textstylestatic_request.py +++ b/eZmaxApi/models/textstylestatic_request.py @@ -79,23 +79,7 @@ def to_dict(self) -> Dict[str, Any]: return _dict @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + def from_dict(cls, obj: 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 7f6d0b2b..d255798f 100644 --- a/eZmaxApi/models/textstylestatic_request_compound.py +++ b/eZmaxApi/models/textstylestatic_request_compound.py @@ -18,23 +18,16 @@ import re # noqa: F401 import json -from pydantic import BaseModel, ConfigDict, Field, StrictBool +from pydantic import ConfigDict from typing import Any, ClassVar, Dict, List -from typing_extensions import Annotated +from eZmaxApi.models.textstylestatic_request import TextstylestaticRequest from typing import Optional, Set from typing_extensions import Self -class TextstylestaticRequestCompound(BaseModel): +class TextstylestaticRequestCompound(TextstylestaticRequest): """ 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 47d9909f..5d206352 100644 --- a/eZmaxApi/models/textstylestatic_response.py +++ b/eZmaxApi/models/textstylestatic_response.py @@ -88,25 +88,7 @@ def to_dict(self) -> Dict[str, Any]: return _dict @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + def from_dict(cls, obj: 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 b4b31c65..eee3cd94 100644 --- a/eZmaxApi/models/textstylestatic_response_compound.py +++ b/eZmaxApi/models/textstylestatic_response_compound.py @@ -18,34 +18,18 @@ import re # noqa: F401 import json -from pydantic import BaseModel, ConfigDict, Field, StrictBool, field_validator -from typing import Any, ClassVar, Dict, List, Optional -from typing_extensions import Annotated +from pydantic import ConfigDict +from typing import Any, ClassVar, Dict, List +from eZmaxApi.models.textstylestatic_response import TextstylestaticResponse from typing import Optional, Set from typing_extensions import Self -class TextstylestaticResponseCompound(BaseModel): +class TextstylestaticResponseCompound(TextstylestaticResponse): """ 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 2943597a..a751037b 100644 --- a/eZmaxApi/models/timezone_get_autocomplete_v2_response.py +++ b/eZmaxApi/models/timezone_get_autocomplete_v2_response.py @@ -18,20 +18,19 @@ import re # noqa: F401 import json -from pydantic import BaseModel, ConfigDict, Field -from typing import Any, ClassVar, Dict, List, Optional +from pydantic import ConfigDict, Field +from typing import Any, ClassVar, Dict, List +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.timezone_get_autocomplete_v2_response_m_payload import TimezoneGetAutocompleteV2ResponseMPayload from typing import Optional, Set from typing_extensions import Self -class TimezoneGetAutocompleteV2Response(BaseModel): +class TimezoneGetAutocompleteV2Response(CommonResponse): """ 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 94120aa3..f1b4d669 100644 --- a/eZmaxApi/models/tranqcontract_get_communication_count_v1_response.py +++ b/eZmaxApi/models/tranqcontract_get_communication_count_v1_response.py @@ -18,20 +18,19 @@ import re # noqa: F401 import json -from pydantic import BaseModel, ConfigDict, Field -from typing import Any, ClassVar, Dict, List, Optional +from pydantic import ConfigDict, Field +from typing import Any, ClassVar, Dict, List +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.tranqcontract_get_communication_count_v1_response_m_payload import TranqcontractGetCommunicationCountV1ResponseMPayload from typing import Optional, Set from typing_extensions import Self -class TranqcontractGetCommunicationCountV1Response(BaseModel): +class TranqcontractGetCommunicationCountV1Response(CommonResponse): """ 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 a7a860e7..0fedd72b 100644 --- a/eZmaxApi/models/tranqcontract_get_communication_list_v1_response.py +++ b/eZmaxApi/models/tranqcontract_get_communication_list_v1_response.py @@ -18,20 +18,19 @@ import re # noqa: F401 import json -from pydantic import BaseModel, ConfigDict, Field -from typing import Any, ClassVar, Dict, List, Optional +from pydantic import ConfigDict, Field +from typing import Any, ClassVar, Dict, List +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 eZmaxApi.models.tranqcontract_get_communication_list_v1_response_m_payload import TranqcontractGetCommunicationListV1ResponseMPayload from typing import Optional, Set from typing_extensions import Self -class TranqcontractGetCommunicationListV1Response(BaseModel): +class TranqcontractGetCommunicationListV1Response(CommonResponseGetList): """ 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 e433c9b2..57657ad3 100644 --- a/eZmaxApi/models/tranqcontract_get_communicationrecipients_v1_response.py +++ b/eZmaxApi/models/tranqcontract_get_communicationrecipients_v1_response.py @@ -18,20 +18,19 @@ import re # noqa: F401 import json -from pydantic import BaseModel, ConfigDict, Field -from typing import Any, ClassVar, Dict, List, Optional +from pydantic import ConfigDict, Field +from typing import Any, ClassVar, Dict, List +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.tranqcontract_get_communicationrecipients_v1_response_m_payload import TranqcontractGetCommunicationrecipientsV1ResponseMPayload from typing import Optional, Set from typing_extensions import Self -class TranqcontractGetCommunicationrecipientsV1Response(BaseModel): +class TranqcontractGetCommunicationrecipientsV1Response(CommonResponse): """ 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 a5d02ce8..dffb8ce2 100644 --- a/eZmaxApi/models/tranqcontract_get_communicationsenders_v1_response.py +++ b/eZmaxApi/models/tranqcontract_get_communicationsenders_v1_response.py @@ -18,20 +18,19 @@ import re # noqa: F401 import json -from pydantic import BaseModel, ConfigDict, Field -from typing import Any, ClassVar, Dict, List, Optional +from pydantic import ConfigDict, Field +from typing import Any, ClassVar, Dict, List +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.tranqcontract_get_communicationsenders_v1_response_m_payload import TranqcontractGetCommunicationsendersV1ResponseMPayload from typing import Optional, Set from typing_extensions import Self -class TranqcontractGetCommunicationsendersV1Response(BaseModel): +class TranqcontractGetCommunicationsendersV1Response(CommonResponse): """ 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 1be5a1ef..a91d1d2a 100644 --- a/eZmaxApi/models/user_create_ezsignuser_v1_response.py +++ b/eZmaxApi/models/user_create_ezsignuser_v1_response.py @@ -18,20 +18,19 @@ import re # noqa: F401 import json -from pydantic import BaseModel, ConfigDict, Field -from typing import Any, ClassVar, Dict, List, Optional +from pydantic import ConfigDict, Field +from typing import Any, ClassVar, Dict, List +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.user_create_ezsignuser_v1_response_m_payload import UserCreateEzsignuserV1ResponseMPayload from typing import Optional, Set from typing_extensions import Self -class UserCreateEzsignuserV1Response(BaseModel): +class UserCreateEzsignuserV1Response(CommonResponse): """ 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 08af389e..ca57880f 100644 --- a/eZmaxApi/models/user_create_object_v1_response.py +++ b/eZmaxApi/models/user_create_object_v1_response.py @@ -18,20 +18,19 @@ import re # noqa: F401 import json -from pydantic import BaseModel, ConfigDict, Field -from typing import Any, ClassVar, Dict, List, Optional +from pydantic import ConfigDict, Field +from typing import Any, ClassVar, Dict, List +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.user_create_object_v1_response_m_payload import UserCreateObjectV1ResponseMPayload from typing import Optional, Set from typing_extensions import Self -class UserCreateObjectV1Response(BaseModel): +class UserCreateObjectV1Response(CommonResponse): """ 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 7f0f9c36..515b932d 100644 --- a/eZmaxApi/models/user_create_object_v2_response.py +++ b/eZmaxApi/models/user_create_object_v2_response.py @@ -18,20 +18,19 @@ import re # noqa: F401 import json -from pydantic import BaseModel, ConfigDict, Field -from typing import Any, ClassVar, Dict, List, Optional +from pydantic import ConfigDict, Field +from typing import Any, ClassVar, Dict, List +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.user_create_object_v2_response_m_payload import UserCreateObjectV2ResponseMPayload from typing import Optional, Set from typing_extensions import Self -class UserCreateObjectV2Response(BaseModel): +class UserCreateObjectV2Response(CommonResponse): """ 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 4baa62d5..762bde05 100644 --- a/eZmaxApi/models/user_edit_colleagues_v2_response.py +++ b/eZmaxApi/models/user_edit_colleagues_v2_response.py @@ -18,20 +18,19 @@ import re # noqa: F401 import json -from pydantic import BaseModel, ConfigDict, Field -from typing import Any, ClassVar, Dict, List, Optional +from pydantic import ConfigDict, Field +from typing import Any, ClassVar, Dict, List +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.user_edit_colleagues_v2_response_m_payload import UserEditColleaguesV2ResponseMPayload from typing import Optional, Set from typing_extensions import Self -class UserEditColleaguesV2Response(BaseModel): +class UserEditColleaguesV2Response(CommonResponse): """ 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 799deeb3..a574f0e4 100644 --- a/eZmaxApi/models/user_edit_object_v1_response.py +++ b/eZmaxApi/models/user_edit_object_v1_response.py @@ -18,19 +18,18 @@ import re # noqa: F401 import json -from pydantic import BaseModel, ConfigDict, Field -from typing import Any, ClassVar, Dict, List, Optional +from pydantic import ConfigDict +from typing import Any, ClassVar, Dict, List +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 UserEditObjectV1Response(BaseModel): +class UserEditObjectV1Response(CommonResponse): """ 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_response.py b/eZmaxApi/models/user_edit_permissions_v1_response.py index 86e3cb30..c70dfe6f 100644 --- a/eZmaxApi/models/user_edit_permissions_v1_response.py +++ b/eZmaxApi/models/user_edit_permissions_v1_response.py @@ -18,20 +18,19 @@ import re # noqa: F401 import json -from pydantic import BaseModel, ConfigDict, Field -from typing import Any, ClassVar, Dict, List, Optional +from pydantic import ConfigDict, Field +from typing import Any, ClassVar, Dict, List +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.user_edit_permissions_v1_response_m_payload import UserEditPermissionsV1ResponseMPayload from typing import Optional, Set from typing_extensions import Self -class UserEditPermissionsV1Response(BaseModel): +class UserEditPermissionsV1Response(CommonResponse): """ 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 e67cafcd..5946c39c 100644 --- a/eZmaxApi/models/user_get_apikeys_v1_response.py +++ b/eZmaxApi/models/user_get_apikeys_v1_response.py @@ -18,20 +18,19 @@ import re # noqa: F401 import json -from pydantic import BaseModel, ConfigDict, Field -from typing import Any, ClassVar, Dict, List, Optional +from pydantic import ConfigDict, Field +from typing import Any, ClassVar, Dict, List +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.user_get_apikeys_v1_response_m_payload import UserGetApikeysV1ResponseMPayload from typing import Optional, Set from typing_extensions import Self -class UserGetApikeysV1Response(BaseModel): +class UserGetApikeysV1Response(CommonResponse): """ 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_autocomplete_v2_response.py b/eZmaxApi/models/user_get_autocomplete_v2_response.py index d524d411..6795c35f 100644 --- a/eZmaxApi/models/user_get_autocomplete_v2_response.py +++ b/eZmaxApi/models/user_get_autocomplete_v2_response.py @@ -18,20 +18,19 @@ import re # noqa: F401 import json -from pydantic import BaseModel, ConfigDict, Field -from typing import Any, ClassVar, Dict, List, Optional +from pydantic import ConfigDict, Field +from typing import Any, ClassVar, Dict, List +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.user_get_autocomplete_v2_response_m_payload import UserGetAutocompleteV2ResponseMPayload from typing import Optional, Set from typing_extensions import Self -class UserGetAutocompleteV2Response(BaseModel): +class UserGetAutocompleteV2Response(CommonResponse): """ 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 9c63cdf9..bc99253c 100644 --- a/eZmaxApi/models/user_get_colleagues_v2_response.py +++ b/eZmaxApi/models/user_get_colleagues_v2_response.py @@ -18,20 +18,19 @@ import re # noqa: F401 import json -from pydantic import BaseModel, ConfigDict, Field -from typing import Any, ClassVar, Dict, List, Optional +from pydantic import ConfigDict, Field +from typing import Any, ClassVar, Dict, List +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.user_get_colleagues_v2_response_m_payload import UserGetColleaguesV2ResponseMPayload from typing import Optional, Set from typing_extensions import Self -class UserGetColleaguesV2Response(BaseModel): +class UserGetColleaguesV2Response(CommonResponse): """ 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 efda2c17..c75da4a3 100644 --- a/eZmaxApi/models/user_get_effective_permissions_v1_response.py +++ b/eZmaxApi/models/user_get_effective_permissions_v1_response.py @@ -18,20 +18,19 @@ import re # noqa: F401 import json -from pydantic import BaseModel, ConfigDict, Field -from typing import Any, ClassVar, Dict, List, Optional +from pydantic import ConfigDict, Field +from typing import Any, ClassVar, Dict, List +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.user_get_effective_permissions_v1_response_m_payload import UserGetEffectivePermissionsV1ResponseMPayload from typing import Optional, Set from typing_extensions import Self -class UserGetEffectivePermissionsV1Response(BaseModel): +class UserGetEffectivePermissionsV1Response(CommonResponse): """ 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 1549aeb9..b589488f 100644 --- a/eZmaxApi/models/user_get_list_v1_response.py +++ b/eZmaxApi/models/user_get_list_v1_response.py @@ -18,20 +18,19 @@ import re # noqa: F401 import json -from pydantic import BaseModel, ConfigDict, Field -from typing import Any, ClassVar, Dict, List, Optional +from pydantic import ConfigDict, Field +from typing import Any, ClassVar, Dict, List +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 eZmaxApi.models.user_get_list_v1_response_m_payload import UserGetListV1ResponseMPayload from typing import Optional, Set from typing_extensions import Self -class UserGetListV1Response(BaseModel): +class UserGetListV1Response(CommonResponseGetList): """ 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 f951ddf7..51d91800 100644 --- a/eZmaxApi/models/user_get_list_v1_response_m_payload.py +++ b/eZmaxApi/models/user_get_list_v1_response_m_payload.py @@ -18,18 +18,17 @@ import re # noqa: F401 import json -from pydantic import BaseModel, ConfigDict, Field, StrictInt +from pydantic import ConfigDict, Field 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(BaseModel): +class UserGetListV1ResponseMPayload(CommonGetListV1ResponseMPayload): """ 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 9b518b9c..d67e6f88 100644 --- a/eZmaxApi/models/user_get_object_v2_response.py +++ b/eZmaxApi/models/user_get_object_v2_response.py @@ -18,20 +18,19 @@ import re # noqa: F401 import json -from pydantic import BaseModel, ConfigDict, Field -from typing import Any, ClassVar, Dict, List, Optional +from pydantic import ConfigDict, Field +from typing import Any, ClassVar, Dict, List +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.user_get_object_v2_response_m_payload import UserGetObjectV2ResponseMPayload from typing import Optional, Set from typing_extensions import Self -class UserGetObjectV2Response(BaseModel): +class UserGetObjectV2Response(CommonResponse): """ 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_permissions_v1_response.py b/eZmaxApi/models/user_get_permissions_v1_response.py index ea379fff..c275b687 100644 --- a/eZmaxApi/models/user_get_permissions_v1_response.py +++ b/eZmaxApi/models/user_get_permissions_v1_response.py @@ -18,20 +18,19 @@ import re # noqa: F401 import json -from pydantic import BaseModel, ConfigDict, Field -from typing import Any, ClassVar, Dict, List, Optional +from pydantic import ConfigDict, Field +from typing import Any, ClassVar, Dict, List +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.user_get_permissions_v1_response_m_payload import UserGetPermissionsV1ResponseMPayload from typing import Optional, Set from typing_extensions import Self -class UserGetPermissionsV1Response(BaseModel): +class UserGetPermissionsV1Response(CommonResponse): """ 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 0e13a89a..fd64dd1a 100644 --- a/eZmaxApi/models/user_get_subnets_v1_response.py +++ b/eZmaxApi/models/user_get_subnets_v1_response.py @@ -18,20 +18,19 @@ import re # noqa: F401 import json -from pydantic import BaseModel, ConfigDict, Field -from typing import Any, ClassVar, Dict, List, Optional +from pydantic import ConfigDict, Field +from typing import Any, ClassVar, Dict, List +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.user_get_subnets_v1_response_m_payload import UserGetSubnetsV1ResponseMPayload from typing import Optional, Set from typing_extensions import Self -class UserGetSubnetsV1Response(BaseModel): +class UserGetSubnetsV1Response(CommonResponse): """ 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 a25fbc5d..700d8d33 100644 --- a/eZmaxApi/models/user_get_usergroupexternals_v1_response.py +++ b/eZmaxApi/models/user_get_usergroupexternals_v1_response.py @@ -18,20 +18,19 @@ import re # noqa: F401 import json -from pydantic import BaseModel, ConfigDict, Field -from typing import Any, ClassVar, Dict, List, Optional +from pydantic import ConfigDict, Field +from typing import Any, ClassVar, Dict, List +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.user_get_usergroupexternals_v1_response_m_payload import UserGetUsergroupexternalsV1ResponseMPayload from typing import Optional, Set from typing_extensions import Self -class UserGetUsergroupexternalsV1Response(BaseModel): +class UserGetUsergroupexternalsV1Response(CommonResponse): """ 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 4a2141dc..6e2f9e96 100644 --- a/eZmaxApi/models/user_get_usergroups_v1_response.py +++ b/eZmaxApi/models/user_get_usergroups_v1_response.py @@ -18,20 +18,19 @@ import re # noqa: F401 import json -from pydantic import BaseModel, ConfigDict, Field -from typing import Any, ClassVar, Dict, List, Optional +from pydantic import ConfigDict, Field +from typing import Any, ClassVar, Dict, List +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.user_get_usergroups_v1_response_m_payload import UserGetUsergroupsV1ResponseMPayload from typing import Optional, Set from typing_extensions import Self -class UserGetUsergroupsV1Response(BaseModel): +class UserGetUsergroupsV1Response(CommonResponse): """ 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 009b8082..7228ae4c 100644 --- a/eZmaxApi/models/user_request.py +++ b/eZmaxApi/models/user_request.py @@ -131,44 +131,7 @@ def to_dict(self) -> Dict[str, Any]: return _dict @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + def from_dict(cls, obj: 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": EmailRequest.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, - "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 a5d914ea..1d4a3edb 100644 --- a/eZmaxApi/models/user_request_compound.py +++ b/eZmaxApi/models/user_request_compound.py @@ -18,68 +18,23 @@ import re # noqa: F401 import json -from pydantic import BaseModel, ConfigDict, Field, StrictBool, StrictStr, field_validator -from typing import Any, ClassVar, Dict, List, Optional -from typing_extensions import Annotated +from pydantic import ConfigDict +from typing import Any, ClassVar, Dict, List from eZmaxApi.models.email_request import EmailRequest 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 typing import Optional, Set from typing_extensions import Self -class UserRequestCompound(BaseModel): +class UserRequestCompound(UserRequest): """ 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: EmailRequest = Field(description="An Email Object and children to create a complete structure", 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") - 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, diff --git a/eZmaxApi/models/user_request_compound_v2.py b/eZmaxApi/models/user_request_compound_v2.py index 35c0a037..26efb778 100644 --- a/eZmaxApi/models/user_request_compound_v2.py +++ b/eZmaxApi/models/user_request_compound_v2.py @@ -18,68 +18,23 @@ import re # noqa: F401 import json -from pydantic import BaseModel, ConfigDict, Field, StrictBool, StrictStr, field_validator -from typing import Any, ClassVar, Dict, List, Optional -from typing_extensions import Annotated +from pydantic import ConfigDict +from typing import Any, ClassVar, Dict, List from eZmaxApi.models.email_request import EmailRequest 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 typing import Optional, Set from typing_extensions import Self -class UserRequestCompoundV2(BaseModel): +class UserRequestCompoundV2(UserRequestV2): """ 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: EmailRequest = Field(description="An Email Object and children to create a complete structure", 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") - 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, diff --git a/eZmaxApi/models/user_request_v2.py b/eZmaxApi/models/user_request_v2.py index f015121e..08f275c7 100644 --- a/eZmaxApi/models/user_request_v2.py +++ b/eZmaxApi/models/user_request_v2.py @@ -131,44 +131,7 @@ def to_dict(self) -> Dict[str, Any]: return _dict @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + def from_dict(cls, obj: 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": EmailRequest.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, - "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_send_password_reset_v1_response.py b/eZmaxApi/models/user_send_password_reset_v1_response.py index 3ab72214..8d675458 100644 --- a/eZmaxApi/models/user_send_password_reset_v1_response.py +++ b/eZmaxApi/models/user_send_password_reset_v1_response.py @@ -18,19 +18,18 @@ import re # noqa: F401 import json -from pydantic import BaseModel, ConfigDict, Field -from typing import Any, ClassVar, Dict, List, Optional +from pydantic import ConfigDict +from typing import Any, ClassVar, Dict, List +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 UserSendPasswordResetV1Response(BaseModel): +class UserSendPasswordResetV1Response(CommonResponse): """ 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 3f8bc91a..1d4f5399 100644 --- a/eZmaxApi/models/usergroup_create_object_v1_response.py +++ b/eZmaxApi/models/usergroup_create_object_v1_response.py @@ -18,20 +18,19 @@ import re # noqa: F401 import json -from pydantic import BaseModel, ConfigDict, Field -from typing import Any, ClassVar, Dict, List, Optional +from pydantic import ConfigDict, Field +from typing import Any, ClassVar, Dict, List +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.usergroup_create_object_v1_response_m_payload import UsergroupCreateObjectV1ResponseMPayload from typing import Optional, Set from typing_extensions import Self -class UsergroupCreateObjectV1Response(BaseModel): +class UsergroupCreateObjectV1Response(CommonResponse): """ 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 2375550f..29597ba4 100644 --- a/eZmaxApi/models/usergroup_edit_object_v1_response.py +++ b/eZmaxApi/models/usergroup_edit_object_v1_response.py @@ -18,19 +18,18 @@ import re # noqa: F401 import json -from pydantic import BaseModel, ConfigDict, Field -from typing import Any, ClassVar, Dict, List, Optional +from pydantic import ConfigDict +from typing import Any, ClassVar, Dict, List +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 UsergroupEditObjectV1Response(BaseModel): +class UsergroupEditObjectV1Response(CommonResponse): """ 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_response.py b/eZmaxApi/models/usergroup_edit_permissions_v1_response.py index f8fca30a..aaed9ecc 100644 --- a/eZmaxApi/models/usergroup_edit_permissions_v1_response.py +++ b/eZmaxApi/models/usergroup_edit_permissions_v1_response.py @@ -18,20 +18,19 @@ import re # noqa: F401 import json -from pydantic import BaseModel, ConfigDict, Field -from typing import Any, ClassVar, Dict, List, Optional +from pydantic import ConfigDict, Field +from typing import Any, ClassVar, Dict, List +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.usergroup_edit_permissions_v1_response_m_payload import UsergroupEditPermissionsV1ResponseMPayload from typing import Optional, Set from typing_extensions import Self -class UsergroupEditPermissionsV1Response(BaseModel): +class UsergroupEditPermissionsV1Response(CommonResponse): """ 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 ba43408f..44afec02 100644 --- a/eZmaxApi/models/usergroup_edit_usergroupdelegations_v1_response.py +++ b/eZmaxApi/models/usergroup_edit_usergroupdelegations_v1_response.py @@ -18,20 +18,19 @@ import re # noqa: F401 import json -from pydantic import BaseModel, ConfigDict, Field -from typing import Any, ClassVar, Dict, List, Optional +from pydantic import ConfigDict, Field +from typing import Any, ClassVar, Dict, List +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.usergroup_edit_usergroupdelegations_v1_response_m_payload import UsergroupEditUsergroupdelegationsV1ResponseMPayload from typing import Optional, Set from typing_extensions import Self -class UsergroupEditUsergroupdelegationsV1Response(BaseModel): +class UsergroupEditUsergroupdelegationsV1Response(CommonResponse): """ 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 78ed1895..5616010d 100644 --- a/eZmaxApi/models/usergroup_edit_usergroupmemberships_v1_response.py +++ b/eZmaxApi/models/usergroup_edit_usergroupmemberships_v1_response.py @@ -18,20 +18,19 @@ import re # noqa: F401 import json -from pydantic import BaseModel, ConfigDict, Field -from typing import Any, ClassVar, Dict, List, Optional +from pydantic import ConfigDict, Field +from typing import Any, ClassVar, Dict, List +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.usergroup_edit_usergroupmemberships_v1_response_m_payload import UsergroupEditUsergroupmembershipsV1ResponseMPayload from typing import Optional, Set from typing_extensions import Self -class UsergroupEditUsergroupmembershipsV1Response(BaseModel): +class UsergroupEditUsergroupmembershipsV1Response(CommonResponse): """ 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 8d5c1971..efe83fce 100644 --- a/eZmaxApi/models/usergroup_get_autocomplete_v2_response.py +++ b/eZmaxApi/models/usergroup_get_autocomplete_v2_response.py @@ -18,20 +18,19 @@ import re # noqa: F401 import json -from pydantic import BaseModel, ConfigDict, Field -from typing import Any, ClassVar, Dict, List, Optional +from pydantic import ConfigDict, Field +from typing import Any, ClassVar, Dict, List +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.usergroup_get_autocomplete_v2_response_m_payload import UsergroupGetAutocompleteV2ResponseMPayload from typing import Optional, Set from typing_extensions import Self -class UsergroupGetAutocompleteV2Response(BaseModel): +class UsergroupGetAutocompleteV2Response(CommonResponse): """ 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 7eec596a..da8263dc 100644 --- a/eZmaxApi/models/usergroup_get_list_v1_response.py +++ b/eZmaxApi/models/usergroup_get_list_v1_response.py @@ -18,20 +18,19 @@ import re # noqa: F401 import json -from pydantic import BaseModel, ConfigDict, Field -from typing import Any, ClassVar, Dict, List, Optional +from pydantic import ConfigDict, Field +from typing import Any, ClassVar, Dict, List +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 eZmaxApi.models.usergroup_get_list_v1_response_m_payload import UsergroupGetListV1ResponseMPayload from typing import Optional, Set from typing_extensions import Self -class UsergroupGetListV1Response(BaseModel): +class UsergroupGetListV1Response(CommonResponseGetList): """ 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 1c0505fe..9a81b4b5 100644 --- a/eZmaxApi/models/usergroup_get_list_v1_response_m_payload.py +++ b/eZmaxApi/models/usergroup_get_list_v1_response_m_payload.py @@ -18,18 +18,17 @@ import re # noqa: F401 import json -from pydantic import BaseModel, ConfigDict, Field, StrictInt +from pydantic import ConfigDict, Field 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(BaseModel): +class UsergroupGetListV1ResponseMPayload(CommonGetListV1ResponseMPayload): """ 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 021faecd..304a59f7 100644 --- a/eZmaxApi/models/usergroup_get_object_v2_response.py +++ b/eZmaxApi/models/usergroup_get_object_v2_response.py @@ -18,20 +18,19 @@ import re # noqa: F401 import json -from pydantic import BaseModel, ConfigDict, Field -from typing import Any, ClassVar, Dict, List, Optional +from pydantic import ConfigDict, Field +from typing import Any, ClassVar, Dict, List +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.usergroup_get_object_v2_response_m_payload import UsergroupGetObjectV2ResponseMPayload from typing import Optional, Set from typing_extensions import Self -class UsergroupGetObjectV2Response(BaseModel): +class UsergroupGetObjectV2Response(CommonResponse): """ 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 796f1d88..471dcbf7 100644 --- a/eZmaxApi/models/usergroup_get_permissions_v1_response.py +++ b/eZmaxApi/models/usergroup_get_permissions_v1_response.py @@ -18,20 +18,19 @@ import re # noqa: F401 import json -from pydantic import BaseModel, ConfigDict, Field -from typing import Any, ClassVar, Dict, List, Optional +from pydantic import ConfigDict, Field +from typing import Any, ClassVar, Dict, List +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.usergroup_get_permissions_v1_response_m_payload import UsergroupGetPermissionsV1ResponseMPayload from typing import Optional, Set from typing_extensions import Self -class UsergroupGetPermissionsV1Response(BaseModel): +class UsergroupGetPermissionsV1Response(CommonResponse): """ 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 418cadce..ac7eef3f 100644 --- a/eZmaxApi/models/usergroup_get_usergroupdelegations_v1_response.py +++ b/eZmaxApi/models/usergroup_get_usergroupdelegations_v1_response.py @@ -18,20 +18,19 @@ import re # noqa: F401 import json -from pydantic import BaseModel, ConfigDict, Field -from typing import Any, ClassVar, Dict, List, Optional +from pydantic import ConfigDict, Field +from typing import Any, ClassVar, Dict, List +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.usergroup_get_usergroupdelegations_v1_response_m_payload import UsergroupGetUsergroupdelegationsV1ResponseMPayload from typing import Optional, Set from typing_extensions import Self -class UsergroupGetUsergroupdelegationsV1Response(BaseModel): +class UsergroupGetUsergroupdelegationsV1Response(CommonResponse): """ 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 fbae48c9..0e533556 100644 --- a/eZmaxApi/models/usergroup_get_usergroupmemberships_v1_response.py +++ b/eZmaxApi/models/usergroup_get_usergroupmemberships_v1_response.py @@ -18,20 +18,19 @@ import re # noqa: F401 import json -from pydantic import BaseModel, ConfigDict, Field -from typing import Any, ClassVar, Dict, List, Optional +from pydantic import ConfigDict, Field +from typing import Any, ClassVar, Dict, List +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.usergroup_get_usergroupmemberships_v1_response_m_payload import UsergroupGetUsergroupmembershipsV1ResponseMPayload from typing import Optional, Set from typing_extensions import Self -class UsergroupGetUsergroupmembershipsV1Response(BaseModel): +class UsergroupGetUsergroupmembershipsV1Response(CommonResponse): """ 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 165ff260..727b01ef 100644 --- a/eZmaxApi/models/usergroup_request.py +++ b/eZmaxApi/models/usergroup_request.py @@ -83,19 +83,7 @@ def to_dict(self) -> Dict[str, Any]: return _dict @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + def from_dict(cls, obj: 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 c169d25a..4509f04f 100644 --- a/eZmaxApi/models/usergroup_request_compound.py +++ b/eZmaxApi/models/usergroup_request_compound.py @@ -18,21 +18,18 @@ import re # noqa: F401 import json -from pydantic import BaseModel, ConfigDict, Field -from typing import Any, ClassVar, Dict, List, Optional -from typing_extensions import Annotated +from pydantic import ConfigDict +from typing import Any, ClassVar, Dict, List 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(BaseModel): +class UsergroupRequestCompound(UsergroupRequest): """ 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 33db7c55..99879a56 100644 --- a/eZmaxApi/models/usergroup_response.py +++ b/eZmaxApi/models/usergroup_response.py @@ -94,20 +94,7 @@ def to_dict(self) -> Dict[str, Any]: return _dict @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + def from_dict(cls, obj: 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 f1a73c84..6998af98 100644 --- a/eZmaxApi/models/usergroup_response_compound.py +++ b/eZmaxApi/models/usergroup_response_compound.py @@ -18,34 +18,20 @@ import re # noqa: F401 import json -from pydantic import BaseModel, ConfigDict, Field, field_validator -from typing import Any, ClassVar, Dict, List, Optional -from typing_extensions import Annotated +from pydantic import ConfigDict +from typing import Any, ClassVar, Dict, List 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(BaseModel): +class UsergroupResponseCompound(UsergroupResponse): """ 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 523019c6..5a350975 100644 --- a/eZmaxApi/models/usergroupdelegation_create_object_v1_response.py +++ b/eZmaxApi/models/usergroupdelegation_create_object_v1_response.py @@ -18,20 +18,19 @@ import re # noqa: F401 import json -from pydantic import BaseModel, ConfigDict, Field -from typing import Any, ClassVar, Dict, List, Optional +from pydantic import ConfigDict, Field +from typing import Any, ClassVar, Dict, List +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.usergroupdelegation_create_object_v1_response_m_payload import UsergroupdelegationCreateObjectV1ResponseMPayload from typing import Optional, Set from typing_extensions import Self -class UsergroupdelegationCreateObjectV1Response(BaseModel): +class UsergroupdelegationCreateObjectV1Response(CommonResponse): """ 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 090cbbd1..b295556f 100644 --- a/eZmaxApi/models/usergroupdelegation_delete_object_v1_response.py +++ b/eZmaxApi/models/usergroupdelegation_delete_object_v1_response.py @@ -18,19 +18,18 @@ import re # noqa: F401 import json -from pydantic import BaseModel, ConfigDict, Field -from typing import Any, ClassVar, Dict, List, Optional +from pydantic import ConfigDict +from typing import Any, ClassVar, Dict, List +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 UsergroupdelegationDeleteObjectV1Response(BaseModel): +class UsergroupdelegationDeleteObjectV1Response(CommonResponse): """ 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 1433179a..daffffc8 100644 --- a/eZmaxApi/models/usergroupdelegation_edit_object_v1_response.py +++ b/eZmaxApi/models/usergroupdelegation_edit_object_v1_response.py @@ -18,19 +18,18 @@ import re # noqa: F401 import json -from pydantic import BaseModel, ConfigDict, Field -from typing import Any, ClassVar, Dict, List, Optional +from pydantic import ConfigDict +from typing import Any, ClassVar, Dict, List +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 UsergroupdelegationEditObjectV1Response(BaseModel): +class UsergroupdelegationEditObjectV1Response(CommonResponse): """ 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 b1da051b..92492221 100644 --- a/eZmaxApi/models/usergroupdelegation_get_object_v2_response.py +++ b/eZmaxApi/models/usergroupdelegation_get_object_v2_response.py @@ -18,20 +18,19 @@ import re # noqa: F401 import json -from pydantic import BaseModel, ConfigDict, Field -from typing import Any, ClassVar, Dict, List, Optional +from pydantic import ConfigDict, Field +from typing import Any, ClassVar, Dict, List +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.usergroupdelegation_get_object_v2_response_m_payload import UsergroupdelegationGetObjectV2ResponseMPayload from typing import Optional, Set from typing_extensions import Self -class UsergroupdelegationGetObjectV2Response(BaseModel): +class UsergroupdelegationGetObjectV2Response(CommonResponse): """ 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 893db2dd..d437ddf6 100644 --- a/eZmaxApi/models/usergroupdelegation_request.py +++ b/eZmaxApi/models/usergroupdelegation_request.py @@ -75,19 +75,7 @@ def to_dict(self) -> Dict[str, Any]: return _dict @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + def from_dict(cls, obj: 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 d0f9ec4c..56dc2dee 100644 --- a/eZmaxApi/models/usergroupdelegation_request_compound.py +++ b/eZmaxApi/models/usergroupdelegation_request_compound.py @@ -18,19 +18,16 @@ import re # noqa: F401 import json -from pydantic import BaseModel, ConfigDict, Field -from typing import Any, ClassVar, Dict, List, Optional -from typing_extensions import Annotated +from pydantic import ConfigDict +from typing import Any, ClassVar, Dict, List +from eZmaxApi.models.usergroupdelegation_request import UsergroupdelegationRequest from typing import Optional, Set from typing_extensions import Self -class UsergroupdelegationRequestCompound(BaseModel): +class UsergroupdelegationRequestCompound(UsergroupdelegationRequest): """ 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 d74edb13..793f69ec 100644 --- a/eZmaxApi/models/usergroupdelegation_response.py +++ b/eZmaxApi/models/usergroupdelegation_response.py @@ -104,24 +104,7 @@ def to_dict(self) -> Dict[str, Any]: return _dict @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + def from_dict(cls, obj: 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 e977512a..c334f414 100644 --- a/eZmaxApi/models/usergroupdelegation_response_compound.py +++ b/eZmaxApi/models/usergroupdelegation_response_compound.py @@ -18,50 +18,18 @@ import re # noqa: F401 import json -from pydantic import BaseModel, ConfigDict, Field, StrictStr, field_validator -from typing import Any, ClassVar, Dict, List, Optional -from typing_extensions import Annotated +from pydantic import ConfigDict +from typing import Any, ClassVar, Dict, List +from eZmaxApi.models.usergroupdelegation_response import UsergroupdelegationResponse from typing import Optional, Set from typing_extensions import Self -class UsergroupdelegationResponseCompound(BaseModel): +class UsergroupdelegationResponseCompound(UsergroupdelegationResponse): """ 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 cd36da2a..dc628aab 100644 --- a/eZmaxApi/models/usergroupexternal_create_object_v1_response.py +++ b/eZmaxApi/models/usergroupexternal_create_object_v1_response.py @@ -18,20 +18,19 @@ import re # noqa: F401 import json -from pydantic import BaseModel, ConfigDict, Field -from typing import Any, ClassVar, Dict, List, Optional +from pydantic import ConfigDict, Field +from typing import Any, ClassVar, Dict, List +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.usergroupexternal_create_object_v1_response_m_payload import UsergroupexternalCreateObjectV1ResponseMPayload from typing import Optional, Set from typing_extensions import Self -class UsergroupexternalCreateObjectV1Response(BaseModel): +class UsergroupexternalCreateObjectV1Response(CommonResponse): """ 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 b447b6c0..d201a666 100644 --- a/eZmaxApi/models/usergroupexternal_delete_object_v1_response.py +++ b/eZmaxApi/models/usergroupexternal_delete_object_v1_response.py @@ -18,19 +18,18 @@ import re # noqa: F401 import json -from pydantic import BaseModel, ConfigDict, Field -from typing import Any, ClassVar, Dict, List, Optional +from pydantic import ConfigDict +from typing import Any, ClassVar, Dict, List +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 UsergroupexternalDeleteObjectV1Response(BaseModel): +class UsergroupexternalDeleteObjectV1Response(CommonResponse): """ 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 9d51d8c2..161ad09b 100644 --- a/eZmaxApi/models/usergroupexternal_edit_object_v1_response.py +++ b/eZmaxApi/models/usergroupexternal_edit_object_v1_response.py @@ -18,19 +18,18 @@ import re # noqa: F401 import json -from pydantic import BaseModel, ConfigDict, Field -from typing import Any, ClassVar, Dict, List, Optional +from pydantic import ConfigDict +from typing import Any, ClassVar, Dict, List +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 UsergroupexternalEditObjectV1Response(BaseModel): +class UsergroupexternalEditObjectV1Response(CommonResponse): """ 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 14502219..e6c29113 100644 --- a/eZmaxApi/models/usergroupexternal_get_autocomplete_v2_response.py +++ b/eZmaxApi/models/usergroupexternal_get_autocomplete_v2_response.py @@ -18,20 +18,19 @@ import re # noqa: F401 import json -from pydantic import BaseModel, ConfigDict, Field -from typing import Any, ClassVar, Dict, List, Optional +from pydantic import ConfigDict, Field +from typing import Any, ClassVar, Dict, List +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.usergroupexternal_get_autocomplete_v2_response_m_payload import UsergroupexternalGetAutocompleteV2ResponseMPayload from typing import Optional, Set from typing_extensions import Self -class UsergroupexternalGetAutocompleteV2Response(BaseModel): +class UsergroupexternalGetAutocompleteV2Response(CommonResponse): """ 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 1e3092cd..f57d045d 100644 --- a/eZmaxApi/models/usergroupexternal_get_list_v1_response.py +++ b/eZmaxApi/models/usergroupexternal_get_list_v1_response.py @@ -18,20 +18,19 @@ import re # noqa: F401 import json -from pydantic import BaseModel, ConfigDict, Field -from typing import Any, ClassVar, Dict, List, Optional +from pydantic import ConfigDict, Field +from typing import Any, ClassVar, Dict, List +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 eZmaxApi.models.usergroupexternal_get_list_v1_response_m_payload import UsergroupexternalGetListV1ResponseMPayload from typing import Optional, Set from typing_extensions import Self -class UsergroupexternalGetListV1Response(BaseModel): +class UsergroupexternalGetListV1Response(CommonResponseGetList): """ 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 9837cb2f..3c9e9f24 100644 --- a/eZmaxApi/models/usergroupexternal_get_list_v1_response_m_payload.py +++ b/eZmaxApi/models/usergroupexternal_get_list_v1_response_m_payload.py @@ -18,18 +18,17 @@ import re # noqa: F401 import json -from pydantic import BaseModel, ConfigDict, Field, StrictInt +from pydantic import ConfigDict, Field 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(BaseModel): +class UsergroupexternalGetListV1ResponseMPayload(CommonGetListV1ResponseMPayload): """ 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 f9b0b7b6..2d2f451b 100644 --- a/eZmaxApi/models/usergroupexternal_get_object_v2_response.py +++ b/eZmaxApi/models/usergroupexternal_get_object_v2_response.py @@ -18,20 +18,19 @@ import re # noqa: F401 import json -from pydantic import BaseModel, ConfigDict, Field -from typing import Any, ClassVar, Dict, List, Optional +from pydantic import ConfigDict, Field +from typing import Any, ClassVar, Dict, List +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.usergroupexternal_get_object_v2_response_m_payload import UsergroupexternalGetObjectV2ResponseMPayload from typing import Optional, Set from typing_extensions import Self -class UsergroupexternalGetObjectV2Response(BaseModel): +class UsergroupexternalGetObjectV2Response(CommonResponse): """ 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 4b77cd47..dccb9866 100644 --- a/eZmaxApi/models/usergroupexternal_get_usergroupexternalmemberships_v1_response.py +++ b/eZmaxApi/models/usergroupexternal_get_usergroupexternalmemberships_v1_response.py @@ -18,20 +18,19 @@ import re # noqa: F401 import json -from pydantic import BaseModel, ConfigDict, Field -from typing import Any, ClassVar, Dict, List, Optional +from pydantic import ConfigDict, Field +from typing import Any, ClassVar, Dict, List +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.usergroupexternal_get_usergroupexternalmemberships_v1_response_m_payload import UsergroupexternalGetUsergroupexternalmembershipsV1ResponseMPayload from typing import Optional, Set from typing_extensions import Self -class UsergroupexternalGetUsergroupexternalmembershipsV1Response(BaseModel): +class UsergroupexternalGetUsergroupexternalmembershipsV1Response(CommonResponse): """ 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 137a8206..f79564ce 100644 --- a/eZmaxApi/models/usergroupexternal_get_usergroups_v1_response.py +++ b/eZmaxApi/models/usergroupexternal_get_usergroups_v1_response.py @@ -18,20 +18,19 @@ import re # noqa: F401 import json -from pydantic import BaseModel, ConfigDict, Field -from typing import Any, ClassVar, Dict, List, Optional +from pydantic import ConfigDict, Field +from typing import Any, ClassVar, Dict, List +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.usergroupexternal_get_usergroups_v1_response_m_payload import UsergroupexternalGetUsergroupsV1ResponseMPayload from typing import Optional, Set from typing_extensions import Self -class UsergroupexternalGetUsergroupsV1Response(BaseModel): +class UsergroupexternalGetUsergroupsV1Response(CommonResponse): """ 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 744281a6..6e1175e3 100644 --- a/eZmaxApi/models/usergroupexternal_request.py +++ b/eZmaxApi/models/usergroupexternal_request.py @@ -89,19 +89,7 @@ def to_dict(self) -> Dict[str, Any]: return _dict @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + def from_dict(cls, obj: 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 8f7ce4fa..e6ee7c63 100644 --- a/eZmaxApi/models/usergroupexternal_request_compound.py +++ b/eZmaxApi/models/usergroupexternal_request_compound.py @@ -18,35 +18,18 @@ import re # noqa: F401 import json -from pydantic import BaseModel, ConfigDict, Field, field_validator -from typing import Any, ClassVar, Dict, List, Optional -from typing_extensions import Annotated +from pydantic import ConfigDict +from typing import Any, ClassVar, Dict, List +from eZmaxApi.models.usergroupexternal_request import UsergroupexternalRequest from typing import Optional, Set from typing_extensions import Self -class UsergroupexternalRequestCompound(BaseModel): +class UsergroupexternalRequestCompound(UsergroupexternalRequest): """ 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 0d129f09..1056a29c 100644 --- a/eZmaxApi/models/usergroupexternal_response.py +++ b/eZmaxApi/models/usergroupexternal_response.py @@ -89,19 +89,7 @@ def to_dict(self) -> Dict[str, Any]: return _dict @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + def from_dict(cls, obj: 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 8410df72..f9dcb935 100644 --- a/eZmaxApi/models/usergroupexternal_response_compound.py +++ b/eZmaxApi/models/usergroupexternal_response_compound.py @@ -18,35 +18,18 @@ import re # noqa: F401 import json -from pydantic import BaseModel, ConfigDict, Field, field_validator +from pydantic import ConfigDict from typing import Any, ClassVar, Dict, List -from typing_extensions import Annotated +from eZmaxApi.models.usergroupexternal_response import UsergroupexternalResponse from typing import Optional, Set from typing_extensions import Self -class UsergroupexternalResponseCompound(BaseModel): +class UsergroupexternalResponseCompound(UsergroupexternalResponse): """ 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 fdfddc83..4efcbcce 100644 --- a/eZmaxApi/models/usergroupexternalmembership_response.py +++ b/eZmaxApi/models/usergroupexternalmembership_response.py @@ -101,24 +101,7 @@ def to_dict(self) -> Dict[str, Any]: return _dict @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + def from_dict(cls, obj: 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 a477f836..f4c07d37 100644 --- a/eZmaxApi/models/usergroupexternalmembership_response_compound.py +++ b/eZmaxApi/models/usergroupexternalmembership_response_compound.py @@ -18,47 +18,18 @@ import re # noqa: F401 import json -from pydantic import BaseModel, ConfigDict, Field, StrictStr, field_validator +from pydantic import ConfigDict from typing import Any, ClassVar, Dict, List -from typing_extensions import Annotated +from eZmaxApi.models.usergroupexternalmembership_response import UsergroupexternalmembershipResponse from typing import Optional, Set from typing_extensions import Self -class UsergroupexternalmembershipResponseCompound(BaseModel): +class UsergroupexternalmembershipResponseCompound(UsergroupexternalmembershipResponse): """ 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 ca9d1c66..1cf5a6a1 100644 --- a/eZmaxApi/models/usergroupmembership_create_object_v1_response.py +++ b/eZmaxApi/models/usergroupmembership_create_object_v1_response.py @@ -18,20 +18,19 @@ import re # noqa: F401 import json -from pydantic import BaseModel, ConfigDict, Field -from typing import Any, ClassVar, Dict, List, Optional +from pydantic import ConfigDict, Field +from typing import Any, ClassVar, Dict, List +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.usergroupmembership_create_object_v1_response_m_payload import UsergroupmembershipCreateObjectV1ResponseMPayload from typing import Optional, Set from typing_extensions import Self -class UsergroupmembershipCreateObjectV1Response(BaseModel): +class UsergroupmembershipCreateObjectV1Response(CommonResponse): """ 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 6caa6393..a1b357d0 100644 --- a/eZmaxApi/models/usergroupmembership_delete_object_v1_response.py +++ b/eZmaxApi/models/usergroupmembership_delete_object_v1_response.py @@ -18,19 +18,18 @@ import re # noqa: F401 import json -from pydantic import BaseModel, ConfigDict, Field -from typing import Any, ClassVar, Dict, List, Optional +from pydantic import ConfigDict +from typing import Any, ClassVar, Dict, List +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 UsergroupmembershipDeleteObjectV1Response(BaseModel): +class UsergroupmembershipDeleteObjectV1Response(CommonResponse): """ 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 41526bf1..173568b2 100644 --- a/eZmaxApi/models/usergroupmembership_edit_object_v1_response.py +++ b/eZmaxApi/models/usergroupmembership_edit_object_v1_response.py @@ -18,19 +18,18 @@ import re # noqa: F401 import json -from pydantic import BaseModel, ConfigDict, Field -from typing import Any, ClassVar, Dict, List, Optional +from pydantic import ConfigDict +from typing import Any, ClassVar, Dict, List +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 UsergroupmembershipEditObjectV1Response(BaseModel): +class UsergroupmembershipEditObjectV1Response(CommonResponse): """ 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 34c0d59a..74835c54 100644 --- a/eZmaxApi/models/usergroupmembership_get_object_v2_response.py +++ b/eZmaxApi/models/usergroupmembership_get_object_v2_response.py @@ -18,20 +18,19 @@ import re # noqa: F401 import json -from pydantic import BaseModel, ConfigDict, Field -from typing import Any, ClassVar, Dict, List, Optional +from pydantic import ConfigDict, Field +from typing import Any, ClassVar, Dict, List +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.usergroupmembership_get_object_v2_response_m_payload import UsergroupmembershipGetObjectV2ResponseMPayload from typing import Optional, Set from typing_extensions import Self -class UsergroupmembershipGetObjectV2Response(BaseModel): +class UsergroupmembershipGetObjectV2Response(CommonResponse): """ 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 99cab45e..05a25fe5 100644 --- a/eZmaxApi/models/usergroupmembership_request.py +++ b/eZmaxApi/models/usergroupmembership_request.py @@ -76,20 +76,7 @@ def to_dict(self) -> Dict[str, Any]: return _dict @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + def from_dict(cls, obj: 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 b31ab920..f97a7805 100644 --- a/eZmaxApi/models/usergroupmembership_request_compound.py +++ b/eZmaxApi/models/usergroupmembership_request_compound.py @@ -18,20 +18,16 @@ import re # noqa: F401 import json -from pydantic import BaseModel, ConfigDict, Field -from typing import Any, ClassVar, Dict, List, Optional -from typing_extensions import Annotated +from pydantic import ConfigDict +from typing import Any, ClassVar, Dict, List +from eZmaxApi.models.usergroupmembership_request import UsergroupmembershipRequest from typing import Optional, Set from typing_extensions import Self -class UsergroupmembershipRequestCompound(BaseModel): +class UsergroupmembershipRequestCompound(UsergroupmembershipRequest): """ 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 24d01e55..e4b7ad33 100644 --- a/eZmaxApi/models/usergroupmembership_response.py +++ b/eZmaxApi/models/usergroupmembership_response.py @@ -119,26 +119,7 @@ def to_dict(self) -> Dict[str, Any]: return _dict @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + def from_dict(cls, obj: 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 b926cb92..c7e61d30 100644 --- a/eZmaxApi/models/usergroupmembership_response_compound.py +++ b/eZmaxApi/models/usergroupmembership_response_compound.py @@ -18,65 +18,18 @@ import re # noqa: F401 import json -from pydantic import BaseModel, ConfigDict, Field, StrictStr, field_validator -from typing import Any, ClassVar, Dict, List, Optional -from typing_extensions import Annotated +from pydantic import ConfigDict +from typing import Any, ClassVar, Dict, List +from eZmaxApi.models.usergroupmembership_response import UsergroupmembershipResponse from typing import Optional, Set from typing_extensions import Self -class UsergroupmembershipResponseCompound(BaseModel): +class UsergroupmembershipResponseCompound(UsergroupmembershipResponse): """ 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 06519522..ffead362 100644 --- a/eZmaxApi/models/userlogintype_get_autocomplete_v2_response.py +++ b/eZmaxApi/models/userlogintype_get_autocomplete_v2_response.py @@ -18,20 +18,19 @@ import re # noqa: F401 import json -from pydantic import BaseModel, ConfigDict, Field -from typing import Any, ClassVar, Dict, List, Optional +from pydantic import ConfigDict, Field +from typing import Any, ClassVar, Dict, List +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.userlogintype_get_autocomplete_v2_response_m_payload import UserlogintypeGetAutocompleteV2ResponseMPayload from typing import Optional, Set from typing_extensions import Self -class UserlogintypeGetAutocompleteV2Response(BaseModel): +class UserlogintypeGetAutocompleteV2Response(CommonResponse): """ 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 d6698345..f4c03621 100644 --- a/eZmaxApi/models/userstaged_create_user_v1_response.py +++ b/eZmaxApi/models/userstaged_create_user_v1_response.py @@ -18,20 +18,19 @@ import re # noqa: F401 import json -from pydantic import BaseModel, ConfigDict, Field -from typing import Any, ClassVar, Dict, List, Optional +from pydantic import ConfigDict, Field +from typing import Any, ClassVar, Dict, List +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.userstaged_create_user_v1_response_m_payload import UserstagedCreateUserV1ResponseMPayload from typing import Optional, Set from typing_extensions import Self -class UserstagedCreateUserV1Response(BaseModel): +class UserstagedCreateUserV1Response(CommonResponse): """ 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 7245eba8..e990ebbb 100644 --- a/eZmaxApi/models/userstaged_delete_object_v1_response.py +++ b/eZmaxApi/models/userstaged_delete_object_v1_response.py @@ -18,19 +18,18 @@ import re # noqa: F401 import json -from pydantic import BaseModel, ConfigDict, Field -from typing import Any, ClassVar, Dict, List, Optional +from pydantic import ConfigDict +from typing import Any, ClassVar, Dict, List +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 UserstagedDeleteObjectV1Response(BaseModel): +class UserstagedDeleteObjectV1Response(CommonResponse): """ 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 33df47c6..c5f09a22 100644 --- a/eZmaxApi/models/userstaged_get_list_v1_response.py +++ b/eZmaxApi/models/userstaged_get_list_v1_response.py @@ -18,20 +18,19 @@ import re # noqa: F401 import json -from pydantic import BaseModel, ConfigDict, Field -from typing import Any, ClassVar, Dict, List, Optional +from pydantic import ConfigDict, Field +from typing import Any, ClassVar, Dict, List +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 eZmaxApi.models.userstaged_get_list_v1_response_m_payload import UserstagedGetListV1ResponseMPayload from typing import Optional, Set from typing_extensions import Self -class UserstagedGetListV1Response(BaseModel): +class UserstagedGetListV1Response(CommonResponseGetList): """ 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 ba840c63..c39a37fb 100644 --- a/eZmaxApi/models/userstaged_get_list_v1_response_m_payload.py +++ b/eZmaxApi/models/userstaged_get_list_v1_response_m_payload.py @@ -18,18 +18,17 @@ import re # noqa: F401 import json -from pydantic import BaseModel, ConfigDict, Field, StrictInt +from pydantic import ConfigDict, Field 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(BaseModel): +class UserstagedGetListV1ResponseMPayload(CommonGetListV1ResponseMPayload): """ 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 84d01cc8..fc337471 100644 --- a/eZmaxApi/models/userstaged_get_object_v2_response.py +++ b/eZmaxApi/models/userstaged_get_object_v2_response.py @@ -18,20 +18,19 @@ import re # noqa: F401 import json -from pydantic import BaseModel, ConfigDict, Field -from typing import Any, ClassVar, Dict, List, Optional +from pydantic import ConfigDict, Field +from typing import Any, ClassVar, Dict, List +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.userstaged_get_object_v2_response_m_payload import UserstagedGetObjectV2ResponseMPayload from typing import Optional, Set from typing_extensions import Self -class UserstagedGetObjectV2Response(BaseModel): +class UserstagedGetObjectV2Response(CommonResponse): """ 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_map_v1_response.py b/eZmaxApi/models/userstaged_map_v1_response.py index 0c5d5cf4..060cbee5 100644 --- a/eZmaxApi/models/userstaged_map_v1_response.py +++ b/eZmaxApi/models/userstaged_map_v1_response.py @@ -18,19 +18,18 @@ import re # noqa: F401 import json -from pydantic import BaseModel, ConfigDict, Field -from typing import Any, ClassVar, Dict, List, Optional +from pydantic import ConfigDict +from typing import Any, ClassVar, Dict, List +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 UserstagedMapV1Response(BaseModel): +class UserstagedMapV1Response(CommonResponse): """ 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 ac8c9e98..f0d6bd18 100644 --- a/eZmaxApi/models/variableexpense_create_object_v1_response.py +++ b/eZmaxApi/models/variableexpense_create_object_v1_response.py @@ -18,20 +18,19 @@ import re # noqa: F401 import json -from pydantic import BaseModel, ConfigDict, Field -from typing import Any, ClassVar, Dict, List, Optional +from pydantic import ConfigDict, Field +from typing import Any, ClassVar, Dict, List +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.variableexpense_create_object_v1_response_m_payload import VariableexpenseCreateObjectV1ResponseMPayload from typing import Optional, Set from typing_extensions import Self -class VariableexpenseCreateObjectV1Response(BaseModel): +class VariableexpenseCreateObjectV1Response(CommonResponse): """ 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 16b47ed1..8417c305 100644 --- a/eZmaxApi/models/variableexpense_edit_object_v1_response.py +++ b/eZmaxApi/models/variableexpense_edit_object_v1_response.py @@ -18,19 +18,18 @@ import re # noqa: F401 import json -from pydantic import BaseModel, ConfigDict, Field -from typing import Any, ClassVar, Dict, List, Optional +from pydantic import ConfigDict +from typing import Any, ClassVar, Dict, List +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 VariableexpenseEditObjectV1Response(BaseModel): +class VariableexpenseEditObjectV1Response(CommonResponse): """ 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 44050edd..de4402b0 100644 --- a/eZmaxApi/models/variableexpense_get_autocomplete_v2_response.py +++ b/eZmaxApi/models/variableexpense_get_autocomplete_v2_response.py @@ -18,20 +18,19 @@ import re # noqa: F401 import json -from pydantic import BaseModel, ConfigDict, Field -from typing import Any, ClassVar, Dict, List, Optional +from pydantic import ConfigDict, Field +from typing import Any, ClassVar, Dict, List +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.variableexpense_get_autocomplete_v2_response_m_payload import VariableexpenseGetAutocompleteV2ResponseMPayload from typing import Optional, Set from typing_extensions import Self -class VariableexpenseGetAutocompleteV2Response(BaseModel): +class VariableexpenseGetAutocompleteV2Response(CommonResponse): """ 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 753b0f74..d3302df2 100644 --- a/eZmaxApi/models/variableexpense_get_list_v1_response.py +++ b/eZmaxApi/models/variableexpense_get_list_v1_response.py @@ -18,20 +18,19 @@ import re # noqa: F401 import json -from pydantic import BaseModel, ConfigDict, Field -from typing import Any, ClassVar, Dict, List, Optional +from pydantic import ConfigDict, Field +from typing import Any, ClassVar, Dict, List +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 eZmaxApi.models.variableexpense_get_list_v1_response_m_payload import VariableexpenseGetListV1ResponseMPayload from typing import Optional, Set from typing_extensions import Self -class VariableexpenseGetListV1Response(BaseModel): +class VariableexpenseGetListV1Response(CommonResponseGetList): """ 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 a929d902..be0c1b56 100644 --- a/eZmaxApi/models/variableexpense_get_list_v1_response_m_payload.py +++ b/eZmaxApi/models/variableexpense_get_list_v1_response_m_payload.py @@ -18,18 +18,17 @@ import re # noqa: F401 import json -from pydantic import BaseModel, ConfigDict, Field, StrictInt +from pydantic import ConfigDict, Field 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(BaseModel): +class VariableexpenseGetListV1ResponseMPayload(CommonGetListV1ResponseMPayload): """ 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 68dc68b8..78f3a977 100644 --- a/eZmaxApi/models/variableexpense_get_object_v2_response.py +++ b/eZmaxApi/models/variableexpense_get_object_v2_response.py @@ -18,20 +18,19 @@ import re # noqa: F401 import json -from pydantic import BaseModel, ConfigDict, Field -from typing import Any, ClassVar, Dict, List, Optional +from pydantic import ConfigDict, Field +from typing import Any, ClassVar, Dict, List +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.variableexpense_get_object_v2_response_m_payload import VariableexpenseGetObjectV2ResponseMPayload from typing import Optional, Set from typing_extensions import Self -class VariableexpenseGetObjectV2Response(BaseModel): +class VariableexpenseGetObjectV2Response(CommonResponse): """ 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 e82cc513..b1f7ea11 100644 --- a/eZmaxApi/models/variableexpense_request.py +++ b/eZmaxApi/models/variableexpense_request.py @@ -89,21 +89,7 @@ def to_dict(self) -> Dict[str, Any]: return _dict @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + def from_dict(cls, obj: 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 6cb38373..e4f63dd5 100644 --- a/eZmaxApi/models/variableexpense_request_compound.py +++ b/eZmaxApi/models/variableexpense_request_compound.py @@ -18,32 +18,20 @@ import re # noqa: F401 import json -from pydantic import BaseModel, ConfigDict, Field, StrictBool, field_validator -from typing import Any, ClassVar, Dict, List, Optional -from typing_extensions import Annotated +from pydantic import ConfigDict +from typing import Any, ClassVar, Dict, List 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(BaseModel): +class VariableexpenseRequestCompound(VariableexpenseRequest): """ 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 69239bff..56b2e5b7 100644 --- a/eZmaxApi/models/variableexpense_response.py +++ b/eZmaxApi/models/variableexpense_response.py @@ -92,21 +92,7 @@ def to_dict(self) -> Dict[str, Any]: return _dict @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + def from_dict(cls, obj: 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 a38858b4..2d7fd78d 100644 --- a/eZmaxApi/models/variableexpense_response_compound.py +++ b/eZmaxApi/models/variableexpense_response_compound.py @@ -18,35 +18,20 @@ import re # noqa: F401 import json -from pydantic import BaseModel, ConfigDict, Field, StrictBool, field_validator -from typing import Any, ClassVar, Dict, List, Optional -from typing_extensions import Annotated +from pydantic import ConfigDict +from typing import Any, ClassVar, Dict, List 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(BaseModel): +class VariableexpenseResponseCompound(VariableexpenseResponse): """ 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 935db32a..870850d0 100644 --- a/eZmaxApi/models/versionhistory_get_object_v2_response.py +++ b/eZmaxApi/models/versionhistory_get_object_v2_response.py @@ -18,20 +18,19 @@ import re # noqa: F401 import json -from pydantic import BaseModel, ConfigDict, Field -from typing import Any, ClassVar, Dict, List, Optional +from pydantic import ConfigDict, Field +from typing import Any, ClassVar, Dict, List +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.versionhistory_get_object_v2_response_m_payload import VersionhistoryGetObjectV2ResponseMPayload from typing import Optional, Set from typing_extensions import Self -class VersionhistoryGetObjectV2Response(BaseModel): +class VersionhistoryGetObjectV2Response(CommonResponse): """ 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 4060edbf..cde0fff9 100644 --- a/eZmaxApi/models/versionhistory_response.py +++ b/eZmaxApi/models/versionhistory_response.py @@ -89,27 +89,7 @@ def to_dict(self) -> Dict[str, Any]: return _dict @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + def from_dict(cls, obj: 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 618ba814..c91586a3 100644 --- a/eZmaxApi/models/versionhistory_response_compound.py +++ b/eZmaxApi/models/versionhistory_response_compound.py @@ -18,30 +18,19 @@ import re # noqa: F401 import json -from pydantic import BaseModel, ConfigDict, Field, StrictBool, StrictStr -from typing import Any, ClassVar, Dict, List, Optional -from typing_extensions import Annotated +from pydantic import ConfigDict +from typing import Any, ClassVar, Dict, List 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(BaseModel): +class VersionhistoryResponseCompound(VersionhistoryResponse): """ 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 23fda264..b7a75ed0 100644 --- a/eZmaxApi/models/webhook_create_object_v2_response.py +++ b/eZmaxApi/models/webhook_create_object_v2_response.py @@ -18,20 +18,19 @@ import re # noqa: F401 import json -from pydantic import BaseModel, ConfigDict, Field -from typing import Any, ClassVar, Dict, List, Optional +from pydantic import ConfigDict, Field +from typing import Any, ClassVar, Dict, List +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.webhook_create_object_v2_response_m_payload import WebhookCreateObjectV2ResponseMPayload from typing import Optional, Set from typing_extensions import Self -class WebhookCreateObjectV2Response(BaseModel): +class WebhookCreateObjectV2Response(CommonResponse): """ 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 89d6c16b..9181a23a 100644 --- a/eZmaxApi/models/webhook_delete_object_v1_response.py +++ b/eZmaxApi/models/webhook_delete_object_v1_response.py @@ -18,19 +18,18 @@ import re # noqa: F401 import json -from pydantic import BaseModel, ConfigDict, Field -from typing import Any, ClassVar, Dict, List, Optional +from pydantic import ConfigDict +from typing import Any, ClassVar, Dict, List +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 WebhookDeleteObjectV1Response(BaseModel): +class WebhookDeleteObjectV1Response(CommonResponse): """ 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 aad6b4fe..2af45e38 100644 --- a/eZmaxApi/models/webhook_edit_object_v1_response.py +++ b/eZmaxApi/models/webhook_edit_object_v1_response.py @@ -18,19 +18,18 @@ import re # noqa: F401 import json -from pydantic import BaseModel, ConfigDict, Field -from typing import Any, ClassVar, Dict, List, Optional +from pydantic import ConfigDict +from typing import Any, ClassVar, Dict, List +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 WebhookEditObjectV1Response(BaseModel): +class WebhookEditObjectV1Response(CommonResponse): """ 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 f4715b8c..c2f62df6 100644 --- a/eZmaxApi/models/webhook_ezsign_document_completed.py +++ b/eZmaxApi/models/webhook_ezsign_document_completed.py @@ -18,20 +18,19 @@ import re # noqa: F401 import json -from pydantic import BaseModel, ConfigDict, Field +from pydantic import 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.custom_webhook_response import CustomWebhookResponse from eZmaxApi.models.ezsigndocument_response import EzsigndocumentResponse from typing import Optional, Set from typing_extensions import Self -class WebhookEzsignDocumentCompleted(BaseModel): +class WebhookEzsignDocumentCompleted(CommonWebhook): """ 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") obj_ezsigndocument: EzsigndocumentResponse = Field(alias="objEzsigndocument") __properties: ClassVar[List[str]] = ["objWebhook", "a_objAttempt", "objEzsigndocument"] diff --git a/eZmaxApi/models/webhook_ezsign_document_form_completed.py b/eZmaxApi/models/webhook_ezsign_document_form_completed.py index ef130f89..45def720 100644 --- a/eZmaxApi/models/webhook_ezsign_document_form_completed.py +++ b/eZmaxApi/models/webhook_ezsign_document_form_completed.py @@ -18,20 +18,19 @@ import re # noqa: F401 import json -from pydantic import BaseModel, ConfigDict, Field +from pydantic import 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.custom_webhook_response import CustomWebhookResponse from eZmaxApi.models.ezsigndocument_response import EzsigndocumentResponse from typing import Optional, Set from typing_extensions import Self -class WebhookEzsignDocumentFormCompleted(BaseModel): +class WebhookEzsignDocumentFormCompleted(CommonWebhook): """ 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") obj_ezsigndocument: EzsigndocumentResponse = Field(alias="objEzsigndocument") __properties: ClassVar[List[str]] = ["objWebhook", "a_objAttempt", "objEzsigndocument"] diff --git a/eZmaxApi/models/webhook_ezsign_document_unsent.py b/eZmaxApi/models/webhook_ezsign_document_unsent.py index 8a8c0296..9388d799 100644 --- a/eZmaxApi/models/webhook_ezsign_document_unsent.py +++ b/eZmaxApi/models/webhook_ezsign_document_unsent.py @@ -18,20 +18,19 @@ import re # noqa: F401 import json -from pydantic import BaseModel, ConfigDict, Field +from pydantic import 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.custom_webhook_response import CustomWebhookResponse from eZmaxApi.models.ezsigndocument_response import EzsigndocumentResponse from typing import Optional, Set from typing_extensions import Self -class WebhookEzsignDocumentUnsent(BaseModel): +class WebhookEzsignDocumentUnsent(CommonWebhook): """ 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") obj_ezsigndocument: EzsigndocumentResponse = Field(alias="objEzsigndocument") __properties: ClassVar[List[str]] = ["objWebhook", "a_objAttempt", "objEzsigndocument"] diff --git a/eZmaxApi/models/webhook_ezsign_ezsignsigner_acceptclause.py b/eZmaxApi/models/webhook_ezsign_ezsignsigner_acceptclause.py index 0973984f..a90c577c 100644 --- a/eZmaxApi/models/webhook_ezsign_ezsignsigner_acceptclause.py +++ b/eZmaxApi/models/webhook_ezsign_ezsignsigner_acceptclause.py @@ -18,21 +18,20 @@ import re # noqa: F401 import json -from pydantic import BaseModel, ConfigDict, Field +from pydantic import 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.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(BaseModel): +class WebhookEzsignEzsignsignerAcceptclause(CommonWebhook): """ 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") obj_ezsignfolder: Optional[EzsignfolderResponse] = Field(default=None, alias="objEzsignfolder") obj_ezsignfoldersignerassociation: EzsignfoldersignerassociationResponseCompound = Field(alias="objEzsignfoldersignerassociation") __properties: ClassVar[List[str]] = ["objWebhook", "a_objAttempt", "objEzsignfolder", "objEzsignfoldersignerassociation"] diff --git a/eZmaxApi/models/webhook_ezsign_ezsignsigner_connect.py b/eZmaxApi/models/webhook_ezsign_ezsignsigner_connect.py index cc1a5289..bded9ded 100644 --- a/eZmaxApi/models/webhook_ezsign_ezsignsigner_connect.py +++ b/eZmaxApi/models/webhook_ezsign_ezsignsigner_connect.py @@ -18,21 +18,20 @@ import re # noqa: F401 import json -from pydantic import BaseModel, ConfigDict, Field +from pydantic import 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.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(BaseModel): +class WebhookEzsignEzsignsignerConnect(CommonWebhook): """ 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") obj_ezsignfolder: Optional[EzsignfolderResponse] = Field(default=None, alias="objEzsignfolder") obj_ezsignfoldersignerassociation: EzsignfoldersignerassociationResponseCompound = Field(alias="objEzsignfoldersignerassociation") __properties: ClassVar[List[str]] = ["objWebhook", "a_objAttempt", "objEzsignfolder", "objEzsignfoldersignerassociation"] diff --git a/eZmaxApi/models/webhook_ezsign_folder_completed.py b/eZmaxApi/models/webhook_ezsign_folder_completed.py index 97e2c453..89176af2 100644 --- a/eZmaxApi/models/webhook_ezsign_folder_completed.py +++ b/eZmaxApi/models/webhook_ezsign_folder_completed.py @@ -18,20 +18,19 @@ import re # noqa: F401 import json -from pydantic import BaseModel, ConfigDict, Field +from pydantic import 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.custom_webhook_response import CustomWebhookResponse from eZmaxApi.models.ezsignfolder_response import EzsignfolderResponse from typing import Optional, Set from typing_extensions import Self -class WebhookEzsignFolderCompleted(BaseModel): +class WebhookEzsignFolderCompleted(CommonWebhook): """ 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") obj_ezsignfolder: EzsignfolderResponse = Field(alias="objEzsignfolder") __properties: ClassVar[List[str]] = ["objWebhook", "a_objAttempt", "objEzsignfolder"] diff --git a/eZmaxApi/models/webhook_ezsign_folder_disposed.py b/eZmaxApi/models/webhook_ezsign_folder_disposed.py index d180cf67..0a4575e5 100644 --- a/eZmaxApi/models/webhook_ezsign_folder_disposed.py +++ b/eZmaxApi/models/webhook_ezsign_folder_disposed.py @@ -18,20 +18,19 @@ import re # noqa: F401 import json -from pydantic import BaseModel, ConfigDict, Field +from pydantic import 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.custom_webhook_response import CustomWebhookResponse from eZmaxApi.models.ezsignfolder_response import EzsignfolderResponse from typing import Optional, Set from typing_extensions import Self -class WebhookEzsignFolderDisposed(BaseModel): +class WebhookEzsignFolderDisposed(CommonWebhook): """ 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") obj_ezsignfolder: EzsignfolderResponse = Field(alias="objEzsignfolder") __properties: ClassVar[List[str]] = ["objWebhook", "a_objAttempt", "objEzsignfolder"] diff --git a/eZmaxApi/models/webhook_ezsign_folder_sent.py b/eZmaxApi/models/webhook_ezsign_folder_sent.py index 73ed61c0..2c82da8e 100644 --- a/eZmaxApi/models/webhook_ezsign_folder_sent.py +++ b/eZmaxApi/models/webhook_ezsign_folder_sent.py @@ -18,20 +18,19 @@ import re # noqa: F401 import json -from pydantic import BaseModel, ConfigDict, Field +from pydantic import 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.custom_webhook_response import CustomWebhookResponse from eZmaxApi.models.ezsignfolder_response import EzsignfolderResponse from typing import Optional, Set from typing_extensions import Self -class WebhookEzsignFolderSent(BaseModel): +class WebhookEzsignFolderSent(CommonWebhook): """ 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") obj_ezsignfolder: EzsignfolderResponse = Field(alias="objEzsignfolder") __properties: ClassVar[List[str]] = ["objWebhook", "a_objAttempt", "objEzsignfolder"] diff --git a/eZmaxApi/models/webhook_ezsign_folder_unsent.py b/eZmaxApi/models/webhook_ezsign_folder_unsent.py index cc50a5f4..579729bd 100644 --- a/eZmaxApi/models/webhook_ezsign_folder_unsent.py +++ b/eZmaxApi/models/webhook_ezsign_folder_unsent.py @@ -18,20 +18,19 @@ import re # noqa: F401 import json -from pydantic import BaseModel, ConfigDict, Field +from pydantic import 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.custom_webhook_response import CustomWebhookResponse from eZmaxApi.models.ezsignfolder_response import EzsignfolderResponse from typing import Optional, Set from typing_extensions import Self -class WebhookEzsignFolderUnsent(BaseModel): +class WebhookEzsignFolderUnsent(CommonWebhook): """ 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") obj_ezsignfolder: EzsignfolderResponse = Field(alias="objEzsignfolder") __properties: ClassVar[List[str]] = ["objWebhook", "a_objAttempt", "objEzsignfolder"] diff --git a/eZmaxApi/models/webhook_ezsign_signature_signed.py b/eZmaxApi/models/webhook_ezsign_signature_signed.py index 4f1bcadf..f9304584 100644 --- a/eZmaxApi/models/webhook_ezsign_signature_signed.py +++ b/eZmaxApi/models/webhook_ezsign_signature_signed.py @@ -18,20 +18,19 @@ import re # noqa: F401 import json -from pydantic import BaseModel, ConfigDict, Field +from pydantic import 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.custom_webhook_response import CustomWebhookResponse from eZmaxApi.models.ezsignsignature_response import EzsignsignatureResponse from typing import Optional, Set from typing_extensions import Self -class WebhookEzsignSignatureSigned(BaseModel): +class WebhookEzsignSignatureSigned(CommonWebhook): """ 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") obj_ezsignsignature: EzsignsignatureResponse = Field(alias="objEzsignsignature") __properties: ClassVar[List[str]] = ["objWebhook", "a_objAttempt", "objEzsignsignature"] diff --git a/eZmaxApi/models/webhook_get_history_v1_response.py b/eZmaxApi/models/webhook_get_history_v1_response.py index 40baab7e..fd498808 100644 --- a/eZmaxApi/models/webhook_get_history_v1_response.py +++ b/eZmaxApi/models/webhook_get_history_v1_response.py @@ -18,20 +18,19 @@ import re # noqa: F401 import json -from pydantic import BaseModel, ConfigDict, Field -from typing import Any, ClassVar, Dict, List, Optional +from pydantic import ConfigDict, Field +from typing import Any, ClassVar, Dict, List +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.webhook_get_history_v1_response_m_payload import WebhookGetHistoryV1ResponseMPayload from typing import Optional, Set from typing_extensions import Self -class WebhookGetHistoryV1Response(BaseModel): +class WebhookGetHistoryV1Response(CommonResponse): """ 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_list_v1_response.py b/eZmaxApi/models/webhook_get_list_v1_response.py index 29c649d2..ca199337 100644 --- a/eZmaxApi/models/webhook_get_list_v1_response.py +++ b/eZmaxApi/models/webhook_get_list_v1_response.py @@ -18,20 +18,19 @@ import re # noqa: F401 import json -from pydantic import BaseModel, ConfigDict, Field -from typing import Any, ClassVar, Dict, List, Optional +from pydantic import ConfigDict, Field +from typing import Any, ClassVar, Dict, List +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 eZmaxApi.models.webhook_get_list_v1_response_m_payload import WebhookGetListV1ResponseMPayload from typing import Optional, Set from typing_extensions import Self -class WebhookGetListV1Response(BaseModel): +class WebhookGetListV1Response(CommonResponseGetList): """ 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 2441da0a..d267e19f 100644 --- a/eZmaxApi/models/webhook_get_list_v1_response_m_payload.py +++ b/eZmaxApi/models/webhook_get_list_v1_response_m_payload.py @@ -18,18 +18,17 @@ import re # noqa: F401 import json -from pydantic import BaseModel, ConfigDict, Field, StrictInt +from pydantic import ConfigDict, Field 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(BaseModel): +class WebhookGetListV1ResponseMPayload(CommonGetListV1ResponseMPayload): """ 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 8d332513..b1ff078e 100644 --- a/eZmaxApi/models/webhook_get_object_v2_response.py +++ b/eZmaxApi/models/webhook_get_object_v2_response.py @@ -18,20 +18,19 @@ import re # noqa: F401 import json -from pydantic import BaseModel, ConfigDict, Field -from typing import Any, ClassVar, Dict, List, Optional +from pydantic import ConfigDict, Field +from typing import Any, ClassVar, Dict, List +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.webhook_get_object_v2_response_m_payload import WebhookGetObjectV2ResponseMPayload from typing import Optional, Set from typing_extensions import Self -class WebhookGetObjectV2Response(BaseModel): +class WebhookGetObjectV2Response(CommonResponse): """ 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 3a1aa420..db76890c 100644 --- a/eZmaxApi/models/webhook_regenerate_apikey_v1_response.py +++ b/eZmaxApi/models/webhook_regenerate_apikey_v1_response.py @@ -18,20 +18,19 @@ import re # noqa: F401 import json -from pydantic import BaseModel, ConfigDict, Field -from typing import Any, ClassVar, Dict, List, Optional +from pydantic import ConfigDict, Field +from typing import Any, ClassVar, Dict, List +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.webhook_regenerate_apikey_v1_response_m_payload import WebhookRegenerateApikeyV1ResponseMPayload from typing import Optional, Set from typing_extensions import Self -class WebhookRegenerateApikeyV1Response(BaseModel): +class WebhookRegenerateApikeyV1Response(CommonResponse): """ 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 d72a362f..c2c2d466 100644 --- a/eZmaxApi/models/webhook_request.py +++ b/eZmaxApi/models/webhook_request.py @@ -94,28 +94,7 @@ def to_dict(self) -> Dict[str, Any]: return _dict @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + def from_dict(cls, obj: 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 d61a1b94..a8eab76e 100644 --- a/eZmaxApi/models/webhook_request_compound.py +++ b/eZmaxApi/models/webhook_request_compound.py @@ -18,42 +18,23 @@ import re # noqa: F401 import json -from pydantic import BaseModel, ConfigDict, Field, StrictBool, StrictInt, StrictStr, field_validator +from pydantic import ConfigDict, Field 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(BaseModel): +class WebhookRequestCompound(WebhookRequest): """ 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 f688db3d..338592e4 100644 --- a/eZmaxApi/models/webhook_response.py +++ b/eZmaxApi/models/webhook_response.py @@ -113,33 +113,7 @@ def to_dict(self) -> Dict[str, Any]: return _dict @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + def from_dict(cls, obj: 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 876527ca..e896dddd 100644 --- a/eZmaxApi/models/webhook_response_compound.py +++ b/eZmaxApi/models/webhook_response_compound.py @@ -18,59 +18,25 @@ import re # noqa: F401 import json -from pydantic import BaseModel, ConfigDict, Field, StrictBool, StrictInt, StrictStr, field_validator +from pydantic import ConfigDict, Field, StrictStr 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(BaseModel): +class WebhookResponseCompound(WebhookResponse): """ 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, @@ -123,35 +89,7 @@ def to_dict(self) -> Dict[str, Any]: return _dict @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + def from_dict(cls, obj: 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 c193d6cd..bbe5e392 100644 --- a/eZmaxApi/models/webhook_send_webhook_v1_response.py +++ b/eZmaxApi/models/webhook_send_webhook_v1_response.py @@ -18,19 +18,18 @@ import re # noqa: F401 import json -from pydantic import BaseModel, ConfigDict, Field -from typing import Any, ClassVar, Dict, List, Optional +from pydantic import ConfigDict +from typing import Any, ClassVar, Dict, List +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 WebhookSendWebhookV1Response(BaseModel): +class WebhookSendWebhookV1Response(CommonResponse): """ 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 d42cb53a..dd3ad09d 100644 --- a/eZmaxApi/models/webhook_test_v1_response.py +++ b/eZmaxApi/models/webhook_test_v1_response.py @@ -18,19 +18,18 @@ import re # noqa: F401 import json -from pydantic import BaseModel, ConfigDict, Field -from typing import Any, ClassVar, Dict, List, Optional +from pydantic import ConfigDict +from typing import Any, ClassVar, Dict, List +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 WebhookTestV1Response(BaseModel): +class WebhookTestV1Response(CommonResponse): """ 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 cd7caef4..dcc2658d 100644 --- a/eZmaxApi/models/webhook_user_user_created.py +++ b/eZmaxApi/models/webhook_user_user_created.py @@ -18,20 +18,19 @@ import re # noqa: F401 import json -from pydantic import BaseModel, ConfigDict, Field +from pydantic import 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.custom_webhook_response import CustomWebhookResponse from eZmaxApi.models.user_response import UserResponse from typing import Optional, Set from typing_extensions import Self -class WebhookUserUserCreated(BaseModel): +class WebhookUserUserCreated(CommonWebhook): """ 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") obj_user: UserResponse = Field(description="A User Object and children to create a complete structure", alias="objUser") __properties: ClassVar[List[str]] = ["objWebhook", "a_objAttempt", "objUser"] diff --git a/eZmaxApi/models/webhook_userstaged_userstaged_created.py b/eZmaxApi/models/webhook_userstaged_userstaged_created.py index ca381325..2861d4c3 100644 --- a/eZmaxApi/models/webhook_userstaged_userstaged_created.py +++ b/eZmaxApi/models/webhook_userstaged_userstaged_created.py @@ -18,20 +18,19 @@ import re # noqa: F401 import json -from pydantic import BaseModel, ConfigDict, Field +from pydantic import 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.custom_webhook_response import CustomWebhookResponse from eZmaxApi.models.userstaged_response import UserstagedResponse from typing import Optional, Set from typing_extensions import Self -class WebhookUserstagedUserstagedCreated(BaseModel): +class WebhookUserstagedUserstagedCreated(CommonWebhook): """ 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") obj_userstaged: UserstagedResponse = Field(description="A Userstaged Object", alias="objUserstaged") __properties: ClassVar[List[str]] = ["objWebhook", "a_objAttempt", "objUserstaged"] diff --git a/eZmaxApi/models/webhookheader_request.py b/eZmaxApi/models/webhookheader_request.py index cc1a7bf0..09650daf 100644 --- a/eZmaxApi/models/webhookheader_request.py +++ b/eZmaxApi/models/webhookheader_request.py @@ -89,19 +89,7 @@ def to_dict(self) -> Dict[str, Any]: return _dict @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + def from_dict(cls, obj: 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 80d8bd7d..eca68250 100644 --- a/eZmaxApi/models/webhookheader_request_compound.py +++ b/eZmaxApi/models/webhookheader_request_compound.py @@ -18,35 +18,18 @@ import re # noqa: F401 import json -from pydantic import BaseModel, ConfigDict, Field, StrictInt, field_validator -from typing import Any, ClassVar, Dict, List, Optional -from typing_extensions import Annotated +from pydantic import ConfigDict +from typing import Any, ClassVar, Dict, List +from eZmaxApi.models.webhookheader_request import WebhookheaderRequest from typing import Optional, Set from typing_extensions import Self -class WebhookheaderRequestCompound(BaseModel): +class WebhookheaderRequestCompound(WebhookheaderRequest): """ 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 5c2f7f4d..0afaf01c 100644 --- a/eZmaxApi/models/webhookheader_response.py +++ b/eZmaxApi/models/webhookheader_response.py @@ -90,20 +90,7 @@ def to_dict(self) -> Dict[str, Any]: return _dict @classmethod - def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: + def from_dict(cls, obj: 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 672beb02..47f9b968 100644 --- a/eZmaxApi/models/webhookheader_response_compound.py +++ b/eZmaxApi/models/webhookheader_response_compound.py @@ -18,36 +18,18 @@ import re # noqa: F401 import json -from pydantic import BaseModel, ConfigDict, Field, StrictInt, field_validator +from pydantic import ConfigDict from typing import Any, ClassVar, Dict, List -from typing_extensions import Annotated +from eZmaxApi.models.webhookheader_response import WebhookheaderResponse from typing import Optional, Set from typing_extensions import Self -class WebhookheaderResponseCompound(BaseModel): +class WebhookheaderResponseCompound(WebhookheaderResponse): """ 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/test/test_activesession_generate_federation_token_v1_response.py b/test/test_activesession_generate_federation_token_v1_response.py index e8ef5e5a..a8c8144e 100644 --- a/test/test_activesession_generate_federation_token_v1_response.py +++ b/test/test_activesession_generate_federation_token_v1_response.py @@ -36,15 +36,6 @@ 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\\{ ActivesessionGenerateFederationToke ) else: 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', ), 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\\{ ActivesessionGetCurrentV1Response: model = ActivesessionGetCurrentV1Response() if include_optional: return ActivesessionGetCurrentV1Response( - obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( - i_version_min = 1, - i_version_max = 2, - a_required_permission = [ - 117 - ], - b_version_deprecated = False, - dt_response_date = '2020-12-31 23:59:59', ), - obj_debug = {"sMemoryUsage":"11,923MB","sRunTime":"0.6084s","iSQLSelects":3,"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_response_compound.activesession-ResponseCompound() ) else: return ActivesessionGetCurrentV1Response( - obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( - i_version_min = 1, - i_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_response_compound.activesession-ResponseCompound(), ) """ 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 31c3b718..384bf970 100644 --- a/test/test_activesession_get_current_v1_response_m_payload.py +++ b/test/test_activesession_get_current_v1_response_m_payload.py @@ -36,95 +36,9 @@ 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 a056f40f..e08a1d9c 100644 --- a/test/test_activesession_get_current_v2_response.py +++ b/test/test_activesession_get_current_v2_response.py @@ -36,28 +36,11 @@ 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 a4c7a8f0..131beb2d 100644 --- a/test/test_activesession_get_list_v1_response.py +++ b/test/test_activesession_get_list_v1_response.py @@ -36,13 +36,10 @@ 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 d427622e..fc2eda4d 100644 --- a/test/test_activesession_get_list_v1_response_m_payload.py +++ b/test/test_activesession_get_list_v1_response_m_payload.py @@ -36,8 +36,6 @@ 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, @@ -56,8 +54,6 @@ 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 2d5f3f3a..1994fb79 100644 --- a/test/test_activesession_response_compound.py +++ b/test/test_activesession_response_compound.py @@ -36,25 +36,6 @@ 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', @@ -96,17 +77,6 @@ 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 64972404..5e27937c 100644 --- a/test/test_apikey_create_object_v2_response.py +++ b/test/test_apikey_create_object_v2_response.py @@ -36,15 +36,6 @@ 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() @@ -52,14 +43,6 @@ 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_response.py b/test/test_apikey_edit_object_v1_response.py index 83f99ce7..2211691e 100644 --- a/test/test_apikey_edit_object_v1_response.py +++ b/test/test_apikey_edit_object_v1_response.py @@ -36,26 +36,9 @@ 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 bfd6ad75..207672d5 100644 --- a/test/test_apikey_edit_permissions_v1_response.py +++ b/test/test_apikey_edit_permissions_v1_response.py @@ -36,15 +36,6 @@ 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 @@ -52,14 +43,6 @@ 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 b06aba2e..6af1846d 100644 --- a/test/test_apikey_generate_delegated_credentials_v1_response.py +++ b/test/test_apikey_generate_delegated_credentials_v1_response.py @@ -36,15 +36,6 @@ 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\\{ ApikeyGenerateDelegatedCredentialsV ) else: 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', ), 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\\{ 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() @@ -52,14 +43,6 @@ 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 a228f388..2282d34c 100644 --- a/test/test_apikey_get_list_v1_response.py +++ b/test/test_apikey_get_list_v1_response.py @@ -36,13 +36,10 @@ 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 23b89da0..aed55067 100644 --- a/test/test_apikey_get_list_v1_response_m_payload.py +++ b/test/test_apikey_get_list_v1_response_m_payload.py @@ -36,8 +36,6 @@ 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, @@ -50,8 +48,6 @@ 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 25896709..730a9c9f 100644 --- a/test/test_apikey_get_object_v2_response.py +++ b/test/test_apikey_get_object_v2_response.py @@ -36,28 +36,11 @@ 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_permissions_v1_response.py b/test/test_apikey_get_permissions_v1_response.py index 84619bc6..37a64be8 100644 --- a/test/test_apikey_get_permissions_v1_response.py +++ b/test/test_apikey_get_permissions_v1_response.py @@ -36,15 +36,6 @@ 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() @@ -52,14 +43,6 @@ 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 5bd04cd5..97b29f19 100644 --- a/test/test_apikey_get_subnets_v1_response.py +++ b/test/test_apikey_get_subnets_v1_response.py @@ -36,15 +36,6 @@ 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() @@ -52,14 +43,6 @@ 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 b4e1a5b6..e660b74b 100644 --- a/test/test_apikey_regenerate_v1_response.py +++ b/test/test_apikey_regenerate_v1_response.py @@ -36,28 +36,11 @@ 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_attachment_get_attachmentlogs_v1_response.py b/test/test_attachment_get_attachmentlogs_v1_response.py index 11917610..d3457d98 100644 --- a/test/test_attachment_get_attachmentlogs_v1_response.py +++ b/test/test_attachment_get_attachmentlogs_v1_response.py @@ -36,15 +36,6 @@ 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() @@ -52,14 +43,6 @@ 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 10a5d1ac..fc8b20e7 100644 --- a/test/test_attachment_response_compound.py +++ b/test/test_attachment_response_compound.py @@ -36,96 +36,9 @@ 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 f9fae3e7..3b789404 100644 --- a/test/test_attachmentlog_response_compound.py +++ b/test/test_attachmentlog_response_compound.py @@ -36,18 +36,9 @@ 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 e6b98f3e..f2e05ce5 100644 --- a/test/test_authenticationexternal_create_object_v1_response.py +++ b/test/test_authenticationexternal_create_object_v1_response.py @@ -36,15 +36,6 @@ 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 @@ -52,14 +43,6 @@ 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 51f9bee6..5ebd3fe0 100644 --- a/test/test_authenticationexternal_delete_object_v1_response.py +++ b/test/test_authenticationexternal_delete_object_v1_response.py @@ -36,26 +36,9 @@ 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 476fa28b..3ab683bb 100644 --- a/test/test_authenticationexternal_edit_object_v1_response.py +++ b/test/test_authenticationexternal_edit_object_v1_response.py @@ -36,26 +36,9 @@ 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 f6abeb49..9acfd6ba 100644 --- a/test/test_authenticationexternal_get_autocomplete_v2_response.py +++ b/test/test_authenticationexternal_get_autocomplete_v2_response.py @@ -36,15 +36,6 @@ 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( @@ -55,14 +46,6 @@ 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 cc8ebfd6..858fc0cd 100644 --- a/test/test_authenticationexternal_get_list_v1_response.py +++ b/test/test_authenticationexternal_get_list_v1_response.py @@ -36,13 +36,10 @@ 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 e0a5d2ac..dfbc9ce9 100644 --- a/test/test_authenticationexternal_get_list_v1_response_m_payload.py +++ b/test/test_authenticationexternal_get_list_v1_response_m_payload.py @@ -36,8 +36,6 @@ 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, @@ -48,8 +46,6 @@ 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 069d9f46..a8fe7cc5 100644 --- a/test/test_authenticationexternal_get_object_v2_response.py +++ b/test/test_authenticationexternal_get_object_v2_response.py @@ -36,28 +36,11 @@ 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 59d6b1b0..1816a7f0 100644 --- a/test/test_authenticationexternal_request_compound.py +++ b/test/test_authenticationexternal_request_compound.py @@ -36,14 +36,9 @@ 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 11f636b5..c083460e 100644 --- a/test/test_authenticationexternal_reset_authorization_v1_response.py +++ b/test/test_authenticationexternal_reset_authorization_v1_response.py @@ -36,26 +36,9 @@ 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 072d7796..50ad4a7c 100644 --- a/test/test_authenticationexternal_response_compound.py +++ b/test/test_authenticationexternal_response_compound.py @@ -36,51 +36,9 @@ 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 92a97241..f1f12603 100644 --- a/test/test_billingentityexternal_generate_federation_token_v1_response.py +++ b/test/test_billingentityexternal_generate_federation_token_v1_response.py @@ -36,15 +36,6 @@ 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\\{ BillingentityexternalGenerateFedera ) else: 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', ), 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\\{ 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( @@ -55,14 +46,6 @@ 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 7c353d48..aa50466e 100644 --- a/test/test_billingentityinternal_create_object_v1_response.py +++ b/test/test_billingentityinternal_create_object_v1_response.py @@ -36,15 +36,6 @@ 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 @@ -52,14 +43,6 @@ 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 2c868219..57296347 100644 --- a/test/test_billingentityinternal_edit_object_v1_response.py +++ b/test/test_billingentityinternal_edit_object_v1_response.py @@ -36,26 +36,9 @@ 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 f7815d47..9e2f64dc 100644 --- a/test/test_billingentityinternal_get_autocomplete_v2_response.py +++ b/test/test_billingentityinternal_get_autocomplete_v2_response.py @@ -36,15 +36,6 @@ 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( @@ -55,14 +46,6 @@ 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 16e2ab20..6f03abdf 100644 --- a/test/test_billingentityinternal_get_list_v1_response.py +++ b/test/test_billingentityinternal_get_list_v1_response.py @@ -36,13 +36,10 @@ 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 f5b2a520..c66f6ff2 100644 --- a/test/test_billingentityinternal_get_list_v1_response_m_payload.py +++ b/test/test_billingentityinternal_get_list_v1_response_m_payload.py @@ -36,8 +36,6 @@ 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, @@ -46,8 +44,6 @@ 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 b8c9b9a3..7a53ecc7 100644 --- a/test/test_billingentityinternal_get_object_v2_response.py +++ b/test/test_billingentityinternal_get_object_v2_response.py @@ -36,28 +36,11 @@ 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 fb395599..074315e8 100644 --- a/test/test_billingentityinternal_request_compound.py +++ b/test/test_billingentityinternal_request_compound.py @@ -36,19 +36,12 @@ 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 dc317cc8..91a23b20 100644 --- a/test/test_billingentityinternal_response_compound.py +++ b/test/test_billingentityinternal_response_compound.py @@ -36,20 +36,12 @@ 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 5d6ff2ce..31c162e1 100644 --- a/test/test_billingentityinternalproduct_request_compound.py +++ b/test/test_billingentityinternalproduct_request_compound.py @@ -36,14 +36,9 @@ 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 96fa8695..9256fa4e 100644 --- a/test/test_billingentityinternalproduct_response_compound.py +++ b/test/test_billingentityinternalproduct_response_compound.py @@ -36,23 +36,9 @@ 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 cf70caaa..4d4ddc54 100644 --- a/test/test_branding_create_object_v2_response.py +++ b/test/test_branding_create_object_v2_response.py @@ -36,15 +36,6 @@ 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 @@ -52,14 +43,6 @@ 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 edb49dd0..f42d33b3 100644 --- a/test/test_branding_edit_object_v2_response.py +++ b/test/test_branding_edit_object_v2_response.py @@ -36,26 +36,9 @@ 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 971af053..66b49a1a 100644 --- a/test/test_branding_get_autocomplete_v2_response.py +++ b/test/test_branding_get_autocomplete_v2_response.py @@ -36,15 +36,6 @@ 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( @@ -55,14 +46,6 @@ 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 2c0ee59a..9438a15d 100644 --- a/test/test_branding_get_list_v1_response.py +++ b/test/test_branding_get_list_v1_response.py @@ -36,13 +36,10 @@ 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 ebc9dc2b..0f28331d 100644 --- a/test/test_branding_get_list_v1_response_m_payload.py +++ b/test/test_branding_get_list_v1_response_m_payload.py @@ -36,8 +36,6 @@ 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, @@ -53,8 +51,6 @@ 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 652c227f..c08070a7 100644 --- a/test/test_branding_get_object_v3_response.py +++ b/test/test_branding_get_object_v3_response.py @@ -36,28 +36,11 @@ 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 734daf54..0841d0c3 100644 --- a/test/test_branding_request_compound_v2.py +++ b/test/test_branding_request_compound_v2.py @@ -36,26 +36,9 @@ 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_response_compound_v3.py b/test/test_branding_response_compound_v3.py index 8d3472e5..b9a5e4b5 100644 --- a/test/test_branding_response_compound_v3.py +++ b/test/test_branding_response_compound_v3.py @@ -36,33 +36,12 @@ 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 2f8d294f..29ea1f1e 100644 --- a/test/test_buyercontract_get_communication_count_v1_response.py +++ b/test/test_buyercontract_get_communication_count_v1_response.py @@ -36,28 +36,11 @@ 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 9439ef44..58288afc 100644 --- a/test/test_buyercontract_get_communication_list_v1_response.py +++ b/test/test_buyercontract_get_communication_list_v1_response.py @@ -36,8 +36,6 @@ 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( @@ -54,7 +52,6 @@ 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 7ea77b3b..6f95ef1e 100644 --- a/test/test_buyercontract_get_communicationrecipients_v1_response.py +++ b/test/test_buyercontract_get_communicationrecipients_v1_response.py @@ -36,15 +36,6 @@ 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( @@ -79,14 +70,6 @@ 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 8cd62082..717f07bc 100644 --- a/test/test_buyercontract_get_communicationsenders_v1_response.py +++ b/test/test_buyercontract_get_communicationsenders_v1_response.py @@ -36,15 +36,6 @@ 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( @@ -65,14 +56,6 @@ 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 621a9832..360dac41 100644 --- a/test/test_clonehistory_get_list_v1_response.py +++ b/test/test_clonehistory_get_list_v1_response.py @@ -36,13 +36,10 @@ 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 ba703d54..6130f479 100644 --- a/test/test_clonehistory_get_list_v1_response_m_payload.py +++ b/test/test_clonehistory_get_list_v1_response_m_payload.py @@ -36,8 +36,6 @@ 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, @@ -55,8 +53,6 @@ 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 545803c0..8ec33c43 100644 --- a/test/test_colleague_request_compound_v2.py +++ b/test/test_colleague_request_compound_v2.py @@ -36,34 +36,9 @@ 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 2d854807..f1fbab14 100644 --- a/test/test_colleague_response_compound_v2.py +++ b/test/test_colleague_response_compound_v2.py @@ -36,75 +36,9 @@ 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_get_report_v1_response.py b/test/test_common_get_report_v1_response.py index b5223590..93a0913b 100644 --- a/test/test_common_get_report_v1_response.py +++ b/test/test_common_get_report_v1_response.py @@ -36,15 +36,6 @@ 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 = [ @@ -109,14 +100,6 @@ 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 00041ec7..0fbbc61b 100644 --- a/test/test_common_response_error_creditcard_validation.py +++ b/test/test_common_response_error_creditcard_validation.py @@ -36,11 +36,6 @@ 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', @@ -50,8 +45,6 @@ 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 a2c73d33..aef0731c 100644 --- a/test/test_common_response_error_ezsignform_validation.py +++ b/test/test_common_response_error_ezsignform_validation.py @@ -36,19 +36,12 @@ 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 73797921..aeb92c30 100644 --- a/test/test_common_response_error_s_temporary_file_url.py +++ b/test/test_common_response_error_s_temporary_file_url.py @@ -36,17 +36,10 @@ 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 fcb0abac..fd470d18 100644 --- a/test/test_common_response_error_too_many_requests.py +++ b/test/test_common_response_error_too_many_requests.py @@ -36,16 +36,9 @@ 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 f435e13a..e0dd077d 100644 --- a/test/test_common_response_error_wrong_franchiseoffice.py +++ b/test/test_common_response_error_wrong_franchiseoffice.py @@ -36,11 +36,6 @@ 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, @@ -48,8 +43,6 @@ 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 ec587ed9..27a758eb 100644 --- a/test/test_common_response_obj_debug_payload_get_list.py +++ b/test/test_common_response_obj_debug_payload_get_list.py @@ -36,13 +36,6 @@ 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' : '' @@ -63,13 +56,6 @@ 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 ddbb3696..fc327498 100644 --- a/test/test_communication_request_compound.py +++ b/test/test_communication_request_compound.py @@ -36,21 +36,6 @@ 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(), @@ -72,9 +57,6 @@ 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(), diff --git a/test/test_communication_send_v1_response.py b/test/test_communication_send_v1_response.py index 9782364e..837ed1da 100644 --- a/test/test_communication_send_v1_response.py +++ b/test/test_communication_send_v1_response.py @@ -36,15 +36,6 @@ 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 @@ -52,14 +43,6 @@ 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 5dfeff8b..15efaeee 100644 --- a/test/test_communicationattachment_request_compound.py +++ b/test/test_communicationattachment_request_compound.py @@ -36,10 +36,6 @@ 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 6780b1c8..58200358 100644 --- a/test/test_communicationexternalrecipient_request_compound.py +++ b/test/test_communicationexternalrecipient_request_compound.py @@ -36,11 +36,6 @@ 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 c437e74f..d4f18218 100644 --- a/test/test_communicationrecipient_request_compound.py +++ b/test/test_communicationrecipient_request_compound.py @@ -36,21 +36,6 @@ 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 0fd8dae2..bad7e212 100644 --- a/test/test_company_get_autocomplete_v2_response.py +++ b/test/test_company_get_autocomplete_v2_response.py @@ -36,15 +36,6 @@ 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( @@ -55,14 +46,6 @@ 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 1f60e323..edb79688 100644 --- a/test/test_contact_request_compound.py +++ b/test/test_contact_request_compound.py @@ -36,21 +36,10 @@ 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 7da9161f..8a1dbf5f 100644 --- a/test/test_contact_request_compound_v2.py +++ b/test/test_contact_request_compound_v2.py @@ -36,25 +36,10 @@ 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 af79f3fb..088c78d1 100644 --- a/test/test_contact_response_compound.py +++ b/test/test_contact_response_compound.py @@ -36,31 +36,9 @@ 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 c2da08ee..80aed755 100644 --- a/test/test_contactinformations_request_compound.py +++ b/test/test_contactinformations_request_compound.py @@ -36,10 +36,6 @@ 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() ], @@ -55,10 +51,6 @@ 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 047ff334..7888160c 100644 --- a/test/test_contactinformations_request_compound_v2.py +++ b/test/test_contactinformations_request_compound_v2.py @@ -36,11 +36,6 @@ 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() ], @@ -56,11 +51,6 @@ 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_compound.py b/test/test_contactinformations_response_compound.py index 7514a900..d83d202e 100644 --- a/test/test_contactinformations_response_compound.py +++ b/test/test_contactinformations_response_compound.py @@ -36,36 +36,6 @@ 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.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_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', ), a_obj_address = [ eZmaxApi.models.address_response_compound.address-ResponseCompound() ], @@ -81,8 +51,6 @@ 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 aedc0b01..2a4dda40 100644 --- a/test/test_contacttitle_get_autocomplete_v2_response.py +++ b/test/test_contacttitle_get_autocomplete_v2_response.py @@ -36,15 +36,6 @@ 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( @@ -54,14 +45,6 @@ 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 a39b762a..5cf164ff 100644 --- a/test/test_cors_create_object_v1_response.py +++ b/test/test_cors_create_object_v1_response.py @@ -36,15 +36,6 @@ 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 @@ -52,14 +43,6 @@ 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 6cba7581..ffba1d6a 100644 --- a/test/test_cors_delete_object_v1_response.py +++ b/test/test_cors_delete_object_v1_response.py @@ -36,26 +36,9 @@ 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 dad1bff9..e55bc271 100644 --- a/test/test_cors_edit_object_v1_response.py +++ b/test/test_cors_edit_object_v1_response.py @@ -36,26 +36,9 @@ 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 56dee9bd..be81c128 100644 --- a/test/test_cors_get_object_v2_response.py +++ b/test/test_cors_get_object_v2_response.py @@ -36,28 +36,11 @@ 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 550bf15c..6bc66a8e 100644 --- a/test/test_cors_request_compound.py +++ b/test/test_cors_request_compound.py @@ -36,14 +36,9 @@ 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 6f7f589e..5d82a1b3 100644 --- a/test/test_cors_response_compound.py +++ b/test/test_cors_response_compound.py @@ -36,15 +36,9 @@ 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 e868a1b7..ed86e154 100644 --- a/test/test_country_get_autocomplete_v2_response.py +++ b/test/test_country_get_autocomplete_v2_response.py @@ -36,15 +36,6 @@ 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( @@ -56,14 +47,6 @@ 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 526c9582..4b584647 100644 --- a/test/test_creditcardclient_create_object_v1_response.py +++ b/test/test_creditcardclient_create_object_v1_response.py @@ -36,15 +36,6 @@ 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 @@ -52,14 +43,6 @@ 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 b0ef5c77..0af4ef7c 100644 --- a/test/test_creditcardclient_delete_object_v1_response.py +++ b/test/test_creditcardclient_delete_object_v1_response.py @@ -36,26 +36,9 @@ 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 1c886fd8..e265d51c 100644 --- a/test/test_creditcardclient_edit_object_v1_response.py +++ b/test/test_creditcardclient_edit_object_v1_response.py @@ -36,26 +36,9 @@ 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 acfacdac..f6a4b42f 100644 --- a/test/test_creditcardclient_get_autocomplete_v2_response.py +++ b/test/test_creditcardclient_get_autocomplete_v2_response.py @@ -36,15 +36,6 @@ 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( @@ -54,14 +45,6 @@ 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 0d76e02b..e68ae582 100644 --- a/test/test_creditcardclient_get_list_v1_response.py +++ b/test/test_creditcardclient_get_list_v1_response.py @@ -36,13 +36,10 @@ 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 676fd38d..72e5f850 100644 --- a/test/test_creditcardclient_get_list_v1_response_m_payload.py +++ b/test/test_creditcardclient_get_list_v1_response_m_payload.py @@ -36,8 +36,6 @@ 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, @@ -54,8 +52,6 @@ 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 7f648520..4bbde8db 100644 --- a/test/test_creditcardclient_get_object_v2_response.py +++ b/test/test_creditcardclient_get_object_v2_response.py @@ -36,28 +36,11 @@ 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 b1ef1a75..d2b5a798 100644 --- a/test/test_creditcardclient_patch_object_v1_response.py +++ b/test/test_creditcardclient_patch_object_v1_response.py @@ -36,26 +36,9 @@ 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 836ae281..4b07ed42 100644 --- a/test/test_creditcardclient_request_compound.py +++ b/test/test_creditcardclient_request_compound.py @@ -36,35 +36,9 @@ 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 aecf6265..a6334bc3 100644 --- a/test/test_creditcardclient_response_compound.py +++ b/test/test_creditcardclient_response_compound.py @@ -36,23 +36,9 @@ 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 88646169..ee1440b0 100644 --- a/test/test_creditcarddetail_response_compound.py +++ b/test/test_creditcarddetail_response_compound.py @@ -36,25 +36,9 @@ 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 cfb484c5..97a70d8f 100644 --- a/test/test_creditcardtype_get_autocomplete_v2_response.py +++ b/test/test_creditcardtype_get_autocomplete_v2_response.py @@ -36,15 +36,6 @@ 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( @@ -55,14 +46,6 @@ 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_attachment_response.py b/test/test_custom_attachment_response.py index c99c6831..7fb01de8 100644 --- a/test/test_custom_attachment_response.py +++ b/test/test_custom_attachment_response.py @@ -36,83 +36,6 @@ def make_instance(self, include_optional) -> 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 = [ @@ -124,16 +47,6 @@ 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_ezsignfoldersignerassociation_actionable_element_response.py b/test/test_custom_ezsignfoldersignerassociation_actionable_element_response.py index ef2ce159..b98e4acd 100644 --- a/test/test_custom_ezsignfoldersignerassociation_actionable_element_response.py +++ b/test/test_custom_ezsignfoldersignerassociation_actionable_element_response.py @@ -36,47 +36,11 @@ 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_ezsignformfieldgroup_create_ezsignelements_positioned_by_word_request.py b/test/test_custom_ezsignformfieldgroup_create_ezsignelements_positioned_by_word_request.py index 0ae45247..e15b3e1f 100644 --- a/test/test_custom_ezsignformfieldgroup_create_ezsignelements_positioned_by_word_request.py +++ b/test/test_custom_ezsignformfieldgroup_create_ezsignelements_positioned_by_word_request.py @@ -36,32 +36,6 @@ def make_instance(self, include_optional) -> 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, @@ -70,19 +44,6 @@ 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 2b83b9bc..79f68a30 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,40 +36,6 @@ 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, @@ -78,13 +44,6 @@ 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 be9ce330..633643cb 100644 --- a/test/test_custom_notificationsubsectiongetnotificationtests_response.py +++ b/test/test_custom_notificationsubsectiongetnotificationtests_response.py @@ -36,22 +36,12 @@ 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 1a7cb1a1..067e0a6b 100644 --- a/test/test_custom_notificationtestgetnotificationtests_response.py +++ b/test/test_custom_notificationtestgetnotificationtests_response.py @@ -36,25 +36,11 @@ 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 08a9709b..ec5e357f 100644 --- a/test/test_custom_webhook_response.py +++ b/test/test_custom_webhook_response.py @@ -36,74 +36,12 @@ 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 96bce682..b4fa10ba 100644 --- a/test/test_customer_create_object_v1_response.py +++ b/test/test_customer_create_object_v1_response.py @@ -36,15 +36,6 @@ 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 @@ -52,14 +43,6 @@ 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 bd992fe1..741cf41d 100644 --- a/test/test_customer_get_object_v2_response.py +++ b/test/test_customer_get_object_v2_response.py @@ -36,28 +36,11 @@ 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 c6cb4216..ae325a32 100644 --- a/test/test_customer_request_compound.py +++ b/test/test_customer_request_compound.py @@ -36,107 +36,9 @@ 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 cfec6066..553272d2 100644 --- a/test/test_customer_response_compound.py +++ b/test/test_customer_response_compound.py @@ -36,108 +36,9 @@ 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 70a0c4d7..7778697a 100644 --- a/test/test_department_get_autocomplete_v2_response.py +++ b/test/test_department_get_autocomplete_v2_response.py @@ -36,15 +36,6 @@ 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( @@ -56,14 +47,6 @@ 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 dd0e9a00..a099570c 100644 --- a/test/test_discussion_create_object_v1_response.py +++ b/test/test_discussion_create_object_v1_response.py @@ -36,15 +36,6 @@ 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 @@ -52,14 +43,6 @@ 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 b839ef64..aa344cc6 100644 --- a/test/test_discussion_delete_object_v1_response.py +++ b/test/test_discussion_delete_object_v1_response.py @@ -36,26 +36,9 @@ 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 a2b97d55..293f503e 100644 --- a/test/test_discussion_get_object_v2_response.py +++ b/test/test_discussion_get_object_v2_response.py @@ -36,28 +36,11 @@ 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 39c70b8a..996aee16 100644 --- a/test/test_discussion_patch_object_v1_response.py +++ b/test/test_discussion_patch_object_v1_response.py @@ -36,26 +36,9 @@ 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 fb3f7e98..d80925a9 100644 --- a/test/test_discussion_request_compound.py +++ b/test/test_discussion_request_compound.py @@ -36,13 +36,9 @@ 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 cf9dff79..d5651e64 100644 --- a/test/test_discussion_response_compound.py +++ b/test/test_discussion_response_compound.py @@ -36,18 +36,6 @@ 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() ], @@ -57,11 +45,6 @@ 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 25677561..af49d4cf 100644 --- a/test/test_discussion_update_discussionreadstatus_v1_response.py +++ b/test/test_discussion_update_discussionreadstatus_v1_response.py @@ -36,26 +36,9 @@ 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 eaf118ad..6af61341 100644 --- a/test/test_discussionmembership_create_object_v1_response.py +++ b/test/test_discussionmembership_create_object_v1_response.py @@ -36,15 +36,6 @@ 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 @@ -52,14 +43,6 @@ 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 3102e850..76c6b587 100644 --- a/test/test_discussionmembership_delete_object_v1_response.py +++ b/test/test_discussionmembership_delete_object_v1_response.py @@ -36,26 +36,9 @@ 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 ab07cb1b..bad3e476 100644 --- a/test/test_discussionmembership_request_compound.py +++ b/test/test_discussionmembership_request_compound.py @@ -36,17 +36,9 @@ 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 36ff12bd..ae6afa0c 100644 --- a/test/test_discussionmembership_response_compound.py +++ b/test/test_discussionmembership_response_compound.py @@ -36,20 +36,9 @@ 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 6bc58a02..7e0cf737 100644 --- a/test/test_discussionmessage_create_object_v1_response.py +++ b/test/test_discussionmessage_create_object_v1_response.py @@ -36,15 +36,6 @@ 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 @@ -52,14 +43,6 @@ 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 44be46dd..3e50534d 100644 --- a/test/test_discussionmessage_delete_object_v1_response.py +++ b/test/test_discussionmessage_delete_object_v1_response.py @@ -36,26 +36,9 @@ 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 e07b5513..98fd2ad8 100644 --- a/test/test_discussionmessage_patch_object_v1_response.py +++ b/test/test_discussionmessage_patch_object_v1_response.py @@ -36,26 +36,9 @@ 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 78cb5811..e176bba3 100644 --- a/test/test_discussionmessage_request_compound.py +++ b/test/test_discussionmessage_request_compound.py @@ -36,15 +36,9 @@ 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 f9e53005..65b734dc 100644 --- a/test/test_discussionmessage_response_compound.py +++ b/test/test_discussionmessage_response_compound.py @@ -36,56 +36,9 @@ 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 018160c9..b4aa5077 100644 --- a/test/test_domain_create_object_v1_response.py +++ b/test/test_domain_create_object_v1_response.py @@ -36,15 +36,6 @@ 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 @@ -52,14 +43,6 @@ 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 c7697181..2fc4a973 100644 --- a/test/test_domain_delete_object_v1_response.py +++ b/test/test_domain_delete_object_v1_response.py @@ -36,26 +36,9 @@ 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 75b7700b..388600b3 100644 --- a/test/test_domain_get_list_v1_response.py +++ b/test/test_domain_get_list_v1_response.py @@ -36,13 +36,10 @@ 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 6436bc07..e4722a56 100644 --- a/test/test_domain_get_list_v1_response_m_payload.py +++ b/test/test_domain_get_list_v1_response_m_payload.py @@ -36,8 +36,6 @@ 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, @@ -46,8 +44,6 @@ 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 2e429574..dfa3a42b 100644 --- a/test/test_domain_get_object_v2_response.py +++ b/test/test_domain_get_object_v2_response.py @@ -36,28 +36,11 @@ 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 bb898591..18d62210 100644 --- a/test/test_domain_request_compound.py +++ b/test/test_domain_request_compound.py @@ -36,12 +36,9 @@ 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 a4fe5cd9..fb314450 100644 --- a/test/test_domain_response_compound.py +++ b/test/test_domain_response_compound.py @@ -36,56 +36,12 @@ 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 7f1cbde5..45844d2b 100644 --- a/test/test_electronicfundstransfer_get_communication_count_v1_response.py +++ b/test/test_electronicfundstransfer_get_communication_count_v1_response.py @@ -36,28 +36,11 @@ 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 70b3836a..14f447de 100644 --- a/test/test_electronicfundstransfer_get_communication_list_v1_response.py +++ b/test/test_electronicfundstransfer_get_communication_list_v1_response.py @@ -36,8 +36,6 @@ 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( @@ -54,7 +52,6 @@ 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 761c4300..640f9317 100644 --- a/test/test_electronicfundstransfer_get_communicationrecipients_v1_response.py +++ b/test/test_electronicfundstransfer_get_communicationrecipients_v1_response.py @@ -36,15 +36,6 @@ 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( @@ -79,14 +70,6 @@ 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 f669155a..4af374de 100644 --- a/test/test_electronicfundstransfer_get_communicationsenders_v1_response.py +++ b/test/test_electronicfundstransfer_get_communicationsenders_v1_response.py @@ -36,15 +36,6 @@ 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( @@ -65,14 +56,6 @@ 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 c7d6a94d..d74a1045 100644 --- a/test/test_emailtype_get_autocomplete_v2_response.py +++ b/test/test_emailtype_get_autocomplete_v2_response.py @@ -36,15 +36,6 @@ 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( @@ -55,14 +46,6 @@ 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 95754483..16647ef0 100644 --- a/test/test_ezdoctemplatedocument_create_object_v1_response.py +++ b/test/test_ezdoctemplatedocument_create_object_v1_response.py @@ -36,15 +36,6 @@ 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 @@ -52,14 +43,6 @@ 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 eebf1d5f..8850ba67 100644 --- a/test/test_ezdoctemplatedocument_edit_object_v1_response.py +++ b/test/test_ezdoctemplatedocument_edit_object_v1_response.py @@ -36,26 +36,9 @@ 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 e871edd1..d954e1ef 100644 --- a/test/test_ezdoctemplatedocument_get_autocomplete_v2_response.py +++ b/test/test_ezdoctemplatedocument_get_autocomplete_v2_response.py @@ -36,15 +36,6 @@ 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( @@ -55,14 +46,6 @@ 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 888fdfaa..6b202d95 100644 --- a/test/test_ezdoctemplatedocument_get_list_v1_response.py +++ b/test/test_ezdoctemplatedocument_get_list_v1_response.py @@ -36,13 +36,10 @@ 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 a3e8f234..68f7cac8 100644 --- a/test/test_ezdoctemplatedocument_get_list_v1_response_m_payload.py +++ b/test/test_ezdoctemplatedocument_get_list_v1_response_m_payload.py @@ -36,8 +36,6 @@ 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, @@ -55,8 +53,6 @@ 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 ceeb3979..694d026f 100644 --- a/test/test_ezdoctemplatedocument_get_object_v2_response.py +++ b/test/test_ezdoctemplatedocument_get_object_v2_response.py @@ -36,28 +36,11 @@ 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_response.py b/test/test_ezdoctemplatedocument_patch_object_v1_response.py index 4d63b6dd..03b50031 100644 --- a/test/test_ezdoctemplatedocument_patch_object_v1_response.py +++ b/test/test_ezdoctemplatedocument_patch_object_v1_response.py @@ -36,26 +36,9 @@ 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 2c37e639..d46756b1 100644 --- a/test/test_ezdoctemplatedocument_request_compound.py +++ b/test/test_ezdoctemplatedocument_request_compound.py @@ -36,26 +36,9 @@ 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_response_compound.py b/test/test_ezdoctemplatedocument_response_compound.py index 6b159eaf..16a8af8d 100644 --- a/test/test_ezdoctemplatedocument_response_compound.py +++ b/test/test_ezdoctemplatedocument_response_compound.py @@ -36,33 +36,9 @@ 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 8f37ef0f..cd9b18e1 100644 --- a/test/test_ezdoctemplatefieldtypecategory_get_autocomplete_v2_response.py +++ b/test/test_ezdoctemplatefieldtypecategory_get_autocomplete_v2_response.py @@ -36,15 +36,6 @@ 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( @@ -56,14 +47,6 @@ 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 8abf378a..1190d7d3 100644 --- a/test/test_ezdoctemplatetype_get_autocomplete_v2_response.py +++ b/test/test_ezdoctemplatetype_get_autocomplete_v2_response.py @@ -36,15 +36,6 @@ 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( @@ -55,14 +46,6 @@ 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 064faebf..b6afbcf2 100644 --- a/test/test_ezmaxinvoicing_get_autocomplete_v2_response.py +++ b/test/test_ezmaxinvoicing_get_autocomplete_v2_response.py @@ -36,15 +36,6 @@ 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( @@ -55,14 +46,6 @@ 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 227c5726..04e1a45f 100644 --- a/test/test_ezmaxinvoicing_get_object_v2_response.py +++ b/test/test_ezmaxinvoicing_get_object_v2_response.py @@ -36,28 +36,11 @@ 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 15eae693..c1cf282f 100644 --- a/test/test_ezmaxinvoicing_get_provisional_v1_response.py +++ b/test/test_ezmaxinvoicing_get_provisional_v1_response.py @@ -36,27 +36,10 @@ def make_instance(self, include_optional) -> EzmaxinvoicingGetProvisionalV1Respo model = EzmaxinvoicingGetProvisionalV1Response() if include_optional: return EzmaxinvoicingGetProvisionalV1Response( - obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( - i_version_min = 1, - i_version_max = 2, - a_required_permission = [ - 117 - ], - b_version_deprecated = False, - dt_response_date = '2020-12-31 23:59:59', ), - obj_debug = {"sMemoryUsage":"11,923MB","sRunTime":"0.6084s","iSQLSelects":3,"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_response_compound.ezmaxinvoicing-ResponseCompound() ) else: return EzmaxinvoicingGetProvisionalV1Response( - obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( - i_version_min = 1, - i_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_response_compound.ezmaxinvoicing-ResponseCompound(), ) """ 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 fd018baf..1a1c5d42 100644 --- a/test/test_ezmaxinvoicing_get_provisional_v1_response_m_payload.py +++ b/test/test_ezmaxinvoicing_get_provisional_v1_response_m_payload.py @@ -36,103 +36,9 @@ 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 49a05b85..336b9b8b 100644 --- a/test/test_ezmaxinvoicing_response_compound.py +++ b/test/test_ezmaxinvoicing_response_compound.py @@ -36,35 +36,6 @@ 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, @@ -95,17 +66,6 @@ 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 c6a78d88..bc633eeb 100644 --- a/test/test_ezmaxinvoicingagent_response_compound.py +++ b/test/test_ezmaxinvoicingagent_response_compound.py @@ -36,26 +36,6 @@ 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', @@ -63,22 +43,6 @@ 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 d94ef060..e0ebfbde 100644 --- a/test/test_ezmaxinvoicingcommission_response_compound.py +++ b/test/test_ezmaxinvoicingcommission_response_compound.py @@ -36,14 +36,6 @@ 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', @@ -51,10 +43,6 @@ 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 8a54a730..4627a118 100644 --- a/test/test_ezmaxinvoicingcontract_response_compound.py +++ b/test/test_ezmaxinvoicingcontract_response_compound.py @@ -36,59 +36,9 @@ 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 bda842a9..32498af4 100644 --- a/test/test_ezmaxinvoicingsummaryexternal_response_compound.py +++ b/test/test_ezmaxinvoicingsummaryexternal_response_compound.py @@ -36,20 +36,12 @@ 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 116ecb3d..c80424b5 100644 --- a/test/test_ezmaxinvoicingsummaryexternaldetail_response_compound.py +++ b/test/test_ezmaxinvoicingsummaryexternaldetail_response_compound.py @@ -36,27 +36,9 @@ 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 62bd5fdf..f367d11f 100644 --- a/test/test_ezmaxinvoicingsummaryglobal_response_compound.py +++ b/test/test_ezmaxinvoicingsummaryglobal_response_compound.py @@ -36,45 +36,12 @@ 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 01b1324e..ab221c4c 100644 --- a/test/test_ezmaxinvoicingsummaryinternal_response_compound.py +++ b/test/test_ezmaxinvoicingsummaryinternal_response_compound.py @@ -36,26 +36,12 @@ 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 da4d9c72..7d651e8a 100644 --- a/test/test_ezmaxinvoicingsummaryinternaldetail_response_compound.py +++ b/test/test_ezmaxinvoicingsummaryinternaldetail_response_compound.py @@ -36,31 +36,9 @@ 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 01cef9a4..2d905604 100644 --- a/test/test_ezmaxinvoicinguser_response_compound.py +++ b/test/test_ezmaxinvoicinguser_response_compound.py @@ -36,15 +36,6 @@ 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', @@ -52,13 +43,6 @@ 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 7487cdfd..2a831eaf 100644 --- a/test/test_ezmaxproduct_get_autocomplete_v2_response.py +++ b/test/test_ezmaxproduct_get_autocomplete_v2_response.py @@ -36,15 +36,6 @@ 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( @@ -55,14 +46,6 @@ 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 2ea1fdfd..4b84d0ab 100644 --- a/test/test_ezsignannotation_create_object_v1_response.py +++ b/test/test_ezsignannotation_create_object_v1_response.py @@ -36,15 +36,6 @@ 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 @@ -52,14 +43,6 @@ 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 4741b787..27df5920 100644 --- a/test/test_ezsignannotation_delete_object_v1_response.py +++ b/test/test_ezsignannotation_delete_object_v1_response.py @@ -36,26 +36,9 @@ 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 367fc5f6..f0ef1711 100644 --- a/test/test_ezsignannotation_edit_object_v1_response.py +++ b/test/test_ezsignannotation_edit_object_v1_response.py @@ -36,26 +36,9 @@ 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 cb3e7287..94c26691 100644 --- a/test/test_ezsignannotation_get_object_v2_response.py +++ b/test/test_ezsignannotation_get_object_v2_response.py @@ -36,28 +36,11 @@ 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 bfe5f6da..ae667009 100644 --- a/test/test_ezsignannotation_request_compound.py +++ b/test/test_ezsignannotation_request_compound.py @@ -36,26 +36,10 @@ 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 725fa5fa..101e76a1 100644 --- a/test/test_ezsignannotation_response_compound.py +++ b/test/test_ezsignannotation_response_compound.py @@ -36,27 +36,10 @@ 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 77072d7d..bc97c794 100644 --- a/test/test_ezsignbulksend_create_ezsignbulksendtransmission_v2_response.py +++ b/test/test_ezsignbulksend_create_ezsignbulksendtransmission_v2_response.py @@ -36,15 +36,6 @@ 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, @@ -71,14 +62,6 @@ 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 821cac6e..ab37510c 100644 --- a/test/test_ezsignbulksend_create_object_v1_response.py +++ b/test/test_ezsignbulksend_create_object_v1_response.py @@ -36,15 +36,6 @@ 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 @@ -52,14 +43,6 @@ 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 9a4916a6..fba8c6b7 100644 --- a/test/test_ezsignbulksend_delete_object_v1_response.py +++ b/test/test_ezsignbulksend_delete_object_v1_response.py @@ -36,26 +36,9 @@ 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 70c20afe..91afeba4 100644 --- a/test/test_ezsignbulksend_edit_object_v1_response.py +++ b/test/test_ezsignbulksend_edit_object_v1_response.py @@ -36,26 +36,9 @@ 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 c7fccb1b..4116fdcd 100644 --- a/test/test_ezsignbulksend_get_ezsignbulksendtransmissions_v1_response.py +++ b/test/test_ezsignbulksend_get_ezsignbulksendtransmissions_v1_response.py @@ -36,15 +36,6 @@ 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() @@ -52,14 +43,6 @@ 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 9a6461f4..b1152c37 100644 --- a/test/test_ezsignbulksend_get_ezsignsignatures_automatic_v1_response.py +++ b/test/test_ezsignbulksend_get_ezsignsignatures_automatic_v1_response.py @@ -36,15 +36,6 @@ 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' @@ -68,14 +59,6 @@ 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 6391dce9..3a974263 100644 --- a/test/test_ezsignbulksend_get_forms_data_v1_response.py +++ b/test/test_ezsignbulksend_get_forms_data_v1_response.py @@ -36,15 +36,6 @@ 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( @@ -77,14 +68,6 @@ 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 3e042f89..a52500b5 100644 --- a/test/test_ezsignbulksend_get_list_v1_response.py +++ b/test/test_ezsignbulksend_get_list_v1_response.py @@ -36,13 +36,10 @@ 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 7a385aa1..e81677cf 100644 --- a/test/test_ezsignbulksend_get_list_v1_response_m_payload.py +++ b/test/test_ezsignbulksend_get_list_v1_response_m_payload.py @@ -36,8 +36,6 @@ 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, @@ -55,8 +53,6 @@ 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 de87b6d5..03c812e9 100644 --- a/test/test_ezsignbulksend_get_object_v2_response.py +++ b/test/test_ezsignbulksend_get_object_v2_response.py @@ -36,28 +36,11 @@ 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 831e0912..a0921b0c 100644 --- a/test/test_ezsignbulksend_reorder_v1_response.py +++ b/test/test_ezsignbulksend_reorder_v1_response.py @@ -36,26 +36,9 @@ 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 a6b78614..7deff8eb 100644 --- a/test/test_ezsignbulksend_request_compound.py +++ b/test/test_ezsignbulksend_request_compound.py @@ -36,22 +36,9 @@ 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 f5009b96..373edd80 100644 --- a/test/test_ezsignbulksend_response_compound.py +++ b/test/test_ezsignbulksend_response_compound.py @@ -36,33 +36,6 @@ 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() ], @@ -76,33 +49,6 @@ 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 4de89a5a..8a01eb7a 100644 --- a/test/test_ezsignbulksenddocumentmapping_create_object_v1_response.py +++ b/test/test_ezsignbulksenddocumentmapping_create_object_v1_response.py @@ -36,15 +36,6 @@ 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 @@ -52,14 +43,6 @@ 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 0a7e3c70..3425ca21 100644 --- a/test/test_ezsignbulksenddocumentmapping_delete_object_v1_response.py +++ b/test/test_ezsignbulksenddocumentmapping_delete_object_v1_response.py @@ -36,26 +36,9 @@ 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 52864b46..a821c13a 100644 --- a/test/test_ezsignbulksenddocumentmapping_get_object_v2_response.py +++ b/test/test_ezsignbulksenddocumentmapping_get_object_v2_response.py @@ -36,28 +36,11 @@ 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 52397787..11c6d842 100644 --- a/test/test_ezsignbulksenddocumentmapping_request_compound.py +++ b/test/test_ezsignbulksenddocumentmapping_request_compound.py @@ -36,14 +36,9 @@ 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 ece45bbc..162dc150 100644 --- a/test/test_ezsignbulksenddocumentmapping_response_compound.py +++ b/test/test_ezsignbulksenddocumentmapping_response_compound.py @@ -36,19 +36,11 @@ 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 e8d570cf..fea154f4 100644 --- a/test/test_ezsignbulksendsignermapping_create_object_v1_response.py +++ b/test/test_ezsignbulksendsignermapping_create_object_v1_response.py @@ -36,15 +36,6 @@ 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 @@ -52,14 +43,6 @@ 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 e07740c7..d3ee9db3 100644 --- a/test/test_ezsignbulksendsignermapping_delete_object_v1_response.py +++ b/test/test_ezsignbulksendsignermapping_delete_object_v1_response.py @@ -36,26 +36,9 @@ 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 299bd7b9..53e7cca2 100644 --- a/test/test_ezsignbulksendsignermapping_get_object_v2_response.py +++ b/test/test_ezsignbulksendsignermapping_get_object_v2_response.py @@ -36,28 +36,11 @@ 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 d6cd2ffb..6eabd401 100644 --- a/test/test_ezsignbulksendsignermapping_request_compound.py +++ b/test/test_ezsignbulksendsignermapping_request_compound.py @@ -36,15 +36,9 @@ 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 da97b691..f7cf418d 100644 --- a/test/test_ezsignbulksendsignermapping_response_compound.py +++ b/test/test_ezsignbulksendsignermapping_response_compound.py @@ -36,16 +36,9 @@ 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 068a6b9d..00004b20 100644 --- a/test/test_ezsignbulksendtransmission_get_ezsignsignatures_automatic_v1_response.py +++ b/test/test_ezsignbulksendtransmission_get_ezsignsignatures_automatic_v1_response.py @@ -36,15 +36,6 @@ 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' @@ -68,14 +59,6 @@ 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 67fefa80..c973895a 100644 --- a/test/test_ezsignbulksendtransmission_get_forms_data_v1_response.py +++ b/test/test_ezsignbulksendtransmission_get_forms_data_v1_response.py @@ -36,15 +36,6 @@ 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( @@ -77,14 +68,6 @@ 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 6e88cbc7..0529636e 100644 --- a/test/test_ezsignbulksendtransmission_get_object_v2_response.py +++ b/test/test_ezsignbulksendtransmission_get_object_v2_response.py @@ -36,28 +36,11 @@ 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 af1d2033..8403eec7 100644 --- a/test/test_ezsignbulksendtransmission_response_compound.py +++ b/test/test_ezsignbulksendtransmission_response_compound.py @@ -36,27 +36,6 @@ 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, @@ -75,27 +54,6 @@ 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 67543f63..76978600 100644 --- a/test/test_ezsigndiscussion_create_object_v1_response.py +++ b/test/test_ezsigndiscussion_create_object_v1_response.py @@ -36,15 +36,6 @@ 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 @@ -52,14 +43,6 @@ 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 58aa6012..11745007 100644 --- a/test/test_ezsigndiscussion_delete_object_v1_response.py +++ b/test/test_ezsigndiscussion_delete_object_v1_response.py @@ -36,26 +36,9 @@ 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 a0cd2804..cc65a1f2 100644 --- a/test/test_ezsigndiscussion_get_object_v2_response.py +++ b/test/test_ezsigndiscussion_get_object_v2_response.py @@ -36,28 +36,11 @@ 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 624fbab2..b0521ea7 100644 --- a/test/test_ezsigndiscussion_request_compound.py +++ b/test/test_ezsigndiscussion_request_compound.py @@ -36,26 +36,9 @@ 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 576eee71..7c07f48b 100644 --- a/test/test_ezsigndiscussion_response_compound.py +++ b/test/test_ezsigndiscussion_response_compound.py @@ -36,23 +36,9 @@ 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 f8e145f2..53cff06e 100644 --- a/test/test_ezsigndocument_apply_ezsigntemplate_v1_response.py +++ b/test/test_ezsigndocument_apply_ezsigntemplate_v1_response.py @@ -36,26 +36,9 @@ 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 96d018d3..7d0d269a 100644 --- a/test/test_ezsigndocument_apply_ezsigntemplate_v2_response.py +++ b/test/test_ezsigndocument_apply_ezsigntemplate_v2_response.py @@ -36,15 +36,6 @@ 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 = '', @@ -53,14 +44,6 @@ 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 8cf1cf2b..4da5630d 100644 --- a/test/test_ezsigndocument_apply_ezsigntemplateglobal_v1_response.py +++ b/test/test_ezsigndocument_apply_ezsigntemplateglobal_v1_response.py @@ -36,15 +36,6 @@ 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 = '', @@ -53,14 +44,6 @@ 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 01383ca4..991fa5c3 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,15 +36,6 @@ 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 @@ -55,14 +46,6 @@ 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_response.py b/test/test_ezsigndocument_create_object_v1_response.py index d2266ef1..4e43c60f 100644 --- a/test/test_ezsigndocument_create_object_v1_response.py +++ b/test/test_ezsigndocument_create_object_v1_response.py @@ -36,15 +36,6 @@ 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 @@ -52,14 +43,6 @@ 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 96ca4c94..0db48383 100644 --- a/test/test_ezsigndocument_create_object_v2_response.py +++ b/test/test_ezsigndocument_create_object_v2_response.py @@ -36,15 +36,6 @@ 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 @@ -52,14 +43,6 @@ 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 3488da66..f59db293 100644 --- a/test/test_ezsigndocument_create_object_v3_response.py +++ b/test/test_ezsigndocument_create_object_v3_response.py @@ -36,15 +36,6 @@ 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( @@ -58,14 +49,6 @@ 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 2d4fce6e..7e7735c5 100644 --- a/test/test_ezsigndocument_decline_to_sign_v1_response.py +++ b/test/test_ezsigndocument_decline_to_sign_v1_response.py @@ -36,26 +36,9 @@ 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 bcf53bf4..288b8f5f 100644 --- a/test/test_ezsigndocument_delete_object_v1_response.py +++ b/test/test_ezsigndocument_delete_object_v1_response.py @@ -36,26 +36,9 @@ 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 4d183822..452702cd 100644 --- a/test/test_ezsigndocument_edit_ezsignannotations_v1_response.py +++ b/test/test_ezsigndocument_edit_ezsignannotations_v1_response.py @@ -36,15 +36,6 @@ 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 @@ -52,14 +43,6 @@ 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 6a75aacd..141c6832 100644 --- a/test/test_ezsigndocument_edit_ezsignformfieldgroups_v1_response.py +++ b/test/test_ezsigndocument_edit_ezsignformfieldgroups_v1_response.py @@ -36,15 +36,6 @@ 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 @@ -52,14 +43,6 @@ 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 ec840d8e..7c68c710 100644 --- a/test/test_ezsigndocument_edit_ezsignsignatures_v1_response.py +++ b/test/test_ezsigndocument_edit_ezsignsignatures_v1_response.py @@ -36,15 +36,6 @@ 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 @@ -52,14 +43,6 @@ 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_response.py b/test/test_ezsigndocument_edit_object_v1_response.py index e0548db2..44827230 100644 --- a/test/test_ezsigndocument_edit_object_v1_response.py +++ b/test/test_ezsigndocument_edit_object_v1_response.py @@ -36,15 +36,6 @@ 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 = '', @@ -53,14 +44,6 @@ 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 86f7837d..f23a63bb 100644 --- a/test/test_ezsigndocument_end_prematurely_v1_response.py +++ b/test/test_ezsigndocument_end_prematurely_v1_response.py @@ -36,26 +36,9 @@ 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 2f2668a0..7af96df8 100644 --- a/test/test_ezsigndocument_extract_text_v1_response.py +++ b/test/test_ezsigndocument_extract_text_v1_response.py @@ -36,28 +36,11 @@ 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 4d6c29ed..9cebfd72 100644 --- a/test/test_ezsigndocument_flatten_v1_response.py +++ b/test/test_ezsigndocument_flatten_v1_response.py @@ -36,26 +36,9 @@ 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 ab5c02ea..d4044221 100644 --- a/test/test_ezsigndocument_get_actionable_elements_v1_response.py +++ b/test/test_ezsigndocument_get_actionable_elements_v1_response.py @@ -36,15 +36,6 @@ 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() @@ -55,14 +46,6 @@ 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 27a85d34..9501de6e 100644 --- a/test/test_ezsigndocument_get_attachments_v1_response.py +++ b/test/test_ezsigndocument_get_attachments_v1_response.py @@ -36,15 +36,6 @@ 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( @@ -56,14 +47,6 @@ 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 9c5d69b7..3042ab33 100644 --- a/test/test_ezsigndocument_get_completed_elements_v1_response.py +++ b/test/test_ezsigndocument_get_completed_elements_v1_response.py @@ -36,15 +36,6 @@ 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() @@ -55,14 +46,6 @@ 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 a98343f1..86252f12 100644 --- a/test/test_ezsigndocument_get_download_url_v1_response.py +++ b/test/test_ezsigndocument_get_download_url_v1_response.py @@ -36,27 +36,10 @@ 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 d9c24a17..c0ec23f5 100644 --- a/test/test_ezsigndocument_get_ezsignannotations_v1_response.py +++ b/test/test_ezsigndocument_get_ezsignannotations_v1_response.py @@ -36,15 +36,6 @@ 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() @@ -52,14 +43,6 @@ 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 ae497613..92e019b2 100644 --- a/test/test_ezsigndocument_get_ezsigndiscussions_v1_response.py +++ b/test/test_ezsigndocument_get_ezsigndiscussions_v1_response.py @@ -36,15 +36,6 @@ 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( @@ -59,14 +50,6 @@ 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 3023eaea..8f2f4212 100644 --- a/test/test_ezsigndocument_get_ezsignformfieldgroups_v1_response.py +++ b/test/test_ezsigndocument_get_ezsignformfieldgroups_v1_response.py @@ -36,15 +36,6 @@ 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() @@ -52,14 +43,6 @@ 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 9ddda470..62a3117d 100644 --- a/test/test_ezsigndocument_get_ezsignpages_v1_response.py +++ b/test/test_ezsigndocument_get_ezsignpages_v1_response.py @@ -36,15 +36,6 @@ 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() @@ -52,14 +43,6 @@ 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 941f6286..f489089e 100644 --- a/test/test_ezsigndocument_get_ezsignsignatures_automatic_v1_response.py +++ b/test/test_ezsigndocument_get_ezsignsignatures_automatic_v1_response.py @@ -36,15 +36,6 @@ 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' @@ -68,14 +59,6 @@ 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 a5a756bc..4b74e493 100644 --- a/test/test_ezsigndocument_get_ezsignsignatures_v1_response.py +++ b/test/test_ezsigndocument_get_ezsignsignatures_v1_response.py @@ -36,15 +36,6 @@ 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() @@ -52,14 +43,6 @@ 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 1bc6504e..8458ae06 100644 --- a/test/test_ezsigndocument_get_form_data_v1_response.py +++ b/test/test_ezsigndocument_get_form_data_v1_response.py @@ -36,15 +36,6 @@ 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, @@ -70,14 +61,6 @@ 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 50362b8e..63267125 100644 --- a/test/test_ezsigndocument_get_object_v1_response.py +++ b/test/test_ezsigndocument_get_object_v1_response.py @@ -36,27 +36,10 @@ def make_instance(self, include_optional) -> EzsigndocumentGetObjectV1Response: model = EzsigndocumentGetObjectV1Response() if include_optional: return EzsigndocumentGetObjectV1Response( - obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( - i_version_min = 1, - i_version_max = 2, - a_required_permission = [ - 117 - ], - b_version_deprecated = False, - dt_response_date = '2020-12-31 23:59:59', ), - obj_debug = {"sMemoryUsage":"11,923MB","sRunTime":"0.6084s","iSQLSelects":3,"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_response_compound.ezsigndocument-ResponseCompound() ) else: return EzsigndocumentGetObjectV1Response( - obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( - i_version_min = 1, - i_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_response_compound.ezsigndocument-ResponseCompound(), ) """ 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 11c44431..9dd30fd2 100644 --- a/test/test_ezsigndocument_get_object_v1_response_m_payload.py +++ b/test/test_ezsigndocument_get_object_v1_response_m_payload.py @@ -36,106 +36,9 @@ 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 099ec49c..602dc5d4 100644 --- a/test/test_ezsigndocument_get_object_v2_response.py +++ b/test/test_ezsigndocument_get_object_v2_response.py @@ -36,28 +36,11 @@ 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 2db4e97c..31c24ec5 100644 --- a/test/test_ezsigndocument_get_temporary_proof_v1_response.py +++ b/test/test_ezsigndocument_get_temporary_proof_v1_response.py @@ -36,15 +36,6 @@ 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() @@ -52,14 +43,6 @@ 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 71f73eb3..7969a513 100644 --- a/test/test_ezsigndocument_get_words_positions_v1_response.py +++ b/test/test_ezsigndocument_get_words_positions_v1_response.py @@ -36,15 +36,6 @@ 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 = '', @@ -58,14 +49,6 @@ 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 a1b6bb7b..c2f7523f 100644 --- a/test/test_ezsigndocument_patch_object_v1_response.py +++ b/test/test_ezsigndocument_patch_object_v1_response.py @@ -36,26 +36,9 @@ 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_response_compound.py b/test/test_ezsigndocument_response_compound.py index 44461865..f9d32860 100644 --- a/test/test_ezsigndocument_response_compound.py +++ b/test/test_ezsigndocument_response_compound.py @@ -36,46 +36,6 @@ 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, @@ -104,18 +64,6 @@ 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 13e64925..95d22202 100644 --- a/test/test_ezsigndocument_submit_ezsignform_v1_response.py +++ b/test/test_ezsigndocument_submit_ezsignform_v1_response.py @@ -36,26 +36,9 @@ 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 28c868f6..dacfe624 100644 --- a/test/test_ezsigndocument_unsend_v1_response.py +++ b/test/test_ezsigndocument_unsend_v1_response.py @@ -36,26 +36,9 @@ 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 8e0356fa..822b6c6b 100644 --- a/test/test_ezsignfolder_archive_v1_response.py +++ b/test/test_ezsignfolder_archive_v1_response.py @@ -36,26 +36,9 @@ 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_response.py b/test/test_ezsignfolder_create_object_v1_response.py index fa1df756..99fe8fa6 100644 --- a/test/test_ezsignfolder_create_object_v1_response.py +++ b/test/test_ezsignfolder_create_object_v1_response.py @@ -36,15 +36,6 @@ 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 @@ -52,14 +43,6 @@ 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 3bf9dce6..c516c800 100644 --- a/test/test_ezsignfolder_create_object_v2_response.py +++ b/test/test_ezsignfolder_create_object_v2_response.py @@ -36,15 +36,6 @@ 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 @@ -52,14 +43,6 @@ 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 be9f8dc3..218ab55e 100644 --- a/test/test_ezsignfolder_create_object_v3_response.py +++ b/test/test_ezsignfolder_create_object_v3_response.py @@ -36,15 +36,6 @@ 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 @@ -52,14 +43,6 @@ 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 97dc842e..288d6be0 100644 --- a/test/test_ezsignfolder_delete_object_v1_response.py +++ b/test/test_ezsignfolder_delete_object_v1_response.py @@ -36,26 +36,9 @@ 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 0841d1ee..70196c0a 100644 --- a/test/test_ezsignfolder_dispose_ezsignfolders_v1_response.py +++ b/test/test_ezsignfolder_dispose_ezsignfolders_v1_response.py @@ -36,26 +36,9 @@ 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 f8a4944f..4edf9633 100644 --- a/test/test_ezsignfolder_dispose_v1_response.py +++ b/test/test_ezsignfolder_dispose_v1_response.py @@ -36,26 +36,9 @@ 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_response.py b/test/test_ezsignfolder_edit_object_v3_response.py index d9d54ece..1f4df0fa 100644 --- a/test/test_ezsignfolder_edit_object_v3_response.py +++ b/test/test_ezsignfolder_edit_object_v3_response.py @@ -36,26 +36,9 @@ 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 c117b261..a04ecbd0 100644 --- a/test/test_ezsignfolder_end_prematurely_v1_response.py +++ b/test/test_ezsignfolder_end_prematurely_v1_response.py @@ -36,26 +36,9 @@ 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 d5d07ba9..f0deb1da 100644 --- a/test/test_ezsignfolder_get_actionable_elements_v1_response.py +++ b/test/test_ezsignfolder_get_actionable_elements_v1_response.py @@ -36,15 +36,6 @@ 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() @@ -55,14 +46,6 @@ 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 d6072078..45108756 100644 --- a/test/test_ezsignfolder_get_attachment_count_v1_response.py +++ b/test/test_ezsignfolder_get_attachment_count_v1_response.py @@ -36,28 +36,11 @@ 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 a0506310..c56ded71 100644 --- a/test/test_ezsignfolder_get_attachments_v1_response.py +++ b/test/test_ezsignfolder_get_attachments_v1_response.py @@ -36,15 +36,6 @@ 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( @@ -56,14 +47,6 @@ 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 06f2d48d..93ed0905 100644 --- a/test/test_ezsignfolder_get_communication_count_v1_response.py +++ b/test/test_ezsignfolder_get_communication_count_v1_response.py @@ -36,28 +36,11 @@ 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 360da122..78b0d9d5 100644 --- a/test/test_ezsignfolder_get_communication_list_v1_response.py +++ b/test/test_ezsignfolder_get_communication_list_v1_response.py @@ -36,8 +36,6 @@ 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( @@ -54,7 +52,6 @@ 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 a341d2dd..07c764e8 100644 --- a/test/test_ezsignfolder_get_communicationrecipients_v1_response.py +++ b/test/test_ezsignfolder_get_communicationrecipients_v1_response.py @@ -36,15 +36,6 @@ 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( @@ -79,14 +70,6 @@ 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 9932f1ed..4d6fa691 100644 --- a/test/test_ezsignfolder_get_communicationsenders_v1_response.py +++ b/test/test_ezsignfolder_get_communicationsenders_v1_response.py @@ -36,15 +36,6 @@ 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( @@ -65,14 +56,6 @@ 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 72784f1c..2f245810 100644 --- a/test/test_ezsignfolder_get_ezsigndocuments_v1_response.py +++ b/test/test_ezsignfolder_get_ezsigndocuments_v1_response.py @@ -36,15 +36,6 @@ 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() @@ -52,14 +43,6 @@ 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 2b7f91dd..97041b5d 100644 --- a/test/test_ezsignfolder_get_ezsignfoldersignerassociations_v1_response.py +++ b/test/test_ezsignfolder_get_ezsignfoldersignerassociations_v1_response.py @@ -36,15 +36,6 @@ 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() @@ -52,14 +43,6 @@ 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 7a27b35e..cb0bf64f 100644 --- a/test/test_ezsignfolder_get_ezsignsignatures_automatic_v1_response.py +++ b/test/test_ezsignfolder_get_ezsignsignatures_automatic_v1_response.py @@ -36,15 +36,6 @@ 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' @@ -68,14 +59,6 @@ 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 43d8ab98..b05502dc 100644 --- a/test/test_ezsignfolder_get_forms_data_v1_response.py +++ b/test/test_ezsignfolder_get_forms_data_v1_response.py @@ -36,15 +36,6 @@ 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, @@ -75,14 +66,6 @@ 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 b2f3c5bf..d8ddb6e6 100644 --- a/test/test_ezsignfolder_get_list_v1_response.py +++ b/test/test_ezsignfolder_get_list_v1_response.py @@ -36,13 +36,10 @@ 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 97510c55..4f1d1f32 100644 --- a/test/test_ezsignfolder_get_list_v1_response_m_payload.py +++ b/test/test_ezsignfolder_get_list_v1_response_m_payload.py @@ -36,8 +36,6 @@ 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, @@ -65,8 +63,6 @@ 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 84e63679..7ffe5d4f 100644 --- a/test/test_ezsignfolder_get_object_v1_response.py +++ b/test/test_ezsignfolder_get_object_v1_response.py @@ -36,27 +36,10 @@ def make_instance(self, include_optional) -> EzsignfolderGetObjectV1Response: model = EzsignfolderGetObjectV1Response() if include_optional: return EzsignfolderGetObjectV1Response( - obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( - i_version_min = 1, - i_version_max = 2, - a_required_permission = [ - 117 - ], - b_version_deprecated = False, - dt_response_date = '2020-12-31 23:59:59', ), - obj_debug = {"sMemoryUsage":"11,923MB","sRunTime":"0.6084s","iSQLSelects":3,"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_response_compound.ezsignfolder-ResponseCompound() ) else: return EzsignfolderGetObjectV1Response( - obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( - i_version_min = 1, - i_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_response_compound.ezsignfolder-ResponseCompound(), ) """ 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 73fdeb7d..af2eb61a 100644 --- a/test/test_ezsignfolder_get_object_v1_response_m_payload.py +++ b/test/test_ezsignfolder_get_object_v1_response_m_payload.py @@ -36,82 +36,9 @@ 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 83d1afac..c89731df 100644 --- a/test/test_ezsignfolder_get_object_v2_response.py +++ b/test/test_ezsignfolder_get_object_v2_response.py @@ -36,28 +36,11 @@ 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 874ddb0b..850b3752 100644 --- a/test/test_ezsignfolder_get_object_v3_response.py +++ b/test/test_ezsignfolder_get_object_v3_response.py @@ -36,28 +36,11 @@ 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 a7a3266f..fd4b1504 100644 --- a/test/test_ezsignfolder_import_ezsignfoldersignerassociations_v1_response.py +++ b/test/test_ezsignfolder_import_ezsignfoldersignerassociations_v1_response.py @@ -36,15 +36,6 @@ 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 @@ -52,14 +43,6 @@ 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 028bfc9d..50965a12 100644 --- a/test/test_ezsignfolder_import_ezsigntemplatepackage_v1_response.py +++ b/test/test_ezsignfolder_import_ezsigntemplatepackage_v1_response.py @@ -36,15 +36,6 @@ 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() @@ -52,14 +43,6 @@ 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 447169cf..da79adba 100644 --- a/test/test_ezsignfolder_reorder_v1_response.py +++ b/test/test_ezsignfolder_reorder_v1_response.py @@ -36,26 +36,9 @@ 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 ae9ac3b7..3fb26824 100644 --- a/test/test_ezsignfolder_reorder_v2_response.py +++ b/test/test_ezsignfolder_reorder_v2_response.py @@ -36,26 +36,9 @@ 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 f8c62373..ca7e5ef2 100644 --- a/test/test_ezsignfolder_response_compound.py +++ b/test/test_ezsignfolder_response_compound.py @@ -36,82 +36,12 @@ 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 a0ea9f60..102a04f7 100644 --- a/test/test_ezsignfolder_response_compound_v3.py +++ b/test/test_ezsignfolder_response_compound_v3.py @@ -36,83 +36,12 @@ 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 1e6aa040..3ddbfe9e 100644 --- a/test/test_ezsignfolder_send_v1_response.py +++ b/test/test_ezsignfolder_send_v1_response.py @@ -36,26 +36,9 @@ 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 822bd2ae..47464cc2 100644 --- a/test/test_ezsignfolder_send_v3_response.py +++ b/test/test_ezsignfolder_send_v3_response.py @@ -36,26 +36,9 @@ 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 1ecfc6c5..7b918607 100644 --- a/test/test_ezsignfolder_unsend_v1_response.py +++ b/test/test_ezsignfolder_unsend_v1_response.py @@ -36,26 +36,9 @@ 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 3577e7b7..feb41d60 100644 --- a/test/test_ezsignfoldersignerassociation_create_embedded_url_v1_response.py +++ b/test/test_ezsignfoldersignerassociation_create_embedded_url_v1_response.py @@ -36,28 +36,11 @@ 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 b3118ed1..31de6373 100644 --- a/test/test_ezsignfoldersignerassociation_create_object_v1_response.py +++ b/test/test_ezsignfoldersignerassociation_create_object_v1_response.py @@ -36,15 +36,6 @@ 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 @@ -52,14 +43,6 @@ 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 f413f47d..06ddcb44 100644 --- a/test/test_ezsignfoldersignerassociation_create_object_v2_response.py +++ b/test/test_ezsignfoldersignerassociation_create_object_v2_response.py @@ -36,15 +36,6 @@ 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 @@ -52,14 +43,6 @@ 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 c73f6a90..34466f7e 100644 --- a/test/test_ezsignfoldersignerassociation_delete_object_v1_response.py +++ b/test/test_ezsignfoldersignerassociation_delete_object_v1_response.py @@ -36,26 +36,9 @@ 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 f083197d..1e957347 100644 --- a/test/test_ezsignfoldersignerassociation_edit_object_v1_response.py +++ b/test/test_ezsignfoldersignerassociation_edit_object_v1_response.py @@ -36,26 +36,9 @@ 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 6d89a9db..4e250674 100644 --- a/test/test_ezsignfoldersignerassociation_force_disconnect_v1_response.py +++ b/test/test_ezsignfoldersignerassociation_force_disconnect_v1_response.py @@ -36,26 +36,9 @@ 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 5a2b7276..d9269505 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,28 +36,11 @@ 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 8ff0fcb7..1a7e0b27 100644 --- a/test/test_ezsignfoldersignerassociation_get_object_v1_response.py +++ b/test/test_ezsignfoldersignerassociation_get_object_v1_response.py @@ -36,27 +36,10 @@ def make_instance(self, include_optional) -> EzsignfoldersignerassociationGetObj model = EzsignfoldersignerassociationGetObjectV1Response() if include_optional: return EzsignfoldersignerassociationGetObjectV1Response( - obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( - i_version_min = 1, - i_version_max = 2, - a_required_permission = [ - 117 - ], - b_version_deprecated = False, - dt_response_date = '2020-12-31 23:59:59', ), - obj_debug = {"sMemoryUsage":"11,923MB","sRunTime":"0.6084s","iSQLSelects":3,"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_response_compound.ezsignfoldersignerassociation-ResponseCompound() ) else: return EzsignfoldersignerassociationGetObjectV1Response( - obj_debug_payload = eZmaxApi.models.common_response_obj_debug_payload.Common-Response-objDebugPayload( - i_version_min = 1, - i_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_response_compound.ezsignfoldersignerassociation-ResponseCompound(), ) """ 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 79830fb6..02591e5c 100644 --- a/test/test_ezsignfoldersignerassociation_get_object_v1_response_m_payload.py +++ b/test/test_ezsignfoldersignerassociation_get_object_v1_response_m_payload.py @@ -36,45 +36,9 @@ 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 958108a2..0f819bcf 100644 --- a/test/test_ezsignfoldersignerassociation_get_object_v2_response.py +++ b/test/test_ezsignfoldersignerassociation_get_object_v2_response.py @@ -36,28 +36,11 @@ 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 77038d36..1d0f0229 100644 --- a/test/test_ezsignfoldersignerassociation_patch_object_v1_response.py +++ b/test/test_ezsignfoldersignerassociation_patch_object_v1_response.py @@ -36,26 +36,9 @@ 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 5cfe8334..a5599814 100644 --- a/test/test_ezsignfoldersignerassociation_reassign_v1_response.py +++ b/test/test_ezsignfoldersignerassociation_reassign_v1_response.py @@ -36,26 +36,9 @@ 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 8daa1196..411eb46c 100644 --- a/test/test_ezsignfoldersignerassociation_request_compound.py +++ b/test/test_ezsignfoldersignerassociation_request_compound.py @@ -36,25 +36,10 @@ 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 70651abd..32ad12f3 100644 --- a/test/test_ezsignfoldersignerassociation_response_compound.py +++ b/test/test_ezsignfoldersignerassociation_response_compound.py @@ -36,20 +36,6 @@ 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, @@ -61,20 +47,6 @@ 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 7e373e07..c1c818be 100644 --- a/test/test_ezsignfoldertype_create_object_v3_response.py +++ b/test/test_ezsignfoldertype_create_object_v3_response.py @@ -36,15 +36,6 @@ 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 @@ -52,14 +43,6 @@ 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 3901e241..ead26e75 100644 --- a/test/test_ezsignfoldertype_edit_object_v3_response.py +++ b/test/test_ezsignfoldertype_edit_object_v3_response.py @@ -36,26 +36,9 @@ 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 edd0bb31..45e8dcce 100644 --- a/test/test_ezsignfoldertype_get_autocomplete_v2_response.py +++ b/test/test_ezsignfoldertype_get_autocomplete_v2_response.py @@ -36,15 +36,6 @@ 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( @@ -56,14 +47,6 @@ 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 422ec271..3f99003e 100644 --- a/test/test_ezsignfoldertype_get_list_v1_response.py +++ b/test/test_ezsignfoldertype_get_list_v1_response.py @@ -36,13 +36,10 @@ 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 02a9b8db..36b4a9ce 100644 --- a/test/test_ezsignfoldertype_get_list_v1_response_m_payload.py +++ b/test/test_ezsignfoldertype_get_list_v1_response_m_payload.py @@ -36,8 +36,6 @@ 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, @@ -48,8 +46,6 @@ 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 02d3d3cf..fb8f7b8d 100644 --- a/test/test_ezsignfoldertype_get_object_v2_response.py +++ b/test/test_ezsignfoldertype_get_object_v2_response.py @@ -36,28 +36,11 @@ 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 c55e99eb..cfea9334 100644 --- a/test/test_ezsignfoldertype_get_object_v4_response.py +++ b/test/test_ezsignfoldertype_get_object_v4_response.py @@ -36,28 +36,11 @@ 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 59e0260e..99b2f521 100644 --- a/test/test_ezsignfoldertype_request_compound_v3.py +++ b/test/test_ezsignfoldertype_request_compound_v3.py @@ -36,78 +36,6 @@ 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 ], @@ -117,25 +45,6 @@ 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 00a7a491..ce304e06 100644 --- a/test/test_ezsignfoldertype_response_compound.py +++ b/test/test_ezsignfoldertype_response_compound.py @@ -36,64 +36,6 @@ 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 ], @@ -103,32 +45,6 @@ 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 6f0dc9d6..f7b3cfd7 100644 --- a/test/test_ezsignfoldertype_response_compound_v4.py +++ b/test/test_ezsignfoldertype_response_compound_v4.py @@ -36,130 +36,6 @@ 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 ], @@ -169,49 +45,6 @@ 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 84e45620..6dfbc4d5 100644 --- a/test/test_ezsignformfield_request_compound.py +++ b/test/test_ezsignformfield_request_compound.py @@ -36,32 +36,12 @@ 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 772739e6..cdd17fe1 100644 --- a/test/test_ezsignformfield_response_compound.py +++ b/test/test_ezsignformfield_response_compound.py @@ -36,33 +36,12 @@ 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 fefce3fd..2a31365a 100644 --- a/test/test_ezsignformfieldgroup_create_object_v1_response.py +++ b/test/test_ezsignformfieldgroup_create_object_v1_response.py @@ -36,15 +36,6 @@ 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 @@ -52,14 +43,6 @@ 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 bbf85f70..20d0104e 100644 --- a/test/test_ezsignformfieldgroup_delete_object_v1_response.py +++ b/test/test_ezsignformfieldgroup_delete_object_v1_response.py @@ -36,26 +36,9 @@ 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 08dd90d6..22afde30 100644 --- a/test/test_ezsignformfieldgroup_edit_object_v1_response.py +++ b/test/test_ezsignformfieldgroup_edit_object_v1_response.py @@ -36,26 +36,9 @@ 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 e7b949ec..ce895314 100644 --- a/test/test_ezsignformfieldgroup_get_object_v2_response.py +++ b/test/test_ezsignformfieldgroup_get_object_v2_response.py @@ -36,28 +36,11 @@ 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 fdda7a18..315fc415 100644 --- a/test/test_ezsignformfieldgroup_request_compound.py +++ b/test/test_ezsignformfieldgroup_request_compound.py @@ -36,23 +36,6 @@ 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() ], @@ -65,13 +48,6 @@ 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 d0a21c5b..0a3f0544 100644 --- a/test/test_ezsignformfieldgroup_response_compound.py +++ b/test/test_ezsignformfieldgroup_response_compound.py @@ -36,23 +36,6 @@ 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() ], @@ -65,14 +48,6 @@ 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 79558d32..c9b7799c 100644 --- a/test/test_ezsignpage_consult_v1_response.py +++ b/test/test_ezsignpage_consult_v1_response.py @@ -36,26 +36,9 @@ 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 1742ca42..9078f960 100644 --- a/test/test_ezsignsignature_create_object_v1_response.py +++ b/test/test_ezsignsignature_create_object_v1_response.py @@ -36,15 +36,6 @@ 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 @@ -52,14 +43,6 @@ 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 8fc8e88c..b13d0279 100644 --- a/test/test_ezsignsignature_create_object_v2_response.py +++ b/test/test_ezsignsignature_create_object_v2_response.py @@ -36,15 +36,6 @@ 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 @@ -52,14 +43,6 @@ 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 ade2e5bc..eb0ae183 100644 --- a/test/test_ezsignsignature_create_object_v3_response.py +++ b/test/test_ezsignsignature_create_object_v3_response.py @@ -36,15 +36,6 @@ 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 @@ -52,14 +43,6 @@ 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 dde12412..677992cc 100644 --- a/test/test_ezsignsignature_delete_object_v1_response.py +++ b/test/test_ezsignsignature_delete_object_v1_response.py @@ -36,26 +36,9 @@ 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 adc55dfb..d72c1996 100644 --- a/test/test_ezsignsignature_edit_object_v2_response.py +++ b/test/test_ezsignsignature_edit_object_v2_response.py @@ -36,26 +36,9 @@ 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 dcbce520..6b72653e 100644 --- a/test/test_ezsignsignature_get_ezsignsignatureattachment_v1_response.py +++ b/test/test_ezsignsignature_get_ezsignsignatureattachment_v1_response.py @@ -36,15 +36,6 @@ 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( @@ -57,14 +48,6 @@ 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 11723627..a33fb567 100644 --- a/test/test_ezsignsignature_get_ezsignsignatures_automatic_v1_response.py +++ b/test/test_ezsignsignature_get_ezsignsignatures_automatic_v1_response.py @@ -36,15 +36,6 @@ 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' @@ -68,14 +59,6 @@ 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 cff114cc..65f699d3 100644 --- a/test/test_ezsignsignature_get_object_v3_response.py +++ b/test/test_ezsignsignature_get_object_v3_response.py @@ -36,28 +36,11 @@ 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 5229b532..675a3e86 100644 --- a/test/test_ezsignsignature_request_compound.py +++ b/test/test_ezsignsignature_request_compound.py @@ -36,33 +36,6 @@ 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() @@ -73,13 +46,6 @@ 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 3684efd6..685e9785 100644 --- a/test/test_ezsignsignature_request_compound_v2.py +++ b/test/test_ezsignsignature_request_compound_v2.py @@ -36,33 +36,6 @@ 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() @@ -73,13 +46,6 @@ 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 d0d96f62..88e380c4 100644 --- a/test/test_ezsignsignature_response_compound.py +++ b/test/test_ezsignsignature_response_compound.py @@ -36,49 +36,6 @@ 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 = [ @@ -98,18 +55,6 @@ 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 1d3e83ad..9e8b92b8 100644 --- a/test/test_ezsignsignature_response_compound_v3.py +++ b/test/test_ezsignsignature_response_compound_v3.py @@ -36,49 +36,6 @@ 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() @@ -94,18 +51,6 @@ 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_response.py b/test/test_ezsignsignature_sign_v1_response.py index e763f7db..6b3b3930 100644 --- a/test/test_ezsignsignature_sign_v1_response.py +++ b/test/test_ezsignsignature_sign_v1_response.py @@ -36,15 +36,6 @@ 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( @@ -53,14 +44,6 @@ 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 8a45124f..f2c9677c 100644 --- a/test/test_ezsignsigner_request_compound.py +++ b/test/test_ezsignsigner_request_compound.py @@ -36,11 +36,6 @@ 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', @@ -54,7 +49,6 @@ 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 c055e2e5..19dd6925 100644 --- a/test/test_ezsignsigner_response_compound.py +++ b/test/test_ezsignsigner_response_compound.py @@ -36,11 +36,6 @@ 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', @@ -53,10 +48,6 @@ 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 f6f24283..9a2bb4da 100644 --- a/test/test_ezsignsignergroup_create_object_v1_response.py +++ b/test/test_ezsignsignergroup_create_object_v1_response.py @@ -36,15 +36,6 @@ 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 @@ -52,14 +43,6 @@ 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 f7abd2e6..300a28a8 100644 --- a/test/test_ezsignsignergroup_delete_object_v1_response.py +++ b/test/test_ezsignsignergroup_delete_object_v1_response.py @@ -36,26 +36,9 @@ 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 1c86209a..07c350e2 100644 --- a/test/test_ezsignsignergroup_edit_ezsignsignergroupmemberships_v1_response.py +++ b/test/test_ezsignsignergroup_edit_ezsignsignergroupmemberships_v1_response.py @@ -36,15 +36,6 @@ 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 @@ -52,14 +43,6 @@ 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 29baf15d..88891c3c 100644 --- a/test/test_ezsignsignergroup_edit_object_v1_response.py +++ b/test/test_ezsignsignergroup_edit_object_v1_response.py @@ -36,26 +36,9 @@ 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 c5d844f6..7c81734e 100644 --- a/test/test_ezsignsignergroup_get_ezsignsignergroupmemberships_v1_response.py +++ b/test/test_ezsignsignergroup_get_ezsignsignergroupmemberships_v1_response.py @@ -36,15 +36,6 @@ 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() @@ -52,14 +43,6 @@ 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 995d27a9..c377f7ca 100644 --- a/test/test_ezsignsignergroup_get_object_v2_response.py +++ b/test/test_ezsignsignergroup_get_object_v2_response.py @@ -36,28 +36,11 @@ 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 df06958f..63a50d14 100644 --- a/test/test_ezsignsignergroup_request_compound.py +++ b/test/test_ezsignsignergroup_request_compound.py @@ -36,18 +36,9 @@ 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 d56cce33..32563190 100644 --- a/test/test_ezsignsignergroup_response_compound.py +++ b/test/test_ezsignsignergroup_response_compound.py @@ -36,18 +36,9 @@ 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 1311b8ef..4d334177 100644 --- a/test/test_ezsignsignergroupmembership_create_object_v1_response.py +++ b/test/test_ezsignsignergroupmembership_create_object_v1_response.py @@ -36,15 +36,6 @@ 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 @@ -52,14 +43,6 @@ 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 a5b2e4a9..c6fe6287 100644 --- a/test/test_ezsignsignergroupmembership_delete_object_v1_response.py +++ b/test/test_ezsignsignergroupmembership_delete_object_v1_response.py @@ -36,26 +36,9 @@ 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 62f6b2a2..e68af779 100644 --- a/test/test_ezsignsignergroupmembership_get_object_v2_response.py +++ b/test/test_ezsignsignergroupmembership_get_object_v2_response.py @@ -36,28 +36,11 @@ 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 c3e548e0..3c48859b 100644 --- a/test/test_ezsignsignergroupmembership_request_compound.py +++ b/test/test_ezsignsignergroupmembership_request_compound.py @@ -36,15 +36,9 @@ 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 4d5195a1..b85e93f0 100644 --- a/test/test_ezsignsignergroupmembership_response_compound.py +++ b/test/test_ezsignsignergroupmembership_response_compound.py @@ -36,16 +36,9 @@ 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 85f7c40c..eca56d7c 100644 --- a/test/test_ezsignsigningreason_create_object_v1_response.py +++ b/test/test_ezsignsigningreason_create_object_v1_response.py @@ -36,15 +36,6 @@ 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 @@ -52,14 +43,6 @@ 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 22bc33c4..e23d044d 100644 --- a/test/test_ezsignsigningreason_edit_object_v1_response.py +++ b/test/test_ezsignsigningreason_edit_object_v1_response.py @@ -36,26 +36,9 @@ 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 ca65a85f..1af46bf8 100644 --- a/test/test_ezsignsigningreason_get_autocomplete_v2_response.py +++ b/test/test_ezsignsigningreason_get_autocomplete_v2_response.py @@ -36,15 +36,6 @@ 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( @@ -55,14 +46,6 @@ 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 3c852ccb..cc23ed8c 100644 --- a/test/test_ezsignsigningreason_get_list_v1_response.py +++ b/test/test_ezsignsigningreason_get_list_v1_response.py @@ -36,13 +36,10 @@ 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 c810acb4..26d97ad5 100644 --- a/test/test_ezsignsigningreason_get_list_v1_response_m_payload.py +++ b/test/test_ezsignsigningreason_get_list_v1_response_m_payload.py @@ -36,8 +36,6 @@ 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, @@ -47,8 +45,6 @@ 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 f1e2f4ec..1530a84b 100644 --- a/test/test_ezsignsigningreason_get_object_v2_response.py +++ b/test/test_ezsignsigningreason_get_object_v2_response.py @@ -36,28 +36,11 @@ 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 0bfb5d0b..581d5658 100644 --- a/test/test_ezsignsigningreason_request_compound.py +++ b/test/test_ezsignsigningreason_request_compound.py @@ -36,18 +36,9 @@ 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 72376047..35a76c4a 100644 --- a/test/test_ezsignsigningreason_response_compound.py +++ b/test/test_ezsignsigningreason_response_compound.py @@ -36,19 +36,9 @@ 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 428cf679..686f2c9e 100644 --- a/test/test_ezsigntemplate_copy_v1_response.py +++ b/test/test_ezsigntemplate_copy_v1_response.py @@ -36,15 +36,6 @@ 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 @@ -52,14 +43,6 @@ 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 25810442..3310bdd3 100644 --- a/test/test_ezsigntemplate_create_object_v3_response.py +++ b/test/test_ezsigntemplate_create_object_v3_response.py @@ -36,15 +36,6 @@ 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 @@ -52,14 +43,6 @@ 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 262a6c37..b00ffb9b 100644 --- a/test/test_ezsigntemplate_delete_object_v1_response.py +++ b/test/test_ezsigntemplate_delete_object_v1_response.py @@ -36,26 +36,9 @@ 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 d71a4360..01930f38 100644 --- a/test/test_ezsigntemplate_edit_object_v3_response.py +++ b/test/test_ezsigntemplate_edit_object_v3_response.py @@ -36,26 +36,9 @@ 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 e4cb9f03..f2bfae05 100644 --- a/test/test_ezsigntemplate_get_autocomplete_v2_response.py +++ b/test/test_ezsigntemplate_get_autocomplete_v2_response.py @@ -36,15 +36,6 @@ 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( @@ -56,14 +47,6 @@ 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 24fbb37a..df3ac278 100644 --- a/test/test_ezsigntemplate_get_list_v1_response.py +++ b/test/test_ezsigntemplate_get_list_v1_response.py @@ -36,13 +36,10 @@ 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 6d7d8a23..17d62ec1 100644 --- a/test/test_ezsigntemplate_get_list_v1_response_m_payload.py +++ b/test/test_ezsigntemplate_get_list_v1_response_m_payload.py @@ -36,8 +36,6 @@ 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, @@ -54,8 +52,6 @@ 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 5b93daaa..a7bf1029 100644 --- a/test/test_ezsigntemplate_get_object_v3_response.py +++ b/test/test_ezsigntemplate_get_object_v3_response.py @@ -36,28 +36,11 @@ 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 0b561ec6..f3d771d2 100644 --- a/test/test_ezsigntemplate_request_compound_v3.py +++ b/test/test_ezsigntemplate_request_compound_v3.py @@ -36,24 +36,9 @@ 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 5fd43fe5..817e4a57 100644 --- a/test/test_ezsigntemplate_response_compound.py +++ b/test/test_ezsigntemplate_response_compound.py @@ -36,37 +36,6 @@ 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, @@ -81,29 +50,6 @@ 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 818686c8..efa4c4bb 100644 --- a/test/test_ezsigntemplate_response_compound_v3.py +++ b/test/test_ezsigntemplate_response_compound_v3.py @@ -36,39 +36,6 @@ 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, @@ -83,29 +50,6 @@ 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 9cb4fa45..f7e14aa7 100644 --- a/test/test_ezsigntemplatedocument_create_object_v1_response.py +++ b/test/test_ezsigntemplatedocument_create_object_v1_response.py @@ -36,15 +36,6 @@ 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 @@ -52,14 +43,6 @@ 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 68f81c21..3e026993 100644 --- a/test/test_ezsigntemplatedocument_edit_ezsigntemplatedocumentpagerecognitions_v1_response.py +++ b/test/test_ezsigntemplatedocument_edit_ezsigntemplatedocumentpagerecognitions_v1_response.py @@ -36,15 +36,6 @@ 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 @@ -52,14 +43,6 @@ 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 88ee3753..19f638aa 100644 --- a/test/test_ezsigntemplatedocument_edit_ezsigntemplateformfieldgroups_v1_response.py +++ b/test/test_ezsigntemplatedocument_edit_ezsigntemplateformfieldgroups_v1_response.py @@ -36,15 +36,6 @@ 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 @@ -52,14 +43,6 @@ 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 cbb5c084..131b16ec 100644 --- a/test/test_ezsigntemplatedocument_edit_ezsigntemplatesignatures_v1_response.py +++ b/test/test_ezsigntemplatedocument_edit_ezsigntemplatesignatures_v1_response.py @@ -36,15 +36,6 @@ 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 @@ -52,14 +43,6 @@ 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 d8c689cd..32e905de 100644 --- a/test/test_ezsigntemplatedocument_edit_object_v1_response.py +++ b/test/test_ezsigntemplatedocument_edit_object_v1_response.py @@ -36,15 +36,6 @@ 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 = '', @@ -53,14 +44,6 @@ 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 a4db9897..3e45a32f 100644 --- a/test/test_ezsigntemplatedocument_extract_text_v1_response.py +++ b/test/test_ezsigntemplatedocument_extract_text_v1_response.py @@ -36,28 +36,11 @@ 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 6a0f92d5..9a5ad3b9 100644 --- a/test/test_ezsigntemplatedocument_flatten_v1_response.py +++ b/test/test_ezsigntemplatedocument_flatten_v1_response.py @@ -36,26 +36,9 @@ 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 c141ce3d..88a82d8e 100644 --- a/test/test_ezsigntemplatedocument_get_ezsigntemplatedocumentpagerecognitions_v1_response.py +++ b/test/test_ezsigntemplatedocument_get_ezsigntemplatedocumentpagerecognitions_v1_response.py @@ -36,15 +36,6 @@ 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() @@ -52,14 +43,6 @@ 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 3ac0db54..2572b870 100644 --- a/test/test_ezsigntemplatedocument_get_ezsigntemplatedocumentpages_v1_response.py +++ b/test/test_ezsigntemplatedocument_get_ezsigntemplatedocumentpages_v1_response.py @@ -36,15 +36,6 @@ 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() @@ -52,14 +43,6 @@ 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 ec8df03a..c7263dff 100644 --- a/test/test_ezsigntemplatedocument_get_ezsigntemplateformfieldgroups_v1_response.py +++ b/test/test_ezsigntemplatedocument_get_ezsigntemplateformfieldgroups_v1_response.py @@ -36,15 +36,6 @@ 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() @@ -52,14 +43,6 @@ 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 cbd27886..59d5143f 100644 --- a/test/test_ezsigntemplatedocument_get_ezsigntemplatesignatures_v1_response.py +++ b/test/test_ezsigntemplatedocument_get_ezsigntemplatesignatures_v1_response.py @@ -36,15 +36,6 @@ 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() @@ -52,14 +43,6 @@ 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 cc7f0998..5a2e9222 100644 --- a/test/test_ezsigntemplatedocument_get_object_v2_response.py +++ b/test/test_ezsigntemplatedocument_get_object_v2_response.py @@ -36,28 +36,11 @@ 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 8dc95d03..a31f383a 100644 --- a/test/test_ezsigntemplatedocument_get_words_positions_v1_response.py +++ b/test/test_ezsigntemplatedocument_get_words_positions_v1_response.py @@ -36,15 +36,6 @@ 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 = '', @@ -58,14 +49,6 @@ 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 cc9914bf..d8c2af63 100644 --- a/test/test_ezsigntemplatedocument_patch_object_v1_response.py +++ b/test/test_ezsigntemplatedocument_patch_object_v1_response.py @@ -36,26 +36,9 @@ 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_compound.py b/test/test_ezsigntemplatedocument_request_compound.py index f891a045..89c433b8 100644 --- a/test/test_ezsigntemplatedocument_request_compound.py +++ b/test/test_ezsigntemplatedocument_request_compound.py @@ -36,24 +36,9 @@ 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 f17b981f..85736c57 100644 --- a/test/test_ezsigntemplatedocument_response_compound.py +++ b/test/test_ezsigntemplatedocument_response_compound.py @@ -36,23 +36,9 @@ 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 7775cfe5..f50b0dc7 100644 --- a/test/test_ezsigntemplatedocumentpagerecognition_create_object_v1_response.py +++ b/test/test_ezsigntemplatedocumentpagerecognition_create_object_v1_response.py @@ -36,15 +36,6 @@ 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 @@ -52,14 +43,6 @@ 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 7bf5ccd4..c1d17b16 100644 --- a/test/test_ezsigntemplatedocumentpagerecognition_delete_object_v1_response.py +++ b/test/test_ezsigntemplatedocumentpagerecognition_delete_object_v1_response.py @@ -36,26 +36,9 @@ 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 c3e67c29..1b6aa1c3 100644 --- a/test/test_ezsigntemplatedocumentpagerecognition_edit_object_v1_response.py +++ b/test/test_ezsigntemplatedocumentpagerecognition_edit_object_v1_response.py @@ -36,26 +36,9 @@ 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 080aea33..26636d63 100644 --- a/test/test_ezsigntemplatedocumentpagerecognition_get_object_v2_response.py +++ b/test/test_ezsigntemplatedocumentpagerecognition_get_object_v2_response.py @@ -36,28 +36,11 @@ 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 543f0ccd..f34b07d5 100644 --- a/test/test_ezsigntemplatedocumentpagerecognition_request_compound.py +++ b/test/test_ezsigntemplatedocumentpagerecognition_request_compound.py @@ -36,23 +36,9 @@ 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 f1ec97bf..ce00cb21 100644 --- a/test/test_ezsigntemplatedocumentpagerecognition_response_compound.py +++ b/test/test_ezsigntemplatedocumentpagerecognition_response_compound.py @@ -36,24 +36,9 @@ 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 c8680acd..2e6826fe 100644 --- a/test/test_ezsigntemplateformfield_request_compound.py +++ b/test/test_ezsigntemplateformfield_request_compound.py @@ -36,34 +36,12 @@ 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 817b0aac..2181c832 100644 --- a/test/test_ezsigntemplateformfield_response_compound.py +++ b/test/test_ezsigntemplateformfield_response_compound.py @@ -36,35 +36,12 @@ 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 a0d6b51e..782fc05b 100644 --- a/test/test_ezsigntemplateformfieldgroup_create_object_v1_response.py +++ b/test/test_ezsigntemplateformfieldgroup_create_object_v1_response.py @@ -36,15 +36,6 @@ 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 @@ -52,14 +43,6 @@ 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 2415df56..e6f881ae 100644 --- a/test/test_ezsigntemplateformfieldgroup_delete_object_v1_response.py +++ b/test/test_ezsigntemplateformfieldgroup_delete_object_v1_response.py @@ -36,26 +36,9 @@ 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 1ee0c047..e4e89056 100644 --- a/test/test_ezsigntemplateformfieldgroup_edit_object_v1_response.py +++ b/test/test_ezsigntemplateformfieldgroup_edit_object_v1_response.py @@ -36,26 +36,9 @@ 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 fd597ad6..5c3cc853 100644 --- a/test/test_ezsigntemplateformfieldgroup_get_object_v2_response.py +++ b/test/test_ezsigntemplateformfieldgroup_get_object_v2_response.py @@ -36,28 +36,11 @@ 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 1bed9d4d..b7e522cd 100644 --- a/test/test_ezsigntemplateformfieldgroup_request_compound.py +++ b/test/test_ezsigntemplateformfieldgroup_request_compound.py @@ -36,23 +36,6 @@ 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() ], @@ -65,14 +48,6 @@ 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 c02e9b78..6a9a74de 100644 --- a/test/test_ezsigntemplateformfieldgroup_response_compound.py +++ b/test/test_ezsigntemplateformfieldgroup_response_compound.py @@ -36,23 +36,6 @@ 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() ], @@ -65,14 +48,6 @@ 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 41e10155..2b4373eb 100644 --- a/test/test_ezsigntemplateglobal_get_autocomplete_v2_response.py +++ b/test/test_ezsigntemplateglobal_get_autocomplete_v2_response.py @@ -36,15 +36,6 @@ 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( @@ -55,14 +46,6 @@ 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 aa272f85..7fd81581 100644 --- a/test/test_ezsigntemplateglobal_get_object_v2_response.py +++ b/test/test_ezsigntemplateglobal_get_object_v2_response.py @@ -36,28 +36,11 @@ 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 0e9b94e2..342d69f8 100644 --- a/test/test_ezsigntemplateglobal_response_compound.py +++ b/test/test_ezsigntemplateglobal_response_compound.py @@ -36,16 +36,6 @@ 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', @@ -57,15 +47,6 @@ 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 c0c2f698..295c2978 100644 --- a/test/test_ezsigntemplateglobalsigner_response_compound.py +++ b/test/test_ezsigntemplateglobalsigner_response_compound.py @@ -36,15 +36,9 @@ 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 7a8d1886..fc771073 100644 --- a/test/test_ezsigntemplatepackage_create_object_v1_response.py +++ b/test/test_ezsigntemplatepackage_create_object_v1_response.py @@ -36,15 +36,6 @@ 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 @@ -52,14 +43,6 @@ 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 67e1d927..db382cf7 100644 --- a/test/test_ezsigntemplatepackage_delete_object_v1_response.py +++ b/test/test_ezsigntemplatepackage_delete_object_v1_response.py @@ -36,26 +36,9 @@ 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 a934fb65..21b1a541 100644 --- a/test/test_ezsigntemplatepackage_edit_ezsigntemplatepackagesigners_v1_response.py +++ b/test/test_ezsigntemplatepackage_edit_ezsigntemplatepackagesigners_v1_response.py @@ -36,15 +36,6 @@ 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 @@ -52,14 +43,6 @@ 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 b3084d7e..44f62d52 100644 --- a/test/test_ezsigntemplatepackage_edit_object_v1_response.py +++ b/test/test_ezsigntemplatepackage_edit_object_v1_response.py @@ -36,26 +36,9 @@ 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 1ba333f5..b82b9352 100644 --- a/test/test_ezsigntemplatepackage_get_autocomplete_v2_response.py +++ b/test/test_ezsigntemplatepackage_get_autocomplete_v2_response.py @@ -36,15 +36,6 @@ 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( @@ -57,14 +48,6 @@ 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 c2d41209..713a0b29 100644 --- a/test/test_ezsigntemplatepackage_get_list_v1_response.py +++ b/test/test_ezsigntemplatepackage_get_list_v1_response.py @@ -36,13 +36,10 @@ 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 0f642a70..f35870e4 100644 --- a/test/test_ezsigntemplatepackage_get_list_v1_response_m_payload.py +++ b/test/test_ezsigntemplatepackage_get_list_v1_response_m_payload.py @@ -36,8 +36,6 @@ 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, @@ -52,8 +50,6 @@ 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 c3ed2e0d..e0ed6803 100644 --- a/test/test_ezsigntemplatepackage_get_object_v2_response.py +++ b/test/test_ezsigntemplatepackage_get_object_v2_response.py @@ -36,28 +36,11 @@ 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 bcd482e1..e3aae9c5 100644 --- a/test/test_ezsigntemplatepackage_request_compound.py +++ b/test/test_ezsigntemplatepackage_request_compound.py @@ -36,21 +36,9 @@ 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 e8c40fd6..8167297a 100644 --- a/test/test_ezsigntemplatepackage_response_compound.py +++ b/test/test_ezsigntemplatepackage_response_compound.py @@ -36,18 +36,6 @@ 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() ], @@ -57,16 +45,6 @@ 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 80760fe0..44acbfab 100644 --- a/test/test_ezsigntemplatepackagemembership_create_object_v1_response.py +++ b/test/test_ezsigntemplatepackagemembership_create_object_v1_response.py @@ -36,15 +36,6 @@ 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 @@ -54,14 +45,6 @@ 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 629417ba..37da91f9 100644 --- a/test/test_ezsigntemplatepackagemembership_delete_object_v1_response.py +++ b/test/test_ezsigntemplatepackagemembership_delete_object_v1_response.py @@ -36,26 +36,9 @@ 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 abbbc859..35be5e3d 100644 --- a/test/test_ezsigntemplatepackagemembership_get_object_v2_response.py +++ b/test/test_ezsigntemplatepackagemembership_get_object_v2_response.py @@ -36,28 +36,11 @@ 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 69630a25..c46708d0 100644 --- a/test/test_ezsigntemplatepackagemembership_request_compound.py +++ b/test/test_ezsigntemplatepackagemembership_request_compound.py @@ -36,14 +36,9 @@ 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 757e948a..5d647e3a 100644 --- a/test/test_ezsigntemplatepackagemembership_response_compound.py +++ b/test/test_ezsigntemplatepackagemembership_response_compound.py @@ -36,10 +36,6 @@ 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() @@ -47,10 +43,6 @@ 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 9c57f4fa..8cf84e2b 100644 --- a/test/test_ezsigntemplatepackagesigner_create_object_v1_response.py +++ b/test/test_ezsigntemplatepackagesigner_create_object_v1_response.py @@ -36,15 +36,6 @@ 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 @@ -52,14 +43,6 @@ 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 4e939f11..b8c80482 100644 --- a/test/test_ezsigntemplatepackagesigner_delete_object_v1_response.py +++ b/test/test_ezsigntemplatepackagesigner_delete_object_v1_response.py @@ -36,29 +36,12 @@ 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 486316da..49dd05d3 100644 --- a/test/test_ezsigntemplatepackagesigner_edit_object_v1_response.py +++ b/test/test_ezsigntemplatepackagesigner_edit_object_v1_response.py @@ -36,26 +36,9 @@ 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 713c26ce..ac56e265 100644 --- a/test/test_ezsigntemplatepackagesigner_get_object_v2_response.py +++ b/test/test_ezsigntemplatepackagesigner_get_object_v2_response.py @@ -36,28 +36,11 @@ 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 f1b45a48..3c60a625 100644 --- a/test/test_ezsigntemplatepackagesigner_request_compound.py +++ b/test/test_ezsigntemplatepackagesigner_request_compound.py @@ -36,19 +36,9 @@ 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 6f566c8c..98843cab 100644 --- a/test/test_ezsigntemplatepackagesigner_response_compound.py +++ b/test/test_ezsigntemplatepackagesigner_response_compound.py @@ -36,23 +36,9 @@ 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 a79a610a..3eaf733f 100644 --- a/test/test_ezsigntemplatepackagesignermembership_create_object_v1_response.py +++ b/test/test_ezsigntemplatepackagesignermembership_create_object_v1_response.py @@ -36,15 +36,6 @@ 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 @@ -52,14 +43,6 @@ 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 a75d0f56..cbe4f2d0 100644 --- a/test/test_ezsigntemplatepackagesignermembership_delete_object_v1_response.py +++ b/test/test_ezsigntemplatepackagesignermembership_delete_object_v1_response.py @@ -36,29 +36,12 @@ 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 39db7f59..6e2fb376 100644 --- a/test/test_ezsigntemplatepackagesignermembership_get_object_v2_response.py +++ b/test/test_ezsigntemplatepackagesignermembership_get_object_v2_response.py @@ -36,28 +36,11 @@ 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 666d8de2..779e4391 100644 --- a/test/test_ezsigntemplatepackagesignermembership_request_compound.py +++ b/test/test_ezsigntemplatepackagesignermembership_request_compound.py @@ -36,17 +36,9 @@ 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 c84c90de..6c38e42f 100644 --- a/test/test_ezsigntemplatepackagesignermembership_response_compound.py +++ b/test/test_ezsigntemplatepackagesignermembership_response_compound.py @@ -36,18 +36,9 @@ 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 9b604fca..e2aa3c34 100644 --- a/test/test_ezsigntemplatepublic_create_ezsignfolder_v1_response.py +++ b/test/test_ezsigntemplatepublic_create_ezsignfolder_v1_response.py @@ -36,28 +36,11 @@ 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 0b1871af..1b113677 100644 --- a/test/test_ezsigntemplatepublic_create_object_v1_response.py +++ b/test/test_ezsigntemplatepublic_create_object_v1_response.py @@ -36,15 +36,6 @@ 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 @@ -52,14 +43,6 @@ 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 68ad2af8..3eadcec4 100644 --- a/test/test_ezsigntemplatepublic_edit_object_v1_response.py +++ b/test/test_ezsigntemplatepublic_edit_object_v1_response.py @@ -36,26 +36,9 @@ 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 afb0c500..1c19dbe7 100644 --- a/test/test_ezsigntemplatepublic_get_ezsigntemplatepublic_details_v1_response.py +++ b/test/test_ezsigntemplatepublic_get_ezsigntemplatepublic_details_v1_response.py @@ -36,15 +36,6 @@ 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, @@ -56,14 +47,6 @@ 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 236d0ebc..f69553dd 100644 --- a/test/test_ezsigntemplatepublic_get_forms_data_v1_response.py +++ b/test/test_ezsigntemplatepublic_get_forms_data_v1_response.py @@ -36,15 +36,6 @@ 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( @@ -77,14 +68,6 @@ 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 3b564c53..bf91afdf 100644 --- a/test/test_ezsigntemplatepublic_get_list_v1_response.py +++ b/test/test_ezsigntemplatepublic_get_list_v1_response.py @@ -36,13 +36,10 @@ 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 bf2c7872..95e208a3 100644 --- a/test/test_ezsigntemplatepublic_get_list_v1_response_m_payload.py +++ b/test/test_ezsigntemplatepublic_get_list_v1_response_m_payload.py @@ -36,8 +36,6 @@ 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, @@ -60,8 +58,6 @@ 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 36c3e1b5..c961265b 100644 --- a/test/test_ezsigntemplatepublic_get_object_v2_response.py +++ b/test/test_ezsigntemplatepublic_get_object_v2_response.py @@ -36,28 +36,11 @@ 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 eb848b00..188d0328 100644 --- a/test/test_ezsigntemplatepublic_request_compound.py +++ b/test/test_ezsigntemplatepublic_request_compound.py @@ -36,26 +36,9 @@ 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 e127b1aa..7d6879b2 100644 --- a/test/test_ezsigntemplatepublic_reset_limit_exceeded_counter_v1_response.py +++ b/test/test_ezsigntemplatepublic_reset_limit_exceeded_counter_v1_response.py @@ -36,28 +36,11 @@ 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 b7514ac4..58dc1fda 100644 --- a/test/test_ezsigntemplatepublic_reset_url_v1_response.py +++ b/test/test_ezsigntemplatepublic_reset_url_v1_response.py @@ -36,28 +36,11 @@ 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 694eface..6fd806e8 100644 --- a/test/test_ezsigntemplatepublic_response_compound.py +++ b/test/test_ezsigntemplatepublic_response_compound.py @@ -36,40 +36,6 @@ 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, @@ -90,21 +56,6 @@ 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 0d524af6..7974df58 100644 --- a/test/test_ezsigntemplatesignature_create_object_v2_response.py +++ b/test/test_ezsigntemplatesignature_create_object_v2_response.py @@ -36,15 +36,6 @@ 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 @@ -52,14 +43,6 @@ 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 c0107f64..70840c0f 100644 --- a/test/test_ezsigntemplatesignature_delete_object_v1_response.py +++ b/test/test_ezsigntemplatesignature_delete_object_v1_response.py @@ -36,26 +36,9 @@ 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 b4fc599d..a9b7d64e 100644 --- a/test/test_ezsigntemplatesignature_edit_object_v2_response.py +++ b/test/test_ezsigntemplatesignature_edit_object_v2_response.py @@ -36,26 +36,9 @@ 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 3ec25f06..8ad4ca10 100644 --- a/test/test_ezsigntemplatesignature_get_object_v3_response.py +++ b/test/test_ezsigntemplatesignature_get_object_v3_response.py @@ -36,28 +36,11 @@ 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 a700ce6c..e1dc94da 100644 --- a/test/test_ezsigntemplatesignature_request_compound.py +++ b/test/test_ezsigntemplatesignature_request_compound.py @@ -36,38 +36,6 @@ 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() @@ -78,11 +46,6 @@ 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 7e2b3eda..ba6ef7ed 100644 --- a/test/test_ezsigntemplatesignature_request_compound_v2.py +++ b/test/test_ezsigntemplatesignature_request_compound_v2.py @@ -36,38 +36,6 @@ 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() @@ -78,11 +46,6 @@ 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 682280e6..2f5d1819 100644 --- a/test/test_ezsigntemplatesignature_response_compound.py +++ b/test/test_ezsigntemplatesignature_response_compound.py @@ -36,38 +36,6 @@ 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() @@ -78,12 +46,6 @@ 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 0e383bfe..cca78a6a 100644 --- a/test/test_ezsigntemplatesignature_response_compound_v3.py +++ b/test/test_ezsigntemplatesignature_response_compound_v3.py @@ -36,38 +36,6 @@ 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() @@ -78,12 +46,6 @@ 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 d887ba42..c8a67bfb 100644 --- a/test/test_ezsigntemplatesigner_create_object_v1_response.py +++ b/test/test_ezsigntemplatesigner_create_object_v1_response.py @@ -36,15 +36,6 @@ 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 @@ -54,14 +45,6 @@ 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 99b7e167..206a7725 100644 --- a/test/test_ezsigntemplatesigner_delete_object_v1_response.py +++ b/test/test_ezsigntemplatesigner_delete_object_v1_response.py @@ -36,26 +36,9 @@ 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 53ef297b..76c7e19f 100644 --- a/test/test_ezsigntemplatesigner_edit_object_v1_response.py +++ b/test/test_ezsigntemplatesigner_edit_object_v1_response.py @@ -36,26 +36,9 @@ 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 6b48f202..70eefe44 100644 --- a/test/test_ezsigntemplatesigner_get_object_v2_response.py +++ b/test/test_ezsigntemplatesigner_get_object_v2_response.py @@ -36,28 +36,11 @@ 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 eb26fc79..a24cec33 100644 --- a/test/test_ezsigntemplatesigner_request_compound.py +++ b/test/test_ezsigntemplatesigner_request_compound.py @@ -36,19 +36,9 @@ 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 e742938b..dd7df1b1 100644 --- a/test/test_ezsigntemplatesigner_response_compound.py +++ b/test/test_ezsigntemplatesigner_response_compound.py @@ -36,22 +36,9 @@ 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 42920641..50270cfa 100644 --- a/test/test_ezsigntsarequirement_get_autocomplete_v2_response.py +++ b/test/test_ezsigntsarequirement_get_autocomplete_v2_response.py @@ -36,15 +36,6 @@ 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( @@ -56,14 +47,6 @@ 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 1eed1921..8c03e455 100644 --- a/test/test_ezsignuser_edit_object_v1_response.py +++ b/test/test_ezsignuser_edit_object_v1_response.py @@ -36,26 +36,9 @@ 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 942a5631..b2cbf10b 100644 --- a/test/test_ezsignuser_get_object_v2_response.py +++ b/test/test_ezsignuser_get_object_v2_response.py @@ -36,28 +36,11 @@ 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 b00713cd..a27b5c2b 100644 --- a/test/test_ezsignuser_request_compound.py +++ b/test/test_ezsignuser_request_compound.py @@ -36,14 +36,9 @@ 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 5db0e509..ccaca5c9 100644 --- a/test/test_ezsignuser_response_compound.py +++ b/test/test_ezsignuser_response_compound.py @@ -36,49 +36,9 @@ 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 9e7d99e3..be04ce21 100644 --- a/test/test_font_get_autocomplete_v2_response.py +++ b/test/test_font_get_autocomplete_v2_response.py @@ -36,15 +36,6 @@ 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( @@ -55,14 +46,6 @@ 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 4b8a0824..13a7b254 100644 --- a/test/test_franchisebroker_get_autocomplete_v2_response.py +++ b/test/test_franchisebroker_get_autocomplete_v2_response.py @@ -36,15 +36,6 @@ 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( @@ -55,14 +46,6 @@ 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 1871e48b..dc610c99 100644 --- a/test/test_franchiseoffice_get_autocomplete_v2_response.py +++ b/test/test_franchiseoffice_get_autocomplete_v2_response.py @@ -36,15 +36,6 @@ 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( @@ -55,14 +46,6 @@ 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 55ad4f93..2509968c 100644 --- a/test/test_franchisereferalincome_create_object_v2_response.py +++ b/test/test_franchisereferalincome_create_object_v2_response.py @@ -36,15 +36,6 @@ 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 @@ -52,14 +43,6 @@ 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 1e323ded..0d068f29 100644 --- a/test/test_franchisereferalincome_request_compound.py +++ b/test/test_franchisereferalincome_request_compound.py @@ -36,18 +36,6 @@ 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, @@ -66,17 +54,6 @@ 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 d71a3f08..4fdbf1b6 100644 --- a/test/test_glaccount_get_autocomplete_v2_response.py +++ b/test/test_glaccount_get_autocomplete_v2_response.py @@ -36,15 +36,6 @@ 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( @@ -56,14 +47,6 @@ 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 b5a10cc8..7751fca4 100644 --- a/test/test_glaccountcontainer_get_autocomplete_v2_response.py +++ b/test/test_glaccountcontainer_get_autocomplete_v2_response.py @@ -36,15 +36,6 @@ 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( @@ -56,14 +47,6 @@ 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 0bb2fb74..a86c9c38 100644 --- a/test/test_inscription_get_attachments_v1_response.py +++ b/test/test_inscription_get_attachments_v1_response.py @@ -36,15 +36,6 @@ 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( @@ -56,14 +47,6 @@ 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 95342b01..9ed73d0e 100644 --- a/test/test_inscription_get_communication_count_v1_response.py +++ b/test/test_inscription_get_communication_count_v1_response.py @@ -36,28 +36,11 @@ 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 e363404b..529b93e5 100644 --- a/test/test_inscription_get_communication_list_v1_response.py +++ b/test/test_inscription_get_communication_list_v1_response.py @@ -36,8 +36,6 @@ 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( @@ -54,7 +52,6 @@ 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 d0380ecc..7ccc3bc5 100644 --- a/test/test_inscription_get_communicationrecipients_v1_response.py +++ b/test/test_inscription_get_communicationrecipients_v1_response.py @@ -36,15 +36,6 @@ 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( @@ -79,14 +70,6 @@ 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 672c67a1..fefcf46e 100644 --- a/test/test_inscription_get_communicationsenders_v1_response.py +++ b/test/test_inscription_get_communicationsenders_v1_response.py @@ -36,15 +36,6 @@ 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( @@ -65,14 +56,6 @@ 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 4e837177..c3420c19 100644 --- a/test/test_inscriptionnotauthenticated_get_communication_count_v1_response.py +++ b/test/test_inscriptionnotauthenticated_get_communication_count_v1_response.py @@ -36,28 +36,11 @@ 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 db157b8e..93406307 100644 --- a/test/test_inscriptionnotauthenticated_get_communication_list_v1_response.py +++ b/test/test_inscriptionnotauthenticated_get_communication_list_v1_response.py @@ -36,8 +36,6 @@ 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( @@ -54,7 +52,6 @@ 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 5b4bc545..f2668ad8 100644 --- a/test/test_inscriptionnotauthenticated_get_communicationrecipients_v1_response.py +++ b/test/test_inscriptionnotauthenticated_get_communicationrecipients_v1_response.py @@ -36,15 +36,6 @@ 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( @@ -79,14 +70,6 @@ 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 730c88ec..2c26efbc 100644 --- a/test/test_inscriptionnotauthenticated_get_communicationsenders_v1_response.py +++ b/test/test_inscriptionnotauthenticated_get_communicationsenders_v1_response.py @@ -36,15 +36,6 @@ 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( @@ -65,14 +56,6 @@ 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 7c2c805a..98b0f5f7 100644 --- a/test/test_inscriptiontemp_get_communication_count_v1_response.py +++ b/test/test_inscriptiontemp_get_communication_count_v1_response.py @@ -36,28 +36,11 @@ 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 edbced5f..beb3b37e 100644 --- a/test/test_inscriptiontemp_get_communication_list_v1_response.py +++ b/test/test_inscriptiontemp_get_communication_list_v1_response.py @@ -36,8 +36,6 @@ 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( @@ -54,7 +52,6 @@ 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 5cca2e24..b43c62f9 100644 --- a/test/test_inscriptiontemp_get_communicationrecipients_v1_response.py +++ b/test/test_inscriptiontemp_get_communicationrecipients_v1_response.py @@ -36,15 +36,6 @@ 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( @@ -79,14 +70,6 @@ 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 2d5bf374..d02a0639 100644 --- a/test/test_inscriptiontemp_get_communicationsenders_v1_response.py +++ b/test/test_inscriptiontemp_get_communicationsenders_v1_response.py @@ -36,15 +36,6 @@ 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( @@ -65,14 +56,6 @@ 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 d9dad27f..d90e8ee8 100644 --- a/test/test_invoice_get_attachments_v1_response.py +++ b/test/test_invoice_get_attachments_v1_response.py @@ -36,15 +36,6 @@ 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( @@ -56,14 +47,6 @@ 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 80a2623e..6976b149 100644 --- a/test/test_invoice_get_communication_count_v1_response.py +++ b/test/test_invoice_get_communication_count_v1_response.py @@ -36,28 +36,11 @@ 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 d8976c38..361d2b82 100644 --- a/test/test_invoice_get_communication_list_v1_response.py +++ b/test/test_invoice_get_communication_list_v1_response.py @@ -36,8 +36,6 @@ 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( @@ -54,7 +52,6 @@ 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 70f7f543..14335d88 100644 --- a/test/test_invoice_get_communicationrecipients_v1_response.py +++ b/test/test_invoice_get_communicationrecipients_v1_response.py @@ -36,15 +36,6 @@ 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( @@ -79,14 +70,6 @@ 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 302e45ef..c6ccf837 100644 --- a/test/test_invoice_get_communicationsenders_v1_response.py +++ b/test/test_invoice_get_communicationsenders_v1_response.py @@ -36,15 +36,6 @@ 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( @@ -65,14 +56,6 @@ 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 1bb9f650..d7e4d1e0 100644 --- a/test/test_language_get_autocomplete_v2_response.py +++ b/test/test_language_get_autocomplete_v2_response.py @@ -36,15 +36,6 @@ 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( @@ -55,14 +46,6 @@ 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 6441da76..3c310566 100644 --- a/test/test_module_get_autocomplete_v2_response.py +++ b/test/test_module_get_autocomplete_v2_response.py @@ -36,15 +36,6 @@ 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( @@ -55,14 +46,6 @@ 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 78e9a822..ed4d723b 100644 --- a/test/test_module_response_compound.py +++ b/test/test_module_response_compound.py @@ -36,24 +36,12 @@ 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 05a07374..47e80a4e 100644 --- a/test/test_modulegroup_get_all_v1_response.py +++ b/test/test_modulegroup_get_all_v1_response.py @@ -36,15 +36,6 @@ 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() @@ -52,14 +43,6 @@ 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 575a62c6..5e8690b0 100644 --- a/test/test_modulegroup_response_compound.py +++ b/test/test_modulegroup_response_compound.py @@ -36,16 +36,12 @@ 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 a8400e50..8760f34c 100644 --- a/test/test_modulesection_response_compound.py +++ b/test/test_modulesection_response_compound.py @@ -36,20 +36,12 @@ 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 d7fd00b8..823e9e78 100644 --- a/test/test_notificationsection_get_notificationtests_v1_response.py +++ b/test/test_notificationsection_get_notificationtests_v1_response.py @@ -36,15 +36,6 @@ 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() @@ -52,14 +43,6 @@ 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 78ce96dd..d32f1923 100644 --- a/test/test_notificationtest_get_elements_v1_response.py +++ b/test/test_notificationtest_get_elements_v1_response.py @@ -36,15 +36,6 @@ 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', @@ -57,14 +48,6 @@ 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 45424b28..95a56346 100644 --- a/test/test_otherincome_get_communication_count_v1_response.py +++ b/test/test_otherincome_get_communication_count_v1_response.py @@ -36,28 +36,11 @@ 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 39ee442f..64365558 100644 --- a/test/test_otherincome_get_communication_list_v1_response.py +++ b/test/test_otherincome_get_communication_list_v1_response.py @@ -36,8 +36,6 @@ 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( @@ -54,7 +52,6 @@ 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 f3fecf47..829f9e8e 100644 --- a/test/test_otherincome_get_communicationrecipients_v1_response.py +++ b/test/test_otherincome_get_communicationrecipients_v1_response.py @@ -36,15 +36,6 @@ 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( @@ -79,14 +70,6 @@ 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 09f98758..16de6d44 100644 --- a/test/test_otherincome_get_communicationsenders_v1_response.py +++ b/test/test_otherincome_get_communicationsenders_v1_response.py @@ -36,15 +36,6 @@ 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( @@ -65,14 +56,6 @@ 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 01a895ec..9b85003b 100644 --- a/test/test_paymentterm_create_object_v1_response.py +++ b/test/test_paymentterm_create_object_v1_response.py @@ -36,15 +36,6 @@ 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 @@ -52,14 +43,6 @@ 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 bef19102..303c2771 100644 --- a/test/test_paymentterm_edit_object_v1_response.py +++ b/test/test_paymentterm_edit_object_v1_response.py @@ -36,26 +36,9 @@ 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 2e96be8e..287fea55 100644 --- a/test/test_paymentterm_get_autocomplete_v2_response.py +++ b/test/test_paymentterm_get_autocomplete_v2_response.py @@ -36,15 +36,6 @@ 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( @@ -55,14 +46,6 @@ 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 a974bb11..930d645a 100644 --- a/test/test_paymentterm_get_list_v1_response.py +++ b/test/test_paymentterm_get_list_v1_response.py @@ -36,13 +36,10 @@ 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 abd97577..2980b7ce 100644 --- a/test/test_paymentterm_get_list_v1_response_m_payload.py +++ b/test/test_paymentterm_get_list_v1_response_m_payload.py @@ -36,8 +36,6 @@ 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, @@ -50,8 +48,6 @@ 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 3a6558b5..5793e4fb 100644 --- a/test/test_paymentterm_get_object_v2_response.py +++ b/test/test_paymentterm_get_object_v2_response.py @@ -36,28 +36,11 @@ 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 3c7a451c..19c038a0 100644 --- a/test/test_paymentterm_request_compound.py +++ b/test/test_paymentterm_request_compound.py @@ -36,24 +36,9 @@ 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 da543aab..b79f7c9d 100644 --- a/test/test_paymentterm_response_compound.py +++ b/test/test_paymentterm_response_compound.py @@ -36,59 +36,9 @@ 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 3250b5cd..aaeecc08 100644 --- a/test/test_pdfalevel_get_autocomplete_v2_response.py +++ b/test/test_pdfalevel_get_autocomplete_v2_response.py @@ -36,15 +36,6 @@ 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( @@ -55,14 +46,6 @@ 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 4c1c6aef..8b401118 100644 --- a/test/test_period_get_autocomplete_v2_response.py +++ b/test/test_period_get_autocomplete_v2_response.py @@ -36,15 +36,6 @@ 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( @@ -55,14 +46,6 @@ 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 7743ecb5..b156d18c 100644 --- a/test/test_permission_create_object_v1_response.py +++ b/test/test_permission_create_object_v1_response.py @@ -36,15 +36,6 @@ 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 @@ -52,14 +43,6 @@ 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 2a6f0ad3..a65a1353 100644 --- a/test/test_permission_delete_object_v1_response.py +++ b/test/test_permission_delete_object_v1_response.py @@ -36,26 +36,9 @@ 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_response.py b/test/test_permission_edit_object_v1_response.py index cae609c5..426a849a 100644 --- a/test/test_permission_edit_object_v1_response.py +++ b/test/test_permission_edit_object_v1_response.py @@ -36,26 +36,9 @@ 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 fba6c735..0204f953 100644 --- a/test/test_permission_get_object_v2_response.py +++ b/test/test_permission_get_object_v2_response.py @@ -36,28 +36,11 @@ 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_phone_response_compound.py b/test/test_phone_response_compound.py index 78982dba..e7b864ae 100644 --- a/test/test_phone_response_compound.py +++ b/test/test_phone_response_compound.py @@ -36,17 +36,10 @@ 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 99aa7370..1032ea20 100644 --- a/test/test_phonetype_get_autocomplete_v2_response.py +++ b/test/test_phonetype_get_autocomplete_v2_response.py @@ -36,15 +36,6 @@ 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( @@ -55,14 +46,6 @@ 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 938fc181..4c420695 100644 --- a/test/test_province_get_autocomplete_v2_response.py +++ b/test/test_province_get_autocomplete_v2_response.py @@ -36,15 +36,6 @@ 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( @@ -57,14 +48,6 @@ 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 c5ee43d3..d05061c9 100644 --- a/test/test_rejectedoffertopurchase_get_communication_count_v1_response.py +++ b/test/test_rejectedoffertopurchase_get_communication_count_v1_response.py @@ -36,28 +36,11 @@ 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 15a2ff64..3fb506fb 100644 --- a/test/test_rejectedoffertopurchase_get_communication_list_v1_response.py +++ b/test/test_rejectedoffertopurchase_get_communication_list_v1_response.py @@ -36,8 +36,6 @@ 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( @@ -54,7 +52,6 @@ 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 b5bab2c9..abedce82 100644 --- a/test/test_rejectedoffertopurchase_get_communicationrecipients_v1_response.py +++ b/test/test_rejectedoffertopurchase_get_communicationrecipients_v1_response.py @@ -36,15 +36,6 @@ 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( @@ -79,14 +70,6 @@ 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 2ac97a2b..87f7f927 100644 --- a/test/test_rejectedoffertopurchase_get_communicationsenders_v1_response.py +++ b/test/test_rejectedoffertopurchase_get_communicationsenders_v1_response.py @@ -36,15 +36,6 @@ 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( @@ -65,14 +56,6 @@ 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 1d5e3c68..04fe5347 100644 --- a/test/test_secretquestion_get_autocomplete_v2_response.py +++ b/test/test_secretquestion_get_autocomplete_v2_response.py @@ -36,15 +36,6 @@ 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( @@ -55,14 +46,6 @@ 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 41450818..ef315562 100644 --- a/test/test_sessionhistory_get_list_v1_response.py +++ b/test/test_sessionhistory_get_list_v1_response.py @@ -36,13 +36,10 @@ 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 4ddec65d..07022a36 100644 --- a/test/test_sessionhistory_get_list_v1_response_m_payload.py +++ b/test/test_sessionhistory_get_list_v1_response_m_payload.py @@ -36,8 +36,6 @@ 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, @@ -54,8 +52,6 @@ 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 a605f4ae..1baade75 100644 --- a/test/test_signature_create_object_v1_response.py +++ b/test/test_signature_create_object_v1_response.py @@ -36,15 +36,6 @@ 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 @@ -52,14 +43,6 @@ 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 16bb317a..42f03f27 100644 --- a/test/test_signature_delete_object_v1_response.py +++ b/test/test_signature_delete_object_v1_response.py @@ -36,26 +36,9 @@ 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 b0aae0c8..108ab1a2 100644 --- a/test/test_signature_edit_object_v1_response.py +++ b/test/test_signature_edit_object_v1_response.py @@ -36,26 +36,9 @@ 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 de99b7bf..9e25a4ee 100644 --- a/test/test_signature_get_object_v2_response.py +++ b/test/test_signature_get_object_v2_response.py @@ -36,28 +36,11 @@ 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 2cd11631..7f4ac2a1 100644 --- a/test/test_signature_get_object_v3_response.py +++ b/test/test_signature_get_object_v3_response.py @@ -36,28 +36,11 @@ 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 74dfd694..8db579f0 100644 --- a/test/test_signature_request_compound.py +++ b/test/test_signature_request_compound.py @@ -36,16 +36,9 @@ 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 7527c423..d2430578 100644 --- a/test/test_signature_response_compound.py +++ b/test/test_signature_response_compound.py @@ -36,14 +36,9 @@ 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 bb83c5c5..f86516b4 100644 --- a/test/test_signature_response_compound_v3.py +++ b/test/test_signature_response_compound_v3.py @@ -36,19 +36,9 @@ 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 3a4f538c..345c8997 100644 --- a/test/test_subnet_create_object_v1_response.py +++ b/test/test_subnet_create_object_v1_response.py @@ -36,15 +36,6 @@ 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 @@ -52,14 +43,6 @@ 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 b00cc9f2..6694500f 100644 --- a/test/test_subnet_delete_object_v1_response.py +++ b/test/test_subnet_delete_object_v1_response.py @@ -36,26 +36,9 @@ 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 2b91e612..be4f8ecb 100644 --- a/test/test_subnet_edit_object_v1_response.py +++ b/test/test_subnet_edit_object_v1_response.py @@ -36,26 +36,9 @@ 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 6d543c0d..754f0662 100644 --- a/test/test_subnet_get_object_v2_response.py +++ b/test/test_subnet_get_object_v2_response.py @@ -36,28 +36,11 @@ 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 0cd27f46..3461fae1 100644 --- a/test/test_subnet_request_compound.py +++ b/test/test_subnet_request_compound.py @@ -36,22 +36,9 @@ 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 341edfd2..dc1234f4 100644 --- a/test/test_subnet_response_compound.py +++ b/test/test_subnet_response_compound.py @@ -36,23 +36,9 @@ 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 7907a24c..8b0f0625 100644 --- a/test/test_supply_create_object_v1_response.py +++ b/test/test_supply_create_object_v1_response.py @@ -36,15 +36,6 @@ 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 @@ -52,14 +43,6 @@ 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 5b45d2df..cfe5e03f 100644 --- a/test/test_supply_delete_object_v1_response.py +++ b/test/test_supply_delete_object_v1_response.py @@ -36,26 +36,9 @@ 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 e234bfbe..0dbe64e3 100644 --- a/test/test_supply_edit_object_v1_response.py +++ b/test/test_supply_edit_object_v1_response.py @@ -36,26 +36,9 @@ 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 f7ac164b..3417017c 100644 --- a/test/test_supply_get_autocomplete_v2_response.py +++ b/test/test_supply_get_autocomplete_v2_response.py @@ -36,15 +36,6 @@ 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( @@ -55,14 +46,6 @@ 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 efeb63ed..367e359e 100644 --- a/test/test_supply_get_list_v1_response.py +++ b/test/test_supply_get_list_v1_response.py @@ -36,13 +36,10 @@ 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 d2d6d907..97b666bb 100644 --- a/test/test_supply_get_list_v1_response_m_payload.py +++ b/test/test_supply_get_list_v1_response_m_payload.py @@ -36,8 +36,6 @@ 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, @@ -56,8 +54,6 @@ 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 5a195473..3c922956 100644 --- a/test/test_supply_get_object_v2_response.py +++ b/test/test_supply_get_object_v2_response.py @@ -36,28 +36,11 @@ 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 c094292e..e40c94c9 100644 --- a/test/test_supply_request_compound.py +++ b/test/test_supply_request_compound.py @@ -36,28 +36,9 @@ 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 435dadcb..2f1424f8 100644 --- a/test/test_supply_response_compound.py +++ b/test/test_supply_response_compound.py @@ -36,32 +36,9 @@ 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 9f307a07..4c26b9a1 100644 --- a/test/test_systemconfiguration_edit_object_v1_response.py +++ b/test/test_systemconfiguration_edit_object_v1_response.py @@ -36,26 +36,9 @@ 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 696e0c45..aac70999 100644 --- a/test/test_systemconfiguration_get_object_v2_response.py +++ b/test/test_systemconfiguration_get_object_v2_response.py @@ -36,28 +36,11 @@ 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 e083f897..2ebcfe29 100644 --- a/test/test_systemconfiguration_request_compound.py +++ b/test/test_systemconfiguration_request_compound.py @@ -36,26 +36,9 @@ 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 db7d9069..8abc8868 100644 --- a/test/test_systemconfiguration_response_compound.py +++ b/test/test_systemconfiguration_response_compound.py @@ -36,36 +36,9 @@ 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 1e85cc24..6524d5d3 100644 --- a/test/test_taxassignment_get_autocomplete_v2_response.py +++ b/test/test_taxassignment_get_autocomplete_v2_response.py @@ -36,15 +36,6 @@ 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( @@ -55,14 +46,6 @@ 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 85c60ea3..63495d5f 100644 --- a/test/test_textstylestatic_request_compound.py +++ b/test/test_textstylestatic_request_compound.py @@ -36,23 +36,9 @@ 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 aecc2730..0067e54c 100644 --- a/test/test_textstylestatic_response_compound.py +++ b/test/test_textstylestatic_response_compound.py @@ -36,26 +36,9 @@ 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 5c18df54..5024d3f8 100644 --- a/test/test_timezone_get_autocomplete_v2_response.py +++ b/test/test_timezone_get_autocomplete_v2_response.py @@ -36,15 +36,6 @@ 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( @@ -55,14 +46,6 @@ 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 68d5a7c3..ef2544dd 100644 --- a/test/test_tranqcontract_get_communication_count_v1_response.py +++ b/test/test_tranqcontract_get_communication_count_v1_response.py @@ -36,28 +36,11 @@ 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 bbc1b684..90b221c6 100644 --- a/test/test_tranqcontract_get_communication_list_v1_response.py +++ b/test/test_tranqcontract_get_communication_list_v1_response.py @@ -36,8 +36,6 @@ 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( @@ -54,7 +52,6 @@ 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 36ec1d19..4b1133b1 100644 --- a/test/test_tranqcontract_get_communicationrecipients_v1_response.py +++ b/test/test_tranqcontract_get_communicationrecipients_v1_response.py @@ -36,15 +36,6 @@ 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( @@ -79,14 +70,6 @@ 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 f3c1a374..57fde34e 100644 --- a/test/test_tranqcontract_get_communicationsenders_v1_response.py +++ b/test/test_tranqcontract_get_communicationsenders_v1_response.py @@ -36,15 +36,6 @@ 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( @@ -65,14 +56,6 @@ 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 34e799ee..af8bff34 100644 --- a/test/test_user_create_ezsignuser_v1_response.py +++ b/test/test_user_create_ezsignuser_v1_response.py @@ -36,27 +36,10 @@ 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 92d0c91e..2142dca4 100644 --- a/test/test_user_create_object_v1_response.py +++ b/test/test_user_create_object_v1_response.py @@ -36,15 +36,6 @@ 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 @@ -52,14 +43,6 @@ 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 33b3f8f9..dc7df1ef 100644 --- a/test/test_user_create_object_v2_response.py +++ b/test/test_user_create_object_v2_response.py @@ -36,15 +36,6 @@ 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 @@ -52,14 +43,6 @@ 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 0608a432..d9a2fc1c 100644 --- a/test/test_user_edit_colleagues_v2_response.py +++ b/test/test_user_edit_colleagues_v2_response.py @@ -36,15 +36,6 @@ 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 @@ -52,14 +43,6 @@ 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 7f974e59..d9ef7ada 100644 --- a/test/test_user_edit_object_v1_response.py +++ b/test/test_user_edit_object_v1_response.py @@ -36,26 +36,9 @@ 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 41fc3dee..3aeaa854 100644 --- a/test/test_user_edit_permissions_v1_response.py +++ b/test/test_user_edit_permissions_v1_response.py @@ -36,15 +36,6 @@ 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 @@ -52,14 +43,6 @@ 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 fb0ce8a8..55819003 100644 --- a/test/test_user_get_apikeys_v1_response.py +++ b/test/test_user_get_apikeys_v1_response.py @@ -36,15 +36,6 @@ 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() @@ -52,14 +43,6 @@ 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 fe91e18f..0e4eb2a9 100644 --- a/test/test_user_get_autocomplete_v2_response.py +++ b/test/test_user_get_autocomplete_v2_response.py @@ -36,15 +36,6 @@ 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( @@ -56,14 +47,6 @@ 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 1b4e2112..060f7a5a 100644 --- a/test/test_user_get_colleagues_v2_response.py +++ b/test/test_user_get_colleagues_v2_response.py @@ -36,15 +36,6 @@ 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() @@ -55,14 +46,6 @@ 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 2a3561bf..daf682d0 100644 --- a/test/test_user_get_effective_permissions_v1_response.py +++ b/test/test_user_get_effective_permissions_v1_response.py @@ -36,15 +36,6 @@ 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() @@ -52,14 +43,6 @@ 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 cd97b3b0..0cefc823 100644 --- a/test/test_user_get_list_v1_response.py +++ b/test/test_user_get_list_v1_response.py @@ -36,13 +36,10 @@ 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 908b5b39..23358dd0 100644 --- a/test/test_user_get_list_v1_response_m_payload.py +++ b/test/test_user_get_list_v1_response_m_payload.py @@ -36,8 +36,6 @@ 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, @@ -55,8 +53,6 @@ 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 bd4e6a81..939aea9b 100644 --- a/test/test_user_get_object_v2_response.py +++ b/test/test_user_get_object_v2_response.py @@ -36,28 +36,11 @@ 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_permissions_v1_response.py b/test/test_user_get_permissions_v1_response.py index dc137432..7fdd18e0 100644 --- a/test/test_user_get_permissions_v1_response.py +++ b/test/test_user_get_permissions_v1_response.py @@ -36,15 +36,6 @@ 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() @@ -52,14 +43,6 @@ 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 155bc95e..2715f43e 100644 --- a/test/test_user_get_subnets_v1_response.py +++ b/test/test_user_get_subnets_v1_response.py @@ -36,15 +36,6 @@ 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() @@ -52,14 +43,6 @@ 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 558d2ffb..df5978f7 100644 --- a/test/test_user_get_usergroupexternals_v1_response.py +++ b/test/test_user_get_usergroupexternals_v1_response.py @@ -36,15 +36,6 @@ 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() @@ -52,14 +43,6 @@ 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 9832ce45..77304a3d 100644 --- a/test/test_user_get_usergroups_v1_response.py +++ b/test/test_user_get_usergroups_v1_response.py @@ -36,15 +36,6 @@ 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() @@ -52,14 +43,6 @@ 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_compound.py b/test/test_user_request_compound.py index 91cf740d..35d1872e 100644 --- a/test/test_user_request_compound.py +++ b/test/test_user_request_compound.py @@ -36,74 +36,9 @@ 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.email-Request( - pki_email_id = 22, - fki_emailtype_id = 1, - s_email_address = 'email@example.com', ), - 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', ), - 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.email-Request( - pki_email_id = 22, - fki_emailtype_id = 1, - s_email_address = 'email@example.com', ), - 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 47ca9c09..da9563af 100644 --- a/test/test_user_request_compound_v2.py +++ b/test/test_user_request_compound_v2.py @@ -36,64 +36,9 @@ 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.email-Request( - pki_email_id = 22, - fki_emailtype_id = 1, - s_email_address = 'email@example.com', ), - 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', ), - 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.email-Request( - pki_email_id = 22, - fki_emailtype_id = 1, - s_email_address = 'email@example.com', ), - 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_send_password_reset_v1_response.py b/test/test_user_send_password_reset_v1_response.py index b96f473c..3bf8f1ce 100644 --- a/test/test_user_send_password_reset_v1_response.py +++ b/test/test_user_send_password_reset_v1_response.py @@ -36,26 +36,9 @@ 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 3a47f85b..083a6ff7 100644 --- a/test/test_usergroup_create_object_v1_response.py +++ b/test/test_usergroup_create_object_v1_response.py @@ -36,15 +36,6 @@ 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 @@ -52,14 +43,6 @@ 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 81fe22b5..589dcf04 100644 --- a/test/test_usergroup_edit_object_v1_response.py +++ b/test/test_usergroup_edit_object_v1_response.py @@ -36,26 +36,9 @@ 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 4f78ab4a..dd307845 100644 --- a/test/test_usergroup_edit_permissions_v1_response.py +++ b/test/test_usergroup_edit_permissions_v1_response.py @@ -36,15 +36,6 @@ 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 @@ -52,14 +43,6 @@ 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 19462e8f..1c4fee44 100644 --- a/test/test_usergroup_edit_usergroupdelegations_v1_response.py +++ b/test/test_usergroup_edit_usergroupdelegations_v1_response.py @@ -36,15 +36,6 @@ 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 @@ -52,14 +43,6 @@ 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 bc955aa3..618d805c 100644 --- a/test/test_usergroup_edit_usergroupmemberships_v1_response.py +++ b/test/test_usergroup_edit_usergroupmemberships_v1_response.py @@ -36,15 +36,6 @@ 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 @@ -52,14 +43,6 @@ 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 d235c473..fd7da087 100644 --- a/test/test_usergroup_get_autocomplete_v2_response.py +++ b/test/test_usergroup_get_autocomplete_v2_response.py @@ -36,15 +36,6 @@ 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( @@ -55,14 +46,6 @@ 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 8f87f4da..9543edb9 100644 --- a/test/test_usergroup_get_list_v1_response.py +++ b/test/test_usergroup_get_list_v1_response.py @@ -36,13 +36,10 @@ 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 927d5f1b..2a8264c3 100644 --- a/test/test_usergroup_get_list_v1_response_m_payload.py +++ b/test/test_usergroup_get_list_v1_response_m_payload.py @@ -36,8 +36,6 @@ 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, @@ -47,8 +45,6 @@ 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 d758197c..40cd2090 100644 --- a/test/test_usergroup_get_object_v2_response.py +++ b/test/test_usergroup_get_object_v2_response.py @@ -36,28 +36,11 @@ 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 8f0399a6..da310d81 100644 --- a/test/test_usergroup_get_permissions_v1_response.py +++ b/test/test_usergroup_get_permissions_v1_response.py @@ -36,15 +36,6 @@ 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() @@ -52,14 +43,6 @@ 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 0c145030..04ec4143 100644 --- a/test/test_usergroup_get_usergroupdelegations_v1_response.py +++ b/test/test_usergroup_get_usergroupdelegations_v1_response.py @@ -36,15 +36,6 @@ 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() @@ -52,14 +43,6 @@ 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 b1670f54..423c11f5 100644 --- a/test/test_usergroup_get_usergroupmemberships_v1_response.py +++ b/test/test_usergroup_get_usergroupmemberships_v1_response.py @@ -36,15 +36,6 @@ 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() @@ -52,14 +43,6 @@ 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 e818f417..4cd19f3a 100644 --- a/test/test_usergroup_request_compound.py +++ b/test/test_usergroup_request_compound.py @@ -36,20 +36,9 @@ 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 f17cee75..6b92fbdf 100644 --- a/test/test_usergroup_response_compound.py +++ b/test/test_usergroup_response_compound.py @@ -36,22 +36,9 @@ 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 af651c6a..0a5cdfed 100644 --- a/test/test_usergroupdelegation_create_object_v1_response.py +++ b/test/test_usergroupdelegation_create_object_v1_response.py @@ -36,15 +36,6 @@ 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 @@ -52,14 +43,6 @@ 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 510900c3..ce79faa4 100644 --- a/test/test_usergroupdelegation_delete_object_v1_response.py +++ b/test/test_usergroupdelegation_delete_object_v1_response.py @@ -36,26 +36,9 @@ 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 989b0652..80f2e887 100644 --- a/test/test_usergroupdelegation_edit_object_v1_response.py +++ b/test/test_usergroupdelegation_edit_object_v1_response.py @@ -36,26 +36,9 @@ 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 10b3804d..2f502c69 100644 --- a/test/test_usergroupdelegation_get_object_v2_response.py +++ b/test/test_usergroupdelegation_get_object_v2_response.py @@ -36,28 +36,11 @@ 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 8a4b8db6..dd590811 100644 --- a/test/test_usergroupdelegation_request_compound.py +++ b/test/test_usergroupdelegation_request_compound.py @@ -36,14 +36,9 @@ 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 086055cf..5c691bb0 100644 --- a/test/test_usergroupdelegation_response_compound.py +++ b/test/test_usergroupdelegation_response_compound.py @@ -36,24 +36,9 @@ 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 1a904615..13598c18 100644 --- a/test/test_usergroupexternal_create_object_v1_response.py +++ b/test/test_usergroupexternal_create_object_v1_response.py @@ -36,15 +36,6 @@ 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 @@ -52,14 +43,6 @@ 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 5936c14f..8c1bcf0c 100644 --- a/test/test_usergroupexternal_delete_object_v1_response.py +++ b/test/test_usergroupexternal_delete_object_v1_response.py @@ -36,26 +36,9 @@ 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 30dc4640..3aa56e97 100644 --- a/test/test_usergroupexternal_edit_object_v1_response.py +++ b/test/test_usergroupexternal_edit_object_v1_response.py @@ -36,26 +36,9 @@ 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 2aceb0c5..b54ae8b2 100644 --- a/test/test_usergroupexternal_get_autocomplete_v2_response.py +++ b/test/test_usergroupexternal_get_autocomplete_v2_response.py @@ -36,15 +36,6 @@ 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( @@ -55,14 +46,6 @@ 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 99d45267..3fc90e0d 100644 --- a/test/test_usergroupexternal_get_list_v1_response.py +++ b/test/test_usergroupexternal_get_list_v1_response.py @@ -36,13 +36,10 @@ 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 0fd9efda..c9a8ddc9 100644 --- a/test/test_usergroupexternal_get_list_v1_response_m_payload.py +++ b/test/test_usergroupexternal_get_list_v1_response_m_payload.py @@ -36,8 +36,6 @@ 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, @@ -47,8 +45,6 @@ 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 4e9dae80..19e52996 100644 --- a/test/test_usergroupexternal_get_object_v2_response.py +++ b/test/test_usergroupexternal_get_object_v2_response.py @@ -36,28 +36,11 @@ 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 063d43e6..49466061 100644 --- a/test/test_usergroupexternal_get_usergroupexternalmemberships_v1_response.py +++ b/test/test_usergroupexternal_get_usergroupexternalmemberships_v1_response.py @@ -36,15 +36,6 @@ 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() @@ -52,14 +43,6 @@ 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 9897f392..5022d4ab 100644 --- a/test/test_usergroupexternal_get_usergroups_v1_response.py +++ b/test/test_usergroupexternal_get_usergroups_v1_response.py @@ -36,15 +36,6 @@ 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() @@ -52,14 +43,6 @@ 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 14b4ed24..a280695c 100644 --- a/test/test_usergroupexternal_request_compound.py +++ b/test/test_usergroupexternal_request_compound.py @@ -36,14 +36,9 @@ 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 4e109aae..223471a7 100644 --- a/test/test_usergroupexternal_response_compound.py +++ b/test/test_usergroupexternal_response_compound.py @@ -36,15 +36,9 @@ 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 de668e72..92e7f317 100644 --- a/test/test_usergroupexternalmembership_response_compound.py +++ b/test/test_usergroupexternalmembership_response_compound.py @@ -36,25 +36,9 @@ 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 b5337862..527e6def 100644 --- a/test/test_usergroupmembership_create_object_v1_response.py +++ b/test/test_usergroupmembership_create_object_v1_response.py @@ -36,15 +36,6 @@ 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 @@ -52,14 +43,6 @@ 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 3511b9c5..c6291772 100644 --- a/test/test_usergroupmembership_delete_object_v1_response.py +++ b/test/test_usergroupmembership_delete_object_v1_response.py @@ -36,26 +36,9 @@ 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 4ef0eeff..5279e389 100644 --- a/test/test_usergroupmembership_edit_object_v1_response.py +++ b/test/test_usergroupmembership_edit_object_v1_response.py @@ -36,26 +36,9 @@ 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 8ae8db35..e9c338e5 100644 --- a/test/test_usergroupmembership_get_object_v2_response.py +++ b/test/test_usergroupmembership_get_object_v2_response.py @@ -36,28 +36,11 @@ 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 5c47b6d8..bb986bf6 100644 --- a/test/test_usergroupmembership_request_compound.py +++ b/test/test_usergroupmembership_request_compound.py @@ -36,14 +36,9 @@ 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 e306de56..09d02463 100644 --- a/test/test_usergroupmembership_response_compound.py +++ b/test/test_usergroupmembership_response_compound.py @@ -36,22 +36,9 @@ 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 0411643c..95353250 100644 --- a/test/test_userlogintype_get_autocomplete_v2_response.py +++ b/test/test_userlogintype_get_autocomplete_v2_response.py @@ -36,15 +36,6 @@ 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( @@ -55,14 +46,6 @@ 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 4e6cb74e..a28f82e7 100644 --- a/test/test_userstaged_create_user_v1_response.py +++ b/test/test_userstaged_create_user_v1_response.py @@ -36,28 +36,11 @@ 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 9a0acbf6..1f927c59 100644 --- a/test/test_userstaged_delete_object_v1_response.py +++ b/test/test_userstaged_delete_object_v1_response.py @@ -36,26 +36,9 @@ 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 7114ce46..a997a6d4 100644 --- a/test/test_userstaged_get_list_v1_response.py +++ b/test/test_userstaged_get_list_v1_response.py @@ -36,13 +36,10 @@ 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 c1c497d3..c74c3c43 100644 --- a/test/test_userstaged_get_list_v1_response_m_payload.py +++ b/test/test_userstaged_get_list_v1_response_m_payload.py @@ -36,8 +36,6 @@ 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, @@ -49,8 +47,6 @@ 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 e55e20fd..21fda29d 100644 --- a/test/test_userstaged_get_object_v2_response.py +++ b/test/test_userstaged_get_object_v2_response.py @@ -36,28 +36,11 @@ 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_map_v1_response.py b/test/test_userstaged_map_v1_response.py index c366e2f0..d24c75bb 100644 --- a/test/test_userstaged_map_v1_response.py +++ b/test/test_userstaged_map_v1_response.py @@ -36,26 +36,9 @@ 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 3f655bd0..3d7041ce 100644 --- a/test/test_variableexpense_create_object_v1_response.py +++ b/test/test_variableexpense_create_object_v1_response.py @@ -36,15 +36,6 @@ 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 @@ -52,14 +43,6 @@ 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 93093223..88df1130 100644 --- a/test/test_variableexpense_edit_object_v1_response.py +++ b/test/test_variableexpense_edit_object_v1_response.py @@ -36,26 +36,9 @@ 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 8c8ad8d2..5df940d1 100644 --- a/test/test_variableexpense_get_autocomplete_v2_response.py +++ b/test/test_variableexpense_get_autocomplete_v2_response.py @@ -36,15 +36,6 @@ 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( @@ -55,14 +46,6 @@ 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 4e2cbb10..84c66cef 100644 --- a/test/test_variableexpense_get_list_v1_response.py +++ b/test/test_variableexpense_get_list_v1_response.py @@ -36,13 +36,10 @@ 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 11b05c2a..dddf02c9 100644 --- a/test/test_variableexpense_get_list_v1_response_m_payload.py +++ b/test/test_variableexpense_get_list_v1_response_m_payload.py @@ -36,8 +36,6 @@ 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, @@ -49,8 +47,6 @@ 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 31a26f52..25355cf7 100644 --- a/test/test_variableexpense_get_object_v2_response.py +++ b/test/test_variableexpense_get_object_v2_response.py @@ -36,28 +36,11 @@ 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 de1dcd59..e2653f4d 100644 --- a/test/test_variableexpense_request_compound.py +++ b/test/test_variableexpense_request_compound.py @@ -36,22 +36,9 @@ 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 f4de9641..0322a580 100644 --- a/test/test_variableexpense_response_compound.py +++ b/test/test_variableexpense_response_compound.py @@ -36,20 +36,9 @@ 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 d39926b5..3be298b3 100644 --- a/test/test_versionhistory_get_object_v2_response.py +++ b/test/test_versionhistory_get_object_v2_response.py @@ -36,28 +36,11 @@ 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 8cce8e86..5903cfcc 100644 --- a/test/test_versionhistory_response_compound.py +++ b/test/test_versionhistory_response_compound.py @@ -36,29 +36,9 @@ 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 18176a04..d2dafd11 100644 --- a/test/test_webhook_create_object_v2_response.py +++ b/test/test_webhook_create_object_v2_response.py @@ -36,15 +36,6 @@ 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() @@ -52,14 +43,6 @@ 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 a9b2294f..35460450 100644 --- a/test/test_webhook_delete_object_v1_response.py +++ b/test/test_webhook_delete_object_v1_response.py @@ -36,26 +36,9 @@ 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 fa23b849..d20d354b 100644 --- a/test/test_webhook_edit_object_v1_response.py +++ b/test/test_webhook_edit_object_v1_response.py @@ -36,26 +36,9 @@ 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 feef5bd9..2e2898ab 100644 --- a/test/test_webhook_ezsign_document_completed.py +++ b/test/test_webhook_ezsign_document_completed.py @@ -36,10 +36,6 @@ 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, @@ -84,10 +80,6 @@ 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 c94e600f..d6d5c655 100644 --- a/test/test_webhook_ezsign_document_form_completed.py +++ b/test/test_webhook_ezsign_document_form_completed.py @@ -36,10 +36,6 @@ 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, @@ -84,10 +80,6 @@ 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 860fc478..9e540454 100644 --- a/test/test_webhook_ezsign_document_unsent.py +++ b/test/test_webhook_ezsign_document_unsent.py @@ -36,10 +36,6 @@ 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, @@ -84,10 +80,6 @@ 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 535afca1..f8be6036 100644 --- a/test/test_webhook_ezsign_ezsignsigner_acceptclause.py +++ b/test/test_webhook_ezsign_ezsignsigner_acceptclause.py @@ -36,10 +36,6 @@ 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, @@ -112,10 +108,6 @@ 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 1f7f256b..f3da8afd 100644 --- a/test/test_webhook_ezsign_ezsignsigner_connect.py +++ b/test/test_webhook_ezsign_ezsignsigner_connect.py @@ -36,10 +36,6 @@ 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, @@ -112,10 +108,6 @@ 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 d87380fd..42f59bf7 100644 --- a/test/test_webhook_ezsign_folder_completed.py +++ b/test/test_webhook_ezsign_folder_completed.py @@ -36,10 +36,6 @@ 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, @@ -111,10 +107,6 @@ 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 a5cec903..9d74304b 100644 --- a/test/test_webhook_ezsign_folder_disposed.py +++ b/test/test_webhook_ezsign_folder_disposed.py @@ -36,10 +36,6 @@ 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, @@ -111,10 +107,6 @@ 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 e0fc3886..02a3f61f 100644 --- a/test/test_webhook_ezsign_folder_sent.py +++ b/test/test_webhook_ezsign_folder_sent.py @@ -36,10 +36,6 @@ 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, @@ -111,10 +107,6 @@ 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 2df3f0ff..eefd7db9 100644 --- a/test/test_webhook_ezsign_folder_unsent.py +++ b/test/test_webhook_ezsign_folder_unsent.py @@ -36,10 +36,6 @@ 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, @@ -111,10 +107,6 @@ 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 1bbe5baf..369c8475 100644 --- a/test/test_webhook_ezsign_signature_signed.py +++ b/test/test_webhook_ezsign_signature_signed.py @@ -36,10 +36,6 @@ 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, @@ -87,10 +83,6 @@ 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 655e21f1..29d29f85 100644 --- a/test/test_webhook_get_history_v1_response.py +++ b/test/test_webhook_get_history_v1_response.py @@ -36,15 +36,6 @@ 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() @@ -52,14 +43,6 @@ 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 3aa0f4cc..0cfeaf5e 100644 --- a/test/test_webhook_get_list_v1_response.py +++ b/test/test_webhook_get_list_v1_response.py @@ -36,13 +36,10 @@ 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 2a1de0c5..3eb152de 100644 --- a/test/test_webhook_get_list_v1_response_m_payload.py +++ b/test/test_webhook_get_list_v1_response_m_payload.py @@ -36,8 +36,6 @@ 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, @@ -54,8 +52,6 @@ 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 25f4bbf7..2f0485ff 100644 --- a/test/test_webhook_get_object_v2_response.py +++ b/test/test_webhook_get_object_v2_response.py @@ -36,28 +36,11 @@ 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 108a7163..1380f674 100644 --- a/test/test_webhook_regenerate_apikey_v1_response.py +++ b/test/test_webhook_regenerate_apikey_v1_response.py @@ -36,28 +36,11 @@ 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 cf6bf7a8..0fca03e5 100644 --- a/test/test_webhook_request_compound.py +++ b/test/test_webhook_request_compound.py @@ -36,30 +36,12 @@ 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 40c6b420..56d451c5 100644 --- a/test/test_webhook_response_compound.py +++ b/test/test_webhook_response_compound.py @@ -36,39 +36,6 @@ 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() @@ -76,31 +43,6 @@ 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 26a761d0..22093abe 100644 --- a/test/test_webhook_send_webhook_v1_response.py +++ b/test/test_webhook_send_webhook_v1_response.py @@ -36,26 +36,9 @@ 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 63caa7ef..28a89ce1 100644 --- a/test/test_webhook_test_v1_response.py +++ b/test/test_webhook_test_v1_response.py @@ -36,26 +36,9 @@ 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 6555495e..31493c0b 100644 --- a/test/test_webhook_user_user_created.py +++ b/test/test_webhook_user_user_created.py @@ -36,10 +36,6 @@ def make_instance(self, include_optional) -> WebhookUserUserCreated: model = WebhookUserUserCreated() if include_optional: return WebhookUserUserCreated( - 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.user-Response( pki_user_id = 70, fki_agent_id = 1, @@ -98,10 +94,6 @@ def make_instance(self, include_optional) -> WebhookUserUserCreated: ) else: return WebhookUserUserCreated( - 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.user-Response( pki_user_id = 70, fki_agent_id = 1, diff --git a/test/test_webhook_userstaged_userstaged_created.py b/test/test_webhook_userstaged_userstaged_created.py index 27468834..9df956e5 100644 --- a/test/test_webhook_userstaged_userstaged_created.py +++ b/test/test_webhook_userstaged_userstaged_created.py @@ -36,10 +36,6 @@ def make_instance(self, include_optional) -> WebhookUserstagedUserstagedCreated: model = WebhookUserstagedUserstagedCreated() if include_optional: return WebhookUserstagedUserstagedCreated( - 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.userstaged-Response( pki_userstaged_id = 90, fki_email_id = 22, @@ -50,10 +46,6 @@ def make_instance(self, include_optional) -> WebhookUserstagedUserstagedCreated: ) else: return WebhookUserstagedUserstagedCreated( - 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.userstaged-Response( pki_userstaged_id = 90, fki_email_id = 22, diff --git a/test/test_webhookheader_request_compound.py b/test/test_webhookheader_request_compound.py index e52ae130..6b1a6930 100644 --- a/test/test_webhookheader_request_compound.py +++ b/test/test_webhookheader_request_compound.py @@ -36,14 +36,9 @@ 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 86d7900b..5c03a4ae 100644 --- a/test/test_webhookheader_response_compound.py +++ b/test/test_webhookheader_response_compound.py @@ -36,17 +36,9 @@ 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', ) """