Skip to content

Vonage Proactive connect

github-actions edited this page Jul 5, 2024 · 31 revisions

Vonage Proactive connectDocs


Documentation / Vonage Proactive connect

Vonage Proactive connect

Enumerations

EventTypes

Enumeration representing different event types.

Enumeration Members

Enumeration Member Value Description Defined in
ACTION_CALL_FAILED "action-call-failed" Event type: Action call failed. proactive-connect/lib/enums/eventTypes.ts:13
ACTION_CALL_INFO "action-call-info" Event type: Action call info. proactive-connect/lib/enums/eventTypes.ts:18
ACTION_CALL_SUCCEEDED "action-call-succeeded" Event type: Action call succeeded. proactive-connect/lib/enums/eventTypes.ts:8
RECIPIENT_RESPONSE "recipient-response" Event type: Recipient response. proactive-connect/lib/enums/eventTypes.ts:23
RUN_ITEMS_EXCLUDED "run-items-excluded" Event type: Run items excluded. proactive-connect/lib/enums/eventTypes.ts:53
RUN_ITEMS_READY "run-items-ready" Event type: Run items ready. proactive-connect/lib/enums/eventTypes.ts:48
RUN_ITEMS_TOTAL "run-items-total" Event type: Run items total. proactive-connect/lib/enums/eventTypes.ts:43
RUN_ITEM_FAILED "run-item-failed" Event type: Run item failed. proactive-connect/lib/enums/eventTypes.ts:33
RUN_ITEM_SKIPPED "run-item-skipped" Event type: Run item skipped. proactive-connect/lib/enums/eventTypes.ts:28
RUN_ITEM_SUBMITTED "run-item-submitted" Event type: Run item submitted. proactive-connect/lib/enums/eventTypes.ts:38

SortOrder

Enumeration representing sorting order.

Enumeration Members

Enumeration Member Value Description Defined in
ASC "asc" Ascending order. proactive-connect/lib/enums/sortOrder.ts:8
DESC "desc" Descending order. proactive-connect/lib/enums/sortOrder.ts:13

SyncStatus

Enumeration representing synchronization status between the list content (items) and its data source.

Enumeration Members

Enumeration Member Value Description Defined in
CANCELLED "cancelled" Synchronization is cancelled. proactive-connect/lib/enums/listSyncStatus.ts:28
CLEARING "clearing" Data is being cleared. proactive-connect/lib/enums/listSyncStatus.ts:13
COMPLETED "completed" Synchronization is completed. proactive-connect/lib/enums/listSyncStatus.ts:33
CONFIGURED "configured" Configuration is complete. proactive-connect/lib/enums/listSyncStatus.ts:8
FAILED "failed" Synchronization has failed. proactive-connect/lib/enums/listSyncStatus.ts:38
FETCHING "fetching" Data is being fetched. proactive-connect/lib/enums/listSyncStatus.ts:18
PAUSED "paused" Synchronization is paused. proactive-connect/lib/enums/listSyncStatus.ts:23

Classes

ProactiveConnect

Represents an API client for interacting with the Vonage Proactive Connect API. This client provides methods for managing lists, list items, and performing import/export operations.

Extends

Constructors

new ProactiveConnect()
new ProactiveConnect(credentials, options?): ProactiveConnect

Creates a new instance of the Client.

Parameters

credentials: AuthInterface | AuthParams

The authentication credentials or an authentication instance.

options?: ConfigParams

Optional configuration settings for the client.

Returns

ProactiveConnect

Inherited from

Client.constructor

Defined in

server-client/dist/client.d.ts:30

Properties

FORM_BOUNDARY
FORM_BOUNDARY: string = '-------------------------Vonage-Node_SDK';
Defined in

proactive-connect/lib/proactiveConnect.ts:35

auth
protected auth: AuthInterface;

The authentication instance responsible for generating authentication headers and query parameters.

Inherited from

Client.auth

Defined in

server-client/dist/client.d.ts:19

authType
protected authType: AuthenticationType = AuthenticationType.JWT;

The type of authentication used for the client's requests.

Overrides

Client.authType

Defined in

proactive-connect/lib/proactiveConnect.ts:37

config
protected config: ConfigParams;

Configuration settings for the client, including default hosts for various services and other request settings.

Inherited from

Client.config

Defined in

server-client/dist/client.d.ts:23

LIST_WRITE_KEYS
static LIST_WRITE_KEYS: string[];
Defined in

