ggez-banking-sdk 0.0.3 → 0.0.4

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.
Files changed (116) hide show
  1. package/package.json +9 -1
  2. package/README.md +0 -0
  3. package/dist/bank-system/constants/enum.d.ts +0 -1057
  4. package/dist/bank-system/constants/enum.js +0 -1110
  5. package/dist/bank-system/constants/index.d.ts +0 -1
  6. package/dist/bank-system/constants/index.js +0 -17
  7. package/dist/bank-system/content/accountCurrencies.d.ts +0 -12
  8. package/dist/bank-system/content/accountCurrencies.js +0 -37
  9. package/dist/bank-system/content/countries.d.ts +0 -24
  10. package/dist/bank-system/content/countries.js +0 -6472
  11. package/dist/bank-system/content/currencies.d.ts +0 -32
  12. package/dist/bank-system/content/currencies.js +0 -5836
  13. package/dist/bank-system/content/index.d.ts +0 -4
  14. package/dist/bank-system/content/index.js +0 -12
  15. package/dist/bank-system/content/state.d.ts +0 -6
  16. package/dist/bank-system/content/state.js +0 -350
  17. package/dist/bank-system/helper/data.d.ts +0 -46
  18. package/dist/bank-system/helper/data.js +0 -57
  19. package/dist/bank-system/helper/dataStructure.d.ts +0 -3220
  20. package/dist/bank-system/helper/dataStructure.js +0 -1051
  21. package/dist/bank-system/helper/index.d.ts +0 -28
  22. package/dist/bank-system/helper/index.js +0 -394
  23. package/dist/bank-system/interfaces/accountInterface.d.ts +0 -26
  24. package/dist/bank-system/interfaces/accountInterface.js +0 -2
  25. package/dist/bank-system/interfaces/bankingSystemInterface.d.ts +0 -306
  26. package/dist/bank-system/interfaces/bankingSystemInterface.js +0 -2
  27. package/dist/bank-system/interfaces/deviceInterface.d.ts +0 -34
  28. package/dist/bank-system/interfaces/deviceInterface.js +0 -2
  29. package/dist/bank-system/interfaces/index.d.ts +0 -4
  30. package/dist/bank-system/interfaces/index.js +0 -20
  31. package/dist/bank-system/interfaces/interface.d.ts +0 -460
  32. package/dist/bank-system/interfaces/interface.js +0 -2
  33. package/dist/bank-system/interfaces/organizationInterface.d.ts +0 -118
  34. package/dist/bank-system/interfaces/organizationInterface.js +0 -2
  35. package/dist/bank-system/interfaces/signInterface.d.ts +0 -89
  36. package/dist/bank-system/interfaces/signInterface.js +0 -2
  37. package/dist/bank-system/interfaces/transactionInterface.d.ts +0 -17
  38. package/dist/bank-system/interfaces/transactionInterface.js +0 -2
  39. package/dist/bank-system/restApi/index.d.ts +0 -8
  40. package/dist/bank-system/restApi/index.js +0 -41
  41. package/dist/bank-system/services/account.d.ts +0 -33
  42. package/dist/bank-system/services/account.js +0 -129
  43. package/dist/bank-system/services/addresses.d.ts +0 -48
  44. package/dist/bank-system/services/addresses.js +0 -130
  45. package/dist/bank-system/services/auth.d.ts +0 -71
  46. package/dist/bank-system/services/auth.js +0 -250
  47. package/dist/bank-system/services/bankAccount.d.ts +0 -48
  48. package/dist/bank-system/services/bankAccount.js +0 -131
  49. package/dist/bank-system/services/device.d.ts +0 -46
  50. package/dist/bank-system/services/device.js +0 -212
  51. package/dist/bank-system/services/document.d.ts +0 -15
  52. package/dist/bank-system/services/document.js +0 -58
  53. package/dist/bank-system/services/email.d.ts +0 -70
  54. package/dist/bank-system/services/email.js +0 -175
  55. package/dist/bank-system/services/history.d.ts +0 -14
  56. package/dist/bank-system/services/history.js +0 -55
  57. package/dist/bank-system/services/identification.d.ts +0 -37
  58. package/dist/bank-system/services/identification.js +0 -107
  59. package/dist/bank-system/services/index.d.ts +0 -17
  60. package/dist/bank-system/services/index.js +0 -35
  61. package/dist/bank-system/services/organization.d.ts +0 -28
  62. package/dist/bank-system/services/organization.js +0 -129
  63. package/dist/bank-system/services/personalInfo.d.ts +0 -26
  64. package/dist/bank-system/services/personalInfo.js +0 -91
  65. package/dist/bank-system/services/phone.d.ts +0 -70
  66. package/dist/bank-system/services/phone.js +0 -175
  67. package/dist/bank-system/services/security.d.ts +0 -114
  68. package/dist/bank-system/services/security.js +0 -267
  69. package/dist/bank-system/services/token.d.ts +0 -11
  70. package/dist/bank-system/services/token.js +0 -83
  71. package/dist/bank-system/services/transaction.d.ts +0 -9
  72. package/dist/bank-system/services/transaction.js +0 -62
  73. package/dist/bank-system/services/verifyAndConfirm.d.ts +0 -116
  74. package/dist/bank-system/services/verifyAndConfirm.js +0 -308
  75. package/dist/bank-system/utils/chainAddressMasking.d.ts +0 -2
  76. package/dist/bank-system/utils/chainAddressMasking.js +0 -12
  77. package/dist/bank-system/utils/copyText.d.ts +0 -5
  78. package/dist/bank-system/utils/copyText.js +0 -22
  79. package/dist/bank-system/utils/countryAndCurrencyData.d.ts +0 -11
  80. package/dist/bank-system/utils/countryAndCurrencyData.js +0 -22
  81. package/dist/bank-system/utils/enumToOption.d.ts +0 -4
  82. package/dist/bank-system/utils/enumToOption.js +0 -18
  83. package/dist/bank-system/utils/fillDeviceDetails.d.ts +0 -23
  84. package/dist/bank-system/utils/fillDeviceDetails.js +0 -44
  85. package/dist/bank-system/utils/generateOneLiner.d.ts +0 -1
  86. package/dist/bank-system/utils/generateOneLiner.js +0 -17
  87. package/dist/bank-system/utils/generateSourceId.d.ts +0 -1
  88. package/dist/bank-system/utils/generateSourceId.js +0 -13
  89. package/dist/bank-system/utils/getCountryName.d.ts +0 -1
  90. package/dist/bank-system/utils/getCountryName.js +0 -16
  91. package/dist/bank-system/utils/getEnumName.d.ts +0 -1
  92. package/dist/bank-system/utils/getEnumName.js +0 -10
  93. package/dist/bank-system/utils/getStateByCountryCode.d.ts +0 -1
  94. package/dist/bank-system/utils/getStateByCountryCode.js +0 -15
  95. package/dist/bank-system/utils/handleEncryption/decryptData.d.ts +0 -15
  96. package/dist/bank-system/utils/handleEncryption/decryptData.js +0 -78
  97. package/dist/bank-system/utils/handleEncryption/encryptData.d.ts +0 -2
  98. package/dist/bank-system/utils/handleEncryption/encryptData.js +0 -37
  99. package/dist/bank-system/utils/handleEncryption/index.d.ts +0 -4
  100. package/dist/bank-system/utils/handleEncryption/index.js +0 -12
  101. package/dist/bank-system/utils/handleEncryption/key.d.ts +0 -13
  102. package/dist/bank-system/utils/handleEncryption/key.js +0 -40
  103. package/dist/bank-system/utils/index.d.ts +0 -15
  104. package/dist/bank-system/utils/index.js +0 -42
  105. package/dist/bank-system/utils/info.d.ts +0 -8
  106. package/dist/bank-system/utils/info.js +0 -79
  107. package/dist/bank-system/utils/maskingFunction.d.ts +0 -1
  108. package/dist/bank-system/utils/maskingFunction.js +0 -28
  109. package/dist/bank-system/utils/regex.d.ts +0 -106
  110. package/dist/bank-system/utils/regex.js +0 -110
  111. package/dist/bank-system/utils/sortUserInfo.d.ts +0 -1
  112. package/dist/bank-system/utils/sortUserInfo.js +0 -43
  113. package/dist/index.d.ts +0 -8
  114. package/dist/index.js +0 -54
  115. package/dist/keplr-config/chainInfo.d.ts +0 -8
  116. package/dist/keplr-config/chainInfo.js +0 -111
