@fonoster/sdk 0.8.30 → 0.8.33
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 +0 -8
- package/dist/node/ApiKeys.js +1 -1
- package/dist/node/client/Client.js +2 -2
- package/dist/node/client/TokenRefresherNode.js +1 -1
- package/dist/node/client/isJwtExpired.js +1 -1
- package/dist/node/client/makeRpcRequest.js +1 -1
- package/dist/node/client/types/index.js +1 -1
- package/dist/node/node.js +1 -1
- package/dist/node/tsconfig.tsbuildinfo +1 -1
- package/dist/node/utils.js +1 -1
- package/dist/web/fonoster.min.js +1 -1
- package/dist/web/index.esm.js +1 -1
- package/package.json +4 -4
package/README.md
CHANGED
|
@@ -762,9 +762,6 @@ const request = {
|
|
|
762
762
|
},
|
|
763
763
|
intelligence: {
|
|
764
764
|
productRef: "nlu.dialogflowcx",
|
|
765
|
-
credentials: {
|
|
766
|
-
apiKey: "your-api-key"
|
|
767
|
-
},
|
|
768
765
|
config: {
|
|
769
766
|
agentId: "your-agent-id"
|
|
770
767
|
}
|
|
@@ -795,7 +792,6 @@ Creates a new Application in Fonoster. The only required fields are the name and
|
|
|
795
792
|
| request.speechToText.config | <code>object</code> | The configuration object for the speech-to-text engine (e.g., { languageCode: "en-US" }) |
|
|
796
793
|
| request.intelligence | <code>Intelligence</code> | The intelligence configuration |
|
|
797
794
|
| request.intelligence.productRef | <code>string</code> | The product reference of the intelligence engine (e.g., nlu.dialogflowcx) |
|
|
798
|
-
| request.intelligence.credentials | <code>object</code> | The credentials object for the intelligence engine (e.g., { apiKey: "your-api-key" }) |
|
|
799
795
|
| request.intelligence.config | <code>object</code> | The configuration object for the intelligence engine (e.g., { agentId: "your-agent-id" }) |
|
|
800
796
|
|
|
801
797
|
**Example**
|
|
@@ -820,9 +816,6 @@ const request = {
|
|
|
820
816
|
},
|
|
821
817
|
intelligence: {
|
|
822
818
|
productRef: "nlu.dialogflowcx",
|
|
823
|
-
credentials: {
|
|
824
|
-
apiKey: "your-api-key"
|
|
825
|
-
},
|
|
826
819
|
config: {
|
|
827
820
|
agentId: "your-agent-id"
|
|
828
821
|
}
|
|
@@ -879,7 +872,6 @@ Updates an existing application in Fonoster.
|
|
|
879
872
|
| request.speechToText.config | <code>object</code> | The configuration object for the speech-to-text engine (e.g., { languageCode: "en-US" }) |
|
|
880
873
|
| request.intelligence | <code>Intelligence</code> | The intelligence configuration |
|
|
881
874
|
| request.intelligence.productRef | <code>string</code> | The product reference of the intelligence engine (e.g., nlu.dialogflowcx) |
|
|
882
|
-
| request.intelligence.credentials | <code>object</code> | The credentials object for the intelligence engine (e.g., { apiKey: "your-api-key" }) |
|
|
883
875
|
| request.intelligence.config | <code>object</code> | The configuration object for the intelligence engine (e.g., { agentId: "your-agent-id" }) |
|
|
884
876
|
|
|
885
877
|
**Example**
|
package/dist/node/ApiKeys.js
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.ApiKeys = void 0;
|
|
4
4
|
/*
|
|
5
|
-
* Copyright (C)
|
|
5
|
+
* Copyright (C) 2025 by Fonoster Inc (https://fonoster.com)
|
|
6
6
|
* http://github.com/fonoster/fonoster
|
|
7
7
|
*
|
|
8
8
|
* This file is part of Fonoster
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.Client = void 0;
|
|
4
4
|
/*
|
|
5
|
-
* Copyright (C)
|
|
5
|
+
* Copyright (C) 2025 by Fonoster Inc (https://fonoster.com)
|
|
6
6
|
* http://github.com/fonoster/fonoster
|
|
7
7
|
*
|
|
8
8
|
* This file is part of Fonoster
|
|
@@ -32,7 +32,7 @@ const identity_grpc_pb_1 = require("../generated/node/identity_grpc_pb");
|
|
|
32
32
|
const numbers_grpc_pb_1 = require("../generated/node/numbers_grpc_pb");
|
|
33
33
|
const secrets_grpc_pb_1 = require("../generated/node/secrets_grpc_pb");
|
|
34
34
|
const trunks_grpc_pb_1 = require("../generated/node/trunks_grpc_pb");
|
|
35
|
-
const DEFAULT_ENDPOINT = "api.fonoster.
|
|
35
|
+
const DEFAULT_ENDPOINT = "api.fonoster.com";
|
|
36
36
|
class Client extends AbstractClient_1.AbstractClient {
|
|
37
37
|
endpoint;
|
|
38
38
|
tokenRefresherInterceptor;
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.TokenRefresherNode = void 0;
|
|
4
4
|
/*
|
|
5
|
-
* Copyright (C)
|
|
5
|
+
* Copyright (C) 2025 by Fonoster Inc (https://fonoster.com)
|
|
6
6
|
* http://github.com/fonoster/fonoster
|
|
7
7
|
*
|
|
8
8
|
* This file is part of Fonoster
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.isJwtExpired = isJwtExpired;
|
|
4
4
|
/*
|
|
5
|
-
* Copyright (C)
|
|
5
|
+
* Copyright (C) 2025 by Fonoster Inc (https://fonoster.com)
|
|
6
6
|
* http://github.com/fonoster/fonoster
|
|
7
7
|
*
|
|
8
8
|
* This file is part of Fonoster
|
|
@@ -3,7 +3,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.makeRpcRequest = makeRpcRequest;
|
|
4
4
|
/* eslint-disable no-loops/no-loops */
|
|
5
5
|
/*
|
|
6
|
-
* Copyright (C)
|
|
6
|
+
* Copyright (C) 2025 by Fonoster Inc (https://fonoster.com)
|
|
7
7
|
* http://github.com/fonoster/fonoster
|
|
8
8
|
*
|
|
9
9
|
* This file is part of Fonoster
|
|
@@ -20,7 +20,7 @@ __exportStar(require("./FonosterClient"), exports);
|
|
|
20
20
|
__exportStar(require("./IdentityClient"), exports);
|
|
21
21
|
__exportStar(require("./SecretsClient"), exports);
|
|
22
22
|
/*
|
|
23
|
-
* Copyright (C)
|
|
23
|
+
* Copyright (C) 2025 by Fonoster Inc (https://fonoster.com)
|
|
24
24
|
* http://github.com/fonoster/fonoster
|
|
25
25
|
*
|
|
26
26
|
* This file is part of Fonoster
|
package/dist/node/node.js
CHANGED
|
@@ -27,7 +27,7 @@ __exportStar(require("./Trunks"), exports);
|
|
|
27
27
|
__exportStar(require("./Users"), exports);
|
|
28
28
|
__exportStar(require("./Workspaces"), exports);
|
|
29
29
|
/*
|
|
30
|
-
* Copyright (C)
|
|
30
|
+
* Copyright (C) 2025 by Fonoster Inc (https://fonoster.com)
|
|
31
31
|
* http://github.com/fonoster/fonoster
|
|
32
32
|
*
|
|
33
33
|
* This file is part of Fonoster
|