@d19n/youfibre-odin-sdk 2.0.64 → 2.0.65
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/UpdateUserDto.d.ts +79 -30
- package/dist/entities-v2/User.d.ts +34 -40
- package/dist/entities-v2/User.js +10 -10
- package/package.json +1 -1
|
@@ -22,23 +22,37 @@ export interface UpdateUserMessage extends OdinRecordUpdatedEvent<UpdateUserDto,
|
|
|
22
22
|
* Properties for UpdateUser action
|
|
23
23
|
*
|
|
24
24
|
* @property Required fields: 0
|
|
25
|
-
* @property Optional fields:
|
|
25
|
+
* @property Optional fields: 19
|
|
26
26
|
*/
|
|
27
27
|
export interface UpdateUserProperties {
|
|
28
28
|
/**
|
|
29
|
-
*
|
|
29
|
+
* FullName
|
|
30
30
|
*
|
|
31
|
-
*
|
|
32
|
-
* @type {
|
|
31
|
+
* FullName used as
|
|
32
|
+
* @type {TEXT}
|
|
33
33
|
*/
|
|
34
|
-
|
|
34
|
+
FullName?: string | null;
|
|
35
35
|
/**
|
|
36
|
-
*
|
|
36
|
+
* EmailAddress
|
|
37
37
|
*
|
|
38
|
-
*
|
|
38
|
+
* email address (IT Security - User)
|
|
39
|
+
* @type {TEXT}
|
|
40
|
+
*/
|
|
41
|
+
EmailAddress?: string | null;
|
|
42
|
+
/**
|
|
43
|
+
* TwilioWorkerStatus
|
|
44
|
+
*
|
|
45
|
+
* TwilioWorkerStatus (IT Security - User)
|
|
46
|
+
* @type {TEXT}
|
|
47
|
+
*/
|
|
48
|
+
TwilioWorkerStatus?: string | null;
|
|
49
|
+
/**
|
|
50
|
+
* UseResponseId
|
|
51
|
+
*
|
|
52
|
+
* use response Id (IT Security - User)
|
|
39
53
|
* @type {NUMBER}
|
|
40
54
|
*/
|
|
41
|
-
|
|
55
|
+
UseResponseId?: number | null;
|
|
42
56
|
/**
|
|
43
57
|
* StartingAddress
|
|
44
58
|
*
|
|
@@ -46,13 +60,6 @@ export interface UpdateUserProperties {
|
|
|
46
60
|
* @type {LOOKUP}
|
|
47
61
|
*/
|
|
48
62
|
StartingAddress?: string | null;
|
|
49
|
-
/**
|
|
50
|
-
* TeamId
|
|
51
|
-
*
|
|
52
|
-
* Reference identifier for User relationships. Used for data integrity.
|
|
53
|
-
* @type {LOOKUP}
|
|
54
|
-
*/
|
|
55
|
-
TeamId?: string | null;
|
|
56
63
|
/**
|
|
57
64
|
* JobTitle
|
|
58
65
|
*
|
|
@@ -61,12 +68,19 @@ export interface UpdateUserProperties {
|
|
|
61
68
|
*/
|
|
62
69
|
JobTitle?: string | null;
|
|
63
70
|
/**
|
|
64
|
-
*
|
|
71
|
+
* SalesRegion
|
|
65
72
|
*
|
|
66
|
-
*
|
|
73
|
+
* the sales region the user works in (IT Security - User)
|
|
74
|
+
* @type {TEXT}
|
|
75
|
+
*/
|
|
76
|
+
SalesRegion?: string | null;
|
|
77
|
+
/**
|
|
78
|
+
* AircallId
|
|
79
|
+
*
|
|
80
|
+
* the ID of the user in Air call (IT Security - User)
|
|
67
81
|
* @type {NUMBER}
|
|
68
82
|
*/
|
|
69
|
-
|
|
83
|
+
AircallId?: number | null;
|
|
70
84
|
/**
|
|
71
85
|
* Accredited
|
|
72
86
|
*
|
|
@@ -75,26 +89,54 @@ export interface UpdateUserProperties {
|
|
|
75
89
|
*/
|
|
76
90
|
Accredited?: string | null;
|
|
77
91
|
/**
|
|
78
|
-
*
|
|
92
|
+
* Employment
|
|
79
93
|
*
|
|
80
|
-
*
|
|
94
|
+
* full-time or part-time (IT Security - User)
|
|
81
95
|
* @type {TEXT}
|
|
82
96
|
*/
|
|
83
|
-
|
|
97
|
+
Employment?: string | null;
|
|
84
98
|
/**
|
|
85
|
-
*
|
|
99
|
+
* SalesChannel
|
|
86
100
|
*
|
|
87
|
-
*
|
|
101
|
+
* the sales channel the user sells under (IT Security - User)
|
|
88
102
|
* @type {TEXT}
|
|
89
103
|
*/
|
|
90
|
-
|
|
104
|
+
SalesChannel?: string | null;
|
|
91
105
|
/**
|
|
92
|
-
*
|
|
106
|
+
* CompanyName
|
|
93
107
|
*
|
|
94
|
-
*
|
|
108
|
+
* the company the user is works for (IT Security - User)
|
|
95
109
|
* @type {TEXT}
|
|
96
110
|
*/
|
|
97
|
-
|
|
111
|
+
CompanyName?: string | null;
|
|
112
|
+
/**
|
|
113
|
+
* SalesTerritory
|
|
114
|
+
*
|
|
115
|
+
* the sales territory the user works in (IT Security - User)
|
|
116
|
+
* @type {TEXT}
|
|
117
|
+
*/
|
|
118
|
+
SalesTerritory?: string | null;
|
|
119
|
+
/**
|
|
120
|
+
* TeamId
|
|
121
|
+
*
|
|
122
|
+
* Reference identifier for User relationships. Used for data integrity.
|
|
123
|
+
* @type {LOOKUP}
|
|
124
|
+
*/
|
|
125
|
+
TeamId?: string | null;
|
|
126
|
+
/**
|
|
127
|
+
* WorkingArea
|
|
128
|
+
*
|
|
129
|
+
* The working area is aligned with an (EX polygon ID) (IT Security - User)
|
|
130
|
+
* @type {NUMBER}
|
|
131
|
+
*/
|
|
132
|
+
WorkingArea?: number | null;
|
|
133
|
+
/**
|
|
134
|
+
* ReportsTo
|
|
135
|
+
*
|
|
136
|
+
* The person this user reports to (IT Security - User)
|
|
137
|
+
* @type {TEXT}
|
|
138
|
+
*/
|
|
139
|
+
ReportsTo?: string | null;
|
|
98
140
|
/**
|
|
99
141
|
* TwilioWorker
|
|
100
142
|
*
|
|
@@ -103,12 +145,19 @@ export interface UpdateUserProperties {
|
|
|
103
145
|
*/
|
|
104
146
|
TwilioWorker?: boolean | null;
|
|
105
147
|
/**
|
|
106
|
-
*
|
|
148
|
+
* Team
|
|
107
149
|
*
|
|
108
|
-
*
|
|
150
|
+
* the team name (IT Security - User)
|
|
109
151
|
* @type {TEXT}
|
|
110
152
|
*/
|
|
111
|
-
|
|
153
|
+
Team?: string | null;
|
|
154
|
+
/**
|
|
155
|
+
* TwilioSid
|
|
156
|
+
*
|
|
157
|
+
* Reference identifier for User relationships. Used for data integrity.
|
|
158
|
+
* @type {TEXT}
|
|
159
|
+
*/
|
|
160
|
+
TwilioSid?: string | null;
|
|
112
161
|
}
|
|
113
162
|
/**
|
|
114
163
|
* UpdateUser
|
|
@@ -65,26 +65,18 @@ export declare enum UserPropertyKeys {
|
|
|
65
65
|
Team = "Team",
|
|
66
66
|
/** TwilioWorker (IT Security - User) */
|
|
67
67
|
TwilioWorker = "TwilioWorker",
|
|
68
|
-
/** The person this user reports to (IT Security - User) */
|
|
69
|
-
ReportsTo = "ReportsTo",
|
|
70
68
|
/** The working area is aligned with an (EX polygon ID) (IT Security - User) */
|
|
71
69
|
WorkingArea = "WorkingArea",
|
|
72
70
|
/** Reference identifier for User relationships. Used for data integrity. */
|
|
73
71
|
TeamId = "TeamId",
|
|
72
|
+
/** The person this user reports to (IT Security - User) */
|
|
73
|
+
ReportsTo = "ReportsTo",
|
|
74
74
|
/** the sales territory the user works in (IT Security - User) */
|
|
75
75
|
SalesTerritory = "SalesTerritory",
|
|
76
|
-
/** the company the user is works for (IT Security - User) */
|
|
77
|
-
CompanyName = "CompanyName",
|
|
78
|
-
/** the sales channel the user sells under (IT Security - User) */
|
|
79
|
-
SalesChannel = "SalesChannel",
|
|
80
|
-
/** full-time or part-time (IT Security - User) */
|
|
81
|
-
Employment = "Employment",
|
|
82
76
|
/** Can they climb a ladder ? (IT Security - User) */
|
|
83
77
|
Accredited = "Accredited",
|
|
84
78
|
/** the ID of the user in Air call (IT Security - User) */
|
|
85
79
|
AircallId = "AircallId",
|
|
86
|
-
/** the sales region the user works in (IT Security - User) */
|
|
87
|
-
SalesRegion = "SalesRegion",
|
|
88
80
|
/** the users job title (IT Security - User) */
|
|
89
81
|
JobTitle = "JobTitle",
|
|
90
82
|
/** the address the user is starting their day from (IT Security - User) */
|
|
@@ -95,8 +87,16 @@ export declare enum UserPropertyKeys {
|
|
|
95
87
|
TwilioWorkerStatus = "TwilioWorkerStatus",
|
|
96
88
|
/** FullName used as */
|
|
97
89
|
FullName = "FullName",
|
|
90
|
+
/** the sales channel the user sells under (IT Security - User) */
|
|
91
|
+
SalesChannel = "SalesChannel",
|
|
92
|
+
/** full-time or part-time (IT Security - User) */
|
|
93
|
+
Employment = "Employment",
|
|
98
94
|
/** email address (IT Security - User) */
|
|
99
95
|
EmailAddress = "EmailAddress",
|
|
96
|
+
/** the company the user is works for (IT Security - User) */
|
|
97
|
+
CompanyName = "CompanyName",
|
|
98
|
+
/** the sales region the user works in (IT Security - User) */
|
|
99
|
+
SalesRegion = "SalesRegion",
|
|
100
100
|
/** the id of the user in the organizations_users_table (IT Security - User) */
|
|
101
101
|
UserId = "UserId"
|
|
102
102
|
}
|
|
@@ -128,12 +128,6 @@ export interface UserProperties {
|
|
|
128
128
|
* @type {BOOLEAN}
|
|
129
129
|
*/
|
|
130
130
|
TwilioWorker: boolean;
|
|
131
|
-
/** The person this user reports to (IT Security - User)
|
|
132
|
-
*
|
|
133
|
-
* @type {TEXT}
|
|
134
|
-
* @hidden This field is hidden in the UI
|
|
135
|
-
*/
|
|
136
|
-
ReportsTo: string;
|
|
137
131
|
/** The working area is aligned with an (EX polygon ID) (IT Security - User)
|
|
138
132
|
*
|
|
139
133
|
* @type {NUMBER}
|
|
@@ -144,30 +138,16 @@ export interface UserProperties {
|
|
|
144
138
|
* @type {LOOKUP}
|
|
145
139
|
*/
|
|
146
140
|
TeamId: string;
|
|
147
|
-
/**
|
|
148
|
-
*
|
|
149
|
-
* @type {TEXT}
|
|
150
|
-
* @hidden This field is hidden in the UI
|
|
151
|
-
*/
|
|
152
|
-
SalesTerritory: string;
|
|
153
|
-
/** the company the user is works for (IT Security - User)
|
|
154
|
-
*
|
|
155
|
-
* @type {TEXT}
|
|
156
|
-
* @hidden This field is hidden in the UI
|
|
157
|
-
*/
|
|
158
|
-
CompanyName: string;
|
|
159
|
-
/** the sales channel the user sells under (IT Security - User)
|
|
141
|
+
/** The person this user reports to (IT Security - User)
|
|
160
142
|
*
|
|
161
143
|
* @type {TEXT}
|
|
162
|
-
* @hidden This field is hidden in the UI
|
|
163
144
|
*/
|
|
164
|
-
|
|
165
|
-
/**
|
|
145
|
+
ReportsTo: string;
|
|
146
|
+
/** the sales territory the user works in (IT Security - User)
|
|
166
147
|
*
|
|
167
148
|
* @type {TEXT}
|
|
168
|
-
* @hidden This field is hidden in the UI
|
|
169
149
|
*/
|
|
170
|
-
|
|
150
|
+
SalesTerritory: string;
|
|
171
151
|
/** Can they climb a ladder ? (IT Security - User)
|
|
172
152
|
*
|
|
173
153
|
* @type {ENUM}
|
|
@@ -179,12 +159,6 @@ export interface UserProperties {
|
|
|
179
159
|
* @type {NUMBER}
|
|
180
160
|
*/
|
|
181
161
|
AircallId: number;
|
|
182
|
-
/** the sales region the user works in (IT Security - User)
|
|
183
|
-
*
|
|
184
|
-
* @type {TEXT}
|
|
185
|
-
* @hidden This field is hidden in the UI
|
|
186
|
-
*/
|
|
187
|
-
SalesRegion: string;
|
|
188
162
|
/** the users job title (IT Security - User)
|
|
189
163
|
*
|
|
190
164
|
* @type {TEXT}
|
|
@@ -210,12 +184,32 @@ export interface UserProperties {
|
|
|
210
184
|
* @type {TEXT}
|
|
211
185
|
*/
|
|
212
186
|
FullName: string;
|
|
187
|
+
/** the sales channel the user sells under (IT Security - User)
|
|
188
|
+
*
|
|
189
|
+
* @type {TEXT}
|
|
190
|
+
*/
|
|
191
|
+
SalesChannel: string;
|
|
192
|
+
/** full-time or part-time (IT Security - User)
|
|
193
|
+
*
|
|
194
|
+
* @type {TEXT}
|
|
195
|
+
*/
|
|
196
|
+
Employment: string;
|
|
213
197
|
/** email address (IT Security - User)
|
|
214
198
|
*
|
|
215
199
|
* @type {TEXT}
|
|
216
200
|
* @pii This field contains personally identifiable information
|
|
217
201
|
*/
|
|
218
202
|
EmailAddress: string;
|
|
203
|
+
/** the company the user is works for (IT Security - User)
|
|
204
|
+
*
|
|
205
|
+
* @type {TEXT}
|
|
206
|
+
*/
|
|
207
|
+
CompanyName: string;
|
|
208
|
+
/** the sales region the user works in (IT Security - User)
|
|
209
|
+
*
|
|
210
|
+
* @type {TEXT}
|
|
211
|
+
*/
|
|
212
|
+
SalesRegion: string;
|
|
219
213
|
/** the id of the user in the organizations_users_table (IT Security - User)
|
|
220
214
|
*
|
|
221
215
|
* @type {UUID}
|
package/dist/entities-v2/User.js
CHANGED
|
@@ -50,26 +50,18 @@ var UserPropertyKeys;
|
|
|
50
50
|
UserPropertyKeys["Team"] = "Team";
|
|
51
51
|
/** TwilioWorker (IT Security - User) */
|
|
52
52
|
UserPropertyKeys["TwilioWorker"] = "TwilioWorker";
|
|
53
|
-
/** The person this user reports to (IT Security - User) */
|
|
54
|
-
UserPropertyKeys["ReportsTo"] = "ReportsTo";
|
|
55
53
|
/** The working area is aligned with an (EX polygon ID) (IT Security - User) */
|
|
56
54
|
UserPropertyKeys["WorkingArea"] = "WorkingArea";
|
|
57
55
|
/** Reference identifier for User relationships. Used for data integrity. */
|
|
58
56
|
UserPropertyKeys["TeamId"] = "TeamId";
|
|
57
|
+
/** The person this user reports to (IT Security - User) */
|
|
58
|
+
UserPropertyKeys["ReportsTo"] = "ReportsTo";
|
|
59
59
|
/** the sales territory the user works in (IT Security - User) */
|
|
60
60
|
UserPropertyKeys["SalesTerritory"] = "SalesTerritory";
|
|
61
|
-
/** the company the user is works for (IT Security - User) */
|
|
62
|
-
UserPropertyKeys["CompanyName"] = "CompanyName";
|
|
63
|
-
/** the sales channel the user sells under (IT Security - User) */
|
|
64
|
-
UserPropertyKeys["SalesChannel"] = "SalesChannel";
|
|
65
|
-
/** full-time or part-time (IT Security - User) */
|
|
66
|
-
UserPropertyKeys["Employment"] = "Employment";
|
|
67
61
|
/** Can they climb a ladder ? (IT Security - User) */
|
|
68
62
|
UserPropertyKeys["Accredited"] = "Accredited";
|
|
69
63
|
/** the ID of the user in Air call (IT Security - User) */
|
|
70
64
|
UserPropertyKeys["AircallId"] = "AircallId";
|
|
71
|
-
/** the sales region the user works in (IT Security - User) */
|
|
72
|
-
UserPropertyKeys["SalesRegion"] = "SalesRegion";
|
|
73
65
|
/** the users job title (IT Security - User) */
|
|
74
66
|
UserPropertyKeys["JobTitle"] = "JobTitle";
|
|
75
67
|
/** the address the user is starting their day from (IT Security - User) */
|
|
@@ -80,8 +72,16 @@ var UserPropertyKeys;
|
|
|
80
72
|
UserPropertyKeys["TwilioWorkerStatus"] = "TwilioWorkerStatus";
|
|
81
73
|
/** FullName used as */
|
|
82
74
|
UserPropertyKeys["FullName"] = "FullName";
|
|
75
|
+
/** the sales channel the user sells under (IT Security - User) */
|
|
76
|
+
UserPropertyKeys["SalesChannel"] = "SalesChannel";
|
|
77
|
+
/** full-time or part-time (IT Security - User) */
|
|
78
|
+
UserPropertyKeys["Employment"] = "Employment";
|
|
83
79
|
/** email address (IT Security - User) */
|
|
84
80
|
UserPropertyKeys["EmailAddress"] = "EmailAddress";
|
|
81
|
+
/** the company the user is works for (IT Security - User) */
|
|
82
|
+
UserPropertyKeys["CompanyName"] = "CompanyName";
|
|
83
|
+
/** the sales region the user works in (IT Security - User) */
|
|
84
|
+
UserPropertyKeys["SalesRegion"] = "SalesRegion";
|
|
85
85
|
/** the id of the user in the organizations_users_table (IT Security - User) */
|
|
86
86
|
UserPropertyKeys["UserId"] = "UserId";
|
|
87
87
|
})(UserPropertyKeys = exports.UserPropertyKeys || (exports.UserPropertyKeys = {}));
|