1.3.1 • Published 10 months ago

videoengager-js-sdk v1.3.1

Weekly downloads
-
License
MIT
Repository
github
Last release
10 months ago

VideoEngager Javascript SDK

License Version TypeScript JavaScript NodeJS ReactJS AngularJS VueJS ReactNative Ionic Cordova Ember.js NextJS Nest.js vite

VideoEngager Javascript SDK - Javascript SDK for VideoEngager API

  • API version: 1.0.0
  • Package version: 1.3.1

The VideoEngager Javascript SDK implements the client-side libraries used by applications using VideoEngager API services. This SDK is distributed via:


Table of Contents


Installation

Install the package from npm:

npm install videoengager-js-sdk@latest --save

Browser

The package also works in the browser environment. The client is exposed as SmartVideoSdk global variable when using from https://unpkg.com/videoengager-js-sdk@1.3.1/dist/browser/main.js file.

<script src="https://unpkg.com/videoengager-js-sdk@1.3.1/dist/browser/main.js"></script>
<script>
  var smartVideoSdk = SmartVideoSdk
</script>

You can also load VideoEngager Javascript SDK packages as script modules in browsers that support native ES modules.

<script type="module">
  import * as smartVideoSdk from 'https://unpkg.com/videoengager-js-sdk@1.3.1/dist/esm/index.js';
</script>

Getting Started

Please follow the installation instruction and execute the following JS code:

var smartVideoSDK = require('videoengager-js-sdk');

const configuration = {
    pak: '134124-5134123-52341-213',
    basePath: 'https://prod.videoengager.com',
    externalId: 'Home',
    email: 'x@videoengager.com',
  };

smartVideoSDK.initializeSmartVideoClient(configuration);
// .. do something with the client

initialization of the client generate token and store it to be used in all the requests. instead of generating accessToken using PAK and email, you can use your own accessToken.

var smartVideoSDK = require('videoengager-js-sdk');

const configuration = {
    accessToken: 'yourAccessToken'
  };
smartVideoSDK.initializeSmartVideoClient(configuration)

some of the requests are not required to be authenticated. to use the client without authentication, you can use the following code:

var smartVideoSDK = require('videoengager-js-sdk');
const configuration = {
    basePath: 'https://prod.videoengager.com'
  };

smartVideoSDK.initializeSmartVideoClient(configuration);
// .. do something with the client

Client API Reference

authentication

authenticatePartner

Authenticate Using Partner Access Key

This API will generate a token for the partner to use in the SDK

Requires Authentication: false

Parameters

  • pak (required) - TYPE: string - Partner API Key
  • externalId (required) - TYPE: string - External ID
  • email (required) - TYPE: string - partner email

const response = await smartVideoSDK.authentication.authenticatePartner({
    pak,
    externalId,
    email
});

console.log(response.data); // response   

Return Type

returns: AxiosPromise<AuthenticatePartner200Response>

Example Response:

{
  "token_expiration" : 0,
  "token" : "eyJhbGciOiJIUzI1NXssInR5cCI6IkpXVCJ9.eyJfaWQiOiI2M2UxODhlNFEcwTNjNTY4ODAzYTljZTYiLCJwYWsiOiJERVYyIiwiaWF0IjoxNjc1NzkwODI5LCJleHAiOjE2NzgzODI4Mjl9.wIz7qVBUaWMxfH-IDCSkSWWsmKtc2QYPQoHpLUtLlAM"
}

callbacks

createCallback

Create New Genesys Callback

Notes. URL is required, transferID is needed if you want to be able to deactive it later, pin will not be applied if brokerage settings doesn\'t allow it, if code is not provided, code automatically will be generated.

Requires Authentication: true

Parameters

const response = await smartVideoSDK.callbacks.createCallback({
    requestBody,
    tenantId
});

console.log(response.data); // response   

Return Type

returns: AxiosPromise<CallbackObject>

Example Response:

{
  "genesys" : {
    "queueId" : "a1731678-13f6-4ab0-ac6d-f82813b7abee",
    "scriptId" : "950be2a3-65b7-461e-8ba2-f8fb62c2d95a",
    "conversation" : {
      "id" : "950be2a3-65b7-461e-8ba2-f8fb62c2d95a"
    }
  },
  "videoengager" : {
    "date" : 1676303962674,
    "code" : "k8DOH4",
    "subject" : "bla bla",
    "created" : "2023-02-13T15:59:22.684Z",
    "autoAnswer" : true,
    "active" : true,
    "meetingUrl" : "https://dev.videoengager.com/ve/k8DOH4",
    "duration" : 60,
    "phone" : "+971585194108",
    "name" : "Mamoun H",
    "agentUrl" : "https://dev.videoengager.com/ve/iqTF6W",
    "email" : "maamoon@callback.com",
    "scheduleId" : "82212b25-0976-2048-ed3e-6cb1fac47977",
    "customAttributes" : {
      "additionalProp1" : "value1",
      "additionalProp3" : "value2"
    }
  },
  "emailSent" : true,
  "icsCalendarData" : "BEGIN:VCALENDAR VERSION:2.0 CALSCALE:GREGORIAN PRODID:adamgibbons/ics METHOD:REQUEST X-PUBLISHED-TTL:PT1H BEGIN:VEVENT UID:82212b25-0976-2048-ed3e-6cb1fac47977 SUMMARY:Video Meeting DTSTAMP:20230213T155700Z DTSTART:20230213T155900Z SEQUENCE:1 DESCRIPTION:Start your video meeting by opening URL in your browser URL:https://dev.videoengager.com/ve/k8DOH4 LOCATION:https://dev.videoengager.com/ve/k8DOH4 STATUS:CONFIRMED CREATED:20230213T155900Z ATTENDEE;RSVP=TRUE;ROLE=OPT-PARTICIPANT;PARTSTAT=ACCEPTED;CN=Mamoun unde fined:mailto:maamoon@callback.com DURATION:PT60M END:VEVENT END:VCALENDAR"
}

deleteCallbackByConversationId

remove callback by conversation ID

used to deactive remove callback by conversation ID

Requires Authentication: true

Parameters

  • tenantId (required) - TYPE: string - Tennant ID
  • conversationId (required) - TYPE: string - Conversation ID

const response = await smartVideoSDK.callbacks.deleteCallbackByConversationId({
    tenantId,
    conversationId
});

console.log(response.data); // response   

Return Type

returns: AxiosPromise<CallbackObject>

Example Response:

