From 34b39258d5a4bcc9525b00f24c45c2cf82065f23 Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Tue, 13 Aug 2024 16:42:35 +0000 Subject: [PATCH] feat(api): OpenAPI spec update via Stainless API (#1310) --- .stats.yml | 2 +- .../r2/configuration/configuration.py | 8 ++-- .../r2/configuration/queues.py | 24 +++++------ src/cloudflare/resources/queues/consumers.py | 40 +++++++++---------- src/cloudflare/resources/queues/messages.py | 16 ++++---- src/cloudflare/resources/queues/queues.py | 32 +++++++-------- .../r2/configuration/queue_update_params.py | 4 +- .../types/queues/consumer_create_params.py | 2 +- .../types/queues/consumer_update_params.py | 4 +- .../types/queues/message_ack_params.py | 2 +- .../types/queues/message_pull_params.py | 2 +- .../types/queues/queue_create_params.py | 2 +- .../types/queues/queue_update_params.py | 2 +- 13 files changed, 70 insertions(+), 70 deletions(-) diff --git a/.stats.yml b/.stats.yml index 549263f05ba..798350b2ad5 100644 --- a/.stats.yml +++ b/.stats.yml @@ -1,2 +1,2 @@ configured_endpoints: 1312 -openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/cloudflare%2Fcloudflare-d2947f56268ba3a244a360b6df60b1a498e9549282392890227db2ff3e52abef.yml +openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/cloudflare%2Fcloudflare-f76b96343461c2bbdb92e38e26f0ac48391e4d8d514d73cd33f08389626aae66.yml diff --git a/src/cloudflare/resources/event_notifications/r2/configuration/configuration.py b/src/cloudflare/resources/event_notifications/r2/configuration/configuration.py index c1c541c1d96..27f4743c55e 100644 --- a/src/cloudflare/resources/event_notifications/r2/configuration/configuration.py +++ b/src/cloudflare/resources/event_notifications/r2/configuration/configuration.py @@ -60,9 +60,9 @@ def get( produced. Args: - account_id: Identifier + account_id: Identifier. - bucket_name: Identifier + bucket_name: Identifier. extra_headers: Send extra headers @@ -119,9 +119,9 @@ async def get( produced. Args: - account_id: Identifier + account_id: Identifier. - bucket_name: Identifier + bucket_name: Identifier. extra_headers: Send extra headers diff --git a/src/cloudflare/resources/event_notifications/r2/configuration/queues.py b/src/cloudflare/resources/event_notifications/r2/configuration/queues.py index 6b4d28e5383..2ab7c0e866a 100644 --- a/src/cloudflare/resources/event_notifications/r2/configuration/queues.py +++ b/src/cloudflare/resources/event_notifications/r2/configuration/queues.py @@ -56,11 +56,11 @@ def update( production. Args: - account_id: Identifier + account_id: Identifier. - bucket_name: Identifier + bucket_name: Identifier. - queue_id: Identifier + queue_id: Identifier. rules: Array of rules to drive notifications @@ -110,11 +110,11 @@ def delete( further notifications will be produced for the queue once complete. Args: - account_id: Identifier + account_id: Identifier. - bucket_name: Identifier + bucket_name: Identifier. - queue_id: Identifier + queue_id: Identifier. extra_headers: Send extra headers @@ -176,11 +176,11 @@ async def update( production. Args: - account_id: Identifier + account_id: Identifier. - bucket_name: Identifier + bucket_name: Identifier. - queue_id: Identifier + queue_id: Identifier. rules: Array of rules to drive notifications @@ -230,11 +230,11 @@ async def delete( further notifications will be produced for the queue once complete. Args: - account_id: Identifier + account_id: Identifier. - bucket_name: Identifier + bucket_name: Identifier. - queue_id: Identifier + queue_id: Identifier. extra_headers: Send extra headers diff --git a/src/cloudflare/resources/queues/consumers.py b/src/cloudflare/resources/queues/consumers.py index 62500828562..ebdab0f9500 100644 --- a/src/cloudflare/resources/queues/consumers.py +++ b/src/cloudflare/resources/queues/consumers.py @@ -56,9 +56,9 @@ def create( Creates a new consumer for a queue. Args: - account_id: Identifier + account_id: Identifier. - queue_id: Identifier + queue_id: Identifier. extra_headers: Send extra headers @@ -103,11 +103,11 @@ def update( Updates the consumer for a queue, or creates one if it does not exist. Args: - account_id: Identifier + account_id: Identifier. - queue_id: Identifier + queue_id: Identifier. - consumer_id: Identifier + consumer_id: Identifier. extra_headers: Send extra headers @@ -153,11 +153,11 @@ def delete( Deletes the consumer for a queue. Args: - account_id: Identifier + account_id: Identifier. - queue_id: Identifier + queue_id: Identifier. - consumer_id: Identifier + consumer_id: Identifier. extra_headers: Send extra headers @@ -206,9 +206,9 @@ def get( Returns the consumers for a queue. Args: - account_id: Identifier + account_id: Identifier. - queue_id: Identifier + queue_id: Identifier. extra_headers: Send extra headers @@ -261,9 +261,9 @@ async def create( Creates a new consumer for a queue. Args: - account_id: Identifier + account_id: Identifier. - queue_id: Identifier + queue_id: Identifier. extra_headers: Send extra headers @@ -308,11 +308,11 @@ async def update( Updates the consumer for a queue, or creates one if it does not exist. Args: - account_id: Identifier + account_id: Identifier. - queue_id: Identifier + queue_id: Identifier. - consumer_id: Identifier + consumer_id: Identifier. extra_headers: Send extra headers @@ -358,11 +358,11 @@ async def delete( Deletes the consumer for a queue. Args: - account_id: Identifier + account_id: Identifier. - queue_id: Identifier + queue_id: Identifier. - consumer_id: Identifier + consumer_id: Identifier. extra_headers: Send extra headers @@ -411,9 +411,9 @@ async def get( Returns the consumers for a queue. Args: - account_id: Identifier + account_id: Identifier. - queue_id: Identifier + queue_id: Identifier. extra_headers: Send extra headers diff --git a/src/cloudflare/resources/queues/messages.py b/src/cloudflare/resources/queues/messages.py index cb62f84868e..9ad6d246a33 100644 --- a/src/cloudflare/resources/queues/messages.py +++ b/src/cloudflare/resources/queues/messages.py @@ -55,9 +55,9 @@ def ack( Acknowledge + Retry messages from a Queue. Args: - account_id: Identifier + account_id: Identifier. - queue_id: Identifier + queue_id: Identifier. extra_headers: Send extra headers @@ -108,9 +108,9 @@ def pull( Pull a batch of messages from a Queue. Args: - account_id: Identifier + account_id: Identifier. - queue_id: Identifier + queue_id: Identifier. batch_size: The maximum number of messages to include in a batch. @@ -176,9 +176,9 @@ async def ack( Acknowledge + Retry messages from a Queue. Args: - account_id: Identifier + account_id: Identifier. - queue_id: Identifier + queue_id: Identifier. extra_headers: Send extra headers @@ -229,9 +229,9 @@ async def pull( Pull a batch of messages from a Queue. Args: - account_id: Identifier + account_id: Identifier. - queue_id: Identifier + queue_id: Identifier. batch_size: The maximum number of messages to include in a batch. diff --git a/src/cloudflare/resources/queues/queues.py b/src/cloudflare/resources/queues/queues.py index 5af6946e0c9..f674d6e3fe5 100644 --- a/src/cloudflare/resources/queues/queues.py +++ b/src/cloudflare/resources/queues/queues.py @@ -80,7 +80,7 @@ def create( Creates a new queue. Args: - account_id: Identifier + account_id: Identifier. extra_headers: Send extra headers @@ -122,9 +122,9 @@ def update( Updates a queue. Args: - account_id: Identifier + account_id: Identifier. - queue_id: Identifier + queue_id: Identifier. extra_headers: Send extra headers @@ -166,7 +166,7 @@ def list( Returns the queues owned by an account. Args: - account_id: Identifier + account_id: Identifier. extra_headers: Send extra headers @@ -203,9 +203,9 @@ def delete( Deletes a queue. Args: - account_id: Identifier + account_id: Identifier. - queue_id: Identifier + queue_id: Identifier. extra_headers: Send extra headers @@ -252,9 +252,9 @@ def get( Get information about a specific queue. Args: - account_id: Identifier + account_id: Identifier. - queue_id: Identifier + queue_id: Identifier. extra_headers: Send extra headers @@ -314,7 +314,7 @@ async def create( Creates a new queue. Args: - account_id: Identifier + account_id: Identifier. extra_headers: Send extra headers @@ -356,9 +356,9 @@ async def update( Updates a queue. Args: - account_id: Identifier + account_id: Identifier. - queue_id: Identifier + queue_id: Identifier. extra_headers: Send extra headers @@ -400,7 +400,7 @@ def list( Returns the queues owned by an account. Args: - account_id: Identifier + account_id: Identifier. extra_headers: Send extra headers @@ -437,9 +437,9 @@ async def delete( Deletes a queue. Args: - account_id: Identifier + account_id: Identifier. - queue_id: Identifier + queue_id: Identifier. extra_headers: Send extra headers @@ -486,9 +486,9 @@ async def get( Get information about a specific queue. Args: - account_id: Identifier + account_id: Identifier. - queue_id: Identifier + queue_id: Identifier. extra_headers: Send extra headers diff --git a/src/cloudflare/types/event_notifications/r2/configuration/queue_update_params.py b/src/cloudflare/types/event_notifications/r2/configuration/queue_update_params.py index 08718f376d4..6ae61f66487 100644 --- a/src/cloudflare/types/event_notifications/r2/configuration/queue_update_params.py +++ b/src/cloudflare/types/event_notifications/r2/configuration/queue_update_params.py @@ -10,10 +10,10 @@ class QueueUpdateParams(TypedDict, total=False): account_id: Required[str] - """Identifier""" + """Identifier.""" bucket_name: Required[str] - """Identifier""" + """Identifier.""" rules: Iterable[Rule] """Array of rules to drive notifications""" diff --git a/src/cloudflare/types/queues/consumer_create_params.py b/src/cloudflare/types/queues/consumer_create_params.py index ee3b7882d1e..84dd755dbed 100644 --- a/src/cloudflare/types/queues/consumer_create_params.py +++ b/src/cloudflare/types/queues/consumer_create_params.py @@ -9,6 +9,6 @@ class ConsumerCreateParams(TypedDict, total=False): account_id: Required[str] - """Identifier""" + """Identifier.""" body: Required[object] diff --git a/src/cloudflare/types/queues/consumer_update_params.py b/src/cloudflare/types/queues/consumer_update_params.py index a741a247317..0fce7fcba21 100644 --- a/src/cloudflare/types/queues/consumer_update_params.py +++ b/src/cloudflare/types/queues/consumer_update_params.py @@ -9,9 +9,9 @@ class ConsumerUpdateParams(TypedDict, total=False): account_id: Required[str] - """Identifier""" + """Identifier.""" queue_id: Required[str] - """Identifier""" + """Identifier.""" body: Required[object] diff --git a/src/cloudflare/types/queues/message_ack_params.py b/src/cloudflare/types/queues/message_ack_params.py index a076ef3df88..5604662d579 100644 --- a/src/cloudflare/types/queues/message_ack_params.py +++ b/src/cloudflare/types/queues/message_ack_params.py @@ -10,7 +10,7 @@ class MessageAckParams(TypedDict, total=False): account_id: Required[str] - """Identifier""" + """Identifier.""" acks: Iterable[Ack] diff --git a/src/cloudflare/types/queues/message_pull_params.py b/src/cloudflare/types/queues/message_pull_params.py index ee296274212..c8c3082cb6b 100644 --- a/src/cloudflare/types/queues/message_pull_params.py +++ b/src/cloudflare/types/queues/message_pull_params.py @@ -9,7 +9,7 @@ class MessagePullParams(TypedDict, total=False): account_id: Required[str] - """Identifier""" + """Identifier.""" batch_size: float """The maximum number of messages to include in a batch.""" diff --git a/src/cloudflare/types/queues/queue_create_params.py b/src/cloudflare/types/queues/queue_create_params.py index a3d1af9a201..c590bda26f3 100644 --- a/src/cloudflare/types/queues/queue_create_params.py +++ b/src/cloudflare/types/queues/queue_create_params.py @@ -9,6 +9,6 @@ class QueueCreateParams(TypedDict, total=False): account_id: Required[str] - """Identifier""" + """Identifier.""" queue_name: Required[str] diff --git a/src/cloudflare/types/queues/queue_update_params.py b/src/cloudflare/types/queues/queue_update_params.py index e5f2bfc978c..bcfb690cadf 100644 --- a/src/cloudflare/types/queues/queue_update_params.py +++ b/src/cloudflare/types/queues/queue_update_params.py @@ -9,6 +9,6 @@ class QueueUpdateParams(TypedDict, total=False): account_id: Required[str] - """Identifier""" + """Identifier.""" body: Required[object]