@d19n/youfibre-odin-sdk 1.0.176 → 1.0.177

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,7 +1,7 @@
1
1
  import { OdinRecord, OdinRecordUpdateDto, OdinRecordUpdatedEvent } from '@d19n/odin-types/dist/core';
2
2
  interface AssignCaseProperties {
3
- OwnerId?: string;
4
3
  TeamId?: string;
4
+ OwnerId?: string;
5
5
  }
6
6
  export declare class AssignCaseDto extends OdinRecordUpdateDto {
7
7
  readonly actionName: string;
@@ -1,7 +1,7 @@
1
1
  import { OdinRecord, OdinRecordCreateDto, OdinRecordUpdateDto, OdinRecordUpdatedEvent, OdinRecordCreatedEvent } from '@d19n/odin-types/dist/core';
2
2
  interface AssignCaseProperties {
3
- OwnerId?: string;
4
3
  TeamId?: string;
4
+ OwnerId?: string;
5
5
  }
6
6
  export declare class AssignCaseDto extends OdinRecordUpdateDto {
7
7
  readonly actionName: string;
@@ -38,7 +38,8 @@ export declare enum AmcoUpdateWorkOrderStatusUpdatePropertyKeys {
38
38
  Status = "Status",
39
39
  EventCode = "EventCode",
40
40
  EventName = "EventName",
41
- LocationName = "LocationName"
41
+ LocationName = "LocationName",
42
+ ProductData = "ProductData"
42
43
  }
43
44
  export interface AmcoUpdateWorkOrderStatusUpdateProperties {
44
45
  WorkOrderId: string;
@@ -47,6 +48,7 @@ export interface AmcoUpdateWorkOrderStatusUpdateProperties {
47
48
  UpdateDate: Date;
48
49
  UpdateId: string;
49
50
  Status: AmcoUpdateWorkOrderStatusUpdateStatus;
51
+ ProductData: string;
50
52
  }
51
53
  export declare class AmcoUpdateWorkOrderStatusUpdate extends OdinRecord<AmcoUpdateWorkOrderStatusUpdateProperties> {
52
54
  entity: 'FieldServiceModule:WorkOrderStatusUpdate';
@@ -43,6 +43,7 @@ var AmcoUpdateWorkOrderStatusUpdatePropertyKeys;
43
43
  AmcoUpdateWorkOrderStatusUpdatePropertyKeys["EventCode"] = "EventCode";
44
44
  AmcoUpdateWorkOrderStatusUpdatePropertyKeys["EventName"] = "EventName";
45
45
  AmcoUpdateWorkOrderStatusUpdatePropertyKeys["LocationName"] = "LocationName";
46
+ AmcoUpdateWorkOrderStatusUpdatePropertyKeys["ProductData"] = "ProductData";
46
47
  })(AmcoUpdateWorkOrderStatusUpdatePropertyKeys = exports.AmcoUpdateWorkOrderStatusUpdatePropertyKeys || (exports.AmcoUpdateWorkOrderStatusUpdatePropertyKeys = {}));
47
48
  class AmcoUpdateWorkOrderStatusUpdate extends core_1.OdinRecord {
48
49
  }
@@ -5,11 +5,15 @@ export declare enum OutageEntityTypes {
5
5
  }
6
6
  export declare enum OutagePropertyKeys {
7
7
  Reference = "Reference",
8
- Details = "Details"
8
+ Details = "Details",
9
+ ExchangeName = "ExchangeName",
10
+ ImpactedAddresses = "ImpactedAddresses"
9
11
  }
10
12
  export interface OutageProperties {
11
13
  Reference: string;
12
14
  Details: string;
15
+ ExchangeName: string;
16
+ ImpactedAddresses: number;
13
17
  }
14
18
  export declare class Outage extends OdinRecord<OutageProperties> {
15
19
  entity: 'ServiceModule:Outage';
@@ -10,6 +10,8 @@ var OutagePropertyKeys;
10
10
  (function (OutagePropertyKeys) {
11
11
  OutagePropertyKeys["Reference"] = "Reference";
12
12
  OutagePropertyKeys["Details"] = "Details";
13
+ OutagePropertyKeys["ExchangeName"] = "ExchangeName";
14
+ OutagePropertyKeys["ImpactedAddresses"] = "ImpactedAddresses";
13
15
  })(OutagePropertyKeys = exports.OutagePropertyKeys || (exports.OutagePropertyKeys = {}));
14
16
  class Outage extends core_1.OdinRecord {
15
17
  }
@@ -9,7 +9,8 @@ export declare enum RoyalMailUpdateWorkOrderStatusUpdatePropertyKeys {
9
9
  Status = "Status",
10
10
  EventCode = "EventCode",
11
11
  EventName = "EventName",
12
- LocationName = "LocationName"
12
+ LocationName = "LocationName",
13
+ ProductData = "ProductData"
13
14
  }
14
15
  export interface RoyalMailUpdateWorkOrderStatusUpdateProperties {
15
16
  WorkOrderId: string;
@@ -19,6 +20,7 @@ export interface RoyalMailUpdateWorkOrderStatusUpdateProperties {
19
20
  EventCode: string;
20
21
  EventName: string;
21
22
  LocationName: string;
23
+ ProductData: string;
22
24
  }
23
25
  export declare class RoyalMailUpdateWorkOrderStatusUpdate extends OdinRecord<RoyalMailUpdateWorkOrderStatusUpdateProperties> {
24
26
  entity: 'FieldServiceModule:WorkOrderStatusUpdate';
@@ -13,6 +13,7 @@ var RoyalMailUpdateWorkOrderStatusUpdatePropertyKeys;
13
13
  RoyalMailUpdateWorkOrderStatusUpdatePropertyKeys["EventCode"] = "EventCode";
14
14
  RoyalMailUpdateWorkOrderStatusUpdatePropertyKeys["EventName"] = "EventName";
15
15
  RoyalMailUpdateWorkOrderStatusUpdatePropertyKeys["LocationName"] = "LocationName";
16
+ RoyalMailUpdateWorkOrderStatusUpdatePropertyKeys["ProductData"] = "ProductData";
16
17
  })(RoyalMailUpdateWorkOrderStatusUpdatePropertyKeys = exports.RoyalMailUpdateWorkOrderStatusUpdatePropertyKeys || (exports.RoyalMailUpdateWorkOrderStatusUpdatePropertyKeys = {}));
17
18
  class RoyalMailUpdateWorkOrderStatusUpdate extends core_1.OdinRecord {
18
19
  }
@@ -43,7 +43,8 @@ export declare enum WorkOrderStatusUpdatePropertyKeys {
43
43
  Status = "Status",
44
44
  EventCode = "EventCode",
45
45
  EventName = "EventName",
46
- LocationName = "LocationName"
46
+ LocationName = "LocationName",
47
+ ProductData = "ProductData"
47
48
  }
48
49
  export interface WorkOrderStatusUpdateProperties {
49
50
  WorkOrderId: string;
@@ -55,6 +56,7 @@ export interface WorkOrderStatusUpdateProperties {
55
56
  EventCode: string;
56
57
  EventName: string;
57
58
  LocationName: string;
59
+ ProductData: string;
58
60
  }
59
61
  export declare class WorkOrderStatusUpdate extends OdinRecord<WorkOrderStatusUpdateProperties> {
60
62
  entity: 'FieldServiceModule:WorkOrderStatusUpdate';
@@ -49,6 +49,7 @@ var WorkOrderStatusUpdatePropertyKeys;
49
49
  WorkOrderStatusUpdatePropertyKeys["EventCode"] = "EventCode";
50
50
  WorkOrderStatusUpdatePropertyKeys["EventName"] = "EventName";
51
51
  WorkOrderStatusUpdatePropertyKeys["LocationName"] = "LocationName";
52
+ WorkOrderStatusUpdatePropertyKeys["ProductData"] = "ProductData";
52
53
  })(WorkOrderStatusUpdatePropertyKeys = exports.WorkOrderStatusUpdatePropertyKeys || (exports.WorkOrderStatusUpdatePropertyKeys = {}));
53
54
  class WorkOrderStatusUpdate extends core_1.OdinRecord {
54
55
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@d19n/youfibre-odin-sdk",
3
- "version": "1.0.176",
3
+ "version": "1.0.177",
4
4
  "description": "",
5
5
  "author": "@d19n",
6
6
  "license": "UNLICENSED",
@@ -26,8 +26,8 @@ OdinRecordLinkCreatedEvent
26
26
  // ODIN ACTION
27
27
  // An Action is a single transaction that changes the properties of one or more objects.
28
28
  interface AssignCaseProperties {
29
- OwnerId?: string,
30
29
  TeamId?: string,
30
+ OwnerId?: string,
31
31
  }
32
32
  export class AssignCaseDto extends OdinRecordUpdateDto {
33
33
  public readonly actionName: string = 'AssignCase';
@@ -29,8 +29,8 @@ OdinRecordLinkCreatedEvent
29
29
  // Dtos for step: Assign Owner
30
30
  //================================================
31
31
  interface AssignCaseProperties {
32
- OwnerId?: string,
33
32
  TeamId?: string,
33
+ OwnerId?: string,
34
34
  }
35
35
  export class AssignCaseDto extends OdinRecordUpdateDto {
36
36
  public readonly actionName: string = 'AssignCase';
@@ -54,6 +54,7 @@ export enum AmcoUpdateWorkOrderStatusUpdatePropertyKeys {
54
54
  EventCode = 'EventCode',
55
55
  EventName = 'EventName',
56
56
  LocationName = 'LocationName',
57
+ ProductData = 'ProductData',
57
58
  }
58
59
 
59
60
 
@@ -70,6 +71,8 @@ export interface AmcoUpdateWorkOrderStatusUpdateProperties {
70
71
  UpdateId: string
71
72
  //Status
72
73
  Status: AmcoUpdateWorkOrderStatusUpdateStatus
74
+ //Product Data
75
+ ProductData: string
73
76
  }
74
77
 
75
78
 
@@ -22,6 +22,8 @@ export enum OutageEntityTypes {
22
22
  export enum OutagePropertyKeys {
23
23
  Reference = 'Reference',
24
24
  Details = 'Details',
25
+ ExchangeName = 'ExchangeName',
26
+ ImpactedAddresses = 'ImpactedAddresses',
25
27
  }
26
28
 
27
29
 
@@ -30,6 +32,10 @@ export interface OutageProperties {
30
32
  Reference: string
31
33
  //Free text field that is used for adding more detail about the outage
32
34
  Details: string
35
+ //Exchange impacted
36
+ ExchangeName: string
37
+ //Number of addresses impacted
38
+ ImpactedAddresses: number
33
39
  }
34
40
 
35
41
 
@@ -25,6 +25,7 @@ export enum RoyalMailUpdateWorkOrderStatusUpdatePropertyKeys {
25
25
  EventCode = 'EventCode',
26
26
  EventName = 'EventName',
27
27
  LocationName = 'LocationName',
28
+ ProductData = 'ProductData',
28
29
  }
29
30
 
30
31
 
@@ -43,6 +44,8 @@ export interface RoyalMailUpdateWorkOrderStatusUpdateProperties {
43
44
  EventName: string
44
45
  //Location Name
45
46
  LocationName: string
47
+ //Product Data
48
+ ProductData: string
46
49
  }
47
50
 
48
51
 
@@ -60,6 +60,7 @@ export enum WorkOrderStatusUpdatePropertyKeys {
60
60
  EventCode = 'EventCode',
61
61
  EventName = 'EventName',
62
62
  LocationName = 'LocationName',
63
+ ProductData = 'ProductData',
63
64
  }
64
65
 
65
66
 
@@ -82,6 +83,8 @@ export interface WorkOrderStatusUpdateProperties {
82
83
  EventName: string
83
84
  //Location Name
84
85
  LocationName: string
86
+ //Product Data
87
+ ProductData: string
85
88
  }
86
89
 
87
90