Commit Graph

17 Commits

Author SHA1 Message Date
kmkaplan 976fd2c002
[secDNS] EPP <create> command (#20) 2023-04-18 15:57:57 +02:00
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
Dirkjan Ochtman 7e3006825f Add support for Verisign low balance mapping extension 2023-02-21 20:50:41 +01:00
Mari cc08819fdc Allow changing passwords 2022-09-07 06:03:16 +08:00
Dirkjan Ochtman 630c6b06e4 Change DomainAvailable::available to be a bool
From RFC 5731:

    This element MUST contain an "avail" attribute whose value indicates
    object availability (can it be provisioned or not) at the moment the
    <check> command was completed.  A value of "1" or "true" means that
    the object can be provisioned.  A value of "0" or "false" means that
    the object can not be provisioned.
2022-01-24 16:34:33 +08:00
Nicholas Rempel c0ebbf6b52 Add test case for message only poll response 2022-01-06 19:22:20 +08:00
Nicholas Rempel 427db7a1eb Add test case for empty queue poll response 2022-01-06 19:22:20 +08:00
Nicholas Rempel 569bd86bae Add HostInfoResponseData to list of support message poll response types 2022-01-06 19:22:20 +08:00
Dirkjan Ochtman 8efb206e43 Rename test directory to tests 2022-01-03 10:22:20 +08:00