Skip to content

Commit 82ef062

Browse files
committed
fix: added and updated missing and incorrect types from generated api
1 parent 77006be commit 82ef062

File tree

1 file changed

+80
-1
lines changed

1 file changed

+80
-1
lines changed

patches/api.patch

Lines changed: 80 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
diff --git a/generated/openapi/api.ts b/generated/openapi/api.ts
2-
index 5097995..85a36a2 100644
2+
index 55f855a..98836fc 100644
33
--- a/generated/openapi/api.ts
44
+++ b/generated/openapi/api.ts
55
@@ -279,7 +279,7 @@ export interface CredAttrSpec {
@@ -38,3 +38,82 @@ index 5097995..85a36a2 100644
3838
/**
3939
*
4040
* @type {Array<PresAttrSpec>}
41+
@@ -1553,7 +1553,7 @@ export interface Schema {
42+
* @type {Array<string>}
43+
* @memberof Schema
44+
*/
45+
- attr_names?: Array<string>;
46+
+ attrNames?: Array<string>;
47+
/**
48+
* Schema name
49+
* @type {string}
50+
@@ -6073,7 +6073,7 @@ export const LedgerApiFp = function(configuration?: Configuration) {
51+
* @param {*} [options] Override http request option.
52+
* @throws {RequiredError}
53+
*/
54+
- ledgerDidEndpointGet(did: string, options?: any): (axios?: AxiosInstance, basePath?: string) => AxiosPromise<void> {
55+
+ ledgerDidEndpointGet(did: string, options?: any): (axios?: AxiosInstance, basePath?: string) => AxiosPromise<LedgerEndpointGetResults> {
56+
const localVarAxiosArgs = LedgerApiAxiosParamCreator(configuration).ledgerDidEndpointGet(did, options);
57+
return (axios: AxiosInstance = globalAxios, basePath: string = BASE_PATH) => {
58+
const axiosRequestArgs = {...localVarAxiosArgs.options, url: basePath + localVarAxiosArgs.url};
59+
@@ -6087,7 +6087,7 @@ export const LedgerApiFp = function(configuration?: Configuration) {
60+
* @param {*} [options] Override http request option.
61+
* @throws {RequiredError}
62+
*/
63+
- ledgerDidVerkeyGet(did: string, options?: any): (axios?: AxiosInstance, basePath?: string) => AxiosPromise<void> {
64+
+ ledgerDidVerkeyGet(did: string, options?: any): (axios?: AxiosInstance, basePath?: string) => AxiosPromise<LedgerVerkeyGetResults> {
65+
const localVarAxiosArgs = LedgerApiAxiosParamCreator(configuration).ledgerDidVerkeyGet(did, options);
66+
return (axios: AxiosInstance = globalAxios, basePath: string = BASE_PATH) => {
67+
const axiosRequestArgs = {...localVarAxiosArgs.options, url: basePath + localVarAxiosArgs.url};
68+
@@ -6104,7 +6104,7 @@ export const LedgerApiFp = function(configuration?: Configuration) {
69+
* @param {*} [options] Override http request option.
70+
* @throws {RequiredError}
71+
*/
72+
- ledgerRegisterNymPost(did: string, verkey: string, alias?: string, role?: string, options?: any): (axios?: AxiosInstance, basePath?: string) => AxiosPromise<void> {
73+
+ ledgerRegisterNymPost(did: string, verkey: string, alias?: string, role?: string, options?: any): (axios?: AxiosInstance, basePath?: string) => AxiosPromise<RegisterNymPostResults> {
74+
const localVarAxiosArgs = LedgerApiAxiosParamCreator(configuration).ledgerRegisterNymPost(did, verkey, alias, role, options);
75+
return (axios: AxiosInstance = globalAxios, basePath: string = BASE_PATH) => {
76+
const axiosRequestArgs = {...localVarAxiosArgs.options, url: basePath + localVarAxiosArgs.url};
77+
@@ -9034,4 +9034,41 @@ export class WalletApi extends BaseAPI {
78+
79+
}
80+
81+
+/**
82+
+ *
83+
+ * @export
84+
+ * @interface LedgerVerkeyGetResults
85+
+ */
86+
+export interface LedgerVerkeyGetResults {
87+
+ /**
88+
+ *
89+
+ * @memberof LedgerVerkeyGetResults
90+
+ */
91+
+ verkey: string | null
92+
+}
93+
+
94+
+/**
95+
+ *
96+
+ * @export
97+
+ * @interface LedgerEndpointGetResults
98+
+ */
99+
+export interface LedgerEndpointGetResults {
100+
+ /**
101+
+ *
102+
+ * @memberof LedgerEndpointGetResults
103+
+ */
104+
+ endpoint: string
105+
+}
106+
107+
+/**
108+
+ *
109+
+ * @export
110+
+ * @interface RegisterNymPostResults
111+
+ */
112+
+export interface RegisterNymPostResults {
113+
+ /**
114+
+ *
115+
+ * @memberof RegisterNymPostResults
116+
+ */
117+
+ success: boolean
118+
+}
119+
\ No newline at end of file

0 commit comments

Comments
 (0)