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 = {
49
49
* This type should match the schema from API server.
50
50
*/
51
51
type TeamCapabilities = {
52
+ platform : {
53
+ auditLogs : boolean ;
54
+ ecosystemWallets : boolean ;
55
+ seats : boolean ;
56
+ } ;
52
57
rpc : {
53
58
enabled : boolean ;
54
59
rateLimit : number ;
@@ -81,12 +86,20 @@ type TeamCapabilities = {
81
86
enabled : boolean ;
82
87
customAuth : boolean ;
83
88
customBranding : boolean ;
89
+ sms : {
90
+ domestic : boolean ;
91
+ international : boolean ;
92
+ } ;
84
93
} ;
85
94
engineCloud : {
86
95
enabled : boolean ;
87
96
mainnetEnabled : boolean ;
88
97
rateLimit : number ;
89
98
} ;
99
+ pay : {
100
+ enabled : boolean ;
101
+ rateLimit : number ;
102
+ } ;
90
103
} ;
91
104
92
105
type TeamPlan =
Original file line number Diff line number Diff line change @@ -93,12 +93,25 @@ export const validTeamResponse: TeamResponse = {
93
93
enabled : true ,
94
94
customAuth : true ,
95
95
customBranding : true ,
96
+ sms : {
97
+ domestic : true ,
98
+ international : true ,
99
+ } ,
96
100
} ,
97
101
engineCloud : {
98
102
enabled : true ,
99
103
mainnetEnabled : true ,
100
104
rateLimit : 100 ,
101
105
} ,
106
+ pay : {
107
+ enabled : true ,
108
+ rateLimit : 1000 ,
109
+ } ,
110
+ platform : {
111
+ auditLogs : true ,
112
+ ecosystemWallets : true ,
113
+ seats : true ,
114
+ } ,
102
115
} ,
103
116
planCancellationDate : null ,
104
117
unthreadCustomerId : null ,
You can’t perform that action at this time.
0 commit comments