ggez-banking-sdk 0.0.90 → 0.0.92

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.
@@ -1123,3 +1123,32 @@ export declare enum PromotionGames {
1123
1123
  export declare enum GGEZGiftType {
1124
1124
  Wheel_Of_Fortune = 1
1125
1125
  }
1126
+ export declare enum ExternalHostMessageType {
1127
+ Interchange_Authorization = 1,
1128
+ Interchange_Financial_Post_Notification = 2,
1129
+ System_Financial_Notification = 3,
1130
+ User_Change_Notification = 4,
1131
+ Account_Change_Notification = 5,
1132
+ Order_Notification = 6,
1133
+ Network = 7,
1134
+ OTP_Authentication_Notification = 8,
1135
+ Payment_Gateway_Notification = 9,
1136
+ Fulfilment_Batch_Notification = 10,
1137
+ Ticket_Notification = 11,
1138
+ Organization_Change_Notification = 12,
1139
+ Service_Fee_Notification = 13,
1140
+ Interchange_Charge_Back_Notification = 14
1141
+ }
1142
+ export declare enum ExternalHostMode {
1143
+ Undefined = -1,
1144
+ Notification_Only = 1,
1145
+ Authorization = 2,
1146
+ Authorization_With_StandIn = 3,
1147
+ Authorization_With_Auto_Approve = 4
1148
+ }
1149
+ export declare enum TicketType {
1150
+ Undefined = -1,
1151
+ None = 0,
1152
+ Ticket = 1,
1153
+ Note = 2
1154
+ }
@@ -1,7 +1,7 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.PromotionVisibility = exports.PromotionType = exports.ValidateType = exports.VariantType = 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
- exports.GGEZGiftType = exports.PromotionGames = exports.PromotionStatus = void 0;
4
+ exports.TicketType = exports.ExternalHostMode = exports.ExternalHostMessageType = exports.GGEZGiftType = exports.PromotionGames = exports.PromotionStatus = void 0;
5
5
  var RequestStatus;
6
6
  (function (RequestStatus) {
7
7
  RequestStatus[RequestStatus["Undefined"] = 0] = "Undefined";
@@ -1188,3 +1188,35 @@ var GGEZGiftType;
1188
1188
  (function (GGEZGiftType) {
1189
1189
  GGEZGiftType[GGEZGiftType["Wheel_Of_Fortune"] = 1] = "Wheel_Of_Fortune";
1190
1190
  })(GGEZGiftType || (exports.GGEZGiftType = GGEZGiftType = {}));
1191
+ var ExternalHostMessageType;
1192
+ (function (ExternalHostMessageType) {
1193
+ ExternalHostMessageType[ExternalHostMessageType["Interchange_Authorization"] = 1] = "Interchange_Authorization";
1194
+ ExternalHostMessageType[ExternalHostMessageType["Interchange_Financial_Post_Notification"] = 2] = "Interchange_Financial_Post_Notification";
1195
+ ExternalHostMessageType[ExternalHostMessageType["System_Financial_Notification"] = 3] = "System_Financial_Notification";
1196
+ ExternalHostMessageType[ExternalHostMessageType["User_Change_Notification"] = 4] = "User_Change_Notification";
1197
+ ExternalHostMessageType[ExternalHostMessageType["Account_Change_Notification"] = 5] = "Account_Change_Notification";
1198
+ ExternalHostMessageType[ExternalHostMessageType["Order_Notification"] = 6] = "Order_Notification";
1199
+ ExternalHostMessageType[ExternalHostMessageType["Network"] = 7] = "Network";
1200
+ ExternalHostMessageType[ExternalHostMessageType["OTP_Authentication_Notification"] = 8] = "OTP_Authentication_Notification";
1201
+ ExternalHostMessageType[ExternalHostMessageType["Payment_Gateway_Notification"] = 9] = "Payment_Gateway_Notification";
1202
+ ExternalHostMessageType[ExternalHostMessageType["Fulfilment_Batch_Notification"] = 10] = "Fulfilment_Batch_Notification";
1203
+ ExternalHostMessageType[ExternalHostMessageType["Ticket_Notification"] = 11] = "Ticket_Notification";
1204
+ ExternalHostMessageType[ExternalHostMessageType["Organization_Change_Notification"] = 12] = "Organization_Change_Notification";
1205
+ ExternalHostMessageType[ExternalHostMessageType["Service_Fee_Notification"] = 13] = "Service_Fee_Notification";
1206
+ ExternalHostMessageType[ExternalHostMessageType["Interchange_Charge_Back_Notification"] = 14] = "Interchange_Charge_Back_Notification";
1207
+ })(ExternalHostMessageType || (exports.ExternalHostMessageType = ExternalHostMessageType = {}));
1208
+ var ExternalHostMode;
1209
+ (function (ExternalHostMode) {
1210
+ ExternalHostMode[ExternalHostMode["Undefined"] = -1] = "Undefined";
1211
+ ExternalHostMode[ExternalHostMode["Notification_Only"] = 1] = "Notification_Only";
1212
+ ExternalHostMode[ExternalHostMode["Authorization"] = 2] = "Authorization";
1213
+ ExternalHostMode[ExternalHostMode["Authorization_With_StandIn"] = 3] = "Authorization_With_StandIn";
1214
+ ExternalHostMode[ExternalHostMode["Authorization_With_Auto_Approve"] = 4] = "Authorization_With_Auto_Approve";
1215
+ })(ExternalHostMode || (exports.ExternalHostMode = ExternalHostMode = {}));
1216
+ var TicketType;
1217
+ (function (TicketType) {
1218
+ TicketType[TicketType["Undefined"] = -1] = "Undefined";
1219
+ TicketType[TicketType["None"] = 0] = "None";
1220
+ TicketType[TicketType["Ticket"] = 1] = "Ticket";
1221
+ TicketType[TicketType["Note"] = 2] = "Note";
1222
+ })(TicketType || (exports.TicketType = TicketType = {}));
@@ -2,7 +2,7 @@ import { AddressType, AuthorizationOperationRequestType, BankAccountTypes, BankB
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";
5
- import { CreateAddressInterface, DeleteUserAddressInterface, MakeAddressPrimaryInterface, UpdateAddressInterface, CreateUserEmailInterface, DeleteUserEmailInterface, UpdateUserEmailInterface, ConfirmLimitedEmailInterface, MakePrimaryUserEmailInterface, VerifyLimitedEmailInterface, ConfirmLimitedPhoneInterface, CreateUserPhoneInterface, DeleteUserPhoneInterface, MakeUserPhonePrimaryInterface, UpdateUserPhoneInterface, VerifyLimitedPhoneInterface, CreateBankAccountInterFace, UpdateBankAccountInterFace, DeleteBankAccountInterFace, MakeBankAccountPrimaryInterFace, CreateIdentificationInterface, DeleteIdentificationInterface, UpdateIdentificationInterface, UpdatePersonalInfoInterface, UpdateProfilePictureInterface, ChangeUserSecurityCodeInterface, ResetPasswordInterface, ResetSecurityQuestionsInterface, UpdateUserPreferencesInterface, ValidateSecurityCodeInterface, ActivateGoogleAuthInterface, ValidateLimitedPhoneInterface, IsEmailPresentAndValidInterface, IsPhonePresentAndValidInterface, SendOTPPhoneInterface, SendOTPEmailInterface, CreateDocumentInterface, ForgetPasswordConfirmInterface, ForgetPasswordValidateInterface, DeleteGoogleAuthInterface } from "../interfaces/bankingSystemInterface";
5
+ import { CreateAddressInterface, DeleteUserAddressInterface, MakeAddressPrimaryInterface, UpdateAddressInterface, CreateUserEmailInterface, DeleteUserEmailInterface, UpdateUserEmailInterface, ConfirmLimitedEmailInterface, MakePrimaryUserEmailInterface, VerifyLimitedEmailInterface, ConfirmLimitedPhoneInterface, CreateUserPhoneInterface, DeleteUserPhoneInterface, MakeUserPhonePrimaryInterface, UpdateUserPhoneInterface, VerifyLimitedPhoneInterface, CreateBankAccountInterFace, UpdateBankAccountInterFace, DeleteBankAccountInterFace, MakeBankAccountPrimaryInterFace, CreateIdentificationInterface, DeleteIdentificationInterface, UpdateIdentificationInterface, UpdatePersonalInfoInterface, UpdateProfilePictureInterface, ChangeUserSecurityCodeInterface, ResetPasswordInterface, ResetSecurityQuestionsInterface, UpdateUserPreferencesInterface, ValidateSecurityCodeInterface, ActivateGoogleAuthInterface, ValidateLimitedPhoneInterface, IsEmailPresentAndValidInterface, IsPhonePresentAndValidInterface, SendOTPPhoneInterface, SendOTPEmailInterface, CreateDocumentInterface, ForgetPasswordConfirmInterface, ForgetPasswordValidateInterface, DeleteGoogleAuthInterface, CreateTicketInterface } from "../interfaces/bankingSystemInterface";
6
6
  import { IOrderInterface } from "../interfaces/transactionInterface";
7
7
  import { CreateDocumentOrganizationInterface, CreateOrganizationInterface, UpdateOrganizationInterface } from "../interfaces/organizationInterface";
8
8
  declare const Data: () => {
@@ -737,6 +737,54 @@ declare const Data: () => {
737
737
  time_zone_name: string;
738
738
  };
739
739
  };
740
+ dataTicket: () => {
741
+ createDataTicket: (values: CreateTicketInterface) => {
742
+ ticket: any[];
743
+ geo_coordinates: import("../interfaces").IGeoCoordinates;
744
+ result: any;
745
+ info: any;
746
+ personal_info: any;
747
+ address: any;
748
+ addresses: any;
749
+ email: any;
750
+ phone: any;
751
+ security: any;
752
+ preferences: any;
753
+ identification: any;
754
+ bank_account: any;
755
+ credit_card: any;
756
+ notification: any;
757
+ documents: any;
758
+ currency: any;
759
+ credit_limit: any;
760
+ account: any;
761
+ group: any;
762
+ terms_conditions: any;
763
+ device_info: any;
764
+ device: any;
765
+ device_history: any;
766
+ commerce: any;
767
+ external_auth: any;
768
+ validation_data: any;
769
+ relationship: any;
770
+ custom_field: any;
771
+ history: any;
772
+ access_rule: any;
773
+ general_requirements: any;
774
+ organization: any;
775
+ authentication_data: any;
776
+ crypto_address: any;
777
+ activity: any;
778
+ notes: any;
779
+ last_activity: any;
780
+ authentication: any;
781
+ validate: any;
782
+ function_code: any;
783
+ response_time: any;
784
+ time_zone: string;
785
+ time_zone_name: string;
786
+ };
787
+ };
740
788
  dataPhone: () => {
741
789
  createDataPhone: (values: CreateUserPhoneInterface) => {
742
790
  phone: {
@@ -565,6 +565,38 @@ const Data = () => {
565
565
  primaryDataAddress,
566
566
  };
567
567
  };
568
+ const dataTicket = () => {
569
+ const createDataTicket = (values) => {
570
+ let data = {
571
+ ...data_1.userData,
572
+ ticket: [
573
+ ...data_1.userData.ticket,
574
+ {
575
+ info: {
576
+ subEntity: values.subEntity,
577
+ subEntityId: values.subEntityId,
578
+ },
579
+ assigned_to_entity: enum_1.Entity.User,
580
+ assigned_to_entity_id: values.userId,
581
+ entity_data: enum_1.EntityData.Verification,
582
+ category: 0,
583
+ type: enum_1.TicketType.Note,
584
+ priority: 4,
585
+ description_code: "M000",
586
+ content: {
587
+ subject: "Phone Number Verification",
588
+ content: "Phone Number Verification Code Not Received",
589
+ },
590
+ },
591
+ ],
592
+ geo_coordinates: values.geoCoordinates,
593
+ };
594
+ return data;
595
+ };
596
+ return {
597
+ createDataTicket,
598
+ };
599
+ };
568
600
  const dataEmail = () => {
569
601
  const createDataEmail = (values) => {
570
602
  let data = {
@@ -1341,6 +1373,7 @@ const Data = () => {
1341
1373
  dataSignUpWithGoogle,
1342
1374
  dataAddress,
1343
1375
  dataEmail,
1376
+ dataTicket,
1344
1377
  dataPhone,
1345
1378
  dataBank,
1346
1379
  dataIdentification,
@@ -138,6 +138,12 @@ export interface MakeAddressPrimaryInterface {
138
138
  id: number;
139
139
  geoCoordinates?: IGeoCoordinates | null;
140
140
  }
141
+ export interface CreateTicketInterface {
142
+ subEntity: number;
143
+ subEntityId: number;
144
+ userId?: number;
145
+ geoCoordinates?: IGeoCoordinates | null;
146
+ }
141
147
  export interface GetTransactionInterface {
142
148
  user_id: number;
143
149
  geoCoordinates?: IGeoCoordinates | null;
@@ -1,3 +1,4 @@
1
+ import { ExternalHostMessageType, ExternalHostMode } from "../constants/enum";
1
2
  import { IOrganization } from "./organizationInterface";
2
3
  import { CustomField } from "./signInterface";
3
4
  export type UserInfo = {
@@ -44,6 +45,62 @@ export type UserInfo = {
44
45
  time_zone_name: string;
45
46
  response_time: string;
46
47
  };
48
+ export interface ITicket {
49
+ info: ITicketInfo;
50
+ content: ITicketContent;
51
+ history: ITicketHistory[];
52
+ ExternalHostInfo: ITicketExternalHostInfo;
53
+ ticket_json: string;
54
+ }
55
+ export interface ITicketInfo {
56
+ id: number;
57
+ cluster_id: number;
58
+ program_id: number;
59
+ parent_id: number;
60
+ entity: number;
61
+ entity_id: number;
62
+ sub_entity: ITicketSubEntity[];
63
+ by_entity: number;
64
+ by_entity_id: number;
65
+ assigned_to_entity: number;
66
+ assigned_to_entity_id: number;
67
+ entity_data: number;
68
+ status: number;
69
+ description_code: string;
70
+ category: number;
71
+ type: number;
72
+ scope: number;
73
+ priority: number;
74
+ service_provider: number;
75
+ service_method: number;
76
+ server_date: string;
77
+ date_utc: string;
78
+ client_date: string;
79
+ update_date_utc: string;
80
+ source_time_zone: string;
81
+ original_source_id: string;
82
+ }
83
+ export interface ITicketSubEntity {
84
+ sub_entity: number;
85
+ sub_entity_id: number;
86
+ verification_status: number;
87
+ status: number;
88
+ }
89
+ export interface ITicketContent {
90
+ subject: string;
91
+ content: string;
92
+ }
93
+ export interface ITicketHistory {
94
+ info: ITicketInfo;
95
+ content: ITicketContent;
96
+ }
97
+ export interface ITicketExternalHostInfo {
98
+ ExternalHostMessageType: ExternalHostMessageType;
99
+ ExternalHostMode: ExternalHostMode;
100
+ MessageDescription: string;
101
+ MessageDescriptionCode: string;
102
+ OldAccountStatus: string;
103
+ }
47
104
  export interface IDeviceHistory {
48
105
  id: number;
49
106
  type: number;
@@ -1,2 +1,3 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
+ ;
@@ -14,4 +14,5 @@ import { useGetUserLatest } from "./history";
14
14
  import { useDevice } from "./device";
15
15
  import { useTransaction } from "./transaction";
16
16
  import { useOrganization } from "./organization";
17
- export { useAuth, useAddresses, useBankAccount, useDocument, useEmail, useIdentification, usePersonalInfo, usePhone, useSecurity, useToken, useVerifyAndConfirm, useAccount, useGetUserLatest, useDevice, useTransaction, useOrganization, };
17
+ import { useTicket } from "./ticket";
18
+ export { useAuth, useAddresses, useBankAccount, useDocument, useEmail, useIdentification, usePersonalInfo, usePhone, useSecurity, useToken, useVerifyAndConfirm, useAccount, useGetUserLatest, useDevice, useTransaction, useOrganization, useTicket, };
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.useOrganization = exports.useTransaction = exports.useDevice = exports.useGetUserLatest = exports.useAccount = exports.useVerifyAndConfirm = exports.useToken = exports.useSecurity = exports.usePhone = exports.usePersonalInfo = exports.useIdentification = exports.useEmail = exports.useDocument = exports.useBankAccount = exports.useAddresses = exports.useAuth = void 0;
3
+ exports.useTicket = exports.useOrganization = exports.useTransaction = exports.useDevice = exports.useGetUserLatest = exports.useAccount = exports.useVerifyAndConfirm = exports.useToken = exports.useSecurity = exports.usePhone = exports.usePersonalInfo = exports.useIdentification = exports.useEmail = exports.useDocument = exports.useBankAccount = exports.useAddresses = exports.useAuth = void 0;
4
4
  const auth_1 = require("./auth");
5
5
  Object.defineProperty(exports, "useAuth", { enumerable: true, get: function () { return auth_1.useAuth; } });
6
6
  const addresses_1 = require("./addresses");
@@ -33,3 +33,5 @@ const transaction_1 = require("./transaction");
33
33
  Object.defineProperty(exports, "useTransaction", { enumerable: true, get: function () { return transaction_1.useTransaction; } });
34
34
  const organization_1 = require("./organization");
35
35
  Object.defineProperty(exports, "useOrganization", { enumerable: true, get: function () { return organization_1.useOrganization; } });
36
+ const ticket_1 = require("./ticket");
37
+ Object.defineProperty(exports, "useTicket", { enumerable: true, get: function () { return ticket_1.useTicket; } });
@@ -0,0 +1,15 @@
1
+ import { IGeoCoordinates, UserInfo } from "../interfaces/interface";
2
+ import { CreateTicketInterface } from "../interfaces";
3
+ export declare const useTicket: (token: string, userInfo: UserInfo, userId: string, baseUrl: string, geoCoordinates?: IGeoCoordinates | null, lang?: string) => {
4
+ CreateTicket: (values: CreateTicketInterface) => Promise<{
5
+ response: import("axios").AxiosResponse<any, any>;
6
+ newUser: any;
7
+ message: any;
8
+ status: string;
9
+ } | {
10
+ response: any;
11
+ newUser: any;
12
+ message: any;
13
+ status: string;
14
+ }>;
15
+ };
@@ -0,0 +1,56 @@
1
+ "use strict";
2
+ var __importDefault = (this && this.__importDefault) || function (mod) {
3
+ return (mod && mod.__esModule) ? mod : { "default": mod };
4
+ };
5
+ Object.defineProperty(exports, "__esModule", { value: true });
6
+ exports.useTicket = void 0;
7
+ const dataStructure_1 = __importDefault(require("../helper/dataStructure"));
8
+ const helper_1 = __importDefault(require("../helper"));
9
+ const restApi_1 = __importDefault(require("../restApi"));
10
+ const useTicket = (token, userInfo, userId, baseUrl, geoCoordinates, lang) => {
11
+ let endPointTicket = `v1/user/ticket/${userId}`;
12
+ const { checkResponse, headerConfig } = (0, helper_1.default)(userInfo);
13
+ const { checkGlobalResponse } = checkResponse();
14
+ const { dataTicket } = (0, dataStructure_1.default)();
15
+ const { createDataTicket } = dataTicket();
16
+ const headerConfigPhone = () => {
17
+ let headersData = {
18
+ header: true,
19
+ isUrlEncoded: false,
20
+ token: token,
21
+ lang: lang,
22
+ };
23
+ let headers = headerConfig(headersData);
24
+ return headers;
25
+ };
26
+ const CreateTicket = async (values) => {
27
+ let data = createDataTicket({
28
+ ...values,
29
+ userId: Number(userId),
30
+ geoCoordinates: geoCoordinates,
31
+ });
32
+ try {
33
+ const response = await restApi_1.default.restApi(baseUrl, "POST", endPointTicket, headerConfigPhone(), data);
34
+ let { newUserInfo } = checkGlobalResponse("ticket", response, "CreateTicket", "create");
35
+ return {
36
+ response: response,
37
+ newUser: newUserInfo,
38
+ message: response?.data?.result?.friendly_message ??
39
+ "Ticket Created Successfully",
40
+ status: "success",
41
+ };
42
+ }
43
+ catch (error) {
44
+ return {
45
+ response: error.response,
46
+ newUser: null,
47
+ message: error.message,
48
+ status: "failed",
49
+ };
50
+ }
51
+ };
52
+ return {
53
+ CreateTicket,
54
+ };
55
+ };
56
+ exports.useTicket = useTicket;
package/dist/index.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- export { useEmail, useAddresses, useAuth, useBankAccount, useDocument, useIdentification, usePersonalInfo, usePhone, useSecurity, useToken, useVerifyAndConfirm, useAccount, useDevice, useTransaction, useOrganization, } from "./bank-system/services";
1
+ export { useEmail, useAddresses, useAuth, useBankAccount, useDocument, useIdentification, usePersonalInfo, usePhone, useSecurity, useToken, useVerifyAndConfirm, useAccount, useDevice, useTransaction, useOrganization, useTicket, } from "./bank-system/services";
2
2
  import * as Constants from "./bank-system/constants";
3
3
  import * as Content from "./bank-system/content";
4
4
  import * as Interfaces from "./bank-system/interfaces";
package/dist/index.js CHANGED
@@ -23,7 +23,7 @@ var __importStar = (this && this.__importStar) || function (mod) {
23
23
  return result;
24
24
  };
25
25
  Object.defineProperty(exports, "__esModule", { value: true });
26
- exports.Content = exports.chainInfo = exports.RestApiService = exports.Utils = exports.Interfaces = exports.Constants = exports.useOrganization = exports.useTransaction = exports.useDevice = exports.useAccount = exports.useVerifyAndConfirm = exports.useToken = exports.useSecurity = exports.usePhone = exports.usePersonalInfo = exports.useIdentification = exports.useDocument = exports.useBankAccount = exports.useAuth = exports.useAddresses = exports.useEmail = void 0;
26
+ exports.Content = exports.chainInfo = exports.RestApiService = exports.Utils = exports.Interfaces = exports.Constants = exports.useTicket = exports.useOrganization = exports.useTransaction = exports.useDevice = exports.useAccount = exports.useVerifyAndConfirm = exports.useToken = exports.useSecurity = exports.usePhone = exports.usePersonalInfo = exports.useIdentification = exports.useDocument = exports.useBankAccount = exports.useAuth = exports.useAddresses = exports.useEmail = void 0;
27
27
  var services_1 = require("./bank-system/services");
28
28
  Object.defineProperty(exports, "useEmail", { enumerable: true, get: function () { return services_1.useEmail; } });
29
29
  Object.defineProperty(exports, "useAddresses", { enumerable: true, get: function () { return services_1.useAddresses; } });
@@ -40,6 +40,7 @@ Object.defineProperty(exports, "useAccount", { enumerable: true, get: function (
40
40
  Object.defineProperty(exports, "useDevice", { enumerable: true, get: function () { return services_1.useDevice; } });
41
41
  Object.defineProperty(exports, "useTransaction", { enumerable: true, get: function () { return services_1.useTransaction; } });
42
42
  Object.defineProperty(exports, "useOrganization", { enumerable: true, get: function () { return services_1.useOrganization; } });
43
+ Object.defineProperty(exports, "useTicket", { enumerable: true, get: function () { return services_1.useTicket; } });
43
44
  const Constants = __importStar(require("./bank-system/constants"));
44
45
  exports.Constants = Constants;
45
46
  const Content = __importStar(require("./bank-system/content"));
@@ -1 +1 @@
1
- {"root":["../src/index.ts","../src/bank-system/constants/enum.ts","../src/bank-system/constants/index.ts","../src/bank-system/content/accountCurrencies.ts","../src/bank-system/content/countries.ts","../src/bank-system/content/currencies.ts","../src/bank-system/content/index.ts","../src/bank-system/content/state.ts","../src/bank-system/helper/data.tsx","../src/bank-system/helper/dataStructure.tsx","../src/bank-system/helper/index.tsx","../src/bank-system/interfaces/accountInterface.ts","../src/bank-system/interfaces/bankingSystemInterface.ts","../src/bank-system/interfaces/deviceInterface.ts","../src/bank-system/interfaces/index.ts","../src/bank-system/interfaces/interface.ts","../src/bank-system/interfaces/organizationInterface.ts","../src/bank-system/interfaces/promotion.ts","../src/bank-system/interfaces/signInterface.ts","../src/bank-system/interfaces/transactionInterface.ts","../src/bank-system/restApi/index.tsx","../src/bank-system/services/account.ts","../src/bank-system/services/addresses.ts","../src/bank-system/services/auth.ts","../src/bank-system/services/bankAccount.ts","../src/bank-system/services/device.ts","../src/bank-system/services/document.ts","../src/bank-system/services/email.ts","../src/bank-system/services/history.ts","../src/bank-system/services/identification.ts","../src/bank-system/services/index.ts","../src/bank-system/services/organization.ts","../src/bank-system/services/personalInfo.ts","../src/bank-system/services/phone.ts","../src/bank-system/services/security.ts","../src/bank-system/services/token.ts","../src/bank-system/services/transaction.ts","../src/bank-system/services/verifyAndConfirm.ts","../src/bank-system/utils/chainAddressMasking.ts","../src/bank-system/utils/copyText.ts","../src/bank-system/utils/countryAndCurrencyData.ts","../src/bank-system/utils/enumToOption.ts","../src/bank-system/utils/fillDeviceDetails.ts","../src/bank-system/utils/generateOneLiner.ts","../src/bank-system/utils/generateSourceId.ts","../src/bank-system/utils/getCountryName.ts","../src/bank-system/utils/getEnumName.ts","../src/bank-system/utils/getStateByCountryCode.ts","../src/bank-system/utils/index.ts","../src/bank-system/utils/info.ts","../src/bank-system/utils/maskingFunction.ts","../src/bank-system/utils/regex.ts","../src/bank-system/utils/sortUserInfo.ts","../src/bank-system/utils/handleEncryption/decryptData.tsx","../src/bank-system/utils/handleEncryption/encryptData.tsx","../src/bank-system/utils/handleEncryption/index.ts","../src/bank-system/utils/handleEncryption/key.ts","../src/keplr-config/chainInfo.ts"],"version":"5.6.3"}
1
+ {"root":["../src/index.ts","../src/bank-system/constants/enum.ts","../src/bank-system/constants/index.ts","../src/bank-system/content/accountCurrencies.ts","../src/bank-system/content/countries.ts","../src/bank-system/content/currencies.ts","../src/bank-system/content/index.ts","../src/bank-system/content/state.ts","../src/bank-system/helper/data.tsx","../src/bank-system/helper/dataStructure.tsx","../src/bank-system/helper/index.tsx","../src/bank-system/interfaces/accountInterface.ts","../src/bank-system/interfaces/bankingSystemInterface.ts","../src/bank-system/interfaces/deviceInterface.ts","../src/bank-system/interfaces/index.ts","../src/bank-system/interfaces/interface.ts","../src/bank-system/interfaces/organizationInterface.ts","../src/bank-system/interfaces/promotion.ts","../src/bank-system/interfaces/signInterface.ts","../src/bank-system/interfaces/transactionInterface.ts","../src/bank-system/restApi/index.tsx","../src/bank-system/services/account.ts","../src/bank-system/services/addresses.ts","../src/bank-system/services/auth.ts","../src/bank-system/services/bankAccount.ts","../src/bank-system/services/device.ts","../src/bank-system/services/document.ts","../src/bank-system/services/email.ts","../src/bank-system/services/history.ts","../src/bank-system/services/identification.ts","../src/bank-system/services/index.ts","../src/bank-system/services/organization.ts","../src/bank-system/services/personalInfo.ts","../src/bank-system/services/phone.ts","../src/bank-system/services/security.ts","../src/bank-system/services/ticket.ts","../src/bank-system/services/token.ts","../src/bank-system/services/transaction.ts","../src/bank-system/services/verifyAndConfirm.ts","../src/bank-system/utils/chainAddressMasking.ts","../src/bank-system/utils/copyText.ts","../src/bank-system/utils/countryAndCurrencyData.ts","../src/bank-system/utils/enumToOption.ts","../src/bank-system/utils/fillDeviceDetails.ts","../src/bank-system/utils/generateOneLiner.ts","../src/bank-system/utils/generateSourceId.ts","../src/bank-system/utils/getCountryName.ts","../src/bank-system/utils/getEnumName.ts","../src/bank-system/utils/getStateByCountryCode.ts","../src/bank-system/utils/index.ts","../src/bank-system/utils/info.ts","../src/bank-system/utils/maskingFunction.ts","../src/bank-system/utils/regex.ts","../src/bank-system/utils/sortUserInfo.ts","../src/bank-system/utils/handleEncryption/decryptData.tsx","../src/bank-system/utils/handleEncryption/encryptData.tsx","../src/bank-system/utils/handleEncryption/index.ts","../src/bank-system/utils/handleEncryption/key.ts","../src/keplr-config/chainInfo.ts"],"version":"5.6.3"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ggez-banking-sdk",
3
- "version": "0.0.90",
3
+ "version": "0.0.92",
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",