@d19n/youfibre-odin-sdk 1.0.147 → 1.0.148-beta.1

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.
@@ -9,8 +9,6 @@ interface UpdateCustomerDeviceOntProperties {
9
9
  LastAction?: string;
10
10
  OnuInterfaceName?: string;
11
11
  PonPort?: string;
12
- OperStatus?: string;
13
- LastCheckStatusDate?: Date;
14
12
  StaticIpReboot?: string;
15
13
  StaticIpRebootTime?: Date;
16
14
  }
@@ -15,8 +15,8 @@ export declare class OrderItemApi extends ApiProvider {
15
15
  readonly orderitem: ApiRecordLinkManager;
16
16
  readonly voiceconfiguration: ApiRecordLinkManager;
17
17
  readonly note: ApiRecordLinkManager;
18
- readonly onetouchswitch: ApiRecordLinkManager;
19
18
  readonly customerdeviceont: ApiRecordLinkManager;
19
+ readonly onetouchswitch: ApiRecordLinkManager;
20
20
  readonly activity: ApiRecordLinkManager;
21
21
  readonly workorder: ApiRecordLinkManager;
22
22
  readonly splitorder: ApiRecordLinkManager;
@@ -24,8 +24,8 @@ class OrderItemApi extends api_provider_1.ApiProvider {
24
24
  this.orderitem = new api_record_link_manager_1.ApiRecordLinkManager(authParams, 'OrderModule:OrderItem', 'OrderModule:OrderItem', 'OrderItem__OrderItem');
25
25
  this.voiceconfiguration = new api_record_link_manager_1.ApiRecordLinkManager(authParams, 'OrderModule:OrderItem', 'ServiceModule:VoiceConfiguration', 'OrderItem__VoiceConfiguration');
26
26
  this.note = new api_record_link_manager_1.ApiRecordLinkManager(authParams, 'OrderModule:OrderItem', 'SupportModule:Note', 'OrderItem__Note');
27
- this.onetouchswitch = new api_record_link_manager_1.ApiRecordLinkManager(authParams, 'OrderModule:OrderItem', 'OrderModule:OneTouchSwitch', 'OneTouchSwitch__OrderItem');
28
27
  this.customerdeviceont = new api_record_link_manager_1.ApiRecordLinkManager(authParams, 'OrderModule:OrderItem', 'ServiceModule:CustomerDeviceOnt', 'OrderItem__CustomerDeviceOnt');
28
+ this.onetouchswitch = new api_record_link_manager_1.ApiRecordLinkManager(authParams, 'OrderModule:OrderItem', 'OrderModule:OneTouchSwitch', 'OneTouchSwitch__OrderItem');
29
29
  this.activity = new api_record_link_manager_1.ApiRecordLinkManager(authParams, 'OrderModule:OrderItem', 'SchemaModule:Activity', 'OrderItem__Activity');
30
30
  this.workorder = new api_record_link_manager_1.ApiRecordLinkManager(authParams, 'OrderModule:OrderItem', 'FieldServiceModule:WorkOrder', 'WorkOrder__OrderItem');
31
31
  this.splitorder = new api_record_link_manager_1.ApiRecordLinkManager(authParams, 'OrderModule:OrderItem', 'OrderModule:SplitOrder', 'SplitOrder__OrderItem');
@@ -15,8 +15,8 @@ export declare class OrderItemDb extends DbProvider {
15
15
  readonly orderitem: DbRecordLinkManager;
16
16
  readonly voiceconfiguration: DbRecordLinkManager;
17
17
  readonly note: DbRecordLinkManager;
18
- readonly onetouchswitch: DbRecordLinkManager;
19
18
  readonly customerdeviceont: DbRecordLinkManager;
19
+ readonly onetouchswitch: DbRecordLinkManager;
20
20
  readonly activity: DbRecordLinkManager;
21
21
  readonly workorder: DbRecordLinkManager;
22
22
  readonly splitorder: DbRecordLinkManager;
@@ -25,8 +25,8 @@ class OrderItemDb extends db_provider_1.DbProvider {
25
25
  this.orderitem = new db_record_link_manager_1.DbRecordLinkManager(this.principal, this.dbService, 'OrderModule:OrderItem', 'OrderModule:OrderItem', 'OrderItem__OrderItem');
26
26
  this.voiceconfiguration = new db_record_link_manager_1.DbRecordLinkManager(this.principal, this.dbService, 'OrderModule:OrderItem', 'ServiceModule:VoiceConfiguration', 'OrderItem__VoiceConfiguration');
27
27
  this.note = new db_record_link_manager_1.DbRecordLinkManager(this.principal, this.dbService, 'OrderModule:OrderItem', 'SupportModule:Note', 'OrderItem__Note');
28
- this.onetouchswitch = new db_record_link_manager_1.DbRecordLinkManager(this.principal, this.dbService, 'OrderModule:OrderItem', 'OrderModule:OneTouchSwitch', 'OneTouchSwitch__OrderItem');
29
28
  this.customerdeviceont = new db_record_link_manager_1.DbRecordLinkManager(this.principal, this.dbService, 'OrderModule:OrderItem', 'ServiceModule:CustomerDeviceOnt', 'OrderItem__CustomerDeviceOnt');
29
+ this.onetouchswitch = new db_record_link_manager_1.DbRecordLinkManager(this.principal, this.dbService, 'OrderModule:OrderItem', 'OrderModule:OneTouchSwitch', 'OneTouchSwitch__OrderItem');
30
30
  this.activity = new db_record_link_manager_1.DbRecordLinkManager(this.principal, this.dbService, 'OrderModule:OrderItem', 'SchemaModule:Activity', 'OrderItem__Activity');
31
31
  this.workorder = new db_record_link_manager_1.DbRecordLinkManager(this.principal, this.dbService, 'OrderModule:OrderItem', 'FieldServiceModule:WorkOrder', 'WorkOrder__OrderItem');
32
32
  this.splitorder = new db_record_link_manager_1.DbRecordLinkManager(this.principal, this.dbService, 'OrderModule:OrderItem', 'OrderModule:SplitOrder', 'SplitOrder__OrderItem');
@@ -26,6 +26,9 @@ export declare enum CallLegStatus {
26
26
  RINGING = "ringing"
27
27
  }
28
28
  export declare enum CallLegPropertyKeys {
29
+ OriginalLegId = "OriginalLegId",
30
+ IsReconnectedAgent = "IsReconnectedAgent",
31
+ ConferenceRole = "ConferenceRole",
29
32
  ParticipantSid = "ParticipantSid",
30
33
  ParticipantType = "ParticipantType",
31
34
  Direction = "Direction",
@@ -54,6 +57,9 @@ export declare enum CallLegPropertyKeys {
54
57
  CallId = "CallId"
55
58
  }
56
59
  export interface CallLegProperties {
60
+ OriginalLegId: string;
61
+ IsReconnectedAgent: boolean;
62
+ ConferenceRole: string;
57
63
  ParticipantSid: string;
58
64
  ParticipantType: CallLegParticipantType;
59
65
  Direction: CallLegDirection;
@@ -31,6 +31,9 @@ var CallLegStatus;
31
31
  })(CallLegStatus = exports.CallLegStatus || (exports.CallLegStatus = {}));
32
32
  var CallLegPropertyKeys;
33
33
  (function (CallLegPropertyKeys) {
34
+ CallLegPropertyKeys["OriginalLegId"] = "OriginalLegId";
35
+ CallLegPropertyKeys["IsReconnectedAgent"] = "IsReconnectedAgent";
36
+ CallLegPropertyKeys["ConferenceRole"] = "ConferenceRole";
34
37
  CallLegPropertyKeys["ParticipantSid"] = "ParticipantSid";
35
38
  CallLegPropertyKeys["ParticipantType"] = "ParticipantType";
36
39
  CallLegPropertyKeys["Direction"] = "Direction";
@@ -12,13 +12,19 @@ export declare enum CallTransferTransferType {
12
12
  WARM = "warm"
13
13
  }
14
14
  export declare enum CallTransferStatus {
15
+ AGENT_A_RECONNECTING = "agent-a-reconnecting",
15
16
  COMPLETED = "completed",
16
17
  CONNECTED = "connected",
18
+ CONSULTING = "consulting",
19
+ CONVERTING_TO_CONFERENCE = "converting-to-conference",
17
20
  FAILED = "failed",
18
21
  INITIATED = "initiated",
19
- RINGING = "ringing"
22
+ RINGING = "ringing",
23
+ THREE_WAY = "three-way"
20
24
  }
21
25
  export declare enum CallTransferPropertyKeys {
26
+ SourceAgentCurrentLegId = "SourceAgentCurrentLegId",
27
+ TargetAgentCurrentLegId = "TargetAgentCurrentLegId",
22
28
  TargetLegId = "TargetLegId",
23
29
  SourceLegId = "SourceLegId",
24
30
  FromAgentId = "FromAgentId",
@@ -41,6 +47,8 @@ export declare enum CallTransferPropertyKeys {
41
47
  CallId = "CallId"
42
48
  }
43
49
  export interface CallTransferProperties {
50
+ SourceAgentCurrentLegId: string;
51
+ TargetAgentCurrentLegId: string;
44
52
  TargetLegId: string;
45
53
  SourceLegId: string;
46
54
  FromAgentId: string;
@@ -14,14 +14,20 @@ var CallTransferTransferType;
14
14
  })(CallTransferTransferType = exports.CallTransferTransferType || (exports.CallTransferTransferType = {}));
15
15
  var CallTransferStatus;
16
16
  (function (CallTransferStatus) {
17
+ CallTransferStatus["AGENT_A_RECONNECTING"] = "agent-a-reconnecting";
17
18
  CallTransferStatus["COMPLETED"] = "completed";
18
19
  CallTransferStatus["CONNECTED"] = "connected";
20
+ CallTransferStatus["CONSULTING"] = "consulting";
21
+ CallTransferStatus["CONVERTING_TO_CONFERENCE"] = "converting-to-conference";
19
22
  CallTransferStatus["FAILED"] = "failed";
20
23
  CallTransferStatus["INITIATED"] = "initiated";
21
24
  CallTransferStatus["RINGING"] = "ringing";
25
+ CallTransferStatus["THREE_WAY"] = "three-way";
22
26
  })(CallTransferStatus = exports.CallTransferStatus || (exports.CallTransferStatus = {}));
23
27
  var CallTransferPropertyKeys;
24
28
  (function (CallTransferPropertyKeys) {
29
+ CallTransferPropertyKeys["SourceAgentCurrentLegId"] = "SourceAgentCurrentLegId";
30
+ CallTransferPropertyKeys["TargetAgentCurrentLegId"] = "TargetAgentCurrentLegId";
25
31
  CallTransferPropertyKeys["TargetLegId"] = "TargetLegId";
26
32
  CallTransferPropertyKeys["SourceLegId"] = "SourceLegId";
27
33
  CallTransferPropertyKeys["FromAgentId"] = "FromAgentId";
@@ -26,30 +26,30 @@ export declare enum CustomerDeviceOntOltName {
26
26
  }
27
27
  export declare enum CustomerDeviceOntModel {
28
28
  }
29
- export declare enum CustomerDeviceOntPonPort {
29
+ export declare enum CustomerDeviceOntPONPort {
30
30
  }
31
31
  export declare enum CustomerDeviceOntPropertyKeys {
32
32
  NetworkServiceId = "NetworkServiceId",
33
33
  OltName = "OltName",
34
34
  SerialNumber = "SerialNumber",
35
35
  Model = "Model",
36
- Pon = "Pon",
37
- PonPort = "PonPort",
38
36
  NetworkSpeed = "NetworkSpeed",
39
37
  LastActionDate = "LastActionDate",
40
- Uptime = "Uptime",
41
- OnuInterfaceName = "OnuInterfaceName",
42
38
  BipErrors = "BipErrors",
39
+ Uptime = "Uptime",
43
40
  FibreLength = "FibreLength",
44
41
  OperStatus = "OperStatus",
45
42
  AdminStatus = "AdminStatus",
46
43
  LastCheckStatusDate = "LastCheckStatusDate",
47
44
  OltIpAddress = "OltIpAddress",
48
- LastAction = "LastAction",
49
45
  NegotiatedSpeed = "NegotiatedSpeed",
50
46
  RxPower = "RxPower",
51
47
  EstimatedRxPower = "EstimatedRxPower",
48
+ LastAction = "LastAction",
52
49
  PortBestRxPower = "PortBestRxPower",
50
+ OnuInterfaceName = "OnuInterfaceName",
51
+ Pon = "PON",
52
+ PonPort = "PONPort",
53
53
  StaticIpReboot = "StaticIpReboot",
54
54
  StaticIpRebootTime = "StaticIpRebootTime"
55
55
  }
@@ -58,23 +58,23 @@ export interface CustomerDeviceOntProperties {
58
58
  OltName: CustomerDeviceOntOltName;
59
59
  SerialNumber: string;
60
60
  Model: CustomerDeviceOntModel;
61
- Pon: string;
62
- PonPort: CustomerDeviceOntPonPort;
63
61
  NetworkSpeed: string;
64
62
  LastActionDate: Date;
65
- Uptime: string;
66
- OnuInterfaceName: string;
67
63
  BipErrors: number;
64
+ Uptime: string;
68
65
  FibreLength: number;
69
66
  OperStatus: string;
70
67
  AdminStatus: string;
71
68
  LastCheckStatusDate: Date;
72
69
  OltIpAddress: string;
73
- LastAction: string;
74
70
  NegotiatedSpeed: string;
75
71
  RxPower: number;
76
72
  EstimatedRxPower: number;
73
+ LastAction: string;
77
74
  PortBestRxPower: number;
75
+ OnuInterfaceName: string;
76
+ Pon: string;
77
+ PonPort: CustomerDeviceOntPONPort;
78
78
  StaticIpReboot: string;
79
79
  StaticIpRebootTime: Date;
80
80
  }
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.ROUTING_KEY_LINK_CUSTOMER_DEVICE_ONT_CUSTOMER_DEVICE_ONT_REMOVAL_DELETED = exports.ROUTING_KEY_LINK_CUSTOMER_DEVICE_ONT_CUSTOMER_DEVICE_ONT_REMOVAL_CREATED = exports.ROUTING_KEY_LINK_CUSTOMER_DEVICE_ONT_FILE_DELETED = exports.ROUTING_KEY_LINK_CUSTOMER_DEVICE_ONT_FILE_CREATED = exports.ROUTING_KEY_LINK_CUSTOMER_DEVICE_ONT_CUSTOMER_DEVICE_ROUTER_DELETED = exports.ROUTING_KEY_LINK_CUSTOMER_DEVICE_ONT_CUSTOMER_DEVICE_ROUTER_CREATED = exports.ROUTING_KEY_LINK_CUSTOMER_DEVICE_ONT_ACTIVITY_DELETED = exports.ROUTING_KEY_LINK_CUSTOMER_DEVICE_ONT_ACTIVITY_CREATED = exports.ROUTING_KEY_LINK_CUSTOMER_DEVICE_ONT_NOTE_DELETED = exports.ROUTING_KEY_LINK_CUSTOMER_DEVICE_ONT_NOTE_CREATED = exports.ROUTING_KEY_CUSTOMER_DEVICE_ONT_DELETED = exports.ROUTING_KEY_CUSTOMER_DEVICE_ONT_UPDATED = exports.ROUTING_KEY_CUSTOMER_DEVICE_ONT_CREATED = exports.CustomerDeviceOnt = exports.CustomerDeviceOntPropertyKeys = exports.CustomerDeviceOntPonPort = exports.CustomerDeviceOntModel = exports.CustomerDeviceOntOltName = exports.CustomerDeviceOntEntityTypes = void 0;
3
+ exports.ROUTING_KEY_LINK_CUSTOMER_DEVICE_ONT_CUSTOMER_DEVICE_ONT_REMOVAL_DELETED = exports.ROUTING_KEY_LINK_CUSTOMER_DEVICE_ONT_CUSTOMER_DEVICE_ONT_REMOVAL_CREATED = exports.ROUTING_KEY_LINK_CUSTOMER_DEVICE_ONT_FILE_DELETED = exports.ROUTING_KEY_LINK_CUSTOMER_DEVICE_ONT_FILE_CREATED = exports.ROUTING_KEY_LINK_CUSTOMER_DEVICE_ONT_CUSTOMER_DEVICE_ROUTER_DELETED = exports.ROUTING_KEY_LINK_CUSTOMER_DEVICE_ONT_CUSTOMER_DEVICE_ROUTER_CREATED = exports.ROUTING_KEY_LINK_CUSTOMER_DEVICE_ONT_ACTIVITY_DELETED = exports.ROUTING_KEY_LINK_CUSTOMER_DEVICE_ONT_ACTIVITY_CREATED = exports.ROUTING_KEY_LINK_CUSTOMER_DEVICE_ONT_NOTE_DELETED = exports.ROUTING_KEY_LINK_CUSTOMER_DEVICE_ONT_NOTE_CREATED = exports.ROUTING_KEY_CUSTOMER_DEVICE_ONT_DELETED = exports.ROUTING_KEY_CUSTOMER_DEVICE_ONT_UPDATED = exports.ROUTING_KEY_CUSTOMER_DEVICE_ONT_CREATED = exports.CustomerDeviceOnt = exports.CustomerDeviceOntPropertyKeys = exports.CustomerDeviceOntPONPort = exports.CustomerDeviceOntModel = exports.CustomerDeviceOntOltName = exports.CustomerDeviceOntEntityTypes = void 0;
4
4
  const odin_types_1 = require("@d19n/odin-types/dist/types/odin.types");
5
5
  var CustomerDeviceOntEntityTypes;
6
6
  (function (CustomerDeviceOntEntityTypes) {
@@ -22,32 +22,32 @@ var CustomerDeviceOntOltName;
22
22
  var CustomerDeviceOntModel;
23
23
  (function (CustomerDeviceOntModel) {
24
24
  })(CustomerDeviceOntModel = exports.CustomerDeviceOntModel || (exports.CustomerDeviceOntModel = {}));
25
- var CustomerDeviceOntPonPort;
26
- (function (CustomerDeviceOntPonPort) {
27
- })(CustomerDeviceOntPonPort = exports.CustomerDeviceOntPonPort || (exports.CustomerDeviceOntPonPort = {}));
25
+ var CustomerDeviceOntPONPort;
26
+ (function (CustomerDeviceOntPONPort) {
27
+ })(CustomerDeviceOntPONPort = exports.CustomerDeviceOntPONPort || (exports.CustomerDeviceOntPONPort = {}));
28
28
  var CustomerDeviceOntPropertyKeys;
29
29
  (function (CustomerDeviceOntPropertyKeys) {
30
30
  CustomerDeviceOntPropertyKeys["NetworkServiceId"] = "NetworkServiceId";
31
31
  CustomerDeviceOntPropertyKeys["OltName"] = "OltName";
32
32
  CustomerDeviceOntPropertyKeys["SerialNumber"] = "SerialNumber";
33
33
  CustomerDeviceOntPropertyKeys["Model"] = "Model";
34
- CustomerDeviceOntPropertyKeys["Pon"] = "Pon";
35
- CustomerDeviceOntPropertyKeys["PonPort"] = "PonPort";
36
34
  CustomerDeviceOntPropertyKeys["NetworkSpeed"] = "NetworkSpeed";
37
35
  CustomerDeviceOntPropertyKeys["LastActionDate"] = "LastActionDate";
38
- CustomerDeviceOntPropertyKeys["Uptime"] = "Uptime";
39
- CustomerDeviceOntPropertyKeys["OnuInterfaceName"] = "OnuInterfaceName";
40
36
  CustomerDeviceOntPropertyKeys["BipErrors"] = "BipErrors";
37
+ CustomerDeviceOntPropertyKeys["Uptime"] = "Uptime";
41
38
  CustomerDeviceOntPropertyKeys["FibreLength"] = "FibreLength";
42
39
  CustomerDeviceOntPropertyKeys["OperStatus"] = "OperStatus";
43
40
  CustomerDeviceOntPropertyKeys["AdminStatus"] = "AdminStatus";
44
41
  CustomerDeviceOntPropertyKeys["LastCheckStatusDate"] = "LastCheckStatusDate";
45
42
  CustomerDeviceOntPropertyKeys["OltIpAddress"] = "OltIpAddress";
46
- CustomerDeviceOntPropertyKeys["LastAction"] = "LastAction";
47
43
  CustomerDeviceOntPropertyKeys["NegotiatedSpeed"] = "NegotiatedSpeed";
48
44
  CustomerDeviceOntPropertyKeys["RxPower"] = "RxPower";
49
45
  CustomerDeviceOntPropertyKeys["EstimatedRxPower"] = "EstimatedRxPower";
46
+ CustomerDeviceOntPropertyKeys["LastAction"] = "LastAction";
50
47
  CustomerDeviceOntPropertyKeys["PortBestRxPower"] = "PortBestRxPower";
48
+ CustomerDeviceOntPropertyKeys["OnuInterfaceName"] = "OnuInterfaceName";
49
+ CustomerDeviceOntPropertyKeys["Pon"] = "PON";
50
+ CustomerDeviceOntPropertyKeys["PonPort"] = "PONPort";
51
51
  CustomerDeviceOntPropertyKeys["StaticIpReboot"] = "StaticIpReboot";
52
52
  CustomerDeviceOntPropertyKeys["StaticIpRebootTime"] = "StaticIpRebootTime";
53
53
  })(CustomerDeviceOntPropertyKeys = exports.CustomerDeviceOntPropertyKeys || (exports.CustomerDeviceOntPropertyKeys = {}));
@@ -34,10 +34,10 @@ export declare enum CustomerDeviceRouterPropertyKeys {
34
34
  EeroOwner = "EeroOwner",
35
35
  EeroInstaller = "EeroInstaller",
36
36
  HeartBeat = "HeartBeat",
37
- WifiSsid = "WifiSSID",
38
37
  MacAddress = "MacAddress",
39
38
  Model = "Model",
40
- SerialNumber = "SerialNumber"
39
+ SerialNumber = "SerialNumber",
40
+ WifiSsid = "WifiSSID"
41
41
  }
42
42
  export interface CustomerDeviceRouterProperties {
43
43
  WifiPassword: string;
@@ -56,10 +56,10 @@ export interface CustomerDeviceRouterProperties {
56
56
  EeroOwner: string;
57
57
  EeroInstaller: string;
58
58
  HeartBeat: string;
59
- WifiSsid: string;
60
59
  MacAddress: string;
61
60
  Model: CustomerDeviceRouterModel;
62
61
  SerialNumber: string;
62
+ WifiSsid: string;
63
63
  }
64
64
  export declare class CustomerDeviceRouter extends OdinRecord<CustomerDeviceRouterProperties> {
65
65
  entity: 'ServiceModule:CustomerDeviceRouter';
@@ -34,10 +34,10 @@ var CustomerDeviceRouterPropertyKeys;
34
34
  CustomerDeviceRouterPropertyKeys["EeroOwner"] = "EeroOwner";
35
35
  CustomerDeviceRouterPropertyKeys["EeroInstaller"] = "EeroInstaller";
36
36
  CustomerDeviceRouterPropertyKeys["HeartBeat"] = "HeartBeat";
37
- CustomerDeviceRouterPropertyKeys["WifiSsid"] = "WifiSSID";
38
37
  CustomerDeviceRouterPropertyKeys["MacAddress"] = "MacAddress";
39
38
  CustomerDeviceRouterPropertyKeys["Model"] = "Model";
40
39
  CustomerDeviceRouterPropertyKeys["SerialNumber"] = "SerialNumber";
40
+ CustomerDeviceRouterPropertyKeys["WifiSsid"] = "WifiSSID";
41
41
  })(CustomerDeviceRouterPropertyKeys = exports.CustomerDeviceRouterPropertyKeys || (exports.CustomerDeviceRouterPropertyKeys = {}));
42
42
  class CustomerDeviceRouter extends odin_types_1.OdinRecord {
43
43
  }
@@ -4,8 +4,8 @@ import { CustomerDeviceAtaProperties } from './CustomerDeviceAta';
4
4
  import { OrderProperties } from './Order';
5
5
  import { VoiceConfigurationProperties } from './VoiceConfiguration';
6
6
  import { NoteProperties } from './Note';
7
- import { OneTouchSwitchProperties } from './OneTouchSwitch';
8
7
  import { CustomerDeviceOntProperties } from './CustomerDeviceOnt';
8
+ import { OneTouchSwitchProperties } from './OneTouchSwitch';
9
9
  import { ActivityProperties } from './Activity';
10
10
  import { WorkOrderProperties } from './WorkOrder';
11
11
  import { SplitOrderProperties } from './SplitOrder';
@@ -134,8 +134,8 @@ export declare class OrderItem extends OdinRecord<OrderItemProperties> {
134
134
  OrderItem: OdinLink<LinkedOdinRecord<OrderItemProperties>>;
135
135
  VoiceConfiguration: OdinLink<LinkedOdinRecord<VoiceConfigurationProperties>>;
136
136
  Note: OdinLink<LinkedOdinRecord<NoteProperties>>;
137
- OneTouchSwitch: OdinLink<LinkedOdinRecord<OneTouchSwitchProperties>>;
138
137
  CustomerDeviceOnt: OdinLink<LinkedOdinRecord<CustomerDeviceOntProperties>>;
138
+ OneTouchSwitch: OdinLink<LinkedOdinRecord<OneTouchSwitchProperties>>;
139
139
  Activity: OdinLink<LinkedOdinRecord<ActivityProperties>>;
140
140
  WorkOrder: OdinLink<LinkedOdinRecord<WorkOrderProperties>>;
141
141
  SplitOrder: OdinLink<LinkedOdinRecord<SplitOrderProperties>>;
@@ -33,8 +33,8 @@ export declare enum OdinEntities {
33
33
  MS_PENDING_EVENT = "ServiceModule:MsPendingEvent",
34
34
  MOBILE_CONFIGURATION = "ServiceModule:MobileConfiguration",
35
35
  PREMISE = "CrmModule:Premise",
36
- PREMISE2 = "CrmModule:Premise2",
37
36
  CUSTOMER_DEVICE_ONT = "ServiceModule:CustomerDeviceOnt",
37
+ PREMISE2 = "CrmModule:Premise2",
38
38
  WORK_ORDER_REMEDIATION_VIEW = "FieldServiceModule:WorkOrderRemediationView",
39
39
  DEACTIVATION_APPROVAL = "OrderModule:DeactivationApproval",
40
40
  VENDOR = "ProductModule:Vendor",
@@ -49,7 +49,6 @@ export declare enum OdinEntities {
49
49
  SCHEDULE_SLOT = "FieldServiceModule:ScheduleSlot",
50
50
  RESTRICTION = "ProductModule:Restriction",
51
51
  BILLING_ADJUSTMENT = "OrderModule:BillingAdjustment",
52
- CUSTOMER_DEVICE_ATA = "ServiceModule:CustomerDeviceAta",
53
52
  INVOICE_ITEM = "BillingModule:InvoiceItem",
54
53
  YF_TOOL_AUDIT = "FieldServiceModule:YfToolAudit",
55
54
  CUSTOMER_PHONE_PORTING = "ServiceModule:CustomerPhonePorting",
@@ -57,6 +56,7 @@ export declare enum OdinEntities {
57
56
  ORDER_CHECK = "ServiceModule:OrderCheck",
58
57
  YF_VAN_AUDIT = "FieldServiceModule:YfVanAudit",
59
58
  CONTACT_IDENTITY = "CrmModule:ContactIdentity",
59
+ CUSTOMER_DEVICE_ATA = "ServiceModule:CustomerDeviceAta",
60
60
  OUTAGE = "ServiceModule:Outage",
61
61
  CONSUMPTION_RATE = "ProductModule:ConsumptionRate",
62
62
  CONSUMPTION_SCHEDULE = "ProductModule:ConsumptionSchedule",
@@ -37,8 +37,8 @@ var OdinEntities;
37
37
  OdinEntities["MS_PENDING_EVENT"] = "ServiceModule:MsPendingEvent";
38
38
  OdinEntities["MOBILE_CONFIGURATION"] = "ServiceModule:MobileConfiguration";
39
39
  OdinEntities["PREMISE"] = "CrmModule:Premise";
40
- OdinEntities["PREMISE2"] = "CrmModule:Premise2";
41
40
  OdinEntities["CUSTOMER_DEVICE_ONT"] = "ServiceModule:CustomerDeviceOnt";
41
+ OdinEntities["PREMISE2"] = "CrmModule:Premise2";
42
42
  OdinEntities["WORK_ORDER_REMEDIATION_VIEW"] = "FieldServiceModule:WorkOrderRemediationView";
43
43
  OdinEntities["DEACTIVATION_APPROVAL"] = "OrderModule:DeactivationApproval";
44
44
  OdinEntities["VENDOR"] = "ProductModule:Vendor";
@@ -53,7 +53,6 @@ var OdinEntities;
53
53
  OdinEntities["SCHEDULE_SLOT"] = "FieldServiceModule:ScheduleSlot";
54
54
  OdinEntities["RESTRICTION"] = "ProductModule:Restriction";
55
55
  OdinEntities["BILLING_ADJUSTMENT"] = "OrderModule:BillingAdjustment";
56
- OdinEntities["CUSTOMER_DEVICE_ATA"] = "ServiceModule:CustomerDeviceAta";
57
56
  OdinEntities["INVOICE_ITEM"] = "BillingModule:InvoiceItem";
58
57
  OdinEntities["YF_TOOL_AUDIT"] = "FieldServiceModule:YfToolAudit";
59
58
  OdinEntities["CUSTOMER_PHONE_PORTING"] = "ServiceModule:CustomerPhonePorting";
@@ -61,6 +60,7 @@ var OdinEntities;
61
60
  OdinEntities["ORDER_CHECK"] = "ServiceModule:OrderCheck";
62
61
  OdinEntities["YF_VAN_AUDIT"] = "FieldServiceModule:YfVanAudit";
63
62
  OdinEntities["CONTACT_IDENTITY"] = "CrmModule:ContactIdentity";
63
+ OdinEntities["CUSTOMER_DEVICE_ATA"] = "ServiceModule:CustomerDeviceAta";
64
64
  OdinEntities["OUTAGE"] = "ServiceModule:Outage";
65
65
  OdinEntities["CONSUMPTION_RATE"] = "ProductModule:ConsumptionRate";
66
66
  OdinEntities["CONSUMPTION_SCHEDULE"] = "ProductModule:ConsumptionSchedule";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@d19n/youfibre-odin-sdk",
3
- "version": "1.0.147",
3
+ "version": "1.0.148-beta.1",
4
4
  "description": "",
5
5
  "author": "@d19n",
6
6
  "license": "UNLICENSED",
@@ -11,8 +11,6 @@ interface UpdateCustomerDeviceOntProperties {
11
11
  LastAction?: string,
12
12
  OnuInterfaceName?: string,
13
13
  PonPort?: string,
14
- OperStatus?: string,
15
- LastCheckStatusDate?: Date,
16
14
  StaticIpReboot?: string,
17
15
  StaticIpRebootTime?: Date,
18
16
  }
@@ -19,8 +19,8 @@
19
19
  public readonly orderitem: ApiRecordLinkManager;
20
20
  public readonly voiceconfiguration: ApiRecordLinkManager;
21
21
  public readonly note: ApiRecordLinkManager;
22
- public readonly onetouchswitch: ApiRecordLinkManager;
23
22
  public readonly customerdeviceont: ApiRecordLinkManager;
23
+ public readonly onetouchswitch: ApiRecordLinkManager;
24
24
  public readonly activity: ApiRecordLinkManager;
25
25
  public readonly workorder: ApiRecordLinkManager;
26
26
  public readonly splitorder: ApiRecordLinkManager;
@@ -67,18 +67,18 @@
67
67
  'SupportModule:Note',
68
68
  'OrderItem__Note'
69
69
  );
70
- this.onetouchswitch = new ApiRecordLinkManager(
71
- authParams,
72
- 'OrderModule:OrderItem',
73
- 'OrderModule:OneTouchSwitch',
74
- 'OneTouchSwitch__OrderItem'
75
- );
76
70
  this.customerdeviceont = new ApiRecordLinkManager(
77
71
  authParams,
78
72
  'OrderModule:OrderItem',
79
73
  'ServiceModule:CustomerDeviceOnt',
80
74
  'OrderItem__CustomerDeviceOnt'
81
75
  );
76
+ this.onetouchswitch = new ApiRecordLinkManager(
77
+ authParams,
78
+ 'OrderModule:OrderItem',
79
+ 'OrderModule:OneTouchSwitch',
80
+ 'OneTouchSwitch__OrderItem'
81
+ );
82
82
  this.activity = new ApiRecordLinkManager(
83
83
  authParams,
84
84
  'OrderModule:OrderItem',
@@ -21,8 +21,8 @@
21
21
  public readonly orderitem: DbRecordLinkManager;
22
22
  public readonly voiceconfiguration: DbRecordLinkManager;
23
23
  public readonly note: DbRecordLinkManager;
24
- public readonly onetouchswitch: DbRecordLinkManager;
25
24
  public readonly customerdeviceont: DbRecordLinkManager;
25
+ public readonly onetouchswitch: DbRecordLinkManager;
26
26
  public readonly activity: DbRecordLinkManager;
27
27
  public readonly workorder: DbRecordLinkManager;
28
28
  public readonly splitorder: DbRecordLinkManager;
@@ -78,19 +78,19 @@
78
78
  'SupportModule:Note',
79
79
  'OrderItem__Note'
80
80
  );
81
- this.onetouchswitch = new DbRecordLinkManager(
81
+ this.customerdeviceont = new DbRecordLinkManager(
82
82
  this.principal,
83
83
  this.dbService,
84
84
  'OrderModule:OrderItem',
85
- 'OrderModule:OneTouchSwitch',
86
- 'OneTouchSwitch__OrderItem'
85
+ 'ServiceModule:CustomerDeviceOnt',
86
+ 'OrderItem__CustomerDeviceOnt'
87
87
  );
88
- this.customerdeviceont = new DbRecordLinkManager(
88
+ this.onetouchswitch = new DbRecordLinkManager(
89
89
  this.principal,
90
90
  this.dbService,
91
91
  'OrderModule:OrderItem',
92
- 'ServiceModule:CustomerDeviceOnt',
93
- 'OrderItem__CustomerDeviceOnt'
92
+ 'OrderModule:OneTouchSwitch',
93
+ 'OneTouchSwitch__OrderItem'
94
94
  );
95
95
  this.activity = new DbRecordLinkManager(
96
96
  this.principal,
@@ -35,6 +35,9 @@ export enum CallLegStatus {
35
35
 
36
36
 
37
37
  export enum CallLegPropertyKeys {
38
+ OriginalLegId = 'OriginalLegId',
39
+ IsReconnectedAgent = 'IsReconnectedAgent',
40
+ ConferenceRole = 'ConferenceRole',
38
41
  ParticipantSid = 'ParticipantSid',
39
42
  ParticipantType = 'ParticipantType',
40
43
  Direction = 'Direction',
@@ -65,6 +68,12 @@ export enum CallLegPropertyKeys {
65
68
 
66
69
 
67
70
  export interface CallLegProperties {
71
+ //OriginalLegId
72
+ OriginalLegId: string
73
+ //IsReconnectedAgent
74
+ IsReconnectedAgent: boolean
75
+ //ConferenceRole
76
+ ConferenceRole: string
68
77
  //Twilio conference participant SID
69
78
  ParticipantSid: string
70
79
  //ParticipantType
@@ -19,15 +19,21 @@ export enum CallTransferTransferType {
19
19
  WARM = 'warm',
20
20
  }
21
21
  export enum CallTransferStatus {
22
+ AGENT_A_RECONNECTING = 'agent-a-reconnecting',
22
23
  COMPLETED = 'completed',
23
24
  CONNECTED = 'connected',
25
+ CONSULTING = 'consulting',
26
+ CONVERTING_TO_CONFERENCE = 'converting-to-conference',
24
27
  FAILED = 'failed',
25
28
  INITIATED = 'initiated',
26
29
  RINGING = 'ringing',
30
+ THREE_WAY = 'three-way',
27
31
  }
28
32
 
29
33
 
30
34
  export enum CallTransferPropertyKeys {
35
+ SourceAgentCurrentLegId = 'SourceAgentCurrentLegId',
36
+ TargetAgentCurrentLegId = 'TargetAgentCurrentLegId',
31
37
  TargetLegId = 'TargetLegId',
32
38
  SourceLegId = 'SourceLegId',
33
39
  FromAgentId = 'FromAgentId',
@@ -52,6 +58,10 @@ export enum CallTransferPropertyKeys {
52
58
 
53
59
 
54
60
  export interface CallTransferProperties {
61
+ //SourceAgentCurrentLegId
62
+ SourceAgentCurrentLegId: string
63
+ //TargetAgentCurrentLegId
64
+ TargetAgentCurrentLegId: string
55
65
  //UUID of receiving agent's call leg
56
66
  TargetLegId: string
57
67
  //UUID of transferring agent's call leg
@@ -33,7 +33,7 @@ export enum CustomerDeviceOntOltName {
33
33
  }
34
34
  export enum CustomerDeviceOntModel {
35
35
  }
36
- export enum CustomerDeviceOntPonPort {
36
+ export enum CustomerDeviceOntPONPort {
37
37
  }
38
38
 
39
39
 
@@ -42,23 +42,23 @@ export enum CustomerDeviceOntPropertyKeys {
42
42
  OltName = 'OltName',
43
43
  SerialNumber = 'SerialNumber',
44
44
  Model = 'Model',
45
- Pon = 'Pon',
46
- PonPort = 'PonPort',
47
45
  NetworkSpeed = 'NetworkSpeed',
48
46
  LastActionDate = 'LastActionDate',
49
- Uptime = 'Uptime',
50
- OnuInterfaceName = 'OnuInterfaceName',
51
47
  BipErrors = 'BipErrors',
48
+ Uptime = 'Uptime',
52
49
  FibreLength = 'FibreLength',
53
50
  OperStatus = 'OperStatus',
54
51
  AdminStatus = 'AdminStatus',
55
52
  LastCheckStatusDate = 'LastCheckStatusDate',
56
53
  OltIpAddress = 'OltIpAddress',
57
- LastAction = 'LastAction',
58
54
  NegotiatedSpeed = 'NegotiatedSpeed',
59
55
  RxPower = 'RxPower',
60
56
  EstimatedRxPower = 'EstimatedRxPower',
57
+ LastAction = 'LastAction',
61
58
  PortBestRxPower = 'PortBestRxPower',
59
+ OnuInterfaceName = 'OnuInterfaceName',
60
+ Pon = 'PON',
61
+ PonPort = 'PONPort',
62
62
  StaticIpReboot = 'StaticIpReboot',
63
63
  StaticIpRebootTime = 'StaticIpRebootTime',
64
64
  }
@@ -73,20 +73,14 @@ export interface CustomerDeviceOntProperties {
73
73
  SerialNumber: string
74
74
  //model of the customer device
75
75
  Model: CustomerDeviceOntModel
76
- //pon number for the customer device
77
- Pon: string
78
- //pon port number
79
- PonPort: CustomerDeviceOntPonPort
80
76
  //the network speed provisioned
81
77
  NetworkSpeed: string
82
78
  //LastActionDate
83
79
  LastActionDate: Date
84
- //Uptime
85
- Uptime: string
86
- //onu interface name provided after device is activated
87
- OnuInterfaceName: string
88
80
  //BipErrors
89
81
  BipErrors: number
82
+ //Uptime
83
+ Uptime: string
90
84
  //fibre length from the olt/onu
91
85
  FibreLength: number
92
86
  //the operating status of the ont
@@ -97,16 +91,22 @@ export interface CustomerDeviceOntProperties {
97
91
  LastCheckStatusDate: Date
98
92
  //olt ip address
99
93
  OltIpAddress: string
100
- //LastAction
101
- LastAction: string
102
94
  //NegotiatedSpeed
103
95
  NegotiatedSpeed: string
104
96
  //rx power reading for the onu
105
97
  RxPower: number
106
98
  //the estimated RX power at the closure
107
99
  EstimatedRxPower: number
100
+ //LastAction
101
+ LastAction: string
108
102
  //PortBestRxPower
109
103
  PortBestRxPower: number
104
+ //onu interface name provided after device is activated
105
+ OnuInterfaceName: string
106
+ //pon number for the customer device
107
+ Pon: string
108
+ //pon port number
109
+ PonPort: CustomerDeviceOntPONPort
110
110
  //StaticIpReboot
111
111
  StaticIpReboot: string
112
112
  //StaticIpRebootTime
@@ -43,10 +43,10 @@ export enum CustomerDeviceRouterPropertyKeys {
43
43
  EeroOwner = 'EeroOwner',
44
44
  EeroInstaller = 'EeroInstaller',
45
45
  HeartBeat = 'HeartBeat',
46
- WifiSsid = 'WifiSSID',
47
46
  MacAddress = 'MacAddress',
48
47
  Model = 'Model',
49
48
  SerialNumber = 'SerialNumber',
49
+ WifiSsid = 'WifiSSID',
50
50
  }
51
51
 
52
52
 
@@ -83,14 +83,14 @@ export interface CustomerDeviceRouterProperties {
83
83
  EeroInstaller: string
84
84
  //HeartBeat
85
85
  HeartBeat: string
86
- //wifi ssid
87
- WifiSsid: string
88
86
  //mac address
89
87
  MacAddress: string
90
88
  //model of the customer device
91
89
  Model: CustomerDeviceRouterModel
92
90
  //serial number for the customer device, scanned during install
93
91
  SerialNumber: string
92
+ //wifi ssid
93
+ WifiSsid: string
94
94
  }
95
95
 
96
96
 
@@ -8,8 +8,8 @@ import { CustomerDeviceAtaProperties } from './CustomerDeviceAta';
8
8
  import { OrderProperties } from './Order';
9
9
  import { VoiceConfigurationProperties } from './VoiceConfiguration';
10
10
  import { NoteProperties } from './Note';
11
- import { OneTouchSwitchProperties } from './OneTouchSwitch';
12
11
  import { CustomerDeviceOntProperties } from './CustomerDeviceOnt';
12
+ import { OneTouchSwitchProperties } from './OneTouchSwitch';
13
13
  import { ActivityProperties } from './Activity';
14
14
  import { WorkOrderProperties } from './WorkOrder';
15
15
  import { SplitOrderProperties } from './SplitOrder';
@@ -183,8 +183,8 @@ export class OrderItem extends OdinRecord<OrderItemProperties> {
183
183
  OrderItem: OdinLink<LinkedOdinRecord<OrderItemProperties>>;
184
184
  VoiceConfiguration: OdinLink<LinkedOdinRecord<VoiceConfigurationProperties>>;
185
185
  Note: OdinLink<LinkedOdinRecord<NoteProperties>>;
186
- OneTouchSwitch: OdinLink<LinkedOdinRecord<OneTouchSwitchProperties>>;
187
186
  CustomerDeviceOnt: OdinLink<LinkedOdinRecord<CustomerDeviceOntProperties>>;
187
+ OneTouchSwitch: OdinLink<LinkedOdinRecord<OneTouchSwitchProperties>>;
188
188
  Activity: OdinLink<LinkedOdinRecord<ActivityProperties>>;
189
189
  WorkOrder: OdinLink<LinkedOdinRecord<WorkOrderProperties>>;
190
190
  SplitOrder: OdinLink<LinkedOdinRecord<SplitOrderProperties>>;
@@ -35,8 +35,8 @@ export enum OdinEntities {
35
35
  MS_PENDING_EVENT = 'ServiceModule:MsPendingEvent',
36
36
  MOBILE_CONFIGURATION = 'ServiceModule:MobileConfiguration',
37
37
  PREMISE = 'CrmModule:Premise',
38
- PREMISE2 = 'CrmModule:Premise2',
39
38
  CUSTOMER_DEVICE_ONT = 'ServiceModule:CustomerDeviceOnt',
39
+ PREMISE2 = 'CrmModule:Premise2',
40
40
  WORK_ORDER_REMEDIATION_VIEW = 'FieldServiceModule:WorkOrderRemediationView',
41
41
  DEACTIVATION_APPROVAL = 'OrderModule:DeactivationApproval',
42
42
  VENDOR = 'ProductModule:Vendor',
@@ -51,7 +51,6 @@ export enum OdinEntities {
51
51
  SCHEDULE_SLOT = 'FieldServiceModule:ScheduleSlot',
52
52
  RESTRICTION = 'ProductModule:Restriction',
53
53
  BILLING_ADJUSTMENT = 'OrderModule:BillingAdjustment',
54
- CUSTOMER_DEVICE_ATA = 'ServiceModule:CustomerDeviceAta',
55
54
  INVOICE_ITEM = 'BillingModule:InvoiceItem',
56
55
  YF_TOOL_AUDIT = 'FieldServiceModule:YfToolAudit',
57
56
  CUSTOMER_PHONE_PORTING = 'ServiceModule:CustomerPhonePorting',
@@ -59,6 +58,7 @@ export enum OdinEntities {
59
58
  ORDER_CHECK = 'ServiceModule:OrderCheck',
60
59
  YF_VAN_AUDIT = 'FieldServiceModule:YfVanAudit',
61
60
  CONTACT_IDENTITY = 'CrmModule:ContactIdentity',
61
+ CUSTOMER_DEVICE_ATA = 'ServiceModule:CustomerDeviceAta',
62
62
  OUTAGE = 'ServiceModule:Outage',
63
63
  CONSUMPTION_RATE = 'ProductModule:ConsumptionRate',
64
64
  CONSUMPTION_SCHEDULE = 'ProductModule:ConsumptionSchedule',