@d19n/youfibre-odin-sdk 2.0.64 → 2.0.66

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.
@@ -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: 12
25
+ * @property Optional fields: 20
26
26
  */
27
27
  export interface UpdateUserProperties {
28
28
  /**
29
- * UseResponseId
29
+ * FullName
30
30
  *
31
- * use response Id (IT Security - User)
32
- * @type {NUMBER}
31
+ * FullName used as
32
+ * @type {TEXT}
33
33
  */
34
- UseResponseId?: number | null;
34
+ FullName?: string | null;
35
35
  /**
36
- * AircallId
36
+ * EmailAddress
37
37
  *
38
- * the ID of the user in Air call (IT Security - User)
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
- AircallId?: number | null;
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
- * WorkingArea
71
+ * SalesRegion
65
72
  *
66
- * The working area is aligned with an (EX polygon ID) (IT Security - User)
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
- WorkingArea?: number | null;
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
- * Team
92
+ * Employment
79
93
  *
80
- * the team name (IT Security - User)
94
+ * full-time or part-time (IT Security - User)
81
95
  * @type {TEXT}
82
96
  */
83
- Team?: string | null;
97
+ Employment?: string | null;
84
98
  /**
85
- * TwilioSid
99
+ * SalesChannel
86
100
  *
87
- * Reference identifier for User relationships. Used for data integrity.
101
+ * the sales channel the user sells under (IT Security - User)
88
102
  * @type {TEXT}
89
103
  */
90
- TwilioSid?: string | null;
104
+ SalesChannel?: string | null;
91
105
  /**
92
- * TwilioWorkerStatus
106
+ * CompanyName
93
107
  *
94
- * TwilioWorkerStatus (IT Security - User)
108
+ * the company the user is works for (IT Security - User)
95
109
  * @type {TEXT}
96
110
  */
97
- TwilioWorkerStatus?: string | null;
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,26 @@ export interface UpdateUserProperties {
103
145
  */
104
146
  TwilioWorker?: boolean | null;
105
147
  /**
106
- * email address
148
+ * Team
107
149
  *
108
- * email address (IT Security - User)
150
+ * the team name (IT Security - User)
109
151
  * @type {TEXT}
110
152
  */
111
- EmailAddress?: string | null;
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;
161
+ /**
162
+ * Status
163
+ *
164
+ * status of the user (IT Security - User)
165
+ * @type {TEXT}
166
+ */
167
+ Status?: string | null;
112
168
  }
113
169
  /**
114
170
  * UpdateUser
@@ -57,34 +57,26 @@ export declare enum UserAccredited {
57
57
  * Use these constants instead of string literals for type safety
58
58
  */
59
59
  export declare enum UserPropertyKeys {
60
- /** status of the user (IT Security - User) */
61
- Status = "Status",
62
60
  /** Reference identifier for User relationships. Used for data integrity. */
63
61
  TwilioSid = "TwilioSid",
64
62
  /** the team name (IT Security - User) */
65
63
  Team = "Team",
64
+ /** status of the user (IT Security - User) */
65
+ Status = "Status",
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
  }
@@ -106,12 +106,6 @@ export declare enum UserPropertyKeys {
106
106
  * @see IdentityModule:User
107
107
  */
108
108
  export interface UserProperties {
109
- /** status of the user (IT Security - User)
110
- *
111
- * @type {TEXT}
112
- * @hidden This field is hidden in the UI
113
- */
114
- Status: string;
115
109
  /** Reference identifier for User relationships. Used for data integrity.
116
110
  *
117
111
  * @type {TEXT}
@@ -123,17 +117,16 @@ export interface UserProperties {
123
117
  * @tracked Changes to this field are tracked in audit history
124
118
  */
125
119
  Team: string;
120
+ /** status of the user (IT Security - User)
121
+ *
122
+ * @type {TEXT}
123
+ */
124
+ Status: string;
126
125
  /** TwilioWorker (IT Security - User)
127
126
  *
128
127
  * @type {BOOLEAN}
129
128
  */
130
129
  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
130
  /** The working area is aligned with an (EX polygon ID) (IT Security - User)
138
131
  *
139
132
  * @type {NUMBER}
@@ -144,30 +137,16 @@ export interface UserProperties {
144
137
  * @type {LOOKUP}
145
138
  */
146
139
  TeamId: string;
147
- /** the sales territory the user works in (IT Security - User)
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)
140
+ /** The person this user reports to (IT Security - User)
160
141
  *
161
142
  * @type {TEXT}
162
- * @hidden This field is hidden in the UI
163
143
  */
164
- SalesChannel: string;
165
- /** full-time or part-time (IT Security - User)
144
+ ReportsTo: string;
145
+ /** the sales territory the user works in (IT Security - User)
166
146
  *
167
147
  * @type {TEXT}
168
- * @hidden This field is hidden in the UI
169
148
  */
170
- Employment: string;
149
+ SalesTerritory: string;
171
150
  /** Can they climb a ladder ? (IT Security - User)
172
151
  *
173
152
  * @type {ENUM}
@@ -179,12 +158,6 @@ export interface UserProperties {
179
158
  * @type {NUMBER}
180
159
  */
181
160
  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
161
  /** the users job title (IT Security - User)
189
162
  *
190
163
  * @type {TEXT}
@@ -210,12 +183,32 @@ export interface UserProperties {
210
183
  * @type {TEXT}
211
184
  */
212
185
  FullName: string;
186
+ /** the sales channel the user sells under (IT Security - User)
187
+ *
188
+ * @type {TEXT}
189
+ */
190
+ SalesChannel: string;
191
+ /** full-time or part-time (IT Security - User)
192
+ *
193
+ * @type {TEXT}
194
+ */
195
+ Employment: string;
213
196
  /** email address (IT Security - User)
214
197
  *
215
198
  * @type {TEXT}
216
199
  * @pii This field contains personally identifiable information
217
200
  */
218
201
  EmailAddress: string;
202
+ /** the company the user is works for (IT Security - User)
203
+ *
204
+ * @type {TEXT}
205
+ */
206
+ CompanyName: string;
207
+ /** the sales region the user works in (IT Security - User)
208
+ *
209
+ * @type {TEXT}
210
+ */
211
+ SalesRegion: string;
219
212
  /** the id of the user in the organizations_users_table (IT Security - User)
220
213
  *
221
214
  * @type {UUID}
@@ -42,34 +42,26 @@ var UserAccredited;
42
42
  */
43
43
  var UserPropertyKeys;
44
44
  (function (UserPropertyKeys) {
45
- /** status of the user (IT Security - User) */
46
- UserPropertyKeys["Status"] = "Status";
47
45
  /** Reference identifier for User relationships. Used for data integrity. */
48
46
  UserPropertyKeys["TwilioSid"] = "TwilioSid";
49
47
  /** the team name (IT Security - User) */
50
48
  UserPropertyKeys["Team"] = "Team";
49
+ /** status of the user (IT Security - User) */
50
+ UserPropertyKeys["Status"] = "Status";
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 = {}));
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@d19n/youfibre-odin-sdk",
3
- "version": "2.0.64",
3
+ "version": "2.0.66",
4
4
  "description": "",
5
5
  "author": "@d19n",
6
6
  "license": "UNLICENSED",