ggez-banking-sdk 0.1.113 → 0.1.115
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/dist/api/clients/auth.d.ts +4 -9
- package/dist/api/clients/auth.js +9 -9
- package/dist/api/clients/limited.d.ts +0 -10
- package/dist/api/clients/limited.js +3 -3
- package/dist/api/clients/organization.d.ts +0 -5
- package/dist/api/clients/organization.js +3 -3
- package/dist/api/clients/user.d.ts +6 -21
- package/dist/api/clients/user.js +24 -24
- package/dist/api/data/auth.d.ts +3 -1
- package/dist/api/data/auth.js +8 -1
- package/dist/types/banking/user/userdata.d.ts +6 -2
- package/package.json +1 -1
@@ -1,4 +1,4 @@
|
|
1
|
-
import type { AuthClientData,
|
1
|
+
import type { AuthClientData, IGenerateLimitedTokenData, ILoginDeviceCredentialsData, ILoginGoogleCredentialsData, ILoginUserCredentialsData } from "../../types";
|
2
2
|
declare class AuthClient {
|
3
3
|
private readonly clientData;
|
4
4
|
private programId;
|
@@ -9,26 +9,21 @@ declare class AuthClient {
|
|
9
9
|
success: boolean;
|
10
10
|
message: string;
|
11
11
|
error: any;
|
12
|
-
} | {
|
13
|
-
data: BaseResult;
|
14
|
-
success: boolean;
|
15
|
-
message: string;
|
16
|
-
error: string;
|
17
12
|
}>;
|
18
13
|
LoginDeviceCredentials: (data: ILoginDeviceCredentialsData) => Promise<{
|
19
|
-
data:
|
14
|
+
data: import("../../types").TokenData;
|
20
15
|
success: boolean;
|
21
16
|
message: string;
|
22
17
|
error: any;
|
23
18
|
}>;
|
24
19
|
LoginGoogleCredentials: (data: ILoginGoogleCredentialsData) => Promise<{
|
25
|
-
data:
|
20
|
+
data: import("../../types").TokenData;
|
26
21
|
success: boolean;
|
27
22
|
message: string;
|
28
23
|
error: any;
|
29
24
|
}>;
|
30
25
|
GenerateLimitedToken: (data: IGenerateLimitedTokenData) => Promise<{
|
31
|
-
data:
|
26
|
+
data: import("../../types").TokenData;
|
32
27
|
success: boolean;
|
33
28
|
message: string;
|
34
29
|
error: any;
|
package/dist/api/clients/auth.js
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
import { AxiosHelper } from "../../helper";
|
2
2
|
import { ResponseHelper } from "../../helper";
|
3
|
-
import {
|
3
|
+
import { FillGenerateLimitedTokenData, FillLoginDeviceCredentialsData, FillLoginGoogleCredentialsData, FillLoginUserCredentialsData, FillResult, FillResultByError, FillTokenData, } from "../data";
|
4
4
|
import { AuthService } from "../services";
|
5
5
|
class AuthClient {
|
6
6
|
clientData;
|
@@ -23,8 +23,8 @@ class AuthClient {
|
|
23
23
|
}
|
24
24
|
catch (error) {
|
25
25
|
const result = FillResultByError(error);
|
26
|
-
const
|
27
|
-
return ResponseHelper.GetErrorResponse(
|
26
|
+
const tokenData = FillTokenData("result", result);
|
27
|
+
return ResponseHelper.GetErrorResponse(tokenData, "LoginUserCredentials");
|
28
28
|
}
|
29
29
|
};
|
30
30
|
LoginDeviceCredentials = async (data) => {
|
@@ -36,8 +36,8 @@ class AuthClient {
|
|
36
36
|
}
|
37
37
|
catch (error) {
|
38
38
|
const result = FillResultByError(error);
|
39
|
-
const
|
40
|
-
return ResponseHelper.GetErrorResponse(
|
39
|
+
const tokenData = FillTokenData("result", result);
|
40
|
+
return ResponseHelper.GetErrorResponse(tokenData, "LoginDeviceCredentials");
|
41
41
|
}
|
42
42
|
};
|
43
43
|
LoginGoogleCredentials = async (data) => {
|
@@ -49,8 +49,8 @@ class AuthClient {
|
|
49
49
|
}
|
50
50
|
catch (error) {
|
51
51
|
const result = FillResultByError(error);
|
52
|
-
const
|
53
|
-
return ResponseHelper.GetErrorResponse(
|
52
|
+
const tokenData = FillTokenData("result", result);
|
53
|
+
return ResponseHelper.GetErrorResponse(tokenData, "LoginGoogleCredentials");
|
54
54
|
}
|
55
55
|
};
|
56
56
|
GenerateLimitedToken = async (data) => {
|
@@ -62,8 +62,8 @@ class AuthClient {
|
|
62
62
|
}
|
63
63
|
catch (error) {
|
64
64
|
const result = FillResultByError(error);
|
65
|
-
const
|
66
|
-
return ResponseHelper.GetErrorResponse(
|
65
|
+
const tokenData = FillTokenData("result", result);
|
66
|
+
return ResponseHelper.GetErrorResponse(tokenData, "GenerateLimitedToken");
|
67
67
|
}
|
68
68
|
};
|
69
69
|
}
|
@@ -28,22 +28,12 @@ declare class LimitedClient {
|
|
28
28
|
error: any;
|
29
29
|
}>;
|
30
30
|
VerifyEmail: (data: IVerifyEmailData) => Promise<{
|
31
|
-
data: import("../../types").ValidateLimitedSecurity;
|
32
|
-
success: boolean;
|
33
|
-
message: string;
|
34
|
-
error: string;
|
35
|
-
} | {
|
36
31
|
data: import("../../types").VerifyUserSecurity;
|
37
32
|
success: boolean;
|
38
33
|
message: string;
|
39
34
|
error: any;
|
40
35
|
}>;
|
41
36
|
VerifyPhone: (data: IVerifyPhoneData) => Promise<{
|
42
|
-
data: import("../../types").ValidateLimitedSecurity;
|
43
|
-
success: boolean;
|
44
|
-
message: string;
|
45
|
-
error: string;
|
46
|
-
} | {
|
47
37
|
data: import("../../types").VerifyUserSecurity;
|
48
38
|
success: boolean;
|
49
39
|
message: string;
|
@@ -1,6 +1,6 @@
|
|
1
1
|
import { AxiosHelper } from "../../helper";
|
2
2
|
import { ResponseHelper } from "../../helper";
|
3
|
-
import { FillConfirmEmailData, FillConfirmForgetPasswordData, FillConfirmPhoneData, FillConfirmUserSecurityData, FillForgetSecurityData, FillResultByError, FillValidateEmailData, FillValidateForgetPasswordData, FillValidateLimitedSecurityData, FillValidatePhoneData, FillVerifyEmailData, FillVerifyPhoneData, } from "../data";
|
3
|
+
import { FillConfirmEmailData, FillConfirmForgetPasswordData, FillConfirmPhoneData, FillConfirmUserSecurityData, FillForgetSecurityData, FillResultByError, FillValidateEmailData, FillValidateForgetPasswordData, FillValidateLimitedSecurityData, FillValidatePhoneData, FillVerifyEmailData, FillVerifyPhoneData, FillVerifyUserSecurityData, } from "../data";
|
4
4
|
import { LimitedService } from "../services";
|
5
5
|
class LimitedClient {
|
6
6
|
clientData;
|
@@ -68,7 +68,7 @@ class LimitedClient {
|
|
68
68
|
}
|
69
69
|
catch (error) {
|
70
70
|
const result = FillResultByError(error);
|
71
|
-
const verifySecurityData =
|
71
|
+
const verifySecurityData = FillVerifyUserSecurityData("result", result);
|
72
72
|
return ResponseHelper.GetErrorResponse(verifySecurityData, "VerifyEmail");
|
73
73
|
}
|
74
74
|
};
|
@@ -80,7 +80,7 @@ class LimitedClient {
|
|
80
80
|
}
|
81
81
|
catch (error) {
|
82
82
|
const result = FillResultByError(error);
|
83
|
-
const verifySecurityData =
|
83
|
+
const verifySecurityData = FillVerifyUserSecurityData("result", result);
|
84
84
|
return ResponseHelper.GetErrorResponse(verifySecurityData, "VerifyPhone");
|
85
85
|
}
|
86
86
|
};
|
@@ -12,11 +12,6 @@ declare class OrganizationClient {
|
|
12
12
|
error: any;
|
13
13
|
}>;
|
14
14
|
CreateOrganizationDocument: (id: number, data: ICreateOrganizationDocumentData) => Promise<{
|
15
|
-
data: import("../../types").OrganizationData;
|
16
|
-
success: boolean;
|
17
|
-
message: string;
|
18
|
-
error: string;
|
19
|
-
} | {
|
20
15
|
data: import("../../types").DocumentData;
|
21
16
|
success: boolean;
|
22
17
|
message: string;
|
@@ -2,7 +2,7 @@ import { AxiosHelper } from "../../helper";
|
|
2
2
|
import { ResponseHelper } from "../../helper";
|
3
3
|
import { FillCreateOrganizationData, FillCreateOrganizationDocumentData, FillOrganizationData, FillUpdateOrganizationData, } from "../data/organization";
|
4
4
|
import { OrganizationService } from "../services";
|
5
|
-
import { FillResultByError } from "../data";
|
5
|
+
import { FillDocumentData, FillResultByError } from "../data";
|
6
6
|
class OrganizationClient {
|
7
7
|
clientData;
|
8
8
|
organizationService;
|
@@ -35,8 +35,8 @@ class OrganizationClient {
|
|
35
35
|
}
|
36
36
|
catch (error) {
|
37
37
|
const result = FillResultByError(error);
|
38
|
-
const
|
39
|
-
return ResponseHelper.GetErrorResponse(
|
38
|
+
const documentData = FillDocumentData("result", result);
|
39
|
+
return ResponseHelper.GetErrorResponse(documentData, "CreateOrganizationDocument");
|
40
40
|
}
|
41
41
|
};
|
42
42
|
// #endregion
|
@@ -1,4 +1,4 @@
|
|
1
|
-
import type { IActivateGoogleAuthData, IConfirmDeviceData, IConfirmEmailData, IConfirmPhoneData, ICreateAddressData, ICreateBankAccountData, ICreateDeviceData, ICreateEmailData, ICreateIdentificationData, ICreatePhoneData, ICreateTicketData, ICreateUserData, ICreateUserWithGoogleData, IDeactivateGoogleAuthData, IDeleteAddressData, IDeleteBankAccountData, IDeleteDeviceData, IDeleteEmailData, IDeleteIdentificationData, IDeletePhoneData, ILogoutDeviceData, IMakeAddressPrimaryData, IMakeBankAccountPrimaryData, IMakeEmailPrimaryData, IMakePhonePrimaryData, IResetPasswordData, IResetSecurityCodeData, IResetSecurityQuestionsData, ISendEmailOTPData, ISendPhoneOTPData, IUpdateAddressData, IUpdateBankAccountData, IUpdateDeviceData, IUpdateEmailData, IUpdateIdentificationData, IUpdatePersonalInfoData, IUpdatePhoneData, IUpdatePreferencesData, IValidateSecurityCodeData, IVerifyDeviceData, IVerifyEmailData, IVerifyPhoneData } from "../../types";
|
1
|
+
import type { IActivateGoogleAuthData, IConfirmDeviceData, IConfirmEmailData, IConfirmPhoneData, ICreateAddressData, ICreateBankAccountData, ICreateDeviceData, ICreateEmailData, ICreateIdentificationData, ICreatePhoneData, ICreateTicketData, ICreateUserData, ICreateUserWithGoogleData, IDeactivateGoogleAuthData, IDeleteAddressData, IDeleteBankAccountData, IDeleteDeviceData, IDeleteEmailData, IDeleteIdentificationData, IDeletePhoneData, ILogoutDeviceData, IMakeAddressPrimaryData, IMakeBankAccountPrimaryData, IMakeEmailPrimaryData, IMakePhonePrimaryData, IResetPasswordData, IResetSecurityCodeData, IResetSecurityQuestionsData, ISendEmailOTPData, ISendPhoneOTPData, IUpdateAddressData, IUpdateBankAccountData, IUpdateDeviceData, IUpdateEmailData, IUpdateIdentificationData, IUpdatePersonalInfoData, IUpdatePhoneData, IUpdatePreferencesData, IValidateSecurityCodeData, IVerifyDeviceData, IVerifyEmailData, IVerifyPhoneData, ResetUserSecurity } from "../../types";
|
2
2
|
import type { IUploadDocumentData, IUploadProfilePictureData, UserClientData } from "../../types";
|
3
3
|
import type { UserData } from "../../types";
|
4
4
|
declare class UserClient {
|
@@ -215,11 +215,6 @@ declare class UserClient {
|
|
215
215
|
success: boolean;
|
216
216
|
message: string;
|
217
217
|
error: any;
|
218
|
-
} | {
|
219
|
-
data: UserData;
|
220
|
-
success: boolean;
|
221
|
-
message: string;
|
222
|
-
error: string;
|
223
218
|
}>;
|
224
219
|
VerifySecurityData: (data: any) => Promise<{
|
225
220
|
data: import("../../types").VerifyUserSecurity;
|
@@ -250,11 +245,6 @@ declare class UserClient {
|
|
250
245
|
success: boolean;
|
251
246
|
message: string;
|
252
247
|
error: any;
|
253
|
-
} | {
|
254
|
-
data: UserData;
|
255
|
-
success: boolean;
|
256
|
-
message: string;
|
257
|
-
error: string;
|
258
248
|
}>;
|
259
249
|
VerifyDevice: (data: IVerifyDeviceData) => Promise<{
|
260
250
|
data: import("../../types").VerifyUserSecurity;
|
@@ -286,13 +276,8 @@ declare class UserClient {
|
|
286
276
|
message: string;
|
287
277
|
error: any;
|
288
278
|
}>;
|
289
|
-
ResetSecurityData: (data:
|
290
|
-
data:
|
291
|
-
success: boolean;
|
292
|
-
message: string;
|
293
|
-
error: string;
|
294
|
-
} | {
|
295
|
-
data: import("../../types").ResetUserSecurity;
|
279
|
+
ResetSecurityData: (data: ResetUserSecurity) => Promise<{
|
280
|
+
data: ResetUserSecurity;
|
296
281
|
success: boolean;
|
297
282
|
message: string;
|
298
283
|
error: any;
|
@@ -322,19 +307,19 @@ declare class UserClient {
|
|
322
307
|
error: any;
|
323
308
|
}>;
|
324
309
|
ResetPassword: (data: IResetPasswordData) => Promise<{
|
325
|
-
data:
|
310
|
+
data: ResetUserSecurity;
|
326
311
|
success: boolean;
|
327
312
|
message: string;
|
328
313
|
error: any;
|
329
314
|
}>;
|
330
315
|
ResetSecurityCode: (data: IResetSecurityCodeData) => Promise<{
|
331
|
-
data:
|
316
|
+
data: ResetUserSecurity;
|
332
317
|
success: boolean;
|
333
318
|
message: string;
|
334
319
|
error: any;
|
335
320
|
}>;
|
336
321
|
ResetSecurityQuestions: (data: IResetSecurityQuestionsData) => Promise<{
|
337
|
-
data:
|
322
|
+
data: ResetUserSecurity;
|
338
323
|
success: boolean;
|
339
324
|
message: string;
|
340
325
|
error: any;
|
package/dist/api/clients/user.js
CHANGED
@@ -416,8 +416,8 @@ class UserClient {
|
|
416
416
|
}
|
417
417
|
catch (error) {
|
418
418
|
const result = FillResultByError(error);
|
419
|
-
const
|
420
|
-
return ResponseHelper.GetErrorResponse(
|
419
|
+
const documentData = FillDocumentData("result", result);
|
420
|
+
return ResponseHelper.GetErrorResponse(documentData, "UpdateProfilePicture");
|
421
421
|
}
|
422
422
|
};
|
423
423
|
VerifySecurityData = async (data) => {
|
@@ -427,8 +427,8 @@ class UserClient {
|
|
427
427
|
}
|
428
428
|
catch (error) {
|
429
429
|
const result = FillResultByError(error);
|
430
|
-
const
|
431
|
-
return ResponseHelper.GetErrorResponse(
|
430
|
+
const verifyUserSecurity = FillVerifyUserSecurityData("result", result);
|
431
|
+
return ResponseHelper.GetErrorResponse(verifyUserSecurity, "VerifySecurityData");
|
432
432
|
}
|
433
433
|
};
|
434
434
|
VerifyEmail = async (data) => {
|
@@ -439,8 +439,8 @@ class UserClient {
|
|
439
439
|
}
|
440
440
|
catch (error) {
|
441
441
|
const result = FillResultByError(error);
|
442
|
-
const
|
443
|
-
return ResponseHelper.GetErrorResponse(
|
442
|
+
const verifyUserSecurity = FillVerifyUserSecurityData("result", result);
|
443
|
+
return ResponseHelper.GetErrorResponse(verifyUserSecurity, "VerifyEmail");
|
444
444
|
}
|
445
445
|
};
|
446
446
|
SendEmailOTP = async (data) => {
|
@@ -451,8 +451,8 @@ class UserClient {
|
|
451
451
|
}
|
452
452
|
catch (error) {
|
453
453
|
const result = FillResultByError(error);
|
454
|
-
const
|
455
|
-
return ResponseHelper.GetErrorResponse(
|
454
|
+
const verifyUserSecurity = FillVerifyUserSecurityData("result", result);
|
455
|
+
return ResponseHelper.GetErrorResponse(verifyUserSecurity, "SendEmailOTP");
|
456
456
|
}
|
457
457
|
};
|
458
458
|
VerifyPhone = async (data) => {
|
@@ -463,8 +463,8 @@ class UserClient {
|
|
463
463
|
}
|
464
464
|
catch (error) {
|
465
465
|
const result = FillResultByError(error);
|
466
|
-
const
|
467
|
-
return ResponseHelper.GetErrorResponse(
|
466
|
+
const verifyUserSecurity = FillVerifyUserSecurityData("result", result);
|
467
|
+
return ResponseHelper.GetErrorResponse(verifyUserSecurity, "VerifyPhone");
|
468
468
|
}
|
469
469
|
};
|
470
470
|
SendPhoneOTP = async (data) => {
|
@@ -475,8 +475,8 @@ class UserClient {
|
|
475
475
|
}
|
476
476
|
catch (error) {
|
477
477
|
const result = FillResultByError(error);
|
478
|
-
const
|
479
|
-
return ResponseHelper.GetErrorResponse(
|
478
|
+
const verifyUserSecurity = FillVerifyUserSecurityData("result", result);
|
479
|
+
return ResponseHelper.GetErrorResponse(verifyUserSecurity, "SendPhoneOTP");
|
480
480
|
}
|
481
481
|
};
|
482
482
|
VerifyDevice = async (data) => {
|
@@ -487,8 +487,8 @@ class UserClient {
|
|
487
487
|
}
|
488
488
|
catch (error) {
|
489
489
|
const result = FillResultByError(error);
|
490
|
-
const
|
491
|
-
return ResponseHelper.GetErrorResponse(
|
490
|
+
const verifyUserSecurity = FillVerifyUserSecurityData("result", result);
|
491
|
+
return ResponseHelper.GetErrorResponse(verifyUserSecurity, "VerifyDevice");
|
492
492
|
}
|
493
493
|
};
|
494
494
|
ConfirmSecurityData = async (data) => {
|
@@ -498,8 +498,8 @@ class UserClient {
|
|
498
498
|
}
|
499
499
|
catch (error) {
|
500
500
|
const result = FillResultByError(error);
|
501
|
-
const
|
502
|
-
return ResponseHelper.GetErrorResponse(
|
501
|
+
const confirmUserSecurity = FillConfirmUserSecurityData("result", result);
|
502
|
+
return ResponseHelper.GetErrorResponse(confirmUserSecurity, "ConfirmSecurityData");
|
503
503
|
}
|
504
504
|
};
|
505
505
|
ConfirmEmail = async (data) => {
|
@@ -510,8 +510,8 @@ class UserClient {
|
|
510
510
|
}
|
511
511
|
catch (error) {
|
512
512
|
const result = FillResultByError(error);
|
513
|
-
const
|
514
|
-
return ResponseHelper.GetErrorResponse(
|
513
|
+
const confirmUserSecurity = FillConfirmUserSecurityData("result", result);
|
514
|
+
return ResponseHelper.GetErrorResponse(confirmUserSecurity, "ConfirmEmail");
|
515
515
|
}
|
516
516
|
};
|
517
517
|
ConfirmPhone = async (data) => {
|
@@ -522,8 +522,8 @@ class UserClient {
|
|
522
522
|
}
|
523
523
|
catch (error) {
|
524
524
|
const result = FillResultByError(error);
|
525
|
-
const
|
526
|
-
return ResponseHelper.GetErrorResponse(
|
525
|
+
const confirmUserSecurity = FillConfirmUserSecurityData("result", result);
|
526
|
+
return ResponseHelper.GetErrorResponse(confirmUserSecurity, "ConfirmPhone");
|
527
527
|
}
|
528
528
|
};
|
529
529
|
ConfirmDevice = async (data) => {
|
@@ -534,8 +534,8 @@ class UserClient {
|
|
534
534
|
}
|
535
535
|
catch (error) {
|
536
536
|
const result = FillResultByError(error);
|
537
|
-
const
|
538
|
-
return ResponseHelper.GetErrorResponse(
|
537
|
+
const confirmUserSecurity = FillConfirmUserSecurityData("result", result);
|
538
|
+
return ResponseHelper.GetErrorResponse(confirmUserSecurity, "ConfirmDevice");
|
539
539
|
}
|
540
540
|
};
|
541
541
|
ResetSecurityData = async (data) => {
|
@@ -545,8 +545,8 @@ class UserClient {
|
|
545
545
|
}
|
546
546
|
catch (error) {
|
547
547
|
const result = FillResultByError(error);
|
548
|
-
const
|
549
|
-
return ResponseHelper.GetErrorResponse(
|
548
|
+
const resetUserSecurity = FillResetUserSecurityData("result", result);
|
549
|
+
return ResponseHelper.GetErrorResponse(resetUserSecurity, "ResetSecurityData");
|
550
550
|
}
|
551
551
|
};
|
552
552
|
EnrollGoogleAuth = async () => {
|
package/dist/api/data/auth.d.ts
CHANGED
@@ -1,8 +1,10 @@
|
|
1
1
|
import { ILoginUserCredentialsData, ILoginDeviceCredentialsData, ILoginGoogleCredentialsData, IGenerateLimitedTokenData } from "../../types";
|
2
|
+
import { TokenData } from "../../types";
|
3
|
+
declare const FillTokenData: <K extends keyof TokenData>(key: K, value: TokenData[K]) => TokenData;
|
2
4
|
declare const FillLoginUserCredentialsData: (programId: number, data: ILoginUserCredentialsData) => string;
|
3
5
|
declare const FillLoginDeviceCredentialsData: (programId: number, data: ILoginDeviceCredentialsData) => string;
|
4
6
|
declare const FillLoginGoogleCredentialsData: (programId: number, data: ILoginGoogleCredentialsData) => string;
|
5
7
|
declare const FillGenerateLimitedTokenData: (data: IGenerateLimitedTokenData) => {
|
6
8
|
installationId: string;
|
7
9
|
};
|
8
|
-
export { FillLoginUserCredentialsData, FillLoginDeviceCredentialsData, FillLoginGoogleCredentialsData, FillGenerateLimitedTokenData, };
|
10
|
+
export { FillTokenData, FillLoginUserCredentialsData, FillLoginDeviceCredentialsData, FillLoginGoogleCredentialsData, FillGenerateLimitedTokenData, };
|
package/dist/api/data/auth.js
CHANGED
@@ -1,6 +1,13 @@
|
|
1
1
|
import qs from "qs";
|
2
2
|
import { GrantType, SecurityLoginType } from "../../constants";
|
3
3
|
import { DeviceHelper } from "../../helper";
|
4
|
+
const FillTokenData = (key, value) => {
|
5
|
+
const tokenData = {
|
6
|
+
result: null,
|
7
|
+
};
|
8
|
+
tokenData[key] = value;
|
9
|
+
return tokenData;
|
10
|
+
};
|
4
11
|
const FillLoginUserCredentialsData = (programId, data) => {
|
5
12
|
const credentials = qs.stringify({
|
6
13
|
grant_type: GrantType.UserCredential,
|
@@ -45,4 +52,4 @@ const FillLoginGoogleCredentialsData = (programId, data) => {
|
|
45
52
|
const FillGenerateLimitedTokenData = (data) => {
|
46
53
|
return { installationId: data.installationId };
|
47
54
|
};
|
48
|
-
export { FillLoginUserCredentialsData, FillLoginDeviceCredentialsData, FillLoginGoogleCredentialsData, FillGenerateLimitedTokenData, };
|
55
|
+
export { FillTokenData, FillLoginUserCredentialsData, FillLoginDeviceCredentialsData, FillLoginGoogleCredentialsData, FillGenerateLimitedTokenData, };
|
@@ -1,4 +1,8 @@
|
|
1
|
-
import type { AccountData, Activity, Address, BankAccount, BaseResult, CreditCard, CryptoAddress, Currency, Device, DeviceHistory, DocumentData, Email, History, ExternalAuthentication, GeneralRequirements, GeoCoordinates, GroupData, Identification, OrganizationData, PersonalInfo, Phone, Preferences, Relationship, UserSecurity, SimplifiedAccessRule, TermsConditions, TicketData, UserAuthenticationData, UserCreditLimit, UserInfo, Commerce, ValidationData } from "..";
|
1
|
+
import type { AccountData, Activity, Address, BankAccount, BaseResult, CreditCard, CryptoAddress, Currency, Device, DeviceHistory, DocumentData, Email, History, ExternalAuthentication, GeneralRequirements, GeoCoordinates, GroupData, Identification, OrganizationData, PersonalInfo, Phone, Preferences, Relationship, UserSecurity, SimplifiedAccessRule, TermsConditions, TicketData, UserAuthenticationData, UserCreditLimit, UserInfo, Commerce, ValidationData, PromotionData, UserAccessControl } from "..";
|
2
|
+
type CustomField = {
|
3
|
+
promotion_data: PromotionData | null;
|
4
|
+
user_access_control: UserAccessControl | null;
|
5
|
+
};
|
2
6
|
type UserData = BaseResult & {
|
3
7
|
info: UserInfo;
|
4
8
|
personal_info: PersonalInfo;
|
@@ -26,7 +30,7 @@ type UserData = BaseResult & {
|
|
26
30
|
validation_data: ValidationData[];
|
27
31
|
relationship: Relationship[];
|
28
32
|
geo_coordinates: GeoCoordinates;
|
29
|
-
custom_field:
|
33
|
+
custom_field: CustomField;
|
30
34
|
history: History[];
|
31
35
|
access_rule: SimplifiedAccessRule[];
|
32
36
|
ticket: TicketData[];
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "ggez-banking-sdk",
|
3
|
-
"version": "0.1.
|
3
|
+
"version": "0.1.115",
|
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
|
"types": "dist/index.d.ts",
|
6
6
|
"main": "dist/index.js",
|