@vonage/client-sdk 1.2.0-alpha.8 → 1.2.0-alpha.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +3 -1
- package/dist/client/VonageClient.d.ts +1 -1
- package/dist/client/index.cjs +6432 -6397
- package/dist/client/index.mjs +6432 -6397
- package/dist/kotlin/clientsdk-clientcore_js.d.ts +2 -2
- package/dist/vonageClientSDK.js +6430 -6395
- package/dist/vonageClientSDK.min.js +2 -2
- package/dist/vonageClientSDK.min.mjs +2 -2
- package/dist/vonageClientSDK.mjs +6430 -6395
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -200,11 +200,13 @@ try {
|
|
|
200
200
|
let cursor: string | undefined | null = undefined;
|
|
201
201
|
const pageSize = 10;
|
|
202
202
|
const conversations: Conversation[] = [];
|
|
203
|
+
const includeCustsomData = false;
|
|
203
204
|
do {
|
|
204
205
|
const response: ConversationsPage = await client.getConversations(
|
|
205
206
|
PresentingOrder.ASC,
|
|
206
207
|
pageSize,
|
|
207
|
-
cursor
|
|
208
|
+
cursor,
|
|
209
|
+
includeCustsomData
|
|
208
210
|
);
|
|
209
211
|
conversations.push(...response.conversations);
|
|
210
212
|
cursor = response.nextCursor;
|
|
@@ -177,7 +177,7 @@ export declare class VonageClient extends vonage.CombinedClientJS {
|
|
|
177
177
|
* @param cursor - the cursor to use for pagination (default: null)
|
|
178
178
|
* @returns a `ConversationsPage` containing the conversations
|
|
179
179
|
*/
|
|
180
|
-
getConversations(order?: PresentingOrder, pageSize?: number, cursor?: string | null): Promise<ConversationsPage>;
|
|
180
|
+
getConversations(order?: PresentingOrder, pageSize?: number, cursor?: string | null, includeCustomData?: boolean): Promise<ConversationsPage>;
|
|
181
181
|
/**
|
|
182
182
|
* Get a Conversation's Events
|
|
183
183
|
*
|