mirror of
https://github.com/forcedotcom/afv-library.git
synced 2026-08-06 15:59:59 +08:00
236 lines
11 KiB
JSON
236 lines
11 KiB
JSON
|
|
{
|
|||
|
|
"sections": [
|
|||
|
|
"title",
|
|||
|
|
"description",
|
|||
|
|
"fields",
|
|||
|
|
"special_access_rules",
|
|||
|
|
"field_reference"
|
|||
|
|
],
|
|||
|
|
"title": "ServiceChannel - Data API",
|
|||
|
|
"description": "Represents a channel of work items that are received from your organization—for example, cases, chats, or leads. This object is available in API version 32.0 and later.",
|
|||
|
|
"fields_columns": [
|
|||
|
|
"type",
|
|||
|
|
"properties",
|
|||
|
|
"description",
|
|||
|
|
"relationship_name",
|
|||
|
|
"relationship_type",
|
|||
|
|
"refers_to"
|
|||
|
|
],
|
|||
|
|
"fields": {
|
|||
|
|
"AcwExtensionDuration": {
|
|||
|
|
"type": "int",
|
|||
|
|
"properties": "Create, Filter, Group, Nillable, Sort, Update",
|
|||
|
|
"description": "The maximum length of time, measured in seconds, an agent can spend on After Conversation Work (ACW) each time they extend the timer. You must set this field if HasAcwExtensionEnabled is set to true. Specify a value from 10 through 3600. Available only for service channels of type Messaging or Voice."
|
|||
|
|
},
|
|||
|
|
"AfterConvoWorkMaxTime": {
|
|||
|
|
"type": "int",
|
|||
|
|
"properties": "Create, Filter, Group, Nillable, Sort, Update",
|
|||
|
|
"description": "The maximum length of time, measured in seconds, an agent has to complete After Conversation Work (ACW). You must set this field if HasAfterConvoWorkTimer is set to true. Specify a value from 10 through 3600. Available only for service channels of type Messaging or Voice.For service channels of type Voice, this field is available in API version 52.0 and later. For service channels of type Messaging, this field is available in API version 56.0 and later."
|
|||
|
|
},
|
|||
|
|
"CapacityModel": {
|
|||
|
|
"type": "picklist",
|
|||
|
|
"properties": "Create, Filter, Group, Nillable, RestrictedPicklist, Sort, Update",
|
|||
|
|
"description": "The method that determines when an agent's capacity for a work item is released. With the Status-Based capacity routing model, work remains assigned and applied to an agent’s capacity until the work is completed or reassigned to a different agent. In contrast, the tab-based capacity model releases an agent’s capacity when a work tab is closed in the service console. Possible values are StatusBased and TabBased."
|
|||
|
|
},
|
|||
|
|
"CustomSoundId": {
|
|||
|
|
"type": "reference",
|
|||
|
|
"properties": "Create, Filter, Group, Nillable, Sort, Update",
|
|||
|
|
"description": "The ID of the static resource for the custom sound selected to play for the PresenceUserConfig object.",
|
|||
|
|
"relationship_name": "CustomSound",
|
|||
|
|
"relationship_type": "Lookup",
|
|||
|
|
"refers_to": "StaticResource"
|
|||
|
|
},
|
|||
|
|
"DeveloperName": {
|
|||
|
|
"type": "string",
|
|||
|
|
"properties": "Create, Filter, Group, Sort, Update",
|
|||
|
|
"description": "The unique name of the object in the API. This name can contain only underscores and alphanumeric characters, and must be unique in your org. It must begin with a letter, not include spaces, not end with an underscore, and not contain two consecutive underscores. In managed packages, this field prevents naming conflicts on package installations. With this field, a developer can change the object's name in a managed package and the changes are reflected in a subscriber's organization. When creating large sets of data, always specify a unique DeveloperName for each record. If no DeveloperName is specified, performance slows down while Salesforce generates one for each record."
|
|||
|
|
},
|
|||
|
|
"DoesCheckCapOnOwnerChange": {
|
|||
|
|
"type": "boolean",
|
|||
|
|
"properties": "Create, Defaulted on create, Filter, Group, Sort, Update",
|
|||
|
|
"description": "In the Status-Based capacity routing model, when work is reassigned to a specific agent, you can choose to override the capacity check and keep the work assigned to the agent. The default value is false."
|
|||
|
|
},
|
|||
|
|
"DoesCheckCapOnStatusChange": {
|
|||
|
|
"type": "boolean",
|
|||
|
|
"properties": "Create, Defaulted on create, Filter, Group, Sort, Update",
|
|||
|
|
"description": "In the Status-Based capacity routing model, when work is reopened, you can choose to override the capacity check keep the work assigned to a specific agent. The default value is false."
|
|||
|
|
},
|
|||
|
|
"DoesMinimizeWidgetOnAccept": {
|
|||
|
|
"type": "boolean",
|
|||
|
|
"properties": "Create, Defaulted on create, Filter, Group, Sort, Update",
|
|||
|
|
"description": "Automatically minimizes the Omni-Channel widget when an agent accepts work. The default value is false."
|
|||
|
|
},
|
|||
|
|
"DoesOverridePresenceAudio": {
|
|||
|
|
"type": "boolean",
|
|||
|
|
"properties": "Create, Defaulted on create, Filter, Group, Sort, Update",
|
|||
|
|
"description": "Service channel settings override the audio settings for each agent’s presence configuration. The default value is false."
|
|||
|
|
},
|
|||
|
|
"HasAcwExtensionEnabled": {
|
|||
|
|
"type": "boolean",
|
|||
|
|
"properties": "Create, Defaulted on create, Filter, Group, Sort, Update",
|
|||
|
|
"description": "If set to true, agents can extend their After Conversation Work (ACW) time. Available only if HasAfterConvoWorkTimer is set to true. If set to true, you must also set the AcwExtensionDuration and MaxExtensions fields. The default value is false. Available only for service channels of type Messaging or Voice.This field is available in API version 56.0 and later."
|
|||
|
|
},
|
|||
|
|
"HasAfterConvoWorkTimer": {
|
|||
|
|
"type": "boolean",
|
|||
|
|
"properties": "Create, Defaulted on create, Filter, Group, Sort, Update",
|
|||
|
|
"description": "If set to true, After Conversation Work (ACW) time can be configured for the channel. If set to true, you must also set the AfterConvoWorkMaxTime field. The default value is false. Available only for service channels of type Messaging or Voice.For service channels of type Voice, this field is available in API version 52.0 and later. For service channels of type messaging, this field is available in API version 56.0 and later."
|
|||
|
|
},
|
|||
|
|
"HasAutoAcceptEnabled": {
|
|||
|
|
"type": "boolean",
|
|||
|
|
"properties": "Create, Defaulted on create, Filter, Group, Sort, Update",
|
|||
|
|
"description": "Work items in a service channel open automatically in the agent’s workspace so that the agent doesn’t have to manually accept them. The default value is false."
|
|||
|
|
},
|
|||
|
|
"Language": {
|
|||
|
|
"type": "picklist",
|
|||
|
|
"properties": "Create, Defaulted on create, Filter, Group, Nillable, Restricted picklist, Sort, Update",
|
|||
|
|
"description": "The language of the service channel."
|
|||
|
|
},
|
|||
|
|
"MasterLabel": {
|
|||
|
|
"type": "string",
|
|||
|
|
"properties": "Create, Filter, Group, Sort, Update",
|
|||
|
|
"description": "The label of the service channel."
|
|||
|
|
},
|
|||
|
|
"MaxExtensions": {
|
|||
|
|
"type": "picklist",
|
|||
|
|
"properties": "Create, Filter, Group, Nillable, Restricted picklist, Sort, Update",
|
|||
|
|
"description": "The maximum number of times an agent can extend their After Work Conversation (ACW) time. Specify a value from 1 through 10. You must set this field if HasAcwExtensionEnabled is set to true. Available only for service channels of type Messaging or Voice. This field is available in API version 56.0 and later."
|
|||
|
|
},
|
|||
|
|
"RelatedEntity": {
|
|||
|
|
"type": "picklist",
|
|||
|
|
"properties": "Create, Filter, Group, Restricted picklist, Sort, Update",
|
|||
|
|
"description": "The type of object that’s associated with this service channel. This field is unique within your organization."
|
|||
|
|
},
|
|||
|
|
"RoutingConfigurationId": {
|
|||
|
|
"type": "reference",
|
|||
|
|
"properties": "Create, Filter, Group, Nillable, Sort, Update",
|
|||
|
|
"description": "The ID of the routing configuration. This field is a relationship field. This field is available in API version 63.0 and later.",
|
|||
|
|
"relationship_name": "RoutingConfiguration",
|
|||
|
|
"refers_to": "QueueRoutingConfig"
|
|||
|
|
},
|
|||
|
|
"SecRoutingPriorityField": {
|
|||
|
|
"type": "picklist",
|
|||
|
|
"properties": "Create, Filter, Group, Nillable, Restricted picklist, Sort, Update",
|
|||
|
|
"description": "The name of the standard field or the id of the custom field that is used for secondary routing priority. This field is unique within your organization."
|
|||
|
|
},
|
|||
|
|
"SoundLength": {
|
|||
|
|
"type": "int",
|
|||
|
|
"properties": "Create, Filter, Group, Nillable, Sort, Update",
|
|||
|
|
"description": "The length of time that a sound plays when new work is assigned to an agent."
|
|||
|
|
},
|
|||
|
|
"StatusField": {
|
|||
|
|
"type": "picklist",
|
|||
|
|
"properties": "Create, Filter, Group, Nillable, Restricted picklist, Sort, Update",
|
|||
|
|
"description": "The picklist field that you use to track work status in the Status-Based capacity routing model. Use ServiceChannelStatusField to specify the values that indicate completed and in-progress work-item status."
|
|||
|
|
}
|
|||
|
|
},
|
|||
|
|
"special_access_rules": "To access this object, Omni-Channel must be enabled. As of Spring ’20 and later, only authenticated internal and external users can access this object.\n\nTo access this object, Omni-Channel must be enabled.\n\nAs of Spring ’20 and later, only authenticated internal and external users can access this object.",
|
|||
|
|
"field_reference": {
|
|||
|
|
"AcwExtensionDuration": {
|
|||
|
|
"field_label": "Extension duration (seconds)",
|
|||
|
|
"type": "int",
|
|||
|
|
"digits": "9"
|
|||
|
|
},
|
|||
|
|
"AfterConvoWorkMaxTime": {
|
|||
|
|
"field_label": "Duration (seconds)",
|
|||
|
|
"type": "int",
|
|||
|
|
"digits": "9"
|
|||
|
|
},
|
|||
|
|
"CreatedById": {
|
|||
|
|
"field_label": "Created By ID",
|
|||
|
|
"type": "reference",
|
|||
|
|
"length": "18"
|
|||
|
|
},
|
|||
|
|
"CreatedDate": {
|
|||
|
|
"field_label": "Created Date",
|
|||
|
|
"type": "datetime"
|
|||
|
|
},
|
|||
|
|
"CustomSoundId": {
|
|||
|
|
"field_label": "Static Resource ID",
|
|||
|
|
"type": "reference",
|
|||
|
|
"length": "18"
|
|||
|
|
},
|
|||
|
|
"DeveloperName": {
|
|||
|
|
"field_label": "Developer Name",
|
|||
|
|
"type": "string",
|
|||
|
|
"length": "80"
|
|||
|
|
},
|
|||
|
|
"DoesMinimizeWidgetOnAccept": {
|
|||
|
|
"field_label": "Minimize Omni-Channel component when work is accepted",
|
|||
|
|
"type": "boolean"
|
|||
|
|
},
|
|||
|
|
"DoesOverridePresenceAudio": {
|
|||
|
|
"field_label": "Override agents' audio settings",
|
|||
|
|
"type": "boolean"
|
|||
|
|
},
|
|||
|
|
"HasAcwExtensionEnabled": {
|
|||
|
|
"field_label": "Let agent extend timer",
|
|||
|
|
"type": "boolean"
|
|||
|
|
},
|
|||
|
|
"HasAfterConvoWorkTimer": {
|
|||
|
|
"field_label": "Override After Conversation Work settings in presence configuration",
|
|||
|
|
"type": "boolean"
|
|||
|
|
},
|
|||
|
|
"HasAutoAcceptEnabled": {
|
|||
|
|
"field_label": "Automatically accept work requests",
|
|||
|
|
"type": "boolean"
|
|||
|
|
},
|
|||
|
|
"Id": {
|
|||
|
|
"field_label": "Service Channel ID",
|
|||
|
|
"type": "id",
|
|||
|
|
"length": "18"
|
|||
|
|
},
|
|||
|
|
"IsDeleted": {
|
|||
|
|
"field_label": "Deleted",
|
|||
|
|
"type": "boolean"
|
|||
|
|
},
|
|||
|
|
"Language": {
|
|||
|
|
"field_label": "Master Language",
|
|||
|
|
"type": "picklist",
|
|||
|
|
"length": "40"
|
|||
|
|
},
|
|||
|
|
"LastModifiedById": {
|
|||
|
|
"field_label": "Last Modified By ID",
|
|||
|
|
"type": "reference",
|
|||
|
|
"length": "18"
|
|||
|
|
},
|
|||
|
|
"LastModifiedDate": {
|
|||
|
|
"field_label": "Last Modified Date",
|
|||
|
|
"type": "datetime"
|
|||
|
|
},
|
|||
|
|
"MasterLabel": {
|
|||
|
|
"field_label": "Service Channel Name",
|
|||
|
|
"type": "string",
|
|||
|
|
"length": "80"
|
|||
|
|
},
|
|||
|
|
"MaxExtensions": {
|
|||
|
|
"field_label": "Max Extensions",
|
|||
|
|
"type": "picklist",
|
|||
|
|
"length": "255"
|
|||
|
|
},
|
|||
|
|
"RelatedEntity": {
|
|||
|
|
"field_label": "Custom Object Definition ID",
|
|||
|
|
"type": "picklist",
|
|||
|
|
"length": "255"
|
|||
|
|
},
|
|||
|
|
"RoutingConfigurationId": {
|
|||
|
|
"field_label": "Routing Configuration ID",
|
|||
|
|
"type": "reference",
|
|||
|
|
"length": "18"
|
|||
|
|
},
|
|||
|
|
"SoundLength": {
|
|||
|
|
"field_label": "Sound Length (Seconds)",
|
|||
|
|
"type": "int",
|
|||
|
|
"digits": "9"
|
|||
|
|
},
|
|||
|
|
"SystemModstamp": {
|
|||
|
|
"field_label": "System Modstamp",
|
|||
|
|
"type": "datetime"
|
|||
|
|
}
|
|||
|
|
},
|
|||
|
|
"field_reference_columns": [
|
|||
|
|
"field_label",
|
|||
|
|
"type",
|
|||
|
|
"digits",
|
|||
|
|
"length"
|
|||
|
|
]
|
|||
|
|
}
|