Skip to content

Commit

Permalink
Merge pull request #16 from zarbanio/fix/ts-axios
Browse files Browse the repository at this point in the history
fix(cfg): migrate to axios
  • Loading branch information
arashalaei authored Dec 20, 2024
2 parents 4ed78e6 + 2c8d606 commit 8bd7e33
Show file tree
Hide file tree
Showing 3,006 changed files with 71,164 additions and 51,936 deletions.
The diff you're trying to view is too large. We only load the first 3000 changed files.
2 changes: 1 addition & 1 deletion api_specs/service.openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2052,7 +2052,7 @@ components:
properties:
to:
type: string
pattern: ^(0x)?[0-9a-fA-F]{40}$
pattern: ^$|^(0x)?[0-9a-fA-F]{40}$
calldata:
type: string
value:
Expand Down
4 changes: 2 additions & 2 deletions api_specs/wallet.openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2903,8 +2903,8 @@ components:
type: string
description: Intent to create a vault
enum:
- create
- preview
- Create
- Preview
example: "Create"
planName:
type: string
Expand Down
3 changes: 3 additions & 0 deletions dist/esm/index.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
export * as Service from "./service";
export * as Wallet from "./wallet";
//# sourceMappingURL=index.d.ts.map
1 change: 1 addition & 0 deletions dist/esm/index.d.ts.map

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

3 changes: 3 additions & 0 deletions dist/esm/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/esm/index.js.map

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

29 changes: 29 additions & 0 deletions dist/esm/service/api.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
/**
* 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.
*/
export * as AccountsApi from './api/accounts-api';
export * as AddressesApi from './api/addresses-api';
export * as BorrowsApi from './api/borrows-api';
export * as CollectorApi from './api/collector-api';
export * as DepositsApi from './api/deposits-api';
export * as IlksApi from './api/ilks-api';
export * as LendingPoolApi from './api/lending-pool-api';
export * as LogsApi from './api/logs-api';
export * as OrdersApi from './api/orders-api';
export * as PermitApi from './api/permit-api';
export * as PointsApi from './api/points-api';
export * as PricesApi from './api/prices-api';
export * as StableCoinSystemApi from './api/stable-coin-system-api';
export * as StakingApi from './api/staking-api';
export * as SwapApi from './api/swap-api';
export * as VaultsApi from './api/vaults-api';
export * as WebsocketApi from './api/websocket-api';
//# sourceMappingURL=api.d.ts.map
1 change: 1 addition & 0 deletions dist/esm/service/api.d.ts.map

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

31 changes: 31 additions & 0 deletions dist/esm/service/api.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/esm/service/api.js.map

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

91 changes: 91 additions & 0 deletions dist/esm/service/api/accounts-api.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,91 @@
/**
* 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 type { Configuration } from '../configuration';
import type { AxiosPromise, AxiosInstance, RawAxiosRequestConfig } from 'axios';
import { type RequestArgs, BaseAPI } from '../base';
import type { Account } from '../model';
/**
* AccountsApi - axios parameter creator
* @export
*/
export declare const AccountsApiAxiosParamCreator: (configuration?: Configuration) => {
/**
* 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}
*/
getAccountByAddress: (address: string, options?: RawAxiosRequestConfig) => Promise<RequestArgs>;
};
/**
* AccountsApi - functional programming interface
* @export
*/
export declare const AccountsApiFp: (configuration?: Configuration) => {
/**
* 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}
*/
getAccountByAddress(address: string, options?: RawAxiosRequestConfig): Promise<(axios?: AxiosInstance, basePath?: string) => AxiosPromise<Account>>;
};
/**
* AccountsApi - factory interface
* @export
*/
export declare const AccountsApiFactory: (configuration?: Configuration, basePath?: string, axios?: AxiosInstance) => {
/**
* 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}
*/
getAccountByAddress(address: string, options?: RawAxiosRequestConfig): AxiosPromise<Account>;
};
/**
* AccountsApi - interface
* @export
* @interface AccountsApi
*/
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
*/
getAccountByAddress(address: string, options?: RawAxiosRequestConfig): AxiosPromise<Account>;
}
/**
* AccountsApi - object-oriented interface
* @export
* @class AccountsApi
* @extends {BaseAPI}
*/
export declare class AccountsApi extends BaseAPI implements 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 AccountsApi
*/
getAccountByAddress(address: string, options?: RawAxiosRequestConfig): Promise<import("axios").AxiosResponse<Account, any>>;
}
//# sourceMappingURL=accounts-api.d.ts.map
1 change: 1 addition & 0 deletions dist/esm/service/api/accounts-api.d.ts.map

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

124 changes: 124 additions & 0 deletions dist/esm/service/api/accounts-api.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/esm/service/api/accounts-api.js.map

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

Loading

0 comments on commit 8bd7e33

Please sign in to comment.