@dfns/sdk 0.5.2 → 0.5.3
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/generated/auth/client.d.ts +1 -1
- package/generated/auth/client.js +12 -12
- package/generated/auth/delegatedClient.d.ts +1 -2
- package/generated/auth/delegatedClient.js +12 -27
- package/generated/auth/types.d.ts +204 -67
- package/generated/permissions/types.d.ts +2 -2
- package/generated/policies/types.d.ts +33 -30
- package/generated/wallets/types.d.ts +5 -0
- package/package.json +1 -1
|
@@ -72,10 +72,10 @@ export declare class AuthClient {
|
|
|
72
72
|
createUserRegistration(request: T.RegisterRequest): Promise<T.RegisterResponse>;
|
|
73
73
|
registerEndUser(request: T.RegisterEndUserRequest): Promise<T.RegisterEndUserResponse>;
|
|
74
74
|
resendRegistrationCode(request: T.ResendRegistrationCodeRequest): Promise<T.ResendRegistrationCodeResponse>;
|
|
75
|
+
sendLoginCode(request: T.SendLoginCodeRequest): Promise<T.SendLoginCodeResponse>;
|
|
75
76
|
sendRecoveryCode(request: T.SendRecoveryCodeRequest): Promise<T.SendRecoveryCodeResponse>;
|
|
76
77
|
socialLogin(request: T.SocialLoginRequest): Promise<T.SocialLoginResponse>;
|
|
77
78
|
updateApplication(request: T.UpdateApplicationRequest): Promise<T.UpdateApplicationResponse>;
|
|
78
79
|
updatePersonalAccessToken(request: T.UpdatePersonalAccessTokenRequest): Promise<T.UpdatePersonalAccessTokenResponse>;
|
|
79
80
|
updateServiceAccount(request: T.UpdateServiceAccountRequest): Promise<T.UpdateServiceAccountResponse>;
|
|
80
|
-
updateUser(request: T.UpdateUserRequest): Promise<T.UpdateUserResponse>;
|
|
81
81
|
}
|
package/generated/auth/client.js
CHANGED
|
@@ -625,6 +625,18 @@ class AuthClient {
|
|
|
625
625
|
});
|
|
626
626
|
return response.json();
|
|
627
627
|
}
|
|
628
|
+
async sendLoginCode(request) {
|
|
629
|
+
const path = (0, url_1.buildPathAndQuery)('/auth/login/code', {
|
|
630
|
+
path: request ?? {},
|
|
631
|
+
query: {},
|
|
632
|
+
});
|
|
633
|
+
const response = await (0, fetch_1.simpleFetch)(path, {
|
|
634
|
+
method: 'POST',
|
|
635
|
+
body: request.body,
|
|
636
|
+
apiOptions: this.apiOptions,
|
|
637
|
+
});
|
|
638
|
+
return response.json();
|
|
639
|
+
}
|
|
628
640
|
async sendRecoveryCode(request) {
|
|
629
641
|
const path = (0, url_1.buildPathAndQuery)('/auth/recover/user/code', {
|
|
630
642
|
path: request ?? {},
|
|
@@ -685,17 +697,5 @@ class AuthClient {
|
|
|
685
697
|
});
|
|
686
698
|
return response.json();
|
|
687
699
|
}
|
|
688
|
-
async updateUser(request) {
|
|
689
|
-
const path = (0, url_1.buildPathAndQuery)('/auth/users/:userId', {
|
|
690
|
-
path: request ?? {},
|
|
691
|
-
query: {},
|
|
692
|
-
});
|
|
693
|
-
const response = await (0, fetch_1.userActionFetch)(path, {
|
|
694
|
-
method: 'PUT',
|
|
695
|
-
body: request.body,
|
|
696
|
-
apiOptions: this.apiOptions,
|
|
697
|
-
});
|
|
698
|
-
return response.json();
|
|
699
|
-
}
|
|
700
700
|
}
|
|
701
701
|
exports.AuthClient = AuthClient;
|
|
@@ -88,6 +88,7 @@ export declare class DelegatedAuthClient {
|
|
|
88
88
|
registerEndUser(request: T.RegisterEndUserRequest): Promise<T.RegisterEndUserResponse>;
|
|
89
89
|
resendRegistrationCodeInit(request: T.ResendRegistrationCodeRequest): Promise<UserActionChallengeResponse>;
|
|
90
90
|
resendRegistrationCodeComplete(request: T.ResendRegistrationCodeRequest, signedChallenge: SignUserActionChallengeRequest): Promise<T.ResendRegistrationCodeResponse>;
|
|
91
|
+
sendLoginCode(request: T.SendLoginCodeRequest): Promise<T.SendLoginCodeResponse>;
|
|
91
92
|
sendRecoveryCode(request: T.SendRecoveryCodeRequest): Promise<T.SendRecoveryCodeResponse>;
|
|
92
93
|
socialLogin(request: T.SocialLoginRequest): Promise<T.SocialLoginResponse>;
|
|
93
94
|
updateApplicationInit(request: T.UpdateApplicationRequest): Promise<UserActionChallengeResponse>;
|
|
@@ -96,6 +97,4 @@ export declare class DelegatedAuthClient {
|
|
|
96
97
|
updatePersonalAccessTokenComplete(request: T.UpdatePersonalAccessTokenRequest, signedChallenge: SignUserActionChallengeRequest): Promise<T.UpdatePersonalAccessTokenResponse>;
|
|
97
98
|
updateServiceAccountInit(request: T.UpdateServiceAccountRequest): Promise<UserActionChallengeResponse>;
|
|
98
99
|
updateServiceAccountComplete(request: T.UpdateServiceAccountRequest, signedChallenge: SignUserActionChallengeRequest): Promise<T.UpdateServiceAccountResponse>;
|
|
99
|
-
updateUserInit(request: T.UpdateUserRequest): Promise<UserActionChallengeResponse>;
|
|
100
|
-
updateUserComplete(request: T.UpdateUserRequest, signedChallenge: SignUserActionChallengeRequest): Promise<T.UpdateUserResponse>;
|
|
101
100
|
}
|
|
@@ -981,6 +981,18 @@ class DelegatedAuthClient {
|
|
|
981
981
|
});
|
|
982
982
|
return response.json();
|
|
983
983
|
}
|
|
984
|
+
async sendLoginCode(request) {
|
|
985
|
+
const path = (0, url_1.buildPathAndQuery)('/auth/login/code', {
|
|
986
|
+
path: request ?? {},
|
|
987
|
+
query: {},
|
|
988
|
+
});
|
|
989
|
+
const response = await (0, fetch_1.simpleFetch)(path, {
|
|
990
|
+
method: 'POST',
|
|
991
|
+
body: request.body,
|
|
992
|
+
apiOptions: this.apiOptions,
|
|
993
|
+
});
|
|
994
|
+
return response.json();
|
|
995
|
+
}
|
|
984
996
|
async sendRecoveryCode(request) {
|
|
985
997
|
const path = (0, url_1.buildPathAndQuery)('/auth/recover/user/code', {
|
|
986
998
|
path: request ?? {},
|
|
@@ -1086,32 +1098,5 @@ class DelegatedAuthClient {
|
|
|
1086
1098
|
});
|
|
1087
1099
|
return response.json();
|
|
1088
1100
|
}
|
|
1089
|
-
async updateUserInit(request) {
|
|
1090
|
-
const path = (0, url_1.buildPathAndQuery)('/auth/users/:userId', {
|
|
1091
|
-
path: request ?? {},
|
|
1092
|
-
query: {},
|
|
1093
|
-
});
|
|
1094
|
-
const challenge = await baseAuthApi_1.BaseAuthApi.createUserActionChallenge({
|
|
1095
|
-
userActionHttpMethod: 'PUT',
|
|
1096
|
-
userActionHttpPath: path,
|
|
1097
|
-
userActionPayload: JSON.stringify(request.body),
|
|
1098
|
-
userActionServerKind: 'Api',
|
|
1099
|
-
}, this.apiOptions);
|
|
1100
|
-
return challenge;
|
|
1101
|
-
}
|
|
1102
|
-
async updateUserComplete(request, signedChallenge) {
|
|
1103
|
-
const path = (0, url_1.buildPathAndQuery)('/auth/users/:userId', {
|
|
1104
|
-
path: request ?? {},
|
|
1105
|
-
query: {},
|
|
1106
|
-
});
|
|
1107
|
-
const { userAction } = await baseAuthApi_1.BaseAuthApi.signUserActionChallenge(signedChallenge, this.apiOptions);
|
|
1108
|
-
const response = await (0, fetch_1.simpleFetch)(path, {
|
|
1109
|
-
method: 'PUT',
|
|
1110
|
-
body: request.body,
|
|
1111
|
-
headers: { 'x-dfns-useraction': userAction },
|
|
1112
|
-
apiOptions: this.apiOptions,
|
|
1113
|
-
});
|
|
1114
|
-
return response.json();
|
|
1115
|
-
}
|
|
1116
1101
|
}
|
|
1117
1102
|
exports.DelegatedAuthClient = DelegatedAuthClient;
|
|
@@ -74,12 +74,12 @@ export type ActivateServiceAccountParams = {
|
|
|
74
74
|
export type ActivateServiceAccountResponse = {
|
|
75
75
|
userInfo: {
|
|
76
76
|
username: string;
|
|
77
|
+
name: string;
|
|
77
78
|
userId: string;
|
|
78
79
|
kind: "EndUser" | "CustomerEmployee" | "DfnsStaff";
|
|
79
80
|
credentialUuid: string;
|
|
80
81
|
orgId: string;
|
|
81
82
|
permissions?: string[] | undefined;
|
|
82
|
-
scopes?: string[] | undefined;
|
|
83
83
|
isActive: boolean;
|
|
84
84
|
isServiceAccount: boolean;
|
|
85
85
|
isRegistered: boolean;
|
|
@@ -116,12 +116,12 @@ export type ActivateUserParams = {
|
|
|
116
116
|
};
|
|
117
117
|
export type ActivateUserResponse = {
|
|
118
118
|
username: string;
|
|
119
|
+
name: string;
|
|
119
120
|
userId: string;
|
|
120
121
|
kind: "EndUser" | "CustomerEmployee" | "DfnsStaff";
|
|
121
122
|
credentialUuid: string;
|
|
122
123
|
orgId: string;
|
|
123
124
|
permissions?: string[] | undefined;
|
|
124
|
-
scopes?: string[] | undefined;
|
|
125
125
|
isActive: boolean;
|
|
126
126
|
isServiceAccount: boolean;
|
|
127
127
|
isRegistered: boolean;
|
|
@@ -200,12 +200,12 @@ export type ArchiveServiceAccountParams = {
|
|
|
200
200
|
export type ArchiveServiceAccountResponse = {
|
|
201
201
|
userInfo: {
|
|
202
202
|
username: string;
|
|
203
|
+
name: string;
|
|
203
204
|
userId: string;
|
|
204
205
|
kind: "EndUser" | "CustomerEmployee" | "DfnsStaff";
|
|
205
206
|
credentialUuid: string;
|
|
206
207
|
orgId: string;
|
|
207
208
|
permissions?: string[] | undefined;
|
|
208
|
-
scopes?: string[] | undefined;
|
|
209
209
|
isActive: boolean;
|
|
210
210
|
isServiceAccount: boolean;
|
|
211
211
|
isRegistered: boolean;
|
|
@@ -242,12 +242,12 @@ export type ArchiveUserParams = {
|
|
|
242
242
|
};
|
|
243
243
|
export type ArchiveUserResponse = {
|
|
244
244
|
username: string;
|
|
245
|
+
name: string;
|
|
245
246
|
userId: string;
|
|
246
247
|
kind: "EndUser" | "CustomerEmployee" | "DfnsStaff";
|
|
247
248
|
credentialUuid: string;
|
|
248
249
|
orgId: string;
|
|
249
250
|
permissions?: string[] | undefined;
|
|
250
|
-
scopes?: string[] | undefined;
|
|
251
251
|
isActive: boolean;
|
|
252
252
|
isServiceAccount: boolean;
|
|
253
253
|
isRegistered: boolean;
|
|
@@ -331,6 +331,16 @@ export type CreateCredentialBody = {
|
|
|
331
331
|
};
|
|
332
332
|
credentialName: string;
|
|
333
333
|
challengeIdentifier: string;
|
|
334
|
+
} | {
|
|
335
|
+
credentialKind: "PasswordProtectedKey";
|
|
336
|
+
credentialInfo: {
|
|
337
|
+
credId: string;
|
|
338
|
+
clientData: string;
|
|
339
|
+
attestationData: string;
|
|
340
|
+
};
|
|
341
|
+
encryptedPrivateKey: string;
|
|
342
|
+
credentialName: string;
|
|
343
|
+
challengeIdentifier: string;
|
|
334
344
|
} | {
|
|
335
345
|
credentialKind: "Password";
|
|
336
346
|
credentialInfo: {
|
|
@@ -357,7 +367,7 @@ export type CreateCredentialBody = {
|
|
|
357
367
|
challengeIdentifier: string;
|
|
358
368
|
};
|
|
359
369
|
export type CreateCredentialResponse = {
|
|
360
|
-
kind: "Fido2" | "Key" | "Password" | "Totp" | "RecoveryKey";
|
|
370
|
+
kind: "Fido2" | "Key" | "Password" | "Totp" | "RecoveryKey" | "PasswordProtectedKey";
|
|
361
371
|
credentialId: string;
|
|
362
372
|
credentialUuid: string;
|
|
363
373
|
dateCreated: string;
|
|
@@ -371,7 +381,7 @@ export type CreateCredentialRequest = {
|
|
|
371
381
|
body: CreateCredentialBody;
|
|
372
382
|
};
|
|
373
383
|
export type CreateCredentialChallengeBody = {
|
|
374
|
-
kind: "Fido2" | "Key" | "Password" | "Totp" | "RecoveryKey";
|
|
384
|
+
kind: "Fido2" | "Key" | "Password" | "Totp" | "RecoveryKey" | "PasswordProtectedKey";
|
|
375
385
|
};
|
|
376
386
|
export type CreateCredentialChallengeResponse = {
|
|
377
387
|
kind: "Password";
|
|
@@ -453,6 +463,26 @@ export type CreateCredentialChallengeResponse = {
|
|
|
453
463
|
}[];
|
|
454
464
|
/** @deprecated use challengeIdentifier instead */
|
|
455
465
|
temporaryAuthenticationToken: string;
|
|
466
|
+
} | {
|
|
467
|
+
kind: "PasswordProtectedKey";
|
|
468
|
+
user: {
|
|
469
|
+
id: string;
|
|
470
|
+
displayName: string;
|
|
471
|
+
name: string;
|
|
472
|
+
};
|
|
473
|
+
challengeIdentifier: string;
|
|
474
|
+
challenge: string;
|
|
475
|
+
rp: {
|
|
476
|
+
id: string;
|
|
477
|
+
name: string;
|
|
478
|
+
};
|
|
479
|
+
attestation: "none" | "indirect" | "direct" | "enterprise";
|
|
480
|
+
pubKeyCredParams: {
|
|
481
|
+
type: "public-key";
|
|
482
|
+
alg: number;
|
|
483
|
+
}[];
|
|
484
|
+
/** @deprecated use challengeIdentifier instead */
|
|
485
|
+
temporaryAuthenticationToken: string;
|
|
456
486
|
} | {
|
|
457
487
|
kind: "RecoveryKey";
|
|
458
488
|
user: {
|
|
@@ -478,7 +508,7 @@ export type CreateCredentialChallengeRequest = {
|
|
|
478
508
|
body: CreateCredentialChallengeBody;
|
|
479
509
|
};
|
|
480
510
|
export type CreateCredentialChallengeWithCodeBody = {
|
|
481
|
-
credentialKind: "Fido2" | "Key" | "Password" | "Totp" | "RecoveryKey";
|
|
511
|
+
credentialKind: "Fido2" | "Key" | "Password" | "Totp" | "RecoveryKey" | "PasswordProtectedKey";
|
|
482
512
|
code: string;
|
|
483
513
|
};
|
|
484
514
|
export type CreateCredentialChallengeWithCodeResponse = {
|
|
@@ -561,6 +591,26 @@ export type CreateCredentialChallengeWithCodeResponse = {
|
|
|
561
591
|
}[];
|
|
562
592
|
/** @deprecated use challengeIdentifier instead */
|
|
563
593
|
temporaryAuthenticationToken: string;
|
|
594
|
+
} | {
|
|
595
|
+
kind: "PasswordProtectedKey";
|
|
596
|
+
user: {
|
|
597
|
+
id: string;
|
|
598
|
+
displayName: string;
|
|
599
|
+
name: string;
|
|
600
|
+
};
|
|
601
|
+
challengeIdentifier: string;
|
|
602
|
+
challenge: string;
|
|
603
|
+
rp: {
|
|
604
|
+
id: string;
|
|
605
|
+
name: string;
|
|
606
|
+
};
|
|
607
|
+
attestation: "none" | "indirect" | "direct" | "enterprise";
|
|
608
|
+
pubKeyCredParams: {
|
|
609
|
+
type: "public-key";
|
|
610
|
+
alg: number;
|
|
611
|
+
}[];
|
|
612
|
+
/** @deprecated use challengeIdentifier instead */
|
|
613
|
+
temporaryAuthenticationToken: string;
|
|
564
614
|
} | {
|
|
565
615
|
kind: "RecoveryKey";
|
|
566
616
|
user: {
|
|
@@ -614,6 +664,16 @@ export type CreateCredentialWithCodeBody = {
|
|
|
614
664
|
};
|
|
615
665
|
credentialName: string;
|
|
616
666
|
challengeIdentifier: string;
|
|
667
|
+
} | {
|
|
668
|
+
credentialKind: "PasswordProtectedKey";
|
|
669
|
+
credentialInfo: {
|
|
670
|
+
credId: string;
|
|
671
|
+
clientData: string;
|
|
672
|
+
attestationData: string;
|
|
673
|
+
};
|
|
674
|
+
encryptedPrivateKey: string;
|
|
675
|
+
credentialName: string;
|
|
676
|
+
challengeIdentifier: string;
|
|
617
677
|
} | {
|
|
618
678
|
credentialKind: "Password";
|
|
619
679
|
credentialInfo: {
|
|
@@ -640,7 +700,7 @@ export type CreateCredentialWithCodeBody = {
|
|
|
640
700
|
challengeIdentifier: string;
|
|
641
701
|
};
|
|
642
702
|
export type CreateCredentialWithCodeResponse = {
|
|
643
|
-
kind: "Fido2" | "Key" | "Password" | "Totp" | "RecoveryKey";
|
|
703
|
+
kind: "Fido2" | "Key" | "Password" | "Totp" | "RecoveryKey" | "PasswordProtectedKey";
|
|
644
704
|
credentialId: string;
|
|
645
705
|
credentialUuid: string;
|
|
646
706
|
dateCreated: string;
|
|
@@ -670,8 +730,8 @@ export type CreateDelegatedRecoveryChallengeResponse = {
|
|
|
670
730
|
name: string;
|
|
671
731
|
};
|
|
672
732
|
supportedCredentialKinds: {
|
|
673
|
-
firstFactor: ("Fido2" | "Key" | "Password" | "Totp" | "RecoveryKey")[];
|
|
674
|
-
secondFactor: ("Fido2" | "Key" | "Password" | "Totp" | "RecoveryKey")[];
|
|
733
|
+
firstFactor: ("Fido2" | "Key" | "Password" | "Totp" | "RecoveryKey" | "PasswordProtectedKey")[];
|
|
734
|
+
secondFactor: ("Fido2" | "Key" | "Password" | "Totp" | "RecoveryKey" | "PasswordProtectedKey")[];
|
|
675
735
|
};
|
|
676
736
|
authenticatorSelection: {
|
|
677
737
|
authenticatorAttachment?: ("platform" | "cross-platform") | undefined;
|
|
@@ -716,8 +776,8 @@ export type CreateDelegatedRegistrationChallengeResponse = {
|
|
|
716
776
|
name: string;
|
|
717
777
|
};
|
|
718
778
|
supportedCredentialKinds: {
|
|
719
|
-
firstFactor: ("Fido2" | "Key" | "Password" | "Totp" | "RecoveryKey")[];
|
|
720
|
-
secondFactor: ("Fido2" | "Key" | "Password" | "Totp" | "RecoveryKey")[];
|
|
779
|
+
firstFactor: ("Fido2" | "Key" | "Password" | "Totp" | "RecoveryKey" | "PasswordProtectedKey")[];
|
|
780
|
+
secondFactor: ("Fido2" | "Key" | "Password" | "Totp" | "RecoveryKey" | "PasswordProtectedKey")[];
|
|
721
781
|
};
|
|
722
782
|
authenticatorSelection: {
|
|
723
783
|
authenticatorAttachment?: ("platform" | "cross-platform") | undefined;
|
|
@@ -743,6 +803,7 @@ export type CreateDelegatedRegistrationChallengeRequest = {
|
|
|
743
803
|
export type CreateLoginChallengeBody = {
|
|
744
804
|
username: string;
|
|
745
805
|
orgId: string;
|
|
806
|
+
loginCode?: string | undefined;
|
|
746
807
|
};
|
|
747
808
|
export type CreateLoginChallengeResponse = {
|
|
748
809
|
challenge: string;
|
|
@@ -752,7 +813,7 @@ export type CreateLoginChallengeResponse = {
|
|
|
752
813
|
name: string;
|
|
753
814
|
};
|
|
754
815
|
supportedCredentialKinds: {
|
|
755
|
-
kind: "Fido2" | "Key" | "Password" | "Totp" | "RecoveryKey";
|
|
816
|
+
kind: "Fido2" | "Key" | "Password" | "Totp" | "RecoveryKey" | "PasswordProtectedKey";
|
|
756
817
|
factor: "first" | "second" | "either";
|
|
757
818
|
requiresSecondFactor: boolean;
|
|
758
819
|
}[];
|
|
@@ -764,6 +825,11 @@ export type CreateLoginChallengeResponse = {
|
|
|
764
825
|
id: string;
|
|
765
826
|
transports?: ("usb" | "nfc" | "ble" | "smart-card" | "hybrid" | "internal") | undefined;
|
|
766
827
|
}[];
|
|
828
|
+
passwordProtectedKey?: {
|
|
829
|
+
type: "public-key";
|
|
830
|
+
id: string;
|
|
831
|
+
encryptedPrivateKey: string;
|
|
832
|
+
}[] | undefined;
|
|
767
833
|
webauthn: {
|
|
768
834
|
type: "public-key";
|
|
769
835
|
id: string;
|
|
@@ -824,8 +890,8 @@ export type CreateRecoveryChallengeResponse = {
|
|
|
824
890
|
name: string;
|
|
825
891
|
};
|
|
826
892
|
supportedCredentialKinds: {
|
|
827
|
-
firstFactor: ("Fido2" | "Key" | "Password" | "Totp" | "RecoveryKey")[];
|
|
828
|
-
secondFactor: ("Fido2" | "Key" | "Password" | "Totp" | "RecoveryKey")[];
|
|
893
|
+
firstFactor: ("Fido2" | "Key" | "Password" | "Totp" | "RecoveryKey" | "PasswordProtectedKey")[];
|
|
894
|
+
secondFactor: ("Fido2" | "Key" | "Password" | "Totp" | "RecoveryKey" | "PasswordProtectedKey")[];
|
|
829
895
|
};
|
|
830
896
|
authenticatorSelection: {
|
|
831
897
|
authenticatorAttachment?: ("platform" | "cross-platform") | undefined;
|
|
@@ -870,8 +936,8 @@ export type CreateRegistrationChallengeResponse = {
|
|
|
870
936
|
name: string;
|
|
871
937
|
};
|
|
872
938
|
supportedCredentialKinds: {
|
|
873
|
-
firstFactor: ("Fido2" | "Key" | "Password" | "Totp" | "RecoveryKey")[];
|
|
874
|
-
secondFactor: ("Fido2" | "Key" | "Password" | "Totp" | "RecoveryKey")[];
|
|
939
|
+
firstFactor: ("Fido2" | "Key" | "Password" | "Totp" | "RecoveryKey" | "PasswordProtectedKey")[];
|
|
940
|
+
secondFactor: ("Fido2" | "Key" | "Password" | "Totp" | "RecoveryKey" | "PasswordProtectedKey")[];
|
|
875
941
|
};
|
|
876
942
|
authenticatorSelection: {
|
|
877
943
|
authenticatorAttachment?: ("platform" | "cross-platform") | undefined;
|
|
@@ -904,12 +970,12 @@ export type CreateServiceAccountBody = {
|
|
|
904
970
|
export type CreateServiceAccountResponse = {
|
|
905
971
|
userInfo: {
|
|
906
972
|
username: string;
|
|
973
|
+
name: string;
|
|
907
974
|
userId: string;
|
|
908
975
|
kind: "EndUser" | "CustomerEmployee" | "DfnsStaff";
|
|
909
976
|
credentialUuid: string;
|
|
910
977
|
orgId: string;
|
|
911
978
|
permissions?: string[] | undefined;
|
|
912
|
-
scopes?: string[] | undefined;
|
|
913
979
|
isActive: boolean;
|
|
914
980
|
isServiceAccount: boolean;
|
|
915
981
|
isRegistered: boolean;
|
|
@@ -960,8 +1026,8 @@ export type CreateSocialRegistrationChallengeResponse = {
|
|
|
960
1026
|
name: string;
|
|
961
1027
|
};
|
|
962
1028
|
supportedCredentialKinds: {
|
|
963
|
-
firstFactor: ("Fido2" | "Key" | "Password" | "Totp" | "RecoveryKey")[];
|
|
964
|
-
secondFactor: ("Fido2" | "Key" | "Password" | "Totp" | "RecoveryKey")[];
|
|
1029
|
+
firstFactor: ("Fido2" | "Key" | "Password" | "Totp" | "RecoveryKey" | "PasswordProtectedKey")[];
|
|
1030
|
+
secondFactor: ("Fido2" | "Key" | "Password" | "Totp" | "RecoveryKey" | "PasswordProtectedKey")[];
|
|
965
1031
|
};
|
|
966
1032
|
authenticatorSelection: {
|
|
967
1033
|
authenticatorAttachment?: ("platform" | "cross-platform") | undefined;
|
|
@@ -992,12 +1058,12 @@ export type CreateUserBody = {
|
|
|
992
1058
|
};
|
|
993
1059
|
export type CreateUserResponse = {
|
|
994
1060
|
username: string;
|
|
1061
|
+
name: string;
|
|
995
1062
|
userId: string;
|
|
996
1063
|
kind: "EndUser" | "CustomerEmployee" | "DfnsStaff";
|
|
997
1064
|
credentialUuid: string;
|
|
998
1065
|
orgId: string;
|
|
999
1066
|
permissions?: string[] | undefined;
|
|
1000
|
-
scopes?: string[] | undefined;
|
|
1001
1067
|
isActive: boolean;
|
|
1002
1068
|
isServiceAccount: boolean;
|
|
1003
1069
|
isRegistered: boolean;
|
|
@@ -1025,7 +1091,7 @@ export type CreateUserActionChallengeResponse = {
|
|
|
1025
1091
|
name: string;
|
|
1026
1092
|
};
|
|
1027
1093
|
supportedCredentialKinds: {
|
|
1028
|
-
kind: "Fido2" | "Key" | "Password" | "Totp" | "RecoveryKey";
|
|
1094
|
+
kind: "Fido2" | "Key" | "Password" | "Totp" | "RecoveryKey" | "PasswordProtectedKey";
|
|
1029
1095
|
factor: "first" | "second" | "either";
|
|
1030
1096
|
requiresSecondFactor: boolean;
|
|
1031
1097
|
}[];
|
|
@@ -1037,6 +1103,11 @@ export type CreateUserActionChallengeResponse = {
|
|
|
1037
1103
|
id: string;
|
|
1038
1104
|
transports?: ("usb" | "nfc" | "ble" | "smart-card" | "hybrid" | "internal") | undefined;
|
|
1039
1105
|
}[];
|
|
1106
|
+
passwordProtectedKey?: {
|
|
1107
|
+
type: "public-key";
|
|
1108
|
+
id: string;
|
|
1109
|
+
encryptedPrivateKey: string;
|
|
1110
|
+
}[] | undefined;
|
|
1040
1111
|
webauthn: {
|
|
1041
1112
|
type: "public-key";
|
|
1042
1113
|
id: string;
|
|
@@ -1055,8 +1126,9 @@ export type CreateUserActionSignatureBody = {
|
|
|
1055
1126
|
credentialAssertion: {
|
|
1056
1127
|
credId: string;
|
|
1057
1128
|
clientData: string;
|
|
1058
|
-
authenticatorData: string;
|
|
1059
1129
|
signature: string;
|
|
1130
|
+
algorithm?: string | undefined;
|
|
1131
|
+
authenticatorData: string;
|
|
1060
1132
|
userHandle?: string | undefined;
|
|
1061
1133
|
};
|
|
1062
1134
|
} | {
|
|
@@ -1070,14 +1142,23 @@ export type CreateUserActionSignatureBody = {
|
|
|
1070
1142
|
} | {
|
|
1071
1143
|
kind: "Password";
|
|
1072
1144
|
password: string;
|
|
1145
|
+
} | {
|
|
1146
|
+
kind: "PasswordProtectedKey";
|
|
1147
|
+
credentialAssertion: {
|
|
1148
|
+
credId: string;
|
|
1149
|
+
clientData: string;
|
|
1150
|
+
signature: string;
|
|
1151
|
+
algorithm?: string | undefined;
|
|
1152
|
+
};
|
|
1073
1153
|
};
|
|
1074
1154
|
secondFactor?: ({
|
|
1075
1155
|
kind: "Fido2";
|
|
1076
1156
|
credentialAssertion: {
|
|
1077
1157
|
credId: string;
|
|
1078
1158
|
clientData: string;
|
|
1079
|
-
authenticatorData: string;
|
|
1080
1159
|
signature: string;
|
|
1160
|
+
algorithm?: string | undefined;
|
|
1161
|
+
authenticatorData: string;
|
|
1081
1162
|
userHandle?: string | undefined;
|
|
1082
1163
|
};
|
|
1083
1164
|
} | {
|
|
@@ -1091,6 +1172,14 @@ export type CreateUserActionSignatureBody = {
|
|
|
1091
1172
|
} | {
|
|
1092
1173
|
kind: "Totp";
|
|
1093
1174
|
otpCode: string;
|
|
1175
|
+
} | {
|
|
1176
|
+
kind: "PasswordProtectedKey";
|
|
1177
|
+
credentialAssertion: {
|
|
1178
|
+
credId: string;
|
|
1179
|
+
clientData: string;
|
|
1180
|
+
signature: string;
|
|
1181
|
+
algorithm?: string | undefined;
|
|
1182
|
+
};
|
|
1094
1183
|
}) | undefined;
|
|
1095
1184
|
};
|
|
1096
1185
|
export type CreateUserActionSignatureResponse = {
|
|
@@ -1175,12 +1264,12 @@ export type DeactivateServiceAccountParams = {
|
|
|
1175
1264
|
export type DeactivateServiceAccountResponse = {
|
|
1176
1265
|
userInfo: {
|
|
1177
1266
|
username: string;
|
|
1267
|
+
name: string;
|
|
1178
1268
|
userId: string;
|
|
1179
1269
|
kind: "EndUser" | "CustomerEmployee" | "DfnsStaff";
|
|
1180
1270
|
credentialUuid: string;
|
|
1181
1271
|
orgId: string;
|
|
1182
1272
|
permissions?: string[] | undefined;
|
|
1183
|
-
scopes?: string[] | undefined;
|
|
1184
1273
|
isActive: boolean;
|
|
1185
1274
|
isServiceAccount: boolean;
|
|
1186
1275
|
isRegistered: boolean;
|
|
@@ -1217,12 +1306,12 @@ export type DeactivateUserParams = {
|
|
|
1217
1306
|
};
|
|
1218
1307
|
export type DeactivateUserResponse = {
|
|
1219
1308
|
username: string;
|
|
1309
|
+
name: string;
|
|
1220
1310
|
userId: string;
|
|
1221
1311
|
kind: "EndUser" | "CustomerEmployee" | "DfnsStaff";
|
|
1222
1312
|
credentialUuid: string;
|
|
1223
1313
|
orgId: string;
|
|
1224
1314
|
permissions?: string[] | undefined;
|
|
1225
|
-
scopes?: string[] | undefined;
|
|
1226
1315
|
isActive: boolean;
|
|
1227
1316
|
isServiceAccount: boolean;
|
|
1228
1317
|
isRegistered: boolean;
|
|
@@ -1310,12 +1399,12 @@ export type GetServiceAccountParams = {
|
|
|
1310
1399
|
export type GetServiceAccountResponse = {
|
|
1311
1400
|
userInfo: {
|
|
1312
1401
|
username: string;
|
|
1402
|
+
name: string;
|
|
1313
1403
|
userId: string;
|
|
1314
1404
|
kind: "EndUser" | "CustomerEmployee" | "DfnsStaff";
|
|
1315
1405
|
credentialUuid: string;
|
|
1316
1406
|
orgId: string;
|
|
1317
1407
|
permissions?: string[] | undefined;
|
|
1318
|
-
scopes?: string[] | undefined;
|
|
1319
1408
|
isActive: boolean;
|
|
1320
1409
|
isServiceAccount: boolean;
|
|
1321
1410
|
isRegistered: boolean;
|
|
@@ -1352,12 +1441,12 @@ export type GetUserParams = {
|
|
|
1352
1441
|
};
|
|
1353
1442
|
export type GetUserResponse = {
|
|
1354
1443
|
username: string;
|
|
1444
|
+
name: string;
|
|
1355
1445
|
userId: string;
|
|
1356
1446
|
kind: "EndUser" | "CustomerEmployee" | "DfnsStaff";
|
|
1357
1447
|
credentialUuid: string;
|
|
1358
1448
|
orgId: string;
|
|
1359
1449
|
permissions?: string[] | undefined;
|
|
1360
|
-
scopes?: string[] | undefined;
|
|
1361
1450
|
isActive: boolean;
|
|
1362
1451
|
isServiceAccount: boolean;
|
|
1363
1452
|
isRegistered: boolean;
|
|
@@ -1422,7 +1511,7 @@ export type ListAvailableOrgsRequest = {
|
|
|
1422
1511
|
};
|
|
1423
1512
|
export type ListCredentialsResponse = {
|
|
1424
1513
|
items: {
|
|
1425
|
-
kind: "Fido2" | "Key" | "Password" | "Totp" | "RecoveryKey";
|
|
1514
|
+
kind: "Fido2" | "Key" | "Password" | "Totp" | "RecoveryKey" | "PasswordProtectedKey";
|
|
1426
1515
|
credentialId: string;
|
|
1427
1516
|
credentialUuid: string;
|
|
1428
1517
|
dateCreated: string;
|
|
@@ -1458,12 +1547,12 @@ export type ListServiceAccountsResponse = {
|
|
|
1458
1547
|
items: {
|
|
1459
1548
|
userInfo: {
|
|
1460
1549
|
username: string;
|
|
1550
|
+
name: string;
|
|
1461
1551
|
userId: string;
|
|
1462
1552
|
kind: "EndUser" | "CustomerEmployee" | "DfnsStaff";
|
|
1463
1553
|
credentialUuid: string;
|
|
1464
1554
|
orgId: string;
|
|
1465
1555
|
permissions?: string[] | undefined;
|
|
1466
|
-
scopes?: string[] | undefined;
|
|
1467
1556
|
isActive: boolean;
|
|
1468
1557
|
isServiceAccount: boolean;
|
|
1469
1558
|
isRegistered: boolean;
|
|
@@ -1503,12 +1592,12 @@ export type ListUsersQuery = {
|
|
|
1503
1592
|
export type ListUsersResponse = {
|
|
1504
1593
|
items: {
|
|
1505
1594
|
username: string;
|
|
1595
|
+
name: string;
|
|
1506
1596
|
userId: string;
|
|
1507
1597
|
kind: "EndUser" | "CustomerEmployee" | "DfnsStaff";
|
|
1508
1598
|
credentialUuid: string;
|
|
1509
1599
|
orgId: string;
|
|
1510
1600
|
permissions?: string[] | undefined;
|
|
1511
|
-
scopes?: string[] | undefined;
|
|
1512
1601
|
isActive: boolean;
|
|
1513
1602
|
isServiceAccount: boolean;
|
|
1514
1603
|
isRegistered: boolean;
|
|
@@ -1531,8 +1620,9 @@ export type LoginBody = {
|
|
|
1531
1620
|
credentialAssertion: {
|
|
1532
1621
|
credId: string;
|
|
1533
1622
|
clientData: string;
|
|
1534
|
-
authenticatorData: string;
|
|
1535
1623
|
signature: string;
|
|
1624
|
+
algorithm?: string | undefined;
|
|
1625
|
+
authenticatorData: string;
|
|
1536
1626
|
userHandle?: string | undefined;
|
|
1537
1627
|
};
|
|
1538
1628
|
} | {
|
|
@@ -1546,14 +1636,23 @@ export type LoginBody = {
|
|
|
1546
1636
|
} | {
|
|
1547
1637
|
kind: "Password";
|
|
1548
1638
|
password: string;
|
|
1639
|
+
} | {
|
|
1640
|
+
kind: "PasswordProtectedKey";
|
|
1641
|
+
credentialAssertion: {
|
|
1642
|
+
credId: string;
|
|
1643
|
+
clientData: string;
|
|
1644
|
+
signature: string;
|
|
1645
|
+
algorithm?: string | undefined;
|
|
1646
|
+
};
|
|
1549
1647
|
};
|
|
1550
1648
|
secondFactor?: ({
|
|
1551
1649
|
kind: "Fido2";
|
|
1552
1650
|
credentialAssertion: {
|
|
1553
1651
|
credId: string;
|
|
1554
1652
|
clientData: string;
|
|
1555
|
-
authenticatorData: string;
|
|
1556
1653
|
signature: string;
|
|
1654
|
+
algorithm?: string | undefined;
|
|
1655
|
+
authenticatorData: string;
|
|
1557
1656
|
userHandle?: string | undefined;
|
|
1558
1657
|
};
|
|
1559
1658
|
} | {
|
|
@@ -1567,6 +1666,14 @@ export type LoginBody = {
|
|
|
1567
1666
|
} | {
|
|
1568
1667
|
kind: "Totp";
|
|
1569
1668
|
otpCode: string;
|
|
1669
|
+
} | {
|
|
1670
|
+
kind: "PasswordProtectedKey";
|
|
1671
|
+
credentialAssertion: {
|
|
1672
|
+
credId: string;
|
|
1673
|
+
clientData: string;
|
|
1674
|
+
signature: string;
|
|
1675
|
+
algorithm?: string | undefined;
|
|
1676
|
+
};
|
|
1570
1677
|
}) | undefined;
|
|
1571
1678
|
};
|
|
1572
1679
|
export type LoginResponse = {
|
|
@@ -1608,6 +1715,14 @@ export type RecoverBody = {
|
|
|
1608
1715
|
credentialInfo: {
|
|
1609
1716
|
password: string;
|
|
1610
1717
|
};
|
|
1718
|
+
} | {
|
|
1719
|
+
credentialKind: "PasswordProtectedKey";
|
|
1720
|
+
credentialInfo: {
|
|
1721
|
+
credId: string;
|
|
1722
|
+
clientData: string;
|
|
1723
|
+
attestationData: string;
|
|
1724
|
+
};
|
|
1725
|
+
encryptedPrivateKey: string;
|
|
1611
1726
|
};
|
|
1612
1727
|
secondFactorCredential?: ({
|
|
1613
1728
|
credentialKind: "Fido2";
|
|
@@ -1628,6 +1743,14 @@ export type RecoverBody = {
|
|
|
1628
1743
|
credentialInfo: {
|
|
1629
1744
|
otpCode: string;
|
|
1630
1745
|
};
|
|
1746
|
+
} | {
|
|
1747
|
+
credentialKind: "PasswordProtectedKey";
|
|
1748
|
+
credentialInfo: {
|
|
1749
|
+
credId: string;
|
|
1750
|
+
clientData: string;
|
|
1751
|
+
attestationData: string;
|
|
1752
|
+
};
|
|
1753
|
+
encryptedPrivateKey: string;
|
|
1631
1754
|
}) | undefined;
|
|
1632
1755
|
recoveryCredential?: {
|
|
1633
1756
|
credentialKind: "RecoveryKey";
|
|
@@ -1643,7 +1766,7 @@ export type RecoverBody = {
|
|
|
1643
1766
|
export type RecoverResponse = {
|
|
1644
1767
|
credential: {
|
|
1645
1768
|
uuid: string;
|
|
1646
|
-
kind: "Fido2" | "Key" | "Password" | "Totp" | "RecoveryKey";
|
|
1769
|
+
kind: "Fido2" | "Key" | "Password" | "Totp" | "RecoveryKey" | "PasswordProtectedKey";
|
|
1647
1770
|
name: string;
|
|
1648
1771
|
};
|
|
1649
1772
|
user: {
|
|
@@ -1673,8 +1796,8 @@ export type RecreateDelegatedRegistrationChallengeResponse = {
|
|
|
1673
1796
|
name: string;
|
|
1674
1797
|
};
|
|
1675
1798
|
supportedCredentialKinds: {
|
|
1676
|
-
firstFactor: ("Fido2" | "Key" | "Password" | "Totp" | "RecoveryKey")[];
|
|
1677
|
-
secondFactor: ("Fido2" | "Key" | "Password" | "Totp" | "RecoveryKey")[];
|
|
1799
|
+
firstFactor: ("Fido2" | "Key" | "Password" | "Totp" | "RecoveryKey" | "PasswordProtectedKey")[];
|
|
1800
|
+
secondFactor: ("Fido2" | "Key" | "Password" | "Totp" | "RecoveryKey" | "PasswordProtectedKey")[];
|
|
1678
1801
|
};
|
|
1679
1802
|
authenticatorSelection: {
|
|
1680
1803
|
authenticatorAttachment?: ("platform" | "cross-platform") | undefined;
|
|
@@ -1717,6 +1840,14 @@ export type RegisterBody = {
|
|
|
1717
1840
|
credentialInfo: {
|
|
1718
1841
|
password: string;
|
|
1719
1842
|
};
|
|
1843
|
+
} | {
|
|
1844
|
+
credentialKind: "PasswordProtectedKey";
|
|
1845
|
+
credentialInfo: {
|
|
1846
|
+
credId: string;
|
|
1847
|
+
clientData: string;
|
|
1848
|
+
attestationData: string;
|
|
1849
|
+
};
|
|
1850
|
+
encryptedPrivateKey: string;
|
|
1720
1851
|
};
|
|
1721
1852
|
secondFactorCredential?: ({
|
|
1722
1853
|
credentialKind: "Fido2";
|
|
@@ -1737,6 +1868,14 @@ export type RegisterBody = {
|
|
|
1737
1868
|
credentialInfo: {
|
|
1738
1869
|
otpCode: string;
|
|
1739
1870
|
};
|
|
1871
|
+
} | {
|
|
1872
|
+
credentialKind: "PasswordProtectedKey";
|
|
1873
|
+
credentialInfo: {
|
|
1874
|
+
credId: string;
|
|
1875
|
+
clientData: string;
|
|
1876
|
+
attestationData: string;
|
|
1877
|
+
};
|
|
1878
|
+
encryptedPrivateKey: string;
|
|
1740
1879
|
}) | undefined;
|
|
1741
1880
|
recoveryCredential?: {
|
|
1742
1881
|
credentialKind: "RecoveryKey";
|
|
@@ -1751,7 +1890,7 @@ export type RegisterBody = {
|
|
|
1751
1890
|
export type RegisterResponse = {
|
|
1752
1891
|
credential: {
|
|
1753
1892
|
uuid: string;
|
|
1754
|
-
kind: "Fido2" | "Key" | "Password" | "Totp" | "RecoveryKey";
|
|
1893
|
+
kind: "Fido2" | "Key" | "Password" | "Totp" | "RecoveryKey" | "PasswordProtectedKey";
|
|
1755
1894
|
name: string;
|
|
1756
1895
|
};
|
|
1757
1896
|
user: {
|
|
@@ -1783,6 +1922,14 @@ export type RegisterEndUserBody = {
|
|
|
1783
1922
|
credentialInfo: {
|
|
1784
1923
|
password: string;
|
|
1785
1924
|
};
|
|
1925
|
+
} | {
|
|
1926
|
+
credentialKind: "PasswordProtectedKey";
|
|
1927
|
+
credentialInfo: {
|
|
1928
|
+
credId: string;
|
|
1929
|
+
clientData: string;
|
|
1930
|
+
attestationData: string;
|
|
1931
|
+
};
|
|
1932
|
+
encryptedPrivateKey: string;
|
|
1786
1933
|
};
|
|
1787
1934
|
secondFactorCredential?: ({
|
|
1788
1935
|
credentialKind: "Fido2";
|
|
@@ -1803,6 +1950,14 @@ export type RegisterEndUserBody = {
|
|
|
1803
1950
|
credentialInfo: {
|
|
1804
1951
|
otpCode: string;
|
|
1805
1952
|
};
|
|
1953
|
+
} | {
|
|
1954
|
+
credentialKind: "PasswordProtectedKey";
|
|
1955
|
+
credentialInfo: {
|
|
1956
|
+
credId: string;
|
|
1957
|
+
clientData: string;
|
|
1958
|
+
attestationData: string;
|
|
1959
|
+
};
|
|
1960
|
+
encryptedPrivateKey: string;
|
|
1806
1961
|
}) | undefined;
|
|
1807
1962
|
recoveryCredential?: {
|
|
1808
1963
|
credentialKind: "RecoveryKey";
|
|
@@ -1821,7 +1976,7 @@ export type RegisterEndUserBody = {
|
|
|
1821
1976
|
export type RegisterEndUserResponse = {
|
|
1822
1977
|
credential: {
|
|
1823
1978
|
uuid: string;
|
|
1824
|
-
kind: "Fido2" | "Key" | "Password" | "Totp" | "RecoveryKey";
|
|
1979
|
+
kind: "Fido2" | "Key" | "Password" | "Totp" | "RecoveryKey" | "PasswordProtectedKey";
|
|
1825
1980
|
name: string;
|
|
1826
1981
|
};
|
|
1827
1982
|
user: {
|
|
@@ -1865,6 +2020,16 @@ export type ResendRegistrationCodeResponse = {
|
|
|
1865
2020
|
export type ResendRegistrationCodeRequest = {
|
|
1866
2021
|
body: ResendRegistrationCodeBody;
|
|
1867
2022
|
};
|
|
2023
|
+
export type SendLoginCodeBody = {
|
|
2024
|
+
username: string;
|
|
2025
|
+
orgId: string;
|
|
2026
|
+
};
|
|
2027
|
+
export type SendLoginCodeResponse = {
|
|
2028
|
+
message: string;
|
|
2029
|
+
};
|
|
2030
|
+
export type SendLoginCodeRequest = {
|
|
2031
|
+
body: SendLoginCodeBody;
|
|
2032
|
+
};
|
|
1868
2033
|
export type SendRecoveryCodeBody = {
|
|
1869
2034
|
username: string;
|
|
1870
2035
|
orgId: string;
|
|
@@ -1968,12 +2133,12 @@ export type UpdateServiceAccountParams = {
|
|
|
1968
2133
|
export type UpdateServiceAccountResponse = {
|
|
1969
2134
|
userInfo: {
|
|
1970
2135
|
username: string;
|
|
2136
|
+
name: string;
|
|
1971
2137
|
userId: string;
|
|
1972
2138
|
kind: "EndUser" | "CustomerEmployee" | "DfnsStaff";
|
|
1973
2139
|
credentialUuid: string;
|
|
1974
2140
|
orgId: string;
|
|
1975
2141
|
permissions?: string[] | undefined;
|
|
1976
|
-
scopes?: string[] | undefined;
|
|
1977
2142
|
isActive: boolean;
|
|
1978
2143
|
isServiceAccount: boolean;
|
|
1979
2144
|
isRegistered: boolean;
|
|
@@ -2007,31 +2172,3 @@ export type UpdateServiceAccountResponse = {
|
|
|
2007
2172
|
export type UpdateServiceAccountRequest = UpdateServiceAccountParams & {
|
|
2008
2173
|
body: UpdateServiceAccountBody;
|
|
2009
2174
|
};
|
|
2010
|
-
export type UpdateUserBody = {
|
|
2011
|
-
externalId?: string | undefined;
|
|
2012
|
-
publicKey?: string | undefined;
|
|
2013
|
-
};
|
|
2014
|
-
export type UpdateUserParams = {
|
|
2015
|
-
userId: string;
|
|
2016
|
-
};
|
|
2017
|
-
export type UpdateUserResponse = {
|
|
2018
|
-
username: string;
|
|
2019
|
-
userId: string;
|
|
2020
|
-
kind: "EndUser" | "CustomerEmployee" | "DfnsStaff";
|
|
2021
|
-
credentialUuid: string;
|
|
2022
|
-
orgId: string;
|
|
2023
|
-
permissions?: string[] | undefined;
|
|
2024
|
-
scopes?: string[] | undefined;
|
|
2025
|
-
isActive: boolean;
|
|
2026
|
-
isServiceAccount: boolean;
|
|
2027
|
-
isRegistered: boolean;
|
|
2028
|
-
permissionAssignments: {
|
|
2029
|
-
permissionName: string;
|
|
2030
|
-
permissionId: string;
|
|
2031
|
-
assignmentId: string;
|
|
2032
|
-
operations?: string[] | undefined;
|
|
2033
|
-
}[];
|
|
2034
|
-
};
|
|
2035
|
-
export type UpdateUserRequest = UpdateUserParams & {
|
|
2036
|
-
body: UpdateUserBody;
|
|
2037
|
-
};
|
|
@@ -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:Create" | "Auth:Apps:Read" | "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" | "Orgs:Settings:Read" | "Orgs:Settings:Update" | "PermissionAssignments:Create" | "PermissionAssignments:Read" | "PermissionAssignments:Revoke" | "PermissionPredicates:Archive" | "PermissionPredicates:Create" | "PermissionPredicates:Read" | "PermissionPredicates:Update" | "Permissions:Archive" | "Permissions:Create" | "Permissions:Read" | "Permissions:Update" | "Policies:Archive" | "Policies:Create" | "Policies:Read" | "Policies:Update" | "Policies:Approvals:Read" | "Policies:Approvals:Approve" | "Signers:ListSigners" | "Wallets:BroadcastTransaction" | "Wallets:Create" | "Wallets:Delegate" | "Wallets:Export" | "Wallets:GenerateSignature" | "Wallets:Import" | "Wallets:Read" | "Wallets:ReadSignature" | "Wallets:ReadTransaction" | "Wallets:ReadTransfer" | "Wallets:TransferAsset" | "Wallets:Update" | "Wallets:Tags:Add" | "Wallets:Tags:Delete" | "Webhooks:Create" | "Webhooks:Read" | "Webhooks:Update" | "Webhooks:Delete" | "Webhooks:Ping" | "Webhooks:Events:Read")[];
|
|
39
|
+
operations: ("Auth:Action:Sign" | "Auth:Apps:Create" | "Auth:Apps:Read" | "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" | "Org:Update" | "Orgs:Settings:Read" | "Orgs:Settings:Update" | "PermissionAssignments:Create" | "PermissionAssignments:Read" | "PermissionAssignments:Revoke" | "PermissionPredicates:Archive" | "PermissionPredicates:Create" | "PermissionPredicates:Read" | "PermissionPredicates:Update" | "Permissions:Archive" | "Permissions:Create" | "Permissions:Read" | "Permissions:Update" | "Policies:Archive" | "Policies:Create" | "Policies:Read" | "Policies:Update" | "Policies:Approvals:Read" | "Policies:Approvals:Approve" | "Signers:ListSigners" | "Wallets:BroadcastTransaction" | "Wallets:Create" | "Wallets:Delegate" | "Wallets:Export" | "Wallets:GenerateSignature" | "Wallets:Import" | "Wallets:Read" | "Wallets:ReadSignature" | "Wallets:ReadTransaction" | "Wallets:ReadTransfer" | "Wallets:TransferAsset" | "Wallets:Update" | "Wallets:Tags:Add" | "Wallets:Tags:Delete" | "Webhooks:Create" | "Webhooks:Read" | "Webhooks:Update" | "Webhooks:Delete" | "Webhooks:Ping" | "Webhooks:Events:Read")[];
|
|
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:Create" | "Auth:Apps:Read" | "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" | "Orgs:Settings:Read" | "Orgs:Settings:Update" | "PermissionAssignments:Create" | "PermissionAssignments:Read" | "PermissionAssignments:Revoke" | "PermissionPredicates:Archive" | "PermissionPredicates:Create" | "PermissionPredicates:Read" | "PermissionPredicates:Update" | "Permissions:Archive" | "Permissions:Create" | "Permissions:Read" | "Permissions:Update" | "Policies:Archive" | "Policies:Create" | "Policies:Read" | "Policies:Update" | "Policies:Approvals:Read" | "Policies:Approvals:Approve" | "Signers:ListSigners" | "Wallets:BroadcastTransaction" | "Wallets:Create" | "Wallets:Delegate" | "Wallets:Export" | "Wallets:GenerateSignature" | "Wallets:Import" | "Wallets:Read" | "Wallets:ReadSignature" | "Wallets:ReadTransaction" | "Wallets:ReadTransfer" | "Wallets:TransferAsset" | "Wallets:Update" | "Wallets:Tags:Add" | "Wallets:Tags:Delete" | "Webhooks:Create" | "Webhooks:Read" | "Webhooks:Update" | "Webhooks:Delete" | "Webhooks:Ping" | "Webhooks:Events:Read")[] | undefined;
|
|
181
|
+
operations?: ("Auth:Action:Sign" | "Auth:Apps:Create" | "Auth:Apps:Read" | "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" | "Org:Update" | "Orgs:Settings:Read" | "Orgs:Settings:Update" | "PermissionAssignments:Create" | "PermissionAssignments:Read" | "PermissionAssignments:Revoke" | "PermissionPredicates:Archive" | "PermissionPredicates:Create" | "PermissionPredicates:Read" | "PermissionPredicates:Update" | "Permissions:Archive" | "Permissions:Create" | "Permissions:Read" | "Permissions:Update" | "Policies:Archive" | "Policies:Create" | "Policies:Read" | "Policies:Update" | "Policies:Approvals:Read" | "Policies:Approvals:Approve" | "Signers:ListSigners" | "Wallets:BroadcastTransaction" | "Wallets:Create" | "Wallets:Delegate" | "Wallets:Export" | "Wallets:GenerateSignature" | "Wallets:Import" | "Wallets:Read" | "Wallets:ReadSignature" | "Wallets:ReadTransaction" | "Wallets:ReadTransfer" | "Wallets:TransferAsset" | "Wallets:Update" | "Wallets:Tags:Add" | "Wallets:Tags:Delete" | "Webhooks:Create" | "Webhooks:Read" | "Webhooks:Update" | "Webhooks:Delete" | "Webhooks:Ping" | "Webhooks:Events:Read")[] | undefined;
|
|
182
182
|
};
|
|
183
183
|
export type UpdatePermissionParams = {
|
|
184
184
|
permissionId: string;
|
|
@@ -287,6 +287,7 @@ export type CreateApprovalDecisionResponse = {
|
|
|
287
287
|
to: string;
|
|
288
288
|
amount: string;
|
|
289
289
|
mint: string;
|
|
290
|
+
createDestinationAccount?: boolean | undefined;
|
|
290
291
|
};
|
|
291
292
|
metadata: {
|
|
292
293
|
asset: {
|
|
@@ -426,7 +427,7 @@ export type CreateApprovalDecisionResponse = {
|
|
|
426
427
|
blockchainEvent: {
|
|
427
428
|
walletId: string;
|
|
428
429
|
direction: "In" | "Out";
|
|
429
|
-
network: "Algorand" | "AlgorandTestnet" | "ArbitrumOne" | "ArbitrumGoerli" | "ArbitrumSepolia" | "AvalancheC" | "AvalancheCFuji" | "Base" | "BaseGoerli" | "BaseSepolia" | "Bitcoin" | "BitcoinTestnet3" | "Bsc" | "BscTestnet" | "Cardano" | "CardanoPreprod" | "Ethereum" | "EthereumGoerli" | "EthereumSepolia" | "FantomOpera" | "FantomTestnet" | "Kusama" | "Litecoin" | "LitecoinTestnet" | "Optimism" | "OptimismGoerli" | "OptimismSepolia" | "Polkadot" | "Westend" | "Polygon" | "PolygonAmoy" | "PolygonMumbai" | "Solana" | "SolanaDevnet" | "Stellar" | "StellarTestnet" | "Tezos" | "TezosGhostnet" | "Tron" | "TronNile" | "XrpLedger" | "XrpLedgerTestnet" | "KeyECDSA" | "KeyECDSAStark" | "KeyEdDSA";
|
|
430
|
+
network: "Algorand" | "AlgorandTestnet" | "ArbitrumOne" | "ArbitrumGoerli" | "ArbitrumSepolia" | "AvalancheC" | "AvalancheCFuji" | "Base" | "BaseGoerli" | "BaseSepolia" | "Bitcoin" | "BitcoinTestnet3" | "Bsc" | "BscTestnet" | "Cardano" | "CardanoPreprod" | "Celo" | "CeloAlfajores" | "Ethereum" | "EthereumGoerli" | "EthereumSepolia" | "EthereumHolesky" | "FantomOpera" | "FantomTestnet" | "Kusama" | "Litecoin" | "LitecoinTestnet" | "Optimism" | "OptimismGoerli" | "OptimismSepolia" | "Polkadot" | "Westend" | "Polygon" | "PolygonAmoy" | "PolygonMumbai" | "Solana" | "SolanaDevnet" | "Stellar" | "StellarTestnet" | "Tezos" | "TezosGhostnet" | "Tron" | "TronNile" | "XrpLedger" | "XrpLedgerTestnet" | "KeyECDSA" | "KeyECDSAStark" | "KeyEdDSA";
|
|
430
431
|
blockNumber: number;
|
|
431
432
|
txHash: string;
|
|
432
433
|
index?: string | undefined;
|
|
@@ -466,7 +467,7 @@ export type CreateApprovalDecisionResponse = {
|
|
|
466
467
|
} | {
|
|
467
468
|
walletId: string;
|
|
468
469
|
direction: "In" | "Out";
|
|
469
|
-
network: "Algorand" | "AlgorandTestnet" | "ArbitrumOne" | "ArbitrumGoerli" | "ArbitrumSepolia" | "AvalancheC" | "AvalancheCFuji" | "Base" | "BaseGoerli" | "BaseSepolia" | "Bitcoin" | "BitcoinTestnet3" | "Bsc" | "BscTestnet" | "Cardano" | "CardanoPreprod" | "Ethereum" | "EthereumGoerli" | "EthereumSepolia" | "FantomOpera" | "FantomTestnet" | "Kusama" | "Litecoin" | "LitecoinTestnet" | "Optimism" | "OptimismGoerli" | "OptimismSepolia" | "Polkadot" | "Westend" | "Polygon" | "PolygonAmoy" | "PolygonMumbai" | "Solana" | "SolanaDevnet" | "Stellar" | "StellarTestnet" | "Tezos" | "TezosGhostnet" | "Tron" | "TronNile" | "XrpLedger" | "XrpLedgerTestnet" | "KeyECDSA" | "KeyECDSAStark" | "KeyEdDSA";
|
|
470
|
+
network: "Algorand" | "AlgorandTestnet" | "ArbitrumOne" | "ArbitrumGoerli" | "ArbitrumSepolia" | "AvalancheC" | "AvalancheCFuji" | "Base" | "BaseGoerli" | "BaseSepolia" | "Bitcoin" | "BitcoinTestnet3" | "Bsc" | "BscTestnet" | "Cardano" | "CardanoPreprod" | "Celo" | "CeloAlfajores" | "Ethereum" | "EthereumGoerli" | "EthereumSepolia" | "EthereumHolesky" | "FantomOpera" | "FantomTestnet" | "Kusama" | "Litecoin" | "LitecoinTestnet" | "Optimism" | "OptimismGoerli" | "OptimismSepolia" | "Polkadot" | "Westend" | "Polygon" | "PolygonAmoy" | "PolygonMumbai" | "Solana" | "SolanaDevnet" | "Stellar" | "StellarTestnet" | "Tezos" | "TezosGhostnet" | "Tron" | "TronNile" | "XrpLedger" | "XrpLedgerTestnet" | "KeyECDSA" | "KeyECDSAStark" | "KeyEdDSA";
|
|
470
471
|
blockNumber: number;
|
|
471
472
|
txHash: string;
|
|
472
473
|
index?: string | undefined;
|
|
@@ -501,7 +502,7 @@ export type CreateApprovalDecisionResponse = {
|
|
|
501
502
|
} | {
|
|
502
503
|
walletId: string;
|
|
503
504
|
direction: "In" | "Out";
|
|
504
|
-
network: "Algorand" | "AlgorandTestnet" | "ArbitrumOne" | "ArbitrumGoerli" | "ArbitrumSepolia" | "AvalancheC" | "AvalancheCFuji" | "Base" | "BaseGoerli" | "BaseSepolia" | "Bitcoin" | "BitcoinTestnet3" | "Bsc" | "BscTestnet" | "Cardano" | "CardanoPreprod" | "Ethereum" | "EthereumGoerli" | "EthereumSepolia" | "FantomOpera" | "FantomTestnet" | "Kusama" | "Litecoin" | "LitecoinTestnet" | "Optimism" | "OptimismGoerli" | "OptimismSepolia" | "Polkadot" | "Westend" | "Polygon" | "PolygonAmoy" | "PolygonMumbai" | "Solana" | "SolanaDevnet" | "Stellar" | "StellarTestnet" | "Tezos" | "TezosGhostnet" | "Tron" | "TronNile" | "XrpLedger" | "XrpLedgerTestnet" | "KeyECDSA" | "KeyECDSAStark" | "KeyEdDSA";
|
|
505
|
+
network: "Algorand" | "AlgorandTestnet" | "ArbitrumOne" | "ArbitrumGoerli" | "ArbitrumSepolia" | "AvalancheC" | "AvalancheCFuji" | "Base" | "BaseGoerli" | "BaseSepolia" | "Bitcoin" | "BitcoinTestnet3" | "Bsc" | "BscTestnet" | "Cardano" | "CardanoPreprod" | "Celo" | "CeloAlfajores" | "Ethereum" | "EthereumGoerli" | "EthereumSepolia" | "EthereumHolesky" | "FantomOpera" | "FantomTestnet" | "Kusama" | "Litecoin" | "LitecoinTestnet" | "Optimism" | "OptimismGoerli" | "OptimismSepolia" | "Polkadot" | "Westend" | "Polygon" | "PolygonAmoy" | "PolygonMumbai" | "Solana" | "SolanaDevnet" | "Stellar" | "StellarTestnet" | "Tezos" | "TezosGhostnet" | "Tron" | "TronNile" | "XrpLedger" | "XrpLedgerTestnet" | "KeyECDSA" | "KeyECDSAStark" | "KeyEdDSA";
|
|
505
506
|
blockNumber: number;
|
|
506
507
|
txHash: string;
|
|
507
508
|
index?: string | undefined;
|
|
@@ -539,7 +540,7 @@ export type CreateApprovalDecisionResponse = {
|
|
|
539
540
|
} | {
|
|
540
541
|
walletId: string;
|
|
541
542
|
direction: "In" | "Out";
|
|
542
|
-
network: "Algorand" | "AlgorandTestnet" | "ArbitrumOne" | "ArbitrumGoerli" | "ArbitrumSepolia" | "AvalancheC" | "AvalancheCFuji" | "Base" | "BaseGoerli" | "BaseSepolia" | "Bitcoin" | "BitcoinTestnet3" | "Bsc" | "BscTestnet" | "Cardano" | "CardanoPreprod" | "Ethereum" | "EthereumGoerli" | "EthereumSepolia" | "FantomOpera" | "FantomTestnet" | "Kusama" | "Litecoin" | "LitecoinTestnet" | "Optimism" | "OptimismGoerli" | "OptimismSepolia" | "Polkadot" | "Westend" | "Polygon" | "PolygonAmoy" | "PolygonMumbai" | "Solana" | "SolanaDevnet" | "Stellar" | "StellarTestnet" | "Tezos" | "TezosGhostnet" | "Tron" | "TronNile" | "XrpLedger" | "XrpLedgerTestnet" | "KeyECDSA" | "KeyECDSAStark" | "KeyEdDSA";
|
|
543
|
+
network: "Algorand" | "AlgorandTestnet" | "ArbitrumOne" | "ArbitrumGoerli" | "ArbitrumSepolia" | "AvalancheC" | "AvalancheCFuji" | "Base" | "BaseGoerli" | "BaseSepolia" | "Bitcoin" | "BitcoinTestnet3" | "Bsc" | "BscTestnet" | "Cardano" | "CardanoPreprod" | "Celo" | "CeloAlfajores" | "Ethereum" | "EthereumGoerli" | "EthereumSepolia" | "EthereumHolesky" | "FantomOpera" | "FantomTestnet" | "Kusama" | "Litecoin" | "LitecoinTestnet" | "Optimism" | "OptimismGoerli" | "OptimismSepolia" | "Polkadot" | "Westend" | "Polygon" | "PolygonAmoy" | "PolygonMumbai" | "Solana" | "SolanaDevnet" | "Stellar" | "StellarTestnet" | "Tezos" | "TezosGhostnet" | "Tron" | "TronNile" | "XrpLedger" | "XrpLedgerTestnet" | "KeyECDSA" | "KeyECDSAStark" | "KeyEdDSA";
|
|
543
544
|
blockNumber: number;
|
|
544
545
|
txHash: string;
|
|
545
546
|
index?: string | undefined;
|
|
@@ -575,7 +576,7 @@ export type CreateApprovalDecisionResponse = {
|
|
|
575
576
|
} | {
|
|
576
577
|
walletId: string;
|
|
577
578
|
direction: "In" | "Out";
|
|
578
|
-
network: "Algorand" | "AlgorandTestnet" | "ArbitrumOne" | "ArbitrumGoerli" | "ArbitrumSepolia" | "AvalancheC" | "AvalancheCFuji" | "Base" | "BaseGoerli" | "BaseSepolia" | "Bitcoin" | "BitcoinTestnet3" | "Bsc" | "BscTestnet" | "Cardano" | "CardanoPreprod" | "Ethereum" | "EthereumGoerli" | "EthereumSepolia" | "FantomOpera" | "FantomTestnet" | "Kusama" | "Litecoin" | "LitecoinTestnet" | "Optimism" | "OptimismGoerli" | "OptimismSepolia" | "Polkadot" | "Westend" | "Polygon" | "PolygonAmoy" | "PolygonMumbai" | "Solana" | "SolanaDevnet" | "Stellar" | "StellarTestnet" | "Tezos" | "TezosGhostnet" | "Tron" | "TronNile" | "XrpLedger" | "XrpLedgerTestnet" | "KeyECDSA" | "KeyECDSAStark" | "KeyEdDSA";
|
|
579
|
+
network: "Algorand" | "AlgorandTestnet" | "ArbitrumOne" | "ArbitrumGoerli" | "ArbitrumSepolia" | "AvalancheC" | "AvalancheCFuji" | "Base" | "BaseGoerli" | "BaseSepolia" | "Bitcoin" | "BitcoinTestnet3" | "Bsc" | "BscTestnet" | "Cardano" | "CardanoPreprod" | "Celo" | "CeloAlfajores" | "Ethereum" | "EthereumGoerli" | "EthereumSepolia" | "EthereumHolesky" | "FantomOpera" | "FantomTestnet" | "Kusama" | "Litecoin" | "LitecoinTestnet" | "Optimism" | "OptimismGoerli" | "OptimismSepolia" | "Polkadot" | "Westend" | "Polygon" | "PolygonAmoy" | "PolygonMumbai" | "Solana" | "SolanaDevnet" | "Stellar" | "StellarTestnet" | "Tezos" | "TezosGhostnet" | "Tron" | "TronNile" | "XrpLedger" | "XrpLedgerTestnet" | "KeyECDSA" | "KeyECDSAStark" | "KeyEdDSA";
|
|
579
580
|
blockNumber: number;
|
|
580
581
|
txHash: string;
|
|
581
582
|
index?: string | undefined;
|
|
@@ -611,7 +612,7 @@ export type CreateApprovalDecisionResponse = {
|
|
|
611
612
|
} | {
|
|
612
613
|
walletId: string;
|
|
613
614
|
direction: "In" | "Out";
|
|
614
|
-
network: "Algorand" | "AlgorandTestnet" | "ArbitrumOne" | "ArbitrumGoerli" | "ArbitrumSepolia" | "AvalancheC" | "AvalancheCFuji" | "Base" | "BaseGoerli" | "BaseSepolia" | "Bitcoin" | "BitcoinTestnet3" | "Bsc" | "BscTestnet" | "Cardano" | "CardanoPreprod" | "Ethereum" | "EthereumGoerli" | "EthereumSepolia" | "FantomOpera" | "FantomTestnet" | "Kusama" | "Litecoin" | "LitecoinTestnet" | "Optimism" | "OptimismGoerli" | "OptimismSepolia" | "Polkadot" | "Westend" | "Polygon" | "PolygonAmoy" | "PolygonMumbai" | "Solana" | "SolanaDevnet" | "Stellar" | "StellarTestnet" | "Tezos" | "TezosGhostnet" | "Tron" | "TronNile" | "XrpLedger" | "XrpLedgerTestnet" | "KeyECDSA" | "KeyECDSAStark" | "KeyEdDSA";
|
|
615
|
+
network: "Algorand" | "AlgorandTestnet" | "ArbitrumOne" | "ArbitrumGoerli" | "ArbitrumSepolia" | "AvalancheC" | "AvalancheCFuji" | "Base" | "BaseGoerli" | "BaseSepolia" | "Bitcoin" | "BitcoinTestnet3" | "Bsc" | "BscTestnet" | "Cardano" | "CardanoPreprod" | "Celo" | "CeloAlfajores" | "Ethereum" | "EthereumGoerli" | "EthereumSepolia" | "EthereumHolesky" | "FantomOpera" | "FantomTestnet" | "Kusama" | "Litecoin" | "LitecoinTestnet" | "Optimism" | "OptimismGoerli" | "OptimismSepolia" | "Polkadot" | "Westend" | "Polygon" | "PolygonAmoy" | "PolygonMumbai" | "Solana" | "SolanaDevnet" | "Stellar" | "StellarTestnet" | "Tezos" | "TezosGhostnet" | "Tron" | "TronNile" | "XrpLedger" | "XrpLedgerTestnet" | "KeyECDSA" | "KeyECDSAStark" | "KeyEdDSA";
|
|
615
616
|
blockNumber: number;
|
|
616
617
|
txHash: string;
|
|
617
618
|
index?: string | undefined;
|
|
@@ -643,7 +644,7 @@ export type CreateApprovalDecisionResponse = {
|
|
|
643
644
|
} | {
|
|
644
645
|
walletId: string;
|
|
645
646
|
direction: "In" | "Out";
|
|
646
|
-
network: "Algorand" | "AlgorandTestnet" | "ArbitrumOne" | "ArbitrumGoerli" | "ArbitrumSepolia" | "AvalancheC" | "AvalancheCFuji" | "Base" | "BaseGoerli" | "BaseSepolia" | "Bitcoin" | "BitcoinTestnet3" | "Bsc" | "BscTestnet" | "Cardano" | "CardanoPreprod" | "Ethereum" | "EthereumGoerli" | "EthereumSepolia" | "FantomOpera" | "FantomTestnet" | "Kusama" | "Litecoin" | "LitecoinTestnet" | "Optimism" | "OptimismGoerli" | "OptimismSepolia" | "Polkadot" | "Westend" | "Polygon" | "PolygonAmoy" | "PolygonMumbai" | "Solana" | "SolanaDevnet" | "Stellar" | "StellarTestnet" | "Tezos" | "TezosGhostnet" | "Tron" | "TronNile" | "XrpLedger" | "XrpLedgerTestnet" | "KeyECDSA" | "KeyECDSAStark" | "KeyEdDSA";
|
|
647
|
+
network: "Algorand" | "AlgorandTestnet" | "ArbitrumOne" | "ArbitrumGoerli" | "ArbitrumSepolia" | "AvalancheC" | "AvalancheCFuji" | "Base" | "BaseGoerli" | "BaseSepolia" | "Bitcoin" | "BitcoinTestnet3" | "Bsc" | "BscTestnet" | "Cardano" | "CardanoPreprod" | "Celo" | "CeloAlfajores" | "Ethereum" | "EthereumGoerli" | "EthereumSepolia" | "EthereumHolesky" | "FantomOpera" | "FantomTestnet" | "Kusama" | "Litecoin" | "LitecoinTestnet" | "Optimism" | "OptimismGoerli" | "OptimismSepolia" | "Polkadot" | "Westend" | "Polygon" | "PolygonAmoy" | "PolygonMumbai" | "Solana" | "SolanaDevnet" | "Stellar" | "StellarTestnet" | "Tezos" | "TezosGhostnet" | "Tron" | "TronNile" | "XrpLedger" | "XrpLedgerTestnet" | "KeyECDSA" | "KeyECDSAStark" | "KeyEdDSA";
|
|
647
648
|
blockNumber: number;
|
|
648
649
|
txHash: string;
|
|
649
650
|
index?: string | undefined;
|
|
@@ -675,7 +676,7 @@ export type CreateApprovalDecisionResponse = {
|
|
|
675
676
|
} | {
|
|
676
677
|
walletId: string;
|
|
677
678
|
direction: "In" | "Out";
|
|
678
|
-
network: "Algorand" | "AlgorandTestnet" | "ArbitrumOne" | "ArbitrumGoerli" | "ArbitrumSepolia" | "AvalancheC" | "AvalancheCFuji" | "Base" | "BaseGoerli" | "BaseSepolia" | "Bitcoin" | "BitcoinTestnet3" | "Bsc" | "BscTestnet" | "Cardano" | "CardanoPreprod" | "Ethereum" | "EthereumGoerli" | "EthereumSepolia" | "FantomOpera" | "FantomTestnet" | "Kusama" | "Litecoin" | "LitecoinTestnet" | "Optimism" | "OptimismGoerli" | "OptimismSepolia" | "Polkadot" | "Westend" | "Polygon" | "PolygonAmoy" | "PolygonMumbai" | "Solana" | "SolanaDevnet" | "Stellar" | "StellarTestnet" | "Tezos" | "TezosGhostnet" | "Tron" | "TronNile" | "XrpLedger" | "XrpLedgerTestnet" | "KeyECDSA" | "KeyECDSAStark" | "KeyEdDSA";
|
|
679
|
+
network: "Algorand" | "AlgorandTestnet" | "ArbitrumOne" | "ArbitrumGoerli" | "ArbitrumSepolia" | "AvalancheC" | "AvalancheCFuji" | "Base" | "BaseGoerli" | "BaseSepolia" | "Bitcoin" | "BitcoinTestnet3" | "Bsc" | "BscTestnet" | "Cardano" | "CardanoPreprod" | "Celo" | "CeloAlfajores" | "Ethereum" | "EthereumGoerli" | "EthereumSepolia" | "EthereumHolesky" | "FantomOpera" | "FantomTestnet" | "Kusama" | "Litecoin" | "LitecoinTestnet" | "Optimism" | "OptimismGoerli" | "OptimismSepolia" | "Polkadot" | "Westend" | "Polygon" | "PolygonAmoy" | "PolygonMumbai" | "Solana" | "SolanaDevnet" | "Stellar" | "StellarTestnet" | "Tezos" | "TezosGhostnet" | "Tron" | "TronNile" | "XrpLedger" | "XrpLedgerTestnet" | "KeyECDSA" | "KeyECDSAStark" | "KeyEdDSA";
|
|
679
680
|
blockNumber: number;
|
|
680
681
|
txHash: string;
|
|
681
682
|
index?: string | undefined;
|
|
@@ -707,7 +708,7 @@ export type CreateApprovalDecisionResponse = {
|
|
|
707
708
|
} | {
|
|
708
709
|
walletId: string;
|
|
709
710
|
direction: "In" | "Out";
|
|
710
|
-
network: "Algorand" | "AlgorandTestnet" | "ArbitrumOne" | "ArbitrumGoerli" | "ArbitrumSepolia" | "AvalancheC" | "AvalancheCFuji" | "Base" | "BaseGoerli" | "BaseSepolia" | "Bitcoin" | "BitcoinTestnet3" | "Bsc" | "BscTestnet" | "Cardano" | "CardanoPreprod" | "Ethereum" | "EthereumGoerli" | "EthereumSepolia" | "FantomOpera" | "FantomTestnet" | "Kusama" | "Litecoin" | "LitecoinTestnet" | "Optimism" | "OptimismGoerli" | "OptimismSepolia" | "Polkadot" | "Westend" | "Polygon" | "PolygonAmoy" | "PolygonMumbai" | "Solana" | "SolanaDevnet" | "Stellar" | "StellarTestnet" | "Tezos" | "TezosGhostnet" | "Tron" | "TronNile" | "XrpLedger" | "XrpLedgerTestnet" | "KeyECDSA" | "KeyECDSAStark" | "KeyEdDSA";
|
|
711
|
+
network: "Algorand" | "AlgorandTestnet" | "ArbitrumOne" | "ArbitrumGoerli" | "ArbitrumSepolia" | "AvalancheC" | "AvalancheCFuji" | "Base" | "BaseGoerli" | "BaseSepolia" | "Bitcoin" | "BitcoinTestnet3" | "Bsc" | "BscTestnet" | "Cardano" | "CardanoPreprod" | "Celo" | "CeloAlfajores" | "Ethereum" | "EthereumGoerli" | "EthereumSepolia" | "EthereumHolesky" | "FantomOpera" | "FantomTestnet" | "Kusama" | "Litecoin" | "LitecoinTestnet" | "Optimism" | "OptimismGoerli" | "OptimismSepolia" | "Polkadot" | "Westend" | "Polygon" | "PolygonAmoy" | "PolygonMumbai" | "Solana" | "SolanaDevnet" | "Stellar" | "StellarTestnet" | "Tezos" | "TezosGhostnet" | "Tron" | "TronNile" | "XrpLedger" | "XrpLedgerTestnet" | "KeyECDSA" | "KeyECDSAStark" | "KeyEdDSA";
|
|
711
712
|
blockNumber: number;
|
|
712
713
|
txHash: string;
|
|
713
714
|
index?: string | undefined;
|
|
@@ -739,7 +740,7 @@ export type CreateApprovalDecisionResponse = {
|
|
|
739
740
|
} | {
|
|
740
741
|
walletId: string;
|
|
741
742
|
direction: "In" | "Out";
|
|
742
|
-
network: "Algorand" | "AlgorandTestnet" | "ArbitrumOne" | "ArbitrumGoerli" | "ArbitrumSepolia" | "AvalancheC" | "AvalancheCFuji" | "Base" | "BaseGoerli" | "BaseSepolia" | "Bitcoin" | "BitcoinTestnet3" | "Bsc" | "BscTestnet" | "Cardano" | "CardanoPreprod" | "Ethereum" | "EthereumGoerli" | "EthereumSepolia" | "FantomOpera" | "FantomTestnet" | "Kusama" | "Litecoin" | "LitecoinTestnet" | "Optimism" | "OptimismGoerli" | "OptimismSepolia" | "Polkadot" | "Westend" | "Polygon" | "PolygonAmoy" | "PolygonMumbai" | "Solana" | "SolanaDevnet" | "Stellar" | "StellarTestnet" | "Tezos" | "TezosGhostnet" | "Tron" | "TronNile" | "XrpLedger" | "XrpLedgerTestnet" | "KeyECDSA" | "KeyECDSAStark" | "KeyEdDSA";
|
|
743
|
+
network: "Algorand" | "AlgorandTestnet" | "ArbitrumOne" | "ArbitrumGoerli" | "ArbitrumSepolia" | "AvalancheC" | "AvalancheCFuji" | "Base" | "BaseGoerli" | "BaseSepolia" | "Bitcoin" | "BitcoinTestnet3" | "Bsc" | "BscTestnet" | "Cardano" | "CardanoPreprod" | "Celo" | "CeloAlfajores" | "Ethereum" | "EthereumGoerli" | "EthereumSepolia" | "EthereumHolesky" | "FantomOpera" | "FantomTestnet" | "Kusama" | "Litecoin" | "LitecoinTestnet" | "Optimism" | "OptimismGoerli" | "OptimismSepolia" | "Polkadot" | "Westend" | "Polygon" | "PolygonAmoy" | "PolygonMumbai" | "Solana" | "SolanaDevnet" | "Stellar" | "StellarTestnet" | "Tezos" | "TezosGhostnet" | "Tron" | "TronNile" | "XrpLedger" | "XrpLedgerTestnet" | "KeyECDSA" | "KeyECDSAStark" | "KeyEdDSA";
|
|
743
744
|
blockNumber: number;
|
|
744
745
|
txHash: string;
|
|
745
746
|
index?: string | undefined;
|
|
@@ -1546,6 +1547,7 @@ export type GetApprovalResponse = {
|
|
|
1546
1547
|
to: string;
|
|
1547
1548
|
amount: string;
|
|
1548
1549
|
mint: string;
|
|
1550
|
+
createDestinationAccount?: boolean | undefined;
|
|
1549
1551
|
};
|
|
1550
1552
|
metadata: {
|
|
1551
1553
|
asset: {
|
|
@@ -1685,7 +1687,7 @@ export type GetApprovalResponse = {
|
|
|
1685
1687
|
blockchainEvent: {
|
|
1686
1688
|
walletId: string;
|
|
1687
1689
|
direction: "In" | "Out";
|
|
1688
|
-
network: "Algorand" | "AlgorandTestnet" | "ArbitrumOne" | "ArbitrumGoerli" | "ArbitrumSepolia" | "AvalancheC" | "AvalancheCFuji" | "Base" | "BaseGoerli" | "BaseSepolia" | "Bitcoin" | "BitcoinTestnet3" | "Bsc" | "BscTestnet" | "Cardano" | "CardanoPreprod" | "Ethereum" | "EthereumGoerli" | "EthereumSepolia" | "FantomOpera" | "FantomTestnet" | "Kusama" | "Litecoin" | "LitecoinTestnet" | "Optimism" | "OptimismGoerli" | "OptimismSepolia" | "Polkadot" | "Westend" | "Polygon" | "PolygonAmoy" | "PolygonMumbai" | "Solana" | "SolanaDevnet" | "Stellar" | "StellarTestnet" | "Tezos" | "TezosGhostnet" | "Tron" | "TronNile" | "XrpLedger" | "XrpLedgerTestnet" | "KeyECDSA" | "KeyECDSAStark" | "KeyEdDSA";
|
|
1690
|
+
network: "Algorand" | "AlgorandTestnet" | "ArbitrumOne" | "ArbitrumGoerli" | "ArbitrumSepolia" | "AvalancheC" | "AvalancheCFuji" | "Base" | "BaseGoerli" | "BaseSepolia" | "Bitcoin" | "BitcoinTestnet3" | "Bsc" | "BscTestnet" | "Cardano" | "CardanoPreprod" | "Celo" | "CeloAlfajores" | "Ethereum" | "EthereumGoerli" | "EthereumSepolia" | "EthereumHolesky" | "FantomOpera" | "FantomTestnet" | "Kusama" | "Litecoin" | "LitecoinTestnet" | "Optimism" | "OptimismGoerli" | "OptimismSepolia" | "Polkadot" | "Westend" | "Polygon" | "PolygonAmoy" | "PolygonMumbai" | "Solana" | "SolanaDevnet" | "Stellar" | "StellarTestnet" | "Tezos" | "TezosGhostnet" | "Tron" | "TronNile" | "XrpLedger" | "XrpLedgerTestnet" | "KeyECDSA" | "KeyECDSAStark" | "KeyEdDSA";
|
|
1689
1691
|
blockNumber: number;
|
|
1690
1692
|
txHash: string;
|
|
1691
1693
|
index?: string | undefined;
|
|
@@ -1725,7 +1727,7 @@ export type GetApprovalResponse = {
|
|
|
1725
1727
|
} | {
|
|
1726
1728
|
walletId: string;
|
|
1727
1729
|
direction: "In" | "Out";
|
|
1728
|
-
network: "Algorand" | "AlgorandTestnet" | "ArbitrumOne" | "ArbitrumGoerli" | "ArbitrumSepolia" | "AvalancheC" | "AvalancheCFuji" | "Base" | "BaseGoerli" | "BaseSepolia" | "Bitcoin" | "BitcoinTestnet3" | "Bsc" | "BscTestnet" | "Cardano" | "CardanoPreprod" | "Ethereum" | "EthereumGoerli" | "EthereumSepolia" | "FantomOpera" | "FantomTestnet" | "Kusama" | "Litecoin" | "LitecoinTestnet" | "Optimism" | "OptimismGoerli" | "OptimismSepolia" | "Polkadot" | "Westend" | "Polygon" | "PolygonAmoy" | "PolygonMumbai" | "Solana" | "SolanaDevnet" | "Stellar" | "StellarTestnet" | "Tezos" | "TezosGhostnet" | "Tron" | "TronNile" | "XrpLedger" | "XrpLedgerTestnet" | "KeyECDSA" | "KeyECDSAStark" | "KeyEdDSA";
|
|
1730
|
+
network: "Algorand" | "AlgorandTestnet" | "ArbitrumOne" | "ArbitrumGoerli" | "ArbitrumSepolia" | "AvalancheC" | "AvalancheCFuji" | "Base" | "BaseGoerli" | "BaseSepolia" | "Bitcoin" | "BitcoinTestnet3" | "Bsc" | "BscTestnet" | "Cardano" | "CardanoPreprod" | "Celo" | "CeloAlfajores" | "Ethereum" | "EthereumGoerli" | "EthereumSepolia" | "EthereumHolesky" | "FantomOpera" | "FantomTestnet" | "Kusama" | "Litecoin" | "LitecoinTestnet" | "Optimism" | "OptimismGoerli" | "OptimismSepolia" | "Polkadot" | "Westend" | "Polygon" | "PolygonAmoy" | "PolygonMumbai" | "Solana" | "SolanaDevnet" | "Stellar" | "StellarTestnet" | "Tezos" | "TezosGhostnet" | "Tron" | "TronNile" | "XrpLedger" | "XrpLedgerTestnet" | "KeyECDSA" | "KeyECDSAStark" | "KeyEdDSA";
|
|
1729
1731
|
blockNumber: number;
|
|
1730
1732
|
txHash: string;
|
|
1731
1733
|
index?: string | undefined;
|
|
@@ -1760,7 +1762,7 @@ export type GetApprovalResponse = {
|
|
|
1760
1762
|
} | {
|
|
1761
1763
|
walletId: string;
|
|
1762
1764
|
direction: "In" | "Out";
|
|
1763
|
-
network: "Algorand" | "AlgorandTestnet" | "ArbitrumOne" | "ArbitrumGoerli" | "ArbitrumSepolia" | "AvalancheC" | "AvalancheCFuji" | "Base" | "BaseGoerli" | "BaseSepolia" | "Bitcoin" | "BitcoinTestnet3" | "Bsc" | "BscTestnet" | "Cardano" | "CardanoPreprod" | "Ethereum" | "EthereumGoerli" | "EthereumSepolia" | "FantomOpera" | "FantomTestnet" | "Kusama" | "Litecoin" | "LitecoinTestnet" | "Optimism" | "OptimismGoerli" | "OptimismSepolia" | "Polkadot" | "Westend" | "Polygon" | "PolygonAmoy" | "PolygonMumbai" | "Solana" | "SolanaDevnet" | "Stellar" | "StellarTestnet" | "Tezos" | "TezosGhostnet" | "Tron" | "TronNile" | "XrpLedger" | "XrpLedgerTestnet" | "KeyECDSA" | "KeyECDSAStark" | "KeyEdDSA";
|
|
1765
|
+
network: "Algorand" | "AlgorandTestnet" | "ArbitrumOne" | "ArbitrumGoerli" | "ArbitrumSepolia" | "AvalancheC" | "AvalancheCFuji" | "Base" | "BaseGoerli" | "BaseSepolia" | "Bitcoin" | "BitcoinTestnet3" | "Bsc" | "BscTestnet" | "Cardano" | "CardanoPreprod" | "Celo" | "CeloAlfajores" | "Ethereum" | "EthereumGoerli" | "EthereumSepolia" | "EthereumHolesky" | "FantomOpera" | "FantomTestnet" | "Kusama" | "Litecoin" | "LitecoinTestnet" | "Optimism" | "OptimismGoerli" | "OptimismSepolia" | "Polkadot" | "Westend" | "Polygon" | "PolygonAmoy" | "PolygonMumbai" | "Solana" | "SolanaDevnet" | "Stellar" | "StellarTestnet" | "Tezos" | "TezosGhostnet" | "Tron" | "TronNile" | "XrpLedger" | "XrpLedgerTestnet" | "KeyECDSA" | "KeyECDSAStark" | "KeyEdDSA";
|
|
1764
1766
|
blockNumber: number;
|
|
1765
1767
|
txHash: string;
|
|
1766
1768
|
index?: string | undefined;
|
|
@@ -1798,7 +1800,7 @@ export type GetApprovalResponse = {
|
|
|
1798
1800
|
} | {
|
|
1799
1801
|
walletId: string;
|
|
1800
1802
|
direction: "In" | "Out";
|
|
1801
|
-
network: "Algorand" | "AlgorandTestnet" | "ArbitrumOne" | "ArbitrumGoerli" | "ArbitrumSepolia" | "AvalancheC" | "AvalancheCFuji" | "Base" | "BaseGoerli" | "BaseSepolia" | "Bitcoin" | "BitcoinTestnet3" | "Bsc" | "BscTestnet" | "Cardano" | "CardanoPreprod" | "Ethereum" | "EthereumGoerli" | "EthereumSepolia" | "FantomOpera" | "FantomTestnet" | "Kusama" | "Litecoin" | "LitecoinTestnet" | "Optimism" | "OptimismGoerli" | "OptimismSepolia" | "Polkadot" | "Westend" | "Polygon" | "PolygonAmoy" | "PolygonMumbai" | "Solana" | "SolanaDevnet" | "Stellar" | "StellarTestnet" | "Tezos" | "TezosGhostnet" | "Tron" | "TronNile" | "XrpLedger" | "XrpLedgerTestnet" | "KeyECDSA" | "KeyECDSAStark" | "KeyEdDSA";
|
|
1803
|
+
network: "Algorand" | "AlgorandTestnet" | "ArbitrumOne" | "ArbitrumGoerli" | "ArbitrumSepolia" | "AvalancheC" | "AvalancheCFuji" | "Base" | "BaseGoerli" | "BaseSepolia" | "Bitcoin" | "BitcoinTestnet3" | "Bsc" | "BscTestnet" | "Cardano" | "CardanoPreprod" | "Celo" | "CeloAlfajores" | "Ethereum" | "EthereumGoerli" | "EthereumSepolia" | "EthereumHolesky" | "FantomOpera" | "FantomTestnet" | "Kusama" | "Litecoin" | "LitecoinTestnet" | "Optimism" | "OptimismGoerli" | "OptimismSepolia" | "Polkadot" | "Westend" | "Polygon" | "PolygonAmoy" | "PolygonMumbai" | "Solana" | "SolanaDevnet" | "Stellar" | "StellarTestnet" | "Tezos" | "TezosGhostnet" | "Tron" | "TronNile" | "XrpLedger" | "XrpLedgerTestnet" | "KeyECDSA" | "KeyECDSAStark" | "KeyEdDSA";
|
|
1802
1804
|
blockNumber: number;
|
|
1803
1805
|
txHash: string;
|
|
1804
1806
|
index?: string | undefined;
|
|
@@ -1834,7 +1836,7 @@ export type GetApprovalResponse = {
|
|
|
1834
1836
|
} | {
|
|
1835
1837
|
walletId: string;
|
|
1836
1838
|
direction: "In" | "Out";
|
|
1837
|
-
network: "Algorand" | "AlgorandTestnet" | "ArbitrumOne" | "ArbitrumGoerli" | "ArbitrumSepolia" | "AvalancheC" | "AvalancheCFuji" | "Base" | "BaseGoerli" | "BaseSepolia" | "Bitcoin" | "BitcoinTestnet3" | "Bsc" | "BscTestnet" | "Cardano" | "CardanoPreprod" | "Ethereum" | "EthereumGoerli" | "EthereumSepolia" | "FantomOpera" | "FantomTestnet" | "Kusama" | "Litecoin" | "LitecoinTestnet" | "Optimism" | "OptimismGoerli" | "OptimismSepolia" | "Polkadot" | "Westend" | "Polygon" | "PolygonAmoy" | "PolygonMumbai" | "Solana" | "SolanaDevnet" | "Stellar" | "StellarTestnet" | "Tezos" | "TezosGhostnet" | "Tron" | "TronNile" | "XrpLedger" | "XrpLedgerTestnet" | "KeyECDSA" | "KeyECDSAStark" | "KeyEdDSA";
|
|
1839
|
+
network: "Algorand" | "AlgorandTestnet" | "ArbitrumOne" | "ArbitrumGoerli" | "ArbitrumSepolia" | "AvalancheC" | "AvalancheCFuji" | "Base" | "BaseGoerli" | "BaseSepolia" | "Bitcoin" | "BitcoinTestnet3" | "Bsc" | "BscTestnet" | "Cardano" | "CardanoPreprod" | "Celo" | "CeloAlfajores" | "Ethereum" | "EthereumGoerli" | "EthereumSepolia" | "EthereumHolesky" | "FantomOpera" | "FantomTestnet" | "Kusama" | "Litecoin" | "LitecoinTestnet" | "Optimism" | "OptimismGoerli" | "OptimismSepolia" | "Polkadot" | "Westend" | "Polygon" | "PolygonAmoy" | "PolygonMumbai" | "Solana" | "SolanaDevnet" | "Stellar" | "StellarTestnet" | "Tezos" | "TezosGhostnet" | "Tron" | "TronNile" | "XrpLedger" | "XrpLedgerTestnet" | "KeyECDSA" | "KeyECDSAStark" | "KeyEdDSA";
|
|
1838
1840
|
blockNumber: number;
|
|
1839
1841
|
txHash: string;
|
|
1840
1842
|
index?: string | undefined;
|
|
@@ -1870,7 +1872,7 @@ export type GetApprovalResponse = {
|
|
|
1870
1872
|
} | {
|
|
1871
1873
|
walletId: string;
|
|
1872
1874
|
direction: "In" | "Out";
|
|
1873
|
-
network: "Algorand" | "AlgorandTestnet" | "ArbitrumOne" | "ArbitrumGoerli" | "ArbitrumSepolia" | "AvalancheC" | "AvalancheCFuji" | "Base" | "BaseGoerli" | "BaseSepolia" | "Bitcoin" | "BitcoinTestnet3" | "Bsc" | "BscTestnet" | "Cardano" | "CardanoPreprod" | "Ethereum" | "EthereumGoerli" | "EthereumSepolia" | "FantomOpera" | "FantomTestnet" | "Kusama" | "Litecoin" | "LitecoinTestnet" | "Optimism" | "OptimismGoerli" | "OptimismSepolia" | "Polkadot" | "Westend" | "Polygon" | "PolygonAmoy" | "PolygonMumbai" | "Solana" | "SolanaDevnet" | "Stellar" | "StellarTestnet" | "Tezos" | "TezosGhostnet" | "Tron" | "TronNile" | "XrpLedger" | "XrpLedgerTestnet" | "KeyECDSA" | "KeyECDSAStark" | "KeyEdDSA";
|
|
1875
|
+
network: "Algorand" | "AlgorandTestnet" | "ArbitrumOne" | "ArbitrumGoerli" | "ArbitrumSepolia" | "AvalancheC" | "AvalancheCFuji" | "Base" | "BaseGoerli" | "BaseSepolia" | "Bitcoin" | "BitcoinTestnet3" | "Bsc" | "BscTestnet" | "Cardano" | "CardanoPreprod" | "Celo" | "CeloAlfajores" | "Ethereum" | "EthereumGoerli" | "EthereumSepolia" | "EthereumHolesky" | "FantomOpera" | "FantomTestnet" | "Kusama" | "Litecoin" | "LitecoinTestnet" | "Optimism" | "OptimismGoerli" | "OptimismSepolia" | "Polkadot" | "Westend" | "Polygon" | "PolygonAmoy" | "PolygonMumbai" | "Solana" | "SolanaDevnet" | "Stellar" | "StellarTestnet" | "Tezos" | "TezosGhostnet" | "Tron" | "TronNile" | "XrpLedger" | "XrpLedgerTestnet" | "KeyECDSA" | "KeyECDSAStark" | "KeyEdDSA";
|
|
1874
1876
|
blockNumber: number;
|
|
1875
1877
|
txHash: string;
|
|
1876
1878
|
index?: string | undefined;
|
|
@@ -1902,7 +1904,7 @@ export type GetApprovalResponse = {
|
|
|
1902
1904
|
} | {
|
|
1903
1905
|
walletId: string;
|
|
1904
1906
|
direction: "In" | "Out";
|
|
1905
|
-
network: "Algorand" | "AlgorandTestnet" | "ArbitrumOne" | "ArbitrumGoerli" | "ArbitrumSepolia" | "AvalancheC" | "AvalancheCFuji" | "Base" | "BaseGoerli" | "BaseSepolia" | "Bitcoin" | "BitcoinTestnet3" | "Bsc" | "BscTestnet" | "Cardano" | "CardanoPreprod" | "Ethereum" | "EthereumGoerli" | "EthereumSepolia" | "FantomOpera" | "FantomTestnet" | "Kusama" | "Litecoin" | "LitecoinTestnet" | "Optimism" | "OptimismGoerli" | "OptimismSepolia" | "Polkadot" | "Westend" | "Polygon" | "PolygonAmoy" | "PolygonMumbai" | "Solana" | "SolanaDevnet" | "Stellar" | "StellarTestnet" | "Tezos" | "TezosGhostnet" | "Tron" | "TronNile" | "XrpLedger" | "XrpLedgerTestnet" | "KeyECDSA" | "KeyECDSAStark" | "KeyEdDSA";
|
|
1907
|
+
network: "Algorand" | "AlgorandTestnet" | "ArbitrumOne" | "ArbitrumGoerli" | "ArbitrumSepolia" | "AvalancheC" | "AvalancheCFuji" | "Base" | "BaseGoerli" | "BaseSepolia" | "Bitcoin" | "BitcoinTestnet3" | "Bsc" | "BscTestnet" | "Cardano" | "CardanoPreprod" | "Celo" | "CeloAlfajores" | "Ethereum" | "EthereumGoerli" | "EthereumSepolia" | "EthereumHolesky" | "FantomOpera" | "FantomTestnet" | "Kusama" | "Litecoin" | "LitecoinTestnet" | "Optimism" | "OptimismGoerli" | "OptimismSepolia" | "Polkadot" | "Westend" | "Polygon" | "PolygonAmoy" | "PolygonMumbai" | "Solana" | "SolanaDevnet" | "Stellar" | "StellarTestnet" | "Tezos" | "TezosGhostnet" | "Tron" | "TronNile" | "XrpLedger" | "XrpLedgerTestnet" | "KeyECDSA" | "KeyECDSAStark" | "KeyEdDSA";
|
|
1906
1908
|
blockNumber: number;
|
|
1907
1909
|
txHash: string;
|
|
1908
1910
|
index?: string | undefined;
|
|
@@ -1934,7 +1936,7 @@ export type GetApprovalResponse = {
|
|
|
1934
1936
|
} | {
|
|
1935
1937
|
walletId: string;
|
|
1936
1938
|
direction: "In" | "Out";
|
|
1937
|
-
network: "Algorand" | "AlgorandTestnet" | "ArbitrumOne" | "ArbitrumGoerli" | "ArbitrumSepolia" | "AvalancheC" | "AvalancheCFuji" | "Base" | "BaseGoerli" | "BaseSepolia" | "Bitcoin" | "BitcoinTestnet3" | "Bsc" | "BscTestnet" | "Cardano" | "CardanoPreprod" | "Ethereum" | "EthereumGoerli" | "EthereumSepolia" | "FantomOpera" | "FantomTestnet" | "Kusama" | "Litecoin" | "LitecoinTestnet" | "Optimism" | "OptimismGoerli" | "OptimismSepolia" | "Polkadot" | "Westend" | "Polygon" | "PolygonAmoy" | "PolygonMumbai" | "Solana" | "SolanaDevnet" | "Stellar" | "StellarTestnet" | "Tezos" | "TezosGhostnet" | "Tron" | "TronNile" | "XrpLedger" | "XrpLedgerTestnet" | "KeyECDSA" | "KeyECDSAStark" | "KeyEdDSA";
|
|
1939
|
+
network: "Algorand" | "AlgorandTestnet" | "ArbitrumOne" | "ArbitrumGoerli" | "ArbitrumSepolia" | "AvalancheC" | "AvalancheCFuji" | "Base" | "BaseGoerli" | "BaseSepolia" | "Bitcoin" | "BitcoinTestnet3" | "Bsc" | "BscTestnet" | "Cardano" | "CardanoPreprod" | "Celo" | "CeloAlfajores" | "Ethereum" | "EthereumGoerli" | "EthereumSepolia" | "EthereumHolesky" | "FantomOpera" | "FantomTestnet" | "Kusama" | "Litecoin" | "LitecoinTestnet" | "Optimism" | "OptimismGoerli" | "OptimismSepolia" | "Polkadot" | "Westend" | "Polygon" | "PolygonAmoy" | "PolygonMumbai" | "Solana" | "SolanaDevnet" | "Stellar" | "StellarTestnet" | "Tezos" | "TezosGhostnet" | "Tron" | "TronNile" | "XrpLedger" | "XrpLedgerTestnet" | "KeyECDSA" | "KeyECDSAStark" | "KeyEdDSA";
|
|
1938
1940
|
blockNumber: number;
|
|
1939
1941
|
txHash: string;
|
|
1940
1942
|
index?: string | undefined;
|
|
@@ -1966,7 +1968,7 @@ export type GetApprovalResponse = {
|
|
|
1966
1968
|
} | {
|
|
1967
1969
|
walletId: string;
|
|
1968
1970
|
direction: "In" | "Out";
|
|
1969
|
-
network: "Algorand" | "AlgorandTestnet" | "ArbitrumOne" | "ArbitrumGoerli" | "ArbitrumSepolia" | "AvalancheC" | "AvalancheCFuji" | "Base" | "BaseGoerli" | "BaseSepolia" | "Bitcoin" | "BitcoinTestnet3" | "Bsc" | "BscTestnet" | "Cardano" | "CardanoPreprod" | "Ethereum" | "EthereumGoerli" | "EthereumSepolia" | "FantomOpera" | "FantomTestnet" | "Kusama" | "Litecoin" | "LitecoinTestnet" | "Optimism" | "OptimismGoerli" | "OptimismSepolia" | "Polkadot" | "Westend" | "Polygon" | "PolygonAmoy" | "PolygonMumbai" | "Solana" | "SolanaDevnet" | "Stellar" | "StellarTestnet" | "Tezos" | "TezosGhostnet" | "Tron" | "TronNile" | "XrpLedger" | "XrpLedgerTestnet" | "KeyECDSA" | "KeyECDSAStark" | "KeyEdDSA";
|
|
1971
|
+
network: "Algorand" | "AlgorandTestnet" | "ArbitrumOne" | "ArbitrumGoerli" | "ArbitrumSepolia" | "AvalancheC" | "AvalancheCFuji" | "Base" | "BaseGoerli" | "BaseSepolia" | "Bitcoin" | "BitcoinTestnet3" | "Bsc" | "BscTestnet" | "Cardano" | "CardanoPreprod" | "Celo" | "CeloAlfajores" | "Ethereum" | "EthereumGoerli" | "EthereumSepolia" | "EthereumHolesky" | "FantomOpera" | "FantomTestnet" | "Kusama" | "Litecoin" | "LitecoinTestnet" | "Optimism" | "OptimismGoerli" | "OptimismSepolia" | "Polkadot" | "Westend" | "Polygon" | "PolygonAmoy" | "PolygonMumbai" | "Solana" | "SolanaDevnet" | "Stellar" | "StellarTestnet" | "Tezos" | "TezosGhostnet" | "Tron" | "TronNile" | "XrpLedger" | "XrpLedgerTestnet" | "KeyECDSA" | "KeyECDSAStark" | "KeyEdDSA";
|
|
1970
1972
|
blockNumber: number;
|
|
1971
1973
|
txHash: string;
|
|
1972
1974
|
index?: string | undefined;
|
|
@@ -1998,7 +2000,7 @@ export type GetApprovalResponse = {
|
|
|
1998
2000
|
} | {
|
|
1999
2001
|
walletId: string;
|
|
2000
2002
|
direction: "In" | "Out";
|
|
2001
|
-
network: "Algorand" | "AlgorandTestnet" | "ArbitrumOne" | "ArbitrumGoerli" | "ArbitrumSepolia" | "AvalancheC" | "AvalancheCFuji" | "Base" | "BaseGoerli" | "BaseSepolia" | "Bitcoin" | "BitcoinTestnet3" | "Bsc" | "BscTestnet" | "Cardano" | "CardanoPreprod" | "Ethereum" | "EthereumGoerli" | "EthereumSepolia" | "FantomOpera" | "FantomTestnet" | "Kusama" | "Litecoin" | "LitecoinTestnet" | "Optimism" | "OptimismGoerli" | "OptimismSepolia" | "Polkadot" | "Westend" | "Polygon" | "PolygonAmoy" | "PolygonMumbai" | "Solana" | "SolanaDevnet" | "Stellar" | "StellarTestnet" | "Tezos" | "TezosGhostnet" | "Tron" | "TronNile" | "XrpLedger" | "XrpLedgerTestnet" | "KeyECDSA" | "KeyECDSAStark" | "KeyEdDSA";
|
|
2003
|
+
network: "Algorand" | "AlgorandTestnet" | "ArbitrumOne" | "ArbitrumGoerli" | "ArbitrumSepolia" | "AvalancheC" | "AvalancheCFuji" | "Base" | "BaseGoerli" | "BaseSepolia" | "Bitcoin" | "BitcoinTestnet3" | "Bsc" | "BscTestnet" | "Cardano" | "CardanoPreprod" | "Celo" | "CeloAlfajores" | "Ethereum" | "EthereumGoerli" | "EthereumSepolia" | "EthereumHolesky" | "FantomOpera" | "FantomTestnet" | "Kusama" | "Litecoin" | "LitecoinTestnet" | "Optimism" | "OptimismGoerli" | "OptimismSepolia" | "Polkadot" | "Westend" | "Polygon" | "PolygonAmoy" | "PolygonMumbai" | "Solana" | "SolanaDevnet" | "Stellar" | "StellarTestnet" | "Tezos" | "TezosGhostnet" | "Tron" | "TronNile" | "XrpLedger" | "XrpLedgerTestnet" | "KeyECDSA" | "KeyECDSAStark" | "KeyEdDSA";
|
|
2002
2004
|
blockNumber: number;
|
|
2003
2005
|
txHash: string;
|
|
2004
2006
|
index?: string | undefined;
|
|
@@ -2845,6 +2847,7 @@ export type ListApprovalsResponse = {
|
|
|
2845
2847
|
to: string;
|
|
2846
2848
|
amount: string;
|
|
2847
2849
|
mint: string;
|
|
2850
|
+
createDestinationAccount?: boolean | undefined;
|
|
2848
2851
|
};
|
|
2849
2852
|
metadata: {
|
|
2850
2853
|
asset: {
|
|
@@ -2984,7 +2987,7 @@ export type ListApprovalsResponse = {
|
|
|
2984
2987
|
blockchainEvent: {
|
|
2985
2988
|
walletId: string;
|
|
2986
2989
|
direction: "In" | "Out";
|
|
2987
|
-
network: "Algorand" | "AlgorandTestnet" | "ArbitrumOne" | "ArbitrumGoerli" | "ArbitrumSepolia" | "AvalancheC" | "AvalancheCFuji" | "Base" | "BaseGoerli" | "BaseSepolia" | "Bitcoin" | "BitcoinTestnet3" | "Bsc" | "BscTestnet" | "Cardano" | "CardanoPreprod" | "Ethereum" | "EthereumGoerli" | "EthereumSepolia" | "FantomOpera" | "FantomTestnet" | "Kusama" | "Litecoin" | "LitecoinTestnet" | "Optimism" | "OptimismGoerli" | "OptimismSepolia" | "Polkadot" | "Westend" | "Polygon" | "PolygonAmoy" | "PolygonMumbai" | "Solana" | "SolanaDevnet" | "Stellar" | "StellarTestnet" | "Tezos" | "TezosGhostnet" | "Tron" | "TronNile" | "XrpLedger" | "XrpLedgerTestnet" | "KeyECDSA" | "KeyECDSAStark" | "KeyEdDSA";
|
|
2990
|
+
network: "Algorand" | "AlgorandTestnet" | "ArbitrumOne" | "ArbitrumGoerli" | "ArbitrumSepolia" | "AvalancheC" | "AvalancheCFuji" | "Base" | "BaseGoerli" | "BaseSepolia" | "Bitcoin" | "BitcoinTestnet3" | "Bsc" | "BscTestnet" | "Cardano" | "CardanoPreprod" | "Celo" | "CeloAlfajores" | "Ethereum" | "EthereumGoerli" | "EthereumSepolia" | "EthereumHolesky" | "FantomOpera" | "FantomTestnet" | "Kusama" | "Litecoin" | "LitecoinTestnet" | "Optimism" | "OptimismGoerli" | "OptimismSepolia" | "Polkadot" | "Westend" | "Polygon" | "PolygonAmoy" | "PolygonMumbai" | "Solana" | "SolanaDevnet" | "Stellar" | "StellarTestnet" | "Tezos" | "TezosGhostnet" | "Tron" | "TronNile" | "XrpLedger" | "XrpLedgerTestnet" | "KeyECDSA" | "KeyECDSAStark" | "KeyEdDSA";
|
|
2988
2991
|
blockNumber: number;
|
|
2989
2992
|
txHash: string;
|
|
2990
2993
|
index?: string | undefined;
|
|
@@ -3024,7 +3027,7 @@ export type ListApprovalsResponse = {
|
|
|
3024
3027
|
} | {
|
|
3025
3028
|
walletId: string;
|
|
3026
3029
|
direction: "In" | "Out";
|
|
3027
|
-
network: "Algorand" | "AlgorandTestnet" | "ArbitrumOne" | "ArbitrumGoerli" | "ArbitrumSepolia" | "AvalancheC" | "AvalancheCFuji" | "Base" | "BaseGoerli" | "BaseSepolia" | "Bitcoin" | "BitcoinTestnet3" | "Bsc" | "BscTestnet" | "Cardano" | "CardanoPreprod" | "Ethereum" | "EthereumGoerli" | "EthereumSepolia" | "FantomOpera" | "FantomTestnet" | "Kusama" | "Litecoin" | "LitecoinTestnet" | "Optimism" | "OptimismGoerli" | "OptimismSepolia" | "Polkadot" | "Westend" | "Polygon" | "PolygonAmoy" | "PolygonMumbai" | "Solana" | "SolanaDevnet" | "Stellar" | "StellarTestnet" | "Tezos" | "TezosGhostnet" | "Tron" | "TronNile" | "XrpLedger" | "XrpLedgerTestnet" | "KeyECDSA" | "KeyECDSAStark" | "KeyEdDSA";
|
|
3030
|
+
network: "Algorand" | "AlgorandTestnet" | "ArbitrumOne" | "ArbitrumGoerli" | "ArbitrumSepolia" | "AvalancheC" | "AvalancheCFuji" | "Base" | "BaseGoerli" | "BaseSepolia" | "Bitcoin" | "BitcoinTestnet3" | "Bsc" | "BscTestnet" | "Cardano" | "CardanoPreprod" | "Celo" | "CeloAlfajores" | "Ethereum" | "EthereumGoerli" | "EthereumSepolia" | "EthereumHolesky" | "FantomOpera" | "FantomTestnet" | "Kusama" | "Litecoin" | "LitecoinTestnet" | "Optimism" | "OptimismGoerli" | "OptimismSepolia" | "Polkadot" | "Westend" | "Polygon" | "PolygonAmoy" | "PolygonMumbai" | "Solana" | "SolanaDevnet" | "Stellar" | "StellarTestnet" | "Tezos" | "TezosGhostnet" | "Tron" | "TronNile" | "XrpLedger" | "XrpLedgerTestnet" | "KeyECDSA" | "KeyECDSAStark" | "KeyEdDSA";
|
|
3028
3031
|
blockNumber: number;
|
|
3029
3032
|
txHash: string;
|
|
3030
3033
|
index?: string | undefined;
|
|
@@ -3059,7 +3062,7 @@ export type ListApprovalsResponse = {
|
|
|
3059
3062
|
} | {
|
|
3060
3063
|
walletId: string;
|
|
3061
3064
|
direction: "In" | "Out";
|
|
3062
|
-
network: "Algorand" | "AlgorandTestnet" | "ArbitrumOne" | "ArbitrumGoerli" | "ArbitrumSepolia" | "AvalancheC" | "AvalancheCFuji" | "Base" | "BaseGoerli" | "BaseSepolia" | "Bitcoin" | "BitcoinTestnet3" | "Bsc" | "BscTestnet" | "Cardano" | "CardanoPreprod" | "Ethereum" | "EthereumGoerli" | "EthereumSepolia" | "FantomOpera" | "FantomTestnet" | "Kusama" | "Litecoin" | "LitecoinTestnet" | "Optimism" | "OptimismGoerli" | "OptimismSepolia" | "Polkadot" | "Westend" | "Polygon" | "PolygonAmoy" | "PolygonMumbai" | "Solana" | "SolanaDevnet" | "Stellar" | "StellarTestnet" | "Tezos" | "TezosGhostnet" | "Tron" | "TronNile" | "XrpLedger" | "XrpLedgerTestnet" | "KeyECDSA" | "KeyECDSAStark" | "KeyEdDSA";
|
|
3065
|
+
network: "Algorand" | "AlgorandTestnet" | "ArbitrumOne" | "ArbitrumGoerli" | "ArbitrumSepolia" | "AvalancheC" | "AvalancheCFuji" | "Base" | "BaseGoerli" | "BaseSepolia" | "Bitcoin" | "BitcoinTestnet3" | "Bsc" | "BscTestnet" | "Cardano" | "CardanoPreprod" | "Celo" | "CeloAlfajores" | "Ethereum" | "EthereumGoerli" | "EthereumSepolia" | "EthereumHolesky" | "FantomOpera" | "FantomTestnet" | "Kusama" | "Litecoin" | "LitecoinTestnet" | "Optimism" | "OptimismGoerli" | "OptimismSepolia" | "Polkadot" | "Westend" | "Polygon" | "PolygonAmoy" | "PolygonMumbai" | "Solana" | "SolanaDevnet" | "Stellar" | "StellarTestnet" | "Tezos" | "TezosGhostnet" | "Tron" | "TronNile" | "XrpLedger" | "XrpLedgerTestnet" | "KeyECDSA" | "KeyECDSAStark" | "KeyEdDSA";
|
|
3063
3066
|
blockNumber: number;
|
|
3064
3067
|
txHash: string;
|
|
3065
3068
|
index?: string | undefined;
|
|
@@ -3097,7 +3100,7 @@ export type ListApprovalsResponse = {
|
|
|
3097
3100
|
} | {
|
|
3098
3101
|
walletId: string;
|
|
3099
3102
|
direction: "In" | "Out";
|
|
3100
|
-
network: "Algorand" | "AlgorandTestnet" | "ArbitrumOne" | "ArbitrumGoerli" | "ArbitrumSepolia" | "AvalancheC" | "AvalancheCFuji" | "Base" | "BaseGoerli" | "BaseSepolia" | "Bitcoin" | "BitcoinTestnet3" | "Bsc" | "BscTestnet" | "Cardano" | "CardanoPreprod" | "Ethereum" | "EthereumGoerli" | "EthereumSepolia" | "FantomOpera" | "FantomTestnet" | "Kusama" | "Litecoin" | "LitecoinTestnet" | "Optimism" | "OptimismGoerli" | "OptimismSepolia" | "Polkadot" | "Westend" | "Polygon" | "PolygonAmoy" | "PolygonMumbai" | "Solana" | "SolanaDevnet" | "Stellar" | "StellarTestnet" | "Tezos" | "TezosGhostnet" | "Tron" | "TronNile" | "XrpLedger" | "XrpLedgerTestnet" | "KeyECDSA" | "KeyECDSAStark" | "KeyEdDSA";
|
|
3103
|
+
network: "Algorand" | "AlgorandTestnet" | "ArbitrumOne" | "ArbitrumGoerli" | "ArbitrumSepolia" | "AvalancheC" | "AvalancheCFuji" | "Base" | "BaseGoerli" | "BaseSepolia" | "Bitcoin" | "BitcoinTestnet3" | "Bsc" | "BscTestnet" | "Cardano" | "CardanoPreprod" | "Celo" | "CeloAlfajores" | "Ethereum" | "EthereumGoerli" | "EthereumSepolia" | "EthereumHolesky" | "FantomOpera" | "FantomTestnet" | "Kusama" | "Litecoin" | "LitecoinTestnet" | "Optimism" | "OptimismGoerli" | "OptimismSepolia" | "Polkadot" | "Westend" | "Polygon" | "PolygonAmoy" | "PolygonMumbai" | "Solana" | "SolanaDevnet" | "Stellar" | "StellarTestnet" | "Tezos" | "TezosGhostnet" | "Tron" | "TronNile" | "XrpLedger" | "XrpLedgerTestnet" | "KeyECDSA" | "KeyECDSAStark" | "KeyEdDSA";
|
|
3101
3104
|
blockNumber: number;
|
|
3102
3105
|
txHash: string;
|
|
3103
3106
|
index?: string | undefined;
|
|
@@ -3133,7 +3136,7 @@ export type ListApprovalsResponse = {
|
|
|
3133
3136
|
} | {
|
|
3134
3137
|
walletId: string;
|
|
3135
3138
|
direction: "In" | "Out";
|
|
3136
|
-
network: "Algorand" | "AlgorandTestnet" | "ArbitrumOne" | "ArbitrumGoerli" | "ArbitrumSepolia" | "AvalancheC" | "AvalancheCFuji" | "Base" | "BaseGoerli" | "BaseSepolia" | "Bitcoin" | "BitcoinTestnet3" | "Bsc" | "BscTestnet" | "Cardano" | "CardanoPreprod" | "Ethereum" | "EthereumGoerli" | "EthereumSepolia" | "FantomOpera" | "FantomTestnet" | "Kusama" | "Litecoin" | "LitecoinTestnet" | "Optimism" | "OptimismGoerli" | "OptimismSepolia" | "Polkadot" | "Westend" | "Polygon" | "PolygonAmoy" | "PolygonMumbai" | "Solana" | "SolanaDevnet" | "Stellar" | "StellarTestnet" | "Tezos" | "TezosGhostnet" | "Tron" | "TronNile" | "XrpLedger" | "XrpLedgerTestnet" | "KeyECDSA" | "KeyECDSAStark" | "KeyEdDSA";
|
|
3139
|
+
network: "Algorand" | "AlgorandTestnet" | "ArbitrumOne" | "ArbitrumGoerli" | "ArbitrumSepolia" | "AvalancheC" | "AvalancheCFuji" | "Base" | "BaseGoerli" | "BaseSepolia" | "Bitcoin" | "BitcoinTestnet3" | "Bsc" | "BscTestnet" | "Cardano" | "CardanoPreprod" | "Celo" | "CeloAlfajores" | "Ethereum" | "EthereumGoerli" | "EthereumSepolia" | "EthereumHolesky" | "FantomOpera" | "FantomTestnet" | "Kusama" | "Litecoin" | "LitecoinTestnet" | "Optimism" | "OptimismGoerli" | "OptimismSepolia" | "Polkadot" | "Westend" | "Polygon" | "PolygonAmoy" | "PolygonMumbai" | "Solana" | "SolanaDevnet" | "Stellar" | "StellarTestnet" | "Tezos" | "TezosGhostnet" | "Tron" | "TronNile" | "XrpLedger" | "XrpLedgerTestnet" | "KeyECDSA" | "KeyECDSAStark" | "KeyEdDSA";
|
|
3137
3140
|
blockNumber: number;
|
|
3138
3141
|
txHash: string;
|
|
3139
3142
|
index?: string | undefined;
|
|
@@ -3169,7 +3172,7 @@ export type ListApprovalsResponse = {
|
|
|
3169
3172
|
} | {
|
|
3170
3173
|
walletId: string;
|
|
3171
3174
|
direction: "In" | "Out";
|
|
3172
|
-
network: "Algorand" | "AlgorandTestnet" | "ArbitrumOne" | "ArbitrumGoerli" | "ArbitrumSepolia" | "AvalancheC" | "AvalancheCFuji" | "Base" | "BaseGoerli" | "BaseSepolia" | "Bitcoin" | "BitcoinTestnet3" | "Bsc" | "BscTestnet" | "Cardano" | "CardanoPreprod" | "Ethereum" | "EthereumGoerli" | "EthereumSepolia" | "FantomOpera" | "FantomTestnet" | "Kusama" | "Litecoin" | "LitecoinTestnet" | "Optimism" | "OptimismGoerli" | "OptimismSepolia" | "Polkadot" | "Westend" | "Polygon" | "PolygonAmoy" | "PolygonMumbai" | "Solana" | "SolanaDevnet" | "Stellar" | "StellarTestnet" | "Tezos" | "TezosGhostnet" | "Tron" | "TronNile" | "XrpLedger" | "XrpLedgerTestnet" | "KeyECDSA" | "KeyECDSAStark" | "KeyEdDSA";
|
|
3175
|
+
network: "Algorand" | "AlgorandTestnet" | "ArbitrumOne" | "ArbitrumGoerli" | "ArbitrumSepolia" | "AvalancheC" | "AvalancheCFuji" | "Base" | "BaseGoerli" | "BaseSepolia" | "Bitcoin" | "BitcoinTestnet3" | "Bsc" | "BscTestnet" | "Cardano" | "CardanoPreprod" | "Celo" | "CeloAlfajores" | "Ethereum" | "EthereumGoerli" | "EthereumSepolia" | "EthereumHolesky" | "FantomOpera" | "FantomTestnet" | "Kusama" | "Litecoin" | "LitecoinTestnet" | "Optimism" | "OptimismGoerli" | "OptimismSepolia" | "Polkadot" | "Westend" | "Polygon" | "PolygonAmoy" | "PolygonMumbai" | "Solana" | "SolanaDevnet" | "Stellar" | "StellarTestnet" | "Tezos" | "TezosGhostnet" | "Tron" | "TronNile" | "XrpLedger" | "XrpLedgerTestnet" | "KeyECDSA" | "KeyECDSAStark" | "KeyEdDSA";
|
|
3173
3176
|
blockNumber: number;
|
|
3174
3177
|
txHash: string;
|
|
3175
3178
|
index?: string | undefined;
|
|
@@ -3201,7 +3204,7 @@ export type ListApprovalsResponse = {
|
|
|
3201
3204
|
} | {
|
|
3202
3205
|
walletId: string;
|
|
3203
3206
|
direction: "In" | "Out";
|
|
3204
|
-
network: "Algorand" | "AlgorandTestnet" | "ArbitrumOne" | "ArbitrumGoerli" | "ArbitrumSepolia" | "AvalancheC" | "AvalancheCFuji" | "Base" | "BaseGoerli" | "BaseSepolia" | "Bitcoin" | "BitcoinTestnet3" | "Bsc" | "BscTestnet" | "Cardano" | "CardanoPreprod" | "Ethereum" | "EthereumGoerli" | "EthereumSepolia" | "FantomOpera" | "FantomTestnet" | "Kusama" | "Litecoin" | "LitecoinTestnet" | "Optimism" | "OptimismGoerli" | "OptimismSepolia" | "Polkadot" | "Westend" | "Polygon" | "PolygonAmoy" | "PolygonMumbai" | "Solana" | "SolanaDevnet" | "Stellar" | "StellarTestnet" | "Tezos" | "TezosGhostnet" | "Tron" | "TronNile" | "XrpLedger" | "XrpLedgerTestnet" | "KeyECDSA" | "KeyECDSAStark" | "KeyEdDSA";
|
|
3207
|
+
network: "Algorand" | "AlgorandTestnet" | "ArbitrumOne" | "ArbitrumGoerli" | "ArbitrumSepolia" | "AvalancheC" | "AvalancheCFuji" | "Base" | "BaseGoerli" | "BaseSepolia" | "Bitcoin" | "BitcoinTestnet3" | "Bsc" | "BscTestnet" | "Cardano" | "CardanoPreprod" | "Celo" | "CeloAlfajores" | "Ethereum" | "EthereumGoerli" | "EthereumSepolia" | "EthereumHolesky" | "FantomOpera" | "FantomTestnet" | "Kusama" | "Litecoin" | "LitecoinTestnet" | "Optimism" | "OptimismGoerli" | "OptimismSepolia" | "Polkadot" | "Westend" | "Polygon" | "PolygonAmoy" | "PolygonMumbai" | "Solana" | "SolanaDevnet" | "Stellar" | "StellarTestnet" | "Tezos" | "TezosGhostnet" | "Tron" | "TronNile" | "XrpLedger" | "XrpLedgerTestnet" | "KeyECDSA" | "KeyECDSAStark" | "KeyEdDSA";
|
|
3205
3208
|
blockNumber: number;
|
|
3206
3209
|
txHash: string;
|
|
3207
3210
|
index?: string | undefined;
|
|
@@ -3233,7 +3236,7 @@ export type ListApprovalsResponse = {
|
|
|
3233
3236
|
} | {
|
|
3234
3237
|
walletId: string;
|
|
3235
3238
|
direction: "In" | "Out";
|
|
3236
|
-
network: "Algorand" | "AlgorandTestnet" | "ArbitrumOne" | "ArbitrumGoerli" | "ArbitrumSepolia" | "AvalancheC" | "AvalancheCFuji" | "Base" | "BaseGoerli" | "BaseSepolia" | "Bitcoin" | "BitcoinTestnet3" | "Bsc" | "BscTestnet" | "Cardano" | "CardanoPreprod" | "Ethereum" | "EthereumGoerli" | "EthereumSepolia" | "FantomOpera" | "FantomTestnet" | "Kusama" | "Litecoin" | "LitecoinTestnet" | "Optimism" | "OptimismGoerli" | "OptimismSepolia" | "Polkadot" | "Westend" | "Polygon" | "PolygonAmoy" | "PolygonMumbai" | "Solana" | "SolanaDevnet" | "Stellar" | "StellarTestnet" | "Tezos" | "TezosGhostnet" | "Tron" | "TronNile" | "XrpLedger" | "XrpLedgerTestnet" | "KeyECDSA" | "KeyECDSAStark" | "KeyEdDSA";
|
|
3239
|
+
network: "Algorand" | "AlgorandTestnet" | "ArbitrumOne" | "ArbitrumGoerli" | "ArbitrumSepolia" | "AvalancheC" | "AvalancheCFuji" | "Base" | "BaseGoerli" | "BaseSepolia" | "Bitcoin" | "BitcoinTestnet3" | "Bsc" | "BscTestnet" | "Cardano" | "CardanoPreprod" | "Celo" | "CeloAlfajores" | "Ethereum" | "EthereumGoerli" | "EthereumSepolia" | "EthereumHolesky" | "FantomOpera" | "FantomTestnet" | "Kusama" | "Litecoin" | "LitecoinTestnet" | "Optimism" | "OptimismGoerli" | "OptimismSepolia" | "Polkadot" | "Westend" | "Polygon" | "PolygonAmoy" | "PolygonMumbai" | "Solana" | "SolanaDevnet" | "Stellar" | "StellarTestnet" | "Tezos" | "TezosGhostnet" | "Tron" | "TronNile" | "XrpLedger" | "XrpLedgerTestnet" | "KeyECDSA" | "KeyECDSAStark" | "KeyEdDSA";
|
|
3237
3240
|
blockNumber: number;
|
|
3238
3241
|
txHash: string;
|
|
3239
3242
|
index?: string | undefined;
|
|
@@ -3265,7 +3268,7 @@ export type ListApprovalsResponse = {
|
|
|
3265
3268
|
} | {
|
|
3266
3269
|
walletId: string;
|
|
3267
3270
|
direction: "In" | "Out";
|
|
3268
|
-
network: "Algorand" | "AlgorandTestnet" | "ArbitrumOne" | "ArbitrumGoerli" | "ArbitrumSepolia" | "AvalancheC" | "AvalancheCFuji" | "Base" | "BaseGoerli" | "BaseSepolia" | "Bitcoin" | "BitcoinTestnet3" | "Bsc" | "BscTestnet" | "Cardano" | "CardanoPreprod" | "Ethereum" | "EthereumGoerli" | "EthereumSepolia" | "FantomOpera" | "FantomTestnet" | "Kusama" | "Litecoin" | "LitecoinTestnet" | "Optimism" | "OptimismGoerli" | "OptimismSepolia" | "Polkadot" | "Westend" | "Polygon" | "PolygonAmoy" | "PolygonMumbai" | "Solana" | "SolanaDevnet" | "Stellar" | "StellarTestnet" | "Tezos" | "TezosGhostnet" | "Tron" | "TronNile" | "XrpLedger" | "XrpLedgerTestnet" | "KeyECDSA" | "KeyECDSAStark" | "KeyEdDSA";
|
|
3271
|
+
network: "Algorand" | "AlgorandTestnet" | "ArbitrumOne" | "ArbitrumGoerli" | "ArbitrumSepolia" | "AvalancheC" | "AvalancheCFuji" | "Base" | "BaseGoerli" | "BaseSepolia" | "Bitcoin" | "BitcoinTestnet3" | "Bsc" | "BscTestnet" | "Cardano" | "CardanoPreprod" | "Celo" | "CeloAlfajores" | "Ethereum" | "EthereumGoerli" | "EthereumSepolia" | "EthereumHolesky" | "FantomOpera" | "FantomTestnet" | "Kusama" | "Litecoin" | "LitecoinTestnet" | "Optimism" | "OptimismGoerli" | "OptimismSepolia" | "Polkadot" | "Westend" | "Polygon" | "PolygonAmoy" | "PolygonMumbai" | "Solana" | "SolanaDevnet" | "Stellar" | "StellarTestnet" | "Tezos" | "TezosGhostnet" | "Tron" | "TronNile" | "XrpLedger" | "XrpLedgerTestnet" | "KeyECDSA" | "KeyECDSAStark" | "KeyEdDSA";
|
|
3269
3272
|
blockNumber: number;
|
|
3270
3273
|
txHash: string;
|
|
3271
3274
|
index?: string | undefined;
|
|
@@ -3297,7 +3300,7 @@ export type ListApprovalsResponse = {
|
|
|
3297
3300
|
} | {
|
|
3298
3301
|
walletId: string;
|
|
3299
3302
|
direction: "In" | "Out";
|
|
3300
|
-
network: "Algorand" | "AlgorandTestnet" | "ArbitrumOne" | "ArbitrumGoerli" | "ArbitrumSepolia" | "AvalancheC" | "AvalancheCFuji" | "Base" | "BaseGoerli" | "BaseSepolia" | "Bitcoin" | "BitcoinTestnet3" | "Bsc" | "BscTestnet" | "Cardano" | "CardanoPreprod" | "Ethereum" | "EthereumGoerli" | "EthereumSepolia" | "FantomOpera" | "FantomTestnet" | "Kusama" | "Litecoin" | "LitecoinTestnet" | "Optimism" | "OptimismGoerli" | "OptimismSepolia" | "Polkadot" | "Westend" | "Polygon" | "PolygonAmoy" | "PolygonMumbai" | "Solana" | "SolanaDevnet" | "Stellar" | "StellarTestnet" | "Tezos" | "TezosGhostnet" | "Tron" | "TronNile" | "XrpLedger" | "XrpLedgerTestnet" | "KeyECDSA" | "KeyECDSAStark" | "KeyEdDSA";
|
|
3303
|
+
network: "Algorand" | "AlgorandTestnet" | "ArbitrumOne" | "ArbitrumGoerli" | "ArbitrumSepolia" | "AvalancheC" | "AvalancheCFuji" | "Base" | "BaseGoerli" | "BaseSepolia" | "Bitcoin" | "BitcoinTestnet3" | "Bsc" | "BscTestnet" | "Cardano" | "CardanoPreprod" | "Celo" | "CeloAlfajores" | "Ethereum" | "EthereumGoerli" | "EthereumSepolia" | "EthereumHolesky" | "FantomOpera" | "FantomTestnet" | "Kusama" | "Litecoin" | "LitecoinTestnet" | "Optimism" | "OptimismGoerli" | "OptimismSepolia" | "Polkadot" | "Westend" | "Polygon" | "PolygonAmoy" | "PolygonMumbai" | "Solana" | "SolanaDevnet" | "Stellar" | "StellarTestnet" | "Tezos" | "TezosGhostnet" | "Tron" | "TronNile" | "XrpLedger" | "XrpLedgerTestnet" | "KeyECDSA" | "KeyECDSAStark" | "KeyEdDSA";
|
|
3301
3304
|
blockNumber: number;
|
|
3302
3305
|
txHash: string;
|
|
3303
3306
|
index?: string | undefined;
|
|
@@ -441,6 +441,7 @@ export type GetTransferResponse = {
|
|
|
441
441
|
to: string;
|
|
442
442
|
amount: string;
|
|
443
443
|
mint: string;
|
|
444
|
+
createDestinationAccount?: boolean | undefined;
|
|
444
445
|
};
|
|
445
446
|
metadata: {
|
|
446
447
|
asset: {
|
|
@@ -1163,6 +1164,7 @@ export type ListTransfersResponse = {
|
|
|
1163
1164
|
to: string;
|
|
1164
1165
|
amount: string;
|
|
1165
1166
|
mint: string;
|
|
1167
|
+
createDestinationAccount?: boolean | undefined;
|
|
1166
1168
|
};
|
|
1167
1169
|
metadata: {
|
|
1168
1170
|
asset: {
|
|
@@ -1193,6 +1195,7 @@ export type ListWalletsQuery = {
|
|
|
1193
1195
|
limit?: string | undefined;
|
|
1194
1196
|
paginationToken?: string | undefined;
|
|
1195
1197
|
ownerId?: string | undefined;
|
|
1198
|
+
ownerUsername?: string | undefined;
|
|
1196
1199
|
};
|
|
1197
1200
|
export type ListWalletsResponse = {
|
|
1198
1201
|
items: {
|
|
@@ -1279,6 +1282,7 @@ export type TransferAssetBody = {
|
|
|
1279
1282
|
to: string;
|
|
1280
1283
|
amount: string;
|
|
1281
1284
|
mint: string;
|
|
1285
|
+
createDestinationAccount?: boolean | undefined;
|
|
1282
1286
|
};
|
|
1283
1287
|
export type TransferAssetParams = {
|
|
1284
1288
|
walletId: string;
|
|
@@ -1342,6 +1346,7 @@ export type TransferAssetResponse = {
|
|
|
1342
1346
|
to: string;
|
|
1343
1347
|
amount: string;
|
|
1344
1348
|
mint: string;
|
|
1349
|
+
createDestinationAccount?: boolean | undefined;
|
|
1345
1350
|
};
|
|
1346
1351
|
metadata: {
|
|
1347
1352
|
asset: {
|