mavenagi 1.2.58 → 1.2.59
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/BaseClient.js +2 -2
- package/Client.d.ts +3 -0
- package/Client.js +37 -32
- package/api/resources/actions/client/requests/ActionPatchRequest.d.ts +5 -0
- package/api/resources/analytics/types/AgentUserRow.d.ts +5 -2
- package/api/resources/analytics/types/AgentUserRowIdentifier.d.ts +5 -0
- package/api/resources/analytics/types/AgentUserRowIdentifier.js +3 -0
- package/api/resources/analytics/types/AgentUserTableResponse.d.ts +7 -0
- package/api/resources/analytics/types/ConversationRow.d.ts +5 -2
- package/api/resources/analytics/types/ConversationRowIdentifier.d.ts +7 -0
- package/api/resources/analytics/types/ConversationRowIdentifier.js +3 -0
- package/api/resources/analytics/types/ConversationTableRequest.d.ts +0 -6
- package/api/resources/analytics/types/ConversationTableResponse.d.ts +56 -0
- package/api/resources/analytics/types/EventRow.d.ts +5 -2
- package/api/resources/analytics/types/EventRowIdentifier.d.ts +5 -0
- package/api/resources/analytics/types/EventRowIdentifier.js +3 -0
- package/api/resources/analytics/types/EventTableResponse.d.ts +14 -0
- package/api/resources/analytics/types/FeedbackRow.d.ts +5 -2
- package/api/resources/analytics/types/FeedbackRowIdentifier.d.ts +5 -0
- package/api/resources/analytics/types/FeedbackRowIdentifier.js +3 -0
- package/api/resources/analytics/types/FeedbackTableResponse.d.ts +14 -0
- package/api/resources/analytics/types/RowIdentifierBase.d.ts +5 -0
- package/api/resources/analytics/types/RowIdentifierBase.js +3 -0
- package/api/resources/analytics/types/index.d.ts +5 -0
- package/api/resources/analytics/types/index.js +5 -0
- package/api/resources/appDirectory/client/Client.d.ts +126 -0
- package/api/resources/appDirectory/client/Client.js +640 -0
- package/api/resources/appDirectory/client/index.d.ts +1 -0
- package/api/resources/appDirectory/client/index.js +17 -0
- package/api/resources/appDirectory/client/requests/GetAppSettingUploadUrlRequest.d.ts +11 -0
- package/api/resources/appDirectory/client/requests/GetAppSettingUploadUrlRequest.js +3 -0
- package/api/resources/appDirectory/client/requests/index.d.ts +1 -0
- package/api/resources/appDirectory/client/requests/index.js +2 -0
- package/api/resources/appDirectory/exports.d.ts +2 -0
- package/api/resources/appDirectory/exports.js +21 -0
- package/api/resources/appDirectory/index.d.ts +2 -0
- package/api/resources/appDirectory/index.js +18 -0
- package/api/resources/appDirectory/types/DirectoryAppSortField.d.ts +19 -0
- package/api/resources/appDirectory/types/DirectoryAppSortField.js +22 -0
- package/api/resources/appDirectory/types/DirectoryAppsSearchRequest.d.ts +7 -0
- package/api/resources/appDirectory/types/DirectoryAppsSearchRequest.js +3 -0
- package/api/resources/appDirectory/types/GetDirectoryAppSettingDownloadUrlResponse.d.ts +3 -0
- package/api/resources/appDirectory/types/GetDirectoryAppSettingDownloadUrlResponse.js +3 -0
- package/api/resources/appDirectory/types/GetDirectoryAppSettingUploadUrlResponse.d.ts +4 -0
- package/api/resources/appDirectory/types/GetDirectoryAppSettingUploadUrlResponse.js +3 -0
- package/api/resources/appDirectory/types/InstallDirectoryAppRequest.d.ts +44 -0
- package/api/resources/appDirectory/types/InstallDirectoryAppRequest.js +3 -0
- package/api/resources/appDirectory/types/index.d.ts +5 -0
- package/api/resources/appDirectory/types/index.js +21 -0
- package/api/resources/commons/types/ActionProperties.d.ts +7 -0
- package/api/resources/commons/types/BotLogicActionExecutedDetail.d.ts +10 -0
- package/api/resources/commons/types/BotLogicUserItem.d.ts +2 -0
- package/api/resources/commons/types/SideEffects.d.ts +10 -0
- package/api/resources/commons/types/SideEffects.js +13 -0
- package/api/resources/commons/types/index.d.ts +1 -0
- package/api/resources/commons/types/index.js +1 -0
- package/api/resources/conversation/types/ConversationFilter.d.ts +5 -0
- package/api/resources/developersCommons/exports.d.ts +1 -0
- package/api/resources/developersCommons/exports.js +18 -0
- package/api/resources/developersCommons/types/AppInstalled.d.ts +5 -0
- package/api/resources/developersCommons/types/AppInstalled.js +8 -0
- package/api/resources/developersCommons/types/AppsFilter.d.ts +27 -0
- package/api/resources/developersCommons/types/AppsFilter.js +3 -0
- package/api/resources/developersCommons/types/AppsResponse.d.ts +15 -0
- package/api/resources/developersCommons/types/AppsResponse.js +3 -0
- package/api/resources/developersCommons/types/BaseApp.d.ts +32 -0
- package/api/resources/developersCommons/types/BaseApp.js +3 -0
- package/api/resources/developersCommons/types/BaseDetailApp.d.ts +19 -0
- package/api/resources/developersCommons/types/BaseDetailApp.js +3 -0
- package/api/resources/developersCommons/types/CountByFilterResult.d.ts +11 -0
- package/api/resources/developersCommons/types/CountByFilterResult.js +3 -0
- package/api/resources/developersCommons/types/DeveloperOrganization.d.ts +15 -0
- package/api/resources/developersCommons/types/DeveloperOrganization.js +3 -0
- package/api/resources/developersCommons/types/Link.d.ts +6 -0
- package/api/resources/developersCommons/types/MarketplaceApp.d.ts +8 -0
- package/api/resources/developersCommons/types/MarketplaceApp.js +3 -0
- package/api/resources/developersCommons/types/MarketplaceAppDetail.d.ts +35 -0
- package/api/resources/developersCommons/types/MarketplaceAppDetail.js +3 -0
- package/api/resources/developersCommons/types/index.d.ts +9 -0
- package/api/resources/developersCommons/types/index.js +9 -0
- package/api/resources/index.d.ts +3 -0
- package/api/resources/index.js +4 -1
- package/package.json +1 -1
- package/reference.md +418 -0
- package/serialization/resources/actions/client/requests/ActionPatchRequest.d.ts +2 -0
- package/serialization/resources/actions/client/requests/ActionPatchRequest.js +2 -0
- package/serialization/resources/analytics/types/AgentUserRow.d.ts +2 -0
- package/serialization/resources/analytics/types/AgentUserRow.js +2 -0
- package/serialization/resources/analytics/types/AgentUserRowIdentifier.d.ts +11 -0
- package/serialization/resources/analytics/types/AgentUserRowIdentifier.js +45 -0
- package/serialization/resources/analytics/types/ConversationRow.d.ts +2 -0
- package/serialization/resources/analytics/types/ConversationRow.js +2 -0
- package/serialization/resources/analytics/types/ConversationRowIdentifier.d.ts +13 -0
- package/serialization/resources/analytics/types/ConversationRowIdentifier.js +47 -0
- package/serialization/resources/analytics/types/EventRow.d.ts +2 -0
- package/serialization/resources/analytics/types/EventRow.js +2 -0
- package/serialization/resources/analytics/types/EventRowIdentifier.d.ts +11 -0
- package/serialization/resources/analytics/types/EventRowIdentifier.js +45 -0
- package/serialization/resources/analytics/types/FeedbackRow.d.ts +2 -0
- package/serialization/resources/analytics/types/FeedbackRow.js +2 -0
- package/serialization/resources/analytics/types/FeedbackRowIdentifier.d.ts +11 -0
- package/serialization/resources/analytics/types/FeedbackRowIdentifier.js +45 -0
- package/serialization/resources/analytics/types/RowIdentifierBase.d.ts +10 -0
- package/serialization/resources/analytics/types/RowIdentifierBase.js +42 -0
- package/serialization/resources/analytics/types/index.d.ts +5 -0
- package/serialization/resources/analytics/types/index.js +5 -0
- package/serialization/resources/appDirectory/client/index.d.ts +1 -0
- package/serialization/resources/appDirectory/client/index.js +17 -0
- package/serialization/resources/appDirectory/client/requests/GetAppSettingUploadUrlRequest.d.ts +10 -0
- package/serialization/resources/appDirectory/client/requests/GetAppSettingUploadUrlRequest.js +42 -0
- package/serialization/resources/appDirectory/client/requests/index.d.ts +1 -0
- package/serialization/resources/appDirectory/client/requests/index.js +5 -0
- package/serialization/resources/appDirectory/index.d.ts +2 -0
- package/serialization/resources/appDirectory/index.js +18 -0
- package/serialization/resources/appDirectory/types/DirectoryAppSortField.d.ts +7 -0
- package/serialization/resources/appDirectory/types/DirectoryAppSortField.js +39 -0
- package/serialization/resources/appDirectory/types/DirectoryAppsSearchRequest.d.ts +13 -0
- package/serialization/resources/appDirectory/types/DirectoryAppsSearchRequest.js +47 -0
- package/serialization/resources/appDirectory/types/GetDirectoryAppSettingDownloadUrlResponse.d.ts +9 -0
- package/serialization/resources/appDirectory/types/GetDirectoryAppSettingDownloadUrlResponse.js +41 -0
- package/serialization/resources/appDirectory/types/GetDirectoryAppSettingUploadUrlResponse.d.ts +10 -0
- package/serialization/resources/appDirectory/types/GetDirectoryAppSettingUploadUrlResponse.js +42 -0
- package/serialization/resources/appDirectory/types/InstallDirectoryAppRequest.d.ts +9 -0
- package/serialization/resources/appDirectory/types/InstallDirectoryAppRequest.js +41 -0
- package/serialization/resources/appDirectory/types/index.d.ts +5 -0
- package/serialization/resources/appDirectory/types/index.js +21 -0
- package/serialization/resources/commons/types/ActionProperties.d.ts +2 -0
- package/serialization/resources/commons/types/ActionProperties.js +2 -0
- package/serialization/resources/commons/types/BotLogicActionExecutedDetail.d.ts +3 -0
- package/serialization/resources/commons/types/BotLogicActionExecutedDetail.js +3 -0
- package/serialization/resources/commons/types/BotLogicUserItem.d.ts +1 -0
- package/serialization/resources/commons/types/BotLogicUserItem.js +1 -0
- package/serialization/resources/commons/types/SideEffects.d.ts +7 -0
- package/serialization/resources/commons/types/SideEffects.js +39 -0
- package/serialization/resources/commons/types/index.d.ts +1 -0
- package/serialization/resources/commons/types/index.js +1 -0
- package/serialization/resources/conversation/types/ConversationFilter.d.ts +2 -0
- package/serialization/resources/conversation/types/ConversationFilter.js +2 -0
- package/serialization/resources/developersCommons/types/AppInstalled.d.ts +7 -0
- package/serialization/resources/developersCommons/types/AppInstalled.js +39 -0
- package/serialization/resources/developersCommons/types/AppsFilter.d.ts +18 -0
- package/serialization/resources/developersCommons/types/AppsFilter.js +50 -0
- package/serialization/resources/developersCommons/types/AppsResponse.d.ts +14 -0
- package/serialization/resources/developersCommons/types/AppsResponse.js +48 -0
- package/serialization/resources/developersCommons/types/BaseApp.d.ts +23 -0
- package/serialization/resources/developersCommons/types/BaseApp.js +55 -0
- package/serialization/resources/developersCommons/types/BaseDetailApp.d.ts +15 -0
- package/serialization/resources/developersCommons/types/BaseDetailApp.js +50 -0
- package/serialization/resources/developersCommons/types/CountByFilterResult.d.ts +12 -0
- package/serialization/resources/developersCommons/types/CountByFilterResult.js +44 -0
- package/serialization/resources/developersCommons/types/DeveloperOrganization.d.ts +13 -0
- package/serialization/resources/developersCommons/types/DeveloperOrganization.js +45 -0
- package/serialization/resources/developersCommons/types/MarketplaceApp.d.ts +11 -0
- package/serialization/resources/developersCommons/types/MarketplaceApp.js +45 -0
- package/serialization/resources/developersCommons/types/MarketplaceAppDetail.d.ts +12 -0
- package/serialization/resources/developersCommons/types/MarketplaceAppDetail.js +46 -0
- package/serialization/resources/developersCommons/types/index.d.ts +9 -0
- package/serialization/resources/developersCommons/types/index.js +9 -0
- package/serialization/resources/index.d.ts +3 -0
- package/serialization/resources/index.js +4 -1
- package/version.d.ts +1 -1
- package/version.js +1 -1
package/BaseClient.js
CHANGED
|
@@ -43,8 +43,8 @@ function normalizeClientOptions(options) {
|
|
|
43
43
|
const headers = (0, headers_1.mergeHeaders)({
|
|
44
44
|
"X-Fern-Language": "JavaScript",
|
|
45
45
|
"X-Fern-SDK-Name": "mavenagi",
|
|
46
|
-
"X-Fern-SDK-Version": "1.2.
|
|
47
|
-
"User-Agent": "mavenagi/1.2.
|
|
46
|
+
"X-Fern-SDK-Version": "1.2.59",
|
|
47
|
+
"User-Agent": "mavenagi/1.2.59",
|
|
48
48
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
49
49
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
50
50
|
"X-Organization-Id": options === null || options === void 0 ? void 0 : options.organizationId,
|
package/Client.d.ts
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { ActionsClient } from "./api/resources/actions/client/Client";
|
|
2
2
|
import { AgentsClient } from "./api/resources/agents/client/Client";
|
|
3
3
|
import { AnalyticsClient } from "./api/resources/analytics/client/Client";
|
|
4
|
+
import { AppDirectoryClient } from "./api/resources/appDirectory/client/Client";
|
|
4
5
|
import { AppSettingsClient } from "./api/resources/appSettings/client/Client";
|
|
5
6
|
import { AssetsClient } from "./api/resources/assets/client/Client";
|
|
6
7
|
import { ConversationClient } from "./api/resources/conversation/client/Client";
|
|
@@ -30,6 +31,7 @@ export declare class MavenAGIClient {
|
|
|
30
31
|
protected _actions: ActionsClient | undefined;
|
|
31
32
|
protected _agents: AgentsClient | undefined;
|
|
32
33
|
protected _analytics: AnalyticsClient | undefined;
|
|
34
|
+
protected _appDirectory: AppDirectoryClient | undefined;
|
|
33
35
|
protected _appSettings: AppSettingsClient | undefined;
|
|
34
36
|
protected _assets: AssetsClient | undefined;
|
|
35
37
|
protected _conversation: ConversationClient | undefined;
|
|
@@ -50,6 +52,7 @@ export declare class MavenAGIClient {
|
|
|
50
52
|
get actions(): ActionsClient;
|
|
51
53
|
get agents(): AgentsClient;
|
|
52
54
|
get analytics(): AnalyticsClient;
|
|
55
|
+
get appDirectory(): AppDirectoryClient;
|
|
53
56
|
get appSettings(): AppSettingsClient;
|
|
54
57
|
get assets(): AssetsClient;
|
|
55
58
|
get conversation(): ConversationClient;
|
package/Client.js
CHANGED
|
@@ -47,22 +47,23 @@ exports.MavenAGIClient = void 0;
|
|
|
47
47
|
const Client_1 = require("./api/resources/actions/client/Client");
|
|
48
48
|
const Client_2 = require("./api/resources/agents/client/Client");
|
|
49
49
|
const Client_3 = require("./api/resources/analytics/client/Client");
|
|
50
|
-
const Client_4 = require("./api/resources/
|
|
51
|
-
const Client_5 = require("./api/resources/
|
|
52
|
-
const Client_6 = require("./api/resources/
|
|
53
|
-
const Client_7 = require("./api/resources/
|
|
54
|
-
const Client_8 = require("./api/resources/
|
|
55
|
-
const Client_9 = require("./api/resources/
|
|
56
|
-
const Client_10 = require("./api/resources/
|
|
57
|
-
const Client_11 = require("./api/resources/
|
|
58
|
-
const Client_12 = require("./api/resources/
|
|
59
|
-
const Client_13 = require("./api/resources/
|
|
60
|
-
const Client_14 = require("./api/resources/
|
|
61
|
-
const Client_15 = require("./api/resources/
|
|
62
|
-
const Client_16 = require("./api/resources/
|
|
63
|
-
const Client_17 = require("./api/resources/
|
|
64
|
-
const Client_18 = require("./api/resources/
|
|
65
|
-
const Client_19 = require("./api/resources/
|
|
50
|
+
const Client_4 = require("./api/resources/appDirectory/client/Client");
|
|
51
|
+
const Client_5 = require("./api/resources/appSettings/client/Client");
|
|
52
|
+
const Client_6 = require("./api/resources/assets/client/Client");
|
|
53
|
+
const Client_7 = require("./api/resources/conversation/client/Client");
|
|
54
|
+
const Client_8 = require("./api/resources/customers/client/Client");
|
|
55
|
+
const Client_9 = require("./api/resources/events/client/Client");
|
|
56
|
+
const Client_10 = require("./api/resources/inbox/client/Client");
|
|
57
|
+
const Client_11 = require("./api/resources/integrations/client/Client");
|
|
58
|
+
const Client_12 = require("./api/resources/intelligentFields/client/Client");
|
|
59
|
+
const Client_13 = require("./api/resources/knowledge/client/Client");
|
|
60
|
+
const Client_14 = require("./api/resources/organizations/client/Client");
|
|
61
|
+
const Client_15 = require("./api/resources/segments/client/Client");
|
|
62
|
+
const Client_16 = require("./api/resources/translations/client/Client");
|
|
63
|
+
const Client_17 = require("./api/resources/triggers/client/Client");
|
|
64
|
+
const Client_18 = require("./api/resources/users/client/Client");
|
|
65
|
+
const Client_19 = require("./api/resources/voice/client/Client");
|
|
66
|
+
const Client_20 = require("./api/resources/voiceConversations/client/Client");
|
|
66
67
|
const BaseClient_1 = require("./BaseClient");
|
|
67
68
|
const core = __importStar(require("./core"));
|
|
68
69
|
class MavenAGIClient {
|
|
@@ -81,69 +82,73 @@ class MavenAGIClient {
|
|
|
81
82
|
var _a;
|
|
82
83
|
return ((_a = this._analytics) !== null && _a !== void 0 ? _a : (this._analytics = new Client_3.AnalyticsClient(this._options)));
|
|
83
84
|
}
|
|
85
|
+
get appDirectory() {
|
|
86
|
+
var _a;
|
|
87
|
+
return ((_a = this._appDirectory) !== null && _a !== void 0 ? _a : (this._appDirectory = new Client_4.AppDirectoryClient(this._options)));
|
|
88
|
+
}
|
|
84
89
|
get appSettings() {
|
|
85
90
|
var _a;
|
|
86
|
-
return ((_a = this._appSettings) !== null && _a !== void 0 ? _a : (this._appSettings = new
|
|
91
|
+
return ((_a = this._appSettings) !== null && _a !== void 0 ? _a : (this._appSettings = new Client_5.AppSettingsClient(this._options)));
|
|
87
92
|
}
|
|
88
93
|
get assets() {
|
|
89
94
|
var _a;
|
|
90
|
-
return ((_a = this._assets) !== null && _a !== void 0 ? _a : (this._assets = new
|
|
95
|
+
return ((_a = this._assets) !== null && _a !== void 0 ? _a : (this._assets = new Client_6.AssetsClient(this._options)));
|
|
91
96
|
}
|
|
92
97
|
get conversation() {
|
|
93
98
|
var _a;
|
|
94
|
-
return ((_a = this._conversation) !== null && _a !== void 0 ? _a : (this._conversation = new
|
|
99
|
+
return ((_a = this._conversation) !== null && _a !== void 0 ? _a : (this._conversation = new Client_7.ConversationClient(this._options)));
|
|
95
100
|
}
|
|
96
101
|
get customers() {
|
|
97
102
|
var _a;
|
|
98
|
-
return ((_a = this._customers) !== null && _a !== void 0 ? _a : (this._customers = new
|
|
103
|
+
return ((_a = this._customers) !== null && _a !== void 0 ? _a : (this._customers = new Client_8.CustomersClient(this._options)));
|
|
99
104
|
}
|
|
100
105
|
get events() {
|
|
101
106
|
var _a;
|
|
102
|
-
return ((_a = this._events) !== null && _a !== void 0 ? _a : (this._events = new
|
|
107
|
+
return ((_a = this._events) !== null && _a !== void 0 ? _a : (this._events = new Client_9.EventsClient(this._options)));
|
|
103
108
|
}
|
|
104
109
|
get inbox() {
|
|
105
110
|
var _a;
|
|
106
|
-
return ((_a = this._inbox) !== null && _a !== void 0 ? _a : (this._inbox = new
|
|
111
|
+
return ((_a = this._inbox) !== null && _a !== void 0 ? _a : (this._inbox = new Client_10.InboxClient(this._options)));
|
|
107
112
|
}
|
|
108
113
|
get integrations() {
|
|
109
114
|
var _a;
|
|
110
|
-
return ((_a = this._integrations) !== null && _a !== void 0 ? _a : (this._integrations = new
|
|
115
|
+
return ((_a = this._integrations) !== null && _a !== void 0 ? _a : (this._integrations = new Client_11.IntegrationsClient(this._options)));
|
|
111
116
|
}
|
|
112
117
|
get intelligentFields() {
|
|
113
118
|
var _a;
|
|
114
|
-
return ((_a = this._intelligentFields) !== null && _a !== void 0 ? _a : (this._intelligentFields = new
|
|
119
|
+
return ((_a = this._intelligentFields) !== null && _a !== void 0 ? _a : (this._intelligentFields = new Client_12.IntelligentFieldsClient(this._options)));
|
|
115
120
|
}
|
|
116
121
|
get knowledge() {
|
|
117
122
|
var _a;
|
|
118
|
-
return ((_a = this._knowledge) !== null && _a !== void 0 ? _a : (this._knowledge = new
|
|
123
|
+
return ((_a = this._knowledge) !== null && _a !== void 0 ? _a : (this._knowledge = new Client_13.KnowledgeClient(this._options)));
|
|
119
124
|
}
|
|
120
125
|
get organizations() {
|
|
121
126
|
var _a;
|
|
122
|
-
return ((_a = this._organizations) !== null && _a !== void 0 ? _a : (this._organizations = new
|
|
127
|
+
return ((_a = this._organizations) !== null && _a !== void 0 ? _a : (this._organizations = new Client_14.OrganizationsClient(this._options)));
|
|
123
128
|
}
|
|
124
129
|
get segments() {
|
|
125
130
|
var _a;
|
|
126
|
-
return ((_a = this._segments) !== null && _a !== void 0 ? _a : (this._segments = new
|
|
131
|
+
return ((_a = this._segments) !== null && _a !== void 0 ? _a : (this._segments = new Client_15.SegmentsClient(this._options)));
|
|
127
132
|
}
|
|
128
133
|
get translations() {
|
|
129
134
|
var _a;
|
|
130
|
-
return ((_a = this._translations) !== null && _a !== void 0 ? _a : (this._translations = new
|
|
135
|
+
return ((_a = this._translations) !== null && _a !== void 0 ? _a : (this._translations = new Client_16.TranslationsClient(this._options)));
|
|
131
136
|
}
|
|
132
137
|
get triggers() {
|
|
133
138
|
var _a;
|
|
134
|
-
return ((_a = this._triggers) !== null && _a !== void 0 ? _a : (this._triggers = new
|
|
139
|
+
return ((_a = this._triggers) !== null && _a !== void 0 ? _a : (this._triggers = new Client_17.TriggersClient(this._options)));
|
|
135
140
|
}
|
|
136
141
|
get users() {
|
|
137
142
|
var _a;
|
|
138
|
-
return ((_a = this._users) !== null && _a !== void 0 ? _a : (this._users = new
|
|
143
|
+
return ((_a = this._users) !== null && _a !== void 0 ? _a : (this._users = new Client_18.UsersClient(this._options)));
|
|
139
144
|
}
|
|
140
145
|
get voiceConversations() {
|
|
141
146
|
var _a;
|
|
142
|
-
return ((_a = this._voiceConversations) !== null && _a !== void 0 ? _a : (this._voiceConversations = new
|
|
147
|
+
return ((_a = this._voiceConversations) !== null && _a !== void 0 ? _a : (this._voiceConversations = new Client_20.VoiceConversationsClient(this._options)));
|
|
143
148
|
}
|
|
144
149
|
get voice() {
|
|
145
150
|
var _a;
|
|
146
|
-
return ((_a = this._voice) !== null && _a !== void 0 ? _a : (this._voice = new
|
|
151
|
+
return ((_a = this._voice) !== null && _a !== void 0 ? _a : (this._voice = new Client_19.VoiceClient(this._options)));
|
|
147
152
|
}
|
|
148
153
|
/**
|
|
149
154
|
* Make a passthrough request using the SDK's configured auth, retry, logging, etc.
|
|
@@ -28,4 +28,9 @@ export interface ActionPatchRequest {
|
|
|
28
28
|
* Inline precondition support will be removed in a future release.
|
|
29
29
|
*/
|
|
30
30
|
segmentId?: MavenAGI.EntityId | null;
|
|
31
|
+
/**
|
|
32
|
+
* Whether executing this action causes side effects.
|
|
33
|
+
* A null value clears it back to undeclared.
|
|
34
|
+
*/
|
|
35
|
+
sideEffects?: MavenAGI.SideEffects | null;
|
|
31
36
|
}
|
|
@@ -1,8 +1,11 @@
|
|
|
1
1
|
import type * as MavenAGI from "../../../index";
|
|
2
2
|
export interface AgentUserRow extends MavenAGI.RowBase {
|
|
3
3
|
/**
|
|
4
|
-
*
|
|
5
|
-
*
|
|
4
|
+
* Keyed by field, so it cannot represent two groupings that share a key - notably two
|
|
5
|
+
* intelligent fields. Use `identifiers`, which carries one entry per grouping in request
|
|
6
|
+
* order.
|
|
6
7
|
*/
|
|
7
8
|
identifier: Partial<Record<MavenAGI.AgentUserField, MavenAGI.FieldValue>>;
|
|
9
|
+
/** One entry per grouping, in the order the groupings were requested. */
|
|
10
|
+
identifiers: MavenAGI.AgentUserRowIdentifier[];
|
|
8
11
|
}
|
|
@@ -10,6 +10,13 @@ import type * as MavenAGI from "../../../index";
|
|
|
10
10
|
* value: new Date("2023-10-01T00:00:00.000Z")
|
|
11
11
|
* }
|
|
12
12
|
* },
|
|
13
|
+
* identifiers: [{
|
|
14
|
+
* field: MavenAGI.AgentUserField.CreatedAt,
|
|
15
|
+
* value: {
|
|
16
|
+
* type: "dateTime",
|
|
17
|
+
* value: new Date("2023-10-01T00:00:00.000Z")
|
|
18
|
+
* }
|
|
19
|
+
* }],
|
|
13
20
|
* data: {
|
|
14
21
|
* "user_count": {
|
|
15
22
|
* type: "double",
|
|
@@ -1,8 +1,11 @@
|
|
|
1
1
|
import type * as MavenAGI from "../../../index";
|
|
2
2
|
export interface ConversationRow extends MavenAGI.RowBase {
|
|
3
3
|
/**
|
|
4
|
-
*
|
|
5
|
-
*
|
|
4
|
+
* Keyed by field, so it cannot represent two groupings that share a key - notably two
|
|
5
|
+
* intelligent fields. Use `identifiers`, which carries one entry per grouping in request
|
|
6
|
+
* order.
|
|
6
7
|
*/
|
|
7
8
|
identifier: Partial<Record<MavenAGI.ConversationField, MavenAGI.FieldValue>>;
|
|
9
|
+
/** One entry per grouping, in the order the groupings were requested. */
|
|
10
|
+
identifiers: MavenAGI.ConversationRowIdentifier[];
|
|
8
11
|
}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import type * as MavenAGI from "../../../index";
|
|
2
|
+
export interface ConversationRowIdentifier extends MavenAGI.RowIdentifierBase {
|
|
3
|
+
/** Field this grouping was on. */
|
|
4
|
+
field: MavenAGI.ConversationField;
|
|
5
|
+
/** Which intelligent field this grouping was on, set when `field` is `IntelligentField`. */
|
|
6
|
+
intelligentFieldId?: MavenAGI.EntityId;
|
|
7
|
+
}
|
|
@@ -38,12 +38,6 @@ export interface ConversationTableRequest extends MavenAGI.ConversationAnalytics
|
|
|
38
38
|
* If multiple fields are provided, the result is grouped by their unique value combinations.
|
|
39
39
|
* If empty, all data is aggregated into a single row. |
|
|
40
40
|
* Note: The field `CreatedAt` should not be used here, all time-based grouping should be done using the `timeGrouping` field.
|
|
41
|
-
*
|
|
42
|
-
* Note: A row's `identifier` cannot name an intelligent field, so an `IntelligentField`
|
|
43
|
-
* grouping is not currently distinguishable here from a second `IntelligentField` grouping,
|
|
44
|
-
* nor from `timeGrouping`. Row counts are correct in both cases, but the identifier keeps
|
|
45
|
-
* only one value. Use a single `IntelligentField` grouping with no `timeGrouping`, or a
|
|
46
|
-
* chart, which is unaffected.
|
|
47
41
|
*/
|
|
48
42
|
fieldGroupings: MavenAGI.ConversationGroupBy[];
|
|
49
43
|
/** Specifies the metrics to be displayed as columns. Column headers act as keys, with computed metric values as their mapped values. There needs to be at least one column definition in the table request. */
|
|
@@ -14,6 +14,19 @@ import type * as MavenAGI from "../../../index";
|
|
|
14
14
|
* value: new Date("2023-10-01T00:00:00.000Z")
|
|
15
15
|
* }
|
|
16
16
|
* },
|
|
17
|
+
* identifiers: [{
|
|
18
|
+
* field: MavenAGI.ConversationField.Category,
|
|
19
|
+
* value: {
|
|
20
|
+
* type: "string",
|
|
21
|
+
* value: "Sales"
|
|
22
|
+
* }
|
|
23
|
+
* }, {
|
|
24
|
+
* field: MavenAGI.ConversationField.CreatedAt,
|
|
25
|
+
* value: {
|
|
26
|
+
* type: "dateTime",
|
|
27
|
+
* value: new Date("2023-10-01T00:00:00.000Z")
|
|
28
|
+
* }
|
|
29
|
+
* }],
|
|
17
30
|
* data: {
|
|
18
31
|
* "count": {
|
|
19
32
|
* type: "double",
|
|
@@ -39,6 +52,19 @@ import type * as MavenAGI from "../../../index";
|
|
|
39
52
|
* value: new Date("2023-10-01T00:00:00.000Z")
|
|
40
53
|
* }
|
|
41
54
|
* },
|
|
55
|
+
* identifiers: [{
|
|
56
|
+
* field: MavenAGI.ConversationField.Category,
|
|
57
|
+
* value: {
|
|
58
|
+
* type: "string",
|
|
59
|
+
* value: "Support"
|
|
60
|
+
* }
|
|
61
|
+
* }, {
|
|
62
|
+
* field: MavenAGI.ConversationField.CreatedAt,
|
|
63
|
+
* value: {
|
|
64
|
+
* type: "dateTime",
|
|
65
|
+
* value: new Date("2023-10-01T00:00:00.000Z")
|
|
66
|
+
* }
|
|
67
|
+
* }],
|
|
42
68
|
* data: {
|
|
43
69
|
* "count": {
|
|
44
70
|
* type: "double",
|
|
@@ -58,8 +84,25 @@ import type * as MavenAGI from "../../../index";
|
|
|
58
84
|
* [MavenAGI.ConversationField.Category]: {
|
|
59
85
|
* type: "string",
|
|
60
86
|
* value: "Sales"
|
|
87
|
+
* },
|
|
88
|
+
* [MavenAGI.ConversationField.CreatedAt]: {
|
|
89
|
+
* type: "dateTime",
|
|
90
|
+
* value: new Date("2023-10-02T00:00:00.000Z")
|
|
61
91
|
* }
|
|
62
92
|
* },
|
|
93
|
+
* identifiers: [{
|
|
94
|
+
* field: MavenAGI.ConversationField.Category,
|
|
95
|
+
* value: {
|
|
96
|
+
* type: "string",
|
|
97
|
+
* value: "Sales"
|
|
98
|
+
* }
|
|
99
|
+
* }, {
|
|
100
|
+
* field: MavenAGI.ConversationField.CreatedAt,
|
|
101
|
+
* value: {
|
|
102
|
+
* type: "dateTime",
|
|
103
|
+
* value: new Date("2023-10-02T00:00:00.000Z")
|
|
104
|
+
* }
|
|
105
|
+
* }],
|
|
63
106
|
* data: {
|
|
64
107
|
* "count": {
|
|
65
108
|
* type: "double",
|
|
@@ -85,6 +128,19 @@ import type * as MavenAGI from "../../../index";
|
|
|
85
128
|
* value: new Date("2023-10-02T00:00:00.000Z")
|
|
86
129
|
* }
|
|
87
130
|
* },
|
|
131
|
+
* identifiers: [{
|
|
132
|
+
* field: MavenAGI.ConversationField.Category,
|
|
133
|
+
* value: {
|
|
134
|
+
* type: "string",
|
|
135
|
+
* value: "Support"
|
|
136
|
+
* }
|
|
137
|
+
* }, {
|
|
138
|
+
* field: MavenAGI.ConversationField.CreatedAt,
|
|
139
|
+
* value: {
|
|
140
|
+
* type: "dateTime",
|
|
141
|
+
* value: new Date("2023-10-02T00:00:00.000Z")
|
|
142
|
+
* }
|
|
143
|
+
* }],
|
|
88
144
|
* data: {
|
|
89
145
|
* "count": {
|
|
90
146
|
* type: "double",
|
|
@@ -1,8 +1,11 @@
|
|
|
1
1
|
import type * as MavenAGI from "../../../index";
|
|
2
2
|
export interface EventRow extends MavenAGI.RowBase {
|
|
3
3
|
/**
|
|
4
|
-
*
|
|
5
|
-
*
|
|
4
|
+
* Keyed by field, so it cannot represent two groupings that share a key - notably two
|
|
5
|
+
* intelligent fields. Use `identifiers`, which carries one entry per grouping in request
|
|
6
|
+
* order.
|
|
6
7
|
*/
|
|
7
8
|
identifier: Partial<Record<MavenAGI.EventField, MavenAGI.FieldValue>>;
|
|
9
|
+
/** One entry per grouping, in the order the groupings were requested. */
|
|
10
|
+
identifiers: MavenAGI.EventRowIdentifier[];
|
|
8
11
|
}
|
|
@@ -10,6 +10,13 @@ import type * as MavenAGI from "../../../index";
|
|
|
10
10
|
* value: "CHAT_OPENED"
|
|
11
11
|
* }
|
|
12
12
|
* },
|
|
13
|
+
* identifiers: [{
|
|
14
|
+
* field: MavenAGI.EventField.EventName,
|
|
15
|
+
* value: {
|
|
16
|
+
* type: "string",
|
|
17
|
+
* value: "CHAT_OPENED"
|
|
18
|
+
* }
|
|
19
|
+
* }],
|
|
13
20
|
* data: {
|
|
14
21
|
* "event_count": {
|
|
15
22
|
* type: "double",
|
|
@@ -23,6 +30,13 @@ import type * as MavenAGI from "../../../index";
|
|
|
23
30
|
* value: "CHAT_CLOSED"
|
|
24
31
|
* }
|
|
25
32
|
* },
|
|
33
|
+
* identifiers: [{
|
|
34
|
+
* field: MavenAGI.EventField.EventName,
|
|
35
|
+
* value: {
|
|
36
|
+
* type: "string",
|
|
37
|
+
* value: "CHAT_CLOSED"
|
|
38
|
+
* }
|
|
39
|
+
* }],
|
|
26
40
|
* data: {
|
|
27
41
|
* "event_count": {
|
|
28
42
|
* type: "double",
|
|
@@ -1,8 +1,11 @@
|
|
|
1
1
|
import type * as MavenAGI from "../../../index";
|
|
2
2
|
export interface FeedbackRow extends MavenAGI.RowBase {
|
|
3
3
|
/**
|
|
4
|
-
*
|
|
5
|
-
*
|
|
4
|
+
* Keyed by field, so it cannot represent two groupings that share a key - notably two
|
|
5
|
+
* intelligent fields. Use `identifiers`, which carries one entry per grouping in request
|
|
6
|
+
* order.
|
|
6
7
|
*/
|
|
7
8
|
identifier: Partial<Record<MavenAGI.FeedbackField, MavenAGI.FieldValue>>;
|
|
9
|
+
/** One entry per grouping, in the order the groupings were requested. */
|
|
10
|
+
identifiers: MavenAGI.FeedbackRowIdentifier[];
|
|
8
11
|
}
|
|
@@ -10,6 +10,13 @@ import type * as MavenAGI from "../../../index";
|
|
|
10
10
|
* value: "John Doe"
|
|
11
11
|
* }
|
|
12
12
|
* },
|
|
13
|
+
* identifiers: [{
|
|
14
|
+
* field: MavenAGI.FeedbackField.CreatedBy,
|
|
15
|
+
* value: {
|
|
16
|
+
* type: "string",
|
|
17
|
+
* value: "John Doe"
|
|
18
|
+
* }
|
|
19
|
+
* }],
|
|
13
20
|
* data: {
|
|
14
21
|
* "feedback_count": {
|
|
15
22
|
* type: "double",
|
|
@@ -23,6 +30,13 @@ import type * as MavenAGI from "../../../index";
|
|
|
23
30
|
* value: "Jane Smith"
|
|
24
31
|
* }
|
|
25
32
|
* },
|
|
33
|
+
* identifiers: [{
|
|
34
|
+
* field: MavenAGI.FeedbackField.CreatedBy,
|
|
35
|
+
* value: {
|
|
36
|
+
* type: "string",
|
|
37
|
+
* value: "Jane Smith"
|
|
38
|
+
* }
|
|
39
|
+
* }],
|
|
26
40
|
* data: {
|
|
27
41
|
* "feedback_count": {
|
|
28
42
|
* type: "double",
|
|
@@ -3,6 +3,7 @@ export * from "./AgentUserColumnDefinition";
|
|
|
3
3
|
export * from "./AgentUserCount";
|
|
4
4
|
export * from "./AgentUserMetric";
|
|
5
5
|
export * from "./AgentUserRow";
|
|
6
|
+
export * from "./AgentUserRowIdentifier";
|
|
6
7
|
export * from "./AgentUserTableRequest";
|
|
7
8
|
export * from "./AgentUserTableResponse";
|
|
8
9
|
export * from "./BarChartResponse";
|
|
@@ -27,6 +28,7 @@ export * from "./ConversationNumericMetric";
|
|
|
27
28
|
export * from "./ConversationPercentile";
|
|
28
29
|
export * from "./ConversationPieChartRequest";
|
|
29
30
|
export * from "./ConversationRow";
|
|
31
|
+
export * from "./ConversationRowIdentifier";
|
|
30
32
|
export * from "./ConversationSum";
|
|
31
33
|
export * from "./ConversationTableRequest";
|
|
32
34
|
export * from "./ConversationTableResponse";
|
|
@@ -42,6 +44,7 @@ export * from "./EventGroupBy";
|
|
|
42
44
|
export * from "./EventMetric";
|
|
43
45
|
export * from "./EventPieChartRequest";
|
|
44
46
|
export * from "./EventRow";
|
|
47
|
+
export * from "./EventRowIdentifier";
|
|
45
48
|
export * from "./EventTableRequest";
|
|
46
49
|
export * from "./EventTableResponse";
|
|
47
50
|
export * from "./FeedbackAnalyticsRequest";
|
|
@@ -51,6 +54,7 @@ export * from "./FeedbackDistinctCount";
|
|
|
51
54
|
export * from "./FeedbackGroupBy";
|
|
52
55
|
export * from "./FeedbackMetric";
|
|
53
56
|
export * from "./FeedbackRow";
|
|
57
|
+
export * from "./FeedbackRowIdentifier";
|
|
54
58
|
export * from "./FeedbackTableRequest";
|
|
55
59
|
export * from "./FeedbackTableResponse";
|
|
56
60
|
export * from "./FieldValue";
|
|
@@ -59,6 +63,7 @@ export * from "./LabeledPoint";
|
|
|
59
63
|
export * from "./PieChartResponse";
|
|
60
64
|
export * from "./Range";
|
|
61
65
|
export * from "./RowBase";
|
|
66
|
+
export * from "./RowIdentifierBase";
|
|
62
67
|
export * from "./Series";
|
|
63
68
|
export * from "./TableResponseBase";
|
|
64
69
|
export * from "./TimeDataPoint";
|
|
@@ -19,6 +19,7 @@ __exportStar(require("./AgentUserColumnDefinition"), exports);
|
|
|
19
19
|
__exportStar(require("./AgentUserCount"), exports);
|
|
20
20
|
__exportStar(require("./AgentUserMetric"), exports);
|
|
21
21
|
__exportStar(require("./AgentUserRow"), exports);
|
|
22
|
+
__exportStar(require("./AgentUserRowIdentifier"), exports);
|
|
22
23
|
__exportStar(require("./AgentUserTableRequest"), exports);
|
|
23
24
|
__exportStar(require("./AgentUserTableResponse"), exports);
|
|
24
25
|
__exportStar(require("./BarChartResponse"), exports);
|
|
@@ -43,6 +44,7 @@ __exportStar(require("./ConversationNumericMetric"), exports);
|
|
|
43
44
|
__exportStar(require("./ConversationPercentile"), exports);
|
|
44
45
|
__exportStar(require("./ConversationPieChartRequest"), exports);
|
|
45
46
|
__exportStar(require("./ConversationRow"), exports);
|
|
47
|
+
__exportStar(require("./ConversationRowIdentifier"), exports);
|
|
46
48
|
__exportStar(require("./ConversationSum"), exports);
|
|
47
49
|
__exportStar(require("./ConversationTableRequest"), exports);
|
|
48
50
|
__exportStar(require("./ConversationTableResponse"), exports);
|
|
@@ -58,6 +60,7 @@ __exportStar(require("./EventGroupBy"), exports);
|
|
|
58
60
|
__exportStar(require("./EventMetric"), exports);
|
|
59
61
|
__exportStar(require("./EventPieChartRequest"), exports);
|
|
60
62
|
__exportStar(require("./EventRow"), exports);
|
|
63
|
+
__exportStar(require("./EventRowIdentifier"), exports);
|
|
61
64
|
__exportStar(require("./EventTableRequest"), exports);
|
|
62
65
|
__exportStar(require("./EventTableResponse"), exports);
|
|
63
66
|
__exportStar(require("./FeedbackAnalyticsRequest"), exports);
|
|
@@ -67,6 +70,7 @@ __exportStar(require("./FeedbackDistinctCount"), exports);
|
|
|
67
70
|
__exportStar(require("./FeedbackGroupBy"), exports);
|
|
68
71
|
__exportStar(require("./FeedbackMetric"), exports);
|
|
69
72
|
__exportStar(require("./FeedbackRow"), exports);
|
|
73
|
+
__exportStar(require("./FeedbackRowIdentifier"), exports);
|
|
70
74
|
__exportStar(require("./FeedbackTableRequest"), exports);
|
|
71
75
|
__exportStar(require("./FeedbackTableResponse"), exports);
|
|
72
76
|
__exportStar(require("./FieldValue"), exports);
|
|
@@ -75,6 +79,7 @@ __exportStar(require("./LabeledPoint"), exports);
|
|
|
75
79
|
__exportStar(require("./PieChartResponse"), exports);
|
|
76
80
|
__exportStar(require("./Range"), exports);
|
|
77
81
|
__exportStar(require("./RowBase"), exports);
|
|
82
|
+
__exportStar(require("./RowIdentifierBase"), exports);
|
|
78
83
|
__exportStar(require("./Series"), exports);
|
|
79
84
|
__exportStar(require("./TableResponseBase"), exports);
|
|
80
85
|
__exportStar(require("./TimeDataPoint"), exports);
|