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
|
@@ -16,6 +16,7 @@ export declare class Triggers {
|
|
|
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 Triggers {
|
|
|
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 Triggers {
|
|
|
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
|
|
@@ -67,6 +70,7 @@ export declare class Triggers {
|
|
|
67
70
|
*
|
|
68
71
|
* @throws {@link MavenAGI.NotFoundError}
|
|
69
72
|
* @throws {@link MavenAGI.BadRequestError}
|
|
73
|
+
* @throws {@link MavenAGI.PayloadTooLargeError}
|
|
70
74
|
* @throws {@link MavenAGI.ServerError}
|
|
71
75
|
*
|
|
72
76
|
* @example
|
|
@@ -83,6 +87,7 @@ export declare class Triggers {
|
|
|
83
87
|
*
|
|
84
88
|
* @throws {@link MavenAGI.NotFoundError}
|
|
85
89
|
* @throws {@link MavenAGI.BadRequestError}
|
|
90
|
+
* @throws {@link MavenAGI.PayloadTooLargeError}
|
|
86
91
|
* @throws {@link MavenAGI.ServerError}
|
|
87
92
|
*
|
|
88
93
|
* @example
|
|
@@ -60,6 +60,7 @@ class Triggers {
|
|
|
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 Triggers {
|
|
|
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 Triggers {
|
|
|
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
|
|
@@ -216,6 +225,13 @@ class Triggers {
|
|
|
216
225
|
allowUnrecognizedEnumValues: true,
|
|
217
226
|
breadcrumbsPrefix: ["response"],
|
|
218
227
|
}), _response.rawResponse);
|
|
228
|
+
case 413:
|
|
229
|
+
throw new MavenAGI.PayloadTooLargeError(serializers.ErrorMessage.parseOrThrow(_response.error.body, {
|
|
230
|
+
unrecognizedObjectKeys: "passthrough",
|
|
231
|
+
allowUnrecognizedUnionMembers: true,
|
|
232
|
+
allowUnrecognizedEnumValues: true,
|
|
233
|
+
breadcrumbsPrefix: ["response"],
|
|
234
|
+
}), _response.rawResponse);
|
|
219
235
|
case 500:
|
|
220
236
|
throw new MavenAGI.ServerError(serializers.ErrorMessage.parseOrThrow(_response.error.body, {
|
|
221
237
|
unrecognizedObjectKeys: "passthrough",
|
|
@@ -256,6 +272,7 @@ class Triggers {
|
|
|
256
272
|
*
|
|
257
273
|
* @throws {@link MavenAGI.NotFoundError}
|
|
258
274
|
* @throws {@link MavenAGI.BadRequestError}
|
|
275
|
+
* @throws {@link MavenAGI.PayloadTooLargeError}
|
|
259
276
|
* @throws {@link MavenAGI.ServerError}
|
|
260
277
|
*
|
|
261
278
|
* @example
|
|
@@ -308,6 +325,13 @@ class Triggers {
|
|
|
308
325
|
allowUnrecognizedEnumValues: true,
|
|
309
326
|
breadcrumbsPrefix: ["response"],
|
|
310
327
|
}), _response.rawResponse);
|
|
328
|
+
case 413:
|
|
329
|
+
throw new MavenAGI.PayloadTooLargeError(serializers.ErrorMessage.parseOrThrow(_response.error.body, {
|
|
330
|
+
unrecognizedObjectKeys: "passthrough",
|
|
331
|
+
allowUnrecognizedUnionMembers: true,
|
|
332
|
+
allowUnrecognizedEnumValues: true,
|
|
333
|
+
breadcrumbsPrefix: ["response"],
|
|
334
|
+
}), _response.rawResponse);
|
|
311
335
|
case 500:
|
|
312
336
|
throw new MavenAGI.ServerError(serializers.ErrorMessage.parseOrThrow(_response.error.body, {
|
|
313
337
|
unrecognizedObjectKeys: "passthrough",
|
|
@@ -348,6 +372,7 @@ class Triggers {
|
|
|
348
372
|
*
|
|
349
373
|
* @throws {@link MavenAGI.NotFoundError}
|
|
350
374
|
* @throws {@link MavenAGI.BadRequestError}
|
|
375
|
+
* @throws {@link MavenAGI.PayloadTooLargeError}
|
|
351
376
|
* @throws {@link MavenAGI.ServerError}
|
|
352
377
|
*
|
|
353
378
|
* @example
|
|
@@ -392,6 +417,13 @@ class Triggers {
|
|
|
392
417
|
allowUnrecognizedEnumValues: true,
|
|
393
418
|
breadcrumbsPrefix: ["response"],
|
|
394
419
|
}), _response.rawResponse);
|
|
420
|
+
case 413:
|
|
421
|
+
throw new MavenAGI.PayloadTooLargeError(serializers.ErrorMessage.parseOrThrow(_response.error.body, {
|
|
422
|
+
unrecognizedObjectKeys: "passthrough",
|
|
423
|
+
allowUnrecognizedUnionMembers: true,
|
|
424
|
+
allowUnrecognizedEnumValues: true,
|
|
425
|
+
breadcrumbsPrefix: ["response"],
|
|
426
|
+
}), _response.rawResponse);
|
|
395
427
|
case 500:
|
|
396
428
|
throw new MavenAGI.ServerError(serializers.ErrorMessage.parseOrThrow(_response.error.body, {
|
|
397
429
|
unrecognizedObjectKeys: "passthrough",
|
|
@@ -433,6 +465,7 @@ class Triggers {
|
|
|
433
465
|
*
|
|
434
466
|
* @throws {@link MavenAGI.NotFoundError}
|
|
435
467
|
* @throws {@link MavenAGI.BadRequestError}
|
|
468
|
+
* @throws {@link MavenAGI.PayloadTooLargeError}
|
|
436
469
|
* @throws {@link MavenAGI.ServerError}
|
|
437
470
|
*
|
|
438
471
|
* @example
|
|
@@ -495,6 +528,13 @@ class Triggers {
|
|
|
495
528
|
allowUnrecognizedEnumValues: true,
|
|
496
529
|
breadcrumbsPrefix: ["response"],
|
|
497
530
|
}), _response.rawResponse);
|
|
531
|
+
case 413:
|
|
532
|
+
throw new MavenAGI.PayloadTooLargeError(serializers.ErrorMessage.parseOrThrow(_response.error.body, {
|
|
533
|
+
unrecognizedObjectKeys: "passthrough",
|
|
534
|
+
allowUnrecognizedUnionMembers: true,
|
|
535
|
+
allowUnrecognizedEnumValues: true,
|
|
536
|
+
breadcrumbsPrefix: ["response"],
|
|
537
|
+
}), _response.rawResponse);
|
|
498
538
|
case 500:
|
|
499
539
|
throw new MavenAGI.ServerError(serializers.ErrorMessage.parseOrThrow(_response.error.body, {
|
|
500
540
|
unrecognizedObjectKeys: "passthrough",
|
|
@@ -20,6 +20,7 @@ export declare class Users {
|
|
|
20
20
|
*
|
|
21
21
|
* @throws {@link MavenAGI.NotFoundError}
|
|
22
22
|
* @throws {@link MavenAGI.BadRequestError}
|
|
23
|
+
* @throws {@link MavenAGI.PayloadTooLargeError}
|
|
23
24
|
* @throws {@link MavenAGI.ServerError}
|
|
24
25
|
*
|
|
25
26
|
* @example
|
|
@@ -37,6 +38,7 @@ export declare class Users {
|
|
|
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
|
|
@@ -52,6 +54,7 @@ export declare class Users {
|
|
|
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
|
|
@@ -82,6 +85,7 @@ export declare class Users {
|
|
|
82
85
|
*
|
|
83
86
|
* @throws {@link MavenAGI.NotFoundError}
|
|
84
87
|
* @throws {@link MavenAGI.BadRequestError}
|
|
88
|
+
* @throws {@link MavenAGI.PayloadTooLargeError}
|
|
85
89
|
* @throws {@link MavenAGI.ServerError}
|
|
86
90
|
*
|
|
87
91
|
* @example
|
|
@@ -103,6 +107,7 @@ export declare class Users {
|
|
|
103
107
|
*
|
|
104
108
|
* @throws {@link MavenAGI.NotFoundError}
|
|
105
109
|
* @throws {@link MavenAGI.BadRequestError}
|
|
110
|
+
* @throws {@link MavenAGI.PayloadTooLargeError}
|
|
106
111
|
* @throws {@link MavenAGI.ServerError}
|
|
107
112
|
*
|
|
108
113
|
* @example
|
|
@@ -64,6 +64,7 @@ class Users {
|
|
|
64
64
|
*
|
|
65
65
|
* @throws {@link MavenAGI.NotFoundError}
|
|
66
66
|
* @throws {@link MavenAGI.BadRequestError}
|
|
67
|
+
* @throws {@link MavenAGI.PayloadTooLargeError}
|
|
67
68
|
* @throws {@link MavenAGI.ServerError}
|
|
68
69
|
*
|
|
69
70
|
* @example
|
|
@@ -119,6 +120,13 @@ class Users {
|
|
|
119
120
|
allowUnrecognizedEnumValues: true,
|
|
120
121
|
breadcrumbsPrefix: ["response"],
|
|
121
122
|
}), _response.rawResponse);
|
|
123
|
+
case 413:
|
|
124
|
+
throw new MavenAGI.PayloadTooLargeError(serializers.ErrorMessage.parseOrThrow(_response.error.body, {
|
|
125
|
+
unrecognizedObjectKeys: "passthrough",
|
|
126
|
+
allowUnrecognizedUnionMembers: true,
|
|
127
|
+
allowUnrecognizedEnumValues: true,
|
|
128
|
+
breadcrumbsPrefix: ["response"],
|
|
129
|
+
}), _response.rawResponse);
|
|
122
130
|
case 500:
|
|
123
131
|
throw new MavenAGI.ServerError(serializers.ErrorMessage.parseOrThrow(_response.error.body, {
|
|
124
132
|
unrecognizedObjectKeys: "passthrough",
|
|
@@ -161,6 +169,7 @@ class Users {
|
|
|
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 Users {
|
|
|
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",
|
|
@@ -253,6 +269,7 @@ class Users {
|
|
|
253
269
|
*
|
|
254
270
|
* @throws {@link MavenAGI.NotFoundError}
|
|
255
271
|
* @throws {@link MavenAGI.BadRequestError}
|
|
272
|
+
* @throws {@link MavenAGI.PayloadTooLargeError}
|
|
256
273
|
* @throws {@link MavenAGI.ServerError}
|
|
257
274
|
*
|
|
258
275
|
* @example
|
|
@@ -322,6 +339,13 @@ class Users {
|
|
|
322
339
|
allowUnrecognizedEnumValues: true,
|
|
323
340
|
breadcrumbsPrefix: ["response"],
|
|
324
341
|
}), _response.rawResponse);
|
|
342
|
+
case 413:
|
|
343
|
+
throw new MavenAGI.PayloadTooLargeError(serializers.ErrorMessage.parseOrThrow(_response.error.body, {
|
|
344
|
+
unrecognizedObjectKeys: "passthrough",
|
|
345
|
+
allowUnrecognizedUnionMembers: true,
|
|
346
|
+
allowUnrecognizedEnumValues: true,
|
|
347
|
+
breadcrumbsPrefix: ["response"],
|
|
348
|
+
}), _response.rawResponse);
|
|
325
349
|
case 500:
|
|
326
350
|
throw new MavenAGI.ServerError(serializers.ErrorMessage.parseOrThrow(_response.error.body, {
|
|
327
351
|
unrecognizedObjectKeys: "passthrough",
|
|
@@ -363,6 +387,7 @@ class Users {
|
|
|
363
387
|
*
|
|
364
388
|
* @throws {@link MavenAGI.NotFoundError}
|
|
365
389
|
* @throws {@link MavenAGI.BadRequestError}
|
|
390
|
+
* @throws {@link MavenAGI.PayloadTooLargeError}
|
|
366
391
|
* @throws {@link MavenAGI.ServerError}
|
|
367
392
|
*
|
|
368
393
|
* @example
|
|
@@ -420,6 +445,13 @@ class Users {
|
|
|
420
445
|
allowUnrecognizedEnumValues: true,
|
|
421
446
|
breadcrumbsPrefix: ["response"],
|
|
422
447
|
}), _response.rawResponse);
|
|
448
|
+
case 413:
|
|
449
|
+
throw new MavenAGI.PayloadTooLargeError(serializers.ErrorMessage.parseOrThrow(_response.error.body, {
|
|
450
|
+
unrecognizedObjectKeys: "passthrough",
|
|
451
|
+
allowUnrecognizedUnionMembers: true,
|
|
452
|
+
allowUnrecognizedEnumValues: true,
|
|
453
|
+
breadcrumbsPrefix: ["response"],
|
|
454
|
+
}), _response.rawResponse);
|
|
423
455
|
case 500:
|
|
424
456
|
throw new MavenAGI.ServerError(serializers.ErrorMessage.parseOrThrow(_response.error.body, {
|
|
425
457
|
unrecognizedObjectKeys: "passthrough",
|
|
@@ -466,6 +498,7 @@ class Users {
|
|
|
466
498
|
*
|
|
467
499
|
* @throws {@link MavenAGI.NotFoundError}
|
|
468
500
|
* @throws {@link MavenAGI.BadRequestError}
|
|
501
|
+
* @throws {@link MavenAGI.PayloadTooLargeError}
|
|
469
502
|
* @throws {@link MavenAGI.ServerError}
|
|
470
503
|
*
|
|
471
504
|
* @example
|
|
@@ -515,6 +548,13 @@ class Users {
|
|
|
515
548
|
allowUnrecognizedEnumValues: true,
|
|
516
549
|
breadcrumbsPrefix: ["response"],
|
|
517
550
|
}), _response.rawResponse);
|
|
551
|
+
case 413:
|
|
552
|
+
throw new MavenAGI.PayloadTooLargeError(serializers.ErrorMessage.parseOrThrow(_response.error.body, {
|
|
553
|
+
unrecognizedObjectKeys: "passthrough",
|
|
554
|
+
allowUnrecognizedUnionMembers: true,
|
|
555
|
+
allowUnrecognizedEnumValues: true,
|
|
556
|
+
breadcrumbsPrefix: ["response"],
|
|
557
|
+
}), _response.rawResponse);
|
|
518
558
|
case 500:
|
|
519
559
|
throw new MavenAGI.ServerError(serializers.ErrorMessage.parseOrThrow(_response.error.body, {
|
|
520
560
|
unrecognizedObjectKeys: "passthrough",
|
|
@@ -68,6 +68,7 @@ class Voice {
|
|
|
68
68
|
*
|
|
69
69
|
* @throws {@link MavenAGI.NotFoundError}
|
|
70
70
|
* @throws {@link MavenAGI.BadRequestError}
|
|
71
|
+
* @throws {@link MavenAGI.PayloadTooLargeError}
|
|
71
72
|
* @throws {@link MavenAGI.ServerError}
|
|
72
73
|
*
|
|
73
74
|
* @example
|
|
@@ -126,6 +127,13 @@ class Voice {
|
|
|
126
127
|
allowUnrecognizedEnumValues: true,
|
|
127
128
|
breadcrumbsPrefix: ["response"],
|
|
128
129
|
}), _response.rawResponse);
|
|
130
|
+
case 413:
|
|
131
|
+
throw new MavenAGI.PayloadTooLargeError(serializers.ErrorMessage.parseOrThrow(_response.error.body, {
|
|
132
|
+
unrecognizedObjectKeys: "passthrough",
|
|
133
|
+
allowUnrecognizedUnionMembers: true,
|
|
134
|
+
allowUnrecognizedEnumValues: true,
|
|
135
|
+
breadcrumbsPrefix: ["response"],
|
|
136
|
+
}), _response.rawResponse);
|
|
129
137
|
case 500:
|
|
130
138
|
throw new MavenAGI.ServerError(serializers.ErrorMessage.parseOrThrow(_response.error.body, {
|
|
131
139
|
unrecognizedObjectKeys: "passthrough",
|
package/dist/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",
|