@smartytalent/api-client 0.1.33-dev.63 → 0.1.33-dev.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.
|
@@ -48,11 +48,26 @@ export interface UserAttributesSchema {
|
|
|
48
48
|
*/
|
|
49
49
|
phone?: string;
|
|
50
50
|
/**
|
|
51
|
-
*
|
|
51
|
+
* Marks tenant-internal system users (admins, integrations, the Boe bot). Distinct from `type` - `isSystem=true` only means 'not a regular end-user'; the human-vs-bot split lives in `type`.
|
|
52
52
|
* @type {boolean}
|
|
53
53
|
* @memberof UserAttributesSchema
|
|
54
54
|
*/
|
|
55
55
|
isSystem?: boolean;
|
|
56
|
+
/**
|
|
57
|
+
* Discriminator for human-vs-bot users.
|
|
58
|
+
* 'ai' - Boe bot user. tenant.relationships.boeUser points at one
|
|
59
|
+
* of these per tenant. Drives the createMeetingAttendee
|
|
60
|
+
* AI-dispatch decision: principalType=user + user.type='ai'
|
|
61
|
+
* makes the meeting service spawn a Fargate bot instead of
|
|
62
|
+
* returning Chime join credentials.
|
|
63
|
+
* 'human' - regular user (recruiter, observer, candidate-with-account).
|
|
64
|
+
* null - legacy rows without the field; treated as 'human' by the
|
|
65
|
+
* server (safer default - we'd rather miss a bot dispatch
|
|
66
|
+
* than accidentally dispatch a Fargate task for a real human).
|
|
67
|
+
* @type {UserAttributesSchemaTypeEnum}
|
|
68
|
+
* @memberof UserAttributesSchema
|
|
69
|
+
*/
|
|
70
|
+
type?: UserAttributesSchemaTypeEnum | null;
|
|
56
71
|
/**
|
|
57
72
|
*
|
|
58
73
|
* @type {{ [key: string]: any; }}
|
|
@@ -102,6 +117,14 @@ export interface UserAttributesSchema {
|
|
|
102
117
|
*/
|
|
103
118
|
timestamps?: ResourceTimestampsSchema;
|
|
104
119
|
}
|
|
120
|
+
/**
|
|
121
|
+
* @export
|
|
122
|
+
*/
|
|
123
|
+
export declare const UserAttributesSchemaTypeEnum: {
|
|
124
|
+
readonly Human: "human";
|
|
125
|
+
readonly Ai: "ai";
|
|
126
|
+
};
|
|
127
|
+
export type UserAttributesSchemaTypeEnum = typeof UserAttributesSchemaTypeEnum[keyof typeof UserAttributesSchemaTypeEnum];
|
|
105
128
|
/**
|
|
106
129
|
* Check if a given object implements the UserAttributesSchema interface.
|
|
107
130
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"UserAttributesSchema.d.ts","sourceRoot":"","sources":["../../src/models/UserAttributesSchema.ts"],"names":[],"mappings":"AAEA;;;;;;;;;;GAUG;AAGH,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,0BAA0B,CAAC;AAOvE,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,4BAA4B,CAAC;AAQ3E;;;;GAIG;AACH,MAAM,WAAW,oBAAoB;IACjC;;;;OAIG;IACH,KAAK,EAAE,MAAM,CAAC;IACd;;;;OAIG;IACH,IAAI,EAAE,MAAM,CAAC;IACb;;;;OAIG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB;;;;OAIG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB;;;;OAIG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;IACf;;;;OAIG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB;;;;OAIG;IACH,OAAO,CAAC,EAAE;QAAE,CAAC,GAAG,EAAE,MAAM,GAAG,GAAG,CAAC;KAAE,CAAC;IAClC;;;;OAIG;IACH,QAAQ,CAAC,EAAE;QAAE,CAAC,GAAG,EAAE,MAAM,GAAG,GAAG,CAAC;KAAE,CAAC;IACnC;;;;OAIG;IACH,WAAW,CAAC,EAAE;QAAE,CAAC,GAAG,EAAE,MAAM,GAAG,GAAG,CAAC;KAAE,CAAC;IACtC;;;;OAIG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB;;;;OAIG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB;;;;OAIG;IACH,aAAa,CAAC,EAAE,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AAU,CAAC,EAAE,wBAAwB,CAAC;CACzC;AAGD;;GAEG;AACH,eAAO,MAAM,4BAA4B;;;CAG/B,CAAC;AACX,MAAM,MAAM,4BAA4B,GAAG,OAAO,4BAA4B,CAAC,MAAM,OAAO,4BAA4B,CAAC,CAAC;AAG1H;;GAEG;AACH,wBAAgB,8BAA8B,CAAC,KAAK,EAAE,MAAM,GAAG,KAAK,IAAI,oBAAoB,CAI3F;AAED,wBAAgB,4BAA4B,CAAC,IAAI,EAAE,GAAG,GAAG,oBAAoB,CAE5E;AAED,wBAAgB,iCAAiC,CAAC,IAAI,EAAE,GAAG,EAAE,mBAAmB,EAAE,OAAO,GAAG,oBAAoB,CAqB/G;AAED,wBAAgB,0BAA0B,CAAC,IAAI,EAAE,GAAG,GAAG,oBAAoB,CAE1E;AAED,wBAAgB,+BAA+B,CAAC,KAAK,CAAC,EAAE,oBAAoB,GAAG,IAAI,EAAE,mBAAmB,GAAE,OAAe,GAAG,GAAG,CAsB9H"}
|
|
@@ -13,6 +13,7 @@
|
|
|
13
13
|
* Do not edit the class manually.
|
|
14
14
|
*/
|
|
15
15
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
16
|
+
exports.UserAttributesSchemaTypeEnum = void 0;
|
|
16
17
|
exports.instanceOfUserAttributesSchema = instanceOfUserAttributesSchema;
|
|
17
18
|
exports.UserAttributesSchemaFromJSON = UserAttributesSchemaFromJSON;
|
|
18
19
|
exports.UserAttributesSchemaFromJSONTyped = UserAttributesSchemaFromJSONTyped;
|
|
@@ -20,6 +21,13 @@ exports.UserAttributesSchemaToJSON = UserAttributesSchemaToJSON;
|
|
|
20
21
|
exports.UserAttributesSchemaToJSONTyped = UserAttributesSchemaToJSONTyped;
|
|
21
22
|
const UserHistoryEventSchema_1 = require("./UserHistoryEventSchema");
|
|
22
23
|
const ResourceTimestampsSchema_1 = require("./ResourceTimestampsSchema");
|
|
24
|
+
/**
|
|
25
|
+
* @export
|
|
26
|
+
*/
|
|
27
|
+
exports.UserAttributesSchemaTypeEnum = {
|
|
28
|
+
Human: 'human',
|
|
29
|
+
Ai: 'ai'
|
|
30
|
+
};
|
|
23
31
|
/**
|
|
24
32
|
* Check if a given object implements the UserAttributesSchema interface.
|
|
25
33
|
*/
|
|
@@ -44,6 +52,7 @@ function UserAttributesSchemaFromJSONTyped(json, ignoreDiscriminator) {
|
|
|
44
52
|
'locale': json['locale'] == null ? undefined : json['locale'],
|
|
45
53
|
'phone': json['phone'] == null ? undefined : json['phone'],
|
|
46
54
|
'isSystem': json['isSystem'] == null ? undefined : json['isSystem'],
|
|
55
|
+
'type': json['type'] == null ? undefined : json['type'],
|
|
47
56
|
'address': json['address'] == null ? undefined : json['address'],
|
|
48
57
|
'settings': json['settings'] == null ? undefined : json['settings'],
|
|
49
58
|
'connections': json['connections'] == null ? undefined : json['connections'],
|
|
@@ -67,6 +76,7 @@ function UserAttributesSchemaToJSONTyped(value, ignoreDiscriminator = false) {
|
|
|
67
76
|
'locale': value['locale'],
|
|
68
77
|
'phone': value['phone'],
|
|
69
78
|
'isSystem': value['isSystem'],
|
|
79
|
+
'type': value['type'],
|
|
70
80
|
'address': value['address'],
|
|
71
81
|
'settings': value['settings'],
|
|
72
82
|
'connections': value['connections'],
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"UserAttributesSchema.js","sourceRoot":"","sources":["../../src/models/UserAttributesSchema.ts"],"names":[],"mappings":";AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG
|
|
1
|
+
{"version":3,"file":"UserAttributesSchema.js","sourceRoot":"","sources":["../../src/models/UserAttributesSchema.ts"],"names":[],"mappings":";AAAA,oBAAoB;AACpB,oBAAoB;AACpB;;;;;;;;;;GAUG;;;AAqIH,wEAIC;AAED,oEAEC;AAED,8EAqBC;AAED,gEAEC;AAED,0EAsBC;AA5LD,qEAKkC;AAElC,yEAKoC;AAwGpC;;GAEG;AACU,QAAA,4BAA4B,GAAG;IACxC,KAAK,EAAE,OAA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