From edb76788b97d9aaa6e5074555341cc112d764a33 Mon Sep 17 00:00:00 2001 From: "Api (Codebuild)" Date: Thu, 16 Jan 2025 17:05:26 +0000 Subject: [PATCH] Look for details in API documentation's changelog --- docs/DiscussionResponse.md | 2 +- docs/DiscussionResponseCompound.md | 2 +- ...EzsignfolderGetObjectV1ResponseMPayload.md | 2 +- docs/EzsignfolderResponse.md | 2 +- docs/EzsignfolderResponseCompound.md | 2 +- docs/EzsignfolderResponseCompoundV3.md | 2 +- docs/EzsignfolderResponseV3.md | 2 +- ...templatepublicDetailsV1ResponseMPayload.md | 2 +- docs/SystemconfigurationResponse.md | 2 +- docs/SystemconfigurationResponseCompound.md | 2 +- eZmaxApi/models/discussion_response.py | 8 +++- .../models/discussion_response_compound.py | 9 +++-- ...folder_get_object_v1_response_m_payload.py | 9 +++-- eZmaxApi/models/ezsignfolder_response.py | 8 +++- .../models/ezsignfolder_response_compound.py | 9 +++-- .../ezsignfolder_response_compound_v3.py | 9 +++-- eZmaxApi/models/ezsignfolder_response_v3.py | 8 +++- ...atepublic_details_v1_response_m_payload.py | 8 +++- .../models/systemconfiguration_response.py | 8 +++- .../systemconfiguration_response_compound.py | 9 +++-- test/test_discussion_response.py | 7 +++- test/test_discussion_response_compound.py | 7 +++- ...folder_get_object_v1_response_m_payload.py | 19 +++++++++- test/test_ezsignfolder_response.py | 19 +++++++++- test/test_ezsignfolder_response_compound.py | 19 +++++++++- .../test_ezsignfolder_response_compound_v3.py | 19 +++++++++- test/test_ezsignfolder_response_v3.py | 19 +++++++++- ...zsigntemplatepublic_details_v1_response.py | 8 +++- ...atepublic_details_v1_response_m_payload.py | 4 +- test/test_systemconfiguration_response.py | 4 +- ...t_systemconfiguration_response_compound.py | 4 +- ...ebhook_ezsign_ezsignsigner_acceptclause.py | 19 +++++++++- ...est_webhook_ezsign_ezsignsigner_connect.py | 19 +++++++++- test/test_webhook_ezsign_folder_completed.py | 38 ++++++++++++++++++- test/test_webhook_ezsign_folder_disposed.py | 38 ++++++++++++++++++- test/test_webhook_ezsign_folder_sent.py | 38 ++++++++++++++++++- test/test_webhook_ezsign_folder_unsent.py | 38 ++++++++++++++++++- 37 files changed, 367 insertions(+), 57 deletions(-) diff --git a/docs/DiscussionResponse.md b/docs/DiscussionResponse.md index 0cd68a710..2da888bfd 100644 --- a/docs/DiscussionResponse.md +++ b/docs/DiscussionResponse.md @@ -12,7 +12,7 @@ Name | Type | Description | Notes **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** | **object** | A Custom Discussionconfiguration Object | [optional] +**obj_discussionconfiguration** | [**CustomDiscussionconfigurationResponse**](CustomDiscussionconfigurationResponse.md) | | [optional] ## Example diff --git a/docs/DiscussionResponseCompound.md b/docs/DiscussionResponseCompound.md index 7d5356234..8c439e463 100644 --- a/docs/DiscussionResponseCompound.md +++ b/docs/DiscussionResponseCompound.md @@ -12,7 +12,7 @@ Name | Type | Description | Notes **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** | **object** | A Custom Discussionconfiguration Object | [optional] +**obj_discussionconfiguration** | [**CustomDiscussionconfigurationResponse**](CustomDiscussionconfigurationResponse.md) | | [optional] **a_obj_discussionmembership** | [**List[DiscussionmembershipResponseCompound]**](DiscussionmembershipResponseCompound.md) | | **a_obj_discussionmessage** | [**List[DiscussionmessageResponseCompound]**](DiscussionmessageResponseCompound.md) | | diff --git a/docs/EzsignfolderGetObjectV1ResponseMPayload.md b/docs/EzsignfolderGetObjectV1ResponseMPayload.md index 4f0aa64f3..c633d1315 100644 --- a/docs/EzsignfolderGetObjectV1ResponseMPayload.md +++ b/docs/EzsignfolderGetObjectV1ResponseMPayload.md @@ -8,7 +8,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **pki_ezsignfolder_id** | **int** | The unique ID of the Ezsignfolder | **fki_ezsignfoldertype_id** | **int** | The unique ID of the Ezsignfoldertype. | [optional] -**obj_ezsignfoldertype** | **object** | A Custom Ezsignfoldertype Object | [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] diff --git a/docs/EzsignfolderResponse.md b/docs/EzsignfolderResponse.md index 80b817b92..49ecdc39f 100644 --- a/docs/EzsignfolderResponse.md +++ b/docs/EzsignfolderResponse.md @@ -8,7 +8,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **pki_ezsignfolder_id** | **int** | The unique ID of the Ezsignfolder | **fki_ezsignfoldertype_id** | **int** | The unique ID of the Ezsignfoldertype. | [optional] -**obj_ezsignfoldertype** | **object** | A Custom Ezsignfoldertype Object | [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] diff --git a/docs/EzsignfolderResponseCompound.md b/docs/EzsignfolderResponseCompound.md index e4c74e94e..dafc07fc7 100644 --- a/docs/EzsignfolderResponseCompound.md +++ b/docs/EzsignfolderResponseCompound.md @@ -8,7 +8,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **pki_ezsignfolder_id** | **int** | The unique ID of the Ezsignfolder | **fki_ezsignfoldertype_id** | **int** | The unique ID of the Ezsignfoldertype. | [optional] -**obj_ezsignfoldertype** | **object** | A Custom Ezsignfoldertype Object | [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] diff --git a/docs/EzsignfolderResponseCompoundV3.md b/docs/EzsignfolderResponseCompoundV3.md index b11a65db8..a7ab3a4fe 100644 --- a/docs/EzsignfolderResponseCompoundV3.md +++ b/docs/EzsignfolderResponseCompoundV3.md @@ -8,7 +8,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **pki_ezsignfolder_id** | **int** | The unique ID of the Ezsignfolder | **fki_ezsignfoldertype_id** | **int** | The unique ID of the Ezsignfoldertype. | [optional] -**obj_ezsignfoldertype** | **object** | A Custom Ezsignfoldertype Object | [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] diff --git a/docs/EzsignfolderResponseV3.md b/docs/EzsignfolderResponseV3.md index de0e09116..43fc6fb20 100644 --- a/docs/EzsignfolderResponseV3.md +++ b/docs/EzsignfolderResponseV3.md @@ -8,7 +8,7 @@ Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- **pki_ezsignfolder_id** | **int** | The unique ID of the Ezsignfolder | **fki_ezsignfoldertype_id** | **int** | The unique ID of the Ezsignfoldertype. | [optional] -**obj_ezsignfoldertype** | **object** | A Custom Ezsignfoldertype Object | [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] diff --git a/docs/EzsigntemplatepublicGetEzsigntemplatepublicDetailsV1ResponseMPayload.md b/docs/EzsigntemplatepublicGetEzsigntemplatepublicDetailsV1ResponseMPayload.md index d6f914c98..b55ee75a8 100644 --- a/docs/EzsigntemplatepublicGetEzsigntemplatepublicDetailsV1ResponseMPayload.md +++ b/docs/EzsigntemplatepublicGetEzsigntemplatepublicDetailsV1ResponseMPayload.md @@ -6,7 +6,7 @@ Payload for POST /1/object/ezsigntemplatepublic/getEzsigntemplatepublicDetails Name | Type | Description | Notes ------------ | ------------- | ------------- | ------------- -**obj_branding** | **object** | A Custom Branding Object | [optional] +**obj_branding** | [**CustomBrandingResponse**](CustomBrandingResponse.md) | | [optional] **fki_userlogintype_id** | **int** | The unique ID of the Userlogintype Valid values: |Value|Description|Detail| |-|-|-| |1|**Email Only**|The Ezsignsigner will receive a secure link by email| |2|**Email and phone or SMS**|The Ezsignsigner will receive a secure link by email and will need to authenticate using SMS or Phone call. **Additional fee applies**| |3|**Email and secret question**|The Ezsignsigner will receive a secure link by email and will need to authenticate using a predefined question and answer| |4|**In person only**|The Ezsignsigner will only be able to sign \"In-Person\" and there won't be any authentication. No email will be sent for invitation to sign. Make sure you evaluate the risk of signature denial and at minimum, we recommend you use a handwritten signature type| |5|**In person with phone or SMS**|The Ezsignsigner will only be able to sign \"In-Person\" and will need to authenticate using SMS or Phone call. No email will be sent for invitation to sign. **Additional fee applies**| |6|**Embedded**|The Ezsignsigner will only be able to sign in the embedded solution. No email will be sent for invitation to sign. **Additional fee applies**| |7|**Embedded with phone or SMS**|The Ezsignsigner will only be able to sign in the embedded solution and will need to authenticate using SMS or Phone call. No email will be sent for invitation to sign. **Additional fee applies**| |8|**No validation**|The Ezsignsigner will not receive an email and won't have to validate his connection using 2 factor. **Additional fee applies**| |9|**Sms only**|The Ezsignsigner will not receive an email but will will need to authenticate using SMS. **Additional fee applies**| | **a_s_ezsigntemplatesigner_description** | **List[str]** | | diff --git a/docs/SystemconfigurationResponse.md b/docs/SystemconfigurationResponse.md index afdd7ac0e..a336fd305 100644 --- a/docs/SystemconfigurationResponse.md +++ b/docs/SystemconfigurationResponse.md @@ -22,7 +22,7 @@ Name | Type | Description | Notes **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** | **object** | A Custom Branding Object | [optional] +**obj_branding** | [**CustomBrandingResponse**](CustomBrandingResponse.md) | | [optional] ## Example diff --git a/docs/SystemconfigurationResponseCompound.md b/docs/SystemconfigurationResponseCompound.md index 7ebf8d28c..7c103bc55 100644 --- a/docs/SystemconfigurationResponseCompound.md +++ b/docs/SystemconfigurationResponseCompound.md @@ -22,7 +22,7 @@ Name | Type | Description | Notes **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** | **object** | A Custom Branding Object | [optional] +**obj_branding** | [**CustomBrandingResponse**](CustomBrandingResponse.md) | | [optional] ## Example diff --git a/eZmaxApi/models/discussion_response.py b/eZmaxApi/models/discussion_response.py index ab55af411..bea6073b4 100644 --- a/eZmaxApi/models/discussion_response.py +++ b/eZmaxApi/models/discussion_response.py @@ -21,6 +21,7 @@ from pydantic import BaseModel, ConfigDict, Field, StrictBool, StrictInt, StrictStr, field_validator from typing import Any, ClassVar, Dict, List, Optional from typing_extensions import Annotated +from eZmaxApi.models.custom_discussionconfiguration_response import CustomDiscussionconfigurationResponse from typing import Optional, Set from typing_extensions import Self @@ -34,7 +35,7 @@ class DiscussionResponse(BaseModel): 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[object] = Field(default=None, description="A Custom Discussionconfiguration Object", alias="objDiscussionconfiguration") + obj_discussionconfiguration: Optional[CustomDiscussionconfigurationResponse] = Field(default=None, alias="objDiscussionconfiguration") __properties: ClassVar[List[str]] = ["pkiDiscussionID", "sDiscussionDescription", "bDiscussionClosed", "dtDiscussionLastread", "iDiscussionmessageCount", "iDiscussionmessageCountunread", "objDiscussionconfiguration"] @field_validator('s_discussion_description') @@ -83,6 +84,9 @@ def to_dict(self) -> Dict[str, Any]: exclude=excluded_fields, exclude_none=True, ) + # override the default output from pydantic by calling `to_dict()` of obj_discussionconfiguration + if self.obj_discussionconfiguration: + _dict['objDiscussionconfiguration'] = self.obj_discussionconfiguration.to_dict() return _dict @classmethod @@ -101,7 +105,7 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: "dtDiscussionLastread": obj.get("dtDiscussionLastread"), "iDiscussionmessageCount": obj.get("iDiscussionmessageCount"), "iDiscussionmessageCountunread": obj.get("iDiscussionmessageCountunread"), - "objDiscussionconfiguration": obj.get("objDiscussionconfiguration") + "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 1f578673a..cb67161d5 100644 --- a/eZmaxApi/models/discussion_response_compound.py +++ b/eZmaxApi/models/discussion_response_compound.py @@ -21,9 +21,9 @@ from pydantic import BaseModel, ConfigDict, Field, StrictBool, StrictInt, StrictStr, field_validator from typing import Any, ClassVar, Dict, List, Optional from typing_extensions import Annotated +from eZmaxApi.models.custom_discussionconfiguration_response import CustomDiscussionconfigurationResponse from eZmaxApi.models.discussionmembership_response_compound import DiscussionmembershipResponseCompound from eZmaxApi.models.discussionmessage_response_compound import DiscussionmessageResponseCompound -from eZmaxApi.models.object import object from typing import Optional, Set from typing_extensions import Self @@ -37,7 +37,7 @@ class DiscussionResponseCompound(BaseModel): 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[object] = Field(default=None, description="A Custom Discussionconfiguration Object", alias="objDiscussionconfiguration") + 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"] @@ -88,6 +88,9 @@ def to_dict(self) -> Dict[str, Any]: exclude=excluded_fields, exclude_none=True, ) + # override the default output from pydantic by calling `to_dict()` of obj_discussionconfiguration + if self.obj_discussionconfiguration: + _dict['objDiscussionconfiguration'] = self.obj_discussionconfiguration.to_dict() # override the default output from pydantic by calling `to_dict()` of each item in a_obj_discussionmembership (list) _items = [] if self.a_obj_discussionmembership: @@ -120,7 +123,7 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: "dtDiscussionLastread": obj.get("dtDiscussionLastread"), "iDiscussionmessageCount": obj.get("iDiscussionmessageCount"), "iDiscussionmessageCountunread": obj.get("iDiscussionmessageCountunread"), - "objDiscussionconfiguration": obj.get("objDiscussionconfiguration"), + "objDiscussionconfiguration": CustomDiscussionconfigurationResponse.from_dict(obj["objDiscussionconfiguration"]) if obj.get("objDiscussionconfiguration") is not None else None, "a_objDiscussionmembership": [DiscussionmembershipResponseCompound.from_dict(_item) for _item in obj["a_objDiscussionmembership"]] if obj.get("a_objDiscussionmembership") is not None else None, "a_objDiscussionmessage": [DiscussionmessageResponseCompound.from_dict(_item) for _item in obj["a_objDiscussionmessage"]] if obj.get("a_objDiscussionmessage") is not None else None }) 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 0a52eb4ae..eb618400f 100644 --- a/eZmaxApi/models/ezsignfolder_get_object_v1_response_m_payload.py +++ b/eZmaxApi/models/ezsignfolder_get_object_v1_response_m_payload.py @@ -22,11 +22,11 @@ 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.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 eZmaxApi.models.object import object from typing import Optional, Set from typing_extensions import Self @@ -36,7 +36,7 @@ class EzsignfolderGetObjectV1ResponseMPayload(BaseModel): """ # 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[object] = Field(default=None, description="A Custom Ezsignfoldertype Object", alias="objEzsignfoldertype") + 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") @@ -119,6 +119,9 @@ def to_dict(self) -> Dict[str, Any]: exclude=excluded_fields, exclude_none=True, ) + # override the default output from pydantic by calling `to_dict()` of obj_ezsignfoldertype + if self.obj_ezsignfoldertype: + _dict['objEzsignfoldertype'] = self.obj_ezsignfoldertype.to_dict() # override the default output from pydantic by calling `to_dict()` of obj_audit if self.obj_audit: _dict['objAudit'] = self.obj_audit.to_dict() @@ -139,7 +142,7 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: _obj = cls.model_validate({ "pkiEzsignfolderID": obj.get("pkiEzsignfolderID"), "fkiEzsignfoldertypeID": obj.get("fkiEzsignfoldertypeID"), - "objEzsignfoldertype": obj.get("objEzsignfoldertype"), + "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"), diff --git a/eZmaxApi/models/ezsignfolder_response.py b/eZmaxApi/models/ezsignfolder_response.py index 432974988..6d4bd7b0d 100644 --- a/eZmaxApi/models/ezsignfolder_response.py +++ b/eZmaxApi/models/ezsignfolder_response.py @@ -22,6 +22,7 @@ from typing import Any, ClassVar, Dict, List, Optional from typing_extensions import Annotated from eZmaxApi.models.common_audit import CommonAudit +from eZmaxApi.models.custom_ezsignfoldertype_response import CustomEzsignfoldertypeResponse 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 @@ -34,7 +35,7 @@ class EzsignfolderResponse(BaseModel): """ # 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[object] = Field(default=None, description="A Custom Ezsignfoldertype Object", alias="objEzsignfoldertype") + 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") @@ -116,6 +117,9 @@ def to_dict(self) -> Dict[str, Any]: exclude=excluded_fields, exclude_none=True, ) + # override the default output from pydantic by calling `to_dict()` of obj_ezsignfoldertype + if self.obj_ezsignfoldertype: + _dict['objEzsignfoldertype'] = self.obj_ezsignfoldertype.to_dict() # override the default output from pydantic by calling `to_dict()` of obj_audit if self.obj_audit: _dict['objAudit'] = self.obj_audit.to_dict() @@ -133,7 +137,7 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: _obj = cls.model_validate({ "pkiEzsignfolderID": obj.get("pkiEzsignfolderID"), "fkiEzsignfoldertypeID": obj.get("fkiEzsignfoldertypeID"), - "objEzsignfoldertype": obj.get("objEzsignfoldertype"), + "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"), diff --git a/eZmaxApi/models/ezsignfolder_response_compound.py b/eZmaxApi/models/ezsignfolder_response_compound.py index e0013ff49..cddbb4791 100644 --- a/eZmaxApi/models/ezsignfolder_response_compound.py +++ b/eZmaxApi/models/ezsignfolder_response_compound.py @@ -22,11 +22,11 @@ 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.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 eZmaxApi.models.object import object from typing import Optional, Set from typing_extensions import Self @@ -36,7 +36,7 @@ class EzsignfolderResponseCompound(BaseModel): """ # 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[object] = Field(default=None, description="A Custom Ezsignfoldertype Object", alias="objEzsignfoldertype") + 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") @@ -119,6 +119,9 @@ def to_dict(self) -> Dict[str, Any]: exclude=excluded_fields, exclude_none=True, ) + # override the default output from pydantic by calling `to_dict()` of obj_ezsignfoldertype + if self.obj_ezsignfoldertype: + _dict['objEzsignfoldertype'] = self.obj_ezsignfoldertype.to_dict() # override the default output from pydantic by calling `to_dict()` of obj_audit if self.obj_audit: _dict['objAudit'] = self.obj_audit.to_dict() @@ -139,7 +142,7 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: _obj = cls.model_validate({ "pkiEzsignfolderID": obj.get("pkiEzsignfolderID"), "fkiEzsignfoldertypeID": obj.get("fkiEzsignfoldertypeID"), - "objEzsignfoldertype": obj.get("objEzsignfoldertype"), + "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"), diff --git a/eZmaxApi/models/ezsignfolder_response_compound_v3.py b/eZmaxApi/models/ezsignfolder_response_compound_v3.py index 8c768f08e..ca5259e95 100644 --- a/eZmaxApi/models/ezsignfolder_response_compound_v3.py +++ b/eZmaxApi/models/ezsignfolder_response_compound_v3.py @@ -23,11 +23,11 @@ from typing_extensions import Annotated from eZmaxApi.models.common_audit import CommonAudit from eZmaxApi.models.computed_e_ezsignfolder_access import ComputedEEzsignfolderAccess +from eZmaxApi.models.custom_ezsignfoldertype_response import CustomEzsignfoldertypeResponse from eZmaxApi.models.custom_timezone_with_code_response import CustomTimezoneWithCodeResponse from eZmaxApi.models.field_e_ezsignfolder_completion import FieldEEzsignfolderCompletion from eZmaxApi.models.field_e_ezsignfolder_documentdependency import FieldEEzsignfolderDocumentdependency from eZmaxApi.models.field_e_ezsignfolder_step import FieldEEzsignfolderStep -from eZmaxApi.models.object import object from typing import Optional, Set from typing_extensions import Self @@ -37,7 +37,7 @@ class EzsignfolderResponseCompoundV3(BaseModel): """ # 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[object] = Field(default=None, description="A Custom Ezsignfoldertype Object", alias="objEzsignfoldertype") + 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") @@ -121,6 +121,9 @@ def to_dict(self) -> Dict[str, Any]: exclude=excluded_fields, exclude_none=True, ) + # override the default output from pydantic by calling `to_dict()` of obj_ezsignfoldertype + if self.obj_ezsignfoldertype: + _dict['objEzsignfoldertype'] = self.obj_ezsignfoldertype.to_dict() # override the default output from pydantic by calling `to_dict()` of obj_audit if self.obj_audit: _dict['objAudit'] = self.obj_audit.to_dict() @@ -141,7 +144,7 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: _obj = cls.model_validate({ "pkiEzsignfolderID": obj.get("pkiEzsignfolderID"), "fkiEzsignfoldertypeID": obj.get("fkiEzsignfoldertypeID"), - "objEzsignfoldertype": obj.get("objEzsignfoldertype"), + "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"), diff --git a/eZmaxApi/models/ezsignfolder_response_v3.py b/eZmaxApi/models/ezsignfolder_response_v3.py index ea860b1c6..8e0c6cf4e 100644 --- a/eZmaxApi/models/ezsignfolder_response_v3.py +++ b/eZmaxApi/models/ezsignfolder_response_v3.py @@ -23,6 +23,7 @@ from typing_extensions import Annotated from eZmaxApi.models.common_audit import CommonAudit from eZmaxApi.models.computed_e_ezsignfolder_access import ComputedEEzsignfolderAccess +from eZmaxApi.models.custom_ezsignfoldertype_response import CustomEzsignfoldertypeResponse from eZmaxApi.models.field_e_ezsignfolder_completion import FieldEEzsignfolderCompletion from eZmaxApi.models.field_e_ezsignfolder_documentdependency import FieldEEzsignfolderDocumentdependency from eZmaxApi.models.field_e_ezsignfolder_step import FieldEEzsignfolderStep @@ -35,7 +36,7 @@ class EzsignfolderResponseV3(BaseModel): """ # 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[object] = Field(default=None, description="A Custom Ezsignfoldertype Object", alias="objEzsignfoldertype") + 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") @@ -118,6 +119,9 @@ def to_dict(self) -> Dict[str, Any]: exclude=excluded_fields, exclude_none=True, ) + # override the default output from pydantic by calling `to_dict()` of obj_ezsignfoldertype + if self.obj_ezsignfoldertype: + _dict['objEzsignfoldertype'] = self.obj_ezsignfoldertype.to_dict() # override the default output from pydantic by calling `to_dict()` of obj_audit if self.obj_audit: _dict['objAudit'] = self.obj_audit.to_dict() @@ -135,7 +139,7 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: _obj = cls.model_validate({ "pkiEzsignfolderID": obj.get("pkiEzsignfolderID"), "fkiEzsignfoldertypeID": obj.get("fkiEzsignfoldertypeID"), - "objEzsignfoldertype": obj.get("objEzsignfoldertype"), + "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"), diff --git a/eZmaxApi/models/ezsigntemplatepublic_get_ezsigntemplatepublic_details_v1_response_m_payload.py b/eZmaxApi/models/ezsigntemplatepublic_get_ezsigntemplatepublic_details_v1_response_m_payload.py index 981af4544..0dde6fe95 100644 --- a/eZmaxApi/models/ezsigntemplatepublic_get_ezsigntemplatepublic_details_v1_response_m_payload.py +++ b/eZmaxApi/models/ezsigntemplatepublic_get_ezsigntemplatepublic_details_v1_response_m_payload.py @@ -21,6 +21,7 @@ from pydantic import BaseModel, ConfigDict, Field, field_validator from typing import Any, ClassVar, Dict, List, Optional from typing_extensions import Annotated +from eZmaxApi.models.custom_branding_response import CustomBrandingResponse from typing import Optional, Set from typing_extensions import Self @@ -28,7 +29,7 @@ class EzsigntemplatepublicGetEzsigntemplatepublicDetailsV1ResponseMPayload(BaseM """ Payload for POST /1/object/ezsigntemplatepublic/getEzsigntemplatepublicDetails """ # noqa: E501 - obj_branding: Optional[object] = Field(default=None, description="A Custom Branding Object", alias="objBranding") + obj_branding: Optional[CustomBrandingResponse] = Field(default=None, alias="objBranding") fki_userlogintype_id: Annotated[int, Field(strict=True, ge=0)] = Field(description="The unique ID of the Userlogintype Valid values: |Value|Description|Detail| |-|-|-| |1|**Email Only**|The Ezsignsigner will receive a secure link by email| |2|**Email and phone or SMS**|The Ezsignsigner will receive a secure link by email and will need to authenticate using SMS or Phone call. **Additional fee applies**| |3|**Email and secret question**|The Ezsignsigner will receive a secure link by email and will need to authenticate using a predefined question and answer| |4|**In person only**|The Ezsignsigner will only be able to sign \"In-Person\" and there won't be any authentication. No email will be sent for invitation to sign. Make sure you evaluate the risk of signature denial and at minimum, we recommend you use a handwritten signature type| |5|**In person with phone or SMS**|The Ezsignsigner will only be able to sign \"In-Person\" and will need to authenticate using SMS or Phone call. No email will be sent for invitation to sign. **Additional fee applies**| |6|**Embedded**|The Ezsignsigner will only be able to sign in the embedded solution. No email will be sent for invitation to sign. **Additional fee applies**| |7|**Embedded with phone or SMS**|The Ezsignsigner will only be able to sign in the embedded solution and will need to authenticate using SMS or Phone call. No email will be sent for invitation to sign. **Additional fee applies**| |8|**No validation**|The Ezsignsigner will not receive an email and won't have to validate his connection using 2 factor. **Additional fee applies**| |9|**Sms only**|The Ezsignsigner will not receive an email but will will need to authenticate using SMS. **Additional fee applies**| ", alias="fkiUserlogintypeID") a_s_ezsigntemplatesigner_description: List[Annotated[str, Field(strict=True)]] = Field(alias="a_sEzsigntemplatesignerDescription") __properties: ClassVar[List[str]] = ["objBranding", "fkiUserlogintypeID", "a_sEzsigntemplatesignerDescription"] @@ -72,6 +73,9 @@ def to_dict(self) -> Dict[str, Any]: exclude=excluded_fields, exclude_none=True, ) + # override the default output from pydantic by calling `to_dict()` of obj_branding + if self.obj_branding: + _dict['objBranding'] = self.obj_branding.to_dict() return _dict @classmethod @@ -84,7 +88,7 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: return cls.model_validate(obj) _obj = cls.model_validate({ - "objBranding": obj.get("objBranding"), + "objBranding": CustomBrandingResponse.from_dict(obj["objBranding"]) if obj.get("objBranding") is not None else None, "fkiUserlogintypeID": obj.get("fkiUserlogintypeID"), "a_sEzsigntemplatesignerDescription": obj.get("a_sEzsigntemplatesignerDescription") }) diff --git a/eZmaxApi/models/systemconfiguration_response.py b/eZmaxApi/models/systemconfiguration_response.py index 0bd677de3..84270da6d 100644 --- a/eZmaxApi/models/systemconfiguration_response.py +++ b/eZmaxApi/models/systemconfiguration_response.py @@ -21,6 +21,7 @@ from pydantic import BaseModel, ConfigDict, Field, StrictBool, StrictStr, field_validator from typing import Any, ClassVar, Dict, List, Optional from typing_extensions import Annotated +from eZmaxApi.models.custom_branding_response import CustomBrandingResponse from eZmaxApi.models.field_e_systemconfiguration_ezsign import FieldESystemconfigurationEzsign from eZmaxApi.models.field_e_systemconfiguration_ezsignofficeplan import FieldESystemconfigurationEzsignofficeplan from eZmaxApi.models.field_e_systemconfiguration_language1 import FieldESystemconfigurationLanguage1 @@ -49,7 +50,7 @@ class SystemconfigurationResponse(BaseModel): b_systemconfiguration_sspr: StrictBool = Field(description="Whether if we allow SSPR", alias="bSystemconfigurationSspr") dt_systemconfiguration_readonlyexpirationstart: Optional[Annotated[str, Field(strict=True)]] = Field(default=None, description="The start date where the system will be in read only", alias="dtSystemconfigurationReadonlyexpirationstart") dt_systemconfiguration_readonlyexpirationend: Optional[Annotated[str, Field(strict=True)]] = Field(default=None, description="The end date where the system will be in read only", alias="dtSystemconfigurationReadonlyexpirationend") - obj_branding: Optional[object] = Field(default=None, description="A Custom Branding Object", alias="objBranding") + 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') @@ -111,6 +112,9 @@ def to_dict(self) -> Dict[str, Any]: exclude=excluded_fields, exclude_none=True, ) + # override the default output from pydantic by calling `to_dict()` of obj_branding + if self.obj_branding: + _dict['objBranding'] = self.obj_branding.to_dict() return _dict @classmethod @@ -139,7 +143,7 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: "bSystemconfigurationSspr": obj.get("bSystemconfigurationSspr"), "dtSystemconfigurationReadonlyexpirationstart": obj.get("dtSystemconfigurationReadonlyexpirationstart"), "dtSystemconfigurationReadonlyexpirationend": obj.get("dtSystemconfigurationReadonlyexpirationend"), - "objBranding": obj.get("objBranding") + "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 3d1253141..1a8a6d5c9 100644 --- a/eZmaxApi/models/systemconfiguration_response_compound.py +++ b/eZmaxApi/models/systemconfiguration_response_compound.py @@ -21,12 +21,12 @@ from pydantic import BaseModel, ConfigDict, Field, StrictBool, StrictStr, field_validator from typing import Any, ClassVar, Dict, List, Optional from typing_extensions import Annotated +from eZmaxApi.models.custom_branding_response import CustomBrandingResponse from eZmaxApi.models.field_e_systemconfiguration_ezsign import FieldESystemconfigurationEzsign from eZmaxApi.models.field_e_systemconfiguration_ezsignofficeplan import FieldESystemconfigurationEzsignofficeplan from eZmaxApi.models.field_e_systemconfiguration_language1 import FieldESystemconfigurationLanguage1 from eZmaxApi.models.field_e_systemconfiguration_language2 import FieldESystemconfigurationLanguage2 from eZmaxApi.models.field_e_systemconfiguration_newexternaluseraction import FieldESystemconfigurationNewexternaluseraction -from eZmaxApi.models.object import object from typing import Optional, Set from typing_extensions import Self @@ -50,7 +50,7 @@ class SystemconfigurationResponseCompound(BaseModel): b_systemconfiguration_sspr: StrictBool = Field(description="Whether if we allow SSPR", alias="bSystemconfigurationSspr") dt_systemconfiguration_readonlyexpirationstart: Optional[Annotated[str, Field(strict=True)]] = Field(default=None, description="The start date where the system will be in read only", alias="dtSystemconfigurationReadonlyexpirationstart") dt_systemconfiguration_readonlyexpirationend: Optional[Annotated[str, Field(strict=True)]] = Field(default=None, description="The end date where the system will be in read only", alias="dtSystemconfigurationReadonlyexpirationend") - obj_branding: Optional[object] = Field(default=None, description="A Custom Branding Object", alias="objBranding") + 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') @@ -112,6 +112,9 @@ def to_dict(self) -> Dict[str, Any]: exclude=excluded_fields, exclude_none=True, ) + # override the default output from pydantic by calling `to_dict()` of obj_branding + if self.obj_branding: + _dict['objBranding'] = self.obj_branding.to_dict() return _dict @classmethod @@ -140,7 +143,7 @@ def from_dict(cls, obj: Optional[Dict[str, Any]]) -> Optional[Self]: "bSystemconfigurationSspr": obj.get("bSystemconfigurationSspr"), "dtSystemconfigurationReadonlyexpirationstart": obj.get("dtSystemconfigurationReadonlyexpirationstart"), "dtSystemconfigurationReadonlyexpirationend": obj.get("dtSystemconfigurationReadonlyexpirationend"), - "objBranding": obj.get("objBranding") + "objBranding": CustomBrandingResponse.from_dict(obj["objBranding"]) if obj.get("objBranding") is not None else None }) return _obj diff --git a/test/test_discussion_response.py b/test/test_discussion_response.py index e67509c4e..f65b2a9dd 100644 --- a/test/test_discussion_response.py +++ b/test/test_discussion_response.py @@ -42,7 +42,12 @@ def make_instance(self, include_optional) -> DiscussionResponse: dt_discussion_lastread = '2020-12-31 23:59:59', i_discussionmessage_count = 4, i_discussionmessage_countunread = 4, - obj_discussionconfiguration = None + 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, ) ) else: return DiscussionResponse( diff --git a/test/test_discussion_response_compound.py b/test/test_discussion_response_compound.py index d0278363c..cf9dff794 100644 --- a/test/test_discussion_response_compound.py +++ b/test/test_discussion_response_compound.py @@ -42,7 +42,12 @@ def make_instance(self, include_optional) -> DiscussionResponseCompound: dt_discussion_lastread = '2020-12-31 23:59:59', i_discussionmessage_count = 4, i_discussionmessage_countunread = 4, - obj_discussionconfiguration = None, + 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() ], 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 ff2601ef5..73fdeb7d6 100644 --- a/test/test_ezsignfolder_get_object_v1_response_m_payload.py +++ b/test/test_ezsignfolder_get_object_v1_response_m_payload.py @@ -38,7 +38,24 @@ def make_instance(self, include_optional) -> EzsignfolderGetObjectV1ResponseMPay return EzsignfolderGetObjectV1ResponseMPayload( pki_ezsignfolder_id = 33, fki_ezsignfoldertype_id = 5, - obj_ezsignfoldertype = None, + 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 = '', diff --git a/test/test_ezsignfolder_response.py b/test/test_ezsignfolder_response.py index 0b19eae05..3f10faa81 100644 --- a/test/test_ezsignfolder_response.py +++ b/test/test_ezsignfolder_response.py @@ -38,7 +38,24 @@ def make_instance(self, include_optional) -> EzsignfolderResponse: return EzsignfolderResponse( pki_ezsignfolder_id = 33, fki_ezsignfoldertype_id = 5, - obj_ezsignfoldertype = None, + 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 = '', diff --git a/test/test_ezsignfolder_response_compound.py b/test/test_ezsignfolder_response_compound.py index 7ce4f97b6..f8c623739 100644 --- a/test/test_ezsignfolder_response_compound.py +++ b/test/test_ezsignfolder_response_compound.py @@ -38,7 +38,24 @@ def make_instance(self, include_optional) -> EzsignfolderResponseCompound: return EzsignfolderResponseCompound( pki_ezsignfolder_id = 33, fki_ezsignfoldertype_id = 5, - obj_ezsignfoldertype = None, + 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 = '', diff --git a/test/test_ezsignfolder_response_compound_v3.py b/test/test_ezsignfolder_response_compound_v3.py index bf00b45a3..a0ea9f60a 100644 --- a/test/test_ezsignfolder_response_compound_v3.py +++ b/test/test_ezsignfolder_response_compound_v3.py @@ -38,7 +38,24 @@ def make_instance(self, include_optional) -> EzsignfolderResponseCompoundV3: return EzsignfolderResponseCompoundV3( pki_ezsignfolder_id = 33, fki_ezsignfoldertype_id = 5, - obj_ezsignfoldertype = None, + 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', diff --git a/test/test_ezsignfolder_response_v3.py b/test/test_ezsignfolder_response_v3.py index 142e907d4..b3adc463e 100644 --- a/test/test_ezsignfolder_response_v3.py +++ b/test/test_ezsignfolder_response_v3.py @@ -38,7 +38,24 @@ def make_instance(self, include_optional) -> EzsignfolderResponseV3: return EzsignfolderResponseV3( pki_ezsignfolder_id = 33, fki_ezsignfoldertype_id = 5, - obj_ezsignfoldertype = None, + 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', diff --git a/test/test_ezsigntemplatepublic_get_ezsigntemplatepublic_details_v1_response.py b/test/test_ezsigntemplatepublic_get_ezsigntemplatepublic_details_v1_response.py index 62c0f776b..afb0c5003 100644 --- a/test/test_ezsigntemplatepublic_get_ezsigntemplatepublic_details_v1_response.py +++ b/test/test_ezsigntemplatepublic_get_ezsigntemplatepublic_details_v1_response.py @@ -46,7 +46,9 @@ def make_instance(self, include_optional) -> EzsigntemplatepublicGetEzsigntempla dt_response_date = '2020-12-31 23:59:59', ), obj_debug = {"sMemoryUsage":"11,923MB","sRunTime":"0.6084s","iSQLSelects":3,"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(), + obj_branding = eZmaxApi.models.custom_branding_response.Custom-Branding-Response( + i_branding_color = 15658734, + s_branding_logointerfaceurl = 'http://www.example.com/logo.jpg', ), fki_userlogintype_id = 2, a_s_ezsigntemplatesigner_description = [ 'http://www.website.com/avatar.jpg' @@ -63,7 +65,9 @@ def make_instance(self, include_optional) -> EzsigntemplatepublicGetEzsigntempla 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(), + obj_branding = eZmaxApi.models.custom_branding_response.Custom-Branding-Response( + i_branding_color = 15658734, + s_branding_logointerfaceurl = 'http://www.example.com/logo.jpg', ), fki_userlogintype_id = 2, a_s_ezsigntemplatesigner_description = [ 'http://www.website.com/avatar.jpg' diff --git a/test/test_ezsigntemplatepublic_get_ezsigntemplatepublic_details_v1_response_m_payload.py b/test/test_ezsigntemplatepublic_get_ezsigntemplatepublic_details_v1_response_m_payload.py index 80298703d..b9f30a0c4 100644 --- a/test/test_ezsigntemplatepublic_get_ezsigntemplatepublic_details_v1_response_m_payload.py +++ b/test/test_ezsigntemplatepublic_get_ezsigntemplatepublic_details_v1_response_m_payload.py @@ -36,7 +36,9 @@ def make_instance(self, include_optional) -> EzsigntemplatepublicGetEzsigntempla model = EzsigntemplatepublicGetEzsigntemplatepublicDetailsV1ResponseMPayload() if include_optional: return EzsigntemplatepublicGetEzsigntemplatepublicDetailsV1ResponseMPayload( - obj_branding = None, + obj_branding = eZmaxApi.models.custom_branding_response.Custom-Branding-Response( + i_branding_color = 15658734, + s_branding_logointerfaceurl = 'http://www.example.com/logo.jpg', ), fki_userlogintype_id = 2, a_s_ezsigntemplatesigner_description = [ 'http://www.website.com/avatar.jpg' diff --git a/test/test_systemconfiguration_response.py b/test/test_systemconfiguration_response.py index 335ef6fed..fb126507f 100644 --- a/test/test_systemconfiguration_response.py +++ b/test/test_systemconfiguration_response.py @@ -52,7 +52,9 @@ def make_instance(self, include_optional) -> SystemconfigurationResponse: b_systemconfiguration_sspr = True, dt_systemconfiguration_readonlyexpirationstart = '2020-12-31', dt_systemconfiguration_readonlyexpirationend = '2021-12-31', - obj_branding = None + 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 SystemconfigurationResponse( diff --git a/test/test_systemconfiguration_response_compound.py b/test/test_systemconfiguration_response_compound.py index 6ffcc3c5d..db7d90693 100644 --- a/test/test_systemconfiguration_response_compound.py +++ b/test/test_systemconfiguration_response_compound.py @@ -52,7 +52,9 @@ def make_instance(self, include_optional) -> SystemconfigurationResponseCompound b_systemconfiguration_sspr = True, dt_systemconfiguration_readonlyexpirationstart = '2020-12-31', dt_systemconfiguration_readonlyexpirationend = '2021-12-31', - obj_branding = None + 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( diff --git a/test/test_webhook_ezsign_ezsignsigner_acceptclause.py b/test/test_webhook_ezsign_ezsignsigner_acceptclause.py index d31765ff3..535afca10 100644 --- a/test/test_webhook_ezsign_ezsignsigner_acceptclause.py +++ b/test/test_webhook_ezsign_ezsignsigner_acceptclause.py @@ -43,7 +43,24 @@ def make_instance(self, include_optional) -> WebhookEzsignEzsignsignerAcceptclau obj_ezsignfolder = eZmaxApi.models.ezsignfolder_response.ezsignfolder-Response( pki_ezsignfolder_id = 33, fki_ezsignfoldertype_id = 5, - obj_ezsignfoldertype = eZmaxApi.models.custom_ezsignfoldertype_response.Custom-Ezsignfoldertype-Response(), + 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 = '', diff --git a/test/test_webhook_ezsign_ezsignsigner_connect.py b/test/test_webhook_ezsign_ezsignsigner_connect.py index fae771fd0..1f7f256b8 100644 --- a/test/test_webhook_ezsign_ezsignsigner_connect.py +++ b/test/test_webhook_ezsign_ezsignsigner_connect.py @@ -43,7 +43,24 @@ def make_instance(self, include_optional) -> WebhookEzsignEzsignsignerConnect: obj_ezsignfolder = eZmaxApi.models.ezsignfolder_response.ezsignfolder-Response( pki_ezsignfolder_id = 33, fki_ezsignfoldertype_id = 5, - obj_ezsignfoldertype = eZmaxApi.models.custom_ezsignfoldertype_response.Custom-Ezsignfoldertype-Response(), + 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 = '', diff --git a/test/test_webhook_ezsign_folder_completed.py b/test/test_webhook_ezsign_folder_completed.py index c59c47e42..d87380fd3 100644 --- a/test/test_webhook_ezsign_folder_completed.py +++ b/test/test_webhook_ezsign_folder_completed.py @@ -43,7 +43,24 @@ def make_instance(self, include_optional) -> WebhookEzsignFolderCompleted: obj_ezsignfolder = eZmaxApi.models.ezsignfolder_response.ezsignfolder-Response( pki_ezsignfolder_id = 33, fki_ezsignfoldertype_id = 5, - obj_ezsignfoldertype = eZmaxApi.models.custom_ezsignfoldertype_response.Custom-Ezsignfoldertype-Response(), + 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 = '', @@ -101,7 +118,24 @@ def make_instance(self, include_optional) -> WebhookEzsignFolderCompleted: obj_ezsignfolder = eZmaxApi.models.ezsignfolder_response.ezsignfolder-Response( pki_ezsignfolder_id = 33, fki_ezsignfoldertype_id = 5, - obj_ezsignfoldertype = eZmaxApi.models.custom_ezsignfoldertype_response.Custom-Ezsignfoldertype-Response(), + 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 = '', diff --git a/test/test_webhook_ezsign_folder_disposed.py b/test/test_webhook_ezsign_folder_disposed.py index 06ff0b64f..a5cec903a 100644 --- a/test/test_webhook_ezsign_folder_disposed.py +++ b/test/test_webhook_ezsign_folder_disposed.py @@ -43,7 +43,24 @@ def make_instance(self, include_optional) -> WebhookEzsignFolderDisposed: obj_ezsignfolder = eZmaxApi.models.ezsignfolder_response.ezsignfolder-Response( pki_ezsignfolder_id = 33, fki_ezsignfoldertype_id = 5, - obj_ezsignfoldertype = eZmaxApi.models.custom_ezsignfoldertype_response.Custom-Ezsignfoldertype-Response(), + 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 = '', @@ -101,7 +118,24 @@ def make_instance(self, include_optional) -> WebhookEzsignFolderDisposed: obj_ezsignfolder = eZmaxApi.models.ezsignfolder_response.ezsignfolder-Response( pki_ezsignfolder_id = 33, fki_ezsignfoldertype_id = 5, - obj_ezsignfoldertype = eZmaxApi.models.custom_ezsignfoldertype_response.Custom-Ezsignfoldertype-Response(), + 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 = '', diff --git a/test/test_webhook_ezsign_folder_sent.py b/test/test_webhook_ezsign_folder_sent.py index f3293e8ac..e0fc3886b 100644 --- a/test/test_webhook_ezsign_folder_sent.py +++ b/test/test_webhook_ezsign_folder_sent.py @@ -43,7 +43,24 @@ def make_instance(self, include_optional) -> WebhookEzsignFolderSent: obj_ezsignfolder = eZmaxApi.models.ezsignfolder_response.ezsignfolder-Response( pki_ezsignfolder_id = 33, fki_ezsignfoldertype_id = 5, - obj_ezsignfoldertype = eZmaxApi.models.custom_ezsignfoldertype_response.Custom-Ezsignfoldertype-Response(), + 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 = '', @@ -101,7 +118,24 @@ def make_instance(self, include_optional) -> WebhookEzsignFolderSent: obj_ezsignfolder = eZmaxApi.models.ezsignfolder_response.ezsignfolder-Response( pki_ezsignfolder_id = 33, fki_ezsignfoldertype_id = 5, - obj_ezsignfoldertype = eZmaxApi.models.custom_ezsignfoldertype_response.Custom-Ezsignfoldertype-Response(), + 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 = '', diff --git a/test/test_webhook_ezsign_folder_unsent.py b/test/test_webhook_ezsign_folder_unsent.py index 3eeca1604..2df3f0ff4 100644 --- a/test/test_webhook_ezsign_folder_unsent.py +++ b/test/test_webhook_ezsign_folder_unsent.py @@ -43,7 +43,24 @@ def make_instance(self, include_optional) -> WebhookEzsignFolderUnsent: obj_ezsignfolder = eZmaxApi.models.ezsignfolder_response.ezsignfolder-Response( pki_ezsignfolder_id = 33, fki_ezsignfoldertype_id = 5, - obj_ezsignfoldertype = eZmaxApi.models.custom_ezsignfoldertype_response.Custom-Ezsignfoldertype-Response(), + 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 = '', @@ -101,7 +118,24 @@ def make_instance(self, include_optional) -> WebhookEzsignFolderUnsent: obj_ezsignfolder = eZmaxApi.models.ezsignfolder_response.ezsignfolder-Response( pki_ezsignfolder_id = 33, fki_ezsignfoldertype_id = 5, - obj_ezsignfoldertype = eZmaxApi.models.custom_ezsignfoldertype_response.Custom-Ezsignfoldertype-Response(), + 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 = '',