Skip to content

Commit

Permalink
[SCAL-233077] add regional_settings property in report export apis
Browse files Browse the repository at this point in the history
  • Loading branch information
abey-thomas committed Nov 22, 2024
1 parent bdcd400 commit 78c6015
Showing 1 changed file with 343 additions and 0 deletions.
343 changes: 343 additions & 0 deletions api-spec/openapiSpecv3-2_0.json
Original file line number Diff line number Diff line change
Expand Up @@ -1724,6 +1724,14 @@
"runtime_param_override": {
"description": "JSON object for setting values of parameters at runtime. For example, <code> {\"param1\": \"Double List Param\", \"paramVal1\": 0.5}</code>. You can add multiple keys by incrementing the number at the end, for example, param2, paramVal2. For more information, see [API Documentation](https://developers.thoughtspot.com/docs/fetch-data-and-report-apis#_runtime_parameters).",
"type": "object"
},
"regional_settings": {
"description": "Options for specific region speciic overrides to support date/number/string/currency formatting.",
"allOf": [
{
"$ref": "#/components/schemas/RegionalSettingsInput"
}
]
}
},
"required": [
Expand Down Expand Up @@ -1834,6 +1842,14 @@
"runtime_param_override": {
"description": "JSON object for setting values of parameters in runtime.",
"type": "object"
},
"regional_settings": {
"description": "Options for specific region speciic overrides to support date/number/string/currency formatting.",
"allOf": [
{
"$ref": "#/components/schemas/RegionalSettingsInput"
}
]
}
}
}
Expand Down Expand Up @@ -13224,6 +13240,333 @@
}
}
},
"RegionalSettingsInput": {
"type": "object",
"properties": {
"currency_format": {
"type": "string",
"description": "ISO code to be appended with currency values.",
"nullable": true,
"enum": [
"ADP",
"AED",
"AFN",
"ALL",
"AMD",
"ANG",
"AOA",
"ARA",
"ARS",
"ATS",
"AUD",
"AWG",
"AZN",
"BAM",
"BBD",
"BDT",
"BEF",
"BGL",
"BGM",
"BGN",
"BHD",
"BIF",
"BMD",
"BND",
"BOB",
"BOP",
"BOV",
"BRL",
"BSD",
"BTN",
"BUK",
"BWP",
"BYN",
"BZD",
"CAD",
"CDF",
"CHE",
"CHF",
"CHW",
"CLE",
"CLP",
"CNX",
"CNY",
"COP",
"COU",
"CRC",
"CSK",
"CUC",
"CUP",
"CVE",
"CYP",
"CZK",
"DDM",
"DEM",
"DJF",
"DKK",
"DOP",
"DZD",
"ECS",
"ECV",
"EEK",
"EGP",
"ERN",
"ESP",
"ETB",
"EUR",
"FIM",
"FJD",
"FKP",
"FRF",
"GBP",
"GEK",
"GEL",
"GHS",
"GIP",
"GMD",
"GNF",
"GNS",
"GQE",
"GRD",
"GTQ",
"GWE",
"GWP",
"GYD",
"HKD",
"HNL",
"HRD",
"HRK",
"HTG",
"HUF",
"IDR",
"IEP",
"ILP",
"ILS",
"INR",
"IQD",
"IRR",
"ISK",
"ITL",
"JMD",
"JOD",
"JPY",
"KES",
"KGS",
"KHR",
"KMF",
"KPW",
"KRW",
"KWD",
"KYD",
"KZT",
"LAK",
"LBP",
"LKR",
"LRD",
"LSL",
"LTL",
"LTT",
"LUC",
"LUF",
"LUL",
"LVL",
"LVR",
"LYD",
"MAD",
"MAF",
"MCF",
"MDC",
"MDL",
"MGA",
"MGF",
"MKD",
"MLF",
"MMK",
"MNT",
"MOP",
"MRU",
"MTL",
"MTP",
"MUR",
"MVR",
"MWK",
"MXN",
"MXV",
"MYR",
"MZE",
"MZN",
"NAD",
"NGN",
"NIO",
"NLG",
"NOK",
"NPR",
"NZD",
"OMR",
"PAB",
"PEI",
"PEN",
"PGK",
"PHP",
"PKR",
"PLN",
"PTE",
"PYG",
"QAR",
"RHD",
"RON",
"RSD",
"RUB",
"RWF",
"SAR",
"SBD",
"SCR",
"SDG",
"SEK",
"SGD",
"SHP",
"SIT",
"SKK",
"SLL",
"SOS",
"SRD",
"SRG",
"SSP",
"STN",
"SUR",
"SVC",
"SYP",
"SZL",
"THB",
"TJR",
"TJS",
"TMT",
"TND",
"TOP",
"TPE",
"TRY",
"TTD",
"TWD",
"TZS",
"UAH",
"UAK",
"UGX",
"USD",
"UYU",
"UYW",
"UZS",
"VES",
"VND",
"VUV",
"WST",
"XAF",
"XAG",
"XAU",
"XBA",
"XBB",
"XCD",
"XDR",
"XEU",
"XFO",
"XFU",
"XOF",
"XPD",
"XPF",
"XPT",
"XRE",
"XSU",
"XTS",
"XUA",
"XXX",
"YDD",
"YER",
"ZAR",
"ZMW"
]
},
"user_locale": {
"type": "string",
"description": "Indicates the locale to be used for all formattings.",
"nullable": true,
"enum": [
"en-CA",
"en-GB",
"en-US",
"de-DE",
"ja-JP",
"zh-CN",
"pt-BR",
"fr-FR",
"fr-CA",
"es-US",
"da-DK",
"es-ES",
"fi-FI",
"sv-SE",
"nb-NO",
"pt-PT",
"nl-NL",
"it-IT",
"ru-RU",
"en-IN"
]
},
"number_format_locale": {
"type": "string",
"description": "Indicates the locale to be used for number formatting.",
"nullable": true,
"enum": [
"en-CA",
"en-GB",
"en-US",
"de-DE",
"ja-JP",
"zh-CN",
"pt-BR",
"fr-FR",
"fr-CA",
"es-US",
"da-DK",
"es-ES",
"fi-FI",
"sv-SE",
"nb-NO",
"pt-PT",
"nl-NL",
"it-IT",
"ru-RU",
"en-IN"
]
},
"date_format_locale": {
"type": "string",
"description": "Indicates the locale to be used for date formatting.",
"nullable": true,
"enum": [
"en-CA",
"en-GB",
"en-US",
"de-DE",
"ja-JP",
"zh-CN",
"pt-BR",
"fr-FR",
"fr-CA",
"es-US",
"da-DK",
"es-ES",
"fi-FI",
"sv-SE",
"nb-NO",
"pt-PT",
"nl-NL",
"it-IT",
"ru-RU",
"en-IN"
]
}
}
},
"PermissionOfPrincipalsResponse": {
"type": "object",
"properties": {
Expand Down

0 comments on commit 78c6015

Please sign in to comment.