Skip to content

Commit

Permalink
Implemented searchProduct method
Browse files Browse the repository at this point in the history
  • Loading branch information
icastillejogomez committed May 16, 2020
1 parent f1f9921 commit d569675
Show file tree
Hide file tree
Showing 41 changed files with 356 additions and 41 deletions.
4 changes: 2 additions & 2 deletions dist/lib/DeGiro.d.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { DeGiroClassInterface } from './interfaces';
import { DeGiroSettupType, AccountConfigType, AccountDataType, CashFoundType, GetPorfolioConfigType } from './types';
import { DeGiroSettupType, AccountConfigType, AccountDataType, CashFoundType, SearchProductResultType, GetPorfolioConfigType, SearchProductOptionsType } from './types';
/**
* @class DeGiro
* @description Main class of DeGiro Unofficial API.
Expand All @@ -20,6 +20,6 @@ export declare class DeGiro implements DeGiroClassInterface {
getPortfolio(config: GetPorfolioConfigType): Promise<any[]>;
completePortfolioDetails(portfolio: any[], getProductDetails: boolean): Promise<any[]>;
getProductsByIds(ids: string[]): Promise<any[]>;
printConfig(): void;
searchProduct(options: SearchProductOptionsType): Promise<SearchProductResultType[]>;
}
//# sourceMappingURL=DeGiro.d.ts.map
2 changes: 1 addition & 1 deletion dist/lib/DeGiro.d.ts.map

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

10 changes: 5 additions & 5 deletions dist/lib/DeGiro.js

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

2 changes: 1 addition & 1 deletion dist/lib/DeGiro.js.map

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

5 changes: 2 additions & 3 deletions dist/lib/interfaces/DeGiroClassInterface.d.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { CashFoundType, AccountConfigType, GetPorfolioConfigType, AccountDataType } from '../types';
import { CashFoundType, AccountConfigType, GetPorfolioConfigType, AccountDataType, SearchProductOptionsType, SearchProductResultType } from '../types';
/**
* @interface DeGiroClassInterface
*/
Expand All @@ -10,7 +10,6 @@ export interface DeGiroClassInterface {
getCashFunds(): CashFoundType[];
getPortfolio(config: GetPorfolioConfigType): Promise<any[]>;
getProductsByIds(ids: string[]): Promise<any[]>;
printConfig(): void;
printConfig(): void;
searchProduct(options: SearchProductOptionsType): Promise<SearchProductResultType[]>;
}
//# sourceMappingURL=DeGiroClassInterface.d.ts.map
2 changes: 1 addition & 1 deletion dist/lib/interfaces/DeGiroClassInterface.d.ts.map

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

3 changes: 2 additions & 1 deletion dist/lib/requests/index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,6 @@ import { getAccountConfigRequest } from './getAccountConfig';
import { getAccountDataRequest } from './getAccountData';
import { getPortfolioRequest } from './getPortfolioRequest';
import { getProductsByIdsRequest } from './getProductsByIdsRequest';
export { loginRequest, getAccountConfigRequest, getAccountDataRequest, getPortfolioRequest, getProductsByIdsRequest, };
import { searchProductRequest } from './searchProductRequest';
export { loginRequest, getAccountConfigRequest, getAccountDataRequest, getPortfolioRequest, getProductsByIdsRequest, searchProductRequest, };
//# sourceMappingURL=index.d.ts.map
2 changes: 1 addition & 1 deletion dist/lib/requests/index.d.ts.map

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

4 changes: 3 additions & 1 deletion dist/lib/requests/index.js

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

2 changes: 1 addition & 1 deletion dist/lib/requests/index.js.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/lib/requests/searchProductRequest.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
import { SearchProductOptionsType, AccountConfigType, AccountDataType } from '../types';
export declare function searchProductRequest(options: SearchProductOptionsType, accountConfig: AccountConfigType, accountData: AccountDataType): Promise<any>;
//# sourceMappingURL=searchProductRequest.d.ts.map
1 change: 1 addition & 0 deletions dist/lib/requests/searchProductRequest.d.ts.map

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

40 changes: 40 additions & 0 deletions dist/lib/requests/searchProductRequest.js

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

Loading

0 comments on commit d569675

Please sign in to comment.