geo21 ops

API de Geo

Regions, zones, geocoding, and reverse geocoding.

Consultas

CONSULTA

addressSearch

#

Argumentos

  • queryString!

    Search query (address, place name, or landmark)

  • countryCodeString

    Optional country code to limit search (ISO 3166-1 alpha-2)

  • limitInt

    Maximum number of results (default: 10)

  • bias

    Coordinates to bias result ranking toward (searcher's position)

  • languageString

    Language tag for localized result labels (e.g., "fa", "en")

Devuelve[!]!
CONSULTA

adminRegion

#

Get a single admin region by ID.

Argumentos

  • id!
Devuelve
CONSULTA

adminRegions

#

List administrative regions (states / provinces / admin1) with optional filtering.

Argumentos

  • input!

    Por defecto

    {
      "filter": null,
      "pagination": {
        "limit": 10,
        "page": 1,
        "after": null
      }
    }
Devuelve!
CONSULTA

adminTenantRegions

#

List the operational regions of a specific tenant (PlatformAdmin only). Mirrors tenantRegions but takes the target tenant from the argument instead of the request context, so platform admins can inspect a tenant they're not impersonating. Used by the admin tenant detail page.

Argumentos

  • tenantId!
  • input!

    Por defecto

    {
      "filter": null,
      "pagination": {
        "limit": 10,
        "page": 1,
        "after": null
      }
    }
Devuelve!
CONSULTA

getAddressDetails

#

Get detailed address information for form prefilling Retrieves comprehensive address components including: - Street name and number - Unit/apartment number - Building name - Neighborhood/district - City, region, postal code - Country code - Coordinates and geohash - Address types and verification level Either place_id OR both latitude and longitude must be provided.

Argumentos

  • input!
Devuelve!
CONSULTA

getCountry

#

Argumentos

  • codeString!

    Country code (ISO 3166-1 alpha-2)

Devuelve
CONSULTA

getCurrency

#

Argumentos

  • codeString!

    Currency code (ISO 4217)

Devuelve
CONSULTA

listCountries

#

Argumentos

  • searchString

    Optional search term to filter countries

Devuelve[!]!
CONSULTA

listCurrencies

#

Argumentos

  • kindString

    Optional filter by kind (FIAT or DIGITAL)

Devuelve[!]!
CONSULTA

reverseGeocode

#

Argumentos

  • coordinates!

    Coordinates

Devuelve!
CONSULTA

tenantRegion

#

Get a single tenant region by ID.

Argumentos

  • id!
Devuelve
CONSULTA

tenantRegions

#

List tenant regions with filtering and pagination.

Argumentos

  • input!

    Por defecto

    {
      "filter": null,
      "pagination": {
        "limit": 10,
        "page": 1,
        "after": null
      }
    }
Devuelve!
CONSULTA

zone

#

Get a single zone by ID

Argumentos

  • id!
Devuelve
CONSULTA

zones

#

List zones with filtering and pagination

Argumentos

  • input!

    Por defecto

    {
      "filter": null,
      "pagination": {
        "limit": 10,
        "page": 1,
        "after": null
      }
    }
Devuelve!

Mutaciones

MUTACIÓN

createTenantRegion

#

Create a new tenant region.

Argumentos

  • input!
Devuelve!
MUTACIÓN

createZone

#

Create a new zone

Argumentos

  • input!
Devuelve!
MUTACIÓN

deleteTenantRegion

#

Delete (deactivate) a tenant region.

Argumentos

  • id!
DevuelveBoolean!
MUTACIÓN

deleteZone

#

Delete (deactivate) a zone

Argumentos

  • id!
DevuelveBoolean!
MUTACIÓN

updateTenantRegion

#

Update an existing tenant region.

Argumentos

  • input!
Devuelve!
MUTACIÓN

updateZone

#

Update an existing zone

Argumentos

  • input!
Devuelve!
MUTACIÓN

updateZoneBoundaries

#

Update zone boundaries (polygon)

Argumentos

  • input!
Devuelve!