Skip to content

Commit

Permalink
Merge pull request #703 from recurly/v3-v2021-02-25-10583286844
Browse files Browse the repository at this point in the history
Generated Latest Changes for v2021-02-25 (add UUID to external subscriptions)
  • Loading branch information
amandamfielding authored Aug 27, 2024
2 parents 093b303 + 3cb8e8e commit 34c6fcd
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 3 deletions.
9 changes: 7 additions & 2 deletions openapi/api.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -16743,8 +16743,9 @@ components:
external_subscription_id_fetch:
name: external_subscription_id
in: path
description: External subscription ID or external_id. For ID no prefix is used
e.g. `e28zov4fw0v2`. For external_id use prefix `external-id-`, e.g. `external-id-123456`.
description: External subscription ID, external_id or uuid. For ID no prefix
is used e.g. `e28zov4fw0v2`. For external_id use prefix `external-id-`, e.g.
`external-id-123456` and for uuid use prefix `uuid-` e.g. `uuid-7293239bae62777d8c1ae044a9843633`.
required: true
schema:
type: string
Expand Down Expand Up @@ -25100,6 +25101,10 @@ components:
title: External Id
description: The id of the subscription in the external systems., I.e. Apple
App Store or Google Play Store.
uuid:
type: string
title: Uuid
description: Universally Unique Identifier created automatically.
last_purchased:
type: string
format: date-time
Expand Down
2 changes: 1 addition & 1 deletion recurly/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -2863,7 +2863,7 @@ def get_external_subscription(self, external_subscription_id, **options):
----------
external_subscription_id : str
External subscription ID or external_id. For ID no prefix is used e.g. `e28zov4fw0v2`. For external_id use prefix `external-id-`, e.g. `external-id-123456`.
External subscription ID, external_id or uuid. For ID no prefix is used e.g. `e28zov4fw0v2`. For external_id use prefix `external-id-`, e.g. `external-id-123456` and for uuid use prefix `uuid-` e.g. `uuid-7293239bae62777d8c1ae044a9843633`.
Keyword Arguments
-----------------
Expand Down
3 changes: 3 additions & 0 deletions recurly/resources.py
Original file line number Diff line number Diff line change
Expand Up @@ -1333,6 +1333,8 @@ class ExternalSubscription(Resource):
When the external subscription trial period started in the external platform.
updated_at : datetime
When the external subscription was updated in Recurly.
uuid : str
Universally Unique Identifier created automatically.
"""

schema = {
Expand All @@ -1357,6 +1359,7 @@ class ExternalSubscription(Resource):
"trial_ends_at": datetime,
"trial_started_at": datetime,
"updated_at": datetime,
"uuid": str,
}


Expand Down

0 comments on commit 34c6fcd

Please sign in to comment.