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.
Files changed (85) hide show
  1. package/Client.js +2 -2
  2. package/api/resources/actions/client/Client.d.ts +5 -0
  3. package/api/resources/actions/client/Client.js +40 -0
  4. package/api/resources/agents/client/Client.d.ts +6 -0
  5. package/api/resources/agents/client/Client.js +48 -0
  6. package/api/resources/analytics/client/Client.d.ts +7 -0
  7. package/api/resources/analytics/client/Client.js +56 -0
  8. package/api/resources/appSettings/client/Client.d.ts +3 -0
  9. package/api/resources/appSettings/client/Client.js +24 -0
  10. package/api/resources/assets/client/Client.d.ts +2 -0
  11. package/api/resources/assets/client/Client.js +16 -0
  12. package/api/resources/assets/types/CommitAssetUploadRequest.d.ts +1 -1
  13. package/api/resources/commons/errors/PayloadTooLargeError.d.ts +6 -0
  14. package/api/resources/commons/errors/PayloadTooLargeError.js +50 -0
  15. package/api/resources/commons/errors/index.d.ts +1 -0
  16. package/api/resources/commons/errors/index.js +1 -0
  17. package/api/resources/conversation/client/Client.d.ts +15 -0
  18. package/api/resources/conversation/client/Client.js +127 -0
  19. package/api/resources/customers/client/Client.d.ts +4 -0
  20. package/api/resources/customers/client/Client.js +32 -0
  21. package/api/resources/events/client/Client.d.ts +4 -0
  22. package/api/resources/events/client/Client.js +32 -0
  23. package/api/resources/inbox/client/Client.d.ts +8 -0
  24. package/api/resources/inbox/client/Client.js +64 -0
  25. package/api/resources/integrations/client/Client.d.ts +1 -0
  26. package/api/resources/integrations/client/Client.js +8 -0
  27. package/api/resources/knowledge/client/Client.d.ts +14 -0
  28. package/api/resources/knowledge/client/Client.js +112 -0
  29. package/api/resources/organizations/client/Client.d.ts +6 -0
  30. package/api/resources/organizations/client/Client.js +48 -0
  31. package/api/resources/segments/client/Client.d.ts +5 -0
  32. package/api/resources/segments/client/Client.js +40 -0
  33. package/api/resources/translations/client/Client.d.ts +1 -0
  34. package/api/resources/translations/client/Client.js +8 -0
  35. package/api/resources/triggers/client/Client.d.ts +5 -0
  36. package/api/resources/triggers/client/Client.js +40 -0
  37. package/api/resources/users/client/Client.d.ts +5 -0
  38. package/api/resources/users/client/Client.js +40 -0
  39. package/api/resources/voice/client/Client.d.ts +1 -0
  40. package/api/resources/voice/client/Client.js +8 -0
  41. package/dist/Client.js +2 -2
  42. package/dist/api/resources/actions/client/Client.d.ts +5 -0
  43. package/dist/api/resources/actions/client/Client.js +40 -0
  44. package/dist/api/resources/agents/client/Client.d.ts +6 -0
  45. package/dist/api/resources/agents/client/Client.js +48 -0
  46. package/dist/api/resources/analytics/client/Client.d.ts +7 -0
  47. package/dist/api/resources/analytics/client/Client.js +56 -0
  48. package/dist/api/resources/appSettings/client/Client.d.ts +3 -0
  49. package/dist/api/resources/appSettings/client/Client.js +24 -0
  50. package/dist/api/resources/assets/client/Client.d.ts +2 -0
  51. package/dist/api/resources/assets/client/Client.js +16 -0
  52. package/dist/api/resources/assets/types/CommitAssetUploadRequest.d.ts +1 -1
  53. package/dist/api/resources/commons/errors/PayloadTooLargeError.d.ts +6 -0
  54. package/dist/api/resources/commons/errors/PayloadTooLargeError.js +50 -0
  55. package/dist/api/resources/commons/errors/index.d.ts +1 -0
  56. package/dist/api/resources/commons/errors/index.js +1 -0
  57. package/dist/api/resources/conversation/client/Client.d.ts +15 -0
  58. package/dist/api/resources/conversation/client/Client.js +127 -0
  59. package/dist/api/resources/customers/client/Client.d.ts +4 -0
  60. package/dist/api/resources/customers/client/Client.js +32 -0
  61. package/dist/api/resources/events/client/Client.d.ts +4 -0
  62. package/dist/api/resources/events/client/Client.js +32 -0
  63. package/dist/api/resources/inbox/client/Client.d.ts +8 -0
  64. package/dist/api/resources/inbox/client/Client.js +64 -0
  65. package/dist/api/resources/integrations/client/Client.d.ts +1 -0
  66. package/dist/api/resources/integrations/client/Client.js +8 -0
  67. package/dist/api/resources/knowledge/client/Client.d.ts +14 -0
  68. package/dist/api/resources/knowledge/client/Client.js +112 -0
  69. package/dist/api/resources/organizations/client/Client.d.ts +6 -0
  70. package/dist/api/resources/organizations/client/Client.js +48 -0
  71. package/dist/api/resources/segments/client/Client.d.ts +5 -0
  72. package/dist/api/resources/segments/client/Client.js +40 -0
  73. package/dist/api/resources/translations/client/Client.d.ts +1 -0
  74. package/dist/api/resources/translations/client/Client.js +8 -0
  75. package/dist/api/resources/triggers/client/Client.d.ts +5 -0
  76. package/dist/api/resources/triggers/client/Client.js +40 -0
  77. package/dist/api/resources/users/client/Client.d.ts +5 -0
  78. package/dist/api/resources/users/client/Client.js +40 -0
  79. package/dist/api/resources/voice/client/Client.d.ts +1 -0
  80. package/dist/api/resources/voice/client/Client.js +8 -0
  81. package/dist/version.d.ts +1 -1
  82. package/dist/version.js +1 -1
  83. package/package.json +1 -1
  84. package/version.d.ts +1 -1
  85. package/version.js +1 -1