{
  "genesys" : {
    "queueId" : "a1731678-13f6-4ab0-ac6d-f82813b7abee",
    "scriptId" : "950be2a3-65b7-461e-8ba2-f8fb62c2d95a",
    "conversation" : {
      "id" : "950be2a3-65b7-461e-8ba2-f8fb62c2d95a"
    }
  },
  "videoengager" : {
    "date" : 1676303962674,
    "code" : "k8DOH4",
    "subject" : "bla bla",
    "created" : "2023-02-13T15:59:22.684Z",
    "autoAnswer" : true,
    "active" : true,
    "meetingUrl" : "https://dev.videoengager.com/ve/k8DOH4",
    "duration" : 60,
    "phone" : "+971585194108",
    "name" : "Mamoun H",
    "agentUrl" : "https://dev.videoengager.com/ve/iqTF6W",
    "email" : "maamoon@callback.com",
    "scheduleId" : "82212b25-0976-2048-ed3e-6cb1fac47977",
    "customAttributes" : {
      "additionalProp1" : "value1",
      "additionalProp3" : "value2"
    }
  },
  "emailSent" : true,
  "icsCalendarData" : "BEGIN:VCALENDAR VERSION:2.0 CALSCALE:GREGORIAN PRODID:adamgibbons/ics METHOD:REQUEST X-PUBLISHED-TTL:PT1H BEGIN:VEVENT UID:82212b25-0976-2048-ed3e-6cb1fac47977 SUMMARY:Video Meeting DTSTAMP:20230213T155700Z DTSTART:20230213T155900Z SEQUENCE:1 DESCRIPTION:Start your video meeting by opening URL in your browser URL:https://dev.videoengager.com/ve/k8DOH4 LOCATION:https://dev.videoengager.com/ve/k8DOH4 STATUS:CONFIRMED CREATED:20230213T155900Z ATTENDEE;RSVP=TRUE;ROLE=OPT-PARTICIPANT;PARTSTAT=ACCEPTED;CN=Mamoun unde fined:mailto:maamoon@callback.com DURATION:PT60M END:VEVENT END:VCALENDAR"
}

getCallbackByConversationId

Get Single Callback

used to retrieve callback by conversation id

Requires Authentication: true

Parameters

  • tenantId (required) - TYPE: string - Tennant ID
  • conversationId (required) - TYPE: string - Conversation ID

const response = await smartVideoSDK.callbacks.getCallbackByConversationId({
    tenantId,
    conversationId
});

console.log(response.data); // response   

Return Type

returns: AxiosPromise<CallbackObject>

Example Response:

{
  "genesys" : {
    "queueId" : "a1731678-13f6-4ab0-ac6d-f82813b7abee",
    "scriptId" : "950be2a3-65b7-461e-8ba2-f8fb62c2d95a",
    "conversation" : {
      "id" : "950be2a3-65b7-461e-8ba2-f8fb62c2d95a"
    }
  },
  "videoengager" : {
    "date" : 1676303962674,
    "code" : "k8DOH4",
    "subject" : "bla bla",
    "created" : "2023-02-13T15:59:22.684Z",
    "autoAnswer" : true,
    "active" : true,
    "meetingUrl" : "https://dev.videoengager.com/ve/k8DOH4",
    "duration" : 60,
    "phone" : "+971585194108",
    "name" : "Mamoun H",
    "agentUrl" : "https://dev.videoengager.com/ve/iqTF6W",
    "email" : "maamoon@callback.com",
    "scheduleId" : "82212b25-0976-2048-ed3e-6cb1fac47977",
    "customAttributes" : {
      "additionalProp1" : "value1",
      "additionalProp3" : "value2"
    }
  },
  "emailSent" : true,
  "icsCalendarData" : "BEGIN:VCALENDAR VERSION:2.0 CALSCALE:GREGORIAN PRODID:adamgibbons/ics METHOD:REQUEST X-PUBLISHED-TTL:PT1H BEGIN:VEVENT UID:82212b25-0976-2048-ed3e-6cb1fac47977 SUMMARY:Video Meeting DTSTAMP:20230213T155700Z DTSTART:20230213T155900Z SEQUENCE:1 DESCRIPTION:Start your video meeting by opening URL in your browser URL:https://dev.videoengager.com/ve/k8DOH4 LOCATION:https://dev.videoengager.com/ve/k8DOH4 STATUS:CONFIRMED CREATED:20230213T155900Z ATTENDEE;RSVP=TRUE;ROLE=OPT-PARTICIPANT;PARTSTAT=ACCEPTED;CN=Mamoun unde fined:mailto:maamoon@callback.com DURATION:PT60M END:VEVENT END:VCALENDAR"
}

getTennantAvailability

Get Availablity of tennant for tennant

should return Object of dates strings with true or false

Requires Authentication: false

Parameters

  • tenantId (required) - TYPE: string - Tennant ID
  • numberOfDays (required) - TYPE: number - number of days to return
  • start (required) - TYPE: string - start date (Number, Date ISO String, or Date)

const response = await smartVideoSDK.callbacks.getTennantAvailability({
    tenantId,
    numberOfDays,
    start
});

console.log(response.data); // response   

Return Type

