export type ClientOptions = { baseUrl: 'https://api.short.io' | (string & {}); }; export type GetLinkOpengraphData = { body?: never; path: { domainId: number; linkId: string; }; query?: never; url: '/links/opengraph/{domainId}/{linkId}'; }; export type GetLinkOpengraphResponses = { 200: unknown; }; export type UpdateLinkOpengraphData = { body?: Array<[ 'title' | 'type' | 'image' | 'url' | 'audio' | 'description' | 'determiner' | 'locale' | 'locale:alternate' | 'site_name' | 'video' | 'article:published_time' | 'article:modified_time' | 'article:expiration_time' | 'article:author' | 'article:section' | 'article:tag' | 'updated_time' | 'image:url' | 'image:secure_url' | 'image:type' | 'image:width' | 'image:height' | 'image:alt' | 'music:duration' | 'music:album' | 'music:album:disc' | 'music:album:track' | 'music:musician' | 'music:song' | 'music:song:disc' | 'music:song:track' | 'music:release_date' | 'music:creator' | 'video:actor' | 'video:actor:role' | 'video:director' | 'video:writer' | 'video:duration' | 'video:release_date' | 'video:tag' | 'video:series' | 'book:author' | 'book:isbn' | 'book:release_date' | 'book:tag' | 'product:price:amount' | 'product:price:currency' | 'product:availability' | 'product:condition' | 'product:retailer_item_id' | 'product:brand' | 'product:category' | 'product:color' | 'product:size' | 'product:material' | 'product:pattern' | 'product:shipping_cost:amount' | 'product:shipping_cost:currency' | 'product:shipping_weight:value' | 'product:shipping_weight:units' | 'product:weight:value' | 'product:weight:units' | 'product:sale_price:amount' | 'product:sale_price:currency' | 'product:sale_price_dates:start' | 'product:sale_price_dates:end' | 'product:expiration_time' | 'product:original_price:amount' | 'product:original_price:currency' | 'product:gender' | 'product:age_group' | 'product:target_gender' | 'product:retailer_part_no' | 'product:mfr_part_no' | 'product:upc' | 'product:ean' | 'product:isbn' | 'product:plural_title' | 'product:item_group_id' | 'profile:first_name' | 'profile:last_name' | 'profile:username' | 'profile:gender' | 'twitter:card' | 'twitter:site' | 'twitter:site:id' | 'twitter:creator' | 'twitter:creator:id' | 'twitter:description' | 'twitter:title' | 'twitter:image' | 'twitter:image:alt' | 'twitter:player' | 'twitter:player:width' | 'twitter:player:height' | 'twitter:player:stream' | 'twitter:app:name:iphone' | 'twitter:app:id:iphone' | 'twitter:app:url:iphone' | 'twitter:app:name:ipad' | 'twitter:app:id:ipad' | 'twitter:app:url:ipad' | 'twitter:app:name:googleplay' | 'twitter:app:id:googleplay' | 'twitter:app:url:googleplay' | 'twitter:app:country', string ]>; path: { domainId: number; linkId: string; }; query?: never; url: '/links/opengraph/{domainId}/{linkId}'; }; export type UpdateLinkOpengraphResponses = { 200: unknown; }; export type GetLinkCountriesData = { body?: never; path: { linkId: string; }; query?: { domainId?: string; }; url: '/link_country/{linkId}'; }; export type GetLinkCountriesResponses = { 200: unknown; }; export type CreateLinkCountryData = { body: { country: 'AD' | 'AE' | 'AF' | 'AG' | 'AI' | 'AL' | 'AM' | 'AO' | 'AQ' | 'AR' | 'AS' | 'AT' | 'AU' | 'AW' | 'AX' | 'AZ' | 'BA' | 'BB' | 'BD' | 'BE' | 'BF' | 'BG' | 'BH' | 'BI' | 'BJ' | 'BL' | 'BM' | 'BN' | 'BO' | 'BQ' | 'BR' | 'BS' | 'BT' | 'BV' | 'BW' | 'BY' | 'BZ' | 'CA' | 'CC' | 'CD' | 'CF' | 'CG' | 'CH' | 'CI' | 'CK' | 'CL' | 'CM' | 'CN' | 'CO' | 'CR' | 'CU' | 'CV' | 'CW' | 'CX' | 'CY' | 'CZ' | 'DE' | 'DJ' | 'DK' | 'DM' | 'DO' | 'DZ' | 'EC' | 'EE' | 'EG' | 'EH' | 'ER' | 'ES' | 'ET' | 'FI' | 'FJ' | 'FK' | 'FM' | 'FO' | 'FR' | 'GA' | 'GB' | 'GD' | 'GE' | 'GF' | 'GG' | 'GH' | 'GI' | 'GL' | 'GM' | 'GN' | 'GP' | 'GQ' | 'GR' | 'GS' | 'GT' | 'GU' | 'GW' | 'GY' | 'HK' | 'HM' | 'HN' | 'HR' | 'HT' | 'HU' | 'ID' | 'IE' | 'IL' | 'IM' | 'IN' | 'IO' | 'IQ' | 'IR' | 'IS' | 'IT' | 'JE' | 'JM' | 'JO' | 'JP' | 'KE' | 'KG' | 'KH' | 'KI' | 'KM' | 'KN' | 'KP' | 'KR' | 'KW' | 'KY' | 'KZ' | 'LA' | 'LB' | 'LC' | 'LI' | 'LK' | 'LR' | 'LS' | 'LT' | 'LU' | 'LV' | 'LY' | 'MA' | 'MC' | 'MD' | 'ME' | 'MF' | 'MG' | 'MH' | 'MK' | 'ML' | 'MM' | 'MN' | 'MO' | 'MP' | 'MQ' | 'MR' | 'MS' | 'MT' | 'MU' | 'MV' | 'MW' | 'MX' | 'MY' | 'MZ' | 'NA' | 'NC' | 'NE' | 'NF' | 'NG' | 'NI' | 'NL' | 'NO' | 'NP' | 'NR' | 'NU' | 'NZ' | 'OM' | 'PA' | 'PE' | 'PF' | 'PG' | 'PH' | 'PK' | 'PL' | 'PM' | 'PN' | 'PR' | 'PS' | 'PT' | 'PW' | 'PY' | 'QA' | 'RE' | 'RO' | 'RS' | 'RU' | 'RW' | 'SA' | 'SB' | 'SC' | 'SD' | 'SE' | 'SG' | 'SH' | 'SI' | 'SJ' | 'SK' | 'SL' | 'SM' | 'SN' | 'SO' | 'SR' | 'SS' | 'ST' | 'SV' | 'SX' | 'SY' | 'SZ' | 'TC' | 'TD' | 'TF' | 'TG' | 'TH' | 'TJ' | 'TK' | 'TL' | 'TM' | 'TN' | 'TO' | 'TR' | 'TT' | 'TV' | 'TW' | 'TZ' | 'UA' | 'UG' | 'UM' | 'US' | 'UY' | 'UZ' | 'VA' | 'VC' | 'VE' | 'VG' | 'VI' | 'VN' | 'VU' | 'WF' | 'WS' | 'YE' | 'YT' | 'ZA' | 'ZM' | 'ZW' | 'EU' | 'QF' | 'QS' | 'QE' | 'QO' | 'QN' | 'QT' | 'XK'; originalURL: string; }; path: { linkId: string; }; query?: { domainId?: string; }; url: '/link_country/{linkId}'; }; export type CreateLinkCountryResponses = { 200: unknown; }; export type CreateLinkCountriesBulkData = { body?: Array<{ country: 'AD' | 'AE' | 'AF' | 'AG' | 'AI' | 'AL' | 'AM' | 'AO' | 'AQ' | 'AR' | 'AS' | 'AT' | 'AU' | 'AW' | 'AX' | 'AZ' | 'BA' | 'BB' | 'BD' | 'BE' | 'BF' | 'BG' | 'BH' | 'BI' | 'BJ' | 'BL' | 'BM' | 'BN' | 'BO' | 'BQ' | 'BR' | 'BS' | 'BT' | 'BV' | 'BW' | 'BY' | 'BZ' | 'CA' | 'CC' | 'CD' | 'CF' | 'CG' | 'CH' | 'CI' | 'CK' | 'CL' | 'CM' | 'CN' | 'CO' | 'CR' | 'CU' | 'CV' | 'CW' | 'CX' | 'CY' | 'CZ' | 'DE' | 'DJ' | 'DK' | 'DM' | 'DO' | 'DZ' | 'EC' | 'EE' | 'EG' | 'EH' | 'ER' | 'ES' | 'ET' | 'FI' | 'FJ' | 'FK' | 'FM' | 'FO' | 'FR' | 'GA' | 'GB' | 'GD' | 'GE' | 'GF' | 'GG' | 'GH' | 'GI' | 'GL' | 'GM' | 'GN' | 'GP' | 'GQ' | 'GR' | 'GS' | 'GT' | 'GU' | 'GW' | 'GY' | 'HK' | 'HM' | 'HN' | 'HR' | 'HT' | 'HU' | 'ID' | 'IE' | 'IL' | 'IM' | 'IN' | 'IO' | 'IQ' | 'IR' | 'IS' | 'IT' | 'JE' | 'JM' | 'JO' | 'JP' | 'KE' | 'KG' | 'KH' | 'KI' | 'KM' | 'KN' | 'KP' | 'KR' | 'KW' | 'KY' | 'KZ' | 'LA' | 'LB' | 'LC' | 'LI' | 'LK' | 'LR' | 'LS' | 'LT' | 'LU' | 'LV' | 'LY' | 'MA' | 'MC' | 'MD' | 'ME' | 'MF' | 'MG' | 'MH' | 'MK' | 'ML' | 'MM' | 'MN' | 'MO' | 'MP' | 'MQ' | 'MR' | 'MS' | 'MT' | 'MU' | 'MV' | 'MW' | 'MX' | 'MY' | 'MZ' | 'NA' | 'NC' | 'NE' | 'NF' | 'NG' | 'NI' | 'NL' | 'NO' | 'NP' | 'NR' | 'NU' | 'NZ' | 'OM' | 'PA' | 'PE' | 'PF' | 'PG' | 'PH' | 'PK' | 'PL' | 'PM' | 'PN' | 'PR' | 'PS' | 'PT' | 'PW' | 'PY' | 'QA' | 'RE' | 'RO' | 'RS' | 'RU' | 'RW' | 'SA' | 'SB' | 'SC' | 'SD' | 'SE' | 'SG' | 'SH' | 'SI' | 'SJ' | 'SK' | 'SL' | 'SM' | 'SN' | 'SO' | 'SR' | 'SS' | 'ST' | 'SV' | 'SX' | 'SY' | 'SZ' | 'TC' | 'TD' | 'TF' | 'TG' | 'TH' | 'TJ' | 'TK' | 'TL' | 'TM' | 'TN' | 'TO' | 'TR' | 'TT' | 'TV' | 'TW' | 'TZ' | 'UA' | 'UG' | 'UM' | 'US' | 'UY' | 'UZ' | 'VA' | 'VC' | 'VE' | 'VG' | 'VI' | 'VN' | 'VU' | 'WF' | 'WS' | 'YE' | 'YT' | 'ZA' | 'ZM' | 'ZW' | 'EU' | 'QF' | 'QS' | 'QE' | 'QO' | 'QN' | 'QT' | 'XK'; originalURL: string; }>; path: { linkId: string; }; query?: { domainId?: string; }; url: '/link_country/bulk/{linkId}'; }; export type CreateLinkCountriesBulkResponses = { 200: unknown; }; export type DeleteLinkCountryData = { body?: never; path: { linkId: string; country: 'AD' | 'AE' | 'AF' | 'AG' | 'AI' | 'AL' | 'AM' | 'AO' | 'AQ' | 'AR' | 'AS' | 'AT' | 'AU' | 'AW' | 'AX' | 'AZ' | 'BA' | 'BB' | 'BD' | 'BE' | 'BF' | 'BG' | 'BH' | 'BI' | 'BJ' | 'BL' | 'BM' | 'BN' | 'BO' | 'BQ' | 'BR' | 'BS' | 'BT' | 'BV' | 'BW' | 'BY' | 'BZ' | 'CA' | 'CC' | 'CD' | 'CF' | 'CG' | 'CH' | 'CI' | 'CK' | 'CL' | 'CM' | 'CN' | 'CO' | 'CR' | 'CU' | 'CV' | 'CW' | 'CX' | 'CY' | 'CZ' | 'DE' | 'DJ' | 'DK' | 'DM' | 'DO' | 'DZ' | 'EC' | 'EE' | 'EG' | 'EH' | 'ER' | 'ES' | 'ET' | 'FI' | 'FJ' | 'FK' | 'FM' | 'FO' | 'FR' | 'GA' | 'GB' | 'GD' | 'GE' | 'GF' | 'GG' | 'GH' | 'GI' | 'GL' | 'GM' | 'GN' | 'GP' | 'GQ' | 'GR' | 'GS' | 'GT' | 'GU' | 'GW' | 'GY' | 'HK' | 'HM' | 'HN' | 'HR' | 'HT' | 'HU' | 'ID' | 'IE' | 'IL' | 'IM' | 'IN' | 'IO' | 'IQ' | 'IR' | 'IS' | 'IT' | 'JE' | 'JM' | 'JO' | 'JP' | 'KE' | 'KG' | 'KH' | 'KI' | 'KM' | 'KN' | 'KP' | 'KR' | 'KW' | 'KY' | 'KZ' | 'LA' | 'LB' | 'LC' | 'LI' | 'LK' | 'LR' | 'LS' | 'LT' | 'LU' | 'LV' | 'LY' | 'MA' | 'MC' | 'MD' | 'ME' | 'MF' | 'MG' | 'MH' | 'MK' | 'ML' | 'MM' | 'MN' | 'MO' | 'MP' | 'MQ' | 'MR' | 'MS' | 'MT' | 'MU' | 'MV' | 'MW' | 'MX' | 'MY' | 'MZ' | 'NA' | 'NC' | 'NE' | 'NF' | 'NG' | 'NI' | 'NL' | 'NO' | 'NP' | 'NR' | 'NU' | 'NZ' | 'OM' | 'PA' | 'PE' | 'PF' | 'PG' | 'PH' | 'PK' | 'PL' | 'PM' | 'PN' | 'PR' | 'PS' | 'PT' | 'PW' | 'PY' | 'QA' | 'RE' | 'RO' | 'RS' | 'RU' | 'RW' | 'SA' | 'SB' | 'SC' | 'SD' | 'SE' | 'SG' | 'SH' | 'SI' | 'SJ' | 'SK' | 'SL' | 'SM' | 'SN' | 'SO' | 'SR' | 'SS' | 'ST' | 'SV' | 'SX' | 'SY' | 'SZ' | 'TC' | 'TD' | 'TF' | 'TG' | 'TH' | 'TJ' | 'TK' | 'TL' | 'TM' | 'TN' | 'TO' | 'TR' | 'TT' | 'TV' | 'TW' | 'TZ' | 'UA' | 'UG' | 'UM' | 'US' | 'UY' | 'UZ' | 'VA' | 'VC' | 'VE' | 'VG' | 'VI' | 'VN' | 'VU' | 'WF' | 'WS' | 'YE' | 'YT' | 'ZA' | 'ZM' | 'ZW' | 'EU' | 'QF' | 'QS' | 'QE' | 'QO' | 'QN' | 'QT' | 'XK'; }; query?: { domainId?: string; }; url: '/link_country/{linkId}/{country}'; }; export type DeleteLinkCountryResponses = { 200: unknown; }; export type GetLinkRegionsData = { body?: never; path: { linkId: string; }; query?: { domainId?: string; }; url: '/link_region/{linkId}'; }; export type GetLinkRegionsResponses = { 200: unknown; }; export type CreateLinkRegionData = { body: { country: 'AD' | 'AE' | 'AF' | 'AG' | 'AI' | 'AL' | 'AM' | 'AO' | 'AQ' | 'AR' | 'AS' | 'AT' | 'AU' | 'AW' | 'AX' | 'AZ' | 'BA' | 'BB' | 'BD' | 'BE' | 'BF' | 'BG' | 'BH' | 'BI' | 'BJ' | 'BL' | 'BM' | 'BN' | 'BO' | 'BQ' | 'BR' | 'BS' | 'BT' | 'BV' | 'BW' | 'BY' | 'BZ' | 'CA' | 'CC' | 'CD' | 'CF' | 'CG' | 'CH' | 'CI' | 'CK' | 'CL' | 'CM' | 'CN' | 'CO' | 'CR' | 'CU' | 'CV' | 'CW' | 'CX' | 'CY' | 'CZ' | 'DE' | 'DJ' | 'DK' | 'DM' | 'DO' | 'DZ' | 'EC' | 'EE' | 'EG' | 'EH' | 'ER' | 'ES' | 'ET' | 'FI' | 'FJ' | 'FK' | 'FM' | 'FO' | 'FR' | 'GA' | 'GB' | 'GD' | 'GE' | 'GF' | 'GG' | 'GH' | 'GI' | 'GL' | 'GM' | 'GN' | 'GP' | 'GQ' | 'GR' | 'GS' | 'GT' | 'GU' | 'GW' | 'GY' | 'HK' | 'HM' | 'HN' | 'HR' | 'HT' | 'HU' | 'ID' | 'IE' | 'IL' | 'IM' | 'IN' | 'IO' | 'IQ' | 'IR' | 'IS' | 'IT' | 'JE' | 'JM' | 'JO' | 'JP' | 'KE' | 'KG' | 'KH' | 'KI' | 'KM' | 'KN' | 'KP' | 'KR' | 'KW' | 'KY' | 'KZ' | 'LA' | 'LB' | 'LC' | 'LI' | 'LK' | 'LR' | 'LS' | 'LT' | 'LU' | 'LV' | 'LY' | 'MA' | 'MC' | 'MD' | 'ME' | 'MF' | 'MG' | 'MH' | 'MK' | 'ML' | 'MM' | 'MN' | 'MO' | 'MP' | 'MQ' | 'MR' | 'MS' | 'MT' | 'MU' | 'MV' | 'MW' | 'MX' | 'MY' | 'MZ' | 'NA' | 'NC' | 'NE' | 'NF' | 'NG' | 'NI' | 'NL' | 'NO' | 'NP' | 'NR' | 'NU' | 'NZ' | 'OM' | 'PA' | 'PE' | 'PF' | 'PG' | 'PH' | 'PK' | 'PL' | 'PM' | 'PN' | 'PR' | 'PS' | 'PT' | 'PW' | 'PY' | 'QA' | 'RE' | 'RO' | 'RS' | 'RU' | 'RW' | 'SA' | 'SB' | 'SC' | 'SD' | 'SE' | 'SG' | 'SH' | 'SI' | 'SJ' | 'SK' | 'SL' | 'SM' | 'SN' | 'SO' | 'SR' | 'SS' | 'ST' | 'SV' | 'SX' | 'SY' | 'SZ' | 'TC' | 'TD' | 'TF' | 'TG' | 'TH' | 'TJ' | 'TK' | 'TL' | 'TM' | 'TN' | 'TO' | 'TR' | 'TT' | 'TV' | 'TW' | 'TZ' | 'UA' | 'UG' | 'UM' | 'US' | 'UY' | 'UZ' | 'VA' | 'VC' | 'VE' | 'VG' | 'VI' | 'VN' | 'VU' | 'WF' | 'WS' | 'YE' | 'YT' | 'ZA' | 'ZM' | 'ZW' | 'EU' | 'QF' | 'QS' | 'QE' | 'QO' | 'QN' | 'QT' | 'XK'; region: string; originalURL: string; }; path: { linkId: string; }; query?: { domainId?: number; }; url: '/link_region/{linkId}'; }; export type CreateLinkRegionResponses = { 200: unknown; }; export type GetRegionsByCountryData = { body?: never; path: { country: 'AD' | 'AE' | 'AF' | 'AG' | 'AI' | 'AL' | 'AM' | 'AO' | 'AQ' | 'AR' | 'AS' | 'AT' | 'AU' | 'AW' | 'AX' | 'AZ' | 'BA' | 'BB' | 'BD' | 'BE' | 'BF' | 'BG' | 'BH' | 'BI' | 'BJ' | 'BL' | 'BM' | 'BN' | 'BO' | 'BQ' | 'BR' | 'BS' | 'BT' | 'BV' | 'BW' | 'BY' | 'BZ' | 'CA' | 'CC' | 'CD' | 'CF' | 'CG' | 'CH' | 'CI' | 'CK' | 'CL' | 'CM' | 'CN' | 'CO' | 'CR' | 'CU' | 'CV' | 'CW' | 'CX' | 'CY' | 'CZ' | 'DE' | 'DJ' | 'DK' | 'DM' | 'DO' | 'DZ' | 'EC' | 'EE' | 'EG' | 'EH' | 'ER' | 'ES' | 'ET' | 'FI' | 'FJ' | 'FK' | 'FM' | 'FO' | 'FR' | 'GA' | 'GB' | 'GD' | 'GE' | 'GF' | 'GG' | 'GH' | 'GI' | 'GL' | 'GM' | 'GN' | 'GP' | 'GQ' | 'GR' | 'GS' | 'GT' | 'GU' | 'GW' | 'GY' | 'HK' | 'HM' | 'HN' | 'HR' | 'HT' | 'HU' | 'ID' | 'IE' | 'IL' | 'IM' | 'IN' | 'IO' | 'IQ' | 'IR' | 'IS' | 'IT' | 'JE' | 'JM' | 'JO' | 'JP' | 'KE' | 'KG' | 'KH' | 'KI' | 'KM' | 'KN' | 'KP' | 'KR' | 'KW' | 'KY' | 'KZ' | 'LA' | 'LB' | 'LC' | 'LI' | 'LK' | 'LR' | 'LS' | 'LT' | 'LU' | 'LV' | 'LY' | 'MA' | 'MC' | 'MD' | 'ME' | 'MF' | 'MG' | 'MH' | 'MK' | 'ML' | 'MM' | 'MN' | 'MO' | 'MP' | 'MQ' | 'MR' | 'MS' | 'MT' | 'MU' | 'MV' | 'MW' | 'MX' | 'MY' | 'MZ' | 'NA' | 'NC' | 'NE' | 'NF' | 'NG' | 'NI' | 'NL' | 'NO' | 'NP' | 'NR' | 'NU' | 'NZ' | 'OM' | 'PA' | 'PE' | 'PF' | 'PG' | 'PH' | 'PK' | 'PL' | 'PM' | 'PN' | 'PR' | 'PS' | 'PT' | 'PW' | 'PY' | 'QA' | 'RE' | 'RO' | 'RS' | 'RU' | 'RW' | 'SA' | 'SB' | 'SC' | 'SD' | 'SE' | 'SG' | 'SH' | 'SI' | 'SJ' | 'SK' | 'SL' | 'SM' | 'SN' | 'SO' | 'SR' | 'SS' | 'ST' | 'SV' | 'SX' | 'SY' | 'SZ' | 'TC' | 'TD' | 'TF' | 'TG' | 'TH' | 'TJ' | 'TK' | 'TL' | 'TM' | 'TN' | 'TO' | 'TR' | 'TT' | 'TV' | 'TW' | 'TZ' | 'UA' | 'UG' | 'UM' | 'US' | 'UY' | 'UZ' | 'VA' | 'VC' | 'VE' | 'VG' | 'VI' | 'VN' | 'VU' | 'WF' | 'WS' | 'YE' | 'YT' | 'ZA' | 'ZM' | 'ZW' | 'EU' | 'QF' | 'QS' | 'QE' | 'QO' | 'QN' | 'QT' | 'XK'; }; query?: never; url: '/link_region/list/{country}'; }; export type GetRegionsByCountryResponses = { 200: unknown; }; export type CreateLinkRegionsBulkData = { body?: Array<{ country: 'AD' | 'AE' | 'AF' | 'AG' | 'AI' | 'AL' | 'AM' | 'AO' | 'AQ' | 'AR' | 'AS' | 'AT' | 'AU' | 'AW' | 'AX' | 'AZ' | 'BA' | 'BB' | 'BD' | 'BE' | 'BF' | 'BG' | 'BH' | 'BI' | 'BJ' | 'BL' | 'BM' | 'BN' | 'BO' | 'BQ' | 'BR' | 'BS' | 'BT' | 'BV' | 'BW' | 'BY' | 'BZ' | 'CA' | 'CC' | 'CD' | 'CF' | 'CG' | 'CH' | 'CI' | 'CK' | 'CL' | 'CM' | 'CN' | 'CO' | 'CR' | 'CU' | 'CV' | 'CW' | 'CX' | 'CY' | 'CZ' | 'DE' | 'DJ' | 'DK' | 'DM' | 'DO' | 'DZ' | 'EC' | 'EE' | 'EG' | 'EH' | 'ER' | 'ES' | 'ET' | 'FI' | 'FJ' | 'FK' | 'FM' | 'FO' | 'FR' | 'GA' | 'GB' | 'GD' | 'GE' | 'GF' | 'GG' | 'GH' | 'GI' | 'GL' | 'GM' | 'GN' | 'GP' | 'GQ' | 'GR' | 'GS' | 'GT' | 'GU' | 'GW' | 'GY' | 'HK' | 'HM' | 'HN' | 'HR' | 'HT' | 'HU' | 'ID' | 'IE' | 'IL' | 'IM' | 'IN' | 'IO' | 'IQ' | 'IR' | 'IS' | 'IT' | 'JE' | 'JM' | 'JO' | 'JP' | 'KE' | 'KG' | 'KH' | 'KI' | 'KM' | 'KN' | 'KP' | 'KR' | 'KW' | 'KY' | 'KZ' | 'LA' | 'LB' | 'LC' | 'LI' | 'LK' | 'LR' | 'LS' | 'LT' | 'LU' | 'LV' | 'LY' | 'MA' | 'MC' | 'MD' | 'ME' | 'MF' | 'MG' | 'MH' | 'MK' | 'ML' | 'MM' | 'MN' | 'MO' | 'MP' | 'MQ' | 'MR' | 'MS' | 'MT' | 'MU' | 'MV' | 'MW' | 'MX' | 'MY' | 'MZ' | 'NA' | 'NC' | 'NE' | 'NF' | 'NG' | 'NI' | 'NL' | 'NO' | 'NP' | 'NR' | 'NU' | 'NZ' | 'OM' | 'PA' | 'PE' | 'PF' | 'PG' | 'PH' | 'PK' | 'PL' | 'PM' | 'PN' | 'PR' | 'PS' | 'PT' | 'PW' | 'PY' | 'QA' | 'RE' | 'RO' | 'RS' | 'RU' | 'RW' | 'SA' | 'SB' | 'SC' | 'SD' | 'SE' | 'SG' | 'SH' | 'SI' | 'SJ' | 'SK' | 'SL' | 'SM' | 'SN' | 'SO' | 'SR' | 'SS' | 'ST' | 'SV' | 'SX' | 'SY' | 'SZ' | 'TC' | 'TD' | 'TF' | 'TG' | 'TH' | 'TJ' | 'TK' | 'TL' | 'TM' | 'TN' | 'TO' | 'TR' | 'TT' | 'TV' | 'TW' | 'TZ' | 'UA' | 'UG' | 'UM' | 'US' | 'UY' | 'UZ' | 'VA' | 'VC' | 'VE' | 'VG' | 'VI' | 'VN' | 'VU' | 'WF' | 'WS' | 'YE' | 'YT' | 'ZA' | 'ZM' | 'ZW' | 'EU' | 'QF' | 'QS' | 'QE' | 'QO' | 'QN' | 'QT' | 'XK'; region: string; originalURL: string; }>; path: { linkId: string; }; query?: { domainId?: number; }; url: '/link_region/bulk/{linkId}'; }; export type CreateLinkRegionsBulkResponses = { 200: unknown; }; export type DeleteLinkRegionData = { body?: never; path: { linkId: string; country: 'AD' | 'AE' | 'AF' | 'AG' | 'AI' | 'AL' | 'AM' | 'AO' | 'AQ' | 'AR' | 'AS' | 'AT' | 'AU' | 'AW' | 'AX' | 'AZ' | 'BA' | 'BB' | 'BD' | 'BE' | 'BF' | 'BG' | 'BH' | 'BI' | 'BJ' | 'BL' | 'BM' | 'BN' | 'BO' | 'BQ' | 'BR' | 'BS' | 'BT' | 'BV' | 'BW' | 'BY' | 'BZ' | 'CA' | 'CC' | 'CD' | 'CF' | 'CG' | 'CH' | 'CI' | 'CK' | 'CL' | 'CM' | 'CN' | 'CO' | 'CR' | 'CU' | 'CV' | 'CW' | 'CX' | 'CY' | 'CZ' | 'DE' | 'DJ' | 'DK' | 'DM' | 'DO' | 'DZ' | 'EC' | 'EE' | 'EG' | 'EH' | 'ER' | 'ES' | 'ET' | 'FI' | 'FJ' | 'FK' | 'FM' | 'FO' | 'FR' | 'GA' | 'GB' | 'GD' | 'GE' | 'GF' | 'GG' | 'GH' | 'GI' | 'GL' | 'GM' | 'GN' | 'GP' | 'GQ' | 'GR' | 'GS' | 'GT' | 'GU' | 'GW' | 'GY' | 'HK' | 'HM' | 'HN' | 'HR' | 'HT' | 'HU' | 'ID' | 'IE' | 'IL' | 'IM' | 'IN' | 'IO' | 'IQ' | 'IR' | 'IS' | 'IT' | 'JE' | 'JM' | 'JO' | 'JP' | 'KE' | 'KG' | 'KH' | 'KI' | 'KM' | 'KN' | 'KP' | 'KR' | 'KW' | 'KY' | 'KZ' | 'LA' | 'LB' | 'LC' | 'LI' | 'LK' | 'LR' | 'LS' | 'LT' | 'LU' | 'LV' | 'LY' | 'MA' | 'MC' | 'MD' | 'ME' | 'MF' | 'MG' | 'MH' | 'MK' | 'ML' | 'MM' | 'MN' | 'MO' | 'MP' | 'MQ' | 'MR' | 'MS' | 'MT' | 'MU' | 'MV' | 'MW' | 'MX' | 'MY' | 'MZ' | 'NA' | 'NC' | 'NE' | 'NF' | 'NG' | 'NI' | 'NL' | 'NO' | 'NP' | 'NR' | 'NU' | 'NZ' | 'OM' | 'PA' | 'PE' | 'PF' | 'PG' | 'PH' | 'PK' | 'PL' | 'PM' | 'PN' | 'PR' | 'PS' | 'PT' | 'PW' | 'PY' | 'QA' | 'RE' | 'RO' | 'RS' | 'RU' | 'RW' | 'SA' | 'SB' | 'SC' | 'SD' | 'SE' | 'SG' | 'SH' | 'SI' | 'SJ' | 'SK' | 'SL' | 'SM' | 'SN' | 'SO' | 'SR' | 'SS' | 'ST' | 'SV' | 'SX' | 'SY' | 'SZ' | 'TC' | 'TD' | 'TF' | 'TG' | 'TH' | 'TJ' | 'TK' | 'TL' | 'TM' | 'TN' | 'TO' | 'TR' | 'TT' | 'TV' | 'TW' | 'TZ' | 'UA' | 'UG' | 'UM' | 'US' | 'UY' | 'UZ' | 'VA' | 'VC' | 'VE' | 'VG' | 'VI' | 'VN' | 'VU' | 'WF' | 'WS' | 'YE' | 'YT' | 'ZA' | 'ZM' | 'ZW' | 'EU' | 'QF' | 'QS' | 'QE' | 'QO' | 'QN' | 'QT' | 'XK'; region: string; }; query?: { domainId?: string; }; url: '/link_region/{linkId}/{country}/{region}'; }; export type DeleteLinkRegionResponses = { 200: unknown; }; export type GetLinkPermissionsData = { body?: never; path: { domainId: string; linkId: string; }; query?: never; url: '/links/permissions/{domainId}/{linkId}'; }; export type GetLinkPermissionsErrors = { 403: { error: string; }; 404: { error: string; }; }; export type GetLinkPermissionsError = GetLinkPermissionsErrors[keyof GetLinkPermissionsErrors]; export type GetLinkPermissionsResponses = { 200: Array<{ id: string; DomainId: number; UserId: number; LinkIdString: string; }>; }; export type GetLinkPermissionsResponse = GetLinkPermissionsResponses[keyof GetLinkPermissionsResponses]; export type DeleteLinkPermissionData = { body?: never; path: { domainId: number; linkId: string; userId: string; }; query?: never; url: '/links/permissions/{domainId}/{linkId}/{userId}'; }; export type DeleteLinkPermissionErrors = { 402: { error: string; }; 403: { error: string; }; 404: { error: string; }; }; export type DeleteLinkPermissionError = DeleteLinkPermissionErrors[keyof DeleteLinkPermissionErrors]; export type DeleteLinkPermissionResponses = { 201: { success: boolean; }; }; export type DeleteLinkPermissionResponse = DeleteLinkPermissionResponses[keyof DeleteLinkPermissionResponses]; export type AddLinkPermissionData = { body?: never; path: { domainId: string; linkId: string; userId: string; }; query?: never; url: '/links/permissions/{domainId}/{linkId}/{userId}'; }; export type AddLinkPermissionErrors = { 400: { error: string; }; 402: { error: string; }; 403: { error: string; }; 404: { error: string; }; }; export type AddLinkPermissionError = AddLinkPermissionErrors[keyof AddLinkPermissionErrors]; export type AddLinkPermissionResponses = { 201: { id: string; DomainId: number; UserId: number; LinkIdString: string; }; }; export type AddLinkPermissionResponse = AddLinkPermissionResponses[keyof AddLinkPermissionResponses]; export type ListLinksData = { body?: never; headers?: { 'x-vercel-id'?: string; }; path?: never; query: { domain_id: number; limit?: number; idString?: string; createdAt?: string; beforeDate?: string; afterDate?: string; dateSortOrder?: 'asc' | 'desc'; pageToken?: string; folderId?: string; }; url: '/api/links'; }; export type ListLinksErrors = { 402: { error: string; }; 403: { error: string; }; 404: { error: string; }; }; export type ListLinksError = ListLinksErrors[keyof ListLinksErrors]; export type ListLinksResponses = { 200: { count: number; links: Array<{ originalURL: string; cloaking?: boolean; password?: string; expiresAt?: number | string; expiredURL?: string; title?: string; tags?: Array; utmSource?: string; utmMedium?: string; utmCampaign?: string; utmTerm?: string; utmContent?: string; ttl?: string | number; path?: string; androidURL?: string; iphoneURL?: string; createdAt?: number | string; clicksLimit?: number; passwordContact?: boolean; skipQS?: boolean; archived?: boolean; splitURL?: string; splitPercent?: number; integrationAdroll?: string; integrationFB?: string; integrationTT?: string; integrationGA?: string; integrationGTM?: string; } & { idString: string; id: string; shortURL: string; secureShortURL: string; path: string; redirectType?: '301' | '302' | '307' | '308'; FolderId?: string; DomainId?: number; OwnerId?: number; hasPassword?: boolean; source?: 'website' | 'api' | 'public' | 'spreadsheets' | 'slack' | 'telegram' | ''; User?: { id: number; name: string; email: string; photoURL: string; }; }>; nextPageToken?: string; }; }; export type ListLinksResponse = ListLinksResponses[keyof ListLinksResponses]; export type GenerateQrCodeData = { body: { color?: string; backgroundColor?: string; size?: number; type?: 'png' | 'svg'; useDomainSettings: boolean; }; headers?: { accept?: string; }; path: { linkIdString: string; }; query?: never; url: '/links/qr/{linkIdString}'; }; export type GenerateQrCodeResponses = { 200: unknown; }; export type GenerateQrCodesBulkData = { body: { color?: string; backgroundColor?: string; size?: number; type: 'png' | 'svg'; useDomainSettings: boolean; noExcavate?: boolean; linkIds: Array; domainId?: string; }; path?: never; query?: never; url: '/links/qr/bulk'; }; export type GenerateQrCodesBulkResponses = { 201: unknown; }; export type DeleteLinkData = { body?: never; path: { link_id: string; }; query?: never; url: '/links/{link_id}'; }; export type DeleteLinkErrors = { 400: { success: boolean; error: string; }; 401: { success: boolean; error: string; }; 402: { success: boolean; error: string; }; 403: { success: boolean; error: string; }; 404: { success: boolean; error: string; }; 409: { success: boolean; error: string; }; 500: { success: boolean; error: string; }; }; export type DeleteLinkError = DeleteLinkErrors[keyof DeleteLinkErrors]; export type DeleteLinkResponses = { 200: { success: boolean; idString?: string; error?: string; }; }; export type DeleteLinkResponse = DeleteLinkResponses[keyof DeleteLinkResponses]; export type DeleteLinksBulkData = { body: { link_ids: Array; }; path?: never; query?: never; url: '/links/delete_bulk'; }; export type DeleteLinksBulkResponses = { 200: { success: boolean; error?: string; }; }; export type DeleteLinksBulkResponse = DeleteLinksBulkResponses[keyof DeleteLinksBulkResponses]; export type ArchiveLinkData = { body: { link_id: string; domain_id?: string; }; path?: never; query?: never; url: '/links/archive'; }; export type ArchiveLinkErrors = { 400: { error: string; message?: string; }; 401: { error: string; }; 402: { error: string; }; 403: { error: string; }; 404: { error: string; }; 409: { error: string; }; 500: { error: string; }; }; export type ArchiveLinkError = ArchiveLinkErrors[keyof ArchiveLinkErrors]; export type ArchiveLinkResponses = { 200: { success: boolean; error?: string; }; }; export type ArchiveLinkResponse = ArchiveLinkResponses[keyof ArchiveLinkResponses]; export type ArchiveLinksBulkData = { body: { link_ids: Array; domain_id?: string; }; path?: never; query?: never; url: '/links/archive_bulk'; }; export type ArchiveLinksBulkErrors = { 400: { error: string; message?: string; }; 401: { error: string; }; 402: { error: string; }; 403: { error: string; }; 404: { error: string; message?: string; }; 409: { error: string; }; 500: { error: string; message?: string; }; }; export type ArchiveLinksBulkError = ArchiveLinksBulkErrors[keyof ArchiveLinksBulkErrors]; export type ArchiveLinksBulkResponses = { 200: { success: boolean; error?: string; }; }; export type ArchiveLinksBulkResponse = ArchiveLinksBulkResponses[keyof ArchiveLinksBulkResponses]; export type UnarchiveLinkData = { body: { link_id: string; domain_id?: string; }; path?: never; query?: never; url: '/links/unarchive'; }; export type UnarchiveLinkErrors = { 400: { error: string; message?: string; }; 401: { error: string; }; 402: { error: string; }; 403: { error: string; }; 404: { error: string; message?: string; }; 409: { error: string; }; 500: { error: string; }; }; export type UnarchiveLinkError = UnarchiveLinkErrors[keyof UnarchiveLinkErrors]; export type UnarchiveLinkResponses = { 200: { success: boolean; error?: string; }; }; export type UnarchiveLinkResponse = UnarchiveLinkResponses[keyof UnarchiveLinkResponses]; export type UnarchiveLinksBulkData = { body: { link_ids: Array; domain_id?: string; }; path?: never; query?: never; url: '/links/unarchive_bulk'; }; export type UnarchiveLinksBulkErrors = { 400: { error: string; message?: string; }; 401: { error: string; }; 402: { error: string; }; 403: { error: string; }; 404: { error: string; }; 409: { error: string; }; 500: { error: string; }; }; export type UnarchiveLinksBulkError = UnarchiveLinksBulkErrors[keyof UnarchiveLinksBulkErrors]; export type UnarchiveLinksBulkResponses = { 200: { success: boolean; error?: string; }; }; export type UnarchiveLinksBulkResponse = UnarchiveLinksBulkResponses[keyof UnarchiveLinksBulkResponses]; export type GetLinkData = { body?: never; path: { linkId: string; }; query?: { domainId?: string; }; url: '/links/{linkId}'; }; export type GetLinkErrors = { 400: { error: string; }; 403: { error: string; }; 404: { error: string; }; }; export type GetLinkError = GetLinkErrors[keyof GetLinkErrors]; export type GetLinkResponses = { 200: { originalURL: string; cloaking?: boolean; password?: string; expiresAt?: number | string; expiredURL?: string; title?: string; tags?: Array; utmSource?: string; utmMedium?: string; utmCampaign?: string; utmTerm?: string; utmContent?: string; ttl?: string | number; path?: string; androidURL?: string; iphoneURL?: string; createdAt?: number | string; clicksLimit?: number; passwordContact?: boolean; skipQS?: boolean; archived?: boolean; splitURL?: string; splitPercent?: number; integrationAdroll?: string; integrationFB?: string; integrationTT?: string; integrationGA?: string; integrationGTM?: string; } & { idString: string; id: string; shortURL: string; secureShortURL: string; path: string; redirectType?: '301' | '302' | '307' | '308'; FolderId?: string; DomainId?: number; OwnerId?: number; hasPassword?: boolean; source?: 'website' | 'api' | 'public' | 'spreadsheets' | 'slack' | 'telegram' | ''; User?: { id: number; name: string; email: string; photoURL: string; }; }; }; export type GetLinkResponse = GetLinkResponses[keyof GetLinkResponses]; export type UpdateLinkData = { body?: { cloaking?: boolean; password?: string; redirectType?: 301 | 302 | 307 | 308; expiresAt?: number | string; expiredURL?: string; title?: string; tags?: Array; utmSource?: string; utmMedium?: string; utmCampaign?: string; utmTerm?: string; utmContent?: string; ttl?: string | number; path?: string; androidURL?: string; iphoneURL?: string; createdAt?: number | string; clicksLimit?: number; passwordContact?: boolean; skipQS?: boolean; archived?: boolean; splitURL?: string; splitPercent?: number; integrationAdroll?: string; integrationFB?: string; integrationTT?: string; integrationGA?: string; integrationGTM?: string; originalURL?: string; }; path: { linkId: string; }; query?: { domain_id?: string; }; url: '/links/{linkId}'; }; export type UpdateLinkErrors = { 400: { message: string; field?: string; linkId?: string; }; 401: { message: string; field?: string; linkId?: string; }; 402: { message: string; field?: string; linkId?: string; }; 403: { message: string; }; 404: { message: string; }; 409: { message: string; field?: string; linkId?: string; }; 500: { message: string; }; }; export type UpdateLinkError = UpdateLinkErrors[keyof UpdateLinkErrors]; export type UpdateLinkResponses = { 200: { originalURL: string; cloaking?: boolean; password?: string; expiresAt?: number | string; expiredURL?: string; title?: string; tags?: Array; utmSource?: string; utmMedium?: string; utmCampaign?: string; utmTerm?: string; utmContent?: string; ttl?: string | number; path?: string; androidURL?: string; iphoneURL?: string; createdAt?: number | string; clicksLimit?: number; passwordContact?: boolean; skipQS?: boolean; archived?: boolean; splitURL?: string; splitPercent?: number; integrationAdroll?: string; integrationFB?: string; integrationTT?: string; integrationGA?: string; integrationGTM?: string; } & { idString: string; id: string; shortURL: string; secureShortURL: string; path: string; redirectType?: '301' | '302' | '307' | '308'; FolderId?: string; DomainId?: number; OwnerId?: number; hasPassword?: boolean; source?: 'website' | 'api' | 'public' | 'spreadsheets' | 'slack' | 'telegram' | ''; User?: { id: number; name: string; email: string; photoURL: string; }; }; }; export type UpdateLinkResponse = UpdateLinkResponses[keyof UpdateLinkResponses]; export type ExpandLinkData = { body?: never; path?: never; query: { domain: string; path: string; }; url: '/links/expand'; }; export type ExpandLinkErrors = { 400: { error: string; message?: string; }; 404: { error: string; }; }; export type ExpandLinkError = ExpandLinkErrors[keyof ExpandLinkErrors]; export type ExpandLinkResponses = { 200: { originalURL: string; cloaking?: boolean; password?: string; expiresAt?: number | string; expiredURL?: string; title?: string; tags?: Array; utmSource?: string; utmMedium?: string; utmCampaign?: string; utmTerm?: string; utmContent?: string; ttl?: string | number; path?: string; androidURL?: string; iphoneURL?: string; createdAt?: number | string; clicksLimit?: number; passwordContact?: boolean; skipQS?: boolean; archived?: boolean; splitURL?: string; splitPercent?: number; integrationAdroll?: string; integrationFB?: string; integrationTT?: string; integrationGA?: string; integrationGTM?: string; } & { idString: string; id: string; shortURL: string; secureShortURL: string; path: string; redirectType?: '301' | '302' | '307' | '308'; FolderId?: string; DomainId?: number; OwnerId?: number; hasPassword?: boolean; source?: 'website' | 'api' | 'public' | 'spreadsheets' | 'slack' | 'telegram' | ''; User?: { id: number; name: string; email: string; photoURL: string; }; }; }; export type ExpandLinkResponse = ExpandLinkResponses[keyof ExpandLinkResponses]; export type GetLinkByOriginalUrlData = { body?: never; path?: never; query: { domain: string; originalURL: string; }; url: '/links/by-original-url'; }; export type GetLinkByOriginalUrlResponses = { 200: unknown; }; export type GetLinksByUrlData = { body?: never; path?: never; query: { domain: string; originalURL: string; }; url: '/links/multiple-by-url'; }; export type GetLinksByUrlResponses = { 200: unknown; }; export type CreateLinkData = { body?: { originalURL: string; cloaking?: boolean; password?: string; redirectType?: 301 | 302 | 307 | 308; expiresAt?: number | string; expiredURL?: string; title?: string; tags?: Array; utmSource?: string; utmMedium?: string; utmCampaign?: string; utmTerm?: string; utmContent?: string; ttl?: string | number; path?: string; androidURL?: string; iphoneURL?: string; createdAt?: number | string; clicksLimit?: number; passwordContact?: boolean; skipQS?: boolean; archived?: boolean; splitURL?: string; splitPercent?: number; integrationAdroll?: string; integrationFB?: string; integrationTT?: string; integrationGA?: string; integrationGTM?: string; } & { domain: string; allowDuplicates?: boolean; folderId?: string; skipQS?: boolean; }; path?: never; query?: never; url: '/links'; }; export type CreateLinkErrors = { 400: { code?: string; message: string; success?: boolean; statusCode: number; }; 401: { message: string; success?: boolean; statusCode: number; }; 402: { message: string; success?: boolean; statusCode: number; }; 403: { message: string; success?: boolean; statusCode: number; }; 404: { message: string; success?: boolean; statusCode: number; }; 409: { message: string; success?: boolean; statusCode: number; }; 500: { message: string; success?: boolean; statusCode: number; }; }; export type CreateLinkError = CreateLinkErrors[keyof CreateLinkErrors]; export type CreateLinkResponses = { 200: { originalURL: string; cloaking?: boolean; password?: string; expiresAt?: number | string; expiredURL?: string; title?: string; tags?: Array; utmSource?: string; utmMedium?: string; utmCampaign?: string; utmTerm?: string; utmContent?: string; ttl?: string | number; path?: string; androidURL?: string; iphoneURL?: string; createdAt?: number | string; clicksLimit?: number; passwordContact?: boolean; skipQS?: boolean; archived?: boolean; splitURL?: string; splitPercent?: number; integrationAdroll?: string; integrationFB?: string; integrationTT?: string; integrationGA?: string; integrationGTM?: string; } & { idString: string; id: string; shortURL: string; secureShortURL: string; path: string; redirectType?: '301' | '302' | '307' | '308'; FolderId?: string; DomainId?: number; OwnerId?: number; hasPassword?: boolean; source?: 'website' | 'api' | 'public' | 'spreadsheets' | 'slack' | 'telegram' | ''; User?: { id: number; name: string; email: string; photoURL: string; }; } & { success?: boolean; duplicate?: boolean; }; }; export type CreateLinkResponse = CreateLinkResponses[keyof CreateLinkResponses]; export type CreateLinkSimpleData = { body?: never; path?: never; query: { domain: string; path?: string; originalURL: string; title?: string; urlOnly?: '1' | '0' | boolean; apiKey: string; }; url: '/links/tweetbot'; }; export type CreateLinkSimpleResponses = { 200: unknown; }; export type CreateLinkPublicData = { body: { originalURL: string; cloaking?: boolean; password?: string; redirectType?: 301 | 302 | 307 | 308; expiresAt?: number | string; expiredURL?: string; title?: string; tags?: Array; utmSource?: string; utmMedium?: string; utmCampaign?: string; utmTerm?: string; utmContent?: string; ttl?: string | number; path?: string; androidURL?: string; iphoneURL?: string; createdAt?: number | string; clicksLimit?: number; passwordContact?: boolean; skipQS?: boolean; archived?: boolean; splitURL?: string; splitPercent?: number; integrationAdroll?: string; integrationFB?: string; integrationTT?: string; integrationGA?: string; integrationGTM?: string; domain: string; folderId?: string; }; headers?: { type?: unknown; additionalProperties?: string; }; path?: never; query?: never; url: '/links/public'; }; export type CreateLinkPublicErrors = { 400: { code?: string; message: string; success?: boolean; statusCode: number; }; 401: { message: string; success: boolean; statusCode: number; }; 402: { message: string; success?: boolean; }; 403: { message: string; success?: boolean; }; 404: { message: string; success: boolean; }; 409: { message: string; success?: boolean; }; 500: { message: string; success: boolean; }; }; export type CreateLinkPublicError = CreateLinkPublicErrors[keyof CreateLinkPublicErrors]; export type CreateLinkPublicResponses = { 200: { originalURL: string; cloaking?: boolean; password?: string; expiresAt?: number | string; expiredURL?: string; title?: string; tags?: Array; utmSource?: string; utmMedium?: string; utmCampaign?: string; utmTerm?: string; utmContent?: string; ttl?: string | number; path?: string; androidURL?: string; iphoneURL?: string; createdAt?: number | string; clicksLimit?: number; passwordContact?: boolean; skipQS?: boolean; archived?: boolean; splitURL?: string; splitPercent?: number; integrationAdroll?: string; integrationFB?: string; integrationTT?: string; integrationGA?: string; integrationGTM?: string; } & { idString: string; id: string; shortURL: string; secureShortURL: string; path: string; redirectType?: '301' | '302' | '307' | '308'; FolderId?: string; DomainId?: number; OwnerId?: number; hasPassword?: boolean; source?: 'website' | 'api' | 'public' | 'spreadsheets' | 'slack' | 'telegram' | ''; User?: { id: number; name: string; email: string; photoURL: string; }; } & { success?: boolean; duplicate?: boolean; }; }; export type CreateLinkPublicResponse = CreateLinkPublicResponses[keyof CreateLinkPublicResponses]; export type CreateLinksBulkData = { body: { domain: string; allowDuplicates?: boolean; links: Array<{ allowDuplicates?: boolean; } & { originalURL: string; cloaking?: boolean; password?: string; redirectType?: 301 | 302 | 307 | 308; expiresAt?: number | string; expiredURL?: string; title?: string; tags?: Array; utmSource?: string; utmMedium?: string; utmCampaign?: string; utmTerm?: string; utmContent?: string; ttl?: string | number; path?: string; androidURL?: string; iphoneURL?: string; createdAt?: number | string; clicksLimit?: number; passwordContact?: boolean; skipQS?: boolean; archived?: boolean; splitURL?: string; splitPercent?: number; integrationAdroll?: string; integrationFB?: string; integrationTT?: string; integrationGA?: string; integrationGTM?: string; }>; folderId?: string; }; path?: never; query?: never; url: '/links/bulk'; }; export type CreateLinksBulkResponses = { 200: unknown; }; export type CreateExampleLinksData = { body: { domain: string; }; path?: never; query?: never; url: '/links/examples'; }; export type CreateExampleLinksErrors = { 400: { message: string; success?: boolean; }; 401: { message: string; success?: boolean; }; 402: { message: string; success?: boolean; }; 403: { message: string; }; 404: { message: string; }; 409: { message: string; success?: boolean; }; 500: { message: string; success?: boolean; }; }; export type CreateExampleLinksError = CreateExampleLinksErrors[keyof CreateExampleLinksErrors]; export type CreateExampleLinksResponses = { 200: { success: boolean; links: Array<{ originalURL: string; cloaking?: boolean; password?: string; expiresAt?: number | string; expiredURL?: string; title?: string; tags?: Array; utmSource?: string; utmMedium?: string; utmCampaign?: string; utmTerm?: string; utmContent?: string; ttl?: string | number; path?: string; androidURL?: string; iphoneURL?: string; createdAt?: number | string; clicksLimit?: number; passwordContact?: boolean; skipQS?: boolean; archived?: boolean; splitURL?: string; splitPercent?: number; integrationAdroll?: string; integrationFB?: string; integrationTT?: string; integrationGA?: string; integrationGTM?: string; } & { idString: string; id: string; shortURL: string; secureShortURL: string; path: string; redirectType?: '301' | '302' | '307' | '308'; FolderId?: string; DomainId?: number; OwnerId?: number; hasPassword?: boolean; source?: 'website' | 'api' | 'public' | 'spreadsheets' | 'slack' | 'telegram' | ''; User?: { id: number; name: string; email: string; photoURL: string; }; } & { success?: boolean; duplicate?: boolean; }>; }; }; export type CreateExampleLinksResponse = CreateExampleLinksResponses[keyof CreateExampleLinksResponses]; export type DuplicateLinkData = { body?: { path?: string; }; path: { linkId: string; }; query?: never; url: '/links/duplicate/{linkId}'; }; export type DuplicateLinkErrors = { 400: { message: string; field?: string; }; 401: { message: string; }; 402: { message: string; field?: string; }; 403: { message: string; }; 404: { message: string; }; 409: { message: string; field?: string; }; 500: { message: string; }; }; export type DuplicateLinkError = DuplicateLinkErrors[keyof DuplicateLinkErrors]; export type DuplicateLinkResponses = { 200: { originalURL: string; cloaking?: boolean; password?: string; expiresAt?: number | string; expiredURL?: string; title?: string; tags?: Array; utmSource?: string; utmMedium?: string; utmCampaign?: string; utmTerm?: string; utmContent?: string; ttl?: string | number; path?: string; androidURL?: string; iphoneURL?: string; createdAt?: number | string; clicksLimit?: number; passwordContact?: boolean; skipQS?: boolean; archived?: boolean; splitURL?: string; splitPercent?: number; integrationAdroll?: string; integrationFB?: string; integrationTT?: string; integrationGA?: string; integrationGTM?: string; } & { idString: string; id: string; shortURL: string; secureShortURL: string; path: string; redirectType?: '301' | '302' | '307' | '308'; FolderId?: string; DomainId?: number; OwnerId?: number; hasPassword?: boolean; source?: 'website' | 'api' | 'public' | 'spreadsheets' | 'slack' | 'telegram' | ''; User?: { id: number; name: string; email: string; photoURL: string; }; } & { success?: boolean; duplicate?: boolean; } & { duplicatedFrom: string; }; }; export type DuplicateLinkResponse = DuplicateLinkResponses[keyof DuplicateLinkResponses]; export type ListDomainsData = { body?: never; headers?: { type?: unknown; additionalProperties?: string; }; path?: never; query?: { limit?: number; offset?: number; noTeamId?: boolean; pattern?: string; teamId?: number; }; url: '/api/domains'; }; export type ListDomainsResponses = { 200: Array<{ id: number; hostname: string; unicodeHostname: string; state: 'extra_records' | 'not_registered' | 'configured' | 'not_configured' | 'registration_pending' | 'not_verified'; createdAt: string; updatedAt: string; TeamId?: number; hasFavicon: boolean; segmentKey?: string; hideReferer: boolean; linkType: 'increment' | 'random' | 'secure' | 'four-char' | 'eight-char' | 'ten-char'; cloaking: boolean; hideVisitorIp: boolean; enableAI: boolean; httpsLevel: 'none' | 'redirect' | 'hsts'; httpsLinks: boolean; webhookURL?: string; integrationGA?: string; integrationFB?: string; integrationTT?: string; integrationAdroll?: string; integrationGTM?: string; clientStorage: { [key: string]: unknown; }; caseSensitive: boolean; incrementCounter: string; robots: 'allow' | 'disallow' | 'noindex'; sslCertExpirationDate?: string; sslCertInstalledSuccess?: boolean; domainRegistrationId?: number; UserId?: number; exportEnabled: boolean; enableConversionTracking: boolean; qrScanTracking: boolean; isFavorite: boolean; }>; }; export type ListDomainsResponse = ListDomainsResponses[keyof ListDomainsResponses]; export type GetDomainData = { body?: never; path: { domainId: number; }; query?: never; url: '/domains/{domainId}'; }; export type GetDomainErrors = { 403: { error: string; type?: 'accessDenied'; }; }; export type GetDomainError = GetDomainErrors[keyof GetDomainErrors]; export type GetDomainResponses = { 200: { id: number; hostname: string; unicodeHostname: string; state: 'extra_records' | 'not_registered' | 'configured' | 'not_configured' | 'registration_pending' | 'not_verified'; createdAt: string; updatedAt: string; TeamId?: number; hasFavicon: boolean; segmentKey?: string; hideReferer: boolean; linkType: 'increment' | 'random' | 'secure' | 'four-char' | 'eight-char' | 'ten-char'; cloaking: boolean; hideVisitorIp: boolean; enableAI: boolean; httpsLevel: 'none' | 'redirect' | 'hsts'; httpsLinks: boolean; webhookURL?: string; integrationGA?: string; integrationFB?: string; integrationTT?: string; integrationAdroll?: string; integrationGTM?: string; clientStorage: { [key: string]: unknown; }; caseSensitive: boolean; incrementCounter: string; robots: 'allow' | 'disallow' | 'noindex'; sslCertExpirationDate?: string; sslCertInstalledSuccess?: boolean; domainRegistrationId?: number; UserId?: number; exportEnabled: boolean; enableConversionTracking: boolean; qrScanTracking: boolean; } & { ipExclusions: Array; userPlan: 'tiny' | 'hobby' | 'small' | 'standard' | 'large'; }; }; export type GetDomainResponse = GetDomainResponses[keyof GetDomainResponses]; export type UpdateDomainSettingsData = { body?: { httpsLevel?: 'none' | 'redirect' | 'hsts'; robots?: 'allow' | 'disallow' | 'noindex'; segmentKey?: string; linkType?: 'increment' | 'random' | 'secure' | 'four-char' | 'eight-char' | 'ten-char'; cloaking?: boolean; hideReferer?: boolean; hideVisitorIp?: boolean; httpsLinks?: boolean; webhookURL?: string | '' | null; integrationGA?: string; integrationFB?: string; integrationTT?: string; integrationAdroll?: string; enableConversionTracking?: boolean; qrScanTracking?: boolean; integrationGTM?: string; clientStorage?: { [key: string]: unknown; }; purgeExpiredLinks?: boolean; enableAI?: boolean; caseSensitive?: boolean; }; path: { domainId: number; }; query?: never; url: '/domains/settings/{domainId}'; }; export type UpdateDomainSettingsErrors = { 400: { error: string; message?: string; }; 401: { error: string; }; 402: { error: string; }; 403: { error: string; }; 404: { error: string; }; }; export type UpdateDomainSettingsError = UpdateDomainSettingsErrors[keyof UpdateDomainSettingsErrors]; export type UpdateDomainSettingsResponses = { 200: { success: boolean; }; }; export type UpdateDomainSettingsResponse = UpdateDomainSettingsResponses[keyof UpdateDomainSettingsResponses]; export type AddTagsBulkData = { body: { tag: string; link_ids: Array; }; path?: never; query?: never; url: '/tags/bulk'; }; export type AddTagsBulkResponses = { 200: unknown; }; export type CreateDomainData = { body: { hostname: string; hideReferer?: boolean; linkType?: 'increment' | 'random' | 'secure' | 'four-char' | 'eight-char' | 'ten-char'; }; path?: never; query?: never; url: '/domains'; }; export type CreateDomainErrors = { 402: { error: string; }; 403: { error: string; }; 409: { error: string; }; }; export type CreateDomainError = CreateDomainErrors[keyof CreateDomainErrors]; export type CreateDomainResponses = { 200: { id: number; hostname: string; unicodeHostname: string; state: 'extra_records' | 'not_registered' | 'configured' | 'not_configured' | 'registration_pending' | 'not_verified'; createdAt: string; updatedAt: string; TeamId?: number; hasFavicon: boolean; segmentKey?: string; hideReferer: boolean; linkType: 'increment' | 'random' | 'secure' | 'four-char' | 'eight-char' | 'ten-char'; cloaking: boolean; hideVisitorIp: boolean; enableAI: boolean; httpsLevel: 'none' | 'redirect' | 'hsts'; httpsLinks: boolean; webhookURL?: string; integrationGA?: string; integrationFB?: string; integrationTT?: string; integrationAdroll?: string; integrationGTM?: string; clientStorage: { [key: string]: unknown; }; caseSensitive: boolean; incrementCounter: string; robots: 'allow' | 'disallow' | 'noindex'; sslCertExpirationDate?: string; sslCertInstalledSuccess?: boolean; domainRegistrationId?: number; UserId?: number; exportEnabled: boolean; enableConversionTracking: boolean; qrScanTracking: boolean; }; }; export type CreateDomainResponse = CreateDomainResponses[keyof CreateDomainResponses]; export type ListFoldersData = { body?: never; path: { domainId: number; }; query?: never; url: '/links/folders/{domainId}'; }; export type ListFoldersResponses = { 200: unknown; }; export type GetFolderData = { body?: never; path: { domainId: number; folderId: string; }; query?: never; url: '/links/folders/{domainId}/{folderId}'; }; export type GetFolderResponses = { 200: unknown; }; export type CreateFolderData = { body: { domainId: number; name: string; color?: string; backgroundColor?: string; logoUrl?: string; logoHeight?: number; logoWidth?: number; ecLevel?: string; integrationFB?: string; integrationTT?: string; integrationGA?: string; integrationGTM?: string; integrationAdroll?: string; utmCampaign?: string; utmMedium?: string; utmSource?: string; utmTerm?: string; utmContent?: string; redirectType?: number; expiresAtDays?: number; icon?: string; prefix?: string; }; path?: never; query?: never; url: '/links/folders'; }; export type CreateFolderResponses = { 200: unknown; };