@matech/thebigpos-sdk 2.45.1-rc9 → 2.46.4-rc1
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/README.md +0 -10
- package/dist/index.d.ts +341 -490
- package/dist/index.js +352 -363
- package/dist/index.js.map +1 -1
- package/package.json +1 -4
- package/scripts/apply-json-patch-content-type.js +36 -129
- package/src/index.ts +1213 -1609
- package/tsconfig.json +27 -27
- package/.claude/settings.local.json +0 -52
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.
|
|
107
|
+
* @version v2.46.4
|
|
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,289 +263,322 @@ 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)),
|
|
258
267
|
/**
|
|
259
268
|
* No description
|
|
260
269
|
*
|
|
261
|
-
* @tags
|
|
262
|
-
* @name
|
|
263
|
-
* @summary Get
|
|
264
|
-
* @request GET:/api/ai/
|
|
270
|
+
* @tags AiAccess
|
|
271
|
+
* @name GetAiAccess
|
|
272
|
+
* @summary Get whether AI is enabled for the current user's account
|
|
273
|
+
* @request GET:/api/ai/access
|
|
265
274
|
* @secure
|
|
266
|
-
* @response `200` `
|
|
275
|
+
* @response `200` `AiEnabled` OK
|
|
267
276
|
*/
|
|
268
|
-
|
|
277
|
+
getAiAccess: (params = {}) => this.request(Object.assign({ path: `/api/ai/access`, method: "GET", secure: true, format: "json" }, params)),
|
|
269
278
|
/**
|
|
270
279
|
* No description
|
|
271
280
|
*
|
|
272
|
-
* @tags
|
|
273
|
-
* @name
|
|
274
|
-
* @summary
|
|
275
|
-
* @request
|
|
281
|
+
* @tags AiAccount
|
|
282
|
+
* @name GetAccountAiEnabled
|
|
283
|
+
* @summary Get whether AI is enabled for an account (SuperAdmin only)
|
|
284
|
+
* @request GET:/api/ai/accounts/{accountId}/ai-enabled
|
|
276
285
|
* @secure
|
|
277
|
-
* @response `200` `
|
|
278
|
-
* @response `400` `ProblemDetails` Bad Request
|
|
286
|
+
* @response `200` `AiEnabled` OK
|
|
279
287
|
*/
|
|
280
|
-
|
|
288
|
+
getAccountAiEnabled: (accountId, params = {}) => this.request(Object.assign({ path: `/api/ai/accounts/${accountId}/ai-enabled`, method: "GET", secure: true, format: "json" }, params)),
|
|
281
289
|
/**
|
|
282
290
|
* No description
|
|
283
291
|
*
|
|
284
|
-
* @tags
|
|
285
|
-
* @name
|
|
286
|
-
* @summary
|
|
287
|
-
* @request
|
|
288
|
-
* @secure
|
|
289
|
-
* @response `200` `AiAuditLogPaginated` OK
|
|
290
|
-
*/
|
|
291
|
-
getAiAuditLogs: (query, params = {}) => this.request(Object.assign({ path: `/api/ai/admin/audit-logs`, method: "GET", query: query, secure: true, format: "json" }, params)),
|
|
292
|
-
/**
|
|
293
|
-
* No description
|
|
294
|
-
*
|
|
295
|
-
* @tags AiAdmin
|
|
296
|
-
* @name GetAiRequestLifecycle
|
|
297
|
-
* @summary Get the full event lifecycle of a single AI request
|
|
298
|
-
* @request GET:/api/ai/admin/audit-logs/request/{requestId}
|
|
299
|
-
* @secure
|
|
300
|
-
* @response `200` `(AiAuditLog)[]` OK
|
|
301
|
-
*/
|
|
302
|
-
getAiRequestLifecycle: (requestId, params = {}) => this.request(Object.assign({ path: `/api/ai/admin/audit-logs/request/${requestId}`, method: "GET", secure: true, format: "json" }, params)),
|
|
303
|
-
/**
|
|
304
|
-
* No description
|
|
305
|
-
*
|
|
306
|
-
* @tags AiAdmin
|
|
307
|
-
* @name GetAiAuditConversations
|
|
308
|
-
* @summary List conversations with their audit roll-up — origin user, turns, status, tokens
|
|
309
|
-
* @request GET:/api/ai/admin/audit-conversations
|
|
292
|
+
* @tags AiAccount
|
|
293
|
+
* @name SetAccountAiEnabled
|
|
294
|
+
* @summary Enable or disable AI for an account (SuperAdmin only)
|
|
295
|
+
* @request PUT:/api/ai/accounts/{accountId}/ai-enabled
|
|
310
296
|
* @secure
|
|
311
|
-
* @response `
|
|
297
|
+
* @response `204` `void` No Content
|
|
312
298
|
*/
|
|
313
|
-
|
|
299
|
+
setAccountAiEnabled: (accountId, data, params = {}) => this.request(Object.assign({ path: `/api/ai/accounts/${accountId}/ai-enabled`, method: "PUT", body: data, secure: true, type: ContentType.Json }, params)),
|
|
314
300
|
/**
|
|
315
301
|
* No description
|
|
316
302
|
*
|
|
317
|
-
* @tags
|
|
318
|
-
* @name
|
|
319
|
-
* @summary Get AI
|
|
320
|
-
* @request GET:/api/ai/
|
|
303
|
+
* @tags AiAccountSettings
|
|
304
|
+
* @name GetAiAccountSettings
|
|
305
|
+
* @summary Get account AI settings
|
|
306
|
+
* @request GET:/api/ai/account-settings
|
|
321
307
|
* @secure
|
|
322
|
-
* @response `200` `
|
|
308
|
+
* @response `200` `AiAccountSettings` OK
|
|
323
309
|
*/
|
|
324
|
-
|
|
310
|
+
getAiAccountSettings: (params = {}) => this.request(Object.assign({ path: `/api/ai/account-settings`, method: "GET", secure: true, format: "json" }, params)),
|
|
325
311
|
/**
|
|
326
312
|
* No description
|
|
327
313
|
*
|
|
328
|
-
* @tags
|
|
329
|
-
* @name
|
|
330
|
-
* @summary
|
|
331
|
-
* @request
|
|
314
|
+
* @tags AiAccountSettings
|
|
315
|
+
* @name UpdateAiAccountSettings
|
|
316
|
+
* @summary Update account AI settings
|
|
317
|
+
* @request PUT:/api/ai/account-settings
|
|
332
318
|
* @secure
|
|
333
|
-
* @response `200` `
|
|
319
|
+
* @response `200` `AiAccountSettings` OK
|
|
320
|
+
* @response `400` `ProblemDetails` Bad Request
|
|
334
321
|
*/
|
|
335
|
-
|
|
322
|
+
updateAiAccountSettings: (data, params = {}) => this.request(Object.assign({ path: `/api/ai/account-settings`, method: "PUT", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
|
|
336
323
|
/**
|
|
337
324
|
* No description
|
|
338
325
|
*
|
|
339
326
|
* @tags AiAdminPrompt
|
|
340
327
|
* @name GetAiPrompts
|
|
341
328
|
* @summary Get all prompts
|
|
342
|
-
* @request GET:/api/ai/
|
|
329
|
+
* @request GET:/api/ai/prompts
|
|
343
330
|
* @secure
|
|
344
331
|
* @response `200` `(AiPrompt)[]` OK
|
|
345
332
|
*/
|
|
346
|
-
getAiPrompts: (params = {}) => this.request(Object.assign({ path: `/api/ai/
|
|
333
|
+
getAiPrompts: (params = {}) => this.request(Object.assign({ path: `/api/ai/prompts`, method: "GET", secure: true, format: "json" }, params)),
|
|
347
334
|
/**
|
|
348
335
|
* No description
|
|
349
336
|
*
|
|
350
337
|
* @tags AiAdminPrompt
|
|
351
338
|
* @name CreateAiPrompt
|
|
352
339
|
* @summary Create custom prompt
|
|
353
|
-
* @request POST:/api/ai/
|
|
340
|
+
* @request POST:/api/ai/prompts
|
|
354
341
|
* @secure
|
|
355
342
|
* @response `201` `AiPrompt` Created
|
|
356
343
|
* @response `400` `ProblemDetails` Bad Request
|
|
357
344
|
*/
|
|
358
|
-
createAiPrompt: (data, params = {}) => this.request(Object.assign({ path: `/api/ai/
|
|
345
|
+
createAiPrompt: (data, params = {}) => this.request(Object.assign({ path: `/api/ai/prompts`, method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
|
|
359
346
|
/**
|
|
360
347
|
* No description
|
|
361
348
|
*
|
|
362
349
|
* @tags AiAdminPrompt
|
|
363
350
|
* @name GetAiPrompt
|
|
364
351
|
* @summary Get prompt by ID
|
|
365
|
-
* @request GET:/api/ai/
|
|
352
|
+
* @request GET:/api/ai/prompts/{id}
|
|
366
353
|
* @secure
|
|
367
354
|
* @response `200` `AiPrompt` OK
|
|
368
355
|
* @response `404` `ProblemDetails` Not Found
|
|
369
356
|
*/
|
|
370
|
-
getAiPrompt: (id, params = {}) => this.request(Object.assign({ path: `/api/ai/
|
|
357
|
+
getAiPrompt: (id, params = {}) => this.request(Object.assign({ path: `/api/ai/prompts/${id}`, method: "GET", secure: true, format: "json" }, params)),
|
|
371
358
|
/**
|
|
372
359
|
* No description
|
|
373
360
|
*
|
|
374
361
|
* @tags AiAdminPrompt
|
|
375
362
|
* @name UpdateAiPrompt
|
|
376
363
|
* @summary Update prompt
|
|
377
|
-
* @request PUT:/api/ai/
|
|
364
|
+
* @request PUT:/api/ai/prompts/{id}
|
|
378
365
|
* @secure
|
|
379
366
|
* @response `200` `AiPrompt` OK
|
|
380
367
|
* @response `400` `ProblemDetails` Bad Request
|
|
381
368
|
* @response `404` `ProblemDetails` Not Found
|
|
382
369
|
*/
|
|
383
|
-
updateAiPrompt: (id, data, params = {}) => this.request(Object.assign({ path: `/api/ai/
|
|
370
|
+
updateAiPrompt: (id, data, params = {}) => this.request(Object.assign({ path: `/api/ai/prompts/${id}`, method: "PUT", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
|
|
384
371
|
/**
|
|
385
372
|
* No description
|
|
386
373
|
*
|
|
387
374
|
* @tags AiAdminPrompt
|
|
388
375
|
* @name DeleteAiPrompt
|
|
389
376
|
* @summary Delete prompt
|
|
390
|
-
* @request DELETE:/api/ai/
|
|
377
|
+
* @request DELETE:/api/ai/prompts/{id}
|
|
391
378
|
* @secure
|
|
392
379
|
* @response `204` `void` No Content
|
|
393
380
|
* @response `400` `ProblemDetails` Bad Request
|
|
394
381
|
* @response `404` `ProblemDetails` Not Found
|
|
395
382
|
*/
|
|
396
|
-
deleteAiPrompt: (id, params = {}) => this.request(Object.assign({ path: `/api/ai/
|
|
383
|
+
deleteAiPrompt: (id, params = {}) => this.request(Object.assign({ path: `/api/ai/prompts/${id}`, method: "DELETE", secure: true }, params)),
|
|
397
384
|
/**
|
|
398
385
|
* No description
|
|
399
386
|
*
|
|
400
387
|
* @tags AiAdminPrompt
|
|
401
388
|
* @name ToggleAiPrompt
|
|
402
389
|
* @summary Toggle prompt active/inactive
|
|
403
|
-
* @request PATCH:/api/ai/
|
|
390
|
+
* @request PATCH:/api/ai/prompts/{id}/toggle
|
|
404
391
|
* @secure
|
|
405
392
|
* @response `200` `AiPrompt` OK
|
|
406
393
|
* @response `404` `ProblemDetails` Not Found
|
|
407
394
|
*/
|
|
408
|
-
toggleAiPrompt: (id, params = {}) => this.request(Object.assign({ path: `/api/ai/
|
|
395
|
+
toggleAiPrompt: (id, params = {}) => this.request(Object.assign({ path: `/api/ai/prompts/${id}/toggle`, method: "PATCH", secure: true, format: "json" }, params)),
|
|
409
396
|
/**
|
|
410
397
|
* No description
|
|
411
398
|
*
|
|
412
399
|
* @tags AiAdminPrompt
|
|
413
400
|
* @name GenerateAiSystemPrompt
|
|
414
401
|
* @summary Generate a system prompt from description
|
|
415
|
-
* @request POST:/api/ai/
|
|
402
|
+
* @request POST:/api/ai/prompts/generate
|
|
416
403
|
* @secure
|
|
417
404
|
* @response `200` `GenerateSystemPrompt` OK
|
|
418
405
|
* @response `400` `ProblemDetails` Bad Request
|
|
419
406
|
*/
|
|
420
|
-
generateAiSystemPrompt: (data, params = {}) => this.request(Object.assign({ path: `/api/ai/
|
|
407
|
+
generateAiSystemPrompt: (data, params = {}) => this.request(Object.assign({ path: `/api/ai/prompts/generate`, method: "POST", body: data, secure: true, type: ContentType.JsonPatch, format: "json" }, params)),
|
|
421
408
|
/**
|
|
422
409
|
* No description
|
|
423
410
|
*
|
|
424
411
|
* @tags AiAdminPrompt
|
|
425
|
-
* @name
|
|
412
|
+
* @name GetAiSupportedModels
|
|
426
413
|
* @summary Get supported LLM models
|
|
427
|
-
* @request GET:/api/ai/
|
|
414
|
+
* @request GET:/api/ai/prompts/supported-models
|
|
428
415
|
* @secure
|
|
429
416
|
* @response `200` `(SupportedModel)[]` OK
|
|
430
417
|
*/
|
|
431
|
-
|
|
418
|
+
getAiSupportedModels: (params = {}) => this.request(Object.assign({ path: `/api/ai/prompts/supported-models`, method: "GET", secure: true, format: "json" }, params)),
|
|
432
419
|
/**
|
|
433
420
|
* No description
|
|
434
421
|
*
|
|
435
422
|
* @tags AiAdminSettings
|
|
436
423
|
* @name GetAiAdminSettings
|
|
437
424
|
* @summary Get global AI settings
|
|
438
|
-
* @request GET:/api/ai/
|
|
425
|
+
* @request GET:/api/ai/settings
|
|
439
426
|
* @secure
|
|
440
427
|
* @response `200` `AiAdminSettings` OK
|
|
441
428
|
*/
|
|
442
|
-
getAiAdminSettings: (params = {}) => this.request(Object.assign({ path: `/api/ai/
|
|
429
|
+
getAiAdminSettings: (params = {}) => this.request(Object.assign({ path: `/api/ai/settings`, method: "GET", secure: true, format: "json" }, params)),
|
|
443
430
|
/**
|
|
444
431
|
* No description
|
|
445
432
|
*
|
|
446
433
|
* @tags AiAdminSettings
|
|
447
434
|
* @name UpdateAiAdminSettings
|
|
448
435
|
* @summary Update global AI settings
|
|
449
|
-
* @request PUT:/api/ai/
|
|
436
|
+
* @request PUT:/api/ai/settings
|
|
450
437
|
* @secure
|
|
451
438
|
* @response `200` `AiAdminSettings` OK
|
|
452
439
|
* @response `400` `ProblemDetails` Bad Request
|
|
453
440
|
*/
|
|
454
|
-
updateAiAdminSettings: (data, params = {}) => this.request(Object.assign({ path: `/api/ai/
|
|
441
|
+
updateAiAdminSettings: (data, params = {}) => this.request(Object.assign({ path: `/api/ai/settings`, method: "PUT", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
|
|
442
|
+
/**
|
|
443
|
+
* No description
|
|
444
|
+
*
|
|
445
|
+
* @tags AiAudit
|
|
446
|
+
* @name GetAiAuditLogs
|
|
447
|
+
* @summary Get paginated AI audit logs (own account, or any/all accounts for SuperAdmin)
|
|
448
|
+
* @request GET:/api/ai/audit-logs
|
|
449
|
+
* @secure
|
|
450
|
+
* @response `200` `AiAuditLogPaginated` OK
|
|
451
|
+
*/
|
|
452
|
+
getAiAuditLogs: (query, params = {}) => this.request(Object.assign({ path: `/api/ai/audit-logs`, method: "GET", query: query, secure: true, format: "json" }, params)),
|
|
453
|
+
/**
|
|
454
|
+
* No description
|
|
455
|
+
*
|
|
456
|
+
* @tags AiAudit
|
|
457
|
+
* @name GetAiRequestLifecycle
|
|
458
|
+
* @summary Get the full event lifecycle of a single AI request
|
|
459
|
+
* @request GET:/api/ai/audit-logs/request/{requestId}
|
|
460
|
+
* @secure
|
|
461
|
+
* @response `200` `(AiAuditLog)[]` OK
|
|
462
|
+
*/
|
|
463
|
+
getAiRequestLifecycle: (requestId, query, params = {}) => this.request(Object.assign({ path: `/api/ai/audit-logs/request/${requestId}`, method: "GET", query: query, secure: true, format: "json" }, params)),
|
|
464
|
+
/**
|
|
465
|
+
* No description
|
|
466
|
+
*
|
|
467
|
+
* @tags AiAudit
|
|
468
|
+
* @name GetAiAuditConversations
|
|
469
|
+
* @summary List conversations with their audit roll-up — origin user, turns, status, tokens
|
|
470
|
+
* @request GET:/api/ai/audit-conversations
|
|
471
|
+
* @secure
|
|
472
|
+
* @response `200` `AiConversationAuditSummaryPaginated` OK
|
|
473
|
+
*/
|
|
474
|
+
getAiAuditConversations: (query, params = {}) => this.request(Object.assign({ path: `/api/ai/audit-conversations`, method: "GET", query: query, secure: true, format: "json" }, params)),
|
|
475
|
+
/**
|
|
476
|
+
* No description
|
|
477
|
+
*
|
|
478
|
+
* @tags AiAudit
|
|
479
|
+
* @name GetAiStats
|
|
480
|
+
* @summary Get AI dashboard stats (own account, or any/all accounts for SuperAdmin)
|
|
481
|
+
* @request GET:/api/ai/stats
|
|
482
|
+
* @secure
|
|
483
|
+
* @response `200` `AiAdminStats` OK
|
|
484
|
+
*/
|
|
485
|
+
getAiStats: (query, params = {}) => this.request(Object.assign({ path: `/api/ai/stats`, method: "GET", query: query, secure: true, format: "json" }, params)),
|
|
486
|
+
/**
|
|
487
|
+
* No description
|
|
488
|
+
*
|
|
489
|
+
* @tags AiAudit
|
|
490
|
+
* @name GetAiConfigChanges
|
|
491
|
+
* @summary Get the AI configuration change history (who changed prompts, guardrails, fields, sources)
|
|
492
|
+
* @request GET:/api/ai/config-changes
|
|
493
|
+
* @secure
|
|
494
|
+
* @response `200` `AuditLogEntryPaginated` OK
|
|
495
|
+
*/
|
|
496
|
+
getAiConfigChanges: (query, params = {}) => this.request(Object.assign({ path: `/api/ai/config-changes`, method: "GET", query: query, secure: true, format: "json" }, params)),
|
|
455
497
|
/**
|
|
456
498
|
* No description
|
|
457
499
|
*
|
|
458
500
|
* @tags AiCanonicalField
|
|
459
501
|
* @name GetAiCanonicalFields
|
|
460
502
|
* @summary Get all canonical fields
|
|
461
|
-
* @request GET:/api/ai/
|
|
503
|
+
* @request GET:/api/ai/canonical-fields
|
|
462
504
|
* @secure
|
|
463
505
|
* @response `200` `(AiCanonicalField)[]` OK
|
|
464
506
|
*/
|
|
465
|
-
getAiCanonicalFields: (params = {}) => this.request(Object.assign({ path: `/api/ai/
|
|
507
|
+
getAiCanonicalFields: (params = {}) => this.request(Object.assign({ path: `/api/ai/canonical-fields`, method: "GET", secure: true, format: "json" }, params)),
|
|
466
508
|
/**
|
|
467
509
|
* No description
|
|
468
510
|
*
|
|
469
511
|
* @tags AiCanonicalField
|
|
470
512
|
* @name CreateAiCanonicalField
|
|
471
513
|
* @summary Create canonical field
|
|
472
|
-
* @request POST:/api/ai/
|
|
514
|
+
* @request POST:/api/ai/canonical-fields
|
|
473
515
|
* @secure
|
|
474
516
|
* @response `201` `AiCanonicalField` Created
|
|
475
517
|
* @response `400` `ProblemDetails` Bad Request
|
|
476
518
|
*/
|
|
477
|
-
createAiCanonicalField: (data, params = {}) => this.request(Object.assign({ path: `/api/ai/
|
|
519
|
+
createAiCanonicalField: (data, params = {}) => this.request(Object.assign({ path: `/api/ai/canonical-fields`, method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
|
|
478
520
|
/**
|
|
479
521
|
* No description
|
|
480
522
|
*
|
|
481
523
|
* @tags AiCanonicalField
|
|
482
524
|
* @name GetAiCanonicalField
|
|
483
525
|
* @summary Get canonical field by ID
|
|
484
|
-
* @request GET:/api/ai/
|
|
526
|
+
* @request GET:/api/ai/canonical-fields/{id}
|
|
485
527
|
* @secure
|
|
486
528
|
* @response `200` `AiCanonicalField` OK
|
|
487
529
|
* @response `404` `ProblemDetails` Not Found
|
|
488
530
|
*/
|
|
489
|
-
getAiCanonicalField: (id, params = {}) => this.request(Object.assign({ path: `/api/ai/
|
|
531
|
+
getAiCanonicalField: (id, params = {}) => this.request(Object.assign({ path: `/api/ai/canonical-fields/${id}`, method: "GET", secure: true, format: "json" }, params)),
|
|
490
532
|
/**
|
|
491
533
|
* No description
|
|
492
534
|
*
|
|
493
535
|
* @tags AiCanonicalField
|
|
494
536
|
* @name UpdateAiCanonicalField
|
|
495
537
|
* @summary Update canonical field
|
|
496
|
-
* @request PUT:/api/ai/
|
|
538
|
+
* @request PUT:/api/ai/canonical-fields/{id}
|
|
497
539
|
* @secure
|
|
498
540
|
* @response `200` `AiCanonicalField` OK
|
|
499
541
|
* @response `400` `ProblemDetails` Bad Request
|
|
500
542
|
* @response `404` `ProblemDetails` Not Found
|
|
501
543
|
*/
|
|
502
|
-
updateAiCanonicalField: (id, data, params = {}) => this.request(Object.assign({ path: `/api/ai/
|
|
544
|
+
updateAiCanonicalField: (id, data, params = {}) => this.request(Object.assign({ path: `/api/ai/canonical-fields/${id}`, method: "PUT", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
|
|
503
545
|
/**
|
|
504
546
|
* No description
|
|
505
547
|
*
|
|
506
548
|
* @tags AiCanonicalField
|
|
507
549
|
* @name DeleteAiCanonicalField
|
|
508
550
|
* @summary Delete canonical field
|
|
509
|
-
* @request DELETE:/api/ai/
|
|
551
|
+
* @request DELETE:/api/ai/canonical-fields/{id}
|
|
510
552
|
* @secure
|
|
511
553
|
* @response `204` `void` No Content
|
|
512
554
|
* @response `404` `ProblemDetails` Not Found
|
|
513
555
|
*/
|
|
514
|
-
deleteAiCanonicalField: (id, params = {}) => this.request(Object.assign({ path: `/api/ai/
|
|
556
|
+
deleteAiCanonicalField: (id, params = {}) => this.request(Object.assign({ path: `/api/ai/canonical-fields/${id}`, method: "DELETE", secure: true }, params)),
|
|
515
557
|
/**
|
|
516
558
|
* No description
|
|
517
559
|
*
|
|
518
560
|
* @tags AiCanonicalField
|
|
519
561
|
* @name ToggleAiCanonicalField
|
|
520
562
|
* @summary Toggle canonical field active/inactive
|
|
521
|
-
* @request PATCH:/api/ai/
|
|
563
|
+
* @request PATCH:/api/ai/canonical-fields/{id}/toggle
|
|
522
564
|
* @secure
|
|
523
565
|
* @response `200` `AiCanonicalField` OK
|
|
524
566
|
* @response `404` `ProblemDetails` Not Found
|
|
525
567
|
*/
|
|
526
|
-
toggleAiCanonicalField: (id, params = {}) => this.request(Object.assign({ path: `/api/ai/
|
|
568
|
+
toggleAiCanonicalField: (id, params = {}) => this.request(Object.assign({ path: `/api/ai/canonical-fields/${id}/toggle`, method: "PATCH", secure: true, format: "json" }, params)),
|
|
527
569
|
/**
|
|
528
570
|
* No description
|
|
529
571
|
*
|
|
530
572
|
* @tags AiChat
|
|
531
573
|
* @name AiChat
|
|
532
574
|
* @summary Send AI chat message
|
|
533
|
-
* @request POST:/api/ai/
|
|
575
|
+
* @request POST:/api/ai/chats
|
|
534
576
|
* @secure
|
|
535
577
|
* @response `200` `AiChat` OK
|
|
536
578
|
* @response `400` `ProblemDetails` Bad Request
|
|
537
579
|
* @response `401` `ProblemDetails` Unauthorized
|
|
538
580
|
*/
|
|
539
|
-
aiChat: (data, params = {}) => this.request(Object.assign({ path: `/api/ai/
|
|
581
|
+
aiChat: (data, params = {}) => this.request(Object.assign({ path: `/api/ai/chats`, method: "POST", body: data, secure: true, type: ContentType.JsonPatch, format: "json" }, params)),
|
|
540
582
|
/**
|
|
541
583
|
* No description
|
|
542
584
|
*
|
|
@@ -574,7 +616,7 @@ export class Api extends HttpClient {
|
|
|
574
616
|
* @response `403` `ProblemDetails` Forbidden
|
|
575
617
|
* @response `404` `ProblemDetails` Not Found
|
|
576
618
|
*/
|
|
577
|
-
renameAiConversation: (id, data, params = {}) => this.request(Object.assign({ path: `/api/ai/conversations/${id}`, method: "PATCH", body: data, secure: true, type:
|
|
619
|
+
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)),
|
|
578
620
|
/**
|
|
579
621
|
* No description
|
|
580
622
|
*
|
|
@@ -626,301 +668,245 @@ export class Api extends HttpClient {
|
|
|
626
668
|
* @response `403` `ProblemDetails` Forbidden
|
|
627
669
|
* @response `404` `ProblemDetails` Not Found
|
|
628
670
|
*/
|
|
629
|
-
pinAiConversation: (id, data, params = {}) => this.request(Object.assign({ path: `/api/ai/conversations/${id}/pin`, method: "PUT", body: data, secure: true, type:
|
|
671
|
+
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)),
|
|
630
672
|
/**
|
|
631
673
|
* No description
|
|
632
674
|
*
|
|
633
675
|
* @tags AiConversationAdmin
|
|
634
676
|
* @name GetAiAccountConversations
|
|
635
677
|
* @summary List AI conversations across the account, optionally filtered by user (admin supervision)
|
|
636
|
-
* @request GET:/api/ai/
|
|
678
|
+
* @request GET:/api/ai/conversations/all
|
|
637
679
|
* @secure
|
|
638
680
|
* @response `200` `AiConversationListItemPaginated` OK
|
|
639
681
|
*/
|
|
640
|
-
getAiAccountConversations: (query, params = {}) => this.request(Object.assign({ path: `/api/ai/
|
|
682
|
+
getAiAccountConversations: (query, params = {}) => this.request(Object.assign({ path: `/api/ai/conversations/all`, method: "GET", query: query, secure: true, format: "json" }, params)),
|
|
641
683
|
/**
|
|
642
684
|
* No description
|
|
643
685
|
*
|
|
644
686
|
* @tags AiConversationAdmin
|
|
645
687
|
* @name GetAiAccountConversation
|
|
646
688
|
* @summary Get an account conversation's detail (admin supervision)
|
|
647
|
-
* @request GET:/api/ai/
|
|
689
|
+
* @request GET:/api/ai/conversations/all/{id}
|
|
648
690
|
* @secure
|
|
649
691
|
* @response `200` `AiConversationDetail` OK
|
|
650
692
|
* @response `404` `ProblemDetails` Not Found
|
|
651
693
|
*/
|
|
652
|
-
getAiAccountConversation: (id, params = {}) => this.request(Object.assign({ path: `/api/ai/
|
|
694
|
+
getAiAccountConversation: (id, params = {}) => this.request(Object.assign({ path: `/api/ai/conversations/all/${id}`, method: "GET", secure: true, format: "json" }, params)),
|
|
653
695
|
/**
|
|
654
696
|
* No description
|
|
655
697
|
*
|
|
656
698
|
* @tags AiConversationAdmin
|
|
657
699
|
* @name GetAiAccountConversationMessages
|
|
658
700
|
* @summary Get an account conversation's messages (admin supervision)
|
|
659
|
-
* @request GET:/api/ai/
|
|
701
|
+
* @request GET:/api/ai/conversations/all/{id}/messages
|
|
660
702
|
* @secure
|
|
661
703
|
* @response `200` `AiChatMessagePaginated` OK
|
|
662
704
|
* @response `404` `ProblemDetails` Not Found
|
|
663
705
|
*/
|
|
664
|
-
getAiAccountConversationMessages: (id, query, params = {}) => this.request(Object.assign({ path: `/api/ai/
|
|
706
|
+
getAiAccountConversationMessages: (id, query, params = {}) => this.request(Object.assign({ path: `/api/ai/conversations/all/${id}/messages`, method: "GET", query: query, secure: true, format: "json" }, params)),
|
|
665
707
|
/**
|
|
666
708
|
* No description
|
|
667
709
|
*
|
|
668
710
|
* @tags AiGuardrail
|
|
669
711
|
* @name GetAiGuardrails
|
|
670
712
|
* @summary Get all guardrails
|
|
671
|
-
* @request GET:/api/ai/
|
|
713
|
+
* @request GET:/api/ai/guardrails
|
|
672
714
|
* @secure
|
|
673
715
|
* @response `200` `(AiGuardrail)[]` OK
|
|
674
716
|
*/
|
|
675
|
-
getAiGuardrails: (params = {}) => this.request(Object.assign({ path: `/api/ai/
|
|
717
|
+
getAiGuardrails: (params = {}) => this.request(Object.assign({ path: `/api/ai/guardrails`, method: "GET", secure: true, format: "json" }, params)),
|
|
676
718
|
/**
|
|
677
719
|
* No description
|
|
678
720
|
*
|
|
679
721
|
* @tags AiGuardrail
|
|
680
722
|
* @name CreateAiGuardrail
|
|
681
723
|
* @summary Create custom guardrail
|
|
682
|
-
* @request POST:/api/ai/
|
|
724
|
+
* @request POST:/api/ai/guardrails
|
|
683
725
|
* @secure
|
|
684
726
|
* @response `201` `AiGuardrail` Created
|
|
685
727
|
* @response `400` `ProblemDetails` Bad Request
|
|
686
728
|
*/
|
|
687
|
-
createAiGuardrail: (data, params = {}) => this.request(Object.assign({ path: `/api/ai/
|
|
729
|
+
createAiGuardrail: (data, params = {}) => this.request(Object.assign({ path: `/api/ai/guardrails`, method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
|
|
688
730
|
/**
|
|
689
731
|
* No description
|
|
690
732
|
*
|
|
691
733
|
* @tags AiGuardrail
|
|
692
734
|
* @name GetAiGuardrail
|
|
693
735
|
* @summary Get guardrail by ID
|
|
694
|
-
* @request GET:/api/ai/
|
|
736
|
+
* @request GET:/api/ai/guardrails/{id}
|
|
695
737
|
* @secure
|
|
696
738
|
* @response `200` `AiGuardrail` OK
|
|
697
739
|
* @response `404` `ProblemDetails` Not Found
|
|
698
740
|
*/
|
|
699
|
-
getAiGuardrail: (id, params = {}) => this.request(Object.assign({ path: `/api/ai/
|
|
741
|
+
getAiGuardrail: (id, params = {}) => this.request(Object.assign({ path: `/api/ai/guardrails/${id}`, method: "GET", secure: true, format: "json" }, params)),
|
|
700
742
|
/**
|
|
701
743
|
* No description
|
|
702
744
|
*
|
|
703
745
|
* @tags AiGuardrail
|
|
704
746
|
* @name UpdateAiGuardrail
|
|
705
747
|
* @summary Update guardrail
|
|
706
|
-
* @request PUT:/api/ai/
|
|
748
|
+
* @request PUT:/api/ai/guardrails/{id}
|
|
707
749
|
* @secure
|
|
708
750
|
* @response `200` `AiGuardrail` OK
|
|
709
751
|
* @response `400` `ProblemDetails` Bad Request
|
|
710
752
|
* @response `404` `ProblemDetails` Not Found
|
|
711
753
|
*/
|
|
712
|
-
updateAiGuardrail: (id, data, params = {}) => this.request(Object.assign({ path: `/api/ai/
|
|
754
|
+
updateAiGuardrail: (id, data, params = {}) => this.request(Object.assign({ path: `/api/ai/guardrails/${id}`, method: "PUT", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
|
|
713
755
|
/**
|
|
714
756
|
* No description
|
|
715
757
|
*
|
|
716
758
|
* @tags AiGuardrail
|
|
717
759
|
* @name DeleteAiGuardrail
|
|
718
760
|
* @summary Delete guardrail
|
|
719
|
-
* @request DELETE:/api/ai/
|
|
761
|
+
* @request DELETE:/api/ai/guardrails/{id}
|
|
720
762
|
* @secure
|
|
721
763
|
* @response `204` `void` No Content
|
|
722
764
|
* @response `400` `ProblemDetails` Bad Request
|
|
723
765
|
* @response `404` `ProblemDetails` Not Found
|
|
724
766
|
*/
|
|
725
|
-
deleteAiGuardrail: (id, params = {}) => this.request(Object.assign({ path: `/api/ai/
|
|
767
|
+
deleteAiGuardrail: (id, params = {}) => this.request(Object.assign({ path: `/api/ai/guardrails/${id}`, method: "DELETE", secure: true }, params)),
|
|
726
768
|
/**
|
|
727
769
|
* No description
|
|
728
770
|
*
|
|
729
771
|
* @tags AiGuardrail
|
|
730
772
|
* @name ToggleAiGuardrail
|
|
731
773
|
* @summary Toggle guardrail enabled/disabled
|
|
732
|
-
* @request PATCH:/api/ai/
|
|
774
|
+
* @request PATCH:/api/ai/guardrails/{id}/toggle
|
|
733
775
|
* @secure
|
|
734
776
|
* @response `200` `AiGuardrail` OK
|
|
735
777
|
* @response `404` `ProblemDetails` Not Found
|
|
736
778
|
*/
|
|
737
|
-
toggleAiGuardrail: (id, params = {}) => this.request(Object.assign({ path: `/api/ai/
|
|
779
|
+
toggleAiGuardrail: (id, params = {}) => this.request(Object.assign({ path: `/api/ai/guardrails/${id}/toggle`, method: "PATCH", secure: true, format: "json" }, params)),
|
|
738
780
|
/**
|
|
739
781
|
* No description
|
|
740
782
|
*
|
|
741
783
|
* @tags AiPrompt
|
|
742
|
-
* @name
|
|
784
|
+
* @name GetAiAvailablePrompts
|
|
743
785
|
* @summary Get available prompts for current user
|
|
744
|
-
* @request GET:/api/ai/prompts
|
|
786
|
+
* @request GET:/api/ai/prompts/available
|
|
745
787
|
* @secure
|
|
746
788
|
* @response `200` `(AiPromptSummary)[]` OK
|
|
747
789
|
*/
|
|
748
|
-
|
|
749
|
-
/**
|
|
750
|
-
* No description
|
|
751
|
-
*
|
|
752
|
-
* @tags AiSuperAdmin
|
|
753
|
-
* @name GetAiAuditLogsCrossAccount
|
|
754
|
-
* @summary Get AI audit logs for a specific account or across all accounts
|
|
755
|
-
* @request GET:/api/ai/superadmin/audit-logs
|
|
756
|
-
* @secure
|
|
757
|
-
* @response `200` `AiAuditLogPaginated` OK
|
|
758
|
-
*/
|
|
759
|
-
getAiAuditLogsCrossAccount: (query, params = {}) => this.request(Object.assign({ path: `/api/ai/superadmin/audit-logs`, method: "GET", query: query, secure: true, format: "json" }, params)),
|
|
760
|
-
/**
|
|
761
|
-
* No description
|
|
762
|
-
*
|
|
763
|
-
* @tags AiSuperAdmin
|
|
764
|
-
* @name GetAiRequestLifecycleCrossAccount
|
|
765
|
-
* @summary Get the full event lifecycle of a single AI request from any account
|
|
766
|
-
* @request GET:/api/ai/superadmin/audit-logs/request/{requestId}
|
|
767
|
-
* @secure
|
|
768
|
-
* @response `200` `(AiAuditLog)[]` OK
|
|
769
|
-
*/
|
|
770
|
-
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)),
|
|
771
|
-
/**
|
|
772
|
-
* No description
|
|
773
|
-
*
|
|
774
|
-
* @tags AiSuperAdmin
|
|
775
|
-
* @name GetAiStatsCrossAccount
|
|
776
|
-
* @summary Get AI stats for a specific account or platform-wide
|
|
777
|
-
* @request GET:/api/ai/superadmin/stats
|
|
778
|
-
* @secure
|
|
779
|
-
* @response `200` `AiAdminStats` OK
|
|
780
|
-
*/
|
|
781
|
-
getAiStatsCrossAccount: (query, params = {}) => this.request(Object.assign({ path: `/api/ai/superadmin/stats`, method: "GET", query: query, secure: true, format: "json" }, params)),
|
|
782
|
-
/**
|
|
783
|
-
* No description
|
|
784
|
-
*
|
|
785
|
-
* @tags AiSuperAdmin
|
|
786
|
-
* @name GetAiConfigChangesCrossAccount
|
|
787
|
-
* @summary Get AI configuration change history for a specific account or across all accounts (incl. global defaults)
|
|
788
|
-
* @request GET:/api/ai/superadmin/config-changes
|
|
789
|
-
* @secure
|
|
790
|
-
* @response `200` `AiConfigChangeLogPaginated` OK
|
|
791
|
-
*/
|
|
792
|
-
getAiConfigChangesCrossAccount: (query, params = {}) => this.request(Object.assign({ path: `/api/ai/superadmin/config-changes`, method: "GET", query: query, secure: true, format: "json" }, params)),
|
|
793
|
-
/**
|
|
794
|
-
* No description
|
|
795
|
-
*
|
|
796
|
-
* @tags AiSuperAdmin
|
|
797
|
-
* @name SetAccountAiEnabled
|
|
798
|
-
* @summary Enable or disable AI for an account (SuperAdmin only)
|
|
799
|
-
* @request PUT:/api/ai/superadmin/accounts/{accountId}/ai-enabled
|
|
800
|
-
* @secure
|
|
801
|
-
* @response `204` `void` No Content
|
|
802
|
-
* @response `404` `ProblemDetails` Not Found
|
|
803
|
-
*/
|
|
804
|
-
setAccountAiEnabled: (accountId, data, params = {}) => this.request(Object.assign({ path: `/api/ai/superadmin/accounts/${accountId}/ai-enabled`, method: "PUT", body: data, secure: true, type: "application/json" }, params)),
|
|
790
|
+
getAiAvailablePrompts: (query, params = {}) => this.request(Object.assign({ path: `/api/ai/prompts/available`, method: "GET", query: query, secure: true, format: "json" }, params)),
|
|
805
791
|
/**
|
|
806
792
|
* No description
|
|
807
793
|
*
|
|
808
794
|
* @tags AiTokenUsageAdmin
|
|
809
795
|
* @name SearchAiAccountTokenUsage
|
|
810
796
|
* @summary Search accounts by current-month AI token usage and classification
|
|
811
|
-
* @request POST:/api/ai/
|
|
797
|
+
* @request POST:/api/ai/token-usage/search
|
|
812
798
|
* @secure
|
|
813
799
|
* @response `200` `AiAccountUsageOverviewPaginated` OK
|
|
814
800
|
*/
|
|
815
|
-
searchAiAccountTokenUsage: (data, query, params = {}) => this.request(Object.assign({ path: `/api/ai/
|
|
801
|
+
searchAiAccountTokenUsage: (data, query, params = {}) => this.request(Object.assign({ path: `/api/ai/token-usage/search`, method: "POST", query: query, body: data, secure: true, type: ContentType.JsonPatch, format: "json" }, params)),
|
|
816
802
|
/**
|
|
817
803
|
* No description
|
|
818
804
|
*
|
|
819
805
|
* @tags AiTokenUsageAdmin
|
|
820
806
|
* @name GetAiAccountTokenUsage
|
|
821
807
|
* @summary Get an account's current-month AI token usage
|
|
822
|
-
* @request GET:/api/ai/
|
|
808
|
+
* @request GET:/api/ai/token-usage/{accountId}
|
|
823
809
|
* @secure
|
|
824
810
|
* @response `200` `AiTokenBudgetStatus` OK
|
|
825
811
|
*/
|
|
826
|
-
getAiAccountTokenUsage: (accountId, params = {}) => this.request(Object.assign({ path: `/api/ai/
|
|
812
|
+
getAiAccountTokenUsage: (accountId, params = {}) => this.request(Object.assign({ path: `/api/ai/token-usage/${accountId}`, method: "GET", secure: true, format: "json" }, params)),
|
|
827
813
|
/**
|
|
828
814
|
* No description
|
|
829
815
|
*
|
|
830
816
|
* @tags AiTokenUsageAdmin
|
|
831
817
|
* @name GetAiAccountTokenUsageHistory
|
|
832
818
|
* @summary Get an account's monthly AI token usage history
|
|
833
|
-
* @request GET:/api/ai/
|
|
819
|
+
* @request GET:/api/ai/token-usage/{accountId}/history
|
|
834
820
|
* @secure
|
|
835
821
|
* @response `200` `AiTokenUsageWindowPaginated` OK
|
|
836
822
|
*/
|
|
837
|
-
getAiAccountTokenUsageHistory: (accountId, query, params = {}) => this.request(Object.assign({ path: `/api/ai/
|
|
823
|
+
getAiAccountTokenUsageHistory: (accountId, query, params = {}) => this.request(Object.assign({ path: `/api/ai/token-usage/${accountId}/history`, method: "GET", query: query, secure: true, format: "json" }, params)),
|
|
838
824
|
/**
|
|
839
825
|
* No description
|
|
840
826
|
*
|
|
841
827
|
* @tags AiTokenUsageAdmin
|
|
842
828
|
* @name SetAiAccountTokenLimit
|
|
843
829
|
* @summary Set or raise an account's monthly AI token limit
|
|
844
|
-
* @request PUT:/api/ai/
|
|
830
|
+
* @request PUT:/api/ai/token-usage/{accountId}/limit
|
|
845
831
|
* @secure
|
|
846
832
|
* @response `200` `AiTokenBudgetStatus` OK
|
|
847
833
|
* @response `400` `ProblemDetails` Bad Request
|
|
848
834
|
*/
|
|
849
|
-
setAiAccountTokenLimit: (accountId, data, params = {}) => this.request(Object.assign({ path: `/api/ai/
|
|
835
|
+
setAiAccountTokenLimit: (accountId, data, params = {}) => this.request(Object.assign({ path: `/api/ai/token-usage/${accountId}/limit`, method: "PUT", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
|
|
850
836
|
/**
|
|
851
837
|
* No description
|
|
852
838
|
*
|
|
853
839
|
* @tags AiUrlSource
|
|
854
840
|
* @name GetAiUrlSources
|
|
855
841
|
* @summary Get all URL sources
|
|
856
|
-
* @request GET:/api/ai/
|
|
842
|
+
* @request GET:/api/ai/url-sources
|
|
857
843
|
* @secure
|
|
858
844
|
* @response `200` `(AiUrlSource)[]` OK
|
|
859
845
|
*/
|
|
860
|
-
getAiUrlSources: (params = {}) => this.request(Object.assign({ path: `/api/ai/
|
|
846
|
+
getAiUrlSources: (params = {}) => this.request(Object.assign({ path: `/api/ai/url-sources`, method: "GET", secure: true, format: "json" }, params)),
|
|
861
847
|
/**
|
|
862
848
|
* No description
|
|
863
849
|
*
|
|
864
850
|
* @tags AiUrlSource
|
|
865
851
|
* @name CreateAiUrlSource
|
|
866
852
|
* @summary Create URL source
|
|
867
|
-
* @request POST:/api/ai/
|
|
853
|
+
* @request POST:/api/ai/url-sources
|
|
868
854
|
* @secure
|
|
869
855
|
* @response `201` `AiUrlSource` Created
|
|
870
856
|
* @response `400` `ProblemDetails` Bad Request
|
|
871
857
|
* @response `409` `ProblemDetails` Conflict
|
|
872
858
|
*/
|
|
873
|
-
createAiUrlSource: (data, params = {}) => this.request(Object.assign({ path: `/api/ai/
|
|
859
|
+
createAiUrlSource: (data, params = {}) => this.request(Object.assign({ path: `/api/ai/url-sources`, method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
|
|
874
860
|
/**
|
|
875
861
|
* No description
|
|
876
862
|
*
|
|
877
863
|
* @tags AiUrlSource
|
|
878
864
|
* @name GetAiUrlSource
|
|
879
865
|
* @summary Get URL source by ID
|
|
880
|
-
* @request GET:/api/ai/
|
|
866
|
+
* @request GET:/api/ai/url-sources/{id}
|
|
881
867
|
* @secure
|
|
882
868
|
* @response `200` `AiUrlSource` OK
|
|
883
869
|
* @response `404` `ProblemDetails` Not Found
|
|
884
870
|
*/
|
|
885
|
-
getAiUrlSource: (id, params = {}) => this.request(Object.assign({ path: `/api/ai/
|
|
871
|
+
getAiUrlSource: (id, params = {}) => this.request(Object.assign({ path: `/api/ai/url-sources/${id}`, method: "GET", secure: true, format: "json" }, params)),
|
|
886
872
|
/**
|
|
887
873
|
* No description
|
|
888
874
|
*
|
|
889
875
|
* @tags AiUrlSource
|
|
890
876
|
* @name UpdateAiUrlSource
|
|
891
877
|
* @summary Update URL source
|
|
892
|
-
* @request PUT:/api/ai/
|
|
878
|
+
* @request PUT:/api/ai/url-sources/{id}
|
|
893
879
|
* @secure
|
|
894
880
|
* @response `200` `AiUrlSource` OK
|
|
895
881
|
* @response `400` `ProblemDetails` Bad Request
|
|
896
882
|
* @response `404` `ProblemDetails` Not Found
|
|
897
883
|
* @response `409` `ProblemDetails` Conflict
|
|
898
884
|
*/
|
|
899
|
-
updateAiUrlSource: (id, data, params = {}) => this.request(Object.assign({ path: `/api/ai/
|
|
885
|
+
updateAiUrlSource: (id, data, params = {}) => this.request(Object.assign({ path: `/api/ai/url-sources/${id}`, method: "PUT", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
|
|
900
886
|
/**
|
|
901
887
|
* No description
|
|
902
888
|
*
|
|
903
889
|
* @tags AiUrlSource
|
|
904
890
|
* @name DeleteAiUrlSource
|
|
905
891
|
* @summary Delete URL source
|
|
906
|
-
* @request DELETE:/api/ai/
|
|
892
|
+
* @request DELETE:/api/ai/url-sources/{id}
|
|
907
893
|
* @secure
|
|
908
894
|
* @response `204` `void` No Content
|
|
909
895
|
* @response `404` `ProblemDetails` Not Found
|
|
910
896
|
*/
|
|
911
|
-
deleteAiUrlSource: (id, params = {}) => this.request(Object.assign({ path: `/api/ai/
|
|
897
|
+
deleteAiUrlSource: (id, params = {}) => this.request(Object.assign({ path: `/api/ai/url-sources/${id}`, method: "DELETE", secure: true }, params)),
|
|
912
898
|
/**
|
|
913
899
|
* No description
|
|
914
900
|
*
|
|
915
901
|
* @tags AiUrlSource
|
|
916
902
|
* @name ToggleAiUrlSource
|
|
917
903
|
* @summary Toggle URL source active/inactive
|
|
918
|
-
* @request PATCH:/api/ai/
|
|
904
|
+
* @request PATCH:/api/ai/url-sources/{id}/toggle
|
|
919
905
|
* @secure
|
|
920
906
|
* @response `200` `AiUrlSource` OK
|
|
921
907
|
* @response `404` `ProblemDetails` Not Found
|
|
922
908
|
*/
|
|
923
|
-
toggleAiUrlSource: (id, params = {}) => this.request(Object.assign({ path: `/api/ai/
|
|
909
|
+
toggleAiUrlSource: (id, params = {}) => this.request(Object.assign({ path: `/api/ai/url-sources/${id}/toggle`, method: "PATCH", secure: true, format: "json" }, params)),
|
|
924
910
|
/**
|
|
925
911
|
* No description
|
|
926
912
|
*
|
|
@@ -953,7 +939,7 @@ export class Api extends HttpClient {
|
|
|
953
939
|
* @secure
|
|
954
940
|
* @response `200` `AuditLogEntryPaginated` OK
|
|
955
941
|
*/
|
|
956
|
-
searchAuditLogs: (data, query, params = {}) => this.request(Object.assign({ path: `/api/audit-logs/search`, method: "POST", query: query, body: data, secure: true, type:
|
|
942
|
+
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)),
|
|
957
943
|
/**
|
|
958
944
|
* No description
|
|
959
945
|
*
|
|
@@ -989,7 +975,7 @@ export class Api extends HttpClient {
|
|
|
989
975
|
* @response `401` `ProblemDetails` Unauthorized
|
|
990
976
|
* @response `422` `UnprocessableEntity` Unprocessable Content
|
|
991
977
|
*/
|
|
992
|
-
getTokenFromRefreshToken: (data, params = {}) => this.request(Object.assign({ path: `/api/refresh-token`, method: "POST", body: data, secure: true, type:
|
|
978
|
+
getTokenFromRefreshToken: (data, params = {}) => this.request(Object.assign({ path: `/api/refresh-token`, method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
|
|
993
979
|
/**
|
|
994
980
|
* No description
|
|
995
981
|
*
|
|
@@ -1001,7 +987,7 @@ export class Api extends HttpClient {
|
|
|
1001
987
|
* @response `200` `AccountDeactivated` OK
|
|
1002
988
|
* @response `422` `UnprocessableEntity` Unprocessable Content
|
|
1003
989
|
*/
|
|
1004
|
-
getToken: (data, params = {}) => this.request(Object.assign({ path: `/api/token`, method: "POST", body: data, secure: true, type:
|
|
990
|
+
getToken: (data, params = {}) => this.request(Object.assign({ path: `/api/token`, method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
|
|
1005
991
|
/**
|
|
1006
992
|
* No description
|
|
1007
993
|
*
|
|
@@ -1013,7 +999,7 @@ export class Api extends HttpClient {
|
|
|
1013
999
|
* @response `200` `AccountDeactivated` OK
|
|
1014
1000
|
* @response `422` `UnprocessableEntity` Unprocessable Content
|
|
1015
1001
|
*/
|
|
1016
|
-
getTokenFromChallengeCode: (data, params = {}) => this.request(Object.assign({ path: `/api/token/code`, method: "POST", body: data, secure: true, type:
|
|
1002
|
+
getTokenFromChallengeCode: (data, params = {}) => this.request(Object.assign({ path: `/api/token/code`, method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
|
|
1017
1003
|
/**
|
|
1018
1004
|
* No description
|
|
1019
1005
|
*
|
|
@@ -1025,7 +1011,7 @@ export class Api extends HttpClient {
|
|
|
1025
1011
|
* @response `200` `Token` OK
|
|
1026
1012
|
* @response `422` `UnprocessableEntity` Unprocessable Content
|
|
1027
1013
|
*/
|
|
1028
|
-
getSystemToken: (data, params = {}) => this.request(Object.assign({ path: `/api/oauth2/token`, method: "POST", body: data, secure: true, type:
|
|
1014
|
+
getSystemToken: (data, params = {}) => this.request(Object.assign({ path: `/api/oauth2/token`, method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
|
|
1029
1015
|
/**
|
|
1030
1016
|
* No description
|
|
1031
1017
|
*
|
|
@@ -1037,7 +1023,7 @@ export class Api extends HttpClient {
|
|
|
1037
1023
|
* @response `200` `SSOToken` OK
|
|
1038
1024
|
* @response `422` `UnprocessableEntity` Unprocessable Content
|
|
1039
1025
|
*/
|
|
1040
|
-
getSsoToken: (data, params = {}) => this.request(Object.assign({ path: `/api/token/sso`, method: "POST", body: data, secure: true, type:
|
|
1026
|
+
getSsoToken: (data, params = {}) => this.request(Object.assign({ path: `/api/token/sso`, method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
|
|
1041
1027
|
/**
|
|
1042
1028
|
* No description
|
|
1043
1029
|
*
|
|
@@ -1072,7 +1058,7 @@ export class Api extends HttpClient {
|
|
|
1072
1058
|
* @response `200` `GetBranch` OK
|
|
1073
1059
|
* @response `422` `UnprocessableEntity` Unprocessable Content
|
|
1074
1060
|
*/
|
|
1075
|
-
createBranch: (data, params = {}) => this.request(Object.assign({ path: `/api/branches`, method: "POST", body: data, secure: true, type:
|
|
1061
|
+
createBranch: (data, params = {}) => this.request(Object.assign({ path: `/api/branches`, method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
|
|
1076
1062
|
/**
|
|
1077
1063
|
* No description
|
|
1078
1064
|
*
|
|
@@ -1083,7 +1069,7 @@ export class Api extends HttpClient {
|
|
|
1083
1069
|
* @secure
|
|
1084
1070
|
* @response `200` `GetBranchPaginated` OK
|
|
1085
1071
|
*/
|
|
1086
|
-
searchBranches: (data, query, params = {}) => this.request(Object.assign({ path: `/api/branches/search`, method: "POST", query: query, body: data, secure: true, type:
|
|
1072
|
+
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)),
|
|
1087
1073
|
/**
|
|
1088
1074
|
* No description
|
|
1089
1075
|
*
|
|
@@ -1106,7 +1092,7 @@ export class Api extends HttpClient {
|
|
|
1106
1092
|
* @response `200` `GetBranch` OK
|
|
1107
1093
|
* @response `422` `UnprocessableEntity` Unprocessable Content
|
|
1108
1094
|
*/
|
|
1109
|
-
replaceBranch: (branchId, data, params = {}) => this.request(Object.assign({ path: `/api/branches/${branchId}`, method: "PUT", body: data, secure: true, type:
|
|
1095
|
+
replaceBranch: (branchId, data, params = {}) => this.request(Object.assign({ path: `/api/branches/${branchId}`, method: "PUT", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
|
|
1110
1096
|
/**
|
|
1111
1097
|
* No description
|
|
1112
1098
|
*
|
|
@@ -1141,7 +1127,7 @@ export class Api extends HttpClient {
|
|
|
1141
1127
|
* @response `200` `SiteConfiguration` OK
|
|
1142
1128
|
* @response `422` `UnprocessableEntity` Unprocessable Content
|
|
1143
1129
|
*/
|
|
1144
|
-
createBranchSiteConfiguration: (branchId, data, params = {}) => this.request(Object.assign({ path: `/api/branches/${branchId}/site-configurations`, method: "POST", body: data, secure: true, type:
|
|
1130
|
+
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)),
|
|
1145
1131
|
/**
|
|
1146
1132
|
* No description
|
|
1147
1133
|
*
|
|
@@ -1164,7 +1150,7 @@ export class Api extends HttpClient {
|
|
|
1164
1150
|
* @response `200` `SiteConfiguration` OK
|
|
1165
1151
|
* @response `422` `UnprocessableEntity` Unprocessable Content
|
|
1166
1152
|
*/
|
|
1167
|
-
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:
|
|
1153
|
+
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)),
|
|
1168
1154
|
/**
|
|
1169
1155
|
* No description
|
|
1170
1156
|
*
|
|
@@ -1198,7 +1184,7 @@ export class Api extends HttpClient {
|
|
|
1198
1184
|
* @response `200` `BusinessRule` OK
|
|
1199
1185
|
* @response `422` `UnprocessableEntity` Unprocessable Content
|
|
1200
1186
|
*/
|
|
1201
|
-
createBusinessRule: (data, params = {}) => this.request(Object.assign({ path: `/api/business-rules`, method: "POST", body: data, secure: true, type:
|
|
1187
|
+
createBusinessRule: (data, params = {}) => this.request(Object.assign({ path: `/api/business-rules`, method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
|
|
1202
1188
|
/**
|
|
1203
1189
|
* No description
|
|
1204
1190
|
*
|
|
@@ -1221,7 +1207,7 @@ export class Api extends HttpClient {
|
|
|
1221
1207
|
* @response `200` `BusinessRule` OK
|
|
1222
1208
|
* @response `422` `UnprocessableEntity` Unprocessable Content
|
|
1223
1209
|
*/
|
|
1224
|
-
replaceBusinessRule: (id, data, params = {}) => this.request(Object.assign({ path: `/api/business-rules/${id}`, method: "PUT", body: data, secure: true, type:
|
|
1210
|
+
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)),
|
|
1225
1211
|
/**
|
|
1226
1212
|
* No description
|
|
1227
1213
|
*
|
|
@@ -1254,7 +1240,7 @@ export class Api extends HttpClient {
|
|
|
1254
1240
|
* @secure
|
|
1255
1241
|
* @response `200` `ClosedLoansReport` OK
|
|
1256
1242
|
*/
|
|
1257
|
-
getClosedLoansReport: (data, params = {}) => this.request(Object.assign({ path: `/api/loans/reports/closed-loans`, method: "POST", body: data, secure: true, type:
|
|
1243
|
+
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)),
|
|
1258
1244
|
/**
|
|
1259
1245
|
* No description
|
|
1260
1246
|
*
|
|
@@ -1271,12 +1257,12 @@ export class Api extends HttpClient {
|
|
|
1271
1257
|
*
|
|
1272
1258
|
* @tags ConsumerConnect
|
|
1273
1259
|
* @name RetryConsumerConnectAssociation
|
|
1274
|
-
* @summary Manually retry Consumer Connect association for failed borrowers on a loan. Returns per-borrower results; check individual Success fields for partial failures.
|
|
1260
|
+
* @summary Manually retry Consumer Connect association for failed borrowers on a loan. Set force=true to also re-run borrowers already marked Success. Returns per-borrower results; check individual Success fields for partial failures.
|
|
1275
1261
|
* @request POST:/api/loans/{loanId}/consumer-connect/retry
|
|
1276
1262
|
* @secure
|
|
1277
1263
|
* @response `200` `(ConsumerConnectRetry)[]` OK
|
|
1278
1264
|
*/
|
|
1279
|
-
retryConsumerConnectAssociation: (loanId, params = {}) => this.request(Object.assign({ path: `/api/loans/${loanId}/consumer-connect/retry`, method: "POST", secure: true, format: "json" }, params)),
|
|
1265
|
+
retryConsumerConnectAssociation: (loanId, query, params = {}) => this.request(Object.assign({ path: `/api/loans/${loanId}/consumer-connect/retry`, method: "POST", query: query, secure: true, format: "json" }, params)),
|
|
1280
1266
|
/**
|
|
1281
1267
|
* No description
|
|
1282
1268
|
*
|
|
@@ -1299,7 +1285,7 @@ export class Api extends HttpClient {
|
|
|
1299
1285
|
* @response `200` `Corporate` OK
|
|
1300
1286
|
* @response `422` `UnprocessableEntity` Unprocessable Content
|
|
1301
1287
|
*/
|
|
1302
|
-
createCorporate: (data, params = {}) => this.request(Object.assign({ path: `/api/corporates`, method: "POST", body: data, secure: true, type:
|
|
1288
|
+
createCorporate: (data, params = {}) => this.request(Object.assign({ path: `/api/corporates`, method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
|
|
1303
1289
|
/**
|
|
1304
1290
|
* No description
|
|
1305
1291
|
*
|
|
@@ -1310,7 +1296,7 @@ export class Api extends HttpClient {
|
|
|
1310
1296
|
* @secure
|
|
1311
1297
|
* @response `200` `CorporatePaginated` OK
|
|
1312
1298
|
*/
|
|
1313
|
-
searchCorporate: (data, query, params = {}) => this.request(Object.assign({ path: `/api/corporates/search`, method: "POST", query: query, body: data, secure: true, type:
|
|
1299
|
+
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)),
|
|
1314
1300
|
/**
|
|
1315
1301
|
* No description
|
|
1316
1302
|
*
|
|
@@ -1333,7 +1319,7 @@ export class Api extends HttpClient {
|
|
|
1333
1319
|
* @response `200` `Corporate` OK
|
|
1334
1320
|
* @response `422` `UnprocessableEntity` Unprocessable Content
|
|
1335
1321
|
*/
|
|
1336
|
-
replaceCorporate: (id, data, params = {}) => this.request(Object.assign({ path: `/api/corporates/${id}`, method: "PUT", body: data, secure: true, type:
|
|
1322
|
+
replaceCorporate: (id, data, params = {}) => this.request(Object.assign({ path: `/api/corporates/${id}`, method: "PUT", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
|
|
1337
1323
|
/**
|
|
1338
1324
|
* No description
|
|
1339
1325
|
*
|
|
@@ -1367,7 +1353,7 @@ export class Api extends HttpClient {
|
|
|
1367
1353
|
* @response `200` `SiteConfiguration` OK
|
|
1368
1354
|
* @response `422` `UnprocessableEntity` Unprocessable Content
|
|
1369
1355
|
*/
|
|
1370
|
-
createCorporateSiteConfiguration: (corporateId, data, params = {}) => this.request(Object.assign({ path: `/api/corporates/${corporateId}/site-configurations`, method: "POST", body: data, secure: true, type:
|
|
1356
|
+
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)),
|
|
1371
1357
|
/**
|
|
1372
1358
|
* No description
|
|
1373
1359
|
*
|
|
@@ -1390,7 +1376,7 @@ export class Api extends HttpClient {
|
|
|
1390
1376
|
* @response `200` `SiteConfiguration` OK
|
|
1391
1377
|
* @response `422` `UnprocessableEntity` Unprocessable Content
|
|
1392
1378
|
*/
|
|
1393
|
-
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:
|
|
1379
|
+
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)),
|
|
1394
1380
|
/**
|
|
1395
1381
|
* No description
|
|
1396
1382
|
*
|
|
@@ -1436,7 +1422,7 @@ export class Api extends HttpClient {
|
|
|
1436
1422
|
* @response `409` `ProblemDetails` Conflict
|
|
1437
1423
|
* @response `422` `ProblemDetails` Unprocessable Content
|
|
1438
1424
|
*/
|
|
1439
|
-
createCustomFieldDefinition: (data, params = {}) => this.request(Object.assign({ path: `/api/custom-field-definitions`, method: "POST", body: data, secure: true, type:
|
|
1425
|
+
createCustomFieldDefinition: (data, params = {}) => this.request(Object.assign({ path: `/api/custom-field-definitions`, method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
|
|
1440
1426
|
/**
|
|
1441
1427
|
* No description
|
|
1442
1428
|
*
|
|
@@ -1463,7 +1449,7 @@ export class Api extends HttpClient {
|
|
|
1463
1449
|
* @response `409` `ProblemDetails` Conflict
|
|
1464
1450
|
* @response `422` `ProblemDetails` Unprocessable Content
|
|
1465
1451
|
*/
|
|
1466
|
-
updateCustomFieldDefinition: (id, data, params = {}) => this.request(Object.assign({ path: `/api/custom-field-definitions/${id}`, method: "PUT", body: data, secure: true, type:
|
|
1452
|
+
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)),
|
|
1467
1453
|
/**
|
|
1468
1454
|
* No description
|
|
1469
1455
|
*
|
|
@@ -1533,7 +1519,7 @@ export class Api extends HttpClient {
|
|
|
1533
1519
|
* @secure
|
|
1534
1520
|
* @response `200` `Device` OK
|
|
1535
1521
|
*/
|
|
1536
|
-
updateDevice: (id, data, params = {}) => this.request(Object.assign({ path: `/api/devices/${id}`, method: "PUT", body: data, secure: true, type:
|
|
1522
|
+
updateDevice: (id, data, params = {}) => this.request(Object.assign({ path: `/api/devices/${id}`, method: "PUT", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
|
|
1537
1523
|
/**
|
|
1538
1524
|
* No description
|
|
1539
1525
|
*
|
|
@@ -1590,7 +1576,7 @@ export class Api extends HttpClient {
|
|
|
1590
1576
|
* @response `404` `ProblemDetails` Not Found
|
|
1591
1577
|
* @response `422` `UnprocessableEntity` Unprocessable Content
|
|
1592
1578
|
*/
|
|
1593
|
-
createDocumentTemplate: (data, params = {}) => this.request(Object.assign({ path: `/api/document-templates`, method: "POST", body: data, secure: true, type:
|
|
1579
|
+
createDocumentTemplate: (data, params = {}) => this.request(Object.assign({ path: `/api/document-templates`, method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
|
|
1594
1580
|
/**
|
|
1595
1581
|
* No description
|
|
1596
1582
|
*
|
|
@@ -1627,7 +1613,7 @@ export class Api extends HttpClient {
|
|
|
1627
1613
|
* @response `404` `ProblemDetails` Not Found
|
|
1628
1614
|
* @response `422` `UnprocessableEntity` Unprocessable Content
|
|
1629
1615
|
*/
|
|
1630
|
-
replaceDocumentTemplate: (id, data, params = {}) => this.request(Object.assign({ path: `/api/document-templates/${id}`, method: "PUT", body: data, secure: true, type:
|
|
1616
|
+
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)),
|
|
1631
1617
|
/**
|
|
1632
1618
|
* No description
|
|
1633
1619
|
*
|
|
@@ -1675,7 +1661,7 @@ export class Api extends HttpClient {
|
|
|
1675
1661
|
* @secure
|
|
1676
1662
|
* @response `200` `DocumentTemplateVersion` OK
|
|
1677
1663
|
*/
|
|
1678
|
-
createDocumentTemplateVersion: (documentId, data, params = {}) => this.request(Object.assign({ path: `/api/document-templates/${documentId}/versions`, method: "POST", body: data, secure: true, type:
|
|
1664
|
+
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)),
|
|
1679
1665
|
/**
|
|
1680
1666
|
* No description
|
|
1681
1667
|
*
|
|
@@ -1697,7 +1683,7 @@ export class Api extends HttpClient {
|
|
|
1697
1683
|
* @secure
|
|
1698
1684
|
* @response `200` `DocumentTemplateVersion` OK
|
|
1699
1685
|
*/
|
|
1700
|
-
replaceDocumentTemplateVersion: (documentId, id, data, params = {}) => this.request(Object.assign({ path: `/api/document-templates/${documentId}/versions/${id}`, method: "PUT", body: data, secure: true, type:
|
|
1686
|
+
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)),
|
|
1701
1687
|
/**
|
|
1702
1688
|
* No description
|
|
1703
1689
|
*
|
|
@@ -1735,7 +1721,7 @@ export class Api extends HttpClient {
|
|
|
1735
1721
|
* @response `409` `void` Conflict
|
|
1736
1722
|
* @response `422` `ProblemDetails` Unprocessable Content
|
|
1737
1723
|
*/
|
|
1738
|
-
addEncompassCustomFieldMapping: (definitionId, data, params = {}) => this.request(Object.assign({ path: `/api/los/encompass/custom-field-mappings/${definitionId}`, method: "POST", body: data, secure: true, type:
|
|
1724
|
+
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)),
|
|
1739
1725
|
/**
|
|
1740
1726
|
* No description
|
|
1741
1727
|
*
|
|
@@ -1798,6 +1784,20 @@ export class Api extends HttpClient {
|
|
|
1798
1784
|
* @response `500` `EncompassError` Internal Server Error
|
|
1799
1785
|
*/
|
|
1800
1786
|
getUserPackages: (query, params = {}) => this.request(Object.assign({ path: `/api/los/encompass/eclose/packages`, method: "GET", query: query, secure: true, format: "json" }, params)),
|
|
1787
|
+
/**
|
|
1788
|
+
* No description
|
|
1789
|
+
*
|
|
1790
|
+
* @tags Encompass Packages
|
|
1791
|
+
* @name GetLoanPackages
|
|
1792
|
+
* @request GET:/api/los/encompass/eclose/loans/{loanId}/packages
|
|
1793
|
+
* @secure
|
|
1794
|
+
* @response `200` `EncompassPackageList` OK
|
|
1795
|
+
* @response `400` `EncompassError` Bad Request
|
|
1796
|
+
* @response `401` `EncompassError` Unauthorized
|
|
1797
|
+
* @response `403` `EncompassError` Forbidden
|
|
1798
|
+
* @response `500` `EncompassError` Internal Server Error
|
|
1799
|
+
*/
|
|
1800
|
+
getLoanPackages: (loanId, query, params = {}) => this.request(Object.assign({ path: `/api/los/encompass/eclose/loans/${loanId}/packages`, method: "GET", query: query, secure: true, format: "json" }, params)),
|
|
1801
1801
|
/**
|
|
1802
1802
|
* No description
|
|
1803
1803
|
*
|
|
@@ -1824,7 +1824,7 @@ export class Api extends HttpClient {
|
|
|
1824
1824
|
* @response `404` `EncompassError` Not Found
|
|
1825
1825
|
* @response `500` `EncompassError` Internal Server Error
|
|
1826
1826
|
*/
|
|
1827
|
-
createEncompassSession: (data, params = {}) => this.request(Object.assign({ path: `/api/los/encompass/eclose/sessions`, method: "POST", body: data, secure: true, type:
|
|
1827
|
+
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)),
|
|
1828
1828
|
/**
|
|
1829
1829
|
* No description
|
|
1830
1830
|
*
|
|
@@ -1847,7 +1847,7 @@ export class Api extends HttpClient {
|
|
|
1847
1847
|
* @response `201` `File` Created
|
|
1848
1848
|
* @response `422` `UnprocessableEntity` Unprocessable Content
|
|
1849
1849
|
*/
|
|
1850
|
-
uploadFile: (data, params = {}) => this.request(Object.assign({ path: `/api/files`, method: "POST", body: data, secure: true, type:
|
|
1850
|
+
uploadFile: (data, params = {}) => this.request(Object.assign({ path: `/api/files`, method: "POST", body: data, secure: true, type: ContentType.FormData, format: "json" }, params)),
|
|
1851
1851
|
/**
|
|
1852
1852
|
* No description
|
|
1853
1853
|
*
|
|
@@ -1870,7 +1870,7 @@ export class Api extends HttpClient {
|
|
|
1870
1870
|
* @response `200` `string` OK
|
|
1871
1871
|
* @response `422` `UnprocessableEntity` Unprocessable Content
|
|
1872
1872
|
*/
|
|
1873
|
-
replaceFile: (id, data, params = {}) => this.request(Object.assign({ path: `/api/files/${id}`, method: "PUT", body: data, secure: true, type:
|
|
1873
|
+
replaceFile: (id, data, params = {}) => this.request(Object.assign({ path: `/api/files/${id}`, method: "PUT", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
|
|
1874
1874
|
/**
|
|
1875
1875
|
* No description
|
|
1876
1876
|
*
|
|
@@ -1892,7 +1892,7 @@ export class Api extends HttpClient {
|
|
|
1892
1892
|
* @secure
|
|
1893
1893
|
* @response `200` `FilePaginated` OK
|
|
1894
1894
|
*/
|
|
1895
|
-
searchFiles: (data, query, params = {}) => this.request(Object.assign({ path: `/api/files/search`, method: "POST", query: query, body: data, secure: true, type:
|
|
1895
|
+
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)),
|
|
1896
1896
|
/**
|
|
1897
1897
|
* No description
|
|
1898
1898
|
*
|
|
@@ -1915,7 +1915,7 @@ export class Api extends HttpClient {
|
|
|
1915
1915
|
* @response `201` `Form` Created
|
|
1916
1916
|
* @response `422` `UnprocessableEntity` Unprocessable Content
|
|
1917
1917
|
*/
|
|
1918
|
-
createForm: (data, params = {}) => this.request(Object.assign({ path: `/api/forms`, method: "POST", body: data, secure: true, type:
|
|
1918
|
+
createForm: (data, params = {}) => this.request(Object.assign({ path: `/api/forms`, method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
|
|
1919
1919
|
/**
|
|
1920
1920
|
* No description
|
|
1921
1921
|
*
|
|
@@ -1938,7 +1938,7 @@ export class Api extends HttpClient {
|
|
|
1938
1938
|
* @response `200` `Form` OK
|
|
1939
1939
|
* @response `422` `UnprocessableEntity` Unprocessable Content
|
|
1940
1940
|
*/
|
|
1941
|
-
replaceForm: (id, data, params = {}) => this.request(Object.assign({ path: `/api/forms/${id}`, method: "PUT", body: data, secure: true, type:
|
|
1941
|
+
replaceForm: (id, data, params = {}) => this.request(Object.assign({ path: `/api/forms/${id}`, method: "PUT", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
|
|
1942
1942
|
/**
|
|
1943
1943
|
* No description
|
|
1944
1944
|
*
|
|
@@ -1971,7 +1971,7 @@ export class Api extends HttpClient {
|
|
|
1971
1971
|
* @secure
|
|
1972
1972
|
* @response `200` `FormSubmissionFile` OK
|
|
1973
1973
|
*/
|
|
1974
|
-
addFormSubmissionFile: (formSubmissionId, data, params = {}) => this.request(Object.assign({ path: `/api/form-submissions/${formSubmissionId}/files`, method: "POST", body: data, secure: true, type:
|
|
1974
|
+
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)),
|
|
1975
1975
|
/**
|
|
1976
1976
|
* No description
|
|
1977
1977
|
*
|
|
@@ -2015,7 +2015,7 @@ export class Api extends HttpClient {
|
|
|
2015
2015
|
* @secure
|
|
2016
2016
|
* @response `201` `FormSubmission` Created
|
|
2017
2017
|
*/
|
|
2018
|
-
createFormSubmission: (data, query, params = {}) => this.request(Object.assign({ path: `/api/form-submissions`, method: "POST", query: query, body: data, secure: true, type:
|
|
2018
|
+
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)),
|
|
2019
2019
|
/**
|
|
2020
2020
|
* No description
|
|
2021
2021
|
*
|
|
@@ -2037,7 +2037,7 @@ export class Api extends HttpClient {
|
|
|
2037
2037
|
* @secure
|
|
2038
2038
|
* @response `200` `FormSubmission` OK
|
|
2039
2039
|
*/
|
|
2040
|
-
replaceFormSubmission: (id, data, params = {}) => this.request(Object.assign({ path: `/api/form-submissions/${id}`, method: "PUT", body: data, secure: true, type:
|
|
2040
|
+
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)),
|
|
2041
2041
|
/**
|
|
2042
2042
|
* No description
|
|
2043
2043
|
*
|
|
@@ -2059,7 +2059,7 @@ export class Api extends HttpClient {
|
|
|
2059
2059
|
* @secure
|
|
2060
2060
|
* @response `200` `FormSubmissionPaginated` OK
|
|
2061
2061
|
*/
|
|
2062
|
-
searchFormSubmissions: (data, query, params = {}) => this.request(Object.assign({ path: `/api/form-submissions/search`, method: "POST", query: query, body: data, secure: true, type:
|
|
2062
|
+
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)),
|
|
2063
2063
|
/**
|
|
2064
2064
|
* No description
|
|
2065
2065
|
*
|
|
@@ -2081,7 +2081,7 @@ export class Api extends HttpClient {
|
|
|
2081
2081
|
* @secure
|
|
2082
2082
|
* @response `200` `FormVersion` OK
|
|
2083
2083
|
*/
|
|
2084
|
-
createFormVersion: (formId, data, params = {}) => this.request(Object.assign({ path: `/api/forms/${formId}/versions`, method: "POST", body: data, secure: true, type:
|
|
2084
|
+
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)),
|
|
2085
2085
|
/**
|
|
2086
2086
|
* No description
|
|
2087
2087
|
*
|
|
@@ -2103,7 +2103,7 @@ export class Api extends HttpClient {
|
|
|
2103
2103
|
* @secure
|
|
2104
2104
|
* @response `200` `FormVersion` OK
|
|
2105
2105
|
*/
|
|
2106
|
-
replaceFormVersion: (formId, id, data, params = {}) => this.request(Object.assign({ path: `/api/forms/${formId}/versions/${id}`, method: "PUT", body: data, secure: true, type:
|
|
2106
|
+
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)),
|
|
2107
2107
|
/**
|
|
2108
2108
|
* No description
|
|
2109
2109
|
*
|
|
@@ -2149,7 +2149,7 @@ export class Api extends HttpClient {
|
|
|
2149
2149
|
* @response `200` `string` OK
|
|
2150
2150
|
* @response `422` `UnprocessableEntity` Unprocessable Content
|
|
2151
2151
|
*/
|
|
2152
|
-
updateLoanConsentAndCustomFieldsObsolete: (loanId, data, params = {}) => this.request(Object.assign({ path: `/api/los/loan/application/${loanId}`, method: "PATCH", body: data, secure: true, type:
|
|
2152
|
+
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)),
|
|
2153
2153
|
/**
|
|
2154
2154
|
* No description
|
|
2155
2155
|
*
|
|
@@ -2160,7 +2160,7 @@ export class Api extends HttpClient {
|
|
|
2160
2160
|
* @secure
|
|
2161
2161
|
* @response `200` `GetReport` OK
|
|
2162
2162
|
*/
|
|
2163
|
-
getLoansReport: (data, params = {}) => this.request(Object.assign({ path: `/api/los/loan/reports`, method: "POST", body: data, secure: true, type:
|
|
2163
|
+
getLoansReport: (data, params = {}) => this.request(Object.assign({ path: `/api/los/loan/reports`, method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
|
|
2164
2164
|
/**
|
|
2165
2165
|
* No description
|
|
2166
2166
|
*
|
|
@@ -2174,7 +2174,7 @@ export class Api extends HttpClient {
|
|
|
2174
2174
|
* @response `422` `UnprocessableEntity` Unprocessable Content
|
|
2175
2175
|
* @response `423` `UnprocessableEntity` Locked
|
|
2176
2176
|
*/
|
|
2177
|
-
createLoan: (data, query, params = {}) => this.request(Object.assign({ path: `/api/los/loan/application`, method: "POST", query: query, body: data, secure: true, type:
|
|
2177
|
+
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)),
|
|
2178
2178
|
/**
|
|
2179
2179
|
* No description
|
|
2180
2180
|
*
|
|
@@ -2187,7 +2187,7 @@ export class Api extends HttpClient {
|
|
|
2187
2187
|
* @response `422` `UnprocessableEntity` Unprocessable Content
|
|
2188
2188
|
* @response `423` `UnprocessableEntity` Locked
|
|
2189
2189
|
*/
|
|
2190
|
-
createLoanInternal: (data, query, params = {}) => this.request(Object.assign({ path: `/api/los/loan/application/internal`, method: "POST", query: query, body: data, secure: true, type:
|
|
2190
|
+
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)),
|
|
2191
2191
|
/**
|
|
2192
2192
|
* No description
|
|
2193
2193
|
*
|
|
@@ -2199,7 +2199,7 @@ export class Api extends HttpClient {
|
|
|
2199
2199
|
* @response `200` `string` OK
|
|
2200
2200
|
* @response `422` `UnprocessableEntity` Unprocessable Content
|
|
2201
2201
|
*/
|
|
2202
|
-
updateLoanCustomFields: (loanId, data, params = {}) => this.request(Object.assign({ path: `/api/los/loan/application/${loanId}/custom-fields`, method: "PATCH", body: data, secure: true, type:
|
|
2202
|
+
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)),
|
|
2203
2203
|
/**
|
|
2204
2204
|
* No description
|
|
2205
2205
|
*
|
|
@@ -2212,18 +2212,7 @@ export class Api extends HttpClient {
|
|
|
2212
2212
|
* @response `202` `string` Accepted
|
|
2213
2213
|
* @response `422` `UnprocessableEntity` Unprocessable Content
|
|
2214
2214
|
*/
|
|
2215
|
-
updateLoanConsent: (loanId, data, params = {}) => this.request(Object.assign({ path: `/api/los/loan/application/${loanId}/consent`, method: "PATCH", body: data, secure: true, type:
|
|
2216
|
-
/**
|
|
2217
|
-
* No description
|
|
2218
|
-
*
|
|
2219
|
-
* @tags LegacyLoan
|
|
2220
|
-
* @name GetTaskDocumentsByLoan
|
|
2221
|
-
* @summary Get Documents
|
|
2222
|
-
* @request GET:/api/los/loan/tasks/documents/{loanID}
|
|
2223
|
-
* @secure
|
|
2224
|
-
* @response `200` `(DocumentData)[]` OK
|
|
2225
|
-
*/
|
|
2226
|
-
getTaskDocumentsByLoan: (loanId, params = {}) => this.request(Object.assign({ path: `/api/los/loan/tasks/documents/${loanId}`, method: "GET", secure: true, format: "json" }, params)),
|
|
2215
|
+
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)),
|
|
2227
2216
|
/**
|
|
2228
2217
|
* No description
|
|
2229
2218
|
*
|
|
@@ -2303,7 +2292,7 @@ export class Api extends HttpClient {
|
|
|
2303
2292
|
* @secure
|
|
2304
2293
|
* @response `200` `ListingFile` OK
|
|
2305
2294
|
*/
|
|
2306
|
-
addListingFile: (listingId, data, params = {}) => this.request(Object.assign({ path: `/api/listings/${listingId}/files`, method: "POST", body: data, secure: true, type:
|
|
2295
|
+
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)),
|
|
2307
2296
|
/**
|
|
2308
2297
|
* No description
|
|
2309
2298
|
*
|
|
@@ -2314,7 +2303,7 @@ export class Api extends HttpClient {
|
|
|
2314
2303
|
* @secure
|
|
2315
2304
|
* @response `200` `ListingFile` OK
|
|
2316
2305
|
*/
|
|
2317
|
-
updateListingFiles: (listingId, data, params = {}) => this.request(Object.assign({ path: `/api/listings/${listingId}/files`, method: "PATCH", body: data, secure: true, type:
|
|
2306
|
+
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)),
|
|
2318
2307
|
/**
|
|
2319
2308
|
* No description
|
|
2320
2309
|
*
|
|
@@ -2336,7 +2325,7 @@ export class Api extends HttpClient {
|
|
|
2336
2325
|
* @secure
|
|
2337
2326
|
* @response `200` `ListingPhoto` OK
|
|
2338
2327
|
*/
|
|
2339
|
-
addListingPhoto: (listingId, data, params = {}) => this.request(Object.assign({ path: `/api/listings/${listingId}/photos`, method: "POST", body: data, secure: true, type:
|
|
2328
|
+
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)),
|
|
2340
2329
|
/**
|
|
2341
2330
|
* No description
|
|
2342
2331
|
*
|
|
@@ -2347,7 +2336,7 @@ export class Api extends HttpClient {
|
|
|
2347
2336
|
* @secure
|
|
2348
2337
|
* @response `200` `(ListingPhoto)[]` OK
|
|
2349
2338
|
*/
|
|
2350
|
-
updateListingPhotos: (listingId, data, params = {}) => this.request(Object.assign({ path: `/api/listings/${listingId}/photos`, method: "PATCH", body: data, secure: true, type:
|
|
2339
|
+
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)),
|
|
2351
2340
|
/**
|
|
2352
2341
|
* No description
|
|
2353
2342
|
*
|
|
@@ -2380,7 +2369,7 @@ export class Api extends HttpClient {
|
|
|
2380
2369
|
* @secure
|
|
2381
2370
|
* @response `201` `Listing` Created
|
|
2382
2371
|
*/
|
|
2383
|
-
createListing: (data, params = {}) => this.request(Object.assign({ path: `/api/listings`, method: "POST", body: data, secure: true, type:
|
|
2372
|
+
createListing: (data, params = {}) => this.request(Object.assign({ path: `/api/listings`, method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
|
|
2384
2373
|
/**
|
|
2385
2374
|
* No description
|
|
2386
2375
|
*
|
|
@@ -2413,7 +2402,7 @@ export class Api extends HttpClient {
|
|
|
2413
2402
|
* @secure
|
|
2414
2403
|
* @response `200` `Listing` OK
|
|
2415
2404
|
*/
|
|
2416
|
-
replaceListing: (id, data, params = {}) => this.request(Object.assign({ path: `/api/listings/${id}`, method: "PUT", body: data, secure: true, type:
|
|
2405
|
+
replaceListing: (id, data, params = {}) => this.request(Object.assign({ path: `/api/listings/${id}`, method: "PUT", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
|
|
2417
2406
|
/**
|
|
2418
2407
|
* No description
|
|
2419
2408
|
*
|
|
@@ -2435,7 +2424,7 @@ export class Api extends HttpClient {
|
|
|
2435
2424
|
* @secure
|
|
2436
2425
|
* @response `200` `ListingPaginated` OK
|
|
2437
2426
|
*/
|
|
2438
|
-
searchListings: (data, query, params = {}) => this.request(Object.assign({ path: `/api/listings/search`, method: "POST", query: query, body: data, secure: true, type:
|
|
2427
|
+
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)),
|
|
2439
2428
|
/**
|
|
2440
2429
|
* No description
|
|
2441
2430
|
*
|
|
@@ -2446,7 +2435,7 @@ export class Api extends HttpClient {
|
|
|
2446
2435
|
* @secure
|
|
2447
2436
|
* @response `200` `File` OK
|
|
2448
2437
|
*/
|
|
2449
|
-
updateListingBackgroundImage: (id, data, params = {}) => this.request(Object.assign({ path: `/api/listings/${id}/background-image`, method: "PUT", body: data, secure: true, type:
|
|
2438
|
+
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)),
|
|
2450
2439
|
/**
|
|
2451
2440
|
* No description
|
|
2452
2441
|
*
|
|
@@ -2492,7 +2481,7 @@ export class Api extends HttpClient {
|
|
|
2492
2481
|
* @response `422` `UnprocessableEntity` Unprocessable Content
|
|
2493
2482
|
* @response `423` `UnprocessableEntity` Locked
|
|
2494
2483
|
*/
|
|
2495
|
-
runLoanCalculator: (loanId, data, params = {}) => this.request(Object.assign({ path: `/api/loans/${loanId}/calculators/loan-calculator`, method: "POST", body: data, secure: true, type:
|
|
2484
|
+
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)),
|
|
2496
2485
|
/**
|
|
2497
2486
|
* No description
|
|
2498
2487
|
*
|
|
@@ -2516,7 +2505,7 @@ export class Api extends HttpClient {
|
|
|
2516
2505
|
* @response `422` `UnprocessableEntity` Unprocessable Content
|
|
2517
2506
|
* @response `423` `UnprocessableEntity` Locked
|
|
2518
2507
|
*/
|
|
2519
|
-
createLoanComparison: (loanId, index, data, params = {}) => this.request(Object.assign({ path: `/api/loans/${loanId}/loan-comparison/${index}`, method: "POST", body: data, secure: true, type:
|
|
2508
|
+
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)),
|
|
2520
2509
|
/**
|
|
2521
2510
|
* No description
|
|
2522
2511
|
*
|
|
@@ -2539,7 +2528,7 @@ export class Api extends HttpClient {
|
|
|
2539
2528
|
* @response `204` `void` No Content
|
|
2540
2529
|
* @response `422` `UnprocessableEntity` Unprocessable Content
|
|
2541
2530
|
*/
|
|
2542
|
-
createLoanComparisonPdf: (loanId, data, params = {}) => this.request(Object.assign({ path: `/api/loans/${loanId}/loan-comparison/pdf`, method: "POST", body: data, secure: true, type:
|
|
2531
|
+
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)),
|
|
2543
2532
|
/**
|
|
2544
2533
|
* No description
|
|
2545
2534
|
*
|
|
@@ -2576,7 +2565,7 @@ export class Api extends HttpClient {
|
|
|
2576
2565
|
* @response `400` `ProblemDetails` Bad Request
|
|
2577
2566
|
* @response `422` `ProblemDetails` Unprocessable Content
|
|
2578
2567
|
*/
|
|
2579
|
-
bulkSetLoanCustomFieldValues: (loanId, data, params = {}) => this.request(Object.assign({ path: `/api/loans/${loanId}/custom-fields`, method: "PUT", body: data, secure: true, type:
|
|
2568
|
+
bulkSetLoanCustomFieldValues: (loanId, data, params = {}) => this.request(Object.assign({ path: `/api/loans/${loanId}/custom-fields`, method: "PUT", body: data, secure: true, type: ContentType.Json }, params)),
|
|
2580
2569
|
/**
|
|
2581
2570
|
* No description
|
|
2582
2571
|
*
|
|
@@ -2590,7 +2579,7 @@ export class Api extends HttpClient {
|
|
|
2590
2579
|
* @response `404` `ProblemDetails` Not Found
|
|
2591
2580
|
* @response `422` `ProblemDetails` Unprocessable Content
|
|
2592
2581
|
*/
|
|
2593
|
-
setLoanCustomFieldValue: (loanId, definitionId, data, params = {}) => this.request(Object.assign({ path: `/api/loans/${loanId}/custom-fields/${definitionId}`, method: "PUT", body: data, secure: true, type:
|
|
2582
|
+
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)),
|
|
2594
2583
|
/**
|
|
2595
2584
|
* No description
|
|
2596
2585
|
*
|
|
@@ -2624,7 +2613,7 @@ export class Api extends HttpClient {
|
|
|
2624
2613
|
* @secure
|
|
2625
2614
|
* @response `201` `(string)[]` Created
|
|
2626
2615
|
*/
|
|
2627
|
-
createLoanDocumentBuckets: (loanId, data, params = {}) => this.request(Object.assign({ path: `/api/loans/${loanId}/documents/buckets`, method: "POST", body: data, secure: true, type:
|
|
2616
|
+
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)),
|
|
2628
2617
|
/**
|
|
2629
2618
|
* No description
|
|
2630
2619
|
*
|
|
@@ -2648,7 +2637,7 @@ export class Api extends HttpClient {
|
|
|
2648
2637
|
* @response `409` `ProblemDetails` Conflict
|
|
2649
2638
|
* @response `422` `ProblemDetails` Unprocessable Content
|
|
2650
2639
|
*/
|
|
2651
|
-
createLoanDocumentFolder: (data, params = {}) => this.request(Object.assign({ path: `/api/loan-document-folders`, method: "POST", body: data, secure: true, type:
|
|
2640
|
+
createLoanDocumentFolder: (data, params = {}) => this.request(Object.assign({ path: `/api/loan-document-folders`, method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
|
|
2652
2641
|
/**
|
|
2653
2642
|
* No description
|
|
2654
2643
|
*
|
|
@@ -2675,7 +2664,7 @@ export class Api extends HttpClient {
|
|
|
2675
2664
|
* @response `409` `ProblemDetails` Conflict
|
|
2676
2665
|
* @response `422` `ProblemDetails` Unprocessable Content
|
|
2677
2666
|
*/
|
|
2678
|
-
updateLoanDocumentFolder: (id, data, params = {}) => this.request(Object.assign({ path: `/api/loan-document-folders/${id}`, method: "PUT", body: data, secure: true, type:
|
|
2667
|
+
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)),
|
|
2679
2668
|
/**
|
|
2680
2669
|
* No description
|
|
2681
2670
|
*
|
|
@@ -2750,7 +2739,7 @@ export class Api extends HttpClient {
|
|
|
2750
2739
|
* @response `200` `Record<string,string>` OK
|
|
2751
2740
|
* @response `400` `ProblemDetails` Bad Request
|
|
2752
2741
|
*/
|
|
2753
|
-
getLoanDocumentPreviews: (loanId, data, params = {}) => this.request(Object.assign({ path: `/api/loans/${loanId}/documents/previews`, method: "POST", body: data, secure: true, type:
|
|
2742
|
+
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)),
|
|
2754
2743
|
/**
|
|
2755
2744
|
* No description
|
|
2756
2745
|
*
|
|
@@ -2761,7 +2750,7 @@ export class Api extends HttpClient {
|
|
|
2761
2750
|
* @secure
|
|
2762
2751
|
* @response `200` `LoanDocumentSearchPaginated` OK
|
|
2763
2752
|
*/
|
|
2764
|
-
searchLoanDocuments: (loanId, data, query, params = {}) => this.request(Object.assign({ path: `/api/loans/${loanId}/documents/search`, method: "POST", query: query, body: data, secure: true, type:
|
|
2753
|
+
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)),
|
|
2765
2754
|
/**
|
|
2766
2755
|
* @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).
|
|
2767
2756
|
*
|
|
@@ -2772,7 +2761,7 @@ export class Api extends HttpClient {
|
|
|
2772
2761
|
* @secure
|
|
2773
2762
|
* @response `200` `(DocumentFolder)[]` OK
|
|
2774
2763
|
*/
|
|
2775
|
-
getLoanDocumentFolders: (loanId, data, query, params = {}) => this.request(Object.assign({ path: `/api/loans/${loanId}/documents/folders`, method: "POST", query: query, body: data, secure: true, type:
|
|
2764
|
+
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)),
|
|
2776
2765
|
/**
|
|
2777
2766
|
* No description
|
|
2778
2767
|
*
|
|
@@ -2781,7 +2770,7 @@ export class Api extends HttpClient {
|
|
|
2781
2770
|
* @summary Download By ID
|
|
2782
2771
|
* @request GET:/api/loans/{loanId}/documents/{documentId}/download
|
|
2783
2772
|
* @secure
|
|
2784
|
-
* @response `200` `
|
|
2773
|
+
* @response `200` `string` OK
|
|
2785
2774
|
* @response `404` `ProblemDetails` Not Found
|
|
2786
2775
|
*/
|
|
2787
2776
|
downloadLoanDocument: (loanId, documentId, params = {}) => this.request(Object.assign({ path: `/api/loans/${loanId}/documents/${documentId}/download`, method: "GET", secure: true, format: "json" }, params)),
|
|
@@ -2797,7 +2786,7 @@ export class Api extends HttpClient {
|
|
|
2797
2786
|
* @response `404` `ProblemDetails` Not Found
|
|
2798
2787
|
* @response `422` `UnprocessableEntity` Unprocessable Content
|
|
2799
2788
|
*/
|
|
2800
|
-
createLoanDocument: (loanId, data, params = {}) => this.request(Object.assign({ path: `/api/loans/${loanId}/documents`, method: "POST", body: data, secure: true, type:
|
|
2789
|
+
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)),
|
|
2801
2790
|
/**
|
|
2802
2791
|
* No description
|
|
2803
2792
|
*
|
|
@@ -2821,7 +2810,7 @@ export class Api extends HttpClient {
|
|
|
2821
2810
|
* @secure
|
|
2822
2811
|
* @response `200` `DocumentDataRequest` OK
|
|
2823
2812
|
*/
|
|
2824
|
-
generateLoanDocument: (loanId, data, params = {}) => this.request(Object.assign({ path: `/api/loans/${loanId}/documents/generate`, method: "POST", body: data, secure: true, type:
|
|
2813
|
+
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)),
|
|
2825
2814
|
/**
|
|
2826
2815
|
* No description
|
|
2827
2816
|
*
|
|
@@ -2834,7 +2823,7 @@ export class Api extends HttpClient {
|
|
|
2834
2823
|
* @response `400` `ProblemDetails` Bad Request
|
|
2835
2824
|
* @response `404` `ProblemDetails` Not Found
|
|
2836
2825
|
*/
|
|
2837
|
-
sendLoanDocuments: (loanId, data, params = {}) => this.request(Object.assign({ path: `/api/loans/${loanId}/documents/distribute`, method: "POST", body: data, secure: true, type:
|
|
2826
|
+
sendLoanDocuments: (loanId, data, params = {}) => this.request(Object.assign({ path: `/api/loans/${loanId}/documents/distribute`, method: "POST", body: data, secure: true, type: ContentType.Json }, params)),
|
|
2838
2827
|
/**
|
|
2839
2828
|
* @description Fetches all documents from Encompass that don't exist locally and stores them in S3
|
|
2840
2829
|
*
|
|
@@ -2859,7 +2848,7 @@ export class Api extends HttpClient {
|
|
|
2859
2848
|
* @response `404` `ProblemDetails` Not Found
|
|
2860
2849
|
* @response `422` `UnprocessableEntity` Unprocessable Content
|
|
2861
2850
|
*/
|
|
2862
|
-
classifyLoanDocumentManually: (loanId, documentId, data, params = {}) => this.request(Object.assign({ path: `/api/loans/${loanId}/documents/${documentId}/classify-manual`, method: "POST", body: data, secure: true, type:
|
|
2851
|
+
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)),
|
|
2863
2852
|
/**
|
|
2864
2853
|
* @description Re-attempts to push a failed document to LOS
|
|
2865
2854
|
*
|
|
@@ -2883,7 +2872,7 @@ export class Api extends HttpClient {
|
|
|
2883
2872
|
* @secure
|
|
2884
2873
|
* @response `201` `Draft` Created
|
|
2885
2874
|
*/
|
|
2886
|
-
createLoanDraft: (data, params = {}) => this.request(Object.assign({ path: `/api/loans/drafts`, method: "POST", body: data, secure: true, type:
|
|
2875
|
+
createLoanDraft: (data, params = {}) => this.request(Object.assign({ path: `/api/loans/drafts`, method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
|
|
2887
2876
|
/**
|
|
2888
2877
|
* No description
|
|
2889
2878
|
*
|
|
@@ -2916,7 +2905,7 @@ export class Api extends HttpClient {
|
|
|
2916
2905
|
* @secure
|
|
2917
2906
|
* @response `200` `Draft` OK
|
|
2918
2907
|
*/
|
|
2919
|
-
replaceLoanDraft: (draftId, data, params = {}) => this.request(Object.assign({ path: `/api/loans/drafts/${draftId}`, method: "PUT", body: data, secure: true, type:
|
|
2908
|
+
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)),
|
|
2920
2909
|
/**
|
|
2921
2910
|
* No description
|
|
2922
2911
|
*
|
|
@@ -2938,7 +2927,7 @@ export class Api extends HttpClient {
|
|
|
2938
2927
|
* @secure
|
|
2939
2928
|
* @response `201` `DraftContentPaginated` Created
|
|
2940
2929
|
*/
|
|
2941
|
-
searchLoanDrafts: (data, query, params = {}) => this.request(Object.assign({ path: `/api/loans/drafts/search`, method: "POST", query: query, body: data, secure: true, type:
|
|
2930
|
+
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)),
|
|
2942
2931
|
/**
|
|
2943
2932
|
* No description
|
|
2944
2933
|
*
|
|
@@ -2949,7 +2938,7 @@ export class Api extends HttpClient {
|
|
|
2949
2938
|
* @secure
|
|
2950
2939
|
* @response `200` `Draft` OK
|
|
2951
2940
|
*/
|
|
2952
|
-
reassignLoanOfficer: (draftId, data, params = {}) => this.request(Object.assign({ path: `/api/loans/drafts/${draftId}/reassign`, method: "PUT", body: data, secure: true, type:
|
|
2941
|
+
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)),
|
|
2953
2942
|
/**
|
|
2954
2943
|
* No description
|
|
2955
2944
|
*
|
|
@@ -2982,7 +2971,7 @@ export class Api extends HttpClient {
|
|
|
2982
2971
|
* @secure
|
|
2983
2972
|
* @response `201` `LoanImport` Created
|
|
2984
2973
|
*/
|
|
2985
|
-
createLoanImport: (data, params = {}) => this.request(Object.assign({ path: `/api/loan-imports`, method: "POST", body: data, secure: true, type:
|
|
2974
|
+
createLoanImport: (data, params = {}) => this.request(Object.assign({ path: `/api/loan-imports`, method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
|
|
2986
2975
|
/**
|
|
2987
2976
|
* No description
|
|
2988
2977
|
*
|
|
@@ -3028,7 +3017,7 @@ export class Api extends HttpClient {
|
|
|
3028
3017
|
* @response `200` `(Invite)[]` OK
|
|
3029
3018
|
* @response `404` `ProblemDetails` Not Found
|
|
3030
3019
|
*/
|
|
3031
|
-
inviteLoanContacts: (loanId, data, params = {}) => this.request(Object.assign({ path: `/api/loans/${loanId}/invites`, method: "POST", body: data, secure: true, type:
|
|
3020
|
+
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)),
|
|
3032
3021
|
/**
|
|
3033
3022
|
* No description
|
|
3034
3023
|
*
|
|
@@ -3039,7 +3028,7 @@ export class Api extends HttpClient {
|
|
|
3039
3028
|
* @secure
|
|
3040
3029
|
* @response `200` `LoanLogPaginated` OK
|
|
3041
3030
|
*/
|
|
3042
|
-
searchLoanLogs: (loanId, data, query, params = {}) => this.request(Object.assign({ path: `/api/loans/${loanId}/logs/search`, method: "POST", query: query, body: data, secure: true, type:
|
|
3031
|
+
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)),
|
|
3043
3032
|
/**
|
|
3044
3033
|
* No description
|
|
3045
3034
|
*
|
|
@@ -3064,7 +3053,7 @@ export class Api extends HttpClient {
|
|
|
3064
3053
|
* @response `400` `ProblemDetails` Bad Request
|
|
3065
3054
|
* @response `404` `ProblemDetails` Not Found
|
|
3066
3055
|
*/
|
|
3067
|
-
sendLoanOptInReminder: (loanId, data, params = {}) => this.request(Object.assign({ path: `/api/loans/${loanId}/notifications/opt-in-reminders`, method: "POST", body: data, secure: true, type:
|
|
3056
|
+
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)),
|
|
3068
3057
|
/**
|
|
3069
3058
|
* No description
|
|
3070
3059
|
*
|
|
@@ -3077,7 +3066,7 @@ export class Api extends HttpClient {
|
|
|
3077
3066
|
* @response `400` `ProblemDetails` Bad Request
|
|
3078
3067
|
* @response `404` `ProblemDetails` Not Found
|
|
3079
3068
|
*/
|
|
3080
|
-
sendESignatureReminder: (loanId, data, params = {}) => this.request(Object.assign({ path: `/api/loans/${loanId}/notifications/esignature-reminders`, method: "POST", body: data, secure: true, type:
|
|
3069
|
+
sendESignatureReminder: (loanId, data, params = {}) => this.request(Object.assign({ path: `/api/loans/${loanId}/notifications/esignature-reminders`, method: "POST", body: data, secure: true, type: ContentType.Json }, params)),
|
|
3081
3070
|
/**
|
|
3082
3071
|
* No description
|
|
3083
3072
|
*
|
|
@@ -3099,7 +3088,7 @@ export class Api extends HttpClient {
|
|
|
3099
3088
|
* @secure
|
|
3100
3089
|
* @response `200` `BranchUserPaginated` OK
|
|
3101
3090
|
*/
|
|
3102
|
-
searchLoanOfficers: (data, query, params = {}) => this.request(Object.assign({ path: `/api/loan-officers/search`, method: "POST", query: query, body: data, secure: true, type:
|
|
3091
|
+
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)),
|
|
3103
3092
|
/**
|
|
3104
3093
|
* No description
|
|
3105
3094
|
*
|
|
@@ -3122,7 +3111,7 @@ export class Api extends HttpClient {
|
|
|
3122
3111
|
* @response `200` `SiteConfiguration` OK
|
|
3123
3112
|
* @response `422` `UnprocessableEntity` Unprocessable Content
|
|
3124
3113
|
*/
|
|
3125
|
-
createLoanOfficerSiteConfiguration: (loanOfficerId, data, params = {}) => this.request(Object.assign({ path: `/api/loan-officers/${loanOfficerId}/site-configurations`, method: "POST", body: data, secure: true, type:
|
|
3114
|
+
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)),
|
|
3126
3115
|
/**
|
|
3127
3116
|
* No description
|
|
3128
3117
|
*
|
|
@@ -3145,7 +3134,7 @@ export class Api extends HttpClient {
|
|
|
3145
3134
|
* @response `200` `SiteConfiguration` OK
|
|
3146
3135
|
* @response `422` `UnprocessableEntity` Unprocessable Content
|
|
3147
3136
|
*/
|
|
3148
|
-
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:
|
|
3137
|
+
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)),
|
|
3149
3138
|
/**
|
|
3150
3139
|
* No description
|
|
3151
3140
|
*
|
|
@@ -3156,7 +3145,7 @@ export class Api extends HttpClient {
|
|
|
3156
3145
|
* @secure
|
|
3157
3146
|
* @response `200` `LoanQueuePaginated` OK
|
|
3158
3147
|
*/
|
|
3159
|
-
searchLoanQueue: (data, query, params = {}) => this.request(Object.assign({ path: `/api/loans/queue/search`, method: "POST", query: query, body: data, secure: true, type:
|
|
3148
|
+
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)),
|
|
3160
3149
|
/**
|
|
3161
3150
|
* No description
|
|
3162
3151
|
*
|
|
@@ -3180,7 +3169,7 @@ export class Api extends HttpClient {
|
|
|
3180
3169
|
* @response `200` `LoanQueueWithData` OK
|
|
3181
3170
|
* @response `404` `ProblemDetails` Not Found
|
|
3182
3171
|
*/
|
|
3183
|
-
replaceLoanQueue: (loanQueueId, data, params = {}) => this.request(Object.assign({ path: `/api/loans/queue/${loanQueueId}`, method: "PUT", body: data, secure: true, type:
|
|
3172
|
+
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)),
|
|
3184
3173
|
/**
|
|
3185
3174
|
* No description
|
|
3186
3175
|
*
|
|
@@ -3241,7 +3230,7 @@ export class Api extends HttpClient {
|
|
|
3241
3230
|
* @response `401` `ProblemDetails` Unauthorized
|
|
3242
3231
|
* @response `403` `ProblemDetails` Forbidden
|
|
3243
3232
|
*/
|
|
3244
|
-
createLoanv3: (data, params = {}) => this.request(Object.assign({ path: `/api/loans`, method: "POST", body: data, secure: true, type:
|
|
3233
|
+
createLoanv3: (data, params = {}) => this.request(Object.assign({ path: `/api/loans`, method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
|
|
3245
3234
|
/**
|
|
3246
3235
|
* No description
|
|
3247
3236
|
*
|
|
@@ -3252,7 +3241,7 @@ export class Api extends HttpClient {
|
|
|
3252
3241
|
* @secure
|
|
3253
3242
|
* @response `200` `LoanListPaginated` OK
|
|
3254
3243
|
*/
|
|
3255
|
-
searchLoans: (data, query, params = {}) => this.request(Object.assign({ path: `/api/loans/search`, method: "POST", query: query, body: data, secure: true, type:
|
|
3244
|
+
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)),
|
|
3256
3245
|
/**
|
|
3257
3246
|
* No description
|
|
3258
3247
|
*
|
|
@@ -3268,7 +3257,7 @@ export class Api extends HttpClient {
|
|
|
3268
3257
|
* @response `404` `ProblemDetails` Not Found
|
|
3269
3258
|
* @response `409` `any` Conflict
|
|
3270
3259
|
*/
|
|
3271
|
-
updateLoan: (loanId, data, params = {}) => this.request(Object.assign({ path: `/api/loans/${loanId}`, method: "PATCH", body: data, secure: true, type:
|
|
3260
|
+
updateLoan: (loanId, data, params = {}) => this.request(Object.assign({ path: `/api/loans/${loanId}`, method: "PATCH", body: data, secure: true, type: ContentType.JsonPatch, format: "json" }, params)),
|
|
3272
3261
|
/**
|
|
3273
3262
|
* No description
|
|
3274
3263
|
*
|
|
@@ -3330,7 +3319,7 @@ export class Api extends HttpClient {
|
|
|
3330
3319
|
* @response `400` `ProblemDetails` Bad Request
|
|
3331
3320
|
* @response `404` `ProblemDetails` Not Found
|
|
3332
3321
|
*/
|
|
3333
|
-
triggerAso: (loanId, data, params = {}) => this.request(Object.assign({ path: `/api/loans/${loanId}/aso`, method: "POST", body: data, secure: true, type:
|
|
3322
|
+
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)),
|
|
3334
3323
|
/**
|
|
3335
3324
|
* No description
|
|
3336
3325
|
*
|
|
@@ -3342,7 +3331,7 @@ export class Api extends HttpClient {
|
|
|
3342
3331
|
* @response `200` `TaskCommentPaginated` OK
|
|
3343
3332
|
* @response `404` `ProblemDetails` Not Found
|
|
3344
3333
|
*/
|
|
3345
|
-
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:
|
|
3334
|
+
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)),
|
|
3346
3335
|
/**
|
|
3347
3336
|
* No description
|
|
3348
3337
|
*
|
|
@@ -3366,7 +3355,7 @@ export class Api extends HttpClient {
|
|
|
3366
3355
|
* @response `201` `TaskComment` Created
|
|
3367
3356
|
* @response `404` `ProblemDetails` Not Found
|
|
3368
3357
|
*/
|
|
3369
|
-
createLoanTaskComment: (loanId, userLoanTaskId, data, params = {}) => this.request(Object.assign({ path: `/api/loans/${loanId}/tasks/${userLoanTaskId}/comments`, method: "POST", body: data, secure: true, type:
|
|
3358
|
+
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)),
|
|
3370
3359
|
/**
|
|
3371
3360
|
* No description
|
|
3372
3361
|
*
|
|
@@ -3378,7 +3367,7 @@ export class Api extends HttpClient {
|
|
|
3378
3367
|
* @response `200` `TaskComment` OK
|
|
3379
3368
|
* @response `404` `ProblemDetails` Not Found
|
|
3380
3369
|
*/
|
|
3381
|
-
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:
|
|
3370
|
+
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)),
|
|
3382
3371
|
/**
|
|
3383
3372
|
* No description
|
|
3384
3373
|
*
|
|
@@ -3403,7 +3392,7 @@ export class Api extends HttpClient {
|
|
|
3403
3392
|
* @response `404` `ProblemDetails` Not Found
|
|
3404
3393
|
* @response `422` `UnprocessableEntity` Unprocessable Content
|
|
3405
3394
|
*/
|
|
3406
|
-
createLoanTaskDocument: (loanId, loanTaskId, data, params = {}) => this.request(Object.assign({ path: `/api/loans/${loanId}/tasks/${loanTaskId}/documents`, method: "POST", body: data, secure: true, type:
|
|
3395
|
+
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)),
|
|
3407
3396
|
/**
|
|
3408
3397
|
* No description
|
|
3409
3398
|
*
|
|
@@ -3417,7 +3406,7 @@ export class Api extends HttpClient {
|
|
|
3417
3406
|
* @response `404` `ProblemDetails` Not Found
|
|
3418
3407
|
* @response `422` `ProblemDetails` Unprocessable Content
|
|
3419
3408
|
*/
|
|
3420
|
-
sendOutstandingLoanTaskNotification: (loanId, data, params = {}) => this.request(Object.assign({ path: `/api/loans/${loanId}/tasks/reminders/outstanding`, method: "POST", body: data, secure: true, type:
|
|
3409
|
+
sendOutstandingLoanTaskNotification: (loanId, data, params = {}) => this.request(Object.assign({ path: `/api/loans/${loanId}/tasks/reminders/outstanding`, method: "POST", body: data, secure: true, type: ContentType.Json }, params)),
|
|
3421
3410
|
/**
|
|
3422
3411
|
* No description
|
|
3423
3412
|
*
|
|
@@ -3430,7 +3419,7 @@ export class Api extends HttpClient {
|
|
|
3430
3419
|
* @response `400` `ProblemDetails` Bad Request
|
|
3431
3420
|
* @response `404` `ProblemDetails` Not Found
|
|
3432
3421
|
*/
|
|
3433
|
-
sendLoanTaskReminder: (loanId, data, params = {}) => this.request(Object.assign({ path: `/api/loans/${loanId}/tasks/reminders`, method: "POST", body: data, secure: true, type:
|
|
3422
|
+
sendLoanTaskReminder: (loanId, data, params = {}) => this.request(Object.assign({ path: `/api/loans/${loanId}/tasks/reminders`, method: "POST", body: data, secure: true, type: ContentType.Json }, params)),
|
|
3434
3423
|
/**
|
|
3435
3424
|
* @description Search tasks across all loans
|
|
3436
3425
|
*
|
|
@@ -3441,7 +3430,7 @@ export class Api extends HttpClient {
|
|
|
3441
3430
|
* @secure
|
|
3442
3431
|
* @response `200` `UserLoanTaskPaginated` OK
|
|
3443
3432
|
*/
|
|
3444
|
-
searchLoanTasks: (data, query, params = {}) => this.request(Object.assign({ path: `/api/loans/tasks/search`, method: "POST", query: query, body: data, secure: true, type:
|
|
3433
|
+
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)),
|
|
3445
3434
|
/**
|
|
3446
3435
|
* @description Returns task counts grouped by status for loans accessible to the current user based on their role
|
|
3447
3436
|
*
|
|
@@ -3453,7 +3442,7 @@ export class Api extends HttpClient {
|
|
|
3453
3442
|
* @response `200` `(LoanTaskStatusSummary)[]` OK
|
|
3454
3443
|
* @response `422` `UnprocessableEntity` Unprocessable Content
|
|
3455
3444
|
*/
|
|
3456
|
-
searchLoanTasksSummary: (data, params = {}) => this.request(Object.assign({ path: `/api/loans/tasks/search/summary`, method: "POST", body: data, secure: true, type:
|
|
3445
|
+
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)),
|
|
3457
3446
|
/**
|
|
3458
3447
|
* No description
|
|
3459
3448
|
*
|
|
@@ -3501,7 +3490,7 @@ export class Api extends HttpClient {
|
|
|
3501
3490
|
* @response `201` `UserLoanTask` Created
|
|
3502
3491
|
* @response `404` `ProblemDetails` Not Found
|
|
3503
3492
|
*/
|
|
3504
|
-
createLoanTask: (loanId, taskId, data, params = {}) => this.request(Object.assign({ path: `/api/loans/${loanId}/tasks/${taskId}`, method: "POST", body: data, secure: true, type:
|
|
3493
|
+
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)),
|
|
3505
3494
|
/**
|
|
3506
3495
|
* No description
|
|
3507
3496
|
*
|
|
@@ -3513,7 +3502,7 @@ export class Api extends HttpClient {
|
|
|
3513
3502
|
* @response `201` `(UserLoanTask)[]` Created
|
|
3514
3503
|
* @response `404` `ProblemDetails` Not Found
|
|
3515
3504
|
*/
|
|
3516
|
-
importLoanTask: (loanId, data, params = {}) => this.request(Object.assign({ path: `/api/loans/${loanId}/tasks/import`, method: "POST", body: data, secure: true, type:
|
|
3505
|
+
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)),
|
|
3517
3506
|
/**
|
|
3518
3507
|
* No description
|
|
3519
3508
|
*
|
|
@@ -3525,7 +3514,7 @@ export class Api extends HttpClient {
|
|
|
3525
3514
|
* @response `200` `UserLoanTask` OK
|
|
3526
3515
|
* @response `404` `ProblemDetails` Not Found
|
|
3527
3516
|
*/
|
|
3528
|
-
replaceLoanTask: (loanId, userLoanTaskId, data, params = {}) => this.request(Object.assign({ path: `/api/loans/${loanId}/tasks/${userLoanTaskId}`, method: "PUT", body: data, secure: true, type:
|
|
3517
|
+
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)),
|
|
3529
3518
|
/**
|
|
3530
3519
|
* No description
|
|
3531
3520
|
*
|
|
@@ -3584,7 +3573,7 @@ export class Api extends HttpClient {
|
|
|
3584
3573
|
* @secure
|
|
3585
3574
|
* @response `201` `LoanUser` Created
|
|
3586
3575
|
*/
|
|
3587
|
-
addLoanUser: (loanId, userId, data, params = {}) => this.request(Object.assign({ path: `/api/loans/${loanId}/users/${userId}`, method: "POST", body: data, secure: true, type:
|
|
3576
|
+
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)),
|
|
3588
3577
|
/**
|
|
3589
3578
|
* No description
|
|
3590
3579
|
*
|
|
@@ -3617,7 +3606,7 @@ export class Api extends HttpClient {
|
|
|
3617
3606
|
* @secure
|
|
3618
3607
|
* @response `200` `LosOperationTrackingPaginated` OK
|
|
3619
3608
|
*/
|
|
3620
|
-
searchLosOperationTracking: (data, query, params = {}) => this.request(Object.assign({ path: `/api/los-operation-tracking/search`, method: "POST", query: query, body: data, secure: true, type:
|
|
3609
|
+
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)),
|
|
3621
3610
|
/**
|
|
3622
3611
|
* No description
|
|
3623
3612
|
*
|
|
@@ -3640,7 +3629,7 @@ export class Api extends HttpClient {
|
|
|
3640
3629
|
* @response `201` `MilestoneConfiguration` Created
|
|
3641
3630
|
* @response `422` `UnprocessableEntity` Unprocessable Content
|
|
3642
3631
|
*/
|
|
3643
|
-
createMilestone: (data, params = {}) => this.request(Object.assign({ path: `/api/milestones`, method: "POST", body: data, secure: true, type:
|
|
3632
|
+
createMilestone: (data, params = {}) => this.request(Object.assign({ path: `/api/milestones`, method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
|
|
3644
3633
|
/**
|
|
3645
3634
|
* No description
|
|
3646
3635
|
*
|
|
@@ -3665,7 +3654,7 @@ export class Api extends HttpClient {
|
|
|
3665
3654
|
* @response `404` `Error` Not Found
|
|
3666
3655
|
* @response `422` `UnprocessableEntity` Unprocessable Content
|
|
3667
3656
|
*/
|
|
3668
|
-
replaceMilestone: (id, data, params = {}) => this.request(Object.assign({ path: `/api/milestones/${id}`, method: "PUT", body: data, secure: true, type:
|
|
3657
|
+
replaceMilestone: (id, data, params = {}) => this.request(Object.assign({ path: `/api/milestones/${id}`, method: "PUT", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
|
|
3669
3658
|
/**
|
|
3670
3659
|
* No description
|
|
3671
3660
|
*
|
|
@@ -3691,7 +3680,7 @@ export class Api extends HttpClient {
|
|
|
3691
3680
|
* @response `404` `ProblemDetails` Not Found
|
|
3692
3681
|
* @response `422` `ProblemDetails` Unprocessable Content
|
|
3693
3682
|
*/
|
|
3694
|
-
seedMobileAppReview: (data, params = {}) => this.request(Object.assign({ path: `/api/mobile-app-review/seed`, method: "POST", body: data, secure: true, type:
|
|
3683
|
+
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)),
|
|
3695
3684
|
/**
|
|
3696
3685
|
* No description
|
|
3697
3686
|
*
|
|
@@ -3703,7 +3692,7 @@ export class Api extends HttpClient {
|
|
|
3703
3692
|
* @response `200` `MonthlyPaymentCalculator` OK
|
|
3704
3693
|
* @response `422` `ProblemDetails` Unprocessable Content
|
|
3705
3694
|
*/
|
|
3706
|
-
calculateMortgageMonthlyPayment: (data, params = {}) => this.request(Object.assign({ path: `/api/mortgage-calculators/monthly-payment`, method: "POST", body: data, secure: true, type:
|
|
3695
|
+
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)),
|
|
3707
3696
|
/**
|
|
3708
3697
|
* No description
|
|
3709
3698
|
*
|
|
@@ -3715,7 +3704,7 @@ export class Api extends HttpClient {
|
|
|
3715
3704
|
* @response `200` `AffordabilityCalculator` OK
|
|
3716
3705
|
* @response `422` `ProblemDetails` Unprocessable Content
|
|
3717
3706
|
*/
|
|
3718
|
-
calculateMortgageAffordability: (data, params = {}) => this.request(Object.assign({ path: `/api/mortgage-calculators/affordability`, method: "POST", body: data, secure: true, type:
|
|
3707
|
+
calculateMortgageAffordability: (data, params = {}) => this.request(Object.assign({ path: `/api/mortgage-calculators/affordability`, method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
|
|
3719
3708
|
/**
|
|
3720
3709
|
* No description
|
|
3721
3710
|
*
|
|
@@ -3727,7 +3716,7 @@ export class Api extends HttpClient {
|
|
|
3727
3716
|
* @response `200` `LoanComparisonCalculator` OK
|
|
3728
3717
|
* @response `422` `ProblemDetails` Unprocessable Content
|
|
3729
3718
|
*/
|
|
3730
|
-
calculateMortgageLoanComparison: (data, params = {}) => this.request(Object.assign({ path: `/api/mortgage-calculators/loan-comparison`, method: "POST", body: data, secure: true, type:
|
|
3719
|
+
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)),
|
|
3731
3720
|
/**
|
|
3732
3721
|
* No description
|
|
3733
3722
|
*
|
|
@@ -3739,7 +3728,7 @@ export class Api extends HttpClient {
|
|
|
3739
3728
|
* @response `200` `RefinanceCalculator` OK
|
|
3740
3729
|
* @response `422` `ProblemDetails` Unprocessable Content
|
|
3741
3730
|
*/
|
|
3742
|
-
calculateMortgageRefinance: (data, params = {}) => this.request(Object.assign({ path: `/api/mortgage-calculators/refinance`, method: "POST", body: data, secure: true, type:
|
|
3731
|
+
calculateMortgageRefinance: (data, params = {}) => this.request(Object.assign({ path: `/api/mortgage-calculators/refinance`, method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
|
|
3743
3732
|
/**
|
|
3744
3733
|
* No description
|
|
3745
3734
|
*
|
|
@@ -3762,7 +3751,7 @@ export class Api extends HttpClient {
|
|
|
3762
3751
|
* @response `201` `NotificationTemplate` Created
|
|
3763
3752
|
* @response `422` `UnprocessableEntity` Unprocessable Content
|
|
3764
3753
|
*/
|
|
3765
|
-
createNotificationTemplate: (data, params = {}) => this.request(Object.assign({ path: `/api/notification-templates`, method: "POST", body: data, secure: true, type:
|
|
3754
|
+
createNotificationTemplate: (data, params = {}) => this.request(Object.assign({ path: `/api/notification-templates`, method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
|
|
3766
3755
|
/**
|
|
3767
3756
|
* No description
|
|
3768
3757
|
*
|
|
@@ -3773,7 +3762,7 @@ export class Api extends HttpClient {
|
|
|
3773
3762
|
* @secure
|
|
3774
3763
|
* @response `200` `NotificationTemplateBasePaginated` OK
|
|
3775
3764
|
*/
|
|
3776
|
-
searchNotificationTemplates: (data, query, params = {}) => this.request(Object.assign({ path: `/api/notification-templates/search`, method: "POST", query: query, body: data, secure: true, type:
|
|
3765
|
+
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)),
|
|
3777
3766
|
/**
|
|
3778
3767
|
* No description
|
|
3779
3768
|
*
|
|
@@ -3796,7 +3785,7 @@ export class Api extends HttpClient {
|
|
|
3796
3785
|
* @response `200` `NotificationTemplate` OK
|
|
3797
3786
|
* @response `422` `UnprocessableEntity` Unprocessable Content
|
|
3798
3787
|
*/
|
|
3799
|
-
replaceNotificationTemplate: (id, data, params = {}) => this.request(Object.assign({ path: `/api/notification-templates/${id}`, method: "PUT", body: data, secure: true, type:
|
|
3788
|
+
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)),
|
|
3800
3789
|
/**
|
|
3801
3790
|
* No description
|
|
3802
3791
|
*
|
|
@@ -3840,7 +3829,7 @@ export class Api extends HttpClient {
|
|
|
3840
3829
|
* @secure
|
|
3841
3830
|
* @response `200` `NotificationTemplateVersion` OK
|
|
3842
3831
|
*/
|
|
3843
|
-
createNotificationTemplateVersion: (notificationId, data, params = {}) => this.request(Object.assign({ path: `/api/notification-templates/${notificationId}/versions`, method: "POST", body: data, secure: true, type:
|
|
3832
|
+
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)),
|
|
3844
3833
|
/**
|
|
3845
3834
|
* No description
|
|
3846
3835
|
*
|
|
@@ -3862,7 +3851,7 @@ export class Api extends HttpClient {
|
|
|
3862
3851
|
* @secure
|
|
3863
3852
|
* @response `200` `NotificationTemplateVersion` OK
|
|
3864
3853
|
*/
|
|
3865
|
-
replaceNotificationTemplateVersion: (notificationId, id, data, params = {}) => this.request(Object.assign({ path: `/api/notification-templates/${notificationId}/versions/${id}`, method: "PUT", body: data, secure: true, type:
|
|
3854
|
+
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)),
|
|
3866
3855
|
/**
|
|
3867
3856
|
* No description
|
|
3868
3857
|
*
|
|
@@ -3895,7 +3884,7 @@ export class Api extends HttpClient {
|
|
|
3895
3884
|
* @secure
|
|
3896
3885
|
* @response `200` `BranchUserPaginated` OK
|
|
3897
3886
|
*/
|
|
3898
|
-
searchPartners: (data, query, params = {}) => this.request(Object.assign({ path: `/api/partners/search`, method: "POST", query: query, body: data, secure: true, type:
|
|
3887
|
+
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)),
|
|
3899
3888
|
/**
|
|
3900
3889
|
* No description
|
|
3901
3890
|
*
|
|
@@ -3918,7 +3907,7 @@ export class Api extends HttpClient {
|
|
|
3918
3907
|
* @response `200` `SiteConfiguration` OK
|
|
3919
3908
|
* @response `422` `UnprocessableEntity` Unprocessable Content
|
|
3920
3909
|
*/
|
|
3921
|
-
createPartnerSiteConfiguration: (realtorId, data, params = {}) => this.request(Object.assign({ path: `/api/partners/${realtorId}/site-configurations`, method: "POST", body: data, secure: true, type:
|
|
3910
|
+
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)),
|
|
3922
3911
|
/**
|
|
3923
3912
|
* No description
|
|
3924
3913
|
*
|
|
@@ -3941,7 +3930,7 @@ export class Api extends HttpClient {
|
|
|
3941
3930
|
* @response `200` `SiteConfiguration` OK
|
|
3942
3931
|
* @response `422` `UnprocessableEntity` Unprocessable Content
|
|
3943
3932
|
*/
|
|
3944
|
-
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:
|
|
3933
|
+
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)),
|
|
3945
3934
|
/**
|
|
3946
3935
|
* No description
|
|
3947
3936
|
*
|
|
@@ -3965,7 +3954,7 @@ export class Api extends HttpClient {
|
|
|
3965
3954
|
* @response `200` `SiteConfigurationByUrl` OK
|
|
3966
3955
|
* @response `422` `UnprocessableEntity` Unprocessable Content
|
|
3967
3956
|
*/
|
|
3968
|
-
searchSiteConfigurationByUrl: (data, params = {}) => this.request(Object.assign({ path: `/api/site-configurations/url`, method: "POST", body: data, secure: true, type:
|
|
3957
|
+
searchSiteConfigurationByUrl: (data, params = {}) => this.request(Object.assign({ path: `/api/site-configurations/url`, method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
|
|
3969
3958
|
/**
|
|
3970
3959
|
* No description
|
|
3971
3960
|
*
|
|
@@ -3990,7 +3979,7 @@ export class Api extends HttpClient {
|
|
|
3990
3979
|
* @response `200` `SiteConfiguration` OK
|
|
3991
3980
|
* @response `422` `UnprocessableEntity` Unprocessable Content
|
|
3992
3981
|
*/
|
|
3993
|
-
searchSiteConfigurationByLoanOfficerUser: (data, params = {}) => this.request(Object.assign({ path: `/api/site-configurations/louser`, method: "POST", body: data, secure: true, type:
|
|
3982
|
+
searchSiteConfigurationByLoanOfficerUser: (data, params = {}) => this.request(Object.assign({ path: `/api/site-configurations/louser`, method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
|
|
3994
3983
|
/**
|
|
3995
3984
|
* No description
|
|
3996
3985
|
*
|
|
@@ -4014,7 +4003,7 @@ export class Api extends HttpClient {
|
|
|
4014
4003
|
* @response `200` `SiteConfigurationSummaryPaginated` OK
|
|
4015
4004
|
* @response `422` `UnprocessableEntity` Unprocessable Content
|
|
4016
4005
|
*/
|
|
4017
|
-
searchSiteConfigurations: (data, query, params = {}) => this.request(Object.assign({ path: `/api/site-configurations/search`, method: "POST", query: query, body: data, secure: true, type:
|
|
4006
|
+
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)),
|
|
4018
4007
|
/**
|
|
4019
4008
|
* No description
|
|
4020
4009
|
*
|
|
@@ -4106,7 +4095,7 @@ export class Api extends HttpClient {
|
|
|
4106
4095
|
* @secure
|
|
4107
4096
|
* @response `200` `GetForm` OK
|
|
4108
4097
|
*/
|
|
4109
|
-
getFormBySiteConfigurationSlug: (data, params = {}) => this.request(Object.assign({ path: `/api/site-forms`, method: "POST", body: data, secure: true, type:
|
|
4098
|
+
getFormBySiteConfigurationSlug: (data, params = {}) => this.request(Object.assign({ path: `/api/site-forms`, method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
|
|
4110
4099
|
/**
|
|
4111
4100
|
* No description
|
|
4112
4101
|
*
|
|
@@ -4129,7 +4118,7 @@ export class Api extends HttpClient {
|
|
|
4129
4118
|
* @response `200` `(SocialSurveyRecord)[]` OK
|
|
4130
4119
|
* @response `422` `UnprocessableEntity` Unprocessable Content
|
|
4131
4120
|
*/
|
|
4132
|
-
getSurveysByUser: (data, params = {}) => this.request(Object.assign({ path: `/api/surveys`, method: "POST", body: data, secure: true, type:
|
|
4121
|
+
getSurveysByUser: (data, params = {}) => this.request(Object.assign({ path: `/api/surveys`, method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
|
|
4133
4122
|
/**
|
|
4134
4123
|
* No description
|
|
4135
4124
|
*
|
|
@@ -4152,7 +4141,7 @@ export class Api extends HttpClient {
|
|
|
4152
4141
|
* @secure
|
|
4153
4142
|
* @response `201` `Task` Created
|
|
4154
4143
|
*/
|
|
4155
|
-
createTask: (data, params = {}) => this.request(Object.assign({ path: `/api/tasks`, method: "POST", body: data, secure: true, type:
|
|
4144
|
+
createTask: (data, params = {}) => this.request(Object.assign({ path: `/api/tasks`, method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
|
|
4156
4145
|
/**
|
|
4157
4146
|
* No description
|
|
4158
4147
|
*
|
|
@@ -4176,7 +4165,7 @@ export class Api extends HttpClient {
|
|
|
4176
4165
|
* @response `200` `Task` OK
|
|
4177
4166
|
* @response `404` `ProblemDetails` Not Found
|
|
4178
4167
|
*/
|
|
4179
|
-
replaceTask: (id, data, params = {}) => this.request(Object.assign({ path: `/api/tasks/${id}`, method: "PUT", body: data, secure: true, type:
|
|
4168
|
+
replaceTask: (id, data, params = {}) => this.request(Object.assign({ path: `/api/tasks/${id}`, method: "PUT", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
|
|
4180
4169
|
/**
|
|
4181
4170
|
* No description
|
|
4182
4171
|
*
|
|
@@ -4199,7 +4188,7 @@ export class Api extends HttpClient {
|
|
|
4199
4188
|
* @secure
|
|
4200
4189
|
* @response `200` `TaskPaginated` OK
|
|
4201
4190
|
*/
|
|
4202
|
-
searchTasks: (data, query, params = {}) => this.request(Object.assign({ path: `/api/tasks/search`, method: "POST", query: query, body: data, secure: true, type:
|
|
4191
|
+
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)),
|
|
4203
4192
|
/**
|
|
4204
4193
|
* No description
|
|
4205
4194
|
*
|
|
@@ -4209,7 +4198,7 @@ export class Api extends HttpClient {
|
|
|
4209
4198
|
* @secure
|
|
4210
4199
|
* @response `200` `void` OK
|
|
4211
4200
|
*/
|
|
4212
|
-
integrationsLosLoansCreate: (data, params = {}) => this.request(Object.assign({ path: `/api/integrations/los/loans`, method: "POST", body: data, secure: true, type:
|
|
4201
|
+
integrationsLosLoansCreate: (data, params = {}) => this.request(Object.assign({ path: `/api/integrations/los/loans`, method: "POST", body: data, secure: true, type: ContentType.Json }, params)),
|
|
4213
4202
|
/**
|
|
4214
4203
|
* No description
|
|
4215
4204
|
*
|
|
@@ -4220,7 +4209,7 @@ export class Api extends HttpClient {
|
|
|
4220
4209
|
* @secure
|
|
4221
4210
|
* @response `200` `EncompassRequestLogPaginated` OK
|
|
4222
4211
|
*/
|
|
4223
|
-
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:
|
|
4212
|
+
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)),
|
|
4224
4213
|
/**
|
|
4225
4214
|
* No description
|
|
4226
4215
|
*
|
|
@@ -4243,7 +4232,7 @@ export class Api extends HttpClient {
|
|
|
4243
4232
|
* @secure
|
|
4244
4233
|
* @response `201` `LosCredentials` Created
|
|
4245
4234
|
*/
|
|
4246
|
-
createEncompassCredentials: (data, params = {}) => this.request(Object.assign({ path: `/api/los/encompass/credentials`, method: "POST", body: data, secure: true, type:
|
|
4235
|
+
createEncompassCredentials: (data, params = {}) => this.request(Object.assign({ path: `/api/los/encompass/credentials`, method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
|
|
4247
4236
|
/**
|
|
4248
4237
|
* No description
|
|
4249
4238
|
*
|
|
@@ -4254,7 +4243,7 @@ export class Api extends HttpClient {
|
|
|
4254
4243
|
* @secure
|
|
4255
4244
|
* @response `200` `EncompassCredentialsDetail` OK
|
|
4256
4245
|
*/
|
|
4257
|
-
updateEncompassCredentials: (data, params = {}) => this.request(Object.assign({ path: `/api/los/encompass/credentials`, method: "PUT", body: data, secure: true, type:
|
|
4246
|
+
updateEncompassCredentials: (data, params = {}) => this.request(Object.assign({ path: `/api/los/encompass/credentials`, method: "PUT", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
|
|
4258
4247
|
/**
|
|
4259
4248
|
* No description
|
|
4260
4249
|
*
|
|
@@ -4276,7 +4265,7 @@ export class Api extends HttpClient {
|
|
|
4276
4265
|
* @secure
|
|
4277
4266
|
* @response `201` `LosWebhook` Created
|
|
4278
4267
|
*/
|
|
4279
|
-
createEncompassWebhook: (data, params = {}) => this.request(Object.assign({ path: `/api/los/encompass/webhooks`, method: "POST", body: data, secure: true, type:
|
|
4268
|
+
createEncompassWebhook: (data, params = {}) => this.request(Object.assign({ path: `/api/los/encompass/webhooks`, method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
|
|
4280
4269
|
/**
|
|
4281
4270
|
* No description
|
|
4282
4271
|
*
|
|
@@ -4298,7 +4287,7 @@ export class Api extends HttpClient {
|
|
|
4298
4287
|
* @secure
|
|
4299
4288
|
* @response `200` `LosSyncPaginated` OK
|
|
4300
4289
|
*/
|
|
4301
|
-
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:
|
|
4290
|
+
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)),
|
|
4302
4291
|
/**
|
|
4303
4292
|
* No description
|
|
4304
4293
|
*
|
|
@@ -4381,7 +4370,7 @@ export class Api extends HttpClient {
|
|
|
4381
4370
|
* @response `201` `UserDevice` Created
|
|
4382
4371
|
* @response `400` `ProblemDetails` Bad Request
|
|
4383
4372
|
*/
|
|
4384
|
-
createUserDevice: (data, params = {}) => this.request(Object.assign({ path: `/api/userdevices`, method: "POST", body: data, secure: true, type:
|
|
4373
|
+
createUserDevice: (data, params = {}) => this.request(Object.assign({ path: `/api/userdevices`, method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
|
|
4385
4374
|
/**
|
|
4386
4375
|
* No description
|
|
4387
4376
|
*
|
|
@@ -4426,7 +4415,7 @@ export class Api extends HttpClient {
|
|
|
4426
4415
|
* @secure
|
|
4427
4416
|
* @response `200` `UserDraft` OK
|
|
4428
4417
|
*/
|
|
4429
|
-
addDraftUsers: (draftId, userId, data, params = {}) => this.request(Object.assign({ path: `/api/loans/drafts/${draftId}/users/${userId}`, method: "POST", body: data, secure: true, type:
|
|
4418
|
+
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)),
|
|
4430
4419
|
/**
|
|
4431
4420
|
* No description
|
|
4432
4421
|
*
|
|
@@ -4459,7 +4448,7 @@ export class Api extends HttpClient {
|
|
|
4459
4448
|
* @secure
|
|
4460
4449
|
* @response `200` `UserGroupAccessScope` OK
|
|
4461
4450
|
*/
|
|
4462
|
-
createUserGroupAccessScope: (groupId, data, params = {}) => this.request(Object.assign({ path: `/api/user-groups/${groupId}/scopes`, method: "POST", body: data, secure: true, type:
|
|
4451
|
+
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)),
|
|
4463
4452
|
/**
|
|
4464
4453
|
* No description
|
|
4465
4454
|
*
|
|
@@ -4492,7 +4481,7 @@ export class Api extends HttpClient {
|
|
|
4492
4481
|
* @secure
|
|
4493
4482
|
* @response `200` `UserGroupMember` OK
|
|
4494
4483
|
*/
|
|
4495
|
-
createUserGroupMember: (groupId, data, query, params = {}) => this.request(Object.assign({ path: `/api/user-groups/${groupId}/members`, method: "POST", query: query, body: data, secure: true, type:
|
|
4484
|
+
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)),
|
|
4496
4485
|
/**
|
|
4497
4486
|
* No description
|
|
4498
4487
|
*
|
|
@@ -4536,7 +4525,7 @@ export class Api extends HttpClient {
|
|
|
4536
4525
|
* @secure
|
|
4537
4526
|
* @response `200` `UserGroup` OK
|
|
4538
4527
|
*/
|
|
4539
|
-
updateUserGroup: (groupId, data, params = {}) => this.request(Object.assign({ path: `/api/user-groups/${groupId}`, method: "PUT", body: data, secure: true, type:
|
|
4528
|
+
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)),
|
|
4540
4529
|
/**
|
|
4541
4530
|
* No description
|
|
4542
4531
|
*
|
|
@@ -4558,7 +4547,7 @@ export class Api extends HttpClient {
|
|
|
4558
4547
|
* @secure
|
|
4559
4548
|
* @response `201` `UserGroup` Created
|
|
4560
4549
|
*/
|
|
4561
|
-
createUserGroup: (data, params = {}) => this.request(Object.assign({ path: `/api/user-groups`, method: "POST", body: data, secure: true, type:
|
|
4550
|
+
createUserGroup: (data, params = {}) => this.request(Object.assign({ path: `/api/user-groups`, method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
|
|
4562
4551
|
/**
|
|
4563
4552
|
* No description
|
|
4564
4553
|
*
|
|
@@ -4571,7 +4560,7 @@ export class Api extends HttpClient {
|
|
|
4571
4560
|
* @response `404` `Error` Not Found
|
|
4572
4561
|
* @response `422` `UnprocessableEntity` Unprocessable Content
|
|
4573
4562
|
*/
|
|
4574
|
-
requestImpersonation: (data, params = {}) => this.request(Object.assign({ path: `/api/users/impersonation/request`, method: "POST", body: data, secure: true, type:
|
|
4563
|
+
requestImpersonation: (data, params = {}) => this.request(Object.assign({ path: `/api/users/impersonation/request`, method: "POST", body: data, secure: true, type: ContentType.Json }, params)),
|
|
4575
4564
|
/**
|
|
4576
4565
|
* No description
|
|
4577
4566
|
*
|
|
@@ -4584,7 +4573,7 @@ export class Api extends HttpClient {
|
|
|
4584
4573
|
* @response `404` `Error` Not Found
|
|
4585
4574
|
* @response `422` `UnprocessableEntity` Unprocessable Content
|
|
4586
4575
|
*/
|
|
4587
|
-
allowImpersonation: (data, params = {}) => this.request(Object.assign({ path: `/api/users/impersonation/allow`, method: "POST", body: data, secure: true, type:
|
|
4576
|
+
allowImpersonation: (data, params = {}) => this.request(Object.assign({ path: `/api/users/impersonation/allow`, method: "POST", body: data, secure: true, type: ContentType.Json }, params)),
|
|
4588
4577
|
/**
|
|
4589
4578
|
* No description
|
|
4590
4579
|
*
|
|
@@ -4634,7 +4623,7 @@ export class Api extends HttpClient {
|
|
|
4634
4623
|
* @response `404` `Error` Not Found
|
|
4635
4624
|
* @response `422` `UnprocessableEntity` Unprocessable Content
|
|
4636
4625
|
*/
|
|
4637
|
-
forceImpersonation: (data, params = {}) => this.request(Object.assign({ path: `/api/users/impersonation/force`, method: "POST", body: data, secure: true, type:
|
|
4626
|
+
forceImpersonation: (data, params = {}) => this.request(Object.assign({ path: `/api/users/impersonation/force`, method: "POST", body: data, secure: true, type: ContentType.Json }, params)),
|
|
4638
4627
|
/**
|
|
4639
4628
|
* No description
|
|
4640
4629
|
*
|
|
@@ -4658,7 +4647,7 @@ export class Api extends HttpClient {
|
|
|
4658
4647
|
* @response `204` `void` No Content
|
|
4659
4648
|
* @response `422` `UnprocessableEntity` Unprocessable Content
|
|
4660
4649
|
*/
|
|
4661
|
-
inviteUser: (data, params = {}) => this.request(Object.assign({ path: `/api/users/invites`, method: "POST", body: data, secure: true, type:
|
|
4650
|
+
inviteUser: (data, params = {}) => this.request(Object.assign({ path: `/api/users/invites`, method: "POST", body: data, secure: true, type: ContentType.Json }, params)),
|
|
4662
4651
|
/**
|
|
4663
4652
|
* No description
|
|
4664
4653
|
*
|
|
@@ -4705,7 +4694,7 @@ export class Api extends HttpClient {
|
|
|
4705
4694
|
* @secure
|
|
4706
4695
|
* @response `204` `void` No Content
|
|
4707
4696
|
*/
|
|
4708
|
-
createUserRelation: (userId, data, params = {}) => this.request(Object.assign({ path: `/api/users/${userId}/relations`, method: "POST", body: data, secure: true, type:
|
|
4697
|
+
createUserRelation: (userId, data, params = {}) => this.request(Object.assign({ path: `/api/users/${userId}/relations`, method: "POST", body: data, secure: true, type: ContentType.Json }, params)),
|
|
4709
4698
|
/**
|
|
4710
4699
|
* No description
|
|
4711
4700
|
*
|
|
@@ -4750,7 +4739,7 @@ export class Api extends HttpClient {
|
|
|
4750
4739
|
* @response `200` `DetailedUser` OK
|
|
4751
4740
|
* @response `422` `UnprocessableEntity` Unprocessable Content
|
|
4752
4741
|
*/
|
|
4753
|
-
createUser: (data, params = {}) => this.request(Object.assign({ path: `/api/users`, method: "POST", body: data, secure: true, type:
|
|
4742
|
+
createUser: (data, params = {}) => this.request(Object.assign({ path: `/api/users`, method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
|
|
4754
4743
|
/**
|
|
4755
4744
|
* No description
|
|
4756
4745
|
*
|
|
@@ -4761,7 +4750,7 @@ export class Api extends HttpClient {
|
|
|
4761
4750
|
* @secure
|
|
4762
4751
|
* @response `200` `UserPaginated` OK
|
|
4763
4752
|
*/
|
|
4764
|
-
searchUsers: (data, query, params = {}) => this.request(Object.assign({ path: `/api/users/search`, method: "POST", query: query, body: data, secure: true, type:
|
|
4753
|
+
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)),
|
|
4765
4754
|
/**
|
|
4766
4755
|
* No description
|
|
4767
4756
|
*
|
|
@@ -4772,7 +4761,7 @@ export class Api extends HttpClient {
|
|
|
4772
4761
|
* @secure
|
|
4773
4762
|
* @response `200` `AdminAccessUser` OK
|
|
4774
4763
|
*/
|
|
4775
|
-
getUserByEmail: (data, params = {}) => this.request(Object.assign({ path: `/api/users/byemail`, method: "POST", body: data, secure: true, type:
|
|
4764
|
+
getUserByEmail: (data, params = {}) => this.request(Object.assign({ path: `/api/users/byemail`, method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
|
|
4776
4765
|
/**
|
|
4777
4766
|
* No description
|
|
4778
4767
|
*
|
|
@@ -4784,7 +4773,7 @@ export class Api extends HttpClient {
|
|
|
4784
4773
|
* @response `200` `User` OK
|
|
4785
4774
|
* @response `422` `UnprocessableEntity` Unprocessable Content
|
|
4786
4775
|
*/
|
|
4787
|
-
signUp: (data, params = {}) => this.request(Object.assign({ path: `/api/users/register`, method: "POST", body: data, secure: true, type:
|
|
4776
|
+
signUp: (data, params = {}) => this.request(Object.assign({ path: `/api/users/register`, method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
|
|
4788
4777
|
/**
|
|
4789
4778
|
* No description
|
|
4790
4779
|
*
|
|
@@ -4796,7 +4785,7 @@ export class Api extends HttpClient {
|
|
|
4796
4785
|
* @response `200` `DetailedUser` OK
|
|
4797
4786
|
* @response `422` `UnprocessableEntity` Unprocessable Content
|
|
4798
4787
|
*/
|
|
4799
|
-
replaceUser: (id, data, params = {}) => this.request(Object.assign({ path: `/api/users/${id}`, method: "PUT", body: data, secure: true, type:
|
|
4788
|
+
replaceUser: (id, data, params = {}) => this.request(Object.assign({ path: `/api/users/${id}`, method: "PUT", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
|
|
4800
4789
|
/**
|
|
4801
4790
|
* No description
|
|
4802
4791
|
*
|
|
@@ -4830,7 +4819,7 @@ export class Api extends HttpClient {
|
|
|
4830
4819
|
* @response `204` `void` No Content
|
|
4831
4820
|
* @response `422` `UnprocessableEntity` Unprocessable Content
|
|
4832
4821
|
*/
|
|
4833
|
-
changePassword: (data, params = {}) => this.request(Object.assign({ path: `/api/users/change-password`, method: "POST", body: data, secure: true, type:
|
|
4822
|
+
changePassword: (data, params = {}) => this.request(Object.assign({ path: `/api/users/change-password`, method: "POST", body: data, secure: true, type: ContentType.Json }, params)),
|
|
4834
4823
|
/**
|
|
4835
4824
|
* No description
|
|
4836
4825
|
*
|
|
@@ -4842,7 +4831,7 @@ export class Api extends HttpClient {
|
|
|
4842
4831
|
* @response `204` `void` No Content
|
|
4843
4832
|
* @response `422` `UnprocessableEntity` Unprocessable Content
|
|
4844
4833
|
*/
|
|
4845
|
-
verifyPassword: (data, params = {}) => this.request(Object.assign({ path: `/api/users/verify-password`, method: "POST", body: data, secure: true, type:
|
|
4834
|
+
verifyPassword: (data, params = {}) => this.request(Object.assign({ path: `/api/users/verify-password`, method: "POST", body: data, secure: true, type: ContentType.Json }, params)),
|
|
4846
4835
|
/**
|
|
4847
4836
|
* No description
|
|
4848
4837
|
*
|
|
@@ -4854,7 +4843,7 @@ export class Api extends HttpClient {
|
|
|
4854
4843
|
* @response `204` `void` No Content
|
|
4855
4844
|
* @response `422` `UnprocessableEntity` Unprocessable Content
|
|
4856
4845
|
*/
|
|
4857
|
-
overridePassword: (id, data, params = {}) => this.request(Object.assign({ path: `/api/users/${id}/override-password`, method: "POST", body: data, secure: true, type:
|
|
4846
|
+
overridePassword: (id, data, params = {}) => this.request(Object.assign({ path: `/api/users/${id}/override-password`, method: "POST", body: data, secure: true, type: ContentType.Json }, params)),
|
|
4858
4847
|
/**
|
|
4859
4848
|
* No description
|
|
4860
4849
|
*
|
|
@@ -4866,7 +4855,7 @@ export class Api extends HttpClient {
|
|
|
4866
4855
|
* @response `204` `void` No Content
|
|
4867
4856
|
* @response `422` `UnprocessableEntity` Unprocessable Content
|
|
4868
4857
|
*/
|
|
4869
|
-
forgotPassword: (data, params = {}) => this.request(Object.assign({ path: `/api/users/forgot-password`, method: "POST", body: data, secure: true, type:
|
|
4858
|
+
forgotPassword: (data, params = {}) => this.request(Object.assign({ path: `/api/users/forgot-password`, method: "POST", body: data, secure: true, type: ContentType.Json }, params)),
|
|
4870
4859
|
/**
|
|
4871
4860
|
* No description
|
|
4872
4861
|
*
|
|
@@ -4890,7 +4879,7 @@ export class Api extends HttpClient {
|
|
|
4890
4879
|
* @response `204` `void` No Content
|
|
4891
4880
|
* @response `422` `UnprocessableEntity` Unprocessable Content
|
|
4892
4881
|
*/
|
|
4893
|
-
verifyUserMobilePhone: (data, params = {}) => this.request(Object.assign({ path: `/api/users/mobile-phone/verify-code`, method: "PUT", body: data, secure: true, type:
|
|
4882
|
+
verifyUserMobilePhone: (data, params = {}) => this.request(Object.assign({ path: `/api/users/mobile-phone/verify-code`, method: "PUT", body: data, secure: true, type: ContentType.Json }, params)),
|
|
4894
4883
|
/**
|
|
4895
4884
|
* No description
|
|
4896
4885
|
*
|
|
@@ -4913,7 +4902,7 @@ export class Api extends HttpClient {
|
|
|
4913
4902
|
* @secure
|
|
4914
4903
|
* @response `200` `DetailedUser` OK
|
|
4915
4904
|
*/
|
|
4916
|
-
replaceMe: (data, params = {}) => this.request(Object.assign({ path: `/api/users/me`, method: "PUT", body: data, secure: true, type:
|
|
4905
|
+
replaceMe: (data, params = {}) => this.request(Object.assign({ path: `/api/users/me`, method: "PUT", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
|
|
4917
4906
|
/**
|
|
4918
4907
|
* @description Update the phone number If changed will send a verification code to the new number
|
|
4919
4908
|
*
|
|
@@ -4924,7 +4913,7 @@ export class Api extends HttpClient {
|
|
|
4924
4913
|
* @secure
|
|
4925
4914
|
* @response `204` `DetailedUser` No Content
|
|
4926
4915
|
*/
|
|
4927
|
-
updateMyPhone: (data, params = {}) => this.request(Object.assign({ path: `/api/users/me/phone-number`, method: "PUT", body: data, secure: true, type:
|
|
4916
|
+
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)),
|
|
4928
4917
|
/**
|
|
4929
4918
|
* No description
|
|
4930
4919
|
*
|
|
@@ -4968,7 +4957,7 @@ export class Api extends HttpClient {
|
|
|
4968
4957
|
* @secure
|
|
4969
4958
|
* @response `204` `void` No Content
|
|
4970
4959
|
*/
|
|
4971
|
-
deleteMe: (data, params = {}) => this.request(Object.assign({ path: `/api/users/me/delete`, method: "POST", body: data, secure: true, type:
|
|
4960
|
+
deleteMe: (data, params = {}) => this.request(Object.assign({ path: `/api/users/me/delete`, method: "POST", body: data, secure: true, type: ContentType.Json }, params)),
|
|
4972
4961
|
/**
|
|
4973
4962
|
* No description
|
|
4974
4963
|
*
|
|
@@ -4979,7 +4968,7 @@ export class Api extends HttpClient {
|
|
|
4979
4968
|
* @secure
|
|
4980
4969
|
* @response `200` `GetForm` OK
|
|
4981
4970
|
*/
|
|
4982
|
-
getWorkflow: (data, params = {}) => this.request(Object.assign({ path: `/api/workflow`, method: "POST", body: data, secure: true, type:
|
|
4971
|
+
getWorkflow: (data, params = {}) => this.request(Object.assign({ path: `/api/workflow`, method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
|
|
4983
4972
|
};
|
|
4984
4973
|
this.sso = {
|
|
4985
4974
|
/**
|