returns: AxiosPromise<[{ key: string: number; }](#{ key: string: number; })>

Example Response:

{
  "2023-02-13T15:59:22.684Z" : 1,
  "2023-02-13T16:59:22.684Z" : 1,
  "2023-02-13T17:59:22.684Z" : 0
}

getTennantCalendar

Get Calendar configuration of tennant

Calendar configuration of tennant can be set in Settings page

Requires Authentication: false

Parameters

  • tenantId (required) - TYPE: string - Tennant ID

const response = await smartVideoSDK.callbacks.getTennantCalendar({
    tenantId
});

console.log(response.data); // response   

Return Type

returns: AxiosPromise<string>


listCallbacks

List Callbacks for specific tennant.

Returns a list of callbacks for specific tenant and period with Server Side Pagination, Sorting and Filtering.

Requires Authentication: true

Parameters

  • tenantId (required) - TYPE: string - Tenant ID
  • from (required) - TYPE: string - start of the period
  • to (required) - TYPE: string - End of the period

  • preferedAgent - TYPE: string - filter result by preferred agent

  • orderBy - TYPE: 'duration' | 'created' | 'date' | 'canceled'(#'duration' | 'created' | 'date' | 'canceled') - Order by (default is date)
  • asc - TYPE: 1 | -1(#1 | -1) - Order by ascending or descending
  • pageSize - TYPE: number - Page size
  • page - TYPE: number - Page number
  • searchBy - TYPE: string - Search by specific field (will search in all fields if not specified) <br /> Allowed values: visitor.name, visitor.email, conversationId, visitor.phone, \"customAttributes.\" (where * is the name of the custom attribute)
  • searchString - TYPE: string - Search string
  • active - TYPE: boolean - Filter by active or inactive
  • queueId - TYPE: string - Filter by queue
const response = await smartVideoSDK.callbacks.listCallbacks({
    tenantId,
    from,
    to,
    preferedAgent,
    orderBy,
    asc,
    pageSize,
    page,
    searchBy,
    searchString,
    active,
    queueId
});

console.log(response.data); // response   

Return Type

returns: AxiosPromise<CallbacksList>

Example Response:

{
  "queueId" : "82212b25-0976-2048-ed3e-6cb1fac47977",
  "data" : [ {
    "genesys" : {
      "queueId" : "a1731678-13f6-4ab0-ac6d-f82813b7abee",
      "scriptId" : "950be2a3-65b7-461e-8ba2-f8fb62c2d95a",
      "conversation" : {
        "id" : "950be2a3-65b7-461e-8ba2-f8fb62c2d95a"
      }
    },
    "videoengager" : {
      "date" : 1676303962674,
      "code" : "k8DOH4",
      "subject" : "bla bla",
      "created" : "2023-02-13T15:59:22.684Z",
      "autoAnswer" : true,
      "active" : true,
      "meetingUrl" : "https://dev.videoengager.com/ve/k8DOH4",
      "duration" : 60,
      "phone" : "+971585194108",
      "name" : "Mamoun H",
      "agentUrl" : "https://dev.videoengager.com/ve/iqTF6W",
      "email" : "maamoon@callback.com",
      "scheduleId" : "82212b25-0976-2048-ed3e-6cb1fac47977",
      "customAttributes" : {
        "additionalProp1" : "value1",
        "additionalProp3" : "value2"
      }
    },
    "emailSent" : true,
    "icsCalendarData" : "BEGIN:VCALENDAR VERSION:2.0 CALSCALE:GREGORIAN PRODID:adamgibbons/ics METHOD:REQUEST X-PUBLISHED-TTL:PT1H BEGIN:VEVENT UID:82212b25-0976-2048-ed3e-6cb1fac47977 SUMMARY:Video Meeting DTSTAMP:20230213T155700Z DTSTART:20230213T155900Z SEQUENCE:1 DESCRIPTION:Start your video meeting by opening URL in your browser URL:https://dev.videoengager.com/ve/k8DOH4 LOCATION:https://dev.videoengager.com/ve/k8DOH4 STATUS:CONFIRMED CREATED:20230213T155900Z ATTENDEE;RSVP=TRUE;ROLE=OPT-PARTICIPANT;PARTSTAT=ACCEPTED;CN=Mamoun unde fined:mailto:maamoon@callback.com DURATION:PT60M END:VEVENT END:VCALENDAR"
  }, {
    "genesys" : {
      "queueId" : "a1731678-13f6-4ab0-ac6d-f82813b7abee",
      "scriptId" : "950be2a3-65b7-461e-8ba2-f8fb62c2d95a",
      "conversation" : {
        "id" : "950be2a3-65b7-461e-8ba2-f8fb62c2d95a"
      }
    },
    "videoengager" : {
      "date" : 1676303962674,
      "code" : "k8DOH4",
      "subject" : "bla bla",
      "created" : "2023-02-13T15:59:22.684Z",
      "autoAnswer" : true,
      "active" : true,
      "meetingUrl" : "https://dev.videoengager.com/ve/k8DOH4",
      "duration" : 60,
      "phone" : "+971585194108",
      "name" : "Mamoun H",
      "agentUrl" : "https://dev.videoengager.com/ve/iqTF6W",
      "email" : "maamoon@callback.com",
      "scheduleId" : "82212b25-0976-2048-ed3e-6cb1fac47977",
      "customAttributes" : {
        "additionalProp1" : "value1",
        "additionalProp3" : "value2"
      }
    },
    "emailSent" : true,
    "icsCalendarData" : "BEGIN:VCALENDAR VERSION:2.0 CALSCALE:GREGORIAN PRODID:adamgibbons/ics METHOD:REQUEST X-PUBLISHED-TTL:PT1H BEGIN:VEVENT UID:82212b25-0976-2048-ed3e-6cb1fac47977 SUMMARY:Video Meeting DTSTAMP:20230213T155700Z DTSTART:20230213T155900Z SEQUENCE:1 DESCRIPTION:Start your video meeting by opening URL in your browser URL:https://dev.videoengager.com/ve/k8DOH4 LOCATION:https://dev.videoengager.com/ve/k8DOH4 STATUS:CONFIRMED CREATED:20230213T155900Z ATTENDEE;RSVP=TRUE;ROLE=OPT-PARTICIPANT;PARTSTAT=ACCEPTED;CN=Mamoun unde fined:mailto:maamoon@callback.com DURATION:PT60M END:VEVENT END:VCALENDAR"
  }, {
    "genesys" : {
      "queueId" : "a1731678-13f6-4ab0-ac6d-f82813b7abee",
      "scriptId" : "950be2a3-65b7-461e-8ba2-f8fb62c2d95a",
      "conversation" : {
        "id" : "950be2a3-65b7-461e-8ba2-f8fb62c2d95a"
      }
    },
    "videoengager" : {
      "date" : 1676303962674,
      "code" : "k8DOH4",
      "subject" : "bla bla",
      "created" : "2023-02-13T15:59:22.684Z",
      "autoAnswer" : true,
      "active" : true,
      "meetingUrl" : "https://dev.videoengager.com/ve/k8DOH4",
      "duration" : 60,
      "phone" : "+971585194108",
      "name" : "Mamoun H",
      "agentUrl" : "https://dev.videoengager.com/ve/iqTF6W",
      "email" : "maamoon@callback.com",
      "scheduleId" : "82212b25-0976-2048-ed3e-6cb1fac47977",
      "customAttributes" : {
        "additionalProp1" : "value1",
        "additionalProp3" : "value2"
      }
    },
    "emailSent" : true,
    "icsCalendarData" : "BEGIN:VCALENDAR VERSION:2.0 CALSCALE:GREGORIAN PRODID:adamgibbons/ics METHOD:REQUEST X-PUBLISHED-TTL:PT1H BEGIN:VEVENT UID:82212b25-0976-2048-ed3e-6cb1fac47977 SUMMARY:Video Meeting DTSTAMP:20230213T155700Z DTSTART:20230213T155900Z SEQUENCE:1 DESCRIPTION:Start your video meeting by opening URL in your browser URL:https://dev.videoengager.com/ve/k8DOH4 LOCATION:https://dev.videoengager.com/ve/k8DOH4 STATUS:CONFIRMED CREATED:20230213T155900Z ATTENDEE;RSVP=TRUE;ROLE=OPT-PARTICIPANT;PARTSTAT=ACCEPTED;CN=Mamoun unde fined:mailto:maamoon@callback.com DURATION:PT60M END:VEVENT END:VCALENDAR"
  }, {
    "genesys" : {
      "queueId" : "a1731678-13f6-4ab0-ac6d-f82813b7abee",
      "scriptId" : "950be2a3-65b7-461e-8ba2-f8fb62c2d95a",
      "conversation" : {
        "id" : "950be2a3-65b7-461e-8ba2-f8fb62c2d95a"
      }
    },
    "videoengager" : {
      "date" : 1676303962674,
      "code" : "k8DOH4",
      "subject" : "bla bla",
      "created" : "2023-02-13T15:59:22.684Z",
      "autoAnswer" : true,
      "active" : true,
      "meetingUrl" : "https://dev.videoengager.com/ve/k8DOH4",
      "duration" : 60,
      "phone" : "+971585194108",
      "name" : "Mamoun H",
      "agentUrl" : "https://dev.videoengager.com/ve/iqTF6W",
      "email" : "maamoon@callback.com",
      "scheduleId" : "82212b25-0976-2048-ed3e-6cb1fac47977",
      "customAttributes" : {
        "additionalProp1" : "value1",
        "additionalProp3" : "value2"
      }
    },
    "emailSent" : true,
    "icsCalendarData" : "BEGIN:VCALENDAR VERSION:2.0 CALSCALE:GREGORIAN PRODID:adamgibbons/ics METHOD:REQUEST X-PUBLISHED-TTL:PT1H BEGIN:VEVENT UID:82212b25-0976-2048-ed3e-6cb1fac47977 SUMMARY:Video Meeting DTSTAMP:20230213T155700Z DTSTART:20230213T155900Z SEQUENCE:1 DESCRIPTION:Start your video meeting by opening URL in your browser URL:https://dev.videoengager.com/ve/k8DOH4 LOCATION:https://dev.videoengager.com/ve/k8DOH4 STATUS:CONFIRMED CREATED:20230213T155900Z ATTENDEE;RSVP=TRUE;ROLE=OPT-PARTICIPANT;PARTSTAT=ACCEPTED;CN=Mamoun unde fined:mailto:maamoon@callback.com DURATION:PT60M END:VEVENT END:VCALENDAR"
  }, {
    "genesys" : {
      "queueId" : "a1731678-13f6-4ab0-ac6d-f82813b7abee",
      "scriptId" : "950be2a3-65b7-461e-8ba2-f8fb62c2d95a",
      "conversation" : {
        "id" : "950be2a3-65b7-461e-8ba2-f8fb62c2d95a"
      }
    },
    "videoengager" : {
      "date" : 1676303962674,
      "code" : "k8DOH4",
      "subject" : "bla bla",
      "created" : "2023-02-13T15:59:22.684Z",
      "autoAnswer" : true,
      "active" : true,
      "meetingUrl" : "https://dev.videoengager.com/ve/k8DOH4",
      "duration" : 60,
      "phone" : "+971585194108",
      "name" : "Mamoun H",
      "agentUrl" : "https://dev.videoengager.com/ve/iqTF6W",
      "email" : "maamoon@callback.com",
      "scheduleId" : "82212b25-0976-2048-ed3e-6cb1fac47977",
      "customAttributes" : {
        "additionalProp1" : "value1",
        "additionalProp3" : "value2"
      }
    },
    "emailSent" : true,
    "icsCalendarData" : "BEGIN:VCALENDAR VERSION:2.0 CALSCALE:GREGORIAN PRODID:adamgibbons/ics METHOD:REQUEST X-PUBLISHED-TTL:PT1H BEGIN:VEVENT UID:82212b25-0976-2048-ed3e-6cb1fac47977 SUMMARY:Video Meeting DTSTAMP:20230213T155700Z DTSTART:20230213T155900Z SEQUENCE:1 DESCRIPTION:Start your video meeting by opening URL in your browser URL:https://dev.videoengager.com/ve/k8DOH4 LOCATION:https://dev.videoengager.com/ve/k8DOH4 STATUS:CONFIRMED CREATED:20230213T155900Z ATTENDEE;RSVP=TRUE;ROLE=OPT-PARTICIPANT;PARTSTAT=ACCEPTED;CN=Mamoun unde fined:mailto:maamoon@callback.com DURATION:PT60M END:VEVENT END:VCALENDAR"
  } ],
  "preferedAgent" : "82212b25-0976-2048-ed3e-6cb1fac47977",
  "count" : 52,
  "searchBy" : "customAttributes.customID",
  "pageSize" : 100,
  "orderBy" : "date",
  "active" : true,
  "asc" : 1,
  "searchString" : "asdasd",
  "from" : "2023-02-13T15:59:22.684Z",
  "to" : "2023-02-13T15:59:22.684Z",
  "page" : 1
}

removeCallbackByScheduleId

remove callback by schedule ID

used to deactive remove callback by schedule ID

Requires Authentication: true

Parameters

  • tenantId (required) - TYPE: string - Tennant ID
  • scheduleId (required) - TYPE: string - Schedule ID

const response = await smartVideoSDK.callbacks.removeCallbackByScheduleId({
    tenantId,
    scheduleId
});

console.log(response.data); // response   

Return Type

returns: AxiosPromise<CallbackObject>

Example Response:

{
  "genesys" : {
    "queueId" : "a1731678-13f6-4ab0-ac6d-f82813b7abee",
    "scriptId" : "950be2a3-65b7-461e-8ba2-f8fb62c2d95a",
    "conversation" : {
      "id" : "950be2a3-65b7-461e-8ba2-f8fb62c2d95a"
    }
  },
  "videoengager" : {
    "date" : 1676303962674,
    "code" : "k8DOH4",
    "subject" : "bla bla",
    "created" : "2023-02-13T15:59:22.684Z",
    "autoAnswer" : true,
    "active" : true,
    "meetingUrl" : "https://dev.videoengager.com/ve/k8DOH4",
    "duration" : 60,
    "phone" : "+971585194108",
    "name" : "Mamoun H",
    "agentUrl" : "https://dev.videoengager.com/ve/iqTF6W",
    "email" : "maamoon@callback.com",
    "scheduleId" : "82212b25-0976-2048-ed3e-6cb1fac47977",
    "customAttributes" : {
      "additionalProp1" : "value1",
      "additionalProp3" : "value2"
    }
  },
  "emailSent" : true,
  "icsCalendarData" : "BEGIN:VCALENDAR VERSION:2.0 CALSCALE:GREGORIAN PRODID:adamgibbons/ics METHOD:REQUEST X-PUBLISHED-TTL:PT1H BEGIN:VEVENT UID:82212b25-0976-2048-ed3e-6cb1fac47977 SUMMARY:Video Meeting DTSTAMP:20230213T155700Z DTSTART:20230213T155900Z SEQUENCE:1 DESCRIPTION:Start your video meeting by opening URL in your browser URL:https://dev.videoengager.com/ve/k8DOH4 LOCATION:https://dev.videoengager.com/ve/k8DOH4 STATUS:CONFIRMED CREATED:20230213T155900Z ATTENDEE;RSVP=TRUE;ROLE=OPT-PARTICIPANT;PARTSTAT=ACCEPTED;CN=Mamoun unde fined:mailto:maamoon@callback.com DURATION:PT60M END:VEVENT END:VCALENDAR"
}

updateCallbackByConversationId

Update Single Callback

used to update callback schedule time by conversation id

Requires Authentication: true

Parameters

  • callbackUpdateRequest (required) - TYPE: CallbackUpdateRequest - callback object
  • tenantId (required) - TYPE: string - Tennant ID
  • conversationId (required) - TYPE: string - Conversation ID

const response = await smartVideoSDK.callbacks.updateCallbackByConversationId({
    callbackUpdateRequest,
    tenantId,
    conversationId
});

console.log(response.data); // response   

Return Type

returns: AxiosPromise<CallbackObject>

Example Response:

{
  "genesys" : {
    "queueId" : "a1731678-13f6-4ab0-ac6d-f82813b7abee",
    "scriptId" : "950be2a3-65b7-461e-8ba2-f8fb62c2d95a",
    "conversation" : {
      "id" : "950be2a3-65b7-461e-8ba2-f8fb62c2d95a"
    }
  },
  "videoengager" : {
    "date" : 1676303962674,
    "code" : "k8DOH4",
    "subject" : "bla bla",
    "created" : "2023-02-13T15:59:22.684Z",
    "autoAnswer" : true,
    "active" : true,
    "meetingUrl" : "https://dev.videoengager.com/ve/k8DOH4",
    "duration" : 60,
    "phone" : "+971585194108",
    "name" : "Mamoun H",
    "agentUrl" : "https://dev.videoengager.com/ve/iqTF6W",
    "email" : "maamoon@callback.com",
    "scheduleId" : "82212b25-0976-2048-ed3e-6cb1fac47977",
    "customAttributes" : {
      "additionalProp1" : "value1",
      "additionalProp3" : "value2"
    }
  },
  "emailSent" : true,
  "icsCalendarData" : "BEGIN:VCALENDAR VERSION:2.0 CALSCALE:GREGORIAN PRODID:adamgibbons/ics METHOD:REQUEST X-PUBLISHED-TTL:PT1H BEGIN:VEVENT UID:82212b25-0976-2048-ed3e-6cb1fac47977 SUMMARY:Video Meeting DTSTAMP:20230213T155700Z DTSTART:20230213T155900Z SEQUENCE:1 DESCRIPTION:Start your video meeting by opening URL in your browser URL:https://dev.videoengager.com/ve/k8DOH4 LOCATION:https://dev.videoengager.com/ve/k8DOH4 STATUS:CONFIRMED CREATED:20230213T155900Z ATTENDEE;RSVP=TRUE;ROLE=OPT-PARTICIPANT;PARTSTAT=ACCEPTED;CN=Mamoun unde fined:mailto:maamoon@callback.com DURATION:PT60M END:VEVENT END:VCALENDAR"
}

settingsPublic

getPublicSettingsByTennantId

Get Public Settings by Tennant ID

Returns public settings by tennant ID

Requires Authentication: false

Parameters

  • tenantID (required) - TYPE: string - Tennant ID

const response = await smartVideoSDK.settingsPublic.getPublicSettingsByTennantId({
    tenantID
});

console.log(response.data); // response   

Return Type

returns: AxiosPromise<SettingsPublicResponse>

Example Response:

{
  "backgroundUrl" : "img/bg-ds.jpg",
  "lastName" : "NO_C",
  "showEmail" : true,
  "enableReplaceVideoTracks" : true,
  "fileTransfer" : {
    "disableAgent" : true,
    "disableVisitor" : true,
    "enable" : true
  },
  "waitingMessage" : "test123",
  "tooltipAvatar" : true,
  "shortUrl" : "t",
  "branding" : {
    "disablevideourlgeneration" : true,
    "redirectUrl" : "https://www.videoengager.com/",
    "genesysActive" : true,
    "URL" : "http://www.videoengager.com/",
    "hideCustomerRecordingIndicator" : true,
    "visitorScreenShareControl" : true,
    "visitorShowPrecall" : true,
    "allowEditInviteUrl" : true,
    "agentCameraControl" : true,
    "hideAgentRecordingIndicator" : true,
    "inviteUrl" : "http://videoengager/",
    "logo" : "/static/widgets/img/in-logo-small.png",
    "text" : "VideoEngager",
    "activateCustomShortUrl" : true,
    "buttons" : {
      "wd-v-snapshot" : true,
      "wd-v-annotation" : true,
      "wd-v-video" : true,
      "wd-v-blur" : true
    },
    "allowAllsidebarItems" : true,
    "isPipActive" : true,
    "customShortUrl" : {
      "publicKey" : "PUBLIC_KEY",
      "env" : "test",
      "enabled" : true,
      "url" : "https://videoengager.com/static/demos/customURL"
    },
    "invalidUrl" : "https://www.videoengager.com/",
    "domainUrl" : "https://videoengager.com/",
    "visitorCameraControl" : true,
    "talkdeskActive" : true,
    "zoomButton" : true,
    "agentScreenShareControl" : true,
    "visitorBackgroundUrl" : "https://domain.com/bg.png"
  },
  "startThreeWayCall" : true,
  "widgetSize" : {
    "width" : 874,
    "height" : 451
  },
  "enablePin" : true,
  "locale" : "en-us",
  "organizationId" : "SOME_ID",
  "pin_shorturl" : "vidme.in",
  "agentCameraOn" : true,
  "defaultGroup" : "floor",
  "frontMessage" : "Get Live Help",
  "constTooltip" : true,
  "tennantId" : "test_tenant",
  "company" : "The Brokerage",
  "id" : "63dcdf380b16aa5b308c40ea",
  "callWrapUp" : true,
  "agentReplyTimeOut" : 0,
  "email" : "email@domain.com",
  "bandwidth" : {
    "warningMessage" : "Poor Connection",
    "threshold" : 100
  },
  "isPopup" : true,
  "contactEmail" : "SOME_EMAIL",
  "enablePoorConnectionDectect" : true,
  "dropAnimation" : true,
  "privateAccess" : true,
  "torch" : true,
  "enableGenesysKpiFeature" : true,
  "disableAnonymousThreeWayCall" : true,
  "randomTooltip" : true,
  "enablePrecallWorkflow" : true,
  "startWidget" : true,
  "recordingInNewTab" : true,
  "noCallRedirectTimeoutSec" : 0,
  "hideStatus" : true,
  "cameraOn" : true,
  "firstName" : "NO_C",
  "disableAgentStatus" : true,
  "chatOriented" : true,
  "enablePrivate" : true,
  "showTooltipVideo" : true,
  "viewWidget" : "4"
}

shortURLAuthenticated

createShortURL

Create new shortURL

  • Notes. URL is required, transferID is needed if you want to be able to deactive it later, pin will not be applied if brokerage settings doesn\'t allow it, if code is not provided, code automatically will be generated. - if pin is passed, pinShortURL will be generated, if code is passed, veShortURL will be generated.

Requires Authentication: true

Parameters

const response = await smartVideoSDK.shortURLAuthenticated.createShortURL({
    createShortURLRequest,
    tenantID
});

console.log(response.data); // response   

Return Type

returns: AxiosPromise<ShortUrlCreateResponse>

Example Response:

{
  "code" : "asd5s",
  "pin" : 7987,
  "tennantId" : "tenantId",
  "expire" : "2023-02-13T15:59:22.684Z",
  "invalidUrl" : "https://domain.com/invalidUrl",
  "active" : true,
  "_id" : "63dcdf380b16aa5b308e40d5",
  "veShortUrl" : "https://domain.com/ve/shortUrl",
  "transferId" : "00000000-0000-0000-0000-000000000000",
  "pinShortUrl" : "https://domain.com/pin/1985",
  "userId" : "63dcdf380b16aa5b308e40d5",
  "url" : "https://domain.com/longUrl"
}

deactivateShortURL

deactivate ShortURL

used to deactive all shortURLs that belong to transfer ID

Requires Authentication: true

Parameters

  • tenantID (required) - TYPE: string - Tennant ID
  • transferID (required) - TYPE: string - Transfer ID

const response = await smartVideoSDK.shortURLAuthenticated.deactivateShortURL({
    tenantID,
    transferID
});

console.log(response.data); // response   

Return Type


getShortURLsForTennant

List Short Urls for specific tennant.

Returns the Short Urls for the current authorized user for a given time period. The result is paginated.

Requires Authentication: true

Parameters

  • tenantID (required) - TYPE: string - Tennant ID

  • from - TYPE: string - Start date of the period to get the ShortUrls for. The format is ISO 8601 (YYYY-MM-DDTHH:mm:ss.SSSZ)

  • to - TYPE: string - End date of the period to get the ShortUrls for. The format is ISO 8601 (YYYY-MM-DDTHH:mm:ss.SSSZ)
  • expand - TYPE: boolean - Expand the result to include the full details of the ShortUrl (Creator details)
  • page - TYPE: number - Page number
  • pageSize - TYPE: number - Page size
  • searchString - TYPE: string - Search string
  • searchBy - TYPE: SearchByShortURL - Search by specific field (empty value search all fields)
  • orderBy - TYPE: OrderByShortURL - Order by specific field
  • asc - TYPE: ASCShortURL - Ascending or descending order
const response = await smartVideoSDK.shortURLAuthenticated.getShortURLsForTennant({
    tenantID,
    from,
    to,
    expand,
    page,
    pageSize,
    searchString,
    searchBy,
    orderBy,
    asc
});

console.log(response.data); // response   

Return Type

returns: AxiosPromise<ShortUrlListResponse>

Example Response:

{
  "searchString" : "someURL",
  "data" : [ {
    "code" : "asd5s",
    "invalidUrl" : "https://domain.com/invalidUrl",
    "active" : true,
    "veShortUrl" : "https://domain.com/ve/shortUrl",
    "transferId" : "00000000-0000-0000-0000-000000000000",
    "pinShortUrl" : "https://domain.com/pin/1985",
    "userId" : "63dcdf380b16aa5b308e40d5",
    "url" : "https://domain.com/longUrl",
    "expand" : {
      "firstName" : "First Name",
      "lastName" : "Last Name",
      "agentId" : "63dcdf380b16aa5b308e40d5",
      "isAgent" : true,
      "isBrokerage" : true,
      "brokerageId" : "63dcdf380b16aa5b308e40d5"
    },
    "pin" : 7987,
    "tennantId" : "tenantId",
    "expire" : "2023-02-13T15:59:22.684Z",
    "_id" : "63dcdf380b16aa5b308e40d5"
  }, {
    "code" : "asd5s",
    "invalidUrl" : "https://domain.com/invalidUrl",
    "active" : true,
    "veShortUrl" : "https://domain.com/ve/shortUrl",
    "transferId" : "00000000-0000-0000-0000-000000000000",
    "pinShortUrl" : "https://domain.com/pin/1985",
    "userId" : "63dcdf380b16aa5b308e40d5",
    "url" : "https://domain.com/longUrl",
    "expand" : {
      "firstName" : "First Name",
      "lastName" : "Last Name",
      "agentId" : "63dcdf380b16aa5b308e40d5",
      "isAgent" : true,
      "isBrokerage" : true,
      "brokerageId" : "63dcdf380b16aa5b308e40d5"
    },
    "pin" : 7987,
    "tennantId" : "tenantId",
    "expire" : "2023-02-13T15:59:22.684Z",
    "_id" : "63dcdf380b16aa5b308e40d5"
  }, {
    "code" : "asd5s",
    "invalidUrl" : "https://domain.com/invalidUrl",
    "active" : true,
    "veShortUrl" : "https://domain.com/ve/shortUrl",
    "transferId" : "00000000-0000-0000-0000-000000000000",
    "pinShortUrl" : "https://domain.com/pin/1985",
    "userId" : "63dcdf380b16aa5b308e40d5",
    "url" : "https://domain.com/longUrl",
    "expand" : {
      "firstName" : "First Name",
      "lastName" : "Last Name",
      "agentId" : "63dcdf380b16aa5b308e40d5",
      "isAgent" : true,
      "isBrokerage" : true,
      "brokerageId" : "63dcdf380b16aa5b308e40d5"
    },
    "pin" : 7987,
    "tennantId" : "tenantId",
    "expire" : "2023-02-13T15:59:22.684Z",
    "_id" : "63dcdf380b16aa5b308e40d5"
  }, {
    "code" : "asd5s",
    "invalidUrl" : "https://domain.com/invalidUrl",
    "active" : true,
    "veShortUrl" : "https://domain.com/ve/shortUrl",
    "transferId" : "00000000-0000-0000-0000-000000000000",
    "pinShortUrl" : "https://domain.com/pin/1985",
    "userId" : "63dcdf380b16aa5b308e40d5",
    "url" : "https://domain.com/longUrl",
    "expand" : {
      "firstName" : "First Name",
      "lastName" : "Last Name",
      "agentId" : "63dcdf380b16aa5b308e40d5",
      "isAgent" : true,
      "isBrokerage" : true,
      "brokerageId" : "63dcdf380b16aa5b308e40d5"
    },
    "pin" : 7987,
    "tennantId" : "tenantId",
    "expire" : "2023-02-13T15:59:22.684Z",
    "_id" : "63dcdf380b16aa5b308e40d5"
  }, {
    "code" : "asd5s",
    "invalidUrl" : "https://domain.com/invalidUrl",
    "active" : true,
    "veShortUrl" : "https://domain.com/ve/shortUrl",
    "transferId" : "00000000-0000-0000-0000-000000000000",
    "pinShortUrl" : "https://domain.com/pin/1985",
    "userId" : "63dcdf380b16aa5b308e40d5",
    "url" : "https://domain.com/longUrl",
    "expand" : {
      "firstName" : "First Name",
      "lastName" : "Last Name",
      "agentId" : "63dcdf380b16aa5b308e40d5",
      "isAgent" : true,
      "isBrokerage" : true,
      "brokerageId" : "63dcdf380b16aa5b308e40d5"
    },
    "pin" : 7987,
    "tennantId" : "tenantId",
    "expire" : "2023-02-13T15:59:22.684Z",
    "_id" : "63dcdf380b16aa5b308e40d5"
  } ],
  "count" : 0,
  "searchBy" : "code",
  "pageSize" : 10,
  "orderBy" : "veShortUrl",
  "from" : "2023-02-13T15:59:22.684Z",
  "page" : 1,
  "to" : "2023-02-13T15:59:22.684Z",
  "userId" : "63dcdf380b16aa5b308e40d5"
}

shortURLPublic

getShortURLByCode

Get Single Short Url Data by code.

Returns the Short Url Full Data for the given code.

Requires Authentication: false

Parameters

  • tenantID (required) - TYPE: string - Tennant ID
  • code (required) - TYPE: string - Short URL Code

const response = await smartVideoSDK.shortURLPublic.getShortURLByCode({
    tenantID,
    code
});

console.log(response.data); // response   

Return Type

returns: AxiosPromise<SingleShortUrlPublicResponse>

Example Response:

{
  "code" : "asd5s",
  "pin" : 7987,
  "expire" : "2023-02-13T15:59:22.684Z",
  "invalidUrl" : "https://domain.com/invalidUrl",
  "active" : true,
  "_id" : "63dcdf380b16aa5b308e40d5",
  "url" : "https://domain.com/longUrl"
}

getShortURLByPin

Get Short Url by Pin.

Returns the Long Url for the given Pin.

Requires Authentication: false

Parameters

  • tenantID (required) - TYPE: string - Tennant ID
  • pin (required) - TYPE: string - Short URL Pin

const response = await smartVideoSDK.shortURLPublic.getShortURLByPin({
    tenantID,
    pin
});

console.log(response.data); // response   

Return Type

returns: AxiosPromise<GetShortURLByPin200Response>

Example Response:

{
  "shortUrl" : "https://domain.com/longUrl"
}

listByTransferId

Get All Short Urls by Transfer ID.

Returns the Short Urls for the given Transfer ID.

Requires Authentication: false

Parameters

  • tenantID (required) - TYPE: string - Tennant ID
  • transferID (required) - TYPE: string - Transfer ID

const response = await smartVideoSDK.shortURLPublic.listByTransferId({
    tenantID,
    transferID
});

console.log(response.data); // response   

Return Type

returns: AxiosPromise<arraySingleShortUrlPublicResponse>

Example Response:

[ {
  "code" : "asd5s",
  "pin" : 7987,
  "expire" : "2023-02-13T15:59:22.684Z",
  "invalidUrl" : "https://domain.com/invalidUrl",
  "active" : true,
  "_id" : "63dcdf380b16aa5b308e40d5",
  "url" : "https://domain.com/longUrl"
}, {
  "code" : "asd5s",
  "pin" : 7987,
  "expire" : "2023-02-13T15:59:22.684Z",
  "invalidUrl" : "https://domain.com/invalidUrl",
  "active" : true,
  "_id" : "63dcdf380b16aa5b308e40d5",
  "url" : "https://domain.com/longUrl"
}, {
  "code" : "asd5s",
  "pin" : 7987,
  "expire" : "2023-02-13T15:59:22.684Z",
  "invalidUrl" : "https://domain.com/invalidUrl",
  "active" : true,
  "_id" : "63dcdf380b16aa5b308e40d5",
  "url" : "https://domain.com/longUrl"
}, {
  "code" : "asd5s",
  "pin" : 7987,
  "expire" : "2023-02-13T15:59:22.684Z",
  "invalidUrl" : "https://domain.com/invalidUrl",
  "active" : true,
  "_id" : "63dcdf380b16aa5b308e40d5",
  "url" : "https://domain.com/longUrl"
}, {
  "code" : "asd5s",
  "pin" : 7987,
  "expire" : "2023-02-13T15:59:22.684Z",
  "invalidUrl" : "https://domain.com/invalidUrl",
  "active" : true,
  "_id" : "63dcdf380b16aa5b308e40d5",
  "url" : "https://domain.com/longUrl"
} ]


Objects Reference


ASCShortURL

Properties

NameTypeDescriptionNotes

AuthenticatePartner200Response

Properties

NameTypeDescriptionNotes
tokenstringoptional
token_expirationnumberoptional

AuthenticatePartner400Response

Properties

NameTypeDescriptionNotes
errorstringoptional

CallbackObject

Properties

NameTypeDescriptionNotes
genesysCallbackObjectGenesysoptional
videoengagerCallbackObjectVideoengageroptional
icsCalendarDatastringics Data, can be downloaded as ics file, and then send as attachment in the mailoptional
emailSentbooleanwether notification email has been send to visitor or notoptional

CallbackObjectGenesys

Properties

NameTypeDescriptionNotes
scriptIdstringoptional
queueIdstringoptional
conversationCallbackObjectGenesysConversationoptional

CallbackObjectGenesysConversation

Properties

NameTypeDescriptionNotes
idstringdefault to undefined

CallbackObjectVideoengager

Properties

NameTypeDescriptionNotes
autoAnswerbooleandefault to undefined
namestringvisitor Namedefault to undefined
emailstringvisitor Emaildefault to undefined
phonestringvisitor Phonedefault to undefined
subjectstringsubjectdefault to undefined
meetingUrlstringVisitor Join Meeting URLdefault to undefined
codestringShort URL Code for generating short URLdefault to undefined
datenumberscheduled Timedefault to undefined
agentUrlstringAgent Meeting URL, Only Available upon creationoptional
createdstringCreated Atdefault to undefined
durationnumberDuration of callback in minutesdefault to undefined
scheduleIdstringscheduleIddefault to undefined
customAttributes{ key: string: string; }Custom Attributesoptional
activebooleanwether this callback is active or canceleddefault to undefined

CallbackUpdateError

Properties

NameTypeDescriptionNotes
errorstringoptional

CallbackUpdateRequest

Properties

NameTypeDescriptionNotes
datestringDate to update callback to (ISO 8601 format), Note that date should be in the future and not more than 30 days from nowdefault to undefined

CallbacksList

Properties

NameTypeDescriptionNotes
dataArray<CallbackObject>optional
fromstringoptional
tostringoptional
countnumberoptional
pagenumberoptional
pageSizenumberoptional
orderBystringoptional
ascnumberoptional
preferedAgentstringoptional
activebooleanoptional
queueIdstringoptional
searchBystringoptional
searchStringstringoptional

CreateCallbackRequest

Properties

NameTypeDescriptionNotes
preferedAgentstringused to add agent ID preferred routing, MUST exist if callbackOwned is True;optional
callbackOwnedbooleanused to give prefered Agent ownership of the callback, will not work without prefered Agent IDoptional
firstnamestringdefault to undefined
lastnamestringoptional
customer_emailstringdefault to undefined
creatorstringIdentify the creater of the scheduled meeting.optional
_customer_numberstringdefault to undefined
_desired_timestringdefault to undefined
veSubjectstringoptional
customer_subjectstringoptional
scriptIdstringused to add script ID to the callback (if not provided, default script in settings will be used)optional
queueIdstringused to add queue ID to the callback (if not provided, default script in settings will be used)optional

CreateShortURLRequest

Properties

NameTypeDescriptionNotes
urlstringURL to be shorteneddefault to undefined
expirestringDate - ISO 8601optional
transferIdstringShortURL IDoptional
codestringShortURL codeoptional
invalidUrlstringInvalid URLoptional
pinnumberPin codeoptional

DefaultError

Properties

NameTypeDescriptionNotes
errorstringoptional

ExpandedData

Properties

NameTypeDescriptionNotes
firstNamestringFirst nameoptional
lastNamestringLast nameoptional
isBrokeragebooleanoptional
isAgentbooleanoptional
agentIdstringUser IDoptional
brokerageIdstringUser IDoptional

GetShortURLByPin200Response

Properties

NameTypeDescriptionNotes
shortUrlstringURL to be shortenedoptional

OrderByShortURL

Properties

NameTypeDescriptionNotes

SearchByShortURL

Properties

NameTypeDescriptionNotes

SettingsPublicResponse

Properties

NameTypeDescriptionNotes
brandingSettingsPublicResponseBrandingoptional
widgetSizeSettingsPublicResponseWidgetSizeoptional
bandwidthSettingsPublicResponseBandwidthoptional
backgroundUrlstringoptional
frontMessagestringoptional
waitingMessagestringoptional
viewWidgetstringoptional
defaultGroupstringoptional
localestringoptional
showTooltipVideobooleanoptional
startThreeWayCallbooleanoptional
disableAnonymousThreeWayCallbooleanoptional
showEmailbooleanoptional
dropAnimationbooleanoptional
randomTooltipbooleanoptional
tooltipAvatarbooleanoptional
startWidgetbooleanoptional
privateAccessbooleanoptional
enableReplaceVideoTracksbooleanoptional
enablePrivatebooleanoptional
hideStatusbooleanoptional
cameraOnbooleanoptional
agentCameraOnbooleanoptional
recordingInNewTabbooleanoptional
chatOrientedbooleanoptional
constTooltipbooleanoptional
callWrapUpbooleanoptional
torchbooleanoptional
agentReplyTimeOutnumberoptional
noCallRedirectTimeoutSecnumberoptional
enablePinbooleanoptional
pin_shorturlstringoptional
isPopupbooleanoptional
disableAgentStatusbooleanoptional
enablePrecallWorkflowbooleanoptional
enablePoorConnectionDectectbooleanoptional
enableGenesysKpiFeaturebooleanoptional
firstNamestringoptional
lastNamestringoptional
companystringoptional
tennantIdstringoptional
shortUrlstringoptional
fileTransferSettingsPublicResponseFileTransferoptional
emailstringoptional
organizationIdstringoptional
contactEmailstringoptional
idstringoptional

SettingsPublicResponseBandwidth

Properties

NameTypeDescriptionNotes
thresholdnumberoptional
warningMessagestringoptional

SettingsPublicResponseBranding

Properties

NameTypeDescriptionNotes
buttonsSettingsPublicResponseBrandingButtonsoptional
isPipActivebooleanoptional
allowEditInviteUrlbooleanoptional
domainUrlstringdomain URL for the agent short URLoptional
textstringoptional
URLstringdomain URL of organizationoptional
logostringOrganization logooptional
genesysActivebooleanoptional
talkdeskActivebooleanoptional
redirectUrlstringdomain URL to redirect to after visitor call endsoptional
invalidUrlstringdomain URL to sent to when short url is invalidoptional
disablevideourlgenerationbooleanoptional
hideCustomerRecordingIndicatorbooleanoptional
hideAgentRecordingIndicatorbooleanoptional
visitorScreenShareControlbooleanoptional
agentScreenShareControlbooleanoptional
visitorBackgroundUrlstringoptional
visitorShowPrecallbooleanoptional
zoomButtonbooleanoptional
agentCameraControlbooleanoptional
visitorCameraControlbooleanoptional
activateCustomShortUrlbooleanoptional
customShortUrlSettingsPublicResponseBrandingCustomShortUrloptional
allowAllsidebarItemsbooleanoptional
inviteUrlstringdomain URL for visitor short URLoptional

SettingsPublicResponseBrandingButtons

Properties

NameTypeDescriptionNotes
wd_v_snapshotbooleanoptional
wd_v_annotationbooleanoptional
wd_v_videobooleanoptional
wd_v_blurbooleanoptional

SettingsPublicResponseBrandingCustomShortUrl

Properties

NameTypeDescriptionNotes
enabledbooleanoptional
urlstringcustom page URL to handle custom inbound scenariooptional
envstringenvironment for custom page URLoptional
publicKeystringPublic key for encryptionoptional

SettingsPublicResponseFileTransfer

Properties

NameTypeDescriptionNotes
enablebooleanoptional
disableAgentbooleanoptional
disableVisitorbooleanoptional

SettingsPublicResponseWidgetSize

Properties

NameTypeDescriptionNotes
widthnumberoptional
heightnumberoptional

ShortUrlCreateResponse

Properties

NameTypeDescriptionNotes
_idstringShortURL IDoptional
urlstringURL to be shortenedoptional
codestringShortURL codeoptional
pinnumberPin codeoptional
invalidUrlstringInvalid URLoptional
pinShortUrlstringShort URL with pinoptional
veShortUrlstringShort URL with codeoptional
transferIdstringTransfer IDoptional
tennantIdstringTennant IDoptional
userIdstringUser IDoptional
activebooleanoptional
expirestringDate - ISO 8601optional

ShortUrlListResponse

Properties

NameTypeDescriptionNotes
dataArray<SingleShortUrlManager>optional
pagenumberCurrent Page numberoptional
pageSizenumberPage Sizeoptional
countnumberoptional
searchStringstringoptional
searchBySearchByShortURLoptional
orderByOrderByShortURLoptional
ascASCShortURLoptional
fromstringDate - ISO 8601optional
tostringDate - ISO 8601optional
userIdstringUser IDoptional

SingleShortUrlManager

Properties

NameTypeDescriptionNotes
_idstringShortURL IDoptional
urlstringURL to be shortenedoptional
codestringShortURL codeoptional
pinnumberPin codeoptional
invalidUrlstringInvalid URLoptional
pinShortUrlstringShort URL with pinoptional
veShortUrlstringShort URL with codeoptional
tennantIdstringTennant IDoptional
transferIdstringTransfer IDoptional
userIdstringUser IDoptional
activebooleanoptional
expirestringDate - ISO 8601optional
expandExpandedDataoptional

SingleShortUrlPublicResponse

Properties

NameTypeDescriptionNotes
_idstringShortURL IDoptional
urlstringURL to be shortenedoptional
codestringShortURL codeoptional
pinnumberPin codeoptional
activebooleanoptional
expirestringDate - ISO 8601optional
invalidUrlstringInvalid URLoptional
1.3.1

10 months ago

1.3.0

1 year ago

1.2.1

1 year ago

1.2.0

1 year ago

1.1.0

1 year ago

1.0.0

1 year ago

1.0.0-next

1 year ago