File tree Expand file tree Collapse file tree 3 files changed +31
-0
lines changed
packages/service-utils/src Expand file tree Collapse file tree 3 files changed +31
-0
lines changed Original file line number Diff line number Diff line change 1+ ---
2+ " @thirdweb-dev/service-utils " : patch
3+ ---
4+
5+ add new capabilities to the type
Original file line number Diff line number Diff line change @@ -49,6 +49,11 @@ export type ApiResponse = {
4949 * This type should match the schema from API server.
5050 */
5151type TeamCapabilities = {
52+ platform : {
53+ auditLogs : boolean ;
54+ ecosystemWallets : boolean ;
55+ seats : boolean ;
56+ } ;
5257 rpc : {
5358 enabled : boolean ;
5459 rateLimit : number ;
@@ -81,12 +86,20 @@ type TeamCapabilities = {
8186 enabled : boolean ;
8287 customAuth : boolean ;
8388 customBranding : boolean ;
89+ sms : {
90+ domestic : boolean ;
91+ international : boolean ;
92+ } ;
8493 } ;
8594 engineCloud : {
8695 enabled : boolean ;
8796 mainnetEnabled : boolean ;
8897 rateLimit : number ;
8998 } ;
99+ pay : {
100+ enabled : boolean ;
101+ rateLimit : number ;
102+ } ;
90103} ;
91104
92105type TeamPlan =
Original file line number Diff line number Diff line change @@ -93,12 +93,25 @@ export const validTeamResponse: TeamResponse = {
9393 enabled : true ,
9494 customAuth : true ,
9595 customBranding : true ,
96+ sms : {
97+ domestic : true ,
98+ international : true ,
99+ } ,
96100 } ,
97101 engineCloud : {
98102 enabled : true ,
99103 mainnetEnabled : true ,
100104 rateLimit : 100 ,
101105 } ,
106+ pay : {
107+ enabled : true ,
108+ rateLimit : 1000 ,
109+ } ,
110+ platform : {
111+ auditLogs : true ,
112+ ecosystemWallets : true ,
113+ seats : true ,
114+ } ,
102115 } ,
103116 planCancellationDate : null ,
104117 unthreadCustomerId : null ,
You can’t perform that action at this time.
0 commit comments