Skip to content

Commit

Permalink
feat(api): OpenAPI spec update via Stainless API (#1396)
Browse files Browse the repository at this point in the history
  • Loading branch information
stainless-app[bot] authored and stainless-bot committed Aug 21, 2024
1 parent 12b31d8 commit ccd2279
Show file tree
Hide file tree
Showing 13 changed files with 70 additions and 70 deletions.
2 changes: 1 addition & 1 deletion .stats.yml
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
configured_endpoints: 1316
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/cloudflare%2Fcloudflare-4b5ed9f249a71ae83ef4d7b2757e34c788d10d81e4392b2209d3058b35538602.yml
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/cloudflare%2Fcloudflare-9a03cb229dfc20538d9e00584217363bd4722c8653a88277d87f65d442234be6.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down
40 changes: 20 additions & 20 deletions src/cloudflare/resources/queues/consumers.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down
16 changes: 8 additions & 8 deletions src/cloudflare/resources/queues/messages.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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.
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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.
Expand Down
32 changes: 16 additions & 16 deletions src/cloudflare/resources/queues/queues.py
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ def create(
Creates a new queue.
Args:
account_id: Identifier
account_id: Identifier.
extra_headers: Send extra headers
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -314,7 +314,7 @@ async def create(
Creates a new queue.
Args:
account_id: Identifier
account_id: Identifier.
extra_headers: Send extra headers
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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"""
Expand Down
2 changes: 1 addition & 1 deletion src/cloudflare/types/queues/consumer_create_params.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,6 @@

class ConsumerCreateParams(TypedDict, total=False):
account_id: Required[str]
"""Identifier"""
"""Identifier."""

body: Required[object]
4 changes: 2 additions & 2 deletions src/cloudflare/types/queues/consumer_update_params.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,9 @@

class ConsumerUpdateParams(TypedDict, total=False):
account_id: Required[str]
"""Identifier"""
"""Identifier."""

queue_id: Required[str]
"""Identifier"""
"""Identifier."""

body: Required[object]
2 changes: 1 addition & 1 deletion src/cloudflare/types/queues/message_ack_params.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@

class MessageAckParams(TypedDict, total=False):
account_id: Required[str]
"""Identifier"""
"""Identifier."""

acks: Iterable[Ack]

Expand Down
Loading

0 comments on commit ccd2279

Please sign in to comment.