proactive-connect/lib/proactiveConnect.ts:39

transformers
static transformers: __module;

Static property containing utility transformers.

Inherited from

Client.transformers

Defined in

server-client/dist/client.d.ts:11

Methods

addAuthenticationToRequest()
addAuthenticationToRequest(request): Promise<VetchOptions>

Adds the appropriate authentication headers or parameters to the request based on the authentication type.

Parameters

request: VetchOptions

The request options to which authentication needs to be added.

Returns

Promise<VetchOptions>

  • The request options with the added authentication.
Inherited from

Client.addAuthenticationToRequest

Defined in

server-client/dist/client.d.ts:37

clearList()
clearList(listId): Promise<true>

Clears all data from an existing list in the Vonage Proactive Connect API by its unique identifier.

Parameters

listId: string

The unique identifier of the list to clear.

Returns

Promise<true>

A promise that resolves to true if the list is successfully cleared.

Throws

If there's an issue with the API request or the list clearing fails.

Defined in

proactive-connect/lib/proactiveConnect.ts:142

createList()
createList(list): Promise<List>

Creates a new list in the Vonage Proactive Connect API.

Parameters

list: List

The list object representing the list to be created.

Returns

Promise<List>

A promise that resolves to the newly created list.

Throws

If there's an issue with the API request or the list creation fails.

Defined in

proactive-connect/lib/proactiveConnect.ts:80

createListItem()
createListItem<T>(listId, item): Promise<ListItem<T>>

Creates a new list item in a specific list of the Vonage Proactive Connect API.

Type Parameters

T

Parameters

listId: string

The unique identifier of the list to add the item to.

item: ListItem<T>

The list item object representing the item to be created.

Returns

Promise<ListItem<T>>

A promise that resolves to the newly created list item.

Throws

If there's an issue with the API request or the list item creation fails.

Defined in

proactive-connect/lib/proactiveConnect.ts:185

deleteList()
deleteList(listId): Promise<true>

Updates an existing list in the Vonage Proactive Connect API by its unique identifier.

Parameters

listId: string

The unique identifier of the list to update.

Returns

Promise<true>

A promise that resolves to the updated list.

Throws

If there's an issue with the API request or the list update fails.

Defined in

proactive-connect/lib/proactiveConnect.ts:127

deleteListItem()
deleteListItem(listId, itemId): Promise<true>

Deletes a specific list item by its unique identifier from a list in the Vonage Proactive Connect API.

Parameters

listId: string

The unique identifier of the list containing the item to delete.

itemId: string

The unique identifier of the list item to delete.

Returns

Promise<true>

A promise that resolves to true if the list item is successfully deleted.

Throws

If there's an issue with the API request or the list item deletion fails.

Defined in

proactive-connect/lib/proactiveConnect.ts:253

downloadListItems()
downloadListItems(listId, file): Promise<true>

Downloads a file containing all list items from a specific list in the Vonage Proactive Connect API.

Parameters

listId: string

The unique identifier of the list to download items from.

file: string

The path to the file where the list items will be saved.

Returns

Promise<true>

A promise that resolves to true if the list items are successfully downloaded and saved to the file.

Throws

If there's an issue with the API request or the file download fails.

Defined in

proactive-connect/lib/proactiveConnect.ts:269

findAllListItems()
findAllListItems<T>(listId, params): AsyncGenerator<ListItem<T>, void & ListItem<T>, undefined>

Retrieves all list items from a specific list in the Vonage Proactive Connect API.

Type Parameters

T

Parameters

listId: string

The unique identifier of the list to retrieve items from.

params: FindListItemParams = {}

Optional parameters for pagination and filtering.

Returns

AsyncGenerator<ListItem<T>, undefined>

An async generator that yields list items as they are retrieved.

Throws

If there's an issue with the API request.

Defined in

proactive-connect/lib/proactiveConnect.ts:158

findAllLists()
findAllLists(params): AsyncGenerator<List, void & List, undefined>

Retrieves all lists available in the Vonage Proactive Connect API.

Parameters

params: FindListParams = {}

Optional parameters for pagination and filtering.

Returns

AsyncGenerator<List, undefined>

An async generator that yields lists as they are retrieved.

Throws

If there's an issue with the API request.

Defined in

proactive-connect/lib/proactiveConnect.ts:55

getListById()
getListById(listId): Promise<List>

Retrieves a list by its unique identifier from the Vonage Proactive Connect API.

Parameters

listId: string

