From 827d8b0da459bda0b4e61cfe245a8444948c2e3b Mon Sep 17 00:00:00 2001 From: speakeasybot Date: Tue, 26 Nov 2024 15:21:44 +0000 Subject: [PATCH] ci: regenerated with OpenAPI Doc , Speakeasy CLI 1.446.1 --- .speakeasy/gen.lock | 20 +- .speakeasy/gen.yaml | 2 +- .speakeasy/workflow.lock | 14 +- RELEASES.md | 12 +- docs/models/components/address.md | 2 +- docs/models/components/assignee.md | 8 +- docs/models/components/author.md | 8 +- .../models/components/benefitadssubscriber.md | 24 +-- docs/models/components/benefitarticles.md | 7 +- .../components/benefitarticlessubscriber.md | 25 ++- docs/models/components/benefitbase.md | 9 +- .../components/benefitcustomsubscriber.md | 24 +-- .../components/benefitdiscordsubscriber.md | 24 +-- .../benefitdownloadablessubscriber.md | 24 +-- .../benefitgithubrepositorysubscriber.md | 24 +-- docs/models/components/benefitgrantads.md | 4 +- .../components/benefitgrantlicensekeys.md | 4 +- .../components/benefitgrantsubscriber.md | 4 +- docs/models/components/benefitgrantwebhook.md | 23 ++- .../benefitlicensekeyactivationproperties.md | 2 +- .../benefitlicensekeyexpirationproperties.md | 4 +- .../benefitlicensekeyssubscriber.md | 32 ++-- .../benefitlicensekeyssubscriberproperties.md | 8 +- docs/models/components/benefits.md | 15 +- docs/models/components/benefittype.md | 2 +- docs/models/components/checkout.md | 79 ++++---- docs/models/components/checkoutdiscount.md | 28 +-- ...heckoutdiscountfixedonceforeverduration.md | 6 +- .../checkoutdiscountfixedrepeatduration.md | 6 +- ...utdiscountpercentageonceforeverduration.md | 4 +- ...heckoutdiscountpercentagerepeatduration.md | 8 +- docs/models/components/checkoutlegacy.md | 41 ++-- .../models/components/checkoutlegacycreate.md | 2 +- docs/models/components/checkoutlink.md | 70 +++---- .../models/components/checkoutlinkdiscount.md | 78 ++++---- .../models/components/checkoutlinkmetadata.md | 2 +- .../checkoutlinkpricecreatemetadata.md | 2 +- docs/models/components/checkoutlinkproduct.md | 33 ++-- .../components/checkoutlinkproductbenefits.md | 14 +- .../checkoutlinkproductcreatemetadata.md | 2 +- .../components/checkoutlinksortproperty.md | 2 +- .../components/checkoutlinkupdatemetadata.md | 2 +- docs/models/components/checkoutmetadata.md | 2 +- .../components/checkoutpricecreatemetadata.md | 2 +- docs/models/components/checkoutproduct.md | 32 ++-- .../components/checkoutproductbenefits.md | 14 +- .../checkoutproductcreatemetadata.md | 2 +- docs/models/components/checkoutpublic.md | 102 +++++----- .../components/checkoutpublicdiscount.md | 26 +-- .../models/components/checkoutsortproperty.md | 2 +- docs/models/components/checkoutstatus.md | 2 +- .../components/checkoutupdatemetadata.md | 2 +- docs/models/components/currencyamount.md | 4 +- .../customfieldcreatecheckboxmetadata.md | 2 +- .../customfieldcreatedatemetadata.md | 2 +- .../customfieldcreatenumbermetadata.md | 2 +- .../customfieldcreateselectmetadata.md | 2 +- .../customfieldcreatetextmetadata.md | 2 +- .../components/customfieldsortproperty.md | 2 +- .../customfieldupdatecheckboxmetadata.md | 2 +- .../customfieldupdatedatemetadata.md | 2 +- .../customfieldupdatenumbermetadata.md | 2 +- .../customfieldupdateselectmetadata.md | 2 +- .../customfieldupdatetextmetadata.md | 2 +- docs/models/components/discount.md | 102 +++++----- docs/models/components/discountcreate.md | 22 +-- .../discountfixedonceforeverduration.md | 29 ++- .../discountfixedonceforeverdurationcreate.md | 4 +- ...tfixedonceforeverdurationcreatemetadata.md | 2 +- ...iscountfixedonceforeverdurationmetadata.md | 2 +- .../components/discountfixedrepeatduration.md | 30 +-- .../discountfixedrepeatdurationcreate.md | 4 +- ...scountfixedrepeatdurationcreatemetadata.md | 2 +- .../discountfixedrepeatdurationmetadata.md | 2 +- .../discountpercentageonceforeverduration.md | 24 +-- ...ountpercentageonceforeverdurationcreate.md | 6 +- ...entageonceforeverdurationcreatemetadata.md | 2 +- ...ntpercentageonceforeverdurationmetadata.md | 2 +- .../discountpercentagerepeatduration.md | 28 +-- .../discountpercentagerepeatdurationcreate.md | 6 +- ...tpercentagerepeatdurationcreatemetadata.md | 2 +- ...iscountpercentagerepeatdurationmetadata.md | 2 +- docs/models/components/discountproduct.md | 6 +- .../models/components/discountsortproperty.md | 2 +- .../components/discountupdatemetadata.md | 2 +- .../components/downloadablefilecreate.md | 8 +- .../models/components/downloadablefileread.md | 8 +- docs/models/components/filecreate.md | 24 +-- docs/models/components/fileread.md | 28 +-- docs/models/components/fileupload.md | 20 +- docs/models/components/fileuploadcompleted.md | 4 +- docs/models/components/interval.md | 2 +- docs/models/components/issue.md | 32 ++-- docs/models/components/label.md | 2 +- .../models/components/listresourcecheckout.md | 87 ++++----- .../components/listresourcecheckoutlink.md | 75 ++++---- .../components/listresourcecustomfield.md | 8 +- .../models/components/listresourcediscount.md | 32 ++-- .../models/components/listresourcefileread.md | 13 +- docs/models/components/listresourceorder.md | 66 ++++--- .../components/listresourceuserbenefit.md | 31 ++- .../components/listresourceuserorder.md | 92 +++++---- .../listresourceusersubscription.md | 80 ++++---- docs/models/components/loc.md | 2 +- docs/models/components/metric.md | 2 +- docs/models/components/metricperiod.md | 24 +-- docs/models/components/metrics.md | 36 ++-- .../models/components/metricsintervallimit.md | 2 +- .../components/metricsintervalslimits.md | 10 +- docs/models/components/metricslimits.md | 12 +- docs/models/components/metricsresponse.md | 52 ++--- docs/models/components/metrictype.md | 2 +- docs/models/components/order.md | 76 ++++---- docs/models/components/orderdiscount.md | 78 ++++---- docs/models/components/orderinvoice.md | 2 +- docs/models/components/ordermetadata.md | 2 +- docs/models/components/orderproduct.md | 6 +- docs/models/components/ordersortproperty.md | 2 +- docs/models/components/ordersubscription.md | 18 +- .../components/ordersubscriptionmetadata.md | 2 +- docs/models/components/orderuser.md | 4 +- docs/models/components/organization.md | 14 +- .../organizationavatarfilecreate.md | 8 +- .../components/organizationavatarfileread.md | 10 +- docs/models/components/pagination.md | 4 +- docs/models/components/pledge.md | 45 +++-- docs/models/components/pledger.md | 2 +- docs/models/components/pledgestate.md | 2 +- docs/models/components/pledgetype.md | 2 +- .../components/productmediafilecreate.md | 8 +- .../models/components/productmediafileread.md | 10 +- docs/models/components/productprice.md | 16 +- docs/models/components/productpriceonetime.md | 20 +- .../components/productpriceonetimecustom.md | 10 +- .../components/productpriceonetimefixed.md | 6 +- .../components/productpriceonetimefree.md | 4 +- .../components/productpricerecurring.md | 26 +-- .../components/productpricerecurringcustom.md | 12 +- .../components/productpricerecurringfixed.md | 8 +- .../components/productpricerecurringfree.md | 4 +- docs/models/components/productpricetype.md | 2 +- docs/models/components/reactions.md | 18 +- .../components/s3filecreatemultipart.md | 6 +- docs/models/components/s3filecreatepart.md | 6 +- .../components/s3fileuploadcompletedpart.md | 2 +- .../components/s3fileuploadmultipart.md | 12 +- docs/models/components/s3fileuploadpart.md | 10 +- .../subscriptionrecurringinterval.md | 2 +- docs/models/components/subscriptionstatus.md | 2 +- docs/models/components/userbenefit.md | 181 +++++++++--------- docs/models/components/userorder.md | 89 ++++----- docs/models/components/userorderinvoice.md | 2 +- docs/models/components/userorderproduct.md | 47 ++--- .../components/userordersortproperty.md | 2 +- .../components/userordersubscription.md | 18 +- docs/models/components/usersubscription.md | 74 +++---- .../components/usersubscriptionproduct.md | 43 ++--- .../usersubscriptionproductbenefits.md | 15 +- .../webhookbenefitcreatedpayload.md | 13 +- .../webhookbenefitgrantcreatedpayload.md | 28 +-- .../webhookbenefitgrantrevokedpayload.md | 18 +- .../webhookbenefitgrantupdatedpayload.md | 23 +-- .../webhookbenefitupdatedpayload.md | 12 +- .../webhookcheckoutcreatedpayload.md | 73 +++---- .../webhookcheckoutupdatedpayload.md | 86 +++++---- .../components/webhookordercreatedpayload.md | 73 +++---- .../webhookorganizationupdatedpayload.md | 14 +- .../components/webhookpledgecreatedpayload.md | 44 ++--- .../components/webhookpledgeupdatedpayload.md | 44 ++--- .../webhookproductcreatedpayload.md | 59 ++---- .../webhookproductupdatedpayload.md | 44 ++--- .../webhooksubscriptionactivepayload.md | 98 +++++----- .../webhooksubscriptioncanceledpayload.md | 92 +++++---- .../webhooksubscriptioncreatedpayload.md | 102 +++++----- .../webhooksubscriptionrevokedpayload.md | 95 +++++---- .../webhooksubscriptionupdatedpayload.md | 106 +++++----- .../operations/checkoutlinkslistresponse.md | 75 ++++---- .../operations/checkoutscustomlistresponse.md | 86 ++++----- .../operations/customfieldslistresponse.md | 19 +- .../operations/customfieldtypefilter.md | 2 +- .../operations/discountslistresponse.md | 31 ++- docs/models/operations/fileslistresponse.md | 14 +- .../filesupdateresponsefilesupdate.md | 28 +-- .../models/operations/filesuploadedrequest.md | 4 +- .../filesuploadedresponsefilesuploaded.md | 28 +-- .../operations/licensekeyslistresponse.md | 22 +-- ...ricsgetqueryparamproductpricetypefilter.md | 2 +- docs/models/operations/metricsgetrequest.md | 4 +- docs/models/operations/orderslistresponse.md | 69 +++---- docs/sdks/polar/README.md | 4 +- docs/sdks/users/README.md | 6 +- jsr.json | 2 +- package-lock.json | 4 +- package.json | 2 +- src/lib/config.ts | 6 +- src/models/components/order.ts | 12 ++ 196 files changed, 2179 insertions(+), 2148 deletions(-) diff --git a/.speakeasy/gen.lock b/.speakeasy/gen.lock index e9d47d43..2e9dd24a 100644 --- a/.speakeasy/gen.lock +++ b/.speakeasy/gen.lock @@ -1,12 +1,12 @@ lockVersion: 2.0.0 id: 983150e6-ebc8-43fe-9b18-750461aad344 management: - docChecksum: b52ac4d07e263f65f412298b605cb16c + docChecksum: 96c7c747483e700f5cb1e106bf2878a5 docVersion: 0.1.0 - speakeasyVersion: 1.445.0 - generationVersion: 2.461.4 - releaseVersion: 0.16.2 - configChecksum: 7ccaae524f464aa39a4d60933148f2d1 + speakeasyVersion: 1.446.1 + generationVersion: 2.462.1 + releaseVersion: 0.17.0 + configChecksum: ced11de86386bd95a1e2255eca533626 repoURL: https://github.com/polarsource/polar-js.git installationURL: https://github.com/polarsource/polar-js published: true @@ -14,7 +14,7 @@ features: typescript: additionalDependencies: 0.1.0 constsAndDefaults: 0.1.11 - core: 3.18.6 + core: 3.18.7 defaultEnabledRetries: 0.1.0 deprecations: 2.81.1 devContainers: 2.90.0 @@ -32,7 +32,6 @@ features: retries: 2.83.0 sdkHooks: 0.2.0 serverIDs: 2.81.2 - tests: 0.7.0 unions: 2.85.8 webhooks: 1.0.0 generatedFiles: @@ -1975,7 +1974,7 @@ examples: id: "" responses: "200": - application/json: {"created_at": "2024-02-07T13:54:48.780Z", "modified_at": "2022-04-09T17:04:24.706Z", "id": "", "metadata": {"key": "", "key1": ""}, "amount": 558834, "tax_amount": 844199, "currency": "Ouguiya", "billing_reason": "subscription_cycle", "user_id": "", "product_id": "", "product_price_id": "", "discount_id": "", "subscription_id": "", "checkout_id": "", "user": {"id": "", "email": "Jovanny_Block45@hotmail.com", "public_name": "", "github_username": "", "avatar_url": ""}, "product": {"created_at": "2024-03-16T20:58:20.526Z", "modified_at": "2023-05-10T02:28:23.859Z", "id": "", "name": "", "description": "Inverse demand-driven superstructure", "is_recurring": true, "is_archived": true, "organization_id": ""}, "product_price": {"created_at": "2023-08-20T11:11:04.610Z", "modified_at": "2023-07-26T06:33:15.810Z", "id": "", "is_archived": false, "product_id": "", "price_currency": "", "minimum_amount": 458049, "maximum_amount": 450824, "preset_amount": 262795}, "discount": {"duration": "repeating", "type": "fixed", "amount": 801373, "currency": "Taka", "created_at": "2022-08-30T01:43:46.030Z", "modified_at": "2022-12-10T13:21:20.945Z", "id": "", "metadata": {}, "name": "", "code": "", "starts_at": "2023-08-29T15:06:35.685Z", "ends_at": "2024-06-02T05:45:06.910Z", "max_redemptions": 380699, "redemptions_count": 746585, "organization_id": ""}, "subscription": {"metadata": {"key": "", "key1": "", "key2": ""}, "created_at": "2024-12-06T14:08:11.458Z", "modified_at": "2022-08-30T01:43:46.083Z", "id": "", "amount": 521235, "currency": "Bulgarian Lev", "recurring_interval": "year", "status": "trialing", "current_period_start": "2022-12-10T13:21:21.114Z", "current_period_end": "2023-09-21T05:37:11.740Z", "cancel_at_period_end": true, "started_at": "2023-01-14T09:14:56.629Z", "ended_at": "2023-08-29T15:06:35.313Z", "user_id": "", "product_id": "", "price_id": "", "discount_id": "", "checkout_id": ""}} + application/json: {"created_at": "2024-02-07T13:54:48.780Z", "modified_at": "2022-04-09T17:04:24.706Z", "id": "", "metadata": {"key": "", "key1": ""}, "amount": 558834, "tax_amount": 844199, "currency": "Ouguiya", "billing_reason": "subscription_cycle", "billing_address": {"country": "Peru"}, "user_id": "", "product_id": "", "product_price_id": "", "discount_id": "", "subscription_id": "", "checkout_id": "", "user": {"id": "", "email": "Jovanny_Block45@hotmail.com", "public_name": "", "github_username": "", "avatar_url": ""}, "product": {"created_at": "2024-03-16T20:58:20.526Z", "modified_at": "2023-05-10T02:28:23.859Z", "id": "", "name": "", "description": "Inverse demand-driven superstructure", "is_recurring": true, "is_archived": true, "organization_id": ""}, "product_price": {"created_at": "2023-07-26T06:33:15.810Z", "modified_at": "2024-11-29T01:50:48.954Z", "id": "", "is_archived": true, "product_id": "", "price_currency": "", "minimum_amount": 450824, "maximum_amount": 262795, "preset_amount": 213457}, "discount": {"duration": "repeating", "type": "fixed", "amount": 801373, "currency": "Taka", "created_at": "2022-08-30T01:43:46.030Z", "modified_at": "2022-12-10T13:21:20.945Z", "id": "", "metadata": {}, "name": "", "code": "", "starts_at": "2023-08-29T15:06:35.685Z", "ends_at": "2024-06-02T05:45:06.910Z", "max_redemptions": 380699, "redemptions_count": 746585, "organization_id": ""}, "subscription": {"metadata": {"key": "", "key1": "", "key2": ""}, "created_at": "2024-12-06T14:08:11.458Z", "modified_at": "2022-08-30T01:43:46.083Z", "id": "", "amount": 521235, "currency": "Bulgarian Lev", "recurring_interval": "year", "status": "trialing", "current_period_start": "2022-12-10T13:21:21.114Z", "current_period_end": "2023-09-21T05:37:11.740Z", "cancel_at_period_end": true, "started_at": "2023-01-14T09:14:56.629Z", "ended_at": "2023-08-29T15:06:35.313Z", "user_id": "", "product_id": "", "price_id": "", "discount_id": "", "checkout_id": ""}} "404": application/json: {"detail": ""} "422": {} @@ -2200,7 +2199,7 @@ examples: speakeasy-default-checkout-links:list: responses: "200": - application/json: {"items": [{"created_at": "2023-08-23T19:26:20.850Z", "modified_at": "2024-01-14T10:26:00.433Z", "id": "", "metadata": {}, "client_secret": "", "success_url": "https://crooked-overload.name/", "label": "", "allow_discount_codes": false, "product_id": "", "product_price_id": "", "discount_id": "", "product": {"created_at": "2023-08-23T19:26:20.850Z", "modified_at": "2024-01-14T10:26:00.433Z", "id": "", "name": "", "description": "bob inwardly beautifully comparison", "is_recurring": true, "is_archived": false, "organization_id": "", "prices": [], "benefits": [{"created_at": "2023-04-20T11:47:41.889Z", "modified_at": "2023-06-11T18:07:18.321Z", "id": "", "type": "custom", "description": "covenant safely briefly ugh fen phew reschedule", "selectable": false, "deletable": true, "organization_id": ""}], "medias": []}, "product_price": {"created_at": "2024-01-14T10:26:00.433Z", "modified_at": "2022-07-14T18:23:27.528Z", "id": "", "is_archived": true, "product_id": "", "price_currency": "", "minimum_amount": 152837, "maximum_amount": 635532, "preset_amount": 639387}, "discount": {"duration": "repeating", "type": "fixed", "amount": 68504, "currency": "Zloty", "created_at": "2023-07-13T19:57:33.016Z", "modified_at": "2023-11-26T18:23:24.264Z", "id": "", "metadata": {}, "name": "", "code": "", "starts_at": "2022-03-01T20:22:54.911Z", "ends_at": "2023-02-08T01:09:52.088Z", "max_redemptions": 485729, "redemptions_count": 73227, "organization_id": ""}, "url": "https://acidic-avalanche.info"}, {"created_at": "2023-06-17T08:36:51.636Z", "modified_at": "2022-03-22T06:10:55.267Z", "id": "", "metadata": {"key": "", "key1": "", "key2": ""}, "client_secret": "", "success_url": "https://ugly-jungle.com", "label": "", "allow_discount_codes": true, "product_id": "", "product_price_id": "", "discount_id": "", "product": {"created_at": "2022-07-23T04:36:11.110Z", "modified_at": "2022-08-16T08:48:23.679Z", "id": "", "name": "", "description": "meh yippee stigmatize minor", "is_recurring": false, "is_archived": true, "organization_id": "", "prices": [], "benefits": [], "medias": [{"id": "", "organization_id": "", "name": "", "path": "/usr/src", "mime_type": "", "size": 24548, "storage_version": "", "checksum_etag": "", "checksum_sha256_base64": "", "checksum_sha256_hex": "", "last_modified_at": "2023-07-28T09:20:59.531Z", "version": "", "is_uploaded": true, "created_at": "2023-11-13T05:16:04.525Z", "size_readable": "", "public_url": "https://fantastic-toothpick.net/"}]}, "product_price": {"created_at": "2024-08-18T13:00:42.665Z", "modified_at": "2023-06-22T03:00:04.393Z", "id": "", "is_archived": true, "product_id": "", "price_currency": "", "minimum_amount": 322596, "maximum_amount": 860596, "preset_amount": 18278}, "discount": {"duration": "forever", "duration_in_months": 913465, "type": "fixed", "basis_points": 75058, "created_at": "2024-09-10T04:30:13.188Z", "modified_at": "2022-05-29T14:05:29.727Z", "id": "", "metadata": {"key": 432930}, "name": "", "code": "", "starts_at": "2023-06-11T18:07:18.321Z", "ends_at": "2022-04-24T08:24:21.019Z", "max_redemptions": 523875, "redemptions_count": 841031, "organization_id": ""}, "url": "https://blue-technologist.com/"}, {"created_at": "2023-05-20T11:06:26.987Z", "modified_at": "2023-04-12T03:59:08.538Z", "id": "", "metadata": {"key": ""}, "client_secret": "", "success_url": "https://careless-lid.org/", "label": "", "allow_discount_codes": true, "product_id": "", "product_price_id": "", "discount_id": "", "product": {"created_at": "2022-06-09T01:19:27.771Z", "modified_at": "2023-09-20T19:57:30.820Z", "id": "", "name": "", "description": "early abseil noisily consequently husband since wonderfully ruin", "is_recurring": true, "is_archived": false, "organization_id": "", "prices": [{"created_at": "2022-12-03T21:35:05.453Z", "modified_at": "2023-03-06T16:40:09.484Z", "id": "", "is_archived": true, "product_id": "", "recurring_interval": "month"}], "benefits": [{"created_at": "2024-07-30T17:58:06.895Z", "modified_at": "2023-06-28T18:50:42.778Z", "id": "", "type": "license_keys", "description": "owlishly which wonderfully CD whoa soap", "selectable": false, "deletable": true, "organization_id": ""}, {"created_at": "2022-02-06T19:44:52.353Z", "modified_at": "2023-11-20T09:41:40.649Z", "id": "", "description": "worth reluctantly wound accompanist ajar though kindheartedly nor fooey a", "selectable": true, "deletable": false, "organization_id": "", "properties": {"paid_articles": false}}, {"created_at": "2023-08-28T04:17:07.015Z", "modified_at": "2022-04-26T06:24:09.264Z", "id": "", "type": "github_repository", "description": "stigmatize minor oh what steeple overheard swerve", "selectable": true, "deletable": true, "organization_id": ""}], "medias": [{"id": "", "organization_id": "", "name": "", "path": "/home/user", "mime_type": "", "size": 841910, "storage_version": "", "checksum_etag": "", "checksum_sha256_base64": "", "checksum_sha256_hex": "", "last_modified_at": "2022-06-11T03:56:34.876Z", "version": "", "is_uploaded": true, "created_at": "2023-02-18T08:06:39.496Z", "size_readable": "", "public_url": "https://illustrious-design.org"}, {"id": "", "organization_id": "", "name": "", "path": "/sbin", "mime_type": "", "size": 20448, "storage_version": "", "checksum_etag": "", "checksum_sha256_base64": "", "checksum_sha256_hex": "", "last_modified_at": "2023-03-08T00:48:20.677Z", "version": "", "is_uploaded": false, "created_at": "2023-11-05T15:24:52.551Z", "size_readable": "", "public_url": "https://shiny-lift.biz/"}]}, "product_price": {"created_at": "2023-09-11T20:37:54.376Z", "modified_at": "2024-10-04T22:19:43.532Z", "id": "", "is_archived": false, "product_id": "", "price_currency": "", "minimum_amount": 568383, "maximum_amount": 472871, "preset_amount": 580639}, "discount": {"duration": "forever", "type": "percentage", "amount": 65720, "currency": "Rial Omani", "created_at": "2023-03-24T19:09:17.797Z", "modified_at": "2022-09-28T14:04:50.967Z", "id": "", "metadata": {}, "name": "", "code": "", "starts_at": "2024-11-11T02:33:24.486Z", "ends_at": "2023-02-07T13:50:00.322Z", "max_redemptions": 939917, "redemptions_count": 910479, "organization_id": ""}, "url": "https://animated-ostrich.org"}], "pagination": {"total_count": 918561, "max_page": 84189}} + application/json: {"items": [{"created_at": "2023-08-23T19:26:20.850Z", "modified_at": "2024-01-14T10:26:00.433Z", "id": "", "metadata": {}, "client_secret": "", "success_url": "https://crooked-overload.name/", "label": "", "allow_discount_codes": false, "product_id": "", "product_price_id": "", "discount_id": "", "product": {"created_at": "2023-08-23T19:26:20.850Z", "modified_at": "2024-01-14T10:26:00.433Z", "id": "", "name": "", "description": "bob inwardly beautifully comparison", "is_recurring": true, "is_archived": false, "organization_id": "", "prices": [], "benefits": [{"created_at": "2023-04-20T11:47:41.889Z", "modified_at": "2023-06-11T18:07:18.321Z", "id": "", "type": "custom", "description": "covenant safely briefly ugh fen phew reschedule", "selectable": false, "deletable": true, "organization_id": ""}], "medias": []}, "product_price": {"created_at": "2024-01-14T10:26:00.433Z", "modified_at": "2022-07-14T18:23:27.528Z", "id": "", "is_archived": true, "product_id": "", "price_currency": "", "minimum_amount": 152837, "maximum_amount": 635532, "preset_amount": 639387}, "discount": {"duration": "repeating", "type": "fixed", "amount": 68504, "currency": "Zloty", "created_at": "2023-07-13T19:57:33.016Z", "modified_at": "2023-11-26T18:23:24.264Z", "id": "", "metadata": {}, "name": "", "code": "", "starts_at": "2022-03-01T20:22:54.911Z", "ends_at": "2023-02-08T01:09:52.088Z", "max_redemptions": 485729, "redemptions_count": 73227, "organization_id": ""}, "url": "https://acidic-avalanche.info"}, {"created_at": "2023-06-17T08:36:51.636Z", "modified_at": "2022-03-22T06:10:55.267Z", "id": "", "metadata": {"key": "", "key1": "", "key2": ""}, "client_secret": "", "success_url": "https://ugly-jungle.com", "label": "", "allow_discount_codes": true, "product_id": "", "product_price_id": "", "discount_id": "", "product": {"created_at": "2022-07-23T04:36:11.110Z", "modified_at": "2022-08-16T08:48:23.679Z", "id": "", "name": "", "description": "meh yippee stigmatize minor", "is_recurring": false, "is_archived": true, "organization_id": "", "prices": [], "benefits": [], "medias": [{"id": "", "organization_id": "", "name": "", "path": "/usr/src", "mime_type": "", "size": 24548, "storage_version": "", "checksum_etag": "", "checksum_sha256_base64": "", "checksum_sha256_hex": "", "last_modified_at": "2023-07-28T09:20:59.531Z", "version": "", "is_uploaded": true, "created_at": "2023-11-13T05:16:04.525Z", "size_readable": "", "public_url": "https://fantastic-toothpick.net/"}]}, "product_price": {"created_at": "2022-04-05T09:49:38.010Z", "modified_at": "2022-03-17T01:57:00.187Z", "id": "", "is_archived": false, "product_id": "", "recurring_interval": "year"}, "discount": {"duration": "once", "type": "fixed", "basis_points": 367745, "created_at": "2023-06-17T08:36:51.636Z", "modified_at": "2022-03-22T06:10:55.267Z", "id": "", "metadata": {"key": 876407, "key1": 51681, "key2": ""}, "name": "", "code": "", "starts_at": "2024-08-01T05:06:49.492Z", "ends_at": "2022-01-21T00:48:05.986Z", "max_redemptions": 897196, "redemptions_count": 424367, "organization_id": ""}, "url": "https://blue-technologist.com/"}, {"created_at": "2023-05-20T11:06:26.987Z", "modified_at": "2023-04-12T03:59:08.538Z", "id": "", "metadata": {"key": ""}, "client_secret": "", "success_url": "https://careless-lid.org/", "label": "", "allow_discount_codes": true, "product_id": "", "product_price_id": "", "discount_id": "", "product": {"created_at": "2022-06-09T01:19:27.771Z", "modified_at": "2023-09-20T19:57:30.820Z", "id": "", "name": "", "description": "early abseil noisily consequently husband since wonderfully ruin", "is_recurring": true, "is_archived": false, "organization_id": "", "prices": [{"created_at": "2022-03-24T06:20:14.879Z", "modified_at": "2024-09-10T04:30:13.188Z", "id": "", "is_archived": true, "product_id": "", "price_currency": "", "price_amount": 460276}], "benefits": [{"created_at": "2024-07-30T17:58:06.895Z", "modified_at": "2023-06-28T18:50:42.778Z", "id": "", "type": "license_keys", "description": "owlishly which wonderfully CD whoa soap", "selectable": false, "deletable": true, "organization_id": ""}, {"created_at": "2023-04-20T11:47:41.889Z", "modified_at": "2023-06-11T18:07:18.321Z", "id": "", "type": "custom", "description": "covenant safely briefly ugh fen phew reschedule", "selectable": false, "deletable": true, "organization_id": ""}, {"created_at": "2023-08-28T04:17:07.015Z", "modified_at": "2022-04-26T06:24:09.264Z", "id": "", "type": "github_repository", "description": "stigmatize minor oh what steeple overheard swerve", "selectable": true, "deletable": true, "organization_id": ""}], "medias": [{"id": "", "organization_id": "", "name": "", "path": "/home/user", "mime_type": "", "size": 841910, "storage_version": "", "checksum_etag": "", "checksum_sha256_base64": "", "checksum_sha256_hex": "", "last_modified_at": "2022-06-11T03:56:34.876Z", "version": "", "is_uploaded": true, "created_at": "2023-02-18T08:06:39.496Z", "size_readable": "", "public_url": "https://illustrious-design.org"}, {"id": "", "organization_id": "", "name": "", "path": "/sbin", "mime_type": "", "size": 20448, "storage_version": "", "checksum_etag": "", "checksum_sha256_base64": "", "checksum_sha256_hex": "", "last_modified_at": "2023-03-08T00:48:20.677Z", "version": "", "is_uploaded": false, "created_at": "2023-11-05T15:24:52.551Z", "size_readable": "", "public_url": "https://shiny-lift.biz/"}]}, "product_price": {"created_at": "2024-01-25T21:46:28.752Z", "modified_at": "2023-10-26T03:45:41.195Z", "id": "", "is_archived": true, "product_id": "", "price_currency": "", "minimum_amount": 41398, "maximum_amount": 829409, "preset_amount": 329360, "recurring_interval": "month"}, "discount": {"duration": "forever", "type": "percentage", "amount": 65720, "currency": "Rial Omani", "created_at": "2023-03-24T19:09:17.797Z", "modified_at": "2022-09-28T14:04:50.967Z", "id": "", "metadata": {}, "name": "", "code": "", "starts_at": "2024-11-11T02:33:24.486Z", "ends_at": "2023-02-07T13:50:00.322Z", "max_redemptions": 939917, "redemptions_count": 910479, "organization_id": ""}, "url": "https://animated-ostrich.org"}], "pagination": {"total_count": 918561, "max_page": 84189}} "422": {} checkout-links:create: speakeasy-default-checkout-links:create: @@ -2208,7 +2207,7 @@ examples: application/json: {"product_id": ""} responses: "201": - application/json: {"created_at": "2023-06-18T07:14:55.338Z", "modified_at": "2023-12-01T17:06:07.804Z", "id": "", "metadata": {"key": ""}, "client_secret": "", "success_url": "https://black-and-white-secrecy.org/", "label": "", "allow_discount_codes": false, "product_id": "", "product_price_id": "", "discount_id": "", "product": {"created_at": "2023-04-03T12:48:32.253Z", "modified_at": "2022-05-28T06:20:22.766Z", "id": "", "name": "", "description": "whereas geez pearl", "is_recurring": true, "is_archived": true, "organization_id": "", "prices": [{"created_at": "2022-05-28T06:20:22.766Z", "modified_at": "2022-03-17T15:39:20.911Z", "id": "", "is_archived": false, "product_id": "", "price_currency": "", "minimum_amount": 951062, "maximum_amount": 86, "preset_amount": 169727}, {"created_at": "2024-06-13T23:30:51.782Z", "modified_at": "2023-10-05T11:56:21.731Z", "id": "", "is_archived": false, "product_id": "", "recurring_interval": "year"}], "benefits": [{"created_at": "2024-02-10T23:17:39.957Z", "modified_at": "2024-10-06T09:49:26.161Z", "id": "", "type": "downloadables", "description": "major misjudge yuck forager beneath please shadowy foodstuffs welcome", "selectable": true, "deletable": true, "organization_id": ""}, {"created_at": "2022-10-12T13:17:54.745Z", "modified_at": "2022-01-20T11:09:16.789Z", "id": "", "type": "articles", "description": "incidentally although whenever lively", "selectable": true, "deletable": false, "organization_id": ""}, {"created_at": "2023-06-23T14:29:34.219Z", "modified_at": "2023-06-22T12:00:27.656Z", "id": "", "type": "ads", "description": "aha while till lazily than clear-cut whoever defiantly indolent apud", "selectable": false, "deletable": false, "organization_id": ""}], "medias": [{"id": "", "organization_id": "", "name": "", "path": "/media", "mime_type": "", "size": 455768, "storage_version": "", "checksum_etag": "", "checksum_sha256_base64": "", "checksum_sha256_hex": "", "last_modified_at": "2022-03-25T18:17:51.727Z", "version": "", "is_uploaded": true, "created_at": "2024-04-18T13:06:07.473Z", "size_readable": "", "public_url": "https://empty-crocodile.net/"}, {"id": "", "organization_id": "", "name": "", "path": "/etc", "mime_type": "", "size": 469637, "storage_version": "", "checksum_etag": "", "checksum_sha256_base64": "", "checksum_sha256_hex": "", "last_modified_at": "2022-04-17T03:46:14.915Z", "version": "", "is_uploaded": false, "created_at": "2024-06-08T10:10:45.569Z", "size_readable": "", "public_url": "https://frail-cash.net/"}, {"id": "", "organization_id": "", "name": "", "path": "/home/user", "mime_type": "", "size": 778234, "storage_version": "", "checksum_etag": "", "checksum_sha256_base64": "", "checksum_sha256_hex": "", "last_modified_at": "2023-03-19T20:27:20.803Z", "version": "", "is_uploaded": true, "created_at": "2024-11-04T15:57:11.475Z", "size_readable": "", "public_url": "https://gifted-verve.net/"}]}, "product_price": {"created_at": "2024-12-27T14:03:04.882Z", "modified_at": "2023-06-02T16:37:35.306Z", "id": "", "is_archived": true, "product_id": "", "recurring_interval": "year"}, "discount": {"duration": "once", "type": "percentage", "amount": 116971, "currency": "Iceland Krona", "created_at": "2023-11-21T10:52:58.426Z", "modified_at": "2024-05-10T02:31:33.292Z", "id": "", "metadata": {"key": true}, "name": "", "code": "", "starts_at": "2024-03-02T04:20:06.843Z", "ends_at": "2024-03-21T23:36:32.872Z", "max_redemptions": 842284, "redemptions_count": 466260, "organization_id": ""}, "url": "https://harmful-disposer.com"} + application/json: {"created_at": "2023-06-18T07:14:55.338Z", "modified_at": "2023-12-01T17:06:07.804Z", "id": "", "metadata": {"key": ""}, "client_secret": "", "success_url": "https://black-and-white-secrecy.org/", "label": "", "allow_discount_codes": false, "product_id": "", "product_price_id": "", "discount_id": "", "product": {"created_at": "2023-04-03T12:48:32.253Z", "modified_at": "2022-05-28T06:20:22.766Z", "id": "", "name": "", "description": "whereas geez pearl", "is_recurring": true, "is_archived": true, "organization_id": "", "prices": [{"created_at": "2022-05-28T06:20:22.766Z", "modified_at": "2022-03-17T15:39:20.911Z", "id": "", "is_archived": false, "product_id": "", "price_currency": "", "minimum_amount": 951062, "maximum_amount": 86, "preset_amount": 169727}, {"created_at": "2024-06-13T23:30:51.782Z", "modified_at": "2023-10-05T11:56:21.731Z", "id": "", "is_archived": false, "product_id": "", "recurring_interval": "year"}], "benefits": [{"created_at": "2024-02-10T23:17:39.957Z", "modified_at": "2024-10-06T09:49:26.161Z", "id": "", "type": "downloadables", "description": "major misjudge yuck forager beneath please shadowy foodstuffs welcome", "selectable": true, "deletable": true, "organization_id": ""}, {"created_at": "2022-10-12T13:17:54.745Z", "modified_at": "2022-01-20T11:09:16.789Z", "id": "", "type": "articles", "description": "incidentally although whenever lively", "selectable": true, "deletable": false, "organization_id": ""}, {"created_at": "2023-06-23T14:29:34.219Z", "modified_at": "2023-06-22T12:00:27.656Z", "id": "", "type": "ads", "description": "aha while till lazily than clear-cut whoever defiantly indolent apud", "selectable": false, "deletable": false, "organization_id": ""}], "medias": [{"id": "", "organization_id": "", "name": "", "path": "/media", "mime_type": "", "size": 455768, "storage_version": "", "checksum_etag": "", "checksum_sha256_base64": "", "checksum_sha256_hex": "", "last_modified_at": "2022-03-25T18:17:51.727Z", "version": "", "is_uploaded": true, "created_at": "2024-04-18T13:06:07.473Z", "size_readable": "", "public_url": "https://empty-crocodile.net/"}, {"id": "", "organization_id": "", "name": "", "path": "/etc", "mime_type": "", "size": 469637, "storage_version": "", "checksum_etag": "", "checksum_sha256_base64": "", "checksum_sha256_hex": "", "last_modified_at": "2022-04-17T03:46:14.915Z", "version": "", "is_uploaded": false, "created_at": "2024-06-08T10:10:45.569Z", "size_readable": "", "public_url": "https://frail-cash.net/"}, {"id": "", "organization_id": "", "name": "", "path": "/home/user", "mime_type": "", "size": 778234, "storage_version": "", "checksum_etag": "", "checksum_sha256_base64": "", "checksum_sha256_hex": "", "last_modified_at": "2023-03-19T20:27:20.803Z", "version": "", "is_uploaded": true, "created_at": "2024-11-04T15:57:11.475Z", "size_readable": "", "public_url": "https://gifted-verve.net/"}]}, "product_price": {"created_at": "2022-01-20T11:09:16.789Z", "modified_at": "2022-09-10T10:08:53.440Z", "id": "", "is_archived": true, "product_id": "", "price_currency": "", "price_amount": 64738, "recurring_interval": "month"}, "discount": {"duration": "once", "type": "fixed", "amount": 651985, "currency": "Hong Kong Dollar", "created_at": "2022-02-10T00:39:42.298Z", "modified_at": "2023-11-13T07:30:44.053Z", "id": "", "metadata": {"key": "", "key1": ""}, "name": "", "code": "", "starts_at": "2023-07-28T18:44:31.482Z", "ends_at": "2022-01-31T06:30:36.486Z", "max_redemptions": 659682, "redemptions_count": 550483, "organization_id": ""}, "url": "https://harmful-disposer.com"} "422": {} checkout-links:get: speakeasy-default-checkout-links:get: @@ -2336,3 +2335,4 @@ examples: "404": application/json: {"detail": ""} "422": {} +generatedTests: {} diff --git a/.speakeasy/gen.yaml b/.speakeasy/gen.yaml index 94434400..1eb27c52 100644 --- a/.speakeasy/gen.yaml +++ b/.speakeasy/gen.yaml @@ -16,7 +16,7 @@ generation: oAuth2ClientCredentialsEnabled: true oAuth2PasswordEnabled: false typescript: - version: 0.16.2 + version: 0.17.0 additionalDependencies: dependencies: {} devDependencies: {} diff --git a/.speakeasy/workflow.lock b/.speakeasy/workflow.lock index 72430fa2..9e027683 100644 --- a/.speakeasy/workflow.lock +++ b/.speakeasy/workflow.lock @@ -1,21 +1,21 @@ -speakeasyVersion: 1.445.0 +speakeasyVersion: 1.446.1 sources: Polar-OAS: sourceNamespace: polar-oas - sourceRevisionDigest: sha256:55e0cd84176c30614ad7bcb43e73aef3c81cdd7b09497d1bfc50a0dd5cb3fc33 - sourceBlobDigest: sha256:675cfde1ed410fd61f558ed9d9904661ffb72949527c537a4848b6dff8fa8aa9 + sourceRevisionDigest: sha256:3fe7a7e92f576faccdb78550cec268991b179c833fe35e4b00ada1ef1af5730c + sourceBlobDigest: sha256:3defd416a4202fbf16d78eb0e511f678dbb85e09c9df9dbd75aefd6f66e19dda tags: - latest - - speakeasy-sdk-regen-1732548634 + - speakeasy-sdk-regen-1732634419 - 0.1.0 targets: polar: source: Polar-OAS sourceNamespace: polar-oas - sourceRevisionDigest: sha256:55e0cd84176c30614ad7bcb43e73aef3c81cdd7b09497d1bfc50a0dd5cb3fc33 - sourceBlobDigest: sha256:675cfde1ed410fd61f558ed9d9904661ffb72949527c537a4848b6dff8fa8aa9 + sourceRevisionDigest: sha256:3fe7a7e92f576faccdb78550cec268991b179c833fe35e4b00ada1ef1af5730c + sourceBlobDigest: sha256:3defd416a4202fbf16d78eb0e511f678dbb85e09c9df9dbd75aefd6f66e19dda codeSamplesNamespace: polar-oas-code-samples - codeSamplesRevisionDigest: sha256:7873f2d077a9d5a713fd2c7aba5102e48bd1173987a444b369e26d2dca5b8dab + codeSamplesRevisionDigest: sha256:27cd847707e013c1441475253e6bf02d474ecbce2d8484123e71ec10db963677 workflow: workflowVersion: 1.0.0 speakeasyVersion: latest diff --git a/RELEASES.md b/RELEASES.md index 1d3f6ee9..70734d6e 100644 --- a/RELEASES.md +++ b/RELEASES.md @@ -228,4 +228,14 @@ Based on: ### Generated - [typescript v0.16.2] . ### Releases -- [NPM v0.16.2] https://www.npmjs.com/package/@polar-sh/sdk/v/0.16.2 - . \ No newline at end of file +- [NPM v0.16.2] https://www.npmjs.com/package/@polar-sh/sdk/v/0.16.2 - . + +## 2024-11-26 15:20:15 +### Changes +Based on: +- OpenAPI Doc +- Speakeasy CLI 1.446.1 (2.462.1) https://github.com/speakeasy-api/speakeasy +### Generated +- [typescript v0.17.0] . +### Releases +- [NPM v0.17.0] https://www.npmjs.com/package/@polar-sh/sdk/v/0.17.0 - . \ No newline at end of file diff --git a/docs/models/components/address.md b/docs/models/components/address.md index fa63f760..9c94472e 100644 --- a/docs/models/components/address.md +++ b/docs/models/components/address.md @@ -6,7 +6,7 @@ import { Address } from "@polar-sh/sdk/models/components"; let value: Address = { - country: "Indonesia", + country: "Israel", }; ``` diff --git a/docs/models/components/assignee.md b/docs/models/components/assignee.md index 4bc06e0c..ab569917 100644 --- a/docs/models/components/assignee.md +++ b/docs/models/components/assignee.md @@ -6,10 +6,10 @@ import { Assignee } from "@polar-sh/sdk/models/components"; let value: Assignee = { - id: 131629, - login: "Bradly_Brakus", - htmlUrl: "https://pleasant-design.info/", - avatarUrl: "https://profitable-skyline.org/", + id: 87513, + login: "Shane_Schmitt81", + htmlUrl: "https://subdued-reboot.net/", + avatarUrl: "https://biodegradable-soliloquy.com", }; ``` diff --git a/docs/models/components/author.md b/docs/models/components/author.md index 45f7b83a..2049f705 100644 --- a/docs/models/components/author.md +++ b/docs/models/components/author.md @@ -6,10 +6,10 @@ import { Author } from "@polar-sh/sdk/models/components"; let value: Author = { - id: 771809, - login: "Kasandra55", - htmlUrl: "https://proper-fen.info/", - avatarUrl: "https://that-creator.org/", + id: 822406, + login: "Emile49", + htmlUrl: "https://yellow-safe.net", + avatarUrl: "https://cloudy-glider.org/", }; ``` diff --git a/docs/models/components/benefitadssubscriber.md b/docs/models/components/benefitadssubscriber.md index b11a6ca3..91f579c1 100644 --- a/docs/models/components/benefitadssubscriber.md +++ b/docs/models/components/benefitadssubscriber.md @@ -6,17 +6,17 @@ import { BenefitAdsSubscriber } from "@polar-sh/sdk/models/components"; let value: BenefitAdsSubscriber = { - createdAt: new Date("2022-12-27T14:26:27.740Z"), - modifiedAt: new Date("2022-05-04T07:32:27.021Z"), + createdAt: new Date("2024-09-23T21:39:45.895Z"), + modifiedAt: new Date("2024-04-13T23:48:55.441Z"), id: "", - description: "clinch capitalise less verify past meh viability", + description: "ah versus alongside", selectable: false, deletable: false, organizationId: "", grants: [ { - createdAt: new Date("2024-04-24T22:48:28.937Z"), - modifiedAt: new Date("2023-01-26T13:27:14.904Z"), + createdAt: new Date("2024-09-26T01:18:50.162Z"), + modifiedAt: new Date("2023-02-09T06:12:33.108Z"), id: "", isGranted: false, isRevoked: false, @@ -28,21 +28,21 @@ let value: BenefitAdsSubscriber = { }, ], organization: { - createdAt: new Date("2022-01-20T10:50:32.334Z"), - modifiedAt: new Date("2023-12-22T15:24:11.981Z"), + createdAt: new Date("2023-06-04T12:09:50.425Z"), + modifiedAt: new Date("2023-04-15T14:47:40.530Z"), id: "", name: "", slug: "", - avatarUrl: "https://clueless-trench.org/", + avatarUrl: "https://experienced-remark.com/", bio: "", - company: "Gutkowski - Cummerata", + company: "Bailey - Stiedemann", blog: "", location: "", - email: "Samir73@yahoo.com", + email: "Cecelia_Wisoky92@yahoo.com", twitterUsername: "", - pledgeMinimumAmount: 281416, + pledgeMinimumAmount: 589014, pledgeBadgeShowAmount: false, - defaultUpfrontSplitToContributors: 690654, + defaultUpfrontSplitToContributors: 256632, profileSettings: {}, featureSettings: {}, }, diff --git a/docs/models/components/benefitarticles.md b/docs/models/components/benefitarticles.md index ff4de63c..1d50d66c 100644 --- a/docs/models/components/benefitarticles.md +++ b/docs/models/components/benefitarticles.md @@ -10,10 +10,11 @@ Use it to grant access to posts. import { BenefitArticles } from "@polar-sh/sdk/models/components"; let value: BenefitArticles = { - createdAt: new Date("2023-09-09T07:25:52.501Z"), - modifiedAt: new Date("2022-06-04T16:14:49.332Z"), + createdAt: new Date("2022-02-27T21:22:28.511Z"), + modifiedAt: new Date("2022-01-01T01:54:20.575Z"), id: "", - description: "boo preside huzzah", + description: + "yum underneath off plain hmph however parody amidst before misappropriate", selectable: false, deletable: false, organizationId: "", diff --git a/docs/models/components/benefitarticlessubscriber.md b/docs/models/components/benefitarticlessubscriber.md index a79baa2d..e8734f97 100644 --- a/docs/models/components/benefitarticlessubscriber.md +++ b/docs/models/components/benefitarticlessubscriber.md @@ -6,18 +6,17 @@ import { BenefitArticlesSubscriber } from "@polar-sh/sdk/models/components"; let value: BenefitArticlesSubscriber = { - createdAt: new Date("2023-09-28T18:25:52.569Z"), - modifiedAt: new Date("2024-01-31T04:14:13.740Z"), + createdAt: new Date("2024-08-24T11:34:16.158Z"), + modifiedAt: new Date("2023-02-09T14:24:57.874Z"), id: "", - description: - "middle accurate repeatedly supposing ferociously where loyally beyond", + description: "unless hmph towards yet whoa premise customise gah", selectable: false, deletable: false, organizationId: "", grants: [ { - createdAt: new Date("2022-05-09T00:29:29.459Z"), - modifiedAt: new Date("2023-04-20T03:01:19.557Z"), + createdAt: new Date("2024-08-06T23:09:15.332Z"), + modifiedAt: new Date("2024-02-08T20:24:45.233Z"), id: "", isGranted: false, isRevoked: false, @@ -28,21 +27,21 @@ let value: BenefitArticlesSubscriber = { }, ], organization: { - createdAt: new Date("2023-12-25T03:29:06.681Z"), - modifiedAt: new Date("2022-04-14T13:23:36.206Z"), + createdAt: new Date("2024-07-16T13:54:19.093Z"), + modifiedAt: new Date("2022-09-08T09:58:53.295Z"), id: "", name: "", slug: "", - avatarUrl: "https://tasty-partridge.biz/", + avatarUrl: "https://urban-earth.net", bio: "", - company: "Turner - Grant", + company: "Greenfelder and Sons", blog: "", location: "", - email: "Zula43@gmail.com", + email: "Bernadette94@yahoo.com", twitterUsername: "", - pledgeMinimumAmount: 134205, + pledgeMinimumAmount: 930942, pledgeBadgeShowAmount: false, - defaultUpfrontSplitToContributors: 91136, + defaultUpfrontSplitToContributors: 475060, profileSettings: {}, featureSettings: {}, }, diff --git a/docs/models/components/benefitbase.md b/docs/models/components/benefitbase.md index 9d0ea9a3..b3d51a97 100644 --- a/docs/models/components/benefitbase.md +++ b/docs/models/components/benefitbase.md @@ -6,12 +6,11 @@ import { BenefitBase } from "@polar-sh/sdk/models/components"; let value: BenefitBase = { - createdAt: new Date("2022-07-31T03:27:33.648Z"), - modifiedAt: new Date("2023-04-05T23:19:54.974Z"), + createdAt: new Date("2024-01-12T01:11:19.363Z"), + modifiedAt: new Date("2022-11-01T22:35:54.505Z"), id: "", - type: "github_repository", - description: - "overplay wherever curl under yum underneath off plain hmph however", + type: "ads", + description: "alongside judgementally furthermore meh", selectable: false, deletable: false, organizationId: "", diff --git a/docs/models/components/benefitcustomsubscriber.md b/docs/models/components/benefitcustomsubscriber.md index dbdfe2c2..a580f085 100644 --- a/docs/models/components/benefitcustomsubscriber.md +++ b/docs/models/components/benefitcustomsubscriber.md @@ -6,18 +6,18 @@ import { BenefitCustomSubscriber } from "@polar-sh/sdk/models/components"; let value: BenefitCustomSubscriber = { - createdAt: new Date("2023-04-26T00:36:10.844Z"), - modifiedAt: new Date("2023-02-13T12:28:03.035Z"), + createdAt: new Date("2024-08-22T03:08:35.867Z"), + modifiedAt: new Date("2022-11-09T06:43:16.309Z"), id: "", description: - "alongside ouch whenever since ah especially gladly although syringe but", + "spanish questioningly in prickly meh as pfft grandson inexperienced pike", selectable: false, deletable: false, organizationId: "", grants: [ { - createdAt: new Date("2024-07-20T05:47:38.512Z"), - modifiedAt: new Date("2023-01-20T17:37:00.236Z"), + createdAt: new Date("2024-05-09T08:31:13.630Z"), + modifiedAt: new Date("2023-03-27T19:49:06.695Z"), id: "", isGranted: false, isRevoked: false, @@ -28,21 +28,21 @@ let value: BenefitCustomSubscriber = { }, ], organization: { - createdAt: new Date("2024-05-27T10:54:59.560Z"), - modifiedAt: new Date("2023-02-05T02:06:19.700Z"), + createdAt: new Date("2024-03-30T08:14:55.210Z"), + modifiedAt: new Date("2023-03-24T17:25:25.814Z"), id: "", name: "", slug: "", - avatarUrl: "https://bulky-e-mail.info/", + avatarUrl: "https://nervous-illusion.biz/", bio: "", - company: "Kling, Witting and Littel", + company: "Hoppe, Batz and Homenick", blog: "", location: "", - email: "Hassie_Feest50@gmail.com", + email: "Sadye_Dooley@yahoo.com", twitterUsername: "", - pledgeMinimumAmount: 774353, + pledgeMinimumAmount: 76818, pledgeBadgeShowAmount: false, - defaultUpfrontSplitToContributors: 560374, + defaultUpfrontSplitToContributors: 55356, profileSettings: {}, featureSettings: {}, }, diff --git a/docs/models/components/benefitdiscordsubscriber.md b/docs/models/components/benefitdiscordsubscriber.md index 012f0ee7..8527d4c6 100644 --- a/docs/models/components/benefitdiscordsubscriber.md +++ b/docs/models/components/benefitdiscordsubscriber.md @@ -6,17 +6,17 @@ import { BenefitDiscordSubscriber } from "@polar-sh/sdk/models/components"; let value: BenefitDiscordSubscriber = { - createdAt: new Date("2024-11-28T16:58:32.600Z"), - modifiedAt: new Date("2023-01-18T02:26:54.532Z"), + createdAt: new Date("2022-06-18T10:02:41.068Z"), + modifiedAt: new Date("2023-05-03T03:57:46.437Z"), id: "", - description: "little hmph flood", + description: "opposite shoot yowza upliftingly whoa fuel", selectable: false, deletable: false, organizationId: "", grants: [ { - createdAt: new Date("2024-05-27T22:36:34.200Z"), - modifiedAt: new Date("2022-02-10T14:02:38.783Z"), + createdAt: new Date("2022-10-21T09:09:39.528Z"), + modifiedAt: new Date("2022-04-13T15:39:03.902Z"), id: "", isGranted: false, isRevoked: false, @@ -27,21 +27,21 @@ let value: BenefitDiscordSubscriber = { }, ], organization: { - createdAt: new Date("2022-03-22T20:53:34.094Z"), - modifiedAt: new Date("2023-09-26T23:35:22.282Z"), + createdAt: new Date("2022-11-04T15:42:22.170Z"), + modifiedAt: new Date("2023-06-01T17:48:08.887Z"), id: "", name: "", slug: "", - avatarUrl: "https://pretty-doorpost.org/", + avatarUrl: "https://kooky-vista.name", bio: "", - company: "Bernhard, Sawayn and Wisozk", + company: "Johns - Pfeffer", blog: "", location: "", - email: "Mya97@hotmail.com", + email: "Maximillia_Balistreri56@gmail.com", twitterUsername: "", - pledgeMinimumAmount: 610766, + pledgeMinimumAmount: 475214, pledgeBadgeShowAmount: false, - defaultUpfrontSplitToContributors: 695088, + defaultUpfrontSplitToContributors: 287293, profileSettings: {}, featureSettings: {}, }, diff --git a/docs/models/components/benefitdownloadablessubscriber.md b/docs/models/components/benefitdownloadablessubscriber.md index 69ca1271..46c0c5a3 100644 --- a/docs/models/components/benefitdownloadablessubscriber.md +++ b/docs/models/components/benefitdownloadablessubscriber.md @@ -6,17 +6,17 @@ import { BenefitDownloadablesSubscriber } from "@polar-sh/sdk/models/components"; let value: BenefitDownloadablesSubscriber = { - createdAt: new Date("2022-06-20T17:47:05.715Z"), - modifiedAt: new Date("2023-07-08T02:12:48.329Z"), + createdAt: new Date("2022-11-27T05:06:38.850Z"), + modifiedAt: new Date("2023-11-10T06:40:42.932Z"), id: "", - description: "similar suddenly ugh ignite briefly", + description: "coordinated guidance anti fast", selectable: false, deletable: false, organizationId: "", grants: [ { - createdAt: new Date("2022-03-02T16:05:32.858Z"), - modifiedAt: new Date("2024-01-17T05:20:40.624Z"), + createdAt: new Date("2024-03-15T18:55:38.326Z"), + modifiedAt: new Date("2024-02-25T19:18:44.351Z"), id: "", isGranted: false, isRevoked: false, @@ -27,21 +27,21 @@ let value: BenefitDownloadablesSubscriber = { }, ], organization: { - createdAt: new Date("2024-10-08T23:33:49.995Z"), - modifiedAt: new Date("2023-06-25T08:18:55.202Z"), + createdAt: new Date("2023-10-03T14:14:26.405Z"), + modifiedAt: new Date("2022-04-11T02:26:39.217Z"), id: "", name: "", slug: "", - avatarUrl: "https://staid-phrase.org", + avatarUrl: "https://bony-affiliate.info", bio: "", - company: "Gorczany, Schamberger and Pouros", + company: "Mertz - Ward", blog: "", location: "", - email: "Ardith99@yahoo.com", + email: "Oceane_Nader-Mayert@hotmail.com", twitterUsername: "", - pledgeMinimumAmount: 477222, + pledgeMinimumAmount: 795337, pledgeBadgeShowAmount: false, - defaultUpfrontSplitToContributors: 570437, + defaultUpfrontSplitToContributors: 652257, profileSettings: {}, featureSettings: {}, }, diff --git a/docs/models/components/benefitgithubrepositorysubscriber.md b/docs/models/components/benefitgithubrepositorysubscriber.md index 07e1ab86..a0cc1d06 100644 --- a/docs/models/components/benefitgithubrepositorysubscriber.md +++ b/docs/models/components/benefitgithubrepositorysubscriber.md @@ -6,17 +6,17 @@ import { BenefitGitHubRepositorySubscriber } from "@polar-sh/sdk/models/components"; let value: BenefitGitHubRepositorySubscriber = { - createdAt: new Date("2022-04-01T09:54:32.778Z"), - modifiedAt: new Date("2023-06-05T20:01:47.770Z"), + createdAt: new Date("2024-01-17T05:20:40.624Z"), + modifiedAt: new Date("2024-10-08T23:33:49.995Z"), id: "", - description: "ha tremendously likewise vanadyl broadly", + description: "suspiciously youthfully frenetically eek since grade", selectable: false, deletable: false, organizationId: "", grants: [ { - createdAt: new Date("2024-06-06T08:49:54.446Z"), - modifiedAt: new Date("2024-09-18T19:37:34.618Z"), + createdAt: new Date("2024-03-30T02:29:26.135Z"), + modifiedAt: new Date("2024-06-30T02:36:41.216Z"), id: "", isGranted: false, isRevoked: false, @@ -27,21 +27,21 @@ let value: BenefitGitHubRepositorySubscriber = { }, ], organization: { - createdAt: new Date("2023-06-25T07:10:39.639Z"), - modifiedAt: new Date("2024-01-28T01:47:04.369Z"), + createdAt: new Date("2022-06-28T11:34:52.703Z"), + modifiedAt: new Date("2024-04-04T02:08:10.936Z"), id: "", name: "", slug: "", - avatarUrl: "https://elderly-chow.name/", + avatarUrl: "https://unimportant-video.com", bio: "", - company: "Beier - Gutkowski", + company: "Schmidt - Crooks", blog: "", location: "", - email: "Koby.Skiles@hotmail.com", + email: "Shanny_Hamill@gmail.com", twitterUsername: "", - pledgeMinimumAmount: 478216, + pledgeMinimumAmount: 566089, pledgeBadgeShowAmount: false, - defaultUpfrontSplitToContributors: 445973, + defaultUpfrontSplitToContributors: 575838, profileSettings: {}, featureSettings: {}, }, diff --git a/docs/models/components/benefitgrantads.md b/docs/models/components/benefitgrantads.md index 49644f06..bc2bdc13 100644 --- a/docs/models/components/benefitgrantads.md +++ b/docs/models/components/benefitgrantads.md @@ -6,8 +6,8 @@ import { BenefitGrantAds } from "@polar-sh/sdk/models/components"; let value: BenefitGrantAds = { - createdAt: new Date("2023-03-16T02:53:33.205Z"), - modifiedAt: new Date("2022-11-15T02:07:18.027Z"), + createdAt: new Date("2023-09-11T20:28:49.171Z"), + modifiedAt: new Date("2022-12-15T13:28:07.414Z"), id: "", isGranted: false, isRevoked: false, diff --git a/docs/models/components/benefitgrantlicensekeys.md b/docs/models/components/benefitgrantlicensekeys.md index 18e4b560..4673786e 100644 --- a/docs/models/components/benefitgrantlicensekeys.md +++ b/docs/models/components/benefitgrantlicensekeys.md @@ -6,8 +6,8 @@ import { BenefitGrantLicenseKeys } from "@polar-sh/sdk/models/components"; let value: BenefitGrantLicenseKeys = { - createdAt: new Date("2024-06-05T21:11:09.859Z"), - modifiedAt: new Date("2022-12-09T00:42:10.762Z"), + createdAt: new Date("2024-10-31T11:24:49.832Z"), + modifiedAt: new Date("2024-11-20T18:53:01.615Z"), id: "", isGranted: false, isRevoked: false, diff --git a/docs/models/components/benefitgrantsubscriber.md b/docs/models/components/benefitgrantsubscriber.md index 13dbe91f..d35aac24 100644 --- a/docs/models/components/benefitgrantsubscriber.md +++ b/docs/models/components/benefitgrantsubscriber.md @@ -6,8 +6,8 @@ import { BenefitGrantSubscriber } from "@polar-sh/sdk/models/components"; let value: BenefitGrantSubscriber = { - createdAt: new Date("2022-08-19T22:31:57.872Z"), - modifiedAt: new Date("2024-04-25T04:13:36.973Z"), + createdAt: new Date("2023-11-25T15:24:55.609Z"), + modifiedAt: new Date("2022-10-20T00:59:50.671Z"), id: "", isGranted: false, isRevoked: false, diff --git a/docs/models/components/benefitgrantwebhook.md b/docs/models/components/benefitgrantwebhook.md index 05083cd4..225656de 100644 --- a/docs/models/components/benefitgrantwebhook.md +++ b/docs/models/components/benefitgrantwebhook.md @@ -6,8 +6,8 @@ import { BenefitGrantWebhook } from "@polar-sh/sdk/models/components"; let value: BenefitGrantWebhook = { - createdAt: new Date("2022-05-06T23:30:24.719Z"), - modifiedAt: new Date("2024-03-27T02:09:03.208Z"), + createdAt: new Date("2023-03-24T09:54:57.627Z"), + modifiedAt: new Date("2023-01-27T07:36:10.471Z"), id: "", isGranted: false, isRevoked: false, @@ -17,14 +17,25 @@ let value: BenefitGrantWebhook = { benefitId: "", properties: {}, benefit: { - createdAt: new Date("2024-08-25T00:50:34.161Z"), - modifiedAt: new Date("2022-04-08T15:48:04.523Z"), + createdAt: new Date("2024-09-25T09:49:00.136Z"), + modifiedAt: new Date("2022-10-09T02:22:51.594Z"), id: "", - description: "pinion webbed lest excluding bravely provided ruddy that", + description: "as along with vice mount smug quickly", selectable: false, deletable: false, organizationId: "", - properties: {}, + properties: { + prefix: "", + expires: { + ttl: 639013, + timeframe: "month", + }, + activations: { + limit: 435652, + enableUserAdmin: false, + }, + limitUsage: 517018, + }, }, }; ``` diff --git a/docs/models/components/benefitlicensekeyactivationproperties.md b/docs/models/components/benefitlicensekeyactivationproperties.md index 94b8f031..30d15959 100644 --- a/docs/models/components/benefitlicensekeyactivationproperties.md +++ b/docs/models/components/benefitlicensekeyactivationproperties.md @@ -6,7 +6,7 @@ import { BenefitLicenseKeyActivationProperties } from "@polar-sh/sdk/models/components"; let value: BenefitLicenseKeyActivationProperties = { - limit: 838287, + limit: 185182, enableUserAdmin: false, }; ``` diff --git a/docs/models/components/benefitlicensekeyexpirationproperties.md b/docs/models/components/benefitlicensekeyexpirationproperties.md index 0e46e2e9..1a6afdbe 100644 --- a/docs/models/components/benefitlicensekeyexpirationproperties.md +++ b/docs/models/components/benefitlicensekeyexpirationproperties.md @@ -6,8 +6,8 @@ import { BenefitLicenseKeyExpirationProperties } from "@polar-sh/sdk/models/components"; let value: BenefitLicenseKeyExpirationProperties = { - ttl: 400044, - timeframe: "month", + ttl: 46538, + timeframe: "year", }; ``` diff --git a/docs/models/components/benefitlicensekeyssubscriber.md b/docs/models/components/benefitlicensekeyssubscriber.md index 18aaca25..9ab12b86 100644 --- a/docs/models/components/benefitlicensekeyssubscriber.md +++ b/docs/models/components/benefitlicensekeyssubscriber.md @@ -6,17 +6,17 @@ import { BenefitLicenseKeysSubscriber } from "@polar-sh/sdk/models/components"; let value: BenefitLicenseKeysSubscriber = { - createdAt: new Date("2023-11-01T12:23:46.032Z"), - modifiedAt: new Date("2024-11-27T23:07:28.367Z"), + createdAt: new Date("2022-11-30T19:27:00.258Z"), + modifiedAt: new Date("2022-01-16T00:03:35.865Z"), id: "", - description: "and minus confute pish", + description: "meanwhile about gerbil angelic", selectable: false, deletable: false, organizationId: "", grants: [ { - createdAt: new Date("2024-11-27T19:05:06.518Z"), - modifiedAt: new Date("2022-05-17T09:48:42.675Z"), + createdAt: new Date("2022-06-30T23:00:15.056Z"), + modifiedAt: new Date("2024-11-16T15:02:53.915Z"), id: "", isGranted: false, isRevoked: false, @@ -28,35 +28,35 @@ let value: BenefitLicenseKeysSubscriber = { }, ], organization: { - createdAt: new Date("2022-03-30T10:02:42.903Z"), - modifiedAt: new Date("2024-05-26T12:06:04.723Z"), + createdAt: new Date("2023-10-12T16:46:55.679Z"), + modifiedAt: new Date("2023-08-28T08:17:44.591Z"), id: "", name: "", slug: "", - avatarUrl: "https://dim-swing.org/", + avatarUrl: "https://appropriate-adult.org", bio: "", - company: "Spinka - Stokes", + company: "Rogahn, Crist and Kreiger", blog: "", location: "", - email: "Kennith_Gutkowski24@yahoo.com", + email: "Toy.Rolfson@hotmail.com", twitterUsername: "", - pledgeMinimumAmount: 412950, + pledgeMinimumAmount: 973519, pledgeBadgeShowAmount: false, - defaultUpfrontSplitToContributors: 705781, + defaultUpfrontSplitToContributors: 367747, profileSettings: {}, featureSettings: {}, }, properties: { prefix: "", expires: { - ttl: 621428, - timeframe: "day", + ttl: 293187, + timeframe: "year", }, activations: { - limit: 646456, + limit: 730679, enableUserAdmin: false, }, - limitUsage: 141314, + limitUsage: 199673, }, }; ``` diff --git a/docs/models/components/benefitlicensekeyssubscriberproperties.md b/docs/models/components/benefitlicensekeyssubscriberproperties.md index 6ce86343..9551fdf5 100644 --- a/docs/models/components/benefitlicensekeyssubscriberproperties.md +++ b/docs/models/components/benefitlicensekeyssubscriberproperties.md @@ -8,14 +8,14 @@ import { BenefitLicenseKeysSubscriberProperties } from "@polar-sh/sdk/models/com let value: BenefitLicenseKeysSubscriberProperties = { prefix: "", expires: { - ttl: 161218, - timeframe: "year", + ttl: 864058, + timeframe: "month", }, activations: { - limit: 191173, + limit: 969911, enableUserAdmin: false, }, - limitUsage: 597951, + limitUsage: 987085, }; ``` diff --git a/docs/models/components/benefits.md b/docs/models/components/benefits.md index ded65eee..279ad7a6 100644 --- a/docs/models/components/benefits.md +++ b/docs/models/components/benefits.md @@ -7,11 +7,11 @@ ```typescript const value: components.BenefitBase = { - createdAt: new Date("2022-01-20T00:11:01.003Z"), - modifiedAt: new Date("2022-01-19T22:47:13.292Z"), + createdAt: new Date("2022-04-28T00:24:53.119Z"), + modifiedAt: new Date("2024-06-29T00:18:29.362Z"), id: "", - type: "discord", - description: "why leading burdensome verify for sedately over anenst", + type: "articles", + description: "consequently insert immediately", selectable: false, deletable: false, organizationId: "", @@ -22,10 +22,11 @@ const value: components.BenefitBase = { ```typescript const value: components.BenefitArticles = { - createdAt: new Date("2023-01-14T16:16:35.711Z"), - modifiedAt: new Date("2024-06-29T23:34:23.967Z"), + createdAt: new Date("2024-06-29T23:34:23.967Z"), + modifiedAt: new Date("2023-08-31T01:40:43.170Z"), id: "", - description: "swing greedily save phew because against likewise", + description: + "idle quicker waist instruction yippee unfurl tenderly outside meaningfully", selectable: false, deletable: false, organizationId: "", diff --git a/docs/models/components/benefittype.md b/docs/models/components/benefittype.md index 690bb164..e4d88c46 100644 --- a/docs/models/components/benefittype.md +++ b/docs/models/components/benefittype.md @@ -5,7 +5,7 @@ ```typescript import { BenefitType } from "@polar-sh/sdk/models/components"; -let value: BenefitType = "articles"; +let value: BenefitType = "license_keys"; ``` ## Values diff --git a/docs/models/components/checkout.md b/docs/models/components/checkout.md index 3b3cfe44..baef05b9 100644 --- a/docs/models/components/checkout.md +++ b/docs/models/components/checkout.md @@ -8,20 +8,20 @@ Checkout session data retrieved using an access token. import { Checkout } from "@polar-sh/sdk/models/components"; let value: Checkout = { - createdAt: new Date("2022-05-26T03:50:47.351Z"), - modifiedAt: new Date("2024-09-05T00:05:28.311Z"), + createdAt: new Date("2023-12-06T06:03:53.905Z"), + modifiedAt: new Date("2024-07-09T17:23:10.289Z"), id: "", status: "confirmed", clientSecret: "", - url: "https://neglected-custom.info/", - expiresAt: new Date("2024-03-17T02:44:16.095Z"), - successUrl: "https://snappy-riser.net", + url: "https://delirious-noon.com/", + expiresAt: new Date("2024-07-26T23:09:04.804Z"), + successUrl: "https://terrible-dash.info/", embedOrigin: "", - amount: 144188, - taxAmount: 650202, - currency: "Cayman Islands Dollar", - subtotalAmount: 62091, - totalAmount: 835054, + amount: 730521, + taxAmount: 784167, + currency: "Iranian Rial", + subtotalAmount: 499455, + totalAmount: 29572, productId: "", productPriceId: "", discountId: "", @@ -33,41 +33,45 @@ let value: Checkout = { isPaymentFormRequired: false, customerId: "", customerName: "", - customerEmail: "Adolphus.DAmore93@gmail.com", + customerEmail: "Devonte.Gutkowski@yahoo.com", customerIpAddress: "", customerBillingAddress: { - country: "Lithuania", + country: "New Zealand", }, customerTaxId: "", paymentProcessorMetadata: {}, metadata: { - "key": 44740, + "key": false, }, product: { - createdAt: new Date("2022-12-11T12:45:41.520Z"), - modifiedAt: new Date("2023-01-20T02:46:22.982Z"), + createdAt: new Date("2023-09-20T10:21:04.413Z"), + modifiedAt: new Date("2022-05-20T04:35:09.735Z"), id: "", name: "", - description: "cool functional oxygenate stupendous adventurously convince", + description: + "repeat squirm regarding shirk aside courageous rarely and watery", isRecurring: false, isArchived: false, organizationId: "", prices: [ { - createdAt: new Date("2024-12-01T06:57:16.454Z"), - modifiedAt: new Date("2022-01-20T21:48:52.002Z"), + createdAt: new Date("2022-06-02T10:01:08.885Z"), + modifiedAt: new Date("2023-09-18T15:00:06.389Z"), id: "", isArchived: false, productId: "", - recurringInterval: "month", + priceCurrency: "", + minimumAmount: 260562, + maximumAmount: 274048, + presetAmount: 433878, }, ], benefits: [ { - createdAt: new Date("2022-01-03T18:06:17.093Z"), - modifiedAt: new Date("2024-04-10T18:10:09.907Z"), + createdAt: new Date("2023-11-08T14:14:27.402Z"), + modifiedAt: new Date("2022-12-02T16:16:28.830Z"), id: "", - description: "honestly unsung drat silver apt indeed indeed", + description: "juicy oval reschedule", selectable: false, deletable: false, organizationId: "", @@ -81,37 +85,36 @@ let value: Checkout = { id: "", organizationId: "", name: "", - path: "/net", + path: "/etc/mail", mimeType: "", - size: 76101, + size: 797917, storageVersion: "", checksumEtag: "", checksumSha256Base64: "", checksumSha256Hex: "", - lastModifiedAt: new Date("2024-06-21T07:51:38.001Z"), + lastModifiedAt: new Date("2022-10-12T11:36:46.504Z"), version: "", isUploaded: false, - createdAt: new Date("2024-03-12T13:26:41.356Z"), + createdAt: new Date("2023-10-05T16:51:57.858Z"), sizeReadable: "", - publicUrl: "https://rusty-flame.org/", + publicUrl: "https://deficient-hunger.net", }, ], }, productPrice: { - createdAt: new Date("2023-06-05T19:11:08.158Z"), - modifiedAt: new Date("2023-01-30T16:52:49.455Z"), + createdAt: new Date("2022-06-10T17:35:29.868Z"), + modifiedAt: new Date("2023-11-08T17:07:49.738Z"), id: "", isArchived: false, productId: "", priceCurrency: "", - priceAmount: 34104, + priceAmount: 2513, }, discount: { - duration: "repeating", - durationInMonths: 259649, + duration: "forever", + durationInMonths: 672865, type: "percentage", - amount: 154139, - currency: "Swiss Franc", + basisPoints: 599014, id: "", name: "", code: "", @@ -121,18 +124,18 @@ let value: Checkout = { { customFieldId: "", customField: { - createdAt: new Date("2022-01-17T00:25:32.190Z"), - modifiedAt: new Date("2023-06-15T01:48:27.572Z"), + createdAt: new Date("2022-09-15T19:21:06.395Z"), + modifiedAt: new Date("2023-05-24T10:53:03.853Z"), id: "", metadata: { - "key": false, + "key": 783061, }, slug: "", name: "", organizationId: "", properties: {}, }, - order: 281531, + order: 675273, required: false, }, ], diff --git a/docs/models/components/checkoutdiscount.md b/docs/models/components/checkoutdiscount.md index 47051eaa..269a2462 100644 --- a/docs/models/components/checkoutdiscount.md +++ b/docs/models/components/checkoutdiscount.md @@ -7,10 +7,10 @@ ```typescript const value: components.CheckoutDiscountFixedOnceForeverDuration = { - duration: "repeating", + duration: "once", type: "fixed", - amount: 719607, - currency: "Quetzal", + amount: 227897, + currency: "Djibouti Franc", id: "", name: "", code: "", @@ -21,11 +21,11 @@ const value: components.CheckoutDiscountFixedOnceForeverDuration = { ```typescript const value: components.CheckoutDiscountFixedRepeatDuration = { - duration: "repeating", - durationInMonths: 242120, + duration: "forever", + durationInMonths: 380715, type: "fixed", - amount: 747336, - currency: "Barbados Dollar", + amount: 881238, + currency: "Cuban Peso", id: "", name: "", code: "", @@ -36,9 +36,9 @@ const value: components.CheckoutDiscountFixedRepeatDuration = { ```typescript const value: components.CheckoutDiscountPercentageOnceForeverDuration = { - duration: "repeating", - type: "percentage", - basisPoints: 304021, + duration: "once", + type: "fixed", + basisPoints: 924861, id: "", name: "", code: "", @@ -49,10 +49,10 @@ const value: components.CheckoutDiscountPercentageOnceForeverDuration = { ```typescript const value: components.CheckoutDiscountPercentageRepeatDuration = { - duration: "repeating", - durationInMonths: 902925, - type: "percentage", - basisPoints: 517842, + duration: "once", + durationInMonths: 572268, + type: "fixed", + basisPoints: 555300, id: "", name: "", code: "", diff --git a/docs/models/components/checkoutdiscountfixedonceforeverduration.md b/docs/models/components/checkoutdiscountfixedonceforeverduration.md index ad8fc76a..49c84b26 100644 --- a/docs/models/components/checkoutdiscountfixedonceforeverduration.md +++ b/docs/models/components/checkoutdiscountfixedonceforeverduration.md @@ -8,10 +8,10 @@ Schema for a fixed amount discount that is applied once or forever. import { CheckoutDiscountFixedOnceForeverDuration } from "@polar-sh/sdk/models/components"; let value: CheckoutDiscountFixedOnceForeverDuration = { - duration: "repeating", + duration: "once", type: "percentage", - amount: 939456, - currency: "Armenian Dram", + amount: 644242, + currency: "Pa'anga", id: "", name: "", code: "", diff --git a/docs/models/components/checkoutdiscountfixedrepeatduration.md b/docs/models/components/checkoutdiscountfixedrepeatduration.md index 518f4e65..5b5a18e2 100644 --- a/docs/models/components/checkoutdiscountfixedrepeatduration.md +++ b/docs/models/components/checkoutdiscountfixedrepeatduration.md @@ -10,10 +10,10 @@ import { CheckoutDiscountFixedRepeatDuration } from "@polar-sh/sdk/models/compon let value: CheckoutDiscountFixedRepeatDuration = { duration: "repeating", - durationInMonths: 81399, + durationInMonths: 197633, type: "fixed", - amount: 742652, - currency: "Rupiah", + amount: 60969, + currency: "Belarusian Ruble", id: "", name: "", code: "", diff --git a/docs/models/components/checkoutdiscountpercentageonceforeverduration.md b/docs/models/components/checkoutdiscountpercentageonceforeverduration.md index d32d67ed..4a19f0ec 100644 --- a/docs/models/components/checkoutdiscountpercentageonceforeverduration.md +++ b/docs/models/components/checkoutdiscountpercentageonceforeverduration.md @@ -8,9 +8,9 @@ Schema for a percentage discount that is applied once or forever. import { CheckoutDiscountPercentageOnceForeverDuration } from "@polar-sh/sdk/models/components"; let value: CheckoutDiscountPercentageOnceForeverDuration = { - duration: "once", + duration: "forever", type: "percentage", - basisPoints: 556766, + basisPoints: 437523, id: "", name: "", code: "", diff --git a/docs/models/components/checkoutdiscountpercentagerepeatduration.md b/docs/models/components/checkoutdiscountpercentagerepeatduration.md index 71c03a74..1144718e 100644 --- a/docs/models/components/checkoutdiscountpercentagerepeatduration.md +++ b/docs/models/components/checkoutdiscountpercentagerepeatduration.md @@ -9,10 +9,10 @@ for a certain number of months. import { CheckoutDiscountPercentageRepeatDuration } from "@polar-sh/sdk/models/components"; let value: CheckoutDiscountPercentageRepeatDuration = { - duration: "forever", - durationInMonths: 413557, - type: "percentage", - basisPoints: 917050, + duration: "repeating", + durationInMonths: 265906, + type: "fixed", + basisPoints: 938217, id: "", name: "", code: "", diff --git a/docs/models/components/checkoutlegacy.md b/docs/models/components/checkoutlegacy.md index d74e8331..474f92a2 100644 --- a/docs/models/components/checkoutlegacy.md +++ b/docs/models/components/checkoutlegacy.md @@ -12,35 +12,35 @@ let value: CheckoutLegacy = { customerEmail: "", customerName: "", product: { - createdAt: new Date("2023-08-26T04:55:24.796Z"), - modifiedAt: new Date("2023-12-03T06:03:57.837Z"), + createdAt: new Date("2024-05-29T22:40:34.959Z"), + modifiedAt: new Date("2022-01-01T03:57:20.246Z"), id: "", name: "", - description: "knowingly traditionalism ghost", + description: "boastfully circumnavigate however", isRecurring: false, isArchived: false, organizationId: "", prices: [ { - createdAt: new Date("2024-10-03T21:34:19.414Z"), - modifiedAt: new Date("2022-03-22T23:42:49.599Z"), + createdAt: new Date("2023-09-21T10:09:14.320Z"), + modifiedAt: new Date("2024-04-01T05:07:23.085Z"), id: "", isArchived: false, productId: "", priceCurrency: "", - minimumAmount: 530871, - maximumAmount: 426323, - presetAmount: 759464, + minimumAmount: 923240, + maximumAmount: 437621, + presetAmount: 627810, recurringInterval: "month", }, ], benefits: [ { - createdAt: new Date("2024-02-24T17:46:42.444Z"), - modifiedAt: new Date("2024-01-16T05:36:08.764Z"), + createdAt: new Date("2024-08-11T12:40:25.231Z"), + modifiedAt: new Date("2023-10-12T03:17:54.906Z"), id: "", - type: "discord", - description: "hairy councilman soon", + type: "ads", + description: "cinema without apostrophize", selectable: false, deletable: false, organizationId: "", @@ -51,28 +51,31 @@ let value: CheckoutLegacy = { id: "", organizationId: "", name: "", - path: "/usr/src", + path: "/private", mimeType: "", - size: 118794, + size: 459536, storageVersion: "", checksumEtag: "", checksumSha256Base64: "", checksumSha256Hex: "", - lastModifiedAt: new Date("2023-11-06T18:27:01.469Z"), + lastModifiedAt: new Date("2023-02-28T06:12:59.898Z"), version: "", isUploaded: false, - createdAt: new Date("2023-11-11T04:17:24.386Z"), + createdAt: new Date("2022-02-02T19:05:41.893Z"), sizeReadable: "", - publicUrl: "https://oval-hovel.com/", + publicUrl: "https://confused-adrenalin.name/", }, ], }, productPrice: { - createdAt: new Date("2024-11-11T12:57:03.441Z"), - modifiedAt: new Date("2022-06-15T12:31:01.479Z"), + createdAt: new Date("2022-04-19T15:04:21.495Z"), + modifiedAt: new Date("2024-04-18T01:45:32.126Z"), id: "", isArchived: false, productId: "", + priceCurrency: "", + priceAmount: 883379, + recurringInterval: "month", }, }; ``` diff --git a/docs/models/components/checkoutlegacycreate.md b/docs/models/components/checkoutlegacycreate.md index 4a971b9d..7e6fd93d 100644 --- a/docs/models/components/checkoutlegacycreate.md +++ b/docs/models/components/checkoutlegacycreate.md @@ -7,7 +7,7 @@ import { CheckoutLegacyCreate } from "@polar-sh/sdk/models/components"; let value: CheckoutLegacyCreate = { productPriceId: "", - successUrl: "https://charming-sushi.net", + successUrl: "https://wasteful-vibration.org", }; ``` diff --git a/docs/models/components/checkoutlink.md b/docs/models/components/checkoutlink.md index 55cc8ccb..06e89792 100644 --- a/docs/models/components/checkoutlink.md +++ b/docs/models/components/checkoutlink.md @@ -8,46 +8,48 @@ Checkout link data. import { CheckoutLink } from "@polar-sh/sdk/models/components"; let value: CheckoutLink = { - createdAt: new Date("2023-03-13T08:26:51.024Z"), - modifiedAt: new Date("2023-05-11T19:41:29.989Z"), + createdAt: new Date("2022-09-08T18:41:35.233Z"), + modifiedAt: new Date("2024-12-05T22:27:48.611Z"), id: "", metadata: { "key": "", }, clientSecret: "", - successUrl: "https://silent-interviewer.net/", + successUrl: "https://chilly-outset.com", label: "", allowDiscountCodes: false, productId: "", productPriceId: "", discountId: "", product: { - createdAt: new Date("2024-01-07T21:12:58.857Z"), - modifiedAt: new Date("2024-10-28T12:14:30.511Z"), + createdAt: new Date("2022-11-02T11:04:53.043Z"), + modifiedAt: new Date("2023-04-24T09:40:38.592Z"), id: "", name: "", - description: "cleverly catalyze tribe on quickly dual extract furiously", + description: + "along spotless clamour consequently jet untidy wherever veto considering", isRecurring: false, isArchived: false, organizationId: "", prices: [ { - createdAt: new Date("2022-07-12T09:09:47.370Z"), - modifiedAt: new Date("2024-05-06T21:17:14.746Z"), + createdAt: new Date("2022-02-21T20:38:10.492Z"), + modifiedAt: new Date("2022-12-26T11:23:55.036Z"), id: "", isArchived: false, productId: "", priceCurrency: "", - priceAmount: 725704, + priceAmount: 223877, + recurringInterval: "year", }, ], benefits: [ { - createdAt: new Date("2023-07-04T23:08:20.057Z"), - modifiedAt: new Date("2024-09-06T06:00:45.080Z"), + createdAt: new Date("2024-09-23T07:40:01.857Z"), + modifiedAt: new Date("2024-11-26T15:04:44.401Z"), id: "", - type: "ads", - description: "hateful poor naturally circa", + type: "discord", + description: "apropos roger cultivated", selectable: false, deletable: false, organizationId: "", @@ -60,51 +62,53 @@ let value: CheckoutLink = { name: "", path: "/var/log", mimeType: "", - size: 133849, + size: 996721, storageVersion: "", checksumEtag: "", checksumSha256Base64: "", checksumSha256Hex: "", - lastModifiedAt: new Date("2023-06-11T10:18:55.444Z"), + lastModifiedAt: new Date("2024-07-12T08:32:01.348Z"), version: "", isUploaded: false, - createdAt: new Date("2024-04-14T12:09:29.462Z"), + createdAt: new Date("2022-04-13T10:52:24.446Z"), sizeReadable: "", - publicUrl: "https://vast-cantaloupe.name", + publicUrl: "https://hefty-possession.net/", }, ], }, productPrice: { - createdAt: new Date("2024-08-06T16:40:59.881Z"), - modifiedAt: new Date("2023-02-09T12:06:43.554Z"), + createdAt: new Date("2022-06-24T21:14:12.329Z"), + modifiedAt: new Date("2022-05-03T20:47:05.431Z"), id: "", isArchived: false, productId: "", priceCurrency: "", - priceAmount: 106063, - recurringInterval: "month", + minimumAmount: 470972, + maximumAmount: 861044, + presetAmount: 627706, + recurringInterval: "year", }, discount: { - duration: "forever", - durationInMonths: 624227, - type: "percentage", - amount: 315294, - currency: "Iranian Rial", - createdAt: new Date("2022-11-07T06:01:20.379Z"), - modifiedAt: new Date("2022-05-08T18:58:25.406Z"), + duration: "once", + durationInMonths: 932097, + type: "fixed", + amount: 513405, + currency: "Barbados Dollar", + createdAt: new Date("2022-03-17T18:57:29.392Z"), + modifiedAt: new Date("2024-04-10T20:06:53.592Z"), id: "", metadata: { "key": false, }, name: "", code: "", - startsAt: new Date("2022-04-16T06:22:30.370Z"), - endsAt: new Date("2023-06-03T03:50:32.017Z"), - maxRedemptions: 570010, - redemptionsCount: 700207, + startsAt: new Date("2023-11-29T19:38:09.526Z"), + endsAt: new Date("2024-09-13T10:47:55.235Z"), + maxRedemptions: 773953, + redemptionsCount: 128865, organizationId: "", }, - url: "https://mindless-government.com/", + url: "https://watery-cod.name/", }; ``` diff --git a/docs/models/components/checkoutlinkdiscount.md b/docs/models/components/checkoutlinkdiscount.md index 8d8d519b..a9755471 100644 --- a/docs/models/components/checkoutlinkdiscount.md +++ b/docs/models/components/checkoutlinkdiscount.md @@ -8,21 +8,21 @@ ```typescript const value: components.DiscountFixedOnceForeverDurationBase = { duration: "forever", - type: "percentage", - amount: 905385, - currency: "Kina", - createdAt: new Date("2022-08-22T21:57:23.570Z"), - modifiedAt: new Date("2022-03-08T00:09:26.563Z"), + type: "fixed", + amount: 167618, + currency: "Guinea Franc", + createdAt: new Date("2023-02-05T07:00:12.804Z"), + modifiedAt: new Date("2023-12-09T18:39:16.139Z"), id: "", metadata: { - "key": false, + "key": "", }, name: "", code: "", - startsAt: new Date("2023-01-30T12:54:28.356Z"), - endsAt: new Date("2022-05-13T06:17:57.337Z"), - maxRedemptions: 835232, - redemptionsCount: 537065, + startsAt: new Date("2024-08-07T06:17:20.997Z"), + endsAt: new Date("2023-11-17T07:53:47.712Z"), + maxRedemptions: 53177, + redemptionsCount: 251456, organizationId: "", }; ``` @@ -31,23 +31,23 @@ const value: components.DiscountFixedOnceForeverDurationBase = { ```typescript const value: components.DiscountFixedRepeatDurationBase = { - duration: "repeating", - durationInMonths: 578874, + duration: "once", + durationInMonths: 581841, type: "percentage", - amount: 548531, - currency: "Swiss Franc", - createdAt: new Date("2024-11-22T12:15:55.378Z"), - modifiedAt: new Date("2022-04-09T10:06:38.480Z"), + amount: 364207, + currency: "Singapore Dollar", + createdAt: new Date("2022-03-09T16:51:17.826Z"), + modifiedAt: new Date("2024-06-25T19:08:04.608Z"), id: "", metadata: { - "key": "", + "key": false, }, name: "", code: "", - startsAt: new Date("2024-12-27T12:13:46.111Z"), - endsAt: new Date("2024-05-03T08:12:39.015Z"), - maxRedemptions: 840827, - redemptionsCount: 471486, + startsAt: new Date("2022-07-23T17:17:02.467Z"), + endsAt: new Date("2024-10-27T17:26:52.816Z"), + maxRedemptions: 732365, + redemptionsCount: 893446, organizationId: "", }; ``` @@ -56,21 +56,21 @@ const value: components.DiscountFixedRepeatDurationBase = { ```typescript const value: components.DiscountPercentageOnceForeverDurationBase = { - duration: "forever", + duration: "repeating", type: "fixed", - basisPoints: 53834, - createdAt: new Date("2022-02-21T20:38:10.492Z"), - modifiedAt: new Date("2022-12-26T11:23:55.036Z"), + basisPoints: 246893, + createdAt: new Date("2024-07-21T13:43:15.502Z"), + modifiedAt: new Date("2022-02-22T16:51:45.673Z"), id: "", metadata: { - "key": "", + "key": false, }, name: "", code: "", - startsAt: new Date("2024-01-01T19:13:04.647Z"), - endsAt: new Date("2022-07-05T21:42:29.568Z"), - maxRedemptions: 909051, - redemptionsCount: 967727, + startsAt: new Date("2024-01-17T18:06:38.318Z"), + endsAt: new Date("2023-05-02T15:16:49.158Z"), + maxRedemptions: 574826, + redemptionsCount: 260534, organizationId: "", }; ``` @@ -80,21 +80,21 @@ const value: components.DiscountPercentageOnceForeverDurationBase = { ```typescript const value: components.DiscountPercentageRepeatDurationBase = { duration: "forever", - durationInMonths: 51116, + durationInMonths: 688082, type: "fixed", - basisPoints: 267175, - createdAt: new Date("2024-08-18T01:43:29.999Z"), - modifiedAt: new Date("2024-08-31T13:01:36.341Z"), + basisPoints: 148029, + createdAt: new Date("2024-11-01T16:04:46.969Z"), + modifiedAt: new Date("2024-12-20T11:54:29.031Z"), id: "", metadata: { - "key": false, + "key": "", }, name: "", code: "", - startsAt: new Date("2022-10-15T20:37:52.390Z"), - endsAt: new Date("2022-07-12T16:48:40.890Z"), - maxRedemptions: 524828, - redemptionsCount: 344358, + startsAt: new Date("2022-03-02T23:53:00.999Z"), + endsAt: new Date("2023-02-02T11:52:07.630Z"), + maxRedemptions: 939470, + redemptionsCount: 379968, organizationId: "", }; ``` diff --git a/docs/models/components/checkoutlinkmetadata.md b/docs/models/components/checkoutlinkmetadata.md index 7d098d11..516c0a10 100644 --- a/docs/models/components/checkoutlinkmetadata.md +++ b/docs/models/components/checkoutlinkmetadata.md @@ -12,7 +12,7 @@ const value: string = ""; ### `number` ```typescript -const value: number = 536991; +const value: number = 724297; ``` ### `boolean` diff --git a/docs/models/components/checkoutlinkpricecreatemetadata.md b/docs/models/components/checkoutlinkpricecreatemetadata.md index e526b66e..ca2ab13a 100644 --- a/docs/models/components/checkoutlinkpricecreatemetadata.md +++ b/docs/models/components/checkoutlinkpricecreatemetadata.md @@ -12,7 +12,7 @@ const value: string = ""; ### `number` ```typescript -const value: number = 788599; +const value: number = 101197; ``` ### `boolean` diff --git a/docs/models/components/checkoutlinkproduct.md b/docs/models/components/checkoutlinkproduct.md index 724a057d..77a26df2 100644 --- a/docs/models/components/checkoutlinkproduct.md +++ b/docs/models/components/checkoutlinkproduct.md @@ -8,35 +8,32 @@ Product data for a checkout link. import { CheckoutLinkProduct } from "@polar-sh/sdk/models/components"; let value: CheckoutLinkProduct = { - createdAt: new Date("2024-05-09T00:02:08.000Z"), - modifiedAt: new Date("2022-07-31T11:53:51.195Z"), + createdAt: new Date("2022-10-30T01:32:14.646Z"), + modifiedAt: new Date("2024-08-05T03:49:40.522Z"), id: "", name: "", - description: "airbrush sorrowful ah atop obnoxiously", + description: "underneath midst bobble against unaware um musty", isRecurring: false, isArchived: false, organizationId: "", prices: [ { - createdAt: new Date("2023-08-29T03:33:02.823Z"), - modifiedAt: new Date("2023-09-14T00:27:16.676Z"), + createdAt: new Date("2022-09-19T18:10:58.926Z"), + modifiedAt: new Date("2024-05-09T00:02:08.000Z"), id: "", isArchived: false, productId: "", priceCurrency: "", - minimumAmount: 10389, - maximumAmount: 904289, - presetAmount: 210787, + priceAmount: 192970, }, ], benefits: [ { - createdAt: new Date("2023-11-26T05:58:39.491Z"), - modifiedAt: new Date("2023-09-06T22:49:00.223Z"), + createdAt: new Date("2023-02-08T13:32:10.149Z"), + modifiedAt: new Date("2023-11-16T11:02:08.846Z"), id: "", - type: "custom", - description: - "pro hence happy outside into unless video upwardly till ouch", + type: "ads", + description: "forenenst guacamole abseil ack midst", selectable: false, deletable: false, organizationId: "", @@ -47,19 +44,19 @@ let value: CheckoutLinkProduct = { id: "", organizationId: "", name: "", - path: "/private/tmp", + path: "/Applications", mimeType: "", - size: 610379, + size: 904289, storageVersion: "", checksumEtag: "", checksumSha256Base64: "", checksumSha256Hex: "", - lastModifiedAt: new Date("2022-08-05T18:16:23.124Z"), + lastModifiedAt: new Date("2022-08-20T00:33:32.523Z"), version: "", isUploaded: false, - createdAt: new Date("2024-04-12T17:44:59.979Z"), + createdAt: new Date("2022-01-28T21:38:59.292Z"), sizeReadable: "", - publicUrl: "https://steel-tuber.org", + publicUrl: "https://noteworthy-cauliflower.org", }, ], }; diff --git a/docs/models/components/checkoutlinkproductbenefits.md b/docs/models/components/checkoutlinkproductbenefits.md index 9dcf8f0d..9376d244 100644 --- a/docs/models/components/checkoutlinkproductbenefits.md +++ b/docs/models/components/checkoutlinkproductbenefits.md @@ -7,11 +7,11 @@ ```typescript const value: components.BenefitBase = { - createdAt: new Date("2022-05-13T01:49:45.783Z"), - modifiedAt: new Date("2023-03-19T10:26:27.496Z"), + createdAt: new Date("2022-09-16T09:34:47.719Z"), + modifiedAt: new Date("2023-07-20T00:58:40.878Z"), id: "", - type: "custom", - description: "however curiously even", + type: "discord", + description: "hence cafe scale populist ick stupendous inasmuch transparency", selectable: false, deletable: false, organizationId: "", @@ -22,11 +22,11 @@ const value: components.BenefitBase = { ```typescript const value: components.BenefitArticles = { - createdAt: new Date("2023-11-29T19:36:58.004Z"), - modifiedAt: new Date("2023-02-20T08:46:11.707Z"), + createdAt: new Date("2022-05-27T16:46:38.890Z"), + modifiedAt: new Date("2023-06-11T10:18:55.444Z"), id: "", description: - "geez yuck easily gah mythology tectonics delicious thankfully fast", + "unnaturally up integer charter zowie march bravely questionable yuck", selectable: false, deletable: false, organizationId: "", diff --git a/docs/models/components/checkoutlinkproductcreatemetadata.md b/docs/models/components/checkoutlinkproductcreatemetadata.md index fa6ea511..bb8373ae 100644 --- a/docs/models/components/checkoutlinkproductcreatemetadata.md +++ b/docs/models/components/checkoutlinkproductcreatemetadata.md @@ -12,7 +12,7 @@ const value: string = ""; ### `number` ```typescript -const value: number = 429992; +const value: number = 265994; ``` ### `boolean` diff --git a/docs/models/components/checkoutlinksortproperty.md b/docs/models/components/checkoutlinksortproperty.md index caa81d84..25aecc00 100644 --- a/docs/models/components/checkoutlinksortproperty.md +++ b/docs/models/components/checkoutlinksortproperty.md @@ -5,7 +5,7 @@ ```typescript import { CheckoutLinkSortProperty } from "@polar-sh/sdk/models/components"; -let value: CheckoutLinkSortProperty = "-created_at"; +let value: CheckoutLinkSortProperty = "created_at"; ``` ## Values diff --git a/docs/models/components/checkoutlinkupdatemetadata.md b/docs/models/components/checkoutlinkupdatemetadata.md index b89eca4a..1c82da34 100644 --- a/docs/models/components/checkoutlinkupdatemetadata.md +++ b/docs/models/components/checkoutlinkupdatemetadata.md @@ -12,7 +12,7 @@ const value: string = ""; ### `number` ```typescript -const value: number = 969579; +const value: number = 534537; ``` ### `boolean` diff --git a/docs/models/components/checkoutmetadata.md b/docs/models/components/checkoutmetadata.md index fbac35f7..023d2bcc 100644 --- a/docs/models/components/checkoutmetadata.md +++ b/docs/models/components/checkoutmetadata.md @@ -12,7 +12,7 @@ const value: string = ""; ### `number` ```typescript -const value: number = 848972; +const value: number = 70077; ``` ### `boolean` diff --git a/docs/models/components/checkoutpricecreatemetadata.md b/docs/models/components/checkoutpricecreatemetadata.md index d8bca0b3..357b6067 100644 --- a/docs/models/components/checkoutpricecreatemetadata.md +++ b/docs/models/components/checkoutpricecreatemetadata.md @@ -12,7 +12,7 @@ const value: string = ""; ### `number` ```typescript -const value: number = 832764; +const value: number = 446714; ``` ### `boolean` diff --git a/docs/models/components/checkoutproduct.md b/docs/models/components/checkoutproduct.md index 752308ee..7b8ea7e3 100644 --- a/docs/models/components/checkoutproduct.md +++ b/docs/models/components/checkoutproduct.md @@ -8,31 +8,35 @@ Product data for a checkout session. import { CheckoutProduct } from "@polar-sh/sdk/models/components"; let value: CheckoutProduct = { - createdAt: new Date("2023-08-05T03:55:20.343Z"), - modifiedAt: new Date("2024-02-05T09:19:43.771Z"), + createdAt: new Date("2022-07-11T21:16:21.517Z"), + modifiedAt: new Date("2022-07-23T02:36:39.393Z"), id: "", name: "", - description: "distorted eek boohoo whup why highly cauliflower", + description: "morning strict meh out advertisement after pushy", isRecurring: false, isArchived: false, organizationId: "", prices: [ { - createdAt: new Date("2022-01-28T01:18:10.928Z"), - modifiedAt: new Date("2022-01-14T02:42:13.650Z"), + createdAt: new Date("2022-12-27T21:21:00.493Z"), + modifiedAt: new Date("2024-12-07T19:33:16.583Z"), id: "", isArchived: false, productId: "", + priceCurrency: "", + minimumAmount: 726, + maximumAmount: 736345, + presetAmount: 405287, recurringInterval: "month", }, ], benefits: [ { - createdAt: new Date("2023-05-04T22:56:26.866Z"), - modifiedAt: new Date("2023-02-06T04:10:00.114Z"), + createdAt: new Date("2022-05-21T02:56:06.369Z"), + modifiedAt: new Date("2022-02-10T22:42:59.328Z"), id: "", - type: "custom", - description: "nor across truthfully untidy bin unfreeze out qua", + type: "github_repository", + description: "on nor across", selectable: false, deletable: false, organizationId: "", @@ -43,19 +47,19 @@ let value: CheckoutProduct = { id: "", organizationId: "", name: "", - path: "/srv", + path: "/rescue", mimeType: "", - size: 94475, + size: 396772, storageVersion: "", checksumEtag: "", checksumSha256Base64: "", checksumSha256Hex: "", - lastModifiedAt: new Date("2024-12-12T06:30:44.864Z"), + lastModifiedAt: new Date("2024-03-17T00:47:08.664Z"), version: "", isUploaded: false, - createdAt: new Date("2023-07-25T15:46:43.780Z"), + createdAt: new Date("2023-11-20T08:32:51.731Z"), sizeReadable: "", - publicUrl: "https://perky-printer.info/", + publicUrl: "https://aggressive-sport.com/", }, ], }; diff --git a/docs/models/components/checkoutproductbenefits.md b/docs/models/components/checkoutproductbenefits.md index 074ba36d..c0c6a32b 100644 --- a/docs/models/components/checkoutproductbenefits.md +++ b/docs/models/components/checkoutproductbenefits.md @@ -7,11 +7,11 @@ ```typescript const value: components.BenefitBase = { - createdAt: new Date("2024-05-20T09:25:06.072Z"), - modifiedAt: new Date("2023-04-07T00:08:29.443Z"), + createdAt: new Date("2023-11-06T18:27:01.469Z"), + modifiedAt: new Date("2023-11-11T04:17:24.386Z"), id: "", - type: "license_keys", - description: "norm procrastinate under on ick lovingly paintwork versus", + type: "articles", + description: "swiftly seldom dandelion successfully essential encode accept", selectable: false, deletable: false, organizationId: "", @@ -22,10 +22,10 @@ const value: components.BenefitBase = { ```typescript const value: components.BenefitArticles = { - createdAt: new Date("2023-06-29T15:00:15.453Z"), - modifiedAt: new Date("2023-06-17T15:00:21.981Z"), + createdAt: new Date("2024-04-11T14:30:53.873Z"), + modifiedAt: new Date("2022-01-10T03:18:49.542Z"), id: "", - description: "french joyously aha eek morning", + description: "paintwork versus ugly curly membership equate", selectable: false, deletable: false, organizationId: "", diff --git a/docs/models/components/checkoutproductcreatemetadata.md b/docs/models/components/checkoutproductcreatemetadata.md index e9436c01..2ec5323f 100644 --- a/docs/models/components/checkoutproductcreatemetadata.md +++ b/docs/models/components/checkoutproductcreatemetadata.md @@ -12,7 +12,7 @@ const value: string = ""; ### `number` ```typescript -const value: number = 199190; +const value: number = 745497; ``` ### `boolean` diff --git a/docs/models/components/checkoutpublic.md b/docs/models/components/checkoutpublic.md index 9d98c88c..8bf93d1b 100644 --- a/docs/models/components/checkoutpublic.md +++ b/docs/models/components/checkoutpublic.md @@ -8,20 +8,20 @@ Checkout session data retrieved using the client secret. import { CheckoutPublic } from "@polar-sh/sdk/models/components"; let value: CheckoutPublic = { - createdAt: new Date("2024-04-07T12:35:14.352Z"), - modifiedAt: new Date("2024-05-16T05:15:18.386Z"), + createdAt: new Date("2023-05-16T04:33:28.578Z"), + modifiedAt: new Date("2022-05-20T06:56:19.867Z"), id: "", - status: "confirmed", + status: "expired", clientSecret: "", - url: "https://filthy-toaster.info", - expiresAt: new Date("2023-08-05T02:47:44.010Z"), - successUrl: "https://another-bookend.com/", + url: "https://blushing-smog.net/", + expiresAt: new Date("2023-04-23T09:01:31.581Z"), + successUrl: "https://grimy-trolley.name", embedOrigin: "", - amount: 770626, - taxAmount: 759632, - currency: "Jordanian Dinar", - subtotalAmount: 608634, - totalAmount: 150044, + amount: 111203, + taxAmount: 475182, + currency: "Forint", + subtotalAmount: 34104, + totalAmount: 349710, productId: "", productPriceId: "", discountId: "", @@ -33,43 +33,42 @@ let value: CheckoutPublic = { isPaymentFormRequired: false, customerId: "", customerName: "", - customerEmail: "Lilliana_Stiedemann@hotmail.com", + customerEmail: "Destiny.Cremin29@hotmail.com", customerIpAddress: "", customerBillingAddress: { - country: "Congo", + country: "Kuwait", }, customerTaxId: "", paymentProcessorMetadata: {}, product: { - createdAt: new Date("2022-07-11T13:38:37.825Z"), - modifiedAt: new Date("2023-05-10T19:50:13.724Z"), + createdAt: new Date("2024-11-28T22:17:24.181Z"), + modifiedAt: new Date("2022-11-05T13:23:20.741Z"), id: "", name: "", - description: "even closed blah crystallize fine", + description: "sleepily ostrich at sit heartfelt filthy abnormally gee", isRecurring: false, isArchived: false, organizationId: "", prices: [ { - createdAt: new Date("2023-07-25T20:12:09.049Z"), - modifiedAt: new Date("2024-07-31T00:30:30.990Z"), + createdAt: new Date("2024-02-18T20:22:17.576Z"), + modifiedAt: new Date("2023-04-04T10:21:32.909Z"), id: "", isArchived: false, productId: "", + recurringInterval: "month", }, ], benefits: [ { - createdAt: new Date("2023-06-25T20:54:21.122Z"), - modifiedAt: new Date("2024-07-11T22:56:49.981Z"), + createdAt: new Date("2022-07-11T13:38:37.825Z"), + modifiedAt: new Date("2023-05-10T19:50:13.724Z"), id: "", - description: "ack indolent geez brr tabletop deserted vibrant", + type: "ads", + description: "uh-huh afore cross", selectable: false, deletable: false, organizationId: "", - properties: { - paidArticles: false, - }, }, ], medias: [ @@ -77,59 +76,59 @@ let value: CheckoutPublic = { id: "", organizationId: "", name: "", - path: "/Library", + path: "/System", mimeType: "", - size: 812403, + size: 13831, storageVersion: "", checksumEtag: "", checksumSha256Base64: "", checksumSha256Hex: "", - lastModifiedAt: new Date("2022-05-08T23:36:08.958Z"), + lastModifiedAt: new Date("2024-10-12T04:07:38.112Z"), version: "", isUploaded: false, - createdAt: new Date("2024-05-28T21:58:09.513Z"), + createdAt: new Date("2022-04-28T16:01:19.072Z"), sizeReadable: "", - publicUrl: "https://improbable-premier.org", + publicUrl: "https://digital-numeracy.org/", }, ], }, productPrice: { - createdAt: new Date("2022-02-21T23:36:45.651Z"), - modifiedAt: new Date("2023-01-07T02:37:51.844Z"), + createdAt: new Date("2023-05-01T14:47:06.099Z"), + modifiedAt: new Date("2023-08-11T20:04:48.452Z"), id: "", isArchived: false, productId: "", priceCurrency: "", - minimumAmount: 141186, - maximumAmount: 536783, - presetAmount: 603216, + minimumAmount: 269353, + maximumAmount: 694927, + presetAmount: 709929, recurringInterval: "year", }, discount: { - duration: "repeating", - durationInMonths: 567481, + duration: "forever", + durationInMonths: 493496, type: "percentage", - basisPoints: 354918, + basisPoints: 584321, id: "", name: "", code: "", }, organization: { - createdAt: new Date("2022-08-09T05:17:44.333Z"), - modifiedAt: new Date("2023-07-31T13:05:52.298Z"), + createdAt: new Date("2022-03-25T07:10:04.801Z"), + modifiedAt: new Date("2024-05-29T15:48:13.106Z"), id: "", name: "", slug: "", - avatarUrl: "https://unusual-accompanist.org", + avatarUrl: "https://authentic-rust.org", bio: "", - company: "Weimann LLC", + company: "Jacobi, Raynor and Greenholt", blog: "", location: "", - email: "Lori.Waelchi@yahoo.com", + email: "Josephine.Jerde@yahoo.com", twitterUsername: "", - pledgeMinimumAmount: 190139, + pledgeMinimumAmount: 677862, pledgeBadgeShowAmount: false, - defaultUpfrontSplitToContributors: 428147, + defaultUpfrontSplitToContributors: 284513, profileSettings: {}, featureSettings: {}, }, @@ -137,8 +136,8 @@ let value: CheckoutPublic = { { customFieldId: "", customField: { - createdAt: new Date("2024-01-05T18:27:37.711Z"), - modifiedAt: new Date("2024-04-05T10:17:53.045Z"), + createdAt: new Date("2022-09-14T06:51:41.271Z"), + modifiedAt: new Date("2024-04-18T08:09:28.288Z"), id: "", metadata: { "key": false, @@ -146,9 +145,16 @@ let value: CheckoutPublic = { slug: "", name: "", organizationId: "", - properties: {}, + properties: { + options: [ + { + value: "", + label: "", + }, + ], + }, }, - order: 394352, + order: 117748, required: false, }, ], diff --git a/docs/models/components/checkoutpublicdiscount.md b/docs/models/components/checkoutpublicdiscount.md index 1471ea55..197f2210 100644 --- a/docs/models/components/checkoutpublicdiscount.md +++ b/docs/models/components/checkoutpublicdiscount.md @@ -9,8 +9,8 @@ const value: components.CheckoutDiscountFixedOnceForeverDuration = { duration: "forever", type: "percentage", - amount: 25794, - currency: "Sri Lanka Rupee", + amount: 363615, + currency: "Uganda Shilling", id: "", name: "", code: "", @@ -21,11 +21,11 @@ const value: components.CheckoutDiscountFixedOnceForeverDuration = { ```typescript const value: components.CheckoutDiscountFixedRepeatDuration = { - duration: "forever", - durationInMonths: 72783, + duration: "once", + durationInMonths: 252835, type: "percentage", - amount: 402986, - currency: "New Israeli Sheqel", + amount: 932771, + currency: "Cuban Peso", id: "", name: "", code: "", @@ -36,9 +36,9 @@ const value: components.CheckoutDiscountFixedRepeatDuration = { ```typescript const value: components.CheckoutDiscountPercentageOnceForeverDuration = { - duration: "repeating", - type: "fixed", - basisPoints: 372084, + duration: "once", + type: "percentage", + basisPoints: 361465, id: "", name: "", code: "", @@ -49,10 +49,10 @@ const value: components.CheckoutDiscountPercentageOnceForeverDuration = { ```typescript const value: components.CheckoutDiscountPercentageRepeatDuration = { - duration: "forever", - durationInMonths: 361236, - type: "percentage", - basisPoints: 758285, + duration: "once", + durationInMonths: 227235, + type: "fixed", + basisPoints: 832988, id: "", name: "", code: "", diff --git a/docs/models/components/checkoutsortproperty.md b/docs/models/components/checkoutsortproperty.md index 3049472b..9a1ed417 100644 --- a/docs/models/components/checkoutsortproperty.md +++ b/docs/models/components/checkoutsortproperty.md @@ -5,7 +5,7 @@ ```typescript import { CheckoutSortProperty } from "@polar-sh/sdk/models/components"; -let value: CheckoutSortProperty = "-created_at"; +let value: CheckoutSortProperty = "expires_at"; ``` ## Values diff --git a/docs/models/components/checkoutstatus.md b/docs/models/components/checkoutstatus.md index 8aa4b322..7f97aa80 100644 --- a/docs/models/components/checkoutstatus.md +++ b/docs/models/components/checkoutstatus.md @@ -5,7 +5,7 @@ ```typescript import { CheckoutStatus } from "@polar-sh/sdk/models/components"; -let value: CheckoutStatus = "expired"; +let value: CheckoutStatus = "confirmed"; ``` ## Values diff --git a/docs/models/components/checkoutupdatemetadata.md b/docs/models/components/checkoutupdatemetadata.md index 3e8ec25a..514c508b 100644 --- a/docs/models/components/checkoutupdatemetadata.md +++ b/docs/models/components/checkoutupdatemetadata.md @@ -12,7 +12,7 @@ const value: string = ""; ### `number` ```typescript -const value: number = 230161; +const value: number = 430809; ``` ### `boolean` diff --git a/docs/models/components/currencyamount.md b/docs/models/components/currencyamount.md index e47b58d1..bc1d73ca 100644 --- a/docs/models/components/currencyamount.md +++ b/docs/models/components/currencyamount.md @@ -6,8 +6,8 @@ import { CurrencyAmount } from "@polar-sh/sdk/models/components"; let value: CurrencyAmount = { - currency: "Uganda Shilling", - amount: 870554, + currency: "Mexican Peso", + amount: 905366, }; ``` diff --git a/docs/models/components/customfieldcreatecheckboxmetadata.md b/docs/models/components/customfieldcreatecheckboxmetadata.md index e81e4fff..88a8471a 100644 --- a/docs/models/components/customfieldcreatecheckboxmetadata.md +++ b/docs/models/components/customfieldcreatecheckboxmetadata.md @@ -12,7 +12,7 @@ const value: string = ""; ### `number` ```typescript -const value: number = 403196; +const value: number = 211331; ``` ### `boolean` diff --git a/docs/models/components/customfieldcreatedatemetadata.md b/docs/models/components/customfieldcreatedatemetadata.md index 5bdb778d..9bc1d0aa 100644 --- a/docs/models/components/customfieldcreatedatemetadata.md +++ b/docs/models/components/customfieldcreatedatemetadata.md @@ -12,7 +12,7 @@ const value: string = ""; ### `number` ```typescript -const value: number = 25576; +const value: number = 364462; ``` ### `boolean` diff --git a/docs/models/components/customfieldcreatenumbermetadata.md b/docs/models/components/customfieldcreatenumbermetadata.md index 929b4fb5..1a4b00c0 100644 --- a/docs/models/components/customfieldcreatenumbermetadata.md +++ b/docs/models/components/customfieldcreatenumbermetadata.md @@ -12,7 +12,7 @@ const value: string = ""; ### `number` ```typescript -const value: number = 136127; +const value: number = 236245; ``` ### `boolean` diff --git a/docs/models/components/customfieldcreateselectmetadata.md b/docs/models/components/customfieldcreateselectmetadata.md index aae7decf..423936b3 100644 --- a/docs/models/components/customfieldcreateselectmetadata.md +++ b/docs/models/components/customfieldcreateselectmetadata.md @@ -12,7 +12,7 @@ const value: string = ""; ### `number` ```typescript -const value: number = 775061; +const value: number = 543884; ``` ### `boolean` diff --git a/docs/models/components/customfieldcreatetextmetadata.md b/docs/models/components/customfieldcreatetextmetadata.md index 605726e0..bb625238 100644 --- a/docs/models/components/customfieldcreatetextmetadata.md +++ b/docs/models/components/customfieldcreatetextmetadata.md @@ -12,7 +12,7 @@ const value: string = ""; ### `number` ```typescript -const value: number = 841626; +const value: number = 984659; ``` ### `boolean` diff --git a/docs/models/components/customfieldsortproperty.md b/docs/models/components/customfieldsortproperty.md index 831929ef..cf08c208 100644 --- a/docs/models/components/customfieldsortproperty.md +++ b/docs/models/components/customfieldsortproperty.md @@ -5,7 +5,7 @@ ```typescript import { CustomFieldSortProperty } from "@polar-sh/sdk/models/components"; -let value: CustomFieldSortProperty = "-name"; +let value: CustomFieldSortProperty = "-slug"; ``` ## Values diff --git a/docs/models/components/customfieldupdatecheckboxmetadata.md b/docs/models/components/customfieldupdatecheckboxmetadata.md index 73e506fd..4134b3cf 100644 --- a/docs/models/components/customfieldupdatecheckboxmetadata.md +++ b/docs/models/components/customfieldupdatecheckboxmetadata.md @@ -12,7 +12,7 @@ const value: string = ""; ### `number` ```typescript -const value: number = 708899; +const value: number = 354888; ``` ### `boolean` diff --git a/docs/models/components/customfieldupdatedatemetadata.md b/docs/models/components/customfieldupdatedatemetadata.md index c84b8e6a..3ffbce2e 100644 --- a/docs/models/components/customfieldupdatedatemetadata.md +++ b/docs/models/components/customfieldupdatedatemetadata.md @@ -12,7 +12,7 @@ const value: string = ""; ### `number` ```typescript -const value: number = 663370; +const value: number = 742133; ``` ### `boolean` diff --git a/docs/models/components/customfieldupdatenumbermetadata.md b/docs/models/components/customfieldupdatenumbermetadata.md index f13c1ad0..1c48adc4 100644 --- a/docs/models/components/customfieldupdatenumbermetadata.md +++ b/docs/models/components/customfieldupdatenumbermetadata.md @@ -12,7 +12,7 @@ const value: string = ""; ### `number` ```typescript -const value: number = 850288; +const value: number = 482659; ``` ### `boolean` diff --git a/docs/models/components/customfieldupdateselectmetadata.md b/docs/models/components/customfieldupdateselectmetadata.md index c1f297ac..8587efc2 100644 --- a/docs/models/components/customfieldupdateselectmetadata.md +++ b/docs/models/components/customfieldupdateselectmetadata.md @@ -12,7 +12,7 @@ const value: string = ""; ### `number` ```typescript -const value: number = 516918; +const value: number = 282389; ``` ### `boolean` diff --git a/docs/models/components/customfieldupdatetextmetadata.md b/docs/models/components/customfieldupdatetextmetadata.md index 1bd7f30c..bb41c1b9 100644 --- a/docs/models/components/customfieldupdatetextmetadata.md +++ b/docs/models/components/customfieldupdatetextmetadata.md @@ -12,7 +12,7 @@ const value: string = ""; ### `number` ```typescript -const value: number = 348424; +const value: number = 922269; ``` ### `boolean` diff --git a/docs/models/components/discount.md b/docs/models/components/discount.md index 9978bbbe..720e6a41 100644 --- a/docs/models/components/discount.md +++ b/docs/models/components/discount.md @@ -8,29 +8,30 @@ ```typescript const value: components.DiscountFixedOnceForeverDuration = { duration: "forever", - type: "percentage", - amount: 335236, - currency: "Kwanza", - createdAt: new Date("2023-09-02T13:07:23.352Z"), - modifiedAt: new Date("2022-11-05T07:00:15.686Z"), + type: "fixed", + amount: 58392, + currency: "CFA Franc BEAC", + createdAt: new Date("2022-04-20T04:28:39.456Z"), + modifiedAt: new Date("2022-10-24T11:54:41.972Z"), id: "", metadata: { "key": false, }, name: "", code: "", - startsAt: new Date("2022-07-08T06:05:15.080Z"), - endsAt: new Date("2024-07-15T05:38:17.776Z"), - maxRedemptions: 760910, - redemptionsCount: 376595, + startsAt: new Date("2023-09-26T05:47:37.240Z"), + endsAt: new Date("2024-07-23T23:08:53.455Z"), + maxRedemptions: 695125, + redemptionsCount: 46403, organizationId: "", products: [ { - createdAt: new Date("2022-07-08T18:50:43.868Z"), - modifiedAt: new Date("2024-07-26T06:38:49.989Z"), + createdAt: new Date("2022-06-14T04:53:15.444Z"), + modifiedAt: new Date("2022-05-09T19:43:06.838Z"), id: "", name: "", - description: "helplessly malfunction evenly put under", + description: + "upright obnoxiously when incidentally helplessly malfunction", isRecurring: false, isArchived: false, organizationId: "", @@ -43,31 +44,31 @@ const value: components.DiscountFixedOnceForeverDuration = { ```typescript const value: components.DiscountFixedRepeatDuration = { - duration: "repeating", - durationInMonths: 571153, - type: "fixed", - amount: 958764, - currency: "Venezuelan bolívar", - createdAt: new Date("2022-01-19T15:53:11.663Z"), - modifiedAt: new Date("2022-05-13T16:31:23.365Z"), + duration: "forever", + durationInMonths: 796898, + type: "percentage", + amount: 763730, + currency: "Nakfa", + createdAt: new Date("2022-03-21T23:21:40.012Z"), + modifiedAt: new Date("2022-08-20T04:01:20.962Z"), id: "", metadata: { - "key": 690525, + "key": 548887, }, name: "", code: "", - startsAt: new Date("2023-05-25T11:06:48.802Z"), - endsAt: new Date("2022-07-19T13:05:06.436Z"), - maxRedemptions: 420280, - redemptionsCount: 205361, + startsAt: new Date("2023-07-11T13:49:20.475Z"), + endsAt: new Date("2022-03-22T04:58:26.239Z"), + maxRedemptions: 410869, + redemptionsCount: 26189, organizationId: "", products: [ { - createdAt: new Date("2024-05-31T09:41:53.912Z"), - modifiedAt: new Date("2023-08-18T06:37:46.018Z"), + createdAt: new Date("2023-12-18T02:46:32.806Z"), + modifiedAt: new Date("2022-09-27T11:22:21.513Z"), id: "", name: "", - description: "jealously meh tuxedo when archive that", + description: "midwife reckon hoot jealously meh tuxedo when archive", isRecurring: false, isArchived: false, organizationId: "", @@ -80,29 +81,29 @@ const value: components.DiscountFixedRepeatDuration = { ```typescript const value: components.DiscountPercentageOnceForeverDuration = { - duration: "forever", + duration: "repeating", type: "fixed", - basisPoints: 843922, - createdAt: new Date("2024-02-10T10:16:05.726Z"), - modifiedAt: new Date("2023-06-01T22:14:48.309Z"), + basisPoints: 916999, + createdAt: new Date("2022-09-28T10:12:23.562Z"), + modifiedAt: new Date("2023-03-29T23:38:42.051Z"), id: "", metadata: { "key": "", }, name: "", code: "", - startsAt: new Date("2024-08-14T00:47:51.897Z"), - endsAt: new Date("2023-04-05T15:28:18.748Z"), - maxRedemptions: 465397, - redemptionsCount: 191993, + startsAt: new Date("2023-12-10T02:59:23.862Z"), + endsAt: new Date("2023-02-18T12:34:13.180Z"), + maxRedemptions: 239175, + redemptionsCount: 843922, organizationId: "", products: [ { - createdAt: new Date("2024-07-02T23:26:34.630Z"), - modifiedAt: new Date("2023-08-26T16:42:10.981Z"), + createdAt: new Date("2024-02-10T10:16:05.726Z"), + modifiedAt: new Date("2023-06-01T22:14:48.309Z"), id: "", name: "", - description: "browse atomize like yahoo failing unsightly hmph habit", + description: "gadzooks browse atomize like yahoo", isRecurring: false, isArchived: false, organizationId: "", @@ -116,29 +117,30 @@ const value: components.DiscountPercentageOnceForeverDuration = { ```typescript const value: components.DiscountPercentageRepeatDuration = { duration: "once", - durationInMonths: 890698, + durationInMonths: 661646, type: "fixed", - basisPoints: 298870, - createdAt: new Date("2022-11-26T17:52:56.229Z"), - modifiedAt: new Date("2024-08-25T03:30:05.569Z"), + basisPoints: 149925, + createdAt: new Date("2024-06-18T17:55:49.940Z"), + modifiedAt: new Date("2023-07-07T15:33:57.659Z"), id: "", metadata: { - "key": "", + "key": 754842, }, name: "", code: "", - startsAt: new Date("2024-07-01T22:06:35.493Z"), - endsAt: new Date("2023-06-08T09:56:29.922Z"), - maxRedemptions: 261144, - redemptionsCount: 584231, + startsAt: new Date("2023-05-31T21:00:32.381Z"), + endsAt: new Date("2023-11-02T13:50:07.480Z"), + maxRedemptions: 406240, + redemptionsCount: 887523, organizationId: "", products: [ { - createdAt: new Date("2022-11-02T18:35:31.377Z"), - modifiedAt: new Date("2023-07-19T07:37:54.459Z"), + createdAt: new Date("2023-09-12T20:38:18.865Z"), + modifiedAt: new Date("2024-09-16T03:39:02.618Z"), id: "", name: "", - description: "stealthily nor how exactly gee eek finding", + description: + "scorn atop gosh outgoing unsung asset valiantly unfortunately for aha", isRecurring: false, isArchived: false, organizationId: "", diff --git a/docs/models/components/discountcreate.md b/docs/models/components/discountcreate.md index f157f19d..ea9f7f2e 100644 --- a/docs/models/components/discountcreate.md +++ b/docs/models/components/discountcreate.md @@ -7,9 +7,9 @@ ```typescript const value: components.DiscountFixedOnceForeverDurationCreate = { - duration: "forever", - type: "percentage", - amount: 552292, + duration: "repeating", + type: "fixed", + amount: 780189, name: "", }; ``` @@ -19,9 +19,9 @@ const value: components.DiscountFixedOnceForeverDurationCreate = { ```typescript const value: components.DiscountFixedRepeatDurationCreate = { duration: "forever", - durationInMonths: 146420, + durationInMonths: 231931, type: "percentage", - amount: 112328, + amount: 881307, name: "", }; ``` @@ -31,8 +31,8 @@ const value: components.DiscountFixedRepeatDurationCreate = { ```typescript const value: components.DiscountPercentageOnceForeverDurationCreate = { duration: "once", - type: "fixed", - basisPoints: 39410, + type: "percentage", + basisPoints: 197014, name: "", }; ``` @@ -41,10 +41,10 @@ const value: components.DiscountPercentageOnceForeverDurationCreate = { ```typescript const value: components.DiscountPercentageRepeatDurationCreate = { - duration: "repeating", - durationInMonths: 891709, - type: "fixed", - basisPoints: 461569, + duration: "forever", + durationInMonths: 931016, + type: "percentage", + basisPoints: 211628, name: "", }; ``` diff --git a/docs/models/components/discountfixedonceforeverduration.md b/docs/models/components/discountfixedonceforeverduration.md index 79d6e3b8..c4a735bb 100644 --- a/docs/models/components/discountfixedonceforeverduration.md +++ b/docs/models/components/discountfixedonceforeverduration.md @@ -8,31 +8,30 @@ Schema for a fixed amount discount that is applied once or forever. import { DiscountFixedOnceForeverDuration } from "@polar-sh/sdk/models/components"; let value: DiscountFixedOnceForeverDuration = { - duration: "once", - type: "percentage", - amount: 149245, - currency: "CFA Franc BCEAO", - createdAt: new Date("2024-06-18T08:31:20.782Z"), - modifiedAt: new Date("2022-12-09T15:18:01.766Z"), + duration: "forever", + type: "fixed", + amount: 744838, + currency: "Lek", + createdAt: new Date("2022-12-30T15:25:34.026Z"), + modifiedAt: new Date("2024-10-10T01:51:10.195Z"), id: "", metadata: { - "key": false, + "key": "", }, name: "", code: "", - startsAt: new Date("2023-09-14T19:38:00.423Z"), - endsAt: new Date("2022-08-31T22:20:29.628Z"), - maxRedemptions: 134387, - redemptionsCount: 249245, + startsAt: new Date("2023-07-28T18:33:10.324Z"), + endsAt: new Date("2022-06-13T13:44:24.745Z"), + maxRedemptions: 949769, + redemptionsCount: 820580, organizationId: "", products: [ { - createdAt: new Date("2023-11-21T08:58:06.942Z"), - modifiedAt: new Date("2024-11-12T10:24:01.727Z"), + createdAt: new Date("2022-12-09T15:18:01.766Z"), + modifiedAt: new Date("2024-04-04T03:11:01.823Z"), id: "", name: "", - description: - "circa fat viciously haircut vibration incidentally up round sophisticated", + description: "until forearm zowie dandelion anti bus digestive", isRecurring: false, isArchived: false, organizationId: "", diff --git a/docs/models/components/discountfixedonceforeverdurationcreate.md b/docs/models/components/discountfixedonceforeverdurationcreate.md index 295dc1ea..8c82e858 100644 --- a/docs/models/components/discountfixedonceforeverdurationcreate.md +++ b/docs/models/components/discountfixedonceforeverdurationcreate.md @@ -8,9 +8,9 @@ Schema to create a fixed amount discount that is applied once or forever. import { DiscountFixedOnceForeverDurationCreate } from "@polar-sh/sdk/models/components"; let value: DiscountFixedOnceForeverDurationCreate = { - duration: "once", + duration: "repeating", type: "percentage", - amount: 864068, + amount: 591752, name: "", }; ``` diff --git a/docs/models/components/discountfixedonceforeverdurationcreatemetadata.md b/docs/models/components/discountfixedonceforeverdurationcreatemetadata.md index 84dee65d..409ebf06 100644 --- a/docs/models/components/discountfixedonceforeverdurationcreatemetadata.md +++ b/docs/models/components/discountfixedonceforeverdurationcreatemetadata.md @@ -12,7 +12,7 @@ const value: string = ""; ### `number` ```typescript -const value: number = 393185; +const value: number = 264954; ``` ### `boolean` diff --git a/docs/models/components/discountfixedonceforeverdurationmetadata.md b/docs/models/components/discountfixedonceforeverdurationmetadata.md index 33b8d951..2fa23757 100644 --- a/docs/models/components/discountfixedonceforeverdurationmetadata.md +++ b/docs/models/components/discountfixedonceforeverdurationmetadata.md @@ -12,7 +12,7 @@ const value: string = ""; ### `number` ```typescript -const value: number = 924341; +const value: number = 200720; ``` ### `boolean` diff --git a/docs/models/components/discountfixedrepeatduration.md b/docs/models/components/discountfixedrepeatduration.md index 5c4c9726..77f73402 100644 --- a/docs/models/components/discountfixedrepeatduration.md +++ b/docs/models/components/discountfixedrepeatduration.md @@ -9,31 +9,31 @@ for a certain number of months. import { DiscountFixedRepeatDuration } from "@polar-sh/sdk/models/components"; let value: DiscountFixedRepeatDuration = { - duration: "forever", - durationInMonths: 886954, - type: "percentage", - amount: 573804, - currency: "Belarusian Ruble", - createdAt: new Date("2024-02-11T17:55:23.281Z"), - modifiedAt: new Date("2024-11-01T11:41:59.439Z"), + duration: "repeating", + durationInMonths: 771406, + type: "fixed", + amount: 583601, + currency: "Moldovan Leu", + createdAt: new Date("2023-03-03T08:26:52.782Z"), + modifiedAt: new Date("2024-05-10T16:59:51.268Z"), id: "", metadata: { - "key": false, + "key": 544028, }, name: "", code: "", - startsAt: new Date("2022-03-25T21:04:22.867Z"), - endsAt: new Date("2022-01-25T16:27:26.116Z"), - maxRedemptions: 460636, - redemptionsCount: 913009, + startsAt: new Date("2023-04-14T22:22:57.873Z"), + endsAt: new Date("2023-05-07T01:33:06.900Z"), + maxRedemptions: 485618, + redemptionsCount: 156181, organizationId: "", products: [ { - createdAt: new Date("2024-03-02T17:01:51.399Z"), - modifiedAt: new Date("2024-12-31T07:50:18.161Z"), + createdAt: new Date("2024-05-30T14:10:56.971Z"), + modifiedAt: new Date("2022-11-15T11:44:33.303Z"), id: "", name: "", - description: "concerning obedient er jeopardise or yet shovel ouch", + description: "tiny almost sturdy elver white light to", isRecurring: false, isArchived: false, organizationId: "", diff --git a/docs/models/components/discountfixedrepeatdurationcreate.md b/docs/models/components/discountfixedrepeatdurationcreate.md index 72aa03ee..043f4376 100644 --- a/docs/models/components/discountfixedrepeatdurationcreate.md +++ b/docs/models/components/discountfixedrepeatdurationcreate.md @@ -10,9 +10,9 @@ import { DiscountFixedRepeatDurationCreate } from "@polar-sh/sdk/models/componen let value: DiscountFixedRepeatDurationCreate = { duration: "once", - durationInMonths: 263629, + durationInMonths: 654647, type: "fixed", - amount: 832469, + amount: 162779, name: "", }; ``` diff --git a/docs/models/components/discountfixedrepeatdurationcreatemetadata.md b/docs/models/components/discountfixedrepeatdurationcreatemetadata.md index 08eb0bd2..dcfb0124 100644 --- a/docs/models/components/discountfixedrepeatdurationcreatemetadata.md +++ b/docs/models/components/discountfixedrepeatdurationcreatemetadata.md @@ -12,7 +12,7 @@ const value: string = ""; ### `number` ```typescript -const value: number = 740819; +const value: number = 281426; ``` ### `boolean` diff --git a/docs/models/components/discountfixedrepeatdurationmetadata.md b/docs/models/components/discountfixedrepeatdurationmetadata.md index cba873d4..d6b89e2f 100644 --- a/docs/models/components/discountfixedrepeatdurationmetadata.md +++ b/docs/models/components/discountfixedrepeatdurationmetadata.md @@ -12,7 +12,7 @@ const value: string = ""; ### `number` ```typescript -const value: number = 950620; +const value: number = 255122; ``` ### `boolean` diff --git a/docs/models/components/discountpercentageonceforeverduration.md b/docs/models/components/discountpercentageonceforeverduration.md index d2449f3f..bc891a8f 100644 --- a/docs/models/components/discountpercentageonceforeverduration.md +++ b/docs/models/components/discountpercentageonceforeverduration.md @@ -9,28 +9,28 @@ import { DiscountPercentageOnceForeverDuration } from "@polar-sh/sdk/models/comp let value: DiscountPercentageOnceForeverDuration = { duration: "forever", - type: "percentage", - basisPoints: 984385, - createdAt: new Date("2023-09-26T22:20:08.593Z"), - modifiedAt: new Date("2022-01-16T16:38:44.010Z"), + type: "fixed", + basisPoints: 971303, + createdAt: new Date("2023-08-02T03:05:20.153Z"), + modifiedAt: new Date("2024-08-28T19:32:15.730Z"), id: "", metadata: { - "key": false, + "key": "", }, name: "", code: "", - startsAt: new Date("2024-03-16T05:56:53.673Z"), - endsAt: new Date("2022-01-28T01:12:49.790Z"), - maxRedemptions: 756662, - redemptionsCount: 719499, + startsAt: new Date("2022-04-08T04:12:08.099Z"), + endsAt: new Date("2024-08-20T17:29:24.705Z"), + maxRedemptions: 416563, + redemptionsCount: 440578, organizationId: "", products: [ { - createdAt: new Date("2022-04-16T20:46:36.695Z"), - modifiedAt: new Date("2023-08-11T20:52:01.499Z"), + createdAt: new Date("2024-12-13T22:59:52.192Z"), + modifiedAt: new Date("2023-03-25T02:11:52.812Z"), id: "", name: "", - description: "webbed because pivot toward postbox mmm excluding", + description: "expansion eek oh intend dirty qua provided", isRecurring: false, isArchived: false, organizationId: "", diff --git a/docs/models/components/discountpercentageonceforeverdurationcreate.md b/docs/models/components/discountpercentageonceforeverdurationcreate.md index 481f39a0..b5cf5df7 100644 --- a/docs/models/components/discountpercentageonceforeverdurationcreate.md +++ b/docs/models/components/discountpercentageonceforeverdurationcreate.md @@ -8,9 +8,9 @@ Schema to create a percentage discount that is applied once or forever. import { DiscountPercentageOnceForeverDurationCreate } from "@polar-sh/sdk/models/components"; let value: DiscountPercentageOnceForeverDurationCreate = { - duration: "once", - type: "fixed", - basisPoints: 278510, + duration: "repeating", + type: "percentage", + basisPoints: 927475, name: "", }; ``` diff --git a/docs/models/components/discountpercentageonceforeverdurationcreatemetadata.md b/docs/models/components/discountpercentageonceforeverdurationcreatemetadata.md index 74387adc..b4358547 100644 --- a/docs/models/components/discountpercentageonceforeverdurationcreatemetadata.md +++ b/docs/models/components/discountpercentageonceforeverdurationcreatemetadata.md @@ -12,7 +12,7 @@ const value: string = ""; ### `number` ```typescript -const value: number = 467619; +const value: number = 131141; ``` ### `boolean` diff --git a/docs/models/components/discountpercentageonceforeverdurationmetadata.md b/docs/models/components/discountpercentageonceforeverdurationmetadata.md index f994b34e..3f3d1459 100644 --- a/docs/models/components/discountpercentageonceforeverdurationmetadata.md +++ b/docs/models/components/discountpercentageonceforeverdurationmetadata.md @@ -12,7 +12,7 @@ const value: string = ""; ### `number` ```typescript -const value: number = 57387; +const value: number = 918398; ``` ### `boolean` diff --git a/docs/models/components/discountpercentagerepeatduration.md b/docs/models/components/discountpercentagerepeatduration.md index d4a3f3ef..d2f3fd18 100644 --- a/docs/models/components/discountpercentagerepeatduration.md +++ b/docs/models/components/discountpercentagerepeatduration.md @@ -9,30 +9,30 @@ for a certain number of months. import { DiscountPercentageRepeatDuration } from "@polar-sh/sdk/models/components"; let value: DiscountPercentageRepeatDuration = { - duration: "repeating", - durationInMonths: 38122, - type: "fixed", - basisPoints: 525146, - createdAt: new Date("2024-07-04T11:17:21.724Z"), - modifiedAt: new Date("2023-10-17T06:34:22.622Z"), + duration: "once", + durationInMonths: 836386, + type: "percentage", + basisPoints: 854327, + createdAt: new Date("2023-06-09T07:31:01.739Z"), + modifiedAt: new Date("2023-12-27T16:42:31.674Z"), id: "", metadata: { - "key": "", + "key": 249124, }, name: "", code: "", - startsAt: new Date("2023-04-06T00:36:00.465Z"), - endsAt: new Date("2023-12-25T13:54:38.176Z"), - maxRedemptions: 988035, - redemptionsCount: 384084, + startsAt: new Date("2022-01-07T19:01:28.624Z"), + endsAt: new Date("2024-10-05T02:35:48.852Z"), + maxRedemptions: 697104, + redemptionsCount: 781832, organizationId: "", products: [ { - createdAt: new Date("2024-12-15T02:44:28.054Z"), - modifiedAt: new Date("2023-08-25T13:14:09.111Z"), + createdAt: new Date("2022-03-23T05:28:57.846Z"), + modifiedAt: new Date("2024-08-25T16:04:33.736Z"), id: "", name: "", - description: "since for representation among elliptical peaceful", + description: "carouse given wilt interesting", isRecurring: false, isArchived: false, organizationId: "", diff --git a/docs/models/components/discountpercentagerepeatdurationcreate.md b/docs/models/components/discountpercentagerepeatdurationcreate.md index f192ddbf..76a13fc0 100644 --- a/docs/models/components/discountpercentagerepeatdurationcreate.md +++ b/docs/models/components/discountpercentagerepeatdurationcreate.md @@ -9,10 +9,10 @@ for a certain number of months. import { DiscountPercentageRepeatDurationCreate } from "@polar-sh/sdk/models/components"; let value: DiscountPercentageRepeatDurationCreate = { - duration: "once", - durationInMonths: 911452, + duration: "forever", + durationInMonths: 919617, type: "fixed", - basisPoints: 671770, + basisPoints: 453969, name: "", }; ``` diff --git a/docs/models/components/discountpercentagerepeatdurationcreatemetadata.md b/docs/models/components/discountpercentagerepeatdurationcreatemetadata.md index d950046d..78d41159 100644 --- a/docs/models/components/discountpercentagerepeatdurationcreatemetadata.md +++ b/docs/models/components/discountpercentagerepeatdurationcreatemetadata.md @@ -12,7 +12,7 @@ const value: string = ""; ### `number` ```typescript -const value: number = 974131; +const value: number = 261712; ``` ### `boolean` diff --git a/docs/models/components/discountpercentagerepeatdurationmetadata.md b/docs/models/components/discountpercentagerepeatdurationmetadata.md index 8be608b5..86d24ba8 100644 --- a/docs/models/components/discountpercentagerepeatdurationmetadata.md +++ b/docs/models/components/discountpercentagerepeatdurationmetadata.md @@ -12,7 +12,7 @@ const value: string = ""; ### `number` ```typescript -const value: number = 906045; +const value: number = 191947; ``` ### `boolean` diff --git a/docs/models/components/discountproduct.md b/docs/models/components/discountproduct.md index 6db830d1..d4b368f3 100644 --- a/docs/models/components/discountproduct.md +++ b/docs/models/components/discountproduct.md @@ -8,11 +8,11 @@ A product that a discount can be applied to. import { DiscountProduct } from "@polar-sh/sdk/models/components"; let value: DiscountProduct = { - createdAt: new Date("2022-01-14T06:47:19.215Z"), - modifiedAt: new Date("2022-02-11T11:01:25.106Z"), + createdAt: new Date("2024-01-22T03:55:14.180Z"), + modifiedAt: new Date("2022-03-03T00:48:40.640Z"), id: "", name: "", - description: "times till than mooch meh gosh", + description: "provided monstrous unnaturally when er fat", isRecurring: false, isArchived: false, organizationId: "", diff --git a/docs/models/components/discountsortproperty.md b/docs/models/components/discountsortproperty.md index e79b3139..b9d8bf46 100644 --- a/docs/models/components/discountsortproperty.md +++ b/docs/models/components/discountsortproperty.md @@ -5,7 +5,7 @@ ```typescript import { DiscountSortProperty } from "@polar-sh/sdk/models/components"; -let value: DiscountSortProperty = "-created_at"; +let value: DiscountSortProperty = "-name"; ``` ## Values diff --git a/docs/models/components/discountupdatemetadata.md b/docs/models/components/discountupdatemetadata.md index c90f7c4b..1cece04b 100644 --- a/docs/models/components/discountupdatemetadata.md +++ b/docs/models/components/discountupdatemetadata.md @@ -12,7 +12,7 @@ const value: string = ""; ### `number` ```typescript -const value: number = 349697; +const value: number = 965818; ``` ### `boolean` diff --git a/docs/models/components/downloadablefilecreate.md b/docs/models/components/downloadablefilecreate.md index 0307c179..7782928a 100644 --- a/docs/models/components/downloadablefilecreate.md +++ b/docs/models/components/downloadablefilecreate.md @@ -10,13 +10,13 @@ import { DownloadableFileCreate } from "@polar-sh/sdk/models/components"; let value: DownloadableFileCreate = { name: "", mimeType: "", - size: 147108, + size: 604705, upload: { parts: [ { - number: 642392, - chunkStart: 3418, - chunkEnd: 392697, + number: 428114, + chunkStart: 567510, + chunkEnd: 789791, }, ], }, diff --git a/docs/models/components/downloadablefileread.md b/docs/models/components/downloadablefileread.md index 40f4f08a..5a3f0fe8 100644 --- a/docs/models/components/downloadablefileread.md +++ b/docs/models/components/downloadablefileread.md @@ -11,17 +11,17 @@ let value: DownloadableFileRead = { id: "", organizationId: "", name: "", - path: "/System", + path: "/usr/bin", mimeType: "", - size: 714352, + size: 968703, storageVersion: "", checksumEtag: "", checksumSha256Base64: "", checksumSha256Hex: "", - lastModifiedAt: new Date("2022-10-26T18:09:17.843Z"), + lastModifiedAt: new Date("2022-07-22T16:30:04.938Z"), version: "", isUploaded: false, - createdAt: new Date("2022-05-08T20:07:14.403Z"), + createdAt: new Date("2023-11-09T11:34:47.159Z"), sizeReadable: "", }; ``` diff --git a/docs/models/components/filecreate.md b/docs/models/components/filecreate.md index 06bdfff2..c26363d3 100644 --- a/docs/models/components/filecreate.md +++ b/docs/models/components/filecreate.md @@ -9,13 +9,13 @@ const value: components.DownloadableFileCreate = { name: "", mimeType: "", - size: 961246, + size: 794873, upload: { parts: [ { - number: 466249, - chunkStart: 488285, - chunkEnd: 529061, + number: 719737, + chunkStart: 174370, + chunkEnd: 743991, }, ], }, @@ -28,13 +28,13 @@ const value: components.DownloadableFileCreate = { const value: components.OrganizationAvatarFileCreate = { name: "", mimeType: "", - size: 266560, + size: 115110, upload: { parts: [ { - number: 248004, - chunkStart: 488385, - chunkEnd: 500730, + number: 917755, + chunkStart: 689770, + chunkEnd: 111913, }, ], }, @@ -47,13 +47,13 @@ const value: components.OrganizationAvatarFileCreate = { const value: components.ProductMediaFileCreate = { name: "", mimeType: "", - size: 289282, + size: 836578, upload: { parts: [ { - number: 582313, - chunkStart: 770792, - chunkEnd: 689579, + number: 678419, + chunkStart: 711897, + chunkEnd: 487429, }, ], }, diff --git a/docs/models/components/fileread.md b/docs/models/components/fileread.md index 1afc254c..27b0c074 100644 --- a/docs/models/components/fileread.md +++ b/docs/models/components/fileread.md @@ -10,17 +10,17 @@ const value: components.DownloadableFileRead = { id: "", organizationId: "", name: "", - path: "/home", + path: "/srv", mimeType: "", - size: 294050, + size: 88050, storageVersion: "", checksumEtag: "", checksumSha256Base64: "", checksumSha256Hex: "", - lastModifiedAt: new Date("2023-08-10T01:38:45.701Z"), + lastModifiedAt: new Date("2024-11-28T03:50:45.871Z"), version: "", isUploaded: false, - createdAt: new Date("2023-11-06T08:55:11.482Z"), + createdAt: new Date("2023-01-07T19:21:33.053Z"), sizeReadable: "", }; ``` @@ -32,19 +32,19 @@ const value: components.OrganizationAvatarFileRead = { id: "", organizationId: "", name: "", - path: "/usr/local/bin", + path: "/bin", mimeType: "", - size: 719737, + size: 503615, storageVersion: "", checksumEtag: "", checksumSha256Base64: "", checksumSha256Hex: "", - lastModifiedAt: new Date("2022-07-11T02:37:33.682Z"), + lastModifiedAt: new Date("2022-05-14T13:28:32.287Z"), version: "", isUploaded: false, - createdAt: new Date("2024-03-26T09:56:20.287Z"), + createdAt: new Date("2023-12-15T10:23:59.029Z"), sizeReadable: "", - publicUrl: "https://upset-polyester.com/", + publicUrl: "https://tired-tabletop.biz", }; ``` @@ -55,19 +55,19 @@ const value: components.ProductMediaFileRead = { id: "", organizationId: "", name: "", - path: "/usr/ports", + path: "/opt", mimeType: "", - size: 678419, + size: 974473, storageVersion: "", checksumEtag: "", checksumSha256Base64: "", checksumSha256Hex: "", - lastModifiedAt: new Date("2024-02-20T05:44:31.280Z"), + lastModifiedAt: new Date("2023-04-21T13:52:46.611Z"), version: "", isUploaded: false, - createdAt: new Date("2023-06-19T05:19:44.942Z"), + createdAt: new Date("2023-03-20T13:22:59.184Z"), sizeReadable: "", - publicUrl: "https://interesting-merit.net", + publicUrl: "https://deserted-intent.info", }; ``` diff --git a/docs/models/components/fileupload.md b/docs/models/components/fileupload.md index 15242191..7670eab1 100644 --- a/docs/models/components/fileupload.md +++ b/docs/models/components/fileupload.md @@ -9,29 +9,29 @@ let value: FileUpload = { id: "", organizationId: "", name: "", - path: "/usr/sbin", + path: "/selinux", mimeType: "", - size: 259777, + size: 886063, storageVersion: "", checksumEtag: "", checksumSha256Base64: "", checksumSha256Hex: "", - lastModifiedAt: new Date("2023-03-19T18:54:22.824Z"), + lastModifiedAt: new Date("2023-01-24T23:45:29.745Z"), upload: { id: "", - path: "/boot", + path: "/home/user", parts: [ { - number: 149142, - chunkStart: 1789, - chunkEnd: 360035, - url: "https://optimistic-sport.biz", - expiresAt: new Date("2024-01-13T08:47:31.957Z"), + number: 526045, + chunkStart: 531209, + chunkEnd: 910072, + url: "https://tight-nucleotidase.org/", + expiresAt: new Date("2024-03-27T18:09:35.560Z"), }, ], }, version: "", - service: "organization_avatar", + service: "product_media", sizeReadable: "", }; ``` diff --git a/docs/models/components/fileuploadcompleted.md b/docs/models/components/fileuploadcompleted.md index 1e2b256e..a233c956 100644 --- a/docs/models/components/fileuploadcompleted.md +++ b/docs/models/components/fileuploadcompleted.md @@ -7,10 +7,10 @@ import { FileUploadCompleted } from "@polar-sh/sdk/models/components"; let value: FileUploadCompleted = { id: "", - path: "/tmp", + path: "/private/var", parts: [ { - number: 809794, + number: 731201, checksumEtag: "", checksumSha256Base64: "", }, diff --git a/docs/models/components/interval.md b/docs/models/components/interval.md index cc0daf08..dd273261 100644 --- a/docs/models/components/interval.md +++ b/docs/models/components/interval.md @@ -5,7 +5,7 @@ ```typescript import { Interval } from "@polar-sh/sdk/models/components"; -let value: Interval = "day"; +let value: Interval = "hour"; ``` ## Values diff --git a/docs/models/components/issue.md b/docs/models/components/issue.md index 76fe04c0..d48c51f7 100644 --- a/docs/models/components/issue.md +++ b/docs/models/components/issue.md @@ -6,52 +6,52 @@ import { Issue } from "@polar-sh/sdk/models/components"; let value: Issue = { - id: "d5d64c1e-6539-4f53-a313-ab6f2b6332f6", - number: 432370, + id: "ae51f8df-d8f7-43de-a0b5-d392e2a3c2c8", + number: 520608, title: "", state: "closed", - issueCreatedAt: new Date("2024-04-11T09:52:16.670Z"), + issueCreatedAt: new Date("2023-10-25T10:59:06.043Z"), needsConfirmationSolved: false, funding: {}, repository: { - id: "0afd4979-8b56-4904-a72b-1bdaeb3d3d98", + id: "39447394-2e6f-4603-8d5d-64c1e6539f53", isPrivate: false, name: "MyOrg", - description: "packaging for boohoo gosh terrorise official", + description: "provider notwithstanding to", stars: 1337, license: "", homepage: "", profileSettings: {}, organization: { - id: "0eef741e-bccd-415d-bbcc-1d1d53317caf", + id: "49798b56-9047-42b1-8bda-eb3d3d989647", name: "", - avatarUrl: "https://inconsequential-case.info", + avatarUrl: "https://negative-pine.name", isPersonal: false, bio: "", prettyName: "", - company: "Harvey, Cartwright and Lemke", + company: "Larson, Anderson and Thompson", blog: "", location: "", - email: "Billy_Lang3@yahoo.com", + email: "Monte_Casper3@gmail.com", twitterUsername: "", organizationId: "", }, internalOrganization: { - createdAt: new Date("2023-04-28T18:05:33.637Z"), - modifiedAt: new Date("2022-04-25T01:56:50.230Z"), + createdAt: new Date("2023-05-07T09:05:33.673Z"), + modifiedAt: new Date("2023-10-04T22:19:18.223Z"), id: "", name: "", slug: "", - avatarUrl: "https://edible-fraudster.com", + avatarUrl: "https://serene-turret.info/", bio: "", - company: "Stanton - Lesch", + company: "Spinka - Weissnat", blog: "", location: "", - email: "Corbin.McDermott19@hotmail.com", + email: "Kendrick.Hodkiewicz8@hotmail.com", twitterUsername: "", - pledgeMinimumAmount: 759559, + pledgeMinimumAmount: 915652, pledgeBadgeShowAmount: false, - defaultUpfrontSplitToContributors: 88180, + defaultUpfrontSplitToContributors: 853453, profileSettings: {}, featureSettings: {}, }, diff --git a/docs/models/components/label.md b/docs/models/components/label.md index 7581b98b..ab0086e4 100644 --- a/docs/models/components/label.md +++ b/docs/models/components/label.md @@ -7,7 +7,7 @@ import { Label } from "@polar-sh/sdk/models/components"; let value: Label = { name: "", - color: "indigo", + color: "lavender", }; ``` diff --git a/docs/models/components/listresourcecheckout.md b/docs/models/components/listresourcecheckout.md index 133013e8..9b2848f7 100644 --- a/docs/models/components/listresourcecheckout.md +++ b/docs/models/components/listresourcecheckout.md @@ -8,20 +8,20 @@ import { ListResourceCheckout } from "@polar-sh/sdk/models/components"; let value: ListResourceCheckout = { items: [ { - createdAt: new Date("2024-04-27T04:38:56.421Z"), - modifiedAt: new Date("2022-05-05T15:41:13.291Z"), + createdAt: new Date("2024-09-01T06:14:13.897Z"), + modifiedAt: new Date("2024-09-18T22:39:55.324Z"), id: "", - status: "confirmed", + status: "open", clientSecret: "", - url: "https://mixed-bran.com", - expiresAt: new Date("2023-11-07T03:41:27.826Z"), - successUrl: "https://yummy-metabolite.biz", + url: "https://infamous-appliance.name", + expiresAt: new Date("2022-05-08T21:46:59.571Z"), + successUrl: "https://likable-exterior.org/", embedOrigin: "", - amount: 405076, - taxAmount: 106639, - currency: "Jamaican Dollar", - subtotalAmount: 840168, - totalAmount: 390200, + amount: 315591, + taxAmount: 822577, + currency: "UAE Dirham", + subtotalAmount: 949209, + totalAmount: 54329, productId: "", productPriceId: "", discountId: "", @@ -33,47 +33,42 @@ let value: ListResourceCheckout = { isPaymentFormRequired: false, customerId: "", customerName: "", - customerEmail: "Cassandre.Pollich81@gmail.com", + customerEmail: "Albin_Bechtelar-Heller32@gmail.com", customerIpAddress: "", customerBillingAddress: { - country: "Marshall Islands", + country: "Democratic Republic of the Congo", }, customerTaxId: "", paymentProcessorMetadata: {}, metadata: { - "key": "", + "key": false, }, product: { - createdAt: new Date("2024-01-30T15:45:00.257Z"), - modifiedAt: new Date("2023-02-16T17:45:29.595Z"), + createdAt: new Date("2023-02-19T14:14:08.755Z"), + modifiedAt: new Date("2024-06-18T00:47:07.924Z"), id: "", name: "", - description: - "unless tattered hourly or huzzah vanish obnoxiously beside eternity", + description: "ha cap than times thankfully lost fooey late", isRecurring: false, isArchived: false, organizationId: "", prices: [ { - createdAt: new Date("2023-07-07T18:19:06.566Z"), - modifiedAt: new Date("2024-09-12T13:15:58.455Z"), + createdAt: new Date("2022-08-16T05:27:11.731Z"), + modifiedAt: new Date("2022-03-23T09:50:56.423Z"), id: "", isArchived: false, productId: "", - priceCurrency: "", - minimumAmount: 770755, - maximumAmount: 715345, - presetAmount: 572670, recurringInterval: "month", }, ], benefits: [ { - createdAt: new Date("2022-10-11T15:40:30.871Z"), - modifiedAt: new Date("2022-08-02T09:03:13.181Z"), + createdAt: new Date("2022-05-13T02:15:57.626Z"), + modifiedAt: new Date("2024-07-25T14:24:23.868Z"), id: "", - type: "articles", - description: "best-seller teeming anneal masquerade", + type: "github_repository", + description: "like um clonk", selectable: false, deletable: false, organizationId: "", @@ -84,34 +79,36 @@ let value: ListResourceCheckout = { id: "", organizationId: "", name: "", - path: "/bin", + path: "/usr/include", mimeType: "", - size: 344026, + size: 58312, storageVersion: "", checksumEtag: "", checksumSha256Base64: "", checksumSha256Hex: "", - lastModifiedAt: new Date("2022-10-14T16:34:12.050Z"), + lastModifiedAt: new Date("2023-08-13T14:34:33.232Z"), version: "", isUploaded: false, - createdAt: new Date("2023-03-04T12:22:36.931Z"), + createdAt: new Date("2023-08-29T16:35:03.394Z"), sizeReadable: "", - publicUrl: "https://curly-tuxedo.info/", + publicUrl: "https://sizzling-technician.org/", }, ], }, productPrice: { - createdAt: new Date("2023-09-20T10:21:04.413Z"), - modifiedAt: new Date("2022-05-20T04:35:09.735Z"), + createdAt: new Date("2024-10-10T14:33:56.119Z"), + modifiedAt: new Date("2022-02-25T08:29:39.215Z"), id: "", isArchived: false, productId: "", + priceCurrency: "", + priceAmount: 272025, + recurringInterval: "year", }, discount: { - duration: "repeating", - durationInMonths: 404610, - type: "percentage", - basisPoints: 424886, + duration: "once", + type: "fixed", + basisPoints: 194538, id: "", name: "", code: "", @@ -121,26 +118,26 @@ let value: ListResourceCheckout = { { customFieldId: "", customField: { - createdAt: new Date("2024-04-16T03:53:33.652Z"), - modifiedAt: new Date("2024-03-26T21:37:08.155Z"), + createdAt: new Date("2023-07-07T18:19:06.566Z"), + modifiedAt: new Date("2024-09-12T13:15:58.455Z"), id: "", metadata: { - "key": 455640, + "key": false, }, slug: "", name: "", organizationId: "", properties: {}, }, - order: 464806, + order: 715345, required: false, }, ], }, ], pagination: { - totalCount: 298444, - maxPage: 265724, + totalCount: 572670, + maxPage: 328580, }, }; ``` diff --git a/docs/models/components/listresourcecheckoutlink.md b/docs/models/components/listresourcecheckoutlink.md index fa1c1c54..9b7e0b1b 100644 --- a/docs/models/components/listresourcecheckoutlink.md +++ b/docs/models/components/listresourcecheckoutlink.md @@ -8,52 +8,53 @@ import { ListResourceCheckoutLink } from "@polar-sh/sdk/models/components"; let value: ListResourceCheckoutLink = { items: [ { - createdAt: new Date("2022-07-18T08:10:20.804Z"), - modifiedAt: new Date("2022-04-01T07:16:45.965Z"), + createdAt: new Date("2024-07-12T13:59:51.236Z"), + modifiedAt: new Date("2023-11-04T22:50:34.224Z"), id: "", metadata: { "key": false, }, clientSecret: "", - successUrl: "https://oddball-scratch.biz/", + successUrl: "https://timely-reboot.info/", label: "", allowDiscountCodes: false, productId: "", productPriceId: "", discountId: "", product: { - createdAt: new Date("2023-12-10T08:42:56.831Z"), - modifiedAt: new Date("2024-03-11T18:16:52.321Z"), + createdAt: new Date("2022-01-20T14:53:59.810Z"), + modifiedAt: new Date("2024-03-17T14:54:52.778Z"), id: "", name: "", - description: - "toward unto inconsequential portray state hm what seemingly", + description: "shiny coast up", isRecurring: false, isArchived: false, organizationId: "", prices: [ { - createdAt: new Date("2023-09-23T00:12:30.613Z"), - modifiedAt: new Date("2022-10-13T13:05:15.971Z"), + createdAt: new Date("2022-11-17T21:55:34.014Z"), + modifiedAt: new Date("2024-02-16T10:15:12.106Z"), id: "", isArchived: false, productId: "", priceCurrency: "", - minimumAmount: 590659, - maximumAmount: 688082, - presetAmount: 385620, + minimumAmount: 915170, + maximumAmount: 46371, + presetAmount: 217281, }, ], benefits: [ { - createdAt: new Date("2024-11-01T16:04:46.969Z"), - modifiedAt: new Date("2024-12-20T11:54:29.031Z"), + createdAt: new Date("2024-06-01T06:00:53.623Z"), + modifiedAt: new Date("2022-03-19T00:02:48.052Z"), id: "", - type: "custom", - description: "plumber marten dishonor", + description: "till private crystallize painfully", selectable: false, deletable: false, organizationId: "", + properties: { + paidArticles: false, + }, }, ], medias: [ @@ -61,55 +62,55 @@ let value: ListResourceCheckoutLink = { id: "", organizationId: "", name: "", - path: "/lost+found", + path: "/usr/local/bin", mimeType: "", - size: 677488, + size: 167540, storageVersion: "", checksumEtag: "", checksumSha256Base64: "", checksumSha256Hex: "", - lastModifiedAt: new Date("2023-12-14T18:14:41.004Z"), + lastModifiedAt: new Date("2023-12-10T08:42:56.831Z"), version: "", isUploaded: false, - createdAt: new Date("2024-08-13T17:10:17.807Z"), + createdAt: new Date("2024-03-11T18:16:52.321Z"), sizeReadable: "", - publicUrl: "https://spotless-mortise.com", + publicUrl: "https://average-pants.com", }, ], }, productPrice: { - createdAt: new Date("2024-05-08T14:24:55.853Z"), - modifiedAt: new Date("2023-02-06T21:19:44.981Z"), + createdAt: new Date("2022-02-27T05:53:54.747Z"), + modifiedAt: new Date("2024-08-02T10:54:37.794Z"), id: "", isArchived: false, productId: "", - priceCurrency: "", - priceAmount: 134406, + recurringInterval: "year", }, discount: { duration: "repeating", - type: "fixed", - basisPoints: 294426, - createdAt: new Date("2022-10-17T19:40:17.347Z"), - modifiedAt: new Date("2024-05-07T09:01:06.714Z"), + type: "percentage", + amount: 457552, + currency: "Surinam Dollar", + createdAt: new Date("2024-09-24T21:01:28.984Z"), + modifiedAt: new Date("2023-09-15T18:42:51.260Z"), id: "", metadata: { - "key": "", + "key": false, }, name: "", code: "", - startsAt: new Date("2023-04-28T16:00:32.884Z"), - endsAt: new Date("2023-02-17T18:09:39.181Z"), - maxRedemptions: 769331, - redemptionsCount: 439412, + startsAt: new Date("2023-04-03T00:06:33.908Z"), + endsAt: new Date("2024-06-08T19:18:02.881Z"), + maxRedemptions: 780666, + redemptionsCount: 718930, organizationId: "", }, - url: "https://boring-jet.biz/", + url: "https://likely-cruelty.biz/", }, ], pagination: { - totalCount: 685507, - maxPage: 240083, + totalCount: 682260, + maxPage: 325439, }, }; ``` diff --git a/docs/models/components/listresourcecustomfield.md b/docs/models/components/listresourcecustomfield.md index 4096a7bc..80475924 100644 --- a/docs/models/components/listresourcecustomfield.md +++ b/docs/models/components/listresourcecustomfield.md @@ -8,8 +8,8 @@ import { ListResourceCustomField } from "@polar-sh/sdk/models/components"; let value: ListResourceCustomField = { items: [ { - createdAt: new Date("2024-04-18T15:52:30.847Z"), - modifiedAt: new Date("2022-09-24T10:58:44.754Z"), + createdAt: new Date("2022-06-09T15:50:46.924Z"), + modifiedAt: new Date("2024-03-08T08:22:27.702Z"), id: "", metadata: { "key": "", @@ -21,8 +21,8 @@ let value: ListResourceCustomField = { }, ], pagination: { - totalCount: 427683, - maxPage: 442160, + totalCount: 713152, + maxPage: 69645, }, }; ``` diff --git a/docs/models/components/listresourcediscount.md b/docs/models/components/listresourcediscount.md index 74e2ad87..4f12f4d3 100644 --- a/docs/models/components/listresourcediscount.md +++ b/docs/models/components/listresourcediscount.md @@ -8,29 +8,31 @@ import { ListResourceDiscount } from "@polar-sh/sdk/models/components"; let value: ListResourceDiscount = { items: [ { - duration: "once", - type: "percentage", - basisPoints: 425759, - createdAt: new Date("2023-04-27T00:40:26.962Z"), - modifiedAt: new Date("2024-01-14T14:31:56.581Z"), + duration: "repeating", + type: "fixed", + amount: 873613, + currency: "Cordoba Oro", + createdAt: new Date("2024-01-14T07:42:06.849Z"), + modifiedAt: new Date("2023-05-17T03:56:32.810Z"), id: "", metadata: { - "key": false, + "key": "", }, name: "", code: "", - startsAt: new Date("2024-03-26T11:21:16.585Z"), - endsAt: new Date("2023-04-29T17:12:43.686Z"), - maxRedemptions: 462378, - redemptionsCount: 278355, + startsAt: new Date("2023-06-04T03:56:34.081Z"), + endsAt: new Date("2024-04-19T22:51:54.283Z"), + maxRedemptions: 912095, + redemptionsCount: 495291, organizationId: "", products: [ { - createdAt: new Date("2022-03-05T23:56:33.777Z"), - modifiedAt: new Date("2024-10-26T21:27:50.253Z"), + createdAt: new Date("2023-08-05T19:48:44.616Z"), + modifiedAt: new Date("2024-03-13T18:34:45.687Z"), id: "", name: "", - description: "come scarcely winged", + description: + "upward baptise clueless ack quaintly unlined encode always mindless underneath", isRecurring: false, isArchived: false, organizationId: "", @@ -39,8 +41,8 @@ let value: ListResourceDiscount = { }, ], pagination: { - totalCount: 498055, - maxPage: 537614, + totalCount: 744045, + maxPage: 441348, }, }; ``` diff --git a/docs/models/components/listresourcefileread.md b/docs/models/components/listresourcefileread.md index 404b5987..46db7387 100644 --- a/docs/models/components/listresourcefileread.md +++ b/docs/models/components/listresourcefileread.md @@ -11,23 +11,24 @@ let value: ListResourceFileRead = { id: "", organizationId: "", name: "", - path: "/usr/share", + path: "/opt/share", mimeType: "", - size: 306009, + size: 863222, storageVersion: "", checksumEtag: "", checksumSha256Base64: "", checksumSha256Hex: "", - lastModifiedAt: new Date("2022-06-11T17:35:21.996Z"), + lastModifiedAt: new Date("2024-01-05T14:10:35.748Z"), version: "", isUploaded: false, - createdAt: new Date("2023-11-27T11:10:42.631Z"), + createdAt: new Date("2024-10-17T08:10:11.917Z"), sizeReadable: "", + publicUrl: "https://sturdy-caption.net/", }, ], pagination: { - totalCount: 524410, - maxPage: 291533, + totalCount: 848730, + maxPage: 406596, }, }; ``` diff --git a/docs/models/components/listresourceorder.md b/docs/models/components/listresourceorder.md index 9adb69a6..e3b0fab9 100644 --- a/docs/models/components/listresourceorder.md +++ b/docs/models/components/listresourceorder.md @@ -18,6 +18,9 @@ let value: ListResourceOrder = { taxAmount: 926867, currency: "Naira", billingReason: "subscription_cycle", + billingAddress: { + country: "Guatemala", + }, userId: "", productId: "", productPriceId: "", @@ -26,64 +29,67 @@ let value: ListResourceOrder = { checkoutId: "", user: { id: "", - email: "Verna_Nicolas64@yahoo.com", + email: "Hiram30@hotmail.com", publicName: "", githubUsername: "", - avatarUrl: "https://paltry-gown.biz", + avatarUrl: "https://ill-fated-fedora.com", }, product: { - createdAt: new Date("2022-05-05T14:21:48.338Z"), - modifiedAt: new Date("2023-10-31T19:49:06.620Z"), + createdAt: new Date("2023-10-31T19:49:06.620Z"), + modifiedAt: new Date("2024-05-07T17:42:22.245Z"), id: "", name: "", - description: - "tackle during weighty pretty oof including amidst solidly fooey", + description: "over wherever glittering parched now fashion", isRecurring: false, isArchived: false, organizationId: "", }, productPrice: { - createdAt: new Date("2024-06-08T02:20:37.651Z"), - modifiedAt: new Date("2024-04-10T01:04:29.834Z"), + createdAt: new Date("2024-05-05T05:50:23.743Z"), + modifiedAt: new Date("2024-08-28T16:46:56.853Z"), id: "", isArchived: false, productId: "", + priceCurrency: "", + minimumAmount: 971620, + maximumAmount: 123188, + presetAmount: 396784, + recurringInterval: "month", }, discount: { duration: "repeating", - type: "fixed", - amount: 219664, - currency: "Ouguiya", - createdAt: new Date("2023-01-15T01:37:35.582Z"), - modifiedAt: new Date("2024-02-18T00:24:52.361Z"), + type: "percentage", + basisPoints: 388709, + createdAt: new Date("2024-04-12T21:02:13.589Z"), + modifiedAt: new Date("2024-12-28T06:54:24.691Z"), id: "", metadata: { - "key": false, + "key": "", }, name: "", code: "", - startsAt: new Date("2024-07-20T17:13:35.220Z"), - endsAt: new Date("2024-12-24T22:33:51.471Z"), - maxRedemptions: 799564, - redemptionsCount: 141549, + startsAt: new Date("2024-06-26T13:10:48.126Z"), + endsAt: new Date("2022-12-24T14:14:54.996Z"), + maxRedemptions: 747067, + redemptionsCount: 237041, organizationId: "", }, subscription: { metadata: { - "key": false, + "key": "", }, - createdAt: new Date("2023-09-14T07:43:31.648Z"), - modifiedAt: new Date("2023-09-10T05:55:09.703Z"), + createdAt: new Date("2024-06-06T07:40:09.796Z"), + modifiedAt: new Date("2024-04-21T01:22:42.197Z"), id: "", - amount: 337245, - currency: "Canadian Dollar", + amount: 811221, + currency: "Swedish Krona", recurringInterval: "month", - status: "incomplete", - currentPeriodStart: new Date("2024-06-01T15:55:18.464Z"), - currentPeriodEnd: new Date("2024-03-26T08:49:10.019Z"), + status: "unpaid", + currentPeriodStart: new Date("2023-02-18T20:51:07.229Z"), + currentPeriodEnd: new Date("2022-08-29T18:03:19.269Z"), cancelAtPeriodEnd: false, - startedAt: new Date("2024-07-27T23:23:21.475Z"), - endedAt: new Date("2024-02-11T17:46:51.214Z"), + startedAt: new Date("2023-09-15T01:16:52.851Z"), + endedAt: new Date("2023-01-15T01:37:35.582Z"), userId: "", productId: "", priceId: "", @@ -93,8 +99,8 @@ let value: ListResourceOrder = { }, ], pagination: { - totalCount: 167786, - maxPage: 735959, + totalCount: 709870, + maxPage: 694619, }, }; ``` diff --git a/docs/models/components/listresourceuserbenefit.md b/docs/models/components/listresourceuserbenefit.md index 1807eaf8..65c73e15 100644 --- a/docs/models/components/listresourceuserbenefit.md +++ b/docs/models/components/listresourceuserbenefit.md @@ -8,18 +8,17 @@ import { ListResourceUserBenefit } from "@polar-sh/sdk/models/components"; let value: ListResourceUserBenefit = { items: [ { - createdAt: new Date("2024-06-03T10:02:48.006Z"), - modifiedAt: new Date("2024-02-27T19:43:42.467Z"), + createdAt: new Date("2022-05-30T09:02:00.896Z"), + modifiedAt: new Date("2024-01-23T04:12:00.187Z"), id: "", - description: - "before consequently broadside standard stint unto sternly briefly provided accredit", + description: "ferociously where loyally beyond onto if carefully", selectable: false, deletable: false, organizationId: "", grants: [ { - createdAt: new Date("2024-12-28T18:18:25.337Z"), - modifiedAt: new Date("2022-08-30T16:10:43.426Z"), + createdAt: new Date("2024-09-18T02:22:39.004Z"), + modifiedAt: new Date("2023-05-08T12:12:24.685Z"), id: "", isGranted: false, isRevoked: false, @@ -30,32 +29,32 @@ let value: ListResourceUserBenefit = { }, ], organization: { - createdAt: new Date("2022-12-09T13:39:01.927Z"), - modifiedAt: new Date("2022-08-17T10:07:20.026Z"), + createdAt: new Date("2022-06-15T01:33:14.819Z"), + modifiedAt: new Date("2023-10-13T20:06:24.868Z"), id: "", name: "", slug: "", - avatarUrl: "https://qualified-label.name", + avatarUrl: "https://disloyal-newsprint.info", bio: "", - company: "Morar - Johnston", + company: "Langosh - Greenfelder", blog: "", location: "", - email: "Madisyn50@gmail.com", + email: "Shanel.Goyette27@gmail.com", twitterUsername: "", - pledgeMinimumAmount: 447878, + pledgeMinimumAmount: 771146, pledgeBadgeShowAmount: false, - defaultUpfrontSplitToContributors: 966222, + defaultUpfrontSplitToContributors: 329016, profileSettings: {}, featureSettings: {}, }, properties: { - note: "", + guildId: "", }, }, ], pagination: { - totalCount: 793029, - maxPage: 826431, + totalCount: 112513, + maxPage: 540895, }, }; ``` diff --git a/docs/models/components/listresourceuserorder.md b/docs/models/components/listresourceuserorder.md index ccb286f0..258724c7 100644 --- a/docs/models/components/listresourceuserorder.md +++ b/docs/models/components/listresourceuserorder.md @@ -8,49 +8,50 @@ import { ListResourceUserOrder } from "@polar-sh/sdk/models/components"; let value: ListResourceUserOrder = { items: [ { - createdAt: new Date("2023-05-22T19:39:49.574Z"), - modifiedAt: new Date("2023-03-11T21:56:42.620Z"), + createdAt: new Date("2023-11-20T04:44:06.594Z"), + modifiedAt: new Date("2024-04-28T22:11:42.800Z"), id: "", - amount: 433265, - taxAmount: 243712, - currency: "Bahamian Dollar", + amount: 485097, + taxAmount: 648414, + currency: "Solomon Islands Dollar", userId: "", productId: "", productPriceId: "", subscriptionId: "", product: { - createdAt: new Date("2022-10-30T03:06:02.828Z"), - modifiedAt: new Date("2022-09-20T13:54:48.068Z"), + createdAt: new Date("2024-03-19T17:13:45.452Z"), + modifiedAt: new Date("2022-01-02T21:42:42.464Z"), id: "", name: "", - description: - "inquisitively prickly frugal out phew viciously scorn silk", + description: "past footrest knight", isRecurring: false, isArchived: false, organizationId: "", prices: [ { - createdAt: new Date("2024-11-26T08:57:48.541Z"), - modifiedAt: new Date("2024-06-27T02:43:23.928Z"), + createdAt: new Date("2022-08-17T20:58:31.938Z"), + modifiedAt: new Date("2024-01-18T22:37:38.992Z"), id: "", isArchived: false, productId: "", priceCurrency: "", - priceAmount: 747382, - recurringInterval: "month", + minimumAmount: 768361, + maximumAmount: 320760, + presetAmount: 559209, }, ], benefits: [ { - createdAt: new Date("2024-10-24T06:34:09.259Z"), - modifiedAt: new Date("2024-10-20T05:24:13.548Z"), + createdAt: new Date("2022-06-25T17:55:44.890Z"), + modifiedAt: new Date("2024-11-22T15:42:40.032Z"), id: "", - type: "custom", - description: - "eyeliner dependent likely shocked yahoo however gadzooks pliers drat", + description: "down glorious favorite instead by knottily", selectable: false, deletable: false, organizationId: "", + properties: { + paidArticles: false, + }, }, ], medias: [ @@ -58,64 +59,61 @@ let value: ListResourceUserOrder = { id: "", organizationId: "", name: "", - path: "/var/tmp", + path: "/usr/include", mimeType: "", - size: 189574, + size: 268878, storageVersion: "", checksumEtag: "", checksumSha256Base64: "", checksumSha256Hex: "", - lastModifiedAt: new Date("2023-06-15T05:10:45.704Z"), + lastModifiedAt: new Date("2022-12-02T08:07:08.018Z"), version: "", isUploaded: false, - createdAt: new Date("2022-07-01T18:36:52.222Z"), + createdAt: new Date("2022-12-01T19:09:40.569Z"), sizeReadable: "", - publicUrl: "https://everlasting-gymnast.info/", + publicUrl: "https://empty-meatloaf.org", }, ], organization: { - createdAt: new Date("2024-08-29T14:37:53.760Z"), - modifiedAt: new Date("2023-11-28T16:51:17.097Z"), + createdAt: new Date("2024-03-09T09:33:22.960Z"), + modifiedAt: new Date("2023-01-04T15:22:03.493Z"), id: "", name: "", slug: "", - avatarUrl: "https://wretched-obesity.biz/", + avatarUrl: "https://well-lit-gazebo.net", bio: "", - company: "Kunze, Thompson and Treutel", + company: "Tremblay - Boyer", blog: "", location: "", - email: "Kelsi_Murazik@yahoo.com", + email: "Kari_OConner@yahoo.com", twitterUsername: "", - pledgeMinimumAmount: 95380, + pledgeMinimumAmount: 546014, pledgeBadgeShowAmount: false, - defaultUpfrontSplitToContributors: 966682, + defaultUpfrontSplitToContributors: 812186, profileSettings: {}, featureSettings: {}, }, }, productPrice: { - createdAt: new Date("2022-12-13T16:53:10.230Z"), - modifiedAt: new Date("2023-06-21T22:56:39.250Z"), + createdAt: new Date("2023-08-17T23:04:53.906Z"), + modifiedAt: new Date("2024-01-08T21:27:35.981Z"), id: "", isArchived: false, productId: "", - priceCurrency: "", - priceAmount: 956752, - recurringInterval: "year", }, subscription: { - createdAt: new Date("2022-11-21T13:19:02.770Z"), - modifiedAt: new Date("2023-01-21T05:01:58.399Z"), + createdAt: new Date("2022-04-06T05:17:56.944Z"), + modifiedAt: new Date("2023-06-01T13:31:39.531Z"), id: "", - amount: 511807, - currency: "Afghani", - recurringInterval: "month", - status: "unpaid", - currentPeriodStart: new Date("2022-02-02T06:15:52.112Z"), - currentPeriodEnd: new Date("2022-04-21T16:04:48.222Z"), + amount: 860144, + currency: "Metical", + recurringInterval: "year", + status: "incomplete_expired", + currentPeriodStart: new Date("2022-04-16T13:07:21.369Z"), + currentPeriodEnd: new Date("2023-11-18T18:26:23.317Z"), cancelAtPeriodEnd: false, - startedAt: new Date("2023-04-07T00:41:56.890Z"), - endedAt: new Date("2024-03-12T16:04:02.474Z"), + startedAt: new Date("2022-04-10T15:42:56.368Z"), + endedAt: new Date("2024-05-07T05:17:18.959Z"), userId: "", productId: "", priceId: "", @@ -125,8 +123,8 @@ let value: ListResourceUserOrder = { }, ], pagination: { - totalCount: 268878, - maxPage: 305965, + totalCount: 256742, + maxPage: 538752, }, }; ``` diff --git a/docs/models/components/listresourceusersubscription.md b/docs/models/components/listresourceusersubscription.md index 6df8d317..0fdb780e 100644 --- a/docs/models/components/listresourceusersubscription.md +++ b/docs/models/components/listresourceusersubscription.md @@ -8,56 +8,55 @@ import { ListResourceUserSubscription } from "@polar-sh/sdk/models/components"; let value: ListResourceUserSubscription = { items: [ { - createdAt: new Date("2023-01-01T19:50:19.256Z"), - modifiedAt: new Date("2023-07-20T18:55:51.097Z"), + createdAt: new Date("2024-06-30T09:18:46.693Z"), + modifiedAt: new Date("2023-02-18T14:55:40.419Z"), id: "", - amount: 700872, - currency: "Lebanese Pound", - recurringInterval: "year", + amount: 28088, + currency: "Yen", + recurringInterval: "month", status: "trialing", - currentPeriodStart: new Date("2022-01-31T18:49:35.545Z"), - currentPeriodEnd: new Date("2023-04-13T01:30:33.992Z"), + currentPeriodStart: new Date("2024-12-15T17:30:31.626Z"), + currentPeriodEnd: new Date("2024-07-28T15:50:46.966Z"), cancelAtPeriodEnd: false, - startedAt: new Date("2022-04-04T03:54:32.981Z"), - endedAt: new Date("2022-12-19T23:19:10.766Z"), + startedAt: new Date("2022-09-17T03:43:51.884Z"), + endedAt: new Date("2023-02-17T01:18:56.856Z"), userId: "", productId: "", priceId: "", discountId: "", checkoutId: "", product: { - createdAt: new Date("2024-12-15T17:30:31.626Z"), - modifiedAt: new Date("2024-07-28T15:50:46.966Z"), + createdAt: new Date("2023-04-18T13:22:03.376Z"), + modifiedAt: new Date("2024-04-17T04:47:37.706Z"), id: "", name: "", - description: "quickly giving until before", + description: "jump whoever among", isRecurring: false, isArchived: false, organizationId: "", prices: [ { - createdAt: new Date("2023-07-06T07:18:59.972Z"), - modifiedAt: new Date("2022-04-10T19:29:52.339Z"), + createdAt: new Date("2022-10-28T16:59:00.609Z"), + modifiedAt: new Date("2024-11-09T15:56:51.918Z"), id: "", isArchived: false, productId: "", - priceCurrency: "", - minimumAmount: 950706, - maximumAmount: 732896, - presetAmount: 518728, + recurringInterval: "year", }, ], benefits: [ { - createdAt: new Date("2022-07-12T12:59:47.341Z"), - modifiedAt: new Date("2023-04-19T15:42:37.374Z"), + createdAt: new Date("2022-04-10T19:29:52.339Z"), + modifiedAt: new Date("2024-11-07T23:21:57.092Z"), id: "", - type: "ads", description: - "blissfully drat incidentally cosset storyboard noted grounded", + "best-seller instead sonar availability even which filthy ah", selectable: false, deletable: false, organizationId: "", + properties: { + paidArticles: false, + }, }, ], medias: [ @@ -65,53 +64,58 @@ let value: ListResourceUserSubscription = { id: "", organizationId: "", name: "", - path: "/mnt", + path: "/home/user", mimeType: "", - size: 214506, + size: 78486, storageVersion: "", checksumEtag: "", checksumSha256Base64: "", checksumSha256Hex: "", - lastModifiedAt: new Date("2022-03-28T00:30:26.035Z"), + lastModifiedAt: new Date("2023-11-17T18:41:58.866Z"), version: "", isUploaded: false, - createdAt: new Date("2023-11-17T18:41:58.866Z"), + createdAt: new Date("2023-07-09T05:45:55.648Z"), sizeReadable: "", - publicUrl: "https://essential-awareness.com", + publicUrl: "https://babyish-affiliate.net/", }, ], organization: { - createdAt: new Date("2024-03-20T09:23:48.962Z"), - modifiedAt: new Date("2022-07-26T07:48:42.795Z"), + createdAt: new Date("2022-07-26T07:48:42.795Z"), + modifiedAt: new Date("2022-10-20T05:47:37.552Z"), id: "", name: "", slug: "", - avatarUrl: "https://aged-cinder.org/", + avatarUrl: "https://criminal-sushi.biz/", bio: "", - company: "Wilkinson - Cruickshank", + company: "Cruickshank, Fritsch and Stroman", blog: "", location: "", - email: "Sandy5@gmail.com", + email: "Dolores_Bechtelar84@yahoo.com", twitterUsername: "", - pledgeMinimumAmount: 841562, + pledgeMinimumAmount: 798619, pledgeBadgeShowAmount: false, - defaultUpfrontSplitToContributors: 85797, + defaultUpfrontSplitToContributors: 961171, profileSettings: {}, featureSettings: {}, }, }, price: { - createdAt: new Date("2023-06-24T07:23:57.344Z"), - modifiedAt: new Date("2023-09-15T16:42:20.598Z"), + createdAt: new Date("2024-01-16T01:22:24.438Z"), + modifiedAt: new Date("2022-10-20T07:59:07.851Z"), id: "", isArchived: false, productId: "", + priceCurrency: "", + minimumAmount: 649661, + maximumAmount: 474867, + presetAmount: 405542, + recurringInterval: "year", }, }, ], pagination: { - totalCount: 679797, - maxPage: 266727, + totalCount: 797903, + maxPage: 934608, }, }; ``` diff --git a/docs/models/components/loc.md b/docs/models/components/loc.md index 06935025..09f3c141 100644 --- a/docs/models/components/loc.md +++ b/docs/models/components/loc.md @@ -12,6 +12,6 @@ const value: string = ""; ### `number` ```typescript -const value: number = 595669; +const value: number = 147247; ``` diff --git a/docs/models/components/metric.md b/docs/models/components/metric.md index fc119a2f..5d2592e1 100644 --- a/docs/models/components/metric.md +++ b/docs/models/components/metric.md @@ -9,7 +9,7 @@ import { Metric } from "@polar-sh/sdk/models/components"; let value: Metric = { slug: "", - displayName: "Lucy_Quitzon4", + displayName: "Brown45", type: "currency", }; ``` diff --git a/docs/models/components/metricperiod.md b/docs/models/components/metricperiod.md index 32585631..aee109bb 100644 --- a/docs/models/components/metricperiod.md +++ b/docs/models/components/metricperiod.md @@ -6,18 +6,18 @@ import { MetricPeriod } from "@polar-sh/sdk/models/components"; let value: MetricPeriod = { - timestamp: new Date("2022-03-19T00:02:48.052Z"), - orders: 232932, - revenue: 365194, - averageOrderValue: 319291, - oneTimeProducts: 51267, - oneTimeProductsRevenue: 170716, - newSubscriptions: 282370, - newSubscriptionsRevenue: 153133, - renewedSubscriptions: 827452, - renewedSubscriptionsRevenue: 520412, - activeSubscriptions: 221447, - monthlyRecurringRevenue: 847725, + timestamp: new Date("2024-11-13T00:46:26.369Z"), + orders: 892848, + revenue: 927007, + averageOrderValue: 780917, + oneTimeProducts: 561360, + oneTimeProductsRevenue: 775768, + newSubscriptions: 619414, + newSubscriptionsRevenue: 5694, + renewedSubscriptions: 116282, + renewedSubscriptionsRevenue: 109545, + activeSubscriptions: 553863, + monthlyRecurringRevenue: 695735, }; ``` diff --git a/docs/models/components/metrics.md b/docs/models/components/metrics.md index 7668311c..744d7823 100644 --- a/docs/models/components/metrics.md +++ b/docs/models/components/metrics.md @@ -8,57 +8,57 @@ import { Metrics } from "@polar-sh/sdk/models/components"; let value: Metrics = { orders: { slug: "", - displayName: "Maurine_Botsford", - type: "scalar", + displayName: "Keith14", + type: "currency", }, revenue: { slug: "", - displayName: "Adrianna.Weissnat60", - type: "scalar", + displayName: "Jackie.Abbott80", + type: "currency", }, averageOrderValue: { slug: "", - displayName: "Josiah_Koch57", - type: "currency", + displayName: "Mia97", + type: "scalar", }, oneTimeProducts: { slug: "", - displayName: "Sister_Sauer", - type: "scalar", + displayName: "Chanelle_Ankunding", + type: "currency", }, oneTimeProductsRevenue: { slug: "", - displayName: "Bettye93", + displayName: "Pearline45", type: "currency", }, newSubscriptions: { slug: "", - displayName: "Khalil.Russel91", - type: "currency", + displayName: "Abigayle_Bartell24", + type: "scalar", }, newSubscriptionsRevenue: { slug: "", - displayName: "Bertha61", - type: "scalar", + displayName: "Sandy_Roberts86", + type: "currency", }, renewedSubscriptions: { slug: "", - displayName: "Russel.Howell73", + displayName: "Robbie.Anderson", type: "currency", }, renewedSubscriptionsRevenue: { slug: "", - displayName: "Pietro60", + displayName: "Tianna.Deckow", type: "scalar", }, activeSubscriptions: { slug: "", - displayName: "Augusta_Johns6", - type: "currency", + displayName: "Vidal9", + type: "scalar", }, monthlyRecurringRevenue: { slug: "", - displayName: "Jedediah63", + displayName: "Manley.Ankunding", type: "currency", }, }; diff --git a/docs/models/components/metricsintervallimit.md b/docs/models/components/metricsintervallimit.md index 398c0d52..84abee69 100644 --- a/docs/models/components/metricsintervallimit.md +++ b/docs/models/components/metricsintervallimit.md @@ -8,7 +8,7 @@ Date interval limit to get metrics for a given interval. import { MetricsIntervalLimit } from "@polar-sh/sdk/models/components"; let value: MetricsIntervalLimit = { - maxDays: 618082, + maxDays: 148981, }; ``` diff --git a/docs/models/components/metricsintervalslimits.md b/docs/models/components/metricsintervalslimits.md index 2ffcd9fa..3ec004b5 100644 --- a/docs/models/components/metricsintervalslimits.md +++ b/docs/models/components/metricsintervalslimits.md @@ -9,19 +9,19 @@ import { MetricsIntervalsLimits } from "@polar-sh/sdk/models/components"; let value: MetricsIntervalsLimits = { hour: { - maxDays: 71414, + maxDays: 917917, }, day: { - maxDays: 400913, + maxDays: 221205, }, week: { - maxDays: 59448, + maxDays: 696323, }, month: { - maxDays: 192877, + maxDays: 112293, }, year: { - maxDays: 456381, + maxDays: 493882, }, }; ``` diff --git a/docs/models/components/metricslimits.md b/docs/models/components/metricslimits.md index 78b7eeac..57a335c6 100644 --- a/docs/models/components/metricslimits.md +++ b/docs/models/components/metricslimits.md @@ -9,22 +9,22 @@ import { MetricsLimits } from "@polar-sh/sdk/models/components"; import { RFCDate } from "@polar-sh/sdk/types"; let value: MetricsLimits = { - minDate: new RFCDate("2023-02-28"), + minDate: new RFCDate("2024-09-14"), intervals: { hour: { - maxDays: 841210, + maxDays: 597835, }, day: { - maxDays: 637449, + maxDays: 571214, }, week: { - maxDays: 623460, + maxDays: 68314, }, month: { - maxDays: 103918, + maxDays: 771212, }, year: { - maxDays: 408205, + maxDays: 265959, }, }, }; diff --git a/docs/models/components/metricsresponse.md b/docs/models/components/metricsresponse.md index 19a2de34..1dc18b24 100644 --- a/docs/models/components/metricsresponse.md +++ b/docs/models/components/metricsresponse.md @@ -10,74 +10,74 @@ import { MetricsResponse } from "@polar-sh/sdk/models/components"; let value: MetricsResponse = { periods: [ { - timestamp: new Date("2024-01-18T14:16:00.694Z"), - orders: 146508, - revenue: 136721, - averageOrderValue: 885840, - oneTimeProducts: 14267, - oneTimeProductsRevenue: 679764, - newSubscriptions: 804786, - newSubscriptionsRevenue: 717913, - renewedSubscriptions: 144409, - renewedSubscriptionsRevenue: 640504, - activeSubscriptions: 123486, - monthlyRecurringRevenue: 462247, + timestamp: new Date("2023-06-09T03:01:47.083Z"), + orders: 123490, + revenue: 853228, + averageOrderValue: 259777, + oneTimeProducts: 404003, + oneTimeProductsRevenue: 47423, + newSubscriptions: 149142, + newSubscriptionsRevenue: 1789, + renewedSubscriptions: 360035, + renewedSubscriptionsRevenue: 810688, + activeSubscriptions: 575779, + monthlyRecurringRevenue: 839906, }, ], metrics: { orders: { slug: "", - displayName: "Madelynn_Larson31", + displayName: "Chanelle11", type: "currency", }, revenue: { slug: "", - displayName: "Jayne.Wilkinson", - type: "currency", + displayName: "Janet.Kunde74", + type: "scalar", }, averageOrderValue: { slug: "", - displayName: "Janie_Considine", - type: "scalar", + displayName: "Cordie38", + type: "currency", }, oneTimeProducts: { slug: "", - displayName: "Aaliyah77", + displayName: "Jamil.Lehner", type: "currency", }, oneTimeProductsRevenue: { slug: "", - displayName: "Karlee_Wiza47", + displayName: "Edyth_Russel", type: "scalar", }, newSubscriptions: { slug: "", - displayName: "Adriana52", + displayName: "Glen71", type: "currency", }, newSubscriptionsRevenue: { slug: "", - displayName: "Ansel_Klocko78", + displayName: "Jazmyn.Hilpert31", type: "currency", }, renewedSubscriptions: { slug: "", - displayName: "Alex23", + displayName: "Zachary_Schroeder68", type: "scalar", }, renewedSubscriptionsRevenue: { slug: "", - displayName: "Narciso51", + displayName: "Sheila_Parisian71", type: "currency", }, activeSubscriptions: { slug: "", - displayName: "Adolfo89", - type: "currency", + displayName: "Braden51", + type: "scalar", }, monthlyRecurringRevenue: { slug: "", - displayName: "Christelle33", + displayName: "Chandler.Kub95", type: "currency", }, }, diff --git a/docs/models/components/metrictype.md b/docs/models/components/metrictype.md index c26679e1..7c6c9526 100644 --- a/docs/models/components/metrictype.md +++ b/docs/models/components/metrictype.md @@ -5,7 +5,7 @@ ```typescript import { MetricType } from "@polar-sh/sdk/models/components"; -let value: MetricType = "currency"; +let value: MetricType = "scalar"; ``` ## Values diff --git a/docs/models/components/order.md b/docs/models/components/order.md index beab5479..ae7bdbf7 100644 --- a/docs/models/components/order.md +++ b/docs/models/components/order.md @@ -6,16 +6,19 @@ import { Order } from "@polar-sh/sdk/models/components"; let value: Order = { - createdAt: new Date("2023-01-10T11:57:03.157Z"), - modifiedAt: new Date("2023-11-26T22:49:11.497Z"), + createdAt: new Date("2023-08-22T23:08:59.755Z"), + modifiedAt: new Date("2024-03-04T13:39:39.013Z"), id: "", metadata: { - "key": false, + "key": 912317, + }, + amount: 692115, + taxAmount: 352319, + currency: "Naira", + billingReason: "subscription_create", + billingAddress: { + country: "Serbia", }, - amount: 94400, - taxAmount: 210237, - currency: "Fiji Dollar", - billingReason: "subscription_update", userId: "", productId: "", productPriceId: "", @@ -24,67 +27,67 @@ let value: Order = { checkoutId: "", user: { id: "", - email: "Sofia_Raynor89@gmail.com", + email: "Kyle_Wuckert27@gmail.com", publicName: "", githubUsername: "", - avatarUrl: "https://handy-gown.name", + avatarUrl: "https://prickly-vol.com/", }, product: { - createdAt: new Date("2022-05-24T18:23:37.331Z"), - modifiedAt: new Date("2023-01-29T03:53:24.003Z"), + createdAt: new Date("2022-08-19T10:04:26.453Z"), + modifiedAt: new Date("2022-10-31T12:43:02.921Z"), id: "", name: "", description: - "without besides viciously impostor youthfully implode ick sans in aha", + "decriminalize tusk without besides viciously impostor youthfully implode ick", isRecurring: false, isArchived: false, organizationId: "", }, productPrice: { - createdAt: new Date("2022-12-01T01:22:38.683Z"), - modifiedAt: new Date("2023-05-04T04:09:06.657Z"), + createdAt: new Date("2023-07-20T02:09:27.293Z"), + modifiedAt: new Date("2024-12-12T18:40:59.500Z"), id: "", isArchived: false, productId: "", priceCurrency: "", - minimumAmount: 774266, - maximumAmount: 668154, - presetAmount: 110903, + priceAmount: 411457, + recurringInterval: "year", }, discount: { - duration: "once", + duration: "repeating", + durationInMonths: 177016, type: "percentage", - basisPoints: 738626, - createdAt: new Date("2022-03-30T18:38:41.678Z"), - modifiedAt: new Date("2022-09-30T01:25:20.761Z"), + basisPoints: 626424, + createdAt: new Date("2024-06-01T22:41:03.562Z"), + modifiedAt: new Date("2022-11-20T22:17:04.455Z"), id: "", metadata: { - "key": "", + "key": 208959, }, name: "", code: "", - startsAt: new Date("2023-02-10T15:00:52.531Z"), - endsAt: new Date("2024-06-20T15:53:40.277Z"), - maxRedemptions: 66755, - redemptionsCount: 165357, + startsAt: new Date("2024-07-25T15:30:25.665Z"), + endsAt: new Date("2022-08-13T05:14:54.417Z"), + maxRedemptions: 548327, + redemptionsCount: 417913, organizationId: "", }, subscription: { metadata: { "key": "", }, - createdAt: new Date("2023-11-15T23:48:29.716Z"), - modifiedAt: new Date("2024-12-04T06:04:24.285Z"), + createdAt: new Date("2023-03-28T17:07:54.354Z"), + modifiedAt: new Date("2024-05-09T16:47:22.985Z"), id: "", - amount: 822732, - currency: "Costa Rican Colon", - recurringInterval: "year", - status: "active", - currentPeriodStart: new Date("2023-06-23T19:46:45.718Z"), - currentPeriodEnd: new Date("2024-09-22T14:10:48.963Z"), + amount: 528933, + currency: "Cedi", + recurringInterval: "month", + status: "canceled", + currentPeriodStart: new Date("2024-01-03T07:06:59.391Z"), + currentPeriodEnd: new Date("2022-05-02T13:11:55.885Z"), cancelAtPeriodEnd: false, - startedAt: new Date("2023-10-07T14:09:54.362Z"), - endedAt: new Date("2022-05-31T09:09:47.828Z"), + startedAt: new Date("2023-08-06T05:54:35.974Z"), + endedAt: new Date("2022-08-06T18:28:46.439Z"), userId: "", productId: "", priceId: "", @@ -107,6 +110,7 @@ let value: Order = { | `taxAmount` | *number* | :heavy_check_mark: | N/A | | `currency` | *string* | :heavy_check_mark: | N/A | | `billingReason` | [components.OrderBillingReason](../../models/components/orderbillingreason.md) | :heavy_check_mark: | N/A | +| `billingAddress` | [components.Address](../../models/components/address.md) | :heavy_check_mark: | N/A | | `userId` | *string* | :heavy_check_mark: | N/A | | `productId` | *string* | :heavy_check_mark: | N/A | | `productPriceId` | *string* | :heavy_check_mark: | N/A | diff --git a/docs/models/components/orderdiscount.md b/docs/models/components/orderdiscount.md index 3575f6a6..892a2b02 100644 --- a/docs/models/components/orderdiscount.md +++ b/docs/models/components/orderdiscount.md @@ -7,22 +7,22 @@ ```typescript const value: components.DiscountFixedOnceForeverDurationBase = { - duration: "once", + duration: "repeating", type: "percentage", - amount: 902318, - currency: "Norwegian Krone", - createdAt: new Date("2023-04-05T22:14:33.524Z"), - modifiedAt: new Date("2022-09-18T18:21:20.199Z"), + amount: 141549, + currency: "Singapore Dollar", + createdAt: new Date("2023-09-14T07:43:31.648Z"), + modifiedAt: new Date("2023-09-10T05:55:09.703Z"), id: "", metadata: { - "key": "", + "key": 160733, }, name: "", code: "", - startsAt: new Date("2024-06-02T09:00:38.951Z"), - endsAt: new Date("2024-11-25T13:28:22.656Z"), - maxRedemptions: 14040, - redemptionsCount: 479361, + startsAt: new Date("2022-07-09T15:57:29.739Z"), + endsAt: new Date("2022-03-05T03:05:50.686Z"), + maxRedemptions: 805350, + redemptionsCount: 743949, organizationId: "", }; ``` @@ -31,23 +31,23 @@ const value: components.DiscountFixedOnceForeverDurationBase = { ```typescript const value: components.DiscountFixedRepeatDurationBase = { - duration: "once", - durationInMonths: 418539, - type: "percentage", - amount: 429101, - currency: "Lek", - createdAt: new Date("2024-12-18T16:16:07.562Z"), - modifiedAt: new Date("2024-10-11T16:21:18.956Z"), + duration: "repeating", + durationInMonths: 704143, + type: "fixed", + amount: 735959, + currency: "Tugrik", + createdAt: new Date("2022-04-30T02:32:00.110Z"), + modifiedAt: new Date("2024-09-19T00:20:17.823Z"), id: "", metadata: { "key": false, }, name: "", code: "", - startsAt: new Date("2023-03-16T03:30:37.309Z"), - endsAt: new Date("2024-01-26T16:20:59.036Z"), - maxRedemptions: 709769, - redemptionsCount: 340254, + startsAt: new Date("2023-11-20T03:20:24.143Z"), + endsAt: new Date("2023-04-05T22:14:33.524Z"), + maxRedemptions: 237924, + redemptionsCount: 97600, organizationId: "", }; ``` @@ -56,21 +56,21 @@ const value: components.DiscountFixedRepeatDurationBase = { ```typescript const value: components.DiscountPercentageOnceForeverDurationBase = { - duration: "once", + duration: "repeating", type: "percentage", - basisPoints: 948084, - createdAt: new Date("2024-03-30T13:47:48.742Z"), - modifiedAt: new Date("2022-09-07T20:58:48.974Z"), + basisPoints: 14040, + createdAt: new Date("2023-06-10T09:07:09.454Z"), + modifiedAt: new Date("2022-04-27T05:09:55.285Z"), id: "", metadata: { - "key": 390215, + "key": 580613, }, name: "", code: "", - startsAt: new Date("2023-08-22T23:08:59.755Z"), - endsAt: new Date("2024-03-04T13:39:39.013Z"), - maxRedemptions: 486717, - redemptionsCount: 912317, + startsAt: new Date("2023-04-16T07:03:49.563Z"), + endsAt: new Date("2022-01-19T21:02:47.396Z"), + maxRedemptions: 987845, + redemptionsCount: 925805, organizationId: "", }; ``` @@ -80,21 +80,21 @@ const value: components.DiscountPercentageOnceForeverDurationBase = { ```typescript const value: components.DiscountPercentageRepeatDurationBase = { duration: "repeating", - durationInMonths: 352319, + durationInMonths: 400681, type: "percentage", - basisPoints: 455377, - createdAt: new Date("2024-05-18T01:34:45.076Z"), - modifiedAt: new Date("2022-01-09T03:57:13.283Z"), + basisPoints: 709769, + createdAt: new Date("2023-01-08T22:03:29.095Z"), + modifiedAt: new Date("2022-02-13T11:54:50.627Z"), id: "", metadata: { - "key": 23491, + "key": 948084, }, name: "", code: "", - startsAt: new Date("2024-12-09T08:24:43.035Z"), - endsAt: new Date("2023-07-11T06:08:09.500Z"), - maxRedemptions: 278799, - redemptionsCount: 110699, + startsAt: new Date("2024-03-30T13:47:48.742Z"), + endsAt: new Date("2022-09-07T20:58:48.974Z"), + maxRedemptions: 555810, + redemptionsCount: 390215, organizationId: "", }; ``` diff --git a/docs/models/components/orderinvoice.md b/docs/models/components/orderinvoice.md index 79d31a7b..de216ecc 100644 --- a/docs/models/components/orderinvoice.md +++ b/docs/models/components/orderinvoice.md @@ -8,7 +8,7 @@ Order's invoice data. import { OrderInvoice } from "@polar-sh/sdk/models/components"; let value: OrderInvoice = { - url: "https://biodegradable-importance.info/", + url: "https://closed-skeleton.info/", }; ``` diff --git a/docs/models/components/ordermetadata.md b/docs/models/components/ordermetadata.md index cbb141fc..634fd4a9 100644 --- a/docs/models/components/ordermetadata.md +++ b/docs/models/components/ordermetadata.md @@ -12,7 +12,7 @@ const value: string = ""; ### `number` ```typescript -const value: number = 557852; +const value: number = 850108; ``` ### `boolean` diff --git a/docs/models/components/orderproduct.md b/docs/models/components/orderproduct.md index cb6197fb..b73c75a4 100644 --- a/docs/models/components/orderproduct.md +++ b/docs/models/components/orderproduct.md @@ -6,11 +6,11 @@ import { OrderProduct } from "@polar-sh/sdk/models/components"; let value: OrderProduct = { - createdAt: new Date("2022-03-23T02:13:30.603Z"), - modifiedAt: new Date("2023-12-03T14:44:34.345Z"), + createdAt: new Date("2024-06-20T17:08:39.320Z"), + modifiedAt: new Date("2022-08-09T05:10:15.962Z"), id: "", name: "", - description: "flint ski jungle tinderbox weakly fooey quickly", + description: "verbally merrily legend punctually amid joyously gee hateful", isRecurring: false, isArchived: false, organizationId: "", diff --git a/docs/models/components/ordersortproperty.md b/docs/models/components/ordersortproperty.md index 91c22e89..f83c76a0 100644 --- a/docs/models/components/ordersortproperty.md +++ b/docs/models/components/ordersortproperty.md @@ -5,7 +5,7 @@ ```typescript import { OrderSortProperty } from "@polar-sh/sdk/models/components"; -let value: OrderSortProperty = "-subscription"; +let value: OrderSortProperty = "subscription"; ``` ## Values diff --git a/docs/models/components/ordersubscription.md b/docs/models/components/ordersubscription.md index eb01312d..fb08efd7 100644 --- a/docs/models/components/ordersubscription.md +++ b/docs/models/components/ordersubscription.md @@ -9,18 +9,18 @@ let value: OrderSubscription = { metadata: { "key": false, }, - createdAt: new Date("2022-03-29T21:43:02.894Z"), - modifiedAt: new Date("2022-06-01T03:41:33.937Z"), + createdAt: new Date("2022-03-30T18:38:41.678Z"), + modifiedAt: new Date("2022-09-30T01:25:20.761Z"), id: "", - amount: 653114, - currency: "Djibouti Franc", + amount: 78125, + currency: "Rupiah", recurringInterval: "year", - status: "trialing", - currentPeriodStart: new Date("2023-06-13T17:02:40.832Z"), - currentPeriodEnd: new Date("2022-05-21T23:41:53.158Z"), + status: "incomplete", + currentPeriodStart: new Date("2022-07-01T05:33:20.782Z"), + currentPeriodEnd: new Date("2022-10-21T02:52:46.883Z"), cancelAtPeriodEnd: false, - startedAt: new Date("2022-01-31T20:48:56.127Z"), - endedAt: new Date("2024-04-12T02:56:59.471Z"), + startedAt: new Date("2023-11-15T23:48:29.716Z"), + endedAt: new Date("2024-12-04T06:04:24.285Z"), userId: "", productId: "", priceId: "", diff --git a/docs/models/components/ordersubscriptionmetadata.md b/docs/models/components/ordersubscriptionmetadata.md index 22f339d5..e5f1bda2 100644 --- a/docs/models/components/ordersubscriptionmetadata.md +++ b/docs/models/components/ordersubscriptionmetadata.md @@ -12,7 +12,7 @@ const value: string = ""; ### `number` ```typescript -const value: number = 164967; +const value: number = 978408; ``` ### `boolean` diff --git a/docs/models/components/orderuser.md b/docs/models/components/orderuser.md index 6a7c045a..afd7f119 100644 --- a/docs/models/components/orderuser.md +++ b/docs/models/components/orderuser.md @@ -7,10 +7,10 @@ import { OrderUser } from "@polar-sh/sdk/models/components"; let value: OrderUser = { id: "", - email: "Augustine.Schumm80@hotmail.com", + email: "Trenton_Waelchi@hotmail.com", publicName: "", githubUsername: "", - avatarUrl: "https://hoarse-grouper.org/", + avatarUrl: "https://simple-sarong.org/", }; ``` diff --git a/docs/models/components/organization.md b/docs/models/components/organization.md index 91939fe2..e07c5c99 100644 --- a/docs/models/components/organization.md +++ b/docs/models/components/organization.md @@ -6,21 +6,21 @@ import { Organization } from "@polar-sh/sdk/models/components"; let value: Organization = { - createdAt: new Date("2022-04-12T21:42:39.454Z"), - modifiedAt: new Date("2024-09-18T02:22:39.004Z"), + createdAt: new Date("2024-02-28T08:54:10.839Z"), + modifiedAt: new Date("2022-12-05T17:14:25.023Z"), id: "", name: "", slug: "", - avatarUrl: "https://criminal-muscat.name/", + avatarUrl: "https://helpful-postbox.biz/", bio: "", - company: "Mitchell - Hayes", + company: "Schiller, Dickinson and Harris", blog: "", location: "", - email: "Johnathon_Fadel15@gmail.com", + email: "Dee_Heathcote3@hotmail.com", twitterUsername: "", - pledgeMinimumAmount: 386138, + pledgeMinimumAmount: 578452, pledgeBadgeShowAmount: false, - defaultUpfrontSplitToContributors: 273638, + defaultUpfrontSplitToContributors: 397112, profileSettings: {}, featureSettings: {}, }; diff --git a/docs/models/components/organizationavatarfilecreate.md b/docs/models/components/organizationavatarfilecreate.md index 1f330ce9..ce849afd 100644 --- a/docs/models/components/organizationavatarfilecreate.md +++ b/docs/models/components/organizationavatarfilecreate.md @@ -10,13 +10,13 @@ import { OrganizationAvatarFileCreate } from "@polar-sh/sdk/models/components"; let value: OrganizationAvatarFileCreate = { name: "", mimeType: "", - size: 316153, + size: 116640, upload: { parts: [ { - number: 303714, - chunkStart: 982690, - chunkEnd: 992327, + number: 510305, + chunkStart: 282979, + chunkEnd: 325225, }, ], }, diff --git a/docs/models/components/organizationavatarfileread.md b/docs/models/components/organizationavatarfileread.md index 0418e695..21336309 100644 --- a/docs/models/components/organizationavatarfileread.md +++ b/docs/models/components/organizationavatarfileread.md @@ -11,19 +11,19 @@ let value: OrganizationAvatarFileRead = { id: "", organizationId: "", name: "", - path: "/proc", + path: "/boot", mimeType: "", - size: 282979, + size: 338604, storageVersion: "", checksumEtag: "", checksumSha256Base64: "", checksumSha256Hex: "", - lastModifiedAt: new Date("2022-12-23T10:43:19.591Z"), + lastModifiedAt: new Date("2022-06-04T17:46:37.810Z"), version: "", isUploaded: false, - createdAt: new Date("2023-06-26T09:21:30.697Z"), + createdAt: new Date("2023-08-12T07:32:23.323Z"), sizeReadable: "", - publicUrl: "https://aged-interviewer.com", + publicUrl: "https://wrong-vibration.org", }; ``` diff --git a/docs/models/components/pagination.md b/docs/models/components/pagination.md index d67077d3..ad1cbb6b 100644 --- a/docs/models/components/pagination.md +++ b/docs/models/components/pagination.md @@ -6,8 +6,8 @@ import { Pagination } from "@polar-sh/sdk/models/components"; let value: Pagination = { - totalCount: 953921, - maxPage: 388851, + totalCount: 125488, + maxPage: 357519, }; ``` diff --git a/docs/models/components/pledge.md b/docs/models/components/pledge.md index fecbbe27..3d9ebb05 100644 --- a/docs/models/components/pledge.md +++ b/docs/models/components/pledge.md @@ -6,61 +6,60 @@ import { Pledge } from "@polar-sh/sdk/models/components"; let value: Pledge = { - createdAt: new Date("2024-04-19T02:14:13.396Z"), - modifiedAt: new Date("2023-06-26T20:58:19.998Z"), + createdAt: new Date("2023-06-12T10:03:01.658Z"), + modifiedAt: new Date("2023-09-18T07:49:46.907Z"), id: "", - amount: 678035, - currency: "Baht", - state: "disputed", - type: "pay_on_completion", + amount: 531387, + currency: "Zimbabwe Dollar", + state: "cancelled", + type: "pay_directly", issue: { - id: "77f6eeb3-6a42-479a-9945-633721806bf7", - number: 627954, + id: "377bb687-c7ad-4a57-97f6-eeb36a4279a9", + number: 348198, title: "", state: "open", - issueCreatedAt: new Date("2024-10-16T19:49:07.268Z"), + issueCreatedAt: new Date("2022-08-13T04:05:41.912Z"), needsConfirmationSolved: false, funding: {}, repository: { - id: "c21ef42b-f455-4748-bd64-e835810bb7d9", + id: "3721806b-f74a-42ec-921e-f42bf455748d", isPrivate: false, name: "MyOrg", - description: - "what part ultimately scrape cavernous amid godfather shovel westernize shiny", + description: "although voluminous what part ultimately", stars: 1337, license: "", homepage: "", profileSettings: {}, organization: { - id: "5f068836-bcb0-4a3a-8693-ae51f8dfd8f7", + id: "7137f3c2-a3c8-4e13-bc51-b21862a6a6d9", name: "", - avatarUrl: "https://understated-bakeware.net", + avatarUrl: "https://heartfelt-government.net", isPersonal: false, bio: "", prettyName: "", - company: "Stokes Group", + company: "D'Amore - Murphy", blog: "", location: "", - email: "Breanna22@yahoo.com", + email: "Royal42@hotmail.com", twitterUsername: "", organizationId: "", }, internalOrganization: { - createdAt: new Date("2022-07-21T21:02:29.433Z"), - modifiedAt: new Date("2024-04-11T01:55:46.051Z"), + createdAt: new Date("2022-11-21T10:30:33.033Z"), + modifiedAt: new Date("2024-10-14T21:38:28.286Z"), id: "", name: "", slug: "", - avatarUrl: "https://scaly-legislature.name", + avatarUrl: "https://shiny-fireplace.org", bio: "", - company: "Fay LLC", + company: "Jast - Langosh", blog: "", location: "", - email: "Elijah_Farrell29@gmail.com", + email: "Dandre_Rath71@yahoo.com", twitterUsername: "", - pledgeMinimumAmount: 898720, + pledgeMinimumAmount: 675549, pledgeBadgeShowAmount: false, - defaultUpfrontSplitToContributors: 435822, + defaultUpfrontSplitToContributors: 241178, profileSettings: {}, featureSettings: {}, }, diff --git a/docs/models/components/pledger.md b/docs/models/components/pledger.md index 9cb33380..6b6848f3 100644 --- a/docs/models/components/pledger.md +++ b/docs/models/components/pledger.md @@ -8,7 +8,7 @@ import { Pledger } from "@polar-sh/sdk/models/components"; let value: Pledger = { name: "", githubUsername: "", - avatarUrl: "https://inexperienced-adaptation.biz", + avatarUrl: "https://hurtful-millet.biz", }; ``` diff --git a/docs/models/components/pledgestate.md b/docs/models/components/pledgestate.md index 510056e0..f938b5e1 100644 --- a/docs/models/components/pledgestate.md +++ b/docs/models/components/pledgestate.md @@ -5,7 +5,7 @@ ```typescript import { PledgeState } from "@polar-sh/sdk/models/components"; -let value: PledgeState = "created"; +let value: PledgeState = "refunded"; ``` ## Values diff --git a/docs/models/components/pledgetype.md b/docs/models/components/pledgetype.md index bb9fbb67..9585b0b4 100644 --- a/docs/models/components/pledgetype.md +++ b/docs/models/components/pledgetype.md @@ -5,7 +5,7 @@ ```typescript import { PledgeType } from "@polar-sh/sdk/models/components"; -let value: PledgeType = "pay_on_completion"; +let value: PledgeType = "pay_upfront"; ``` ## Values diff --git a/docs/models/components/productmediafilecreate.md b/docs/models/components/productmediafilecreate.md index 5f7d1efa..e99dd0a4 100644 --- a/docs/models/components/productmediafilecreate.md +++ b/docs/models/components/productmediafilecreate.md @@ -10,13 +10,13 @@ import { ProductMediaFileCreate } from "@polar-sh/sdk/models/components"; let value: ProductMediaFileCreate = { name: "", mimeType: "", - size: 484547, + size: 291533, upload: { parts: [ { - number: 279720, - chunkStart: 370141, - chunkEnd: 428624, + number: 628171, + chunkStart: 714352, + chunkEnd: 272588, }, ], }, diff --git a/docs/models/components/productmediafileread.md b/docs/models/components/productmediafileread.md index 038f8a44..54606de7 100644 --- a/docs/models/components/productmediafileread.md +++ b/docs/models/components/productmediafileread.md @@ -11,19 +11,19 @@ let value: ProductMediaFileRead = { id: "", organizationId: "", name: "", - path: "/opt/share", + path: "/home/user/dir", mimeType: "", - size: 391136, + size: 867695, storageVersion: "", checksumEtag: "", checksumSha256Base64: "", checksumSha256Hex: "", - lastModifiedAt: new Date("2022-02-27T00:35:31.829Z"), + lastModifiedAt: new Date("2023-01-05T07:25:50.662Z"), version: "", isUploaded: false, - createdAt: new Date("2024-02-12T05:06:25.414Z"), + createdAt: new Date("2023-05-06T14:43:53.661Z"), sizeReadable: "", - publicUrl: "https://regular-duster.info", + publicUrl: "https://aware-presume.name/", }; ``` diff --git a/docs/models/components/productprice.md b/docs/models/components/productprice.md index e9693359..76ecc9d0 100644 --- a/docs/models/components/productprice.md +++ b/docs/models/components/productprice.md @@ -7,14 +7,14 @@ ```typescript const value: components.ProductPriceRecurring = { - createdAt: new Date("2022-04-06T03:24:49.820Z"), - modifiedAt: new Date("2022-07-30T22:07:34.485Z"), + createdAt: new Date("2024-11-16T17:16:25.681Z"), + modifiedAt: new Date("2024-04-25T08:20:17.706Z"), id: "", isArchived: false, productId: "", priceCurrency: "", - priceAmount: 852445, - recurringInterval: "month", + priceAmount: 300321, + recurringInterval: "year", }; ``` @@ -22,15 +22,13 @@ const value: components.ProductPriceRecurring = { ```typescript const value: components.ProductPriceOneTime = { - createdAt: new Date("2024-05-27T19:49:50.767Z"), - modifiedAt: new Date("2022-04-20T21:11:30.522Z"), + createdAt: new Date("2022-04-20T00:24:10.846Z"), + modifiedAt: new Date("2024-06-22T06:24:23.781Z"), id: "", isArchived: false, productId: "", priceCurrency: "", - minimumAmount: 227713, - maximumAmount: 727440, - presetAmount: 647553, + priceAmount: 665807, }; ``` diff --git a/docs/models/components/productpriceonetime.md b/docs/models/components/productpriceonetime.md index fa461d4d..0f5244cc 100644 --- a/docs/models/components/productpriceonetime.md +++ b/docs/models/components/productpriceonetime.md @@ -7,13 +7,13 @@ ```typescript const value: components.ProductPriceOneTimeFixed = { - createdAt: new Date("2024-09-08T07:15:04.514Z"), - modifiedAt: new Date("2022-10-02T02:39:34.529Z"), + createdAt: new Date("2024-03-04T18:06:33.266Z"), + modifiedAt: new Date("2023-05-22T03:29:50.109Z"), id: "", isArchived: false, productId: "", priceCurrency: "", - priceAmount: 958686, + priceAmount: 410579, }; ``` @@ -21,15 +21,15 @@ const value: components.ProductPriceOneTimeFixed = { ```typescript const value: components.ProductPriceOneTimeCustom = { - createdAt: new Date("2024-04-25T08:20:17.706Z"), - modifiedAt: new Date("2022-11-26T03:39:31.331Z"), + createdAt: new Date("2024-05-04T04:00:11.729Z"), + modifiedAt: new Date("2023-07-24T11:55:05.448Z"), id: "", isArchived: false, productId: "", priceCurrency: "", - minimumAmount: 616821, - maximumAmount: 307848, - presetAmount: 99467, + minimumAmount: 660582, + maximumAmount: 566193, + presetAmount: 712186, }; ``` @@ -37,8 +37,8 @@ const value: components.ProductPriceOneTimeCustom = { ```typescript const value: components.ProductPriceOneTimeFree = { - createdAt: new Date("2024-06-22T06:24:23.781Z"), - modifiedAt: new Date("2023-12-31T17:23:17.649Z"), + createdAt: new Date("2022-04-14T03:20:16.898Z"), + modifiedAt: new Date("2023-02-18T20:56:42.794Z"), id: "", isArchived: false, productId: "", diff --git a/docs/models/components/productpriceonetimecustom.md b/docs/models/components/productpriceonetimecustom.md index 61973b70..bd873d58 100644 --- a/docs/models/components/productpriceonetimecustom.md +++ b/docs/models/components/productpriceonetimecustom.md @@ -8,15 +8,15 @@ A pay-what-you-want price for a one-time product. import { ProductPriceOneTimeCustom } from "@polar-sh/sdk/models/components"; let value: ProductPriceOneTimeCustom = { - createdAt: new Date("2024-08-18T19:02:07.615Z"), - modifiedAt: new Date("2022-06-28T23:33:37.930Z"), + createdAt: new Date("2023-07-06T15:23:23.139Z"), + modifiedAt: new Date("2022-01-21T19:35:29.651Z"), id: "", isArchived: false, productId: "", priceCurrency: "", - minimumAmount: 47902, - maximumAmount: 191151, - presetAmount: 250180, + minimumAmount: 963968, + maximumAmount: 518964, + presetAmount: 52571, }; ``` diff --git a/docs/models/components/productpriceonetimefixed.md b/docs/models/components/productpriceonetimefixed.md index f5953281..537cde5e 100644 --- a/docs/models/components/productpriceonetimefixed.md +++ b/docs/models/components/productpriceonetimefixed.md @@ -8,13 +8,13 @@ A one-time price for a product. import { ProductPriceOneTimeFixed } from "@polar-sh/sdk/models/components"; let value: ProductPriceOneTimeFixed = { - createdAt: new Date("2023-11-04T22:40:23.273Z"), - modifiedAt: new Date("2022-06-05T19:42:55.635Z"), + createdAt: new Date("2022-07-03T03:06:50.452Z"), + modifiedAt: new Date("2022-09-23T06:43:21.886Z"), id: "", isArchived: false, productId: "", priceCurrency: "", - priceAmount: 377377, + priceAmount: 200824, }; ``` diff --git a/docs/models/components/productpriceonetimefree.md b/docs/models/components/productpriceonetimefree.md index f79897c7..5fcf2e7a 100644 --- a/docs/models/components/productpriceonetimefree.md +++ b/docs/models/components/productpriceonetimefree.md @@ -8,8 +8,8 @@ A free one-time price for a product. import { ProductPriceOneTimeFree } from "@polar-sh/sdk/models/components"; let value: ProductPriceOneTimeFree = { - createdAt: new Date("2024-05-08T20:55:58.603Z"), - modifiedAt: new Date("2023-12-12T08:42:47.730Z"), + createdAt: new Date("2024-01-18T12:44:39.181Z"), + modifiedAt: new Date("2022-10-22T16:49:52.571Z"), id: "", isArchived: false, productId: "", diff --git a/docs/models/components/productpricerecurring.md b/docs/models/components/productpricerecurring.md index 6e8b77dc..8c1ff749 100644 --- a/docs/models/components/productpricerecurring.md +++ b/docs/models/components/productpricerecurring.md @@ -7,14 +7,14 @@ ```typescript const value: components.ProductPriceRecurringFixed = { - createdAt: new Date("2023-09-10T01:46:44.404Z"), - modifiedAt: new Date("2022-07-08T02:50:24.146Z"), + createdAt: new Date("2023-11-04T22:40:23.273Z"), + modifiedAt: new Date("2022-06-05T19:42:55.635Z"), id: "", isArchived: false, productId: "", priceCurrency: "", - priceAmount: 794531, - recurringInterval: "month", + priceAmount: 377377, + recurringInterval: "year", }; ``` @@ -22,16 +22,16 @@ const value: components.ProductPriceRecurringFixed = { ```typescript const value: components.ProductPriceRecurringCustom = { - createdAt: new Date("2022-05-28T17:43:25.762Z"), - modifiedAt: new Date("2024-05-21T08:36:06.500Z"), + createdAt: new Date("2022-06-28T23:33:37.930Z"), + modifiedAt: new Date("2022-02-22T12:02:15.142Z"), id: "", isArchived: false, productId: "", priceCurrency: "", - minimumAmount: 369223, - maximumAmount: 312617, - presetAmount: 278672, - recurringInterval: "month", + minimumAmount: 191151, + maximumAmount: 250180, + presetAmount: 783643, + recurringInterval: "year", }; ``` @@ -39,12 +39,12 @@ const value: components.ProductPriceRecurringCustom = { ```typescript const value: components.ProductPriceRecurringFree = { - createdAt: new Date("2023-01-09T06:48:58.402Z"), - modifiedAt: new Date("2024-02-03T05:15:20.926Z"), + createdAt: new Date("2022-01-20T00:11:01.003Z"), + modifiedAt: new Date("2022-01-19T22:47:13.292Z"), id: "", isArchived: false, productId: "", - recurringInterval: "month", + recurringInterval: "year", }; ``` diff --git a/docs/models/components/productpricerecurringcustom.md b/docs/models/components/productpricerecurringcustom.md index fa8676de..1d519096 100644 --- a/docs/models/components/productpricerecurringcustom.md +++ b/docs/models/components/productpricerecurringcustom.md @@ -8,16 +8,16 @@ A pay-what-you-want recurring price for a product, i.e. a subscription. import { ProductPriceRecurringCustom } from "@polar-sh/sdk/models/components"; let value: ProductPriceRecurringCustom = { - createdAt: new Date("2022-04-26T05:01:47.668Z"), - modifiedAt: new Date("2023-08-17T13:50:34.495Z"), + createdAt: new Date("2023-01-05T01:07:05.491Z"), + modifiedAt: new Date("2023-03-25T01:54:21.205Z"), id: "", isArchived: false, productId: "", priceCurrency: "", - minimumAmount: 627779, - maximumAmount: 314053, - presetAmount: 828001, - recurringInterval: "year", + minimumAmount: 116194, + maximumAmount: 963094, + presetAmount: 973765, + recurringInterval: "month", }; ``` diff --git a/docs/models/components/productpricerecurringfixed.md b/docs/models/components/productpricerecurringfixed.md index 1c7f32b0..8c6adc0d 100644 --- a/docs/models/components/productpricerecurringfixed.md +++ b/docs/models/components/productpricerecurringfixed.md @@ -8,14 +8,14 @@ A recurring price for a product, i.e. a subscription. import { ProductPriceRecurringFixed } from "@polar-sh/sdk/models/components"; let value: ProductPriceRecurringFixed = { - createdAt: new Date("2022-12-23T13:23:13.316Z"), - modifiedAt: new Date("2024-04-30T17:28:03.068Z"), + createdAt: new Date("2023-11-26T02:07:27.856Z"), + modifiedAt: new Date("2022-05-18T11:05:49.760Z"), id: "", isArchived: false, productId: "", priceCurrency: "", - priceAmount: 913151, - recurringInterval: "year", + priceAmount: 610462, + recurringInterval: "month", }; ``` diff --git a/docs/models/components/productpricerecurringfree.md b/docs/models/components/productpricerecurringfree.md index 218c8213..80515c13 100644 --- a/docs/models/components/productpricerecurringfree.md +++ b/docs/models/components/productpricerecurringfree.md @@ -8,8 +8,8 @@ A free recurring price for a product, i.e. a subscription. import { ProductPriceRecurringFree } from "@polar-sh/sdk/models/components"; let value: ProductPriceRecurringFree = { - createdAt: new Date("2023-09-23T12:52:03.409Z"), - modifiedAt: new Date("2022-06-08T22:29:24.231Z"), + createdAt: new Date("2022-10-10T04:23:53.662Z"), + modifiedAt: new Date("2024-11-16T14:52:05.958Z"), id: "", isArchived: false, productId: "", diff --git a/docs/models/components/productpricetype.md b/docs/models/components/productpricetype.md index f32a0e5b..b764ca10 100644 --- a/docs/models/components/productpricetype.md +++ b/docs/models/components/productpricetype.md @@ -5,7 +5,7 @@ ```typescript import { ProductPriceType } from "@polar-sh/sdk/models/components"; -let value: ProductPriceType = "recurring"; +let value: ProductPriceType = "one_time"; ``` ## Values diff --git a/docs/models/components/reactions.md b/docs/models/components/reactions.md index c004072c..0e22cd3b 100644 --- a/docs/models/components/reactions.md +++ b/docs/models/components/reactions.md @@ -6,15 +6,15 @@ import { Reactions } from "@polar-sh/sdk/models/components"; let value: Reactions = { - totalCount: 967395, - plusOne: 340928, - minusOne: 888997, - laugh: 72274, - hooray: 143771, - confused: 441396, - heart: 47672, - rocket: 269513, - eyes: 598837, + totalCount: 937611, + plusOne: 945871, + minusOne: 569968, + laugh: 50203, + hooray: 884662, + confused: 911389, + heart: 943054, + rocket: 472020, + eyes: 291293, }; ``` diff --git a/docs/models/components/s3filecreatemultipart.md b/docs/models/components/s3filecreatemultipart.md index a65886aa..2d38c4d9 100644 --- a/docs/models/components/s3filecreatemultipart.md +++ b/docs/models/components/s3filecreatemultipart.md @@ -8,9 +8,9 @@ import { S3FileCreateMultipart } from "@polar-sh/sdk/models/components"; let value: S3FileCreateMultipart = { parts: [ { - number: 461028, - chunkStart: 795557, - chunkEnd: 880094, + number: 199764, + chunkStart: 875896, + chunkEnd: 306009, }, ], }; diff --git a/docs/models/components/s3filecreatepart.md b/docs/models/components/s3filecreatepart.md index a4c007d6..5becda56 100644 --- a/docs/models/components/s3filecreatepart.md +++ b/docs/models/components/s3filecreatepart.md @@ -6,9 +6,9 @@ import { S3FileCreatePart } from "@polar-sh/sdk/models/components"; let value: S3FileCreatePart = { - number: 718198, - chunkStart: 775253, - chunkEnd: 931614, + number: 147566, + chunkStart: 634549, + chunkEnd: 524410, }; ``` diff --git a/docs/models/components/s3fileuploadcompletedpart.md b/docs/models/components/s3fileuploadcompletedpart.md index bbcee481..b3888a9b 100644 --- a/docs/models/components/s3fileuploadcompletedpart.md +++ b/docs/models/components/s3fileuploadcompletedpart.md @@ -6,7 +6,7 @@ import { S3FileUploadCompletedPart } from "@polar-sh/sdk/models/components"; let value: S3FileUploadCompletedPart = { - number: 721145, + number: 14959, checksumEtag: "", checksumSha256Base64: "", }; diff --git a/docs/models/components/s3fileuploadmultipart.md b/docs/models/components/s3fileuploadmultipart.md index 754b1e80..add3f86a 100644 --- a/docs/models/components/s3fileuploadmultipart.md +++ b/docs/models/components/s3fileuploadmultipart.md @@ -7,14 +7,14 @@ import { S3FileUploadMultipart } from "@polar-sh/sdk/models/components"; let value: S3FileUploadMultipart = { id: "", - path: "/Network", + path: "/tmp", parts: [ { - number: 114297, - chunkStart: 742203, - chunkEnd: 521471, - url: "https://tattered-jury.biz/", - expiresAt: new Date("2024-03-31T06:44:53.428Z"), + number: 369720, + chunkStart: 921566, + chunkEnd: 19684, + url: "https://mediocre-cope.info", + expiresAt: new Date("2022-11-22T09:26:52.208Z"), }, ], }; diff --git a/docs/models/components/s3fileuploadpart.md b/docs/models/components/s3fileuploadpart.md index 3ada815c..707d3338 100644 --- a/docs/models/components/s3fileuploadpart.md +++ b/docs/models/components/s3fileuploadpart.md @@ -6,11 +6,11 @@ import { S3FileUploadPart } from "@polar-sh/sdk/models/components"; let value: S3FileUploadPart = { - number: 269847, - chunkStart: 276285, - chunkEnd: 208734, - url: "https://stiff-premier.info/", - expiresAt: new Date("2024-03-05T13:59:29.287Z"), + number: 670410, + chunkStart: 753129, + chunkEnd: 771396, + url: "https://difficult-emergent.name/", + expiresAt: new Date("2023-11-06T08:55:11.482Z"), }; ``` diff --git a/docs/models/components/subscriptionrecurringinterval.md b/docs/models/components/subscriptionrecurringinterval.md index 36650f2b..5afac4d6 100644 --- a/docs/models/components/subscriptionrecurringinterval.md +++ b/docs/models/components/subscriptionrecurringinterval.md @@ -5,7 +5,7 @@ ```typescript import { SubscriptionRecurringInterval } from "@polar-sh/sdk/models/components"; -let value: SubscriptionRecurringInterval = "month"; +let value: SubscriptionRecurringInterval = "year"; ``` ## Values diff --git a/docs/models/components/subscriptionstatus.md b/docs/models/components/subscriptionstatus.md index 8aed51fa..eee40cc0 100644 --- a/docs/models/components/subscriptionstatus.md +++ b/docs/models/components/subscriptionstatus.md @@ -5,7 +5,7 @@ ```typescript import { SubscriptionStatus } from "@polar-sh/sdk/models/components"; -let value: SubscriptionStatus = "trialing"; +let value: SubscriptionStatus = "past_due"; ``` ## Values diff --git a/docs/models/components/userbenefit.md b/docs/models/components/userbenefit.md index d9d544b5..3039dfd0 100644 --- a/docs/models/components/userbenefit.md +++ b/docs/models/components/userbenefit.md @@ -7,17 +7,18 @@ ```typescript const value: components.BenefitAdsSubscriber = { - createdAt: new Date("2024-02-16T08:42:30.471Z"), - modifiedAt: new Date("2023-03-07T11:07:52.727Z"), + createdAt: new Date("2023-03-31T10:47:58.920Z"), + modifiedAt: new Date("2023-04-07T17:10:31.500Z"), id: "", - description: "helpful shakily nor", + description: + "gee outfit outrun lighthearted quizzically pleasing foolishly why beside commonly", selectable: false, deletable: false, organizationId: "", grants: [ { - createdAt: new Date("2024-01-20T15:23:58.911Z"), - modifiedAt: new Date("2023-08-14T01:14:36.260Z"), + createdAt: new Date("2023-05-23T11:55:09.881Z"), + modifiedAt: new Date("2024-09-30T23:48:11.129Z"), id: "", isGranted: false, isRevoked: false, @@ -29,21 +30,21 @@ const value: components.BenefitAdsSubscriber = { }, ], organization: { - createdAt: new Date("2023-09-20T09:43:49.938Z"), - modifiedAt: new Date("2022-09-04T08:32:34.245Z"), + createdAt: new Date("2024-01-03T23:39:21.639Z"), + modifiedAt: new Date("2022-03-21T10:21:14.772Z"), id: "", name: "", slug: "", - avatarUrl: "https://noxious-pronoun.org", + avatarUrl: "https://flawed-freckle.net/", bio: "", - company: "Thompson Group", + company: "Howell, Pfannerstill and Ziemann", blog: "", location: "", - email: "Lamont31@gmail.com", + email: "Lou20@hotmail.com", twitterUsername: "", - pledgeMinimumAmount: 569196, + pledgeMinimumAmount: 696324, pledgeBadgeShowAmount: false, - defaultUpfrontSplitToContributors: 789036, + defaultUpfrontSplitToContributors: 366324, profileSettings: {}, featureSettings: {}, }, @@ -55,17 +56,18 @@ const value: components.BenefitAdsSubscriber = { ```typescript const value: components.BenefitArticlesSubscriber = { - createdAt: new Date("2024-06-28T21:29:27.010Z"), - modifiedAt: new Date("2024-07-12T20:33:30.741Z"), + createdAt: new Date("2023-08-03T23:23:59.966Z"), + modifiedAt: new Date("2023-08-18T21:58:52.875Z"), id: "", - description: "whup terrorise categorise putrid solidly wasteful", + description: + "dividend investigate minty louse ferret commonly talkative liberalize", selectable: false, deletable: false, organizationId: "", grants: [ { - createdAt: new Date("2023-09-23T21:28:43.149Z"), - modifiedAt: new Date("2023-11-05T08:19:22.907Z"), + createdAt: new Date("2022-09-25T08:37:09.478Z"), + modifiedAt: new Date("2024-03-02T11:27:13.468Z"), id: "", isGranted: false, isRevoked: false, @@ -76,21 +78,21 @@ const value: components.BenefitArticlesSubscriber = { }, ], organization: { - createdAt: new Date("2022-03-16T08:52:45.944Z"), - modifiedAt: new Date("2024-11-09T15:05:05.250Z"), + createdAt: new Date("2022-05-04T14:46:57.065Z"), + modifiedAt: new Date("2024-12-21T12:53:01.858Z"), id: "", name: "", slug: "", - avatarUrl: "https://stiff-assist.info", + avatarUrl: "https://mushy-hippodrome.biz", bio: "", - company: "Gleichner - Schiller", + company: "Thiel Inc", blog: "", location: "", - email: "Idella_Wintheiser21@yahoo.com", + email: "Darrick57@yahoo.com", twitterUsername: "", - pledgeMinimumAmount: 530199, + pledgeMinimumAmount: 98250, pledgeBadgeShowAmount: false, - defaultUpfrontSplitToContributors: 951411, + defaultUpfrontSplitToContributors: 366117, profileSettings: {}, featureSettings: {}, }, @@ -104,17 +106,17 @@ const value: components.BenefitArticlesSubscriber = { ```typescript const value: components.BenefitCustomSubscriber = { - createdAt: new Date("2024-09-24T19:03:08.378Z"), - modifiedAt: new Date("2023-10-03T18:58:19.098Z"), + createdAt: new Date("2024-09-05T07:59:50.566Z"), + modifiedAt: new Date("2022-04-03T13:03:56.657Z"), id: "", - description: "commonly intently prime hm halt", + description: "knowledgeably inasmuch drive frankly", selectable: false, deletable: false, organizationId: "", grants: [ { - createdAt: new Date("2024-11-21T13:13:18.078Z"), - modifiedAt: new Date("2022-11-07T17:32:47.506Z"), + createdAt: new Date("2023-01-31T18:43:40.215Z"), + modifiedAt: new Date("2022-04-21T11:33:43.244Z"), id: "", isGranted: false, isRevoked: false, @@ -125,21 +127,21 @@ const value: components.BenefitCustomSubscriber = { }, ], organization: { - createdAt: new Date("2022-10-16T08:01:27.253Z"), - modifiedAt: new Date("2023-01-01T12:34:42.729Z"), + createdAt: new Date("2023-01-30T08:26:10.023Z"), + modifiedAt: new Date("2024-08-31T02:24:06.436Z"), id: "", name: "", slug: "", - avatarUrl: "https://unlawful-compromise.biz", + avatarUrl: "https://honorable-unblinking.net/", bio: "", - company: "Kling Inc", + company: "Sanford Group", blog: "", location: "", - email: "Thomas_Pfeffer51@hotmail.com", + email: "Billy38@yahoo.com", twitterUsername: "", - pledgeMinimumAmount: 638085, + pledgeMinimumAmount: 264125, pledgeBadgeShowAmount: false, - defaultUpfrontSplitToContributors: 585109, + defaultUpfrontSplitToContributors: 472429, profileSettings: {}, featureSettings: {}, }, @@ -153,18 +155,17 @@ const value: components.BenefitCustomSubscriber = { ```typescript const value: components.BenefitDiscordSubscriber = { - createdAt: new Date("2024-09-15T02:42:30.278Z"), - modifiedAt: new Date("2022-02-27T10:30:52.902Z"), + createdAt: new Date("2024-06-08T06:31:25.831Z"), + modifiedAt: new Date("2024-06-12T22:00:17.977Z"), id: "", - description: - "excepting insidious please once louse deployment circa trolley from deduction", + description: "aw aboard alliance dusk lovingly hm jellyfish modulo likewise", selectable: false, deletable: false, organizationId: "", grants: [ { - createdAt: new Date("2022-11-16T15:59:09.505Z"), - modifiedAt: new Date("2024-04-30T20:40:52.185Z"), + createdAt: new Date("2024-08-18T09:11:38.486Z"), + modifiedAt: new Date("2022-10-06T07:01:26.430Z"), id: "", isGranted: false, isRevoked: false, @@ -175,21 +176,21 @@ const value: components.BenefitDiscordSubscriber = { }, ], organization: { - createdAt: new Date("2022-10-27T14:11:26.569Z"), - modifiedAt: new Date("2023-02-22T02:51:06.328Z"), + createdAt: new Date("2022-03-28T08:49:02.228Z"), + modifiedAt: new Date("2024-03-31T12:38:24.305Z"), id: "", name: "", slug: "", - avatarUrl: "https://optimistic-yin.biz/", + avatarUrl: "https://overcooked-airport.org/", bio: "", - company: "Gislason Inc", + company: "Muller, Auer and Hodkiewicz", blog: "", location: "", - email: "Floyd94@gmail.com", + email: "Marion_Koelpin53@hotmail.com", twitterUsername: "", - pledgeMinimumAmount: 516739, + pledgeMinimumAmount: 619772, pledgeBadgeShowAmount: false, - defaultUpfrontSplitToContributors: 777193, + defaultUpfrontSplitToContributors: 271216, profileSettings: {}, featureSettings: {}, }, @@ -203,17 +204,17 @@ const value: components.BenefitDiscordSubscriber = { ```typescript const value: components.BenefitDownloadablesSubscriber = { - createdAt: new Date("2022-05-16T00:07:02.940Z"), - modifiedAt: new Date("2023-05-25T01:57:15.304Z"), + createdAt: new Date("2022-04-19T08:02:38.105Z"), + modifiedAt: new Date("2023-03-18T14:06:13.429Z"), id: "", - description: "gah finally painfully", + description: "rival gift spirit expostulate vice apud ugh", selectable: false, deletable: false, organizationId: "", grants: [ { - createdAt: new Date("2023-10-30T15:22:40.432Z"), - modifiedAt: new Date("2024-11-19T21:16:21.345Z"), + createdAt: new Date("2022-03-01T17:31:10.140Z"), + modifiedAt: new Date("2022-07-29T13:22:57.325Z"), id: "", isGranted: false, isRevoked: false, @@ -224,21 +225,21 @@ const value: components.BenefitDownloadablesSubscriber = { }, ], organization: { - createdAt: new Date("2022-01-26T11:12:58.424Z"), - modifiedAt: new Date("2023-08-06T02:09:12.930Z"), + createdAt: new Date("2023-10-25T00:19:28.038Z"), + modifiedAt: new Date("2023-12-27T18:04:43.696Z"), id: "", name: "", slug: "", - avatarUrl: "https://awesome-morning.net/", + avatarUrl: "https://troubled-yak.net", bio: "", - company: "Bartell, Jaskolski and Bayer", + company: "Skiles Group", blog: "", location: "", - email: "Clay.Hayes@gmail.com", + email: "Joshua61@hotmail.com", twitterUsername: "", - pledgeMinimumAmount: 894173, + pledgeMinimumAmount: 506689, pledgeBadgeShowAmount: false, - defaultUpfrontSplitToContributors: 181041, + defaultUpfrontSplitToContributors: 115137, profileSettings: {}, featureSettings: {}, }, @@ -254,17 +255,18 @@ const value: components.BenefitDownloadablesSubscriber = { ```typescript const value: components.BenefitGitHubRepositorySubscriber = { - createdAt: new Date("2024-04-17T01:35:51.341Z"), - modifiedAt: new Date("2022-03-09T05:37:58.726Z"), + createdAt: new Date("2024-06-16T08:06:46.349Z"), + modifiedAt: new Date("2023-01-23T02:56:05.743Z"), id: "", - description: "hm jellyfish modulo likewise airport pleasure", + description: + "limp as uncover sleepily glorious tackle yowza toward to numeric", selectable: false, deletable: false, organizationId: "", grants: [ { - createdAt: new Date("2022-06-26T10:37:28.934Z"), - modifiedAt: new Date("2023-05-20T19:32:12.756Z"), + createdAt: new Date("2024-12-27T10:18:44.676Z"), + modifiedAt: new Date("2024-06-14T16:54:24.317Z"), id: "", isGranted: false, isRevoked: false, @@ -275,21 +277,21 @@ const value: components.BenefitGitHubRepositorySubscriber = { }, ], organization: { - createdAt: new Date("2024-11-25T13:04:10.611Z"), - modifiedAt: new Date("2023-08-10T00:57:49.752Z"), + createdAt: new Date("2023-11-08T11:49:37.012Z"), + modifiedAt: new Date("2024-09-29T04:20:53.946Z"), id: "", name: "", slug: "", - avatarUrl: "https://polite-dredger.com/", + avatarUrl: "https://married-mousse.net", bio: "", - company: "Macejkovic Group", + company: "Beer, Ryan and King", blog: "", location: "", - email: "Johnpaul74@yahoo.com", + email: "Norval7@yahoo.com", twitterUsername: "", - pledgeMinimumAmount: 380034, + pledgeMinimumAmount: 953707, pledgeBadgeShowAmount: false, - defaultUpfrontSplitToContributors: 601634, + defaultUpfrontSplitToContributors: 795253, profileSettings: {}, featureSettings: {}, }, @@ -304,18 +306,17 @@ const value: components.BenefitGitHubRepositorySubscriber = { ```typescript const value: components.BenefitLicenseKeysSubscriber = { - createdAt: new Date("2024-02-01T07:02:42.733Z"), - modifiedAt: new Date("2022-02-17T10:11:30.743Z"), + createdAt: new Date("2023-03-04T04:56:31.434Z"), + modifiedAt: new Date("2023-10-03T09:12:12.639Z"), id: "", - description: - "reluctantly conceal toward happily elementary summer inside clean solidly", + description: "black though opposite wisely red", selectable: false, deletable: false, organizationId: "", grants: [ { - createdAt: new Date("2024-12-17T00:23:58.824Z"), - modifiedAt: new Date("2023-07-31T20:21:49.251Z"), + createdAt: new Date("2024-11-10T10:02:57.999Z"), + modifiedAt: new Date("2022-11-13T00:43:20.876Z"), id: "", isGranted: false, isRevoked: false, @@ -327,35 +328,35 @@ const value: components.BenefitLicenseKeysSubscriber = { }, ], organization: { - createdAt: new Date("2023-05-31T22:08:18.974Z"), - modifiedAt: new Date("2022-01-17T01:46:11.117Z"), + createdAt: new Date("2022-11-16T07:58:25.136Z"), + modifiedAt: new Date("2024-10-03T03:11:16.049Z"), id: "", name: "", slug: "", - avatarUrl: "https://tiny-diagram.biz", + avatarUrl: "https://doting-middle.net", bio: "", - company: "Bins Group", + company: "Kerluke LLC", blog: "", location: "", - email: "Devin_Kling94@yahoo.com", + email: "Nicholaus60@yahoo.com", twitterUsername: "", - pledgeMinimumAmount: 882586, + pledgeMinimumAmount: 76145, pledgeBadgeShowAmount: false, - defaultUpfrontSplitToContributors: 80206, + defaultUpfrontSplitToContributors: 158059, profileSettings: {}, featureSettings: {}, }, properties: { prefix: "", expires: { - ttl: 507635, - timeframe: "year", + ttl: 665082, + timeframe: "day", }, activations: { - limit: 365892, + limit: 588202, enableUserAdmin: false, }, - limitUsage: 743340, + limitUsage: 982804, }, }; ``` diff --git a/docs/models/components/userorder.md b/docs/models/components/userorder.md index de0c8651..a919fe3d 100644 --- a/docs/models/components/userorder.md +++ b/docs/models/components/userorder.md @@ -6,50 +6,47 @@ import { UserOrder } from "@polar-sh/sdk/models/components"; let value: UserOrder = { - createdAt: new Date("2022-12-01T19:09:40.569Z"), - modifiedAt: new Date("2024-08-14T08:55:15.893Z"), + createdAt: new Date("2024-06-08T06:27:42.005Z"), + modifiedAt: new Date("2024-05-13T16:28:56.418Z"), id: "", - amount: 226097, - taxAmount: 562402, - currency: "Zimbabwe Dollar", + amount: 495975, + taxAmount: 975847, + currency: "Lebanese Pound", userId: "", productId: "", productPriceId: "", subscriptionId: "", product: { - createdAt: new Date("2024-03-09T09:33:22.960Z"), - modifiedAt: new Date("2023-01-04T15:22:03.493Z"), + createdAt: new Date("2022-11-02T13:19:45.928Z"), + modifiedAt: new Date("2022-11-28T11:09:05.244Z"), id: "", name: "", - description: - "jaggedly like majestically because weatherize airbrush happily short-term galoshes", + description: "reporter ah offensively obvious flash geez sniff lest", isRecurring: false, isArchived: false, organizationId: "", prices: [ { - createdAt: new Date("2024-01-21T16:36:26.954Z"), - modifiedAt: new Date("2023-09-13T08:41:21.960Z"), + createdAt: new Date("2024-05-14T17:43:19.421Z"), + modifiedAt: new Date("2024-04-15T01:22:04.252Z"), id: "", isArchived: false, productId: "", - priceCurrency: "", - minimumAmount: 723031, - maximumAmount: 380315, - presetAmount: 862198, - recurringInterval: "month", + recurringInterval: "year", }, ], benefits: [ { - createdAt: new Date("2024-04-27T22:49:02.164Z"), - modifiedAt: new Date("2023-01-03T21:31:22.687Z"), + createdAt: new Date("2023-05-18T10:30:26.732Z"), + modifiedAt: new Date("2023-05-25T20:20:45.368Z"), id: "", - type: "github_repository", - description: "yuck accentuate er manage whenever", + description: "whenever ick wherever hm thorn vague", selectable: false, deletable: false, organizationId: "", + properties: { + paidArticles: false, + }, }, ], medias: [ @@ -57,61 +54,65 @@ let value: UserOrder = { id: "", organizationId: "", name: "", - path: "/opt/sbin", + path: "/Applications", mimeType: "", - size: 13781, + size: 154539, storageVersion: "", checksumEtag: "", checksumSha256Base64: "", checksumSha256Hex: "", - lastModifiedAt: new Date("2024-12-05T09:44:03.533Z"), + lastModifiedAt: new Date("2024-01-21T02:57:30.792Z"), version: "", isUploaded: false, - createdAt: new Date("2022-05-26T06:05:41.394Z"), + createdAt: new Date("2023-04-02T10:43:53.018Z"), sizeReadable: "", - publicUrl: "https://specific-tune-up.net", + publicUrl: "https://interesting-promise.name", }, ], organization: { - createdAt: new Date("2022-12-30T04:23:53.970Z"), - modifiedAt: new Date("2022-09-12T04:16:01.192Z"), + createdAt: new Date("2022-05-12T09:56:36.366Z"), + modifiedAt: new Date("2024-02-26T20:59:18.749Z"), id: "", name: "", slug: "", - avatarUrl: "https://doting-pulse.net/", + avatarUrl: "https://clean-meander.info", bio: "", - company: "Dibbert Group", + company: "Jones Group", blog: "", location: "", - email: "Jalen_Hills@yahoo.com", + email: "Asha43@gmail.com", twitterUsername: "", - pledgeMinimumAmount: 971393, + pledgeMinimumAmount: 100258, pledgeBadgeShowAmount: false, - defaultUpfrontSplitToContributors: 46226, + defaultUpfrontSplitToContributors: 227713, profileSettings: {}, featureSettings: {}, }, }, productPrice: { - createdAt: new Date("2022-09-17T06:35:06.033Z"), - modifiedAt: new Date("2022-08-23T05:21:13.950Z"), + createdAt: new Date("2023-09-10T01:46:44.404Z"), + modifiedAt: new Date("2022-07-08T02:50:24.146Z"), id: "", isArchived: false, productId: "", + priceCurrency: "", + minimumAmount: 794531, + maximumAmount: 141414, + presetAmount: 134798, }, subscription: { - createdAt: new Date("2024-04-15T09:46:18.365Z"), - modifiedAt: new Date("2023-06-18T01:34:34.609Z"), + createdAt: new Date("2024-05-21T08:36:06.500Z"), + modifiedAt: new Date("2023-02-09T16:03:01.500Z"), id: "", - amount: 992178, - currency: "Kwacha", - recurringInterval: "year", - status: "incomplete", - currentPeriodStart: new Date("2022-06-19T09:00:36.637Z"), - currentPeriodEnd: new Date("2024-01-21T02:57:30.792Z"), + amount: 312617, + currency: "Fiji Dollar", + recurringInterval: "month", + status: "trialing", + currentPeriodStart: new Date("2024-02-03T05:15:20.926Z"), + currentPeriodEnd: new Date("2022-09-21T07:51:24.980Z"), cancelAtPeriodEnd: false, - startedAt: new Date("2023-04-02T10:43:53.018Z"), - endedAt: new Date("2024-07-05T05:12:43.324Z"), + startedAt: new Date("2022-12-23T13:23:13.316Z"), + endedAt: new Date("2024-04-30T17:28:03.068Z"), userId: "", productId: "", priceId: "", diff --git a/docs/models/components/userorderinvoice.md b/docs/models/components/userorderinvoice.md index 37aa4c7f..29767fb9 100644 --- a/docs/models/components/userorderinvoice.md +++ b/docs/models/components/userorderinvoice.md @@ -8,7 +8,7 @@ Order's invoice data. import { UserOrderInvoice } from "@polar-sh/sdk/models/components"; let value: UserOrderInvoice = { - url: "https://mindless-cappelletti.com/", + url: "https://mindless-premier.info/", }; ``` diff --git a/docs/models/components/userorderproduct.md b/docs/models/components/userorderproduct.md index bbc4bb96..ed83d95e 100644 --- a/docs/models/components/userorderproduct.md +++ b/docs/models/components/userorderproduct.md @@ -6,35 +6,30 @@ import { UserOrderProduct } from "@polar-sh/sdk/models/components"; let value: UserOrderProduct = { - createdAt: new Date("2024-05-30T02:30:37.371Z"), - modifiedAt: new Date("2023-09-25T17:12:45.710Z"), + createdAt: new Date("2023-03-16T23:43:44.923Z"), + modifiedAt: new Date("2022-08-18T07:04:21.930Z"), id: "", name: "", - description: "profuse for pfft", + description: "deduction cop ack creak exaggerate", isRecurring: false, isArchived: false, organizationId: "", prices: [ { - createdAt: new Date("2022-06-08T18:49:15.844Z"), - modifiedAt: new Date("2024-03-12T17:24:42.086Z"), + createdAt: new Date("2023-03-10T02:54:55.367Z"), + modifiedAt: new Date("2024-09-17T22:15:47.415Z"), id: "", isArchived: false, productId: "", - priceCurrency: "", - minimumAmount: 342655, - maximumAmount: 122365, - presetAmount: 593600, - recurringInterval: "month", }, ], benefits: [ { - createdAt: new Date("2022-06-28T23:14:11.413Z"), - modifiedAt: new Date("2023-04-06T07:32:36.730Z"), + createdAt: new Date("2022-12-22T18:16:42.157Z"), + modifiedAt: new Date("2024-12-27T07:45:07.954Z"), id: "", - type: "github_repository", - description: "aboard supposing great wrongly pillow duffel that ack", + type: "license_keys", + description: "free humidity beyond perspire", selectable: false, deletable: false, organizationId: "", @@ -45,37 +40,37 @@ let value: UserOrderProduct = { id: "", organizationId: "", name: "", - path: "/lib", + path: "/home/user", mimeType: "", - size: 911049, + size: 861477, storageVersion: "", checksumEtag: "", checksumSha256Base64: "", checksumSha256Hex: "", - lastModifiedAt: new Date("2022-02-14T00:14:15.718Z"), + lastModifiedAt: new Date("2024-05-31T13:10:23.082Z"), version: "", isUploaded: false, - createdAt: new Date("2024-04-04T19:41:00.104Z"), + createdAt: new Date("2022-09-27T05:11:28.515Z"), sizeReadable: "", - publicUrl: "https://tangible-innovation.com/", + publicUrl: "https://apt-resolve.info", }, ], organization: { - createdAt: new Date("2022-09-06T07:03:13.253Z"), - modifiedAt: new Date("2024-12-25T20:02:08.349Z"), + createdAt: new Date("2024-07-04T15:55:26.085Z"), + modifiedAt: new Date("2023-05-26T04:08:34.395Z"), id: "", name: "", slug: "", - avatarUrl: "https://cute-shark.com/", + avatarUrl: "https://empty-yarmulke.info/", bio: "", - company: "Gulgowski - Beahan", + company: "Schoen - Bayer", blog: "", location: "", - email: "Mason_Schneider17@hotmail.com", + email: "Eli51@gmail.com", twitterUsername: "", - pledgeMinimumAmount: 867695, + pledgeMinimumAmount: 662487, pledgeBadgeShowAmount: false, - defaultUpfrontSplitToContributors: 336961, + defaultUpfrontSplitToContributors: 173265, profileSettings: {}, featureSettings: {}, }, diff --git a/docs/models/components/userordersortproperty.md b/docs/models/components/userordersortproperty.md index cba8f228..49e2f36b 100644 --- a/docs/models/components/userordersortproperty.md +++ b/docs/models/components/userordersortproperty.md @@ -5,7 +5,7 @@ ```typescript import { UserOrderSortProperty } from "@polar-sh/sdk/models/components"; -let value: UserOrderSortProperty = "created_at"; +let value: UserOrderSortProperty = "-created_at"; ``` ## Values diff --git a/docs/models/components/userordersubscription.md b/docs/models/components/userordersubscription.md index bf763c95..7818ccf4 100644 --- a/docs/models/components/userordersubscription.md +++ b/docs/models/components/userordersubscription.md @@ -6,18 +6,18 @@ import { UserOrderSubscription } from "@polar-sh/sdk/models/components"; let value: UserOrderSubscription = { - createdAt: new Date("2023-04-16T01:44:07.536Z"), - modifiedAt: new Date("2024-02-21T10:39:54.364Z"), + createdAt: new Date("2024-09-27T19:30:45.650Z"), + modifiedAt: new Date("2023-11-03T16:02:14.499Z"), id: "", - amount: 566160, - currency: "Boliviano boliviano", + amount: 105118, + currency: "Denar", recurringInterval: "year", - status: "past_due", - currentPeriodStart: new Date("2022-05-07T19:51:00.898Z"), - currentPeriodEnd: new Date("2023-09-08T20:31:08.350Z"), + status: "trialing", + currentPeriodStart: new Date("2024-06-26T11:43:18.514Z"), + currentPeriodEnd: new Date("2024-05-07T03:48:03.738Z"), cancelAtPeriodEnd: false, - startedAt: new Date("2023-01-03T20:56:17.022Z"), - endedAt: new Date("2023-05-18T21:35:04.801Z"), + startedAt: new Date("2023-09-23T12:52:03.409Z"), + endedAt: new Date("2022-06-08T22:29:24.231Z"), userId: "", productId: "", priceId: "", diff --git a/docs/models/components/usersubscription.md b/docs/models/components/usersubscription.md index 09d5ba3f..997c2750 100644 --- a/docs/models/components/usersubscription.md +++ b/docs/models/components/usersubscription.md @@ -6,49 +6,49 @@ import { UserSubscription } from "@polar-sh/sdk/models/components"; let value: UserSubscription = { - createdAt: new Date("2023-12-14T00:41:23.123Z"), - modifiedAt: new Date("2023-06-05T10:54:53.002Z"), + createdAt: new Date("2024-07-05T23:17:22.567Z"), + modifiedAt: new Date("2022-02-15T19:47:09.789Z"), id: "", - amount: 405542, - currency: "Uzbekistan Sum", + amount: 606529, + currency: "Qatari Rial", recurringInterval: "year", - status: "unpaid", - currentPeriodStart: new Date("2024-07-05T23:17:22.567Z"), - currentPeriodEnd: new Date("2022-02-15T19:47:09.789Z"), + status: "incomplete_expired", + currentPeriodStart: new Date("2023-04-12T11:46:50.754Z"), + currentPeriodEnd: new Date("2022-02-12T18:37:20.813Z"), cancelAtPeriodEnd: false, - startedAt: new Date("2023-10-27T18:08:56.770Z"), - endedAt: new Date("2024-02-04T14:38:25.913Z"), + startedAt: new Date("2022-04-14T03:03:06.965Z"), + endedAt: new Date("2023-09-07T07:42:18.122Z"), userId: "", productId: "", priceId: "", discountId: "", checkoutId: "", product: { - createdAt: new Date("2023-12-30T16:24:39.749Z"), - modifiedAt: new Date("2022-10-26T01:32:31.415Z"), + createdAt: new Date("2023-10-01T07:45:32.589Z"), + modifiedAt: new Date("2022-08-09T13:08:06.938Z"), id: "", name: "", - description: "majestically whereas pantyhose nun apropos lumbering", + description: "case healthily yuck sternly lest volleyball", isRecurring: false, isArchived: false, organizationId: "", prices: [ { - createdAt: new Date("2023-03-05T11:12:53.549Z"), - modifiedAt: new Date("2022-04-15T07:18:20.022Z"), + createdAt: new Date("2024-10-31T06:35:56.125Z"), + modifiedAt: new Date("2022-05-22T16:02:35.270Z"), id: "", isArchived: false, productId: "", + recurringInterval: "year", }, ], benefits: [ { - createdAt: new Date("2024-12-03T09:32:36.271Z"), - modifiedAt: new Date("2022-02-26T16:22:53.004Z"), + createdAt: new Date("2022-09-17T17:07:40.230Z"), + modifiedAt: new Date("2024-07-23T11:23:06.312Z"), id: "", - type: "github_repository", - description: - "brr which reproach past finer square vice indolent stir-fry psst", + type: "license_keys", + description: "which reproach past finer square", selectable: false, deletable: false, organizationId: "", @@ -59,52 +59,52 @@ let value: UserSubscription = { id: "", organizationId: "", name: "", - path: "/opt/sbin", + path: "/opt/lib", mimeType: "", - size: 325754, + size: 115870, storageVersion: "", checksumEtag: "", checksumSha256Base64: "", checksumSha256Hex: "", - lastModifiedAt: new Date("2023-10-01T11:00:56.426Z"), + lastModifiedAt: new Date("2024-02-16T00:29:37.108Z"), version: "", isUploaded: false, - createdAt: new Date("2022-12-23T01:26:30.649Z"), + createdAt: new Date("2022-11-03T20:22:59.538Z"), sizeReadable: "", - publicUrl: "https://shocked-custom.net/", + publicUrl: "https://posh-vestment.biz", }, ], organization: { - createdAt: new Date("2024-12-09T03:51:03.988Z"), - modifiedAt: new Date("2023-04-29T14:20:35.511Z"), + createdAt: new Date("2022-11-08T10:51:42.460Z"), + modifiedAt: new Date("2024-10-18T17:06:37.667Z"), id: "", name: "", slug: "", - avatarUrl: "https://deadly-secret.org", + avatarUrl: "https://knotty-reboot.info", bio: "", - company: "Funk Group", + company: "Crist LLC", blog: "", location: "", - email: "Ephraim76@hotmail.com", + email: "Lorena_Stehr@gmail.com", twitterUsername: "", - pledgeMinimumAmount: 636775, + pledgeMinimumAmount: 713741, pledgeBadgeShowAmount: false, - defaultUpfrontSplitToContributors: 957139, + defaultUpfrontSplitToContributors: 514441, profileSettings: {}, featureSettings: {}, }, }, price: { - createdAt: new Date("2024-01-22T07:34:32.676Z"), - modifiedAt: new Date("2024-02-23T14:44:14.548Z"), + createdAt: new Date("2023-04-20T10:58:30.086Z"), + modifiedAt: new Date("2022-12-24T00:38:40.863Z"), id: "", isArchived: false, productId: "", priceCurrency: "", - minimumAmount: 755848, - maximumAmount: 333150, - presetAmount: 882195, - recurringInterval: "month", + minimumAmount: 582536, + maximumAmount: 324872, + presetAmount: 235556, + recurringInterval: "year", }, }; ``` diff --git a/docs/models/components/usersubscriptionproduct.md b/docs/models/components/usersubscriptionproduct.md index a536fc5c..215ce71f 100644 --- a/docs/models/components/usersubscriptionproduct.md +++ b/docs/models/components/usersubscriptionproduct.md @@ -6,35 +6,34 @@ import { UserSubscriptionProduct } from "@polar-sh/sdk/models/components"; let value: UserSubscriptionProduct = { - createdAt: new Date("2023-03-14T10:14:52.824Z"), - modifiedAt: new Date("2023-08-17T23:24:42.450Z"), + createdAt: new Date("2022-02-03T10:22:11.476Z"), + modifiedAt: new Date("2024-03-30T18:05:35.215Z"), id: "", name: "", - description: "whale wherever even instead ew roger wash whereas drag", + description: "wherever even instead ew roger wash whereas drag pull bookend", isRecurring: false, isArchived: false, organizationId: "", prices: [ { - createdAt: new Date("2023-03-26T14:55:05.183Z"), - modifiedAt: new Date("2024-03-25T08:28:26.995Z"), + createdAt: new Date("2023-07-03T09:10:24.025Z"), + modifiedAt: new Date("2024-10-23T19:40:14.521Z"), id: "", isArchived: false, productId: "", priceCurrency: "", - minimumAmount: 906775, - maximumAmount: 295651, - presetAmount: 649901, - recurringInterval: "month", + minimumAmount: 880428, + maximumAmount: 713934, + presetAmount: 577541, }, ], benefits: [ { - createdAt: new Date("2023-11-06T12:20:27.709Z"), - modifiedAt: new Date("2023-02-03T14:49:56.249Z"), + createdAt: new Date("2022-01-09T22:42:48.365Z"), + modifiedAt: new Date("2022-05-12T02:52:19.946Z"), id: "", - type: "custom", - description: "relieve minus ashamed apricot adjudge fibre", + type: "ads", + description: "meager dish provided gee", selectable: false, deletable: false, organizationId: "", @@ -45,30 +44,30 @@ let value: UserSubscriptionProduct = { id: "", organizationId: "", name: "", - path: "/bin", + path: "/net", mimeType: "", - size: 636019, + size: 25705, storageVersion: "", checksumEtag: "", checksumSha256Base64: "", checksumSha256Hex: "", - lastModifiedAt: new Date("2022-02-05T11:00:40.920Z"), + lastModifiedAt: new Date("2023-11-29T01:49:49.888Z"), version: "", isUploaded: false, - createdAt: new Date("2022-05-01T20:48:13.554Z"), + createdAt: new Date("2022-02-05T11:00:40.920Z"), sizeReadable: "", - publicUrl: "https://corrupt-riser.com/", + publicUrl: "https://cumbersome-charm.net/", }, ], organization: { - createdAt: new Date("2022-06-12T21:52:06.305Z"), - modifiedAt: new Date("2023-05-05T22:17:51.096Z"), + createdAt: new Date("2022-04-13T09:59:21.377Z"), + modifiedAt: new Date("2022-06-12T21:52:06.305Z"), id: "", name: "", slug: "", - avatarUrl: "https://similar-joy.org/", + avatarUrl: "https://cooperative-reporter.info/", bio: "", - company: "Steuber - Cremin", + company: "Batz, Steuber and Cremin", blog: "", location: "", email: "Erica21@hotmail.com", diff --git a/docs/models/components/usersubscriptionproductbenefits.md b/docs/models/components/usersubscriptionproductbenefits.md index 8ab5b9d3..44e269ab 100644 --- a/docs/models/components/usersubscriptionproductbenefits.md +++ b/docs/models/components/usersubscriptionproductbenefits.md @@ -7,11 +7,11 @@ ```typescript const value: components.BenefitBase = { - createdAt: new Date("2022-11-02T06:36:12.349Z"), - modifiedAt: new Date("2023-05-29T17:03:11.056Z"), + createdAt: new Date("2022-08-22T20:30:40.847Z"), + modifiedAt: new Date("2024-06-01T14:18:08.175Z"), id: "", - type: "github_repository", - description: "openly painfully unabashedly sticky once", + type: "license_keys", + description: "even voluminous satisfy encouragement openly painfully", selectable: false, deletable: false, organizationId: "", @@ -22,10 +22,11 @@ const value: components.BenefitBase = { ```typescript const value: components.BenefitArticles = { - createdAt: new Date("2022-09-10T14:26:33.178Z"), - modifiedAt: new Date("2023-08-10T12:32:03.371Z"), + createdAt: new Date("2022-01-31T17:24:00.756Z"), + modifiedAt: new Date("2023-06-29T02:21:22.949Z"), id: "", - description: "likewise inspection populist", + description: + "strident good-natured as likewise inspection populist circumnavigate", selectable: false, deletable: false, organizationId: "", diff --git a/docs/models/components/webhookbenefitcreatedpayload.md b/docs/models/components/webhookbenefitcreatedpayload.md index 1b6ee6ec..22f1f234 100644 --- a/docs/models/components/webhookbenefitcreatedpayload.md +++ b/docs/models/components/webhookbenefitcreatedpayload.md @@ -11,19 +11,18 @@ import { WebhookBenefitCreatedPayload } from "@polar-sh/sdk/models/components"; let value: WebhookBenefitCreatedPayload = { data: { - createdAt: new Date("2024-04-17T03:17:03.175Z"), - modifiedAt: new Date("2023-08-08T19:18:35.830Z"), + createdAt: new Date("2023-11-19T08:24:51.450Z"), + modifiedAt: new Date("2023-03-04T07:12:01.015Z"), id: "", - description: "almighty ugh apropos between judicious phew merit", + description: + "common availability dutiful attraction save never whoa swath than ambitious", selectable: false, deletable: false, organizationId: "", properties: { - repositoryId: "", - repositoryOwner: "polarsource", - repositoryName: "private_repo", - permission: "maintain", + note: "", }, + isTaxApplicable: false, }, }; ``` diff --git a/docs/models/components/webhookbenefitgrantcreatedpayload.md b/docs/models/components/webhookbenefitgrantcreatedpayload.md index c22d8b22..ebf8be0f 100644 --- a/docs/models/components/webhookbenefitgrantcreatedpayload.md +++ b/docs/models/components/webhookbenefitgrantcreatedpayload.md @@ -11,8 +11,8 @@ import { WebhookBenefitGrantCreatedPayload } from "@polar-sh/sdk/models/componen let value: WebhookBenefitGrantCreatedPayload = { data: { - createdAt: new Date("2022-04-15T00:20:50.174Z"), - modifiedAt: new Date("2023-02-28T01:23:53.379Z"), + createdAt: new Date("2024-10-17T12:43:49.669Z"), + modifiedAt: new Date("2023-07-01T02:59:06.785Z"), id: "", isGranted: false, isRevoked: false, @@ -20,28 +20,20 @@ let value: WebhookBenefitGrantCreatedPayload = { orderId: "", userId: "", benefitId: "", - properties: { - advertisementCampaignId: "", - }, + properties: {}, benefit: { - createdAt: new Date("2023-07-01T02:59:06.785Z"), - modifiedAt: new Date("2022-09-27T02:59:25.428Z"), + createdAt: new Date("2022-08-24T14:27:21.344Z"), + modifiedAt: new Date("2024-09-22T04:37:01.682Z"), id: "", - description: "sleet before bravely tankful step-mother anti", + description: + "aboard of joyfully elevator than generously bonnet rag wilt while", selectable: false, deletable: false, organizationId: "", properties: { - prefix: "", - expires: { - ttl: 773588, - timeframe: "year", - }, - activations: { - limit: 287603, - enableUserAdmin: false, - }, - limitUsage: 983831, + guildId: "", + roleId: "", + guildToken: "", }, }, }, diff --git a/docs/models/components/webhookbenefitgrantrevokedpayload.md b/docs/models/components/webhookbenefitgrantrevokedpayload.md index e131c788..c612cd66 100644 --- a/docs/models/components/webhookbenefitgrantrevokedpayload.md +++ b/docs/models/components/webhookbenefitgrantrevokedpayload.md @@ -11,8 +11,8 @@ import { WebhookBenefitGrantRevokedPayload } from "@polar-sh/sdk/models/componen let value: WebhookBenefitGrantRevokedPayload = { data: { - createdAt: new Date("2023-08-26T13:48:26.011Z"), - modifiedAt: new Date("2024-10-19T23:59:57.430Z"), + createdAt: new Date("2024-10-03T19:59:31.448Z"), + modifiedAt: new Date("2022-07-31T19:59:30.248Z"), id: "", isGranted: false, isRevoked: false, @@ -20,17 +20,21 @@ let value: WebhookBenefitGrantRevokedPayload = { orderId: "", userId: "", benefitId: "", - properties: {}, + properties: { + advertisementCampaignId: "", + }, benefit: { - createdAt: new Date("2022-02-02T22:34:01.781Z"), - modifiedAt: new Date("2023-10-13T11:20:21.267Z"), + createdAt: new Date("2022-10-16T10:23:17.202Z"), + modifiedAt: new Date("2023-12-07T11:49:29.517Z"), id: "", - description: "beneath throbbing courageous gah lively about toaster", + description: "hmph idealistic antelope etch huzzah upwardly depute", selectable: false, deletable: false, organizationId: "", properties: { - paidArticles: false, + guildId: "", + roleId: "", + guildToken: "", }, }, }, diff --git a/docs/models/components/webhookbenefitgrantupdatedpayload.md b/docs/models/components/webhookbenefitgrantupdatedpayload.md index 48a51e36..43873128 100644 --- a/docs/models/components/webhookbenefitgrantupdatedpayload.md +++ b/docs/models/components/webhookbenefitgrantupdatedpayload.md @@ -11,8 +11,8 @@ import { WebhookBenefitGrantUpdatedPayload } from "@polar-sh/sdk/models/componen let value: WebhookBenefitGrantUpdatedPayload = { data: { - createdAt: new Date("2022-01-08T15:25:00.783Z"), - modifiedAt: new Date("2023-02-17T01:58:37.561Z"), + createdAt: new Date("2023-06-07T11:37:05.080Z"), + modifiedAt: new Date("2023-11-22T22:44:43.009Z"), id: "", isGranted: false, isRevoked: false, @@ -22,25 +22,14 @@ let value: WebhookBenefitGrantUpdatedPayload = { benefitId: "", properties: {}, benefit: { - createdAt: new Date("2022-08-30T22:57:38.964Z"), - modifiedAt: new Date("2023-08-14T20:40:28.054Z"), + createdAt: new Date("2023-09-14T07:02:12.738Z"), + modifiedAt: new Date("2023-09-09T15:16:50.595Z"), id: "", - description: "mindless that deer instead", + description: "phooey positively eyeglasses stratify", selectable: false, deletable: false, organizationId: "", - properties: { - prefix: "", - expires: { - ttl: 295816, - timeframe: "year", - }, - activations: { - limit: 52636, - enableUserAdmin: false, - }, - limitUsage: 812673, - }, + properties: {}, }, }, }; diff --git a/docs/models/components/webhookbenefitupdatedpayload.md b/docs/models/components/webhookbenefitupdatedpayload.md index f9a2f1d8..4befbccd 100644 --- a/docs/models/components/webhookbenefitupdatedpayload.md +++ b/docs/models/components/webhookbenefitupdatedpayload.md @@ -11,14 +11,18 @@ import { WebhookBenefitUpdatedPayload } from "@polar-sh/sdk/models/components"; let value: WebhookBenefitUpdatedPayload = { data: { - createdAt: new Date("2022-11-27T20:53:52.117Z"), - modifiedAt: new Date("2024-07-02T12:50:22.191Z"), + createdAt: new Date("2024-04-27T21:01:21.314Z"), + modifiedAt: new Date("2022-02-06T13:50:17.641Z"), id: "", - description: "tenderly circa drat", + description: + "depend vamoose diligently innocently ceramics plus blah likewise and gee", selectable: false, deletable: false, organizationId: "", - properties: {}, + properties: { + note: "", + }, + isTaxApplicable: false, }, }; ``` diff --git a/docs/models/components/webhookcheckoutcreatedpayload.md b/docs/models/components/webhookcheckoutcreatedpayload.md index d260041e..6c164322 100644 --- a/docs/models/components/webhookcheckoutcreatedpayload.md +++ b/docs/models/components/webhookcheckoutcreatedpayload.md @@ -11,20 +11,20 @@ import { WebhookCheckoutCreatedPayload } from "@polar-sh/sdk/models/components"; let value: WebhookCheckoutCreatedPayload = { data: { - createdAt: new Date("2023-05-15T05:25:50.321Z"), - modifiedAt: new Date("2022-08-31T08:50:06.151Z"), + createdAt: new Date("2024-11-12T13:13:35.041Z"), + modifiedAt: new Date("2023-07-15T16:45:43.480Z"), id: "", - status: "expired", + status: "confirmed", clientSecret: "", - url: "https://scaly-sundae.info/", - expiresAt: new Date("2024-06-13T13:52:47.549Z"), - successUrl: "https://splendid-lifestyle.org/", + url: "https://peaceful-devil.name", + expiresAt: new Date("2023-09-20T12:26:05.228Z"), + successUrl: "https://impressive-cheetah.org", embedOrigin: "", - amount: 224040, - taxAmount: 376743, - currency: "Qatari Rial", - subtotalAmount: 848421, - totalAmount: 478317, + amount: 112328, + taxAmount: 139468, + currency: "Belarusian Ruble", + subtotalAmount: 39410, + totalAmount: 857732, productId: "", productPriceId: "", discountId: "", @@ -36,29 +36,30 @@ let value: WebhookCheckoutCreatedPayload = { isPaymentFormRequired: false, customerId: "", customerName: "", - customerEmail: "Katelyn_Turner-Howe@hotmail.com", + customerEmail: "Boris86@hotmail.com", customerIpAddress: "", customerBillingAddress: { - country: "Yemen", + country: "Rwanda", }, customerTaxId: "", paymentProcessorMetadata: {}, metadata: { - "key": false, + "key": "", }, product: { - createdAt: new Date("2022-08-02T06:56:22.920Z"), - modifiedAt: new Date("2022-05-05T23:37:22.458Z"), + createdAt: new Date("2022-10-16T22:30:50.826Z"), + modifiedAt: new Date("2022-07-30T18:22:13.120Z"), id: "", name: "", - description: "when gloat unearth up brandish", + description: + "team yum misspend status monthly since joyously whereas loftily", isRecurring: false, isArchived: false, organizationId: "", prices: [ { - createdAt: new Date("2023-06-04T19:35:25.688Z"), - modifiedAt: new Date("2023-12-29T09:49:51.089Z"), + createdAt: new Date("2022-12-04T18:03:27.933Z"), + modifiedAt: new Date("2023-09-02T20:46:43.071Z"), id: "", isArchived: false, productId: "", @@ -67,12 +68,12 @@ let value: WebhookCheckoutCreatedPayload = { ], benefits: [ { - createdAt: new Date("2024-09-08T18:09:01.569Z"), - modifiedAt: new Date("2022-01-31T04:12:47.832Z"), + createdAt: new Date("2024-08-08T14:14:17.299Z"), + modifiedAt: new Date("2023-07-03T06:17:05.413Z"), id: "", - type: "articles", + type: "license_keys", description: - "faint zowie eek aha officially majestically aside yawningly modulo", + "swine unblinking solidly zowie windy anticodon instead instead yippee", selectable: false, deletable: false, organizationId: "", @@ -83,35 +84,35 @@ let value: WebhookCheckoutCreatedPayload = { id: "", organizationId: "", name: "", - path: "/root", + path: "/private", mimeType: "", - size: 184468, + size: 816908, storageVersion: "", checksumEtag: "", checksumSha256Base64: "", checksumSha256Hex: "", - lastModifiedAt: new Date("2023-09-16T05:19:36.435Z"), + lastModifiedAt: new Date("2022-09-02T02:21:11.091Z"), version: "", isUploaded: false, - createdAt: new Date("2022-04-11T03:53:47.888Z"), + createdAt: new Date("2023-06-08T02:22:44.446Z"), sizeReadable: "", - publicUrl: "https://average-cop-out.biz", + publicUrl: "https://dental-mallard.biz", }, ], }, productPrice: { - createdAt: new Date("2022-11-12T08:59:34.640Z"), - modifiedAt: new Date("2022-03-23T01:23:19.166Z"), + createdAt: new Date("2023-09-26T03:15:51.295Z"), + modifiedAt: new Date("2023-09-27T09:31:29.811Z"), id: "", isArchived: false, productId: "", - recurringInterval: "month", + recurringInterval: "year", }, discount: { duration: "forever", type: "fixed", - amount: 235022, - currency: "Yuan Renminbi", + amount: 682642, + currency: "Australian Dollar", id: "", name: "", code: "", @@ -121,8 +122,8 @@ let value: WebhookCheckoutCreatedPayload = { { customFieldId: "", customField: { - createdAt: new Date("2023-07-08T07:48:14.392Z"), - modifiedAt: new Date("2024-11-30T14:18:48.145Z"), + createdAt: new Date("2022-11-19T11:06:17.765Z"), + modifiedAt: new Date("2022-11-02T17:00:24.297Z"), id: "", metadata: { "key": false, @@ -132,7 +133,7 @@ let value: WebhookCheckoutCreatedPayload = { organizationId: "", properties: {}, }, - order: 172520, + order: 287750, required: false, }, ], diff --git a/docs/models/components/webhookcheckoutupdatedpayload.md b/docs/models/components/webhookcheckoutupdatedpayload.md index 69d2b182..4ca1fd44 100644 --- a/docs/models/components/webhookcheckoutupdatedpayload.md +++ b/docs/models/components/webhookcheckoutupdatedpayload.md @@ -11,20 +11,20 @@ import { WebhookCheckoutUpdatedPayload } from "@polar-sh/sdk/models/components"; let value: WebhookCheckoutUpdatedPayload = { data: { - createdAt: new Date("2024-05-29T22:11:04.418Z"), - modifiedAt: new Date("2024-02-18T06:17:13.411Z"), + createdAt: new Date("2022-03-23T01:23:19.166Z"), + modifiedAt: new Date("2022-03-16T12:13:00.379Z"), id: "", - status: "failed", + status: "open", clientSecret: "", - url: "https://trim-precedent.biz/", - expiresAt: new Date("2023-03-04T04:40:18.515Z"), - successUrl: "https://strident-developmental.org", + url: "https://dirty-depot.biz/", + expiresAt: new Date("2022-11-24T09:56:09.198Z"), + successUrl: "https://winding-scratch.biz", embedOrigin: "", - amount: 945758, - taxAmount: 877770, - currency: "Bhutanese Ngultrum", - subtotalAmount: 541162, - totalAmount: 845961, + amount: 802851, + taxAmount: 710093, + currency: "Uzbekistan Sum", + subtotalAmount: 434707, + totalAmount: 867099, productId: "", productPriceId: "", discountId: "", @@ -36,10 +36,10 @@ let value: WebhookCheckoutUpdatedPayload = { isPaymentFormRequired: false, customerId: "", customerName: "", - customerEmail: "Melvin.Monahan29@hotmail.com", + customerEmail: "Dora24@hotmail.com", customerIpAddress: "", customerBillingAddress: { - country: "Haiti", + country: "United States of America", }, customerTaxId: "", paymentProcessorMetadata: {}, @@ -47,33 +47,33 @@ let value: WebhookCheckoutUpdatedPayload = { "key": false, }, product: { - createdAt: new Date("2022-10-13T13:16:25.770Z"), - modifiedAt: new Date("2022-07-16T02:10:57.222Z"), + createdAt: new Date("2023-02-22T21:24:01.011Z"), + modifiedAt: new Date("2023-08-17T02:43:11.535Z"), id: "", name: "", description: - "noxious connect amused bowling redound corrupt honorable ah before", + "debit drat wonderful knavishly forenenst although inculcate gee blah", isRecurring: false, isArchived: false, organizationId: "", prices: [ { - createdAt: new Date("2023-02-06T17:05:13.398Z"), - modifiedAt: new Date("2023-06-01T03:37:00.180Z"), + createdAt: new Date("2023-10-29T23:19:43.392Z"), + modifiedAt: new Date("2024-02-29T07:10:49.167Z"), id: "", isArchived: false, productId: "", priceCurrency: "", - priceAmount: 229261, - recurringInterval: "month", + priceAmount: 292425, + recurringInterval: "year", }, ], benefits: [ { - createdAt: new Date("2022-05-28T13:13:34.231Z"), - modifiedAt: new Date("2022-08-25T10:24:20.426Z"), + createdAt: new Date("2023-12-05T12:38:16.171Z"), + modifiedAt: new Date("2024-03-26T01:16:01.791Z"), id: "", - description: "throughout below knowledgeably", + description: "furthermore moisten save miserably", selectable: false, deletable: false, organizationId: "", @@ -87,35 +87,34 @@ let value: WebhookCheckoutUpdatedPayload = { id: "", organizationId: "", name: "", - path: "/usr/libdata", + path: "/srv", mimeType: "", - size: 340070, + size: 993982, storageVersion: "", checksumEtag: "", checksumSha256Base64: "", checksumSha256Hex: "", - lastModifiedAt: new Date("2023-12-27T22:43:26.713Z"), + lastModifiedAt: new Date("2022-05-26T16:11:49.684Z"), version: "", isUploaded: false, - createdAt: new Date("2024-09-01T19:47:14.357Z"), + createdAt: new Date("2022-04-08T08:19:25.840Z"), sizeReadable: "", - publicUrl: "https://candid-hydrolyze.com", + publicUrl: "https://sizzling-fledgling.name/", }, ], }, productPrice: { - createdAt: new Date("2022-07-10T19:20:44.663Z"), - modifiedAt: new Date("2023-09-05T11:02:41.111Z"), + createdAt: new Date("2022-04-22T08:22:38.865Z"), + modifiedAt: new Date("2023-05-04T21:33:55.459Z"), id: "", isArchived: false, productId: "", - recurringInterval: "year", }, discount: { - duration: "repeating", - type: "fixed", - amount: 919235, - currency: "Brunei Dollar", + duration: "once", + type: "percentage", + amount: 174093, + currency: "Pataca", id: "", name: "", code: "", @@ -125,18 +124,25 @@ let value: WebhookCheckoutUpdatedPayload = { { customFieldId: "", customField: { - createdAt: new Date("2023-02-08T05:00:10.593Z"), - modifiedAt: new Date("2024-05-15T15:58:19.686Z"), + createdAt: new Date("2022-06-21T16:09:43.950Z"), + modifiedAt: new Date("2024-09-29T15:28:55.790Z"), id: "", metadata: { - "key": 733157, + "key": "", }, slug: "", name: "", organizationId: "", - properties: {}, + properties: { + options: [ + { + value: "", + label: "", + }, + ], + }, }, - order: 852391, + order: 919235, required: false, }, ], diff --git a/docs/models/components/webhookordercreatedpayload.md b/docs/models/components/webhookordercreatedpayload.md index 3b6bfc75..2ad99f88 100644 --- a/docs/models/components/webhookordercreatedpayload.md +++ b/docs/models/components/webhookordercreatedpayload.md @@ -11,16 +11,19 @@ import { WebhookOrderCreatedPayload } from "@polar-sh/sdk/models/components"; let value: WebhookOrderCreatedPayload = { data: { - createdAt: new Date("2023-07-30T21:08:39.343Z"), - modifiedAt: new Date("2023-03-17T17:52:45.018Z"), + createdAt: new Date("2022-05-05T17:22:44.687Z"), + modifiedAt: new Date("2024-09-14T08:29:02.551Z"), id: "", metadata: { - "key": 56591, + "key": 789841, + }, + amount: 394238, + taxAmount: 733157, + currency: "Turkish Lira", + billingReason: "subscription_cycle", + billingAddress: { + country: "Hong Kong", }, - amount: 14815, - taxAmount: 743570, - currency: "Jamaican Dollar", - billingReason: "purchase", userId: "", productId: "", productPriceId: "", @@ -29,65 +32,63 @@ let value: WebhookOrderCreatedPayload = { checkoutId: "", user: { id: "", - email: "Lowell37@hotmail.com", + email: "Anahi15@yahoo.com", publicName: "", githubUsername: "", - avatarUrl: "https://agreeable-chasuble.info/", + avatarUrl: "https://liquid-formamide.info", }, product: { - createdAt: new Date("2022-07-02T07:43:41.839Z"), - modifiedAt: new Date("2024-06-20T23:42:15.718Z"), + createdAt: new Date("2023-02-12T01:50:20.635Z"), + modifiedAt: new Date("2024-08-29T15:55:30.902Z"), id: "", name: "", - description: "too fervently toward among hot rebel per oof so drat", + description: "brr heighten cautiously since outflank tensely", isRecurring: false, isArchived: false, organizationId: "", }, productPrice: { - createdAt: new Date("2022-09-14T19:42:35.208Z"), - modifiedAt: new Date("2024-09-09T16:28:12.266Z"), + createdAt: new Date("2023-07-13T00:28:03.217Z"), + modifiedAt: new Date("2023-08-22T05:17:14.865Z"), id: "", isArchived: false, productId: "", - priceCurrency: "", - priceAmount: 31870, - recurringInterval: "month", + recurringInterval: "year", }, discount: { - duration: "repeating", + duration: "once", type: "fixed", - basisPoints: 240358, - createdAt: new Date("2022-10-28T16:26:05.274Z"), - modifiedAt: new Date("2023-12-13T17:46:52.061Z"), + basisPoints: 710767, + createdAt: new Date("2022-04-13T01:27:21.623Z"), + modifiedAt: new Date("2022-10-14T09:08:59.998Z"), id: "", metadata: { - "key": false, + "key": "", }, name: "", code: "", - startsAt: new Date("2024-11-29T10:23:36.754Z"), - endsAt: new Date("2024-02-11T01:04:09.916Z"), - maxRedemptions: 421915, - redemptionsCount: 245539, + startsAt: new Date("2024-02-15T15:33:57.970Z"), + endsAt: new Date("2022-02-26T13:53:56.478Z"), + maxRedemptions: 344981, + redemptionsCount: 426373, organizationId: "", }, subscription: { metadata: { - "key": 726566, + "key": "", }, - createdAt: new Date("2022-05-08T18:50:11.491Z"), - modifiedAt: new Date("2022-03-07T13:13:15.838Z"), + createdAt: new Date("2023-05-18T09:47:38.626Z"), + modifiedAt: new Date("2023-08-06T10:08:55.763Z"), id: "", - amount: 224158, - currency: "Jordanian Dinar", + amount: 970819, + currency: "Tanzanian Shilling", recurringInterval: "year", - status: "incomplete", - currentPeriodStart: new Date("2023-08-14T06:11:02.768Z"), - currentPeriodEnd: new Date("2022-11-15T19:10:02.805Z"), + status: "incomplete_expired", + currentPeriodStart: new Date("2022-06-14T13:59:56.674Z"), + currentPeriodEnd: new Date("2023-12-01T18:54:11.315Z"), cancelAtPeriodEnd: false, - startedAt: new Date("2023-01-03T04:14:52.159Z"), - endedAt: new Date("2023-04-20T19:40:49.785Z"), + startedAt: new Date("2022-08-09T20:54:37.953Z"), + endedAt: new Date("2023-10-05T18:49:29.270Z"), userId: "", productId: "", priceId: "", diff --git a/docs/models/components/webhookorganizationupdatedpayload.md b/docs/models/components/webhookorganizationupdatedpayload.md index b500b942..9f3022df 100644 --- a/docs/models/components/webhookorganizationupdatedpayload.md +++ b/docs/models/components/webhookorganizationupdatedpayload.md @@ -11,21 +11,21 @@ import { WebhookOrganizationUpdatedPayload } from "@polar-sh/sdk/models/componen let value: WebhookOrganizationUpdatedPayload = { data: { - createdAt: new Date("2022-11-26T09:08:13.270Z"), - modifiedAt: new Date("2023-07-06T02:56:49.501Z"), + createdAt: new Date("2022-02-03T09:03:46.147Z"), + modifiedAt: new Date("2024-01-23T12:24:34.947Z"), id: "", name: "", slug: "", - avatarUrl: "https://swift-metabolite.com/", + avatarUrl: "https://bouncy-dwell.org", bio: "", - company: "Green, Feeney and Stroman", + company: "McCullough and Sons", blog: "", location: "", - email: "Jeremie.Kohler72@hotmail.com", + email: "Baylee_DuBuque94@hotmail.com", twitterUsername: "", - pledgeMinimumAmount: 323304, + pledgeMinimumAmount: 645688, pledgeBadgeShowAmount: false, - defaultUpfrontSplitToContributors: 929785, + defaultUpfrontSplitToContributors: 641713, profileSettings: {}, featureSettings: {}, }, diff --git a/docs/models/components/webhookpledgecreatedpayload.md b/docs/models/components/webhookpledgecreatedpayload.md index a7fa8122..5f28605a 100644 --- a/docs/models/components/webhookpledgecreatedpayload.md +++ b/docs/models/components/webhookpledgecreatedpayload.md @@ -11,60 +11,60 @@ import { WebhookPledgeCreatedPayload } from "@polar-sh/sdk/models/components"; let value: WebhookPledgeCreatedPayload = { data: { - createdAt: new Date("2024-05-29T00:31:19.231Z"), - modifiedAt: new Date("2024-11-26T13:01:36.250Z"), + createdAt: new Date("2022-03-15T19:09:10.567Z"), + modifiedAt: new Date("2022-06-22T14:36:35.854Z"), id: "", - amount: 433947, - currency: "Lebanese Pound", - state: "refunded", - type: "pay_on_completion", + amount: 647125, + currency: "Norwegian Krone", + state: "created", + type: "pay_upfront", issue: { - id: "dd0a99bb-1bd0-4530-9d8b-312d4957db5e", - number: 750249, + id: "67ea5c79-a581-4dfe-80dd-2b0ccf6768dd", + number: 668237, title: "", state: "closed", - issueCreatedAt: new Date("2023-01-31T09:00:48.397Z"), + issueCreatedAt: new Date("2023-11-02T14:38:38.415Z"), needsConfirmationSolved: false, funding: {}, repository: { - id: "879be9ef-84ab-4a03-a33f-a320454b91a4", + id: "bb1bd053-0d8b-4312-ad49-57db5e5cc587", isPrivate: false, name: "MyOrg", - description: "object mmm teeming geez homeschool absentmindedly", + description: "that voluntarily behind machine object mmm teeming geez", stars: 1337, license: "", homepage: "", profileSettings: {}, organization: { - id: "49f6d3f0-05e9-40d2-a61e-0e23322d653e", + id: "ae61466a-1122-4204-89f6-d3f005e90d26", name: "", - avatarUrl: "https://discrete-thyme.biz/", + avatarUrl: "https://aching-swath.biz", isPersonal: false, bio: "", prettyName: "", - company: "Murray - Gottlieb", + company: "Ernser - Conroy", blog: "", location: "", - email: "Leland66@gmail.com", + email: "Savanah.Hettinger@gmail.com", twitterUsername: "", organizationId: "", }, internalOrganization: { - createdAt: new Date("2022-10-04T08:23:30.297Z"), - modifiedAt: new Date("2023-07-23T15:57:25.365Z"), + createdAt: new Date("2023-01-14T09:00:24.393Z"), + modifiedAt: new Date("2022-08-05T15:41:47.092Z"), id: "", name: "", slug: "", - avatarUrl: "https://variable-issue.name/", + avatarUrl: "https://downright-baseboard.name", bio: "", - company: "Zulauf and Sons", + company: "Daugherty - Moen", blog: "", location: "", - email: "Dayana_Kling@hotmail.com", + email: "Carlo_Orn@yahoo.com", twitterUsername: "", - pledgeMinimumAmount: 526689, + pledgeMinimumAmount: 337514, pledgeBadgeShowAmount: false, - defaultUpfrontSplitToContributors: 465652, + defaultUpfrontSplitToContributors: 926674, profileSettings: {}, featureSettings: {}, }, diff --git a/docs/models/components/webhookpledgeupdatedpayload.md b/docs/models/components/webhookpledgeupdatedpayload.md index 89e4e429..dad7a6b5 100644 --- a/docs/models/components/webhookpledgeupdatedpayload.md +++ b/docs/models/components/webhookpledgeupdatedpayload.md @@ -11,60 +11,60 @@ import { WebhookPledgeUpdatedPayload } from "@polar-sh/sdk/models/components"; let value: WebhookPledgeUpdatedPayload = { data: { - createdAt: new Date("2023-06-08T06:20:48.185Z"), - modifiedAt: new Date("2023-03-14T14:18:20.001Z"), + createdAt: new Date("2023-10-28T18:18:02.027Z"), + modifiedAt: new Date("2022-05-10T16:07:10.579Z"), id: "", - amount: 374779, - currency: "Cedi", - state: "initiated", - type: "pay_directly", + amount: 766311, + currency: "Liberian Dollar", + state: "disputed", + type: "pay_upfront", issue: { - id: "7432f944-fa2c-46a9-a21c-3b0f86c6a0e8", - number: 941748, + id: "371b3504-d8b3-4393-a31c-1ed2f5e12704", + number: 131629, title: "", state: "open", - issueCreatedAt: new Date("2022-04-25T07:49:56.848Z"), + issueCreatedAt: new Date("2023-03-16T16:48:42.473Z"), needsConfirmationSolved: false, funding: {}, repository: { - id: "0795722e-285f-4134-8512-d72eb4ebf194", + id: "1ac71936-3add-4c88-9308-b6a556d3f474", isPrivate: false, name: "MyOrg", - description: "now except strictly down furthermore", + description: "cripple parade whoa horde range hm", stars: 1337, license: "", homepage: "", profileSettings: {}, organization: { - id: "b0ab14e7-9cd1-483b-9f0a-a6a6f7debab2", + id: "722e285f-1345-412d-972e-b4ebf19424ba", name: "", - avatarUrl: "https://insignificant-coil.biz/", + avatarUrl: "https://cluttered-numeracy.info/", isPersonal: false, bio: "", prettyName: "", - company: "Becker, Nader and Hickle", + company: "Boyer Inc", blog: "", location: "", - email: "Edythe_Stehr-Ebert@hotmail.com", + email: "Scot55@gmail.com", twitterUsername: "", organizationId: "", }, internalOrganization: { - createdAt: new Date("2023-04-21T12:22:07.487Z"), - modifiedAt: new Date("2022-06-28T21:12:27.512Z"), + createdAt: new Date("2023-10-13T08:07:34.700Z"), + modifiedAt: new Date("2024-10-30T19:13:54.224Z"), id: "", name: "", slug: "", - avatarUrl: "https://aware-violin.info", + avatarUrl: "https://spanish-apparatus.com/", bio: "", - company: "Hackett, Grant and Mitchell", + company: "Reinger, Mertz and Von", blog: "", location: "", - email: "Erling.Breitenberg8@hotmail.com", + email: "Abner.Reilly@yahoo.com", twitterUsername: "", - pledgeMinimumAmount: 521487, + pledgeMinimumAmount: 232137, pledgeBadgeShowAmount: false, - defaultUpfrontSplitToContributors: 299887, + defaultUpfrontSplitToContributors: 743469, profileSettings: {}, featureSettings: {}, }, diff --git a/docs/models/components/webhookproductcreatedpayload.md b/docs/models/components/webhookproductcreatedpayload.md index 33218dcf..4b080202 100644 --- a/docs/models/components/webhookproductcreatedpayload.md +++ b/docs/models/components/webhookproductcreatedpayload.md @@ -11,49 +11,39 @@ import { WebhookProductCreatedPayload } from "@polar-sh/sdk/models/components"; let value: WebhookProductCreatedPayload = { data: { - createdAt: new Date("2022-02-15T18:15:28.299Z"), - modifiedAt: new Date("2024-04-07T05:26:02.209Z"), + createdAt: new Date("2023-05-30T14:03:31.641Z"), + modifiedAt: new Date("2024-05-09T11:46:57.173Z"), id: "", name: "", - description: "which notwithstanding following once joyfully fork easily", + description: "blah since solemnly brr lamp physically afterwards", isRecurring: false, isArchived: false, organizationId: "", metadata: { - "key": "", + "key": 738443, }, prices: [ { - createdAt: new Date("2023-02-20T08:18:29.065Z"), - modifiedAt: new Date("2022-04-13T00:01:55.315Z"), + createdAt: new Date("2024-10-01T21:33:32.957Z"), + modifiedAt: new Date("2024-09-28T16:24:17.935Z"), id: "", isArchived: false, productId: "", - priceCurrency: "", - priceAmount: 36508, }, ], benefits: [ { - createdAt: new Date("2024-04-15T14:34:09.142Z"), - modifiedAt: new Date("2023-04-22T15:26:51.405Z"), + createdAt: new Date("2023-02-28T16:46:24.332Z"), + modifiedAt: new Date("2024-06-11T09:05:14.093Z"), id: "", - description: "crossly sprinkles when how", + description: "er upwardly drat downshift mmm unless", selectable: false, deletable: false, organizationId: "", properties: { - prefix: "", - expires: { - ttl: 159620, - timeframe: "day", - }, - activations: { - limit: 820355, - enableUserAdmin: false, - }, - limitUsage: 682147, + note: "", }, + isTaxApplicable: false, }, ], medias: [ @@ -61,44 +51,37 @@ let value: WebhookProductCreatedPayload = { id: "", organizationId: "", name: "", - path: "/net", + path: "/usr/libdata", mimeType: "", - size: 167783, + size: 613686, storageVersion: "", checksumEtag: "", checksumSha256Base64: "", checksumSha256Hex: "", - lastModifiedAt: new Date("2024-06-13T10:46:10.763Z"), + lastModifiedAt: new Date("2022-04-15T10:27:07.964Z"), version: "", isUploaded: false, - createdAt: new Date("2024-10-12T11:41:32.180Z"), + createdAt: new Date("2023-02-05T08:07:52.101Z"), sizeReadable: "", - publicUrl: "https://faint-bonnet.name", + publicUrl: "https://busy-range.biz/", }, ], attachedCustomFields: [ { customFieldId: "", customField: { - createdAt: new Date("2024-12-11T21:08:23.117Z"), - modifiedAt: new Date("2024-09-30T19:05:33.452Z"), + createdAt: new Date("2024-12-10T13:54:14.729Z"), + modifiedAt: new Date("2024-06-18T02:36:52.418Z"), id: "", metadata: { - "key": "", + "key": false, }, slug: "", name: "", organizationId: "", - properties: { - options: [ - { - value: "", - label: "", - }, - ], - }, + properties: {}, }, - order: 22070, + order: 325595, required: false, }, ], diff --git a/docs/models/components/webhookproductupdatedpayload.md b/docs/models/components/webhookproductupdatedpayload.md index 86fd516f..30d263ac 100644 --- a/docs/models/components/webhookproductupdatedpayload.md +++ b/docs/models/components/webhookproductupdatedpayload.md @@ -11,44 +11,42 @@ import { WebhookProductUpdatedPayload } from "@polar-sh/sdk/models/components"; let value: WebhookProductUpdatedPayload = { data: { - createdAt: new Date("2023-11-24T08:52:06.134Z"), - modifiedAt: new Date("2022-05-21T01:42:30.363Z"), + createdAt: new Date("2022-07-03T21:21:55.612Z"), + modifiedAt: new Date("2024-06-13T10:46:10.763Z"), id: "", name: "", description: - "including reluctantly loosely volleyball valiantly best though", + "tomatillo what puff woot dicker testimonial for aw since phew", isRecurring: false, isArchived: false, organizationId: "", metadata: { - "key": 554611, + "key": "", }, prices: [ { - createdAt: new Date("2023-10-14T21:14:28.454Z"), - modifiedAt: new Date("2024-01-13T15:19:31.438Z"), + createdAt: new Date("2023-06-04T10:10:43.292Z"), + modifiedAt: new Date("2024-03-09T20:13:31.276Z"), id: "", isArchived: false, productId: "", priceCurrency: "", - priceAmount: 219370, + priceAmount: 440191, }, ], benefits: [ { - createdAt: new Date("2024-04-29T08:16:33.102Z"), - modifiedAt: new Date("2022-11-09T21:59:58.532Z"), + createdAt: new Date("2023-06-05T09:33:09.726Z"), + modifiedAt: new Date("2022-02-28T18:14:17.837Z"), id: "", - description: - "absent opposite ew tenant whenever inside annually even knavishly mountain", + description: "hover woot alliance follower scaly", selectable: false, deletable: false, organizationId: "", properties: { - repositoryId: "", - repositoryOwner: "polarsource", - repositoryName: "private_repo", - permission: "maintain", + guildId: "", + roleId: "", + guildToken: "", }, }, ], @@ -57,27 +55,27 @@ let value: WebhookProductUpdatedPayload = { id: "", organizationId: "", name: "", - path: "/net", + path: "/etc/defaults", mimeType: "", - size: 500629, + size: 93022, storageVersion: "", checksumEtag: "", checksumSha256Base64: "", checksumSha256Hex: "", - lastModifiedAt: new Date("2022-04-21T18:22:25.645Z"), + lastModifiedAt: new Date("2022-06-20T08:26:29.394Z"), version: "", isUploaded: false, - createdAt: new Date("2024-07-17T08:39:28.965Z"), + createdAt: new Date("2022-04-16T09:50:51.591Z"), sizeReadable: "", - publicUrl: "https://unselfish-apricot.org", + publicUrl: "https://angelic-solution.net/", }, ], attachedCustomFields: [ { customFieldId: "", customField: { - createdAt: new Date("2022-05-24T05:07:05.541Z"), - modifiedAt: new Date("2024-03-01T04:04:19.932Z"), + createdAt: new Date("2022-12-23T04:48:04.278Z"), + modifiedAt: new Date("2023-11-18T15:17:28.200Z"), id: "", metadata: { "key": "", @@ -87,7 +85,7 @@ let value: WebhookProductUpdatedPayload = { organizationId: "", properties: {}, }, - order: 811861, + order: 171654, required: false, }, ], diff --git a/docs/models/components/webhooksubscriptionactivepayload.md b/docs/models/components/webhooksubscriptionactivepayload.md index 9d060084..b0481fb3 100644 --- a/docs/models/components/webhooksubscriptionactivepayload.md +++ b/docs/models/components/webhooksubscriptionactivepayload.md @@ -12,18 +12,18 @@ import { WebhookSubscriptionActivePayload } from "@polar-sh/sdk/models/component let value: WebhookSubscriptionActivePayload = { data: { - createdAt: new Date("2023-11-01T13:24:54.291Z"), - modifiedAt: new Date("2024-07-12T10:46:30.365Z"), + createdAt: new Date("2024-01-05T04:06:45.165Z"), + modifiedAt: new Date("2024-05-20T00:02:58.462Z"), id: "", - amount: 278654, - currency: "Quetzal", + amount: 408913, + currency: "Guinea Franc", recurringInterval: "year", - status: "unpaid", - currentPeriodStart: new Date("2022-09-10T22:04:09.629Z"), - currentPeriodEnd: new Date("2022-08-30T23:13:41.963Z"), + status: "incomplete_expired", + currentPeriodStart: new Date("2024-08-12T00:35:57.398Z"), + currentPeriodEnd: new Date("2022-11-19T02:09:16.945Z"), cancelAtPeriodEnd: false, - startedAt: new Date("2024-06-18T01:18:49.622Z"), - endedAt: new Date("2024-05-24T16:25:23.576Z"), + startedAt: new Date("2022-02-26T04:08:50.752Z"), + endedAt: new Date("2023-05-31T11:53:32.749Z"), userId: "", productId: "", priceId: "", @@ -33,48 +33,49 @@ let value: WebhookSubscriptionActivePayload = { "key": "", }, user: { - email: "Hillary67@gmail.com", + email: "Eladio31@yahoo.com", publicName: "", githubUsername: "", - avatarUrl: "https://lined-brush.net", + avatarUrl: "https://happy-go-lucky-pupil.com", }, product: { - createdAt: new Date("2023-10-22T13:03:47.869Z"), - modifiedAt: new Date("2022-02-06T04:23:11.388Z"), + createdAt: new Date("2022-09-12T21:48:55.870Z"), + modifiedAt: new Date("2022-08-19T01:15:21.496Z"), id: "", name: "", description: - "beside quaver inhibit doubter ick solemnly nicely commonly wherever", + "known upside-down inspect embarrassment wring excepting lined hastily", isRecurring: false, isArchived: false, organizationId: "", metadata: { - "key": 27651, + "key": 671561, }, prices: [ { - createdAt: new Date("2024-01-10T07:55:53.988Z"), - modifiedAt: new Date("2023-08-15T21:24:17.665Z"), + createdAt: new Date("2022-11-30T22:04:47.090Z"), + modifiedAt: new Date("2022-02-14T07:51:45.628Z"), id: "", isArchived: false, productId: "", priceCurrency: "", - minimumAmount: 789654, - maximumAmount: 962380, - presetAmount: 620966, + priceAmount: 843132, }, ], benefits: [ { - createdAt: new Date("2023-10-07T16:35:33.165Z"), - modifiedAt: new Date("2022-02-04T18:02:25.987Z"), + createdAt: new Date("2022-10-24T13:04:44.480Z"), + modifiedAt: new Date("2024-04-23T05:52:51.473Z"), id: "", - description: "concerning openly although vestment monasticism", + description: "mmm luck oh fussy graft astride ascertain mainstream", selectable: false, deletable: false, organizationId: "", properties: { - paidArticles: false, + repositoryId: "", + repositoryOwner: "polarsource", + repositoryName: "private_repo", + permission: "maintain", }, }, ], @@ -83,69 +84,70 @@ let value: WebhookSubscriptionActivePayload = { id: "", organizationId: "", name: "", - path: "/opt/share", + path: "/var/spool", mimeType: "", - size: 671066, + size: 620966, storageVersion: "", checksumEtag: "", checksumSha256Base64: "", checksumSha256Hex: "", - lastModifiedAt: new Date("2022-11-26T06:17:33.278Z"), + lastModifiedAt: new Date("2022-05-09T03:26:26.188Z"), version: "", isUploaded: false, - createdAt: new Date("2023-03-18T03:37:28.338Z"), + createdAt: new Date("2023-10-07T16:35:33.165Z"), sizeReadable: "", - publicUrl: "https://distant-lamp.net/", + publicUrl: "https://grown-bench.biz/", }, ], attachedCustomFields: [ { customFieldId: "", customField: { - createdAt: new Date("2023-06-16T23:24:38.141Z"), - modifiedAt: new Date("2024-04-04T07:16:34.900Z"), + createdAt: new Date("2022-08-21T04:25:21.569Z"), + modifiedAt: new Date("2024-05-07T15:08:34.450Z"), id: "", metadata: { - "key": 993026, + "key": 369207, }, slug: "", name: "", organizationId: "", properties: {}, }, - order: 57238, + order: 844394, required: false, }, ], }, price: { - createdAt: new Date("2022-12-17T08:51:22.729Z"), - modifiedAt: new Date("2022-01-07T19:48:01.441Z"), + createdAt: new Date("2024-12-12T17:13:53.718Z"), + modifiedAt: new Date("2022-08-06T22:31:18.612Z"), id: "", isArchived: false, productId: "", priceCurrency: "", - priceAmount: 519466, - recurringInterval: "year", + minimumAmount: 879491, + maximumAmount: 271087, + presetAmount: 555315, + recurringInterval: "month", }, discount: { duration: "forever", - durationInMonths: 877279, - type: "percentage", - amount: 263502, - currency: "Guinea Franc", - createdAt: new Date("2022-08-09T02:29:28.009Z"), - modifiedAt: new Date("2022-10-18T01:10:10.562Z"), + type: "fixed", + amount: 488203, + currency: "Algerian Dinar", + createdAt: new Date("2022-02-12T14:32:02.870Z"), + modifiedAt: new Date("2024-02-27T05:59:10.672Z"), id: "", metadata: { - "key": false, + "key": 172302, }, name: "", code: "", - startsAt: new Date("2023-11-30T23:44:32.134Z"), - endsAt: new Date("2022-10-14T18:21:15.353Z"), - maxRedemptions: 539732, - redemptionsCount: 860632, + startsAt: new Date("2024-11-04T23:29:44.200Z"), + endsAt: new Date("2023-06-20T11:03:37.052Z"), + maxRedemptions: 562959, + redemptionsCount: 962224, organizationId: "", }, }, diff --git a/docs/models/components/webhooksubscriptioncanceledpayload.md b/docs/models/components/webhooksubscriptioncanceledpayload.md index 09dcb9bc..ca48e23c 100644 --- a/docs/models/components/webhooksubscriptioncanceledpayload.md +++ b/docs/models/components/webhooksubscriptioncanceledpayload.md @@ -12,64 +12,63 @@ import { WebhookSubscriptionCanceledPayload } from "@polar-sh/sdk/models/compone let value: WebhookSubscriptionCanceledPayload = { data: { - createdAt: new Date("2022-10-22T03:27:09.180Z"), - modifiedAt: new Date("2022-01-28T06:52:10.820Z"), + createdAt: new Date("2022-05-10T11:56:00.057Z"), + modifiedAt: new Date("2022-07-19T18:24:46.859Z"), id: "", - amount: 276086, - currency: "CFA Franc BEAC", + amount: 710205, + currency: "Pataca", recurringInterval: "month", status: "incomplete", - currentPeriodStart: new Date("2022-07-10T09:38:33.519Z"), - currentPeriodEnd: new Date("2024-02-14T02:44:27.976Z"), + currentPeriodStart: new Date("2023-10-03T00:29:09.828Z"), + currentPeriodEnd: new Date("2023-04-29T19:46:45.023Z"), cancelAtPeriodEnd: false, - startedAt: new Date("2024-12-08T15:22:09.808Z"), - endedAt: new Date("2023-10-07T18:53:01.108Z"), + startedAt: new Date("2024-01-06T11:43:34.285Z"), + endedAt: new Date("2022-11-26T06:17:33.278Z"), userId: "", productId: "", priceId: "", discountId: "", checkoutId: "", metadata: { - "key": "", + "key": 308016, }, user: { - email: "Otis31@yahoo.com", + email: "Joey.Barton@gmail.com", publicName: "", githubUsername: "", - avatarUrl: "https://sweet-marimba.info", + avatarUrl: "https://bad-cod.biz", }, product: { - createdAt: new Date("2023-11-09T20:03:10.103Z"), - modifiedAt: new Date("2022-07-24T03:40:16.074Z"), + createdAt: new Date("2022-01-07T19:48:01.441Z"), + modifiedAt: new Date("2023-07-24T08:02:21.411Z"), id: "", name: "", - description: "deplore whenever self-reliant if", + description: + "equally filthy past beneath humiliating knit weatherize moral", isRecurring: false, isArchived: false, organizationId: "", metadata: { - "key": false, + "key": 976771, }, prices: [ { - createdAt: new Date("2022-01-26T22:48:01.116Z"), - modifiedAt: new Date("2023-04-26T19:37:47.188Z"), + createdAt: new Date("2024-02-25T14:49:29.759Z"), + modifiedAt: new Date("2024-12-03T08:49:56.716Z"), id: "", isArchived: false, productId: "", priceCurrency: "", - minimumAmount: 190003, - maximumAmount: 597092, - presetAmount: 746187, - recurringInterval: "month", + priceAmount: 390729, }, ], benefits: [ { - createdAt: new Date("2022-05-12T05:44:05.394Z"), - modifiedAt: new Date("2022-10-07T04:35:39.202Z"), + createdAt: new Date("2024-03-08T03:34:20.613Z"), + modifiedAt: new Date("2022-12-05T19:46:35.337Z"), id: "", - description: "so yuck except with but probe spirit blah following", + description: + "regarding boohoo royal machine eyebrow along dead pfft reassemble heighten", selectable: false, deletable: false, organizationId: "", @@ -83,70 +82,67 @@ let value: WebhookSubscriptionCanceledPayload = { id: "", organizationId: "", name: "", - path: "/System", + path: "/etc/periodic", mimeType: "", - size: 980988, + size: 159487, storageVersion: "", checksumEtag: "", checksumSha256Base64: "", checksumSha256Hex: "", - lastModifiedAt: new Date("2023-10-28T06:01:39.364Z"), + lastModifiedAt: new Date("2022-07-15T09:20:19.722Z"), version: "", isUploaded: false, - createdAt: new Date("2022-09-04T21:23:13.781Z"), + createdAt: new Date("2023-08-28T11:10:24.984Z"), sizeReadable: "", - publicUrl: "https://discrete-sanity.info/", + publicUrl: "https://portly-wear.name/", }, ], attachedCustomFields: [ { customFieldId: "", customField: { - createdAt: new Date("2024-08-15T14:15:58.232Z"), - modifiedAt: new Date("2023-03-10T16:25:20.394Z"), + createdAt: new Date("2022-10-18T21:15:58.709Z"), + modifiedAt: new Date("2022-08-05T09:16:19.778Z"), id: "", metadata: { - "key": 974618, + "key": false, }, slug: "", name: "", organizationId: "", properties: {}, }, - order: 583602, + order: 496800, required: false, }, ], }, price: { - createdAt: new Date("2024-09-21T23:39:35.603Z"), - modifiedAt: new Date("2024-09-08T10:30:22.665Z"), + createdAt: new Date("2024-08-15T14:15:58.232Z"), + modifiedAt: new Date("2023-03-10T16:25:20.394Z"), id: "", isArchived: false, productId: "", priceCurrency: "", - minimumAmount: 455838, - maximumAmount: 682564, - presetAmount: 677807, - recurringInterval: "month", + priceAmount: 609610, + recurringInterval: "year", }, discount: { duration: "forever", - type: "fixed", - amount: 822895, - currency: "Singapore Dollar", - createdAt: new Date("2024-02-16T21:07:47.311Z"), - modifiedAt: new Date("2024-10-14T06:11:05.299Z"), + type: "percentage", + basisPoints: 895473, + createdAt: new Date("2023-05-15T14:21:07.817Z"), + modifiedAt: new Date("2024-01-19T02:10:11.377Z"), id: "", metadata: { "key": false, }, name: "", code: "", - startsAt: new Date("2023-05-28T01:39:32.870Z"), - endsAt: new Date("2024-01-10T14:23:44.216Z"), - maxRedemptions: 974576, - redemptionsCount: 853453, + startsAt: new Date("2022-11-21T21:55:40.029Z"), + endsAt: new Date("2022-06-28T23:02:57.634Z"), + maxRedemptions: 568794, + redemptionsCount: 36075, organizationId: "", }, }, diff --git a/docs/models/components/webhooksubscriptioncreatedpayload.md b/docs/models/components/webhooksubscriptioncreatedpayload.md index 43d39a9e..00e3b796 100644 --- a/docs/models/components/webhooksubscriptioncreatedpayload.md +++ b/docs/models/components/webhooksubscriptioncreatedpayload.md @@ -11,77 +11,73 @@ import { WebhookSubscriptionCreatedPayload } from "@polar-sh/sdk/models/componen let value: WebhookSubscriptionCreatedPayload = { data: { - createdAt: new Date("2023-05-20T04:29:31.559Z"), - modifiedAt: new Date("2023-03-17T08:26:07.884Z"), + createdAt: new Date("2022-08-03T12:20:45.785Z"), + modifiedAt: new Date("2022-03-13T09:32:54.501Z"), id: "", - amount: 87393, - currency: "Canadian Dollar", + amount: 448924, + currency: "New Zealand Dollar", recurringInterval: "month", - status: "trialing", - currentPeriodStart: new Date("2024-12-28T09:14:27.366Z"), - currentPeriodEnd: new Date("2024-04-23T12:04:17.140Z"), + status: "active", + currentPeriodStart: new Date("2023-04-24T18:30:17.394Z"), + currentPeriodEnd: new Date("2022-10-07T17:52:57.869Z"), cancelAtPeriodEnd: false, - startedAt: new Date("2023-10-01T19:19:11.121Z"), - endedAt: new Date("2023-08-24T10:15:12.130Z"), + startedAt: new Date("2022-07-08T09:04:33.014Z"), + endedAt: new Date("2022-09-14T19:42:35.208Z"), userId: "", productId: "", priceId: "", discountId: "", checkoutId: "", metadata: { - "key": "", + "key": false, }, user: { - email: "Kennedy_Runolfsson21@hotmail.com", + email: "Cale.Parker24@gmail.com", publicName: "", githubUsername: "", - avatarUrl: "https://gracious-illusion.com", + avatarUrl: "https://scientific-vision.net", }, product: { - createdAt: new Date("2023-04-09T12:59:09.276Z"), - modifiedAt: new Date("2024-10-29T06:23:43.138Z"), + createdAt: new Date("2023-04-08T10:03:51.865Z"), + modifiedAt: new Date("2022-09-27T02:40:17.105Z"), id: "", name: "", description: - "enraged proofread blah wallaby grandiose deliberately hype tusk", + "yuck because neglected delete versus suspiciously mozzarella", isRecurring: false, isArchived: false, organizationId: "", metadata: { - "key": 172329, + "key": 384949, }, prices: [ { - createdAt: new Date("2022-05-21T10:45:22.173Z"), - modifiedAt: new Date("2023-02-02T05:55:21.427Z"), + createdAt: new Date("2023-10-29T10:39:00.012Z"), + modifiedAt: new Date("2023-08-11T05:56:46.917Z"), id: "", isArchived: false, productId: "", priceCurrency: "", - priceAmount: 434851, + minimumAmount: 307906, + maximumAmount: 83602, + presetAmount: 122604, }, ], benefits: [ { - createdAt: new Date("2023-08-31T05:51:37.577Z"), - modifiedAt: new Date("2024-06-02T04:49:52.259Z"), + createdAt: new Date("2022-03-22T03:07:22.809Z"), + modifiedAt: new Date("2023-05-12T13:10:25.231Z"), id: "", description: - "triumphantly terribly thankfully jovially duh knowingly mmm despite digestive", + "mortar what sans during continually impossible until so elver very", selectable: false, deletable: false, organizationId: "", properties: { - prefix: "", - expires: { - ttl: 863685, - timeframe: "day", - }, - activations: { - limit: 112839, - enableUserAdmin: false, - }, - limitUsage: 115700, + repositoryId: "", + repositoryOwner: "polarsource", + repositoryName: "private_repo", + permission: "triage", }, }, ], @@ -90,67 +86,65 @@ let value: WebhookSubscriptionCreatedPayload = { id: "", organizationId: "", name: "", - path: "/tmp", + path: "/opt/sbin", mimeType: "", - size: 517190, + size: 641688, storageVersion: "", checksumEtag: "", checksumSha256Base64: "", checksumSha256Hex: "", - lastModifiedAt: new Date("2024-09-17T07:42:16.227Z"), + lastModifiedAt: new Date("2023-06-29T09:14:44.543Z"), version: "", isUploaded: false, - createdAt: new Date("2024-05-28T22:32:34.498Z"), + createdAt: new Date("2022-01-28T12:07:26.307Z"), sizeReadable: "", - publicUrl: "https://black-bracelet.info", + publicUrl: "https://urban-nephew.name", }, ], attachedCustomFields: [ { customFieldId: "", customField: { - createdAt: new Date("2024-10-30T16:04:35.456Z"), - modifiedAt: new Date("2023-12-31T18:24:30.633Z"), + createdAt: new Date("2024-07-01T18:58:52.929Z"), + modifiedAt: new Date("2022-07-24T16:26:37.343Z"), id: "", metadata: { - "key": "", + "key": 819270, }, slug: "", name: "", organizationId: "", properties: {}, }, - order: 356958, + order: 734834, required: false, }, ], }, price: { - createdAt: new Date("2022-10-01T15:47:39.560Z"), - modifiedAt: new Date("2022-12-16T08:57:46.499Z"), + createdAt: new Date("2022-05-22T20:52:36.472Z"), + modifiedAt: new Date("2023-04-27T15:44:29.662Z"), id: "", isArchived: false, productId: "", - priceCurrency: "", - priceAmount: 641948, - recurringInterval: "month", + recurringInterval: "year", }, discount: { duration: "once", type: "percentage", - basisPoints: 626437, - createdAt: new Date("2023-09-25T21:50:23.276Z"), - modifiedAt: new Date("2022-07-25T05:59:40.299Z"), + basisPoints: 626229, + createdAt: new Date("2023-01-18T09:48:34.643Z"), + modifiedAt: new Date("2022-11-30T07:16:21.333Z"), id: "", metadata: { - "key": false, + "key": "", }, name: "", code: "", - startsAt: new Date("2022-09-16T17:06:57.838Z"), - endsAt: new Date("2024-05-24T15:43:43.985Z"), - maxRedemptions: 778955, - redemptionsCount: 939396, + startsAt: new Date("2023-03-06T14:54:00.303Z"), + endsAt: new Date("2022-12-03T11:11:57.521Z"), + maxRedemptions: 431501, + redemptionsCount: 708746, organizationId: "", }, }, diff --git a/docs/models/components/webhooksubscriptionrevokedpayload.md b/docs/models/components/webhooksubscriptionrevokedpayload.md index 5e4b5e5f..91ea42c1 100644 --- a/docs/models/components/webhooksubscriptionrevokedpayload.md +++ b/docs/models/components/webhooksubscriptionrevokedpayload.md @@ -12,38 +12,38 @@ import { WebhookSubscriptionRevokedPayload } from "@polar-sh/sdk/models/componen let value: WebhookSubscriptionRevokedPayload = { data: { - createdAt: new Date("2023-12-18T22:25:43.751Z"), - modifiedAt: new Date("2023-04-27T16:23:16.148Z"), + createdAt: new Date("2024-06-20T21:24:41.888Z"), + modifiedAt: new Date("2024-04-13T15:31:57.389Z"), id: "", - amount: 742547, - currency: "Azerbaijanian Manat", - recurringInterval: "month", - status: "canceled", - currentPeriodStart: new Date("2022-05-22T22:59:35.790Z"), - currentPeriodEnd: new Date("2024-06-08T19:50:25.987Z"), + amount: 708833, + currency: "Vatu", + recurringInterval: "year", + status: "active", + currentPeriodStart: new Date("2024-01-10T14:23:44.216Z"), + currentPeriodEnd: new Date("2024-12-04T03:13:51.971Z"), cancelAtPeriodEnd: false, - startedAt: new Date("2023-03-09T08:03:15.291Z"), - endedAt: new Date("2024-11-08T20:46:06.895Z"), + startedAt: new Date("2024-07-24T09:12:46.368Z"), + endedAt: new Date("2023-12-18T22:25:43.751Z"), userId: "", productId: "", priceId: "", discountId: "", checkoutId: "", metadata: { - "key": "", + "key": 742547, }, user: { - email: "Dominic.Lindgren@yahoo.com", + email: "Alba39@gmail.com", publicName: "", githubUsername: "", - avatarUrl: "https://tragic-editor.biz/", + avatarUrl: "https://meager-draw.com/", }, product: { - createdAt: new Date("2024-09-25T04:15:37.769Z"), - modifiedAt: new Date("2022-07-07T22:13:16.221Z"), + createdAt: new Date("2023-08-17T02:13:31.093Z"), + modifiedAt: new Date("2022-01-07T21:20:12.170Z"), id: "", name: "", - description: "times overwork too milky solidly oh for", + description: "anti powerfully bludgeon extricate", isRecurring: false, isArchived: false, organizationId: "", @@ -52,29 +52,30 @@ let value: WebhookSubscriptionRevokedPayload = { }, prices: [ { - createdAt: new Date("2022-07-06T11:25:02.224Z"), - modifiedAt: new Date("2022-10-15T09:56:03.023Z"), + createdAt: new Date("2024-01-11T12:15:15.629Z"), + modifiedAt: new Date("2024-05-21T09:32:41.715Z"), id: "", isArchived: false, productId: "", - priceCurrency: "", - priceAmount: 858169, + recurringInterval: "year", }, ], benefits: [ { - createdAt: new Date("2024-09-01T06:40:45.626Z"), - modifiedAt: new Date("2023-11-22T05:27:14.477Z"), + createdAt: new Date("2023-07-20T06:57:07.830Z"), + modifiedAt: new Date("2024-02-05T17:41:38.707Z"), id: "", description: - "on during across alongside reconsideration generally tremendously new", + "reward ack polite that whose yowza icebreaker truthfully opera", selectable: false, deletable: false, organizationId: "", properties: { - note: "", + repositoryId: "", + repositoryOwner: "polarsource", + repositoryName: "private_repo", + permission: "maintain", }, - isTaxApplicable: false, }, ], medias: [ @@ -82,68 +83,66 @@ let value: WebhookSubscriptionRevokedPayload = { id: "", organizationId: "", name: "", - path: "/usr/sbin", + path: "/Users", mimeType: "", - size: 303222, + size: 643689, storageVersion: "", checksumEtag: "", checksumSha256Base64: "", checksumSha256Hex: "", - lastModifiedAt: new Date("2024-11-09T11:10:59.812Z"), + lastModifiedAt: new Date("2024-06-18T05:00:51.297Z"), version: "", isUploaded: false, - createdAt: new Date("2023-02-01T21:53:59.428Z"), + createdAt: new Date("2022-01-23T12:47:00.295Z"), sizeReadable: "", - publicUrl: "https://crushing-overcoat.net/", + publicUrl: "https://international-edge.info", }, ], attachedCustomFields: [ { customFieldId: "", customField: { - createdAt: new Date("2023-05-30T14:03:31.641Z"), - modifiedAt: new Date("2024-05-09T11:46:57.173Z"), + createdAt: new Date("2024-10-04T02:51:01.618Z"), + modifiedAt: new Date("2024-06-15T05:16:58.669Z"), id: "", metadata: { - "key": 418870, + "key": "", }, slug: "", name: "", organizationId: "", properties: {}, }, - order: 176942, + order: 285971, required: false, }, ], }, price: { - createdAt: new Date("2023-01-01T00:27:16.216Z"), - modifiedAt: new Date("2022-11-09T07:17:45.765Z"), + createdAt: new Date("2023-12-16T19:44:40.318Z"), + modifiedAt: new Date("2022-09-27T13:10:46.158Z"), id: "", isArchived: false, productId: "", - priceCurrency: "", - priceAmount: 367728, - recurringInterval: "month", + recurringInterval: "year", }, discount: { duration: "forever", + durationInMonths: 984631, type: "percentage", - amount: 415763, - currency: "Jamaican Dollar", - createdAt: new Date("2022-11-08T09:32:49.355Z"), - modifiedAt: new Date("2023-09-04T06:17:32.428Z"), + basisPoints: 858144, + createdAt: new Date("2022-11-29T07:57:21.492Z"), + modifiedAt: new Date("2024-11-09T11:10:59.812Z"), id: "", metadata: { - "key": false, + "key": 99549, }, name: "", code: "", - startsAt: new Date("2024-01-04T15:31:16.562Z"), - endsAt: new Date("2024-12-30T13:22:32.320Z"), - maxRedemptions: 945277, - redemptionsCount: 843359, + startsAt: new Date("2022-06-20T00:38:57.696Z"), + endsAt: new Date("2023-11-26T06:19:18.187Z"), + maxRedemptions: 757185, + redemptionsCount: 54726, organizationId: "", }, }, diff --git a/docs/models/components/webhooksubscriptionupdatedpayload.md b/docs/models/components/webhooksubscriptionupdatedpayload.md index e5787905..8c83e621 100644 --- a/docs/models/components/webhooksubscriptionupdatedpayload.md +++ b/docs/models/components/webhooksubscriptionupdatedpayload.md @@ -15,72 +15,74 @@ import { WebhookSubscriptionUpdatedPayload } from "@polar-sh/sdk/models/componen let value: WebhookSubscriptionUpdatedPayload = { data: { - createdAt: new Date("2024-05-07T19:57:45.944Z"), - modifiedAt: new Date("2023-02-04T23:31:05.359Z"), + createdAt: new Date("2022-06-09T10:45:21.984Z"), + modifiedAt: new Date("2023-06-11T00:55:54.507Z"), id: "", - amount: 510652, - currency: "Norwegian Krone", - recurringInterval: "month", - status: "canceled", - currentPeriodStart: new Date("2022-12-27T16:35:41.661Z"), - currentPeriodEnd: new Date("2022-05-23T15:05:57.835Z"), + amount: 792854, + currency: "Egyptian Pound", + recurringInterval: "year", + status: "unpaid", + currentPeriodStart: new Date("2022-05-04T16:07:59.078Z"), + currentPeriodEnd: new Date("2022-05-07T19:23:08.899Z"), cancelAtPeriodEnd: false, - startedAt: new Date("2022-03-07T05:39:05.938Z"), - endedAt: new Date("2023-12-25T08:53:12.327Z"), + startedAt: new Date("2023-12-09T03:23:35.917Z"), + endedAt: new Date("2023-07-21T20:09:55.663Z"), userId: "", productId: "", priceId: "", discountId: "", checkoutId: "", metadata: { - "key": "", + "key": false, }, user: { - email: "Oliver82@hotmail.com", + email: "Jimmie30@hotmail.com", publicName: "", githubUsername: "", - avatarUrl: "https://serpentine-flat.net/", + avatarUrl: "https://finished-formamide.com", }, product: { - createdAt: new Date("2022-04-23T12:09:50.046Z"), - modifiedAt: new Date("2024-01-21T21:14:28.470Z"), + createdAt: new Date("2022-10-01T15:47:39.560Z"), + modifiedAt: new Date("2022-12-16T08:57:46.499Z"), id: "", name: "", - description: - "form hospitable consequently greedily upside-down consequently bah deploy", + description: "apud hefty bakeware why carefree dependable squeaky freely", isRecurring: false, isArchived: false, organizationId: "", metadata: { - "key": 269593, + "key": false, }, prices: [ { - createdAt: new Date("2022-03-11T16:17:46.711Z"), - modifiedAt: new Date("2024-03-29T00:56:36.017Z"), + createdAt: new Date("2024-08-01T05:59:09.495Z"), + modifiedAt: new Date("2023-09-13T17:13:44.662Z"), id: "", isArchived: false, productId: "", - priceCurrency: "", - priceAmount: 881310, recurringInterval: "month", }, ], benefits: [ { - createdAt: new Date("2023-09-09T22:32:20.535Z"), - modifiedAt: new Date("2024-09-19T07:28:52.145Z"), + createdAt: new Date("2022-09-15T20:50:47.910Z"), + modifiedAt: new Date("2022-12-05T15:57:48.116Z"), id: "", - description: - "frantically scarily apropos barring detain how ah whenever", + description: "throughout anti proper gee yuck colossal", selectable: false, deletable: false, organizationId: "", properties: { - repositoryId: "", - repositoryOwner: "polarsource", - repositoryName: "private_repo", - permission: "triage", + prefix: "", + expires: { + ttl: 162150, + timeframe: "year", + }, + activations: { + limit: 483090, + enableUserAdmin: false, + }, + limitUsage: 266824, }, }, ], @@ -89,71 +91,67 @@ let value: WebhookSubscriptionUpdatedPayload = { id: "", organizationId: "", name: "", - path: "/usr/include", + path: "/etc/defaults", mimeType: "", - size: 93617, + size: 518508, storageVersion: "", checksumEtag: "", checksumSha256Base64: "", checksumSha256Hex: "", - lastModifiedAt: new Date("2022-09-12T21:48:55.870Z"), + lastModifiedAt: new Date("2024-02-04T19:42:51.470Z"), version: "", isUploaded: false, - createdAt: new Date("2022-08-19T01:15:21.496Z"), + createdAt: new Date("2022-04-16T16:44:01.041Z"), sizeReadable: "", - publicUrl: "https://distinct-ectoderm.biz", + publicUrl: "https://alienated-precedent.org", }, ], attachedCustomFields: [ { customFieldId: "", customField: { - createdAt: new Date("2024-11-05T00:11:06.002Z"), - modifiedAt: new Date("2024-06-30T11:37:55.414Z"), + createdAt: new Date("2022-03-14T05:11:25.734Z"), + modifiedAt: new Date("2022-11-06T19:40:07.937Z"), id: "", metadata: { - "key": 490066, + "key": "", }, slug: "", name: "", organizationId: "", properties: {}, }, - order: 374577, + order: 500937, required: false, }, ], }, price: { - createdAt: new Date("2022-06-05T02:07:02.116Z"), - modifiedAt: new Date("2022-10-24T23:58:31.091Z"), + createdAt: new Date("2024-12-28T00:49:27.082Z"), + modifiedAt: new Date("2023-04-05T20:15:32.076Z"), id: "", isArchived: false, productId: "", priceCurrency: "", - minimumAmount: 185101, - maximumAmount: 880907, - presetAmount: 689973, + priceAmount: 387341, recurringInterval: "month", }, discount: { duration: "once", - durationInMonths: 14942, - type: "percentage", - amount: 440210, - currency: "Forint", - createdAt: new Date("2022-07-19T15:18:09.282Z"), - modifiedAt: new Date("2023-06-20T03:57:39.135Z"), + type: "fixed", + basisPoints: 299139, + createdAt: new Date("2022-04-18T12:50:34.974Z"), + modifiedAt: new Date("2024-06-28T16:41:02.450Z"), id: "", metadata: { "key": "", }, name: "", code: "", - startsAt: new Date("2023-07-11T12:32:56.304Z"), - endsAt: new Date("2022-10-02T10:20:48.033Z"), - maxRedemptions: 292645, - redemptionsCount: 425163, + startsAt: new Date("2023-06-14T08:57:51.625Z"), + endsAt: new Date("2022-11-13T19:30:07.544Z"), + maxRedemptions: 236544, + redemptionsCount: 223296, organizationId: "", }, }, diff --git a/docs/models/operations/checkoutlinkslistresponse.md b/docs/models/operations/checkoutlinkslistresponse.md index 01e0c61c..41b9a5a8 100644 --- a/docs/models/operations/checkoutlinkslistresponse.md +++ b/docs/models/operations/checkoutlinkslistresponse.md @@ -9,48 +9,47 @@ let value: CheckoutLinksListResponse = { result: { items: [ { - createdAt: new Date("2023-06-07T08:51:38.406Z"), - modifiedAt: new Date("2022-05-03T19:56:19.516Z"), + createdAt: new Date("2022-05-23T05:16:33.686Z"), + modifiedAt: new Date("2022-03-06T10:54:16.543Z"), id: "", metadata: { - "key": "", + "key": 186130, }, clientSecret: "", - successUrl: "https://jumbo-tray.biz/", + successUrl: "https://vast-luck.com/", label: "", allowDiscountCodes: false, productId: "", productPriceId: "", discountId: "", product: { - createdAt: new Date("2023-03-16T22:06:59.181Z"), - modifiedAt: new Date("2023-11-06T16:40:09.305Z"), + createdAt: new Date("2024-07-12T20:11:48.961Z"), + modifiedAt: new Date("2024-12-13T14:09:53.381Z"), id: "", name: "", - description: - "incidentally gullible decongestant clonk scaly wherever pointless instantly minister um", + description: "after sheepishly bah um mid bloom", isRecurring: false, isArchived: false, organizationId: "", prices: [ { - createdAt: new Date("2022-05-09T19:55:42.332Z"), - modifiedAt: new Date("2023-02-23T07:01:12.546Z"), + createdAt: new Date("2022-01-06T05:55:38.572Z"), + modifiedAt: new Date("2023-08-30T22:15:46.090Z"), id: "", isArchived: false, productId: "", priceCurrency: "", - priceAmount: 885523, - recurringInterval: "month", + priceAmount: 113894, + recurringInterval: "year", }, ], benefits: [ { - createdAt: new Date("2022-01-17T09:56:07.975Z"), - modifiedAt: new Date("2023-05-17T07:09:08.398Z"), + createdAt: new Date("2022-07-13T06:15:38.872Z"), + modifiedAt: new Date("2024-10-29T03:35:07.212Z"), id: "", description: - "apud given fairly consequently celsius warmly fort likewise", + "pixellate where nicely heating for perfectly midwife loyalty", selectable: false, deletable: false, organizationId: "", @@ -64,60 +63,56 @@ let value: CheckoutLinksListResponse = { id: "", organizationId: "", name: "", - path: "/usr/local/bin", + path: "/var/tmp", mimeType: "", - size: 721198, + size: 396184, storageVersion: "", checksumEtag: "", checksumSha256Base64: "", checksumSha256Hex: "", - lastModifiedAt: new Date("2023-06-11T04:45:20.733Z"), + lastModifiedAt: new Date("2023-10-22T17:31:37.327Z"), version: "", isUploaded: false, - createdAt: new Date("2023-12-07T16:11:58.639Z"), + createdAt: new Date("2022-03-11T10:51:29.864Z"), sizeReadable: "", - publicUrl: "https://stupendous-interior.name", + publicUrl: "https://sentimental-descent.org/", }, ], }, productPrice: { - createdAt: new Date("2022-11-28T23:36:29.114Z"), - modifiedAt: new Date("2023-09-25T16:52:43.387Z"), + createdAt: new Date("2024-04-22T19:44:51.587Z"), + modifiedAt: new Date("2022-04-02T03:33:58.167Z"), id: "", isArchived: false, productId: "", priceCurrency: "", - minimumAmount: 169678, - maximumAmount: 159469, - presetAmount: 417030, - recurringInterval: "month", + priceAmount: 974775, }, discount: { - duration: "once", - durationInMonths: 39210, + duration: "repeating", type: "fixed", - amount: 271550, - currency: "Won", - createdAt: new Date("2024-03-06T23:06:11.778Z"), - modifiedAt: new Date("2023-06-05T11:01:30.776Z"), + amount: 757824, + currency: "UAE Dirham", + createdAt: new Date("2022-10-06T15:31:52.701Z"), + modifiedAt: new Date("2024-04-01T00:20:32.487Z"), id: "", metadata: { - "key": false, + "key": 114952, }, name: "", code: "", - startsAt: new Date("2022-02-08T14:25:18.262Z"), - endsAt: new Date("2022-07-18T00:05:49.160Z"), - maxRedemptions: 338514, - redemptionsCount: 577496, + startsAt: new Date("2023-03-08T10:02:12.604Z"), + endsAt: new Date("2023-02-16T14:27:00.850Z"), + maxRedemptions: 568162, + redemptionsCount: 667977, organizationId: "", }, - url: "https://gummy-doubter.com", + url: "https://mammoth-grandson.com", }, ], pagination: { - totalCount: 821304, - maxPage: 379666, + totalCount: 804823, + maxPage: 713371, }, }, }; diff --git a/docs/models/operations/checkoutscustomlistresponse.md b/docs/models/operations/checkoutscustomlistresponse.md index b119763e..be41795c 100644 --- a/docs/models/operations/checkoutscustomlistresponse.md +++ b/docs/models/operations/checkoutscustomlistresponse.md @@ -9,20 +9,20 @@ let value: CheckoutsCustomListResponse = { result: { items: [ { - createdAt: new Date("2024-11-17T19:50:02.721Z"), - modifiedAt: new Date("2022-09-21T08:38:57.070Z"), + createdAt: new Date("2023-01-07T15:32:38.599Z"), + modifiedAt: new Date("2022-07-26T20:24:43.477Z"), id: "", - status: "succeeded", + status: "failed", clientSecret: "", - url: "https://numb-import.name", - expiresAt: new Date("2023-04-15T23:24:43.899Z"), - successUrl: "https://infatuated-guidance.net", + url: "https://mindless-whack.com", + expiresAt: new Date("2024-09-13T00:26:18.256Z"), + successUrl: "https://dapper-possession.com/", embedOrigin: "", - amount: 92851, - taxAmount: 166542, - currency: "Turkish Lira", - subtotalAmount: 771078, - totalAmount: 281454, + amount: 565845, + taxAmount: 420233, + currency: "Saudi Riyal", + subtotalAmount: 900676, + totalAmount: 769872, productId: "", productPriceId: "", discountId: "", @@ -34,43 +34,45 @@ let value: CheckoutsCustomListResponse = { isPaymentFormRequired: false, customerId: "", customerName: "", - customerEmail: "Tiara.Morar@yahoo.com", + customerEmail: "Alexanne.Larkin23@hotmail.com", customerIpAddress: "", customerBillingAddress: { - country: "Oman", + country: "United States of America", }, customerTaxId: "", paymentProcessorMetadata: {}, metadata: { - "key": false, + "key": "", }, product: { - createdAt: new Date("2024-07-23T13:07:53.786Z"), - modifiedAt: new Date("2022-02-05T22:08:14.307Z"), + createdAt: new Date("2023-01-23T21:05:37.371Z"), + modifiedAt: new Date("2022-01-05T01:34:54.799Z"), id: "", name: "", - description: "courageous woot needily academics", + description: + "whereas collectivization despite till crumble besides even forenenst lazily", isRecurring: false, isArchived: false, organizationId: "", prices: [ { - createdAt: new Date("2022-08-12T17:48:39.683Z"), - modifiedAt: new Date("2022-10-07T18:28:40.287Z"), + createdAt: new Date("2024-07-14T12:57:06.598Z"), + modifiedAt: new Date("2024-04-25T16:14:24.819Z"), id: "", isArchived: false, productId: "", priceCurrency: "", - priceAmount: 884622, + priceAmount: 543922, + recurringInterval: "year", }, ], benefits: [ { - createdAt: new Date("2024-05-24T02:08:00.227Z"), - modifiedAt: new Date("2024-06-04T14:55:47.453Z"), + createdAt: new Date("2024-04-20T06:28:09.460Z"), + modifiedAt: new Date("2022-10-19T22:36:24.411Z"), id: "", - type: "license_keys", - description: "meh kettledrum sometimes", + type: "ads", + description: "gee beneath since phony", selectable: false, deletable: false, organizationId: "", @@ -81,38 +83,34 @@ let value: CheckoutsCustomListResponse = { id: "", organizationId: "", name: "", - path: "/usr/src", + path: "/private/var", mimeType: "", - size: 806124, + size: 13316, storageVersion: "", checksumEtag: "", checksumSha256Base64: "", checksumSha256Hex: "", - lastModifiedAt: new Date("2022-04-28T14:26:46.798Z"), + lastModifiedAt: new Date("2023-10-27T11:06:47.453Z"), version: "", isUploaded: false, - createdAt: new Date("2022-01-10T22:18:51.218Z"), + createdAt: new Date("2024-12-20T00:58:21.844Z"), sizeReadable: "", - publicUrl: "https://finished-obligation.info/", + publicUrl: "https://grizzled-circumference.net", }, ], }, productPrice: { - createdAt: new Date("2022-06-19T06:00:22.932Z"), - modifiedAt: new Date("2022-12-09T16:59:37.115Z"), + createdAt: new Date("2024-08-16T19:51:12.559Z"), + modifiedAt: new Date("2023-09-02T00:08:58.903Z"), id: "", isArchived: false, productId: "", - priceCurrency: "", - minimumAmount: 884325, - maximumAmount: 958533, - presetAmount: 207512, }, discount: { - duration: "once", - durationInMonths: 887132, + duration: "forever", type: "fixed", - basisPoints: 665960, + amount: 512408, + currency: "Cedi", id: "", name: "", code: "", @@ -122,26 +120,26 @@ let value: CheckoutsCustomListResponse = { { customFieldId: "", customField: { - createdAt: new Date("2024-12-03T09:17:23.978Z"), - modifiedAt: new Date("2024-02-07T21:27:34.191Z"), + createdAt: new Date("2024-07-14T09:10:39.993Z"), + modifiedAt: new Date("2022-12-12T17:59:43.779Z"), id: "", metadata: { - "key": false, + "key": 430181, }, slug: "", name: "", organizationId: "", properties: {}, }, - order: 566669, + order: 909093, required: false, }, ], }, ], pagination: { - totalCount: 476801, - maxPage: 621883, + totalCount: 187361, + maxPage: 697729, }, }, }; diff --git a/docs/models/operations/customfieldslistresponse.md b/docs/models/operations/customfieldslistresponse.md index 8a533ab6..0302ecf2 100644 --- a/docs/models/operations/customfieldslistresponse.md +++ b/docs/models/operations/customfieldslistresponse.md @@ -9,21 +9,28 @@ let value: CustomFieldsListResponse = { result: { items: [ { - createdAt: new Date("2022-06-09T09:55:13.803Z"), - modifiedAt: new Date("2024-05-03T21:44:08.112Z"), + createdAt: new Date("2022-06-30T15:02:46.447Z"), + modifiedAt: new Date("2022-01-30T19:24:38.822Z"), id: "", metadata: { - "key": false, + "key": "", }, slug: "", name: "", organizationId: "", - properties: {}, + properties: { + options: [ + { + value: "", + label: "", + }, + ], + }, }, ], pagination: { - totalCount: 769247, - maxPage: 536999, + totalCount: 595585, + maxPage: 486606, }, }, }; diff --git a/docs/models/operations/customfieldtypefilter.md b/docs/models/operations/customfieldtypefilter.md index e147d6bb..adf32d03 100644 --- a/docs/models/operations/customfieldtypefilter.md +++ b/docs/models/operations/customfieldtypefilter.md @@ -15,7 +15,7 @@ const value: components.CustomFieldType = "date"; ```typescript const value: components.CustomFieldType[] = [ - "select", + "date", ]; ``` diff --git a/docs/models/operations/discountslistresponse.md b/docs/models/operations/discountslistresponse.md index 86551941..90d41937 100644 --- a/docs/models/operations/discountslistresponse.md +++ b/docs/models/operations/discountslistresponse.md @@ -10,31 +10,30 @@ let value: DiscountsListResponse = { items: [ { duration: "forever", - durationInMonths: 63369, - type: "fixed", - amount: 722500, - currency: "Dominican Peso", - createdAt: new Date("2024-10-31T10:26:27.251Z"), - modifiedAt: new Date("2024-01-23T17:08:58.929Z"), + durationInMonths: 134267, + type: "percentage", + basisPoints: 574990, + createdAt: new Date("2024-03-21T23:18:55.780Z"), + modifiedAt: new Date("2024-02-12T07:29:56.575Z"), id: "", metadata: { - "key": "", + "key": false, }, name: "", code: "", - startsAt: new Date("2024-04-22T19:44:51.587Z"), - endsAt: new Date("2022-04-02T03:33:58.167Z"), - maxRedemptions: 974775, - redemptionsCount: 49285, + startsAt: new Date("2022-11-20T15:45:49.704Z"), + endsAt: new Date("2024-02-13T00:23:21.664Z"), + maxRedemptions: 365676, + redemptionsCount: 395411, organizationId: "", products: [ { - createdAt: new Date("2024-10-20T01:37:25.539Z"), - modifiedAt: new Date("2022-10-05T03:04:06.241Z"), + createdAt: new Date("2022-09-10T17:33:40.761Z"), + modifiedAt: new Date("2023-01-13T00:50:37.177Z"), id: "", name: "", description: - "concerning whereas healthily to indeed monasticism ugh and slide", + "enlightened wide solemnly lest onto closely arcade offend poorly square", isRecurring: false, isArchived: false, organizationId: "", @@ -43,8 +42,8 @@ let value: DiscountsListResponse = { }, ], pagination: { - totalCount: 230774, - maxPage: 325924, + totalCount: 830197, + maxPage: 842935, }, }, }; diff --git a/docs/models/operations/fileslistresponse.md b/docs/models/operations/fileslistresponse.md index 28d0d0ee..eba1c13a 100644 --- a/docs/models/operations/fileslistresponse.md +++ b/docs/models/operations/fileslistresponse.md @@ -12,24 +12,24 @@ let value: FilesListResponse = { id: "", organizationId: "", name: "", - path: "/private/tmp", + path: "/etc/ppp", mimeType: "", - size: 759451, + size: 201966, storageVersion: "", checksumEtag: "", checksumSha256Base64: "", checksumSha256Hex: "", - lastModifiedAt: new Date("2022-07-15T07:23:52.507Z"), + lastModifiedAt: new Date("2024-01-31T07:41:55.322Z"), version: "", isUploaded: false, - createdAt: new Date("2022-07-07T14:30:34.396Z"), + createdAt: new Date("2024-05-03T22:51:53.391Z"), sizeReadable: "", - publicUrl: "https://glittering-bend.org/", + publicUrl: "https://pink-custody.info/", }, ], pagination: { - totalCount: 771603, - maxPage: 543922, + totalCount: 112071, + maxPage: 321422, }, }, }; diff --git a/docs/models/operations/filesupdateresponsefilesupdate.md b/docs/models/operations/filesupdateresponsefilesupdate.md index a55adf46..1b1d07ea 100644 --- a/docs/models/operations/filesupdateresponsefilesupdate.md +++ b/docs/models/operations/filesupdateresponsefilesupdate.md @@ -12,17 +12,17 @@ const value: components.DownloadableFileRead = { id: "", organizationId: "", name: "", - path: "/Applications", + path: "/opt/lib", mimeType: "", - size: 325855, + size: 522824, storageVersion: "", checksumEtag: "", checksumSha256Base64: "", checksumSha256Hex: "", - lastModifiedAt: new Date("2023-07-05T18:00:25.840Z"), + lastModifiedAt: new Date("2022-02-18T17:02:19.985Z"), version: "", isUploaded: false, - createdAt: new Date("2022-02-01T02:03:31.039Z"), + createdAt: new Date("2022-06-09T20:12:21.697Z"), sizeReadable: "", }; ``` @@ -34,19 +34,19 @@ const value: components.ProductMediaFileRead = { id: "", organizationId: "", name: "", - path: "/sbin", + path: "/sys", mimeType: "", - size: 874283, + size: 225001, storageVersion: "", checksumEtag: "", checksumSha256Base64: "", checksumSha256Hex: "", - lastModifiedAt: new Date("2024-02-12T09:16:32.311Z"), + lastModifiedAt: new Date("2024-07-06T17:01:58.788Z"), version: "", isUploaded: false, - createdAt: new Date("2023-11-14T18:33:31.564Z"), + createdAt: new Date("2022-12-25T07:53:20.177Z"), sizeReadable: "", - publicUrl: "https://which-smoke.name", + publicUrl: "https://bouncy-tuber.com/", }; ``` @@ -57,19 +57,19 @@ const value: components.OrganizationAvatarFileRead = { id: "", organizationId: "", name: "", - path: "/private/var", + path: "/etc/namedb", mimeType: "", - size: 13316, + size: 862666, storageVersion: "", checksumEtag: "", checksumSha256Base64: "", checksumSha256Hex: "", - lastModifiedAt: new Date("2023-10-27T11:06:47.453Z"), + lastModifiedAt: new Date("2022-10-06T16:47:41.923Z"), version: "", isUploaded: false, - createdAt: new Date("2024-12-20T00:58:21.844Z"), + createdAt: new Date("2023-12-31T21:11:09.271Z"), sizeReadable: "", - publicUrl: "https://grizzled-circumference.net", + publicUrl: "https://phony-vein.net", }; ``` diff --git a/docs/models/operations/filesuploadedrequest.md b/docs/models/operations/filesuploadedrequest.md index 11f72d62..c06744bf 100644 --- a/docs/models/operations/filesuploadedrequest.md +++ b/docs/models/operations/filesuploadedrequest.md @@ -9,10 +9,10 @@ let value: FilesUploadedRequest = { id: "", fileUploadCompleted: { id: "", - path: "/var/tmp", + path: "/media", parts: [ { - number: 72600, + number: 444625, checksumEtag: "", checksumSha256Base64: "", }, diff --git a/docs/models/operations/filesuploadedresponsefilesuploaded.md b/docs/models/operations/filesuploadedresponsefilesuploaded.md index feabbfa9..ce02ca57 100644 --- a/docs/models/operations/filesuploadedresponsefilesuploaded.md +++ b/docs/models/operations/filesuploadedresponsefilesuploaded.md @@ -12,17 +12,17 @@ const value: components.DownloadableFileRead = { id: "", organizationId: "", name: "", - path: "/usr/libexec", + path: "/var/log", mimeType: "", - size: 266370, + size: 181267, storageVersion: "", checksumEtag: "", checksumSha256Base64: "", checksumSha256Hex: "", - lastModifiedAt: new Date("2023-02-08T23:37:33.565Z"), + lastModifiedAt: new Date("2023-03-16T22:06:59.181Z"), version: "", isUploaded: false, - createdAt: new Date("2022-08-29T07:55:29.814Z"), + createdAt: new Date("2023-11-06T16:40:09.305Z"), sizeReadable: "", }; ``` @@ -34,19 +34,19 @@ const value: components.ProductMediaFileRead = { id: "", organizationId: "", name: "", - path: "/usr/local/bin", + path: "/var/mail", mimeType: "", - size: 144240, + size: 133148, storageVersion: "", checksumEtag: "", checksumSha256Base64: "", checksumSha256Hex: "", - lastModifiedAt: new Date("2024-07-09T15:47:57.182Z"), + lastModifiedAt: new Date("2024-10-02T23:49:35.521Z"), version: "", isUploaded: false, - createdAt: new Date("2023-12-27T02:08:18.453Z"), + createdAt: new Date("2022-03-30T20:02:19.882Z"), sizeReadable: "", - publicUrl: "https://stunning-order.org/", + publicUrl: "https://lanky-cruelty.info/", }; ``` @@ -57,19 +57,19 @@ const value: components.OrganizationAvatarFileRead = { id: "", organizationId: "", name: "", - path: "/usr/lib", + path: "/private", mimeType: "", - size: 561121, + size: 865212, storageVersion: "", checksumEtag: "", checksumSha256Base64: "", checksumSha256Hex: "", - lastModifiedAt: new Date("2024-07-05T20:32:13.341Z"), + lastModifiedAt: new Date("2024-11-12T18:00:26.208Z"), version: "", isUploaded: false, - createdAt: new Date("2022-11-01T17:50:00.486Z"), + createdAt: new Date("2023-07-23T17:49:15.783Z"), sizeReadable: "", - publicUrl: "https://frank-video.biz", + publicUrl: "https://physical-following.biz", }; ``` diff --git a/docs/models/operations/licensekeyslistresponse.md b/docs/models/operations/licensekeyslistresponse.md index 4e53f1b2..f13da0e1 100644 --- a/docs/models/operations/licensekeyslistresponse.md +++ b/docs/models/operations/licensekeyslistresponse.md @@ -15,24 +15,24 @@ let value: LicenseKeysListResponse = { user: { id: "", publicName: "", - email: "Elza_Gutkowski84@yahoo.com", - avatarUrl: "https://international-thorn.biz", + email: "Rey54@hotmail.com", + avatarUrl: "https://pointless-t-shirt.net", }, benefitId: "", key: "", displayKey: "", - status: "disabled", - limitActivations: 970376, - usage: 175275, - limitUsage: 201966, - validations: 693724, - lastValidatedAt: new Date("2024-05-03T22:51:53.391Z"), - expiresAt: new Date("2023-06-22T15:24:08.414Z"), + status: "granted", + limitActivations: 500828, + usage: 286486, + limitUsage: 285175, + validations: 355927, + lastValidatedAt: new Date("2022-12-11T22:43:51.005Z"), + expiresAt: new Date("2023-09-27T03:45:24.901Z"), }, ], pagination: { - totalCount: 609687, - maxPage: 212682, + totalCount: 683602, + maxPage: 268749, }, }, }; diff --git a/docs/models/operations/metricsgetqueryparamproductpricetypefilter.md b/docs/models/operations/metricsgetqueryparamproductpricetypefilter.md index 26bd428f..c46a4d17 100644 --- a/docs/models/operations/metricsgetqueryparamproductpricetypefilter.md +++ b/docs/models/operations/metricsgetqueryparamproductpricetypefilter.md @@ -8,7 +8,7 @@ Filter by product price type. `recurring` will filter data corresponding to subs ### `components.ProductPriceType` ```typescript -const value: components.ProductPriceType = "recurring"; +const value: components.ProductPriceType = "one_time"; ``` ### `components.ProductPriceType[]` diff --git a/docs/models/operations/metricsgetrequest.md b/docs/models/operations/metricsgetrequest.md index d7c3ef8b..88e2bb17 100644 --- a/docs/models/operations/metricsgetrequest.md +++ b/docs/models/operations/metricsgetrequest.md @@ -7,8 +7,8 @@ import { MetricsGetRequest } from "@polar-sh/sdk/models/operations"; import { RFCDate } from "@polar-sh/sdk/types"; let value: MetricsGetRequest = { - startDate: new RFCDate("2024-08-16"), - endDate: new RFCDate("2023-09-02"), + startDate: new RFCDate("2024-02-27"), + endDate: new RFCDate("2024-05-28"), interval: "year", }; ``` diff --git a/docs/models/operations/orderslistresponse.md b/docs/models/operations/orderslistresponse.md index 84709f69..4f355319 100644 --- a/docs/models/operations/orderslistresponse.md +++ b/docs/models/operations/orderslistresponse.md @@ -19,6 +19,9 @@ let value: OrdersListResponse = { taxAmount: 740245, currency: "Norwegian Krone", billingReason: "subscription_update", + billingAddress: { + country: "Saint Vincent and the Grenadines", + }, userId: "", productId: "", productPriceId: "", @@ -27,67 +30,67 @@ let value: OrdersListResponse = { checkoutId: "", user: { id: "", - email: "Russell_Wuckert@hotmail.com", + email: "Mina3@hotmail.com", publicName: "", githubUsername: "", - avatarUrl: "https://zealous-ceramic.net/", + avatarUrl: "https://shrill-slime.info/", }, product: { - createdAt: new Date("2024-06-18T19:59:01.294Z"), - modifiedAt: new Date("2023-02-13T20:49:34.820Z"), + createdAt: new Date("2022-08-04T17:59:47.205Z"), + modifiedAt: new Date("2022-04-19T05:46:48.223Z"), id: "", name: "", - description: "vastly capsize supposing immediately", + description: "greatly gosh vengeful gee funny brief where daintily", isRecurring: false, isArchived: false, organizationId: "", }, productPrice: { - createdAt: new Date("2024-03-13T10:16:08.156Z"), - modifiedAt: new Date("2024-09-02T13:29:38.345Z"), + createdAt: new Date("2024-01-07T04:07:48.053Z"), + modifiedAt: new Date("2023-05-31T11:19:51.638Z"), id: "", isArchived: false, productId: "", priceCurrency: "", - minimumAmount: 989089, - maximumAmount: 662857, - presetAmount: 845365, + minimumAmount: 959696, + maximumAmount: 240292, + presetAmount: 763140, + recurringInterval: "year", }, discount: { - duration: "once", - durationInMonths: 875693, - type: "fixed", - basisPoints: 367, - createdAt: new Date("2022-10-28T00:15:47.100Z"), - modifiedAt: new Date("2023-05-22T11:00:48.310Z"), + duration: "forever", + type: "percentage", + basisPoints: 428810, + createdAt: new Date("2023-09-01T11:49:11.570Z"), + modifiedAt: new Date("2023-04-02T23:01:50.436Z"), id: "", metadata: { - "key": 101770, + "key": 695347, }, name: "", code: "", - startsAt: new Date("2024-01-08T14:51:30.818Z"), - endsAt: new Date("2024-05-28T18:57:52.442Z"), - maxRedemptions: 185313, - redemptionsCount: 415125, + startsAt: new Date("2022-04-12T18:21:29.910Z"), + endsAt: new Date("2022-07-02T12:43:21.651Z"), + maxRedemptions: 851199, + redemptionsCount: 771078, organizationId: "", }, subscription: { metadata: { - "key": 451807, + "key": "", }, - createdAt: new Date("2024-05-26T14:43:35.408Z"), - modifiedAt: new Date("2024-11-18T17:34:52.177Z"), + createdAt: new Date("2023-02-18T11:40:55.217Z"), + modifiedAt: new Date("2024-10-11T22:12:04.430Z"), id: "", - amount: 798953, - currency: "Taka", - recurringInterval: "year", + amount: 818078, + currency: "Naira", + recurringInterval: "month", status: "incomplete", - currentPeriodStart: new Date("2022-09-16T14:57:54.048Z"), - currentPeriodEnd: new Date("2022-06-17T19:03:38.787Z"), + currentPeriodStart: new Date("2023-04-18T15:48:23.052Z"), + currentPeriodEnd: new Date("2024-01-08T04:47:03.376Z"), cancelAtPeriodEnd: false, - startedAt: new Date("2022-08-05T11:32:33.311Z"), - endedAt: new Date("2023-08-03T00:48:03.968Z"), + startedAt: new Date("2024-06-27T00:21:02.962Z"), + endedAt: new Date("2024-07-23T13:07:53.786Z"), userId: "", productId: "", priceId: "", @@ -97,8 +100,8 @@ let value: OrdersListResponse = { }, ], pagination: { - totalCount: 671690, - maxPage: 470321, + totalCount: 32775, + maxPage: 244157, }, }, }; diff --git a/docs/sdks/polar/README.md b/docs/sdks/polar/README.md index 80adbeef..91fbe83b 100644 --- a/docs/sdks/polar/README.md +++ b/docs/sdks/polar/README.md @@ -2,4 +2,6 @@ ## Overview -Read the docs at https://docs.polar.sh/api \ No newline at end of file +Read the docs at https://docs.polar.sh/api + +### Available Operations diff --git a/docs/sdks/users/README.md b/docs/sdks/users/README.md index f34be56c..a295a2f6 100644 --- a/docs/sdks/users/README.md +++ b/docs/sdks/users/README.md @@ -1,2 +1,6 @@ # Users -(*users*) \ No newline at end of file +(*users*) + +## Overview + +### Available Operations diff --git a/jsr.json b/jsr.json index 80c7c7a8..38cc25ff 100644 --- a/jsr.json +++ b/jsr.json @@ -2,7 +2,7 @@ { "name": "@polar-sh/sdk", - "version": "0.16.2", + "version": "0.17.0", "exports": { ".": "./src/index.ts", "./models/errors": "./src/models/errors/index.ts", diff --git a/package-lock.json b/package-lock.json index cd47a740..f94c669f 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "@polar-sh/sdk", - "version": "0.16.2", + "version": "0.17.0", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "@polar-sh/sdk", - "version": "0.16.2", + "version": "0.17.0", "devDependencies": { "@typescript-eslint/eslint-plugin": "^7.7.1", "@typescript-eslint/parser": "^7.7.1", diff --git a/package.json b/package.json index 9d1ec056..24ff9716 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@polar-sh/sdk", - "version": "0.16.2", + "version": "0.17.0", "author": "Speakeasy", "main": "./index.js", "sideEffects": false, diff --git a/src/lib/config.ts b/src/lib/config.ts index 0f72776f..32e21784 100644 --- a/src/lib/config.ts +++ b/src/lib/config.ts @@ -60,7 +60,7 @@ export function serverURLFromOptions(options: SDKOptions): URL | null { export const SDK_METADATA = { language: "typescript", openapiDocVersion: "0.1.0", - sdkVersion: "0.16.2", - genVersion: "2.461.4", - userAgent: "speakeasy-sdk/typescript 0.16.2 2.461.4 0.1.0 @polar-sh/sdk", + sdkVersion: "0.17.0", + genVersion: "2.462.1", + userAgent: "speakeasy-sdk/typescript 0.17.0 2.462.1 0.1.0 @polar-sh/sdk", } as const; diff --git a/src/models/components/order.ts b/src/models/components/order.ts index eb95afb5..2b385297 100644 --- a/src/models/components/order.ts +++ b/src/models/components/order.ts @@ -7,6 +7,12 @@ import { remap as remap$ } from "../../lib/primitives.js"; import { safeParse } from "../../lib/schemas.js"; import { Result as SafeParseResult } from "../../types/fp.js"; import { SDKValidationError } from "../errors/sdkvalidationerror.js"; +import { + Address, + Address$inboundSchema, + Address$Outbound, + Address$outboundSchema, +} from "./address.js"; import { DiscountFixedOnceForeverDurationBase, DiscountFixedOnceForeverDurationBase$inboundSchema, @@ -96,6 +102,7 @@ export type Order = { taxAmount: number; currency: string; billingReason: OrderBillingReason; + billingAddress: Address | null; userId: string; productId: string; productPriceId: string; @@ -281,6 +288,7 @@ export const Order$inboundSchema: z.ZodType = z tax_amount: z.number().int(), currency: z.string(), billing_reason: OrderBillingReason$inboundSchema, + billing_address: z.nullable(Address$inboundSchema), user_id: z.string(), product_id: z.string(), product_price_id: z.string(), @@ -306,6 +314,7 @@ export const Order$inboundSchema: z.ZodType = z "custom_field_data": "customFieldData", "tax_amount": "taxAmount", "billing_reason": "billingReason", + "billing_address": "billingAddress", "user_id": "userId", "product_id": "productId", "product_price_id": "productPriceId", @@ -327,6 +336,7 @@ export type Order$Outbound = { tax_amount: number; currency: string; billing_reason: string; + billing_address: Address$Outbound | null; user_id: string; product_id: string; product_price_id: string; @@ -360,6 +370,7 @@ export const Order$outboundSchema: z.ZodType< taxAmount: z.number().int(), currency: z.string(), billingReason: OrderBillingReason$outboundSchema, + billingAddress: z.nullable(Address$outboundSchema), userId: z.string(), productId: z.string(), productPriceId: z.string(), @@ -385,6 +396,7 @@ export const Order$outboundSchema: z.ZodType< customFieldData: "custom_field_data", taxAmount: "tax_amount", billingReason: "billing_reason", + billingAddress: "billing_address", userId: "user_id", productId: "product_id", productPriceId: "product_price_id",