Skip to content

Commit 43f03a8

Browse files
committed
feat: update snapshot
1 parent f309629 commit 43f03a8

3 files changed

Lines changed: 12 additions & 6 deletions

File tree

test/__tests__/class/__snapshots__/cloudflare-test.ts.snap

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16258,7 +16258,7 @@ export namespace Schemas {
1625816258
default_mode?: Schemas.waf$managed$rules_default_mode;
1625916259
mode?: Schemas.waf$managed$rules_mode_deny_traditional;
1626016260
};
16261-
/** Only available for the Waiting Room Advanced subscription. Additional hostname and path combinations to which this waiting room will be applied. There is an implied wildcard at the end of the path. The hostname and path combination must be unique to this and all other waiting rooms. */
16261+
/** Only available for the Waiting Room Advanced subscription. Additional hostname and path combinations to which this waiting room will be applied. There is an implied wildcard at the end of the path. The hostname and path combination must be unique to this and all other waiting rooms. */
1626216262
export type waitingroom_additional_routes = {
1626316263
/** The hostname to which this waiting room will be applied (no wildcards). The hostname must be the primary domain, subdomain, or custom hostname (if using SSL for SaaS) of this zone. Please do not include the scheme (http:// or https://). */
1626416264
host?: string;
@@ -37074,7 +37074,7 @@ export interface Parameter$api$shield$schema$validation$enable$validation$for$a$
3707437074
}
3707537075
export interface RequestBody$api$shield$schema$validation$enable$validation$for$a$schema {
3707637076
"application/json": {
37077-
validation_enabled?: Schemas.api$shield_validation_enabled & (string);
37077+
validation_enabled?: Schemas.api$shield_validation_enabled & string;
3707837078
};
3707937079
}
3708037080
export interface Response$api$shield$schema$validation$enable$validation$for$a$schema$Status$200 {
@@ -65581,6 +65581,7 @@ export class Client<RequestOption> {
6558165581
* Internet traffic anomalies are signals that might point to an outage,
6558265582
* These alerts are automatically detected by Radar and then manually verified by our team.
6558365583
* This endpoint returns the latest alerts.
65584+
*
6558465585
*/
6558565586
public async radar$get$traffic$anomalies(params: Params$radar$get$traffic$anomalies, option?: RequestOption): Promise<Response$radar$get$traffic$anomalies$Status$200["application/json"]> {
6558665587
const url = this.baseUrl + \`/radar/traffic_anomalies\`;
@@ -65610,6 +65611,7 @@ export class Client<RequestOption> {
6561065611
* Internet traffic anomalies are signals that might point to an outage,
6561165612
* These alerts are automatically detected by Radar and then manually verified by our team.
6561265613
* This endpoint returns the sum of alerts grouped by location.
65614+
*
6561365615
*/
6561465616
public async radar$get$traffic$anomalies$top(params: Params$radar$get$traffic$anomalies$top, option?: RequestOption): Promise<Response$radar$get$traffic$anomalies$top$Status$200["application/json"]> {
6561565617
const url = this.baseUrl + \`/radar/traffic_anomalies/locations\`;

test/__tests__/currying-functional/__snapshots__/coudflare-test.ts.snap

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16258,7 +16258,7 @@ export namespace Schemas {
1625816258
default_mode?: Schemas.waf$managed$rules_default_mode;
1625916259
mode?: Schemas.waf$managed$rules_mode_deny_traditional;
1626016260
};
16261-
/** Only available for the Waiting Room Advanced subscription. Additional hostname and path combinations to which this waiting room will be applied. There is an implied wildcard at the end of the path. The hostname and path combination must be unique to this and all other waiting rooms. */
16261+
/** Only available for the Waiting Room Advanced subscription. Additional hostname and path combinations to which this waiting room will be applied. There is an implied wildcard at the end of the path. The hostname and path combination must be unique to this and all other waiting rooms. */
1626216262
export type waitingroom_additional_routes = {
1626316263
/** The hostname to which this waiting room will be applied (no wildcards). The hostname must be the primary domain, subdomain, or custom hostname (if using SSL for SaaS) of this zone. Please do not include the scheme (http:// or https://). */
1626416264
host?: string;
@@ -37074,7 +37074,7 @@ export interface Parameter$api$shield$schema$validation$enable$validation$for$a$
3707437074
}
3707537075
export interface RequestBody$api$shield$schema$validation$enable$validation$for$a$schema {
3707637076
"application/json": {
37077-
validation_enabled?: Schemas.api$shield_validation_enabled & (string);
37077+
validation_enabled?: Schemas.api$shield_validation_enabled & string;
3707837078
};
3707937079
}
3708037080
export interface Response$api$shield$schema$validation$enable$validation$for$a$schema$Status$200 {
@@ -65543,6 +65543,7 @@ export const radar$get$search$global = <RequestOption>(apiClient: ApiClient<Requ
6554365543
* Internet traffic anomalies are signals that might point to an outage,
6554465544
* These alerts are automatically detected by Radar and then manually verified by our team.
6554565545
* This endpoint returns the latest alerts.
65546+
*
6554665547
*/
6554765548
export const radar$get$traffic$anomalies = <RequestOption>(apiClient: ApiClient<RequestOption>) => (params: Params$radar$get$traffic$anomalies, option?: RequestOption): Promise<Response$radar$get$traffic$anomalies$Status$200["application/json"]> => {
6554865549
const uri = \`/radar/traffic_anomalies\`;
@@ -65572,6 +65573,7 @@ export const radar$get$traffic$anomalies = <RequestOption>(apiClient: ApiClient<
6557265573
* Internet traffic anomalies are signals that might point to an outage,
6557365574
* These alerts are automatically detected by Radar and then manually verified by our team.
6557465575
* This endpoint returns the sum of alerts grouped by location.
65576+
*
6557565577
*/
6557665578
export const radar$get$traffic$anomalies$top = <RequestOption>(apiClient: ApiClient<RequestOption>) => (params: Params$radar$get$traffic$anomalies$top, option?: RequestOption): Promise<Response$radar$get$traffic$anomalies$top$Status$200["application/json"]> => {
6557765579
const uri = \`/radar/traffic_anomalies/locations\`;

test/__tests__/functional/__snapshots__/coudflare-test.ts.snap

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16258,7 +16258,7 @@ export namespace Schemas {
1625816258
default_mode?: Schemas.waf$managed$rules_default_mode;
1625916259
mode?: Schemas.waf$managed$rules_mode_deny_traditional;
1626016260
};
16261-
/** Only available for the Waiting Room Advanced subscription. Additional hostname and path combinations to which this waiting room will be applied. There is an implied wildcard at the end of the path. The hostname and path combination must be unique to this and all other waiting rooms. */
16261+
/** Only available for the Waiting Room Advanced subscription. Additional hostname and path combinations to which this waiting room will be applied. There is an implied wildcard at the end of the path. The hostname and path combination must be unique to this and all other waiting rooms. */
1626216262
export type waitingroom_additional_routes = {
1626316263
/** The hostname to which this waiting room will be applied (no wildcards). The hostname must be the primary domain, subdomain, or custom hostname (if using SSL for SaaS) of this zone. Please do not include the scheme (http:// or https://). */
1626416264
host?: string;
@@ -37074,7 +37074,7 @@ export interface Parameter$api$shield$schema$validation$enable$validation$for$a$
3707437074
}
3707537075
export interface RequestBody$api$shield$schema$validation$enable$validation$for$a$schema {
3707637076
"application/json": {
37077-
validation_enabled?: Schemas.api$shield_validation_enabled & (string);
37077+
validation_enabled?: Schemas.api$shield_validation_enabled & string;
3707837078
};
3707937079
}
3708037080
export interface Response$api$shield$schema$validation$enable$validation$for$a$schema$Status$200 {
@@ -65546,6 +65546,7 @@ export const createClient = <RequestOption>(apiClient: ApiClient<RequestOption>,
6554665546
* Internet traffic anomalies are signals that might point to an outage,
6554765547
* These alerts are automatically detected by Radar and then manually verified by our team.
6554865548
* This endpoint returns the latest alerts.
65549+
*
6554965550
*/
6555065551
radar$get$traffic$anomalies: (params: Params$radar$get$traffic$anomalies, option?: RequestOption): Promise<Response$radar$get$traffic$anomalies$Status$200["application/json"]> => {
6555165552
const url = _baseUrl + \`/radar/traffic_anomalies\`;
@@ -65575,6 +65576,7 @@ export const createClient = <RequestOption>(apiClient: ApiClient<RequestOption>,
6557565576
* Internet traffic anomalies are signals that might point to an outage,
6557665577
* These alerts are automatically detected by Radar and then manually verified by our team.
6557765578
* This endpoint returns the sum of alerts grouped by location.
65579+
*
6557865580
*/
6557965581
radar$get$traffic$anomalies$top: (params: Params$radar$get$traffic$anomalies$top, option?: RequestOption): Promise<Response$radar$get$traffic$anomalies$top$Status$200["application/json"]> => {
6558065582
const url = _baseUrl + \`/radar/traffic_anomalies/locations\`;

0 commit comments

Comments
 (0)