@d19n/youfibre-odin-sdk 1.0.51 → 1.0.52
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.
- package/dist/api-sdk-v2/LeadApi.d.ts +4 -4
- package/dist/api-sdk-v2/LeadApi.js +4 -4
- package/dist/entities-v2/Address.d.ts +1 -1
- package/dist/entities-v2/BillingAdjustment.d.ts +12 -12
- package/dist/entities-v2/BillingAdjustment.js +10 -10
- package/dist/entities-v2/BlockageA55.d.ts +36 -36
- package/dist/entities-v2/BlockageA55.js +36 -36
- package/dist/entities-v2/Contact.d.ts +77 -77
- package/dist/entities-v2/Contact.js +61 -61
- package/dist/entities-v2/Lead.d.ts +52 -53
- package/dist/entities-v2/Lead.js +30 -30
- package/dist/entities-v2/MobileConfiguration.d.ts +18 -1
- package/dist/entities-v2/MobileConfiguration.js +15 -1
- package/dist/entities-v2/OutcomeFormRemediationRequiredReason.d.ts +10 -10
- package/dist/entities-v2/OutcomeFormRemediationRequiredReason.js +10 -10
- package/dist/types-v1/Types.d.ts +5 -5
- package/dist/types-v1/Types.js +5 -5
- package/package.json +1 -1
- package/src/api-sdk-v2/LeadApi.ts +18 -18
- package/src/entities-v2/Address.ts +1 -1
- package/src/entities-v2/BillingAdjustment.ts +16 -16
- package/src/entities-v2/BlockageA55.ts +45 -45
- package/src/entities-v2/Contact.ts +100 -100
- package/src/entities-v2/Lead.ts +74 -75
- package/src/entities-v2/MobileConfiguration.ts +21 -0
- package/src/entities-v2/OutcomeFormRemediationRequiredReason.ts +10 -10
- package/src/types-v1/Types.ts +5 -5
|
@@ -16,14 +16,14 @@ export declare class LeadApi extends ApiProvider {
|
|
|
16
16
|
readonly contact: ApiRecordLinkManager;
|
|
17
17
|
readonly commission: ApiRecordLinkManager;
|
|
18
18
|
readonly file: ApiRecordLinkManager;
|
|
19
|
-
readonly
|
|
20
|
-
readonly
|
|
21
|
-
readonly call__lead: ApiRecordLinkManager;
|
|
22
|
-
readonly fingerprint__lead: ApiRecordLinkManager;
|
|
19
|
+
readonly workorder: ApiRecordLinkManager;
|
|
20
|
+
readonly crmdataset: ApiRecordLinkManager;
|
|
23
21
|
readonly visit: ApiRecordLinkManager;
|
|
24
22
|
readonly appointment: ApiRecordLinkManager;
|
|
23
|
+
readonly call: ApiRecordLinkManager;
|
|
25
24
|
readonly order: ApiRecordLinkManager;
|
|
26
25
|
readonly address: ApiRecordLinkManager;
|
|
26
|
+
readonly fingerprint: ApiRecordLinkManager;
|
|
27
27
|
constructor(authParams?: OauthParams, authToken?: string);
|
|
28
28
|
setRecord(sourceRecord: any): void;
|
|
29
29
|
schema(): Promise<import("@d19n/odin-types/dist/types/odin.types").OdinSchema>;
|
|
@@ -26,14 +26,14 @@ class LeadApi extends api_provider_1.ApiProvider {
|
|
|
26
26
|
this.contact = new api_record_link_manager_1.ApiRecordLinkManager('CrmModule:Lead', 'CrmModule:Contact', 'Lead__Contact');
|
|
27
27
|
this.commission = new api_record_link_manager_1.ApiRecordLinkManager('CrmModule:Lead', 'BillingModule:Commission', 'Lead__Commission');
|
|
28
28
|
this.file = new api_record_link_manager_1.ApiRecordLinkManager('CrmModule:Lead', 'SchemaModule:File', 'Lead__File');
|
|
29
|
-
this.
|
|
30
|
-
this.
|
|
31
|
-
this.call__lead = new api_record_link_manager_1.ApiRecordLinkManager('CrmModule:Lead', 'CrmModule:Lead', 'Call__Lead');
|
|
32
|
-
this.fingerprint__lead = new api_record_link_manager_1.ApiRecordLinkManager('CrmModule:Lead', 'CrmModule:Lead', 'Fingerprint__Lead');
|
|
29
|
+
this.workorder = new api_record_link_manager_1.ApiRecordLinkManager('CrmModule:Lead', 'FieldServiceModule:WorkOrder', 'WorkOrder__Lead');
|
|
30
|
+
this.crmdataset = new api_record_link_manager_1.ApiRecordLinkManager('CrmModule:Lead', 'CrmModule:CrmDataset', 'CrmDataset__Lead');
|
|
33
31
|
this.visit = new api_record_link_manager_1.ApiRecordLinkManager('CrmModule:Lead', 'CrmModule:Visit', 'Lead__Visit');
|
|
34
32
|
this.appointment = new api_record_link_manager_1.ApiRecordLinkManager('CrmModule:Lead', 'CrmModule:Appointment', 'Lead_Appointment');
|
|
33
|
+
this.call = new api_record_link_manager_1.ApiRecordLinkManager('CrmModule:Lead', 'NotificationModule:Call', 'Call__Lead');
|
|
35
34
|
this.order = new api_record_link_manager_1.ApiRecordLinkManager('CrmModule:Lead', 'OrderModule:Order', 'Lead_Order');
|
|
36
35
|
this.address = new api_record_link_manager_1.ApiRecordLinkManager('CrmModule:Lead', 'CrmModule:Address', 'Lead_Address');
|
|
36
|
+
this.fingerprint = new api_record_link_manager_1.ApiRecordLinkManager('CrmModule:Lead', 'CrmModule:Fingerprint', 'Fingerprint__Lead');
|
|
37
37
|
}
|
|
38
38
|
setRecord(sourceRecord) {
|
|
39
39
|
this.sourceRecord = sourceRecord;
|
|
@@ -7,6 +7,10 @@ import { FileProperties } from './File';
|
|
|
7
7
|
export declare enum BillingAdjustmentEntityTypes {
|
|
8
8
|
DEFAULT = "DEFAULT"
|
|
9
9
|
}
|
|
10
|
+
export declare enum BillingAdjustmentDiscountType {
|
|
11
|
+
AMOUNT = "AMOUNT",
|
|
12
|
+
PERCENT = "PERCENT"
|
|
13
|
+
}
|
|
10
14
|
export declare enum BillingAdjustmentReason {
|
|
11
15
|
BILLING_DATE_CHANGE = "BILLING_DATE_CHANGE",
|
|
12
16
|
BILLING_DAY_ADJUSMENT_LEGACY = "BILLING_DAY_ADJUSTMENT",
|
|
@@ -22,25 +26,21 @@ export declare enum BillingAdjustmentReason {
|
|
|
22
26
|
RETENTION_DEAL = "RETENTION_DEAL",
|
|
23
27
|
SALES_MISSELLING_ADJUSTMENT = "SALES_MISSELLING_ADJUSTMENT"
|
|
24
28
|
}
|
|
25
|
-
export declare enum BillingAdjustmentDiscountType {
|
|
26
|
-
AMOUNT = "AMOUNT",
|
|
27
|
-
PERCENT = "PERCENT"
|
|
28
|
-
}
|
|
29
29
|
export declare enum BillingAdjustmentPropertyKeys {
|
|
30
|
-
|
|
31
|
-
Reason = "Reason",
|
|
32
|
-
DiscountValue = "DiscountValue",
|
|
30
|
+
Description = "Description",
|
|
33
31
|
DiscountLength = "DiscountLength",
|
|
34
32
|
DiscountType = "DiscountType",
|
|
35
|
-
|
|
33
|
+
DiscountValue = "DiscountValue",
|
|
34
|
+
FreePeriodLength = "FreePeriodLength",
|
|
35
|
+
Reason = "Reason"
|
|
36
36
|
}
|
|
37
37
|
export interface BillingAdjustmentProperties {
|
|
38
|
-
|
|
39
|
-
Reason: BillingAdjustmentReason;
|
|
40
|
-
DiscountValue: number;
|
|
38
|
+
Description: string;
|
|
41
39
|
DiscountLength: number;
|
|
42
40
|
DiscountType: BillingAdjustmentDiscountType;
|
|
43
|
-
|
|
41
|
+
DiscountValue: number;
|
|
42
|
+
FreePeriodLength?: number;
|
|
43
|
+
Reason: BillingAdjustmentReason;
|
|
44
44
|
}
|
|
45
45
|
export interface BillingAdjustment {
|
|
46
46
|
id: string;
|
|
@@ -1,11 +1,16 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.UpdateBillingAdjustmentDto = exports.CreateBillingAdjustmentDto = exports.BillingAdjustmentPropertyKeys = exports.
|
|
3
|
+
exports.UpdateBillingAdjustmentDto = exports.CreateBillingAdjustmentDto = exports.BillingAdjustmentPropertyKeys = exports.BillingAdjustmentReason = exports.BillingAdjustmentDiscountType = exports.BillingAdjustmentEntityTypes = void 0;
|
|
4
4
|
const odin_dtos_1 = require("@d19n/odin-types/dist/dtos/odin.dtos");
|
|
5
5
|
var BillingAdjustmentEntityTypes;
|
|
6
6
|
(function (BillingAdjustmentEntityTypes) {
|
|
7
7
|
BillingAdjustmentEntityTypes["DEFAULT"] = "DEFAULT";
|
|
8
8
|
})(BillingAdjustmentEntityTypes || (exports.BillingAdjustmentEntityTypes = BillingAdjustmentEntityTypes = {}));
|
|
9
|
+
var BillingAdjustmentDiscountType;
|
|
10
|
+
(function (BillingAdjustmentDiscountType) {
|
|
11
|
+
BillingAdjustmentDiscountType["AMOUNT"] = "AMOUNT";
|
|
12
|
+
BillingAdjustmentDiscountType["PERCENT"] = "PERCENT";
|
|
13
|
+
})(BillingAdjustmentDiscountType || (exports.BillingAdjustmentDiscountType = BillingAdjustmentDiscountType = {}));
|
|
9
14
|
var BillingAdjustmentReason;
|
|
10
15
|
(function (BillingAdjustmentReason) {
|
|
11
16
|
BillingAdjustmentReason["BILLING_DATE_CHANGE"] = "BILLING_DATE_CHANGE";
|
|
@@ -22,19 +27,14 @@ var BillingAdjustmentReason;
|
|
|
22
27
|
BillingAdjustmentReason["RETENTION_DEAL"] = "RETENTION_DEAL";
|
|
23
28
|
BillingAdjustmentReason["SALES_MISSELLING_ADJUSTMENT"] = "SALES_MISSELLING_ADJUSTMENT";
|
|
24
29
|
})(BillingAdjustmentReason || (exports.BillingAdjustmentReason = BillingAdjustmentReason = {}));
|
|
25
|
-
var BillingAdjustmentDiscountType;
|
|
26
|
-
(function (BillingAdjustmentDiscountType) {
|
|
27
|
-
BillingAdjustmentDiscountType["AMOUNT"] = "AMOUNT";
|
|
28
|
-
BillingAdjustmentDiscountType["PERCENT"] = "PERCENT";
|
|
29
|
-
})(BillingAdjustmentDiscountType || (exports.BillingAdjustmentDiscountType = BillingAdjustmentDiscountType = {}));
|
|
30
30
|
var BillingAdjustmentPropertyKeys;
|
|
31
31
|
(function (BillingAdjustmentPropertyKeys) {
|
|
32
|
-
BillingAdjustmentPropertyKeys["
|
|
33
|
-
BillingAdjustmentPropertyKeys["Reason"] = "Reason";
|
|
34
|
-
BillingAdjustmentPropertyKeys["DiscountValue"] = "DiscountValue";
|
|
32
|
+
BillingAdjustmentPropertyKeys["Description"] = "Description";
|
|
35
33
|
BillingAdjustmentPropertyKeys["DiscountLength"] = "DiscountLength";
|
|
36
34
|
BillingAdjustmentPropertyKeys["DiscountType"] = "DiscountType";
|
|
37
|
-
BillingAdjustmentPropertyKeys["
|
|
35
|
+
BillingAdjustmentPropertyKeys["DiscountValue"] = "DiscountValue";
|
|
36
|
+
BillingAdjustmentPropertyKeys["FreePeriodLength"] = "FreePeriodLength";
|
|
37
|
+
BillingAdjustmentPropertyKeys["Reason"] = "Reason";
|
|
38
38
|
})(BillingAdjustmentPropertyKeys || (exports.BillingAdjustmentPropertyKeys = BillingAdjustmentPropertyKeys = {}));
|
|
39
39
|
class CreateBillingAdjustmentDto extends odin_dtos_1.OdinRecordCreateDto {
|
|
40
40
|
constructor() {
|
|
@@ -7,12 +7,20 @@ import { WorkOrderProperties } from './WorkOrder';
|
|
|
7
7
|
export declare enum BlockageA55EntityTypes {
|
|
8
8
|
OUTCOME_FORM = "OUTCOME_FORM"
|
|
9
9
|
}
|
|
10
|
-
export declare enum
|
|
10
|
+
export declare enum BlockageA55BlockageLocation {
|
|
11
|
+
PRIVATE_LAND = "PRIVATE_LAND",
|
|
12
|
+
PUBLIC_LAND = "PUBLIC_LAND"
|
|
13
|
+
}
|
|
14
|
+
export declare enum BlockageA55SurfaceType {
|
|
15
|
+
HARD_TARMAC_PAVING = "HARD",
|
|
16
|
+
SOFT_GRASS_SOIL = "SOFT"
|
|
17
|
+
}
|
|
18
|
+
export declare enum BlockageA55PointALocation {
|
|
11
19
|
CHAMBER = "CHAMBER",
|
|
12
20
|
CUSTOMER_PROPERTY = "CUSTOMER_PROPERTY",
|
|
13
21
|
POLE = "POLE"
|
|
14
22
|
}
|
|
15
|
-
export declare enum
|
|
23
|
+
export declare enum BlockageA55ChamberTypePointA {
|
|
16
24
|
CW1_C_W_MANHOLE = "CW1",
|
|
17
25
|
DUCT_MOUTH_AT_PROPERTY = "DUCT_MOUTH_AT_PROPERTY",
|
|
18
26
|
HOLLOW_POLE = "HOLLOW_POLE",
|
|
@@ -25,24 +33,12 @@ export declare enum BlockageA55ChamberTypePointB {
|
|
|
25
33
|
LOCKED_CHAMBER = "LOCKED_CHAMBER",
|
|
26
34
|
M_H = "M/H"
|
|
27
35
|
}
|
|
28
|
-
export declare enum
|
|
29
|
-
HARD_TARMAC_PAVING = "HARD",
|
|
30
|
-
SOFT_GRASS_SOIL = "SOFT"
|
|
31
|
-
}
|
|
32
|
-
export declare enum BlockageA55BlockageLocation {
|
|
33
|
-
PRIVATE_LAND = "PRIVATE_LAND",
|
|
34
|
-
PUBLIC_LAND = "PUBLIC_LAND"
|
|
35
|
-
}
|
|
36
|
-
export declare enum BlockageA55SurfaceType {
|
|
37
|
-
HARD_TARMAC_PAVING = "HARD",
|
|
38
|
-
SOFT_GRASS_SOIL = "SOFT"
|
|
39
|
-
}
|
|
40
|
-
export declare enum BlockageA55PointALocation {
|
|
36
|
+
export declare enum BlockageA55PointBLocation {
|
|
41
37
|
CHAMBER = "CHAMBER",
|
|
42
38
|
CUSTOMER_PROPERTY = "CUSTOMER_PROPERTY",
|
|
43
39
|
POLE = "POLE"
|
|
44
40
|
}
|
|
45
|
-
export declare enum
|
|
41
|
+
export declare enum BlockageA55ChamberTypePointB {
|
|
46
42
|
CW1_C_W_MANHOLE = "CW1",
|
|
47
43
|
DUCT_MOUTH_AT_PROPERTY = "DUCT_MOUTH_AT_PROPERTY",
|
|
48
44
|
HOLLOW_POLE = "HOLLOW_POLE",
|
|
@@ -71,24 +67,23 @@ export declare enum BlockageA55SecondBlockageLocation {
|
|
|
71
67
|
PRIVATE_LAND = "PRIVATE_LAND",
|
|
72
68
|
PUBLIC_LAND = "PUBLIC_LAND"
|
|
73
69
|
}
|
|
70
|
+
export declare enum BlockageA55SecondBlockgageSurfaceType {
|
|
71
|
+
HARD_TARMAC_PAVING = "HARD",
|
|
72
|
+
SOFT_GRASS_SOIL = "SOFT"
|
|
73
|
+
}
|
|
74
74
|
export declare enum BlockageA55PermissionsRequired {
|
|
75
75
|
NO = "NO",
|
|
76
76
|
YES = "YES"
|
|
77
77
|
}
|
|
78
78
|
export declare enum BlockageA55PropertyKeys {
|
|
79
|
-
EngineerName = "EngineerName",
|
|
80
79
|
Overview = "Overview",
|
|
81
80
|
DateCreated = "DateCreated",
|
|
82
81
|
ExchangeName = "ExchangeName",
|
|
83
|
-
|
|
84
|
-
ChamberTypePointB = "ChamberTypePointB",
|
|
85
|
-
SecondBlockgageSurfaceType = "SecondBlockgageSurfaceType",
|
|
86
|
-
PointBImageSurrounding = "PointBImageSurrounding",
|
|
87
|
-
PointBImageInternal = "PointBImageInternal",
|
|
88
|
-
Udprn = "UDPRN",
|
|
82
|
+
EngineerName = "EngineerName",
|
|
89
83
|
WorkOrderNumber = "WorkOrderNumber",
|
|
90
84
|
FullAddress = "FullAddress",
|
|
91
85
|
PianoiNumber = "PIANOINumber",
|
|
86
|
+
Udprn = "UDPRN",
|
|
92
87
|
BlockageDetails = "BlockageDetails",
|
|
93
88
|
BlockageLocation = "BlockageLocation",
|
|
94
89
|
SurfaceType = "SurfaceType",
|
|
@@ -97,12 +92,16 @@ export declare enum BlockageA55PropertyKeys {
|
|
|
97
92
|
DuctId = "DuctID",
|
|
98
93
|
PointADetails = "PointADetails",
|
|
99
94
|
PointALocation = "PointALocation",
|
|
95
|
+
ChamberTypePointA = "ChamberTypePointA",
|
|
100
96
|
PointAImageSurrounding = "PointAImageSurrounding",
|
|
101
97
|
PointAImageInternal = "PointAImageInternal",
|
|
102
98
|
PointAImageRod = "PointAImageRod",
|
|
103
99
|
PointAClosestAddress = "PointAClosestAddress",
|
|
104
100
|
PointBDetails = "PointBDetails",
|
|
105
|
-
|
|
101
|
+
PointBLocation = "PointBLocation",
|
|
102
|
+
ChamberTypePointB = "ChamberTypePointB",
|
|
103
|
+
PointBImageSurrounding = "PointBImageSurrounding",
|
|
104
|
+
PointBImageInternal = "PointBImageInternal",
|
|
106
105
|
PointBImageRod = "PointBImageRod",
|
|
107
106
|
PointBClosestAddress = "PointBClosestAddress",
|
|
108
107
|
FurtherDetails = "FurtherDetails",
|
|
@@ -110,31 +109,27 @@ export declare enum BlockageA55PropertyKeys {
|
|
|
110
109
|
MinimumFootwayDistanceMaintained = "MinimumFootwayDistanceMaintained",
|
|
111
110
|
CarriagewayIncursionRequired = "CarriagewayIncursionRequired",
|
|
112
111
|
NetomniaOdinImageDuctSection = "NetomniaOdinImageDuctSection",
|
|
113
|
-
|
|
112
|
+
AddXToTheImage = "AddXToTheImage",
|
|
114
113
|
AnyFurtherBlockages = "AnyFurtherBlockages",
|
|
115
114
|
SecondBlockageLocation = "SecondBlockageLocation",
|
|
115
|
+
SecondBlockgageSurfaceType = "SecondBlockgageSurfaceType",
|
|
116
|
+
SecondBlockageClosestAddress = "SecondBlockageClosestAddress",
|
|
116
117
|
SecondBlockageImageXMarked = "SecondBlockageImageXMarked",
|
|
117
118
|
CustomerInformation = "CustomerInformation",
|
|
118
119
|
PermissionsRequired = "PermissionsRequired",
|
|
119
120
|
PtdCopy = "PTDCopy",
|
|
120
|
-
AddXToTheImage = "AddXToTheImage",
|
|
121
121
|
TotalDuctLength = "TotalDuctLength",
|
|
122
122
|
SplitMeasurement = "SplitMeasurement"
|
|
123
123
|
}
|
|
124
124
|
export interface BlockageA55Properties {
|
|
125
|
-
EngineerName: string;
|
|
126
125
|
Overview?: string;
|
|
127
126
|
DateCreated?: Date;
|
|
128
127
|
ExchangeName: string;
|
|
129
|
-
|
|
130
|
-
ChamberTypePointB?: BlockageA55ChamberTypePointB;
|
|
131
|
-
SecondBlockgageSurfaceType?: BlockageA55SecondBlockgageSurfaceType;
|
|
132
|
-
PointBImageSurrounding: string;
|
|
133
|
-
PointBImageInternal: string;
|
|
134
|
-
Udprn?: string;
|
|
128
|
+
EngineerName: string;
|
|
135
129
|
WorkOrderNumber: string;
|
|
136
130
|
FullAddress?: string;
|
|
137
131
|
PianoiNumber?: string;
|
|
132
|
+
Udprn?: string;
|
|
138
133
|
BlockageDetails?: string;
|
|
139
134
|
BlockageLocation: BlockageA55BlockageLocation;
|
|
140
135
|
SurfaceType: BlockageA55SurfaceType;
|
|
@@ -143,12 +138,16 @@ export interface BlockageA55Properties {
|
|
|
143
138
|
DuctId?: string;
|
|
144
139
|
PointADetails?: string;
|
|
145
140
|
PointALocation: BlockageA55PointALocation;
|
|
141
|
+
ChamberTypePointA?: BlockageA55ChamberTypePointA;
|
|
146
142
|
PointAImageSurrounding: string;
|
|
147
143
|
PointAImageInternal: string;
|
|
148
144
|
PointAImageRod: string;
|
|
149
145
|
PointAClosestAddress?: string;
|
|
150
146
|
PointBDetails?: string;
|
|
151
|
-
|
|
147
|
+
PointBLocation: BlockageA55PointBLocation;
|
|
148
|
+
ChamberTypePointB?: BlockageA55ChamberTypePointB;
|
|
149
|
+
PointBImageSurrounding: string;
|
|
150
|
+
PointBImageInternal: string;
|
|
152
151
|
PointBImageRod: string;
|
|
153
152
|
PointBClosestAddress?: string;
|
|
154
153
|
FurtherDetails?: string;
|
|
@@ -156,14 +155,15 @@ export interface BlockageA55Properties {
|
|
|
156
155
|
MinimumFootwayDistanceMaintained?: BlockageA55MinimumFootwayDistanceMaintained;
|
|
157
156
|
CarriagewayIncursionRequired?: BlockageA55CarriagewayIncursionRequired;
|
|
158
157
|
NetomniaOdinImageDuctSection?: string;
|
|
159
|
-
|
|
158
|
+
AddXToTheImage?: string;
|
|
160
159
|
AnyFurtherBlockages: BlockageA55AnyFurtherBlockages;
|
|
161
160
|
SecondBlockageLocation?: BlockageA55SecondBlockageLocation;
|
|
161
|
+
SecondBlockgageSurfaceType?: BlockageA55SecondBlockgageSurfaceType;
|
|
162
|
+
SecondBlockageClosestAddress?: string;
|
|
162
163
|
SecondBlockageImageXMarked?: string;
|
|
163
164
|
CustomerInformation?: string;
|
|
164
165
|
PermissionsRequired: BlockageA55PermissionsRequired;
|
|
165
166
|
PtdCopy: string;
|
|
166
|
-
AddXToTheImage?: string;
|
|
167
167
|
TotalDuctLength?: string;
|
|
168
168
|
SplitMeasurement?: string;
|
|
169
169
|
}
|
|
@@ -1,36 +1,11 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.UpdateBlockageA55Dto = exports.CreateBlockageA55Dto = exports.BlockageA55PropertyKeys = exports.BlockageA55PermissionsRequired = exports.
|
|
3
|
+
exports.UpdateBlockageA55Dto = exports.CreateBlockageA55Dto = exports.BlockageA55PropertyKeys = exports.BlockageA55PermissionsRequired = exports.BlockageA55SecondBlockgageSurfaceType = exports.BlockageA55SecondBlockageLocation = exports.BlockageA55AnyFurtherBlockages = exports.BlockageA55CarriagewayIncursionRequired = exports.BlockageA55MinimumFootwayDistanceMaintained = exports.BlockageA55ChamberTypePointB = exports.BlockageA55PointBLocation = exports.BlockageA55ChamberTypePointA = exports.BlockageA55PointALocation = exports.BlockageA55SurfaceType = exports.BlockageA55BlockageLocation = exports.BlockageA55EntityTypes = void 0;
|
|
4
4
|
const odin_dtos_1 = require("@d19n/odin-types/dist/dtos/odin.dtos");
|
|
5
5
|
var BlockageA55EntityTypes;
|
|
6
6
|
(function (BlockageA55EntityTypes) {
|
|
7
7
|
BlockageA55EntityTypes["OUTCOME_FORM"] = "OUTCOME_FORM";
|
|
8
8
|
})(BlockageA55EntityTypes || (exports.BlockageA55EntityTypes = BlockageA55EntityTypes = {}));
|
|
9
|
-
var BlockageA55PointBLocation;
|
|
10
|
-
(function (BlockageA55PointBLocation) {
|
|
11
|
-
BlockageA55PointBLocation["CHAMBER"] = "CHAMBER";
|
|
12
|
-
BlockageA55PointBLocation["CUSTOMER_PROPERTY"] = "CUSTOMER_PROPERTY";
|
|
13
|
-
BlockageA55PointBLocation["POLE"] = "POLE";
|
|
14
|
-
})(BlockageA55PointBLocation || (exports.BlockageA55PointBLocation = BlockageA55PointBLocation = {}));
|
|
15
|
-
var BlockageA55ChamberTypePointB;
|
|
16
|
-
(function (BlockageA55ChamberTypePointB) {
|
|
17
|
-
BlockageA55ChamberTypePointB["CW1_C_W_MANHOLE"] = "CW1";
|
|
18
|
-
BlockageA55ChamberTypePointB["DUCT_MOUTH_AT_PROPERTY"] = "DUCT_MOUTH_AT_PROPERTY";
|
|
19
|
-
BlockageA55ChamberTypePointB["HOLLOW_POLE"] = "HOLLOW_POLE";
|
|
20
|
-
BlockageA55ChamberTypePointB["JRC12_C_W_2_LIDS"] = "JRC12";
|
|
21
|
-
BlockageA55ChamberTypePointB["JRC14_C_W_3_LIDS"] = "JRC14";
|
|
22
|
-
BlockageA55ChamberTypePointB["JUF10"] = "JUF10";
|
|
23
|
-
BlockageA55ChamberTypePointB["JUF2"] = "JUF2";
|
|
24
|
-
BlockageA55ChamberTypePointB["JUF4"] = "JUF4";
|
|
25
|
-
BlockageA55ChamberTypePointB["JUF6"] = "JUF6";
|
|
26
|
-
BlockageA55ChamberTypePointB["LOCKED_CHAMBER"] = "LOCKED_CHAMBER";
|
|
27
|
-
BlockageA55ChamberTypePointB["M_H"] = "M/H";
|
|
28
|
-
})(BlockageA55ChamberTypePointB || (exports.BlockageA55ChamberTypePointB = BlockageA55ChamberTypePointB = {}));
|
|
29
|
-
var BlockageA55SecondBlockgageSurfaceType;
|
|
30
|
-
(function (BlockageA55SecondBlockgageSurfaceType) {
|
|
31
|
-
BlockageA55SecondBlockgageSurfaceType["HARD_TARMAC_PAVING"] = "HARD";
|
|
32
|
-
BlockageA55SecondBlockgageSurfaceType["SOFT_GRASS_SOIL"] = "SOFT";
|
|
33
|
-
})(BlockageA55SecondBlockgageSurfaceType || (exports.BlockageA55SecondBlockgageSurfaceType = BlockageA55SecondBlockgageSurfaceType = {}));
|
|
34
9
|
var BlockageA55BlockageLocation;
|
|
35
10
|
(function (BlockageA55BlockageLocation) {
|
|
36
11
|
BlockageA55BlockageLocation["PRIVATE_LAND"] = "PRIVATE_LAND";
|
|
@@ -61,6 +36,26 @@ var BlockageA55ChamberTypePointA;
|
|
|
61
36
|
BlockageA55ChamberTypePointA["LOCKED_CHAMBER"] = "LOCKED_CHAMBER";
|
|
62
37
|
BlockageA55ChamberTypePointA["M_H"] = "M/H";
|
|
63
38
|
})(BlockageA55ChamberTypePointA || (exports.BlockageA55ChamberTypePointA = BlockageA55ChamberTypePointA = {}));
|
|
39
|
+
var BlockageA55PointBLocation;
|
|
40
|
+
(function (BlockageA55PointBLocation) {
|
|
41
|
+
BlockageA55PointBLocation["CHAMBER"] = "CHAMBER";
|
|
42
|
+
BlockageA55PointBLocation["CUSTOMER_PROPERTY"] = "CUSTOMER_PROPERTY";
|
|
43
|
+
BlockageA55PointBLocation["POLE"] = "POLE";
|
|
44
|
+
})(BlockageA55PointBLocation || (exports.BlockageA55PointBLocation = BlockageA55PointBLocation = {}));
|
|
45
|
+
var BlockageA55ChamberTypePointB;
|
|
46
|
+
(function (BlockageA55ChamberTypePointB) {
|
|
47
|
+
BlockageA55ChamberTypePointB["CW1_C_W_MANHOLE"] = "CW1";
|
|
48
|
+
BlockageA55ChamberTypePointB["DUCT_MOUTH_AT_PROPERTY"] = "DUCT_MOUTH_AT_PROPERTY";
|
|
49
|
+
BlockageA55ChamberTypePointB["HOLLOW_POLE"] = "HOLLOW_POLE";
|
|
50
|
+
BlockageA55ChamberTypePointB["JRC12_C_W_2_LIDS"] = "JRC12";
|
|
51
|
+
BlockageA55ChamberTypePointB["JRC14_C_W_3_LIDS"] = "JRC14";
|
|
52
|
+
BlockageA55ChamberTypePointB["JUF10"] = "JUF10";
|
|
53
|
+
BlockageA55ChamberTypePointB["JUF2"] = "JUF2";
|
|
54
|
+
BlockageA55ChamberTypePointB["JUF4"] = "JUF4";
|
|
55
|
+
BlockageA55ChamberTypePointB["JUF6"] = "JUF6";
|
|
56
|
+
BlockageA55ChamberTypePointB["LOCKED_CHAMBER"] = "LOCKED_CHAMBER";
|
|
57
|
+
BlockageA55ChamberTypePointB["M_H"] = "M/H";
|
|
58
|
+
})(BlockageA55ChamberTypePointB || (exports.BlockageA55ChamberTypePointB = BlockageA55ChamberTypePointB = {}));
|
|
64
59
|
var BlockageA55MinimumFootwayDistanceMaintained;
|
|
65
60
|
(function (BlockageA55MinimumFootwayDistanceMaintained) {
|
|
66
61
|
BlockageA55MinimumFootwayDistanceMaintained["NO"] = "NO";
|
|
@@ -81,6 +76,11 @@ var BlockageA55SecondBlockageLocation;
|
|
|
81
76
|
BlockageA55SecondBlockageLocation["PRIVATE_LAND"] = "PRIVATE_LAND";
|
|
82
77
|
BlockageA55SecondBlockageLocation["PUBLIC_LAND"] = "PUBLIC_LAND";
|
|
83
78
|
})(BlockageA55SecondBlockageLocation || (exports.BlockageA55SecondBlockageLocation = BlockageA55SecondBlockageLocation = {}));
|
|
79
|
+
var BlockageA55SecondBlockgageSurfaceType;
|
|
80
|
+
(function (BlockageA55SecondBlockgageSurfaceType) {
|
|
81
|
+
BlockageA55SecondBlockgageSurfaceType["HARD_TARMAC_PAVING"] = "HARD";
|
|
82
|
+
BlockageA55SecondBlockgageSurfaceType["SOFT_GRASS_SOIL"] = "SOFT";
|
|
83
|
+
})(BlockageA55SecondBlockgageSurfaceType || (exports.BlockageA55SecondBlockgageSurfaceType = BlockageA55SecondBlockgageSurfaceType = {}));
|
|
84
84
|
var BlockageA55PermissionsRequired;
|
|
85
85
|
(function (BlockageA55PermissionsRequired) {
|
|
86
86
|
BlockageA55PermissionsRequired["NO"] = "NO";
|
|
@@ -88,19 +88,14 @@ var BlockageA55PermissionsRequired;
|
|
|
88
88
|
})(BlockageA55PermissionsRequired || (exports.BlockageA55PermissionsRequired = BlockageA55PermissionsRequired = {}));
|
|
89
89
|
var BlockageA55PropertyKeys;
|
|
90
90
|
(function (BlockageA55PropertyKeys) {
|
|
91
|
-
BlockageA55PropertyKeys["EngineerName"] = "EngineerName";
|
|
92
91
|
BlockageA55PropertyKeys["Overview"] = "Overview";
|
|
93
92
|
BlockageA55PropertyKeys["DateCreated"] = "DateCreated";
|
|
94
93
|
BlockageA55PropertyKeys["ExchangeName"] = "ExchangeName";
|
|
95
|
-
BlockageA55PropertyKeys["
|
|
96
|
-
BlockageA55PropertyKeys["ChamberTypePointB"] = "ChamberTypePointB";
|
|
97
|
-
BlockageA55PropertyKeys["SecondBlockgageSurfaceType"] = "SecondBlockgageSurfaceType";
|
|
98
|
-
BlockageA55PropertyKeys["PointBImageSurrounding"] = "PointBImageSurrounding";
|
|
99
|
-
BlockageA55PropertyKeys["PointBImageInternal"] = "PointBImageInternal";
|
|
100
|
-
BlockageA55PropertyKeys["Udprn"] = "UDPRN";
|
|
94
|
+
BlockageA55PropertyKeys["EngineerName"] = "EngineerName";
|
|
101
95
|
BlockageA55PropertyKeys["WorkOrderNumber"] = "WorkOrderNumber";
|
|
102
96
|
BlockageA55PropertyKeys["FullAddress"] = "FullAddress";
|
|
103
97
|
BlockageA55PropertyKeys["PianoiNumber"] = "PIANOINumber";
|
|
98
|
+
BlockageA55PropertyKeys["Udprn"] = "UDPRN";
|
|
104
99
|
BlockageA55PropertyKeys["BlockageDetails"] = "BlockageDetails";
|
|
105
100
|
BlockageA55PropertyKeys["BlockageLocation"] = "BlockageLocation";
|
|
106
101
|
BlockageA55PropertyKeys["SurfaceType"] = "SurfaceType";
|
|
@@ -109,12 +104,16 @@ var BlockageA55PropertyKeys;
|
|
|
109
104
|
BlockageA55PropertyKeys["DuctId"] = "DuctID";
|
|
110
105
|
BlockageA55PropertyKeys["PointADetails"] = "PointADetails";
|
|
111
106
|
BlockageA55PropertyKeys["PointALocation"] = "PointALocation";
|
|
107
|
+
BlockageA55PropertyKeys["ChamberTypePointA"] = "ChamberTypePointA";
|
|
112
108
|
BlockageA55PropertyKeys["PointAImageSurrounding"] = "PointAImageSurrounding";
|
|
113
109
|
BlockageA55PropertyKeys["PointAImageInternal"] = "PointAImageInternal";
|
|
114
110
|
BlockageA55PropertyKeys["PointAImageRod"] = "PointAImageRod";
|
|
115
111
|
BlockageA55PropertyKeys["PointAClosestAddress"] = "PointAClosestAddress";
|
|
116
112
|
BlockageA55PropertyKeys["PointBDetails"] = "PointBDetails";
|
|
117
|
-
BlockageA55PropertyKeys["
|
|
113
|
+
BlockageA55PropertyKeys["PointBLocation"] = "PointBLocation";
|
|
114
|
+
BlockageA55PropertyKeys["ChamberTypePointB"] = "ChamberTypePointB";
|
|
115
|
+
BlockageA55PropertyKeys["PointBImageSurrounding"] = "PointBImageSurrounding";
|
|
116
|
+
BlockageA55PropertyKeys["PointBImageInternal"] = "PointBImageInternal";
|
|
118
117
|
BlockageA55PropertyKeys["PointBImageRod"] = "PointBImageRod";
|
|
119
118
|
BlockageA55PropertyKeys["PointBClosestAddress"] = "PointBClosestAddress";
|
|
120
119
|
BlockageA55PropertyKeys["FurtherDetails"] = "FurtherDetails";
|
|
@@ -122,14 +121,15 @@ var BlockageA55PropertyKeys;
|
|
|
122
121
|
BlockageA55PropertyKeys["MinimumFootwayDistanceMaintained"] = "MinimumFootwayDistanceMaintained";
|
|
123
122
|
BlockageA55PropertyKeys["CarriagewayIncursionRequired"] = "CarriagewayIncursionRequired";
|
|
124
123
|
BlockageA55PropertyKeys["NetomniaOdinImageDuctSection"] = "NetomniaOdinImageDuctSection";
|
|
125
|
-
BlockageA55PropertyKeys["
|
|
124
|
+
BlockageA55PropertyKeys["AddXToTheImage"] = "AddXToTheImage";
|
|
126
125
|
BlockageA55PropertyKeys["AnyFurtherBlockages"] = "AnyFurtherBlockages";
|
|
127
126
|
BlockageA55PropertyKeys["SecondBlockageLocation"] = "SecondBlockageLocation";
|
|
127
|
+
BlockageA55PropertyKeys["SecondBlockgageSurfaceType"] = "SecondBlockgageSurfaceType";
|
|
128
|
+
BlockageA55PropertyKeys["SecondBlockageClosestAddress"] = "SecondBlockageClosestAddress";
|
|
128
129
|
BlockageA55PropertyKeys["SecondBlockageImageXMarked"] = "SecondBlockageImageXMarked";
|
|
129
130
|
BlockageA55PropertyKeys["CustomerInformation"] = "CustomerInformation";
|
|
130
131
|
BlockageA55PropertyKeys["PermissionsRequired"] = "PermissionsRequired";
|
|
131
132
|
BlockageA55PropertyKeys["PtdCopy"] = "PTDCopy";
|
|
132
|
-
BlockageA55PropertyKeys["AddXToTheImage"] = "AddXToTheImage";
|
|
133
133
|
BlockageA55PropertyKeys["TotalDuctLength"] = "TotalDuctLength";
|
|
134
134
|
BlockageA55PropertyKeys["SplitMeasurement"] = "SplitMeasurement";
|
|
135
135
|
})(BlockageA55PropertyKeys || (exports.BlockageA55PropertyKeys = BlockageA55PropertyKeys = {}));
|
|
@@ -28,27 +28,18 @@ import { EmailProperties } from './Email';
|
|
|
28
28
|
export declare enum ContactEntityTypes {
|
|
29
29
|
DEFAULT = "DEFAULT"
|
|
30
30
|
}
|
|
31
|
-
export declare enum
|
|
31
|
+
export declare enum ContactCurrentNetworkProvider {
|
|
32
32
|
BT = "BT",
|
|
33
|
+
CUCKOO = "CUCKOO",
|
|
33
34
|
EE = "EE",
|
|
34
|
-
HYPEROPTIC = "HYPEROPTIC",
|
|
35
|
-
I_HAVE_NO_ACTIVE_CONNECTION = "I_HAVE_NO_ACTIVE_CONNECTION",
|
|
36
|
-
I_HAVE_NO_ACTIVE_SERVICE = "I_HAVE_NO_ACTIVE_SERVICE",
|
|
37
35
|
OTHER = "OTHER",
|
|
36
|
+
PLUSNET = "PLUSNET",
|
|
37
|
+
SHELL = "SHELL",
|
|
38
38
|
SKY = "SKY",
|
|
39
|
-
TALK_TALK = "
|
|
39
|
+
TALK_TALK = "TALK_TALK",
|
|
40
40
|
VIRGIN = "VIRGIN",
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
}
|
|
44
|
-
export declare enum ContactRole {
|
|
45
|
-
BILLING = "BILLING",
|
|
46
|
-
PRIMARY = "PRIMARY"
|
|
47
|
-
}
|
|
48
|
-
export declare enum ContactHomeownerStatus {
|
|
49
|
-
I_OWN_THE_PROPERTY = "HOMEOWNER",
|
|
50
|
-
IT_IS_A_RENTED_PROPERTY = "RENTER",
|
|
51
|
-
LIVING_WITH_PARENTS = "LIVING_WITH_PARENTS"
|
|
41
|
+
VODAFONE = "VODAFONE",
|
|
42
|
+
ZEN = "ZEN"
|
|
52
43
|
}
|
|
53
44
|
export declare enum ContactCurrentProvider {
|
|
54
45
|
BT = "BT",
|
|
@@ -63,92 +54,101 @@ export declare enum ContactCurrentProvider {
|
|
|
63
54
|
VODAFONE = "VODAFONE",
|
|
64
55
|
ZEN = "ZEN"
|
|
65
56
|
}
|
|
66
|
-
export declare enum
|
|
57
|
+
export declare enum ContactHomeownerStatus {
|
|
58
|
+
I_OWN_THE_PROPERTY = "HOMEOWNER",
|
|
59
|
+
IT_IS_A_RENTED_PROPERTY = "RENTER",
|
|
60
|
+
LIVING_WITH_PARENTS = "LIVING_WITH_PARENTS"
|
|
61
|
+
}
|
|
62
|
+
export declare enum ContactPreviousProvider {
|
|
67
63
|
BT = "BT",
|
|
68
|
-
CUCKOO = "CUCKOO",
|
|
69
64
|
EE = "EE",
|
|
65
|
+
HYPEROPTIC = "HYPEROPTIC",
|
|
66
|
+
I_HAVE_NO_ACTIVE_CONNECTION = "I_HAVE_NO_ACTIVE_CONNECTION",
|
|
67
|
+
I_HAVE_NO_ACTIVE_SERVICE = "I_HAVE_NO_ACTIVE_SERVICE",
|
|
70
68
|
OTHER = "OTHER",
|
|
71
|
-
PLUSNET = "PLUSNET",
|
|
72
|
-
SHELL = "SHELL",
|
|
73
69
|
SKY = "SKY",
|
|
74
|
-
TALK_TALK = "
|
|
70
|
+
TALK_TALK = "TALKTALK",
|
|
75
71
|
VIRGIN = "VIRGIN",
|
|
76
|
-
|
|
77
|
-
|
|
72
|
+
VIRGIN_MEDIA = "VIRGIN_MEDIA",
|
|
73
|
+
VODAFONE = "VODAFONE"
|
|
74
|
+
}
|
|
75
|
+
export declare enum ContactRole {
|
|
76
|
+
BILLING = "BILLING",
|
|
77
|
+
PRIMARY = "PRIMARY"
|
|
78
78
|
}
|
|
79
79
|
export declare enum ContactPropertyKeys {
|
|
80
|
-
|
|
81
|
-
FirstName = "FirstName",
|
|
80
|
+
BadPayer = "BadPayer",
|
|
82
81
|
CompanyName = "CompanyName",
|
|
83
|
-
HearAboutUs = "HearAboutUs",
|
|
84
|
-
ReferralEmail = "ReferralEmail",
|
|
85
82
|
CompanyPosition = "CompanyPosition",
|
|
86
|
-
HearAboutUsOther = "HearAboutUsOther",
|
|
87
|
-
PreviousProviderOther = "PreviousProviderOther",
|
|
88
|
-
PreviousProvider = "PreviousProvider",
|
|
89
|
-
Role = "Role",
|
|
90
|
-
InContractUntil = "InContractUntil",
|
|
91
|
-
UserId = "UserId",
|
|
92
|
-
BadPayer = "BadPayer",
|
|
93
|
-
EmailValid = "EmailValid",
|
|
94
|
-
MobileValid = "MobileValid",
|
|
95
|
-
DirectDebitConsent = "DirectDebitConsent",
|
|
96
|
-
MarketingSms = "MarketingSMS",
|
|
97
|
-
ReferralCode = "ReferralCode",
|
|
98
83
|
CurrentContractType = "CurrentContractType",
|
|
99
|
-
HomeownerStatus = "HomeownerStatus",
|
|
100
|
-
TrustPilotRequestDate = "TrustPilotRequestDate",
|
|
101
|
-
FingerprintId = "FingerprintID",
|
|
102
|
-
ReferralLink = "ReferralLink",
|
|
103
|
-
CurrentProvider = "CurrentProvider",
|
|
104
|
-
CurrentPrice = "CurrentPrice",
|
|
105
|
-
PreferredSpeed = "PreferredSpeed",
|
|
106
|
-
MarketingConsent = "MarketingConsent",
|
|
107
|
-
TermsAndConditionsConsent = "TermsAndConditionsConsent",
|
|
108
|
-
Phone = "Phone",
|
|
109
84
|
CurrentNetworkProvider = "CurrentNetworkProvider",
|
|
85
|
+
CurrentPrice = "CurrentPrice",
|
|
86
|
+
CurrentProvider = "CurrentProvider",
|
|
87
|
+
DirectDebitConsent = "DirectDebitConsent",
|
|
110
88
|
EmailAddress = "EmailAddress",
|
|
89
|
+
EmailValid = "EmailValid",
|
|
90
|
+
FingerprintId = "FingerprintID",
|
|
91
|
+
FirstName = "FirstName",
|
|
92
|
+
HearAboutUs = "HearAboutUs",
|
|
93
|
+
HearAboutUsOther = "HearAboutUsOther",
|
|
94
|
+
HomeownerStatus = "HomeownerStatus",
|
|
95
|
+
InContractUntil = "InContractUntil",
|
|
111
96
|
LastName = "LastName",
|
|
97
|
+
MarketingConsent = "MarketingConsent",
|
|
98
|
+
MarketingSms = "MarketingSMS",
|
|
112
99
|
MaxContactDeactivated = "MaxContactDeactivated",
|
|
113
100
|
MaxContactDnc = "MaxContactDnc",
|
|
114
|
-
|
|
101
|
+
Mobile = "Mobile",
|
|
102
|
+
MobileValid = "MobileValid",
|
|
103
|
+
Phone = "Phone",
|
|
104
|
+
PreferredSpeed = "PreferredSpeed",
|
|
105
|
+
PreviousProvider = "PreviousProvider",
|
|
106
|
+
PreviousProviderOther = "PreviousProviderOther",
|
|
107
|
+
ReferralCode = "ReferralCode",
|
|
108
|
+
ReferralEmail = "ReferralEmail",
|
|
109
|
+
ReferralLink = "ReferralLink",
|
|
110
|
+
Role = "Role",
|
|
111
|
+
TermsAndConditionsConsent = "TermsAndConditionsConsent",
|
|
112
|
+
TrustPilotRequestDate = "TrustPilotRequestDate",
|
|
113
|
+
TwilioVerifiedPhone = "TwilioVerifiedPhone",
|
|
114
|
+
UserId = "UserId"
|
|
115
115
|
}
|
|
116
116
|
export interface ContactProperties {
|
|
117
|
-
|
|
118
|
-
FirstName: string;
|
|
117
|
+
BadPayer?: boolean;
|
|
119
118
|
CompanyName?: string;
|
|
120
|
-
HearAboutUs?: string;
|
|
121
|
-
ReferralEmail?: string;
|
|
122
119
|
CompanyPosition?: string;
|
|
123
|
-
HearAboutUsOther?: string;
|
|
124
|
-
PreviousProviderOther?: string;
|
|
125
|
-
PreviousProvider?: ContactPreviousProvider;
|
|
126
|
-
Role?: ContactRole;
|
|
127
|
-
InContractUntil?: Date;
|
|
128
|
-
UserId?: string;
|
|
129
|
-
BadPayer?: boolean;
|
|
130
|
-
EmailValid?: boolean;
|
|
131
|
-
MobileValid?: boolean;
|
|
132
|
-
DirectDebitConsent?: boolean;
|
|
133
|
-
MarketingSms?: boolean;
|
|
134
|
-
ReferralCode?: string;
|
|
135
120
|
CurrentContractType?: string;
|
|
136
|
-
HomeownerStatus?: ContactHomeownerStatus;
|
|
137
|
-
TrustPilotRequestDate?: Date;
|
|
138
|
-
FingerprintId?: string;
|
|
139
|
-
ReferralLink?: string;
|
|
140
|
-
CurrentProvider?: ContactCurrentProvider;
|
|
141
|
-
CurrentPrice?: number;
|
|
142
|
-
PreferredSpeed?: string;
|
|
143
|
-
MarketingConsent?: boolean;
|
|
144
|
-
TermsAndConditionsConsent?: boolean;
|
|
145
|
-
Phone?: string;
|
|
146
121
|
CurrentNetworkProvider?: ContactCurrentNetworkProvider;
|
|
122
|
+
CurrentPrice?: number;
|
|
123
|
+
CurrentProvider?: ContactCurrentProvider;
|
|
124
|
+
DirectDebitConsent?: boolean;
|
|
147
125
|
EmailAddress: string;
|
|
126
|
+
EmailValid?: boolean;
|
|
127
|
+
FingerprintId?: string;
|
|
128
|
+
FirstName: string;
|
|
129
|
+
HearAboutUs?: string;
|
|
130
|
+
HearAboutUsOther?: string;
|
|
131
|
+
HomeownerStatus?: ContactHomeownerStatus;
|
|
132
|
+
InContractUntil?: Date;
|
|
148
133
|
LastName: string;
|
|
134
|
+
MarketingConsent?: boolean;
|
|
135
|
+
MarketingSms?: boolean;
|
|
149
136
|
MaxContactDeactivated?: boolean;
|
|
150
137
|
MaxContactDnc?: boolean;
|
|
138
|
+
Mobile?: string;
|
|
139
|
+
MobileValid?: boolean;
|
|
140
|
+
Phone?: string;
|
|
141
|
+
PreferredSpeed?: string;
|
|
142
|
+
PreviousProvider?: ContactPreviousProvider;
|
|
143
|
+
PreviousProviderOther?: string;
|
|
144
|
+
ReferralCode?: string;
|
|
145
|
+
ReferralEmail?: string;
|
|
146
|
+
ReferralLink?: string;
|
|
147
|
+
Role?: ContactRole;
|
|
148
|
+
TermsAndConditionsConsent?: boolean;
|
|
149
|
+
TrustPilotRequestDate?: Date;
|
|
151
150
|
TwilioVerifiedPhone?: boolean;
|
|
151
|
+
UserId?: string;
|
|
152
152
|
}
|
|
153
153
|
export interface Contact {
|
|
154
154
|
id: string;
|
|
@@ -182,6 +182,7 @@ export interface Contact {
|
|
|
182
182
|
entity: string;
|
|
183
183
|
};
|
|
184
184
|
properties: ContactProperties;
|
|
185
|
+
Contact: OdinLink<LinkedOdinRecord<ContactProperties>>;
|
|
185
186
|
Organization: OdinLink<LinkedOdinRecord<OrganizationProperties>>;
|
|
186
187
|
Account: OdinLink<LinkedOdinRecord<AccountProperties>>;
|
|
187
188
|
Activity: OdinLink<LinkedOdinRecord<ActivityProperties>>;
|
|
@@ -195,7 +196,6 @@ export interface Contact {
|
|
|
195
196
|
BillingRequest: OdinLink<LinkedOdinRecord<BillingRequestProperties>>;
|
|
196
197
|
File: OdinLink<LinkedOdinRecord<FileProperties>>;
|
|
197
198
|
Commission: OdinLink<LinkedOdinRecord<CommissionProperties>>;
|
|
198
|
-
Contact: OdinLink<LinkedOdinRecord<ContactProperties>>;
|
|
199
199
|
OneTouchSwitch: OdinLink<LinkedOdinRecord<OneTouchSwitchProperties>>;
|
|
200
200
|
ContactIdentity: OdinLink<LinkedOdinRecord<ContactIdentityProperties>>;
|
|
201
201
|
PaymentMethodRefund: OdinLink<LinkedOdinRecord<PaymentMethodRefundProperties>>;
|