diff --git a/.devcontainer/README.md b/.devcontainer/README.md
index 1d9b654..9e2caae 100644
--- a/.devcontainer/README.md
+++ b/.devcontainer/README.md
@@ -1,4 +1,9 @@
+
+
+
+
+
> **Remember to shutdown a GitHub Codespace when it is not in use!**
# Dev Containers Quick Start
diff --git a/.speakeasy/gen.lock b/.speakeasy/gen.lock
index 85740b6..78f224e 100644
--- a/.speakeasy/gen.lock
+++ b/.speakeasy/gen.lock
@@ -1,12 +1,14 @@
lockVersion: 2.0.0
id: e7f2de70-a9ae-48d3-92f6-da15e6733a27
management:
- docChecksum: 0214aad4e9d73d5b7522f1b59d3a78cc
+ docChecksum: 62e6096c95dd267726f5489a38313f3f
docVersion: 0.1.0
- speakeasyVersion: 1.455.7
- generationVersion: 2.480.1
- releaseVersion: 0.0.1
- configChecksum: 75d69763b3a56961b45e89c2cf9cb2ed
+ speakeasyVersion: 1.456.0
+ generationVersion: 2.481.0
+ releaseVersion: 0.0.2
+ configChecksum: 2953435635b091465413127df2b173ea
+ repoURL: https://github.com/polarsource/polar-go.git
+ installationURL: https://github.com/polarsource/polar-go
features:
go:
additionalDependencies: 0.1.0
@@ -628,11 +630,13 @@ generatedFiles:
- docs/models/components/checkoutlinkupdatemetadata.md
- docs/models/components/checkoutmetadata.md
- docs/models/components/checkoutpricecreate.md
+ - docs/models/components/checkoutpricecreatecustomermetadata.md
- docs/models/components/checkoutpricecreatecustomfielddata.md
- docs/models/components/checkoutpricecreatemetadata.md
- docs/models/components/checkoutpricecreatepaymentprocessor.md
- docs/models/components/checkoutproduct.md
- docs/models/components/checkoutproductcreate.md
+ - docs/models/components/checkoutproductcreatecustomermetadata.md
- docs/models/components/checkoutproductcreatecustomfielddata.md
- docs/models/components/checkoutproductcreatemetadata.md
- docs/models/components/checkoutproductcreatepaymentprocessor.md
@@ -647,6 +651,7 @@ generatedFiles:
- docs/models/components/checkoutsortproperty.md
- docs/models/components/checkoutstatus.md
- docs/models/components/checkoutupdate.md
+ - docs/models/components/checkoutupdatecustomermetadata.md
- docs/models/components/checkoutupdatemetadata.md
- docs/models/components/checkoutupdatepublic.md
- docs/models/components/checkoutupdatepubliccustomfielddata.md
@@ -679,6 +684,7 @@ generatedFiles:
- docs/models/components/customercreate.md
- docs/models/components/customercreatetaxid.md
- docs/models/components/customermetadata.md
+ - docs/models/components/customermetadata1.md
- docs/models/components/customerorder.md
- docs/models/components/customerorderinvoice.md
- docs/models/components/customerorderproduct.md
@@ -1352,83 +1358,93 @@ examples:
_endpointcheckout_created_post:
speakeasy-default-endpointcheckout-created-post:
requestBody:
- application/json: {"data": {"created_at": "2024-11-12T14:26:42.882Z", "modified_at": "2023-05-28T05:08:06.235Z", "id": "", "status": "failed", "client_secret": "", "url": "https://heavy-beret.com/", "expires_at": "2022-02-25T02:26:48.460Z", "success_url": "https://sardonic-final.info/", "embed_origin": "", "amount": 962818, "tax_amount": 6400, "currency": "Yen", "subtotal_amount": 648726, "total_amount": 210702, "product_id": "", "product_price_id": "", "discount_id": "", "allow_discount_codes": true, "is_discount_applicable": false, "is_free_product_price": false, "is_payment_required": false, "is_payment_setup_required": false, "is_payment_form_required": false, "customer_id": "", "customer_name": "", "customer_email": "Ryley_Erdman@hotmail.com", "customer_ip_address": "", "customer_billing_address": {"country": "South Africa"}, "customer_tax_id": "", "metadata": {"key": 18677, "key1": 95370}, "product": {"created_at": "2022-04-02T00:05:42.586Z", "modified_at": "2023-12-16T03:02:38.803Z", "id": "", "name": "", "description": "for embarrassment untidy long-term near honestly separate yet", "is_recurring": true, "is_archived": false, "organization_id": "", "prices": [{"created_at": "2022-09-05T11:14:58.018Z", "modified_at": "2024-09-29T09:02:41.206Z", "id": "", "is_archived": false, "product_id": "", "price_currency": "", "price_amount": 640992}], "benefits": [{"created_at": "2023-08-22T00:47:02.059Z", "modified_at": "2023-06-04T10:32:44.101Z", "id": "", "type": "license_keys", "description": "within jacket unless", "selectable": false, "deletable": false, "organization_id": ""}], "medias": [{"id": "", "organization_id": "", "name": "", "path": "/private/var", "mime_type": "", "size": 245189, "storage_version": "", "checksum_etag": "", "checksum_sha256_base64": "", "checksum_sha256_hex": "", "last_modified_at": "2022-11-03T15:00:03.276Z", "version": "", "is_uploaded": false, "created_at": "2024-06-07T13:47:02.365Z", "size_readable": "", "public_url": "https://webbed-experience.name/"}]}, "product_price": {"created_at": "2023-09-24T13:56:02.770Z", "modified_at": "2024-10-05T11:55:07.194Z", "id": "", "is_archived": true, "product_id": "", "price_currency": "", "price_amount": 659274}, "discount": {"duration": "repeating", "type": "fixed", "basis_points": 341163, "id": "", "name": "", "code": ""}, "subscription_id": "", "attached_custom_fields": [{"custom_field_id": "", "custom_field": {"created_at": "2022-06-04T22:52:20.747Z", "modified_at": "2022-10-05T05:32:28.211Z", "id": "", "metadata": {}, "slug": "", "name": "", "organization_id": ""}, "order": 996863, "required": false}, {"custom_field_id": "", "custom_field": {"created_at": "2024-10-25T18:55:34.184Z", "modified_at": "2024-03-12T22:11:16.367Z", "id": "", "metadata": {"key": false}, "slug": "", "name": "", "organization_id": "", "properties": {"options": [{"value": "", "label": ""}, {"value": "", "label": ""}, {"value": "", "label": ""}]}}, "order": 72589, "required": true}, {"custom_field_id": "", "custom_field": {"created_at": "2024-01-25T11:40:59.444Z", "modified_at": "2024-03-11T01:07:03.723Z", "id": "", "metadata": {}, "slug": "", "name": "", "organization_id": ""}, "order": 161325, "required": true}]}}
+ application/json: {"data": {"created_at": "2024-11-12T14:26:42.882Z", "modified_at": "2023-05-28T05:08:06.235Z", "id": "", "status": "failed", "client_secret": "", "url": "https://heavy-beret.com/", "expires_at": "2022-02-25T02:26:48.460Z", "success_url": "https://sardonic-final.info/", "embed_origin": "", "amount": 962818, "tax_amount": 6400, "currency": "Yen", "subtotal_amount": 648726, "total_amount": 210702, "product_id": "", "product_price_id": "", "discount_id": "", "allow_discount_codes": true, "is_discount_applicable": false, "is_free_product_price": false, "is_payment_required": false, "is_payment_setup_required": false, "is_payment_form_required": false, "customer_id": "", "customer_name": "", "customer_email": "Ryley_Erdman@hotmail.com", "customer_ip_address": "", "customer_billing_address": {"country": "South Africa"}, "customer_tax_id": "", "metadata": {"key": 18677, "key1": 95370}, "product": {"created_at": "2022-04-02T00:05:42.586Z", "modified_at": "2023-12-16T03:02:38.803Z", "id": "", "name": "", "description": "for embarrassment untidy long-term near honestly separate yet", "is_recurring": true, "is_archived": false, "organization_id": "", "prices": [{"created_at": "2024-11-19T15:59:15.588Z", "modified_at": "2022-11-17T00:11:23.972Z", "id": "", "is_archived": true, "product_id": "", "price_currency": "", "minimum_amount": 75876, "maximum_amount": 82334, "preset_amount": 50275}], "benefits": [{"created_at": "2023-08-22T00:47:02.059Z", "modified_at": "2023-06-04T10:32:44.101Z", "id": "", "type": "license_keys", "description": "within jacket unless", "selectable": false, "deletable": false, "organization_id": ""}], "medias": [{"id": "", "organization_id": "", "name": "", "path": "/private/var", "mime_type": "", "size": 245189, "storage_version": "", "checksum_etag": "", "checksum_sha256_base64": "", "checksum_sha256_hex": "", "last_modified_at": "2022-11-03T15:00:03.276Z", "version": "", "is_uploaded": false, "created_at": "2024-06-07T13:47:02.365Z", "size_readable": "", "public_url": "https://webbed-experience.name/"}]}, "product_price": {"created_at": "2022-12-28T20:59:29.904Z", "modified_at": "2023-04-04T00:20:23.805Z", "id": "", "is_archived": false, "product_id": "", "recurring_interval": "month"}, "discount": {"duration": "repeating", "type": "fixed", "basis_points": 341163, "id": "", "name": "", "code": ""}, "subscription_id": "", "attached_custom_fields": [{"custom_field_id": "", "custom_field": {"created_at": "2023-12-13T00:05:03.649Z", "modified_at": "2022-08-19T22:18:44.316Z", "id": "", "metadata": {"key": false}, "slug": "", "name": "", "organization_id": ""}, "order": 996863, "required": false}, {"custom_field_id": "", "custom_field": {"created_at": "2024-01-25T18:08:49.597Z", "modified_at": "2024-07-22T12:18:02.066Z", "id": "", "metadata": {"key": true, "key1": "", "key2": 385218}, "slug": "", "name": "", "organization_id": ""}, "order": 72589, "required": true}, {"custom_field_id": "", "custom_field": {"created_at": "2024-06-25T22:47:14.264Z", "modified_at": "2024-01-28T19:10:37.564Z", "id": "", "metadata": {"key": ""}, "slug": "", "name": "", "organization_id": ""}, "order": 161325, "required": true}], "customer_metadata": {"key": "", "key1": ""}}}
responses:
"200":
application/json: ""
- "422": {}
+ "422":
+ application/json: {}
_endpointcheckout_updated_post:
speakeasy-default-endpointcheckout-updated-post:
requestBody:
- application/json: {"data": {"created_at": "2024-10-04T13:06:10.658Z", "modified_at": "2023-10-03T21:25:15.366Z", "id": "", "status": "failed", "client_secret": "", "url": "https://square-cafe.biz/", "expires_at": "2024-03-25T08:55:11.873Z", "success_url": "https://physical-import.name/", "embed_origin": "", "amount": 245418, "tax_amount": 624213, "currency": "Naira", "subtotal_amount": 24587, "total_amount": 447013, "product_id": "", "product_price_id": "", "discount_id": "", "allow_discount_codes": true, "is_discount_applicable": true, "is_free_product_price": true, "is_payment_required": false, "is_payment_setup_required": false, "is_payment_form_required": true, "customer_id": "", "customer_name": "", "customer_email": "Jairo39@hotmail.com", "customer_ip_address": "", "customer_billing_address": {"country": "Greenland"}, "customer_tax_id": "", "metadata": {}, "product": {"created_at": "2024-01-25T14:28:29.444Z", "modified_at": "2024-09-21T12:18:51.327Z", "id": "", "name": "", "description": "engender reopen yahoo draft", "is_recurring": false, "is_archived": true, "organization_id": "", "prices": [{"created_at": "2022-05-03T10:56:45.069Z", "modified_at": "2022-10-18T05:55:05.359Z", "id": "", "is_archived": false, "product_id": "", "recurring_interval": "year"}], "benefits": [{"created_at": "2024-04-09T09:30:36.910Z", "modified_at": "2022-10-16T19:52:50.377Z", "id": "", "type": "github_repository", "description": "posh hm meatloaf politely ugh fidget to inborn putrid", "selectable": false, "deletable": true, "organization_id": ""}, {"created_at": "2023-12-31T03:17:46.406Z", "modified_at": "2022-11-12T16:32:46.306Z", "id": "", "type": "license_keys", "description": "blah likewise whose notwithstanding airline aboard frightened enfold colorfully", "selectable": true, "deletable": true, "organization_id": ""}], "medias": [{"id": "", "organization_id": "", "name": "", "path": "/home/user", "mime_type": "", "size": 767806, "storage_version": "", "checksum_etag": "", "checksum_sha256_base64": "", "checksum_sha256_hex": "", "last_modified_at": "2023-01-15T18:22:33.094Z", "version": "", "is_uploaded": false, "created_at": "2023-02-14T06:20:54.950Z", "size_readable": "", "public_url": "https://pushy-tomatillo.org/"}, {"id": "", "organization_id": "", "name": "", "path": "/private", "mime_type": "", "size": 432333, "storage_version": "", "checksum_etag": "", "checksum_sha256_base64": "", "checksum_sha256_hex": "", "last_modified_at": "2023-03-08T18:51:14.729Z", "version": "", "is_uploaded": false, "created_at": "2022-11-18T09:33:10.032Z", "size_readable": "", "public_url": "https://affectionate-charm.net"}]}, "product_price": {"created_at": "2024-02-13T15:09:51.656Z", "modified_at": "2022-01-13T15:01:23.486Z", "id": "", "is_archived": false, "product_id": "", "price_currency": "", "price_amount": 376972}, "discount": {"duration": "once", "type": "percentage", "amount": 883154, "currency": "East Caribbean Dollar", "id": "", "name": "", "code": ""}, "subscription_id": "", "attached_custom_fields": [{"custom_field_id": "", "custom_field": {"created_at": "2023-11-20T06:42:52.884Z", "modified_at": "2024-06-16T13:15:22.449Z", "id": "", "metadata": {}, "slug": "", "name": "", "organization_id": ""}, "order": 108303, "required": false}]}}
+ application/json: {"data": {"created_at": "2024-10-04T13:06:10.658Z", "modified_at": "2023-10-03T21:25:15.366Z", "id": "", "status": "failed", "client_secret": "", "url": "https://square-cafe.biz/", "expires_at": "2024-03-25T08:55:11.873Z", "success_url": "https://physical-import.name/", "embed_origin": "", "amount": 245418, "tax_amount": 624213, "currency": "Naira", "subtotal_amount": 24587, "total_amount": 447013, "product_id": "", "product_price_id": "", "discount_id": "", "allow_discount_codes": true, "is_discount_applicable": true, "is_free_product_price": true, "is_payment_required": false, "is_payment_setup_required": false, "is_payment_form_required": true, "customer_id": "", "customer_name": "", "customer_email": "Jairo39@hotmail.com", "customer_ip_address": "", "customer_billing_address": {"country": "Greenland"}, "customer_tax_id": "", "metadata": {}, "product": {"created_at": "2024-01-25T14:28:29.444Z", "modified_at": "2024-09-21T12:18:51.327Z", "id": "", "name": "", "description": "engender reopen yahoo draft", "is_recurring": false, "is_archived": true, "organization_id": "", "prices": [{"created_at": "2024-10-20T04:48:05.954Z", "modified_at": "2023-03-13T21:45:21.173Z", "id": "", "is_archived": false, "product_id": "", "price_currency": "", "minimum_amount": 108579, "maximum_amount": 316079, "preset_amount": 743040}], "benefits": [{"created_at": "2024-04-09T09:30:36.910Z", "modified_at": "2022-10-16T19:52:50.377Z", "id": "", "type": "github_repository", "description": "posh hm meatloaf politely ugh fidget to inborn putrid", "selectable": false, "deletable": true, "organization_id": ""}, {"created_at": "2023-12-31T03:17:46.406Z", "modified_at": "2022-11-12T16:32:46.306Z", "id": "", "type": "license_keys", "description": "blah likewise whose notwithstanding airline aboard frightened enfold colorfully", "selectable": true, "deletable": true, "organization_id": ""}], "medias": [{"id": "", "organization_id": "", "name": "", "path": "/home/user", "mime_type": "", "size": 767806, "storage_version": "", "checksum_etag": "", "checksum_sha256_base64": "", "checksum_sha256_hex": "", "last_modified_at": "2023-01-15T18:22:33.094Z", "version": "", "is_uploaded": false, "created_at": "2023-02-14T06:20:54.950Z", "size_readable": "", "public_url": "https://pushy-tomatillo.org/"}, {"id": "", "organization_id": "", "name": "", "path": "/private", "mime_type": "", "size": 432333, "storage_version": "", "checksum_etag": "", "checksum_sha256_base64": "", "checksum_sha256_hex": "", "last_modified_at": "2023-03-08T18:51:14.729Z", "version": "", "is_uploaded": false, "created_at": "2022-11-18T09:33:10.032Z", "size_readable": "", "public_url": "https://affectionate-charm.net"}]}, "product_price": {"created_at": "2023-05-16T07:46:47.748Z", "modified_at": "2023-10-04T07:55:07.025Z", "id": "", "is_archived": true, "product_id": "", "price_currency": "", "minimum_amount": 624213, "maximum_amount": 615580, "preset_amount": 24587, "recurring_interval": "month"}, "discount": {"duration": "once", "type": "percentage", "amount": 883154, "currency": "East Caribbean Dollar", "id": "", "name": "", "code": ""}, "subscription_id": "", "attached_custom_fields": [{"custom_field_id": "", "custom_field": {"created_at": "2023-04-19T00:52:44.462Z", "modified_at": "2022-09-21T13:33:23.592Z", "id": "", "metadata": {"key": 226088, "key1": true, "key2": ""}, "slug": "", "name": "", "organization_id": ""}, "order": 108303, "required": false}], "customer_metadata": {"key": 396660, "key1": true, "key2": ""}}}
responses:
"200":
application/json: ""
- "422": {}
+ "422":
+ application/json: {}
_endpointorder_created_post:
speakeasy-default-endpointorder-created-post:
requestBody:
- application/json: {"data": {"created_at": "2023-11-12T12:46:15.007Z", "modified_at": "2023-03-24T03:54:38.261Z", "id": "", "metadata": {"key": "", "key1": ""}, "amount": 485666, "tax_amount": 81588, "currency": "Metical", "billing_reason": "subscription_cycle", "billing_address": {"country": "Hungary"}, "customer_id": "", "product_id": "", "product_price_id": "", "discount_id": "", "subscription_id": "", "checkout_id": "", "customer": {"created_at": "2022-09-09T08:07:10.665Z", "modified_at": "2023-08-19T18:18:41.438Z", "id": "", "metadata": {"key": false, "key1": "", "key2": ""}, "email": "Gia.Boyer87@yahoo.com", "email_verified": false, "name": "", "billing_address": {"country": "Reunion"}, "tax_id": ["", "my_sst", "br_cpf"], "organization_id": "", "avatar_url": "https://darling-kit.org"}, "user_id": "", "user": {"id": "", "email": "Delphine_Weber@hotmail.com", "public_name": ""}, "product": {"created_at": "2024-12-27T14:05:37.748Z", "modified_at": "2024-01-02T22:00:53.940Z", "id": "", "name": "", "description": "circle colorize given", "is_recurring": true, "is_archived": true, "organization_id": ""}, "product_price": {"created_at": "2024-01-30T11:53:29.204Z", "modified_at": "2024-02-01T18:37:23.866Z", "id": "", "is_archived": false, "product_id": "", "price_currency": "", "minimum_amount": 498640, "maximum_amount": 732997, "preset_amount": 959813}, "discount": {"duration": "repeating", "type": "fixed", "amount": 228282, "currency": "Baht", "created_at": "2022-04-06T06:29:00.267Z", "modified_at": "2022-03-01T18:48:46.167Z", "id": "", "metadata": {"key": "", "key1": "", "key2": ""}, "name": "", "code": "", "starts_at": "2022-12-14T21:08:51.727Z", "ends_at": "2022-08-24T00:05:31.570Z", "max_redemptions": 133794, "redemptions_count": 558400, "organization_id": ""}, "subscription": {"metadata": {"key": 838937, "key1": true}, "created_at": "2024-05-09T06:10:47.548Z", "modified_at": "2024-02-14T18:51:37.875Z", "id": "", "amount": 420337, "currency": "New Zealand Dollar", "recurring_interval": "year", "status": "incomplete", "current_period_start": "2024-12-01T13:27:57.927Z", "current_period_end": "2022-06-23T18:54:19.334Z", "cancel_at_period_end": false, "started_at": "2023-11-16T11:53:36.436Z", "ended_at": "2024-11-18T03:47:21.756Z", "customer_id": "", "product_id": "", "price_id": "", "discount_id": "", "checkout_id": "", "user_id": "