Skip to content

Commit

Permalink
Auto-generated SDK v1.0.0-beta11
Browse files Browse the repository at this point in the history
  • Loading branch information
GitHub Actions Bot committed Oct 18, 2023
1 parent 437a908 commit 003d60d
Show file tree
Hide file tree
Showing 5 changed files with 39 additions and 14 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
## @curvegrid/multibaas-sdk@1.0.0-beta10
## @curvegrid/multibaas-sdk@1.0.0-beta11

This generator creates TypeScript/JavaScript client that utilizes [axios](https://github.com/axios/axios). The generated Node module can be used in the following environments:

Expand Down Expand Up @@ -36,7 +36,7 @@ navigate to the folder of your consuming project and run one of the following co
_published:_

```
npm install @curvegrid/[email protected]beta10 --save
npm install @curvegrid/[email protected]beta11 --save
```

_unPublished (not recommended):_
Expand Down
41 changes: 33 additions & 8 deletions api.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2769,6 +2769,31 @@ export interface ListHsmWallets200Response {
*/
result: Array<StandaloneWallet>;
}
/**
*
* @export
* @interface ListUserSigners200Response
*/
export interface ListUserSigners200Response {
/**
* The status code.
* @type {number}
* @memberof ListUserSigners200Response
*/
status: number;
/**
* The human-readable status message.
* @type {string}
* @memberof ListUserSigners200Response
*/
message: string;
/**
*
* @type {Array<SignerWallet>}
* @memberof ListUserSigners200Response
*/
result: Array<SignerWallet>;
}
/**
*
* @export
Expand Down Expand Up @@ -3283,7 +3308,7 @@ export interface SignerLabel {
* @type {string}
* @memberof SignerLabel
*/
label?: string;
label: string;
}
/**
* A signer wallet.
Expand All @@ -3296,25 +3321,25 @@ export interface SignerWallet {
* @type {string}
* @memberof SignerWallet
*/
type?: SignerWalletTypeEnum;
type: SignerWalletTypeEnum;
/**
* An ethereum address.
* @type {string}
* @memberof SignerWallet
*/
wallet?: string;
wallet: string;
/**
* An ethereum address.
* @type {string}
* @memberof SignerWallet
*/
signer?: string;
signer: string;
/**
* The label of the signer.
* @type {string}
* @memberof SignerWallet
*/
label?: string;
label: string;
}

export const SignerWalletTypeEnum = {
Expand Down Expand Up @@ -5488,7 +5513,7 @@ export const AdminApiFp = function (configuration?: Configuration) {
async listUserSigners(
userID: number,
options?: AxiosRequestConfig
): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Array<SignerWallet>>> {
): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<ListUserSigners200Response>> {
const localVarAxiosArgs = await localVarAxiosParamCreator.listUserSigners(userID, options);
return createRequestFunction(localVarAxiosArgs, globalAxios, BASE_PATH, configuration);
},
Expand Down Expand Up @@ -5812,7 +5837,7 @@ export const AdminApiFactory = function (configuration?: Configuration, basePath
* @param {*} [options] Override http request option.
* @throws {RequiredError}
*/
listUserSigners(userID: number, options?: any): AxiosPromise<Array<SignerWallet>> {
listUserSigners(userID: number, options?: any): AxiosPromise<ListUserSigners200Response> {
return localVarFp.listUserSigners(userID, options).then((request) => request(axios, basePath));
},
/**
Expand Down Expand Up @@ -6085,7 +6110,7 @@ export interface AdminApiInterface {
* @throws {RequiredError}
* @memberof AdminApiInterface
*/
listUserSigners(userID: number, options?: AxiosRequestConfig): AxiosPromise<Array<SignerWallet>>;
listUserSigners(userID: number, options?: AxiosRequestConfig): AxiosPromise<ListUserSigners200Response>;

/**
* Returns all the users.
Expand Down
2 changes: 1 addition & 1 deletion openapi-generator.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ gitRepoId: multibaas-sdk-typescript
templateDir: templates
additionalProperties:
npmName: "@curvegrid/multibaas-sdk"
npmVersion: 1.0.0-beta10
npmVersion: 1.0.0-beta11
disallowAdditionalPropertiesIfNotPresent: true
legacyDiscriminatorBehavior: false
withInterfaces: true
Expand Down
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@curvegrid/multibaas-sdk",
"version": "1.0.0-beta10",
"version": "1.0.0-beta11",
"description": "MultiBaas SDK for TypeScript / JavaScript",
"author": "Curvegrid",
"repository": {
Expand Down

0 comments on commit 003d60d

Please sign in to comment.