@vonage/client-sdk 1.3.0-alpha.4 → 1.3.0-alpha.5
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/classes/VonageClient.html +20 -3
- package/dist/client/VonageClient.d.ts +28 -1
- package/dist/client/index.cjs +12628 -11804
- package/dist/client/index.mjs +12628 -11804
- package/dist/kotlin/clientsdk-clientcore_js.d.ts +29 -1
- package/dist/utils/RequestParameterModels.d.ts +8 -0
- package/dist/vonageClientSDK.js +12226 -11426
- package/dist/vonageClientSDK.min.js +1 -1
- package/dist/vonageClientSDK.min.mjs +1 -1
- package/dist/vonageClientSDK.mjs +12226 -11426
- package/package.json +1 -1
|
@@ -47,6 +47,8 @@ export declare namespace vonage {
|
|
|
47
47
|
sendEphemeralEvent(cid: string, customData: string): Promise<string>;
|
|
48
48
|
sendCustomEvent(cid: string, eventType: string, customData: string): Promise<string>;
|
|
49
49
|
deleteEvent(id: number, conversationId: string): Promise<any>;
|
|
50
|
+
resetConversation(conversationId: string, parameters: Nullable<vonage.ResetConversationParametersJS>): Promise<any>;
|
|
51
|
+
updateConversation(conversationId: string, parameters: vonage.UpdateConversationParametersJS): Promise<any>;
|
|
50
52
|
setConfig(config: vonage.ConfigObjectJS): void;
|
|
51
53
|
createSession(token: string, sessionId: Nullable<string>): Promise<string>;
|
|
52
54
|
deleteSession(): Promise<any>;
|
|
@@ -676,6 +678,8 @@ export declare namespace vonage {
|
|
|
676
678
|
sendEphemeralEvent(cid: string, customData: string): Promise<string>;
|
|
677
679
|
sendCustomEvent(cid: string, eventType: string, customData: string): Promise<string>;
|
|
678
680
|
deleteEvent(id: number, conversationId: string): Promise<any>;
|
|
681
|
+
resetConversation(conversationId: string, parameters: Nullable<vonage.ResetConversationParametersJS>): Promise<any>;
|
|
682
|
+
updateConversation(conversationId: string, parameters: vonage.UpdateConversationParametersJS): Promise<any>;
|
|
679
683
|
setConfig(config: vonage.ConfigObjectJS): void;
|
|
680
684
|
createSession(token: string, sessionId: Nullable<string>): Promise<string>;
|
|
681
685
|
deleteSession(): Promise<any>;
|
|
@@ -1096,7 +1100,31 @@ export declare namespace vonage {
|
|
|
1096
1100
|
}
|
|
1097
1101
|
}
|
|
1098
1102
|
export declare namespace vonage {
|
|
1099
|
-
interface
|
|
1103
|
+
interface ConversationParametersJS {
|
|
1104
|
+
readonly name?: Nullable<string>;
|
|
1105
|
+
readonly displayName?: Nullable<string>;
|
|
1106
|
+
readonly imageUrl?: Nullable<string>;
|
|
1107
|
+
readonly ttl?: Nullable<any>/* Nullable<kotlin.Number> */;
|
|
1108
|
+
readonly customSortKey?: Nullable<string>;
|
|
1109
|
+
readonly customData?: Nullable<string>;
|
|
1110
|
+
}
|
|
1111
|
+
interface CreateConversationParametersJS extends vonage.ConversationParametersJS {
|
|
1112
|
+
readonly name?: Nullable<string>;
|
|
1113
|
+
readonly displayName?: Nullable<string>;
|
|
1114
|
+
readonly imageUrl?: Nullable<string>;
|
|
1115
|
+
readonly ttl?: Nullable<any>/* Nullable<kotlin.Number> */;
|
|
1116
|
+
readonly customSortKey?: Nullable<string>;
|
|
1117
|
+
readonly customData?: Nullable<string>;
|
|
1118
|
+
}
|
|
1119
|
+
interface ResetConversationParametersJS extends vonage.ConversationParametersJS {
|
|
1120
|
+
readonly name?: Nullable<string>;
|
|
1121
|
+
readonly displayName?: Nullable<string>;
|
|
1122
|
+
readonly imageUrl?: Nullable<string>;
|
|
1123
|
+
readonly ttl?: Nullable<any>/* Nullable<kotlin.Number> */;
|
|
1124
|
+
readonly customSortKey?: Nullable<string>;
|
|
1125
|
+
readonly customData?: Nullable<string>;
|
|
1126
|
+
}
|
|
1127
|
+
interface UpdateConversationParametersJS extends vonage.ConversationParametersJS {
|
|
1100
1128
|
readonly name?: Nullable<string>;
|
|
1101
1129
|
readonly displayName?: Nullable<string>;
|
|
1102
1130
|
readonly imageUrl?: Nullable<string>;
|
|
@@ -15,3 +15,11 @@ export type GetConversationEventsParameters = Omit<vonage.GetConversationEventsP
|
|
|
15
15
|
export type GetConversationMembersParameters = Omit<vonage.GetConversationMembersParametersJS, 'pageSize'> & {
|
|
16
16
|
pageSize?: Nullable<number>;
|
|
17
17
|
};
|
|
18
|
+
export type UpdateConversationParameters = Omit<vonage.UpdateConversationParametersJS, 'ttl' | 'customData'> & {
|
|
19
|
+
customData?: Nullable<CustomData>;
|
|
20
|
+
ttl?: Nullable<number>;
|
|
21
|
+
};
|
|
22
|
+
export type ResetConversationParameters = Omit<vonage.UpdateConversationParametersJS, 'ttl' | 'customData'> & {
|
|
23
|
+
customData?: Nullable<CustomData>;
|
|
24
|
+
ttl?: Nullable<number>;
|
|
25
|
+
};
|