Skip to content

Commit

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

export class RecordListResponsesV4PagePaginationArray extends V4PagePaginationArray<RecordListResponse> {}

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 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 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 fdbf303

Please sign in to comment.