Skip to content

Commit

Permalink
feat(api): update via SDK Studio (#268)
Browse files Browse the repository at this point in the history
  • Loading branch information
stainless-app[bot] authored Apr 9, 2024
1 parent 7bf5dd2 commit 9303ab5
Show file tree
Hide file tree
Showing 4 changed files with 17 additions and 24 deletions.
1 change: 0 additions & 1 deletion api.md
Original file line number Diff line number Diff line change
Expand Up @@ -3001,7 +3001,6 @@ Methods:
Types:

- <code><a href="./src/resources/intel/dns.ts">DNS</a></code>
- <code><a href="./src/resources/intel/dns.ts">UnnamedSchemaRefB5e16cee4f32382c294201aedb9fc050</a></code>
- <code><a href="./src/resources/intel/dns.ts">DNSListResponse</a></code>

Methods:
Expand Down
31 changes: 16 additions & 15 deletions src/resources/intel/dns.ts
Original file line number Diff line number Diff line change
Expand Up @@ -43,24 +43,26 @@ export interface DNS {
/**
* Reverse DNS look-ups observed during the time period.
*/
reverse_records?: Array<UnnamedSchemaRefB5e16cee4f32382c294201aedb9fc050>;
reverse_records?: Array<DNS.ReverseRecord>;
}

export interface UnnamedSchemaRefB5e16cee4f32382c294201aedb9fc050 {
/**
* First seen date of the DNS record during the time period.
*/
first_seen?: string;
export namespace DNS {
export interface ReverseRecord {
/**
* First seen date of the DNS record during the time period.
*/
first_seen?: string;

/**
* Hostname that the IP was observed resolving to.
*/
hostname?: unknown;
/**
* Hostname that the IP was observed resolving to.
*/
hostname?: unknown;

/**
* Last seen date of the DNS record during the time period.
*/
last_seen?: string;
/**
* Last seen date of the DNS record during the time period.
*/
last_seen?: string;
}
}

export interface DNSListResponse {
Expand Down Expand Up @@ -109,7 +111,6 @@ export namespace DNSListParams {

export namespace DNS {
export import DNS = DNSAPI.DNS;
export import UnnamedSchemaRefB5e16cee4f32382c294201aedb9fc050 = DNSAPI.UnnamedSchemaRefB5e16cee4f32382c294201aedb9fc050;
export import DNSListResponse = DNSAPI.DNSListResponse;
export import DNSListResponsesV4PagePagination = DNSAPI.DNSListResponsesV4PagePagination;
export import DNSListParams = DNSAPI.DNSListParams;
Expand Down
8 changes: 1 addition & 7 deletions src/resources/intel/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,7 @@

export { ASN, ASNGetParams, ASNResource } from './asn/index';
export { AttackSurfaceReport } from './attack-surface-report/index';
export {
DNS,
UnnamedSchemaRefB5e16cee4f32382c294201aedb9fc050,
DNSListResponse,
DNSListParams,
DNSListResponsesV4PagePagination,
} from './dns';
export { DNS, DNSListResponse, DNSListParams, DNSListResponsesV4PagePagination } from './dns';
export { Domain, DomainGetParams, Domains } from './domains/index';
export {
DomainHistory,
Expand Down
1 change: 0 additions & 1 deletion src/resources/intel/intel.ts
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,6 @@ export namespace Intel {
export import ASN = ASNAPI.ASN;
export import ASNGetParams = ASNAPI.ASNGetParams;
export import DNS = DNSAPI.DNS;
export import UnnamedSchemaRefB5e16cee4f32382c294201aedb9fc050 = DNSAPI.UnnamedSchemaRefB5e16cee4f32382c294201aedb9fc050;
export import DNSListResponse = DNSAPI.DNSListResponse;
export import DNSListResponsesV4PagePagination = DNSAPI.DNSListResponsesV4PagePagination;
export import DNSListParams = DNSAPI.DNSListParams;
Expand Down

0 comments on commit 9303ab5

Please sign in to comment.