Skip to content

Commit

Permalink
feat: update via SDK Studio (#151)
Browse files Browse the repository at this point in the history
  • Loading branch information
stainless-app[bot] authored Mar 14, 2024
1 parent cd447ae commit 38b2608
Showing 1 changed file with 44 additions and 21 deletions.
65 changes: 44 additions & 21 deletions src/resources/dns/records.ts
Original file line number Diff line number Diff line change
Expand Up @@ -170,29 +170,52 @@ export class Records extends APIResource {

export class RecordListResponsesV4PagePaginationArray extends V4PagePaginationArray<RecordListResponse> {}

export type DNSRecord =
| DNSRecord.A
| DNSRecord.AAAA
| DNSRecord.CAA
| DNSRecord.Cert
| DNSRecord.CNAME
| DNSRecord.DNSKEY
| DNSRecord.DS
| DNSRecord.HTTPS
| DNSRecord.LOC
| DNSRecord.MX
| DNSRecord.NAPTR
| DNSRecord.NS
| DNSRecord.PTR
| DNSRecord.Smimea
| DNSRecord.SRV
| DNSRecord.SSHFP
| DNSRecord.SVCB
| DNSRecord.TLSA
| DNSRecord.TXT
| DNSRecord.URI;
export interface DNSRecord {
errors: Array<DNSRecord.Error>;

messages: Array<DNSRecord.Message>;

result:
| DNSRecord.A
| DNSRecord.AAAA
| DNSRecord.CAA
| DNSRecord.Cert
| DNSRecord.CNAME
| DNSRecord.DNSKEY
| DNSRecord.DS
| DNSRecord.HTTPS
| DNSRecord.LOC
| DNSRecord.MX
| DNSRecord.NAPTR
| DNSRecord.NS
| DNSRecord.PTR
| DNSRecord.Smimea
| DNSRecord.SRV
| DNSRecord.SSHFP
| DNSRecord.SVCB
| DNSRecord.TLSA
| DNSRecord.TXT
| DNSRecord.URI;

/**
* Whether the API call was successful
*/
success: true;
}

export namespace DNSRecord {
export interface Error {
code: number;

message: string;
}

export interface Message {
code: number;

message: string;
}

export interface A {
/**
* A valid IPv4 address.
Expand Down

0 comments on commit 38b2608

Please sign in to comment.