@vonage/client-sdk 2.6.0 → 2.6.1-snapshot.202607280910
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/api_docs/ts/assets/search.js +1 -1
- package/api_docs/ts/interfaces/MessageTemplateEventBody.html +3 -4
- package/api_docs/ts/interfaces/VonageError.html +6 -3
- package/dist/client/index.cjs +41492 -33130
- package/dist/client/index.mjs +41492 -33130
- package/dist/kotlin/JsUnions.d.ts +19 -19
- package/dist/kotlin/clientsdk-clientcore_js.d.ts +727 -145
- package/dist/vonageClientSDK.js +41193 -32810
- package/dist/vonageClientSDK.min.js +24 -24
- package/dist/vonageClientSDK.min.mjs +25 -25
- package/dist/vonageClientSDK.mjs +41193 -32810
- package/package.json +1 -1
|
@@ -389,14 +389,9 @@ export type MessageVideoEvent = Omit<vonage.MessageVideoEventJS, 'kind' | 'from'
|
|
|
389
389
|
*/
|
|
390
390
|
export type PersistentConversationEvent = CustomConversationEvent | EventDeleteConversationEvent | MemberInvitedEvent | MemberJoinedEvent | MemberLeftEvent | MessageAudioEvent | MessageCustomEvent | MessageDeliveredEvent | MessageFileEvent | MessageImageEvent | MessageLocationEvent | MessageRejectedEvent | MessageSeenEvent | MessageSubmittedEvent | MessageTemplateEvent | MessageTextEvent | MessageUndeliverableEvent | MessageVCardEvent | MessageVideoEvent;
|
|
391
391
|
/**
|
|
392
|
-
* A
|
|
393
|
-
*/
|
|
394
|
-
export type VoiceChannelTypeJS = 'app' | 'phone' | 'sip' | 'websocket';
|
|
395
|
-
/**
|
|
396
|
-
* A ConversationEvent is a union of {@link NonPersistentConversationEvent}, {@link PersistentConversationEvent}
|
|
397
|
-
* @group Chat
|
|
392
|
+
* A VonageErrorTypeJS is a union of 'CS_ERROR', 'NETWORK_ERROR', 'SESSION_ERROR', 'INTERNAL_ERROR', 'UNKNOWN_ERROR'
|
|
398
393
|
*/
|
|
399
|
-
export type
|
|
394
|
+
export type VonageErrorTypeJS = 'CS_ERROR' | 'NETWORK_ERROR' | 'SESSION_ERROR' | 'INTERNAL_ERROR' | 'UNKNOWN_ERROR';
|
|
400
395
|
/**
|
|
401
396
|
* A ConversationState is a union of 'ACTIVE', 'INACTIVE', 'DELETED'
|
|
402
397
|
*/
|
|
@@ -410,21 +405,17 @@ export type MemberState = 'INVITED' | 'JOINED' | 'LEFT' | 'UNKNOWN';
|
|
|
410
405
|
*/
|
|
411
406
|
export type ConversationChannelType = 'APP' | 'PHONE' | 'PSTN' | 'sip' | 'VBC' | 'WEBSOCKET' | 'SMS' | 'MMS' | 'WHATSAPP' | 'VIBER' | 'MESSENGER';
|
|
412
407
|
/**
|
|
413
|
-
* A
|
|
414
|
-
*/
|
|
415
|
-
export type CSErrorCodesJS = 'CONVERSATION_DUPLICATE_NAME' | 'MEMBER_ALREADY_JOINED' | 'MEMBER_ALREADY_INVITED' | 'CONVERSATION_NOT_FOUND' | 'MEMBER_NOT_FOUND' | 'USER_NOT_FOUND' | 'INVALID_CURSOR' | 'VALIDATION_FAIL' | 'CONVERSATION_MAX_NUMBER_OF_MEMBERS' | 'CUSTOM_DATA_OVERALL_LIMIT_EXCEEDED';
|
|
416
|
-
/**
|
|
417
|
-
* A SessionErrorCodesJS is a union of 'EMPTY_TOKEN', 'FORCED_DISCONNECT', 'TIMEOUT', 'INTERNAL_FAILURE', 'NO_ACTIVE_SESSION', 'ALREADY_ACTIVE_SESSION', 'INVALID_TOKEN', 'EXPIRED_TOKEN', 'INVALID_USER', 'AUTHORIZATION_ERROR', 'INVALID_SESSION', 'MAX_OPEN_SESSIONS', 'INVALID_SOCKET_TRANSPORT', 'CLIENT_DISCONNECT', 'PING_TIMEOUT_DISCONNECT', 'TRANSPORT_CLOSED_DISCONNECT'
|
|
418
|
-
*/
|
|
419
|
-
export type SessionErrorCodesJS = 'EMPTY_TOKEN' | 'FORCED_DISCONNECT' | 'TIMEOUT' | 'INTERNAL_FAILURE' | 'NO_ACTIVE_SESSION' | 'ALREADY_ACTIVE_SESSION' | 'INVALID_TOKEN' | 'EXPIRED_TOKEN' | 'INVALID_USER' | 'AUTHORIZATION_ERROR' | 'INVALID_SESSION' | 'MAX_OPEN_SESSIONS' | 'INVALID_SOCKET_TRANSPORT' | 'CLIENT_DISCONNECT' | 'PING_TIMEOUT_DISCONNECT' | 'TRANSPORT_CLOSED_DISCONNECT';
|
|
420
|
-
/**
|
|
421
|
-
* A VonageErrorTypeJS is a union of 'CS_ERROR', 'NETWORK_ERROR', 'SESSION_ERROR', 'INTERNAL_ERROR', 'UNKNOWN_ERROR'
|
|
408
|
+
* A CancelReasonJS is a union of 'RemoteCancel', 'AnsweredElsewhere', 'RejectedElsewhere', 'RemoteTimeout'
|
|
422
409
|
*/
|
|
423
|
-
export type
|
|
410
|
+
export type CancelReasonJS = 'RemoteCancel' | 'AnsweredElsewhere' | 'RejectedElsewhere' | 'RemoteTimeout';
|
|
424
411
|
/**
|
|
425
412
|
* A SessionErrorReasonJS is a union of 'EXPIRED_TOKEN', 'TRANSPORT_CLOSED', 'PING_TIMEOUT'
|
|
426
413
|
*/
|
|
427
414
|
export type SessionErrorReasonJS = 'EXPIRED_TOKEN' | 'TRANSPORT_CLOSED' | 'PING_TIMEOUT';
|
|
415
|
+
/**
|
|
416
|
+
* A VoiceChannelTypeJS is a union of 'app', 'phone', 'sip', 'websocket'
|
|
417
|
+
*/
|
|
418
|
+
export type VoiceChannelTypeJS = 'app' | 'phone' | 'sip' | 'websocket';
|
|
428
419
|
/**
|
|
429
420
|
* A LegStatusJS is a union of 'RINGING', 'ANSWERED', 'COMPLETED'
|
|
430
421
|
*/
|
|
@@ -438,6 +429,15 @@ export type CallDisconnectReasonJS = 'networkChange';
|
|
|
438
429
|
*/
|
|
439
430
|
export type HangupReasonJS = 'REMOTE_HANGUP' | 'REMOTE_REJECT' | 'REMOTE_NO_ANSWER_TIMEOUT' | 'LOCAL_HANGUP' | 'MEDIA_TIMEOUT';
|
|
440
431
|
/**
|
|
441
|
-
* A
|
|
432
|
+
* A CSErrorCodesJS is a union of 'CONVERSATION_DUPLICATE_NAME', 'MEMBER_ALREADY_JOINED', 'MEMBER_ALREADY_INVITED', 'CONVERSATION_NOT_FOUND', 'MEMBER_NOT_FOUND', 'USER_NOT_FOUND', 'INVALID_CURSOR', 'VALIDATION_FAIL', 'CONVERSATION_MAX_NUMBER_OF_MEMBERS', 'CUSTOM_DATA_OVERALL_LIMIT_EXCEEDED'
|
|
442
433
|
*/
|
|
443
|
-
export type
|
|
434
|
+
export type CSErrorCodesJS = 'CONVERSATION_DUPLICATE_NAME' | 'MEMBER_ALREADY_JOINED' | 'MEMBER_ALREADY_INVITED' | 'CONVERSATION_NOT_FOUND' | 'MEMBER_NOT_FOUND' | 'USER_NOT_FOUND' | 'INVALID_CURSOR' | 'VALIDATION_FAIL' | 'CONVERSATION_MAX_NUMBER_OF_MEMBERS' | 'CUSTOM_DATA_OVERALL_LIMIT_EXCEEDED';
|
|
435
|
+
/**
|
|
436
|
+
* A SessionErrorCodesJS is a union of 'EMPTY_TOKEN', 'FORCED_DISCONNECT', 'TIMEOUT', 'INTERNAL_FAILURE', 'NO_ACTIVE_SESSION', 'ALREADY_ACTIVE_SESSION', 'INVALID_TOKEN', 'EXPIRED_TOKEN', 'INVALID_USER', 'AUTHORIZATION_ERROR', 'INVALID_SESSION', 'MAX_OPEN_SESSIONS', 'INVALID_SOCKET_TRANSPORT', 'CLIENT_DISCONNECT', 'PING_TIMEOUT_DISCONNECT', 'TRANSPORT_CLOSED_DISCONNECT'
|
|
437
|
+
*/
|
|
438
|
+
export type SessionErrorCodesJS = 'EMPTY_TOKEN' | 'FORCED_DISCONNECT' | 'TIMEOUT' | 'INTERNAL_FAILURE' | 'NO_ACTIVE_SESSION' | 'ALREADY_ACTIVE_SESSION' | 'INVALID_TOKEN' | 'EXPIRED_TOKEN' | 'INVALID_USER' | 'AUTHORIZATION_ERROR' | 'INVALID_SESSION' | 'MAX_OPEN_SESSIONS' | 'INVALID_SOCKET_TRANSPORT' | 'CLIENT_DISCONNECT' | 'PING_TIMEOUT_DISCONNECT' | 'TRANSPORT_CLOSED_DISCONNECT';
|
|
439
|
+
/**
|
|
440
|
+
* A ConversationEvent is a union of {@link NonPersistentConversationEvent}, {@link PersistentConversationEvent}
|
|
441
|
+
* @group Chat
|
|
442
|
+
*/
|
|
443
|
+
export type ConversationEvent = NonPersistentConversationEvent | PersistentConversationEvent;
|