@spritz-finance/api-client 0.0.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md ADDED
@@ -0,0 +1,105 @@
1
+ # @spritz-finance/api-client
2
+
3
+ A Typescript library for interacting with the Spritz Finance API
4
+
5
+ [![NPM](https://img.shields.io/npm/v/@spritz-finance/api-client.svg)](https://www.npmjs.com/package/@spritz-finance/api-client)
6
+
7
+ ## Installation
8
+
9
+ ### Using npm
10
+
11
+ ```bash
12
+ npm install --save @spritz-finance/api-client
13
+ ```
14
+
15
+ ### Using yarn
16
+
17
+ ```bash
18
+ yarn add @spritz-finance/api-client
19
+ ```
20
+
21
+ ## Usage
22
+
23
+ ```typescript
24
+ import { SpritzApiClient, Environment } from '@spritz-finance/api-client'
25
+
26
+ const client = SpritzApiClient.initialize(Environment.Staging, 'YOUR_API_KEY_HERE')
27
+ ```
28
+
29
+ ## Bank Accounts
30
+
31
+ ### List user bank accounts
32
+
33
+ ```typescript
34
+ const bankAccounts = await client.bankAccounts.list()
35
+ ```
36
+
37
+ #### Example response
38
+
39
+ The bank accounts endpoint returns a standard response comprising an array of all the user-added bank accounts that are available for making payments. This array provides all the necessary information to both display the account details in a user interface and process payments to the respective accounts.
40
+
41
+ ```typescript
42
+ const bankAccounts = [{
43
+ id: "62d17d3b377dab6c1342136e",
44
+ name: "Precious Savings",
45
+ type: "BankAccount",
46
+ bankAccountType: "USBankAccount",
47
+ bankAccountSubType: "Checking",
48
+ userId: "62d17d3b377dab6c1342136e",
49
+ accountNumber: "1234567",
50
+ bankAccountDetails: {
51
+ routingNumber: "00000123",
52
+ }
53
+ country: "US",
54
+ currency: "USD",
55
+ email: "bilbo@shiremail.net",
56
+ holder: "Bilbo Baggins",
57
+ institution: {
58
+ id: "62d27d4b277dab3c1342126e",
59
+ name: "Shire Bank",
60
+ logo: "https://tinyurl.com/shire-bank-logo",
61
+ },
62
+ ownedByUser: true,
63
+ createdAt: "2023-05-03T11:25:02.401Z",
64
+ }];
65
+ ```
66
+
67
+ ### Add US bank account
68
+
69
+ ```typescript
70
+ export interface USBankAccountInput {
71
+ accountNumber: string
72
+ email: string
73
+ holder: string
74
+ name: string
75
+ ownedByUser?: boolean | null
76
+ routingNumber: string
77
+ subType: BankAccountSubType
78
+ }
79
+ ```
80
+
81
+ ```typescript
82
+ import { BankAccountType, BankAccountSubType } from '@spritz-finance/api-client'
83
+
84
+ const bankAccounts = await client.bankAccounts.create(BankAccountType.USBankAccount, {
85
+ accountNumber: '123456789',
86
+ routingNumber: '987654321',
87
+ email: 'bilbo@shiremail.net',
88
+ holder: 'Bilbo Baggins',
89
+ name: 'Precious Savings',
90
+ ownedByUser: true,
91
+ subType: BankAccountSubType.Savings,
92
+ })
93
+ ```
94
+
95
+ ### Rename a bank account
96
+
97
+ ```typescript
98
+ const updateAccount = await client.bankAccounts.rename('62d17d3b377dab6c1342136e', 'My new account')
99
+ ```
100
+
101
+ ### Delete a bank account
102
+
103
+ ```typescript
104
+ await client.bankAccounts.delete('62d17d3b377dab6c1342136e')
105
+ ```
@@ -0,0 +1,500 @@
1
+ import { AxiosInstance } from 'axios';
2
+ import { DocumentNode } from 'graphql';
3
+
4
+ declare enum Environment {
5
+ Staging = "staging",
6
+ Production = "production"
7
+ }
8
+
9
+ interface QueryParams<V = any> {
10
+ query: DocumentNode;
11
+ variables?: V;
12
+ }
13
+ declare class GraphClient {
14
+ client: AxiosInstance;
15
+ constructor(environment: Environment, apiKey: string);
16
+ query<Q = any, V = any>({ query, variables }: QueryParams<V>): Promise<Q>;
17
+ }
18
+
19
+ declare class AccountsService {
20
+ private client;
21
+ constructor(client: GraphClient);
22
+ }
23
+
24
+ declare enum BankAccountSubType {
25
+ Business = "Business",
26
+ Checking = "Checking",
27
+ Savings = "Savings"
28
+ }
29
+ declare enum BankAccountType {
30
+ USBankAccount = "USBankAccount"
31
+ }
32
+ declare enum ModuleStatus {
33
+ ACTIVE = "ACTIVE",
34
+ FAILED = "FAILED",
35
+ INITIALIZED = "INITIALIZED",
36
+ LOADING = "LOADING",
37
+ UNAVAILABLE = "UNAVAILABLE",
38
+ UNINITIALIZED = "UNINITIALIZED"
39
+ }
40
+ declare enum PayableAccountType {
41
+ BankAccount = "BankAccount",
42
+ Bill = "Bill",
43
+ DebitCard = "DebitCard"
44
+ }
45
+ interface USBankAccountInput {
46
+ accountNumber: string;
47
+ email: string;
48
+ holder: string;
49
+ name: string;
50
+ ownedByUser?: boolean | null;
51
+ routingNumber: string;
52
+ subType: BankAccountSubType;
53
+ }
54
+
55
+ interface DeleteBankAccount_deletePayableAccount_Bill {
56
+ __typename: 'Bill';
57
+ }
58
+ interface DeleteBankAccount_deletePayableAccount_BankAccount_bankAccountDetails_CanadianBankAccountDetails {
59
+ __typename: 'CanadianBankAccountDetails';
60
+ }
61
+ interface DeleteBankAccount_deletePayableAccount_BankAccount_bankAccountDetails_USBankAccountDetails {
62
+ __typename: 'USBankAccountDetails';
63
+ routingNumber: string;
64
+ }
65
+ type DeleteBankAccount_deletePayableAccount_BankAccount_bankAccountDetails = DeleteBankAccount_deletePayableAccount_BankAccount_bankAccountDetails_CanadianBankAccountDetails | DeleteBankAccount_deletePayableAccount_BankAccount_bankAccountDetails_USBankAccountDetails;
66
+ interface DeleteBankAccount_deletePayableAccount_BankAccount_institution {
67
+ __typename: 'BankAccountInstitution' | 'BillInstitution';
68
+ id: string;
69
+ name: string;
70
+ logo: string;
71
+ country: string;
72
+ currency: string;
73
+ }
74
+ interface DeleteBankAccount_deletePayableAccount_BankAccount {
75
+ __typename: 'BankAccount';
76
+ id: string;
77
+ name: string | null;
78
+ userId: string;
79
+ country: string;
80
+ currency: string;
81
+ createdAt: any;
82
+ type: PayableAccountType;
83
+ accountNumber: string;
84
+ bankAccountType: BankAccountType;
85
+ bankAccountSubType: BankAccountSubType;
86
+ holder: string;
87
+ email: string;
88
+ ownedByUser: boolean;
89
+ bankAccountDetails: DeleteBankAccount_deletePayableAccount_BankAccount_bankAccountDetails;
90
+ institution: DeleteBankAccount_deletePayableAccount_BankAccount_institution | null;
91
+ }
92
+ type DeleteBankAccount_deletePayableAccount = DeleteBankAccount_deletePayableAccount_Bill | DeleteBankAccount_deletePayableAccount_BankAccount;
93
+
94
+ interface RenameBankAccount_renamePayableAccount_Bill {
95
+ __typename: 'Bill';
96
+ }
97
+ interface RenameBankAccount_renamePayableAccount_BankAccount_bankAccountDetails_CanadianBankAccountDetails {
98
+ __typename: 'CanadianBankAccountDetails';
99
+ }
100
+ interface RenameBankAccount_renamePayableAccount_BankAccount_bankAccountDetails_USBankAccountDetails {
101
+ __typename: 'USBankAccountDetails';
102
+ routingNumber: string;
103
+ }
104
+ type RenameBankAccount_renamePayableAccount_BankAccount_bankAccountDetails = RenameBankAccount_renamePayableAccount_BankAccount_bankAccountDetails_CanadianBankAccountDetails | RenameBankAccount_renamePayableAccount_BankAccount_bankAccountDetails_USBankAccountDetails;
105
+ interface RenameBankAccount_renamePayableAccount_BankAccount_institution {
106
+ __typename: 'BankAccountInstitution' | 'BillInstitution';
107
+ id: string;
108
+ name: string;
109
+ logo: string;
110
+ country: string;
111
+ currency: string;
112
+ }
113
+ interface RenameBankAccount_renamePayableAccount_BankAccount {
114
+ __typename: 'BankAccount';
115
+ id: string;
116
+ name: string | null;
117
+ userId: string;
118
+ country: string;
119
+ currency: string;
120
+ createdAt: any;
121
+ type: PayableAccountType;
122
+ accountNumber: string;
123
+ bankAccountType: BankAccountType;
124
+ bankAccountSubType: BankAccountSubType;
125
+ holder: string;
126
+ email: string;
127
+ ownedByUser: boolean;
128
+ bankAccountDetails: RenameBankAccount_renamePayableAccount_BankAccount_bankAccountDetails;
129
+ institution: RenameBankAccount_renamePayableAccount_BankAccount_institution | null;
130
+ }
131
+ type RenameBankAccount_renamePayableAccount = RenameBankAccount_renamePayableAccount_Bill | RenameBankAccount_renamePayableAccount_BankAccount;
132
+
133
+ interface BankAccountFragment_bankAccountDetails_CanadianBankAccountDetails {
134
+ __typename: 'CanadianBankAccountDetails';
135
+ }
136
+ interface BankAccountFragment_bankAccountDetails_USBankAccountDetails {
137
+ __typename: 'USBankAccountDetails';
138
+ routingNumber: string;
139
+ }
140
+ type BankAccountFragment_bankAccountDetails = BankAccountFragment_bankAccountDetails_CanadianBankAccountDetails | BankAccountFragment_bankAccountDetails_USBankAccountDetails;
141
+ interface BankAccountFragment_institution {
142
+ __typename: 'BankAccountInstitution' | 'BillInstitution';
143
+ id: string;
144
+ name: string;
145
+ logo: string;
146
+ country: string;
147
+ currency: string;
148
+ }
149
+ interface BankAccountFragment {
150
+ __typename: 'BankAccount';
151
+ id: string;
152
+ name: string | null;
153
+ userId: string;
154
+ country: string;
155
+ currency: string;
156
+ createdAt: any;
157
+ type: PayableAccountType;
158
+ accountNumber: string;
159
+ bankAccountType: BankAccountType;
160
+ bankAccountSubType: BankAccountSubType;
161
+ holder: string;
162
+ email: string;
163
+ ownedByUser: boolean;
164
+ bankAccountDetails: BankAccountFragment_bankAccountDetails;
165
+ institution: BankAccountFragment_institution | null;
166
+ }
167
+
168
+ interface CurrentUser_me {
169
+ __typename: 'User';
170
+ id: string;
171
+ sub: string;
172
+ email: string;
173
+ firstName: string | null;
174
+ lastName: string | null;
175
+ picture: string | null;
176
+ phone: string | null;
177
+ createdAt: any;
178
+ timezone: string;
179
+ }
180
+ interface CurrentUser {
181
+ me: CurrentUser_me;
182
+ }
183
+
184
+ interface PayableAccountFragment_Bill_institution {
185
+ __typename: 'BankAccountInstitution' | 'BillInstitution';
186
+ id: string;
187
+ name: string;
188
+ logo: string;
189
+ country: string;
190
+ currency: string;
191
+ }
192
+ interface PayableAccountFragment_Bill {
193
+ __typename: 'Bill';
194
+ id: string;
195
+ name: string | null;
196
+ userId: string;
197
+ country: string;
198
+ currency: string;
199
+ createdAt: any;
200
+ type: PayableAccountType;
201
+ institution: PayableAccountFragment_Bill_institution | null;
202
+ }
203
+ interface PayableAccountFragment_BankAccount_bankAccountDetails_CanadianBankAccountDetails {
204
+ __typename: 'CanadianBankAccountDetails';
205
+ }
206
+ interface PayableAccountFragment_BankAccount_bankAccountDetails_USBankAccountDetails {
207
+ __typename: 'USBankAccountDetails';
208
+ routingNumber: string;
209
+ }
210
+ type PayableAccountFragment_BankAccount_bankAccountDetails = PayableAccountFragment_BankAccount_bankAccountDetails_CanadianBankAccountDetails | PayableAccountFragment_BankAccount_bankAccountDetails_USBankAccountDetails;
211
+ interface PayableAccountFragment_BankAccount_institution {
212
+ __typename: 'BankAccountInstitution' | 'BillInstitution';
213
+ id: string;
214
+ name: string;
215
+ logo: string;
216
+ country: string;
217
+ currency: string;
218
+ }
219
+ interface PayableAccountFragment_BankAccount {
220
+ __typename: 'BankAccount';
221
+ id: string;
222
+ name: string | null;
223
+ userId: string;
224
+ country: string;
225
+ currency: string;
226
+ createdAt: any;
227
+ type: PayableAccountType;
228
+ accountNumber: string;
229
+ bankAccountType: BankAccountType;
230
+ bankAccountSubType: BankAccountSubType;
231
+ holder: string;
232
+ email: string;
233
+ ownedByUser: boolean;
234
+ bankAccountDetails: PayableAccountFragment_BankAccount_bankAccountDetails;
235
+ institution: PayableAccountFragment_BankAccount_institution | null;
236
+ }
237
+ type PayableAccountFragment = PayableAccountFragment_Bill | PayableAccountFragment_BankAccount;
238
+
239
+ interface TokenBalanceFragment {
240
+ __typename: 'TokenBalance';
241
+ /**
242
+ * Token contract address
243
+ */
244
+ address: string;
245
+ /**
246
+ * Controlling wallet address
247
+ */
248
+ walletAddress: string;
249
+ symbol: string;
250
+ network: string;
251
+ /**
252
+ * ERC20 decimals
253
+ */
254
+ decimals: number;
255
+ balance: number;
256
+ balanceRaw: string;
257
+ balanceUSD: number;
258
+ price: number;
259
+ tokenImageUrl: string;
260
+ }
261
+
262
+ interface UserBankAccounts_userBankAccounts_bankAccountDetails_CanadianBankAccountDetails {
263
+ __typename: 'CanadianBankAccountDetails';
264
+ }
265
+ interface UserBankAccounts_userBankAccounts_bankAccountDetails_USBankAccountDetails {
266
+ __typename: 'USBankAccountDetails';
267
+ routingNumber: string;
268
+ }
269
+ type UserBankAccounts_userBankAccounts_bankAccountDetails = UserBankAccounts_userBankAccounts_bankAccountDetails_CanadianBankAccountDetails | UserBankAccounts_userBankAccounts_bankAccountDetails_USBankAccountDetails;
270
+ interface UserBankAccounts_userBankAccounts_institution {
271
+ __typename: 'BankAccountInstitution' | 'BillInstitution';
272
+ id: string;
273
+ name: string;
274
+ logo: string;
275
+ country: string;
276
+ currency: string;
277
+ }
278
+ interface UserBankAccounts_userBankAccounts {
279
+ __typename: 'BankAccount';
280
+ id: string;
281
+ name: string | null;
282
+ userId: string;
283
+ country: string;
284
+ currency: string;
285
+ createdAt: any;
286
+ type: PayableAccountType;
287
+ accountNumber: string;
288
+ bankAccountType: BankAccountType;
289
+ bankAccountSubType: BankAccountSubType;
290
+ holder: string;
291
+ email: string;
292
+ ownedByUser: boolean;
293
+ bankAccountDetails: UserBankAccounts_userBankAccounts_bankAccountDetails;
294
+ institution: UserBankAccounts_userBankAccounts_institution | null;
295
+ }
296
+ interface UserBankAccounts {
297
+ userBankAccounts: UserBankAccounts_userBankAccounts[];
298
+ }
299
+
300
+ interface UserFragment {
301
+ __typename: 'User';
302
+ id: string;
303
+ sub: string;
304
+ email: string;
305
+ firstName: string | null;
306
+ lastName: string | null;
307
+ picture: string | null;
308
+ phone: string | null;
309
+ createdAt: any;
310
+ timezone: string;
311
+ }
312
+
313
+ interface UserPayableAccounts_payableAccounts_Bill_institution {
314
+ __typename: 'BankAccountInstitution' | 'BillInstitution';
315
+ id: string;
316
+ name: string;
317
+ logo: string;
318
+ country: string;
319
+ currency: string;
320
+ }
321
+ interface UserPayableAccounts_payableAccounts_Bill {
322
+ __typename: 'Bill';
323
+ id: string;
324
+ name: string | null;
325
+ userId: string;
326
+ country: string;
327
+ currency: string;
328
+ createdAt: any;
329
+ type: PayableAccountType;
330
+ institution: UserPayableAccounts_payableAccounts_Bill_institution | null;
331
+ }
332
+ interface UserPayableAccounts_payableAccounts_BankAccount_institution {
333
+ __typename: 'BankAccountInstitution' | 'BillInstitution';
334
+ id: string;
335
+ name: string;
336
+ logo: string;
337
+ country: string;
338
+ currency: string;
339
+ }
340
+ interface UserPayableAccounts_payableAccounts_BankAccount_bankAccountDetails_CanadianBankAccountDetails {
341
+ __typename: 'CanadianBankAccountDetails';
342
+ }
343
+ interface UserPayableAccounts_payableAccounts_BankAccount_bankAccountDetails_USBankAccountDetails {
344
+ __typename: 'USBankAccountDetails';
345
+ routingNumber: string;
346
+ }
347
+ type UserPayableAccounts_payableAccounts_BankAccount_bankAccountDetails = UserPayableAccounts_payableAccounts_BankAccount_bankAccountDetails_CanadianBankAccountDetails | UserPayableAccounts_payableAccounts_BankAccount_bankAccountDetails_USBankAccountDetails;
348
+ interface UserPayableAccounts_payableAccounts_BankAccount {
349
+ __typename: 'BankAccount';
350
+ id: string;
351
+ name: string | null;
352
+ userId: string;
353
+ country: string;
354
+ currency: string;
355
+ createdAt: any;
356
+ type: PayableAccountType;
357
+ institution: UserPayableAccounts_payableAccounts_BankAccount_institution | null;
358
+ accountNumber: string;
359
+ bankAccountType: BankAccountType;
360
+ bankAccountSubType: BankAccountSubType;
361
+ holder: string;
362
+ email: string;
363
+ ownedByUser: boolean;
364
+ bankAccountDetails: UserPayableAccounts_payableAccounts_BankAccount_bankAccountDetails;
365
+ }
366
+ type UserPayableAccounts_payableAccounts = UserPayableAccounts_payableAccounts_Bill | UserPayableAccounts_payableAccounts_BankAccount;
367
+ interface UserPayableAccounts {
368
+ payableAccounts: UserPayableAccounts_payableAccounts[];
369
+ }
370
+
371
+ interface UserVerification_verification_identity_user {
372
+ __typename: 'UserIdentity';
373
+ firstName: string;
374
+ lastName: string;
375
+ email: string;
376
+ completedAt: string;
377
+ }
378
+ interface UserVerification_verification_identity {
379
+ __typename: 'IdentityModule';
380
+ status: ModuleStatus;
381
+ country: string;
382
+ verificationUrl: string | null;
383
+ user: UserVerification_verification_identity_user;
384
+ }
385
+ interface UserVerification_verification {
386
+ __typename: 'Verification';
387
+ userId: any;
388
+ identity: UserVerification_verification_identity;
389
+ }
390
+ interface UserVerification {
391
+ verification: UserVerification_verification;
392
+ }
393
+
394
+ interface WalletTokenBalances_tokenBalances {
395
+ __typename: 'TokenBalance';
396
+ /**
397
+ * Token contract address
398
+ */
399
+ address: string;
400
+ /**
401
+ * Controlling wallet address
402
+ */
403
+ walletAddress: string;
404
+ symbol: string;
405
+ network: string;
406
+ /**
407
+ * ERC20 decimals
408
+ */
409
+ decimals: number;
410
+ balance: number;
411
+ balanceRaw: string;
412
+ balanceUSD: number;
413
+ price: number;
414
+ tokenImageUrl: string;
415
+ }
416
+ interface WalletTokenBalances {
417
+ tokenBalances: WalletTokenBalances_tokenBalances[];
418
+ }
419
+ interface WalletTokenBalancesVariables {
420
+ address: string;
421
+ network?: string | null;
422
+ }
423
+
424
+ interface CreateUSBankAccount_createUSBankAccount_bankAccountDetails_CanadianBankAccountDetails {
425
+ __typename: 'CanadianBankAccountDetails';
426
+ }
427
+ interface CreateUSBankAccount_createUSBankAccount_bankAccountDetails_USBankAccountDetails {
428
+ __typename: 'USBankAccountDetails';
429
+ routingNumber: string;
430
+ }
431
+ type CreateUSBankAccount_createUSBankAccount_bankAccountDetails = CreateUSBankAccount_createUSBankAccount_bankAccountDetails_CanadianBankAccountDetails | CreateUSBankAccount_createUSBankAccount_bankAccountDetails_USBankAccountDetails;
432
+ interface CreateUSBankAccount_createUSBankAccount_institution {
433
+ __typename: 'BankAccountInstitution' | 'BillInstitution';
434
+ id: string;
435
+ name: string;
436
+ logo: string;
437
+ country: string;
438
+ currency: string;
439
+ }
440
+ interface CreateUSBankAccount_createUSBankAccount {
441
+ __typename: 'BankAccount';
442
+ id: string;
443
+ name: string | null;
444
+ userId: string;
445
+ country: string;
446
+ currency: string;
447
+ createdAt: any;
448
+ type: PayableAccountType;
449
+ accountNumber: string;
450
+ bankAccountType: BankAccountType;
451
+ bankAccountSubType: BankAccountSubType;
452
+ holder: string;
453
+ email: string;
454
+ ownedByUser: boolean;
455
+ bankAccountDetails: CreateUSBankAccount_createUSBankAccount_bankAccountDetails;
456
+ institution: CreateUSBankAccount_createUSBankAccount_institution | null;
457
+ }
458
+ interface CreateUSBankAccount {
459
+ createUSBankAccount: CreateUSBankAccount_createUSBankAccount;
460
+ }
461
+ interface CreateUSBankAccountVariables {
462
+ createUSAccountInput: USBankAccountInput;
463
+ }
464
+
465
+ type CreateInputMapping = {
466
+ [BankAccountType.USBankAccount]: USBankAccountInput;
467
+ };
468
+ type CreateMutationMapping = {
469
+ [BankAccountType.USBankAccount]: {
470
+ query: CreateUSBankAccount;
471
+ variables: CreateUSBankAccountVariables;
472
+ response: keyof CreateUSBankAccount;
473
+ };
474
+ };
475
+ declare class BankAccountsService {
476
+ private client;
477
+ constructor(client: GraphClient);
478
+ list(): Promise<UserBankAccounts_userBankAccounts[]>;
479
+ rename(accountId: string, name: string): Promise<RenameBankAccount_renamePayableAccount>;
480
+ delete(accountId: string): Promise<DeleteBankAccount_deletePayableAccount>;
481
+ create<T extends BankAccountType>(type: T, input: CreateInputMapping[T]): Promise<NonNullable<CreateMutationMapping[T]["query"][keyof CreateMutationMapping[T]["query"]]> | null>;
482
+ }
483
+
484
+ declare class UserService {
485
+ private client;
486
+ constructor(client: GraphClient);
487
+ getCurrentUser(): Promise<CurrentUser_me>;
488
+ getUserVerification(): Promise<UserVerification_verification>;
489
+ }
490
+
491
+ declare class SpritzApiClient {
492
+ private client;
493
+ accounts: AccountsService;
494
+ user: UserService;
495
+ bankAccounts: BankAccountsService;
496
+ static initialize(environment: Environment, apiKey: string): SpritzApiClient;
497
+ private init;
498
+ }
499
+
500
+ export { BankAccountFragment, BankAccountFragment_bankAccountDetails, BankAccountFragment_bankAccountDetails_CanadianBankAccountDetails, BankAccountFragment_bankAccountDetails_USBankAccountDetails, BankAccountFragment_institution, BankAccountSubType, BankAccountType, CurrentUser, CurrentUser_me, Environment, ModuleStatus, PayableAccountFragment, PayableAccountFragment_BankAccount, PayableAccountFragment_BankAccount_bankAccountDetails, PayableAccountFragment_BankAccount_bankAccountDetails_CanadianBankAccountDetails, PayableAccountFragment_BankAccount_bankAccountDetails_USBankAccountDetails, PayableAccountFragment_BankAccount_institution, PayableAccountFragment_Bill, PayableAccountFragment_Bill_institution, PayableAccountType, SpritzApiClient, TokenBalanceFragment, USBankAccountInput, UserBankAccounts, UserBankAccounts_userBankAccounts, UserBankAccounts_userBankAccounts_bankAccountDetails, UserBankAccounts_userBankAccounts_bankAccountDetails_CanadianBankAccountDetails, UserBankAccounts_userBankAccounts_bankAccountDetails_USBankAccountDetails, UserBankAccounts_userBankAccounts_institution, UserFragment, UserPayableAccounts, UserPayableAccounts_payableAccounts, UserPayableAccounts_payableAccounts_BankAccount, UserPayableAccounts_payableAccounts_BankAccount_bankAccountDetails, UserPayableAccounts_payableAccounts_BankAccount_bankAccountDetails_CanadianBankAccountDetails, UserPayableAccounts_payableAccounts_BankAccount_bankAccountDetails_USBankAccountDetails, UserPayableAccounts_payableAccounts_BankAccount_institution, UserPayableAccounts_payableAccounts_Bill, UserPayableAccounts_payableAccounts_Bill_institution, UserVerification, UserVerification_verification, UserVerification_verification_identity, UserVerification_verification_identity_user, WalletTokenBalances, WalletTokenBalancesVariables, WalletTokenBalances_tokenBalances };