ggez-banking-sdk 0.0.40 → 0.0.42
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.
|
@@ -1096,10 +1096,10 @@ export declare enum CurrencyConversionType {
|
|
|
1096
1096
|
No_Conversion_Needed = 4
|
|
1097
1097
|
}
|
|
1098
1098
|
export declare enum VariantType {
|
|
1099
|
-
UGGEZ1 =
|
|
1100
|
-
UGZ =
|
|
1099
|
+
UGGEZ1 = 177771,
|
|
1100
|
+
UGZ = 177772
|
|
1101
1101
|
}
|
|
1102
1102
|
export declare enum ValidateType {
|
|
1103
|
-
NoValidation =
|
|
1104
|
-
ValidateOnly =
|
|
1103
|
+
NoValidation = 0,
|
|
1104
|
+
ValidateOnly = 1
|
|
1105
1105
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.
|
|
3
|
+
exports.CurrencyConversionType = exports.TransactionClassification = exports.WireTransferType = exports.ProgramTypes = exports.UserTrustLevelRange = exports.SourceApp = exports.CommerceProductSourceType = exports.OrderType = exports.PaymentMethodType = exports.ForgetPasswordSecurityTypes = exports.ForgetUserSecurityTypes = exports.ResponseStatusCode = exports.CountryCode = exports.DocumentType = exports.AccountStatus = exports.UserType = exports.BusinessType = exports.OrganizationRequestTypes = exports.SecurityOperationMethod = exports.TransactionInquiryStatus = exports.DeviceType = exports.TransactionType = exports.SettlementTransactionType = exports.AuthorizationOperationRequestType = exports.TransactionRequestStatus = exports.EntityStatus = exports.OperationStatus = exports.BankBeneficiaryType = exports.BankAccountTypes = exports.SecurityQuestion2 = exports.SecurityQuestion1 = exports.TrustLimits = exports.EntityVerificationStatus = exports.DocumentStatus = exports.IdentificationTypes = exports.AddressType = exports.Gender = exports.ChainRequestType = exports.ServiceProvider = exports.SecurityAuthenticationTypes = exports.ActivityType = exports.EntityData = exports.Entity = exports.ErrorLevel = exports.OrderStatus = exports.RequestStatus = void 0;
|
|
4
4
|
var RequestStatus;
|
|
5
5
|
(function (RequestStatus) {
|
|
6
6
|
RequestStatus[RequestStatus["Undefined"] = 0] = "Undefined";
|
|
@@ -1152,13 +1152,3 @@ var CurrencyConversionType;
|
|
|
1152
1152
|
CurrencyConversionType[CurrencyConversionType["Two_Step_Conversion"] = 3] = "Two_Step_Conversion";
|
|
1153
1153
|
CurrencyConversionType[CurrencyConversionType["No_Conversion_Needed"] = 4] = "No_Conversion_Needed";
|
|
1154
1154
|
})(CurrencyConversionType || (exports.CurrencyConversionType = CurrencyConversionType = {}));
|
|
1155
|
-
var VariantType;
|
|
1156
|
-
(function (VariantType) {
|
|
1157
|
-
VariantType["UGGEZ1"] = "177771";
|
|
1158
|
-
VariantType["UGZ"] = "177772";
|
|
1159
|
-
})(VariantType || (exports.VariantType = VariantType = {}));
|
|
1160
|
-
var ValidateType;
|
|
1161
|
-
(function (ValidateType) {
|
|
1162
|
-
ValidateType["NoValidation"] = "0";
|
|
1163
|
-
ValidateType["ValidateOnly"] = "1";
|
|
1164
|
-
})(ValidateType || (exports.ValidateType = ValidateType = {}));
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { AddressType, AuthorizationOperationRequestType, BankAccountTypes, BankBeneficiaryType, DeviceType, DocumentType, Entity, EntityStatus, OrderType, TransactionType, ValidateType } from "../constants/enum";
|
|
1
|
+
import { AddressType, AuthorizationOperationRequestType, BankAccountTypes, BankBeneficiaryType, CommerceProductSourceType, DeviceType, DocumentType, Entity, EntityStatus, OrderType, TransactionType, ValidateType } from "../constants/enum";
|
|
2
2
|
import { CreateDeviceInterface, UpdateDeviceInterface, DeleteDeviceInterface, VerifyDeviceInterface, ConfirmDeviceInterface, LogoutDeviceInterface } from "../interfaces/deviceInterface";
|
|
3
3
|
import { SignUpInterface, SignUpWithGoogleInterface } from "../interfaces/signInterface";
|
|
4
4
|
import { DoTransactionInterface, GetTransactionInterface } from "../interfaces/accountInterface";
|
|
@@ -2986,7 +2986,8 @@ declare const Data: () => {
|
|
|
2986
2986
|
};
|
|
2987
2987
|
items: {
|
|
2988
2988
|
variant: {
|
|
2989
|
-
|
|
2989
|
+
id: import("../constants/enum").VariantType;
|
|
2990
|
+
type: CommerceProductSourceType;
|
|
2990
2991
|
};
|
|
2991
2992
|
custom_form_data: {
|
|
2992
2993
|
customer_info: string;
|
|
@@ -15,7 +15,7 @@ dayjs_1.default.extend(timezone_1.default);
|
|
|
15
15
|
const Data = () => {
|
|
16
16
|
const dataOrder = () => {
|
|
17
17
|
const dataOrderRequest = (values) => {
|
|
18
|
-
|
|
18
|
+
const { accountId, customerInfo, paymentMethod, userNotes, validate, variantId, geoCoordinates, } = values;
|
|
19
19
|
let data = {
|
|
20
20
|
info: {
|
|
21
21
|
process_type: enum_1.OrderType.Normal,
|
|
@@ -23,7 +23,8 @@ const Data = () => {
|
|
|
23
23
|
items: [
|
|
24
24
|
{
|
|
25
25
|
variant: {
|
|
26
|
-
|
|
26
|
+
id: variantId,
|
|
27
|
+
type: enum_1.CommerceProductSourceType.GGEZ1,
|
|
27
28
|
},
|
|
28
29
|
custom_form_data: {
|
|
29
30
|
// features: {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "ggez-banking-sdk",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.42",
|
|
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",
|