phonic 0.32.3 → 0.32.4
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/cjs/BaseClient.js +2 -2
- package/dist/cjs/api/types/Conversation.d.ts +8 -0
- package/dist/cjs/api/types/Conversation.js +8 -0
- package/dist/cjs/version.d.ts +1 -1
- package/dist/cjs/version.js +1 -1
- package/dist/esm/BaseClient.mjs +2 -2
- package/dist/esm/api/types/Conversation.d.mts +8 -0
- package/dist/esm/api/types/Conversation.mjs +8 -0
- package/dist/esm/version.d.mts +1 -1
- package/dist/esm/version.mjs +1 -1
- package/package.json +1 -1
package/dist/cjs/BaseClient.js
CHANGED
|
@@ -43,8 +43,8 @@ function normalizeClientOptions(options) {
|
|
|
43
43
|
const headers = (0, headers_js_1.mergeHeaders)({
|
|
44
44
|
"X-Fern-Language": "JavaScript",
|
|
45
45
|
"X-Fern-SDK-Name": "phonic",
|
|
46
|
-
"X-Fern-SDK-Version": "0.32.
|
|
47
|
-
"User-Agent": "phonic/0.32.
|
|
46
|
+
"X-Fern-SDK-Version": "0.32.4",
|
|
47
|
+
"User-Agent": "phonic/0.32.4",
|
|
48
48
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
49
49
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
50
50
|
}, options === null || options === void 0 ? void 0 : options.headers);
|
|
@@ -125,9 +125,17 @@ export declare namespace Conversation {
|
|
|
125
125
|
/** The origin of the conversation. */
|
|
126
126
|
const Origin: {
|
|
127
127
|
readonly Web: "web";
|
|
128
|
+
readonly WebPlayground: "web-playground";
|
|
129
|
+
readonly WebDemo: "web-demo";
|
|
128
130
|
readonly Direct: "direct";
|
|
131
|
+
readonly LivekitAgentsPy: "livekit-agents-py";
|
|
132
|
+
readonly LivekitAgentsJs: "livekit-agents-js";
|
|
133
|
+
readonly SdkPy: "sdk-py";
|
|
134
|
+
readonly SdkJs: "sdk-js";
|
|
129
135
|
readonly Inbound: "inbound";
|
|
136
|
+
readonly TelephonyInbound: "telephony-inbound";
|
|
130
137
|
readonly Outbound: "outbound";
|
|
138
|
+
readonly TelephonyOutbound: "telephony-outbound";
|
|
131
139
|
readonly Replay: "replay";
|
|
132
140
|
};
|
|
133
141
|
type Origin = (typeof Origin)[keyof typeof Origin];
|
|
@@ -7,9 +7,17 @@ var Conversation;
|
|
|
7
7
|
/** The origin of the conversation. */
|
|
8
8
|
Conversation.Origin = {
|
|
9
9
|
Web: "web",
|
|
10
|
+
WebPlayground: "web-playground",
|
|
11
|
+
WebDemo: "web-demo",
|
|
10
12
|
Direct: "direct",
|
|
13
|
+
LivekitAgentsPy: "livekit-agents-py",
|
|
14
|
+
LivekitAgentsJs: "livekit-agents-js",
|
|
15
|
+
SdkPy: "sdk-py",
|
|
16
|
+
SdkJs: "sdk-js",
|
|
11
17
|
Inbound: "inbound",
|
|
18
|
+
TelephonyInbound: "telephony-inbound",
|
|
12
19
|
Outbound: "outbound",
|
|
20
|
+
TelephonyOutbound: "telephony-outbound",
|
|
13
21
|
Replay: "replay",
|
|
14
22
|
};
|
|
15
23
|
/** The background noise type used in the conversation. */
|
package/dist/cjs/version.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const SDK_VERSION = "0.32.
|
|
1
|
+
export declare const SDK_VERSION = "0.32.4";
|
package/dist/cjs/version.js
CHANGED
package/dist/esm/BaseClient.mjs
CHANGED
|
@@ -6,8 +6,8 @@ export function normalizeClientOptions(options) {
|
|
|
6
6
|
const headers = mergeHeaders({
|
|
7
7
|
"X-Fern-Language": "JavaScript",
|
|
8
8
|
"X-Fern-SDK-Name": "phonic",
|
|
9
|
-
"X-Fern-SDK-Version": "0.32.
|
|
10
|
-
"User-Agent": "phonic/0.32.
|
|
9
|
+
"X-Fern-SDK-Version": "0.32.4",
|
|
10
|
+
"User-Agent": "phonic/0.32.4",
|
|
11
11
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
12
12
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
13
13
|
}, options === null || options === void 0 ? void 0 : options.headers);
|
|
@@ -125,9 +125,17 @@ export declare namespace Conversation {
|
|
|
125
125
|
/** The origin of the conversation. */
|
|
126
126
|
const Origin: {
|
|
127
127
|
readonly Web: "web";
|
|
128
|
+
readonly WebPlayground: "web-playground";
|
|
129
|
+
readonly WebDemo: "web-demo";
|
|
128
130
|
readonly Direct: "direct";
|
|
131
|
+
readonly LivekitAgentsPy: "livekit-agents-py";
|
|
132
|
+
readonly LivekitAgentsJs: "livekit-agents-js";
|
|
133
|
+
readonly SdkPy: "sdk-py";
|
|
134
|
+
readonly SdkJs: "sdk-js";
|
|
129
135
|
readonly Inbound: "inbound";
|
|
136
|
+
readonly TelephonyInbound: "telephony-inbound";
|
|
130
137
|
readonly Outbound: "outbound";
|
|
138
|
+
readonly TelephonyOutbound: "telephony-outbound";
|
|
131
139
|
readonly Replay: "replay";
|
|
132
140
|
};
|
|
133
141
|
type Origin = (typeof Origin)[keyof typeof Origin];
|
|
@@ -4,9 +4,17 @@ export var Conversation;
|
|
|
4
4
|
/** The origin of the conversation. */
|
|
5
5
|
Conversation.Origin = {
|
|
6
6
|
Web: "web",
|
|
7
|
+
WebPlayground: "web-playground",
|
|
8
|
+
WebDemo: "web-demo",
|
|
7
9
|
Direct: "direct",
|
|
10
|
+
LivekitAgentsPy: "livekit-agents-py",
|
|
11
|
+
LivekitAgentsJs: "livekit-agents-js",
|
|
12
|
+
SdkPy: "sdk-py",
|
|
13
|
+
SdkJs: "sdk-js",
|
|
8
14
|
Inbound: "inbound",
|
|
15
|
+
TelephonyInbound: "telephony-inbound",
|
|
9
16
|
Outbound: "outbound",
|
|
17
|
+
TelephonyOutbound: "telephony-outbound",
|
|
10
18
|
Replay: "replay",
|
|
11
19
|
};
|
|
12
20
|
/** The background noise type used in the conversation. */
|
package/dist/esm/version.d.mts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const SDK_VERSION = "0.32.
|
|
1
|
+
export declare const SDK_VERSION = "0.32.4";
|
package/dist/esm/version.mjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export const SDK_VERSION = "0.32.
|
|
1
|
+
export const SDK_VERSION = "0.32.4";
|