@@ -21,7 +21,7 @@ Retrieve a list of bank accounts for the authenticated team.
2121import { Midday } from " @midday-ai/sdk" ;
2222
2323const midday = new Midday ({
24- bearer : " MIDDAY_API_KEY" ,
24+ token : " MIDDAY_API_KEY" ,
2525});
2626
2727async function run() {
@@ -45,7 +45,7 @@ import { bankAccountsList } from "@midday-ai/sdk/funcs/bankAccountsList.js";
4545// Use `MiddayCore` for best tree-shaking performance.
4646// You can create one instance of it to use across an application.
4747const midday = new MiddayCore ({
48- bearer : " MIDDAY_API_KEY" ,
48+ token : " MIDDAY_API_KEY" ,
4949});
5050
5151async function run() {
@@ -93,7 +93,7 @@ Create a new bank account for the authenticated team.
9393import { Midday } from " @midday-ai/sdk" ;
9494
9595const midday = new Midday ({
96- bearer : " MIDDAY_API_KEY" ,
96+ token : " MIDDAY_API_KEY" ,
9797});
9898
9999async function run() {
@@ -121,7 +121,7 @@ import { bankAccountsCreate } from "@midday-ai/sdk/funcs/bankAccountsCreate.js";
121121// Use `MiddayCore` for best tree-shaking performance.
122122// You can create one instance of it to use across an application.
123123const midday = new MiddayCore ({
124- bearer : " MIDDAY_API_KEY" ,
124+ token : " MIDDAY_API_KEY" ,
125125});
126126
127127async function run() {
@@ -173,7 +173,7 @@ Retrieve a bank account by ID for the authenticated team.
173173import { Midday } from " @midday-ai/sdk" ;
174174
175175const midday = new Midday ({
176- bearer : " MIDDAY_API_KEY" ,
176+ token : " MIDDAY_API_KEY" ,
177177});
178178
179179async function run() {
@@ -199,7 +199,7 @@ import { bankAccountsGet } from "@midday-ai/sdk/funcs/bankAccountsGet.js";
199199// Use `MiddayCore` for best tree-shaking performance.
200200// You can create one instance of it to use across an application.
201201const midday = new MiddayCore ({
202- bearer : " MIDDAY_API_KEY" ,
202+ token : " MIDDAY_API_KEY" ,
203203});
204204
205205async function run() {
@@ -249,7 +249,7 @@ Update a bank account by ID for the authenticated team.
249249import { Midday } from " @midday-ai/sdk" ;
250250
251251const midday = new Midday ({
252- bearer : " MIDDAY_API_KEY" ,
252+ token : " MIDDAY_API_KEY" ,
253253});
254254
255255async function run() {
@@ -282,7 +282,7 @@ import { bankAccountsUpdate } from "@midday-ai/sdk/funcs/bankAccountsUpdate.js";
282282// Use `MiddayCore` for best tree-shaking performance.
283283// You can create one instance of it to use across an application.
284284const midday = new MiddayCore ({
285- bearer : " MIDDAY_API_KEY" ,
285+ token : " MIDDAY_API_KEY" ,
286286});
287287
288288async function run() {
@@ -339,7 +339,7 @@ Delete a bank account by ID for the authenticated team.
339339import { Midday } from " @midday-ai/sdk" ;
340340
341341const midday = new Midday ({
342- bearer : " MIDDAY_API_KEY" ,
342+ token : " MIDDAY_API_KEY" ,
343343});
344344
345345async function run() {
@@ -365,7 +365,7 @@ import { bankAccountsDelete } from "@midday-ai/sdk/funcs/bankAccountsDelete.js";
365365// Use `MiddayCore` for best tree-shaking performance.
366366// You can create one instance of it to use across an application.
367367const midday = new MiddayCore ({
368- bearer : " MIDDAY_API_KEY" ,
368+ token : " MIDDAY_API_KEY" ,
369369});
370370
371371async function run() {
0 commit comments