CustomFieldService
Index
Constructors
constructor
Parameters
httpRequest: BaseHttpRequest
Returns CustomFieldService
Properties
publicreadonlyhttpRequest
Methods
publiccustomfieldAdd
Parameters
__namedParameters: { requestBody: AddCustomFieldParam }
Returns CancelablePromise<{ data?: AddCustomFieldResponse }>
any Successfully added the custom field.
publiccustomfieldDelete
Delete custom field
Bot-compatible
Deletes a custom field for user profiles.Parameters
__namedParameters: { requestBody: DeleteCustomFieldParam }
Returns CancelablePromise<{ data?: DeleteCustomFieldResponse }>
any Successfully deleted the custom field.
publiccustomfieldList
List out custom fields
Bot-compatible
Lists out all registered custom fields.Returns CancelablePromise<{ data?: GetCustomFieldListResponse }>
any Successfully retrieved the custom fields.
publiccustomfieldUpdate
Update a custom field
Bot-compatible
Updates an existing custom field.Parameters
__namedParameters: { requestBody: UpdateCustomFieldParam }
Returns CancelablePromise<{ data?: UpdateCustomFieldResponse }>
any Successfully updated the custom field.
publiccustomfieldUserList
List out a user's custom fields in use
Bot-compatible
Retrieves the custom fields and their values used in a given user's profile.Parameters
__namedParameters: { userId: string }
Returns CancelablePromise<{ data?: GetUserCustomFieldListResponse }>
any Successfully retrieved the user's custom field data.
publiccustomfieldUserUpdate
Update a user's custom field data
Bot-compatible
Updates the values of the custom fields used in a given user's profile.Parameters
__namedParameters: { requestBody: UpdateUserCustomFieldParam }
Returns CancelablePromise<{ data?: UpdateUserCustomFieldResponse }>
any Successfully updated the user's custom field data.
Add a custom field
Bot-compatible
Adds a new custom field for user profiles.ApiError