@matech/thebigpos-sdk 2.45.0-rc0 → 2.45.0-rc10
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 +900 -848
- package/dist/index.js +342 -396
- package/dist/index.js.map +1 -1
- package/package.json +6 -5
- package/src/index.ts +1501 -1305
- package/tsconfig.json +27 -27
package/dist/index.js
CHANGED
|
@@ -30,15 +30,6 @@ 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 = {}));
|
|
42
33
|
export class HttpClient {
|
|
43
34
|
constructor(_a = {}) {
|
|
44
35
|
var { securityWorker, secure, format } = _a, axiosConfig = __rest(_a, ["securityWorker", "secure", "format"]);
|
|
@@ -54,13 +45,13 @@ export class HttpClient {
|
|
|
54
45
|
{};
|
|
55
46
|
const requestParams = this.mergeRequestParams(params, secureParams);
|
|
56
47
|
const responseFormat = format || this.format || undefined;
|
|
57
|
-
if (type ===
|
|
48
|
+
if (type === "multipart/form-data" &&
|
|
58
49
|
body &&
|
|
59
50
|
body !== null &&
|
|
60
51
|
typeof body === "object") {
|
|
61
52
|
body = this.createFormData(body);
|
|
62
53
|
}
|
|
63
|
-
if (type ===
|
|
54
|
+
if (type === "text/plain" &&
|
|
64
55
|
body &&
|
|
65
56
|
body !== null &&
|
|
66
57
|
typeof body !== "string") {
|
|
@@ -156,7 +147,7 @@ export class Api extends HttpClient {
|
|
|
156
147
|
* @response `404` `ProblemDetails` Not Found
|
|
157
148
|
* @response `422` `ProblemDetails` Unprocessable Content
|
|
158
149
|
*/
|
|
159
|
-
replaceMyAccount: (data, params = {}) => this.request(Object.assign({ path: `/api/account`, method: "PUT", body: data, secure: true, type:
|
|
150
|
+
replaceMyAccount: (data, params = {}) => this.request(Object.assign({ path: `/api/account`, method: "PUT", body: data, secure: true, type: "application/json", format: "json" }, params)),
|
|
160
151
|
/**
|
|
161
152
|
* No description
|
|
162
153
|
*
|
|
@@ -179,7 +170,7 @@ export class Api extends HttpClient {
|
|
|
179
170
|
* @response `200` `SiteConfiguration` OK
|
|
180
171
|
* @response `422` `UnprocessableEntity` Unprocessable Content
|
|
181
172
|
*/
|
|
182
|
-
updateSiteConfigurationForAccount: (data, params = {}) => this.request(Object.assign({ path: `/api/account/site-configurations`, method: "PUT", body: data, secure: true, type:
|
|
173
|
+
updateSiteConfigurationForAccount: (data, params = {}) => this.request(Object.assign({ path: `/api/account/site-configurations`, method: "PUT", body: data, secure: true, type: "application/json", format: "json" }, params)),
|
|
183
174
|
/**
|
|
184
175
|
* No description
|
|
185
176
|
*
|
|
@@ -190,7 +181,7 @@ export class Api extends HttpClient {
|
|
|
190
181
|
* @secure
|
|
191
182
|
* @response `204` `void` No Content
|
|
192
183
|
*/
|
|
193
|
-
requestAccountReactivation: (data, params = {}) => this.request(Object.assign({ path: `/api/account/reactivation/request`, method: "POST", body: data, secure: true, type:
|
|
184
|
+
requestAccountReactivation: (data, params = {}) => this.request(Object.assign({ path: `/api/account/reactivation/request`, method: "POST", body: data, secure: true, type: "application/json" }, params)),
|
|
194
185
|
/**
|
|
195
186
|
* No description
|
|
196
187
|
*
|
|
@@ -202,7 +193,7 @@ export class Api extends HttpClient {
|
|
|
202
193
|
* @response `204` `void` No Content
|
|
203
194
|
* @response `400` `ProblemDetails` Bad Request
|
|
204
195
|
*/
|
|
205
|
-
completeAccountReactivation: (data, params = {}) => this.request(Object.assign({ path: `/api/account/reactivation/complete`, method: "POST", body: data, secure: true, type:
|
|
196
|
+
completeAccountReactivation: (data, params = {}) => this.request(Object.assign({ path: `/api/account/reactivation/complete`, method: "POST", body: data, secure: true, type: "application/json" }, params)),
|
|
206
197
|
/**
|
|
207
198
|
* No description
|
|
208
199
|
*
|
|
@@ -225,7 +216,7 @@ export class Api extends HttpClient {
|
|
|
225
216
|
* @response `201` `Account` Created
|
|
226
217
|
* @response `422` `ProblemDetails` Unprocessable Content
|
|
227
218
|
*/
|
|
228
|
-
createAccount: (data, params = {}) => this.request(Object.assign({ path: `/api/accounts`, method: "POST", body: data, secure: true, type:
|
|
219
|
+
createAccount: (data, params = {}) => this.request(Object.assign({ path: `/api/accounts`, method: "POST", body: data, secure: true, type: "application/json", format: "json" }, params)),
|
|
229
220
|
/**
|
|
230
221
|
* No description
|
|
231
222
|
*
|
|
@@ -263,289 +254,322 @@ export class Api extends HttpClient {
|
|
|
263
254
|
* @response `404` `ProblemDetails` Not Found
|
|
264
255
|
* @response `422` `ProblemDetails` Unprocessable Content
|
|
265
256
|
*/
|
|
266
|
-
updateAccountBilling: (id, data, params = {}) => this.request(Object.assign({ path: `/api/accounts/${id}/billing`, method: "PUT", body: data, secure: true, type:
|
|
257
|
+
updateAccountBilling: (id, data, params = {}) => this.request(Object.assign({ path: `/api/accounts/${id}/billing`, method: "PUT", body: data, secure: true, type: "application/json", format: "json" }, params)),
|
|
267
258
|
/**
|
|
268
259
|
* No description
|
|
269
260
|
*
|
|
270
|
-
* @tags
|
|
271
|
-
* @name
|
|
272
|
-
* @summary Get
|
|
273
|
-
* @request GET:/api/ai/
|
|
261
|
+
* @tags AiAccess
|
|
262
|
+
* @name GetAiAccess
|
|
263
|
+
* @summary Get whether AI is enabled for the current user's account
|
|
264
|
+
* @request GET:/api/ai/access
|
|
274
265
|
* @secure
|
|
275
|
-
* @response `200` `
|
|
266
|
+
* @response `200` `AiEnabled` OK
|
|
276
267
|
*/
|
|
277
|
-
|
|
268
|
+
getAiAccess: (params = {}) => this.request(Object.assign({ path: `/api/ai/access`, method: "GET", secure: true, format: "json" }, params)),
|
|
278
269
|
/**
|
|
279
270
|
* No description
|
|
280
271
|
*
|
|
281
|
-
* @tags
|
|
282
|
-
* @name
|
|
283
|
-
* @summary
|
|
284
|
-
* @request
|
|
272
|
+
* @tags AiAccount
|
|
273
|
+
* @name GetAccountAiEnabled
|
|
274
|
+
* @summary Get whether AI is enabled for an account (SuperAdmin only)
|
|
275
|
+
* @request GET:/api/ai/accounts/{accountId}/ai-enabled
|
|
285
276
|
* @secure
|
|
286
|
-
* @response `200` `
|
|
287
|
-
* @response `400` `ProblemDetails` Bad Request
|
|
277
|
+
* @response `200` `AiEnabled` OK
|
|
288
278
|
*/
|
|
289
|
-
|
|
279
|
+
getAccountAiEnabled: (accountId, params = {}) => this.request(Object.assign({ path: `/api/ai/accounts/${accountId}/ai-enabled`, method: "GET", secure: true, format: "json" }, params)),
|
|
290
280
|
/**
|
|
291
281
|
* No description
|
|
292
282
|
*
|
|
293
|
-
* @tags
|
|
294
|
-
* @name
|
|
295
|
-
* @summary
|
|
296
|
-
* @request
|
|
283
|
+
* @tags AiAccount
|
|
284
|
+
* @name SetAccountAiEnabled
|
|
285
|
+
* @summary Enable or disable AI for an account (SuperAdmin only)
|
|
286
|
+
* @request PUT:/api/ai/accounts/{accountId}/ai-enabled
|
|
297
287
|
* @secure
|
|
298
|
-
* @response `
|
|
299
|
-
*/
|
|
300
|
-
getAiAuditLogs: (query, params = {}) => this.request(Object.assign({ path: `/api/ai/admin/audit-logs`, method: "GET", query: query, secure: true, format: "json" }, params)),
|
|
301
|
-
/**
|
|
302
|
-
* No description
|
|
303
|
-
*
|
|
304
|
-
* @tags AiAdmin
|
|
305
|
-
* @name GetAiRequestLifecycle
|
|
306
|
-
* @summary Get the full event lifecycle of a single AI request
|
|
307
|
-
* @request GET:/api/ai/admin/audit-logs/request/{requestId}
|
|
308
|
-
* @secure
|
|
309
|
-
* @response `200` `(AiAuditLog)[]` OK
|
|
310
|
-
*/
|
|
311
|
-
getAiRequestLifecycle: (requestId, params = {}) => this.request(Object.assign({ path: `/api/ai/admin/audit-logs/request/${requestId}`, method: "GET", secure: true, format: "json" }, params)),
|
|
312
|
-
/**
|
|
313
|
-
* No description
|
|
314
|
-
*
|
|
315
|
-
* @tags AiAdmin
|
|
316
|
-
* @name GetAiAuditConversations
|
|
317
|
-
* @summary List conversations with their audit roll-up — origin user, turns, status, tokens
|
|
318
|
-
* @request GET:/api/ai/admin/audit-conversations
|
|
319
|
-
* @secure
|
|
320
|
-
* @response `200` `AiConversationAuditSummaryPaginated` OK
|
|
288
|
+
* @response `204` `void` No Content
|
|
321
289
|
*/
|
|
322
|
-
|
|
290
|
+
setAccountAiEnabled: (accountId, data, params = {}) => this.request(Object.assign({ path: `/api/ai/accounts/${accountId}/ai-enabled`, method: "PUT", body: data, secure: true, type: "application/json" }, params)),
|
|
323
291
|
/**
|
|
324
292
|
* No description
|
|
325
293
|
*
|
|
326
|
-
* @tags
|
|
327
|
-
* @name
|
|
328
|
-
* @summary Get AI
|
|
329
|
-
* @request GET:/api/ai/
|
|
294
|
+
* @tags AiAccountSettings
|
|
295
|
+
* @name GetAiAccountSettings
|
|
296
|
+
* @summary Get account AI settings
|
|
297
|
+
* @request GET:/api/ai/account-settings
|
|
330
298
|
* @secure
|
|
331
|
-
* @response `200` `
|
|
299
|
+
* @response `200` `AiAccountSettings` OK
|
|
332
300
|
*/
|
|
333
|
-
|
|
301
|
+
getAiAccountSettings: (params = {}) => this.request(Object.assign({ path: `/api/ai/account-settings`, method: "GET", secure: true, format: "json" }, params)),
|
|
334
302
|
/**
|
|
335
303
|
* No description
|
|
336
304
|
*
|
|
337
|
-
* @tags
|
|
338
|
-
* @name
|
|
339
|
-
* @summary
|
|
340
|
-
* @request
|
|
305
|
+
* @tags AiAccountSettings
|
|
306
|
+
* @name UpdateAiAccountSettings
|
|
307
|
+
* @summary Update account AI settings
|
|
308
|
+
* @request PUT:/api/ai/account-settings
|
|
341
309
|
* @secure
|
|
342
|
-
* @response `200` `
|
|
310
|
+
* @response `200` `AiAccountSettings` OK
|
|
311
|
+
* @response `400` `ProblemDetails` Bad Request
|
|
343
312
|
*/
|
|
344
|
-
|
|
313
|
+
updateAiAccountSettings: (data, params = {}) => this.request(Object.assign({ path: `/api/ai/account-settings`, method: "PUT", body: data, secure: true, type: "application/json", format: "json" }, params)),
|
|
345
314
|
/**
|
|
346
315
|
* No description
|
|
347
316
|
*
|
|
348
317
|
* @tags AiAdminPrompt
|
|
349
318
|
* @name GetAiPrompts
|
|
350
319
|
* @summary Get all prompts
|
|
351
|
-
* @request GET:/api/ai/
|
|
320
|
+
* @request GET:/api/ai/prompts
|
|
352
321
|
* @secure
|
|
353
322
|
* @response `200` `(AiPrompt)[]` OK
|
|
354
323
|
*/
|
|
355
|
-
getAiPrompts: (params = {}) => this.request(Object.assign({ path: `/api/ai/
|
|
324
|
+
getAiPrompts: (params = {}) => this.request(Object.assign({ path: `/api/ai/prompts`, method: "GET", secure: true, format: "json" }, params)),
|
|
356
325
|
/**
|
|
357
326
|
* No description
|
|
358
327
|
*
|
|
359
328
|
* @tags AiAdminPrompt
|
|
360
329
|
* @name CreateAiPrompt
|
|
361
330
|
* @summary Create custom prompt
|
|
362
|
-
* @request POST:/api/ai/
|
|
331
|
+
* @request POST:/api/ai/prompts
|
|
363
332
|
* @secure
|
|
364
333
|
* @response `201` `AiPrompt` Created
|
|
365
334
|
* @response `400` `ProblemDetails` Bad Request
|
|
366
335
|
*/
|
|
367
|
-
createAiPrompt: (data, params = {}) => this.request(Object.assign({ path: `/api/ai/
|
|
336
|
+
createAiPrompt: (data, params = {}) => this.request(Object.assign({ path: `/api/ai/prompts`, method: "POST", body: data, secure: true, type: "application/json", format: "json" }, params)),
|
|
368
337
|
/**
|
|
369
338
|
* No description
|
|
370
339
|
*
|
|
371
340
|
* @tags AiAdminPrompt
|
|
372
341
|
* @name GetAiPrompt
|
|
373
342
|
* @summary Get prompt by ID
|
|
374
|
-
* @request GET:/api/ai/
|
|
343
|
+
* @request GET:/api/ai/prompts/{id}
|
|
375
344
|
* @secure
|
|
376
345
|
* @response `200` `AiPrompt` OK
|
|
377
346
|
* @response `404` `ProblemDetails` Not Found
|
|
378
347
|
*/
|
|
379
|
-
getAiPrompt: (id, params = {}) => this.request(Object.assign({ path: `/api/ai/
|
|
348
|
+
getAiPrompt: (id, params = {}) => this.request(Object.assign({ path: `/api/ai/prompts/${id}`, method: "GET", secure: true, format: "json" }, params)),
|
|
380
349
|
/**
|
|
381
350
|
* No description
|
|
382
351
|
*
|
|
383
352
|
* @tags AiAdminPrompt
|
|
384
353
|
* @name UpdateAiPrompt
|
|
385
354
|
* @summary Update prompt
|
|
386
|
-
* @request PUT:/api/ai/
|
|
355
|
+
* @request PUT:/api/ai/prompts/{id}
|
|
387
356
|
* @secure
|
|
388
357
|
* @response `200` `AiPrompt` OK
|
|
389
358
|
* @response `400` `ProblemDetails` Bad Request
|
|
390
359
|
* @response `404` `ProblemDetails` Not Found
|
|
391
360
|
*/
|
|
392
|
-
updateAiPrompt: (id, data, params = {}) => this.request(Object.assign({ path: `/api/ai/
|
|
361
|
+
updateAiPrompt: (id, data, params = {}) => this.request(Object.assign({ path: `/api/ai/prompts/${id}`, method: "PUT", body: data, secure: true, type: "application/json", format: "json" }, params)),
|
|
393
362
|
/**
|
|
394
363
|
* No description
|
|
395
364
|
*
|
|
396
365
|
* @tags AiAdminPrompt
|
|
397
366
|
* @name DeleteAiPrompt
|
|
398
367
|
* @summary Delete prompt
|
|
399
|
-
* @request DELETE:/api/ai/
|
|
368
|
+
* @request DELETE:/api/ai/prompts/{id}
|
|
400
369
|
* @secure
|
|
401
370
|
* @response `204` `void` No Content
|
|
402
371
|
* @response `400` `ProblemDetails` Bad Request
|
|
403
372
|
* @response `404` `ProblemDetails` Not Found
|
|
404
373
|
*/
|
|
405
|
-
deleteAiPrompt: (id, params = {}) => this.request(Object.assign({ path: `/api/ai/
|
|
374
|
+
deleteAiPrompt: (id, params = {}) => this.request(Object.assign({ path: `/api/ai/prompts/${id}`, method: "DELETE", secure: true }, params)),
|
|
406
375
|
/**
|
|
407
376
|
* No description
|
|
408
377
|
*
|
|
409
378
|
* @tags AiAdminPrompt
|
|
410
379
|
* @name ToggleAiPrompt
|
|
411
380
|
* @summary Toggle prompt active/inactive
|
|
412
|
-
* @request PATCH:/api/ai/
|
|
381
|
+
* @request PATCH:/api/ai/prompts/{id}/toggle
|
|
413
382
|
* @secure
|
|
414
383
|
* @response `200` `AiPrompt` OK
|
|
415
384
|
* @response `404` `ProblemDetails` Not Found
|
|
416
385
|
*/
|
|
417
|
-
toggleAiPrompt: (id, params = {}) => this.request(Object.assign({ path: `/api/ai/
|
|
386
|
+
toggleAiPrompt: (id, params = {}) => this.request(Object.assign({ path: `/api/ai/prompts/${id}/toggle`, method: "PATCH", secure: true, format: "json" }, params)),
|
|
418
387
|
/**
|
|
419
388
|
* No description
|
|
420
389
|
*
|
|
421
390
|
* @tags AiAdminPrompt
|
|
422
391
|
* @name GenerateAiSystemPrompt
|
|
423
392
|
* @summary Generate a system prompt from description
|
|
424
|
-
* @request POST:/api/ai/
|
|
393
|
+
* @request POST:/api/ai/prompts/generate
|
|
425
394
|
* @secure
|
|
426
395
|
* @response `200` `GenerateSystemPrompt` OK
|
|
427
396
|
* @response `400` `ProblemDetails` Bad Request
|
|
428
397
|
*/
|
|
429
|
-
generateAiSystemPrompt: (data, params = {}) => this.request(Object.assign({ path: `/api/ai/
|
|
398
|
+
generateAiSystemPrompt: (data, params = {}) => this.request(Object.assign({ path: `/api/ai/prompts/generate`, method: "POST", body: data, secure: true, type: "application/json", format: "json" }, params)),
|
|
430
399
|
/**
|
|
431
400
|
* No description
|
|
432
401
|
*
|
|
433
402
|
* @tags AiAdminPrompt
|
|
434
|
-
* @name
|
|
403
|
+
* @name GetAiSupportedModels
|
|
435
404
|
* @summary Get supported LLM models
|
|
436
|
-
* @request GET:/api/ai/
|
|
405
|
+
* @request GET:/api/ai/prompts/supported-models
|
|
437
406
|
* @secure
|
|
438
407
|
* @response `200` `(SupportedModel)[]` OK
|
|
439
408
|
*/
|
|
440
|
-
|
|
409
|
+
getAiSupportedModels: (params = {}) => this.request(Object.assign({ path: `/api/ai/prompts/supported-models`, method: "GET", secure: true, format: "json" }, params)),
|
|
441
410
|
/**
|
|
442
411
|
* No description
|
|
443
412
|
*
|
|
444
413
|
* @tags AiAdminSettings
|
|
445
414
|
* @name GetAiAdminSettings
|
|
446
415
|
* @summary Get global AI settings
|
|
447
|
-
* @request GET:/api/ai/
|
|
416
|
+
* @request GET:/api/ai/settings
|
|
448
417
|
* @secure
|
|
449
418
|
* @response `200` `AiAdminSettings` OK
|
|
450
419
|
*/
|
|
451
|
-
getAiAdminSettings: (params = {}) => this.request(Object.assign({ path: `/api/ai/
|
|
420
|
+
getAiAdminSettings: (params = {}) => this.request(Object.assign({ path: `/api/ai/settings`, method: "GET", secure: true, format: "json" }, params)),
|
|
452
421
|
/**
|
|
453
422
|
* No description
|
|
454
423
|
*
|
|
455
424
|
* @tags AiAdminSettings
|
|
456
425
|
* @name UpdateAiAdminSettings
|
|
457
426
|
* @summary Update global AI settings
|
|
458
|
-
* @request PUT:/api/ai/
|
|
427
|
+
* @request PUT:/api/ai/settings
|
|
459
428
|
* @secure
|
|
460
429
|
* @response `200` `AiAdminSettings` OK
|
|
461
430
|
* @response `400` `ProblemDetails` Bad Request
|
|
462
431
|
*/
|
|
463
|
-
updateAiAdminSettings: (data, params = {}) => this.request(Object.assign({ path: `/api/ai/
|
|
432
|
+
updateAiAdminSettings: (data, params = {}) => this.request(Object.assign({ path: `/api/ai/settings`, method: "PUT", body: data, secure: true, type: "application/json", format: "json" }, params)),
|
|
433
|
+
/**
|
|
434
|
+
* No description
|
|
435
|
+
*
|
|
436
|
+
* @tags AiAudit
|
|
437
|
+
* @name GetAiAuditLogs
|
|
438
|
+
* @summary Get paginated AI audit logs (own account, or any/all accounts for SuperAdmin)
|
|
439
|
+
* @request GET:/api/ai/audit-logs
|
|
440
|
+
* @secure
|
|
441
|
+
* @response `200` `AiAuditLogPaginated` OK
|
|
442
|
+
*/
|
|
443
|
+
getAiAuditLogs: (query, params = {}) => this.request(Object.assign({ path: `/api/ai/audit-logs`, method: "GET", query: query, secure: true, format: "json" }, params)),
|
|
444
|
+
/**
|
|
445
|
+
* No description
|
|
446
|
+
*
|
|
447
|
+
* @tags AiAudit
|
|
448
|
+
* @name GetAiRequestLifecycle
|
|
449
|
+
* @summary Get the full event lifecycle of a single AI request
|
|
450
|
+
* @request GET:/api/ai/audit-logs/request/{requestId}
|
|
451
|
+
* @secure
|
|
452
|
+
* @response `200` `(AiAuditLog)[]` OK
|
|
453
|
+
*/
|
|
454
|
+
getAiRequestLifecycle: (requestId, query, params = {}) => this.request(Object.assign({ path: `/api/ai/audit-logs/request/${requestId}`, method: "GET", query: query, secure: true, format: "json" }, params)),
|
|
455
|
+
/**
|
|
456
|
+
* No description
|
|
457
|
+
*
|
|
458
|
+
* @tags AiAudit
|
|
459
|
+
* @name GetAiAuditConversations
|
|
460
|
+
* @summary List conversations with their audit roll-up — origin user, turns, status, tokens
|
|
461
|
+
* @request GET:/api/ai/audit-conversations
|
|
462
|
+
* @secure
|
|
463
|
+
* @response `200` `AiConversationAuditSummaryPaginated` OK
|
|
464
|
+
*/
|
|
465
|
+
getAiAuditConversations: (query, params = {}) => this.request(Object.assign({ path: `/api/ai/audit-conversations`, method: "GET", query: query, secure: true, format: "json" }, params)),
|
|
466
|
+
/**
|
|
467
|
+
* No description
|
|
468
|
+
*
|
|
469
|
+
* @tags AiAudit
|
|
470
|
+
* @name GetAiStats
|
|
471
|
+
* @summary Get AI dashboard stats (own account, or any/all accounts for SuperAdmin)
|
|
472
|
+
* @request GET:/api/ai/stats
|
|
473
|
+
* @secure
|
|
474
|
+
* @response `200` `AiAdminStats` OK
|
|
475
|
+
*/
|
|
476
|
+
getAiStats: (query, params = {}) => this.request(Object.assign({ path: `/api/ai/stats`, method: "GET", query: query, secure: true, format: "json" }, params)),
|
|
477
|
+
/**
|
|
478
|
+
* No description
|
|
479
|
+
*
|
|
480
|
+
* @tags AiAudit
|
|
481
|
+
* @name GetAiConfigChanges
|
|
482
|
+
* @summary Get the AI configuration change history (who changed prompts, guardrails, fields, sources)
|
|
483
|
+
* @request GET:/api/ai/config-changes
|
|
484
|
+
* @secure
|
|
485
|
+
* @response `200` `AuditLogEntryPaginated` OK
|
|
486
|
+
*/
|
|
487
|
+
getAiConfigChanges: (query, params = {}) => this.request(Object.assign({ path: `/api/ai/config-changes`, method: "GET", query: query, secure: true, format: "json" }, params)),
|
|
464
488
|
/**
|
|
465
489
|
* No description
|
|
466
490
|
*
|
|
467
491
|
* @tags AiCanonicalField
|
|
468
492
|
* @name GetAiCanonicalFields
|
|
469
493
|
* @summary Get all canonical fields
|
|
470
|
-
* @request GET:/api/ai/
|
|
494
|
+
* @request GET:/api/ai/canonical-fields
|
|
471
495
|
* @secure
|
|
472
496
|
* @response `200` `(AiCanonicalField)[]` OK
|
|
473
497
|
*/
|
|
474
|
-
getAiCanonicalFields: (params = {}) => this.request(Object.assign({ path: `/api/ai/
|
|
498
|
+
getAiCanonicalFields: (params = {}) => this.request(Object.assign({ path: `/api/ai/canonical-fields`, method: "GET", secure: true, format: "json" }, params)),
|
|
475
499
|
/**
|
|
476
500
|
* No description
|
|
477
501
|
*
|
|
478
502
|
* @tags AiCanonicalField
|
|
479
503
|
* @name CreateAiCanonicalField
|
|
480
504
|
* @summary Create canonical field
|
|
481
|
-
* @request POST:/api/ai/
|
|
505
|
+
* @request POST:/api/ai/canonical-fields
|
|
482
506
|
* @secure
|
|
483
507
|
* @response `201` `AiCanonicalField` Created
|
|
484
508
|
* @response `400` `ProblemDetails` Bad Request
|
|
485
509
|
*/
|
|
486
|
-
createAiCanonicalField: (data, params = {}) => this.request(Object.assign({ path: `/api/ai/
|
|
510
|
+
createAiCanonicalField: (data, params = {}) => this.request(Object.assign({ path: `/api/ai/canonical-fields`, method: "POST", body: data, secure: true, type: "application/json", format: "json" }, params)),
|
|
487
511
|
/**
|
|
488
512
|
* No description
|
|
489
513
|
*
|
|
490
514
|
* @tags AiCanonicalField
|
|
491
515
|
* @name GetAiCanonicalField
|
|
492
516
|
* @summary Get canonical field by ID
|
|
493
|
-
* @request GET:/api/ai/
|
|
517
|
+
* @request GET:/api/ai/canonical-fields/{id}
|
|
494
518
|
* @secure
|
|
495
519
|
* @response `200` `AiCanonicalField` OK
|
|
496
520
|
* @response `404` `ProblemDetails` Not Found
|
|
497
521
|
*/
|
|
498
|
-
getAiCanonicalField: (id, params = {}) => this.request(Object.assign({ path: `/api/ai/
|
|
522
|
+
getAiCanonicalField: (id, params = {}) => this.request(Object.assign({ path: `/api/ai/canonical-fields/${id}`, method: "GET", secure: true, format: "json" }, params)),
|
|
499
523
|
/**
|
|
500
524
|
* No description
|
|
501
525
|
*
|
|
502
526
|
* @tags AiCanonicalField
|
|
503
527
|
* @name UpdateAiCanonicalField
|
|
504
528
|
* @summary Update canonical field
|
|
505
|
-
* @request PUT:/api/ai/
|
|
529
|
+
* @request PUT:/api/ai/canonical-fields/{id}
|
|
506
530
|
* @secure
|
|
507
531
|
* @response `200` `AiCanonicalField` OK
|
|
508
532
|
* @response `400` `ProblemDetails` Bad Request
|
|
509
533
|
* @response `404` `ProblemDetails` Not Found
|
|
510
534
|
*/
|
|
511
|
-
updateAiCanonicalField: (id, data, params = {}) => this.request(Object.assign({ path: `/api/ai/
|
|
535
|
+
updateAiCanonicalField: (id, data, params = {}) => this.request(Object.assign({ path: `/api/ai/canonical-fields/${id}`, method: "PUT", body: data, secure: true, type: "application/json", format: "json" }, params)),
|
|
512
536
|
/**
|
|
513
537
|
* No description
|
|
514
538
|
*
|
|
515
539
|
* @tags AiCanonicalField
|
|
516
540
|
* @name DeleteAiCanonicalField
|
|
517
541
|
* @summary Delete canonical field
|
|
518
|
-
* @request DELETE:/api/ai/
|
|
542
|
+
* @request DELETE:/api/ai/canonical-fields/{id}
|
|
519
543
|
* @secure
|
|
520
544
|
* @response `204` `void` No Content
|
|
521
545
|
* @response `404` `ProblemDetails` Not Found
|
|
522
546
|
*/
|
|
523
|
-
deleteAiCanonicalField: (id, params = {}) => this.request(Object.assign({ path: `/api/ai/
|
|
547
|
+
deleteAiCanonicalField: (id, params = {}) => this.request(Object.assign({ path: `/api/ai/canonical-fields/${id}`, method: "DELETE", secure: true }, params)),
|
|
524
548
|
/**
|
|
525
549
|
* No description
|
|
526
550
|
*
|
|
527
551
|
* @tags AiCanonicalField
|
|
528
552
|
* @name ToggleAiCanonicalField
|
|
529
553
|
* @summary Toggle canonical field active/inactive
|
|
530
|
-
* @request PATCH:/api/ai/
|
|
554
|
+
* @request PATCH:/api/ai/canonical-fields/{id}/toggle
|
|
531
555
|
* @secure
|
|
532
556
|
* @response `200` `AiCanonicalField` OK
|
|
533
557
|
* @response `404` `ProblemDetails` Not Found
|
|
534
558
|
*/
|
|
535
|
-
toggleAiCanonicalField: (id, params = {}) => this.request(Object.assign({ path: `/api/ai/
|
|
559
|
+
toggleAiCanonicalField: (id, params = {}) => this.request(Object.assign({ path: `/api/ai/canonical-fields/${id}/toggle`, method: "PATCH", secure: true, format: "json" }, params)),
|
|
536
560
|
/**
|
|
537
561
|
* No description
|
|
538
562
|
*
|
|
539
563
|
* @tags AiChat
|
|
540
564
|
* @name AiChat
|
|
541
565
|
* @summary Send AI chat message
|
|
542
|
-
* @request POST:/api/ai/
|
|
566
|
+
* @request POST:/api/ai/chats
|
|
543
567
|
* @secure
|
|
544
568
|
* @response `200` `AiChat` OK
|
|
545
569
|
* @response `400` `ProblemDetails` Bad Request
|
|
546
570
|
* @response `401` `ProblemDetails` Unauthorized
|
|
547
571
|
*/
|
|
548
|
-
aiChat: (data, params = {}) => this.request(Object.assign({ path: `/api/ai/
|
|
572
|
+
aiChat: (data, params = {}) => this.request(Object.assign({ path: `/api/ai/chats`, method: "POST", body: data, secure: true, type: "application/json", format: "json" }, params)),
|
|
549
573
|
/**
|
|
550
574
|
* No description
|
|
551
575
|
*
|
|
@@ -583,7 +607,7 @@ export class Api extends HttpClient {
|
|
|
583
607
|
* @response `403` `ProblemDetails` Forbidden
|
|
584
608
|
* @response `404` `ProblemDetails` Not Found
|
|
585
609
|
*/
|
|
586
|
-
renameAiConversation: (id, data, params = {}) => this.request(Object.assign({ path: `/api/ai/conversations/${id}`, method: "PATCH", body: data, secure: true, type:
|
|
610
|
+
renameAiConversation: (id, data, params = {}) => this.request(Object.assign({ path: `/api/ai/conversations/${id}`, method: "PATCH", body: data, secure: true, type: "application/json", format: "json" }, params)),
|
|
587
611
|
/**
|
|
588
612
|
* No description
|
|
589
613
|
*
|
|
@@ -635,289 +659,245 @@ export class Api extends HttpClient {
|
|
|
635
659
|
* @response `403` `ProblemDetails` Forbidden
|
|
636
660
|
* @response `404` `ProblemDetails` Not Found
|
|
637
661
|
*/
|
|
638
|
-
pinAiConversation: (id, data, params = {}) => this.request(Object.assign({ path: `/api/ai/conversations/${id}/pin`, method: "PUT", body: data, secure: true, type:
|
|
662
|
+
pinAiConversation: (id, data, params = {}) => this.request(Object.assign({ path: `/api/ai/conversations/${id}/pin`, method: "PUT", body: data, secure: true, type: "application/json", format: "json" }, params)),
|
|
639
663
|
/**
|
|
640
664
|
* No description
|
|
641
665
|
*
|
|
642
666
|
* @tags AiConversationAdmin
|
|
643
667
|
* @name GetAiAccountConversations
|
|
644
668
|
* @summary List AI conversations across the account, optionally filtered by user (admin supervision)
|
|
645
|
-
* @request GET:/api/ai/
|
|
669
|
+
* @request GET:/api/ai/conversations/all
|
|
646
670
|
* @secure
|
|
647
671
|
* @response `200` `AiConversationListItemPaginated` OK
|
|
648
672
|
*/
|
|
649
|
-
getAiAccountConversations: (query, params = {}) => this.request(Object.assign({ path: `/api/ai/
|
|
673
|
+
getAiAccountConversations: (query, params = {}) => this.request(Object.assign({ path: `/api/ai/conversations/all`, method: "GET", query: query, secure: true, format: "json" }, params)),
|
|
650
674
|
/**
|
|
651
675
|
* No description
|
|
652
676
|
*
|
|
653
677
|
* @tags AiConversationAdmin
|
|
654
678
|
* @name GetAiAccountConversation
|
|
655
679
|
* @summary Get an account conversation's detail (admin supervision)
|
|
656
|
-
* @request GET:/api/ai/
|
|
680
|
+
* @request GET:/api/ai/conversations/all/{id}
|
|
657
681
|
* @secure
|
|
658
682
|
* @response `200` `AiConversationDetail` OK
|
|
659
683
|
* @response `404` `ProblemDetails` Not Found
|
|
660
684
|
*/
|
|
661
|
-
getAiAccountConversation: (id, params = {}) => this.request(Object.assign({ path: `/api/ai/
|
|
685
|
+
getAiAccountConversation: (id, params = {}) => this.request(Object.assign({ path: `/api/ai/conversations/all/${id}`, method: "GET", secure: true, format: "json" }, params)),
|
|
662
686
|
/**
|
|
663
687
|
* No description
|
|
664
688
|
*
|
|
665
689
|
* @tags AiConversationAdmin
|
|
666
690
|
* @name GetAiAccountConversationMessages
|
|
667
691
|
* @summary Get an account conversation's messages (admin supervision)
|
|
668
|
-
* @request GET:/api/ai/
|
|
692
|
+
* @request GET:/api/ai/conversations/all/{id}/messages
|
|
669
693
|
* @secure
|
|
670
694
|
* @response `200` `AiChatMessagePaginated` OK
|
|
671
695
|
* @response `404` `ProblemDetails` Not Found
|
|
672
696
|
*/
|
|
673
|
-
getAiAccountConversationMessages: (id, query, params = {}) => this.request(Object.assign({ path: `/api/ai/
|
|
697
|
+
getAiAccountConversationMessages: (id, query, params = {}) => this.request(Object.assign({ path: `/api/ai/conversations/all/${id}/messages`, method: "GET", query: query, secure: true, format: "json" }, params)),
|
|
674
698
|
/**
|
|
675
699
|
* No description
|
|
676
700
|
*
|
|
677
701
|
* @tags AiGuardrail
|
|
678
702
|
* @name GetAiGuardrails
|
|
679
703
|
* @summary Get all guardrails
|
|
680
|
-
* @request GET:/api/ai/
|
|
704
|
+
* @request GET:/api/ai/guardrails
|
|
681
705
|
* @secure
|
|
682
706
|
* @response `200` `(AiGuardrail)[]` OK
|
|
683
707
|
*/
|
|
684
|
-
getAiGuardrails: (params = {}) => this.request(Object.assign({ path: `/api/ai/
|
|
708
|
+
getAiGuardrails: (params = {}) => this.request(Object.assign({ path: `/api/ai/guardrails`, method: "GET", secure: true, format: "json" }, params)),
|
|
685
709
|
/**
|
|
686
710
|
* No description
|
|
687
711
|
*
|
|
688
712
|
* @tags AiGuardrail
|
|
689
713
|
* @name CreateAiGuardrail
|
|
690
714
|
* @summary Create custom guardrail
|
|
691
|
-
* @request POST:/api/ai/
|
|
715
|
+
* @request POST:/api/ai/guardrails
|
|
692
716
|
* @secure
|
|
693
717
|
* @response `201` `AiGuardrail` Created
|
|
694
718
|
* @response `400` `ProblemDetails` Bad Request
|
|
695
719
|
*/
|
|
696
|
-
createAiGuardrail: (data, params = {}) => this.request(Object.assign({ path: `/api/ai/
|
|
720
|
+
createAiGuardrail: (data, params = {}) => this.request(Object.assign({ path: `/api/ai/guardrails`, method: "POST", body: data, secure: true, type: "application/json", format: "json" }, params)),
|
|
697
721
|
/**
|
|
698
722
|
* No description
|
|
699
723
|
*
|
|
700
724
|
* @tags AiGuardrail
|
|
701
725
|
* @name GetAiGuardrail
|
|
702
726
|
* @summary Get guardrail by ID
|
|
703
|
-
* @request GET:/api/ai/
|
|
727
|
+
* @request GET:/api/ai/guardrails/{id}
|
|
704
728
|
* @secure
|
|
705
729
|
* @response `200` `AiGuardrail` OK
|
|
706
730
|
* @response `404` `ProblemDetails` Not Found
|
|
707
731
|
*/
|
|
708
|
-
getAiGuardrail: (id, params = {}) => this.request(Object.assign({ path: `/api/ai/
|
|
732
|
+
getAiGuardrail: (id, params = {}) => this.request(Object.assign({ path: `/api/ai/guardrails/${id}`, method: "GET", secure: true, format: "json" }, params)),
|
|
709
733
|
/**
|
|
710
734
|
* No description
|
|
711
735
|
*
|
|
712
736
|
* @tags AiGuardrail
|
|
713
737
|
* @name UpdateAiGuardrail
|
|
714
738
|
* @summary Update guardrail
|
|
715
|
-
* @request PUT:/api/ai/
|
|
739
|
+
* @request PUT:/api/ai/guardrails/{id}
|
|
716
740
|
* @secure
|
|
717
741
|
* @response `200` `AiGuardrail` OK
|
|
718
742
|
* @response `400` `ProblemDetails` Bad Request
|
|
719
743
|
* @response `404` `ProblemDetails` Not Found
|
|
720
744
|
*/
|
|
721
|
-
updateAiGuardrail: (id, data, params = {}) => this.request(Object.assign({ path: `/api/ai/
|
|
745
|
+
updateAiGuardrail: (id, data, params = {}) => this.request(Object.assign({ path: `/api/ai/guardrails/${id}`, method: "PUT", body: data, secure: true, type: "application/json", format: "json" }, params)),
|
|
722
746
|
/**
|
|
723
747
|
* No description
|
|
724
748
|
*
|
|
725
749
|
* @tags AiGuardrail
|
|
726
750
|
* @name DeleteAiGuardrail
|
|
727
751
|
* @summary Delete guardrail
|
|
728
|
-
* @request DELETE:/api/ai/
|
|
752
|
+
* @request DELETE:/api/ai/guardrails/{id}
|
|
729
753
|
* @secure
|
|
730
754
|
* @response `204` `void` No Content
|
|
731
755
|
* @response `400` `ProblemDetails` Bad Request
|
|
732
756
|
* @response `404` `ProblemDetails` Not Found
|
|
733
757
|
*/
|
|
734
|
-
deleteAiGuardrail: (id, params = {}) => this.request(Object.assign({ path: `/api/ai/
|
|
758
|
+
deleteAiGuardrail: (id, params = {}) => this.request(Object.assign({ path: `/api/ai/guardrails/${id}`, method: "DELETE", secure: true }, params)),
|
|
735
759
|
/**
|
|
736
760
|
* No description
|
|
737
761
|
*
|
|
738
762
|
* @tags AiGuardrail
|
|
739
763
|
* @name ToggleAiGuardrail
|
|
740
764
|
* @summary Toggle guardrail enabled/disabled
|
|
741
|
-
* @request PATCH:/api/ai/
|
|
765
|
+
* @request PATCH:/api/ai/guardrails/{id}/toggle
|
|
742
766
|
* @secure
|
|
743
767
|
* @response `200` `AiGuardrail` OK
|
|
744
768
|
* @response `404` `ProblemDetails` Not Found
|
|
745
769
|
*/
|
|
746
|
-
toggleAiGuardrail: (id, params = {}) => this.request(Object.assign({ path: `/api/ai/
|
|
770
|
+
toggleAiGuardrail: (id, params = {}) => this.request(Object.assign({ path: `/api/ai/guardrails/${id}/toggle`, method: "PATCH", secure: true, format: "json" }, params)),
|
|
747
771
|
/**
|
|
748
772
|
* No description
|
|
749
773
|
*
|
|
750
774
|
* @tags AiPrompt
|
|
751
|
-
* @name
|
|
775
|
+
* @name GetAiAvailablePrompts
|
|
752
776
|
* @summary Get available prompts for current user
|
|
753
|
-
* @request GET:/api/ai/prompts
|
|
777
|
+
* @request GET:/api/ai/prompts/available
|
|
754
778
|
* @secure
|
|
755
779
|
* @response `200` `(AiPromptSummary)[]` OK
|
|
756
780
|
*/
|
|
757
|
-
|
|
758
|
-
/**
|
|
759
|
-
* No description
|
|
760
|
-
*
|
|
761
|
-
* @tags AiSuperAdmin
|
|
762
|
-
* @name GetAiAuditLogsCrossAccount
|
|
763
|
-
* @summary Get AI audit logs for a specific account or across all accounts
|
|
764
|
-
* @request GET:/api/ai/superadmin/audit-logs
|
|
765
|
-
* @secure
|
|
766
|
-
* @response `200` `AiAuditLogPaginated` OK
|
|
767
|
-
*/
|
|
768
|
-
getAiAuditLogsCrossAccount: (query, params = {}) => this.request(Object.assign({ path: `/api/ai/superadmin/audit-logs`, method: "GET", query: query, secure: true, format: "json" }, params)),
|
|
769
|
-
/**
|
|
770
|
-
* No description
|
|
771
|
-
*
|
|
772
|
-
* @tags AiSuperAdmin
|
|
773
|
-
* @name GetAiRequestLifecycleCrossAccount
|
|
774
|
-
* @summary Get the full event lifecycle of a single AI request from any account
|
|
775
|
-
* @request GET:/api/ai/superadmin/audit-logs/request/{requestId}
|
|
776
|
-
* @secure
|
|
777
|
-
* @response `200` `(AiAuditLog)[]` OK
|
|
778
|
-
*/
|
|
779
|
-
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)),
|
|
780
|
-
/**
|
|
781
|
-
* No description
|
|
782
|
-
*
|
|
783
|
-
* @tags AiSuperAdmin
|
|
784
|
-
* @name GetAiStatsCrossAccount
|
|
785
|
-
* @summary Get AI stats for a specific account or platform-wide
|
|
786
|
-
* @request GET:/api/ai/superadmin/stats
|
|
787
|
-
* @secure
|
|
788
|
-
* @response `200` `AiAdminStats` OK
|
|
789
|
-
*/
|
|
790
|
-
getAiStatsCrossAccount: (query, params = {}) => this.request(Object.assign({ path: `/api/ai/superadmin/stats`, method: "GET", query: query, secure: true, format: "json" }, params)),
|
|
791
|
-
/**
|
|
792
|
-
* No description
|
|
793
|
-
*
|
|
794
|
-
* @tags AiSuperAdmin
|
|
795
|
-
* @name GetAiConfigChangesCrossAccount
|
|
796
|
-
* @summary Get AI configuration change history for a specific account or across all accounts (incl. global defaults)
|
|
797
|
-
* @request GET:/api/ai/superadmin/config-changes
|
|
798
|
-
* @secure
|
|
799
|
-
* @response `200` `AiConfigChangeLogPaginated` OK
|
|
800
|
-
*/
|
|
801
|
-
getAiConfigChangesCrossAccount: (query, params = {}) => this.request(Object.assign({ path: `/api/ai/superadmin/config-changes`, method: "GET", query: query, secure: true, format: "json" }, params)),
|
|
781
|
+
getAiAvailablePrompts: (query, params = {}) => this.request(Object.assign({ path: `/api/ai/prompts/available`, method: "GET", query: query, secure: true, format: "json" }, params)),
|
|
802
782
|
/**
|
|
803
783
|
* No description
|
|
804
784
|
*
|
|
805
785
|
* @tags AiTokenUsageAdmin
|
|
806
786
|
* @name SearchAiAccountTokenUsage
|
|
807
787
|
* @summary Search accounts by current-month AI token usage and classification
|
|
808
|
-
* @request POST:/api/ai/
|
|
788
|
+
* @request POST:/api/ai/token-usage/search
|
|
809
789
|
* @secure
|
|
810
790
|
* @response `200` `AiAccountUsageOverviewPaginated` OK
|
|
811
791
|
*/
|
|
812
|
-
searchAiAccountTokenUsage: (data, query, params = {}) => this.request(Object.assign({ path: `/api/ai/
|
|
792
|
+
searchAiAccountTokenUsage: (data, query, params = {}) => this.request(Object.assign({ path: `/api/ai/token-usage/search`, method: "POST", query: query, body: data, secure: true, type: "application/json", format: "json" }, params)),
|
|
813
793
|
/**
|
|
814
794
|
* No description
|
|
815
795
|
*
|
|
816
796
|
* @tags AiTokenUsageAdmin
|
|
817
797
|
* @name GetAiAccountTokenUsage
|
|
818
798
|
* @summary Get an account's current-month AI token usage
|
|
819
|
-
* @request GET:/api/ai/
|
|
799
|
+
* @request GET:/api/ai/token-usage/{accountId}
|
|
820
800
|
* @secure
|
|
821
801
|
* @response `200` `AiTokenBudgetStatus` OK
|
|
822
802
|
*/
|
|
823
|
-
getAiAccountTokenUsage: (accountId, params = {}) => this.request(Object.assign({ path: `/api/ai/
|
|
803
|
+
getAiAccountTokenUsage: (accountId, params = {}) => this.request(Object.assign({ path: `/api/ai/token-usage/${accountId}`, method: "GET", secure: true, format: "json" }, params)),
|
|
824
804
|
/**
|
|
825
805
|
* No description
|
|
826
806
|
*
|
|
827
807
|
* @tags AiTokenUsageAdmin
|
|
828
808
|
* @name GetAiAccountTokenUsageHistory
|
|
829
809
|
* @summary Get an account's monthly AI token usage history
|
|
830
|
-
* @request GET:/api/ai/
|
|
810
|
+
* @request GET:/api/ai/token-usage/{accountId}/history
|
|
831
811
|
* @secure
|
|
832
812
|
* @response `200` `AiTokenUsageWindowPaginated` OK
|
|
833
813
|
*/
|
|
834
|
-
getAiAccountTokenUsageHistory: (accountId, query, params = {}) => this.request(Object.assign({ path: `/api/ai/
|
|
814
|
+
getAiAccountTokenUsageHistory: (accountId, query, params = {}) => this.request(Object.assign({ path: `/api/ai/token-usage/${accountId}/history`, method: "GET", query: query, secure: true, format: "json" }, params)),
|
|
835
815
|
/**
|
|
836
816
|
* No description
|
|
837
817
|
*
|
|
838
818
|
* @tags AiTokenUsageAdmin
|
|
839
819
|
* @name SetAiAccountTokenLimit
|
|
840
820
|
* @summary Set or raise an account's monthly AI token limit
|
|
841
|
-
* @request PUT:/api/ai/
|
|
821
|
+
* @request PUT:/api/ai/token-usage/{accountId}/limit
|
|
842
822
|
* @secure
|
|
843
823
|
* @response `200` `AiTokenBudgetStatus` OK
|
|
844
824
|
* @response `400` `ProblemDetails` Bad Request
|
|
845
825
|
*/
|
|
846
|
-
setAiAccountTokenLimit: (accountId, data, params = {}) => this.request(Object.assign({ path: `/api/ai/
|
|
826
|
+
setAiAccountTokenLimit: (accountId, data, params = {}) => this.request(Object.assign({ path: `/api/ai/token-usage/${accountId}/limit`, method: "PUT", body: data, secure: true, type: "application/json", format: "json" }, params)),
|
|
847
827
|
/**
|
|
848
828
|
* No description
|
|
849
829
|
*
|
|
850
830
|
* @tags AiUrlSource
|
|
851
831
|
* @name GetAiUrlSources
|
|
852
832
|
* @summary Get all URL sources
|
|
853
|
-
* @request GET:/api/ai/
|
|
833
|
+
* @request GET:/api/ai/url-sources
|
|
854
834
|
* @secure
|
|
855
835
|
* @response `200` `(AiUrlSource)[]` OK
|
|
856
836
|
*/
|
|
857
|
-
getAiUrlSources: (params = {}) => this.request(Object.assign({ path: `/api/ai/
|
|
837
|
+
getAiUrlSources: (params = {}) => this.request(Object.assign({ path: `/api/ai/url-sources`, method: "GET", secure: true, format: "json" }, params)),
|
|
858
838
|
/**
|
|
859
839
|
* No description
|
|
860
840
|
*
|
|
861
841
|
* @tags AiUrlSource
|
|
862
842
|
* @name CreateAiUrlSource
|
|
863
843
|
* @summary Create URL source
|
|
864
|
-
* @request POST:/api/ai/
|
|
844
|
+
* @request POST:/api/ai/url-sources
|
|
865
845
|
* @secure
|
|
866
846
|
* @response `201` `AiUrlSource` Created
|
|
867
847
|
* @response `400` `ProblemDetails` Bad Request
|
|
868
848
|
* @response `409` `ProblemDetails` Conflict
|
|
869
849
|
*/
|
|
870
|
-
createAiUrlSource: (data, params = {}) => this.request(Object.assign({ path: `/api/ai/
|
|
850
|
+
createAiUrlSource: (data, params = {}) => this.request(Object.assign({ path: `/api/ai/url-sources`, method: "POST", body: data, secure: true, type: "application/json", format: "json" }, params)),
|
|
871
851
|
/**
|
|
872
852
|
* No description
|
|
873
853
|
*
|
|
874
854
|
* @tags AiUrlSource
|
|
875
855
|
* @name GetAiUrlSource
|
|
876
856
|
* @summary Get URL source by ID
|
|
877
|
-
* @request GET:/api/ai/
|
|
857
|
+
* @request GET:/api/ai/url-sources/{id}
|
|
878
858
|
* @secure
|
|
879
859
|
* @response `200` `AiUrlSource` OK
|
|
880
860
|
* @response `404` `ProblemDetails` Not Found
|
|
881
861
|
*/
|
|
882
|
-
getAiUrlSource: (id, params = {}) => this.request(Object.assign({ path: `/api/ai/
|
|
862
|
+
getAiUrlSource: (id, params = {}) => this.request(Object.assign({ path: `/api/ai/url-sources/${id}`, method: "GET", secure: true, format: "json" }, params)),
|
|
883
863
|
/**
|
|
884
864
|
* No description
|
|
885
865
|
*
|
|
886
866
|
* @tags AiUrlSource
|
|
887
867
|
* @name UpdateAiUrlSource
|
|
888
868
|
* @summary Update URL source
|
|
889
|
-
* @request PUT:/api/ai/
|
|
869
|
+
* @request PUT:/api/ai/url-sources/{id}
|
|
890
870
|
* @secure
|
|
891
871
|
* @response `200` `AiUrlSource` OK
|
|
892
872
|
* @response `400` `ProblemDetails` Bad Request
|
|
893
873
|
* @response `404` `ProblemDetails` Not Found
|
|
894
874
|
* @response `409` `ProblemDetails` Conflict
|
|
895
875
|
*/
|
|
896
|
-
updateAiUrlSource: (id, data, params = {}) => this.request(Object.assign({ path: `/api/ai/
|
|
876
|
+
updateAiUrlSource: (id, data, params = {}) => this.request(Object.assign({ path: `/api/ai/url-sources/${id}`, method: "PUT", body: data, secure: true, type: "application/json", format: "json" }, params)),
|
|
897
877
|
/**
|
|
898
878
|
* No description
|
|
899
879
|
*
|
|
900
880
|
* @tags AiUrlSource
|
|
901
881
|
* @name DeleteAiUrlSource
|
|
902
882
|
* @summary Delete URL source
|
|
903
|
-
* @request DELETE:/api/ai/
|
|
883
|
+
* @request DELETE:/api/ai/url-sources/{id}
|
|
904
884
|
* @secure
|
|
905
885
|
* @response `204` `void` No Content
|
|
906
886
|
* @response `404` `ProblemDetails` Not Found
|
|
907
887
|
*/
|
|
908
|
-
deleteAiUrlSource: (id, params = {}) => this.request(Object.assign({ path: `/api/ai/
|
|
888
|
+
deleteAiUrlSource: (id, params = {}) => this.request(Object.assign({ path: `/api/ai/url-sources/${id}`, method: "DELETE", secure: true }, params)),
|
|
909
889
|
/**
|
|
910
890
|
* No description
|
|
911
891
|
*
|
|
912
892
|
* @tags AiUrlSource
|
|
913
893
|
* @name ToggleAiUrlSource
|
|
914
894
|
* @summary Toggle URL source active/inactive
|
|
915
|
-
* @request PATCH:/api/ai/
|
|
895
|
+
* @request PATCH:/api/ai/url-sources/{id}/toggle
|
|
916
896
|
* @secure
|
|
917
897
|
* @response `200` `AiUrlSource` OK
|
|
918
898
|
* @response `404` `ProblemDetails` Not Found
|
|
919
899
|
*/
|
|
920
|
-
toggleAiUrlSource: (id, params = {}) => this.request(Object.assign({ path: `/api/ai/
|
|
900
|
+
toggleAiUrlSource: (id, params = {}) => this.request(Object.assign({ path: `/api/ai/url-sources/${id}/toggle`, method: "PATCH", secure: true, format: "json" }, params)),
|
|
921
901
|
/**
|
|
922
902
|
* No description
|
|
923
903
|
*
|
|
@@ -950,7 +930,7 @@ export class Api extends HttpClient {
|
|
|
950
930
|
* @secure
|
|
951
931
|
* @response `200` `AuditLogEntryPaginated` OK
|
|
952
932
|
*/
|
|
953
|
-
searchAuditLogs: (data, query, params = {}) => this.request(Object.assign({ path: `/api/audit-logs/search`, method: "POST", query: query, body: data, secure: true, type:
|
|
933
|
+
searchAuditLogs: (data, query, params = {}) => this.request(Object.assign({ path: `/api/audit-logs/search`, method: "POST", query: query, body: data, secure: true, type: "application/json", format: "json" }, params)),
|
|
954
934
|
/**
|
|
955
935
|
* No description
|
|
956
936
|
*
|
|
@@ -986,7 +966,7 @@ export class Api extends HttpClient {
|
|
|
986
966
|
* @response `401` `ProblemDetails` Unauthorized
|
|
987
967
|
* @response `422` `UnprocessableEntity` Unprocessable Content
|
|
988
968
|
*/
|
|
989
|
-
getTokenFromRefreshToken: (data, params = {}) => this.request(Object.assign({ path: `/api/refresh-token`, method: "POST", body: data, secure: true, type:
|
|
969
|
+
getTokenFromRefreshToken: (data, params = {}) => this.request(Object.assign({ path: `/api/refresh-token`, method: "POST", body: data, secure: true, type: "application/json", format: "json" }, params)),
|
|
990
970
|
/**
|
|
991
971
|
* No description
|
|
992
972
|
*
|
|
@@ -998,7 +978,7 @@ export class Api extends HttpClient {
|
|
|
998
978
|
* @response `200` `AccountDeactivated` OK
|
|
999
979
|
* @response `422` `UnprocessableEntity` Unprocessable Content
|
|
1000
980
|
*/
|
|
1001
|
-
getToken: (data, params = {}) => this.request(Object.assign({ path: `/api/token`, method: "POST", body: data, secure: true, type:
|
|
981
|
+
getToken: (data, params = {}) => this.request(Object.assign({ path: `/api/token`, method: "POST", body: data, secure: true, type: "application/json", format: "json" }, params)),
|
|
1002
982
|
/**
|
|
1003
983
|
* No description
|
|
1004
984
|
*
|
|
@@ -1010,7 +990,7 @@ export class Api extends HttpClient {
|
|
|
1010
990
|
* @response `200` `AccountDeactivated` OK
|
|
1011
991
|
* @response `422` `UnprocessableEntity` Unprocessable Content
|
|
1012
992
|
*/
|
|
1013
|
-
getTokenFromChallengeCode: (data, params = {}) => this.request(Object.assign({ path: `/api/token/code`, method: "POST", body: data, secure: true, type:
|
|
993
|
+
getTokenFromChallengeCode: (data, params = {}) => this.request(Object.assign({ path: `/api/token/code`, method: "POST", body: data, secure: true, type: "application/json", format: "json" }, params)),
|
|
1014
994
|
/**
|
|
1015
995
|
* No description
|
|
1016
996
|
*
|
|
@@ -1022,7 +1002,7 @@ export class Api extends HttpClient {
|
|
|
1022
1002
|
* @response `200` `Token` OK
|
|
1023
1003
|
* @response `422` `UnprocessableEntity` Unprocessable Content
|
|
1024
1004
|
*/
|
|
1025
|
-
getSystemToken: (data, params = {}) => this.request(Object.assign({ path: `/api/oauth2/token`, method: "POST", body: data, secure: true, type:
|
|
1005
|
+
getSystemToken: (data, params = {}) => this.request(Object.assign({ path: `/api/oauth2/token`, method: "POST", body: data, secure: true, type: "application/json", format: "json" }, params)),
|
|
1026
1006
|
/**
|
|
1027
1007
|
* No description
|
|
1028
1008
|
*
|
|
@@ -1034,7 +1014,7 @@ export class Api extends HttpClient {
|
|
|
1034
1014
|
* @response `200` `SSOToken` OK
|
|
1035
1015
|
* @response `422` `UnprocessableEntity` Unprocessable Content
|
|
1036
1016
|
*/
|
|
1037
|
-
getSsoToken: (data, params = {}) => this.request(Object.assign({ path: `/api/token/sso`, method: "POST", body: data, secure: true, type:
|
|
1017
|
+
getSsoToken: (data, params = {}) => this.request(Object.assign({ path: `/api/token/sso`, method: "POST", body: data, secure: true, type: "application/json", format: "json" }, params)),
|
|
1038
1018
|
/**
|
|
1039
1019
|
* No description
|
|
1040
1020
|
*
|
|
@@ -1069,7 +1049,7 @@ export class Api extends HttpClient {
|
|
|
1069
1049
|
* @response `200` `GetBranch` OK
|
|
1070
1050
|
* @response `422` `UnprocessableEntity` Unprocessable Content
|
|
1071
1051
|
*/
|
|
1072
|
-
createBranch: (data, params = {}) => this.request(Object.assign({ path: `/api/branches`, method: "POST", body: data, secure: true, type:
|
|
1052
|
+
createBranch: (data, params = {}) => this.request(Object.assign({ path: `/api/branches`, method: "POST", body: data, secure: true, type: "application/json", format: "json" }, params)),
|
|
1073
1053
|
/**
|
|
1074
1054
|
* No description
|
|
1075
1055
|
*
|
|
@@ -1080,7 +1060,7 @@ export class Api extends HttpClient {
|
|
|
1080
1060
|
* @secure
|
|
1081
1061
|
* @response `200` `GetBranchPaginated` OK
|
|
1082
1062
|
*/
|
|
1083
|
-
searchBranches: (data, query, params = {}) => this.request(Object.assign({ path: `/api/branches/search`, method: "POST", query: query, body: data, secure: true, type:
|
|
1063
|
+
searchBranches: (data, query, params = {}) => this.request(Object.assign({ path: `/api/branches/search`, method: "POST", query: query, body: data, secure: true, type: "application/json", format: "json" }, params)),
|
|
1084
1064
|
/**
|
|
1085
1065
|
* No description
|
|
1086
1066
|
*
|
|
@@ -1103,7 +1083,7 @@ export class Api extends HttpClient {
|
|
|
1103
1083
|
* @response `200` `GetBranch` OK
|
|
1104
1084
|
* @response `422` `UnprocessableEntity` Unprocessable Content
|
|
1105
1085
|
*/
|
|
1106
|
-
replaceBranch: (branchId, data, params = {}) => this.request(Object.assign({ path: `/api/branches/${branchId}`, method: "PUT", body: data, secure: true, type:
|
|
1086
|
+
replaceBranch: (branchId, data, params = {}) => this.request(Object.assign({ path: `/api/branches/${branchId}`, method: "PUT", body: data, secure: true, type: "application/json", format: "json" }, params)),
|
|
1107
1087
|
/**
|
|
1108
1088
|
* No description
|
|
1109
1089
|
*
|
|
@@ -1138,7 +1118,7 @@ export class Api extends HttpClient {
|
|
|
1138
1118
|
* @response `200` `SiteConfiguration` OK
|
|
1139
1119
|
* @response `422` `UnprocessableEntity` Unprocessable Content
|
|
1140
1120
|
*/
|
|
1141
|
-
createBranchSiteConfiguration: (branchId, data, params = {}) => this.request(Object.assign({ path: `/api/branches/${branchId}/site-configurations`, method: "POST", body: data, secure: true, type:
|
|
1121
|
+
createBranchSiteConfiguration: (branchId, data, params = {}) => this.request(Object.assign({ path: `/api/branches/${branchId}/site-configurations`, method: "POST", body: data, secure: true, type: "application/json", format: "json" }, params)),
|
|
1142
1122
|
/**
|
|
1143
1123
|
* No description
|
|
1144
1124
|
*
|
|
@@ -1161,7 +1141,7 @@ export class Api extends HttpClient {
|
|
|
1161
1141
|
* @response `200` `SiteConfiguration` OK
|
|
1162
1142
|
* @response `422` `UnprocessableEntity` Unprocessable Content
|
|
1163
1143
|
*/
|
|
1164
|
-
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:
|
|
1144
|
+
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: "application/json", format: "json" }, params)),
|
|
1165
1145
|
/**
|
|
1166
1146
|
* No description
|
|
1167
1147
|
*
|
|
@@ -1195,7 +1175,7 @@ export class Api extends HttpClient {
|
|
|
1195
1175
|
* @response `200` `BusinessRule` OK
|
|
1196
1176
|
* @response `422` `UnprocessableEntity` Unprocessable Content
|
|
1197
1177
|
*/
|
|
1198
|
-
createBusinessRule: (data, params = {}) => this.request(Object.assign({ path: `/api/business-rules`, method: "POST", body: data, secure: true, type:
|
|
1178
|
+
createBusinessRule: (data, params = {}) => this.request(Object.assign({ path: `/api/business-rules`, method: "POST", body: data, secure: true, type: "application/json", format: "json" }, params)),
|
|
1199
1179
|
/**
|
|
1200
1180
|
* No description
|
|
1201
1181
|
*
|
|
@@ -1218,7 +1198,7 @@ export class Api extends HttpClient {
|
|
|
1218
1198
|
* @response `200` `BusinessRule` OK
|
|
1219
1199
|
* @response `422` `UnprocessableEntity` Unprocessable Content
|
|
1220
1200
|
*/
|
|
1221
|
-
replaceBusinessRule: (id, data, params = {}) => this.request(Object.assign({ path: `/api/business-rules/${id}`, method: "PUT", body: data, secure: true, type:
|
|
1201
|
+
replaceBusinessRule: (id, data, params = {}) => this.request(Object.assign({ path: `/api/business-rules/${id}`, method: "PUT", body: data, secure: true, type: "application/json", format: "json" }, params)),
|
|
1222
1202
|
/**
|
|
1223
1203
|
* No description
|
|
1224
1204
|
*
|
|
@@ -1251,7 +1231,7 @@ export class Api extends HttpClient {
|
|
|
1251
1231
|
* @secure
|
|
1252
1232
|
* @response `200` `ClosedLoansReport` OK
|
|
1253
1233
|
*/
|
|
1254
|
-
getClosedLoansReport: (data, params = {}) => this.request(Object.assign({ path: `/api/loans/reports/closed-loans`, method: "POST", body: data, secure: true, type:
|
|
1234
|
+
getClosedLoansReport: (data, params = {}) => this.request(Object.assign({ path: `/api/loans/reports/closed-loans`, method: "POST", body: data, secure: true, type: "application/json", format: "json" }, params)),
|
|
1255
1235
|
/**
|
|
1256
1236
|
* No description
|
|
1257
1237
|
*
|
|
@@ -1296,7 +1276,7 @@ export class Api extends HttpClient {
|
|
|
1296
1276
|
* @response `200` `Corporate` OK
|
|
1297
1277
|
* @response `422` `UnprocessableEntity` Unprocessable Content
|
|
1298
1278
|
*/
|
|
1299
|
-
createCorporate: (data, params = {}) => this.request(Object.assign({ path: `/api/corporates`, method: "POST", body: data, secure: true, type:
|
|
1279
|
+
createCorporate: (data, params = {}) => this.request(Object.assign({ path: `/api/corporates`, method: "POST", body: data, secure: true, type: "application/json", format: "json" }, params)),
|
|
1300
1280
|
/**
|
|
1301
1281
|
* No description
|
|
1302
1282
|
*
|
|
@@ -1307,7 +1287,7 @@ export class Api extends HttpClient {
|
|
|
1307
1287
|
* @secure
|
|
1308
1288
|
* @response `200` `CorporatePaginated` OK
|
|
1309
1289
|
*/
|
|
1310
|
-
searchCorporate: (data, query, params = {}) => this.request(Object.assign({ path: `/api/corporates/search`, method: "POST", query: query, body: data, secure: true, type:
|
|
1290
|
+
searchCorporate: (data, query, params = {}) => this.request(Object.assign({ path: `/api/corporates/search`, method: "POST", query: query, body: data, secure: true, type: "application/json", format: "json" }, params)),
|
|
1311
1291
|
/**
|
|
1312
1292
|
* No description
|
|
1313
1293
|
*
|
|
@@ -1330,7 +1310,7 @@ export class Api extends HttpClient {
|
|
|
1330
1310
|
* @response `200` `Corporate` OK
|
|
1331
1311
|
* @response `422` `UnprocessableEntity` Unprocessable Content
|
|
1332
1312
|
*/
|
|
1333
|
-
replaceCorporate: (id, data, params = {}) => this.request(Object.assign({ path: `/api/corporates/${id}`, method: "PUT", body: data, secure: true, type:
|
|
1313
|
+
replaceCorporate: (id, data, params = {}) => this.request(Object.assign({ path: `/api/corporates/${id}`, method: "PUT", body: data, secure: true, type: "application/json", format: "json" }, params)),
|
|
1334
1314
|
/**
|
|
1335
1315
|
* No description
|
|
1336
1316
|
*
|
|
@@ -1364,7 +1344,7 @@ export class Api extends HttpClient {
|
|
|
1364
1344
|
* @response `200` `SiteConfiguration` OK
|
|
1365
1345
|
* @response `422` `UnprocessableEntity` Unprocessable Content
|
|
1366
1346
|
*/
|
|
1367
|
-
createCorporateSiteConfiguration: (corporateId, data, params = {}) => this.request(Object.assign({ path: `/api/corporates/${corporateId}/site-configurations`, method: "POST", body: data, secure: true, type:
|
|
1347
|
+
createCorporateSiteConfiguration: (corporateId, data, params = {}) => this.request(Object.assign({ path: `/api/corporates/${corporateId}/site-configurations`, method: "POST", body: data, secure: true, type: "application/json", format: "json" }, params)),
|
|
1368
1348
|
/**
|
|
1369
1349
|
* No description
|
|
1370
1350
|
*
|
|
@@ -1387,7 +1367,7 @@ export class Api extends HttpClient {
|
|
|
1387
1367
|
* @response `200` `SiteConfiguration` OK
|
|
1388
1368
|
* @response `422` `UnprocessableEntity` Unprocessable Content
|
|
1389
1369
|
*/
|
|
1390
|
-
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:
|
|
1370
|
+
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: "application/json", format: "json" }, params)),
|
|
1391
1371
|
/**
|
|
1392
1372
|
* No description
|
|
1393
1373
|
*
|
|
@@ -1433,7 +1413,7 @@ export class Api extends HttpClient {
|
|
|
1433
1413
|
* @response `409` `ProblemDetails` Conflict
|
|
1434
1414
|
* @response `422` `ProblemDetails` Unprocessable Content
|
|
1435
1415
|
*/
|
|
1436
|
-
createCustomFieldDefinition: (data, params = {}) => this.request(Object.assign({ path: `/api/custom-field-definitions`, method: "POST", body: data, secure: true, type:
|
|
1416
|
+
createCustomFieldDefinition: (data, params = {}) => this.request(Object.assign({ path: `/api/custom-field-definitions`, method: "POST", body: data, secure: true, type: "application/json", format: "json" }, params)),
|
|
1437
1417
|
/**
|
|
1438
1418
|
* No description
|
|
1439
1419
|
*
|
|
@@ -1460,7 +1440,7 @@ export class Api extends HttpClient {
|
|
|
1460
1440
|
* @response `409` `ProblemDetails` Conflict
|
|
1461
1441
|
* @response `422` `ProblemDetails` Unprocessable Content
|
|
1462
1442
|
*/
|
|
1463
|
-
updateCustomFieldDefinition: (id, data, params = {}) => this.request(Object.assign({ path: `/api/custom-field-definitions/${id}`, method: "PUT", body: data, secure: true, type:
|
|
1443
|
+
updateCustomFieldDefinition: (id, data, params = {}) => this.request(Object.assign({ path: `/api/custom-field-definitions/${id}`, method: "PUT", body: data, secure: true, type: "application/json", format: "json" }, params)),
|
|
1464
1444
|
/**
|
|
1465
1445
|
* No description
|
|
1466
1446
|
*
|
|
@@ -1530,7 +1510,7 @@ export class Api extends HttpClient {
|
|
|
1530
1510
|
* @secure
|
|
1531
1511
|
* @response `200` `Device` OK
|
|
1532
1512
|
*/
|
|
1533
|
-
updateDevice: (id, data, params = {}) => this.request(Object.assign({ path: `/api/devices/${id}`, method: "PUT", body: data, secure: true, type:
|
|
1513
|
+
updateDevice: (id, data, params = {}) => this.request(Object.assign({ path: `/api/devices/${id}`, method: "PUT", body: data, secure: true, type: "application/json", format: "json" }, params)),
|
|
1534
1514
|
/**
|
|
1535
1515
|
* No description
|
|
1536
1516
|
*
|
|
@@ -1587,7 +1567,7 @@ export class Api extends HttpClient {
|
|
|
1587
1567
|
* @response `404` `ProblemDetails` Not Found
|
|
1588
1568
|
* @response `422` `UnprocessableEntity` Unprocessable Content
|
|
1589
1569
|
*/
|
|
1590
|
-
createDocumentTemplate: (data, params = {}) => this.request(Object.assign({ path: `/api/document-templates`, method: "POST", body: data, secure: true, type:
|
|
1570
|
+
createDocumentTemplate: (data, params = {}) => this.request(Object.assign({ path: `/api/document-templates`, method: "POST", body: data, secure: true, type: "application/json", format: "json" }, params)),
|
|
1591
1571
|
/**
|
|
1592
1572
|
* No description
|
|
1593
1573
|
*
|
|
@@ -1624,7 +1604,7 @@ export class Api extends HttpClient {
|
|
|
1624
1604
|
* @response `404` `ProblemDetails` Not Found
|
|
1625
1605
|
* @response `422` `UnprocessableEntity` Unprocessable Content
|
|
1626
1606
|
*/
|
|
1627
|
-
replaceDocumentTemplate: (id, data, params = {}) => this.request(Object.assign({ path: `/api/document-templates/${id}`, method: "PUT", body: data, secure: true, type:
|
|
1607
|
+
replaceDocumentTemplate: (id, data, params = {}) => this.request(Object.assign({ path: `/api/document-templates/${id}`, method: "PUT", body: data, secure: true, type: "application/json", format: "json" }, params)),
|
|
1628
1608
|
/**
|
|
1629
1609
|
* No description
|
|
1630
1610
|
*
|
|
@@ -1672,7 +1652,7 @@ export class Api extends HttpClient {
|
|
|
1672
1652
|
* @secure
|
|
1673
1653
|
* @response `200` `DocumentTemplateVersion` OK
|
|
1674
1654
|
*/
|
|
1675
|
-
createDocumentTemplateVersion: (documentId, data, params = {}) => this.request(Object.assign({ path: `/api/document-templates/${documentId}/versions`, method: "POST", body: data, secure: true, type:
|
|
1655
|
+
createDocumentTemplateVersion: (documentId, data, params = {}) => this.request(Object.assign({ path: `/api/document-templates/${documentId}/versions`, method: "POST", body: data, secure: true, type: "application/json", format: "json" }, params)),
|
|
1676
1656
|
/**
|
|
1677
1657
|
* No description
|
|
1678
1658
|
*
|
|
@@ -1694,7 +1674,7 @@ export class Api extends HttpClient {
|
|
|
1694
1674
|
* @secure
|
|
1695
1675
|
* @response `200` `DocumentTemplateVersion` OK
|
|
1696
1676
|
*/
|
|
1697
|
-
replaceDocumentTemplateVersion: (documentId, id, data, params = {}) => this.request(Object.assign({ path: `/api/document-templates/${documentId}/versions/${id}`, method: "PUT", body: data, secure: true, type:
|
|
1677
|
+
replaceDocumentTemplateVersion: (documentId, id, data, params = {}) => this.request(Object.assign({ path: `/api/document-templates/${documentId}/versions/${id}`, method: "PUT", body: data, secure: true, type: "application/json", format: "json" }, params)),
|
|
1698
1678
|
/**
|
|
1699
1679
|
* No description
|
|
1700
1680
|
*
|
|
@@ -1732,7 +1712,7 @@ export class Api extends HttpClient {
|
|
|
1732
1712
|
* @response `409` `void` Conflict
|
|
1733
1713
|
* @response `422` `ProblemDetails` Unprocessable Content
|
|
1734
1714
|
*/
|
|
1735
|
-
addEncompassCustomFieldMapping: (definitionId, data, params = {}) => this.request(Object.assign({ path: `/api/los/encompass/custom-field-mappings/${definitionId}`, method: "POST", body: data, secure: true, type:
|
|
1715
|
+
addEncompassCustomFieldMapping: (definitionId, data, params = {}) => this.request(Object.assign({ path: `/api/los/encompass/custom-field-mappings/${definitionId}`, method: "POST", body: data, secure: true, type: "application/json", format: "json" }, params)),
|
|
1736
1716
|
/**
|
|
1737
1717
|
* No description
|
|
1738
1718
|
*
|
|
@@ -1795,6 +1775,20 @@ export class Api extends HttpClient {
|
|
|
1795
1775
|
* @response `500` `EncompassError` Internal Server Error
|
|
1796
1776
|
*/
|
|
1797
1777
|
getUserPackages: (query, params = {}) => this.request(Object.assign({ path: `/api/los/encompass/eclose/packages`, method: "GET", query: query, secure: true, format: "json" }, params)),
|
|
1778
|
+
/**
|
|
1779
|
+
* No description
|
|
1780
|
+
*
|
|
1781
|
+
* @tags Encompass Packages
|
|
1782
|
+
* @name GetLoanPackages
|
|
1783
|
+
* @request GET:/api/los/encompass/eclose/loans/{loanId}/packages
|
|
1784
|
+
* @secure
|
|
1785
|
+
* @response `200` `EncompassPackageList` OK
|
|
1786
|
+
* @response `400` `EncompassError` Bad Request
|
|
1787
|
+
* @response `401` `EncompassError` Unauthorized
|
|
1788
|
+
* @response `403` `EncompassError` Forbidden
|
|
1789
|
+
* @response `500` `EncompassError` Internal Server Error
|
|
1790
|
+
*/
|
|
1791
|
+
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)),
|
|
1798
1792
|
/**
|
|
1799
1793
|
* No description
|
|
1800
1794
|
*
|
|
@@ -1821,7 +1815,7 @@ export class Api extends HttpClient {
|
|
|
1821
1815
|
* @response `404` `EncompassError` Not Found
|
|
1822
1816
|
* @response `500` `EncompassError` Internal Server Error
|
|
1823
1817
|
*/
|
|
1824
|
-
createEncompassSession: (data, params = {}) => this.request(Object.assign({ path: `/api/los/encompass/eclose/sessions`, method: "POST", body: data, secure: true, type:
|
|
1818
|
+
createEncompassSession: (data, params = {}) => this.request(Object.assign({ path: `/api/los/encompass/eclose/sessions`, method: "POST", body: data, secure: true, type: "application/json", format: "json" }, params)),
|
|
1825
1819
|
/**
|
|
1826
1820
|
* No description
|
|
1827
1821
|
*
|
|
@@ -1844,7 +1838,7 @@ export class Api extends HttpClient {
|
|
|
1844
1838
|
* @response `201` `File` Created
|
|
1845
1839
|
* @response `422` `UnprocessableEntity` Unprocessable Content
|
|
1846
1840
|
*/
|
|
1847
|
-
uploadFile: (data, params = {}) => this.request(Object.assign({ path: `/api/files`, method: "POST", body: data, secure: true, type:
|
|
1841
|
+
uploadFile: (data, params = {}) => this.request(Object.assign({ path: `/api/files`, method: "POST", body: data, secure: true, type: "multipart/form-data", format: "json" }, params)),
|
|
1848
1842
|
/**
|
|
1849
1843
|
* No description
|
|
1850
1844
|
*
|
|
@@ -1867,7 +1861,7 @@ export class Api extends HttpClient {
|
|
|
1867
1861
|
* @response `200` `string` OK
|
|
1868
1862
|
* @response `422` `UnprocessableEntity` Unprocessable Content
|
|
1869
1863
|
*/
|
|
1870
|
-
replaceFile: (id, data, params = {}) => this.request(Object.assign({ path: `/api/files/${id}`, method: "PUT", body: data, secure: true, type:
|
|
1864
|
+
replaceFile: (id, data, params = {}) => this.request(Object.assign({ path: `/api/files/${id}`, method: "PUT", body: data, secure: true, type: "application/json", format: "json" }, params)),
|
|
1871
1865
|
/**
|
|
1872
1866
|
* No description
|
|
1873
1867
|
*
|
|
@@ -1889,7 +1883,7 @@ export class Api extends HttpClient {
|
|
|
1889
1883
|
* @secure
|
|
1890
1884
|
* @response `200` `FilePaginated` OK
|
|
1891
1885
|
*/
|
|
1892
|
-
searchFiles: (data, query, params = {}) => this.request(Object.assign({ path: `/api/files/search`, method: "POST", query: query, body: data, secure: true, type:
|
|
1886
|
+
searchFiles: (data, query, params = {}) => this.request(Object.assign({ path: `/api/files/search`, method: "POST", query: query, body: data, secure: true, type: "application/json", format: "json" }, params)),
|
|
1893
1887
|
/**
|
|
1894
1888
|
* No description
|
|
1895
1889
|
*
|
|
@@ -1912,7 +1906,7 @@ export class Api extends HttpClient {
|
|
|
1912
1906
|
* @response `201` `Form` Created
|
|
1913
1907
|
* @response `422` `UnprocessableEntity` Unprocessable Content
|
|
1914
1908
|
*/
|
|
1915
|
-
createForm: (data, params = {}) => this.request(Object.assign({ path: `/api/forms`, method: "POST", body: data, secure: true, type:
|
|
1909
|
+
createForm: (data, params = {}) => this.request(Object.assign({ path: `/api/forms`, method: "POST", body: data, secure: true, type: "application/json", format: "json" }, params)),
|
|
1916
1910
|
/**
|
|
1917
1911
|
* No description
|
|
1918
1912
|
*
|
|
@@ -1935,7 +1929,7 @@ export class Api extends HttpClient {
|
|
|
1935
1929
|
* @response `200` `Form` OK
|
|
1936
1930
|
* @response `422` `UnprocessableEntity` Unprocessable Content
|
|
1937
1931
|
*/
|
|
1938
|
-
replaceForm: (id, data, params = {}) => this.request(Object.assign({ path: `/api/forms/${id}`, method: "PUT", body: data, secure: true, type:
|
|
1932
|
+
replaceForm: (id, data, params = {}) => this.request(Object.assign({ path: `/api/forms/${id}`, method: "PUT", body: data, secure: true, type: "application/json", format: "json" }, params)),
|
|
1939
1933
|
/**
|
|
1940
1934
|
* No description
|
|
1941
1935
|
*
|
|
@@ -1968,7 +1962,7 @@ export class Api extends HttpClient {
|
|
|
1968
1962
|
* @secure
|
|
1969
1963
|
* @response `200` `FormSubmissionFile` OK
|
|
1970
1964
|
*/
|
|
1971
|
-
addFormSubmissionFile: (formSubmissionId, data, params = {}) => this.request(Object.assign({ path: `/api/form-submissions/${formSubmissionId}/files`, method: "POST", body: data, secure: true, type:
|
|
1965
|
+
addFormSubmissionFile: (formSubmissionId, data, params = {}) => this.request(Object.assign({ path: `/api/form-submissions/${formSubmissionId}/files`, method: "POST", body: data, secure: true, type: "multipart/form-data", format: "json" }, params)),
|
|
1972
1966
|
/**
|
|
1973
1967
|
* No description
|
|
1974
1968
|
*
|
|
@@ -2012,7 +2006,7 @@ export class Api extends HttpClient {
|
|
|
2012
2006
|
* @secure
|
|
2013
2007
|
* @response `201` `FormSubmission` Created
|
|
2014
2008
|
*/
|
|
2015
|
-
createFormSubmission: (data, query, params = {}) => this.request(Object.assign({ path: `/api/form-submissions`, method: "POST", query: query, body: data, secure: true, type:
|
|
2009
|
+
createFormSubmission: (data, query, params = {}) => this.request(Object.assign({ path: `/api/form-submissions`, method: "POST", query: query, body: data, secure: true, type: "application/json", format: "json" }, params)),
|
|
2016
2010
|
/**
|
|
2017
2011
|
* No description
|
|
2018
2012
|
*
|
|
@@ -2034,7 +2028,7 @@ export class Api extends HttpClient {
|
|
|
2034
2028
|
* @secure
|
|
2035
2029
|
* @response `200` `FormSubmission` OK
|
|
2036
2030
|
*/
|
|
2037
|
-
replaceFormSubmission: (id, data, params = {}) => this.request(Object.assign({ path: `/api/form-submissions/${id}`, method: "PUT", body: data, secure: true, type:
|
|
2031
|
+
replaceFormSubmission: (id, data, params = {}) => this.request(Object.assign({ path: `/api/form-submissions/${id}`, method: "PUT", body: data, secure: true, type: "application/json", format: "json" }, params)),
|
|
2038
2032
|
/**
|
|
2039
2033
|
* No description
|
|
2040
2034
|
*
|
|
@@ -2056,7 +2050,7 @@ export class Api extends HttpClient {
|
|
|
2056
2050
|
* @secure
|
|
2057
2051
|
* @response `200` `FormSubmissionPaginated` OK
|
|
2058
2052
|
*/
|
|
2059
|
-
searchFormSubmissions: (data, query, params = {}) => this.request(Object.assign({ path: `/api/form-submissions/search`, method: "POST", query: query, body: data, secure: true, type:
|
|
2053
|
+
searchFormSubmissions: (data, query, params = {}) => this.request(Object.assign({ path: `/api/form-submissions/search`, method: "POST", query: query, body: data, secure: true, type: "application/json", format: "json" }, params)),
|
|
2060
2054
|
/**
|
|
2061
2055
|
* No description
|
|
2062
2056
|
*
|
|
@@ -2078,7 +2072,7 @@ export class Api extends HttpClient {
|
|
|
2078
2072
|
* @secure
|
|
2079
2073
|
* @response `200` `FormVersion` OK
|
|
2080
2074
|
*/
|
|
2081
|
-
createFormVersion: (formId, data, params = {}) => this.request(Object.assign({ path: `/api/forms/${formId}/versions`, method: "POST", body: data, secure: true, type:
|
|
2075
|
+
createFormVersion: (formId, data, params = {}) => this.request(Object.assign({ path: `/api/forms/${formId}/versions`, method: "POST", body: data, secure: true, type: "application/json", format: "json" }, params)),
|
|
2082
2076
|
/**
|
|
2083
2077
|
* No description
|
|
2084
2078
|
*
|
|
@@ -2100,7 +2094,7 @@ export class Api extends HttpClient {
|
|
|
2100
2094
|
* @secure
|
|
2101
2095
|
* @response `200` `FormVersion` OK
|
|
2102
2096
|
*/
|
|
2103
|
-
replaceFormVersion: (formId, id, data, params = {}) => this.request(Object.assign({ path: `/api/forms/${formId}/versions/${id}`, method: "PUT", body: data, secure: true, type:
|
|
2097
|
+
replaceFormVersion: (formId, id, data, params = {}) => this.request(Object.assign({ path: `/api/forms/${formId}/versions/${id}`, method: "PUT", body: data, secure: true, type: "application/json", format: "json" }, params)),
|
|
2104
2098
|
/**
|
|
2105
2099
|
* No description
|
|
2106
2100
|
*
|
|
@@ -2146,7 +2140,7 @@ export class Api extends HttpClient {
|
|
|
2146
2140
|
* @response `200` `string` OK
|
|
2147
2141
|
* @response `422` `UnprocessableEntity` Unprocessable Content
|
|
2148
2142
|
*/
|
|
2149
|
-
updateLoanConsentAndCustomFieldsObsolete: (loanId, data, params = {}) => this.request(Object.assign({ path: `/api/los/loan/application/${loanId}`, method: "PATCH", body: data, secure: true, type:
|
|
2143
|
+
updateLoanConsentAndCustomFieldsObsolete: (loanId, data, params = {}) => this.request(Object.assign({ path: `/api/los/loan/application/${loanId}`, method: "PATCH", body: data, secure: true, type: "application/json", format: "json" }, params)),
|
|
2150
2144
|
/**
|
|
2151
2145
|
* No description
|
|
2152
2146
|
*
|
|
@@ -2157,7 +2151,7 @@ export class Api extends HttpClient {
|
|
|
2157
2151
|
* @secure
|
|
2158
2152
|
* @response `200` `GetReport` OK
|
|
2159
2153
|
*/
|
|
2160
|
-
getLoansReport: (data, params = {}) => this.request(Object.assign({ path: `/api/los/loan/reports`, method: "POST", body: data, secure: true, type:
|
|
2154
|
+
getLoansReport: (data, params = {}) => this.request(Object.assign({ path: `/api/los/loan/reports`, method: "POST", body: data, secure: true, type: "application/json", format: "json" }, params)),
|
|
2161
2155
|
/**
|
|
2162
2156
|
* No description
|
|
2163
2157
|
*
|
|
@@ -2171,7 +2165,7 @@ export class Api extends HttpClient {
|
|
|
2171
2165
|
* @response `422` `UnprocessableEntity` Unprocessable Content
|
|
2172
2166
|
* @response `423` `UnprocessableEntity` Locked
|
|
2173
2167
|
*/
|
|
2174
|
-
createLoan: (data, query, params = {}) => this.request(Object.assign({ path: `/api/los/loan/application`, method: "POST", query: query, body: data, secure: true, type:
|
|
2168
|
+
createLoan: (data, query, params = {}) => this.request(Object.assign({ path: `/api/los/loan/application`, method: "POST", query: query, body: data, secure: true, type: "application/json", format: "json" }, params)),
|
|
2175
2169
|
/**
|
|
2176
2170
|
* No description
|
|
2177
2171
|
*
|
|
@@ -2184,7 +2178,7 @@ export class Api extends HttpClient {
|
|
|
2184
2178
|
* @response `422` `UnprocessableEntity` Unprocessable Content
|
|
2185
2179
|
* @response `423` `UnprocessableEntity` Locked
|
|
2186
2180
|
*/
|
|
2187
|
-
createLoanInternal: (data, query, params = {}) => this.request(Object.assign({ path: `/api/los/loan/application/internal`, method: "POST", query: query, body: data, secure: true, type:
|
|
2181
|
+
createLoanInternal: (data, query, params = {}) => this.request(Object.assign({ path: `/api/los/loan/application/internal`, method: "POST", query: query, body: data, secure: true, type: "application/json", format: "json" }, params)),
|
|
2188
2182
|
/**
|
|
2189
2183
|
* No description
|
|
2190
2184
|
*
|
|
@@ -2196,7 +2190,7 @@ export class Api extends HttpClient {
|
|
|
2196
2190
|
* @response `200` `string` OK
|
|
2197
2191
|
* @response `422` `UnprocessableEntity` Unprocessable Content
|
|
2198
2192
|
*/
|
|
2199
|
-
updateLoanCustomFields: (loanId, data, params = {}) => this.request(Object.assign({ path: `/api/los/loan/application/${loanId}/custom-fields`, method: "PATCH", body: data, secure: true, type:
|
|
2193
|
+
updateLoanCustomFields: (loanId, data, params = {}) => this.request(Object.assign({ path: `/api/los/loan/application/${loanId}/custom-fields`, method: "PATCH", body: data, secure: true, type: "application/json", format: "json" }, params)),
|
|
2200
2194
|
/**
|
|
2201
2195
|
* No description
|
|
2202
2196
|
*
|
|
@@ -2209,7 +2203,7 @@ export class Api extends HttpClient {
|
|
|
2209
2203
|
* @response `202` `string` Accepted
|
|
2210
2204
|
* @response `422` `UnprocessableEntity` Unprocessable Content
|
|
2211
2205
|
*/
|
|
2212
|
-
updateLoanConsent: (loanId, data, params = {}) => this.request(Object.assign({ path: `/api/los/loan/application/${loanId}/consent`, method: "PATCH", body: data, secure: true, type:
|
|
2206
|
+
updateLoanConsent: (loanId, data, params = {}) => this.request(Object.assign({ path: `/api/los/loan/application/${loanId}/consent`, method: "PATCH", body: data, secure: true, type: "application/json", format: "json" }, params)),
|
|
2213
2207
|
/**
|
|
2214
2208
|
* No description
|
|
2215
2209
|
*
|
|
@@ -2276,18 +2270,6 @@ export class Api extends HttpClient {
|
|
|
2276
2270
|
* @response `200` `string` OK
|
|
2277
2271
|
*/
|
|
2278
2272
|
getLoanEmbeddedSigningLink: (envelopeId, userName, email, params = {}) => this.request(Object.assign({ path: `/api/los/loan/embeddedsigning/${envelopeId}/${userName}/${email}`, method: "POST", secure: true, format: "json" }, params)),
|
|
2279
|
-
/**
|
|
2280
|
-
* No description
|
|
2281
|
-
*
|
|
2282
|
-
* @tags LegacyLoan
|
|
2283
|
-
* @name CreateLegacyLoanDocument
|
|
2284
|
-
* @summary Create Document
|
|
2285
|
-
* @request POST:/api/los/loan/generatedocument
|
|
2286
|
-
* @deprecated
|
|
2287
|
-
* @secure
|
|
2288
|
-
* @response `200` `DocumentDataRequest` OK
|
|
2289
|
-
*/
|
|
2290
|
-
createLegacyLoanDocument: (data, params = {}) => this.request(Object.assign({ path: `/api/los/loan/generatedocument`, method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
|
|
2291
2273
|
/**
|
|
2292
2274
|
* No description
|
|
2293
2275
|
*
|
|
@@ -2312,7 +2294,7 @@ export class Api extends HttpClient {
|
|
|
2312
2294
|
* @secure
|
|
2313
2295
|
* @response `200` `ListingFile` OK
|
|
2314
2296
|
*/
|
|
2315
|
-
addListingFile: (listingId, data, params = {}) => this.request(Object.assign({ path: `/api/listings/${listingId}/files`, method: "POST", body: data, secure: true, type:
|
|
2297
|
+
addListingFile: (listingId, data, params = {}) => this.request(Object.assign({ path: `/api/listings/${listingId}/files`, method: "POST", body: data, secure: true, type: "multipart/form-data", format: "json" }, params)),
|
|
2316
2298
|
/**
|
|
2317
2299
|
* No description
|
|
2318
2300
|
*
|
|
@@ -2323,7 +2305,7 @@ export class Api extends HttpClient {
|
|
|
2323
2305
|
* @secure
|
|
2324
2306
|
* @response `200` `ListingFile` OK
|
|
2325
2307
|
*/
|
|
2326
|
-
updateListingFiles: (listingId, data, params = {}) => this.request(Object.assign({ path: `/api/listings/${listingId}/files`, method: "PATCH", body: data, secure: true, type:
|
|
2308
|
+
updateListingFiles: (listingId, data, params = {}) => this.request(Object.assign({ path: `/api/listings/${listingId}/files`, method: "PATCH", body: data, secure: true, type: "application/json", format: "json" }, params)),
|
|
2327
2309
|
/**
|
|
2328
2310
|
* No description
|
|
2329
2311
|
*
|
|
@@ -2345,7 +2327,7 @@ export class Api extends HttpClient {
|
|
|
2345
2327
|
* @secure
|
|
2346
2328
|
* @response `200` `ListingPhoto` OK
|
|
2347
2329
|
*/
|
|
2348
|
-
addListingPhoto: (listingId, data, params = {}) => this.request(Object.assign({ path: `/api/listings/${listingId}/photos`, method: "POST", body: data, secure: true, type:
|
|
2330
|
+
addListingPhoto: (listingId, data, params = {}) => this.request(Object.assign({ path: `/api/listings/${listingId}/photos`, method: "POST", body: data, secure: true, type: "multipart/form-data", format: "json" }, params)),
|
|
2349
2331
|
/**
|
|
2350
2332
|
* No description
|
|
2351
2333
|
*
|
|
@@ -2356,7 +2338,7 @@ export class Api extends HttpClient {
|
|
|
2356
2338
|
* @secure
|
|
2357
2339
|
* @response `200` `(ListingPhoto)[]` OK
|
|
2358
2340
|
*/
|
|
2359
|
-
updateListingPhotos: (listingId, data, params = {}) => this.request(Object.assign({ path: `/api/listings/${listingId}/photos`, method: "PATCH", body: data, secure: true, type:
|
|
2341
|
+
updateListingPhotos: (listingId, data, params = {}) => this.request(Object.assign({ path: `/api/listings/${listingId}/photos`, method: "PATCH", body: data, secure: true, type: "application/json", format: "json" }, params)),
|
|
2360
2342
|
/**
|
|
2361
2343
|
* No description
|
|
2362
2344
|
*
|
|
@@ -2389,7 +2371,7 @@ export class Api extends HttpClient {
|
|
|
2389
2371
|
* @secure
|
|
2390
2372
|
* @response `201` `Listing` Created
|
|
2391
2373
|
*/
|
|
2392
|
-
createListing: (data, params = {}) => this.request(Object.assign({ path: `/api/listings`, method: "POST", body: data, secure: true, type:
|
|
2374
|
+
createListing: (data, params = {}) => this.request(Object.assign({ path: `/api/listings`, method: "POST", body: data, secure: true, type: "application/json", format: "json" }, params)),
|
|
2393
2375
|
/**
|
|
2394
2376
|
* No description
|
|
2395
2377
|
*
|
|
@@ -2422,7 +2404,7 @@ export class Api extends HttpClient {
|
|
|
2422
2404
|
* @secure
|
|
2423
2405
|
* @response `200` `Listing` OK
|
|
2424
2406
|
*/
|
|
2425
|
-
replaceListing: (id, data, params = {}) => this.request(Object.assign({ path: `/api/listings/${id}`, method: "PUT", body: data, secure: true, type:
|
|
2407
|
+
replaceListing: (id, data, params = {}) => this.request(Object.assign({ path: `/api/listings/${id}`, method: "PUT", body: data, secure: true, type: "application/json", format: "json" }, params)),
|
|
2426
2408
|
/**
|
|
2427
2409
|
* No description
|
|
2428
2410
|
*
|
|
@@ -2444,7 +2426,7 @@ export class Api extends HttpClient {
|
|
|
2444
2426
|
* @secure
|
|
2445
2427
|
* @response `200` `ListingPaginated` OK
|
|
2446
2428
|
*/
|
|
2447
|
-
searchListings: (data, query, params = {}) => this.request(Object.assign({ path: `/api/listings/search`, method: "POST", query: query, body: data, secure: true, type:
|
|
2429
|
+
searchListings: (data, query, params = {}) => this.request(Object.assign({ path: `/api/listings/search`, method: "POST", query: query, body: data, secure: true, type: "application/json", format: "json" }, params)),
|
|
2448
2430
|
/**
|
|
2449
2431
|
* No description
|
|
2450
2432
|
*
|
|
@@ -2455,7 +2437,7 @@ export class Api extends HttpClient {
|
|
|
2455
2437
|
* @secure
|
|
2456
2438
|
* @response `200` `File` OK
|
|
2457
2439
|
*/
|
|
2458
|
-
updateListingBackgroundImage: (id, data, params = {}) => this.request(Object.assign({ path: `/api/listings/${id}/background-image`, method: "PUT", body: data, secure: true, type:
|
|
2440
|
+
updateListingBackgroundImage: (id, data, params = {}) => this.request(Object.assign({ path: `/api/listings/${id}/background-image`, method: "PUT", body: data, secure: true, type: "multipart/form-data", format: "json" }, params)),
|
|
2459
2441
|
/**
|
|
2460
2442
|
* No description
|
|
2461
2443
|
*
|
|
@@ -2501,7 +2483,7 @@ export class Api extends HttpClient {
|
|
|
2501
2483
|
* @response `422` `UnprocessableEntity` Unprocessable Content
|
|
2502
2484
|
* @response `423` `UnprocessableEntity` Locked
|
|
2503
2485
|
*/
|
|
2504
|
-
runLoanCalculator: (loanId, data, params = {}) => this.request(Object.assign({ path: `/api/loans/${loanId}/calculators/loan-calculator`, method: "POST", body: data, secure: true, type:
|
|
2486
|
+
runLoanCalculator: (loanId, data, params = {}) => this.request(Object.assign({ path: `/api/loans/${loanId}/calculators/loan-calculator`, method: "POST", body: data, secure: true, type: "application/json", format: "json" }, params)),
|
|
2505
2487
|
/**
|
|
2506
2488
|
* No description
|
|
2507
2489
|
*
|
|
@@ -2525,7 +2507,7 @@ export class Api extends HttpClient {
|
|
|
2525
2507
|
* @response `422` `UnprocessableEntity` Unprocessable Content
|
|
2526
2508
|
* @response `423` `UnprocessableEntity` Locked
|
|
2527
2509
|
*/
|
|
2528
|
-
createLoanComparison: (loanId, index, data, params = {}) => this.request(Object.assign({ path: `/api/loans/${loanId}/loan-comparison/${index}`, method: "POST", body: data, secure: true, type:
|
|
2510
|
+
createLoanComparison: (loanId, index, data, params = {}) => this.request(Object.assign({ path: `/api/loans/${loanId}/loan-comparison/${index}`, method: "POST", body: data, secure: true, type: "application/json", format: "json" }, params)),
|
|
2529
2511
|
/**
|
|
2530
2512
|
* No description
|
|
2531
2513
|
*
|
|
@@ -2548,7 +2530,7 @@ export class Api extends HttpClient {
|
|
|
2548
2530
|
* @response `204` `void` No Content
|
|
2549
2531
|
* @response `422` `UnprocessableEntity` Unprocessable Content
|
|
2550
2532
|
*/
|
|
2551
|
-
createLoanComparisonPdf: (loanId, data, params = {}) => this.request(Object.assign({ path: `/api/loans/${loanId}/loan-comparison/pdf`, method: "POST", body: data, secure: true, type:
|
|
2533
|
+
createLoanComparisonPdf: (loanId, data, params = {}) => this.request(Object.assign({ path: `/api/loans/${loanId}/loan-comparison/pdf`, method: "POST", body: data, secure: true, type: "application/json" }, params)),
|
|
2552
2534
|
/**
|
|
2553
2535
|
* No description
|
|
2554
2536
|
*
|
|
@@ -2585,7 +2567,7 @@ export class Api extends HttpClient {
|
|
|
2585
2567
|
* @response `400` `ProblemDetails` Bad Request
|
|
2586
2568
|
* @response `422` `ProblemDetails` Unprocessable Content
|
|
2587
2569
|
*/
|
|
2588
|
-
bulkSetLoanCustomFieldValues: (loanId, data, params = {}) => this.request(Object.assign({ path: `/api/loans/${loanId}/custom-fields`, method: "PUT", body: data, secure: true, type:
|
|
2570
|
+
bulkSetLoanCustomFieldValues: (loanId, data, params = {}) => this.request(Object.assign({ path: `/api/loans/${loanId}/custom-fields`, method: "PUT", body: data, secure: true, type: "application/json" }, params)),
|
|
2589
2571
|
/**
|
|
2590
2572
|
* No description
|
|
2591
2573
|
*
|
|
@@ -2599,7 +2581,7 @@ export class Api extends HttpClient {
|
|
|
2599
2581
|
* @response `404` `ProblemDetails` Not Found
|
|
2600
2582
|
* @response `422` `ProblemDetails` Unprocessable Content
|
|
2601
2583
|
*/
|
|
2602
|
-
setLoanCustomFieldValue: (loanId, definitionId, data, params = {}) => this.request(Object.assign({ path: `/api/loans/${loanId}/custom-fields/${definitionId}`, method: "PUT", body: data, secure: true, type:
|
|
2584
|
+
setLoanCustomFieldValue: (loanId, definitionId, data, params = {}) => this.request(Object.assign({ path: `/api/loans/${loanId}/custom-fields/${definitionId}`, method: "PUT", body: data, secure: true, type: "application/json" }, params)),
|
|
2603
2585
|
/**
|
|
2604
2586
|
* No description
|
|
2605
2587
|
*
|
|
@@ -2633,7 +2615,7 @@ export class Api extends HttpClient {
|
|
|
2633
2615
|
* @secure
|
|
2634
2616
|
* @response `201` `(string)[]` Created
|
|
2635
2617
|
*/
|
|
2636
|
-
createLoanDocumentBuckets: (loanId, data, params = {}) => this.request(Object.assign({ path: `/api/loans/${loanId}/documents/buckets`, method: "POST", body: data, secure: true, type:
|
|
2618
|
+
createLoanDocumentBuckets: (loanId, data, params = {}) => this.request(Object.assign({ path: `/api/loans/${loanId}/documents/buckets`, method: "POST", body: data, secure: true, type: "application/json", format: "json" }, params)),
|
|
2637
2619
|
/**
|
|
2638
2620
|
* No description
|
|
2639
2621
|
*
|
|
@@ -2657,7 +2639,7 @@ export class Api extends HttpClient {
|
|
|
2657
2639
|
* @response `409` `ProblemDetails` Conflict
|
|
2658
2640
|
* @response `422` `ProblemDetails` Unprocessable Content
|
|
2659
2641
|
*/
|
|
2660
|
-
createLoanDocumentFolder: (data, params = {}) => this.request(Object.assign({ path: `/api/loan-document-folders`, method: "POST", body: data, secure: true, type:
|
|
2642
|
+
createLoanDocumentFolder: (data, params = {}) => this.request(Object.assign({ path: `/api/loan-document-folders`, method: "POST", body: data, secure: true, type: "application/json", format: "json" }, params)),
|
|
2661
2643
|
/**
|
|
2662
2644
|
* No description
|
|
2663
2645
|
*
|
|
@@ -2684,7 +2666,7 @@ export class Api extends HttpClient {
|
|
|
2684
2666
|
* @response `409` `ProblemDetails` Conflict
|
|
2685
2667
|
* @response `422` `ProblemDetails` Unprocessable Content
|
|
2686
2668
|
*/
|
|
2687
|
-
updateLoanDocumentFolder: (id, data, params = {}) => this.request(Object.assign({ path: `/api/loan-document-folders/${id}`, method: "PUT", body: data, secure: true, type:
|
|
2669
|
+
updateLoanDocumentFolder: (id, data, params = {}) => this.request(Object.assign({ path: `/api/loan-document-folders/${id}`, method: "PUT", body: data, secure: true, type: "application/json", format: "json" }, params)),
|
|
2688
2670
|
/**
|
|
2689
2671
|
* No description
|
|
2690
2672
|
*
|
|
@@ -2759,7 +2741,7 @@ export class Api extends HttpClient {
|
|
|
2759
2741
|
* @response `200` `Record<string,string>` OK
|
|
2760
2742
|
* @response `400` `ProblemDetails` Bad Request
|
|
2761
2743
|
*/
|
|
2762
|
-
getLoanDocumentPreviews: (loanId, data, params = {}) => this.request(Object.assign({ path: `/api/loans/${loanId}/documents/previews`, method: "POST", body: data, secure: true, type:
|
|
2744
|
+
getLoanDocumentPreviews: (loanId, data, params = {}) => this.request(Object.assign({ path: `/api/loans/${loanId}/documents/previews`, method: "POST", body: data, secure: true, type: "application/json", format: "json" }, params)),
|
|
2763
2745
|
/**
|
|
2764
2746
|
* No description
|
|
2765
2747
|
*
|
|
@@ -2770,7 +2752,7 @@ export class Api extends HttpClient {
|
|
|
2770
2752
|
* @secure
|
|
2771
2753
|
* @response `200` `LoanDocumentSearchPaginated` OK
|
|
2772
2754
|
*/
|
|
2773
|
-
searchLoanDocuments: (loanId, data, query, params = {}) => this.request(Object.assign({ path: `/api/loans/${loanId}/documents/search`, method: "POST", query: query, body: data, secure: true, type:
|
|
2755
|
+
searchLoanDocuments: (loanId, data, query, params = {}) => this.request(Object.assign({ path: `/api/loans/${loanId}/documents/search`, method: "POST", query: query, body: data, secure: true, type: "application/json", format: "json" }, params)),
|
|
2774
2756
|
/**
|
|
2775
2757
|
* @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).
|
|
2776
2758
|
*
|
|
@@ -2781,7 +2763,7 @@ export class Api extends HttpClient {
|
|
|
2781
2763
|
* @secure
|
|
2782
2764
|
* @response `200` `(DocumentFolder)[]` OK
|
|
2783
2765
|
*/
|
|
2784
|
-
getLoanDocumentFolders: (loanId, data, query, params = {}) => this.request(Object.assign({ path: `/api/loans/${loanId}/documents/folders`, method: "POST", query: query, body: data, secure: true, type:
|
|
2766
|
+
getLoanDocumentFolders: (loanId, data, query, params = {}) => this.request(Object.assign({ path: `/api/loans/${loanId}/documents/folders`, method: "POST", query: query, body: data, secure: true, type: "application/json", format: "json" }, params)),
|
|
2785
2767
|
/**
|
|
2786
2768
|
* No description
|
|
2787
2769
|
*
|
|
@@ -2790,7 +2772,7 @@ export class Api extends HttpClient {
|
|
|
2790
2772
|
* @summary Download By ID
|
|
2791
2773
|
* @request GET:/api/loans/{loanId}/documents/{documentId}/download
|
|
2792
2774
|
* @secure
|
|
2793
|
-
* @response `200` `
|
|
2775
|
+
* @response `200` `Blob` OK
|
|
2794
2776
|
* @response `404` `ProblemDetails` Not Found
|
|
2795
2777
|
*/
|
|
2796
2778
|
downloadLoanDocument: (loanId, documentId, params = {}) => this.request(Object.assign({ path: `/api/loans/${loanId}/documents/${documentId}/download`, method: "GET", secure: true, format: "json" }, params)),
|
|
@@ -2806,7 +2788,7 @@ export class Api extends HttpClient {
|
|
|
2806
2788
|
* @response `404` `ProblemDetails` Not Found
|
|
2807
2789
|
* @response `422` `UnprocessableEntity` Unprocessable Content
|
|
2808
2790
|
*/
|
|
2809
|
-
createLoanDocument: (loanId, data, params = {}) => this.request(Object.assign({ path: `/api/loans/${loanId}/documents`, method: "POST", body: data, secure: true, type:
|
|
2791
|
+
createLoanDocument: (loanId, data, params = {}) => this.request(Object.assign({ path: `/api/loans/${loanId}/documents`, method: "POST", body: data, secure: true, type: "multipart/form-data", format: "json" }, params)),
|
|
2810
2792
|
/**
|
|
2811
2793
|
* No description
|
|
2812
2794
|
*
|
|
@@ -2830,7 +2812,7 @@ export class Api extends HttpClient {
|
|
|
2830
2812
|
* @secure
|
|
2831
2813
|
* @response `200` `DocumentDataRequest` OK
|
|
2832
2814
|
*/
|
|
2833
|
-
generateLoanDocument: (loanId, data, params = {}) => this.request(Object.assign({ path: `/api/loans/${loanId}/documents/generate`, method: "POST", body: data, secure: true, type:
|
|
2815
|
+
generateLoanDocument: (loanId, data, params = {}) => this.request(Object.assign({ path: `/api/loans/${loanId}/documents/generate`, method: "POST", body: data, secure: true, type: "application/json", format: "json" }, params)),
|
|
2834
2816
|
/**
|
|
2835
2817
|
* No description
|
|
2836
2818
|
*
|
|
@@ -2843,7 +2825,7 @@ export class Api extends HttpClient {
|
|
|
2843
2825
|
* @response `400` `ProblemDetails` Bad Request
|
|
2844
2826
|
* @response `404` `ProblemDetails` Not Found
|
|
2845
2827
|
*/
|
|
2846
|
-
sendLoanDocuments: (loanId, data, params = {}) => this.request(Object.assign({ path: `/api/loans/${loanId}/documents/distribute`, method: "POST", body: data, secure: true, type:
|
|
2828
|
+
sendLoanDocuments: (loanId, data, params = {}) => this.request(Object.assign({ path: `/api/loans/${loanId}/documents/distribute`, method: "POST", body: data, secure: true, type: "application/json" }, params)),
|
|
2847
2829
|
/**
|
|
2848
2830
|
* @description Fetches all documents from Encompass that don't exist locally and stores them in S3
|
|
2849
2831
|
*
|
|
@@ -2868,7 +2850,7 @@ export class Api extends HttpClient {
|
|
|
2868
2850
|
* @response `404` `ProblemDetails` Not Found
|
|
2869
2851
|
* @response `422` `UnprocessableEntity` Unprocessable Content
|
|
2870
2852
|
*/
|
|
2871
|
-
classifyLoanDocumentManually: (loanId, documentId, data, params = {}) => this.request(Object.assign({ path: `/api/loans/${loanId}/documents/${documentId}/classify-manual`, method: "POST", body: data, secure: true, type:
|
|
2853
|
+
classifyLoanDocumentManually: (loanId, documentId, data, params = {}) => this.request(Object.assign({ path: `/api/loans/${loanId}/documents/${documentId}/classify-manual`, method: "POST", body: data, secure: true, type: "application/json", format: "json" }, params)),
|
|
2872
2854
|
/**
|
|
2873
2855
|
* @description Re-attempts to push a failed document to LOS
|
|
2874
2856
|
*
|
|
@@ -2892,7 +2874,7 @@ export class Api extends HttpClient {
|
|
|
2892
2874
|
* @secure
|
|
2893
2875
|
* @response `201` `Draft` Created
|
|
2894
2876
|
*/
|
|
2895
|
-
createLoanDraft: (data, params = {}) => this.request(Object.assign({ path: `/api/loans/drafts`, method: "POST", body: data, secure: true, type:
|
|
2877
|
+
createLoanDraft: (data, params = {}) => this.request(Object.assign({ path: `/api/loans/drafts`, method: "POST", body: data, secure: true, type: "application/json", format: "json" }, params)),
|
|
2896
2878
|
/**
|
|
2897
2879
|
* No description
|
|
2898
2880
|
*
|
|
@@ -2925,7 +2907,7 @@ export class Api extends HttpClient {
|
|
|
2925
2907
|
* @secure
|
|
2926
2908
|
* @response `200` `Draft` OK
|
|
2927
2909
|
*/
|
|
2928
|
-
replaceLoanDraft: (draftId, data, params = {}) => this.request(Object.assign({ path: `/api/loans/drafts/${draftId}`, method: "PUT", body: data, secure: true, type:
|
|
2910
|
+
replaceLoanDraft: (draftId, data, params = {}) => this.request(Object.assign({ path: `/api/loans/drafts/${draftId}`, method: "PUT", body: data, secure: true, type: "application/json", format: "json" }, params)),
|
|
2929
2911
|
/**
|
|
2930
2912
|
* No description
|
|
2931
2913
|
*
|
|
@@ -2947,7 +2929,7 @@ export class Api extends HttpClient {
|
|
|
2947
2929
|
* @secure
|
|
2948
2930
|
* @response `201` `DraftContentPaginated` Created
|
|
2949
2931
|
*/
|
|
2950
|
-
searchLoanDrafts: (data, query, params = {}) => this.request(Object.assign({ path: `/api/loans/drafts/search`, method: "POST", query: query, body: data, secure: true, type:
|
|
2932
|
+
searchLoanDrafts: (data, query, params = {}) => this.request(Object.assign({ path: `/api/loans/drafts/search`, method: "POST", query: query, body: data, secure: true, type: "application/json", format: "json" }, params)),
|
|
2951
2933
|
/**
|
|
2952
2934
|
* No description
|
|
2953
2935
|
*
|
|
@@ -2958,7 +2940,7 @@ export class Api extends HttpClient {
|
|
|
2958
2940
|
* @secure
|
|
2959
2941
|
* @response `200` `Draft` OK
|
|
2960
2942
|
*/
|
|
2961
|
-
reassignLoanOfficer: (draftId, data, params = {}) => this.request(Object.assign({ path: `/api/loans/drafts/${draftId}/reassign`, method: "PUT", body: data, secure: true, type:
|
|
2943
|
+
reassignLoanOfficer: (draftId, data, params = {}) => this.request(Object.assign({ path: `/api/loans/drafts/${draftId}/reassign`, method: "PUT", body: data, secure: true, type: "application/json", format: "json" }, params)),
|
|
2962
2944
|
/**
|
|
2963
2945
|
* No description
|
|
2964
2946
|
*
|
|
@@ -2991,7 +2973,7 @@ export class Api extends HttpClient {
|
|
|
2991
2973
|
* @secure
|
|
2992
2974
|
* @response `201` `LoanImport` Created
|
|
2993
2975
|
*/
|
|
2994
|
-
createLoanImport: (data, params = {}) => this.request(Object.assign({ path: `/api/loan-imports`, method: "POST", body: data, secure: true, type:
|
|
2976
|
+
createLoanImport: (data, params = {}) => this.request(Object.assign({ path: `/api/loan-imports`, method: "POST", body: data, secure: true, type: "application/json", format: "json" }, params)),
|
|
2995
2977
|
/**
|
|
2996
2978
|
* No description
|
|
2997
2979
|
*
|
|
@@ -3037,7 +3019,7 @@ export class Api extends HttpClient {
|
|
|
3037
3019
|
* @response `200` `(Invite)[]` OK
|
|
3038
3020
|
* @response `404` `ProblemDetails` Not Found
|
|
3039
3021
|
*/
|
|
3040
|
-
inviteLoanContacts: (loanId, data, params = {}) => this.request(Object.assign({ path: `/api/loans/${loanId}/invites`, method: "POST", body: data, secure: true, type:
|
|
3022
|
+
inviteLoanContacts: (loanId, data, params = {}) => this.request(Object.assign({ path: `/api/loans/${loanId}/invites`, method: "POST", body: data, secure: true, type: "application/json", format: "json" }, params)),
|
|
3041
3023
|
/**
|
|
3042
3024
|
* No description
|
|
3043
3025
|
*
|
|
@@ -3048,7 +3030,7 @@ export class Api extends HttpClient {
|
|
|
3048
3030
|
* @secure
|
|
3049
3031
|
* @response `200` `LoanLogPaginated` OK
|
|
3050
3032
|
*/
|
|
3051
|
-
searchLoanLogs: (loanId, data, query, params = {}) => this.request(Object.assign({ path: `/api/loans/${loanId}/logs/search`, method: "POST", query: query, body: data, secure: true, type:
|
|
3033
|
+
searchLoanLogs: (loanId, data, query, params = {}) => this.request(Object.assign({ path: `/api/loans/${loanId}/logs/search`, method: "POST", query: query, body: data, secure: true, type: "application/json", format: "json" }, params)),
|
|
3052
3034
|
/**
|
|
3053
3035
|
* No description
|
|
3054
3036
|
*
|
|
@@ -3073,7 +3055,7 @@ export class Api extends HttpClient {
|
|
|
3073
3055
|
* @response `400` `ProblemDetails` Bad Request
|
|
3074
3056
|
* @response `404` `ProblemDetails` Not Found
|
|
3075
3057
|
*/
|
|
3076
|
-
sendLoanOptInReminder: (loanId, data, params = {}) => this.request(Object.assign({ path: `/api/loans/${loanId}/notifications/opt-in-reminders`, method: "POST", body: data, secure: true, type:
|
|
3058
|
+
sendLoanOptInReminder: (loanId, data, params = {}) => this.request(Object.assign({ path: `/api/loans/${loanId}/notifications/opt-in-reminders`, method: "POST", body: data, secure: true, type: "application/json" }, params)),
|
|
3077
3059
|
/**
|
|
3078
3060
|
* No description
|
|
3079
3061
|
*
|
|
@@ -3086,7 +3068,7 @@ export class Api extends HttpClient {
|
|
|
3086
3068
|
* @response `400` `ProblemDetails` Bad Request
|
|
3087
3069
|
* @response `404` `ProblemDetails` Not Found
|
|
3088
3070
|
*/
|
|
3089
|
-
sendESignatureReminder: (loanId, data, params = {}) => this.request(Object.assign({ path: `/api/loans/${loanId}/notifications/esignature-reminders`, method: "POST", body: data, secure: true, type:
|
|
3071
|
+
sendESignatureReminder: (loanId, data, params = {}) => this.request(Object.assign({ path: `/api/loans/${loanId}/notifications/esignature-reminders`, method: "POST", body: data, secure: true, type: "application/json" }, params)),
|
|
3090
3072
|
/**
|
|
3091
3073
|
* No description
|
|
3092
3074
|
*
|
|
@@ -3108,7 +3090,7 @@ export class Api extends HttpClient {
|
|
|
3108
3090
|
* @secure
|
|
3109
3091
|
* @response `200` `BranchUserPaginated` OK
|
|
3110
3092
|
*/
|
|
3111
|
-
searchLoanOfficers: (data, query, params = {}) => this.request(Object.assign({ path: `/api/loan-officers/search`, method: "POST", query: query, body: data, secure: true, type:
|
|
3093
|
+
searchLoanOfficers: (data, query, params = {}) => this.request(Object.assign({ path: `/api/loan-officers/search`, method: "POST", query: query, body: data, secure: true, type: "application/json", format: "json" }, params)),
|
|
3112
3094
|
/**
|
|
3113
3095
|
* No description
|
|
3114
3096
|
*
|
|
@@ -3131,7 +3113,7 @@ export class Api extends HttpClient {
|
|
|
3131
3113
|
* @response `200` `SiteConfiguration` OK
|
|
3132
3114
|
* @response `422` `UnprocessableEntity` Unprocessable Content
|
|
3133
3115
|
*/
|
|
3134
|
-
createLoanOfficerSiteConfiguration: (loanOfficerId, data, params = {}) => this.request(Object.assign({ path: `/api/loan-officers/${loanOfficerId}/site-configurations`, method: "POST", body: data, secure: true, type:
|
|
3116
|
+
createLoanOfficerSiteConfiguration: (loanOfficerId, data, params = {}) => this.request(Object.assign({ path: `/api/loan-officers/${loanOfficerId}/site-configurations`, method: "POST", body: data, secure: true, type: "application/json", format: "json" }, params)),
|
|
3135
3117
|
/**
|
|
3136
3118
|
* No description
|
|
3137
3119
|
*
|
|
@@ -3154,7 +3136,7 @@ export class Api extends HttpClient {
|
|
|
3154
3136
|
* @response `200` `SiteConfiguration` OK
|
|
3155
3137
|
* @response `422` `UnprocessableEntity` Unprocessable Content
|
|
3156
3138
|
*/
|
|
3157
|
-
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:
|
|
3139
|
+
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: "application/json", format: "json" }, params)),
|
|
3158
3140
|
/**
|
|
3159
3141
|
* No description
|
|
3160
3142
|
*
|
|
@@ -3165,7 +3147,7 @@ export class Api extends HttpClient {
|
|
|
3165
3147
|
* @secure
|
|
3166
3148
|
* @response `200` `LoanQueuePaginated` OK
|
|
3167
3149
|
*/
|
|
3168
|
-
searchLoanQueue: (data, query, params = {}) => this.request(Object.assign({ path: `/api/loans/queue/search`, method: "POST", query: query, body: data, secure: true, type:
|
|
3150
|
+
searchLoanQueue: (data, query, params = {}) => this.request(Object.assign({ path: `/api/loans/queue/search`, method: "POST", query: query, body: data, secure: true, type: "application/json", format: "json" }, params)),
|
|
3169
3151
|
/**
|
|
3170
3152
|
* No description
|
|
3171
3153
|
*
|
|
@@ -3189,7 +3171,7 @@ export class Api extends HttpClient {
|
|
|
3189
3171
|
* @response `200` `LoanQueueWithData` OK
|
|
3190
3172
|
* @response `404` `ProblemDetails` Not Found
|
|
3191
3173
|
*/
|
|
3192
|
-
replaceLoanQueue: (loanQueueId, data, params = {}) => this.request(Object.assign({ path: `/api/loans/queue/${loanQueueId}`, method: "PUT", body: data, secure: true, type:
|
|
3174
|
+
replaceLoanQueue: (loanQueueId, data, params = {}) => this.request(Object.assign({ path: `/api/loans/queue/${loanQueueId}`, method: "PUT", body: data, secure: true, type: "application/json", format: "json" }, params)),
|
|
3193
3175
|
/**
|
|
3194
3176
|
* No description
|
|
3195
3177
|
*
|
|
@@ -3250,7 +3232,7 @@ export class Api extends HttpClient {
|
|
|
3250
3232
|
* @response `401` `ProblemDetails` Unauthorized
|
|
3251
3233
|
* @response `403` `ProblemDetails` Forbidden
|
|
3252
3234
|
*/
|
|
3253
|
-
createLoanv3: (data, params = {}) => this.request(Object.assign({ path: `/api/loans`, method: "POST", body: data, secure: true, type:
|
|
3235
|
+
createLoanv3: (data, params = {}) => this.request(Object.assign({ path: `/api/loans`, method: "POST", body: data, secure: true, type: "application/json", format: "json" }, params)),
|
|
3254
3236
|
/**
|
|
3255
3237
|
* No description
|
|
3256
3238
|
*
|
|
@@ -3261,7 +3243,7 @@ export class Api extends HttpClient {
|
|
|
3261
3243
|
* @secure
|
|
3262
3244
|
* @response `200` `LoanListPaginated` OK
|
|
3263
3245
|
*/
|
|
3264
|
-
searchLoans: (data, query, params = {}) => this.request(Object.assign({ path: `/api/loans/search`, method: "POST", query: query, body: data, secure: true, type:
|
|
3246
|
+
searchLoans: (data, query, params = {}) => this.request(Object.assign({ path: `/api/loans/search`, method: "POST", query: query, body: data, secure: true, type: "application/json", format: "json" }, params)),
|
|
3265
3247
|
/**
|
|
3266
3248
|
* No description
|
|
3267
3249
|
*
|
|
@@ -3277,7 +3259,7 @@ export class Api extends HttpClient {
|
|
|
3277
3259
|
* @response `404` `ProblemDetails` Not Found
|
|
3278
3260
|
* @response `409` `any` Conflict
|
|
3279
3261
|
*/
|
|
3280
|
-
updateLoan: (loanId, data, params = {}) => this.request(Object.assign({ path: `/api/loans/${loanId}`, method: "PATCH", body: data, secure: true, type:
|
|
3262
|
+
updateLoan: (loanId, data, params = {}) => this.request(Object.assign({ path: `/api/loans/${loanId}`, method: "PATCH", body: data, secure: true, type: "application/json", format: "json" }, params)),
|
|
3281
3263
|
/**
|
|
3282
3264
|
* No description
|
|
3283
3265
|
*
|
|
@@ -3339,7 +3321,7 @@ export class Api extends HttpClient {
|
|
|
3339
3321
|
* @response `400` `ProblemDetails` Bad Request
|
|
3340
3322
|
* @response `404` `ProblemDetails` Not Found
|
|
3341
3323
|
*/
|
|
3342
|
-
triggerAso: (loanId, data, params = {}) => this.request(Object.assign({ path: `/api/loans/${loanId}/aso`, method: "POST", body: data, secure: true, type:
|
|
3324
|
+
triggerAso: (loanId, data, params = {}) => this.request(Object.assign({ path: `/api/loans/${loanId}/aso`, method: "POST", body: data, secure: true, type: "application/json", format: "json" }, params)),
|
|
3343
3325
|
/**
|
|
3344
3326
|
* No description
|
|
3345
3327
|
*
|
|
@@ -3351,7 +3333,7 @@ export class Api extends HttpClient {
|
|
|
3351
3333
|
* @response `200` `TaskCommentPaginated` OK
|
|
3352
3334
|
* @response `404` `ProblemDetails` Not Found
|
|
3353
3335
|
*/
|
|
3354
|
-
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:
|
|
3336
|
+
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: "application/json", format: "json" }, params)),
|
|
3355
3337
|
/**
|
|
3356
3338
|
* No description
|
|
3357
3339
|
*
|
|
@@ -3375,7 +3357,7 @@ export class Api extends HttpClient {
|
|
|
3375
3357
|
* @response `201` `TaskComment` Created
|
|
3376
3358
|
* @response `404` `ProblemDetails` Not Found
|
|
3377
3359
|
*/
|
|
3378
|
-
createLoanTaskComment: (loanId, userLoanTaskId, data, params = {}) => this.request(Object.assign({ path: `/api/loans/${loanId}/tasks/${userLoanTaskId}/comments`, method: "POST", body: data, secure: true, type:
|
|
3360
|
+
createLoanTaskComment: (loanId, userLoanTaskId, data, params = {}) => this.request(Object.assign({ path: `/api/loans/${loanId}/tasks/${userLoanTaskId}/comments`, method: "POST", body: data, secure: true, type: "application/json", format: "json" }, params)),
|
|
3379
3361
|
/**
|
|
3380
3362
|
* No description
|
|
3381
3363
|
*
|
|
@@ -3387,7 +3369,7 @@ export class Api extends HttpClient {
|
|
|
3387
3369
|
* @response `200` `TaskComment` OK
|
|
3388
3370
|
* @response `404` `ProblemDetails` Not Found
|
|
3389
3371
|
*/
|
|
3390
|
-
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:
|
|
3372
|
+
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: "application/json", format: "json" }, params)),
|
|
3391
3373
|
/**
|
|
3392
3374
|
* No description
|
|
3393
3375
|
*
|
|
@@ -3412,19 +3394,7 @@ export class Api extends HttpClient {
|
|
|
3412
3394
|
* @response `404` `ProblemDetails` Not Found
|
|
3413
3395
|
* @response `422` `UnprocessableEntity` Unprocessable Content
|
|
3414
3396
|
*/
|
|
3415
|
-
createLoanTaskDocument: (loanId, loanTaskId, data, params = {}) => this.request(Object.assign({ path: `/api/loans/${loanId}/tasks/${loanTaskId}/documents`, method: "POST", body: data, secure: true, type:
|
|
3416
|
-
/**
|
|
3417
|
-
* No description
|
|
3418
|
-
*
|
|
3419
|
-
* @tags LoanTaskDocuments
|
|
3420
|
-
* @name CreateLoanTaskDocumentBucket
|
|
3421
|
-
* @summary Create Bucket
|
|
3422
|
-
* @request POST:/api/loans/{loanID}/tasks/{loanTaskId}/documents/bucket
|
|
3423
|
-
* @secure
|
|
3424
|
-
* @response `204` `UserLoanTask` No Content
|
|
3425
|
-
* @response `422` `UnprocessableEntity` Unprocessable Content
|
|
3426
|
-
*/
|
|
3427
|
-
createLoanTaskDocumentBucket: (loanId, loanTaskId, params = {}) => this.request(Object.assign({ path: `/api/loans/${loanId}/tasks/${loanTaskId}/documents/bucket`, method: "POST", secure: true, format: "json" }, params)),
|
|
3397
|
+
createLoanTaskDocument: (loanId, loanTaskId, data, params = {}) => this.request(Object.assign({ path: `/api/loans/${loanId}/tasks/${loanTaskId}/documents`, method: "POST", body: data, secure: true, type: "multipart/form-data", format: "json" }, params)),
|
|
3428
3398
|
/**
|
|
3429
3399
|
* No description
|
|
3430
3400
|
*
|
|
@@ -3434,9 +3404,11 @@ export class Api extends HttpClient {
|
|
|
3434
3404
|
* @request POST:/api/loans/{loanID}/tasks/reminders/outstanding
|
|
3435
3405
|
* @secure
|
|
3436
3406
|
* @response `204` `void` No Content
|
|
3407
|
+
* @response `400` `ProblemDetails` Bad Request
|
|
3437
3408
|
* @response `404` `ProblemDetails` Not Found
|
|
3409
|
+
* @response `422` `ProblemDetails` Unprocessable Content
|
|
3438
3410
|
*/
|
|
3439
|
-
sendOutstandingLoanTaskNotification: (loanId, params = {}) => this.request(Object.assign({ path: `/api/loans/${loanId}/tasks/reminders/outstanding`, method: "POST", secure: true }, params)),
|
|
3411
|
+
sendOutstandingLoanTaskNotification: (loanId, data, params = {}) => this.request(Object.assign({ path: `/api/loans/${loanId}/tasks/reminders/outstanding`, method: "POST", body: data, secure: true, type: "application/json" }, params)),
|
|
3440
3412
|
/**
|
|
3441
3413
|
* No description
|
|
3442
3414
|
*
|
|
@@ -3449,7 +3421,7 @@ export class Api extends HttpClient {
|
|
|
3449
3421
|
* @response `400` `ProblemDetails` Bad Request
|
|
3450
3422
|
* @response `404` `ProblemDetails` Not Found
|
|
3451
3423
|
*/
|
|
3452
|
-
sendLoanTaskReminder: (loanId, data, params = {}) => this.request(Object.assign({ path: `/api/loans/${loanId}/tasks/reminders`, method: "POST", body: data, secure: true, type:
|
|
3424
|
+
sendLoanTaskReminder: (loanId, data, params = {}) => this.request(Object.assign({ path: `/api/loans/${loanId}/tasks/reminders`, method: "POST", body: data, secure: true, type: "application/json" }, params)),
|
|
3453
3425
|
/**
|
|
3454
3426
|
* @description Search tasks across all loans
|
|
3455
3427
|
*
|
|
@@ -3460,7 +3432,7 @@ export class Api extends HttpClient {
|
|
|
3460
3432
|
* @secure
|
|
3461
3433
|
* @response `200` `UserLoanTaskPaginated` OK
|
|
3462
3434
|
*/
|
|
3463
|
-
searchLoanTasks: (data, query, params = {}) => this.request(Object.assign({ path: `/api/loans/tasks/search`, method: "POST", query: query, body: data, secure: true, type:
|
|
3435
|
+
searchLoanTasks: (data, query, params = {}) => this.request(Object.assign({ path: `/api/loans/tasks/search`, method: "POST", query: query, body: data, secure: true, type: "application/json", format: "json" }, params)),
|
|
3464
3436
|
/**
|
|
3465
3437
|
* @description Returns task counts grouped by status for loans accessible to the current user based on their role
|
|
3466
3438
|
*
|
|
@@ -3472,7 +3444,7 @@ export class Api extends HttpClient {
|
|
|
3472
3444
|
* @response `200` `(LoanTaskStatusSummary)[]` OK
|
|
3473
3445
|
* @response `422` `UnprocessableEntity` Unprocessable Content
|
|
3474
3446
|
*/
|
|
3475
|
-
searchLoanTasksSummary: (data, params = {}) => this.request(Object.assign({ path: `/api/loans/tasks/search/summary`, method: "POST", body: data, secure: true, type:
|
|
3447
|
+
searchLoanTasksSummary: (data, params = {}) => this.request(Object.assign({ path: `/api/loans/tasks/search/summary`, method: "POST", body: data, secure: true, type: "application/json", format: "json" }, params)),
|
|
3476
3448
|
/**
|
|
3477
3449
|
* No description
|
|
3478
3450
|
*
|
|
@@ -3520,7 +3492,7 @@ export class Api extends HttpClient {
|
|
|
3520
3492
|
* @response `201` `UserLoanTask` Created
|
|
3521
3493
|
* @response `404` `ProblemDetails` Not Found
|
|
3522
3494
|
*/
|
|
3523
|
-
createLoanTask: (loanId, taskId, data, params = {}) => this.request(Object.assign({ path: `/api/loans/${loanId}/tasks/${taskId}`, method: "POST", body: data, secure: true, type:
|
|
3495
|
+
createLoanTask: (loanId, taskId, data, params = {}) => this.request(Object.assign({ path: `/api/loans/${loanId}/tasks/${taskId}`, method: "POST", body: data, secure: true, type: "application/json", format: "json" }, params)),
|
|
3524
3496
|
/**
|
|
3525
3497
|
* No description
|
|
3526
3498
|
*
|
|
@@ -3532,7 +3504,7 @@ export class Api extends HttpClient {
|
|
|
3532
3504
|
* @response `201` `(UserLoanTask)[]` Created
|
|
3533
3505
|
* @response `404` `ProblemDetails` Not Found
|
|
3534
3506
|
*/
|
|
3535
|
-
importLoanTask: (loanId, data, params = {}) => this.request(Object.assign({ path: `/api/loans/${loanId}/tasks/import`, method: "POST", body: data, secure: true, type:
|
|
3507
|
+
importLoanTask: (loanId, data, params = {}) => this.request(Object.assign({ path: `/api/loans/${loanId}/tasks/import`, method: "POST", body: data, secure: true, type: "application/json", format: "json" }, params)),
|
|
3536
3508
|
/**
|
|
3537
3509
|
* No description
|
|
3538
3510
|
*
|
|
@@ -3544,7 +3516,7 @@ export class Api extends HttpClient {
|
|
|
3544
3516
|
* @response `200` `UserLoanTask` OK
|
|
3545
3517
|
* @response `404` `ProblemDetails` Not Found
|
|
3546
3518
|
*/
|
|
3547
|
-
replaceLoanTask: (loanId, userLoanTaskId, data, params = {}) => this.request(Object.assign({ path: `/api/loans/${loanId}/tasks/${userLoanTaskId}`, method: "PUT", body: data, secure: true, type:
|
|
3519
|
+
replaceLoanTask: (loanId, userLoanTaskId, data, params = {}) => this.request(Object.assign({ path: `/api/loans/${loanId}/tasks/${userLoanTaskId}`, method: "PUT", body: data, secure: true, type: "application/json", format: "json" }, params)),
|
|
3548
3520
|
/**
|
|
3549
3521
|
* No description
|
|
3550
3522
|
*
|
|
@@ -3603,7 +3575,7 @@ export class Api extends HttpClient {
|
|
|
3603
3575
|
* @secure
|
|
3604
3576
|
* @response `201` `LoanUser` Created
|
|
3605
3577
|
*/
|
|
3606
|
-
addLoanUser: (loanId, userId, data, params = {}) => this.request(Object.assign({ path: `/api/loans/${loanId}/users/${userId}`, method: "POST", body: data, secure: true, type:
|
|
3578
|
+
addLoanUser: (loanId, userId, data, params = {}) => this.request(Object.assign({ path: `/api/loans/${loanId}/users/${userId}`, method: "POST", body: data, secure: true, type: "application/json", format: "json" }, params)),
|
|
3607
3579
|
/**
|
|
3608
3580
|
* No description
|
|
3609
3581
|
*
|
|
@@ -3636,7 +3608,7 @@ export class Api extends HttpClient {
|
|
|
3636
3608
|
* @secure
|
|
3637
3609
|
* @response `200` `LosOperationTrackingPaginated` OK
|
|
3638
3610
|
*/
|
|
3639
|
-
searchLosOperationTracking: (data, query, params = {}) => this.request(Object.assign({ path: `/api/los-operation-tracking/search`, method: "POST", query: query, body: data, secure: true, type:
|
|
3611
|
+
searchLosOperationTracking: (data, query, params = {}) => this.request(Object.assign({ path: `/api/los-operation-tracking/search`, method: "POST", query: query, body: data, secure: true, type: "application/json", format: "json" }, params)),
|
|
3640
3612
|
/**
|
|
3641
3613
|
* No description
|
|
3642
3614
|
*
|
|
@@ -3659,7 +3631,7 @@ export class Api extends HttpClient {
|
|
|
3659
3631
|
* @response `201` `MilestoneConfiguration` Created
|
|
3660
3632
|
* @response `422` `UnprocessableEntity` Unprocessable Content
|
|
3661
3633
|
*/
|
|
3662
|
-
createMilestone: (data, params = {}) => this.request(Object.assign({ path: `/api/milestones`, method: "POST", body: data, secure: true, type:
|
|
3634
|
+
createMilestone: (data, params = {}) => this.request(Object.assign({ path: `/api/milestones`, method: "POST", body: data, secure: true, type: "application/json", format: "json" }, params)),
|
|
3663
3635
|
/**
|
|
3664
3636
|
* No description
|
|
3665
3637
|
*
|
|
@@ -3684,7 +3656,7 @@ export class Api extends HttpClient {
|
|
|
3684
3656
|
* @response `404` `Error` Not Found
|
|
3685
3657
|
* @response `422` `UnprocessableEntity` Unprocessable Content
|
|
3686
3658
|
*/
|
|
3687
|
-
replaceMilestone: (id, data, params = {}) => this.request(Object.assign({ path: `/api/milestones/${id}`, method: "PUT", body: data, secure: true, type:
|
|
3659
|
+
replaceMilestone: (id, data, params = {}) => this.request(Object.assign({ path: `/api/milestones/${id}`, method: "PUT", body: data, secure: true, type: "application/json", format: "json" }, params)),
|
|
3688
3660
|
/**
|
|
3689
3661
|
* No description
|
|
3690
3662
|
*
|
|
@@ -3710,7 +3682,7 @@ export class Api extends HttpClient {
|
|
|
3710
3682
|
* @response `404` `ProblemDetails` Not Found
|
|
3711
3683
|
* @response `422` `ProblemDetails` Unprocessable Content
|
|
3712
3684
|
*/
|
|
3713
|
-
seedMobileAppReview: (data, params = {}) => this.request(Object.assign({ path: `/api/mobile-app-review/seed`, method: "POST", body: data, secure: true, type:
|
|
3685
|
+
seedMobileAppReview: (data, params = {}) => this.request(Object.assign({ path: `/api/mobile-app-review/seed`, method: "POST", body: data, secure: true, type: "application/json", format: "json" }, params)),
|
|
3714
3686
|
/**
|
|
3715
3687
|
* No description
|
|
3716
3688
|
*
|
|
@@ -3722,7 +3694,7 @@ export class Api extends HttpClient {
|
|
|
3722
3694
|
* @response `200` `MonthlyPaymentCalculator` OK
|
|
3723
3695
|
* @response `422` `ProblemDetails` Unprocessable Content
|
|
3724
3696
|
*/
|
|
3725
|
-
calculateMortgageMonthlyPayment: (data, params = {}) => this.request(Object.assign({ path: `/api/mortgage-calculators/monthly-payment`, method: "POST", body: data, secure: true, type:
|
|
3697
|
+
calculateMortgageMonthlyPayment: (data, params = {}) => this.request(Object.assign({ path: `/api/mortgage-calculators/monthly-payment`, method: "POST", body: data, secure: true, type: "application/json", format: "json" }, params)),
|
|
3726
3698
|
/**
|
|
3727
3699
|
* No description
|
|
3728
3700
|
*
|
|
@@ -3734,7 +3706,7 @@ export class Api extends HttpClient {
|
|
|
3734
3706
|
* @response `200` `AffordabilityCalculator` OK
|
|
3735
3707
|
* @response `422` `ProblemDetails` Unprocessable Content
|
|
3736
3708
|
*/
|
|
3737
|
-
calculateMortgageAffordability: (data, params = {}) => this.request(Object.assign({ path: `/api/mortgage-calculators/affordability`, method: "POST", body: data, secure: true, type:
|
|
3709
|
+
calculateMortgageAffordability: (data, params = {}) => this.request(Object.assign({ path: `/api/mortgage-calculators/affordability`, method: "POST", body: data, secure: true, type: "application/json", format: "json" }, params)),
|
|
3738
3710
|
/**
|
|
3739
3711
|
* No description
|
|
3740
3712
|
*
|
|
@@ -3746,7 +3718,7 @@ export class Api extends HttpClient {
|
|
|
3746
3718
|
* @response `200` `LoanComparisonCalculator` OK
|
|
3747
3719
|
* @response `422` `ProblemDetails` Unprocessable Content
|
|
3748
3720
|
*/
|
|
3749
|
-
calculateMortgageLoanComparison: (data, params = {}) => this.request(Object.assign({ path: `/api/mortgage-calculators/loan-comparison`, method: "POST", body: data, secure: true, type:
|
|
3721
|
+
calculateMortgageLoanComparison: (data, params = {}) => this.request(Object.assign({ path: `/api/mortgage-calculators/loan-comparison`, method: "POST", body: data, secure: true, type: "application/json", format: "json" }, params)),
|
|
3750
3722
|
/**
|
|
3751
3723
|
* No description
|
|
3752
3724
|
*
|
|
@@ -3758,33 +3730,7 @@ export class Api extends HttpClient {
|
|
|
3758
3730
|
* @response `200` `RefinanceCalculator` OK
|
|
3759
3731
|
* @response `422` `ProblemDetails` Unprocessable Content
|
|
3760
3732
|
*/
|
|
3761
|
-
calculateMortgageRefinance: (data, params = {}) => this.request(Object.assign({ path: `/api/mortgage-calculators/refinance`, method: "POST", body: data, secure: true, type:
|
|
3762
|
-
/**
|
|
3763
|
-
* No description
|
|
3764
|
-
*
|
|
3765
|
-
* @tags Notifications
|
|
3766
|
-
* @name SendNotificationForLoan
|
|
3767
|
-
* @summary Send Notification for Loan
|
|
3768
|
-
* @request POST:/api/notifications
|
|
3769
|
-
* @deprecated
|
|
3770
|
-
* @secure
|
|
3771
|
-
* @response `200` `void` OK
|
|
3772
|
-
* @response `422` `UnprocessableEntity` Unprocessable Content
|
|
3773
|
-
*/
|
|
3774
|
-
sendNotificationForLoan: (data, params = {}) => this.request(Object.assign({ path: `/api/notifications`, method: "POST", body: data, secure: true, type: ContentType.Json }, params)),
|
|
3775
|
-
/**
|
|
3776
|
-
* No description
|
|
3777
|
-
*
|
|
3778
|
-
* @tags Notifications
|
|
3779
|
-
* @name SendTestNotificationForLoan
|
|
3780
|
-
* @summary Send Test Notification for Loan
|
|
3781
|
-
* @request POST:/api/notifications/test
|
|
3782
|
-
* @deprecated
|
|
3783
|
-
* @secure
|
|
3784
|
-
* @response `200` `void` OK
|
|
3785
|
-
* @response `422` `UnprocessableEntity` Unprocessable Content
|
|
3786
|
-
*/
|
|
3787
|
-
sendTestNotificationForLoan: (data, params = {}) => this.request(Object.assign({ path: `/api/notifications/test`, method: "POST", body: data, secure: true, type: ContentType.Json }, params)),
|
|
3733
|
+
calculateMortgageRefinance: (data, params = {}) => this.request(Object.assign({ path: `/api/mortgage-calculators/refinance`, method: "POST", body: data, secure: true, type: "application/json", format: "json" }, params)),
|
|
3788
3734
|
/**
|
|
3789
3735
|
* No description
|
|
3790
3736
|
*
|
|
@@ -3807,7 +3753,7 @@ export class Api extends HttpClient {
|
|
|
3807
3753
|
* @response `201` `NotificationTemplate` Created
|
|
3808
3754
|
* @response `422` `UnprocessableEntity` Unprocessable Content
|
|
3809
3755
|
*/
|
|
3810
|
-
createNotificationTemplate: (data, params = {}) => this.request(Object.assign({ path: `/api/notification-templates`, method: "POST", body: data, secure: true, type:
|
|
3756
|
+
createNotificationTemplate: (data, params = {}) => this.request(Object.assign({ path: `/api/notification-templates`, method: "POST", body: data, secure: true, type: "application/json", format: "json" }, params)),
|
|
3811
3757
|
/**
|
|
3812
3758
|
* No description
|
|
3813
3759
|
*
|
|
@@ -3818,7 +3764,7 @@ export class Api extends HttpClient {
|
|
|
3818
3764
|
* @secure
|
|
3819
3765
|
* @response `200` `NotificationTemplateBasePaginated` OK
|
|
3820
3766
|
*/
|
|
3821
|
-
searchNotificationTemplates: (data, query, params = {}) => this.request(Object.assign({ path: `/api/notification-templates/search`, method: "POST", query: query, body: data, secure: true, type:
|
|
3767
|
+
searchNotificationTemplates: (data, query, params = {}) => this.request(Object.assign({ path: `/api/notification-templates/search`, method: "POST", query: query, body: data, secure: true, type: "application/json", format: "json" }, params)),
|
|
3822
3768
|
/**
|
|
3823
3769
|
* No description
|
|
3824
3770
|
*
|
|
@@ -3841,7 +3787,7 @@ export class Api extends HttpClient {
|
|
|
3841
3787
|
* @response `200` `NotificationTemplate` OK
|
|
3842
3788
|
* @response `422` `UnprocessableEntity` Unprocessable Content
|
|
3843
3789
|
*/
|
|
3844
|
-
replaceNotificationTemplate: (id, data, params = {}) => this.request(Object.assign({ path: `/api/notification-templates/${id}`, method: "PUT", body: data, secure: true, type:
|
|
3790
|
+
replaceNotificationTemplate: (id, data, params = {}) => this.request(Object.assign({ path: `/api/notification-templates/${id}`, method: "PUT", body: data, secure: true, type: "application/json", format: "json" }, params)),
|
|
3845
3791
|
/**
|
|
3846
3792
|
* No description
|
|
3847
3793
|
*
|
|
@@ -3885,7 +3831,7 @@ export class Api extends HttpClient {
|
|
|
3885
3831
|
* @secure
|
|
3886
3832
|
* @response `200` `NotificationTemplateVersion` OK
|
|
3887
3833
|
*/
|
|
3888
|
-
createNotificationTemplateVersion: (notificationId, data, params = {}) => this.request(Object.assign({ path: `/api/notification-templates/${notificationId}/versions`, method: "POST", body: data, secure: true, type:
|
|
3834
|
+
createNotificationTemplateVersion: (notificationId, data, params = {}) => this.request(Object.assign({ path: `/api/notification-templates/${notificationId}/versions`, method: "POST", body: data, secure: true, type: "application/json", format: "json" }, params)),
|
|
3889
3835
|
/**
|
|
3890
3836
|
* No description
|
|
3891
3837
|
*
|
|
@@ -3907,7 +3853,7 @@ export class Api extends HttpClient {
|
|
|
3907
3853
|
* @secure
|
|
3908
3854
|
* @response `200` `NotificationTemplateVersion` OK
|
|
3909
3855
|
*/
|
|
3910
|
-
replaceNotificationTemplateVersion: (notificationId, id, data, params = {}) => this.request(Object.assign({ path: `/api/notification-templates/${notificationId}/versions/${id}`, method: "PUT", body: data, secure: true, type:
|
|
3856
|
+
replaceNotificationTemplateVersion: (notificationId, id, data, params = {}) => this.request(Object.assign({ path: `/api/notification-templates/${notificationId}/versions/${id}`, method: "PUT", body: data, secure: true, type: "application/json", format: "json" }, params)),
|
|
3911
3857
|
/**
|
|
3912
3858
|
* No description
|
|
3913
3859
|
*
|
|
@@ -3940,7 +3886,7 @@ export class Api extends HttpClient {
|
|
|
3940
3886
|
* @secure
|
|
3941
3887
|
* @response `200` `BranchUserPaginated` OK
|
|
3942
3888
|
*/
|
|
3943
|
-
searchPartners: (data, query, params = {}) => this.request(Object.assign({ path: `/api/partners/search`, method: "POST", query: query, body: data, secure: true, type:
|
|
3889
|
+
searchPartners: (data, query, params = {}) => this.request(Object.assign({ path: `/api/partners/search`, method: "POST", query: query, body: data, secure: true, type: "application/json", format: "json" }, params)),
|
|
3944
3890
|
/**
|
|
3945
3891
|
* No description
|
|
3946
3892
|
*
|
|
@@ -3963,7 +3909,7 @@ export class Api extends HttpClient {
|
|
|
3963
3909
|
* @response `200` `SiteConfiguration` OK
|
|
3964
3910
|
* @response `422` `UnprocessableEntity` Unprocessable Content
|
|
3965
3911
|
*/
|
|
3966
|
-
createPartnerSiteConfiguration: (realtorId, data, params = {}) => this.request(Object.assign({ path: `/api/partners/${realtorId}/site-configurations`, method: "POST", body: data, secure: true, type:
|
|
3912
|
+
createPartnerSiteConfiguration: (realtorId, data, params = {}) => this.request(Object.assign({ path: `/api/partners/${realtorId}/site-configurations`, method: "POST", body: data, secure: true, type: "application/json", format: "json" }, params)),
|
|
3967
3913
|
/**
|
|
3968
3914
|
* No description
|
|
3969
3915
|
*
|
|
@@ -3986,7 +3932,7 @@ export class Api extends HttpClient {
|
|
|
3986
3932
|
* @response `200` `SiteConfiguration` OK
|
|
3987
3933
|
* @response `422` `UnprocessableEntity` Unprocessable Content
|
|
3988
3934
|
*/
|
|
3989
|
-
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:
|
|
3935
|
+
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: "application/json", format: "json" }, params)),
|
|
3990
3936
|
/**
|
|
3991
3937
|
* No description
|
|
3992
3938
|
*
|
|
@@ -4010,7 +3956,7 @@ export class Api extends HttpClient {
|
|
|
4010
3956
|
* @response `200` `SiteConfigurationByUrl` OK
|
|
4011
3957
|
* @response `422` `UnprocessableEntity` Unprocessable Content
|
|
4012
3958
|
*/
|
|
4013
|
-
searchSiteConfigurationByUrl: (data, params = {}) => this.request(Object.assign({ path: `/api/site-configurations/url`, method: "POST", body: data, secure: true, type:
|
|
3959
|
+
searchSiteConfigurationByUrl: (data, params = {}) => this.request(Object.assign({ path: `/api/site-configurations/url`, method: "POST", body: data, secure: true, type: "application/json", format: "json" }, params)),
|
|
4014
3960
|
/**
|
|
4015
3961
|
* No description
|
|
4016
3962
|
*
|
|
@@ -4035,7 +3981,7 @@ export class Api extends HttpClient {
|
|
|
4035
3981
|
* @response `200` `SiteConfiguration` OK
|
|
4036
3982
|
* @response `422` `UnprocessableEntity` Unprocessable Content
|
|
4037
3983
|
*/
|
|
4038
|
-
searchSiteConfigurationByLoanOfficerUser: (data, params = {}) => this.request(Object.assign({ path: `/api/site-configurations/louser`, method: "POST", body: data, secure: true, type:
|
|
3984
|
+
searchSiteConfigurationByLoanOfficerUser: (data, params = {}) => this.request(Object.assign({ path: `/api/site-configurations/louser`, method: "POST", body: data, secure: true, type: "application/json", format: "json" }, params)),
|
|
4039
3985
|
/**
|
|
4040
3986
|
* No description
|
|
4041
3987
|
*
|
|
@@ -4059,7 +4005,7 @@ export class Api extends HttpClient {
|
|
|
4059
4005
|
* @response `200` `SiteConfigurationSummaryPaginated` OK
|
|
4060
4006
|
* @response `422` `UnprocessableEntity` Unprocessable Content
|
|
4061
4007
|
*/
|
|
4062
|
-
searchSiteConfigurations: (data, query, params = {}) => this.request(Object.assign({ path: `/api/site-configurations/search`, method: "POST", query: query, body: data, secure: true, type:
|
|
4008
|
+
searchSiteConfigurations: (data, query, params = {}) => this.request(Object.assign({ path: `/api/site-configurations/search`, method: "POST", query: query, body: data, secure: true, type: "application/json", format: "json" }, params)),
|
|
4063
4009
|
/**
|
|
4064
4010
|
* No description
|
|
4065
4011
|
*
|
|
@@ -4151,7 +4097,7 @@ export class Api extends HttpClient {
|
|
|
4151
4097
|
* @secure
|
|
4152
4098
|
* @response `200` `GetForm` OK
|
|
4153
4099
|
*/
|
|
4154
|
-
getFormBySiteConfigurationSlug: (data, params = {}) => this.request(Object.assign({ path: `/api/site-forms`, method: "POST", body: data, secure: true, type:
|
|
4100
|
+
getFormBySiteConfigurationSlug: (data, params = {}) => this.request(Object.assign({ path: `/api/site-forms`, method: "POST", body: data, secure: true, type: "application/json", format: "json" }, params)),
|
|
4155
4101
|
/**
|
|
4156
4102
|
* No description
|
|
4157
4103
|
*
|
|
@@ -4174,7 +4120,7 @@ export class Api extends HttpClient {
|
|
|
4174
4120
|
* @response `200` `(SocialSurveyRecord)[]` OK
|
|
4175
4121
|
* @response `422` `UnprocessableEntity` Unprocessable Content
|
|
4176
4122
|
*/
|
|
4177
|
-
getSurveysByUser: (data, params = {}) => this.request(Object.assign({ path: `/api/surveys`, method: "POST", body: data, secure: true, type:
|
|
4123
|
+
getSurveysByUser: (data, params = {}) => this.request(Object.assign({ path: `/api/surveys`, method: "POST", body: data, secure: true, type: "application/json", format: "json" }, params)),
|
|
4178
4124
|
/**
|
|
4179
4125
|
* No description
|
|
4180
4126
|
*
|
|
@@ -4197,7 +4143,7 @@ export class Api extends HttpClient {
|
|
|
4197
4143
|
* @secure
|
|
4198
4144
|
* @response `201` `Task` Created
|
|
4199
4145
|
*/
|
|
4200
|
-
createTask: (data, params = {}) => this.request(Object.assign({ path: `/api/tasks`, method: "POST", body: data, secure: true, type:
|
|
4146
|
+
createTask: (data, params = {}) => this.request(Object.assign({ path: `/api/tasks`, method: "POST", body: data, secure: true, type: "application/json", format: "json" }, params)),
|
|
4201
4147
|
/**
|
|
4202
4148
|
* No description
|
|
4203
4149
|
*
|
|
@@ -4221,7 +4167,7 @@ export class Api extends HttpClient {
|
|
|
4221
4167
|
* @response `200` `Task` OK
|
|
4222
4168
|
* @response `404` `ProblemDetails` Not Found
|
|
4223
4169
|
*/
|
|
4224
|
-
replaceTask: (id, data, params = {}) => this.request(Object.assign({ path: `/api/tasks/${id}`, method: "PUT", body: data, secure: true, type:
|
|
4170
|
+
replaceTask: (id, data, params = {}) => this.request(Object.assign({ path: `/api/tasks/${id}`, method: "PUT", body: data, secure: true, type: "application/json", format: "json" }, params)),
|
|
4225
4171
|
/**
|
|
4226
4172
|
* No description
|
|
4227
4173
|
*
|
|
@@ -4244,7 +4190,7 @@ export class Api extends HttpClient {
|
|
|
4244
4190
|
* @secure
|
|
4245
4191
|
* @response `200` `TaskPaginated` OK
|
|
4246
4192
|
*/
|
|
4247
|
-
searchTasks: (data, query, params = {}) => this.request(Object.assign({ path: `/api/tasks/search`, method: "POST", query: query, body: data, secure: true, type:
|
|
4193
|
+
searchTasks: (data, query, params = {}) => this.request(Object.assign({ path: `/api/tasks/search`, method: "POST", query: query, body: data, secure: true, type: "application/json", format: "json" }, params)),
|
|
4248
4194
|
/**
|
|
4249
4195
|
* No description
|
|
4250
4196
|
*
|
|
@@ -4254,7 +4200,7 @@ export class Api extends HttpClient {
|
|
|
4254
4200
|
* @secure
|
|
4255
4201
|
* @response `200` `void` OK
|
|
4256
4202
|
*/
|
|
4257
|
-
integrationsLosLoansCreate: (data, params = {}) => this.request(Object.assign({ path: `/api/integrations/los/loans`, method: "POST", body: data, secure: true, type:
|
|
4203
|
+
integrationsLosLoansCreate: (data, params = {}) => this.request(Object.assign({ path: `/api/integrations/los/loans`, method: "POST", body: data, secure: true, type: "application/json" }, params)),
|
|
4258
4204
|
/**
|
|
4259
4205
|
* No description
|
|
4260
4206
|
*
|
|
@@ -4265,7 +4211,7 @@ export class Api extends HttpClient {
|
|
|
4265
4211
|
* @secure
|
|
4266
4212
|
* @response `200` `EncompassRequestLogPaginated` OK
|
|
4267
4213
|
*/
|
|
4268
|
-
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:
|
|
4214
|
+
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: "application/json", format: "json" }, params)),
|
|
4269
4215
|
/**
|
|
4270
4216
|
* No description
|
|
4271
4217
|
*
|
|
@@ -4288,7 +4234,7 @@ export class Api extends HttpClient {
|
|
|
4288
4234
|
* @secure
|
|
4289
4235
|
* @response `201` `LosCredentials` Created
|
|
4290
4236
|
*/
|
|
4291
|
-
createEncompassCredentials: (data, params = {}) => this.request(Object.assign({ path: `/api/los/encompass/credentials`, method: "POST", body: data, secure: true, type:
|
|
4237
|
+
createEncompassCredentials: (data, params = {}) => this.request(Object.assign({ path: `/api/los/encompass/credentials`, method: "POST", body: data, secure: true, type: "application/json", format: "json" }, params)),
|
|
4292
4238
|
/**
|
|
4293
4239
|
* No description
|
|
4294
4240
|
*
|
|
@@ -4299,7 +4245,7 @@ export class Api extends HttpClient {
|
|
|
4299
4245
|
* @secure
|
|
4300
4246
|
* @response `200` `EncompassCredentialsDetail` OK
|
|
4301
4247
|
*/
|
|
4302
|
-
updateEncompassCredentials: (data, params = {}) => this.request(Object.assign({ path: `/api/los/encompass/credentials`, method: "PUT", body: data, secure: true, type:
|
|
4248
|
+
updateEncompassCredentials: (data, params = {}) => this.request(Object.assign({ path: `/api/los/encompass/credentials`, method: "PUT", body: data, secure: true, type: "application/json", format: "json" }, params)),
|
|
4303
4249
|
/**
|
|
4304
4250
|
* No description
|
|
4305
4251
|
*
|
|
@@ -4321,7 +4267,7 @@ export class Api extends HttpClient {
|
|
|
4321
4267
|
* @secure
|
|
4322
4268
|
* @response `201` `LosWebhook` Created
|
|
4323
4269
|
*/
|
|
4324
|
-
createEncompassWebhook: (data, params = {}) => this.request(Object.assign({ path: `/api/los/encompass/webhooks`, method: "POST", body: data, secure: true, type:
|
|
4270
|
+
createEncompassWebhook: (data, params = {}) => this.request(Object.assign({ path: `/api/los/encompass/webhooks`, method: "POST", body: data, secure: true, type: "application/json", format: "json" }, params)),
|
|
4325
4271
|
/**
|
|
4326
4272
|
* No description
|
|
4327
4273
|
*
|
|
@@ -4343,7 +4289,7 @@ export class Api extends HttpClient {
|
|
|
4343
4289
|
* @secure
|
|
4344
4290
|
* @response `200` `LosSyncPaginated` OK
|
|
4345
4291
|
*/
|
|
4346
|
-
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:
|
|
4292
|
+
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: "application/json", format: "json" }, params)),
|
|
4347
4293
|
/**
|
|
4348
4294
|
* No description
|
|
4349
4295
|
*
|
|
@@ -4426,7 +4372,7 @@ export class Api extends HttpClient {
|
|
|
4426
4372
|
* @response `201` `UserDevice` Created
|
|
4427
4373
|
* @response `400` `ProblemDetails` Bad Request
|
|
4428
4374
|
*/
|
|
4429
|
-
createUserDevice: (data, params = {}) => this.request(Object.assign({ path: `/api/userdevices`, method: "POST", body: data, secure: true, type:
|
|
4375
|
+
createUserDevice: (data, params = {}) => this.request(Object.assign({ path: `/api/userdevices`, method: "POST", body: data, secure: true, type: "application/json", format: "json" }, params)),
|
|
4430
4376
|
/**
|
|
4431
4377
|
* No description
|
|
4432
4378
|
*
|
|
@@ -4471,7 +4417,7 @@ export class Api extends HttpClient {
|
|
|
4471
4417
|
* @secure
|
|
4472
4418
|
* @response `200` `UserDraft` OK
|
|
4473
4419
|
*/
|
|
4474
|
-
addDraftUsers: (draftId, userId, data, params = {}) => this.request(Object.assign({ path: `/api/loans/drafts/${draftId}/users/${userId}`, method: "POST", body: data, secure: true, type:
|
|
4420
|
+
addDraftUsers: (draftId, userId, data, params = {}) => this.request(Object.assign({ path: `/api/loans/drafts/${draftId}/users/${userId}`, method: "POST", body: data, secure: true, type: "application/json", format: "json" }, params)),
|
|
4475
4421
|
/**
|
|
4476
4422
|
* No description
|
|
4477
4423
|
*
|
|
@@ -4504,7 +4450,7 @@ export class Api extends HttpClient {
|
|
|
4504
4450
|
* @secure
|
|
4505
4451
|
* @response `200` `UserGroupAccessScope` OK
|
|
4506
4452
|
*/
|
|
4507
|
-
createUserGroupAccessScope: (groupId, data, params = {}) => this.request(Object.assign({ path: `/api/user-groups/${groupId}/scopes`, method: "POST", body: data, secure: true, type:
|
|
4453
|
+
createUserGroupAccessScope: (groupId, data, params = {}) => this.request(Object.assign({ path: `/api/user-groups/${groupId}/scopes`, method: "POST", body: data, secure: true, type: "application/json", format: "json" }, params)),
|
|
4508
4454
|
/**
|
|
4509
4455
|
* No description
|
|
4510
4456
|
*
|
|
@@ -4537,7 +4483,7 @@ export class Api extends HttpClient {
|
|
|
4537
4483
|
* @secure
|
|
4538
4484
|
* @response `200` `UserGroupMember` OK
|
|
4539
4485
|
*/
|
|
4540
|
-
createUserGroupMember: (groupId, data, query, params = {}) => this.request(Object.assign({ path: `/api/user-groups/${groupId}/members`, method: "POST", query: query, body: data, secure: true, type:
|
|
4486
|
+
createUserGroupMember: (groupId, data, query, params = {}) => this.request(Object.assign({ path: `/api/user-groups/${groupId}/members`, method: "POST", query: query, body: data, secure: true, type: "application/json", format: "json" }, params)),
|
|
4541
4487
|
/**
|
|
4542
4488
|
* No description
|
|
4543
4489
|
*
|
|
@@ -4581,7 +4527,7 @@ export class Api extends HttpClient {
|
|
|
4581
4527
|
* @secure
|
|
4582
4528
|
* @response `200` `UserGroup` OK
|
|
4583
4529
|
*/
|
|
4584
|
-
updateUserGroup: (groupId, data, params = {}) => this.request(Object.assign({ path: `/api/user-groups/${groupId}`, method: "PUT", body: data, secure: true, type:
|
|
4530
|
+
updateUserGroup: (groupId, data, params = {}) => this.request(Object.assign({ path: `/api/user-groups/${groupId}`, method: "PUT", body: data, secure: true, type: "application/json", format: "json" }, params)),
|
|
4585
4531
|
/**
|
|
4586
4532
|
* No description
|
|
4587
4533
|
*
|
|
@@ -4603,7 +4549,7 @@ export class Api extends HttpClient {
|
|
|
4603
4549
|
* @secure
|
|
4604
4550
|
* @response `201` `UserGroup` Created
|
|
4605
4551
|
*/
|
|
4606
|
-
createUserGroup: (data, params = {}) => this.request(Object.assign({ path: `/api/user-groups`, method: "POST", body: data, secure: true, type:
|
|
4552
|
+
createUserGroup: (data, params = {}) => this.request(Object.assign({ path: `/api/user-groups`, method: "POST", body: data, secure: true, type: "application/json", format: "json" }, params)),
|
|
4607
4553
|
/**
|
|
4608
4554
|
* No description
|
|
4609
4555
|
*
|
|
@@ -4616,7 +4562,7 @@ export class Api extends HttpClient {
|
|
|
4616
4562
|
* @response `404` `Error` Not Found
|
|
4617
4563
|
* @response `422` `UnprocessableEntity` Unprocessable Content
|
|
4618
4564
|
*/
|
|
4619
|
-
requestImpersonation: (data, params = {}) => this.request(Object.assign({ path: `/api/users/impersonation/request`, method: "POST", body: data, secure: true, type:
|
|
4565
|
+
requestImpersonation: (data, params = {}) => this.request(Object.assign({ path: `/api/users/impersonation/request`, method: "POST", body: data, secure: true, type: "application/json" }, params)),
|
|
4620
4566
|
/**
|
|
4621
4567
|
* No description
|
|
4622
4568
|
*
|
|
@@ -4629,7 +4575,7 @@ export class Api extends HttpClient {
|
|
|
4629
4575
|
* @response `404` `Error` Not Found
|
|
4630
4576
|
* @response `422` `UnprocessableEntity` Unprocessable Content
|
|
4631
4577
|
*/
|
|
4632
|
-
allowImpersonation: (data, params = {}) => this.request(Object.assign({ path: `/api/users/impersonation/allow`, method: "POST", body: data, secure: true, type:
|
|
4578
|
+
allowImpersonation: (data, params = {}) => this.request(Object.assign({ path: `/api/users/impersonation/allow`, method: "POST", body: data, secure: true, type: "application/json" }, params)),
|
|
4633
4579
|
/**
|
|
4634
4580
|
* No description
|
|
4635
4581
|
*
|
|
@@ -4679,7 +4625,7 @@ export class Api extends HttpClient {
|
|
|
4679
4625
|
* @response `404` `Error` Not Found
|
|
4680
4626
|
* @response `422` `UnprocessableEntity` Unprocessable Content
|
|
4681
4627
|
*/
|
|
4682
|
-
forceImpersonation: (data, params = {}) => this.request(Object.assign({ path: `/api/users/impersonation/force`, method: "POST", body: data, secure: true, type:
|
|
4628
|
+
forceImpersonation: (data, params = {}) => this.request(Object.assign({ path: `/api/users/impersonation/force`, method: "POST", body: data, secure: true, type: "application/json" }, params)),
|
|
4683
4629
|
/**
|
|
4684
4630
|
* No description
|
|
4685
4631
|
*
|
|
@@ -4703,7 +4649,7 @@ export class Api extends HttpClient {
|
|
|
4703
4649
|
* @response `204` `void` No Content
|
|
4704
4650
|
* @response `422` `UnprocessableEntity` Unprocessable Content
|
|
4705
4651
|
*/
|
|
4706
|
-
inviteUser: (data, params = {}) => this.request(Object.assign({ path: `/api/users/invites`, method: "POST", body: data, secure: true, type:
|
|
4652
|
+
inviteUser: (data, params = {}) => this.request(Object.assign({ path: `/api/users/invites`, method: "POST", body: data, secure: true, type: "application/json" }, params)),
|
|
4707
4653
|
/**
|
|
4708
4654
|
* No description
|
|
4709
4655
|
*
|
|
@@ -4750,7 +4696,7 @@ export class Api extends HttpClient {
|
|
|
4750
4696
|
* @secure
|
|
4751
4697
|
* @response `204` `void` No Content
|
|
4752
4698
|
*/
|
|
4753
|
-
createUserRelation: (userId, data, params = {}) => this.request(Object.assign({ path: `/api/users/${userId}/relations`, method: "POST", body: data, secure: true, type:
|
|
4699
|
+
createUserRelation: (userId, data, params = {}) => this.request(Object.assign({ path: `/api/users/${userId}/relations`, method: "POST", body: data, secure: true, type: "application/json" }, params)),
|
|
4754
4700
|
/**
|
|
4755
4701
|
* No description
|
|
4756
4702
|
*
|
|
@@ -4795,7 +4741,7 @@ export class Api extends HttpClient {
|
|
|
4795
4741
|
* @response `200` `DetailedUser` OK
|
|
4796
4742
|
* @response `422` `UnprocessableEntity` Unprocessable Content
|
|
4797
4743
|
*/
|
|
4798
|
-
createUser: (data, params = {}) => this.request(Object.assign({ path: `/api/users`, method: "POST", body: data, secure: true, type:
|
|
4744
|
+
createUser: (data, params = {}) => this.request(Object.assign({ path: `/api/users`, method: "POST", body: data, secure: true, type: "application/json", format: "json" }, params)),
|
|
4799
4745
|
/**
|
|
4800
4746
|
* No description
|
|
4801
4747
|
*
|
|
@@ -4806,7 +4752,7 @@ export class Api extends HttpClient {
|
|
|
4806
4752
|
* @secure
|
|
4807
4753
|
* @response `200` `UserPaginated` OK
|
|
4808
4754
|
*/
|
|
4809
|
-
searchUsers: (data, query, params = {}) => this.request(Object.assign({ path: `/api/users/search`, method: "POST", query: query, body: data, secure: true, type:
|
|
4755
|
+
searchUsers: (data, query, params = {}) => this.request(Object.assign({ path: `/api/users/search`, method: "POST", query: query, body: data, secure: true, type: "application/json", format: "json" }, params)),
|
|
4810
4756
|
/**
|
|
4811
4757
|
* No description
|
|
4812
4758
|
*
|
|
@@ -4817,7 +4763,7 @@ export class Api extends HttpClient {
|
|
|
4817
4763
|
* @secure
|
|
4818
4764
|
* @response `200` `AdminAccessUser` OK
|
|
4819
4765
|
*/
|
|
4820
|
-
getUserByEmail: (data, params = {}) => this.request(Object.assign({ path: `/api/users/byemail`, method: "POST", body: data, secure: true, type:
|
|
4766
|
+
getUserByEmail: (data, params = {}) => this.request(Object.assign({ path: `/api/users/byemail`, method: "POST", body: data, secure: true, type: "application/json", format: "json" }, params)),
|
|
4821
4767
|
/**
|
|
4822
4768
|
* No description
|
|
4823
4769
|
*
|
|
@@ -4829,7 +4775,7 @@ export class Api extends HttpClient {
|
|
|
4829
4775
|
* @response `200` `User` OK
|
|
4830
4776
|
* @response `422` `UnprocessableEntity` Unprocessable Content
|
|
4831
4777
|
*/
|
|
4832
|
-
signUp: (data, params = {}) => this.request(Object.assign({ path: `/api/users/register`, method: "POST", body: data, secure: true, type:
|
|
4778
|
+
signUp: (data, params = {}) => this.request(Object.assign({ path: `/api/users/register`, method: "POST", body: data, secure: true, type: "application/json", format: "json" }, params)),
|
|
4833
4779
|
/**
|
|
4834
4780
|
* No description
|
|
4835
4781
|
*
|
|
@@ -4841,7 +4787,7 @@ export class Api extends HttpClient {
|
|
|
4841
4787
|
* @response `200` `DetailedUser` OK
|
|
4842
4788
|
* @response `422` `UnprocessableEntity` Unprocessable Content
|
|
4843
4789
|
*/
|
|
4844
|
-
replaceUser: (id, data, params = {}) => this.request(Object.assign({ path: `/api/users/${id}`, method: "PUT", body: data, secure: true, type:
|
|
4790
|
+
replaceUser: (id, data, params = {}) => this.request(Object.assign({ path: `/api/users/${id}`, method: "PUT", body: data, secure: true, type: "application/json", format: "json" }, params)),
|
|
4845
4791
|
/**
|
|
4846
4792
|
* No description
|
|
4847
4793
|
*
|
|
@@ -4875,7 +4821,7 @@ export class Api extends HttpClient {
|
|
|
4875
4821
|
* @response `204` `void` No Content
|
|
4876
4822
|
* @response `422` `UnprocessableEntity` Unprocessable Content
|
|
4877
4823
|
*/
|
|
4878
|
-
changePassword: (data, params = {}) => this.request(Object.assign({ path: `/api/users/change-password`, method: "POST", body: data, secure: true, type:
|
|
4824
|
+
changePassword: (data, params = {}) => this.request(Object.assign({ path: `/api/users/change-password`, method: "POST", body: data, secure: true, type: "application/json" }, params)),
|
|
4879
4825
|
/**
|
|
4880
4826
|
* No description
|
|
4881
4827
|
*
|
|
@@ -4887,7 +4833,7 @@ export class Api extends HttpClient {
|
|
|
4887
4833
|
* @response `204` `void` No Content
|
|
4888
4834
|
* @response `422` `UnprocessableEntity` Unprocessable Content
|
|
4889
4835
|
*/
|
|
4890
|
-
verifyPassword: (data, params = {}) => this.request(Object.assign({ path: `/api/users/verify-password`, method: "POST", body: data, secure: true, type:
|
|
4836
|
+
verifyPassword: (data, params = {}) => this.request(Object.assign({ path: `/api/users/verify-password`, method: "POST", body: data, secure: true, type: "application/json" }, params)),
|
|
4891
4837
|
/**
|
|
4892
4838
|
* No description
|
|
4893
4839
|
*
|
|
@@ -4899,7 +4845,7 @@ export class Api extends HttpClient {
|
|
|
4899
4845
|
* @response `204` `void` No Content
|
|
4900
4846
|
* @response `422` `UnprocessableEntity` Unprocessable Content
|
|
4901
4847
|
*/
|
|
4902
|
-
overridePassword: (id, data, params = {}) => this.request(Object.assign({ path: `/api/users/${id}/override-password`, method: "POST", body: data, secure: true, type:
|
|
4848
|
+
overridePassword: (id, data, params = {}) => this.request(Object.assign({ path: `/api/users/${id}/override-password`, method: "POST", body: data, secure: true, type: "application/json" }, params)),
|
|
4903
4849
|
/**
|
|
4904
4850
|
* No description
|
|
4905
4851
|
*
|
|
@@ -4911,7 +4857,7 @@ export class Api extends HttpClient {
|
|
|
4911
4857
|
* @response `204` `void` No Content
|
|
4912
4858
|
* @response `422` `UnprocessableEntity` Unprocessable Content
|
|
4913
4859
|
*/
|
|
4914
|
-
forgotPassword: (data, params = {}) => this.request(Object.assign({ path: `/api/users/forgot-password`, method: "POST", body: data, secure: true, type:
|
|
4860
|
+
forgotPassword: (data, params = {}) => this.request(Object.assign({ path: `/api/users/forgot-password`, method: "POST", body: data, secure: true, type: "application/json" }, params)),
|
|
4915
4861
|
/**
|
|
4916
4862
|
* No description
|
|
4917
4863
|
*
|
|
@@ -4935,7 +4881,7 @@ export class Api extends HttpClient {
|
|
|
4935
4881
|
* @response `204` `void` No Content
|
|
4936
4882
|
* @response `422` `UnprocessableEntity` Unprocessable Content
|
|
4937
4883
|
*/
|
|
4938
|
-
verifyUserMobilePhone: (data, params = {}) => this.request(Object.assign({ path: `/api/users/mobile-phone/verify-code`, method: "PUT", body: data, secure: true, type:
|
|
4884
|
+
verifyUserMobilePhone: (data, params = {}) => this.request(Object.assign({ path: `/api/users/mobile-phone/verify-code`, method: "PUT", body: data, secure: true, type: "application/json" }, params)),
|
|
4939
4885
|
/**
|
|
4940
4886
|
* No description
|
|
4941
4887
|
*
|
|
@@ -4958,7 +4904,7 @@ export class Api extends HttpClient {
|
|
|
4958
4904
|
* @secure
|
|
4959
4905
|
* @response `200` `DetailedUser` OK
|
|
4960
4906
|
*/
|
|
4961
|
-
replaceMe: (data, params = {}) => this.request(Object.assign({ path: `/api/users/me`, method: "PUT", body: data, secure: true, type:
|
|
4907
|
+
replaceMe: (data, params = {}) => this.request(Object.assign({ path: `/api/users/me`, method: "PUT", body: data, secure: true, type: "application/json", format: "json" }, params)),
|
|
4962
4908
|
/**
|
|
4963
4909
|
* @description Update the phone number If changed will send a verification code to the new number
|
|
4964
4910
|
*
|
|
@@ -4969,7 +4915,7 @@ export class Api extends HttpClient {
|
|
|
4969
4915
|
* @secure
|
|
4970
4916
|
* @response `204` `DetailedUser` No Content
|
|
4971
4917
|
*/
|
|
4972
|
-
updateMyPhone: (data, params = {}) => this.request(Object.assign({ path: `/api/users/me/phone-number`, method: "PUT", body: data, secure: true, type:
|
|
4918
|
+
updateMyPhone: (data, params = {}) => this.request(Object.assign({ path: `/api/users/me/phone-number`, method: "PUT", body: data, secure: true, type: "application/json", format: "json" }, params)),
|
|
4973
4919
|
/**
|
|
4974
4920
|
* No description
|
|
4975
4921
|
*
|
|
@@ -5013,7 +4959,7 @@ export class Api extends HttpClient {
|
|
|
5013
4959
|
* @secure
|
|
5014
4960
|
* @response `204` `void` No Content
|
|
5015
4961
|
*/
|
|
5016
|
-
deleteMe: (data, params = {}) => this.request(Object.assign({ path: `/api/users/me/delete`, method: "POST", body: data, secure: true, type:
|
|
4962
|
+
deleteMe: (data, params = {}) => this.request(Object.assign({ path: `/api/users/me/delete`, method: "POST", body: data, secure: true, type: "application/json" }, params)),
|
|
5017
4963
|
/**
|
|
5018
4964
|
* No description
|
|
5019
4965
|
*
|
|
@@ -5024,7 +4970,7 @@ export class Api extends HttpClient {
|
|
|
5024
4970
|
* @secure
|
|
5025
4971
|
* @response `200` `GetForm` OK
|
|
5026
4972
|
*/
|
|
5027
|
-
getWorkflow: (data, params = {}) => this.request(Object.assign({ path: `/api/workflow`, method: "POST", body: data, secure: true, type:
|
|
4973
|
+
getWorkflow: (data, params = {}) => this.request(Object.assign({ path: `/api/workflow`, method: "POST", body: data, secure: true, type: "application/json", format: "json" }, params)),
|
|
5028
4974
|
};
|
|
5029
4975
|
this.sso = {
|
|
5030
4976
|
/**
|