ggez-banking-sdk 0.0.64 → 0.0.66

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.
@@ -44,10 +44,39 @@ export type UserInfo = {
44
44
  time_zone_name: string;
45
45
  response_time: string;
46
46
  };
47
+ export interface IDeviceHistory {
48
+ id: number;
49
+ type: number;
50
+ brand: string;
51
+ os: string;
52
+ extended_info: {
53
+ sim_info: null;
54
+ culture_info: null;
55
+ user_agent: string;
56
+ fingerprint: string;
57
+ cpu: string;
58
+ system_language: string;
59
+ };
60
+ activity_type: number;
61
+ application_version: null | string;
62
+ serial_number: null | string;
63
+ source_ip_address: null | string;
64
+ geo_coordinates: null | string;
65
+ server_date: string;
66
+ date_utc: string;
67
+ client_date: string;
68
+ update_date_utc: string;
69
+ client_time_zone: string;
70
+ }
71
+ export interface IGeoCoordinates {
72
+ latitude: string;
73
+ longitude: string;
74
+ position_description: string;
75
+ }
47
76
  export interface InfoChain {
48
77
  isKeplerConnect: boolean;
49
78
  address: string;
50
- uggez: number;
79
+ ugz: number;
51
80
  uggezOne: number;
52
81
  }
