Skip to content

Alpha release 3

Pre-release
Pre-release

Choose a tag to compare

@hf-nsoeker hf-nsoeker released this 30 Oct 16:06
d078e12

Third pre-release. It adds the last two things HR-Sync needs to create employees the way the weclapp admin's guide does (#33). Creating records has still not been tested against a tenant, so this is still a pre-release.

uv add "weclapp-client>=0.1.0a3,<0.2"

New

  • mobile_phone_number in User, UserCreate and UserUpdate, at most 100 characters. weclapp stores the number as sent, without checking or normalising the format (#34).
  • CustomAttributeDefinition.selectable_values: the values of a LIST attribute as CustomAttributeListValue with id, value (the label), active, default_value and position_number (#34).
  • FakeWeclapp: add_custom_attribute_definition(selectable_values=[...]) adds a list attribute with values. Like weclapp, the fake rejects a selectedValueId that does not belong to the definition (400, detail "invalid selectable value id: …", no validationErrors) (#34).

Integration tests

Tier 1 checks the format of mobile phone numbers and the values of list attributes against a real tenant with reads and dry runs (P12, P13). It reports phone numbers only in masked form (#34).