@@ -1,306 +0,0 @@
1
- import { IGeoCoordinates } from "./interface";
2
- export interface ConfirmLimitedEmailInterface {
3
- address: string;
4
- verificationCode: string;
5
- geoCoordinates?: IGeoCoordinates;
6
- }
7
- export interface UpdateUserEmailInterface {
8
- id: any;
9
- address: any;
10
- geoCoordinates?: IGeoCoordinates;
11
- }
12
- export interface MakePrimaryUserEmailInterface {
13
- id: any;
14
- address: any;
15
- geoCoordinates?: IGeoCoordinates;
16
- }
17
- export interface UpdateUserPhoneInterface {
18
- id: any;
19
- number: any;
20
- geoCoordinates?: IGeoCoordinates;
21
- }
22
- export interface MakeUserPhonePrimaryInterface {
23
- id: any;
24
- number: any;
25
- geoCoordinates?: IGeoCoordinates;
26
- }
27
- export interface ConfirmLimitedPhoneInterface {
28
- number: string;
29
- verificationCode: string;
30
- geoCoordinates?: IGeoCoordinates;
31
- }
32
- export interface CreateAccountInterFace {
33
- binID: string;
34
- userID: string;
35
- currency: string;
36
- type: string;
37
- status: string;
38
- geoCoordinates?: IGeoCoordinates;
39
- }
40
- export interface CreateBankAccountInterFace {
41
- name: string;
42
- holderName: string;
43
- countryCode: string;
44
- currencyCode: string;
45
- settlementCurrency: string;
46
- type: string;
47
- number: string;
48
- swiftCode: string;
49
- iban: string;
50
- transitNumber: string;
51
- institutionNumber: string;
52
- routingNumber: string;
53
- isPrimary: string;
54
- beneficiaryType: string;
55
- userId: string;
56
- bankAddress: string;
57
- stateRegion?: string;
58
- geoCoordinates?: IGeoCoordinates;
59
- }
60
- export interface UpdateBankAccountInterFace {
61
- id: number;
62
- name: string;
63
- holderName: string;
64
- countryCode: string;
65
- currencyCode: string;
66
- settlementCurrency: string;
67
- type: string;
68
- number: string;
69
- swiftCode: string;
70
- iban: string;
71
- transitNumber: string;
72
- institutionNumber: string;
73
- routingNumber: string;
74
- status: string;
75
- isPrimary: string;
76
- beneficiaryType: string;
77
- userId: string;
78
- bankAddress: string;
79
- stateRegion?: string;
80
- geoCoordinates?: IGeoCoordinates;
81
- }
82
- export interface MakeBankAccountPrimaryInterFace {
83
- id: number;
84
- geoCoordinates?: IGeoCoordinates;
85
- }
86
- export interface CreateDocumentInterface {
87
- subject: string;
88
- fileName: string;
89
- fileExtension: string;
90
- content: string;
91
- entity: number;
92
- entityID: string;
93
- type: string | number;
94
- attachment?: any;
95
- geoCoordinates?: IGeoCoordinates;
96
- }
97
- export interface CreateIdentificationInterface {
98
- type: number;
99
- countryOfIssue: string;
100
- countryOfResidence: string;
101
- issueDate: string;
102
- expiryDate: string;
103
- number: string;
104
- geoCoordinates?: IGeoCoordinates;
105
- }
106
- export interface UpdateIdentificationInterface {
107
- id: number;
108
- type: number;
109
- countryOfIssue: string;
110
- countryOfResidence: string;
111
- issueDate: string;
112
- expiryDate: string;
113
- number: string;
114
- geoCoordinates?: IGeoCoordinates;
115
- }
116
- export interface CreateAddressInterface {
117
- type: number;
118
- addressLine1: string;
119
- addressLine2: string;
120
- countryCode: string;
121
- cityTown: string;
122
- stateRegion: string;
123
- postalZipCode: string;
124
- geoCoordinates?: IGeoCoordinates;
125
- }
126
- export interface UpdateAddressInterface {
127
- id: number;
128
- type: number;
129
- addressLine1: string;
130
- addressLine2: string;
131
- countryCode: string;
132
- cityTown: string;
133
- stateRegion: string;
134
- postalZipCode: string;
135
- geoCoordinates?: IGeoCoordinates;
136
- }
137
- export interface MakeAddressPrimaryInterface {
138
- id: number;
139
- geoCoordinates?: IGeoCoordinates;
140
- }
141
- export interface GetTransactionInterface {
142
- user_id: number;
143
- geoCoordinates?: IGeoCoordinates;
144
- }
145
- export interface ValidateLimitedPhoneInterface {
146
- type: number;
147
- countryCode: string;
148
- number: string;
149
- timeZone: string;
150
- timeZoneName: string;
151
- geoCoordinates?: IGeoCoordinates;
152
- }
153
- export interface VerifyLimitedEmailInterface {
154
- address: string;
155
- geoCoordinates?: IGeoCoordinates;
156
- }
157
- export interface SendOTPEmailInterface {
158
- address: string;
159
- authorizationRequestType: number;
160
- geoCoordinates?: IGeoCoordinates;
161
- }
162
- export interface SendOTPPhoneInterface {
163
- number: string;
164
- authorizationRequestType: number;
165
- geoCoordinates?: IGeoCoordinates;
166
- }
167
- export interface VerifyLimitedPhoneInterface {
168
- number: string;
169
- geoCoordinates?: IGeoCoordinates;
170
- }
171
- export interface IsEmailPresentAndValidInterface {
172
- emailAddress: string;
173
- geoCoordinates?: IGeoCoordinates;
174
- }
175
- export interface IsPhonePresentAndValidInterface {
176
- mobileNumber: string;
177
- geoCoordinates?: IGeoCoordinates;
178
- }
179
- export interface UpdatePersonalInfoInterface {
180
- title: string;
181
- firstName: string;
182
- lastName: string;
183
- jobTitle: string;
184
- gender: string;
185
- dateOfBirth: string;
186
- geoCoordinates?: IGeoCoordinates;
187
- }
188
- export interface UpdateProfilePictureInterface {
189
- fileName: string;
190
- fileExtension: string;
191
- content: any;
192
- userId?: number;
193
- token?: string;
194
- geoCoordinates?: IGeoCoordinates;
195
- }
196
- export interface CreateUserEmailInterface {
197
- address: string;
198
- geoCoordinates?: IGeoCoordinates;
199
- }
200
- export interface CreateUserPhoneInterface {
201
- type?: string;
202
- countryCode: string;
203
- number: string;
204
- geoCoordinates?: IGeoCoordinates;
205
- }
206
- export interface DeleteUserPhoneInterface {
207
- id: any;
208
- geoCoordinates?: IGeoCoordinates;
209
- }
210
- export interface DeleteUserEmailInterface {
211
- id: any;
212
- geoCoordinates?: IGeoCoordinates;
213
- }
214
- export interface DeleteUserAddressInterface {
215
- id: any;
216
- geoCoordinates?: IGeoCoordinates;
217
- }
218
- export interface DeleteIdentificationInterface {
219
- id: any;
220
- geoCoordinates?: IGeoCoordinates;
221
- }
222
- export interface DeleteBankAccountInterFace {
223
- id: any;
224
- geoCoordinates?: IGeoCoordinates;
225
- }
226
- export interface ResetPasswordInterface {
227
- currentPassword: string;
228
- newPassword: string;
229
- authenticationType: number;
230
- code: string;
231
- geoCoordinates?: IGeoCoordinates;
232
- }
233
- export interface ForgetPasswordConfirmInterface {
234
- password: string;
235
- verification_code: string;
236
- type: number;
237
- user_id: number | string;
238
- sub_entity: number | string;
239
- sub_entity_id: number | string;
240
- geoCoordinates?: IGeoCoordinates;
241
- }
242
- export interface ForgetPasswordValidateInterface {
243
- additional_security_type: number;
244
- additional_security_value: string;
245
- type: number;
246
- phone?: string;
247
- email?: string;
248
- geoCoordinates?: IGeoCoordinates;
249
- }
250
- export interface ResetSecurityQuestionsInterface {
251
- currentPassword: string;
252
- questionOne: string;
253
- questionOneAnswer: string;
254
- questionTwo: string;
255
- questionTwoAnswer: string;
256
- authenticationType: number;
257
- code: string;
258
- geoCoordinates?: IGeoCoordinates;
259
- }
260
- export interface ChangeUserSecurityCodeInterface {
261
- currentPassword: string;
262
- userSecurityCode: string;
263
- authenticationType: number;
264
- code: string;
265
- geoCoordinates?: IGeoCoordinates;
266
- }
267
- export interface UpdateUserPreferencesInterface {
268
- preferredLanguageCode: string;
269
- enablePromotionNotification: string;
270
- enableSMSNotification: string;
271
- enablePushNotification: string;
272
- geoCoordinates?: IGeoCoordinates;
273
- }
274
- export interface ValidateSecurityCodeInterface {
275
- securityCode: string;
276
- type: string;
277
- geoCoordinates?: IGeoCoordinates;
278
- }
279
- export interface ActivateGoogleAuthInterface {
280
- type: string | number;
281
- code: string;
282
- geoCoordinates?: IGeoCoordinates;
283
- }
284
- export interface DeleteGoogleAuthInterface {
285
- authenticationType: number;
286
- code: string;
287
- geoCoordinates?: IGeoCoordinates;
288
- }
289
- export interface ExtendedInfoInterface {
290
- cpu: string;
291
- fingerprint: string;
292
- system_language: string;
293
- user_agent: string;
294
- geoCoordinates?: IGeoCoordinates;
295
- }
296
- export interface AddDeviceInterface {
297
- type: string;
298
- brand: string;
299
- os: string;
300
- verification_status: number;
301
- installation_id: string;
302
- extended_info: ExtendedInfoInterface;
303
- authenticationType: number;
304
- code: string;
305
- geoCoordinates?: IGeoCoordinates;
306
- }
@@ -1,2 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,34 +0,0 @@
1
- import { IGeoCoordinates } from "./interface";
2
- export interface CreateDeviceInterface {
3
- deviceVerificationStatus: number;
4
- installationID: string;
5
- authenticationType?: number;
6
- code?: string;
7
- geoCoordinates?: IGeoCoordinates;
8
- }
9
- export interface UpdateDeviceInterface {
10
- deviceId: number;
11
- deviceStatus?: number;
12
- deviceVerificationStatus?: number;
13
- deviceIsOnline?: boolean;
14
- geoCoordinates?: IGeoCoordinates;
15
- }
16
- export interface DeleteDeviceInterface {
17
- deviceId: number;
18
- geoCoordinates?: IGeoCoordinates;
19
- }
20
- export interface VerifyDeviceInterface {
21
- authenticationType: number;
22
- deviceId: number;
23
- geoCoordinates?: IGeoCoordinates;
24
- }
25
- export interface ConfirmDeviceInterface {
26
- authenticationType: number;
27
- deviceId: number;
28
- code: string;
29
- geoCoordinates?: IGeoCoordinates;
30
- }
31
- export interface LogoutDeviceInterface {
32
- deviceId: number;
33
- geoCoordinates?: IGeoCoordinates;
34
- }
@@ -1,2 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
@@ -1,4 +0,0 @@
1
- export * from "./bankingSystemInterface";
2
- export * from "./signInterface";
3
- export * from "./deviceInterface";
4
- export * from "./interface";
@@ -1,20 +0,0 @@
1
- "use strict";
2
- var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
- if (k2 === undefined) k2 = k;
4
- var desc = Object.getOwnPropertyDescriptor(m, k);
5
- if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
- desc = { enumerable: true, get: function() { return m[k]; } };
7
- }
8
- Object.defineProperty(o, k2, desc);
9
- }) : (function(o, m, k, k2) {
10
- if (k2 === undefined) k2 = k;
11
- o[k2] = m[k];
12
- }));
13
- var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
- for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
- };
16
- Object.defineProperty(exports, "__esModule", { value: true });
17
- __exportStar(require("./bankingSystemInterface"), exports);
18
- __exportStar(require("./signInterface"), exports);
19
- __exportStar(require("./deviceInterface"), exports);
20
- __exportStar(require("./interface"), exports);