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
|
@@ -18,6 +18,7 @@ export declare class Analytics {
|
|
|
18
18
|
*
|
|
19
19
|
* @throws {@link MavenAGI.NotFoundError}
|
|
20
20
|
* @throws {@link MavenAGI.BadRequestError}
|
|
21
|
+
* @throws {@link MavenAGI.PayloadTooLargeError}
|
|
21
22
|
* @throws {@link MavenAGI.ServerError}
|
|
22
23
|
*
|
|
23
24
|
* @example
|
|
@@ -60,6 +61,7 @@ export declare class Analytics {
|
|
|
60
61
|
*
|
|
61
62
|
* @throws {@link MavenAGI.NotFoundError}
|
|
62
63
|
* @throws {@link MavenAGI.BadRequestError}
|
|
64
|
+
* @throws {@link MavenAGI.PayloadTooLargeError}
|
|
63
65
|
* @throws {@link MavenAGI.ServerError}
|
|
64
66
|
*
|
|
65
67
|
* @example
|
|
@@ -116,6 +118,7 @@ export declare class Analytics {
|
|
|
116
118
|
* This outputs the current table view defined by the request. For most programmatic use cases, prefer `getConversationTable` and format client-side. The CSV format may change and should not be relied upon by code consumers. A maximum of 10,000 rows can be exported at a time.
|
|
117
119
|
* @throws {@link MavenAGI.NotFoundError}
|
|
118
120
|
* @throws {@link MavenAGI.BadRequestError}
|
|
121
|
+
* @throws {@link MavenAGI.PayloadTooLargeError}
|
|
119
122
|
* @throws {@link MavenAGI.ServerError}
|
|
120
123
|
*/
|
|
121
124
|
exportConversationTable(request: MavenAGI.ConversationTableRequest, requestOptions?: Analytics.RequestOptions): core.HttpResponsePromise<core.BinaryResponse>;
|
|
@@ -128,6 +131,7 @@ export declare class Analytics {
|
|
|
128
131
|
*
|
|
129
132
|
* @throws {@link MavenAGI.NotFoundError}
|
|
130
133
|
* @throws {@link MavenAGI.BadRequestError}
|
|
134
|
+
* @throws {@link MavenAGI.PayloadTooLargeError}
|
|
131
135
|
* @throws {@link MavenAGI.ServerError}
|
|
132
136
|
*
|
|
133
137
|
* @example
|
|
@@ -156,6 +160,7 @@ export declare class Analytics {
|
|
|
156
160
|
*
|
|
157
161
|
* @throws {@link MavenAGI.NotFoundError}
|
|
158
162
|
* @throws {@link MavenAGI.BadRequestError}
|
|
163
|
+
* @throws {@link MavenAGI.PayloadTooLargeError}
|
|
159
164
|
* @throws {@link MavenAGI.ServerError}
|
|
160
165
|
*
|
|
161
166
|
* @example
|
|
@@ -181,6 +186,7 @@ export declare class Analytics {
|
|
|
181
186
|
*
|
|
182
187
|
* @throws {@link MavenAGI.NotFoundError}
|
|
183
188
|
* @throws {@link MavenAGI.BadRequestError}
|
|
189
|
+
* @throws {@link MavenAGI.PayloadTooLargeError}
|
|
184
190
|
* @throws {@link MavenAGI.ServerError}
|
|
185
191
|
*
|
|
186
192
|
* @example
|
|
@@ -209,6 +215,7 @@ export declare class Analytics {
|
|
|
209
215
|
*
|
|
210
216
|
* @throws {@link MavenAGI.NotFoundError}
|
|
211
217
|
* @throws {@link MavenAGI.BadRequestError}
|
|
218
|
+
* @throws {@link MavenAGI.PayloadTooLargeError}
|
|
212
219
|
* @throws {@link MavenAGI.ServerError}
|
|
213
220
|
*
|
|
214
221
|
* @example
|
|
@@ -62,6 +62,7 @@ class Analytics {
|
|
|
62
62
|
*
|
|
63
63
|
* @throws {@link MavenAGI.NotFoundError}
|
|
64
64
|
* @throws {@link MavenAGI.BadRequestError}
|
|
65
|
+
* @throws {@link MavenAGI.PayloadTooLargeError}
|
|
65
66
|
* @throws {@link MavenAGI.ServerError}
|
|
66
67
|
*
|
|
67
68
|
* @example
|
|
@@ -144,6 +145,13 @@ class Analytics {
|
|
|
144
145
|
allowUnrecognizedEnumValues: true,
|
|
145
146
|
breadcrumbsPrefix: ["response"],
|
|
146
147
|
}), _response.rawResponse);
|
|
148
|
+
case 413:
|
|
149
|
+
throw new MavenAGI.PayloadTooLargeError(serializers.ErrorMessage.parseOrThrow(_response.error.body, {
|
|
150
|
+
unrecognizedObjectKeys: "passthrough",
|
|
151
|
+
allowUnrecognizedUnionMembers: true,
|
|
152
|
+
allowUnrecognizedEnumValues: true,
|
|
153
|
+
breadcrumbsPrefix: ["response"],
|
|
154
|
+
}), _response.rawResponse);
|
|
147
155
|
case 500:
|
|
148
156
|
throw new MavenAGI.ServerError(serializers.ErrorMessage.parseOrThrow(_response.error.body, {
|
|
149
157
|
unrecognizedObjectKeys: "passthrough",
|
|
@@ -184,6 +192,7 @@ class Analytics {
|
|
|
184
192
|
*
|
|
185
193
|
* @throws {@link MavenAGI.NotFoundError}
|
|
186
194
|
* @throws {@link MavenAGI.BadRequestError}
|
|
195
|
+
* @throws {@link MavenAGI.PayloadTooLargeError}
|
|
187
196
|
* @throws {@link MavenAGI.ServerError}
|
|
188
197
|
*
|
|
189
198
|
* @example
|
|
@@ -282,6 +291,13 @@ class Analytics {
|
|
|
282
291
|
allowUnrecognizedEnumValues: true,
|
|
283
292
|
breadcrumbsPrefix: ["response"],
|
|
284
293
|
}), _response.rawResponse);
|
|
294
|
+
case 413:
|
|
295
|
+
throw new MavenAGI.PayloadTooLargeError(serializers.ErrorMessage.parseOrThrow(_response.error.body, {
|
|
296
|
+
unrecognizedObjectKeys: "passthrough",
|
|
297
|
+
allowUnrecognizedUnionMembers: true,
|
|
298
|
+
allowUnrecognizedEnumValues: true,
|
|
299
|
+
breadcrumbsPrefix: ["response"],
|
|
300
|
+
}), _response.rawResponse);
|
|
285
301
|
case 500:
|
|
286
302
|
throw new MavenAGI.ServerError(serializers.ErrorMessage.parseOrThrow(_response.error.body, {
|
|
287
303
|
unrecognizedObjectKeys: "passthrough",
|
|
@@ -320,6 +336,7 @@ class Analytics {
|
|
|
320
336
|
* This outputs the current table view defined by the request. For most programmatic use cases, prefer `getConversationTable` and format client-side. The CSV format may change and should not be relied upon by code consumers. A maximum of 10,000 rows can be exported at a time.
|
|
321
337
|
* @throws {@link MavenAGI.NotFoundError}
|
|
322
338
|
* @throws {@link MavenAGI.BadRequestError}
|
|
339
|
+
* @throws {@link MavenAGI.PayloadTooLargeError}
|
|
323
340
|
* @throws {@link MavenAGI.ServerError}
|
|
324
341
|
*/
|
|
325
342
|
exportConversationTable(request, requestOptions) {
|
|
@@ -365,6 +382,13 @@ class Analytics {
|
|
|
365
382
|
allowUnrecognizedEnumValues: true,
|
|
366
383
|
breadcrumbsPrefix: ["response"],
|
|
367
384
|
}), _response.rawResponse);
|
|
385
|
+
case 413:
|
|
386
|
+
throw new MavenAGI.PayloadTooLargeError(serializers.ErrorMessage.parseOrThrow(_response.error.body, {
|
|
387
|
+
unrecognizedObjectKeys: "passthrough",
|
|
388
|
+
allowUnrecognizedUnionMembers: true,
|
|
389
|
+
allowUnrecognizedEnumValues: true,
|
|
390
|
+
breadcrumbsPrefix: ["response"],
|
|
391
|
+
}), _response.rawResponse);
|
|
368
392
|
case 500:
|
|
369
393
|
throw new MavenAGI.ServerError(serializers.ErrorMessage.parseOrThrow(_response.error.body, {
|
|
370
394
|
unrecognizedObjectKeys: "passthrough",
|
|
@@ -405,6 +429,7 @@ class Analytics {
|
|
|
405
429
|
*
|
|
406
430
|
* @throws {@link MavenAGI.NotFoundError}
|
|
407
431
|
* @throws {@link MavenAGI.BadRequestError}
|
|
432
|
+
* @throws {@link MavenAGI.PayloadTooLargeError}
|
|
408
433
|
* @throws {@link MavenAGI.ServerError}
|
|
409
434
|
*
|
|
410
435
|
* @example
|
|
@@ -473,6 +498,13 @@ class Analytics {
|
|
|
473
498
|
allowUnrecognizedEnumValues: true,
|
|
474
499
|
breadcrumbsPrefix: ["response"],
|
|
475
500
|
}), _response.rawResponse);
|
|
501
|
+
case 413:
|
|
502
|
+
throw new MavenAGI.PayloadTooLargeError(serializers.ErrorMessage.parseOrThrow(_response.error.body, {
|
|
503
|
+
unrecognizedObjectKeys: "passthrough",
|
|
504
|
+
allowUnrecognizedUnionMembers: true,
|
|
505
|
+
allowUnrecognizedEnumValues: true,
|
|
506
|
+
breadcrumbsPrefix: ["response"],
|
|
507
|
+
}), _response.rawResponse);
|
|
476
508
|
case 500:
|
|
477
509
|
throw new MavenAGI.ServerError(serializers.ErrorMessage.parseOrThrow(_response.error.body, {
|
|
478
510
|
unrecognizedObjectKeys: "passthrough",
|
|
@@ -513,6 +545,7 @@ class Analytics {
|
|
|
513
545
|
*
|
|
514
546
|
* @throws {@link MavenAGI.NotFoundError}
|
|
515
547
|
* @throws {@link MavenAGI.BadRequestError}
|
|
548
|
+
* @throws {@link MavenAGI.PayloadTooLargeError}
|
|
516
549
|
* @throws {@link MavenAGI.ServerError}
|
|
517
550
|
*
|
|
518
551
|
* @example
|
|
@@ -578,6 +611,13 @@ class Analytics {
|
|
|
578
611
|
allowUnrecognizedEnumValues: true,
|
|
579
612
|
breadcrumbsPrefix: ["response"],
|
|
580
613
|
}), _response.rawResponse);
|
|
614
|
+
case 413:
|
|
615
|
+
throw new MavenAGI.PayloadTooLargeError(serializers.ErrorMessage.parseOrThrow(_response.error.body, {
|
|
616
|
+
unrecognizedObjectKeys: "passthrough",
|
|
617
|
+
allowUnrecognizedUnionMembers: true,
|
|
618
|
+
allowUnrecognizedEnumValues: true,
|
|
619
|
+
breadcrumbsPrefix: ["response"],
|
|
620
|
+
}), _response.rawResponse);
|
|
581
621
|
case 500:
|
|
582
622
|
throw new MavenAGI.ServerError(serializers.ErrorMessage.parseOrThrow(_response.error.body, {
|
|
583
623
|
unrecognizedObjectKeys: "passthrough",
|
|
@@ -618,6 +658,7 @@ class Analytics {
|
|
|
618
658
|
*
|
|
619
659
|
* @throws {@link MavenAGI.NotFoundError}
|
|
620
660
|
* @throws {@link MavenAGI.BadRequestError}
|
|
661
|
+
* @throws {@link MavenAGI.PayloadTooLargeError}
|
|
621
662
|
* @throws {@link MavenAGI.ServerError}
|
|
622
663
|
*
|
|
623
664
|
* @example
|
|
@@ -686,6 +727,13 @@ class Analytics {
|
|
|
686
727
|
allowUnrecognizedEnumValues: true,
|
|
687
728
|
breadcrumbsPrefix: ["response"],
|
|
688
729
|
}), _response.rawResponse);
|
|
730
|
+
case 413:
|
|
731
|
+
throw new MavenAGI.PayloadTooLargeError(serializers.ErrorMessage.parseOrThrow(_response.error.body, {
|
|
732
|
+
unrecognizedObjectKeys: "passthrough",
|
|
733
|
+
allowUnrecognizedUnionMembers: true,
|
|
734
|
+
allowUnrecognizedEnumValues: true,
|
|
735
|
+
breadcrumbsPrefix: ["response"],
|
|
736
|
+
}), _response.rawResponse);
|
|
689
737
|
case 500:
|
|
690
738
|
throw new MavenAGI.ServerError(serializers.ErrorMessage.parseOrThrow(_response.error.body, {
|
|
691
739
|
unrecognizedObjectKeys: "passthrough",
|
|
@@ -726,6 +774,7 @@ class Analytics {
|
|
|
726
774
|
*
|
|
727
775
|
* @throws {@link MavenAGI.NotFoundError}
|
|
728
776
|
* @throws {@link MavenAGI.BadRequestError}
|
|
777
|
+
* @throws {@link MavenAGI.PayloadTooLargeError}
|
|
729
778
|
* @throws {@link MavenAGI.ServerError}
|
|
730
779
|
*
|
|
731
780
|
* @example
|
|
@@ -824,6 +873,13 @@ class Analytics {
|
|
|
824
873
|
allowUnrecognizedEnumValues: true,
|
|
825
874
|
breadcrumbsPrefix: ["response"],
|
|
826
875
|
}), _response.rawResponse);
|
|
876
|
+
case 413:
|
|
877
|
+
throw new MavenAGI.PayloadTooLargeError(serializers.ErrorMessage.parseOrThrow(_response.error.body, {
|
|
878
|
+
unrecognizedObjectKeys: "passthrough",
|
|
879
|
+
allowUnrecognizedUnionMembers: true,
|
|
880
|
+
allowUnrecognizedEnumValues: true,
|
|
881
|
+
breadcrumbsPrefix: ["response"],
|
|
882
|
+
}), _response.rawResponse);
|
|
827
883
|
case 500:
|
|
828
884
|
throw new MavenAGI.ServerError(serializers.ErrorMessage.parseOrThrow(_response.error.body, {
|
|
829
885
|
unrecognizedObjectKeys: "passthrough",
|
|
@@ -22,6 +22,7 @@ export declare class AppSettings {
|
|
|
22
22
|
*
|
|
23
23
|
* @throws {@link MavenAGI.NotFoundError}
|
|
24
24
|
* @throws {@link MavenAGI.BadRequestError}
|
|
25
|
+
* @throws {@link MavenAGI.PayloadTooLargeError}
|
|
25
26
|
* @throws {@link MavenAGI.ServerError}
|
|
26
27
|
*
|
|
27
28
|
* @example
|
|
@@ -38,6 +39,7 @@ export declare class AppSettings {
|
|
|
38
39
|
*
|
|
39
40
|
* @throws {@link MavenAGI.NotFoundError}
|
|
40
41
|
* @throws {@link MavenAGI.BadRequestError}
|
|
42
|
+
* @throws {@link MavenAGI.PayloadTooLargeError}
|
|
41
43
|
* @throws {@link MavenAGI.ServerError}
|
|
42
44
|
*
|
|
43
45
|
* @example
|
|
@@ -59,6 +61,7 @@ export declare class AppSettings {
|
|
|
59
61
|
*
|
|
60
62
|
* @throws {@link MavenAGI.NotFoundError}
|
|
61
63
|
* @throws {@link MavenAGI.BadRequestError}
|
|
64
|
+
* @throws {@link MavenAGI.PayloadTooLargeError}
|
|
62
65
|
* @throws {@link MavenAGI.ServerError}
|
|
63
66
|
*
|
|
64
67
|
* @example
|
|
@@ -66,6 +66,7 @@ class AppSettings {
|
|
|
66
66
|
*
|
|
67
67
|
* @throws {@link MavenAGI.NotFoundError}
|
|
68
68
|
* @throws {@link MavenAGI.BadRequestError}
|
|
69
|
+
* @throws {@link MavenAGI.PayloadTooLargeError}
|
|
69
70
|
* @throws {@link MavenAGI.ServerError}
|
|
70
71
|
*
|
|
71
72
|
* @example
|
|
@@ -123,6 +124,13 @@ class AppSettings {
|
|
|
123
124
|
allowUnrecognizedEnumValues: true,
|
|
124
125
|
breadcrumbsPrefix: ["response"],
|
|
125
126
|
}), _response.rawResponse);
|
|
127
|
+
case 413:
|
|
128
|
+
throw new MavenAGI.PayloadTooLargeError(serializers.ErrorMessage.parseOrThrow(_response.error.body, {
|
|
129
|
+
unrecognizedObjectKeys: "passthrough",
|
|
130
|
+
allowUnrecognizedUnionMembers: true,
|
|
131
|
+
allowUnrecognizedEnumValues: true,
|
|
132
|
+
breadcrumbsPrefix: ["response"],
|
|
133
|
+
}), _response.rawResponse);
|
|
126
134
|
case 500:
|
|
127
135
|
throw new MavenAGI.ServerError(serializers.ErrorMessage.parseOrThrow(_response.error.body, {
|
|
128
136
|
unrecognizedObjectKeys: "passthrough",
|
|
@@ -162,6 +170,7 @@ class AppSettings {
|
|
|
162
170
|
*
|
|
163
171
|
* @throws {@link MavenAGI.NotFoundError}
|
|
164
172
|
* @throws {@link MavenAGI.BadRequestError}
|
|
173
|
+
* @throws {@link MavenAGI.PayloadTooLargeError}
|
|
165
174
|
* @throws {@link MavenAGI.ServerError}
|
|
166
175
|
*
|
|
167
176
|
* @example
|
|
@@ -214,6 +223,13 @@ class AppSettings {
|
|
|
214
223
|
allowUnrecognizedEnumValues: true,
|
|
215
224
|
breadcrumbsPrefix: ["response"],
|
|
216
225
|
}), _response.rawResponse);
|
|
226
|
+
case 413:
|
|
227
|
+
throw new MavenAGI.PayloadTooLargeError(serializers.ErrorMessage.parseOrThrow(_response.error.body, {
|
|
228
|
+
unrecognizedObjectKeys: "passthrough",
|
|
229
|
+
allowUnrecognizedUnionMembers: true,
|
|
230
|
+
allowUnrecognizedEnumValues: true,
|
|
231
|
+
breadcrumbsPrefix: ["response"],
|
|
232
|
+
}), _response.rawResponse);
|
|
217
233
|
case 500:
|
|
218
234
|
throw new MavenAGI.ServerError(serializers.ErrorMessage.parseOrThrow(_response.error.body, {
|
|
219
235
|
unrecognizedObjectKeys: "passthrough",
|
|
@@ -260,6 +276,7 @@ class AppSettings {
|
|
|
260
276
|
*
|
|
261
277
|
* @throws {@link MavenAGI.NotFoundError}
|
|
262
278
|
* @throws {@link MavenAGI.BadRequestError}
|
|
279
|
+
* @throws {@link MavenAGI.PayloadTooLargeError}
|
|
263
280
|
* @throws {@link MavenAGI.ServerError}
|
|
264
281
|
*
|
|
265
282
|
* @example
|
|
@@ -319,6 +336,13 @@ class AppSettings {
|
|
|
319
336
|
allowUnrecognizedEnumValues: true,
|
|
320
337
|
breadcrumbsPrefix: ["response"],
|
|
321
338
|
}), _response.rawResponse);
|
|
339
|
+
case 413:
|
|
340
|
+
throw new MavenAGI.PayloadTooLargeError(serializers.ErrorMessage.parseOrThrow(_response.error.body, {
|
|
341
|
+
unrecognizedObjectKeys: "passthrough",
|
|
342
|
+
allowUnrecognizedUnionMembers: true,
|
|
343
|
+
allowUnrecognizedEnumValues: true,
|
|
344
|
+
breadcrumbsPrefix: ["response"],
|
|
345
|
+
}), _response.rawResponse);
|
|
322
346
|
case 500:
|
|
323
347
|
throw new MavenAGI.ServerError(serializers.ErrorMessage.parseOrThrow(_response.error.body, {
|
|
324
348
|
unrecognizedObjectKeys: "passthrough",
|
|
@@ -19,6 +19,7 @@ export declare class Assets {
|
|
|
19
19
|
*
|
|
20
20
|
* @throws {@link MavenAGI.NotFoundError}
|
|
21
21
|
* @throws {@link MavenAGI.BadRequestError}
|
|
22
|
+
* @throws {@link MavenAGI.PayloadTooLargeError}
|
|
22
23
|
* @throws {@link MavenAGI.ServerError}
|
|
23
24
|
*
|
|
24
25
|
* @example
|
|
@@ -38,6 +39,7 @@ export declare class Assets {
|
|
|
38
39
|
*
|
|
39
40
|
* @throws {@link MavenAGI.NotFoundError}
|
|
40
41
|
* @throws {@link MavenAGI.BadRequestError}
|
|
42
|
+
* @throws {@link MavenAGI.PayloadTooLargeError}
|
|
41
43
|
* @throws {@link MavenAGI.ServerError}
|
|
42
44
|
*
|
|
43
45
|
* @example
|
|
@@ -63,6 +63,7 @@ class Assets {
|
|
|
63
63
|
*
|
|
64
64
|
* @throws {@link MavenAGI.NotFoundError}
|
|
65
65
|
* @throws {@link MavenAGI.BadRequestError}
|
|
66
|
+
* @throws {@link MavenAGI.PayloadTooLargeError}
|
|
66
67
|
* @throws {@link MavenAGI.ServerError}
|
|
67
68
|
*
|
|
68
69
|
* @example
|
|
@@ -120,6 +121,13 @@ class Assets {
|
|
|
120
121
|
allowUnrecognizedEnumValues: true,
|
|
121
122
|
breadcrumbsPrefix: ["response"],
|
|
122
123
|
}), _response.rawResponse);
|
|
124
|
+
case 413:
|
|
125
|
+
throw new MavenAGI.PayloadTooLargeError(serializers.ErrorMessage.parseOrThrow(_response.error.body, {
|
|
126
|
+
unrecognizedObjectKeys: "passthrough",
|
|
127
|
+
allowUnrecognizedUnionMembers: true,
|
|
128
|
+
allowUnrecognizedEnumValues: true,
|
|
129
|
+
breadcrumbsPrefix: ["response"],
|
|
130
|
+
}), _response.rawResponse);
|
|
123
131
|
case 500:
|
|
124
132
|
throw new MavenAGI.ServerError(serializers.ErrorMessage.parseOrThrow(_response.error.body, {
|
|
125
133
|
unrecognizedObjectKeys: "passthrough",
|
|
@@ -162,6 +170,7 @@ class Assets {
|
|
|
162
170
|
*
|
|
163
171
|
* @throws {@link MavenAGI.NotFoundError}
|
|
164
172
|
* @throws {@link MavenAGI.BadRequestError}
|
|
173
|
+
* @throws {@link MavenAGI.PayloadTooLargeError}
|
|
165
174
|
* @throws {@link MavenAGI.ServerError}
|
|
166
175
|
*
|
|
167
176
|
* @example
|
|
@@ -209,6 +218,13 @@ class Assets {
|
|
|
209
218
|
allowUnrecognizedEnumValues: true,
|
|
210
219
|
breadcrumbsPrefix: ["response"],
|
|
211
220
|
}), _response.rawResponse);
|
|
221
|
+
case 413:
|
|
222
|
+
throw new MavenAGI.PayloadTooLargeError(serializers.ErrorMessage.parseOrThrow(_response.error.body, {
|
|
223
|
+
unrecognizedObjectKeys: "passthrough",
|
|
224
|
+
allowUnrecognizedUnionMembers: true,
|
|
225
|
+
allowUnrecognizedEnumValues: true,
|
|
226
|
+
breadcrumbsPrefix: ["response"],
|
|
227
|
+
}), _response.rawResponse);
|
|
212
228
|
case 500:
|
|
213
229
|
throw new MavenAGI.ServerError(serializers.ErrorMessage.parseOrThrow(_response.error.body, {
|
|
214
230
|
unrecognizedObjectKeys: "passthrough",
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
export interface CommitAssetUploadRequest {
|
|
2
|
-
/** MD5 hex digest of the uploaded file.
|
|
2
|
+
/** MD5 hex digest of the uploaded file. When provided, used to verify blob integrity. */
|
|
3
3
|
checksum?: string;
|
|
4
4
|
}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import type * as core from "../../../../core";
|
|
2
|
+
import * as errors from "../../../../errors/index";
|
|
3
|
+
import type * as MavenAGI from "../../../index";
|
|
4
|
+
export declare class PayloadTooLargeError extends errors.MavenAGIError {
|
|
5
|
+
constructor(body: MavenAGI.ErrorMessage, rawResponse?: core.RawResponse);
|
|
6
|
+
}
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
// This file was auto-generated by Fern from our API Definition.
|
|
3
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
4
|
+
if (k2 === undefined) k2 = k;
|
|
5
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
6
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
7
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
8
|
+
}
|
|
9
|
+
Object.defineProperty(o, k2, desc);
|
|
10
|
+
}) : (function(o, m, k, k2) {
|
|
11
|
+
if (k2 === undefined) k2 = k;
|
|
12
|
+
o[k2] = m[k];
|
|
13
|
+
}));
|
|
14
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
15
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
16
|
+
}) : function(o, v) {
|
|
17
|
+
o["default"] = v;
|
|
18
|
+
});
|
|
19
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
20
|
+
var ownKeys = function(o) {
|
|
21
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
22
|
+
var ar = [];
|
|
23
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
24
|
+
return ar;
|
|
25
|
+
};
|
|
26
|
+
return ownKeys(o);
|
|
27
|
+
};
|
|
28
|
+
return function (mod) {
|
|
29
|
+
if (mod && mod.__esModule) return mod;
|
|
30
|
+
var result = {};
|
|
31
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
32
|
+
__setModuleDefault(result, mod);
|
|
33
|
+
return result;
|
|
34
|
+
};
|
|
35
|
+
})();
|
|
36
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
37
|
+
exports.PayloadTooLargeError = void 0;
|
|
38
|
+
const errors = __importStar(require("../../../../errors/index"));
|
|
39
|
+
class PayloadTooLargeError extends errors.MavenAGIError {
|
|
40
|
+
constructor(body, rawResponse) {
|
|
41
|
+
super({
|
|
42
|
+
message: "PayloadTooLargeError",
|
|
43
|
+
statusCode: 413,
|
|
44
|
+
body: body,
|
|
45
|
+
rawResponse: rawResponse,
|
|
46
|
+
});
|
|
47
|
+
Object.setPrototypeOf(this, PayloadTooLargeError.prototype);
|
|
48
|
+
}
|
|
49
|
+
}
|
|
50
|
+
exports.PayloadTooLargeError = PayloadTooLargeError;
|
|
@@ -16,4 +16,5 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
|
16
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
17
|
__exportStar(require("./BadRequestError"), exports);
|
|
18
18
|
__exportStar(require("./NotFoundError"), exports);
|
|
19
|
+
__exportStar(require("./PayloadTooLargeError"), exports);
|
|
19
20
|
__exportStar(require("./ServerError"), exports);
|
|
@@ -25,6 +25,7 @@ export declare class Conversation {
|
|
|
25
25
|
*
|
|
26
26
|
* @throws {@link MavenAGI.NotFoundError}
|
|
27
27
|
* @throws {@link MavenAGI.BadRequestError}
|
|
28
|
+
* @throws {@link MavenAGI.PayloadTooLargeError}
|
|
28
29
|
* @throws {@link MavenAGI.ServerError}
|
|
29
30
|
*
|
|
30
31
|
* @example
|
|
@@ -67,6 +68,7 @@ export declare class Conversation {
|
|
|
67
68
|
*
|
|
68
69
|
* @throws {@link MavenAGI.NotFoundError}
|
|
69
70
|
* @throws {@link MavenAGI.BadRequestError}
|
|
71
|
+
* @throws {@link MavenAGI.PayloadTooLargeError}
|
|
70
72
|
* @throws {@link MavenAGI.ServerError}
|
|
71
73
|
*
|
|
72
74
|
* @example
|
|
@@ -85,6 +87,7 @@ export declare class Conversation {
|
|
|
85
87
|
*
|
|
86
88
|
* @throws {@link MavenAGI.NotFoundError}
|
|
87
89
|
* @throws {@link MavenAGI.BadRequestError}
|
|
90
|
+
* @throws {@link MavenAGI.PayloadTooLargeError}
|
|
88
91
|
* @throws {@link MavenAGI.ServerError}
|
|
89
92
|
*
|
|
90
93
|
* @example
|
|
@@ -110,6 +113,7 @@ export declare class Conversation {
|
|
|
110
113
|
*
|
|
111
114
|
* @throws {@link MavenAGI.NotFoundError}
|
|
112
115
|
* @throws {@link MavenAGI.BadRequestError}
|
|
116
|
+
* @throws {@link MavenAGI.PayloadTooLargeError}
|
|
113
117
|
* @throws {@link MavenAGI.ServerError}
|
|
114
118
|
*
|
|
115
119
|
* @example
|
|
@@ -128,6 +132,7 @@ export declare class Conversation {
|
|
|
128
132
|
*
|
|
129
133
|
* @throws {@link MavenAGI.NotFoundError}
|
|
130
134
|
* @throws {@link MavenAGI.BadRequestError}
|
|
135
|
+
* @throws {@link MavenAGI.PayloadTooLargeError}
|
|
131
136
|
* @throws {@link MavenAGI.ServerError}
|
|
132
137
|
*
|
|
133
138
|
* @example
|
|
@@ -170,6 +175,7 @@ export declare class Conversation {
|
|
|
170
175
|
*
|
|
171
176
|
* @throws {@link MavenAGI.NotFoundError}
|
|
172
177
|
* @throws {@link MavenAGI.BadRequestError}
|
|
178
|
+
* @throws {@link MavenAGI.PayloadTooLargeError}
|
|
173
179
|
* @throws {@link MavenAGI.ServerError}
|
|
174
180
|
*
|
|
175
181
|
* @example
|
|
@@ -219,6 +225,7 @@ export declare class Conversation {
|
|
|
219
225
|
*
|
|
220
226
|
* @throws {@link MavenAGI.NotFoundError}
|
|
221
227
|
* @throws {@link MavenAGI.BadRequestError}
|
|
228
|
+
* @throws {@link MavenAGI.PayloadTooLargeError}
|
|
222
229
|
* @throws {@link MavenAGI.ServerError}
|
|
223
230
|
*
|
|
224
231
|
* @example
|
|
@@ -234,6 +241,7 @@ export declare class Conversation {
|
|
|
234
241
|
*
|
|
235
242
|
* @throws {@link MavenAGI.NotFoundError}
|
|
236
243
|
* @throws {@link MavenAGI.BadRequestError}
|
|
244
|
+
* @throws {@link MavenAGI.PayloadTooLargeError}
|
|
237
245
|
* @throws {@link MavenAGI.ServerError}
|
|
238
246
|
*
|
|
239
247
|
* @example
|
|
@@ -269,6 +277,7 @@ export declare class Conversation {
|
|
|
269
277
|
*
|
|
270
278
|
* @throws {@link MavenAGI.NotFoundError}
|
|
271
279
|
* @throws {@link MavenAGI.BadRequestError}
|
|
280
|
+
* @throws {@link MavenAGI.PayloadTooLargeError}
|
|
272
281
|
* @throws {@link MavenAGI.ServerError}
|
|
273
282
|
*
|
|
274
283
|
* @example
|
|
@@ -294,6 +303,7 @@ export declare class Conversation {
|
|
|
294
303
|
*
|
|
295
304
|
* @throws {@link MavenAGI.NotFoundError}
|
|
296
305
|
* @throws {@link MavenAGI.BadRequestError}
|
|
306
|
+
* @throws {@link MavenAGI.PayloadTooLargeError}
|
|
297
307
|
* @throws {@link MavenAGI.ServerError}
|
|
298
308
|
*
|
|
299
309
|
* @example
|
|
@@ -318,6 +328,7 @@ export declare class Conversation {
|
|
|
318
328
|
*
|
|
319
329
|
* @throws {@link MavenAGI.NotFoundError}
|
|
320
330
|
* @throws {@link MavenAGI.BadRequestError}
|
|
331
|
+
* @throws {@link MavenAGI.PayloadTooLargeError}
|
|
321
332
|
* @throws {@link MavenAGI.ServerError}
|
|
322
333
|
*
|
|
323
334
|
* @example
|
|
@@ -338,6 +349,7 @@ export declare class Conversation {
|
|
|
338
349
|
*
|
|
339
350
|
* @throws {@link MavenAGI.NotFoundError}
|
|
340
351
|
* @throws {@link MavenAGI.BadRequestError}
|
|
352
|
+
* @throws {@link MavenAGI.PayloadTooLargeError}
|
|
341
353
|
* @throws {@link MavenAGI.ServerError}
|
|
342
354
|
*
|
|
343
355
|
* @example
|
|
@@ -354,6 +366,7 @@ export declare class Conversation {
|
|
|
354
366
|
* The CSV format may change over time and should not be relied upon by code consumers.
|
|
355
367
|
* @throws {@link MavenAGI.NotFoundError}
|
|
356
368
|
* @throws {@link MavenAGI.BadRequestError}
|
|
369
|
+
* @throws {@link MavenAGI.PayloadTooLargeError}
|
|
357
370
|
* @throws {@link MavenAGI.ServerError}
|
|
358
371
|
*/
|
|
359
372
|
export(request: MavenAGI.ConversationsSearchRequest, requestOptions?: Conversation.RequestOptions): core.HttpResponsePromise<core.BinaryResponse>;
|
|
@@ -373,6 +386,7 @@ export declare class Conversation {
|
|
|
373
386
|
*
|
|
374
387
|
* @throws {@link MavenAGI.NotFoundError}
|
|
375
388
|
* @throws {@link MavenAGI.BadRequestError}
|
|
389
|
+
* @throws {@link MavenAGI.PayloadTooLargeError}
|
|
376
390
|
* @throws {@link MavenAGI.ServerError}
|
|
377
391
|
*/
|
|
378
392
|
importSimulations(file: core.file.Uploadable, request: MavenAGI.SimulationImportRequest, requestOptions?: Conversation.RequestOptions): core.HttpResponsePromise<void>;
|
|
@@ -390,6 +404,7 @@ export declare class Conversation {
|
|
|
390
404
|
*
|
|
391
405
|
* @throws {@link MavenAGI.NotFoundError}
|
|
392
406
|
* @throws {@link MavenAGI.BadRequestError}
|
|
407
|
+
* @throws {@link MavenAGI.PayloadTooLargeError}
|
|
393
408
|
* @throws {@link MavenAGI.ServerError}
|
|
394
409
|
*
|
|
395
410
|
* @example
|