@iblai/iblai-api 4.243.2-core → 4.245.0-core
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/index.cjs.js +293 -1
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.esm.js +294 -2
- package/dist/index.esm.js.map +1 -1
- package/dist/index.umd.js +293 -1
- package/dist/index.umd.js.map +1 -1
- package/dist/types/index.d.ts +10 -0
- package/dist/types/models/DemographicsFieldDefinition.d.ts +45 -0
- package/dist/types/models/DemographicsFieldDefinitionWrite.d.ts +42 -0
- package/dist/types/models/DisabilityStatusEnum.d.ts +10 -0
- package/dist/types/models/EthnicityEnum.d.ts +22 -0
- package/dist/types/models/FieldDefinitionImport.d.ts +4 -0
- package/dist/types/models/FieldTypeEnum.d.ts +16 -0
- package/dist/types/models/GenderEnum.d.ts +14 -0
- package/dist/types/models/PatchedDemographicsFieldDefinitionWrite.d.ts +42 -0
- package/dist/types/models/UserDemographicsResponse.d.ts +58 -0
- package/dist/types/models/UserDemographicsWrite.d.ts +58 -0
- package/dist/types/services/CoreService.d.ts +107 -0
- package/package.json +1 -1
- package/sdk_schema.yml +708 -1
- package/src/core/OpenAPI.ts +1 -1
- package/src/index.ts +10 -0
- package/src/models/DemographicsFieldDefinition.ts +50 -0
- package/src/models/DemographicsFieldDefinitionWrite.ts +47 -0
- package/src/models/DisabilityStatusEnum.ts +14 -0
- package/src/models/EthnicityEnum.ts +26 -0
- package/src/models/FieldDefinitionImport.ts +9 -0
- package/src/models/FieldTypeEnum.ts +20 -0
- package/src/models/GenderEnum.ts +18 -0
- package/src/models/PatchedDemographicsFieldDefinitionWrite.ts +47 -0
- package/src/models/UserDemographicsResponse.ts +63 -0
- package/src/models/UserDemographicsWrite.ts +63 -0
- package/src/services/CoreService.ts +250 -0
package/src/core/OpenAPI.ts
CHANGED
package/src/index.ts
CHANGED
|
@@ -130,6 +130,8 @@ export type { CreditAccountAutoRechargeUpdate } from './models/CreditAccountAuto
|
|
|
130
130
|
export type { CreditAccountInfo } from './models/CreditAccountInfo';
|
|
131
131
|
export type { CreditTransactionHistory } from './models/CreditTransactionHistory';
|
|
132
132
|
export { CreditTransactionHistoryStatusEnum } from './models/CreditTransactionHistoryStatusEnum';
|
|
133
|
+
export type { DemographicsFieldDefinition } from './models/DemographicsFieldDefinition';
|
|
134
|
+
export type { DemographicsFieldDefinitionWrite } from './models/DemographicsFieldDefinitionWrite';
|
|
133
135
|
export type { DesiredRole } from './models/DesiredRole';
|
|
134
136
|
export type { DesiredRoleCreateUpdateRequest } from './models/DesiredRoleCreateUpdateRequest';
|
|
135
137
|
export type { DesiredSkill } from './models/DesiredSkill';
|
|
@@ -137,6 +139,7 @@ export type { DesiredSkillCreateUpdateRequest } from './models/DesiredSkillCreat
|
|
|
137
139
|
export type { DetailedGradeSubsection } from './models/DetailedGradeSubsection';
|
|
138
140
|
export type { DetailedGradeView } from './models/DetailedGradeView';
|
|
139
141
|
export type { DetailedGradeViewData } from './models/DetailedGradeViewData';
|
|
142
|
+
export { DisabilityStatusEnum } from './models/DisabilityStatusEnum';
|
|
140
143
|
export type { Education } from './models/Education';
|
|
141
144
|
export type { EdxSignalReceiverRequest } from './models/EdxSignalReceiverRequest';
|
|
142
145
|
export type { EngagementPerCourse } from './models/EngagementPerCourse';
|
|
@@ -148,10 +151,14 @@ export type { EnrollmentsPerUser } from './models/EnrollmentsPerUser';
|
|
|
148
151
|
export type { EnrollmentsPerUserData } from './models/EnrollmentsPerUserData';
|
|
149
152
|
export type { ErrorDetail } from './models/ErrorDetail';
|
|
150
153
|
export type { ErrorResponse } from './models/ErrorResponse';
|
|
154
|
+
export { EthnicityEnum } from './models/EthnicityEnum';
|
|
151
155
|
export type { Experience } from './models/Experience';
|
|
152
156
|
export type { ExternalCredentialMapping } from './models/ExternalCredentialMapping';
|
|
157
|
+
export type { FieldDefinitionImport } from './models/FieldDefinitionImport';
|
|
158
|
+
export { FieldTypeEnum } from './models/FieldTypeEnum';
|
|
153
159
|
export { FlowTypeEnum } from './models/FlowTypeEnum';
|
|
154
160
|
export type { GCPTenantLaunchRequest } from './models/GCPTenantLaunchRequest';
|
|
161
|
+
export { GenderEnum } from './models/GenderEnum';
|
|
155
162
|
export type { GlobalCatalogSearchResponse } from './models/GlobalCatalogSearchResponse';
|
|
156
163
|
export type { GooglePayAccountResponse } from './models/GooglePayAccountResponse';
|
|
157
164
|
export { GooglePayAccountResponseStatusEnum } from './models/GooglePayAccountResponseStatusEnum';
|
|
@@ -257,6 +264,7 @@ export type { PaginatedUserLicenseAssignment } from './models/PaginatedUserLicen
|
|
|
257
264
|
export type { PaginatedUserLicenseGroupAssignment } from './models/PaginatedUserLicenseGroupAssignment';
|
|
258
265
|
export type { Pagination } from './models/Pagination';
|
|
259
266
|
export type { PatchedCreditAccountAutoRechargeUpdate } from './models/PatchedCreditAccountAutoRechargeUpdate';
|
|
267
|
+
export type { PatchedDemographicsFieldDefinitionWrite } from './models/PatchedDemographicsFieldDefinitionWrite';
|
|
260
268
|
export type { PatchedMediaResource } from './models/PatchedMediaResource';
|
|
261
269
|
export type { PatchedNotification } from './models/PatchedNotification';
|
|
262
270
|
export type { PatchedNotificationTemplateDetail } from './models/PatchedNotificationTemplateDetail';
|
|
@@ -478,6 +486,8 @@ export type { UserApp } from './models/UserApp';
|
|
|
478
486
|
export type { UserDeleteAPIError } from './models/UserDeleteAPIError';
|
|
479
487
|
export type { UserDeleteAPIRequest } from './models/UserDeleteAPIRequest';
|
|
480
488
|
export type { UserDeleteAPIResponse } from './models/UserDeleteAPIResponse';
|
|
489
|
+
export type { UserDemographicsResponse } from './models/UserDemographicsResponse';
|
|
490
|
+
export type { UserDemographicsWrite } from './models/UserDemographicsWrite';
|
|
481
491
|
export type { UserGroup } from './models/UserGroup';
|
|
482
492
|
export type { UserGroupAccess } from './models/UserGroupAccess';
|
|
483
493
|
export type { UserGroupAccessInfo } from './models/UserGroupAccessInfo';
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
/* generated using openapi-typescript-codegen -- do not edit */
|
|
2
|
+
/* istanbul ignore file */
|
|
3
|
+
/* tslint:disable */
|
|
4
|
+
/* eslint-disable */
|
|
5
|
+
import type { FieldTypeEnum } from './FieldTypeEnum';
|
|
6
|
+
export type DemographicsFieldDefinition = {
|
|
7
|
+
readonly id: number;
|
|
8
|
+
/**
|
|
9
|
+
* Human-readable field label displayed in forms.
|
|
10
|
+
*/
|
|
11
|
+
name: string;
|
|
12
|
+
/**
|
|
13
|
+
* URL-safe identifier used as the key in custom_fields payloads.
|
|
14
|
+
*/
|
|
15
|
+
slug: string;
|
|
16
|
+
/**
|
|
17
|
+
* Data type for this field. One of: text, number, date, boolean, select, multi_select.
|
|
18
|
+
*
|
|
19
|
+
* * `text` - Text
|
|
20
|
+
* * `number` - Number
|
|
21
|
+
* * `date` - Date
|
|
22
|
+
* * `boolean` - Boolean
|
|
23
|
+
* * `select` - Select
|
|
24
|
+
* * `multi_select` - Multi-select
|
|
25
|
+
*/
|
|
26
|
+
field_type: FieldTypeEnum;
|
|
27
|
+
/**
|
|
28
|
+
* Whether this field must be filled in by the user.
|
|
29
|
+
*/
|
|
30
|
+
required?: boolean;
|
|
31
|
+
/**
|
|
32
|
+
* List of valid options for select/multi_select fields. Must be empty for other types.
|
|
33
|
+
*/
|
|
34
|
+
choices?: any;
|
|
35
|
+
/**
|
|
36
|
+
* Sort order for rendering fields in the UI. Lower values appear first.
|
|
37
|
+
*/
|
|
38
|
+
display_order?: number;
|
|
39
|
+
/**
|
|
40
|
+
* Inactive fields are hidden from forms and excluded from responses.
|
|
41
|
+
*/
|
|
42
|
+
active?: boolean;
|
|
43
|
+
/**
|
|
44
|
+
* Optional description or instructions shown alongside the field.
|
|
45
|
+
*/
|
|
46
|
+
description?: string;
|
|
47
|
+
readonly created_at: string;
|
|
48
|
+
readonly updated_at: string;
|
|
49
|
+
};
|
|
50
|
+
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
/* generated using openapi-typescript-codegen -- do not edit */
|
|
2
|
+
/* istanbul ignore file */
|
|
3
|
+
/* tslint:disable */
|
|
4
|
+
/* eslint-disable */
|
|
5
|
+
import type { FieldTypeEnum } from './FieldTypeEnum';
|
|
6
|
+
export type DemographicsFieldDefinitionWrite = {
|
|
7
|
+
/**
|
|
8
|
+
* Human-readable field label displayed in forms.
|
|
9
|
+
*/
|
|
10
|
+
name: string;
|
|
11
|
+
/**
|
|
12
|
+
* URL-safe identifier used as the key in custom_fields payloads.
|
|
13
|
+
*/
|
|
14
|
+
slug: string;
|
|
15
|
+
/**
|
|
16
|
+
* Data type for this field. One of: text, number, date, boolean, select, multi_select.
|
|
17
|
+
*
|
|
18
|
+
* * `text` - Text
|
|
19
|
+
* * `number` - Number
|
|
20
|
+
* * `date` - Date
|
|
21
|
+
* * `boolean` - Boolean
|
|
22
|
+
* * `select` - Select
|
|
23
|
+
* * `multi_select` - Multi-select
|
|
24
|
+
*/
|
|
25
|
+
field_type: FieldTypeEnum;
|
|
26
|
+
/**
|
|
27
|
+
* Whether this field must be filled in by the user.
|
|
28
|
+
*/
|
|
29
|
+
required?: boolean;
|
|
30
|
+
/**
|
|
31
|
+
* List of valid options for select/multi_select fields. Must be empty for other types.
|
|
32
|
+
*/
|
|
33
|
+
choices?: any;
|
|
34
|
+
/**
|
|
35
|
+
* Sort order for rendering fields in the UI. Lower values appear first.
|
|
36
|
+
*/
|
|
37
|
+
display_order?: number;
|
|
38
|
+
/**
|
|
39
|
+
* Inactive fields are hidden from forms and excluded from responses.
|
|
40
|
+
*/
|
|
41
|
+
active?: boolean;
|
|
42
|
+
/**
|
|
43
|
+
* Optional description or instructions shown alongside the field.
|
|
44
|
+
*/
|
|
45
|
+
description?: string;
|
|
46
|
+
};
|
|
47
|
+
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/* generated using openapi-typescript-codegen -- do not edit */
|
|
2
|
+
/* istanbul ignore file */
|
|
3
|
+
/* tslint:disable */
|
|
4
|
+
/* eslint-disable */
|
|
5
|
+
/**
|
|
6
|
+
* * `yes` - Yes
|
|
7
|
+
* * `no` - No
|
|
8
|
+
* * `prefer_not_to_say` - Prefer not to say
|
|
9
|
+
*/
|
|
10
|
+
export enum DisabilityStatusEnum {
|
|
11
|
+
YES = 'yes',
|
|
12
|
+
NO = 'no',
|
|
13
|
+
PREFER_NOT_TO_SAY = 'prefer_not_to_say',
|
|
14
|
+
}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
/* generated using openapi-typescript-codegen -- do not edit */
|
|
2
|
+
/* istanbul ignore file */
|
|
3
|
+
/* tslint:disable */
|
|
4
|
+
/* eslint-disable */
|
|
5
|
+
/**
|
|
6
|
+
* * `american_indian_alaska_native` - American Indian or Alaska Native
|
|
7
|
+
* * `asian` - Asian
|
|
8
|
+
* * `black_african_american` - Black or African American
|
|
9
|
+
* * `hispanic_latino` - Hispanic or Latino
|
|
10
|
+
* * `native_hawaiian_pacific_islander` - Native Hawaiian or Other Pacific Islander
|
|
11
|
+
* * `white` - White
|
|
12
|
+
* * `two_or_more` - Two or more races
|
|
13
|
+
* * `prefer_not_to_say` - Prefer not to say
|
|
14
|
+
* * `other` - Other
|
|
15
|
+
*/
|
|
16
|
+
export enum EthnicityEnum {
|
|
17
|
+
AMERICAN_INDIAN_ALASKA_NATIVE = 'american_indian_alaska_native',
|
|
18
|
+
ASIAN = 'asian',
|
|
19
|
+
BLACK_AFRICAN_AMERICAN = 'black_african_american',
|
|
20
|
+
HISPANIC_LATINO = 'hispanic_latino',
|
|
21
|
+
NATIVE_HAWAIIAN_PACIFIC_ISLANDER = 'native_hawaiian_pacific_islander',
|
|
22
|
+
WHITE = 'white',
|
|
23
|
+
TWO_OR_MORE = 'two_or_more',
|
|
24
|
+
PREFER_NOT_TO_SAY = 'prefer_not_to_say',
|
|
25
|
+
OTHER = 'other',
|
|
26
|
+
}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
/* generated using openapi-typescript-codegen -- do not edit */
|
|
2
|
+
/* istanbul ignore file */
|
|
3
|
+
/* tslint:disable */
|
|
4
|
+
/* eslint-disable */
|
|
5
|
+
/**
|
|
6
|
+
* * `text` - Text
|
|
7
|
+
* * `number` - Number
|
|
8
|
+
* * `date` - Date
|
|
9
|
+
* * `boolean` - Boolean
|
|
10
|
+
* * `select` - Select
|
|
11
|
+
* * `multi_select` - Multi-select
|
|
12
|
+
*/
|
|
13
|
+
export enum FieldTypeEnum {
|
|
14
|
+
TEXT = 'text',
|
|
15
|
+
NUMBER = 'number',
|
|
16
|
+
DATE = 'date',
|
|
17
|
+
BOOLEAN = 'boolean',
|
|
18
|
+
SELECT = 'select',
|
|
19
|
+
MULTI_SELECT = 'multi_select',
|
|
20
|
+
}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
/* generated using openapi-typescript-codegen -- do not edit */
|
|
2
|
+
/* istanbul ignore file */
|
|
3
|
+
/* tslint:disable */
|
|
4
|
+
/* eslint-disable */
|
|
5
|
+
/**
|
|
6
|
+
* * `male` - Male
|
|
7
|
+
* * `female` - Female
|
|
8
|
+
* * `non_binary` - Non-binary
|
|
9
|
+
* * `prefer_not_to_say` - Prefer not to say
|
|
10
|
+
* * `other` - Other
|
|
11
|
+
*/
|
|
12
|
+
export enum GenderEnum {
|
|
13
|
+
MALE = 'male',
|
|
14
|
+
FEMALE = 'female',
|
|
15
|
+
NON_BINARY = 'non_binary',
|
|
16
|
+
PREFER_NOT_TO_SAY = 'prefer_not_to_say',
|
|
17
|
+
OTHER = 'other',
|
|
18
|
+
}
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
/* generated using openapi-typescript-codegen -- do not edit */
|
|
2
|
+
/* istanbul ignore file */
|
|
3
|
+
/* tslint:disable */
|
|
4
|
+
/* eslint-disable */
|
|
5
|
+
import type { FieldTypeEnum } from './FieldTypeEnum';
|
|
6
|
+
export type PatchedDemographicsFieldDefinitionWrite = {
|
|
7
|
+
/**
|
|
8
|
+
* Human-readable field label displayed in forms.
|
|
9
|
+
*/
|
|
10
|
+
name?: string;
|
|
11
|
+
/**
|
|
12
|
+
* URL-safe identifier used as the key in custom_fields payloads.
|
|
13
|
+
*/
|
|
14
|
+
slug?: string;
|
|
15
|
+
/**
|
|
16
|
+
* Data type for this field. One of: text, number, date, boolean, select, multi_select.
|
|
17
|
+
*
|
|
18
|
+
* * `text` - Text
|
|
19
|
+
* * `number` - Number
|
|
20
|
+
* * `date` - Date
|
|
21
|
+
* * `boolean` - Boolean
|
|
22
|
+
* * `select` - Select
|
|
23
|
+
* * `multi_select` - Multi-select
|
|
24
|
+
*/
|
|
25
|
+
field_type?: FieldTypeEnum;
|
|
26
|
+
/**
|
|
27
|
+
* Whether this field must be filled in by the user.
|
|
28
|
+
*/
|
|
29
|
+
required?: boolean;
|
|
30
|
+
/**
|
|
31
|
+
* List of valid options for select/multi_select fields. Must be empty for other types.
|
|
32
|
+
*/
|
|
33
|
+
choices?: any;
|
|
34
|
+
/**
|
|
35
|
+
* Sort order for rendering fields in the UI. Lower values appear first.
|
|
36
|
+
*/
|
|
37
|
+
display_order?: number;
|
|
38
|
+
/**
|
|
39
|
+
* Inactive fields are hidden from forms and excluded from responses.
|
|
40
|
+
*/
|
|
41
|
+
active?: boolean;
|
|
42
|
+
/**
|
|
43
|
+
* Optional description or instructions shown alongside the field.
|
|
44
|
+
*/
|
|
45
|
+
description?: string;
|
|
46
|
+
};
|
|
47
|
+
|
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
/* generated using openapi-typescript-codegen -- do not edit */
|
|
2
|
+
/* istanbul ignore file */
|
|
3
|
+
/* tslint:disable */
|
|
4
|
+
/* eslint-disable */
|
|
5
|
+
import type { BlankEnum } from './BlankEnum';
|
|
6
|
+
import type { DisabilityStatusEnum } from './DisabilityStatusEnum';
|
|
7
|
+
import type { EthnicityEnum } from './EthnicityEnum';
|
|
8
|
+
import type { GenderEnum } from './GenderEnum';
|
|
9
|
+
export type UserDemographicsResponse = {
|
|
10
|
+
readonly username: string;
|
|
11
|
+
/**
|
|
12
|
+
* Gender identity. One of: male, female, non_binary, prefer_not_to_say, other.
|
|
13
|
+
*
|
|
14
|
+
* * `male` - Male
|
|
15
|
+
* * `female` - Female
|
|
16
|
+
* * `non_binary` - Non-binary
|
|
17
|
+
* * `prefer_not_to_say` - Prefer not to say
|
|
18
|
+
* * `other` - Other
|
|
19
|
+
*/
|
|
20
|
+
gender?: (GenderEnum | BlankEnum);
|
|
21
|
+
/**
|
|
22
|
+
* Ethnic background. See Ethnicity enum for valid values.
|
|
23
|
+
*
|
|
24
|
+
* * `american_indian_alaska_native` - American Indian or Alaska Native
|
|
25
|
+
* * `asian` - Asian
|
|
26
|
+
* * `black_african_american` - Black or African American
|
|
27
|
+
* * `hispanic_latino` - Hispanic or Latino
|
|
28
|
+
* * `native_hawaiian_pacific_islander` - Native Hawaiian or Other Pacific Islander
|
|
29
|
+
* * `white` - White
|
|
30
|
+
* * `two_or_more` - Two or more races
|
|
31
|
+
* * `prefer_not_to_say` - Prefer not to say
|
|
32
|
+
* * `other` - Other
|
|
33
|
+
*/
|
|
34
|
+
ethnicity?: (EthnicityEnum | BlankEnum);
|
|
35
|
+
/**
|
|
36
|
+
* Date of birth in YYYY-MM-DD format.
|
|
37
|
+
*/
|
|
38
|
+
date_of_birth?: string | null;
|
|
39
|
+
/**
|
|
40
|
+
* Primary language as ISO 639-1 code, e.g. 'en', 'es'.
|
|
41
|
+
*/
|
|
42
|
+
primary_language?: string;
|
|
43
|
+
/**
|
|
44
|
+
* Country of birth as ISO 3166-1 alpha-3 code, e.g. 'USA', 'MEX'.
|
|
45
|
+
*/
|
|
46
|
+
country_of_birth?: string;
|
|
47
|
+
/**
|
|
48
|
+
* Nationality as ISO 3166-1 alpha-3 code, e.g. 'USA', 'MEX'.
|
|
49
|
+
*/
|
|
50
|
+
nationality?: string;
|
|
51
|
+
/**
|
|
52
|
+
* Disability status. One of: yes, no, prefer_not_to_say.
|
|
53
|
+
*
|
|
54
|
+
* * `yes` - Yes
|
|
55
|
+
* * `no` - No
|
|
56
|
+
* * `prefer_not_to_say` - Prefer not to say
|
|
57
|
+
*/
|
|
58
|
+
disability_status?: (DisabilityStatusEnum | BlankEnum);
|
|
59
|
+
readonly custom_fields: string;
|
|
60
|
+
readonly created_at: string;
|
|
61
|
+
readonly updated_at: string;
|
|
62
|
+
};
|
|
63
|
+
|
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
/* generated using openapi-typescript-codegen -- do not edit */
|
|
2
|
+
/* istanbul ignore file */
|
|
3
|
+
/* tslint:disable */
|
|
4
|
+
/* eslint-disable */
|
|
5
|
+
import type { BlankEnum } from './BlankEnum';
|
|
6
|
+
import type { DisabilityStatusEnum } from './DisabilityStatusEnum';
|
|
7
|
+
import type { EthnicityEnum } from './EthnicityEnum';
|
|
8
|
+
import type { GenderEnum } from './GenderEnum';
|
|
9
|
+
export type UserDemographicsWrite = {
|
|
10
|
+
/**
|
|
11
|
+
* Gender identity. One of: male, female, non_binary, prefer_not_to_say, other.
|
|
12
|
+
*
|
|
13
|
+
* * `male` - Male
|
|
14
|
+
* * `female` - Female
|
|
15
|
+
* * `non_binary` - Non-binary
|
|
16
|
+
* * `prefer_not_to_say` - Prefer not to say
|
|
17
|
+
* * `other` - Other
|
|
18
|
+
*/
|
|
19
|
+
gender?: (GenderEnum | BlankEnum);
|
|
20
|
+
/**
|
|
21
|
+
* Ethnic background. See Ethnicity enum for valid values.
|
|
22
|
+
*
|
|
23
|
+
* * `american_indian_alaska_native` - American Indian or Alaska Native
|
|
24
|
+
* * `asian` - Asian
|
|
25
|
+
* * `black_african_american` - Black or African American
|
|
26
|
+
* * `hispanic_latino` - Hispanic or Latino
|
|
27
|
+
* * `native_hawaiian_pacific_islander` - Native Hawaiian or Other Pacific Islander
|
|
28
|
+
* * `white` - White
|
|
29
|
+
* * `two_or_more` - Two or more races
|
|
30
|
+
* * `prefer_not_to_say` - Prefer not to say
|
|
31
|
+
* * `other` - Other
|
|
32
|
+
*/
|
|
33
|
+
ethnicity?: (EthnicityEnum | BlankEnum);
|
|
34
|
+
/**
|
|
35
|
+
* Date of birth in YYYY-MM-DD format.
|
|
36
|
+
*/
|
|
37
|
+
date_of_birth?: string | null;
|
|
38
|
+
/**
|
|
39
|
+
* Primary language as ISO 639-1 code, e.g. 'en', 'es'.
|
|
40
|
+
*/
|
|
41
|
+
primary_language?: string;
|
|
42
|
+
/**
|
|
43
|
+
* Country of birth as ISO 3166-1 alpha-3 code, e.g. 'USA', 'MEX'.
|
|
44
|
+
*/
|
|
45
|
+
country_of_birth?: string;
|
|
46
|
+
/**
|
|
47
|
+
* Nationality as ISO 3166-1 alpha-3 code, e.g. 'USA', 'MEX'.
|
|
48
|
+
*/
|
|
49
|
+
nationality?: string;
|
|
50
|
+
/**
|
|
51
|
+
* Disability status. One of: yes, no, prefer_not_to_say.
|
|
52
|
+
*
|
|
53
|
+
* * `yes` - Yes
|
|
54
|
+
* * `no` - No
|
|
55
|
+
* * `prefer_not_to_say` - Prefer not to say
|
|
56
|
+
*/
|
|
57
|
+
disability_status?: (DisabilityStatusEnum | BlankEnum);
|
|
58
|
+
/**
|
|
59
|
+
* Custom field values as {slug: value} pairs. Slugs must match active field definitions.
|
|
60
|
+
*/
|
|
61
|
+
custom_fields?: Record<string, any>;
|
|
62
|
+
};
|
|
63
|
+
|