@@ -60,6 +60,7 @@ class Customers {
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 Customers {
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 Customers {
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
@@ -215,6 +224,13 @@ class Customers {
215
224
  allowUnrecognizedEnumValues: true,
216
225
  breadcrumbsPrefix: ["response"],
217
226
  }), _response.rawResponse);
227
+ case 413:
228
+ throw new MavenAGI.PayloadTooLargeError(serializers.ErrorMessage.parseOrThrow(_response.error.body, {
229
+ unrecognizedObjectKeys: "passthrough",
230
+ allowUnrecognizedUnionMembers: true,
231
+ allowUnrecognizedEnumValues: true,
232
+ breadcrumbsPrefix: ["response"],
233
+ }), _response.rawResponse);
218
234
  case 500:
219
235
  throw new MavenAGI.ServerError(serializers.ErrorMessage.parseOrThrow(_response.error.body, {
220
236
  unrecognizedObjectKeys: "passthrough",
@@ -256,6 +272,7 @@ class Customers {
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
@@ -313,6 +330,13 @@ class Customers {
313
330
  allowUnrecognizedEnumValues: true,
314
331
  breadcrumbsPrefix: ["response"],
315
332
  }), _response.rawResponse);
333
+ case 413:
334
+ throw new MavenAGI.PayloadTooLargeError(serializers.ErrorMessage.parseOrThrow(_response.error.body, {
335
+ unrecognizedObjectKeys: "passthrough",
336
+ allowUnrecognizedUnionMembers: true,
337
+ allowUnrecognizedEnumValues: true,
338
+ breadcrumbsPrefix: ["response"],
339
+ }), _response.rawResponse);
316
340
  case 500:
317
341
  throw new MavenAGI.ServerError(serializers.ErrorMessage.parseOrThrow(_response.error.body, {
318
342
  unrecognizedObjectKeys: "passthrough",
@@ -357,6 +381,7 @@ class Customers {
357
381
  *
358
382
  * @throws {@link MavenAGI.NotFoundError}
359
383
  * @throws {@link MavenAGI.BadRequestError}
384
+ * @throws {@link MavenAGI.PayloadTooLargeError}
360
385
  * @throws {@link MavenAGI.ServerError}
361
386
  *
362
387
  * @example
@@ -412,6 +437,13 @@ class Customers {
412
437
  allowUnrecognizedEnumValues: true,
413
438
  breadcrumbsPrefix: ["response"],
414
439
  }), _response.rawResponse);
440
+ case 413:
441
+ throw new MavenAGI.PayloadTooLargeError(serializers.ErrorMessage.parseOrThrow(_response.error.body, {
442
+ unrecognizedObjectKeys: "passthrough",
443
+ allowUnrecognizedUnionMembers: true,
444
+ allowUnrecognizedEnumValues: true,
445
+ breadcrumbsPrefix: ["response"],
446
+ }), _response.rawResponse);
415
447
  case 500:
416
448
  throw new MavenAGI.ServerError(serializers.ErrorMessage.parseOrThrow(_response.error.body, {
417
449
  unrecognizedObjectKeys: "passthrough",
@@ -18,6 +18,7 @@ export declare class Events {
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
@@ -44,6 +45,7 @@ export declare class Events {
44
45
  *
45
46
  * @throws {@link MavenAGI.NotFoundError}
46
47
  * @throws {@link MavenAGI.BadRequestError}
48
+ * @throws {@link MavenAGI.PayloadTooLargeError}
47
49
  * @throws {@link MavenAGI.ServerError}
48
50
  *
49
51
  * @example
@@ -60,6 +62,7 @@ export declare class Events {
60
62
  *
61
63
  * @throws {@link MavenAGI.NotFoundError}
62
64
  * @throws {@link MavenAGI.BadRequestError}
65
+ * @throws {@link MavenAGI.PayloadTooLargeError}
63
66
  * @throws {@link MavenAGI.ServerError}
64
67
  *
65
68
  * @example
@@ -75,6 +78,7 @@ export declare class Events {
75
78
  * This will output a summary of each event that matches the supplied filter. A maximum of 10,000 events can be exported at a time. For most use cases it is recommended to use the search API instead and convert the JSON response to your desired format. The CSV format may change over time and should not be relied upon by code consumers.
76
79
  * @throws {@link MavenAGI.NotFoundError}
77
80
  * @throws {@link MavenAGI.BadRequestError}
81
+ * @throws {@link MavenAGI.PayloadTooLargeError}
78
82
  * @throws {@link MavenAGI.ServerError}
79
83
  */
80
84
  export(request: MavenAGI.EventsSearchRequest, requestOptions?: Events.RequestOptions): core.HttpResponsePromise<core.BinaryResponse>;
@@ -62,6 +62,7 @@ class Events {
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
@@ -128,6 +129,13 @@ class Events {
128
129
  allowUnrecognizedEnumValues: true,
129
130
  breadcrumbsPrefix: ["response"],
130
131
  }), _response.rawResponse);
132
+ case 413:
133
+ throw new MavenAGI.PayloadTooLargeError(serializers.ErrorMessage.parseOrThrow(_response.error.body, {
134
+ unrecognizedObjectKeys: "passthrough",
135
+ allowUnrecognizedUnionMembers: true,
136
+ allowUnrecognizedEnumValues: true,
137
+ breadcrumbsPrefix: ["response"],
138
+ }), _response.rawResponse);
131
139
  case 500:
132
140
  throw new MavenAGI.ServerError(serializers.ErrorMessage.parseOrThrow(_response.error.body, {
133
141
  unrecognizedObjectKeys: "passthrough",
@@ -168,6 +176,7 @@ class Events {
168
176
  *
169
177
  * @throws {@link MavenAGI.NotFoundError}
170
178
  * @throws {@link MavenAGI.BadRequestError}
179
+ * @throws {@link MavenAGI.PayloadTooLargeError}
171
180
  * @throws {@link MavenAGI.ServerError}
172
181
  *
173
182
  * @example
@@ -223,6 +232,13 @@ class Events {
223
232
  allowUnrecognizedEnumValues: true,
224
233
  breadcrumbsPrefix: ["response"],
225
234
  }), _response.rawResponse);
235
+ case 413:
236
+ throw new MavenAGI.PayloadTooLargeError(serializers.ErrorMessage.parseOrThrow(_response.error.body, {
237
+ unrecognizedObjectKeys: "passthrough",
238
+ allowUnrecognizedUnionMembers: true,
239
+ allowUnrecognizedEnumValues: true,
240
+ breadcrumbsPrefix: ["response"],
241
+ }), _response.rawResponse);
226
242
  case 500:
227
243
  throw new MavenAGI.ServerError(serializers.ErrorMessage.parseOrThrow(_response.error.body, {
228
244
  unrecognizedObjectKeys: "passthrough",
@@ -264,6 +280,7 @@ class Events {
264
280
  *
265
281
  * @throws {@link MavenAGI.NotFoundError}
266
282
  * @throws {@link MavenAGI.BadRequestError}
283
+ * @throws {@link MavenAGI.PayloadTooLargeError}
267
284
  * @throws {@link MavenAGI.ServerError}
268
285
  *
269
286
  * @example
@@ -321,6 +338,13 @@ class Events {
321
338
  allowUnrecognizedEnumValues: true,
322
339
  breadcrumbsPrefix: ["response"],
323
340
  }), _response.rawResponse);
341
+ case 413:
342
+ throw new MavenAGI.PayloadTooLargeError(serializers.ErrorMessage.parseOrThrow(_response.error.body, {
343
+ unrecognizedObjectKeys: "passthrough",
344
+ allowUnrecognizedUnionMembers: true,
345
+ allowUnrecognizedEnumValues: true,
346
+ breadcrumbsPrefix: ["response"],
347
+ }), _response.rawResponse);
324
348
  case 500:
325
349
  throw new MavenAGI.ServerError(serializers.ErrorMessage.parseOrThrow(_response.error.body, {
326
350
  unrecognizedObjectKeys: "passthrough",
@@ -359,6 +383,7 @@ class Events {
359
383
  * This will output a summary of each event that matches the supplied filter. A maximum of 10,000 events can be exported at a time. For most use cases it is recommended to use the search API instead and convert the JSON response to your desired format. The CSV format may change over time and should not be relied upon by code consumers.
360
384
  * @throws {@link MavenAGI.NotFoundError}
361
385
  * @throws {@link MavenAGI.BadRequestError}
386
+ * @throws {@link MavenAGI.PayloadTooLargeError}
362
387
  * @throws {@link MavenAGI.ServerError}
363
388
  */
364
389
  export(request, requestOptions) {
@@ -404,6 +429,13 @@ class Events {
404
429
  allowUnrecognizedEnumValues: true,
405
430
  breadcrumbsPrefix: ["response"],
406
431
  }), _response.rawResponse);
432
+ case 413:
433
+ throw new MavenAGI.PayloadTooLargeError(serializers.ErrorMessage.parseOrThrow(_response.error.body, {
434
+ unrecognizedObjectKeys: "passthrough",
435
+ allowUnrecognizedUnionMembers: true,
436
+ allowUnrecognizedEnumValues: true,
437
+ breadcrumbsPrefix: ["response"],
438
+ }), _response.rawResponse);
407
439
  case 500:
408
440
  throw new MavenAGI.ServerError(serializers.ErrorMessage.parseOrThrow(_response.error.body, {
409
441
  unrecognizedObjectKeys: "passthrough",
@@ -18,6 +18,7 @@ export declare class Inbox {
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
@@ -33,6 +34,7 @@ export declare class Inbox {
33
34
  *
34
35
  * @throws {@link MavenAGI.NotFoundError}
35
36
  * @throws {@link MavenAGI.BadRequestError}
37
+ * @throws {@link MavenAGI.PayloadTooLargeError}
36
38
  * @throws {@link MavenAGI.ServerError}
37
39
  *
38
40
  * @example
@@ -80,6 +82,7 @@ export declare class Inbox {
80
82
  *
81
83
  * @throws {@link MavenAGI.NotFoundError}
82
84
  * @throws {@link MavenAGI.BadRequestError}
85
+ * @throws {@link MavenAGI.PayloadTooLargeError}
83
86
  * @throws {@link MavenAGI.ServerError}
84
87
  *
85
88
  * @example
@@ -101,6 +104,7 @@ export declare class Inbox {
101
104
  *
102
105
  * @throws {@link MavenAGI.NotFoundError}
103
106
  * @throws {@link MavenAGI.BadRequestError}
107
+ * @throws {@link MavenAGI.PayloadTooLargeError}
104
108
  * @throws {@link MavenAGI.ServerError}
105
109
  *
106
110
  * @example
@@ -119,6 +123,7 @@ export declare class Inbox {
119
123
  *
120
124
  * @throws {@link MavenAGI.NotFoundError}
121
125
  * @throws {@link MavenAGI.BadRequestError}
126
+ * @throws {@link MavenAGI.PayloadTooLargeError}
122
127
  * @throws {@link MavenAGI.ServerError}
123
128
  *
124
129
  * @example
@@ -137,6 +142,7 @@ export declare class Inbox {
137
142
  *
138
143
  * @throws {@link MavenAGI.NotFoundError}
139
144
  * @throws {@link MavenAGI.BadRequestError}
145
+ * @throws {@link MavenAGI.PayloadTooLargeError}
140
146
  * @throws {@link MavenAGI.ServerError}
141
147
  *
142
148
  * @example
@@ -155,6 +161,7 @@ export declare class Inbox {
155
161
  *
156
162
  * @throws {@link MavenAGI.NotFoundError}
157
163
  * @throws {@link MavenAGI.BadRequestError}
164
+ * @throws {@link MavenAGI.PayloadTooLargeError}
158
165
  * @throws {@link MavenAGI.ServerError}
159
166
  *
160
167
  * @example
@@ -174,6 +181,7 @@ export declare class Inbox {
174
181
  *
175
182
  * @throws {@link MavenAGI.NotFoundError}
176
183
  * @throws {@link MavenAGI.BadRequestError}
184
+ * @throws {@link MavenAGI.PayloadTooLargeError}
177
185
  * @throws {@link MavenAGI.ServerError}
178
186
  *
179
187
  * @example
@@ -62,6 +62,7 @@ class Inbox {
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
@@ -117,6 +118,13 @@ class Inbox {
117
118
  allowUnrecognizedEnumValues: true,
118
119
  breadcrumbsPrefix: ["response"],
119
120
  }), _response.rawResponse);
121
+ case 413:
122
+ throw new MavenAGI.PayloadTooLargeError(serializers.ErrorMessage.parseOrThrow(_response.error.body, {
123
+ unrecognizedObjectKeys: "passthrough",
124
+ allowUnrecognizedUnionMembers: true,
125
+ allowUnrecognizedEnumValues: true,
126
+ breadcrumbsPrefix: ["response"],
127
+ }), _response.rawResponse);
120
128
  case 500:
121
129
  throw new MavenAGI.ServerError(serializers.ErrorMessage.parseOrThrow(_response.error.body, {
122
130
  unrecognizedObjectKeys: "passthrough",
@@ -157,6 +165,7 @@ class Inbox {
157
165
  *
158
166
  * @throws {@link MavenAGI.NotFoundError}
159
167
  * @throws {@link MavenAGI.BadRequestError}
168
+ * @throws {@link MavenAGI.PayloadTooLargeError}
160
169
  * @throws {@link MavenAGI.ServerError}
161
170
  *
162
171
  * @example
@@ -240,6 +249,13 @@ class Inbox {
240
249
  allowUnrecognizedEnumValues: true,
241
250
  breadcrumbsPrefix: ["response"],
242
251
  }), _response.rawResponse);
252
+ case 413:
253
+ throw new MavenAGI.PayloadTooLargeError(serializers.ErrorMessage.parseOrThrow(_response.error.body, {
254
+ unrecognizedObjectKeys: "passthrough",
255
+ allowUnrecognizedUnionMembers: true,
256
+ allowUnrecognizedEnumValues: true,
257
+ breadcrumbsPrefix: ["response"],
258
+ }), _response.rawResponse);
243
259
  case 500:
244
260
  throw new MavenAGI.ServerError(serializers.ErrorMessage.parseOrThrow(_response.error.body, {
245
261
  unrecognizedObjectKeys: "passthrough",
@@ -284,6 +300,7 @@ class Inbox {
284
300
  *
285
301
  * @throws {@link MavenAGI.NotFoundError}
286
302
  * @throws {@link MavenAGI.BadRequestError}
303
+ * @throws {@link MavenAGI.PayloadTooLargeError}
287
304
  * @throws {@link MavenAGI.ServerError}
288
305
  *
289
306
  * @example
@@ -344,6 +361,13 @@ class Inbox {
344
361
  allowUnrecognizedEnumValues: true,
345
362
  breadcrumbsPrefix: ["response"],
346
363
  }), _response.rawResponse);
364
+ case 413:
365
+ throw new MavenAGI.PayloadTooLargeError(serializers.ErrorMessage.parseOrThrow(_response.error.body, {
366
+ unrecognizedObjectKeys: "passthrough",
367
+ allowUnrecognizedUnionMembers: true,
368
+ allowUnrecognizedEnumValues: true,
369
+ breadcrumbsPrefix: ["response"],
370
+ }), _response.rawResponse);
347
371
  case 500:
348
372
  throw new MavenAGI.ServerError(serializers.ErrorMessage.parseOrThrow(_response.error.body, {
349
373
  unrecognizedObjectKeys: "passthrough",
@@ -385,6 +409,7 @@ class Inbox {
385
409
  *
386
410
  * @throws {@link MavenAGI.NotFoundError}
387
411
  * @throws {@link MavenAGI.BadRequestError}
412
+ * @throws {@link MavenAGI.PayloadTooLargeError}
388
413
  * @throws {@link MavenAGI.ServerError}
389
414
  *
390
415
  * @example
@@ -442,6 +467,13 @@ class Inbox {
442
467
  allowUnrecognizedEnumValues: true,
443
468
  breadcrumbsPrefix: ["response"],
444
469
  }), _response.rawResponse);
470
+ case 413:
471
+ throw new MavenAGI.PayloadTooLargeError(serializers.ErrorMessage.parseOrThrow(_response.error.body, {
472
+ unrecognizedObjectKeys: "passthrough",
473
+ allowUnrecognizedUnionMembers: true,
474
+ allowUnrecognizedEnumValues: true,
475
+ breadcrumbsPrefix: ["response"],
476
+ }), _response.rawResponse);
445
477
  case 500:
446
478
  throw new MavenAGI.ServerError(serializers.ErrorMessage.parseOrThrow(_response.error.body, {
447
479
  unrecognizedObjectKeys: "passthrough",
@@ -483,6 +515,7 @@ class Inbox {
483
515
  *
484
516
  * @throws {@link MavenAGI.NotFoundError}
485
517
  * @throws {@link MavenAGI.BadRequestError}
518
+ * @throws {@link MavenAGI.PayloadTooLargeError}
486
519
  * @throws {@link MavenAGI.ServerError}
487
520
  *
488
521
  * @example
@@ -540,6 +573,13 @@ class Inbox {
540
573
  allowUnrecognizedEnumValues: true,
541
574
  breadcrumbsPrefix: ["response"],
542
575
  }), _response.rawResponse);
576
+ case 413:
577
+ throw new MavenAGI.PayloadTooLargeError(serializers.ErrorMessage.parseOrThrow(_response.error.body, {
578
+ unrecognizedObjectKeys: "passthrough",
579
+ allowUnrecognizedUnionMembers: true,
580
+ allowUnrecognizedEnumValues: true,
581
+ breadcrumbsPrefix: ["response"],
582
+ }), _response.rawResponse);
543
583
  case 500:
544
584
  throw new MavenAGI.ServerError(serializers.ErrorMessage.parseOrThrow(_response.error.body, {
545
585
  unrecognizedObjectKeys: "passthrough",
@@ -581,6 +621,7 @@ class Inbox {
581
621
  *
582
622
  * @throws {@link MavenAGI.NotFoundError}
583
623
  * @throws {@link MavenAGI.BadRequestError}
624
+ * @throws {@link MavenAGI.PayloadTooLargeError}
584
625
  * @throws {@link MavenAGI.ServerError}
585
626
  *
586
627
  * @example
@@ -638,6 +679,13 @@ class Inbox {
638
679
  allowUnrecognizedEnumValues: true,
639
680
  breadcrumbsPrefix: ["response"],
640
681
  }), _response.rawResponse);
682
+ case 413:
683
+ throw new MavenAGI.PayloadTooLargeError(serializers.ErrorMessage.parseOrThrow(_response.error.body, {
684
+ unrecognizedObjectKeys: "passthrough",
685
+ allowUnrecognizedUnionMembers: true,
686
+ allowUnrecognizedEnumValues: true,
687
+ breadcrumbsPrefix: ["response"],
688
+ }), _response.rawResponse);
641
689
  case 500:
642
690
  throw new MavenAGI.ServerError(serializers.ErrorMessage.parseOrThrow(_response.error.body, {
643
691
  unrecognizedObjectKeys: "passthrough",
@@ -679,6 +727,7 @@ class Inbox {
679
727
  *
680
728
  * @throws {@link MavenAGI.NotFoundError}
681
729
  * @throws {@link MavenAGI.BadRequestError}
730
+ * @throws {@link MavenAGI.PayloadTooLargeError}
682
731
  * @throws {@link MavenAGI.ServerError}
683
732
  *
684
733
  * @example
@@ -729,6 +778,13 @@ class Inbox {
729
778
  allowUnrecognizedEnumValues: true,
730
779
  breadcrumbsPrefix: ["response"],
731
780
  }), _response.rawResponse);
781
+ case 413:
782
+ throw new MavenAGI.PayloadTooLargeError(serializers.ErrorMessage.parseOrThrow(_response.error.body, {
783
+ unrecognizedObjectKeys: "passthrough",
784
+ allowUnrecognizedUnionMembers: true,
785
+ allowUnrecognizedEnumValues: true,
786
+ breadcrumbsPrefix: ["response"],
787
+ }), _response.rawResponse);
732
788
  case 500:
733
789
  throw new MavenAGI.ServerError(serializers.ErrorMessage.parseOrThrow(_response.error.body, {
734
790
  unrecognizedObjectKeys: "passthrough",
@@ -770,6 +826,7 @@ class Inbox {
770
826
  *
771
827
  * @throws {@link MavenAGI.NotFoundError}
772
828
  * @throws {@link MavenAGI.BadRequestError}
829
+ * @throws {@link MavenAGI.PayloadTooLargeError}
773
830
  * @throws {@link MavenAGI.ServerError}
774
831
  *
775
832
  * @example
@@ -819,6 +876,13 @@ class Inbox {
819
876
  allowUnrecognizedEnumValues: true,
820
877
  breadcrumbsPrefix: ["response"],
821
878
  }), _response.rawResponse);
879
+ case 413:
880
+ throw new MavenAGI.PayloadTooLargeError(serializers.ErrorMessage.parseOrThrow(_response.error.body, {
881
+ unrecognizedObjectKeys: "passthrough",
882
+ allowUnrecognizedUnionMembers: true,
883
+ allowUnrecognizedEnumValues: true,
884
+ breadcrumbsPrefix: ["response"],
885
+ }), _response.rawResponse);
822
886
  case 500:
823
887
  throw new MavenAGI.ServerError(serializers.ErrorMessage.parseOrThrow(_response.error.body, {
824
888
  unrecognizedObjectKeys: "passthrough",
@@ -20,6 +20,7 @@ export declare class Integrations {
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
@@ -64,6 +64,7 @@ class Integrations {
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
@@ -111,6 +112,13 @@ class Integrations {
111
112
  allowUnrecognizedEnumValues: true,
112
113
  breadcrumbsPrefix: ["response"],
113
114
  }), _response.rawResponse);
115
+ case 413:
116
+ throw new MavenAGI.PayloadTooLargeError(serializers.ErrorMessage.parseOrThrow(_response.error.body, {
117
+ unrecognizedObjectKeys: "passthrough",
118
+ allowUnrecognizedUnionMembers: true,
119
+ allowUnrecognizedEnumValues: true,
120
+ breadcrumbsPrefix: ["response"],
121
+ }), _response.rawResponse);
114
122
  case 500:
115
123
  throw new MavenAGI.ServerError(serializers.ErrorMessage.parseOrThrow(_response.error.body, {
116
124
  unrecognizedObjectKeys: "passthrough",
@@ -18,6 +18,7 @@ export declare class Knowledge {
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
@@ -33,6 +34,7 @@ export declare class Knowledge {
33
34
  *
34
35
  * @throws {@link MavenAGI.NotFoundError}
35
36
  * @throws {@link MavenAGI.BadRequestError}
37
+ * @throws {@link MavenAGI.PayloadTooLargeError}
36
38
  * @throws {@link MavenAGI.ServerError}
37
39
  *
38
40
  * @example
@@ -54,6 +56,7 @@ export declare class Knowledge {
54
56
  *
55
57
  * @throws {@link MavenAGI.NotFoundError}
56
58
  * @throws {@link MavenAGI.BadRequestError}
59
+ * @throws {@link MavenAGI.PayloadTooLargeError}
57
60
  * @throws {@link MavenAGI.ServerError}
58
61
  *
59
62
  * @example
@@ -73,6 +76,7 @@ export declare class Knowledge {
73
76
  *
74
77
  * @throws {@link MavenAGI.NotFoundError}
75
78
  * @throws {@link MavenAGI.BadRequestError}
79
+ * @throws {@link MavenAGI.PayloadTooLargeError}
76
80
  * @throws {@link MavenAGI.ServerError}
77
81
  *
78
82
  * @example
@@ -94,6 +98,7 @@ export declare class Knowledge {
94
98
  *
95
99
  * @throws {@link MavenAGI.NotFoundError}
96
100
  * @throws {@link MavenAGI.BadRequestError}
101
+ * @throws {@link MavenAGI.PayloadTooLargeError}
97
102
  * @throws {@link MavenAGI.ServerError}
98
103
  *
99
104
  * @example
@@ -113,6 +118,7 @@ export declare class Knowledge {
113
118
  *
114
119
  * @throws {@link MavenAGI.NotFoundError}
115
120
  * @throws {@link MavenAGI.BadRequestError}
121
+ * @throws {@link MavenAGI.PayloadTooLargeError}
116
122
  * @throws {@link MavenAGI.ServerError}
117
123
  *
118
124
  * @example
@@ -141,6 +147,7 @@ export declare class Knowledge {
141
147
  *
142
148
  * @throws {@link MavenAGI.NotFoundError}
143
149
  * @throws {@link MavenAGI.BadRequestError}
150
+ * @throws {@link MavenAGI.PayloadTooLargeError}
144
151
  * @throws {@link MavenAGI.ServerError}
145
152
  *
146
153
  * @example
@@ -159,6 +166,7 @@ export declare class Knowledge {
159
166
  *
160
167
  * @throws {@link MavenAGI.NotFoundError}
161
168
  * @throws {@link MavenAGI.BadRequestError}
169
+ * @throws {@link MavenAGI.PayloadTooLargeError}
162
170
  * @throws {@link MavenAGI.ServerError}
163
171
  *
164
172
  * @example
@@ -182,6 +190,7 @@ export declare class Knowledge {
182
190
  *
183
191
  * @throws {@link MavenAGI.NotFoundError}
184
192
  * @throws {@link MavenAGI.BadRequestError}
193
+ * @throws {@link MavenAGI.PayloadTooLargeError}
185
194
  * @throws {@link MavenAGI.ServerError}
186
195
  *
187
196
  * @example
@@ -197,6 +206,7 @@ export declare class Knowledge {
197
206
  *
198
207
  * @throws {@link MavenAGI.NotFoundError}
199
208
  * @throws {@link MavenAGI.BadRequestError}
209
+ * @throws {@link MavenAGI.PayloadTooLargeError}
200
210
  * @throws {@link MavenAGI.ServerError}
201
211
  *
202
212
  * @example
@@ -219,6 +229,7 @@ export declare class Knowledge {
219
229
  *
220
230
  * @throws {@link MavenAGI.NotFoundError}
221
231
  * @throws {@link MavenAGI.BadRequestError}
232
+ * @throws {@link MavenAGI.PayloadTooLargeError}
222
233
  * @throws {@link MavenAGI.ServerError}
223
234
  *
224
235
  * @example
@@ -252,6 +263,7 @@ export declare class Knowledge {
252
263
  *
253
264
  * @throws {@link MavenAGI.NotFoundError}
254
265
  * @throws {@link MavenAGI.BadRequestError}
266
+ * @throws {@link MavenAGI.PayloadTooLargeError}
255
267
  * @throws {@link MavenAGI.ServerError}
256
268
  *
257
269
  * @example
@@ -275,6 +287,7 @@ export declare class Knowledge {
275
287
  *
276
288
  * @throws {@link MavenAGI.NotFoundError}
277
289
  * @throws {@link MavenAGI.BadRequestError}
290
+ * @throws {@link MavenAGI.PayloadTooLargeError}
278
291
  * @throws {@link MavenAGI.ServerError}
279
292
  *
280
293
  * @example
@@ -299,6 +312,7 @@ export declare class Knowledge {
299
312
  *
300
313
  * @throws {@link MavenAGI.NotFoundError}
301
314
  * @throws {@link MavenAGI.BadRequestError}
315
+ * @throws {@link MavenAGI.PayloadTooLargeError}
302
316
  * @throws {@link MavenAGI.ServerError}
303
317
  *
304
318
  * @example