The unique identifier of the list to retrieve.

Returns

Promise<List>

A promise that resolves to the retrieved list.

Throws

If there's an issue with the API request or the list retrieval fails.

Defined in

proactive-connect/lib/proactiveConnect.ts:100

getListItemById()
getListItemById<T>(listId, itemId): Promise<ListItem<T>>

Retrieves a specific list item by its unique identifier from a list in the Vonage Proactive Connect API.

Type Parameters

T

Parameters

listId: string

The unique identifier of the list containing the item.

itemId: string

The unique identifier of the list item to retrieve.

Returns

Promise<ListItem<T>>

A promise that resolves to the retrieved list item.

Throws

If there's an issue with the API request or the list item retrieval fails.

Defined in

proactive-connect/lib/proactiveConnect.ts:208

importListItems()
importListItems(listId, file): Promise<ImportFileResponse>

Imports list items from a CSV file into a specific list in the Vonage Proactive Connect API.

Parameters

listId: string

The unique identifier of the list to import items into.

file: string

The path to the CSV file containing the list items to import.

Returns

Promise<ImportFileResponse>

A promise that resolves to an import response containing details on the number of items inserted, updated, and deleted.

Throws

If there's an issue with the API request or the import process fails.

Defined in

proactive-connect/lib/proactiveConnect.ts:287

parseResponse()
protected parseResponse<T>(request, response): Promise<VetchResponse<T>>

Parses the response based on its content type.

Type Parameters

T

The expected type of the parsed response data.

Parameters

request: VetchOptions

The request options.

response: Response

The raw response from the request.

Returns

Promise<VetchResponse<T>>

  • The parsed response.
Inherited from

Client.parseResponse

Defined in

server-client/dist/client.d.ts:134

prepareBody()
protected prepareBody(request): undefined | string

Prepares the body for the request based on the content type.

Parameters

request: VetchOptions

The request options.

Returns

undefined | string

  • The prepared request body as a string or undefined.
Inherited from

Client.prepareBody

Defined in

server-client/dist/client.d.ts:124

prepareRequest()
protected prepareRequest(request): Promise<VetchOptions>

Prepares the request with necessary headers, authentication, and query parameters.

Parameters

request: VetchOptions

The initial request options.

Returns

Promise<VetchOptions>

  • The modified request options.
Inherited from

Client.prepareRequest

Defined in

server-client/dist/client.d.ts:117

sendDeleteRequest()
sendDeleteRequest<T>(url): Promise<VetchResponse<T>>

Sends a DELETE request to the specified URL.

Type Parameters

T

Parameters

url: string

The URL endpoint for the DELETE request.

Returns

Promise<VetchResponse<T>>

  • The response from the DELETE request.
Inherited from

Client.sendDeleteRequest

Defined in

server-client/dist/client.d.ts:44

sendFormSubmitRequest()
sendFormSubmitRequest<T>(url, payload?): Promise<VetchResponse<T>>

Sends a POST request with form data to the specified URL.

Type Parameters

T

Parameters

url: string

The URL endpoint for the POST request.

payload?: Record<string, string>

Optional payload containing form data to send with the POST request.

Returns

Promise<VetchResponse<T>>

  • The response from the POST request.
Inherited from

Client.sendFormSubmitRequest

Defined in

server-client/dist/client.d.ts:52

sendGetRequest()
sendGetRequest<T>(url, queryParams?): Promise<VetchResponse<T>>

Sends a GET request to the specified URL with optional query parameters.

Type Parameters

T

Parameters

url: string

The URL endpoint for the GET request.

queryParams?

Optional query parameters to append to the URL. These should be compatible with Node's URLSearchParams.

Returns

Promise<VetchResponse<T>>

  • The response from the GET request.
Inherited from

Client.sendGetRequest

Defined in

server-client/dist/client.d.ts:60

sendPatchRequest()
sendPatchRequest<T>(url, payload?): Promise<VetchResponse<T>>

Sends a PATCH request to the specified URL with an optional payload.

Type Parameters

T

Parameters

url: string

The URL endpoint for the PATCH request.

payload?

Optional payload to be sent as the body of the PATCH request.

Returns

Promise<VetchResponse<T>>

  • The response from the PATCH request.
Inherited from

Client.sendPatchRequest

Defined in

server-client/dist/client.d.ts:70

sendPostRequest()
sendPostRequest<T>(url, payload?): Promise<VetchResponse<T>>

