squarefi-bff-api-module 1.24.20 → 1.24.21
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.
|
@@ -648,12 +648,14 @@ export declare namespace API {
|
|
|
648
648
|
namespace Keys {
|
|
649
649
|
interface Key {
|
|
650
650
|
id: string;
|
|
651
|
-
key: string;
|
|
652
651
|
name: string;
|
|
653
652
|
role: APIKeyRole;
|
|
654
653
|
wallet_id: string;
|
|
655
654
|
created_at: string;
|
|
656
655
|
}
|
|
656
|
+
interface ExtendedKey extends Key {
|
|
657
|
+
key: string;
|
|
658
|
+
}
|
|
657
659
|
namespace Create {
|
|
658
660
|
type Request = {
|
|
659
661
|
name: string;
|
|
@@ -662,7 +664,7 @@ export declare namespace API {
|
|
|
662
664
|
};
|
|
663
665
|
type Response = {
|
|
664
666
|
success: boolean;
|
|
665
|
-
data: API.Frontend.Access.Keys.
|
|
667
|
+
data: API.Frontend.Access.Keys.ExtendedKey;
|
|
666
668
|
};
|
|
667
669
|
}
|
|
668
670
|
namespace List {
|
|
@@ -674,7 +676,7 @@ export declare namespace API {
|
|
|
674
676
|
namespace Regenerate {
|
|
675
677
|
type Response = {
|
|
676
678
|
success: boolean;
|
|
677
|
-
data: API.Frontend.Access.Keys.
|
|
679
|
+
data: API.Frontend.Access.Keys.ExtendedKey;
|
|
678
680
|
};
|
|
679
681
|
}
|
|
680
682
|
namespace Revoke {
|
package/package.json
CHANGED
package/src/api/types/types.ts
CHANGED
|
@@ -795,12 +795,16 @@ export namespace API {
|
|
|
795
795
|
export namespace Keys {
|
|
796
796
|
export interface Key {
|
|
797
797
|
id: string;
|
|
798
|
-
key: string;
|
|
799
798
|
name: string;
|
|
800
799
|
role: APIKeyRole;
|
|
801
800
|
wallet_id: string;
|
|
802
801
|
created_at: string;
|
|
803
802
|
}
|
|
803
|
+
|
|
804
|
+
export interface ExtendedKey extends Key {
|
|
805
|
+
key: string;
|
|
806
|
+
}
|
|
807
|
+
|
|
804
808
|
export namespace Create {
|
|
805
809
|
export type Request = {
|
|
806
810
|
name: string;
|
|
@@ -809,7 +813,7 @@ export namespace API {
|
|
|
809
813
|
};
|
|
810
814
|
export type Response = {
|
|
811
815
|
success: boolean;
|
|
812
|
-
data: API.Frontend.Access.Keys.
|
|
816
|
+
data: API.Frontend.Access.Keys.ExtendedKey;
|
|
813
817
|
};
|
|
814
818
|
}
|
|
815
819
|
|
|
@@ -823,7 +827,7 @@ export namespace API {
|
|
|
823
827
|
export namespace Regenerate {
|
|
824
828
|
export type Response = {
|
|
825
829
|
success: boolean;
|
|
826
|
-
data: API.Frontend.Access.Keys.
|
|
830
|
+
data: API.Frontend.Access.Keys.ExtendedKey;
|
|
827
831
|
};
|
|
828
832
|
}
|
|
829
833
|
|