diff --git a/.speakeasy/gen.lock b/.speakeasy/gen.lock index d8d1a42..7f8b4cc 100755 --- a/.speakeasy/gen.lock +++ b/.speakeasy/gen.lock @@ -1,12 +1,12 @@ lockVersion: 2.0.0 id: 5a2dd83e-da98-455b-8ef9-0100a914efdf management: - docChecksum: abaf709df8818e2099256e8478ab3dc0 + docChecksum: e0d1746d131c608a54c04b32762b2faa docVersion: 0.0.1 - speakeasyVersion: 1.346.0 - generationVersion: 2.379.3 - releaseVersion: 0.2.2-alpha.4 - configChecksum: 3fb5093f4816b01680b06b24a8a04c82 + speakeasyVersion: 1.348.1 + generationVersion: 2.380.1 + releaseVersion: 0.2.2-alpha.5 + configChecksum: dd240c2a591fd37e3d0812366f9e931a repoURL: https://github.com/dubinc/dub-ruby.git installationURL: https://github.com/dubinc/dub-ruby published: true @@ -121,6 +121,7 @@ generatedFiles: - lib/open_api_sdk/models/operations/updatetag_requestbody.rb - lib/open_api_sdk/models/operations/updatetag_request.rb - lib/open_api_sdk/models/operations/updatetag_response.rb + - lib/open_api_sdk/models/operations/listdomains_request.rb - lib/open_api_sdk/models/operations/listdomains_response.rb - lib/open_api_sdk/models/operations/createdomain_requestbody.rb - lib/open_api_sdk/models/operations/createdomain_response.rb @@ -176,6 +177,7 @@ generatedFiles: - lib/open_api_sdk/models/shared/tagschema.rb - lib/open_api_sdk/models/shared/linkgeotargeting.rb - lib/open_api_sdk/models/shared/countrycode.rb + - lib/open_api_sdk/models/shared/continentcode.rb - lib/open_api_sdk/models/shared/plan.rb - lib/open_api_sdk/models/shared/role.rb - lib/open_api_sdk/models/shared/users.rb @@ -229,6 +231,7 @@ generatedFiles: - docs/models/operations/updatetagrequestbody.md - docs/models/operations/updatetagrequest.md - docs/models/operations/updatetagresponse.md + - docs/models/operations/listdomainsrequest.md - docs/models/operations/listdomainsresponse.md - docs/models/operations/createdomainrequestbody.md - docs/models/operations/createdomainresponse.md @@ -284,6 +287,7 @@ generatedFiles: - docs/models/shared/tagschema.md - docs/models/shared/linkgeotargeting.md - docs/models/shared/countrycode.md + - docs/models/shared/continentcode.md - docs/models/shared/plan.md - docs/models/shared/role.md - docs/models/shared/users.md diff --git a/.speakeasy/gen.yaml b/.speakeasy/gen.yaml index b30cb74..1caa638 100755 --- a/.speakeasy/gen.yaml +++ b/.speakeasy/gen.yaml @@ -12,7 +12,7 @@ generation: auth: oAuth2ClientCredentialsEnabled: true ruby: - version: 0.2.2-alpha.4 + version: 0.2.2-alpha.5 author: Dub description: Ruby Client SDK Generated by Speakeasy imports: diff --git a/.speakeasy/workflow.lock b/.speakeasy/workflow.lock index 2b7d54d..0509950 100644 --- a/.speakeasy/workflow.lock +++ b/.speakeasy/workflow.lock @@ -1,9 +1,9 @@ -speakeasyVersion: 1.346.0 +speakeasyVersion: 1.348.1 sources: dub: sourceNamespace: dub - sourceRevisionDigest: sha256:49c4d1b05c45d66501efd5f3f64cf386d6afc42521d519c0b0daf68def09f4f6 - sourceBlobDigest: sha256:a8ee0af5a194829a0af4043daabfe970d2f002e17b5e667643adc6f6fa02ec49 + sourceRevisionDigest: sha256:ddd3ac98569c6644bee5ea0b6473fccb12d8a8447c982d98dd45a8af717f4d63 + sourceBlobDigest: sha256:203c83eff865e105fd4704a69ebdf35335ca6dcf319c8e060ce038a26c07e892 tags: - latest - main @@ -11,10 +11,10 @@ targets: my-first-target: source: dub sourceNamespace: dub - sourceRevisionDigest: sha256:49c4d1b05c45d66501efd5f3f64cf386d6afc42521d519c0b0daf68def09f4f6 - sourceBlobDigest: sha256:a8ee0af5a194829a0af4043daabfe970d2f002e17b5e667643adc6f6fa02ec49 + sourceRevisionDigest: sha256:ddd3ac98569c6644bee5ea0b6473fccb12d8a8447c982d98dd45a8af717f4d63 + sourceBlobDigest: sha256:203c83eff865e105fd4704a69ebdf35335ca6dcf319c8e060ce038a26c07e892 codeSamplesNamespace: code-samples-ruby-my-first-target - codeSamplesRevisionDigest: sha256:8105773aa117c6440b94bbb23ca121a27dc31bec7f4b52cd915036ddaa1252b4 + codeSamplesRevisionDigest: sha256:333089a95db29380184a647ae5bb48d0e41cd83da0f9732781bebb74929e0893 outLocation: /github/workspace/repo workflow: workflowVersion: 1.0.0 diff --git a/Gemfile.lock b/Gemfile.lock index 1fcc969..1c8768e 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -1,7 +1,7 @@ PATH remote: . specs: - dub (0.2.2.pre.alpha.4) + dub (0.2.2.pre.alpha.5) faraday faraday-multipart rack diff --git a/RELEASES.md b/RELEASES.md index 40799d4..c520804 100644 --- a/RELEASES.md +++ b/RELEASES.md @@ -188,4 +188,14 @@ Based on: ### Generated - [ruby v0.2.2-alpha.4] . ### Releases -- [Ruby Gems v0.2.2-alpha.4] https://rubygems.org/gems/dub/versions/0.2.2-alpha.4 - . \ No newline at end of file +- [Ruby Gems v0.2.2-alpha.4] https://rubygems.org/gems/dub/versions/0.2.2-alpha.4 - . + +## 2024-07-29 23:30:19 +### Changes +Based on: +- OpenAPI Doc +- Speakeasy CLI 1.348.1 (2.380.1) https://github.com/speakeasy-api/speakeasy +### Generated +- [ruby v0.2.2-alpha.5] . +### Releases +- [Ruby Gems v0.2.2-alpha.5] https://rubygems.org/gems/dub/versions/0.2.2-alpha.5 - . \ No newline at end of file diff --git a/codeSamples.yaml b/codeSamples.yaml index 6755394..9bbb972 100644 --- a/codeSamples.yaml +++ b/codeSamples.yaml @@ -3,147 +3,147 @@ info: title: CodeSamples overlay for ruby target version: 0.0.0 actions: - - target: $["paths"]["/links/count"]["get"] - update: - "x-codeSamples": - - "lang": "ruby" - "label": "getLinksCount" - "source": "require 'dub'\n\n\ns = ::OpenApiSDK::Dub.new\ns.config_security(\n ::OpenApiSDK::Shared::Security.new(\n token: \"DUB_API_KEY\",\n )\n)\n\n\nreq = ::OpenApiSDK::Operations::GetLinksCountRequest.new()\n \nres = s.links.count(req)\n\nif ! res.number.nil?\n # handle response\nend" - - target: $["paths"]["/qr"]["get"] + - target: $["paths"]["/links/info"]["get"] update: "x-codeSamples": - "lang": "ruby" - "label": "getQRCode" - "source": "require 'dub'\n\n\ns = ::OpenApiSDK::Dub.new\ns.config_security(\n ::OpenApiSDK::Shared::Security.new(\n token: \"DUB_API_KEY\",\n )\n)\n\n\nreq = ::OpenApiSDK::Operations::GetQRCodeRequest.new(\n url: \"https://brief-micronutrient.org\",\n)\n \nres = s.qr_codes.get(req)\n\nif ! res.res.nil?\n # handle response\nend" - - target: $["paths"]["/workspaces/{idOrSlug}"]["patch"] + "label": "getLinkInfo" + "source": "require 'dub'\n\n\ns = ::OpenApiSDK::Dub.new\ns.config_security(\n ::OpenApiSDK::Shared::Security.new(\n token: \"DUB_API_KEY\",\n )\n)\n\n\nreq = ::OpenApiSDK::Operations::GetLinkInfoRequest.new(\n link_id: \"clux0rgak00011...\",\n external_id: \"ext_123456\",\n)\n \nres = s.links.get(req)\n\nif ! res.link_schema.nil?\n # handle response\nend" + - target: $["paths"]["/links/{linkId}"]["delete"] update: "x-codeSamples": - "lang": "ruby" - "label": "updateWorkspace" - "source": "require 'dub'\n\n\ns = ::OpenApiSDK::Dub.new\ns.config_security(\n ::OpenApiSDK::Shared::Security.new(\n token: \"DUB_API_KEY\",\n )\n)\n\n \nres = s.workspaces.update(id_or_slug=\"\", request_body=::OpenApiSDK::Operations::UpdateWorkspaceRequestBody.new())\n\nif ! res.workspace_schema.nil?\n # handle response\nend" - - target: $["paths"]["/tags"]["get"] + "label": "deleteLink" + "source": "require 'dub'\n\n\ns = ::OpenApiSDK::Dub.new\ns.config_security(\n ::OpenApiSDK::Shared::Security.new(\n token: \"DUB_API_KEY\",\n )\n)\n\n \nres = s.links.delete(link_id=\"\")\n\nif ! res.object.nil?\n # handle response\nend" + - target: $["paths"]["/links/bulk"]["post"] update: "x-codeSamples": - "lang": "ruby" - "label": "getTags" - "source": "require 'dub'\n\n\ns = ::OpenApiSDK::Dub.new\ns.config_security(\n ::OpenApiSDK::Shared::Security.new(\n token: \"DUB_API_KEY\",\n )\n)\n\n \nres = s.tags.list()\n\nif ! res.tag_schemas.nil?\n # handle response\nend" - - target: $["paths"]["/tags"]["post"] + "label": "bulkCreateLinks" + "source": "require 'dub'\n\n\ns = ::OpenApiSDK::Dub.new\ns.config_security(\n ::OpenApiSDK::Shared::Security.new(\n token: \"DUB_API_KEY\",\n )\n)\n\n\nreq = [\n ::OpenApiSDK::Operations::RequestBody.new(\n url: \"https://google.com\",\n external_id: \"123456\",\n tag_ids: [\n \"\",\n ],\n ),\n]\n \nres = s.links.create_many(req)\n\nif ! res.link_schemas.nil?\n # handle response\nend" + - target: $["paths"]["/links/bulk"]["patch"] update: "x-codeSamples": - "lang": "ruby" - "label": "createTag" - "source": "require 'dub'\n\n\ns = ::OpenApiSDK::Dub.new\ns.config_security(\n ::OpenApiSDK::Shared::Security.new(\n token: \"DUB_API_KEY\",\n )\n)\n\n\nreq = ::OpenApiSDK::Operations::CreateTagRequestBody.new()\n \nres = s.tags.create(req)\n\nif ! res.tag_schema.nil?\n # handle response\nend" - - target: $["paths"]["/domains/{slug}"]["delete"] + "label": "bulkUpdateLinks" + "source": "require 'dub'\n\n\ns = ::OpenApiSDK::Dub.new\ns.config_security(\n ::OpenApiSDK::Shared::Security.new(\n token: \"DUB_API_KEY\",\n )\n)\n\n\nreq = ::OpenApiSDK::Operations::BulkUpdateLinksRequestBody.new(\n link_ids: [\n \"\",\n ],\n data: ::OpenApiSDK::Operations::Data.new(\n url: \"https://google.com\",\n tag_ids: [\n \"\",\n ],\n ),\n)\n \nres = s.links.update_many(req)\n\nif ! res.link_schemas.nil?\n # handle response\nend" + - target: $["paths"]["/domains"]["get"] update: "x-codeSamples": - "lang": "ruby" - "label": "deleteDomain" - "source": "require 'dub'\n\n\ns = ::OpenApiSDK::Dub.new\ns.config_security(\n ::OpenApiSDK::Shared::Security.new(\n token: \"DUB_API_KEY\",\n )\n)\n\n \nres = s.domains.delete(slug=\"acme.com\")\n\nif ! res.object.nil?\n # handle response\nend" - - target: $["paths"]["/domains/{slug}"]["patch"] + "label": "listDomains" + "source": "require 'dub'\n\n\ns = ::OpenApiSDK::Dub.new\ns.config_security(\n ::OpenApiSDK::Shared::Security.new(\n token: \"DUB_API_KEY\",\n )\n)\n\n\nreq = ::OpenApiSDK::Operations::ListDomainsRequest.new(\n page: 1.0,\n page_size: 50.0,\n)\n \nres = s.domains.list(req)\n\nif ! res.domain_schemas.nil?\n # handle response\nend" + - target: $["paths"]["/track/lead"]["post"] update: "x-codeSamples": - "lang": "ruby" - "label": "updateDomain" - "source": "require 'dub'\n\n\ns = ::OpenApiSDK::Dub.new\ns.config_security(\n ::OpenApiSDK::Shared::Security.new(\n token: \"DUB_API_KEY\",\n )\n)\n\n \nres = s.domains.update(slug=\"acme.com\", request_body=::OpenApiSDK::Operations::UpdateDomainRequestBody.new(\n slug: \"acme.com\",\n expired_url: \"https://acme.com/expired\",\n archived: false,\n placeholder: \"https://dub.co/help/article/what-is-dub\",\n ))\n\nif ! res.domain_schema.nil?\n # handle response\nend" + "label": "trackLead" + "source": "require 'dub'\n\n\ns = ::OpenApiSDK::Dub.new\ns.config_security(\n ::OpenApiSDK::Shared::Security.new(\n token: \"DUB_API_KEY\",\n )\n)\n\n\nreq = ::OpenApiSDK::Operations::TrackLeadRequestBody.new(\n click_id: \"\",\n event_name: \"Sign up\",\n customer_id: \"\",\n)\n \nres = s.track.lead(req)\n\nif ! res.object.nil?\n # handle response\nend" - target: $["paths"]["/links"]["post"] update: "x-codeSamples": - "lang": "ruby" "label": "createLink" "source": "require 'dub'\n\n\ns = ::OpenApiSDK::Dub.new\ns.config_security(\n ::OpenApiSDK::Shared::Security.new(\n token: \"DUB_API_KEY\",\n )\n)\n\n\nreq = ::OpenApiSDK::Operations::CreateLinkRequestBody.new(\n url: \"https://google.com\",\n external_id: \"123456\",\n tag_ids: [\n \"\",\n],\n)\n \nres = s.links.create(req)\n\nif ! res.link_schema.nil?\n # handle response\nend" - - target: $["paths"]["/metatags"]["get"] - update: - "x-codeSamples": - - "lang": "ruby" - "label": "getMetatags" - "source": "require 'dub'\n\n\ns = ::OpenApiSDK::Dub.new\ns.config_security(\n ::OpenApiSDK::Shared::Security.new(\n token: \"DUB_API_KEY\",\n )\n)\n\n\nreq = ::OpenApiSDK::Operations::GetMetatagsRequest.new(\n url: \"https://dub.co\",\n)\n \nres = s.metatags.get(req)\n\nif ! res.object.nil?\n # handle response\nend" - - target: $["paths"]["/track/sale"]["post"] - update: - "x-codeSamples": - - "lang": "ruby" - "label": "trackSale" - "source": "require 'dub'\n\n\ns = ::OpenApiSDK::Dub.new\ns.config_security(\n ::OpenApiSDK::Shared::Security.new(\n token: \"DUB_API_KEY\",\n )\n)\n\n\nreq = ::OpenApiSDK::Operations::TrackSaleRequestBody.new(\n customer_id: \"\",\n amount: 996500,\n payment_processor: ::OpenApiSDK::Operations::PaymentProcessor::SHOPIFY,\n event_name: \"Purchase\",\n)\n \nres = s.track.sale(req)\n\nif ! res.object.nil?\n # handle response\nend" - target: $["paths"]["/links"]["get"] update: "x-codeSamples": - "lang": "ruby" "label": "getLinks" - "source": "require 'dub'\n\n\ns = ::OpenApiSDK::Dub.new\ns.config_security(\n ::OpenApiSDK::Shared::Security.new(\n token: \"DUB_API_KEY\",\n )\n)\n\n\nreq = ::OpenApiSDK::Operations::GetLinksRequest.new()\n \nres = s.links.list(req)\n\nif ! res.link_schemas.nil?\n # handle response\nend" + "source": "require 'dub'\n\n\ns = ::OpenApiSDK::Dub.new\ns.config_security(\n ::OpenApiSDK::Shared::Security.new(\n token: \"DUB_API_KEY\",\n )\n)\n\n\nreq = ::OpenApiSDK::Operations::GetLinksRequest.new(\n page: 1.0,\n page_size: 50.0,\n)\n \nres = s.links.list(req)\n\nif ! res.link_schemas.nil?\n # handle response\nend" - target: $["paths"]["/links/{linkId}"]["patch"] update: "x-codeSamples": - "lang": "ruby" "label": "updateLink" "source": "require 'dub'\n\n\ns = ::OpenApiSDK::Dub.new\ns.config_security(\n ::OpenApiSDK::Shared::Security.new(\n token: \"DUB_API_KEY\",\n )\n)\n\n \nres = s.links.update(link_id=\"\", request_body=::OpenApiSDK::Operations::UpdateLinkRequestBody.new(\n url: \"https://google.com\",\n external_id: \"123456\",\n tag_ids: [\n \"\",\n ],\n ))\n\nif ! res.link_schema.nil?\n # handle response\nend" - - target: $["paths"]["/domains"]["get"] + - target: $["paths"]["/analytics"]["get"] update: "x-codeSamples": - "lang": "ruby" - "label": "listDomains" - "source": "require 'dub'\n\n\ns = ::OpenApiSDK::Dub.new\ns.config_security(\n ::OpenApiSDK::Shared::Security.new(\n token: \"DUB_API_KEY\",\n )\n)\n\n \nres = s.domains.list()\n\nif ! res.domain_schemas.nil?\n # handle response\nend" - - target: $["paths"]["/track/lead"]["post"] + "label": "retrieveAnalytics" + "source": "require 'dub'\n\n\ns = ::OpenApiSDK::Dub.new\ns.config_security(\n ::OpenApiSDK::Shared::Security.new(\n token: \"DUB_API_KEY\",\n )\n)\n\n\nreq = ::OpenApiSDK::Operations::RetrieveAnalyticsRequest.new(\n timezone: \"America/New_York\",\n city: \"New York\",\n device: \"Desktop\",\n browser: \"Chrome\",\n os: \"Windows\",\n referer: \"google.com\",\n)\n \nres = s.analytics.retrieve(req)\n\nif ! res.one_of.nil?\n # handle response\nend" + - target: $["paths"]["/workspaces/{idOrSlug}"]["patch"] update: "x-codeSamples": - "lang": "ruby" - "label": "trackLead" - "source": "require 'dub'\n\n\ns = ::OpenApiSDK::Dub.new\ns.config_security(\n ::OpenApiSDK::Shared::Security.new(\n token: \"DUB_API_KEY\",\n )\n)\n\n\nreq = ::OpenApiSDK::Operations::TrackLeadRequestBody.new(\n click_id: \"\",\n event_name: \"Sign up\",\n customer_id: \"\",\n)\n \nres = s.track.lead(req)\n\nif ! res.object.nil?\n # handle response\nend" + "label": "updateWorkspace" + "source": "require 'dub'\n\n\ns = ::OpenApiSDK::Dub.new\ns.config_security(\n ::OpenApiSDK::Shared::Security.new(\n token: \"DUB_API_KEY\",\n )\n)\n\n \nres = s.workspaces.update(id_or_slug=\"\", request_body=::OpenApiSDK::Operations::UpdateWorkspaceRequestBody.new())\n\nif ! res.workspace_schema.nil?\n # handle response\nend" + - target: $["paths"]["/domains/{slug}"]["delete"] + update: + "x-codeSamples": + - "lang": "ruby" + "label": "deleteDomain" + "source": "require 'dub'\n\n\ns = ::OpenApiSDK::Dub.new\ns.config_security(\n ::OpenApiSDK::Shared::Security.new(\n token: \"DUB_API_KEY\",\n )\n)\n\n \nres = s.domains.delete(slug=\"acme.com\")\n\nif ! res.object.nil?\n # handle response\nend" - target: $["paths"]["/links/upsert"]["put"] update: "x-codeSamples": - "lang": "ruby" "label": "upsertLink" "source": "require 'dub'\n\n\ns = ::OpenApiSDK::Dub.new\ns.config_security(\n ::OpenApiSDK::Shared::Security.new(\n token: \"DUB_API_KEY\",\n )\n)\n\n\nreq = ::OpenApiSDK::Operations::UpsertLinkRequestBody.new(\n url: \"https://google.com\",\n external_id: \"123456\",\n tag_ids: [\n \"\",\n],\n)\n \nres = s.links.upsert(req)\n\nif ! res.link_schema.nil?\n # handle response\nend" - - target: $["paths"]["/links/bulk"]["patch"] + - target: $["paths"]["/links/count"]["get"] update: "x-codeSamples": - "lang": "ruby" - "label": "bulkUpdateLinks" - "source": "require 'dub'\n\n\ns = ::OpenApiSDK::Dub.new\ns.config_security(\n ::OpenApiSDK::Shared::Security.new(\n token: \"DUB_API_KEY\",\n )\n)\n\n\nreq = ::OpenApiSDK::Operations::BulkUpdateLinksRequestBody.new(\n link_ids: [\n \"\",\n ],\n data: ::OpenApiSDK::Operations::Data.new(\n url: \"https://google.com\",\n tag_ids: [\n \"\",\n ],\n ),\n)\n \nres = s.links.update_many(req)\n\nif ! res.link_schemas.nil?\n # handle response\nend" - - target: $["paths"]["/workspaces/{idOrSlug}"]["get"] + "label": "getLinksCount" + "source": "require 'dub'\n\n\ns = ::OpenApiSDK::Dub.new\ns.config_security(\n ::OpenApiSDK::Shared::Security.new(\n token: \"DUB_API_KEY\",\n )\n)\n\n\nreq = ::OpenApiSDK::Operations::GetLinksCountRequest.new()\n \nres = s.links.count(req)\n\nif ! res.number.nil?\n # handle response\nend" + - target: $["paths"]["/domains"]["post"] update: "x-codeSamples": - "lang": "ruby" - "label": "getWorkspace" - "source": "require 'dub'\n\n\ns = ::OpenApiSDK::Dub.new\ns.config_security(\n ::OpenApiSDK::Shared::Security.new(\n token: \"DUB_API_KEY\",\n )\n)\n\n\nreq = ::OpenApiSDK::Operations::GetWorkspaceRequest.new(\n id_or_slug: \"\",\n)\n \nres = s.workspaces.get(req)\n\nif ! res.workspace_schema.nil?\n # handle response\nend" - - target: $["paths"]["/tags/{id}"]["patch"] + "label": "createDomain" + "source": "require 'dub'\n\n\ns = ::OpenApiSDK::Dub.new\ns.config_security(\n ::OpenApiSDK::Shared::Security.new(\n token: \"DUB_API_KEY\",\n )\n)\n\n\nreq = ::OpenApiSDK::Operations::CreateDomainRequestBody.new(\n slug: \"acme.com\",\n expired_url: \"https://acme.com/expired\",\n archived: false,\n placeholder: \"https://dub.co/help/article/what-is-dub\",\n)\n \nres = s.domains.create(req)\n\nif ! res.domain_schema.nil?\n # handle response\nend" + - target: $["paths"]["/track/sale"]["post"] update: "x-codeSamples": - "lang": "ruby" - "label": "updateTag" - "source": "require 'dub'\n\n\ns = ::OpenApiSDK::Dub.new\ns.config_security(\n ::OpenApiSDK::Shared::Security.new(\n token: \"DUB_API_KEY\",\n )\n)\n\n \nres = s.tags.update(id=\"\", request_body=::OpenApiSDK::Operations::UpdateTagRequestBody.new())\n\nif ! res.tag_schema.nil?\n # handle response\nend" - - target: $["paths"]["/links/{linkId}"]["delete"] + "label": "trackSale" + "source": "require 'dub'\n\n\ns = ::OpenApiSDK::Dub.new\ns.config_security(\n ::OpenApiSDK::Shared::Security.new(\n token: \"DUB_API_KEY\",\n )\n)\n\n\nreq = ::OpenApiSDK::Operations::TrackSaleRequestBody.new(\n customer_id: \"\",\n amount: 996500,\n payment_processor: ::OpenApiSDK::Operations::PaymentProcessor::SHOPIFY,\n event_name: \"Purchase\",\n)\n \nres = s.track.sale(req)\n\nif ! res.object.nil?\n # handle response\nend" + - target: $["paths"]["/track/customer"]["post"] update: "x-codeSamples": - "lang": "ruby" - "label": "deleteLink" - "source": "require 'dub'\n\n\ns = ::OpenApiSDK::Dub.new\ns.config_security(\n ::OpenApiSDK::Shared::Security.new(\n token: \"DUB_API_KEY\",\n )\n)\n\n \nres = s.links.delete(link_id=\"\")\n\nif ! res.object.nil?\n # handle response\nend" - - target: $["paths"]["/links/bulk"]["post"] + "label": "trackCustomer" + "source": "require 'dub'\n\n\ns = ::OpenApiSDK::Dub.new\ns.config_security(\n ::OpenApiSDK::Shared::Security.new(\n token: \"DUB_API_KEY\",\n )\n)\n\n\nreq = ::OpenApiSDK::Operations::TrackCustomerRequestBody.new(\n customer_id: \"\",\n)\n \nres = s.track.customer(req)\n\nif ! res.object.nil?\n # handle response\nend" + - target: $["paths"]["/qr"]["get"] update: "x-codeSamples": - "lang": "ruby" - "label": "bulkCreateLinks" - "source": "require 'dub'\n\n\ns = ::OpenApiSDK::Dub.new\ns.config_security(\n ::OpenApiSDK::Shared::Security.new(\n token: \"DUB_API_KEY\",\n )\n)\n\n\nreq = [\n ::OpenApiSDK::Operations::RequestBody.new(\n url: \"https://google.com\",\n external_id: \"123456\",\n tag_ids: [\n \"\",\n ],\n ),\n]\n \nres = s.links.create_many(req)\n\nif ! res.link_schemas.nil?\n # handle response\nend" - - target: $["paths"]["/analytics"]["get"] + "label": "getQRCode" + "source": "require 'dub'\n\n\ns = ::OpenApiSDK::Dub.new\ns.config_security(\n ::OpenApiSDK::Shared::Security.new(\n token: \"DUB_API_KEY\",\n )\n)\n\n\nreq = ::OpenApiSDK::Operations::GetQRCodeRequest.new(\n url: \"https://brief-micronutrient.org\",\n)\n \nres = s.qr_codes.get(req)\n\nif ! res.res.nil?\n # handle response\nend" + - target: $["paths"]["/workspaces/{idOrSlug}"]["get"] update: "x-codeSamples": - "lang": "ruby" - "label": "retrieveAnalytics" - "source": "require 'dub'\n\n\ns = ::OpenApiSDK::Dub.new\ns.config_security(\n ::OpenApiSDK::Shared::Security.new(\n token: \"DUB_API_KEY\",\n )\n)\n\n\nreq = ::OpenApiSDK::Operations::RetrieveAnalyticsRequest.new(\n timezone: \"America/New_York\",\n city: \"New York\",\n device: \"Desktop\",\n browser: \"Chrome\",\n os: \"Windows\",\n referer: \"google.com\",\n)\n \nres = s.analytics.retrieve(req)\n\nif ! res.one_of.nil?\n # handle response\nend" - - target: $["paths"]["/domains"]["post"] + "label": "getWorkspace" + "source": "require 'dub'\n\n\ns = ::OpenApiSDK::Dub.new\ns.config_security(\n ::OpenApiSDK::Shared::Security.new(\n token: \"DUB_API_KEY\",\n )\n)\n\n\nreq = ::OpenApiSDK::Operations::GetWorkspaceRequest.new(\n id_or_slug: \"\",\n)\n \nres = s.workspaces.get(req)\n\nif ! res.workspace_schema.nil?\n # handle response\nend" + - target: $["paths"]["/tags/{id}"]["patch"] update: "x-codeSamples": - "lang": "ruby" - "label": "createDomain" - "source": "require 'dub'\n\n\ns = ::OpenApiSDK::Dub.new\ns.config_security(\n ::OpenApiSDK::Shared::Security.new(\n token: \"DUB_API_KEY\",\n )\n)\n\n\nreq = ::OpenApiSDK::Operations::CreateDomainRequestBody.new(\n slug: \"acme.com\",\n expired_url: \"https://acme.com/expired\",\n archived: false,\n placeholder: \"https://dub.co/help/article/what-is-dub\",\n)\n \nres = s.domains.create(req)\n\nif ! res.domain_schema.nil?\n # handle response\nend" - - target: $["paths"]["/track/customer"]["post"] + "label": "updateTag" + "source": "require 'dub'\n\n\ns = ::OpenApiSDK::Dub.new\ns.config_security(\n ::OpenApiSDK::Shared::Security.new(\n token: \"DUB_API_KEY\",\n )\n)\n\n \nres = s.tags.update(id=\"\", request_body=::OpenApiSDK::Operations::UpdateTagRequestBody.new())\n\nif ! res.tag_schema.nil?\n # handle response\nend" + - target: $["paths"]["/domains/{slug}"]["patch"] update: "x-codeSamples": - "lang": "ruby" - "label": "trackCustomer" - "source": "require 'dub'\n\n\ns = ::OpenApiSDK::Dub.new\ns.config_security(\n ::OpenApiSDK::Shared::Security.new(\n token: \"DUB_API_KEY\",\n )\n)\n\n\nreq = ::OpenApiSDK::Operations::TrackCustomerRequestBody.new(\n customer_id: \"\",\n)\n \nres = s.track.customer(req)\n\nif ! res.object.nil?\n # handle response\nend" - - target: $["paths"]["/links/info"]["get"] + "label": "updateDomain" + "source": "require 'dub'\n\n\ns = ::OpenApiSDK::Dub.new\ns.config_security(\n ::OpenApiSDK::Shared::Security.new(\n token: \"DUB_API_KEY\",\n )\n)\n\n \nres = s.domains.update(slug=\"acme.com\", request_body=::OpenApiSDK::Operations::UpdateDomainRequestBody.new(\n slug: \"acme.com\",\n expired_url: \"https://acme.com/expired\",\n archived: false,\n placeholder: \"https://dub.co/help/article/what-is-dub\",\n ))\n\nif ! res.domain_schema.nil?\n # handle response\nend" + - target: $["paths"]["/metatags"]["get"] update: "x-codeSamples": - "lang": "ruby" - "label": "getLinkInfo" - "source": "require 'dub'\n\n\ns = ::OpenApiSDK::Dub.new\ns.config_security(\n ::OpenApiSDK::Shared::Security.new(\n token: \"DUB_API_KEY\",\n )\n)\n\n\nreq = ::OpenApiSDK::Operations::GetLinkInfoRequest.new(\n link_id: \"clux0rgak00011...\",\n external_id: \"ext_123456\",\n)\n \nres = s.links.get(req)\n\nif ! res.link_schema.nil?\n # handle response\nend" + "label": "getMetatags" + "source": "require 'dub'\n\n\ns = ::OpenApiSDK::Dub.new\ns.config_security(\n ::OpenApiSDK::Shared::Security.new(\n token: \"DUB_API_KEY\",\n )\n)\n\n\nreq = ::OpenApiSDK::Operations::GetMetatagsRequest.new(\n url: \"https://dub.co\",\n)\n \nres = s.metatags.get(req)\n\nif ! res.object.nil?\n # handle response\nend" + - target: $["paths"]["/tags"]["get"] + update: + "x-codeSamples": + - "lang": "ruby" + "label": "getTags" + "source": "require 'dub'\n\n\ns = ::OpenApiSDK::Dub.new\ns.config_security(\n ::OpenApiSDK::Shared::Security.new(\n token: \"DUB_API_KEY\",\n )\n)\n\n \nres = s.tags.list()\n\nif ! res.tag_schemas.nil?\n # handle response\nend" + - target: $["paths"]["/tags"]["post"] + update: + "x-codeSamples": + - "lang": "ruby" + "label": "createTag" + "source": "require 'dub'\n\n\ns = ::OpenApiSDK::Dub.new\ns.config_security(\n ::OpenApiSDK::Shared::Security.new(\n token: \"DUB_API_KEY\",\n )\n)\n\n\nreq = ::OpenApiSDK::Operations::CreateTagRequestBody.new()\n \nres = s.tags.create(req)\n\nif ! res.tag_schema.nil?\n # handle response\nend" diff --git a/docs/models/operations/createlinkrequestbody.md b/docs/models/operations/createlinkrequestbody.md index 3772948..1628e58 100644 --- a/docs/models/operations/createlinkrequestbody.md +++ b/docs/models/operations/createlinkrequestbody.md @@ -29,4 +29,9 @@ | `ios` | *T.nilable(::String)* | :heavy_minus_sign: | The iOS destination URL for the short link for iOS device targeting. | | | `android` | *T.nilable(::String)* | :heavy_minus_sign: | The Android destination URL for the short link for Android device targeting. | | | `geo` | [T.nilable(::OpenApiSDK::Shared::LinkGeoTargeting)](../../models/shared/linkgeotargeting.md) | :heavy_minus_sign: | Geo targeting information for the short link in JSON format `{[COUNTRY]: https://example.com }`. | | -| `do_index` | *T.nilable(T::Boolean)* | :heavy_minus_sign: | Allow search engines to index your short link. Defaults to `false` if not provided. Learn more: https://d.to/noindex | | \ No newline at end of file +| `do_index` | *T.nilable(T::Boolean)* | :heavy_minus_sign: | Allow search engines to index your short link. Defaults to `false` if not provided. Learn more: https://d.to/noindex | | +| `utm_source` | *T.nilable(::String)* | :heavy_minus_sign: | The UTM source of the short link. If set, this will populate or override the UTM source in the destination URL. | | +| `utm_medium` | *T.nilable(::String)* | :heavy_minus_sign: | The UTM medium of the short link. If set, this will populate or override the UTM medium in the destination URL. | | +| `utm_campaign` | *T.nilable(::String)* | :heavy_minus_sign: | The UTM campaign of the short link. If set, this will populate or override the UTM campaign in the destination URL. | | +| `utm_term` | *T.nilable(::String)* | :heavy_minus_sign: | The UTM term of the short link. If set, this will populate or override the UTM term in the destination URL. | | +| `utm_content` | *T.nilable(::String)* | :heavy_minus_sign: | The UTM content of the short link. If set, this will populate or override the UTM content in the destination URL. | | \ No newline at end of file diff --git a/docs/models/operations/data.md b/docs/models/operations/data.md index 6a3be59..824d627 100644 --- a/docs/models/operations/data.md +++ b/docs/models/operations/data.md @@ -25,4 +25,9 @@ | `ios` | *T.nilable(::String)* | :heavy_minus_sign: | The iOS destination URL for the short link for iOS device targeting. | | | `android` | *T.nilable(::String)* | :heavy_minus_sign: | The Android destination URL for the short link for Android device targeting. | | | `geo` | [T.nilable(::OpenApiSDK::Shared::LinkGeoTargeting)](../../models/shared/linkgeotargeting.md) | :heavy_minus_sign: | Geo targeting information for the short link in JSON format `{[COUNTRY]: https://example.com }`. | | -| `do_index` | *T.nilable(T::Boolean)* | :heavy_minus_sign: | Allow search engines to index your short link. Defaults to `false` if not provided. Learn more: https://d.to/noindex | | \ No newline at end of file +| `do_index` | *T.nilable(T::Boolean)* | :heavy_minus_sign: | Allow search engines to index your short link. Defaults to `false` if not provided. Learn more: https://d.to/noindex | | +| `utm_source` | *T.nilable(::String)* | :heavy_minus_sign: | The UTM source of the short link. If set, this will populate or override the UTM source in the destination URL. | | +| `utm_medium` | *T.nilable(::String)* | :heavy_minus_sign: | The UTM medium of the short link. If set, this will populate or override the UTM medium in the destination URL. | | +| `utm_campaign` | *T.nilable(::String)* | :heavy_minus_sign: | The UTM campaign of the short link. If set, this will populate or override the UTM campaign in the destination URL. | | +| `utm_term` | *T.nilable(::String)* | :heavy_minus_sign: | The UTM term of the short link. If set, this will populate or override the UTM term in the destination URL. | | +| `utm_content` | *T.nilable(::String)* | :heavy_minus_sign: | The UTM content of the short link. If set, this will populate or override the UTM content in the destination URL. | | \ No newline at end of file diff --git a/docs/models/operations/getlinksrequest.md b/docs/models/operations/getlinksrequest.md index 2016566..dc3d0e3 100644 --- a/docs/models/operations/getlinksrequest.md +++ b/docs/models/operations/getlinksrequest.md @@ -3,15 +3,16 @@ ## Fields -| Field | Type | Required | Description | -| ---------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------- | -| `domain` | *T.nilable(::String)* | :heavy_minus_sign: | The domain to filter the links by. E.g. `ac.me`. If not provided, all links for the workspace will be returned. | -| `tag_id` | *T.nilable(::String)* | :heavy_minus_sign: | The tag ID to filter the links by. This field is deprecated – use `tagIds` instead. | -| `tag_ids` | *T.nilable(::Object)* | :heavy_minus_sign: | The tag IDs to filter the links by. | -| `tag_names` | *T.nilable(::Object)* | :heavy_minus_sign: | The unique name of the tags assigned to the short link (case insensitive). | -| `search` | *T.nilable(::String)* | :heavy_minus_sign: | The search term to filter the links by. The search term will be matched against the short link slug and the destination url. | -| `user_id` | *T.nilable(::String)* | :heavy_minus_sign: | The user ID to filter the links by. | -| `show_archived` | *T.nilable(T::Boolean)* | :heavy_minus_sign: | Whether to include archived links in the response. Defaults to `false` if not provided. | -| `with_tags` | *T.nilable(T::Boolean)* | :heavy_minus_sign: | Whether to include tags in the response. Defaults to `false` if not provided. | -| `sort` | [T.nilable(::OpenApiSDK::Operations::Sort)](../../models/operations/sort.md) | :heavy_minus_sign: | The field to sort the links by. The default is `createdAt`, and sort order is always descending. | -| `page` | *T.nilable(::Integer)* | :heavy_minus_sign: | The page number for pagination (each page contains 100 links). | \ No newline at end of file +| Field | Type | Required | Description | Example | +| ---------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------- | +| `domain` | *T.nilable(::String)* | :heavy_minus_sign: | The domain to filter the links by. E.g. `ac.me`. If not provided, all links for the workspace will be returned. | | +| `tag_id` | *T.nilable(::String)* | :heavy_minus_sign: | The tag ID to filter the links by. This field is deprecated – use `tagIds` instead. | | +| `tag_ids` | *T.nilable(::Object)* | :heavy_minus_sign: | The tag IDs to filter the links by. | | +| `tag_names` | *T.nilable(::Object)* | :heavy_minus_sign: | The unique name of the tags assigned to the short link (case insensitive). | | +| `search` | *T.nilable(::String)* | :heavy_minus_sign: | The search term to filter the links by. The search term will be matched against the short link slug and the destination url. | | +| `user_id` | *T.nilable(::String)* | :heavy_minus_sign: | The user ID to filter the links by. | | +| `show_archived` | *T.nilable(T::Boolean)* | :heavy_minus_sign: | Whether to include archived links in the response. Defaults to `false` if not provided. | | +| `with_tags` | *T.nilable(T::Boolean)* | :heavy_minus_sign: | Whether to include tags in the response. Defaults to `false` if not provided. | | +| `sort` | [T.nilable(::OpenApiSDK::Operations::Sort)](../../models/operations/sort.md) | :heavy_minus_sign: | The field to sort the links by. The default is `createdAt`, and sort order is always descending. | | +| `page` | *T.nilable(::Float)* | :heavy_minus_sign: | The page number for pagination. | 1 | +| `page_size` | *T.nilable(::Float)* | :heavy_minus_sign: | The number of items per page. | 50 | \ No newline at end of file diff --git a/docs/models/operations/groupby.md b/docs/models/operations/groupby.md index 1290ab5..b7206f1 100644 --- a/docs/models/operations/groupby.md +++ b/docs/models/operations/groupby.md @@ -9,6 +9,7 @@ The parameter to group the analytics data points by. Defaults to 'count' if unde | ------------ | ------------ | | `COUNT` | count | | `TIMESERIES` | timeseries | +| `CONTINENTS` | continents | | `COUNTRIES` | countries | | `CITIES` | cities | | `DEVICES` | devices | diff --git a/docs/models/operations/listdomainsrequest.md b/docs/models/operations/listdomainsrequest.md new file mode 100644 index 0000000..5e6829b --- /dev/null +++ b/docs/models/operations/listdomainsrequest.md @@ -0,0 +1,11 @@ +# ListDomainsRequest + + +## Fields + +| Field | Type | Required | Description | Example | +| ----------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------- | ----------------------------------------------------------------------------------------- | +| `archived` | *T.nilable(T::Boolean)* | :heavy_minus_sign: | Whether to include archived domains in the response. Defaults to `false` if not provided. | | +| `search` | *T.nilable(::String)* | :heavy_minus_sign: | The search term to filter the domains by. | | +| `page` | *T.nilable(::Float)* | :heavy_minus_sign: | The page number for pagination. | 1 | +| `page_size` | *T.nilable(::Float)* | :heavy_minus_sign: | The number of items per page. | 50 | \ No newline at end of file diff --git a/docs/models/operations/requestbody.md b/docs/models/operations/requestbody.md index cda4fcd..96cc31f 100644 --- a/docs/models/operations/requestbody.md +++ b/docs/models/operations/requestbody.md @@ -29,4 +29,9 @@ | `ios` | *T.nilable(::String)* | :heavy_minus_sign: | The iOS destination URL for the short link for iOS device targeting. | | | `android` | *T.nilable(::String)* | :heavy_minus_sign: | The Android destination URL for the short link for Android device targeting. | | | `geo` | [T.nilable(::OpenApiSDK::Shared::LinkGeoTargeting)](../../models/shared/linkgeotargeting.md) | :heavy_minus_sign: | Geo targeting information for the short link in JSON format `{[COUNTRY]: https://example.com }`. | | -| `do_index` | *T.nilable(T::Boolean)* | :heavy_minus_sign: | Allow search engines to index your short link. Defaults to `false` if not provided. Learn more: https://d.to/noindex | | \ No newline at end of file +| `do_index` | *T.nilable(T::Boolean)* | :heavy_minus_sign: | Allow search engines to index your short link. Defaults to `false` if not provided. Learn more: https://d.to/noindex | | +| `utm_source` | *T.nilable(::String)* | :heavy_minus_sign: | The UTM source of the short link. If set, this will populate or override the UTM source in the destination URL. | | +| `utm_medium` | *T.nilable(::String)* | :heavy_minus_sign: | The UTM medium of the short link. If set, this will populate or override the UTM medium in the destination URL. | | +| `utm_campaign` | *T.nilable(::String)* | :heavy_minus_sign: | The UTM campaign of the short link. If set, this will populate or override the UTM campaign in the destination URL. | | +| `utm_term` | *T.nilable(::String)* | :heavy_minus_sign: | The UTM term of the short link. If set, this will populate or override the UTM term in the destination URL. | | +| `utm_content` | *T.nilable(::String)* | :heavy_minus_sign: | The UTM content of the short link. If set, this will populate or override the UTM content in the destination URL. | | \ No newline at end of file diff --git a/docs/models/operations/retrieveanalyticsrequest.md b/docs/models/operations/retrieveanalyticsrequest.md index 8e8117c..5085819 100644 --- a/docs/models/operations/retrieveanalyticsrequest.md +++ b/docs/models/operations/retrieveanalyticsrequest.md @@ -15,6 +15,7 @@ | `start` | *T.nilable(::String)* | :heavy_minus_sign: | The start date and time when to retrieve analytics from. | | | `end_` | *T.nilable(::String)* | :heavy_minus_sign: | The end date and time when to retrieve analytics from. If not provided, defaults to the current date. | | | `timezone` | *T.nilable(::String)* | :heavy_minus_sign: | The IANA time zone code for aligning timeseries granularity (e.g. America/New_York). Defaults to UTC. | America/New_York | +| `continent` | [T.nilable(::OpenApiSDK::Shared::ContinentCode)](../../models/shared/continentcode.md) | :heavy_minus_sign: | The continent to retrieve analytics for. | | | `country` | [T.nilable(::OpenApiSDK::Shared::CountryCode)](../../models/shared/countrycode.md) | :heavy_minus_sign: | The country to retrieve analytics for. | | | `city` | *T.nilable(::String)* | :heavy_minus_sign: | The city to retrieve analytics for. | New York | | `device` | *T.nilable(::String)* | :heavy_minus_sign: | The device to retrieve analytics for. | Desktop | diff --git a/docs/models/operations/updatelinkrequestbody.md b/docs/models/operations/updatelinkrequestbody.md index f503f48..9b79765 100644 --- a/docs/models/operations/updatelinkrequestbody.md +++ b/docs/models/operations/updatelinkrequestbody.md @@ -29,4 +29,9 @@ | `ios` | *T.nilable(::String)* | :heavy_minus_sign: | The iOS destination URL for the short link for iOS device targeting. | | | `android` | *T.nilable(::String)* | :heavy_minus_sign: | The Android destination URL for the short link for Android device targeting. | | | `geo` | [T.nilable(::OpenApiSDK::Shared::LinkGeoTargeting)](../../models/shared/linkgeotargeting.md) | :heavy_minus_sign: | N/A | | -| `do_index` | *T.nilable(T::Boolean)* | :heavy_minus_sign: | Allow search engines to index your short link. Defaults to `false` if not provided. Learn more: https://d.to/noindex | | \ No newline at end of file +| `do_index` | *T.nilable(T::Boolean)* | :heavy_minus_sign: | Allow search engines to index your short link. Defaults to `false` if not provided. Learn more: https://d.to/noindex | | +| `utm_source` | *T.nilable(::String)* | :heavy_minus_sign: | The UTM source of the short link. If set, this will populate or override the UTM source in the destination URL. | | +| `utm_medium` | *T.nilable(::String)* | :heavy_minus_sign: | The UTM medium of the short link. If set, this will populate or override the UTM medium in the destination URL. | | +| `utm_campaign` | *T.nilable(::String)* | :heavy_minus_sign: | The UTM campaign of the short link. If set, this will populate or override the UTM campaign in the destination URL. | | +| `utm_term` | *T.nilable(::String)* | :heavy_minus_sign: | The UTM term of the short link. If set, this will populate or override the UTM term in the destination URL. | | +| `utm_content` | *T.nilable(::String)* | :heavy_minus_sign: | The UTM content of the short link. If set, this will populate or override the UTM content in the destination URL. | | \ No newline at end of file diff --git a/docs/models/operations/upsertlinkrequestbody.md b/docs/models/operations/upsertlinkrequestbody.md index 1246df4..cc6c023 100644 --- a/docs/models/operations/upsertlinkrequestbody.md +++ b/docs/models/operations/upsertlinkrequestbody.md @@ -29,4 +29,9 @@ | `ios` | *T.nilable(::String)* | :heavy_minus_sign: | The iOS destination URL for the short link for iOS device targeting. | | | `android` | *T.nilable(::String)* | :heavy_minus_sign: | The Android destination URL for the short link for Android device targeting. | | | `geo` | [T.nilable(::OpenApiSDK::Shared::LinkGeoTargeting)](../../models/shared/linkgeotargeting.md) | :heavy_minus_sign: | Geo targeting information for the short link in JSON format `{[COUNTRY]: https://example.com }`. | | -| `do_index` | *T.nilable(T::Boolean)* | :heavy_minus_sign: | Allow search engines to index your short link. Defaults to `false` if not provided. Learn more: https://d.to/noindex | | \ No newline at end of file +| `do_index` | *T.nilable(T::Boolean)* | :heavy_minus_sign: | Allow search engines to index your short link. Defaults to `false` if not provided. Learn more: https://d.to/noindex | | +| `utm_source` | *T.nilable(::String)* | :heavy_minus_sign: | The UTM source of the short link. If set, this will populate or override the UTM source in the destination URL. | | +| `utm_medium` | *T.nilable(::String)* | :heavy_minus_sign: | The UTM medium of the short link. If set, this will populate or override the UTM medium in the destination URL. | | +| `utm_campaign` | *T.nilable(::String)* | :heavy_minus_sign: | The UTM campaign of the short link. If set, this will populate or override the UTM campaign in the destination URL. | | +| `utm_term` | *T.nilable(::String)* | :heavy_minus_sign: | The UTM term of the short link. If set, this will populate or override the UTM term in the destination URL. | | +| `utm_content` | *T.nilable(::String)* | :heavy_minus_sign: | The UTM content of the short link. If set, this will populate or override the UTM content in the destination URL. | | \ No newline at end of file diff --git a/docs/models/shared/continentcode.md b/docs/models/shared/continentcode.md new file mode 100644 index 0000000..4126491 --- /dev/null +++ b/docs/models/shared/continentcode.md @@ -0,0 +1,16 @@ +# ContinentCode + +The continent to retrieve analytics for. + + +## Values + +| Name | Value | +| ----- | ----- | +| `AF` | AF | +| `AN` | AN | +| `AS` | AS | +| `EU` | EU | +| `NA` | NA | +| `OC` | OC | +| `SA` | SA | \ No newline at end of file diff --git a/docs/sdks/domains/README.md b/docs/sdks/domains/README.md index d7877d9..9ff29b7 100644 --- a/docs/sdks/domains/README.md +++ b/docs/sdks/domains/README.md @@ -25,8 +25,13 @@ s.config_security( ) ) + +req = ::OpenApiSDK::Operations::ListDomainsRequest.new( + page: 1.0, + page_size: 50.0, +) -res = s.domains.list() +res = s.domains.list(req) if ! res.domain_schemas.nil? # handle response @@ -34,6 +39,12 @@ end ``` +### Parameters + +| Parameter | Type | Required | Description | +| --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------------- | +| `request` | [::OpenApiSDK::Operations::ListDomainsRequest](../../models/operations/listdomainsrequest.md) | :heavy_check_mark: | The request object to use for the request. | + ### Response diff --git a/docs/sdks/links/README.md b/docs/sdks/links/README.md index ecf89fe..2eb316e 100644 --- a/docs/sdks/links/README.md +++ b/docs/sdks/links/README.md @@ -31,7 +31,10 @@ s.config_security( ) -req = ::OpenApiSDK::Operations::GetLinksRequest.new() +req = ::OpenApiSDK::Operations::GetLinksRequest.new( + page: 1.0, + page_size: 50.0, +) res = s.links.list(req) diff --git a/dub.gemspec b/dub.gemspec index ec88716..fd3c8df 100644 --- a/dub.gemspec +++ b/dub.gemspec @@ -4,7 +4,7 @@ $LOAD_PATH.push File.expand_path('lib', __dir__) Gem::Specification.new do |s| s.name = 'dub' - s.version = '0.2.2-alpha.4' + s.version = '0.2.2-alpha.5' s.platform = Gem::Platform::RUBY s.licenses = ['Apache-2.0'] s.summary = '' diff --git a/lib/dub.rb b/lib/dub.rb index c7e8ccb..6352d03 100644 --- a/lib/dub.rb +++ b/lib/dub.rb @@ -1,4 +1,4 @@ -# Code generated by Speakeasy (https://speakeasyapi.com). DO NOT EDIT. +# Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. # typed: true # frozen_string_literal: true diff --git a/lib/open_api_sdk/analytics.rb b/lib/open_api_sdk/analytics.rb index 88ec3aa..91fe3a1 100644 --- a/lib/open_api_sdk/analytics.rb +++ b/lib/open_api_sdk/analytics.rb @@ -1,4 +1,4 @@ -# Code generated by Speakeasy (https://speakeasyapi.com). DO NOT EDIT. +# Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. # typed: true # frozen_string_literal: true diff --git a/lib/open_api_sdk/domains.rb b/lib/open_api_sdk/domains.rb index 2ee9282..0285b5e 100644 --- a/lib/open_api_sdk/domains.rb +++ b/lib/open_api_sdk/domains.rb @@ -1,4 +1,4 @@ -# Code generated by Speakeasy (https://speakeasyapi.com). DO NOT EDIT. +# Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. # typed: true # frozen_string_literal: true @@ -19,19 +19,21 @@ def initialize(sdk_config) end - sig { returns(::OpenApiSDK::Operations::ListDomainsResponse) } - def list + sig { params(request: T.nilable(::OpenApiSDK::Operations::ListDomainsRequest)).returns(::OpenApiSDK::Operations::ListDomainsResponse) } + def list(request) # list - Retrieve a list of domains # Retrieve a list of domains associated with the authenticated workspace. url, params = @sdk_configuration.get_server_details base_url = Utils.template_url(url, params) url = "#{base_url}/domains" headers = {} + query_params = Utils.get_query_params(::OpenApiSDK::Operations::ListDomainsRequest, request) headers['Accept'] = 'application/json' headers['user-agent'] = @sdk_configuration.user_agent r = @sdk_configuration.client.get(url) do |req| req.headers = headers + req.params = query_params Utils.configure_request_security(req, @sdk_configuration.security) if !@sdk_configuration.nil? && !@sdk_configuration.security.nil? end diff --git a/lib/open_api_sdk/dub.rb b/lib/open_api_sdk/dub.rb index 877f1d0..ffb0ced 100644 --- a/lib/open_api_sdk/dub.rb +++ b/lib/open_api_sdk/dub.rb @@ -1,4 +1,4 @@ -# Code generated by Speakeasy (https://speakeasyapi.com). DO NOT EDIT. +# Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. # typed: true # frozen_string_literal: true diff --git a/lib/open_api_sdk/links.rb b/lib/open_api_sdk/links.rb index 5de6677..f086a24 100644 --- a/lib/open_api_sdk/links.rb +++ b/lib/open_api_sdk/links.rb @@ -1,4 +1,4 @@ -# Code generated by Speakeasy (https://speakeasyapi.com). DO NOT EDIT. +# Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. # typed: true # frozen_string_literal: true diff --git a/lib/open_api_sdk/metatags.rb b/lib/open_api_sdk/metatags.rb index b958a7e..31030c0 100644 --- a/lib/open_api_sdk/metatags.rb +++ b/lib/open_api_sdk/metatags.rb @@ -1,4 +1,4 @@ -# Code generated by Speakeasy (https://speakeasyapi.com). DO NOT EDIT. +# Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. # typed: true # frozen_string_literal: true diff --git a/lib/open_api_sdk/models/operations.rb b/lib/open_api_sdk/models/operations.rb index ef1364f..b97a125 100644 --- a/lib/open_api_sdk/models/operations.rb +++ b/lib/open_api_sdk/models/operations.rb @@ -1,4 +1,4 @@ -# Code generated by Speakeasy (https://speakeasyapi.com). DO NOT EDIT. +# Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. # typed: true # frozen_string_literal: true @@ -48,6 +48,7 @@ module Operations autoload :UpdateTagRequestBody, 'open_api_sdk/models/operations/updatetag_requestbody.rb' autoload :UpdateTagRequest, 'open_api_sdk/models/operations/updatetag_request.rb' autoload :UpdateTagResponse, 'open_api_sdk/models/operations/updatetag_response.rb' + autoload :ListDomainsRequest, 'open_api_sdk/models/operations/listdomains_request.rb' autoload :ListDomainsResponse, 'open_api_sdk/models/operations/listdomains_response.rb' autoload :CreateDomainRequestBody, 'open_api_sdk/models/operations/createdomain_requestbody.rb' autoload :CreateDomainResponse, 'open_api_sdk/models/operations/createdomain_response.rb' diff --git a/lib/open_api_sdk/models/operations/bulkcreatelinks_response.rb b/lib/open_api_sdk/models/operations/bulkcreatelinks_response.rb index d858a52..1fced0d 100644 --- a/lib/open_api_sdk/models/operations/bulkcreatelinks_response.rb +++ b/lib/open_api_sdk/models/operations/bulkcreatelinks_response.rb @@ -1,4 +1,4 @@ -# Code generated by Speakeasy (https://speakeasyapi.com). DO NOT EDIT. +# Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. # typed: true # frozen_string_literal: true diff --git a/lib/open_api_sdk/models/operations/bulkupdatelinks_requestbody.rb b/lib/open_api_sdk/models/operations/bulkupdatelinks_requestbody.rb index ff261b0..b5cd2a1 100644 --- a/lib/open_api_sdk/models/operations/bulkupdatelinks_requestbody.rb +++ b/lib/open_api_sdk/models/operations/bulkupdatelinks_requestbody.rb @@ -1,4 +1,4 @@ -# Code generated by Speakeasy (https://speakeasyapi.com). DO NOT EDIT. +# Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. # typed: true # frozen_string_literal: true diff --git a/lib/open_api_sdk/models/operations/bulkupdatelinks_response.rb b/lib/open_api_sdk/models/operations/bulkupdatelinks_response.rb index 7815ac5..dbae4f0 100644 --- a/lib/open_api_sdk/models/operations/bulkupdatelinks_response.rb +++ b/lib/open_api_sdk/models/operations/bulkupdatelinks_response.rb @@ -1,4 +1,4 @@ -# Code generated by Speakeasy (https://speakeasyapi.com). DO NOT EDIT. +# Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. # typed: true # frozen_string_literal: true diff --git a/lib/open_api_sdk/models/operations/color.rb b/lib/open_api_sdk/models/operations/color.rb index 7629c04..838fc8a 100644 --- a/lib/open_api_sdk/models/operations/color.rb +++ b/lib/open_api_sdk/models/operations/color.rb @@ -1,4 +1,4 @@ -# Code generated by Speakeasy (https://speakeasyapi.com). DO NOT EDIT. +# Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. # typed: true # frozen_string_literal: true diff --git a/lib/open_api_sdk/models/operations/createdomain_requestbody.rb b/lib/open_api_sdk/models/operations/createdomain_requestbody.rb index f8bbc18..66f3edc 100644 --- a/lib/open_api_sdk/models/operations/createdomain_requestbody.rb +++ b/lib/open_api_sdk/models/operations/createdomain_requestbody.rb @@ -1,4 +1,4 @@ -# Code generated by Speakeasy (https://speakeasyapi.com). DO NOT EDIT. +# Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. # typed: true # frozen_string_literal: true diff --git a/lib/open_api_sdk/models/operations/createdomain_response.rb b/lib/open_api_sdk/models/operations/createdomain_response.rb index 50e5cb3..0e6e6d0 100644 --- a/lib/open_api_sdk/models/operations/createdomain_response.rb +++ b/lib/open_api_sdk/models/operations/createdomain_response.rb @@ -1,4 +1,4 @@ -# Code generated by Speakeasy (https://speakeasyapi.com). DO NOT EDIT. +# Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. # typed: true # frozen_string_literal: true diff --git a/lib/open_api_sdk/models/operations/createlink_requestbody.rb b/lib/open_api_sdk/models/operations/createlink_requestbody.rb index 7a32b51..d7648ef 100644 --- a/lib/open_api_sdk/models/operations/createlink_requestbody.rb +++ b/lib/open_api_sdk/models/operations/createlink_requestbody.rb @@ -1,4 +1,4 @@ -# Code generated by Speakeasy (https://speakeasyapi.com). DO NOT EDIT. +# Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. # typed: true # frozen_string_literal: true @@ -61,12 +61,22 @@ class CreateLinkRequestBody < ::OpenApiSDK::Utils::FieldAugmented field :title, T.nilable(::String), { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('title') } } # Whether to track conversions for the short link. field :track_conversion, T.nilable(T::Boolean), { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('trackConversion') } } + # The UTM campaign of the short link. If set, this will populate or override the UTM campaign in the destination URL. + field :utm_campaign, T.nilable(::String), { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('utm_campaign') } } + # The UTM content of the short link. If set, this will populate or override the UTM content in the destination URL. + field :utm_content, T.nilable(::String), { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('utm_content') } } + # The UTM medium of the short link. If set, this will populate or override the UTM medium in the destination URL. + field :utm_medium, T.nilable(::String), { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('utm_medium') } } + # The UTM source of the short link. If set, this will populate or override the UTM source in the destination URL. + field :utm_source, T.nilable(::String), { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('utm_source') } } + # The UTM term of the short link. If set, this will populate or override the UTM term in the destination URL. + field :utm_term, T.nilable(::String), { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('utm_term') } } # The custom link preview video (og:video). Will be used for Custom Social Media Cards if `proxy` is true. Learn more: https://d.to/og field :video, T.nilable(::String), { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('video') } } - sig { params(url: ::String, android: T.nilable(::String), archived: T.nilable(T::Boolean), comments: T.nilable(::String), description: T.nilable(::String), do_index: T.nilable(T::Boolean), domain: T.nilable(::String), expired_url: T.nilable(::String), expires_at: T.nilable(::String), external_id: T.nilable(::String), geo: T.nilable(::OpenApiSDK::Shared::LinkGeoTargeting), image: T.nilable(::String), ios: T.nilable(::String), key: T.nilable(::String), password: T.nilable(::String), prefix: T.nilable(::String), proxy: T.nilable(T::Boolean), public_stats: T.nilable(T::Boolean), rewrite: T.nilable(T::Boolean), tag_id: T.nilable(::String), tag_ids: T.nilable(::Object), tag_names: T.nilable(::Object), title: T.nilable(::String), track_conversion: T.nilable(T::Boolean), video: T.nilable(::String)).void } - def initialize(url: nil, android: nil, archived: nil, comments: nil, description: nil, do_index: nil, domain: nil, expired_url: nil, expires_at: nil, external_id: nil, geo: nil, image: nil, ios: nil, key: nil, password: nil, prefix: nil, proxy: nil, public_stats: nil, rewrite: nil, tag_id: nil, tag_ids: nil, tag_names: nil, title: nil, track_conversion: nil, video: nil) + sig { params(url: ::String, android: T.nilable(::String), archived: T.nilable(T::Boolean), comments: T.nilable(::String), description: T.nilable(::String), do_index: T.nilable(T::Boolean), domain: T.nilable(::String), expired_url: T.nilable(::String), expires_at: T.nilable(::String), external_id: T.nilable(::String), geo: T.nilable(::OpenApiSDK::Shared::LinkGeoTargeting), image: T.nilable(::String), ios: T.nilable(::String), key: T.nilable(::String), password: T.nilable(::String), prefix: T.nilable(::String), proxy: T.nilable(T::Boolean), public_stats: T.nilable(T::Boolean), rewrite: T.nilable(T::Boolean), tag_id: T.nilable(::String), tag_ids: T.nilable(::Object), tag_names: T.nilable(::Object), title: T.nilable(::String), track_conversion: T.nilable(T::Boolean), utm_campaign: T.nilable(::String), utm_content: T.nilable(::String), utm_medium: T.nilable(::String), utm_source: T.nilable(::String), utm_term: T.nilable(::String), video: T.nilable(::String)).void } + def initialize(url: nil, android: nil, archived: nil, comments: nil, description: nil, do_index: nil, domain: nil, expired_url: nil, expires_at: nil, external_id: nil, geo: nil, image: nil, ios: nil, key: nil, password: nil, prefix: nil, proxy: nil, public_stats: nil, rewrite: nil, tag_id: nil, tag_ids: nil, tag_names: nil, title: nil, track_conversion: nil, utm_campaign: nil, utm_content: nil, utm_medium: nil, utm_source: nil, utm_term: nil, video: nil) @url = url @android = android @archived = archived @@ -91,6 +101,11 @@ def initialize(url: nil, android: nil, archived: nil, comments: nil, description @tag_names = tag_names @title = title @track_conversion = track_conversion + @utm_campaign = utm_campaign + @utm_content = utm_content + @utm_medium = utm_medium + @utm_source = utm_source + @utm_term = utm_term @video = video end end diff --git a/lib/open_api_sdk/models/operations/createlink_response.rb b/lib/open_api_sdk/models/operations/createlink_response.rb index b3faae8..d43400d 100644 --- a/lib/open_api_sdk/models/operations/createlink_response.rb +++ b/lib/open_api_sdk/models/operations/createlink_response.rb @@ -1,4 +1,4 @@ -# Code generated by Speakeasy (https://speakeasyapi.com). DO NOT EDIT. +# Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. # typed: true # frozen_string_literal: true diff --git a/lib/open_api_sdk/models/operations/createtag_requestbody.rb b/lib/open_api_sdk/models/operations/createtag_requestbody.rb index 78df26e..d18ab95 100644 --- a/lib/open_api_sdk/models/operations/createtag_requestbody.rb +++ b/lib/open_api_sdk/models/operations/createtag_requestbody.rb @@ -1,4 +1,4 @@ -# Code generated by Speakeasy (https://speakeasyapi.com). DO NOT EDIT. +# Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. # typed: true # frozen_string_literal: true diff --git a/lib/open_api_sdk/models/operations/createtag_response.rb b/lib/open_api_sdk/models/operations/createtag_response.rb index 8247398..25d9915 100644 --- a/lib/open_api_sdk/models/operations/createtag_response.rb +++ b/lib/open_api_sdk/models/operations/createtag_response.rb @@ -1,4 +1,4 @@ -# Code generated by Speakeasy (https://speakeasyapi.com). DO NOT EDIT. +# Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. # typed: true # frozen_string_literal: true diff --git a/lib/open_api_sdk/models/operations/data.rb b/lib/open_api_sdk/models/operations/data.rb index 0d706fd..fb795f2 100644 --- a/lib/open_api_sdk/models/operations/data.rb +++ b/lib/open_api_sdk/models/operations/data.rb @@ -1,4 +1,4 @@ -# Code generated by Speakeasy (https://speakeasyapi.com). DO NOT EDIT. +# Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. # typed: true # frozen_string_literal: true @@ -53,12 +53,22 @@ class Data < ::OpenApiSDK::Utils::FieldAugmented field :track_conversion, T.nilable(T::Boolean), { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('trackConversion') } } # The destination URL of the short link. field :url, T.nilable(::String), { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('url') } } + # The UTM campaign of the short link. If set, this will populate or override the UTM campaign in the destination URL. + field :utm_campaign, T.nilable(::String), { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('utm_campaign') } } + # The UTM content of the short link. If set, this will populate or override the UTM content in the destination URL. + field :utm_content, T.nilable(::String), { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('utm_content') } } + # The UTM medium of the short link. If set, this will populate or override the UTM medium in the destination URL. + field :utm_medium, T.nilable(::String), { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('utm_medium') } } + # The UTM source of the short link. If set, this will populate or override the UTM source in the destination URL. + field :utm_source, T.nilable(::String), { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('utm_source') } } + # The UTM term of the short link. If set, this will populate or override the UTM term in the destination URL. + field :utm_term, T.nilable(::String), { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('utm_term') } } # The custom link preview video (og:video). Will be used for Custom Social Media Cards if `proxy` is true. Learn more: https://d.to/og field :video, T.nilable(::String), { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('video') } } - sig { params(android: T.nilable(::String), archived: T.nilable(T::Boolean), comments: T.nilable(::String), description: T.nilable(::String), do_index: T.nilable(T::Boolean), expired_url: T.nilable(::String), expires_at: T.nilable(::String), geo: T.nilable(::OpenApiSDK::Shared::LinkGeoTargeting), image: T.nilable(::String), ios: T.nilable(::String), password: T.nilable(::String), proxy: T.nilable(T::Boolean), public_stats: T.nilable(T::Boolean), rewrite: T.nilable(T::Boolean), tag_id: T.nilable(::String), tag_ids: T.nilable(::Object), tag_names: T.nilable(::Object), title: T.nilable(::String), track_conversion: T.nilable(T::Boolean), url: T.nilable(::String), video: T.nilable(::String)).void } - def initialize(android: nil, archived: nil, comments: nil, description: nil, do_index: nil, expired_url: nil, expires_at: nil, geo: nil, image: nil, ios: nil, password: nil, proxy: nil, public_stats: nil, rewrite: nil, tag_id: nil, tag_ids: nil, tag_names: nil, title: nil, track_conversion: nil, url: nil, video: nil) + sig { params(android: T.nilable(::String), archived: T.nilable(T::Boolean), comments: T.nilable(::String), description: T.nilable(::String), do_index: T.nilable(T::Boolean), expired_url: T.nilable(::String), expires_at: T.nilable(::String), geo: T.nilable(::OpenApiSDK::Shared::LinkGeoTargeting), image: T.nilable(::String), ios: T.nilable(::String), password: T.nilable(::String), proxy: T.nilable(T::Boolean), public_stats: T.nilable(T::Boolean), rewrite: T.nilable(T::Boolean), tag_id: T.nilable(::String), tag_ids: T.nilable(::Object), tag_names: T.nilable(::Object), title: T.nilable(::String), track_conversion: T.nilable(T::Boolean), url: T.nilable(::String), utm_campaign: T.nilable(::String), utm_content: T.nilable(::String), utm_medium: T.nilable(::String), utm_source: T.nilable(::String), utm_term: T.nilable(::String), video: T.nilable(::String)).void } + def initialize(android: nil, archived: nil, comments: nil, description: nil, do_index: nil, expired_url: nil, expires_at: nil, geo: nil, image: nil, ios: nil, password: nil, proxy: nil, public_stats: nil, rewrite: nil, tag_id: nil, tag_ids: nil, tag_names: nil, title: nil, track_conversion: nil, url: nil, utm_campaign: nil, utm_content: nil, utm_medium: nil, utm_source: nil, utm_term: nil, video: nil) @android = android @archived = archived @comments = comments @@ -79,6 +89,11 @@ def initialize(android: nil, archived: nil, comments: nil, description: nil, do_ @title = title @track_conversion = track_conversion @url = url + @utm_campaign = utm_campaign + @utm_content = utm_content + @utm_medium = utm_medium + @utm_source = utm_source + @utm_term = utm_term @video = video end end diff --git a/lib/open_api_sdk/models/operations/deletedomain_request.rb b/lib/open_api_sdk/models/operations/deletedomain_request.rb index 94b0ab5..d72edb9 100644 --- a/lib/open_api_sdk/models/operations/deletedomain_request.rb +++ b/lib/open_api_sdk/models/operations/deletedomain_request.rb @@ -1,4 +1,4 @@ -# Code generated by Speakeasy (https://speakeasyapi.com). DO NOT EDIT. +# Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. # typed: true # frozen_string_literal: true diff --git a/lib/open_api_sdk/models/operations/deletedomain_response.rb b/lib/open_api_sdk/models/operations/deletedomain_response.rb index f88e0e2..984739a 100644 --- a/lib/open_api_sdk/models/operations/deletedomain_response.rb +++ b/lib/open_api_sdk/models/operations/deletedomain_response.rb @@ -1,4 +1,4 @@ -# Code generated by Speakeasy (https://speakeasyapi.com). DO NOT EDIT. +# Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. # typed: true # frozen_string_literal: true diff --git a/lib/open_api_sdk/models/operations/deletedomain_responsebody.rb b/lib/open_api_sdk/models/operations/deletedomain_responsebody.rb index 7e4f1a1..b46c333 100644 --- a/lib/open_api_sdk/models/operations/deletedomain_responsebody.rb +++ b/lib/open_api_sdk/models/operations/deletedomain_responsebody.rb @@ -1,4 +1,4 @@ -# Code generated by Speakeasy (https://speakeasyapi.com). DO NOT EDIT. +# Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. # typed: true # frozen_string_literal: true diff --git a/lib/open_api_sdk/models/operations/deletelink_request.rb b/lib/open_api_sdk/models/operations/deletelink_request.rb index b488a5e..c4d0271 100644 --- a/lib/open_api_sdk/models/operations/deletelink_request.rb +++ b/lib/open_api_sdk/models/operations/deletelink_request.rb @@ -1,4 +1,4 @@ -# Code generated by Speakeasy (https://speakeasyapi.com). DO NOT EDIT. +# Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. # typed: true # frozen_string_literal: true diff --git a/lib/open_api_sdk/models/operations/deletelink_response.rb b/lib/open_api_sdk/models/operations/deletelink_response.rb index 214d276..c78455a 100644 --- a/lib/open_api_sdk/models/operations/deletelink_response.rb +++ b/lib/open_api_sdk/models/operations/deletelink_response.rb @@ -1,4 +1,4 @@ -# Code generated by Speakeasy (https://speakeasyapi.com). DO NOT EDIT. +# Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. # typed: true # frozen_string_literal: true diff --git a/lib/open_api_sdk/models/operations/deletelink_responsebody.rb b/lib/open_api_sdk/models/operations/deletelink_responsebody.rb index 01bdf13..51fd055 100644 --- a/lib/open_api_sdk/models/operations/deletelink_responsebody.rb +++ b/lib/open_api_sdk/models/operations/deletelink_responsebody.rb @@ -1,4 +1,4 @@ -# Code generated by Speakeasy (https://speakeasyapi.com). DO NOT EDIT. +# Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. # typed: true # frozen_string_literal: true diff --git a/lib/open_api_sdk/models/operations/event.rb b/lib/open_api_sdk/models/operations/event.rb index 07d7d69..92a36a0 100644 --- a/lib/open_api_sdk/models/operations/event.rb +++ b/lib/open_api_sdk/models/operations/event.rb @@ -1,4 +1,4 @@ -# Code generated by Speakeasy (https://speakeasyapi.com). DO NOT EDIT. +# Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. # typed: true # frozen_string_literal: true diff --git a/lib/open_api_sdk/models/operations/getlinkinfo_request.rb b/lib/open_api_sdk/models/operations/getlinkinfo_request.rb index caff0e2..7985090 100644 --- a/lib/open_api_sdk/models/operations/getlinkinfo_request.rb +++ b/lib/open_api_sdk/models/operations/getlinkinfo_request.rb @@ -1,4 +1,4 @@ -# Code generated by Speakeasy (https://speakeasyapi.com). DO NOT EDIT. +# Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. # typed: true # frozen_string_literal: true diff --git a/lib/open_api_sdk/models/operations/getlinkinfo_response.rb b/lib/open_api_sdk/models/operations/getlinkinfo_response.rb index bb66474..b2726d2 100644 --- a/lib/open_api_sdk/models/operations/getlinkinfo_response.rb +++ b/lib/open_api_sdk/models/operations/getlinkinfo_response.rb @@ -1,4 +1,4 @@ -# Code generated by Speakeasy (https://speakeasyapi.com). DO NOT EDIT. +# Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. # typed: true # frozen_string_literal: true diff --git a/lib/open_api_sdk/models/operations/getlinks_request.rb b/lib/open_api_sdk/models/operations/getlinks_request.rb index c9e7516..829b415 100644 --- a/lib/open_api_sdk/models/operations/getlinks_request.rb +++ b/lib/open_api_sdk/models/operations/getlinks_request.rb @@ -1,4 +1,4 @@ -# Code generated by Speakeasy (https://speakeasyapi.com). DO NOT EDIT. +# Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. # typed: true # frozen_string_literal: true @@ -13,8 +13,10 @@ class GetLinksRequest < ::OpenApiSDK::Utils::FieldAugmented # The domain to filter the links by. E.g. `ac.me`. If not provided, all links for the workspace will be returned. field :domain, T.nilable(::String), { 'query_param': { 'field_name': 'domain', 'style': 'form', 'explode': true } } - # The page number for pagination (each page contains 100 links). - field :page, T.nilable(::Integer), { 'query_param': { 'field_name': 'page', 'style': 'form', 'explode': true } } + # The page number for pagination. + field :page, T.nilable(::Float), { 'query_param': { 'field_name': 'page', 'style': 'form', 'explode': true } } + # The number of items per page. + field :page_size, T.nilable(::Float), { 'query_param': { 'field_name': 'pageSize', 'style': 'form', 'explode': true } } # The search term to filter the links by. The search term will be matched against the short link slug and the destination url. field :search, T.nilable(::String), { 'query_param': { 'field_name': 'search', 'style': 'form', 'explode': true } } # Whether to include archived links in the response. Defaults to `false` if not provided. @@ -33,10 +35,11 @@ class GetLinksRequest < ::OpenApiSDK::Utils::FieldAugmented field :with_tags, T.nilable(T::Boolean), { 'query_param': { 'field_name': 'withTags', 'style': 'form', 'explode': true } } - sig { params(domain: T.nilable(::String), page: T.nilable(::Integer), search: T.nilable(::String), show_archived: T.nilable(T::Boolean), sort: T.nilable(::OpenApiSDK::Operations::Sort), tag_id: T.nilable(::String), tag_ids: T.nilable(::Object), tag_names: T.nilable(::Object), user_id: T.nilable(::String), with_tags: T.nilable(T::Boolean)).void } - def initialize(domain: nil, page: nil, search: nil, show_archived: nil, sort: nil, tag_id: nil, tag_ids: nil, tag_names: nil, user_id: nil, with_tags: nil) + sig { params(domain: T.nilable(::String), page: T.nilable(::Float), page_size: T.nilable(::Float), search: T.nilable(::String), show_archived: T.nilable(T::Boolean), sort: T.nilable(::OpenApiSDK::Operations::Sort), tag_id: T.nilable(::String), tag_ids: T.nilable(::Object), tag_names: T.nilable(::Object), user_id: T.nilable(::String), with_tags: T.nilable(T::Boolean)).void } + def initialize(domain: nil, page: nil, page_size: nil, search: nil, show_archived: nil, sort: nil, tag_id: nil, tag_ids: nil, tag_names: nil, user_id: nil, with_tags: nil) @domain = domain @page = page + @page_size = page_size @search = search @show_archived = show_archived @sort = sort diff --git a/lib/open_api_sdk/models/operations/getlinks_response.rb b/lib/open_api_sdk/models/operations/getlinks_response.rb index 3f79d4f..004ebce 100644 --- a/lib/open_api_sdk/models/operations/getlinks_response.rb +++ b/lib/open_api_sdk/models/operations/getlinks_response.rb @@ -1,4 +1,4 @@ -# Code generated by Speakeasy (https://speakeasyapi.com). DO NOT EDIT. +# Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. # typed: true # frozen_string_literal: true diff --git a/lib/open_api_sdk/models/operations/getlinkscount_request.rb b/lib/open_api_sdk/models/operations/getlinkscount_request.rb index f3dbebe..051742c 100644 --- a/lib/open_api_sdk/models/operations/getlinkscount_request.rb +++ b/lib/open_api_sdk/models/operations/getlinkscount_request.rb @@ -1,4 +1,4 @@ -# Code generated by Speakeasy (https://speakeasyapi.com). DO NOT EDIT. +# Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. # typed: true # frozen_string_literal: true diff --git a/lib/open_api_sdk/models/operations/getlinkscount_response.rb b/lib/open_api_sdk/models/operations/getlinkscount_response.rb index e6f9ee1..ab62735 100644 --- a/lib/open_api_sdk/models/operations/getlinkscount_response.rb +++ b/lib/open_api_sdk/models/operations/getlinkscount_response.rb @@ -1,4 +1,4 @@ -# Code generated by Speakeasy (https://speakeasyapi.com). DO NOT EDIT. +# Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. # typed: true # frozen_string_literal: true diff --git a/lib/open_api_sdk/models/operations/getmetatags_request.rb b/lib/open_api_sdk/models/operations/getmetatags_request.rb index 8789721..39a2528 100644 --- a/lib/open_api_sdk/models/operations/getmetatags_request.rb +++ b/lib/open_api_sdk/models/operations/getmetatags_request.rb @@ -1,4 +1,4 @@ -# Code generated by Speakeasy (https://speakeasyapi.com). DO NOT EDIT. +# Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. # typed: true # frozen_string_literal: true diff --git a/lib/open_api_sdk/models/operations/getmetatags_response.rb b/lib/open_api_sdk/models/operations/getmetatags_response.rb index 7bed8d1..40bcd68 100644 --- a/lib/open_api_sdk/models/operations/getmetatags_response.rb +++ b/lib/open_api_sdk/models/operations/getmetatags_response.rb @@ -1,4 +1,4 @@ -# Code generated by Speakeasy (https://speakeasyapi.com). DO NOT EDIT. +# Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. # typed: true # frozen_string_literal: true diff --git a/lib/open_api_sdk/models/operations/getmetatags_responsebody.rb b/lib/open_api_sdk/models/operations/getmetatags_responsebody.rb index 19da442..16ec5a9 100644 --- a/lib/open_api_sdk/models/operations/getmetatags_responsebody.rb +++ b/lib/open_api_sdk/models/operations/getmetatags_responsebody.rb @@ -1,4 +1,4 @@ -# Code generated by Speakeasy (https://speakeasyapi.com). DO NOT EDIT. +# Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. # typed: true # frozen_string_literal: true diff --git a/lib/open_api_sdk/models/operations/getqrcode_request.rb b/lib/open_api_sdk/models/operations/getqrcode_request.rb index 998270a..d3c8b99 100644 --- a/lib/open_api_sdk/models/operations/getqrcode_request.rb +++ b/lib/open_api_sdk/models/operations/getqrcode_request.rb @@ -1,4 +1,4 @@ -# Code generated by Speakeasy (https://speakeasyapi.com). DO NOT EDIT. +# Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. # typed: true # frozen_string_literal: true diff --git a/lib/open_api_sdk/models/operations/getqrcode_response.rb b/lib/open_api_sdk/models/operations/getqrcode_response.rb index 85e3f3b..d144c50 100644 --- a/lib/open_api_sdk/models/operations/getqrcode_response.rb +++ b/lib/open_api_sdk/models/operations/getqrcode_response.rb @@ -1,4 +1,4 @@ -# Code generated by Speakeasy (https://speakeasyapi.com). DO NOT EDIT. +# Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. # typed: true # frozen_string_literal: true diff --git a/lib/open_api_sdk/models/operations/gettags_response.rb b/lib/open_api_sdk/models/operations/gettags_response.rb index e23463f..07b065a 100644 --- a/lib/open_api_sdk/models/operations/gettags_response.rb +++ b/lib/open_api_sdk/models/operations/gettags_response.rb @@ -1,4 +1,4 @@ -# Code generated by Speakeasy (https://speakeasyapi.com). DO NOT EDIT. +# Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. # typed: true # frozen_string_literal: true diff --git a/lib/open_api_sdk/models/operations/getworkspace_request.rb b/lib/open_api_sdk/models/operations/getworkspace_request.rb index 5a689b8..60539c7 100644 --- a/lib/open_api_sdk/models/operations/getworkspace_request.rb +++ b/lib/open_api_sdk/models/operations/getworkspace_request.rb @@ -1,4 +1,4 @@ -# Code generated by Speakeasy (https://speakeasyapi.com). DO NOT EDIT. +# Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. # typed: true # frozen_string_literal: true diff --git a/lib/open_api_sdk/models/operations/getworkspace_response.rb b/lib/open_api_sdk/models/operations/getworkspace_response.rb index 6ffdd2b..f042a25 100644 --- a/lib/open_api_sdk/models/operations/getworkspace_response.rb +++ b/lib/open_api_sdk/models/operations/getworkspace_response.rb @@ -1,4 +1,4 @@ -# Code generated by Speakeasy (https://speakeasyapi.com). DO NOT EDIT. +# Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. # typed: true # frozen_string_literal: true diff --git a/lib/open_api_sdk/models/operations/groupby.rb b/lib/open_api_sdk/models/operations/groupby.rb index bbd669a..b58f843 100644 --- a/lib/open_api_sdk/models/operations/groupby.rb +++ b/lib/open_api_sdk/models/operations/groupby.rb @@ -1,4 +1,4 @@ -# Code generated by Speakeasy (https://speakeasyapi.com). DO NOT EDIT. +# Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. # typed: true # frozen_string_literal: true @@ -12,6 +12,7 @@ class GroupBy < T::Enum enums do COUNT = new('count') TIMESERIES = new('timeseries') + CONTINENTS = new('continents') COUNTRIES = new('countries') CITIES = new('cities') DEVICES = new('devices') diff --git a/lib/open_api_sdk/models/operations/interval.rb b/lib/open_api_sdk/models/operations/interval.rb index 1c0e3ea..8992572 100644 --- a/lib/open_api_sdk/models/operations/interval.rb +++ b/lib/open_api_sdk/models/operations/interval.rb @@ -1,4 +1,4 @@ -# Code generated by Speakeasy (https://speakeasyapi.com). DO NOT EDIT. +# Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. # typed: true # frozen_string_literal: true diff --git a/lib/open_api_sdk/models/operations/level.rb b/lib/open_api_sdk/models/operations/level.rb index c0ef080..8b71f6b 100644 --- a/lib/open_api_sdk/models/operations/level.rb +++ b/lib/open_api_sdk/models/operations/level.rb @@ -1,4 +1,4 @@ -# Code generated by Speakeasy (https://speakeasyapi.com). DO NOT EDIT. +# Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. # typed: true # frozen_string_literal: true diff --git a/lib/open_api_sdk/models/operations/listdomains_request.rb b/lib/open_api_sdk/models/operations/listdomains_request.rb new file mode 100644 index 0000000..f3eb3fb --- /dev/null +++ b/lib/open_api_sdk/models/operations/listdomains_request.rb @@ -0,0 +1,33 @@ +# Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + +# typed: true +# frozen_string_literal: true + + +module OpenApiSDK + module Operations + + + class ListDomainsRequest < ::OpenApiSDK::Utils::FieldAugmented + extend T::Sig + + # Whether to include archived domains in the response. Defaults to `false` if not provided. + field :archived, T.nilable(T::Boolean), { 'query_param': { 'field_name': 'archived', 'style': 'form', 'explode': true } } + # The page number for pagination. + field :page, T.nilable(::Float), { 'query_param': { 'field_name': 'page', 'style': 'form', 'explode': true } } + # The number of items per page. + field :page_size, T.nilable(::Float), { 'query_param': { 'field_name': 'pageSize', 'style': 'form', 'explode': true } } + # The search term to filter the domains by. + field :search, T.nilable(::String), { 'query_param': { 'field_name': 'search', 'style': 'form', 'explode': true } } + + + sig { params(archived: T.nilable(T::Boolean), page: T.nilable(::Float), page_size: T.nilable(::Float), search: T.nilable(::String)).void } + def initialize(archived: nil, page: nil, page_size: nil, search: nil) + @archived = archived + @page = page + @page_size = page_size + @search = search + end + end + end +end diff --git a/lib/open_api_sdk/models/operations/listdomains_response.rb b/lib/open_api_sdk/models/operations/listdomains_response.rb index e35c3fb..19c06dd 100644 --- a/lib/open_api_sdk/models/operations/listdomains_response.rb +++ b/lib/open_api_sdk/models/operations/listdomains_response.rb @@ -1,4 +1,4 @@ -# Code generated by Speakeasy (https://speakeasyapi.com). DO NOT EDIT. +# Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. # typed: true # frozen_string_literal: true diff --git a/lib/open_api_sdk/models/operations/paymentprocessor.rb b/lib/open_api_sdk/models/operations/paymentprocessor.rb index 516541f..bd90474 100644 --- a/lib/open_api_sdk/models/operations/paymentprocessor.rb +++ b/lib/open_api_sdk/models/operations/paymentprocessor.rb @@ -1,4 +1,4 @@ -# Code generated by Speakeasy (https://speakeasyapi.com). DO NOT EDIT. +# Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. # typed: true # frozen_string_literal: true diff --git a/lib/open_api_sdk/models/operations/requestbody.rb b/lib/open_api_sdk/models/operations/requestbody.rb index 4b4d0ec..b3a8f4f 100644 --- a/lib/open_api_sdk/models/operations/requestbody.rb +++ b/lib/open_api_sdk/models/operations/requestbody.rb @@ -1,4 +1,4 @@ -# Code generated by Speakeasy (https://speakeasyapi.com). DO NOT EDIT. +# Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. # typed: true # frozen_string_literal: true @@ -61,12 +61,22 @@ class RequestBody < ::OpenApiSDK::Utils::FieldAugmented field :title, T.nilable(::String), { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('title') } } # Whether to track conversions for the short link. field :track_conversion, T.nilable(T::Boolean), { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('trackConversion') } } + # The UTM campaign of the short link. If set, this will populate or override the UTM campaign in the destination URL. + field :utm_campaign, T.nilable(::String), { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('utm_campaign') } } + # The UTM content of the short link. If set, this will populate or override the UTM content in the destination URL. + field :utm_content, T.nilable(::String), { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('utm_content') } } + # The UTM medium of the short link. If set, this will populate or override the UTM medium in the destination URL. + field :utm_medium, T.nilable(::String), { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('utm_medium') } } + # The UTM source of the short link. If set, this will populate or override the UTM source in the destination URL. + field :utm_source, T.nilable(::String), { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('utm_source') } } + # The UTM term of the short link. If set, this will populate or override the UTM term in the destination URL. + field :utm_term, T.nilable(::String), { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('utm_term') } } # The custom link preview video (og:video). Will be used for Custom Social Media Cards if `proxy` is true. Learn more: https://d.to/og field :video, T.nilable(::String), { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('video') } } - sig { params(url: ::String, android: T.nilable(::String), archived: T.nilable(T::Boolean), comments: T.nilable(::String), description: T.nilable(::String), do_index: T.nilable(T::Boolean), domain: T.nilable(::String), expired_url: T.nilable(::String), expires_at: T.nilable(::String), external_id: T.nilable(::String), geo: T.nilable(::OpenApiSDK::Shared::LinkGeoTargeting), image: T.nilable(::String), ios: T.nilable(::String), key: T.nilable(::String), password: T.nilable(::String), prefix: T.nilable(::String), proxy: T.nilable(T::Boolean), public_stats: T.nilable(T::Boolean), rewrite: T.nilable(T::Boolean), tag_id: T.nilable(::String), tag_ids: T.nilable(::Object), tag_names: T.nilable(::Object), title: T.nilable(::String), track_conversion: T.nilable(T::Boolean), video: T.nilable(::String)).void } - def initialize(url: nil, android: nil, archived: nil, comments: nil, description: nil, do_index: nil, domain: nil, expired_url: nil, expires_at: nil, external_id: nil, geo: nil, image: nil, ios: nil, key: nil, password: nil, prefix: nil, proxy: nil, public_stats: nil, rewrite: nil, tag_id: nil, tag_ids: nil, tag_names: nil, title: nil, track_conversion: nil, video: nil) + sig { params(url: ::String, android: T.nilable(::String), archived: T.nilable(T::Boolean), comments: T.nilable(::String), description: T.nilable(::String), do_index: T.nilable(T::Boolean), domain: T.nilable(::String), expired_url: T.nilable(::String), expires_at: T.nilable(::String), external_id: T.nilable(::String), geo: T.nilable(::OpenApiSDK::Shared::LinkGeoTargeting), image: T.nilable(::String), ios: T.nilable(::String), key: T.nilable(::String), password: T.nilable(::String), prefix: T.nilable(::String), proxy: T.nilable(T::Boolean), public_stats: T.nilable(T::Boolean), rewrite: T.nilable(T::Boolean), tag_id: T.nilable(::String), tag_ids: T.nilable(::Object), tag_names: T.nilable(::Object), title: T.nilable(::String), track_conversion: T.nilable(T::Boolean), utm_campaign: T.nilable(::String), utm_content: T.nilable(::String), utm_medium: T.nilable(::String), utm_source: T.nilable(::String), utm_term: T.nilable(::String), video: T.nilable(::String)).void } + def initialize(url: nil, android: nil, archived: nil, comments: nil, description: nil, do_index: nil, domain: nil, expired_url: nil, expires_at: nil, external_id: nil, geo: nil, image: nil, ios: nil, key: nil, password: nil, prefix: nil, proxy: nil, public_stats: nil, rewrite: nil, tag_id: nil, tag_ids: nil, tag_names: nil, title: nil, track_conversion: nil, utm_campaign: nil, utm_content: nil, utm_medium: nil, utm_source: nil, utm_term: nil, video: nil) @url = url @android = android @archived = archived @@ -91,6 +101,11 @@ def initialize(url: nil, android: nil, archived: nil, comments: nil, description @tag_names = tag_names @title = title @track_conversion = track_conversion + @utm_campaign = utm_campaign + @utm_content = utm_content + @utm_medium = utm_medium + @utm_source = utm_source + @utm_term = utm_term @video = video end end diff --git a/lib/open_api_sdk/models/operations/retrieveanalytics_request.rb b/lib/open_api_sdk/models/operations/retrieveanalytics_request.rb index da5df54..ad7ff22 100644 --- a/lib/open_api_sdk/models/operations/retrieveanalytics_request.rb +++ b/lib/open_api_sdk/models/operations/retrieveanalytics_request.rb @@ -1,4 +1,4 @@ -# Code generated by Speakeasy (https://speakeasyapi.com). DO NOT EDIT. +# Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. # typed: true # frozen_string_literal: true @@ -15,6 +15,8 @@ class RetrieveAnalyticsRequest < ::OpenApiSDK::Utils::FieldAugmented field :browser, T.nilable(::String), { 'query_param': { 'field_name': 'browser', 'style': 'form', 'explode': true } } # The city to retrieve analytics for. field :city, T.nilable(::String), { 'query_param': { 'field_name': 'city', 'style': 'form', 'explode': true } } + # The continent to retrieve analytics for. + field :continent, T.nilable(::OpenApiSDK::Shared::ContinentCode), { 'query_param': { 'field_name': 'continent', 'style': 'form', 'explode': true } } # The country to retrieve analytics for. field :country, T.nilable(::OpenApiSDK::Shared::CountryCode), { 'query_param': { 'field_name': 'country', 'style': 'form', 'explode': true } } # The device to retrieve analytics for. @@ -53,10 +55,11 @@ class RetrieveAnalyticsRequest < ::OpenApiSDK::Utils::FieldAugmented field :url, T.nilable(::String), { 'query_param': { 'field_name': 'url', 'style': 'form', 'explode': true } } - sig { params(browser: T.nilable(::String), city: T.nilable(::String), country: T.nilable(::OpenApiSDK::Shared::CountryCode), device: T.nilable(::String), domain: T.nilable(::String), end_: T.nilable(::String), event: T.nilable(::OpenApiSDK::Operations::Event), external_id: T.nilable(::String), group_by: T.nilable(::OpenApiSDK::Operations::GroupBy), interval: T.nilable(::OpenApiSDK::Operations::Interval), key: T.nilable(::String), link_id: T.nilable(::String), os: T.nilable(::String), qr: T.nilable(T::Boolean), referer: T.nilable(::String), root: T.nilable(T::Boolean), start: T.nilable(::String), tag_id: T.nilable(::String), timezone: T.nilable(::String), url: T.nilable(::String)).void } - def initialize(browser: nil, city: nil, country: nil, device: nil, domain: nil, end_: nil, event: nil, external_id: nil, group_by: nil, interval: nil, key: nil, link_id: nil, os: nil, qr: nil, referer: nil, root: nil, start: nil, tag_id: nil, timezone: nil, url: nil) + sig { params(browser: T.nilable(::String), city: T.nilable(::String), continent: T.nilable(::OpenApiSDK::Shared::ContinentCode), country: T.nilable(::OpenApiSDK::Shared::CountryCode), device: T.nilable(::String), domain: T.nilable(::String), end_: T.nilable(::String), event: T.nilable(::OpenApiSDK::Operations::Event), external_id: T.nilable(::String), group_by: T.nilable(::OpenApiSDK::Operations::GroupBy), interval: T.nilable(::OpenApiSDK::Operations::Interval), key: T.nilable(::String), link_id: T.nilable(::String), os: T.nilable(::String), qr: T.nilable(T::Boolean), referer: T.nilable(::String), root: T.nilable(T::Boolean), start: T.nilable(::String), tag_id: T.nilable(::String), timezone: T.nilable(::String), url: T.nilable(::String)).void } + def initialize(browser: nil, city: nil, continent: nil, country: nil, device: nil, domain: nil, end_: nil, event: nil, external_id: nil, group_by: nil, interval: nil, key: nil, link_id: nil, os: nil, qr: nil, referer: nil, root: nil, start: nil, tag_id: nil, timezone: nil, url: nil) @browser = browser @city = city + @continent = continent @country = country @device = device @domain = domain diff --git a/lib/open_api_sdk/models/operations/retrieveanalytics_response.rb b/lib/open_api_sdk/models/operations/retrieveanalytics_response.rb index 5e9f453..8c007c7 100644 --- a/lib/open_api_sdk/models/operations/retrieveanalytics_response.rb +++ b/lib/open_api_sdk/models/operations/retrieveanalytics_response.rb @@ -1,4 +1,4 @@ -# Code generated by Speakeasy (https://speakeasyapi.com). DO NOT EDIT. +# Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. # typed: true # frozen_string_literal: true diff --git a/lib/open_api_sdk/models/operations/sort.rb b/lib/open_api_sdk/models/operations/sort.rb index 117a5c3..5176938 100644 --- a/lib/open_api_sdk/models/operations/sort.rb +++ b/lib/open_api_sdk/models/operations/sort.rb @@ -1,4 +1,4 @@ -# Code generated by Speakeasy (https://speakeasyapi.com). DO NOT EDIT. +# Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. # typed: true # frozen_string_literal: true diff --git a/lib/open_api_sdk/models/operations/trackcustomer_requestbody.rb b/lib/open_api_sdk/models/operations/trackcustomer_requestbody.rb index 730dcad..10afc6a 100644 --- a/lib/open_api_sdk/models/operations/trackcustomer_requestbody.rb +++ b/lib/open_api_sdk/models/operations/trackcustomer_requestbody.rb @@ -1,4 +1,4 @@ -# Code generated by Speakeasy (https://speakeasyapi.com). DO NOT EDIT. +# Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. # typed: true # frozen_string_literal: true diff --git a/lib/open_api_sdk/models/operations/trackcustomer_response.rb b/lib/open_api_sdk/models/operations/trackcustomer_response.rb index 90815e1..624a4d0 100644 --- a/lib/open_api_sdk/models/operations/trackcustomer_response.rb +++ b/lib/open_api_sdk/models/operations/trackcustomer_response.rb @@ -1,4 +1,4 @@ -# Code generated by Speakeasy (https://speakeasyapi.com). DO NOT EDIT. +# Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. # typed: true # frozen_string_literal: true diff --git a/lib/open_api_sdk/models/operations/trackcustomer_responsebody.rb b/lib/open_api_sdk/models/operations/trackcustomer_responsebody.rb index 095e843..cfbabdf 100644 --- a/lib/open_api_sdk/models/operations/trackcustomer_responsebody.rb +++ b/lib/open_api_sdk/models/operations/trackcustomer_responsebody.rb @@ -1,4 +1,4 @@ -# Code generated by Speakeasy (https://speakeasyapi.com). DO NOT EDIT. +# Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. # typed: true # frozen_string_literal: true diff --git a/lib/open_api_sdk/models/operations/tracklead_requestbody.rb b/lib/open_api_sdk/models/operations/tracklead_requestbody.rb index dfb1352..980f009 100644 --- a/lib/open_api_sdk/models/operations/tracklead_requestbody.rb +++ b/lib/open_api_sdk/models/operations/tracklead_requestbody.rb @@ -1,4 +1,4 @@ -# Code generated by Speakeasy (https://speakeasyapi.com). DO NOT EDIT. +# Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. # typed: true # frozen_string_literal: true diff --git a/lib/open_api_sdk/models/operations/tracklead_response.rb b/lib/open_api_sdk/models/operations/tracklead_response.rb index 221e8bf..5635cd5 100644 --- a/lib/open_api_sdk/models/operations/tracklead_response.rb +++ b/lib/open_api_sdk/models/operations/tracklead_response.rb @@ -1,4 +1,4 @@ -# Code generated by Speakeasy (https://speakeasyapi.com). DO NOT EDIT. +# Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. # typed: true # frozen_string_literal: true diff --git a/lib/open_api_sdk/models/operations/tracklead_responsebody.rb b/lib/open_api_sdk/models/operations/tracklead_responsebody.rb index b8db1ab..30caf9a 100644 --- a/lib/open_api_sdk/models/operations/tracklead_responsebody.rb +++ b/lib/open_api_sdk/models/operations/tracklead_responsebody.rb @@ -1,4 +1,4 @@ -# Code generated by Speakeasy (https://speakeasyapi.com). DO NOT EDIT. +# Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. # typed: true # frozen_string_literal: true diff --git a/lib/open_api_sdk/models/operations/tracksale_requestbody.rb b/lib/open_api_sdk/models/operations/tracksale_requestbody.rb index 4b04c13..97c0698 100644 --- a/lib/open_api_sdk/models/operations/tracksale_requestbody.rb +++ b/lib/open_api_sdk/models/operations/tracksale_requestbody.rb @@ -1,4 +1,4 @@ -# Code generated by Speakeasy (https://speakeasyapi.com). DO NOT EDIT. +# Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. # typed: true # frozen_string_literal: true diff --git a/lib/open_api_sdk/models/operations/tracksale_response.rb b/lib/open_api_sdk/models/operations/tracksale_response.rb index 34a0e71..71c64f5 100644 --- a/lib/open_api_sdk/models/operations/tracksale_response.rb +++ b/lib/open_api_sdk/models/operations/tracksale_response.rb @@ -1,4 +1,4 @@ -# Code generated by Speakeasy (https://speakeasyapi.com). DO NOT EDIT. +# Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. # typed: true # frozen_string_literal: true diff --git a/lib/open_api_sdk/models/operations/tracksale_responsebody.rb b/lib/open_api_sdk/models/operations/tracksale_responsebody.rb index 820c097..7c3748e 100644 --- a/lib/open_api_sdk/models/operations/tracksale_responsebody.rb +++ b/lib/open_api_sdk/models/operations/tracksale_responsebody.rb @@ -1,4 +1,4 @@ -# Code generated by Speakeasy (https://speakeasyapi.com). DO NOT EDIT. +# Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. # typed: true # frozen_string_literal: true diff --git a/lib/open_api_sdk/models/operations/updatedomain_request.rb b/lib/open_api_sdk/models/operations/updatedomain_request.rb index 42282a0..49db206 100644 --- a/lib/open_api_sdk/models/operations/updatedomain_request.rb +++ b/lib/open_api_sdk/models/operations/updatedomain_request.rb @@ -1,4 +1,4 @@ -# Code generated by Speakeasy (https://speakeasyapi.com). DO NOT EDIT. +# Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. # typed: true # frozen_string_literal: true diff --git a/lib/open_api_sdk/models/operations/updatedomain_requestbody.rb b/lib/open_api_sdk/models/operations/updatedomain_requestbody.rb index 57ebef2..c1905d8 100644 --- a/lib/open_api_sdk/models/operations/updatedomain_requestbody.rb +++ b/lib/open_api_sdk/models/operations/updatedomain_requestbody.rb @@ -1,4 +1,4 @@ -# Code generated by Speakeasy (https://speakeasyapi.com). DO NOT EDIT. +# Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. # typed: true # frozen_string_literal: true diff --git a/lib/open_api_sdk/models/operations/updatedomain_response.rb b/lib/open_api_sdk/models/operations/updatedomain_response.rb index 05d56ce..861dd0a 100644 --- a/lib/open_api_sdk/models/operations/updatedomain_response.rb +++ b/lib/open_api_sdk/models/operations/updatedomain_response.rb @@ -1,4 +1,4 @@ -# Code generated by Speakeasy (https://speakeasyapi.com). DO NOT EDIT. +# Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. # typed: true # frozen_string_literal: true diff --git a/lib/open_api_sdk/models/operations/updatelink_request.rb b/lib/open_api_sdk/models/operations/updatelink_request.rb index 1ebe069..aa5e16b 100644 --- a/lib/open_api_sdk/models/operations/updatelink_request.rb +++ b/lib/open_api_sdk/models/operations/updatelink_request.rb @@ -1,4 +1,4 @@ -# Code generated by Speakeasy (https://speakeasyapi.com). DO NOT EDIT. +# Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. # typed: true # frozen_string_literal: true diff --git a/lib/open_api_sdk/models/operations/updatelink_requestbody.rb b/lib/open_api_sdk/models/operations/updatelink_requestbody.rb index ddc748a..22df25b 100644 --- a/lib/open_api_sdk/models/operations/updatelink_requestbody.rb +++ b/lib/open_api_sdk/models/operations/updatelink_requestbody.rb @@ -1,4 +1,4 @@ -# Code generated by Speakeasy (https://speakeasyapi.com). DO NOT EDIT. +# Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. # typed: true # frozen_string_literal: true @@ -61,12 +61,22 @@ class UpdateLinkRequestBody < ::OpenApiSDK::Utils::FieldAugmented field :track_conversion, T.nilable(T::Boolean), { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('trackConversion') } } # The destination URL of the short link. field :url, T.nilable(::String), { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('url') } } + # The UTM campaign of the short link. If set, this will populate or override the UTM campaign in the destination URL. + field :utm_campaign, T.nilable(::String), { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('utm_campaign') } } + # The UTM content of the short link. If set, this will populate or override the UTM content in the destination URL. + field :utm_content, T.nilable(::String), { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('utm_content') } } + # The UTM medium of the short link. If set, this will populate or override the UTM medium in the destination URL. + field :utm_medium, T.nilable(::String), { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('utm_medium') } } + # The UTM source of the short link. If set, this will populate or override the UTM source in the destination URL. + field :utm_source, T.nilable(::String), { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('utm_source') } } + # The UTM term of the short link. If set, this will populate or override the UTM term in the destination URL. + field :utm_term, T.nilable(::String), { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('utm_term') } } # The custom link preview video (og:video). Will be used for Custom Social Media Cards if `proxy` is true. Learn more: https://d.to/og field :video, T.nilable(::String), { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('video') } } - sig { params(android: T.nilable(::String), archived: T.nilable(T::Boolean), comments: T.nilable(::String), description: T.nilable(::String), do_index: T.nilable(T::Boolean), domain: T.nilable(::String), expired_url: T.nilable(::String), expires_at: T.nilable(::String), external_id: T.nilable(::String), geo: T.nilable(::OpenApiSDK::Shared::LinkGeoTargeting), image: T.nilable(::String), ios: T.nilable(::String), key: T.nilable(::String), password: T.nilable(::String), prefix: T.nilable(::String), proxy: T.nilable(T::Boolean), public_stats: T.nilable(T::Boolean), rewrite: T.nilable(T::Boolean), tag_id: T.nilable(::String), tag_ids: T.nilable(::Object), tag_names: T.nilable(::Object), title: T.nilable(::String), track_conversion: T.nilable(T::Boolean), url: T.nilable(::String), video: T.nilable(::String)).void } - def initialize(android: nil, archived: nil, comments: nil, description: nil, do_index: nil, domain: nil, expired_url: nil, expires_at: nil, external_id: nil, geo: nil, image: nil, ios: nil, key: nil, password: nil, prefix: nil, proxy: nil, public_stats: nil, rewrite: nil, tag_id: nil, tag_ids: nil, tag_names: nil, title: nil, track_conversion: nil, url: nil, video: nil) + sig { params(android: T.nilable(::String), archived: T.nilable(T::Boolean), comments: T.nilable(::String), description: T.nilable(::String), do_index: T.nilable(T::Boolean), domain: T.nilable(::String), expired_url: T.nilable(::String), expires_at: T.nilable(::String), external_id: T.nilable(::String), geo: T.nilable(::OpenApiSDK::Shared::LinkGeoTargeting), image: T.nilable(::String), ios: T.nilable(::String), key: T.nilable(::String), password: T.nilable(::String), prefix: T.nilable(::String), proxy: T.nilable(T::Boolean), public_stats: T.nilable(T::Boolean), rewrite: T.nilable(T::Boolean), tag_id: T.nilable(::String), tag_ids: T.nilable(::Object), tag_names: T.nilable(::Object), title: T.nilable(::String), track_conversion: T.nilable(T::Boolean), url: T.nilable(::String), utm_campaign: T.nilable(::String), utm_content: T.nilable(::String), utm_medium: T.nilable(::String), utm_source: T.nilable(::String), utm_term: T.nilable(::String), video: T.nilable(::String)).void } + def initialize(android: nil, archived: nil, comments: nil, description: nil, do_index: nil, domain: nil, expired_url: nil, expires_at: nil, external_id: nil, geo: nil, image: nil, ios: nil, key: nil, password: nil, prefix: nil, proxy: nil, public_stats: nil, rewrite: nil, tag_id: nil, tag_ids: nil, tag_names: nil, title: nil, track_conversion: nil, url: nil, utm_campaign: nil, utm_content: nil, utm_medium: nil, utm_source: nil, utm_term: nil, video: nil) @android = android @archived = archived @comments = comments @@ -91,6 +101,11 @@ def initialize(android: nil, archived: nil, comments: nil, description: nil, do_ @title = title @track_conversion = track_conversion @url = url + @utm_campaign = utm_campaign + @utm_content = utm_content + @utm_medium = utm_medium + @utm_source = utm_source + @utm_term = utm_term @video = video end end diff --git a/lib/open_api_sdk/models/operations/updatelink_response.rb b/lib/open_api_sdk/models/operations/updatelink_response.rb index 6beb9fa..6d27573 100644 --- a/lib/open_api_sdk/models/operations/updatelink_response.rb +++ b/lib/open_api_sdk/models/operations/updatelink_response.rb @@ -1,4 +1,4 @@ -# Code generated by Speakeasy (https://speakeasyapi.com). DO NOT EDIT. +# Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. # typed: true # frozen_string_literal: true diff --git a/lib/open_api_sdk/models/operations/updatetag_color.rb b/lib/open_api_sdk/models/operations/updatetag_color.rb index 88d6d56..20103ee 100644 --- a/lib/open_api_sdk/models/operations/updatetag_color.rb +++ b/lib/open_api_sdk/models/operations/updatetag_color.rb @@ -1,4 +1,4 @@ -# Code generated by Speakeasy (https://speakeasyapi.com). DO NOT EDIT. +# Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. # typed: true # frozen_string_literal: true diff --git a/lib/open_api_sdk/models/operations/updatetag_request.rb b/lib/open_api_sdk/models/operations/updatetag_request.rb index 9bc53c2..570fbc1 100644 --- a/lib/open_api_sdk/models/operations/updatetag_request.rb +++ b/lib/open_api_sdk/models/operations/updatetag_request.rb @@ -1,4 +1,4 @@ -# Code generated by Speakeasy (https://speakeasyapi.com). DO NOT EDIT. +# Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. # typed: true # frozen_string_literal: true diff --git a/lib/open_api_sdk/models/operations/updatetag_requestbody.rb b/lib/open_api_sdk/models/operations/updatetag_requestbody.rb index 943b5a5..612d99b 100644 --- a/lib/open_api_sdk/models/operations/updatetag_requestbody.rb +++ b/lib/open_api_sdk/models/operations/updatetag_requestbody.rb @@ -1,4 +1,4 @@ -# Code generated by Speakeasy (https://speakeasyapi.com). DO NOT EDIT. +# Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. # typed: true # frozen_string_literal: true diff --git a/lib/open_api_sdk/models/operations/updatetag_response.rb b/lib/open_api_sdk/models/operations/updatetag_response.rb index edc8458..d4f964b 100644 --- a/lib/open_api_sdk/models/operations/updatetag_response.rb +++ b/lib/open_api_sdk/models/operations/updatetag_response.rb @@ -1,4 +1,4 @@ -# Code generated by Speakeasy (https://speakeasyapi.com). DO NOT EDIT. +# Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. # typed: true # frozen_string_literal: true diff --git a/lib/open_api_sdk/models/operations/updateworkspace_request.rb b/lib/open_api_sdk/models/operations/updateworkspace_request.rb index ac70e1f..ca1f9d5 100644 --- a/lib/open_api_sdk/models/operations/updateworkspace_request.rb +++ b/lib/open_api_sdk/models/operations/updateworkspace_request.rb @@ -1,4 +1,4 @@ -# Code generated by Speakeasy (https://speakeasyapi.com). DO NOT EDIT. +# Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. # typed: true # frozen_string_literal: true diff --git a/lib/open_api_sdk/models/operations/updateworkspace_requestbody.rb b/lib/open_api_sdk/models/operations/updateworkspace_requestbody.rb index 033f026..8266a95 100644 --- a/lib/open_api_sdk/models/operations/updateworkspace_requestbody.rb +++ b/lib/open_api_sdk/models/operations/updateworkspace_requestbody.rb @@ -1,4 +1,4 @@ -# Code generated by Speakeasy (https://speakeasyapi.com). DO NOT EDIT. +# Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. # typed: true # frozen_string_literal: true diff --git a/lib/open_api_sdk/models/operations/updateworkspace_response.rb b/lib/open_api_sdk/models/operations/updateworkspace_response.rb index 1f5623f..1a6cd35 100644 --- a/lib/open_api_sdk/models/operations/updateworkspace_response.rb +++ b/lib/open_api_sdk/models/operations/updateworkspace_response.rb @@ -1,4 +1,4 @@ -# Code generated by Speakeasy (https://speakeasyapi.com). DO NOT EDIT. +# Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. # typed: true # frozen_string_literal: true diff --git a/lib/open_api_sdk/models/operations/upsertlink_requestbody.rb b/lib/open_api_sdk/models/operations/upsertlink_requestbody.rb index 2e45a0e..5ed5a6a 100644 --- a/lib/open_api_sdk/models/operations/upsertlink_requestbody.rb +++ b/lib/open_api_sdk/models/operations/upsertlink_requestbody.rb @@ -1,4 +1,4 @@ -# Code generated by Speakeasy (https://speakeasyapi.com). DO NOT EDIT. +# Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. # typed: true # frozen_string_literal: true @@ -61,12 +61,22 @@ class UpsertLinkRequestBody < ::OpenApiSDK::Utils::FieldAugmented field :title, T.nilable(::String), { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('title') } } # Whether to track conversions for the short link. field :track_conversion, T.nilable(T::Boolean), { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('trackConversion') } } + # The UTM campaign of the short link. If set, this will populate or override the UTM campaign in the destination URL. + field :utm_campaign, T.nilable(::String), { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('utm_campaign') } } + # The UTM content of the short link. If set, this will populate or override the UTM content in the destination URL. + field :utm_content, T.nilable(::String), { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('utm_content') } } + # The UTM medium of the short link. If set, this will populate or override the UTM medium in the destination URL. + field :utm_medium, T.nilable(::String), { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('utm_medium') } } + # The UTM source of the short link. If set, this will populate or override the UTM source in the destination URL. + field :utm_source, T.nilable(::String), { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('utm_source') } } + # The UTM term of the short link. If set, this will populate or override the UTM term in the destination URL. + field :utm_term, T.nilable(::String), { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('utm_term') } } # The custom link preview video (og:video). Will be used for Custom Social Media Cards if `proxy` is true. Learn more: https://d.to/og field :video, T.nilable(::String), { 'format_json': { 'letter_case': ::OpenApiSDK::Utils.field_name('video') } } - sig { params(url: ::String, android: T.nilable(::String), archived: T.nilable(T::Boolean), comments: T.nilable(::String), description: T.nilable(::String), do_index: T.nilable(T::Boolean), domain: T.nilable(::String), expired_url: T.nilable(::String), expires_at: T.nilable(::String), external_id: T.nilable(::String), geo: T.nilable(::OpenApiSDK::Shared::LinkGeoTargeting), image: T.nilable(::String), ios: T.nilable(::String), key: T.nilable(::String), password: T.nilable(::String), prefix: T.nilable(::String), proxy: T.nilable(T::Boolean), public_stats: T.nilable(T::Boolean), rewrite: T.nilable(T::Boolean), tag_id: T.nilable(::String), tag_ids: T.nilable(::Object), tag_names: T.nilable(::Object), title: T.nilable(::String), track_conversion: T.nilable(T::Boolean), video: T.nilable(::String)).void } - def initialize(url: nil, android: nil, archived: nil, comments: nil, description: nil, do_index: nil, domain: nil, expired_url: nil, expires_at: nil, external_id: nil, geo: nil, image: nil, ios: nil, key: nil, password: nil, prefix: nil, proxy: nil, public_stats: nil, rewrite: nil, tag_id: nil, tag_ids: nil, tag_names: nil, title: nil, track_conversion: nil, video: nil) + sig { params(url: ::String, android: T.nilable(::String), archived: T.nilable(T::Boolean), comments: T.nilable(::String), description: T.nilable(::String), do_index: T.nilable(T::Boolean), domain: T.nilable(::String), expired_url: T.nilable(::String), expires_at: T.nilable(::String), external_id: T.nilable(::String), geo: T.nilable(::OpenApiSDK::Shared::LinkGeoTargeting), image: T.nilable(::String), ios: T.nilable(::String), key: T.nilable(::String), password: T.nilable(::String), prefix: T.nilable(::String), proxy: T.nilable(T::Boolean), public_stats: T.nilable(T::Boolean), rewrite: T.nilable(T::Boolean), tag_id: T.nilable(::String), tag_ids: T.nilable(::Object), tag_names: T.nilable(::Object), title: T.nilable(::String), track_conversion: T.nilable(T::Boolean), utm_campaign: T.nilable(::String), utm_content: T.nilable(::String), utm_medium: T.nilable(::String), utm_source: T.nilable(::String), utm_term: T.nilable(::String), video: T.nilable(::String)).void } + def initialize(url: nil, android: nil, archived: nil, comments: nil, description: nil, do_index: nil, domain: nil, expired_url: nil, expires_at: nil, external_id: nil, geo: nil, image: nil, ios: nil, key: nil, password: nil, prefix: nil, proxy: nil, public_stats: nil, rewrite: nil, tag_id: nil, tag_ids: nil, tag_names: nil, title: nil, track_conversion: nil, utm_campaign: nil, utm_content: nil, utm_medium: nil, utm_source: nil, utm_term: nil, video: nil) @url = url @android = android @archived = archived @@ -91,6 +101,11 @@ def initialize(url: nil, android: nil, archived: nil, comments: nil, description @tag_names = tag_names @title = title @track_conversion = track_conversion + @utm_campaign = utm_campaign + @utm_content = utm_content + @utm_medium = utm_medium + @utm_source = utm_source + @utm_term = utm_term @video = video end end diff --git a/lib/open_api_sdk/models/operations/upsertlink_response.rb b/lib/open_api_sdk/models/operations/upsertlink_response.rb index 2abfd30..bcfca6d 100644 --- a/lib/open_api_sdk/models/operations/upsertlink_response.rb +++ b/lib/open_api_sdk/models/operations/upsertlink_response.rb @@ -1,4 +1,4 @@ -# Code generated by Speakeasy (https://speakeasyapi.com). DO NOT EDIT. +# Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. # typed: true # frozen_string_literal: true diff --git a/lib/open_api_sdk/models/shared.rb b/lib/open_api_sdk/models/shared.rb index ad97ea1..966658e 100644 --- a/lib/open_api_sdk/models/shared.rb +++ b/lib/open_api_sdk/models/shared.rb @@ -1,4 +1,4 @@ -# Code generated by Speakeasy (https://speakeasyapi.com). DO NOT EDIT. +# Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. # typed: true # frozen_string_literal: true @@ -38,6 +38,7 @@ module Shared autoload :TagSchema, 'open_api_sdk/models/shared/tagschema.rb' autoload :LinkGeoTargeting, 'open_api_sdk/models/shared/linkgeotargeting.rb' autoload :CountryCode, 'open_api_sdk/models/shared/countrycode.rb' + autoload :ContinentCode, 'open_api_sdk/models/shared/continentcode.rb' autoload :Plan, 'open_api_sdk/models/shared/plan.rb' autoload :Role, 'open_api_sdk/models/shared/role.rb' autoload :Users, 'open_api_sdk/models/shared/users.rb' diff --git a/lib/open_api_sdk/models/shared/badrequest.rb b/lib/open_api_sdk/models/shared/badrequest.rb index 76440de..5bfd0a1 100644 --- a/lib/open_api_sdk/models/shared/badrequest.rb +++ b/lib/open_api_sdk/models/shared/badrequest.rb @@ -1,4 +1,4 @@ -# Code generated by Speakeasy (https://speakeasyapi.com). DO NOT EDIT. +# Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. # typed: true # frozen_string_literal: true diff --git a/lib/open_api_sdk/models/shared/code.rb b/lib/open_api_sdk/models/shared/code.rb index 995a058..161181f 100644 --- a/lib/open_api_sdk/models/shared/code.rb +++ b/lib/open_api_sdk/models/shared/code.rb @@ -1,4 +1,4 @@ -# Code generated by Speakeasy (https://speakeasyapi.com). DO NOT EDIT. +# Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. # typed: true # frozen_string_literal: true diff --git a/lib/open_api_sdk/models/shared/color.rb b/lib/open_api_sdk/models/shared/color.rb index ac125f9..c146e7f 100644 --- a/lib/open_api_sdk/models/shared/color.rb +++ b/lib/open_api_sdk/models/shared/color.rb @@ -1,4 +1,4 @@ -# Code generated by Speakeasy (https://speakeasyapi.com). DO NOT EDIT. +# Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. # typed: true # frozen_string_literal: true diff --git a/lib/open_api_sdk/models/shared/conflict.rb b/lib/open_api_sdk/models/shared/conflict.rb index cf0cf32..3860b09 100644 --- a/lib/open_api_sdk/models/shared/conflict.rb +++ b/lib/open_api_sdk/models/shared/conflict.rb @@ -1,4 +1,4 @@ -# Code generated by Speakeasy (https://speakeasyapi.com). DO NOT EDIT. +# Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. # typed: true # frozen_string_literal: true diff --git a/lib/open_api_sdk/models/shared/conflict_code.rb b/lib/open_api_sdk/models/shared/conflict_code.rb index 59a3408..2bfa3e6 100644 --- a/lib/open_api_sdk/models/shared/conflict_code.rb +++ b/lib/open_api_sdk/models/shared/conflict_code.rb @@ -1,4 +1,4 @@ -# Code generated by Speakeasy (https://speakeasyapi.com). DO NOT EDIT. +# Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. # typed: true # frozen_string_literal: true diff --git a/lib/open_api_sdk/models/shared/conflict_error.rb b/lib/open_api_sdk/models/shared/conflict_error.rb index c070e6e..87575fb 100644 --- a/lib/open_api_sdk/models/shared/conflict_error.rb +++ b/lib/open_api_sdk/models/shared/conflict_error.rb @@ -1,4 +1,4 @@ -# Code generated by Speakeasy (https://speakeasyapi.com). DO NOT EDIT. +# Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. # typed: true # frozen_string_literal: true diff --git a/lib/open_api_sdk/models/shared/continentcode.rb b/lib/open_api_sdk/models/shared/continentcode.rb new file mode 100644 index 0000000..78d2b18 --- /dev/null +++ b/lib/open_api_sdk/models/shared/continentcode.rb @@ -0,0 +1,24 @@ +# Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. + +# typed: true +# frozen_string_literal: true + + +module OpenApiSDK + module Shared + + # ContinentCode - The continent to retrieve analytics for. + class ContinentCode < T::Enum + enums do + AF = new('AF') + AN = new('AN') + AS = new('AS') + EU = new('EU') + NA = new('NA') + OC = new('OC') + SA = new('SA') + end + end + + end +end diff --git a/lib/open_api_sdk/models/shared/countrycode.rb b/lib/open_api_sdk/models/shared/countrycode.rb index 8a411e5..59b143d 100644 --- a/lib/open_api_sdk/models/shared/countrycode.rb +++ b/lib/open_api_sdk/models/shared/countrycode.rb @@ -1,4 +1,4 @@ -# Code generated by Speakeasy (https://speakeasyapi.com). DO NOT EDIT. +# Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. # typed: true # frozen_string_literal: true diff --git a/lib/open_api_sdk/models/shared/domains.rb b/lib/open_api_sdk/models/shared/domains.rb index 2dcb8e6..b4d7750 100644 --- a/lib/open_api_sdk/models/shared/domains.rb +++ b/lib/open_api_sdk/models/shared/domains.rb @@ -1,4 +1,4 @@ -# Code generated by Speakeasy (https://speakeasyapi.com). DO NOT EDIT. +# Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. # typed: true # frozen_string_literal: true diff --git a/lib/open_api_sdk/models/shared/domainschema.rb b/lib/open_api_sdk/models/shared/domainschema.rb index 81d3108..dbcbedc 100644 --- a/lib/open_api_sdk/models/shared/domainschema.rb +++ b/lib/open_api_sdk/models/shared/domainschema.rb @@ -1,4 +1,4 @@ -# Code generated by Speakeasy (https://speakeasyapi.com). DO NOT EDIT. +# Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. # typed: true # frozen_string_literal: true diff --git a/lib/open_api_sdk/models/shared/error.rb b/lib/open_api_sdk/models/shared/error.rb index 79cb626..083353d 100644 --- a/lib/open_api_sdk/models/shared/error.rb +++ b/lib/open_api_sdk/models/shared/error.rb @@ -1,4 +1,4 @@ -# Code generated by Speakeasy (https://speakeasyapi.com). DO NOT EDIT. +# Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. # typed: true # frozen_string_literal: true diff --git a/lib/open_api_sdk/models/shared/forbidden.rb b/lib/open_api_sdk/models/shared/forbidden.rb index ec288b3..c4475d5 100644 --- a/lib/open_api_sdk/models/shared/forbidden.rb +++ b/lib/open_api_sdk/models/shared/forbidden.rb @@ -1,4 +1,4 @@ -# Code generated by Speakeasy (https://speakeasyapi.com). DO NOT EDIT. +# Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. # typed: true # frozen_string_literal: true diff --git a/lib/open_api_sdk/models/shared/forbidden_code.rb b/lib/open_api_sdk/models/shared/forbidden_code.rb index c9e072c..f38c077 100644 --- a/lib/open_api_sdk/models/shared/forbidden_code.rb +++ b/lib/open_api_sdk/models/shared/forbidden_code.rb @@ -1,4 +1,4 @@ -# Code generated by Speakeasy (https://speakeasyapi.com). DO NOT EDIT. +# Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. # typed: true # frozen_string_literal: true diff --git a/lib/open_api_sdk/models/shared/forbidden_error.rb b/lib/open_api_sdk/models/shared/forbidden_error.rb index 8efbe9f..0c7ec30 100644 --- a/lib/open_api_sdk/models/shared/forbidden_error.rb +++ b/lib/open_api_sdk/models/shared/forbidden_error.rb @@ -1,4 +1,4 @@ -# Code generated by Speakeasy (https://speakeasyapi.com). DO NOT EDIT. +# Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. # typed: true # frozen_string_literal: true diff --git a/lib/open_api_sdk/models/shared/geo.rb b/lib/open_api_sdk/models/shared/geo.rb index 0c5adc8..eb8dcdc 100644 --- a/lib/open_api_sdk/models/shared/geo.rb +++ b/lib/open_api_sdk/models/shared/geo.rb @@ -1,4 +1,4 @@ -# Code generated by Speakeasy (https://speakeasyapi.com). DO NOT EDIT. +# Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. # typed: true # frozen_string_literal: true diff --git a/lib/open_api_sdk/models/shared/internalservererror.rb b/lib/open_api_sdk/models/shared/internalservererror.rb index fe05950..2dd187b 100644 --- a/lib/open_api_sdk/models/shared/internalservererror.rb +++ b/lib/open_api_sdk/models/shared/internalservererror.rb @@ -1,4 +1,4 @@ -# Code generated by Speakeasy (https://speakeasyapi.com). DO NOT EDIT. +# Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. # typed: true # frozen_string_literal: true diff --git a/lib/open_api_sdk/models/shared/internalservererror_code.rb b/lib/open_api_sdk/models/shared/internalservererror_code.rb index 2a358ef..c8ea000 100644 --- a/lib/open_api_sdk/models/shared/internalservererror_code.rb +++ b/lib/open_api_sdk/models/shared/internalservererror_code.rb @@ -1,4 +1,4 @@ -# Code generated by Speakeasy (https://speakeasyapi.com). DO NOT EDIT. +# Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. # typed: true # frozen_string_literal: true diff --git a/lib/open_api_sdk/models/shared/internalservererror_error.rb b/lib/open_api_sdk/models/shared/internalservererror_error.rb index 568a4d4..2a3e5c8 100644 --- a/lib/open_api_sdk/models/shared/internalservererror_error.rb +++ b/lib/open_api_sdk/models/shared/internalservererror_error.rb @@ -1,4 +1,4 @@ -# Code generated by Speakeasy (https://speakeasyapi.com). DO NOT EDIT. +# Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. # typed: true # frozen_string_literal: true diff --git a/lib/open_api_sdk/models/shared/inviteexpired.rb b/lib/open_api_sdk/models/shared/inviteexpired.rb index 017c582..dfe28e1 100644 --- a/lib/open_api_sdk/models/shared/inviteexpired.rb +++ b/lib/open_api_sdk/models/shared/inviteexpired.rb @@ -1,4 +1,4 @@ -# Code generated by Speakeasy (https://speakeasyapi.com). DO NOT EDIT. +# Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. # typed: true # frozen_string_literal: true diff --git a/lib/open_api_sdk/models/shared/inviteexpired_code.rb b/lib/open_api_sdk/models/shared/inviteexpired_code.rb index 1b145ac..3c6dc93 100644 --- a/lib/open_api_sdk/models/shared/inviteexpired_code.rb +++ b/lib/open_api_sdk/models/shared/inviteexpired_code.rb @@ -1,4 +1,4 @@ -# Code generated by Speakeasy (https://speakeasyapi.com). DO NOT EDIT. +# Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. # typed: true # frozen_string_literal: true diff --git a/lib/open_api_sdk/models/shared/inviteexpired_error.rb b/lib/open_api_sdk/models/shared/inviteexpired_error.rb index 0d9f0cb..b1f24a7 100644 --- a/lib/open_api_sdk/models/shared/inviteexpired_error.rb +++ b/lib/open_api_sdk/models/shared/inviteexpired_error.rb @@ -1,4 +1,4 @@ -# Code generated by Speakeasy (https://speakeasyapi.com). DO NOT EDIT. +# Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. # typed: true # frozen_string_literal: true diff --git a/lib/open_api_sdk/models/shared/linkgeotargeting.rb b/lib/open_api_sdk/models/shared/linkgeotargeting.rb index e964815..1c981be 100644 --- a/lib/open_api_sdk/models/shared/linkgeotargeting.rb +++ b/lib/open_api_sdk/models/shared/linkgeotargeting.rb @@ -1,4 +1,4 @@ -# Code generated by Speakeasy (https://speakeasyapi.com). DO NOT EDIT. +# Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. # typed: true # frozen_string_literal: true diff --git a/lib/open_api_sdk/models/shared/linkschema.rb b/lib/open_api_sdk/models/shared/linkschema.rb index e80c101..fcd0cc8 100644 --- a/lib/open_api_sdk/models/shared/linkschema.rb +++ b/lib/open_api_sdk/models/shared/linkschema.rb @@ -1,4 +1,4 @@ -# Code generated by Speakeasy (https://speakeasyapi.com). DO NOT EDIT. +# Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. # typed: true # frozen_string_literal: true diff --git a/lib/open_api_sdk/models/shared/notfound.rb b/lib/open_api_sdk/models/shared/notfound.rb index f977297..7f5b340 100644 --- a/lib/open_api_sdk/models/shared/notfound.rb +++ b/lib/open_api_sdk/models/shared/notfound.rb @@ -1,4 +1,4 @@ -# Code generated by Speakeasy (https://speakeasyapi.com). DO NOT EDIT. +# Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. # typed: true # frozen_string_literal: true diff --git a/lib/open_api_sdk/models/shared/notfound_code.rb b/lib/open_api_sdk/models/shared/notfound_code.rb index b6029ee..a3f8605 100644 --- a/lib/open_api_sdk/models/shared/notfound_code.rb +++ b/lib/open_api_sdk/models/shared/notfound_code.rb @@ -1,4 +1,4 @@ -# Code generated by Speakeasy (https://speakeasyapi.com). DO NOT EDIT. +# Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. # typed: true # frozen_string_literal: true diff --git a/lib/open_api_sdk/models/shared/notfound_error.rb b/lib/open_api_sdk/models/shared/notfound_error.rb index f89a79b..d497fee 100644 --- a/lib/open_api_sdk/models/shared/notfound_error.rb +++ b/lib/open_api_sdk/models/shared/notfound_error.rb @@ -1,4 +1,4 @@ -# Code generated by Speakeasy (https://speakeasyapi.com). DO NOT EDIT. +# Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. # typed: true # frozen_string_literal: true diff --git a/lib/open_api_sdk/models/shared/plan.rb b/lib/open_api_sdk/models/shared/plan.rb index 5987278..a85712b 100644 --- a/lib/open_api_sdk/models/shared/plan.rb +++ b/lib/open_api_sdk/models/shared/plan.rb @@ -1,4 +1,4 @@ -# Code generated by Speakeasy (https://speakeasyapi.com). DO NOT EDIT. +# Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. # typed: true # frozen_string_literal: true diff --git a/lib/open_api_sdk/models/shared/ratelimitexceeded.rb b/lib/open_api_sdk/models/shared/ratelimitexceeded.rb index 06b2d66..c993305 100644 --- a/lib/open_api_sdk/models/shared/ratelimitexceeded.rb +++ b/lib/open_api_sdk/models/shared/ratelimitexceeded.rb @@ -1,4 +1,4 @@ -# Code generated by Speakeasy (https://speakeasyapi.com). DO NOT EDIT. +# Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. # typed: true # frozen_string_literal: true diff --git a/lib/open_api_sdk/models/shared/ratelimitexceeded_code.rb b/lib/open_api_sdk/models/shared/ratelimitexceeded_code.rb index f2b327f..0e423d9 100644 --- a/lib/open_api_sdk/models/shared/ratelimitexceeded_code.rb +++ b/lib/open_api_sdk/models/shared/ratelimitexceeded_code.rb @@ -1,4 +1,4 @@ -# Code generated by Speakeasy (https://speakeasyapi.com). DO NOT EDIT. +# Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. # typed: true # frozen_string_literal: true diff --git a/lib/open_api_sdk/models/shared/ratelimitexceeded_error.rb b/lib/open_api_sdk/models/shared/ratelimitexceeded_error.rb index 1edcbbb..afd5e16 100644 --- a/lib/open_api_sdk/models/shared/ratelimitexceeded_error.rb +++ b/lib/open_api_sdk/models/shared/ratelimitexceeded_error.rb @@ -1,4 +1,4 @@ -# Code generated by Speakeasy (https://speakeasyapi.com). DO NOT EDIT. +# Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. # typed: true # frozen_string_literal: true diff --git a/lib/open_api_sdk/models/shared/role.rb b/lib/open_api_sdk/models/shared/role.rb index 29118d2..37e3381 100644 --- a/lib/open_api_sdk/models/shared/role.rb +++ b/lib/open_api_sdk/models/shared/role.rb @@ -1,4 +1,4 @@ -# Code generated by Speakeasy (https://speakeasyapi.com). DO NOT EDIT. +# Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. # typed: true # frozen_string_literal: true diff --git a/lib/open_api_sdk/models/shared/security.rb b/lib/open_api_sdk/models/shared/security.rb index a2e6f7c..5dc7e0b 100644 --- a/lib/open_api_sdk/models/shared/security.rb +++ b/lib/open_api_sdk/models/shared/security.rb @@ -1,4 +1,4 @@ -# Code generated by Speakeasy (https://speakeasyapi.com). DO NOT EDIT. +# Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. # typed: true # frozen_string_literal: true diff --git a/lib/open_api_sdk/models/shared/tagschema.rb b/lib/open_api_sdk/models/shared/tagschema.rb index aeee0f6..0b8b4bf 100644 --- a/lib/open_api_sdk/models/shared/tagschema.rb +++ b/lib/open_api_sdk/models/shared/tagschema.rb @@ -1,4 +1,4 @@ -# Code generated by Speakeasy (https://speakeasyapi.com). DO NOT EDIT. +# Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. # typed: true # frozen_string_literal: true diff --git a/lib/open_api_sdk/models/shared/unauthorized.rb b/lib/open_api_sdk/models/shared/unauthorized.rb index fb95c01..a32da93 100644 --- a/lib/open_api_sdk/models/shared/unauthorized.rb +++ b/lib/open_api_sdk/models/shared/unauthorized.rb @@ -1,4 +1,4 @@ -# Code generated by Speakeasy (https://speakeasyapi.com). DO NOT EDIT. +# Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. # typed: true # frozen_string_literal: true diff --git a/lib/open_api_sdk/models/shared/unauthorized_code.rb b/lib/open_api_sdk/models/shared/unauthorized_code.rb index 4f264f2..e7089ac 100644 --- a/lib/open_api_sdk/models/shared/unauthorized_code.rb +++ b/lib/open_api_sdk/models/shared/unauthorized_code.rb @@ -1,4 +1,4 @@ -# Code generated by Speakeasy (https://speakeasyapi.com). DO NOT EDIT. +# Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. # typed: true # frozen_string_literal: true diff --git a/lib/open_api_sdk/models/shared/unauthorized_error.rb b/lib/open_api_sdk/models/shared/unauthorized_error.rb index 4b6460b..9154fab 100644 --- a/lib/open_api_sdk/models/shared/unauthorized_error.rb +++ b/lib/open_api_sdk/models/shared/unauthorized_error.rb @@ -1,4 +1,4 @@ -# Code generated by Speakeasy (https://speakeasyapi.com). DO NOT EDIT. +# Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. # typed: true # frozen_string_literal: true diff --git a/lib/open_api_sdk/models/shared/unprocessableentity.rb b/lib/open_api_sdk/models/shared/unprocessableentity.rb index e504b4e..7bcc66e 100644 --- a/lib/open_api_sdk/models/shared/unprocessableentity.rb +++ b/lib/open_api_sdk/models/shared/unprocessableentity.rb @@ -1,4 +1,4 @@ -# Code generated by Speakeasy (https://speakeasyapi.com). DO NOT EDIT. +# Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. # typed: true # frozen_string_literal: true diff --git a/lib/open_api_sdk/models/shared/unprocessableentity_code.rb b/lib/open_api_sdk/models/shared/unprocessableentity_code.rb index 6c708d7..10e73e0 100644 --- a/lib/open_api_sdk/models/shared/unprocessableentity_code.rb +++ b/lib/open_api_sdk/models/shared/unprocessableentity_code.rb @@ -1,4 +1,4 @@ -# Code generated by Speakeasy (https://speakeasyapi.com). DO NOT EDIT. +# Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. # typed: true # frozen_string_literal: true diff --git a/lib/open_api_sdk/models/shared/unprocessableentity_error.rb b/lib/open_api_sdk/models/shared/unprocessableentity_error.rb index eb0fb54..737ee20 100644 --- a/lib/open_api_sdk/models/shared/unprocessableentity_error.rb +++ b/lib/open_api_sdk/models/shared/unprocessableentity_error.rb @@ -1,4 +1,4 @@ -# Code generated by Speakeasy (https://speakeasyapi.com). DO NOT EDIT. +# Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. # typed: true # frozen_string_literal: true diff --git a/lib/open_api_sdk/models/shared/users.rb b/lib/open_api_sdk/models/shared/users.rb index c2da0e1..a21b0c6 100644 --- a/lib/open_api_sdk/models/shared/users.rb +++ b/lib/open_api_sdk/models/shared/users.rb @@ -1,4 +1,4 @@ -# Code generated by Speakeasy (https://speakeasyapi.com). DO NOT EDIT. +# Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. # typed: true # frozen_string_literal: true diff --git a/lib/open_api_sdk/models/shared/workspaceschema.rb b/lib/open_api_sdk/models/shared/workspaceschema.rb index f153002..3346f02 100644 --- a/lib/open_api_sdk/models/shared/workspaceschema.rb +++ b/lib/open_api_sdk/models/shared/workspaceschema.rb @@ -1,4 +1,4 @@ -# Code generated by Speakeasy (https://speakeasyapi.com). DO NOT EDIT. +# Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. # typed: true # frozen_string_literal: true diff --git a/lib/open_api_sdk/qr_codes.rb b/lib/open_api_sdk/qr_codes.rb index 934c4d4..6d14bbe 100644 --- a/lib/open_api_sdk/qr_codes.rb +++ b/lib/open_api_sdk/qr_codes.rb @@ -1,4 +1,4 @@ -# Code generated by Speakeasy (https://speakeasyapi.com). DO NOT EDIT. +# Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. # typed: true # frozen_string_literal: true diff --git a/lib/open_api_sdk/sdkconfiguration.rb b/lib/open_api_sdk/sdkconfiguration.rb index c06af8b..9507ec9 100644 --- a/lib/open_api_sdk/sdkconfiguration.rb +++ b/lib/open_api_sdk/sdkconfiguration.rb @@ -1,4 +1,4 @@ -# Code generated by Speakeasy (https://speakeasyapi.com). DO NOT EDIT. +# Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. # typed: true # frozen_string_literal: true @@ -38,9 +38,9 @@ def initialize(client, security, server_url, server_idx) @security = security @language = 'ruby' @openapi_doc_version = '0.0.1' - @sdk_version = '0.2.2-alpha.4' - @gen_version = '2.379.3' - @user_agent = 'speakeasy-sdk/ruby 0.2.2-alpha.4 2.379.3 0.0.1 dub' + @sdk_version = '0.2.2-alpha.5' + @gen_version = '2.380.1' + @user_agent = 'speakeasy-sdk/ruby 0.2.2-alpha.5 2.380.1 0.0.1 dub' end sig { returns([String, T::Hash[Symbol, String]]) } diff --git a/lib/open_api_sdk/tags.rb b/lib/open_api_sdk/tags.rb index 556de25..0461bb9 100644 --- a/lib/open_api_sdk/tags.rb +++ b/lib/open_api_sdk/tags.rb @@ -1,4 +1,4 @@ -# Code generated by Speakeasy (https://speakeasyapi.com). DO NOT EDIT. +# Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. # typed: true # frozen_string_literal: true diff --git a/lib/open_api_sdk/track.rb b/lib/open_api_sdk/track.rb index 4a0b7c8..fa4bc64 100644 --- a/lib/open_api_sdk/track.rb +++ b/lib/open_api_sdk/track.rb @@ -1,4 +1,4 @@ -# Code generated by Speakeasy (https://speakeasyapi.com). DO NOT EDIT. +# Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. # typed: true # frozen_string_literal: true diff --git a/lib/open_api_sdk/utils/metadata_fields.rb b/lib/open_api_sdk/utils/metadata_fields.rb index 3ef653b..4eca945 100644 --- a/lib/open_api_sdk/utils/metadata_fields.rb +++ b/lib/open_api_sdk/utils/metadata_fields.rb @@ -1,4 +1,4 @@ -# Code generated by Speakeasy (https://speakeasyapi.com). DO NOT EDIT. +# Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. # typed: true # frozen_string_literal: true diff --git a/lib/open_api_sdk/utils/t.rb b/lib/open_api_sdk/utils/t.rb index b46d20d..f1341c9 100644 --- a/lib/open_api_sdk/utils/t.rb +++ b/lib/open_api_sdk/utils/t.rb @@ -1,4 +1,4 @@ -# Code generated by Speakeasy (https://speakeasyapi.com). DO NOT EDIT. +# Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. # typed: true # frozen_string_literal: true diff --git a/lib/open_api_sdk/utils/utils.rb b/lib/open_api_sdk/utils/utils.rb index 27adfcb..2947b3f 100644 --- a/lib/open_api_sdk/utils/utils.rb +++ b/lib/open_api_sdk/utils/utils.rb @@ -1,4 +1,4 @@ -# Code generated by Speakeasy (https://speakeasyapi.com). DO NOT EDIT. +# Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. # typed: true # frozen_string_literal: true diff --git a/lib/open_api_sdk/workspaces.rb b/lib/open_api_sdk/workspaces.rb index 87d2dbd..6718d3a 100644 --- a/lib/open_api_sdk/workspaces.rb +++ b/lib/open_api_sdk/workspaces.rb @@ -1,4 +1,4 @@ -# Code generated by Speakeasy (https://speakeasyapi.com). DO NOT EDIT. +# Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. # typed: true # frozen_string_literal: true diff --git a/sorbet/tapioca/require.rb b/sorbet/tapioca/require.rb index 757a3e5..50000a5 100644 --- a/sorbet/tapioca/require.rb +++ b/sorbet/tapioca/require.rb @@ -1,4 +1,4 @@ -# Code generated by Speakeasy (https://speakeasyapi.com). DO NOT EDIT. +# Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. # typed: true # frozen_string_literal: true