Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(api): api update #2097

Merged
merged 1 commit into from
Nov 4, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .stats.yml
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
configured_endpoints: 1397
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/cloudflare%2Fcloudflare-7cb49bbd182cee90795ca425a95003b1b167c4ad481fc3e8f45c398710b3ba5e.yml
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/cloudflare%2Fcloudflare-bd17acae6e2c1649037abd197a2022c623adf77733008a901fc2481d28e5baf1.yml
24 changes: 12 additions & 12 deletions src/resources/r2/buckets/lifecycle.ts
Original file line number Diff line number Diff line change
Expand Up @@ -108,15 +108,15 @@ export namespace LifecycleGetResponse {
export interface AbortMultipartUploadsTransition {
/**
* Condition for lifecycle transitions to apply after an object reaches an age in
* days
* seconds
*/
condition?: AbortMultipartUploadsTransition.Condition;
}

export namespace AbortMultipartUploadsTransition {
/**
* Condition for lifecycle transitions to apply after an object reaches an age in
* days
* seconds
*/
export interface Condition {
maxAge: number;
Expand All @@ -131,7 +131,7 @@ export namespace LifecycleGetResponse {
export interface DeleteObjectsTransition {
/**
* Condition for lifecycle transitions to apply after an object reaches an age in
* days
* seconds
*/
condition?:
| DeleteObjectsTransition.R2LifecycleAgeCondition
Expand All @@ -141,7 +141,7 @@ export namespace LifecycleGetResponse {
export namespace DeleteObjectsTransition {
/**
* Condition for lifecycle transitions to apply after an object reaches an age in
* days
* seconds
*/
export interface R2LifecycleAgeCondition {
maxAge: number;
Expand All @@ -162,7 +162,7 @@ export namespace LifecycleGetResponse {
export interface StorageClassTransition {
/**
* Condition for lifecycle transitions to apply after an object reaches an age in
* days
* seconds
*/
condition:
| StorageClassTransition.R2LifecycleAgeCondition
Expand All @@ -174,7 +174,7 @@ export namespace LifecycleGetResponse {
export namespace StorageClassTransition {
/**
* Condition for lifecycle transitions to apply after an object reaches an age in
* days
* seconds
*/
export interface R2LifecycleAgeCondition {
maxAge: number;
Expand Down Expand Up @@ -263,15 +263,15 @@ export namespace LifecycleUpdateParams {
export interface AbortMultipartUploadsTransition {
/**
* Condition for lifecycle transitions to apply after an object reaches an age in
* days
* seconds
*/
condition?: AbortMultipartUploadsTransition.Condition;
}

export namespace AbortMultipartUploadsTransition {
/**
* Condition for lifecycle transitions to apply after an object reaches an age in
* days
* seconds
*/
export interface Condition {
maxAge: number;
Expand All @@ -286,7 +286,7 @@ export namespace LifecycleUpdateParams {
export interface DeleteObjectsTransition {
/**
* Condition for lifecycle transitions to apply after an object reaches an age in
* days
* seconds
*/
condition?:
| DeleteObjectsTransition.R2LifecycleAgeCondition
Expand All @@ -296,7 +296,7 @@ export namespace LifecycleUpdateParams {
export namespace DeleteObjectsTransition {
/**
* Condition for lifecycle transitions to apply after an object reaches an age in
* days
* seconds
*/
export interface R2LifecycleAgeCondition {
maxAge: number;
Expand All @@ -317,7 +317,7 @@ export namespace LifecycleUpdateParams {
export interface StorageClassTransition {
/**
* Condition for lifecycle transitions to apply after an object reaches an age in
* days
* seconds
*/
condition:
| StorageClassTransition.R2LifecycleAgeCondition
Expand All @@ -329,7 +329,7 @@ export namespace LifecycleUpdateParams {
export namespace StorageClassTransition {
/**
* Condition for lifecycle transitions to apply after an object reaches an age in
* days
* seconds
*/
export interface R2LifecycleAgeCondition {
maxAge: number;
Expand Down