Skip to content

Commit 50c0ae4

Browse files
feat(api): api update
1 parent 4676c22 commit 50c0ae4

File tree

3 files changed

+248
-2
lines changed

3 files changed

+248
-2
lines changed

.stats.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
configured_endpoints: 20
2-
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/context-dev%2Fcontext.dev-a69e6793d72c7f91069972b64ff2e35b4ddfa62cd35d6451b7d63f95d5957951.yml
3-
openapi_spec_hash: 8a77eef26c37dc2b63110169f0eef1f6
2+
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/context-dev%2Fcontext.dev-c5d5abb4b31f6e352e3e02b47120e3f444377c1c564f141ebe0988b86ba5932e.yml
3+
openapi_spec_hash: 8ef4803fbe33ae6472a4b8f660be7921
44
config_hash: a144af00e5e74176674d0ea954cc02c5

src/resources/brand.ts

Lines changed: 245 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5660,6 +5660,251 @@ export interface BrandRetrieveByNameParams {
56605660
*/
56615661
name: string;
56625662

5663+
/**
5664+
* Optional country code (GL parameter) to specify the country. This affects the
5665+
* geographic location used for search queries.
5666+
*/
5667+
country_gl?:
5668+
| 'ad'
5669+
| 'ae'
5670+
| 'af'
5671+
| 'ag'
5672+
| 'ai'
5673+
| 'al'
5674+
| 'am'
5675+
| 'an'
5676+
| 'ao'
5677+
| 'aq'
5678+
| 'ar'
5679+
| 'as'
5680+
| 'at'
5681+
| 'au'
5682+
| 'aw'
5683+
| 'az'
5684+
| 'ba'
5685+
| 'bb'
5686+
| 'bd'
5687+
| 'be'
5688+
| 'bf'
5689+
| 'bg'
5690+
| 'bh'
5691+
| 'bi'
5692+
| 'bj'
5693+
| 'bm'
5694+
| 'bn'
5695+
| 'bo'
5696+
| 'br'
5697+
| 'bs'
5698+
| 'bt'
5699+
| 'bv'
5700+
| 'bw'
5701+
| 'by'
5702+
| 'bz'
5703+
| 'ca'
5704+
| 'cc'
5705+
| 'cd'
5706+
| 'cf'
5707+
| 'cg'
5708+
| 'ch'
5709+
| 'ci'
5710+
| 'ck'
5711+
| 'cl'
5712+
| 'cm'
5713+
| 'cn'
5714+
| 'co'
5715+
| 'cr'
5716+
| 'cu'
5717+
| 'cv'
5718+
| 'cx'
5719+
| 'cy'
5720+
| 'cz'
5721+
| 'de'
5722+
| 'dj'
5723+
| 'dk'
5724+
| 'dm'
5725+
| 'do'
5726+
| 'dz'
5727+
| 'ec'
5728+
| 'ee'
5729+
| 'eg'
5730+
| 'eh'
5731+
| 'er'
5732+
| 'es'
5733+
| 'et'
5734+
| 'fi'
5735+
| 'fj'
5736+
| 'fk'
5737+
| 'fm'
5738+
| 'fo'
5739+
| 'fr'
5740+
| 'ga'
5741+
| 'gb'
5742+
| 'gd'
5743+
| 'ge'
5744+
| 'gf'
5745+
| 'gh'
5746+
| 'gi'
5747+
| 'gl'
5748+
| 'gm'
5749+
| 'gn'
5750+
| 'gp'
5751+
| 'gq'
5752+
| 'gr'
5753+
| 'gs'
5754+
| 'gt'
5755+
| 'gu'
5756+
| 'gw'
5757+
| 'gy'
5758+
| 'hk'
5759+
| 'hm'
5760+
| 'hn'
5761+
| 'hr'
5762+
| 'ht'
5763+
| 'hu'
5764+
| 'id'
5765+
| 'ie'
5766+
| 'il'
5767+
| 'in'
5768+
| 'io'
5769+
| 'iq'
5770+
| 'ir'
5771+
| 'is'
5772+
| 'it'
5773+
| 'jm'
5774+
| 'jo'
5775+
| 'jp'
5776+
| 'ke'
5777+
| 'kg'
5778+
| 'kh'
5779+
| 'ki'
5780+
| 'km'
5781+
| 'kn'
5782+
| 'kp'
5783+
| 'kr'
5784+
| 'kw'
5785+
| 'ky'
5786+
| 'kz'
5787+
| 'la'
5788+
| 'lb'
5789+
| 'lc'
5790+
| 'li'
5791+
| 'lk'
5792+
| 'lr'
5793+
| 'ls'
5794+
| 'lt'
5795+
| 'lu'
5796+
| 'lv'
5797+
| 'ly'
5798+
| 'ma'
5799+
| 'mc'
5800+
| 'md'
5801+
| 'mg'
5802+
| 'mh'
5803+
| 'mk'
5804+
| 'ml'
5805+
| 'mm'
5806+
| 'mn'
5807+
| 'mo'
5808+
| 'mp'
5809+
| 'mq'
5810+
| 'mr'
5811+
| 'ms'
5812+
| 'mt'
5813+
| 'mu'
5814+
| 'mv'
5815+
| 'mw'
5816+
| 'mx'
5817+
| 'my'
5818+
| 'mz'
5819+
| 'na'
5820+
| 'nc'
5821+
| 'ne'
5822+
| 'nf'
5823+
| 'ng'
5824+
| 'ni'
5825+
| 'nl'
5826+
| 'no'
5827+
| 'np'
5828+
| 'nr'
5829+
| 'nu'
5830+
| 'nz'
5831+
| 'om'
5832+
| 'pa'
5833+
| 'pe'
5834+
| 'pf'
5835+
| 'pg'
5836+
| 'ph'
5837+
| 'pk'
5838+
| 'pl'
5839+
| 'pm'
5840+
| 'pn'
5841+
| 'pr'
5842+
| 'ps'
5843+
| 'pt'
5844+
| 'pw'
5845+
| 'py'
5846+
| 'qa'
5847+
| 're'
5848+
| 'ro'
5849+
| 'rs'
5850+
| 'ru'
5851+
| 'rw'
5852+
| 'sa'
5853+
| 'sb'
5854+
| 'sc'
5855+
| 'sd'
5856+
| 'se'
5857+
| 'sg'
5858+
| 'sh'
5859+
| 'si'
5860+
| 'sj'
5861+
| 'sk'
5862+
| 'sl'
5863+
| 'sm'
5864+
| 'sn'
5865+
| 'so'
5866+
| 'sr'
5867+
| 'st'
5868+
| 'sv'
5869+
| 'sy'
5870+
| 'sz'
5871+
| 'tc'
5872+
| 'td'
5873+
| 'tf'
5874+
| 'tg'
5875+
| 'th'
5876+
| 'tj'
5877+
| 'tk'
5878+
| 'tl'
5879+
| 'tm'
5880+
| 'tn'
5881+
| 'to'
5882+
| 'tr'
5883+
| 'tt'
5884+
| 'tv'
5885+
| 'tw'
5886+
| 'tz'
5887+
| 'ua'
5888+
| 'ug'
5889+
| 'um'
5890+
| 'us'
5891+
| 'uy'
5892+
| 'uz'
5893+
| 'va'
5894+
| 'vc'
5895+
| 've'
5896+
| 'vg'
5897+
| 'vi'
5898+
| 'vn'
5899+
| 'vu'
5900+
| 'wf'
5901+
| 'ws'
5902+
| 'ye'
5903+
| 'yt'
5904+
| 'za'
5905+
| 'zm'
5906+
| 'zw';
5907+
56635908
/**
56645909
* Optional parameter to force the language of the retrieved brand data.
56655910
*/

tests/api-resources/brand.test.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -257,6 +257,7 @@ describe('resource brand', () => {
257257
test.skip('retrieveByName: required and optional params', async () => {
258258
const response = await client.brand.retrieveByName({
259259
name: 'xxx',
260+
country_gl: 'ad',
260261
force_language: 'albanian',
261262
maxSpeed: true,
262263
timeoutMS: 1000,

0 commit comments

Comments
 (0)