Contact Models
Contacts models for ABConnect API.
- class ABConnect.api.models.contacts.BaseContactDetails(**data)[source]
Bases:
CompanyRelatedModelBaseContactDetails model
- model_config: ClassVar[ConfigDict] = {'extra': 'forbid', 'populate_by_name': True, 'str_strip_whitespace': True, 'use_enum_values': True, 'validate_assignment': True, 'validate_by_alias': True, 'validate_by_name': True}
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- class ABConnect.api.models.contacts.CalendarContact(**data)[source]
Bases:
IdentifiedModelCalendarContact model
- model_config: ClassVar[ConfigDict] = {'extra': 'forbid', 'populate_by_name': True, 'str_strip_whitespace': True, 'use_enum_values': True, 'validate_assignment': True, 'validate_by_alias': True, 'validate_by_name': True}
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- class ABConnect.api.models.contacts.Contact(**data)[source]
Bases:
TimestampedModelContact model
- model_config: ClassVar[ConfigDict] = {'extra': 'forbid', 'populate_by_name': True, 'str_strip_whitespace': True, 'use_enum_values': True, 'validate_assignment': True, 'validate_by_alias': True, 'validate_by_name': True}
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- class ABConnect.api.models.contacts.ContactAddressDetails(**data)[source]
Bases:
IdentifiedModelContactAddressDetails model
- model_config: ClassVar[ConfigDict] = {'extra': 'forbid', 'populate_by_name': True, 'str_strip_whitespace': True, 'use_enum_values': True, 'validate_assignment': True, 'validate_by_alias': True, 'validate_by_name': True}
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- class ABConnect.api.models.contacts.ContactAddressEditDetails(**data)[source]
Bases:
ContactAddressDetailsContactAddressEditDetails model - extends ContactAddressDetails with edit metadata.
- model_config: ClassVar[ConfigDict] = {'extra': 'forbid', 'populate_by_name': True, 'str_strip_whitespace': True, 'use_enum_values': True, 'validate_assignment': True, 'validate_by_alias': True, 'validate_by_name': True}
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- class ABConnect.api.models.contacts.ContactDetailedInfo(**data)[source]
Bases:
IdentifiedModelContactDetailedInfo model
-
addresses_list:
Optional[List[ContactAddressEditDetails]]
- model_config: ClassVar[ConfigDict] = {'extra': 'forbid', 'populate_by_name': True, 'str_strip_whitespace': True, 'use_enum_values': True, 'validate_assignment': True, 'validate_by_alias': True, 'validate_by_name': True}
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
-
addresses_list:
- class ABConnect.api.models.contacts.ContactDetails(**data)[source]
Bases:
IdentifiedModelContactDetails model
- model_config: ClassVar[ConfigDict] = {'extra': 'forbid', 'populate_by_name': True, 'str_strip_whitespace': True, 'use_enum_values': True, 'validate_assignment': True, 'validate_by_alias': True, 'validate_by_name': True}
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- class ABConnect.api.models.contacts.ContactEmailDetails(**data)[source]
Bases:
IdentifiedModelContactEmailDetails model
- model_config: ClassVar[ConfigDict] = {'extra': 'forbid', 'populate_by_name': True, 'str_strip_whitespace': True, 'use_enum_values': True, 'validate_assignment': True, 'validate_by_alias': True, 'validate_by_name': True}
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- class ABConnect.api.models.contacts.ContactEmailEditDetails(**data)[source]
Bases:
ContactEmailDetailsContactEmailEditDetails model - extends ContactEmailDetails with edit metadata.
- model_config: ClassVar[ConfigDict] = {'extra': 'forbid', 'populate_by_name': True, 'str_strip_whitespace': True, 'use_enum_values': True, 'validate_assignment': True, 'validate_by_alias': True, 'validate_by_name': True}
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- class ABConnect.api.models.contacts.ContactHistoryPricePerPound(**data)[source]
Bases:
ABConnectBaseModelContactHistoryPricePerPound model
- model_config: ClassVar[ConfigDict] = {'extra': 'forbid', 'populate_by_name': True, 'str_strip_whitespace': True, 'use_enum_values': True, 'validate_assignment': True, 'validate_by_alias': True, 'validate_by_name': True}
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- class ABConnect.api.models.contacts.ContactHistoryRevenueSum(**data)[source]
Bases:
TimestampedModelContactHistoryRevenueSum model
- model_config: ClassVar[ConfigDict] = {'extra': 'forbid', 'populate_by_name': True, 'str_strip_whitespace': True, 'use_enum_values': True, 'validate_assignment': True, 'validate_by_alias': True, 'validate_by_name': True}
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- class ABConnect.api.models.contacts.ContactPhoneDetails(**data)[source]
Bases:
IdentifiedModelContactPhoneDetails model
- model_config: ClassVar[ConfigDict] = {'extra': 'forbid', 'populate_by_name': True, 'str_strip_whitespace': True, 'use_enum_values': True, 'validate_assignment': True, 'validate_by_alias': True, 'validate_by_name': True}
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- class ABConnect.api.models.contacts.ContactPhoneEditDetails(**data)[source]
Bases:
ContactPhoneDetailsContactPhoneEditDetails model - extends ContactPhoneDetails with edit metadata.
- model_config: ClassVar[ConfigDict] = {'extra': 'forbid', 'populate_by_name': True, 'str_strip_whitespace': True, 'use_enum_values': True, 'validate_assignment': True, 'validate_by_alias': True, 'validate_by_name': True}
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- class ABConnect.api.models.contacts.ContactPrimaryDetails(**data)[source]
Bases:
CompanyRelatedModelContactPrimaryDetails model
- model_config: ClassVar[ConfigDict] = {'extra': 'forbid', 'populate_by_name': True, 'str_strip_whitespace': True, 'use_enum_values': True, 'validate_assignment': True, 'validate_by_alias': True, 'validate_by_name': True}
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- class ABConnect.api.models.contacts.ContactUser(**data)[source]
Bases:
ABConnectBaseModelContactUser model for GET /contacts/user response.
- model_config: ClassVar[ConfigDict] = {'extra': 'forbid', 'populate_by_name': True, 'str_strip_whitespace': True, 'use_enum_values': True, 'validate_assignment': True, 'validate_by_alias': True, 'validate_by_name': True}
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- class ABConnect.api.models.contacts.MergeContactsSearchRequestModel(**data)[source]
Bases:
ABConnectBaseModelMergeContactsSearchRequestModel model
- main_search_request: MergeContactsSearchRequestParameters
- load_options: PageOrderedRequestModel
- model_config: ClassVar[ConfigDict] = {'extra': 'forbid', 'populate_by_name': True, 'str_strip_whitespace': True, 'use_enum_values': True, 'validate_assignment': True, 'validate_by_alias': True, 'validate_by_name': True}
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- class ABConnect.api.models.contacts.MergeContactsSearchRequestParameters(**data)[source]
Bases:
CompanyRelatedModelMergeContactsSearchRequestParameters model
- model_config: ClassVar[ConfigDict] = {'extra': 'forbid', 'populate_by_name': True, 'str_strip_whitespace': True, 'use_enum_values': True, 'validate_assignment': True, 'validate_by_alias': True, 'validate_by_name': True}
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- class ABConnect.api.models.contacts.PlannerContact(**data)[source]
Bases:
IdentifiedModelPlannerContact model
- model_config: ClassVar[ConfigDict] = {'extra': 'forbid', 'populate_by_name': True, 'str_strip_whitespace': True, 'use_enum_values': True, 'validate_assignment': True, 'validate_by_alias': True, 'validate_by_name': True}
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- class ABConnect.api.models.contacts.SearchContactEntityResult(**data)[source]
Bases:
CompanyRelatedModelSearchContactEntityResult model
- model_config: ClassVar[ConfigDict] = {'extra': 'forbid', 'populate_by_name': True, 'str_strip_whitespace': True, 'use_enum_values': True, 'validate_assignment': True, 'validate_by_alias': True, 'validate_by_name': True}
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- class ABConnect.api.models.contacts.SearchContactRequest(**data)[source]
Bases:
CompanyRelatedModelSearchContactRequest model
-
sorting_direction:
Optional[ListSortDirection]
- model_config: ClassVar[ConfigDict] = {'extra': 'forbid', 'populate_by_name': True, 'str_strip_whitespace': True, 'use_enum_values': True, 'validate_assignment': True, 'validate_by_alias': True, 'validate_by_name': True}
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
-
sorting_direction:
- class ABConnect.api.models.contacts.ShipmentContactAddressDetails(**data)[source]
Bases:
CompanyRelatedModelShipmentContactAddressDetails model
- model_config: ClassVar[ConfigDict] = {'extra': 'forbid', 'populate_by_name': True, 'str_strip_whitespace': True, 'use_enum_values': True, 'validate_assignment': True, 'validate_by_alias': True, 'validate_by_name': True}
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].
- class ABConnect.api.models.contacts.ShipmentContactDetails(**data)[source]
Bases:
CompanyRelatedModelShipmentContactDetails model
- model_config: ClassVar[ConfigDict] = {'extra': 'forbid', 'populate_by_name': True, 'str_strip_whitespace': True, 'use_enum_values': True, 'validate_assignment': True, 'validate_by_alias': True, 'validate_by_name': True}
Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].