Skip to content

Commit

Permalink
Merge pull request #9 from zarbanio/fix/export-issue
Browse files Browse the repository at this point in the history
fix(bugs): exports
  • Loading branch information
arashalaei authored Dec 13, 2024
2 parents bcc46b7 + 0b9d81c commit cd62d6a
Show file tree
Hide file tree
Showing 851 changed files with 27,763 additions and 10 deletions.
3 changes: 3 additions & 0 deletions dist/cjs/index.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
export * as Service from "./service/src/index.js";
export * as Wallet from "./wallet/src/index.js";
//# sourceMappingURL=index.d.ts.map
1 change: 1 addition & 0 deletions dist/cjs/index.d.ts.map

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

7 changes: 7 additions & 0 deletions dist/cjs/index.js

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

1 change: 1 addition & 0 deletions dist/cjs/index.js.map

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

54 changes: 54 additions & 0 deletions dist/cjs/service/src/apis/AccountsApi.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,54 @@
/**
* Zarban API
* API for Zarban services.
*
* The version of the OpenAPI document: 2.0.0
* Contact: [email protected]
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
import * as runtime from '../runtime';
import type { Account } from '../models/index';
export interface GetAccountByAddressRequest {
address: string;
}
/**
* AccountsApi - interface
*
* @export
* @interface AccountsApiInterface
*/
export interface AccountsApiInterface {
/**
* Get account by address
* @summary Get account by address
* @param {string} address Ethereum address of the account
* @param {*} [options] Override http request option.
* @throws {RequiredError}
* @memberof AccountsApiInterface
*/
getAccountByAddressRaw(requestParameters: GetAccountByAddressRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<Account>>;
/**
* Get account by address
* Get account by address
*/
getAccountByAddress(requestParameters: GetAccountByAddressRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Account>;
}
/**
*
*/
export declare class AccountsApi extends runtime.BaseAPI implements AccountsApiInterface {
/**
* Get account by address
* Get account by address
*/
getAccountByAddressRaw(requestParameters: GetAccountByAddressRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<Account>>;
/**
* Get account by address
* Get account by address
*/
getAccountByAddress(requestParameters: GetAccountByAddressRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<Account>;
}
//# sourceMappingURL=AccountsApi.d.ts.map
1 change: 1 addition & 0 deletions dist/cjs/service/src/apis/AccountsApi.d.ts.map

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

52 changes: 52 additions & 0 deletions dist/cjs/service/src/apis/AccountsApi.js

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

1 change: 1 addition & 0 deletions dist/cjs/service/src/apis/AccountsApi.js.map

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

54 changes: 54 additions & 0 deletions dist/cjs/service/src/apis/AddressesApi.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,54 @@
/**
* Zarban API
* API for Zarban services.
*
* The version of the OpenAPI document: 2.0.0
* Contact: [email protected]
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
import * as runtime from '../runtime';
import type { AddressResponse } from '../models/index';
export interface GetAllAddressesRequest {
format?: string;
}
/**
* AddressesApi - interface
*
* @export
* @interface AddressesApiInterface
*/
export interface AddressesApiInterface {
/**
* All addresses knows to Zarban.
* @summary Get all addresses
* @param {string} [format] The type of addresses to return
* @param {*} [options] Override http request option.
* @throws {RequiredError}
* @memberof AddressesApiInterface
*/
getAllAddressesRaw(requestParameters: GetAllAddressesRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<AddressResponse>>;
/**
* All addresses knows to Zarban.
* Get all addresses
*/
getAllAddresses(requestParameters: GetAllAddressesRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<AddressResponse>;
}
/**
*
*/
export declare class AddressesApi extends runtime.BaseAPI implements AddressesApiInterface {
/**
* All addresses knows to Zarban.
* Get all addresses
*/
getAllAddressesRaw(requestParameters: GetAllAddressesRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<AddressResponse>>;
/**
* All addresses knows to Zarban.
* Get all addresses
*/
getAllAddresses(requestParameters?: GetAllAddressesRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<AddressResponse>;
}
//# sourceMappingURL=AddressesApi.d.ts.map
1 change: 1 addition & 0 deletions dist/cjs/service/src/apis/AddressesApi.d.ts.map

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

52 changes: 52 additions & 0 deletions dist/cjs/service/src/apis/AddressesApi.js

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

1 change: 1 addition & 0 deletions dist/cjs/service/src/apis/AddressesApi.js.map

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

60 changes: 60 additions & 0 deletions dist/cjs/service/src/apis/BorrowsApi.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,60 @@
/**
* Zarban API
* API for Zarban services.
*
* The version of the OpenAPI document: 2.0.0
* Contact: [email protected]
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
import * as runtime from '../runtime';
import type { UserBorrowsResponse } from '../models/index';
export interface GetUserBorrowsRequest {
user?: string;
reserve?: string;
cursor?: number;
limit?: number;
}
/**
* BorrowsApi - interface
*
* @export
* @interface BorrowsApiInterface
*/
export interface BorrowsApiInterface {
/**
* Get user borrows of lendingpool
* @summary Get user borrows of lendingpool
* @param {string} [user] Ethereum address of the user
* @param {string} [reserve] Ethereum address of the reserve
* @param {number} [cursor] Cursor for pagination
* @param {number} [limit] Limit the number of deposits returned (default is 50)
* @param {*} [options] Override http request option.
* @throws {RequiredError}
* @memberof BorrowsApiInterface
*/
getUserBorrowsRaw(requestParameters: GetUserBorrowsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<UserBorrowsResponse>>;
/**
* Get user borrows of lendingpool
* Get user borrows of lendingpool
*/
getUserBorrows(requestParameters: GetUserBorrowsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<UserBorrowsResponse>;
}
/**
*
*/
export declare class BorrowsApi extends runtime.BaseAPI implements BorrowsApiInterface {
/**
* Get user borrows of lendingpool
* Get user borrows of lendingpool
*/
getUserBorrowsRaw(requestParameters: GetUserBorrowsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<runtime.ApiResponse<UserBorrowsResponse>>;
/**
* Get user borrows of lendingpool
* Get user borrows of lendingpool
*/
getUserBorrows(requestParameters?: GetUserBorrowsRequest, initOverrides?: RequestInit | runtime.InitOverrideFunction): Promise<UserBorrowsResponse>;
}
//# sourceMappingURL=BorrowsApi.d.ts.map
1 change: 1 addition & 0 deletions dist/cjs/service/src/apis/BorrowsApi.d.ts.map

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

61 changes: 61 additions & 0 deletions dist/cjs/service/src/apis/BorrowsApi.js

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

1 change: 1 addition & 0 deletions dist/cjs/service/src/apis/BorrowsApi.js.map

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

Loading

0 comments on commit cd62d6a

Please sign in to comment.