Skip to content

Commit 0280a96

Browse files
committed
[service-utils] Add platform, SMS, and pay capabilities to TeamCapabilities type
1 parent af03614 commit 0280a96

File tree

2 files changed

+18
-0
lines changed

2 files changed

+18
-0
lines changed

.changeset/little-pillows-divide.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"@thirdweb-dev/service-utils": patch
3+
---
4+
5+
add new capabilities to the type

packages/service-utils/src/core/api.ts

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,11 @@ export type ApiResponse = {
4949
* This type should match the schema from API server.
5050
*/
5151
type 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

92105
type TeamPlan =

0 commit comments

Comments
 (0)