mavenagi 1.2.34 → 1.2.35
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/Client.js +2 -2
- package/api/resources/actions/client/Client.d.ts +5 -0
- package/api/resources/actions/client/Client.js +40 -0
- package/api/resources/agents/client/Client.d.ts +6 -0
- package/api/resources/agents/client/Client.js +48 -0
- package/api/resources/analytics/client/Client.d.ts +7 -0
- package/api/resources/analytics/client/Client.js +56 -0
- package/api/resources/appSettings/client/Client.d.ts +3 -0
- package/api/resources/appSettings/client/Client.js +24 -0
- package/api/resources/assets/client/Client.d.ts +2 -0
- package/api/resources/assets/client/Client.js +16 -0
- package/api/resources/assets/types/CommitAssetUploadRequest.d.ts +1 -1
- package/api/resources/commons/errors/PayloadTooLargeError.d.ts +6 -0
- package/api/resources/commons/errors/PayloadTooLargeError.js +50 -0
- package/api/resources/commons/errors/index.d.ts +1 -0
- package/api/resources/commons/errors/index.js +1 -0
- package/api/resources/conversation/client/Client.d.ts +15 -0
- package/api/resources/conversation/client/Client.js +127 -0
- package/api/resources/customers/client/Client.d.ts +4 -0
- package/api/resources/customers/client/Client.js +32 -0
- package/api/resources/events/client/Client.d.ts +4 -0
- package/api/resources/events/client/Client.js +32 -0
- package/api/resources/inbox/client/Client.d.ts +8 -0
- package/api/resources/inbox/client/Client.js +64 -0
- package/api/resources/integrations/client/Client.d.ts +1 -0
- package/api/resources/integrations/client/Client.js +8 -0
- package/api/resources/knowledge/client/Client.d.ts +14 -0
- package/api/resources/knowledge/client/Client.js +112 -0
- package/api/resources/organizations/client/Client.d.ts +6 -0
- package/api/resources/organizations/client/Client.js +48 -0
- package/api/resources/segments/client/Client.d.ts +5 -0
- package/api/resources/segments/client/Client.js +40 -0
- package/api/resources/translations/client/Client.d.ts +1 -0
- package/api/resources/translations/client/Client.js +8 -0
- package/api/resources/triggers/client/Client.d.ts +5 -0
- package/api/resources/triggers/client/Client.js +40 -0
- package/api/resources/users/client/Client.d.ts +5 -0
- package/api/resources/users/client/Client.js +40 -0
- package/api/resources/voice/client/Client.d.ts +1 -0
- package/api/resources/voice/client/Client.js +8 -0
- package/dist/Client.js +2 -2
- package/dist/api/resources/actions/client/Client.d.ts +5 -0
- package/dist/api/resources/actions/client/Client.js +40 -0
- package/dist/api/resources/agents/client/Client.d.ts +6 -0
- package/dist/api/resources/agents/client/Client.js +48 -0
- package/dist/api/resources/analytics/client/Client.d.ts +7 -0
- package/dist/api/resources/analytics/client/Client.js +56 -0
- package/dist/api/resources/appSettings/client/Client.d.ts +3 -0
- package/dist/api/resources/appSettings/client/Client.js +24 -0
- package/dist/api/resources/assets/client/Client.d.ts +2 -0
- package/dist/api/resources/assets/client/Client.js +16 -0
- package/dist/api/resources/assets/types/CommitAssetUploadRequest.d.ts +1 -1
- package/dist/api/resources/commons/errors/PayloadTooLargeError.d.ts +6 -0
- package/dist/api/resources/commons/errors/PayloadTooLargeError.js +50 -0
- package/dist/api/resources/commons/errors/index.d.ts +1 -0
- package/dist/api/resources/commons/errors/index.js +1 -0
- package/dist/api/resources/conversation/client/Client.d.ts +15 -0
- package/dist/api/resources/conversation/client/Client.js +127 -0
- package/dist/api/resources/customers/client/Client.d.ts +4 -0
- package/dist/api/resources/customers/client/Client.js +32 -0
- package/dist/api/resources/events/client/Client.d.ts +4 -0
- package/dist/api/resources/events/client/Client.js +32 -0
- package/dist/api/resources/inbox/client/Client.d.ts +8 -0
- package/dist/api/resources/inbox/client/Client.js +64 -0
- package/dist/api/resources/integrations/client/Client.d.ts +1 -0
- package/dist/api/resources/integrations/client/Client.js +8 -0
- package/dist/api/resources/knowledge/client/Client.d.ts +14 -0
- package/dist/api/resources/knowledge/client/Client.js +112 -0
- package/dist/api/resources/organizations/client/Client.d.ts +6 -0
- package/dist/api/resources/organizations/client/Client.js +48 -0
- package/dist/api/resources/segments/client/Client.d.ts +5 -0
- package/dist/api/resources/segments/client/Client.js +40 -0
- package/dist/api/resources/translations/client/Client.d.ts +1 -0
- package/dist/api/resources/translations/client/Client.js +8 -0
- package/dist/api/resources/triggers/client/Client.d.ts +5 -0
- package/dist/api/resources/triggers/client/Client.js +40 -0
- package/dist/api/resources/users/client/Client.d.ts +5 -0
- package/dist/api/resources/users/client/Client.js +40 -0
- package/dist/api/resources/voice/client/Client.d.ts +1 -0
- package/dist/api/resources/voice/client/Client.js +8 -0
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/package.json +1 -1
- package/version.d.ts +1 -1
- package/version.js +1 -1
|
@@ -63,6 +63,7 @@ class Assets {
|
|
|
63
63
|
*
|
|
64
64
|
* @throws {@link MavenAGI.NotFoundError}
|
|
65
65
|
* @throws {@link MavenAGI.BadRequestError}
|
|
66
|
+
* @throws {@link MavenAGI.PayloadTooLargeError}
|
|
66
67
|
* @throws {@link MavenAGI.ServerError}
|
|
67
68
|
*
|
|
68
69
|
* @example
|
|
@@ -120,6 +121,13 @@ class Assets {
|
|
|
120
121
|
allowUnrecognizedEnumValues: true,
|
|
121
122
|
breadcrumbsPrefix: ["response"],
|
|
122
123
|
}), _response.rawResponse);
|
|
124
|
+
case 413:
|
|
125
|
+
throw new MavenAGI.PayloadTooLargeError(serializers.ErrorMessage.parseOrThrow(_response.error.body, {
|
|
126
|
+
unrecognizedObjectKeys: "passthrough",
|
|
127
|
+
allowUnrecognizedUnionMembers: true,
|
|
128
|
+
allowUnrecognizedEnumValues: true,
|
|
129
|
+
breadcrumbsPrefix: ["response"],
|
|
130
|
+
}), _response.rawResponse);
|
|
123
131
|
case 500:
|
|
124
132
|
throw new MavenAGI.ServerError(serializers.ErrorMessage.parseOrThrow(_response.error.body, {
|
|
125
133
|
unrecognizedObjectKeys: "passthrough",
|
|
@@ -162,6 +170,7 @@ class Assets {
|
|
|
162
170
|
*
|
|
163
171
|
* @throws {@link MavenAGI.NotFoundError}
|
|
164
172
|
* @throws {@link MavenAGI.BadRequestError}
|
|
173
|
+
* @throws {@link MavenAGI.PayloadTooLargeError}
|
|
165
174
|
* @throws {@link MavenAGI.ServerError}
|
|
166
175
|
*
|
|
167
176
|
* @example
|
|
@@ -209,6 +218,13 @@ class Assets {
|
|
|
209
218
|
allowUnrecognizedEnumValues: true,
|
|
210
219
|
breadcrumbsPrefix: ["response"],
|
|
211
220
|
}), _response.rawResponse);
|
|
221
|
+
case 413:
|
|
222
|
+
throw new MavenAGI.PayloadTooLargeError(serializers.ErrorMessage.parseOrThrow(_response.error.body, {
|
|
223
|
+
unrecognizedObjectKeys: "passthrough",
|
|
224
|
+
allowUnrecognizedUnionMembers: true,
|
|
225
|
+
allowUnrecognizedEnumValues: true,
|
|
226
|
+
breadcrumbsPrefix: ["response"],
|
|
227
|
+
}), _response.rawResponse);
|
|
212
228
|
case 500:
|
|
213
229
|
throw new MavenAGI.ServerError(serializers.ErrorMessage.parseOrThrow(_response.error.body, {
|
|
214
230
|
unrecognizedObjectKeys: "passthrough",
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
export interface CommitAssetUploadRequest {
|
|
2
|
-
/** MD5 hex digest of the uploaded file.
|
|
2
|
+
/** MD5 hex digest of the uploaded file. When provided, used to verify blob integrity. */
|
|
3
3
|
checksum?: string;
|
|
4
4
|
}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import type * as core from "../../../../core";
|
|
2
|
+
import * as errors from "../../../../errors/index";
|
|
3
|
+
import type * as MavenAGI from "../../../index";
|
|
4
|
+
export declare class PayloadTooLargeError extends errors.MavenAGIError {
|
|
5
|
+
constructor(body: MavenAGI.ErrorMessage, rawResponse?: core.RawResponse);
|
|
6
|
+
}
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
4
|
+
if (k2 === undefined) k2 = k;
|
|
5
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
6
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
7
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
8
|
+
}
|
|
9
|
+
Object.defineProperty(o, k2, desc);
|
|
10
|
+
}) : (function(o, m, k, k2) {
|
|
11
|
+
if (k2 === undefined) k2 = k;
|
|
12
|
+
o[k2] = m[k];
|
|
13
|
+
}));
|
|
14
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
15
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
16
|
+
}) : function(o, v) {
|
|
17
|
+
o["default"] = v;
|
|
18
|
+
});
|
|
19
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
20
|
+
var ownKeys = function(o) {
|
|
21
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
22
|
+
var ar = [];
|
|
23
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
24
|
+
return ar;
|
|
25
|
+
};
|
|
26
|
+
return ownKeys(o);
|
|
27
|
+
};
|
|
28
|
+
return function (mod) {
|
|
29
|
+
if (mod && mod.__esModule) return mod;
|
|
30
|
+
var result = {};
|
|
31
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
32
|
+
__setModuleDefault(result, mod);
|
|
33
|
+
return result;
|
|
34
|
+
};
|
|
35
|
+
})();
|
|
36
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
37
|
+
exports.PayloadTooLargeError = void 0;
|
|
38
|
+
const errors = __importStar(require("../../../../errors/index"));
|
|
39
|
+
class PayloadTooLargeError extends errors.MavenAGIError {
|
|
40
|
+
constructor(body, rawResponse) {
|
|
41
|
+
super({
|
|
42
|
+
message: "PayloadTooLargeError",
|
|
43
|
+
statusCode: 413,
|
|
44
|
+
body: body,
|
|
45
|
+
rawResponse: rawResponse,
|
|
46
|
+
});
|
|
47
|
+
Object.setPrototypeOf(this, PayloadTooLargeError.prototype);
|
|
48
|
+
}
|
|
49
|
+
}
|
|
50
|
+
exports.PayloadTooLargeError = PayloadTooLargeError;
|
|
@@ -16,4 +16,5 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
17
|
__exportStar(require("./BadRequestError"), exports);
|
|
18
18
|
__exportStar(require("./NotFoundError"), exports);
|
|
19
|
+
__exportStar(require("./PayloadTooLargeError"), exports);
|
|
19
20
|
__exportStar(require("./ServerError"), exports);
|
|
@@ -25,6 +25,7 @@ export declare class Conversation {
|
|
|
25
25
|
*
|
|
26
26
|
* @throws {@link MavenAGI.NotFoundError}
|
|
27
27
|
* @throws {@link MavenAGI.BadRequestError}
|
|
28
|
+
* @throws {@link MavenAGI.PayloadTooLargeError}
|
|
28
29
|
* @throws {@link MavenAGI.ServerError}
|
|
29
30
|
*
|
|
30
31
|
* @example
|
|
@@ -67,6 +68,7 @@ export declare class Conversation {
|
|
|
67
68
|
*
|
|
68
69
|
* @throws {@link MavenAGI.NotFoundError}
|
|
69
70
|
* @throws {@link MavenAGI.BadRequestError}
|
|
71
|
+
* @throws {@link MavenAGI.PayloadTooLargeError}
|
|
70
72
|
* @throws {@link MavenAGI.ServerError}
|
|
71
73
|
*
|
|
72
74
|
* @example
|
|
@@ -85,6 +87,7 @@ export declare class Conversation {
|
|
|
85
87
|
*
|
|
86
88
|
* @throws {@link MavenAGI.NotFoundError}
|
|
87
89
|
* @throws {@link MavenAGI.BadRequestError}
|
|
90
|
+
* @throws {@link MavenAGI.PayloadTooLargeError}
|
|
88
91
|
* @throws {@link MavenAGI.ServerError}
|
|
89
92
|
*
|
|
90
93
|
* @example
|
|
@@ -110,6 +113,7 @@ export declare class Conversation {
|
|
|
110
113
|
*
|
|
111
114
|
* @throws {@link MavenAGI.NotFoundError}
|
|
112
115
|
* @throws {@link MavenAGI.BadRequestError}
|
|
116
|
+
* @throws {@link MavenAGI.PayloadTooLargeError}
|
|
113
117
|
* @throws {@link MavenAGI.ServerError}
|
|
114
118
|
*
|
|
115
119
|
* @example
|
|
@@ -128,6 +132,7 @@ export declare class Conversation {
|
|
|
128
132
|
*
|
|
129
133
|
* @throws {@link MavenAGI.NotFoundError}
|
|
130
134
|
* @throws {@link MavenAGI.BadRequestError}
|
|
135
|
+
* @throws {@link MavenAGI.PayloadTooLargeError}
|
|
131
136
|
* @throws {@link MavenAGI.ServerError}
|
|
132
137
|
*
|
|
133
138
|
* @example
|
|
@@ -170,6 +175,7 @@ export declare class Conversation {
|
|
|
170
175
|
*
|
|
171
176
|
* @throws {@link MavenAGI.NotFoundError}
|
|
172
177
|
* @throws {@link MavenAGI.BadRequestError}
|
|
178
|
+
* @throws {@link MavenAGI.PayloadTooLargeError}
|
|
173
179
|
* @throws {@link MavenAGI.ServerError}
|
|
174
180
|
*
|
|
175
181
|
* @example
|
|
@@ -219,6 +225,7 @@ export declare class Conversation {
|
|
|
219
225
|
*
|
|
220
226
|
* @throws {@link MavenAGI.NotFoundError}
|
|
221
227
|
* @throws {@link MavenAGI.BadRequestError}
|
|
228
|
+
* @throws {@link MavenAGI.PayloadTooLargeError}
|
|
222
229
|
* @throws {@link MavenAGI.ServerError}
|
|
223
230
|
*
|
|
224
231
|
* @example
|
|
@@ -234,6 +241,7 @@ export declare class Conversation {
|
|
|
234
241
|
*
|
|
235
242
|
* @throws {@link MavenAGI.NotFoundError}
|
|
236
243
|
* @throws {@link MavenAGI.BadRequestError}
|
|
244
|
+
* @throws {@link MavenAGI.PayloadTooLargeError}
|
|
237
245
|
* @throws {@link MavenAGI.ServerError}
|
|
238
246
|
*
|
|
239
247
|
* @example
|
|
@@ -269,6 +277,7 @@ export declare class Conversation {
|
|
|
269
277
|
*
|
|
270
278
|
* @throws {@link MavenAGI.NotFoundError}
|
|
271
279
|
* @throws {@link MavenAGI.BadRequestError}
|
|
280
|
+
* @throws {@link MavenAGI.PayloadTooLargeError}
|
|
272
281
|
* @throws {@link MavenAGI.ServerError}
|
|
273
282
|
*
|
|
274
283
|
* @example
|
|
@@ -294,6 +303,7 @@ export declare class Conversation {
|
|
|
294
303
|
*
|
|
295
304
|
* @throws {@link MavenAGI.NotFoundError}
|
|
296
305
|
* @throws {@link MavenAGI.BadRequestError}
|
|
306
|
+
* @throws {@link MavenAGI.PayloadTooLargeError}
|
|
297
307
|
* @throws {@link MavenAGI.ServerError}
|
|
298
308
|
*
|
|
299
309
|
* @example
|
|
@@ -318,6 +328,7 @@ export declare class Conversation {
|
|
|
318
328
|
*
|
|
319
329
|
* @throws {@link MavenAGI.NotFoundError}
|
|
320
330
|
* @throws {@link MavenAGI.BadRequestError}
|
|
331
|
+
* @throws {@link MavenAGI.PayloadTooLargeError}
|
|
321
332
|
* @throws {@link MavenAGI.ServerError}
|
|
322
333
|
*
|
|
323
334
|
* @example
|
|
@@ -338,6 +349,7 @@ export declare class Conversation {
|
|
|
338
349
|
*
|
|
339
350
|
* @throws {@link MavenAGI.NotFoundError}
|
|
340
351
|
* @throws {@link MavenAGI.BadRequestError}
|
|
352
|
+
* @throws {@link MavenAGI.PayloadTooLargeError}
|
|
341
353
|
* @throws {@link MavenAGI.ServerError}
|
|
342
354
|
*
|
|
343
355
|
* @example
|
|
@@ -354,6 +366,7 @@ export declare class Conversation {
|
|
|
354
366
|
* The CSV format may change over time and should not be relied upon by code consumers.
|
|
355
367
|
* @throws {@link MavenAGI.NotFoundError}
|
|
356
368
|
* @throws {@link MavenAGI.BadRequestError}
|
|
369
|
+
* @throws {@link MavenAGI.PayloadTooLargeError}
|
|
357
370
|
* @throws {@link MavenAGI.ServerError}
|
|
358
371
|
*/
|
|
359
372
|
export(request: MavenAGI.ConversationsSearchRequest, requestOptions?: Conversation.RequestOptions): core.HttpResponsePromise<core.BinaryResponse>;
|
|
@@ -373,6 +386,7 @@ export declare class Conversation {
|
|
|
373
386
|
*
|
|
374
387
|
* @throws {@link MavenAGI.NotFoundError}
|
|
375
388
|
* @throws {@link MavenAGI.BadRequestError}
|
|
389
|
+
* @throws {@link MavenAGI.PayloadTooLargeError}
|
|
376
390
|
* @throws {@link MavenAGI.ServerError}
|
|
377
391
|
*/
|
|
378
392
|
importSimulations(file: core.file.Uploadable, request: MavenAGI.SimulationImportRequest, requestOptions?: Conversation.RequestOptions): core.HttpResponsePromise<void>;
|
|
@@ -390,6 +404,7 @@ export declare class Conversation {
|
|
|
390
404
|
*
|
|
391
405
|
* @throws {@link MavenAGI.NotFoundError}
|
|
392
406
|
* @throws {@link MavenAGI.BadRequestError}
|
|
407
|
+
* @throws {@link MavenAGI.PayloadTooLargeError}
|
|
393
408
|
* @throws {@link MavenAGI.ServerError}
|
|
394
409
|
*
|
|
395
410
|
* @example
|
|
@@ -70,6 +70,7 @@ class Conversation {
|
|
|
70
70
|
*
|
|
71
71
|
* @throws {@link MavenAGI.NotFoundError}
|
|
72
72
|
* @throws {@link MavenAGI.BadRequestError}
|
|
73
|
+
* @throws {@link MavenAGI.PayloadTooLargeError}
|
|
73
74
|
* @throws {@link MavenAGI.ServerError}
|
|
74
75
|
*
|
|
75
76
|
* @example
|
|
@@ -148,6 +149,13 @@ class Conversation {
|
|
|
148
149
|
allowUnrecognizedEnumValues: true,
|
|
149
150
|
breadcrumbsPrefix: ["response"],
|
|
150
151
|
}), _response.rawResponse);
|
|
152
|
+
case 413:
|
|
153
|
+
throw new MavenAGI.PayloadTooLargeError(serializers.ErrorMessage.parseOrThrow(_response.error.body, {
|
|
154
|
+
unrecognizedObjectKeys: "passthrough",
|
|
155
|
+
allowUnrecognizedUnionMembers: true,
|
|
156
|
+
allowUnrecognizedEnumValues: true,
|
|
157
|
+
breadcrumbsPrefix: ["response"],
|
|
158
|
+
}), _response.rawResponse);
|
|
151
159
|
case 500:
|
|
152
160
|
throw new MavenAGI.ServerError(serializers.ErrorMessage.parseOrThrow(_response.error.body, {
|
|
153
161
|
unrecognizedObjectKeys: "passthrough",
|
|
@@ -192,6 +200,7 @@ class Conversation {
|
|
|
192
200
|
*
|
|
193
201
|
* @throws {@link MavenAGI.NotFoundError}
|
|
194
202
|
* @throws {@link MavenAGI.BadRequestError}
|
|
203
|
+
* @throws {@link MavenAGI.PayloadTooLargeError}
|
|
195
204
|
* @throws {@link MavenAGI.ServerError}
|
|
196
205
|
*
|
|
197
206
|
* @example
|
|
@@ -249,6 +258,13 @@ class Conversation {
|
|
|
249
258
|
allowUnrecognizedEnumValues: true,
|
|
250
259
|
breadcrumbsPrefix: ["response"],
|
|
251
260
|
}), _response.rawResponse);
|
|
261
|
+
case 413:
|
|
262
|
+
throw new MavenAGI.PayloadTooLargeError(serializers.ErrorMessage.parseOrThrow(_response.error.body, {
|
|
263
|
+
unrecognizedObjectKeys: "passthrough",
|
|
264
|
+
allowUnrecognizedUnionMembers: true,
|
|
265
|
+
allowUnrecognizedEnumValues: true,
|
|
266
|
+
breadcrumbsPrefix: ["response"],
|
|
267
|
+
}), _response.rawResponse);
|
|
252
268
|
case 500:
|
|
253
269
|
throw new MavenAGI.ServerError(serializers.ErrorMessage.parseOrThrow(_response.error.body, {
|
|
254
270
|
unrecognizedObjectKeys: "passthrough",
|
|
@@ -290,6 +306,7 @@ class Conversation {
|
|
|
290
306
|
*
|
|
291
307
|
* @throws {@link MavenAGI.NotFoundError}
|
|
292
308
|
* @throws {@link MavenAGI.BadRequestError}
|
|
309
|
+
* @throws {@link MavenAGI.PayloadTooLargeError}
|
|
293
310
|
* @throws {@link MavenAGI.ServerError}
|
|
294
311
|
*
|
|
295
312
|
* @example
|
|
@@ -350,6 +367,13 @@ class Conversation {
|
|
|
350
367
|
allowUnrecognizedEnumValues: true,
|
|
351
368
|
breadcrumbsPrefix: ["response"],
|
|
352
369
|
}), _response.rawResponse);
|
|
370
|
+
case 413:
|
|
371
|
+
throw new MavenAGI.PayloadTooLargeError(serializers.ErrorMessage.parseOrThrow(_response.error.body, {
|
|
372
|
+
unrecognizedObjectKeys: "passthrough",
|
|
373
|
+
allowUnrecognizedUnionMembers: true,
|
|
374
|
+
allowUnrecognizedEnumValues: true,
|
|
375
|
+
breadcrumbsPrefix: ["response"],
|
|
376
|
+
}), _response.rawResponse);
|
|
353
377
|
case 500:
|
|
354
378
|
throw new MavenAGI.ServerError(serializers.ErrorMessage.parseOrThrow(_response.error.body, {
|
|
355
379
|
unrecognizedObjectKeys: "passthrough",
|
|
@@ -400,6 +424,7 @@ class Conversation {
|
|
|
400
424
|
*
|
|
401
425
|
* @throws {@link MavenAGI.NotFoundError}
|
|
402
426
|
* @throws {@link MavenAGI.BadRequestError}
|
|
427
|
+
* @throws {@link MavenAGI.PayloadTooLargeError}
|
|
403
428
|
* @throws {@link MavenAGI.ServerError}
|
|
404
429
|
*
|
|
405
430
|
* @example
|
|
@@ -452,6 +477,13 @@ class Conversation {
|
|
|
452
477
|
allowUnrecognizedEnumValues: true,
|
|
453
478
|
breadcrumbsPrefix: ["response"],
|
|
454
479
|
}), _response.rawResponse);
|
|
480
|
+
case 413:
|
|
481
|
+
throw new MavenAGI.PayloadTooLargeError(serializers.ErrorMessage.parseOrThrow(_response.error.body, {
|
|
482
|
+
unrecognizedObjectKeys: "passthrough",
|
|
483
|
+
allowUnrecognizedUnionMembers: true,
|
|
484
|
+
allowUnrecognizedEnumValues: true,
|
|
485
|
+
breadcrumbsPrefix: ["response"],
|
|
486
|
+
}), _response.rawResponse);
|
|
455
487
|
case 500:
|
|
456
488
|
throw new MavenAGI.ServerError(serializers.ErrorMessage.parseOrThrow(_response.error.body, {
|
|
457
489
|
unrecognizedObjectKeys: "passthrough",
|
|
@@ -493,6 +525,7 @@ class Conversation {
|
|
|
493
525
|
*
|
|
494
526
|
* @throws {@link MavenAGI.NotFoundError}
|
|
495
527
|
* @throws {@link MavenAGI.BadRequestError}
|
|
528
|
+
* @throws {@link MavenAGI.PayloadTooLargeError}
|
|
496
529
|
* @throws {@link MavenAGI.ServerError}
|
|
497
530
|
*
|
|
498
531
|
* @example
|
|
@@ -568,6 +601,13 @@ class Conversation {
|
|
|
568
601
|
allowUnrecognizedEnumValues: true,
|
|
569
602
|
breadcrumbsPrefix: ["response"],
|
|
570
603
|
}), _response.rawResponse);
|
|
604
|
+
case 413:
|
|
605
|
+
throw new MavenAGI.PayloadTooLargeError(serializers.ErrorMessage.parseOrThrow(_response.error.body, {
|
|
606
|
+
unrecognizedObjectKeys: "passthrough",
|
|
607
|
+
allowUnrecognizedUnionMembers: true,
|
|
608
|
+
allowUnrecognizedEnumValues: true,
|
|
609
|
+
breadcrumbsPrefix: ["response"],
|
|
610
|
+
}), _response.rawResponse);
|
|
571
611
|
case 500:
|
|
572
612
|
throw new MavenAGI.ServerError(serializers.ErrorMessage.parseOrThrow(_response.error.body, {
|
|
573
613
|
unrecognizedObjectKeys: "passthrough",
|
|
@@ -617,6 +657,7 @@ class Conversation {
|
|
|
617
657
|
*
|
|
618
658
|
* @throws {@link MavenAGI.NotFoundError}
|
|
619
659
|
* @throws {@link MavenAGI.BadRequestError}
|
|
660
|
+
* @throws {@link MavenAGI.PayloadTooLargeError}
|
|
620
661
|
* @throws {@link MavenAGI.ServerError}
|
|
621
662
|
*
|
|
622
663
|
* @example
|
|
@@ -689,6 +730,13 @@ class Conversation {
|
|
|
689
730
|
allowUnrecognizedEnumValues: true,
|
|
690
731
|
breadcrumbsPrefix: ["response"],
|
|
691
732
|
}), _response.rawResponse);
|
|
733
|
+
case 413:
|
|
734
|
+
throw new MavenAGI.PayloadTooLargeError(serializers.ErrorMessage.parseOrThrow(_response.error.body, {
|
|
735
|
+
unrecognizedObjectKeys: "passthrough",
|
|
736
|
+
allowUnrecognizedUnionMembers: true,
|
|
737
|
+
allowUnrecognizedEnumValues: true,
|
|
738
|
+
breadcrumbsPrefix: ["response"],
|
|
739
|
+
}), _response.rawResponse);
|
|
692
740
|
case 500:
|
|
693
741
|
throw new MavenAGI.ServerError(serializers.ErrorMessage.parseOrThrow(_response.error.body, {
|
|
694
742
|
unrecognizedObjectKeys: "passthrough",
|
|
@@ -797,6 +845,13 @@ class Conversation {
|
|
|
797
845
|
allowUnrecognizedEnumValues: true,
|
|
798
846
|
breadcrumbsPrefix: ["response"],
|
|
799
847
|
}), _response.rawResponse);
|
|
848
|
+
case 413:
|
|
849
|
+
throw new MavenAGI.PayloadTooLargeError(serializers.ErrorMessage.parseOrThrow(_response.error.body, {
|
|
850
|
+
unrecognizedObjectKeys: "passthrough",
|
|
851
|
+
allowUnrecognizedUnionMembers: true,
|
|
852
|
+
allowUnrecognizedEnumValues: true,
|
|
853
|
+
breadcrumbsPrefix: ["response"],
|
|
854
|
+
}), _response.rawResponse);
|
|
800
855
|
case 500:
|
|
801
856
|
throw new MavenAGI.ServerError(serializers.ErrorMessage.parseOrThrow(_response.error.body, {
|
|
802
857
|
unrecognizedObjectKeys: "passthrough",
|
|
@@ -837,6 +892,7 @@ class Conversation {
|
|
|
837
892
|
*
|
|
838
893
|
* @throws {@link MavenAGI.NotFoundError}
|
|
839
894
|
* @throws {@link MavenAGI.BadRequestError}
|
|
895
|
+
* @throws {@link MavenAGI.PayloadTooLargeError}
|
|
840
896
|
* @throws {@link MavenAGI.ServerError}
|
|
841
897
|
*
|
|
842
898
|
* @example
|
|
@@ -889,6 +945,13 @@ class Conversation {
|
|
|
889
945
|
allowUnrecognizedEnumValues: true,
|
|
890
946
|
breadcrumbsPrefix: ["response"],
|
|
891
947
|
}), _response.rawResponse);
|
|
948
|
+
case 413:
|
|
949
|
+
throw new MavenAGI.PayloadTooLargeError(serializers.ErrorMessage.parseOrThrow(_response.error.body, {
|
|
950
|
+
unrecognizedObjectKeys: "passthrough",
|
|
951
|
+
allowUnrecognizedUnionMembers: true,
|
|
952
|
+
allowUnrecognizedEnumValues: true,
|
|
953
|
+
breadcrumbsPrefix: ["response"],
|
|
954
|
+
}), _response.rawResponse);
|
|
892
955
|
case 500:
|
|
893
956
|
throw new MavenAGI.ServerError(serializers.ErrorMessage.parseOrThrow(_response.error.body, {
|
|
894
957
|
unrecognizedObjectKeys: "passthrough",
|
|
@@ -929,6 +992,7 @@ class Conversation {
|
|
|
929
992
|
*
|
|
930
993
|
* @throws {@link MavenAGI.NotFoundError}
|
|
931
994
|
* @throws {@link MavenAGI.BadRequestError}
|
|
995
|
+
* @throws {@link MavenAGI.PayloadTooLargeError}
|
|
932
996
|
* @throws {@link MavenAGI.ServerError}
|
|
933
997
|
*
|
|
934
998
|
* @example
|
|
@@ -999,6 +1063,13 @@ class Conversation {
|
|
|
999
1063
|
allowUnrecognizedEnumValues: true,
|
|
1000
1064
|
breadcrumbsPrefix: ["response"],
|
|
1001
1065
|
}), _response.rawResponse);
|
|
1066
|
+
case 413:
|
|
1067
|
+
throw new MavenAGI.PayloadTooLargeError(serializers.ErrorMessage.parseOrThrow(_response.error.body, {
|
|
1068
|
+
unrecognizedObjectKeys: "passthrough",
|
|
1069
|
+
allowUnrecognizedUnionMembers: true,
|
|
1070
|
+
allowUnrecognizedEnumValues: true,
|
|
1071
|
+
breadcrumbsPrefix: ["response"],
|
|
1072
|
+
}), _response.rawResponse);
|
|
1002
1073
|
case 500:
|
|
1003
1074
|
throw new MavenAGI.ServerError(serializers.ErrorMessage.parseOrThrow(_response.error.body, {
|
|
1004
1075
|
unrecognizedObjectKeys: "passthrough",
|
|
@@ -1044,6 +1115,7 @@ class Conversation {
|
|
|
1044
1115
|
*
|
|
1045
1116
|
* @throws {@link MavenAGI.NotFoundError}
|
|
1046
1117
|
* @throws {@link MavenAGI.BadRequestError}
|
|
1118
|
+
* @throws {@link MavenAGI.PayloadTooLargeError}
|
|
1047
1119
|
* @throws {@link MavenAGI.ServerError}
|
|
1048
1120
|
*
|
|
1049
1121
|
* @example
|
|
@@ -1106,6 +1178,13 @@ class Conversation {
|
|
|
1106
1178
|
allowUnrecognizedEnumValues: true,
|
|
1107
1179
|
breadcrumbsPrefix: ["response"],
|
|
1108
1180
|
}), _response.rawResponse);
|
|
1181
|
+
case 413:
|
|
1182
|
+
throw new MavenAGI.PayloadTooLargeError(serializers.ErrorMessage.parseOrThrow(_response.error.body, {
|
|
1183
|
+
unrecognizedObjectKeys: "passthrough",
|
|
1184
|
+
allowUnrecognizedUnionMembers: true,
|
|
1185
|
+
allowUnrecognizedEnumValues: true,
|
|
1186
|
+
breadcrumbsPrefix: ["response"],
|
|
1187
|
+
}), _response.rawResponse);
|
|
1109
1188
|
case 500:
|
|
1110
1189
|
throw new MavenAGI.ServerError(serializers.ErrorMessage.parseOrThrow(_response.error.body, {
|
|
1111
1190
|
unrecognizedObjectKeys: "passthrough",
|
|
@@ -1149,6 +1228,7 @@ class Conversation {
|
|
|
1149
1228
|
*
|
|
1150
1229
|
* @throws {@link MavenAGI.NotFoundError}
|
|
1151
1230
|
* @throws {@link MavenAGI.BadRequestError}
|
|
1231
|
+
* @throws {@link MavenAGI.PayloadTooLargeError}
|
|
1152
1232
|
* @throws {@link MavenAGI.ServerError}
|
|
1153
1233
|
*
|
|
1154
1234
|
* @example
|
|
@@ -1208,6 +1288,13 @@ class Conversation {
|
|
|
1208
1288
|
allowUnrecognizedEnumValues: true,
|
|
1209
1289
|
breadcrumbsPrefix: ["response"],
|
|
1210
1290
|
}), _response.rawResponse);
|
|
1291
|
+
case 413:
|
|
1292
|
+
throw new MavenAGI.PayloadTooLargeError(serializers.ErrorMessage.parseOrThrow(_response.error.body, {
|
|
1293
|
+
unrecognizedObjectKeys: "passthrough",
|
|
1294
|
+
allowUnrecognizedUnionMembers: true,
|
|
1295
|
+
allowUnrecognizedEnumValues: true,
|
|
1296
|
+
breadcrumbsPrefix: ["response"],
|
|
1297
|
+
}), _response.rawResponse);
|
|
1211
1298
|
case 500:
|
|
1212
1299
|
throw new MavenAGI.ServerError(serializers.ErrorMessage.parseOrThrow(_response.error.body, {
|
|
1213
1300
|
unrecognizedObjectKeys: "passthrough",
|
|
@@ -1255,6 +1342,7 @@ class Conversation {
|
|
|
1255
1342
|
*
|
|
1256
1343
|
* @throws {@link MavenAGI.NotFoundError}
|
|
1257
1344
|
* @throws {@link MavenAGI.BadRequestError}
|
|
1345
|
+
* @throws {@link MavenAGI.PayloadTooLargeError}
|
|
1258
1346
|
* @throws {@link MavenAGI.ServerError}
|
|
1259
1347
|
*
|
|
1260
1348
|
* @example
|
|
@@ -1315,6 +1403,13 @@ class Conversation {
|
|
|
1315
1403
|
allowUnrecognizedEnumValues: true,
|
|
1316
1404
|
breadcrumbsPrefix: ["response"],
|
|
1317
1405
|
}), _response.rawResponse);
|
|
1406
|
+
case 413:
|
|
1407
|
+
throw new MavenAGI.PayloadTooLargeError(serializers.ErrorMessage.parseOrThrow(_response.error.body, {
|
|
1408
|
+
unrecognizedObjectKeys: "passthrough",
|
|
1409
|
+
allowUnrecognizedUnionMembers: true,
|
|
1410
|
+
allowUnrecognizedEnumValues: true,
|
|
1411
|
+
breadcrumbsPrefix: ["response"],
|
|
1412
|
+
}), _response.rawResponse);
|
|
1318
1413
|
case 500:
|
|
1319
1414
|
throw new MavenAGI.ServerError(serializers.ErrorMessage.parseOrThrow(_response.error.body, {
|
|
1320
1415
|
unrecognizedObjectKeys: "passthrough",
|
|
@@ -1355,6 +1450,7 @@ class Conversation {
|
|
|
1355
1450
|
*
|
|
1356
1451
|
* @throws {@link MavenAGI.NotFoundError}
|
|
1357
1452
|
* @throws {@link MavenAGI.BadRequestError}
|
|
1453
|
+
* @throws {@link MavenAGI.PayloadTooLargeError}
|
|
1358
1454
|
* @throws {@link MavenAGI.ServerError}
|
|
1359
1455
|
*
|
|
1360
1456
|
* @example
|
|
@@ -1410,6 +1506,13 @@ class Conversation {
|
|
|
1410
1506
|
allowUnrecognizedEnumValues: true,
|
|
1411
1507
|
breadcrumbsPrefix: ["response"],
|
|
1412
1508
|
}), _response.rawResponse);
|
|
1509
|
+
case 413:
|
|
1510
|
+
throw new MavenAGI.PayloadTooLargeError(serializers.ErrorMessage.parseOrThrow(_response.error.body, {
|
|
1511
|
+
unrecognizedObjectKeys: "passthrough",
|
|
1512
|
+
allowUnrecognizedUnionMembers: true,
|
|
1513
|
+
allowUnrecognizedEnumValues: true,
|
|
1514
|
+
breadcrumbsPrefix: ["response"],
|
|
1515
|
+
}), _response.rawResponse);
|
|
1413
1516
|
case 500:
|
|
1414
1517
|
throw new MavenAGI.ServerError(serializers.ErrorMessage.parseOrThrow(_response.error.body, {
|
|
1415
1518
|
unrecognizedObjectKeys: "passthrough",
|
|
@@ -1451,6 +1554,7 @@ class Conversation {
|
|
|
1451
1554
|
* The CSV format may change over time and should not be relied upon by code consumers.
|
|
1452
1555
|
* @throws {@link MavenAGI.NotFoundError}
|
|
1453
1556
|
* @throws {@link MavenAGI.BadRequestError}
|
|
1557
|
+
* @throws {@link MavenAGI.PayloadTooLargeError}
|
|
1454
1558
|
* @throws {@link MavenAGI.ServerError}
|
|
1455
1559
|
*/
|
|
1456
1560
|
export(request, requestOptions) {
|
|
@@ -1496,6 +1600,13 @@ class Conversation {
|
|
|
1496
1600
|
allowUnrecognizedEnumValues: true,
|
|
1497
1601
|
breadcrumbsPrefix: ["response"],
|
|
1498
1602
|
}), _response.rawResponse);
|
|
1603
|
+
case 413:
|
|
1604
|
+
throw new MavenAGI.PayloadTooLargeError(serializers.ErrorMessage.parseOrThrow(_response.error.body, {
|
|
1605
|
+
unrecognizedObjectKeys: "passthrough",
|
|
1606
|
+
allowUnrecognizedUnionMembers: true,
|
|
1607
|
+
allowUnrecognizedEnumValues: true,
|
|
1608
|
+
breadcrumbsPrefix: ["response"],
|
|
1609
|
+
}), _response.rawResponse);
|
|
1499
1610
|
case 500:
|
|
1500
1611
|
throw new MavenAGI.ServerError(serializers.ErrorMessage.parseOrThrow(_response.error.body, {
|
|
1501
1612
|
unrecognizedObjectKeys: "passthrough",
|
|
@@ -1543,6 +1654,7 @@ class Conversation {
|
|
|
1543
1654
|
*
|
|
1544
1655
|
* @throws {@link MavenAGI.NotFoundError}
|
|
1545
1656
|
* @throws {@link MavenAGI.BadRequestError}
|
|
1657
|
+
* @throws {@link MavenAGI.PayloadTooLargeError}
|
|
1546
1658
|
* @throws {@link MavenAGI.ServerError}
|
|
1547
1659
|
*/
|
|
1548
1660
|
importSimulations(file, request, requestOptions) {
|
|
@@ -1589,6 +1701,13 @@ class Conversation {
|
|
|
1589
1701
|
allowUnrecognizedEnumValues: true,
|
|
1590
1702
|
breadcrumbsPrefix: ["response"],
|
|
1591
1703
|
}), _response.rawResponse);
|
|
1704
|
+
case 413:
|
|
1705
|
+
throw new MavenAGI.PayloadTooLargeError(serializers.ErrorMessage.parseOrThrow(_response.error.body, {
|
|
1706
|
+
unrecognizedObjectKeys: "passthrough",
|
|
1707
|
+
allowUnrecognizedUnionMembers: true,
|
|
1708
|
+
allowUnrecognizedEnumValues: true,
|
|
1709
|
+
breadcrumbsPrefix: ["response"],
|
|
1710
|
+
}), _response.rawResponse);
|
|
1592
1711
|
case 500:
|
|
1593
1712
|
throw new MavenAGI.ServerError(serializers.ErrorMessage.parseOrThrow(_response.error.body, {
|
|
1594
1713
|
unrecognizedObjectKeys: "passthrough",
|
|
@@ -1634,6 +1753,7 @@ class Conversation {
|
|
|
1634
1753
|
*
|
|
1635
1754
|
* @throws {@link MavenAGI.NotFoundError}
|
|
1636
1755
|
* @throws {@link MavenAGI.BadRequestError}
|
|
1756
|
+
* @throws {@link MavenAGI.PayloadTooLargeError}
|
|
1637
1757
|
* @throws {@link MavenAGI.ServerError}
|
|
1638
1758
|
*
|
|
1639
1759
|
* @example
|
|
@@ -1706,6 +1826,13 @@ class Conversation {
|
|
|
1706
1826
|
allowUnrecognizedEnumValues: true,
|
|
1707
1827
|
breadcrumbsPrefix: ["response"],
|
|
1708
1828
|
}), _response.rawResponse);
|
|
1829
|
+
case 413:
|
|
1830
|
+
throw new MavenAGI.PayloadTooLargeError(serializers.ErrorMessage.parseOrThrow(_response.error.body, {
|
|
1831
|
+
unrecognizedObjectKeys: "passthrough",
|
|
1832
|
+
allowUnrecognizedUnionMembers: true,
|
|
1833
|
+
allowUnrecognizedEnumValues: true,
|
|
1834
|
+
breadcrumbsPrefix: ["response"],
|
|
1835
|
+
}), _response.rawResponse);
|
|
1709
1836
|
case 500:
|
|
1710
1837
|
throw new MavenAGI.ServerError(serializers.ErrorMessage.parseOrThrow(_response.error.body, {
|
|
1711
1838
|
unrecognizedObjectKeys: "passthrough",
|
|
@@ -16,6 +16,7 @@ export declare class Customers {
|
|
|
16
16
|
*
|
|
17
17
|
* @throws {@link MavenAGI.NotFoundError}
|
|
18
18
|
* @throws {@link MavenAGI.BadRequestError}
|
|
19
|
+
* @throws {@link MavenAGI.PayloadTooLargeError}
|
|
19
20
|
* @throws {@link MavenAGI.ServerError}
|
|
20
21
|
*
|
|
21
22
|
* @example
|
|
@@ -31,6 +32,7 @@ export declare class Customers {
|
|
|
31
32
|
*
|
|
32
33
|
* @throws {@link MavenAGI.NotFoundError}
|
|
33
34
|
* @throws {@link MavenAGI.BadRequestError}
|
|
35
|
+
* @throws {@link MavenAGI.PayloadTooLargeError}
|
|
34
36
|
* @throws {@link MavenAGI.ServerError}
|
|
35
37
|
*
|
|
36
38
|
* @example
|
|
@@ -52,6 +54,7 @@ export declare class Customers {
|
|
|
52
54
|
*
|
|
53
55
|
* @throws {@link MavenAGI.NotFoundError}
|
|
54
56
|
* @throws {@link MavenAGI.BadRequestError}
|
|
57
|
+
* @throws {@link MavenAGI.PayloadTooLargeError}
|
|
55
58
|
* @throws {@link MavenAGI.ServerError}
|
|
56
59
|
*
|
|
57
60
|
* @example
|
|
@@ -71,6 +74,7 @@ export declare class Customers {
|
|
|
71
74
|
*
|
|
72
75
|
* @throws {@link MavenAGI.NotFoundError}
|
|
73
76
|
* @throws {@link MavenAGI.BadRequestError}
|
|
77
|
+
* @throws {@link MavenAGI.PayloadTooLargeError}
|
|
74
78
|
* @throws {@link MavenAGI.ServerError}
|
|
75
79
|
*
|
|
76
80
|
* @example
|