@@ -23,7 +23,8 @@ export enum Region {
2323 US = "us" ,
2424 EU = "eu" ,
2525 AZURE_NA = "azure-na" ,
26- AZURE_EU = "azure-eu"
26+ AZURE_EU = "azure-eu" ,
27+ GCP_NA = "gcp-na" ,
2728}
2829
2930//Enum for Contentstack CachePolicy
@@ -125,6 +126,7 @@ export class Stack {
125126 ContentType ( uid : string ) : ContentType ;
126127 Assets ( uid : string ) : Asset ;
127128 Assets ( ) : Assets ;
129+ Taxonomies ( ) : Taxonomies ;
128130
129131 setPort ( port : number ) : Stack ;
130132 setProtocol ( protocol : string ) : Stack ;
@@ -152,11 +154,13 @@ export class ContentType {
152154 constructor ( ) ;
153155 content_type_uid : string
154156
155- Query ( ) : Query ;
157+ Query ( ) : Taxonomy ;
156158 Entry ( uid : string ) : Entry ;
157159 fetch ( fetchOptions ?: object ) : Promise < any > ;
158160}
159161
162+ export class Taxonomies extends Taxonomy { }
163+
160164export class Assets {
161165 constructor ( ) ;
162166
@@ -277,3 +281,11 @@ export class Query extends Entry {
277281 find ( fetchOptions ?: object ) : Promise < any > ;
278282 findOne ( ) : Promise < any > ;
279283}
284+
285+ export class Taxonomy extends Query {
286+ constructor ( ) ;
287+ above ( key : string , value : string , levels ?: number ) : Query ;
288+ equalAndAbove ( key : string , value : string , levels ?: number ) : Query ;
289+ below ( key : string , value : string , levels ?: number ) : Query ;
290+ equalAndBelow ( key : string , value : string , levels ?: number ) : Query ;
291+ }
0 commit comments