mavenagi 1.2.73 → 1.2.74
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 +41 -36
- package/api/resources/actions/client/requests/ActionPatchRequest.d.ts +11 -0
- package/api/resources/actions/types/ActionRequest.d.ts +5 -0
- package/api/resources/agentVariants/types/AgentVariantResponse.d.ts +3 -1
- package/api/resources/agents/client/Client.d.ts +22 -12
- package/api/resources/agents/client/Client.js +22 -12
- package/api/resources/agents/types/AgentMigrations.d.ts +1 -1
- package/api/resources/agents/types/AgentSettingName.d.ts +1 -1
- package/api/resources/agents/types/AgentSettingName.js +1 -1
- package/api/resources/agents/types/VersionedAgentSettings.d.ts +1 -1
- package/api/resources/appDirectory/client/Client.d.ts +6 -2
- package/api/resources/appDirectory/client/Client.js +6 -2
- package/api/resources/apps/client/Client.d.ts +139 -0
- package/api/resources/apps/client/Client.js +504 -0
- package/api/resources/apps/client/index.d.ts +1 -0
- package/api/resources/apps/client/index.js +2 -0
- package/api/resources/apps/exports.d.ts +2 -0
- package/api/resources/apps/exports.js +21 -0
- package/api/resources/apps/index.d.ts +2 -0
- package/api/resources/apps/index.js +18 -0
- package/api/resources/apps/types/AppPatchRequest.d.ts +26 -0
- package/api/resources/apps/types/AppPatchRequest.js +3 -0
- package/api/resources/apps/types/AppRequest.d.ts +38 -0
- package/api/resources/apps/types/AppRequest.js +3 -0
- package/api/resources/apps/types/AppResponse.d.ts +29 -0
- package/api/resources/apps/types/AppResponse.js +3 -0
- package/api/resources/apps/types/AppsSearchRequest.d.ts +3 -0
- package/api/resources/apps/types/AppsSearchRequest.js +3 -0
- package/api/resources/apps/types/AppsSearchResponse.d.ts +5 -0
- package/api/resources/apps/types/AppsSearchResponse.js +3 -0
- package/api/resources/apps/types/index.d.ts +5 -0
- package/api/resources/apps/types/index.js +21 -0
- package/api/resources/capabilities/types/CapabilityExecutionBase.d.ts +7 -0
- package/api/resources/commons/types/ActionResponse.d.ts +2 -0
- package/api/resources/commons/types/AttachmentNotSentToModelReason.d.ts +11 -0
- package/api/resources/commons/types/AttachmentNotSentToModelReason.js +14 -0
- package/api/resources/commons/types/AttachmentNotSentToModelWarning.d.ts +10 -0
- package/api/resources/commons/types/AttachmentNotSentToModelWarning.js +3 -0
- package/api/resources/commons/types/BaseConversationResponse.d.ts +4 -0
- package/api/resources/commons/types/BotMessage.d.ts +9 -0
- package/api/resources/commons/types/BotMessageWarning.d.ts +13 -0
- package/api/resources/commons/types/BotMessageWarning.js +3 -0
- package/api/resources/commons/types/ChangeAuthor.d.ts +1 -1
- package/api/resources/commons/types/EntityType.d.ts +3 -0
- package/api/resources/commons/types/EntityType.js +3 -0
- package/api/resources/commons/types/ErrorMessage.d.ts +2 -0
- package/api/resources/commons/types/ErrorReason.d.ts +7 -1
- package/api/resources/commons/types/ErrorReason.js +7 -1
- package/api/resources/commons/types/Feedback.d.ts +8 -0
- package/api/resources/commons/types/FieldError.d.ts +6 -0
- package/api/resources/commons/types/FieldError.js +3 -0
- package/api/resources/commons/types/InboxItemBase.d.ts +13 -0
- package/api/resources/commons/types/IntelligentFieldValueResponse.d.ts +13 -1
- package/api/resources/commons/types/UserEvent.d.ts +8 -0
- package/api/resources/commons/types/UserMessage.d.ts +4 -0
- package/api/resources/commons/types/index.d.ts +4 -0
- package/api/resources/commons/types/index.js +4 -0
- package/api/resources/conversation/client/Client.d.ts +1 -1
- package/api/resources/conversation/client/Client.js +1 -1
- package/api/resources/conversation/types/AskRequestFields.d.ts +3 -2
- package/api/resources/conversation/types/ConversationFilter.d.ts +2 -2
- package/api/resources/conversation/types/SubmitActionFormRequest.d.ts +1 -1
- package/api/resources/conversationKickoffs/client/requests/CreateConversationKickoffRequest.d.ts +5 -0
- package/api/resources/conversationKickoffs/types/ConversationKickoff.d.ts +2 -0
- package/api/resources/developersCommons/types/AppDirectoryDetails.d.ts +23 -0
- package/api/resources/developersCommons/types/AppDirectoryDetails.js +3 -0
- package/api/resources/developersCommons/types/AppDirectoryListing.d.ts +14 -0
- package/api/resources/developersCommons/types/AppDirectoryListing.js +3 -0
- package/api/resources/developersCommons/types/BaseApp.d.ts +1 -9
- package/api/resources/developersCommons/types/BaseDetailApp.d.ts +1 -18
- package/api/resources/developersCommons/types/MarketplaceAppDetail.d.ts +5 -2
- package/api/resources/developersCommons/types/index.d.ts +2 -0
- package/api/resources/developersCommons/types/index.js +2 -0
- package/api/resources/events/client/Client.d.ts +1 -1
- package/api/resources/events/client/Client.js +1 -1
- package/api/resources/index.d.ts +2 -0
- package/api/resources/index.js +3 -1
- package/api/resources/intelligentFields/types/IntelligentFieldValueSearchResponse.d.ts +4 -1
- package/api/resources/knowledge/client/requests/KnowledgeBasePatchRequest.d.ts +5 -0
- package/api/resources/knowledge/types/KnowledgeBaseResponse.d.ts +2 -0
- package/api/resources/triggers/client/requests/PartialUpdateRequest.d.ts +5 -0
- package/api/resources/triggers/types/EventTriggerRequest.d.ts +5 -0
- package/api/resources/triggers/types/EventTriggerResponse.d.ts +2 -0
- package/api/resources/users/types/AgentUser.d.ts +13 -0
- package/package.json +1 -1
- package/reference.md +340 -16
- package/serialization/resources/actions/client/requests/ActionPatchRequest.d.ts +4 -0
- package/serialization/resources/actions/client/requests/ActionPatchRequest.js +4 -0
- package/serialization/resources/actions/types/ActionRequest.d.ts +2 -0
- package/serialization/resources/actions/types/ActionRequest.js +2 -0
- package/serialization/resources/agentVariants/types/AgentVariantResponse.d.ts +1 -0
- package/serialization/resources/agentVariants/types/AgentVariantResponse.js +1 -0
- package/serialization/resources/apps/index.d.ts +1 -0
- package/serialization/resources/apps/index.js +17 -0
- package/serialization/resources/apps/types/AppPatchRequest.d.ts +21 -0
- package/serialization/resources/apps/types/AppPatchRequest.js +54 -0
- package/serialization/resources/apps/types/AppRequest.d.ts +13 -0
- package/serialization/resources/apps/types/AppRequest.js +48 -0
- package/serialization/resources/apps/types/AppResponse.d.ts +11 -0
- package/serialization/resources/apps/types/AppResponse.js +45 -0
- package/serialization/resources/apps/types/AppsSearchRequest.d.ts +9 -0
- package/serialization/resources/apps/types/AppsSearchRequest.js +40 -0
- package/serialization/resources/apps/types/AppsSearchResponse.d.ts +11 -0
- package/serialization/resources/apps/types/AppsSearchResponse.js +45 -0
- package/serialization/resources/apps/types/index.d.ts +5 -0
- package/serialization/resources/apps/types/index.js +21 -0
- package/serialization/resources/capabilities/types/CapabilityExecutionBase.d.ts +2 -0
- package/serialization/resources/capabilities/types/CapabilityExecutionBase.js +2 -0
- package/serialization/resources/commons/types/ActionResponse.d.ts +2 -0
- package/serialization/resources/commons/types/ActionResponse.js +2 -0
- package/serialization/resources/commons/types/AttachmentNotSentToModelReason.d.ts +7 -0
- package/serialization/resources/commons/types/AttachmentNotSentToModelReason.js +39 -0
- package/serialization/resources/commons/types/AttachmentNotSentToModelWarning.d.ts +13 -0
- package/serialization/resources/commons/types/AttachmentNotSentToModelWarning.js +45 -0
- package/serialization/resources/commons/types/BaseConversationResponse.d.ts +3 -0
- package/serialization/resources/commons/types/BaseConversationResponse.js +3 -0
- package/serialization/resources/commons/types/BotMessage.d.ts +5 -0
- package/serialization/resources/commons/types/BotMessage.js +5 -0
- package/serialization/resources/commons/types/BotMessageWarning.d.ts +11 -0
- package/serialization/resources/commons/types/BotMessageWarning.js +47 -0
- package/serialization/resources/commons/types/EntityType.d.ts +1 -1
- package/serialization/resources/commons/types/EntityType.js +1 -0
- package/serialization/resources/commons/types/ErrorMessage.d.ts +2 -0
- package/serialization/resources/commons/types/ErrorMessage.js +2 -0
- package/serialization/resources/commons/types/ErrorReason.d.ts +1 -1
- package/serialization/resources/commons/types/ErrorReason.js +2 -0
- package/serialization/resources/commons/types/Feedback.d.ts +2 -0
- package/serialization/resources/commons/types/Feedback.js +2 -0
- package/serialization/resources/commons/types/FieldError.d.ts +10 -0
- package/serialization/resources/commons/types/FieldError.js +42 -0
- package/serialization/resources/commons/types/InboxItemBase.d.ts +3 -0
- package/serialization/resources/commons/types/InboxItemBase.js +3 -0
- package/serialization/resources/commons/types/IntelligentFieldValueResponse.d.ts +2 -0
- package/serialization/resources/commons/types/IntelligentFieldValueResponse.js +2 -0
- package/serialization/resources/commons/types/UserEvent.d.ts +2 -0
- package/serialization/resources/commons/types/UserEvent.js +2 -0
- package/serialization/resources/commons/types/UserMessage.d.ts +3 -0
- package/serialization/resources/commons/types/UserMessage.js +3 -0
- package/serialization/resources/commons/types/index.d.ts +4 -0
- package/serialization/resources/commons/types/index.js +4 -0
- package/serialization/resources/conversationKickoffs/client/requests/CreateConversationKickoffRequest.d.ts +2 -0
- package/serialization/resources/conversationKickoffs/client/requests/CreateConversationKickoffRequest.js +2 -0
- package/serialization/resources/conversationKickoffs/types/ConversationKickoff.d.ts +2 -0
- package/serialization/resources/conversationKickoffs/types/ConversationKickoff.js +2 -0
- package/serialization/resources/developersCommons/types/AppDirectoryDetails.d.ts +13 -0
- package/serialization/resources/developersCommons/types/AppDirectoryDetails.js +46 -0
- package/serialization/resources/developersCommons/types/AppDirectoryListing.d.ts +14 -0
- package/serialization/resources/developersCommons/types/AppDirectoryListing.js +46 -0
- package/serialization/resources/developersCommons/types/BaseApp.d.ts +2 -7
- package/serialization/resources/developersCommons/types/BaseApp.js +5 -8
- package/serialization/resources/developersCommons/types/BaseDetailApp.d.ts +3 -7
- package/serialization/resources/developersCommons/types/BaseDetailApp.js +3 -7
- package/serialization/resources/developersCommons/types/index.d.ts +2 -0
- package/serialization/resources/developersCommons/types/index.js +2 -0
- package/serialization/resources/index.d.ts +2 -0
- package/serialization/resources/index.js +3 -1
- package/serialization/resources/knowledge/client/requests/KnowledgeBasePatchRequest.d.ts +2 -0
- package/serialization/resources/knowledge/client/requests/KnowledgeBasePatchRequest.js +2 -0
- package/serialization/resources/knowledge/types/KnowledgeBaseResponse.d.ts +2 -0
- package/serialization/resources/knowledge/types/KnowledgeBaseResponse.js +2 -0
- package/serialization/resources/triggers/client/requests/PartialUpdateRequest.d.ts +2 -0
- package/serialization/resources/triggers/client/requests/PartialUpdateRequest.js +2 -0
- package/serialization/resources/triggers/types/EventTriggerRequest.d.ts +2 -0
- package/serialization/resources/triggers/types/EventTriggerRequest.js +2 -0
- package/serialization/resources/triggers/types/EventTriggerResponse.d.ts +2 -0
- package/serialization/resources/triggers/types/EventTriggerResponse.js +2 -0
- package/serialization/resources/users/types/AgentUser.d.ts +3 -0
- package/serialization/resources/users/types/AgentUser.js +3 -0
- package/version.d.ts +1 -1
- package/version.js +1 -1
package/BaseClient.js
CHANGED
|
@@ -46,8 +46,8 @@ function normalizeClientOptions(options) {
|
|
|
46
46
|
const headers = (0, headers_1.mergeHeaders)({
|
|
47
47
|
"X-Fern-Language": "JavaScript",
|
|
48
48
|
"X-Fern-SDK-Name": "mavenagi",
|
|
49
|
-
"X-Fern-SDK-Version": "1.2.
|
|
50
|
-
"User-Agent": "mavenagi/1.2.
|
|
49
|
+
"X-Fern-SDK-Version": "1.2.74",
|
|
50
|
+
"User-Agent": "mavenagi/1.2.74",
|
|
51
51
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
52
52
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
53
53
|
"X-Organization-Id": options === null || options === void 0 ? void 0 : options.organizationId,
|
package/Client.d.ts
CHANGED
|
@@ -4,6 +4,7 @@ import { AgentVariantsClient } from "./api/resources/agentVariants/client/Client
|
|
|
4
4
|
import { AnalyticsClient } from "./api/resources/analytics/client/Client";
|
|
5
5
|
import { AppDirectoryClient } from "./api/resources/appDirectory/client/Client";
|
|
6
6
|
import { AppSettingsClient } from "./api/resources/appSettings/client/Client";
|
|
7
|
+
import { AppsClient } from "./api/resources/apps/client/Client";
|
|
7
8
|
import { AssetsClient } from "./api/resources/assets/client/Client";
|
|
8
9
|
import { CapabilitiesClient } from "./api/resources/capabilities/client/Client";
|
|
9
10
|
import { ChartersClient } from "./api/resources/charters/client/Client";
|
|
@@ -38,6 +39,7 @@ export declare class MavenAGIClient {
|
|
|
38
39
|
protected _analytics: AnalyticsClient | undefined;
|
|
39
40
|
protected _appDirectory: AppDirectoryClient | undefined;
|
|
40
41
|
protected _appSettings: AppSettingsClient | undefined;
|
|
42
|
+
protected _apps: AppsClient | undefined;
|
|
41
43
|
protected _assets: AssetsClient | undefined;
|
|
42
44
|
protected _capabilities: CapabilitiesClient | undefined;
|
|
43
45
|
protected _charters: ChartersClient | undefined;
|
|
@@ -63,6 +65,7 @@ export declare class MavenAGIClient {
|
|
|
63
65
|
get analytics(): AnalyticsClient;
|
|
64
66
|
get appDirectory(): AppDirectoryClient;
|
|
65
67
|
get appSettings(): AppSettingsClient;
|
|
68
|
+
get apps(): AppsClient;
|
|
66
69
|
get assets(): AssetsClient;
|
|
67
70
|
get capabilities(): CapabilitiesClient;
|
|
68
71
|
get charters(): ChartersClient;
|
package/Client.js
CHANGED
|
@@ -50,24 +50,25 @@ const Client_3 = require("./api/resources/agentVariants/client/Client");
|
|
|
50
50
|
const Client_4 = require("./api/resources/analytics/client/Client");
|
|
51
51
|
const Client_5 = require("./api/resources/appDirectory/client/Client");
|
|
52
52
|
const Client_6 = require("./api/resources/appSettings/client/Client");
|
|
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/
|
|
66
|
-
const Client_20 = require("./api/resources/
|
|
67
|
-
const Client_21 = require("./api/resources/
|
|
68
|
-
const Client_22 = require("./api/resources/
|
|
69
|
-
const Client_23 = require("./api/resources/
|
|
70
|
-
const Client_24 = require("./api/resources/
|
|
53
|
+
const Client_7 = require("./api/resources/apps/client/Client");
|
|
54
|
+
const Client_8 = require("./api/resources/assets/client/Client");
|
|
55
|
+
const Client_9 = require("./api/resources/capabilities/client/Client");
|
|
56
|
+
const Client_10 = require("./api/resources/charters/client/Client");
|
|
57
|
+
const Client_11 = require("./api/resources/conversation/client/Client");
|
|
58
|
+
const Client_12 = require("./api/resources/conversationKickoffs/client/Client");
|
|
59
|
+
const Client_13 = require("./api/resources/customers/client/Client");
|
|
60
|
+
const Client_14 = require("./api/resources/events/client/Client");
|
|
61
|
+
const Client_15 = require("./api/resources/inbox/client/Client");
|
|
62
|
+
const Client_16 = require("./api/resources/integrations/client/Client");
|
|
63
|
+
const Client_17 = require("./api/resources/intelligentFields/client/Client");
|
|
64
|
+
const Client_18 = require("./api/resources/knowledge/client/Client");
|
|
65
|
+
const Client_19 = require("./api/resources/organizations/client/Client");
|
|
66
|
+
const Client_20 = require("./api/resources/segments/client/Client");
|
|
67
|
+
const Client_21 = require("./api/resources/translations/client/Client");
|
|
68
|
+
const Client_22 = require("./api/resources/triggers/client/Client");
|
|
69
|
+
const Client_23 = require("./api/resources/users/client/Client");
|
|
70
|
+
const Client_24 = require("./api/resources/voice/client/Client");
|
|
71
|
+
const Client_25 = require("./api/resources/voiceConversations/client/Client");
|
|
71
72
|
const BaseClient_1 = require("./BaseClient");
|
|
72
73
|
const core = __importStar(require("./core"));
|
|
73
74
|
class MavenAGIClient {
|
|
@@ -98,77 +99,81 @@ class MavenAGIClient {
|
|
|
98
99
|
var _a;
|
|
99
100
|
return ((_a = this._appSettings) !== null && _a !== void 0 ? _a : (this._appSettings = new Client_6.AppSettingsClient(this._options)));
|
|
100
101
|
}
|
|
102
|
+
get apps() {
|
|
103
|
+
var _a;
|
|
104
|
+
return ((_a = this._apps) !== null && _a !== void 0 ? _a : (this._apps = new Client_7.AppsClient(this._options)));
|
|
105
|
+
}
|
|
101
106
|
get assets() {
|
|
102
107
|
var _a;
|
|
103
|
-
return ((_a = this._assets) !== null && _a !== void 0 ? _a : (this._assets = new
|
|
108
|
+
return ((_a = this._assets) !== null && _a !== void 0 ? _a : (this._assets = new Client_8.AssetsClient(this._options)));
|
|
104
109
|
}
|
|
105
110
|
get capabilities() {
|
|
106
111
|
var _a;
|
|
107
|
-
return ((_a = this._capabilities) !== null && _a !== void 0 ? _a : (this._capabilities = new
|
|
112
|
+
return ((_a = this._capabilities) !== null && _a !== void 0 ? _a : (this._capabilities = new Client_9.CapabilitiesClient(this._options)));
|
|
108
113
|
}
|
|
109
114
|
get charters() {
|
|
110
115
|
var _a;
|
|
111
|
-
return ((_a = this._charters) !== null && _a !== void 0 ? _a : (this._charters = new
|
|
116
|
+
return ((_a = this._charters) !== null && _a !== void 0 ? _a : (this._charters = new Client_10.ChartersClient(this._options)));
|
|
112
117
|
}
|
|
113
118
|
get conversationKickoffs() {
|
|
114
119
|
var _a;
|
|
115
|
-
return ((_a = this._conversationKickoffs) !== null && _a !== void 0 ? _a : (this._conversationKickoffs = new
|
|
120
|
+
return ((_a = this._conversationKickoffs) !== null && _a !== void 0 ? _a : (this._conversationKickoffs = new Client_12.ConversationKickoffsClient(this._options)));
|
|
116
121
|
}
|
|
117
122
|
get conversation() {
|
|
118
123
|
var _a;
|
|
119
|
-
return ((_a = this._conversation) !== null && _a !== void 0 ? _a : (this._conversation = new
|
|
124
|
+
return ((_a = this._conversation) !== null && _a !== void 0 ? _a : (this._conversation = new Client_11.ConversationClient(this._options)));
|
|
120
125
|
}
|
|
121
126
|
get customers() {
|
|
122
127
|
var _a;
|
|
123
|
-
return ((_a = this._customers) !== null && _a !== void 0 ? _a : (this._customers = new
|
|
128
|
+
return ((_a = this._customers) !== null && _a !== void 0 ? _a : (this._customers = new Client_13.CustomersClient(this._options)));
|
|
124
129
|
}
|
|
125
130
|
get events() {
|
|
126
131
|
var _a;
|
|
127
|
-
return ((_a = this._events) !== null && _a !== void 0 ? _a : (this._events = new
|
|
132
|
+
return ((_a = this._events) !== null && _a !== void 0 ? _a : (this._events = new Client_14.EventsClient(this._options)));
|
|
128
133
|
}
|
|
129
134
|
get inbox() {
|
|
130
135
|
var _a;
|
|
131
|
-
return ((_a = this._inbox) !== null && _a !== void 0 ? _a : (this._inbox = new
|
|
136
|
+
return ((_a = this._inbox) !== null && _a !== void 0 ? _a : (this._inbox = new Client_15.InboxClient(this._options)));
|
|
132
137
|
}
|
|
133
138
|
get integrations() {
|
|
134
139
|
var _a;
|
|
135
|
-
return ((_a = this._integrations) !== null && _a !== void 0 ? _a : (this._integrations = new
|
|
140
|
+
return ((_a = this._integrations) !== null && _a !== void 0 ? _a : (this._integrations = new Client_16.IntegrationsClient(this._options)));
|
|
136
141
|
}
|
|
137
142
|
get intelligentFields() {
|
|
138
143
|
var _a;
|
|
139
|
-
return ((_a = this._intelligentFields) !== null && _a !== void 0 ? _a : (this._intelligentFields = new
|
|
144
|
+
return ((_a = this._intelligentFields) !== null && _a !== void 0 ? _a : (this._intelligentFields = new Client_17.IntelligentFieldsClient(this._options)));
|
|
140
145
|
}
|
|
141
146
|
get knowledge() {
|
|
142
147
|
var _a;
|
|
143
|
-
return ((_a = this._knowledge) !== null && _a !== void 0 ? _a : (this._knowledge = new
|
|
148
|
+
return ((_a = this._knowledge) !== null && _a !== void 0 ? _a : (this._knowledge = new Client_18.KnowledgeClient(this._options)));
|
|
144
149
|
}
|
|
145
150
|
get organizations() {
|
|
146
151
|
var _a;
|
|
147
|
-
return ((_a = this._organizations) !== null && _a !== void 0 ? _a : (this._organizations = new
|
|
152
|
+
return ((_a = this._organizations) !== null && _a !== void 0 ? _a : (this._organizations = new Client_19.OrganizationsClient(this._options)));
|
|
148
153
|
}
|
|
149
154
|
get segments() {
|
|
150
155
|
var _a;
|
|
151
|
-
return ((_a = this._segments) !== null && _a !== void 0 ? _a : (this._segments = new
|
|
156
|
+
return ((_a = this._segments) !== null && _a !== void 0 ? _a : (this._segments = new Client_20.SegmentsClient(this._options)));
|
|
152
157
|
}
|
|
153
158
|
get translations() {
|
|
154
159
|
var _a;
|
|
155
|
-
return ((_a = this._translations) !== null && _a !== void 0 ? _a : (this._translations = new
|
|
160
|
+
return ((_a = this._translations) !== null && _a !== void 0 ? _a : (this._translations = new Client_21.TranslationsClient(this._options)));
|
|
156
161
|
}
|
|
157
162
|
get triggers() {
|
|
158
163
|
var _a;
|
|
159
|
-
return ((_a = this._triggers) !== null && _a !== void 0 ? _a : (this._triggers = new
|
|
164
|
+
return ((_a = this._triggers) !== null && _a !== void 0 ? _a : (this._triggers = new Client_22.TriggersClient(this._options)));
|
|
160
165
|
}
|
|
161
166
|
get users() {
|
|
162
167
|
var _a;
|
|
163
|
-
return ((_a = this._users) !== null && _a !== void 0 ? _a : (this._users = new
|
|
168
|
+
return ((_a = this._users) !== null && _a !== void 0 ? _a : (this._users = new Client_23.UsersClient(this._options)));
|
|
164
169
|
}
|
|
165
170
|
get voiceConversations() {
|
|
166
171
|
var _a;
|
|
167
|
-
return ((_a = this._voiceConversations) !== null && _a !== void 0 ? _a : (this._voiceConversations = new
|
|
172
|
+
return ((_a = this._voiceConversations) !== null && _a !== void 0 ? _a : (this._voiceConversations = new Client_25.VoiceConversationsClient(this._options)));
|
|
168
173
|
}
|
|
169
174
|
get voice() {
|
|
170
175
|
var _a;
|
|
171
|
-
return ((_a = this._voice) !== null && _a !== void 0 ? _a : (this._voice = new
|
|
176
|
+
return ((_a = this._voice) !== null && _a !== void 0 ? _a : (this._voice = new Client_24.VoiceClient(this._options)));
|
|
172
177
|
}
|
|
173
178
|
/**
|
|
174
179
|
* Make a passthrough request using the SDK's configured auth, retry, logging, etc.
|
|
@@ -32,4 +32,15 @@ export interface ActionPatchRequest {
|
|
|
32
32
|
* A null value clears it back to undeclared.
|
|
33
33
|
*/
|
|
34
34
|
sideEffects?: MavenAGI.SideEffects | null;
|
|
35
|
+
/**
|
|
36
|
+
* The Function version to bind this action to. A null value unbinds it, so the app's
|
|
37
|
+
* own handler runs it again.
|
|
38
|
+
*/
|
|
39
|
+
functionBinding?: MavenAGI.FunctionVersionBinding | null;
|
|
40
|
+
/**
|
|
41
|
+
* The parameters the action collects. A bound action's parameters must match its
|
|
42
|
+
* Function version's exactly, so moving to a version that declares different
|
|
43
|
+
* parameters sends them with `functionBinding` in the same request.
|
|
44
|
+
*/
|
|
45
|
+
userFormParameters?: MavenAGI.ActionParameter[];
|
|
35
46
|
}
|
|
@@ -26,4 +26,9 @@ import type * as MavenAGI from "../../../index";
|
|
|
26
26
|
export interface ActionRequest extends MavenAGI.ActionBase {
|
|
27
27
|
/** ID that uniquely identifies this action */
|
|
28
28
|
actionId: MavenAGI.EntityIdBase;
|
|
29
|
+
/**
|
|
30
|
+
* The Function version to bind this action to. A bound action runs exactly this version.
|
|
31
|
+
* Omitting it keeps the action's existing binding.
|
|
32
|
+
*/
|
|
33
|
+
functionBinding?: MavenAGI.FunctionVersionBinding;
|
|
29
34
|
}
|
|
@@ -38,6 +38,8 @@ export interface AgentVariantResponse {
|
|
|
38
38
|
createdAt?: Date;
|
|
39
39
|
/** Who created the agent variant. Absent when no one was recorded. A deleted variant brought back by `createOrUpdate` keeps its original creator. A variant made by `commit` names whoever made the commit. An agent's first variant names whoever's request set up versioning for it, or reads "Anonymous" when background setup created it, so for an agent created before versioning it is not necessarily the agent's creator. */
|
|
40
40
|
createdBy?: MavenAGI.ChangeAuthor;
|
|
41
|
-
/**
|
|
41
|
+
/** When the agent variant last changed. It moves when `createOrUpdate` or `patch` changes the variant's title, description, or status (archiving, unarchiving, or bringing back a deleted variant), when `delete` deletes it (including when it is a descendant of the deleted variant), and whenever `workingSetRevision` advances (a staged edit, an un-staged one, a discard, or a commit that clears its working set). A traffic change doesn't move it. A variant made by `commit` starts with its `createdAt`. */
|
|
42
42
|
updatedAt?: Date;
|
|
43
|
+
/** Who last changed the agent variant, as `updatedAt` dates it, so it also names whoever last staged, un-staged, or discarded an edit in the variant. A variant made by `commit` starts with whoever made the commit. Absent when no one was recorded. */
|
|
44
|
+
updatedBy?: MavenAGI.ChangeAuthor;
|
|
43
45
|
}
|
|
@@ -151,12 +151,18 @@ export declare class AgentsClient {
|
|
|
151
151
|
/**
|
|
152
152
|
* @beta This endpoint is in development and may change.
|
|
153
153
|
*
|
|
154
|
-
* Get the agent's
|
|
154
|
+
* Get the agent's system fallback message and content-safety reply instructions.
|
|
155
155
|
*
|
|
156
|
-
*
|
|
157
|
-
* `migrations.versionedEntityTypes
|
|
158
|
-
*
|
|
159
|
-
*
|
|
156
|
+
* Maven can turn on versioning for either setting. A versioned setting is listed in the
|
|
157
|
+
* agent's `migrations.versionedEntityTypes`, and its changes go through agent variants
|
|
158
|
+
* instead of applying to the agent directly.
|
|
159
|
+
*
|
|
160
|
+
* - If either setting is versioned, name a variant. Each versioned setting comes back as
|
|
161
|
+
* that variant has it: its staged edit if there is one, otherwise what was last
|
|
162
|
+
* published; a setting that isn't versioned comes back as the agent has it. Without a
|
|
163
|
+
* variant, the request is rejected with reason `VARIANT_REQUIRED`.
|
|
164
|
+
* - If neither setting is versioned, don't name a variant. Both come back as the agent has
|
|
165
|
+
* them. Naming a variant is a 400.
|
|
160
166
|
*
|
|
161
167
|
* <Note>**Required permission:** `read:agents`</Note>
|
|
162
168
|
*
|
|
@@ -181,14 +187,18 @@ export declare class AgentsClient {
|
|
|
181
187
|
/**
|
|
182
188
|
* @beta This endpoint is in development and may change.
|
|
183
189
|
*
|
|
184
|
-
* Update the agent's
|
|
185
|
-
*
|
|
190
|
+
* Update the agent's system fallback message and content-safety reply instructions. Only the
|
|
191
|
+
* fields you send change; send null to clear one.
|
|
192
|
+
*
|
|
193
|
+
* - A versioned setting (listed in `migrations.versionedEntityTypes`) is staged in the
|
|
194
|
+
* variant you name, and goes live when that variant is published.
|
|
195
|
+
* - A setting that isn't versioned is updated on the agent right away.
|
|
196
|
+
*
|
|
197
|
+
* Name a variant if any setting you send is versioned (or, when you send none, if either
|
|
198
|
+
* is versioned), and don't name one otherwise, as for `getVersionedSettings`.
|
|
186
199
|
*
|
|
187
|
-
*
|
|
188
|
-
*
|
|
189
|
-
* `getVersionedSettings` applies to the specified settings (to all, when none is specified).
|
|
190
|
-
* The response is what `getVersionedSettings` returns for the same variant; with none named,
|
|
191
|
-
* versioned settings are omitted.
|
|
200
|
+
* Returns what `getVersionedSettings` returns for the same variant. Without a variant,
|
|
201
|
+
* versioned settings are left out of the response.
|
|
192
202
|
*
|
|
193
203
|
* <Note>**Required permission:** `edit:agents`</Note>
|
|
194
204
|
*
|
|
@@ -673,12 +673,18 @@ class AgentsClient {
|
|
|
673
673
|
/**
|
|
674
674
|
* @beta This endpoint is in development and may change.
|
|
675
675
|
*
|
|
676
|
-
* Get the agent's
|
|
676
|
+
* Get the agent's system fallback message and content-safety reply instructions.
|
|
677
677
|
*
|
|
678
|
-
*
|
|
679
|
-
* `migrations.versionedEntityTypes
|
|
680
|
-
*
|
|
681
|
-
*
|
|
678
|
+
* Maven can turn on versioning for either setting. A versioned setting is listed in the
|
|
679
|
+
* agent's `migrations.versionedEntityTypes`, and its changes go through agent variants
|
|
680
|
+
* instead of applying to the agent directly.
|
|
681
|
+
*
|
|
682
|
+
* - If either setting is versioned, name a variant. Each versioned setting comes back as
|
|
683
|
+
* that variant has it: its staged edit if there is one, otherwise what was last
|
|
684
|
+
* published; a setting that isn't versioned comes back as the agent has it. Without a
|
|
685
|
+
* variant, the request is rejected with reason `VARIANT_REQUIRED`.
|
|
686
|
+
* - If neither setting is versioned, don't name a variant. Both come back as the agent has
|
|
687
|
+
* them. Naming a variant is a 400.
|
|
682
688
|
*
|
|
683
689
|
* <Note>**Required permission:** `read:agents`</Note>
|
|
684
690
|
*
|
|
@@ -791,14 +797,18 @@ class AgentsClient {
|
|
|
791
797
|
/**
|
|
792
798
|
* @beta This endpoint is in development and may change.
|
|
793
799
|
*
|
|
794
|
-
* Update the agent's
|
|
795
|
-
*
|
|
800
|
+
* Update the agent's system fallback message and content-safety reply instructions. Only the
|
|
801
|
+
* fields you send change; send null to clear one.
|
|
802
|
+
*
|
|
803
|
+
* - A versioned setting (listed in `migrations.versionedEntityTypes`) is staged in the
|
|
804
|
+
* variant you name, and goes live when that variant is published.
|
|
805
|
+
* - A setting that isn't versioned is updated on the agent right away.
|
|
806
|
+
*
|
|
807
|
+
* Name a variant if any setting you send is versioned (or, when you send none, if either
|
|
808
|
+
* is versioned), and don't name one otherwise, as for `getVersionedSettings`.
|
|
796
809
|
*
|
|
797
|
-
*
|
|
798
|
-
*
|
|
799
|
-
* `getVersionedSettings` applies to the specified settings (to all, when none is specified).
|
|
800
|
-
* The response is what `getVersionedSettings` returns for the same variant; with none named,
|
|
801
|
-
* versioned settings are omitted.
|
|
810
|
+
* Returns what `getVersionedSettings` returns for the same variant. Without a variant,
|
|
811
|
+
* versioned settings are left out of the response.
|
|
802
812
|
*
|
|
803
813
|
* <Note>**Required permission:** `edit:agents`</Note>
|
|
804
814
|
*
|
|
@@ -6,7 +6,7 @@ export interface AgentMigrations {
|
|
|
6
6
|
/**
|
|
7
7
|
* Whether the agent's charters decide how it answers. When false, chat conversations answer from the agent's pre-charters settings (such as the agent's `prompting.persona`, `prompting.additionalPromptText` and `prompting.rejectQuestionsWithoutKnowledge`) and skip charter evaluation. Voice calls on the consult-based voice runtime evaluate charters either way, and so do simulations that set `simulationContext.evaluateWithCharters`, where that setting is enabled. Charters can be read and edited in both states.
|
|
8
8
|
*
|
|
9
|
-
* True for agents created through `agents.create`.
|
|
9
|
+
* True for agents created through `agents.create`. Setting it to false while the agent is versioned (`versionedEntityTypes` isn't empty) is rejected with reason `CHARTER_MODE_REQUIRED`.
|
|
10
10
|
*
|
|
11
11
|
* Shown in Agent Designer as "Charters evaluation".
|
|
12
12
|
*/
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/** An agent setting
|
|
1
|
+
/** An agent setting whose changes can go through agent variants, once Maven turns versioning on for it on the agent. */
|
|
2
2
|
export declare const AgentSettingName: {
|
|
3
3
|
readonly SystemFallbackMessage: "SYSTEM_FALLBACK_MESSAGE";
|
|
4
4
|
readonly ContentSafetyViolationResponsePromptText: "CONTENT_SAFETY_VIOLATION_RESPONSE_PROMPT_TEXT";
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
// This file was auto-generated by Fern from our API Definition.
|
|
3
3
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
4
|
exports.AgentSettingName = void 0;
|
|
5
|
-
/** An agent setting
|
|
5
|
+
/** An agent setting whose changes can go through agent variants, once Maven turns versioning on for it on the agent. */
|
|
6
6
|
exports.AgentSettingName = {
|
|
7
7
|
SystemFallbackMessage: "SYSTEM_FALLBACK_MESSAGE",
|
|
8
8
|
ContentSafetyViolationResponsePromptText: "CONTENT_SAFETY_VIOLATION_RESPONSE_PROMPT_TEXT",
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
*
|
|
2
|
+
* The agent settings whose changes can go through agent variants, one field per `AgentSettingName`.
|
|
3
3
|
*/
|
|
4
4
|
export interface VersionedAgentSettings {
|
|
5
5
|
/** Text shown to end users when the system encounters an error while generating a bot response message. */
|
|
@@ -74,8 +74,12 @@ export declare class AppDirectoryClient {
|
|
|
74
74
|
get(appId: string, requestOptions?: AppDirectoryClient.RequestOptions): core.HttpResponsePromise<MavenAGI.MarketplaceAppDetail>;
|
|
75
75
|
private __get;
|
|
76
76
|
/**
|
|
77
|
-
* Installs the app on the agent, or updates settings for an existing installation.
|
|
78
|
-
*
|
|
77
|
+
* Installs the app on the agent, or updates settings for an existing installation. Runs the
|
|
78
|
+
* app's preInstall hook first: the app may store different settings than the ones sent, or
|
|
79
|
+
* reject them with a 400. When the app names the rejected settings, the 400's `reason` is
|
|
80
|
+
* `INVALID_SETTINGS` and its `fieldErrors` name each one; otherwise it has no `reason`. If the app returned settings and the stored settings changed while
|
|
81
|
+
* the hook ran, answers 409; reload them and retry. Re-runs the postInstall lifecycle hook on
|
|
82
|
+
* each call. Returns the app as `get` does once the install is
|
|
79
83
|
* done, with its settings and post-install `instructions` filled in for the agent.
|
|
80
84
|
*
|
|
81
85
|
* The app may not work yet. Finish its setup as `get` describes: follow `instructions`, hand
|
|
@@ -282,8 +282,12 @@ class AppDirectoryClient {
|
|
|
282
282
|
});
|
|
283
283
|
}
|
|
284
284
|
/**
|
|
285
|
-
* Installs the app on the agent, or updates settings for an existing installation.
|
|
286
|
-
*
|
|
285
|
+
* Installs the app on the agent, or updates settings for an existing installation. Runs the
|
|
286
|
+
* app's preInstall hook first: the app may store different settings than the ones sent, or
|
|
287
|
+
* reject them with a 400. When the app names the rejected settings, the 400's `reason` is
|
|
288
|
+
* `INVALID_SETTINGS` and its `fieldErrors` name each one; otherwise it has no `reason`. If the app returned settings and the stored settings changed while
|
|
289
|
+
* the hook ran, answers 409; reload them and retry. Re-runs the postInstall lifecycle hook on
|
|
290
|
+
* each call. Returns the app as `get` does once the install is
|
|
287
291
|
* done, with its settings and post-install `instructions` filled in for the agent.
|
|
288
292
|
*
|
|
289
293
|
* The app may not work yet. Finish its setup as `get` describes: follow `instructions`, hand
|
|
@@ -0,0 +1,139 @@
|
|
|
1
|
+
import type { BaseClientOptions, BaseRequestOptions } from "../../../../BaseClient";
|
|
2
|
+
import { type NormalizedClientOptionsWithAuth } from "../../../../BaseClient";
|
|
3
|
+
import * as core from "../../../../core";
|
|
4
|
+
import * as MavenAGI from "../../../index";
|
|
5
|
+
export declare namespace AppsClient {
|
|
6
|
+
type Options = BaseClientOptions;
|
|
7
|
+
interface RequestOptions extends BaseRequestOptions {
|
|
8
|
+
}
|
|
9
|
+
}
|
|
10
|
+
export declare class AppsClient {
|
|
11
|
+
protected readonly _options: NormalizedClientOptionsWithAuth<AppsClient.Options>;
|
|
12
|
+
constructor(options: AppsClient.Options);
|
|
13
|
+
/**
|
|
14
|
+
* Create an app your organization owns, or replace one it already owns: every field the request
|
|
15
|
+
* leaves out is cleared. To change only some fields, use `patch`. Send `categories`,
|
|
16
|
+
* `capabilities`, `links` and `settingsSchema` every time, as `[]` when the app has none.
|
|
17
|
+
*
|
|
18
|
+
* App IDs are unique across Maven, so an ID another organization uses, or a deleted app used, is a
|
|
19
|
+
* 409. Requesting a permission you don't hold is a 403.
|
|
20
|
+
*
|
|
21
|
+
* A new app is in development: only your organization can see it in the app directory, and install
|
|
22
|
+
* it on its agents with the app directory's install (`POST /v1/directory/{appId}/install`). Its code
|
|
23
|
+
* runs as Functions, which you add with the Functions API. Making the app public, sharing it with
|
|
24
|
+
* other organizations, and setting its logo can't be done through this API.
|
|
25
|
+
*
|
|
26
|
+
* It can't change an app with a hosted deployment, made in App Studio, or an agent's own app (409),
|
|
27
|
+
* and it can't change the permissions of an app other organizations can install, because the change
|
|
28
|
+
* would reach them with no consent (409).
|
|
29
|
+
*
|
|
30
|
+
* <Note>**Required permission:** `edit:apps`</Note>
|
|
31
|
+
*
|
|
32
|
+
* @param {MavenAGI.AppRequest} request
|
|
33
|
+
* @param {AppsClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
34
|
+
*
|
|
35
|
+
* @throws {@link MavenAGI.NotFoundError}
|
|
36
|
+
* @throws {@link MavenAGI.BadRequestError}
|
|
37
|
+
* @throws {@link MavenAGI.PayloadTooLargeError}
|
|
38
|
+
* @throws {@link MavenAGI.TooManyRequestsError}
|
|
39
|
+
* @throws {@link MavenAGI.ServerError}
|
|
40
|
+
* @throws {@link errors.MavenAGIError}
|
|
41
|
+
* @throws {@link errors.MavenAGITimeoutError}
|
|
42
|
+
*
|
|
43
|
+
* @example
|
|
44
|
+
* await client.apps.createOrUpdate({
|
|
45
|
+
* id: "order-lookup",
|
|
46
|
+
* name: "Order lookup",
|
|
47
|
+
* shortDescription: "Looks up an order's status.",
|
|
48
|
+
* categories: ["CUSTOMER_SUPPORT"],
|
|
49
|
+
* capabilities: ["ACTIONS"],
|
|
50
|
+
* links: [],
|
|
51
|
+
* settingsSchema: [{
|
|
52
|
+
* type: "text",
|
|
53
|
+
* key: "apiKey",
|
|
54
|
+
* displayName: "API key"
|
|
55
|
+
* }],
|
|
56
|
+
* requestedPermissions: ["read:conversations"]
|
|
57
|
+
* })
|
|
58
|
+
*/
|
|
59
|
+
createOrUpdate(request: MavenAGI.AppRequest, requestOptions?: AppsClient.RequestOptions): core.HttpResponsePromise<MavenAGI.AppResponse>;
|
|
60
|
+
private __createOrUpdate;
|
|
61
|
+
/**
|
|
62
|
+
* Change some fields of an app your organization owns. Fields the request leaves out keep their
|
|
63
|
+
* values. Set a text field to null to clear it; send `[]` to empty a list.
|
|
64
|
+
*
|
|
65
|
+
* An app your organization doesn't own, or that doesn't exist, is a 403. Requesting a permission
|
|
66
|
+
* you don't hold is a 403. It can't change an app with a hosted deployment, made in App Studio, or
|
|
67
|
+
* an agent's own app (409), and it can't change the permissions of an app other organizations can
|
|
68
|
+
* install, because the change would reach them with no consent (409).
|
|
69
|
+
*
|
|
70
|
+
* <Note>**Required permission:** `edit:apps`</Note>
|
|
71
|
+
*
|
|
72
|
+
* @param {string} appId - The ID of the app to change.
|
|
73
|
+
* @param {MavenAGI.AppPatchRequest} request
|
|
74
|
+
* @param {AppsClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
75
|
+
*
|
|
76
|
+
* @throws {@link MavenAGI.NotFoundError}
|
|
77
|
+
* @throws {@link MavenAGI.BadRequestError}
|
|
78
|
+
* @throws {@link MavenAGI.PayloadTooLargeError}
|
|
79
|
+
* @throws {@link MavenAGI.TooManyRequestsError}
|
|
80
|
+
* @throws {@link MavenAGI.ServerError}
|
|
81
|
+
* @throws {@link errors.MavenAGIError}
|
|
82
|
+
* @throws {@link errors.MavenAGITimeoutError}
|
|
83
|
+
*
|
|
84
|
+
* @example
|
|
85
|
+
* await client.apps.patch("appId", {})
|
|
86
|
+
*/
|
|
87
|
+
patch(appId: string, request: MavenAGI.AppPatchRequest, requestOptions?: AppsClient.RequestOptions): core.HttpResponsePromise<MavenAGI.AppResponse>;
|
|
88
|
+
private __patch;
|
|
89
|
+
/**
|
|
90
|
+
* Search the apps your organization owns, newest first unless `sortDesc` is false, with how many
|
|
91
|
+
* agents each is installed on. Leaves out each agent's own app.
|
|
92
|
+
*
|
|
93
|
+
* <Note>**Required permission:** `read:apps`</Note>
|
|
94
|
+
*
|
|
95
|
+
* @param {MavenAGI.AppsSearchRequest} request
|
|
96
|
+
* @param {AppsClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
97
|
+
*
|
|
98
|
+
* @throws {@link MavenAGI.NotFoundError}
|
|
99
|
+
* @throws {@link MavenAGI.BadRequestError}
|
|
100
|
+
* @throws {@link MavenAGI.PayloadTooLargeError}
|
|
101
|
+
* @throws {@link MavenAGI.TooManyRequestsError}
|
|
102
|
+
* @throws {@link MavenAGI.ServerError}
|
|
103
|
+
* @throws {@link errors.MavenAGIError}
|
|
104
|
+
* @throws {@link errors.MavenAGITimeoutError}
|
|
105
|
+
*
|
|
106
|
+
* @example
|
|
107
|
+
* await client.apps.search({})
|
|
108
|
+
*/
|
|
109
|
+
search(request: MavenAGI.AppsSearchRequest, requestOptions?: AppsClient.RequestOptions): core.HttpResponsePromise<MavenAGI.AppsSearchResponse>;
|
|
110
|
+
private __search;
|
|
111
|
+
/**
|
|
112
|
+
* Delete an app your organization owns. An app your organization doesn't own, or that doesn't exist,
|
|
113
|
+
* is a 403.
|
|
114
|
+
*
|
|
115
|
+
* An app that is still installed on any agent can't be deleted: uninstall it everywhere first, or
|
|
116
|
+
* the request fails with a 409. Its `installCount` says how many agents have it, and the app
|
|
117
|
+
* directory shows whether a given agent does; uninstall it from each with the app directory's
|
|
118
|
+
* uninstall (`DELETE /v1/directory/{appId}/install`). That includes agents in other organizations
|
|
119
|
+
* an app is public or shared with, which only those organizations can uninstall.
|
|
120
|
+
*
|
|
121
|
+
* <Note>**Required permission:** `edit:apps`</Note>
|
|
122
|
+
*
|
|
123
|
+
* @param {string} appId - The ID of the app to delete.
|
|
124
|
+
* @param {AppsClient.RequestOptions} requestOptions - Request-specific configuration.
|
|
125
|
+
*
|
|
126
|
+
* @throws {@link MavenAGI.NotFoundError}
|
|
127
|
+
* @throws {@link MavenAGI.BadRequestError}
|
|
128
|
+
* @throws {@link MavenAGI.PayloadTooLargeError}
|
|
129
|
+
* @throws {@link MavenAGI.TooManyRequestsError}
|
|
130
|
+
* @throws {@link MavenAGI.ServerError}
|
|
131
|
+
* @throws {@link errors.MavenAGIError}
|
|
132
|
+
* @throws {@link errors.MavenAGITimeoutError}
|
|
133
|
+
*
|
|
134
|
+
* @example
|
|
135
|
+
* await client.apps.delete("appId")
|
|
136
|
+
*/
|
|
137
|
+
delete(appId: string, requestOptions?: AppsClient.RequestOptions): core.HttpResponsePromise<void>;
|
|
138
|
+
private __delete;
|
|
139
|
+
}
|