ggez-banking-sdk 0.0.63 → 0.0.64

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.
@@ -1,3 +1,5 @@
1
+ import { IOrganization } from "./organizationInterface";
2
+ import { CustomField } from "./signInterface";
1
3
  export type UserInfo = {
2
4
  result: IResult;
3
5
  info: IInfo;
@@ -9,7 +11,7 @@ export type UserInfo = {
9
11
  security: ISecurity;
10
12
  preferences: IPreferences;
11
13
  identification: IIdentification[];
12
- bank_account: ibankAccount[];
14
+ bank_account: IBankAccount[];
13
15
  credit_card: any;
14
16
  notification: any;
15
17
  documents: any;
@@ -25,13 +27,13 @@ export type UserInfo = {
25
27
  external_auth: any;
26
28
  validation_data: any;
27
29
  relationship: any;
28
- geo_coordinates: IGeoCoordinates | null;
29
- custom_field: string;
30
+ geo_coordinates: IGeoCoordinates | any;
31
+ custom_field: CustomField | null;
30
32
  history: string;
31
33
  access_rule: string;
32
34
  ticket: any;
33
35
  general_requirements: IGeneralRequirements;
34
- organization: any;
36
+ organization: IOrganization[];
35
37
  notes: any;
36
38
  last_activity: ILastActivity;
37
39
  authentication: string | null;
@@ -61,6 +63,44 @@ export interface AppState {
61
63
  data: Data[];
62
64
  error: string | null;
63
65
  }
66
+ export interface IBankAccount {
67
+ id: string;
68
+ linked_account_id: string;
69
+ name: string;
70
+ beneficiary_name: string;
71
+ holder_name: string;
72
+ country_code: string;
73
+ currency_code: string;
74
+ type: string;
75
+ payment_type: string;
76
+ beneficiary_type: string;
77
+ number: string;
78
+ swift_code: string;
79
+ iban: string;
80
+ transit_number: string;
81
+ institution_number: string;
82
+ routing_number: string;
83
+ phone_id: string;
84
+ address_id: string;
85
+ bank_address: string;
86
+ state_region: string;
87
+ is_primary: string;
88
+ status: string;
89
+ verification_status: string;
90
+ city_town: string;
91
+ postal_zip_code: string;
92
+ extended_data: string;
93
+ sort_code: string;
94
+ original_source_id: string;
95
+ server_date: string;
96
+ date_utc: string;
97
+ client_date: string;
98
+ update_date_utc: string;
99
+ service_provider: string;
100
+ custom_field: string;
101
+ ticket: any;
102
+ settlement_currency_code: string;
103
+ }
64
104
  export interface IDevice {
65
105
  id: number;
66
106
  type: number;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ggez-banking-sdk",
3
- "version": "0.0.63",
3
+ "version": "0.0.64",
4
4
  "description": "A Node.js package to handle GGEZ Banking API endpoints, Simplify the process of managing CRUD operations with this efficient and easy-to-use package.",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",