@matech/thebigpos-sdk 2.45.1-rc1 → 2.45.1-rc11
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.husky/pre-commit +2 -2
- package/LICENSE +21 -21
- package/dist/index.d.ts +427 -527
- package/dist/index.js +352 -388
- package/dist/index.js.map +1 -1
- package/package.json +4 -3
- package/src/index.ts +1222 -1594
- package/tsconfig.json +27 -27
package/dist/index.js
CHANGED
|
@@ -30,6 +30,15 @@ var __rest = (this && this.__rest) || function (s, e) {
|
|
|
30
30
|
return t;
|
|
31
31
|
};
|
|
32
32
|
import axios from "axios";
|
|
33
|
+
export var ContentType;
|
|
34
|
+
(function (ContentType) {
|
|
35
|
+
ContentType["JsonPatch"] = "application/json-patch+json";
|
|
36
|
+
ContentType["Json"] = "application/json";
|
|
37
|
+
ContentType["JsonApi"] = "application/vnd.api+json";
|
|
38
|
+
ContentType["FormData"] = "multipart/form-data";
|
|
39
|
+
ContentType["UrlEncoded"] = "application/x-www-form-urlencoded";
|
|
40
|
+
ContentType["Text"] = "text/plain";
|
|
41
|
+
})(ContentType || (ContentType = {}));
|
|
33
42
|
export class HttpClient {
|
|
34
43
|
constructor(_a = {}) {
|
|
35
44
|
var { securityWorker, secure, format } = _a, axiosConfig = __rest(_a, ["securityWorker", "secure", "format"]);
|
|
@@ -45,13 +54,13 @@ export class HttpClient {
|
|
|
45
54
|
{};
|
|
46
55
|
const requestParams = this.mergeRequestParams(params, secureParams);
|
|
47
56
|
const responseFormat = format || this.format || undefined;
|
|
48
|
-
if (type ===
|
|
57
|
+
if (type === ContentType.FormData &&
|
|
49
58
|
body &&
|
|
50
59
|
body !== null &&
|
|
51
60
|
typeof body === "object") {
|
|
52
61
|
body = this.createFormData(body);
|
|
53
62
|
}
|
|
54
|
-
if (type ===
|
|
63
|
+
if (type === ContentType.Text &&
|
|
55
64
|
body &&
|
|
56
65
|
body !== null &&
|
|
57
66
|
typeof body !== "string") {
|
|
@@ -95,7 +104,7 @@ export class HttpClient {
|
|
|
95
104
|
}
|
|
96
105
|
/**
|
|
97
106
|
* @title The Big POS API
|
|
98
|
-
* @version v2.45.
|
|
107
|
+
* @version v2.45.1
|
|
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
|
|
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
|
|
288
296
|
* @secure
|
|
289
|
-
* @response `
|
|
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
|
|
310
|
-
* @secure
|
|
311
|
-
* @response `200` `AiConversationAuditSummaryPaginated` OK
|
|
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,289 +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)),
|
|
790
|
+
getAiAvailablePrompts: (query, params = {}) => this.request(Object.assign({ path: `/api/ai/prompts/available`, method: "GET", query: query, secure: true, format: "json" }, params)),
|
|
793
791
|
/**
|
|
794
792
|
* No description
|
|
795
793
|
*
|
|
796
794
|
* @tags AiTokenUsageAdmin
|
|
797
795
|
* @name SearchAiAccountTokenUsage
|
|
798
796
|
* @summary Search accounts by current-month AI token usage and classification
|
|
799
|
-
* @request POST:/api/ai/
|
|
797
|
+
* @request POST:/api/ai/token-usage/search
|
|
800
798
|
* @secure
|
|
801
799
|
* @response `200` `AiAccountUsageOverviewPaginated` OK
|
|
802
800
|
*/
|
|
803
|
-
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)),
|
|
804
802
|
/**
|
|
805
803
|
* No description
|
|
806
804
|
*
|
|
807
805
|
* @tags AiTokenUsageAdmin
|
|
808
806
|
* @name GetAiAccountTokenUsage
|
|
809
807
|
* @summary Get an account's current-month AI token usage
|
|
810
|
-
* @request GET:/api/ai/
|
|
808
|
+
* @request GET:/api/ai/token-usage/{accountId}
|
|
811
809
|
* @secure
|
|
812
810
|
* @response `200` `AiTokenBudgetStatus` OK
|
|
813
811
|
*/
|
|
814
|
-
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)),
|
|
815
813
|
/**
|
|
816
814
|
* No description
|
|
817
815
|
*
|
|
818
816
|
* @tags AiTokenUsageAdmin
|
|
819
817
|
* @name GetAiAccountTokenUsageHistory
|
|
820
818
|
* @summary Get an account's monthly AI token usage history
|
|
821
|
-
* @request GET:/api/ai/
|
|
819
|
+
* @request GET:/api/ai/token-usage/{accountId}/history
|
|
822
820
|
* @secure
|
|
823
821
|
* @response `200` `AiTokenUsageWindowPaginated` OK
|
|
824
822
|
*/
|
|
825
|
-
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)),
|
|
826
824
|
/**
|
|
827
825
|
* No description
|
|
828
826
|
*
|
|
829
827
|
* @tags AiTokenUsageAdmin
|
|
830
828
|
* @name SetAiAccountTokenLimit
|
|
831
829
|
* @summary Set or raise an account's monthly AI token limit
|
|
832
|
-
* @request PUT:/api/ai/
|
|
830
|
+
* @request PUT:/api/ai/token-usage/{accountId}/limit
|
|
833
831
|
* @secure
|
|
834
832
|
* @response `200` `AiTokenBudgetStatus` OK
|
|
835
833
|
* @response `400` `ProblemDetails` Bad Request
|
|
836
834
|
*/
|
|
837
|
-
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)),
|
|
838
836
|
/**
|
|
839
837
|
* No description
|
|
840
838
|
*
|
|
841
839
|
* @tags AiUrlSource
|
|
842
840
|
* @name GetAiUrlSources
|
|
843
841
|
* @summary Get all URL sources
|
|
844
|
-
* @request GET:/api/ai/
|
|
842
|
+
* @request GET:/api/ai/url-sources
|
|
845
843
|
* @secure
|
|
846
844
|
* @response `200` `(AiUrlSource)[]` OK
|
|
847
845
|
*/
|
|
848
|
-
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)),
|
|
849
847
|
/**
|
|
850
848
|
* No description
|
|
851
849
|
*
|
|
852
850
|
* @tags AiUrlSource
|
|
853
851
|
* @name CreateAiUrlSource
|
|
854
852
|
* @summary Create URL source
|
|
855
|
-
* @request POST:/api/ai/
|
|
853
|
+
* @request POST:/api/ai/url-sources
|
|
856
854
|
* @secure
|
|
857
855
|
* @response `201` `AiUrlSource` Created
|
|
858
856
|
* @response `400` `ProblemDetails` Bad Request
|
|
859
857
|
* @response `409` `ProblemDetails` Conflict
|
|
860
858
|
*/
|
|
861
|
-
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)),
|
|
862
860
|
/**
|
|
863
861
|
* No description
|
|
864
862
|
*
|
|
865
863
|
* @tags AiUrlSource
|
|
866
864
|
* @name GetAiUrlSource
|
|
867
865
|
* @summary Get URL source by ID
|
|
868
|
-
* @request GET:/api/ai/
|
|
866
|
+
* @request GET:/api/ai/url-sources/{id}
|
|
869
867
|
* @secure
|
|
870
868
|
* @response `200` `AiUrlSource` OK
|
|
871
869
|
* @response `404` `ProblemDetails` Not Found
|
|
872
870
|
*/
|
|
873
|
-
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)),
|
|
874
872
|
/**
|
|
875
873
|
* No description
|
|
876
874
|
*
|
|
877
875
|
* @tags AiUrlSource
|
|
878
876
|
* @name UpdateAiUrlSource
|
|
879
877
|
* @summary Update URL source
|
|
880
|
-
* @request PUT:/api/ai/
|
|
878
|
+
* @request PUT:/api/ai/url-sources/{id}
|
|
881
879
|
* @secure
|
|
882
880
|
* @response `200` `AiUrlSource` OK
|
|
883
881
|
* @response `400` `ProblemDetails` Bad Request
|
|
884
882
|
* @response `404` `ProblemDetails` Not Found
|
|
885
883
|
* @response `409` `ProblemDetails` Conflict
|
|
886
884
|
*/
|
|
887
|
-
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)),
|
|
888
886
|
/**
|
|
889
887
|
* No description
|
|
890
888
|
*
|
|
891
889
|
* @tags AiUrlSource
|
|
892
890
|
* @name DeleteAiUrlSource
|
|
893
891
|
* @summary Delete URL source
|
|
894
|
-
* @request DELETE:/api/ai/
|
|
892
|
+
* @request DELETE:/api/ai/url-sources/{id}
|
|
895
893
|
* @secure
|
|
896
894
|
* @response `204` `void` No Content
|
|
897
895
|
* @response `404` `ProblemDetails` Not Found
|
|
898
896
|
*/
|
|
899
|
-
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)),
|
|
900
898
|
/**
|
|
901
899
|
* No description
|
|
902
900
|
*
|
|
903
901
|
* @tags AiUrlSource
|
|
904
902
|
* @name ToggleAiUrlSource
|
|
905
903
|
* @summary Toggle URL source active/inactive
|
|
906
|
-
* @request PATCH:/api/ai/
|
|
904
|
+
* @request PATCH:/api/ai/url-sources/{id}/toggle
|
|
907
905
|
* @secure
|
|
908
906
|
* @response `200` `AiUrlSource` OK
|
|
909
907
|
* @response `404` `ProblemDetails` Not Found
|
|
910
908
|
*/
|
|
911
|
-
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)),
|
|
912
910
|
/**
|
|
913
911
|
* No description
|
|
914
912
|
*
|
|
@@ -941,7 +939,7 @@ export class Api extends HttpClient {
|
|
|
941
939
|
* @secure
|
|
942
940
|
* @response `200` `AuditLogEntryPaginated` OK
|
|
943
941
|
*/
|
|
944
|
-
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)),
|
|
945
943
|
/**
|
|
946
944
|
* No description
|
|
947
945
|
*
|
|
@@ -977,7 +975,7 @@ export class Api extends HttpClient {
|
|
|
977
975
|
* @response `401` `ProblemDetails` Unauthorized
|
|
978
976
|
* @response `422` `UnprocessableEntity` Unprocessable Content
|
|
979
977
|
*/
|
|
980
|
-
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)),
|
|
981
979
|
/**
|
|
982
980
|
* No description
|
|
983
981
|
*
|
|
@@ -989,7 +987,7 @@ export class Api extends HttpClient {
|
|
|
989
987
|
* @response `200` `AccountDeactivated` OK
|
|
990
988
|
* @response `422` `UnprocessableEntity` Unprocessable Content
|
|
991
989
|
*/
|
|
992
|
-
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)),
|
|
993
991
|
/**
|
|
994
992
|
* No description
|
|
995
993
|
*
|
|
@@ -1001,7 +999,7 @@ export class Api extends HttpClient {
|
|
|
1001
999
|
* @response `200` `AccountDeactivated` OK
|
|
1002
1000
|
* @response `422` `UnprocessableEntity` Unprocessable Content
|
|
1003
1001
|
*/
|
|
1004
|
-
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)),
|
|
1005
1003
|
/**
|
|
1006
1004
|
* No description
|
|
1007
1005
|
*
|
|
@@ -1013,7 +1011,7 @@ export class Api extends HttpClient {
|
|
|
1013
1011
|
* @response `200` `Token` OK
|
|
1014
1012
|
* @response `422` `UnprocessableEntity` Unprocessable Content
|
|
1015
1013
|
*/
|
|
1016
|
-
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)),
|
|
1017
1015
|
/**
|
|
1018
1016
|
* No description
|
|
1019
1017
|
*
|
|
@@ -1025,7 +1023,7 @@ export class Api extends HttpClient {
|
|
|
1025
1023
|
* @response `200` `SSOToken` OK
|
|
1026
1024
|
* @response `422` `UnprocessableEntity` Unprocessable Content
|
|
1027
1025
|
*/
|
|
1028
|
-
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)),
|
|
1029
1027
|
/**
|
|
1030
1028
|
* No description
|
|
1031
1029
|
*
|
|
@@ -1060,7 +1058,7 @@ export class Api extends HttpClient {
|
|
|
1060
1058
|
* @response `200` `GetBranch` OK
|
|
1061
1059
|
* @response `422` `UnprocessableEntity` Unprocessable Content
|
|
1062
1060
|
*/
|
|
1063
|
-
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)),
|
|
1064
1062
|
/**
|
|
1065
1063
|
* No description
|
|
1066
1064
|
*
|
|
@@ -1071,7 +1069,7 @@ export class Api extends HttpClient {
|
|
|
1071
1069
|
* @secure
|
|
1072
1070
|
* @response `200` `GetBranchPaginated` OK
|
|
1073
1071
|
*/
|
|
1074
|
-
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)),
|
|
1075
1073
|
/**
|
|
1076
1074
|
* No description
|
|
1077
1075
|
*
|
|
@@ -1094,7 +1092,7 @@ export class Api extends HttpClient {
|
|
|
1094
1092
|
* @response `200` `GetBranch` OK
|
|
1095
1093
|
* @response `422` `UnprocessableEntity` Unprocessable Content
|
|
1096
1094
|
*/
|
|
1097
|
-
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)),
|
|
1098
1096
|
/**
|
|
1099
1097
|
* No description
|
|
1100
1098
|
*
|
|
@@ -1129,7 +1127,7 @@ export class Api extends HttpClient {
|
|
|
1129
1127
|
* @response `200` `SiteConfiguration` OK
|
|
1130
1128
|
* @response `422` `UnprocessableEntity` Unprocessable Content
|
|
1131
1129
|
*/
|
|
1132
|
-
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)),
|
|
1133
1131
|
/**
|
|
1134
1132
|
* No description
|
|
1135
1133
|
*
|
|
@@ -1152,7 +1150,7 @@ export class Api extends HttpClient {
|
|
|
1152
1150
|
* @response `200` `SiteConfiguration` OK
|
|
1153
1151
|
* @response `422` `UnprocessableEntity` Unprocessable Content
|
|
1154
1152
|
*/
|
|
1155
|
-
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)),
|
|
1156
1154
|
/**
|
|
1157
1155
|
* No description
|
|
1158
1156
|
*
|
|
@@ -1186,7 +1184,7 @@ export class Api extends HttpClient {
|
|
|
1186
1184
|
* @response `200` `BusinessRule` OK
|
|
1187
1185
|
* @response `422` `UnprocessableEntity` Unprocessable Content
|
|
1188
1186
|
*/
|
|
1189
|
-
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)),
|
|
1190
1188
|
/**
|
|
1191
1189
|
* No description
|
|
1192
1190
|
*
|
|
@@ -1209,7 +1207,7 @@ export class Api extends HttpClient {
|
|
|
1209
1207
|
* @response `200` `BusinessRule` OK
|
|
1210
1208
|
* @response `422` `UnprocessableEntity` Unprocessable Content
|
|
1211
1209
|
*/
|
|
1212
|
-
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)),
|
|
1213
1211
|
/**
|
|
1214
1212
|
* No description
|
|
1215
1213
|
*
|
|
@@ -1242,7 +1240,7 @@ export class Api extends HttpClient {
|
|
|
1242
1240
|
* @secure
|
|
1243
1241
|
* @response `200` `ClosedLoansReport` OK
|
|
1244
1242
|
*/
|
|
1245
|
-
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)),
|
|
1246
1244
|
/**
|
|
1247
1245
|
* No description
|
|
1248
1246
|
*
|
|
@@ -1287,7 +1285,7 @@ export class Api extends HttpClient {
|
|
|
1287
1285
|
* @response `200` `Corporate` OK
|
|
1288
1286
|
* @response `422` `UnprocessableEntity` Unprocessable Content
|
|
1289
1287
|
*/
|
|
1290
|
-
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)),
|
|
1291
1289
|
/**
|
|
1292
1290
|
* No description
|
|
1293
1291
|
*
|
|
@@ -1298,7 +1296,7 @@ export class Api extends HttpClient {
|
|
|
1298
1296
|
* @secure
|
|
1299
1297
|
* @response `200` `CorporatePaginated` OK
|
|
1300
1298
|
*/
|
|
1301
|
-
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)),
|
|
1302
1300
|
/**
|
|
1303
1301
|
* No description
|
|
1304
1302
|
*
|
|
@@ -1321,7 +1319,7 @@ export class Api extends HttpClient {
|
|
|
1321
1319
|
* @response `200` `Corporate` OK
|
|
1322
1320
|
* @response `422` `UnprocessableEntity` Unprocessable Content
|
|
1323
1321
|
*/
|
|
1324
|
-
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)),
|
|
1325
1323
|
/**
|
|
1326
1324
|
* No description
|
|
1327
1325
|
*
|
|
@@ -1355,7 +1353,7 @@ export class Api extends HttpClient {
|
|
|
1355
1353
|
* @response `200` `SiteConfiguration` OK
|
|
1356
1354
|
* @response `422` `UnprocessableEntity` Unprocessable Content
|
|
1357
1355
|
*/
|
|
1358
|
-
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)),
|
|
1359
1357
|
/**
|
|
1360
1358
|
* No description
|
|
1361
1359
|
*
|
|
@@ -1378,7 +1376,7 @@ export class Api extends HttpClient {
|
|
|
1378
1376
|
* @response `200` `SiteConfiguration` OK
|
|
1379
1377
|
* @response `422` `UnprocessableEntity` Unprocessable Content
|
|
1380
1378
|
*/
|
|
1381
|
-
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)),
|
|
1382
1380
|
/**
|
|
1383
1381
|
* No description
|
|
1384
1382
|
*
|
|
@@ -1424,7 +1422,7 @@ export class Api extends HttpClient {
|
|
|
1424
1422
|
* @response `409` `ProblemDetails` Conflict
|
|
1425
1423
|
* @response `422` `ProblemDetails` Unprocessable Content
|
|
1426
1424
|
*/
|
|
1427
|
-
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)),
|
|
1428
1426
|
/**
|
|
1429
1427
|
* No description
|
|
1430
1428
|
*
|
|
@@ -1451,7 +1449,7 @@ export class Api extends HttpClient {
|
|
|
1451
1449
|
* @response `409` `ProblemDetails` Conflict
|
|
1452
1450
|
* @response `422` `ProblemDetails` Unprocessable Content
|
|
1453
1451
|
*/
|
|
1454
|
-
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)),
|
|
1455
1453
|
/**
|
|
1456
1454
|
* No description
|
|
1457
1455
|
*
|
|
@@ -1521,7 +1519,7 @@ export class Api extends HttpClient {
|
|
|
1521
1519
|
* @secure
|
|
1522
1520
|
* @response `200` `Device` OK
|
|
1523
1521
|
*/
|
|
1524
|
-
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)),
|
|
1525
1523
|
/**
|
|
1526
1524
|
* No description
|
|
1527
1525
|
*
|
|
@@ -1578,7 +1576,7 @@ export class Api extends HttpClient {
|
|
|
1578
1576
|
* @response `404` `ProblemDetails` Not Found
|
|
1579
1577
|
* @response `422` `UnprocessableEntity` Unprocessable Content
|
|
1580
1578
|
*/
|
|
1581
|
-
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)),
|
|
1582
1580
|
/**
|
|
1583
1581
|
* No description
|
|
1584
1582
|
*
|
|
@@ -1615,7 +1613,7 @@ export class Api extends HttpClient {
|
|
|
1615
1613
|
* @response `404` `ProblemDetails` Not Found
|
|
1616
1614
|
* @response `422` `UnprocessableEntity` Unprocessable Content
|
|
1617
1615
|
*/
|
|
1618
|
-
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)),
|
|
1619
1617
|
/**
|
|
1620
1618
|
* No description
|
|
1621
1619
|
*
|
|
@@ -1663,7 +1661,7 @@ export class Api extends HttpClient {
|
|
|
1663
1661
|
* @secure
|
|
1664
1662
|
* @response `200` `DocumentTemplateVersion` OK
|
|
1665
1663
|
*/
|
|
1666
|
-
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)),
|
|
1667
1665
|
/**
|
|
1668
1666
|
* No description
|
|
1669
1667
|
*
|
|
@@ -1685,7 +1683,7 @@ export class Api extends HttpClient {
|
|
|
1685
1683
|
* @secure
|
|
1686
1684
|
* @response `200` `DocumentTemplateVersion` OK
|
|
1687
1685
|
*/
|
|
1688
|
-
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)),
|
|
1689
1687
|
/**
|
|
1690
1688
|
* No description
|
|
1691
1689
|
*
|
|
@@ -1723,7 +1721,7 @@ export class Api extends HttpClient {
|
|
|
1723
1721
|
* @response `409` `void` Conflict
|
|
1724
1722
|
* @response `422` `ProblemDetails` Unprocessable Content
|
|
1725
1723
|
*/
|
|
1726
|
-
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)),
|
|
1727
1725
|
/**
|
|
1728
1726
|
* No description
|
|
1729
1727
|
*
|
|
@@ -1786,6 +1784,20 @@ export class Api extends HttpClient {
|
|
|
1786
1784
|
* @response `500` `EncompassError` Internal Server Error
|
|
1787
1785
|
*/
|
|
1788
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)),
|
|
1789
1801
|
/**
|
|
1790
1802
|
* No description
|
|
1791
1803
|
*
|
|
@@ -1812,7 +1824,7 @@ export class Api extends HttpClient {
|
|
|
1812
1824
|
* @response `404` `EncompassError` Not Found
|
|
1813
1825
|
* @response `500` `EncompassError` Internal Server Error
|
|
1814
1826
|
*/
|
|
1815
|
-
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)),
|
|
1816
1828
|
/**
|
|
1817
1829
|
* No description
|
|
1818
1830
|
*
|
|
@@ -1835,7 +1847,7 @@ export class Api extends HttpClient {
|
|
|
1835
1847
|
* @response `201` `File` Created
|
|
1836
1848
|
* @response `422` `UnprocessableEntity` Unprocessable Content
|
|
1837
1849
|
*/
|
|
1838
|
-
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)),
|
|
1839
1851
|
/**
|
|
1840
1852
|
* No description
|
|
1841
1853
|
*
|
|
@@ -1858,7 +1870,7 @@ export class Api extends HttpClient {
|
|
|
1858
1870
|
* @response `200` `string` OK
|
|
1859
1871
|
* @response `422` `UnprocessableEntity` Unprocessable Content
|
|
1860
1872
|
*/
|
|
1861
|
-
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)),
|
|
1862
1874
|
/**
|
|
1863
1875
|
* No description
|
|
1864
1876
|
*
|
|
@@ -1880,7 +1892,7 @@ export class Api extends HttpClient {
|
|
|
1880
1892
|
* @secure
|
|
1881
1893
|
* @response `200` `FilePaginated` OK
|
|
1882
1894
|
*/
|
|
1883
|
-
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)),
|
|
1884
1896
|
/**
|
|
1885
1897
|
* No description
|
|
1886
1898
|
*
|
|
@@ -1903,7 +1915,7 @@ export class Api extends HttpClient {
|
|
|
1903
1915
|
* @response `201` `Form` Created
|
|
1904
1916
|
* @response `422` `UnprocessableEntity` Unprocessable Content
|
|
1905
1917
|
*/
|
|
1906
|
-
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)),
|
|
1907
1919
|
/**
|
|
1908
1920
|
* No description
|
|
1909
1921
|
*
|
|
@@ -1926,7 +1938,7 @@ export class Api extends HttpClient {
|
|
|
1926
1938
|
* @response `200` `Form` OK
|
|
1927
1939
|
* @response `422` `UnprocessableEntity` Unprocessable Content
|
|
1928
1940
|
*/
|
|
1929
|
-
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)),
|
|
1930
1942
|
/**
|
|
1931
1943
|
* No description
|
|
1932
1944
|
*
|
|
@@ -1959,7 +1971,7 @@ export class Api extends HttpClient {
|
|
|
1959
1971
|
* @secure
|
|
1960
1972
|
* @response `200` `FormSubmissionFile` OK
|
|
1961
1973
|
*/
|
|
1962
|
-
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)),
|
|
1963
1975
|
/**
|
|
1964
1976
|
* No description
|
|
1965
1977
|
*
|
|
@@ -2003,7 +2015,7 @@ export class Api extends HttpClient {
|
|
|
2003
2015
|
* @secure
|
|
2004
2016
|
* @response `201` `FormSubmission` Created
|
|
2005
2017
|
*/
|
|
2006
|
-
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)),
|
|
2007
2019
|
/**
|
|
2008
2020
|
* No description
|
|
2009
2021
|
*
|
|
@@ -2025,7 +2037,7 @@ export class Api extends HttpClient {
|
|
|
2025
2037
|
* @secure
|
|
2026
2038
|
* @response `200` `FormSubmission` OK
|
|
2027
2039
|
*/
|
|
2028
|
-
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)),
|
|
2029
2041
|
/**
|
|
2030
2042
|
* No description
|
|
2031
2043
|
*
|
|
@@ -2047,7 +2059,7 @@ export class Api extends HttpClient {
|
|
|
2047
2059
|
* @secure
|
|
2048
2060
|
* @response `200` `FormSubmissionPaginated` OK
|
|
2049
2061
|
*/
|
|
2050
|
-
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)),
|
|
2051
2063
|
/**
|
|
2052
2064
|
* No description
|
|
2053
2065
|
*
|
|
@@ -2069,7 +2081,7 @@ export class Api extends HttpClient {
|
|
|
2069
2081
|
* @secure
|
|
2070
2082
|
* @response `200` `FormVersion` OK
|
|
2071
2083
|
*/
|
|
2072
|
-
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)),
|
|
2073
2085
|
/**
|
|
2074
2086
|
* No description
|
|
2075
2087
|
*
|
|
@@ -2091,7 +2103,7 @@ export class Api extends HttpClient {
|
|
|
2091
2103
|
* @secure
|
|
2092
2104
|
* @response `200` `FormVersion` OK
|
|
2093
2105
|
*/
|
|
2094
|
-
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)),
|
|
2095
2107
|
/**
|
|
2096
2108
|
* No description
|
|
2097
2109
|
*
|
|
@@ -2137,7 +2149,7 @@ export class Api extends HttpClient {
|
|
|
2137
2149
|
* @response `200` `string` OK
|
|
2138
2150
|
* @response `422` `UnprocessableEntity` Unprocessable Content
|
|
2139
2151
|
*/
|
|
2140
|
-
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)),
|
|
2141
2153
|
/**
|
|
2142
2154
|
* No description
|
|
2143
2155
|
*
|
|
@@ -2148,7 +2160,7 @@ export class Api extends HttpClient {
|
|
|
2148
2160
|
* @secure
|
|
2149
2161
|
* @response `200` `GetReport` OK
|
|
2150
2162
|
*/
|
|
2151
|
-
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)),
|
|
2152
2164
|
/**
|
|
2153
2165
|
* No description
|
|
2154
2166
|
*
|
|
@@ -2162,7 +2174,7 @@ export class Api extends HttpClient {
|
|
|
2162
2174
|
* @response `422` `UnprocessableEntity` Unprocessable Content
|
|
2163
2175
|
* @response `423` `UnprocessableEntity` Locked
|
|
2164
2176
|
*/
|
|
2165
|
-
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)),
|
|
2166
2178
|
/**
|
|
2167
2179
|
* No description
|
|
2168
2180
|
*
|
|
@@ -2175,7 +2187,7 @@ export class Api extends HttpClient {
|
|
|
2175
2187
|
* @response `422` `UnprocessableEntity` Unprocessable Content
|
|
2176
2188
|
* @response `423` `UnprocessableEntity` Locked
|
|
2177
2189
|
*/
|
|
2178
|
-
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)),
|
|
2179
2191
|
/**
|
|
2180
2192
|
* No description
|
|
2181
2193
|
*
|
|
@@ -2187,7 +2199,7 @@ export class Api extends HttpClient {
|
|
|
2187
2199
|
* @response `200` `string` OK
|
|
2188
2200
|
* @response `422` `UnprocessableEntity` Unprocessable Content
|
|
2189
2201
|
*/
|
|
2190
|
-
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)),
|
|
2191
2203
|
/**
|
|
2192
2204
|
* No description
|
|
2193
2205
|
*
|
|
@@ -2200,7 +2212,7 @@ export class Api extends HttpClient {
|
|
|
2200
2212
|
* @response `202` `string` Accepted
|
|
2201
2213
|
* @response `422` `UnprocessableEntity` Unprocessable Content
|
|
2202
2214
|
*/
|
|
2203
|
-
updateLoanConsent: (loanId, data, params = {}) => this.request(Object.assign({ path: `/api/los/loan/application/${loanId}/consent`, method: "PATCH", body: data, secure: true, type:
|
|
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)),
|
|
2204
2216
|
/**
|
|
2205
2217
|
* No description
|
|
2206
2218
|
*
|
|
@@ -2267,18 +2279,6 @@ export class Api extends HttpClient {
|
|
|
2267
2279
|
* @response `200` `string` OK
|
|
2268
2280
|
*/
|
|
2269
2281
|
getLoanEmbeddedSigningLink: (envelopeId, userName, email, params = {}) => this.request(Object.assign({ path: `/api/los/loan/embeddedsigning/${envelopeId}/${userName}/${email}`, method: "POST", secure: true, format: "json" }, params)),
|
|
2270
|
-
/**
|
|
2271
|
-
* No description
|
|
2272
|
-
*
|
|
2273
|
-
* @tags LegacyLoan
|
|
2274
|
-
* @name CreateLegacyLoanDocument
|
|
2275
|
-
* @summary Create Document
|
|
2276
|
-
* @request POST:/api/los/loan/generatedocument
|
|
2277
|
-
* @deprecated
|
|
2278
|
-
* @secure
|
|
2279
|
-
* @response `200` `DocumentDataRequest` OK
|
|
2280
|
-
*/
|
|
2281
|
-
createLegacyLoanDocument: (data, params = {}) => this.request(Object.assign({ path: `/api/los/loan/generatedocument`, method: "POST", body: data, secure: true, type: "application/json", format: "json" }, params)),
|
|
2282
2282
|
/**
|
|
2283
2283
|
* No description
|
|
2284
2284
|
*
|
|
@@ -2303,7 +2303,7 @@ export class Api extends HttpClient {
|
|
|
2303
2303
|
* @secure
|
|
2304
2304
|
* @response `200` `ListingFile` OK
|
|
2305
2305
|
*/
|
|
2306
|
-
addListingFile: (listingId, data, params = {}) => this.request(Object.assign({ path: `/api/listings/${listingId}/files`, method: "POST", body: data, secure: true, type:
|
|
2306
|
+
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
2307
|
/**
|
|
2308
2308
|
* No description
|
|
2309
2309
|
*
|
|
@@ -2314,7 +2314,7 @@ export class Api extends HttpClient {
|
|
|
2314
2314
|
* @secure
|
|
2315
2315
|
* @response `200` `ListingFile` OK
|
|
2316
2316
|
*/
|
|
2317
|
-
updateListingFiles: (listingId, data, params = {}) => this.request(Object.assign({ path: `/api/listings/${listingId}/files`, method: "PATCH", body: data, secure: true, type:
|
|
2317
|
+
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
2318
|
/**
|
|
2319
2319
|
* No description
|
|
2320
2320
|
*
|
|
@@ -2336,7 +2336,7 @@ export class Api extends HttpClient {
|
|
|
2336
2336
|
* @secure
|
|
2337
2337
|
* @response `200` `ListingPhoto` OK
|
|
2338
2338
|
*/
|
|
2339
|
-
addListingPhoto: (listingId, data, params = {}) => this.request(Object.assign({ path: `/api/listings/${listingId}/photos`, method: "POST", body: data, secure: true, type:
|
|
2339
|
+
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
2340
|
/**
|
|
2341
2341
|
* No description
|
|
2342
2342
|
*
|
|
@@ -2347,7 +2347,7 @@ export class Api extends HttpClient {
|
|
|
2347
2347
|
* @secure
|
|
2348
2348
|
* @response `200` `(ListingPhoto)[]` OK
|
|
2349
2349
|
*/
|
|
2350
|
-
updateListingPhotos: (listingId, data, params = {}) => this.request(Object.assign({ path: `/api/listings/${listingId}/photos`, method: "PATCH", body: data, secure: true, type:
|
|
2350
|
+
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
2351
|
/**
|
|
2352
2352
|
* No description
|
|
2353
2353
|
*
|
|
@@ -2380,7 +2380,7 @@ export class Api extends HttpClient {
|
|
|
2380
2380
|
* @secure
|
|
2381
2381
|
* @response `201` `Listing` Created
|
|
2382
2382
|
*/
|
|
2383
|
-
createListing: (data, params = {}) => this.request(Object.assign({ path: `/api/listings`, method: "POST", body: data, secure: true, type:
|
|
2383
|
+
createListing: (data, params = {}) => this.request(Object.assign({ path: `/api/listings`, method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
|
|
2384
2384
|
/**
|
|
2385
2385
|
* No description
|
|
2386
2386
|
*
|
|
@@ -2413,7 +2413,7 @@ export class Api extends HttpClient {
|
|
|
2413
2413
|
* @secure
|
|
2414
2414
|
* @response `200` `Listing` OK
|
|
2415
2415
|
*/
|
|
2416
|
-
replaceListing: (id, data, params = {}) => this.request(Object.assign({ path: `/api/listings/${id}`, method: "PUT", body: data, secure: true, type:
|
|
2416
|
+
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
2417
|
/**
|
|
2418
2418
|
* No description
|
|
2419
2419
|
*
|
|
@@ -2435,7 +2435,7 @@ export class Api extends HttpClient {
|
|
|
2435
2435
|
* @secure
|
|
2436
2436
|
* @response `200` `ListingPaginated` OK
|
|
2437
2437
|
*/
|
|
2438
|
-
searchListings: (data, query, params = {}) => this.request(Object.assign({ path: `/api/listings/search`, method: "POST", query: query, body: data, secure: true, type:
|
|
2438
|
+
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
2439
|
/**
|
|
2440
2440
|
* No description
|
|
2441
2441
|
*
|
|
@@ -2446,7 +2446,7 @@ export class Api extends HttpClient {
|
|
|
2446
2446
|
* @secure
|
|
2447
2447
|
* @response `200` `File` OK
|
|
2448
2448
|
*/
|
|
2449
|
-
updateListingBackgroundImage: (id, data, params = {}) => this.request(Object.assign({ path: `/api/listings/${id}/background-image`, method: "PUT", body: data, secure: true, type:
|
|
2449
|
+
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
2450
|
/**
|
|
2451
2451
|
* No description
|
|
2452
2452
|
*
|
|
@@ -2492,7 +2492,7 @@ export class Api extends HttpClient {
|
|
|
2492
2492
|
* @response `422` `UnprocessableEntity` Unprocessable Content
|
|
2493
2493
|
* @response `423` `UnprocessableEntity` Locked
|
|
2494
2494
|
*/
|
|
2495
|
-
runLoanCalculator: (loanId, data, params = {}) => this.request(Object.assign({ path: `/api/loans/${loanId}/calculators/loan-calculator`, method: "POST", body: data, secure: true, type:
|
|
2495
|
+
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
2496
|
/**
|
|
2497
2497
|
* No description
|
|
2498
2498
|
*
|
|
@@ -2516,7 +2516,7 @@ export class Api extends HttpClient {
|
|
|
2516
2516
|
* @response `422` `UnprocessableEntity` Unprocessable Content
|
|
2517
2517
|
* @response `423` `UnprocessableEntity` Locked
|
|
2518
2518
|
*/
|
|
2519
|
-
createLoanComparison: (loanId, index, data, params = {}) => this.request(Object.assign({ path: `/api/loans/${loanId}/loan-comparison/${index}`, method: "POST", body: data, secure: true, type:
|
|
2519
|
+
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
2520
|
/**
|
|
2521
2521
|
* No description
|
|
2522
2522
|
*
|
|
@@ -2539,7 +2539,7 @@ export class Api extends HttpClient {
|
|
|
2539
2539
|
* @response `204` `void` No Content
|
|
2540
2540
|
* @response `422` `UnprocessableEntity` Unprocessable Content
|
|
2541
2541
|
*/
|
|
2542
|
-
createLoanComparisonPdf: (loanId, data, params = {}) => this.request(Object.assign({ path: `/api/loans/${loanId}/loan-comparison/pdf`, method: "POST", body: data, secure: true, type:
|
|
2542
|
+
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
2543
|
/**
|
|
2544
2544
|
* No description
|
|
2545
2545
|
*
|
|
@@ -2576,7 +2576,7 @@ export class Api extends HttpClient {
|
|
|
2576
2576
|
* @response `400` `ProblemDetails` Bad Request
|
|
2577
2577
|
* @response `422` `ProblemDetails` Unprocessable Content
|
|
2578
2578
|
*/
|
|
2579
|
-
bulkSetLoanCustomFieldValues: (loanId, data, params = {}) => this.request(Object.assign({ path: `/api/loans/${loanId}/custom-fields`, method: "PUT", body: data, secure: true, type:
|
|
2579
|
+
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
2580
|
/**
|
|
2581
2581
|
* No description
|
|
2582
2582
|
*
|
|
@@ -2590,7 +2590,7 @@ export class Api extends HttpClient {
|
|
|
2590
2590
|
* @response `404` `ProblemDetails` Not Found
|
|
2591
2591
|
* @response `422` `ProblemDetails` Unprocessable Content
|
|
2592
2592
|
*/
|
|
2593
|
-
setLoanCustomFieldValue: (loanId, definitionId, data, params = {}) => this.request(Object.assign({ path: `/api/loans/${loanId}/custom-fields/${definitionId}`, method: "PUT", body: data, secure: true, type:
|
|
2593
|
+
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
2594
|
/**
|
|
2595
2595
|
* No description
|
|
2596
2596
|
*
|
|
@@ -2624,7 +2624,7 @@ export class Api extends HttpClient {
|
|
|
2624
2624
|
* @secure
|
|
2625
2625
|
* @response `201` `(string)[]` Created
|
|
2626
2626
|
*/
|
|
2627
|
-
createLoanDocumentBuckets: (loanId, data, params = {}) => this.request(Object.assign({ path: `/api/loans/${loanId}/documents/buckets`, method: "POST", body: data, secure: true, type:
|
|
2627
|
+
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
2628
|
/**
|
|
2629
2629
|
* No description
|
|
2630
2630
|
*
|
|
@@ -2648,7 +2648,7 @@ export class Api extends HttpClient {
|
|
|
2648
2648
|
* @response `409` `ProblemDetails` Conflict
|
|
2649
2649
|
* @response `422` `ProblemDetails` Unprocessable Content
|
|
2650
2650
|
*/
|
|
2651
|
-
createLoanDocumentFolder: (data, params = {}) => this.request(Object.assign({ path: `/api/loan-document-folders`, method: "POST", body: data, secure: true, type:
|
|
2651
|
+
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
2652
|
/**
|
|
2653
2653
|
* No description
|
|
2654
2654
|
*
|
|
@@ -2675,7 +2675,7 @@ export class Api extends HttpClient {
|
|
|
2675
2675
|
* @response `409` `ProblemDetails` Conflict
|
|
2676
2676
|
* @response `422` `ProblemDetails` Unprocessable Content
|
|
2677
2677
|
*/
|
|
2678
|
-
updateLoanDocumentFolder: (id, data, params = {}) => this.request(Object.assign({ path: `/api/loan-document-folders/${id}`, method: "PUT", body: data, secure: true, type:
|
|
2678
|
+
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
2679
|
/**
|
|
2680
2680
|
* No description
|
|
2681
2681
|
*
|
|
@@ -2750,7 +2750,7 @@ export class Api extends HttpClient {
|
|
|
2750
2750
|
* @response `200` `Record<string,string>` OK
|
|
2751
2751
|
* @response `400` `ProblemDetails` Bad Request
|
|
2752
2752
|
*/
|
|
2753
|
-
getLoanDocumentPreviews: (loanId, data, params = {}) => this.request(Object.assign({ path: `/api/loans/${loanId}/documents/previews`, method: "POST", body: data, secure: true, type:
|
|
2753
|
+
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
2754
|
/**
|
|
2755
2755
|
* No description
|
|
2756
2756
|
*
|
|
@@ -2761,7 +2761,7 @@ export class Api extends HttpClient {
|
|
|
2761
2761
|
* @secure
|
|
2762
2762
|
* @response `200` `LoanDocumentSearchPaginated` OK
|
|
2763
2763
|
*/
|
|
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:
|
|
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: ContentType.Json, format: "json" }, params)),
|
|
2765
2765
|
/**
|
|
2766
2766
|
* @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
2767
|
*
|
|
@@ -2772,7 +2772,7 @@ export class Api extends HttpClient {
|
|
|
2772
2772
|
* @secure
|
|
2773
2773
|
* @response `200` `(DocumentFolder)[]` OK
|
|
2774
2774
|
*/
|
|
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:
|
|
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: ContentType.Json, format: "json" }, params)),
|
|
2776
2776
|
/**
|
|
2777
2777
|
* No description
|
|
2778
2778
|
*
|
|
@@ -2781,7 +2781,7 @@ export class Api extends HttpClient {
|
|
|
2781
2781
|
* @summary Download By ID
|
|
2782
2782
|
* @request GET:/api/loans/{loanId}/documents/{documentId}/download
|
|
2783
2783
|
* @secure
|
|
2784
|
-
* @response `200` `
|
|
2784
|
+
* @response `200` `string` OK
|
|
2785
2785
|
* @response `404` `ProblemDetails` Not Found
|
|
2786
2786
|
*/
|
|
2787
2787
|
downloadLoanDocument: (loanId, documentId, params = {}) => this.request(Object.assign({ path: `/api/loans/${loanId}/documents/${documentId}/download`, method: "GET", secure: true, format: "json" }, params)),
|
|
@@ -2797,7 +2797,7 @@ export class Api extends HttpClient {
|
|
|
2797
2797
|
* @response `404` `ProblemDetails` Not Found
|
|
2798
2798
|
* @response `422` `UnprocessableEntity` Unprocessable Content
|
|
2799
2799
|
*/
|
|
2800
|
-
createLoanDocument: (loanId, data, params = {}) => this.request(Object.assign({ path: `/api/loans/${loanId}/documents`, method: "POST", body: data, secure: true, type:
|
|
2800
|
+
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
2801
|
/**
|
|
2802
2802
|
* No description
|
|
2803
2803
|
*
|
|
@@ -2821,7 +2821,7 @@ export class Api extends HttpClient {
|
|
|
2821
2821
|
* @secure
|
|
2822
2822
|
* @response `200` `DocumentDataRequest` OK
|
|
2823
2823
|
*/
|
|
2824
|
-
generateLoanDocument: (loanId, data, params = {}) => this.request(Object.assign({ path: `/api/loans/${loanId}/documents/generate`, method: "POST", body: data, secure: true, type:
|
|
2824
|
+
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
2825
|
/**
|
|
2826
2826
|
* No description
|
|
2827
2827
|
*
|
|
@@ -2834,7 +2834,7 @@ export class Api extends HttpClient {
|
|
|
2834
2834
|
* @response `400` `ProblemDetails` Bad Request
|
|
2835
2835
|
* @response `404` `ProblemDetails` Not Found
|
|
2836
2836
|
*/
|
|
2837
|
-
sendLoanDocuments: (loanId, data, params = {}) => this.request(Object.assign({ path: `/api/loans/${loanId}/documents/distribute`, method: "POST", body: data, secure: true, type:
|
|
2837
|
+
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
2838
|
/**
|
|
2839
2839
|
* @description Fetches all documents from Encompass that don't exist locally and stores them in S3
|
|
2840
2840
|
*
|
|
@@ -2859,7 +2859,7 @@ export class Api extends HttpClient {
|
|
|
2859
2859
|
* @response `404` `ProblemDetails` Not Found
|
|
2860
2860
|
* @response `422` `UnprocessableEntity` Unprocessable Content
|
|
2861
2861
|
*/
|
|
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:
|
|
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: ContentType.Json, format: "json" }, params)),
|
|
2863
2863
|
/**
|
|
2864
2864
|
* @description Re-attempts to push a failed document to LOS
|
|
2865
2865
|
*
|
|
@@ -2883,7 +2883,7 @@ export class Api extends HttpClient {
|
|
|
2883
2883
|
* @secure
|
|
2884
2884
|
* @response `201` `Draft` Created
|
|
2885
2885
|
*/
|
|
2886
|
-
createLoanDraft: (data, params = {}) => this.request(Object.assign({ path: `/api/loans/drafts`, method: "POST", body: data, secure: true, type:
|
|
2886
|
+
createLoanDraft: (data, params = {}) => this.request(Object.assign({ path: `/api/loans/drafts`, method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
|
|
2887
2887
|
/**
|
|
2888
2888
|
* No description
|
|
2889
2889
|
*
|
|
@@ -2916,7 +2916,7 @@ export class Api extends HttpClient {
|
|
|
2916
2916
|
* @secure
|
|
2917
2917
|
* @response `200` `Draft` OK
|
|
2918
2918
|
*/
|
|
2919
|
-
replaceLoanDraft: (draftId, data, params = {}) => this.request(Object.assign({ path: `/api/loans/drafts/${draftId}`, method: "PUT", body: data, secure: true, type:
|
|
2919
|
+
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
2920
|
/**
|
|
2921
2921
|
* No description
|
|
2922
2922
|
*
|
|
@@ -2938,7 +2938,7 @@ export class Api extends HttpClient {
|
|
|
2938
2938
|
* @secure
|
|
2939
2939
|
* @response `201` `DraftContentPaginated` Created
|
|
2940
2940
|
*/
|
|
2941
|
-
searchLoanDrafts: (data, query, params = {}) => this.request(Object.assign({ path: `/api/loans/drafts/search`, method: "POST", query: query, body: data, secure: true, type:
|
|
2941
|
+
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
2942
|
/**
|
|
2943
2943
|
* No description
|
|
2944
2944
|
*
|
|
@@ -2949,7 +2949,7 @@ export class Api extends HttpClient {
|
|
|
2949
2949
|
* @secure
|
|
2950
2950
|
* @response `200` `Draft` OK
|
|
2951
2951
|
*/
|
|
2952
|
-
reassignLoanOfficer: (draftId, data, params = {}) => this.request(Object.assign({ path: `/api/loans/drafts/${draftId}/reassign`, method: "PUT", body: data, secure: true, type:
|
|
2952
|
+
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
2953
|
/**
|
|
2954
2954
|
* No description
|
|
2955
2955
|
*
|
|
@@ -2982,7 +2982,7 @@ export class Api extends HttpClient {
|
|
|
2982
2982
|
* @secure
|
|
2983
2983
|
* @response `201` `LoanImport` Created
|
|
2984
2984
|
*/
|
|
2985
|
-
createLoanImport: (data, params = {}) => this.request(Object.assign({ path: `/api/loan-imports`, method: "POST", body: data, secure: true, type:
|
|
2985
|
+
createLoanImport: (data, params = {}) => this.request(Object.assign({ path: `/api/loan-imports`, method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
|
|
2986
2986
|
/**
|
|
2987
2987
|
* No description
|
|
2988
2988
|
*
|
|
@@ -3028,7 +3028,7 @@ export class Api extends HttpClient {
|
|
|
3028
3028
|
* @response `200` `(Invite)[]` OK
|
|
3029
3029
|
* @response `404` `ProblemDetails` Not Found
|
|
3030
3030
|
*/
|
|
3031
|
-
inviteLoanContacts: (loanId, data, params = {}) => this.request(Object.assign({ path: `/api/loans/${loanId}/invites`, method: "POST", body: data, secure: true, type:
|
|
3031
|
+
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
3032
|
/**
|
|
3033
3033
|
* No description
|
|
3034
3034
|
*
|
|
@@ -3039,7 +3039,7 @@ export class Api extends HttpClient {
|
|
|
3039
3039
|
* @secure
|
|
3040
3040
|
* @response `200` `LoanLogPaginated` OK
|
|
3041
3041
|
*/
|
|
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:
|
|
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: ContentType.Json, format: "json" }, params)),
|
|
3043
3043
|
/**
|
|
3044
3044
|
* No description
|
|
3045
3045
|
*
|
|
@@ -3064,7 +3064,7 @@ export class Api extends HttpClient {
|
|
|
3064
3064
|
* @response `400` `ProblemDetails` Bad Request
|
|
3065
3065
|
* @response `404` `ProblemDetails` Not Found
|
|
3066
3066
|
*/
|
|
3067
|
-
sendLoanOptInReminder: (loanId, data, params = {}) => this.request(Object.assign({ path: `/api/loans/${loanId}/notifications/opt-in-reminders`, method: "POST", body: data, secure: true, type:
|
|
3067
|
+
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
3068
|
/**
|
|
3069
3069
|
* No description
|
|
3070
3070
|
*
|
|
@@ -3077,7 +3077,7 @@ export class Api extends HttpClient {
|
|
|
3077
3077
|
* @response `400` `ProblemDetails` Bad Request
|
|
3078
3078
|
* @response `404` `ProblemDetails` Not Found
|
|
3079
3079
|
*/
|
|
3080
|
-
sendESignatureReminder: (loanId, data, params = {}) => this.request(Object.assign({ path: `/api/loans/${loanId}/notifications/esignature-reminders`, method: "POST", body: data, secure: true, type:
|
|
3080
|
+
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
3081
|
/**
|
|
3082
3082
|
* No description
|
|
3083
3083
|
*
|
|
@@ -3099,7 +3099,7 @@ export class Api extends HttpClient {
|
|
|
3099
3099
|
* @secure
|
|
3100
3100
|
* @response `200` `BranchUserPaginated` OK
|
|
3101
3101
|
*/
|
|
3102
|
-
searchLoanOfficers: (data, query, params = {}) => this.request(Object.assign({ path: `/api/loan-officers/search`, method: "POST", query: query, body: data, secure: true, type:
|
|
3102
|
+
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
3103
|
/**
|
|
3104
3104
|
* No description
|
|
3105
3105
|
*
|
|
@@ -3122,7 +3122,7 @@ export class Api extends HttpClient {
|
|
|
3122
3122
|
* @response `200` `SiteConfiguration` OK
|
|
3123
3123
|
* @response `422` `UnprocessableEntity` Unprocessable Content
|
|
3124
3124
|
*/
|
|
3125
|
-
createLoanOfficerSiteConfiguration: (loanOfficerId, data, params = {}) => this.request(Object.assign({ path: `/api/loan-officers/${loanOfficerId}/site-configurations`, method: "POST", body: data, secure: true, type:
|
|
3125
|
+
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
3126
|
/**
|
|
3127
3127
|
* No description
|
|
3128
3128
|
*
|
|
@@ -3145,7 +3145,7 @@ export class Api extends HttpClient {
|
|
|
3145
3145
|
* @response `200` `SiteConfiguration` OK
|
|
3146
3146
|
* @response `422` `UnprocessableEntity` Unprocessable Content
|
|
3147
3147
|
*/
|
|
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:
|
|
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: ContentType.Json, format: "json" }, params)),
|
|
3149
3149
|
/**
|
|
3150
3150
|
* No description
|
|
3151
3151
|
*
|
|
@@ -3156,7 +3156,7 @@ export class Api extends HttpClient {
|
|
|
3156
3156
|
* @secure
|
|
3157
3157
|
* @response `200` `LoanQueuePaginated` OK
|
|
3158
3158
|
*/
|
|
3159
|
-
searchLoanQueue: (data, query, params = {}) => this.request(Object.assign({ path: `/api/loans/queue/search`, method: "POST", query: query, body: data, secure: true, type:
|
|
3159
|
+
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
3160
|
/**
|
|
3161
3161
|
* No description
|
|
3162
3162
|
*
|
|
@@ -3180,7 +3180,7 @@ export class Api extends HttpClient {
|
|
|
3180
3180
|
* @response `200` `LoanQueueWithData` OK
|
|
3181
3181
|
* @response `404` `ProblemDetails` Not Found
|
|
3182
3182
|
*/
|
|
3183
|
-
replaceLoanQueue: (loanQueueId, data, params = {}) => this.request(Object.assign({ path: `/api/loans/queue/${loanQueueId}`, method: "PUT", body: data, secure: true, type:
|
|
3183
|
+
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
3184
|
/**
|
|
3185
3185
|
* No description
|
|
3186
3186
|
*
|
|
@@ -3241,7 +3241,7 @@ export class Api extends HttpClient {
|
|
|
3241
3241
|
* @response `401` `ProblemDetails` Unauthorized
|
|
3242
3242
|
* @response `403` `ProblemDetails` Forbidden
|
|
3243
3243
|
*/
|
|
3244
|
-
createLoanv3: (data, params = {}) => this.request(Object.assign({ path: `/api/loans`, method: "POST", body: data, secure: true, type:
|
|
3244
|
+
createLoanv3: (data, params = {}) => this.request(Object.assign({ path: `/api/loans`, method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
|
|
3245
3245
|
/**
|
|
3246
3246
|
* No description
|
|
3247
3247
|
*
|
|
@@ -3252,7 +3252,7 @@ export class Api extends HttpClient {
|
|
|
3252
3252
|
* @secure
|
|
3253
3253
|
* @response `200` `LoanListPaginated` OK
|
|
3254
3254
|
*/
|
|
3255
|
-
searchLoans: (data, query, params = {}) => this.request(Object.assign({ path: `/api/loans/search`, method: "POST", query: query, body: data, secure: true, type:
|
|
3255
|
+
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
3256
|
/**
|
|
3257
3257
|
* No description
|
|
3258
3258
|
*
|
|
@@ -3268,7 +3268,7 @@ export class Api extends HttpClient {
|
|
|
3268
3268
|
* @response `404` `ProblemDetails` Not Found
|
|
3269
3269
|
* @response `409` `any` Conflict
|
|
3270
3270
|
*/
|
|
3271
|
-
updateLoan: (loanId, data, params = {}) => this.request(Object.assign({ path: `/api/loans/${loanId}`, method: "PATCH", body: data, secure: true, type:
|
|
3271
|
+
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
3272
|
/**
|
|
3273
3273
|
* No description
|
|
3274
3274
|
*
|
|
@@ -3330,7 +3330,7 @@ export class Api extends HttpClient {
|
|
|
3330
3330
|
* @response `400` `ProblemDetails` Bad Request
|
|
3331
3331
|
* @response `404` `ProblemDetails` Not Found
|
|
3332
3332
|
*/
|
|
3333
|
-
triggerAso: (loanId, data, params = {}) => this.request(Object.assign({ path: `/api/loans/${loanId}/aso`, method: "POST", body: data, secure: true, type:
|
|
3333
|
+
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
3334
|
/**
|
|
3335
3335
|
* No description
|
|
3336
3336
|
*
|
|
@@ -3342,7 +3342,7 @@ export class Api extends HttpClient {
|
|
|
3342
3342
|
* @response `200` `TaskCommentPaginated` OK
|
|
3343
3343
|
* @response `404` `ProblemDetails` Not Found
|
|
3344
3344
|
*/
|
|
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:
|
|
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: ContentType.Json, format: "json" }, params)),
|
|
3346
3346
|
/**
|
|
3347
3347
|
* No description
|
|
3348
3348
|
*
|
|
@@ -3366,7 +3366,7 @@ export class Api extends HttpClient {
|
|
|
3366
3366
|
* @response `201` `TaskComment` Created
|
|
3367
3367
|
* @response `404` `ProblemDetails` Not Found
|
|
3368
3368
|
*/
|
|
3369
|
-
createLoanTaskComment: (loanId, userLoanTaskId, data, params = {}) => this.request(Object.assign({ path: `/api/loans/${loanId}/tasks/${userLoanTaskId}/comments`, method: "POST", body: data, secure: true, type:
|
|
3369
|
+
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
3370
|
/**
|
|
3371
3371
|
* No description
|
|
3372
3372
|
*
|
|
@@ -3378,7 +3378,7 @@ export class Api extends HttpClient {
|
|
|
3378
3378
|
* @response `200` `TaskComment` OK
|
|
3379
3379
|
* @response `404` `ProblemDetails` Not Found
|
|
3380
3380
|
*/
|
|
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:
|
|
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: ContentType.Json, format: "json" }, params)),
|
|
3382
3382
|
/**
|
|
3383
3383
|
* No description
|
|
3384
3384
|
*
|
|
@@ -3403,19 +3403,7 @@ export class Api extends HttpClient {
|
|
|
3403
3403
|
* @response `404` `ProblemDetails` Not Found
|
|
3404
3404
|
* @response `422` `UnprocessableEntity` Unprocessable Content
|
|
3405
3405
|
*/
|
|
3406
|
-
createLoanTaskDocument: (loanId, loanTaskId, data, params = {}) => this.request(Object.assign({ path: `/api/loans/${loanId}/tasks/${loanTaskId}/documents`, method: "POST", body: data, secure: true, type:
|
|
3407
|
-
/**
|
|
3408
|
-
* No description
|
|
3409
|
-
*
|
|
3410
|
-
* @tags LoanTaskDocuments
|
|
3411
|
-
* @name CreateLoanTaskDocumentBucket
|
|
3412
|
-
* @summary Create Bucket
|
|
3413
|
-
* @request POST:/api/loans/{loanID}/tasks/{loanTaskId}/documents/bucket
|
|
3414
|
-
* @secure
|
|
3415
|
-
* @response `204` `UserLoanTask` No Content
|
|
3416
|
-
* @response `422` `UnprocessableEntity` Unprocessable Content
|
|
3417
|
-
*/
|
|
3418
|
-
createLoanTaskDocumentBucket: (loanId, loanTaskId, params = {}) => this.request(Object.assign({ path: `/api/loans/${loanId}/tasks/${loanTaskId}/documents/bucket`, method: "POST", secure: true, format: "json" }, params)),
|
|
3406
|
+
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)),
|
|
3419
3407
|
/**
|
|
3420
3408
|
* No description
|
|
3421
3409
|
*
|
|
@@ -3425,9 +3413,11 @@ export class Api extends HttpClient {
|
|
|
3425
3413
|
* @request POST:/api/loans/{loanID}/tasks/reminders/outstanding
|
|
3426
3414
|
* @secure
|
|
3427
3415
|
* @response `204` `void` No Content
|
|
3416
|
+
* @response `400` `ProblemDetails` Bad Request
|
|
3428
3417
|
* @response `404` `ProblemDetails` Not Found
|
|
3418
|
+
* @response `422` `ProblemDetails` Unprocessable Content
|
|
3429
3419
|
*/
|
|
3430
|
-
sendOutstandingLoanTaskNotification: (loanId, params = {}) => this.request(Object.assign({ path: `/api/loans/${loanId}/tasks/reminders/outstanding`, method: "POST", secure: true }, params)),
|
|
3420
|
+
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)),
|
|
3431
3421
|
/**
|
|
3432
3422
|
* No description
|
|
3433
3423
|
*
|
|
@@ -3440,7 +3430,7 @@ export class Api extends HttpClient {
|
|
|
3440
3430
|
* @response `400` `ProblemDetails` Bad Request
|
|
3441
3431
|
* @response `404` `ProblemDetails` Not Found
|
|
3442
3432
|
*/
|
|
3443
|
-
sendLoanTaskReminder: (loanId, data, params = {}) => this.request(Object.assign({ path: `/api/loans/${loanId}/tasks/reminders`, method: "POST", body: data, secure: true, type:
|
|
3433
|
+
sendLoanTaskReminder: (loanId, data, params = {}) => this.request(Object.assign({ path: `/api/loans/${loanId}/tasks/reminders`, method: "POST", body: data, secure: true, type: ContentType.Json }, params)),
|
|
3444
3434
|
/**
|
|
3445
3435
|
* @description Search tasks across all loans
|
|
3446
3436
|
*
|
|
@@ -3451,7 +3441,7 @@ export class Api extends HttpClient {
|
|
|
3451
3441
|
* @secure
|
|
3452
3442
|
* @response `200` `UserLoanTaskPaginated` OK
|
|
3453
3443
|
*/
|
|
3454
|
-
searchLoanTasks: (data, query, params = {}) => this.request(Object.assign({ path: `/api/loans/tasks/search`, method: "POST", query: query, body: data, secure: true, type:
|
|
3444
|
+
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)),
|
|
3455
3445
|
/**
|
|
3456
3446
|
* @description Returns task counts grouped by status for loans accessible to the current user based on their role
|
|
3457
3447
|
*
|
|
@@ -3463,7 +3453,7 @@ export class Api extends HttpClient {
|
|
|
3463
3453
|
* @response `200` `(LoanTaskStatusSummary)[]` OK
|
|
3464
3454
|
* @response `422` `UnprocessableEntity` Unprocessable Content
|
|
3465
3455
|
*/
|
|
3466
|
-
searchLoanTasksSummary: (data, params = {}) => this.request(Object.assign({ path: `/api/loans/tasks/search/summary`, method: "POST", body: data, secure: true, type:
|
|
3456
|
+
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)),
|
|
3467
3457
|
/**
|
|
3468
3458
|
* No description
|
|
3469
3459
|
*
|
|
@@ -3511,7 +3501,7 @@ export class Api extends HttpClient {
|
|
|
3511
3501
|
* @response `201` `UserLoanTask` Created
|
|
3512
3502
|
* @response `404` `ProblemDetails` Not Found
|
|
3513
3503
|
*/
|
|
3514
|
-
createLoanTask: (loanId, taskId, data, params = {}) => this.request(Object.assign({ path: `/api/loans/${loanId}/tasks/${taskId}`, method: "POST", body: data, secure: true, type:
|
|
3504
|
+
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)),
|
|
3515
3505
|
/**
|
|
3516
3506
|
* No description
|
|
3517
3507
|
*
|
|
@@ -3523,7 +3513,7 @@ export class Api extends HttpClient {
|
|
|
3523
3513
|
* @response `201` `(UserLoanTask)[]` Created
|
|
3524
3514
|
* @response `404` `ProblemDetails` Not Found
|
|
3525
3515
|
*/
|
|
3526
|
-
importLoanTask: (loanId, data, params = {}) => this.request(Object.assign({ path: `/api/loans/${loanId}/tasks/import`, method: "POST", body: data, secure: true, type:
|
|
3516
|
+
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)),
|
|
3527
3517
|
/**
|
|
3528
3518
|
* No description
|
|
3529
3519
|
*
|
|
@@ -3535,7 +3525,7 @@ export class Api extends HttpClient {
|
|
|
3535
3525
|
* @response `200` `UserLoanTask` OK
|
|
3536
3526
|
* @response `404` `ProblemDetails` Not Found
|
|
3537
3527
|
*/
|
|
3538
|
-
replaceLoanTask: (loanId, userLoanTaskId, data, params = {}) => this.request(Object.assign({ path: `/api/loans/${loanId}/tasks/${userLoanTaskId}`, method: "PUT", body: data, secure: true, type:
|
|
3528
|
+
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)),
|
|
3539
3529
|
/**
|
|
3540
3530
|
* No description
|
|
3541
3531
|
*
|
|
@@ -3594,7 +3584,7 @@ export class Api extends HttpClient {
|
|
|
3594
3584
|
* @secure
|
|
3595
3585
|
* @response `201` `LoanUser` Created
|
|
3596
3586
|
*/
|
|
3597
|
-
addLoanUser: (loanId, userId, data, params = {}) => this.request(Object.assign({ path: `/api/loans/${loanId}/users/${userId}`, method: "POST", body: data, secure: true, type:
|
|
3587
|
+
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)),
|
|
3598
3588
|
/**
|
|
3599
3589
|
* No description
|
|
3600
3590
|
*
|
|
@@ -3627,7 +3617,7 @@ export class Api extends HttpClient {
|
|
|
3627
3617
|
* @secure
|
|
3628
3618
|
* @response `200` `LosOperationTrackingPaginated` OK
|
|
3629
3619
|
*/
|
|
3630
|
-
searchLosOperationTracking: (data, query, params = {}) => this.request(Object.assign({ path: `/api/los-operation-tracking/search`, method: "POST", query: query, body: data, secure: true, type:
|
|
3620
|
+
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)),
|
|
3631
3621
|
/**
|
|
3632
3622
|
* No description
|
|
3633
3623
|
*
|
|
@@ -3650,7 +3640,7 @@ export class Api extends HttpClient {
|
|
|
3650
3640
|
* @response `201` `MilestoneConfiguration` Created
|
|
3651
3641
|
* @response `422` `UnprocessableEntity` Unprocessable Content
|
|
3652
3642
|
*/
|
|
3653
|
-
createMilestone: (data, params = {}) => this.request(Object.assign({ path: `/api/milestones`, method: "POST", body: data, secure: true, type:
|
|
3643
|
+
createMilestone: (data, params = {}) => this.request(Object.assign({ path: `/api/milestones`, method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
|
|
3654
3644
|
/**
|
|
3655
3645
|
* No description
|
|
3656
3646
|
*
|
|
@@ -3675,7 +3665,7 @@ export class Api extends HttpClient {
|
|
|
3675
3665
|
* @response `404` `Error` Not Found
|
|
3676
3666
|
* @response `422` `UnprocessableEntity` Unprocessable Content
|
|
3677
3667
|
*/
|
|
3678
|
-
replaceMilestone: (id, data, params = {}) => this.request(Object.assign({ path: `/api/milestones/${id}`, method: "PUT", body: data, secure: true, type:
|
|
3668
|
+
replaceMilestone: (id, data, params = {}) => this.request(Object.assign({ path: `/api/milestones/${id}`, method: "PUT", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
|
|
3679
3669
|
/**
|
|
3680
3670
|
* No description
|
|
3681
3671
|
*
|
|
@@ -3701,7 +3691,7 @@ export class Api extends HttpClient {
|
|
|
3701
3691
|
* @response `404` `ProblemDetails` Not Found
|
|
3702
3692
|
* @response `422` `ProblemDetails` Unprocessable Content
|
|
3703
3693
|
*/
|
|
3704
|
-
seedMobileAppReview: (data, params = {}) => this.request(Object.assign({ path: `/api/mobile-app-review/seed`, method: "POST", body: data, secure: true, type:
|
|
3694
|
+
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)),
|
|
3705
3695
|
/**
|
|
3706
3696
|
* No description
|
|
3707
3697
|
*
|
|
@@ -3713,7 +3703,7 @@ export class Api extends HttpClient {
|
|
|
3713
3703
|
* @response `200` `MonthlyPaymentCalculator` OK
|
|
3714
3704
|
* @response `422` `ProblemDetails` Unprocessable Content
|
|
3715
3705
|
*/
|
|
3716
|
-
calculateMortgageMonthlyPayment: (data, params = {}) => this.request(Object.assign({ path: `/api/mortgage-calculators/monthly-payment`, method: "POST", body: data, secure: true, type:
|
|
3706
|
+
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)),
|
|
3717
3707
|
/**
|
|
3718
3708
|
* No description
|
|
3719
3709
|
*
|
|
@@ -3725,7 +3715,7 @@ export class Api extends HttpClient {
|
|
|
3725
3715
|
* @response `200` `AffordabilityCalculator` OK
|
|
3726
3716
|
* @response `422` `ProblemDetails` Unprocessable Content
|
|
3727
3717
|
*/
|
|
3728
|
-
calculateMortgageAffordability: (data, params = {}) => this.request(Object.assign({ path: `/api/mortgage-calculators/affordability`, method: "POST", body: data, secure: true, type:
|
|
3718
|
+
calculateMortgageAffordability: (data, params = {}) => this.request(Object.assign({ path: `/api/mortgage-calculators/affordability`, method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
|
|
3729
3719
|
/**
|
|
3730
3720
|
* No description
|
|
3731
3721
|
*
|
|
@@ -3737,7 +3727,7 @@ export class Api extends HttpClient {
|
|
|
3737
3727
|
* @response `200` `LoanComparisonCalculator` OK
|
|
3738
3728
|
* @response `422` `ProblemDetails` Unprocessable Content
|
|
3739
3729
|
*/
|
|
3740
|
-
calculateMortgageLoanComparison: (data, params = {}) => this.request(Object.assign({ path: `/api/mortgage-calculators/loan-comparison`, method: "POST", body: data, secure: true, type:
|
|
3730
|
+
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)),
|
|
3741
3731
|
/**
|
|
3742
3732
|
* No description
|
|
3743
3733
|
*
|
|
@@ -3749,33 +3739,7 @@ export class Api extends HttpClient {
|
|
|
3749
3739
|
* @response `200` `RefinanceCalculator` OK
|
|
3750
3740
|
* @response `422` `ProblemDetails` Unprocessable Content
|
|
3751
3741
|
*/
|
|
3752
|
-
calculateMortgageRefinance: (data, params = {}) => this.request(Object.assign({ path: `/api/mortgage-calculators/refinance`, method: "POST", body: data, secure: true, type:
|
|
3753
|
-
/**
|
|
3754
|
-
* No description
|
|
3755
|
-
*
|
|
3756
|
-
* @tags Notifications
|
|
3757
|
-
* @name SendNotificationForLoan
|
|
3758
|
-
* @summary Send Notification for Loan
|
|
3759
|
-
* @request POST:/api/notifications
|
|
3760
|
-
* @deprecated
|
|
3761
|
-
* @secure
|
|
3762
|
-
* @response `200` `void` OK
|
|
3763
|
-
* @response `422` `UnprocessableEntity` Unprocessable Content
|
|
3764
|
-
*/
|
|
3765
|
-
sendNotificationForLoan: (data, params = {}) => this.request(Object.assign({ path: `/api/notifications`, method: "POST", body: data, secure: true, type: "application/json" }, params)),
|
|
3766
|
-
/**
|
|
3767
|
-
* No description
|
|
3768
|
-
*
|
|
3769
|
-
* @tags Notifications
|
|
3770
|
-
* @name SendTestNotificationForLoan
|
|
3771
|
-
* @summary Send Test Notification for Loan
|
|
3772
|
-
* @request POST:/api/notifications/test
|
|
3773
|
-
* @deprecated
|
|
3774
|
-
* @secure
|
|
3775
|
-
* @response `200` `void` OK
|
|
3776
|
-
* @response `422` `UnprocessableEntity` Unprocessable Content
|
|
3777
|
-
*/
|
|
3778
|
-
sendTestNotificationForLoan: (data, params = {}) => this.request(Object.assign({ path: `/api/notifications/test`, method: "POST", body: data, secure: true, type: "application/json" }, params)),
|
|
3742
|
+
calculateMortgageRefinance: (data, params = {}) => this.request(Object.assign({ path: `/api/mortgage-calculators/refinance`, method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
|
|
3779
3743
|
/**
|
|
3780
3744
|
* No description
|
|
3781
3745
|
*
|
|
@@ -3798,7 +3762,7 @@ export class Api extends HttpClient {
|
|
|
3798
3762
|
* @response `201` `NotificationTemplate` Created
|
|
3799
3763
|
* @response `422` `UnprocessableEntity` Unprocessable Content
|
|
3800
3764
|
*/
|
|
3801
|
-
createNotificationTemplate: (data, params = {}) => this.request(Object.assign({ path: `/api/notification-templates`, method: "POST", body: data, secure: true, type:
|
|
3765
|
+
createNotificationTemplate: (data, params = {}) => this.request(Object.assign({ path: `/api/notification-templates`, method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
|
|
3802
3766
|
/**
|
|
3803
3767
|
* No description
|
|
3804
3768
|
*
|
|
@@ -3809,7 +3773,7 @@ export class Api extends HttpClient {
|
|
|
3809
3773
|
* @secure
|
|
3810
3774
|
* @response `200` `NotificationTemplateBasePaginated` OK
|
|
3811
3775
|
*/
|
|
3812
|
-
searchNotificationTemplates: (data, query, params = {}) => this.request(Object.assign({ path: `/api/notification-templates/search`, method: "POST", query: query, body: data, secure: true, type:
|
|
3776
|
+
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)),
|
|
3813
3777
|
/**
|
|
3814
3778
|
* No description
|
|
3815
3779
|
*
|
|
@@ -3832,7 +3796,7 @@ export class Api extends HttpClient {
|
|
|
3832
3796
|
* @response `200` `NotificationTemplate` OK
|
|
3833
3797
|
* @response `422` `UnprocessableEntity` Unprocessable Content
|
|
3834
3798
|
*/
|
|
3835
|
-
replaceNotificationTemplate: (id, data, params = {}) => this.request(Object.assign({ path: `/api/notification-templates/${id}`, method: "PUT", body: data, secure: true, type:
|
|
3799
|
+
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)),
|
|
3836
3800
|
/**
|
|
3837
3801
|
* No description
|
|
3838
3802
|
*
|
|
@@ -3876,7 +3840,7 @@ export class Api extends HttpClient {
|
|
|
3876
3840
|
* @secure
|
|
3877
3841
|
* @response `200` `NotificationTemplateVersion` OK
|
|
3878
3842
|
*/
|
|
3879
|
-
createNotificationTemplateVersion: (notificationId, data, params = {}) => this.request(Object.assign({ path: `/api/notification-templates/${notificationId}/versions`, method: "POST", body: data, secure: true, type:
|
|
3843
|
+
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)),
|
|
3880
3844
|
/**
|
|
3881
3845
|
* No description
|
|
3882
3846
|
*
|
|
@@ -3898,7 +3862,7 @@ export class Api extends HttpClient {
|
|
|
3898
3862
|
* @secure
|
|
3899
3863
|
* @response `200` `NotificationTemplateVersion` OK
|
|
3900
3864
|
*/
|
|
3901
|
-
replaceNotificationTemplateVersion: (notificationId, id, data, params = {}) => this.request(Object.assign({ path: `/api/notification-templates/${notificationId}/versions/${id}`, method: "PUT", body: data, secure: true, type:
|
|
3865
|
+
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)),
|
|
3902
3866
|
/**
|
|
3903
3867
|
* No description
|
|
3904
3868
|
*
|
|
@@ -3931,7 +3895,7 @@ export class Api extends HttpClient {
|
|
|
3931
3895
|
* @secure
|
|
3932
3896
|
* @response `200` `BranchUserPaginated` OK
|
|
3933
3897
|
*/
|
|
3934
|
-
searchPartners: (data, query, params = {}) => this.request(Object.assign({ path: `/api/partners/search`, method: "POST", query: query, body: data, secure: true, type:
|
|
3898
|
+
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)),
|
|
3935
3899
|
/**
|
|
3936
3900
|
* No description
|
|
3937
3901
|
*
|
|
@@ -3954,7 +3918,7 @@ export class Api extends HttpClient {
|
|
|
3954
3918
|
* @response `200` `SiteConfiguration` OK
|
|
3955
3919
|
* @response `422` `UnprocessableEntity` Unprocessable Content
|
|
3956
3920
|
*/
|
|
3957
|
-
createPartnerSiteConfiguration: (realtorId, data, params = {}) => this.request(Object.assign({ path: `/api/partners/${realtorId}/site-configurations`, method: "POST", body: data, secure: true, type:
|
|
3921
|
+
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)),
|
|
3958
3922
|
/**
|
|
3959
3923
|
* No description
|
|
3960
3924
|
*
|
|
@@ -3977,7 +3941,7 @@ export class Api extends HttpClient {
|
|
|
3977
3941
|
* @response `200` `SiteConfiguration` OK
|
|
3978
3942
|
* @response `422` `UnprocessableEntity` Unprocessable Content
|
|
3979
3943
|
*/
|
|
3980
|
-
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:
|
|
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: ContentType.Json, format: "json" }, params)),
|
|
3981
3945
|
/**
|
|
3982
3946
|
* No description
|
|
3983
3947
|
*
|
|
@@ -4001,7 +3965,7 @@ export class Api extends HttpClient {
|
|
|
4001
3965
|
* @response `200` `SiteConfigurationByUrl` OK
|
|
4002
3966
|
* @response `422` `UnprocessableEntity` Unprocessable Content
|
|
4003
3967
|
*/
|
|
4004
|
-
searchSiteConfigurationByUrl: (data, params = {}) => this.request(Object.assign({ path: `/api/site-configurations/url`, method: "POST", body: data, secure: true, type:
|
|
3968
|
+
searchSiteConfigurationByUrl: (data, params = {}) => this.request(Object.assign({ path: `/api/site-configurations/url`, method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
|
|
4005
3969
|
/**
|
|
4006
3970
|
* No description
|
|
4007
3971
|
*
|
|
@@ -4026,7 +3990,7 @@ export class Api extends HttpClient {
|
|
|
4026
3990
|
* @response `200` `SiteConfiguration` OK
|
|
4027
3991
|
* @response `422` `UnprocessableEntity` Unprocessable Content
|
|
4028
3992
|
*/
|
|
4029
|
-
searchSiteConfigurationByLoanOfficerUser: (data, params = {}) => this.request(Object.assign({ path: `/api/site-configurations/louser`, method: "POST", body: data, secure: true, type:
|
|
3993
|
+
searchSiteConfigurationByLoanOfficerUser: (data, params = {}) => this.request(Object.assign({ path: `/api/site-configurations/louser`, method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
|
|
4030
3994
|
/**
|
|
4031
3995
|
* No description
|
|
4032
3996
|
*
|
|
@@ -4050,7 +4014,7 @@ export class Api extends HttpClient {
|
|
|
4050
4014
|
* @response `200` `SiteConfigurationSummaryPaginated` OK
|
|
4051
4015
|
* @response `422` `UnprocessableEntity` Unprocessable Content
|
|
4052
4016
|
*/
|
|
4053
|
-
searchSiteConfigurations: (data, query, params = {}) => this.request(Object.assign({ path: `/api/site-configurations/search`, method: "POST", query: query, body: data, secure: true, type:
|
|
4017
|
+
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)),
|
|
4054
4018
|
/**
|
|
4055
4019
|
* No description
|
|
4056
4020
|
*
|
|
@@ -4142,7 +4106,7 @@ export class Api extends HttpClient {
|
|
|
4142
4106
|
* @secure
|
|
4143
4107
|
* @response `200` `GetForm` OK
|
|
4144
4108
|
*/
|
|
4145
|
-
getFormBySiteConfigurationSlug: (data, params = {}) => this.request(Object.assign({ path: `/api/site-forms`, method: "POST", body: data, secure: true, type:
|
|
4109
|
+
getFormBySiteConfigurationSlug: (data, params = {}) => this.request(Object.assign({ path: `/api/site-forms`, method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
|
|
4146
4110
|
/**
|
|
4147
4111
|
* No description
|
|
4148
4112
|
*
|
|
@@ -4165,7 +4129,7 @@ export class Api extends HttpClient {
|
|
|
4165
4129
|
* @response `200` `(SocialSurveyRecord)[]` OK
|
|
4166
4130
|
* @response `422` `UnprocessableEntity` Unprocessable Content
|
|
4167
4131
|
*/
|
|
4168
|
-
getSurveysByUser: (data, params = {}) => this.request(Object.assign({ path: `/api/surveys`, method: "POST", body: data, secure: true, type:
|
|
4132
|
+
getSurveysByUser: (data, params = {}) => this.request(Object.assign({ path: `/api/surveys`, method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
|
|
4169
4133
|
/**
|
|
4170
4134
|
* No description
|
|
4171
4135
|
*
|
|
@@ -4188,7 +4152,7 @@ export class Api extends HttpClient {
|
|
|
4188
4152
|
* @secure
|
|
4189
4153
|
* @response `201` `Task` Created
|
|
4190
4154
|
*/
|
|
4191
|
-
createTask: (data, params = {}) => this.request(Object.assign({ path: `/api/tasks`, method: "POST", body: data, secure: true, type:
|
|
4155
|
+
createTask: (data, params = {}) => this.request(Object.assign({ path: `/api/tasks`, method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
|
|
4192
4156
|
/**
|
|
4193
4157
|
* No description
|
|
4194
4158
|
*
|
|
@@ -4212,7 +4176,7 @@ export class Api extends HttpClient {
|
|
|
4212
4176
|
* @response `200` `Task` OK
|
|
4213
4177
|
* @response `404` `ProblemDetails` Not Found
|
|
4214
4178
|
*/
|
|
4215
|
-
replaceTask: (id, data, params = {}) => this.request(Object.assign({ path: `/api/tasks/${id}`, method: "PUT", body: data, secure: true, type:
|
|
4179
|
+
replaceTask: (id, data, params = {}) => this.request(Object.assign({ path: `/api/tasks/${id}`, method: "PUT", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
|
|
4216
4180
|
/**
|
|
4217
4181
|
* No description
|
|
4218
4182
|
*
|
|
@@ -4235,7 +4199,7 @@ export class Api extends HttpClient {
|
|
|
4235
4199
|
* @secure
|
|
4236
4200
|
* @response `200` `TaskPaginated` OK
|
|
4237
4201
|
*/
|
|
4238
|
-
searchTasks: (data, query, params = {}) => this.request(Object.assign({ path: `/api/tasks/search`, method: "POST", query: query, body: data, secure: true, type:
|
|
4202
|
+
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)),
|
|
4239
4203
|
/**
|
|
4240
4204
|
* No description
|
|
4241
4205
|
*
|
|
@@ -4245,7 +4209,7 @@ export class Api extends HttpClient {
|
|
|
4245
4209
|
* @secure
|
|
4246
4210
|
* @response `200` `void` OK
|
|
4247
4211
|
*/
|
|
4248
|
-
integrationsLosLoansCreate: (data, params = {}) => this.request(Object.assign({ path: `/api/integrations/los/loans`, method: "POST", body: data, secure: true, type:
|
|
4212
|
+
integrationsLosLoansCreate: (data, params = {}) => this.request(Object.assign({ path: `/api/integrations/los/loans`, method: "POST", body: data, secure: true, type: ContentType.Json }, params)),
|
|
4249
4213
|
/**
|
|
4250
4214
|
* No description
|
|
4251
4215
|
*
|
|
@@ -4256,7 +4220,7 @@ export class Api extends HttpClient {
|
|
|
4256
4220
|
* @secure
|
|
4257
4221
|
* @response `200` `EncompassRequestLogPaginated` OK
|
|
4258
4222
|
*/
|
|
4259
|
-
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:
|
|
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: ContentType.Json, format: "json" }, params)),
|
|
4260
4224
|
/**
|
|
4261
4225
|
* No description
|
|
4262
4226
|
*
|
|
@@ -4279,7 +4243,7 @@ export class Api extends HttpClient {
|
|
|
4279
4243
|
* @secure
|
|
4280
4244
|
* @response `201` `LosCredentials` Created
|
|
4281
4245
|
*/
|
|
4282
|
-
createEncompassCredentials: (data, params = {}) => this.request(Object.assign({ path: `/api/los/encompass/credentials`, method: "POST", body: data, secure: true, type:
|
|
4246
|
+
createEncompassCredentials: (data, params = {}) => this.request(Object.assign({ path: `/api/los/encompass/credentials`, method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
|
|
4283
4247
|
/**
|
|
4284
4248
|
* No description
|
|
4285
4249
|
*
|
|
@@ -4290,7 +4254,7 @@ export class Api extends HttpClient {
|
|
|
4290
4254
|
* @secure
|
|
4291
4255
|
* @response `200` `EncompassCredentialsDetail` OK
|
|
4292
4256
|
*/
|
|
4293
|
-
updateEncompassCredentials: (data, params = {}) => this.request(Object.assign({ path: `/api/los/encompass/credentials`, method: "PUT", body: data, secure: true, type:
|
|
4257
|
+
updateEncompassCredentials: (data, params = {}) => this.request(Object.assign({ path: `/api/los/encompass/credentials`, method: "PUT", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
|
|
4294
4258
|
/**
|
|
4295
4259
|
* No description
|
|
4296
4260
|
*
|
|
@@ -4312,7 +4276,7 @@ export class Api extends HttpClient {
|
|
|
4312
4276
|
* @secure
|
|
4313
4277
|
* @response `201` `LosWebhook` Created
|
|
4314
4278
|
*/
|
|
4315
|
-
createEncompassWebhook: (data, params = {}) => this.request(Object.assign({ path: `/api/los/encompass/webhooks`, method: "POST", body: data, secure: true, type:
|
|
4279
|
+
createEncompassWebhook: (data, params = {}) => this.request(Object.assign({ path: `/api/los/encompass/webhooks`, method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
|
|
4316
4280
|
/**
|
|
4317
4281
|
* No description
|
|
4318
4282
|
*
|
|
@@ -4334,7 +4298,7 @@ export class Api extends HttpClient {
|
|
|
4334
4298
|
* @secure
|
|
4335
4299
|
* @response `200` `LosSyncPaginated` OK
|
|
4336
4300
|
*/
|
|
4337
|
-
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:
|
|
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: ContentType.Json, format: "json" }, params)),
|
|
4338
4302
|
/**
|
|
4339
4303
|
* No description
|
|
4340
4304
|
*
|
|
@@ -4417,7 +4381,7 @@ export class Api extends HttpClient {
|
|
|
4417
4381
|
* @response `201` `UserDevice` Created
|
|
4418
4382
|
* @response `400` `ProblemDetails` Bad Request
|
|
4419
4383
|
*/
|
|
4420
|
-
createUserDevice: (data, params = {}) => this.request(Object.assign({ path: `/api/userdevices`, method: "POST", body: data, secure: true, type:
|
|
4384
|
+
createUserDevice: (data, params = {}) => this.request(Object.assign({ path: `/api/userdevices`, method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
|
|
4421
4385
|
/**
|
|
4422
4386
|
* No description
|
|
4423
4387
|
*
|
|
@@ -4462,7 +4426,7 @@ export class Api extends HttpClient {
|
|
|
4462
4426
|
* @secure
|
|
4463
4427
|
* @response `200` `UserDraft` OK
|
|
4464
4428
|
*/
|
|
4465
|
-
addDraftUsers: (draftId, userId, data, params = {}) => this.request(Object.assign({ path: `/api/loans/drafts/${draftId}/users/${userId}`, method: "POST", body: data, secure: true, type:
|
|
4429
|
+
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)),
|
|
4466
4430
|
/**
|
|
4467
4431
|
* No description
|
|
4468
4432
|
*
|
|
@@ -4495,7 +4459,7 @@ export class Api extends HttpClient {
|
|
|
4495
4459
|
* @secure
|
|
4496
4460
|
* @response `200` `UserGroupAccessScope` OK
|
|
4497
4461
|
*/
|
|
4498
|
-
createUserGroupAccessScope: (groupId, data, params = {}) => this.request(Object.assign({ path: `/api/user-groups/${groupId}/scopes`, method: "POST", body: data, secure: true, type:
|
|
4462
|
+
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)),
|
|
4499
4463
|
/**
|
|
4500
4464
|
* No description
|
|
4501
4465
|
*
|
|
@@ -4528,7 +4492,7 @@ export class Api extends HttpClient {
|
|
|
4528
4492
|
* @secure
|
|
4529
4493
|
* @response `200` `UserGroupMember` OK
|
|
4530
4494
|
*/
|
|
4531
|
-
createUserGroupMember: (groupId, data, query, params = {}) => this.request(Object.assign({ path: `/api/user-groups/${groupId}/members`, method: "POST", query: query, body: data, secure: true, type:
|
|
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: ContentType.Json, format: "json" }, params)),
|
|
4532
4496
|
/**
|
|
4533
4497
|
* No description
|
|
4534
4498
|
*
|
|
@@ -4572,7 +4536,7 @@ export class Api extends HttpClient {
|
|
|
4572
4536
|
* @secure
|
|
4573
4537
|
* @response `200` `UserGroup` OK
|
|
4574
4538
|
*/
|
|
4575
|
-
updateUserGroup: (groupId, data, params = {}) => this.request(Object.assign({ path: `/api/user-groups/${groupId}`, method: "PUT", body: data, secure: true, type:
|
|
4539
|
+
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)),
|
|
4576
4540
|
/**
|
|
4577
4541
|
* No description
|
|
4578
4542
|
*
|
|
@@ -4594,7 +4558,7 @@ export class Api extends HttpClient {
|
|
|
4594
4558
|
* @secure
|
|
4595
4559
|
* @response `201` `UserGroup` Created
|
|
4596
4560
|
*/
|
|
4597
|
-
createUserGroup: (data, params = {}) => this.request(Object.assign({ path: `/api/user-groups`, method: "POST", body: data, secure: true, type:
|
|
4561
|
+
createUserGroup: (data, params = {}) => this.request(Object.assign({ path: `/api/user-groups`, method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
|
|
4598
4562
|
/**
|
|
4599
4563
|
* No description
|
|
4600
4564
|
*
|
|
@@ -4607,7 +4571,7 @@ export class Api extends HttpClient {
|
|
|
4607
4571
|
* @response `404` `Error` Not Found
|
|
4608
4572
|
* @response `422` `UnprocessableEntity` Unprocessable Content
|
|
4609
4573
|
*/
|
|
4610
|
-
requestImpersonation: (data, params = {}) => this.request(Object.assign({ path: `/api/users/impersonation/request`, method: "POST", body: data, secure: true, type:
|
|
4574
|
+
requestImpersonation: (data, params = {}) => this.request(Object.assign({ path: `/api/users/impersonation/request`, method: "POST", body: data, secure: true, type: ContentType.Json }, params)),
|
|
4611
4575
|
/**
|
|
4612
4576
|
* No description
|
|
4613
4577
|
*
|
|
@@ -4620,7 +4584,7 @@ export class Api extends HttpClient {
|
|
|
4620
4584
|
* @response `404` `Error` Not Found
|
|
4621
4585
|
* @response `422` `UnprocessableEntity` Unprocessable Content
|
|
4622
4586
|
*/
|
|
4623
|
-
allowImpersonation: (data, params = {}) => this.request(Object.assign({ path: `/api/users/impersonation/allow`, method: "POST", body: data, secure: true, type:
|
|
4587
|
+
allowImpersonation: (data, params = {}) => this.request(Object.assign({ path: `/api/users/impersonation/allow`, method: "POST", body: data, secure: true, type: ContentType.Json }, params)),
|
|
4624
4588
|
/**
|
|
4625
4589
|
* No description
|
|
4626
4590
|
*
|
|
@@ -4670,7 +4634,7 @@ export class Api extends HttpClient {
|
|
|
4670
4634
|
* @response `404` `Error` Not Found
|
|
4671
4635
|
* @response `422` `UnprocessableEntity` Unprocessable Content
|
|
4672
4636
|
*/
|
|
4673
|
-
forceImpersonation: (data, params = {}) => this.request(Object.assign({ path: `/api/users/impersonation/force`, method: "POST", body: data, secure: true, type:
|
|
4637
|
+
forceImpersonation: (data, params = {}) => this.request(Object.assign({ path: `/api/users/impersonation/force`, method: "POST", body: data, secure: true, type: ContentType.Json }, params)),
|
|
4674
4638
|
/**
|
|
4675
4639
|
* No description
|
|
4676
4640
|
*
|
|
@@ -4694,7 +4658,7 @@ export class Api extends HttpClient {
|
|
|
4694
4658
|
* @response `204` `void` No Content
|
|
4695
4659
|
* @response `422` `UnprocessableEntity` Unprocessable Content
|
|
4696
4660
|
*/
|
|
4697
|
-
inviteUser: (data, params = {}) => this.request(Object.assign({ path: `/api/users/invites`, method: "POST", body: data, secure: true, type:
|
|
4661
|
+
inviteUser: (data, params = {}) => this.request(Object.assign({ path: `/api/users/invites`, method: "POST", body: data, secure: true, type: ContentType.Json }, params)),
|
|
4698
4662
|
/**
|
|
4699
4663
|
* No description
|
|
4700
4664
|
*
|
|
@@ -4741,7 +4705,7 @@ export class Api extends HttpClient {
|
|
|
4741
4705
|
* @secure
|
|
4742
4706
|
* @response `204` `void` No Content
|
|
4743
4707
|
*/
|
|
4744
|
-
createUserRelation: (userId, data, params = {}) => this.request(Object.assign({ path: `/api/users/${userId}/relations`, method: "POST", body: data, secure: true, type:
|
|
4708
|
+
createUserRelation: (userId, data, params = {}) => this.request(Object.assign({ path: `/api/users/${userId}/relations`, method: "POST", body: data, secure: true, type: ContentType.Json }, params)),
|
|
4745
4709
|
/**
|
|
4746
4710
|
* No description
|
|
4747
4711
|
*
|
|
@@ -4786,7 +4750,7 @@ export class Api extends HttpClient {
|
|
|
4786
4750
|
* @response `200` `DetailedUser` OK
|
|
4787
4751
|
* @response `422` `UnprocessableEntity` Unprocessable Content
|
|
4788
4752
|
*/
|
|
4789
|
-
createUser: (data, params = {}) => this.request(Object.assign({ path: `/api/users`, method: "POST", body: data, secure: true, type:
|
|
4753
|
+
createUser: (data, params = {}) => this.request(Object.assign({ path: `/api/users`, method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
|
|
4790
4754
|
/**
|
|
4791
4755
|
* No description
|
|
4792
4756
|
*
|
|
@@ -4797,7 +4761,7 @@ export class Api extends HttpClient {
|
|
|
4797
4761
|
* @secure
|
|
4798
4762
|
* @response `200` `UserPaginated` OK
|
|
4799
4763
|
*/
|
|
4800
|
-
searchUsers: (data, query, params = {}) => this.request(Object.assign({ path: `/api/users/search`, method: "POST", query: query, body: data, secure: true, type:
|
|
4764
|
+
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)),
|
|
4801
4765
|
/**
|
|
4802
4766
|
* No description
|
|
4803
4767
|
*
|
|
@@ -4808,7 +4772,7 @@ export class Api extends HttpClient {
|
|
|
4808
4772
|
* @secure
|
|
4809
4773
|
* @response `200` `AdminAccessUser` OK
|
|
4810
4774
|
*/
|
|
4811
|
-
getUserByEmail: (data, params = {}) => this.request(Object.assign({ path: `/api/users/byemail`, method: "POST", body: data, secure: true, type:
|
|
4775
|
+
getUserByEmail: (data, params = {}) => this.request(Object.assign({ path: `/api/users/byemail`, method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
|
|
4812
4776
|
/**
|
|
4813
4777
|
* No description
|
|
4814
4778
|
*
|
|
@@ -4820,7 +4784,7 @@ export class Api extends HttpClient {
|
|
|
4820
4784
|
* @response `200` `User` OK
|
|
4821
4785
|
* @response `422` `UnprocessableEntity` Unprocessable Content
|
|
4822
4786
|
*/
|
|
4823
|
-
signUp: (data, params = {}) => this.request(Object.assign({ path: `/api/users/register`, method: "POST", body: data, secure: true, type:
|
|
4787
|
+
signUp: (data, params = {}) => this.request(Object.assign({ path: `/api/users/register`, method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
|
|
4824
4788
|
/**
|
|
4825
4789
|
* No description
|
|
4826
4790
|
*
|
|
@@ -4832,7 +4796,7 @@ export class Api extends HttpClient {
|
|
|
4832
4796
|
* @response `200` `DetailedUser` OK
|
|
4833
4797
|
* @response `422` `UnprocessableEntity` Unprocessable Content
|
|
4834
4798
|
*/
|
|
4835
|
-
replaceUser: (id, data, params = {}) => this.request(Object.assign({ path: `/api/users/${id}`, method: "PUT", body: data, secure: true, type:
|
|
4799
|
+
replaceUser: (id, data, params = {}) => this.request(Object.assign({ path: `/api/users/${id}`, method: "PUT", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
|
|
4836
4800
|
/**
|
|
4837
4801
|
* No description
|
|
4838
4802
|
*
|
|
@@ -4866,7 +4830,7 @@ export class Api extends HttpClient {
|
|
|
4866
4830
|
* @response `204` `void` No Content
|
|
4867
4831
|
* @response `422` `UnprocessableEntity` Unprocessable Content
|
|
4868
4832
|
*/
|
|
4869
|
-
changePassword: (data, params = {}) => this.request(Object.assign({ path: `/api/users/change-password`, method: "POST", body: data, secure: true, type:
|
|
4833
|
+
changePassword: (data, params = {}) => this.request(Object.assign({ path: `/api/users/change-password`, method: "POST", body: data, secure: true, type: ContentType.Json }, params)),
|
|
4870
4834
|
/**
|
|
4871
4835
|
* No description
|
|
4872
4836
|
*
|
|
@@ -4878,7 +4842,7 @@ export class Api extends HttpClient {
|
|
|
4878
4842
|
* @response `204` `void` No Content
|
|
4879
4843
|
* @response `422` `UnprocessableEntity` Unprocessable Content
|
|
4880
4844
|
*/
|
|
4881
|
-
verifyPassword: (data, params = {}) => this.request(Object.assign({ path: `/api/users/verify-password`, method: "POST", body: data, secure: true, type:
|
|
4845
|
+
verifyPassword: (data, params = {}) => this.request(Object.assign({ path: `/api/users/verify-password`, method: "POST", body: data, secure: true, type: ContentType.Json }, params)),
|
|
4882
4846
|
/**
|
|
4883
4847
|
* No description
|
|
4884
4848
|
*
|
|
@@ -4890,7 +4854,7 @@ export class Api extends HttpClient {
|
|
|
4890
4854
|
* @response `204` `void` No Content
|
|
4891
4855
|
* @response `422` `UnprocessableEntity` Unprocessable Content
|
|
4892
4856
|
*/
|
|
4893
|
-
overridePassword: (id, data, params = {}) => this.request(Object.assign({ path: `/api/users/${id}/override-password`, method: "POST", body: data, secure: true, type:
|
|
4857
|
+
overridePassword: (id, data, params = {}) => this.request(Object.assign({ path: `/api/users/${id}/override-password`, method: "POST", body: data, secure: true, type: ContentType.Json }, params)),
|
|
4894
4858
|
/**
|
|
4895
4859
|
* No description
|
|
4896
4860
|
*
|
|
@@ -4902,7 +4866,7 @@ export class Api extends HttpClient {
|
|
|
4902
4866
|
* @response `204` `void` No Content
|
|
4903
4867
|
* @response `422` `UnprocessableEntity` Unprocessable Content
|
|
4904
4868
|
*/
|
|
4905
|
-
forgotPassword: (data, params = {}) => this.request(Object.assign({ path: `/api/users/forgot-password`, method: "POST", body: data, secure: true, type:
|
|
4869
|
+
forgotPassword: (data, params = {}) => this.request(Object.assign({ path: `/api/users/forgot-password`, method: "POST", body: data, secure: true, type: ContentType.Json }, params)),
|
|
4906
4870
|
/**
|
|
4907
4871
|
* No description
|
|
4908
4872
|
*
|
|
@@ -4926,7 +4890,7 @@ export class Api extends HttpClient {
|
|
|
4926
4890
|
* @response `204` `void` No Content
|
|
4927
4891
|
* @response `422` `UnprocessableEntity` Unprocessable Content
|
|
4928
4892
|
*/
|
|
4929
|
-
verifyUserMobilePhone: (data, params = {}) => this.request(Object.assign({ path: `/api/users/mobile-phone/verify-code`, method: "PUT", body: data, secure: true, type:
|
|
4893
|
+
verifyUserMobilePhone: (data, params = {}) => this.request(Object.assign({ path: `/api/users/mobile-phone/verify-code`, method: "PUT", body: data, secure: true, type: ContentType.Json }, params)),
|
|
4930
4894
|
/**
|
|
4931
4895
|
* No description
|
|
4932
4896
|
*
|
|
@@ -4949,7 +4913,7 @@ export class Api extends HttpClient {
|
|
|
4949
4913
|
* @secure
|
|
4950
4914
|
* @response `200` `DetailedUser` OK
|
|
4951
4915
|
*/
|
|
4952
|
-
replaceMe: (data, params = {}) => this.request(Object.assign({ path: `/api/users/me`, method: "PUT", body: data, secure: true, type:
|
|
4916
|
+
replaceMe: (data, params = {}) => this.request(Object.assign({ path: `/api/users/me`, method: "PUT", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
|
|
4953
4917
|
/**
|
|
4954
4918
|
* @description Update the phone number If changed will send a verification code to the new number
|
|
4955
4919
|
*
|
|
@@ -4960,7 +4924,7 @@ export class Api extends HttpClient {
|
|
|
4960
4924
|
* @secure
|
|
4961
4925
|
* @response `204` `DetailedUser` No Content
|
|
4962
4926
|
*/
|
|
4963
|
-
updateMyPhone: (data, params = {}) => this.request(Object.assign({ path: `/api/users/me/phone-number`, method: "PUT", body: data, secure: true, type:
|
|
4927
|
+
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)),
|
|
4964
4928
|
/**
|
|
4965
4929
|
* No description
|
|
4966
4930
|
*
|
|
@@ -5004,7 +4968,7 @@ export class Api extends HttpClient {
|
|
|
5004
4968
|
* @secure
|
|
5005
4969
|
* @response `204` `void` No Content
|
|
5006
4970
|
*/
|
|
5007
|
-
deleteMe: (data, params = {}) => this.request(Object.assign({ path: `/api/users/me/delete`, method: "POST", body: data, secure: true, type:
|
|
4971
|
+
deleteMe: (data, params = {}) => this.request(Object.assign({ path: `/api/users/me/delete`, method: "POST", body: data, secure: true, type: ContentType.Json }, params)),
|
|
5008
4972
|
/**
|
|
5009
4973
|
* No description
|
|
5010
4974
|
*
|
|
@@ -5015,7 +4979,7 @@ export class Api extends HttpClient {
|
|
|
5015
4979
|
* @secure
|
|
5016
4980
|
* @response `200` `GetForm` OK
|
|
5017
4981
|
*/
|
|
5018
|
-
getWorkflow: (data, params = {}) => this.request(Object.assign({ path: `/api/workflow`, method: "POST", body: data, secure: true, type:
|
|
4982
|
+
getWorkflow: (data, params = {}) => this.request(Object.assign({ path: `/api/workflow`, method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
|
|
5019
4983
|
};
|
|
5020
4984
|
this.sso = {
|
|
5021
4985
|
/**
|