mavenagi 1.2.34 → 1.2.36
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/commons/types/ConversationPreconditionResponse.d.ts +22 -0
- package/api/resources/commons/types/ConversationPreconditionResponse.js +3 -0
- package/api/resources/commons/types/IntelligentFieldPreconditionResponse.d.ts +13 -0
- package/api/resources/commons/types/IntelligentFieldPreconditionResponse.js +3 -0
- package/api/resources/commons/types/IntelligentFieldValueResponse.d.ts +1 -1
- package/api/resources/commons/types/PreconditionGroupResponse.d.ts +5 -0
- package/api/resources/commons/types/PreconditionGroupResponse.js +3 -0
- package/api/resources/commons/types/PreconditionResponse.d.ts +28 -0
- package/api/resources/commons/types/PreconditionResponse.js +3 -0
- package/api/resources/commons/types/index.d.ts +4 -0
- package/api/resources/commons/types/index.js +4 -0
- package/api/resources/conversation/client/Client.d.ts +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/segments/types/SegmentBase.d.ts +0 -3
- package/api/resources/segments/types/SegmentRequest.d.ts +2 -0
- package/api/resources/segments/types/SegmentResponse.d.ts +2 -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/commons/types/ConversationPreconditionResponse.d.ts +22 -0
- package/dist/api/resources/commons/types/ConversationPreconditionResponse.js +3 -0
- package/dist/api/resources/commons/types/IntelligentFieldPreconditionResponse.d.ts +13 -0
- package/dist/api/resources/commons/types/IntelligentFieldPreconditionResponse.js +3 -0
- package/dist/api/resources/commons/types/IntelligentFieldValueResponse.d.ts +1 -1
- package/dist/api/resources/commons/types/PreconditionGroupResponse.d.ts +5 -0
- package/dist/api/resources/commons/types/PreconditionGroupResponse.js +3 -0
- package/dist/api/resources/commons/types/PreconditionResponse.d.ts +28 -0
- package/dist/api/resources/commons/types/PreconditionResponse.js +3 -0
- package/dist/api/resources/commons/types/index.d.ts +4 -0
- package/dist/api/resources/commons/types/index.js +4 -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/segments/types/SegmentBase.d.ts +0 -3
- package/dist/api/resources/segments/types/SegmentRequest.d.ts +2 -0
- package/dist/api/resources/segments/types/SegmentResponse.d.ts +2 -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/serialization/resources/commons/types/ConversationPreconditionResponse.d.ts +31 -0
- package/dist/serialization/resources/commons/types/ConversationPreconditionResponse.js +57 -0
- package/dist/serialization/resources/commons/types/IntelligentFieldPreconditionResponse.d.ts +13 -0
- package/dist/serialization/resources/commons/types/IntelligentFieldPreconditionResponse.js +45 -0
- package/dist/serialization/resources/commons/types/PreconditionGroupResponse.d.ts +11 -0
- package/dist/serialization/resources/commons/types/PreconditionGroupResponse.js +44 -0
- package/dist/serialization/resources/commons/types/PreconditionResponse.d.ts +19 -0
- package/dist/serialization/resources/commons/types/PreconditionResponse.js +53 -0
- package/dist/serialization/resources/commons/types/index.d.ts +4 -0
- package/dist/serialization/resources/commons/types/index.js +4 -0
- package/dist/serialization/resources/segments/types/SegmentBase.d.ts +1 -2
- package/dist/serialization/resources/segments/types/SegmentBase.js +0 -2
- package/dist/serialization/resources/segments/types/SegmentRequest.d.ts +2 -1
- package/dist/serialization/resources/segments/types/SegmentRequest.js +2 -0
- package/dist/serialization/resources/segments/types/SegmentResponse.d.ts +2 -1
- package/dist/serialization/resources/segments/types/SegmentResponse.js +2 -0
- package/dist/version.d.ts +1 -1
- package/dist/version.js +1 -1
- package/package.json +1 -1
- package/serialization/resources/commons/types/ConversationPreconditionResponse.d.ts +31 -0
- package/serialization/resources/commons/types/ConversationPreconditionResponse.js +57 -0
- package/serialization/resources/commons/types/IntelligentFieldPreconditionResponse.d.ts +13 -0
- package/serialization/resources/commons/types/IntelligentFieldPreconditionResponse.js +45 -0
- package/serialization/resources/commons/types/PreconditionGroupResponse.d.ts +11 -0
- package/serialization/resources/commons/types/PreconditionGroupResponse.js +44 -0
- package/serialization/resources/commons/types/PreconditionResponse.d.ts +19 -0
- package/serialization/resources/commons/types/PreconditionResponse.js +53 -0
- package/serialization/resources/commons/types/index.d.ts +4 -0
- package/serialization/resources/commons/types/index.js +4 -0
- package/serialization/resources/segments/types/SegmentBase.d.ts +1 -2
- package/serialization/resources/segments/types/SegmentBase.js +0 -2
- package/serialization/resources/segments/types/SegmentRequest.d.ts +2 -1
- package/serialization/resources/segments/types/SegmentRequest.js +2 -0
- package/serialization/resources/segments/types/SegmentResponse.d.ts +2 -1
- package/serialization/resources/segments/types/SegmentResponse.js +2 -0
- package/version.d.ts +1 -1
- package/version.js +1 -1
|
@@ -67,6 +67,7 @@ class Organizations {
|
|
|
67
67
|
*
|
|
68
68
|
* @throws {@link MavenAGI.NotFoundError}
|
|
69
69
|
* @throws {@link MavenAGI.BadRequestError}
|
|
70
|
+
* @throws {@link MavenAGI.PayloadTooLargeError}
|
|
70
71
|
* @throws {@link MavenAGI.ServerError}
|
|
71
72
|
*
|
|
72
73
|
* @example
|
|
@@ -125,6 +126,13 @@ class Organizations {
|
|
|
125
126
|
allowUnrecognizedEnumValues: true,
|
|
126
127
|
breadcrumbsPrefix: ["response"],
|
|
127
128
|
}), _response.rawResponse);
|
|
129
|
+
case 413:
|
|
130
|
+
throw new MavenAGI.PayloadTooLargeError(serializers.ErrorMessage.parseOrThrow(_response.error.body, {
|
|
131
|
+
unrecognizedObjectKeys: "passthrough",
|
|
132
|
+
allowUnrecognizedUnionMembers: true,
|
|
133
|
+
allowUnrecognizedEnumValues: true,
|
|
134
|
+
breadcrumbsPrefix: ["response"],
|
|
135
|
+
}), _response.rawResponse);
|
|
128
136
|
case 500:
|
|
129
137
|
throw new MavenAGI.ServerError(serializers.ErrorMessage.parseOrThrow(_response.error.body, {
|
|
130
138
|
unrecognizedObjectKeys: "passthrough",
|
|
@@ -165,6 +173,7 @@ class Organizations {
|
|
|
165
173
|
*
|
|
166
174
|
* @throws {@link MavenAGI.NotFoundError}
|
|
167
175
|
* @throws {@link MavenAGI.BadRequestError}
|
|
176
|
+
* @throws {@link MavenAGI.PayloadTooLargeError}
|
|
168
177
|
* @throws {@link MavenAGI.ServerError}
|
|
169
178
|
*
|
|
170
179
|
* @example
|
|
@@ -217,6 +226,13 @@ class Organizations {
|
|
|
217
226
|
allowUnrecognizedEnumValues: true,
|
|
218
227
|
breadcrumbsPrefix: ["response"],
|
|
219
228
|
}), _response.rawResponse);
|
|
229
|
+
case 413:
|
|
230
|
+
throw new MavenAGI.PayloadTooLargeError(serializers.ErrorMessage.parseOrThrow(_response.error.body, {
|
|
231
|
+
unrecognizedObjectKeys: "passthrough",
|
|
232
|
+
allowUnrecognizedUnionMembers: true,
|
|
233
|
+
allowUnrecognizedEnumValues: true,
|
|
234
|
+
breadcrumbsPrefix: ["response"],
|
|
235
|
+
}), _response.rawResponse);
|
|
220
236
|
case 500:
|
|
221
237
|
throw new MavenAGI.ServerError(serializers.ErrorMessage.parseOrThrow(_response.error.body, {
|
|
222
238
|
unrecognizedObjectKeys: "passthrough",
|
|
@@ -263,6 +279,7 @@ class Organizations {
|
|
|
263
279
|
*
|
|
264
280
|
* @throws {@link MavenAGI.NotFoundError}
|
|
265
281
|
* @throws {@link MavenAGI.BadRequestError}
|
|
282
|
+
* @throws {@link MavenAGI.PayloadTooLargeError}
|
|
266
283
|
* @throws {@link MavenAGI.ServerError}
|
|
267
284
|
*
|
|
268
285
|
* @example
|
|
@@ -318,6 +335,13 @@ class Organizations {
|
|
|
318
335
|
allowUnrecognizedEnumValues: true,
|
|
319
336
|
breadcrumbsPrefix: ["response"],
|
|
320
337
|
}), _response.rawResponse);
|
|
338
|
+
case 413:
|
|
339
|
+
throw new MavenAGI.PayloadTooLargeError(serializers.ErrorMessage.parseOrThrow(_response.error.body, {
|
|
340
|
+
unrecognizedObjectKeys: "passthrough",
|
|
341
|
+
allowUnrecognizedUnionMembers: true,
|
|
342
|
+
allowUnrecognizedEnumValues: true,
|
|
343
|
+
breadcrumbsPrefix: ["response"],
|
|
344
|
+
}), _response.rawResponse);
|
|
321
345
|
case 500:
|
|
322
346
|
throw new MavenAGI.ServerError(serializers.ErrorMessage.parseOrThrow(_response.error.body, {
|
|
323
347
|
unrecognizedObjectKeys: "passthrough",
|
|
@@ -362,6 +386,7 @@ class Organizations {
|
|
|
362
386
|
*
|
|
363
387
|
* @throws {@link MavenAGI.NotFoundError}
|
|
364
388
|
* @throws {@link MavenAGI.BadRequestError}
|
|
389
|
+
* @throws {@link MavenAGI.PayloadTooLargeError}
|
|
365
390
|
* @throws {@link MavenAGI.ServerError}
|
|
366
391
|
*
|
|
367
392
|
* @example
|
|
@@ -406,6 +431,13 @@ class Organizations {
|
|
|
406
431
|
allowUnrecognizedEnumValues: true,
|
|
407
432
|
breadcrumbsPrefix: ["response"],
|
|
408
433
|
}), _response.rawResponse);
|
|
434
|
+
case 413:
|
|
435
|
+
throw new MavenAGI.PayloadTooLargeError(serializers.ErrorMessage.parseOrThrow(_response.error.body, {
|
|
436
|
+
unrecognizedObjectKeys: "passthrough",
|
|
437
|
+
allowUnrecognizedUnionMembers: true,
|
|
438
|
+
allowUnrecognizedEnumValues: true,
|
|
439
|
+
breadcrumbsPrefix: ["response"],
|
|
440
|
+
}), _response.rawResponse);
|
|
409
441
|
case 500:
|
|
410
442
|
throw new MavenAGI.ServerError(serializers.ErrorMessage.parseOrThrow(_response.error.body, {
|
|
411
443
|
unrecognizedObjectKeys: "passthrough",
|
|
@@ -451,6 +483,7 @@ class Organizations {
|
|
|
451
483
|
*
|
|
452
484
|
* @throws {@link MavenAGI.NotFoundError}
|
|
453
485
|
* @throws {@link MavenAGI.BadRequestError}
|
|
486
|
+
* @throws {@link MavenAGI.PayloadTooLargeError}
|
|
454
487
|
* @throws {@link MavenAGI.ServerError}
|
|
455
488
|
*
|
|
456
489
|
* @example
|
|
@@ -533,6 +566,13 @@ class Organizations {
|
|
|
533
566
|
allowUnrecognizedEnumValues: true,
|
|
534
567
|
breadcrumbsPrefix: ["response"],
|
|
535
568
|
}), _response.rawResponse);
|
|
569
|
+
case 413:
|
|
570
|
+
throw new MavenAGI.PayloadTooLargeError(serializers.ErrorMessage.parseOrThrow(_response.error.body, {
|
|
571
|
+
unrecognizedObjectKeys: "passthrough",
|
|
572
|
+
allowUnrecognizedUnionMembers: true,
|
|
573
|
+
allowUnrecognizedEnumValues: true,
|
|
574
|
+
breadcrumbsPrefix: ["response"],
|
|
575
|
+
}), _response.rawResponse);
|
|
536
576
|
case 500:
|
|
537
577
|
throw new MavenAGI.ServerError(serializers.ErrorMessage.parseOrThrow(_response.error.body, {
|
|
538
578
|
unrecognizedObjectKeys: "passthrough",
|
|
@@ -578,6 +618,7 @@ class Organizations {
|
|
|
578
618
|
*
|
|
579
619
|
* @throws {@link MavenAGI.NotFoundError}
|
|
580
620
|
* @throws {@link MavenAGI.BadRequestError}
|
|
621
|
+
* @throws {@link MavenAGI.PayloadTooLargeError}
|
|
581
622
|
* @throws {@link MavenAGI.ServerError}
|
|
582
623
|
*
|
|
583
624
|
* @example
|
|
@@ -676,6 +717,13 @@ class Organizations {
|
|
|
676
717
|
allowUnrecognizedEnumValues: true,
|
|
677
718
|
breadcrumbsPrefix: ["response"],
|
|
678
719
|
}), _response.rawResponse);
|
|
720
|
+
case 413:
|
|
721
|
+
throw new MavenAGI.PayloadTooLargeError(serializers.ErrorMessage.parseOrThrow(_response.error.body, {
|
|
722
|
+
unrecognizedObjectKeys: "passthrough",
|
|
723
|
+
allowUnrecognizedUnionMembers: true,
|
|
724
|
+
allowUnrecognizedEnumValues: true,
|
|
725
|
+
breadcrumbsPrefix: ["response"],
|
|
726
|
+
}), _response.rawResponse);
|
|
679
727
|
case 500:
|
|
680
728
|
throw new MavenAGI.ServerError(serializers.ErrorMessage.parseOrThrow(_response.error.body, {
|
|
681
729
|
unrecognizedObjectKeys: "passthrough",
|
|
@@ -16,6 +16,7 @@ export declare class Segments {
|
|
|
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 Segments {
|
|
|
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
|
|
@@ -63,6 +65,7 @@ export declare class Segments {
|
|
|
63
65
|
*
|
|
64
66
|
* @throws {@link MavenAGI.NotFoundError}
|
|
65
67
|
* @throws {@link MavenAGI.BadRequestError}
|
|
68
|
+
* @throws {@link MavenAGI.PayloadTooLargeError}
|
|
66
69
|
* @throws {@link MavenAGI.ServerError}
|
|
67
70
|
*
|
|
68
71
|
* @example
|
|
@@ -82,6 +85,7 @@ export declare class Segments {
|
|
|
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
|
|
@@ -102,6 +106,7 @@ export declare class Segments {
|
|
|
102
106
|
*
|
|
103
107
|
* @throws {@link MavenAGI.NotFoundError}
|
|
104
108
|
* @throws {@link MavenAGI.BadRequestError}
|
|
109
|
+
* @throws {@link MavenAGI.PayloadTooLargeError}
|
|
105
110
|
* @throws {@link MavenAGI.ServerError}
|
|
106
111
|
*
|
|
107
112
|
* @example
|
|
@@ -60,6 +60,7 @@ class Segments {
|
|
|
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 Segments {
|
|
|
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 Segments {
|
|
|
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
|
|
@@ -226,6 +235,13 @@ class Segments {
|
|
|
226
235
|
allowUnrecognizedEnumValues: true,
|
|
227
236
|
breadcrumbsPrefix: ["response"],
|
|
228
237
|
}), _response.rawResponse);
|
|
238
|
+
case 413:
|
|
239
|
+
throw new MavenAGI.PayloadTooLargeError(serializers.ErrorMessage.parseOrThrow(_response.error.body, {
|
|
240
|
+
unrecognizedObjectKeys: "passthrough",
|
|
241
|
+
allowUnrecognizedUnionMembers: true,
|
|
242
|
+
allowUnrecognizedEnumValues: true,
|
|
243
|
+
breadcrumbsPrefix: ["response"],
|
|
244
|
+
}), _response.rawResponse);
|
|
229
245
|
case 500:
|
|
230
246
|
throw new MavenAGI.ServerError(serializers.ErrorMessage.parseOrThrow(_response.error.body, {
|
|
231
247
|
unrecognizedObjectKeys: "passthrough",
|
|
@@ -267,6 +283,7 @@ class Segments {
|
|
|
267
283
|
*
|
|
268
284
|
* @throws {@link MavenAGI.NotFoundError}
|
|
269
285
|
* @throws {@link MavenAGI.BadRequestError}
|
|
286
|
+
* @throws {@link MavenAGI.PayloadTooLargeError}
|
|
270
287
|
* @throws {@link MavenAGI.ServerError}
|
|
271
288
|
*
|
|
272
289
|
* @example
|
|
@@ -324,6 +341,13 @@ class Segments {
|
|
|
324
341
|
allowUnrecognizedEnumValues: true,
|
|
325
342
|
breadcrumbsPrefix: ["response"],
|
|
326
343
|
}), _response.rawResponse);
|
|
344
|
+
case 413:
|
|
345
|
+
throw new MavenAGI.PayloadTooLargeError(serializers.ErrorMessage.parseOrThrow(_response.error.body, {
|
|
346
|
+
unrecognizedObjectKeys: "passthrough",
|
|
347
|
+
allowUnrecognizedUnionMembers: true,
|
|
348
|
+
allowUnrecognizedEnumValues: true,
|
|
349
|
+
breadcrumbsPrefix: ["response"],
|
|
350
|
+
}), _response.rawResponse);
|
|
327
351
|
case 500:
|
|
328
352
|
throw new MavenAGI.ServerError(serializers.ErrorMessage.parseOrThrow(_response.error.body, {
|
|
329
353
|
unrecognizedObjectKeys: "passthrough",
|
|
@@ -368,6 +392,7 @@ class Segments {
|
|
|
368
392
|
*
|
|
369
393
|
* @throws {@link MavenAGI.NotFoundError}
|
|
370
394
|
* @throws {@link MavenAGI.BadRequestError}
|
|
395
|
+
* @throws {@link MavenAGI.PayloadTooLargeError}
|
|
371
396
|
* @throws {@link MavenAGI.ServerError}
|
|
372
397
|
*
|
|
373
398
|
* @example
|
|
@@ -423,6 +448,13 @@ class Segments {
|
|
|
423
448
|
allowUnrecognizedEnumValues: true,
|
|
424
449
|
breadcrumbsPrefix: ["response"],
|
|
425
450
|
}), _response.rawResponse);
|
|
451
|
+
case 413:
|
|
452
|
+
throw new MavenAGI.PayloadTooLargeError(serializers.ErrorMessage.parseOrThrow(_response.error.body, {
|
|
453
|
+
unrecognizedObjectKeys: "passthrough",
|
|
454
|
+
allowUnrecognizedUnionMembers: true,
|
|
455
|
+
allowUnrecognizedEnumValues: true,
|
|
456
|
+
breadcrumbsPrefix: ["response"],
|
|
457
|
+
}), _response.rawResponse);
|
|
426
458
|
case 500:
|
|
427
459
|
throw new MavenAGI.ServerError(serializers.ErrorMessage.parseOrThrow(_response.error.body, {
|
|
428
460
|
unrecognizedObjectKeys: "passthrough",
|
|
@@ -468,6 +500,7 @@ class Segments {
|
|
|
468
500
|
*
|
|
469
501
|
* @throws {@link MavenAGI.NotFoundError}
|
|
470
502
|
* @throws {@link MavenAGI.BadRequestError}
|
|
503
|
+
* @throws {@link MavenAGI.PayloadTooLargeError}
|
|
471
504
|
* @throws {@link MavenAGI.ServerError}
|
|
472
505
|
*
|
|
473
506
|
* @example
|
|
@@ -525,6 +558,13 @@ class Segments {
|
|
|
525
558
|
allowUnrecognizedEnumValues: true,
|
|
526
559
|
breadcrumbsPrefix: ["response"],
|
|
527
560
|
}), _response.rawResponse);
|
|
561
|
+
case 413:
|
|
562
|
+
throw new MavenAGI.PayloadTooLargeError(serializers.ErrorMessage.parseOrThrow(_response.error.body, {
|
|
563
|
+
unrecognizedObjectKeys: "passthrough",
|
|
564
|
+
allowUnrecognizedUnionMembers: true,
|
|
565
|
+
allowUnrecognizedEnumValues: true,
|
|
566
|
+
breadcrumbsPrefix: ["response"],
|
|
567
|
+
}), _response.rawResponse);
|
|
528
568
|
case 500:
|
|
529
569
|
throw new MavenAGI.ServerError(serializers.ErrorMessage.parseOrThrow(_response.error.body, {
|
|
530
570
|
unrecognizedObjectKeys: "passthrough",
|
|
@@ -1,9 +1,6 @@
|
|
|
1
|
-
import type * as MavenAGI from "../../../index";
|
|
2
1
|
export interface SegmentBase {
|
|
3
2
|
/** The name of the segment. */
|
|
4
3
|
name: string;
|
|
5
4
|
/** A plain text description of the segment. */
|
|
6
5
|
description?: string;
|
|
7
|
-
/** The precondition that must be met for a conversation message to be included in the segment. */
|
|
8
|
-
precondition: MavenAGI.Precondition;
|
|
9
6
|
}
|
|
@@ -22,6 +22,8 @@ import type * as MavenAGI from "../../../index";
|
|
|
22
22
|
export interface SegmentRequest extends MavenAGI.SegmentBase {
|
|
23
23
|
/** ID that uniquely identifies this segment */
|
|
24
24
|
segmentId: MavenAGI.EntityIdBase;
|
|
25
|
+
/** The precondition that must be met for a conversation message to be included in the segment. */
|
|
26
|
+
precondition: MavenAGI.Precondition;
|
|
25
27
|
/** Desired status for the segment. If omitted, defaults to ACTIVE. In the future this will become required, so specify ACTIVE or INACTIVE if possible. */
|
|
26
28
|
status?: MavenAGI.SegmentStatus;
|
|
27
29
|
}
|
|
@@ -32,6 +32,8 @@ import type * as MavenAGI from "../../../index";
|
|
|
32
32
|
export interface SegmentResponse extends MavenAGI.SegmentBase {
|
|
33
33
|
/** ID that uniquely identifies this segment */
|
|
34
34
|
segmentId: MavenAGI.EntityId;
|
|
35
|
+
/** The precondition that must be met for a conversation message to be included in the segment. */
|
|
36
|
+
precondition: MavenAGI.PreconditionResponse;
|
|
35
37
|
/** The date and time when the segment was created. */
|
|
36
38
|
createdAt: Date;
|
|
37
39
|
/** The date and time when the segment was last updated. */
|
|
@@ -62,6 +62,7 @@ class Translations {
|
|
|
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
|
|
@@ -120,6 +121,13 @@ class Translations {
|
|
|
120
121
|
allowUnrecognizedEnumValues: true,
|
|
121
122
|
breadcrumbsPrefix: ["response"],
|
|
122
123
|
}), _response.rawResponse);
|
|
124
|
+
case 413:
|
|
125
|
+
throw new MavenAGI.PayloadTooLargeError(serializers.ErrorMessage.parseOrThrow(_response.error.body, {
|
|
126
|
+
unrecognizedObjectKeys: "passthrough",
|
|
127
|
+
allowUnrecognizedUnionMembers: true,
|
|
128
|
+
allowUnrecognizedEnumValues: true,
|
|
129
|
+
breadcrumbsPrefix: ["response"],
|
|
130
|
+
}), _response.rawResponse);
|
|
123
131
|
case 500:
|
|
124
132
|
throw new MavenAGI.ServerError(serializers.ErrorMessage.parseOrThrow(_response.error.body, {
|
|
125
133
|
unrecognizedObjectKeys: "passthrough",
|
|
@@ -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",
|