1178 Commits

Author SHA1 Message Date
Michael Broshi
22ba74e4a6 Bump version to 15.1.0 2025-04-30 15:18:57 -04:00
stripe-openapi[bot]
6c90c710d8
Update generated code (#1597)
* Update generated code for v1719

* Update generated code for v1719

---------

Co-authored-by: Stripe OpenAPI <105521251+stripe-openapi[bot]@users.noreply.github.com>
2025-04-28 15:02:27 -07:00
stripe-openapi[bot]
cdce6c3f56
Update generated code for v1719 (#1595)
Co-authored-by: Stripe OpenAPI <105521251+stripe-openapi[bot]@users.noreply.github.com>
Co-authored-by: Ramya Rao <100975018+ramya-stripe@users.noreply.github.com>
2025-04-24 19:53:00 +00:00
stripe-openapi[bot]
b9d00e2ffa
Update generated code (#1566)
* Update generated code for v1655

* Update generated code for v1668

* Update generated code for v1691

* Update generated code for v1713

* Update generated code for v1718

---------

Co-authored-by: Stripe OpenAPI <105521251+stripe-openapi[bot]@users.noreply.github.com>
Co-authored-by: prathmesh-stripe <165320323+prathmesh-stripe@users.noreply.github.com>
2025-04-23 23:40:10 -07:00
prathmesh-stripe
ca00b676f0
Updated rubocop (#1585) 2025-04-16 12:35:28 -04:00
helenye-stripe
36547afd0f
Fix mismatched indentations (#1584) 2025-04-15 16:52:56 -07:00
Helen Ye
10006bf668 Bump version to 15.0.0 2025-04-09 13:04:28 -04:00
helenye-stripe
6d34376960
Explicitly pass through custom headers in retrieve (#1576)
* Fix options passing in execute_request_initialize_from

* fix comments

* bug with combine then extract

* rubocop

* more thorough testing

* fix extra call

* pr feedback
2025-04-09 10:02:13 -07:00
helenye-stripe
5b68a44889
Rename object_id parameter (#1574) 2025-04-09 07:59:24 -07:00
helenye-stripe
04f8d1b43a
Validate all instance variable keys returned from the API (#1571)
* Normalize all keys

* instead reject invalid keys

* rubocop

* more easy to read constants
2025-04-08 13:43:23 -07:00
Ramya Rao
5ce725ae22 Bump version to 14.0.0 2025-04-01 13:58:33 -07:00
stripe-openapi[bot]
72476176b1
Update generated code (#1561)
* Update generated code for v1642

* Update generated code for v1642

---------

Co-authored-by: Stripe OpenAPI <105521251+stripe-openapi[bot]@users.noreply.github.com>
2025-03-31 16:33:45 -07:00
helenye-stripe
dc5174725f
Add RBI annotations for fields and params (#1559)
* Introduce types to ruby

* rubocop

* forgot these files

* other request methods

* more tests, fix for raw request

* Add README entry for types

* rebase and regen
2025-03-31 14:29:41 -07:00
stripe-openapi[bot]
91626d37e8
Support for APIs in the new API version 2025-03-31.basil (#1543)
* Update generated code for v1559

* Update generated code for v1566

* Update generated code for v1572

* Update generated code for v1618

* Update generated code for v1635

---------

Co-authored-by: Stripe OpenAPI <105521251+stripe-openapi[bot]@users.noreply.github.com>
Co-authored-by: prathmesh-stripe <165320323+prathmesh-stripe@users.noreply.github.com>
Co-authored-by: helenye-stripe <111009531+helenye-stripe@users.noreply.github.com>
2025-03-31 11:09:09 -07:00
helenye-stripe
cdbade3e57
Remove public idempotent_replayed message (#1553) 2025-03-25 07:18:28 -07:00
Prathmesh Ranaut
88f3e698e3 Bump version to 13.5.0 2025-02-24 17:35:14 -05:00
stripe-openapi[bot]
2a81d44236
Update generated code (#1534)
* Update generated code for v1494

* Update generated code for v1495

* Update generated code for v1501

* Update generated code for v1505

---------

Co-authored-by: Stripe OpenAPI <105521251+stripe-openapi[bot]@users.noreply.github.com>
Co-authored-by: prathmesh-stripe <165320323+prathmesh-stripe@users.noreply.github.com>
2025-02-24 22:24:01 +00:00
helenye-stripe
d7e4457373
Fix InvoiceLineItem parent class (#1536) 2025-02-21 08:47:47 -08:00
Helen Ye
9d2bacd8d2 Bump version to 13.4.1 2025-01-28 10:59:29 -05:00
stripe-openapi[bot]
f2b4c22804
Update generated code for v1463 (#1528)
Co-authored-by: Stripe OpenAPI <105521251+stripe-openapi[bot]@users.noreply.github.com>
Co-authored-by: helenye-stripe <111009531+helenye-stripe@users.noreply.github.com>
2025-01-28 07:57:12 -08:00
Helen Ye
d146769ae5 Bump version to 13.4.0 2025-01-27 15:20:07 -05:00
stripe-openapi[bot]
0cb23f6540
Update generated code (#1510)
* Update generated code for v1421

* Update generated code for v1441

* Update generated code for v1455

---------

Co-authored-by: Stripe OpenAPI <105521251+stripe-openapi[bot]@users.noreply.github.com>
Co-authored-by: helenye-stripe <111009531+helenye-stripe@users.noreply.github.com>
2025-01-27 19:41:17 +00:00
Helen Ye
57dd25a8d7 Bump version to 13.3.1 2025-01-13 17:28:34 -05:00
helenye-stripe
6e3950536a
Import global configuration for options not available on StripeClient options (#1512)
* Fix client options not importing global config

* update tests and fix bugs

* lint

* catch NotImplementedError and map for older Ruby

* rubocop todo
2025-01-13 14:23:32 -08:00
jar-stripe
36b1c7c8f0
ThinEvent reason and livemode (#1516)
* added test for parsing v2 thin events with livemode and reason

* added attr_reader to ThinEvent for livemode and reason

* added EventReason and EventReasonRequest type to thin_event.rb
2025-01-13 14:04:14 -08:00
Jesse Rosalia
332e009a57 Bump version to 13.3.0 2024-12-18 15:40:14 -08:00
stripe-openapi[bot]
d2c09c3b50
Update generated code (#1500)
* Update generated code for v1399

* Update generated code for v1409

* Update generated code for v1412

* Update generated code for v1412

---------

Co-authored-by: Stripe OpenAPI <105521251+stripe-openapi[bot]@users.noreply.github.com>
Co-authored-by: jar-stripe <jar@stripe.com>
2024-12-18 23:27:41 +00:00
helenye-stripe
8aec85f636
Pass requestor to all deserialized objects including lists (#1507)
* Make sure to pass requestor through to all deserializes

* additional test
2024-12-17 08:59:08 -08:00
Ramya Rao
68f806e454 Bump version to 13.2.0 2024-11-20 15:31:31 -08:00
stripe-openapi[bot]
7c7f431838
Update generated code (#1486)
* Update generated code for v1341

* Update generated code for v1347

---------

Co-authored-by: Stripe OpenAPI <105521251+stripe-openapi[bot]@users.noreply.github.com>
Co-authored-by: Ramya Rao <100975018+ramya-stripe@users.noreply.github.com>
2024-11-20 23:25:25 +00:00
Helen Ye
7ddf16d170 Bump version to 13.1.2 2024-11-15 10:26:46 -05:00
helenye-stripe
56b9950250
Fix incorrect key in param encoding (#1488) 2024-11-14 18:28:00 -08:00
Helen Ye
75c8c3835c Bump version to 13.1.1 2024-11-06 17:38:41 -05:00
helenye-stripe
aa880437dc
Fix APIResource#retrieve not sending stripe_version (#1483)
* Fix retrieve stripe version

* better test
2024-11-06 14:33:20 -08:00
Ramya Rao
e4233f0dbb Bump version to 13.1.0 2024-10-29 14:16:39 -07:00
stripe-openapi[bot]
484f9741c5
Update generated code (#1472)
* Update generated code for v1317

* Update generated code for v1318

* Update generated code for v1318

---------

Co-authored-by: Stripe OpenAPI <105521251+stripe-openapi[bot]@users.noreply.github.com>
Co-authored-by: prathmesh-stripe <165320323+prathmesh-stripe@users.noreply.github.com>
2024-10-29 10:12:19 -07:00
helenye-stripe
fb11d83248
Fix APIResource#retrieve bug not returning instance of custom resources (#1476)
* Fix refresh bug not returning specific instance type for custom resources

* tests
2024-10-28 10:29:13 -07:00
Jesse Rosalia
4c3593e62e Bump version to 13.0.2 2024-10-23 11:03:31 -07:00
Jonathan Smith
042918c5f8
Always return the result of APIResource#refresh in APIResource.retrieve (#1473)
* Always return the result of .refresh in .retrieve

With the refactor of v13, there are now cases where `self` is not
mutated in the call to refresh and instead a new object is returned.
This change ensures that the new object is always returned by returning
the result of refresh instead.

* Update install instructions for stripe-mock
2024-10-23 08:45:51 -07:00
David Brownman
a2e2881c7c Bump version to 13.0.1 2024-10-18 11:42:37 -07:00
David Brownman
95f4c9d231
update object tags for meter-related classes (#1471)
* update object tags for meter-related classes

* fix tests
2024-10-18 11:16:58 -07:00
Ramya Rao
540c7f7d88 Bump version to 13.0.0 2024-10-01 11:34:15 -07:00
helenye-stripe
2a9407b085
remove parseSnapshotEvent (#1463) 2024-10-01 09:54:13 -07:00
Ramya Rao
39d8736525
Support for APIs in the new API version 2024-09-30.acacia (#1458) 2024-10-01 09:35:59 -07:00
Helen Ye
37f30b85b2 Bump version to 12.6.0 2024-09-12 18:06:30 -04:00
stripe-openapi[bot]
37b9771584
Update generated code (#1442)
* Update generated code for v1196

* Update generated code for v1199

* Update generated code for v1202

* Update generated code for v1204

* Update generated code for v1211

* Update generated code for v1214

* Update generated code for v1230

* Update generated code for v1232

* Update generated code for v1235

* Update generated code for v1255

---------

Co-authored-by: Stripe OpenAPI <105521251+stripe-openapi[bot]@users.noreply.github.com>
Co-authored-by: Ramya Rao <100975018+ramya-stripe@users.noreply.github.com>
2024-09-12 14:53:20 -07:00
prathmesh-stripe
27d87e91ae
Removed v1/files override (#1443) 2024-08-29 19:26:49 -04:00
David Brownman
8fc981be69 Bump version to 12.5.0 2024-08-08 16:56:33 -07:00
stripe-openapi[bot]
9c2a7b2f44
Update generated code for v1187 (#1440)
Co-authored-by: Stripe OpenAPI <105521251+stripe-openapi[bot]@users.noreply.github.com>
2024-08-08 16:50:38 -07:00
Helen Ye
431140523d Bump version to 12.4.0 2024-07-25 14:00:08 -07:00