@babelforce/babelconnect-sdk 0.21.3 → 0.22.0
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/dist/client.d.ts
CHANGED
|
@@ -100,6 +100,13 @@ export declare class BabelconnectClient {
|
|
|
100
100
|
agentId?: string;
|
|
101
101
|
number?: string;
|
|
102
102
|
holdOthers?: boolean;
|
|
103
|
+
/**
|
|
104
|
+
* Caller ID shown to an invited EXTERNAL (PSTN) number. OPTIONAL, exactly
|
|
105
|
+
* like `placeCall`'s `displayAsTo`: omit it and the server uses the agent's
|
|
106
|
+
* currently selected outbound number. Ignored for agent targets and
|
|
107
|
+
* internal extensions, which take the moderator's own number (CA5).
|
|
108
|
+
*/
|
|
109
|
+
displayAs?: string;
|
|
103
110
|
}): void;
|
|
104
111
|
/** Remove a member from the conference (moderator only). */
|
|
105
112
|
kickConferenceMember(memberId: string): void;
|
package/dist/client.js
CHANGED
|
@@ -3036,6 +3036,18 @@ export declare class AddConferenceMember extends Message<AddConferenceMember> {
|
|
|
3036
3036
|
* @generated from field: bool hold_others = 3;
|
|
3037
3037
|
*/
|
|
3038
3038
|
holdOthers: boolean;
|
|
3039
|
+
/**
|
|
3040
|
+
* Caller-ID shown to an invited EXTERNAL (PSTN) member. OPTIONAL, exactly like
|
|
3041
|
+
* PlaceCall.display_as_to on the dialer: leave it empty and the server
|
|
3042
|
+
* substitutes the agent's currently selected number (AgentInfo.display_as).
|
|
3043
|
+
* Ignored for agent / internal-extension targets, which take the moderator's
|
|
3044
|
+
* own number. Unlike the outbound endpoint the backend has no default here —
|
|
3045
|
+
* it rejects a PSTN invite carrying no caller-ID — so the server always fills
|
|
3046
|
+
* one in rather than passing an empty value through (CA5).
|
|
3047
|
+
*
|
|
3048
|
+
* @generated from field: string display_as = 4;
|
|
3049
|
+
*/
|
|
3050
|
+
displayAs: string;
|
|
3039
3051
|
constructor(data?: PartialMessage<AddConferenceMember>);
|
|
3040
3052
|
static readonly runtime: typeof proto3;
|
|
3041
3053
|
static readonly typeName = "babelconnect.v1.AddConferenceMember";
|
|
@@ -3932,6 +3932,18 @@ export class AddConferenceMember extends Message {
|
|
|
3932
3932
|
* @generated from field: bool hold_others = 3;
|
|
3933
3933
|
*/
|
|
3934
3934
|
holdOthers = false;
|
|
3935
|
+
/**
|
|
3936
|
+
* Caller-ID shown to an invited EXTERNAL (PSTN) member. OPTIONAL, exactly like
|
|
3937
|
+
* PlaceCall.display_as_to on the dialer: leave it empty and the server
|
|
3938
|
+
* substitutes the agent's currently selected number (AgentInfo.display_as).
|
|
3939
|
+
* Ignored for agent / internal-extension targets, which take the moderator's
|
|
3940
|
+
* own number. Unlike the outbound endpoint the backend has no default here —
|
|
3941
|
+
* it rejects a PSTN invite carrying no caller-ID — so the server always fills
|
|
3942
|
+
* one in rather than passing an empty value through (CA5).
|
|
3943
|
+
*
|
|
3944
|
+
* @generated from field: string display_as = 4;
|
|
3945
|
+
*/
|
|
3946
|
+
displayAs = "";
|
|
3935
3947
|
constructor(data) {
|
|
3936
3948
|
super();
|
|
3937
3949
|
proto3.util.initPartial(data, this);
|
|
@@ -3942,6 +3954,7 @@ export class AddConferenceMember extends Message {
|
|
|
3942
3954
|
{ no: 1, name: "agent_id", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
3943
3955
|
{ no: 2, name: "number", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
3944
3956
|
{ no: 3, name: "hold_others", kind: "scalar", T: 8 /* ScalarType.BOOL */ },
|
|
3957
|
+
{ no: 4, name: "display_as", kind: "scalar", T: 9 /* ScalarType.STRING */ },
|
|
3945
3958
|
]);
|
|
3946
3959
|
static fromBinary(bytes, options) {
|
|
3947
3960
|
return new AddConferenceMember().fromBinary(bytes, options);
|
package/dist/version.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const SDK_VERSION = "0.
|
|
1
|
+
export declare const SDK_VERSION = "0.22.0";
|
package/dist/version.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@babelforce/babelconnect-sdk",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.22.0",
|
|
4
4
|
"description": "TypeScript SDK for babelconnect — server-authoritative agent state over gRPC-web, native WebRTC audio, and an embeddable widget (iframe + postMessage) for the Flutter web app.",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"homepage": "https://babelforce.github.io/babelconnect-sdk/",
|