chore(revenuecat): 🤖 regenerate openapi & sdk specs for platform routes

This commit is contained in:
amianthus
2026-06-04 15:44:45 +01:00
committed by Charlie Lamb
parent 4883610fca
commit 1e3e1b4eb5
6 changed files with 1013 additions and 66 deletions

View File

@@ -1,19 +1,20 @@
lockVersion: 2.0.0
id: 05940b80-1ef8-40f4-9878-822fb2792070
management:
docChecksum: 3b9e3c6fa63e6d5faadf490512c769a8
docChecksum: 69c7a38357ec2752bfddc3d3fe3c8217
docVersion: 2.3.0
speakeasyVersion: 1.762.0
generationVersion: 2.882.0
releaseVersion: 0.4.18
configChecksum: 2263d20254e354a1792248274002f650
persistentEdits:
generation_id: b518426a-4c9e-4984-92d3-43bc77843949
pristine_commit_hash: 7a491e8dfc11b8aa551892f546a7bd3ec03f6613
pristine_tree_hash: 9d6dc1b3ba101c63df68d2cc7daab4b190b03a7b
generation_id: eeb45171-4135-499a-b86f-e278f1f1d8ab
pristine_commit_hash: 8339a7c4802bb87e0ebf10bdc7cab95b507d4599
pristine_tree_hash: 7a4a651f3fd98b3d736fe7bb6dbc87d904b8af0c
features:
python:
additionalDependencies: 1.0.0
additionalProperties: 1.0.1
constsAndDefaults: 1.0.7
core: 6.0.21
defaultEnabledRetries: 0.2.0
@@ -67,6 +68,10 @@ trackedFiles:
id: b597cfc651ae
last_write_checksum: sha1:641c0d27fe8e8242429da6d8083fe10ab70b570c
pristine_git_object: 2fd7b5fb0f426ec942cb43aa30d3a85287ef724a
docs/models/apikey.md:
id: 3cd1b4235d4f
last_write_checksum: sha1:5c30cc7199e1f3886bcea8052365d549277e1795
pristine_git_object: 673e261bea89e033c21752bddec54413cae7d856
docs/models/attachaction.md:
id: 984e5ad5e280
last_write_checksum: sha1:162c4a0771f000b3835c06765eafdd843fb8d2a7
@@ -639,6 +644,14 @@ trackedFiles:
id: 41de438d57cd
last_write_checksum: sha1:ab7c54bfe0c657851a59fedd447c99bb3acdb4c2
pristine_git_object: 7848c33fdbffc71c09fadd8ad859214182f00e0a
docs/models/checkproduct1.md:
id: 22c131b2d914
last_write_checksum: sha1:a156ce217c8853244160cd4dc347ef660a4b4688
pristine_git_object: 8d8fe115ad5a73bcd5b21e22700ebc537105d36f
docs/models/checkproduct2.md:
id: f002dbaf8c20
last_write_checksum: sha1:3140655b5efa528c4d839550d3d17a04de6f3f43
pristine_git_object: 340e33a4d0afb0f7433a7b6f30d0329bd9f4015c
docs/models/checkresponse.md:
id: b988b0f4b781
last_write_checksum: sha1:9522d4ecea7631ce3ae3d80b341a068ccb2dcca4
@@ -1895,6 +1908,26 @@ trackedFiles:
id: afbdf26f0f4b
last_write_checksum: sha1:6d5dfd04c5d95c235f56eb23e31f497c9ed91247
pristine_git_object: 7390b496108568e19aba42d36c5c3b508e3d42b3
docs/models/getrevenuecatkeysapp.md:
id: b47525a2f9de
last_write_checksum: sha1:1de286cbb4c475583313a05f5d89c8cdc90fcbf1
pristine_git_object: 18eb7cb3f4c2077bbe2e19015f6098703a65ce03
docs/models/getrevenuecatkeysenv.md:
id: a9081dfb1e62
last_write_checksum: sha1:f44bbe9fd99bac368b4e679a7a05c4d22f030259
pristine_git_object: 5c9236f2a8fb8a3c6f762a47e8b2c40a3f7c39cc
docs/models/getrevenuecatkeysglobals.md:
id: 3e0c18c79f36
last_write_checksum: sha1:a264613009362faa9a1497f94403cf9fe1a9f869
pristine_git_object: 412e603c39750e0d782e772d72d7172779298506
docs/models/getrevenuecatkeysparams.md:
id: 76cd38034f68
last_write_checksum: sha1:99ff618181876cae820a5f42b6e06beb255c248c
pristine_git_object: f5c96fdacda480ae30ebc28d71826d5dffe80cef
docs/models/getrevenuecatkeysresponse.md:
id: 4b23c9d5ea78
last_write_checksum: sha1:4eb6f4db2d614bbb53dfb512b73030035dbb6d86
pristine_git_object: be7a493d4f7d1670084a8882a2ab4b60a8b367ad
docs/models/includedusage1.md:
id: 7ceb62e48016
last_write_checksum: sha1:9a7a940ec67dc041a2fb2064f8e5b433c9cb12ed
@@ -1919,6 +1952,22 @@ trackedFiles:
id: 40dd7473ab87
last_write_checksum: sha1:76b0d2926283b9d9cb79c92fc0c1baec458f06af
pristine_git_object: cfe1e33316af7bc0ca8cca5ecb59e72e5f3182bd
docs/models/linkrevenuecatenv.md:
id: 57a0ac8d952a
last_write_checksum: sha1:6a2280c9c13ebd82da37f3398be0d4427950bf3c
pristine_git_object: 419027171edab8fd89e8bcddb02e374d8b263649
docs/models/linkrevenuecatglobals.md:
id: 3a3c92d9666d
last_write_checksum: sha1:bd4c5dae75935cfffe3496713fcdcbad66a84fba
pristine_git_object: dfab4e4be248fa1f702de0f92f898dd41de56c09
docs/models/linkrevenuecatparams.md:
id: fdd3864d636f
last_write_checksum: sha1:aa4605a7153b9e78f325afc477a091b17bae9b98
pristine_git_object: 6e209832568861dae3b88067bc70762132db5595
docs/models/linkrevenuecatresponse.md:
id: a598227583fb
last_write_checksum: sha1:8481a4f7b9efb12da31da74469889eafb03cedb5
pristine_git_object: ea11c719bceb2bd254286e7f8f0c1ba5161d15b8
docs/models/listcustomersautotopup.md:
id: 43e50adc0195
last_write_checksum: sha1:36e4e209d3743d6ff7911104da4f54ebd484f923
@@ -2589,12 +2638,12 @@ trackedFiles:
pristine_git_object: 5add1a3cab3d01077452a4df8d9037c6279da319
docs/models/preview1.md:
id: 203e34d3c393
last_write_checksum: sha1:b9b1ce18639c5e83d9eb6bd83e1d99bd683291cd
pristine_git_object: ac258d817302c6d7f841b006ff7a7931cfe13df7
last_write_checksum: sha1:116b6aa31a514f220d270164fdc3572eacb16be8
pristine_git_object: d82654857e15b247088aa29b1edc997bfbaa2df5
docs/models/preview2.md:
id: 96d6fae57a72
last_write_checksum: sha1:4839487a437486dbc9567dec57a136234230ddc9
pristine_git_object: 9ad954e94d0ec60a5def86f162fe804fad115518
last_write_checksum: sha1:9654ce4f91d0c8ff6409117c1e6a12f6f6789802
pristine_git_object: 5080785d6528a0cd52d1f86d217efe31cbbbfa3c
docs/models/previewattachadditembillingmethod.md:
id: 341766b0f910
last_write_checksum: sha1:a8357c2f1f1f0e394f9ca1aabf6c19c360496d57
@@ -3323,14 +3372,6 @@ trackedFiles:
id: 446cf8386114
last_write_checksum: sha1:c917a956f1af010a60b2e7d43bad09cf54e44274
pristine_git_object: c42de1ea48789d1cd09dcce226e3673f29b2a747
docs/models/product1.md:
id: 880ca8ae9886
last_write_checksum: sha1:d6c959243c6b293682d7faed288627aca8b42712
pristine_git_object: 555d0ec5c226b413aebb505ac316c7a14cf1fc4b
docs/models/product2.md:
id: 6262b044d234
last_write_checksum: sha1:d650f24a1fee7d7b93f1f3d1f0c3a9b727b5f111
pristine_git_object: c1b81dedf250c04788acef9878b406b03b3747cc
docs/models/productdisplay1.md:
id: b5bdefcde7af
last_write_checksum: sha1:4cbda567685f39d23b4a83d5a9bc20c4bf2fa21b
@@ -3411,6 +3452,10 @@ trackedFiles:
id: a15f5440d48c
last_write_checksum: sha1:792ae2d550cfbb56888ee2fe6342a0666c83d219
pristine_git_object: 49346d4858b332cd3d0e59f46c4af0116346bf14
docs/models/result.md:
id: b850437752c3
last_write_checksum: sha1:3ee32bdd6689dc5dda87df145ffe124a1e78c80a
pristine_git_object: 1718a5b0274ab83f20f2fd21d269934722c64f01
docs/models/revenuecat.md:
id: 5418b6373a80
last_write_checksum: sha1:3cfb5781a5762c564d5b48ef1af6cba5db229435
@@ -3615,6 +3660,10 @@ trackedFiles:
id: a0fe36809906
last_write_checksum: sha1:0506cb5fd620fb73affa03da445160a245e94fd6
pristine_git_object: caa4f8813f21dd5e60c7f1fd5e7591340247fb1f
docs/models/storepush.md:
id: 0bff2a8f0cc7
last_write_checksum: sha1:220f7b38e22cb56d9ac3c5b9f2adfd2da41c2842
pristine_git_object: 2a58923b830a788b0746bea3e55670ab79c1fb6e
docs/models/stripe.md:
id: ef8fa4c7fedd
last_write_checksum: sha1:304cbcf780ff0569d9ea00886e26043a8ad2cf88
@@ -3627,6 +3676,38 @@ trackedFiles:
id: 87bc56fd272b
last_write_checksum: sha1:d5bd8497d81e3928c11257ad6db7bd0df6ac2b91
pristine_git_object: d2281ec892b2bb9f1210643cf0efcf4166106876
docs/models/syncrevenuecatapp.md:
id: 73d2264f26a6
last_write_checksum: sha1:64526bb1b58191cb623c4f4f696eff4c80848a1c
pristine_git_object: eafb5e618296dc86ee5b3fda114a3686da4ef8e1
docs/models/syncrevenuecatenv.md:
id: 012dc6089488
last_write_checksum: sha1:f81a04a3c0f08c817f0da7dc2401a3fd7a9a94e9
pristine_git_object: 9b2eedb9eb3836bd27951ad04a006d88bca67db7
docs/models/syncrevenuecatglobals.md:
id: 5c889c9a0be8
last_write_checksum: sha1:6b865a42d969203431455ffed358fb72f586ee7c
pristine_git_object: ddab5b6ab7d0f08bb6618eadfa9744603f75e0a5
docs/models/syncrevenuecatparams.md:
id: 9ab677e7cf8f
last_write_checksum: sha1:8d1b3cde4fc5b3a03019107eb0f65620e53a8285
pristine_git_object: 5a65e517e6beef0c6afc7adfbcd450c979f4804a
docs/models/syncrevenuecatprice.md:
id: 9a5d5482c4e0
last_write_checksum: sha1:98d655ac8f6bfde40101ea7069c9c29a25bd27c8
pristine_git_object: f1f2e2af312104537761410fe1da470cc67466d0
docs/models/syncrevenuecatproduct.md:
id: 1f316b101f9a
last_write_checksum: sha1:4cd1e623d4f8789444f7c6b03835ced8bf00421c
pristine_git_object: def6ce10cef765494237dacc1b5add17c84a2be1
docs/models/syncrevenuecatresponse.md:
id: 7a818b200e7d
last_write_checksum: sha1:9e9b2f8c540bd84a81597d1be89b1b74d9a05719
pristine_git_object: ec12b07addf1937d6b6b95352233907ada3de1ce
docs/models/syncrevenuecatstatus.md:
id: a4921afbf845
last_write_checksum: sha1:5aaa82e010e6dc5f35a20e11a644b7a2e6afd252
pristine_git_object: d56a56f2bd0f2d6f9a847acbcc03c41079ab1d41
docs/models/total.md:
id: f4060c3b4657
last_write_checksum: sha1:08c2c14481fcae1bcc1c550d6e2c95f14bb1efb0
@@ -4239,6 +4320,10 @@ trackedFiles:
id: 2d8c741fff57
last_write_checksum: sha1:a956c9b35832ad1b4b988220bbf133aa87c73301
pristine_git_object: 25a47ac0fdb8bc31110b3d96d2656bf744969f37
docs/sdks/platform/README.md:
id: b66219e9cd4d
last_write_checksum: sha1:e18d4e05e801ff5b52414fc51e98e10f33cfbb04
pristine_git_object: 68bfa16724239e249cfa4263dd4e029e148d9af8
docs/sdks/referrals/README.md:
id: 50b71f597f20
last_write_checksum: sha1:de99a40759f0d5c8850f2f59613d20d646161c53
@@ -4337,8 +4422,8 @@ trackedFiles:
pristine_git_object: 89560b566073785535643e694c112bedbd3db13d
src/autumn_sdk/models/__init__.py:
id: bcf3802243ff
last_write_checksum: sha1:2340350b2b45b845b17559c2d6148cbe798cd19c
pristine_git_object: 52418f1a7720d58ebd5f6d74de74baca5fdc6e5e
last_write_checksum: sha1:0300fd72a06e0e2bb6fdf06654e88e670fd575bb
pristine_git_object: 923db4da1df1e544bfa79c2fc5b55c90a1a3fb5e
src/autumn_sdk/models/aggregateeventsop.py:
id: 01321099f2a5
last_write_checksum: sha1:bbaf78080f665b38e531d2427c787e40ca0635a7
@@ -4361,8 +4446,8 @@ trackedFiles:
pristine_git_object: ac6c4e6ec0e3ab0c7990440e6d6f04fbef840bdb
src/autumn_sdk/models/checkop.py:
id: 31c2f84723c6
last_write_checksum: sha1:7cb0cbbf11f480372aa2c5a3466b07f78e301226
pristine_git_object: b165ecfba6d2d2d1ccf9a21029d6fa87db67b470
last_write_checksum: sha1:8711ca8b987fad934aea167a38b5d614836bcdb9
pristine_git_object: 6c98274a990207b1690198e94541c51531e01c4e
src/autumn_sdk/models/createbalanceop.py:
id: 27daf4da75bf
last_write_checksum: sha1:f034893074f11952de2b174c8f2991232e512858
@@ -4443,6 +4528,10 @@ trackedFiles:
id: 590fb77ac88d
last_write_checksum: sha1:4b545b24018986ba9d93107df7840f39fb1f861c
pristine_git_object: e619e84014109d0ac73df596b4926a8f6dc92ee3
src/autumn_sdk/models/getrevenuecatkeysop.py:
id: 015155862a71
last_write_checksum: sha1:6b3f88a48b721093562ec59db3f6dae2540fa139
pristine_git_object: a51f5d26227a36d16cce914b32e92363eb5a95ff
src/autumn_sdk/models/internal/__init__.py:
id: 2906fe7f2cde
last_write_checksum: sha1:1905b58b74ecc52346d8f5c24ded2b6d6e1dad4a
@@ -4451,6 +4540,10 @@ trackedFiles:
id: 4e33eb99f463
last_write_checksum: sha1:b12bb60e74b8678b0fd0543223c09cc3d77dcc8b
pristine_git_object: 2614675c993545d5df1e516d043649e50281c2a3
src/autumn_sdk/models/linkrevenuecatop.py:
id: 8dd3e355d8d5
last_write_checksum: sha1:f5d06c40f8031e1791bd515fdad831f539a6ecaf
pristine_git_object: 2a117515b5cac185ba0b7eb21d3b2b4d8260d194
src/autumn_sdk/models/listcustomersop.py:
id: d7074740b8b0
last_write_checksum: sha1:64e98dae9bc3719c50a81e306ce270ad59d2e216
@@ -4511,6 +4604,10 @@ trackedFiles:
id: 603339ee67e3
last_write_checksum: sha1:46900f03adbb063677a4190d461c0460c470618e
pristine_git_object: 417d43b99b409c1d4e003c593097ac05ec5da795
src/autumn_sdk/models/syncrevenuecatop.py:
id: faddfbfd1214
last_write_checksum: sha1:a2b90222b09b4ca95bc78d3573f5b17d4d50208b
pristine_git_object: 7d12a3d78b0ab1e19f8d66fe3ed367066c145fc2
src/autumn_sdk/models/trackop.py:
id: 2a744315e781
last_write_checksum: sha1:216a03a195bb90ad24e42f62294a3de606b29142
@@ -4539,6 +4636,10 @@ trackedFiles:
id: cf1ebabb687c
last_write_checksum: sha1:8cca1565af6b67ab6947b016d0ab8f7a431fa824
pristine_git_object: 4c299d37ebbc9a9185bb496926a5a326334dcbe7
src/autumn_sdk/platform.py:
id: aee79240c441
last_write_checksum: sha1:2e80cdba550e5487a2ac16c063e24caf3f2b265f
pristine_git_object: 9a76e9815155fa2a01056e20ea2d7ec640718cd9
src/autumn_sdk/py.typed:
id: 9b75cee1c007
last_write_checksum: sha1:8efc425ffe830805ffcc0f3055871bdcdc542c60
@@ -4553,8 +4654,8 @@ trackedFiles:
pristine_git_object: c52c86dd77e753356560ebcf0ee10f8dc46de593
src/autumn_sdk/sdk.py:
id: 9e733b372628
last_write_checksum: sha1:a51e0822250581aeecd610abcb8207849cd3c73c
pristine_git_object: 19d77062eea9e5010e454d71cb64f137f7001314
last_write_checksum: sha1:da2019a4fd1bc539f99076623e758d53baec25b7
pristine_git_object: 8feede30ce5471864788d9ce7e6779ab9be5157c
src/autumn_sdk/sdkconfiguration.py:
id: e65df2e44fc0
last_write_checksum: sha1:233b710dff940202f00e389e0c8fa6a33f6ae7b4
@@ -5232,4 +5333,34 @@ examples:
responses:
"202":
application/json: {"success": true}
linkRevenueCat:
speakeasy-default-link-revenue-cat:
parameters:
header:
x-api-version: "2.3.0"
requestBody:
application/json: {"organization_slug": "acme", "env": "test", "project_name": "acme-mobile", "redirect_url": "https://dashboard.useautumn.com/dev?tab=revenuecat"}
responses:
"200":
application/json: {"oauth_url": "https://api.revenuecat.com/oauth2/authorize?client_id=...&redirect_uri=...&response_type=code&scope=project.read+project.write"}
syncRevenueCat:
speakeasy-default-sync-revenue-cat:
parameters:
header:
x-api-version: "2.3.0"
requestBody:
application/json: {"organization_slug": "acme", "env": "test", "product_ids": ["pro", "premium"]}
responses:
"200":
application/json: {"results": [{"plan_id": "pro", "status": "synced", "store_identifier": "autumn.sandbox.org_123.pro", "apps": [{"app_id": "app_test", "app_type": "test_store", "product": "created", "store_push": "skipped", "price": "set"}]}]}
getRevenueCatKeys:
speakeasy-default-get-revenue-cat-keys:
parameters:
header:
x-api-version: "2.3.0"
requestBody:
application/json: {"organization_slug": "acme", "env": "test"}
responses:
"200":
application/json: {"apps": [{"app_id": "app1a2b3c4d", "app_type": "test_store", "name": "Acme (Test Store)", "api_keys": [{"id": "apikey12345", "key": "test_aBcDeFgHiJkLmNoPqRsTuVwXyZ", "environment": "production", "app_id": "app1a2b3c4"}]}], "oauth_access_token": "atk_aBcDeFgHiJkLmNoPqRsTuVwXyZ"}
examplesVersion: 1.0.2