Sends a POST request to the specified URL with an optional payload.

Type Parameters

T

Parameters

url: string

The URL endpoint for the POST request.

payload?

Optional payload to be sent as the body of the POST request.

Returns

Promise<VetchResponse<T>>

  • The response from the POST request.
Inherited from

Client.sendPostRequest

Defined in

server-client/dist/client.d.ts:80

sendPutRequest()
sendPutRequest<T>(url, payload?): Promise<VetchResponse<T>>

Sends a PUT request to the specified URL with an optional payload.

Type Parameters

T

Parameters

url: string

The URL endpoint for the PUT request.

payload?

Optional payload to be sent as the body of the PUT request.

Returns

Promise<VetchResponse<T>>

  • The response from the PUT request.
Inherited from

Client.sendPutRequest

Defined in

server-client/dist/client.d.ts:90

sendRequest()
sendRequest<T>(request): Promise<VetchResponse<T>>

Sends a request adding necessary headers, handling authentication, and parsing the response.

Type Parameters

T

Parameters

request: VetchOptions

The options defining the request, including URL, method, headers, and data.

Returns

Promise<VetchResponse<T>>

  • The parsed response from the request.
Inherited from

Client.sendRequest

Defined in

server-client/dist/client.d.ts:110

sendRequestWithData()
sendRequestWithData<T>(
   method, 
   url, 
payload?): Promise<VetchResponse<T>>

Sends a request with JSON-encoded data to the specified URL using the provided HTTP method.

Type Parameters

T

Parameters

method: POST | PUT | PATCH

The HTTP method to be used for the request (only POST, PATCH, or PUT are acceptable).

url: string

The URL endpoint for the request.

payload?

Optional payload to be sent as the body of the request, JSON-encoded.

Returns

Promise<VetchResponse<T>>

  • The response from the request.
Inherited from

Client.sendRequestWithData

Defined in

server-client/dist/client.d.ts:101

updateList()
updateList(listId, list): Promise<List>
Parameters

listId: string

list: List

Returns

Promise<List>

Defined in

proactive-connect/lib/proactiveConnect.ts:107

updateListItem()
updateListItem<T>(
   listId, 
   itemId, 
item): Promise<ListItem<T>>

Updates an existing list item in a specific list of the Vonage Proactive Connect API by its unique identifier.

Type Parameters

T

Parameters

listId: string

The unique identifier of the list containing the item.

itemId: string

The unique identifier of the list item to update.

item: ListItem<T>

The list item object representing the updated item.

Returns

Promise<ListItem<T>>

A promise that resolves to the updated list item.

Throws

If there's an issue with the API request or the list item update fails.

Defined in

proactive-connect/lib/proactiveConnect.ts:229

Type Aliases

Event

type Event: object;

Represents an event that captures various activities or changes in the system, such as changes to user subscribe status, the creation of a new list based on a response, the invocation of a chat bot agent, or the triggering of certain analytics.

Type declaration

data
data: unknown;

The data associated with the event (unknown type).

id
id: string;

The unique identifier for the event.

jobId
jobId: string;

The unique identifier for the job related to the event.

occurredAt
occurredAt: string;

The date and time when the event occurred.

recipientId
recipientId: string;

The string identifier of a recipient, such as an email or phone number.

runId
runId: string;

The unique identifier for the run related to the event.

srcCtx
srcCtx: string;

The name of the segment or matcher related to the event.

type
type: EventTypes;

The type of the event, which should be one of the values from the 'EventTypes' enum.

Defined in

proactive-connect/lib/types/event.ts:9


FindListItemParams

type FindListItemParams: object;

Represents parameters for finding list items.

Type declaration

order?
optional order: SortOrder;

The sorting order for the list items. Should be one of the values from the 'SortOrder' enum (ASC or DESC).

page?
optional page: number;

The page number for pagination.

pageSize?
optional pageSize: number;

The number of items per page for pagination.

Defined in

proactive-connect/lib/types/findListItemParams.ts:6


FindListParams

type FindListParams: object;

Represents parameters for finding lists.

Type declaration

order?
optional order: SortOrder;

The sorting order for the lists. Should be one of the values from the 'SortOrder' enum (ASC or DESC).

page?
optional page: number;

The page number for pagination.

pageSize?
optional pageSize: number;

The number of lists per page for pagination.

Defined in

proactive-connect/lib/types/findListParams.ts:6


ImportFileResponse

type ImportFileResponse: object;

Represents the response when importing data from a file.

