Skip to content

Commit

Permalink
Regenerate SDK api types
Browse files Browse the repository at this point in the history
  • Loading branch information
pedromcunha committed Apr 2, 2024
1 parent f082544 commit bb08d34
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 5 deletions.
3 changes: 2 additions & 1 deletion packages/sdk/src/routes/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,5 +13,6 @@ export const routes = [
"/requests",
"/transactions/index",
"/transactions/status",
"/users/balance"
"/users/balance",
"/prices/rates"
];
22 changes: 18 additions & 4 deletions packages/sdk/src/types/api.ts
Original file line number Diff line number Diff line change
Expand Up @@ -311,7 +311,7 @@ export interface paths {
amount: string;
usePermit?: boolean;
source?: string;
allowSplitRouting?: boolean;
useExternalLiquidity?: boolean;
};
};
};
Expand Down Expand Up @@ -601,9 +601,6 @@ export interface paths {
fixed?: string;
price?: string;
};
externalActions?: {
price?: string;
}[];
inTxs?: {
fee?: string;
data?: {
Expand All @@ -619,6 +616,7 @@ export interface paths {
}[];
currency?: string;
price?: string;
usesExternalLiquidity?: boolean;
outTxs?: {
fee?: string;
data?: {
Expand Down Expand Up @@ -780,6 +778,22 @@ export interface paths {
};
};
};
"/prices/rates": {
get: {
responses: {
/** @description Default Response */
200: {
content: {
"application/json": {
ETH?: number;
DEGEN?: number;
USDC?: number;
};
};
};
};
};
};
}

export type webhooks = Record<string, never>;
Expand Down

0 comments on commit bb08d34

Please sign in to comment.