diff --git a/.speakeasy/gen.lock b/.speakeasy/gen.lock index 56327dc6..fe23e573 100644 --- a/.speakeasy/gen.lock +++ b/.speakeasy/gen.lock @@ -1,12 +1,12 @@ lockVersion: 2.0.0 id: e7042734-e669-4c36-85da-bbb4a7500ac8 management: - docChecksum: d3f6c3d7be92e9e992cf5eb454a54422 + docChecksum: 75f1cb48f4ecbbca01ff71d9e8e7be57 docVersion: 2026-04 speakeasyVersion: 1.648.0 generationVersion: 2.737.0 - releaseVersion: 0.32.0 - configChecksum: 649bc0d1f320a2697ce9374e785419df + releaseVersion: 0.32.1 + configChecksum: 23ec14e01c12717565936758b3107282 repoURL: https://github.com/polarsource/polar-python.git installationURL: https://github.com/polarsource/polar-python.git published: true @@ -2214,7 +2214,7 @@ examples: _endpointcheckout_updated_post: speakeasy-default-endpointcheckout-updated-post: requestBody: - application/json: {"type": "checkout.updated", "timestamp": "2023-03-19T05:40:46.816Z", "data": {"id": "", "created_at": "2023-03-19T05:40:46.816Z", "modified_at": "2025-01-17T21:45:54.449Z", "payment_processor": "stripe", "status": "succeeded", "client_secret": "", "url": "https://wasteful-kinase.net/", "expires_at": "2024-07-13T07:40:45.762Z", "success_url": "https://unwieldy-lift.name", "return_url": null, "embed_origin": "", "amount": 328864, "discount_amount": 67168, "net_amount": 710560, "tax_amount": 164230, "tax_behavior": null, "total_amount": 754328, "currency": "New Taiwan Dollar", "allow_trial": null, "active_trial_interval": null, "active_trial_interval_count": 682397, "trial_end": "2024-01-01T01:21:07.047Z", "organization_id": "", "product_id": "", "product_price_id": null, "discount_id": "", "allow_discount_codes": true, "require_billing_address": true, "is_discount_applicable": true, "is_free_product_price": true, "is_payment_required": true, "is_payment_setup_required": false, "is_payment_form_required": true, "customer_id": null, "is_business_customer": false, "customer_name": "", "customer_email": "", "customer_ip_address": "", "customer_billing_name": "", "customer_billing_address": {"country": "US"}, "customer_tax_id": "", "payment_processor_metadata": {}, "billing_address_fields": {"country": "required", "state": "optional", "city": "disabled", "postal_code": "optional", "line1": "required", "line2": "disabled"}, "trial_interval": "week", "trial_interval_count": 510328, "metadata": {"key": 8729.81, "key1": "", "key2": 302746}, "external_customer_id": null, "products": [{"id": "", "created_at": "2024-02-06T13:10:07.718Z", "modified_at": "2025-05-28T09:18:17.409Z", "trial_interval": "year", "trial_interval_count": 558100, "name": "", "description": "gee unlike aboard entice which break", "visibility": "draft", "recurring_interval": "month", "recurring_interval_count": null, "meter_interval": null, "meter_interval_count": 682397, "is_recurring": false, "is_archived": false, "organization_id": "", "prices": [{"created_at": "2025-01-17T21:45:54.449Z", "modified_at": "2024-01-01T01:21:07.047Z", "id": "", "source": "ad_hoc", "amount_type": "fixed", "price_currency": "", "tax_behavior": null, "is_archived": false, "product_id": "", "type": "recurring", "recurring_interval": "month", "price_amount": 720125, "legacy": true}, {"created_at": "2026-10-27T17:49:05.784Z", "modified_at": "2026-02-28T06:09:51.100Z", "id": "", "source": "ad_hoc", "amount_type": "fixed", "price_currency": "", "tax_behavior": "exclusive", "is_archived": false, "product_id": "", "price_amount": 558100}], "benefits": [{"id": "", "created_at": "2025-07-05T15:21:14.498Z", "modified_at": "2023-11-21T02:59:50.838Z", "type": "downloadables", "description": "highlight sandy overspend scratchy yet by", "selectable": true, "deletable": false, "is_deleted": false, "organization_id": ""}], "medias": []}, {"id": "", "created_at": "2024-02-06T13:10:07.718Z", "modified_at": "2025-05-28T09:18:17.409Z", "trial_interval": "week", "trial_interval_count": null, "name": "", "description": "gee unlike aboard entice which break", "visibility": "private", "recurring_interval": "month", "recurring_interval_count": 682397, "meter_interval": "week", "meter_interval_count": null, "is_recurring": false, "is_archived": false, "organization_id": "", "prices": [{"created_at": "2023-06-29T23:54:25.932Z", "modified_at": "2025-08-08T18:57:45.007Z", "id": "", "source": "ad_hoc", "amount_type": "metered_unit", "price_currency": "", "tax_behavior": "location", "is_archived": true, "product_id": "", "unit_amount": "", "cap_amount": null, "meter_id": "", "meter": {"id": "", "name": "", "unit": "scalar", "custom_label": "", "custom_multiplier": 164230}}, {"created_at": "2025-05-29T09:31:05.865Z", "modified_at": "2024-06-03T08:35:03.062Z", "id": "", "source": "catalog", "amount_type": "seat_based", "price_currency": "", "tax_behavior": null, "is_archived": true, "product_id": "", "seat_tiers": {"tiers": [{"min_seats": 426798, "price_per_seat": 70808}], "minimum_seats": 792281, "maximum_seats": 558565}}], "benefits": [{"id": "", "created_at": "2025-07-05T15:21:14.498Z", "modified_at": "2023-11-21T02:59:50.838Z", "type": "downloadables", "description": "highlight sandy overspend scratchy yet by", "selectable": true, "deletable": false, "is_deleted": false, "organization_id": ""}], "medias": []}, {"id": "", "created_at": "2024-02-06T13:10:07.718Z", "modified_at": "2025-05-28T09:18:17.409Z", "trial_interval": "year", "trial_interval_count": 754328, "name": "", "description": "gee unlike aboard entice which break", "visibility": "public", "recurring_interval": "month", "recurring_interval_count": 333080, "meter_interval": "year", "meter_interval_count": 846374, "is_recurring": false, "is_archived": false, "organization_id": "", "prices": [{"created_at": "2026-01-29T09:14:14.399Z", "modified_at": "2024-09-13T20:51:28.608Z", "id": "", "source": "catalog", "amount_type": "fixed", "price_currency": "", "tax_behavior": "exclusive", "is_archived": false, "product_id": "", "type": "recurring", "recurring_interval": "week", "price_amount": 795829, "legacy": true}, {"created_at": "2023-11-28T19:26:30.837Z", "modified_at": "2025-10-14T04:57:44.285Z", "id": "", "source": "catalog", "amount_type": "fixed", "price_currency": "", "tax_behavior": "exclusive", "is_archived": true, "product_id": "", "type": "recurring", "recurring_interval": "year", "price_amount": 801449, "legacy": true}], "benefits": [{"id": "", "created_at": "2025-07-05T15:21:14.498Z", "modified_at": "2023-11-21T02:59:50.838Z", "type": "downloadables", "description": "highlight sandy overspend scratchy yet by", "selectable": true, "deletable": false, "is_deleted": false, "organization_id": ""}], "medias": []}], "product": {"id": "", "created_at": "2024-04-04T09:43:29.328Z", "modified_at": "2024-01-03T07:24:30.583Z", "trial_interval": "week", "trial_interval_count": 140837, "name": "", "description": "patroller fax sadly sick bitterly indeed grandson bravely loyally wholly", "visibility": "private", "recurring_interval": "month", "recurring_interval_count": 496454, "meter_interval": "day", "meter_interval_count": 968723, "is_recurring": true, "is_archived": true, "organization_id": "", "prices": [{"created_at": "2025-11-27T17:16:31.119Z", "modified_at": "2025-06-04T15:43:18.802Z", "id": "", "source": "ad_hoc", "amount_type": "fixed", "price_currency": "", "tax_behavior": "inclusive", "is_archived": false, "product_id": "", "type": "recurring", "recurring_interval": "month", "price_amount": 72487, "legacy": true}, {"created_at": "2025-11-21T17:30:50.622Z", "modified_at": "2024-03-20T10:42:26.864Z", "id": "", "source": "ad_hoc", "amount_type": "seat_based", "price_currency": "", "tax_behavior": "inclusive", "is_archived": false, "product_id": "", "seat_tiers": {"tiers": [{"min_seats": 426798, "price_per_seat": 70808}], "minimum_seats": 792281, "maximum_seats": 558565}}, {"created_at": "2025-02-06T04:48:01.265Z", "modified_at": "2024-01-15T02:31:30.334Z", "id": "", "source": "ad_hoc", "amount_type": "custom", "price_currency": "", "tax_behavior": null, "is_archived": true, "product_id": "", "type": "recurring", "recurring_interval": "month", "minimum_amount": 849243, "maximum_amount": 295343, "preset_amount": 994380, "legacy": true}], "benefits": [{"id": "", "created_at": "2025-07-05T15:21:14.498Z", "modified_at": "2023-11-21T02:59:50.838Z", "type": "downloadables", "description": "highlight sandy overspend scratchy yet by", "selectable": true, "deletable": false, "is_deleted": true, "organization_id": ""}], "medias": [{"id": "", "organization_id": "", "name": "", "path": "/opt", "mime_type": "", "size": 349206, "storage_version": "", "checksum_etag": "", "checksum_sha256_base64": "", "checksum_sha256_hex": "", "last_modified_at": "2023-11-20T22:00:21.061Z", "version": "", "service": "product_media", "is_uploaded": true, "created_at": "2024-10-01T19:20:04.513Z", "size_readable": "", "public_url": "https://noted-availability.info"}, {"id": "", "organization_id": "", "name": "", "path": "/opt", "mime_type": "", "size": 349206, "storage_version": "", "checksum_etag": "", "checksum_sha256_base64": "", "checksum_sha256_hex": "", "last_modified_at": "2023-11-20T22:00:21.061Z", "version": "", "service": "product_media", "is_uploaded": true, "created_at": "2024-10-01T19:20:04.513Z", "size_readable": "", "public_url": "https://noted-availability.info"}, {"id": "", "organization_id": "", "name": "", "path": "/opt", "mime_type": "", "size": 349206, "storage_version": "", "checksum_etag": "", "checksum_sha256_base64": "", "checksum_sha256_hex": "", "last_modified_at": "2023-11-20T22:00:21.061Z", "version": "", "service": "product_media", "is_uploaded": true, "created_at": "2024-10-01T19:20:04.513Z", "size_readable": "", "public_url": "https://noted-availability.info"}]}, "product_price": {"created_at": "2024-12-31T01:21:07.047Z", "modified_at": "2025-06-28T02:43:46.293Z", "id": "", "source": "ad_hoc", "amount_type": "metered_unit", "price_currency": "", "tax_behavior": "exclusive", "is_archived": false, "product_id": "", "unit_amount": "", "cap_amount": 912409, "meter_id": "", "meter": {"id": "", "name": "", "unit": "token", "custom_label": "", "custom_multiplier": 465247}}, "prices": {"key": [], "key1": []}, "discount": {"duration": "once", "duration_in_months": 187379, "type": "fixed", "basis_points": 373595, "id": "", "name": "", "code": ""}, "subscription_id": "", "attached_custom_fields": [{"custom_field_id": "", "custom_field": {"created_at": "2024-09-18T09:12:02.157Z", "modified_at": "2023-07-11T01:18:07.226Z", "id": "", "metadata": {"key": ""}, "type": "date", "slug": "", "name": "", "organization_id": "1dbfc517-0bbf-4301-9ba8-555ca42b9737", "properties": {}}, "order": 704552, "required": true}, {"custom_field_id": "", "custom_field": {"created_at": "2024-09-18T09:12:02.157Z", "modified_at": "2023-07-11T01:18:07.226Z", "id": "", "metadata": {"key": ""}, "type": "date", "slug": "", "name": "", "organization_id": "1dbfc517-0bbf-4301-9ba8-555ca42b9737", "properties": {}}, "order": 704552, "required": true}], "customer_metadata": {"key": 384374, "key1": 126671, "key2": 568803}}} + application/json: {"type": "checkout.updated", "timestamp": "2023-03-19T05:40:46.816Z", "data": {"id": "", "created_at": "2023-03-19T05:40:46.816Z", "modified_at": "2025-01-17T21:45:54.449Z", "payment_processor": "stripe", "status": "succeeded", "client_secret": "", "url": "https://wasteful-kinase.net/", "expires_at": "2024-07-13T07:40:45.762Z", "success_url": "https://unwieldy-lift.name", "return_url": null, "embed_origin": "", "amount": 328864, "discount_amount": 67168, "net_amount": 710560, "tax_amount": 164230, "tax_behavior": null, "total_amount": 754328, "currency": "New Taiwan Dollar", "allow_trial": null, "active_trial_interval": null, "active_trial_interval_count": 682397, "trial_end": "2024-01-01T01:21:07.047Z", "organization_id": "", "product_id": "", "product_price_id": null, "discount_id": "", "allow_discount_codes": true, "require_billing_address": true, "is_discount_applicable": true, "is_free_product_price": true, "is_payment_required": true, "is_payment_setup_required": false, "is_payment_form_required": true, "customer_id": null, "is_business_customer": false, "customer_name": "", "customer_email": "", "customer_ip_address": "", "customer_billing_name": "", "customer_billing_address": {"country": "US"}, "customer_tax_id": "", "payment_processor_metadata": {}, "billing_address_fields": {"country": "required", "state": "optional", "city": "disabled", "postal_code": "optional", "line1": "required", "line2": "disabled"}, "trial_interval": "week", "trial_interval_count": 510328, "metadata": {"key": 8729.81, "key1": "", "key2": 302746}, "external_customer_id": null, "products": [{"id": "", "created_at": "2024-02-06T13:10:07.718Z", "modified_at": "2025-05-28T09:18:17.409Z", "trial_interval": "year", "trial_interval_count": 558100, "name": "", "description": "gee unlike aboard entice which break", "visibility": "draft", "recurring_interval": "month", "recurring_interval_count": null, "meter_interval": null, "meter_interval_count": 682397, "is_recurring": false, "is_archived": false, "organization_id": "", "prices": [{"created_at": "2025-01-17T21:45:54.449Z", "modified_at": "2024-01-01T01:21:07.047Z", "id": "", "source": "ad_hoc", "amount_type": "fixed", "price_currency": "", "tax_behavior": null, "is_archived": false, "product_id": "", "type": "recurring", "recurring_interval": "month", "price_amount": 720125, "legacy": true}, {"created_at": "2026-10-27T17:49:05.784Z", "modified_at": "2026-02-28T06:09:51.100Z", "id": "", "source": "ad_hoc", "amount_type": "fixed", "price_currency": "", "tax_behavior": "exclusive", "is_archived": false, "product_id": "", "type": "recurring", "recurring_interval": "day", "price_amount": 558100, "legacy": true}], "benefits": [{"id": "", "created_at": "2025-07-05T15:21:14.498Z", "modified_at": "2023-11-21T02:59:50.838Z", "type": "downloadables", "description": "highlight sandy overspend scratchy yet by", "selectable": true, "deletable": false, "is_deleted": false, "organization_id": ""}], "medias": []}, {"id": "", "created_at": "2024-02-06T13:10:07.718Z", "modified_at": "2025-05-28T09:18:17.409Z", "trial_interval": "week", "trial_interval_count": null, "name": "", "description": "gee unlike aboard entice which break", "visibility": "private", "recurring_interval": "month", "recurring_interval_count": 682397, "meter_interval": "week", "meter_interval_count": null, "is_recurring": false, "is_archived": false, "organization_id": "", "prices": [{"created_at": "2023-06-29T23:54:25.932Z", "modified_at": "2025-08-08T18:57:45.007Z", "id": "", "source": "ad_hoc", "amount_type": "metered_unit", "price_currency": "", "tax_behavior": "location", "is_archived": true, "product_id": "", "unit_amount": "", "cap_amount": null, "meter_id": "", "meter": {"id": "", "name": "", "unit": "scalar", "custom_label": "", "custom_multiplier": 164230}}, {"created_at": "2025-05-29T09:31:05.865Z", "modified_at": "2024-06-03T08:35:03.062Z", "id": "", "source": "catalog", "amount_type": "seat_based", "price_currency": "", "tax_behavior": null, "is_archived": true, "product_id": "", "seat_tiers": {"tiers": [{"min_seats": 426798, "price_per_seat": 70808}], "minimum_seats": 792281, "maximum_seats": 558565}}], "benefits": [{"id": "", "created_at": "2025-07-05T15:21:14.498Z", "modified_at": "2023-11-21T02:59:50.838Z", "type": "downloadables", "description": "highlight sandy overspend scratchy yet by", "selectable": true, "deletable": false, "is_deleted": false, "organization_id": ""}], "medias": []}, {"id": "", "created_at": "2024-02-06T13:10:07.718Z", "modified_at": "2025-05-28T09:18:17.409Z", "trial_interval": "year", "trial_interval_count": 754328, "name": "", "description": "gee unlike aboard entice which break", "visibility": "public", "recurring_interval": "month", "recurring_interval_count": 333080, "meter_interval": "year", "meter_interval_count": 846374, "is_recurring": false, "is_archived": false, "organization_id": "", "prices": [{"created_at": "2026-01-29T09:14:14.399Z", "modified_at": "2024-09-13T20:51:28.608Z", "id": "", "source": "catalog", "amount_type": "fixed", "price_currency": "", "tax_behavior": "exclusive", "is_archived": false, "product_id": "", "type": "recurring", "recurring_interval": "week", "price_amount": 795829, "legacy": true}, {"created_at": "2023-11-28T19:26:30.837Z", "modified_at": "2025-10-14T04:57:44.285Z", "id": "", "source": "catalog", "amount_type": "fixed", "price_currency": "", "tax_behavior": "exclusive", "is_archived": true, "product_id": "", "type": "recurring", "recurring_interval": "year", "price_amount": 801449, "legacy": true}], "benefits": [{"id": "", "created_at": "2025-07-05T15:21:14.498Z", "modified_at": "2023-11-21T02:59:50.838Z", "type": "downloadables", "description": "highlight sandy overspend scratchy yet by", "selectable": true, "deletable": false, "is_deleted": false, "organization_id": ""}], "medias": []}], "product": {"id": "", "created_at": "2024-04-04T09:43:29.328Z", "modified_at": "2024-01-03T07:24:30.583Z", "trial_interval": "week", "trial_interval_count": 140837, "name": "", "description": "patroller fax sadly sick bitterly indeed grandson bravely loyally wholly", "visibility": "private", "recurring_interval": "month", "recurring_interval_count": 496454, "meter_interval": "day", "meter_interval_count": 968723, "is_recurring": true, "is_archived": true, "organization_id": "", "prices": [{"created_at": "2025-11-27T17:16:31.119Z", "modified_at": "2025-06-04T15:43:18.802Z", "id": "", "source": "ad_hoc", "amount_type": "fixed", "price_currency": "", "tax_behavior": "inclusive", "is_archived": false, "product_id": "", "type": "recurring", "recurring_interval": "month", "price_amount": 72487, "legacy": true}, {"created_at": "2025-11-21T17:30:50.622Z", "modified_at": "2024-03-20T10:42:26.864Z", "id": "", "source": "ad_hoc", "amount_type": "seat_based", "price_currency": "", "tax_behavior": "inclusive", "is_archived": false, "product_id": "", "seat_tiers": {"tiers": [{"min_seats": 426798, "price_per_seat": 70808}], "minimum_seats": 792281, "maximum_seats": 558565}}, {"created_at": "2025-02-06T04:48:01.265Z", "modified_at": "2024-01-15T02:31:30.334Z", "id": "", "source": "ad_hoc", "amount_type": "custom", "price_currency": "", "tax_behavior": null, "is_archived": true, "product_id": "", "type": "recurring", "recurring_interval": "month", "minimum_amount": 849243, "maximum_amount": 295343, "preset_amount": 994380, "legacy": true}], "benefits": [{"id": "", "created_at": "2025-07-05T15:21:14.498Z", "modified_at": "2023-11-21T02:59:50.838Z", "type": "downloadables", "description": "highlight sandy overspend scratchy yet by", "selectable": true, "deletable": false, "is_deleted": true, "organization_id": ""}], "medias": [{"id": "", "organization_id": "", "name": "", "path": "/opt", "mime_type": "", "size": 349206, "storage_version": "", "checksum_etag": "", "checksum_sha256_base64": "", "checksum_sha256_hex": "", "last_modified_at": "2023-11-20T22:00:21.061Z", "version": "", "service": "product_media", "is_uploaded": true, "created_at": "2024-10-01T19:20:04.513Z", "size_readable": "", "public_url": "https://noted-availability.info"}, {"id": "", "organization_id": "", "name": "", "path": "/opt", "mime_type": "", "size": 349206, "storage_version": "", "checksum_etag": "", "checksum_sha256_base64": "", "checksum_sha256_hex": "", "last_modified_at": "2023-11-20T22:00:21.061Z", "version": "", "service": "product_media", "is_uploaded": true, "created_at": "2024-10-01T19:20:04.513Z", "size_readable": "", "public_url": "https://noted-availability.info"}, {"id": "", "organization_id": "", "name": "", "path": "/opt", "mime_type": "", "size": 349206, "storage_version": "", "checksum_etag": "", "checksum_sha256_base64": "", "checksum_sha256_hex": "", "last_modified_at": "2023-11-20T22:00:21.061Z", "version": "", "service": "product_media", "is_uploaded": true, "created_at": "2024-10-01T19:20:04.513Z", "size_readable": "", "public_url": "https://noted-availability.info"}]}, "product_price": {"created_at": "2024-12-31T01:21:07.047Z", "modified_at": "2025-06-28T02:43:46.293Z", "id": "", "source": "ad_hoc", "amount_type": "metered_unit", "price_currency": "", "tax_behavior": "exclusive", "is_archived": false, "product_id": "", "unit_amount": "", "cap_amount": 912409, "meter_id": "", "meter": {"id": "", "name": "", "unit": "token", "custom_label": "", "custom_multiplier": 465247}}, "prices": {"key": [], "key1": []}, "discount": {"duration": "once", "duration_in_months": 187379, "type": "fixed", "basis_points": 373595, "id": "", "name": "", "code": ""}, "subscription_id": "", "attached_custom_fields": [{"custom_field_id": "", "custom_field": {"created_at": "2024-09-18T09:12:02.157Z", "modified_at": "2023-07-11T01:18:07.226Z", "id": "", "metadata": {"key": ""}, "type": "date", "slug": "", "name": "", "organization_id": "1dbfc517-0bbf-4301-9ba8-555ca42b9737", "properties": {}}, "order": 704552, "required": true}, {"custom_field_id": "", "custom_field": {"created_at": "2024-09-18T09:12:02.157Z", "modified_at": "2023-07-11T01:18:07.226Z", "id": "", "metadata": {"key": ""}, "type": "date", "slug": "", "name": "", "organization_id": "1dbfc517-0bbf-4301-9ba8-555ca42b9737", "properties": {}}, "order": 704552, "required": true}], "customer_metadata": {"key": 384374, "key1": 126671, "key2": 568803}}} responses: "200": application/json: "" @@ -2313,7 +2313,7 @@ examples: _endpointsubscription_active_post: speakeasy-default-endpointsubscription-active-post: requestBody: - application/json: {"type": "subscription.active", "timestamp": "2023-08-13T01:28:21.362Z", "data": {"created_at": "2023-08-13T01:28:21.362Z", "modified_at": "2024-06-25T00:41:05.678Z", "id": "", "amount": 10000, "currency": "usd", "recurring_interval": "month", "recurring_interval_count": 204435, "status": "past_due", "current_period_start": "2023-06-09T14:14:48.363Z", "current_period_end": "2024-08-12T01:28:21.362Z", "current_meter_period_start": "2024-10-11T10:17:29.274Z", "current_meter_period_end": "2024-12-17T04:45:55.702Z", "trial_start": "2023-10-12T10:17:29.274Z", "trial_end": "2023-12-18T04:45:55.702Z", "cancel_at_period_end": true, "canceled_at": null, "started_at": "2023-07-21T07:29:31.409Z", "ends_at": "2025-08-05T11:38:46.213Z", "ended_at": "2024-09-05T04:27:23.768Z", "pause_at_period_end": false, "paused_at": "2025-10-11T10:49:29.519Z", "resumes_at": "2024-04-08T09:06:19.384Z", "customer_id": "", "product_id": "", "discount_id": "", "checkout_id": "", "customer_cancellation_reason": "too_complex", "customer_cancellation_comment": "", "metadata": {"key": false}, "customer": {"id": "992fae2a-2a17-4b7a-8d9e-e287cf90131b", "created_at": "2024-08-17T18:35:42.212Z", "modified_at": "2025-01-01T23:32:39.659Z", "metadata": {"key": 7303.56, "key1": 796236}, "external_id": "usr_1337", "email": "customer@example.com", "email_verified": true, "type": "individual", "name": "John Doe", "billing_name": "John Doe", "billing_address": {"country": "US"}, "tax_id": ["911144442", "us_ein"], "organization_id": "1dbfc517-0bbf-4301-9ba8-555ca42b9737", "deleted_at": null, "avatar_url": "https://www.gravatar.com/avatar/xxx?d=404"}, "product": {"id": "", "created_at": "2025-11-05T10:18:40.300Z", "modified_at": "2024-04-23T18:24:43.408Z", "trial_interval": "week", "trial_interval_count": 145614, "name": "", "description": "athwart fail wound oh nor boohoo reasoning against since", "visibility": "draft", "recurring_interval": "month", "recurring_interval_count": 493639, "meter_interval": null, "meter_interval_count": null, "is_recurring": false, "is_archived": true, "organization_id": "", "metadata": {"key": 722592}, "prices": [], "benefits": [{"id": "", "created_at": "2025-05-21T10:49:13.924Z", "modified_at": null, "type": "license_keys", "description": "chime softly outgoing gray", "selectable": false, "deletable": false, "is_deleted": true, "organization_id": "", "metadata": {}, "visibility": "draft", "properties": {"prefix": "", "expires": {"ttl": 18256, "timeframe": "day"}, "activations": {"limit": 776442, "enable_customer_admin": false}, "limit_usage": 89994}, "visibility_configurable": true}, {"id": "", "created_at": "2023-02-11T00:08:34.711Z", "modified_at": "2024-10-21T08:00:16.195Z", "type": "github_repository", "description": "as draft noon kettledrum alligator", "selectable": true, "deletable": false, "is_deleted": true, "organization_id": "", "metadata": {"key": 331688, "key1": 10869, "key2": true}, "visibility": "private", "properties": {"repository_owner": "polarsource", "repository_name": "private_repo", "permission": "maintain"}, "visibility_configurable": true}, {"id": "", "created_at": "2023-02-11T00:08:34.711Z", "modified_at": "2024-10-21T08:00:16.195Z", "type": "github_repository", "description": "as draft noon kettledrum alligator", "selectable": true, "deletable": false, "is_deleted": true, "organization_id": "", "metadata": {"key": 331688, "key1": 10869, "key2": true}, "visibility": "public", "properties": {"repository_owner": "polarsource", "repository_name": "private_repo", "permission": "maintain"}, "visibility_configurable": true}], "medias": [{"id": "", "organization_id": "", "name": "", "path": "/usr/libexec", "mime_type": "", "size": 980211, "storage_version": "", "checksum_etag": "", "checksum_sha256_base64": "", "checksum_sha256_hex": "", "last_modified_at": "2025-09-01T03:11:19.881Z", "version": "", "service": "product_media", "is_uploaded": false, "created_at": "2023-05-05T22:00:20.852Z", "size_readable": "", "public_url": "https://shabby-integer.org"}, {"id": "", "organization_id": "", "name": "", "path": "/usr/libexec", "mime_type": "", "size": 980211, "storage_version": "", "checksum_etag": "", "checksum_sha256_base64": "", "checksum_sha256_hex": "", "last_modified_at": "2025-09-01T03:11:19.881Z", "version": "", "service": "product_media", "is_uploaded": false, "created_at": "2023-05-05T22:00:20.852Z", "size_readable": "", "public_url": "https://shabby-integer.org"}, {"id": "", "organization_id": "", "name": "", "path": "/usr/libexec", "mime_type": "", "size": 980211, "storage_version": "", "checksum_etag": "", "checksum_sha256_base64": "", "checksum_sha256_hex": "", "last_modified_at": "2025-09-01T03:11:19.881Z", "version": "", "service": "product_media", "is_uploaded": false, "created_at": "2023-05-05T22:00:20.852Z", "size_readable": "", "public_url": "https://shabby-integer.org"}], "attached_custom_fields": []}, "discount": {"duration": "repeating", "type": "percentage", "amount": 1000, "currency": "usd", "amounts": {"eur": 900, "usd": 1000}, "created_at": "2023-10-09T08:41:16.911Z", "modified_at": "2025-08-16T07:28:28.929Z", "id": "", "metadata": {}, "name": "", "code": "", "starts_at": "2024-04-06T16:40:05.860Z", "ends_at": "2023-01-06T22:21:47.288Z", "max_redemptions": null, "redemptions_count": 313365, "organization_id": "1dbfc517-0bbf-4301-9ba8-555ca42b9737"}, "prices": [{"created_at": "2024-06-25T00:41:05.678Z", "modified_at": "2025-09-12T00:30:21.037Z", "id": "", "source": "catalog", "amount_type": "custom", "price_currency": "", "tax_behavior": "location", "is_archived": true, "product_id": "", "type": "recurring", "recurring_interval": "year", "minimum_amount": 89762, "maximum_amount": null, "preset_amount": null, "legacy": true}, {"created_at": "2024-09-14T15:19:58.463Z", "modified_at": "2024-07-30T05:01:30.550Z", "id": "", "source": "catalog", "amount_type": "custom", "price_currency": "", "tax_behavior": "location", "is_archived": false, "product_id": "", "type": "recurring", "recurring_interval": "month", "minimum_amount": 720352, "maximum_amount": 761885, "preset_amount": 542678, "legacy": true}, {"created_at": "2025-09-14T15:19:58.463Z", "modified_at": "2025-07-30T05:01:30.550Z", "id": "", "source": "ad_hoc", "amount_type": "custom", "price_currency": "", "tax_behavior": "inclusive", "is_archived": true, "product_id": "", "minimum_amount": 514935, "maximum_amount": 277670, "preset_amount": 783985}], "meters": [], "pending_update": {"created_at": "2024-06-08T14:14:48.363Z", "modified_at": null, "id": "", "applies_at": "2024-02-09T14:19:47.352Z", "product_id": null, "seats": 183679}}} + application/json: {"type": "subscription.active", "timestamp": "2023-08-13T01:28:21.362Z", "data": {"created_at": "2023-08-13T01:28:21.362Z", "modified_at": "2024-06-25T00:41:05.678Z", "id": "", "amount": 10000, "currency": "usd", "recurring_interval": "month", "recurring_interval_count": 204435, "status": "past_due", "current_period_start": "2023-06-09T14:14:48.363Z", "current_period_end": "2024-08-12T01:28:21.362Z", "current_meter_period_start": "2024-10-11T10:17:29.274Z", "current_meter_period_end": "2024-12-17T04:45:55.702Z", "trial_start": "2023-10-12T10:17:29.274Z", "trial_end": "2023-12-18T04:45:55.702Z", "cancel_at_period_end": true, "canceled_at": null, "started_at": "2023-07-21T07:29:31.409Z", "ends_at": "2025-08-05T11:38:46.213Z", "ended_at": "2024-09-05T04:27:23.768Z", "pause_at_period_end": false, "paused_at": "2025-10-11T10:49:29.519Z", "resumes_at": "2024-04-08T09:06:19.384Z", "customer_id": "", "product_id": "", "discount_id": "", "checkout_id": "", "customer_cancellation_reason": "too_complex", "customer_cancellation_comment": "", "metadata": {"key": false}, "customer": {"id": "992fae2a-2a17-4b7a-8d9e-e287cf90131b", "created_at": "2024-08-17T18:35:42.212Z", "modified_at": "2025-01-01T23:32:39.659Z", "metadata": {"key": 7303.56, "key1": 796236}, "external_id": "usr_1337", "email": "customer@example.com", "email_verified": true, "type": "individual", "name": "John Doe", "billing_name": "John Doe", "billing_address": {"country": "US"}, "tax_id": ["911144442", "us_ein"], "organization_id": "1dbfc517-0bbf-4301-9ba8-555ca42b9737", "deleted_at": null, "avatar_url": "https://www.gravatar.com/avatar/xxx?d=404"}, "product": {"id": "", "created_at": "2025-11-05T10:18:40.300Z", "modified_at": "2024-04-23T18:24:43.408Z", "trial_interval": "week", "trial_interval_count": 145614, "name": "", "description": "athwart fail wound oh nor boohoo reasoning against since", "visibility": "draft", "recurring_interval": "month", "recurring_interval_count": 493639, "meter_interval": null, "meter_interval_count": null, "is_recurring": false, "is_archived": true, "organization_id": "", "metadata": {"key": 722592}, "prices": [], "benefits": [{"id": "", "created_at": "2025-05-21T10:49:13.924Z", "modified_at": null, "type": "license_keys", "description": "chime softly outgoing gray", "selectable": false, "deletable": false, "is_deleted": true, "organization_id": "", "metadata": {}, "visibility": "draft", "properties": {"prefix": "", "expires": {"ttl": 18256, "timeframe": "day"}, "activations": {"limit": 776442, "enable_customer_admin": false}, "limit_usage": 89994}, "visibility_configurable": true}, {"id": "", "created_at": "2023-02-11T00:08:34.711Z", "modified_at": "2024-10-21T08:00:16.195Z", "type": "github_repository", "description": "as draft noon kettledrum alligator", "selectable": true, "deletable": false, "is_deleted": true, "organization_id": "", "metadata": {"key": 331688, "key1": 10869, "key2": true}, "visibility": "private", "properties": {"repository_owner": "polarsource", "repository_name": "private_repo", "permission": "maintain"}, "visibility_configurable": true}, {"id": "", "created_at": "2023-02-11T00:08:34.711Z", "modified_at": "2024-10-21T08:00:16.195Z", "type": "github_repository", "description": "as draft noon kettledrum alligator", "selectable": true, "deletable": false, "is_deleted": true, "organization_id": "", "metadata": {"key": 331688, "key1": 10869, "key2": true}, "visibility": "public", "properties": {"repository_owner": "polarsource", "repository_name": "private_repo", "permission": "maintain"}, "visibility_configurable": true}], "medias": [{"id": "", "organization_id": "", "name": "", "path": "/usr/libexec", "mime_type": "", "size": 980211, "storage_version": "", "checksum_etag": "", "checksum_sha256_base64": "", "checksum_sha256_hex": "", "last_modified_at": "2025-09-01T03:11:19.881Z", "version": "", "service": "product_media", "is_uploaded": false, "created_at": "2023-05-05T22:00:20.852Z", "size_readable": "", "public_url": "https://shabby-integer.org"}, {"id": "", "organization_id": "", "name": "", "path": "/usr/libexec", "mime_type": "", "size": 980211, "storage_version": "", "checksum_etag": "", "checksum_sha256_base64": "", "checksum_sha256_hex": "", "last_modified_at": "2025-09-01T03:11:19.881Z", "version": "", "service": "product_media", "is_uploaded": false, "created_at": "2023-05-05T22:00:20.852Z", "size_readable": "", "public_url": "https://shabby-integer.org"}, {"id": "", "organization_id": "", "name": "", "path": "/usr/libexec", "mime_type": "", "size": 980211, "storage_version": "", "checksum_etag": "", "checksum_sha256_base64": "", "checksum_sha256_hex": "", "last_modified_at": "2025-09-01T03:11:19.881Z", "version": "", "service": "product_media", "is_uploaded": false, "created_at": "2023-05-05T22:00:20.852Z", "size_readable": "", "public_url": "https://shabby-integer.org"}], "attached_custom_fields": []}, "discount": {"duration": "repeating", "type": "percentage", "amount": 1000, "currency": "usd", "amounts": {"eur": 900, "usd": 1000}, "created_at": "2023-10-09T08:41:16.911Z", "modified_at": "2025-08-16T07:28:28.929Z", "id": "", "metadata": {}, "name": "", "code": "", "starts_at": "2024-04-06T16:40:05.860Z", "ends_at": "2023-01-06T22:21:47.288Z", "max_redemptions": null, "redemptions_count": 313365, "organization_id": "1dbfc517-0bbf-4301-9ba8-555ca42b9737"}, "prices": [{"created_at": "2024-06-25T00:41:05.678Z", "modified_at": "2025-09-12T00:30:21.037Z", "id": "", "source": "catalog", "amount_type": "custom", "price_currency": "", "tax_behavior": "location", "is_archived": true, "product_id": "", "type": "recurring", "recurring_interval": "year", "minimum_amount": 89762, "maximum_amount": null, "preset_amount": null, "legacy": true}, {"created_at": "2024-09-14T15:19:58.463Z", "modified_at": "2024-07-30T05:01:30.550Z", "id": "", "source": "catalog", "amount_type": "custom", "price_currency": "", "tax_behavior": "location", "is_archived": false, "product_id": "", "type": "recurring", "recurring_interval": "month", "minimum_amount": 720352, "maximum_amount": 761885, "preset_amount": 542678, "legacy": true}, {"created_at": "2025-09-14T15:19:58.463Z", "modified_at": "2025-07-30T05:01:30.550Z", "id": "", "source": "ad_hoc", "amount_type": "custom", "price_currency": "", "tax_behavior": "inclusive", "is_archived": true, "product_id": "", "type": "recurring", "recurring_interval": "day", "minimum_amount": 514935, "maximum_amount": 277670, "preset_amount": 783985, "legacy": true}], "meters": [], "pending_update": {"created_at": "2024-06-08T14:14:48.363Z", "modified_at": null, "id": "", "applies_at": "2024-02-09T14:19:47.352Z", "product_id": null, "seats": 183679}}} responses: "200": application/json: "" @@ -4967,7 +4967,7 @@ examples: _endpointsubscription_resumed_post: speakeasy-default-endpointsubscription-resumed-post: requestBody: - application/json: {"type": "subscription.resumed", "timestamp": "2024-01-22T14:24:10.379Z", "data": {"created_at": "2024-06-30T09:29:44.611Z", "modified_at": "2025-05-19T10:15:04.095Z", "id": "", "amount": 10000, "currency": "usd", "recurring_interval": "day", "recurring_interval_count": 910892, "status": "incomplete_expired", "current_period_start": "2026-07-05T11:55:19.948Z", "current_period_end": "2025-10-26T05:39:47.956Z", "current_meter_period_start": null, "current_meter_period_end": "2026-11-24T05:42:14.433Z", "trial_start": "2024-08-16T01:20:56.595Z", "trial_end": "2026-07-09T21:41:25.685Z", "cancel_at_period_end": false, "canceled_at": "2026-03-15T20:24:25.729Z", "started_at": "2024-01-24T07:56:52.664Z", "ends_at": "2025-12-01T07:07:48.564Z", "ended_at": "2026-11-24T20:15:41.291Z", "pause_at_period_end": false, "paused_at": "2026-12-20T07:04:52.345Z", "resumes_at": "2026-02-13T22:06:10.729Z", "customer_id": "", "product_id": "", "discount_id": "", "checkout_id": "", "customer_cancellation_reason": "low_quality", "customer_cancellation_comment": "", "metadata": {"key": ""}, "customer": {"id": "992fae2a-2a17-4b7a-8d9e-e287cf90131b", "created_at": "2024-08-10T12:31:29.222Z", "modified_at": "2026-03-05T13:26:09.665Z", "metadata": {}, "external_id": "usr_1337", "email": "customer@example.com", "email_verified": true, "type": "individual", "name": "John Doe", "billing_name": "John Doe", "billing_address": {"country": "US"}, "tax_id": ["911144442", "us_ein"], "organization_id": "1dbfc517-0bbf-4301-9ba8-555ca42b9737", "deleted_at": "2025-02-22T23:12:45.988Z", "avatar_url": "https://www.gravatar.com/avatar/xxx?d=404"}, "product": {"id": "", "created_at": "2025-01-14T10:56:21.606Z", "modified_at": "2026-01-13T10:49:57.927Z", "trial_interval": "year", "trial_interval_count": 60142, "name": "", "description": "vice proliferate lined doodle", "visibility": "private", "recurring_interval": "year", "recurring_interval_count": 285327, "meter_interval": "week", "meter_interval_count": 212696, "is_recurring": true, "is_archived": true, "organization_id": "", "metadata": {}, "prices": [{"created_at": "2025-02-19T06:29:24.413Z", "modified_at": "2025-11-24T11:49:47.599Z", "id": "", "source": "catalog", "amount_type": "fixed", "price_currency": "", "tax_behavior": "exclusive", "is_archived": true, "product_id": "", "type": "recurring", "recurring_interval": "year", "price_amount": 366168, "legacy": true}], "benefits": [{"id": "", "created_at": "2024-03-08T00:36:46.368Z", "modified_at": null, "type": "github_repository", "description": "except loyalty scale", "selectable": true, "deletable": true, "is_deleted": false, "organization_id": "", "metadata": {}, "visibility": "draft", "properties": {"repository_owner": "polarsource", "repository_name": "private_repo", "permission": "maintain"}, "visibility_configurable": true}], "medias": [{"id": "", "organization_id": "", "name": "", "path": "/tmp", "mime_type": "", "size": 824138, "storage_version": "", "checksum_etag": "", "checksum_sha256_base64": null, "checksum_sha256_hex": "", "last_modified_at": "2024-09-11T04:32:32.279Z", "version": "", "service": "product_media", "is_uploaded": false, "created_at": "2025-10-28T00:09:11.868Z", "size_readable": "", "public_url": "https://agile-paintwork.net/"}], "attached_custom_fields": []}, "discount": {"duration": "repeating", "type": "fixed", "basis_points": 1000, "created_at": "2024-01-29T12:57:51.159Z", "modified_at": "2026-05-30T05:14:44.253Z", "id": "", "metadata": {"key": 1944.15}, "name": "", "code": "", "starts_at": "2025-05-02T12:20:43.507Z", "ends_at": "2025-11-01T11:32:19.007Z", "max_redemptions": 918147, "redemptions_count": 672454, "organization_id": "1dbfc517-0bbf-4301-9ba8-555ca42b9737"}, "prices": [{"created_at": "2024-03-27T18:00:56.006Z", "modified_at": "2025-12-23T19:15:57.393Z", "id": "", "source": "catalog", "amount_type": "custom", "price_currency": "", "tax_behavior": "location", "is_archived": true, "product_id": "", "minimum_amount": 399198, "maximum_amount": 429537, "preset_amount": 361115}], "meters": [], "pending_update": {"created_at": "2026-05-21T01:07:20.692Z", "modified_at": "2026-12-12T11:31:51.483Z", "id": "", "applies_at": "2026-08-20T05:33:38.575Z", "product_id": "", "seats": 248287}}} + application/json: {"type": "subscription.resumed", "timestamp": "2024-01-22T14:24:10.379Z", "data": {"created_at": "2024-06-30T09:29:44.611Z", "modified_at": "2025-05-19T10:15:04.095Z", "id": "", "amount": 10000, "currency": "usd", "recurring_interval": "day", "recurring_interval_count": 910892, "status": "incomplete_expired", "current_period_start": "2026-07-05T11:55:19.948Z", "current_period_end": "2025-10-26T05:39:47.956Z", "current_meter_period_start": null, "current_meter_period_end": "2026-11-24T05:42:14.433Z", "trial_start": "2024-08-16T01:20:56.595Z", "trial_end": "2026-07-09T21:41:25.685Z", "cancel_at_period_end": false, "canceled_at": "2026-03-15T20:24:25.729Z", "started_at": "2024-01-24T07:56:52.664Z", "ends_at": "2025-12-01T07:07:48.564Z", "ended_at": "2026-11-24T20:15:41.291Z", "pause_at_period_end": false, "paused_at": "2026-12-20T07:04:52.345Z", "resumes_at": "2026-02-13T22:06:10.729Z", "customer_id": "", "product_id": "", "discount_id": "", "checkout_id": "", "customer_cancellation_reason": "low_quality", "customer_cancellation_comment": "", "metadata": {"key": ""}, "customer": {"id": "992fae2a-2a17-4b7a-8d9e-e287cf90131b", "created_at": "2024-08-10T12:31:29.222Z", "modified_at": "2026-03-05T13:26:09.665Z", "metadata": {}, "external_id": "usr_1337", "email": "customer@example.com", "email_verified": true, "type": "individual", "name": "John Doe", "billing_name": "John Doe", "billing_address": {"country": "US"}, "tax_id": ["911144442", "us_ein"], "organization_id": "1dbfc517-0bbf-4301-9ba8-555ca42b9737", "deleted_at": "2025-02-22T23:12:45.988Z", "avatar_url": "https://www.gravatar.com/avatar/xxx?d=404"}, "product": {"id": "", "created_at": "2025-01-14T10:56:21.606Z", "modified_at": "2026-01-13T10:49:57.927Z", "trial_interval": "year", "trial_interval_count": 60142, "name": "", "description": "vice proliferate lined doodle", "visibility": "private", "recurring_interval": "year", "recurring_interval_count": 285327, "meter_interval": "week", "meter_interval_count": 212696, "is_recurring": true, "is_archived": true, "organization_id": "", "metadata": {}, "prices": [{"created_at": "2025-02-19T06:29:24.413Z", "modified_at": "2025-11-24T11:49:47.599Z", "id": "", "source": "catalog", "amount_type": "fixed", "price_currency": "", "tax_behavior": "exclusive", "is_archived": true, "product_id": "", "type": "recurring", "recurring_interval": "year", "price_amount": 366168, "legacy": true}], "benefits": [{"id": "", "created_at": "2024-03-08T00:36:46.368Z", "modified_at": null, "type": "github_repository", "description": "except loyalty scale", "selectable": true, "deletable": true, "is_deleted": false, "organization_id": "", "metadata": {}, "visibility": "draft", "properties": {"repository_owner": "polarsource", "repository_name": "private_repo", "permission": "maintain"}, "visibility_configurable": true}], "medias": [{"id": "", "organization_id": "", "name": "", "path": "/tmp", "mime_type": "", "size": 824138, "storage_version": "", "checksum_etag": "", "checksum_sha256_base64": null, "checksum_sha256_hex": "", "last_modified_at": "2024-09-11T04:32:32.279Z", "version": "", "service": "product_media", "is_uploaded": false, "created_at": "2025-10-28T00:09:11.868Z", "size_readable": "", "public_url": "https://agile-paintwork.net/"}], "attached_custom_fields": []}, "discount": {"duration": "repeating", "type": "fixed", "basis_points": 1000, "created_at": "2024-01-29T12:57:51.159Z", "modified_at": "2026-05-30T05:14:44.253Z", "id": "", "metadata": {"key": 1944.15}, "name": "", "code": "", "starts_at": "2025-05-02T12:20:43.507Z", "ends_at": "2025-11-01T11:32:19.007Z", "max_redemptions": 918147, "redemptions_count": 672454, "organization_id": "1dbfc517-0bbf-4301-9ba8-555ca42b9737"}, "prices": [{"created_at": "2024-03-27T18:00:56.006Z", "modified_at": "2025-12-23T19:15:57.393Z", "id": "", "source": "catalog", "amount_type": "custom", "price_currency": "", "tax_behavior": "location", "is_archived": true, "product_id": "", "type": "recurring", "recurring_interval": "day", "minimum_amount": 399198, "maximum_amount": 429537, "preset_amount": 361115, "legacy": true}], "meters": [], "pending_update": {"created_at": "2026-05-21T01:07:20.692Z", "modified_at": "2026-12-12T11:31:51.483Z", "id": "", "applies_at": "2026-08-20T05:33:38.575Z", "product_id": "", "seats": 248287}}} responses: "200": application/json: "" @@ -4975,7 +4975,6 @@ examples: application/json: {} examplesVersion: 1.0.2 generatedTests: {} -releaseNotes: "## Python SDK Changes Detected:\n* `polar.orders.export()`: `response.status[200]` **Removed** **Breaking** :warning:\n* `polar.customers.create()`: `response` **Changed** **Breaking** :warning:\n* `polar._endpointcheckout_expired_post()`: \n * `request.data.products.[]` **Changed** **Breaking** :warning:\n* `polar._endpointcustomer_seat_assigned_post()`: \n * `request.data` **Changed** **Breaking** :warning:\n* `polar._endpointcustomer_seat_claimed_post()`: \n * `request.data` **Changed** **Breaking** :warning:\n* `polar.customer_meters.get()`: `response.customer` **Changed** **Breaking** :warning:\n* `polar.customer_meters.list()`: `response.items.[].customer` **Changed** **Breaking** :warning:\n* `polar._endpointcheckout_created_post()`: \n * `request.data.products.[]` **Changed** **Breaking** :warning:\n* `polar.events.get()`: `response.[system_event]` **Changed** **Breaking** :warning:\n* `polar.events.list()`: `response.[list_resource_event_].items.[].[system_event]` **Changed** **Breaking** :warning:\n* `polar.customer-sessions.create()`: `response.customer` **Changed** **Breaking** :warning:\n* `polar.customer_portal.subscriptions.update()`: \n * `request.customer_subscription_update` **Changed** **Breaking** :warning:\n * `response` **Changed**\n * `error` **Changed** **Breaking** :warning:\n* `polar.customer_portal.orders.generate_invoice()`: `error` **Changed** **Breaking** :warning:\n* `polar.customer_portal.license_keys.activate()`: `response.license_key.customer.avatar_url` **Changed** **Breaking** :warning:\n* `polar.customer_portal.license_keys.validate()`: `response.customer.avatar_url` **Changed** **Breaking** :warning:\n* `polar.customer_portal.license_keys.get()`: `response.customer.avatar_url` **Changed** **Breaking** :warning:\n* `polar.customer_portal.license_keys.list()`: `response.items.[].customer.avatar_url` **Changed** **Breaking** :warning:\n* `polar.customers.get_state_external()`: `response` **Changed** **Breaking** :warning:\n* `polar.customers.get_state()`: `response` **Changed** **Breaking** :warning:\n* `polar.customers.update_external()`: `response` **Changed** **Breaking** :warning:\n* `polar.customers.get_external()`: `response` **Changed** **Breaking** :warning:\n* `polar.customers.update()`: `response` **Changed** **Breaking** :warning:\n* `polar.customers.get()`: `response` **Changed** **Breaking** :warning:\n* `polar.customers.export()`: `response.status[200]` **Removed** **Breaking** :warning:\n* `polar._endpointcheckout_updated_post()`: \n * `request.data.products.[]` **Changed** **Breaking** :warning:\n* `polar.customers.list()`: `response.items.[]` **Changed** **Breaking** :warning:\n* `polar.license_keys.activate()`: `response.license_key.customer.avatar_url` **Changed** **Breaking** :warning:\n* `polar.license_keys.validate()`: `response.customer.avatar_url` **Changed** **Breaking** :warning:\n* `polar.license_keys.get_activation()`: `response.license_key.customer.avatar_url` **Changed** **Breaking** :warning:\n* `polar._endpointcustomer_seat_revoked_post()`: \n * `request.data` **Changed** **Breaking** :warning:\n* `polar._endpointorder_created_post()`: \n * `request.data` **Changed** **Breaking** :warning:\n* `polar._endpointorder_updated_post()`: \n * `request.data` **Changed** **Breaking** :warning:\n* `polar._endpointorder_paid_post()`: \n * `request.data` **Changed** **Breaking** :warning:\n* `polar._endpointorder_refunded_post()`: \n * `request.data` **Changed** **Breaking** :warning:\n* `polar._endpointsubscription_created_post()`: \n * `request.data` **Changed** **Breaking** :warning:\n* `polar._endpointsubscription_updated_post()`: \n * `request.data` **Changed** **Breaking** :warning:\n* `polar._endpointsubscription_active_post()`: \n * `request.data` **Changed** **Breaking** :warning:\n* `polar._endpointsubscription_canceled_post()`: \n * `request.data` **Changed** **Breaking** :warning:\n* `polar._endpointsubscription_uncanceled_post()`: \n * `request.data` **Changed** **Breaking** :warning:\n* `polar._endpointsubscription_revoked_post()`: \n * `request.data` **Changed** **Breaking** :warning:\n* `polar._endpointsubscription_past_due_post()`: \n * `request.data` **Changed** **Breaking** :warning:\n* `polar._endpointrefund_created_post()`: \n * `request.data.dispute` **Changed** **Breaking** :warning:\n* `polar._endpointrefund_updated_post()`: \n * `request.data.dispute` **Changed** **Breaking** :warning:\n* `polar._endpointproduct_created_post()`: \n * `request.data` **Changed** **Breaking** :warning:\n* `polar._endpointproduct_updated_post()`: \n * `request.data` **Changed** **Breaking** :warning:\n* `polar._endpointorganization_updated_post()`: \n * `request.data` **Changed** **Breaking** :warning:\n* `polar.license_keys.update()`: `response.customer.avatar_url` **Changed** **Breaking** :warning:\n* `polar.license_keys.get()`: `response.customer.avatar_url` **Changed** **Breaking** :warning:\n* `polar.license_keys.list()`: `response.items.[].customer.avatar_url` **Changed** **Breaking** :warning:\n* `polar.metrics.export()`: `response.status[200]` **Removed** **Breaking** :warning:\n* `polar.orders.create()`: `response` **Changed** **Breaking** :warning:\n* `polar.orders.list()`: `response.items.[]` **Changed** **Breaking** :warning:\n* `polar.organizations.list_organizations()`: `response.items.[]` **Changed** **Breaking** :warning:\n* `polar.organizations.create()`: \n * `request` **Changed** **Breaking** :warning:\n * `response` **Changed** **Breaking** :warning:\n * `error.status[403]` **Added**\n* `polar.organizations.get()`: `response` **Changed** **Breaking** :warning:\n* `polar.organizations.update()`: \n * `request.organization_update` **Changed** **Breaking** :warning:\n * `response` **Changed** **Breaking** :warning:\n * `error.status[409]` **Added**\n* `polar.subscriptions.list()`: \n * `request.status` **Changed**\n * `response.items.[]` **Changed** **Breaking** :warning:\n* `polar.subscriptions.create()`: `response` **Changed** **Breaking** :warning:\n* `polar.subscriptions.export()`: `response.status[200]` **Removed** **Breaking** :warning:\n* `polar.subscriptions.get()`: `response` **Changed** **Breaking** :warning:\n* `polar.subscriptions.revoke()`: `response` **Changed** **Breaking** :warning:\n* `polar.subscriptions.update()`: \n * `request.subscription_update` **Changed**\n * `response` **Changed** **Breaking** :warning:\n* `polar.checkouts.create()`: \n * `request.prices.{}.[].[free]` **Removed** **Breaking** :warning:\n * `response.products.[]` **Changed**\n* `polar.orders.generate_invoice()`: `error` **Changed** **Breaking** :warning:\n* `polar.oauth2.clients.delete()`: `response` **Changed** **Breaking** :warning:\n* `polar.benefits.update()`: `request_body` **Changed** **Breaking** :warning:\n* `polar.benefits.grants()`: `response.items.[].customer` **Changed** **Breaking** :warning:\n* `polar.benefit-grants.list()`: `response.items.[].customer` **Changed** **Breaking** :warning:\n* `polar.orders.finalize()`: `response` **Changed** **Breaking** :warning:\n* `polar.orders.update()`: `response` **Changed** **Breaking** :warning:\n* `polar.products.create()`: \n * `request` **Changed** **Breaking** :warning:\n * `response` **Changed**\n* `polar.orders.get()`: `response` **Changed** **Breaking** :warning:\n* `polar.products.update()`: \n * `request.product_update.prices.[].[2].[free]` **Removed** **Breaking** :warning:\n * `response` **Changed**\n* `polar.organization_access_tokens.list()`: **Deleted** **Breaking** :warning:\n* `polar._endpointcustomer_created_post()`: \n * `request.data` **Changed**\n* `polar.files.create()`: \n * `request.[support_case_attachment]` **Added**\n* `polar.disputes.accept()`: **Added**\n* `polar.products.get()`: `response` **Changed**\n* `polar.products.list()`: `response.items.[]` **Changed**\n* `polar.webhooks.list_webhook_deliveries()`: `request.event_type` **Changed**\n* `polar.oauth2.introspect()`: `response.organizations` **Added**\n* `polar.refunds.list()`: `response.items.[].dispute` **Changed**\n* `polar.refunds.create()`: `response.dispute` **Changed**\n* `polar.disputes.list()`: `response.items.[]` **Changed**\n* `polar.disputes.get()`: `response` **Changed**\n* `polar.checkouts.list()`: `response.items.[].products.[]` **Changed**\n* `polar.oauth2.authorize()`: `response` **Changed**\n* `polar._endpointbenefit_grant_revoked_post()`: \n * `request.data.[benefit_grant_discord_webhook].customer` **Changed**\n* `polar.discounts.update()`: `response.[discount_fixed_once_forever_duration].products.[]` **Changed**\n* `polar.checkouts.client_get()`: `response.products.[]` **Changed**\n* `polar.checkouts.client_update()`: `response.products.[]` **Changed**\n* `polar.checkouts.client_confirm()`: `response.products.[]` **Changed**\n* `polar.files.list()`: `response.items.[].[support_case_attachment]` **Added**\n* `polar._endpointbenefit_grant_cycled_post()`: \n * `request.data.[benefit_grant_license_keys_webhook].customer` **Changed**\n* `polar.files.uploaded()`: `response.[support_case_attachment]` **Added**\n* `polar.files.update()`: `response.[support_case_attachment]` **Added**\n* `polar.organization_access_tokens.create()`: **Deleted** **Breaking** :warning:\n* `polar._endpointbenefit_grant_created_post()`: \n * `request.data.[benefit_grant_downloadables_webhook].customer` **Changed**\n* `polar._endpointcustomer_state_changed_post()`: \n * `request.data` **Changed**\n* `polar._endpointcustomer_deleted_post()`: \n * `request.data` **Changed**\n* `polar._endpointcustomer_updated_post()`: \n * `request.data` **Changed**\n* `polar._endpointbenefit_grant_updated_post()`: \n * `request.data.[benefit_grant_discord_webhook].customer` **Changed**\n* `polar.organization_access_tokens.update()`: **Deleted** **Breaking** :warning:\n* `polar.checkout-links.list()`: `response.items.[].products.[]` **Changed**\n* `polar.checkout-links.create()`: `response.products.[]` **Changed**\n* `polar.checkout-links.get()`: `response.products.[]` **Changed**\n* `polar.checkout-links.update()`: `response.products.[]` **Changed**\n* `polar.discounts.list()`: `response.items.[].[discount_fixed_repeat_duration].products.[]` **Changed**\n* `polar.discounts.create()`: `response.[discount_percentage_once_forever_duration].products.[]` **Changed**\n* `polar.discounts.get()`: `response.[discount_fixed_once_forever_duration].products.[]` **Changed**\n* `polar.checkouts.update()`: `response.products.[]` **Changed**\n* `polar.checkouts.get()`: `response.products.[]` **Changed**\n* `polar.products.update_benefits()`: `response` **Changed**\n* `polar.customer_portal.subscriptions.get()`: `response` **Changed**\n* `polar.members.update_member_by_external_id()`: **Deleted** **Breaking** :warning:\n* `polar.members.delete_member_by_external_id()`: **Deleted** **Breaking** :warning:\n* `polar.members.get_member_by_external_id()`: **Deleted** **Breaking** :warning:\n* `polar.members.update_member()`: **Deleted** **Breaking** :warning:\n* `polar.members.delete_member()`: **Deleted** **Breaking** :warning:\n* `polar.members.get_member()`: **Deleted** **Breaking** :warning:\n* `polar.customer_portal.seats.list_seats()`: `response.seats.[]` **Changed**\n* `polar.customer_portal.seats.assign_seat()`: `response` **Changed**\n* `polar.customer_portal.seats.revoke_seat()`: `response` **Changed**\n* `polar.customer_portal.seats.resend_invitation()`: `response` **Changed**\n* `polar.customer_portal.seats.list_claimed_subscriptions()`: `response.items.[]` **Changed**\n* `polar.members.create_member()`: **Deleted** **Breaking** :warning:\n* `polar.customers.members.delete_external()`: **Added**\n* `polar.customers.members.update_external()`: **Added**\n* `polar.customers.members.get_external()`: **Added**\n* `polar.customer_portal.members.update_member()`: \n * `request.customer_portal_member_update.name` **Added**\n* `polar.customer_portal.orders.list()`: `response.items.[]` **Changed**\n* `polar.customer_portal.orders.get()`: `response` **Changed**\n* `polar.customer_portal.orders.update()`: `response` **Changed**\n* `polar.customers.members.delete()`: **Added**\n* `polar.customer_portal.organizations.get()`: `response` **Changed**\n* `polar.customer_portal.subscriptions.list()`: `response.items.[]` **Changed**\n* `polar.organization_access_tokens.delete()`: **Deleted** **Breaking** :warning:\n* `polar.customer_portal.subscriptions.cancel()`: `response` **Changed**\n* `polar.customers.members.update()`: **Added**\n* `polar.customer-seats.list_seats()`: `response.seats.[]` **Changed**\n* `polar.customer-seats.assign_seat()`: `response` **Changed**\n* `polar.customer-seats.revoke_seat()`: `response` **Changed**\n* `polar.customer-seats.resend_invitation()`: `response` **Changed**\n* `polar.customer-seats.claim_seat()`: `response.seat` **Changed**\n* `polar.customers.members.get()`: **Added**\n* `polar.customers.members.create_external()`: **Added**\n* `polar.events.list_names()`: `response.items.[].label` **Added**\n* `polar.customers.members.create()`: **Added**\n* `polar._endpointsubscription_resumed_post()`: **Added**\n* `polar._endpointsubscription_paused_post()`: **Added**\n* `polar.payments.list()`: `response.items.[]` **Changed**\n* `polar.payments.get()`: `response` **Changed**\n" trackedFiles: .devcontainer/README.md: last_write_checksum: sha1:e2a191a1fa8ceb27387eb32eabf36f7ad16a532c @@ -7458,7 +7457,7 @@ trackedFiles: docs/sdks/benefitgrants/README.md: last_write_checksum: sha1:af83de76c7f0581ee50b139f4ce5423b1fb3b0a9 docs/sdks/benefits/README.md: - last_write_checksum: sha1:af71ea380f50a6f4b669f2c59893ca135580c001 + last_write_checksum: sha1:5d24f9e5c1e67beda95685046c48a1a00b985145 docs/sdks/checkoutlinks/README.md: last_write_checksum: sha1:8e6ba34a40b90e55dc5679a376e80665cebc34f0 docs/sdks/checkouts/README.md: @@ -7542,7 +7541,7 @@ trackedFiles: pylintrc: last_write_checksum: sha1:f3105517b767e704987821cf08b26c09d5235218 pyproject.toml: - last_write_checksum: sha1:8fb5a6b703d1b300723f22075716e3902796fbf0 + last_write_checksum: sha1:6b8aa36a1bdddeebe81b9d0269f7b1ab6c8967a7 scripts/prepare_readme.py: last_write_checksum: sha1:2311639185b318e498a99518d92fa5c847b5c70a scripts/publish.sh: @@ -7556,7 +7555,7 @@ trackedFiles: src/polar_sdk/_hooks/types.py: last_write_checksum: sha1:f0255463ebbcc31cb785aa379e40b09c33ee493b src/polar_sdk/_version.py: - last_write_checksum: sha1:d8f65916bac61c95812fc7771b973998c0a4ea0b + last_write_checksum: sha1:133255c5872d9fd3bf7f8c1c91ac4c8cd8f20091 src/polar_sdk/basesdk.py: last_write_checksum: sha1:4523ea81f1381f171fe2d4e60f85b82203208d02 src/polar_sdk/benefit_grants.py: @@ -7564,7 +7563,7 @@ trackedFiles: src/polar_sdk/benefits.py: last_write_checksum: sha1:54c3f82f8a9923f9c69880a47bcf05e8804ab36f src/polar_sdk/checkout_links.py: - last_write_checksum: sha1:64ecdaf6e7a062890c0cbc8863a8051773c53f40 + last_write_checksum: sha1:b708de83d52c1b6779c4ae0c8a40910395f59f41 src/polar_sdk/checkouts.py: last_write_checksum: sha1:b5dcf2a4cb9824bd7f2cf55fd8b9d0a8bf4a6525 src/polar_sdk/clients.py: @@ -9218,7 +9217,7 @@ trackedFiles: src/polar_sdk/oauth2.py: last_write_checksum: sha1:6740f1146c4087ac23c4e93cb17fcaa70a8f53d0 src/polar_sdk/orders.py: - last_write_checksum: sha1:2007a9818c19771f86e10a1c3f9efc77f9c07c13 + last_write_checksum: sha1:adbd235d4e78885a6c47a78f6fb836d5ea4adcd4 src/polar_sdk/organizations.py: last_write_checksum: sha1:ae0347ed0322fc273f2b9d4e2737823b458d6d73 src/polar_sdk/payments.py: @@ -9230,13 +9229,13 @@ trackedFiles: src/polar_sdk/polar_customer_portal_members.py: last_write_checksum: sha1:77739b38a54bed95d3d6d7f1255cf86a457884b0 src/polar_sdk/polar_customers.py: - last_write_checksum: sha1:8d64324cbf590f2b9d9a13968291107bf7b1051e + last_write_checksum: sha1:dfca704b0a1400b96b89c55754aba9c501c4e101 src/polar_sdk/polar_license_keys.py: - last_write_checksum: sha1:1a7c80b3a714a8ac6b665ba73812550021223753 + last_write_checksum: sha1:06b3655f6c622e17288780eac4152736b6eb33c9 src/polar_sdk/polar_members.py: last_write_checksum: sha1:3f597c46d2e570bc1460d82a001a49daf729d181 src/polar_sdk/polar_orders.py: - last_write_checksum: sha1:9e76cae96c127d47f2e28a1d4d426c849dcd9447 + last_write_checksum: sha1:979d6fa584957ae55b3d8841a9bb1047b6ff764f src/polar_sdk/polar_organizations.py: last_write_checksum: sha1:c6298efce671945b44ad0fb1e0916b1a26f3b224 src/polar_sdk/polar_subscriptions.py: diff --git a/.speakeasy/gen.yaml b/.speakeasy/gen.yaml index 5bc5c3cf..64386474 100644 --- a/.speakeasy/gen.yaml +++ b/.speakeasy/gen.yaml @@ -32,7 +32,7 @@ generation: persistentEdits: {} versioningStrategy: automatic python: - version: 0.32.0 + version: 0.32.1 additionalDependencies: dev: pydantic-ai-slim: ^0.1.0 diff --git a/.speakeasy/workflow.lock b/.speakeasy/workflow.lock index c55ad765..42834b1b 100644 --- a/.speakeasy/workflow.lock +++ b/.speakeasy/workflow.lock @@ -2,20 +2,20 @@ speakeasyVersion: 1.648.0 sources: Polar-OAS: sourceNamespace: polar-oas - sourceRevisionDigest: sha256:9cf091f91ef4a46970ede3273ee33e541c996281ec50ce88b55131f7d05e9b8c - sourceBlobDigest: sha256:bd427b992ceeb027fb3495c84d300ac99b300e03c96a775cd948e837b8ca9994 + sourceRevisionDigest: sha256:e28e128cf8e9dc28792541a5d39e7a31cb0383abe56b4cf9dd164708f233499b + sourceBlobDigest: sha256:635ce4ea0db6868309187fd2d518dedd739c610e7989be4c7c2a6770ee8c7d3b tags: - latest - - speakeasy-sdk-regen-1781311562 + - speakeasy-sdk-regen-1784593801 - 2026-04 targets: polar: source: Polar-OAS sourceNamespace: polar-oas - sourceRevisionDigest: sha256:9cf091f91ef4a46970ede3273ee33e541c996281ec50ce88b55131f7d05e9b8c - sourceBlobDigest: sha256:bd427b992ceeb027fb3495c84d300ac99b300e03c96a775cd948e837b8ca9994 + sourceRevisionDigest: sha256:e28e128cf8e9dc28792541a5d39e7a31cb0383abe56b4cf9dd164708f233499b + sourceBlobDigest: sha256:635ce4ea0db6868309187fd2d518dedd739c610e7989be4c7c2a6770ee8c7d3b codeSamplesNamespace: polar-oas-py-code-samples - codeSamplesRevisionDigest: sha256:6351e6c063d48f2c1f108519dd311ee4340131943242e7c054acef26fa717322 + codeSamplesRevisionDigest: sha256:b73181cb5ebbc211fc6aadf727ad139703c976418ddfbb21ce5c5a420c9e20b5 workflow: workflowVersion: 1.0.0 speakeasyVersion: latest diff --git a/RELEASES.md b/RELEASES.md index 0d26afcb..42ef6886 100644 --- a/RELEASES.md +++ b/RELEASES.md @@ -1153,4 +1153,14 @@ Based on: ### Generated - [python v0.32.0] . ### Releases -- [PyPI v0.32.0] https://pypi.org/project/polar-sdk/0.32.0 - . \ No newline at end of file +- [PyPI v0.32.0] https://pypi.org/project/polar-sdk/0.32.0 - . + +## 2026-07-22 00:28:11 +### Changes +Based on: +- OpenAPI Doc +- Speakeasy CLI 1.648.0 (2.737.0) https://github.com/speakeasy-api/speakeasy +### Generated +- [python v0.32.1] . +### Releases +- [PyPI v0.32.1] https://pypi.org/project/polar-sdk/0.32.1 - . \ No newline at end of file diff --git a/pyproject.toml b/pyproject.toml index 60bba62a..0f997e10 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,7 +1,7 @@ [project] name = "polar-sdk" -version = "0.32.0" +version = "0.32.1" description = "Polar SDK for Python" authors = [{ name = "Polar" },] readme = "README-PYPI.md" diff --git a/src/polar_sdk/_version.py b/src/polar_sdk/_version.py index 78a05afd..22ac49dd 100644 --- a/src/polar_sdk/_version.py +++ b/src/polar_sdk/_version.py @@ -3,10 +3,10 @@ import importlib.metadata __title__: str = "polar-sdk" -__version__: str = "0.32.0" +__version__: str = "0.32.1" __openapi_doc_version__: str = "2026-04" __gen_version__: str = "2.737.0" -__user_agent__: str = "speakeasy-sdk/python 0.32.0 2.737.0 2026-04 polar-sdk" +__user_agent__: str = "speakeasy-sdk/python 0.32.1 2.737.0 2026-04 polar-sdk" try: if __package__ is not None: