@matech/thebigpos-sdk 2.44.1-rc1 → 2.44.2-ai-bi
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/.husky/pre-commit +2 -2
- package/LICENSE +21 -21
- package/dist/index.d.ts +1439 -175
- package/dist/index.js +838 -176
- package/dist/index.js.map +1 -1
- package/package.json +5 -6
- package/src/index.ts +3027 -1072
- package/tsconfig.json +27 -27
package/dist/index.js
CHANGED
|
@@ -30,6 +30,15 @@ var __rest = (this && this.__rest) || function (s, e) {
|
|
|
30
30
|
return t;
|
|
31
31
|
};
|
|
32
32
|
import axios from "axios";
|
|
33
|
+
export var ContentType;
|
|
34
|
+
(function (ContentType) {
|
|
35
|
+
ContentType["JsonPatch"] = "application/json-patch+json";
|
|
36
|
+
ContentType["Json"] = "application/json";
|
|
37
|
+
ContentType["JsonApi"] = "application/vnd.api+json";
|
|
38
|
+
ContentType["FormData"] = "multipart/form-data";
|
|
39
|
+
ContentType["UrlEncoded"] = "application/x-www-form-urlencoded";
|
|
40
|
+
ContentType["Text"] = "text/plain";
|
|
41
|
+
})(ContentType || (ContentType = {}));
|
|
33
42
|
export class HttpClient {
|
|
34
43
|
constructor(_a = {}) {
|
|
35
44
|
var { securityWorker, secure, format } = _a, axiosConfig = __rest(_a, ["securityWorker", "secure", "format"]);
|
|
@@ -45,13 +54,13 @@ export class HttpClient {
|
|
|
45
54
|
{};
|
|
46
55
|
const requestParams = this.mergeRequestParams(params, secureParams);
|
|
47
56
|
const responseFormat = format || this.format || undefined;
|
|
48
|
-
if (type ===
|
|
57
|
+
if (type === ContentType.FormData &&
|
|
49
58
|
body &&
|
|
50
59
|
body !== null &&
|
|
51
60
|
typeof body === "object") {
|
|
52
61
|
body = this.createFormData(body);
|
|
53
62
|
}
|
|
54
|
-
if (type ===
|
|
63
|
+
if (type === ContentType.Text &&
|
|
55
64
|
body &&
|
|
56
65
|
body !== null &&
|
|
57
66
|
typeof body !== "string") {
|
|
@@ -95,7 +104,7 @@ export class HttpClient {
|
|
|
95
104
|
}
|
|
96
105
|
/**
|
|
97
106
|
* @title The Big POS API
|
|
98
|
-
* @version v2.44.
|
|
107
|
+
* @version v2.44.2
|
|
99
108
|
* @termsOfService https://www.thebigpos.com/terms-of-use/
|
|
100
109
|
* @contact Mortgage Automation Technologies <support@thebigpos.com> (https://www.thebigpos.com/terms-of-use/)
|
|
101
110
|
*/
|
|
@@ -147,7 +156,7 @@ export class Api extends HttpClient {
|
|
|
147
156
|
* @response `404` `ProblemDetails` Not Found
|
|
148
157
|
* @response `422` `ProblemDetails` Unprocessable Content
|
|
149
158
|
*/
|
|
150
|
-
replaceMyAccount: (data, params = {}) => this.request(Object.assign({ path: `/api/account`, method: "PUT", body: data, secure: true, type:
|
|
159
|
+
replaceMyAccount: (data, params = {}) => this.request(Object.assign({ path: `/api/account`, method: "PUT", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
|
|
151
160
|
/**
|
|
152
161
|
* No description
|
|
153
162
|
*
|
|
@@ -170,7 +179,7 @@ export class Api extends HttpClient {
|
|
|
170
179
|
* @response `200` `SiteConfiguration` OK
|
|
171
180
|
* @response `422` `UnprocessableEntity` Unprocessable Content
|
|
172
181
|
*/
|
|
173
|
-
updateSiteConfigurationForAccount: (data, params = {}) => this.request(Object.assign({ path: `/api/account/site-configurations`, method: "PUT", body: data, secure: true, type:
|
|
182
|
+
updateSiteConfigurationForAccount: (data, params = {}) => this.request(Object.assign({ path: `/api/account/site-configurations`, method: "PUT", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
|
|
174
183
|
/**
|
|
175
184
|
* No description
|
|
176
185
|
*
|
|
@@ -181,7 +190,7 @@ export class Api extends HttpClient {
|
|
|
181
190
|
* @secure
|
|
182
191
|
* @response `204` `void` No Content
|
|
183
192
|
*/
|
|
184
|
-
requestAccountReactivation: (data, params = {}) => this.request(Object.assign({ path: `/api/account/reactivation/request`, method: "POST", body: data, secure: true, type:
|
|
193
|
+
requestAccountReactivation: (data, params = {}) => this.request(Object.assign({ path: `/api/account/reactivation/request`, method: "POST", body: data, secure: true, type: ContentType.Json }, params)),
|
|
185
194
|
/**
|
|
186
195
|
* No description
|
|
187
196
|
*
|
|
@@ -193,7 +202,7 @@ export class Api extends HttpClient {
|
|
|
193
202
|
* @response `204` `void` No Content
|
|
194
203
|
* @response `400` `ProblemDetails` Bad Request
|
|
195
204
|
*/
|
|
196
|
-
completeAccountReactivation: (data, params = {}) => this.request(Object.assign({ path: `/api/account/reactivation/complete`, method: "POST", body: data, secure: true, type:
|
|
205
|
+
completeAccountReactivation: (data, params = {}) => this.request(Object.assign({ path: `/api/account/reactivation/complete`, method: "POST", body: data, secure: true, type: ContentType.Json }, params)),
|
|
197
206
|
/**
|
|
198
207
|
* No description
|
|
199
208
|
*
|
|
@@ -216,7 +225,7 @@ export class Api extends HttpClient {
|
|
|
216
225
|
* @response `201` `Account` Created
|
|
217
226
|
* @response `422` `ProblemDetails` Unprocessable Content
|
|
218
227
|
*/
|
|
219
|
-
createAccount: (data, params = {}) => this.request(Object.assign({ path: `/api/accounts`, method: "POST", body: data, secure: true, type:
|
|
228
|
+
createAccount: (data, params = {}) => this.request(Object.assign({ path: `/api/accounts`, method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
|
|
220
229
|
/**
|
|
221
230
|
* No description
|
|
222
231
|
*
|
|
@@ -254,7 +263,660 @@ export class Api extends HttpClient {
|
|
|
254
263
|
* @response `404` `ProblemDetails` Not Found
|
|
255
264
|
* @response `422` `ProblemDetails` Unprocessable Content
|
|
256
265
|
*/
|
|
257
|
-
updateAccountBilling: (id, data, params = {}) => this.request(Object.assign({ path: `/api/accounts/${id}/billing`, method: "PUT", body: data, secure: true, type:
|
|
266
|
+
updateAccountBilling: (id, data, params = {}) => this.request(Object.assign({ path: `/api/accounts/${id}/billing`, method: "PUT", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
|
|
267
|
+
/**
|
|
268
|
+
* No description
|
|
269
|
+
*
|
|
270
|
+
* @tags AiAdmin
|
|
271
|
+
* @name GetAiAuditLogs
|
|
272
|
+
* @summary Get paginated audit logs
|
|
273
|
+
* @request GET:/api/ai/admin/audit-logs
|
|
274
|
+
* @secure
|
|
275
|
+
* @response `200` `AiAuditLogPaginated` OK
|
|
276
|
+
*/
|
|
277
|
+
getAiAuditLogs: (query, params = {}) => this.request(Object.assign({ path: `/api/ai/admin/audit-logs`, method: "GET", query: query, secure: true, format: "json" }, params)),
|
|
278
|
+
/**
|
|
279
|
+
* No description
|
|
280
|
+
*
|
|
281
|
+
* @tags AiAdmin
|
|
282
|
+
* @name GetAiRequestLifecycle
|
|
283
|
+
* @summary Get the full event lifecycle of a single AI request
|
|
284
|
+
* @request GET:/api/ai/admin/audit-logs/request/{requestId}
|
|
285
|
+
* @secure
|
|
286
|
+
* @response `200` `(AiAuditLog)[]` OK
|
|
287
|
+
*/
|
|
288
|
+
getAiRequestLifecycle: (requestId, params = {}) => this.request(Object.assign({ path: `/api/ai/admin/audit-logs/request/${requestId}`, method: "GET", secure: true, format: "json" }, params)),
|
|
289
|
+
/**
|
|
290
|
+
* No description
|
|
291
|
+
*
|
|
292
|
+
* @tags AiAdmin
|
|
293
|
+
* @name GetAiAuditConversations
|
|
294
|
+
* @summary List conversations with their audit roll-up — origin user, turns, status, tokens
|
|
295
|
+
* @request GET:/api/ai/admin/audit-conversations
|
|
296
|
+
* @secure
|
|
297
|
+
* @response `200` `AiConversationAuditSummaryPaginated` OK
|
|
298
|
+
*/
|
|
299
|
+
getAiAuditConversations: (query, params = {}) => this.request(Object.assign({ path: `/api/ai/admin/audit-conversations`, method: "GET", query: query, secure: true, format: "json" }, params)),
|
|
300
|
+
/**
|
|
301
|
+
* No description
|
|
302
|
+
*
|
|
303
|
+
* @tags AiAdmin
|
|
304
|
+
* @name GetAiAdminStats
|
|
305
|
+
* @summary Get AI admin dashboard stats
|
|
306
|
+
* @request GET:/api/ai/admin/stats
|
|
307
|
+
* @secure
|
|
308
|
+
* @response `200` `AiAdminStats` OK
|
|
309
|
+
*/
|
|
310
|
+
getAiAdminStats: (query, params = {}) => this.request(Object.assign({ path: `/api/ai/admin/stats`, method: "GET", query: query, secure: true, format: "json" }, params)),
|
|
311
|
+
/**
|
|
312
|
+
* No description
|
|
313
|
+
*
|
|
314
|
+
* @tags AiAdmin
|
|
315
|
+
* @name GetAiConfigChanges
|
|
316
|
+
* @summary Get the AI configuration change history (who changed prompts, guardrails, fields, sources)
|
|
317
|
+
* @request GET:/api/ai/admin/config-changes
|
|
318
|
+
* @secure
|
|
319
|
+
* @response `200` `AiConfigChangeLogPaginated` OK
|
|
320
|
+
*/
|
|
321
|
+
getAiConfigChanges: (query, params = {}) => this.request(Object.assign({ path: `/api/ai/admin/config-changes`, method: "GET", query: query, secure: true, format: "json" }, params)),
|
|
322
|
+
/**
|
|
323
|
+
* No description
|
|
324
|
+
*
|
|
325
|
+
* @tags AiAdminPrompt
|
|
326
|
+
* @name GetAiPrompts
|
|
327
|
+
* @summary Get all prompts
|
|
328
|
+
* @request GET:/api/ai/admin/prompts
|
|
329
|
+
* @secure
|
|
330
|
+
* @response `200` `(AiPrompt)[]` OK
|
|
331
|
+
*/
|
|
332
|
+
getAiPrompts: (params = {}) => this.request(Object.assign({ path: `/api/ai/admin/prompts`, method: "GET", secure: true, format: "json" }, params)),
|
|
333
|
+
/**
|
|
334
|
+
* No description
|
|
335
|
+
*
|
|
336
|
+
* @tags AiAdminPrompt
|
|
337
|
+
* @name CreateAiPrompt
|
|
338
|
+
* @summary Create custom prompt
|
|
339
|
+
* @request POST:/api/ai/admin/prompts
|
|
340
|
+
* @secure
|
|
341
|
+
* @response `201` `AiPrompt` Created
|
|
342
|
+
* @response `400` `ProblemDetails` Bad Request
|
|
343
|
+
*/
|
|
344
|
+
createAiPrompt: (data, params = {}) => this.request(Object.assign({ path: `/api/ai/admin/prompts`, method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
|
|
345
|
+
/**
|
|
346
|
+
* No description
|
|
347
|
+
*
|
|
348
|
+
* @tags AiAdminPrompt
|
|
349
|
+
* @name GetAiPrompt
|
|
350
|
+
* @summary Get prompt by ID
|
|
351
|
+
* @request GET:/api/ai/admin/prompts/{id}
|
|
352
|
+
* @secure
|
|
353
|
+
* @response `200` `AiPrompt` OK
|
|
354
|
+
* @response `404` `ProblemDetails` Not Found
|
|
355
|
+
*/
|
|
356
|
+
getAiPrompt: (id, params = {}) => this.request(Object.assign({ path: `/api/ai/admin/prompts/${id}`, method: "GET", secure: true, format: "json" }, params)),
|
|
357
|
+
/**
|
|
358
|
+
* No description
|
|
359
|
+
*
|
|
360
|
+
* @tags AiAdminPrompt
|
|
361
|
+
* @name UpdateAiPrompt
|
|
362
|
+
* @summary Update prompt
|
|
363
|
+
* @request PUT:/api/ai/admin/prompts/{id}
|
|
364
|
+
* @secure
|
|
365
|
+
* @response `200` `AiPrompt` OK
|
|
366
|
+
* @response `400` `ProblemDetails` Bad Request
|
|
367
|
+
* @response `404` `ProblemDetails` Not Found
|
|
368
|
+
*/
|
|
369
|
+
updateAiPrompt: (id, data, params = {}) => this.request(Object.assign({ path: `/api/ai/admin/prompts/${id}`, method: "PUT", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
|
|
370
|
+
/**
|
|
371
|
+
* No description
|
|
372
|
+
*
|
|
373
|
+
* @tags AiAdminPrompt
|
|
374
|
+
* @name DeleteAiPrompt
|
|
375
|
+
* @summary Delete prompt
|
|
376
|
+
* @request DELETE:/api/ai/admin/prompts/{id}
|
|
377
|
+
* @secure
|
|
378
|
+
* @response `204` `void` No Content
|
|
379
|
+
* @response `400` `ProblemDetails` Bad Request
|
|
380
|
+
* @response `404` `ProblemDetails` Not Found
|
|
381
|
+
*/
|
|
382
|
+
deleteAiPrompt: (id, params = {}) => this.request(Object.assign({ path: `/api/ai/admin/prompts/${id}`, method: "DELETE", secure: true }, params)),
|
|
383
|
+
/**
|
|
384
|
+
* No description
|
|
385
|
+
*
|
|
386
|
+
* @tags AiAdminPrompt
|
|
387
|
+
* @name ToggleAiPrompt
|
|
388
|
+
* @summary Toggle prompt active/inactive
|
|
389
|
+
* @request PATCH:/api/ai/admin/prompts/{id}/toggle
|
|
390
|
+
* @secure
|
|
391
|
+
* @response `200` `AiPrompt` OK
|
|
392
|
+
* @response `404` `ProblemDetails` Not Found
|
|
393
|
+
*/
|
|
394
|
+
toggleAiPrompt: (id, params = {}) => this.request(Object.assign({ path: `/api/ai/admin/prompts/${id}/toggle`, method: "PATCH", secure: true, format: "json" }, params)),
|
|
395
|
+
/**
|
|
396
|
+
* No description
|
|
397
|
+
*
|
|
398
|
+
* @tags AiAdminPrompt
|
|
399
|
+
* @name GenerateAiSystemPrompt
|
|
400
|
+
* @summary Generate a system prompt from description
|
|
401
|
+
* @request POST:/api/ai/admin/prompts/generate
|
|
402
|
+
* @secure
|
|
403
|
+
* @response `200` `GenerateSystemPrompt` OK
|
|
404
|
+
* @response `400` `ProblemDetails` Bad Request
|
|
405
|
+
*/
|
|
406
|
+
generateAiSystemPrompt: (data, params = {}) => this.request(Object.assign({ path: `/api/ai/admin/prompts/generate`, method: "POST", body: data, secure: true, type: ContentType.JsonPatch, format: "json" }, params)),
|
|
407
|
+
/**
|
|
408
|
+
* No description
|
|
409
|
+
*
|
|
410
|
+
* @tags AiAdminPrompt
|
|
411
|
+
* @name GetSupportedModels
|
|
412
|
+
* @summary Get supported LLM models
|
|
413
|
+
* @request GET:/api/ai/admin/prompts/supported-models
|
|
414
|
+
* @secure
|
|
415
|
+
* @response `200` `(SupportedModel)[]` OK
|
|
416
|
+
*/
|
|
417
|
+
getSupportedModels: (params = {}) => this.request(Object.assign({ path: `/api/ai/admin/prompts/supported-models`, method: "GET", secure: true, format: "json" }, params)),
|
|
418
|
+
/**
|
|
419
|
+
* No description
|
|
420
|
+
*
|
|
421
|
+
* @tags AiAdminSettings
|
|
422
|
+
* @name GetAiAdminSettings
|
|
423
|
+
* @summary Get global AI settings
|
|
424
|
+
* @request GET:/api/ai/admin/settings
|
|
425
|
+
* @secure
|
|
426
|
+
* @response `200` `AiAdminSettings` OK
|
|
427
|
+
*/
|
|
428
|
+
getAiAdminSettings: (params = {}) => this.request(Object.assign({ path: `/api/ai/admin/settings`, method: "GET", secure: true, format: "json" }, params)),
|
|
429
|
+
/**
|
|
430
|
+
* No description
|
|
431
|
+
*
|
|
432
|
+
* @tags AiAdminSettings
|
|
433
|
+
* @name UpdateAiAdminSettings
|
|
434
|
+
* @summary Update global AI settings
|
|
435
|
+
* @request PUT:/api/ai/admin/settings
|
|
436
|
+
* @secure
|
|
437
|
+
* @response `200` `AiAdminSettings` OK
|
|
438
|
+
* @response `400` `ProblemDetails` Bad Request
|
|
439
|
+
*/
|
|
440
|
+
updateAiAdminSettings: (data, params = {}) => this.request(Object.assign({ path: `/api/ai/admin/settings`, method: "PUT", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
|
|
441
|
+
/**
|
|
442
|
+
* No description
|
|
443
|
+
*
|
|
444
|
+
* @tags AiCanonicalField
|
|
445
|
+
* @name GetAiCanonicalFields
|
|
446
|
+
* @summary Get all canonical fields
|
|
447
|
+
* @request GET:/api/ai/admin/fields
|
|
448
|
+
* @secure
|
|
449
|
+
* @response `200` `(AiCanonicalField)[]` OK
|
|
450
|
+
*/
|
|
451
|
+
getAiCanonicalFields: (params = {}) => this.request(Object.assign({ path: `/api/ai/admin/fields`, method: "GET", secure: true, format: "json" }, params)),
|
|
452
|
+
/**
|
|
453
|
+
* No description
|
|
454
|
+
*
|
|
455
|
+
* @tags AiCanonicalField
|
|
456
|
+
* @name CreateAiCanonicalField
|
|
457
|
+
* @summary Create canonical field
|
|
458
|
+
* @request POST:/api/ai/admin/fields
|
|
459
|
+
* @secure
|
|
460
|
+
* @response `201` `AiCanonicalField` Created
|
|
461
|
+
* @response `400` `ProblemDetails` Bad Request
|
|
462
|
+
*/
|
|
463
|
+
createAiCanonicalField: (data, params = {}) => this.request(Object.assign({ path: `/api/ai/admin/fields`, method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
|
|
464
|
+
/**
|
|
465
|
+
* No description
|
|
466
|
+
*
|
|
467
|
+
* @tags AiCanonicalField
|
|
468
|
+
* @name GetAiCanonicalField
|
|
469
|
+
* @summary Get canonical field by ID
|
|
470
|
+
* @request GET:/api/ai/admin/fields/{id}
|
|
471
|
+
* @secure
|
|
472
|
+
* @response `200` `AiCanonicalField` OK
|
|
473
|
+
* @response `404` `ProblemDetails` Not Found
|
|
474
|
+
*/
|
|
475
|
+
getAiCanonicalField: (id, params = {}) => this.request(Object.assign({ path: `/api/ai/admin/fields/${id}`, method: "GET", secure: true, format: "json" }, params)),
|
|
476
|
+
/**
|
|
477
|
+
* No description
|
|
478
|
+
*
|
|
479
|
+
* @tags AiCanonicalField
|
|
480
|
+
* @name UpdateAiCanonicalField
|
|
481
|
+
* @summary Update canonical field
|
|
482
|
+
* @request PUT:/api/ai/admin/fields/{id}
|
|
483
|
+
* @secure
|
|
484
|
+
* @response `200` `AiCanonicalField` OK
|
|
485
|
+
* @response `400` `ProblemDetails` Bad Request
|
|
486
|
+
* @response `404` `ProblemDetails` Not Found
|
|
487
|
+
*/
|
|
488
|
+
updateAiCanonicalField: (id, data, params = {}) => this.request(Object.assign({ path: `/api/ai/admin/fields/${id}`, method: "PUT", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
|
|
489
|
+
/**
|
|
490
|
+
* No description
|
|
491
|
+
*
|
|
492
|
+
* @tags AiCanonicalField
|
|
493
|
+
* @name DeleteAiCanonicalField
|
|
494
|
+
* @summary Delete canonical field
|
|
495
|
+
* @request DELETE:/api/ai/admin/fields/{id}
|
|
496
|
+
* @secure
|
|
497
|
+
* @response `204` `void` No Content
|
|
498
|
+
* @response `404` `ProblemDetails` Not Found
|
|
499
|
+
*/
|
|
500
|
+
deleteAiCanonicalField: (id, params = {}) => this.request(Object.assign({ path: `/api/ai/admin/fields/${id}`, method: "DELETE", secure: true }, params)),
|
|
501
|
+
/**
|
|
502
|
+
* No description
|
|
503
|
+
*
|
|
504
|
+
* @tags AiCanonicalField
|
|
505
|
+
* @name ToggleAiCanonicalField
|
|
506
|
+
* @summary Toggle canonical field active/inactive
|
|
507
|
+
* @request PATCH:/api/ai/admin/fields/{id}/toggle
|
|
508
|
+
* @secure
|
|
509
|
+
* @response `200` `AiCanonicalField` OK
|
|
510
|
+
* @response `404` `ProblemDetails` Not Found
|
|
511
|
+
*/
|
|
512
|
+
toggleAiCanonicalField: (id, params = {}) => this.request(Object.assign({ path: `/api/ai/admin/fields/${id}/toggle`, method: "PATCH", secure: true, format: "json" }, params)),
|
|
513
|
+
/**
|
|
514
|
+
* No description
|
|
515
|
+
*
|
|
516
|
+
* @tags AiChat
|
|
517
|
+
* @name AiChat
|
|
518
|
+
* @summary Send AI chat message
|
|
519
|
+
* @request POST:/api/ai/chat
|
|
520
|
+
* @secure
|
|
521
|
+
* @response `200` `AiChat` OK
|
|
522
|
+
* @response `400` `ProblemDetails` Bad Request
|
|
523
|
+
* @response `401` `ProblemDetails` Unauthorized
|
|
524
|
+
*/
|
|
525
|
+
aiChat: (data, params = {}) => this.request(Object.assign({ path: `/api/ai/chat`, method: "POST", body: data, secure: true, type: ContentType.JsonPatch, format: "json" }, params)),
|
|
526
|
+
/**
|
|
527
|
+
* No description
|
|
528
|
+
*
|
|
529
|
+
* @tags AiConversation
|
|
530
|
+
* @name GetAiConversations
|
|
531
|
+
* @summary Get user conversations
|
|
532
|
+
* @request GET:/api/ai/conversations
|
|
533
|
+
* @secure
|
|
534
|
+
* @response `200` `AiConversationListItemPaginated` OK
|
|
535
|
+
*/
|
|
536
|
+
getAiConversations: (query, params = {}) => this.request(Object.assign({ path: `/api/ai/conversations`, method: "GET", query: query, secure: true, format: "json" }, params)),
|
|
537
|
+
/**
|
|
538
|
+
* No description
|
|
539
|
+
*
|
|
540
|
+
* @tags AiConversation
|
|
541
|
+
* @name GetAiConversation
|
|
542
|
+
* @summary Get conversation metadata
|
|
543
|
+
* @request GET:/api/ai/conversations/{id}
|
|
544
|
+
* @secure
|
|
545
|
+
* @response `200` `AiConversationDetail` OK
|
|
546
|
+
* @response `403` `ProblemDetails` Forbidden
|
|
547
|
+
* @response `404` `ProblemDetails` Not Found
|
|
548
|
+
*/
|
|
549
|
+
getAiConversation: (id, params = {}) => this.request(Object.assign({ path: `/api/ai/conversations/${id}`, method: "GET", secure: true, format: "json" }, params)),
|
|
550
|
+
/**
|
|
551
|
+
* No description
|
|
552
|
+
*
|
|
553
|
+
* @tags AiConversation
|
|
554
|
+
* @name RenameAiConversation
|
|
555
|
+
* @summary Rename conversation
|
|
556
|
+
* @request PATCH:/api/ai/conversations/{id}
|
|
557
|
+
* @secure
|
|
558
|
+
* @response `200` `AiConversationDetail` OK
|
|
559
|
+
* @response `400` `ProblemDetails` Bad Request
|
|
560
|
+
* @response `403` `ProblemDetails` Forbidden
|
|
561
|
+
* @response `404` `ProblemDetails` Not Found
|
|
562
|
+
*/
|
|
563
|
+
renameAiConversation: (id, data, params = {}) => this.request(Object.assign({ path: `/api/ai/conversations/${id}`, method: "PATCH", body: data, secure: true, type: ContentType.JsonPatch, format: "json" }, params)),
|
|
564
|
+
/**
|
|
565
|
+
* No description
|
|
566
|
+
*
|
|
567
|
+
* @tags AiConversation
|
|
568
|
+
* @name DeleteAiConversation
|
|
569
|
+
* @summary Delete conversation
|
|
570
|
+
* @request DELETE:/api/ai/conversations/{id}
|
|
571
|
+
* @secure
|
|
572
|
+
* @response `204` `void` No Content
|
|
573
|
+
* @response `403` `ProblemDetails` Forbidden
|
|
574
|
+
* @response `404` `ProblemDetails` Not Found
|
|
575
|
+
*/
|
|
576
|
+
deleteAiConversation: (id, params = {}) => this.request(Object.assign({ path: `/api/ai/conversations/${id}`, method: "DELETE", secure: true }, params)),
|
|
577
|
+
/**
|
|
578
|
+
* No description
|
|
579
|
+
*
|
|
580
|
+
* @tags AiConversation
|
|
581
|
+
* @name GetAiConversationMessages
|
|
582
|
+
* @summary Get conversation messages
|
|
583
|
+
* @request GET:/api/ai/conversations/{id}/messages
|
|
584
|
+
* @secure
|
|
585
|
+
* @response `200` `AiChatMessagePaginated` OK
|
|
586
|
+
* @response `403` `ProblemDetails` Forbidden
|
|
587
|
+
* @response `404` `ProblemDetails` Not Found
|
|
588
|
+
*/
|
|
589
|
+
getAiConversationMessages: (id, query, params = {}) => this.request(Object.assign({ path: `/api/ai/conversations/${id}/messages`, method: "GET", query: query, secure: true, format: "json" }, params)),
|
|
590
|
+
/**
|
|
591
|
+
* No description
|
|
592
|
+
*
|
|
593
|
+
* @tags AiConversation
|
|
594
|
+
* @name ClearAiConversationHistory
|
|
595
|
+
* @summary Clear conversation history
|
|
596
|
+
* @request DELETE:/api/ai/conversations/{id}/messages
|
|
597
|
+
* @secure
|
|
598
|
+
* @response `204` `void` No Content
|
|
599
|
+
* @response `403` `ProblemDetails` Forbidden
|
|
600
|
+
* @response `404` `ProblemDetails` Not Found
|
|
601
|
+
*/
|
|
602
|
+
clearAiConversationHistory: (id, params = {}) => this.request(Object.assign({ path: `/api/ai/conversations/${id}/messages`, method: "DELETE", secure: true }, params)),
|
|
603
|
+
/**
|
|
604
|
+
* No description
|
|
605
|
+
*
|
|
606
|
+
* @tags AiConversation
|
|
607
|
+
* @name PinAiConversation
|
|
608
|
+
* @summary Pin or unpin conversation
|
|
609
|
+
* @request PUT:/api/ai/conversations/{id}/pin
|
|
610
|
+
* @secure
|
|
611
|
+
* @response `200` `AiConversationDetail` OK
|
|
612
|
+
* @response `403` `ProblemDetails` Forbidden
|
|
613
|
+
* @response `404` `ProblemDetails` Not Found
|
|
614
|
+
*/
|
|
615
|
+
pinAiConversation: (id, data, params = {}) => this.request(Object.assign({ path: `/api/ai/conversations/${id}/pin`, method: "PUT", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
|
|
616
|
+
/**
|
|
617
|
+
* No description
|
|
618
|
+
*
|
|
619
|
+
* @tags AiConversationAdmin
|
|
620
|
+
* @name GetAiAccountConversations
|
|
621
|
+
* @summary List AI conversations across the account, optionally filtered by user (admin supervision)
|
|
622
|
+
* @request GET:/api/ai/admin/conversations
|
|
623
|
+
* @secure
|
|
624
|
+
* @response `200` `AiConversationListItemPaginated` OK
|
|
625
|
+
*/
|
|
626
|
+
getAiAccountConversations: (query, params = {}) => this.request(Object.assign({ path: `/api/ai/admin/conversations`, method: "GET", query: query, secure: true, format: "json" }, params)),
|
|
627
|
+
/**
|
|
628
|
+
* No description
|
|
629
|
+
*
|
|
630
|
+
* @tags AiConversationAdmin
|
|
631
|
+
* @name GetAiAccountConversation
|
|
632
|
+
* @summary Get an account conversation's detail (admin supervision)
|
|
633
|
+
* @request GET:/api/ai/admin/conversations/{id}
|
|
634
|
+
* @secure
|
|
635
|
+
* @response `200` `AiConversationDetail` OK
|
|
636
|
+
* @response `404` `ProblemDetails` Not Found
|
|
637
|
+
*/
|
|
638
|
+
getAiAccountConversation: (id, params = {}) => this.request(Object.assign({ path: `/api/ai/admin/conversations/${id}`, method: "GET", secure: true, format: "json" }, params)),
|
|
639
|
+
/**
|
|
640
|
+
* No description
|
|
641
|
+
*
|
|
642
|
+
* @tags AiConversationAdmin
|
|
643
|
+
* @name GetAiAccountConversationMessages
|
|
644
|
+
* @summary Get an account conversation's messages (admin supervision)
|
|
645
|
+
* @request GET:/api/ai/admin/conversations/{id}/messages
|
|
646
|
+
* @secure
|
|
647
|
+
* @response `200` `AiChatMessagePaginated` OK
|
|
648
|
+
* @response `404` `ProblemDetails` Not Found
|
|
649
|
+
*/
|
|
650
|
+
getAiAccountConversationMessages: (id, query, params = {}) => this.request(Object.assign({ path: `/api/ai/admin/conversations/${id}/messages`, method: "GET", query: query, secure: true, format: "json" }, params)),
|
|
651
|
+
/**
|
|
652
|
+
* No description
|
|
653
|
+
*
|
|
654
|
+
* @tags AiGuardrail
|
|
655
|
+
* @name GetAiGuardrails
|
|
656
|
+
* @summary Get all guardrails
|
|
657
|
+
* @request GET:/api/ai/admin/guardrails
|
|
658
|
+
* @secure
|
|
659
|
+
* @response `200` `(AiGuardrail)[]` OK
|
|
660
|
+
*/
|
|
661
|
+
getAiGuardrails: (params = {}) => this.request(Object.assign({ path: `/api/ai/admin/guardrails`, method: "GET", secure: true, format: "json" }, params)),
|
|
662
|
+
/**
|
|
663
|
+
* No description
|
|
664
|
+
*
|
|
665
|
+
* @tags AiGuardrail
|
|
666
|
+
* @name CreateAiGuardrail
|
|
667
|
+
* @summary Create custom guardrail
|
|
668
|
+
* @request POST:/api/ai/admin/guardrails
|
|
669
|
+
* @secure
|
|
670
|
+
* @response `201` `AiGuardrail` Created
|
|
671
|
+
* @response `400` `ProblemDetails` Bad Request
|
|
672
|
+
*/
|
|
673
|
+
createAiGuardrail: (data, params = {}) => this.request(Object.assign({ path: `/api/ai/admin/guardrails`, method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
|
|
674
|
+
/**
|
|
675
|
+
* No description
|
|
676
|
+
*
|
|
677
|
+
* @tags AiGuardrail
|
|
678
|
+
* @name GetAiGuardrail
|
|
679
|
+
* @summary Get guardrail by ID
|
|
680
|
+
* @request GET:/api/ai/admin/guardrails/{id}
|
|
681
|
+
* @secure
|
|
682
|
+
* @response `200` `AiGuardrail` OK
|
|
683
|
+
* @response `404` `ProblemDetails` Not Found
|
|
684
|
+
*/
|
|
685
|
+
getAiGuardrail: (id, params = {}) => this.request(Object.assign({ path: `/api/ai/admin/guardrails/${id}`, method: "GET", secure: true, format: "json" }, params)),
|
|
686
|
+
/**
|
|
687
|
+
* No description
|
|
688
|
+
*
|
|
689
|
+
* @tags AiGuardrail
|
|
690
|
+
* @name UpdateAiGuardrail
|
|
691
|
+
* @summary Update guardrail
|
|
692
|
+
* @request PUT:/api/ai/admin/guardrails/{id}
|
|
693
|
+
* @secure
|
|
694
|
+
* @response `200` `AiGuardrail` OK
|
|
695
|
+
* @response `400` `ProblemDetails` Bad Request
|
|
696
|
+
* @response `404` `ProblemDetails` Not Found
|
|
697
|
+
*/
|
|
698
|
+
updateAiGuardrail: (id, data, params = {}) => this.request(Object.assign({ path: `/api/ai/admin/guardrails/${id}`, method: "PUT", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
|
|
699
|
+
/**
|
|
700
|
+
* No description
|
|
701
|
+
*
|
|
702
|
+
* @tags AiGuardrail
|
|
703
|
+
* @name DeleteAiGuardrail
|
|
704
|
+
* @summary Delete guardrail
|
|
705
|
+
* @request DELETE:/api/ai/admin/guardrails/{id}
|
|
706
|
+
* @secure
|
|
707
|
+
* @response `204` `void` No Content
|
|
708
|
+
* @response `400` `ProblemDetails` Bad Request
|
|
709
|
+
* @response `404` `ProblemDetails` Not Found
|
|
710
|
+
*/
|
|
711
|
+
deleteAiGuardrail: (id, params = {}) => this.request(Object.assign({ path: `/api/ai/admin/guardrails/${id}`, method: "DELETE", secure: true }, params)),
|
|
712
|
+
/**
|
|
713
|
+
* No description
|
|
714
|
+
*
|
|
715
|
+
* @tags AiGuardrail
|
|
716
|
+
* @name ToggleAiGuardrail
|
|
717
|
+
* @summary Toggle guardrail enabled/disabled
|
|
718
|
+
* @request PATCH:/api/ai/admin/guardrails/{id}/toggle
|
|
719
|
+
* @secure
|
|
720
|
+
* @response `200` `AiGuardrail` OK
|
|
721
|
+
* @response `404` `ProblemDetails` Not Found
|
|
722
|
+
*/
|
|
723
|
+
toggleAiGuardrail: (id, params = {}) => this.request(Object.assign({ path: `/api/ai/admin/guardrails/${id}/toggle`, method: "PATCH", secure: true, format: "json" }, params)),
|
|
724
|
+
/**
|
|
725
|
+
* No description
|
|
726
|
+
*
|
|
727
|
+
* @tags AiPrompt
|
|
728
|
+
* @name GetAvailablePrompts
|
|
729
|
+
* @summary Get available prompts for current user
|
|
730
|
+
* @request GET:/api/ai/prompts
|
|
731
|
+
* @secure
|
|
732
|
+
* @response `200` `(AiPromptSummary)[]` OK
|
|
733
|
+
*/
|
|
734
|
+
getAvailablePrompts: (query, params = {}) => this.request(Object.assign({ path: `/api/ai/prompts`, method: "GET", query: query, secure: true, format: "json" }, params)),
|
|
735
|
+
/**
|
|
736
|
+
* No description
|
|
737
|
+
*
|
|
738
|
+
* @tags AiSuperAdmin
|
|
739
|
+
* @name GetAiAuditLogsCrossAccount
|
|
740
|
+
* @summary Get AI audit logs for a specific account or across all accounts
|
|
741
|
+
* @request GET:/api/ai/superadmin/audit-logs
|
|
742
|
+
* @secure
|
|
743
|
+
* @response `200` `AiAuditLogPaginated` OK
|
|
744
|
+
*/
|
|
745
|
+
getAiAuditLogsCrossAccount: (query, params = {}) => this.request(Object.assign({ path: `/api/ai/superadmin/audit-logs`, method: "GET", query: query, secure: true, format: "json" }, params)),
|
|
746
|
+
/**
|
|
747
|
+
* No description
|
|
748
|
+
*
|
|
749
|
+
* @tags AiSuperAdmin
|
|
750
|
+
* @name GetAiRequestLifecycleCrossAccount
|
|
751
|
+
* @summary Get the full event lifecycle of a single AI request from any account
|
|
752
|
+
* @request GET:/api/ai/superadmin/audit-logs/request/{requestId}
|
|
753
|
+
* @secure
|
|
754
|
+
* @response `200` `(AiAuditLog)[]` OK
|
|
755
|
+
*/
|
|
756
|
+
getAiRequestLifecycleCrossAccount: (requestId, query, params = {}) => this.request(Object.assign({ path: `/api/ai/superadmin/audit-logs/request/${requestId}`, method: "GET", query: query, secure: true, format: "json" }, params)),
|
|
757
|
+
/**
|
|
758
|
+
* No description
|
|
759
|
+
*
|
|
760
|
+
* @tags AiSuperAdmin
|
|
761
|
+
* @name GetAiStatsCrossAccount
|
|
762
|
+
* @summary Get AI stats for a specific account or platform-wide
|
|
763
|
+
* @request GET:/api/ai/superadmin/stats
|
|
764
|
+
* @secure
|
|
765
|
+
* @response `200` `AiAdminStats` OK
|
|
766
|
+
*/
|
|
767
|
+
getAiStatsCrossAccount: (query, params = {}) => this.request(Object.assign({ path: `/api/ai/superadmin/stats`, method: "GET", query: query, secure: true, format: "json" }, params)),
|
|
768
|
+
/**
|
|
769
|
+
* No description
|
|
770
|
+
*
|
|
771
|
+
* @tags AiSuperAdmin
|
|
772
|
+
* @name GetAiConfigChangesCrossAccount
|
|
773
|
+
* @summary Get AI configuration change history for a specific account or across all accounts (incl. global defaults)
|
|
774
|
+
* @request GET:/api/ai/superadmin/config-changes
|
|
775
|
+
* @secure
|
|
776
|
+
* @response `200` `AiConfigChangeLogPaginated` OK
|
|
777
|
+
*/
|
|
778
|
+
getAiConfigChangesCrossAccount: (query, params = {}) => this.request(Object.assign({ path: `/api/ai/superadmin/config-changes`, method: "GET", query: query, secure: true, format: "json" }, params)),
|
|
779
|
+
/**
|
|
780
|
+
* No description
|
|
781
|
+
*
|
|
782
|
+
* @tags AiTokenUsageAdmin
|
|
783
|
+
* @name SearchAiAccountTokenUsage
|
|
784
|
+
* @summary Search accounts by current-month AI token usage and classification
|
|
785
|
+
* @request POST:/api/ai/admin/token-usage/search
|
|
786
|
+
* @secure
|
|
787
|
+
* @response `200` `AiAccountUsageOverviewPaginated` OK
|
|
788
|
+
*/
|
|
789
|
+
searchAiAccountTokenUsage: (data, query, params = {}) => this.request(Object.assign({ path: `/api/ai/admin/token-usage/search`, method: "POST", query: query, body: data, secure: true, type: ContentType.JsonPatch, format: "json" }, params)),
|
|
790
|
+
/**
|
|
791
|
+
* No description
|
|
792
|
+
*
|
|
793
|
+
* @tags AiTokenUsageAdmin
|
|
794
|
+
* @name GetAiAccountTokenUsage
|
|
795
|
+
* @summary Get an account's current-month AI token usage
|
|
796
|
+
* @request GET:/api/ai/admin/token-usage/{accountId}
|
|
797
|
+
* @secure
|
|
798
|
+
* @response `200` `AiTokenBudgetStatus` OK
|
|
799
|
+
*/
|
|
800
|
+
getAiAccountTokenUsage: (accountId, params = {}) => this.request(Object.assign({ path: `/api/ai/admin/token-usage/${accountId}`, method: "GET", secure: true, format: "json" }, params)),
|
|
801
|
+
/**
|
|
802
|
+
* No description
|
|
803
|
+
*
|
|
804
|
+
* @tags AiTokenUsageAdmin
|
|
805
|
+
* @name GetAiAccountTokenUsageHistory
|
|
806
|
+
* @summary Get an account's monthly AI token usage history
|
|
807
|
+
* @request GET:/api/ai/admin/token-usage/{accountId}/history
|
|
808
|
+
* @secure
|
|
809
|
+
* @response `200` `AiTokenUsageWindowPaginated` OK
|
|
810
|
+
*/
|
|
811
|
+
getAiAccountTokenUsageHistory: (accountId, query, params = {}) => this.request(Object.assign({ path: `/api/ai/admin/token-usage/${accountId}/history`, method: "GET", query: query, secure: true, format: "json" }, params)),
|
|
812
|
+
/**
|
|
813
|
+
* No description
|
|
814
|
+
*
|
|
815
|
+
* @tags AiTokenUsageAdmin
|
|
816
|
+
* @name SetAiAccountTokenLimit
|
|
817
|
+
* @summary Set or raise an account's monthly AI token limit
|
|
818
|
+
* @request PUT:/api/ai/admin/token-usage/{accountId}/limit
|
|
819
|
+
* @secure
|
|
820
|
+
* @response `200` `AiTokenBudgetStatus` OK
|
|
821
|
+
* @response `400` `ProblemDetails` Bad Request
|
|
822
|
+
*/
|
|
823
|
+
setAiAccountTokenLimit: (accountId, data, params = {}) => this.request(Object.assign({ path: `/api/ai/admin/token-usage/${accountId}/limit`, method: "PUT", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
|
|
824
|
+
/**
|
|
825
|
+
* No description
|
|
826
|
+
*
|
|
827
|
+
* @tags AiUrlSource
|
|
828
|
+
* @name GetAiUrlSources
|
|
829
|
+
* @summary Get all URL sources
|
|
830
|
+
* @request GET:/api/ai/admin/url-sources
|
|
831
|
+
* @secure
|
|
832
|
+
* @response `200` `(AiUrlSource)[]` OK
|
|
833
|
+
*/
|
|
834
|
+
getAiUrlSources: (params = {}) => this.request(Object.assign({ path: `/api/ai/admin/url-sources`, method: "GET", secure: true, format: "json" }, params)),
|
|
835
|
+
/**
|
|
836
|
+
* No description
|
|
837
|
+
*
|
|
838
|
+
* @tags AiUrlSource
|
|
839
|
+
* @name CreateAiUrlSource
|
|
840
|
+
* @summary Create URL source
|
|
841
|
+
* @request POST:/api/ai/admin/url-sources
|
|
842
|
+
* @secure
|
|
843
|
+
* @response `201` `AiUrlSource` Created
|
|
844
|
+
* @response `400` `ProblemDetails` Bad Request
|
|
845
|
+
* @response `409` `ProblemDetails` Conflict
|
|
846
|
+
*/
|
|
847
|
+
createAiUrlSource: (data, params = {}) => this.request(Object.assign({ path: `/api/ai/admin/url-sources`, method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
|
|
848
|
+
/**
|
|
849
|
+
* No description
|
|
850
|
+
*
|
|
851
|
+
* @tags AiUrlSource
|
|
852
|
+
* @name GetAiUrlSource
|
|
853
|
+
* @summary Get URL source by ID
|
|
854
|
+
* @request GET:/api/ai/admin/url-sources/{id}
|
|
855
|
+
* @secure
|
|
856
|
+
* @response `200` `AiUrlSource` OK
|
|
857
|
+
* @response `404` `ProblemDetails` Not Found
|
|
858
|
+
*/
|
|
859
|
+
getAiUrlSource: (id, params = {}) => this.request(Object.assign({ path: `/api/ai/admin/url-sources/${id}`, method: "GET", secure: true, format: "json" }, params)),
|
|
860
|
+
/**
|
|
861
|
+
* No description
|
|
862
|
+
*
|
|
863
|
+
* @tags AiUrlSource
|
|
864
|
+
* @name UpdateAiUrlSource
|
|
865
|
+
* @summary Update URL source
|
|
866
|
+
* @request PUT:/api/ai/admin/url-sources/{id}
|
|
867
|
+
* @secure
|
|
868
|
+
* @response `200` `AiUrlSource` OK
|
|
869
|
+
* @response `400` `ProblemDetails` Bad Request
|
|
870
|
+
* @response `404` `ProblemDetails` Not Found
|
|
871
|
+
* @response `409` `ProblemDetails` Conflict
|
|
872
|
+
*/
|
|
873
|
+
updateAiUrlSource: (id, data, params = {}) => this.request(Object.assign({ path: `/api/ai/admin/url-sources/${id}`, method: "PUT", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
|
|
874
|
+
/**
|
|
875
|
+
* No description
|
|
876
|
+
*
|
|
877
|
+
* @tags AiUrlSource
|
|
878
|
+
* @name DeleteAiUrlSource
|
|
879
|
+
* @summary Delete URL source
|
|
880
|
+
* @request DELETE:/api/ai/admin/url-sources/{id}
|
|
881
|
+
* @secure
|
|
882
|
+
* @response `204` `void` No Content
|
|
883
|
+
* @response `404` `ProblemDetails` Not Found
|
|
884
|
+
*/
|
|
885
|
+
deleteAiUrlSource: (id, params = {}) => this.request(Object.assign({ path: `/api/ai/admin/url-sources/${id}`, method: "DELETE", secure: true }, params)),
|
|
886
|
+
/**
|
|
887
|
+
* No description
|
|
888
|
+
*
|
|
889
|
+
* @tags AiUrlSource
|
|
890
|
+
* @name ToggleAiUrlSource
|
|
891
|
+
* @summary Toggle URL source active/inactive
|
|
892
|
+
* @request PATCH:/api/ai/admin/url-sources/{id}/toggle
|
|
893
|
+
* @secure
|
|
894
|
+
* @response `200` `AiUrlSource` OK
|
|
895
|
+
* @response `404` `ProblemDetails` Not Found
|
|
896
|
+
*/
|
|
897
|
+
toggleAiUrlSource: (id, params = {}) => this.request(Object.assign({ path: `/api/ai/admin/url-sources/${id}/toggle`, method: "PATCH", secure: true, format: "json" }, params)),
|
|
898
|
+
/**
|
|
899
|
+
* No description
|
|
900
|
+
*
|
|
901
|
+
* @tags AiUsage
|
|
902
|
+
* @name GetAiUsage
|
|
903
|
+
* @summary Get the current account's AI token usage for the active monthly window
|
|
904
|
+
* @request GET:/api/ai/usage
|
|
905
|
+
* @secure
|
|
906
|
+
* @response `200` `AiTokenBudgetStatus` OK
|
|
907
|
+
*/
|
|
908
|
+
getAiUsage: (params = {}) => this.request(Object.assign({ path: `/api/ai/usage`, method: "GET", secure: true, format: "json" }, params)),
|
|
909
|
+
/**
|
|
910
|
+
* No description
|
|
911
|
+
*
|
|
912
|
+
* @tags AiUsage
|
|
913
|
+
* @name GetAiUsageHistory
|
|
914
|
+
* @summary Get the current account's monthly AI token usage history
|
|
915
|
+
* @request GET:/api/ai/usage/history
|
|
916
|
+
* @secure
|
|
917
|
+
* @response `200` `AiTokenUsageWindowPaginated` OK
|
|
918
|
+
*/
|
|
919
|
+
getAiUsageHistory: (query, params = {}) => this.request(Object.assign({ path: `/api/ai/usage/history`, method: "GET", query: query, secure: true, format: "json" }, params)),
|
|
258
920
|
/**
|
|
259
921
|
* No description
|
|
260
922
|
*
|
|
@@ -265,7 +927,7 @@ export class Api extends HttpClient {
|
|
|
265
927
|
* @secure
|
|
266
928
|
* @response `200` `AuditLogEntryPaginated` OK
|
|
267
929
|
*/
|
|
268
|
-
searchAuditLogs: (data, query, params = {}) => this.request(Object.assign({ path: `/api/audit-logs/search`, method: "POST", query: query, body: data, secure: true, type:
|
|
930
|
+
searchAuditLogs: (data, query, params = {}) => this.request(Object.assign({ path: `/api/audit-logs/search`, method: "POST", query: query, body: data, secure: true, type: ContentType.JsonPatch, format: "json" }, params)),
|
|
269
931
|
/**
|
|
270
932
|
* No description
|
|
271
933
|
*
|
|
@@ -301,7 +963,7 @@ export class Api extends HttpClient {
|
|
|
301
963
|
* @response `401` `ProblemDetails` Unauthorized
|
|
302
964
|
* @response `422` `UnprocessableEntity` Unprocessable Content
|
|
303
965
|
*/
|
|
304
|
-
getTokenFromRefreshToken: (data, params = {}) => this.request(Object.assign({ path: `/api/refresh-token`, method: "POST", body: data, secure: true, type:
|
|
966
|
+
getTokenFromRefreshToken: (data, params = {}) => this.request(Object.assign({ path: `/api/refresh-token`, method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
|
|
305
967
|
/**
|
|
306
968
|
* No description
|
|
307
969
|
*
|
|
@@ -313,7 +975,7 @@ export class Api extends HttpClient {
|
|
|
313
975
|
* @response `200` `AccountDeactivated` OK
|
|
314
976
|
* @response `422` `UnprocessableEntity` Unprocessable Content
|
|
315
977
|
*/
|
|
316
|
-
getToken: (data, params = {}) => this.request(Object.assign({ path: `/api/token`, method: "POST", body: data, secure: true, type:
|
|
978
|
+
getToken: (data, params = {}) => this.request(Object.assign({ path: `/api/token`, method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
|
|
317
979
|
/**
|
|
318
980
|
* No description
|
|
319
981
|
*
|
|
@@ -325,7 +987,7 @@ export class Api extends HttpClient {
|
|
|
325
987
|
* @response `200` `AccountDeactivated` OK
|
|
326
988
|
* @response `422` `UnprocessableEntity` Unprocessable Content
|
|
327
989
|
*/
|
|
328
|
-
getTokenFromChallengeCode: (data, params = {}) => this.request(Object.assign({ path: `/api/token/code`, method: "POST", body: data, secure: true, type:
|
|
990
|
+
getTokenFromChallengeCode: (data, params = {}) => this.request(Object.assign({ path: `/api/token/code`, method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
|
|
329
991
|
/**
|
|
330
992
|
* No description
|
|
331
993
|
*
|
|
@@ -337,7 +999,7 @@ export class Api extends HttpClient {
|
|
|
337
999
|
* @response `200` `Token` OK
|
|
338
1000
|
* @response `422` `UnprocessableEntity` Unprocessable Content
|
|
339
1001
|
*/
|
|
340
|
-
getSystemToken: (data, params = {}) => this.request(Object.assign({ path: `/api/oauth2/token`, method: "POST", body: data, secure: true, type:
|
|
1002
|
+
getSystemToken: (data, params = {}) => this.request(Object.assign({ path: `/api/oauth2/token`, method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
|
|
341
1003
|
/**
|
|
342
1004
|
* No description
|
|
343
1005
|
*
|
|
@@ -349,7 +1011,7 @@ export class Api extends HttpClient {
|
|
|
349
1011
|
* @response `200` `SSOToken` OK
|
|
350
1012
|
* @response `422` `UnprocessableEntity` Unprocessable Content
|
|
351
1013
|
*/
|
|
352
|
-
getSsoToken: (data, params = {}) => this.request(Object.assign({ path: `/api/token/sso`, method: "POST", body: data, secure: true, type:
|
|
1014
|
+
getSsoToken: (data, params = {}) => this.request(Object.assign({ path: `/api/token/sso`, method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
|
|
353
1015
|
/**
|
|
354
1016
|
* No description
|
|
355
1017
|
*
|
|
@@ -384,7 +1046,7 @@ export class Api extends HttpClient {
|
|
|
384
1046
|
* @response `200` `GetBranch` OK
|
|
385
1047
|
* @response `422` `UnprocessableEntity` Unprocessable Content
|
|
386
1048
|
*/
|
|
387
|
-
createBranch: (data, params = {}) => this.request(Object.assign({ path: `/api/branches`, method: "POST", body: data, secure: true, type:
|
|
1049
|
+
createBranch: (data, params = {}) => this.request(Object.assign({ path: `/api/branches`, method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
|
|
388
1050
|
/**
|
|
389
1051
|
* No description
|
|
390
1052
|
*
|
|
@@ -395,7 +1057,7 @@ export class Api extends HttpClient {
|
|
|
395
1057
|
* @secure
|
|
396
1058
|
* @response `200` `GetBranchPaginated` OK
|
|
397
1059
|
*/
|
|
398
|
-
searchBranches: (data, query, params = {}) => this.request(Object.assign({ path: `/api/branches/search`, method: "POST", query: query, body: data, secure: true, type:
|
|
1060
|
+
searchBranches: (data, query, params = {}) => this.request(Object.assign({ path: `/api/branches/search`, method: "POST", query: query, body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
|
|
399
1061
|
/**
|
|
400
1062
|
* No description
|
|
401
1063
|
*
|
|
@@ -418,7 +1080,7 @@ export class Api extends HttpClient {
|
|
|
418
1080
|
* @response `200` `GetBranch` OK
|
|
419
1081
|
* @response `422` `UnprocessableEntity` Unprocessable Content
|
|
420
1082
|
*/
|
|
421
|
-
replaceBranch: (branchId, data, params = {}) => this.request(Object.assign({ path: `/api/branches/${branchId}`, method: "PUT", body: data, secure: true, type:
|
|
1083
|
+
replaceBranch: (branchId, data, params = {}) => this.request(Object.assign({ path: `/api/branches/${branchId}`, method: "PUT", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
|
|
422
1084
|
/**
|
|
423
1085
|
* No description
|
|
424
1086
|
*
|
|
@@ -453,7 +1115,7 @@ export class Api extends HttpClient {
|
|
|
453
1115
|
* @response `200` `SiteConfiguration` OK
|
|
454
1116
|
* @response `422` `UnprocessableEntity` Unprocessable Content
|
|
455
1117
|
*/
|
|
456
|
-
createBranchSiteConfiguration: (branchId, data, params = {}) => this.request(Object.assign({ path: `/api/branches/${branchId}/site-configurations`, method: "POST", body: data, secure: true, type:
|
|
1118
|
+
createBranchSiteConfiguration: (branchId, data, params = {}) => this.request(Object.assign({ path: `/api/branches/${branchId}/site-configurations`, method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
|
|
457
1119
|
/**
|
|
458
1120
|
* No description
|
|
459
1121
|
*
|
|
@@ -476,7 +1138,7 @@ export class Api extends HttpClient {
|
|
|
476
1138
|
* @response `200` `SiteConfiguration` OK
|
|
477
1139
|
* @response `422` `UnprocessableEntity` Unprocessable Content
|
|
478
1140
|
*/
|
|
479
|
-
replaceBranchSiteConfiguration: (branchId, siteConfigurationId, data, query, params = {}) => this.request(Object.assign({ path: `/api/branches/${branchId}/site-configurations/${siteConfigurationId}`, method: "PUT", query: query, body: data, secure: true, type:
|
|
1141
|
+
replaceBranchSiteConfiguration: (branchId, siteConfigurationId, data, query, params = {}) => this.request(Object.assign({ path: `/api/branches/${branchId}/site-configurations/${siteConfigurationId}`, method: "PUT", query: query, body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
|
|
480
1142
|
/**
|
|
481
1143
|
* No description
|
|
482
1144
|
*
|
|
@@ -510,7 +1172,7 @@ export class Api extends HttpClient {
|
|
|
510
1172
|
* @response `200` `BusinessRule` OK
|
|
511
1173
|
* @response `422` `UnprocessableEntity` Unprocessable Content
|
|
512
1174
|
*/
|
|
513
|
-
createBusinessRule: (data, params = {}) => this.request(Object.assign({ path: `/api/business-rules`, method: "POST", body: data, secure: true, type:
|
|
1175
|
+
createBusinessRule: (data, params = {}) => this.request(Object.assign({ path: `/api/business-rules`, method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
|
|
514
1176
|
/**
|
|
515
1177
|
* No description
|
|
516
1178
|
*
|
|
@@ -533,7 +1195,7 @@ export class Api extends HttpClient {
|
|
|
533
1195
|
* @response `200` `BusinessRule` OK
|
|
534
1196
|
* @response `422` `UnprocessableEntity` Unprocessable Content
|
|
535
1197
|
*/
|
|
536
|
-
replaceBusinessRule: (id, data, params = {}) => this.request(Object.assign({ path: `/api/business-rules/${id}`, method: "PUT", body: data, secure: true, type:
|
|
1198
|
+
replaceBusinessRule: (id, data, params = {}) => this.request(Object.assign({ path: `/api/business-rules/${id}`, method: "PUT", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
|
|
537
1199
|
/**
|
|
538
1200
|
* No description
|
|
539
1201
|
*
|
|
@@ -566,7 +1228,7 @@ export class Api extends HttpClient {
|
|
|
566
1228
|
* @secure
|
|
567
1229
|
* @response `200` `ClosedLoansReport` OK
|
|
568
1230
|
*/
|
|
569
|
-
getClosedLoansReport: (data, params = {}) => this.request(Object.assign({ path: `/api/loans/reports/closed-loans`, method: "POST", body: data, secure: true, type:
|
|
1231
|
+
getClosedLoansReport: (data, params = {}) => this.request(Object.assign({ path: `/api/loans/reports/closed-loans`, method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
|
|
570
1232
|
/**
|
|
571
1233
|
* No description
|
|
572
1234
|
*
|
|
@@ -611,7 +1273,7 @@ export class Api extends HttpClient {
|
|
|
611
1273
|
* @response `200` `Corporate` OK
|
|
612
1274
|
* @response `422` `UnprocessableEntity` Unprocessable Content
|
|
613
1275
|
*/
|
|
614
|
-
createCorporate: (data, params = {}) => this.request(Object.assign({ path: `/api/corporates`, method: "POST", body: data, secure: true, type:
|
|
1276
|
+
createCorporate: (data, params = {}) => this.request(Object.assign({ path: `/api/corporates`, method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
|
|
615
1277
|
/**
|
|
616
1278
|
* No description
|
|
617
1279
|
*
|
|
@@ -622,7 +1284,7 @@ export class Api extends HttpClient {
|
|
|
622
1284
|
* @secure
|
|
623
1285
|
* @response `200` `CorporatePaginated` OK
|
|
624
1286
|
*/
|
|
625
|
-
searchCorporate: (data, query, params = {}) => this.request(Object.assign({ path: `/api/corporates/search`, method: "POST", query: query, body: data, secure: true, type:
|
|
1287
|
+
searchCorporate: (data, query, params = {}) => this.request(Object.assign({ path: `/api/corporates/search`, method: "POST", query: query, body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
|
|
626
1288
|
/**
|
|
627
1289
|
* No description
|
|
628
1290
|
*
|
|
@@ -645,7 +1307,7 @@ export class Api extends HttpClient {
|
|
|
645
1307
|
* @response `200` `Corporate` OK
|
|
646
1308
|
* @response `422` `UnprocessableEntity` Unprocessable Content
|
|
647
1309
|
*/
|
|
648
|
-
replaceCorporate: (id, data, params = {}) => this.request(Object.assign({ path: `/api/corporates/${id}`, method: "PUT", body: data, secure: true, type:
|
|
1310
|
+
replaceCorporate: (id, data, params = {}) => this.request(Object.assign({ path: `/api/corporates/${id}`, method: "PUT", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
|
|
649
1311
|
/**
|
|
650
1312
|
* No description
|
|
651
1313
|
*
|
|
@@ -679,7 +1341,7 @@ export class Api extends HttpClient {
|
|
|
679
1341
|
* @response `200` `SiteConfiguration` OK
|
|
680
1342
|
* @response `422` `UnprocessableEntity` Unprocessable Content
|
|
681
1343
|
*/
|
|
682
|
-
createCorporateSiteConfiguration: (corporateId, data, params = {}) => this.request(Object.assign({ path: `/api/corporates/${corporateId}/site-configurations`, method: "POST", body: data, secure: true, type:
|
|
1344
|
+
createCorporateSiteConfiguration: (corporateId, data, params = {}) => this.request(Object.assign({ path: `/api/corporates/${corporateId}/site-configurations`, method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
|
|
683
1345
|
/**
|
|
684
1346
|
* No description
|
|
685
1347
|
*
|
|
@@ -702,7 +1364,7 @@ export class Api extends HttpClient {
|
|
|
702
1364
|
* @response `200` `SiteConfiguration` OK
|
|
703
1365
|
* @response `422` `UnprocessableEntity` Unprocessable Content
|
|
704
1366
|
*/
|
|
705
|
-
replaceCorporateSiteConfiguration: (corporateId, siteConfigurationId, data, query, params = {}) => this.request(Object.assign({ path: `/api/corporates/${corporateId}/site-configurations/${siteConfigurationId}`, method: "PUT", query: query, body: data, secure: true, type:
|
|
1367
|
+
replaceCorporateSiteConfiguration: (corporateId, siteConfigurationId, data, query, params = {}) => this.request(Object.assign({ path: `/api/corporates/${corporateId}/site-configurations/${siteConfigurationId}`, method: "PUT", query: query, body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
|
|
706
1368
|
/**
|
|
707
1369
|
* No description
|
|
708
1370
|
*
|
|
@@ -748,7 +1410,7 @@ export class Api extends HttpClient {
|
|
|
748
1410
|
* @response `409` `ProblemDetails` Conflict
|
|
749
1411
|
* @response `422` `ProblemDetails` Unprocessable Content
|
|
750
1412
|
*/
|
|
751
|
-
createCustomFieldDefinition: (data, params = {}) => this.request(Object.assign({ path: `/api/custom-field-definitions`, method: "POST", body: data, secure: true, type:
|
|
1413
|
+
createCustomFieldDefinition: (data, params = {}) => this.request(Object.assign({ path: `/api/custom-field-definitions`, method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
|
|
752
1414
|
/**
|
|
753
1415
|
* No description
|
|
754
1416
|
*
|
|
@@ -775,7 +1437,7 @@ export class Api extends HttpClient {
|
|
|
775
1437
|
* @response `409` `ProblemDetails` Conflict
|
|
776
1438
|
* @response `422` `ProblemDetails` Unprocessable Content
|
|
777
1439
|
*/
|
|
778
|
-
updateCustomFieldDefinition: (id, data, params = {}) => this.request(Object.assign({ path: `/api/custom-field-definitions/${id}`, method: "PUT", body: data, secure: true, type:
|
|
1440
|
+
updateCustomFieldDefinition: (id, data, params = {}) => this.request(Object.assign({ path: `/api/custom-field-definitions/${id}`, method: "PUT", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
|
|
779
1441
|
/**
|
|
780
1442
|
* No description
|
|
781
1443
|
*
|
|
@@ -845,7 +1507,7 @@ export class Api extends HttpClient {
|
|
|
845
1507
|
* @secure
|
|
846
1508
|
* @response `200` `Device` OK
|
|
847
1509
|
*/
|
|
848
|
-
updateDevice: (id, data, params = {}) => this.request(Object.assign({ path: `/api/devices/${id}`, method: "PUT", body: data, secure: true, type:
|
|
1510
|
+
updateDevice: (id, data, params = {}) => this.request(Object.assign({ path: `/api/devices/${id}`, method: "PUT", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
|
|
849
1511
|
/**
|
|
850
1512
|
* No description
|
|
851
1513
|
*
|
|
@@ -902,7 +1564,7 @@ export class Api extends HttpClient {
|
|
|
902
1564
|
* @response `404` `ProblemDetails` Not Found
|
|
903
1565
|
* @response `422` `UnprocessableEntity` Unprocessable Content
|
|
904
1566
|
*/
|
|
905
|
-
createDocumentTemplate: (data, params = {}) => this.request(Object.assign({ path: `/api/document-templates`, method: "POST", body: data, secure: true, type:
|
|
1567
|
+
createDocumentTemplate: (data, params = {}) => this.request(Object.assign({ path: `/api/document-templates`, method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
|
|
906
1568
|
/**
|
|
907
1569
|
* No description
|
|
908
1570
|
*
|
|
@@ -939,7 +1601,7 @@ export class Api extends HttpClient {
|
|
|
939
1601
|
* @response `404` `ProblemDetails` Not Found
|
|
940
1602
|
* @response `422` `UnprocessableEntity` Unprocessable Content
|
|
941
1603
|
*/
|
|
942
|
-
replaceDocumentTemplate: (id, data, params = {}) => this.request(Object.assign({ path: `/api/document-templates/${id}`, method: "PUT", body: data, secure: true, type:
|
|
1604
|
+
replaceDocumentTemplate: (id, data, params = {}) => this.request(Object.assign({ path: `/api/document-templates/${id}`, method: "PUT", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
|
|
943
1605
|
/**
|
|
944
1606
|
* No description
|
|
945
1607
|
*
|
|
@@ -987,7 +1649,7 @@ export class Api extends HttpClient {
|
|
|
987
1649
|
* @secure
|
|
988
1650
|
* @response `200` `DocumentTemplateVersion` OK
|
|
989
1651
|
*/
|
|
990
|
-
createDocumentTemplateVersion: (documentId, data, params = {}) => this.request(Object.assign({ path: `/api/document-templates/${documentId}/versions`, method: "POST", body: data, secure: true, type:
|
|
1652
|
+
createDocumentTemplateVersion: (documentId, data, params = {}) => this.request(Object.assign({ path: `/api/document-templates/${documentId}/versions`, method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
|
|
991
1653
|
/**
|
|
992
1654
|
* No description
|
|
993
1655
|
*
|
|
@@ -1009,7 +1671,7 @@ export class Api extends HttpClient {
|
|
|
1009
1671
|
* @secure
|
|
1010
1672
|
* @response `200` `DocumentTemplateVersion` OK
|
|
1011
1673
|
*/
|
|
1012
|
-
replaceDocumentTemplateVersion: (documentId, id, data, params = {}) => this.request(Object.assign({ path: `/api/document-templates/${documentId}/versions/${id}`, method: "PUT", body: data, secure: true, type:
|
|
1674
|
+
replaceDocumentTemplateVersion: (documentId, id, data, params = {}) => this.request(Object.assign({ path: `/api/document-templates/${documentId}/versions/${id}`, method: "PUT", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
|
|
1013
1675
|
/**
|
|
1014
1676
|
* No description
|
|
1015
1677
|
*
|
|
@@ -1047,7 +1709,7 @@ export class Api extends HttpClient {
|
|
|
1047
1709
|
* @response `409` `void` Conflict
|
|
1048
1710
|
* @response `422` `ProblemDetails` Unprocessable Content
|
|
1049
1711
|
*/
|
|
1050
|
-
addEncompassCustomFieldMapping: (definitionId, data, params = {}) => this.request(Object.assign({ path: `/api/los/encompass/custom-field-mappings/${definitionId}`, method: "POST", body: data, secure: true, type:
|
|
1712
|
+
addEncompassCustomFieldMapping: (definitionId, data, params = {}) => this.request(Object.assign({ path: `/api/los/encompass/custom-field-mappings/${definitionId}`, method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
|
|
1051
1713
|
/**
|
|
1052
1714
|
* No description
|
|
1053
1715
|
*
|
|
@@ -1136,7 +1798,7 @@ export class Api extends HttpClient {
|
|
|
1136
1798
|
* @response `404` `EncompassError` Not Found
|
|
1137
1799
|
* @response `500` `EncompassError` Internal Server Error
|
|
1138
1800
|
*/
|
|
1139
|
-
createEncompassSession: (data, params = {}) => this.request(Object.assign({ path: `/api/los/encompass/eclose/sessions`, method: "POST", body: data, secure: true, type:
|
|
1801
|
+
createEncompassSession: (data, params = {}) => this.request(Object.assign({ path: `/api/los/encompass/eclose/sessions`, method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
|
|
1140
1802
|
/**
|
|
1141
1803
|
* No description
|
|
1142
1804
|
*
|
|
@@ -1159,7 +1821,7 @@ export class Api extends HttpClient {
|
|
|
1159
1821
|
* @response `201` `File` Created
|
|
1160
1822
|
* @response `422` `UnprocessableEntity` Unprocessable Content
|
|
1161
1823
|
*/
|
|
1162
|
-
uploadFile: (data, params = {}) => this.request(Object.assign({ path: `/api/files`, method: "POST", body: data, secure: true, type:
|
|
1824
|
+
uploadFile: (data, params = {}) => this.request(Object.assign({ path: `/api/files`, method: "POST", body: data, secure: true, type: ContentType.FormData, format: "json" }, params)),
|
|
1163
1825
|
/**
|
|
1164
1826
|
* No description
|
|
1165
1827
|
*
|
|
@@ -1182,7 +1844,7 @@ export class Api extends HttpClient {
|
|
|
1182
1844
|
* @response `200` `string` OK
|
|
1183
1845
|
* @response `422` `UnprocessableEntity` Unprocessable Content
|
|
1184
1846
|
*/
|
|
1185
|
-
replaceFile: (id, data, params = {}) => this.request(Object.assign({ path: `/api/files/${id}`, method: "PUT", body: data, secure: true, type:
|
|
1847
|
+
replaceFile: (id, data, params = {}) => this.request(Object.assign({ path: `/api/files/${id}`, method: "PUT", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
|
|
1186
1848
|
/**
|
|
1187
1849
|
* No description
|
|
1188
1850
|
*
|
|
@@ -1204,7 +1866,7 @@ export class Api extends HttpClient {
|
|
|
1204
1866
|
* @secure
|
|
1205
1867
|
* @response `200` `FilePaginated` OK
|
|
1206
1868
|
*/
|
|
1207
|
-
searchFiles: (data, query, params = {}) => this.request(Object.assign({ path: `/api/files/search`, method: "POST", query: query, body: data, secure: true, type:
|
|
1869
|
+
searchFiles: (data, query, params = {}) => this.request(Object.assign({ path: `/api/files/search`, method: "POST", query: query, body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
|
|
1208
1870
|
/**
|
|
1209
1871
|
* No description
|
|
1210
1872
|
*
|
|
@@ -1227,7 +1889,7 @@ export class Api extends HttpClient {
|
|
|
1227
1889
|
* @response `201` `Form` Created
|
|
1228
1890
|
* @response `422` `UnprocessableEntity` Unprocessable Content
|
|
1229
1891
|
*/
|
|
1230
|
-
createForm: (data, params = {}) => this.request(Object.assign({ path: `/api/forms`, method: "POST", body: data, secure: true, type:
|
|
1892
|
+
createForm: (data, params = {}) => this.request(Object.assign({ path: `/api/forms`, method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
|
|
1231
1893
|
/**
|
|
1232
1894
|
* No description
|
|
1233
1895
|
*
|
|
@@ -1250,7 +1912,7 @@ export class Api extends HttpClient {
|
|
|
1250
1912
|
* @response `200` `Form` OK
|
|
1251
1913
|
* @response `422` `UnprocessableEntity` Unprocessable Content
|
|
1252
1914
|
*/
|
|
1253
|
-
replaceForm: (id, data, params = {}) => this.request(Object.assign({ path: `/api/forms/${id}`, method: "PUT", body: data, secure: true, type:
|
|
1915
|
+
replaceForm: (id, data, params = {}) => this.request(Object.assign({ path: `/api/forms/${id}`, method: "PUT", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
|
|
1254
1916
|
/**
|
|
1255
1917
|
* No description
|
|
1256
1918
|
*
|
|
@@ -1283,7 +1945,7 @@ export class Api extends HttpClient {
|
|
|
1283
1945
|
* @secure
|
|
1284
1946
|
* @response `200` `FormSubmissionFile` OK
|
|
1285
1947
|
*/
|
|
1286
|
-
addFormSubmissionFile: (formSubmissionId, data, params = {}) => this.request(Object.assign({ path: `/api/form-submissions/${formSubmissionId}/files`, method: "POST", body: data, secure: true, type:
|
|
1948
|
+
addFormSubmissionFile: (formSubmissionId, data, params = {}) => this.request(Object.assign({ path: `/api/form-submissions/${formSubmissionId}/files`, method: "POST", body: data, secure: true, type: ContentType.FormData, format: "json" }, params)),
|
|
1287
1949
|
/**
|
|
1288
1950
|
* No description
|
|
1289
1951
|
*
|
|
@@ -1327,7 +1989,7 @@ export class Api extends HttpClient {
|
|
|
1327
1989
|
* @secure
|
|
1328
1990
|
* @response `201` `FormSubmission` Created
|
|
1329
1991
|
*/
|
|
1330
|
-
createFormSubmission: (data, query, params = {}) => this.request(Object.assign({ path: `/api/form-submissions`, method: "POST", query: query, body: data, secure: true, type:
|
|
1992
|
+
createFormSubmission: (data, query, params = {}) => this.request(Object.assign({ path: `/api/form-submissions`, method: "POST", query: query, body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
|
|
1331
1993
|
/**
|
|
1332
1994
|
* No description
|
|
1333
1995
|
*
|
|
@@ -1349,7 +2011,7 @@ export class Api extends HttpClient {
|
|
|
1349
2011
|
* @secure
|
|
1350
2012
|
* @response `200` `FormSubmission` OK
|
|
1351
2013
|
*/
|
|
1352
|
-
replaceFormSubmission: (id, data, params = {}) => this.request(Object.assign({ path: `/api/form-submissions/${id}`, method: "PUT", body: data, secure: true, type:
|
|
2014
|
+
replaceFormSubmission: (id, data, params = {}) => this.request(Object.assign({ path: `/api/form-submissions/${id}`, method: "PUT", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
|
|
1353
2015
|
/**
|
|
1354
2016
|
* No description
|
|
1355
2017
|
*
|
|
@@ -1371,7 +2033,7 @@ export class Api extends HttpClient {
|
|
|
1371
2033
|
* @secure
|
|
1372
2034
|
* @response `200` `FormSubmissionPaginated` OK
|
|
1373
2035
|
*/
|
|
1374
|
-
searchFormSubmissions: (data, query, params = {}) => this.request(Object.assign({ path: `/api/form-submissions/search`, method: "POST", query: query, body: data, secure: true, type:
|
|
2036
|
+
searchFormSubmissions: (data, query, params = {}) => this.request(Object.assign({ path: `/api/form-submissions/search`, method: "POST", query: query, body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
|
|
1375
2037
|
/**
|
|
1376
2038
|
* No description
|
|
1377
2039
|
*
|
|
@@ -1393,7 +2055,7 @@ export class Api extends HttpClient {
|
|
|
1393
2055
|
* @secure
|
|
1394
2056
|
* @response `200` `FormVersion` OK
|
|
1395
2057
|
*/
|
|
1396
|
-
createFormVersion: (formId, data, params = {}) => this.request(Object.assign({ path: `/api/forms/${formId}/versions`, method: "POST", body: data, secure: true, type:
|
|
2058
|
+
createFormVersion: (formId, data, params = {}) => this.request(Object.assign({ path: `/api/forms/${formId}/versions`, method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
|
|
1397
2059
|
/**
|
|
1398
2060
|
* No description
|
|
1399
2061
|
*
|
|
@@ -1415,7 +2077,7 @@ export class Api extends HttpClient {
|
|
|
1415
2077
|
* @secure
|
|
1416
2078
|
* @response `200` `FormVersion` OK
|
|
1417
2079
|
*/
|
|
1418
|
-
replaceFormVersion: (formId, id, data, params = {}) => this.request(Object.assign({ path: `/api/forms/${formId}/versions/${id}`, method: "PUT", body: data, secure: true, type:
|
|
2080
|
+
replaceFormVersion: (formId, id, data, params = {}) => this.request(Object.assign({ path: `/api/forms/${formId}/versions/${id}`, method: "PUT", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
|
|
1419
2081
|
/**
|
|
1420
2082
|
* No description
|
|
1421
2083
|
*
|
|
@@ -1461,7 +2123,7 @@ export class Api extends HttpClient {
|
|
|
1461
2123
|
* @response `200` `string` OK
|
|
1462
2124
|
* @response `422` `UnprocessableEntity` Unprocessable Content
|
|
1463
2125
|
*/
|
|
1464
|
-
updateLoanConsentAndCustomFieldsObsolete: (loanId, data, params = {}) => this.request(Object.assign({ path: `/api/los/loan/application/${loanId}`, method: "PATCH", body: data, secure: true, type:
|
|
2126
|
+
updateLoanConsentAndCustomFieldsObsolete: (loanId, data, params = {}) => this.request(Object.assign({ path: `/api/los/loan/application/${loanId}`, method: "PATCH", body: data, secure: true, type: ContentType.JsonPatch, format: "json" }, params)),
|
|
1465
2127
|
/**
|
|
1466
2128
|
* No description
|
|
1467
2129
|
*
|
|
@@ -1472,7 +2134,7 @@ export class Api extends HttpClient {
|
|
|
1472
2134
|
* @secure
|
|
1473
2135
|
* @response `200` `GetReport` OK
|
|
1474
2136
|
*/
|
|
1475
|
-
getLoansReport: (data, params = {}) => this.request(Object.assign({ path: `/api/los/loan/reports`, method: "POST", body: data, secure: true, type:
|
|
2137
|
+
getLoansReport: (data, params = {}) => this.request(Object.assign({ path: `/api/los/loan/reports`, method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
|
|
1476
2138
|
/**
|
|
1477
2139
|
* No description
|
|
1478
2140
|
*
|
|
@@ -1486,7 +2148,7 @@ export class Api extends HttpClient {
|
|
|
1486
2148
|
* @response `422` `UnprocessableEntity` Unprocessable Content
|
|
1487
2149
|
* @response `423` `UnprocessableEntity` Locked
|
|
1488
2150
|
*/
|
|
1489
|
-
createLoan: (data, query, params = {}) => this.request(Object.assign({ path: `/api/los/loan/application`, method: "POST", query: query, body: data, secure: true, type:
|
|
2151
|
+
createLoan: (data, query, params = {}) => this.request(Object.assign({ path: `/api/los/loan/application`, method: "POST", query: query, body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
|
|
1490
2152
|
/**
|
|
1491
2153
|
* No description
|
|
1492
2154
|
*
|
|
@@ -1499,7 +2161,7 @@ export class Api extends HttpClient {
|
|
|
1499
2161
|
* @response `422` `UnprocessableEntity` Unprocessable Content
|
|
1500
2162
|
* @response `423` `UnprocessableEntity` Locked
|
|
1501
2163
|
*/
|
|
1502
|
-
createLoanInternal: (data, query, params = {}) => this.request(Object.assign({ path: `/api/los/loan/application/internal`, method: "POST", query: query, body: data, secure: true, type:
|
|
2164
|
+
createLoanInternal: (data, query, params = {}) => this.request(Object.assign({ path: `/api/los/loan/application/internal`, method: "POST", query: query, body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
|
|
1503
2165
|
/**
|
|
1504
2166
|
* No description
|
|
1505
2167
|
*
|
|
@@ -1511,7 +2173,7 @@ export class Api extends HttpClient {
|
|
|
1511
2173
|
* @response `200` `string` OK
|
|
1512
2174
|
* @response `422` `UnprocessableEntity` Unprocessable Content
|
|
1513
2175
|
*/
|
|
1514
|
-
updateLoanCustomFields: (loanId, data, params = {}) => this.request(Object.assign({ path: `/api/los/loan/application/${loanId}/custom-fields`, method: "PATCH", body: data, secure: true, type:
|
|
2176
|
+
updateLoanCustomFields: (loanId, data, params = {}) => this.request(Object.assign({ path: `/api/los/loan/application/${loanId}/custom-fields`, method: "PATCH", body: data, secure: true, type: ContentType.JsonPatch, format: "json" }, params)),
|
|
1515
2177
|
/**
|
|
1516
2178
|
* No description
|
|
1517
2179
|
*
|
|
@@ -1524,7 +2186,7 @@ export class Api extends HttpClient {
|
|
|
1524
2186
|
* @response `202` `string` Accepted
|
|
1525
2187
|
* @response `422` `UnprocessableEntity` Unprocessable Content
|
|
1526
2188
|
*/
|
|
1527
|
-
updateLoanConsent: (loanId, data, params = {}) => this.request(Object.assign({ path: `/api/los/loan/application/${loanId}/consent`, method: "PATCH", body: data, secure: true, type:
|
|
2189
|
+
updateLoanConsent: (loanId, data, params = {}) => this.request(Object.assign({ path: `/api/los/loan/application/${loanId}/consent`, method: "PATCH", body: data, secure: true, type: ContentType.JsonPatch, format: "json" }, params)),
|
|
1528
2190
|
/**
|
|
1529
2191
|
* No description
|
|
1530
2192
|
*
|
|
@@ -1602,7 +2264,7 @@ export class Api extends HttpClient {
|
|
|
1602
2264
|
* @secure
|
|
1603
2265
|
* @response `200` `DocumentDataRequest` OK
|
|
1604
2266
|
*/
|
|
1605
|
-
createLegacyLoanDocument: (data, params = {}) => this.request(Object.assign({ path: `/api/los/loan/generatedocument`, method: "POST", body: data, secure: true, type:
|
|
2267
|
+
createLegacyLoanDocument: (data, params = {}) => this.request(Object.assign({ path: `/api/los/loan/generatedocument`, method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
|
|
1606
2268
|
/**
|
|
1607
2269
|
* No description
|
|
1608
2270
|
*
|
|
@@ -1627,7 +2289,7 @@ export class Api extends HttpClient {
|
|
|
1627
2289
|
* @secure
|
|
1628
2290
|
* @response `200` `ListingFile` OK
|
|
1629
2291
|
*/
|
|
1630
|
-
addListingFile: (listingId, data, params = {}) => this.request(Object.assign({ path: `/api/listings/${listingId}/files`, method: "POST", body: data, secure: true, type:
|
|
2292
|
+
addListingFile: (listingId, data, params = {}) => this.request(Object.assign({ path: `/api/listings/${listingId}/files`, method: "POST", body: data, secure: true, type: ContentType.FormData, format: "json" }, params)),
|
|
1631
2293
|
/**
|
|
1632
2294
|
* No description
|
|
1633
2295
|
*
|
|
@@ -1638,7 +2300,7 @@ export class Api extends HttpClient {
|
|
|
1638
2300
|
* @secure
|
|
1639
2301
|
* @response `200` `ListingFile` OK
|
|
1640
2302
|
*/
|
|
1641
|
-
updateListingFiles: (listingId, data, params = {}) => this.request(Object.assign({ path: `/api/listings/${listingId}/files`, method: "PATCH", body: data, secure: true, type:
|
|
2303
|
+
updateListingFiles: (listingId, data, params = {}) => this.request(Object.assign({ path: `/api/listings/${listingId}/files`, method: "PATCH", body: data, secure: true, type: ContentType.JsonPatch, format: "json" }, params)),
|
|
1642
2304
|
/**
|
|
1643
2305
|
* No description
|
|
1644
2306
|
*
|
|
@@ -1660,7 +2322,7 @@ export class Api extends HttpClient {
|
|
|
1660
2322
|
* @secure
|
|
1661
2323
|
* @response `200` `ListingPhoto` OK
|
|
1662
2324
|
*/
|
|
1663
|
-
addListingPhoto: (listingId, data, params = {}) => this.request(Object.assign({ path: `/api/listings/${listingId}/photos`, method: "POST", body: data, secure: true, type:
|
|
2325
|
+
addListingPhoto: (listingId, data, params = {}) => this.request(Object.assign({ path: `/api/listings/${listingId}/photos`, method: "POST", body: data, secure: true, type: ContentType.FormData, format: "json" }, params)),
|
|
1664
2326
|
/**
|
|
1665
2327
|
* No description
|
|
1666
2328
|
*
|
|
@@ -1671,7 +2333,7 @@ export class Api extends HttpClient {
|
|
|
1671
2333
|
* @secure
|
|
1672
2334
|
* @response `200` `(ListingPhoto)[]` OK
|
|
1673
2335
|
*/
|
|
1674
|
-
updateListingPhotos: (listingId, data, params = {}) => this.request(Object.assign({ path: `/api/listings/${listingId}/photos`, method: "PATCH", body: data, secure: true, type:
|
|
2336
|
+
updateListingPhotos: (listingId, data, params = {}) => this.request(Object.assign({ path: `/api/listings/${listingId}/photos`, method: "PATCH", body: data, secure: true, type: ContentType.JsonPatch, format: "json" }, params)),
|
|
1675
2337
|
/**
|
|
1676
2338
|
* No description
|
|
1677
2339
|
*
|
|
@@ -1704,7 +2366,7 @@ export class Api extends HttpClient {
|
|
|
1704
2366
|
* @secure
|
|
1705
2367
|
* @response `201` `Listing` Created
|
|
1706
2368
|
*/
|
|
1707
|
-
createListing: (data, params = {}) => this.request(Object.assign({ path: `/api/listings`, method: "POST", body: data, secure: true, type:
|
|
2369
|
+
createListing: (data, params = {}) => this.request(Object.assign({ path: `/api/listings`, method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
|
|
1708
2370
|
/**
|
|
1709
2371
|
* No description
|
|
1710
2372
|
*
|
|
@@ -1737,7 +2399,7 @@ export class Api extends HttpClient {
|
|
|
1737
2399
|
* @secure
|
|
1738
2400
|
* @response `200` `Listing` OK
|
|
1739
2401
|
*/
|
|
1740
|
-
replaceListing: (id, data, params = {}) => this.request(Object.assign({ path: `/api/listings/${id}`, method: "PUT", body: data, secure: true, type:
|
|
2402
|
+
replaceListing: (id, data, params = {}) => this.request(Object.assign({ path: `/api/listings/${id}`, method: "PUT", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
|
|
1741
2403
|
/**
|
|
1742
2404
|
* No description
|
|
1743
2405
|
*
|
|
@@ -1759,7 +2421,7 @@ export class Api extends HttpClient {
|
|
|
1759
2421
|
* @secure
|
|
1760
2422
|
* @response `200` `ListingPaginated` OK
|
|
1761
2423
|
*/
|
|
1762
|
-
searchListings: (data, query, params = {}) => this.request(Object.assign({ path: `/api/listings/search`, method: "POST", query: query, body: data, secure: true, type:
|
|
2424
|
+
searchListings: (data, query, params = {}) => this.request(Object.assign({ path: `/api/listings/search`, method: "POST", query: query, body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
|
|
1763
2425
|
/**
|
|
1764
2426
|
* No description
|
|
1765
2427
|
*
|
|
@@ -1770,7 +2432,7 @@ export class Api extends HttpClient {
|
|
|
1770
2432
|
* @secure
|
|
1771
2433
|
* @response `200` `File` OK
|
|
1772
2434
|
*/
|
|
1773
|
-
updateListingBackgroundImage: (id, data, params = {}) => this.request(Object.assign({ path: `/api/listings/${id}/background-image`, method: "PUT", body: data, secure: true, type:
|
|
2435
|
+
updateListingBackgroundImage: (id, data, params = {}) => this.request(Object.assign({ path: `/api/listings/${id}/background-image`, method: "PUT", body: data, secure: true, type: ContentType.FormData, format: "json" }, params)),
|
|
1774
2436
|
/**
|
|
1775
2437
|
* No description
|
|
1776
2438
|
*
|
|
@@ -1816,7 +2478,7 @@ export class Api extends HttpClient {
|
|
|
1816
2478
|
* @response `422` `UnprocessableEntity` Unprocessable Content
|
|
1817
2479
|
* @response `423` `UnprocessableEntity` Locked
|
|
1818
2480
|
*/
|
|
1819
|
-
runLoanCalculator: (loanId, data, params = {}) => this.request(Object.assign({ path: `/api/loans/${loanId}/calculators/loan-calculator`, method: "POST", body: data, secure: true, type:
|
|
2481
|
+
runLoanCalculator: (loanId, data, params = {}) => this.request(Object.assign({ path: `/api/loans/${loanId}/calculators/loan-calculator`, method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
|
|
1820
2482
|
/**
|
|
1821
2483
|
* No description
|
|
1822
2484
|
*
|
|
@@ -1840,7 +2502,7 @@ export class Api extends HttpClient {
|
|
|
1840
2502
|
* @response `422` `UnprocessableEntity` Unprocessable Content
|
|
1841
2503
|
* @response `423` `UnprocessableEntity` Locked
|
|
1842
2504
|
*/
|
|
1843
|
-
createLoanComparison: (loanId, index, data, params = {}) => this.request(Object.assign({ path: `/api/loans/${loanId}/loan-comparison/${index}`, method: "POST", body: data, secure: true, type:
|
|
2505
|
+
createLoanComparison: (loanId, index, data, params = {}) => this.request(Object.assign({ path: `/api/loans/${loanId}/loan-comparison/${index}`, method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
|
|
1844
2506
|
/**
|
|
1845
2507
|
* No description
|
|
1846
2508
|
*
|
|
@@ -1863,7 +2525,7 @@ export class Api extends HttpClient {
|
|
|
1863
2525
|
* @response `204` `void` No Content
|
|
1864
2526
|
* @response `422` `UnprocessableEntity` Unprocessable Content
|
|
1865
2527
|
*/
|
|
1866
|
-
createLoanComparisonPdf: (loanId, data, params = {}) => this.request(Object.assign({ path: `/api/loans/${loanId}/loan-comparison/pdf`, method: "POST", body: data, secure: true, type:
|
|
2528
|
+
createLoanComparisonPdf: (loanId, data, params = {}) => this.request(Object.assign({ path: `/api/loans/${loanId}/loan-comparison/pdf`, method: "POST", body: data, secure: true, type: ContentType.Json }, params)),
|
|
1867
2529
|
/**
|
|
1868
2530
|
* No description
|
|
1869
2531
|
*
|
|
@@ -1900,7 +2562,7 @@ export class Api extends HttpClient {
|
|
|
1900
2562
|
* @response `400` `ProblemDetails` Bad Request
|
|
1901
2563
|
* @response `422` `ProblemDetails` Unprocessable Content
|
|
1902
2564
|
*/
|
|
1903
|
-
bulkSetLoanCustomFieldValues: (loanId, data, params = {}) => this.request(Object.assign({ path: `/api/loans/${loanId}/custom-fields`, method: "PUT", body: data, secure: true, type:
|
|
2565
|
+
bulkSetLoanCustomFieldValues: (loanId, data, params = {}) => this.request(Object.assign({ path: `/api/loans/${loanId}/custom-fields`, method: "PUT", body: data, secure: true, type: ContentType.Json }, params)),
|
|
1904
2566
|
/**
|
|
1905
2567
|
* No description
|
|
1906
2568
|
*
|
|
@@ -1914,7 +2576,7 @@ export class Api extends HttpClient {
|
|
|
1914
2576
|
* @response `404` `ProblemDetails` Not Found
|
|
1915
2577
|
* @response `422` `ProblemDetails` Unprocessable Content
|
|
1916
2578
|
*/
|
|
1917
|
-
setLoanCustomFieldValue: (loanId, definitionId, data, params = {}) => this.request(Object.assign({ path: `/api/loans/${loanId}/custom-fields/${definitionId}`, method: "PUT", body: data, secure: true, type:
|
|
2579
|
+
setLoanCustomFieldValue: (loanId, definitionId, data, params = {}) => this.request(Object.assign({ path: `/api/loans/${loanId}/custom-fields/${definitionId}`, method: "PUT", body: data, secure: true, type: ContentType.Json }, params)),
|
|
1918
2580
|
/**
|
|
1919
2581
|
* No description
|
|
1920
2582
|
*
|
|
@@ -1948,7 +2610,7 @@ export class Api extends HttpClient {
|
|
|
1948
2610
|
* @secure
|
|
1949
2611
|
* @response `201` `(string)[]` Created
|
|
1950
2612
|
*/
|
|
1951
|
-
createLoanDocumentBuckets: (loanId, data, params = {}) => this.request(Object.assign({ path: `/api/loans/${loanId}/documents/buckets`, method: "POST", body: data, secure: true, type:
|
|
2613
|
+
createLoanDocumentBuckets: (loanId, data, params = {}) => this.request(Object.assign({ path: `/api/loans/${loanId}/documents/buckets`, method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
|
|
1952
2614
|
/**
|
|
1953
2615
|
* No description
|
|
1954
2616
|
*
|
|
@@ -1972,7 +2634,7 @@ export class Api extends HttpClient {
|
|
|
1972
2634
|
* @response `409` `ProblemDetails` Conflict
|
|
1973
2635
|
* @response `422` `ProblemDetails` Unprocessable Content
|
|
1974
2636
|
*/
|
|
1975
|
-
createLoanDocumentFolder: (data, params = {}) => this.request(Object.assign({ path: `/api/loan-document-folders`, method: "POST", body: data, secure: true, type:
|
|
2637
|
+
createLoanDocumentFolder: (data, params = {}) => this.request(Object.assign({ path: `/api/loan-document-folders`, method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
|
|
1976
2638
|
/**
|
|
1977
2639
|
* No description
|
|
1978
2640
|
*
|
|
@@ -1999,7 +2661,7 @@ export class Api extends HttpClient {
|
|
|
1999
2661
|
* @response `409` `ProblemDetails` Conflict
|
|
2000
2662
|
* @response `422` `ProblemDetails` Unprocessable Content
|
|
2001
2663
|
*/
|
|
2002
|
-
updateLoanDocumentFolder: (id, data, params = {}) => this.request(Object.assign({ path: `/api/loan-document-folders/${id}`, method: "PUT", body: data, secure: true, type:
|
|
2664
|
+
updateLoanDocumentFolder: (id, data, params = {}) => this.request(Object.assign({ path: `/api/loan-document-folders/${id}`, method: "PUT", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
|
|
2003
2665
|
/**
|
|
2004
2666
|
* No description
|
|
2005
2667
|
*
|
|
@@ -2074,7 +2736,7 @@ export class Api extends HttpClient {
|
|
|
2074
2736
|
* @response `200` `Record<string,string>` OK
|
|
2075
2737
|
* @response `400` `ProblemDetails` Bad Request
|
|
2076
2738
|
*/
|
|
2077
|
-
getLoanDocumentPreviews: (loanId, data, params = {}) => this.request(Object.assign({ path: `/api/loans/${loanId}/documents/previews`, method: "POST", body: data, secure: true, type:
|
|
2739
|
+
getLoanDocumentPreviews: (loanId, data, params = {}) => this.request(Object.assign({ path: `/api/loans/${loanId}/documents/previews`, method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
|
|
2078
2740
|
/**
|
|
2079
2741
|
* No description
|
|
2080
2742
|
*
|
|
@@ -2085,7 +2747,7 @@ export class Api extends HttpClient {
|
|
|
2085
2747
|
* @secure
|
|
2086
2748
|
* @response `200` `LoanDocumentSearchPaginated` OK
|
|
2087
2749
|
*/
|
|
2088
|
-
searchLoanDocuments: (loanId, data, query, params = {}) => this.request(Object.assign({ path: `/api/loans/${loanId}/documents/search`, method: "POST", query: query, body: data, secure: true, type:
|
|
2750
|
+
searchLoanDocuments: (loanId, data, query, params = {}) => this.request(Object.assign({ path: `/api/loans/${loanId}/documents/search`, method: "POST", query: query, body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
|
|
2089
2751
|
/**
|
|
2090
2752
|
* @description Returns all documents grouped by folder for sidebar display. Use folderNamesOnly=true to get simplified response with folder names and counts for mobile (Files array will be empty).
|
|
2091
2753
|
*
|
|
@@ -2096,7 +2758,7 @@ export class Api extends HttpClient {
|
|
|
2096
2758
|
* @secure
|
|
2097
2759
|
* @response `200` `(DocumentFolder)[]` OK
|
|
2098
2760
|
*/
|
|
2099
|
-
getLoanDocumentFolders: (loanId, data, query, params = {}) => this.request(Object.assign({ path: `/api/loans/${loanId}/documents/folders`, method: "POST", query: query, body: data, secure: true, type:
|
|
2761
|
+
getLoanDocumentFolders: (loanId, data, query, params = {}) => this.request(Object.assign({ path: `/api/loans/${loanId}/documents/folders`, method: "POST", query: query, body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
|
|
2100
2762
|
/**
|
|
2101
2763
|
* No description
|
|
2102
2764
|
*
|
|
@@ -2105,7 +2767,7 @@ export class Api extends HttpClient {
|
|
|
2105
2767
|
* @summary Download By ID
|
|
2106
2768
|
* @request GET:/api/loans/{loanId}/documents/{documentId}/download
|
|
2107
2769
|
* @secure
|
|
2108
|
-
* @response `200` `
|
|
2770
|
+
* @response `200` `string` OK
|
|
2109
2771
|
* @response `404` `ProblemDetails` Not Found
|
|
2110
2772
|
*/
|
|
2111
2773
|
downloadLoanDocument: (loanId, documentId, params = {}) => this.request(Object.assign({ path: `/api/loans/${loanId}/documents/${documentId}/download`, method: "GET", secure: true, format: "json" }, params)),
|
|
@@ -2121,7 +2783,7 @@ export class Api extends HttpClient {
|
|
|
2121
2783
|
* @response `404` `ProblemDetails` Not Found
|
|
2122
2784
|
* @response `422` `UnprocessableEntity` Unprocessable Content
|
|
2123
2785
|
*/
|
|
2124
|
-
createLoanDocument: (loanId, data, params = {}) => this.request(Object.assign({ path: `/api/loans/${loanId}/documents`, method: "POST", body: data, secure: true, type:
|
|
2786
|
+
createLoanDocument: (loanId, data, params = {}) => this.request(Object.assign({ path: `/api/loans/${loanId}/documents`, method: "POST", body: data, secure: true, type: ContentType.FormData, format: "json" }, params)),
|
|
2125
2787
|
/**
|
|
2126
2788
|
* No description
|
|
2127
2789
|
*
|
|
@@ -2145,7 +2807,7 @@ export class Api extends HttpClient {
|
|
|
2145
2807
|
* @secure
|
|
2146
2808
|
* @response `200` `DocumentDataRequest` OK
|
|
2147
2809
|
*/
|
|
2148
|
-
generateLoanDocument: (loanId, data, params = {}) => this.request(Object.assign({ path: `/api/loans/${loanId}/documents/generate`, method: "POST", body: data, secure: true, type:
|
|
2810
|
+
generateLoanDocument: (loanId, data, params = {}) => this.request(Object.assign({ path: `/api/loans/${loanId}/documents/generate`, method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
|
|
2149
2811
|
/**
|
|
2150
2812
|
* No description
|
|
2151
2813
|
*
|
|
@@ -2158,7 +2820,7 @@ export class Api extends HttpClient {
|
|
|
2158
2820
|
* @response `400` `ProblemDetails` Bad Request
|
|
2159
2821
|
* @response `404` `ProblemDetails` Not Found
|
|
2160
2822
|
*/
|
|
2161
|
-
sendLoanDocuments: (loanId, data, params = {}) => this.request(Object.assign({ path: `/api/loans/${loanId}/documents/distribute`, method: "POST", body: data, secure: true, type:
|
|
2823
|
+
sendLoanDocuments: (loanId, data, params = {}) => this.request(Object.assign({ path: `/api/loans/${loanId}/documents/distribute`, method: "POST", body: data, secure: true, type: ContentType.Json }, params)),
|
|
2162
2824
|
/**
|
|
2163
2825
|
* @description Fetches all documents from Encompass that don't exist locally and stores them in S3
|
|
2164
2826
|
*
|
|
@@ -2171,6 +2833,19 @@ export class Api extends HttpClient {
|
|
|
2171
2833
|
* @response `404` `ProblemDetails` Not Found
|
|
2172
2834
|
*/
|
|
2173
2835
|
syncLoanDocumentsFromLos: (loanId, params = {}) => this.request(Object.assign({ path: `/api/loans/${loanId}/documents/sync`, method: "POST", secure: true, format: "json" }, params)),
|
|
2836
|
+
/**
|
|
2837
|
+
* No description
|
|
2838
|
+
*
|
|
2839
|
+
* @tags LoanDocuments
|
|
2840
|
+
* @name ClassifyLoanDocumentManually
|
|
2841
|
+
* @summary Manually classify a loan document
|
|
2842
|
+
* @request POST:/api/loans/{loanId}/documents/{documentId}/classify-manual
|
|
2843
|
+
* @secure
|
|
2844
|
+
* @response `200` `LoanDocument` OK
|
|
2845
|
+
* @response `404` `ProblemDetails` Not Found
|
|
2846
|
+
* @response `422` `UnprocessableEntity` Unprocessable Content
|
|
2847
|
+
*/
|
|
2848
|
+
classifyLoanDocumentManually: (loanId, documentId, data, params = {}) => this.request(Object.assign({ path: `/api/loans/${loanId}/documents/${documentId}/classify-manual`, method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
|
|
2174
2849
|
/**
|
|
2175
2850
|
* @description Re-attempts to push a failed document to LOS
|
|
2176
2851
|
*
|
|
@@ -2194,7 +2869,7 @@ export class Api extends HttpClient {
|
|
|
2194
2869
|
* @secure
|
|
2195
2870
|
* @response `201` `Draft` Created
|
|
2196
2871
|
*/
|
|
2197
|
-
createLoanDraft: (data, params = {}) => this.request(Object.assign({ path: `/api/loans/drafts`, method: "POST", body: data, secure: true, type:
|
|
2872
|
+
createLoanDraft: (data, params = {}) => this.request(Object.assign({ path: `/api/loans/drafts`, method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
|
|
2198
2873
|
/**
|
|
2199
2874
|
* No description
|
|
2200
2875
|
*
|
|
@@ -2227,7 +2902,7 @@ export class Api extends HttpClient {
|
|
|
2227
2902
|
* @secure
|
|
2228
2903
|
* @response `200` `Draft` OK
|
|
2229
2904
|
*/
|
|
2230
|
-
replaceLoanDraft: (draftId, data, params = {}) => this.request(Object.assign({ path: `/api/loans/drafts/${draftId}`, method: "PUT", body: data, secure: true, type:
|
|
2905
|
+
replaceLoanDraft: (draftId, data, params = {}) => this.request(Object.assign({ path: `/api/loans/drafts/${draftId}`, method: "PUT", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
|
|
2231
2906
|
/**
|
|
2232
2907
|
* No description
|
|
2233
2908
|
*
|
|
@@ -2249,7 +2924,7 @@ export class Api extends HttpClient {
|
|
|
2249
2924
|
* @secure
|
|
2250
2925
|
* @response `201` `DraftContentPaginated` Created
|
|
2251
2926
|
*/
|
|
2252
|
-
searchLoanDrafts: (data, query, params = {}) => this.request(Object.assign({ path: `/api/loans/drafts/search`, method: "POST", query: query, body: data, secure: true, type:
|
|
2927
|
+
searchLoanDrafts: (data, query, params = {}) => this.request(Object.assign({ path: `/api/loans/drafts/search`, method: "POST", query: query, body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
|
|
2253
2928
|
/**
|
|
2254
2929
|
* No description
|
|
2255
2930
|
*
|
|
@@ -2260,7 +2935,7 @@ export class Api extends HttpClient {
|
|
|
2260
2935
|
* @secure
|
|
2261
2936
|
* @response `200` `Draft` OK
|
|
2262
2937
|
*/
|
|
2263
|
-
reassignLoanOfficer: (draftId, data, params = {}) => this.request(Object.assign({ path: `/api/loans/drafts/${draftId}/reassign`, method: "PUT", body: data, secure: true, type:
|
|
2938
|
+
reassignLoanOfficer: (draftId, data, params = {}) => this.request(Object.assign({ path: `/api/loans/drafts/${draftId}/reassign`, method: "PUT", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
|
|
2264
2939
|
/**
|
|
2265
2940
|
* No description
|
|
2266
2941
|
*
|
|
@@ -2293,7 +2968,7 @@ export class Api extends HttpClient {
|
|
|
2293
2968
|
* @secure
|
|
2294
2969
|
* @response `201` `LoanImport` Created
|
|
2295
2970
|
*/
|
|
2296
|
-
createLoanImport: (data, params = {}) => this.request(Object.assign({ path: `/api/loan-imports`, method: "POST", body: data, secure: true, type:
|
|
2971
|
+
createLoanImport: (data, params = {}) => this.request(Object.assign({ path: `/api/loan-imports`, method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
|
|
2297
2972
|
/**
|
|
2298
2973
|
* No description
|
|
2299
2974
|
*
|
|
@@ -2339,7 +3014,7 @@ export class Api extends HttpClient {
|
|
|
2339
3014
|
* @response `200` `(Invite)[]` OK
|
|
2340
3015
|
* @response `404` `ProblemDetails` Not Found
|
|
2341
3016
|
*/
|
|
2342
|
-
inviteLoanContacts: (loanId, data, params = {}) => this.request(Object.assign({ path: `/api/loans/${loanId}/invites`, method: "POST", body: data, secure: true, type:
|
|
3017
|
+
inviteLoanContacts: (loanId, data, params = {}) => this.request(Object.assign({ path: `/api/loans/${loanId}/invites`, method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
|
|
2343
3018
|
/**
|
|
2344
3019
|
* No description
|
|
2345
3020
|
*
|
|
@@ -2350,7 +3025,7 @@ export class Api extends HttpClient {
|
|
|
2350
3025
|
* @secure
|
|
2351
3026
|
* @response `200` `LoanLogPaginated` OK
|
|
2352
3027
|
*/
|
|
2353
|
-
searchLoanLogs: (loanId, data, query, params = {}) => this.request(Object.assign({ path: `/api/loans/${loanId}/logs/search`, method: "POST", query: query, body: data, secure: true, type:
|
|
3028
|
+
searchLoanLogs: (loanId, data, query, params = {}) => this.request(Object.assign({ path: `/api/loans/${loanId}/logs/search`, method: "POST", query: query, body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
|
|
2354
3029
|
/**
|
|
2355
3030
|
* No description
|
|
2356
3031
|
*
|
|
@@ -2375,20 +3050,7 @@ export class Api extends HttpClient {
|
|
|
2375
3050
|
* @response `400` `ProblemDetails` Bad Request
|
|
2376
3051
|
* @response `404` `ProblemDetails` Not Found
|
|
2377
3052
|
*/
|
|
2378
|
-
sendLoanOptInReminder: (loanId, data, params = {}) => this.request(Object.assign({ path: `/api/loans/${loanId}/notifications/opt-in-reminders`, method: "POST", body: data, secure: true, type:
|
|
2379
|
-
/**
|
|
2380
|
-
* No description
|
|
2381
|
-
*
|
|
2382
|
-
* @tags LoanNotification
|
|
2383
|
-
* @name SendESignatureReminder
|
|
2384
|
-
* @summary Send eSignature Reminder
|
|
2385
|
-
* @request POST:/api/loans/{loanID}/notifications/esignature-reminders
|
|
2386
|
-
* @secure
|
|
2387
|
-
* @response `204` `void` No Content
|
|
2388
|
-
* @response `400` `ProblemDetails` Bad Request
|
|
2389
|
-
* @response `404` `ProblemDetails` Not Found
|
|
2390
|
-
*/
|
|
2391
|
-
sendESignatureReminder: (loanId, data, params = {}) => this.request(Object.assign({ path: `/api/loans/${loanId}/notifications/esignature-reminders`, method: "POST", body: data, secure: true, type: "application/json" }, params)),
|
|
3053
|
+
sendLoanOptInReminder: (loanId, data, params = {}) => this.request(Object.assign({ path: `/api/loans/${loanId}/notifications/opt-in-reminders`, method: "POST", body: data, secure: true, type: ContentType.Json }, params)),
|
|
2392
3054
|
/**
|
|
2393
3055
|
* No description
|
|
2394
3056
|
*
|
|
@@ -2410,7 +3072,7 @@ export class Api extends HttpClient {
|
|
|
2410
3072
|
* @secure
|
|
2411
3073
|
* @response `200` `BranchUserPaginated` OK
|
|
2412
3074
|
*/
|
|
2413
|
-
searchLoanOfficers: (data, query, params = {}) => this.request(Object.assign({ path: `/api/loan-officers/search`, method: "POST", query: query, body: data, secure: true, type:
|
|
3075
|
+
searchLoanOfficers: (data, query, params = {}) => this.request(Object.assign({ path: `/api/loan-officers/search`, method: "POST", query: query, body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
|
|
2414
3076
|
/**
|
|
2415
3077
|
* No description
|
|
2416
3078
|
*
|
|
@@ -2433,7 +3095,7 @@ export class Api extends HttpClient {
|
|
|
2433
3095
|
* @response `200` `SiteConfiguration` OK
|
|
2434
3096
|
* @response `422` `UnprocessableEntity` Unprocessable Content
|
|
2435
3097
|
*/
|
|
2436
|
-
createLoanOfficerSiteConfiguration: (loanOfficerId, data, params = {}) => this.request(Object.assign({ path: `/api/loan-officers/${loanOfficerId}/site-configurations`, method: "POST", body: data, secure: true, type:
|
|
3098
|
+
createLoanOfficerSiteConfiguration: (loanOfficerId, data, params = {}) => this.request(Object.assign({ path: `/api/loan-officers/${loanOfficerId}/site-configurations`, method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
|
|
2437
3099
|
/**
|
|
2438
3100
|
* No description
|
|
2439
3101
|
*
|
|
@@ -2456,7 +3118,7 @@ export class Api extends HttpClient {
|
|
|
2456
3118
|
* @response `200` `SiteConfiguration` OK
|
|
2457
3119
|
* @response `422` `UnprocessableEntity` Unprocessable Content
|
|
2458
3120
|
*/
|
|
2459
|
-
replaceLoanOfficerSiteConfiguration: (loanOfficerId, siteConfigurationId, data, query, params = {}) => this.request(Object.assign({ path: `/api/loan-officers/${loanOfficerId}/site-configurations/${siteConfigurationId}`, method: "PUT", query: query, body: data, secure: true, type:
|
|
3121
|
+
replaceLoanOfficerSiteConfiguration: (loanOfficerId, siteConfigurationId, data, query, params = {}) => this.request(Object.assign({ path: `/api/loan-officers/${loanOfficerId}/site-configurations/${siteConfigurationId}`, method: "PUT", query: query, body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
|
|
2460
3122
|
/**
|
|
2461
3123
|
* No description
|
|
2462
3124
|
*
|
|
@@ -2467,7 +3129,7 @@ export class Api extends HttpClient {
|
|
|
2467
3129
|
* @secure
|
|
2468
3130
|
* @response `200` `LoanQueuePaginated` OK
|
|
2469
3131
|
*/
|
|
2470
|
-
searchLoanQueue: (data, query, params = {}) => this.request(Object.assign({ path: `/api/loans/queue/search`, method: "POST", query: query, body: data, secure: true, type:
|
|
3132
|
+
searchLoanQueue: (data, query, params = {}) => this.request(Object.assign({ path: `/api/loans/queue/search`, method: "POST", query: query, body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
|
|
2471
3133
|
/**
|
|
2472
3134
|
* No description
|
|
2473
3135
|
*
|
|
@@ -2491,7 +3153,7 @@ export class Api extends HttpClient {
|
|
|
2491
3153
|
* @response `200` `LoanQueueWithData` OK
|
|
2492
3154
|
* @response `404` `ProblemDetails` Not Found
|
|
2493
3155
|
*/
|
|
2494
|
-
replaceLoanQueue: (loanQueueId, data, params = {}) => this.request(Object.assign({ path: `/api/loans/queue/${loanQueueId}`, method: "PUT", body: data, secure: true, type:
|
|
3156
|
+
replaceLoanQueue: (loanQueueId, data, params = {}) => this.request(Object.assign({ path: `/api/loans/queue/${loanQueueId}`, method: "PUT", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
|
|
2495
3157
|
/**
|
|
2496
3158
|
* No description
|
|
2497
3159
|
*
|
|
@@ -2552,7 +3214,7 @@ export class Api extends HttpClient {
|
|
|
2552
3214
|
* @response `401` `ProblemDetails` Unauthorized
|
|
2553
3215
|
* @response `403` `ProblemDetails` Forbidden
|
|
2554
3216
|
*/
|
|
2555
|
-
createLoanv3: (data, params = {}) => this.request(Object.assign({ path: `/api/loans`, method: "POST", body: data, secure: true, type:
|
|
3217
|
+
createLoanv3: (data, params = {}) => this.request(Object.assign({ path: `/api/loans`, method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
|
|
2556
3218
|
/**
|
|
2557
3219
|
* No description
|
|
2558
3220
|
*
|
|
@@ -2563,7 +3225,7 @@ export class Api extends HttpClient {
|
|
|
2563
3225
|
* @secure
|
|
2564
3226
|
* @response `200` `LoanListPaginated` OK
|
|
2565
3227
|
*/
|
|
2566
|
-
searchLoans: (data, query, params = {}) => this.request(Object.assign({ path: `/api/loans/search`, method: "POST", query: query, body: data, secure: true, type:
|
|
3228
|
+
searchLoans: (data, query, params = {}) => this.request(Object.assign({ path: `/api/loans/search`, method: "POST", query: query, body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
|
|
2567
3229
|
/**
|
|
2568
3230
|
* No description
|
|
2569
3231
|
*
|
|
@@ -2579,7 +3241,7 @@ export class Api extends HttpClient {
|
|
|
2579
3241
|
* @response `404` `ProblemDetails` Not Found
|
|
2580
3242
|
* @response `409` `any` Conflict
|
|
2581
3243
|
*/
|
|
2582
|
-
updateLoan: (loanId, data, params = {}) => this.request(Object.assign({ path: `/api/loans/${loanId}`, method: "PATCH", body: data, secure: true, type:
|
|
3244
|
+
updateLoan: (loanId, data, params = {}) => this.request(Object.assign({ path: `/api/loans/${loanId}`, method: "PATCH", body: data, secure: true, type: ContentType.JsonPatch, format: "json" }, params)),
|
|
2583
3245
|
/**
|
|
2584
3246
|
* No description
|
|
2585
3247
|
*
|
|
@@ -2641,7 +3303,7 @@ export class Api extends HttpClient {
|
|
|
2641
3303
|
* @response `400` `ProblemDetails` Bad Request
|
|
2642
3304
|
* @response `404` `ProblemDetails` Not Found
|
|
2643
3305
|
*/
|
|
2644
|
-
triggerAso: (loanId, data, params = {}) => this.request(Object.assign({ path: `/api/loans/${loanId}/aso`, method: "POST", body: data, secure: true, type:
|
|
3306
|
+
triggerAso: (loanId, data, params = {}) => this.request(Object.assign({ path: `/api/loans/${loanId}/aso`, method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
|
|
2645
3307
|
/**
|
|
2646
3308
|
* No description
|
|
2647
3309
|
*
|
|
@@ -2653,7 +3315,7 @@ export class Api extends HttpClient {
|
|
|
2653
3315
|
* @response `200` `TaskCommentPaginated` OK
|
|
2654
3316
|
* @response `404` `ProblemDetails` Not Found
|
|
2655
3317
|
*/
|
|
2656
|
-
searchLoanTaskComments: (loanId, userLoanTaskId, data, query, params = {}) => this.request(Object.assign({ path: `/api/loans/${loanId}/tasks/${userLoanTaskId}/comments/search`, method: "POST", query: query, body: data, secure: true, type:
|
|
3318
|
+
searchLoanTaskComments: (loanId, userLoanTaskId, data, query, params = {}) => this.request(Object.assign({ path: `/api/loans/${loanId}/tasks/${userLoanTaskId}/comments/search`, method: "POST", query: query, body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
|
|
2657
3319
|
/**
|
|
2658
3320
|
* No description
|
|
2659
3321
|
*
|
|
@@ -2677,7 +3339,7 @@ export class Api extends HttpClient {
|
|
|
2677
3339
|
* @response `201` `TaskComment` Created
|
|
2678
3340
|
* @response `404` `ProblemDetails` Not Found
|
|
2679
3341
|
*/
|
|
2680
|
-
createLoanTaskComment: (loanId, userLoanTaskId, data, params = {}) => this.request(Object.assign({ path: `/api/loans/${loanId}/tasks/${userLoanTaskId}/comments`, method: "POST", body: data, secure: true, type:
|
|
3342
|
+
createLoanTaskComment: (loanId, userLoanTaskId, data, params = {}) => this.request(Object.assign({ path: `/api/loans/${loanId}/tasks/${userLoanTaskId}/comments`, method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
|
|
2681
3343
|
/**
|
|
2682
3344
|
* No description
|
|
2683
3345
|
*
|
|
@@ -2689,7 +3351,7 @@ export class Api extends HttpClient {
|
|
|
2689
3351
|
* @response `200` `TaskComment` OK
|
|
2690
3352
|
* @response `404` `ProblemDetails` Not Found
|
|
2691
3353
|
*/
|
|
2692
|
-
replaceLoanTaskComment: (loanId, userLoanTaskId, commentId, data, params = {}) => this.request(Object.assign({ path: `/api/loans/${loanId}/tasks/${userLoanTaskId}/comments/${commentId}`, method: "PUT", body: data, secure: true, type:
|
|
3354
|
+
replaceLoanTaskComment: (loanId, userLoanTaskId, commentId, data, params = {}) => this.request(Object.assign({ path: `/api/loans/${loanId}/tasks/${userLoanTaskId}/comments/${commentId}`, method: "PUT", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
|
|
2693
3355
|
/**
|
|
2694
3356
|
* No description
|
|
2695
3357
|
*
|
|
@@ -2714,7 +3376,7 @@ export class Api extends HttpClient {
|
|
|
2714
3376
|
* @response `404` `ProblemDetails` Not Found
|
|
2715
3377
|
* @response `422` `UnprocessableEntity` Unprocessable Content
|
|
2716
3378
|
*/
|
|
2717
|
-
createLoanTaskDocument: (loanId, loanTaskId, data, params = {}) => this.request(Object.assign({ path: `/api/loans/${loanId}/tasks/${loanTaskId}/documents`, method: "POST", body: data, secure: true, type:
|
|
3379
|
+
createLoanTaskDocument: (loanId, loanTaskId, data, params = {}) => this.request(Object.assign({ path: `/api/loans/${loanId}/tasks/${loanTaskId}/documents`, method: "POST", body: data, secure: true, type: ContentType.FormData, format: "json" }, params)),
|
|
2718
3380
|
/**
|
|
2719
3381
|
* No description
|
|
2720
3382
|
*
|
|
@@ -2751,7 +3413,7 @@ export class Api extends HttpClient {
|
|
|
2751
3413
|
* @response `400` `ProblemDetails` Bad Request
|
|
2752
3414
|
* @response `404` `ProblemDetails` Not Found
|
|
2753
3415
|
*/
|
|
2754
|
-
sendLoanTaskReminder: (loanId, data, params = {}) => this.request(Object.assign({ path: `/api/loans/${loanId}/tasks/reminders`, method: "POST", body: data, secure: true, type:
|
|
3416
|
+
sendLoanTaskReminder: (loanId, data, params = {}) => this.request(Object.assign({ path: `/api/loans/${loanId}/tasks/reminders`, method: "POST", body: data, secure: true, type: ContentType.Json }, params)),
|
|
2755
3417
|
/**
|
|
2756
3418
|
* @description Search tasks across all loans
|
|
2757
3419
|
*
|
|
@@ -2762,7 +3424,7 @@ export class Api extends HttpClient {
|
|
|
2762
3424
|
* @secure
|
|
2763
3425
|
* @response `200` `UserLoanTaskPaginated` OK
|
|
2764
3426
|
*/
|
|
2765
|
-
searchLoanTasks: (data, query, params = {}) => this.request(Object.assign({ path: `/api/loans/tasks/search`, method: "POST", query: query, body: data, secure: true, type:
|
|
3427
|
+
searchLoanTasks: (data, query, params = {}) => this.request(Object.assign({ path: `/api/loans/tasks/search`, method: "POST", query: query, body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
|
|
2766
3428
|
/**
|
|
2767
3429
|
* @description Returns task counts grouped by status for loans accessible to the current user based on their role
|
|
2768
3430
|
*
|
|
@@ -2774,7 +3436,7 @@ export class Api extends HttpClient {
|
|
|
2774
3436
|
* @response `200` `(LoanTaskStatusSummary)[]` OK
|
|
2775
3437
|
* @response `422` `UnprocessableEntity` Unprocessable Content
|
|
2776
3438
|
*/
|
|
2777
|
-
searchLoanTasksSummary: (data, params = {}) => this.request(Object.assign({ path: `/api/loans/tasks/search/summary`, method: "POST", body: data, secure: true, type:
|
|
3439
|
+
searchLoanTasksSummary: (data, params = {}) => this.request(Object.assign({ path: `/api/loans/tasks/search/summary`, method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
|
|
2778
3440
|
/**
|
|
2779
3441
|
* No description
|
|
2780
3442
|
*
|
|
@@ -2822,7 +3484,7 @@ export class Api extends HttpClient {
|
|
|
2822
3484
|
* @response `201` `UserLoanTask` Created
|
|
2823
3485
|
* @response `404` `ProblemDetails` Not Found
|
|
2824
3486
|
*/
|
|
2825
|
-
createLoanTask: (loanId, taskId, data, params = {}) => this.request(Object.assign({ path: `/api/loans/${loanId}/tasks/${taskId}`, method: "POST", body: data, secure: true, type:
|
|
3487
|
+
createLoanTask: (loanId, taskId, data, params = {}) => this.request(Object.assign({ path: `/api/loans/${loanId}/tasks/${taskId}`, method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
|
|
2826
3488
|
/**
|
|
2827
3489
|
* No description
|
|
2828
3490
|
*
|
|
@@ -2834,7 +3496,7 @@ export class Api extends HttpClient {
|
|
|
2834
3496
|
* @response `201` `(UserLoanTask)[]` Created
|
|
2835
3497
|
* @response `404` `ProblemDetails` Not Found
|
|
2836
3498
|
*/
|
|
2837
|
-
importLoanTask: (loanId, data, params = {}) => this.request(Object.assign({ path: `/api/loans/${loanId}/tasks/import`, method: "POST", body: data, secure: true, type:
|
|
3499
|
+
importLoanTask: (loanId, data, params = {}) => this.request(Object.assign({ path: `/api/loans/${loanId}/tasks/import`, method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
|
|
2838
3500
|
/**
|
|
2839
3501
|
* No description
|
|
2840
3502
|
*
|
|
@@ -2846,7 +3508,7 @@ export class Api extends HttpClient {
|
|
|
2846
3508
|
* @response `200` `UserLoanTask` OK
|
|
2847
3509
|
* @response `404` `ProblemDetails` Not Found
|
|
2848
3510
|
*/
|
|
2849
|
-
replaceLoanTask: (loanId, userLoanTaskId, data, params = {}) => this.request(Object.assign({ path: `/api/loans/${loanId}/tasks/${userLoanTaskId}`, method: "PUT", body: data, secure: true, type:
|
|
3511
|
+
replaceLoanTask: (loanId, userLoanTaskId, data, params = {}) => this.request(Object.assign({ path: `/api/loans/${loanId}/tasks/${userLoanTaskId}`, method: "PUT", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
|
|
2850
3512
|
/**
|
|
2851
3513
|
* No description
|
|
2852
3514
|
*
|
|
@@ -2905,7 +3567,7 @@ export class Api extends HttpClient {
|
|
|
2905
3567
|
* @secure
|
|
2906
3568
|
* @response `201` `LoanUser` Created
|
|
2907
3569
|
*/
|
|
2908
|
-
addLoanUser: (loanId, userId, data, params = {}) => this.request(Object.assign({ path: `/api/loans/${loanId}/users/${userId}`, method: "POST", body: data, secure: true, type:
|
|
3570
|
+
addLoanUser: (loanId, userId, data, params = {}) => this.request(Object.assign({ path: `/api/loans/${loanId}/users/${userId}`, method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
|
|
2909
3571
|
/**
|
|
2910
3572
|
* No description
|
|
2911
3573
|
*
|
|
@@ -2938,7 +3600,7 @@ export class Api extends HttpClient {
|
|
|
2938
3600
|
* @secure
|
|
2939
3601
|
* @response `200` `LosOperationTrackingPaginated` OK
|
|
2940
3602
|
*/
|
|
2941
|
-
searchLosOperationTracking: (data, query, params = {}) => this.request(Object.assign({ path: `/api/los-operation-tracking/search`, method: "POST", query: query, body: data, secure: true, type:
|
|
3603
|
+
searchLosOperationTracking: (data, query, params = {}) => this.request(Object.assign({ path: `/api/los-operation-tracking/search`, method: "POST", query: query, body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
|
|
2942
3604
|
/**
|
|
2943
3605
|
* No description
|
|
2944
3606
|
*
|
|
@@ -2961,7 +3623,7 @@ export class Api extends HttpClient {
|
|
|
2961
3623
|
* @response `201` `MilestoneConfiguration` Created
|
|
2962
3624
|
* @response `422` `UnprocessableEntity` Unprocessable Content
|
|
2963
3625
|
*/
|
|
2964
|
-
createMilestone: (data, params = {}) => this.request(Object.assign({ path: `/api/milestones`, method: "POST", body: data, secure: true, type:
|
|
3626
|
+
createMilestone: (data, params = {}) => this.request(Object.assign({ path: `/api/milestones`, method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
|
|
2965
3627
|
/**
|
|
2966
3628
|
* No description
|
|
2967
3629
|
*
|
|
@@ -2986,7 +3648,7 @@ export class Api extends HttpClient {
|
|
|
2986
3648
|
* @response `404` `Error` Not Found
|
|
2987
3649
|
* @response `422` `UnprocessableEntity` Unprocessable Content
|
|
2988
3650
|
*/
|
|
2989
|
-
replaceMilestone: (id, data, params = {}) => this.request(Object.assign({ path: `/api/milestones/${id}`, method: "PUT", body: data, secure: true, type:
|
|
3651
|
+
replaceMilestone: (id, data, params = {}) => this.request(Object.assign({ path: `/api/milestones/${id}`, method: "PUT", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
|
|
2990
3652
|
/**
|
|
2991
3653
|
* No description
|
|
2992
3654
|
*
|
|
@@ -3012,7 +3674,7 @@ export class Api extends HttpClient {
|
|
|
3012
3674
|
* @response `404` `ProblemDetails` Not Found
|
|
3013
3675
|
* @response `422` `ProblemDetails` Unprocessable Content
|
|
3014
3676
|
*/
|
|
3015
|
-
seedMobileAppReview: (data, params = {}) => this.request(Object.assign({ path: `/api/mobile-app-review/seed`, method: "POST", body: data, secure: true, type:
|
|
3677
|
+
seedMobileAppReview: (data, params = {}) => this.request(Object.assign({ path: `/api/mobile-app-review/seed`, method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
|
|
3016
3678
|
/**
|
|
3017
3679
|
* No description
|
|
3018
3680
|
*
|
|
@@ -3024,7 +3686,7 @@ export class Api extends HttpClient {
|
|
|
3024
3686
|
* @response `200` `MonthlyPaymentCalculator` OK
|
|
3025
3687
|
* @response `422` `ProblemDetails` Unprocessable Content
|
|
3026
3688
|
*/
|
|
3027
|
-
calculateMortgageMonthlyPayment: (data, params = {}) => this.request(Object.assign({ path: `/api/mortgage-calculators/monthly-payment`, method: "POST", body: data, secure: true, type:
|
|
3689
|
+
calculateMortgageMonthlyPayment: (data, params = {}) => this.request(Object.assign({ path: `/api/mortgage-calculators/monthly-payment`, method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
|
|
3028
3690
|
/**
|
|
3029
3691
|
* No description
|
|
3030
3692
|
*
|
|
@@ -3036,7 +3698,7 @@ export class Api extends HttpClient {
|
|
|
3036
3698
|
* @response `200` `AffordabilityCalculator` OK
|
|
3037
3699
|
* @response `422` `ProblemDetails` Unprocessable Content
|
|
3038
3700
|
*/
|
|
3039
|
-
calculateMortgageAffordability: (data, params = {}) => this.request(Object.assign({ path: `/api/mortgage-calculators/affordability`, method: "POST", body: data, secure: true, type:
|
|
3701
|
+
calculateMortgageAffordability: (data, params = {}) => this.request(Object.assign({ path: `/api/mortgage-calculators/affordability`, method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
|
|
3040
3702
|
/**
|
|
3041
3703
|
* No description
|
|
3042
3704
|
*
|
|
@@ -3048,7 +3710,7 @@ export class Api extends HttpClient {
|
|
|
3048
3710
|
* @response `200` `LoanComparisonCalculator` OK
|
|
3049
3711
|
* @response `422` `ProblemDetails` Unprocessable Content
|
|
3050
3712
|
*/
|
|
3051
|
-
calculateMortgageLoanComparison: (data, params = {}) => this.request(Object.assign({ path: `/api/mortgage-calculators/loan-comparison`, method: "POST", body: data, secure: true, type:
|
|
3713
|
+
calculateMortgageLoanComparison: (data, params = {}) => this.request(Object.assign({ path: `/api/mortgage-calculators/loan-comparison`, method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
|
|
3052
3714
|
/**
|
|
3053
3715
|
* No description
|
|
3054
3716
|
*
|
|
@@ -3060,7 +3722,7 @@ export class Api extends HttpClient {
|
|
|
3060
3722
|
* @response `200` `RefinanceCalculator` OK
|
|
3061
3723
|
* @response `422` `ProblemDetails` Unprocessable Content
|
|
3062
3724
|
*/
|
|
3063
|
-
calculateMortgageRefinance: (data, params = {}) => this.request(Object.assign({ path: `/api/mortgage-calculators/refinance`, method: "POST", body: data, secure: true, type:
|
|
3725
|
+
calculateMortgageRefinance: (data, params = {}) => this.request(Object.assign({ path: `/api/mortgage-calculators/refinance`, method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
|
|
3064
3726
|
/**
|
|
3065
3727
|
* No description
|
|
3066
3728
|
*
|
|
@@ -3073,7 +3735,7 @@ export class Api extends HttpClient {
|
|
|
3073
3735
|
* @response `200` `void` OK
|
|
3074
3736
|
* @response `422` `UnprocessableEntity` Unprocessable Content
|
|
3075
3737
|
*/
|
|
3076
|
-
sendNotificationForLoan: (data, params = {}) => this.request(Object.assign({ path: `/api/notifications`, method: "POST", body: data, secure: true, type:
|
|
3738
|
+
sendNotificationForLoan: (data, params = {}) => this.request(Object.assign({ path: `/api/notifications`, method: "POST", body: data, secure: true, type: ContentType.Json }, params)),
|
|
3077
3739
|
/**
|
|
3078
3740
|
* No description
|
|
3079
3741
|
*
|
|
@@ -3086,7 +3748,7 @@ export class Api extends HttpClient {
|
|
|
3086
3748
|
* @response `200` `void` OK
|
|
3087
3749
|
* @response `422` `UnprocessableEntity` Unprocessable Content
|
|
3088
3750
|
*/
|
|
3089
|
-
sendTestNotificationForLoan: (data, params = {}) => this.request(Object.assign({ path: `/api/notifications/test`, method: "POST", body: data, secure: true, type:
|
|
3751
|
+
sendTestNotificationForLoan: (data, params = {}) => this.request(Object.assign({ path: `/api/notifications/test`, method: "POST", body: data, secure: true, type: ContentType.Json }, params)),
|
|
3090
3752
|
/**
|
|
3091
3753
|
* No description
|
|
3092
3754
|
*
|
|
@@ -3109,7 +3771,7 @@ export class Api extends HttpClient {
|
|
|
3109
3771
|
* @response `201` `NotificationTemplate` Created
|
|
3110
3772
|
* @response `422` `UnprocessableEntity` Unprocessable Content
|
|
3111
3773
|
*/
|
|
3112
|
-
createNotificationTemplate: (data, params = {}) => this.request(Object.assign({ path: `/api/notification-templates`, method: "POST", body: data, secure: true, type:
|
|
3774
|
+
createNotificationTemplate: (data, params = {}) => this.request(Object.assign({ path: `/api/notification-templates`, method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
|
|
3113
3775
|
/**
|
|
3114
3776
|
* No description
|
|
3115
3777
|
*
|
|
@@ -3120,7 +3782,7 @@ export class Api extends HttpClient {
|
|
|
3120
3782
|
* @secure
|
|
3121
3783
|
* @response `200` `NotificationTemplateBasePaginated` OK
|
|
3122
3784
|
*/
|
|
3123
|
-
searchNotificationTemplates: (data, query, params = {}) => this.request(Object.assign({ path: `/api/notification-templates/search`, method: "POST", query: query, body: data, secure: true, type:
|
|
3785
|
+
searchNotificationTemplates: (data, query, params = {}) => this.request(Object.assign({ path: `/api/notification-templates/search`, method: "POST", query: query, body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
|
|
3124
3786
|
/**
|
|
3125
3787
|
* No description
|
|
3126
3788
|
*
|
|
@@ -3143,7 +3805,7 @@ export class Api extends HttpClient {
|
|
|
3143
3805
|
* @response `200` `NotificationTemplate` OK
|
|
3144
3806
|
* @response `422` `UnprocessableEntity` Unprocessable Content
|
|
3145
3807
|
*/
|
|
3146
|
-
replaceNotificationTemplate: (id, data, params = {}) => this.request(Object.assign({ path: `/api/notification-templates/${id}`, method: "PUT", body: data, secure: true, type:
|
|
3808
|
+
replaceNotificationTemplate: (id, data, params = {}) => this.request(Object.assign({ path: `/api/notification-templates/${id}`, method: "PUT", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
|
|
3147
3809
|
/**
|
|
3148
3810
|
* No description
|
|
3149
3811
|
*
|
|
@@ -3187,7 +3849,7 @@ export class Api extends HttpClient {
|
|
|
3187
3849
|
* @secure
|
|
3188
3850
|
* @response `200` `NotificationTemplateVersion` OK
|
|
3189
3851
|
*/
|
|
3190
|
-
createNotificationTemplateVersion: (notificationId, data, params = {}) => this.request(Object.assign({ path: `/api/notification-templates/${notificationId}/versions`, method: "POST", body: data, secure: true, type:
|
|
3852
|
+
createNotificationTemplateVersion: (notificationId, data, params = {}) => this.request(Object.assign({ path: `/api/notification-templates/${notificationId}/versions`, method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
|
|
3191
3853
|
/**
|
|
3192
3854
|
* No description
|
|
3193
3855
|
*
|
|
@@ -3209,7 +3871,7 @@ export class Api extends HttpClient {
|
|
|
3209
3871
|
* @secure
|
|
3210
3872
|
* @response `200` `NotificationTemplateVersion` OK
|
|
3211
3873
|
*/
|
|
3212
|
-
replaceNotificationTemplateVersion: (notificationId, id, data, params = {}) => this.request(Object.assign({ path: `/api/notification-templates/${notificationId}/versions/${id}`, method: "PUT", body: data, secure: true, type:
|
|
3874
|
+
replaceNotificationTemplateVersion: (notificationId, id, data, params = {}) => this.request(Object.assign({ path: `/api/notification-templates/${notificationId}/versions/${id}`, method: "PUT", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
|
|
3213
3875
|
/**
|
|
3214
3876
|
* No description
|
|
3215
3877
|
*
|
|
@@ -3242,7 +3904,7 @@ export class Api extends HttpClient {
|
|
|
3242
3904
|
* @secure
|
|
3243
3905
|
* @response `200` `BranchUserPaginated` OK
|
|
3244
3906
|
*/
|
|
3245
|
-
searchPartners: (data, query, params = {}) => this.request(Object.assign({ path: `/api/partners/search`, method: "POST", query: query, body: data, secure: true, type:
|
|
3907
|
+
searchPartners: (data, query, params = {}) => this.request(Object.assign({ path: `/api/partners/search`, method: "POST", query: query, body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
|
|
3246
3908
|
/**
|
|
3247
3909
|
* No description
|
|
3248
3910
|
*
|
|
@@ -3265,7 +3927,7 @@ export class Api extends HttpClient {
|
|
|
3265
3927
|
* @response `200` `SiteConfiguration` OK
|
|
3266
3928
|
* @response `422` `UnprocessableEntity` Unprocessable Content
|
|
3267
3929
|
*/
|
|
3268
|
-
createPartnerSiteConfiguration: (realtorId, data, params = {}) => this.request(Object.assign({ path: `/api/partners/${realtorId}/site-configurations`, method: "POST", body: data, secure: true, type:
|
|
3930
|
+
createPartnerSiteConfiguration: (realtorId, data, params = {}) => this.request(Object.assign({ path: `/api/partners/${realtorId}/site-configurations`, method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
|
|
3269
3931
|
/**
|
|
3270
3932
|
* No description
|
|
3271
3933
|
*
|
|
@@ -3288,7 +3950,7 @@ export class Api extends HttpClient {
|
|
|
3288
3950
|
* @response `200` `SiteConfiguration` OK
|
|
3289
3951
|
* @response `422` `UnprocessableEntity` Unprocessable Content
|
|
3290
3952
|
*/
|
|
3291
|
-
replacePartnerSiteConfiguration: (realtorId, siteConfigurationId, data, query, params = {}) => this.request(Object.assign({ path: `/api/partners/${realtorId}/site-configurations/${siteConfigurationId}`, method: "PUT", query: query, body: data, secure: true, type:
|
|
3953
|
+
replacePartnerSiteConfiguration: (realtorId, siteConfigurationId, data, query, params = {}) => this.request(Object.assign({ path: `/api/partners/${realtorId}/site-configurations/${siteConfigurationId}`, method: "PUT", query: query, body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
|
|
3292
3954
|
/**
|
|
3293
3955
|
* No description
|
|
3294
3956
|
*
|
|
@@ -3312,7 +3974,7 @@ export class Api extends HttpClient {
|
|
|
3312
3974
|
* @response `200` `SiteConfigurationByUrl` OK
|
|
3313
3975
|
* @response `422` `UnprocessableEntity` Unprocessable Content
|
|
3314
3976
|
*/
|
|
3315
|
-
searchSiteConfigurationByUrl: (data, params = {}) => this.request(Object.assign({ path: `/api/site-configurations/url`, method: "POST", body: data, secure: true, type:
|
|
3977
|
+
searchSiteConfigurationByUrl: (data, params = {}) => this.request(Object.assign({ path: `/api/site-configurations/url`, method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
|
|
3316
3978
|
/**
|
|
3317
3979
|
* No description
|
|
3318
3980
|
*
|
|
@@ -3337,7 +3999,7 @@ export class Api extends HttpClient {
|
|
|
3337
3999
|
* @response `200` `SiteConfiguration` OK
|
|
3338
4000
|
* @response `422` `UnprocessableEntity` Unprocessable Content
|
|
3339
4001
|
*/
|
|
3340
|
-
searchSiteConfigurationByLoanOfficerUser: (data, params = {}) => this.request(Object.assign({ path: `/api/site-configurations/louser`, method: "POST", body: data, secure: true, type:
|
|
4002
|
+
searchSiteConfigurationByLoanOfficerUser: (data, params = {}) => this.request(Object.assign({ path: `/api/site-configurations/louser`, method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
|
|
3341
4003
|
/**
|
|
3342
4004
|
* No description
|
|
3343
4005
|
*
|
|
@@ -3361,7 +4023,7 @@ export class Api extends HttpClient {
|
|
|
3361
4023
|
* @response `200` `SiteConfigurationSummaryPaginated` OK
|
|
3362
4024
|
* @response `422` `UnprocessableEntity` Unprocessable Content
|
|
3363
4025
|
*/
|
|
3364
|
-
searchSiteConfigurations: (data, query, params = {}) => this.request(Object.assign({ path: `/api/site-configurations/search`, method: "POST", query: query, body: data, secure: true, type:
|
|
4026
|
+
searchSiteConfigurations: (data, query, params = {}) => this.request(Object.assign({ path: `/api/site-configurations/search`, method: "POST", query: query, body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
|
|
3365
4027
|
/**
|
|
3366
4028
|
* No description
|
|
3367
4029
|
*
|
|
@@ -3453,7 +4115,7 @@ export class Api extends HttpClient {
|
|
|
3453
4115
|
* @secure
|
|
3454
4116
|
* @response `200` `GetForm` OK
|
|
3455
4117
|
*/
|
|
3456
|
-
getFormBySiteConfigurationSlug: (data, params = {}) => this.request(Object.assign({ path: `/api/site-forms`, method: "POST", body: data, secure: true, type:
|
|
4118
|
+
getFormBySiteConfigurationSlug: (data, params = {}) => this.request(Object.assign({ path: `/api/site-forms`, method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
|
|
3457
4119
|
/**
|
|
3458
4120
|
* No description
|
|
3459
4121
|
*
|
|
@@ -3476,7 +4138,7 @@ export class Api extends HttpClient {
|
|
|
3476
4138
|
* @response `200` `(SocialSurveyRecord)[]` OK
|
|
3477
4139
|
* @response `422` `UnprocessableEntity` Unprocessable Content
|
|
3478
4140
|
*/
|
|
3479
|
-
getSurveysByUser: (data, params = {}) => this.request(Object.assign({ path: `/api/surveys`, method: "POST", body: data, secure: true, type:
|
|
4141
|
+
getSurveysByUser: (data, params = {}) => this.request(Object.assign({ path: `/api/surveys`, method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
|
|
3480
4142
|
/**
|
|
3481
4143
|
* No description
|
|
3482
4144
|
*
|
|
@@ -3499,7 +4161,7 @@ export class Api extends HttpClient {
|
|
|
3499
4161
|
* @secure
|
|
3500
4162
|
* @response `201` `Task` Created
|
|
3501
4163
|
*/
|
|
3502
|
-
createTask: (data, params = {}) => this.request(Object.assign({ path: `/api/tasks`, method: "POST", body: data, secure: true, type:
|
|
4164
|
+
createTask: (data, params = {}) => this.request(Object.assign({ path: `/api/tasks`, method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
|
|
3503
4165
|
/**
|
|
3504
4166
|
* No description
|
|
3505
4167
|
*
|
|
@@ -3523,7 +4185,7 @@ export class Api extends HttpClient {
|
|
|
3523
4185
|
* @response `200` `Task` OK
|
|
3524
4186
|
* @response `404` `ProblemDetails` Not Found
|
|
3525
4187
|
*/
|
|
3526
|
-
replaceTask: (id, data, params = {}) => this.request(Object.assign({ path: `/api/tasks/${id}`, method: "PUT", body: data, secure: true, type:
|
|
4188
|
+
replaceTask: (id, data, params = {}) => this.request(Object.assign({ path: `/api/tasks/${id}`, method: "PUT", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
|
|
3527
4189
|
/**
|
|
3528
4190
|
* No description
|
|
3529
4191
|
*
|
|
@@ -3546,7 +4208,7 @@ export class Api extends HttpClient {
|
|
|
3546
4208
|
* @secure
|
|
3547
4209
|
* @response `200` `TaskPaginated` OK
|
|
3548
4210
|
*/
|
|
3549
|
-
searchTasks: (data, query, params = {}) => this.request(Object.assign({ path: `/api/tasks/search`, method: "POST", query: query, body: data, secure: true, type:
|
|
4211
|
+
searchTasks: (data, query, params = {}) => this.request(Object.assign({ path: `/api/tasks/search`, method: "POST", query: query, body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
|
|
3550
4212
|
/**
|
|
3551
4213
|
* No description
|
|
3552
4214
|
*
|
|
@@ -3556,7 +4218,7 @@ export class Api extends HttpClient {
|
|
|
3556
4218
|
* @secure
|
|
3557
4219
|
* @response `200` `void` OK
|
|
3558
4220
|
*/
|
|
3559
|
-
integrationsLosLoansCreate: (data, params = {}) => this.request(Object.assign({ path: `/api/integrations/los/loans`, method: "POST", body: data, secure: true, type:
|
|
4221
|
+
integrationsLosLoansCreate: (data, params = {}) => this.request(Object.assign({ path: `/api/integrations/los/loans`, method: "POST", body: data, secure: true, type: ContentType.Json }, params)),
|
|
3560
4222
|
/**
|
|
3561
4223
|
* No description
|
|
3562
4224
|
*
|
|
@@ -3567,7 +4229,7 @@ export class Api extends HttpClient {
|
|
|
3567
4229
|
* @secure
|
|
3568
4230
|
* @response `200` `EncompassRequestLogPaginated` OK
|
|
3569
4231
|
*/
|
|
3570
|
-
searchEncompassLogs: (losId, query, data, params = {}) => this.request(Object.assign({ path: `/api/los/encompass/logs/${losId}/search`, method: "POST", query: query, body: data, secure: true, type:
|
|
4232
|
+
searchEncompassLogs: (losId, query, data, params = {}) => this.request(Object.assign({ path: `/api/los/encompass/logs/${losId}/search`, method: "POST", query: query, body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
|
|
3571
4233
|
/**
|
|
3572
4234
|
* No description
|
|
3573
4235
|
*
|
|
@@ -3590,7 +4252,7 @@ export class Api extends HttpClient {
|
|
|
3590
4252
|
* @secure
|
|
3591
4253
|
* @response `201` `LosCredentials` Created
|
|
3592
4254
|
*/
|
|
3593
|
-
createEncompassCredentials: (data, params = {}) => this.request(Object.assign({ path: `/api/los/encompass/credentials`, method: "POST", body: data, secure: true, type:
|
|
4255
|
+
createEncompassCredentials: (data, params = {}) => this.request(Object.assign({ path: `/api/los/encompass/credentials`, method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
|
|
3594
4256
|
/**
|
|
3595
4257
|
* No description
|
|
3596
4258
|
*
|
|
@@ -3601,7 +4263,7 @@ export class Api extends HttpClient {
|
|
|
3601
4263
|
* @secure
|
|
3602
4264
|
* @response `200` `EncompassCredentialsDetail` OK
|
|
3603
4265
|
*/
|
|
3604
|
-
updateEncompassCredentials: (data, params = {}) => this.request(Object.assign({ path: `/api/los/encompass/credentials`, method: "PUT", body: data, secure: true, type:
|
|
4266
|
+
updateEncompassCredentials: (data, params = {}) => this.request(Object.assign({ path: `/api/los/encompass/credentials`, method: "PUT", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
|
|
3605
4267
|
/**
|
|
3606
4268
|
* No description
|
|
3607
4269
|
*
|
|
@@ -3623,7 +4285,7 @@ export class Api extends HttpClient {
|
|
|
3623
4285
|
* @secure
|
|
3624
4286
|
* @response `201` `LosWebhook` Created
|
|
3625
4287
|
*/
|
|
3626
|
-
createEncompassWebhook: (data, params = {}) => this.request(Object.assign({ path: `/api/los/encompass/webhooks`, method: "POST", body: data, secure: true, type:
|
|
4288
|
+
createEncompassWebhook: (data, params = {}) => this.request(Object.assign({ path: `/api/los/encompass/webhooks`, method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
|
|
3627
4289
|
/**
|
|
3628
4290
|
* No description
|
|
3629
4291
|
*
|
|
@@ -3645,7 +4307,7 @@ export class Api extends HttpClient {
|
|
|
3645
4307
|
* @secure
|
|
3646
4308
|
* @response `200` `LosSyncPaginated` OK
|
|
3647
4309
|
*/
|
|
3648
|
-
searchLosSyncs: (loanId, query, data, params = {}) => this.request(Object.assign({ path: `/api/los/encompass/syncs/${loanId}/search`, method: "POST", query: query, body: data, secure: true, type:
|
|
4310
|
+
searchLosSyncs: (loanId, query, data, params = {}) => this.request(Object.assign({ path: `/api/los/encompass/syncs/${loanId}/search`, method: "POST", query: query, body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
|
|
3649
4311
|
/**
|
|
3650
4312
|
* No description
|
|
3651
4313
|
*
|
|
@@ -3728,7 +4390,7 @@ export class Api extends HttpClient {
|
|
|
3728
4390
|
* @response `201` `UserDevice` Created
|
|
3729
4391
|
* @response `400` `ProblemDetails` Bad Request
|
|
3730
4392
|
*/
|
|
3731
|
-
createUserDevice: (data, params = {}) => this.request(Object.assign({ path: `/api/userdevices`, method: "POST", body: data, secure: true, type:
|
|
4393
|
+
createUserDevice: (data, params = {}) => this.request(Object.assign({ path: `/api/userdevices`, method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
|
|
3732
4394
|
/**
|
|
3733
4395
|
* No description
|
|
3734
4396
|
*
|
|
@@ -3773,7 +4435,7 @@ export class Api extends HttpClient {
|
|
|
3773
4435
|
* @secure
|
|
3774
4436
|
* @response `200` `UserDraft` OK
|
|
3775
4437
|
*/
|
|
3776
|
-
addDraftUsers: (draftId, userId, data, params = {}) => this.request(Object.assign({ path: `/api/loans/drafts/${draftId}/users/${userId}`, method: "POST", body: data, secure: true, type:
|
|
4438
|
+
addDraftUsers: (draftId, userId, data, params = {}) => this.request(Object.assign({ path: `/api/loans/drafts/${draftId}/users/${userId}`, method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
|
|
3777
4439
|
/**
|
|
3778
4440
|
* No description
|
|
3779
4441
|
*
|
|
@@ -3806,7 +4468,7 @@ export class Api extends HttpClient {
|
|
|
3806
4468
|
* @secure
|
|
3807
4469
|
* @response `200` `UserGroupAccessScope` OK
|
|
3808
4470
|
*/
|
|
3809
|
-
createUserGroupAccessScope: (groupId, data, params = {}) => this.request(Object.assign({ path: `/api/user-groups/${groupId}/scopes`, method: "POST", body: data, secure: true, type:
|
|
4471
|
+
createUserGroupAccessScope: (groupId, data, params = {}) => this.request(Object.assign({ path: `/api/user-groups/${groupId}/scopes`, method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
|
|
3810
4472
|
/**
|
|
3811
4473
|
* No description
|
|
3812
4474
|
*
|
|
@@ -3839,7 +4501,7 @@ export class Api extends HttpClient {
|
|
|
3839
4501
|
* @secure
|
|
3840
4502
|
* @response `200` `UserGroupMember` OK
|
|
3841
4503
|
*/
|
|
3842
|
-
createUserGroupMember: (groupId, data, query, params = {}) => this.request(Object.assign({ path: `/api/user-groups/${groupId}/members`, method: "POST", query: query, body: data, secure: true, type:
|
|
4504
|
+
createUserGroupMember: (groupId, data, query, params = {}) => this.request(Object.assign({ path: `/api/user-groups/${groupId}/members`, method: "POST", query: query, body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
|
|
3843
4505
|
/**
|
|
3844
4506
|
* No description
|
|
3845
4507
|
*
|
|
@@ -3883,7 +4545,7 @@ export class Api extends HttpClient {
|
|
|
3883
4545
|
* @secure
|
|
3884
4546
|
* @response `200` `UserGroup` OK
|
|
3885
4547
|
*/
|
|
3886
|
-
updateUserGroup: (groupId, data, params = {}) => this.request(Object.assign({ path: `/api/user-groups/${groupId}`, method: "PUT", body: data, secure: true, type:
|
|
4548
|
+
updateUserGroup: (groupId, data, params = {}) => this.request(Object.assign({ path: `/api/user-groups/${groupId}`, method: "PUT", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
|
|
3887
4549
|
/**
|
|
3888
4550
|
* No description
|
|
3889
4551
|
*
|
|
@@ -3905,7 +4567,7 @@ export class Api extends HttpClient {
|
|
|
3905
4567
|
* @secure
|
|
3906
4568
|
* @response `201` `UserGroup` Created
|
|
3907
4569
|
*/
|
|
3908
|
-
createUserGroup: (data, params = {}) => this.request(Object.assign({ path: `/api/user-groups`, method: "POST", body: data, secure: true, type:
|
|
4570
|
+
createUserGroup: (data, params = {}) => this.request(Object.assign({ path: `/api/user-groups`, method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
|
|
3909
4571
|
/**
|
|
3910
4572
|
* No description
|
|
3911
4573
|
*
|
|
@@ -3918,7 +4580,7 @@ export class Api extends HttpClient {
|
|
|
3918
4580
|
* @response `404` `Error` Not Found
|
|
3919
4581
|
* @response `422` `UnprocessableEntity` Unprocessable Content
|
|
3920
4582
|
*/
|
|
3921
|
-
requestImpersonation: (data, params = {}) => this.request(Object.assign({ path: `/api/users/impersonation/request`, method: "POST", body: data, secure: true, type:
|
|
4583
|
+
requestImpersonation: (data, params = {}) => this.request(Object.assign({ path: `/api/users/impersonation/request`, method: "POST", body: data, secure: true, type: ContentType.Json }, params)),
|
|
3922
4584
|
/**
|
|
3923
4585
|
* No description
|
|
3924
4586
|
*
|
|
@@ -3931,7 +4593,7 @@ export class Api extends HttpClient {
|
|
|
3931
4593
|
* @response `404` `Error` Not Found
|
|
3932
4594
|
* @response `422` `UnprocessableEntity` Unprocessable Content
|
|
3933
4595
|
*/
|
|
3934
|
-
allowImpersonation: (data, params = {}) => this.request(Object.assign({ path: `/api/users/impersonation/allow`, method: "POST", body: data, secure: true, type:
|
|
4596
|
+
allowImpersonation: (data, params = {}) => this.request(Object.assign({ path: `/api/users/impersonation/allow`, method: "POST", body: data, secure: true, type: ContentType.Json }, params)),
|
|
3935
4597
|
/**
|
|
3936
4598
|
* No description
|
|
3937
4599
|
*
|
|
@@ -3981,7 +4643,7 @@ export class Api extends HttpClient {
|
|
|
3981
4643
|
* @response `404` `Error` Not Found
|
|
3982
4644
|
* @response `422` `UnprocessableEntity` Unprocessable Content
|
|
3983
4645
|
*/
|
|
3984
|
-
forceImpersonation: (data, params = {}) => this.request(Object.assign({ path: `/api/users/impersonation/force`, method: "POST", body: data, secure: true, type:
|
|
4646
|
+
forceImpersonation: (data, params = {}) => this.request(Object.assign({ path: `/api/users/impersonation/force`, method: "POST", body: data, secure: true, type: ContentType.Json }, params)),
|
|
3985
4647
|
/**
|
|
3986
4648
|
* No description
|
|
3987
4649
|
*
|
|
@@ -4005,7 +4667,7 @@ export class Api extends HttpClient {
|
|
|
4005
4667
|
* @response `204` `void` No Content
|
|
4006
4668
|
* @response `422` `UnprocessableEntity` Unprocessable Content
|
|
4007
4669
|
*/
|
|
4008
|
-
inviteUser: (data, params = {}) => this.request(Object.assign({ path: `/api/users/invites`, method: "POST", body: data, secure: true, type:
|
|
4670
|
+
inviteUser: (data, params = {}) => this.request(Object.assign({ path: `/api/users/invites`, method: "POST", body: data, secure: true, type: ContentType.Json }, params)),
|
|
4009
4671
|
/**
|
|
4010
4672
|
* No description
|
|
4011
4673
|
*
|
|
@@ -4052,7 +4714,7 @@ export class Api extends HttpClient {
|
|
|
4052
4714
|
* @secure
|
|
4053
4715
|
* @response `204` `void` No Content
|
|
4054
4716
|
*/
|
|
4055
|
-
createUserRelation: (userId, data, params = {}) => this.request(Object.assign({ path: `/api/users/${userId}/relations`, method: "POST", body: data, secure: true, type:
|
|
4717
|
+
createUserRelation: (userId, data, params = {}) => this.request(Object.assign({ path: `/api/users/${userId}/relations`, method: "POST", body: data, secure: true, type: ContentType.Json }, params)),
|
|
4056
4718
|
/**
|
|
4057
4719
|
* No description
|
|
4058
4720
|
*
|
|
@@ -4097,7 +4759,7 @@ export class Api extends HttpClient {
|
|
|
4097
4759
|
* @response `200` `DetailedUser` OK
|
|
4098
4760
|
* @response `422` `UnprocessableEntity` Unprocessable Content
|
|
4099
4761
|
*/
|
|
4100
|
-
createUser: (data, params = {}) => this.request(Object.assign({ path: `/api/users`, method: "POST", body: data, secure: true, type:
|
|
4762
|
+
createUser: (data, params = {}) => this.request(Object.assign({ path: `/api/users`, method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
|
|
4101
4763
|
/**
|
|
4102
4764
|
* No description
|
|
4103
4765
|
*
|
|
@@ -4108,7 +4770,7 @@ export class Api extends HttpClient {
|
|
|
4108
4770
|
* @secure
|
|
4109
4771
|
* @response `200` `UserPaginated` OK
|
|
4110
4772
|
*/
|
|
4111
|
-
searchUsers: (data, query, params = {}) => this.request(Object.assign({ path: `/api/users/search`, method: "POST", query: query, body: data, secure: true, type:
|
|
4773
|
+
searchUsers: (data, query, params = {}) => this.request(Object.assign({ path: `/api/users/search`, method: "POST", query: query, body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
|
|
4112
4774
|
/**
|
|
4113
4775
|
* No description
|
|
4114
4776
|
*
|
|
@@ -4119,7 +4781,7 @@ export class Api extends HttpClient {
|
|
|
4119
4781
|
* @secure
|
|
4120
4782
|
* @response `200` `AdminAccessUser` OK
|
|
4121
4783
|
*/
|
|
4122
|
-
getUserByEmail: (data, params = {}) => this.request(Object.assign({ path: `/api/users/byemail`, method: "POST", body: data, secure: true, type:
|
|
4784
|
+
getUserByEmail: (data, params = {}) => this.request(Object.assign({ path: `/api/users/byemail`, method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
|
|
4123
4785
|
/**
|
|
4124
4786
|
* No description
|
|
4125
4787
|
*
|
|
@@ -4131,7 +4793,7 @@ export class Api extends HttpClient {
|
|
|
4131
4793
|
* @response `200` `User` OK
|
|
4132
4794
|
* @response `422` `UnprocessableEntity` Unprocessable Content
|
|
4133
4795
|
*/
|
|
4134
|
-
signUp: (data, params = {}) => this.request(Object.assign({ path: `/api/users/register`, method: "POST", body: data, secure: true, type:
|
|
4796
|
+
signUp: (data, params = {}) => this.request(Object.assign({ path: `/api/users/register`, method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
|
|
4135
4797
|
/**
|
|
4136
4798
|
* No description
|
|
4137
4799
|
*
|
|
@@ -4143,7 +4805,7 @@ export class Api extends HttpClient {
|
|
|
4143
4805
|
* @response `200` `DetailedUser` OK
|
|
4144
4806
|
* @response `422` `UnprocessableEntity` Unprocessable Content
|
|
4145
4807
|
*/
|
|
4146
|
-
replaceUser: (id, data, params = {}) => this.request(Object.assign({ path: `/api/users/${id}`, method: "PUT", body: data, secure: true, type:
|
|
4808
|
+
replaceUser: (id, data, params = {}) => this.request(Object.assign({ path: `/api/users/${id}`, method: "PUT", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
|
|
4147
4809
|
/**
|
|
4148
4810
|
* No description
|
|
4149
4811
|
*
|
|
@@ -4177,7 +4839,7 @@ export class Api extends HttpClient {
|
|
|
4177
4839
|
* @response `204` `void` No Content
|
|
4178
4840
|
* @response `422` `UnprocessableEntity` Unprocessable Content
|
|
4179
4841
|
*/
|
|
4180
|
-
changePassword: (data, params = {}) => this.request(Object.assign({ path: `/api/users/change-password`, method: "POST", body: data, secure: true, type:
|
|
4842
|
+
changePassword: (data, params = {}) => this.request(Object.assign({ path: `/api/users/change-password`, method: "POST", body: data, secure: true, type: ContentType.Json }, params)),
|
|
4181
4843
|
/**
|
|
4182
4844
|
* No description
|
|
4183
4845
|
*
|
|
@@ -4189,7 +4851,7 @@ export class Api extends HttpClient {
|
|
|
4189
4851
|
* @response `204` `void` No Content
|
|
4190
4852
|
* @response `422` `UnprocessableEntity` Unprocessable Content
|
|
4191
4853
|
*/
|
|
4192
|
-
verifyPassword: (data, params = {}) => this.request(Object.assign({ path: `/api/users/verify-password`, method: "POST", body: data, secure: true, type:
|
|
4854
|
+
verifyPassword: (data, params = {}) => this.request(Object.assign({ path: `/api/users/verify-password`, method: "POST", body: data, secure: true, type: ContentType.Json }, params)),
|
|
4193
4855
|
/**
|
|
4194
4856
|
* No description
|
|
4195
4857
|
*
|
|
@@ -4201,7 +4863,7 @@ export class Api extends HttpClient {
|
|
|
4201
4863
|
* @response `204` `void` No Content
|
|
4202
4864
|
* @response `422` `UnprocessableEntity` Unprocessable Content
|
|
4203
4865
|
*/
|
|
4204
|
-
overridePassword: (id, data, params = {}) => this.request(Object.assign({ path: `/api/users/${id}/override-password`, method: "POST", body: data, secure: true, type:
|
|
4866
|
+
overridePassword: (id, data, params = {}) => this.request(Object.assign({ path: `/api/users/${id}/override-password`, method: "POST", body: data, secure: true, type: ContentType.Json }, params)),
|
|
4205
4867
|
/**
|
|
4206
4868
|
* No description
|
|
4207
4869
|
*
|
|
@@ -4213,7 +4875,7 @@ export class Api extends HttpClient {
|
|
|
4213
4875
|
* @response `204` `void` No Content
|
|
4214
4876
|
* @response `422` `UnprocessableEntity` Unprocessable Content
|
|
4215
4877
|
*/
|
|
4216
|
-
forgotPassword: (data, params = {}) => this.request(Object.assign({ path: `/api/users/forgot-password`, method: "POST", body: data, secure: true, type:
|
|
4878
|
+
forgotPassword: (data, params = {}) => this.request(Object.assign({ path: `/api/users/forgot-password`, method: "POST", body: data, secure: true, type: ContentType.Json }, params)),
|
|
4217
4879
|
/**
|
|
4218
4880
|
* No description
|
|
4219
4881
|
*
|
|
@@ -4237,7 +4899,7 @@ export class Api extends HttpClient {
|
|
|
4237
4899
|
* @response `204` `void` No Content
|
|
4238
4900
|
* @response `422` `UnprocessableEntity` Unprocessable Content
|
|
4239
4901
|
*/
|
|
4240
|
-
verifyUserMobilePhone: (data, params = {}) => this.request(Object.assign({ path: `/api/users/mobile-phone/verify-code`, method: "PUT", body: data, secure: true, type:
|
|
4902
|
+
verifyUserMobilePhone: (data, params = {}) => this.request(Object.assign({ path: `/api/users/mobile-phone/verify-code`, method: "PUT", body: data, secure: true, type: ContentType.Json }, params)),
|
|
4241
4903
|
/**
|
|
4242
4904
|
* No description
|
|
4243
4905
|
*
|
|
@@ -4260,7 +4922,7 @@ export class Api extends HttpClient {
|
|
|
4260
4922
|
* @secure
|
|
4261
4923
|
* @response `200` `DetailedUser` OK
|
|
4262
4924
|
*/
|
|
4263
|
-
replaceMe: (data, params = {}) => this.request(Object.assign({ path: `/api/users/me`, method: "PUT", body: data, secure: true, type:
|
|
4925
|
+
replaceMe: (data, params = {}) => this.request(Object.assign({ path: `/api/users/me`, method: "PUT", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
|
|
4264
4926
|
/**
|
|
4265
4927
|
* @description Update the phone number If changed will send a verification code to the new number
|
|
4266
4928
|
*
|
|
@@ -4271,7 +4933,7 @@ export class Api extends HttpClient {
|
|
|
4271
4933
|
* @secure
|
|
4272
4934
|
* @response `204` `DetailedUser` No Content
|
|
4273
4935
|
*/
|
|
4274
|
-
updateMyPhone: (data, params = {}) => this.request(Object.assign({ path: `/api/users/me/phone-number`, method: "PUT", body: data, secure: true, type:
|
|
4936
|
+
updateMyPhone: (data, params = {}) => this.request(Object.assign({ path: `/api/users/me/phone-number`, method: "PUT", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
|
|
4275
4937
|
/**
|
|
4276
4938
|
* No description
|
|
4277
4939
|
*
|
|
@@ -4315,7 +4977,7 @@ export class Api extends HttpClient {
|
|
|
4315
4977
|
* @secure
|
|
4316
4978
|
* @response `204` `void` No Content
|
|
4317
4979
|
*/
|
|
4318
|
-
deleteMe: (data, params = {}) => this.request(Object.assign({ path: `/api/users/me/delete`, method: "POST", body: data, secure: true, type:
|
|
4980
|
+
deleteMe: (data, params = {}) => this.request(Object.assign({ path: `/api/users/me/delete`, method: "POST", body: data, secure: true, type: ContentType.Json }, params)),
|
|
4319
4981
|
/**
|
|
4320
4982
|
* No description
|
|
4321
4983
|
*
|
|
@@ -4326,7 +4988,7 @@ export class Api extends HttpClient {
|
|
|
4326
4988
|
* @secure
|
|
4327
4989
|
* @response `200` `GetForm` OK
|
|
4328
4990
|
*/
|
|
4329
|
-
getWorkflow: (data, params = {}) => this.request(Object.assign({ path: `/api/workflow`, method: "POST", body: data, secure: true, type:
|
|
4991
|
+
getWorkflow: (data, params = {}) => this.request(Object.assign({ path: `/api/workflow`, method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
|
|
4330
4992
|
};
|
|
4331
4993
|
this.sso = {
|
|
4332
4994
|
/**
|