@dfns/sdk 0.6.12-rc.1 → 0.7.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/baseAuthApi.d.ts +1 -8
- package/dfnsApiClient.d.ts +1 -1
- package/dfnsAuthenticator.d.ts +2 -2
- package/dfnsDelegatedApiClient.d.ts +1 -1
- package/generated/auth/client.d.ts +0 -5
- package/generated/auth/client.js +0 -60
- package/generated/auth/delegatedClient.d.ts +0 -10
- package/generated/auth/delegatedClient.js +0 -135
- package/generated/auth/types.d.ts +10 -220
- package/generated/exchanges/types.d.ts +1 -3
- package/generated/keys/types.d.ts +0 -3
- package/generated/permissions/types.d.ts +2 -2
- package/generated/policies/types.d.ts +630 -21
- package/generated/staking/types.d.ts +5 -21
- package/generated/wallets/types.d.ts +597 -10
- package/package.json +2 -3
- package/types/generic.d.ts +4 -4
- package/utils/authToken.d.ts +5 -0
- package/utils/authToken.js +20 -0
- package/utils/fetch.js +5 -10
- package/utils/index.d.ts +0 -1
- package/utils/index.js +0 -1
- package/utils/nonce.d.ts +0 -1
- package/utils/nonce.js +0 -12
|
@@ -1,41 +1,3 @@
|
|
|
1
|
-
export type ActivateApplicationParams = {
|
|
2
|
-
appId: string;
|
|
3
|
-
};
|
|
4
|
-
export type ActivateApplicationResponse = {
|
|
5
|
-
appId: string;
|
|
6
|
-
kind: "ServerSideApplication" | "ClientSideApplication";
|
|
7
|
-
orgId: string;
|
|
8
|
-
expectedRpId?: string | undefined;
|
|
9
|
-
name: string;
|
|
10
|
-
isActive: boolean;
|
|
11
|
-
expectedOrigin?: string | undefined;
|
|
12
|
-
permissionAssignments: {
|
|
13
|
-
permissionName: string;
|
|
14
|
-
permissionId: string;
|
|
15
|
-
assignmentId: string;
|
|
16
|
-
operations?: string[] | undefined;
|
|
17
|
-
}[];
|
|
18
|
-
accessTokens: {
|
|
19
|
-
accessToken?: string | undefined;
|
|
20
|
-
dateCreated: string;
|
|
21
|
-
credId: string;
|
|
22
|
-
isActive: boolean;
|
|
23
|
-
kind: "Pat" | "ServiceAccount" | "Token" | "Code" | "Recovery" | "Temp" | "Application";
|
|
24
|
-
linkedUserId: string;
|
|
25
|
-
linkedAppId: string;
|
|
26
|
-
name: string;
|
|
27
|
-
orgId: string;
|
|
28
|
-
permissionAssignments: {
|
|
29
|
-
permissionName: string;
|
|
30
|
-
permissionId: string;
|
|
31
|
-
assignmentId: string;
|
|
32
|
-
operations?: string[] | undefined;
|
|
33
|
-
}[];
|
|
34
|
-
publicKey: string;
|
|
35
|
-
tokenId: string;
|
|
36
|
-
}[];
|
|
37
|
-
};
|
|
38
|
-
export type ActivateApplicationRequest = ActivateApplicationParams;
|
|
39
1
|
export type ActivateCredentialBody = {
|
|
40
2
|
credentialUuid: string;
|
|
41
3
|
};
|
|
@@ -133,44 +95,6 @@ export type ActivateUserResponse = {
|
|
|
133
95
|
}[];
|
|
134
96
|
};
|
|
135
97
|
export type ActivateUserRequest = ActivateUserParams;
|
|
136
|
-
export type ArchiveApplicationParams = {
|
|
137
|
-
appId: string;
|
|
138
|
-
};
|
|
139
|
-
export type ArchiveApplicationResponse = {
|
|
140
|
-
appId: string;
|
|
141
|
-
kind: "ServerSideApplication" | "ClientSideApplication";
|
|
142
|
-
orgId: string;
|
|
143
|
-
expectedRpId?: string | undefined;
|
|
144
|
-
name: string;
|
|
145
|
-
isActive: boolean;
|
|
146
|
-
expectedOrigin?: string | undefined;
|
|
147
|
-
permissionAssignments: {
|
|
148
|
-
permissionName: string;
|
|
149
|
-
permissionId: string;
|
|
150
|
-
assignmentId: string;
|
|
151
|
-
operations?: string[] | undefined;
|
|
152
|
-
}[];
|
|
153
|
-
accessTokens: {
|
|
154
|
-
accessToken?: string | undefined;
|
|
155
|
-
dateCreated: string;
|
|
156
|
-
credId: string;
|
|
157
|
-
isActive: boolean;
|
|
158
|
-
kind: "Pat" | "ServiceAccount" | "Token" | "Code" | "Recovery" | "Temp" | "Application";
|
|
159
|
-
linkedUserId: string;
|
|
160
|
-
linkedAppId: string;
|
|
161
|
-
name: string;
|
|
162
|
-
orgId: string;
|
|
163
|
-
permissionAssignments: {
|
|
164
|
-
permissionName: string;
|
|
165
|
-
permissionId: string;
|
|
166
|
-
assignmentId: string;
|
|
167
|
-
operations?: string[] | undefined;
|
|
168
|
-
}[];
|
|
169
|
-
publicKey: string;
|
|
170
|
-
tokenId: string;
|
|
171
|
-
}[];
|
|
172
|
-
};
|
|
173
|
-
export type ArchiveApplicationRequest = ArchiveApplicationParams;
|
|
174
98
|
export type ArchivePersonalAccessTokenParams = {
|
|
175
99
|
tokenId: string;
|
|
176
100
|
};
|
|
@@ -259,60 +183,6 @@ export type ArchiveUserResponse = {
|
|
|
259
183
|
}[];
|
|
260
184
|
};
|
|
261
185
|
export type ArchiveUserRequest = ArchiveUserParams;
|
|
262
|
-
export type CreateApplicationBody = {
|
|
263
|
-
name: string;
|
|
264
|
-
relyingPartyId?: string | undefined;
|
|
265
|
-
origin?: string | undefined;
|
|
266
|
-
permissionId?: string | undefined;
|
|
267
|
-
externalId?: string | undefined;
|
|
268
|
-
kind: "ClientSideApplication";
|
|
269
|
-
} | {
|
|
270
|
-
name: string;
|
|
271
|
-
relyingPartyId?: string | undefined;
|
|
272
|
-
origin?: string | undefined;
|
|
273
|
-
permissionId?: string | undefined;
|
|
274
|
-
externalId?: string | undefined;
|
|
275
|
-
kind: "ServerSideApplication";
|
|
276
|
-
publicKey: string;
|
|
277
|
-
daysValid?: number | undefined;
|
|
278
|
-
};
|
|
279
|
-
export type CreateApplicationResponse = {
|
|
280
|
-
appId: string;
|
|
281
|
-
kind: "ServerSideApplication" | "ClientSideApplication";
|
|
282
|
-
orgId: string;
|
|
283
|
-
expectedRpId?: string | undefined;
|
|
284
|
-
name: string;
|
|
285
|
-
isActive: boolean;
|
|
286
|
-
expectedOrigin?: string | undefined;
|
|
287
|
-
permissionAssignments: {
|
|
288
|
-
permissionName: string;
|
|
289
|
-
permissionId: string;
|
|
290
|
-
assignmentId: string;
|
|
291
|
-
operations?: string[] | undefined;
|
|
292
|
-
}[];
|
|
293
|
-
accessTokens: {
|
|
294
|
-
accessToken?: string | undefined;
|
|
295
|
-
dateCreated: string;
|
|
296
|
-
credId: string;
|
|
297
|
-
isActive: boolean;
|
|
298
|
-
kind: "Pat" | "ServiceAccount" | "Token" | "Code" | "Recovery" | "Temp" | "Application";
|
|
299
|
-
linkedUserId: string;
|
|
300
|
-
linkedAppId: string;
|
|
301
|
-
name: string;
|
|
302
|
-
orgId: string;
|
|
303
|
-
permissionAssignments: {
|
|
304
|
-
permissionName: string;
|
|
305
|
-
permissionId: string;
|
|
306
|
-
assignmentId: string;
|
|
307
|
-
operations?: string[] | undefined;
|
|
308
|
-
}[];
|
|
309
|
-
publicKey: string;
|
|
310
|
-
tokenId: string;
|
|
311
|
-
}[];
|
|
312
|
-
};
|
|
313
|
-
export type CreateApplicationRequest = {
|
|
314
|
-
body: CreateApplicationBody;
|
|
315
|
-
};
|
|
316
186
|
export type CreateCredentialBody = {
|
|
317
187
|
credentialKind: "Fido2";
|
|
318
188
|
credentialInfo: {
|
|
@@ -816,19 +686,19 @@ export type CreateLoginChallengeResponse = {
|
|
|
816
686
|
userVerification: "required" | "preferred" | "discouraged";
|
|
817
687
|
attestation: "none" | "indirect" | "direct" | "enterprise";
|
|
818
688
|
allowCredentials: {
|
|
819
|
-
key
|
|
689
|
+
key: {
|
|
820
690
|
type: "public-key";
|
|
821
691
|
id: string;
|
|
822
|
-
}[]
|
|
692
|
+
}[];
|
|
823
693
|
passwordProtectedKey?: {
|
|
824
694
|
type: "public-key";
|
|
825
695
|
id: string;
|
|
826
696
|
encryptedPrivateKey: string;
|
|
827
697
|
}[] | undefined;
|
|
828
|
-
webauthn
|
|
698
|
+
webauthn: {
|
|
829
699
|
type: "public-key";
|
|
830
700
|
id: string;
|
|
831
|
-
}[]
|
|
701
|
+
}[];
|
|
832
702
|
};
|
|
833
703
|
externalAuthenticationUrl: string;
|
|
834
704
|
};
|
|
@@ -1002,6 +872,7 @@ export type CreateServiceAccountRequest = {
|
|
|
1002
872
|
body: CreateServiceAccountBody;
|
|
1003
873
|
};
|
|
1004
874
|
export type CreateSocialRegistrationChallengeBody = {
|
|
875
|
+
orgId?: string | undefined;
|
|
1005
876
|
socialLoginProviderKind: "Oidc";
|
|
1006
877
|
idToken: string;
|
|
1007
878
|
};
|
|
@@ -1089,19 +960,19 @@ export type CreateUserActionChallengeResponse = {
|
|
|
1089
960
|
userVerification: "required" | "preferred" | "discouraged";
|
|
1090
961
|
attestation: "none" | "indirect" | "direct" | "enterprise";
|
|
1091
962
|
allowCredentials: {
|
|
1092
|
-
key
|
|
963
|
+
key: {
|
|
1093
964
|
type: "public-key";
|
|
1094
965
|
id: string;
|
|
1095
|
-
}[]
|
|
966
|
+
}[];
|
|
1096
967
|
passwordProtectedKey?: {
|
|
1097
968
|
type: "public-key";
|
|
1098
969
|
id: string;
|
|
1099
970
|
encryptedPrivateKey: string;
|
|
1100
971
|
}[] | undefined;
|
|
1101
|
-
webauthn
|
|
972
|
+
webauthn: {
|
|
1102
973
|
type: "public-key";
|
|
1103
974
|
id: string;
|
|
1104
|
-
}[]
|
|
975
|
+
}[];
|
|
1105
976
|
};
|
|
1106
977
|
externalAuthenticationUrl: string;
|
|
1107
978
|
};
|
|
@@ -1177,44 +1048,6 @@ export type CreateUserActionSignatureResponse = {
|
|
|
1177
1048
|
export type CreateUserActionSignatureRequest = {
|
|
1178
1049
|
body: CreateUserActionSignatureBody;
|
|
1179
1050
|
};
|
|
1180
|
-
export type DeactivateApplicationParams = {
|
|
1181
|
-
appId: string;
|
|
1182
|
-
};
|
|
1183
|
-
export type DeactivateApplicationResponse = {
|
|
1184
|
-
appId: string;
|
|
1185
|
-
kind: "ServerSideApplication" | "ClientSideApplication";
|
|
1186
|
-
orgId: string;
|
|
1187
|
-
expectedRpId?: string | undefined;
|
|
1188
|
-
name: string;
|
|
1189
|
-
isActive: boolean;
|
|
1190
|
-
expectedOrigin?: string | undefined;
|
|
1191
|
-
permissionAssignments: {
|
|
1192
|
-
permissionName: string;
|
|
1193
|
-
permissionId: string;
|
|
1194
|
-
assignmentId: string;
|
|
1195
|
-
operations?: string[] | undefined;
|
|
1196
|
-
}[];
|
|
1197
|
-
accessTokens: {
|
|
1198
|
-
accessToken?: string | undefined;
|
|
1199
|
-
dateCreated: string;
|
|
1200
|
-
credId: string;
|
|
1201
|
-
isActive: boolean;
|
|
1202
|
-
kind: "Pat" | "ServiceAccount" | "Token" | "Code" | "Recovery" | "Temp" | "Application";
|
|
1203
|
-
linkedUserId: string;
|
|
1204
|
-
linkedAppId: string;
|
|
1205
|
-
name: string;
|
|
1206
|
-
orgId: string;
|
|
1207
|
-
permissionAssignments: {
|
|
1208
|
-
permissionName: string;
|
|
1209
|
-
permissionId: string;
|
|
1210
|
-
assignmentId: string;
|
|
1211
|
-
operations?: string[] | undefined;
|
|
1212
|
-
}[];
|
|
1213
|
-
publicKey: string;
|
|
1214
|
-
tokenId: string;
|
|
1215
|
-
}[];
|
|
1216
|
-
};
|
|
1217
|
-
export type DeactivateApplicationRequest = DeactivateApplicationParams;
|
|
1218
1051
|
export type DeactivateCredentialBody = {
|
|
1219
1052
|
credentialUuid: string;
|
|
1220
1053
|
};
|
|
@@ -2048,6 +1881,7 @@ export type SendRecoveryCodeRequest = {
|
|
|
2048
1881
|
body: SendRecoveryCodeBody;
|
|
2049
1882
|
};
|
|
2050
1883
|
export type SocialLoginBody = {
|
|
1884
|
+
orgId?: string | undefined;
|
|
2051
1885
|
socialLoginProviderKind: "Oidc";
|
|
2052
1886
|
idToken: string;
|
|
2053
1887
|
};
|
|
@@ -2057,50 +1891,6 @@ export type SocialLoginResponse = {
|
|
|
2057
1891
|
export type SocialLoginRequest = {
|
|
2058
1892
|
body: SocialLoginBody;
|
|
2059
1893
|
};
|
|
2060
|
-
export type UpdateApplicationBody = {
|
|
2061
|
-
externalId?: string | undefined;
|
|
2062
|
-
name?: string | undefined;
|
|
2063
|
-
};
|
|
2064
|
-
export type UpdateApplicationParams = {
|
|
2065
|
-
appId: string;
|
|
2066
|
-
};
|
|
2067
|
-
export type UpdateApplicationResponse = {
|
|
2068
|
-
appId: string;
|
|
2069
|
-
kind: "ServerSideApplication" | "ClientSideApplication";
|
|
2070
|
-
orgId: string;
|
|
2071
|
-
expectedRpId?: string | undefined;
|
|
2072
|
-
name: string;
|
|
2073
|
-
isActive: boolean;
|
|
2074
|
-
expectedOrigin?: string | undefined;
|
|
2075
|
-
permissionAssignments: {
|
|
2076
|
-
permissionName: string;
|
|
2077
|
-
permissionId: string;
|
|
2078
|
-
assignmentId: string;
|
|
2079
|
-
operations?: string[] | undefined;
|
|
2080
|
-
}[];
|
|
2081
|
-
accessTokens: {
|
|
2082
|
-
accessToken?: string | undefined;
|
|
2083
|
-
dateCreated: string;
|
|
2084
|
-
credId: string;
|
|
2085
|
-
isActive: boolean;
|
|
2086
|
-
kind: "Pat" | "ServiceAccount" | "Token" | "Code" | "Recovery" | "Temp" | "Application";
|
|
2087
|
-
linkedUserId: string;
|
|
2088
|
-
linkedAppId: string;
|
|
2089
|
-
name: string;
|
|
2090
|
-
orgId: string;
|
|
2091
|
-
permissionAssignments: {
|
|
2092
|
-
permissionName: string;
|
|
2093
|
-
permissionId: string;
|
|
2094
|
-
assignmentId: string;
|
|
2095
|
-
operations?: string[] | undefined;
|
|
2096
|
-
}[];
|
|
2097
|
-
publicKey: string;
|
|
2098
|
-
tokenId: string;
|
|
2099
|
-
}[];
|
|
2100
|
-
};
|
|
2101
|
-
export type UpdateApplicationRequest = UpdateApplicationParams & {
|
|
2102
|
-
body: UpdateApplicationBody;
|
|
2103
|
-
};
|
|
2104
1894
|
export type UpdatePersonalAccessTokenBody = {
|
|
2105
1895
|
name?: string | undefined;
|
|
2106
1896
|
externalId?: string | undefined;
|
|
@@ -90,7 +90,6 @@ export type CreateDepositResponse = {
|
|
|
90
90
|
requester: {
|
|
91
91
|
userId: string;
|
|
92
92
|
tokenId?: string | undefined;
|
|
93
|
-
appId?: string | undefined;
|
|
94
93
|
};
|
|
95
94
|
requestBody: {
|
|
96
95
|
kind: "Native";
|
|
@@ -291,7 +290,6 @@ export type CreateWithdrawalResponse = {
|
|
|
291
290
|
requester: {
|
|
292
291
|
userId: string;
|
|
293
292
|
tokenId?: string | undefined;
|
|
294
|
-
appId?: string | undefined;
|
|
295
293
|
};
|
|
296
294
|
requestBody: {
|
|
297
295
|
kind: "Native";
|
|
@@ -446,7 +444,7 @@ export type ListAssetWithdrawalNetworksResponse = (({
|
|
|
446
444
|
kind: "Erc20" | "Trc20";
|
|
447
445
|
contract: string;
|
|
448
446
|
} | {
|
|
449
|
-
kind: "LockedCoin";
|
|
447
|
+
kind: "Coin" | "LockedCoin";
|
|
450
448
|
coin: string;
|
|
451
449
|
} | {
|
|
452
450
|
kind: "Sep41";
|
|
@@ -174,7 +174,6 @@ export type GenerateSignatureResponse = {
|
|
|
174
174
|
requester: {
|
|
175
175
|
userId: string;
|
|
176
176
|
tokenId?: string | undefined;
|
|
177
|
-
appId?: string | undefined;
|
|
178
177
|
};
|
|
179
178
|
requestBody: {
|
|
180
179
|
kind: "Hash";
|
|
@@ -309,7 +308,6 @@ export type GetSignatureResponse = {
|
|
|
309
308
|
requester: {
|
|
310
309
|
userId: string;
|
|
311
310
|
tokenId?: string | undefined;
|
|
312
|
-
appId?: string | undefined;
|
|
313
311
|
};
|
|
314
312
|
requestBody: {
|
|
315
313
|
kind: "Hash";
|
|
@@ -476,7 +474,6 @@ export type ListSignaturesResponse = {
|
|
|
476
474
|
requester: {
|
|
477
475
|
userId: string;
|
|
478
476
|
tokenId?: string | undefined;
|
|
479
|
-
appId?: string | undefined;
|
|
480
477
|
};
|
|
481
478
|
requestBody: {
|
|
482
479
|
kind: "Hash";
|
|
@@ -36,7 +36,7 @@ export type CreateAssignmentRequest = CreateAssignmentParams & {
|
|
|
36
36
|
};
|
|
37
37
|
export type CreatePermissionBody = {
|
|
38
38
|
name: string;
|
|
39
|
-
operations: ("Auth:Action:Sign" | "Auth:Apps:
|
|
39
|
+
operations: (("Auth:Action:Sign" | "Auth:Apps:Read" | "Auth:Apps:Create" | "Auth:Apps:Update" | "Auth:Creds:Create" | "Auth:Creds:Read" | "Auth:Creds:Update" | "Auth:Creds:Code:Create" | "Auth:Types:Application" | "Auth:Types:Employee" | "Auth:Types:EndUser" | "Auth:Types:Pat" | "Auth:Types:ServiceAccount" | "Auth:Users:Create" | "Auth:Users:Delegate" | "Auth:Users:Read" | "Auth:Users:Update" | "Exchanges:Create" | "Exchanges:Read" | "Exchanges:Delete" | "Exchanges:Deposits:Create" | "Exchanges:Withdrawals:Create" | "FeeSponsors:Create" | "FeeSponsors:Read" | "FeeSponsors:Update" | "FeeSponsors:Delete" | "Orgs:Read" | "Orgs:Update" | "Orgs:Settings:Read" | "Orgs:Settings:Update" | "PermissionAssignments:Create" | "PermissionAssignments:Read" | "PermissionAssignments:Revoke" | "Permissions:Archive" | "Permissions:Create" | "Permissions:Read" | "Permissions:Update" | "Policies:Archive" | "Policies:Create" | "Policies:Read" | "Policies:Update" | "Policies:Approvals:Read" | "Policies:Approvals:Approve" | "Signers:ListSigners" | "Stakes:Create" | "Stakes:Read" | "Stakes:Update" | "Keys:Create" | "Keys:Delete" | "Keys:Read" | "Keys:Update" | "Keys:Reuse" | "Keys:Delegate" | "Keys:Import" | "Keys:Export" | "Keys:Derive" | "Keys:Signatures:Create" | "Keys:Signatures:Read" | "Networks:CantonValidators:Create" | "Networks:CantonValidators:Read" | "Wallets:Create" | "Wallets:Read" | "Wallets:Update" | "Wallets:Tags:Add" | "Wallets:Tags:Delete" | "Wallets:Transactions:Create" | "Wallets:Transactions:Read" | "Wallets:Transfers:Create" | "Wallets:Transfers:Read" | "Webhooks:Create" | "Webhooks:Read" | "Webhooks:Update" | "Webhooks:Delete" | "Webhooks:Ping" | "Webhooks:Events:Read" | "Billing:Read" | "Billing:Write") | ("Wallets:GenerateSignature" | "Wallets:BroadcastTransaction"))[];
|
|
40
40
|
};
|
|
41
41
|
export type CreatePermissionResponse = {
|
|
42
42
|
id: string;
|
|
@@ -178,7 +178,7 @@ export type ListPermissionsRequest = {
|
|
|
178
178
|
};
|
|
179
179
|
export type UpdatePermissionBody = {
|
|
180
180
|
name?: string | undefined;
|
|
181
|
-
operations?: ("Auth:Action:Sign" | "Auth:Apps:
|
|
181
|
+
operations?: (("Auth:Action:Sign" | "Auth:Apps:Read" | "Auth:Apps:Create" | "Auth:Apps:Update" | "Auth:Creds:Create" | "Auth:Creds:Read" | "Auth:Creds:Update" | "Auth:Creds:Code:Create" | "Auth:Types:Application" | "Auth:Types:Employee" | "Auth:Types:EndUser" | "Auth:Types:Pat" | "Auth:Types:ServiceAccount" | "Auth:Users:Create" | "Auth:Users:Delegate" | "Auth:Users:Read" | "Auth:Users:Update" | "Exchanges:Create" | "Exchanges:Read" | "Exchanges:Delete" | "Exchanges:Deposits:Create" | "Exchanges:Withdrawals:Create" | "FeeSponsors:Create" | "FeeSponsors:Read" | "FeeSponsors:Update" | "FeeSponsors:Delete" | "Orgs:Read" | "Orgs:Update" | "Orgs:Settings:Read" | "Orgs:Settings:Update" | "PermissionAssignments:Create" | "PermissionAssignments:Read" | "PermissionAssignments:Revoke" | "Permissions:Archive" | "Permissions:Create" | "Permissions:Read" | "Permissions:Update" | "Policies:Archive" | "Policies:Create" | "Policies:Read" | "Policies:Update" | "Policies:Approvals:Read" | "Policies:Approvals:Approve" | "Signers:ListSigners" | "Stakes:Create" | "Stakes:Read" | "Stakes:Update" | "Keys:Create" | "Keys:Delete" | "Keys:Read" | "Keys:Update" | "Keys:Reuse" | "Keys:Delegate" | "Keys:Import" | "Keys:Export" | "Keys:Derive" | "Keys:Signatures:Create" | "Keys:Signatures:Read" | "Networks:CantonValidators:Create" | "Networks:CantonValidators:Read" | "Wallets:Create" | "Wallets:Read" | "Wallets:Update" | "Wallets:Tags:Add" | "Wallets:Tags:Delete" | "Wallets:Transactions:Create" | "Wallets:Transactions:Read" | "Wallets:Transfers:Create" | "Wallets:Transfers:Read" | "Webhooks:Create" | "Webhooks:Read" | "Webhooks:Update" | "Webhooks:Delete" | "Webhooks:Ping" | "Webhooks:Events:Read" | "Billing:Read" | "Billing:Write") | ("Wallets:GenerateSignature" | "Wallets:BroadcastTransaction"))[] | undefined;
|
|
182
182
|
};
|
|
183
183
|
export type UpdatePermissionParams = {
|
|
184
184
|
permissionId: string;
|