Type declaration

deleted?
optional deleted: number;

The number of items deleted during the import process.

inserted?
optional inserted: number;

The number of items successfully inserted during the import process.

updated?
optional updated: number;

The number of items updated during the import process.

Remarks

Vonage API's will return information using snake_case. This represents the pure response before the client will transform the keys into camelCase.

Defined in

proactive-connect/lib/types/responses/importFileResponse.ts:7


List

type List: object;

Represents a list with associated metadata and synchronization details.

Type declaration

attributes?
optional attributes: ListAttribute[];

An array of attributes associated with the list (optional).

createdAt
createdAt: string;

The creation date and time of the list.

datasource?
optional datasource: ListSalesForceDataSource | ListManualDatasource;

The data source for the list, which can be either a Salesforce data source or a manual data source.

description?
optional description: string;

The description of the list (optional).

id
id: string;

The unique identifier for the list.

itemsCount
itemsCount: number;

The number of items in the list.

name
name: string;

The name of the list.

syncStatus
syncStatus: ListSyncStatus;

The synchronization status of the list.

tags?
optional tags: string[];

An array of tags associated with the list (optional).

updatedAt
updatedAt: string;

The last update date and time of the list.

Defined in

proactive-connect/lib/types/list.ts:9


ListAttribute

type ListAttribute: object;

Represents an attribute associated with a list.

Type declaration

alias?
optional alias: string;

An optional alias for the attribute.

key?
optional key: boolean;

Indicates whether the attribute is a key attribute (optional). Set to true if this attribute should be used as a key to correlate lists.

name
name: string;

The name of the attribute.

Defined in

proactive-connect/lib/types/listAttribute.ts:4


ListItem<DataType>

type ListItem<DataType>: object;

Represents an item within a list, with associated metadata and data of a generic type.

Type Parameters

DataType

The type of data associated with the list item.

Type declaration

createdAt?
optional createdAt: string;

The creation date and time of the list item (optional).

data
data: DataType;

The data associated with the list item.

id
id: string;

The unique identifier for the list item.

listId
listId: string;

The unique identifier of the list to which this item belongs.

updatedAt?
optional updatedAt: string;

The last update date and time of the list item (optional).

Defined in

proactive-connect/lib/types/listItem.ts:5


ListItemPageResponse<DataType>

type ListItemPageResponse<DataType>: object & APILinks;

Represents a paginated response containing a list of items with associated metadata.

Type declaration

_embedded
_embedded: object;

An embedded object containing an array of list items and their associated data.

_embedded.items
_embedded.items: ListItemResponse<DataType>[];

An array of list item responses with associated data.

order
order: SortOrder;

The sorting order applied to the list items.

page
page: number;

The page number of the current page.

page_size
page_size: number;

The number of items per page.

total_items
total_items: number;

The total number of items across all pages.

total_pages
total_pages: number;

The total number of pages.

Type Parameters

DataType

The type of data associated with the list items.

Remarks

Vonage API's will return information using snake_case. This represents the pure response before the client will transform the keys into camelCase.

Defined in

proactive-connect/lib/types/responses/listItemPageResponse.ts:12


ListItemResponse<DataType>

type ListItemResponse<DataType>: Omit<ListItem<DataType>, "createdAt" | "updatedAt" | "listId"> & object & APILinks;

Represents a response object for a list item with associated data.

Type declaration

created_at
created_at: string;

The creation date and time of the list item.

list_id
list_id: string;

The unique identifier of the list to which this item belongs.

updated_at
updated_at: string;

The last update date and time of the list item.

Type Parameters

DataType

The type of data associated with the list item.

Remarks

Vonage API's will return information using snake_case. This represents the pure response before the client will transform the keys into camelCase.

Defined in

proactive-connect/lib/types/responses/listItemResponse.ts:11


ListManualDatasource

type ListManualDatasource: object;

Represents a manual data source for a list.

Type declaration

type
type: "manual";

The type of the data source, which is always 'manual'.

Defined in

proactive-connect/lib/types/listManualDatasource.ts:4


ListPageResponse

type ListPageResponse: object & APILinks;

Represents a paginated response containing a list of lists with associated metadata.

Type declaration

_embedded
_embedded: object;

An embedded object containing an array of list responses with associated metadata.

_embedded.lists
_embedded.lists: ListResponse[];

An array of list responses with associated metadata.

order
order: SortOrder;

The sorting order applied to the lists.

page
page: number;

