@d19n/youfibre-odin-sdk 1.0.11 → 1.0.12

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.
@@ -0,0 +1,108 @@
1
+ export declare enum OdinEntities {
2
+ TIME_OFF = "IdentityModule:TimeOff",
3
+ DEACTIVATION_APPROVAL = "OrderModule:DeactivationApproval",
4
+ CALL = "NotificationModule:Call",
5
+ ORDER_REMEDIATION_TASK = "OrderModule:OrderRemediationTask",
6
+ VOICE_CONFIGURATION = "ServiceModule:VoiceConfiguration",
7
+ TELESALES_DASHBOARD = "CrmModule:TelesalesDashboard",
8
+ APPOINTMENT_CALENDAR = "CrmModule:AppointmentCalendar",
9
+ PERMISSION_TO_FAIL = "FieldServiceModule:PermissionToFail",
10
+ QUEUE = "SupportModule:Queue",
11
+ CASE_QUEUE_LIST_VIEW = "SupportModule:CaseQueueListView",
12
+ REMEDIATION_REQUIRED_REASON = "FieldServiceModule:RemediationRequiredReason",
13
+ ORDER_CHECK = "ServiceModule:OrderCheck",
14
+ QUEUE_CHANGE = "SupportModule:QueueChange",
15
+ TIME_SLOT = "IdentityModule:TimeSlot",
16
+ SUBTASK = "ProjectModule:Subtask",
17
+ ACCOUNT = "CrmModule:Account",
18
+ ORGANIZATION = "CrmModule:Organization",
19
+ OH_EXTERNAL_AUDIT = "FieldServiceModule:OhExternalAudit",
20
+ CASE = "SupportModule:Case",
21
+ WORK_ORDER_REMEDIATION_VIEW = "FieldServiceModule:WorkOrderRemediationView",
22
+ UG_EXTERNAL_AUDIT = "FieldServiceModule:UgExternalAudit",
23
+ CALENDAR = "FieldServiceModule:Calendar",
24
+ REGION = "ProjectModule:Region",
25
+ PREMISE = "CrmModule:Premise",
26
+ PROJECT = "ProjectModule:Project",
27
+ CUSTOMER_DEVICE_ATA = "ServiceModule:CustomerDeviceAta",
28
+ BILLING_ADJUSTMENT = "OrderModule:BillingAdjustment",
29
+ NETOMNIA_FTTH1_STAGE_INSTALL_AUDIT = "FieldServiceModule:NetomniaFtth1StageInstallAudit",
30
+ PHONE_NUMBER = "CrmModule:PhoneNumber",
31
+ TRANSACTION = "BillingModule:Transaction",
32
+ EXCHANGE = "ProjectModule:Exchange",
33
+ MILESTONE = "ProjectModule:Milestone",
34
+ LEAD = "CrmModule:Lead",
35
+ INTERNAL_INSTALL_AUDIT = "FieldServiceModule:InternalInstallAudit",
36
+ SUPPORT_TASK = "SupportModule:SupportTask",
37
+ NETOMNIA_FTTH_SERVICE_VISIT_SHEET = "FieldServiceModule:NetomniaFtthServiceVisitSheet",
38
+ SWEEPER_MAINTENANCE_AUDIT = "FieldServiceModule:SweeperMaintenanceAudit",
39
+ SERVICE_VISIT_AUDIT = "FieldServiceModule:ServiceVisitAudit",
40
+ OH_INSTALLATION_AUDIT = "FieldServiceModule:OhInstallationAudit",
41
+ OH_AUDIT_OF_INSTALLATION = "FieldServiceModule:OhAuditOfInstallation",
42
+ UG_INSTALLATION_AUDIT = "FieldServiceModule:UgInstallationAudit",
43
+ YF_FIELD_SERVICE_VISIT = "FieldServiceModule:YfFieldServiceVisit",
44
+ UG_AUDIT_OF_INSTALLATION = "FieldServiceModule:UgAuditOfInstallation",
45
+ BLOCKAGE_REPORT_A55 = "FieldServiceModule:BlockageReportA55",
46
+ NETOMNIA_INSTALL_VERIFICATION = "FieldServiceModule:NetomniaInstallVerification",
47
+ ONE_TOUCH_SWITCH = "OrderModule:OneTouchSwitch",
48
+ TEAM = "IdentityModule:Team",
49
+ LINEAR_ISSUE = "SupportModule:LinearIssue",
50
+ CHANGE_REASON = "FieldServiceModule:ChangeReason",
51
+ NOINSTALL3_AUDIT_OF_INSTALLATION_SHEET = "FieldServiceModule:Noinstall3AuditOfInstallationSheet",
52
+ UG_IN_PROGRESS_AUDIT = "FieldServiceModule:UgInProgressAudit",
53
+ OH_IN_PROGRESS_AUDIT = "FieldServiceModule:OhInProgressAudit",
54
+ OVERLAY_REAL_A55 = "FieldServiceModule:OverlayRealA55",
55
+ YF_EQUIPMENT_COLLECTION = "FieldServiceModule:YfEquipmentCollection",
56
+ APPOINTMENT = "CrmModule:Appointment",
57
+ RETURN_ORDER = "OrderModule:ReturnOrder",
58
+ SERVICE = "ServiceModule:Service",
59
+ COMMISSION = "BillingModule:Commission",
60
+ SCHEDULE_SLOT = "FieldServiceModule:ScheduleSlot",
61
+ USER = "IdentityModule:User",
62
+ PREMISE2 = "CrmModule:Premise2",
63
+ SMS_MESSAGE = "NotificationModule:SmsMessage",
64
+ CHURN_REQUEST = "OrderModule:ChurnRequest",
65
+ PIC_REQUEST = "OrderModule:PICRequest",
66
+ ADDRESS = "CrmModule:Address",
67
+ INVOICE = "BillingModule:Invoice",
68
+ PAYMENT_METHOD_REFUND = "BillingModule:PaymentMethodRefund",
69
+ OUTAGE = "ServiceModule:Outage",
70
+ CUSTOMER_DEVICE_ONT_REMOVAL = "ServiceModule:CustomerDeviceOntRemoval",
71
+ FINGERPRINT = "CrmModule:Fingerprint",
72
+ CRM_DATASET = "CrmModule:CrmDataset",
73
+ SALES_LEADER_BOARD = "CrmModule:SalesLeaderBoard",
74
+ SALES_TERRITORY = "CrmModule:SalesTerritory",
75
+ DASHBOARD = "CrmModule:Dashboard",
76
+ CONTACT_IDENTITY = "CrmModule:ContactIdentity",
77
+ RESTRICTION = "ProductModule:Restriction",
78
+ CONSUMPTION_SCHEDULE = "ProductModule:ConsumptionSchedule",
79
+ PAYMENT_METHOD = "BillingModule:PaymentMethod",
80
+ NOTE = "SupportModule:Note",
81
+ VISIT = "CrmModule:Visit",
82
+ TASK = "ProjectModule:Task",
83
+ OFFER = "ProductModule:Offer",
84
+ ENGINEER = "FieldServiceModule:Engineer",
85
+ SERVICE_APPOINTMENT_CONFIG = "FieldServiceModule:ServiceAppointmentConfig",
86
+ DISCOUNT = "ProductModule:Discount",
87
+ PRODUCT = "ProductModule:Product",
88
+ PRODUCT_COMPONENT = "ProductModule:ProductComponent",
89
+ INVOICE_ITEM = "BillingModule:InvoiceItem",
90
+ CUSTOMER_PHONE_PORTING = "ServiceModule:CustomerPhonePorting",
91
+ WORK_ORDER = "FieldServiceModule:WorkOrder",
92
+ SERVICE_APPOINTMENT = "FieldServiceModule:ServiceAppointment",
93
+ PRICE_BOOK = "ProductModule:PriceBook",
94
+ CONTACT = "CrmModule:Contact",
95
+ CUSTOMER_DEVICE_ROUTER = "ServiceModule:CustomerDeviceRouter",
96
+ CUSTOMER_DEVICE_ONT = "ServiceModule:CustomerDeviceOnt",
97
+ ORDER_ITEM = "OrderModule:OrderItem",
98
+ VENDOR = "ProductModule:Vendor",
99
+ BILLING_REQUEST = "BillingModule:BillingRequest",
100
+ NETWORK_DEVICE = "ServiceModule:NetworkDevice",
101
+ CREDIT_NOTE = "BillingModule:CreditNote",
102
+ CONSUMPTION_RATE = "ProductModule:ConsumptionRate",
103
+ PROGRAM = "ProjectModule:Program",
104
+ ORDER = "OrderModule:Order",
105
+ SPLIT_ORDER = "OrderModule:SplitOrder",
106
+ ACTIVITY = "SchemaModule:Activity",
107
+ FILE = "SchemaModule:File"
108
+ }
@@ -0,0 +1,112 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.OdinEntities = void 0;
4
+ var OdinEntities;
5
+ (function (OdinEntities) {
6
+ OdinEntities["TIME_OFF"] = "IdentityModule:TimeOff";
7
+ OdinEntities["DEACTIVATION_APPROVAL"] = "OrderModule:DeactivationApproval";
8
+ OdinEntities["CALL"] = "NotificationModule:Call";
9
+ OdinEntities["ORDER_REMEDIATION_TASK"] = "OrderModule:OrderRemediationTask";
10
+ OdinEntities["VOICE_CONFIGURATION"] = "ServiceModule:VoiceConfiguration";
11
+ OdinEntities["TELESALES_DASHBOARD"] = "CrmModule:TelesalesDashboard";
12
+ OdinEntities["APPOINTMENT_CALENDAR"] = "CrmModule:AppointmentCalendar";
13
+ OdinEntities["PERMISSION_TO_FAIL"] = "FieldServiceModule:PermissionToFail";
14
+ OdinEntities["QUEUE"] = "SupportModule:Queue";
15
+ OdinEntities["CASE_QUEUE_LIST_VIEW"] = "SupportModule:CaseQueueListView";
16
+ OdinEntities["REMEDIATION_REQUIRED_REASON"] = "FieldServiceModule:RemediationRequiredReason";
17
+ OdinEntities["ORDER_CHECK"] = "ServiceModule:OrderCheck";
18
+ OdinEntities["QUEUE_CHANGE"] = "SupportModule:QueueChange";
19
+ OdinEntities["TIME_SLOT"] = "IdentityModule:TimeSlot";
20
+ OdinEntities["SUBTASK"] = "ProjectModule:Subtask";
21
+ OdinEntities["ACCOUNT"] = "CrmModule:Account";
22
+ OdinEntities["ORGANIZATION"] = "CrmModule:Organization";
23
+ OdinEntities["OH_EXTERNAL_AUDIT"] = "FieldServiceModule:OhExternalAudit";
24
+ OdinEntities["CASE"] = "SupportModule:Case";
25
+ OdinEntities["WORK_ORDER_REMEDIATION_VIEW"] = "FieldServiceModule:WorkOrderRemediationView";
26
+ OdinEntities["UG_EXTERNAL_AUDIT"] = "FieldServiceModule:UgExternalAudit";
27
+ OdinEntities["CALENDAR"] = "FieldServiceModule:Calendar";
28
+ OdinEntities["REGION"] = "ProjectModule:Region";
29
+ OdinEntities["PREMISE"] = "CrmModule:Premise";
30
+ OdinEntities["PROJECT"] = "ProjectModule:Project";
31
+ OdinEntities["CUSTOMER_DEVICE_ATA"] = "ServiceModule:CustomerDeviceAta";
32
+ OdinEntities["BILLING_ADJUSTMENT"] = "OrderModule:BillingAdjustment";
33
+ OdinEntities["NETOMNIA_FTTH1_STAGE_INSTALL_AUDIT"] = "FieldServiceModule:NetomniaFtth1StageInstallAudit";
34
+ OdinEntities["PHONE_NUMBER"] = "CrmModule:PhoneNumber";
35
+ OdinEntities["TRANSACTION"] = "BillingModule:Transaction";
36
+ OdinEntities["EXCHANGE"] = "ProjectModule:Exchange";
37
+ OdinEntities["MILESTONE"] = "ProjectModule:Milestone";
38
+ OdinEntities["LEAD"] = "CrmModule:Lead";
39
+ OdinEntities["INTERNAL_INSTALL_AUDIT"] = "FieldServiceModule:InternalInstallAudit";
40
+ OdinEntities["SUPPORT_TASK"] = "SupportModule:SupportTask";
41
+ OdinEntities["NETOMNIA_FTTH_SERVICE_VISIT_SHEET"] = "FieldServiceModule:NetomniaFtthServiceVisitSheet";
42
+ OdinEntities["SWEEPER_MAINTENANCE_AUDIT"] = "FieldServiceModule:SweeperMaintenanceAudit";
43
+ OdinEntities["SERVICE_VISIT_AUDIT"] = "FieldServiceModule:ServiceVisitAudit";
44
+ OdinEntities["OH_INSTALLATION_AUDIT"] = "FieldServiceModule:OhInstallationAudit";
45
+ OdinEntities["OH_AUDIT_OF_INSTALLATION"] = "FieldServiceModule:OhAuditOfInstallation";
46
+ OdinEntities["UG_INSTALLATION_AUDIT"] = "FieldServiceModule:UgInstallationAudit";
47
+ OdinEntities["YF_FIELD_SERVICE_VISIT"] = "FieldServiceModule:YfFieldServiceVisit";
48
+ OdinEntities["UG_AUDIT_OF_INSTALLATION"] = "FieldServiceModule:UgAuditOfInstallation";
49
+ OdinEntities["BLOCKAGE_REPORT_A55"] = "FieldServiceModule:BlockageReportA55";
50
+ OdinEntities["NETOMNIA_INSTALL_VERIFICATION"] = "FieldServiceModule:NetomniaInstallVerification";
51
+ OdinEntities["ONE_TOUCH_SWITCH"] = "OrderModule:OneTouchSwitch";
52
+ OdinEntities["TEAM"] = "IdentityModule:Team";
53
+ OdinEntities["LINEAR_ISSUE"] = "SupportModule:LinearIssue";
54
+ OdinEntities["CHANGE_REASON"] = "FieldServiceModule:ChangeReason";
55
+ OdinEntities["NOINSTALL3_AUDIT_OF_INSTALLATION_SHEET"] = "FieldServiceModule:Noinstall3AuditOfInstallationSheet";
56
+ OdinEntities["UG_IN_PROGRESS_AUDIT"] = "FieldServiceModule:UgInProgressAudit";
57
+ OdinEntities["OH_IN_PROGRESS_AUDIT"] = "FieldServiceModule:OhInProgressAudit";
58
+ OdinEntities["OVERLAY_REAL_A55"] = "FieldServiceModule:OverlayRealA55";
59
+ OdinEntities["YF_EQUIPMENT_COLLECTION"] = "FieldServiceModule:YfEquipmentCollection";
60
+ OdinEntities["APPOINTMENT"] = "CrmModule:Appointment";
61
+ OdinEntities["RETURN_ORDER"] = "OrderModule:ReturnOrder";
62
+ OdinEntities["SERVICE"] = "ServiceModule:Service";
63
+ OdinEntities["COMMISSION"] = "BillingModule:Commission";
64
+ OdinEntities["SCHEDULE_SLOT"] = "FieldServiceModule:ScheduleSlot";
65
+ OdinEntities["USER"] = "IdentityModule:User";
66
+ OdinEntities["PREMISE2"] = "CrmModule:Premise2";
67
+ OdinEntities["SMS_MESSAGE"] = "NotificationModule:SmsMessage";
68
+ OdinEntities["CHURN_REQUEST"] = "OrderModule:ChurnRequest";
69
+ OdinEntities["PIC_REQUEST"] = "OrderModule:PICRequest";
70
+ OdinEntities["ADDRESS"] = "CrmModule:Address";
71
+ OdinEntities["INVOICE"] = "BillingModule:Invoice";
72
+ OdinEntities["PAYMENT_METHOD_REFUND"] = "BillingModule:PaymentMethodRefund";
73
+ OdinEntities["OUTAGE"] = "ServiceModule:Outage";
74
+ OdinEntities["CUSTOMER_DEVICE_ONT_REMOVAL"] = "ServiceModule:CustomerDeviceOntRemoval";
75
+ OdinEntities["FINGERPRINT"] = "CrmModule:Fingerprint";
76
+ OdinEntities["CRM_DATASET"] = "CrmModule:CrmDataset";
77
+ OdinEntities["SALES_LEADER_BOARD"] = "CrmModule:SalesLeaderBoard";
78
+ OdinEntities["SALES_TERRITORY"] = "CrmModule:SalesTerritory";
79
+ OdinEntities["DASHBOARD"] = "CrmModule:Dashboard";
80
+ OdinEntities["CONTACT_IDENTITY"] = "CrmModule:ContactIdentity";
81
+ OdinEntities["RESTRICTION"] = "ProductModule:Restriction";
82
+ OdinEntities["CONSUMPTION_SCHEDULE"] = "ProductModule:ConsumptionSchedule";
83
+ OdinEntities["PAYMENT_METHOD"] = "BillingModule:PaymentMethod";
84
+ OdinEntities["NOTE"] = "SupportModule:Note";
85
+ OdinEntities["VISIT"] = "CrmModule:Visit";
86
+ OdinEntities["TASK"] = "ProjectModule:Task";
87
+ OdinEntities["OFFER"] = "ProductModule:Offer";
88
+ OdinEntities["ENGINEER"] = "FieldServiceModule:Engineer";
89
+ OdinEntities["SERVICE_APPOINTMENT_CONFIG"] = "FieldServiceModule:ServiceAppointmentConfig";
90
+ OdinEntities["DISCOUNT"] = "ProductModule:Discount";
91
+ OdinEntities["PRODUCT"] = "ProductModule:Product";
92
+ OdinEntities["PRODUCT_COMPONENT"] = "ProductModule:ProductComponent";
93
+ OdinEntities["INVOICE_ITEM"] = "BillingModule:InvoiceItem";
94
+ OdinEntities["CUSTOMER_PHONE_PORTING"] = "ServiceModule:CustomerPhonePorting";
95
+ OdinEntities["WORK_ORDER"] = "FieldServiceModule:WorkOrder";
96
+ OdinEntities["SERVICE_APPOINTMENT"] = "FieldServiceModule:ServiceAppointment";
97
+ OdinEntities["PRICE_BOOK"] = "ProductModule:PriceBook";
98
+ OdinEntities["CONTACT"] = "CrmModule:Contact";
99
+ OdinEntities["CUSTOMER_DEVICE_ROUTER"] = "ServiceModule:CustomerDeviceRouter";
100
+ OdinEntities["CUSTOMER_DEVICE_ONT"] = "ServiceModule:CustomerDeviceOnt";
101
+ OdinEntities["ORDER_ITEM"] = "OrderModule:OrderItem";
102
+ OdinEntities["VENDOR"] = "ProductModule:Vendor";
103
+ OdinEntities["BILLING_REQUEST"] = "BillingModule:BillingRequest";
104
+ OdinEntities["NETWORK_DEVICE"] = "ServiceModule:NetworkDevice";
105
+ OdinEntities["CREDIT_NOTE"] = "BillingModule:CreditNote";
106
+ OdinEntities["CONSUMPTION_RATE"] = "ProductModule:ConsumptionRate";
107
+ OdinEntities["PROGRAM"] = "ProjectModule:Program";
108
+ OdinEntities["ORDER"] = "OrderModule:Order";
109
+ OdinEntities["SPLIT_ORDER"] = "OrderModule:SplitOrder";
110
+ OdinEntities["ACTIVITY"] = "SchemaModule:Activity";
111
+ OdinEntities["FILE"] = "SchemaModule:File";
112
+ })(OdinEntities || (exports.OdinEntities = OdinEntities = {}));
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@d19n/youfibre-odin-sdk",
3
- "version": "1.0.11",
3
+ "version": "1.0.12",
4
4
  "description": "",
5
5
  "author": "@d19n",
6
6
  "license": "UNLICENSED",
package/tsconfig.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
- "include": ["src/schemas.json", "src/entities-v1/*.ts", "src/api-sdk-v1/*.ts", "src/db-sdk-v1", "src-types"],
2
+ "include": ["src/schemas.json", "src/entities-v1/*.ts", "src/api-sdk-v1/*.ts", "src/db-sdk-v1", "src/types-v1/*.ts"],
3
3
  "compilerOptions": {
4
4
  /* Visit https://aka.ms/tsconfig to read more about this file */
5
5