-
Notifications
You must be signed in to change notification settings - Fork 34
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(api): update via SDK Studio (#483)
- Loading branch information
1 parent
5c55bee
commit b27aa06
Showing
15 changed files
with
62 additions
and
54 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,45 @@ | ||
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. | ||
|
||
import { APIResource } from 'cloudflare/resource'; | ||
import * as AnalyticsAPI from 'cloudflare/resources/dns/firewall/analytics/analytics'; | ||
import * as ReportsAPI from 'cloudflare/resources/dns/firewall/analytics/reports/reports'; | ||
|
||
export class Analytics extends APIResource { | ||
reports: ReportsAPI.Reports = new ReportsAPI.Reports(this._client); | ||
} | ||
|
||
/** | ||
* Unit of time to group data by. | ||
*/ | ||
export type Delta = | ||
| 'all' | ||
| 'auto' | ||
| 'year' | ||
| 'quarter' | ||
| 'month' | ||
| 'week' | ||
| 'day' | ||
| 'hour' | ||
| 'dekaminute' | ||
| 'minute'; | ||
|
||
/** | ||
* Unit of time to group data by. | ||
*/ | ||
export type DeltaParam = | ||
| 'all' | ||
| 'auto' | ||
| 'year' | ||
| 'quarter' | ||
| 'month' | ||
| 'week' | ||
| 'day' | ||
| 'hour' | ||
| 'dekaminute' | ||
| 'minute'; | ||
|
||
export namespace Analytics { | ||
export import Delta = AnalyticsAPI.Delta; | ||
export import Reports = ReportsAPI.Reports; | ||
export import ReportGetParams = ReportsAPI.ReportGetParams; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
// File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details. | ||
|
||
export { Analytics } from './analytics'; | ||
export { Delta, Analytics } from './analytics'; | ||
export { ReportGetParams, Reports } from './reports/index'; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,7 +3,6 @@ | |
export { | ||
CertificateAuthority, | ||
Host, | ||
RequestType, | ||
RequestValidity, | ||
Status, | ||
ValidationMethod, | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters