@d19n/youfibre-odin-sdk 2.0.62 → 2.0.64
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.
|
@@ -21,10 +21,18 @@ export interface CreateUserMessage extends OdinRecordCreatedEvent<CreateUserDto,
|
|
|
21
21
|
/**
|
|
22
22
|
* Properties for CreateUser action
|
|
23
23
|
*
|
|
24
|
-
* @property Required fields:
|
|
25
|
-
* @property Optional fields:
|
|
24
|
+
* @property Required fields: 1
|
|
25
|
+
* @property Optional fields: 13
|
|
26
26
|
*/
|
|
27
27
|
export interface CreateUserProperties {
|
|
28
|
+
/**
|
|
29
|
+
* UserId
|
|
30
|
+
*
|
|
31
|
+
* the id of the user in the organizations_users_table (IT Security - User)
|
|
32
|
+
* @type {UUID}
|
|
33
|
+
* @required
|
|
34
|
+
*/
|
|
35
|
+
UserId: string;
|
|
28
36
|
/**
|
|
29
37
|
* TwilioWorkerStatus
|
|
30
38
|
*
|
|
@@ -109,6 +117,13 @@ export interface CreateUserProperties {
|
|
|
109
117
|
* @type {TEXT}
|
|
110
118
|
*/
|
|
111
119
|
EmailAddress?: string | null;
|
|
120
|
+
/**
|
|
121
|
+
* FullName
|
|
122
|
+
*
|
|
123
|
+
* FullName used as
|
|
124
|
+
* @type {TEXT}
|
|
125
|
+
*/
|
|
126
|
+
FullName?: string | null;
|
|
112
127
|
}
|
|
113
128
|
/**
|
|
114
129
|
* CreateUser
|
|
@@ -65,8 +65,6 @@ export declare enum UserPropertyKeys {
|
|
|
65
65
|
Team = "Team",
|
|
66
66
|
/** TwilioWorker (IT Security - User) */
|
|
67
67
|
TwilioWorker = "TwilioWorker",
|
|
68
|
-
/** the id of the user in the organizations_users_table (IT Security - User) */
|
|
69
|
-
UserId = "UserId",
|
|
70
68
|
/** The person this user reports to (IT Security - User) */
|
|
71
69
|
ReportsTo = "ReportsTo",
|
|
72
70
|
/** The working area is aligned with an (EX polygon ID) (IT Security - User) */
|
|
@@ -95,8 +93,12 @@ export declare enum UserPropertyKeys {
|
|
|
95
93
|
UseResponseId = "UseResponseId",
|
|
96
94
|
/** TwilioWorkerStatus (IT Security - User) */
|
|
97
95
|
TwilioWorkerStatus = "TwilioWorkerStatus",
|
|
96
|
+
/** FullName used as */
|
|
97
|
+
FullName = "FullName",
|
|
98
98
|
/** email address (IT Security - User) */
|
|
99
|
-
EmailAddress = "EmailAddress"
|
|
99
|
+
EmailAddress = "EmailAddress",
|
|
100
|
+
/** the id of the user in the organizations_users_table (IT Security - User) */
|
|
101
|
+
UserId = "UserId"
|
|
100
102
|
}
|
|
101
103
|
/**
|
|
102
104
|
* Properties for User records
|
|
@@ -126,12 +128,6 @@ export interface UserProperties {
|
|
|
126
128
|
* @type {BOOLEAN}
|
|
127
129
|
*/
|
|
128
130
|
TwilioWorker: boolean;
|
|
129
|
-
/** the id of the user in the organizations_users_table (IT Security - User)
|
|
130
|
-
*
|
|
131
|
-
* @type {UUID}
|
|
132
|
-
* @hidden This field is hidden in the UI
|
|
133
|
-
*/
|
|
134
|
-
UserId: string;
|
|
135
131
|
/** The person this user reports to (IT Security - User)
|
|
136
132
|
*
|
|
137
133
|
* @type {TEXT}
|
|
@@ -209,12 +205,22 @@ export interface UserProperties {
|
|
|
209
205
|
* @type {TEXT}
|
|
210
206
|
*/
|
|
211
207
|
TwilioWorkerStatus: string;
|
|
208
|
+
/** FullName used as
|
|
209
|
+
*
|
|
210
|
+
* @type {TEXT}
|
|
211
|
+
*/
|
|
212
|
+
FullName: string;
|
|
212
213
|
/** email address (IT Security - User)
|
|
213
214
|
*
|
|
214
215
|
* @type {TEXT}
|
|
215
216
|
* @pii This field contains personally identifiable information
|
|
216
217
|
*/
|
|
217
218
|
EmailAddress: string;
|
|
219
|
+
/** the id of the user in the organizations_users_table (IT Security - User)
|
|
220
|
+
*
|
|
221
|
+
* @type {UUID}
|
|
222
|
+
*/
|
|
223
|
+
UserId: string;
|
|
218
224
|
}
|
|
219
225
|
/**
|
|
220
226
|
* User entity from IdentityModule
|
package/dist/entities-v2/User.js
CHANGED
|
@@ -50,8 +50,6 @@ var UserPropertyKeys;
|
|
|
50
50
|
UserPropertyKeys["Team"] = "Team";
|
|
51
51
|
/** TwilioWorker (IT Security - User) */
|
|
52
52
|
UserPropertyKeys["TwilioWorker"] = "TwilioWorker";
|
|
53
|
-
/** the id of the user in the organizations_users_table (IT Security - User) */
|
|
54
|
-
UserPropertyKeys["UserId"] = "UserId";
|
|
55
53
|
/** The person this user reports to (IT Security - User) */
|
|
56
54
|
UserPropertyKeys["ReportsTo"] = "ReportsTo";
|
|
57
55
|
/** The working area is aligned with an (EX polygon ID) (IT Security - User) */
|
|
@@ -80,8 +78,12 @@ var UserPropertyKeys;
|
|
|
80
78
|
UserPropertyKeys["UseResponseId"] = "UseResponseId";
|
|
81
79
|
/** TwilioWorkerStatus (IT Security - User) */
|
|
82
80
|
UserPropertyKeys["TwilioWorkerStatus"] = "TwilioWorkerStatus";
|
|
81
|
+
/** FullName used as */
|
|
82
|
+
UserPropertyKeys["FullName"] = "FullName";
|
|
83
83
|
/** email address (IT Security - User) */
|
|
84
84
|
UserPropertyKeys["EmailAddress"] = "EmailAddress";
|
|
85
|
+
/** the id of the user in the organizations_users_table (IT Security - User) */
|
|
86
|
+
UserPropertyKeys["UserId"] = "UserId";
|
|
85
87
|
})(UserPropertyKeys = exports.UserPropertyKeys || (exports.UserPropertyKeys = {}));
|
|
86
88
|
/**
|
|
87
89
|
* User entity from IdentityModule
|
|
@@ -495,7 +495,7 @@ export declare class UserRecord<TProps = UserProperties> {
|
|
|
495
495
|
* const payload = record.createUser({ ... }).dryRun();
|
|
496
496
|
* ```
|
|
497
497
|
*/
|
|
498
|
-
createUser(properties
|
|
498
|
+
createUser(properties: CreateUserProperties, options?: {
|
|
499
499
|
type?: string;
|
|
500
500
|
journeyId?: string;
|
|
501
501
|
stageKey?: string;
|