package gandi // import "github.com/xenolf/lego/providers/dns/gandi"
// CleanUp Request->Response 1 (setZone)
const cleanup1RequestMock = `
domain.zone.set
123412341234123412341234
example.com.
1234567
`
// CleanUp Request->Response 1 (setZone)
const cleanup1ResponseMock = `
date_updated
20160216T16:24:38
date_delete
20170331T16:04:06
is_premium
0
date_hold_begin
20170215T02:04:06
date_registry_end
20170215T02:04:06
authinfo_expiration_date
20161211T21:31:20
contacts
owner
handle
LEGO-GANDI
id
111111
admin
handle
LEGO-GANDI
id
111111
bill
handle
LEGO-GANDI
id
111111
tech
handle
LEGO-GANDI
id
111111
reseller
nameservers
a.dns.gandi.net
b.dns.gandi.net
c.dns.gandi.net
date_restore_end
20170501T02:04:06
id
2222222
authinfo
ABCDABCDAB
status
clientTransferProhibited
serverTransferProhibited
tags
date_hold_end
20170401T02:04:06
services
gandidns
gandimail
date_pending_delete_end
20170506T02:04:06
zone_id
1234567
date_renew_begin
20120101T00:00:00
fqdn
example.com
autorenew
date_registry_creation
20150215T02:04:06
tld
org
date_created
20150215T03:04:06
`
// CleanUp Request->Response 2 (deleteZone)
const cleanup2RequestMock = `
domain.zone.delete
123412341234123412341234
7654321
`
// CleanUp Request->Response 2 (deleteZone)
const cleanup2ResponseMock = `
1
`
// Present Request->Response 1 (getZoneID)
const present1RequestMock = `
domain.info
123412341234123412341234
example.com.
`
// Present Request->Response 1 (getZoneID)
const present1ResponseMock = `
date_updated
20160216T16:14:23
date_delete
20170331T16:04:06
is_premium
0
date_hold_begin
20170215T02:04:06
date_registry_end
20170215T02:04:06
authinfo_expiration_date
20161211T21:31:20
contacts
owner
handle
LEGO-GANDI
id
111111
admin
handle
LEGO-GANDI
id
111111
bill
handle
LEGO-GANDI
id
111111
tech
handle
LEGO-GANDI
id
111111
reseller
nameservers
a.dns.gandi.net
b.dns.gandi.net
c.dns.gandi.net
date_restore_end
20170501T02:04:06
id
2222222
authinfo
ABCDABCDAB
status
clientTransferProhibited
serverTransferProhibited
tags
date_hold_end
20170401T02:04:06
services
gandidns
gandimail
date_pending_delete_end
20170506T02:04:06
zone_id
1234567
date_renew_begin
20120101T00:00:00
fqdn
example.com
autorenew
date_registry_creation
20150215T02:04:06
tld
org
date_created
20150215T03:04:06
`
// Present Request->Response 2 (cloneZone)
const present2RequestMock = `
domain.zone.clone
123412341234123412341234
1234567
0
name
example.com [ACME Challenge 01 Jan 16 00:00 +0000]
`
// Present Request->Response 2 (cloneZone)
const present2ResponseMock = `
name
example.com [ACME Challenge 01 Jan 16 00:00 +0000]
versions
1
date_updated
20160216T16:24:29
id
7654321
owner
LEGO-GANDI
version
1
domains
0
public
0
`
// Present Request->Response 3 (newZoneVersion)
const present3RequestMock = `
domain.zone.version.new
123412341234123412341234
7654321
`
// Present Request->Response 3 (newZoneVersion)
const present3ResponseMock = `
2
`
// Present Request->Response 4 (addTXTRecord)
const present4RequestMock = `
domain.zone.record.add
123412341234123412341234
7654321
2
type
TXT
name
_acme-challenge.abc.def
value
ezRpBPY8wH8djMLYjX2uCKPwiKDkFZ1SFMJ6ZXGlHrQ
ttl
300
`
// Present Request->Response 4 (addTXTRecord)
const present4ResponseMock = `
name
_acme-challenge.abc.def
type
TXT
id
333333333
value
"ezRpBPY8wH8djMLYjX2uCKPwiKDkFZ1SFMJ6ZXGlHrQ"
ttl
300
`
// Present Request->Response 5 (setZoneVersion)
const present5RequestMock = `
domain.zone.version.set
123412341234123412341234
7654321
2
`
// Present Request->Response 5 (setZoneVersion)
const present5ResponseMock = `
1
`
// Present Request->Response 6 (setZone)
const present6RequestMock = `
domain.zone.set
123412341234123412341234
example.com.
7654321
`
// Present Request->Response 6 (setZone)
const present6ResponseMock = `
date_updated
20160216T16:14:23
date_delete
20170331T16:04:06
is_premium
0
date_hold_begin
20170215T02:04:06
date_registry_end
20170215T02:04:06
authinfo_expiration_date
20161211T21:31:20
contacts
owner
handle
LEGO-GANDI
id
111111
admin
handle
LEGO-GANDI
id
111111
bill
handle
LEGO-GANDI
id
111111
tech
handle
LEGO-GANDI
id
111111
reseller
nameservers
a.dns.gandi.net
b.dns.gandi.net
c.dns.gandi.net
date_restore_end
20170501T02:04:06
id
2222222
authinfo
ABCDABCDAB
status
clientTransferProhibited
serverTransferProhibited
tags
date_hold_end
20170401T02:04:06
services
gandidns
gandimail
date_pending_delete_end
20170506T02:04:06
zone_id
7654321
date_renew_begin
20120101T00:00:00
fqdn
example.com
autorenew
date_registry_creation
20150215T02:04:06
tld
org
date_created
20150215T03:04:06
`