cxengage-javascript-sdk.modules.reporting

add-stat-subscription

(add-stat-subscription & args__9078__auto__)

bulk-add-stat-subscription

(bulk-add-stat-subscription & args__9078__auto__)

Adds multiple statisitics to the polling batch requests and automatically initiates a batch request when the stats have been added.

Returns the list the ids for the stats that were added (in the same order they were passed in)

CxEngage.reporting.bulkAddStatSubscription({
  queries: {{array of stat objects}}
});

Stat Objects:

{statistic: {{stat-name}},
 queueId: {{uuid}}, <Optional>
 resourceId: {{uuid}}, <Optional>
 statId: {{uuid}} <Optional>}

Possible errors: - Reporting: 12000 (on cxengage/reporting/batch-response topic)

bulk-remove-stat-subscription

(bulk-remove-stat-subscription & args__9078__auto__)

Removed multiple statistics from the polling batch requests.

Returns all of the stats that are being polled on after the removal.

CxEngage.reporting.bulkRemoveStatSubscription({
  statIds: {{array of statId}}
});

bulk-stat-query

(bulk-stat-query & args__9078__auto__)

get-available-stats

(get-available-stats & args__9078__auto__)

get-capacity

(get-capacity & args__9078__auto__)

get-contact-interaction-history

(get-contact-interaction-history & args__9078__auto__)

get-crm-interactions

(get-crm-interactions & args__9078__auto__)

get-email-transcripts

(get-email-transcripts & args__9078__auto__)
CxEngage.reporting.getEmailTranscripts({
  interactionId: {{uuid}}, (required)
  tenantId: {{uuid}} (optional)
});

Fetches a list of all email artifacts for the provided interaction-id

Topic: cxengage/interactions/email/transcript-received

Possible Errors: - [Entities: 11027](/cxengage-javascript-sdk.domain.errors.html#var-failed-to-get-artifacts-err - [Entities: 10009](/cxengage-javascript-sdk.domain.errors.html#var-failed-to-get-email-transcripts-err

get-interaction

(get-interaction & args__9078__auto__)

get-transcripts

(get-transcripts & args__9078__auto__)

remove-stat-subscription

(remove-stat-subscription & args__9078__auto__)

stat-query

(stat-query & args__9078__auto__)

trigger-batch

(trigger-batch & args__9078__auto__)