ggez-banking-sdk 0.5.34 → 0.5.36
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/data/user/address.js +0 -1
- package/dist/api/data/user/bankAccount.js +0 -1
- package/dist/api/data/user/email.js +0 -1
- package/dist/api/data/user/identification.js +0 -1
- package/dist/api/data/user/phone.js +1 -1
- package/dist/types/api/data/user/address.d.ts +0 -1
- package/dist/types/api/data/user/bankAccount.d.ts +0 -1
- package/dist/types/api/data/user/email.d.ts +0 -1
- package/dist/types/api/data/user/identification.d.ts +0 -1
- package/dist/types/api/data/user/phone.d.ts +0 -1
- package/dist/types/banking/program/bin/index.d.ts +1 -0
- package/dist/types/banking/program/bin/supportedCountryExtendedV2.d.ts +12 -0
- package/dist/types/banking/program/bin/supportedCountryExtendedV2.js +1 -0
- package/dist/types/banking/program/program/applicationOptions/identification.d.ts +2 -0
- package/dist/types/banking/program/program/applicationOptions/index.d.ts +1 -0
- package/dist/types/banking/program/program/applicationOptions/supportedCountriesByType.d.ts +5 -0
- package/dist/types/banking/program/program/applicationOptions/supportedCountriesByType.js +1 -0
- package/dist/types/banking/program/program/signupRequirements.d.ts +2 -1
- package/package.json +1 -1
|
@@ -8,7 +8,6 @@ const fillCreateBankAccountData = (data) => {
|
|
|
8
8
|
currency_code: data.currencyCode,
|
|
9
9
|
settlement_currency_code: data.settlementCurrency,
|
|
10
10
|
type: BankAccountTypes.Personal_Checking,
|
|
11
|
-
is_primary: data.isPrimary,
|
|
12
11
|
number: data.number,
|
|
13
12
|
swift_code: data.swiftCode,
|
|
14
13
|
iban: data.iban,
|
|
@@ -3,7 +3,6 @@ import { createDefaultUserData } from "./user";
|
|
|
3
3
|
const fillCreateIdentificationData = (data) => {
|
|
4
4
|
const identification = {
|
|
5
5
|
type: data.type,
|
|
6
|
-
is_primary: data.isPrimary,
|
|
7
6
|
country_of_issue: data.countryOfIssue,
|
|
8
7
|
country_of_residence: data.countryOfResidence,
|
|
9
8
|
issue_date: data.issueDate,
|
|
@@ -3,10 +3,10 @@ import { createDefaultUserData } from "./user";
|
|
|
3
3
|
const fillCreatePhoneData = (data) => {
|
|
4
4
|
const phone = {
|
|
5
5
|
type: PhoneNumberTypes.Undefined,
|
|
6
|
-
is_primary: data.isPrimary || 0,
|
|
7
6
|
country_code: data.countryCode,
|
|
8
7
|
number: data.number,
|
|
9
8
|
verification_status: EntityVerificationStatus.Not_Verified,
|
|
9
|
+
is_primary: 0,
|
|
10
10
|
};
|
|
11
11
|
return createDefaultUserData({ phone: [phone] });
|
|
12
12
|
};
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
type SupportedCountryExtendedV2 = {
|
|
2
|
+
country_code: number;
|
|
3
|
+
currency_code: string;
|
|
4
|
+
currency_name: string;
|
|
5
|
+
iso_a2: string;
|
|
6
|
+
iso_a3: string;
|
|
7
|
+
country_name: string;
|
|
8
|
+
phone_code: string;
|
|
9
|
+
is_preferred: boolean;
|
|
10
|
+
supported_currencies: string[];
|
|
11
|
+
};
|
|
12
|
+
export type { SupportedCountryExtendedV2 };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { SupportedCountriesByType } from ".";
|
|
1
2
|
type Identification = {
|
|
2
3
|
necessity_type: string;
|
|
3
4
|
type: string;
|
|
@@ -7,5 +8,6 @@ type Identification = {
|
|
|
7
8
|
show_type_on_signup_with_code_form: boolean;
|
|
8
9
|
show_attach_id_on_signup_with_code_form: boolean;
|
|
9
10
|
show_attach_selfie_on_signup_with_code_form: boolean;
|
|
11
|
+
supported_countries_by_type: SupportedCountriesByType[];
|
|
10
12
|
};
|
|
11
13
|
export type { Identification };
|
|
@@ -20,6 +20,7 @@ export type * from "./POSMobileSecurity";
|
|
|
20
20
|
export type * from "./POSWorkingHour";
|
|
21
21
|
export type * from "./RESTServiceOptions";
|
|
22
22
|
export type * from "./salesSignupSettings";
|
|
23
|
+
export type * from "./supportedCountriesByType";
|
|
23
24
|
export type * from "./userApplication";
|
|
24
25
|
export type * from "./userApplication";
|
|
25
26
|
export type * from "./userApplicationFeatures";
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { BaseResult } from "../../common";
|
|
2
2
|
import { PasswordSettings, TermsConditions, VerificationRequirements, UserSystemOptions, EcommerceSettings, ServiceSetup } from ".";
|
|
3
|
-
import { Bin } from "../bin";
|
|
3
|
+
import { Bin, SupportedCountryExtendedV2 } from "../bin";
|
|
4
4
|
import { UserApplication } from "./applicationOptions";
|
|
5
5
|
import { ValidationServicesSettings } from "./validation";
|
|
6
6
|
type SignupRequirements = BaseResult & {
|
|
@@ -17,5 +17,6 @@ type SignupRequirements = BaseResult & {
|
|
|
17
17
|
user_application: UserApplication;
|
|
18
18
|
validation_service_settings: ValidationServicesSettings[];
|
|
19
19
|
apply_user_verification_requirements_to_organization_users: boolean;
|
|
20
|
+
supported_countries: SupportedCountryExtendedV2[];
|
|
20
21
|
};
|
|
21
22
|
export type { SignupRequirements };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "ggez-banking-sdk",
|
|
3
|
-
"version": "0.5.
|
|
3
|
+
"version": "0.5.36",
|
|
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",
|