Commit Graph

11 Commits

Author SHA1 Message Date
kmkaplan
7024bcd7a5
Frnic contact create (#16) 2023-04-14 10:10:06 +02:00
Kim Minh Kaplan
1451ffb8e5 Make contact's organization, province, postal code and voice optional.
This changes the signature for `contact::Address::new`,
`contact::ContactCreate::new` and the type of fields
`contact::InfoData::voice` and `contact::ContactCreateRequest::voice`.

Fixes issue #13.
2023-04-03 13:18:58 +02:00
kmkaplan
6551749b77
Do not emit empty svcExtension XML element (#12)
Co-authored-by: Kim Minh Kaplan <kimminh.kaplan+git@afnic.fr>
2023-03-31 15:31:01 +02:00
Dirkjan Ochtman
0c6283fbf4 Provide more precise types for poll/ack commands
Ideally we might have modeled this with an enum with one named
field in the variants, but instant-xml is not yet up to the task;
in the mean-time, this provides more robust types, and manual
ToXml implementations aren't too verbose anyway.
2023-03-02 17:19:33 +01:00
Dirkjan Ochtman
f5ea188fbb Move poll module to the top level 2023-03-02 17:19:33 +01:00
Dirkjan Ochtman
f2194c818c Use enum type to represent host::Status 2023-03-02 16:42:44 +01:00
Dirkjan Ochtman
96268d9528 Use enum type to represent contact::Status 2023-03-02 16:42:44 +01:00
Dirkjan Ochtman
cd92b45156 Use enum type to represent domain::Status 2023-03-02 16:42:44 +01:00
Dirkjan Ochtman
3829ed77fa Switch from quick-xml to instant-xml 2023-02-28 17:04:58 +01:00
Mari
cc08819fdc Allow changing passwords 2022-09-07 06:03:16 +08:00
Dirkjan Ochtman
8efb206e43 Rename test directory to tests 2022-01-03 10:22:20 +08:00