@d19n/youfibre-odin-sdk 2.0.37 → 2.0.40
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/actions-v2/CreatePaymentMethodDto.d.ts +4 -6
- package/dist/entities-v2/Config.d.ts +8 -8
- package/dist/entities-v2/Config.js +4 -4
- package/dist/entities-v2/CrmDataset.d.ts +23 -1
- package/dist/entities-v2/CrmDataset.js +2 -0
- package/dist/entities-v2/ServiceAppointmentConfig.d.ts +6 -3
- package/dist/entities-v2/ServiceAppointmentConfig.js +6 -3
- package/dist/records-v2/PaymentMethodRecord.d.ts +1 -1
- package/package.json +3 -3
|
@@ -21,8 +21,8 @@ export interface CreatePaymentMethodMessage extends OdinRecordCreatedEvent<Creat
|
|
|
21
21
|
/**
|
|
22
22
|
* Properties for CreatePaymentMethod action
|
|
23
23
|
*
|
|
24
|
-
* @property Required fields:
|
|
25
|
-
* @property Optional fields:
|
|
24
|
+
* @property Required fields: 0
|
|
25
|
+
* @property Optional fields: 2
|
|
26
26
|
*/
|
|
27
27
|
export interface CreatePaymentMethodProperties {
|
|
28
28
|
/**
|
|
@@ -30,17 +30,15 @@ export interface CreatePaymentMethodProperties {
|
|
|
30
30
|
*
|
|
31
31
|
* Private field use for forms creating the payment method. No data is stored here. (Finance - PaymentMethod)
|
|
32
32
|
* @type {TEXT}
|
|
33
|
-
* @required
|
|
34
33
|
*/
|
|
35
|
-
_AccountNumber
|
|
34
|
+
_AccountNumber?: string | null;
|
|
36
35
|
/**
|
|
37
36
|
* _BranchCode
|
|
38
37
|
*
|
|
39
38
|
* This is a private field used for creating a new payment method, no data is stored here. (Finance - PaymentMethod)
|
|
40
39
|
* @type {TEXT}
|
|
41
|
-
* @required
|
|
42
40
|
*/
|
|
43
|
-
_BranchCode
|
|
41
|
+
_BranchCode?: string | null;
|
|
44
42
|
}
|
|
45
43
|
/**
|
|
46
44
|
* CreatePaymentMethod
|
|
@@ -23,12 +23,12 @@ export declare enum ConfigEntityTypes {
|
|
|
23
23
|
* Use these constants instead of string literals for type safety
|
|
24
24
|
*/
|
|
25
25
|
export declare enum ConfigPropertyKeys {
|
|
26
|
-
/**
|
|
27
|
-
|
|
26
|
+
/** the name of the app this config relates to (Platform - Config) */
|
|
27
|
+
AppName = "AppName",
|
|
28
28
|
/** object of { key: value } mappings (Platform - Config) */
|
|
29
29
|
Mappings = "Mappings",
|
|
30
|
-
/**
|
|
31
|
-
|
|
30
|
+
/** Data field for Config records. Used by Platform team. */
|
|
31
|
+
Test = "Test"
|
|
32
32
|
}
|
|
33
33
|
/**
|
|
34
34
|
* Properties for Config records
|
|
@@ -36,21 +36,21 @@ export declare enum ConfigPropertyKeys {
|
|
|
36
36
|
* @see SchemaModule:Config
|
|
37
37
|
*/
|
|
38
38
|
export interface ConfigProperties {
|
|
39
|
-
/**
|
|
39
|
+
/** the name of the app this config relates to (Platform - Config)
|
|
40
40
|
*
|
|
41
41
|
* @type {TEXT}
|
|
42
42
|
*/
|
|
43
|
-
|
|
43
|
+
AppName: string;
|
|
44
44
|
/** object of { key: value } mappings (Platform - Config)
|
|
45
45
|
*
|
|
46
46
|
* @type {JSON}
|
|
47
47
|
*/
|
|
48
48
|
Mappings: string;
|
|
49
|
-
/**
|
|
49
|
+
/** Data field for Config records. Used by Platform team.
|
|
50
50
|
*
|
|
51
51
|
* @type {TEXT}
|
|
52
52
|
*/
|
|
53
|
-
|
|
53
|
+
Test: string;
|
|
54
54
|
}
|
|
55
55
|
/**
|
|
56
56
|
* Config entity from SchemaModule
|
|
@@ -28,12 +28,12 @@ var ConfigEntityTypes;
|
|
|
28
28
|
*/
|
|
29
29
|
var ConfigPropertyKeys;
|
|
30
30
|
(function (ConfigPropertyKeys) {
|
|
31
|
-
/** Data field for Config records. Used by Platform team. */
|
|
32
|
-
ConfigPropertyKeys["Test"] = "Test";
|
|
33
|
-
/** object of { key: value } mappings (Platform - Config) */
|
|
34
|
-
ConfigPropertyKeys["Mappings"] = "Mappings";
|
|
35
31
|
/** the name of the app this config relates to (Platform - Config) */
|
|
36
32
|
ConfigPropertyKeys["AppName"] = "AppName";
|
|
33
|
+
/** object of { key: value } mappings (Platform - Config) */
|
|
34
|
+
ConfigPropertyKeys["Mappings"] = "Mappings";
|
|
35
|
+
/** Data field for Config records. Used by Platform team. */
|
|
36
|
+
ConfigPropertyKeys["Test"] = "Test";
|
|
37
37
|
})(ConfigPropertyKeys = exports.ConfigPropertyKeys || (exports.ConfigPropertyKeys = {}));
|
|
38
38
|
/**
|
|
39
39
|
* Config entity from SchemaModule
|
|
@@ -84,7 +84,9 @@ export declare enum CrmDatasetPropertyKeys {
|
|
|
84
84
|
/** Used for analytics when querying data we search starting from this date (Sales - CrmDataset) */
|
|
85
85
|
QueryFromDate = "QueryFromDate",
|
|
86
86
|
/** Used for analytics when querying data we search starting up to this date (Sales - CrmDataset) */
|
|
87
|
-
QueryToDate = "QueryToDate"
|
|
87
|
+
QueryToDate = "QueryToDate",
|
|
88
|
+
/** Shows total number of addresses within dataset */
|
|
89
|
+
TotalAddressNumber = "TotalAddressNumber"
|
|
88
90
|
}
|
|
89
91
|
/**
|
|
90
92
|
* Properties for CrmDataset records
|
|
@@ -164,6 +166,11 @@ export interface CrmDatasetProperties {
|
|
|
164
166
|
* @hidden This field is hidden in the UI
|
|
165
167
|
*/
|
|
166
168
|
QueryToDate: string;
|
|
169
|
+
/** Shows total number of addresses within dataset
|
|
170
|
+
*
|
|
171
|
+
* @type {NUMBER}
|
|
172
|
+
*/
|
|
173
|
+
TotalAddressNumber: number;
|
|
167
174
|
}
|
|
168
175
|
/**
|
|
169
176
|
* Properties for ADDRESS CrmDataset records
|
|
@@ -243,6 +250,11 @@ export interface AddressCrmDatasetProperties {
|
|
|
243
250
|
* @hidden This field is hidden in the UI
|
|
244
251
|
*/
|
|
245
252
|
QueryToDate: string;
|
|
253
|
+
/** Shows total number of addresses within dataset
|
|
254
|
+
*
|
|
255
|
+
* @type {NUMBER}
|
|
256
|
+
*/
|
|
257
|
+
TotalAddressNumber: number;
|
|
246
258
|
}
|
|
247
259
|
/**
|
|
248
260
|
* Properties for CONTACT CrmDataset records
|
|
@@ -322,6 +334,11 @@ export interface ContactCrmDatasetProperties {
|
|
|
322
334
|
* @hidden This field is hidden in the UI
|
|
323
335
|
*/
|
|
324
336
|
QueryToDate: string;
|
|
337
|
+
/** Shows total number of addresses within dataset
|
|
338
|
+
*
|
|
339
|
+
* @type {NUMBER}
|
|
340
|
+
*/
|
|
341
|
+
TotalAddressNumber: number;
|
|
325
342
|
}
|
|
326
343
|
/**
|
|
327
344
|
* Properties for LEAD CrmDataset records
|
|
@@ -401,6 +418,11 @@ export interface LeadCrmDatasetProperties {
|
|
|
401
418
|
* @hidden This field is hidden in the UI
|
|
402
419
|
*/
|
|
403
420
|
QueryToDate: string;
|
|
421
|
+
/** Shows total number of addresses within dataset
|
|
422
|
+
*
|
|
423
|
+
* @type {NUMBER}
|
|
424
|
+
*/
|
|
425
|
+
TotalAddressNumber: number;
|
|
404
426
|
}
|
|
405
427
|
/**
|
|
406
428
|
* CrmDataset entity from CrmModule
|
|
@@ -86,6 +86,8 @@ var CrmDatasetPropertyKeys;
|
|
|
86
86
|
CrmDatasetPropertyKeys["QueryFromDate"] = "QueryFromDate";
|
|
87
87
|
/** Used for analytics when querying data we search starting up to this date (Sales - CrmDataset) */
|
|
88
88
|
CrmDatasetPropertyKeys["QueryToDate"] = "QueryToDate";
|
|
89
|
+
/** Shows total number of addresses within dataset */
|
|
90
|
+
CrmDatasetPropertyKeys["TotalAddressNumber"] = "TotalAddressNumber";
|
|
89
91
|
})(CrmDatasetPropertyKeys = exports.CrmDatasetPropertyKeys || (exports.CrmDatasetPropertyKeys = {}));
|
|
90
92
|
/**
|
|
91
93
|
* CrmDataset entity from CrmModule
|
|
@@ -97,6 +97,7 @@ export declare enum ServiceAppointmentConfigEnablePrePull {
|
|
|
97
97
|
* @remarks Available options:
|
|
98
98
|
* - `THREHUNDREDSIXTY_NETWORKS` - 360 Networks
|
|
99
99
|
* - `C&L`
|
|
100
|
+
* - `DLO`
|
|
100
101
|
* - `FAIRFIELD_FIBRE` - Fairfield Fibre
|
|
101
102
|
* - `FNIL`
|
|
102
103
|
* - `G_FORCE` - G Force
|
|
@@ -105,15 +106,15 @@ export declare enum ServiceAppointmentConfigEnablePrePull {
|
|
|
105
106
|
* - `GNS_INSTALLS` - GNS Installs
|
|
106
107
|
* - `KN_CIRCET` - KN Circet
|
|
107
108
|
* - `KN_NI`
|
|
109
|
+
* - `LASTMILE` - Lastmile Telecommunication
|
|
108
110
|
* - `LIGHTSOURCE` - Light Source
|
|
109
111
|
* - `LIMITLESS_FIBRE` - Limitless Fibre
|
|
110
112
|
* - `MAP_GROUP` - MAP Group
|
|
111
|
-
* -
|
|
112
|
-
* - `NANO_FIBRE` - Nano Fibre
|
|
113
|
-
* - ... and 7 more
|
|
113
|
+
* - ... and 10 more
|
|
114
114
|
*/
|
|
115
115
|
export declare enum ServiceAppointmentConfigContractor {
|
|
116
116
|
C_L = "C&L",
|
|
117
|
+
DLO = "DLO",
|
|
117
118
|
FAIRFIELD_FIBRE = "FAIRFIELD_FIBRE",
|
|
118
119
|
FNIL = "FNIL",
|
|
119
120
|
G_FORCE = "G_FORCE",
|
|
@@ -122,6 +123,7 @@ export declare enum ServiceAppointmentConfigContractor {
|
|
|
122
123
|
GNS_INSTALLS = "GNS_INSTALLS",
|
|
123
124
|
KN_CIRCET = "KN_CIRCET",
|
|
124
125
|
KN_NI = "KN_NI",
|
|
126
|
+
LASTMILE_TELECOMMUNICATION = "LASTMILE",
|
|
125
127
|
LIGHT_SOURCE = "LIGHTSOURCE",
|
|
126
128
|
LIMITLESS_FIBRE = "LIMITLESS_FIBRE",
|
|
127
129
|
MAP_GROUP = "MAP_GROUP",
|
|
@@ -133,6 +135,7 @@ export declare enum ServiceAppointmentConfigContractor {
|
|
|
133
135
|
PICH = "PICH",
|
|
134
136
|
S_M = "S_M",
|
|
135
137
|
STL = "STL",
|
|
138
|
+
VEA_TELECOMS = "VEA",
|
|
136
139
|
YOU_FIBRE = "YOUFIBRE"
|
|
137
140
|
}
|
|
138
141
|
/**
|
|
@@ -96,6 +96,7 @@ var ServiceAppointmentConfigEnablePrePull;
|
|
|
96
96
|
* @remarks Available options:
|
|
97
97
|
* - `THREHUNDREDSIXTY_NETWORKS` - 360 Networks
|
|
98
98
|
* - `C&L`
|
|
99
|
+
* - `DLO`
|
|
99
100
|
* - `FAIRFIELD_FIBRE` - Fairfield Fibre
|
|
100
101
|
* - `FNIL`
|
|
101
102
|
* - `G_FORCE` - G Force
|
|
@@ -104,16 +105,16 @@ var ServiceAppointmentConfigEnablePrePull;
|
|
|
104
105
|
* - `GNS_INSTALLS` - GNS Installs
|
|
105
106
|
* - `KN_CIRCET` - KN Circet
|
|
106
107
|
* - `KN_NI`
|
|
108
|
+
* - `LASTMILE` - Lastmile Telecommunication
|
|
107
109
|
* - `LIGHTSOURCE` - Light Source
|
|
108
110
|
* - `LIMITLESS_FIBRE` - Limitless Fibre
|
|
109
111
|
* - `MAP_GROUP` - MAP Group
|
|
110
|
-
* -
|
|
111
|
-
* - `NANO_FIBRE` - Nano Fibre
|
|
112
|
-
* - ... and 7 more
|
|
112
|
+
* - ... and 10 more
|
|
113
113
|
*/
|
|
114
114
|
var ServiceAppointmentConfigContractor;
|
|
115
115
|
(function (ServiceAppointmentConfigContractor) {
|
|
116
116
|
ServiceAppointmentConfigContractor["C_L"] = "C&L";
|
|
117
|
+
ServiceAppointmentConfigContractor["DLO"] = "DLO";
|
|
117
118
|
ServiceAppointmentConfigContractor["FAIRFIELD_FIBRE"] = "FAIRFIELD_FIBRE";
|
|
118
119
|
ServiceAppointmentConfigContractor["FNIL"] = "FNIL";
|
|
119
120
|
ServiceAppointmentConfigContractor["G_FORCE"] = "G_FORCE";
|
|
@@ -122,6 +123,7 @@ var ServiceAppointmentConfigContractor;
|
|
|
122
123
|
ServiceAppointmentConfigContractor["GNS_INSTALLS"] = "GNS_INSTALLS";
|
|
123
124
|
ServiceAppointmentConfigContractor["KN_CIRCET"] = "KN_CIRCET";
|
|
124
125
|
ServiceAppointmentConfigContractor["KN_NI"] = "KN_NI";
|
|
126
|
+
ServiceAppointmentConfigContractor["LASTMILE_TELECOMMUNICATION"] = "LASTMILE";
|
|
125
127
|
ServiceAppointmentConfigContractor["LIGHT_SOURCE"] = "LIGHTSOURCE";
|
|
126
128
|
ServiceAppointmentConfigContractor["LIMITLESS_FIBRE"] = "LIMITLESS_FIBRE";
|
|
127
129
|
ServiceAppointmentConfigContractor["MAP_GROUP"] = "MAP_GROUP";
|
|
@@ -133,6 +135,7 @@ var ServiceAppointmentConfigContractor;
|
|
|
133
135
|
ServiceAppointmentConfigContractor["PICH"] = "PICH";
|
|
134
136
|
ServiceAppointmentConfigContractor["S_M"] = "S_M";
|
|
135
137
|
ServiceAppointmentConfigContractor["STL"] = "STL";
|
|
138
|
+
ServiceAppointmentConfigContractor["VEA_TELECOMS"] = "VEA";
|
|
136
139
|
ServiceAppointmentConfigContractor["YOU_FIBRE"] = "YOUFIBRE";
|
|
137
140
|
})(ServiceAppointmentConfigContractor = exports.ServiceAppointmentConfigContractor || (exports.ServiceAppointmentConfigContractor = {}));
|
|
138
141
|
/**
|
|
@@ -315,7 +315,7 @@ export declare class PaymentMethodRecord<TProps = PaymentMethodProperties> {
|
|
|
315
315
|
* const payload = record.createPaymentMethod({ ... }).dryRun();
|
|
316
316
|
* ```
|
|
317
317
|
*/
|
|
318
|
-
createPaymentMethod(properties
|
|
318
|
+
createPaymentMethod(properties?: CreatePaymentMethodProperties, options?: {
|
|
319
319
|
type?: string;
|
|
320
320
|
journeyId?: string;
|
|
321
321
|
stageKey?: string;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@d19n/youfibre-odin-sdk",
|
|
3
|
-
"version": "2.0.
|
|
3
|
+
"version": "2.0.40",
|
|
4
4
|
"description": "",
|
|
5
5
|
"author": "@d19n",
|
|
6
6
|
"license": "UNLICENSED",
|
|
@@ -11,8 +11,8 @@
|
|
|
11
11
|
"typescript": "4.8.4"
|
|
12
12
|
},
|
|
13
13
|
"dependencies": {
|
|
14
|
-
"@d19n/odin-sdk-generator": "^3.0.
|
|
15
|
-
"@d19n/odin-types": "^3.0.
|
|
14
|
+
"@d19n/odin-sdk-generator": "^3.0.232",
|
|
15
|
+
"@d19n/odin-types": "^3.0.31"
|
|
16
16
|
},
|
|
17
17
|
"scripts": {
|
|
18
18
|
"release:beta": "rm -rf dist && tsc && npm version prerelease --preid=beta && git push && npm publish --tag beta",
|