View File

@@ -256,6 +256,10 @@ if TYPE_CHECKING:
CheckOnIncrease2,
CheckParams,
CheckParamsTypedDict,
CheckProduct1,
CheckProduct1TypedDict,
CheckProduct2,
CheckProduct2TypedDict,
CheckResponse,
CheckResponseBody1,
CheckResponseBody1TypedDict,
@@ -292,10 +296,6 @@ if TYPE_CHECKING:
Preview1TypedDict,
Preview2,
Preview2TypedDict,
Product1,
Product1TypedDict,
Product2,
Product2TypedDict,
ProductDisplay1,
ProductDisplay1TypedDict,
ProductDisplay2,
@@ -862,6 +862,28 @@ if TYPE_CHECKING:
GetPlanTierBehavior,
GetPlanType,
)
from .getrevenuecatkeysop import (
APIKey,
APIKeyTypedDict,
GetRevenueCatKeysApp,
GetRevenueCatKeysAppTypedDict,
GetRevenueCatKeysEnv,
GetRevenueCatKeysGlobals,
GetRevenueCatKeysGlobalsTypedDict,
GetRevenueCatKeysParams,
GetRevenueCatKeysParamsTypedDict,
GetRevenueCatKeysResponse,
GetRevenueCatKeysResponseTypedDict,
)
from .linkrevenuecatop import (
LinkRevenueCatEnv,
LinkRevenueCatGlobals,
LinkRevenueCatGlobalsTypedDict,
LinkRevenueCatParams,
LinkRevenueCatParamsTypedDict,
LinkRevenueCatResponse,
LinkRevenueCatResponseTypedDict,
)
from .listcustomersop import (
ListCustomersAutoTopup,
ListCustomersAutoTopupTypedDict,
@@ -1561,6 +1583,23 @@ if TYPE_CHECKING:
SetupPaymentResponse,
SetupPaymentResponseTypedDict,
)
from .syncrevenuecatop import (
Result,
ResultTypedDict,
StorePush,
SyncRevenueCatApp,
SyncRevenueCatAppTypedDict,
SyncRevenueCatEnv,
SyncRevenueCatGlobals,
SyncRevenueCatGlobalsTypedDict,
SyncRevenueCatParams,
SyncRevenueCatParamsTypedDict,
SyncRevenueCatPrice,
SyncRevenueCatProduct,
SyncRevenueCatResponse,
SyncRevenueCatResponseTypedDict,
SyncRevenueCatStatus,
)
from .trackop import (
Deduction1,
Deduction1TypedDict,
@@ -1811,6 +1850,8 @@ if TYPE_CHECKING:
from . import internal
__all__ = [
"APIKey",
"APIKeyTypedDict",
"AggregateEventsCustomRange",
"AggregateEventsCustomRangeTypedDict",
"AggregateEventsFeatureID",
@@ -2044,6 +2085,10 @@ __all__ = [
"CheckOnIncrease2",
"CheckParams",
"CheckParamsTypedDict",
"CheckProduct1",
"CheckProduct1TypedDict",
"CheckProduct2",
"CheckProduct2TypedDict",
"CheckResponse",
"CheckResponseBody1",
"CheckResponseBody1TypedDict",
@@ -2568,6 +2613,15 @@ __all__ = [
"GetPlanStatus",
"GetPlanTierBehavior",
"GetPlanType",
"GetRevenueCatKeysApp",
"GetRevenueCatKeysAppTypedDict",
"GetRevenueCatKeysEnv",
"GetRevenueCatKeysGlobals",
"GetRevenueCatKeysGlobalsTypedDict",
"GetRevenueCatKeysParams",
"GetRevenueCatKeysParamsTypedDict",
"GetRevenueCatKeysResponse",
"GetRevenueCatKeysResponseTypedDict",
"IncludedUsage1",
"IncludedUsage1TypedDict",
"IncludedUsage2",
@@ -2577,6 +2631,13 @@ __all__ = [
"InvoiceTypedDict",
"Item",
"ItemTypedDict",
"LinkRevenueCatEnv",
"LinkRevenueCatGlobals",
"LinkRevenueCatGlobalsTypedDict",
"LinkRevenueCatParams",
"LinkRevenueCatParamsTypedDict",
"LinkRevenueCatResponse",
"LinkRevenueCatResponseTypedDict",
"ListCustomersAutoTopup",
"ListCustomersAutoTopupTypedDict",
"ListCustomersBillingControls",
@@ -3161,10 +3222,6 @@ __all__ = [
"ProcessorType",
"Processors",
"ProcessorsTypedDict",
"Product1",
"Product1TypedDict",
"Product2",
"Product2TypedDict",
"ProductDisplay1",
"ProductDisplay1TypedDict",
"ProductDisplay2",
@@ -3199,6 +3256,8 @@ __all__ = [
"ReferralTypedDict",
"RequestBody",
"RequestBodyTypedDict",
"Result",
"ResultTypedDict",
"Revenuecat",
"RevenuecatTypedDict",
"Rewards",
@@ -3279,11 +3338,24 @@ __all__ = [
"SetupPaymentRemoveItemInterval",
"SetupPaymentResponse",
"SetupPaymentResponseTypedDict",
"StorePush",
"Stripe",
"StripeTypedDict",
"Subscription",
"SubscriptionScope",
"SubscriptionTypedDict",
"SyncRevenueCatApp",
"SyncRevenueCatAppTypedDict",
"SyncRevenueCatEnv",
"SyncRevenueCatGlobals",
"SyncRevenueCatGlobalsTypedDict",
"SyncRevenueCatParams",
"SyncRevenueCatParamsTypedDict",
"SyncRevenueCatPrice",
"SyncRevenueCatProduct",
"SyncRevenueCatResponse",
"SyncRevenueCatResponseTypedDict",
"SyncRevenueCatStatus",
"Total",
"TotalTypedDict",
"TrackGlobals",
@@ -3768,6 +3840,10 @@ _dynamic_imports: dict[str, str] = {
"CheckOnIncrease2": ".checkop",
"CheckParams": ".checkop",
"CheckParamsTypedDict": ".checkop",
"CheckProduct1": ".checkop",
"CheckProduct1TypedDict": ".checkop",
"CheckProduct2": ".checkop",
"CheckProduct2TypedDict": ".checkop",
"CheckResponse": ".checkop",
"CheckResponseBody1": ".checkop",
"CheckResponseBody1TypedDict": ".checkop",
@@ -3804,10 +3880,6 @@ _dynamic_imports: dict[str, str] = {
"Preview1TypedDict": ".checkop",
"Preview2": ".checkop",
"Preview2TypedDict": ".checkop",
"Product1": ".checkop",
"Product1TypedDict": ".checkop",
"Product2": ".checkop",
"Product2TypedDict": ".checkop",
"ProductDisplay1": ".checkop",
"ProductDisplay1TypedDict": ".checkop",
"ProductDisplay2": ".checkop",
@@ -4335,6 +4407,24 @@ _dynamic_imports: dict[str, str] = {
"GetPlanStatus": ".getplanop",
"GetPlanTierBehavior": ".getplanop",
"GetPlanType": ".getplanop",
"APIKey": ".getrevenuecatkeysop",
"APIKeyTypedDict": ".getrevenuecatkeysop",
"GetRevenueCatKeysApp": ".getrevenuecatkeysop",
"GetRevenueCatKeysAppTypedDict": ".getrevenuecatkeysop",
"GetRevenueCatKeysEnv": ".getrevenuecatkeysop",
"GetRevenueCatKeysGlobals": ".getrevenuecatkeysop",
"GetRevenueCatKeysGlobalsTypedDict": ".getrevenuecatkeysop",
"GetRevenueCatKeysParams": ".getrevenuecatkeysop",
"GetRevenueCatKeysParamsTypedDict": ".getrevenuecatkeysop",
"GetRevenueCatKeysResponse": ".getrevenuecatkeysop",
"GetRevenueCatKeysResponseTypedDict": ".getrevenuecatkeysop",
"LinkRevenueCatEnv": ".linkrevenuecatop",
"LinkRevenueCatGlobals": ".linkrevenuecatop",
"LinkRevenueCatGlobalsTypedDict": ".linkrevenuecatop",
"LinkRevenueCatParams": ".linkrevenuecatop",
"LinkRevenueCatParamsTypedDict": ".linkrevenuecatop",
"LinkRevenueCatResponse": ".linkrevenuecatop",
"LinkRevenueCatResponseTypedDict": ".linkrevenuecatop",
"ListCustomersAutoTopup": ".listcustomersop",
"ListCustomersAutoTopupTypedDict": ".listcustomersop",
"ListCustomersBillingControls": ".listcustomersop",
@@ -5007,6 +5097,21 @@ _dynamic_imports: dict[str, str] = {
"SetupPaymentRemoveItemInterval": ".setuppaymentop",
"SetupPaymentResponse": ".setuppaymentop",
"SetupPaymentResponseTypedDict": ".setuppaymentop",
"Result": ".syncrevenuecatop",
"ResultTypedDict": ".syncrevenuecatop",
"StorePush": ".syncrevenuecatop",
"SyncRevenueCatApp": ".syncrevenuecatop",
"SyncRevenueCatAppTypedDict": ".syncrevenuecatop",
"SyncRevenueCatEnv": ".syncrevenuecatop",
"SyncRevenueCatGlobals": ".syncrevenuecatop",
"SyncRevenueCatGlobalsTypedDict": ".syncrevenuecatop",
"SyncRevenueCatParams": ".syncrevenuecatop",
"SyncRevenueCatParamsTypedDict": ".syncrevenuecatop",
"SyncRevenueCatPrice": ".syncrevenuecatop",
"SyncRevenueCatProduct": ".syncrevenuecatop",
"SyncRevenueCatResponse": ".syncrevenuecatop",
"SyncRevenueCatResponseTypedDict": ".syncrevenuecatop",
"SyncRevenueCatStatus": ".syncrevenuecatop",
"Deduction1": ".trackop",
"Deduction1TypedDict": ".trackop",
"Deduction2": ".trackop",

View File

@@ -8745,7 +8745,7 @@ paths:
@example
```typescript
// Schedule a transition from a trial plan to a paid plan
const response = await client.billing.createSchedule({ customerId: "cus_123", phases: [{"startsAt":1780512803523,"plans":[{"planId":"trial_plan"}]},{"startsAt":1781722403523,"plans":[{"planId":"pro_plan"}]}] });
const response = await client.billing.createSchedule({ customerId: "cus_123", phases: [{"startsAt":1780584084429,"plans":[{"planId":"trial_plan"}]},{"startsAt":1781793684429,"plans":[{"planId":"pro_plan"}]}] });
```
@param customerId - The ID of the customer to create the schedule for.
@@ -19586,6 +19586,289 @@ paths:
x-speakeasy-name-override: redeemCode
parameters:
- *a1
/v1/platform.link_revenuecat:
post:
operationId: linkRevenueCat
description: Generate a RevenueCat OAuth URL for linking a project to an organization.
tags:
- platform
requestBody:
required: true
content:
application/json:
schema:
type: object
properties:
organization_slug:
type: string
minLength: 1
env:
enum:
- test
- live
type: string
project_name:
type: string
minLength: 1
maxLength: 255
redirect_url:
type: string
format: uri
required:
- organization_slug
- env
- project_name
- redirect_url
title: LinkRevenueCatParams
examples:
- organization_slug: acme
env: test
project_name: acme-mobile
redirect_url: https://dashboard.useautumn.com/dev?tab=revenuecat
responses:
"200":
description: OK
content:
application/json:
schema:
type: object
properties:
oauth_url:
type: string
required:
- oauth_url
title: LinkRevenueCatResponse
examples:
- oauth_url: https://api.revenuecat.com/oauth2/authorize?client_id=...&redirect_uri=...&response_type=code&scope=project.read+project.write
x-speakeasy-name-override: linkRevenueCat
parameters:
- *a1
/v1/platform.sync_revenuecat:
post:
operationId: syncRevenueCat
description: Push an organization's plans into RevenueCat as products (creating
or renaming them across the project's apps) and set test-store prices
from each plan's price. Requires the org to have linked RevenueCat via
OAuth.
tags:
- platform
requestBody:
required: true
content:
application/json:
schema:
type: object
properties:
organization_slug:
type: string
minLength: 1
env:
enum:
- test
- sandbox
- live
type: string
description: '"test" and "sandbox" both target the sandbox environment'
product_ids:
type: array
items:
type: string
description: Plans to push. Omit to sync every plan in the org/env.
required:
- organization_slug
- env
title: SyncRevenueCatParams
examples:
- organization_slug: acme
env: test
product_ids:
- pro
- premium
responses:
"200":
description: OK
content:
application/json:
schema:
type: object
properties:
results:
type: array
items:
type: object
properties:
plan_id:
type: string
status:
enum:
- synced
- skipped
- error
type: string
store_identifier:
type: string
apps:
type: array
items:
type: object
properties:
app_id:
type: string
app_type:
type: string
product:
enum:
- created
- updated
- exists
type: string
store_push:
enum:
- pushed
- failed
- skipped
type: string
price:
enum:
- set
- skipped
- failed
type: string
message:
type: string
required:
- app_id
- app_type
- product
message:
type: string
required:
- plan_id
- status
required:
- results
title: SyncRevenueCatResponse
examples:
- results:
- plan_id: pro
status: synced
store_identifier: autumn.sandbox.org_123.pro
apps:
- app_id: app_test
app_type: test_store
product: created
store_push: skipped
price: set
x-speakeasy-name-override: syncRevenueCat
parameters:
- *a1
/v1/platform.get_revenuecat_keys:
post:
operationId: getRevenueCatKeys
description: Retrieve a managed organization's RevenueCat public (SDK) API keys,
grouped by app — for the test store, App Store, and Google Play Store.
Use these to configure the RevenueCat SDK in the org's mobile app.
tags:
- platform
requestBody:
required: true
content:
application/json:
schema:
type: object
properties:
organization_slug:
type: string
minLength: 1
env:
enum:
- test
- sandbox
- live
type: string
description: '"test" and "sandbox" both target the sandbox environment'
required:
- organization_slug
- env
title: GetRevenueCatKeysParams
examples:
- organization_slug: acme
env: test
responses:
"200":
description: OK
content:
application/json:
schema:
type: object
properties:
apps:
type: array
items:
type: object
properties:
app_id:
type: string
app_type:
type: string
description: RevenueCat store type, e.g. test_store / app_store / play_store
name:
type: string
api_keys:
type: array
items:
type: object
properties:
id:
type: string
key:
type: string
description: The public SDK API key value
environment:
anyOf:
- type: string
- type: "null"
description: e.g. "production" / "sandbox"
app_id:
anyOf:
- type: string
- type: "null"
created_at:
type: number
required:
- id
- key
additionalProperties: {}
required:
- app_id
- app_type
- name
- api_keys
oauth_access_token:
anyOf:
- type: string
- type: "null"
description: Freshly-refreshed RevenueCat OAuth access token for the org (null
for api-key orgs). The refresh token is never exposed —
call this endpoint again for a new access token.
required:
- apps
- oauth_access_token
title: GetRevenueCatKeysResponse
examples:
- apps:
- app_id: app1a2b3c4d
app_type: test_store
name: Acme (Test Store)
api_keys:
- id: apikey12345
key: test_aBcDeFgHiJkLmNoPqRsTuVwXyZ
environment: production
app_id: app1a2b3c4
oauth_access_token: atk_aBcDeFgHiJkLmNoPqRsTuVwXyZ
x-speakeasy-name-override: getRevenueCatKeys
parameters:
- *a1
security:
- secretKey: []
x-speakeasy-globals:

View File

@@ -1,19 +1,20 @@
lockVersion: 2.0.0
id: 7b300647-cd76-49e9-bf77-7d1bf5446d66
management:
docChecksum: e390e89b1d94851ffb6b3ce6ed8c1ce6
docChecksum: 8871f01e9bcff4b338df44c213b1e355
docVersion: 2.3.0
speakeasyVersion: 1.762.0
generationVersion: 2.882.0
releaseVersion: 0.10.17
configChecksum: 4722f16a8dee67ebd4038caf3c345296
persistentEdits:
generation_id: 0967a67e-44f5-480b-8618-908113bb6ac3
pristine_commit_hash: 5733a696f1b502aa39fad55bdc2a94cb7896f905
pristine_tree_hash: 04e95997860cfc9b50ea04151ba3165cefc2af8a
generation_id: f374e041-3680-4d4c-bb37-4ab0614209de
pristine_commit_hash: cb76a996f7b1f4a11fb853cf30564f860c859ffd
pristine_tree_hash: 00b78979361e0ebbbac1ef29531df0aeb71cba05
features:
typescript:
additionalDependencies: 0.1.0
additionalProperties: 0.1.3
constsAndDefaults: 0.1.14
core: 3.26.50
defaultEnabledRetries: 0.1.0
@@ -90,6 +91,10 @@ trackedFiles:
id: 147b886181ab
last_write_checksum: sha1:745ae2d8cabb73e63fed45a1d83682e602daa81b
pristine_git_object: 39e2e27b82c7b641f0a498550c99017a00321785
docs/models/api-key.md:
id: 49935f80e61b
last_write_checksum: sha1:4fbedd42011cb6919ce65469d7cda5be719b5971
pristine_git_object: 1690222ff6b428eff348de3b09fb103bee30e9b5
docs/models/attach-action.md:
id: 8de20a26b9b9
last_write_checksum: sha1:44c1a79c9374746d732856aa68bf5844c148bdf8
@@ -662,6 +667,14 @@ trackedFiles:
id: 1f4a01957fbe
last_write_checksum: sha1:c8c546b4aa4d1e459aef8131e522e6bf41ccc7c7
pristine_git_object: 5815e9a4d8b5921e63cce39209bb8172a65659d8
docs/models/check-product1.md:
id: 9ba1f3f0f2e9
last_write_checksum: sha1:98b546b9cebd5b773c0d82b0241cbc9e2df91692
pristine_git_object: eea36f3d8674d15e62974845a13361705dee1eb1
docs/models/check-product2.md:
id: 7d4ef4fdab22
last_write_checksum: sha1:8aae0bb7098cda51316e5e6eb83497f73a740fcc
pristine_git_object: a5cf026e769ee5a7302238cbbcab7752bcf0de9e
docs/models/check-response-body1.md:
id: fe7fb45cea45
last_write_checksum: sha1:8844e03a5e1af097130d9578157d06c96ecec130
@@ -1918,6 +1931,26 @@ trackedFiles:
id: 5300ef539ed8
last_write_checksum: sha1:b334efb80b4e13e356c43248994d2f2640ffcf27
pristine_git_object: b6ff1ca2773ceb3a33da7acc3bf2144f2823c16a
docs/models/get-revenue-cat-keys-app.md:
id: 8ff879eb81c5
last_write_checksum: sha1:23379e8e1717339e91ff62f63c9a5115c03a8645
pristine_git_object: 72a6b23198b2ae6607ea5a1b6e837959b08d1bee
docs/models/get-revenue-cat-keys-env.md:
id: 8fac28e0850c
last_write_checksum: sha1:55e6cc463e3ec7dc30dc5f947498665dbb4b10a9
pristine_git_object: 2970169afd4db5e7f45502de6d81acfd22c26e47
docs/models/get-revenue-cat-keys-globals.md:
id: c16f86821cb5
last_write_checksum: sha1:dc3c016b33a02bc5d989a84faeede70d292a26fc
pristine_git_object: 594305da769e390d0b500044f781edfa178838c2
docs/models/get-revenue-cat-keys-params.md:
id: 1eccc6003eaa
last_write_checksum: sha1:e2f7cf31d2a3631b84cef36087e071bd80a7a58a
pristine_git_object: 53e5c4b12907bb9c35af3da1fc7cc5a92a7d34bf
docs/models/get-revenue-cat-keys-response.md:
id: 23fbb157aef1
last_write_checksum: sha1:8b52d7474285395cdc4850ec3575c34a48bd6894
pristine_git_object: e4188090653f6bb5d14d111effa8f5891a2874e1
docs/models/included-usage1.md:
id: a4def1415784
last_write_checksum: sha1:83f97786c0a5ca88c4f689e318146531cdd84ba8
@@ -1938,6 +1971,22 @@ trackedFiles:
id: 40dd7473ab87
last_write_checksum: sha1:5a9566a4c38c01c126b5024eb5178b00696eec1a
pristine_git_object: c090aed3f7bd612068482258027339e35a59633e
docs/models/link-revenue-cat-env.md:
id: cb0ccb8f0c80
last_write_checksum: sha1:1ac365d9491e8286e3127d81892998b66ea71410
pristine_git_object: 73950de2835b7e83b726bc3c79c10cd3c17c6bd2
docs/models/link-revenue-cat-globals.md:
id: f4756c9e50ec
last_write_checksum: sha1:8078995f5223a872d9fd096689b4e3ee681488c3
pristine_git_object: f2b91703b4d9d47b169953e042a46791b3fbde11
docs/models/link-revenue-cat-params.md:
id: ab17a5cb36c9
last_write_checksum: sha1:b5f8698a52fc265067baa8917ab92a46a1789eb0
pristine_git_object: 4c42fb2a6a88ff9ac5a9b78955e65852cd3d9498
docs/models/link-revenue-cat-response.md:
id: 2aaf8d83ed87
last_write_checksum: sha1:55f93a53e4775d761e24c52886c27d40068c1f95
pristine_git_object: ec7ad309188875f2945342887e9e584b8a554ac5
docs/models/list-customers-auto-topup.md:
id: 2ee1f1219e0a
last_write_checksum: sha1:d052f3f37235db8af434e1d5f143bfb5f1baff39
@@ -3328,12 +3377,12 @@ trackedFiles:
pristine_git_object: f62b42a1a7d41787d477f99ef1702a735196a400
docs/models/preview1.md:
id: 203e34d3c393
last_write_checksum: sha1:baa476c6f9eca778b764c559b11eb985d9396c46
pristine_git_object: 6b9852fd043a11b17349ff52cbdafb537ac867e0
last_write_checksum: sha1:4da79d0ac7f4d510c2455484f81cd167f5aae690
pristine_git_object: 64e7b72a04137b9dcc655a0f9287cca57559d11f
docs/models/preview2.md:
id: 96d6fae57a72
last_write_checksum: sha1:728c176a1f265ca95c54c05ec4b62bb429b26aa2
pristine_git_object: 3abb2cf65f13570a222275a9b2c7c38be94d5f81
last_write_checksum: sha1:25a6b7488d3f6054be8a4ac5e709f25172c113f7
pristine_git_object: ab4ed7ae6c9b76470f8e19fc109c6fc3da27eb1f
docs/models/processor-type.md:
id: 4e1ee9632454
last_write_checksum: sha1:e5c091efb3ac5d256119b589918fb9e3fd91b92f
@@ -3366,14 +3415,6 @@ trackedFiles:
id: c75d4dab1916
last_write_checksum: sha1:0e5d9f554d0ab6ebd5073b00b14d5eddaf42c825
pristine_git_object: 5add6b6648df42f5dd60678e644fec5a3f2626f4
docs/models/product1.md:
id: 880ca8ae9886
last_write_checksum: sha1:9253388ef4ce974184b84ebeb012d18defed9e21
pristine_git_object: 67ec68bcf882341e97e4575429c1656c5a5bbafa
docs/models/product2.md:
id: 6262b044d234
last_write_checksum: sha1:eba731a0429ff4824f8e658bc87b6b9047ff4b3a
pristine_git_object: 0a1d5f6fda8ab96d8987a5617bb55fd3882ffbd4
docs/models/properties1.md:
id: d1dd750f2ed3
last_write_checksum: sha1:2336ba133059be249159bdcd6a7981282ad69796
@@ -3430,6 +3471,10 @@ trackedFiles:
id: c8db17c466f9
last_write_checksum: sha1:2d2515519b8dc6b4ce1b5d663e73307c775732c3
pristine_git_object: 4f54fb31462275086e474968960b97b1f2ad877d
docs/models/result.md:
id: b850437752c3
last_write_checksum: sha1:efb16a202bfd987b865e4f7dc312954a0d21a000
pristine_git_object: d9d7b5b15d8221e0f6d95a7a6f434568fa8c2240
docs/models/revenuecat.md:
id: 5418b6373a80
last_write_checksum: sha1:70e79f733d444a07f8d4e770469e87bdf4a3d946
@@ -3634,6 +3679,10 @@ trackedFiles:
id: 9706acdb1f5d
last_write_checksum: sha1:e11936ae1dd8e969bcbe07a7b69ec433da66041c
pristine_git_object: 8167bcd124d1a988869aa0b277f3c2ce7d2a7784
docs/models/store-push.md:
id: 368a0872dffb
last_write_checksum: sha1:46e3a5598b870c4dae584c3e9e02913cf2a41096
pristine_git_object: d590d604b6395e0340a510a23fb177e98ab4f8cb
docs/models/stripe.md:
id: ef8fa4c7fedd
last_write_checksum: sha1:344040d40ef640447f1762e50bb8b86c55b78087
@@ -3646,6 +3695,38 @@ trackedFiles:
id: 4a200793e0f4
last_write_checksum: sha1:6296413c9481ca2a0ce2e6cc3975292efe9c613b
pristine_git_object: ada66d89888fcfc5e0bd712ba37e271cd278fbd9
docs/models/sync-revenue-cat-app.md:
id: af68876c4d0c
last_write_checksum: sha1:dbb71b010e8dc4d4ae83791d661d7c4742c65812
pristine_git_object: 202f3f4146446b29250e6d5a2a8ac51dd82c06bc
docs/models/sync-revenue-cat-env.md:
id: 5b8b7785ab8e
last_write_checksum: sha1:fc268634d9cc547c8d7bb0b100c3178da3d02cfe
pristine_git_object: 7268b9b55c92cc680531015bd25c526f33b136d4
docs/models/sync-revenue-cat-globals.md:
id: eacabe894f64
last_write_checksum: sha1:7259d36665c402542d0fa4a69ea0b906c082d142
pristine_git_object: 9020c46603d47d2e3c93bf79c78b4a2f61a7ed9d
docs/models/sync-revenue-cat-params.md:
id: b0fed933a28a
last_write_checksum: sha1:e3b6bec5943c7c8111993e7080db06c7af52090f
pristine_git_object: 6fead8cadbfa7f6af37480d1f8197d6c1fc5f0b2
docs/models/sync-revenue-cat-price.md:
id: 9e6732387f49
last_write_checksum: sha1:cca7e269586c0e1f28041acadff318664829a9ef
pristine_git_object: fafbf8c29d8c6ac7c7ddfaf9ee90c863da273026
docs/models/sync-revenue-cat-product.md:
id: a722198b8468
last_write_checksum: sha1:389a69f1b61d7179c63fb7e7f87269b9e15a3c0f
pristine_git_object: 1069042a078dea9e7e8ef32e564428a3cde0f41e
docs/models/sync-revenue-cat-response.md:
id: 033dce5b01bf
last_write_checksum: sha1:532a509b85652f8ad8564c713a801bcebec3b819
pristine_git_object: 14c33612c79a8eb8d661bbdeaa473ed703ee8c69
docs/models/sync-revenue-cat-status.md:
id: c940a544edd1
last_write_checksum: sha1:aec948fabbb6eb7529cadd8df2680f875ed80af1
pristine_git_object: 4440b0dca17123cb54413ecc5241ef0571c8219c
docs/models/total.md:
id: f4060c3b4657
last_write_checksum: sha1:db27b4c0beb158424465eff3298baec188ae6bee
@@ -4232,8 +4313,8 @@ trackedFiles:
pristine_git_object: 0ebe5146cd24c153cb9b7655e4f502c09f7d4abd
docs/sdks/billing/README.md:
id: dc915331dd9d
last_write_checksum: sha1:85e715516c45ca61431fb64f2b1368b30c350b06
pristine_git_object: 7bc3894e03acf37e5bddfcd736d645130079d200
last_write_checksum: sha1:a29da461dcad1fea4fca629be432ee960ffa6cbf
pristine_git_object: c07f3e93c879598d44b58834323533c6f1897aef
docs/sdks/customers/README.md:
id: 9332759cffc2
last_write_checksum: sha1:74cd5f6cf800e1d86b2c332fed3c3cd53f3eeb6b
@@ -4254,6 +4335,10 @@ trackedFiles:
id: 2d8c741fff57
last_write_checksum: sha1:57e57bb309355ca9bd404327d90d5ec43e26c6da
pristine_git_object: b74f515e33be0c7a50ffbdca8f70a015dde8bf06
docs/sdks/platform/README.md:
id: b66219e9cd4d
last_write_checksum: sha1:2b78aeff4d3c1023b1c461eba75a15fe864c04f9
pristine_git_object: a699333506973bbe1cf50a094e48ed30d5a52d9a
docs/sdks/referrals/README.md:
id: 50b71f597f20
last_write_checksum: sha1:b10fdf64bd7d821c93d721f1ef481f045e046438
@@ -4320,8 +4405,8 @@ trackedFiles:
pristine_git_object: d1d2c39eb61de5da6dc66da31605995ee35edd8b
src/funcs/billing-create-schedule.ts:
id: fd662bfcdc10
last_write_checksum: sha1:9e3968bbb050e0d6c450b5a062152910b297ae7c
pristine_git_object: 828fbb7fd1ebc2247754ce45379e4e336bb9b187
last_write_checksum: sha1:a11b4f10543ae07e6dc84797e6ce0789ec0351ae
pristine_git_object: cb81459b84bdf23fd77e3fdb6b499e8258c4929c
src/funcs/billing-multi-attach.ts:
id: 67491e2d8249
last_write_checksum: sha1:00ba80c1f98e7a8be29db0cf5a6957433f687861
@@ -4442,6 +4527,18 @@ trackedFiles:
id: 86e469e08973
last_write_checksum: sha1:3a7e13fcd2455ee3e6841b4829e50f5b9ea1fcb4
pristine_git_object: 4c6bbef3d3c4078f2df79d353d8071451f602ba0
src/funcs/platform-get-revenue-cat-keys.ts:
id: 3f6df7d12152
last_write_checksum: sha1:ea7b7e7d13cec4a7dc9dfb20431bc67e91f6efb6
pristine_git_object: 7cbda750834f8f08674bec0a634512e0a8371319
src/funcs/platform-link-revenue-cat.ts:
id: 8f8f215b8cf9
last_write_checksum: sha1:4fda8ddda1ef317eb44ee94ec61ccc4686144450
pristine_git_object: 831bad4585f7918ea27524a68152e3cec2a6c204
src/funcs/platform-sync-revenue-cat.ts:
id: 6d5ff105f444
last_write_checksum: sha1:d41d0c72ab12a834ce3384200513758c53dba517
pristine_git_object: cbf471baac869b86393dced84b2e02f57bdf80ff
src/funcs/referrals-create-code.ts:
id: f2088dbf847d
last_write_checksum: sha1:2c980d8a56a6b8b7a15023cea02b9899454807be
@@ -4568,8 +4665,8 @@ trackedFiles:
pristine_git_object: 53ddec09ce985548f2425cd7298b7f46a5d33249
src/models/check-op.ts:
id: 42085bda016a
last_write_checksum: sha1:dc22bb11dc8320f6196490df90a7ec600279ae18
pristine_git_object: 4826a7e94a4a1831b344634dd60ed50deaf2e8ed
last_write_checksum: sha1:89080a0266713ae7e46a401322f538874539e7e8
pristine_git_object: b6c962e140cdc5f81795a593008095b4a2e3d002
src/models/create-balance-op.ts:
id: 537b8ff86863
last_write_checksum: sha1:4d14f12804833140651eb101cef96b9305b45164
@@ -4650,14 +4747,22 @@ trackedFiles:
id: 91c8f8dda7c8
last_write_checksum: sha1:bce81a8cef1f6bf579185174603c9c414a26b258
pristine_git_object: 43ea5f27ac16bea209d71a03ad517a798fd05c5e
src/models/get-revenue-cat-keys-op.ts:
id: 2d8e9e87f071
last_write_checksum: sha1:e1c1f2eaf75a3db81b4800c63cbe2ea6e5b1fa56
pristine_git_object: e52b5aaf5f34339dcfa8913a8471efb4c2e3ff7e
src/models/http-client-errors.ts:
id: 5f17dcf0d62b
last_write_checksum: sha1:994ced121c54fecd0af038ccfb7855fbfd3868ec
pristine_git_object: b34f612124c797c2a1106b9735708f679a90b74f
src/models/index.ts:
id: f93644b0f37e
last_write_checksum: sha1:99b491a94a7a8810c6916539ef699036680e132c
pristine_git_object: e63734a484c768b68cce9cc70f4886c577840340
last_write_checksum: sha1:2c57b1fdb9734c9ccb0f127da60d510b6d4a164a
pristine_git_object: 9c3a0afcd755cc0dcc073565280651597367188f
src/models/link-revenue-cat-op.ts:
id: 6cc62c90b574
last_write_checksum: sha1:a2f11a5efb037c6c640da26f07b2a407b7dfffad
pristine_git_object: 2f5338db9bdf89719dab6c323e46c6bde381246d
src/models/list-customers-op.ts:
id: b391692c8429
last_write_checksum: sha1:2b1ab0d5e34f41d91a1d92ac4abd87ec54596bd1
@@ -4726,6 +4831,10 @@ trackedFiles:
id: 0e97e999ff3c
last_write_checksum: sha1:c09cf100a8eaedfc307aa7037081eece0db24d82
pristine_git_object: 888b6921e5d7f7526d33f3dfc3a5c4eceb93e55b
src/models/sync-revenue-cat-op.ts:
id: bf3c25067f7c
last_write_checksum: sha1:a5992af2f44badc20be2d55c8091ed4c22dfc903
pristine_git_object: 922cf35b3f602cbd31665e4656ab11caedacafb8
src/models/track-op.ts:
id: 5e6a750e8fec
last_write_checksum: sha1:b4ccb3514075bcb1b67df61bdbe52154c46e21b2
@@ -4756,8 +4865,8 @@ trackedFiles:
pristine_git_object: 571de419ea3321d79acec4bddbb46b1580007115
src/sdk/billing.ts:
id: 10905058c4ad
last_write_checksum: sha1:876dd93560d0019479f17af07c3874f6af8e8e29
pristine_git_object: cd86ce3ce51049a487cb0aacdc3bd7bc6a850f9e
last_write_checksum: sha1:9e9b653cd84c96cbd9b80540a2800b113025d4d4
pristine_git_object: 199d000c7899a69863745c75661b6137acfbf9fd
src/sdk/customers.ts:
id: d33e193e0c00
last_write_checksum: sha1:8d64f03efa17b4ef45a6d67a44d23e2943f1cd8b
@@ -4782,6 +4891,10 @@ trackedFiles:
id: c0cb8188cdc1
last_write_checksum: sha1:62ee50f030050dae85c77a2f877b2471970f29d6
pristine_git_object: 521774c3587bff53d05bf80accc45eb9ccb926ac
src/sdk/platform.ts:
id: 86d659f7229d
last_write_checksum: sha1:831299efdeefe09a98910994e31c0ff992f3915f
pristine_git_object: 43d8c9737a11477ceff5f0951fb3e5d60670d55f
src/sdk/referrals.ts:
id: bf164167845c
last_write_checksum: sha1:b73c1db6a419f5c7f6643382d5bc399204e95150
@@ -4792,8 +4905,8 @@ trackedFiles:
pristine_git_object: f6a3928ecbf5b6a9907bc7d405808d0839848a04
src/sdk/sdk.ts:
id: 784571af2f69
last_write_checksum: sha1:91b52ea99e9a7b641d6c66d525961a174bd258ed
pristine_git_object: 2b0197cb19c31124a3b1cad3a38dec70d3856159
last_write_checksum: sha1:33274a26041219427b3477c52c8bd100f08ba630
pristine_git_object: da01a652b7e0ec3221579c07c66bab56ff49016b
src/types/async.ts:
id: fac8da972f86
last_write_checksum: sha1:3ff07b3feaf390ec1aeb18ff938e139c6c4a9585
@@ -5706,4 +5819,34 @@ examples:
responses:
"202":
application/json: {"success": true}
linkRevenueCat:
speakeasy-default-link-revenue-cat:
parameters:
header:
x-api-version: "2.3.0"
requestBody:
application/json: {"organization_slug": "acme", "env": "test", "project_name": "acme-mobile", "redirect_url": "https://dashboard.useautumn.com/dev?tab=revenuecat"}
responses:
"200":
application/json: {"oauth_url": "https://api.revenuecat.com/oauth2/authorize?client_id=...&redirect_uri=...&response_type=code&scope=project.read+project.write"}
syncRevenueCat:
speakeasy-default-sync-revenue-cat:
parameters:
header:
x-api-version: "2.3.0"
requestBody:
application/json: {"organization_slug": "acme", "env": "test", "product_ids": ["pro", "premium"]}
responses:
"200":
application/json: {"results": [{"plan_id": "pro", "status": "synced", "store_identifier": "autumn.sandbox.org_123.pro", "apps": [{"app_id": "app_test", "app_type": "test_store", "product": "created", "store_push": "skipped", "price": "set"}]}]}
getRevenueCatKeys:
speakeasy-default-get-revenue-cat-keys:
parameters:
header:
x-api-version: "2.3.0"
requestBody:
application/json: {"organization_slug": "acme", "env": "test"}
responses:
"200":
application/json: {"apps": [{"app_id": "app1a2b3c4d", "app_type": "test_store", "name": "Acme (Test Store)", "api_keys": [{"id": "apikey12345", "key": "test_aBcDeFgHiJkLmNoPqRsTuVwXyZ", "environment": "production", "app_id": "app1a2b3c4"}]}], "oauth_access_token": "atk_aBcDeFgHiJkLmNoPqRsTuVwXyZ"}
examplesVersion: 1.0.2

View File

@@ -8074,7 +8074,7 @@ paths:
@example
```typescript
// Schedule a transition from a trial plan to a paid plan
const response = await client.billing.createSchedule({ customerId: "cus_123", phases: [{"startsAt":1780512803523,"plans":[{"planId":"trial_plan"}]},{"startsAt":1781722403523,"plans":[{"planId":"pro_plan"}]}] });
const response = await client.billing.createSchedule({ customerId: "cus_123", phases: [{"startsAt":1780584084429,"plans":[{"planId":"trial_plan"}]},{"startsAt":1781793684429,"plans":[{"planId":"pro_plan"}]}] });
```
@param customerId - The ID of the customer to create the schedule for.
@@ -17987,6 +17987,282 @@ paths:
x-speakeasy-name-override: redeemCode
parameters:
- *a1
/v1/platform.link_revenuecat:
post:
operationId: linkRevenueCat
description: Generate a RevenueCat OAuth URL for linking a project to an organization.
tags:
- platform
requestBody:
required: true
content:
application/json:
schema:
type: object
properties:
organization_slug:
type: string
minLength: 1
env:
enum:
- test
- live
type: string
project_name:
type: string
minLength: 1
maxLength: 255
redirect_url:
type: string
format: uri
required:
- organization_slug
- env
- project_name
- redirect_url
title: LinkRevenueCatParams
examples:
- organization_slug: acme
env: test
project_name: acme-mobile
redirect_url: https://dashboard.useautumn.com/dev?tab=revenuecat
responses:
"200":
description: OK
content:
application/json:
schema:
type: object
properties:
oauth_url:
type: string
required:
- oauth_url
title: LinkRevenueCatResponse
examples:
- oauth_url: https://api.revenuecat.com/oauth2/authorize?client_id=...&redirect_uri=...&response_type=code&scope=project.read+project.write
x-speakeasy-name-override: linkRevenueCat
parameters:
- *a1
/v1/platform.sync_revenuecat:
post:
operationId: syncRevenueCat
description: Push an organization's plans into RevenueCat as products (creating or renaming them across the project's apps) and set test-store prices from each plan's price. Requires the org to have linked RevenueCat via OAuth.
tags:
- platform
requestBody:
required: true
content:
application/json:
schema:
type: object
properties:
organization_slug:
type: string
minLength: 1
env:
enum:
- test
- sandbox
- live
type: string
description: '"test" and "sandbox" both target the sandbox environment'
product_ids:
type: array
items:
type: string
description: Plans to push. Omit to sync every plan in the org/env.
required:
- organization_slug
- env
title: SyncRevenueCatParams
examples:
- organization_slug: acme
env: test
product_ids:
- pro
- premium
responses:
"200":
description: OK
content:
application/json:
schema:
type: object
properties:
results:
type: array
items:
type: object
properties:
plan_id:
type: string
status:
enum:
- synced
- skipped
- error
type: string
store_identifier:
type: string
apps:
type: array
items:
type: object
properties:
app_id:
type: string
app_type:
type: string
product:
enum:
- created
- updated
- exists
type: string
store_push:
enum:
- pushed
- failed
- skipped
type: string
price:
enum:
- set
- skipped
- failed
type: string
message:
type: string
required:
- app_id
- app_type
- product
message:
type: string
required:
- plan_id
- status
required:
- results
title: SyncRevenueCatResponse
examples:
- results:
- plan_id: pro
status: synced
store_identifier: autumn.sandbox.org_123.pro
apps:
- app_id: app_test
app_type: test_store
product: created
store_push: skipped
price: set
x-speakeasy-name-override: syncRevenueCat
parameters:
- *a1
/v1/platform.get_revenuecat_keys:
post:
operationId: getRevenueCatKeys
description: Retrieve a managed organization's RevenueCat public (SDK) API keys, grouped by app — for the test store, App Store, and Google Play Store. Use these to configure the RevenueCat SDK in the org's mobile app.
tags:
- platform
requestBody:
required: true
content:
application/json:
schema:
type: object
properties:
organization_slug:
type: string
minLength: 1
env:
enum:
- test
- sandbox
- live
type: string
description: '"test" and "sandbox" both target the sandbox environment'
required:
- organization_slug
- env
title: GetRevenueCatKeysParams
examples:
- organization_slug: acme
env: test
responses:
"200":
description: OK
content:
application/json:
schema:
type: object
properties:
apps:
type: array
items:
type: object
properties:
app_id:
type: string
app_type:
type: string
description: RevenueCat store type, e.g. test_store / app_store / play_store
name:
type: string
api_keys:
type: array
items:
type: object
properties:
id:
type: string
key:
type: string
description: The public SDK API key value
environment:
anyOf:
- type: string
- type: "null"
description: e.g. "production" / "sandbox"
app_id:
anyOf:
- type: string
- type: "null"
created_at:
type: number
required:
- id
- key
additionalProperties: {}
required:
- app_id
- app_type
- name
- api_keys
oauth_access_token:
anyOf:
- type: string
- type: "null"
description: Freshly-refreshed RevenueCat OAuth access token for the org (null for api-key orgs). The refresh token is never exposed — call this endpoint again for a new access token.
required:
- apps
- oauth_access_token
title: GetRevenueCatKeysResponse
examples:
- apps:
- app_id: app1a2b3c4d
app_type: test_store
name: Acme (Test Store)
api_keys:
- id: apikey12345
key: test_aBcDeFgHiJkLmNoPqRsTuVwXyZ
environment: production
app_id: app1a2b3c4
oauth_access_token: atk_aBcDeFgHiJkLmNoPqRsTuVwXyZ
x-speakeasy-name-override: getRevenueCatKeys
parameters:
- *a1
security:
- secretKey: []
x-speakeasy-globals:

View File

@@ -274,7 +274,7 @@ Use this endpoint to schedule future plan changes (e.g. switch from a trial plan
@example
```typescript
// Schedule a transition from a trial plan to a paid plan
const response = await client.billing.createSchedule({ customerId: "cus_123", phases: [{"startsAt":1780512803523,"plans":[{"planId":"trial_plan"}]},{"startsAt":1781722403523,"plans":[{"planId":"pro_plan"}]}] });
const response = await client.billing.createSchedule({ customerId: "cus_123", phases: [{"startsAt":1780584084429,"plans":[{"planId":"trial_plan"}]},{"startsAt":1781793684429,"plans":[{"planId":"pro_plan"}]}] });
```
@param customerId - The ID of the customer to create the schedule for.
@@ -705,6 +705,12 @@ const response = await client.features.delete({ featureId: "old-feature" });
* [update](docs/sdks/plans/README.md#update) - Update a plan
* [delete](docs/sdks/plans/README.md#delete) - Delete a plan
### [Platform](docs/sdks/platform/README.md)
* [linkRevenueCat](docs/sdks/platform/README.md#linkrevenuecat) - Generate a RevenueCat OAuth URL for linking a project to an organization.
* [syncRevenueCat](docs/sdks/platform/README.md#syncrevenuecat) - Push an organization's plans into RevenueCat as products (creating or renaming them across the project's apps) and set test-store prices from each plan's price. Requires the org to have linked RevenueCat via OAuth.
* [getRevenueCatKeys](docs/sdks/platform/README.md#getrevenuecatkeys) - Retrieve a managed organization's RevenueCat public (SDK) API keys, grouped by app — for the test store, App Store, and Google Play Store. Use these to configure the RevenueCat SDK in the org's mobile app.
### [Referrals](docs/sdks/referrals/README.md)
* [createCode](docs/sdks/referrals/README.md#createcode) - Create or fetch a referral code for a customer in a referral program.
@@ -794,7 +800,7 @@ Use this endpoint to schedule future plan changes (e.g. switch from a trial plan
@example
```typescript
// Schedule a transition from a trial plan to a paid plan
const response = await client.billing.createSchedule({ customerId: "cus_123", phases: [{"startsAt":1780512803523,"plans":[{"planId":"trial_plan"}]},{"startsAt":1781722403523,"plans":[{"planId":"pro_plan"}]}] });
const response = await client.billing.createSchedule({ customerId: "cus_123", phases: [{"startsAt":1780584084429,"plans":[{"planId":"trial_plan"}]},{"startsAt":1781793684429,"plans":[{"planId":"pro_plan"}]}] });
```
@param customerId - The ID of the customer to create the schedule for.
@@ -1241,6 +1247,9 @@ const response = await client.features.update({ featureId: "deprecated-feature",
- [`plansGet`](docs/sdks/plans/README.md#get) - Get a plan
- [`plansList`](docs/sdks/plans/README.md#list) - List all plans
- [`plansUpdate`](docs/sdks/plans/README.md#update) - Update a plan
- [`platformGetRevenueCatKeys`](docs/sdks/platform/README.md#getrevenuecatkeys) - Retrieve a managed organization's RevenueCat public (SDK) API keys, grouped by app — for the test store, App Store, and Google Play Store. Use these to configure the RevenueCat SDK in the org's mobile app.
- [`platformLinkRevenueCat`](docs/sdks/platform/README.md#linkrevenuecat) - Generate a RevenueCat OAuth URL for linking a project to an organization.
- [`platformSyncRevenueCat`](docs/sdks/platform/README.md#syncrevenuecat) - Push an organization's plans into RevenueCat as products (creating or renaming them across the project's apps) and set test-store prices from each plan's price. Requires the org to have linked RevenueCat via OAuth.
- [`referralsCreateCode`](docs/sdks/referrals/README.md#createcode) - Create or fetch a referral code for a customer in a referral program.
- [`referralsRedeemCode`](docs/sdks/referrals/README.md#redeemcode) - Redeem a referral code for a customer.
- [`rewardsRedeemCode`](docs/sdks/rewards/README.md#redeemcode) - Redeem a reward promo code for a customer.