Skip to content

Commit

Permalink
Some updates for posting a user
Browse files Browse the repository at this point in the history
  • Loading branch information
hide-on-bush-x committed Apr 19, 2022
1 parent 1fcc9f1 commit e9ec33d
Show file tree
Hide file tree
Showing 3 changed files with 22 additions and 22 deletions.
2 changes: 1 addition & 1 deletion package.json
@@ -1,6 +1,6 @@
{
"name": "@masa-finance/tools",
"version": "0.1.5",
"version": "0.1.8",
"license": "MIT",
"main": "dist/index.js",
"typings": "dist/index.d.ts",
Expand Down
40 changes: 21 additions & 19 deletions src/common/rest/index.ts
Expand Up @@ -2,16 +2,16 @@ import * as auth from './auth';
import * as getClient from './getUser';
import * as postClient from './post-user';
import * as accounts from './accounts';
import * as getCountries from './get-countries'
import * as postCountry from './post-country'
import * as getVezgoInsight from './get-vezgo-insight'
import * as postVezgoInsight from './post-vezgo-insight'
import * as postVezgoAccounts from './post-vezgo-accounts'
import * as getVezgoAccount from './get-vezgo-account'
import * as getVezgoUserAccounts from './get-vezgo-user-accounts'
import * as postVezgoTransactions from './post-vezgo-transactions'
import * as getVezgoUserTransactions from './get-vezgo-user-transactions'
import * as getVezgoTransaction from './get-vezgo-transaction'
import * as getCountries from './get-countries';
import * as postCountry from './post-country';
import * as getVezgoInsight from './get-vezgo-insight';
import * as postVezgoInsight from './post-vezgo-insight';
import * as postVezgoAccounts from './post-vezgo-accounts';
import * as getVezgoAccount from './get-vezgo-account';
import * as getVezgoUserAccounts from './get-vezgo-user-accounts';
import * as postVezgoTransactions from './post-vezgo-transactions';
import * as getVezgoUserTransactions from './get-vezgo-user-transactions';
import * as getVezgoTransaction from './get-vezgo-transaction';
import * as getPlaidAccount from './plaid/get-plaid-account';
import * as getPlaidLinkToken from './plaid/get-plaid-link-token';
import * as getPlaidTransaction from './plaid/get-plaid-transaction';
Expand All @@ -20,6 +20,7 @@ import * as listPlaidTransaction from './plaid/list-plaid-transactions';
import * as getPlaidAccessToken from './plaid/get-plaid-access-token';
import * as savePlaidAccounts from './plaid/save-plaid-accounts';
import * as savePlaidTransaction from './plaid/save-plaid-transactions';
import * as postUser from './post-user';

export interface Parameter {
key: number;
Expand All @@ -38,14 +39,14 @@ export interface MethodMetadata {
method: 'GET' | 'POST' | 'PUT' | 'DELETE' | 'OPTIONS';
parameters: Parameter[];
}
export const masaRestClient = {
auth,
accounts,
getClient,
postClient,
getVezgoInsight,
postVezgoInsight,
postVezgoAccounts,
export const masaRestClient = {
auth,
accounts,
getClient,
postClient,
getVezgoInsight,
postVezgoInsight,
postVezgoAccounts,
getVezgoAccount,
getVezgoUserAccounts,
postVezgoTransactions,
Expand All @@ -60,5 +61,6 @@ export const masaRestClient = {
savePlaidAccounts,
savePlaidTransaction,
getCountries,
postCountry
postUser,
postCountry,
};
2 changes: 0 additions & 2 deletions src/common/rest/post-user/index.ts
@@ -1,6 +1,4 @@
import { useLazyAxios } from 'use-axios-client';
import { MethodMetadata, Parameter } from '..';
import { URL } from '../../helpers/axios';
import { useRestCall } from '../../helpers/rest-calls';

const path = 'me';
Expand Down

0 comments on commit e9ec33d

Please sign in to comment.