Skip to content

Commit dbe1423

Browse files
Update api spec (#535)
* YOYO NEW API SPEC! * I have generated the latest API! --------- Co-authored-by: zoo-github-actions-auth[bot] <zoo-github-actions-auth[bot]@users.noreply.github.com>
1 parent 8b5e882 commit dbe1423

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

kittycad/__init__.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7101,7 +7101,7 @@ def get_payment_balance_for_org(
71017101
*,
71027102
include_total_due: Optional[bool] = None,
71037103
) -> CustomerBalance:
7104-
"""This endpoint requires authentication by an org admin. It gets the balance information for the authenticated user's org."""
7104+
"""This endpoint requires authentication by any member of an org. It gets the balance information for the authenticated user's org."""
71057105

71067106
url = "{}/org/payment/balance".format(self.client.base_url)
71077107

@@ -7241,7 +7241,7 @@ def delete_payment_method_for_org(
72417241
def get_org_subscription(
72427242
self,
72437243
) -> ZooProductSubscriptions:
7244-
"""This endpoint requires authentication by an org admin. It gets the subscription for the authenticated user's org."""
7244+
"""This endpoint requires authentication by any member of an org. It gets the subscription for the authenticated user's org."""
72457245

72467246
url = "{}/org/payment/subscriptions".format(self.client.base_url)
72477247

@@ -7988,7 +7988,7 @@ async def get_payment_balance_for_org(
79887988
*,
79897989
include_total_due: Optional[bool] = None,
79907990
) -> CustomerBalance:
7991-
"""This endpoint requires authentication by an org admin. It gets the balance information for the authenticated user's org."""
7991+
"""This endpoint requires authentication by any member of an org. It gets the balance information for the authenticated user's org."""
79927992

79937993
url = "{}/org/payment/balance".format(self.client.base_url)
79947994

@@ -8128,7 +8128,7 @@ async def delete_payment_method_for_org(
81288128
async def get_org_subscription(
81298129
self,
81308130
) -> ZooProductSubscriptions:
8131-
"""This endpoint requires authentication by an org admin. It gets the subscription for the authenticated user's org."""
8131+
"""This endpoint requires authentication by any member of an org. It gets the subscription for the authenticated user's org."""
81328132

81338133
url = "{}/org/payment/subscriptions".format(self.client.base_url)
81348134

spec.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8888,7 +8888,7 @@
88888888
"payments"
88898889
],
88908890
"summary": "Get balance for your org.",
8891-
"description": "This endpoint requires authentication by an org admin. It gets the balance information for the authenticated user's org.",
8891+
"description": "This endpoint requires authentication by any member of an org. It gets the balance information for the authenticated user's org.",
88928892
"operationId": "get_payment_balance_for_org",
88938893
"parameters": [
88948894
{
@@ -9563,7 +9563,7 @@
95639563
"payments"
95649564
],
95659565
"summary": "Get the subscription for an org.",
9566-
"description": "This endpoint requires authentication by an org admin. It gets the subscription for the authenticated user's org.",
9566+
"description": "This endpoint requires authentication by any member of an org. It gets the subscription for the authenticated user's org.",
95679567
"operationId": "get_org_subscription",
95689568
"responses": {
95699569
"200": {

0 commit comments

Comments
 (0)