@d19n/youfibre-odin-sdk 2.0.63 → 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:
|
|
24
|
+
* @property Required fields: 1
|
|
25
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
|
*
|
|
@@ -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) */
|
|
@@ -98,7 +96,9 @@ export declare enum UserPropertyKeys {
|
|
|
98
96
|
/** FullName used as */
|
|
99
97
|
FullName = "FullName",
|
|
100
98
|
/** email address (IT Security - User) */
|
|
101
|
-
EmailAddress = "EmailAddress"
|
|
99
|
+
EmailAddress = "EmailAddress",
|
|
100
|
+
/** the id of the user in the organizations_users_table (IT Security - User) */
|
|
101
|
+
UserId = "UserId"
|
|
102
102
|
}
|
|
103
103
|
/**
|
|
104
104
|
* Properties for User records
|
|
@@ -128,12 +128,6 @@ export interface UserProperties {
|
|
|
128
128
|
* @type {BOOLEAN}
|
|
129
129
|
*/
|
|
130
130
|
TwilioWorker: boolean;
|
|
131
|
-
/** the id of the user in the organizations_users_table (IT Security - User)
|
|
132
|
-
*
|
|
133
|
-
* @type {UUID}
|
|
134
|
-
* @hidden This field is hidden in the UI
|
|
135
|
-
*/
|
|
136
|
-
UserId: string;
|
|
137
131
|
/** The person this user reports to (IT Security - User)
|
|
138
132
|
*
|
|
139
133
|
* @type {TEXT}
|
|
@@ -222,6 +216,11 @@ export interface UserProperties {
|
|
|
222
216
|
* @pii This field contains personally identifiable information
|
|
223
217
|
*/
|
|
224
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;
|
|
225
224
|
}
|
|
226
225
|
/**
|
|
227
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) */
|
|
@@ -84,6 +82,8 @@ var UserPropertyKeys;
|
|
|
84
82
|
UserPropertyKeys["FullName"] = "FullName";
|
|
85
83
|
/** email address (IT Security - User) */
|
|
86
84
|
UserPropertyKeys["EmailAddress"] = "EmailAddress";
|
|
85
|
+
/** the id of the user in the organizations_users_table (IT Security - User) */
|
|
86
|
+
UserPropertyKeys["UserId"] = "UserId";
|
|
87
87
|
})(UserPropertyKeys = exports.UserPropertyKeys || (exports.UserPropertyKeys = {}));
|
|
88
88
|
/**
|
|
89
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;
|