Skip to content

Commit

Permalink
feat: OpenAPI spec update via Stainless API (#57)
Browse files Browse the repository at this point in the history
  • Loading branch information
stainless-app[bot] authored Feb 21, 2024
1 parent ed58d7c commit 14b0739
Showing 1 changed file with 23 additions and 23 deletions.
46 changes: 23 additions & 23 deletions src/resources/pcaps/pcaps.ts
Original file line number Diff line number Diff line change
Expand Up @@ -53,11 +53,11 @@ export class Pcaps extends APIResource {
}

export type PcapCreateResponse =
| PcapCreateResponse._2Uqz5PlfPcapsResponseSimple
| PcapCreateResponse._2Uqz5PlfPcapsResponseFull;
| PcapCreateResponse.HwGa9CrdPcapsResponseSimple
| PcapCreateResponse.HwGa9CrdPcapsResponseFull;

export namespace PcapCreateResponse {
export interface _2Uqz5PlfPcapsResponseSimple {
export interface HwGa9CrdPcapsResponseSimple {
/**
* The ID for the packet capture.
*/
Expand All @@ -66,7 +66,7 @@ export namespace PcapCreateResponse {
/**
* The packet capture filter. When this field is empty, all packets are captured.
*/
filter_v1?: _2Uqz5PlfPcapsResponseSimple.FilterV1;
filter_v1?: HwGa9CrdPcapsResponseSimple.FilterV1;

/**
* The status of the packet capture request.
Expand Down Expand Up @@ -103,7 +103,7 @@ export namespace PcapCreateResponse {
type?: 'simple' | 'full';
}

export namespace _2Uqz5PlfPcapsResponseSimple {
export namespace HwGa9CrdPcapsResponseSimple {
/**
* The packet capture filter. When this field is empty, all packets are captured.
*/
Expand Down Expand Up @@ -135,7 +135,7 @@ export namespace PcapCreateResponse {
}
}

export interface _2Uqz5PlfPcapsResponseFull {
export interface HwGa9CrdPcapsResponseFull {
/**
* The ID for the packet capture.
*/
Expand Down Expand Up @@ -168,7 +168,7 @@ export namespace PcapCreateResponse {
/**
* The packet capture filter. When this field is empty, all packets are captured.
*/
filter_v1?: _2Uqz5PlfPcapsResponseFull.FilterV1;
filter_v1?: HwGa9CrdPcapsResponseFull.FilterV1;

/**
* The status of the packet capture request.
Expand Down Expand Up @@ -205,7 +205,7 @@ export namespace PcapCreateResponse {
type?: 'simple' | 'full';
}

export namespace _2Uqz5PlfPcapsResponseFull {
export namespace HwGa9CrdPcapsResponseFull {
/**
* The packet capture filter. When this field is empty, all packets are captured.
*/
Expand Down Expand Up @@ -239,11 +239,11 @@ export namespace PcapCreateResponse {
}

export type PcapListResponse = Array<
PcapListResponse._2Uqz5PlfPcapsResponseSimple | PcapListResponse._2Uqz5PlfPcapsResponseFull
PcapListResponse.HwGa9CrdPcapsResponseSimple | PcapListResponse.HwGa9CrdPcapsResponseFull
>;

export namespace PcapListResponse {
export interface _2Uqz5PlfPcapsResponseSimple {
export interface HwGa9CrdPcapsResponseSimple {
/**
* The ID for the packet capture.
*/
Expand All @@ -252,7 +252,7 @@ export namespace PcapListResponse {
/**
* The packet capture filter. When this field is empty, all packets are captured.
*/
filter_v1?: _2Uqz5PlfPcapsResponseSimple.FilterV1;
filter_v1?: HwGa9CrdPcapsResponseSimple.FilterV1;

/**
* The status of the packet capture request.
Expand Down Expand Up @@ -289,7 +289,7 @@ export namespace PcapListResponse {
type?: 'simple' | 'full';
}

export namespace _2Uqz5PlfPcapsResponseSimple {
export namespace HwGa9CrdPcapsResponseSimple {
/**
* The packet capture filter. When this field is empty, all packets are captured.
*/
Expand Down Expand Up @@ -321,7 +321,7 @@ export namespace PcapListResponse {
}
}

export interface _2Uqz5PlfPcapsResponseFull {
export interface HwGa9CrdPcapsResponseFull {
/**
* The ID for the packet capture.
*/
Expand Down Expand Up @@ -354,7 +354,7 @@ export namespace PcapListResponse {
/**
* The packet capture filter. When this field is empty, all packets are captured.
*/
filter_v1?: _2Uqz5PlfPcapsResponseFull.FilterV1;
filter_v1?: HwGa9CrdPcapsResponseFull.FilterV1;

/**
* The status of the packet capture request.
Expand Down Expand Up @@ -391,7 +391,7 @@ export namespace PcapListResponse {
type?: 'simple' | 'full';
}

export namespace _2Uqz5PlfPcapsResponseFull {
export namespace HwGa9CrdPcapsResponseFull {
/**
* The packet capture filter. When this field is empty, all packets are captured.
*/
Expand Down Expand Up @@ -425,11 +425,11 @@ export namespace PcapListResponse {
}

export type PcapGetResponse =
| PcapGetResponse._2Uqz5PlfPcapsResponseSimple
| PcapGetResponse._2Uqz5PlfPcapsResponseFull;
| PcapGetResponse.HwGa9CrdPcapsResponseSimple
| PcapGetResponse.HwGa9CrdPcapsResponseFull;

export namespace PcapGetResponse {
export interface _2Uqz5PlfPcapsResponseSimple {
export interface HwGa9CrdPcapsResponseSimple {
/**
* The ID for the packet capture.
*/
Expand All @@ -438,7 +438,7 @@ export namespace PcapGetResponse {
/**
* The packet capture filter. When this field is empty, all packets are captured.
*/
filter_v1?: _2Uqz5PlfPcapsResponseSimple.FilterV1;
filter_v1?: HwGa9CrdPcapsResponseSimple.FilterV1;

/**
* The status of the packet capture request.
Expand Down Expand Up @@ -475,7 +475,7 @@ export namespace PcapGetResponse {
type?: 'simple' | 'full';
}

export namespace _2Uqz5PlfPcapsResponseSimple {
export namespace HwGa9CrdPcapsResponseSimple {
/**
* The packet capture filter. When this field is empty, all packets are captured.
*/
Expand Down Expand Up @@ -507,7 +507,7 @@ export namespace PcapGetResponse {
}
}

export interface _2Uqz5PlfPcapsResponseFull {
export interface HwGa9CrdPcapsResponseFull {
/**
* The ID for the packet capture.
*/
Expand Down Expand Up @@ -540,7 +540,7 @@ export namespace PcapGetResponse {
/**
* The packet capture filter. When this field is empty, all packets are captured.
*/
filter_v1?: _2Uqz5PlfPcapsResponseFull.FilterV1;
filter_v1?: HwGa9CrdPcapsResponseFull.FilterV1;

/**
* The status of the packet capture request.
Expand Down Expand Up @@ -577,7 +577,7 @@ export namespace PcapGetResponse {
type?: 'simple' | 'full';
}

export namespace _2Uqz5PlfPcapsResponseFull {
export namespace HwGa9CrdPcapsResponseFull {
/**
* The packet capture filter. When this field is empty, all packets are captured.
*/
Expand Down

0 comments on commit 14b0739

Please sign in to comment.