ggez-banking-sdk 0.0.92 → 0.0.94
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.
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { AddressType, AuthorizationOperationRequestType, BankAccountTypes, BankBeneficiaryType, CommerceProductSourceType, DeviceType, DocumentType, Entity, EntityStatus, OrderType, TransactionType, ValidateType } from "../constants/enum";
|
|
1
|
+
import { AddressType, AuthorizationOperationRequestType, BankAccountTypes, BankBeneficiaryType, CommerceProductSourceType, DeviceType, DocumentType, Entity, EntityData, EntityStatus, OrderType, TicketType, 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";
|
|
@@ -739,7 +739,23 @@ declare const Data: () => {
|
|
|
739
739
|
};
|
|
740
740
|
dataTicket: () => {
|
|
741
741
|
createDataTicket: (values: CreateTicketInterface) => {
|
|
742
|
-
ticket:
|
|
742
|
+
ticket: {
|
|
743
|
+
info: {
|
|
744
|
+
subEntity: number;
|
|
745
|
+
subEntityId: number;
|
|
746
|
+
};
|
|
747
|
+
assigned_to_entity: Entity;
|
|
748
|
+
assigned_to_entity_id: number;
|
|
749
|
+
entity_data: EntityData;
|
|
750
|
+
category: number;
|
|
751
|
+
type: TicketType;
|
|
752
|
+
priority: number;
|
|
753
|
+
description_code: string;
|
|
754
|
+
content: {
|
|
755
|
+
subject: string;
|
|
756
|
+
content: string;
|
|
757
|
+
};
|
|
758
|
+
}[];
|
|
743
759
|
geo_coordinates: import("../interfaces").IGeoCoordinates;
|
|
744
760
|
result: any;
|
|
745
761
|
info: any;
|
|
@@ -567,10 +567,11 @@ const Data = () => {
|
|
|
567
567
|
};
|
|
568
568
|
const dataTicket = () => {
|
|
569
569
|
const createDataTicket = (values) => {
|
|
570
|
+
console.log("createDataTicket ~ values:", values);
|
|
571
|
+
console.log("createDataTicket ~ userData:", data_1.userData);
|
|
570
572
|
let data = {
|
|
571
573
|
...data_1.userData,
|
|
572
574
|
ticket: [
|
|
573
|
-
...data_1.userData.ticket,
|
|
574
575
|
{
|
|
575
576
|
info: {
|
|
576
577
|
subEntity: values.subEntity,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "ggez-banking-sdk",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.94",
|
|
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",
|