The page number of the current page.

page_size
page_size: number;

The number of lists per page.

total_items
total_items: number;

The total number of lists across all pages.

total_pages
total_pages: number;

The total number of pages.

Remarks

Vonage API's will return information using snake_case. This represents the pure response before the client will transform the keys into camelCase.

Defined in

proactive-connect/lib/types/responses/listPageResponse.ts:11


ListResponse

type ListResponse: Omit<List, "createdAt" | "updatedAt" | "itemsCount"> & object & APILinks;

Represents a response object for a list with associated metadata and synchronization details.

Type declaration

created_at
created_at: string;

The creation date and time of the list.

datasource?
optional datasource: ListManualDatasource | SaleForceDataSourceResponse;

The data source for the list, which can be either a manual data source or a Salesforce data source.

items_count
items_count: number;

The number of items in the list.

sync_status
sync_status: SyncStatusResponse;

The synchronization status of the list.

updated_at
updated_at: string;

The last update date and time of the list.

Remarks

Vonage API's will return information using snake_case. This represents the pure response before the client will transform the keys into camelCase.

Defined in

proactive-connect/lib/types/responses/listResponse.ts:50


ListSalesForceDataSource

type ListSalesForceDataSource: object;

Represents a Salesforce data source for a list.

Type declaration

integrationId
integrationId: string;

The integration ID defining Salesforce credentials to use for this data source.

soql
soql: string;

The SOQL query defining which data to fetch from Salesforce.

type
type: "salesforce";

The type of the data source, which is always 'salesforce'.

Defined in

proactive-connect/lib/types/listSalesForceDataSource.ts:4


ListSyncStatus

type ListSyncStatus: object;

Represents the synchronization status of a list.

Type declaration

dataModified
dataModified: boolean;

Indicates whether one or more list items were added, removed, and/or modified since the latest sync.

details?
optional details: string;

Additional details on the synchronization status (optional).

dirty
dirty: boolean;

Indicates whether the list content or metadata were modified since the last sync.

metadataModified
metadataModified: boolean;

Indicates whether the list metadata (definition) is modified since the latest sync.

value
value: SyncStatus;

The synchronization status value, which should be one of the values from the 'SyncStatus' enum.

Defined in

proactive-connect/lib/types/listSyncStatus.ts:6


SaleForceDataSourceRequest

type SaleForceDataSourceRequest: Omit<ListSalesForceDataSource, "integrationId"> & object;

Represents a response object for a Salesforce data source with modified integration ID.

Type declaration

integration_id
integration_id: string;

The integration ID defining Salesforce credentials to use for this data source.

Remarks

Vonage API's will return information using snake_case. This represents the pure response before the client will transform the keys into camelCase.

Defined in

proactive-connect/lib/types/requests/writeListRequest.ts:11


SaleForceDataSourceResponse

type SaleForceDataSourceResponse: Omit<ListSalesForceDataSource, "integrationId"> & object;

Represents a response object for a Salesforce data source with modified integration ID.

Type declaration

integration_id
integration_id: string;

The integration ID defining Salesforce credentials to use for this data source.

Remarks

Vonage API's will return information using snake_case. This represents the pure response before the client will transform the keys into camelCase.

Defined in

proactive-connect/lib/types/responses/listResponse.ts:34


SyncStatusResponse

type SyncStatusResponse: Omit<ListSyncStatus, "metadataModified" | "dataModified"> & object;

Represents a response object for synchronization status with modified metadata and data flags.

Type declaration

data_modified
data_modified: boolean;

Indicates whether one or more list items were added, removed, and/or modified since the latest sync.

metadata_modified
metadata_modified: boolean;

Indicates whether the list metadata (definition) is modified since the latest sync.

Remarks

Vonage API's will return information using snake_case. This represents the pure response before the client will transform the keys into camelCase.

Defined in

proactive-connect/lib/types/responses/listResponse.ts:13


WriteListRequest

type WriteListRequest: Pick<List, "name" | "description" | "tags" | "attributes"> & object;

Represents a request object for creating or updating a list with associated metadata.

Type declaration

datasource?
optional datasource: ListManualDatasource | SaleForceDataSourceRequest;

The data source for the list, which can be either a manual data source or a Salesforce data source.

Remarks

Vonage API's will return information using snake_case. This represents the pure response before the client will transform the keys into camelCase.

Defined in

proactive-connect/lib/types/requests/writeListRequest.ts:27

Clone this wiki locally