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
package/Client.js
CHANGED
|
@@ -62,8 +62,8 @@ class MavenAGIClient {
|
|
|
62
62
|
"X-Agent-Id": _options === null || _options === void 0 ? void 0 : _options.agentId,
|
|
63
63
|
"X-Fern-Language": "JavaScript",
|
|
64
64
|
"X-Fern-SDK-Name": "mavenagi",
|
|
65
|
-
"X-Fern-SDK-Version": "1.2.
|
|
66
|
-
"User-Agent": "mavenagi/1.2.
|
|
65
|
+
"X-Fern-SDK-Version": "1.2.35",
|
|
66
|
+
"User-Agent": "mavenagi/1.2.35",
|
|
67
67
|
"X-Fern-Runtime": core.RUNTIME.type,
|
|
68
68
|
"X-Fern-Runtime-Version": core.RUNTIME.version,
|
|
69
69
|
}, _options === null || _options === void 0 ? void 0 : _options.headers) });
|
|
@@ -16,6 +16,7 @@ export declare class Actions {
|
|
|
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 Actions {
|
|
|
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
|
|
@@ -67,6 +69,7 @@ export declare class Actions {
|
|
|
67
69
|
*
|
|
68
70
|
* @throws {@link MavenAGI.NotFoundError}
|
|
69
71
|
* @throws {@link MavenAGI.BadRequestError}
|
|
72
|
+
* @throws {@link MavenAGI.PayloadTooLargeError}
|
|
70
73
|
* @throws {@link MavenAGI.ServerError}
|
|
71
74
|
*
|
|
72
75
|
* @example
|
|
@@ -86,6 +89,7 @@ export declare class Actions {
|
|
|
86
89
|
*
|
|
87
90
|
* @throws {@link MavenAGI.NotFoundError}
|
|
88
91
|
* @throws {@link MavenAGI.BadRequestError}
|
|
92
|
+
* @throws {@link MavenAGI.PayloadTooLargeError}
|
|
89
93
|
* @throws {@link MavenAGI.ServerError}
|
|
90
94
|
*
|
|
91
95
|
* @example
|
|
@@ -111,6 +115,7 @@ export declare class Actions {
|
|
|
111
115
|
*
|
|
112
116
|
* @throws {@link MavenAGI.NotFoundError}
|
|
113
117
|
* @throws {@link MavenAGI.BadRequestError}
|
|
118
|
+
* @throws {@link MavenAGI.PayloadTooLargeError}
|
|
114
119
|
* @throws {@link MavenAGI.ServerError}
|
|
115
120
|
*
|
|
116
121
|
* @example
|
|
@@ -60,6 +60,7 @@ class Actions {
|
|
|
60
60
|
*
|
|
61
61
|
* @throws {@link MavenAGI.NotFoundError}
|
|
62
62
|
* @throws {@link MavenAGI.BadRequestError}
|
|
63
|
+
* @throws {@link MavenAGI.PayloadTooLargeError}
|
|
63
64
|
* @throws {@link MavenAGI.ServerError}
|
|
64
65
|
*
|
|
65
66
|
* @example
|
|
@@ -115,6 +116,13 @@ class Actions {
|
|
|
115
116
|
allowUnrecognizedEnumValues: true,
|
|
116
117
|
breadcrumbsPrefix: ["response"],
|
|
117
118
|
}), _response.rawResponse);
|
|
119
|
+
case 413:
|
|
120
|
+
throw new MavenAGI.PayloadTooLargeError(serializers.ErrorMessage.parseOrThrow(_response.error.body, {
|
|
121
|
+
unrecognizedObjectKeys: "passthrough",
|
|
122
|
+
allowUnrecognizedUnionMembers: true,
|
|
123
|
+
allowUnrecognizedEnumValues: true,
|
|
124
|
+
breadcrumbsPrefix: ["response"],
|
|
125
|
+
}), _response.rawResponse);
|
|
118
126
|
case 500:
|
|
119
127
|
throw new MavenAGI.ServerError(serializers.ErrorMessage.parseOrThrow(_response.error.body, {
|
|
120
128
|
unrecognizedObjectKeys: "passthrough",
|
|
@@ -155,6 +163,7 @@ class Actions {
|
|
|
155
163
|
*
|
|
156
164
|
* @throws {@link MavenAGI.NotFoundError}
|
|
157
165
|
* @throws {@link MavenAGI.BadRequestError}
|
|
166
|
+
* @throws {@link MavenAGI.PayloadTooLargeError}
|
|
158
167
|
* @throws {@link MavenAGI.ServerError}
|
|
159
168
|
*
|
|
160
169
|
* @example
|
|
@@ -230,6 +239,13 @@ class Actions {
|
|
|
230
239
|
allowUnrecognizedEnumValues: true,
|
|
231
240
|
breadcrumbsPrefix: ["response"],
|
|
232
241
|
}), _response.rawResponse);
|
|
242
|
+
case 413:
|
|
243
|
+
throw new MavenAGI.PayloadTooLargeError(serializers.ErrorMessage.parseOrThrow(_response.error.body, {
|
|
244
|
+
unrecognizedObjectKeys: "passthrough",
|
|
245
|
+
allowUnrecognizedUnionMembers: true,
|
|
246
|
+
allowUnrecognizedEnumValues: true,
|
|
247
|
+
breadcrumbsPrefix: ["response"],
|
|
248
|
+
}), _response.rawResponse);
|
|
233
249
|
case 500:
|
|
234
250
|
throw new MavenAGI.ServerError(serializers.ErrorMessage.parseOrThrow(_response.error.body, {
|
|
235
251
|
unrecognizedObjectKeys: "passthrough",
|
|
@@ -271,6 +287,7 @@ class Actions {
|
|
|
271
287
|
*
|
|
272
288
|
* @throws {@link MavenAGI.NotFoundError}
|
|
273
289
|
* @throws {@link MavenAGI.BadRequestError}
|
|
290
|
+
* @throws {@link MavenAGI.PayloadTooLargeError}
|
|
274
291
|
* @throws {@link MavenAGI.ServerError}
|
|
275
292
|
*
|
|
276
293
|
* @example
|
|
@@ -328,6 +345,13 @@ class Actions {
|
|
|
328
345
|
allowUnrecognizedEnumValues: true,
|
|
329
346
|
breadcrumbsPrefix: ["response"],
|
|
330
347
|
}), _response.rawResponse);
|
|
348
|
+
case 413:
|
|
349
|
+
throw new MavenAGI.PayloadTooLargeError(serializers.ErrorMessage.parseOrThrow(_response.error.body, {
|
|
350
|
+
unrecognizedObjectKeys: "passthrough",
|
|
351
|
+
allowUnrecognizedUnionMembers: true,
|
|
352
|
+
allowUnrecognizedEnumValues: true,
|
|
353
|
+
breadcrumbsPrefix: ["response"],
|
|
354
|
+
}), _response.rawResponse);
|
|
331
355
|
case 500:
|
|
332
356
|
throw new MavenAGI.ServerError(serializers.ErrorMessage.parseOrThrow(_response.error.body, {
|
|
333
357
|
unrecognizedObjectKeys: "passthrough",
|
|
@@ -372,6 +396,7 @@ class Actions {
|
|
|
372
396
|
*
|
|
373
397
|
* @throws {@link MavenAGI.NotFoundError}
|
|
374
398
|
* @throws {@link MavenAGI.BadRequestError}
|
|
399
|
+
* @throws {@link MavenAGI.PayloadTooLargeError}
|
|
375
400
|
* @throws {@link MavenAGI.ServerError}
|
|
376
401
|
*
|
|
377
402
|
* @example
|
|
@@ -437,6 +462,13 @@ class Actions {
|
|
|
437
462
|
allowUnrecognizedEnumValues: true,
|
|
438
463
|
breadcrumbsPrefix: ["response"],
|
|
439
464
|
}), _response.rawResponse);
|
|
465
|
+
case 413:
|
|
466
|
+
throw new MavenAGI.PayloadTooLargeError(serializers.ErrorMessage.parseOrThrow(_response.error.body, {
|
|
467
|
+
unrecognizedObjectKeys: "passthrough",
|
|
468
|
+
allowUnrecognizedUnionMembers: true,
|
|
469
|
+
allowUnrecognizedEnumValues: true,
|
|
470
|
+
breadcrumbsPrefix: ["response"],
|
|
471
|
+
}), _response.rawResponse);
|
|
440
472
|
case 500:
|
|
441
473
|
throw new MavenAGI.ServerError(serializers.ErrorMessage.parseOrThrow(_response.error.body, {
|
|
442
474
|
unrecognizedObjectKeys: "passthrough",
|
|
@@ -477,6 +509,7 @@ class Actions {
|
|
|
477
509
|
*
|
|
478
510
|
* @throws {@link MavenAGI.NotFoundError}
|
|
479
511
|
* @throws {@link MavenAGI.BadRequestError}
|
|
512
|
+
* @throws {@link MavenAGI.PayloadTooLargeError}
|
|
480
513
|
* @throws {@link MavenAGI.ServerError}
|
|
481
514
|
*
|
|
482
515
|
* @example
|
|
@@ -521,6 +554,13 @@ class Actions {
|
|
|
521
554
|
allowUnrecognizedEnumValues: true,
|
|
522
555
|
breadcrumbsPrefix: ["response"],
|
|
523
556
|
}), _response.rawResponse);
|
|
557
|
+
case 413:
|
|
558
|
+
throw new MavenAGI.PayloadTooLargeError(serializers.ErrorMessage.parseOrThrow(_response.error.body, {
|
|
559
|
+
unrecognizedObjectKeys: "passthrough",
|
|
560
|
+
allowUnrecognizedUnionMembers: true,
|
|
561
|
+
allowUnrecognizedEnumValues: true,
|
|
562
|
+
breadcrumbsPrefix: ["response"],
|
|
563
|
+
}), _response.rawResponse);
|
|
524
564
|
case 500:
|
|
525
565
|
throw new MavenAGI.ServerError(serializers.ErrorMessage.parseOrThrow(_response.error.body, {
|
|
526
566
|
unrecognizedObjectKeys: "passthrough",
|
|
@@ -22,6 +22,7 @@ export declare class Agents {
|
|
|
22
22
|
*
|
|
23
23
|
* @throws {@link MavenAGI.NotFoundError}
|
|
24
24
|
* @throws {@link MavenAGI.BadRequestError}
|
|
25
|
+
* @throws {@link MavenAGI.PayloadTooLargeError}
|
|
25
26
|
* @throws {@link MavenAGI.ServerError}
|
|
26
27
|
*
|
|
27
28
|
* @example
|
|
@@ -37,6 +38,7 @@ export declare class Agents {
|
|
|
37
38
|
*
|
|
38
39
|
* @throws {@link MavenAGI.NotFoundError}
|
|
39
40
|
* @throws {@link MavenAGI.BadRequestError}
|
|
41
|
+
* @throws {@link MavenAGI.PayloadTooLargeError}
|
|
40
42
|
* @throws {@link MavenAGI.ServerError}
|
|
41
43
|
*
|
|
42
44
|
* @example
|
|
@@ -58,6 +60,7 @@ export declare class Agents {
|
|
|
58
60
|
*
|
|
59
61
|
* @throws {@link MavenAGI.NotFoundError}
|
|
60
62
|
* @throws {@link MavenAGI.BadRequestError}
|
|
63
|
+
* @throws {@link MavenAGI.PayloadTooLargeError}
|
|
61
64
|
* @throws {@link MavenAGI.ServerError}
|
|
62
65
|
*
|
|
63
66
|
* @example
|
|
@@ -77,6 +80,7 @@ export declare class Agents {
|
|
|
77
80
|
*
|
|
78
81
|
* @throws {@link MavenAGI.NotFoundError}
|
|
79
82
|
* @throws {@link MavenAGI.BadRequestError}
|
|
83
|
+
* @throws {@link MavenAGI.PayloadTooLargeError}
|
|
80
84
|
* @throws {@link MavenAGI.ServerError}
|
|
81
85
|
*
|
|
82
86
|
* @example
|
|
@@ -99,6 +103,7 @@ export declare class Agents {
|
|
|
99
103
|
*
|
|
100
104
|
* @throws {@link MavenAGI.NotFoundError}
|
|
101
105
|
* @throws {@link MavenAGI.BadRequestError}
|
|
106
|
+
* @throws {@link MavenAGI.PayloadTooLargeError}
|
|
102
107
|
* @throws {@link MavenAGI.ServerError}
|
|
103
108
|
*
|
|
104
109
|
* @example
|
|
@@ -119,6 +124,7 @@ export declare class Agents {
|
|
|
119
124
|
*
|
|
120
125
|
* @throws {@link MavenAGI.NotFoundError}
|
|
121
126
|
* @throws {@link MavenAGI.BadRequestError}
|
|
127
|
+
* @throws {@link MavenAGI.PayloadTooLargeError}
|
|
122
128
|
* @throws {@link MavenAGI.ServerError}
|
|
123
129
|
*
|
|
124
130
|
* @example
|
|
@@ -66,6 +66,7 @@ class Agents {
|
|
|
66
66
|
*
|
|
67
67
|
* @throws {@link MavenAGI.NotFoundError}
|
|
68
68
|
* @throws {@link MavenAGI.BadRequestError}
|
|
69
|
+
* @throws {@link MavenAGI.PayloadTooLargeError}
|
|
69
70
|
* @throws {@link MavenAGI.ServerError}
|
|
70
71
|
*
|
|
71
72
|
* @example
|
|
@@ -121,6 +122,13 @@ class Agents {
|
|
|
121
122
|
allowUnrecognizedEnumValues: true,
|
|
122
123
|
breadcrumbsPrefix: ["response"],
|
|
123
124
|
}), _response.rawResponse);
|
|
125
|
+
case 413:
|
|
126
|
+
throw new MavenAGI.PayloadTooLargeError(serializers.ErrorMessage.parseOrThrow(_response.error.body, {
|
|
127
|
+
unrecognizedObjectKeys: "passthrough",
|
|
128
|
+
allowUnrecognizedUnionMembers: true,
|
|
129
|
+
allowUnrecognizedEnumValues: true,
|
|
130
|
+
breadcrumbsPrefix: ["response"],
|
|
131
|
+
}), _response.rawResponse);
|
|
124
132
|
case 500:
|
|
125
133
|
throw new MavenAGI.ServerError(serializers.ErrorMessage.parseOrThrow(_response.error.body, {
|
|
126
134
|
unrecognizedObjectKeys: "passthrough",
|
|
@@ -161,6 +169,7 @@ class Agents {
|
|
|
161
169
|
*
|
|
162
170
|
* @throws {@link MavenAGI.NotFoundError}
|
|
163
171
|
* @throws {@link MavenAGI.BadRequestError}
|
|
172
|
+
* @throws {@link MavenAGI.PayloadTooLargeError}
|
|
164
173
|
* @throws {@link MavenAGI.ServerError}
|
|
165
174
|
*
|
|
166
175
|
* @example
|
|
@@ -213,6 +222,13 @@ class Agents {
|
|
|
213
222
|
allowUnrecognizedEnumValues: true,
|
|
214
223
|
breadcrumbsPrefix: ["response"],
|
|
215
224
|
}), _response.rawResponse);
|
|
225
|
+
case 413:
|
|
226
|
+
throw new MavenAGI.PayloadTooLargeError(serializers.ErrorMessage.parseOrThrow(_response.error.body, {
|
|
227
|
+
unrecognizedObjectKeys: "passthrough",
|
|
228
|
+
allowUnrecognizedUnionMembers: true,
|
|
229
|
+
allowUnrecognizedEnumValues: true,
|
|
230
|
+
breadcrumbsPrefix: ["response"],
|
|
231
|
+
}), _response.rawResponse);
|
|
216
232
|
case 500:
|
|
217
233
|
throw new MavenAGI.ServerError(serializers.ErrorMessage.parseOrThrow(_response.error.body, {
|
|
218
234
|
unrecognizedObjectKeys: "passthrough",
|
|
@@ -259,6 +275,7 @@ class Agents {
|
|
|
259
275
|
*
|
|
260
276
|
* @throws {@link MavenAGI.NotFoundError}
|
|
261
277
|
* @throws {@link MavenAGI.BadRequestError}
|
|
278
|
+
* @throws {@link MavenAGI.PayloadTooLargeError}
|
|
262
279
|
* @throws {@link MavenAGI.ServerError}
|
|
263
280
|
*
|
|
264
281
|
* @example
|
|
@@ -317,6 +334,13 @@ class Agents {
|
|
|
317
334
|
allowUnrecognizedEnumValues: true,
|
|
318
335
|
breadcrumbsPrefix: ["response"],
|
|
319
336
|
}), _response.rawResponse);
|
|
337
|
+
case 413:
|
|
338
|
+
throw new MavenAGI.PayloadTooLargeError(serializers.ErrorMessage.parseOrThrow(_response.error.body, {
|
|
339
|
+
unrecognizedObjectKeys: "passthrough",
|
|
340
|
+
allowUnrecognizedUnionMembers: true,
|
|
341
|
+
allowUnrecognizedEnumValues: true,
|
|
342
|
+
breadcrumbsPrefix: ["response"],
|
|
343
|
+
}), _response.rawResponse);
|
|
320
344
|
case 500:
|
|
321
345
|
throw new MavenAGI.ServerError(serializers.ErrorMessage.parseOrThrow(_response.error.body, {
|
|
322
346
|
unrecognizedObjectKeys: "passthrough",
|
|
@@ -358,6 +382,7 @@ class Agents {
|
|
|
358
382
|
*
|
|
359
383
|
* @throws {@link MavenAGI.NotFoundError}
|
|
360
384
|
* @throws {@link MavenAGI.BadRequestError}
|
|
385
|
+
* @throws {@link MavenAGI.PayloadTooLargeError}
|
|
361
386
|
* @throws {@link MavenAGI.ServerError}
|
|
362
387
|
*
|
|
363
388
|
* @example
|
|
@@ -410,6 +435,13 @@ class Agents {
|
|
|
410
435
|
allowUnrecognizedEnumValues: true,
|
|
411
436
|
breadcrumbsPrefix: ["response"],
|
|
412
437
|
}), _response.rawResponse);
|
|
438
|
+
case 413:
|
|
439
|
+
throw new MavenAGI.PayloadTooLargeError(serializers.ErrorMessage.parseOrThrow(_response.error.body, {
|
|
440
|
+
unrecognizedObjectKeys: "passthrough",
|
|
441
|
+
allowUnrecognizedUnionMembers: true,
|
|
442
|
+
allowUnrecognizedEnumValues: true,
|
|
443
|
+
breadcrumbsPrefix: ["response"],
|
|
444
|
+
}), _response.rawResponse);
|
|
413
445
|
case 500:
|
|
414
446
|
throw new MavenAGI.ServerError(serializers.ErrorMessage.parseOrThrow(_response.error.body, {
|
|
415
447
|
unrecognizedObjectKeys: "passthrough",
|
|
@@ -457,6 +489,7 @@ class Agents {
|
|
|
457
489
|
*
|
|
458
490
|
* @throws {@link MavenAGI.NotFoundError}
|
|
459
491
|
* @throws {@link MavenAGI.BadRequestError}
|
|
492
|
+
* @throws {@link MavenAGI.PayloadTooLargeError}
|
|
460
493
|
* @throws {@link MavenAGI.ServerError}
|
|
461
494
|
*
|
|
462
495
|
* @example
|
|
@@ -512,6 +545,13 @@ class Agents {
|
|
|
512
545
|
allowUnrecognizedEnumValues: true,
|
|
513
546
|
breadcrumbsPrefix: ["response"],
|
|
514
547
|
}), _response.rawResponse);
|
|
548
|
+
case 413:
|
|
549
|
+
throw new MavenAGI.PayloadTooLargeError(serializers.ErrorMessage.parseOrThrow(_response.error.body, {
|
|
550
|
+
unrecognizedObjectKeys: "passthrough",
|
|
551
|
+
allowUnrecognizedUnionMembers: true,
|
|
552
|
+
allowUnrecognizedEnumValues: true,
|
|
553
|
+
breadcrumbsPrefix: ["response"],
|
|
554
|
+
}), _response.rawResponse);
|
|
515
555
|
case 500:
|
|
516
556
|
throw new MavenAGI.ServerError(serializers.ErrorMessage.parseOrThrow(_response.error.body, {
|
|
517
557
|
unrecognizedObjectKeys: "passthrough",
|
|
@@ -557,6 +597,7 @@ class Agents {
|
|
|
557
597
|
*
|
|
558
598
|
* @throws {@link MavenAGI.NotFoundError}
|
|
559
599
|
* @throws {@link MavenAGI.BadRequestError}
|
|
600
|
+
* @throws {@link MavenAGI.PayloadTooLargeError}
|
|
560
601
|
* @throws {@link MavenAGI.ServerError}
|
|
561
602
|
*
|
|
562
603
|
* @example
|
|
@@ -601,6 +642,13 @@ class Agents {
|
|
|
601
642
|
allowUnrecognizedEnumValues: true,
|
|
602
643
|
breadcrumbsPrefix: ["response"],
|
|
603
644
|
}), _response.rawResponse);
|
|
645
|
+
case 413:
|
|
646
|
+
throw new MavenAGI.PayloadTooLargeError(serializers.ErrorMessage.parseOrThrow(_response.error.body, {
|
|
647
|
+
unrecognizedObjectKeys: "passthrough",
|
|
648
|
+
allowUnrecognizedUnionMembers: true,
|
|
649
|
+
allowUnrecognizedEnumValues: true,
|
|
650
|
+
breadcrumbsPrefix: ["response"],
|
|
651
|
+
}), _response.rawResponse);
|
|
604
652
|
case 500:
|
|
605
653
|
throw new MavenAGI.ServerError(serializers.ErrorMessage.parseOrThrow(_response.error.body, {
|
|
606
654
|
unrecognizedObjectKeys: "passthrough",
|
|
@@ -18,6 +18,7 @@ export declare class Analytics {
|
|
|
18
18
|
*
|
|
19
19
|
* @throws {@link MavenAGI.NotFoundError}
|
|
20
20
|
* @throws {@link MavenAGI.BadRequestError}
|
|
21
|
+
* @throws {@link MavenAGI.PayloadTooLargeError}
|
|
21
22
|
* @throws {@link MavenAGI.ServerError}
|
|
22
23
|
*
|
|
23
24
|
* @example
|
|
@@ -60,6 +61,7 @@ export declare class Analytics {
|
|
|
60
61
|
*
|
|
61
62
|
* @throws {@link MavenAGI.NotFoundError}
|
|
62
63
|
* @throws {@link MavenAGI.BadRequestError}
|
|
64
|
+
* @throws {@link MavenAGI.PayloadTooLargeError}
|
|
63
65
|
* @throws {@link MavenAGI.ServerError}
|
|
64
66
|
*
|
|
65
67
|
* @example
|
|
@@ -116,6 +118,7 @@ export declare class Analytics {
|
|
|
116
118
|
* This outputs the current table view defined by the request. For most programmatic use cases, prefer `getConversationTable` and format client-side. The CSV format may change and should not be relied upon by code consumers. A maximum of 10,000 rows can be exported at a time.
|
|
117
119
|
* @throws {@link MavenAGI.NotFoundError}
|
|
118
120
|
* @throws {@link MavenAGI.BadRequestError}
|
|
121
|
+
* @throws {@link MavenAGI.PayloadTooLargeError}
|
|
119
122
|
* @throws {@link MavenAGI.ServerError}
|
|
120
123
|
*/
|
|
121
124
|
exportConversationTable(request: MavenAGI.ConversationTableRequest, requestOptions?: Analytics.RequestOptions): core.HttpResponsePromise<core.BinaryResponse>;
|
|
@@ -128,6 +131,7 @@ export declare class Analytics {
|
|
|
128
131
|
*
|
|
129
132
|
* @throws {@link MavenAGI.NotFoundError}
|
|
130
133
|
* @throws {@link MavenAGI.BadRequestError}
|
|
134
|
+
* @throws {@link MavenAGI.PayloadTooLargeError}
|
|
131
135
|
* @throws {@link MavenAGI.ServerError}
|
|
132
136
|
*
|
|
133
137
|
* @example
|
|
@@ -156,6 +160,7 @@ export declare class Analytics {
|
|
|
156
160
|
*
|
|
157
161
|
* @throws {@link MavenAGI.NotFoundError}
|
|
158
162
|
* @throws {@link MavenAGI.BadRequestError}
|
|
163
|
+
* @throws {@link MavenAGI.PayloadTooLargeError}
|
|
159
164
|
* @throws {@link MavenAGI.ServerError}
|
|
160
165
|
*
|
|
161
166
|
* @example
|
|
@@ -181,6 +186,7 @@ export declare class Analytics {
|
|
|
181
186
|
*
|
|
182
187
|
* @throws {@link MavenAGI.NotFoundError}
|
|
183
188
|
* @throws {@link MavenAGI.BadRequestError}
|
|
189
|
+
* @throws {@link MavenAGI.PayloadTooLargeError}
|
|
184
190
|
* @throws {@link MavenAGI.ServerError}
|
|
185
191
|
*
|
|
186
192
|
* @example
|
|
@@ -209,6 +215,7 @@ export declare class Analytics {
|
|
|
209
215
|
*
|
|
210
216
|
* @throws {@link MavenAGI.NotFoundError}
|
|
211
217
|
* @throws {@link MavenAGI.BadRequestError}
|
|
218
|
+
* @throws {@link MavenAGI.PayloadTooLargeError}
|
|
212
219
|
* @throws {@link MavenAGI.ServerError}
|
|
213
220
|
*
|
|
214
221
|
* @example
|
|
@@ -62,6 +62,7 @@ class Analytics {
|
|
|
62
62
|
*
|
|
63
63
|
* @throws {@link MavenAGI.NotFoundError}
|
|
64
64
|
* @throws {@link MavenAGI.BadRequestError}
|
|
65
|
+
* @throws {@link MavenAGI.PayloadTooLargeError}
|
|
65
66
|
* @throws {@link MavenAGI.ServerError}
|
|
66
67
|
*
|
|
67
68
|
* @example
|
|
@@ -144,6 +145,13 @@ class Analytics {
|
|
|
144
145
|
allowUnrecognizedEnumValues: true,
|
|
145
146
|
breadcrumbsPrefix: ["response"],
|
|
146
147
|
}), _response.rawResponse);
|
|
148
|
+
case 413:
|
|
149
|
+
throw new MavenAGI.PayloadTooLargeError(serializers.ErrorMessage.parseOrThrow(_response.error.body, {
|
|
150
|
+
unrecognizedObjectKeys: "passthrough",
|
|
151
|
+
allowUnrecognizedUnionMembers: true,
|
|
152
|
+
allowUnrecognizedEnumValues: true,
|
|
153
|
+
breadcrumbsPrefix: ["response"],
|
|
154
|
+
}), _response.rawResponse);
|
|
147
155
|
case 500:
|
|
148
156
|
throw new MavenAGI.ServerError(serializers.ErrorMessage.parseOrThrow(_response.error.body, {
|
|
149
157
|
unrecognizedObjectKeys: "passthrough",
|
|
@@ -184,6 +192,7 @@ class Analytics {
|
|
|
184
192
|
*
|
|
185
193
|
* @throws {@link MavenAGI.NotFoundError}
|
|
186
194
|
* @throws {@link MavenAGI.BadRequestError}
|
|
195
|
+
* @throws {@link MavenAGI.PayloadTooLargeError}
|
|
187
196
|
* @throws {@link MavenAGI.ServerError}
|
|
188
197
|
*
|
|
189
198
|
* @example
|
|
@@ -282,6 +291,13 @@ class Analytics {
|
|
|
282
291
|
allowUnrecognizedEnumValues: true,
|
|
283
292
|
breadcrumbsPrefix: ["response"],
|
|
284
293
|
}), _response.rawResponse);
|
|
294
|
+
case 413:
|
|
295
|
+
throw new MavenAGI.PayloadTooLargeError(serializers.ErrorMessage.parseOrThrow(_response.error.body, {
|
|
296
|
+
unrecognizedObjectKeys: "passthrough",
|
|
297
|
+
allowUnrecognizedUnionMembers: true,
|
|
298
|
+
allowUnrecognizedEnumValues: true,
|
|
299
|
+
breadcrumbsPrefix: ["response"],
|
|
300
|
+
}), _response.rawResponse);
|
|
285
301
|
case 500:
|
|
286
302
|
throw new MavenAGI.ServerError(serializers.ErrorMessage.parseOrThrow(_response.error.body, {
|
|
287
303
|
unrecognizedObjectKeys: "passthrough",
|
|
@@ -320,6 +336,7 @@ class Analytics {
|
|
|
320
336
|
* This outputs the current table view defined by the request. For most programmatic use cases, prefer `getConversationTable` and format client-side. The CSV format may change and should not be relied upon by code consumers. A maximum of 10,000 rows can be exported at a time.
|
|
321
337
|
* @throws {@link MavenAGI.NotFoundError}
|
|
322
338
|
* @throws {@link MavenAGI.BadRequestError}
|
|
339
|
+
* @throws {@link MavenAGI.PayloadTooLargeError}
|
|
323
340
|
* @throws {@link MavenAGI.ServerError}
|
|
324
341
|
*/
|
|
325
342
|
exportConversationTable(request, requestOptions) {
|
|
@@ -365,6 +382,13 @@ class Analytics {
|
|
|
365
382
|
allowUnrecognizedEnumValues: true,
|
|
366
383
|
breadcrumbsPrefix: ["response"],
|
|
367
384
|
}), _response.rawResponse);
|
|
385
|
+
case 413:
|
|
386
|
+
throw new MavenAGI.PayloadTooLargeError(serializers.ErrorMessage.parseOrThrow(_response.error.body, {
|
|
387
|
+
unrecognizedObjectKeys: "passthrough",
|
|
388
|
+
allowUnrecognizedUnionMembers: true,
|
|
389
|
+
allowUnrecognizedEnumValues: true,
|
|
390
|
+
breadcrumbsPrefix: ["response"],
|
|
391
|
+
}), _response.rawResponse);
|
|
368
392
|
case 500:
|
|
369
393
|
throw new MavenAGI.ServerError(serializers.ErrorMessage.parseOrThrow(_response.error.body, {
|
|
370
394
|
unrecognizedObjectKeys: "passthrough",
|
|
@@ -405,6 +429,7 @@ class Analytics {
|
|
|
405
429
|
*
|
|
406
430
|
* @throws {@link MavenAGI.NotFoundError}
|
|
407
431
|
* @throws {@link MavenAGI.BadRequestError}
|
|
432
|
+
* @throws {@link MavenAGI.PayloadTooLargeError}
|
|
408
433
|
* @throws {@link MavenAGI.ServerError}
|
|
409
434
|
*
|
|
410
435
|
* @example
|
|
@@ -473,6 +498,13 @@ class Analytics {
|
|
|
473
498
|
allowUnrecognizedEnumValues: true,
|
|
474
499
|
breadcrumbsPrefix: ["response"],
|
|
475
500
|
}), _response.rawResponse);
|
|
501
|
+
case 413:
|
|
502
|
+
throw new MavenAGI.PayloadTooLargeError(serializers.ErrorMessage.parseOrThrow(_response.error.body, {
|
|
503
|
+
unrecognizedObjectKeys: "passthrough",
|
|
504
|
+
allowUnrecognizedUnionMembers: true,
|
|
505
|
+
allowUnrecognizedEnumValues: true,
|
|
506
|
+
breadcrumbsPrefix: ["response"],
|
|
507
|
+
}), _response.rawResponse);
|
|
476
508
|
case 500:
|
|
477
509
|
throw new MavenAGI.ServerError(serializers.ErrorMessage.parseOrThrow(_response.error.body, {
|
|
478
510
|
unrecognizedObjectKeys: "passthrough",
|
|
@@ -513,6 +545,7 @@ class Analytics {
|
|
|
513
545
|
*
|
|
514
546
|
* @throws {@link MavenAGI.NotFoundError}
|
|
515
547
|
* @throws {@link MavenAGI.BadRequestError}
|
|
548
|
+
* @throws {@link MavenAGI.PayloadTooLargeError}
|
|
516
549
|
* @throws {@link MavenAGI.ServerError}
|
|
517
550
|
*
|
|
518
551
|
* @example
|
|
@@ -578,6 +611,13 @@ class Analytics {
|
|
|
578
611
|
allowUnrecognizedEnumValues: true,
|
|
579
612
|
breadcrumbsPrefix: ["response"],
|
|
580
613
|
}), _response.rawResponse);
|
|
614
|
+
case 413:
|
|
615
|
+
throw new MavenAGI.PayloadTooLargeError(serializers.ErrorMessage.parseOrThrow(_response.error.body, {
|
|
616
|
+
unrecognizedObjectKeys: "passthrough",
|
|
617
|
+
allowUnrecognizedUnionMembers: true,
|
|
618
|
+
allowUnrecognizedEnumValues: true,
|
|
619
|
+
breadcrumbsPrefix: ["response"],
|
|
620
|
+
}), _response.rawResponse);
|
|
581
621
|
case 500:
|
|
582
622
|
throw new MavenAGI.ServerError(serializers.ErrorMessage.parseOrThrow(_response.error.body, {
|
|
583
623
|
unrecognizedObjectKeys: "passthrough",
|
|
@@ -618,6 +658,7 @@ class Analytics {
|
|
|
618
658
|
*
|
|
619
659
|
* @throws {@link MavenAGI.NotFoundError}
|
|
620
660
|
* @throws {@link MavenAGI.BadRequestError}
|
|
661
|
+
* @throws {@link MavenAGI.PayloadTooLargeError}
|
|
621
662
|
* @throws {@link MavenAGI.ServerError}
|
|
622
663
|
*
|
|
623
664
|
* @example
|
|
@@ -686,6 +727,13 @@ class Analytics {
|
|
|
686
727
|
allowUnrecognizedEnumValues: true,
|
|
687
728
|
breadcrumbsPrefix: ["response"],
|
|
688
729
|
}), _response.rawResponse);
|
|
730
|
+
case 413:
|
|
731
|
+
throw new MavenAGI.PayloadTooLargeError(serializers.ErrorMessage.parseOrThrow(_response.error.body, {
|
|
732
|
+
unrecognizedObjectKeys: "passthrough",
|
|
733
|
+
allowUnrecognizedUnionMembers: true,
|
|
734
|
+
allowUnrecognizedEnumValues: true,
|
|
735
|
+
breadcrumbsPrefix: ["response"],
|
|
736
|
+
}), _response.rawResponse);
|
|
689
737
|
case 500:
|
|
690
738
|
throw new MavenAGI.ServerError(serializers.ErrorMessage.parseOrThrow(_response.error.body, {
|
|
691
739
|
unrecognizedObjectKeys: "passthrough",
|
|
@@ -726,6 +774,7 @@ class Analytics {
|
|
|
726
774
|
*
|
|
727
775
|
* @throws {@link MavenAGI.NotFoundError}
|
|
728
776
|
* @throws {@link MavenAGI.BadRequestError}
|
|
777
|
+
* @throws {@link MavenAGI.PayloadTooLargeError}
|
|
729
778
|
* @throws {@link MavenAGI.ServerError}
|
|
730
779
|
*
|
|
731
780
|
* @example
|
|
@@ -824,6 +873,13 @@ class Analytics {
|
|
|
824
873
|
allowUnrecognizedEnumValues: true,
|
|
825
874
|
breadcrumbsPrefix: ["response"],
|
|
826
875
|
}), _response.rawResponse);
|
|
876
|
+
case 413:
|
|
877
|
+
throw new MavenAGI.PayloadTooLargeError(serializers.ErrorMessage.parseOrThrow(_response.error.body, {
|
|
878
|
+
unrecognizedObjectKeys: "passthrough",
|
|
879
|
+
allowUnrecognizedUnionMembers: true,
|
|
880
|
+
allowUnrecognizedEnumValues: true,
|
|
881
|
+
breadcrumbsPrefix: ["response"],
|
|
882
|
+
}), _response.rawResponse);
|
|
827
883
|
case 500:
|
|
828
884
|
throw new MavenAGI.ServerError(serializers.ErrorMessage.parseOrThrow(_response.error.body, {
|
|
829
885
|
unrecognizedObjectKeys: "passthrough",
|
|
@@ -22,6 +22,7 @@ export declare class AppSettings {
|
|
|
22
22
|
*
|
|
23
23
|
* @throws {@link MavenAGI.NotFoundError}
|
|
24
24
|
* @throws {@link MavenAGI.BadRequestError}
|
|
25
|
+
* @throws {@link MavenAGI.PayloadTooLargeError}
|
|
25
26
|
* @throws {@link MavenAGI.ServerError}
|
|
26
27
|
*
|
|
27
28
|
* @example
|
|
@@ -38,6 +39,7 @@ export declare class AppSettings {
|
|
|
38
39
|
*
|
|
39
40
|
* @throws {@link MavenAGI.NotFoundError}
|
|
40
41
|
* @throws {@link MavenAGI.BadRequestError}
|
|
42
|
+
* @throws {@link MavenAGI.PayloadTooLargeError}
|
|
41
43
|
* @throws {@link MavenAGI.ServerError}
|
|
42
44
|
*
|
|
43
45
|
* @example
|
|
@@ -59,6 +61,7 @@ export declare class AppSettings {
|
|
|
59
61
|
*
|
|
60
62
|
* @throws {@link MavenAGI.NotFoundError}
|
|
61
63
|
* @throws {@link MavenAGI.BadRequestError}
|
|
64
|
+
* @throws {@link MavenAGI.PayloadTooLargeError}
|
|
62
65
|
* @throws {@link MavenAGI.ServerError}
|
|
63
66
|
*
|
|
64
67
|
* @example
|
|
@@ -66,6 +66,7 @@ class AppSettings {
|
|
|
66
66
|
*
|
|
67
67
|
* @throws {@link MavenAGI.NotFoundError}
|
|
68
68
|
* @throws {@link MavenAGI.BadRequestError}
|
|
69
|
+
* @throws {@link MavenAGI.PayloadTooLargeError}
|
|
69
70
|
* @throws {@link MavenAGI.ServerError}
|
|
70
71
|
*
|
|
71
72
|
* @example
|
|
@@ -123,6 +124,13 @@ class AppSettings {
|
|
|
123
124
|
allowUnrecognizedEnumValues: true,
|
|
124
125
|
breadcrumbsPrefix: ["response"],
|
|
125
126
|
}), _response.rawResponse);
|
|
127
|
+
case 413:
|
|
128
|
+
throw new MavenAGI.PayloadTooLargeError(serializers.ErrorMessage.parseOrThrow(_response.error.body, {
|
|
129
|
+
unrecognizedObjectKeys: "passthrough",
|
|
130
|
+
allowUnrecognizedUnionMembers: true,
|
|
131
|
+
allowUnrecognizedEnumValues: true,
|
|
132
|
+
breadcrumbsPrefix: ["response"],
|
|
133
|
+
}), _response.rawResponse);
|
|
126
134
|
case 500:
|
|
127
135
|
throw new MavenAGI.ServerError(serializers.ErrorMessage.parseOrThrow(_response.error.body, {
|
|
128
136
|
unrecognizedObjectKeys: "passthrough",
|
|
@@ -162,6 +170,7 @@ class AppSettings {
|
|
|
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
|
|
@@ -214,6 +223,13 @@ class AppSettings {
|
|
|
214
223
|
allowUnrecognizedEnumValues: true,
|
|
215
224
|
breadcrumbsPrefix: ["response"],
|
|
216
225
|
}), _response.rawResponse);
|
|
226
|
+
case 413:
|
|
227
|
+
throw new MavenAGI.PayloadTooLargeError(serializers.ErrorMessage.parseOrThrow(_response.error.body, {
|
|
228
|
+
unrecognizedObjectKeys: "passthrough",
|
|
229
|
+
allowUnrecognizedUnionMembers: true,
|
|
230
|
+
allowUnrecognizedEnumValues: true,
|
|
231
|
+
breadcrumbsPrefix: ["response"],
|
|
232
|
+
}), _response.rawResponse);
|
|
217
233
|
case 500:
|
|
218
234
|
throw new MavenAGI.ServerError(serializers.ErrorMessage.parseOrThrow(_response.error.body, {
|
|
219
235
|
unrecognizedObjectKeys: "passthrough",
|
|
@@ -260,6 +276,7 @@ class AppSettings {
|
|
|
260
276
|
*
|
|
261
277
|
* @throws {@link MavenAGI.NotFoundError}
|
|
262
278
|
* @throws {@link MavenAGI.BadRequestError}
|
|
279
|
+
* @throws {@link MavenAGI.PayloadTooLargeError}
|
|
263
280
|
* @throws {@link MavenAGI.ServerError}
|
|
264
281
|
*
|
|
265
282
|
* @example
|
|
@@ -319,6 +336,13 @@ class AppSettings {
|
|
|
319
336
|
allowUnrecognizedEnumValues: true,
|
|
320
337
|
breadcrumbsPrefix: ["response"],
|
|
321
338
|
}), _response.rawResponse);
|
|
339
|
+
case 413:
|
|
340
|
+
throw new MavenAGI.PayloadTooLargeError(serializers.ErrorMessage.parseOrThrow(_response.error.body, {
|
|
341
|
+
unrecognizedObjectKeys: "passthrough",
|
|
342
|
+
allowUnrecognizedUnionMembers: true,
|
|
343
|
+
allowUnrecognizedEnumValues: true,
|
|
344
|
+
breadcrumbsPrefix: ["response"],
|
|
345
|
+
}), _response.rawResponse);
|
|
322
346
|
case 500:
|
|
323
347
|
throw new MavenAGI.ServerError(serializers.ErrorMessage.parseOrThrow(_response.error.body, {
|
|
324
348
|
unrecognizedObjectKeys: "passthrough",
|
|
@@ -19,6 +19,7 @@ export declare class Assets {
|
|
|
19
19
|
*
|
|
20
20
|
* @throws {@link MavenAGI.NotFoundError}
|
|
21
21
|
* @throws {@link MavenAGI.BadRequestError}
|
|
22
|
+
* @throws {@link MavenAGI.PayloadTooLargeError}
|
|
22
23
|
* @throws {@link MavenAGI.ServerError}
|
|
23
24
|
*
|
|
24
25
|
* @example
|
|
@@ -38,6 +39,7 @@ export declare class Assets {
|
|
|
38
39
|
*
|
|
39
40
|
* @throws {@link MavenAGI.NotFoundError}
|
|
40
41
|
* @throws {@link MavenAGI.BadRequestError}
|
|
42
|
+
* @throws {@link MavenAGI.PayloadTooLargeError}
|
|
41
43
|
* @throws {@link MavenAGI.ServerError}
|
|
42
44
|
*
|
|
43
45
|
* @example
|