ci: regenerated with OpenAPI Doc , Speakeasy CLI 1.293.0

This commit is contained in:
speakeasybot
2024-05-17 10:04:19 +00:00
parent 6a71a32729
commit 7ae352cb44
100 changed files with 3090 additions and 19617 deletions

View File

@@ -1,12 +1,12 @@
lockVersion: 2.0.0
id: f28179cc-ef59-426d-9e85-60cec22fc642
management:
docChecksum: 61ca2a4d60218732e7611140e6caf8d9
docChecksum: 2174cc715c8b8406f1015e71de6e9a07
docVersion: 0.0.1
speakeasyVersion: 1.292.0
speakeasyVersion: 1.293.0
generationVersion: 2.332.4
releaseVersion: 0.29.2
configChecksum: d735362927204881510a6a6042f5e824
releaseVersion: 0.29.3
configChecksum: c6c98a549bafe2e1fdcb6812e7870dbb
repoURL: https://github.com/dubinc/dub-node.git
installationURL: https://github.com/dubinc/dub-node
published: true
@@ -64,6 +64,10 @@ generatedFiles:
- tsconfig.json
- src/models/components/linkschema.ts
- src/models/components/tagschema.ts
- src/models/components/linkgeotargeting.ts
- src/models/components/countrycode.ts
- src/models/components/clicksbycountry.ts
- src/models/components/clicksbycities.ts
- src/models/components/workspaceschema.ts
- src/models/components/domainschema.ts
- src/models/components/security.ts
@@ -123,6 +127,12 @@ generatedFiles:
- docs/models/components/linkschema.md
- docs/models/components/color.md
- docs/models/components/tagschema.md
- docs/models/components/linkgeotargeting.md
- docs/models/components/countrycode.md
- docs/models/components/country.md
- docs/models/components/clicksbycountry.md
- docs/models/components/clicksbycitiescountry.md
- docs/models/components/clicksbycities.md
- docs/models/components/plan.md
- docs/models/components/role.md
- docs/models/components/users.md
@@ -164,7 +174,6 @@ generatedFiles:
- docs/models/operations/getlinksrequest.md
- docs/models/operations/tagids.md
- docs/models/operations/tagnames.md
- docs/models/operations/geo.md
- docs/models/operations/createlinkrequestbody.md
- docs/models/operations/getlinkscountqueryparamtagids.md
- docs/models/operations/getlinkscountqueryparamtagnames.md
@@ -177,100 +186,69 @@ generatedFiles:
- docs/models/operations/deletelinkresponsebody.md
- docs/models/operations/updatelinktagids.md
- docs/models/operations/updatelinktagnames.md
- docs/models/operations/updatelinkgeo.md
- docs/models/operations/updatelinkrequestbody.md
- docs/models/operations/updatelinkrequest.md
- docs/models/operations/bulkcreatelinkstagids.md
- docs/models/operations/bulkcreatelinkstagnames.md
- docs/models/operations/bulkcreatelinksgeo.md
- docs/models/operations/requestbody.md
- docs/models/operations/upsertlinktagids.md
- docs/models/operations/upsertlinktagnames.md
- docs/models/operations/upsertlinkgeo.md
- docs/models/operations/upsertlinkrequestbody.md
- docs/models/operations/level.md
- docs/models/operations/getqrcoderequest.md
- docs/models/operations/gettimeseriesbyclicksdeprecatedqueryparaminterval.md
- docs/models/operations/gettimeseriesbyclicksdeprecatedqueryparamcountry.md
- docs/models/operations/gettimeseriesbyclicksdeprecatedrequest.md
- docs/models/operations/gettimeseriesbyclicksdeprecatedresponsebody.md
- docs/models/operations/getcountriesbyclicksdeprecatedqueryparaminterval.md
- docs/models/operations/getcountriesbyclicksdeprecatedqueryparamcountry.md
- docs/models/operations/getcountriesbyclicksdeprecatedrequest.md
- docs/models/operations/getcountriesbyclicksdeprecatedcountry.md
- docs/models/operations/getcountriesbyclicksdeprecatedresponsebody.md
- docs/models/operations/getcitiesbyclicksdeprecatedqueryparaminterval.md
- docs/models/operations/getcitiesbyclicksdeprecatedqueryparamcountry.md
- docs/models/operations/getcitiesbyclicksdeprecatedrequest.md
- docs/models/operations/getcitiesbyclicksdeprecatedcountry.md
- docs/models/operations/getcitiesbyclicksdeprecatedresponsebody.md
- docs/models/operations/getdevicesbyclicksdeprecatedqueryparaminterval.md
- docs/models/operations/getdevicesbyclicksdeprecatedqueryparamcountry.md
- docs/models/operations/getdevicesbyclicksdeprecatedrequest.md
- docs/models/operations/getdevicesbyclicksdeprecatedresponsebody.md
- docs/models/operations/getbrowsersbyclicksdeprecatedqueryparaminterval.md
- docs/models/operations/getbrowsersbyclicksdeprecatedqueryparamcountry.md
- docs/models/operations/getbrowsersbyclicksdeprecatedrequest.md
- docs/models/operations/getbrowsersbyclicksdeprecatedresponsebody.md
- docs/models/operations/getosbyclicksdeprecatedqueryparaminterval.md
- docs/models/operations/getosbyclicksdeprecatedqueryparamcountry.md
- docs/models/operations/getosbyclicksdeprecatedrequest.md
- docs/models/operations/getosbyclicksdeprecatedresponsebody.md
- docs/models/operations/getreferersbyclicksdeprecatedqueryparaminterval.md
- docs/models/operations/getreferersbyclicksdeprecatedqueryparamcountry.md
- docs/models/operations/getreferersbyclicksdeprecatedrequest.md
- docs/models/operations/getreferersbyclicksdeprecatedresponsebody.md
- docs/models/operations/gettoplinksbyclicksdeprecatedqueryparaminterval.md
- docs/models/operations/gettoplinksbyclicksdeprecatedqueryparamcountry.md
- docs/models/operations/gettoplinksbyclicksdeprecatedrequest.md
- docs/models/operations/gettoplinksbyclicksdeprecatedresponsebody.md
- docs/models/operations/gettopurlsbyclicksdeprecatedqueryparaminterval.md
- docs/models/operations/gettopurlsbyclicksdeprecatedqueryparamcountry.md
- docs/models/operations/gettopurlsbyclicksdeprecatedrequest.md
- docs/models/operations/gettopurlsbyclicksdeprecatedresponsebody.md
- docs/models/operations/interval.md
- docs/models/operations/country.md
- docs/models/operations/getclickscountrequest.md
- docs/models/operations/queryparaminterval.md
- docs/models/operations/queryparamcountry.md
- docs/models/operations/gettimeseriesbyclicksrequest.md
- docs/models/operations/responsebody.md
- docs/models/operations/getcountriesbyclicksqueryparaminterval.md
- docs/models/operations/getcountriesbyclicksqueryparamcountry.md
- docs/models/operations/getcountriesbyclicksrequest.md
- docs/models/operations/getcountriesbyclickscountry.md
- docs/models/operations/getcountriesbyclicksresponsebody.md
- docs/models/operations/getcitiesbyclicksqueryparaminterval.md
- docs/models/operations/getcitiesbyclicksqueryparamcountry.md
- docs/models/operations/getcitiesbyclicksrequest.md
- docs/models/operations/getcitiesbyclickscountry.md
- docs/models/operations/getcitiesbyclicksresponsebody.md
- docs/models/operations/getdevicesbyclicksqueryparaminterval.md
- docs/models/operations/getdevicesbyclicksqueryparamcountry.md
- docs/models/operations/getdevicesbyclicksrequest.md
- docs/models/operations/getdevicesbyclicksresponsebody.md
- docs/models/operations/getbrowsersbyclicksqueryparaminterval.md
- docs/models/operations/getbrowsersbyclicksqueryparamcountry.md
- docs/models/operations/getbrowsersbyclicksrequest.md
- docs/models/operations/getbrowsersbyclicksresponsebody.md
- docs/models/operations/getosbyclicksqueryparaminterval.md
- docs/models/operations/getosbyclicksqueryparamcountry.md
- docs/models/operations/getosbyclicksrequest.md
- docs/models/operations/getosbyclicksresponsebody.md
- docs/models/operations/getreferersbyclicksqueryparaminterval.md
- docs/models/operations/getreferersbyclicksqueryparamcountry.md
- docs/models/operations/getreferersbyclicksrequest.md
- docs/models/operations/getreferersbyclicksresponsebody.md
- docs/models/operations/gettoplinksbyclicksqueryparaminterval.md
- docs/models/operations/gettoplinksbyclicksqueryparamcountry.md
- docs/models/operations/gettoplinksbyclicksrequest.md
- docs/models/operations/gettoplinksbyclicksresponsebody.md
- docs/models/operations/gettopurlsbyclicksqueryparaminterval.md
- docs/models/operations/gettopurlsbyclicksqueryparamcountry.md
- docs/models/operations/gettopurlsbyclicksrequest.md
- docs/models/operations/gettopurlsbyclicksresponsebody.md
- docs/models/operations/getclickscountdeprecatedqueryparaminterval.md
- docs/models/operations/getclickscountdeprecatedqueryparamcountry.md
- docs/models/operations/getclickscountdeprecatedrequest.md
- docs/models/operations/createworkspacerequestbody.md
- docs/models/operations/getworkspacerequest.md

View File

@@ -12,7 +12,7 @@ generation:
auth:
oAuth2ClientCredentialsEnabled: false
typescript:
version: 0.29.2
version: 0.29.3
additionalDependencies:
dependencies: {}
devDependencies:

View File

@@ -1,9 +1,9 @@
speakeasyVersion: 1.292.0
speakeasyVersion: 1.293.0
sources:
my-first-source:
sourceNamespace: my-first-source
sourceRevisionDigest: sha256:5942adf6760284067d2ca0359825cf1ef0521c1664f460e4555f0a57ff26350f
sourceBlobDigest: sha256:2015f657a172457134c6c072b9a409640d62716b9b36d933e2b35fb44aa65492
sourceRevisionDigest: sha256:21b865f9f8292a530ea46e572f7f485210a97c209f29259b6887092d119b0071
sourceBlobDigest: sha256:ce4df5bf1dfcc93e9dbe3feb4a5532c02fbbb5f89c913e1c6f568cec105a822f
tags:
- latest
- main
@@ -11,8 +11,8 @@ targets:
my-first-target:
source: my-first-source
sourceNamespace: my-first-source
sourceRevisionDigest: sha256:5942adf6760284067d2ca0359825cf1ef0521c1664f460e4555f0a57ff26350f
sourceBlobDigest: sha256:2015f657a172457134c6c072b9a409640d62716b9b36d933e2b35fb44aa65492
sourceRevisionDigest: sha256:21b865f9f8292a530ea46e572f7f485210a97c209f29259b6887092d119b0071
sourceBlobDigest: sha256:ce4df5bf1dfcc93e9dbe3feb4a5532c02fbbb5f89c913e1c6f568cec105a822f
outLocation: /github/workspace/repo
workflow:
workflowVersion: 1.0.0

View File

@@ -277,3 +277,13 @@ Based on:
- [typescript v0.29.2] .
### Releases
- [NPM v0.29.2] https://www.npmjs.com/package/dub/v/0.29.2 - .
## 2024-05-17 10:02:20
### Changes
Based on:
- OpenAPI Doc
- Speakeasy CLI 1.293.0 (2.332.4) https://github.com/speakeasy-api/speakeasy
### Generated
- [typescript v0.29.3] .
### Releases
- [NPM v0.29.3] https://www.npmjs.com/package/dub/v/0.29.3 - .

File diff suppressed because it is too large Load Diff

View File

@@ -0,0 +1,10 @@
# ClicksByCities
## Fields
| Field | Type | Required | Description |
| ------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------ |
| `city` | *string* | :heavy_check_mark: | The name of the city |
| `country` | [components.ClicksByCitiesCountry](../../models/components/clicksbycitiescountry.md) | :heavy_check_mark: | The 2-letter country code of the city: https://d.to/geo |
| `clicks` | *number* | :heavy_check_mark: | The number of clicks from this city |

View File

@@ -1,4 +1,4 @@
# GetCitiesByClicksCountry
# ClicksByCitiesCountry
The 2-letter country code of the city: https://d.to/geo

View File

@@ -0,0 +1,9 @@
# ClicksByCountry
## Fields
| Field | Type | Required | Description |
| -------------------------------------------------------- | -------------------------------------------------------- | -------------------------------------------------------- | -------------------------------------------------------- |
| `country` | [components.Country](../../models/components/country.md) | :heavy_check_mark: | The 2-letter country code: https://d.to/geo |
| `clicks` | *number* | :heavy_check_mark: | The number of clicks from this country |

View File

@@ -1,6 +1,6 @@
# Country
The country to retrieve analytics for.
The 2-letter country code: https://d.to/geo
## Values

View File

@@ -1,4 +1,4 @@
# QueryParamCountry
# CountryCode
The country to retrieve analytics for.

View File

@@ -1,4 +1,4 @@
# Geo
# LinkGeoTargeting
Geo targeting information for the short link in JSON format `{[COUNTRY]: https://example.com }`.

View File

@@ -1,259 +0,0 @@
# BulkCreateLinksGeo
Geo targeting information for the short link in JSON format `{[COUNTRY]: https://example.com }`.
## Fields
| Field | Type | Required | Description |
| ------------------ | ------------------ | ------------------ | ------------------ |
| `af` | *string* | :heavy_minus_sign: | N/A |
| `al` | *string* | :heavy_minus_sign: | N/A |
| `dz` | *string* | :heavy_minus_sign: | N/A |
| `as` | *string* | :heavy_minus_sign: | N/A |
| `ad` | *string* | :heavy_minus_sign: | N/A |
| `ao` | *string* | :heavy_minus_sign: | N/A |
| `ai` | *string* | :heavy_minus_sign: | N/A |
| `aq` | *string* | :heavy_minus_sign: | N/A |
| `ag` | *string* | :heavy_minus_sign: | N/A |
| `ar` | *string* | :heavy_minus_sign: | N/A |
| `am` | *string* | :heavy_minus_sign: | N/A |
| `aw` | *string* | :heavy_minus_sign: | N/A |
| `au` | *string* | :heavy_minus_sign: | N/A |
| `at` | *string* | :heavy_minus_sign: | N/A |
| `az` | *string* | :heavy_minus_sign: | N/A |
| `bs` | *string* | :heavy_minus_sign: | N/A |
| `bh` | *string* | :heavy_minus_sign: | N/A |
| `bd` | *string* | :heavy_minus_sign: | N/A |
| `bb` | *string* | :heavy_minus_sign: | N/A |
| `by` | *string* | :heavy_minus_sign: | N/A |
| `be` | *string* | :heavy_minus_sign: | N/A |
| `bz` | *string* | :heavy_minus_sign: | N/A |
| `bj` | *string* | :heavy_minus_sign: | N/A |
| `bm` | *string* | :heavy_minus_sign: | N/A |
| `bt` | *string* | :heavy_minus_sign: | N/A |
| `bo` | *string* | :heavy_minus_sign: | N/A |
| `ba` | *string* | :heavy_minus_sign: | N/A |
| `bw` | *string* | :heavy_minus_sign: | N/A |
| `bv` | *string* | :heavy_minus_sign: | N/A |
| `br` | *string* | :heavy_minus_sign: | N/A |
| `io` | *string* | :heavy_minus_sign: | N/A |
| `bn` | *string* | :heavy_minus_sign: | N/A |
| `bg` | *string* | :heavy_minus_sign: | N/A |
| `bf` | *string* | :heavy_minus_sign: | N/A |
| `bi` | *string* | :heavy_minus_sign: | N/A |
| `kh` | *string* | :heavy_minus_sign: | N/A |
| `cm` | *string* | :heavy_minus_sign: | N/A |
| `ca` | *string* | :heavy_minus_sign: | N/A |
| `cv` | *string* | :heavy_minus_sign: | N/A |
| `ky` | *string* | :heavy_minus_sign: | N/A |
| `cf` | *string* | :heavy_minus_sign: | N/A |
| `td` | *string* | :heavy_minus_sign: | N/A |
| `cl` | *string* | :heavy_minus_sign: | N/A |
| `cn` | *string* | :heavy_minus_sign: | N/A |
| `cx` | *string* | :heavy_minus_sign: | N/A |
| `cc` | *string* | :heavy_minus_sign: | N/A |
| `co` | *string* | :heavy_minus_sign: | N/A |
| `km` | *string* | :heavy_minus_sign: | N/A |
| `cg` | *string* | :heavy_minus_sign: | N/A |
| `cd` | *string* | :heavy_minus_sign: | N/A |
| `ck` | *string* | :heavy_minus_sign: | N/A |
| `cr` | *string* | :heavy_minus_sign: | N/A |
| `ci` | *string* | :heavy_minus_sign: | N/A |
| `hr` | *string* | :heavy_minus_sign: | N/A |
| `cu` | *string* | :heavy_minus_sign: | N/A |
| `cy` | *string* | :heavy_minus_sign: | N/A |
| `cz` | *string* | :heavy_minus_sign: | N/A |
| `dk` | *string* | :heavy_minus_sign: | N/A |
| `dj` | *string* | :heavy_minus_sign: | N/A |
| `dm` | *string* | :heavy_minus_sign: | N/A |
| `do` | *string* | :heavy_minus_sign: | N/A |
| `ec` | *string* | :heavy_minus_sign: | N/A |
| `eg` | *string* | :heavy_minus_sign: | N/A |
| `sv` | *string* | :heavy_minus_sign: | N/A |
| `gq` | *string* | :heavy_minus_sign: | N/A |
| `er` | *string* | :heavy_minus_sign: | N/A |
| `ee` | *string* | :heavy_minus_sign: | N/A |
| `et` | *string* | :heavy_minus_sign: | N/A |
| `fk` | *string* | :heavy_minus_sign: | N/A |
| `fo` | *string* | :heavy_minus_sign: | N/A |
| `fj` | *string* | :heavy_minus_sign: | N/A |
| `fi` | *string* | :heavy_minus_sign: | N/A |
| `fr` | *string* | :heavy_minus_sign: | N/A |
| `gf` | *string* | :heavy_minus_sign: | N/A |
| `pf` | *string* | :heavy_minus_sign: | N/A |
| `tf` | *string* | :heavy_minus_sign: | N/A |
| `ga` | *string* | :heavy_minus_sign: | N/A |
| `gm` | *string* | :heavy_minus_sign: | N/A |
| `ge` | *string* | :heavy_minus_sign: | N/A |
| `de` | *string* | :heavy_minus_sign: | N/A |
| `gh` | *string* | :heavy_minus_sign: | N/A |
| `gi` | *string* | :heavy_minus_sign: | N/A |
| `gr` | *string* | :heavy_minus_sign: | N/A |
| `gl` | *string* | :heavy_minus_sign: | N/A |
| `gd` | *string* | :heavy_minus_sign: | N/A |
| `gp` | *string* | :heavy_minus_sign: | N/A |
| `gu` | *string* | :heavy_minus_sign: | N/A |
| `gt` | *string* | :heavy_minus_sign: | N/A |
| `gn` | *string* | :heavy_minus_sign: | N/A |
| `gw` | *string* | :heavy_minus_sign: | N/A |
| `gy` | *string* | :heavy_minus_sign: | N/A |
| `ht` | *string* | :heavy_minus_sign: | N/A |
| `hm` | *string* | :heavy_minus_sign: | N/A |
| `va` | *string* | :heavy_minus_sign: | N/A |
| `hn` | *string* | :heavy_minus_sign: | N/A |
| `hk` | *string* | :heavy_minus_sign: | N/A |
| `hu` | *string* | :heavy_minus_sign: | N/A |
| `is` | *string* | :heavy_minus_sign: | N/A |
| `in` | *string* | :heavy_minus_sign: | N/A |
| `id` | *string* | :heavy_minus_sign: | N/A |
| `ir` | *string* | :heavy_minus_sign: | N/A |
| `iq` | *string* | :heavy_minus_sign: | N/A |
| `ie` | *string* | :heavy_minus_sign: | N/A |
| `il` | *string* | :heavy_minus_sign: | N/A |
| `it` | *string* | :heavy_minus_sign: | N/A |
| `jm` | *string* | :heavy_minus_sign: | N/A |
| `jp` | *string* | :heavy_minus_sign: | N/A |
| `jo` | *string* | :heavy_minus_sign: | N/A |
| `kz` | *string* | :heavy_minus_sign: | N/A |
| `ke` | *string* | :heavy_minus_sign: | N/A |
| `ki` | *string* | :heavy_minus_sign: | N/A |
| `kp` | *string* | :heavy_minus_sign: | N/A |
| `kr` | *string* | :heavy_minus_sign: | N/A |
| `kw` | *string* | :heavy_minus_sign: | N/A |
| `kg` | *string* | :heavy_minus_sign: | N/A |
| `la` | *string* | :heavy_minus_sign: | N/A |
| `lv` | *string* | :heavy_minus_sign: | N/A |
| `lb` | *string* | :heavy_minus_sign: | N/A |
| `ls` | *string* | :heavy_minus_sign: | N/A |
| `lr` | *string* | :heavy_minus_sign: | N/A |
| `ly` | *string* | :heavy_minus_sign: | N/A |
| `li` | *string* | :heavy_minus_sign: | N/A |
| `lt` | *string* | :heavy_minus_sign: | N/A |
| `lu` | *string* | :heavy_minus_sign: | N/A |
| `mo` | *string* | :heavy_minus_sign: | N/A |
| `mg` | *string* | :heavy_minus_sign: | N/A |
| `mw` | *string* | :heavy_minus_sign: | N/A |
| `my` | *string* | :heavy_minus_sign: | N/A |
| `mv` | *string* | :heavy_minus_sign: | N/A |
| `ml` | *string* | :heavy_minus_sign: | N/A |
| `mt` | *string* | :heavy_minus_sign: | N/A |
| `mh` | *string* | :heavy_minus_sign: | N/A |
| `mq` | *string* | :heavy_minus_sign: | N/A |
| `mr` | *string* | :heavy_minus_sign: | N/A |
| `mu` | *string* | :heavy_minus_sign: | N/A |
| `yt` | *string* | :heavy_minus_sign: | N/A |
| `mx` | *string* | :heavy_minus_sign: | N/A |
| `fm` | *string* | :heavy_minus_sign: | N/A |
| `md` | *string* | :heavy_minus_sign: | N/A |
| `mc` | *string* | :heavy_minus_sign: | N/A |
| `mn` | *string* | :heavy_minus_sign: | N/A |
| `ms` | *string* | :heavy_minus_sign: | N/A |
| `ma` | *string* | :heavy_minus_sign: | N/A |
| `mz` | *string* | :heavy_minus_sign: | N/A |
| `mm` | *string* | :heavy_minus_sign: | N/A |
| `na` | *string* | :heavy_minus_sign: | N/A |
| `nr` | *string* | :heavy_minus_sign: | N/A |
| `np` | *string* | :heavy_minus_sign: | N/A |
| `nl` | *string* | :heavy_minus_sign: | N/A |
| `nc` | *string* | :heavy_minus_sign: | N/A |
| `nz` | *string* | :heavy_minus_sign: | N/A |
| `ni` | *string* | :heavy_minus_sign: | N/A |
| `ne` | *string* | :heavy_minus_sign: | N/A |
| `ng` | *string* | :heavy_minus_sign: | N/A |
| `nu` | *string* | :heavy_minus_sign: | N/A |
| `nf` | *string* | :heavy_minus_sign: | N/A |
| `mk` | *string* | :heavy_minus_sign: | N/A |
| `mp` | *string* | :heavy_minus_sign: | N/A |
| `no` | *string* | :heavy_minus_sign: | N/A |
| `om` | *string* | :heavy_minus_sign: | N/A |
| `pk` | *string* | :heavy_minus_sign: | N/A |
| `pw` | *string* | :heavy_minus_sign: | N/A |
| `ps` | *string* | :heavy_minus_sign: | N/A |
| `pa` | *string* | :heavy_minus_sign: | N/A |
| `pg` | *string* | :heavy_minus_sign: | N/A |
| `py` | *string* | :heavy_minus_sign: | N/A |
| `pe` | *string* | :heavy_minus_sign: | N/A |
| `ph` | *string* | :heavy_minus_sign: | N/A |
| `pn` | *string* | :heavy_minus_sign: | N/A |
| `pl` | *string* | :heavy_minus_sign: | N/A |
| `pt` | *string* | :heavy_minus_sign: | N/A |
| `pr` | *string* | :heavy_minus_sign: | N/A |
| `qa` | *string* | :heavy_minus_sign: | N/A |
| `re` | *string* | :heavy_minus_sign: | N/A |
| `ro` | *string* | :heavy_minus_sign: | N/A |
| `ru` | *string* | :heavy_minus_sign: | N/A |
| `rw` | *string* | :heavy_minus_sign: | N/A |
| `sh` | *string* | :heavy_minus_sign: | N/A |
| `kn` | *string* | :heavy_minus_sign: | N/A |
| `lc` | *string* | :heavy_minus_sign: | N/A |
| `pm` | *string* | :heavy_minus_sign: | N/A |
| `vc` | *string* | :heavy_minus_sign: | N/A |
| `ws` | *string* | :heavy_minus_sign: | N/A |
| `sm` | *string* | :heavy_minus_sign: | N/A |
| `st` | *string* | :heavy_minus_sign: | N/A |
| `sa` | *string* | :heavy_minus_sign: | N/A |
| `sn` | *string* | :heavy_minus_sign: | N/A |
| `sc` | *string* | :heavy_minus_sign: | N/A |
| `sl` | *string* | :heavy_minus_sign: | N/A |
| `sg` | *string* | :heavy_minus_sign: | N/A |
| `sk` | *string* | :heavy_minus_sign: | N/A |
| `si` | *string* | :heavy_minus_sign: | N/A |
| `sb` | *string* | :heavy_minus_sign: | N/A |
| `so` | *string* | :heavy_minus_sign: | N/A |
| `za` | *string* | :heavy_minus_sign: | N/A |
| `gs` | *string* | :heavy_minus_sign: | N/A |
| `es` | *string* | :heavy_minus_sign: | N/A |
| `lk` | *string* | :heavy_minus_sign: | N/A |
| `sd` | *string* | :heavy_minus_sign: | N/A |
| `sr` | *string* | :heavy_minus_sign: | N/A |
| `sj` | *string* | :heavy_minus_sign: | N/A |
| `sz` | *string* | :heavy_minus_sign: | N/A |
| `se` | *string* | :heavy_minus_sign: | N/A |
| `ch` | *string* | :heavy_minus_sign: | N/A |
| `sy` | *string* | :heavy_minus_sign: | N/A |
| `tw` | *string* | :heavy_minus_sign: | N/A |
| `tj` | *string* | :heavy_minus_sign: | N/A |
| `tz` | *string* | :heavy_minus_sign: | N/A |
| `th` | *string* | :heavy_minus_sign: | N/A |
| `tl` | *string* | :heavy_minus_sign: | N/A |
| `tg` | *string* | :heavy_minus_sign: | N/A |
| `tk` | *string* | :heavy_minus_sign: | N/A |
| `to` | *string* | :heavy_minus_sign: | N/A |
| `tt` | *string* | :heavy_minus_sign: | N/A |
| `tn` | *string* | :heavy_minus_sign: | N/A |
| `tr` | *string* | :heavy_minus_sign: | N/A |
| `tm` | *string* | :heavy_minus_sign: | N/A |
| `tc` | *string* | :heavy_minus_sign: | N/A |
| `tv` | *string* | :heavy_minus_sign: | N/A |
| `ug` | *string* | :heavy_minus_sign: | N/A |
| `ua` | *string* | :heavy_minus_sign: | N/A |
| `ae` | *string* | :heavy_minus_sign: | N/A |
| `gb` | *string* | :heavy_minus_sign: | N/A |
| `us` | *string* | :heavy_minus_sign: | N/A |
| `um` | *string* | :heavy_minus_sign: | N/A |
| `uy` | *string* | :heavy_minus_sign: | N/A |
| `uz` | *string* | :heavy_minus_sign: | N/A |
| `vu` | *string* | :heavy_minus_sign: | N/A |
| `ve` | *string* | :heavy_minus_sign: | N/A |
| `vn` | *string* | :heavy_minus_sign: | N/A |
| `vg` | *string* | :heavy_minus_sign: | N/A |
| `vi` | *string* | :heavy_minus_sign: | N/A |
| `wf` | *string* | :heavy_minus_sign: | N/A |
| `eh` | *string* | :heavy_minus_sign: | N/A |
| `ye` | *string* | :heavy_minus_sign: | N/A |
| `zm` | *string* | :heavy_minus_sign: | N/A |
| `zw` | *string* | :heavy_minus_sign: | N/A |
| `ax` | *string* | :heavy_minus_sign: | N/A |
| `bq` | *string* | :heavy_minus_sign: | N/A |
| `cw` | *string* | :heavy_minus_sign: | N/A |
| `gg` | *string* | :heavy_minus_sign: | N/A |
| `im` | *string* | :heavy_minus_sign: | N/A |
| `je` | *string* | :heavy_minus_sign: | N/A |
| `me` | *string* | :heavy_minus_sign: | N/A |
| `bl` | *string* | :heavy_minus_sign: | N/A |
| `mf` | *string* | :heavy_minus_sign: | N/A |
| `rs` | *string* | :heavy_minus_sign: | N/A |
| `sx` | *string* | :heavy_minus_sign: | N/A |
| `ss` | *string* | :heavy_minus_sign: | N/A |
| `xk` | *string* | :heavy_minus_sign: | N/A |

View File

@@ -26,4 +26,4 @@
| `rewrite` | *boolean* | :heavy_minus_sign: | Whether the short link uses link cloaking. | |
| `ios` | *string* | :heavy_minus_sign: | The iOS destination URL for the short link for iOS device targeting. | |
| `android` | *string* | :heavy_minus_sign: | The Android destination URL for the short link for Android device targeting. | |
| `geo` | [operations.Geo](../../models/operations/geo.md) | :heavy_minus_sign: | Geo targeting information for the short link in JSON format `{[COUNTRY]: https://example.com }`. | |
| `geo` | [components.LinkGeoTargeting](../../models/components/linkgeotargeting.md) | :heavy_minus_sign: | Geo targeting information for the short link in JSON format `{[COUNTRY]: https://example.com }`. | |

View File

@@ -1,259 +0,0 @@
# GetBrowsersByClicksDeprecatedQueryParamCountry
The country to retrieve analytics for.
## Values
| Name | Value |
| ----- | ----- |
| `Af` | AF |
| `Al` | AL |
| `Dz` | DZ |
| `As` | AS |
| `Ad` | AD |
| `Ao` | AO |
| `Ai` | AI |
| `Aq` | AQ |
| `Ag` | AG |
| `Ar` | AR |
| `Am` | AM |
| `Aw` | AW |
| `Au` | AU |
| `At` | AT |
| `Az` | AZ |
| `Bs` | BS |
| `Bh` | BH |
| `Bd` | BD |
| `Bb` | BB |
| `By` | BY |
| `Be` | BE |
| `Bz` | BZ |
| `Bj` | BJ |
| `Bm` | BM |
| `Bt` | BT |
| `Bo` | BO |
| `Ba` | BA |
| `Bw` | BW |
| `Bv` | BV |
| `Br` | BR |
| `Io` | IO |
| `Bn` | BN |
| `Bg` | BG |
| `Bf` | BF |
| `Bi` | BI |
| `Kh` | KH |
| `Cm` | CM |
| `Ca` | CA |
| `Cv` | CV |
| `Ky` | KY |
| `Cf` | CF |
| `Td` | TD |
| `Cl` | CL |
| `Cn` | CN |
| `Cx` | CX |
| `Cc` | CC |
| `Co` | CO |
| `Km` | KM |
| `Cg` | CG |
| `Cd` | CD |
| `Ck` | CK |
| `Cr` | CR |
| `Ci` | CI |
| `Hr` | HR |
| `Cu` | CU |
| `Cy` | CY |
| `Cz` | CZ |
| `Dk` | DK |
| `Dj` | DJ |
| `Dm` | DM |
| `Do` | DO |
| `Ec` | EC |
| `Eg` | EG |
| `Sv` | SV |
| `Gq` | GQ |
| `Er` | ER |
| `Ee` | EE |
| `Et` | ET |
| `Fk` | FK |
| `Fo` | FO |
| `Fj` | FJ |
| `Fi` | FI |
| `Fr` | FR |
| `Gf` | GF |
| `Pf` | PF |
| `Tf` | TF |
| `Ga` | GA |
| `Gm` | GM |
| `Ge` | GE |
| `De` | DE |
| `Gh` | GH |
| `Gi` | GI |
| `Gr` | GR |
| `Gl` | GL |
| `Gd` | GD |
| `Gp` | GP |
| `Gu` | GU |
| `Gt` | GT |
| `Gn` | GN |
| `Gw` | GW |
| `Gy` | GY |
| `Ht` | HT |
| `Hm` | HM |
| `Va` | VA |
| `Hn` | HN |
| `Hk` | HK |
| `Hu` | HU |
| `Is` | IS |
| `In` | IN |
| `Id` | ID |
| `Ir` | IR |
| `Iq` | IQ |
| `Ie` | IE |
| `Il` | IL |
| `It` | IT |
| `Jm` | JM |
| `Jp` | JP |
| `Jo` | JO |
| `Kz` | KZ |
| `Ke` | KE |
| `Ki` | KI |
| `Kp` | KP |
| `Kr` | KR |
| `Kw` | KW |
| `Kg` | KG |
| `La` | LA |
| `Lv` | LV |
| `Lb` | LB |
| `Ls` | LS |
| `Lr` | LR |
| `Ly` | LY |
| `Li` | LI |
| `Lt` | LT |
| `Lu` | LU |
| `Mo` | MO |
| `Mg` | MG |
| `Mw` | MW |
| `My` | MY |
| `Mv` | MV |
| `Ml` | ML |
| `Mt` | MT |
| `Mh` | MH |
| `Mq` | MQ |
| `Mr` | MR |
| `Mu` | MU |
| `Yt` | YT |
| `Mx` | MX |
| `Fm` | FM |
| `Md` | MD |
| `Mc` | MC |
| `Mn` | MN |
| `Ms` | MS |
| `Ma` | MA |
| `Mz` | MZ |
| `Mm` | MM |
| `Na` | NA |
| `Nr` | NR |
| `Np` | NP |
| `Nl` | NL |
| `Nc` | NC |
| `Nz` | NZ |
| `Ni` | NI |
| `Ne` | NE |
| `Ng` | NG |
| `Nu` | NU |
| `Nf` | NF |
| `Mk` | MK |
| `Mp` | MP |
| `No` | NO |
| `Om` | OM |
| `Pk` | PK |
| `Pw` | PW |
| `Ps` | PS |
| `Pa` | PA |
| `Pg` | PG |
| `Py` | PY |
| `Pe` | PE |
| `Ph` | PH |
| `Pn` | PN |
| `Pl` | PL |
| `Pt` | PT |
| `Pr` | PR |
| `Qa` | QA |
| `Re` | RE |
| `Ro` | RO |
| `Ru` | RU |
| `Rw` | RW |
| `Sh` | SH |
| `Kn` | KN |
| `Lc` | LC |
| `Pm` | PM |
| `Vc` | VC |
| `Ws` | WS |
| `Sm` | SM |
| `St` | ST |
| `Sa` | SA |
| `Sn` | SN |
| `Sc` | SC |
| `Sl` | SL |
| `Sg` | SG |
| `Sk` | SK |
| `Si` | SI |
| `Sb` | SB |
| `So` | SO |
| `Za` | ZA |
| `Gs` | GS |
| `Es` | ES |
| `Lk` | LK |
| `Sd` | SD |
| `Sr` | SR |
| `Sj` | SJ |
| `Sz` | SZ |
| `Se` | SE |
| `Ch` | CH |
| `Sy` | SY |
| `Tw` | TW |
| `Tj` | TJ |
| `Tz` | TZ |
| `Th` | TH |
| `Tl` | TL |
| `Tg` | TG |
| `Tk` | TK |
| `To` | TO |
| `Tt` | TT |
| `Tn` | TN |
| `Tr` | TR |
| `Tm` | TM |
| `Tc` | TC |
| `Tv` | TV |
| `Ug` | UG |
| `Ua` | UA |
| `Ae` | AE |
| `Gb` | GB |
| `Us` | US |
| `Um` | UM |
| `Uy` | UY |
| `Uz` | UZ |
| `Vu` | VU |
| `Ve` | VE |
| `Vn` | VN |
| `Vg` | VG |
| `Vi` | VI |
| `Wf` | WF |
| `Eh` | EH |
| `Ye` | YE |
| `Zm` | ZM |
| `Zw` | ZW |
| `Ax` | AX |
| `Bq` | BQ |
| `Cw` | CW |
| `Gg` | GG |
| `Im` | IM |
| `Je` | JE |
| `Me` | ME |
| `Bl` | BL |
| `Mf` | MF |
| `Rs` | RS |
| `Sx` | SX |
| `Ss` | SS |
| `Xk` | XK |

View File

@@ -12,7 +12,7 @@
| `interval` | [operations.GetBrowsersByClicksDeprecatedQueryParamInterval](../../models/operations/getbrowsersbyclicksdeprecatedqueryparaminterval.md) | :heavy_minus_sign: | The interval to retrieve analytics for. Takes precedence over start and end. If undefined, defaults to 24h. |
| `start` | *string* | :heavy_minus_sign: | The start date and time when to retrieve analytics from. |
| `end` | *string* | :heavy_minus_sign: | The end date and time when to retrieve analytics from. If not provided, defaults to the current date. |
| `country` | [operations.GetBrowsersByClicksDeprecatedQueryParamCountry](../../models/operations/getbrowsersbyclicksdeprecatedqueryparamcountry.md) | :heavy_minus_sign: | The country to retrieve analytics for. |
| `country` | [components.CountryCode](../../models/components/countrycode.md) | :heavy_minus_sign: | The country to retrieve analytics for. |
| `city` | *string* | :heavy_minus_sign: | The city to retrieve analytics for. |
| `device` | *string* | :heavy_minus_sign: | The device to retrieve analytics for. |
| `browser` | *string* | :heavy_minus_sign: | The browser to retrieve analytics for. |

View File

@@ -1,259 +0,0 @@
# GetBrowsersByClicksQueryParamCountry
The country to retrieve analytics for.
## Values
| Name | Value |
| ----- | ----- |
| `Af` | AF |
| `Al` | AL |
| `Dz` | DZ |
| `As` | AS |
| `Ad` | AD |
| `Ao` | AO |
| `Ai` | AI |
| `Aq` | AQ |
| `Ag` | AG |
| `Ar` | AR |
| `Am` | AM |
| `Aw` | AW |
| `Au` | AU |
| `At` | AT |
| `Az` | AZ |
| `Bs` | BS |
| `Bh` | BH |
| `Bd` | BD |
| `Bb` | BB |
| `By` | BY |
| `Be` | BE |
| `Bz` | BZ |
| `Bj` | BJ |
| `Bm` | BM |
| `Bt` | BT |
| `Bo` | BO |
| `Ba` | BA |
| `Bw` | BW |
| `Bv` | BV |
| `Br` | BR |
| `Io` | IO |
| `Bn` | BN |
| `Bg` | BG |
| `Bf` | BF |
| `Bi` | BI |
| `Kh` | KH |
| `Cm` | CM |
| `Ca` | CA |
| `Cv` | CV |
| `Ky` | KY |
| `Cf` | CF |
| `Td` | TD |
| `Cl` | CL |
| `Cn` | CN |
| `Cx` | CX |
| `Cc` | CC |
| `Co` | CO |
| `Km` | KM |
| `Cg` | CG |
| `Cd` | CD |
| `Ck` | CK |
| `Cr` | CR |
| `Ci` | CI |
| `Hr` | HR |
| `Cu` | CU |
| `Cy` | CY |
| `Cz` | CZ |
| `Dk` | DK |
| `Dj` | DJ |
| `Dm` | DM |
| `Do` | DO |
| `Ec` | EC |
| `Eg` | EG |
| `Sv` | SV |
| `Gq` | GQ |
| `Er` | ER |
| `Ee` | EE |
| `Et` | ET |
| `Fk` | FK |
| `Fo` | FO |
| `Fj` | FJ |
| `Fi` | FI |
| `Fr` | FR |
| `Gf` | GF |
| `Pf` | PF |
| `Tf` | TF |
| `Ga` | GA |
| `Gm` | GM |
| `Ge` | GE |
| `De` | DE |
| `Gh` | GH |
| `Gi` | GI |
| `Gr` | GR |
| `Gl` | GL |
| `Gd` | GD |
| `Gp` | GP |
| `Gu` | GU |
| `Gt` | GT |
| `Gn` | GN |
| `Gw` | GW |
| `Gy` | GY |
| `Ht` | HT |
| `Hm` | HM |
| `Va` | VA |
| `Hn` | HN |
| `Hk` | HK |
| `Hu` | HU |
| `Is` | IS |
| `In` | IN |
| `Id` | ID |
| `Ir` | IR |
| `Iq` | IQ |
| `Ie` | IE |
| `Il` | IL |
| `It` | IT |
| `Jm` | JM |
| `Jp` | JP |
| `Jo` | JO |
| `Kz` | KZ |
| `Ke` | KE |
| `Ki` | KI |
| `Kp` | KP |
| `Kr` | KR |
| `Kw` | KW |
| `Kg` | KG |
| `La` | LA |
| `Lv` | LV |
| `Lb` | LB |
| `Ls` | LS |
| `Lr` | LR |
| `Ly` | LY |
| `Li` | LI |
| `Lt` | LT |
| `Lu` | LU |
| `Mo` | MO |
| `Mg` | MG |
| `Mw` | MW |
| `My` | MY |
| `Mv` | MV |
| `Ml` | ML |
| `Mt` | MT |
| `Mh` | MH |
| `Mq` | MQ |
| `Mr` | MR |
| `Mu` | MU |
| `Yt` | YT |
| `Mx` | MX |
| `Fm` | FM |
| `Md` | MD |
| `Mc` | MC |
| `Mn` | MN |
| `Ms` | MS |
| `Ma` | MA |
| `Mz` | MZ |
| `Mm` | MM |
| `Na` | NA |
| `Nr` | NR |
| `Np` | NP |
| `Nl` | NL |
| `Nc` | NC |
| `Nz` | NZ |
| `Ni` | NI |
| `Ne` | NE |
| `Ng` | NG |
| `Nu` | NU |
| `Nf` | NF |
| `Mk` | MK |
| `Mp` | MP |
| `No` | NO |
| `Om` | OM |
| `Pk` | PK |
| `Pw` | PW |
| `Ps` | PS |
| `Pa` | PA |
| `Pg` | PG |
| `Py` | PY |
| `Pe` | PE |
| `Ph` | PH |
| `Pn` | PN |
| `Pl` | PL |
| `Pt` | PT |
| `Pr` | PR |
| `Qa` | QA |
| `Re` | RE |
| `Ro` | RO |
| `Ru` | RU |
| `Rw` | RW |
| `Sh` | SH |
| `Kn` | KN |
| `Lc` | LC |
| `Pm` | PM |
| `Vc` | VC |
| `Ws` | WS |
| `Sm` | SM |
| `St` | ST |
| `Sa` | SA |
| `Sn` | SN |
| `Sc` | SC |
| `Sl` | SL |
| `Sg` | SG |
| `Sk` | SK |
| `Si` | SI |
| `Sb` | SB |
| `So` | SO |
| `Za` | ZA |
| `Gs` | GS |
| `Es` | ES |
| `Lk` | LK |
| `Sd` | SD |
| `Sr` | SR |
| `Sj` | SJ |
| `Sz` | SZ |
| `Se` | SE |
| `Ch` | CH |
| `Sy` | SY |
| `Tw` | TW |
| `Tj` | TJ |
| `Tz` | TZ |
| `Th` | TH |
| `Tl` | TL |
| `Tg` | TG |
| `Tk` | TK |
| `To` | TO |
| `Tt` | TT |
| `Tn` | TN |
| `Tr` | TR |
| `Tm` | TM |
| `Tc` | TC |
| `Tv` | TV |
| `Ug` | UG |
| `Ua` | UA |
| `Ae` | AE |
| `Gb` | GB |
| `Us` | US |
| `Um` | UM |
| `Uy` | UY |
| `Uz` | UZ |
| `Vu` | VU |
| `Ve` | VE |
| `Vn` | VN |
| `Vg` | VG |
| `Vi` | VI |
| `Wf` | WF |
| `Eh` | EH |
| `Ye` | YE |
| `Zm` | ZM |
| `Zw` | ZW |
| `Ax` | AX |
| `Bq` | BQ |
| `Cw` | CW |
| `Gg` | GG |
| `Im` | IM |
| `Je` | JE |
| `Me` | ME |
| `Bl` | BL |
| `Mf` | MF |
| `Rs` | RS |
| `Sx` | SX |
| `Ss` | SS |
| `Xk` | XK |

View File

@@ -12,7 +12,7 @@
| `interval` | [operations.GetBrowsersByClicksQueryParamInterval](../../models/operations/getbrowsersbyclicksqueryparaminterval.md) | :heavy_minus_sign: | The interval to retrieve analytics for. Takes precedence over start and end. If undefined, defaults to 24h. |
| `start` | *string* | :heavy_minus_sign: | The start date and time when to retrieve analytics from. |
| `end` | *string* | :heavy_minus_sign: | The end date and time when to retrieve analytics from. If not provided, defaults to the current date. |
| `country` | [operations.GetBrowsersByClicksQueryParamCountry](../../models/operations/getbrowsersbyclicksqueryparamcountry.md) | :heavy_minus_sign: | The country to retrieve analytics for. |
| `country` | [components.CountryCode](../../models/components/countrycode.md) | :heavy_minus_sign: | The country to retrieve analytics for. |
| `city` | *string* | :heavy_minus_sign: | The city to retrieve analytics for. |
| `device` | *string* | :heavy_minus_sign: | The device to retrieve analytics for. |
| `browser` | *string* | :heavy_minus_sign: | The browser to retrieve analytics for. |

View File

@@ -1,259 +0,0 @@
# GetCitiesByClicksDeprecatedCountry
The 2-letter country code of the city: https://d.to/geo
## Values
| Name | Value |
| ----- | ----- |
| `Af` | AF |
| `Al` | AL |
| `Dz` | DZ |
| `As` | AS |
| `Ad` | AD |
| `Ao` | AO |
| `Ai` | AI |
| `Aq` | AQ |
| `Ag` | AG |
| `Ar` | AR |
| `Am` | AM |
| `Aw` | AW |
| `Au` | AU |
| `At` | AT |
| `Az` | AZ |
| `Bs` | BS |
| `Bh` | BH |
| `Bd` | BD |
| `Bb` | BB |
| `By` | BY |
| `Be` | BE |
| `Bz` | BZ |
| `Bj` | BJ |
| `Bm` | BM |
| `Bt` | BT |
| `Bo` | BO |
| `Ba` | BA |
| `Bw` | BW |
| `Bv` | BV |
| `Br` | BR |
| `Io` | IO |
| `Bn` | BN |
| `Bg` | BG |
| `Bf` | BF |
| `Bi` | BI |
| `Kh` | KH |
| `Cm` | CM |
| `Ca` | CA |
| `Cv` | CV |
| `Ky` | KY |
| `Cf` | CF |
| `Td` | TD |
| `Cl` | CL |
| `Cn` | CN |
| `Cx` | CX |
| `Cc` | CC |
| `Co` | CO |
| `Km` | KM |
| `Cg` | CG |
| `Cd` | CD |
| `Ck` | CK |
| `Cr` | CR |
| `Ci` | CI |
| `Hr` | HR |
| `Cu` | CU |
| `Cy` | CY |
| `Cz` | CZ |
| `Dk` | DK |
| `Dj` | DJ |
| `Dm` | DM |
| `Do` | DO |
| `Ec` | EC |
| `Eg` | EG |
| `Sv` | SV |
| `Gq` | GQ |
| `Er` | ER |
| `Ee` | EE |
| `Et` | ET |
| `Fk` | FK |
| `Fo` | FO |
| `Fj` | FJ |
| `Fi` | FI |
| `Fr` | FR |
| `Gf` | GF |
| `Pf` | PF |
| `Tf` | TF |
| `Ga` | GA |
| `Gm` | GM |
| `Ge` | GE |
| `De` | DE |
| `Gh` | GH |
| `Gi` | GI |
| `Gr` | GR |
| `Gl` | GL |
| `Gd` | GD |
| `Gp` | GP |
| `Gu` | GU |
| `Gt` | GT |
| `Gn` | GN |
| `Gw` | GW |
| `Gy` | GY |
| `Ht` | HT |
| `Hm` | HM |
| `Va` | VA |
| `Hn` | HN |
| `Hk` | HK |
| `Hu` | HU |
| `Is` | IS |
| `In` | IN |
| `Id` | ID |
| `Ir` | IR |
| `Iq` | IQ |
| `Ie` | IE |
| `Il` | IL |
| `It` | IT |
| `Jm` | JM |
| `Jp` | JP |
| `Jo` | JO |
| `Kz` | KZ |
| `Ke` | KE |
| `Ki` | KI |
| `Kp` | KP |
| `Kr` | KR |
| `Kw` | KW |
| `Kg` | KG |
| `La` | LA |
| `Lv` | LV |
| `Lb` | LB |
| `Ls` | LS |
| `Lr` | LR |
| `Ly` | LY |
| `Li` | LI |
| `Lt` | LT |
| `Lu` | LU |
| `Mo` | MO |
| `Mg` | MG |
| `Mw` | MW |
| `My` | MY |
| `Mv` | MV |
| `Ml` | ML |
| `Mt` | MT |
| `Mh` | MH |
| `Mq` | MQ |
| `Mr` | MR |
| `Mu` | MU |
| `Yt` | YT |
| `Mx` | MX |
| `Fm` | FM |
| `Md` | MD |
| `Mc` | MC |
| `Mn` | MN |
| `Ms` | MS |
| `Ma` | MA |
| `Mz` | MZ |
| `Mm` | MM |
| `Na` | NA |
| `Nr` | NR |
| `Np` | NP |
| `Nl` | NL |
| `Nc` | NC |
| `Nz` | NZ |
| `Ni` | NI |
| `Ne` | NE |
| `Ng` | NG |
| `Nu` | NU |
| `Nf` | NF |
| `Mk` | MK |
| `Mp` | MP |
| `No` | NO |
| `Om` | OM |
| `Pk` | PK |
| `Pw` | PW |
| `Ps` | PS |
| `Pa` | PA |
| `Pg` | PG |
| `Py` | PY |
| `Pe` | PE |
| `Ph` | PH |
| `Pn` | PN |
| `Pl` | PL |
| `Pt` | PT |
| `Pr` | PR |
| `Qa` | QA |
| `Re` | RE |
| `Ro` | RO |
| `Ru` | RU |
| `Rw` | RW |
| `Sh` | SH |
| `Kn` | KN |
| `Lc` | LC |
| `Pm` | PM |
| `Vc` | VC |
| `Ws` | WS |
| `Sm` | SM |
| `St` | ST |
| `Sa` | SA |
| `Sn` | SN |
| `Sc` | SC |
| `Sl` | SL |
| `Sg` | SG |
| `Sk` | SK |
| `Si` | SI |
| `Sb` | SB |
| `So` | SO |
| `Za` | ZA |
| `Gs` | GS |
| `Es` | ES |
| `Lk` | LK |
| `Sd` | SD |
| `Sr` | SR |
| `Sj` | SJ |
| `Sz` | SZ |
| `Se` | SE |
| `Ch` | CH |
| `Sy` | SY |
| `Tw` | TW |
| `Tj` | TJ |
| `Tz` | TZ |
| `Th` | TH |
| `Tl` | TL |
| `Tg` | TG |
| `Tk` | TK |
| `To` | TO |
| `Tt` | TT |
| `Tn` | TN |
| `Tr` | TR |
| `Tm` | TM |
| `Tc` | TC |
| `Tv` | TV |
| `Ug` | UG |
| `Ua` | UA |
| `Ae` | AE |
| `Gb` | GB |
| `Us` | US |
| `Um` | UM |
| `Uy` | UY |
| `Uz` | UZ |
| `Vu` | VU |
| `Ve` | VE |
| `Vn` | VN |
| `Vg` | VG |
| `Vi` | VI |
| `Wf` | WF |
| `Eh` | EH |
| `Ye` | YE |
| `Zm` | ZM |
| `Zw` | ZW |
| `Ax` | AX |
| `Bq` | BQ |
| `Cw` | CW |
| `Gg` | GG |
| `Im` | IM |
| `Je` | JE |
| `Me` | ME |
| `Bl` | BL |
| `Mf` | MF |
| `Rs` | RS |
| `Sx` | SX |
| `Ss` | SS |
| `Xk` | XK |

View File

@@ -1,259 +0,0 @@
# GetCitiesByClicksDeprecatedQueryParamCountry
The country to retrieve analytics for.
## Values
| Name | Value |
| ----- | ----- |
| `Af` | AF |
| `Al` | AL |
| `Dz` | DZ |
| `As` | AS |
| `Ad` | AD |
| `Ao` | AO |
| `Ai` | AI |
| `Aq` | AQ |
| `Ag` | AG |
| `Ar` | AR |
| `Am` | AM |
| `Aw` | AW |
| `Au` | AU |
| `At` | AT |
| `Az` | AZ |
| `Bs` | BS |
| `Bh` | BH |
| `Bd` | BD |
| `Bb` | BB |
| `By` | BY |
| `Be` | BE |
| `Bz` | BZ |
| `Bj` | BJ |
| `Bm` | BM |
| `Bt` | BT |
| `Bo` | BO |
| `Ba` | BA |
| `Bw` | BW |
| `Bv` | BV |
| `Br` | BR |
| `Io` | IO |
| `Bn` | BN |
| `Bg` | BG |
| `Bf` | BF |
| `Bi` | BI |
| `Kh` | KH |
| `Cm` | CM |
| `Ca` | CA |
| `Cv` | CV |
| `Ky` | KY |
| `Cf` | CF |
| `Td` | TD |
| `Cl` | CL |
| `Cn` | CN |
| `Cx` | CX |
| `Cc` | CC |
| `Co` | CO |
| `Km` | KM |
| `Cg` | CG |
| `Cd` | CD |
| `Ck` | CK |
| `Cr` | CR |
| `Ci` | CI |
| `Hr` | HR |
| `Cu` | CU |
| `Cy` | CY |
| `Cz` | CZ |
| `Dk` | DK |
| `Dj` | DJ |
| `Dm` | DM |
| `Do` | DO |
| `Ec` | EC |
| `Eg` | EG |
| `Sv` | SV |
| `Gq` | GQ |
| `Er` | ER |
| `Ee` | EE |
| `Et` | ET |
| `Fk` | FK |
| `Fo` | FO |
| `Fj` | FJ |
| `Fi` | FI |
| `Fr` | FR |
| `Gf` | GF |
| `Pf` | PF |
| `Tf` | TF |
| `Ga` | GA |
| `Gm` | GM |
| `Ge` | GE |
| `De` | DE |
| `Gh` | GH |
| `Gi` | GI |
| `Gr` | GR |
| `Gl` | GL |
| `Gd` | GD |
| `Gp` | GP |
| `Gu` | GU |
| `Gt` | GT |
| `Gn` | GN |
| `Gw` | GW |
| `Gy` | GY |
| `Ht` | HT |
| `Hm` | HM |
| `Va` | VA |
| `Hn` | HN |
| `Hk` | HK |
| `Hu` | HU |
| `Is` | IS |
| `In` | IN |
| `Id` | ID |
| `Ir` | IR |
| `Iq` | IQ |
| `Ie` | IE |
| `Il` | IL |
| `It` | IT |
| `Jm` | JM |
| `Jp` | JP |
| `Jo` | JO |
| `Kz` | KZ |
| `Ke` | KE |
| `Ki` | KI |
| `Kp` | KP |
| `Kr` | KR |
| `Kw` | KW |
| `Kg` | KG |
| `La` | LA |
| `Lv` | LV |
| `Lb` | LB |
| `Ls` | LS |
| `Lr` | LR |
| `Ly` | LY |
| `Li` | LI |
| `Lt` | LT |
| `Lu` | LU |
| `Mo` | MO |
| `Mg` | MG |
| `Mw` | MW |
| `My` | MY |
| `Mv` | MV |
| `Ml` | ML |
| `Mt` | MT |
| `Mh` | MH |
| `Mq` | MQ |
| `Mr` | MR |
| `Mu` | MU |
| `Yt` | YT |
| `Mx` | MX |
| `Fm` | FM |
| `Md` | MD |
| `Mc` | MC |
| `Mn` | MN |
| `Ms` | MS |
| `Ma` | MA |
| `Mz` | MZ |
| `Mm` | MM |
| `Na` | NA |
| `Nr` | NR |
| `Np` | NP |
| `Nl` | NL |
| `Nc` | NC |
| `Nz` | NZ |
| `Ni` | NI |
| `Ne` | NE |
| `Ng` | NG |
| `Nu` | NU |
| `Nf` | NF |
| `Mk` | MK |
| `Mp` | MP |
| `No` | NO |
| `Om` | OM |
| `Pk` | PK |
| `Pw` | PW |
| `Ps` | PS |
| `Pa` | PA |
| `Pg` | PG |
| `Py` | PY |
| `Pe` | PE |
| `Ph` | PH |
| `Pn` | PN |
| `Pl` | PL |
| `Pt` | PT |
| `Pr` | PR |
| `Qa` | QA |
| `Re` | RE |
| `Ro` | RO |
| `Ru` | RU |
| `Rw` | RW |
| `Sh` | SH |
| `Kn` | KN |
| `Lc` | LC |
| `Pm` | PM |
| `Vc` | VC |
| `Ws` | WS |
| `Sm` | SM |
| `St` | ST |
| `Sa` | SA |
| `Sn` | SN |
| `Sc` | SC |
| `Sl` | SL |
| `Sg` | SG |
| `Sk` | SK |
| `Si` | SI |
| `Sb` | SB |
| `So` | SO |
| `Za` | ZA |
| `Gs` | GS |
| `Es` | ES |
| `Lk` | LK |
| `Sd` | SD |
| `Sr` | SR |
| `Sj` | SJ |
| `Sz` | SZ |
| `Se` | SE |
| `Ch` | CH |
| `Sy` | SY |
| `Tw` | TW |
| `Tj` | TJ |
| `Tz` | TZ |
| `Th` | TH |
| `Tl` | TL |
| `Tg` | TG |
| `Tk` | TK |
| `To` | TO |
| `Tt` | TT |
| `Tn` | TN |
| `Tr` | TR |
| `Tm` | TM |
| `Tc` | TC |
| `Tv` | TV |
| `Ug` | UG |
| `Ua` | UA |
| `Ae` | AE |
| `Gb` | GB |
| `Us` | US |
| `Um` | UM |
| `Uy` | UY |
| `Uz` | UZ |
| `Vu` | VU |
| `Ve` | VE |
| `Vn` | VN |
| `Vg` | VG |
| `Vi` | VI |
| `Wf` | WF |
| `Eh` | EH |
| `Ye` | YE |
| `Zm` | ZM |
| `Zw` | ZW |
| `Ax` | AX |
| `Bq` | BQ |
| `Cw` | CW |
| `Gg` | GG |
| `Im` | IM |
| `Je` | JE |
| `Me` | ME |
| `Bl` | BL |
| `Mf` | MF |
| `Rs` | RS |
| `Sx` | SX |
| `Ss` | SS |
| `Xk` | XK |

View File

@@ -12,7 +12,7 @@
| `interval` | [operations.GetCitiesByClicksDeprecatedQueryParamInterval](../../models/operations/getcitiesbyclicksdeprecatedqueryparaminterval.md) | :heavy_minus_sign: | The interval to retrieve analytics for. Takes precedence over start and end. If undefined, defaults to 24h. |
| `start` | *string* | :heavy_minus_sign: | The start date and time when to retrieve analytics from. |
| `end` | *string* | :heavy_minus_sign: | The end date and time when to retrieve analytics from. If not provided, defaults to the current date. |
| `country` | [operations.GetCitiesByClicksDeprecatedQueryParamCountry](../../models/operations/getcitiesbyclicksdeprecatedqueryparamcountry.md) | :heavy_minus_sign: | The country to retrieve analytics for. |
| `country` | [components.CountryCode](../../models/components/countrycode.md) | :heavy_minus_sign: | The country to retrieve analytics for. |
| `city` | *string* | :heavy_minus_sign: | The city to retrieve analytics for. |
| `device` | *string* | :heavy_minus_sign: | The device to retrieve analytics for. |
| `browser` | *string* | :heavy_minus_sign: | The browser to retrieve analytics for. |

View File

@@ -1,10 +0,0 @@
# GetCitiesByClicksDeprecatedResponseBody
## Fields
| Field | Type | Required | Description |
| -------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------- |
| `city` | *string* | :heavy_check_mark: | The name of the city |
| `country` | [operations.GetCitiesByClicksDeprecatedCountry](../../models/operations/getcitiesbyclicksdeprecatedcountry.md) | :heavy_check_mark: | The 2-letter country code of the city: https://d.to/geo |
| `clicks` | *number* | :heavy_check_mark: | The number of clicks from this city |

View File

@@ -1,259 +0,0 @@
# GetCitiesByClicksQueryParamCountry
The country to retrieve analytics for.
## Values
| Name | Value |
| ----- | ----- |
| `Af` | AF |
| `Al` | AL |
| `Dz` | DZ |
| `As` | AS |
| `Ad` | AD |
| `Ao` | AO |
| `Ai` | AI |
| `Aq` | AQ |
| `Ag` | AG |
| `Ar` | AR |
| `Am` | AM |
| `Aw` | AW |
| `Au` | AU |
| `At` | AT |
| `Az` | AZ |
| `Bs` | BS |
| `Bh` | BH |
| `Bd` | BD |
| `Bb` | BB |
| `By` | BY |
| `Be` | BE |
| `Bz` | BZ |
| `Bj` | BJ |
| `Bm` | BM |
| `Bt` | BT |
| `Bo` | BO |
| `Ba` | BA |
| `Bw` | BW |
| `Bv` | BV |
| `Br` | BR |
| `Io` | IO |
| `Bn` | BN |
| `Bg` | BG |
| `Bf` | BF |
| `Bi` | BI |
| `Kh` | KH |
| `Cm` | CM |
| `Ca` | CA |
| `Cv` | CV |
| `Ky` | KY |
| `Cf` | CF |
| `Td` | TD |
| `Cl` | CL |
| `Cn` | CN |
| `Cx` | CX |
| `Cc` | CC |
| `Co` | CO |
| `Km` | KM |
| `Cg` | CG |
| `Cd` | CD |
| `Ck` | CK |
| `Cr` | CR |
| `Ci` | CI |
| `Hr` | HR |
| `Cu` | CU |
| `Cy` | CY |
| `Cz` | CZ |
| `Dk` | DK |
| `Dj` | DJ |
| `Dm` | DM |
| `Do` | DO |
| `Ec` | EC |
| `Eg` | EG |
| `Sv` | SV |
| `Gq` | GQ |
| `Er` | ER |
| `Ee` | EE |
| `Et` | ET |
| `Fk` | FK |
| `Fo` | FO |
| `Fj` | FJ |
| `Fi` | FI |
| `Fr` | FR |
| `Gf` | GF |
| `Pf` | PF |
| `Tf` | TF |
| `Ga` | GA |
| `Gm` | GM |
| `Ge` | GE |
| `De` | DE |
| `Gh` | GH |
| `Gi` | GI |
| `Gr` | GR |
| `Gl` | GL |
| `Gd` | GD |
| `Gp` | GP |
| `Gu` | GU |
| `Gt` | GT |
| `Gn` | GN |
| `Gw` | GW |
| `Gy` | GY |
| `Ht` | HT |
| `Hm` | HM |
| `Va` | VA |
| `Hn` | HN |
| `Hk` | HK |
| `Hu` | HU |
| `Is` | IS |
| `In` | IN |
| `Id` | ID |
| `Ir` | IR |
| `Iq` | IQ |
| `Ie` | IE |
| `Il` | IL |
| `It` | IT |
| `Jm` | JM |
| `Jp` | JP |
| `Jo` | JO |
| `Kz` | KZ |
| `Ke` | KE |
| `Ki` | KI |
| `Kp` | KP |
| `Kr` | KR |
| `Kw` | KW |
| `Kg` | KG |
| `La` | LA |
| `Lv` | LV |
| `Lb` | LB |
| `Ls` | LS |
| `Lr` | LR |
| `Ly` | LY |
| `Li` | LI |
| `Lt` | LT |
| `Lu` | LU |
| `Mo` | MO |
| `Mg` | MG |
| `Mw` | MW |
| `My` | MY |
| `Mv` | MV |
| `Ml` | ML |
| `Mt` | MT |
| `Mh` | MH |
| `Mq` | MQ |
| `Mr` | MR |
| `Mu` | MU |
| `Yt` | YT |
| `Mx` | MX |
| `Fm` | FM |
| `Md` | MD |
| `Mc` | MC |
| `Mn` | MN |
| `Ms` | MS |
| `Ma` | MA |
| `Mz` | MZ |
| `Mm` | MM |
| `Na` | NA |
| `Nr` | NR |
| `Np` | NP |
| `Nl` | NL |
| `Nc` | NC |
| `Nz` | NZ |
| `Ni` | NI |
| `Ne` | NE |
| `Ng` | NG |
| `Nu` | NU |
| `Nf` | NF |
| `Mk` | MK |
| `Mp` | MP |
| `No` | NO |
| `Om` | OM |
| `Pk` | PK |
| `Pw` | PW |
| `Ps` | PS |
| `Pa` | PA |
| `Pg` | PG |
| `Py` | PY |
| `Pe` | PE |
| `Ph` | PH |
| `Pn` | PN |
| `Pl` | PL |
| `Pt` | PT |
| `Pr` | PR |
| `Qa` | QA |
| `Re` | RE |
| `Ro` | RO |
| `Ru` | RU |
| `Rw` | RW |
| `Sh` | SH |
| `Kn` | KN |
| `Lc` | LC |
| `Pm` | PM |
| `Vc` | VC |
| `Ws` | WS |
| `Sm` | SM |
| `St` | ST |
| `Sa` | SA |
| `Sn` | SN |
| `Sc` | SC |
| `Sl` | SL |
| `Sg` | SG |
| `Sk` | SK |
| `Si` | SI |
| `Sb` | SB |
| `So` | SO |
| `Za` | ZA |
| `Gs` | GS |
| `Es` | ES |
| `Lk` | LK |
| `Sd` | SD |
| `Sr` | SR |
| `Sj` | SJ |
| `Sz` | SZ |
| `Se` | SE |
| `Ch` | CH |
| `Sy` | SY |
| `Tw` | TW |
| `Tj` | TJ |
| `Tz` | TZ |
| `Th` | TH |
| `Tl` | TL |
| `Tg` | TG |
| `Tk` | TK |
| `To` | TO |
| `Tt` | TT |
| `Tn` | TN |
| `Tr` | TR |
| `Tm` | TM |
| `Tc` | TC |
| `Tv` | TV |
| `Ug` | UG |
| `Ua` | UA |
| `Ae` | AE |
| `Gb` | GB |
| `Us` | US |
| `Um` | UM |
| `Uy` | UY |
| `Uz` | UZ |
| `Vu` | VU |
| `Ve` | VE |
| `Vn` | VN |
| `Vg` | VG |
| `Vi` | VI |
| `Wf` | WF |
| `Eh` | EH |
| `Ye` | YE |
| `Zm` | ZM |
| `Zw` | ZW |
| `Ax` | AX |
| `Bq` | BQ |
| `Cw` | CW |
| `Gg` | GG |
| `Im` | IM |
| `Je` | JE |
| `Me` | ME |
| `Bl` | BL |
| `Mf` | MF |
| `Rs` | RS |
| `Sx` | SX |
| `Ss` | SS |
| `Xk` | XK |

View File

@@ -12,7 +12,7 @@
| `interval` | [operations.GetCitiesByClicksQueryParamInterval](../../models/operations/getcitiesbyclicksqueryparaminterval.md) | :heavy_minus_sign: | The interval to retrieve analytics for. Takes precedence over start and end. If undefined, defaults to 24h. |
| `start` | *string* | :heavy_minus_sign: | The start date and time when to retrieve analytics from. |
| `end` | *string* | :heavy_minus_sign: | The end date and time when to retrieve analytics from. If not provided, defaults to the current date. |
| `country` | [operations.GetCitiesByClicksQueryParamCountry](../../models/operations/getcitiesbyclicksqueryparamcountry.md) | :heavy_minus_sign: | The country to retrieve analytics for. |
| `country` | [components.CountryCode](../../models/components/countrycode.md) | :heavy_minus_sign: | The country to retrieve analytics for. |
| `city` | *string* | :heavy_minus_sign: | The city to retrieve analytics for. |
| `device` | *string* | :heavy_minus_sign: | The device to retrieve analytics for. |
| `browser` | *string* | :heavy_minus_sign: | The browser to retrieve analytics for. |

View File

@@ -1,10 +0,0 @@
# GetCitiesByClicksResponseBody
## Fields
| Field | Type | Required | Description |
| ------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------ |
| `city` | *string* | :heavy_check_mark: | The name of the city |
| `country` | [operations.GetCitiesByClicksCountry](../../models/operations/getcitiesbyclickscountry.md) | :heavy_check_mark: | The 2-letter country code of the city: https://d.to/geo |
| `clicks` | *number* | :heavy_check_mark: | The number of clicks from this city |

View File

@@ -1,259 +0,0 @@
# GetClicksCountDeprecatedQueryParamCountry
The country to retrieve analytics for.
## Values
| Name | Value |
| ----- | ----- |
| `Af` | AF |
| `Al` | AL |
| `Dz` | DZ |
| `As` | AS |
| `Ad` | AD |
| `Ao` | AO |
| `Ai` | AI |
| `Aq` | AQ |
| `Ag` | AG |
| `Ar` | AR |
| `Am` | AM |
| `Aw` | AW |
| `Au` | AU |
| `At` | AT |
| `Az` | AZ |
| `Bs` | BS |
| `Bh` | BH |
| `Bd` | BD |
| `Bb` | BB |
| `By` | BY |
| `Be` | BE |
| `Bz` | BZ |
| `Bj` | BJ |
| `Bm` | BM |
| `Bt` | BT |
| `Bo` | BO |
| `Ba` | BA |
| `Bw` | BW |
| `Bv` | BV |
| `Br` | BR |
| `Io` | IO |
| `Bn` | BN |
| `Bg` | BG |
| `Bf` | BF |
| `Bi` | BI |
| `Kh` | KH |
| `Cm` | CM |
| `Ca` | CA |
| `Cv` | CV |
| `Ky` | KY |
| `Cf` | CF |
| `Td` | TD |
| `Cl` | CL |
| `Cn` | CN |
| `Cx` | CX |
| `Cc` | CC |
| `Co` | CO |
| `Km` | KM |
| `Cg` | CG |
| `Cd` | CD |
| `Ck` | CK |
| `Cr` | CR |
| `Ci` | CI |
| `Hr` | HR |
| `Cu` | CU |
| `Cy` | CY |
| `Cz` | CZ |
| `Dk` | DK |
| `Dj` | DJ |
| `Dm` | DM |
| `Do` | DO |
| `Ec` | EC |
| `Eg` | EG |
| `Sv` | SV |
| `Gq` | GQ |
| `Er` | ER |
| `Ee` | EE |
| `Et` | ET |
| `Fk` | FK |
| `Fo` | FO |
| `Fj` | FJ |
| `Fi` | FI |
| `Fr` | FR |
| `Gf` | GF |
| `Pf` | PF |
| `Tf` | TF |
| `Ga` | GA |
| `Gm` | GM |
| `Ge` | GE |
| `De` | DE |
| `Gh` | GH |
| `Gi` | GI |
| `Gr` | GR |
| `Gl` | GL |
| `Gd` | GD |
| `Gp` | GP |
| `Gu` | GU |
| `Gt` | GT |
| `Gn` | GN |
| `Gw` | GW |
| `Gy` | GY |
| `Ht` | HT |
| `Hm` | HM |
| `Va` | VA |
| `Hn` | HN |
| `Hk` | HK |
| `Hu` | HU |
| `Is` | IS |
| `In` | IN |
| `Id` | ID |
| `Ir` | IR |
| `Iq` | IQ |
| `Ie` | IE |
| `Il` | IL |
| `It` | IT |
| `Jm` | JM |
| `Jp` | JP |
| `Jo` | JO |
| `Kz` | KZ |
| `Ke` | KE |
| `Ki` | KI |
| `Kp` | KP |
| `Kr` | KR |
| `Kw` | KW |
| `Kg` | KG |
| `La` | LA |
| `Lv` | LV |
| `Lb` | LB |
| `Ls` | LS |
| `Lr` | LR |
| `Ly` | LY |
| `Li` | LI |
| `Lt` | LT |
| `Lu` | LU |
| `Mo` | MO |
| `Mg` | MG |
| `Mw` | MW |
| `My` | MY |
| `Mv` | MV |
| `Ml` | ML |
| `Mt` | MT |
| `Mh` | MH |
| `Mq` | MQ |
| `Mr` | MR |
| `Mu` | MU |
| `Yt` | YT |
| `Mx` | MX |
| `Fm` | FM |
| `Md` | MD |
| `Mc` | MC |
| `Mn` | MN |
| `Ms` | MS |
| `Ma` | MA |
| `Mz` | MZ |
| `Mm` | MM |
| `Na` | NA |
| `Nr` | NR |
| `Np` | NP |
| `Nl` | NL |
| `Nc` | NC |
| `Nz` | NZ |
| `Ni` | NI |
| `Ne` | NE |
| `Ng` | NG |
| `Nu` | NU |
| `Nf` | NF |
| `Mk` | MK |
| `Mp` | MP |
| `No` | NO |
| `Om` | OM |
| `Pk` | PK |
| `Pw` | PW |
| `Ps` | PS |
| `Pa` | PA |
| `Pg` | PG |
| `Py` | PY |
| `Pe` | PE |
| `Ph` | PH |
| `Pn` | PN |
| `Pl` | PL |
| `Pt` | PT |
| `Pr` | PR |
| `Qa` | QA |
| `Re` | RE |
| `Ro` | RO |
| `Ru` | RU |
| `Rw` | RW |
| `Sh` | SH |
| `Kn` | KN |
| `Lc` | LC |
| `Pm` | PM |
| `Vc` | VC |
| `Ws` | WS |
| `Sm` | SM |
| `St` | ST |
| `Sa` | SA |
| `Sn` | SN |
| `Sc` | SC |
| `Sl` | SL |
| `Sg` | SG |
| `Sk` | SK |
| `Si` | SI |
| `Sb` | SB |
| `So` | SO |
| `Za` | ZA |
| `Gs` | GS |
| `Es` | ES |
| `Lk` | LK |
| `Sd` | SD |
| `Sr` | SR |
| `Sj` | SJ |
| `Sz` | SZ |
| `Se` | SE |
| `Ch` | CH |
| `Sy` | SY |
| `Tw` | TW |
| `Tj` | TJ |
| `Tz` | TZ |
| `Th` | TH |
| `Tl` | TL |
| `Tg` | TG |
| `Tk` | TK |
| `To` | TO |
| `Tt` | TT |
| `Tn` | TN |
| `Tr` | TR |
| `Tm` | TM |
| `Tc` | TC |
| `Tv` | TV |
| `Ug` | UG |
| `Ua` | UA |
| `Ae` | AE |
| `Gb` | GB |
| `Us` | US |
| `Um` | UM |
| `Uy` | UY |
| `Uz` | UZ |
| `Vu` | VU |
| `Ve` | VE |
| `Vn` | VN |
| `Vg` | VG |
| `Vi` | VI |
| `Wf` | WF |
| `Eh` | EH |
| `Ye` | YE |
| `Zm` | ZM |
| `Zw` | ZW |
| `Ax` | AX |
| `Bq` | BQ |
| `Cw` | CW |
| `Gg` | GG |
| `Im` | IM |
| `Je` | JE |
| `Me` | ME |
| `Bl` | BL |
| `Mf` | MF |
| `Rs` | RS |
| `Sx` | SX |
| `Ss` | SS |
| `Xk` | XK |

View File

@@ -12,7 +12,7 @@
| `interval` | [operations.GetClicksCountDeprecatedQueryParamInterval](../../models/operations/getclickscountdeprecatedqueryparaminterval.md) | :heavy_minus_sign: | The interval to retrieve analytics for. Takes precedence over start and end. If undefined, defaults to 24h. |
| `start` | *string* | :heavy_minus_sign: | The start date and time when to retrieve analytics from. |
| `end` | *string* | :heavy_minus_sign: | The end date and time when to retrieve analytics from. If not provided, defaults to the current date. |
| `country` | [operations.GetClicksCountDeprecatedQueryParamCountry](../../models/operations/getclickscountdeprecatedqueryparamcountry.md) | :heavy_minus_sign: | The country to retrieve analytics for. |
| `country` | [components.CountryCode](../../models/components/countrycode.md) | :heavy_minus_sign: | The country to retrieve analytics for. |
| `city` | *string* | :heavy_minus_sign: | The city to retrieve analytics for. |
| `device` | *string* | :heavy_minus_sign: | The device to retrieve analytics for. |
| `browser` | *string* | :heavy_minus_sign: | The browser to retrieve analytics for. |

View File

@@ -12,7 +12,7 @@
| `interval` | [operations.Interval](../../models/operations/interval.md) | :heavy_minus_sign: | The interval to retrieve analytics for. Takes precedence over start and end. If undefined, defaults to 24h. |
| `start` | *string* | :heavy_minus_sign: | The start date and time when to retrieve analytics from. |
| `end` | *string* | :heavy_minus_sign: | The end date and time when to retrieve analytics from. If not provided, defaults to the current date. |
| `country` | [operations.Country](../../models/operations/country.md) | :heavy_minus_sign: | The country to retrieve analytics for. |
| `country` | [components.CountryCode](../../models/components/countrycode.md) | :heavy_minus_sign: | The country to retrieve analytics for. |
| `city` | *string* | :heavy_minus_sign: | The city to retrieve analytics for. |
| `device` | *string* | :heavy_minus_sign: | The device to retrieve analytics for. |
| `browser` | *string* | :heavy_minus_sign: | The browser to retrieve analytics for. |

View File

@@ -1,259 +0,0 @@
# GetCountriesByClicksCountry
The 2-letter country code: https://d.to/geo
## Values
| Name | Value |
| ----- | ----- |
| `Af` | AF |
| `Al` | AL |
| `Dz` | DZ |
| `As` | AS |
| `Ad` | AD |
| `Ao` | AO |
| `Ai` | AI |
| `Aq` | AQ |
| `Ag` | AG |
| `Ar` | AR |
| `Am` | AM |
| `Aw` | AW |
| `Au` | AU |
| `At` | AT |
| `Az` | AZ |
| `Bs` | BS |
| `Bh` | BH |
| `Bd` | BD |
| `Bb` | BB |
| `By` | BY |
| `Be` | BE |
| `Bz` | BZ |
| `Bj` | BJ |
| `Bm` | BM |
| `Bt` | BT |
| `Bo` | BO |
| `Ba` | BA |
| `Bw` | BW |
| `Bv` | BV |
| `Br` | BR |
| `Io` | IO |
| `Bn` | BN |
| `Bg` | BG |
| `Bf` | BF |
| `Bi` | BI |
| `Kh` | KH |
| `Cm` | CM |
| `Ca` | CA |
| `Cv` | CV |
| `Ky` | KY |
| `Cf` | CF |
| `Td` | TD |
| `Cl` | CL |
| `Cn` | CN |
| `Cx` | CX |
| `Cc` | CC |
| `Co` | CO |
| `Km` | KM |
| `Cg` | CG |
| `Cd` | CD |
| `Ck` | CK |
| `Cr` | CR |
| `Ci` | CI |
| `Hr` | HR |
| `Cu` | CU |
| `Cy` | CY |
| `Cz` | CZ |
| `Dk` | DK |
| `Dj` | DJ |
| `Dm` | DM |
| `Do` | DO |
| `Ec` | EC |
| `Eg` | EG |
| `Sv` | SV |
| `Gq` | GQ |
| `Er` | ER |
| `Ee` | EE |
| `Et` | ET |
| `Fk` | FK |
| `Fo` | FO |
| `Fj` | FJ |
| `Fi` | FI |
| `Fr` | FR |
| `Gf` | GF |
| `Pf` | PF |
| `Tf` | TF |
| `Ga` | GA |
| `Gm` | GM |
| `Ge` | GE |
| `De` | DE |
| `Gh` | GH |
| `Gi` | GI |
| `Gr` | GR |
| `Gl` | GL |
| `Gd` | GD |
| `Gp` | GP |
| `Gu` | GU |
| `Gt` | GT |
| `Gn` | GN |
| `Gw` | GW |
| `Gy` | GY |
| `Ht` | HT |
| `Hm` | HM |
| `Va` | VA |
| `Hn` | HN |
| `Hk` | HK |
| `Hu` | HU |
| `Is` | IS |
| `In` | IN |
| `Id` | ID |
| `Ir` | IR |
| `Iq` | IQ |
| `Ie` | IE |
| `Il` | IL |
| `It` | IT |
| `Jm` | JM |
| `Jp` | JP |
| `Jo` | JO |
| `Kz` | KZ |
| `Ke` | KE |
| `Ki` | KI |
| `Kp` | KP |
| `Kr` | KR |
| `Kw` | KW |
| `Kg` | KG |
| `La` | LA |
| `Lv` | LV |
| `Lb` | LB |
| `Ls` | LS |
| `Lr` | LR |
| `Ly` | LY |
| `Li` | LI |
| `Lt` | LT |
| `Lu` | LU |
| `Mo` | MO |
| `Mg` | MG |
| `Mw` | MW |
| `My` | MY |
| `Mv` | MV |
| `Ml` | ML |
| `Mt` | MT |
| `Mh` | MH |
| `Mq` | MQ |
| `Mr` | MR |
| `Mu` | MU |
| `Yt` | YT |
| `Mx` | MX |
| `Fm` | FM |
| `Md` | MD |
| `Mc` | MC |
| `Mn` | MN |
| `Ms` | MS |
| `Ma` | MA |
| `Mz` | MZ |
| `Mm` | MM |
| `Na` | NA |
| `Nr` | NR |
| `Np` | NP |
| `Nl` | NL |
| `Nc` | NC |
| `Nz` | NZ |
| `Ni` | NI |
| `Ne` | NE |
| `Ng` | NG |
| `Nu` | NU |
| `Nf` | NF |
| `Mk` | MK |
| `Mp` | MP |
| `No` | NO |
| `Om` | OM |
| `Pk` | PK |
| `Pw` | PW |
| `Ps` | PS |
| `Pa` | PA |
| `Pg` | PG |
| `Py` | PY |
| `Pe` | PE |
| `Ph` | PH |
| `Pn` | PN |
| `Pl` | PL |
| `Pt` | PT |
| `Pr` | PR |
| `Qa` | QA |
| `Re` | RE |
| `Ro` | RO |
| `Ru` | RU |
| `Rw` | RW |
| `Sh` | SH |
| `Kn` | KN |
| `Lc` | LC |
| `Pm` | PM |
| `Vc` | VC |
| `Ws` | WS |
| `Sm` | SM |
| `St` | ST |
| `Sa` | SA |
| `Sn` | SN |
| `Sc` | SC |
| `Sl` | SL |
| `Sg` | SG |
| `Sk` | SK |
| `Si` | SI |
| `Sb` | SB |
| `So` | SO |
| `Za` | ZA |
| `Gs` | GS |
| `Es` | ES |
| `Lk` | LK |
| `Sd` | SD |
| `Sr` | SR |
| `Sj` | SJ |
| `Sz` | SZ |
| `Se` | SE |
| `Ch` | CH |
| `Sy` | SY |
| `Tw` | TW |
| `Tj` | TJ |
| `Tz` | TZ |
| `Th` | TH |
| `Tl` | TL |
| `Tg` | TG |
| `Tk` | TK |
| `To` | TO |
| `Tt` | TT |
| `Tn` | TN |
| `Tr` | TR |
| `Tm` | TM |
| `Tc` | TC |
| `Tv` | TV |
| `Ug` | UG |
| `Ua` | UA |
| `Ae` | AE |
| `Gb` | GB |
| `Us` | US |
| `Um` | UM |
| `Uy` | UY |
| `Uz` | UZ |
| `Vu` | VU |
| `Ve` | VE |
| `Vn` | VN |
| `Vg` | VG |
| `Vi` | VI |
| `Wf` | WF |
| `Eh` | EH |
| `Ye` | YE |
| `Zm` | ZM |
| `Zw` | ZW |
| `Ax` | AX |
| `Bq` | BQ |
| `Cw` | CW |
| `Gg` | GG |
| `Im` | IM |
| `Je` | JE |
| `Me` | ME |
| `Bl` | BL |
| `Mf` | MF |
| `Rs` | RS |
| `Sx` | SX |
| `Ss` | SS |
| `Xk` | XK |

View File

@@ -1,259 +0,0 @@
# GetCountriesByClicksDeprecatedCountry
The 2-letter country code: https://d.to/geo
## Values
| Name | Value |
| ----- | ----- |
| `Af` | AF |
| `Al` | AL |
| `Dz` | DZ |
| `As` | AS |
| `Ad` | AD |
| `Ao` | AO |
| `Ai` | AI |
| `Aq` | AQ |
| `Ag` | AG |
| `Ar` | AR |
| `Am` | AM |
| `Aw` | AW |
| `Au` | AU |
| `At` | AT |
| `Az` | AZ |
| `Bs` | BS |
| `Bh` | BH |
| `Bd` | BD |
| `Bb` | BB |
| `By` | BY |
| `Be` | BE |
| `Bz` | BZ |
| `Bj` | BJ |
| `Bm` | BM |
| `Bt` | BT |
| `Bo` | BO |
| `Ba` | BA |
| `Bw` | BW |
| `Bv` | BV |
| `Br` | BR |
| `Io` | IO |
| `Bn` | BN |
| `Bg` | BG |
| `Bf` | BF |
| `Bi` | BI |
| `Kh` | KH |
| `Cm` | CM |
| `Ca` | CA |
| `Cv` | CV |
| `Ky` | KY |
| `Cf` | CF |
| `Td` | TD |
| `Cl` | CL |
| `Cn` | CN |
| `Cx` | CX |
| `Cc` | CC |
| `Co` | CO |
| `Km` | KM |
| `Cg` | CG |
| `Cd` | CD |
| `Ck` | CK |
| `Cr` | CR |
| `Ci` | CI |
| `Hr` | HR |
| `Cu` | CU |
| `Cy` | CY |
| `Cz` | CZ |
| `Dk` | DK |
| `Dj` | DJ |
| `Dm` | DM |
| `Do` | DO |
| `Ec` | EC |
| `Eg` | EG |
| `Sv` | SV |
| `Gq` | GQ |
| `Er` | ER |
| `Ee` | EE |
| `Et` | ET |
| `Fk` | FK |
| `Fo` | FO |
| `Fj` | FJ |
| `Fi` | FI |
| `Fr` | FR |
| `Gf` | GF |
| `Pf` | PF |
| `Tf` | TF |
| `Ga` | GA |
| `Gm` | GM |
| `Ge` | GE |
| `De` | DE |
| `Gh` | GH |
| `Gi` | GI |
| `Gr` | GR |
| `Gl` | GL |
| `Gd` | GD |
| `Gp` | GP |
| `Gu` | GU |
| `Gt` | GT |
| `Gn` | GN |
| `Gw` | GW |
| `Gy` | GY |
| `Ht` | HT |
| `Hm` | HM |
| `Va` | VA |
| `Hn` | HN |
| `Hk` | HK |
| `Hu` | HU |
| `Is` | IS |
| `In` | IN |
| `Id` | ID |
| `Ir` | IR |
| `Iq` | IQ |
| `Ie` | IE |
| `Il` | IL |
| `It` | IT |
| `Jm` | JM |
| `Jp` | JP |
| `Jo` | JO |
| `Kz` | KZ |
| `Ke` | KE |
| `Ki` | KI |
| `Kp` | KP |
| `Kr` | KR |
| `Kw` | KW |
| `Kg` | KG |
| `La` | LA |
| `Lv` | LV |
| `Lb` | LB |
| `Ls` | LS |
| `Lr` | LR |
| `Ly` | LY |
| `Li` | LI |
| `Lt` | LT |
| `Lu` | LU |
| `Mo` | MO |
| `Mg` | MG |
| `Mw` | MW |
| `My` | MY |
| `Mv` | MV |
| `Ml` | ML |
| `Mt` | MT |
| `Mh` | MH |
| `Mq` | MQ |
| `Mr` | MR |
| `Mu` | MU |
| `Yt` | YT |
| `Mx` | MX |
| `Fm` | FM |
| `Md` | MD |
| `Mc` | MC |
| `Mn` | MN |
| `Ms` | MS |
| `Ma` | MA |
| `Mz` | MZ |
| `Mm` | MM |
| `Na` | NA |
| `Nr` | NR |
| `Np` | NP |
| `Nl` | NL |
| `Nc` | NC |
| `Nz` | NZ |
| `Ni` | NI |
| `Ne` | NE |
| `Ng` | NG |
| `Nu` | NU |
| `Nf` | NF |
| `Mk` | MK |
| `Mp` | MP |
| `No` | NO |
| `Om` | OM |
| `Pk` | PK |
| `Pw` | PW |
| `Ps` | PS |
| `Pa` | PA |
| `Pg` | PG |
| `Py` | PY |
| `Pe` | PE |
| `Ph` | PH |
| `Pn` | PN |
| `Pl` | PL |
| `Pt` | PT |
| `Pr` | PR |
| `Qa` | QA |
| `Re` | RE |
| `Ro` | RO |
| `Ru` | RU |
| `Rw` | RW |
| `Sh` | SH |
| `Kn` | KN |
| `Lc` | LC |
| `Pm` | PM |
| `Vc` | VC |
| `Ws` | WS |
| `Sm` | SM |
| `St` | ST |
| `Sa` | SA |
| `Sn` | SN |
| `Sc` | SC |
| `Sl` | SL |
| `Sg` | SG |
| `Sk` | SK |
| `Si` | SI |
| `Sb` | SB |
| `So` | SO |
| `Za` | ZA |
| `Gs` | GS |
| `Es` | ES |
| `Lk` | LK |
| `Sd` | SD |
| `Sr` | SR |
| `Sj` | SJ |
| `Sz` | SZ |
| `Se` | SE |
| `Ch` | CH |
| `Sy` | SY |
| `Tw` | TW |
| `Tj` | TJ |
| `Tz` | TZ |
| `Th` | TH |
| `Tl` | TL |
| `Tg` | TG |
| `Tk` | TK |
| `To` | TO |
| `Tt` | TT |
| `Tn` | TN |
| `Tr` | TR |
| `Tm` | TM |
| `Tc` | TC |
| `Tv` | TV |
| `Ug` | UG |
| `Ua` | UA |
| `Ae` | AE |
| `Gb` | GB |
| `Us` | US |
| `Um` | UM |
| `Uy` | UY |
| `Uz` | UZ |
| `Vu` | VU |
| `Ve` | VE |
| `Vn` | VN |
| `Vg` | VG |
| `Vi` | VI |
| `Wf` | WF |
| `Eh` | EH |
| `Ye` | YE |
| `Zm` | ZM |
| `Zw` | ZW |
| `Ax` | AX |
| `Bq` | BQ |
| `Cw` | CW |
| `Gg` | GG |
| `Im` | IM |
| `Je` | JE |
| `Me` | ME |
| `Bl` | BL |
| `Mf` | MF |
| `Rs` | RS |
| `Sx` | SX |
| `Ss` | SS |
| `Xk` | XK |

View File

@@ -1,259 +0,0 @@
# GetCountriesByClicksDeprecatedQueryParamCountry
The country to retrieve analytics for.
## Values
| Name | Value |
| ----- | ----- |
| `Af` | AF |
| `Al` | AL |
| `Dz` | DZ |
| `As` | AS |
| `Ad` | AD |
| `Ao` | AO |
| `Ai` | AI |
| `Aq` | AQ |
| `Ag` | AG |
| `Ar` | AR |
| `Am` | AM |
| `Aw` | AW |
| `Au` | AU |
| `At` | AT |
| `Az` | AZ |
| `Bs` | BS |
| `Bh` | BH |
| `Bd` | BD |
| `Bb` | BB |
| `By` | BY |
| `Be` | BE |
| `Bz` | BZ |
| `Bj` | BJ |
| `Bm` | BM |
| `Bt` | BT |
| `Bo` | BO |
| `Ba` | BA |
| `Bw` | BW |
| `Bv` | BV |
| `Br` | BR |
| `Io` | IO |
| `Bn` | BN |
| `Bg` | BG |
| `Bf` | BF |
| `Bi` | BI |
| `Kh` | KH |
| `Cm` | CM |
| `Ca` | CA |
| `Cv` | CV |
| `Ky` | KY |
| `Cf` | CF |
| `Td` | TD |
| `Cl` | CL |
| `Cn` | CN |
| `Cx` | CX |
| `Cc` | CC |
| `Co` | CO |
| `Km` | KM |
| `Cg` | CG |
| `Cd` | CD |
| `Ck` | CK |
| `Cr` | CR |
| `Ci` | CI |
| `Hr` | HR |
| `Cu` | CU |
| `Cy` | CY |
| `Cz` | CZ |
| `Dk` | DK |
| `Dj` | DJ |
| `Dm` | DM |
| `Do` | DO |
| `Ec` | EC |
| `Eg` | EG |
| `Sv` | SV |
| `Gq` | GQ |
| `Er` | ER |
| `Ee` | EE |
| `Et` | ET |
| `Fk` | FK |
| `Fo` | FO |
| `Fj` | FJ |
| `Fi` | FI |
| `Fr` | FR |
| `Gf` | GF |
| `Pf` | PF |
| `Tf` | TF |
| `Ga` | GA |
| `Gm` | GM |
| `Ge` | GE |
| `De` | DE |
| `Gh` | GH |
| `Gi` | GI |
| `Gr` | GR |
| `Gl` | GL |
| `Gd` | GD |
| `Gp` | GP |
| `Gu` | GU |
| `Gt` | GT |
| `Gn` | GN |
| `Gw` | GW |
| `Gy` | GY |
| `Ht` | HT |
| `Hm` | HM |
| `Va` | VA |
| `Hn` | HN |
| `Hk` | HK |
| `Hu` | HU |
| `Is` | IS |
| `In` | IN |
| `Id` | ID |
| `Ir` | IR |
| `Iq` | IQ |
| `Ie` | IE |
| `Il` | IL |
| `It` | IT |
| `Jm` | JM |
| `Jp` | JP |
| `Jo` | JO |
| `Kz` | KZ |
| `Ke` | KE |
| `Ki` | KI |
| `Kp` | KP |
| `Kr` | KR |
| `Kw` | KW |
| `Kg` | KG |
| `La` | LA |
| `Lv` | LV |
| `Lb` | LB |
| `Ls` | LS |
| `Lr` | LR |
| `Ly` | LY |
| `Li` | LI |
| `Lt` | LT |
| `Lu` | LU |
| `Mo` | MO |
| `Mg` | MG |
| `Mw` | MW |
| `My` | MY |
| `Mv` | MV |
| `Ml` | ML |
| `Mt` | MT |
| `Mh` | MH |
| `Mq` | MQ |
| `Mr` | MR |
| `Mu` | MU |
| `Yt` | YT |
| `Mx` | MX |
| `Fm` | FM |
| `Md` | MD |
| `Mc` | MC |
| `Mn` | MN |
| `Ms` | MS |
| `Ma` | MA |
| `Mz` | MZ |
| `Mm` | MM |
| `Na` | NA |
| `Nr` | NR |
| `Np` | NP |
| `Nl` | NL |
| `Nc` | NC |
| `Nz` | NZ |
| `Ni` | NI |
| `Ne` | NE |
| `Ng` | NG |
| `Nu` | NU |
| `Nf` | NF |
| `Mk` | MK |
| `Mp` | MP |
| `No` | NO |
| `Om` | OM |
| `Pk` | PK |
| `Pw` | PW |
| `Ps` | PS |
| `Pa` | PA |
| `Pg` | PG |
| `Py` | PY |
| `Pe` | PE |
| `Ph` | PH |
| `Pn` | PN |
| `Pl` | PL |
| `Pt` | PT |
| `Pr` | PR |
| `Qa` | QA |
| `Re` | RE |
| `Ro` | RO |
| `Ru` | RU |
| `Rw` | RW |
| `Sh` | SH |
| `Kn` | KN |
| `Lc` | LC |
| `Pm` | PM |
| `Vc` | VC |
| `Ws` | WS |
| `Sm` | SM |
| `St` | ST |
| `Sa` | SA |
| `Sn` | SN |
| `Sc` | SC |
| `Sl` | SL |
| `Sg` | SG |
| `Sk` | SK |
| `Si` | SI |
| `Sb` | SB |
| `So` | SO |
| `Za` | ZA |
| `Gs` | GS |
| `Es` | ES |
| `Lk` | LK |
| `Sd` | SD |
| `Sr` | SR |
| `Sj` | SJ |
| `Sz` | SZ |
| `Se` | SE |
| `Ch` | CH |
| `Sy` | SY |
| `Tw` | TW |
| `Tj` | TJ |
| `Tz` | TZ |
| `Th` | TH |
| `Tl` | TL |
| `Tg` | TG |
| `Tk` | TK |
| `To` | TO |
| `Tt` | TT |
| `Tn` | TN |
| `Tr` | TR |
| `Tm` | TM |
| `Tc` | TC |
| `Tv` | TV |
| `Ug` | UG |
| `Ua` | UA |
| `Ae` | AE |
| `Gb` | GB |
| `Us` | US |
| `Um` | UM |
| `Uy` | UY |
| `Uz` | UZ |
| `Vu` | VU |
| `Ve` | VE |
| `Vn` | VN |
| `Vg` | VG |
| `Vi` | VI |
| `Wf` | WF |
| `Eh` | EH |
| `Ye` | YE |
| `Zm` | ZM |
| `Zw` | ZW |
| `Ax` | AX |
| `Bq` | BQ |
| `Cw` | CW |
| `Gg` | GG |
| `Im` | IM |
| `Je` | JE |
| `Me` | ME |
| `Bl` | BL |
| `Mf` | MF |
| `Rs` | RS |
| `Sx` | SX |
| `Ss` | SS |
| `Xk` | XK |

View File

@@ -12,7 +12,7 @@
| `interval` | [operations.GetCountriesByClicksDeprecatedQueryParamInterval](../../models/operations/getcountriesbyclicksdeprecatedqueryparaminterval.md) | :heavy_minus_sign: | The interval to retrieve analytics for. Takes precedence over start and end. If undefined, defaults to 24h. |
| `start` | *string* | :heavy_minus_sign: | The start date and time when to retrieve analytics from. |
| `end` | *string* | :heavy_minus_sign: | The end date and time when to retrieve analytics from. If not provided, defaults to the current date. |
| `country` | [operations.GetCountriesByClicksDeprecatedQueryParamCountry](../../models/operations/getcountriesbyclicksdeprecatedqueryparamcountry.md) | :heavy_minus_sign: | The country to retrieve analytics for. |
| `country` | [components.CountryCode](../../models/components/countrycode.md) | :heavy_minus_sign: | The country to retrieve analytics for. |
| `city` | *string* | :heavy_minus_sign: | The city to retrieve analytics for. |
| `device` | *string* | :heavy_minus_sign: | The device to retrieve analytics for. |
| `browser` | *string* | :heavy_minus_sign: | The browser to retrieve analytics for. |

View File

@@ -1,9 +0,0 @@
# GetCountriesByClicksDeprecatedResponseBody
## Fields
| Field | Type | Required | Description |
| -------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------------------------------------------------------- |
| `country` | [operations.GetCountriesByClicksDeprecatedCountry](../../models/operations/getcountriesbyclicksdeprecatedcountry.md) | :heavy_check_mark: | The 2-letter country code: https://d.to/geo |
| `clicks` | *number* | :heavy_check_mark: | The number of clicks from this country |

View File

@@ -1,259 +0,0 @@
# GetCountriesByClicksQueryParamCountry
The country to retrieve analytics for.
## Values
| Name | Value |
| ----- | ----- |
| `Af` | AF |
| `Al` | AL |
| `Dz` | DZ |
| `As` | AS |
| `Ad` | AD |
| `Ao` | AO |
| `Ai` | AI |
| `Aq` | AQ |
| `Ag` | AG |
| `Ar` | AR |
| `Am` | AM |
| `Aw` | AW |
| `Au` | AU |
| `At` | AT |
| `Az` | AZ |
| `Bs` | BS |
| `Bh` | BH |
| `Bd` | BD |
| `Bb` | BB |
| `By` | BY |
| `Be` | BE |
| `Bz` | BZ |
| `Bj` | BJ |
| `Bm` | BM |
| `Bt` | BT |
| `Bo` | BO |
| `Ba` | BA |
| `Bw` | BW |
| `Bv` | BV |
| `Br` | BR |
| `Io` | IO |
| `Bn` | BN |
| `Bg` | BG |
| `Bf` | BF |
| `Bi` | BI |
| `Kh` | KH |
| `Cm` | CM |
| `Ca` | CA |
| `Cv` | CV |
| `Ky` | KY |
| `Cf` | CF |
| `Td` | TD |
| `Cl` | CL |
| `Cn` | CN |
| `Cx` | CX |
| `Cc` | CC |
| `Co` | CO |
| `Km` | KM |
| `Cg` | CG |
| `Cd` | CD |
| `Ck` | CK |
| `Cr` | CR |
| `Ci` | CI |
| `Hr` | HR |
| `Cu` | CU |
| `Cy` | CY |
| `Cz` | CZ |
| `Dk` | DK |
| `Dj` | DJ |
| `Dm` | DM |
| `Do` | DO |
| `Ec` | EC |
| `Eg` | EG |
| `Sv` | SV |
| `Gq` | GQ |
| `Er` | ER |
| `Ee` | EE |
| `Et` | ET |
| `Fk` | FK |
| `Fo` | FO |
| `Fj` | FJ |
| `Fi` | FI |
| `Fr` | FR |
| `Gf` | GF |
| `Pf` | PF |
| `Tf` | TF |
| `Ga` | GA |
| `Gm` | GM |
| `Ge` | GE |
| `De` | DE |
| `Gh` | GH |
| `Gi` | GI |
| `Gr` | GR |
| `Gl` | GL |
| `Gd` | GD |
| `Gp` | GP |
| `Gu` | GU |
| `Gt` | GT |
| `Gn` | GN |
| `Gw` | GW |
| `Gy` | GY |
| `Ht` | HT |
| `Hm` | HM |
| `Va` | VA |
| `Hn` | HN |
| `Hk` | HK |
| `Hu` | HU |
| `Is` | IS |
| `In` | IN |
| `Id` | ID |
| `Ir` | IR |
| `Iq` | IQ |
| `Ie` | IE |
| `Il` | IL |
| `It` | IT |
| `Jm` | JM |
| `Jp` | JP |
| `Jo` | JO |
| `Kz` | KZ |
| `Ke` | KE |
| `Ki` | KI |
| `Kp` | KP |
| `Kr` | KR |
| `Kw` | KW |
| `Kg` | KG |
| `La` | LA |
| `Lv` | LV |
| `Lb` | LB |
| `Ls` | LS |
| `Lr` | LR |
| `Ly` | LY |
| `Li` | LI |
| `Lt` | LT |
| `Lu` | LU |
| `Mo` | MO |
| `Mg` | MG |
| `Mw` | MW |
| `My` | MY |
| `Mv` | MV |
| `Ml` | ML |
| `Mt` | MT |
| `Mh` | MH |
| `Mq` | MQ |
| `Mr` | MR |
| `Mu` | MU |
| `Yt` | YT |
| `Mx` | MX |
| `Fm` | FM |
| `Md` | MD |
| `Mc` | MC |
| `Mn` | MN |
| `Ms` | MS |
| `Ma` | MA |
| `Mz` | MZ |
| `Mm` | MM |
| `Na` | NA |
| `Nr` | NR |
| `Np` | NP |
| `Nl` | NL |
| `Nc` | NC |
| `Nz` | NZ |
| `Ni` | NI |
| `Ne` | NE |
| `Ng` | NG |
| `Nu` | NU |
| `Nf` | NF |
| `Mk` | MK |
| `Mp` | MP |
| `No` | NO |
| `Om` | OM |
| `Pk` | PK |
| `Pw` | PW |
| `Ps` | PS |
| `Pa` | PA |
| `Pg` | PG |
| `Py` | PY |
| `Pe` | PE |
| `Ph` | PH |
| `Pn` | PN |
| `Pl` | PL |
| `Pt` | PT |
| `Pr` | PR |
| `Qa` | QA |
| `Re` | RE |
| `Ro` | RO |
| `Ru` | RU |
| `Rw` | RW |
| `Sh` | SH |
| `Kn` | KN |
| `Lc` | LC |
| `Pm` | PM |
| `Vc` | VC |
| `Ws` | WS |
| `Sm` | SM |
| `St` | ST |
| `Sa` | SA |
| `Sn` | SN |
| `Sc` | SC |
| `Sl` | SL |
| `Sg` | SG |
| `Sk` | SK |
| `Si` | SI |
| `Sb` | SB |
| `So` | SO |
| `Za` | ZA |
| `Gs` | GS |
| `Es` | ES |
| `Lk` | LK |
| `Sd` | SD |
| `Sr` | SR |
| `Sj` | SJ |
| `Sz` | SZ |
| `Se` | SE |
| `Ch` | CH |
| `Sy` | SY |
| `Tw` | TW |
| `Tj` | TJ |
| `Tz` | TZ |
| `Th` | TH |
| `Tl` | TL |
| `Tg` | TG |
| `Tk` | TK |
| `To` | TO |
| `Tt` | TT |
| `Tn` | TN |
| `Tr` | TR |
| `Tm` | TM |
| `Tc` | TC |
| `Tv` | TV |
| `Ug` | UG |
| `Ua` | UA |
| `Ae` | AE |
| `Gb` | GB |
| `Us` | US |
| `Um` | UM |
| `Uy` | UY |
| `Uz` | UZ |
| `Vu` | VU |
| `Ve` | VE |
| `Vn` | VN |
| `Vg` | VG |
| `Vi` | VI |
| `Wf` | WF |
| `Eh` | EH |
| `Ye` | YE |
| `Zm` | ZM |
| `Zw` | ZW |
| `Ax` | AX |
| `Bq` | BQ |
| `Cw` | CW |
| `Gg` | GG |
| `Im` | IM |
| `Je` | JE |
| `Me` | ME |
| `Bl` | BL |
| `Mf` | MF |
| `Rs` | RS |
| `Sx` | SX |
| `Ss` | SS |
| `Xk` | XK |

View File

@@ -12,7 +12,7 @@
| `interval` | [operations.GetCountriesByClicksQueryParamInterval](../../models/operations/getcountriesbyclicksqueryparaminterval.md) | :heavy_minus_sign: | The interval to retrieve analytics for. Takes precedence over start and end. If undefined, defaults to 24h. |
| `start` | *string* | :heavy_minus_sign: | The start date and time when to retrieve analytics from. |
| `end` | *string* | :heavy_minus_sign: | The end date and time when to retrieve analytics from. If not provided, defaults to the current date. |
| `country` | [operations.GetCountriesByClicksQueryParamCountry](../../models/operations/getcountriesbyclicksqueryparamcountry.md) | :heavy_minus_sign: | The country to retrieve analytics for. |
| `country` | [components.CountryCode](../../models/components/countrycode.md) | :heavy_minus_sign: | The country to retrieve analytics for. |
| `city` | *string* | :heavy_minus_sign: | The city to retrieve analytics for. |
| `device` | *string* | :heavy_minus_sign: | The device to retrieve analytics for. |
| `browser` | *string* | :heavy_minus_sign: | The browser to retrieve analytics for. |

View File

@@ -1,9 +0,0 @@
# GetCountriesByClicksResponseBody
## Fields
| Field | Type | Required | Description |
| ------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------ | ------------------------------------------------------------------------------------------------ |
| `country` | [operations.GetCountriesByClicksCountry](../../models/operations/getcountriesbyclickscountry.md) | :heavy_check_mark: | The 2-letter country code: https://d.to/geo |
| `clicks` | *number* | :heavy_check_mark: | The number of clicks from this country |

View File

@@ -1,259 +0,0 @@
# GetDevicesByClicksDeprecatedQueryParamCountry
The country to retrieve analytics for.
## Values
| Name | Value |
| ----- | ----- |
| `Af` | AF |
| `Al` | AL |
| `Dz` | DZ |
| `As` | AS |
| `Ad` | AD |
| `Ao` | AO |
| `Ai` | AI |
| `Aq` | AQ |
| `Ag` | AG |
| `Ar` | AR |
| `Am` | AM |
| `Aw` | AW |
| `Au` | AU |
| `At` | AT |
| `Az` | AZ |
| `Bs` | BS |
| `Bh` | BH |
| `Bd` | BD |
| `Bb` | BB |
| `By` | BY |
| `Be` | BE |
| `Bz` | BZ |
| `Bj` | BJ |
| `Bm` | BM |
| `Bt` | BT |
| `Bo` | BO |
| `Ba` | BA |
| `Bw` | BW |
| `Bv` | BV |
| `Br` | BR |
| `Io` | IO |
| `Bn` | BN |
| `Bg` | BG |
| `Bf` | BF |
| `Bi` | BI |
| `Kh` | KH |
| `Cm` | CM |
| `Ca` | CA |
| `Cv` | CV |
| `Ky` | KY |
| `Cf` | CF |
| `Td` | TD |
| `Cl` | CL |
| `Cn` | CN |
| `Cx` | CX |
| `Cc` | CC |
| `Co` | CO |
| `Km` | KM |
| `Cg` | CG |
| `Cd` | CD |
| `Ck` | CK |
| `Cr` | CR |
| `Ci` | CI |
| `Hr` | HR |
| `Cu` | CU |
| `Cy` | CY |
| `Cz` | CZ |
| `Dk` | DK |
| `Dj` | DJ |
| `Dm` | DM |
| `Do` | DO |
| `Ec` | EC |
| `Eg` | EG |
| `Sv` | SV |
| `Gq` | GQ |
| `Er` | ER |
| `Ee` | EE |
| `Et` | ET |
| `Fk` | FK |
| `Fo` | FO |
| `Fj` | FJ |
| `Fi` | FI |
| `Fr` | FR |
| `Gf` | GF |
| `Pf` | PF |
| `Tf` | TF |
| `Ga` | GA |
| `Gm` | GM |
| `Ge` | GE |
| `De` | DE |
| `Gh` | GH |
| `Gi` | GI |
| `Gr` | GR |
| `Gl` | GL |
| `Gd` | GD |
| `Gp` | GP |
| `Gu` | GU |
| `Gt` | GT |
| `Gn` | GN |
| `Gw` | GW |
| `Gy` | GY |
| `Ht` | HT |
| `Hm` | HM |
| `Va` | VA |
| `Hn` | HN |
| `Hk` | HK |
| `Hu` | HU |
| `Is` | IS |
| `In` | IN |
| `Id` | ID |
| `Ir` | IR |
| `Iq` | IQ |
| `Ie` | IE |
| `Il` | IL |
| `It` | IT |
| `Jm` | JM |
| `Jp` | JP |
| `Jo` | JO |
| `Kz` | KZ |
| `Ke` | KE |
| `Ki` | KI |
| `Kp` | KP |
| `Kr` | KR |
| `Kw` | KW |
| `Kg` | KG |
| `La` | LA |
| `Lv` | LV |
| `Lb` | LB |
| `Ls` | LS |
| `Lr` | LR |
| `Ly` | LY |
| `Li` | LI |
| `Lt` | LT |
| `Lu` | LU |
| `Mo` | MO |
| `Mg` | MG |
| `Mw` | MW |
| `My` | MY |
| `Mv` | MV |
| `Ml` | ML |
| `Mt` | MT |
| `Mh` | MH |
| `Mq` | MQ |
| `Mr` | MR |
| `Mu` | MU |
| `Yt` | YT |
| `Mx` | MX |
| `Fm` | FM |
| `Md` | MD |
| `Mc` | MC |
| `Mn` | MN |
| `Ms` | MS |
| `Ma` | MA |
| `Mz` | MZ |
| `Mm` | MM |
| `Na` | NA |
| `Nr` | NR |
| `Np` | NP |
| `Nl` | NL |
| `Nc` | NC |
| `Nz` | NZ |
| `Ni` | NI |
| `Ne` | NE |
| `Ng` | NG |
| `Nu` | NU |
| `Nf` | NF |
| `Mk` | MK |
| `Mp` | MP |
| `No` | NO |
| `Om` | OM |
| `Pk` | PK |
| `Pw` | PW |
| `Ps` | PS |
| `Pa` | PA |
| `Pg` | PG |
| `Py` | PY |
| `Pe` | PE |
| `Ph` | PH |
| `Pn` | PN |
| `Pl` | PL |
| `Pt` | PT |
| `Pr` | PR |
| `Qa` | QA |
| `Re` | RE |
| `Ro` | RO |
| `Ru` | RU |
| `Rw` | RW |
| `Sh` | SH |
| `Kn` | KN |
| `Lc` | LC |
| `Pm` | PM |
| `Vc` | VC |
| `Ws` | WS |
| `Sm` | SM |
| `St` | ST |
| `Sa` | SA |
| `Sn` | SN |
| `Sc` | SC |
| `Sl` | SL |
| `Sg` | SG |
| `Sk` | SK |
| `Si` | SI |
| `Sb` | SB |
| `So` | SO |
| `Za` | ZA |
| `Gs` | GS |
| `Es` | ES |
| `Lk` | LK |
| `Sd` | SD |
| `Sr` | SR |
| `Sj` | SJ |
| `Sz` | SZ |
| `Se` | SE |
| `Ch` | CH |
| `Sy` | SY |
| `Tw` | TW |
| `Tj` | TJ |
| `Tz` | TZ |
| `Th` | TH |
| `Tl` | TL |
| `Tg` | TG |
| `Tk` | TK |
| `To` | TO |
| `Tt` | TT |
| `Tn` | TN |
| `Tr` | TR |
| `Tm` | TM |
| `Tc` | TC |
| `Tv` | TV |
| `Ug` | UG |
| `Ua` | UA |
| `Ae` | AE |
| `Gb` | GB |
| `Us` | US |
| `Um` | UM |
| `Uy` | UY |
| `Uz` | UZ |
| `Vu` | VU |
| `Ve` | VE |
| `Vn` | VN |
| `Vg` | VG |
| `Vi` | VI |
| `Wf` | WF |
| `Eh` | EH |
| `Ye` | YE |
| `Zm` | ZM |
| `Zw` | ZW |
| `Ax` | AX |
| `Bq` | BQ |
| `Cw` | CW |
| `Gg` | GG |
| `Im` | IM |
| `Je` | JE |
| `Me` | ME |
| `Bl` | BL |
| `Mf` | MF |
| `Rs` | RS |
| `Sx` | SX |
| `Ss` | SS |
| `Xk` | XK |

View File

@@ -12,7 +12,7 @@
| `interval` | [operations.GetDevicesByClicksDeprecatedQueryParamInterval](../../models/operations/getdevicesbyclicksdeprecatedqueryparaminterval.md) | :heavy_minus_sign: | The interval to retrieve analytics for. Takes precedence over start and end. If undefined, defaults to 24h. |
| `start` | *string* | :heavy_minus_sign: | The start date and time when to retrieve analytics from. |
| `end` | *string* | :heavy_minus_sign: | The end date and time when to retrieve analytics from. If not provided, defaults to the current date. |
| `country` | [operations.GetDevicesByClicksDeprecatedQueryParamCountry](../../models/operations/getdevicesbyclicksdeprecatedqueryparamcountry.md) | :heavy_minus_sign: | The country to retrieve analytics for. |
| `country` | [components.CountryCode](../../models/components/countrycode.md) | :heavy_minus_sign: | The country to retrieve analytics for. |
| `city` | *string* | :heavy_minus_sign: | The city to retrieve analytics for. |
| `device` | *string* | :heavy_minus_sign: | The device to retrieve analytics for. |
| `browser` | *string* | :heavy_minus_sign: | The browser to retrieve analytics for. |

View File

@@ -1,259 +0,0 @@
# GetDevicesByClicksQueryParamCountry
The country to retrieve analytics for.
## Values
| Name | Value |
| ----- | ----- |
| `Af` | AF |
| `Al` | AL |
| `Dz` | DZ |
| `As` | AS |
| `Ad` | AD |
| `Ao` | AO |
| `Ai` | AI |
| `Aq` | AQ |
| `Ag` | AG |
| `Ar` | AR |
| `Am` | AM |
| `Aw` | AW |
| `Au` | AU |
| `At` | AT |
| `Az` | AZ |
| `Bs` | BS |
| `Bh` | BH |
| `Bd` | BD |
| `Bb` | BB |
| `By` | BY |
| `Be` | BE |
| `Bz` | BZ |
| `Bj` | BJ |
| `Bm` | BM |
| `Bt` | BT |
| `Bo` | BO |
| `Ba` | BA |
| `Bw` | BW |
| `Bv` | BV |
| `Br` | BR |
| `Io` | IO |
| `Bn` | BN |
| `Bg` | BG |
| `Bf` | BF |
| `Bi` | BI |
| `Kh` | KH |
| `Cm` | CM |
| `Ca` | CA |
| `Cv` | CV |
| `Ky` | KY |
| `Cf` | CF |
| `Td` | TD |
| `Cl` | CL |
| `Cn` | CN |
| `Cx` | CX |
| `Cc` | CC |
| `Co` | CO |
| `Km` | KM |
| `Cg` | CG |
| `Cd` | CD |
| `Ck` | CK |
| `Cr` | CR |
| `Ci` | CI |
| `Hr` | HR |
| `Cu` | CU |
| `Cy` | CY |
| `Cz` | CZ |
| `Dk` | DK |
| `Dj` | DJ |
| `Dm` | DM |
| `Do` | DO |
| `Ec` | EC |
| `Eg` | EG |
| `Sv` | SV |
| `Gq` | GQ |
| `Er` | ER |
| `Ee` | EE |
| `Et` | ET |
| `Fk` | FK |
| `Fo` | FO |
| `Fj` | FJ |
| `Fi` | FI |
| `Fr` | FR |
| `Gf` | GF |
| `Pf` | PF |
| `Tf` | TF |
| `Ga` | GA |
| `Gm` | GM |
| `Ge` | GE |
| `De` | DE |
| `Gh` | GH |
| `Gi` | GI |
| `Gr` | GR |
| `Gl` | GL |
| `Gd` | GD |
| `Gp` | GP |
| `Gu` | GU |
| `Gt` | GT |
| `Gn` | GN |
| `Gw` | GW |
| `Gy` | GY |
| `Ht` | HT |
| `Hm` | HM |
| `Va` | VA |
| `Hn` | HN |
| `Hk` | HK |
| `Hu` | HU |
| `Is` | IS |
| `In` | IN |
| `Id` | ID |
| `Ir` | IR |
| `Iq` | IQ |
| `Ie` | IE |
| `Il` | IL |
| `It` | IT |
| `Jm` | JM |
| `Jp` | JP |
| `Jo` | JO |
| `Kz` | KZ |
| `Ke` | KE |
| `Ki` | KI |
| `Kp` | KP |
| `Kr` | KR |
| `Kw` | KW |
| `Kg` | KG |
| `La` | LA |
| `Lv` | LV |
| `Lb` | LB |
| `Ls` | LS |
| `Lr` | LR |
| `Ly` | LY |
| `Li` | LI |
| `Lt` | LT |
| `Lu` | LU |
| `Mo` | MO |
| `Mg` | MG |
| `Mw` | MW |
| `My` | MY |
| `Mv` | MV |
| `Ml` | ML |
| `Mt` | MT |
| `Mh` | MH |
| `Mq` | MQ |
| `Mr` | MR |
| `Mu` | MU |
| `Yt` | YT |
| `Mx` | MX |
| `Fm` | FM |
| `Md` | MD |
| `Mc` | MC |
| `Mn` | MN |
| `Ms` | MS |
| `Ma` | MA |
| `Mz` | MZ |
| `Mm` | MM |
| `Na` | NA |
| `Nr` | NR |
| `Np` | NP |
| `Nl` | NL |
| `Nc` | NC |
| `Nz` | NZ |
| `Ni` | NI |
| `Ne` | NE |
| `Ng` | NG |
| `Nu` | NU |
| `Nf` | NF |
| `Mk` | MK |
| `Mp` | MP |
| `No` | NO |
| `Om` | OM |
| `Pk` | PK |
| `Pw` | PW |
| `Ps` | PS |
| `Pa` | PA |
| `Pg` | PG |
| `Py` | PY |
| `Pe` | PE |
| `Ph` | PH |
| `Pn` | PN |
| `Pl` | PL |
| `Pt` | PT |
| `Pr` | PR |
| `Qa` | QA |
| `Re` | RE |
| `Ro` | RO |
| `Ru` | RU |
| `Rw` | RW |
| `Sh` | SH |
| `Kn` | KN |
| `Lc` | LC |
| `Pm` | PM |
| `Vc` | VC |
| `Ws` | WS |
| `Sm` | SM |
| `St` | ST |
| `Sa` | SA |
| `Sn` | SN |
| `Sc` | SC |
| `Sl` | SL |
| `Sg` | SG |
| `Sk` | SK |
| `Si` | SI |
| `Sb` | SB |
| `So` | SO |
| `Za` | ZA |
| `Gs` | GS |
| `Es` | ES |
| `Lk` | LK |
| `Sd` | SD |
| `Sr` | SR |
| `Sj` | SJ |
| `Sz` | SZ |
| `Se` | SE |
| `Ch` | CH |
| `Sy` | SY |
| `Tw` | TW |
| `Tj` | TJ |
| `Tz` | TZ |
| `Th` | TH |
| `Tl` | TL |
| `Tg` | TG |
| `Tk` | TK |
| `To` | TO |
| `Tt` | TT |
| `Tn` | TN |
| `Tr` | TR |
| `Tm` | TM |
| `Tc` | TC |
| `Tv` | TV |
| `Ug` | UG |
| `Ua` | UA |
| `Ae` | AE |
| `Gb` | GB |
| `Us` | US |
| `Um` | UM |
| `Uy` | UY |
| `Uz` | UZ |
| `Vu` | VU |
| `Ve` | VE |
| `Vn` | VN |
| `Vg` | VG |
| `Vi` | VI |
| `Wf` | WF |
| `Eh` | EH |
| `Ye` | YE |
| `Zm` | ZM |
| `Zw` | ZW |
| `Ax` | AX |
| `Bq` | BQ |
| `Cw` | CW |
| `Gg` | GG |
| `Im` | IM |
| `Je` | JE |
| `Me` | ME |
| `Bl` | BL |
| `Mf` | MF |
| `Rs` | RS |
| `Sx` | SX |
| `Ss` | SS |
| `Xk` | XK |

View File

@@ -12,7 +12,7 @@
| `interval` | [operations.GetDevicesByClicksQueryParamInterval](../../models/operations/getdevicesbyclicksqueryparaminterval.md) | :heavy_minus_sign: | The interval to retrieve analytics for. Takes precedence over start and end. If undefined, defaults to 24h. |
| `start` | *string* | :heavy_minus_sign: | The start date and time when to retrieve analytics from. |
| `end` | *string* | :heavy_minus_sign: | The end date and time when to retrieve analytics from. If not provided, defaults to the current date. |
| `country` | [operations.GetDevicesByClicksQueryParamCountry](../../models/operations/getdevicesbyclicksqueryparamcountry.md) | :heavy_minus_sign: | The country to retrieve analytics for. |
| `country` | [components.CountryCode](../../models/components/countrycode.md) | :heavy_minus_sign: | The country to retrieve analytics for. |
| `city` | *string* | :heavy_minus_sign: | The city to retrieve analytics for. |
| `device` | *string* | :heavy_minus_sign: | The device to retrieve analytics for. |
| `browser` | *string* | :heavy_minus_sign: | The browser to retrieve analytics for. |

View File

@@ -1,259 +0,0 @@
# GetOSByClicksDeprecatedQueryParamCountry
The country to retrieve analytics for.
## Values
| Name | Value |
| ----- | ----- |
| `Af` | AF |
| `Al` | AL |
| `Dz` | DZ |
| `As` | AS |
| `Ad` | AD |
| `Ao` | AO |
| `Ai` | AI |
| `Aq` | AQ |
| `Ag` | AG |
| `Ar` | AR |
| `Am` | AM |
| `Aw` | AW |
| `Au` | AU |
| `At` | AT |
| `Az` | AZ |
| `Bs` | BS |
| `Bh` | BH |
| `Bd` | BD |
| `Bb` | BB |
| `By` | BY |
| `Be` | BE |
| `Bz` | BZ |
| `Bj` | BJ |
| `Bm` | BM |
| `Bt` | BT |
| `Bo` | BO |
| `Ba` | BA |
| `Bw` | BW |
| `Bv` | BV |
| `Br` | BR |
| `Io` | IO |
| `Bn` | BN |
| `Bg` | BG |
| `Bf` | BF |
| `Bi` | BI |
| `Kh` | KH |
| `Cm` | CM |
| `Ca` | CA |
| `Cv` | CV |
| `Ky` | KY |
| `Cf` | CF |
| `Td` | TD |
| `Cl` | CL |
| `Cn` | CN |
| `Cx` | CX |
| `Cc` | CC |
| `Co` | CO |
| `Km` | KM |
| `Cg` | CG |
| `Cd` | CD |
| `Ck` | CK |
| `Cr` | CR |
| `Ci` | CI |
| `Hr` | HR |
| `Cu` | CU |
| `Cy` | CY |
| `Cz` | CZ |
| `Dk` | DK |
| `Dj` | DJ |
| `Dm` | DM |
| `Do` | DO |
| `Ec` | EC |
| `Eg` | EG |
| `Sv` | SV |
| `Gq` | GQ |
| `Er` | ER |
| `Ee` | EE |
| `Et` | ET |
| `Fk` | FK |
| `Fo` | FO |
| `Fj` | FJ |
| `Fi` | FI |
| `Fr` | FR |
| `Gf` | GF |
| `Pf` | PF |
| `Tf` | TF |
| `Ga` | GA |
| `Gm` | GM |
| `Ge` | GE |
| `De` | DE |
| `Gh` | GH |
| `Gi` | GI |
| `Gr` | GR |
| `Gl` | GL |
| `Gd` | GD |
| `Gp` | GP |
| `Gu` | GU |
| `Gt` | GT |
| `Gn` | GN |
| `Gw` | GW |
| `Gy` | GY |
| `Ht` | HT |
| `Hm` | HM |
| `Va` | VA |
| `Hn` | HN |
| `Hk` | HK |
| `Hu` | HU |
| `Is` | IS |
| `In` | IN |
| `Id` | ID |
| `Ir` | IR |
| `Iq` | IQ |
| `Ie` | IE |
| `Il` | IL |
| `It` | IT |
| `Jm` | JM |
| `Jp` | JP |
| `Jo` | JO |
| `Kz` | KZ |
| `Ke` | KE |
| `Ki` | KI |
| `Kp` | KP |
| `Kr` | KR |
| `Kw` | KW |
| `Kg` | KG |
| `La` | LA |
| `Lv` | LV |
| `Lb` | LB |
| `Ls` | LS |
| `Lr` | LR |
| `Ly` | LY |
| `Li` | LI |
| `Lt` | LT |
| `Lu` | LU |
| `Mo` | MO |
| `Mg` | MG |
| `Mw` | MW |
| `My` | MY |
| `Mv` | MV |
| `Ml` | ML |
| `Mt` | MT |
| `Mh` | MH |
| `Mq` | MQ |
| `Mr` | MR |
| `Mu` | MU |
| `Yt` | YT |
| `Mx` | MX |
| `Fm` | FM |
| `Md` | MD |
| `Mc` | MC |
| `Mn` | MN |
| `Ms` | MS |
| `Ma` | MA |
| `Mz` | MZ |
| `Mm` | MM |
| `Na` | NA |
| `Nr` | NR |
| `Np` | NP |
| `Nl` | NL |
| `Nc` | NC |
| `Nz` | NZ |
| `Ni` | NI |
| `Ne` | NE |
| `Ng` | NG |
| `Nu` | NU |
| `Nf` | NF |
| `Mk` | MK |
| `Mp` | MP |
| `No` | NO |
| `Om` | OM |
| `Pk` | PK |
| `Pw` | PW |
| `Ps` | PS |
| `Pa` | PA |
| `Pg` | PG |
| `Py` | PY |
| `Pe` | PE |
| `Ph` | PH |
| `Pn` | PN |
| `Pl` | PL |
| `Pt` | PT |
| `Pr` | PR |
| `Qa` | QA |
| `Re` | RE |
| `Ro` | RO |
| `Ru` | RU |
| `Rw` | RW |
| `Sh` | SH |
| `Kn` | KN |
| `Lc` | LC |
| `Pm` | PM |
| `Vc` | VC |
| `Ws` | WS |
| `Sm` | SM |
| `St` | ST |
| `Sa` | SA |
| `Sn` | SN |
| `Sc` | SC |
| `Sl` | SL |
| `Sg` | SG |
| `Sk` | SK |
| `Si` | SI |
| `Sb` | SB |
| `So` | SO |
| `Za` | ZA |
| `Gs` | GS |
| `Es` | ES |
| `Lk` | LK |
| `Sd` | SD |
| `Sr` | SR |
| `Sj` | SJ |
| `Sz` | SZ |
| `Se` | SE |
| `Ch` | CH |
| `Sy` | SY |
| `Tw` | TW |
| `Tj` | TJ |
| `Tz` | TZ |
| `Th` | TH |
| `Tl` | TL |
| `Tg` | TG |
| `Tk` | TK |
| `To` | TO |
| `Tt` | TT |
| `Tn` | TN |
| `Tr` | TR |
| `Tm` | TM |
| `Tc` | TC |
| `Tv` | TV |
| `Ug` | UG |
| `Ua` | UA |
| `Ae` | AE |
| `Gb` | GB |
| `Us` | US |
| `Um` | UM |
| `Uy` | UY |
| `Uz` | UZ |
| `Vu` | VU |
| `Ve` | VE |
| `Vn` | VN |
| `Vg` | VG |
| `Vi` | VI |
| `Wf` | WF |
| `Eh` | EH |
| `Ye` | YE |
| `Zm` | ZM |
| `Zw` | ZW |
| `Ax` | AX |
| `Bq` | BQ |
| `Cw` | CW |
| `Gg` | GG |
| `Im` | IM |
| `Je` | JE |
| `Me` | ME |
| `Bl` | BL |
| `Mf` | MF |
| `Rs` | RS |
| `Sx` | SX |
| `Ss` | SS |
| `Xk` | XK |

View File

@@ -12,7 +12,7 @@
| `interval` | [operations.GetOSByClicksDeprecatedQueryParamInterval](../../models/operations/getosbyclicksdeprecatedqueryparaminterval.md) | :heavy_minus_sign: | The interval to retrieve analytics for. Takes precedence over start and end. If undefined, defaults to 24h. |
| `start` | *string* | :heavy_minus_sign: | The start date and time when to retrieve analytics from. |
| `end` | *string* | :heavy_minus_sign: | The end date and time when to retrieve analytics from. If not provided, defaults to the current date. |
| `country` | [operations.GetOSByClicksDeprecatedQueryParamCountry](../../models/operations/getosbyclicksdeprecatedqueryparamcountry.md) | :heavy_minus_sign: | The country to retrieve analytics for. |
| `country` | [components.CountryCode](../../models/components/countrycode.md) | :heavy_minus_sign: | The country to retrieve analytics for. |
| `city` | *string* | :heavy_minus_sign: | The city to retrieve analytics for. |
| `device` | *string* | :heavy_minus_sign: | The device to retrieve analytics for. |
| `browser` | *string* | :heavy_minus_sign: | The browser to retrieve analytics for. |

View File

@@ -1,259 +0,0 @@
# GetOSByClicksQueryParamCountry
The country to retrieve analytics for.
## Values
| Name | Value |
| ----- | ----- |
| `Af` | AF |
| `Al` | AL |
| `Dz` | DZ |
| `As` | AS |
| `Ad` | AD |
| `Ao` | AO |
| `Ai` | AI |
| `Aq` | AQ |
| `Ag` | AG |
| `Ar` | AR |
| `Am` | AM |
| `Aw` | AW |
| `Au` | AU |
| `At` | AT |
| `Az` | AZ |
| `Bs` | BS |
| `Bh` | BH |
| `Bd` | BD |
| `Bb` | BB |
| `By` | BY |
| `Be` | BE |
| `Bz` | BZ |
| `Bj` | BJ |
| `Bm` | BM |
| `Bt` | BT |
| `Bo` | BO |
| `Ba` | BA |
| `Bw` | BW |
| `Bv` | BV |
| `Br` | BR |
| `Io` | IO |
| `Bn` | BN |
| `Bg` | BG |
| `Bf` | BF |
| `Bi` | BI |
| `Kh` | KH |
| `Cm` | CM |
| `Ca` | CA |
| `Cv` | CV |
| `Ky` | KY |
| `Cf` | CF |
| `Td` | TD |
| `Cl` | CL |
| `Cn` | CN |
| `Cx` | CX |
| `Cc` | CC |
| `Co` | CO |
| `Km` | KM |
| `Cg` | CG |
| `Cd` | CD |
| `Ck` | CK |
| `Cr` | CR |
| `Ci` | CI |
| `Hr` | HR |
| `Cu` | CU |
| `Cy` | CY |
| `Cz` | CZ |
| `Dk` | DK |
| `Dj` | DJ |
| `Dm` | DM |
| `Do` | DO |
| `Ec` | EC |
| `Eg` | EG |
| `Sv` | SV |
| `Gq` | GQ |
| `Er` | ER |
| `Ee` | EE |
| `Et` | ET |
| `Fk` | FK |
| `Fo` | FO |
| `Fj` | FJ |
| `Fi` | FI |
| `Fr` | FR |
| `Gf` | GF |
| `Pf` | PF |
| `Tf` | TF |
| `Ga` | GA |
| `Gm` | GM |
| `Ge` | GE |
| `De` | DE |
| `Gh` | GH |
| `Gi` | GI |
| `Gr` | GR |
| `Gl` | GL |
| `Gd` | GD |
| `Gp` | GP |
| `Gu` | GU |
| `Gt` | GT |
| `Gn` | GN |
| `Gw` | GW |
| `Gy` | GY |
| `Ht` | HT |
| `Hm` | HM |
| `Va` | VA |
| `Hn` | HN |
| `Hk` | HK |
| `Hu` | HU |
| `Is` | IS |
| `In` | IN |
| `Id` | ID |
| `Ir` | IR |
| `Iq` | IQ |
| `Ie` | IE |
| `Il` | IL |
| `It` | IT |
| `Jm` | JM |
| `Jp` | JP |
| `Jo` | JO |
| `Kz` | KZ |
| `Ke` | KE |
| `Ki` | KI |
| `Kp` | KP |
| `Kr` | KR |
| `Kw` | KW |
| `Kg` | KG |
| `La` | LA |
| `Lv` | LV |
| `Lb` | LB |
| `Ls` | LS |
| `Lr` | LR |
| `Ly` | LY |
| `Li` | LI |
| `Lt` | LT |
| `Lu` | LU |
| `Mo` | MO |
| `Mg` | MG |
| `Mw` | MW |
| `My` | MY |
| `Mv` | MV |
| `Ml` | ML |
| `Mt` | MT |
| `Mh` | MH |
| `Mq` | MQ |
| `Mr` | MR |
| `Mu` | MU |
| `Yt` | YT |
| `Mx` | MX |
| `Fm` | FM |
| `Md` | MD |
| `Mc` | MC |
| `Mn` | MN |
| `Ms` | MS |
| `Ma` | MA |
| `Mz` | MZ |
| `Mm` | MM |
| `Na` | NA |
| `Nr` | NR |
| `Np` | NP |
| `Nl` | NL |
| `Nc` | NC |
| `Nz` | NZ |
| `Ni` | NI |
| `Ne` | NE |
| `Ng` | NG |
| `Nu` | NU |
| `Nf` | NF |
| `Mk` | MK |
| `Mp` | MP |
| `No` | NO |
| `Om` | OM |
| `Pk` | PK |
| `Pw` | PW |
| `Ps` | PS |
| `Pa` | PA |
| `Pg` | PG |
| `Py` | PY |
| `Pe` | PE |
| `Ph` | PH |
| `Pn` | PN |
| `Pl` | PL |
| `Pt` | PT |
| `Pr` | PR |
| `Qa` | QA |
| `Re` | RE |
| `Ro` | RO |
| `Ru` | RU |
| `Rw` | RW |
| `Sh` | SH |
| `Kn` | KN |
| `Lc` | LC |
| `Pm` | PM |
| `Vc` | VC |
| `Ws` | WS |
| `Sm` | SM |
| `St` | ST |
| `Sa` | SA |
| `Sn` | SN |
| `Sc` | SC |
| `Sl` | SL |
| `Sg` | SG |
| `Sk` | SK |
| `Si` | SI |
| `Sb` | SB |
| `So` | SO |
| `Za` | ZA |
| `Gs` | GS |
| `Es` | ES |
| `Lk` | LK |
| `Sd` | SD |
| `Sr` | SR |
| `Sj` | SJ |
| `Sz` | SZ |
| `Se` | SE |
| `Ch` | CH |
| `Sy` | SY |
| `Tw` | TW |
| `Tj` | TJ |
| `Tz` | TZ |
| `Th` | TH |
| `Tl` | TL |
| `Tg` | TG |
| `Tk` | TK |
| `To` | TO |
| `Tt` | TT |
| `Tn` | TN |
| `Tr` | TR |
| `Tm` | TM |
| `Tc` | TC |
| `Tv` | TV |
| `Ug` | UG |
| `Ua` | UA |
| `Ae` | AE |
| `Gb` | GB |
| `Us` | US |
| `Um` | UM |
| `Uy` | UY |
| `Uz` | UZ |
| `Vu` | VU |
| `Ve` | VE |
| `Vn` | VN |
| `Vg` | VG |
| `Vi` | VI |
| `Wf` | WF |
| `Eh` | EH |
| `Ye` | YE |
| `Zm` | ZM |
| `Zw` | ZW |
| `Ax` | AX |
| `Bq` | BQ |
| `Cw` | CW |
| `Gg` | GG |
| `Im` | IM |
| `Je` | JE |
| `Me` | ME |
| `Bl` | BL |
| `Mf` | MF |
| `Rs` | RS |
| `Sx` | SX |
| `Ss` | SS |
| `Xk` | XK |

View File

@@ -12,7 +12,7 @@
| `interval` | [operations.GetOSByClicksQueryParamInterval](../../models/operations/getosbyclicksqueryparaminterval.md) | :heavy_minus_sign: | The interval to retrieve analytics for. Takes precedence over start and end. If undefined, defaults to 24h. |
| `start` | *string* | :heavy_minus_sign: | The start date and time when to retrieve analytics from. |
| `end` | *string* | :heavy_minus_sign: | The end date and time when to retrieve analytics from. If not provided, defaults to the current date. |
| `country` | [operations.GetOSByClicksQueryParamCountry](../../models/operations/getosbyclicksqueryparamcountry.md) | :heavy_minus_sign: | The country to retrieve analytics for. |
| `country` | [components.CountryCode](../../models/components/countrycode.md) | :heavy_minus_sign: | The country to retrieve analytics for. |
| `city` | *string* | :heavy_minus_sign: | The city to retrieve analytics for. |
| `device` | *string* | :heavy_minus_sign: | The device to retrieve analytics for. |
| `browser` | *string* | :heavy_minus_sign: | The browser to retrieve analytics for. |

View File

@@ -1,259 +0,0 @@
# GetReferersByClicksDeprecatedQueryParamCountry
The country to retrieve analytics for.
## Values
| Name | Value |
| ----- | ----- |
| `Af` | AF |
| `Al` | AL |
| `Dz` | DZ |
| `As` | AS |
| `Ad` | AD |
| `Ao` | AO |
| `Ai` | AI |
| `Aq` | AQ |
| `Ag` | AG |
| `Ar` | AR |
| `Am` | AM |
| `Aw` | AW |
| `Au` | AU |
| `At` | AT |
| `Az` | AZ |
| `Bs` | BS |
| `Bh` | BH |
| `Bd` | BD |
| `Bb` | BB |
| `By` | BY |
| `Be` | BE |
| `Bz` | BZ |
| `Bj` | BJ |
| `Bm` | BM |
| `Bt` | BT |
| `Bo` | BO |
| `Ba` | BA |
| `Bw` | BW |
| `Bv` | BV |
| `Br` | BR |
| `Io` | IO |
| `Bn` | BN |
| `Bg` | BG |
| `Bf` | BF |
| `Bi` | BI |
| `Kh` | KH |
| `Cm` | CM |
| `Ca` | CA |
| `Cv` | CV |
| `Ky` | KY |
| `Cf` | CF |
| `Td` | TD |
| `Cl` | CL |
| `Cn` | CN |
| `Cx` | CX |
| `Cc` | CC |
| `Co` | CO |
| `Km` | KM |
| `Cg` | CG |
| `Cd` | CD |
| `Ck` | CK |
| `Cr` | CR |
| `Ci` | CI |
| `Hr` | HR |
| `Cu` | CU |
| `Cy` | CY |
| `Cz` | CZ |
| `Dk` | DK |
| `Dj` | DJ |
| `Dm` | DM |
| `Do` | DO |
| `Ec` | EC |
| `Eg` | EG |
| `Sv` | SV |
| `Gq` | GQ |
| `Er` | ER |
| `Ee` | EE |
| `Et` | ET |
| `Fk` | FK |
| `Fo` | FO |
| `Fj` | FJ |
| `Fi` | FI |
| `Fr` | FR |
| `Gf` | GF |
| `Pf` | PF |
| `Tf` | TF |
| `Ga` | GA |
| `Gm` | GM |
| `Ge` | GE |
| `De` | DE |
| `Gh` | GH |
| `Gi` | GI |
| `Gr` | GR |
| `Gl` | GL |
| `Gd` | GD |
| `Gp` | GP |
| `Gu` | GU |
| `Gt` | GT |
| `Gn` | GN |
| `Gw` | GW |
| `Gy` | GY |
| `Ht` | HT |
| `Hm` | HM |
| `Va` | VA |
| `Hn` | HN |
| `Hk` | HK |
| `Hu` | HU |
| `Is` | IS |
| `In` | IN |
| `Id` | ID |
| `Ir` | IR |
| `Iq` | IQ |
| `Ie` | IE |
| `Il` | IL |
| `It` | IT |
| `Jm` | JM |
| `Jp` | JP |
| `Jo` | JO |
| `Kz` | KZ |
| `Ke` | KE |
| `Ki` | KI |
| `Kp` | KP |
| `Kr` | KR |
| `Kw` | KW |
| `Kg` | KG |
| `La` | LA |
| `Lv` | LV |
| `Lb` | LB |
| `Ls` | LS |
| `Lr` | LR |
| `Ly` | LY |
| `Li` | LI |
| `Lt` | LT |
| `Lu` | LU |
| `Mo` | MO |
| `Mg` | MG |
| `Mw` | MW |
| `My` | MY |
| `Mv` | MV |
| `Ml` | ML |
| `Mt` | MT |
| `Mh` | MH |
| `Mq` | MQ |
| `Mr` | MR |
| `Mu` | MU |
| `Yt` | YT |
| `Mx` | MX |
| `Fm` | FM |
| `Md` | MD |
| `Mc` | MC |
| `Mn` | MN |
| `Ms` | MS |
| `Ma` | MA |
| `Mz` | MZ |
| `Mm` | MM |
| `Na` | NA |
| `Nr` | NR |
| `Np` | NP |
| `Nl` | NL |
| `Nc` | NC |
| `Nz` | NZ |
| `Ni` | NI |
| `Ne` | NE |
| `Ng` | NG |
| `Nu` | NU |
| `Nf` | NF |
| `Mk` | MK |
| `Mp` | MP |
| `No` | NO |
| `Om` | OM |
| `Pk` | PK |
| `Pw` | PW |
| `Ps` | PS |
| `Pa` | PA |
| `Pg` | PG |
| `Py` | PY |
| `Pe` | PE |
| `Ph` | PH |
| `Pn` | PN |
| `Pl` | PL |
| `Pt` | PT |
| `Pr` | PR |
| `Qa` | QA |
| `Re` | RE |
| `Ro` | RO |
| `Ru` | RU |
| `Rw` | RW |
| `Sh` | SH |
| `Kn` | KN |
| `Lc` | LC |
| `Pm` | PM |
| `Vc` | VC |
| `Ws` | WS |
| `Sm` | SM |
| `St` | ST |
| `Sa` | SA |
| `Sn` | SN |
| `Sc` | SC |
| `Sl` | SL |
| `Sg` | SG |
| `Sk` | SK |
| `Si` | SI |
| `Sb` | SB |
| `So` | SO |
| `Za` | ZA |
| `Gs` | GS |
| `Es` | ES |
| `Lk` | LK |
| `Sd` | SD |
| `Sr` | SR |
| `Sj` | SJ |
| `Sz` | SZ |
| `Se` | SE |
| `Ch` | CH |
| `Sy` | SY |
| `Tw` | TW |
| `Tj` | TJ |
| `Tz` | TZ |
| `Th` | TH |
| `Tl` | TL |
| `Tg` | TG |
| `Tk` | TK |
| `To` | TO |
| `Tt` | TT |
| `Tn` | TN |
| `Tr` | TR |
| `Tm` | TM |
| `Tc` | TC |
| `Tv` | TV |
| `Ug` | UG |
| `Ua` | UA |
| `Ae` | AE |
| `Gb` | GB |
| `Us` | US |
| `Um` | UM |
| `Uy` | UY |
| `Uz` | UZ |
| `Vu` | VU |
| `Ve` | VE |
| `Vn` | VN |
| `Vg` | VG |
| `Vi` | VI |
| `Wf` | WF |
| `Eh` | EH |
| `Ye` | YE |
| `Zm` | ZM |
| `Zw` | ZW |
| `Ax` | AX |
| `Bq` | BQ |
| `Cw` | CW |
| `Gg` | GG |
| `Im` | IM |
| `Je` | JE |
| `Me` | ME |
| `Bl` | BL |
| `Mf` | MF |
| `Rs` | RS |
| `Sx` | SX |
| `Ss` | SS |
| `Xk` | XK |

View File

@@ -12,7 +12,7 @@
| `interval` | [operations.GetReferersByClicksDeprecatedQueryParamInterval](../../models/operations/getreferersbyclicksdeprecatedqueryparaminterval.md) | :heavy_minus_sign: | The interval to retrieve analytics for. Takes precedence over start and end. If undefined, defaults to 24h. |
| `start` | *string* | :heavy_minus_sign: | The start date and time when to retrieve analytics from. |
| `end` | *string* | :heavy_minus_sign: | The end date and time when to retrieve analytics from. If not provided, defaults to the current date. |
| `country` | [operations.GetReferersByClicksDeprecatedQueryParamCountry](../../models/operations/getreferersbyclicksdeprecatedqueryparamcountry.md) | :heavy_minus_sign: | The country to retrieve analytics for. |
| `country` | [components.CountryCode](../../models/components/countrycode.md) | :heavy_minus_sign: | The country to retrieve analytics for. |
| `city` | *string* | :heavy_minus_sign: | The city to retrieve analytics for. |
| `device` | *string* | :heavy_minus_sign: | The device to retrieve analytics for. |
| `browser` | *string* | :heavy_minus_sign: | The browser to retrieve analytics for. |

View File

@@ -1,259 +0,0 @@
# GetReferersByClicksQueryParamCountry
The country to retrieve analytics for.
## Values
| Name | Value |
| ----- | ----- |
| `Af` | AF |
| `Al` | AL |
| `Dz` | DZ |
| `As` | AS |
| `Ad` | AD |
| `Ao` | AO |
| `Ai` | AI |
| `Aq` | AQ |
| `Ag` | AG |
| `Ar` | AR |
| `Am` | AM |
| `Aw` | AW |
| `Au` | AU |
| `At` | AT |
| `Az` | AZ |
| `Bs` | BS |
| `Bh` | BH |
| `Bd` | BD |
| `Bb` | BB |
| `By` | BY |
| `Be` | BE |
| `Bz` | BZ |
| `Bj` | BJ |
| `Bm` | BM |
| `Bt` | BT |
| `Bo` | BO |
| `Ba` | BA |
| `Bw` | BW |
| `Bv` | BV |
| `Br` | BR |
| `Io` | IO |
| `Bn` | BN |
| `Bg` | BG |
| `Bf` | BF |
| `Bi` | BI |
| `Kh` | KH |
| `Cm` | CM |
| `Ca` | CA |
| `Cv` | CV |
| `Ky` | KY |
| `Cf` | CF |
| `Td` | TD |
| `Cl` | CL |
| `Cn` | CN |
| `Cx` | CX |
| `Cc` | CC |
| `Co` | CO |
| `Km` | KM |
| `Cg` | CG |
| `Cd` | CD |
| `Ck` | CK |
| `Cr` | CR |
| `Ci` | CI |
| `Hr` | HR |
| `Cu` | CU |
| `Cy` | CY |
| `Cz` | CZ |
| `Dk` | DK |
| `Dj` | DJ |
| `Dm` | DM |
| `Do` | DO |
| `Ec` | EC |
| `Eg` | EG |
| `Sv` | SV |
| `Gq` | GQ |
| `Er` | ER |
| `Ee` | EE |
| `Et` | ET |
| `Fk` | FK |
| `Fo` | FO |
| `Fj` | FJ |
| `Fi` | FI |
| `Fr` | FR |
| `Gf` | GF |
| `Pf` | PF |
| `Tf` | TF |
| `Ga` | GA |
| `Gm` | GM |
| `Ge` | GE |
| `De` | DE |
| `Gh` | GH |
| `Gi` | GI |
| `Gr` | GR |
| `Gl` | GL |
| `Gd` | GD |
| `Gp` | GP |
| `Gu` | GU |
| `Gt` | GT |
| `Gn` | GN |
| `Gw` | GW |
| `Gy` | GY |
| `Ht` | HT |
| `Hm` | HM |
| `Va` | VA |
| `Hn` | HN |
| `Hk` | HK |
| `Hu` | HU |
| `Is` | IS |
| `In` | IN |
| `Id` | ID |
| `Ir` | IR |
| `Iq` | IQ |
| `Ie` | IE |
| `Il` | IL |
| `It` | IT |
| `Jm` | JM |
| `Jp` | JP |
| `Jo` | JO |
| `Kz` | KZ |
| `Ke` | KE |
| `Ki` | KI |
| `Kp` | KP |
| `Kr` | KR |
| `Kw` | KW |
| `Kg` | KG |
| `La` | LA |
| `Lv` | LV |
| `Lb` | LB |
| `Ls` | LS |
| `Lr` | LR |
| `Ly` | LY |
| `Li` | LI |
| `Lt` | LT |
| `Lu` | LU |
| `Mo` | MO |
| `Mg` | MG |
| `Mw` | MW |
| `My` | MY |
| `Mv` | MV |
| `Ml` | ML |
| `Mt` | MT |
| `Mh` | MH |
| `Mq` | MQ |
| `Mr` | MR |
| `Mu` | MU |
| `Yt` | YT |
| `Mx` | MX |
| `Fm` | FM |
| `Md` | MD |
| `Mc` | MC |
| `Mn` | MN |
| `Ms` | MS |
| `Ma` | MA |
| `Mz` | MZ |
| `Mm` | MM |
| `Na` | NA |
| `Nr` | NR |
| `Np` | NP |
| `Nl` | NL |
| `Nc` | NC |
| `Nz` | NZ |
| `Ni` | NI |
| `Ne` | NE |
| `Ng` | NG |
| `Nu` | NU |
| `Nf` | NF |
| `Mk` | MK |
| `Mp` | MP |
| `No` | NO |
| `Om` | OM |
| `Pk` | PK |
| `Pw` | PW |
| `Ps` | PS |
| `Pa` | PA |
| `Pg` | PG |
| `Py` | PY |
| `Pe` | PE |
| `Ph` | PH |
| `Pn` | PN |
| `Pl` | PL |
| `Pt` | PT |
| `Pr` | PR |
| `Qa` | QA |
| `Re` | RE |
| `Ro` | RO |
| `Ru` | RU |
| `Rw` | RW |
| `Sh` | SH |
| `Kn` | KN |
| `Lc` | LC |
| `Pm` | PM |
| `Vc` | VC |
| `Ws` | WS |
| `Sm` | SM |
| `St` | ST |
| `Sa` | SA |
| `Sn` | SN |
| `Sc` | SC |
| `Sl` | SL |
| `Sg` | SG |
| `Sk` | SK |
| `Si` | SI |
| `Sb` | SB |
| `So` | SO |
| `Za` | ZA |
| `Gs` | GS |
| `Es` | ES |
| `Lk` | LK |
| `Sd` | SD |
| `Sr` | SR |
| `Sj` | SJ |
| `Sz` | SZ |
| `Se` | SE |
| `Ch` | CH |
| `Sy` | SY |
| `Tw` | TW |
| `Tj` | TJ |
| `Tz` | TZ |
| `Th` | TH |
| `Tl` | TL |
| `Tg` | TG |
| `Tk` | TK |
| `To` | TO |
| `Tt` | TT |
| `Tn` | TN |
| `Tr` | TR |
| `Tm` | TM |
| `Tc` | TC |
| `Tv` | TV |
| `Ug` | UG |
| `Ua` | UA |
| `Ae` | AE |
| `Gb` | GB |
| `Us` | US |
| `Um` | UM |
| `Uy` | UY |
| `Uz` | UZ |
| `Vu` | VU |
| `Ve` | VE |
| `Vn` | VN |
| `Vg` | VG |
| `Vi` | VI |
| `Wf` | WF |
| `Eh` | EH |
| `Ye` | YE |
| `Zm` | ZM |
| `Zw` | ZW |
| `Ax` | AX |
| `Bq` | BQ |
| `Cw` | CW |
| `Gg` | GG |
| `Im` | IM |
| `Je` | JE |
| `Me` | ME |
| `Bl` | BL |
| `Mf` | MF |
| `Rs` | RS |
| `Sx` | SX |
| `Ss` | SS |
| `Xk` | XK |

View File

@@ -12,7 +12,7 @@
| `interval` | [operations.GetReferersByClicksQueryParamInterval](../../models/operations/getreferersbyclicksqueryparaminterval.md) | :heavy_minus_sign: | The interval to retrieve analytics for. Takes precedence over start and end. If undefined, defaults to 24h. |
| `start` | *string* | :heavy_minus_sign: | The start date and time when to retrieve analytics from. |
| `end` | *string* | :heavy_minus_sign: | The end date and time when to retrieve analytics from. If not provided, defaults to the current date. |
| `country` | [operations.GetReferersByClicksQueryParamCountry](../../models/operations/getreferersbyclicksqueryparamcountry.md) | :heavy_minus_sign: | The country to retrieve analytics for. |
| `country` | [components.CountryCode](../../models/components/countrycode.md) | :heavy_minus_sign: | The country to retrieve analytics for. |
| `city` | *string* | :heavy_minus_sign: | The city to retrieve analytics for. |
| `device` | *string* | :heavy_minus_sign: | The device to retrieve analytics for. |
| `browser` | *string* | :heavy_minus_sign: | The browser to retrieve analytics for. |

View File

@@ -1,259 +0,0 @@
# GetTimeseriesByClicksDeprecatedQueryParamCountry
The country to retrieve analytics for.
## Values
| Name | Value |
| ----- | ----- |
| `Af` | AF |
| `Al` | AL |
| `Dz` | DZ |
| `As` | AS |
| `Ad` | AD |
| `Ao` | AO |
| `Ai` | AI |
| `Aq` | AQ |
| `Ag` | AG |
| `Ar` | AR |
| `Am` | AM |
| `Aw` | AW |
| `Au` | AU |
| `At` | AT |
| `Az` | AZ |
| `Bs` | BS |
| `Bh` | BH |
| `Bd` | BD |
| `Bb` | BB |
| `By` | BY |
| `Be` | BE |
| `Bz` | BZ |
| `Bj` | BJ |
| `Bm` | BM |
| `Bt` | BT |
| `Bo` | BO |
| `Ba` | BA |
| `Bw` | BW |
| `Bv` | BV |
| `Br` | BR |
| `Io` | IO |
| `Bn` | BN |
| `Bg` | BG |
| `Bf` | BF |
| `Bi` | BI |
| `Kh` | KH |
| `Cm` | CM |
| `Ca` | CA |
| `Cv` | CV |
| `Ky` | KY |
| `Cf` | CF |
| `Td` | TD |
| `Cl` | CL |
| `Cn` | CN |
| `Cx` | CX |
| `Cc` | CC |
| `Co` | CO |
| `Km` | KM |
| `Cg` | CG |
| `Cd` | CD |
| `Ck` | CK |
| `Cr` | CR |
| `Ci` | CI |
| `Hr` | HR |
| `Cu` | CU |
| `Cy` | CY |
| `Cz` | CZ |
| `Dk` | DK |
| `Dj` | DJ |
| `Dm` | DM |
| `Do` | DO |
| `Ec` | EC |
| `Eg` | EG |
| `Sv` | SV |
| `Gq` | GQ |
| `Er` | ER |
| `Ee` | EE |
| `Et` | ET |
| `Fk` | FK |
| `Fo` | FO |
| `Fj` | FJ |
| `Fi` | FI |
| `Fr` | FR |
| `Gf` | GF |
| `Pf` | PF |
| `Tf` | TF |
| `Ga` | GA |
| `Gm` | GM |
| `Ge` | GE |
| `De` | DE |
| `Gh` | GH |
| `Gi` | GI |
| `Gr` | GR |
| `Gl` | GL |
| `Gd` | GD |
| `Gp` | GP |
| `Gu` | GU |
| `Gt` | GT |
| `Gn` | GN |
| `Gw` | GW |
| `Gy` | GY |
| `Ht` | HT |
| `Hm` | HM |
| `Va` | VA |
| `Hn` | HN |
| `Hk` | HK |
| `Hu` | HU |
| `Is` | IS |
| `In` | IN |
| `Id` | ID |
| `Ir` | IR |
| `Iq` | IQ |
| `Ie` | IE |
| `Il` | IL |
| `It` | IT |
| `Jm` | JM |
| `Jp` | JP |
| `Jo` | JO |
| `Kz` | KZ |
| `Ke` | KE |
| `Ki` | KI |
| `Kp` | KP |
| `Kr` | KR |
| `Kw` | KW |
| `Kg` | KG |
| `La` | LA |
| `Lv` | LV |
| `Lb` | LB |
| `Ls` | LS |
| `Lr` | LR |
| `Ly` | LY |
| `Li` | LI |
| `Lt` | LT |
| `Lu` | LU |
| `Mo` | MO |
| `Mg` | MG |
| `Mw` | MW |
| `My` | MY |
| `Mv` | MV |
| `Ml` | ML |
| `Mt` | MT |
| `Mh` | MH |
| `Mq` | MQ |
| `Mr` | MR |
| `Mu` | MU |
| `Yt` | YT |
| `Mx` | MX |
| `Fm` | FM |
| `Md` | MD |
| `Mc` | MC |
| `Mn` | MN |
| `Ms` | MS |
| `Ma` | MA |
| `Mz` | MZ |
| `Mm` | MM |
| `Na` | NA |
| `Nr` | NR |
| `Np` | NP |
| `Nl` | NL |
| `Nc` | NC |
| `Nz` | NZ |
| `Ni` | NI |
| `Ne` | NE |
| `Ng` | NG |
| `Nu` | NU |
| `Nf` | NF |
| `Mk` | MK |
| `Mp` | MP |
| `No` | NO |
| `Om` | OM |
| `Pk` | PK |
| `Pw` | PW |
| `Ps` | PS |
| `Pa` | PA |
| `Pg` | PG |
| `Py` | PY |
| `Pe` | PE |
| `Ph` | PH |
| `Pn` | PN |
| `Pl` | PL |
| `Pt` | PT |
| `Pr` | PR |
| `Qa` | QA |
| `Re` | RE |
| `Ro` | RO |
| `Ru` | RU |
| `Rw` | RW |
| `Sh` | SH |
| `Kn` | KN |
| `Lc` | LC |
| `Pm` | PM |
| `Vc` | VC |
| `Ws` | WS |
| `Sm` | SM |
| `St` | ST |
| `Sa` | SA |
| `Sn` | SN |
| `Sc` | SC |
| `Sl` | SL |
| `Sg` | SG |
| `Sk` | SK |
| `Si` | SI |
| `Sb` | SB |
| `So` | SO |
| `Za` | ZA |
| `Gs` | GS |
| `Es` | ES |
| `Lk` | LK |
| `Sd` | SD |
| `Sr` | SR |
| `Sj` | SJ |
| `Sz` | SZ |
| `Se` | SE |
| `Ch` | CH |
| `Sy` | SY |
| `Tw` | TW |
| `Tj` | TJ |
| `Tz` | TZ |
| `Th` | TH |
| `Tl` | TL |
| `Tg` | TG |
| `Tk` | TK |
| `To` | TO |
| `Tt` | TT |
| `Tn` | TN |
| `Tr` | TR |
| `Tm` | TM |
| `Tc` | TC |
| `Tv` | TV |
| `Ug` | UG |
| `Ua` | UA |
| `Ae` | AE |
| `Gb` | GB |
| `Us` | US |
| `Um` | UM |
| `Uy` | UY |
| `Uz` | UZ |
| `Vu` | VU |
| `Ve` | VE |
| `Vn` | VN |
| `Vg` | VG |
| `Vi` | VI |
| `Wf` | WF |
| `Eh` | EH |
| `Ye` | YE |
| `Zm` | ZM |
| `Zw` | ZW |
| `Ax` | AX |
| `Bq` | BQ |
| `Cw` | CW |
| `Gg` | GG |
| `Im` | IM |
| `Je` | JE |
| `Me` | ME |
| `Bl` | BL |
| `Mf` | MF |
| `Rs` | RS |
| `Sx` | SX |
| `Ss` | SS |
| `Xk` | XK |

View File

@@ -12,7 +12,7 @@
| `interval` | [operations.GetTimeseriesByClicksDeprecatedQueryParamInterval](../../models/operations/gettimeseriesbyclicksdeprecatedqueryparaminterval.md) | :heavy_minus_sign: | The interval to retrieve analytics for. Takes precedence over start and end. If undefined, defaults to 24h. |
| `start` | *string* | :heavy_minus_sign: | The start date and time when to retrieve analytics from. |
| `end` | *string* | :heavy_minus_sign: | The end date and time when to retrieve analytics from. If not provided, defaults to the current date. |
| `country` | [operations.GetTimeseriesByClicksDeprecatedQueryParamCountry](../../models/operations/gettimeseriesbyclicksdeprecatedqueryparamcountry.md) | :heavy_minus_sign: | The country to retrieve analytics for. |
| `country` | [components.CountryCode](../../models/components/countrycode.md) | :heavy_minus_sign: | The country to retrieve analytics for. |
| `city` | *string* | :heavy_minus_sign: | The city to retrieve analytics for. |
| `device` | *string* | :heavy_minus_sign: | The device to retrieve analytics for. |
| `browser` | *string* | :heavy_minus_sign: | The browser to retrieve analytics for. |

View File

@@ -12,7 +12,7 @@
| `interval` | [operations.QueryParamInterval](../../models/operations/queryparaminterval.md) | :heavy_minus_sign: | The interval to retrieve analytics for. Takes precedence over start and end. If undefined, defaults to 24h. |
| `start` | *string* | :heavy_minus_sign: | The start date and time when to retrieve analytics from. |
| `end` | *string* | :heavy_minus_sign: | The end date and time when to retrieve analytics from. If not provided, defaults to the current date. |
| `country` | [operations.QueryParamCountry](../../models/operations/queryparamcountry.md) | :heavy_minus_sign: | The country to retrieve analytics for. |
| `country` | [components.CountryCode](../../models/components/countrycode.md) | :heavy_minus_sign: | The country to retrieve analytics for. |
| `city` | *string* | :heavy_minus_sign: | The city to retrieve analytics for. |
| `device` | *string* | :heavy_minus_sign: | The device to retrieve analytics for. |
| `browser` | *string* | :heavy_minus_sign: | The browser to retrieve analytics for. |

View File

@@ -1,259 +0,0 @@
# GetTopLinksByClicksDeprecatedQueryParamCountry
The country to retrieve analytics for.
## Values
| Name | Value |
| ----- | ----- |
| `Af` | AF |
| `Al` | AL |
| `Dz` | DZ |
| `As` | AS |
| `Ad` | AD |
| `Ao` | AO |
| `Ai` | AI |
| `Aq` | AQ |
| `Ag` | AG |
| `Ar` | AR |
| `Am` | AM |
| `Aw` | AW |
| `Au` | AU |
| `At` | AT |
| `Az` | AZ |
| `Bs` | BS |
| `Bh` | BH |
| `Bd` | BD |
| `Bb` | BB |
| `By` | BY |
| `Be` | BE |
| `Bz` | BZ |
| `Bj` | BJ |
| `Bm` | BM |
| `Bt` | BT |
| `Bo` | BO |
| `Ba` | BA |
| `Bw` | BW |
| `Bv` | BV |
| `Br` | BR |
| `Io` | IO |
| `Bn` | BN |
| `Bg` | BG |
| `Bf` | BF |
| `Bi` | BI |
| `Kh` | KH |
| `Cm` | CM |
| `Ca` | CA |
| `Cv` | CV |
| `Ky` | KY |
| `Cf` | CF |
| `Td` | TD |
| `Cl` | CL |
| `Cn` | CN |
| `Cx` | CX |
| `Cc` | CC |
| `Co` | CO |
| `Km` | KM |
| `Cg` | CG |
| `Cd` | CD |
| `Ck` | CK |
| `Cr` | CR |
| `Ci` | CI |
| `Hr` | HR |
| `Cu` | CU |
| `Cy` | CY |
| `Cz` | CZ |
| `Dk` | DK |
| `Dj` | DJ |
| `Dm` | DM |
| `Do` | DO |
| `Ec` | EC |
| `Eg` | EG |
| `Sv` | SV |
| `Gq` | GQ |
| `Er` | ER |
| `Ee` | EE |
| `Et` | ET |
| `Fk` | FK |
| `Fo` | FO |
| `Fj` | FJ |
| `Fi` | FI |
| `Fr` | FR |
| `Gf` | GF |
| `Pf` | PF |
| `Tf` | TF |
| `Ga` | GA |
| `Gm` | GM |
| `Ge` | GE |
| `De` | DE |
| `Gh` | GH |
| `Gi` | GI |
| `Gr` | GR |
| `Gl` | GL |
| `Gd` | GD |
| `Gp` | GP |
| `Gu` | GU |
| `Gt` | GT |
| `Gn` | GN |
| `Gw` | GW |
| `Gy` | GY |
| `Ht` | HT |
| `Hm` | HM |
| `Va` | VA |
| `Hn` | HN |
| `Hk` | HK |
| `Hu` | HU |
| `Is` | IS |
| `In` | IN |
| `Id` | ID |
| `Ir` | IR |
| `Iq` | IQ |
| `Ie` | IE |
| `Il` | IL |
| `It` | IT |
| `Jm` | JM |
| `Jp` | JP |
| `Jo` | JO |
| `Kz` | KZ |
| `Ke` | KE |
| `Ki` | KI |
| `Kp` | KP |
| `Kr` | KR |
| `Kw` | KW |
| `Kg` | KG |
| `La` | LA |
| `Lv` | LV |
| `Lb` | LB |
| `Ls` | LS |
| `Lr` | LR |
| `Ly` | LY |
| `Li` | LI |
| `Lt` | LT |
| `Lu` | LU |
| `Mo` | MO |
| `Mg` | MG |
| `Mw` | MW |
| `My` | MY |
| `Mv` | MV |
| `Ml` | ML |
| `Mt` | MT |
| `Mh` | MH |
| `Mq` | MQ |
| `Mr` | MR |
| `Mu` | MU |
| `Yt` | YT |
| `Mx` | MX |
| `Fm` | FM |
| `Md` | MD |
| `Mc` | MC |
| `Mn` | MN |
| `Ms` | MS |
| `Ma` | MA |
| `Mz` | MZ |
| `Mm` | MM |
| `Na` | NA |
| `Nr` | NR |
| `Np` | NP |
| `Nl` | NL |
| `Nc` | NC |
| `Nz` | NZ |
| `Ni` | NI |
| `Ne` | NE |
| `Ng` | NG |
| `Nu` | NU |
| `Nf` | NF |
| `Mk` | MK |
| `Mp` | MP |
| `No` | NO |
| `Om` | OM |
| `Pk` | PK |
| `Pw` | PW |
| `Ps` | PS |
| `Pa` | PA |
| `Pg` | PG |
| `Py` | PY |
| `Pe` | PE |
| `Ph` | PH |
| `Pn` | PN |
| `Pl` | PL |
| `Pt` | PT |
| `Pr` | PR |
| `Qa` | QA |
| `Re` | RE |
| `Ro` | RO |
| `Ru` | RU |
| `Rw` | RW |
| `Sh` | SH |
| `Kn` | KN |
| `Lc` | LC |
| `Pm` | PM |
| `Vc` | VC |
| `Ws` | WS |
| `Sm` | SM |
| `St` | ST |
| `Sa` | SA |
| `Sn` | SN |
| `Sc` | SC |
| `Sl` | SL |
| `Sg` | SG |
| `Sk` | SK |
| `Si` | SI |
| `Sb` | SB |
| `So` | SO |
| `Za` | ZA |
| `Gs` | GS |
| `Es` | ES |
| `Lk` | LK |
| `Sd` | SD |
| `Sr` | SR |
| `Sj` | SJ |
| `Sz` | SZ |
| `Se` | SE |
| `Ch` | CH |
| `Sy` | SY |
| `Tw` | TW |
| `Tj` | TJ |
| `Tz` | TZ |
| `Th` | TH |
| `Tl` | TL |
| `Tg` | TG |
| `Tk` | TK |
| `To` | TO |
| `Tt` | TT |
| `Tn` | TN |
| `Tr` | TR |
| `Tm` | TM |
| `Tc` | TC |
| `Tv` | TV |
| `Ug` | UG |
| `Ua` | UA |
| `Ae` | AE |
| `Gb` | GB |
| `Us` | US |
| `Um` | UM |
| `Uy` | UY |
| `Uz` | UZ |
| `Vu` | VU |
| `Ve` | VE |
| `Vn` | VN |
| `Vg` | VG |
| `Vi` | VI |
| `Wf` | WF |
| `Eh` | EH |
| `Ye` | YE |
| `Zm` | ZM |
| `Zw` | ZW |
| `Ax` | AX |
| `Bq` | BQ |
| `Cw` | CW |
| `Gg` | GG |
| `Im` | IM |
| `Je` | JE |
| `Me` | ME |
| `Bl` | BL |
| `Mf` | MF |
| `Rs` | RS |
| `Sx` | SX |
| `Ss` | SS |
| `Xk` | XK |

View File

@@ -12,7 +12,7 @@
| `interval` | [operations.GetTopLinksByClicksDeprecatedQueryParamInterval](../../models/operations/gettoplinksbyclicksdeprecatedqueryparaminterval.md) | :heavy_minus_sign: | The interval to retrieve analytics for. Takes precedence over start and end. If undefined, defaults to 24h. |
| `start` | *string* | :heavy_minus_sign: | The start date and time when to retrieve analytics from. |
| `end` | *string* | :heavy_minus_sign: | The end date and time when to retrieve analytics from. If not provided, defaults to the current date. |
| `country` | [operations.GetTopLinksByClicksDeprecatedQueryParamCountry](../../models/operations/gettoplinksbyclicksdeprecatedqueryparamcountry.md) | :heavy_minus_sign: | The country to retrieve analytics for. |
| `country` | [components.CountryCode](../../models/components/countrycode.md) | :heavy_minus_sign: | The country to retrieve analytics for. |
| `city` | *string* | :heavy_minus_sign: | The city to retrieve analytics for. |
| `device` | *string* | :heavy_minus_sign: | The device to retrieve analytics for. |
| `browser` | *string* | :heavy_minus_sign: | The browser to retrieve analytics for. |

View File

@@ -1,259 +0,0 @@
# GetTopLinksByClicksQueryParamCountry
The country to retrieve analytics for.
## Values
| Name | Value |
| ----- | ----- |
| `Af` | AF |
| `Al` | AL |
| `Dz` | DZ |
| `As` | AS |
| `Ad` | AD |
| `Ao` | AO |
| `Ai` | AI |
| `Aq` | AQ |
| `Ag` | AG |
| `Ar` | AR |
| `Am` | AM |
| `Aw` | AW |
| `Au` | AU |
| `At` | AT |
| `Az` | AZ |
| `Bs` | BS |
| `Bh` | BH |
| `Bd` | BD |
| `Bb` | BB |
| `By` | BY |
| `Be` | BE |
| `Bz` | BZ |
| `Bj` | BJ |
| `Bm` | BM |
| `Bt` | BT |
| `Bo` | BO |
| `Ba` | BA |
| `Bw` | BW |
| `Bv` | BV |
| `Br` | BR |
| `Io` | IO |
| `Bn` | BN |
| `Bg` | BG |
| `Bf` | BF |
| `Bi` | BI |
| `Kh` | KH |
| `Cm` | CM |
| `Ca` | CA |
| `Cv` | CV |
| `Ky` | KY |
| `Cf` | CF |
| `Td` | TD |
| `Cl` | CL |
| `Cn` | CN |
| `Cx` | CX |
| `Cc` | CC |
| `Co` | CO |
| `Km` | KM |
| `Cg` | CG |
| `Cd` | CD |
| `Ck` | CK |
| `Cr` | CR |
| `Ci` | CI |
| `Hr` | HR |
| `Cu` | CU |
| `Cy` | CY |
| `Cz` | CZ |
| `Dk` | DK |
| `Dj` | DJ |
| `Dm` | DM |
| `Do` | DO |
| `Ec` | EC |
| `Eg` | EG |
| `Sv` | SV |
| `Gq` | GQ |
| `Er` | ER |
| `Ee` | EE |
| `Et` | ET |
| `Fk` | FK |
| `Fo` | FO |
| `Fj` | FJ |
| `Fi` | FI |
| `Fr` | FR |
| `Gf` | GF |
| `Pf` | PF |
| `Tf` | TF |
| `Ga` | GA |
| `Gm` | GM |
| `Ge` | GE |
| `De` | DE |
| `Gh` | GH |
| `Gi` | GI |
| `Gr` | GR |
| `Gl` | GL |
| `Gd` | GD |
| `Gp` | GP |
| `Gu` | GU |
| `Gt` | GT |
| `Gn` | GN |
| `Gw` | GW |
| `Gy` | GY |
| `Ht` | HT |
| `Hm` | HM |
| `Va` | VA |
| `Hn` | HN |
| `Hk` | HK |
| `Hu` | HU |
| `Is` | IS |
| `In` | IN |
| `Id` | ID |
| `Ir` | IR |
| `Iq` | IQ |
| `Ie` | IE |
| `Il` | IL |
| `It` | IT |
| `Jm` | JM |
| `Jp` | JP |
| `Jo` | JO |
| `Kz` | KZ |
| `Ke` | KE |
| `Ki` | KI |
| `Kp` | KP |
| `Kr` | KR |
| `Kw` | KW |
| `Kg` | KG |
| `La` | LA |
| `Lv` | LV |
| `Lb` | LB |
| `Ls` | LS |
| `Lr` | LR |
| `Ly` | LY |
| `Li` | LI |
| `Lt` | LT |
| `Lu` | LU |
| `Mo` | MO |
| `Mg` | MG |
| `Mw` | MW |
| `My` | MY |
| `Mv` | MV |
| `Ml` | ML |
| `Mt` | MT |
| `Mh` | MH |
| `Mq` | MQ |
| `Mr` | MR |
| `Mu` | MU |
| `Yt` | YT |
| `Mx` | MX |
| `Fm` | FM |
| `Md` | MD |
| `Mc` | MC |
| `Mn` | MN |
| `Ms` | MS |
| `Ma` | MA |
| `Mz` | MZ |
| `Mm` | MM |
| `Na` | NA |
| `Nr` | NR |
| `Np` | NP |
| `Nl` | NL |
| `Nc` | NC |
| `Nz` | NZ |
| `Ni` | NI |
| `Ne` | NE |
| `Ng` | NG |
| `Nu` | NU |
| `Nf` | NF |
| `Mk` | MK |
| `Mp` | MP |
| `No` | NO |
| `Om` | OM |
| `Pk` | PK |
| `Pw` | PW |
| `Ps` | PS |
| `Pa` | PA |
| `Pg` | PG |
| `Py` | PY |
| `Pe` | PE |
| `Ph` | PH |
| `Pn` | PN |
| `Pl` | PL |
| `Pt` | PT |
| `Pr` | PR |
| `Qa` | QA |
| `Re` | RE |
| `Ro` | RO |
| `Ru` | RU |
| `Rw` | RW |
| `Sh` | SH |
| `Kn` | KN |
| `Lc` | LC |
| `Pm` | PM |
| `Vc` | VC |
| `Ws` | WS |
| `Sm` | SM |
| `St` | ST |
| `Sa` | SA |
| `Sn` | SN |
| `Sc` | SC |
| `Sl` | SL |
| `Sg` | SG |
| `Sk` | SK |
| `Si` | SI |
| `Sb` | SB |
| `So` | SO |
| `Za` | ZA |
| `Gs` | GS |
| `Es` | ES |
| `Lk` | LK |
| `Sd` | SD |
| `Sr` | SR |
| `Sj` | SJ |
| `Sz` | SZ |
| `Se` | SE |
| `Ch` | CH |
| `Sy` | SY |
| `Tw` | TW |
| `Tj` | TJ |
| `Tz` | TZ |
| `Th` | TH |
| `Tl` | TL |
| `Tg` | TG |
| `Tk` | TK |
| `To` | TO |
| `Tt` | TT |
| `Tn` | TN |
| `Tr` | TR |
| `Tm` | TM |
| `Tc` | TC |
| `Tv` | TV |
| `Ug` | UG |
| `Ua` | UA |
| `Ae` | AE |
| `Gb` | GB |
| `Us` | US |
| `Um` | UM |
| `Uy` | UY |
| `Uz` | UZ |
| `Vu` | VU |
| `Ve` | VE |
| `Vn` | VN |
| `Vg` | VG |
| `Vi` | VI |
| `Wf` | WF |
| `Eh` | EH |
| `Ye` | YE |
| `Zm` | ZM |
| `Zw` | ZW |
| `Ax` | AX |
| `Bq` | BQ |
| `Cw` | CW |
| `Gg` | GG |
| `Im` | IM |
| `Je` | JE |
| `Me` | ME |
| `Bl` | BL |
| `Mf` | MF |
| `Rs` | RS |
| `Sx` | SX |
| `Ss` | SS |
| `Xk` | XK |

View File

@@ -12,7 +12,7 @@
| `interval` | [operations.GetTopLinksByClicksQueryParamInterval](../../models/operations/gettoplinksbyclicksqueryparaminterval.md) | :heavy_minus_sign: | The interval to retrieve analytics for. Takes precedence over start and end. If undefined, defaults to 24h. |
| `start` | *string* | :heavy_minus_sign: | The start date and time when to retrieve analytics from. |
| `end` | *string* | :heavy_minus_sign: | The end date and time when to retrieve analytics from. If not provided, defaults to the current date. |
| `country` | [operations.GetTopLinksByClicksQueryParamCountry](../../models/operations/gettoplinksbyclicksqueryparamcountry.md) | :heavy_minus_sign: | The country to retrieve analytics for. |
| `country` | [components.CountryCode](../../models/components/countrycode.md) | :heavy_minus_sign: | The country to retrieve analytics for. |
| `city` | *string* | :heavy_minus_sign: | The city to retrieve analytics for. |
| `device` | *string* | :heavy_minus_sign: | The device to retrieve analytics for. |
| `browser` | *string* | :heavy_minus_sign: | The browser to retrieve analytics for. |

View File

@@ -1,259 +0,0 @@
# GetTopURLsByClicksDeprecatedQueryParamCountry
The country to retrieve analytics for.
## Values
| Name | Value |
| ----- | ----- |
| `Af` | AF |
| `Al` | AL |
| `Dz` | DZ |
| `As` | AS |
| `Ad` | AD |
| `Ao` | AO |
| `Ai` | AI |
| `Aq` | AQ |
| `Ag` | AG |
| `Ar` | AR |
| `Am` | AM |
| `Aw` | AW |
| `Au` | AU |
| `At` | AT |
| `Az` | AZ |
| `Bs` | BS |
| `Bh` | BH |
| `Bd` | BD |
| `Bb` | BB |
| `By` | BY |
| `Be` | BE |
| `Bz` | BZ |
| `Bj` | BJ |
| `Bm` | BM |
| `Bt` | BT |
| `Bo` | BO |
| `Ba` | BA |
| `Bw` | BW |
| `Bv` | BV |
| `Br` | BR |
| `Io` | IO |
| `Bn` | BN |
| `Bg` | BG |
| `Bf` | BF |
| `Bi` | BI |
| `Kh` | KH |
| `Cm` | CM |
| `Ca` | CA |
| `Cv` | CV |
| `Ky` | KY |
| `Cf` | CF |
| `Td` | TD |
| `Cl` | CL |
| `Cn` | CN |
| `Cx` | CX |
| `Cc` | CC |
| `Co` | CO |
| `Km` | KM |
| `Cg` | CG |
| `Cd` | CD |
| `Ck` | CK |
| `Cr` | CR |
| `Ci` | CI |
| `Hr` | HR |
| `Cu` | CU |
| `Cy` | CY |
| `Cz` | CZ |
| `Dk` | DK |
| `Dj` | DJ |
| `Dm` | DM |
| `Do` | DO |
| `Ec` | EC |
| `Eg` | EG |
| `Sv` | SV |
| `Gq` | GQ |
| `Er` | ER |
| `Ee` | EE |
| `Et` | ET |
| `Fk` | FK |
| `Fo` | FO |
| `Fj` | FJ |
| `Fi` | FI |
| `Fr` | FR |
| `Gf` | GF |
| `Pf` | PF |
| `Tf` | TF |
| `Ga` | GA |
| `Gm` | GM |
| `Ge` | GE |
| `De` | DE |
| `Gh` | GH |
| `Gi` | GI |
| `Gr` | GR |
| `Gl` | GL |
| `Gd` | GD |
| `Gp` | GP |
| `Gu` | GU |
| `Gt` | GT |
| `Gn` | GN |
| `Gw` | GW |
| `Gy` | GY |
| `Ht` | HT |
| `Hm` | HM |
| `Va` | VA |
| `Hn` | HN |
| `Hk` | HK |
| `Hu` | HU |
| `Is` | IS |
| `In` | IN |
| `Id` | ID |
| `Ir` | IR |
| `Iq` | IQ |
| `Ie` | IE |
| `Il` | IL |
| `It` | IT |
| `Jm` | JM |
| `Jp` | JP |
| `Jo` | JO |
| `Kz` | KZ |
| `Ke` | KE |
| `Ki` | KI |
| `Kp` | KP |
| `Kr` | KR |
| `Kw` | KW |
| `Kg` | KG |
| `La` | LA |
| `Lv` | LV |
| `Lb` | LB |
| `Ls` | LS |
| `Lr` | LR |
| `Ly` | LY |
| `Li` | LI |
| `Lt` | LT |
| `Lu` | LU |
| `Mo` | MO |
| `Mg` | MG |
| `Mw` | MW |
| `My` | MY |
| `Mv` | MV |
| `Ml` | ML |
| `Mt` | MT |
| `Mh` | MH |
| `Mq` | MQ |
| `Mr` | MR |
| `Mu` | MU |
| `Yt` | YT |
| `Mx` | MX |
| `Fm` | FM |
| `Md` | MD |
| `Mc` | MC |
| `Mn` | MN |
| `Ms` | MS |
| `Ma` | MA |
| `Mz` | MZ |
| `Mm` | MM |
| `Na` | NA |
| `Nr` | NR |
| `Np` | NP |
| `Nl` | NL |
| `Nc` | NC |
| `Nz` | NZ |
| `Ni` | NI |
| `Ne` | NE |
| `Ng` | NG |
| `Nu` | NU |
| `Nf` | NF |
| `Mk` | MK |
| `Mp` | MP |
| `No` | NO |
| `Om` | OM |
| `Pk` | PK |
| `Pw` | PW |
| `Ps` | PS |
| `Pa` | PA |
| `Pg` | PG |
| `Py` | PY |
| `Pe` | PE |
| `Ph` | PH |
| `Pn` | PN |
| `Pl` | PL |
| `Pt` | PT |
| `Pr` | PR |
| `Qa` | QA |
| `Re` | RE |
| `Ro` | RO |
| `Ru` | RU |
| `Rw` | RW |
| `Sh` | SH |
| `Kn` | KN |
| `Lc` | LC |
| `Pm` | PM |
| `Vc` | VC |
| `Ws` | WS |
| `Sm` | SM |
| `St` | ST |
| `Sa` | SA |
| `Sn` | SN |
| `Sc` | SC |
| `Sl` | SL |
| `Sg` | SG |
| `Sk` | SK |
| `Si` | SI |
| `Sb` | SB |
| `So` | SO |
| `Za` | ZA |
| `Gs` | GS |
| `Es` | ES |
| `Lk` | LK |
| `Sd` | SD |
| `Sr` | SR |
| `Sj` | SJ |
| `Sz` | SZ |
| `Se` | SE |
| `Ch` | CH |
| `Sy` | SY |
| `Tw` | TW |
| `Tj` | TJ |
| `Tz` | TZ |
| `Th` | TH |
| `Tl` | TL |
| `Tg` | TG |
| `Tk` | TK |
| `To` | TO |
| `Tt` | TT |
| `Tn` | TN |
| `Tr` | TR |
| `Tm` | TM |
| `Tc` | TC |
| `Tv` | TV |
| `Ug` | UG |
| `Ua` | UA |
| `Ae` | AE |
| `Gb` | GB |
| `Us` | US |
| `Um` | UM |
| `Uy` | UY |
| `Uz` | UZ |
| `Vu` | VU |
| `Ve` | VE |
| `Vn` | VN |
| `Vg` | VG |
| `Vi` | VI |
| `Wf` | WF |
| `Eh` | EH |
| `Ye` | YE |
| `Zm` | ZM |
| `Zw` | ZW |
| `Ax` | AX |
| `Bq` | BQ |
| `Cw` | CW |
| `Gg` | GG |
| `Im` | IM |
| `Je` | JE |
| `Me` | ME |
| `Bl` | BL |
| `Mf` | MF |
| `Rs` | RS |
| `Sx` | SX |
| `Ss` | SS |
| `Xk` | XK |

View File

@@ -12,7 +12,7 @@
| `interval` | [operations.GetTopURLsByClicksDeprecatedQueryParamInterval](../../models/operations/gettopurlsbyclicksdeprecatedqueryparaminterval.md) | :heavy_minus_sign: | The interval to retrieve analytics for. Takes precedence over start and end. If undefined, defaults to 24h. |
| `start` | *string* | :heavy_minus_sign: | The start date and time when to retrieve analytics from. |
| `end` | *string* | :heavy_minus_sign: | The end date and time when to retrieve analytics from. If not provided, defaults to the current date. |
| `country` | [operations.GetTopURLsByClicksDeprecatedQueryParamCountry](../../models/operations/gettopurlsbyclicksdeprecatedqueryparamcountry.md) | :heavy_minus_sign: | The country to retrieve analytics for. |
| `country` | [components.CountryCode](../../models/components/countrycode.md) | :heavy_minus_sign: | The country to retrieve analytics for. |
| `city` | *string* | :heavy_minus_sign: | The city to retrieve analytics for. |
| `device` | *string* | :heavy_minus_sign: | The device to retrieve analytics for. |
| `browser` | *string* | :heavy_minus_sign: | The browser to retrieve analytics for. |

View File

@@ -1,259 +0,0 @@
# GetTopURLsByClicksQueryParamCountry
The country to retrieve analytics for.
## Values
| Name | Value |
| ----- | ----- |
| `Af` | AF |
| `Al` | AL |
| `Dz` | DZ |
| `As` | AS |
| `Ad` | AD |
| `Ao` | AO |
| `Ai` | AI |
| `Aq` | AQ |
| `Ag` | AG |
| `Ar` | AR |
| `Am` | AM |
| `Aw` | AW |
| `Au` | AU |
| `At` | AT |
| `Az` | AZ |
| `Bs` | BS |
| `Bh` | BH |
| `Bd` | BD |
| `Bb` | BB |
| `By` | BY |
| `Be` | BE |
| `Bz` | BZ |
| `Bj` | BJ |
| `Bm` | BM |
| `Bt` | BT |
| `Bo` | BO |
| `Ba` | BA |
| `Bw` | BW |
| `Bv` | BV |
| `Br` | BR |
| `Io` | IO |
| `Bn` | BN |
| `Bg` | BG |
| `Bf` | BF |
| `Bi` | BI |
| `Kh` | KH |
| `Cm` | CM |
| `Ca` | CA |
| `Cv` | CV |
| `Ky` | KY |
| `Cf` | CF |
| `Td` | TD |
| `Cl` | CL |
| `Cn` | CN |
| `Cx` | CX |
| `Cc` | CC |
| `Co` | CO |
| `Km` | KM |
| `Cg` | CG |
| `Cd` | CD |
| `Ck` | CK |
| `Cr` | CR |
| `Ci` | CI |
| `Hr` | HR |
| `Cu` | CU |
| `Cy` | CY |
| `Cz` | CZ |
| `Dk` | DK |
| `Dj` | DJ |
| `Dm` | DM |
| `Do` | DO |
| `Ec` | EC |
| `Eg` | EG |
| `Sv` | SV |
| `Gq` | GQ |
| `Er` | ER |
| `Ee` | EE |
| `Et` | ET |
| `Fk` | FK |
| `Fo` | FO |
| `Fj` | FJ |
| `Fi` | FI |
| `Fr` | FR |
| `Gf` | GF |
| `Pf` | PF |
| `Tf` | TF |
| `Ga` | GA |
| `Gm` | GM |
| `Ge` | GE |
| `De` | DE |
| `Gh` | GH |
| `Gi` | GI |
| `Gr` | GR |
| `Gl` | GL |
| `Gd` | GD |
| `Gp` | GP |
| `Gu` | GU |
| `Gt` | GT |
| `Gn` | GN |
| `Gw` | GW |
| `Gy` | GY |
| `Ht` | HT |
| `Hm` | HM |
| `Va` | VA |
| `Hn` | HN |
| `Hk` | HK |
| `Hu` | HU |
| `Is` | IS |
| `In` | IN |
| `Id` | ID |
| `Ir` | IR |
| `Iq` | IQ |
| `Ie` | IE |
| `Il` | IL |
| `It` | IT |
| `Jm` | JM |
| `Jp` | JP |
| `Jo` | JO |
| `Kz` | KZ |
| `Ke` | KE |
| `Ki` | KI |
| `Kp` | KP |
| `Kr` | KR |
| `Kw` | KW |
| `Kg` | KG |
| `La` | LA |
| `Lv` | LV |
| `Lb` | LB |
| `Ls` | LS |
| `Lr` | LR |
| `Ly` | LY |
| `Li` | LI |
| `Lt` | LT |
| `Lu` | LU |
| `Mo` | MO |
| `Mg` | MG |
| `Mw` | MW |
| `My` | MY |
| `Mv` | MV |
| `Ml` | ML |
| `Mt` | MT |
| `Mh` | MH |
| `Mq` | MQ |
| `Mr` | MR |
| `Mu` | MU |
| `Yt` | YT |
| `Mx` | MX |
| `Fm` | FM |
| `Md` | MD |
| `Mc` | MC |
| `Mn` | MN |
| `Ms` | MS |
| `Ma` | MA |
| `Mz` | MZ |
| `Mm` | MM |
| `Na` | NA |
| `Nr` | NR |
| `Np` | NP |
| `Nl` | NL |
| `Nc` | NC |
| `Nz` | NZ |
| `Ni` | NI |
| `Ne` | NE |
| `Ng` | NG |
| `Nu` | NU |
| `Nf` | NF |
| `Mk` | MK |
| `Mp` | MP |
| `No` | NO |
| `Om` | OM |
| `Pk` | PK |
| `Pw` | PW |
| `Ps` | PS |
| `Pa` | PA |
| `Pg` | PG |
| `Py` | PY |
| `Pe` | PE |
| `Ph` | PH |
| `Pn` | PN |
| `Pl` | PL |
| `Pt` | PT |
| `Pr` | PR |
| `Qa` | QA |
| `Re` | RE |
| `Ro` | RO |
| `Ru` | RU |
| `Rw` | RW |
| `Sh` | SH |
| `Kn` | KN |
| `Lc` | LC |
| `Pm` | PM |
| `Vc` | VC |
| `Ws` | WS |
| `Sm` | SM |
| `St` | ST |
| `Sa` | SA |
| `Sn` | SN |
| `Sc` | SC |
| `Sl` | SL |
| `Sg` | SG |
| `Sk` | SK |
| `Si` | SI |
| `Sb` | SB |
| `So` | SO |
| `Za` | ZA |
| `Gs` | GS |
| `Es` | ES |
| `Lk` | LK |
| `Sd` | SD |
| `Sr` | SR |
| `Sj` | SJ |
| `Sz` | SZ |
| `Se` | SE |
| `Ch` | CH |
| `Sy` | SY |
| `Tw` | TW |
| `Tj` | TJ |
| `Tz` | TZ |
| `Th` | TH |
| `Tl` | TL |
| `Tg` | TG |
| `Tk` | TK |
| `To` | TO |
| `Tt` | TT |
| `Tn` | TN |
| `Tr` | TR |
| `Tm` | TM |
| `Tc` | TC |
| `Tv` | TV |
| `Ug` | UG |
| `Ua` | UA |
| `Ae` | AE |
| `Gb` | GB |
| `Us` | US |
| `Um` | UM |
| `Uy` | UY |
| `Uz` | UZ |
| `Vu` | VU |
| `Ve` | VE |
| `Vn` | VN |
| `Vg` | VG |
| `Vi` | VI |
| `Wf` | WF |
| `Eh` | EH |
| `Ye` | YE |
| `Zm` | ZM |
| `Zw` | ZW |
| `Ax` | AX |
| `Bq` | BQ |
| `Cw` | CW |
| `Gg` | GG |
| `Im` | IM |
| `Je` | JE |
| `Me` | ME |
| `Bl` | BL |
| `Mf` | MF |
| `Rs` | RS |
| `Sx` | SX |
| `Ss` | SS |
| `Xk` | XK |

View File

@@ -12,7 +12,7 @@
| `interval` | [operations.GetTopURLsByClicksQueryParamInterval](../../models/operations/gettopurlsbyclicksqueryparaminterval.md) | :heavy_minus_sign: | The interval to retrieve analytics for. Takes precedence over start and end. If undefined, defaults to 24h. |
| `start` | *string* | :heavy_minus_sign: | The start date and time when to retrieve analytics from. |
| `end` | *string* | :heavy_minus_sign: | The end date and time when to retrieve analytics from. If not provided, defaults to the current date. |
| `country` | [operations.GetTopURLsByClicksQueryParamCountry](../../models/operations/gettopurlsbyclicksqueryparamcountry.md) | :heavy_minus_sign: | The country to retrieve analytics for. |
| `country` | [components.CountryCode](../../models/components/countrycode.md) | :heavy_minus_sign: | The country to retrieve analytics for. |
| `city` | *string* | :heavy_minus_sign: | The city to retrieve analytics for. |
| `device` | *string* | :heavy_minus_sign: | The device to retrieve analytics for. |
| `browser` | *string* | :heavy_minus_sign: | The browser to retrieve analytics for. |

View File

@@ -26,4 +26,4 @@
| `rewrite` | *boolean* | :heavy_minus_sign: | Whether the short link uses link cloaking. | |
| `ios` | *string* | :heavy_minus_sign: | The iOS destination URL for the short link for iOS device targeting. | |
| `android` | *string* | :heavy_minus_sign: | The Android destination URL for the short link for Android device targeting. | |
| `geo` | [operations.BulkCreateLinksGeo](../../models/operations/bulkcreatelinksgeo.md) | :heavy_minus_sign: | Geo targeting information for the short link in JSON format `{[COUNTRY]: https://example.com }`. | |
| `geo` | [components.LinkGeoTargeting](../../models/components/linkgeotargeting.md) | :heavy_minus_sign: | Geo targeting information for the short link in JSON format `{[COUNTRY]: https://example.com }`. | |

View File

@@ -1,259 +0,0 @@
# UpdateLinkGeo
Geo targeting information for the short link in JSON format `{[COUNTRY]: https://example.com }`.
## Fields
| Field | Type | Required | Description |
| ------------------ | ------------------ | ------------------ | ------------------ |
| `af` | *string* | :heavy_minus_sign: | N/A |
| `al` | *string* | :heavy_minus_sign: | N/A |
| `dz` | *string* | :heavy_minus_sign: | N/A |
| `as` | *string* | :heavy_minus_sign: | N/A |
| `ad` | *string* | :heavy_minus_sign: | N/A |
| `ao` | *string* | :heavy_minus_sign: | N/A |
| `ai` | *string* | :heavy_minus_sign: | N/A |
| `aq` | *string* | :heavy_minus_sign: | N/A |
| `ag` | *string* | :heavy_minus_sign: | N/A |
| `ar` | *string* | :heavy_minus_sign: | N/A |
| `am` | *string* | :heavy_minus_sign: | N/A |
| `aw` | *string* | :heavy_minus_sign: | N/A |
| `au` | *string* | :heavy_minus_sign: | N/A |
| `at` | *string* | :heavy_minus_sign: | N/A |
| `az` | *string* | :heavy_minus_sign: | N/A |
| `bs` | *string* | :heavy_minus_sign: | N/A |
| `bh` | *string* | :heavy_minus_sign: | N/A |
| `bd` | *string* | :heavy_minus_sign: | N/A |
| `bb` | *string* | :heavy_minus_sign: | N/A |
| `by` | *string* | :heavy_minus_sign: | N/A |
| `be` | *string* | :heavy_minus_sign: | N/A |
| `bz` | *string* | :heavy_minus_sign: | N/A |
| `bj` | *string* | :heavy_minus_sign: | N/A |
| `bm` | *string* | :heavy_minus_sign: | N/A |
| `bt` | *string* | :heavy_minus_sign: | N/A |
| `bo` | *string* | :heavy_minus_sign: | N/A |
| `ba` | *string* | :heavy_minus_sign: | N/A |
| `bw` | *string* | :heavy_minus_sign: | N/A |
| `bv` | *string* | :heavy_minus_sign: | N/A |
| `br` | *string* | :heavy_minus_sign: | N/A |
| `io` | *string* | :heavy_minus_sign: | N/A |
| `bn` | *string* | :heavy_minus_sign: | N/A |
| `bg` | *string* | :heavy_minus_sign: | N/A |
| `bf` | *string* | :heavy_minus_sign: | N/A |
| `bi` | *string* | :heavy_minus_sign: | N/A |
| `kh` | *string* | :heavy_minus_sign: | N/A |
| `cm` | *string* | :heavy_minus_sign: | N/A |
| `ca` | *string* | :heavy_minus_sign: | N/A |
| `cv` | *string* | :heavy_minus_sign: | N/A |
| `ky` | *string* | :heavy_minus_sign: | N/A |
| `cf` | *string* | :heavy_minus_sign: | N/A |
| `td` | *string* | :heavy_minus_sign: | N/A |
| `cl` | *string* | :heavy_minus_sign: | N/A |
| `cn` | *string* | :heavy_minus_sign: | N/A |
| `cx` | *string* | :heavy_minus_sign: | N/A |
| `cc` | *string* | :heavy_minus_sign: | N/A |
| `co` | *string* | :heavy_minus_sign: | N/A |
| `km` | *string* | :heavy_minus_sign: | N/A |
| `cg` | *string* | :heavy_minus_sign: | N/A |
| `cd` | *string* | :heavy_minus_sign: | N/A |
| `ck` | *string* | :heavy_minus_sign: | N/A |
| `cr` | *string* | :heavy_minus_sign: | N/A |
| `ci` | *string* | :heavy_minus_sign: | N/A |
| `hr` | *string* | :heavy_minus_sign: | N/A |
| `cu` | *string* | :heavy_minus_sign: | N/A |
| `cy` | *string* | :heavy_minus_sign: | N/A |
| `cz` | *string* | :heavy_minus_sign: | N/A |
| `dk` | *string* | :heavy_minus_sign: | N/A |
| `dj` | *string* | :heavy_minus_sign: | N/A |
| `dm` | *string* | :heavy_minus_sign: | N/A |
| `do` | *string* | :heavy_minus_sign: | N/A |
| `ec` | *string* | :heavy_minus_sign: | N/A |
| `eg` | *string* | :heavy_minus_sign: | N/A |
| `sv` | *string* | :heavy_minus_sign: | N/A |
| `gq` | *string* | :heavy_minus_sign: | N/A |
| `er` | *string* | :heavy_minus_sign: | N/A |
| `ee` | *string* | :heavy_minus_sign: | N/A |
| `et` | *string* | :heavy_minus_sign: | N/A |
| `fk` | *string* | :heavy_minus_sign: | N/A |
| `fo` | *string* | :heavy_minus_sign: | N/A |
| `fj` | *string* | :heavy_minus_sign: | N/A |
| `fi` | *string* | :heavy_minus_sign: | N/A |
| `fr` | *string* | :heavy_minus_sign: | N/A |
| `gf` | *string* | :heavy_minus_sign: | N/A |
| `pf` | *string* | :heavy_minus_sign: | N/A |
| `tf` | *string* | :heavy_minus_sign: | N/A |
| `ga` | *string* | :heavy_minus_sign: | N/A |
| `gm` | *string* | :heavy_minus_sign: | N/A |
| `ge` | *string* | :heavy_minus_sign: | N/A |
| `de` | *string* | :heavy_minus_sign: | N/A |
| `gh` | *string* | :heavy_minus_sign: | N/A |
| `gi` | *string* | :heavy_minus_sign: | N/A |
| `gr` | *string* | :heavy_minus_sign: | N/A |
| `gl` | *string* | :heavy_minus_sign: | N/A |
| `gd` | *string* | :heavy_minus_sign: | N/A |
| `gp` | *string* | :heavy_minus_sign: | N/A |
| `gu` | *string* | :heavy_minus_sign: | N/A |
| `gt` | *string* | :heavy_minus_sign: | N/A |
| `gn` | *string* | :heavy_minus_sign: | N/A |
| `gw` | *string* | :heavy_minus_sign: | N/A |
| `gy` | *string* | :heavy_minus_sign: | N/A |
| `ht` | *string* | :heavy_minus_sign: | N/A |
| `hm` | *string* | :heavy_minus_sign: | N/A |
| `va` | *string* | :heavy_minus_sign: | N/A |
| `hn` | *string* | :heavy_minus_sign: | N/A |
| `hk` | *string* | :heavy_minus_sign: | N/A |
| `hu` | *string* | :heavy_minus_sign: | N/A |
| `is` | *string* | :heavy_minus_sign: | N/A |
| `in` | *string* | :heavy_minus_sign: | N/A |
| `id` | *string* | :heavy_minus_sign: | N/A |
| `ir` | *string* | :heavy_minus_sign: | N/A |
| `iq` | *string* | :heavy_minus_sign: | N/A |
| `ie` | *string* | :heavy_minus_sign: | N/A |
| `il` | *string* | :heavy_minus_sign: | N/A |
| `it` | *string* | :heavy_minus_sign: | N/A |
| `jm` | *string* | :heavy_minus_sign: | N/A |
| `jp` | *string* | :heavy_minus_sign: | N/A |
| `jo` | *string* | :heavy_minus_sign: | N/A |
| `kz` | *string* | :heavy_minus_sign: | N/A |
| `ke` | *string* | :heavy_minus_sign: | N/A |
| `ki` | *string* | :heavy_minus_sign: | N/A |
| `kp` | *string* | :heavy_minus_sign: | N/A |
| `kr` | *string* | :heavy_minus_sign: | N/A |
| `kw` | *string* | :heavy_minus_sign: | N/A |
| `kg` | *string* | :heavy_minus_sign: | N/A |
| `la` | *string* | :heavy_minus_sign: | N/A |
| `lv` | *string* | :heavy_minus_sign: | N/A |
| `lb` | *string* | :heavy_minus_sign: | N/A |
| `ls` | *string* | :heavy_minus_sign: | N/A |
| `lr` | *string* | :heavy_minus_sign: | N/A |
| `ly` | *string* | :heavy_minus_sign: | N/A |
| `li` | *string* | :heavy_minus_sign: | N/A |
| `lt` | *string* | :heavy_minus_sign: | N/A |
| `lu` | *string* | :heavy_minus_sign: | N/A |
| `mo` | *string* | :heavy_minus_sign: | N/A |
| `mg` | *string* | :heavy_minus_sign: | N/A |
| `mw` | *string* | :heavy_minus_sign: | N/A |
| `my` | *string* | :heavy_minus_sign: | N/A |
| `mv` | *string* | :heavy_minus_sign: | N/A |
| `ml` | *string* | :heavy_minus_sign: | N/A |
| `mt` | *string* | :heavy_minus_sign: | N/A |
| `mh` | *string* | :heavy_minus_sign: | N/A |
| `mq` | *string* | :heavy_minus_sign: | N/A |
| `mr` | *string* | :heavy_minus_sign: | N/A |
| `mu` | *string* | :heavy_minus_sign: | N/A |
| `yt` | *string* | :heavy_minus_sign: | N/A |
| `mx` | *string* | :heavy_minus_sign: | N/A |
| `fm` | *string* | :heavy_minus_sign: | N/A |
| `md` | *string* | :heavy_minus_sign: | N/A |
| `mc` | *string* | :heavy_minus_sign: | N/A |
| `mn` | *string* | :heavy_minus_sign: | N/A |
| `ms` | *string* | :heavy_minus_sign: | N/A |
| `ma` | *string* | :heavy_minus_sign: | N/A |
| `mz` | *string* | :heavy_minus_sign: | N/A |
| `mm` | *string* | :heavy_minus_sign: | N/A |
| `na` | *string* | :heavy_minus_sign: | N/A |
| `nr` | *string* | :heavy_minus_sign: | N/A |
| `np` | *string* | :heavy_minus_sign: | N/A |
| `nl` | *string* | :heavy_minus_sign: | N/A |
| `nc` | *string* | :heavy_minus_sign: | N/A |
| `nz` | *string* | :heavy_minus_sign: | N/A |
| `ni` | *string* | :heavy_minus_sign: | N/A |
| `ne` | *string* | :heavy_minus_sign: | N/A |
| `ng` | *string* | :heavy_minus_sign: | N/A |
| `nu` | *string* | :heavy_minus_sign: | N/A |
| `nf` | *string* | :heavy_minus_sign: | N/A |
| `mk` | *string* | :heavy_minus_sign: | N/A |
| `mp` | *string* | :heavy_minus_sign: | N/A |
| `no` | *string* | :heavy_minus_sign: | N/A |
| `om` | *string* | :heavy_minus_sign: | N/A |
| `pk` | *string* | :heavy_minus_sign: | N/A |
| `pw` | *string* | :heavy_minus_sign: | N/A |
| `ps` | *string* | :heavy_minus_sign: | N/A |
| `pa` | *string* | :heavy_minus_sign: | N/A |
| `pg` | *string* | :heavy_minus_sign: | N/A |
| `py` | *string* | :heavy_minus_sign: | N/A |
| `pe` | *string* | :heavy_minus_sign: | N/A |
| `ph` | *string* | :heavy_minus_sign: | N/A |
| `pn` | *string* | :heavy_minus_sign: | N/A |
| `pl` | *string* | :heavy_minus_sign: | N/A |
| `pt` | *string* | :heavy_minus_sign: | N/A |
| `pr` | *string* | :heavy_minus_sign: | N/A |
| `qa` | *string* | :heavy_minus_sign: | N/A |
| `re` | *string* | :heavy_minus_sign: | N/A |
| `ro` | *string* | :heavy_minus_sign: | N/A |
| `ru` | *string* | :heavy_minus_sign: | N/A |
| `rw` | *string* | :heavy_minus_sign: | N/A |
| `sh` | *string* | :heavy_minus_sign: | N/A |
| `kn` | *string* | :heavy_minus_sign: | N/A |
| `lc` | *string* | :heavy_minus_sign: | N/A |
| `pm` | *string* | :heavy_minus_sign: | N/A |
| `vc` | *string* | :heavy_minus_sign: | N/A |
| `ws` | *string* | :heavy_minus_sign: | N/A |
| `sm` | *string* | :heavy_minus_sign: | N/A |
| `st` | *string* | :heavy_minus_sign: | N/A |
| `sa` | *string* | :heavy_minus_sign: | N/A |
| `sn` | *string* | :heavy_minus_sign: | N/A |
| `sc` | *string* | :heavy_minus_sign: | N/A |
| `sl` | *string* | :heavy_minus_sign: | N/A |
| `sg` | *string* | :heavy_minus_sign: | N/A |
| `sk` | *string* | :heavy_minus_sign: | N/A |
| `si` | *string* | :heavy_minus_sign: | N/A |
| `sb` | *string* | :heavy_minus_sign: | N/A |
| `so` | *string* | :heavy_minus_sign: | N/A |
| `za` | *string* | :heavy_minus_sign: | N/A |
| `gs` | *string* | :heavy_minus_sign: | N/A |
| `es` | *string* | :heavy_minus_sign: | N/A |
| `lk` | *string* | :heavy_minus_sign: | N/A |
| `sd` | *string* | :heavy_minus_sign: | N/A |
| `sr` | *string* | :heavy_minus_sign: | N/A |
| `sj` | *string* | :heavy_minus_sign: | N/A |
| `sz` | *string* | :heavy_minus_sign: | N/A |
| `se` | *string* | :heavy_minus_sign: | N/A |
| `ch` | *string* | :heavy_minus_sign: | N/A |
| `sy` | *string* | :heavy_minus_sign: | N/A |
| `tw` | *string* | :heavy_minus_sign: | N/A |
| `tj` | *string* | :heavy_minus_sign: | N/A |
| `tz` | *string* | :heavy_minus_sign: | N/A |
| `th` | *string* | :heavy_minus_sign: | N/A |
| `tl` | *string* | :heavy_minus_sign: | N/A |
| `tg` | *string* | :heavy_minus_sign: | N/A |
| `tk` | *string* | :heavy_minus_sign: | N/A |
| `to` | *string* | :heavy_minus_sign: | N/A |
| `tt` | *string* | :heavy_minus_sign: | N/A |
| `tn` | *string* | :heavy_minus_sign: | N/A |
| `tr` | *string* | :heavy_minus_sign: | N/A |
| `tm` | *string* | :heavy_minus_sign: | N/A |
| `tc` | *string* | :heavy_minus_sign: | N/A |
| `tv` | *string* | :heavy_minus_sign: | N/A |
| `ug` | *string* | :heavy_minus_sign: | N/A |
| `ua` | *string* | :heavy_minus_sign: | N/A |
| `ae` | *string* | :heavy_minus_sign: | N/A |
| `gb` | *string* | :heavy_minus_sign: | N/A |
| `us` | *string* | :heavy_minus_sign: | N/A |
| `um` | *string* | :heavy_minus_sign: | N/A |
| `uy` | *string* | :heavy_minus_sign: | N/A |
| `uz` | *string* | :heavy_minus_sign: | N/A |
| `vu` | *string* | :heavy_minus_sign: | N/A |
| `ve` | *string* | :heavy_minus_sign: | N/A |
| `vn` | *string* | :heavy_minus_sign: | N/A |
| `vg` | *string* | :heavy_minus_sign: | N/A |
| `vi` | *string* | :heavy_minus_sign: | N/A |
| `wf` | *string* | :heavy_minus_sign: | N/A |
| `eh` | *string* | :heavy_minus_sign: | N/A |
| `ye` | *string* | :heavy_minus_sign: | N/A |
| `zm` | *string* | :heavy_minus_sign: | N/A |
| `zw` | *string* | :heavy_minus_sign: | N/A |
| `ax` | *string* | :heavy_minus_sign: | N/A |
| `bq` | *string* | :heavy_minus_sign: | N/A |
| `cw` | *string* | :heavy_minus_sign: | N/A |
| `gg` | *string* | :heavy_minus_sign: | N/A |
| `im` | *string* | :heavy_minus_sign: | N/A |
| `je` | *string* | :heavy_minus_sign: | N/A |
| `me` | *string* | :heavy_minus_sign: | N/A |
| `bl` | *string* | :heavy_minus_sign: | N/A |
| `mf` | *string* | :heavy_minus_sign: | N/A |
| `rs` | *string* | :heavy_minus_sign: | N/A |
| `sx` | *string* | :heavy_minus_sign: | N/A |
| `ss` | *string* | :heavy_minus_sign: | N/A |
| `xk` | *string* | :heavy_minus_sign: | N/A |

View File

@@ -26,4 +26,4 @@
| `rewrite` | *boolean* | :heavy_minus_sign: | Whether the short link uses link cloaking. | |
| `ios` | *string* | :heavy_minus_sign: | The iOS destination URL for the short link for iOS device targeting. | |
| `android` | *string* | :heavy_minus_sign: | The Android destination URL for the short link for Android device targeting. | |
| `geo` | [operations.UpdateLinkGeo](../../models/operations/updatelinkgeo.md) | :heavy_minus_sign: | Geo targeting information for the short link in JSON format `{[COUNTRY]: https://example.com }`. | |
| `geo` | [components.LinkGeoTargeting](../../models/components/linkgeotargeting.md) | :heavy_minus_sign: | Geo targeting information for the short link in JSON format `{[COUNTRY]: https://example.com }`. | |

View File

@@ -1,259 +0,0 @@
# UpsertLinkGeo
Geo targeting information for the short link in JSON format `{[COUNTRY]: https://example.com }`.
## Fields
| Field | Type | Required | Description |
| ------------------ | ------------------ | ------------------ | ------------------ |
| `af` | *string* | :heavy_minus_sign: | N/A |
| `al` | *string* | :heavy_minus_sign: | N/A |
| `dz` | *string* | :heavy_minus_sign: | N/A |
| `as` | *string* | :heavy_minus_sign: | N/A |
| `ad` | *string* | :heavy_minus_sign: | N/A |
| `ao` | *string* | :heavy_minus_sign: | N/A |
| `ai` | *string* | :heavy_minus_sign: | N/A |
| `aq` | *string* | :heavy_minus_sign: | N/A |
| `ag` | *string* | :heavy_minus_sign: | N/A |
| `ar` | *string* | :heavy_minus_sign: | N/A |
| `am` | *string* | :heavy_minus_sign: | N/A |
| `aw` | *string* | :heavy_minus_sign: | N/A |
| `au` | *string* | :heavy_minus_sign: | N/A |
| `at` | *string* | :heavy_minus_sign: | N/A |
| `az` | *string* | :heavy_minus_sign: | N/A |
| `bs` | *string* | :heavy_minus_sign: | N/A |
| `bh` | *string* | :heavy_minus_sign: | N/A |
| `bd` | *string* | :heavy_minus_sign: | N/A |
| `bb` | *string* | :heavy_minus_sign: | N/A |
| `by` | *string* | :heavy_minus_sign: | N/A |
| `be` | *string* | :heavy_minus_sign: | N/A |
| `bz` | *string* | :heavy_minus_sign: | N/A |
| `bj` | *string* | :heavy_minus_sign: | N/A |
| `bm` | *string* | :heavy_minus_sign: | N/A |
| `bt` | *string* | :heavy_minus_sign: | N/A |
| `bo` | *string* | :heavy_minus_sign: | N/A |
| `ba` | *string* | :heavy_minus_sign: | N/A |
| `bw` | *string* | :heavy_minus_sign: | N/A |
| `bv` | *string* | :heavy_minus_sign: | N/A |
| `br` | *string* | :heavy_minus_sign: | N/A |
| `io` | *string* | :heavy_minus_sign: | N/A |
| `bn` | *string* | :heavy_minus_sign: | N/A |
| `bg` | *string* | :heavy_minus_sign: | N/A |
| `bf` | *string* | :heavy_minus_sign: | N/A |
| `bi` | *string* | :heavy_minus_sign: | N/A |
| `kh` | *string* | :heavy_minus_sign: | N/A |
| `cm` | *string* | :heavy_minus_sign: | N/A |
| `ca` | *string* | :heavy_minus_sign: | N/A |
| `cv` | *string* | :heavy_minus_sign: | N/A |
| `ky` | *string* | :heavy_minus_sign: | N/A |
| `cf` | *string* | :heavy_minus_sign: | N/A |
| `td` | *string* | :heavy_minus_sign: | N/A |
| `cl` | *string* | :heavy_minus_sign: | N/A |
| `cn` | *string* | :heavy_minus_sign: | N/A |
| `cx` | *string* | :heavy_minus_sign: | N/A |
| `cc` | *string* | :heavy_minus_sign: | N/A |
| `co` | *string* | :heavy_minus_sign: | N/A |
| `km` | *string* | :heavy_minus_sign: | N/A |
| `cg` | *string* | :heavy_minus_sign: | N/A |
| `cd` | *string* | :heavy_minus_sign: | N/A |
| `ck` | *string* | :heavy_minus_sign: | N/A |
| `cr` | *string* | :heavy_minus_sign: | N/A |
| `ci` | *string* | :heavy_minus_sign: | N/A |
| `hr` | *string* | :heavy_minus_sign: | N/A |
| `cu` | *string* | :heavy_minus_sign: | N/A |
| `cy` | *string* | :heavy_minus_sign: | N/A |
| `cz` | *string* | :heavy_minus_sign: | N/A |
| `dk` | *string* | :heavy_minus_sign: | N/A |
| `dj` | *string* | :heavy_minus_sign: | N/A |
| `dm` | *string* | :heavy_minus_sign: | N/A |
| `do` | *string* | :heavy_minus_sign: | N/A |
| `ec` | *string* | :heavy_minus_sign: | N/A |
| `eg` | *string* | :heavy_minus_sign: | N/A |
| `sv` | *string* | :heavy_minus_sign: | N/A |
| `gq` | *string* | :heavy_minus_sign: | N/A |
| `er` | *string* | :heavy_minus_sign: | N/A |
| `ee` | *string* | :heavy_minus_sign: | N/A |
| `et` | *string* | :heavy_minus_sign: | N/A |
| `fk` | *string* | :heavy_minus_sign: | N/A |
| `fo` | *string* | :heavy_minus_sign: | N/A |
| `fj` | *string* | :heavy_minus_sign: | N/A |
| `fi` | *string* | :heavy_minus_sign: | N/A |
| `fr` | *string* | :heavy_minus_sign: | N/A |
| `gf` | *string* | :heavy_minus_sign: | N/A |
| `pf` | *string* | :heavy_minus_sign: | N/A |
| `tf` | *string* | :heavy_minus_sign: | N/A |
| `ga` | *string* | :heavy_minus_sign: | N/A |
| `gm` | *string* | :heavy_minus_sign: | N/A |
| `ge` | *string* | :heavy_minus_sign: | N/A |
| `de` | *string* | :heavy_minus_sign: | N/A |
| `gh` | *string* | :heavy_minus_sign: | N/A |
| `gi` | *string* | :heavy_minus_sign: | N/A |
| `gr` | *string* | :heavy_minus_sign: | N/A |
| `gl` | *string* | :heavy_minus_sign: | N/A |
| `gd` | *string* | :heavy_minus_sign: | N/A |
| `gp` | *string* | :heavy_minus_sign: | N/A |
| `gu` | *string* | :heavy_minus_sign: | N/A |
| `gt` | *string* | :heavy_minus_sign: | N/A |
| `gn` | *string* | :heavy_minus_sign: | N/A |
| `gw` | *string* | :heavy_minus_sign: | N/A |
| `gy` | *string* | :heavy_minus_sign: | N/A |
| `ht` | *string* | :heavy_minus_sign: | N/A |
| `hm` | *string* | :heavy_minus_sign: | N/A |
| `va` | *string* | :heavy_minus_sign: | N/A |
| `hn` | *string* | :heavy_minus_sign: | N/A |
| `hk` | *string* | :heavy_minus_sign: | N/A |
| `hu` | *string* | :heavy_minus_sign: | N/A |
| `is` | *string* | :heavy_minus_sign: | N/A |
| `in` | *string* | :heavy_minus_sign: | N/A |
| `id` | *string* | :heavy_minus_sign: | N/A |
| `ir` | *string* | :heavy_minus_sign: | N/A |
| `iq` | *string* | :heavy_minus_sign: | N/A |
| `ie` | *string* | :heavy_minus_sign: | N/A |
| `il` | *string* | :heavy_minus_sign: | N/A |
| `it` | *string* | :heavy_minus_sign: | N/A |
| `jm` | *string* | :heavy_minus_sign: | N/A |
| `jp` | *string* | :heavy_minus_sign: | N/A |
| `jo` | *string* | :heavy_minus_sign: | N/A |
| `kz` | *string* | :heavy_minus_sign: | N/A |
| `ke` | *string* | :heavy_minus_sign: | N/A |
| `ki` | *string* | :heavy_minus_sign: | N/A |
| `kp` | *string* | :heavy_minus_sign: | N/A |
| `kr` | *string* | :heavy_minus_sign: | N/A |
| `kw` | *string* | :heavy_minus_sign: | N/A |
| `kg` | *string* | :heavy_minus_sign: | N/A |
| `la` | *string* | :heavy_minus_sign: | N/A |
| `lv` | *string* | :heavy_minus_sign: | N/A |
| `lb` | *string* | :heavy_minus_sign: | N/A |
| `ls` | *string* | :heavy_minus_sign: | N/A |
| `lr` | *string* | :heavy_minus_sign: | N/A |
| `ly` | *string* | :heavy_minus_sign: | N/A |
| `li` | *string* | :heavy_minus_sign: | N/A |
| `lt` | *string* | :heavy_minus_sign: | N/A |
| `lu` | *string* | :heavy_minus_sign: | N/A |
| `mo` | *string* | :heavy_minus_sign: | N/A |
| `mg` | *string* | :heavy_minus_sign: | N/A |
| `mw` | *string* | :heavy_minus_sign: | N/A |
| `my` | *string* | :heavy_minus_sign: | N/A |
| `mv` | *string* | :heavy_minus_sign: | N/A |
| `ml` | *string* | :heavy_minus_sign: | N/A |
| `mt` | *string* | :heavy_minus_sign: | N/A |
| `mh` | *string* | :heavy_minus_sign: | N/A |
| `mq` | *string* | :heavy_minus_sign: | N/A |
| `mr` | *string* | :heavy_minus_sign: | N/A |
| `mu` | *string* | :heavy_minus_sign: | N/A |
| `yt` | *string* | :heavy_minus_sign: | N/A |
| `mx` | *string* | :heavy_minus_sign: | N/A |
| `fm` | *string* | :heavy_minus_sign: | N/A |
| `md` | *string* | :heavy_minus_sign: | N/A |
| `mc` | *string* | :heavy_minus_sign: | N/A |
| `mn` | *string* | :heavy_minus_sign: | N/A |
| `ms` | *string* | :heavy_minus_sign: | N/A |
| `ma` | *string* | :heavy_minus_sign: | N/A |
| `mz` | *string* | :heavy_minus_sign: | N/A |
| `mm` | *string* | :heavy_minus_sign: | N/A |
| `na` | *string* | :heavy_minus_sign: | N/A |
| `nr` | *string* | :heavy_minus_sign: | N/A |
| `np` | *string* | :heavy_minus_sign: | N/A |
| `nl` | *string* | :heavy_minus_sign: | N/A |
| `nc` | *string* | :heavy_minus_sign: | N/A |
| `nz` | *string* | :heavy_minus_sign: | N/A |
| `ni` | *string* | :heavy_minus_sign: | N/A |
| `ne` | *string* | :heavy_minus_sign: | N/A |
| `ng` | *string* | :heavy_minus_sign: | N/A |
| `nu` | *string* | :heavy_minus_sign: | N/A |
| `nf` | *string* | :heavy_minus_sign: | N/A |
| `mk` | *string* | :heavy_minus_sign: | N/A |
| `mp` | *string* | :heavy_minus_sign: | N/A |
| `no` | *string* | :heavy_minus_sign: | N/A |
| `om` | *string* | :heavy_minus_sign: | N/A |
| `pk` | *string* | :heavy_minus_sign: | N/A |
| `pw` | *string* | :heavy_minus_sign: | N/A |
| `ps` | *string* | :heavy_minus_sign: | N/A |
| `pa` | *string* | :heavy_minus_sign: | N/A |
| `pg` | *string* | :heavy_minus_sign: | N/A |
| `py` | *string* | :heavy_minus_sign: | N/A |
| `pe` | *string* | :heavy_minus_sign: | N/A |
| `ph` | *string* | :heavy_minus_sign: | N/A |
| `pn` | *string* | :heavy_minus_sign: | N/A |
| `pl` | *string* | :heavy_minus_sign: | N/A |
| `pt` | *string* | :heavy_minus_sign: | N/A |
| `pr` | *string* | :heavy_minus_sign: | N/A |
| `qa` | *string* | :heavy_minus_sign: | N/A |
| `re` | *string* | :heavy_minus_sign: | N/A |
| `ro` | *string* | :heavy_minus_sign: | N/A |
| `ru` | *string* | :heavy_minus_sign: | N/A |
| `rw` | *string* | :heavy_minus_sign: | N/A |
| `sh` | *string* | :heavy_minus_sign: | N/A |
| `kn` | *string* | :heavy_minus_sign: | N/A |
| `lc` | *string* | :heavy_minus_sign: | N/A |
| `pm` | *string* | :heavy_minus_sign: | N/A |
| `vc` | *string* | :heavy_minus_sign: | N/A |
| `ws` | *string* | :heavy_minus_sign: | N/A |
| `sm` | *string* | :heavy_minus_sign: | N/A |
| `st` | *string* | :heavy_minus_sign: | N/A |
| `sa` | *string* | :heavy_minus_sign: | N/A |
| `sn` | *string* | :heavy_minus_sign: | N/A |
| `sc` | *string* | :heavy_minus_sign: | N/A |
| `sl` | *string* | :heavy_minus_sign: | N/A |
| `sg` | *string* | :heavy_minus_sign: | N/A |
| `sk` | *string* | :heavy_minus_sign: | N/A |
| `si` | *string* | :heavy_minus_sign: | N/A |
| `sb` | *string* | :heavy_minus_sign: | N/A |
| `so` | *string* | :heavy_minus_sign: | N/A |
| `za` | *string* | :heavy_minus_sign: | N/A |
| `gs` | *string* | :heavy_minus_sign: | N/A |
| `es` | *string* | :heavy_minus_sign: | N/A |
| `lk` | *string* | :heavy_minus_sign: | N/A |
| `sd` | *string* | :heavy_minus_sign: | N/A |
| `sr` | *string* | :heavy_minus_sign: | N/A |
| `sj` | *string* | :heavy_minus_sign: | N/A |
| `sz` | *string* | :heavy_minus_sign: | N/A |
| `se` | *string* | :heavy_minus_sign: | N/A |
| `ch` | *string* | :heavy_minus_sign: | N/A |
| `sy` | *string* | :heavy_minus_sign: | N/A |
| `tw` | *string* | :heavy_minus_sign: | N/A |
| `tj` | *string* | :heavy_minus_sign: | N/A |
| `tz` | *string* | :heavy_minus_sign: | N/A |
| `th` | *string* | :heavy_minus_sign: | N/A |
| `tl` | *string* | :heavy_minus_sign: | N/A |
| `tg` | *string* | :heavy_minus_sign: | N/A |
| `tk` | *string* | :heavy_minus_sign: | N/A |
| `to` | *string* | :heavy_minus_sign: | N/A |
| `tt` | *string* | :heavy_minus_sign: | N/A |
| `tn` | *string* | :heavy_minus_sign: | N/A |
| `tr` | *string* | :heavy_minus_sign: | N/A |
| `tm` | *string* | :heavy_minus_sign: | N/A |
| `tc` | *string* | :heavy_minus_sign: | N/A |
| `tv` | *string* | :heavy_minus_sign: | N/A |
| `ug` | *string* | :heavy_minus_sign: | N/A |
| `ua` | *string* | :heavy_minus_sign: | N/A |
| `ae` | *string* | :heavy_minus_sign: | N/A |
| `gb` | *string* | :heavy_minus_sign: | N/A |
| `us` | *string* | :heavy_minus_sign: | N/A |
| `um` | *string* | :heavy_minus_sign: | N/A |
| `uy` | *string* | :heavy_minus_sign: | N/A |
| `uz` | *string* | :heavy_minus_sign: | N/A |
| `vu` | *string* | :heavy_minus_sign: | N/A |
| `ve` | *string* | :heavy_minus_sign: | N/A |
| `vn` | *string* | :heavy_minus_sign: | N/A |
| `vg` | *string* | :heavy_minus_sign: | N/A |
| `vi` | *string* | :heavy_minus_sign: | N/A |
| `wf` | *string* | :heavy_minus_sign: | N/A |
| `eh` | *string* | :heavy_minus_sign: | N/A |
| `ye` | *string* | :heavy_minus_sign: | N/A |
| `zm` | *string* | :heavy_minus_sign: | N/A |
| `zw` | *string* | :heavy_minus_sign: | N/A |
| `ax` | *string* | :heavy_minus_sign: | N/A |
| `bq` | *string* | :heavy_minus_sign: | N/A |
| `cw` | *string* | :heavy_minus_sign: | N/A |
| `gg` | *string* | :heavy_minus_sign: | N/A |
| `im` | *string* | :heavy_minus_sign: | N/A |
| `je` | *string* | :heavy_minus_sign: | N/A |
| `me` | *string* | :heavy_minus_sign: | N/A |
| `bl` | *string* | :heavy_minus_sign: | N/A |
| `mf` | *string* | :heavy_minus_sign: | N/A |
| `rs` | *string* | :heavy_minus_sign: | N/A |
| `sx` | *string* | :heavy_minus_sign: | N/A |
| `ss` | *string* | :heavy_minus_sign: | N/A |
| `xk` | *string* | :heavy_minus_sign: | N/A |

View File

@@ -26,4 +26,4 @@
| `rewrite` | *boolean* | :heavy_minus_sign: | Whether the short link uses link cloaking. | |
| `ios` | *string* | :heavy_minus_sign: | The iOS destination URL for the short link for iOS device targeting. | |
| `android` | *string* | :heavy_minus_sign: | The Android destination URL for the short link for Android device targeting. | |
| `geo` | [operations.UpsertLinkGeo](../../models/operations/upsertlinkgeo.md) | :heavy_minus_sign: | Geo targeting information for the short link in JSON format `{[COUNTRY]: https://example.com }`. | |
| `geo` | [components.LinkGeoTargeting](../../models/components/linkgeotargeting.md) | :heavy_minus_sign: | Geo targeting information for the short link in JSON format `{[COUNTRY]: https://example.com }`. | |

View File

@@ -103,7 +103,7 @@ run();
### Response
**Promise<[operations.GetCountriesByClicksDeprecatedResponseBody[]](../../models/.md)>**
**Promise<[components.ClicksByCountry[]](../../models/.md)>**
### Errors
| Error Object | Status Code | Content Type |
@@ -156,7 +156,7 @@ run();
### Response
**Promise<[operations.GetCitiesByClicksDeprecatedResponseBody[]](../../models/.md)>**
**Promise<[components.ClicksByCities[]](../../models/.md)>**
### Errors
| Error Object | Status Code | Content Type |

View File

@@ -152,7 +152,7 @@ run();
### Response
**Promise<[operations.GetCountriesByClicksResponseBody[]](../../models/.md)>**
**Promise<[components.ClicksByCountry[]](../../models/.md)>**
### Errors
| Error Object | Status Code | Content Type |
@@ -203,7 +203,7 @@ run();
### Response
**Promise<[operations.GetCitiesByClicksResponseBody[]](../../models/.md)>**
**Promise<[components.ClicksByCities[]](../../models/.md)>**
### Errors
| Error Object | Status Code | Content Type |

View File

@@ -2,7 +2,7 @@
{
"name": "dub",
"version": "0.29.2",
"version": "0.29.3",
"exports": {
".": "./src/index.ts",
"./models/errors": "./src/models/errors/index.ts",

4
package-lock.json generated
View File

@@ -1,12 +1,12 @@
{
"name": "dub",
"version": "0.29.2",
"version": "0.29.3",
"lockfileVersion": 3,
"requires": true,
"packages": {
"": {
"name": "dub",
"version": "0.29.2",
"version": "0.29.3",
"devDependencies": {
"@types/jsonpath": "^0.2.4",
"@types/node": "^20.12.7",

View File

@@ -1,6 +1,6 @@
{
"name": "dub",
"version": "0.29.2",
"version": "0.29.3",
"author": "Dub",
"main": "./index.js",
"sideEffects": false,

View File

@@ -64,7 +64,7 @@ export function serverURLFromOptions(options: SDKOptions): URL | null {
export const SDK_METADATA = {
language: "typescript",
openapiDocVersion: "0.0.1",
sdkVersion: "0.29.2",
sdkVersion: "0.29.3",
genVersion: "2.332.4",
userAgent: "speakeasy-sdk/typescript 0.29.2 2.332.4 0.0.1 dub",
userAgent: "speakeasy-sdk/typescript 0.29.3 2.332.4 0.0.1 dub",
} as const;

View File

@@ -0,0 +1,324 @@
/*
* Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT.
*/
import { ClosedEnum } from "../../types";
import * as z from "zod";
/**
* The 2-letter country code of the city: https://d.to/geo
*/
export const ClicksByCitiesCountry = {
Af: "AF",
Al: "AL",
Dz: "DZ",
As: "AS",
Ad: "AD",
Ao: "AO",
Ai: "AI",
Aq: "AQ",
Ag: "AG",
Ar: "AR",
Am: "AM",
Aw: "AW",
Au: "AU",
At: "AT",
Az: "AZ",
Bs: "BS",
Bh: "BH",
Bd: "BD",
Bb: "BB",
By: "BY",
Be: "BE",
Bz: "BZ",
Bj: "BJ",
Bm: "BM",
Bt: "BT",
Bo: "BO",
Ba: "BA",
Bw: "BW",
Bv: "BV",
Br: "BR",
Io: "IO",
Bn: "BN",
Bg: "BG",
Bf: "BF",
Bi: "BI",
Kh: "KH",
Cm: "CM",
Ca: "CA",
Cv: "CV",
Ky: "KY",
Cf: "CF",
Td: "TD",
Cl: "CL",
Cn: "CN",
Cx: "CX",
Cc: "CC",
Co: "CO",
Km: "KM",
Cg: "CG",
Cd: "CD",
Ck: "CK",
Cr: "CR",
Ci: "CI",
Hr: "HR",
Cu: "CU",
Cy: "CY",
Cz: "CZ",
Dk: "DK",
Dj: "DJ",
Dm: "DM",
Do: "DO",
Ec: "EC",
Eg: "EG",
Sv: "SV",
Gq: "GQ",
Er: "ER",
Ee: "EE",
Et: "ET",
Fk: "FK",
Fo: "FO",
Fj: "FJ",
Fi: "FI",
Fr: "FR",
Gf: "GF",
Pf: "PF",
Tf: "TF",
Ga: "GA",
Gm: "GM",
Ge: "GE",
De: "DE",
Gh: "GH",
Gi: "GI",
Gr: "GR",
Gl: "GL",
Gd: "GD",
Gp: "GP",
Gu: "GU",
Gt: "GT",
Gn: "GN",
Gw: "GW",
Gy: "GY",
Ht: "HT",
Hm: "HM",
Va: "VA",
Hn: "HN",
Hk: "HK",
Hu: "HU",
Is: "IS",
In: "IN",
Id: "ID",
Ir: "IR",
Iq: "IQ",
Ie: "IE",
Il: "IL",
It: "IT",
Jm: "JM",
Jp: "JP",
Jo: "JO",
Kz: "KZ",
Ke: "KE",
Ki: "KI",
Kp: "KP",
Kr: "KR",
Kw: "KW",
Kg: "KG",
La: "LA",
Lv: "LV",
Lb: "LB",
Ls: "LS",
Lr: "LR",
Ly: "LY",
Li: "LI",
Lt: "LT",
Lu: "LU",
Mo: "MO",
Mg: "MG",
Mw: "MW",
My: "MY",
Mv: "MV",
Ml: "ML",
Mt: "MT",
Mh: "MH",
Mq: "MQ",
Mr: "MR",
Mu: "MU",
Yt: "YT",
Mx: "MX",
Fm: "FM",
Md: "MD",
Mc: "MC",
Mn: "MN",
Ms: "MS",
Ma: "MA",
Mz: "MZ",
Mm: "MM",
Na: "NA",
Nr: "NR",
Np: "NP",
Nl: "NL",
Nc: "NC",
Nz: "NZ",
Ni: "NI",
Ne: "NE",
Ng: "NG",
Nu: "NU",
Nf: "NF",
Mk: "MK",
Mp: "MP",
No: "NO",
Om: "OM",
Pk: "PK",
Pw: "PW",
Ps: "PS",
Pa: "PA",
Pg: "PG",
Py: "PY",
Pe: "PE",
Ph: "PH",
Pn: "PN",
Pl: "PL",
Pt: "PT",
Pr: "PR",
Qa: "QA",
Re: "RE",
Ro: "RO",
Ru: "RU",
Rw: "RW",
Sh: "SH",
Kn: "KN",
Lc: "LC",
Pm: "PM",
Vc: "VC",
Ws: "WS",
Sm: "SM",
St: "ST",
Sa: "SA",
Sn: "SN",
Sc: "SC",
Sl: "SL",
Sg: "SG",
Sk: "SK",
Si: "SI",
Sb: "SB",
So: "SO",
Za: "ZA",
Gs: "GS",
Es: "ES",
Lk: "LK",
Sd: "SD",
Sr: "SR",
Sj: "SJ",
Sz: "SZ",
Se: "SE",
Ch: "CH",
Sy: "SY",
Tw: "TW",
Tj: "TJ",
Tz: "TZ",
Th: "TH",
Tl: "TL",
Tg: "TG",
Tk: "TK",
To: "TO",
Tt: "TT",
Tn: "TN",
Tr: "TR",
Tm: "TM",
Tc: "TC",
Tv: "TV",
Ug: "UG",
Ua: "UA",
Ae: "AE",
Gb: "GB",
Us: "US",
Um: "UM",
Uy: "UY",
Uz: "UZ",
Vu: "VU",
Ve: "VE",
Vn: "VN",
Vg: "VG",
Vi: "VI",
Wf: "WF",
Eh: "EH",
Ye: "YE",
Zm: "ZM",
Zw: "ZW",
Ax: "AX",
Bq: "BQ",
Cw: "CW",
Gg: "GG",
Im: "IM",
Je: "JE",
Me: "ME",
Bl: "BL",
Mf: "MF",
Rs: "RS",
Sx: "SX",
Ss: "SS",
Xk: "XK",
} as const;
/**
* The 2-letter country code of the city: https://d.to/geo
*/
export type ClicksByCitiesCountry = ClosedEnum<typeof ClicksByCitiesCountry>;
export type ClicksByCities = {
/**
* The name of the city
*/
city: string;
/**
* The 2-letter country code of the city: https://d.to/geo
*/
country: ClicksByCitiesCountry;
/**
* The number of clicks from this city
*/
clicks: number;
};
/** @internal */
export namespace ClicksByCitiesCountry$ {
export const inboundSchema = z.nativeEnum(ClicksByCitiesCountry);
export const outboundSchema = inboundSchema;
}
/** @internal */
export namespace ClicksByCities$ {
export const inboundSchema: z.ZodType<ClicksByCities, z.ZodTypeDef, unknown> = z
.object({
city: z.string(),
country: ClicksByCitiesCountry$.inboundSchema,
clicks: z.number(),
})
.transform((v) => {
return {
city: v.city,
country: v.country,
clicks: v.clicks,
};
});
export type Outbound = {
city: string;
country: string;
clicks: number;
};
export const outboundSchema: z.ZodType<Outbound, z.ZodTypeDef, ClicksByCities> = z
.object({
city: z.string(),
country: ClicksByCitiesCountry$.outboundSchema,
clicks: z.number(),
})
.transform((v) => {
return {
city: v.city,
country: v.country,
clicks: v.clicks,
};
});
}

View File

@@ -0,0 +1,315 @@
/*
* Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT.
*/
import { ClosedEnum } from "../../types";
import * as z from "zod";
/**
* The 2-letter country code: https://d.to/geo
*/
export const Country = {
Af: "AF",
Al: "AL",
Dz: "DZ",
As: "AS",
Ad: "AD",
Ao: "AO",
Ai: "AI",
Aq: "AQ",
Ag: "AG",
Ar: "AR",
Am: "AM",
Aw: "AW",
Au: "AU",
At: "AT",
Az: "AZ",
Bs: "BS",
Bh: "BH",
Bd: "BD",
Bb: "BB",
By: "BY",
Be: "BE",
Bz: "BZ",
Bj: "BJ",
Bm: "BM",
Bt: "BT",
Bo: "BO",
Ba: "BA",
Bw: "BW",
Bv: "BV",
Br: "BR",
Io: "IO",
Bn: "BN",
Bg: "BG",
Bf: "BF",
Bi: "BI",
Kh: "KH",
Cm: "CM",
Ca: "CA",
Cv: "CV",
Ky: "KY",
Cf: "CF",
Td: "TD",
Cl: "CL",
Cn: "CN",
Cx: "CX",
Cc: "CC",
Co: "CO",
Km: "KM",
Cg: "CG",
Cd: "CD",
Ck: "CK",
Cr: "CR",
Ci: "CI",
Hr: "HR",
Cu: "CU",
Cy: "CY",
Cz: "CZ",
Dk: "DK",
Dj: "DJ",
Dm: "DM",
Do: "DO",
Ec: "EC",
Eg: "EG",
Sv: "SV",
Gq: "GQ",
Er: "ER",
Ee: "EE",
Et: "ET",
Fk: "FK",
Fo: "FO",
Fj: "FJ",
Fi: "FI",
Fr: "FR",
Gf: "GF",
Pf: "PF",
Tf: "TF",
Ga: "GA",
Gm: "GM",
Ge: "GE",
De: "DE",
Gh: "GH",
Gi: "GI",
Gr: "GR",
Gl: "GL",
Gd: "GD",
Gp: "GP",
Gu: "GU",
Gt: "GT",
Gn: "GN",
Gw: "GW",
Gy: "GY",
Ht: "HT",
Hm: "HM",
Va: "VA",
Hn: "HN",
Hk: "HK",
Hu: "HU",
Is: "IS",
In: "IN",
Id: "ID",
Ir: "IR",
Iq: "IQ",
Ie: "IE",
Il: "IL",
It: "IT",
Jm: "JM",
Jp: "JP",
Jo: "JO",
Kz: "KZ",
Ke: "KE",
Ki: "KI",
Kp: "KP",
Kr: "KR",
Kw: "KW",
Kg: "KG",
La: "LA",
Lv: "LV",
Lb: "LB",
Ls: "LS",
Lr: "LR",
Ly: "LY",
Li: "LI",
Lt: "LT",
Lu: "LU",
Mo: "MO",
Mg: "MG",
Mw: "MW",
My: "MY",
Mv: "MV",
Ml: "ML",
Mt: "MT",
Mh: "MH",
Mq: "MQ",
Mr: "MR",
Mu: "MU",
Yt: "YT",
Mx: "MX",
Fm: "FM",
Md: "MD",
Mc: "MC",
Mn: "MN",
Ms: "MS",
Ma: "MA",
Mz: "MZ",
Mm: "MM",
Na: "NA",
Nr: "NR",
Np: "NP",
Nl: "NL",
Nc: "NC",
Nz: "NZ",
Ni: "NI",
Ne: "NE",
Ng: "NG",
Nu: "NU",
Nf: "NF",
Mk: "MK",
Mp: "MP",
No: "NO",
Om: "OM",
Pk: "PK",
Pw: "PW",
Ps: "PS",
Pa: "PA",
Pg: "PG",
Py: "PY",
Pe: "PE",
Ph: "PH",
Pn: "PN",
Pl: "PL",
Pt: "PT",
Pr: "PR",
Qa: "QA",
Re: "RE",
Ro: "RO",
Ru: "RU",
Rw: "RW",
Sh: "SH",
Kn: "KN",
Lc: "LC",
Pm: "PM",
Vc: "VC",
Ws: "WS",
Sm: "SM",
St: "ST",
Sa: "SA",
Sn: "SN",
Sc: "SC",
Sl: "SL",
Sg: "SG",
Sk: "SK",
Si: "SI",
Sb: "SB",
So: "SO",
Za: "ZA",
Gs: "GS",
Es: "ES",
Lk: "LK",
Sd: "SD",
Sr: "SR",
Sj: "SJ",
Sz: "SZ",
Se: "SE",
Ch: "CH",
Sy: "SY",
Tw: "TW",
Tj: "TJ",
Tz: "TZ",
Th: "TH",
Tl: "TL",
Tg: "TG",
Tk: "TK",
To: "TO",
Tt: "TT",
Tn: "TN",
Tr: "TR",
Tm: "TM",
Tc: "TC",
Tv: "TV",
Ug: "UG",
Ua: "UA",
Ae: "AE",
Gb: "GB",
Us: "US",
Um: "UM",
Uy: "UY",
Uz: "UZ",
Vu: "VU",
Ve: "VE",
Vn: "VN",
Vg: "VG",
Vi: "VI",
Wf: "WF",
Eh: "EH",
Ye: "YE",
Zm: "ZM",
Zw: "ZW",
Ax: "AX",
Bq: "BQ",
Cw: "CW",
Gg: "GG",
Im: "IM",
Je: "JE",
Me: "ME",
Bl: "BL",
Mf: "MF",
Rs: "RS",
Sx: "SX",
Ss: "SS",
Xk: "XK",
} as const;
/**
* The 2-letter country code: https://d.to/geo
*/
export type Country = ClosedEnum<typeof Country>;
export type ClicksByCountry = {
/**
* The 2-letter country code: https://d.to/geo
*/
country: Country;
/**
* The number of clicks from this country
*/
clicks: number;
};
/** @internal */
export namespace Country$ {
export const inboundSchema = z.nativeEnum(Country);
export const outboundSchema = inboundSchema;
}
/** @internal */
export namespace ClicksByCountry$ {
export const inboundSchema: z.ZodType<ClicksByCountry, z.ZodTypeDef, unknown> = z
.object({
country: Country$.inboundSchema,
clicks: z.number(),
})
.transform((v) => {
return {
country: v.country,
clicks: v.clicks,
};
});
export type Outbound = {
country: string;
clicks: number;
};
export const outboundSchema: z.ZodType<Outbound, z.ZodTypeDef, ClicksByCountry> = z
.object({
country: Country$.outboundSchema,
clicks: z.number(),
})
.transform((v) => {
return {
country: v.country,
clicks: v.clicks,
};
});
}

View File

@@ -0,0 +1,272 @@
/*
* Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT.
*/
import { ClosedEnum } from "../../types";
import * as z from "zod";
/**
* The country to retrieve analytics for.
*/
export const CountryCode = {
Af: "AF",
Al: "AL",
Dz: "DZ",
As: "AS",
Ad: "AD",
Ao: "AO",
Ai: "AI",
Aq: "AQ",
Ag: "AG",
Ar: "AR",
Am: "AM",
Aw: "AW",
Au: "AU",
At: "AT",
Az: "AZ",
Bs: "BS",
Bh: "BH",
Bd: "BD",
Bb: "BB",
By: "BY",
Be: "BE",
Bz: "BZ",
Bj: "BJ",
Bm: "BM",
Bt: "BT",
Bo: "BO",
Ba: "BA",
Bw: "BW",
Bv: "BV",
Br: "BR",
Io: "IO",
Bn: "BN",
Bg: "BG",
Bf: "BF",
Bi: "BI",
Kh: "KH",
Cm: "CM",
Ca: "CA",
Cv: "CV",
Ky: "KY",
Cf: "CF",
Td: "TD",
Cl: "CL",
Cn: "CN",
Cx: "CX",
Cc: "CC",
Co: "CO",
Km: "KM",
Cg: "CG",
Cd: "CD",
Ck: "CK",
Cr: "CR",
Ci: "CI",
Hr: "HR",
Cu: "CU",
Cy: "CY",
Cz: "CZ",
Dk: "DK",
Dj: "DJ",
Dm: "DM",
Do: "DO",
Ec: "EC",
Eg: "EG",
Sv: "SV",
Gq: "GQ",
Er: "ER",
Ee: "EE",
Et: "ET",
Fk: "FK",
Fo: "FO",
Fj: "FJ",
Fi: "FI",
Fr: "FR",
Gf: "GF",
Pf: "PF",
Tf: "TF",
Ga: "GA",
Gm: "GM",
Ge: "GE",
De: "DE",
Gh: "GH",
Gi: "GI",
Gr: "GR",
Gl: "GL",
Gd: "GD",
Gp: "GP",
Gu: "GU",
Gt: "GT",
Gn: "GN",
Gw: "GW",
Gy: "GY",
Ht: "HT",
Hm: "HM",
Va: "VA",
Hn: "HN",
Hk: "HK",
Hu: "HU",
Is: "IS",
In: "IN",
Id: "ID",
Ir: "IR",
Iq: "IQ",
Ie: "IE",
Il: "IL",
It: "IT",
Jm: "JM",
Jp: "JP",
Jo: "JO",
Kz: "KZ",
Ke: "KE",
Ki: "KI",
Kp: "KP",
Kr: "KR",
Kw: "KW",
Kg: "KG",
La: "LA",
Lv: "LV",
Lb: "LB",
Ls: "LS",
Lr: "LR",
Ly: "LY",
Li: "LI",
Lt: "LT",
Lu: "LU",
Mo: "MO",
Mg: "MG",
Mw: "MW",
My: "MY",
Mv: "MV",
Ml: "ML",
Mt: "MT",
Mh: "MH",
Mq: "MQ",
Mr: "MR",
Mu: "MU",
Yt: "YT",
Mx: "MX",
Fm: "FM",
Md: "MD",
Mc: "MC",
Mn: "MN",
Ms: "MS",
Ma: "MA",
Mz: "MZ",
Mm: "MM",
Na: "NA",
Nr: "NR",
Np: "NP",
Nl: "NL",
Nc: "NC",
Nz: "NZ",
Ni: "NI",
Ne: "NE",
Ng: "NG",
Nu: "NU",
Nf: "NF",
Mk: "MK",
Mp: "MP",
No: "NO",
Om: "OM",
Pk: "PK",
Pw: "PW",
Ps: "PS",
Pa: "PA",
Pg: "PG",
Py: "PY",
Pe: "PE",
Ph: "PH",
Pn: "PN",
Pl: "PL",
Pt: "PT",
Pr: "PR",
Qa: "QA",
Re: "RE",
Ro: "RO",
Ru: "RU",
Rw: "RW",
Sh: "SH",
Kn: "KN",
Lc: "LC",
Pm: "PM",
Vc: "VC",
Ws: "WS",
Sm: "SM",
St: "ST",
Sa: "SA",
Sn: "SN",
Sc: "SC",
Sl: "SL",
Sg: "SG",
Sk: "SK",
Si: "SI",
Sb: "SB",
So: "SO",
Za: "ZA",
Gs: "GS",
Es: "ES",
Lk: "LK",
Sd: "SD",
Sr: "SR",
Sj: "SJ",
Sz: "SZ",
Se: "SE",
Ch: "CH",
Sy: "SY",
Tw: "TW",
Tj: "TJ",
Tz: "TZ",
Th: "TH",
Tl: "TL",
Tg: "TG",
Tk: "TK",
To: "TO",
Tt: "TT",
Tn: "TN",
Tr: "TR",
Tm: "TM",
Tc: "TC",
Tv: "TV",
Ug: "UG",
Ua: "UA",
Ae: "AE",
Gb: "GB",
Us: "US",
Um: "UM",
Uy: "UY",
Uz: "UZ",
Vu: "VU",
Ve: "VE",
Vn: "VN",
Vg: "VG",
Vi: "VI",
Wf: "WF",
Eh: "EH",
Ye: "YE",
Zm: "ZM",
Zw: "ZW",
Ax: "AX",
Bq: "BQ",
Cw: "CW",
Gg: "GG",
Im: "IM",
Je: "JE",
Me: "ME",
Bl: "BL",
Mf: "MF",
Rs: "RS",
Sx: "SX",
Ss: "SS",
Xk: "XK",
} as const;
/**
* The country to retrieve analytics for.
*/
export type CountryCode = ClosedEnum<typeof CountryCode>;
/** @internal */
export namespace CountryCode$ {
export const inboundSchema = z.nativeEnum(CountryCode);
export const outboundSchema = inboundSchema;
}

View File

@@ -2,7 +2,11 @@
* Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT.
*/
export * from "./clicksbycities";
export * from "./clicksbycountry";
export * from "./countrycode";
export * from "./domainschema";
export * from "./linkgeotargeting";
export * from "./linkschema";
export * from "./security";
export * from "./tagschema";

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@@ -3,6 +3,7 @@
*/
import { ClosedEnum } from "../../types";
import * as components from "../components";
import * as z from "zod";
/**
@@ -25,268 +26,6 @@ export type GetBrowsersByClicksQueryParamInterval = ClosedEnum<
typeof GetBrowsersByClicksQueryParamInterval
>;
/**
* The country to retrieve analytics for.
*/
export const GetBrowsersByClicksQueryParamCountry = {
Af: "AF",
Al: "AL",
Dz: "DZ",
As: "AS",
Ad: "AD",
Ao: "AO",
Ai: "AI",
Aq: "AQ",
Ag: "AG",
Ar: "AR",
Am: "AM",
Aw: "AW",
Au: "AU",
At: "AT",
Az: "AZ",
Bs: "BS",
Bh: "BH",
Bd: "BD",
Bb: "BB",
By: "BY",
Be: "BE",
Bz: "BZ",
Bj: "BJ",
Bm: "BM",
Bt: "BT",
Bo: "BO",
Ba: "BA",
Bw: "BW",
Bv: "BV",
Br: "BR",
Io: "IO",
Bn: "BN",
Bg: "BG",
Bf: "BF",
Bi: "BI",
Kh: "KH",
Cm: "CM",
Ca: "CA",
Cv: "CV",
Ky: "KY",
Cf: "CF",
Td: "TD",
Cl: "CL",
Cn: "CN",
Cx: "CX",
Cc: "CC",
Co: "CO",
Km: "KM",
Cg: "CG",
Cd: "CD",
Ck: "CK",
Cr: "CR",
Ci: "CI",
Hr: "HR",
Cu: "CU",
Cy: "CY",
Cz: "CZ",
Dk: "DK",
Dj: "DJ",
Dm: "DM",
Do: "DO",
Ec: "EC",
Eg: "EG",
Sv: "SV",
Gq: "GQ",
Er: "ER",
Ee: "EE",
Et: "ET",
Fk: "FK",
Fo: "FO",
Fj: "FJ",
Fi: "FI",
Fr: "FR",
Gf: "GF",
Pf: "PF",
Tf: "TF",
Ga: "GA",
Gm: "GM",
Ge: "GE",
De: "DE",
Gh: "GH",
Gi: "GI",
Gr: "GR",
Gl: "GL",
Gd: "GD",
Gp: "GP",
Gu: "GU",
Gt: "GT",
Gn: "GN",
Gw: "GW",
Gy: "GY",
Ht: "HT",
Hm: "HM",
Va: "VA",
Hn: "HN",
Hk: "HK",
Hu: "HU",
Is: "IS",
In: "IN",
Id: "ID",
Ir: "IR",
Iq: "IQ",
Ie: "IE",
Il: "IL",
It: "IT",
Jm: "JM",
Jp: "JP",
Jo: "JO",
Kz: "KZ",
Ke: "KE",
Ki: "KI",
Kp: "KP",
Kr: "KR",
Kw: "KW",
Kg: "KG",
La: "LA",
Lv: "LV",
Lb: "LB",
Ls: "LS",
Lr: "LR",
Ly: "LY",
Li: "LI",
Lt: "LT",
Lu: "LU",
Mo: "MO",
Mg: "MG",
Mw: "MW",
My: "MY",
Mv: "MV",
Ml: "ML",
Mt: "MT",
Mh: "MH",
Mq: "MQ",
Mr: "MR",
Mu: "MU",
Yt: "YT",
Mx: "MX",
Fm: "FM",
Md: "MD",
Mc: "MC",
Mn: "MN",
Ms: "MS",
Ma: "MA",
Mz: "MZ",
Mm: "MM",
Na: "NA",
Nr: "NR",
Np: "NP",
Nl: "NL",
Nc: "NC",
Nz: "NZ",
Ni: "NI",
Ne: "NE",
Ng: "NG",
Nu: "NU",
Nf: "NF",
Mk: "MK",
Mp: "MP",
No: "NO",
Om: "OM",
Pk: "PK",
Pw: "PW",
Ps: "PS",
Pa: "PA",
Pg: "PG",
Py: "PY",
Pe: "PE",
Ph: "PH",
Pn: "PN",
Pl: "PL",
Pt: "PT",
Pr: "PR",
Qa: "QA",
Re: "RE",
Ro: "RO",
Ru: "RU",
Rw: "RW",
Sh: "SH",
Kn: "KN",
Lc: "LC",
Pm: "PM",
Vc: "VC",
Ws: "WS",
Sm: "SM",
St: "ST",
Sa: "SA",
Sn: "SN",
Sc: "SC",
Sl: "SL",
Sg: "SG",
Sk: "SK",
Si: "SI",
Sb: "SB",
So: "SO",
Za: "ZA",
Gs: "GS",
Es: "ES",
Lk: "LK",
Sd: "SD",
Sr: "SR",
Sj: "SJ",
Sz: "SZ",
Se: "SE",
Ch: "CH",
Sy: "SY",
Tw: "TW",
Tj: "TJ",
Tz: "TZ",
Th: "TH",
Tl: "TL",
Tg: "TG",
Tk: "TK",
To: "TO",
Tt: "TT",
Tn: "TN",
Tr: "TR",
Tm: "TM",
Tc: "TC",
Tv: "TV",
Ug: "UG",
Ua: "UA",
Ae: "AE",
Gb: "GB",
Us: "US",
Um: "UM",
Uy: "UY",
Uz: "UZ",
Vu: "VU",
Ve: "VE",
Vn: "VN",
Vg: "VG",
Vi: "VI",
Wf: "WF",
Eh: "EH",
Ye: "YE",
Zm: "ZM",
Zw: "ZW",
Ax: "AX",
Bq: "BQ",
Cw: "CW",
Gg: "GG",
Im: "IM",
Je: "JE",
Me: "ME",
Bl: "BL",
Mf: "MF",
Rs: "RS",
Sx: "SX",
Ss: "SS",
Xk: "XK",
} as const;
/**
* The country to retrieve analytics for.
*/
export type GetBrowsersByClicksQueryParamCountry = ClosedEnum<
typeof GetBrowsersByClicksQueryParamCountry
>;
export type GetBrowsersByClicksRequest = {
/**
* The domain to filter analytics for.
@@ -319,7 +58,7 @@ export type GetBrowsersByClicksRequest = {
/**
* The country to retrieve analytics for.
*/
country?: GetBrowsersByClicksQueryParamCountry | undefined;
country?: components.CountryCode | undefined;
/**
* The city to retrieve analytics for.
*/
@@ -375,12 +114,6 @@ export namespace GetBrowsersByClicksQueryParamInterval$ {
export const outboundSchema = inboundSchema;
}
/** @internal */
export namespace GetBrowsersByClicksQueryParamCountry$ {
export const inboundSchema = z.nativeEnum(GetBrowsersByClicksQueryParamCountry);
export const outboundSchema = inboundSchema;
}
/** @internal */
export namespace GetBrowsersByClicksRequest$ {
export const inboundSchema: z.ZodType<GetBrowsersByClicksRequest, z.ZodTypeDef, unknown> = z
@@ -392,7 +125,7 @@ export namespace GetBrowsersByClicksRequest$ {
interval: GetBrowsersByClicksQueryParamInterval$.inboundSchema.default("24h"),
start: z.string().optional(),
end: z.string().optional(),
country: GetBrowsersByClicksQueryParamCountry$.inboundSchema.optional(),
country: components.CountryCode$.inboundSchema.optional(),
city: z.string().optional(),
device: z.string().optional(),
browser: z.string().optional(),
@@ -454,7 +187,7 @@ export namespace GetBrowsersByClicksRequest$ {
interval: GetBrowsersByClicksQueryParamInterval$.outboundSchema.default("24h"),
start: z.string().optional(),
end: z.string().optional(),
country: GetBrowsersByClicksQueryParamCountry$.outboundSchema.optional(),
country: components.CountryCode$.outboundSchema.optional(),
city: z.string().optional(),
device: z.string().optional(),
browser: z.string().optional(),

View File

@@ -3,6 +3,7 @@
*/
import { ClosedEnum } from "../../types";
import * as components from "../components";
import * as z from "zod";
/**
@@ -25,268 +26,6 @@ export type GetBrowsersByClicksDeprecatedQueryParamInterval = ClosedEnum<
typeof GetBrowsersByClicksDeprecatedQueryParamInterval
>;
/**
* The country to retrieve analytics for.
*/
export const GetBrowsersByClicksDeprecatedQueryParamCountry = {
Af: "AF",
Al: "AL",
Dz: "DZ",
As: "AS",
Ad: "AD",
Ao: "AO",
Ai: "AI",
Aq: "AQ",
Ag: "AG",
Ar: "AR",
Am: "AM",
Aw: "AW",
Au: "AU",
At: "AT",
Az: "AZ",
Bs: "BS",
Bh: "BH",
Bd: "BD",
Bb: "BB",
By: "BY",
Be: "BE",
Bz: "BZ",
Bj: "BJ",
Bm: "BM",
Bt: "BT",
Bo: "BO",
Ba: "BA",
Bw: "BW",
Bv: "BV",
Br: "BR",
Io: "IO",
Bn: "BN",
Bg: "BG",
Bf: "BF",
Bi: "BI",
Kh: "KH",
Cm: "CM",
Ca: "CA",
Cv: "CV",
Ky: "KY",
Cf: "CF",
Td: "TD",
Cl: "CL",
Cn: "CN",
Cx: "CX",
Cc: "CC",
Co: "CO",
Km: "KM",
Cg: "CG",
Cd: "CD",
Ck: "CK",
Cr: "CR",
Ci: "CI",
Hr: "HR",
Cu: "CU",
Cy: "CY",
Cz: "CZ",
Dk: "DK",
Dj: "DJ",
Dm: "DM",
Do: "DO",
Ec: "EC",
Eg: "EG",
Sv: "SV",
Gq: "GQ",
Er: "ER",
Ee: "EE",
Et: "ET",
Fk: "FK",
Fo: "FO",
Fj: "FJ",
Fi: "FI",
Fr: "FR",
Gf: "GF",
Pf: "PF",
Tf: "TF",
Ga: "GA",
Gm: "GM",
Ge: "GE",
De: "DE",
Gh: "GH",
Gi: "GI",
Gr: "GR",
Gl: "GL",
Gd: "GD",
Gp: "GP",
Gu: "GU",
Gt: "GT",
Gn: "GN",
Gw: "GW",
Gy: "GY",
Ht: "HT",
Hm: "HM",
Va: "VA",
Hn: "HN",
Hk: "HK",
Hu: "HU",
Is: "IS",
In: "IN",
Id: "ID",
Ir: "IR",
Iq: "IQ",
Ie: "IE",
Il: "IL",
It: "IT",
Jm: "JM",
Jp: "JP",
Jo: "JO",
Kz: "KZ",
Ke: "KE",
Ki: "KI",
Kp: "KP",
Kr: "KR",
Kw: "KW",
Kg: "KG",
La: "LA",
Lv: "LV",
Lb: "LB",
Ls: "LS",
Lr: "LR",
Ly: "LY",
Li: "LI",
Lt: "LT",
Lu: "LU",
Mo: "MO",
Mg: "MG",
Mw: "MW",
My: "MY",
Mv: "MV",
Ml: "ML",
Mt: "MT",
Mh: "MH",
Mq: "MQ",
Mr: "MR",
Mu: "MU",
Yt: "YT",
Mx: "MX",
Fm: "FM",
Md: "MD",
Mc: "MC",
Mn: "MN",
Ms: "MS",
Ma: "MA",
Mz: "MZ",
Mm: "MM",
Na: "NA",
Nr: "NR",
Np: "NP",
Nl: "NL",
Nc: "NC",
Nz: "NZ",
Ni: "NI",
Ne: "NE",
Ng: "NG",
Nu: "NU",
Nf: "NF",
Mk: "MK",
Mp: "MP",
No: "NO",
Om: "OM",
Pk: "PK",
Pw: "PW",
Ps: "PS",
Pa: "PA",
Pg: "PG",
Py: "PY",
Pe: "PE",
Ph: "PH",
Pn: "PN",
Pl: "PL",
Pt: "PT",
Pr: "PR",
Qa: "QA",
Re: "RE",
Ro: "RO",
Ru: "RU",
Rw: "RW",
Sh: "SH",
Kn: "KN",
Lc: "LC",
Pm: "PM",
Vc: "VC",
Ws: "WS",
Sm: "SM",
St: "ST",
Sa: "SA",
Sn: "SN",
Sc: "SC",
Sl: "SL",
Sg: "SG",
Sk: "SK",
Si: "SI",
Sb: "SB",
So: "SO",
Za: "ZA",
Gs: "GS",
Es: "ES",
Lk: "LK",
Sd: "SD",
Sr: "SR",
Sj: "SJ",
Sz: "SZ",
Se: "SE",
Ch: "CH",
Sy: "SY",
Tw: "TW",
Tj: "TJ",
Tz: "TZ",
Th: "TH",
Tl: "TL",
Tg: "TG",
Tk: "TK",
To: "TO",
Tt: "TT",
Tn: "TN",
Tr: "TR",
Tm: "TM",
Tc: "TC",
Tv: "TV",
Ug: "UG",
Ua: "UA",
Ae: "AE",
Gb: "GB",
Us: "US",
Um: "UM",
Uy: "UY",
Uz: "UZ",
Vu: "VU",
Ve: "VE",
Vn: "VN",
Vg: "VG",
Vi: "VI",
Wf: "WF",
Eh: "EH",
Ye: "YE",
Zm: "ZM",
Zw: "ZW",
Ax: "AX",
Bq: "BQ",
Cw: "CW",
Gg: "GG",
Im: "IM",
Je: "JE",
Me: "ME",
Bl: "BL",
Mf: "MF",
Rs: "RS",
Sx: "SX",
Ss: "SS",
Xk: "XK",
} as const;
/**
* The country to retrieve analytics for.
*/
export type GetBrowsersByClicksDeprecatedQueryParamCountry = ClosedEnum<
typeof GetBrowsersByClicksDeprecatedQueryParamCountry
>;
export type GetBrowsersByClicksDeprecatedRequest = {
/**
* The domain to filter analytics for.
@@ -319,7 +58,7 @@ export type GetBrowsersByClicksDeprecatedRequest = {
/**
* The country to retrieve analytics for.
*/
country?: GetBrowsersByClicksDeprecatedQueryParamCountry | undefined;
country?: components.CountryCode | undefined;
/**
* The city to retrieve analytics for.
*/
@@ -375,12 +114,6 @@ export namespace GetBrowsersByClicksDeprecatedQueryParamInterval$ {
export const outboundSchema = inboundSchema;
}
/** @internal */
export namespace GetBrowsersByClicksDeprecatedQueryParamCountry$ {
export const inboundSchema = z.nativeEnum(GetBrowsersByClicksDeprecatedQueryParamCountry);
export const outboundSchema = inboundSchema;
}
/** @internal */
export namespace GetBrowsersByClicksDeprecatedRequest$ {
export const inboundSchema: z.ZodType<
@@ -396,7 +129,7 @@ export namespace GetBrowsersByClicksDeprecatedRequest$ {
interval: GetBrowsersByClicksDeprecatedQueryParamInterval$.inboundSchema.default("24h"),
start: z.string().optional(),
end: z.string().optional(),
country: GetBrowsersByClicksDeprecatedQueryParamCountry$.inboundSchema.optional(),
country: components.CountryCode$.inboundSchema.optional(),
city: z.string().optional(),
device: z.string().optional(),
browser: z.string().optional(),
@@ -463,7 +196,7 @@ export namespace GetBrowsersByClicksDeprecatedRequest$ {
GetBrowsersByClicksDeprecatedQueryParamInterval$.outboundSchema.default("24h"),
start: z.string().optional(),
end: z.string().optional(),
country: GetBrowsersByClicksDeprecatedQueryParamCountry$.outboundSchema.optional(),
country: components.CountryCode$.outboundSchema.optional(),
city: z.string().optional(),
device: z.string().optional(),
browser: z.string().optional(),

View File

@@ -3,6 +3,7 @@
*/
import { ClosedEnum } from "../../types";
import * as components from "../components";
import * as z from "zod";
/**
@@ -25,268 +26,6 @@ export type GetCitiesByClicksQueryParamInterval = ClosedEnum<
typeof GetCitiesByClicksQueryParamInterval
>;
/**
* The country to retrieve analytics for.
*/
export const GetCitiesByClicksQueryParamCountry = {
Af: "AF",
Al: "AL",
Dz: "DZ",
As: "AS",
Ad: "AD",
Ao: "AO",
Ai: "AI",
Aq: "AQ",
Ag: "AG",
Ar: "AR",
Am: "AM",
Aw: "AW",
Au: "AU",
At: "AT",
Az: "AZ",
Bs: "BS",
Bh: "BH",
Bd: "BD",
Bb: "BB",
By: "BY",
Be: "BE",
Bz: "BZ",
Bj: "BJ",
Bm: "BM",
Bt: "BT",
Bo: "BO",
Ba: "BA",
Bw: "BW",
Bv: "BV",
Br: "BR",
Io: "IO",
Bn: "BN",
Bg: "BG",
Bf: "BF",
Bi: "BI",
Kh: "KH",
Cm: "CM",
Ca: "CA",
Cv: "CV",
Ky: "KY",
Cf: "CF",
Td: "TD",
Cl: "CL",
Cn: "CN",
Cx: "CX",
Cc: "CC",
Co: "CO",
Km: "KM",
Cg: "CG",
Cd: "CD",
Ck: "CK",
Cr: "CR",
Ci: "CI",
Hr: "HR",
Cu: "CU",
Cy: "CY",
Cz: "CZ",
Dk: "DK",
Dj: "DJ",
Dm: "DM",
Do: "DO",
Ec: "EC",
Eg: "EG",
Sv: "SV",
Gq: "GQ",
Er: "ER",
Ee: "EE",
Et: "ET",
Fk: "FK",
Fo: "FO",
Fj: "FJ",
Fi: "FI",
Fr: "FR",
Gf: "GF",
Pf: "PF",
Tf: "TF",
Ga: "GA",
Gm: "GM",
Ge: "GE",
De: "DE",
Gh: "GH",
Gi: "GI",
Gr: "GR",
Gl: "GL",
Gd: "GD",
Gp: "GP",
Gu: "GU",
Gt: "GT",
Gn: "GN",
Gw: "GW",
Gy: "GY",
Ht: "HT",
Hm: "HM",
Va: "VA",
Hn: "HN",
Hk: "HK",
Hu: "HU",
Is: "IS",
In: "IN",
Id: "ID",
Ir: "IR",
Iq: "IQ",
Ie: "IE",
Il: "IL",
It: "IT",
Jm: "JM",
Jp: "JP",
Jo: "JO",
Kz: "KZ",
Ke: "KE",
Ki: "KI",
Kp: "KP",
Kr: "KR",
Kw: "KW",
Kg: "KG",
La: "LA",
Lv: "LV",
Lb: "LB",
Ls: "LS",
Lr: "LR",
Ly: "LY",
Li: "LI",
Lt: "LT",
Lu: "LU",
Mo: "MO",
Mg: "MG",
Mw: "MW",
My: "MY",
Mv: "MV",
Ml: "ML",
Mt: "MT",
Mh: "MH",
Mq: "MQ",
Mr: "MR",
Mu: "MU",
Yt: "YT",
Mx: "MX",
Fm: "FM",
Md: "MD",
Mc: "MC",
Mn: "MN",
Ms: "MS",
Ma: "MA",
Mz: "MZ",
Mm: "MM",
Na: "NA",
Nr: "NR",
Np: "NP",
Nl: "NL",
Nc: "NC",
Nz: "NZ",
Ni: "NI",
Ne: "NE",
Ng: "NG",
Nu: "NU",
Nf: "NF",
Mk: "MK",
Mp: "MP",
No: "NO",
Om: "OM",
Pk: "PK",
Pw: "PW",
Ps: "PS",
Pa: "PA",
Pg: "PG",
Py: "PY",
Pe: "PE",
Ph: "PH",
Pn: "PN",
Pl: "PL",
Pt: "PT",
Pr: "PR",
Qa: "QA",
Re: "RE",
Ro: "RO",
Ru: "RU",
Rw: "RW",
Sh: "SH",
Kn: "KN",
Lc: "LC",
Pm: "PM",
Vc: "VC",
Ws: "WS",
Sm: "SM",
St: "ST",
Sa: "SA",
Sn: "SN",
Sc: "SC",
Sl: "SL",
Sg: "SG",
Sk: "SK",
Si: "SI",
Sb: "SB",
So: "SO",
Za: "ZA",
Gs: "GS",
Es: "ES",
Lk: "LK",
Sd: "SD",
Sr: "SR",
Sj: "SJ",
Sz: "SZ",
Se: "SE",
Ch: "CH",
Sy: "SY",
Tw: "TW",
Tj: "TJ",
Tz: "TZ",
Th: "TH",
Tl: "TL",
Tg: "TG",
Tk: "TK",
To: "TO",
Tt: "TT",
Tn: "TN",
Tr: "TR",
Tm: "TM",
Tc: "TC",
Tv: "TV",
Ug: "UG",
Ua: "UA",
Ae: "AE",
Gb: "GB",
Us: "US",
Um: "UM",
Uy: "UY",
Uz: "UZ",
Vu: "VU",
Ve: "VE",
Vn: "VN",
Vg: "VG",
Vi: "VI",
Wf: "WF",
Eh: "EH",
Ye: "YE",
Zm: "ZM",
Zw: "ZW",
Ax: "AX",
Bq: "BQ",
Cw: "CW",
Gg: "GG",
Im: "IM",
Je: "JE",
Me: "ME",
Bl: "BL",
Mf: "MF",
Rs: "RS",
Sx: "SX",
Ss: "SS",
Xk: "XK",
} as const;
/**
* The country to retrieve analytics for.
*/
export type GetCitiesByClicksQueryParamCountry = ClosedEnum<
typeof GetCitiesByClicksQueryParamCountry
>;
export type GetCitiesByClicksRequest = {
/**
* The domain to filter analytics for.
@@ -319,7 +58,7 @@ export type GetCitiesByClicksRequest = {
/**
* The country to retrieve analytics for.
*/
country?: GetCitiesByClicksQueryParamCountry | undefined;
country?: components.CountryCode | undefined;
/**
* The city to retrieve analytics for.
*/
@@ -358,293 +97,12 @@ export type GetCitiesByClicksRequest = {
root?: boolean | undefined;
};
/**
* The 2-letter country code of the city: https://d.to/geo
*/
export const GetCitiesByClicksCountry = {
Af: "AF",
Al: "AL",
Dz: "DZ",
As: "AS",
Ad: "AD",
Ao: "AO",
Ai: "AI",
Aq: "AQ",
Ag: "AG",
Ar: "AR",
Am: "AM",
Aw: "AW",
Au: "AU",
At: "AT",
Az: "AZ",
Bs: "BS",
Bh: "BH",
Bd: "BD",
Bb: "BB",
By: "BY",
Be: "BE",
Bz: "BZ",
Bj: "BJ",
Bm: "BM",
Bt: "BT",
Bo: "BO",
Ba: "BA",
Bw: "BW",
Bv: "BV",
Br: "BR",
Io: "IO",
Bn: "BN",
Bg: "BG",
Bf: "BF",
Bi: "BI",
Kh: "KH",
Cm: "CM",
Ca: "CA",
Cv: "CV",
Ky: "KY",
Cf: "CF",
Td: "TD",
Cl: "CL",
Cn: "CN",
Cx: "CX",
Cc: "CC",
Co: "CO",
Km: "KM",
Cg: "CG",
Cd: "CD",
Ck: "CK",
Cr: "CR",
Ci: "CI",
Hr: "HR",
Cu: "CU",
Cy: "CY",
Cz: "CZ",
Dk: "DK",
Dj: "DJ",
Dm: "DM",
Do: "DO",
Ec: "EC",
Eg: "EG",
Sv: "SV",
Gq: "GQ",
Er: "ER",
Ee: "EE",
Et: "ET",
Fk: "FK",
Fo: "FO",
Fj: "FJ",
Fi: "FI",
Fr: "FR",
Gf: "GF",
Pf: "PF",
Tf: "TF",
Ga: "GA",
Gm: "GM",
Ge: "GE",
De: "DE",
Gh: "GH",
Gi: "GI",
Gr: "GR",
Gl: "GL",
Gd: "GD",
Gp: "GP",
Gu: "GU",
Gt: "GT",
Gn: "GN",
Gw: "GW",
Gy: "GY",
Ht: "HT",
Hm: "HM",
Va: "VA",
Hn: "HN",
Hk: "HK",
Hu: "HU",
Is: "IS",
In: "IN",
Id: "ID",
Ir: "IR",
Iq: "IQ",
Ie: "IE",
Il: "IL",
It: "IT",
Jm: "JM",
Jp: "JP",
Jo: "JO",
Kz: "KZ",
Ke: "KE",
Ki: "KI",
Kp: "KP",
Kr: "KR",
Kw: "KW",
Kg: "KG",
La: "LA",
Lv: "LV",
Lb: "LB",
Ls: "LS",
Lr: "LR",
Ly: "LY",
Li: "LI",
Lt: "LT",
Lu: "LU",
Mo: "MO",
Mg: "MG",
Mw: "MW",
My: "MY",
Mv: "MV",
Ml: "ML",
Mt: "MT",
Mh: "MH",
Mq: "MQ",
Mr: "MR",
Mu: "MU",
Yt: "YT",
Mx: "MX",
Fm: "FM",
Md: "MD",
Mc: "MC",
Mn: "MN",
Ms: "MS",
Ma: "MA",
Mz: "MZ",
Mm: "MM",
Na: "NA",
Nr: "NR",
Np: "NP",
Nl: "NL",
Nc: "NC",
Nz: "NZ",
Ni: "NI",
Ne: "NE",
Ng: "NG",
Nu: "NU",
Nf: "NF",
Mk: "MK",
Mp: "MP",
No: "NO",
Om: "OM",
Pk: "PK",
Pw: "PW",
Ps: "PS",
Pa: "PA",
Pg: "PG",
Py: "PY",
Pe: "PE",
Ph: "PH",
Pn: "PN",
Pl: "PL",
Pt: "PT",
Pr: "PR",
Qa: "QA",
Re: "RE",
Ro: "RO",
Ru: "RU",
Rw: "RW",
Sh: "SH",
Kn: "KN",
Lc: "LC",
Pm: "PM",
Vc: "VC",
Ws: "WS",
Sm: "SM",
St: "ST",
Sa: "SA",
Sn: "SN",
Sc: "SC",
Sl: "SL",
Sg: "SG",
Sk: "SK",
Si: "SI",
Sb: "SB",
So: "SO",
Za: "ZA",
Gs: "GS",
Es: "ES",
Lk: "LK",
Sd: "SD",
Sr: "SR",
Sj: "SJ",
Sz: "SZ",
Se: "SE",
Ch: "CH",
Sy: "SY",
Tw: "TW",
Tj: "TJ",
Tz: "TZ",
Th: "TH",
Tl: "TL",
Tg: "TG",
Tk: "TK",
To: "TO",
Tt: "TT",
Tn: "TN",
Tr: "TR",
Tm: "TM",
Tc: "TC",
Tv: "TV",
Ug: "UG",
Ua: "UA",
Ae: "AE",
Gb: "GB",
Us: "US",
Um: "UM",
Uy: "UY",
Uz: "UZ",
Vu: "VU",
Ve: "VE",
Vn: "VN",
Vg: "VG",
Vi: "VI",
Wf: "WF",
Eh: "EH",
Ye: "YE",
Zm: "ZM",
Zw: "ZW",
Ax: "AX",
Bq: "BQ",
Cw: "CW",
Gg: "GG",
Im: "IM",
Je: "JE",
Me: "ME",
Bl: "BL",
Mf: "MF",
Rs: "RS",
Sx: "SX",
Ss: "SS",
Xk: "XK",
} as const;
/**
* The 2-letter country code of the city: https://d.to/geo
*/
export type GetCitiesByClicksCountry = ClosedEnum<typeof GetCitiesByClicksCountry>;
export type GetCitiesByClicksResponseBody = {
/**
* The name of the city
*/
city: string;
/**
* The 2-letter country code of the city: https://d.to/geo
*/
country: GetCitiesByClicksCountry;
/**
* The number of clicks from this city
*/
clicks: number;
};
/** @internal */
export namespace GetCitiesByClicksQueryParamInterval$ {
export const inboundSchema = z.nativeEnum(GetCitiesByClicksQueryParamInterval);
export const outboundSchema = inboundSchema;
}
/** @internal */
export namespace GetCitiesByClicksQueryParamCountry$ {
export const inboundSchema = z.nativeEnum(GetCitiesByClicksQueryParamCountry);
export const outboundSchema = inboundSchema;
}
/** @internal */
export namespace GetCitiesByClicksRequest$ {
export const inboundSchema: z.ZodType<GetCitiesByClicksRequest, z.ZodTypeDef, unknown> = z
@@ -656,7 +114,7 @@ export namespace GetCitiesByClicksRequest$ {
interval: GetCitiesByClicksQueryParamInterval$.inboundSchema.default("24h"),
start: z.string().optional(),
end: z.string().optional(),
country: GetCitiesByClicksQueryParamCountry$.inboundSchema.optional(),
country: components.CountryCode$.inboundSchema.optional(),
city: z.string().optional(),
device: z.string().optional(),
browser: z.string().optional(),
@@ -718,7 +176,7 @@ export namespace GetCitiesByClicksRequest$ {
interval: GetCitiesByClicksQueryParamInterval$.outboundSchema.default("24h"),
start: z.string().optional(),
end: z.string().optional(),
country: GetCitiesByClicksQueryParamCountry$.outboundSchema.optional(),
country: components.CountryCode$.outboundSchema.optional(),
city: z.string().optional(),
device: z.string().optional(),
browser: z.string().optional(),
@@ -751,47 +209,3 @@ export namespace GetCitiesByClicksRequest$ {
};
});
}
/** @internal */
export namespace GetCitiesByClicksCountry$ {
export const inboundSchema = z.nativeEnum(GetCitiesByClicksCountry);
export const outboundSchema = inboundSchema;
}
/** @internal */
export namespace GetCitiesByClicksResponseBody$ {
export const inboundSchema: z.ZodType<GetCitiesByClicksResponseBody, z.ZodTypeDef, unknown> = z
.object({
city: z.string(),
country: GetCitiesByClicksCountry$.inboundSchema,
clicks: z.number(),
})
.transform((v) => {
return {
city: v.city,
country: v.country,
clicks: v.clicks,
};
});
export type Outbound = {
city: string;
country: string;
clicks: number;
};
export const outboundSchema: z.ZodType<Outbound, z.ZodTypeDef, GetCitiesByClicksResponseBody> =
z
.object({
city: z.string(),
country: GetCitiesByClicksCountry$.outboundSchema,
clicks: z.number(),
})
.transform((v) => {
return {
city: v.city,
country: v.country,
clicks: v.clicks,
};
});
}

View File

@@ -3,6 +3,7 @@
*/
import { ClosedEnum } from "../../types";
import * as components from "../components";
import * as z from "zod";
/**
@@ -25,268 +26,6 @@ export type GetCitiesByClicksDeprecatedQueryParamInterval = ClosedEnum<
typeof GetCitiesByClicksDeprecatedQueryParamInterval
>;
/**
* The country to retrieve analytics for.
*/
export const GetCitiesByClicksDeprecatedQueryParamCountry = {
Af: "AF",
Al: "AL",
Dz: "DZ",
As: "AS",
Ad: "AD",
Ao: "AO",
Ai: "AI",
Aq: "AQ",
Ag: "AG",
Ar: "AR",
Am: "AM",
Aw: "AW",
Au: "AU",
At: "AT",
Az: "AZ",
Bs: "BS",
Bh: "BH",
Bd: "BD",
Bb: "BB",
By: "BY",
Be: "BE",
Bz: "BZ",
Bj: "BJ",
Bm: "BM",
Bt: "BT",
Bo: "BO",
Ba: "BA",
Bw: "BW",
Bv: "BV",
Br: "BR",
Io: "IO",
Bn: "BN",
Bg: "BG",
Bf: "BF",
Bi: "BI",
Kh: "KH",
Cm: "CM",
Ca: "CA",
Cv: "CV",
Ky: "KY",
Cf: "CF",
Td: "TD",
Cl: "CL",
Cn: "CN",
Cx: "CX",
Cc: "CC",
Co: "CO",
Km: "KM",
Cg: "CG",
Cd: "CD",
Ck: "CK",
Cr: "CR",
Ci: "CI",
Hr: "HR",
Cu: "CU",
Cy: "CY",
Cz: "CZ",
Dk: "DK",
Dj: "DJ",
Dm: "DM",
Do: "DO",
Ec: "EC",
Eg: "EG",
Sv: "SV",
Gq: "GQ",
Er: "ER",
Ee: "EE",
Et: "ET",
Fk: "FK",
Fo: "FO",
Fj: "FJ",
Fi: "FI",
Fr: "FR",
Gf: "GF",
Pf: "PF",
Tf: "TF",
Ga: "GA",
Gm: "GM",
Ge: "GE",
De: "DE",
Gh: "GH",
Gi: "GI",
Gr: "GR",
Gl: "GL",
Gd: "GD",
Gp: "GP",
Gu: "GU",
Gt: "GT",
Gn: "GN",
Gw: "GW",
Gy: "GY",
Ht: "HT",
Hm: "HM",
Va: "VA",
Hn: "HN",
Hk: "HK",
Hu: "HU",
Is: "IS",
In: "IN",
Id: "ID",
Ir: "IR",
Iq: "IQ",
Ie: "IE",
Il: "IL",
It: "IT",
Jm: "JM",
Jp: "JP",
Jo: "JO",
Kz: "KZ",
Ke: "KE",
Ki: "KI",
Kp: "KP",
Kr: "KR",
Kw: "KW",
Kg: "KG",
La: "LA",
Lv: "LV",
Lb: "LB",
Ls: "LS",
Lr: "LR",
Ly: "LY",
Li: "LI",
Lt: "LT",
Lu: "LU",
Mo: "MO",
Mg: "MG",
Mw: "MW",
My: "MY",
Mv: "MV",
Ml: "ML",
Mt: "MT",
Mh: "MH",
Mq: "MQ",
Mr: "MR",
Mu: "MU",
Yt: "YT",
Mx: "MX",
Fm: "FM",
Md: "MD",
Mc: "MC",
Mn: "MN",
Ms: "MS",
Ma: "MA",
Mz: "MZ",
Mm: "MM",
Na: "NA",
Nr: "NR",
Np: "NP",
Nl: "NL",
Nc: "NC",
Nz: "NZ",
Ni: "NI",
Ne: "NE",
Ng: "NG",
Nu: "NU",
Nf: "NF",
Mk: "MK",
Mp: "MP",
No: "NO",
Om: "OM",
Pk: "PK",
Pw: "PW",
Ps: "PS",
Pa: "PA",
Pg: "PG",
Py: "PY",
Pe: "PE",
Ph: "PH",
Pn: "PN",
Pl: "PL",
Pt: "PT",
Pr: "PR",
Qa: "QA",
Re: "RE",
Ro: "RO",
Ru: "RU",
Rw: "RW",
Sh: "SH",
Kn: "KN",
Lc: "LC",
Pm: "PM",
Vc: "VC",
Ws: "WS",
Sm: "SM",
St: "ST",
Sa: "SA",
Sn: "SN",
Sc: "SC",
Sl: "SL",
Sg: "SG",
Sk: "SK",
Si: "SI",
Sb: "SB",
So: "SO",
Za: "ZA",
Gs: "GS",
Es: "ES",
Lk: "LK",
Sd: "SD",
Sr: "SR",
Sj: "SJ",
Sz: "SZ",
Se: "SE",
Ch: "CH",
Sy: "SY",
Tw: "TW",
Tj: "TJ",
Tz: "TZ",
Th: "TH",
Tl: "TL",
Tg: "TG",
Tk: "TK",
To: "TO",
Tt: "TT",
Tn: "TN",
Tr: "TR",
Tm: "TM",
Tc: "TC",
Tv: "TV",
Ug: "UG",
Ua: "UA",
Ae: "AE",
Gb: "GB",
Us: "US",
Um: "UM",
Uy: "UY",
Uz: "UZ",
Vu: "VU",
Ve: "VE",
Vn: "VN",
Vg: "VG",
Vi: "VI",
Wf: "WF",
Eh: "EH",
Ye: "YE",
Zm: "ZM",
Zw: "ZW",
Ax: "AX",
Bq: "BQ",
Cw: "CW",
Gg: "GG",
Im: "IM",
Je: "JE",
Me: "ME",
Bl: "BL",
Mf: "MF",
Rs: "RS",
Sx: "SX",
Ss: "SS",
Xk: "XK",
} as const;
/**
* The country to retrieve analytics for.
*/
export type GetCitiesByClicksDeprecatedQueryParamCountry = ClosedEnum<
typeof GetCitiesByClicksDeprecatedQueryParamCountry
>;
export type GetCitiesByClicksDeprecatedRequest = {
/**
* The domain to filter analytics for.
@@ -319,7 +58,7 @@ export type GetCitiesByClicksDeprecatedRequest = {
/**
* The country to retrieve analytics for.
*/
country?: GetCitiesByClicksDeprecatedQueryParamCountry | undefined;
country?: components.CountryCode | undefined;
/**
* The city to retrieve analytics for.
*/
@@ -358,295 +97,12 @@ export type GetCitiesByClicksDeprecatedRequest = {
root?: boolean | undefined;
};
/**
* The 2-letter country code of the city: https://d.to/geo
*/
export const GetCitiesByClicksDeprecatedCountry = {
Af: "AF",
Al: "AL",
Dz: "DZ",
As: "AS",
Ad: "AD",
Ao: "AO",
Ai: "AI",
Aq: "AQ",
Ag: "AG",
Ar: "AR",
Am: "AM",
Aw: "AW",
Au: "AU",
At: "AT",
Az: "AZ",
Bs: "BS",
Bh: "BH",
Bd: "BD",
Bb: "BB",
By: "BY",
Be: "BE",
Bz: "BZ",
Bj: "BJ",
Bm: "BM",
Bt: "BT",
Bo: "BO",
Ba: "BA",
Bw: "BW",
Bv: "BV",
Br: "BR",
Io: "IO",
Bn: "BN",
Bg: "BG",
Bf: "BF",
Bi: "BI",
Kh: "KH",
Cm: "CM",
Ca: "CA",
Cv: "CV",
Ky: "KY",
Cf: "CF",
Td: "TD",
Cl: "CL",
Cn: "CN",
Cx: "CX",
Cc: "CC",
Co: "CO",
Km: "KM",
Cg: "CG",
Cd: "CD",
Ck: "CK",
Cr: "CR",
Ci: "CI",
Hr: "HR",
Cu: "CU",
Cy: "CY",
Cz: "CZ",
Dk: "DK",
Dj: "DJ",
Dm: "DM",
Do: "DO",
Ec: "EC",
Eg: "EG",
Sv: "SV",
Gq: "GQ",
Er: "ER",
Ee: "EE",
Et: "ET",
Fk: "FK",
Fo: "FO",
Fj: "FJ",
Fi: "FI",
Fr: "FR",
Gf: "GF",
Pf: "PF",
Tf: "TF",
Ga: "GA",
Gm: "GM",
Ge: "GE",
De: "DE",
Gh: "GH",
Gi: "GI",
Gr: "GR",
Gl: "GL",
Gd: "GD",
Gp: "GP",
Gu: "GU",
Gt: "GT",
Gn: "GN",
Gw: "GW",
Gy: "GY",
Ht: "HT",
Hm: "HM",
Va: "VA",
Hn: "HN",
Hk: "HK",
Hu: "HU",
Is: "IS",
In: "IN",
Id: "ID",
Ir: "IR",
Iq: "IQ",
Ie: "IE",
Il: "IL",
It: "IT",
Jm: "JM",
Jp: "JP",
Jo: "JO",
Kz: "KZ",
Ke: "KE",
Ki: "KI",
Kp: "KP",
Kr: "KR",
Kw: "KW",
Kg: "KG",
La: "LA",
Lv: "LV",
Lb: "LB",
Ls: "LS",
Lr: "LR",
Ly: "LY",
Li: "LI",
Lt: "LT",
Lu: "LU",
Mo: "MO",
Mg: "MG",
Mw: "MW",
My: "MY",
Mv: "MV",
Ml: "ML",
Mt: "MT",
Mh: "MH",
Mq: "MQ",
Mr: "MR",
Mu: "MU",
Yt: "YT",
Mx: "MX",
Fm: "FM",
Md: "MD",
Mc: "MC",
Mn: "MN",
Ms: "MS",
Ma: "MA",
Mz: "MZ",
Mm: "MM",
Na: "NA",
Nr: "NR",
Np: "NP",
Nl: "NL",
Nc: "NC",
Nz: "NZ",
Ni: "NI",
Ne: "NE",
Ng: "NG",
Nu: "NU",
Nf: "NF",
Mk: "MK",
Mp: "MP",
No: "NO",
Om: "OM",
Pk: "PK",
Pw: "PW",
Ps: "PS",
Pa: "PA",
Pg: "PG",
Py: "PY",
Pe: "PE",
Ph: "PH",
Pn: "PN",
Pl: "PL",
Pt: "PT",
Pr: "PR",
Qa: "QA",
Re: "RE",
Ro: "RO",
Ru: "RU",
Rw: "RW",
Sh: "SH",
Kn: "KN",
Lc: "LC",
Pm: "PM",
Vc: "VC",
Ws: "WS",
Sm: "SM",
St: "ST",
Sa: "SA",
Sn: "SN",
Sc: "SC",
Sl: "SL",
Sg: "SG",
Sk: "SK",
Si: "SI",
Sb: "SB",
So: "SO",
Za: "ZA",
Gs: "GS",
Es: "ES",
Lk: "LK",
Sd: "SD",
Sr: "SR",
Sj: "SJ",
Sz: "SZ",
Se: "SE",
Ch: "CH",
Sy: "SY",
Tw: "TW",
Tj: "TJ",
Tz: "TZ",
Th: "TH",
Tl: "TL",
Tg: "TG",
Tk: "TK",
To: "TO",
Tt: "TT",
Tn: "TN",
Tr: "TR",
Tm: "TM",
Tc: "TC",
Tv: "TV",
Ug: "UG",
Ua: "UA",
Ae: "AE",
Gb: "GB",
Us: "US",
Um: "UM",
Uy: "UY",
Uz: "UZ",
Vu: "VU",
Ve: "VE",
Vn: "VN",
Vg: "VG",
Vi: "VI",
Wf: "WF",
Eh: "EH",
Ye: "YE",
Zm: "ZM",
Zw: "ZW",
Ax: "AX",
Bq: "BQ",
Cw: "CW",
Gg: "GG",
Im: "IM",
Je: "JE",
Me: "ME",
Bl: "BL",
Mf: "MF",
Rs: "RS",
Sx: "SX",
Ss: "SS",
Xk: "XK",
} as const;
/**
* The 2-letter country code of the city: https://d.to/geo
*/
export type GetCitiesByClicksDeprecatedCountry = ClosedEnum<
typeof GetCitiesByClicksDeprecatedCountry
>;
export type GetCitiesByClicksDeprecatedResponseBody = {
/**
* The name of the city
*/
city: string;
/**
* The 2-letter country code of the city: https://d.to/geo
*/
country: GetCitiesByClicksDeprecatedCountry;
/**
* The number of clicks from this city
*/
clicks: number;
};
/** @internal */
export namespace GetCitiesByClicksDeprecatedQueryParamInterval$ {
export const inboundSchema = z.nativeEnum(GetCitiesByClicksDeprecatedQueryParamInterval);
export const outboundSchema = inboundSchema;
}
/** @internal */
export namespace GetCitiesByClicksDeprecatedQueryParamCountry$ {
export const inboundSchema = z.nativeEnum(GetCitiesByClicksDeprecatedQueryParamCountry);
export const outboundSchema = inboundSchema;
}
/** @internal */
export namespace GetCitiesByClicksDeprecatedRequest$ {
export const inboundSchema: z.ZodType<
@@ -662,7 +118,7 @@ export namespace GetCitiesByClicksDeprecatedRequest$ {
interval: GetCitiesByClicksDeprecatedQueryParamInterval$.inboundSchema.default("24h"),
start: z.string().optional(),
end: z.string().optional(),
country: GetCitiesByClicksDeprecatedQueryParamCountry$.inboundSchema.optional(),
country: components.CountryCode$.inboundSchema.optional(),
city: z.string().optional(),
device: z.string().optional(),
browser: z.string().optional(),
@@ -728,7 +184,7 @@ export namespace GetCitiesByClicksDeprecatedRequest$ {
interval: GetCitiesByClicksDeprecatedQueryParamInterval$.outboundSchema.default("24h"),
start: z.string().optional(),
end: z.string().optional(),
country: GetCitiesByClicksDeprecatedQueryParamCountry$.outboundSchema.optional(),
country: components.CountryCode$.outboundSchema.optional(),
city: z.string().optional(),
device: z.string().optional(),
browser: z.string().optional(),
@@ -761,54 +217,3 @@ export namespace GetCitiesByClicksDeprecatedRequest$ {
};
});
}
/** @internal */
export namespace GetCitiesByClicksDeprecatedCountry$ {
export const inboundSchema = z.nativeEnum(GetCitiesByClicksDeprecatedCountry);
export const outboundSchema = inboundSchema;
}
/** @internal */
export namespace GetCitiesByClicksDeprecatedResponseBody$ {
export const inboundSchema: z.ZodType<
GetCitiesByClicksDeprecatedResponseBody,
z.ZodTypeDef,
unknown
> = z
.object({
city: z.string(),
country: GetCitiesByClicksDeprecatedCountry$.inboundSchema,
clicks: z.number(),
})
.transform((v) => {
return {
city: v.city,
country: v.country,
clicks: v.clicks,
};
});
export type Outbound = {
city: string;
country: string;
clicks: number;
};
export const outboundSchema: z.ZodType<
Outbound,
z.ZodTypeDef,
GetCitiesByClicksDeprecatedResponseBody
> = z
.object({
city: z.string(),
country: GetCitiesByClicksDeprecatedCountry$.outboundSchema,
clicks: z.number(),
})
.transform((v) => {
return {
city: v.city,
country: v.country,
clicks: v.clicks,
};
});
}

View File

@@ -3,6 +3,7 @@
*/
import { ClosedEnum } from "../../types";
import * as components from "../components";
import * as z from "zod";
/**
@@ -23,266 +24,6 @@ export const Interval = {
*/
export type Interval = ClosedEnum<typeof Interval>;
/**
* The country to retrieve analytics for.
*/
export const Country = {
Af: "AF",
Al: "AL",
Dz: "DZ",
As: "AS",
Ad: "AD",
Ao: "AO",
Ai: "AI",
Aq: "AQ",
Ag: "AG",
Ar: "AR",
Am: "AM",
Aw: "AW",
Au: "AU",
At: "AT",
Az: "AZ",
Bs: "BS",
Bh: "BH",
Bd: "BD",
Bb: "BB",
By: "BY",
Be: "BE",
Bz: "BZ",
Bj: "BJ",
Bm: "BM",
Bt: "BT",
Bo: "BO",
Ba: "BA",
Bw: "BW",
Bv: "BV",
Br: "BR",
Io: "IO",
Bn: "BN",
Bg: "BG",
Bf: "BF",
Bi: "BI",
Kh: "KH",
Cm: "CM",
Ca: "CA",
Cv: "CV",
Ky: "KY",
Cf: "CF",
Td: "TD",
Cl: "CL",
Cn: "CN",
Cx: "CX",
Cc: "CC",
Co: "CO",
Km: "KM",
Cg: "CG",
Cd: "CD",
Ck: "CK",
Cr: "CR",
Ci: "CI",
Hr: "HR",
Cu: "CU",
Cy: "CY",
Cz: "CZ",
Dk: "DK",
Dj: "DJ",
Dm: "DM",
Do: "DO",
Ec: "EC",
Eg: "EG",
Sv: "SV",
Gq: "GQ",
Er: "ER",
Ee: "EE",
Et: "ET",
Fk: "FK",
Fo: "FO",
Fj: "FJ",
Fi: "FI",
Fr: "FR",
Gf: "GF",
Pf: "PF",
Tf: "TF",
Ga: "GA",
Gm: "GM",
Ge: "GE",
De: "DE",
Gh: "GH",
Gi: "GI",
Gr: "GR",
Gl: "GL",
Gd: "GD",
Gp: "GP",
Gu: "GU",
Gt: "GT",
Gn: "GN",
Gw: "GW",
Gy: "GY",
Ht: "HT",
Hm: "HM",
Va: "VA",
Hn: "HN",
Hk: "HK",
Hu: "HU",
Is: "IS",
In: "IN",
Id: "ID",
Ir: "IR",
Iq: "IQ",
Ie: "IE",
Il: "IL",
It: "IT",
Jm: "JM",
Jp: "JP",
Jo: "JO",
Kz: "KZ",
Ke: "KE",
Ki: "KI",
Kp: "KP",
Kr: "KR",
Kw: "KW",
Kg: "KG",
La: "LA",
Lv: "LV",
Lb: "LB",
Ls: "LS",
Lr: "LR",
Ly: "LY",
Li: "LI",
Lt: "LT",
Lu: "LU",
Mo: "MO",
Mg: "MG",
Mw: "MW",
My: "MY",
Mv: "MV",
Ml: "ML",
Mt: "MT",
Mh: "MH",
Mq: "MQ",
Mr: "MR",
Mu: "MU",
Yt: "YT",
Mx: "MX",
Fm: "FM",
Md: "MD",
Mc: "MC",
Mn: "MN",
Ms: "MS",
Ma: "MA",
Mz: "MZ",
Mm: "MM",
Na: "NA",
Nr: "NR",
Np: "NP",
Nl: "NL",
Nc: "NC",
Nz: "NZ",
Ni: "NI",
Ne: "NE",
Ng: "NG",
Nu: "NU",
Nf: "NF",
Mk: "MK",
Mp: "MP",
No: "NO",
Om: "OM",
Pk: "PK",
Pw: "PW",
Ps: "PS",
Pa: "PA",
Pg: "PG",
Py: "PY",
Pe: "PE",
Ph: "PH",
Pn: "PN",
Pl: "PL",
Pt: "PT",
Pr: "PR",
Qa: "QA",
Re: "RE",
Ro: "RO",
Ru: "RU",
Rw: "RW",
Sh: "SH",
Kn: "KN",
Lc: "LC",
Pm: "PM",
Vc: "VC",
Ws: "WS",
Sm: "SM",
St: "ST",
Sa: "SA",
Sn: "SN",
Sc: "SC",
Sl: "SL",
Sg: "SG",
Sk: "SK",
Si: "SI",
Sb: "SB",
So: "SO",
Za: "ZA",
Gs: "GS",
Es: "ES",
Lk: "LK",
Sd: "SD",
Sr: "SR",
Sj: "SJ",
Sz: "SZ",
Se: "SE",
Ch: "CH",
Sy: "SY",
Tw: "TW",
Tj: "TJ",
Tz: "TZ",
Th: "TH",
Tl: "TL",
Tg: "TG",
Tk: "TK",
To: "TO",
Tt: "TT",
Tn: "TN",
Tr: "TR",
Tm: "TM",
Tc: "TC",
Tv: "TV",
Ug: "UG",
Ua: "UA",
Ae: "AE",
Gb: "GB",
Us: "US",
Um: "UM",
Uy: "UY",
Uz: "UZ",
Vu: "VU",
Ve: "VE",
Vn: "VN",
Vg: "VG",
Vi: "VI",
Wf: "WF",
Eh: "EH",
Ye: "YE",
Zm: "ZM",
Zw: "ZW",
Ax: "AX",
Bq: "BQ",
Cw: "CW",
Gg: "GG",
Im: "IM",
Je: "JE",
Me: "ME",
Bl: "BL",
Mf: "MF",
Rs: "RS",
Sx: "SX",
Ss: "SS",
Xk: "XK",
} as const;
/**
* The country to retrieve analytics for.
*/
export type Country = ClosedEnum<typeof Country>;
export type GetClicksCountRequest = {
/**
* The domain to filter analytics for.
@@ -315,7 +56,7 @@ export type GetClicksCountRequest = {
/**
* The country to retrieve analytics for.
*/
country?: Country | undefined;
country?: components.CountryCode | undefined;
/**
* The city to retrieve analytics for.
*/
@@ -360,12 +101,6 @@ export namespace Interval$ {
export const outboundSchema = inboundSchema;
}
/** @internal */
export namespace Country$ {
export const inboundSchema = z.nativeEnum(Country);
export const outboundSchema = inboundSchema;
}
/** @internal */
export namespace GetClicksCountRequest$ {
export const inboundSchema: z.ZodType<GetClicksCountRequest, z.ZodTypeDef, unknown> = z
@@ -377,7 +112,7 @@ export namespace GetClicksCountRequest$ {
interval: Interval$.inboundSchema.default("24h"),
start: z.string().optional(),
end: z.string().optional(),
country: Country$.inboundSchema.optional(),
country: components.CountryCode$.inboundSchema.optional(),
city: z.string().optional(),
device: z.string().optional(),
browser: z.string().optional(),
@@ -439,7 +174,7 @@ export namespace GetClicksCountRequest$ {
interval: Interval$.outboundSchema.default("24h"),
start: z.string().optional(),
end: z.string().optional(),
country: Country$.outboundSchema.optional(),
country: components.CountryCode$.outboundSchema.optional(),
city: z.string().optional(),
device: z.string().optional(),
browser: z.string().optional(),

View File

@@ -3,6 +3,7 @@
*/
import { ClosedEnum } from "../../types";
import * as components from "../components";
import * as z from "zod";
/**
@@ -25,268 +26,6 @@ export type GetClicksCountDeprecatedQueryParamInterval = ClosedEnum<
typeof GetClicksCountDeprecatedQueryParamInterval
>;
/**
* The country to retrieve analytics for.
*/
export const GetClicksCountDeprecatedQueryParamCountry = {
Af: "AF",
Al: "AL",
Dz: "DZ",
As: "AS",
Ad: "AD",
Ao: "AO",
Ai: "AI",
Aq: "AQ",
Ag: "AG",
Ar: "AR",
Am: "AM",
Aw: "AW",
Au: "AU",
At: "AT",
Az: "AZ",
Bs: "BS",
Bh: "BH",
Bd: "BD",
Bb: "BB",
By: "BY",
Be: "BE",
Bz: "BZ",
Bj: "BJ",
Bm: "BM",
Bt: "BT",
Bo: "BO",
Ba: "BA",
Bw: "BW",
Bv: "BV",
Br: "BR",
Io: "IO",
Bn: "BN",
Bg: "BG",
Bf: "BF",
Bi: "BI",
Kh: "KH",
Cm: "CM",
Ca: "CA",
Cv: "CV",
Ky: "KY",
Cf: "CF",
Td: "TD",
Cl: "CL",
Cn: "CN",
Cx: "CX",
Cc: "CC",
Co: "CO",
Km: "KM",
Cg: "CG",
Cd: "CD",
Ck: "CK",
Cr: "CR",
Ci: "CI",
Hr: "HR",
Cu: "CU",
Cy: "CY",
Cz: "CZ",
Dk: "DK",
Dj: "DJ",
Dm: "DM",
Do: "DO",
Ec: "EC",
Eg: "EG",
Sv: "SV",
Gq: "GQ",
Er: "ER",
Ee: "EE",
Et: "ET",
Fk: "FK",
Fo: "FO",
Fj: "FJ",
Fi: "FI",
Fr: "FR",
Gf: "GF",
Pf: "PF",
Tf: "TF",
Ga: "GA",
Gm: "GM",
Ge: "GE",
De: "DE",
Gh: "GH",
Gi: "GI",
Gr: "GR",
Gl: "GL",
Gd: "GD",
Gp: "GP",
Gu: "GU",
Gt: "GT",
Gn: "GN",
Gw: "GW",
Gy: "GY",
Ht: "HT",
Hm: "HM",
Va: "VA",
Hn: "HN",
Hk: "HK",
Hu: "HU",
Is: "IS",
In: "IN",
Id: "ID",
Ir: "IR",
Iq: "IQ",
Ie: "IE",
Il: "IL",
It: "IT",
Jm: "JM",
Jp: "JP",
Jo: "JO",
Kz: "KZ",
Ke: "KE",
Ki: "KI",
Kp: "KP",
Kr: "KR",
Kw: "KW",
Kg: "KG",
La: "LA",
Lv: "LV",
Lb: "LB",
Ls: "LS",
Lr: "LR",
Ly: "LY",
Li: "LI",
Lt: "LT",
Lu: "LU",
Mo: "MO",
Mg: "MG",
Mw: "MW",
My: "MY",
Mv: "MV",
Ml: "ML",
Mt: "MT",
Mh: "MH",
Mq: "MQ",
Mr: "MR",
Mu: "MU",
Yt: "YT",
Mx: "MX",
Fm: "FM",
Md: "MD",
Mc: "MC",
Mn: "MN",
Ms: "MS",
Ma: "MA",
Mz: "MZ",
Mm: "MM",
Na: "NA",
Nr: "NR",
Np: "NP",
Nl: "NL",
Nc: "NC",
Nz: "NZ",
Ni: "NI",
Ne: "NE",
Ng: "NG",
Nu: "NU",
Nf: "NF",
Mk: "MK",
Mp: "MP",
No: "NO",
Om: "OM",
Pk: "PK",
Pw: "PW",
Ps: "PS",
Pa: "PA",
Pg: "PG",
Py: "PY",
Pe: "PE",
Ph: "PH",
Pn: "PN",
Pl: "PL",
Pt: "PT",
Pr: "PR",
Qa: "QA",
Re: "RE",
Ro: "RO",
Ru: "RU",
Rw: "RW",
Sh: "SH",
Kn: "KN",
Lc: "LC",
Pm: "PM",
Vc: "VC",
Ws: "WS",
Sm: "SM",
St: "ST",
Sa: "SA",
Sn: "SN",
Sc: "SC",
Sl: "SL",
Sg: "SG",
Sk: "SK",
Si: "SI",
Sb: "SB",
So: "SO",
Za: "ZA",
Gs: "GS",
Es: "ES",
Lk: "LK",
Sd: "SD",
Sr: "SR",
Sj: "SJ",
Sz: "SZ",
Se: "SE",
Ch: "CH",
Sy: "SY",
Tw: "TW",
Tj: "TJ",
Tz: "TZ",
Th: "TH",
Tl: "TL",
Tg: "TG",
Tk: "TK",
To: "TO",
Tt: "TT",
Tn: "TN",
Tr: "TR",
Tm: "TM",
Tc: "TC",
Tv: "TV",
Ug: "UG",
Ua: "UA",
Ae: "AE",
Gb: "GB",
Us: "US",
Um: "UM",
Uy: "UY",
Uz: "UZ",
Vu: "VU",
Ve: "VE",
Vn: "VN",
Vg: "VG",
Vi: "VI",
Wf: "WF",
Eh: "EH",
Ye: "YE",
Zm: "ZM",
Zw: "ZW",
Ax: "AX",
Bq: "BQ",
Cw: "CW",
Gg: "GG",
Im: "IM",
Je: "JE",
Me: "ME",
Bl: "BL",
Mf: "MF",
Rs: "RS",
Sx: "SX",
Ss: "SS",
Xk: "XK",
} as const;
/**
* The country to retrieve analytics for.
*/
export type GetClicksCountDeprecatedQueryParamCountry = ClosedEnum<
typeof GetClicksCountDeprecatedQueryParamCountry
>;
export type GetClicksCountDeprecatedRequest = {
/**
* The domain to filter analytics for.
@@ -319,7 +58,7 @@ export type GetClicksCountDeprecatedRequest = {
/**
* The country to retrieve analytics for.
*/
country?: GetClicksCountDeprecatedQueryParamCountry | undefined;
country?: components.CountryCode | undefined;
/**
* The city to retrieve analytics for.
*/
@@ -364,12 +103,6 @@ export namespace GetClicksCountDeprecatedQueryParamInterval$ {
export const outboundSchema = inboundSchema;
}
/** @internal */
export namespace GetClicksCountDeprecatedQueryParamCountry$ {
export const inboundSchema = z.nativeEnum(GetClicksCountDeprecatedQueryParamCountry);
export const outboundSchema = inboundSchema;
}
/** @internal */
export namespace GetClicksCountDeprecatedRequest$ {
export const inboundSchema: z.ZodType<GetClicksCountDeprecatedRequest, z.ZodTypeDef, unknown> =
@@ -382,7 +115,7 @@ export namespace GetClicksCountDeprecatedRequest$ {
interval: GetClicksCountDeprecatedQueryParamInterval$.inboundSchema.default("24h"),
start: z.string().optional(),
end: z.string().optional(),
country: GetClicksCountDeprecatedQueryParamCountry$.inboundSchema.optional(),
country: components.CountryCode$.inboundSchema.optional(),
city: z.string().optional(),
device: z.string().optional(),
browser: z.string().optional(),
@@ -448,7 +181,7 @@ export namespace GetClicksCountDeprecatedRequest$ {
interval: GetClicksCountDeprecatedQueryParamInterval$.outboundSchema.default("24h"),
start: z.string().optional(),
end: z.string().optional(),
country: GetClicksCountDeprecatedQueryParamCountry$.outboundSchema.optional(),
country: components.CountryCode$.outboundSchema.optional(),
city: z.string().optional(),
device: z.string().optional(),
browser: z.string().optional(),

View File

@@ -3,6 +3,7 @@
*/
import { ClosedEnum } from "../../types";
import * as components from "../components";
import * as z from "zod";
/**
@@ -25,268 +26,6 @@ export type GetCountriesByClicksQueryParamInterval = ClosedEnum<
typeof GetCountriesByClicksQueryParamInterval
>;
/**
* The country to retrieve analytics for.
*/
export const GetCountriesByClicksQueryParamCountry = {
Af: "AF",
Al: "AL",
Dz: "DZ",
As: "AS",
Ad: "AD",
Ao: "AO",
Ai: "AI",
Aq: "AQ",
Ag: "AG",
Ar: "AR",
Am: "AM",
Aw: "AW",
Au: "AU",
At: "AT",
Az: "AZ",
Bs: "BS",
Bh: "BH",
Bd: "BD",
Bb: "BB",
By: "BY",
Be: "BE",
Bz: "BZ",
Bj: "BJ",
Bm: "BM",
Bt: "BT",
Bo: "BO",
Ba: "BA",
Bw: "BW",
Bv: "BV",
Br: "BR",
Io: "IO",
Bn: "BN",
Bg: "BG",
Bf: "BF",
Bi: "BI",
Kh: "KH",
Cm: "CM",
Ca: "CA",
Cv: "CV",
Ky: "KY",
Cf: "CF",
Td: "TD",
Cl: "CL",
Cn: "CN",
Cx: "CX",
Cc: "CC",
Co: "CO",
Km: "KM",
Cg: "CG",
Cd: "CD",
Ck: "CK",
Cr: "CR",
Ci: "CI",
Hr: "HR",
Cu: "CU",
Cy: "CY",
Cz: "CZ",
Dk: "DK",
Dj: "DJ",
Dm: "DM",
Do: "DO",
Ec: "EC",
Eg: "EG",
Sv: "SV",
Gq: "GQ",
Er: "ER",
Ee: "EE",
Et: "ET",
Fk: "FK",
Fo: "FO",
Fj: "FJ",
Fi: "FI",
Fr: "FR",
Gf: "GF",
Pf: "PF",
Tf: "TF",
Ga: "GA",
Gm: "GM",
Ge: "GE",
De: "DE",
Gh: "GH",
Gi: "GI",
Gr: "GR",
Gl: "GL",
Gd: "GD",
Gp: "GP",
Gu: "GU",
Gt: "GT",
Gn: "GN",
Gw: "GW",
Gy: "GY",
Ht: "HT",
Hm: "HM",
Va: "VA",
Hn: "HN",
Hk: "HK",
Hu: "HU",
Is: "IS",
In: "IN",
Id: "ID",
Ir: "IR",
Iq: "IQ",
Ie: "IE",
Il: "IL",
It: "IT",
Jm: "JM",
Jp: "JP",
Jo: "JO",
Kz: "KZ",
Ke: "KE",
Ki: "KI",
Kp: "KP",
Kr: "KR",
Kw: "KW",
Kg: "KG",
La: "LA",
Lv: "LV",
Lb: "LB",
Ls: "LS",
Lr: "LR",
Ly: "LY",
Li: "LI",
Lt: "LT",
Lu: "LU",
Mo: "MO",
Mg: "MG",
Mw: "MW",
My: "MY",
Mv: "MV",
Ml: "ML",
Mt: "MT",
Mh: "MH",
Mq: "MQ",
Mr: "MR",
Mu: "MU",
Yt: "YT",
Mx: "MX",
Fm: "FM",
Md: "MD",
Mc: "MC",
Mn: "MN",
Ms: "MS",
Ma: "MA",
Mz: "MZ",
Mm: "MM",
Na: "NA",
Nr: "NR",
Np: "NP",
Nl: "NL",
Nc: "NC",
Nz: "NZ",
Ni: "NI",
Ne: "NE",
Ng: "NG",
Nu: "NU",
Nf: "NF",
Mk: "MK",
Mp: "MP",
No: "NO",
Om: "OM",
Pk: "PK",
Pw: "PW",
Ps: "PS",
Pa: "PA",
Pg: "PG",
Py: "PY",
Pe: "PE",
Ph: "PH",
Pn: "PN",
Pl: "PL",
Pt: "PT",
Pr: "PR",
Qa: "QA",
Re: "RE",
Ro: "RO",
Ru: "RU",
Rw: "RW",
Sh: "SH",
Kn: "KN",
Lc: "LC",
Pm: "PM",
Vc: "VC",
Ws: "WS",
Sm: "SM",
St: "ST",
Sa: "SA",
Sn: "SN",
Sc: "SC",
Sl: "SL",
Sg: "SG",
Sk: "SK",
Si: "SI",
Sb: "SB",
So: "SO",
Za: "ZA",
Gs: "GS",
Es: "ES",
Lk: "LK",
Sd: "SD",
Sr: "SR",
Sj: "SJ",
Sz: "SZ",
Se: "SE",
Ch: "CH",
Sy: "SY",
Tw: "TW",
Tj: "TJ",
Tz: "TZ",
Th: "TH",
Tl: "TL",
Tg: "TG",
Tk: "TK",
To: "TO",
Tt: "TT",
Tn: "TN",
Tr: "TR",
Tm: "TM",
Tc: "TC",
Tv: "TV",
Ug: "UG",
Ua: "UA",
Ae: "AE",
Gb: "GB",
Us: "US",
Um: "UM",
Uy: "UY",
Uz: "UZ",
Vu: "VU",
Ve: "VE",
Vn: "VN",
Vg: "VG",
Vi: "VI",
Wf: "WF",
Eh: "EH",
Ye: "YE",
Zm: "ZM",
Zw: "ZW",
Ax: "AX",
Bq: "BQ",
Cw: "CW",
Gg: "GG",
Im: "IM",
Je: "JE",
Me: "ME",
Bl: "BL",
Mf: "MF",
Rs: "RS",
Sx: "SX",
Ss: "SS",
Xk: "XK",
} as const;
/**
* The country to retrieve analytics for.
*/
export type GetCountriesByClicksQueryParamCountry = ClosedEnum<
typeof GetCountriesByClicksQueryParamCountry
>;
export type GetCountriesByClicksRequest = {
/**
* The domain to filter analytics for.
@@ -319,7 +58,7 @@ export type GetCountriesByClicksRequest = {
/**
* The country to retrieve analytics for.
*/
country?: GetCountriesByClicksQueryParamCountry | undefined;
country?: components.CountryCode | undefined;
/**
* The city to retrieve analytics for.
*/
@@ -358,289 +97,12 @@ export type GetCountriesByClicksRequest = {
root?: boolean | undefined;
};
/**
* The 2-letter country code: https://d.to/geo
*/
export const GetCountriesByClicksCountry = {
Af: "AF",
Al: "AL",
Dz: "DZ",
As: "AS",
Ad: "AD",
Ao: "AO",
Ai: "AI",
Aq: "AQ",
Ag: "AG",
Ar: "AR",
Am: "AM",
Aw: "AW",
Au: "AU",
At: "AT",
Az: "AZ",
Bs: "BS",
Bh: "BH",
Bd: "BD",
Bb: "BB",
By: "BY",
Be: "BE",
Bz: "BZ",
Bj: "BJ",
Bm: "BM",
Bt: "BT",
Bo: "BO",
Ba: "BA",
Bw: "BW",
Bv: "BV",
Br: "BR",
Io: "IO",
Bn: "BN",
Bg: "BG",
Bf: "BF",
Bi: "BI",
Kh: "KH",
Cm: "CM",
Ca: "CA",
Cv: "CV",
Ky: "KY",
Cf: "CF",
Td: "TD",
Cl: "CL",
Cn: "CN",
Cx: "CX",
Cc: "CC",
Co: "CO",
Km: "KM",
Cg: "CG",
Cd: "CD",
Ck: "CK",
Cr: "CR",
Ci: "CI",
Hr: "HR",
Cu: "CU",
Cy: "CY",
Cz: "CZ",
Dk: "DK",
Dj: "DJ",
Dm: "DM",
Do: "DO",
Ec: "EC",
Eg: "EG",
Sv: "SV",
Gq: "GQ",
Er: "ER",
Ee: "EE",
Et: "ET",
Fk: "FK",
Fo: "FO",
Fj: "FJ",
Fi: "FI",
Fr: "FR",
Gf: "GF",
Pf: "PF",
Tf: "TF",
Ga: "GA",
Gm: "GM",
Ge: "GE",
De: "DE",
Gh: "GH",
Gi: "GI",
Gr: "GR",
Gl: "GL",
Gd: "GD",
Gp: "GP",
Gu: "GU",
Gt: "GT",
Gn: "GN",
Gw: "GW",
Gy: "GY",
Ht: "HT",
Hm: "HM",
Va: "VA",
Hn: "HN",
Hk: "HK",
Hu: "HU",
Is: "IS",
In: "IN",
Id: "ID",
Ir: "IR",
Iq: "IQ",
Ie: "IE",
Il: "IL",
It: "IT",
Jm: "JM",
Jp: "JP",
Jo: "JO",
Kz: "KZ",
Ke: "KE",
Ki: "KI",
Kp: "KP",
Kr: "KR",
Kw: "KW",
Kg: "KG",
La: "LA",
Lv: "LV",
Lb: "LB",
Ls: "LS",
Lr: "LR",
Ly: "LY",
Li: "LI",
Lt: "LT",
Lu: "LU",
Mo: "MO",
Mg: "MG",
Mw: "MW",
My: "MY",
Mv: "MV",
Ml: "ML",
Mt: "MT",
Mh: "MH",
Mq: "MQ",
Mr: "MR",
Mu: "MU",
Yt: "YT",
Mx: "MX",
Fm: "FM",
Md: "MD",
Mc: "MC",
Mn: "MN",
Ms: "MS",
Ma: "MA",
Mz: "MZ",
Mm: "MM",
Na: "NA",
Nr: "NR",
Np: "NP",
Nl: "NL",
Nc: "NC",
Nz: "NZ",
Ni: "NI",
Ne: "NE",
Ng: "NG",
Nu: "NU",
Nf: "NF",
Mk: "MK",
Mp: "MP",
No: "NO",
Om: "OM",
Pk: "PK",
Pw: "PW",
Ps: "PS",
Pa: "PA",
Pg: "PG",
Py: "PY",
Pe: "PE",
Ph: "PH",
Pn: "PN",
Pl: "PL",
Pt: "PT",
Pr: "PR",
Qa: "QA",
Re: "RE",
Ro: "RO",
Ru: "RU",
Rw: "RW",
Sh: "SH",
Kn: "KN",
Lc: "LC",
Pm: "PM",
Vc: "VC",
Ws: "WS",
Sm: "SM",
St: "ST",
Sa: "SA",
Sn: "SN",
Sc: "SC",
Sl: "SL",
Sg: "SG",
Sk: "SK",
Si: "SI",
Sb: "SB",
So: "SO",
Za: "ZA",
Gs: "GS",
Es: "ES",
Lk: "LK",
Sd: "SD",
Sr: "SR",
Sj: "SJ",
Sz: "SZ",
Se: "SE",
Ch: "CH",
Sy: "SY",
Tw: "TW",
Tj: "TJ",
Tz: "TZ",
Th: "TH",
Tl: "TL",
Tg: "TG",
Tk: "TK",
To: "TO",
Tt: "TT",
Tn: "TN",
Tr: "TR",
Tm: "TM",
Tc: "TC",
Tv: "TV",
Ug: "UG",
Ua: "UA",
Ae: "AE",
Gb: "GB",
Us: "US",
Um: "UM",
Uy: "UY",
Uz: "UZ",
Vu: "VU",
Ve: "VE",
Vn: "VN",
Vg: "VG",
Vi: "VI",
Wf: "WF",
Eh: "EH",
Ye: "YE",
Zm: "ZM",
Zw: "ZW",
Ax: "AX",
Bq: "BQ",
Cw: "CW",
Gg: "GG",
Im: "IM",
Je: "JE",
Me: "ME",
Bl: "BL",
Mf: "MF",
Rs: "RS",
Sx: "SX",
Ss: "SS",
Xk: "XK",
} as const;
/**
* The 2-letter country code: https://d.to/geo
*/
export type GetCountriesByClicksCountry = ClosedEnum<typeof GetCountriesByClicksCountry>;
export type GetCountriesByClicksResponseBody = {
/**
* The 2-letter country code: https://d.to/geo
*/
country: GetCountriesByClicksCountry;
/**
* The number of clicks from this country
*/
clicks: number;
};
/** @internal */
export namespace GetCountriesByClicksQueryParamInterval$ {
export const inboundSchema = z.nativeEnum(GetCountriesByClicksQueryParamInterval);
export const outboundSchema = inboundSchema;
}
/** @internal */
export namespace GetCountriesByClicksQueryParamCountry$ {
export const inboundSchema = z.nativeEnum(GetCountriesByClicksQueryParamCountry);
export const outboundSchema = inboundSchema;
}
/** @internal */
export namespace GetCountriesByClicksRequest$ {
export const inboundSchema: z.ZodType<GetCountriesByClicksRequest, z.ZodTypeDef, unknown> = z
@@ -652,7 +114,7 @@ export namespace GetCountriesByClicksRequest$ {
interval: GetCountriesByClicksQueryParamInterval$.inboundSchema.default("24h"),
start: z.string().optional(),
end: z.string().optional(),
country: GetCountriesByClicksQueryParamCountry$.inboundSchema.optional(),
country: components.CountryCode$.inboundSchema.optional(),
city: z.string().optional(),
device: z.string().optional(),
browser: z.string().optional(),
@@ -714,7 +176,7 @@ export namespace GetCountriesByClicksRequest$ {
interval: GetCountriesByClicksQueryParamInterval$.outboundSchema.default("24h"),
start: z.string().optional(),
end: z.string().optional(),
country: GetCountriesByClicksQueryParamCountry$.outboundSchema.optional(),
country: components.CountryCode$.outboundSchema.optional(),
city: z.string().optional(),
device: z.string().optional(),
browser: z.string().optional(),
@@ -747,46 +209,3 @@ export namespace GetCountriesByClicksRequest$ {
};
});
}
/** @internal */
export namespace GetCountriesByClicksCountry$ {
export const inboundSchema = z.nativeEnum(GetCountriesByClicksCountry);
export const outboundSchema = inboundSchema;
}
/** @internal */
export namespace GetCountriesByClicksResponseBody$ {
export const inboundSchema: z.ZodType<GetCountriesByClicksResponseBody, z.ZodTypeDef, unknown> =
z
.object({
country: GetCountriesByClicksCountry$.inboundSchema,
clicks: z.number(),
})
.transform((v) => {
return {
country: v.country,
clicks: v.clicks,
};
});
export type Outbound = {
country: string;
clicks: number;
};
export const outboundSchema: z.ZodType<
Outbound,
z.ZodTypeDef,
GetCountriesByClicksResponseBody
> = z
.object({
country: GetCountriesByClicksCountry$.outboundSchema,
clicks: z.number(),
})
.transform((v) => {
return {
country: v.country,
clicks: v.clicks,
};
});
}

View File

@@ -3,6 +3,7 @@
*/
import { ClosedEnum } from "../../types";
import * as components from "../components";
import * as z from "zod";
/**
@@ -25,268 +26,6 @@ export type GetCountriesByClicksDeprecatedQueryParamInterval = ClosedEnum<
typeof GetCountriesByClicksDeprecatedQueryParamInterval
>;
/**
* The country to retrieve analytics for.
*/
export const GetCountriesByClicksDeprecatedQueryParamCountry = {
Af: "AF",
Al: "AL",
Dz: "DZ",
As: "AS",
Ad: "AD",
Ao: "AO",
Ai: "AI",
Aq: "AQ",
Ag: "AG",
Ar: "AR",
Am: "AM",
Aw: "AW",
Au: "AU",
At: "AT",
Az: "AZ",
Bs: "BS",
Bh: "BH",
Bd: "BD",
Bb: "BB",
By: "BY",
Be: "BE",
Bz: "BZ",
Bj: "BJ",
Bm: "BM",
Bt: "BT",
Bo: "BO",
Ba: "BA",
Bw: "BW",
Bv: "BV",
Br: "BR",
Io: "IO",
Bn: "BN",
Bg: "BG",
Bf: "BF",
Bi: "BI",
Kh: "KH",
Cm: "CM",
Ca: "CA",
Cv: "CV",
Ky: "KY",
Cf: "CF",
Td: "TD",
Cl: "CL",
Cn: "CN",
Cx: "CX",
Cc: "CC",
Co: "CO",
Km: "KM",
Cg: "CG",
Cd: "CD",
Ck: "CK",
Cr: "CR",
Ci: "CI",
Hr: "HR",
Cu: "CU",
Cy: "CY",
Cz: "CZ",
Dk: "DK",
Dj: "DJ",
Dm: "DM",
Do: "DO",
Ec: "EC",
Eg: "EG",
Sv: "SV",
Gq: "GQ",
Er: "ER",
Ee: "EE",
Et: "ET",
Fk: "FK",
Fo: "FO",
Fj: "FJ",
Fi: "FI",
Fr: "FR",
Gf: "GF",
Pf: "PF",
Tf: "TF",
Ga: "GA",
Gm: "GM",
Ge: "GE",
De: "DE",
Gh: "GH",
Gi: "GI",
Gr: "GR",
Gl: "GL",
Gd: "GD",
Gp: "GP",
Gu: "GU",
Gt: "GT",
Gn: "GN",
Gw: "GW",
Gy: "GY",
Ht: "HT",
Hm: "HM",
Va: "VA",
Hn: "HN",
Hk: "HK",
Hu: "HU",
Is: "IS",
In: "IN",
Id: "ID",
Ir: "IR",
Iq: "IQ",
Ie: "IE",
Il: "IL",
It: "IT",
Jm: "JM",
Jp: "JP",
Jo: "JO",
Kz: "KZ",
Ke: "KE",
Ki: "KI",
Kp: "KP",
Kr: "KR",
Kw: "KW",
Kg: "KG",
La: "LA",
Lv: "LV",
Lb: "LB",
Ls: "LS",
Lr: "LR",
Ly: "LY",
Li: "LI",
Lt: "LT",
Lu: "LU",
Mo: "MO",
Mg: "MG",
Mw: "MW",
My: "MY",
Mv: "MV",
Ml: "ML",
Mt: "MT",
Mh: "MH",
Mq: "MQ",
Mr: "MR",
Mu: "MU",
Yt: "YT",
Mx: "MX",
Fm: "FM",
Md: "MD",
Mc: "MC",
Mn: "MN",
Ms: "MS",
Ma: "MA",
Mz: "MZ",
Mm: "MM",
Na: "NA",
Nr: "NR",
Np: "NP",
Nl: "NL",
Nc: "NC",
Nz: "NZ",
Ni: "NI",
Ne: "NE",
Ng: "NG",
Nu: "NU",
Nf: "NF",
Mk: "MK",
Mp: "MP",
No: "NO",
Om: "OM",
Pk: "PK",
Pw: "PW",
Ps: "PS",
Pa: "PA",
Pg: "PG",
Py: "PY",
Pe: "PE",
Ph: "PH",
Pn: "PN",
Pl: "PL",
Pt: "PT",
Pr: "PR",
Qa: "QA",
Re: "RE",
Ro: "RO",
Ru: "RU",
Rw: "RW",
Sh: "SH",
Kn: "KN",
Lc: "LC",
Pm: "PM",
Vc: "VC",
Ws: "WS",
Sm: "SM",
St: "ST",
Sa: "SA",
Sn: "SN",
Sc: "SC",
Sl: "SL",
Sg: "SG",
Sk: "SK",
Si: "SI",
Sb: "SB",
So: "SO",
Za: "ZA",
Gs: "GS",
Es: "ES",
Lk: "LK",
Sd: "SD",
Sr: "SR",
Sj: "SJ",
Sz: "SZ",
Se: "SE",
Ch: "CH",
Sy: "SY",
Tw: "TW",
Tj: "TJ",
Tz: "TZ",
Th: "TH",
Tl: "TL",
Tg: "TG",
Tk: "TK",
To: "TO",
Tt: "TT",
Tn: "TN",
Tr: "TR",
Tm: "TM",
Tc: "TC",
Tv: "TV",
Ug: "UG",
Ua: "UA",
Ae: "AE",
Gb: "GB",
Us: "US",
Um: "UM",
Uy: "UY",
Uz: "UZ",
Vu: "VU",
Ve: "VE",
Vn: "VN",
Vg: "VG",
Vi: "VI",
Wf: "WF",
Eh: "EH",
Ye: "YE",
Zm: "ZM",
Zw: "ZW",
Ax: "AX",
Bq: "BQ",
Cw: "CW",
Gg: "GG",
Im: "IM",
Je: "JE",
Me: "ME",
Bl: "BL",
Mf: "MF",
Rs: "RS",
Sx: "SX",
Ss: "SS",
Xk: "XK",
} as const;
/**
* The country to retrieve analytics for.
*/
export type GetCountriesByClicksDeprecatedQueryParamCountry = ClosedEnum<
typeof GetCountriesByClicksDeprecatedQueryParamCountry
>;
export type GetCountriesByClicksDeprecatedRequest = {
/**
* The domain to filter analytics for.
@@ -319,7 +58,7 @@ export type GetCountriesByClicksDeprecatedRequest = {
/**
* The country to retrieve analytics for.
*/
country?: GetCountriesByClicksDeprecatedQueryParamCountry | undefined;
country?: components.CountryCode | undefined;
/**
* The city to retrieve analytics for.
*/
@@ -358,291 +97,12 @@ export type GetCountriesByClicksDeprecatedRequest = {
root?: boolean | undefined;
};
/**
* The 2-letter country code: https://d.to/geo
*/
export const GetCountriesByClicksDeprecatedCountry = {
Af: "AF",
Al: "AL",
Dz: "DZ",
As: "AS",
Ad: "AD",
Ao: "AO",
Ai: "AI",
Aq: "AQ",
Ag: "AG",
Ar: "AR",
Am: "AM",
Aw: "AW",
Au: "AU",
At: "AT",
Az: "AZ",
Bs: "BS",
Bh: "BH",
Bd: "BD",
Bb: "BB",
By: "BY",
Be: "BE",
Bz: "BZ",
Bj: "BJ",
Bm: "BM",
Bt: "BT",
Bo: "BO",
Ba: "BA",
Bw: "BW",
Bv: "BV",
Br: "BR",
Io: "IO",
Bn: "BN",
Bg: "BG",
Bf: "BF",
Bi: "BI",
Kh: "KH",
Cm: "CM",
Ca: "CA",
Cv: "CV",
Ky: "KY",
Cf: "CF",
Td: "TD",
Cl: "CL",
Cn: "CN",
Cx: "CX",
Cc: "CC",
Co: "CO",
Km: "KM",
Cg: "CG",
Cd: "CD",
Ck: "CK",
Cr: "CR",
Ci: "CI",
Hr: "HR",
Cu: "CU",
Cy: "CY",
Cz: "CZ",
Dk: "DK",
Dj: "DJ",
Dm: "DM",
Do: "DO",
Ec: "EC",
Eg: "EG",
Sv: "SV",
Gq: "GQ",
Er: "ER",
Ee: "EE",
Et: "ET",
Fk: "FK",
Fo: "FO",
Fj: "FJ",
Fi: "FI",
Fr: "FR",
Gf: "GF",
Pf: "PF",
Tf: "TF",
Ga: "GA",
Gm: "GM",
Ge: "GE",
De: "DE",
Gh: "GH",
Gi: "GI",
Gr: "GR",
Gl: "GL",
Gd: "GD",
Gp: "GP",
Gu: "GU",
Gt: "GT",
Gn: "GN",
Gw: "GW",
Gy: "GY",
Ht: "HT",
Hm: "HM",
Va: "VA",
Hn: "HN",
Hk: "HK",
Hu: "HU",
Is: "IS",
In: "IN",
Id: "ID",
Ir: "IR",
Iq: "IQ",
Ie: "IE",
Il: "IL",
It: "IT",
Jm: "JM",
Jp: "JP",
Jo: "JO",
Kz: "KZ",
Ke: "KE",
Ki: "KI",
Kp: "KP",
Kr: "KR",
Kw: "KW",
Kg: "KG",
La: "LA",
Lv: "LV",
Lb: "LB",
Ls: "LS",
Lr: "LR",
Ly: "LY",
Li: "LI",
Lt: "LT",
Lu: "LU",
Mo: "MO",
Mg: "MG",
Mw: "MW",
My: "MY",
Mv: "MV",
Ml: "ML",
Mt: "MT",
Mh: "MH",
Mq: "MQ",
Mr: "MR",
Mu: "MU",
Yt: "YT",
Mx: "MX",
Fm: "FM",
Md: "MD",
Mc: "MC",
Mn: "MN",
Ms: "MS",
Ma: "MA",
Mz: "MZ",
Mm: "MM",
Na: "NA",
Nr: "NR",
Np: "NP",
Nl: "NL",
Nc: "NC",
Nz: "NZ",
Ni: "NI",
Ne: "NE",
Ng: "NG",
Nu: "NU",
Nf: "NF",
Mk: "MK",
Mp: "MP",
No: "NO",
Om: "OM",
Pk: "PK",
Pw: "PW",
Ps: "PS",
Pa: "PA",
Pg: "PG",
Py: "PY",
Pe: "PE",
Ph: "PH",
Pn: "PN",
Pl: "PL",
Pt: "PT",
Pr: "PR",
Qa: "QA",
Re: "RE",
Ro: "RO",
Ru: "RU",
Rw: "RW",
Sh: "SH",
Kn: "KN",
Lc: "LC",
Pm: "PM",
Vc: "VC",
Ws: "WS",
Sm: "SM",
St: "ST",
Sa: "SA",
Sn: "SN",
Sc: "SC",
Sl: "SL",
Sg: "SG",
Sk: "SK",
Si: "SI",
Sb: "SB",
So: "SO",
Za: "ZA",
Gs: "GS",
Es: "ES",
Lk: "LK",
Sd: "SD",
Sr: "SR",
Sj: "SJ",
Sz: "SZ",
Se: "SE",
Ch: "CH",
Sy: "SY",
Tw: "TW",
Tj: "TJ",
Tz: "TZ",
Th: "TH",
Tl: "TL",
Tg: "TG",
Tk: "TK",
To: "TO",
Tt: "TT",
Tn: "TN",
Tr: "TR",
Tm: "TM",
Tc: "TC",
Tv: "TV",
Ug: "UG",
Ua: "UA",
Ae: "AE",
Gb: "GB",
Us: "US",
Um: "UM",
Uy: "UY",
Uz: "UZ",
Vu: "VU",
Ve: "VE",
Vn: "VN",
Vg: "VG",
Vi: "VI",
Wf: "WF",
Eh: "EH",
Ye: "YE",
Zm: "ZM",
Zw: "ZW",
Ax: "AX",
Bq: "BQ",
Cw: "CW",
Gg: "GG",
Im: "IM",
Je: "JE",
Me: "ME",
Bl: "BL",
Mf: "MF",
Rs: "RS",
Sx: "SX",
Ss: "SS",
Xk: "XK",
} as const;
/**
* The 2-letter country code: https://d.to/geo
*/
export type GetCountriesByClicksDeprecatedCountry = ClosedEnum<
typeof GetCountriesByClicksDeprecatedCountry
>;
export type GetCountriesByClicksDeprecatedResponseBody = {
/**
* The 2-letter country code: https://d.to/geo
*/
country: GetCountriesByClicksDeprecatedCountry;
/**
* The number of clicks from this country
*/
clicks: number;
};
/** @internal */
export namespace GetCountriesByClicksDeprecatedQueryParamInterval$ {
export const inboundSchema = z.nativeEnum(GetCountriesByClicksDeprecatedQueryParamInterval);
export const outboundSchema = inboundSchema;
}
/** @internal */
export namespace GetCountriesByClicksDeprecatedQueryParamCountry$ {
export const inboundSchema = z.nativeEnum(GetCountriesByClicksDeprecatedQueryParamCountry);
export const outboundSchema = inboundSchema;
}
/** @internal */
export namespace GetCountriesByClicksDeprecatedRequest$ {
export const inboundSchema: z.ZodType<
@@ -659,7 +119,7 @@ export namespace GetCountriesByClicksDeprecatedRequest$ {
GetCountriesByClicksDeprecatedQueryParamInterval$.inboundSchema.default("24h"),
start: z.string().optional(),
end: z.string().optional(),
country: GetCountriesByClicksDeprecatedQueryParamCountry$.inboundSchema.optional(),
country: components.CountryCode$.inboundSchema.optional(),
city: z.string().optional(),
device: z.string().optional(),
browser: z.string().optional(),
@@ -726,7 +186,7 @@ export namespace GetCountriesByClicksDeprecatedRequest$ {
GetCountriesByClicksDeprecatedQueryParamInterval$.outboundSchema.default("24h"),
start: z.string().optional(),
end: z.string().optional(),
country: GetCountriesByClicksDeprecatedQueryParamCountry$.outboundSchema.optional(),
country: components.CountryCode$.outboundSchema.optional(),
city: z.string().optional(),
device: z.string().optional(),
browser: z.string().optional(),
@@ -759,49 +219,3 @@ export namespace GetCountriesByClicksDeprecatedRequest$ {
};
});
}
/** @internal */
export namespace GetCountriesByClicksDeprecatedCountry$ {
export const inboundSchema = z.nativeEnum(GetCountriesByClicksDeprecatedCountry);
export const outboundSchema = inboundSchema;
}
/** @internal */
export namespace GetCountriesByClicksDeprecatedResponseBody$ {
export const inboundSchema: z.ZodType<
GetCountriesByClicksDeprecatedResponseBody,
z.ZodTypeDef,
unknown
> = z
.object({
country: GetCountriesByClicksDeprecatedCountry$.inboundSchema,
clicks: z.number(),
})
.transform((v) => {
return {
country: v.country,
clicks: v.clicks,
};
});
export type Outbound = {
country: string;
clicks: number;
};
export const outboundSchema: z.ZodType<
Outbound,
z.ZodTypeDef,
GetCountriesByClicksDeprecatedResponseBody
> = z
.object({
country: GetCountriesByClicksDeprecatedCountry$.outboundSchema,
clicks: z.number(),
})
.transform((v) => {
return {
country: v.country,
clicks: v.clicks,
};
});
}

View File

@@ -3,6 +3,7 @@
*/
import { ClosedEnum } from "../../types";
import * as components from "../components";
import * as z from "zod";
/**
@@ -25,268 +26,6 @@ export type GetDevicesByClicksQueryParamInterval = ClosedEnum<
typeof GetDevicesByClicksQueryParamInterval
>;
/**
* The country to retrieve analytics for.
*/
export const GetDevicesByClicksQueryParamCountry = {
Af: "AF",
Al: "AL",
Dz: "DZ",
As: "AS",
Ad: "AD",
Ao: "AO",
Ai: "AI",
Aq: "AQ",
Ag: "AG",
Ar: "AR",
Am: "AM",
Aw: "AW",
Au: "AU",
At: "AT",
Az: "AZ",
Bs: "BS",
Bh: "BH",
Bd: "BD",
Bb: "BB",
By: "BY",
Be: "BE",
Bz: "BZ",
Bj: "BJ",
Bm: "BM",
Bt: "BT",
Bo: "BO",
Ba: "BA",
Bw: "BW",
Bv: "BV",
Br: "BR",
Io: "IO",
Bn: "BN",
Bg: "BG",
Bf: "BF",
Bi: "BI",
Kh: "KH",
Cm: "CM",
Ca: "CA",
Cv: "CV",
Ky: "KY",
Cf: "CF",
Td: "TD",
Cl: "CL",
Cn: "CN",
Cx: "CX",
Cc: "CC",
Co: "CO",
Km: "KM",
Cg: "CG",
Cd: "CD",
Ck: "CK",
Cr: "CR",
Ci: "CI",
Hr: "HR",
Cu: "CU",
Cy: "CY",
Cz: "CZ",
Dk: "DK",
Dj: "DJ",
Dm: "DM",
Do: "DO",
Ec: "EC",
Eg: "EG",
Sv: "SV",
Gq: "GQ",
Er: "ER",
Ee: "EE",
Et: "ET",
Fk: "FK",
Fo: "FO",
Fj: "FJ",
Fi: "FI",
Fr: "FR",
Gf: "GF",
Pf: "PF",
Tf: "TF",
Ga: "GA",
Gm: "GM",
Ge: "GE",
De: "DE",
Gh: "GH",
Gi: "GI",
Gr: "GR",
Gl: "GL",
Gd: "GD",
Gp: "GP",
Gu: "GU",
Gt: "GT",
Gn: "GN",
Gw: "GW",
Gy: "GY",
Ht: "HT",
Hm: "HM",
Va: "VA",
Hn: "HN",
Hk: "HK",
Hu: "HU",
Is: "IS",
In: "IN",
Id: "ID",
Ir: "IR",
Iq: "IQ",
Ie: "IE",
Il: "IL",
It: "IT",
Jm: "JM",
Jp: "JP",
Jo: "JO",
Kz: "KZ",
Ke: "KE",
Ki: "KI",
Kp: "KP",
Kr: "KR",
Kw: "KW",
Kg: "KG",
La: "LA",
Lv: "LV",
Lb: "LB",
Ls: "LS",
Lr: "LR",
Ly: "LY",
Li: "LI",
Lt: "LT",
Lu: "LU",
Mo: "MO",
Mg: "MG",
Mw: "MW",
My: "MY",
Mv: "MV",
Ml: "ML",
Mt: "MT",
Mh: "MH",
Mq: "MQ",
Mr: "MR",
Mu: "MU",
Yt: "YT",
Mx: "MX",
Fm: "FM",
Md: "MD",
Mc: "MC",
Mn: "MN",
Ms: "MS",
Ma: "MA",
Mz: "MZ",
Mm: "MM",
Na: "NA",
Nr: "NR",
Np: "NP",
Nl: "NL",
Nc: "NC",
Nz: "NZ",
Ni: "NI",
Ne: "NE",
Ng: "NG",
Nu: "NU",
Nf: "NF",
Mk: "MK",
Mp: "MP",
No: "NO",
Om: "OM",
Pk: "PK",
Pw: "PW",
Ps: "PS",
Pa: "PA",
Pg: "PG",
Py: "PY",
Pe: "PE",
Ph: "PH",
Pn: "PN",
Pl: "PL",
Pt: "PT",
Pr: "PR",
Qa: "QA",
Re: "RE",
Ro: "RO",
Ru: "RU",
Rw: "RW",
Sh: "SH",
Kn: "KN",
Lc: "LC",
Pm: "PM",
Vc: "VC",
Ws: "WS",
Sm: "SM",
St: "ST",
Sa: "SA",
Sn: "SN",
Sc: "SC",
Sl: "SL",
Sg: "SG",
Sk: "SK",
Si: "SI",
Sb: "SB",
So: "SO",
Za: "ZA",
Gs: "GS",
Es: "ES",
Lk: "LK",
Sd: "SD",
Sr: "SR",
Sj: "SJ",
Sz: "SZ",
Se: "SE",
Ch: "CH",
Sy: "SY",
Tw: "TW",
Tj: "TJ",
Tz: "TZ",
Th: "TH",
Tl: "TL",
Tg: "TG",
Tk: "TK",
To: "TO",
Tt: "TT",
Tn: "TN",
Tr: "TR",
Tm: "TM",
Tc: "TC",
Tv: "TV",
Ug: "UG",
Ua: "UA",
Ae: "AE",
Gb: "GB",
Us: "US",
Um: "UM",
Uy: "UY",
Uz: "UZ",
Vu: "VU",
Ve: "VE",
Vn: "VN",
Vg: "VG",
Vi: "VI",
Wf: "WF",
Eh: "EH",
Ye: "YE",
Zm: "ZM",
Zw: "ZW",
Ax: "AX",
Bq: "BQ",
Cw: "CW",
Gg: "GG",
Im: "IM",
Je: "JE",
Me: "ME",
Bl: "BL",
Mf: "MF",
Rs: "RS",
Sx: "SX",
Ss: "SS",
Xk: "XK",
} as const;
/**
* The country to retrieve analytics for.
*/
export type GetDevicesByClicksQueryParamCountry = ClosedEnum<
typeof GetDevicesByClicksQueryParamCountry
>;
export type GetDevicesByClicksRequest = {
/**
* The domain to filter analytics for.
@@ -319,7 +58,7 @@ export type GetDevicesByClicksRequest = {
/**
* The country to retrieve analytics for.
*/
country?: GetDevicesByClicksQueryParamCountry | undefined;
country?: components.CountryCode | undefined;
/**
* The city to retrieve analytics for.
*/
@@ -375,12 +114,6 @@ export namespace GetDevicesByClicksQueryParamInterval$ {
export const outboundSchema = inboundSchema;
}
/** @internal */
export namespace GetDevicesByClicksQueryParamCountry$ {
export const inboundSchema = z.nativeEnum(GetDevicesByClicksQueryParamCountry);
export const outboundSchema = inboundSchema;
}
/** @internal */
export namespace GetDevicesByClicksRequest$ {
export const inboundSchema: z.ZodType<GetDevicesByClicksRequest, z.ZodTypeDef, unknown> = z
@@ -392,7 +125,7 @@ export namespace GetDevicesByClicksRequest$ {
interval: GetDevicesByClicksQueryParamInterval$.inboundSchema.default("24h"),
start: z.string().optional(),
end: z.string().optional(),
country: GetDevicesByClicksQueryParamCountry$.inboundSchema.optional(),
country: components.CountryCode$.inboundSchema.optional(),
city: z.string().optional(),
device: z.string().optional(),
browser: z.string().optional(),
@@ -454,7 +187,7 @@ export namespace GetDevicesByClicksRequest$ {
interval: GetDevicesByClicksQueryParamInterval$.outboundSchema.default("24h"),
start: z.string().optional(),
end: z.string().optional(),
country: GetDevicesByClicksQueryParamCountry$.outboundSchema.optional(),
country: components.CountryCode$.outboundSchema.optional(),
city: z.string().optional(),
device: z.string().optional(),
browser: z.string().optional(),

View File

@@ -3,6 +3,7 @@
*/
import { ClosedEnum } from "../../types";
import * as components from "../components";
import * as z from "zod";
/**
@@ -25,268 +26,6 @@ export type GetDevicesByClicksDeprecatedQueryParamInterval = ClosedEnum<
typeof GetDevicesByClicksDeprecatedQueryParamInterval
>;
/**
* The country to retrieve analytics for.
*/
export const GetDevicesByClicksDeprecatedQueryParamCountry = {
Af: "AF",
Al: "AL",
Dz: "DZ",
As: "AS",
Ad: "AD",
Ao: "AO",
Ai: "AI",
Aq: "AQ",
Ag: "AG",
Ar: "AR",
Am: "AM",
Aw: "AW",
Au: "AU",
At: "AT",
Az: "AZ",
Bs: "BS",
Bh: "BH",
Bd: "BD",
Bb: "BB",
By: "BY",
Be: "BE",
Bz: "BZ",
Bj: "BJ",
Bm: "BM",
Bt: "BT",
Bo: "BO",
Ba: "BA",
Bw: "BW",
Bv: "BV",
Br: "BR",
Io: "IO",
Bn: "BN",
Bg: "BG",
Bf: "BF",
Bi: "BI",
Kh: "KH",
Cm: "CM",
Ca: "CA",
Cv: "CV",
Ky: "KY",
Cf: "CF",
Td: "TD",
Cl: "CL",
Cn: "CN",
Cx: "CX",
Cc: "CC",
Co: "CO",
Km: "KM",
Cg: "CG",
Cd: "CD",
Ck: "CK",
Cr: "CR",
Ci: "CI",
Hr: "HR",
Cu: "CU",
Cy: "CY",
Cz: "CZ",
Dk: "DK",
Dj: "DJ",
Dm: "DM",
Do: "DO",
Ec: "EC",
Eg: "EG",
Sv: "SV",
Gq: "GQ",
Er: "ER",
Ee: "EE",
Et: "ET",
Fk: "FK",
Fo: "FO",
Fj: "FJ",
Fi: "FI",
Fr: "FR",
Gf: "GF",
Pf: "PF",
Tf: "TF",
Ga: "GA",
Gm: "GM",
Ge: "GE",
De: "DE",
Gh: "GH",
Gi: "GI",
Gr: "GR",
Gl: "GL",
Gd: "GD",
Gp: "GP",
Gu: "GU",
Gt: "GT",
Gn: "GN",
Gw: "GW",
Gy: "GY",
Ht: "HT",
Hm: "HM",
Va: "VA",
Hn: "HN",
Hk: "HK",
Hu: "HU",
Is: "IS",
In: "IN",
Id: "ID",
Ir: "IR",
Iq: "IQ",
Ie: "IE",
Il: "IL",
It: "IT",
Jm: "JM",
Jp: "JP",
Jo: "JO",
Kz: "KZ",
Ke: "KE",
Ki: "KI",
Kp: "KP",
Kr: "KR",
Kw: "KW",
Kg: "KG",
La: "LA",
Lv: "LV",
Lb: "LB",
Ls: "LS",
Lr: "LR",
Ly: "LY",
Li: "LI",
Lt: "LT",
Lu: "LU",
Mo: "MO",
Mg: "MG",
Mw: "MW",
My: "MY",
Mv: "MV",
Ml: "ML",
Mt: "MT",
Mh: "MH",
Mq: "MQ",
Mr: "MR",
Mu: "MU",
Yt: "YT",
Mx: "MX",
Fm: "FM",
Md: "MD",
Mc: "MC",
Mn: "MN",
Ms: "MS",
Ma: "MA",
Mz: "MZ",
Mm: "MM",
Na: "NA",
Nr: "NR",
Np: "NP",
Nl: "NL",
Nc: "NC",
Nz: "NZ",
Ni: "NI",
Ne: "NE",
Ng: "NG",
Nu: "NU",
Nf: "NF",
Mk: "MK",
Mp: "MP",
No: "NO",
Om: "OM",
Pk: "PK",
Pw: "PW",
Ps: "PS",
Pa: "PA",
Pg: "PG",
Py: "PY",
Pe: "PE",
Ph: "PH",
Pn: "PN",
Pl: "PL",
Pt: "PT",
Pr: "PR",
Qa: "QA",
Re: "RE",
Ro: "RO",
Ru: "RU",
Rw: "RW",
Sh: "SH",
Kn: "KN",
Lc: "LC",
Pm: "PM",
Vc: "VC",
Ws: "WS",
Sm: "SM",
St: "ST",
Sa: "SA",
Sn: "SN",
Sc: "SC",
Sl: "SL",
Sg: "SG",
Sk: "SK",
Si: "SI",
Sb: "SB",
So: "SO",
Za: "ZA",
Gs: "GS",
Es: "ES",
Lk: "LK",
Sd: "SD",
Sr: "SR",
Sj: "SJ",
Sz: "SZ",
Se: "SE",
Ch: "CH",
Sy: "SY",
Tw: "TW",
Tj: "TJ",
Tz: "TZ",
Th: "TH",
Tl: "TL",
Tg: "TG",
Tk: "TK",
To: "TO",
Tt: "TT",
Tn: "TN",
Tr: "TR",
Tm: "TM",
Tc: "TC",
Tv: "TV",
Ug: "UG",
Ua: "UA",
Ae: "AE",
Gb: "GB",
Us: "US",
Um: "UM",
Uy: "UY",
Uz: "UZ",
Vu: "VU",
Ve: "VE",
Vn: "VN",
Vg: "VG",
Vi: "VI",
Wf: "WF",
Eh: "EH",
Ye: "YE",
Zm: "ZM",
Zw: "ZW",
Ax: "AX",
Bq: "BQ",
Cw: "CW",
Gg: "GG",
Im: "IM",
Je: "JE",
Me: "ME",
Bl: "BL",
Mf: "MF",
Rs: "RS",
Sx: "SX",
Ss: "SS",
Xk: "XK",
} as const;
/**
* The country to retrieve analytics for.
*/
export type GetDevicesByClicksDeprecatedQueryParamCountry = ClosedEnum<
typeof GetDevicesByClicksDeprecatedQueryParamCountry
>;
export type GetDevicesByClicksDeprecatedRequest = {
/**
* The domain to filter analytics for.
@@ -319,7 +58,7 @@ export type GetDevicesByClicksDeprecatedRequest = {
/**
* The country to retrieve analytics for.
*/
country?: GetDevicesByClicksDeprecatedQueryParamCountry | undefined;
country?: components.CountryCode | undefined;
/**
* The city to retrieve analytics for.
*/
@@ -375,12 +114,6 @@ export namespace GetDevicesByClicksDeprecatedQueryParamInterval$ {
export const outboundSchema = inboundSchema;
}
/** @internal */
export namespace GetDevicesByClicksDeprecatedQueryParamCountry$ {
export const inboundSchema = z.nativeEnum(GetDevicesByClicksDeprecatedQueryParamCountry);
export const outboundSchema = inboundSchema;
}
/** @internal */
export namespace GetDevicesByClicksDeprecatedRequest$ {
export const inboundSchema: z.ZodType<
@@ -396,7 +129,7 @@ export namespace GetDevicesByClicksDeprecatedRequest$ {
interval: GetDevicesByClicksDeprecatedQueryParamInterval$.inboundSchema.default("24h"),
start: z.string().optional(),
end: z.string().optional(),
country: GetDevicesByClicksDeprecatedQueryParamCountry$.inboundSchema.optional(),
country: components.CountryCode$.inboundSchema.optional(),
city: z.string().optional(),
device: z.string().optional(),
browser: z.string().optional(),
@@ -462,7 +195,7 @@ export namespace GetDevicesByClicksDeprecatedRequest$ {
interval: GetDevicesByClicksDeprecatedQueryParamInterval$.outboundSchema.default("24h"),
start: z.string().optional(),
end: z.string().optional(),
country: GetDevicesByClicksDeprecatedQueryParamCountry$.outboundSchema.optional(),
country: components.CountryCode$.outboundSchema.optional(),
city: z.string().optional(),
device: z.string().optional(),
browser: z.string().optional(),

View File

@@ -3,6 +3,7 @@
*/
import { ClosedEnum } from "../../types";
import * as components from "../components";
import * as z from "zod";
/**
@@ -23,266 +24,6 @@ export const GetOSByClicksQueryParamInterval = {
*/
export type GetOSByClicksQueryParamInterval = ClosedEnum<typeof GetOSByClicksQueryParamInterval>;
/**
* The country to retrieve analytics for.
*/
export const GetOSByClicksQueryParamCountry = {
Af: "AF",
Al: "AL",
Dz: "DZ",
As: "AS",
Ad: "AD",
Ao: "AO",
Ai: "AI",
Aq: "AQ",
Ag: "AG",
Ar: "AR",
Am: "AM",
Aw: "AW",
Au: "AU",
At: "AT",
Az: "AZ",
Bs: "BS",
Bh: "BH",
Bd: "BD",
Bb: "BB",
By: "BY",
Be: "BE",
Bz: "BZ",
Bj: "BJ",
Bm: "BM",
Bt: "BT",
Bo: "BO",
Ba: "BA",
Bw: "BW",
Bv: "BV",
Br: "BR",
Io: "IO",
Bn: "BN",
Bg: "BG",
Bf: "BF",
Bi: "BI",
Kh: "KH",
Cm: "CM",
Ca: "CA",
Cv: "CV",
Ky: "KY",
Cf: "CF",
Td: "TD",
Cl: "CL",
Cn: "CN",
Cx: "CX",
Cc: "CC",
Co: "CO",
Km: "KM",
Cg: "CG",
Cd: "CD",
Ck: "CK",
Cr: "CR",
Ci: "CI",
Hr: "HR",
Cu: "CU",
Cy: "CY",
Cz: "CZ",
Dk: "DK",
Dj: "DJ",
Dm: "DM",
Do: "DO",
Ec: "EC",
Eg: "EG",
Sv: "SV",
Gq: "GQ",
Er: "ER",
Ee: "EE",
Et: "ET",
Fk: "FK",
Fo: "FO",
Fj: "FJ",
Fi: "FI",
Fr: "FR",
Gf: "GF",
Pf: "PF",
Tf: "TF",
Ga: "GA",
Gm: "GM",
Ge: "GE",
De: "DE",
Gh: "GH",
Gi: "GI",
Gr: "GR",
Gl: "GL",
Gd: "GD",
Gp: "GP",
Gu: "GU",
Gt: "GT",
Gn: "GN",
Gw: "GW",
Gy: "GY",
Ht: "HT",
Hm: "HM",
Va: "VA",
Hn: "HN",
Hk: "HK",
Hu: "HU",
Is: "IS",
In: "IN",
Id: "ID",
Ir: "IR",
Iq: "IQ",
Ie: "IE",
Il: "IL",
It: "IT",
Jm: "JM",
Jp: "JP",
Jo: "JO",
Kz: "KZ",
Ke: "KE",
Ki: "KI",
Kp: "KP",
Kr: "KR",
Kw: "KW",
Kg: "KG",
La: "LA",
Lv: "LV",
Lb: "LB",
Ls: "LS",
Lr: "LR",
Ly: "LY",
Li: "LI",
Lt: "LT",
Lu: "LU",
Mo: "MO",
Mg: "MG",
Mw: "MW",
My: "MY",
Mv: "MV",
Ml: "ML",
Mt: "MT",
Mh: "MH",
Mq: "MQ",
Mr: "MR",
Mu: "MU",
Yt: "YT",
Mx: "MX",
Fm: "FM",
Md: "MD",
Mc: "MC",
Mn: "MN",
Ms: "MS",
Ma: "MA",
Mz: "MZ",
Mm: "MM",
Na: "NA",
Nr: "NR",
Np: "NP",
Nl: "NL",
Nc: "NC",
Nz: "NZ",
Ni: "NI",
Ne: "NE",
Ng: "NG",
Nu: "NU",
Nf: "NF",
Mk: "MK",
Mp: "MP",
No: "NO",
Om: "OM",
Pk: "PK",
Pw: "PW",
Ps: "PS",
Pa: "PA",
Pg: "PG",
Py: "PY",
Pe: "PE",
Ph: "PH",
Pn: "PN",
Pl: "PL",
Pt: "PT",
Pr: "PR",
Qa: "QA",
Re: "RE",
Ro: "RO",
Ru: "RU",
Rw: "RW",
Sh: "SH",
Kn: "KN",
Lc: "LC",
Pm: "PM",
Vc: "VC",
Ws: "WS",
Sm: "SM",
St: "ST",
Sa: "SA",
Sn: "SN",
Sc: "SC",
Sl: "SL",
Sg: "SG",
Sk: "SK",
Si: "SI",
Sb: "SB",
So: "SO",
Za: "ZA",
Gs: "GS",
Es: "ES",
Lk: "LK",
Sd: "SD",
Sr: "SR",
Sj: "SJ",
Sz: "SZ",
Se: "SE",
Ch: "CH",
Sy: "SY",
Tw: "TW",
Tj: "TJ",
Tz: "TZ",
Th: "TH",
Tl: "TL",
Tg: "TG",
Tk: "TK",
To: "TO",
Tt: "TT",
Tn: "TN",
Tr: "TR",
Tm: "TM",
Tc: "TC",
Tv: "TV",
Ug: "UG",
Ua: "UA",
Ae: "AE",
Gb: "GB",
Us: "US",
Um: "UM",
Uy: "UY",
Uz: "UZ",
Vu: "VU",
Ve: "VE",
Vn: "VN",
Vg: "VG",
Vi: "VI",
Wf: "WF",
Eh: "EH",
Ye: "YE",
Zm: "ZM",
Zw: "ZW",
Ax: "AX",
Bq: "BQ",
Cw: "CW",
Gg: "GG",
Im: "IM",
Je: "JE",
Me: "ME",
Bl: "BL",
Mf: "MF",
Rs: "RS",
Sx: "SX",
Ss: "SS",
Xk: "XK",
} as const;
/**
* The country to retrieve analytics for.
*/
export type GetOSByClicksQueryParamCountry = ClosedEnum<typeof GetOSByClicksQueryParamCountry>;
export type GetOSByClicksRequest = {
/**
* The domain to filter analytics for.
@@ -315,7 +56,7 @@ export type GetOSByClicksRequest = {
/**
* The country to retrieve analytics for.
*/
country?: GetOSByClicksQueryParamCountry | undefined;
country?: components.CountryCode | undefined;
/**
* The city to retrieve analytics for.
*/
@@ -371,12 +112,6 @@ export namespace GetOSByClicksQueryParamInterval$ {
export const outboundSchema = inboundSchema;
}
/** @internal */
export namespace GetOSByClicksQueryParamCountry$ {
export const inboundSchema = z.nativeEnum(GetOSByClicksQueryParamCountry);
export const outboundSchema = inboundSchema;
}
/** @internal */
export namespace GetOSByClicksRequest$ {
export const inboundSchema: z.ZodType<GetOSByClicksRequest, z.ZodTypeDef, unknown> = z
@@ -388,7 +123,7 @@ export namespace GetOSByClicksRequest$ {
interval: GetOSByClicksQueryParamInterval$.inboundSchema.default("24h"),
start: z.string().optional(),
end: z.string().optional(),
country: GetOSByClicksQueryParamCountry$.inboundSchema.optional(),
country: components.CountryCode$.inboundSchema.optional(),
city: z.string().optional(),
device: z.string().optional(),
browser: z.string().optional(),
@@ -450,7 +185,7 @@ export namespace GetOSByClicksRequest$ {
interval: GetOSByClicksQueryParamInterval$.outboundSchema.default("24h"),
start: z.string().optional(),
end: z.string().optional(),
country: GetOSByClicksQueryParamCountry$.outboundSchema.optional(),
country: components.CountryCode$.outboundSchema.optional(),
city: z.string().optional(),
device: z.string().optional(),
browser: z.string().optional(),

View File

@@ -3,6 +3,7 @@
*/
import { ClosedEnum } from "../../types";
import * as components from "../components";
import * as z from "zod";
/**
@@ -25,268 +26,6 @@ export type GetOSByClicksDeprecatedQueryParamInterval = ClosedEnum<
typeof GetOSByClicksDeprecatedQueryParamInterval
>;
/**
* The country to retrieve analytics for.
*/
export const GetOSByClicksDeprecatedQueryParamCountry = {
Af: "AF",
Al: "AL",
Dz: "DZ",
As: "AS",
Ad: "AD",
Ao: "AO",
Ai: "AI",
Aq: "AQ",
Ag: "AG",
Ar: "AR",
Am: "AM",
Aw: "AW",
Au: "AU",
At: "AT",
Az: "AZ",
Bs: "BS",
Bh: "BH",
Bd: "BD",
Bb: "BB",
By: "BY",
Be: "BE",
Bz: "BZ",
Bj: "BJ",
Bm: "BM",
Bt: "BT",
Bo: "BO",
Ba: "BA",
Bw: "BW",
Bv: "BV",
Br: "BR",
Io: "IO",
Bn: "BN",
Bg: "BG",
Bf: "BF",
Bi: "BI",
Kh: "KH",
Cm: "CM",
Ca: "CA",
Cv: "CV",
Ky: "KY",
Cf: "CF",
Td: "TD",
Cl: "CL",
Cn: "CN",
Cx: "CX",
Cc: "CC",
Co: "CO",
Km: "KM",
Cg: "CG",
Cd: "CD",
Ck: "CK",
Cr: "CR",
Ci: "CI",
Hr: "HR",
Cu: "CU",
Cy: "CY",
Cz: "CZ",
Dk: "DK",
Dj: "DJ",
Dm: "DM",
Do: "DO",
Ec: "EC",
Eg: "EG",
Sv: "SV",
Gq: "GQ",
Er: "ER",
Ee: "EE",
Et: "ET",
Fk: "FK",
Fo: "FO",
Fj: "FJ",
Fi: "FI",
Fr: "FR",
Gf: "GF",
Pf: "PF",
Tf: "TF",
Ga: "GA",
Gm: "GM",
Ge: "GE",
De: "DE",
Gh: "GH",
Gi: "GI",
Gr: "GR",
Gl: "GL",
Gd: "GD",
Gp: "GP",
Gu: "GU",
Gt: "GT",
Gn: "GN",
Gw: "GW",
Gy: "GY",
Ht: "HT",
Hm: "HM",
Va: "VA",
Hn: "HN",
Hk: "HK",
Hu: "HU",
Is: "IS",
In: "IN",
Id: "ID",
Ir: "IR",
Iq: "IQ",
Ie: "IE",
Il: "IL",
It: "IT",
Jm: "JM",
Jp: "JP",
Jo: "JO",
Kz: "KZ",
Ke: "KE",
Ki: "KI",
Kp: "KP",
Kr: "KR",
Kw: "KW",
Kg: "KG",
La: "LA",
Lv: "LV",
Lb: "LB",
Ls: "LS",
Lr: "LR",
Ly: "LY",
Li: "LI",
Lt: "LT",
Lu: "LU",
Mo: "MO",
Mg: "MG",
Mw: "MW",
My: "MY",
Mv: "MV",
Ml: "ML",
Mt: "MT",
Mh: "MH",
Mq: "MQ",
Mr: "MR",
Mu: "MU",
Yt: "YT",
Mx: "MX",
Fm: "FM",
Md: "MD",
Mc: "MC",
Mn: "MN",
Ms: "MS",
Ma: "MA",
Mz: "MZ",
Mm: "MM",
Na: "NA",
Nr: "NR",
Np: "NP",
Nl: "NL",
Nc: "NC",
Nz: "NZ",
Ni: "NI",
Ne: "NE",
Ng: "NG",
Nu: "NU",
Nf: "NF",
Mk: "MK",
Mp: "MP",
No: "NO",
Om: "OM",
Pk: "PK",
Pw: "PW",
Ps: "PS",
Pa: "PA",
Pg: "PG",
Py: "PY",
Pe: "PE",
Ph: "PH",
Pn: "PN",
Pl: "PL",
Pt: "PT",
Pr: "PR",
Qa: "QA",
Re: "RE",
Ro: "RO",
Ru: "RU",
Rw: "RW",
Sh: "SH",
Kn: "KN",
Lc: "LC",
Pm: "PM",
Vc: "VC",
Ws: "WS",
Sm: "SM",
St: "ST",
Sa: "SA",
Sn: "SN",
Sc: "SC",
Sl: "SL",
Sg: "SG",
Sk: "SK",
Si: "SI",
Sb: "SB",
So: "SO",
Za: "ZA",
Gs: "GS",
Es: "ES",
Lk: "LK",
Sd: "SD",
Sr: "SR",
Sj: "SJ",
Sz: "SZ",
Se: "SE",
Ch: "CH",
Sy: "SY",
Tw: "TW",
Tj: "TJ",
Tz: "TZ",
Th: "TH",
Tl: "TL",
Tg: "TG",
Tk: "TK",
To: "TO",
Tt: "TT",
Tn: "TN",
Tr: "TR",
Tm: "TM",
Tc: "TC",
Tv: "TV",
Ug: "UG",
Ua: "UA",
Ae: "AE",
Gb: "GB",
Us: "US",
Um: "UM",
Uy: "UY",
Uz: "UZ",
Vu: "VU",
Ve: "VE",
Vn: "VN",
Vg: "VG",
Vi: "VI",
Wf: "WF",
Eh: "EH",
Ye: "YE",
Zm: "ZM",
Zw: "ZW",
Ax: "AX",
Bq: "BQ",
Cw: "CW",
Gg: "GG",
Im: "IM",
Je: "JE",
Me: "ME",
Bl: "BL",
Mf: "MF",
Rs: "RS",
Sx: "SX",
Ss: "SS",
Xk: "XK",
} as const;
/**
* The country to retrieve analytics for.
*/
export type GetOSByClicksDeprecatedQueryParamCountry = ClosedEnum<
typeof GetOSByClicksDeprecatedQueryParamCountry
>;
export type GetOSByClicksDeprecatedRequest = {
/**
* The domain to filter analytics for.
@@ -319,7 +58,7 @@ export type GetOSByClicksDeprecatedRequest = {
/**
* The country to retrieve analytics for.
*/
country?: GetOSByClicksDeprecatedQueryParamCountry | undefined;
country?: components.CountryCode | undefined;
/**
* The city to retrieve analytics for.
*/
@@ -375,12 +114,6 @@ export namespace GetOSByClicksDeprecatedQueryParamInterval$ {
export const outboundSchema = inboundSchema;
}
/** @internal */
export namespace GetOSByClicksDeprecatedQueryParamCountry$ {
export const inboundSchema = z.nativeEnum(GetOSByClicksDeprecatedQueryParamCountry);
export const outboundSchema = inboundSchema;
}
/** @internal */
export namespace GetOSByClicksDeprecatedRequest$ {
export const inboundSchema: z.ZodType<GetOSByClicksDeprecatedRequest, z.ZodTypeDef, unknown> = z
@@ -392,7 +125,7 @@ export namespace GetOSByClicksDeprecatedRequest$ {
interval: GetOSByClicksDeprecatedQueryParamInterval$.inboundSchema.default("24h"),
start: z.string().optional(),
end: z.string().optional(),
country: GetOSByClicksDeprecatedQueryParamCountry$.inboundSchema.optional(),
country: components.CountryCode$.inboundSchema.optional(),
city: z.string().optional(),
device: z.string().optional(),
browser: z.string().optional(),
@@ -455,7 +188,7 @@ export namespace GetOSByClicksDeprecatedRequest$ {
interval: GetOSByClicksDeprecatedQueryParamInterval$.outboundSchema.default("24h"),
start: z.string().optional(),
end: z.string().optional(),
country: GetOSByClicksDeprecatedQueryParamCountry$.outboundSchema.optional(),
country: components.CountryCode$.outboundSchema.optional(),
city: z.string().optional(),
device: z.string().optional(),
browser: z.string().optional(),

View File

@@ -3,6 +3,7 @@
*/
import { ClosedEnum } from "../../types";
import * as components from "../components";
import * as z from "zod";
/**
@@ -25,268 +26,6 @@ export type GetReferersByClicksQueryParamInterval = ClosedEnum<
typeof GetReferersByClicksQueryParamInterval
>;
/**
* The country to retrieve analytics for.
*/
export const GetReferersByClicksQueryParamCountry = {
Af: "AF",
Al: "AL",
Dz: "DZ",
As: "AS",
Ad: "AD",
Ao: "AO",
Ai: "AI",
Aq: "AQ",
Ag: "AG",
Ar: "AR",
Am: "AM",
Aw: "AW",
Au: "AU",
At: "AT",
Az: "AZ",
Bs: "BS",
Bh: "BH",
Bd: "BD",
Bb: "BB",
By: "BY",
Be: "BE",
Bz: "BZ",
Bj: "BJ",
Bm: "BM",
Bt: "BT",
Bo: "BO",
Ba: "BA",
Bw: "BW",
Bv: "BV",
Br: "BR",
Io: "IO",
Bn: "BN",
Bg: "BG",
Bf: "BF",
Bi: "BI",
Kh: "KH",
Cm: "CM",
Ca: "CA",
Cv: "CV",
Ky: "KY",
Cf: "CF",
Td: "TD",
Cl: "CL",
Cn: "CN",
Cx: "CX",
Cc: "CC",
Co: "CO",
Km: "KM",
Cg: "CG",
Cd: "CD",
Ck: "CK",
Cr: "CR",
Ci: "CI",
Hr: "HR",
Cu: "CU",
Cy: "CY",
Cz: "CZ",
Dk: "DK",
Dj: "DJ",
Dm: "DM",
Do: "DO",
Ec: "EC",
Eg: "EG",
Sv: "SV",
Gq: "GQ",
Er: "ER",
Ee: "EE",
Et: "ET",
Fk: "FK",
Fo: "FO",
Fj: "FJ",
Fi: "FI",
Fr: "FR",
Gf: "GF",
Pf: "PF",
Tf: "TF",
Ga: "GA",
Gm: "GM",
Ge: "GE",
De: "DE",
Gh: "GH",
Gi: "GI",
Gr: "GR",
Gl: "GL",
Gd: "GD",
Gp: "GP",
Gu: "GU",
Gt: "GT",
Gn: "GN",
Gw: "GW",
Gy: "GY",
Ht: "HT",
Hm: "HM",
Va: "VA",
Hn: "HN",
Hk: "HK",
Hu: "HU",
Is: "IS",
In: "IN",
Id: "ID",
Ir: "IR",
Iq: "IQ",
Ie: "IE",
Il: "IL",
It: "IT",
Jm: "JM",
Jp: "JP",
Jo: "JO",
Kz: "KZ",
Ke: "KE",
Ki: "KI",
Kp: "KP",
Kr: "KR",
Kw: "KW",
Kg: "KG",
La: "LA",
Lv: "LV",
Lb: "LB",
Ls: "LS",
Lr: "LR",
Ly: "LY",
Li: "LI",
Lt: "LT",
Lu: "LU",
Mo: "MO",
Mg: "MG",
Mw: "MW",
My: "MY",
Mv: "MV",
Ml: "ML",
Mt: "MT",
Mh: "MH",
Mq: "MQ",
Mr: "MR",
Mu: "MU",
Yt: "YT",
Mx: "MX",
Fm: "FM",
Md: "MD",
Mc: "MC",
Mn: "MN",
Ms: "MS",
Ma: "MA",
Mz: "MZ",
Mm: "MM",
Na: "NA",
Nr: "NR",
Np: "NP",
Nl: "NL",
Nc: "NC",
Nz: "NZ",
Ni: "NI",
Ne: "NE",
Ng: "NG",
Nu: "NU",
Nf: "NF",
Mk: "MK",
Mp: "MP",
No: "NO",
Om: "OM",
Pk: "PK",
Pw: "PW",
Ps: "PS",
Pa: "PA",
Pg: "PG",
Py: "PY",
Pe: "PE",
Ph: "PH",
Pn: "PN",
Pl: "PL",
Pt: "PT",
Pr: "PR",
Qa: "QA",
Re: "RE",
Ro: "RO",
Ru: "RU",
Rw: "RW",
Sh: "SH",
Kn: "KN",
Lc: "LC",
Pm: "PM",
Vc: "VC",
Ws: "WS",
Sm: "SM",
St: "ST",
Sa: "SA",
Sn: "SN",
Sc: "SC",
Sl: "SL",
Sg: "SG",
Sk: "SK",
Si: "SI",
Sb: "SB",
So: "SO",
Za: "ZA",
Gs: "GS",
Es: "ES",
Lk: "LK",
Sd: "SD",
Sr: "SR",
Sj: "SJ",
Sz: "SZ",
Se: "SE",
Ch: "CH",
Sy: "SY",
Tw: "TW",
Tj: "TJ",
Tz: "TZ",
Th: "TH",
Tl: "TL",
Tg: "TG",
Tk: "TK",
To: "TO",
Tt: "TT",
Tn: "TN",
Tr: "TR",
Tm: "TM",
Tc: "TC",
Tv: "TV",
Ug: "UG",
Ua: "UA",
Ae: "AE",
Gb: "GB",
Us: "US",
Um: "UM",
Uy: "UY",
Uz: "UZ",
Vu: "VU",
Ve: "VE",
Vn: "VN",
Vg: "VG",
Vi: "VI",
Wf: "WF",
Eh: "EH",
Ye: "YE",
Zm: "ZM",
Zw: "ZW",
Ax: "AX",
Bq: "BQ",
Cw: "CW",
Gg: "GG",
Im: "IM",
Je: "JE",
Me: "ME",
Bl: "BL",
Mf: "MF",
Rs: "RS",
Sx: "SX",
Ss: "SS",
Xk: "XK",
} as const;
/**
* The country to retrieve analytics for.
*/
export type GetReferersByClicksQueryParamCountry = ClosedEnum<
typeof GetReferersByClicksQueryParamCountry
>;
export type GetReferersByClicksRequest = {
/**
* The domain to filter analytics for.
@@ -319,7 +58,7 @@ export type GetReferersByClicksRequest = {
/**
* The country to retrieve analytics for.
*/
country?: GetReferersByClicksQueryParamCountry | undefined;
country?: components.CountryCode | undefined;
/**
* The city to retrieve analytics for.
*/
@@ -375,12 +114,6 @@ export namespace GetReferersByClicksQueryParamInterval$ {
export const outboundSchema = inboundSchema;
}
/** @internal */
export namespace GetReferersByClicksQueryParamCountry$ {
export const inboundSchema = z.nativeEnum(GetReferersByClicksQueryParamCountry);
export const outboundSchema = inboundSchema;
}
/** @internal */
export namespace GetReferersByClicksRequest$ {
export const inboundSchema: z.ZodType<GetReferersByClicksRequest, z.ZodTypeDef, unknown> = z
@@ -392,7 +125,7 @@ export namespace GetReferersByClicksRequest$ {
interval: GetReferersByClicksQueryParamInterval$.inboundSchema.default("24h"),
start: z.string().optional(),
end: z.string().optional(),
country: GetReferersByClicksQueryParamCountry$.inboundSchema.optional(),
country: components.CountryCode$.inboundSchema.optional(),
city: z.string().optional(),
device: z.string().optional(),
browser: z.string().optional(),
@@ -454,7 +187,7 @@ export namespace GetReferersByClicksRequest$ {
interval: GetReferersByClicksQueryParamInterval$.outboundSchema.default("24h"),
start: z.string().optional(),
end: z.string().optional(),
country: GetReferersByClicksQueryParamCountry$.outboundSchema.optional(),
country: components.CountryCode$.outboundSchema.optional(),
city: z.string().optional(),
device: z.string().optional(),
browser: z.string().optional(),

View File

@@ -3,6 +3,7 @@
*/
import { ClosedEnum } from "../../types";
import * as components from "../components";
import * as z from "zod";
/**
@@ -25,268 +26,6 @@ export type GetReferersByClicksDeprecatedQueryParamInterval = ClosedEnum<
typeof GetReferersByClicksDeprecatedQueryParamInterval
>;
/**
* The country to retrieve analytics for.
*/
export const GetReferersByClicksDeprecatedQueryParamCountry = {
Af: "AF",
Al: "AL",
Dz: "DZ",
As: "AS",
Ad: "AD",
Ao: "AO",
Ai: "AI",
Aq: "AQ",
Ag: "AG",
Ar: "AR",
Am: "AM",
Aw: "AW",
Au: "AU",
At: "AT",
Az: "AZ",
Bs: "BS",
Bh: "BH",
Bd: "BD",
Bb: "BB",
By: "BY",
Be: "BE",
Bz: "BZ",
Bj: "BJ",
Bm: "BM",
Bt: "BT",
Bo: "BO",
Ba: "BA",
Bw: "BW",
Bv: "BV",
Br: "BR",
Io: "IO",
Bn: "BN",
Bg: "BG",
Bf: "BF",
Bi: "BI",
Kh: "KH",
Cm: "CM",
Ca: "CA",
Cv: "CV",
Ky: "KY",
Cf: "CF",
Td: "TD",
Cl: "CL",
Cn: "CN",
Cx: "CX",
Cc: "CC",
Co: "CO",
Km: "KM",
Cg: "CG",
Cd: "CD",
Ck: "CK",
Cr: "CR",
Ci: "CI",
Hr: "HR",
Cu: "CU",
Cy: "CY",
Cz: "CZ",
Dk: "DK",
Dj: "DJ",
Dm: "DM",
Do: "DO",
Ec: "EC",
Eg: "EG",
Sv: "SV",
Gq: "GQ",
Er: "ER",
Ee: "EE",
Et: "ET",
Fk: "FK",
Fo: "FO",
Fj: "FJ",
Fi: "FI",
Fr: "FR",
Gf: "GF",
Pf: "PF",
Tf: "TF",
Ga: "GA",
Gm: "GM",
Ge: "GE",
De: "DE",
Gh: "GH",
Gi: "GI",
Gr: "GR",
Gl: "GL",
Gd: "GD",
Gp: "GP",
Gu: "GU",
Gt: "GT",
Gn: "GN",
Gw: "GW",
Gy: "GY",
Ht: "HT",
Hm: "HM",
Va: "VA",
Hn: "HN",
Hk: "HK",
Hu: "HU",
Is: "IS",
In: "IN",
Id: "ID",
Ir: "IR",
Iq: "IQ",
Ie: "IE",
Il: "IL",
It: "IT",
Jm: "JM",
Jp: "JP",
Jo: "JO",
Kz: "KZ",
Ke: "KE",
Ki: "KI",
Kp: "KP",
Kr: "KR",
Kw: "KW",
Kg: "KG",
La: "LA",
Lv: "LV",
Lb: "LB",
Ls: "LS",
Lr: "LR",
Ly: "LY",
Li: "LI",
Lt: "LT",
Lu: "LU",
Mo: "MO",
Mg: "MG",
Mw: "MW",
My: "MY",
Mv: "MV",
Ml: "ML",
Mt: "MT",
Mh: "MH",
Mq: "MQ",
Mr: "MR",
Mu: "MU",
Yt: "YT",
Mx: "MX",
Fm: "FM",
Md: "MD",
Mc: "MC",
Mn: "MN",
Ms: "MS",
Ma: "MA",
Mz: "MZ",
Mm: "MM",
Na: "NA",
Nr: "NR",
Np: "NP",
Nl: "NL",
Nc: "NC",
Nz: "NZ",
Ni: "NI",
Ne: "NE",
Ng: "NG",
Nu: "NU",
Nf: "NF",
Mk: "MK",
Mp: "MP",
No: "NO",
Om: "OM",
Pk: "PK",
Pw: "PW",
Ps: "PS",
Pa: "PA",
Pg: "PG",
Py: "PY",
Pe: "PE",
Ph: "PH",
Pn: "PN",
Pl: "PL",
Pt: "PT",
Pr: "PR",
Qa: "QA",
Re: "RE",
Ro: "RO",
Ru: "RU",
Rw: "RW",
Sh: "SH",
Kn: "KN",
Lc: "LC",
Pm: "PM",
Vc: "VC",
Ws: "WS",
Sm: "SM",
St: "ST",
Sa: "SA",
Sn: "SN",
Sc: "SC",
Sl: "SL",
Sg: "SG",
Sk: "SK",
Si: "SI",
Sb: "SB",
So: "SO",
Za: "ZA",
Gs: "GS",
Es: "ES",
Lk: "LK",
Sd: "SD",
Sr: "SR",
Sj: "SJ",
Sz: "SZ",
Se: "SE",
Ch: "CH",
Sy: "SY",
Tw: "TW",
Tj: "TJ",
Tz: "TZ",
Th: "TH",
Tl: "TL",
Tg: "TG",
Tk: "TK",
To: "TO",
Tt: "TT",
Tn: "TN",
Tr: "TR",
Tm: "TM",
Tc: "TC",
Tv: "TV",
Ug: "UG",
Ua: "UA",
Ae: "AE",
Gb: "GB",
Us: "US",
Um: "UM",
Uy: "UY",
Uz: "UZ",
Vu: "VU",
Ve: "VE",
Vn: "VN",
Vg: "VG",
Vi: "VI",
Wf: "WF",
Eh: "EH",
Ye: "YE",
Zm: "ZM",
Zw: "ZW",
Ax: "AX",
Bq: "BQ",
Cw: "CW",
Gg: "GG",
Im: "IM",
Je: "JE",
Me: "ME",
Bl: "BL",
Mf: "MF",
Rs: "RS",
Sx: "SX",
Ss: "SS",
Xk: "XK",
} as const;
/**
* The country to retrieve analytics for.
*/
export type GetReferersByClicksDeprecatedQueryParamCountry = ClosedEnum<
typeof GetReferersByClicksDeprecatedQueryParamCountry
>;
export type GetReferersByClicksDeprecatedRequest = {
/**
* The domain to filter analytics for.
@@ -319,7 +58,7 @@ export type GetReferersByClicksDeprecatedRequest = {
/**
* The country to retrieve analytics for.
*/
country?: GetReferersByClicksDeprecatedQueryParamCountry | undefined;
country?: components.CountryCode | undefined;
/**
* The city to retrieve analytics for.
*/
@@ -375,12 +114,6 @@ export namespace GetReferersByClicksDeprecatedQueryParamInterval$ {
export const outboundSchema = inboundSchema;
}
/** @internal */
export namespace GetReferersByClicksDeprecatedQueryParamCountry$ {
export const inboundSchema = z.nativeEnum(GetReferersByClicksDeprecatedQueryParamCountry);
export const outboundSchema = inboundSchema;
}
/** @internal */
export namespace GetReferersByClicksDeprecatedRequest$ {
export const inboundSchema: z.ZodType<
@@ -396,7 +129,7 @@ export namespace GetReferersByClicksDeprecatedRequest$ {
interval: GetReferersByClicksDeprecatedQueryParamInterval$.inboundSchema.default("24h"),
start: z.string().optional(),
end: z.string().optional(),
country: GetReferersByClicksDeprecatedQueryParamCountry$.inboundSchema.optional(),
country: components.CountryCode$.inboundSchema.optional(),
city: z.string().optional(),
device: z.string().optional(),
browser: z.string().optional(),
@@ -463,7 +196,7 @@ export namespace GetReferersByClicksDeprecatedRequest$ {
GetReferersByClicksDeprecatedQueryParamInterval$.outboundSchema.default("24h"),
start: z.string().optional(),
end: z.string().optional(),
country: GetReferersByClicksDeprecatedQueryParamCountry$.outboundSchema.optional(),
country: components.CountryCode$.outboundSchema.optional(),
city: z.string().optional(),
device: z.string().optional(),
browser: z.string().optional(),

View File

@@ -3,6 +3,7 @@
*/
import { ClosedEnum } from "../../types";
import * as components from "../components";
import * as z from "zod";
/**
@@ -23,266 +24,6 @@ export const QueryParamInterval = {
*/
export type QueryParamInterval = ClosedEnum<typeof QueryParamInterval>;
/**
* The country to retrieve analytics for.
*/
export const QueryParamCountry = {
Af: "AF",
Al: "AL",
Dz: "DZ",
As: "AS",
Ad: "AD",
Ao: "AO",
Ai: "AI",
Aq: "AQ",
Ag: "AG",
Ar: "AR",
Am: "AM",
Aw: "AW",
Au: "AU",
At: "AT",
Az: "AZ",
Bs: "BS",
Bh: "BH",
Bd: "BD",
Bb: "BB",
By: "BY",
Be: "BE",
Bz: "BZ",
Bj: "BJ",
Bm: "BM",
Bt: "BT",
Bo: "BO",
Ba: "BA",
Bw: "BW",
Bv: "BV",
Br: "BR",
Io: "IO",
Bn: "BN",
Bg: "BG",
Bf: "BF",
Bi: "BI",
Kh: "KH",
Cm: "CM",
Ca: "CA",
Cv: "CV",
Ky: "KY",
Cf: "CF",
Td: "TD",
Cl: "CL",
Cn: "CN",
Cx: "CX",
Cc: "CC",
Co: "CO",
Km: "KM",
Cg: "CG",
Cd: "CD",
Ck: "CK",
Cr: "CR",
Ci: "CI",
Hr: "HR",
Cu: "CU",
Cy: "CY",
Cz: "CZ",
Dk: "DK",
Dj: "DJ",
Dm: "DM",
Do: "DO",
Ec: "EC",
Eg: "EG",
Sv: "SV",
Gq: "GQ",
Er: "ER",
Ee: "EE",
Et: "ET",
Fk: "FK",
Fo: "FO",
Fj: "FJ",
Fi: "FI",
Fr: "FR",
Gf: "GF",
Pf: "PF",
Tf: "TF",
Ga: "GA",
Gm: "GM",
Ge: "GE",
De: "DE",
Gh: "GH",
Gi: "GI",
Gr: "GR",
Gl: "GL",
Gd: "GD",
Gp: "GP",
Gu: "GU",
Gt: "GT",
Gn: "GN",
Gw: "GW",
Gy: "GY",
Ht: "HT",
Hm: "HM",
Va: "VA",
Hn: "HN",
Hk: "HK",
Hu: "HU",
Is: "IS",
In: "IN",
Id: "ID",
Ir: "IR",
Iq: "IQ",
Ie: "IE",
Il: "IL",
It: "IT",
Jm: "JM",
Jp: "JP",
Jo: "JO",
Kz: "KZ",
Ke: "KE",
Ki: "KI",
Kp: "KP",
Kr: "KR",
Kw: "KW",
Kg: "KG",
La: "LA",
Lv: "LV",
Lb: "LB",
Ls: "LS",
Lr: "LR",
Ly: "LY",
Li: "LI",
Lt: "LT",
Lu: "LU",
Mo: "MO",
Mg: "MG",
Mw: "MW",
My: "MY",
Mv: "MV",
Ml: "ML",
Mt: "MT",
Mh: "MH",
Mq: "MQ",
Mr: "MR",
Mu: "MU",
Yt: "YT",
Mx: "MX",
Fm: "FM",
Md: "MD",
Mc: "MC",
Mn: "MN",
Ms: "MS",
Ma: "MA",
Mz: "MZ",
Mm: "MM",
Na: "NA",
Nr: "NR",
Np: "NP",
Nl: "NL",
Nc: "NC",
Nz: "NZ",
Ni: "NI",
Ne: "NE",
Ng: "NG",
Nu: "NU",
Nf: "NF",
Mk: "MK",
Mp: "MP",
No: "NO",
Om: "OM",
Pk: "PK",
Pw: "PW",
Ps: "PS",
Pa: "PA",
Pg: "PG",
Py: "PY",
Pe: "PE",
Ph: "PH",
Pn: "PN",
Pl: "PL",
Pt: "PT",
Pr: "PR",
Qa: "QA",
Re: "RE",
Ro: "RO",
Ru: "RU",
Rw: "RW",
Sh: "SH",
Kn: "KN",
Lc: "LC",
Pm: "PM",
Vc: "VC",
Ws: "WS",
Sm: "SM",
St: "ST",
Sa: "SA",
Sn: "SN",
Sc: "SC",
Sl: "SL",
Sg: "SG",
Sk: "SK",
Si: "SI",
Sb: "SB",
So: "SO",
Za: "ZA",
Gs: "GS",
Es: "ES",
Lk: "LK",
Sd: "SD",
Sr: "SR",
Sj: "SJ",
Sz: "SZ",
Se: "SE",
Ch: "CH",
Sy: "SY",
Tw: "TW",
Tj: "TJ",
Tz: "TZ",
Th: "TH",
Tl: "TL",
Tg: "TG",
Tk: "TK",
To: "TO",
Tt: "TT",
Tn: "TN",
Tr: "TR",
Tm: "TM",
Tc: "TC",
Tv: "TV",
Ug: "UG",
Ua: "UA",
Ae: "AE",
Gb: "GB",
Us: "US",
Um: "UM",
Uy: "UY",
Uz: "UZ",
Vu: "VU",
Ve: "VE",
Vn: "VN",
Vg: "VG",
Vi: "VI",
Wf: "WF",
Eh: "EH",
Ye: "YE",
Zm: "ZM",
Zw: "ZW",
Ax: "AX",
Bq: "BQ",
Cw: "CW",
Gg: "GG",
Im: "IM",
Je: "JE",
Me: "ME",
Bl: "BL",
Mf: "MF",
Rs: "RS",
Sx: "SX",
Ss: "SS",
Xk: "XK",
} as const;
/**
* The country to retrieve analytics for.
*/
export type QueryParamCountry = ClosedEnum<typeof QueryParamCountry>;
export type GetTimeseriesByClicksRequest = {
/**
* The domain to filter analytics for.
@@ -315,7 +56,7 @@ export type GetTimeseriesByClicksRequest = {
/**
* The country to retrieve analytics for.
*/
country?: QueryParamCountry | undefined;
country?: components.CountryCode | undefined;
/**
* The city to retrieve analytics for.
*/
@@ -371,12 +112,6 @@ export namespace QueryParamInterval$ {
export const outboundSchema = inboundSchema;
}
/** @internal */
export namespace QueryParamCountry$ {
export const inboundSchema = z.nativeEnum(QueryParamCountry);
export const outboundSchema = inboundSchema;
}
/** @internal */
export namespace GetTimeseriesByClicksRequest$ {
export const inboundSchema: z.ZodType<GetTimeseriesByClicksRequest, z.ZodTypeDef, unknown> = z
@@ -388,7 +123,7 @@ export namespace GetTimeseriesByClicksRequest$ {
interval: QueryParamInterval$.inboundSchema.default("24h"),
start: z.string().optional(),
end: z.string().optional(),
country: QueryParamCountry$.inboundSchema.optional(),
country: components.CountryCode$.inboundSchema.optional(),
city: z.string().optional(),
device: z.string().optional(),
browser: z.string().optional(),
@@ -450,7 +185,7 @@ export namespace GetTimeseriesByClicksRequest$ {
interval: QueryParamInterval$.outboundSchema.default("24h"),
start: z.string().optional(),
end: z.string().optional(),
country: QueryParamCountry$.outboundSchema.optional(),
country: components.CountryCode$.outboundSchema.optional(),
city: z.string().optional(),
device: z.string().optional(),
browser: z.string().optional(),

View File

@@ -3,6 +3,7 @@
*/
import { ClosedEnum } from "../../types";
import * as components from "../components";
import * as z from "zod";
/**
@@ -25,268 +26,6 @@ export type GetTimeseriesByClicksDeprecatedQueryParamInterval = ClosedEnum<
typeof GetTimeseriesByClicksDeprecatedQueryParamInterval
>;
/**
* The country to retrieve analytics for.
*/
export const GetTimeseriesByClicksDeprecatedQueryParamCountry = {
Af: "AF",
Al: "AL",
Dz: "DZ",
As: "AS",
Ad: "AD",
Ao: "AO",
Ai: "AI",
Aq: "AQ",
Ag: "AG",
Ar: "AR",
Am: "AM",
Aw: "AW",
Au: "AU",
At: "AT",
Az: "AZ",
Bs: "BS",
Bh: "BH",
Bd: "BD",
Bb: "BB",
By: "BY",
Be: "BE",
Bz: "BZ",
Bj: "BJ",
Bm: "BM",
Bt: "BT",
Bo: "BO",
Ba: "BA",
Bw: "BW",
Bv: "BV",
Br: "BR",
Io: "IO",
Bn: "BN",
Bg: "BG",
Bf: "BF",
Bi: "BI",
Kh: "KH",
Cm: "CM",
Ca: "CA",
Cv: "CV",
Ky: "KY",
Cf: "CF",
Td: "TD",
Cl: "CL",
Cn: "CN",
Cx: "CX",
Cc: "CC",
Co: "CO",
Km: "KM",
Cg: "CG",
Cd: "CD",
Ck: "CK",
Cr: "CR",
Ci: "CI",
Hr: "HR",
Cu: "CU",
Cy: "CY",
Cz: "CZ",
Dk: "DK",
Dj: "DJ",
Dm: "DM",
Do: "DO",
Ec: "EC",
Eg: "EG",
Sv: "SV",
Gq: "GQ",
Er: "ER",
Ee: "EE",
Et: "ET",
Fk: "FK",
Fo: "FO",
Fj: "FJ",
Fi: "FI",
Fr: "FR",
Gf: "GF",
Pf: "PF",
Tf: "TF",
Ga: "GA",
Gm: "GM",
Ge: "GE",
De: "DE",
Gh: "GH",
Gi: "GI",
Gr: "GR",
Gl: "GL",
Gd: "GD",
Gp: "GP",
Gu: "GU",
Gt: "GT",
Gn: "GN",
Gw: "GW",
Gy: "GY",
Ht: "HT",
Hm: "HM",
Va: "VA",
Hn: "HN",
Hk: "HK",
Hu: "HU",
Is: "IS",
In: "IN",
Id: "ID",
Ir: "IR",
Iq: "IQ",
Ie: "IE",
Il: "IL",
It: "IT",
Jm: "JM",
Jp: "JP",
Jo: "JO",
Kz: "KZ",
Ke: "KE",
Ki: "KI",
Kp: "KP",
Kr: "KR",
Kw: "KW",
Kg: "KG",
La: "LA",
Lv: "LV",
Lb: "LB",
Ls: "LS",
Lr: "LR",
Ly: "LY",
Li: "LI",
Lt: "LT",
Lu: "LU",
Mo: "MO",
Mg: "MG",
Mw: "MW",
My: "MY",
Mv: "MV",
Ml: "ML",
Mt: "MT",
Mh: "MH",
Mq: "MQ",
Mr: "MR",
Mu: "MU",
Yt: "YT",
Mx: "MX",
Fm: "FM",
Md: "MD",
Mc: "MC",
Mn: "MN",
Ms: "MS",
Ma: "MA",
Mz: "MZ",
Mm: "MM",
Na: "NA",
Nr: "NR",
Np: "NP",
Nl: "NL",
Nc: "NC",
Nz: "NZ",
Ni: "NI",
Ne: "NE",
Ng: "NG",
Nu: "NU",
Nf: "NF",
Mk: "MK",
Mp: "MP",
No: "NO",
Om: "OM",
Pk: "PK",
Pw: "PW",
Ps: "PS",
Pa: "PA",
Pg: "PG",
Py: "PY",
Pe: "PE",
Ph: "PH",
Pn: "PN",
Pl: "PL",
Pt: "PT",
Pr: "PR",
Qa: "QA",
Re: "RE",
Ro: "RO",
Ru: "RU",
Rw: "RW",
Sh: "SH",
Kn: "KN",
Lc: "LC",
Pm: "PM",
Vc: "VC",
Ws: "WS",
Sm: "SM",
St: "ST",
Sa: "SA",
Sn: "SN",
Sc: "SC",
Sl: "SL",
Sg: "SG",
Sk: "SK",
Si: "SI",
Sb: "SB",
So: "SO",
Za: "ZA",
Gs: "GS",
Es: "ES",
Lk: "LK",
Sd: "SD",
Sr: "SR",
Sj: "SJ",
Sz: "SZ",
Se: "SE",
Ch: "CH",
Sy: "SY",
Tw: "TW",
Tj: "TJ",
Tz: "TZ",
Th: "TH",
Tl: "TL",
Tg: "TG",
Tk: "TK",
To: "TO",
Tt: "TT",
Tn: "TN",
Tr: "TR",
Tm: "TM",
Tc: "TC",
Tv: "TV",
Ug: "UG",
Ua: "UA",
Ae: "AE",
Gb: "GB",
Us: "US",
Um: "UM",
Uy: "UY",
Uz: "UZ",
Vu: "VU",
Ve: "VE",
Vn: "VN",
Vg: "VG",
Vi: "VI",
Wf: "WF",
Eh: "EH",
Ye: "YE",
Zm: "ZM",
Zw: "ZW",
Ax: "AX",
Bq: "BQ",
Cw: "CW",
Gg: "GG",
Im: "IM",
Je: "JE",
Me: "ME",
Bl: "BL",
Mf: "MF",
Rs: "RS",
Sx: "SX",
Ss: "SS",
Xk: "XK",
} as const;
/**
* The country to retrieve analytics for.
*/
export type GetTimeseriesByClicksDeprecatedQueryParamCountry = ClosedEnum<
typeof GetTimeseriesByClicksDeprecatedQueryParamCountry
>;
export type GetTimeseriesByClicksDeprecatedRequest = {
/**
* The domain to filter analytics for.
@@ -319,7 +58,7 @@ export type GetTimeseriesByClicksDeprecatedRequest = {
/**
* The country to retrieve analytics for.
*/
country?: GetTimeseriesByClicksDeprecatedQueryParamCountry | undefined;
country?: components.CountryCode | undefined;
/**
* The city to retrieve analytics for.
*/
@@ -375,12 +114,6 @@ export namespace GetTimeseriesByClicksDeprecatedQueryParamInterval$ {
export const outboundSchema = inboundSchema;
}
/** @internal */
export namespace GetTimeseriesByClicksDeprecatedQueryParamCountry$ {
export const inboundSchema = z.nativeEnum(GetTimeseriesByClicksDeprecatedQueryParamCountry);
export const outboundSchema = inboundSchema;
}
/** @internal */
export namespace GetTimeseriesByClicksDeprecatedRequest$ {
export const inboundSchema: z.ZodType<
@@ -397,7 +130,7 @@ export namespace GetTimeseriesByClicksDeprecatedRequest$ {
GetTimeseriesByClicksDeprecatedQueryParamInterval$.inboundSchema.default("24h"),
start: z.string().optional(),
end: z.string().optional(),
country: GetTimeseriesByClicksDeprecatedQueryParamCountry$.inboundSchema.optional(),
country: components.CountryCode$.inboundSchema.optional(),
city: z.string().optional(),
device: z.string().optional(),
browser: z.string().optional(),
@@ -464,7 +197,7 @@ export namespace GetTimeseriesByClicksDeprecatedRequest$ {
GetTimeseriesByClicksDeprecatedQueryParamInterval$.outboundSchema.default("24h"),
start: z.string().optional(),
end: z.string().optional(),
country: GetTimeseriesByClicksDeprecatedQueryParamCountry$.outboundSchema.optional(),
country: components.CountryCode$.outboundSchema.optional(),
city: z.string().optional(),
device: z.string().optional(),
browser: z.string().optional(),

View File

@@ -3,6 +3,7 @@
*/
import { ClosedEnum } from "../../types";
import * as components from "../components";
import * as z from "zod";
/**
@@ -25,268 +26,6 @@ export type GetTopLinksByClicksQueryParamInterval = ClosedEnum<
typeof GetTopLinksByClicksQueryParamInterval
>;
/**
* The country to retrieve analytics for.
*/
export const GetTopLinksByClicksQueryParamCountry = {
Af: "AF",
Al: "AL",
Dz: "DZ",
As: "AS",
Ad: "AD",
Ao: "AO",
Ai: "AI",
Aq: "AQ",
Ag: "AG",
Ar: "AR",
Am: "AM",
Aw: "AW",
Au: "AU",
At: "AT",
Az: "AZ",
Bs: "BS",
Bh: "BH",
Bd: "BD",
Bb: "BB",
By: "BY",
Be: "BE",
Bz: "BZ",
Bj: "BJ",
Bm: "BM",
Bt: "BT",
Bo: "BO",
Ba: "BA",
Bw: "BW",
Bv: "BV",
Br: "BR",
Io: "IO",
Bn: "BN",
Bg: "BG",
Bf: "BF",
Bi: "BI",
Kh: "KH",
Cm: "CM",
Ca: "CA",
Cv: "CV",
Ky: "KY",
Cf: "CF",
Td: "TD",
Cl: "CL",
Cn: "CN",
Cx: "CX",
Cc: "CC",
Co: "CO",
Km: "KM",
Cg: "CG",
Cd: "CD",
Ck: "CK",
Cr: "CR",
Ci: "CI",
Hr: "HR",
Cu: "CU",
Cy: "CY",
Cz: "CZ",
Dk: "DK",
Dj: "DJ",
Dm: "DM",
Do: "DO",
Ec: "EC",
Eg: "EG",
Sv: "SV",
Gq: "GQ",
Er: "ER",
Ee: "EE",
Et: "ET",
Fk: "FK",
Fo: "FO",
Fj: "FJ",
Fi: "FI",
Fr: "FR",
Gf: "GF",
Pf: "PF",
Tf: "TF",
Ga: "GA",
Gm: "GM",
Ge: "GE",
De: "DE",
Gh: "GH",
Gi: "GI",
Gr: "GR",
Gl: "GL",
Gd: "GD",
Gp: "GP",
Gu: "GU",
Gt: "GT",
Gn: "GN",
Gw: "GW",
Gy: "GY",
Ht: "HT",
Hm: "HM",
Va: "VA",
Hn: "HN",
Hk: "HK",
Hu: "HU",
Is: "IS",
In: "IN",
Id: "ID",
Ir: "IR",
Iq: "IQ",
Ie: "IE",
Il: "IL",
It: "IT",
Jm: "JM",
Jp: "JP",
Jo: "JO",
Kz: "KZ",
Ke: "KE",
Ki: "KI",
Kp: "KP",
Kr: "KR",
Kw: "KW",
Kg: "KG",
La: "LA",
Lv: "LV",
Lb: "LB",
Ls: "LS",
Lr: "LR",
Ly: "LY",
Li: "LI",
Lt: "LT",
Lu: "LU",
Mo: "MO",
Mg: "MG",
Mw: "MW",
My: "MY",
Mv: "MV",
Ml: "ML",
Mt: "MT",
Mh: "MH",
Mq: "MQ",
Mr: "MR",
Mu: "MU",
Yt: "YT",
Mx: "MX",
Fm: "FM",
Md: "MD",
Mc: "MC",
Mn: "MN",
Ms: "MS",
Ma: "MA",
Mz: "MZ",
Mm: "MM",
Na: "NA",
Nr: "NR",
Np: "NP",
Nl: "NL",
Nc: "NC",
Nz: "NZ",
Ni: "NI",
Ne: "NE",
Ng: "NG",
Nu: "NU",
Nf: "NF",
Mk: "MK",
Mp: "MP",
No: "NO",
Om: "OM",
Pk: "PK",
Pw: "PW",
Ps: "PS",
Pa: "PA",
Pg: "PG",
Py: "PY",
Pe: "PE",
Ph: "PH",
Pn: "PN",
Pl: "PL",
Pt: "PT",
Pr: "PR",
Qa: "QA",
Re: "RE",
Ro: "RO",
Ru: "RU",
Rw: "RW",
Sh: "SH",
Kn: "KN",
Lc: "LC",
Pm: "PM",
Vc: "VC",
Ws: "WS",
Sm: "SM",
St: "ST",
Sa: "SA",
Sn: "SN",
Sc: "SC",
Sl: "SL",
Sg: "SG",
Sk: "SK",
Si: "SI",
Sb: "SB",
So: "SO",
Za: "ZA",
Gs: "GS",
Es: "ES",
Lk: "LK",
Sd: "SD",
Sr: "SR",
Sj: "SJ",
Sz: "SZ",
Se: "SE",
Ch: "CH",
Sy: "SY",
Tw: "TW",
Tj: "TJ",
Tz: "TZ",
Th: "TH",
Tl: "TL",
Tg: "TG",
Tk: "TK",
To: "TO",
Tt: "TT",
Tn: "TN",
Tr: "TR",
Tm: "TM",
Tc: "TC",
Tv: "TV",
Ug: "UG",
Ua: "UA",
Ae: "AE",
Gb: "GB",
Us: "US",
Um: "UM",
Uy: "UY",
Uz: "UZ",
Vu: "VU",
Ve: "VE",
Vn: "VN",
Vg: "VG",
Vi: "VI",
Wf: "WF",
Eh: "EH",
Ye: "YE",
Zm: "ZM",
Zw: "ZW",
Ax: "AX",
Bq: "BQ",
Cw: "CW",
Gg: "GG",
Im: "IM",
Je: "JE",
Me: "ME",
Bl: "BL",
Mf: "MF",
Rs: "RS",
Sx: "SX",
Ss: "SS",
Xk: "XK",
} as const;
/**
* The country to retrieve analytics for.
*/
export type GetTopLinksByClicksQueryParamCountry = ClosedEnum<
typeof GetTopLinksByClicksQueryParamCountry
>;
export type GetTopLinksByClicksRequest = {
/**
* The domain to filter analytics for.
@@ -319,7 +58,7 @@ export type GetTopLinksByClicksRequest = {
/**
* The country to retrieve analytics for.
*/
country?: GetTopLinksByClicksQueryParamCountry | undefined;
country?: components.CountryCode | undefined;
/**
* The city to retrieve analytics for.
*/
@@ -375,12 +114,6 @@ export namespace GetTopLinksByClicksQueryParamInterval$ {
export const outboundSchema = inboundSchema;
}
/** @internal */
export namespace GetTopLinksByClicksQueryParamCountry$ {
export const inboundSchema = z.nativeEnum(GetTopLinksByClicksQueryParamCountry);
export const outboundSchema = inboundSchema;
}
/** @internal */
export namespace GetTopLinksByClicksRequest$ {
export const inboundSchema: z.ZodType<GetTopLinksByClicksRequest, z.ZodTypeDef, unknown> = z
@@ -392,7 +125,7 @@ export namespace GetTopLinksByClicksRequest$ {
interval: GetTopLinksByClicksQueryParamInterval$.inboundSchema.default("24h"),
start: z.string().optional(),
end: z.string().optional(),
country: GetTopLinksByClicksQueryParamCountry$.inboundSchema.optional(),
country: components.CountryCode$.inboundSchema.optional(),
city: z.string().optional(),
device: z.string().optional(),
browser: z.string().optional(),
@@ -454,7 +187,7 @@ export namespace GetTopLinksByClicksRequest$ {
interval: GetTopLinksByClicksQueryParamInterval$.outboundSchema.default("24h"),
start: z.string().optional(),
end: z.string().optional(),
country: GetTopLinksByClicksQueryParamCountry$.outboundSchema.optional(),
country: components.CountryCode$.outboundSchema.optional(),
city: z.string().optional(),
device: z.string().optional(),
browser: z.string().optional(),

View File

@@ -3,6 +3,7 @@
*/
import { ClosedEnum } from "../../types";
import * as components from "../components";
import * as z from "zod";
/**
@@ -25,268 +26,6 @@ export type GetTopLinksByClicksDeprecatedQueryParamInterval = ClosedEnum<
typeof GetTopLinksByClicksDeprecatedQueryParamInterval
>;
/**
* The country to retrieve analytics for.
*/
export const GetTopLinksByClicksDeprecatedQueryParamCountry = {
Af: "AF",
Al: "AL",
Dz: "DZ",
As: "AS",
Ad: "AD",
Ao: "AO",
Ai: "AI",
Aq: "AQ",
Ag: "AG",
Ar: "AR",
Am: "AM",
Aw: "AW",
Au: "AU",
At: "AT",
Az: "AZ",
Bs: "BS",
Bh: "BH",
Bd: "BD",
Bb: "BB",
By: "BY",
Be: "BE",
Bz: "BZ",
Bj: "BJ",
Bm: "BM",
Bt: "BT",
Bo: "BO",
Ba: "BA",
Bw: "BW",
Bv: "BV",
Br: "BR",
Io: "IO",
Bn: "BN",
Bg: "BG",
Bf: "BF",
Bi: "BI",
Kh: "KH",
Cm: "CM",
Ca: "CA",
Cv: "CV",
Ky: "KY",
Cf: "CF",
Td: "TD",
Cl: "CL",
Cn: "CN",
Cx: "CX",
Cc: "CC",
Co: "CO",
Km: "KM",
Cg: "CG",
Cd: "CD",
Ck: "CK",
Cr: "CR",
Ci: "CI",
Hr: "HR",
Cu: "CU",
Cy: "CY",
Cz: "CZ",
Dk: "DK",
Dj: "DJ",
Dm: "DM",
Do: "DO",
Ec: "EC",
Eg: "EG",
Sv: "SV",
Gq: "GQ",
Er: "ER",
Ee: "EE",
Et: "ET",
Fk: "FK",
Fo: "FO",
Fj: "FJ",
Fi: "FI",
Fr: "FR",
Gf: "GF",
Pf: "PF",
Tf: "TF",
Ga: "GA",
Gm: "GM",
Ge: "GE",
De: "DE",
Gh: "GH",
Gi: "GI",
Gr: "GR",
Gl: "GL",
Gd: "GD",
Gp: "GP",
Gu: "GU",
Gt: "GT",
Gn: "GN",
Gw: "GW",
Gy: "GY",
Ht: "HT",
Hm: "HM",
Va: "VA",
Hn: "HN",
Hk: "HK",
Hu: "HU",
Is: "IS",
In: "IN",
Id: "ID",
Ir: "IR",
Iq: "IQ",
Ie: "IE",
Il: "IL",
It: "IT",
Jm: "JM",
Jp: "JP",
Jo: "JO",
Kz: "KZ",
Ke: "KE",
Ki: "KI",
Kp: "KP",
Kr: "KR",
Kw: "KW",
Kg: "KG",
La: "LA",
Lv: "LV",
Lb: "LB",
Ls: "LS",
Lr: "LR",
Ly: "LY",
Li: "LI",
Lt: "LT",
Lu: "LU",
Mo: "MO",
Mg: "MG",
Mw: "MW",
My: "MY",
Mv: "MV",
Ml: "ML",
Mt: "MT",
Mh: "MH",
Mq: "MQ",
Mr: "MR",
Mu: "MU",
Yt: "YT",
Mx: "MX",
Fm: "FM",
Md: "MD",
Mc: "MC",
Mn: "MN",
Ms: "MS",
Ma: "MA",
Mz: "MZ",
Mm: "MM",
Na: "NA",
Nr: "NR",
Np: "NP",
Nl: "NL",
Nc: "NC",
Nz: "NZ",
Ni: "NI",
Ne: "NE",
Ng: "NG",
Nu: "NU",
Nf: "NF",
Mk: "MK",
Mp: "MP",
No: "NO",
Om: "OM",
Pk: "PK",
Pw: "PW",
Ps: "PS",
Pa: "PA",
Pg: "PG",
Py: "PY",
Pe: "PE",
Ph: "PH",
Pn: "PN",
Pl: "PL",
Pt: "PT",
Pr: "PR",
Qa: "QA",
Re: "RE",
Ro: "RO",
Ru: "RU",
Rw: "RW",
Sh: "SH",
Kn: "KN",
Lc: "LC",
Pm: "PM",
Vc: "VC",
Ws: "WS",
Sm: "SM",
St: "ST",
Sa: "SA",
Sn: "SN",
Sc: "SC",
Sl: "SL",
Sg: "SG",
Sk: "SK",
Si: "SI",
Sb: "SB",
So: "SO",
Za: "ZA",
Gs: "GS",
Es: "ES",
Lk: "LK",
Sd: "SD",
Sr: "SR",
Sj: "SJ",
Sz: "SZ",
Se: "SE",
Ch: "CH",
Sy: "SY",
Tw: "TW",
Tj: "TJ",
Tz: "TZ",
Th: "TH",
Tl: "TL",
Tg: "TG",
Tk: "TK",
To: "TO",
Tt: "TT",
Tn: "TN",
Tr: "TR",
Tm: "TM",
Tc: "TC",
Tv: "TV",
Ug: "UG",
Ua: "UA",
Ae: "AE",
Gb: "GB",
Us: "US",
Um: "UM",
Uy: "UY",
Uz: "UZ",
Vu: "VU",
Ve: "VE",
Vn: "VN",
Vg: "VG",
Vi: "VI",
Wf: "WF",
Eh: "EH",
Ye: "YE",
Zm: "ZM",
Zw: "ZW",
Ax: "AX",
Bq: "BQ",
Cw: "CW",
Gg: "GG",
Im: "IM",
Je: "JE",
Me: "ME",
Bl: "BL",
Mf: "MF",
Rs: "RS",
Sx: "SX",
Ss: "SS",
Xk: "XK",
} as const;
/**
* The country to retrieve analytics for.
*/
export type GetTopLinksByClicksDeprecatedQueryParamCountry = ClosedEnum<
typeof GetTopLinksByClicksDeprecatedQueryParamCountry
>;
export type GetTopLinksByClicksDeprecatedRequest = {
/**
* The domain to filter analytics for.
@@ -319,7 +58,7 @@ export type GetTopLinksByClicksDeprecatedRequest = {
/**
* The country to retrieve analytics for.
*/
country?: GetTopLinksByClicksDeprecatedQueryParamCountry | undefined;
country?: components.CountryCode | undefined;
/**
* The city to retrieve analytics for.
*/
@@ -375,12 +114,6 @@ export namespace GetTopLinksByClicksDeprecatedQueryParamInterval$ {
export const outboundSchema = inboundSchema;
}
/** @internal */
export namespace GetTopLinksByClicksDeprecatedQueryParamCountry$ {
export const inboundSchema = z.nativeEnum(GetTopLinksByClicksDeprecatedQueryParamCountry);
export const outboundSchema = inboundSchema;
}
/** @internal */
export namespace GetTopLinksByClicksDeprecatedRequest$ {
export const inboundSchema: z.ZodType<
@@ -396,7 +129,7 @@ export namespace GetTopLinksByClicksDeprecatedRequest$ {
interval: GetTopLinksByClicksDeprecatedQueryParamInterval$.inboundSchema.default("24h"),
start: z.string().optional(),
end: z.string().optional(),
country: GetTopLinksByClicksDeprecatedQueryParamCountry$.inboundSchema.optional(),
country: components.CountryCode$.inboundSchema.optional(),
city: z.string().optional(),
device: z.string().optional(),
browser: z.string().optional(),
@@ -463,7 +196,7 @@ export namespace GetTopLinksByClicksDeprecatedRequest$ {
GetTopLinksByClicksDeprecatedQueryParamInterval$.outboundSchema.default("24h"),
start: z.string().optional(),
end: z.string().optional(),
country: GetTopLinksByClicksDeprecatedQueryParamCountry$.outboundSchema.optional(),
country: components.CountryCode$.outboundSchema.optional(),
city: z.string().optional(),
device: z.string().optional(),
browser: z.string().optional(),

View File

@@ -3,6 +3,7 @@
*/
import { ClosedEnum } from "../../types";
import * as components from "../components";
import * as z from "zod";
/**
@@ -25,268 +26,6 @@ export type GetTopURLsByClicksQueryParamInterval = ClosedEnum<
typeof GetTopURLsByClicksQueryParamInterval
>;
/**
* The country to retrieve analytics for.
*/
export const GetTopURLsByClicksQueryParamCountry = {
Af: "AF",
Al: "AL",
Dz: "DZ",
As: "AS",
Ad: "AD",
Ao: "AO",
Ai: "AI",
Aq: "AQ",
Ag: "AG",
Ar: "AR",
Am: "AM",
Aw: "AW",
Au: "AU",
At: "AT",
Az: "AZ",
Bs: "BS",
Bh: "BH",
Bd: "BD",
Bb: "BB",
By: "BY",
Be: "BE",
Bz: "BZ",
Bj: "BJ",
Bm: "BM",
Bt: "BT",
Bo: "BO",
Ba: "BA",
Bw: "BW",
Bv: "BV",
Br: "BR",
Io: "IO",
Bn: "BN",
Bg: "BG",
Bf: "BF",
Bi: "BI",
Kh: "KH",
Cm: "CM",
Ca: "CA",
Cv: "CV",
Ky: "KY",
Cf: "CF",
Td: "TD",
Cl: "CL",
Cn: "CN",
Cx: "CX",
Cc: "CC",
Co: "CO",
Km: "KM",
Cg: "CG",
Cd: "CD",
Ck: "CK",
Cr: "CR",
Ci: "CI",
Hr: "HR",
Cu: "CU",
Cy: "CY",
Cz: "CZ",
Dk: "DK",
Dj: "DJ",
Dm: "DM",
Do: "DO",
Ec: "EC",
Eg: "EG",
Sv: "SV",
Gq: "GQ",
Er: "ER",
Ee: "EE",
Et: "ET",
Fk: "FK",
Fo: "FO",
Fj: "FJ",
Fi: "FI",
Fr: "FR",
Gf: "GF",
Pf: "PF",
Tf: "TF",
Ga: "GA",
Gm: "GM",
Ge: "GE",
De: "DE",
Gh: "GH",
Gi: "GI",
Gr: "GR",
Gl: "GL",
Gd: "GD",
Gp: "GP",
Gu: "GU",
Gt: "GT",
Gn: "GN",
Gw: "GW",
Gy: "GY",
Ht: "HT",
Hm: "HM",
Va: "VA",
Hn: "HN",
Hk: "HK",
Hu: "HU",
Is: "IS",
In: "IN",
Id: "ID",
Ir: "IR",
Iq: "IQ",
Ie: "IE",
Il: "IL",
It: "IT",
Jm: "JM",
Jp: "JP",
Jo: "JO",
Kz: "KZ",
Ke: "KE",
Ki: "KI",
Kp: "KP",
Kr: "KR",
Kw: "KW",
Kg: "KG",
La: "LA",
Lv: "LV",
Lb: "LB",
Ls: "LS",
Lr: "LR",
Ly: "LY",
Li: "LI",
Lt: "LT",
Lu: "LU",
Mo: "MO",
Mg: "MG",
Mw: "MW",
My: "MY",
Mv: "MV",
Ml: "ML",
Mt: "MT",
Mh: "MH",
Mq: "MQ",
Mr: "MR",
Mu: "MU",
Yt: "YT",
Mx: "MX",
Fm: "FM",
Md: "MD",
Mc: "MC",
Mn: "MN",
Ms: "MS",
Ma: "MA",
Mz: "MZ",
Mm: "MM",
Na: "NA",
Nr: "NR",
Np: "NP",
Nl: "NL",
Nc: "NC",
Nz: "NZ",
Ni: "NI",
Ne: "NE",
Ng: "NG",
Nu: "NU",
Nf: "NF",
Mk: "MK",
Mp: "MP",
No: "NO",
Om: "OM",
Pk: "PK",
Pw: "PW",
Ps: "PS",
Pa: "PA",
Pg: "PG",
Py: "PY",
Pe: "PE",
Ph: "PH",
Pn: "PN",
Pl: "PL",
Pt: "PT",
Pr: "PR",
Qa: "QA",
Re: "RE",
Ro: "RO",
Ru: "RU",
Rw: "RW",
Sh: "SH",
Kn: "KN",
Lc: "LC",
Pm: "PM",
Vc: "VC",
Ws: "WS",
Sm: "SM",
St: "ST",
Sa: "SA",
Sn: "SN",
Sc: "SC",
Sl: "SL",
Sg: "SG",
Sk: "SK",
Si: "SI",
Sb: "SB",
So: "SO",
Za: "ZA",
Gs: "GS",
Es: "ES",
Lk: "LK",
Sd: "SD",
Sr: "SR",
Sj: "SJ",
Sz: "SZ",
Se: "SE",
Ch: "CH",
Sy: "SY",
Tw: "TW",
Tj: "TJ",
Tz: "TZ",
Th: "TH",
Tl: "TL",
Tg: "TG",
Tk: "TK",
To: "TO",
Tt: "TT",
Tn: "TN",
Tr: "TR",
Tm: "TM",
Tc: "TC",
Tv: "TV",
Ug: "UG",
Ua: "UA",
Ae: "AE",
Gb: "GB",
Us: "US",
Um: "UM",
Uy: "UY",
Uz: "UZ",
Vu: "VU",
Ve: "VE",
Vn: "VN",
Vg: "VG",
Vi: "VI",
Wf: "WF",
Eh: "EH",
Ye: "YE",
Zm: "ZM",
Zw: "ZW",
Ax: "AX",
Bq: "BQ",
Cw: "CW",
Gg: "GG",
Im: "IM",
Je: "JE",
Me: "ME",
Bl: "BL",
Mf: "MF",
Rs: "RS",
Sx: "SX",
Ss: "SS",
Xk: "XK",
} as const;
/**
* The country to retrieve analytics for.
*/
export type GetTopURLsByClicksQueryParamCountry = ClosedEnum<
typeof GetTopURLsByClicksQueryParamCountry
>;
export type GetTopURLsByClicksRequest = {
/**
* The domain to filter analytics for.
@@ -319,7 +58,7 @@ export type GetTopURLsByClicksRequest = {
/**
* The country to retrieve analytics for.
*/
country?: GetTopURLsByClicksQueryParamCountry | undefined;
country?: components.CountryCode | undefined;
/**
* The city to retrieve analytics for.
*/
@@ -375,12 +114,6 @@ export namespace GetTopURLsByClicksQueryParamInterval$ {
export const outboundSchema = inboundSchema;
}
/** @internal */
export namespace GetTopURLsByClicksQueryParamCountry$ {
export const inboundSchema = z.nativeEnum(GetTopURLsByClicksQueryParamCountry);
export const outboundSchema = inboundSchema;
}
/** @internal */
export namespace GetTopURLsByClicksRequest$ {
export const inboundSchema: z.ZodType<GetTopURLsByClicksRequest, z.ZodTypeDef, unknown> = z
@@ -392,7 +125,7 @@ export namespace GetTopURLsByClicksRequest$ {
interval: GetTopURLsByClicksQueryParamInterval$.inboundSchema.default("24h"),
start: z.string().optional(),
end: z.string().optional(),
country: GetTopURLsByClicksQueryParamCountry$.inboundSchema.optional(),
country: components.CountryCode$.inboundSchema.optional(),
city: z.string().optional(),
device: z.string().optional(),
browser: z.string().optional(),
@@ -454,7 +187,7 @@ export namespace GetTopURLsByClicksRequest$ {
interval: GetTopURLsByClicksQueryParamInterval$.outboundSchema.default("24h"),
start: z.string().optional(),
end: z.string().optional(),
country: GetTopURLsByClicksQueryParamCountry$.outboundSchema.optional(),
country: components.CountryCode$.outboundSchema.optional(),
city: z.string().optional(),
device: z.string().optional(),
browser: z.string().optional(),

View File

@@ -3,6 +3,7 @@
*/
import { ClosedEnum } from "../../types";
import * as components from "../components";
import * as z from "zod";
/**
@@ -25,268 +26,6 @@ export type GetTopURLsByClicksDeprecatedQueryParamInterval = ClosedEnum<
typeof GetTopURLsByClicksDeprecatedQueryParamInterval
>;
/**
* The country to retrieve analytics for.
*/
export const GetTopURLsByClicksDeprecatedQueryParamCountry = {
Af: "AF",
Al: "AL",
Dz: "DZ",
As: "AS",
Ad: "AD",
Ao: "AO",
Ai: "AI",
Aq: "AQ",
Ag: "AG",
Ar: "AR",
Am: "AM",
Aw: "AW",
Au: "AU",
At: "AT",
Az: "AZ",
Bs: "BS",
Bh: "BH",
Bd: "BD",
Bb: "BB",
By: "BY",
Be: "BE",
Bz: "BZ",
Bj: "BJ",
Bm: "BM",
Bt: "BT",
Bo: "BO",
Ba: "BA",
Bw: "BW",
Bv: "BV",
Br: "BR",
Io: "IO",
Bn: "BN",
Bg: "BG",
Bf: "BF",
Bi: "BI",
Kh: "KH",
Cm: "CM",
Ca: "CA",
Cv: "CV",
Ky: "KY",
Cf: "CF",
Td: "TD",
Cl: "CL",
Cn: "CN",
Cx: "CX",
Cc: "CC",
Co: "CO",
Km: "KM",
Cg: "CG",
Cd: "CD",
Ck: "CK",
Cr: "CR",
Ci: "CI",
Hr: "HR",
Cu: "CU",
Cy: "CY",
Cz: "CZ",
Dk: "DK",
Dj: "DJ",
Dm: "DM",
Do: "DO",
Ec: "EC",
Eg: "EG",
Sv: "SV",
Gq: "GQ",
Er: "ER",
Ee: "EE",
Et: "ET",
Fk: "FK",
Fo: "FO",
Fj: "FJ",
Fi: "FI",
Fr: "FR",
Gf: "GF",
Pf: "PF",
Tf: "TF",
Ga: "GA",
Gm: "GM",
Ge: "GE",
De: "DE",
Gh: "GH",
Gi: "GI",
Gr: "GR",
Gl: "GL",
Gd: "GD",
Gp: "GP",
Gu: "GU",
Gt: "GT",
Gn: "GN",
Gw: "GW",
Gy: "GY",
Ht: "HT",
Hm: "HM",
Va: "VA",
Hn: "HN",
Hk: "HK",
Hu: "HU",
Is: "IS",
In: "IN",
Id: "ID",
Ir: "IR",
Iq: "IQ",
Ie: "IE",
Il: "IL",
It: "IT",
Jm: "JM",
Jp: "JP",
Jo: "JO",
Kz: "KZ",
Ke: "KE",
Ki: "KI",
Kp: "KP",
Kr: "KR",
Kw: "KW",
Kg: "KG",
La: "LA",
Lv: "LV",
Lb: "LB",
Ls: "LS",
Lr: "LR",
Ly: "LY",
Li: "LI",
Lt: "LT",
Lu: "LU",
Mo: "MO",
Mg: "MG",
Mw: "MW",
My: "MY",
Mv: "MV",
Ml: "ML",
Mt: "MT",
Mh: "MH",
Mq: "MQ",
Mr: "MR",
Mu: "MU",
Yt: "YT",
Mx: "MX",
Fm: "FM",
Md: "MD",
Mc: "MC",
Mn: "MN",
Ms: "MS",
Ma: "MA",
Mz: "MZ",
Mm: "MM",
Na: "NA",
Nr: "NR",
Np: "NP",
Nl: "NL",
Nc: "NC",
Nz: "NZ",
Ni: "NI",
Ne: "NE",
Ng: "NG",
Nu: "NU",
Nf: "NF",
Mk: "MK",
Mp: "MP",
No: "NO",
Om: "OM",
Pk: "PK",
Pw: "PW",
Ps: "PS",
Pa: "PA",
Pg: "PG",
Py: "PY",
Pe: "PE",
Ph: "PH",
Pn: "PN",
Pl: "PL",
Pt: "PT",
Pr: "PR",
Qa: "QA",
Re: "RE",
Ro: "RO",
Ru: "RU",
Rw: "RW",
Sh: "SH",
Kn: "KN",
Lc: "LC",
Pm: "PM",
Vc: "VC",
Ws: "WS",
Sm: "SM",
St: "ST",
Sa: "SA",
Sn: "SN",
Sc: "SC",
Sl: "SL",
Sg: "SG",
Sk: "SK",
Si: "SI",
Sb: "SB",
So: "SO",
Za: "ZA",
Gs: "GS",
Es: "ES",
Lk: "LK",
Sd: "SD",
Sr: "SR",
Sj: "SJ",
Sz: "SZ",
Se: "SE",
Ch: "CH",
Sy: "SY",
Tw: "TW",
Tj: "TJ",
Tz: "TZ",
Th: "TH",
Tl: "TL",
Tg: "TG",
Tk: "TK",
To: "TO",
Tt: "TT",
Tn: "TN",
Tr: "TR",
Tm: "TM",
Tc: "TC",
Tv: "TV",
Ug: "UG",
Ua: "UA",
Ae: "AE",
Gb: "GB",
Us: "US",
Um: "UM",
Uy: "UY",
Uz: "UZ",
Vu: "VU",
Ve: "VE",
Vn: "VN",
Vg: "VG",
Vi: "VI",
Wf: "WF",
Eh: "EH",
Ye: "YE",
Zm: "ZM",
Zw: "ZW",
Ax: "AX",
Bq: "BQ",
Cw: "CW",
Gg: "GG",
Im: "IM",
Je: "JE",
Me: "ME",
Bl: "BL",
Mf: "MF",
Rs: "RS",
Sx: "SX",
Ss: "SS",
Xk: "XK",
} as const;
/**
* The country to retrieve analytics for.
*/
export type GetTopURLsByClicksDeprecatedQueryParamCountry = ClosedEnum<
typeof GetTopURLsByClicksDeprecatedQueryParamCountry
>;
export type GetTopURLsByClicksDeprecatedRequest = {
/**
* The domain to filter analytics for.
@@ -319,7 +58,7 @@ export type GetTopURLsByClicksDeprecatedRequest = {
/**
* The country to retrieve analytics for.
*/
country?: GetTopURLsByClicksDeprecatedQueryParamCountry | undefined;
country?: components.CountryCode | undefined;
/**
* The city to retrieve analytics for.
*/
@@ -375,12 +114,6 @@ export namespace GetTopURLsByClicksDeprecatedQueryParamInterval$ {
export const outboundSchema = inboundSchema;
}
/** @internal */
export namespace GetTopURLsByClicksDeprecatedQueryParamCountry$ {
export const inboundSchema = z.nativeEnum(GetTopURLsByClicksDeprecatedQueryParamCountry);
export const outboundSchema = inboundSchema;
}
/** @internal */
export namespace GetTopURLsByClicksDeprecatedRequest$ {
export const inboundSchema: z.ZodType<
@@ -396,7 +129,7 @@ export namespace GetTopURLsByClicksDeprecatedRequest$ {
interval: GetTopURLsByClicksDeprecatedQueryParamInterval$.inboundSchema.default("24h"),
start: z.string().optional(),
end: z.string().optional(),
country: GetTopURLsByClicksDeprecatedQueryParamCountry$.inboundSchema.optional(),
country: components.CountryCode$.inboundSchema.optional(),
city: z.string().optional(),
device: z.string().optional(),
browser: z.string().optional(),
@@ -462,7 +195,7 @@ export namespace GetTopURLsByClicksDeprecatedRequest$ {
interval: GetTopURLsByClicksDeprecatedQueryParamInterval$.outboundSchema.default("24h"),
start: z.string().optional(),
end: z.string().optional(),
country: GetTopURLsByClicksDeprecatedQueryParamCountry$.outboundSchema.optional(),
country: components.CountryCode$.outboundSchema.optional(),
city: z.string().optional(),
device: z.string().optional(),
browser: z.string().optional(),

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@@ -8,6 +8,7 @@ import * as enc$ from "../lib/encodings";
import { HTTPClient } from "../lib/http";
import * as schemas$ from "../lib/schemas";
import { ClientSDK, RequestOptions } from "../lib/sdks";
import * as components from "../models/components";
import * as errors from "../models/errors";
import * as operations from "../models/operations";
import { Clicks } from "./clicks";
@@ -322,7 +323,7 @@ export class Analytics extends ClientSDK {
async country(
request?: operations.GetCountriesByClicksDeprecatedRequest | undefined,
options?: RequestOptions
): Promise<Array<operations.GetCountriesByClicksDeprecatedResponseBody>> {
): Promise<Array<components.ClicksByCountry>> {
const input$ = typeof request === "undefined" ? {} : request;
const headers$ = new Headers();
headers$.set("user-agent", SDK_METADATA.userAgent);
@@ -441,9 +442,7 @@ export class Analytics extends ClientSDK {
const result = schemas$.parse(
responseBody,
(val$) => {
return z
.array(operations.GetCountriesByClicksDeprecatedResponseBody$.inboundSchema)
.parse(val$);
return z.array(components.ClicksByCountry$.inboundSchema).parse(val$);
},
"Response validation failed"
);
@@ -586,7 +585,7 @@ export class Analytics extends ClientSDK {
async city(
request?: operations.GetCitiesByClicksDeprecatedRequest | undefined,
options?: RequestOptions
): Promise<Array<operations.GetCitiesByClicksDeprecatedResponseBody>> {
): Promise<Array<components.ClicksByCities>> {
const input$ = typeof request === "undefined" ? {} : request;
const headers$ = new Headers();
headers$.set("user-agent", SDK_METADATA.userAgent);
@@ -704,9 +703,7 @@ export class Analytics extends ClientSDK {
const result = schemas$.parse(
responseBody,
(val$) => {
return z
.array(operations.GetCitiesByClicksDeprecatedResponseBody$.inboundSchema)
.parse(val$);
return z.array(components.ClicksByCities$.inboundSchema).parse(val$);
},
"Response validation failed"
);

View File

@@ -8,6 +8,7 @@ import * as enc$ from "../lib/encodings";
import { HTTPClient } from "../lib/http";
import * as schemas$ from "../lib/schemas";
import { ClientSDK, RequestOptions } from "../lib/sdks";
import * as components from "../models/components";
import * as errors from "../models/errors";
import * as operations from "../models/operations";
import * as z from "zod";
@@ -566,7 +567,7 @@ export class Clicks extends ClientSDK {
async countries(
request?: operations.GetCountriesByClicksRequest | undefined,
options?: RequestOptions
): Promise<Array<operations.GetCountriesByClicksResponseBody>> {
): Promise<Array<components.ClicksByCountry>> {
const input$ = typeof request === "undefined" ? {} : request;
const headers$ = new Headers();
headers$.set("user-agent", SDK_METADATA.userAgent);
@@ -684,9 +685,7 @@ export class Clicks extends ClientSDK {
const result = schemas$.parse(
responseBody,
(val$) => {
return z
.array(operations.GetCountriesByClicksResponseBody$.inboundSchema)
.parse(val$);
return z.array(components.ClicksByCountry$.inboundSchema).parse(val$);
},
"Response validation failed"
);
@@ -827,7 +826,7 @@ export class Clicks extends ClientSDK {
async cities(
request?: operations.GetCitiesByClicksRequest | undefined,
options?: RequestOptions
): Promise<Array<operations.GetCitiesByClicksResponseBody>> {
): Promise<Array<components.ClicksByCities>> {
const input$ = typeof request === "undefined" ? {} : request;
const headers$ = new Headers();
headers$.set("user-agent", SDK_METADATA.userAgent);
@@ -945,9 +944,7 @@ export class Clicks extends ClientSDK {
const result = schemas$.parse(
responseBody,
(val$) => {
return z
.array(operations.GetCitiesByClicksResponseBody$.inboundSchema)
.parse(val$);
return z.array(components.ClicksByCities$.inboundSchema).parse(val$);
},
"Response validation failed"
);