53
82
  export interface InfoUser {
@@ -63,44 +92,6 @@ export interface AppState {
63
92
  data: Data[];
64
93
  error: string | null;
65
94
  }
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
- }
104
95
  export interface IDevice {
105
96
  id: number;
106
97
  type: number;
@@ -118,12 +109,12 @@ export interface IDevice {
118
109
  };
119
110
  status: number;
120
111
  verification_status: number;
121
- is_online: null | boolean;
112
+ is_online: boolean | null;
122
113
  encryption_key: string;
123
- application_version: null | string;
124
- serial_number: null | string;
125
- source_ip_address: null | string;
126
- geo_coordinates: null | string;
114
+ application_version: string | null;
115
+ serial_number: string;
116
+ source_ip_address: string | null;
117
+ geo_coordinates: null | GeoCoordinates | any;
127
118
  original_source_id: string;
128
119
  server_date: string;
129
120
  date_utc: string;
@@ -131,29 +122,10 @@ export interface IDevice {
131
122
  update_date_utc: string;
132
123
  client_time_zone: string;
133
124
  }
134
- export interface IDeviceHistory {
135
- id: number;
136
- type: number;
137
- brand: string;
138
- os: string;
139
- extended_info: {
140
- sim_info: null;
141
- culture_info: null;
142
- user_agent: string;
143
- fingerprint: string;
144
- cpu: string;
145
- system_language: string;
146
- };
147
- activity_type: number;
148
- application_version: null | string;
149
- serial_number: null | string;
150
- source_ip_address: null | string;
151
- geo_coordinates: null | string;
152
- server_date: string;
153
- date_utc: string;
154
- client_date: string;
155
- update_date_utc: string;
156
- client_time_zone: string;
125
+ export interface GeoCoordinates {
126
+ latitude: string;
127
+ longitude: string;
128
+ position_description: string;
157
129
  }
158
130
  export interface ISecurity {
159
131
  trust_level: string;
@@ -222,26 +194,8 @@ export interface IIdentification {
222
194
  update_date_utc: string;
223
195
  extra_data: string;
224
196
  custom_field: string;
197
+ ticket: any;
225
198
  }
226
- export interface IExchangeRates {
227
- base_currency: string;
228
- currency: string;
229
- date: string;
230
- rate: number;
231
- service_provider: number;
232
- }
233
- export type CurrencyState = {
234
- currency: string;
235
- currencies: {
236
- label: string;
237
- value: string;
238
- }[];
239
- prefixCurrency: string;
240
- exchangeRates: IExchangeRates[] | null;
241
- };
242
- export type UserSliceType = {
243
- user: any;
244
- };
245
199
  export interface IEmail {
246
200
  id: number | null;
247
201
  type: number | null;
@@ -265,7 +219,7 @@ export interface IInfo {
265
219
  id: string;
266
220
  program_id: string;
267
221
  status: string;
268
- type: string;
222
+ type: number;
269
223
  risk_rate: string;
270
224
  server_date: string;
271
225
  date_utc: string;
@@ -322,8 +276,9 @@ export interface IAddresses {
322
276
  client_date: string;
323
277
  update_date_utc: string;
324
278
  custom_field: string;
279
+ ticket: any;
325
280
  }
326
- export interface ibankAccount {
281
+ export interface IBankAccount {
327
282
  id: string;
328
283
  linked_account_id: string;
329
284
  name: string;
@@ -358,6 +313,8 @@ export interface ibankAccount {
358
313
  update_date_utc: string;
359
314
  service_provider: string;
360
315
  custom_field: string;
316
+ ticket: any;
317
+ settlement_currency_code: string;
361
318
  }
362
319
  export interface IAccount {
363
320
  result: string;
@@ -468,19 +425,82 @@ export interface ILastActivity {
468
425
  };
469
426
  update_date_utc: string;
470
427
  }
471
- export interface ILoginResponse {
472
- access_token: string;
473
- device_id: string;
474
- device_status: number;
475
- device_verification_status: number;
476
- expires_in: number;
477
- installation_id: string;
478
- ip_address: string;
479
- jwt_token: string;
480
- role_type: string;
481
- token_type: string;
482
- user_id: string;
483
- user_type: string;
428
+ export interface IInfo {
429
+ id: string;
430
+ program_id: string;
431
+ status: string;
432
+ type: number;
433
+ risk_rate: string;
434
+ server_date: string;
435
+ date_utc: string;
436
+ client_date: string;
437
+ source_time_zone: string;
438
+ original_source_id: string;
439
+ }
440
+ export interface IDetails {
441
+ established_date?: string | null;
442
+ formatted_established_date?: string | null;
443
+ size?: number | null;
444
+ registration_number: string;
445
+ trade_license_number: string;
446
+ }
447
+ export interface IRelationship {
448
+ id?: number;
449
+ entity?: number | null;
450
+ entity_id?: number | null;
451
+ entity_name?: string;
452
+ entity_email?: string;
453
+ entity_phone?: string;
454
+ on_entity?: number | null;
455
+ on_entity_id?: number | null;
456
+ on_entity_name?: string;
457
+ on_entity_email?: string;
458
+ on_entity_phone?: string;
459
+ type?: number | null;
460
+ status?: number | null;
461
+ verification_status?: number | null;
462
+ order?: number | null;
463
+ original_source_id: string;
464
+ formatted_server_date: string;
465
+ formatted_date_utc: string;
466
+ formatted_client_date: string;
467
+ formatted_update_date_utc: string;
468
+ custom_field: Record<string, any>;
469
+ }
470
+ export interface IDocumentData {
471
+ info?: any;
472
+ attachment?: any[];
473
+ custom_field?: Record<string, any>;
474
+ geo_coordinates?: any;
475
+ }
476
+ export interface IUserData {
477
+ name: string;
478
+ email: string;
479
+ avatar?: string;
480
+ token: string;
481
+ expiresIn: string;
482
+ jwtToken: string;
483
+ encryptedJwt: string;
484
+ userId: string;
485
+ programId: string;
486
+ userType: string;
487
+ userTypeId?: string;
488
+ deviceId: string;
489
+ exp?: string;
490
+ role: string;
491
+ hostName: string;
492
+ fingerPrint: string;
493
+ rememberedEmail?: string;
494
+ sessionId: string;
495
+ expireDate: string;
496
+ deviceStatus: number;
497
+ deviceVerificationStatus: number;
498
+ installationId: string;
499
+ }
500
+ export interface IUserDataSlice {
501
+ user: IUserData;
502
+ geoCoordinates: IGeoCoordinates | undefined;
503
+ ipAddress: string;
484
504
  }
485
505
  export interface IIPAddressAndLocation {
486
506
  ip_address: string;
@@ -60,6 +60,7 @@ export interface IOrganization {
60
60
  accounts?: any[];
61
61
  picture?: string[];
62
62
  ExternalHostInfo?: any;
63
+ ticket: any;
63
64
  }
64
65
  export interface IOrganizationInfo {
65
66
  id: number;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ggez-banking-sdk",
3
- "version": "0.0.64",
3
+ "version": "0.0.66",
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",