Skip to content

Commit

Permalink
feat: OpenAPI spec update via Stainless API (#60)
Browse files Browse the repository at this point in the history
  • Loading branch information
stainless-app[bot] authored Feb 21, 2024
1 parent f5faac2 commit a8b3440
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.FfMrAnLxPcapsResponseSimple
| PcapCreateResponse.FfMrAnLxPcapsResponseFull;
| PcapCreateResponse.OvZ3JqIqPcapsResponseSimple
| PcapCreateResponse.OvZ3JqIqPcapsResponseFull;

export namespace PcapCreateResponse {
export interface FfMrAnLxPcapsResponseSimple {
export interface OvZ3JqIqPcapsResponseSimple {
/**
* 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?: FfMrAnLxPcapsResponseSimple.FilterV1;
filter_v1?: OvZ3JqIqPcapsResponseSimple.FilterV1;

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

export namespace FfMrAnLxPcapsResponseSimple {
export namespace OvZ3JqIqPcapsResponseSimple {
/**
* 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 FfMrAnLxPcapsResponseFull {
export interface OvZ3JqIqPcapsResponseFull {
/**
* 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?: FfMrAnLxPcapsResponseFull.FilterV1;
filter_v1?: OvZ3JqIqPcapsResponseFull.FilterV1;

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

export namespace FfMrAnLxPcapsResponseFull {
export namespace OvZ3JqIqPcapsResponseFull {
/**
* 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.FfMrAnLxPcapsResponseSimple | PcapListResponse.FfMrAnLxPcapsResponseFull
PcapListResponse.OvZ3JqIqPcapsResponseSimple | PcapListResponse.OvZ3JqIqPcapsResponseFull
>;

export namespace PcapListResponse {
export interface FfMrAnLxPcapsResponseSimple {
export interface OvZ3JqIqPcapsResponseSimple {
/**
* 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?: FfMrAnLxPcapsResponseSimple.FilterV1;
filter_v1?: OvZ3JqIqPcapsResponseSimple.FilterV1;

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

export namespace FfMrAnLxPcapsResponseSimple {
export namespace OvZ3JqIqPcapsResponseSimple {
/**
* 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 FfMrAnLxPcapsResponseFull {
export interface OvZ3JqIqPcapsResponseFull {
/**
* 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?: FfMrAnLxPcapsResponseFull.FilterV1;
filter_v1?: OvZ3JqIqPcapsResponseFull.FilterV1;

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

export namespace FfMrAnLxPcapsResponseFull {
export namespace OvZ3JqIqPcapsResponseFull {
/**
* 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.FfMrAnLxPcapsResponseSimple
| PcapGetResponse.FfMrAnLxPcapsResponseFull;
| PcapGetResponse.OvZ3JqIqPcapsResponseSimple
| PcapGetResponse.OvZ3JqIqPcapsResponseFull;

export namespace PcapGetResponse {
export interface FfMrAnLxPcapsResponseSimple {
export interface OvZ3JqIqPcapsResponseSimple {
/**
* 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?: FfMrAnLxPcapsResponseSimple.FilterV1;
filter_v1?: OvZ3JqIqPcapsResponseSimple.FilterV1;

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

export namespace FfMrAnLxPcapsResponseSimple {
export namespace OvZ3JqIqPcapsResponseSimple {
/**
* 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 FfMrAnLxPcapsResponseFull {
export interface OvZ3JqIqPcapsResponseFull {
/**
* 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?: FfMrAnLxPcapsResponseFull.FilterV1;
filter_v1?: OvZ3JqIqPcapsResponseFull.FilterV1;

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

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

0 comments on commit a8b3440

Please sign in to comment.