@@ -333,6 +333,19 @@ export type ConfigureComponentOpts = ExternalUserId & {
333
333
dynamicPropsId ?: string ;
334
334
335
335
query ?: string ;
336
+
337
+ /**
338
+ * A 0 indexed page number. Use with APIs that accept a
339
+ * numeric page number for pagination.
340
+ */
341
+ page ?: number ;
342
+
343
+ /**
344
+ * A string representing the context for the previous options
345
+ * execution. Use with APIs that accept a token representing the last
346
+ * record for pagination.
347
+ */
348
+ prevContext ?: never ;
336
349
} ;
337
350
338
351
/**
@@ -787,14 +800,21 @@ export abstract class BaseClient {
787
800
params . q = opts . q ;
788
801
}
789
802
if ( opts ?. hasActions != null ) {
790
- params . has_actions = opts . hasActions ? "1" : "0" ;
803
+ params . has_actions = opts . hasActions
804
+ ? "1"
805
+ : "0" ;
791
806
}
792
807
if ( opts ?. hasComponents != null ) {
793
- params . has_components = opts . hasComponents ? "1" : "0" ;
808
+ params . has_components = opts . hasComponents
809
+ ? "1"
810
+ : "0" ;
794
811
}
795
812
if ( opts ?. hasTriggers != null ) {
796
- params . has_triggers = opts . hasTriggers ? "1" : "0" ;
813
+ params . has_triggers = opts . hasTriggers
814
+ ? "1"
815
+ : "0" ;
797
816
}
817
+
798
818
this . addRelationOpts ( params , opts ) ;
799
819
return this . makeAuthorizedRequest < GetAppsResponse > (
800
820
"/apps" ,
@@ -949,6 +969,8 @@ export abstract class BaseClient {
949
969
prop_name : opts . propName ,
950
970
configured_props : opts . configuredProps ,
951
971
dynamic_props_id : opts . dynamicPropsId ,
972
+ page : opts . page ,
973
+ prev_context : opts . prevContext ,
952
974
} ;
953
975
return this . makeConnectRequest < ConfigureComponentResponse > ( "/components/configure" , {
954
976
method : "POST" ,
0 commit comments