@matech/thebigpos-sdk 2.36.0 → 2.36.5-pr-3852-4.0

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/dist/index.js CHANGED
@@ -30,14 +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["Json"] = "application/json";
36
- ContentType["JsonApi"] = "application/vnd.api+json";
37
- ContentType["FormData"] = "multipart/form-data";
38
- ContentType["UrlEncoded"] = "application/x-www-form-urlencoded";
39
- ContentType["Text"] = "text/plain";
40
- })(ContentType || (ContentType = {}));
41
33
  export class HttpClient {
42
34
  constructor(_a = {}) {
43
35
  var { securityWorker, secure, format } = _a, axiosConfig = __rest(_a, ["securityWorker", "secure", "format"]);
@@ -53,13 +45,13 @@ export class HttpClient {
53
45
  {};
54
46
  const requestParams = this.mergeRequestParams(params, secureParams);
55
47
  const responseFormat = format || this.format || undefined;
56
- if (type === ContentType.FormData &&
48
+ if (type === "multipart/form-data" &&
57
49
  body &&
58
50
  body !== null &&
59
51
  typeof body === "object") {
60
52
  body = this.createFormData(body);
61
53
  }
62
- if (type === ContentType.Text &&
54
+ if (type === "text/plain" &&
63
55
  body &&
64
56
  body !== null &&
65
57
  typeof body !== "string") {
@@ -103,7 +95,7 @@ export class HttpClient {
103
95
  }
104
96
  /**
105
97
  * @title The Big POS API
106
- * @version v2.36.0
98
+ * @version v2.49.0
107
99
  * @termsOfService https://www.thebigpos.com/terms-of-use/
108
100
  * @contact Mortgage Automation Technologies <support@thebigpos.com> (https://www.thebigpos.com/terms-of-use/)
109
101
  */
@@ -117,7 +109,7 @@ export class Api extends HttpClient {
117
109
  * @name PostRoot
118
110
  * @request POST:/
119
111
  * @secure
120
- * @response `200` `void` Success
112
+ * @response `200` `void` OK
121
113
  */
122
114
  this.postRoot = (params = {}) => this.request(Object.assign({ path: `/`, method: "POST", secure: true }, params));
123
115
  /**
@@ -127,7 +119,7 @@ export class Api extends HttpClient {
127
119
  * @name GetRoot
128
120
  * @request GET:/
129
121
  * @secure
130
- * @response `200` `string` Success
122
+ * @response `200` `string` OK
131
123
  */
132
124
  this.getRoot = (params = {}) => this.request(Object.assign({ path: `/`, method: "GET", secure: true }, params));
133
125
  this.api = {
@@ -139,7 +131,7 @@ export class Api extends HttpClient {
139
131
  * @summary Get
140
132
  * @request GET:/api/account
141
133
  * @secure
142
- * @response `200` `Account` Success
134
+ * @response `200` `Account` OK
143
135
  * @response `404` `ProblemDetails` Not Found
144
136
  */
145
137
  getMyAccount: (params = {}) => this.request(Object.assign({ path: `/api/account`, method: "GET", secure: true, format: "json" }, params)),
@@ -151,11 +143,11 @@ export class Api extends HttpClient {
151
143
  * @summary Replace
152
144
  * @request PUT:/api/account
153
145
  * @secure
154
- * @response `200` `Account` Success
146
+ * @response `200` `Account` OK
155
147
  * @response `404` `ProblemDetails` Not Found
156
- * @response `422` `ProblemDetails` Client Error
148
+ * @response `422` `ProblemDetails` Unprocessable Content
157
149
  */
158
- replaceMyAccount: (data, params = {}) => this.request(Object.assign({ path: `/api/account`, method: "PUT", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
150
+ replaceMyAccount: (data, params = {}) => this.request(Object.assign({ path: `/api/account`, method: "PUT", body: data, secure: true, type: "application/json", format: "json" }, params)),
159
151
  /**
160
152
  * No description
161
153
  *
@@ -164,7 +156,7 @@ export class Api extends HttpClient {
164
156
  * @summary Get Site Configuration
165
157
  * @request GET:/api/account/site-configurations
166
158
  * @secure
167
- * @response `200` `SiteConfiguration` Success
159
+ * @response `200` `SiteConfiguration` OK
168
160
  */
169
161
  getSiteConfigurationByAccount: (params = {}) => this.request(Object.assign({ path: `/api/account/site-configurations`, method: "GET", secure: true, format: "json" }, params)),
170
162
  /**
@@ -175,10 +167,33 @@ export class Api extends HttpClient {
175
167
  * @summary Update Site Configuration
176
168
  * @request PUT:/api/account/site-configurations
177
169
  * @secure
178
- * @response `200` `SiteConfiguration` Success
179
- * @response `422` `UnprocessableEntity` Client Error
170
+ * @response `200` `SiteConfiguration` OK
171
+ * @response `422` `UnprocessableEntity` Unprocessable Content
180
172
  */
181
- updateSiteConfigurationForAccount: (data, params = {}) => this.request(Object.assign({ path: `/api/account/site-configurations`, method: "PUT", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
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)),
174
+ /**
175
+ * No description
176
+ *
177
+ * @tags AccountReactivation
178
+ * @name RequestAccountReactivation
179
+ * @summary Request account reactivation
180
+ * @request POST:/api/account/reactivation/request
181
+ * @secure
182
+ * @response `204` `void` No Content
183
+ */
184
+ requestAccountReactivation: (data, params = {}) => this.request(Object.assign({ path: `/api/account/reactivation/request`, method: "POST", body: data, secure: true, type: "application/json" }, params)),
185
+ /**
186
+ * No description
187
+ *
188
+ * @tags AccountReactivation
189
+ * @name CompleteAccountReactivation
190
+ * @summary Complete account reactivation with new password
191
+ * @request POST:/api/account/reactivation/complete
192
+ * @secure
193
+ * @response `204` `void` No Content
194
+ * @response `400` `ProblemDetails` Bad Request
195
+ */
196
+ completeAccountReactivation: (data, params = {}) => this.request(Object.assign({ path: `/api/account/reactivation/complete`, method: "POST", body: data, secure: true, type: "application/json" }, params)),
182
197
  /**
183
198
  * No description
184
199
  *
@@ -187,59 +202,842 @@ export class Api extends HttpClient {
187
202
  * @summary Get All
188
203
  * @request GET:/api/accounts
189
204
  * @secure
190
- * @response `200` `(Account)[]` Success
205
+ * @response `200` `(Account)[]` OK
206
+ */
207
+ getAccounts: (params = {}) => this.request(Object.assign({ path: `/api/accounts`, method: "GET", secure: true, format: "json" }, params)),
208
+ /**
209
+ * No description
210
+ *
211
+ * @tags Accounts
212
+ * @name CreateAccount
213
+ * @summary Create
214
+ * @request POST:/api/accounts
215
+ * @secure
216
+ * @response `201` `Account` Created
217
+ * @response `422` `ProblemDetails` Unprocessable Content
218
+ */
219
+ createAccount: (data, params = {}) => this.request(Object.assign({ path: `/api/accounts`, method: "POST", body: data, secure: true, type: "application/json", format: "json" }, params)),
220
+ /**
221
+ * No description
222
+ *
223
+ * @tags Accounts
224
+ * @name GetAccount
225
+ * @summary Get by ID
226
+ * @request GET:/api/accounts/{id}
227
+ * @secure
228
+ * @response `201` `Account` Created
229
+ * @response `422` `ProblemDetails` Unprocessable Content
230
+ */
231
+ getAccount: (id, params = {}) => this.request(Object.assign({ path: `/api/accounts/${id}`, method: "GET", secure: true, format: "json" }, params)),
232
+ /**
233
+ * No description
234
+ *
235
+ * @tags Accounts
236
+ * @name DeleteAccount
237
+ * @summary Delete
238
+ * @request DELETE:/api/accounts/{id}
239
+ * @secure
240
+ * @response `204` `Account` No Content
241
+ * @response `404` `ProblemDetails` Not Found
242
+ * @response `422` `ProblemDetails` Unprocessable Content
243
+ */
244
+ deleteAccount: (id, query, params = {}) => this.request(Object.assign({ path: `/api/accounts/${id}`, method: "DELETE", query: query, secure: true, format: "json" }, params)),
245
+ /**
246
+ * No description
247
+ *
248
+ * @tags Accounts
249
+ * @name UpdateAccountBilling
250
+ * @summary Update billing configuration
251
+ * @request PUT:/api/accounts/{id}/billing
252
+ * @secure
253
+ * @response `200` `AccountBilling` OK
254
+ * @response `404` `ProblemDetails` Not Found
255
+ * @response `422` `ProblemDetails` Unprocessable Content
256
+ */
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)),
258
+ /**
259
+ * No description
260
+ *
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
265
+ * @secure
266
+ * @response `200` `AiEnabled` OK
267
+ */
268
+ getAiAccess: (params = {}) => this.request(Object.assign({ path: `/api/ai/access`, method: "GET", secure: true, format: "json" }, params)),
269
+ /**
270
+ * No description
271
+ *
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
276
+ * @secure
277
+ * @response `200` `AiEnabled` OK
278
+ */
279
+ getAccountAiEnabled: (accountId, params = {}) => this.request(Object.assign({ path: `/api/ai/accounts/${accountId}/ai-enabled`, method: "GET", secure: true, format: "json" }, params)),
280
+ /**
281
+ * No description
282
+ *
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
287
+ * @secure
288
+ * @response `204` `void` No Content
289
+ */
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)),
291
+ /**
292
+ * No description
293
+ *
294
+ * @tags AiAccountSettings
295
+ * @name GetAiAccountSettings
296
+ * @summary Get account AI settings
297
+ * @request GET:/api/ai/account-settings
298
+ * @secure
299
+ * @response `200` `AiAccountSettings` OK
300
+ */
301
+ getAiAccountSettings: (params = {}) => this.request(Object.assign({ path: `/api/ai/account-settings`, method: "GET", secure: true, format: "json" }, params)),
302
+ /**
303
+ * No description
304
+ *
305
+ * @tags AiAccountSettings
306
+ * @name UpdateAiAccountSettings
307
+ * @summary Update account AI settings
308
+ * @request PUT:/api/ai/account-settings
309
+ * @secure
310
+ * @response `200` `AiAccountSettings` OK
311
+ * @response `400` `ProblemDetails` Bad Request
312
+ */
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)),
314
+ /**
315
+ * No description
316
+ *
317
+ * @tags AiAdminPrompt
318
+ * @name GetAiPrompts
319
+ * @summary Get all prompts
320
+ * @request GET:/api/ai/prompts
321
+ * @secure
322
+ * @response `200` `(AiPrompt)[]` OK
323
+ */
324
+ getAiPrompts: (params = {}) => this.request(Object.assign({ path: `/api/ai/prompts`, method: "GET", secure: true, format: "json" }, params)),
325
+ /**
326
+ * No description
327
+ *
328
+ * @tags AiAdminPrompt
329
+ * @name CreateAiPrompt
330
+ * @summary Create custom prompt
331
+ * @request POST:/api/ai/prompts
332
+ * @secure
333
+ * @response `201` `AiPrompt` Created
334
+ * @response `400` `ProblemDetails` Bad Request
335
+ */
336
+ createAiPrompt: (data, params = {}) => this.request(Object.assign({ path: `/api/ai/prompts`, method: "POST", body: data, secure: true, type: "application/json", format: "json" }, params)),
337
+ /**
338
+ * No description
339
+ *
340
+ * @tags AiAdminPrompt
341
+ * @name GetAiPrompt
342
+ * @summary Get prompt by ID
343
+ * @request GET:/api/ai/prompts/{id}
344
+ * @secure
345
+ * @response `200` `AiPrompt` OK
346
+ * @response `404` `ProblemDetails` Not Found
347
+ */
348
+ getAiPrompt: (id, params = {}) => this.request(Object.assign({ path: `/api/ai/prompts/${id}`, method: "GET", secure: true, format: "json" }, params)),
349
+ /**
350
+ * No description
351
+ *
352
+ * @tags AiAdminPrompt
353
+ * @name UpdateAiPrompt
354
+ * @summary Update prompt
355
+ * @request PUT:/api/ai/prompts/{id}
356
+ * @secure
357
+ * @response `200` `AiPrompt` OK
358
+ * @response `400` `ProblemDetails` Bad Request
359
+ * @response `404` `ProblemDetails` Not Found
360
+ */
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)),
362
+ /**
363
+ * No description
364
+ *
365
+ * @tags AiAdminPrompt
366
+ * @name DeleteAiPrompt
367
+ * @summary Delete prompt
368
+ * @request DELETE:/api/ai/prompts/{id}
369
+ * @secure
370
+ * @response `204` `void` No Content
371
+ * @response `400` `ProblemDetails` Bad Request
372
+ * @response `404` `ProblemDetails` Not Found
373
+ */
374
+ deleteAiPrompt: (id, params = {}) => this.request(Object.assign({ path: `/api/ai/prompts/${id}`, method: "DELETE", secure: true }, params)),
375
+ /**
376
+ * No description
377
+ *
378
+ * @tags AiAdminPrompt
379
+ * @name GetAiTools
380
+ * @summary List available agent tools and their settings schema
381
+ * @request GET:/api/ai/prompts/tools
382
+ * @secure
383
+ * @response `200` `(AiToolCatalogItem)[]` OK
384
+ */
385
+ getAiTools: (params = {}) => this.request(Object.assign({ path: `/api/ai/prompts/tools`, method: "GET", secure: true, format: "json" }, params)),
386
+ /**
387
+ * No description
388
+ *
389
+ * @tags AiAdminPrompt
390
+ * @name UpdateAiPromptTools
391
+ * @summary Replace the prompt's agent tool configuration
392
+ * @request PUT:/api/ai/prompts/{id}/tools
393
+ * @secure
394
+ * @response `200` `AiPrompt` OK
395
+ * @response `400` `ProblemDetails` Bad Request
396
+ * @response `404` `ProblemDetails` Not Found
397
+ */
398
+ updateAiPromptTools: (id, data, params = {}) => this.request(Object.assign({ path: `/api/ai/prompts/${id}/tools`, method: "PUT", body: data, secure: true, type: "application/json", format: "json" }, params)),
399
+ /**
400
+ * No description
401
+ *
402
+ * @tags AiAdminPrompt
403
+ * @name ToggleAiPrompt
404
+ * @summary Toggle prompt active/inactive
405
+ * @request PATCH:/api/ai/prompts/{id}/toggle
406
+ * @secure
407
+ * @response `200` `AiPrompt` OK
408
+ * @response `404` `ProblemDetails` Not Found
409
+ */
410
+ toggleAiPrompt: (id, params = {}) => this.request(Object.assign({ path: `/api/ai/prompts/${id}/toggle`, method: "PATCH", secure: true, format: "json" }, params)),
411
+ /**
412
+ * No description
413
+ *
414
+ * @tags AiAdminPrompt
415
+ * @name GenerateAiSystemPrompt
416
+ * @summary Generate a system prompt from description
417
+ * @request POST:/api/ai/prompts/generate
418
+ * @secure
419
+ * @response `200` `GenerateSystemPrompt` OK
420
+ * @response `400` `ProblemDetails` Bad Request
421
+ */
422
+ generateAiSystemPrompt: (data, params = {}) => this.request(Object.assign({ path: `/api/ai/prompts/generate`, method: "POST", body: data, secure: true, type: "application/json", format: "json" }, params)),
423
+ /**
424
+ * No description
425
+ *
426
+ * @tags AiAdminPrompt
427
+ * @name GetAiSupportedModels
428
+ * @summary Get supported LLM models
429
+ * @request GET:/api/ai/prompts/supported-models
430
+ * @secure
431
+ * @response `200` `(SupportedModel)[]` OK
432
+ */
433
+ getAiSupportedModels: (params = {}) => this.request(Object.assign({ path: `/api/ai/prompts/supported-models`, method: "GET", secure: true, format: "json" }, params)),
434
+ /**
435
+ * No description
436
+ *
437
+ * @tags AiAdminSettings
438
+ * @name GetAiAdminSettings
439
+ * @summary Get global AI settings
440
+ * @request GET:/api/ai/settings
441
+ * @secure
442
+ * @response `200` `AiAdminSettings` OK
443
+ */
444
+ getAiAdminSettings: (params = {}) => this.request(Object.assign({ path: `/api/ai/settings`, method: "GET", secure: true, format: "json" }, params)),
445
+ /**
446
+ * No description
447
+ *
448
+ * @tags AiAdminSettings
449
+ * @name UpdateAiAdminSettings
450
+ * @summary Update global AI settings
451
+ * @request PUT:/api/ai/settings
452
+ * @secure
453
+ * @response `200` `AiAdminSettings` OK
454
+ * @response `400` `ProblemDetails` Bad Request
455
+ */
456
+ updateAiAdminSettings: (data, params = {}) => this.request(Object.assign({ path: `/api/ai/settings`, method: "PUT", body: data, secure: true, type: "application/json", format: "json" }, params)),
457
+ /**
458
+ * No description
459
+ *
460
+ * @tags AiAudit
461
+ * @name GetAiAuditLogs
462
+ * @summary Get paginated AI audit logs (own account, or any/all accounts for SuperAdmin)
463
+ * @request GET:/api/ai/audit-logs
464
+ * @secure
465
+ * @response `200` `AiAuditLogPaginated` OK
466
+ */
467
+ getAiAuditLogs: (query, params = {}) => this.request(Object.assign({ path: `/api/ai/audit-logs`, method: "GET", query: query, secure: true, format: "json" }, params)),
468
+ /**
469
+ * No description
470
+ *
471
+ * @tags AiAudit
472
+ * @name GetAiRequestLifecycle
473
+ * @summary Get the full event lifecycle of a single AI request
474
+ * @request GET:/api/ai/audit-logs/request/{requestId}
475
+ * @secure
476
+ * @response `200` `(AiAuditLog)[]` OK
477
+ */
478
+ getAiRequestLifecycle: (requestId, query, params = {}) => this.request(Object.assign({ path: `/api/ai/audit-logs/request/${requestId}`, method: "GET", query: query, secure: true, format: "json" }, params)),
479
+ /**
480
+ * No description
481
+ *
482
+ * @tags AiAudit
483
+ * @name GetAiAuditConversations
484
+ * @summary List conversations with their audit roll-up — origin user, turns, status, tokens
485
+ * @request GET:/api/ai/audit-conversations
486
+ * @secure
487
+ * @response `200` `AiConversationAuditSummaryPaginated` OK
488
+ */
489
+ getAiAuditConversations: (query, params = {}) => this.request(Object.assign({ path: `/api/ai/audit-conversations`, method: "GET", query: query, secure: true, format: "json" }, params)),
490
+ /**
491
+ * No description
492
+ *
493
+ * @tags AiAudit
494
+ * @name GetAiStats
495
+ * @summary Get AI dashboard stats (own account, or any/all accounts for SuperAdmin)
496
+ * @request GET:/api/ai/stats
497
+ * @secure
498
+ * @response `200` `AiAdminStats` OK
499
+ */
500
+ getAiStats: (query, params = {}) => this.request(Object.assign({ path: `/api/ai/stats`, method: "GET", query: query, secure: true, format: "json" }, params)),
501
+ /**
502
+ * No description
503
+ *
504
+ * @tags AiAudit
505
+ * @name GetAiConfigChanges
506
+ * @summary Get the AI configuration change history (who changed prompts, guardrails, fields, sources)
507
+ * @request GET:/api/ai/config-changes
508
+ * @secure
509
+ * @response `200` `AuditLogEntryPaginated` OK
510
+ */
511
+ getAiConfigChanges: (query, params = {}) => this.request(Object.assign({ path: `/api/ai/config-changes`, method: "GET", query: query, secure: true, format: "json" }, params)),
512
+ /**
513
+ * No description
514
+ *
515
+ * @tags AiCanonicalField
516
+ * @name GetAiCanonicalFields
517
+ * @summary Get all canonical fields
518
+ * @request GET:/api/ai/canonical-fields
519
+ * @secure
520
+ * @response `200` `(AiCanonicalField)[]` OK
521
+ */
522
+ getAiCanonicalFields: (params = {}) => this.request(Object.assign({ path: `/api/ai/canonical-fields`, method: "GET", secure: true, format: "json" }, params)),
523
+ /**
524
+ * No description
525
+ *
526
+ * @tags AiCanonicalField
527
+ * @name CreateAiCanonicalField
528
+ * @summary Create canonical field
529
+ * @request POST:/api/ai/canonical-fields
530
+ * @secure
531
+ * @response `201` `AiCanonicalField` Created
532
+ * @response `400` `ProblemDetails` Bad Request
533
+ */
534
+ createAiCanonicalField: (data, params = {}) => this.request(Object.assign({ path: `/api/ai/canonical-fields`, method: "POST", body: data, secure: true, type: "application/json", format: "json" }, params)),
535
+ /**
536
+ * No description
537
+ *
538
+ * @tags AiCanonicalField
539
+ * @name GetAiCanonicalField
540
+ * @summary Get canonical field by ID
541
+ * @request GET:/api/ai/canonical-fields/{id}
542
+ * @secure
543
+ * @response `200` `AiCanonicalField` OK
544
+ * @response `404` `ProblemDetails` Not Found
545
+ */
546
+ getAiCanonicalField: (id, params = {}) => this.request(Object.assign({ path: `/api/ai/canonical-fields/${id}`, method: "GET", secure: true, format: "json" }, params)),
547
+ /**
548
+ * No description
549
+ *
550
+ * @tags AiCanonicalField
551
+ * @name UpdateAiCanonicalField
552
+ * @summary Update canonical field
553
+ * @request PUT:/api/ai/canonical-fields/{id}
554
+ * @secure
555
+ * @response `200` `AiCanonicalField` OK
556
+ * @response `400` `ProblemDetails` Bad Request
557
+ * @response `404` `ProblemDetails` Not Found
558
+ */
559
+ 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)),
560
+ /**
561
+ * No description
562
+ *
563
+ * @tags AiCanonicalField
564
+ * @name DeleteAiCanonicalField
565
+ * @summary Delete canonical field
566
+ * @request DELETE:/api/ai/canonical-fields/{id}
567
+ * @secure
568
+ * @response `204` `void` No Content
569
+ * @response `404` `ProblemDetails` Not Found
570
+ */
571
+ deleteAiCanonicalField: (id, params = {}) => this.request(Object.assign({ path: `/api/ai/canonical-fields/${id}`, method: "DELETE", secure: true }, params)),
572
+ /**
573
+ * No description
574
+ *
575
+ * @tags AiCanonicalField
576
+ * @name ToggleAiCanonicalField
577
+ * @summary Toggle canonical field active/inactive
578
+ * @request PATCH:/api/ai/canonical-fields/{id}/toggle
579
+ * @secure
580
+ * @response `200` `AiCanonicalField` OK
581
+ * @response `404` `ProblemDetails` Not Found
582
+ */
583
+ toggleAiCanonicalField: (id, params = {}) => this.request(Object.assign({ path: `/api/ai/canonical-fields/${id}/toggle`, method: "PATCH", secure: true, format: "json" }, params)),
584
+ /**
585
+ * No description
586
+ *
587
+ * @tags AiChat
588
+ * @name AiChat
589
+ * @summary Send AI chat message
590
+ * @request POST:/api/ai/chats
591
+ * @secure
592
+ * @response `200` `AiChat` OK
593
+ * @response `400` `ProblemDetails` Bad Request
594
+ * @response `401` `ProblemDetails` Unauthorized
595
+ * @response `429` `ProblemDetails` Too Many Requests
596
+ */
597
+ aiChat: (data, params = {}) => this.request(Object.assign({ path: `/api/ai/chats`, method: "POST", body: data, secure: true, type: "application/json", format: "json" }, params)),
598
+ /**
599
+ * No description
600
+ *
601
+ * @tags AiConversation
602
+ * @name GetAiConversations
603
+ * @summary Get user conversations
604
+ * @request GET:/api/ai/conversations
605
+ * @secure
606
+ * @response `200` `AiConversationListItemPaginated` OK
607
+ */
608
+ getAiConversations: (query, params = {}) => this.request(Object.assign({ path: `/api/ai/conversations`, method: "GET", query: query, secure: true, format: "json" }, params)),
609
+ /**
610
+ * No description
611
+ *
612
+ * @tags AiConversation
613
+ * @name GetAiConversation
614
+ * @summary Get conversation metadata
615
+ * @request GET:/api/ai/conversations/{id}
616
+ * @secure
617
+ * @response `200` `AiConversationDetail` OK
618
+ * @response `403` `ProblemDetails` Forbidden
619
+ * @response `404` `ProblemDetails` Not Found
620
+ */
621
+ getAiConversation: (id, params = {}) => this.request(Object.assign({ path: `/api/ai/conversations/${id}`, method: "GET", secure: true, format: "json" }, params)),
622
+ /**
623
+ * No description
624
+ *
625
+ * @tags AiConversation
626
+ * @name RenameAiConversation
627
+ * @summary Rename conversation
628
+ * @request PATCH:/api/ai/conversations/{id}
629
+ * @secure
630
+ * @response `200` `AiConversationDetail` OK
631
+ * @response `400` `ProblemDetails` Bad Request
632
+ * @response `403` `ProblemDetails` Forbidden
633
+ * @response `404` `ProblemDetails` Not Found
634
+ */
635
+ 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)),
636
+ /**
637
+ * No description
638
+ *
639
+ * @tags AiConversation
640
+ * @name DeleteAiConversation
641
+ * @summary Delete conversation
642
+ * @request DELETE:/api/ai/conversations/{id}
643
+ * @secure
644
+ * @response `204` `void` No Content
645
+ * @response `403` `ProblemDetails` Forbidden
646
+ * @response `404` `ProblemDetails` Not Found
647
+ */
648
+ deleteAiConversation: (id, params = {}) => this.request(Object.assign({ path: `/api/ai/conversations/${id}`, method: "DELETE", secure: true }, params)),
649
+ /**
650
+ * No description
651
+ *
652
+ * @tags AiConversation
653
+ * @name GetAiConversationMessages
654
+ * @summary Get conversation messages
655
+ * @request GET:/api/ai/conversations/{id}/messages
656
+ * @secure
657
+ * @response `200` `AiChatMessagePaginated` OK
658
+ * @response `403` `ProblemDetails` Forbidden
659
+ * @response `404` `ProblemDetails` Not Found
660
+ */
661
+ getAiConversationMessages: (id, query, params = {}) => this.request(Object.assign({ path: `/api/ai/conversations/${id}/messages`, method: "GET", query: query, secure: true, format: "json" }, params)),
662
+ /**
663
+ * No description
664
+ *
665
+ * @tags AiConversation
666
+ * @name ClearAiConversationHistory
667
+ * @summary Clear conversation history
668
+ * @request DELETE:/api/ai/conversations/{id}/messages
669
+ * @secure
670
+ * @response `204` `void` No Content
671
+ * @response `403` `ProblemDetails` Forbidden
672
+ * @response `404` `ProblemDetails` Not Found
673
+ */
674
+ clearAiConversationHistory: (id, params = {}) => this.request(Object.assign({ path: `/api/ai/conversations/${id}/messages`, method: "DELETE", secure: true }, params)),
675
+ /**
676
+ * No description
677
+ *
678
+ * @tags AiConversation
679
+ * @name PinAiConversation
680
+ * @summary Pin or unpin conversation
681
+ * @request PUT:/api/ai/conversations/{id}/pin
682
+ * @secure
683
+ * @response `200` `AiConversationDetail` OK
684
+ * @response `403` `ProblemDetails` Forbidden
685
+ * @response `404` `ProblemDetails` Not Found
686
+ */
687
+ 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)),
688
+ /**
689
+ * No description
690
+ *
691
+ * @tags AiConversationAdmin
692
+ * @name GetAiAccountConversations
693
+ * @summary List AI conversations across the account, optionally filtered by user (admin supervision)
694
+ * @request GET:/api/ai/conversations/all
695
+ * @secure
696
+ * @response `200` `AiConversationListItemPaginated` OK
697
+ */
698
+ getAiAccountConversations: (query, params = {}) => this.request(Object.assign({ path: `/api/ai/conversations/all`, method: "GET", query: query, secure: true, format: "json" }, params)),
699
+ /**
700
+ * No description
701
+ *
702
+ * @tags AiConversationAdmin
703
+ * @name GetAiAccountConversation
704
+ * @summary Get an account conversation's detail (admin supervision)
705
+ * @request GET:/api/ai/conversations/all/{id}
706
+ * @secure
707
+ * @response `200` `AiConversationDetail` OK
708
+ * @response `404` `ProblemDetails` Not Found
709
+ */
710
+ getAiAccountConversation: (id, params = {}) => this.request(Object.assign({ path: `/api/ai/conversations/all/${id}`, method: "GET", secure: true, format: "json" }, params)),
711
+ /**
712
+ * No description
713
+ *
714
+ * @tags AiConversationAdmin
715
+ * @name GetAiAccountConversationMessages
716
+ * @summary Get an account conversation's messages (admin supervision)
717
+ * @request GET:/api/ai/conversations/all/{id}/messages
718
+ * @secure
719
+ * @response `200` `AiChatMessagePaginated` OK
720
+ * @response `404` `ProblemDetails` Not Found
721
+ */
722
+ getAiAccountConversationMessages: (id, query, params = {}) => this.request(Object.assign({ path: `/api/ai/conversations/all/${id}/messages`, method: "GET", query: query, secure: true, format: "json" }, params)),
723
+ /**
724
+ * No description
725
+ *
726
+ * @tags AiGuardrail
727
+ * @name GetAiGuardrails
728
+ * @summary Get all guardrails
729
+ * @request GET:/api/ai/guardrails
730
+ * @secure
731
+ * @response `200` `(AiGuardrail)[]` OK
732
+ */
733
+ getAiGuardrails: (params = {}) => this.request(Object.assign({ path: `/api/ai/guardrails`, method: "GET", secure: true, format: "json" }, params)),
734
+ /**
735
+ * No description
736
+ *
737
+ * @tags AiGuardrail
738
+ * @name CreateAiGuardrail
739
+ * @summary Create custom guardrail
740
+ * @request POST:/api/ai/guardrails
741
+ * @secure
742
+ * @response `201` `AiGuardrail` Created
743
+ * @response `400` `ProblemDetails` Bad Request
744
+ */
745
+ createAiGuardrail: (data, params = {}) => this.request(Object.assign({ path: `/api/ai/guardrails`, method: "POST", body: data, secure: true, type: "application/json", format: "json" }, params)),
746
+ /**
747
+ * No description
748
+ *
749
+ * @tags AiGuardrail
750
+ * @name GetAiGuardrail
751
+ * @summary Get guardrail by ID
752
+ * @request GET:/api/ai/guardrails/{id}
753
+ * @secure
754
+ * @response `200` `AiGuardrail` OK
755
+ * @response `404` `ProblemDetails` Not Found
756
+ */
757
+ getAiGuardrail: (id, params = {}) => this.request(Object.assign({ path: `/api/ai/guardrails/${id}`, method: "GET", secure: true, format: "json" }, params)),
758
+ /**
759
+ * No description
760
+ *
761
+ * @tags AiGuardrail
762
+ * @name UpdateAiGuardrail
763
+ * @summary Update guardrail
764
+ * @request PUT:/api/ai/guardrails/{id}
765
+ * @secure
766
+ * @response `200` `AiGuardrail` OK
767
+ * @response `400` `ProblemDetails` Bad Request
768
+ * @response `404` `ProblemDetails` Not Found
769
+ */
770
+ 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)),
771
+ /**
772
+ * No description
773
+ *
774
+ * @tags AiGuardrail
775
+ * @name DeleteAiGuardrail
776
+ * @summary Delete guardrail
777
+ * @request DELETE:/api/ai/guardrails/{id}
778
+ * @secure
779
+ * @response `204` `void` No Content
780
+ * @response `400` `ProblemDetails` Bad Request
781
+ * @response `404` `ProblemDetails` Not Found
782
+ */
783
+ deleteAiGuardrail: (id, params = {}) => this.request(Object.assign({ path: `/api/ai/guardrails/${id}`, method: "DELETE", secure: true }, params)),
784
+ /**
785
+ * No description
786
+ *
787
+ * @tags AiGuardrail
788
+ * @name ToggleAiGuardrail
789
+ * @summary Toggle guardrail enabled/disabled
790
+ * @request PATCH:/api/ai/guardrails/{id}/toggle
791
+ * @secure
792
+ * @response `200` `AiGuardrail` OK
793
+ * @response `404` `ProblemDetails` Not Found
794
+ */
795
+ toggleAiGuardrail: (id, params = {}) => this.request(Object.assign({ path: `/api/ai/guardrails/${id}/toggle`, method: "PATCH", secure: true, format: "json" }, params)),
796
+ /**
797
+ * No description
798
+ *
799
+ * @tags AiPrompt
800
+ * @name GetAiAvailablePrompts
801
+ * @summary Get available prompts for current user
802
+ * @request GET:/api/ai/prompts/available
803
+ * @secure
804
+ * @response `200` `(AiPromptSummary)[]` OK
805
+ */
806
+ getAiAvailablePrompts: (query, params = {}) => this.request(Object.assign({ path: `/api/ai/prompts/available`, method: "GET", query: query, secure: true, format: "json" }, params)),
807
+ /**
808
+ * No description
809
+ *
810
+ * @tags AiTokenUsageAdmin
811
+ * @name SearchAiAccountTokenUsage
812
+ * @summary Search accounts by current-month AI token usage and classification
813
+ * @request POST:/api/ai/token-usage/search
814
+ * @secure
815
+ * @response `200` `AiAccountUsageOverviewPaginated` OK
816
+ */
817
+ 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)),
818
+ /**
819
+ * No description
820
+ *
821
+ * @tags AiTokenUsageAdmin
822
+ * @name GetAiAccountTokenUsage
823
+ * @summary Get an account's current-month AI token usage
824
+ * @request GET:/api/ai/token-usage/{accountId}
825
+ * @secure
826
+ * @response `200` `AiTokenBudgetStatus` OK
827
+ */
828
+ getAiAccountTokenUsage: (accountId, params = {}) => this.request(Object.assign({ path: `/api/ai/token-usage/${accountId}`, method: "GET", secure: true, format: "json" }, params)),
829
+ /**
830
+ * No description
831
+ *
832
+ * @tags AiTokenUsageAdmin
833
+ * @name GetAiAccountTokenUsageHistory
834
+ * @summary Get an account's monthly AI token usage history
835
+ * @request GET:/api/ai/token-usage/{accountId}/history
836
+ * @secure
837
+ * @response `200` `AiTokenUsageWindowPaginated` OK
838
+ */
839
+ getAiAccountTokenUsageHistory: (accountId, query, params = {}) => this.request(Object.assign({ path: `/api/ai/token-usage/${accountId}/history`, method: "GET", query: query, secure: true, format: "json" }, params)),
840
+ /**
841
+ * No description
842
+ *
843
+ * @tags AiTokenUsageAdmin
844
+ * @name SetAiAccountTokenLimit
845
+ * @summary Set or raise an account's monthly AI token limit
846
+ * @request PUT:/api/ai/token-usage/{accountId}/limit
847
+ * @secure
848
+ * @response `200` `AiTokenBudgetStatus` OK
849
+ * @response `400` `ProblemDetails` Bad Request
850
+ */
851
+ 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)),
852
+ /**
853
+ * No description
854
+ *
855
+ * @tags AiUrlSource
856
+ * @name GetAiUrlSources
857
+ * @summary Get all URL sources
858
+ * @request GET:/api/ai/url-sources
859
+ * @secure
860
+ * @response `200` `(AiUrlSource)[]` OK
861
+ */
862
+ getAiUrlSources: (params = {}) => this.request(Object.assign({ path: `/api/ai/url-sources`, method: "GET", secure: true, format: "json" }, params)),
863
+ /**
864
+ * No description
865
+ *
866
+ * @tags AiUrlSource
867
+ * @name CreateAiUrlSource
868
+ * @summary Create URL source
869
+ * @request POST:/api/ai/url-sources
870
+ * @secure
871
+ * @response `201` `AiUrlSource` Created
872
+ * @response `400` `ProblemDetails` Bad Request
873
+ * @response `409` `ProblemDetails` Conflict
874
+ */
875
+ createAiUrlSource: (data, params = {}) => this.request(Object.assign({ path: `/api/ai/url-sources`, method: "POST", body: data, secure: true, type: "application/json", format: "json" }, params)),
876
+ /**
877
+ * No description
878
+ *
879
+ * @tags AiUrlSource
880
+ * @name GetAiUrlSource
881
+ * @summary Get URL source by ID
882
+ * @request GET:/api/ai/url-sources/{id}
883
+ * @secure
884
+ * @response `200` `AiUrlSource` OK
885
+ * @response `404` `ProblemDetails` Not Found
886
+ */
887
+ getAiUrlSource: (id, params = {}) => this.request(Object.assign({ path: `/api/ai/url-sources/${id}`, method: "GET", secure: true, format: "json" }, params)),
888
+ /**
889
+ * No description
890
+ *
891
+ * @tags AiUrlSource
892
+ * @name UpdateAiUrlSource
893
+ * @summary Update URL source
894
+ * @request PUT:/api/ai/url-sources/{id}
895
+ * @secure
896
+ * @response `200` `AiUrlSource` OK
897
+ * @response `400` `ProblemDetails` Bad Request
898
+ * @response `404` `ProblemDetails` Not Found
899
+ * @response `409` `ProblemDetails` Conflict
900
+ */
901
+ 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)),
902
+ /**
903
+ * No description
904
+ *
905
+ * @tags AiUrlSource
906
+ * @name DeleteAiUrlSource
907
+ * @summary Delete URL source
908
+ * @request DELETE:/api/ai/url-sources/{id}
909
+ * @secure
910
+ * @response `204` `void` No Content
911
+ * @response `404` `ProblemDetails` Not Found
912
+ */
913
+ deleteAiUrlSource: (id, params = {}) => this.request(Object.assign({ path: `/api/ai/url-sources/${id}`, method: "DELETE", secure: true }, params)),
914
+ /**
915
+ * No description
916
+ *
917
+ * @tags AiUrlSource
918
+ * @name ToggleAiUrlSource
919
+ * @summary Toggle URL source active/inactive
920
+ * @request PATCH:/api/ai/url-sources/{id}/toggle
921
+ * @secure
922
+ * @response `200` `AiUrlSource` OK
923
+ * @response `404` `ProblemDetails` Not Found
924
+ */
925
+ toggleAiUrlSource: (id, params = {}) => this.request(Object.assign({ path: `/api/ai/url-sources/${id}/toggle`, method: "PATCH", secure: true, format: "json" }, params)),
926
+ /**
927
+ * No description
928
+ *
929
+ * @tags AiUsage
930
+ * @name GetAiUsage
931
+ * @summary Get the current account's AI token usage for the active monthly window
932
+ * @request GET:/api/ai/usage
933
+ * @secure
934
+ * @response `200` `AiTokenBudgetStatus` OK
935
+ */
936
+ getAiUsage: (params = {}) => this.request(Object.assign({ path: `/api/ai/usage`, method: "GET", secure: true, format: "json" }, params)),
937
+ /**
938
+ * No description
939
+ *
940
+ * @tags AiUsage
941
+ * @name GetAiUsageHistory
942
+ * @summary Get the current account's monthly AI token usage history
943
+ * @request GET:/api/ai/usage/history
944
+ * @secure
945
+ * @response `200` `AiTokenUsageWindowPaginated` OK
946
+ */
947
+ getAiUsageHistory: (query, params = {}) => this.request(Object.assign({ path: `/api/ai/usage/history`, method: "GET", query: query, secure: true, format: "json" }, params)),
948
+ /**
949
+ * No description
950
+ *
951
+ * @tags AuditLog
952
+ * @name SearchAuditLogs
953
+ * @summary Search
954
+ * @request POST:/api/audit-logs/search
955
+ * @secure
956
+ * @response `200` `AuditLogEntryPaginated` OK
957
+ */
958
+ 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)),
959
+ /**
960
+ * No description
961
+ *
962
+ * @tags AuditLog
963
+ * @name GetAuditLogEntityTypes
964
+ * @summary Get entity types
965
+ * @request GET:/api/audit-logs/entity-types
966
+ * @secure
967
+ * @response `200` `(AuditEntityType)[]` OK
968
+ */
969
+ getAuditLogEntityTypes: (params = {}) => this.request(Object.assign({ path: `/api/audit-logs/entity-types`, method: "GET", secure: true, format: "json" }, params)),
970
+ /**
971
+ * No description
972
+ *
973
+ * @tags AuditLog
974
+ * @name GetAuditLogById
975
+ * @summary Get by ID
976
+ * @request GET:/api/audit-logs/{id}
977
+ * @secure
978
+ * @response `200` `AuditLogEntry` OK
979
+ * @response `404` `ProblemDetails` Not Found
191
980
  */
192
- getAccounts: (params = {}) => this.request(Object.assign({ path: `/api/accounts`, method: "GET", secure: true, format: "json" }, params)),
981
+ getAuditLogById: (id, params = {}) => this.request(Object.assign({ path: `/api/audit-logs/${id}`, method: "GET", secure: true, format: "json" }, params)),
193
982
  /**
194
983
  * No description
195
984
  *
196
- * @tags Accounts
197
- * @name CreateAccount
198
- * @summary Create
199
- * @request POST:/api/accounts
985
+ * @tags Auth
986
+ * @name AuthForgotPassword
987
+ * @summary Forgot Password (branded)
988
+ * @request POST:/api/auth/forgot-password
200
989
  * @secure
201
- * @response `201` `Account` Created
202
- * @response `422` `ProblemDetails` Client Error
990
+ * @response `204` `void` No Content
991
+ * @response `422` `UnprocessableEntity` Unprocessable Content
203
992
  */
204
- createAccount: (data, params = {}) => this.request(Object.assign({ path: `/api/accounts`, method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
993
+ authForgotPassword: (data, params = {}) => this.request(Object.assign({ path: `/api/auth/forgot-password`, method: "POST", body: data, secure: true, type: "application/json" }, params)),
205
994
  /**
206
995
  * No description
207
996
  *
208
- * @tags Accounts
209
- * @name GetAccount
210
- * @summary Get by ID
211
- * @request GET:/api/accounts/{id}
997
+ * @tags Auth
998
+ * @name AuthResetPassword
999
+ * @summary Reset Password (branded)
1000
+ * @request POST:/api/auth/reset-password
212
1001
  * @secure
213
- * @response `201` `Account` Created
214
- * @response `422` `ProblemDetails` Client Error
1002
+ * @response `204` `void` No Content
1003
+ * @response `422` `UnprocessableEntity` Unprocessable Content
215
1004
  */
216
- getAccount: (id, params = {}) => this.request(Object.assign({ path: `/api/accounts/${id}`, method: "GET", secure: true, format: "json" }, params)),
1005
+ authResetPassword: (data, params = {}) => this.request(Object.assign({ path: `/api/auth/reset-password`, method: "POST", body: data, secure: true, type: "application/json" }, params)),
217
1006
  /**
218
1007
  * No description
219
1008
  *
220
- * @tags Accounts
221
- * @name DeleteAccount
222
- * @summary Delete
223
- * @request DELETE:/api/accounts/{id}
1009
+ * @tags Auth
1010
+ * @name AuthSetPassword
1011
+ * @summary Set Password (branded account setup)
1012
+ * @request POST:/api/auth/set-password
224
1013
  * @secure
225
- * @response `204` `Account` No Content
226
- * @response `404` `ProblemDetails` Not Found
227
- * @response `422` `ProblemDetails` Client Error
1014
+ * @response `204` `void` No Content
1015
+ * @response `422` `UnprocessableEntity` Unprocessable Content
228
1016
  */
229
- deleteAccount: (id, query, params = {}) => this.request(Object.assign({ path: `/api/accounts/${id}`, method: "DELETE", query: query, secure: true, format: "json" }, params)),
1017
+ authSetPassword: (data, params = {}) => this.request(Object.assign({ path: `/api/auth/set-password`, method: "POST", body: data, secure: true, type: "application/json" }, params)),
230
1018
  /**
231
1019
  * No description
232
1020
  *
233
- * @tags Accounts
234
- * @name UpdateAccountBilling
235
- * @summary Update billing configuration
236
- * @request PUT:/api/accounts/{id}/billing
1021
+ * @tags Auth
1022
+ * @name AuthSendVerificationEmail
1023
+ * @summary Send branded email-verification link to the current user
1024
+ * @request POST:/api/auth/send-verification-email
237
1025
  * @secure
238
- * @response `200` `AccountBilling` Success
239
- * @response `404` `ProblemDetails` Not Found
240
- * @response `422` `ProblemDetails` Client Error
1026
+ * @response `204` `void` No Content
1027
+ */
1028
+ authSendVerificationEmail: (params = {}) => this.request(Object.assign({ path: `/api/auth/send-verification-email`, method: "POST", secure: true }, params)),
1029
+ /**
1030
+ * No description
1031
+ *
1032
+ * @tags Auth
1033
+ * @name AuthVerifyEmail
1034
+ * @summary Verify Email (branded)
1035
+ * @request POST:/api/auth/verify-email
1036
+ * @secure
1037
+ * @response `204` `void` No Content
1038
+ * @response `422` `UnprocessableEntity` Unprocessable Content
241
1039
  */
242
- updateAccountBilling: (id, data, params = {}) => this.request(Object.assign({ path: `/api/accounts/${id}/billing`, method: "PUT", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
1040
+ authVerifyEmail: (data, params = {}) => this.request(Object.assign({ path: `/api/auth/verify-email`, method: "POST", body: data, secure: true, type: "application/json" }, params)),
243
1041
  /**
244
1042
  * No description
245
1043
  *
@@ -248,11 +1046,11 @@ export class Api extends HttpClient {
248
1046
  * @summary Generate Token From Refresh Token
249
1047
  * @request POST:/api/refresh-token
250
1048
  * @secure
251
- * @response `200` `Token` Success
1049
+ * @response `200` `Token` OK
252
1050
  * @response `401` `ProblemDetails` Unauthorized
253
- * @response `422` `UnprocessableEntity` Client Error
1051
+ * @response `422` `UnprocessableEntity` Unprocessable Content
254
1052
  */
255
- getTokenFromRefreshToken: (data, params = {}) => this.request(Object.assign({ path: `/api/refresh-token`, method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
1053
+ getTokenFromRefreshToken: (data, params = {}) => this.request(Object.assign({ path: `/api/refresh-token`, method: "POST", body: data, secure: true, type: "application/json", format: "json" }, params)),
256
1054
  /**
257
1055
  * No description
258
1056
  *
@@ -261,10 +1059,10 @@ export class Api extends HttpClient {
261
1059
  * @summary Get Token
262
1060
  * @request POST:/api/token
263
1061
  * @secure
264
- * @response `200` `Token` Success
265
- * @response `422` `UnprocessableEntity` Client Error
1062
+ * @response `200` `AccountDeactivated` OK
1063
+ * @response `422` `UnprocessableEntity` Unprocessable Content
266
1064
  */
267
- getToken: (data, params = {}) => this.request(Object.assign({ path: `/api/token`, method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
1065
+ getToken: (data, params = {}) => this.request(Object.assign({ path: `/api/token`, method: "POST", body: data, secure: true, type: "application/json", format: "json" }, params)),
268
1066
  /**
269
1067
  * No description
270
1068
  *
@@ -273,10 +1071,10 @@ export class Api extends HttpClient {
273
1071
  * @summary Get Token From Challenge Code
274
1072
  * @request POST:/api/token/code
275
1073
  * @secure
276
- * @response `200` `Token` Success
277
- * @response `422` `UnprocessableEntity` Client Error
1074
+ * @response `200` `AccountDeactivated` OK
1075
+ * @response `422` `UnprocessableEntity` Unprocessable Content
278
1076
  */
279
- getTokenFromChallengeCode: (data, params = {}) => this.request(Object.assign({ path: `/api/token/code`, method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
1077
+ getTokenFromChallengeCode: (data, params = {}) => this.request(Object.assign({ path: `/api/token/code`, method: "POST", body: data, secure: true, type: "application/json", format: "json" }, params)),
280
1078
  /**
281
1079
  * No description
282
1080
  *
@@ -285,10 +1083,10 @@ export class Api extends HttpClient {
285
1083
  * @summary Get System Token
286
1084
  * @request POST:/api/oauth2/token
287
1085
  * @secure
288
- * @response `200` `Token` Success
289
- * @response `422` `UnprocessableEntity` Client Error
1086
+ * @response `200` `Token` OK
1087
+ * @response `422` `UnprocessableEntity` Unprocessable Content
290
1088
  */
291
- getSystemToken: (data, params = {}) => this.request(Object.assign({ path: `/api/oauth2/token`, method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
1089
+ getSystemToken: (data, params = {}) => this.request(Object.assign({ path: `/api/oauth2/token`, method: "POST", body: data, secure: true, type: "application/json", format: "json" }, params)),
292
1090
  /**
293
1091
  * No description
294
1092
  *
@@ -297,10 +1095,10 @@ export class Api extends HttpClient {
297
1095
  * @summary Get SSO Guid Token
298
1096
  * @request POST:/api/token/sso
299
1097
  * @secure
300
- * @response `200` `SSOToken` Success
301
- * @response `422` `UnprocessableEntity` Client Error
1098
+ * @response `200` `SSOToken` OK
1099
+ * @response `422` `UnprocessableEntity` Unprocessable Content
302
1100
  */
303
- getSsoToken: (data, params = {}) => this.request(Object.assign({ path: `/api/token/sso`, method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
1101
+ getSsoToken: (data, params = {}) => this.request(Object.assign({ path: `/api/token/sso`, method: "POST", body: data, secure: true, type: "application/json", format: "json" }, params)),
304
1102
  /**
305
1103
  * No description
306
1104
  *
@@ -310,7 +1108,7 @@ export class Api extends HttpClient {
310
1108
  * @request POST:/api/logout
311
1109
  * @secure
312
1110
  * @response `204` `NoContentResult` No Content
313
- * @response `422` `UnprocessableEntity` Client Error
1111
+ * @response `422` `UnprocessableEntity` Unprocessable Content
314
1112
  */
315
1113
  logOut: (params = {}) => this.request(Object.assign({ path: `/api/logout`, method: "POST", secure: true, format: "json" }, params)),
316
1114
  /**
@@ -321,7 +1119,7 @@ export class Api extends HttpClient {
321
1119
  * @summary Get All
322
1120
  * @request GET:/api/branches
323
1121
  * @secure
324
- * @response `200` `GetBranchPaginated` Success
1122
+ * @response `200` `GetBranchPaginated` OK
325
1123
  */
326
1124
  getBranches: (query, params = {}) => this.request(Object.assign({ path: `/api/branches`, method: "GET", query: query, secure: true, format: "json" }, params)),
327
1125
  /**
@@ -332,10 +1130,10 @@ export class Api extends HttpClient {
332
1130
  * @summary Create
333
1131
  * @request POST:/api/branches
334
1132
  * @secure
335
- * @response `200` `GetBranch` Success
336
- * @response `422` `UnprocessableEntity` Client Error
1133
+ * @response `200` `GetBranch` OK
1134
+ * @response `422` `UnprocessableEntity` Unprocessable Content
337
1135
  */
338
- createBranch: (data, params = {}) => this.request(Object.assign({ path: `/api/branches`, method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
1136
+ createBranch: (data, params = {}) => this.request(Object.assign({ path: `/api/branches`, method: "POST", body: data, secure: true, type: "application/json", format: "json" }, params)),
339
1137
  /**
340
1138
  * No description
341
1139
  *
@@ -344,9 +1142,9 @@ export class Api extends HttpClient {
344
1142
  * @summary Search
345
1143
  * @request POST:/api/branches/search
346
1144
  * @secure
347
- * @response `200` `GetBranchPaginated` Success
1145
+ * @response `200` `GetBranchPaginated` OK
348
1146
  */
349
- searchBranches: (data, query, params = {}) => this.request(Object.assign({ path: `/api/branches/search`, method: "POST", query: query, body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
1147
+ 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)),
350
1148
  /**
351
1149
  * No description
352
1150
  *
@@ -355,7 +1153,7 @@ export class Api extends HttpClient {
355
1153
  * @summary Get by ID
356
1154
  * @request GET:/api/branches/{branchId}
357
1155
  * @secure
358
- * @response `200` `GetBranch` Success
1156
+ * @response `200` `GetBranch` OK
359
1157
  */
360
1158
  getBranch: (branchId, params = {}) => this.request(Object.assign({ path: `/api/branches/${branchId}`, method: "GET", secure: true, format: "json" }, params)),
361
1159
  /**
@@ -366,10 +1164,10 @@ export class Api extends HttpClient {
366
1164
  * @summary Replace
367
1165
  * @request PUT:/api/branches/{branchId}
368
1166
  * @secure
369
- * @response `200` `GetBranch` Success
370
- * @response `422` `UnprocessableEntity` Client Error
1167
+ * @response `200` `GetBranch` OK
1168
+ * @response `422` `UnprocessableEntity` Unprocessable Content
371
1169
  */
372
- replaceBranch: (branchId, data, params = {}) => this.request(Object.assign({ path: `/api/branches/${branchId}`, method: "PUT", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
1170
+ replaceBranch: (branchId, data, params = {}) => this.request(Object.assign({ path: `/api/branches/${branchId}`, method: "PUT", body: data, secure: true, type: "application/json", format: "json" }, params)),
373
1171
  /**
374
1172
  * No description
375
1173
  *
@@ -401,10 +1199,10 @@ export class Api extends HttpClient {
401
1199
  * @summary Create Branch Site Configuration
402
1200
  * @request POST:/api/branches/{branchId}/site-configurations
403
1201
  * @secure
404
- * @response `200` `SiteConfiguration` Success
405
- * @response `422` `UnprocessableEntity` Client Error
1202
+ * @response `200` `SiteConfiguration` OK
1203
+ * @response `422` `UnprocessableEntity` Unprocessable Content
406
1204
  */
407
- createBranchSiteConfiguration: (branchId, data, params = {}) => this.request(Object.assign({ path: `/api/branches/${branchId}/site-configurations`, method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
1205
+ 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)),
408
1206
  /**
409
1207
  * No description
410
1208
  *
@@ -413,7 +1211,7 @@ export class Api extends HttpClient {
413
1211
  * @summary Get Branch Site Configuration
414
1212
  * @request GET:/api/branches/{branchId}/site-configurations/{siteConfigurationId}
415
1213
  * @secure
416
- * @response `200` `SiteConfigurationWithInherited` Success
1214
+ * @response `200` `SiteConfigurationWithInherited` OK
417
1215
  */
418
1216
  getBranchSiteConfiguration: (branchId, siteConfigurationId, params = {}) => this.request(Object.assign({ path: `/api/branches/${branchId}/site-configurations/${siteConfigurationId}`, method: "GET", secure: true, format: "json" }, params)),
419
1217
  /**
@@ -424,10 +1222,10 @@ export class Api extends HttpClient {
424
1222
  * @summary Replace Branch Site Configuration
425
1223
  * @request PUT:/api/branches/{branchId}/site-configurations/{siteConfigurationId}
426
1224
  * @secure
427
- * @response `200` `SiteConfiguration` Success
428
- * @response `422` `UnprocessableEntity` Client Error
1225
+ * @response `200` `SiteConfiguration` OK
1226
+ * @response `422` `UnprocessableEntity` Unprocessable Content
429
1227
  */
430
- replaceBranchSiteConfiguration: (branchId, siteConfigurationId, data, query, params = {}) => this.request(Object.assign({ path: `/api/branches/${branchId}/site-configurations/${siteConfigurationId}`, method: "PUT", query: query, body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
1228
+ 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)),
431
1229
  /**
432
1230
  * No description
433
1231
  *
@@ -436,7 +1234,7 @@ export class Api extends HttpClient {
436
1234
  * @summary Get Branch Loan Officers
437
1235
  * @request GET:/api/branches/{branchId}/loan-officers
438
1236
  * @secure
439
- * @response `200` `LoanOfficerPublic` Success
1237
+ * @response `200` `(LoanOfficerPublic)[]` OK
440
1238
  */
441
1239
  getLoanOfficersByBranch: (branchId, params = {}) => this.request(Object.assign({ path: `/api/branches/${branchId}/loan-officers`, method: "GET", secure: true, format: "json" }, params)),
442
1240
  /**
@@ -447,7 +1245,7 @@ export class Api extends HttpClient {
447
1245
  * @summary Get All
448
1246
  * @request GET:/api/business-rules
449
1247
  * @secure
450
- * @response `200` `(BusinessRule)[]` Success
1248
+ * @response `200` `(BusinessRule)[]` OK
451
1249
  */
452
1250
  getBusinessRules: (query, params = {}) => this.request(Object.assign({ path: `/api/business-rules`, method: "GET", query: query, secure: true, format: "json" }, params)),
453
1251
  /**
@@ -458,10 +1256,10 @@ export class Api extends HttpClient {
458
1256
  * @summary Create
459
1257
  * @request POST:/api/business-rules
460
1258
  * @secure
461
- * @response `200` `BusinessRule` Success
462
- * @response `422` `UnprocessableEntity` Client Error
1259
+ * @response `200` `BusinessRule` OK
1260
+ * @response `422` `UnprocessableEntity` Unprocessable Content
463
1261
  */
464
- createBusinessRule: (data, params = {}) => this.request(Object.assign({ path: `/api/business-rules`, method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
1262
+ createBusinessRule: (data, params = {}) => this.request(Object.assign({ path: `/api/business-rules`, method: "POST", body: data, secure: true, type: "application/json", format: "json" }, params)),
465
1263
  /**
466
1264
  * No description
467
1265
  *
@@ -470,7 +1268,7 @@ export class Api extends HttpClient {
470
1268
  * @summary Get by ID
471
1269
  * @request GET:/api/business-rules/{id}
472
1270
  * @secure
473
- * @response `200` `BusinessRule` Success
1271
+ * @response `200` `BusinessRule` OK
474
1272
  */
475
1273
  getBusinessRule: (id, params = {}) => this.request(Object.assign({ path: `/api/business-rules/${id}`, method: "GET", secure: true, format: "json" }, params)),
476
1274
  /**
@@ -481,10 +1279,10 @@ export class Api extends HttpClient {
481
1279
  * @summary Replace
482
1280
  * @request PUT:/api/business-rules/{id}
483
1281
  * @secure
484
- * @response `200` `BusinessRule` Success
485
- * @response `422` `UnprocessableEntity` Client Error
1282
+ * @response `200` `BusinessRule` OK
1283
+ * @response `422` `UnprocessableEntity` Unprocessable Content
486
1284
  */
487
- replaceBusinessRule: (id, data, params = {}) => this.request(Object.assign({ path: `/api/business-rules/${id}`, method: "PUT", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
1285
+ 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)),
488
1286
  /**
489
1287
  * No description
490
1288
  *
@@ -504,7 +1302,7 @@ export class Api extends HttpClient {
504
1302
  * @summary Restore
505
1303
  * @request POST:/api/business-rules/{id}/restore
506
1304
  * @secure
507
- * @response `200` `BusinessRule` Success
1305
+ * @response `200` `BusinessRule` OK
508
1306
  */
509
1307
  restoreBusinessRule: (id, params = {}) => this.request(Object.assign({ path: `/api/business-rules/${id}/restore`, method: "POST", secure: true, format: "json" }, params)),
510
1308
  /**
@@ -515,9 +1313,31 @@ export class Api extends HttpClient {
515
1313
  * @summary Get Closed Loans Report
516
1314
  * @request POST:/api/loans/reports/closed-loans
517
1315
  * @secure
518
- * @response `200` `ClosedLoansReport` Success
1316
+ * @response `200` `ClosedLoansReport` OK
1317
+ */
1318
+ 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)),
1319
+ /**
1320
+ * No description
1321
+ *
1322
+ * @tags ConsumerConnect
1323
+ * @name GetConsumerConnectStatus
1324
+ * @summary Get Consumer Connect association status for all borrowers on a loan
1325
+ * @request GET:/api/loans/{loanId}/consumer-connect/status
1326
+ * @secure
1327
+ * @response `200` `(ConsumerConnectStatus)[]` OK
1328
+ */
1329
+ getConsumerConnectStatus: (loanId, params = {}) => this.request(Object.assign({ path: `/api/loans/${loanId}/consumer-connect/status`, method: "GET", secure: true, format: "json" }, params)),
1330
+ /**
1331
+ * No description
1332
+ *
1333
+ * @tags ConsumerConnect
1334
+ * @name RetryConsumerConnectAssociation
1335
+ * @summary Manually retry Consumer Connect association for failed borrowers on a loan. Set force=true to also re-run borrowers already marked Success. Returns per-borrower results; check individual Success fields for partial failures.
1336
+ * @request POST:/api/loans/{loanId}/consumer-connect/retry
1337
+ * @secure
1338
+ * @response `200` `(ConsumerConnectRetry)[]` OK
519
1339
  */
520
- getClosedLoansReport: (data, params = {}) => this.request(Object.assign({ path: `/api/loans/reports/closed-loans`, method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
1340
+ retryConsumerConnectAssociation: (loanId, query, params = {}) => this.request(Object.assign({ path: `/api/loans/${loanId}/consumer-connect/retry`, method: "POST", query: query, secure: true, format: "json" }, params)),
521
1341
  /**
522
1342
  * No description
523
1343
  *
@@ -526,7 +1346,7 @@ export class Api extends HttpClient {
526
1346
  * @summary Get All
527
1347
  * @request GET:/api/corporates
528
1348
  * @secure
529
- * @response `200` `CorporatePaginated` Success
1349
+ * @response `200` `CorporatePaginated` OK
530
1350
  */
531
1351
  getCorporates: (query, params = {}) => this.request(Object.assign({ path: `/api/corporates`, method: "GET", query: query, secure: true, format: "json" }, params)),
532
1352
  /**
@@ -537,10 +1357,10 @@ export class Api extends HttpClient {
537
1357
  * @summary Create
538
1358
  * @request POST:/api/corporates
539
1359
  * @secure
540
- * @response `200` `Corporate` Success
541
- * @response `422` `UnprocessableEntity` Client Error
1360
+ * @response `200` `Corporate` OK
1361
+ * @response `422` `UnprocessableEntity` Unprocessable Content
542
1362
  */
543
- createCorporate: (data, params = {}) => this.request(Object.assign({ path: `/api/corporates`, method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
1363
+ createCorporate: (data, params = {}) => this.request(Object.assign({ path: `/api/corporates`, method: "POST", body: data, secure: true, type: "application/json", format: "json" }, params)),
544
1364
  /**
545
1365
  * No description
546
1366
  *
@@ -549,9 +1369,9 @@ export class Api extends HttpClient {
549
1369
  * @summary Search
550
1370
  * @request POST:/api/corporates/search
551
1371
  * @secure
552
- * @response `200` `CorporatePaginated` Success
1372
+ * @response `200` `CorporatePaginated` OK
553
1373
  */
554
- searchCorporate: (data, query, params = {}) => this.request(Object.assign({ path: `/api/corporates/search`, method: "POST", query: query, body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
1374
+ 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)),
555
1375
  /**
556
1376
  * No description
557
1377
  *
@@ -560,7 +1380,7 @@ export class Api extends HttpClient {
560
1380
  * @summary Get by ID
561
1381
  * @request GET:/api/corporates/{id}
562
1382
  * @secure
563
- * @response `200` `Corporate` Success
1383
+ * @response `200` `Corporate` OK
564
1384
  */
565
1385
  getCorporate: (id, params = {}) => this.request(Object.assign({ path: `/api/corporates/${id}`, method: "GET", secure: true, format: "json" }, params)),
566
1386
  /**
@@ -571,10 +1391,10 @@ export class Api extends HttpClient {
571
1391
  * @summary Replace
572
1392
  * @request PUT:/api/corporates/{id}
573
1393
  * @secure
574
- * @response `200` `Corporate` Success
575
- * @response `422` `UnprocessableEntity` Client Error
1394
+ * @response `200` `Corporate` OK
1395
+ * @response `422` `UnprocessableEntity` Unprocessable Content
576
1396
  */
577
- replaceCorporate: (id, data, params = {}) => this.request(Object.assign({ path: `/api/corporates/${id}`, method: "PUT", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
1397
+ replaceCorporate: (id, data, params = {}) => this.request(Object.assign({ path: `/api/corporates/${id}`, method: "PUT", body: data, secure: true, type: "application/json", format: "json" }, params)),
578
1398
  /**
579
1399
  * No description
580
1400
  *
@@ -605,10 +1425,10 @@ export class Api extends HttpClient {
605
1425
  * @summary Create Site Configuration
606
1426
  * @request POST:/api/corporates/{corporateId}/site-configurations
607
1427
  * @secure
608
- * @response `200` `SiteConfiguration` Success
609
- * @response `422` `UnprocessableEntity` Client Error
1428
+ * @response `200` `SiteConfiguration` OK
1429
+ * @response `422` `UnprocessableEntity` Unprocessable Content
610
1430
  */
611
- createCorporateSiteConfiguration: (corporateId, data, params = {}) => this.request(Object.assign({ path: `/api/corporates/${corporateId}/site-configurations`, method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
1431
+ 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)),
612
1432
  /**
613
1433
  * No description
614
1434
  *
@@ -617,7 +1437,7 @@ export class Api extends HttpClient {
617
1437
  * @summary Get Site Configuration
618
1438
  * @request GET:/api/corporates/{corporateId}/site-configurations/{siteConfigurationId}
619
1439
  * @secure
620
- * @response `200` `SiteConfigurationWithInherited` Success
1440
+ * @response `200` `SiteConfigurationWithInherited` OK
621
1441
  */
622
1442
  getCorporateSiteConfiguration: (corporateId, siteConfigurationId, params = {}) => this.request(Object.assign({ path: `/api/corporates/${corporateId}/site-configurations/${siteConfigurationId}`, method: "GET", secure: true, format: "json" }, params)),
623
1443
  /**
@@ -628,10 +1448,10 @@ export class Api extends HttpClient {
628
1448
  * @summary Replace Site Configuration
629
1449
  * @request PUT:/api/corporates/{corporateId}/site-configurations/{siteConfigurationId}
630
1450
  * @secure
631
- * @response `200` `SiteConfiguration` Success
632
- * @response `422` `UnprocessableEntity` Client Error
1451
+ * @response `200` `SiteConfiguration` OK
1452
+ * @response `422` `UnprocessableEntity` Unprocessable Content
633
1453
  */
634
- replaceCorporateSiteConfiguration: (corporateId, siteConfigurationId, data, query, params = {}) => this.request(Object.assign({ path: `/api/corporates/${corporateId}/site-configurations/${siteConfigurationId}`, method: "PUT", query: query, body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
1454
+ 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)),
635
1455
  /**
636
1456
  * No description
637
1457
  *
@@ -640,7 +1460,7 @@ export class Api extends HttpClient {
640
1460
  * @summary Get Branches
641
1461
  * @request GET:/api/corporates/{id}/branches
642
1462
  * @secure
643
- * @response `200` `(BranchReduced)[]` Success
1463
+ * @response `200` `(BranchReduced)[]` OK
644
1464
  */
645
1465
  getBranchesByCorporate: (id, params = {}) => this.request(Object.assign({ path: `/api/corporates/${id}/branches`, method: "GET", secure: true, format: "json" }, params)),
646
1466
  /**
@@ -651,9 +1471,97 @@ export class Api extends HttpClient {
651
1471
  * @summary Get Loan Officers
652
1472
  * @request GET:/api/corporates/{id}/loan-officers
653
1473
  * @secure
654
- * @response `200` `LoanOfficerPublic` Success
1474
+ * @response `200` `(LoanOfficerPublic)[]` OK
655
1475
  */
656
1476
  getLoanOfficersByCorporate: (id, params = {}) => this.request(Object.assign({ path: `/api/corporates/${id}/loan-officers`, method: "GET", secure: true, format: "json" }, params)),
1477
+ /**
1478
+ * No description
1479
+ *
1480
+ * @tags CustomFieldDefinitions
1481
+ * @name GetCustomFieldDefinitions
1482
+ * @summary Get all custom field definitions by entity type
1483
+ * @request GET:/api/custom-field-definitions
1484
+ * @secure
1485
+ * @response `200` `(CustomFieldDefinition)[]` OK
1486
+ */
1487
+ getCustomFieldDefinitions: (query, params = {}) => this.request(Object.assign({ path: `/api/custom-field-definitions`, method: "GET", query: query, secure: true, format: "json" }, params)),
1488
+ /**
1489
+ * No description
1490
+ *
1491
+ * @tags CustomFieldDefinitions
1492
+ * @name CreateCustomFieldDefinition
1493
+ * @summary Create a custom field definition
1494
+ * @request POST:/api/custom-field-definitions
1495
+ * @secure
1496
+ * @response `201` `CustomFieldDefinition` Created
1497
+ * @response `409` `ProblemDetails` Conflict
1498
+ * @response `422` `ProblemDetails` Unprocessable Content
1499
+ */
1500
+ createCustomFieldDefinition: (data, params = {}) => this.request(Object.assign({ path: `/api/custom-field-definitions`, method: "POST", body: data, secure: true, type: "application/json", format: "json" }, params)),
1501
+ /**
1502
+ * No description
1503
+ *
1504
+ * @tags CustomFieldDefinitions
1505
+ * @name GetCustomFieldDefinitionById
1506
+ * @summary Get a custom field definition by ID
1507
+ * @request GET:/api/custom-field-definitions/{id}
1508
+ * @secure
1509
+ * @response `200` `CustomFieldDefinition` OK
1510
+ * @response `404` `ProblemDetails` Not Found
1511
+ */
1512
+ getCustomFieldDefinitionById: (id, params = {}) => this.request(Object.assign({ path: `/api/custom-field-definitions/${id}`, method: "GET", secure: true, format: "json" }, params)),
1513
+ /**
1514
+ * No description
1515
+ *
1516
+ * @tags CustomFieldDefinitions
1517
+ * @name UpdateCustomFieldDefinition
1518
+ * @summary Update a custom field definition
1519
+ * @request PUT:/api/custom-field-definitions/{id}
1520
+ * @secure
1521
+ * @response `200` `CustomFieldDefinition` OK
1522
+ * @response `400` `ProblemDetails` Bad Request
1523
+ * @response `404` `ProblemDetails` Not Found
1524
+ * @response `409` `ProblemDetails` Conflict
1525
+ * @response `422` `ProblemDetails` Unprocessable Content
1526
+ */
1527
+ 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)),
1528
+ /**
1529
+ * No description
1530
+ *
1531
+ * @tags CustomFieldDefinitions
1532
+ * @name DeleteCustomFieldDefinition
1533
+ * @summary Delete a custom field definition
1534
+ * @request DELETE:/api/custom-field-definitions/{id}
1535
+ * @secure
1536
+ * @response `204` `void` No Content
1537
+ * @response `404` `ProblemDetails` Not Found
1538
+ * @response `409` `ProblemDetails` Conflict
1539
+ */
1540
+ deleteCustomFieldDefinition: (id, params = {}) => this.request(Object.assign({ path: `/api/custom-field-definitions/${id}`, method: "DELETE", secure: true }, params)),
1541
+ /**
1542
+ * No description
1543
+ *
1544
+ * @tags CustomFieldDefinitions
1545
+ * @name DisableCustomFieldDefinition
1546
+ * @summary Disable a custom field definition
1547
+ * @request POST:/api/custom-field-definitions/{id}/disable
1548
+ * @secure
1549
+ * @response `204` `void` No Content
1550
+ * @response `404` `ProblemDetails` Not Found
1551
+ */
1552
+ disableCustomFieldDefinition: (id, params = {}) => this.request(Object.assign({ path: `/api/custom-field-definitions/${id}/disable`, method: "POST", secure: true }, params)),
1553
+ /**
1554
+ * No description
1555
+ *
1556
+ * @tags CustomFieldDefinitions
1557
+ * @name EnableCustomFieldDefinition
1558
+ * @summary Enable a custom field definition
1559
+ * @request POST:/api/custom-field-definitions/{id}/enable
1560
+ * @secure
1561
+ * @response `204` `void` No Content
1562
+ * @response `404` `ProblemDetails` Not Found
1563
+ */
1564
+ enableCustomFieldDefinition: (id, params = {}) => this.request(Object.assign({ path: `/api/custom-field-definitions/${id}/enable`, method: "POST", secure: true }, params)),
657
1565
  /**
658
1566
  * No description
659
1567
  *
@@ -662,7 +1570,7 @@ export class Api extends HttpClient {
662
1570
  * @summary Get All
663
1571
  * @request GET:/api/devices
664
1572
  * @secure
665
- * @response `200` `DevicePaginated` Success
1573
+ * @response `200` `DevicePaginated` OK
666
1574
  */
667
1575
  getDevices: (query, params = {}) => this.request(Object.assign({ path: `/api/devices`, method: "GET", query: query, secure: true, format: "json" }, params)),
668
1576
  /**
@@ -673,7 +1581,7 @@ export class Api extends HttpClient {
673
1581
  * @summary Get by ID
674
1582
  * @request GET:/api/devices/{id}
675
1583
  * @secure
676
- * @response `200` `Device` Success
1584
+ * @response `200` `Device` OK
677
1585
  */
678
1586
  getDevice: (id, params = {}) => this.request(Object.assign({ path: `/api/devices/${id}`, method: "GET", secure: true, format: "json" }, params)),
679
1587
  /**
@@ -684,9 +1592,9 @@ export class Api extends HttpClient {
684
1592
  * @summary Update
685
1593
  * @request PUT:/api/devices/{id}
686
1594
  * @secure
687
- * @response `200` `Device` Success
1595
+ * @response `200` `Device` OK
688
1596
  */
689
- updateDevice: (id, data, params = {}) => this.request(Object.assign({ path: `/api/devices/${id}`, method: "PUT", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
1597
+ updateDevice: (id, data, params = {}) => this.request(Object.assign({ path: `/api/devices/${id}`, method: "PUT", body: data, secure: true, type: "application/json", format: "json" }, params)),
690
1598
  /**
691
1599
  * No description
692
1600
  *
@@ -695,7 +1603,7 @@ export class Api extends HttpClient {
695
1603
  * @summary Get by Serial Number
696
1604
  * @request GET:/api/devices/{sn}/profile
697
1605
  * @secure
698
- * @response `200` `DeviceMDM` Success
1606
+ * @response `200` `DeviceMDM` OK
699
1607
  */
700
1608
  getDeviceBySerialNumber: (sn, params = {}) => this.request(Object.assign({ path: `/api/devices/${sn}/profile`, method: "GET", secure: true, format: "json" }, params)),
701
1609
  /**
@@ -706,7 +1614,7 @@ export class Api extends HttpClient {
706
1614
  * @summary Create Action by Serial Number
707
1615
  * @request POST:/api/devices/{sn}/actions/{actionName}
708
1616
  * @secure
709
- * @response `200` `Action` Success
1617
+ * @response `200` `Action` OK
710
1618
  */
711
1619
  createDeviceActionBySerialNumber: (sn, actionName, params = {}) => this.request(Object.assign({ path: `/api/devices/${sn}/actions/${actionName}`, method: "POST", secure: true, format: "json" }, params)),
712
1620
  /**
@@ -716,8 +1624,9 @@ export class Api extends HttpClient {
716
1624
  * @name GetDocumentBuckets
717
1625
  * @summary Get All
718
1626
  * @request GET:/api/document-buckets
1627
+ * @deprecated
719
1628
  * @secure
720
- * @response `200` `(string)[]` Success
1629
+ * @response `200` `(string)[]` OK
721
1630
  */
722
1631
  getDocumentBuckets: (query, params = {}) => this.request(Object.assign({ path: `/api/document-buckets`, method: "GET", query: query, secure: true, format: "json" }, params)),
723
1632
  /**
@@ -728,7 +1637,7 @@ export class Api extends HttpClient {
728
1637
  * @summary Get All
729
1638
  * @request GET:/api/document-templates
730
1639
  * @secure
731
- * @response `200` `(DocumentTemplateBase)[]` Success
1640
+ * @response `200` `(DocumentTemplateBase)[]` OK
732
1641
  */
733
1642
  getDocumentTemplates: (query, params = {}) => this.request(Object.assign({ path: `/api/document-templates`, method: "GET", query: query, secure: true, format: "json" }, params)),
734
1643
  /**
@@ -741,9 +1650,9 @@ export class Api extends HttpClient {
741
1650
  * @secure
742
1651
  * @response `201` `DocumentTemplateBase` Created
743
1652
  * @response `404` `ProblemDetails` Not Found
744
- * @response `422` `UnprocessableEntity` Client Error
1653
+ * @response `422` `UnprocessableEntity` Unprocessable Content
745
1654
  */
746
- createDocumentTemplate: (data, params = {}) => this.request(Object.assign({ path: `/api/document-templates`, method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
1655
+ createDocumentTemplate: (data, params = {}) => this.request(Object.assign({ path: `/api/document-templates`, method: "POST", body: data, secure: true, type: "application/json", format: "json" }, params)),
747
1656
  /**
748
1657
  * No description
749
1658
  *
@@ -752,7 +1661,7 @@ export class Api extends HttpClient {
752
1661
  * @summary Get Custom
753
1662
  * @request GET:/api/document-templates/{type}
754
1663
  * @secure
755
- * @response `200` `(DocumentTemplateBase)[]` Success
1664
+ * @response `200` `(DocumentTemplateBase)[]` OK
756
1665
  */
757
1666
  getCustomDocumentTemplates: (type, query, params = {}) => this.request(Object.assign({ path: `/api/document-templates/${type}`, method: "GET", query: query, secure: true, format: "json" }, params)),
758
1667
  /**
@@ -763,7 +1672,7 @@ export class Api extends HttpClient {
763
1672
  * @summary Get By ID
764
1673
  * @request GET:/api/document-templates/{id}
765
1674
  * @secure
766
- * @response `200` `DocumentTemplate` Success
1675
+ * @response `200` `DocumentTemplate` OK
767
1676
  * @response `404` `ProblemDetails` Not Found
768
1677
  */
769
1678
  getDocumentTemplate: (id, params = {}) => this.request(Object.assign({ path: `/api/document-templates/${id}`, method: "GET", secure: true, format: "json" }, params)),
@@ -775,12 +1684,12 @@ export class Api extends HttpClient {
775
1684
  * @summary Replace
776
1685
  * @request PUT:/api/document-templates/{id}
777
1686
  * @secure
778
- * @response `200` `DocumentTemplateBase` Success
1687
+ * @response `200` `DocumentTemplateBase` OK
779
1688
  * @response `401` `ProblemDetails` Unauthorized
780
1689
  * @response `404` `ProblemDetails` Not Found
781
- * @response `422` `UnprocessableEntity` Client Error
1690
+ * @response `422` `UnprocessableEntity` Unprocessable Content
782
1691
  */
783
- replaceDocumentTemplate: (id, data, params = {}) => this.request(Object.assign({ path: `/api/document-templates/${id}`, method: "PUT", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
1692
+ 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)),
784
1693
  /**
785
1694
  * No description
786
1695
  *
@@ -815,7 +1724,7 @@ export class Api extends HttpClient {
815
1724
  * @summary Get All
816
1725
  * @request GET:/api/document-templates/{documentId}/versions
817
1726
  * @secure
818
- * @response `200` `(DocumentTemplateVersion)[]` Success
1727
+ * @response `200` `(DocumentTemplateVersion)[]` OK
819
1728
  */
820
1729
  getDocumentTemplateVersions: (documentId, params = {}) => this.request(Object.assign({ path: `/api/document-templates/${documentId}/versions`, method: "GET", secure: true, format: "json" }, params)),
821
1730
  /**
@@ -826,9 +1735,9 @@ export class Api extends HttpClient {
826
1735
  * @summary Create
827
1736
  * @request POST:/api/document-templates/{documentId}/versions
828
1737
  * @secure
829
- * @response `200` `DocumentTemplateVersion` Success
1738
+ * @response `200` `DocumentTemplateVersion` OK
830
1739
  */
831
- createDocumentTemplateVersion: (documentId, data, params = {}) => this.request(Object.assign({ path: `/api/document-templates/${documentId}/versions`, method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
1740
+ 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)),
832
1741
  /**
833
1742
  * No description
834
1743
  *
@@ -837,7 +1746,7 @@ export class Api extends HttpClient {
837
1746
  * @summary Get by ID
838
1747
  * @request GET:/api/document-templates/{documentId}/versions/{id}
839
1748
  * @secure
840
- * @response `200` `DocumentTemplateVersion` Success
1749
+ * @response `200` `DocumentTemplateVersion` OK
841
1750
  */
842
1751
  getDocumentTemplateVersion: (documentId, id, params = {}) => this.request(Object.assign({ path: `/api/document-templates/${documentId}/versions/${id}`, method: "GET", secure: true, format: "json" }, params)),
843
1752
  /**
@@ -848,9 +1757,9 @@ export class Api extends HttpClient {
848
1757
  * @summary Replace
849
1758
  * @request PUT:/api/document-templates/{documentId}/versions/{id}
850
1759
  * @secure
851
- * @response `200` `DocumentTemplateVersion` Success
1760
+ * @response `200` `DocumentTemplateVersion` OK
852
1761
  */
853
- replaceDocumentTemplateVersion: (documentId, id, data, params = {}) => this.request(Object.assign({ path: `/api/document-templates/${documentId}/versions/${id}`, method: "PUT", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
1762
+ 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)),
854
1763
  /**
855
1764
  * No description
856
1765
  *
@@ -859,9 +1768,85 @@ export class Api extends HttpClient {
859
1768
  * @summary Delete
860
1769
  * @request DELETE:/api/document-templates/{documentId}/versions/{id}
861
1770
  * @secure
862
- * @response `200` `DocumentTemplateVersion` Success
1771
+ * @response `200` `DocumentTemplateVersion` OK
863
1772
  */
864
1773
  deleteDocumentTemplateVersion: (documentId, id, params = {}) => this.request(Object.assign({ path: `/api/document-templates/${documentId}/versions/${id}`, method: "DELETE", secure: true, format: "json" }, params)),
1774
+ /**
1775
+ * No description
1776
+ *
1777
+ * @tags Encompass Custom Field Mappings
1778
+ * @name GetEncompassCustomFieldMapping
1779
+ * @summary Get Encompass field mapping for a custom field definition
1780
+ * @request GET:/api/los/encompass/custom-field-mappings/{definitionId}
1781
+ * @secure
1782
+ * @response `200` `EncompassCustomFieldMapping` OK
1783
+ * @response `404` `void` Not Found
1784
+ */
1785
+ getEncompassCustomFieldMapping: (definitionId, params = {}) => this.request(Object.assign({ path: `/api/los/encompass/custom-field-mappings/${definitionId}`, method: "GET", secure: true, format: "json" }, params)),
1786
+ /**
1787
+ * No description
1788
+ *
1789
+ * @tags Encompass Custom Field Mappings
1790
+ * @name AddEncompassCustomFieldMapping
1791
+ * @summary Add an Encompass field mapping to a custom field definition
1792
+ * @request POST:/api/los/encompass/custom-field-mappings/{definitionId}
1793
+ * @secure
1794
+ * @response `201` `EncompassCustomFieldMapping` Created
1795
+ * @response `400` `void` Bad Request
1796
+ * @response `404` `void` Not Found
1797
+ * @response `409` `void` Conflict
1798
+ * @response `422` `ProblemDetails` Unprocessable Content
1799
+ */
1800
+ 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)),
1801
+ /**
1802
+ * No description
1803
+ *
1804
+ * @tags Encompass Custom Field Mappings
1805
+ * @name DeleteEncompassCustomFieldMapping
1806
+ * @summary Delete the Encompass field mapping (only if no values exist)
1807
+ * @request DELETE:/api/los/encompass/custom-field-mappings/{definitionId}
1808
+ * @secure
1809
+ * @response `204` `void` No Content
1810
+ * @response `404` `void` Not Found
1811
+ * @response `409` `void` Conflict
1812
+ */
1813
+ deleteEncompassCustomFieldMapping: (definitionId, params = {}) => this.request(Object.assign({ path: `/api/los/encompass/custom-field-mappings/${definitionId}`, method: "DELETE", secure: true }, params)),
1814
+ /**
1815
+ * No description
1816
+ *
1817
+ * @tags Encompass Custom Field Mappings
1818
+ * @name DisableEncompassCustomFieldMapping
1819
+ * @summary Disable the Encompass field mapping (stops sync)
1820
+ * @request POST:/api/los/encompass/custom-field-mappings/{definitionId}/disable
1821
+ * @secure
1822
+ * @response `204` `void` No Content
1823
+ * @response `404` `void` Not Found
1824
+ */
1825
+ disableEncompassCustomFieldMapping: (definitionId, params = {}) => this.request(Object.assign({ path: `/api/los/encompass/custom-field-mappings/${definitionId}/disable`, method: "POST", secure: true }, params)),
1826
+ /**
1827
+ * No description
1828
+ *
1829
+ * @tags Encompass Custom Field Mappings
1830
+ * @name EnableEncompassCustomFieldMapping
1831
+ * @summary Re-enable the Encompass field mapping (resumes sync)
1832
+ * @request POST:/api/los/encompass/custom-field-mappings/{definitionId}/enable
1833
+ * @secure
1834
+ * @response `204` `void` No Content
1835
+ * @response `404` `void` Not Found
1836
+ */
1837
+ enableEncompassCustomFieldMapping: (definitionId, params = {}) => this.request(Object.assign({ path: `/api/los/encompass/custom-field-mappings/${definitionId}/enable`, method: "POST", secure: true }, params)),
1838
+ /**
1839
+ * No description
1840
+ *
1841
+ * @tags Encompass Custom Fields
1842
+ * @name GetEncompassFields
1843
+ * @summary Fetch available Encompass custom fields with type metadata
1844
+ * @request GET:/api/los/encompass/custom-fields
1845
+ * @secure
1846
+ * @response `200` `(EncompassFieldListItem)[]` OK
1847
+ * @response `502` `ProblemDetails` Bad Gateway
1848
+ */
1849
+ getEncompassFields: (params = {}) => this.request(Object.assign({ path: `/api/los/encompass/custom-fields`, method: "GET", secure: true, format: "json" }, params)),
865
1850
  /**
866
1851
  * No description
867
1852
  *
@@ -869,12 +1854,38 @@ export class Api extends HttpClient {
869
1854
  * @name GetUserPackages
870
1855
  * @request GET:/api/los/encompass/eclose/packages
871
1856
  * @secure
872
- * @response `200` `EncompassPackageList` Success
1857
+ * @response `200` `EncompassPackageList` OK
873
1858
  * @response `400` `EncompassError` Bad Request
874
1859
  * @response `401` `EncompassError` Unauthorized
875
- * @response `500` `EncompassError` Server Error
1860
+ * @response `500` `EncompassError` Internal Server Error
876
1861
  */
877
1862
  getUserPackages: (query, params = {}) => this.request(Object.assign({ path: `/api/los/encompass/eclose/packages`, method: "GET", query: query, secure: true, format: "json" }, params)),
1863
+ /**
1864
+ * No description
1865
+ *
1866
+ * @tags Encompass Packages
1867
+ * @name GetLoanPackages
1868
+ * @request GET:/api/los/encompass/eclose/loans/{loanId}/packages
1869
+ * @secure
1870
+ * @response `200` `EncompassPackageList` OK
1871
+ * @response `400` `EncompassError` Bad Request
1872
+ * @response `401` `EncompassError` Unauthorized
1873
+ * @response `403` `EncompassError` Forbidden
1874
+ * @response `500` `EncompassError` Internal Server Error
1875
+ */
1876
+ 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)),
1877
+ /**
1878
+ * No description
1879
+ *
1880
+ * @tags Encompass Recipients
1881
+ * @name GetUserRecipients
1882
+ * @request GET:/api/los/encompass/eclose/recipients
1883
+ * @secure
1884
+ * @response `200` `(EncompassRecipientItem)[]` OK
1885
+ * @response `401` `EncompassError` Unauthorized
1886
+ * @response `500` `EncompassError` Internal Server Error
1887
+ */
1888
+ getUserRecipients: (params = {}) => this.request(Object.assign({ path: `/api/los/encompass/eclose/recipients`, method: "GET", secure: true, format: "json" }, params)),
878
1889
  /**
879
1890
  * No description
880
1891
  *
@@ -882,14 +1893,14 @@ export class Api extends HttpClient {
882
1893
  * @name CreateEncompassSession
883
1894
  * @request POST:/api/los/encompass/eclose/sessions
884
1895
  * @secure
885
- * @response `200` `CreateSession` Success
1896
+ * @response `200` `CreateSession` OK
886
1897
  * @response `400` `EncompassError` Bad Request
887
1898
  * @response `401` `EncompassError` Unauthorized
888
1899
  * @response `403` `EncompassError` Forbidden
889
1900
  * @response `404` `EncompassError` Not Found
890
- * @response `500` `EncompassError` Server Error
1901
+ * @response `500` `EncompassError` Internal Server Error
891
1902
  */
892
- createEncompassSession: (data, params = {}) => this.request(Object.assign({ path: `/api/los/encompass/eclose/sessions`, method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
1903
+ 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)),
893
1904
  /**
894
1905
  * No description
895
1906
  *
@@ -898,7 +1909,7 @@ export class Api extends HttpClient {
898
1909
  * @summary Get All
899
1910
  * @request GET:/api/files
900
1911
  * @secure
901
- * @response `200` `FilePaginated` Success
1912
+ * @response `200` `FilePaginated` OK
902
1913
  */
903
1914
  getAllFiles: (query, params = {}) => this.request(Object.assign({ path: `/api/files`, method: "GET", query: query, secure: true, format: "json" }, params)),
904
1915
  /**
@@ -910,9 +1921,9 @@ export class Api extends HttpClient {
910
1921
  * @request POST:/api/files
911
1922
  * @secure
912
1923
  * @response `201` `File` Created
913
- * @response `422` `UnprocessableEntity` Client Error
1924
+ * @response `422` `UnprocessableEntity` Unprocessable Content
914
1925
  */
915
- uploadFile: (data, params = {}) => this.request(Object.assign({ path: `/api/files`, method: "POST", body: data, secure: true, type: ContentType.FormData, format: "json" }, params)),
1926
+ uploadFile: (data, params = {}) => this.request(Object.assign({ path: `/api/files`, method: "POST", body: data, secure: true, type: "multipart/form-data", format: "json" }, params)),
916
1927
  /**
917
1928
  * No description
918
1929
  *
@@ -932,10 +1943,10 @@ export class Api extends HttpClient {
932
1943
  * @summary Replace
933
1944
  * @request PUT:/api/files/{id}
934
1945
  * @secure
935
- * @response `200` `string` Success
936
- * @response `422` `UnprocessableEntity` Client Error
1946
+ * @response `200` `string` OK
1947
+ * @response `422` `UnprocessableEntity` Unprocessable Content
937
1948
  */
938
- replaceFile: (id, data, params = {}) => this.request(Object.assign({ path: `/api/files/${id}`, method: "PUT", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
1949
+ replaceFile: (id, data, params = {}) => this.request(Object.assign({ path: `/api/files/${id}`, method: "PUT", body: data, secure: true, type: "application/json", format: "json" }, params)),
939
1950
  /**
940
1951
  * No description
941
1952
  *
@@ -955,9 +1966,9 @@ export class Api extends HttpClient {
955
1966
  * @summary Search
956
1967
  * @request POST:/api/files/search
957
1968
  * @secure
958
- * @response `200` `FilePaginated` Success
1969
+ * @response `200` `FilePaginated` OK
959
1970
  */
960
- searchFiles: (data, query, params = {}) => this.request(Object.assign({ path: `/api/files/search`, method: "POST", query: query, body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
1971
+ 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)),
961
1972
  /**
962
1973
  * No description
963
1974
  *
@@ -966,7 +1977,7 @@ export class Api extends HttpClient {
966
1977
  * @summary Get All
967
1978
  * @request GET:/api/forms
968
1979
  * @secure
969
- * @response `200` `(AdminAccessGetForms)[]` Success
1980
+ * @response `200` `(AdminAccessGetForms)[]` OK
970
1981
  */
971
1982
  getForms: (query, params = {}) => this.request(Object.assign({ path: `/api/forms`, method: "GET", query: query, secure: true, format: "json" }, params)),
972
1983
  /**
@@ -978,9 +1989,9 @@ export class Api extends HttpClient {
978
1989
  * @request POST:/api/forms
979
1990
  * @secure
980
1991
  * @response `201` `Form` Created
981
- * @response `422` `UnprocessableEntity` Client Error
1992
+ * @response `422` `UnprocessableEntity` Unprocessable Content
982
1993
  */
983
- createForm: (data, params = {}) => this.request(Object.assign({ path: `/api/forms`, method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
1994
+ createForm: (data, params = {}) => this.request(Object.assign({ path: `/api/forms`, method: "POST", body: data, secure: true, type: "application/json", format: "json" }, params)),
984
1995
  /**
985
1996
  * No description
986
1997
  *
@@ -989,7 +2000,7 @@ export class Api extends HttpClient {
989
2000
  * @summary Get By ID
990
2001
  * @request GET:/api/forms/{id}
991
2002
  * @secure
992
- * @response `200` `Form` Success
2003
+ * @response `200` `Form` OK
993
2004
  */
994
2005
  getForm: (id, params = {}) => this.request(Object.assign({ path: `/api/forms/${id}`, method: "GET", secure: true, format: "json" }, params)),
995
2006
  /**
@@ -1000,10 +2011,10 @@ export class Api extends HttpClient {
1000
2011
  * @summary Replace
1001
2012
  * @request PUT:/api/forms/{id}
1002
2013
  * @secure
1003
- * @response `200` `Form` Success
1004
- * @response `422` `UnprocessableEntity` Client Error
2014
+ * @response `200` `Form` OK
2015
+ * @response `422` `UnprocessableEntity` Unprocessable Content
1005
2016
  */
1006
- replaceForm: (id, data, params = {}) => this.request(Object.assign({ path: `/api/forms/${id}`, method: "PUT", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
2017
+ replaceForm: (id, data, params = {}) => this.request(Object.assign({ path: `/api/forms/${id}`, method: "PUT", body: data, secure: true, type: "application/json", format: "json" }, params)),
1007
2018
  /**
1008
2019
  * No description
1009
2020
  *
@@ -1023,7 +2034,7 @@ export class Api extends HttpClient {
1023
2034
  * @summary Restore
1024
2035
  * @request POST:/api/forms/{id}/restore
1025
2036
  * @secure
1026
- * @response `200` `Form` Success
2037
+ * @response `200` `Form` OK
1027
2038
  */
1028
2039
  restoreForm: (id, params = {}) => this.request(Object.assign({ path: `/api/forms/${id}/restore`, method: "POST", secure: true, format: "json" }, params)),
1029
2040
  /**
@@ -1034,9 +2045,9 @@ export class Api extends HttpClient {
1034
2045
  * @summary Add
1035
2046
  * @request POST:/api/form-submissions/{formSubmissionId}/files
1036
2047
  * @secure
1037
- * @response `200` `FormSubmissionFile` Success
2048
+ * @response `200` `FormSubmissionFile` OK
1038
2049
  */
1039
- addFormSubmissionFile: (formSubmissionId, data, params = {}) => this.request(Object.assign({ path: `/api/form-submissions/${formSubmissionId}/files`, method: "POST", body: data, secure: true, type: ContentType.FormData, format: "json" }, params)),
2050
+ 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)),
1040
2051
  /**
1041
2052
  * No description
1042
2053
  *
@@ -1056,7 +2067,7 @@ export class Api extends HttpClient {
1056
2067
  * @summary Download by Id
1057
2068
  * @request GET:/api/form-submissions/{formSubmissionId}/files/{formSubmissionFileId}/download
1058
2069
  * @secure
1059
- * @response `200` `FileWithBytes` Success
2070
+ * @response `200` `FileWithBytes` OK
1060
2071
  */
1061
2072
  downloadFormSubmissionFile: (formSubmissionFileId, formSubmissionId, query, params = {}) => this.request(Object.assign({ path: `/api/form-submissions/${formSubmissionId}/files/${formSubmissionFileId}/download`, method: "GET", query: query, secure: true, format: "json" }, params)),
1062
2073
  /**
@@ -1067,7 +2078,7 @@ export class Api extends HttpClient {
1067
2078
  * @summary Get All
1068
2079
  * @request GET:/api/form-submissions
1069
2080
  * @secure
1070
- * @response `200` `FormSubmissionPaginated` Success
2081
+ * @response `200` `FormSubmissionPaginated` OK
1071
2082
  */
1072
2083
  getFormSubmissions: (query, params = {}) => this.request(Object.assign({ path: `/api/form-submissions`, method: "GET", query: query, secure: true, format: "json" }, params)),
1073
2084
  /**
@@ -1080,7 +2091,7 @@ export class Api extends HttpClient {
1080
2091
  * @secure
1081
2092
  * @response `201` `FormSubmission` Created
1082
2093
  */
1083
- createFormSubmission: (data, query, params = {}) => this.request(Object.assign({ path: `/api/form-submissions`, method: "POST", query: query, body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
2094
+ 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)),
1084
2095
  /**
1085
2096
  * No description
1086
2097
  *
@@ -1089,7 +2100,7 @@ export class Api extends HttpClient {
1089
2100
  * @summary Get by ID
1090
2101
  * @request GET:/api/form-submissions/{id}
1091
2102
  * @secure
1092
- * @response `200` `FormSubmission` Success
2103
+ * @response `200` `FormSubmission` OK
1093
2104
  */
1094
2105
  getFormSubmission: (id, params = {}) => this.request(Object.assign({ path: `/api/form-submissions/${id}`, method: "GET", secure: true, format: "json" }, params)),
1095
2106
  /**
@@ -1100,9 +2111,9 @@ export class Api extends HttpClient {
1100
2111
  * @summary Replace
1101
2112
  * @request PUT:/api/form-submissions/{id}
1102
2113
  * @secure
1103
- * @response `200` `FormSubmission` Success
2114
+ * @response `200` `FormSubmission` OK
1104
2115
  */
1105
- replaceFormSubmission: (id, data, params = {}) => this.request(Object.assign({ path: `/api/form-submissions/${id}`, method: "PUT", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
2116
+ 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)),
1106
2117
  /**
1107
2118
  * No description
1108
2119
  *
@@ -1122,9 +2133,9 @@ export class Api extends HttpClient {
1122
2133
  * @summary Search
1123
2134
  * @request POST:/api/form-submissions/search
1124
2135
  * @secure
1125
- * @response `200` `FormSubmissionPaginated` Success
2136
+ * @response `200` `FormSubmissionPaginated` OK
1126
2137
  */
1127
- searchFormSubmissions: (data, query, params = {}) => this.request(Object.assign({ path: `/api/form-submissions/search`, method: "POST", query: query, body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
2138
+ 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)),
1128
2139
  /**
1129
2140
  * No description
1130
2141
  *
@@ -1133,7 +2144,7 @@ export class Api extends HttpClient {
1133
2144
  * @summary Get All
1134
2145
  * @request GET:/api/forms/{formId}/versions
1135
2146
  * @secure
1136
- * @response `200` `(FormVersion)[]` Success
2147
+ * @response `200` `(FormVersion)[]` OK
1137
2148
  */
1138
2149
  getFormVersions: (formId, params = {}) => this.request(Object.assign({ path: `/api/forms/${formId}/versions`, method: "GET", secure: true, format: "json" }, params)),
1139
2150
  /**
@@ -1144,9 +2155,9 @@ export class Api extends HttpClient {
1144
2155
  * @summary Create
1145
2156
  * @request POST:/api/forms/{formId}/versions
1146
2157
  * @secure
1147
- * @response `200` `FormVersion` Success
2158
+ * @response `200` `FormVersion` OK
1148
2159
  */
1149
- createFormVersion: (formId, data, params = {}) => this.request(Object.assign({ path: `/api/forms/${formId}/versions`, method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
2160
+ 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)),
1150
2161
  /**
1151
2162
  * No description
1152
2163
  *
@@ -1155,7 +2166,7 @@ export class Api extends HttpClient {
1155
2166
  * @summary Get by ID
1156
2167
  * @request GET:/api/forms/{formId}/versions/{id}
1157
2168
  * @secure
1158
- * @response `200` `FormVersion` Success
2169
+ * @response `200` `FormVersion` OK
1159
2170
  */
1160
2171
  getFormVersion: (formId, id, params = {}) => this.request(Object.assign({ path: `/api/forms/${formId}/versions/${id}`, method: "GET", secure: true, format: "json" }, params)),
1161
2172
  /**
@@ -1166,9 +2177,9 @@ export class Api extends HttpClient {
1166
2177
  * @summary Replace
1167
2178
  * @request PUT:/api/forms/{formId}/versions/{id}
1168
2179
  * @secure
1169
- * @response `200` `FormVersion` Success
2180
+ * @response `200` `FormVersion` OK
1170
2181
  */
1171
- replaceFormVersion: (formId, id, data, params = {}) => this.request(Object.assign({ path: `/api/forms/${formId}/versions/${id}`, method: "PUT", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
2182
+ 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)),
1172
2183
  /**
1173
2184
  * No description
1174
2185
  *
@@ -1177,9 +2188,20 @@ export class Api extends HttpClient {
1177
2188
  * @summary Delete
1178
2189
  * @request DELETE:/api/forms/{formId}/versions/{id}
1179
2190
  * @secure
1180
- * @response `200` `FormVersion` Success
2191
+ * @response `200` `FormVersion` OK
1181
2192
  */
1182
2193
  deleteFormVersion: (formId, id, params = {}) => this.request(Object.assign({ path: `/api/forms/${formId}/versions/${id}`, method: "DELETE", secure: true, format: "json" }, params)),
2194
+ /**
2195
+ * No description
2196
+ *
2197
+ * @tags IntegrationSettings
2198
+ * @name GetIntegrationSettings
2199
+ * @summary Get Integration Settings
2200
+ * @request GET:/api/integrations/settings
2201
+ * @secure
2202
+ * @response `200` `IntegrationSettings` OK
2203
+ */
2204
+ getIntegrationSettings: (params = {}) => this.request(Object.assign({ path: `/api/integrations/settings`, method: "GET", secure: true, format: "json" }, params)),
1183
2205
  /**
1184
2206
  * No description
1185
2207
  *
@@ -1188,7 +2210,7 @@ export class Api extends HttpClient {
1188
2210
  * @summary Get By ID
1189
2211
  * @request GET:/api/los/loan/application/{loanID}
1190
2212
  * @secure
1191
- * @response `200` `Record<string,any>` Success
2213
+ * @response `200` `Record<string,any>` OK
1192
2214
  */
1193
2215
  getLoanData: (loanId, params = {}) => this.request(Object.assign({ path: `/api/los/loan/application/${loanId}`, method: "GET", secure: true, format: "json" }, params)),
1194
2216
  /**
@@ -1200,10 +2222,10 @@ export class Api extends HttpClient {
1200
2222
  * @request PATCH:/api/los/loan/application/{loanID}
1201
2223
  * @deprecated
1202
2224
  * @secure
1203
- * @response `200` `string` Success
1204
- * @response `422` `UnprocessableEntity` Client Error
2225
+ * @response `200` `string` OK
2226
+ * @response `422` `UnprocessableEntity` Unprocessable Content
1205
2227
  */
1206
- updateLoanConsentAndCustomFieldsObsolete: (loanId, data, params = {}) => this.request(Object.assign({ path: `/api/los/loan/application/${loanId}`, method: "PATCH", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
2228
+ 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)),
1207
2229
  /**
1208
2230
  * No description
1209
2231
  *
@@ -1212,9 +2234,9 @@ export class Api extends HttpClient {
1212
2234
  * @summary Get Report
1213
2235
  * @request POST:/api/los/loan/reports
1214
2236
  * @secure
1215
- * @response `200` `GetReport` Success
2237
+ * @response `200` `GetReport` OK
1216
2238
  */
1217
- getLoansReport: (data, params = {}) => this.request(Object.assign({ path: `/api/los/loan/reports`, method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
2239
+ getLoansReport: (data, params = {}) => this.request(Object.assign({ path: `/api/los/loan/reports`, method: "POST", body: data, secure: true, type: "application/json", format: "json" }, params)),
1218
2240
  /**
1219
2241
  * No description
1220
2242
  *
@@ -1224,11 +2246,11 @@ export class Api extends HttpClient {
1224
2246
  * @request POST:/api/los/loan/application
1225
2247
  * @deprecated
1226
2248
  * @secure
1227
- * @response `200` `string` Success
1228
- * @response `422` `UnprocessableEntity` Client Error
1229
- * @response `423` `UnprocessableEntity` Client Error
2249
+ * @response `200` `string` OK
2250
+ * @response `422` `UnprocessableEntity` Unprocessable Content
2251
+ * @response `423` `UnprocessableEntity` Locked
1230
2252
  */
1231
- createLoan: (data, query, params = {}) => this.request(Object.assign({ path: `/api/los/loan/application`, method: "POST", query: query, body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
2253
+ 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)),
1232
2254
  /**
1233
2255
  * No description
1234
2256
  *
@@ -1237,11 +2259,11 @@ export class Api extends HttpClient {
1237
2259
  * @summary Create Loan Returning Internal Loan ID
1238
2260
  * @request POST:/api/los/loan/application/internal
1239
2261
  * @secure
1240
- * @response `200` `string` Success
1241
- * @response `422` `UnprocessableEntity` Client Error
1242
- * @response `423` `UnprocessableEntity` Client Error
2262
+ * @response `200` `string` OK
2263
+ * @response `422` `UnprocessableEntity` Unprocessable Content
2264
+ * @response `423` `UnprocessableEntity` Locked
1243
2265
  */
1244
- createLoanInternal: (data, query, params = {}) => this.request(Object.assign({ path: `/api/los/loan/application/internal`, method: "POST", query: query, body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
2266
+ 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)),
1245
2267
  /**
1246
2268
  * No description
1247
2269
  *
@@ -1250,10 +2272,10 @@ export class Api extends HttpClient {
1250
2272
  * @summary Update Loan Custom Fields
1251
2273
  * @request PATCH:/api/los/loan/application/{loanID}/custom-fields
1252
2274
  * @secure
1253
- * @response `200` `string` Success
1254
- * @response `422` `UnprocessableEntity` Client Error
2275
+ * @response `200` `string` OK
2276
+ * @response `422` `UnprocessableEntity` Unprocessable Content
1255
2277
  */
1256
- updateLoanCustomFields: (loanId, data, params = {}) => this.request(Object.assign({ path: `/api/los/loan/application/${loanId}/custom-fields`, method: "PATCH", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
2278
+ 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)),
1257
2279
  /**
1258
2280
  * No description
1259
2281
  *
@@ -1262,22 +2284,11 @@ export class Api extends HttpClient {
1262
2284
  * @summary Update Loan Consent and Custom Fields
1263
2285
  * @request PATCH:/api/los/loan/application/{loanID}/consent
1264
2286
  * @secure
1265
- * @response `200` `string` Success
2287
+ * @response `200` `string` OK
1266
2288
  * @response `202` `string` Accepted
1267
- * @response `422` `UnprocessableEntity` Client Error
1268
- */
1269
- updateLoanConsent: (loanId, data, params = {}) => this.request(Object.assign({ path: `/api/los/loan/application/${loanId}/consent`, method: "PATCH", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
1270
- /**
1271
- * No description
1272
- *
1273
- * @tags LegacyLoan
1274
- * @name GetTaskDocumentsByLoan
1275
- * @summary Get Documents
1276
- * @request GET:/api/los/loan/tasks/documents/{loanID}
1277
- * @secure
1278
- * @response `200` `(DocumentData)[]` Success
2289
+ * @response `422` `UnprocessableEntity` Unprocessable Content
1279
2290
  */
1280
- getTaskDocumentsByLoan: (loanId, params = {}) => this.request(Object.assign({ path: `/api/los/loan/tasks/documents/${loanId}`, method: "GET", secure: true, format: "json" }, params)),
2291
+ 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)),
1281
2292
  /**
1282
2293
  * No description
1283
2294
  *
@@ -1286,7 +2297,7 @@ export class Api extends HttpClient {
1286
2297
  * @summary Get Document Content
1287
2298
  * @request GET:/api/los/loan/{loanID}/document/{documentId}/content
1288
2299
  * @secure
1289
- * @response `200` `void` Success
2300
+ * @response `200` `void` OK
1290
2301
  */
1291
2302
  getLoanDocumentContent: (loanId, documentId, query, params = {}) => this.request(Object.assign({ path: `/api/los/loan/${loanId}/document/${documentId}/content`, method: "GET", query: query, secure: true }, params)),
1292
2303
  /**
@@ -1308,7 +2319,7 @@ export class Api extends HttpClient {
1308
2319
  * @summary Get Preliminary Conditions
1309
2320
  * @request GET:/api/los/loan/{loanID}/conditions/preliminary
1310
2321
  * @secure
1311
- * @response `200` `(PreliminaryCondition)[]` Success
2322
+ * @response `200` `(PreliminaryCondition)[]` OK
1312
2323
  */
1313
2324
  getPreliminaryConditionsForLoan: (loanId, params = {}) => this.request(Object.assign({ path: `/api/los/loan/${loanId}/conditions/preliminary`, method: "GET", secure: true, format: "json" }, params)),
1314
2325
  /**
@@ -1319,7 +2330,7 @@ export class Api extends HttpClient {
1319
2330
  * @summary Get Underwriting Conditions
1320
2331
  * @request GET:/api/los/loan/{loanID}/conditions/underwriting
1321
2332
  * @secure
1322
- * @response `200` `(UnderwritingCondition)[]` Success
2333
+ * @response `200` `(UnderwritingCondition)[]` OK
1323
2334
  */
1324
2335
  getUnderwritingConditionsForLoan: (loanId, params = {}) => this.request(Object.assign({ path: `/api/los/loan/${loanId}/conditions/underwriting`, method: "GET", secure: true, format: "json" }, params)),
1325
2336
  /**
@@ -1330,21 +2341,9 @@ export class Api extends HttpClient {
1330
2341
  * @summary Get Embedded Signing Link
1331
2342
  * @request POST:/api/los/loan/embeddedsigning/{envelopeId}/{userName}/{email}
1332
2343
  * @secure
1333
- * @response `200` `string` Success
2344
+ * @response `200` `string` OK
1334
2345
  */
1335
2346
  getLoanEmbeddedSigningLink: (envelopeId, userName, email, params = {}) => this.request(Object.assign({ path: `/api/los/loan/embeddedsigning/${envelopeId}/${userName}/${email}`, method: "POST", secure: true, format: "json" }, params)),
1336
- /**
1337
- * No description
1338
- *
1339
- * @tags LegacyLoan
1340
- * @name CreateLegacyLoanDocument
1341
- * @summary Create Document
1342
- * @request POST:/api/los/loan/generatedocument
1343
- * @deprecated
1344
- * @secure
1345
- * @response `200` `DocumentDataRequest` Success
1346
- */
1347
- createLegacyLoanDocument: (data, params = {}) => this.request(Object.assign({ path: `/api/los/loan/generatedocument`, method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
1348
2347
  /**
1349
2348
  * No description
1350
2349
  *
@@ -1353,10 +2352,10 @@ export class Api extends HttpClient {
1353
2352
  * @summary Create Edit Draft for Loan
1354
2353
  * @request PUT:/api/los/loan/{loanID}/edit
1355
2354
  * @secure
1356
- * @response `200` `Draft` Success
2355
+ * @response `200` `Draft` OK
1357
2356
  * @response `400` `ProblemDetails` Bad Request
1358
2357
  * @response `404` `ProblemDetails` Not Found
1359
- * @response `423` `ProblemDetails` Client Error
2358
+ * @response `423` `ProblemDetails` Locked
1360
2359
  */
1361
2360
  createEditDraftForLoan: (loanId, query, params = {}) => this.request(Object.assign({ path: `/api/los/loan/${loanId}/edit`, method: "PUT", query: query, secure: true, format: "json" }, params)),
1362
2361
  /**
@@ -1367,9 +2366,9 @@ export class Api extends HttpClient {
1367
2366
  * @summary Add
1368
2367
  * @request POST:/api/listings/{listingId}/files
1369
2368
  * @secure
1370
- * @response `200` `ListingFile` Success
2369
+ * @response `200` `ListingFile` OK
1371
2370
  */
1372
- addListingFile: (listingId, data, params = {}) => this.request(Object.assign({ path: `/api/listings/${listingId}/files`, method: "POST", body: data, secure: true, type: ContentType.FormData, format: "json" }, params)),
2371
+ 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)),
1373
2372
  /**
1374
2373
  * No description
1375
2374
  *
@@ -1378,9 +2377,9 @@ export class Api extends HttpClient {
1378
2377
  * @summary Update
1379
2378
  * @request PATCH:/api/listings/{listingId}/files
1380
2379
  * @secure
1381
- * @response `200` `ListingFile` Success
2380
+ * @response `200` `ListingFile` OK
1382
2381
  */
1383
- updateListingFiles: (listingId, data, params = {}) => this.request(Object.assign({ path: `/api/listings/${listingId}/files`, method: "PATCH", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
2382
+ 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)),
1384
2383
  /**
1385
2384
  * No description
1386
2385
  *
@@ -1400,9 +2399,9 @@ export class Api extends HttpClient {
1400
2399
  * @summary Add
1401
2400
  * @request POST:/api/listings/{listingId}/photos
1402
2401
  * @secure
1403
- * @response `200` `ListingPhoto` Success
2402
+ * @response `200` `ListingPhoto` OK
1404
2403
  */
1405
- addListingPhoto: (listingId, data, params = {}) => this.request(Object.assign({ path: `/api/listings/${listingId}/photos`, method: "POST", body: data, secure: true, type: ContentType.FormData, format: "json" }, params)),
2404
+ 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)),
1406
2405
  /**
1407
2406
  * No description
1408
2407
  *
@@ -1411,9 +2410,9 @@ export class Api extends HttpClient {
1411
2410
  * @summary Update
1412
2411
  * @request PATCH:/api/listings/{listingId}/photos
1413
2412
  * @secure
1414
- * @response `200` `(ListingPhoto)[]` Success
2413
+ * @response `200` `(ListingPhoto)[]` OK
1415
2414
  */
1416
- updateListingPhotos: (listingId, data, params = {}) => this.request(Object.assign({ path: `/api/listings/${listingId}/photos`, method: "PATCH", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
2415
+ 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)),
1417
2416
  /**
1418
2417
  * No description
1419
2418
  *
@@ -1433,7 +2432,7 @@ export class Api extends HttpClient {
1433
2432
  * @summary Get All
1434
2433
  * @request GET:/api/listings
1435
2434
  * @secure
1436
- * @response `200` `ListingPaginated` Success
2435
+ * @response `200` `ListingPaginated` OK
1437
2436
  */
1438
2437
  getListings: (query, params = {}) => this.request(Object.assign({ path: `/api/listings`, method: "GET", query: query, secure: true, format: "json" }, params)),
1439
2438
  /**
@@ -1446,7 +2445,7 @@ export class Api extends HttpClient {
1446
2445
  * @secure
1447
2446
  * @response `201` `Listing` Created
1448
2447
  */
1449
- createListing: (data, params = {}) => this.request(Object.assign({ path: `/api/listings`, method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
2448
+ createListing: (data, params = {}) => this.request(Object.assign({ path: `/api/listings`, method: "POST", body: data, secure: true, type: "application/json", format: "json" }, params)),
1450
2449
  /**
1451
2450
  * No description
1452
2451
  *
@@ -1455,7 +2454,7 @@ export class Api extends HttpClient {
1455
2454
  * @summary Get by Slug
1456
2455
  * @request GET:/api/listings/slug/{slug}
1457
2456
  * @secure
1458
- * @response `200` `Listing` Success
2457
+ * @response `200` `Listing` OK
1459
2458
  */
1460
2459
  getListingBySlug: (slug, params = {}) => this.request(Object.assign({ path: `/api/listings/slug/${slug}`, method: "GET", secure: true, format: "json" }, params)),
1461
2460
  /**
@@ -1466,7 +2465,7 @@ export class Api extends HttpClient {
1466
2465
  * @summary Get by ID
1467
2466
  * @request GET:/api/listings/{id}
1468
2467
  * @secure
1469
- * @response `200` `Listing` Success
2468
+ * @response `200` `Listing` OK
1470
2469
  */
1471
2470
  getListing: (id, params = {}) => this.request(Object.assign({ path: `/api/listings/${id}`, method: "GET", secure: true, format: "json" }, params)),
1472
2471
  /**
@@ -1477,9 +2476,9 @@ export class Api extends HttpClient {
1477
2476
  * @summary Replace
1478
2477
  * @request PUT:/api/listings/{id}
1479
2478
  * @secure
1480
- * @response `200` `Listing` Success
2479
+ * @response `200` `Listing` OK
1481
2480
  */
1482
- replaceListing: (id, data, params = {}) => this.request(Object.assign({ path: `/api/listings/${id}`, method: "PUT", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
2481
+ replaceListing: (id, data, params = {}) => this.request(Object.assign({ path: `/api/listings/${id}`, method: "PUT", body: data, secure: true, type: "application/json", format: "json" }, params)),
1483
2482
  /**
1484
2483
  * No description
1485
2484
  *
@@ -1499,9 +2498,9 @@ export class Api extends HttpClient {
1499
2498
  * @summary Search
1500
2499
  * @request POST:/api/listings/search
1501
2500
  * @secure
1502
- * @response `200` `ListingPaginated` Success
2501
+ * @response `200` `ListingPaginated` OK
1503
2502
  */
1504
- searchListings: (data, query, params = {}) => this.request(Object.assign({ path: `/api/listings/search`, method: "POST", query: query, body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
2503
+ 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)),
1505
2504
  /**
1506
2505
  * No description
1507
2506
  *
@@ -1510,9 +2509,9 @@ export class Api extends HttpClient {
1510
2509
  * @summary Update Background Image
1511
2510
  * @request PUT:/api/listings/{id}/background-image
1512
2511
  * @secure
1513
- * @response `200` `File` Success
2512
+ * @response `200` `File` OK
1514
2513
  */
1515
- updateListingBackgroundImage: (id, data, params = {}) => this.request(Object.assign({ path: `/api/listings/${id}/background-image`, method: "PUT", body: data, secure: true, type: ContentType.FormData, format: "json" }, params)),
2514
+ 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)),
1516
2515
  /**
1517
2516
  * No description
1518
2517
  *
@@ -1532,7 +2531,7 @@ export class Api extends HttpClient {
1532
2531
  * @summary Get Open House Flyer
1533
2532
  * @request GET:/api/listings/{id}/open-house-flyer
1534
2533
  * @secure
1535
- * @response `200` `File` Success
2534
+ * @response `200` `File` OK
1536
2535
  */
1537
2536
  getListingOpenHouseFlyer: (id, params = {}) => this.request(Object.assign({ path: `/api/listings/${id}/open-house-flyer`, method: "GET", secure: true, format: "json" }, params)),
1538
2537
  /**
@@ -1543,7 +2542,7 @@ export class Api extends HttpClient {
1543
2542
  * @summary Get
1544
2543
  * @request GET:/api/loans/{loanID}/calculators/loan-calculator
1545
2544
  * @secure
1546
- * @response `200` `RunLOCalculation` Success
2545
+ * @response `200` `RunLOCalculation` OK
1547
2546
  */
1548
2547
  getLoanCalculator: (loanId, params = {}) => this.request(Object.assign({ path: `/api/loans/${loanId}/calculators/loan-calculator`, method: "GET", secure: true, format: "json" }, params)),
1549
2548
  /**
@@ -1554,11 +2553,11 @@ export class Api extends HttpClient {
1554
2553
  * @summary Run
1555
2554
  * @request POST:/api/loans/{loanID}/calculators/loan-calculator
1556
2555
  * @secure
1557
- * @response `200` `RunLOCalculation` Success
1558
- * @response `422` `UnprocessableEntity` Client Error
1559
- * @response `423` `UnprocessableEntity` Client Error
2556
+ * @response `200` `RunLOCalculation` OK
2557
+ * @response `422` `UnprocessableEntity` Unprocessable Content
2558
+ * @response `423` `UnprocessableEntity` Locked
1560
2559
  */
1561
- runLoanCalculator: (loanId, data, params = {}) => this.request(Object.assign({ path: `/api/loans/${loanId}/calculators/loan-calculator`, method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
2560
+ 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)),
1562
2561
  /**
1563
2562
  * No description
1564
2563
  *
@@ -1567,7 +2566,7 @@ export class Api extends HttpClient {
1567
2566
  * @summary Get All
1568
2567
  * @request GET:/api/loans/{loanID}/loan-comparison
1569
2568
  * @secure
1570
- * @response `200` `LoanComparison` Success
2569
+ * @response `200` `LoanComparison` OK
1571
2570
  */
1572
2571
  getLoanComparisons: (loanId, params = {}) => this.request(Object.assign({ path: `/api/loans/${loanId}/loan-comparison`, method: "GET", secure: true, format: "json" }, params)),
1573
2572
  /**
@@ -1579,10 +2578,10 @@ export class Api extends HttpClient {
1579
2578
  * @request POST:/api/loans/{loanID}/loan-comparison/{index}
1580
2579
  * @secure
1581
2580
  * @response `201` `LoanComparisonScenario` Created
1582
- * @response `422` `UnprocessableEntity` Client Error
1583
- * @response `423` `UnprocessableEntity` Client Error
2581
+ * @response `422` `UnprocessableEntity` Unprocessable Content
2582
+ * @response `423` `UnprocessableEntity` Locked
1584
2583
  */
1585
- createLoanComparison: (loanId, index, data, params = {}) => this.request(Object.assign({ path: `/api/loans/${loanId}/loan-comparison/${index}`, method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
2584
+ 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)),
1586
2585
  /**
1587
2586
  * No description
1588
2587
  *
@@ -1603,9 +2602,72 @@ export class Api extends HttpClient {
1603
2602
  * @request POST:/api/loans/{loanID}/loan-comparison/pdf
1604
2603
  * @secure
1605
2604
  * @response `204` `void` No Content
1606
- * @response `422` `UnprocessableEntity` Client Error
2605
+ * @response `422` `UnprocessableEntity` Unprocessable Content
2606
+ */
2607
+ 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)),
2608
+ /**
2609
+ * No description
2610
+ *
2611
+ * @tags LoanConsents
2612
+ * @name ResyncLoanConsents
2613
+ * @summary Resync loan consents to LOS
2614
+ * @request POST:/api/loans/{loanId}/consents/resync
2615
+ * @secure
2616
+ * @response `204` `void` No Content
2617
+ * @response `404` `ProblemDetails` Not Found
2618
+ * @response `422` `ProblemDetails` Unprocessable Content
2619
+ */
2620
+ resyncLoanConsents: (loanId, params = {}) => this.request(Object.assign({ path: `/api/loans/${loanId}/consents/resync`, method: "POST", secure: true }, params)),
2621
+ /**
2622
+ * No description
2623
+ *
2624
+ * @tags LoanCustomFieldValues
2625
+ * @name GetLoanCustomFieldValues
2626
+ * @summary Get all custom field values for a loan
2627
+ * @request GET:/api/loans/{loanId}/custom-fields
2628
+ * @secure
2629
+ * @response `200` `(CustomFieldValue)[]` OK
2630
+ */
2631
+ getLoanCustomFieldValues: (loanId, params = {}) => this.request(Object.assign({ path: `/api/loans/${loanId}/custom-fields`, method: "GET", secure: true, format: "json" }, params)),
2632
+ /**
2633
+ * No description
2634
+ *
2635
+ * @tags LoanCustomFieldValues
2636
+ * @name BulkSetLoanCustomFieldValues
2637
+ * @summary Bulk set custom field values for a loan
2638
+ * @request PUT:/api/loans/{loanId}/custom-fields
2639
+ * @secure
2640
+ * @response `204` `void` No Content
2641
+ * @response `400` `ProblemDetails` Bad Request
2642
+ * @response `422` `ProblemDetails` Unprocessable Content
2643
+ */
2644
+ bulkSetLoanCustomFieldValues: (loanId, data, params = {}) => this.request(Object.assign({ path: `/api/loans/${loanId}/custom-fields`, method: "PUT", body: data, secure: true, type: "application/json" }, params)),
2645
+ /**
2646
+ * No description
2647
+ *
2648
+ * @tags LoanCustomFieldValues
2649
+ * @name SetLoanCustomFieldValue
2650
+ * @summary Set a single custom field value
2651
+ * @request PUT:/api/loans/{loanId}/custom-fields/{definitionId}
2652
+ * @secure
2653
+ * @response `204` `void` No Content
2654
+ * @response `400` `ProblemDetails` Bad Request
2655
+ * @response `404` `ProblemDetails` Not Found
2656
+ * @response `422` `ProblemDetails` Unprocessable Content
2657
+ */
2658
+ 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)),
2659
+ /**
2660
+ * No description
2661
+ *
2662
+ * @tags LoanCustomFieldValues
2663
+ * @name DeleteLoanCustomFieldValue
2664
+ * @summary Remove a custom field value
2665
+ * @request DELETE:/api/loans/{loanId}/custom-fields/{definitionId}
2666
+ * @secure
2667
+ * @response `204` `void` No Content
2668
+ * @response `404` `ProblemDetails` Not Found
1607
2669
  */
1608
- createLoanComparisonPdf: (loanId, data, params = {}) => this.request(Object.assign({ path: `/api/loans/${loanId}/loan-comparison/pdf`, method: "POST", body: data, secure: true, type: ContentType.Json }, params)),
2670
+ deleteLoanCustomFieldValue: (loanId, definitionId, params = {}) => this.request(Object.assign({ path: `/api/loans/${loanId}/custom-fields/${definitionId}`, method: "DELETE", secure: true }, params)),
1609
2671
  /**
1610
2672
  * No description
1611
2673
  *
@@ -1613,21 +2675,136 @@ export class Api extends HttpClient {
1613
2675
  * @name GetLoanDocumentBuckets
1614
2676
  * @summary Get All
1615
2677
  * @request GET:/api/loans/{loanId}/documents/buckets
2678
+ * @deprecated
1616
2679
  * @secure
1617
- * @response `200` `(string)[]` Success
2680
+ * @response `200` `(string)[]` OK
1618
2681
  */
1619
2682
  getLoanDocumentBuckets: (loanId, params = {}) => this.request(Object.assign({ path: `/api/loans/${loanId}/documents/buckets`, method: "GET", secure: true, format: "json" }, params)),
1620
2683
  /**
1621
2684
  * No description
1622
2685
  *
1623
- * @tags LoanDocumentBuckets
1624
- * @name CreateLoanDocumentBuckets
1625
- * @summary Create
1626
- * @request POST:/api/loans/{loanId}/documents/buckets
2686
+ * @tags LoanDocumentFolders
2687
+ * @name SearchLoanDocumentFolders
2688
+ * @summary Search loan document folders for the current account
2689
+ * @request POST:/api/loan-document-folders/search
2690
+ * @secure
2691
+ * @response `200` `LoanDocumentFolderPaginated` OK
2692
+ */
2693
+ searchLoanDocumentFolders: (data, query, params = {}) => this.request(Object.assign({ path: `/api/loan-document-folders/search`, method: "POST", query: query, body: data, secure: true, type: "application/json", format: "json" }, params)),
2694
+ /**
2695
+ * No description
2696
+ *
2697
+ * @tags LoanDocumentFolders
2698
+ * @name GetLoanDocumentFolderById
2699
+ * @summary Get a loan document folder by ID
2700
+ * @request GET:/api/loan-document-folders/{id}
2701
+ * @secure
2702
+ * @response `200` `LoanDocumentFolder` OK
2703
+ * @response `404` `ProblemDetails` Not Found
2704
+ */
2705
+ getLoanDocumentFolderById: (id, params = {}) => this.request(Object.assign({ path: `/api/loan-document-folders/${id}`, method: "GET", secure: true, format: "json" }, params)),
2706
+ /**
2707
+ * No description
2708
+ *
2709
+ * @tags LoanDocumentFolders
2710
+ * @name UpdateLoanDocumentFolder
2711
+ * @summary Update a loan document folder. Blocked when folder has ever been referenced, except for permission edits on the system-default Unassigned folder.
2712
+ * @request PUT:/api/loan-document-folders/{id}
2713
+ * @secure
2714
+ * @response `200` `LoanDocumentFolder` OK
2715
+ * @response `400` `ProblemDetails` Bad Request
2716
+ * @response `404` `ProblemDetails` Not Found
2717
+ * @response `409` `ProblemDetails` Conflict
2718
+ * @response `422` `ProblemDetails` Unprocessable Content
2719
+ */
2720
+ 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)),
2721
+ /**
2722
+ * No description
2723
+ *
2724
+ * @tags LoanDocumentFolders
2725
+ * @name DeleteLoanDocumentFolder
2726
+ * @summary Delete a loan document folder. Allowed only when the folder has never been referenced and is not the system-default Unassigned folder.
2727
+ * @request DELETE:/api/loan-document-folders/{id}
2728
+ * @secure
2729
+ * @response `204` `void` No Content
2730
+ * @response `400` `ProblemDetails` Bad Request
2731
+ * @response `404` `ProblemDetails` Not Found
2732
+ * @response `409` `ProblemDetails` Conflict
2733
+ */
2734
+ deleteLoanDocumentFolder: (id, params = {}) => this.request(Object.assign({ path: `/api/loan-document-folders/${id}`, method: "DELETE", secure: true }, params)),
2735
+ /**
2736
+ * No description
2737
+ *
2738
+ * @tags LoanDocumentFolders
2739
+ * @name CreateLoanDocumentFolder
2740
+ * @summary Create a loan document folder
2741
+ * @request POST:/api/loan-document-folders
2742
+ * @secure
2743
+ * @response `201` `LoanDocumentFolder` Created
2744
+ * @response `409` `ProblemDetails` Conflict
2745
+ * @response `422` `ProblemDetails` Unprocessable Content
2746
+ */
2747
+ createLoanDocumentFolder: (data, params = {}) => this.request(Object.assign({ path: `/api/loan-document-folders`, method: "POST", body: data, secure: true, type: "application/json", format: "json" }, params)),
2748
+ /**
2749
+ * No description
2750
+ *
2751
+ * @tags LoanDocumentFolders
2752
+ * @name DeactivateLoanDocumentFolder
2753
+ * @summary Deactivate a loan document folder. Rejected for the system-default Unassigned folder.
2754
+ * @request POST:/api/loan-document-folders/{id}/deactivate
2755
+ * @secure
2756
+ * @response `204` `void` No Content
2757
+ * @response `400` `ProblemDetails` Bad Request
2758
+ * @response `404` `ProblemDetails` Not Found
2759
+ */
2760
+ deactivateLoanDocumentFolder: (id, params = {}) => this.request(Object.assign({ path: `/api/loan-document-folders/${id}/deactivate`, method: "POST", secure: true }, params)),
2761
+ /**
2762
+ * No description
2763
+ *
2764
+ * @tags LoanDocumentFolders
2765
+ * @name ReactivateLoanDocumentFolder
2766
+ * @summary Reactivate a loan document folder.
2767
+ * @request POST:/api/loan-document-folders/{id}/reactivate
2768
+ * @secure
2769
+ * @response `204` `void` No Content
2770
+ * @response `404` `ProblemDetails` Not Found
2771
+ */
2772
+ reactivateLoanDocumentFolder: (id, params = {}) => this.request(Object.assign({ path: `/api/loan-document-folders/${id}/reactivate`, method: "POST", secure: true }, params)),
2773
+ /**
2774
+ * No description
2775
+ *
2776
+ * @tags LoanDocumentFolders
2777
+ * @name GetLoanDocumentFolderUsage
2778
+ * @summary Get folder usage. Returns HasEverBeenReferenced including soft-deleted documents and tasks.
2779
+ * @request GET:/api/loan-document-folders/{id}/usage
2780
+ * @secure
2781
+ * @response `200` `LoanDocumentFolderUsage` OK
2782
+ * @response `404` `ProblemDetails` Not Found
2783
+ */
2784
+ getLoanDocumentFolderUsage: (id, params = {}) => this.request(Object.assign({ path: `/api/loan-document-folders/${id}/usage`, method: "GET", secure: true, format: "json" }, params)),
2785
+ /**
2786
+ * @description Returns each folder that holds at least one document the caller can read, with the document count per folder. Documents that are not assigned to a folder are returned as a synthetic 'Unassigned' folder (ID = empty GUID).
2787
+ *
2788
+ * @tags LoanDocumentFoldersForSingleLoan
2789
+ * @name ListLoanDocumentFolders
2790
+ * @summary Get the loan's document folders
2791
+ * @request GET:/api/loans/{loanId}/document-folders
2792
+ * @secure
2793
+ * @response `200` `(LoanDocumentFolderWithCount)[]` OK
2794
+ */
2795
+ listLoanDocumentFolders: (loanId, params = {}) => this.request(Object.assign({ path: `/api/loans/${loanId}/document-folders`, method: "GET", secure: true, format: "json" }, params)),
2796
+ /**
2797
+ * @description Deprecated — use GET documents/folders. Returns all documents grouped by folder for sidebar display. Use folderNamesOnly=true to get a simplified response with folder names and counts for mobile (Files array will be empty).
2798
+ *
2799
+ * @tags LoanDocumentFoldersForSingleLoan
2800
+ * @name GetLoanDocumentFolders
2801
+ * @summary [Deprecated] Get document folder hierarchy
2802
+ * @request POST:/api/loans/{loanId}/documents/folders
2803
+ * @deprecated
1627
2804
  * @secure
1628
- * @response `201` `(string)[]` Created
2805
+ * @response `200` `(DocumentFolder)[]` OK
1629
2806
  */
1630
- createLoanDocumentBuckets: (loanId, data, params = {}) => this.request(Object.assign({ path: `/api/loans/${loanId}/documents/buckets`, method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
2807
+ 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)),
1631
2808
  /**
1632
2809
  * No description
1633
2810
  *
@@ -1636,7 +2813,7 @@ export class Api extends HttpClient {
1636
2813
  * @summary Get By ID
1637
2814
  * @request GET:/api/loans/{loanId}/documents/{documentId}
1638
2815
  * @secure
1639
- * @response `200` `LoanDocument` Success
2816
+ * @response `200` `LoanDocument` OK
1640
2817
  * @response `404` `ProblemDetails` Not Found
1641
2818
  */
1642
2819
  getLoanDocument: (loanId, documentId, query, params = {}) => this.request(Object.assign({ path: `/api/loans/${loanId}/documents/${documentId}`, method: "GET", query: query, secure: true, format: "json" }, params)),
@@ -1644,24 +2821,25 @@ export class Api extends HttpClient {
1644
2821
  * No description
1645
2822
  *
1646
2823
  * @tags LoanDocuments
1647
- * @name SearchLoanDocuments
1648
- * @summary Search loan documents
1649
- * @request POST:/api/loans/{loanId}/documents/search
2824
+ * @name GetLoanDocumentPreviews
2825
+ * @summary Get document previews in batch
2826
+ * @request POST:/api/loans/{loanId}/documents/previews
1650
2827
  * @secure
1651
- * @response `200` `LoanDocumentSearchPaginated` Success
2828
+ * @response `200` `Record<string,string>` OK
2829
+ * @response `400` `ProblemDetails` Bad Request
1652
2830
  */
1653
- searchLoanDocuments: (loanId, data, query, params = {}) => this.request(Object.assign({ path: `/api/loans/${loanId}/documents/search`, method: "POST", query: query, body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
2831
+ 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)),
1654
2832
  /**
1655
- * @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).
2833
+ * No description
1656
2834
  *
1657
2835
  * @tags LoanDocuments
1658
- * @name GetLoanDocumentFolders
1659
- * @summary Get document folder hierarchy
1660
- * @request POST:/api/loans/{loanId}/documents/folders
2836
+ * @name SearchLoanDocuments
2837
+ * @summary Search loan documents
2838
+ * @request POST:/api/loans/{loanId}/documents/search
1661
2839
  * @secure
1662
- * @response `200` `(DocumentFolder)[]` Success
2840
+ * @response `200` `LoanDocumentSearchPaginated` OK
1663
2841
  */
1664
- getLoanDocumentFolders: (loanId, data, query, params = {}) => this.request(Object.assign({ path: `/api/loans/${loanId}/documents/folders`, method: "POST", query: query, body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
2842
+ 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)),
1665
2843
  /**
1666
2844
  * No description
1667
2845
  *
@@ -1670,7 +2848,7 @@ export class Api extends HttpClient {
1670
2848
  * @summary Download By ID
1671
2849
  * @request GET:/api/loans/{loanId}/documents/{documentId}/download
1672
2850
  * @secure
1673
- * @response `200` `string` Success
2851
+ * @response `200` `Blob` OK
1674
2852
  * @response `404` `ProblemDetails` Not Found
1675
2853
  */
1676
2854
  downloadLoanDocument: (loanId, documentId, params = {}) => this.request(Object.assign({ path: `/api/loans/${loanId}/documents/${documentId}/download`, method: "GET", secure: true, format: "json" }, params)),
@@ -1684,9 +2862,9 @@ export class Api extends HttpClient {
1684
2862
  * @secure
1685
2863
  * @response `201` `LoanDocument` Created
1686
2864
  * @response `404` `ProblemDetails` Not Found
1687
- * @response `422` `UnprocessableEntity` Client Error
2865
+ * @response `422` `UnprocessableEntity` Unprocessable Content
1688
2866
  */
1689
- createLoanDocument: (loanId, data, params = {}) => this.request(Object.assign({ path: `/api/loans/${loanId}/documents`, method: "POST", body: data, secure: true, type: ContentType.FormData, format: "json" }, params)),
2867
+ 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)),
1690
2868
  /**
1691
2869
  * No description
1692
2870
  *
@@ -1695,9 +2873,9 @@ export class Api extends HttpClient {
1695
2873
  * @summary Retry
1696
2874
  * @request POST:/api/loans/{loanId}/documents/{documentId}/retry
1697
2875
  * @secure
1698
- * @response `200` `LoanDocument` Success
2876
+ * @response `200` `LoanDocument` OK
1699
2877
  * @response `404` `ProblemDetails` Not Found
1700
- * @response `422` `UnprocessableEntity` Client Error
2878
+ * @response `422` `UnprocessableEntity` Unprocessable Content
1701
2879
  */
1702
2880
  retryFailedLoanDocument: (loanId, documentId, params = {}) => this.request(Object.assign({ path: `/api/loans/${loanId}/documents/${documentId}/retry`, method: "POST", secure: true, format: "json" }, params)),
1703
2881
  /**
@@ -1708,9 +2886,9 @@ export class Api extends HttpClient {
1708
2886
  * @summary Generate PDF Document
1709
2887
  * @request POST:/api/loans/{loanId}/documents/generate
1710
2888
  * @secure
1711
- * @response `200` `DocumentDataRequest` Success
2889
+ * @response `200` `DocumentDataRequest` OK
1712
2890
  */
1713
- generateLoanDocument: (loanId, data, params = {}) => this.request(Object.assign({ path: `/api/loans/${loanId}/documents/generate`, method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
2891
+ 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)),
1714
2892
  /**
1715
2893
  * No description
1716
2894
  *
@@ -1719,11 +2897,11 @@ export class Api extends HttpClient {
1719
2897
  * @summary Send existing documents to loan users or external emails
1720
2898
  * @request POST:/api/loans/{loanId}/documents/distribute
1721
2899
  * @secure
1722
- * @response `200` `void` Success
2900
+ * @response `200` `void` OK
1723
2901
  * @response `400` `ProblemDetails` Bad Request
1724
2902
  * @response `404` `ProblemDetails` Not Found
1725
2903
  */
1726
- sendLoanDocuments: (loanId, data, params = {}) => this.request(Object.assign({ path: `/api/loans/${loanId}/documents/distribute`, method: "POST", body: data, secure: true, type: ContentType.Json }, params)),
2904
+ sendLoanDocuments: (loanId, data, params = {}) => this.request(Object.assign({ path: `/api/loans/${loanId}/documents/distribute`, method: "POST", body: data, secure: true, type: "application/json" }, params)),
1727
2905
  /**
1728
2906
  * @description Fetches all documents from Encompass that don't exist locally and stores them in S3
1729
2907
  *
@@ -1732,10 +2910,23 @@ export class Api extends HttpClient {
1732
2910
  * @summary Sync documents from LOS
1733
2911
  * @request POST:/api/loans/{loanId}/documents/sync
1734
2912
  * @secure
1735
- * @response `200` `DocumentSync` Success
2913
+ * @response `200` `DocumentSync` OK
1736
2914
  * @response `404` `ProblemDetails` Not Found
1737
2915
  */
1738
2916
  syncLoanDocumentsFromLos: (loanId, params = {}) => this.request(Object.assign({ path: `/api/loans/${loanId}/documents/sync`, method: "POST", secure: true, format: "json" }, params)),
2917
+ /**
2918
+ * No description
2919
+ *
2920
+ * @tags LoanDocuments
2921
+ * @name ClassifyLoanDocumentManually
2922
+ * @summary Manually classify a loan document
2923
+ * @request POST:/api/loans/{loanId}/documents/{documentId}/classify-manual
2924
+ * @secure
2925
+ * @response `200` `LoanDocument` OK
2926
+ * @response `404` `ProblemDetails` Not Found
2927
+ * @response `422` `UnprocessableEntity` Unprocessable Content
2928
+ */
2929
+ 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)),
1739
2930
  /**
1740
2931
  * @description Re-attempts to push a failed document to LOS
1741
2932
  *
@@ -1744,9 +2935,9 @@ export class Api extends HttpClient {
1744
2935
  * @summary Retry syncing a document to LOS
1745
2936
  * @request POST:/api/loans/{loanId}/documents/{documentId}/sync/retry
1746
2937
  * @secure
1747
- * @response `200` `void` Success
2938
+ * @response `200` `void` OK
1748
2939
  * @response `404` `ProblemDetails` Not Found
1749
- * @response `423` `ProblemDetails` Client Error
2940
+ * @response `423` `ProblemDetails` Locked
1750
2941
  */
1751
2942
  retrySyncLoanDocumentToLos: (loanId, documentId, params = {}) => this.request(Object.assign({ path: `/api/loans/${loanId}/documents/${documentId}/sync/retry`, method: "POST", secure: true }, params)),
1752
2943
  /**
@@ -1759,7 +2950,7 @@ export class Api extends HttpClient {
1759
2950
  * @secure
1760
2951
  * @response `201` `Draft` Created
1761
2952
  */
1762
- createLoanDraft: (data, params = {}) => this.request(Object.assign({ path: `/api/loans/drafts`, method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
2953
+ createLoanDraft: (data, params = {}) => this.request(Object.assign({ path: `/api/loans/drafts`, method: "POST", body: data, secure: true, type: "application/json", format: "json" }, params)),
1763
2954
  /**
1764
2955
  * No description
1765
2956
  *
@@ -1768,7 +2959,7 @@ export class Api extends HttpClient {
1768
2959
  * @summary Get All
1769
2960
  * @request GET:/api/loans/drafts
1770
2961
  * @secure
1771
- * @response `200` `(DraftContent)[]` Success
2962
+ * @response `200` `(DraftContent)[]` OK
1772
2963
  */
1773
2964
  getLoanDrafts: (params = {}) => this.request(Object.assign({ path: `/api/loans/drafts`, method: "GET", secure: true, format: "json" }, params)),
1774
2965
  /**
@@ -1779,7 +2970,7 @@ export class Api extends HttpClient {
1779
2970
  * @summary Get by ID
1780
2971
  * @request GET:/api/loans/drafts/{draftId}
1781
2972
  * @secure
1782
- * @response `200` `DraftContent` Success
2973
+ * @response `200` `DraftContent` OK
1783
2974
  */
1784
2975
  getLoanDraft: (draftId, params = {}) => this.request(Object.assign({ path: `/api/loans/drafts/${draftId}`, method: "GET", secure: true, format: "json" }, params)),
1785
2976
  /**
@@ -1790,9 +2981,9 @@ export class Api extends HttpClient {
1790
2981
  * @summary Replace
1791
2982
  * @request PUT:/api/loans/drafts/{draftId}
1792
2983
  * @secure
1793
- * @response `200` `Draft` Success
2984
+ * @response `200` `Draft` OK
1794
2985
  */
1795
- replaceLoanDraft: (draftId, data, params = {}) => this.request(Object.assign({ path: `/api/loans/drafts/${draftId}`, method: "PUT", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
2986
+ 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)),
1796
2987
  /**
1797
2988
  * No description
1798
2989
  *
@@ -1814,7 +3005,7 @@ export class Api extends HttpClient {
1814
3005
  * @secure
1815
3006
  * @response `201` `DraftContentPaginated` Created
1816
3007
  */
1817
- searchLoanDrafts: (data, query, params = {}) => this.request(Object.assign({ path: `/api/loans/drafts/search`, method: "POST", query: query, body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
3008
+ 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)),
1818
3009
  /**
1819
3010
  * No description
1820
3011
  *
@@ -1823,9 +3014,9 @@ export class Api extends HttpClient {
1823
3014
  * @summary Reassign Loan officer
1824
3015
  * @request PUT:/api/loans/drafts/{draftId}/reassign
1825
3016
  * @secure
1826
- * @response `200` `Draft` Success
3017
+ * @response `200` `Draft` OK
1827
3018
  */
1828
- reassignLoanOfficer: (draftId, data, params = {}) => this.request(Object.assign({ path: `/api/loans/drafts/${draftId}/reassign`, method: "PUT", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
3019
+ 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)),
1829
3020
  /**
1830
3021
  * No description
1831
3022
  *
@@ -1834,7 +3025,7 @@ export class Api extends HttpClient {
1834
3025
  * @summary Restore deleted draft
1835
3026
  * @request POST:/api/loans/drafts/{draftId}/restore
1836
3027
  * @secure
1837
- * @response `200` `Draft` Success
3028
+ * @response `200` `Draft` OK
1838
3029
  */
1839
3030
  restoreLoanDraft: (draftId, params = {}) => this.request(Object.assign({ path: `/api/loans/drafts/${draftId}/restore`, method: "POST", secure: true, format: "json" }, params)),
1840
3031
  /**
@@ -1845,7 +3036,7 @@ export class Api extends HttpClient {
1845
3036
  * @summary Get Loan Imports
1846
3037
  * @request GET:/api/loan-imports
1847
3038
  * @secure
1848
- * @response `200` `LoanImportPaginated` Success
3039
+ * @response `200` `LoanImportPaginated` OK
1849
3040
  */
1850
3041
  getLoanImports: (query, params = {}) => this.request(Object.assign({ path: `/api/loan-imports`, method: "GET", query: query, secure: true, format: "json" }, params)),
1851
3042
  /**
@@ -1858,7 +3049,7 @@ export class Api extends HttpClient {
1858
3049
  * @secure
1859
3050
  * @response `201` `LoanImport` Created
1860
3051
  */
1861
- createLoanImport: (data, params = {}) => this.request(Object.assign({ path: `/api/loan-imports`, method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
3052
+ createLoanImport: (data, params = {}) => this.request(Object.assign({ path: `/api/loan-imports`, method: "POST", body: data, secure: true, type: "application/json", format: "json" }, params)),
1862
3053
  /**
1863
3054
  * No description
1864
3055
  *
@@ -1867,7 +3058,7 @@ export class Api extends HttpClient {
1867
3058
  * @summary Get Loan Import
1868
3059
  * @request GET:/api/loan-imports/{id}
1869
3060
  * @secure
1870
- * @response `200` `LoanImport` Success
3061
+ * @response `200` `LoanImport` OK
1871
3062
  */
1872
3063
  getLoanImport: (id, params = {}) => this.request(Object.assign({ path: `/api/loan-imports/${id}`, method: "GET", secure: true, format: "json" }, params)),
1873
3064
  /**
@@ -1878,7 +3069,7 @@ export class Api extends HttpClient {
1878
3069
  * @summary Get Loan Import Logs
1879
3070
  * @request GET:/api/loan-imports/{id}/logs
1880
3071
  * @secure
1881
- * @response `200` `LoanImportLogPaginated` Success
3072
+ * @response `200` `LoanImportLogPaginated` OK
1882
3073
  */
1883
3074
  getLoanImportLogs: (id, query, params = {}) => this.request(Object.assign({ path: `/api/loan-imports/${id}/logs`, method: "GET", query: query, secure: true, format: "json" }, params)),
1884
3075
  /**
@@ -1889,7 +3080,7 @@ export class Api extends HttpClient {
1889
3080
  * @summary Get Invites
1890
3081
  * @request GET:/api/loans/{loanId}/invites
1891
3082
  * @secure
1892
- * @response `200` `(Invite)[]` Success
3083
+ * @response `200` `(Invite)[]` OK
1893
3084
  * @response `404` `ProblemDetails` Not Found
1894
3085
  */
1895
3086
  getLoanInvites: (loanId, params = {}) => this.request(Object.assign({ path: `/api/loans/${loanId}/invites`, method: "GET", secure: true, format: "json" }, params)),
@@ -1901,10 +3092,10 @@ export class Api extends HttpClient {
1901
3092
  * @summary Invite Contacts
1902
3093
  * @request POST:/api/loans/{loanId}/invites
1903
3094
  * @secure
1904
- * @response `200` `(Invite)[]` Success
3095
+ * @response `200` `(Invite)[]` OK
1905
3096
  * @response `404` `ProblemDetails` Not Found
1906
3097
  */
1907
- inviteLoanContacts: (loanId, data, params = {}) => this.request(Object.assign({ path: `/api/loans/${loanId}/invites`, method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
3098
+ 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)),
1908
3099
  /**
1909
3100
  * No description
1910
3101
  *
@@ -1913,9 +3104,47 @@ export class Api extends HttpClient {
1913
3104
  * @summary Search loan logs
1914
3105
  * @request POST:/api/loans/{loanId}/logs/search
1915
3106
  * @secure
1916
- * @response `200` `LoanLogPaginated` Success
3107
+ * @response `200` `LoanLogPaginated` OK
3108
+ */
3109
+ 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)),
3110
+ /**
3111
+ * No description
3112
+ *
3113
+ * @tags LoanLogs
3114
+ * @name GetLoanLogById
3115
+ * @summary Get loan log by ID
3116
+ * @request GET:/api/loans/{loanId}/logs/{loanLogId}
3117
+ * @secure
3118
+ * @response `200` `LoanLogDetail` OK
3119
+ * @response `404` `ProblemDetails` Not Found
3120
+ */
3121
+ getLoanLogById: (loanId, loanLogId, params = {}) => this.request(Object.assign({ path: `/api/loans/${loanId}/logs/${loanLogId}`, method: "GET", secure: true, format: "json" }, params)),
3122
+ /**
3123
+ * No description
3124
+ *
3125
+ * @tags LoanNotification
3126
+ * @name SendLoanOptInReminder
3127
+ * @summary Send Loan Opt-In Reminder
3128
+ * @request POST:/api/loans/{loanID}/notifications/opt-in-reminders
3129
+ * @secure
3130
+ * @response `204` `void` No Content
3131
+ * @response `400` `ProblemDetails` Bad Request
3132
+ * @response `404` `ProblemDetails` Not Found
3133
+ */
3134
+ 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)),
3135
+ /**
3136
+ * No description
3137
+ *
3138
+ * @tags LoanNotification
3139
+ * @name SendESignatureReminder
3140
+ * @summary Send eSignature Reminder
3141
+ * @request POST:/api/loans/{loanID}/notifications/esignature-reminders
3142
+ * @secure
3143
+ * @response `204` `void` No Content
3144
+ * @response `400` `ProblemDetails` Bad Request
3145
+ * @response `404` `ProblemDetails` Not Found
1917
3146
  */
1918
- searchLoanLogs: (loanId, data, query, params = {}) => this.request(Object.assign({ path: `/api/loans/${loanId}/logs/search`, method: "POST", query: query, body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
3147
+ 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)),
1919
3148
  /**
1920
3149
  * No description
1921
3150
  *
@@ -1924,7 +3153,7 @@ export class Api extends HttpClient {
1924
3153
  * @summary Get All
1925
3154
  * @request GET:/api/loan-officers
1926
3155
  * @secure
1927
- * @response `200` `BranchUserPaginated` Success
3156
+ * @response `200` `BranchUserPaginated` OK
1928
3157
  */
1929
3158
  getLoanOfficers: (query, params = {}) => this.request(Object.assign({ path: `/api/loan-officers`, method: "GET", query: query, secure: true, format: "json" }, params)),
1930
3159
  /**
@@ -1935,9 +3164,9 @@ export class Api extends HttpClient {
1935
3164
  * @summary Search
1936
3165
  * @request POST:/api/loan-officers/search
1937
3166
  * @secure
1938
- * @response `200` `BranchUserPaginated` Success
3167
+ * @response `200` `BranchUserPaginated` OK
1939
3168
  */
1940
- searchLoanOfficers: (data, query, params = {}) => this.request(Object.assign({ path: `/api/loan-officers/search`, method: "POST", query: query, body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
3169
+ 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)),
1941
3170
  /**
1942
3171
  * No description
1943
3172
  *
@@ -1946,7 +3175,7 @@ export class Api extends HttpClient {
1946
3175
  * @summary Get by ID
1947
3176
  * @request GET:/api/loan-officers/{id}
1948
3177
  * @secure
1949
- * @response `200` `BranchUser` Success
3178
+ * @response `200` `BranchUser` OK
1950
3179
  */
1951
3180
  getLoanOfficer: (id, params = {}) => this.request(Object.assign({ path: `/api/loan-officers/${id}`, method: "GET", secure: true, format: "json" }, params)),
1952
3181
  /**
@@ -1957,10 +3186,10 @@ export class Api extends HttpClient {
1957
3186
  * @summary Create Site Configuration
1958
3187
  * @request POST:/api/loan-officers/{loanOfficerId}/site-configurations
1959
3188
  * @secure
1960
- * @response `200` `SiteConfiguration` Success
1961
- * @response `422` `UnprocessableEntity` Client Error
3189
+ * @response `200` `SiteConfiguration` OK
3190
+ * @response `422` `UnprocessableEntity` Unprocessable Content
1962
3191
  */
1963
- createLoanOfficerSiteConfiguration: (loanOfficerId, data, params = {}) => this.request(Object.assign({ path: `/api/loan-officers/${loanOfficerId}/site-configurations`, method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
3192
+ 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)),
1964
3193
  /**
1965
3194
  * No description
1966
3195
  *
@@ -1969,7 +3198,7 @@ export class Api extends HttpClient {
1969
3198
  * @summary Get Site Configuration
1970
3199
  * @request GET:/api/loan-officers/{loanOfficerId}/site-configurations/{siteConfigurationId}
1971
3200
  * @secure
1972
- * @response `200` `SiteConfigurationWithInherited` Success
3201
+ * @response `200` `SiteConfigurationWithInherited` OK
1973
3202
  */
1974
3203
  getLoanOfficerSiteConfiguration: (loanOfficerId, siteConfigurationId, params = {}) => this.request(Object.assign({ path: `/api/loan-officers/${loanOfficerId}/site-configurations/${siteConfigurationId}`, method: "GET", secure: true, format: "json" }, params)),
1975
3204
  /**
@@ -1980,10 +3209,10 @@ export class Api extends HttpClient {
1980
3209
  * @summary Replace Site Configuration
1981
3210
  * @request PUT:/api/loan-officers/{loanOfficerId}/site-configurations/{siteConfigurationId}
1982
3211
  * @secure
1983
- * @response `200` `SiteConfiguration` Success
1984
- * @response `422` `UnprocessableEntity` Client Error
3212
+ * @response `200` `SiteConfiguration` OK
3213
+ * @response `422` `UnprocessableEntity` Unprocessable Content
1985
3214
  */
1986
- replaceLoanOfficerSiteConfiguration: (loanOfficerId, siteConfigurationId, data, query, params = {}) => this.request(Object.assign({ path: `/api/loan-officers/${loanOfficerId}/site-configurations/${siteConfigurationId}`, method: "PUT", query: query, body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
3215
+ 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)),
1987
3216
  /**
1988
3217
  * No description
1989
3218
  *
@@ -1992,9 +3221,9 @@ export class Api extends HttpClient {
1992
3221
  * @summary Search
1993
3222
  * @request POST:/api/loans/queue/search
1994
3223
  * @secure
1995
- * @response `200` `LoanQueuePaginated` Success
3224
+ * @response `200` `LoanQueuePaginated` OK
1996
3225
  */
1997
- searchLoanQueue: (data, query, params = {}) => this.request(Object.assign({ path: `/api/loans/queue/search`, method: "POST", query: query, body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
3226
+ 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)),
1998
3227
  /**
1999
3228
  * No description
2000
3229
  *
@@ -2003,7 +3232,7 @@ export class Api extends HttpClient {
2003
3232
  * @summary Get Loan Queue Record
2004
3233
  * @request GET:/api/loans/queue/{loanQueueId}
2005
3234
  * @secure
2006
- * @response `200` `any` Success
3235
+ * @response `200` `any` OK
2007
3236
  * @response `404` `ProblemDetails` Not Found
2008
3237
  */
2009
3238
  getLoanQueue: (loanQueueId, params = {}) => this.request(Object.assign({ path: `/api/loans/queue/${loanQueueId}`, method: "GET", secure: true, format: "json" }, params)),
@@ -2015,10 +3244,10 @@ export class Api extends HttpClient {
2015
3244
  * @summary Replace Loan Queue Record
2016
3245
  * @request PUT:/api/loans/queue/{loanQueueId}
2017
3246
  * @secure
2018
- * @response `200` `LoanQueueWithData` Success
3247
+ * @response `200` `LoanQueueWithData` OK
2019
3248
  * @response `404` `ProblemDetails` Not Found
2020
3249
  */
2021
- replaceLoanQueue: (loanQueueId, data, params = {}) => this.request(Object.assign({ path: `/api/loans/queue/${loanQueueId}`, method: "PUT", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
3250
+ 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)),
2022
3251
  /**
2023
3252
  * No description
2024
3253
  *
@@ -2051,7 +3280,7 @@ export class Api extends HttpClient {
2051
3280
  * @summary Get By ID
2052
3281
  * @request GET:/api/loans/{loanID}
2053
3282
  * @secure
2054
- * @response `200` `Loan` Success
3283
+ * @response `200` `Loan` OK
2055
3284
  * @response `404` `ProblemDetails` Not Found
2056
3285
  */
2057
3286
  getLoan: (loanId, params = {}) => this.request(Object.assign({ path: `/api/loans/${loanId}`, method: "GET", secure: true, format: "json" }, params)),
@@ -2063,7 +3292,7 @@ export class Api extends HttpClient {
2063
3292
  * @summary Get Loans
2064
3293
  * @request GET:/api/loans
2065
3294
  * @secure
2066
- * @response `200` `GetApplications` Success
3295
+ * @response `200` `GetApplications` OK
2067
3296
  */
2068
3297
  getLoans: (params = {}) => this.request(Object.assign({ path: `/api/loans`, method: "GET", secure: true, format: "json" }, params)),
2069
3298
  /**
@@ -2079,7 +3308,7 @@ export class Api extends HttpClient {
2079
3308
  * @response `401` `ProblemDetails` Unauthorized
2080
3309
  * @response `403` `ProblemDetails` Forbidden
2081
3310
  */
2082
- createLoanv3: (data, params = {}) => this.request(Object.assign({ path: `/api/loans`, method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
3311
+ createLoanv3: (data, params = {}) => this.request(Object.assign({ path: `/api/loans`, method: "POST", body: data, secure: true, type: "application/json", format: "json" }, params)),
2083
3312
  /**
2084
3313
  * No description
2085
3314
  *
@@ -2088,9 +3317,9 @@ export class Api extends HttpClient {
2088
3317
  * @summary Search
2089
3318
  * @request POST:/api/loans/search
2090
3319
  * @secure
2091
- * @response `200` `LoanListPaginated` Success
3320
+ * @response `200` `LoanListPaginated` OK
2092
3321
  */
2093
- searchLoans: (data, query, params = {}) => this.request(Object.assign({ path: `/api/loans/search`, method: "POST", query: query, body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
3322
+ 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)),
2094
3323
  /**
2095
3324
  * No description
2096
3325
  *
@@ -2099,14 +3328,14 @@ export class Api extends HttpClient {
2099
3328
  * @summary Update loan fields
2100
3329
  * @request PATCH:/api/loans/{loanId}
2101
3330
  * @secure
2102
- * @response `200` `Loan` Success
3331
+ * @response `200` `Loan` OK
2103
3332
  * @response `400` `any` Bad Request
2104
3333
  * @response `401` `ProblemDetails` Unauthorized
2105
3334
  * @response `403` `ProblemDetails` Forbidden
2106
3335
  * @response `404` `ProblemDetails` Not Found
2107
3336
  * @response `409` `any` Conflict
2108
3337
  */
2109
- updateLoan: (loanId, data, params = {}) => this.request(Object.assign({ path: `/api/loans/${loanId}`, method: "PATCH", body: data, secure: true, format: "json" }, params)),
3338
+ updateLoan: (loanId, data, params = {}) => this.request(Object.assign({ path: `/api/loans/${loanId}`, method: "PATCH", body: data, secure: true, type: "application/json", format: "json" }, params)),
2110
3339
  /**
2111
3340
  * No description
2112
3341
  *
@@ -2128,9 +3357,47 @@ export class Api extends HttpClient {
2128
3357
  * @summary Import from LOS
2129
3358
  * @request POST:/api/loans/import-from-los/{loanId}
2130
3359
  * @secure
2131
- * @response `200` `Loan` Success
3360
+ * @response `200` `Loan` OK
2132
3361
  */
2133
3362
  importLoanFromLos: (loanId, params = {}) => this.request(Object.assign({ path: `/api/loans/import-from-los/${loanId}`, method: "POST", secure: true, format: "json" }, params)),
3363
+ /**
3364
+ * No description
3365
+ *
3366
+ * @tags Loans
3367
+ * @name SyncLoanToLos
3368
+ * @summary Sync loan to LOS
3369
+ * @request POST:/api/loans/{loanId}/sync-to-los
3370
+ * @secure
3371
+ * @response `202` `void` Accepted
3372
+ * @response `404` `ProblemDetails` Not Found
3373
+ */
3374
+ syncLoanToLos: (loanId, params = {}) => this.request(Object.assign({ path: `/api/loans/${loanId}/sync-to-los`, method: "POST", secure: true }, params)),
3375
+ /**
3376
+ * No description
3377
+ *
3378
+ * @tags Loans
3379
+ * @name GetLoanOutstandingItems
3380
+ * @summary Get outstanding items
3381
+ * @request GET:/api/loans/{loanId}/outstanding-items
3382
+ * @secure
3383
+ * @response `200` `LoanOutstandingItems` OK
3384
+ * @response `401` `ProblemDetails` Unauthorized
3385
+ * @response `403` `ProblemDetails` Forbidden
3386
+ */
3387
+ getLoanOutstandingItems: (loanId, params = {}) => this.request(Object.assign({ path: `/api/loans/${loanId}/outstanding-items`, method: "GET", secure: true, format: "json" }, params)),
3388
+ /**
3389
+ * No description
3390
+ *
3391
+ * @tags Loans
3392
+ * @name TriggerAso
3393
+ * @summary Trigger ASO services
3394
+ * @request POST:/api/loans/{loanId}/aso
3395
+ * @secure
3396
+ * @response `200` `AutomatedService` OK
3397
+ * @response `400` `ProblemDetails` Bad Request
3398
+ * @response `404` `ProblemDetails` Not Found
3399
+ */
3400
+ 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)),
2134
3401
  /**
2135
3402
  * No description
2136
3403
  *
@@ -2139,10 +3406,10 @@ export class Api extends HttpClient {
2139
3406
  * @summary Search
2140
3407
  * @request POST:/api/loans/{loanId}/tasks/{userLoanTaskId}/comments/search
2141
3408
  * @secure
2142
- * @response `200` `TaskCommentPaginated` Success
3409
+ * @response `200` `TaskCommentPaginated` OK
2143
3410
  * @response `404` `ProblemDetails` Not Found
2144
3411
  */
2145
- searchLoanTaskComments: (loanId, userLoanTaskId, data, query, params = {}) => this.request(Object.assign({ path: `/api/loans/${loanId}/tasks/${userLoanTaskId}/comments/search`, method: "POST", query: query, body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
3412
+ 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)),
2146
3413
  /**
2147
3414
  * No description
2148
3415
  *
@@ -2151,7 +3418,7 @@ export class Api extends HttpClient {
2151
3418
  * @summary Get by ID
2152
3419
  * @request GET:/api/loans/{loanId}/tasks/{userLoanTaskId}/comments/{id}
2153
3420
  * @secure
2154
- * @response `200` `TaskComment` Success
3421
+ * @response `200` `TaskComment` OK
2155
3422
  * @response `404` `ProblemDetails` Not Found
2156
3423
  */
2157
3424
  getLoanTaskComment: (id, loanId, userLoanTaskId, params = {}) => this.request(Object.assign({ path: `/api/loans/${loanId}/tasks/${userLoanTaskId}/comments/${id}`, method: "GET", secure: true, format: "json" }, params)),
@@ -2166,7 +3433,7 @@ export class Api extends HttpClient {
2166
3433
  * @response `201` `TaskComment` Created
2167
3434
  * @response `404` `ProblemDetails` Not Found
2168
3435
  */
2169
- createLoanTaskComment: (loanId, userLoanTaskId, data, params = {}) => this.request(Object.assign({ path: `/api/loans/${loanId}/tasks/${userLoanTaskId}/comments`, method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
3436
+ 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)),
2170
3437
  /**
2171
3438
  * No description
2172
3439
  *
@@ -2175,10 +3442,10 @@ export class Api extends HttpClient {
2175
3442
  * @summary Replace
2176
3443
  * @request PUT:/api/loans/{loanId}/tasks/{userLoanTaskId}/comments/{commentId}
2177
3444
  * @secure
2178
- * @response `200` `TaskComment` Success
3445
+ * @response `200` `TaskComment` OK
2179
3446
  * @response `404` `ProblemDetails` Not Found
2180
3447
  */
2181
- replaceLoanTaskComment: (loanId, userLoanTaskId, commentId, data, params = {}) => this.request(Object.assign({ path: `/api/loans/${loanId}/tasks/${userLoanTaskId}/comments/${commentId}`, method: "PUT", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
3448
+ 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)),
2182
3449
  /**
2183
3450
  * No description
2184
3451
  *
@@ -2201,61 +3468,99 @@ export class Api extends HttpClient {
2201
3468
  * @secure
2202
3469
  * @response `201` `UserLoanTask` Created
2203
3470
  * @response `404` `ProblemDetails` Not Found
2204
- * @response `422` `UnprocessableEntity` Client Error
3471
+ * @response `422` `UnprocessableEntity` Unprocessable Content
2205
3472
  */
2206
- createLoanTaskDocument: (loanId, loanTaskId, data, params = {}) => this.request(Object.assign({ path: `/api/loans/${loanId}/tasks/${loanTaskId}/documents`, method: "POST", body: data, secure: true, type: ContentType.FormData, format: "json" }, params)),
3473
+ 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)),
2207
3474
  /**
2208
3475
  * No description
2209
3476
  *
2210
- * @tags LoanTaskDocuments
2211
- * @name CreateLoanTaskDocumentBucket
2212
- * @summary Create Bucket
2213
- * @request POST:/api/loans/{loanID}/tasks/{loanTaskId}/documents/bucket
3477
+ * @tags LoanTaskNotifications
3478
+ * @name SendOutstandingLoanTaskNotification
3479
+ * @summary Send Outstanding Task Notification
3480
+ * @request POST:/api/loans/{loanID}/tasks/reminders/outstanding
2214
3481
  * @secure
2215
- * @response `204` `UserLoanTask` No Content
2216
- * @response `422` `UnprocessableEntity` Client Error
3482
+ * @response `204` `void` No Content
3483
+ * @response `400` `ProblemDetails` Bad Request
3484
+ * @response `404` `ProblemDetails` Not Found
3485
+ * @response `422` `ProblemDetails` Unprocessable Content
2217
3486
  */
2218
- createLoanTaskDocumentBucket: (loanId, loanTaskId, params = {}) => this.request(Object.assign({ path: `/api/loans/${loanId}/tasks/${loanTaskId}/documents/bucket`, method: "POST", secure: true, format: "json" }, params)),
3487
+ 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)),
2219
3488
  /**
2220
3489
  * No description
2221
3490
  *
3491
+ * @tags LoanTaskNotifications
3492
+ * @name SendLoanTaskReminder
3493
+ * @summary Send Loan Task Reminder
3494
+ * @request POST:/api/loans/{loanID}/tasks/reminders
3495
+ * @secure
3496
+ * @response `204` `void` No Content
3497
+ * @response `400` `ProblemDetails` Bad Request
3498
+ * @response `404` `ProblemDetails` Not Found
3499
+ */
3500
+ sendLoanTaskReminder: (loanId, data, params = {}) => this.request(Object.assign({ path: `/api/loans/${loanId}/tasks/reminders`, method: "POST", body: data, secure: true, type: "application/json" }, params)),
3501
+ /**
3502
+ * @description Search tasks across all loans
3503
+ *
3504
+ * @tags LoanTasks
3505
+ * @name SearchLoanTasks
3506
+ * @summary Search
3507
+ * @request POST:/api/loans/tasks/search
3508
+ * @secure
3509
+ * @response `200` `UserLoanTaskPaginated` OK
3510
+ */
3511
+ 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)),
3512
+ /**
3513
+ * @description Returns task counts grouped by status for loans accessible to the current user based on their role
3514
+ *
2222
3515
  * @tags LoanTasks
3516
+ * @name SearchLoanTasksSummary
3517
+ * @summary Search Summary
3518
+ * @request POST:/api/loans/tasks/search/summary
3519
+ * @secure
3520
+ * @response `200` `(LoanTaskStatusSummary)[]` OK
3521
+ * @response `422` `UnprocessableEntity` Unprocessable Content
3522
+ */
3523
+ 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)),
3524
+ /**
3525
+ * No description
3526
+ *
3527
+ * @tags LoanTasksForSingleLoan
2223
3528
  * @name GetLoanTasks
2224
3529
  * @summary Get All
2225
3530
  * @request GET:/api/loans/{loanID}/tasks
2226
3531
  * @secure
2227
- * @response `200` `(UserLoanTask)[]` Success
3532
+ * @response `200` `(UserLoanTask)[]` OK
2228
3533
  * @response `404` `ProblemDetails` Not Found
2229
3534
  */
2230
3535
  getLoanTasks: (loanId, params = {}) => this.request(Object.assign({ path: `/api/loans/${loanId}/tasks`, method: "GET", secure: true, format: "json" }, params)),
2231
3536
  /**
2232
3537
  * No description
2233
3538
  *
2234
- * @tags LoanTasks
3539
+ * @tags LoanTasksForSingleLoan
2235
3540
  * @name GetLoanTask
2236
3541
  * @summary Get by ID
2237
3542
  * @request GET:/api/loans/{loanID}/tasks/{id}
2238
3543
  * @secure
2239
- * @response `200` `UserLoanTask` Success
3544
+ * @response `200` `UserLoanTask` OK
2240
3545
  * @response `404` `ProblemDetails` Not Found
2241
3546
  */
2242
3547
  getLoanTask: (id, loanId, params = {}) => this.request(Object.assign({ path: `/api/loans/${loanId}/tasks/${id}`, method: "GET", secure: true, format: "json" }, params)),
2243
3548
  /**
2244
3549
  * @description Get the difference between the current loan tasks and the tasks generated by business rules
2245
3550
  *
2246
- * @tags LoanTasks
3551
+ * @tags LoanTasksForSingleLoan
2247
3552
  * @name GetLoanTaskDifference
2248
3553
  * @summary Get Difference
2249
3554
  * @request GET:/api/loans/{loanID}/tasks/diff
2250
3555
  * @secure
2251
- * @response `200` `(UserLoanTask)[]` Success
3556
+ * @response `200` `(UserLoanTask)[]` OK
2252
3557
  * @response `404` `ProblemDetails` Not Found
2253
3558
  */
2254
3559
  getLoanTaskDifference: (loanId, params = {}) => this.request(Object.assign({ path: `/api/loans/${loanId}/tasks/diff`, method: "GET", secure: true, format: "json" }, params)),
2255
3560
  /**
2256
3561
  * No description
2257
3562
  *
2258
- * @tags LoanTasks
3563
+ * @tags LoanTasksForSingleLoan
2259
3564
  * @name CreateLoanTask
2260
3565
  * @summary Create
2261
3566
  * @request POST:/api/loans/{loanID}/tasks/{taskID}
@@ -2263,11 +3568,11 @@ export class Api extends HttpClient {
2263
3568
  * @response `201` `UserLoanTask` Created
2264
3569
  * @response `404` `ProblemDetails` Not Found
2265
3570
  */
2266
- createLoanTask: (loanId, taskId, data, params = {}) => this.request(Object.assign({ path: `/api/loans/${loanId}/tasks/${taskId}`, method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
3571
+ 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)),
2267
3572
  /**
2268
3573
  * No description
2269
3574
  *
2270
- * @tags LoanTasks
3575
+ * @tags LoanTasksForSingleLoan
2271
3576
  * @name ImportLoanTask
2272
3577
  * @summary Import
2273
3578
  * @request POST:/api/loans/{loanID}/tasks/import
@@ -2275,23 +3580,23 @@ export class Api extends HttpClient {
2275
3580
  * @response `201` `(UserLoanTask)[]` Created
2276
3581
  * @response `404` `ProblemDetails` Not Found
2277
3582
  */
2278
- importLoanTask: (loanId, data, params = {}) => this.request(Object.assign({ path: `/api/loans/${loanId}/tasks/import`, method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
3583
+ 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)),
2279
3584
  /**
2280
3585
  * No description
2281
3586
  *
2282
- * @tags LoanTasks
3587
+ * @tags LoanTasksForSingleLoan
2283
3588
  * @name ReplaceLoanTask
2284
3589
  * @summary Replace
2285
3590
  * @request PUT:/api/loans/{loanID}/tasks/{userLoanTaskID}
2286
3591
  * @secure
2287
- * @response `200` `UserLoanTask` Success
3592
+ * @response `200` `UserLoanTask` OK
2288
3593
  * @response `404` `ProblemDetails` Not Found
2289
3594
  */
2290
- replaceLoanTask: (loanId, userLoanTaskId, data, params = {}) => this.request(Object.assign({ path: `/api/loans/${loanId}/tasks/${userLoanTaskId}`, method: "PUT", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
3595
+ 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)),
2291
3596
  /**
2292
3597
  * No description
2293
3598
  *
2294
- * @tags LoanTasks
3599
+ * @tags LoanTasksForSingleLoan
2295
3600
  * @name DeleteLoanTask
2296
3601
  * @summary Delete
2297
3602
  * @request DELETE:/api/loans/{loanID}/tasks/{userLoanTaskID}
@@ -2300,18 +3605,6 @@ export class Api extends HttpClient {
2300
3605
  * @response `404` `ProblemDetails` Not Found
2301
3606
  */
2302
3607
  deleteLoanTask: (loanId, userLoanTaskId, params = {}) => this.request(Object.assign({ path: `/api/loans/${loanId}/tasks/${userLoanTaskId}`, method: "DELETE", secure: true }, params)),
2303
- /**
2304
- * No description
2305
- *
2306
- * @tags LoanTasks
2307
- * @name SendOutstandingLoanTaskNotification
2308
- * @summary Send Outstanding Task Notification
2309
- * @request POST:/api/loans/{loanID}/tasks/reminders/outstanding
2310
- * @secure
2311
- * @response `204` `void` No Content
2312
- * @response `404` `ProblemDetails` Not Found
2313
- */
2314
- sendOutstandingLoanTaskNotification: (loanId, params = {}) => this.request(Object.assign({ path: `/api/loans/${loanId}/tasks/reminders/outstanding`, method: "POST", secure: true }, params)),
2315
3608
  /**
2316
3609
  * No description
2317
3610
  *
@@ -2320,9 +3613,9 @@ export class Api extends HttpClient {
2320
3613
  * @summary Create
2321
3614
  * @request POST:/api/loans/{loanID}/tasks/{loanTaskId}/verifications
2322
3615
  * @secure
2323
- * @response `200` `UserLoanTask` Success
3616
+ * @response `200` `UserLoanTask` OK
2324
3617
  * @response `404` `ProblemDetails` Not Found
2325
- * @response `422` `UnprocessableEntity` Client Error
3618
+ * @response `422` `UnprocessableEntity` Unprocessable Content
2326
3619
  */
2327
3620
  createLoanTaskVerification: (loanId, loanTaskId, params = {}) => this.request(Object.assign({ path: `/api/loans/${loanId}/tasks/${loanTaskId}/verifications`, method: "POST", secure: true, format: "json" }, params)),
2328
3621
  /**
@@ -2333,7 +3626,8 @@ export class Api extends HttpClient {
2333
3626
  * @summary Get User Loan Consents
2334
3627
  * @request GET:/api/loans/{loanId}/users/{userId}/consents
2335
3628
  * @secure
2336
- * @response `200` `(UserLoanConsent)[]` Success
3629
+ * @response `200` `(UserLoanConsent)[]` OK
3630
+ * @response `403` `ProblemDetails` Forbidden
2337
3631
  */
2338
3632
  getLoanUserConsents: (loanId, userId, params = {}) => this.request(Object.assign({ path: `/api/loans/${loanId}/users/${userId}/consents`, method: "GET", secure: true, format: "json" }, params)),
2339
3633
  /**
@@ -2344,7 +3638,7 @@ export class Api extends HttpClient {
2344
3638
  * @summary Get Loan User
2345
3639
  * @request GET:/api/loans/{loanId}/users/{userId}
2346
3640
  * @secure
2347
- * @response `200` `LoanUser` Success
3641
+ * @response `200` `LoanUser` OK
2348
3642
  */
2349
3643
  getLoanUser: (loanId, userId, params = {}) => this.request(Object.assign({ path: `/api/loans/${loanId}/users/${userId}`, method: "GET", secure: true, format: "json" }, params)),
2350
3644
  /**
@@ -2357,7 +3651,7 @@ export class Api extends HttpClient {
2357
3651
  * @secure
2358
3652
  * @response `201` `LoanUser` Created
2359
3653
  */
2360
- addLoanUser: (loanId, userId, data, params = {}) => this.request(Object.assign({ path: `/api/loans/${loanId}/users/${userId}`, method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
3654
+ 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)),
2361
3655
  /**
2362
3656
  * No description
2363
3657
  *
@@ -2380,6 +3674,57 @@ export class Api extends HttpClient {
2380
3674
  * @response `204` `void` No Content
2381
3675
  */
2382
3676
  sendLoanUserInviteReminderNotification: (loanId, userId, params = {}) => this.request(Object.assign({ path: `/api/loans/${loanId}/users/${userId}/invite-reminder`, method: "POST", secure: true }, params)),
3677
+ /**
3678
+ * No description
3679
+ *
3680
+ * @tags LosOperationTracking
3681
+ * @name SearchLosOperationTracking
3682
+ * @summary Search LOS operation tracking
3683
+ * @request POST:/api/los-operation-tracking/search
3684
+ * @secure
3685
+ * @response `200` `LosOperationTrackingPaginated` OK
3686
+ */
3687
+ 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)),
3688
+ /**
3689
+ * No description
3690
+ *
3691
+ * @tags LosSyncFailures
3692
+ * @name SearchInboundSyncFailures
3693
+ * @summary Search cross-account failed inbound Encompass syncs (SuperAdmin)
3694
+ * @request POST:/api/monitoring/inbound-sync-failures/search
3695
+ * @secure
3696
+ * @response `200` `LosSyncPaginated` OK
3697
+ * @response `401` `ProblemDetails` Unauthorized
3698
+ * @response `403` `ProblemDetails` Forbidden
3699
+ */
3700
+ searchInboundSyncFailures: (data, query, params = {}) => this.request(Object.assign({ path: `/api/monitoring/inbound-sync-failures/search`, method: "POST", query: query, body: data, secure: true, type: "application/json", format: "json" }, params)),
3701
+ /**
3702
+ * No description
3703
+ *
3704
+ * @tags LosSyncFailures
3705
+ * @name GetInboundSyncFailuresSummary
3706
+ * @summary Summarize cross-account failed inbound Encompass syncs (SuperAdmin)
3707
+ * @request POST:/api/monitoring/inbound-sync-failures/summary
3708
+ * @secure
3709
+ * @response `200` `LosSyncFailuresSummary` OK
3710
+ * @response `401` `ProblemDetails` Unauthorized
3711
+ * @response `403` `ProblemDetails` Forbidden
3712
+ */
3713
+ getInboundSyncFailuresSummary: (data, query, params = {}) => this.request(Object.assign({ path: `/api/monitoring/inbound-sync-failures/summary`, method: "POST", query: query, body: data, secure: true, type: "application/json", format: "json" }, params)),
3714
+ /**
3715
+ * No description
3716
+ *
3717
+ * @tags LosSyncFailures
3718
+ * @name RedriveInboundSyncFailure
3719
+ * @summary Manually re-drive a failed inbound Encompass sync (SuperAdmin)
3720
+ * @request POST:/api/monitoring/inbound-sync-failures/{correlationId}/redrive
3721
+ * @secure
3722
+ * @response `202` `void` Accepted
3723
+ * @response `401` `ProblemDetails` Unauthorized
3724
+ * @response `403` `ProblemDetails` Forbidden
3725
+ * @response `404` `ProblemDetails` Not Found
3726
+ */
3727
+ redriveInboundSyncFailure: (correlationId, query, params = {}) => this.request(Object.assign({ path: `/api/monitoring/inbound-sync-failures/${correlationId}/redrive`, method: "POST", query: query, secure: true }, params)),
2383
3728
  /**
2384
3729
  * No description
2385
3730
  *
@@ -2388,7 +3733,7 @@ export class Api extends HttpClient {
2388
3733
  * @summary Get All
2389
3734
  * @request GET:/api/milestones
2390
3735
  * @secure
2391
- * @response `200` `(MilestoneConfiguration)[]` Success
3736
+ * @response `200` `(MilestoneConfiguration)[]` OK
2392
3737
  */
2393
3738
  getMilestones: (params = {}) => this.request(Object.assign({ path: `/api/milestones`, method: "GET", secure: true, format: "json" }, params)),
2394
3739
  /**
@@ -2400,9 +3745,9 @@ export class Api extends HttpClient {
2400
3745
  * @request POST:/api/milestones
2401
3746
  * @secure
2402
3747
  * @response `201` `MilestoneConfiguration` Created
2403
- * @response `422` `UnprocessableEntity` Client Error
3748
+ * @response `422` `UnprocessableEntity` Unprocessable Content
2404
3749
  */
2405
- createMilestone: (data, params = {}) => this.request(Object.assign({ path: `/api/milestones`, method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
3750
+ createMilestone: (data, params = {}) => this.request(Object.assign({ path: `/api/milestones`, method: "POST", body: data, secure: true, type: "application/json", format: "json" }, params)),
2406
3751
  /**
2407
3752
  * No description
2408
3753
  *
@@ -2411,7 +3756,7 @@ export class Api extends HttpClient {
2411
3756
  * @summary Get By ID
2412
3757
  * @request GET:/api/milestones/{id}
2413
3758
  * @secure
2414
- * @response `200` `MilestoneConfiguration` Success
3759
+ * @response `200` `MilestoneConfiguration` OK
2415
3760
  * @response `404` `Error` Not Found
2416
3761
  */
2417
3762
  getMilestone: (id, params = {}) => this.request(Object.assign({ path: `/api/milestones/${id}`, method: "GET", secure: true, format: "json" }, params)),
@@ -2423,11 +3768,11 @@ export class Api extends HttpClient {
2423
3768
  * @summary Replace
2424
3769
  * @request PUT:/api/milestones/{id}
2425
3770
  * @secure
2426
- * @response `200` `MilestoneConfiguration` Success
3771
+ * @response `200` `MilestoneConfiguration` OK
2427
3772
  * @response `404` `Error` Not Found
2428
- * @response `422` `UnprocessableEntity` Client Error
3773
+ * @response `422` `UnprocessableEntity` Unprocessable Content
2429
3774
  */
2430
- replaceMilestone: (id, data, params = {}) => this.request(Object.assign({ path: `/api/milestones/${id}`, method: "PUT", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
3775
+ replaceMilestone: (id, data, params = {}) => this.request(Object.assign({ path: `/api/milestones/${id}`, method: "PUT", body: data, secure: true, type: "application/json", format: "json" }, params)),
2431
3776
  /**
2432
3777
  * No description
2433
3778
  *
@@ -2440,6 +3785,20 @@ export class Api extends HttpClient {
2440
3785
  * @response `404` `Error` Not Found
2441
3786
  */
2442
3787
  deleteMilestone: (id, params = {}) => this.request(Object.assign({ path: `/api/milestones/${id}`, method: "DELETE", secure: true }, params)),
3788
+ /**
3789
+ * No description
3790
+ *
3791
+ * @tags MobileAppReview
3792
+ * @name SeedMobileAppReview
3793
+ * @summary Idempotently seed the test loan officer, site configuration, loan and completed borrower used by mobile app store reviewers.
3794
+ * @request POST:/api/mobile-app-review/seed
3795
+ * @secure
3796
+ * @response `200` `MobileAppReviewSeed` OK
3797
+ * @response `400` `ProblemDetails` Bad Request
3798
+ * @response `404` `ProblemDetails` Not Found
3799
+ * @response `422` `ProblemDetails` Unprocessable Content
3800
+ */
3801
+ 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)),
2443
3802
  /**
2444
3803
  * No description
2445
3804
  *
@@ -2448,10 +3807,10 @@ export class Api extends HttpClient {
2448
3807
  * @summary Calculate Monthly Payment
2449
3808
  * @request POST:/api/mortgage-calculators/monthly-payment
2450
3809
  * @secure
2451
- * @response `200` `MonthlyPaymentCalculator` Success
2452
- * @response `422` `ProblemDetails` Client Error
3810
+ * @response `200` `MonthlyPaymentCalculator` OK
3811
+ * @response `422` `ProblemDetails` Unprocessable Content
2453
3812
  */
2454
- calculateMortgageMonthlyPayment: (data, params = {}) => this.request(Object.assign({ path: `/api/mortgage-calculators/monthly-payment`, method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
3813
+ 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)),
2455
3814
  /**
2456
3815
  * No description
2457
3816
  *
@@ -2460,10 +3819,10 @@ export class Api extends HttpClient {
2460
3819
  * @summary Calculate Affordability
2461
3820
  * @request POST:/api/mortgage-calculators/affordability
2462
3821
  * @secure
2463
- * @response `200` `AffordabilityCalculator` Success
2464
- * @response `422` `ProblemDetails` Client Error
3822
+ * @response `200` `AffordabilityCalculator` OK
3823
+ * @response `422` `ProblemDetails` Unprocessable Content
2465
3824
  */
2466
- calculateMortgageAffordability: (data, params = {}) => this.request(Object.assign({ path: `/api/mortgage-calculators/affordability`, method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
3825
+ calculateMortgageAffordability: (data, params = {}) => this.request(Object.assign({ path: `/api/mortgage-calculators/affordability`, method: "POST", body: data, secure: true, type: "application/json", format: "json" }, params)),
2467
3826
  /**
2468
3827
  * No description
2469
3828
  *
@@ -2472,10 +3831,10 @@ export class Api extends HttpClient {
2472
3831
  * @summary Calculate Loan Comparison
2473
3832
  * @request POST:/api/mortgage-calculators/loan-comparison
2474
3833
  * @secure
2475
- * @response `200` `LoanComparisonCalculator` Success
2476
- * @response `422` `ProblemDetails` Client Error
3834
+ * @response `200` `LoanComparisonCalculator` OK
3835
+ * @response `422` `ProblemDetails` Unprocessable Content
2477
3836
  */
2478
- calculateMortgageLoanComparison: (data, params = {}) => this.request(Object.assign({ path: `/api/mortgage-calculators/loan-comparison`, method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
3837
+ 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)),
2479
3838
  /**
2480
3839
  * No description
2481
3840
  *
@@ -2484,34 +3843,10 @@ export class Api extends HttpClient {
2484
3843
  * @summary Calculate Refinance
2485
3844
  * @request POST:/api/mortgage-calculators/refinance
2486
3845
  * @secure
2487
- * @response `200` `RefinanceCalculator` Success
2488
- * @response `422` `ProblemDetails` Client Error
2489
- */
2490
- calculateMortgageRefinance: (data, params = {}) => this.request(Object.assign({ path: `/api/mortgage-calculators/refinance`, method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
2491
- /**
2492
- * No description
2493
- *
2494
- * @tags Notifications
2495
- * @name SendNotificationForLoan
2496
- * @summary Send Notification for Loan
2497
- * @request POST:/api/notifications
2498
- * @secure
2499
- * @response `200` `void` Success
2500
- * @response `422` `UnprocessableEntity` Client Error
2501
- */
2502
- sendNotificationForLoan: (data, params = {}) => this.request(Object.assign({ path: `/api/notifications`, method: "POST", body: data, secure: true, type: ContentType.Json }, params)),
2503
- /**
2504
- * No description
2505
- *
2506
- * @tags Notifications
2507
- * @name SendTestNotificationForLoan
2508
- * @summary Send Test Notification for Loan
2509
- * @request POST:/api/notifications/test
2510
- * @secure
2511
- * @response `200` `void` Success
2512
- * @response `422` `UnprocessableEntity` Client Error
3846
+ * @response `200` `RefinanceCalculator` OK
3847
+ * @response `422` `ProblemDetails` Unprocessable Content
2513
3848
  */
2514
- sendTestNotificationForLoan: (data, params = {}) => this.request(Object.assign({ path: `/api/notifications/test`, method: "POST", body: data, secure: true, type: ContentType.Json }, params)),
3849
+ calculateMortgageRefinance: (data, params = {}) => this.request(Object.assign({ path: `/api/mortgage-calculators/refinance`, method: "POST", body: data, secure: true, type: "application/json", format: "json" }, params)),
2515
3850
  /**
2516
3851
  * No description
2517
3852
  *
@@ -2520,7 +3855,7 @@ export class Api extends HttpClient {
2520
3855
  * @summary Get All
2521
3856
  * @request GET:/api/notification-templates
2522
3857
  * @secure
2523
- * @response `200` `(NotificationTemplateBase)[]` Success
3858
+ * @response `200` `(NotificationTemplateBase)[]` OK
2524
3859
  */
2525
3860
  getNotificationTemplates: (query, params = {}) => this.request(Object.assign({ path: `/api/notification-templates`, method: "GET", query: query, secure: true, format: "json" }, params)),
2526
3861
  /**
@@ -2532,9 +3867,20 @@ export class Api extends HttpClient {
2532
3867
  * @request POST:/api/notification-templates
2533
3868
  * @secure
2534
3869
  * @response `201` `NotificationTemplate` Created
2535
- * @response `422` `UnprocessableEntity` Client Error
3870
+ * @response `422` `UnprocessableEntity` Unprocessable Content
2536
3871
  */
2537
- createNotificationTemplate: (data, params = {}) => this.request(Object.assign({ path: `/api/notification-templates`, method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
3872
+ createNotificationTemplate: (data, params = {}) => this.request(Object.assign({ path: `/api/notification-templates`, method: "POST", body: data, secure: true, type: "application/json", format: "json" }, params)),
3873
+ /**
3874
+ * No description
3875
+ *
3876
+ * @tags NotificationTemplates
3877
+ * @name SearchNotificationTemplates
3878
+ * @summary Search
3879
+ * @request POST:/api/notification-templates/search
3880
+ * @secure
3881
+ * @response `200` `NotificationTemplateBasePaginated` OK
3882
+ */
3883
+ 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)),
2538
3884
  /**
2539
3885
  * No description
2540
3886
  *
@@ -2543,7 +3889,7 @@ export class Api extends HttpClient {
2543
3889
  * @summary Get by ID
2544
3890
  * @request GET:/api/notification-templates/{id}
2545
3891
  * @secure
2546
- * @response `200` `NotificationTemplate` Success
3892
+ * @response `200` `NotificationTemplate` OK
2547
3893
  */
2548
3894
  getNotificationTemplate: (id, params = {}) => this.request(Object.assign({ path: `/api/notification-templates/${id}`, method: "GET", secure: true, format: "json" }, params)),
2549
3895
  /**
@@ -2554,10 +3900,10 @@ export class Api extends HttpClient {
2554
3900
  * @summary Replace
2555
3901
  * @request PUT:/api/notification-templates/{id}
2556
3902
  * @secure
2557
- * @response `200` `NotificationTemplate` Success
2558
- * @response `422` `UnprocessableEntity` Client Error
3903
+ * @response `200` `NotificationTemplate` OK
3904
+ * @response `422` `UnprocessableEntity` Unprocessable Content
2559
3905
  */
2560
- replaceNotificationTemplate: (id, data, params = {}) => this.request(Object.assign({ path: `/api/notification-templates/${id}`, method: "PUT", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
3906
+ 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)),
2561
3907
  /**
2562
3908
  * No description
2563
3909
  *
@@ -2577,7 +3923,7 @@ export class Api extends HttpClient {
2577
3923
  * @summary Restore
2578
3924
  * @request POST:/api/notification-templates/{id}/restore
2579
3925
  * @secure
2580
- * @response `200` `NotificationTemplate` Success
3926
+ * @response `200` `NotificationTemplate` OK
2581
3927
  */
2582
3928
  restoreNotificationTemplate: (id, params = {}) => this.request(Object.assign({ path: `/api/notification-templates/${id}/restore`, method: "POST", secure: true, format: "json" }, params)),
2583
3929
  /**
@@ -2588,7 +3934,7 @@ export class Api extends HttpClient {
2588
3934
  * @summary Get All
2589
3935
  * @request GET:/api/notification-templates/{notificationId}/versions
2590
3936
  * @secure
2591
- * @response `200` `(NotificationTemplateVersion)[]` Success
3937
+ * @response `200` `(NotificationTemplateVersion)[]` OK
2592
3938
  */
2593
3939
  getNotificationTemplateVersions: (notificationId, params = {}) => this.request(Object.assign({ path: `/api/notification-templates/${notificationId}/versions`, method: "GET", secure: true, format: "json" }, params)),
2594
3940
  /**
@@ -2599,9 +3945,9 @@ export class Api extends HttpClient {
2599
3945
  * @summary Create
2600
3946
  * @request POST:/api/notification-templates/{notificationId}/versions
2601
3947
  * @secure
2602
- * @response `200` `NotificationTemplateVersion` Success
3948
+ * @response `200` `NotificationTemplateVersion` OK
2603
3949
  */
2604
- createNotificationTemplateVersion: (notificationId, data, params = {}) => this.request(Object.assign({ path: `/api/notification-templates/${notificationId}/versions`, method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
3950
+ 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)),
2605
3951
  /**
2606
3952
  * No description
2607
3953
  *
@@ -2610,7 +3956,7 @@ export class Api extends HttpClient {
2610
3956
  * @summary Get by ID
2611
3957
  * @request GET:/api/notification-templates/{notificationId}/versions/{id}
2612
3958
  * @secure
2613
- * @response `200` `NotificationTemplateVersion` Success
3959
+ * @response `200` `NotificationTemplateVersion` OK
2614
3960
  */
2615
3961
  getNotificationTemplateVersion: (notificationId, id, params = {}) => this.request(Object.assign({ path: `/api/notification-templates/${notificationId}/versions/${id}`, method: "GET", secure: true, format: "json" }, params)),
2616
3962
  /**
@@ -2621,9 +3967,9 @@ export class Api extends HttpClient {
2621
3967
  * @summary Replace
2622
3968
  * @request PUT:/api/notification-templates/{notificationId}/versions/{id}
2623
3969
  * @secure
2624
- * @response `200` `NotificationTemplateVersion` Success
3970
+ * @response `200` `NotificationTemplateVersion` OK
2625
3971
  */
2626
- replaceNotificationTemplateVersion: (notificationId, id, data, params = {}) => this.request(Object.assign({ path: `/api/notification-templates/${notificationId}/versions/${id}`, method: "PUT", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
3972
+ 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)),
2627
3973
  /**
2628
3974
  * No description
2629
3975
  *
@@ -2632,7 +3978,7 @@ export class Api extends HttpClient {
2632
3978
  * @summary Delete
2633
3979
  * @request DELETE:/api/notification-templates/{notificationId}/versions/{id}
2634
3980
  * @secure
2635
- * @response `200` `NotificationTemplateVersion` Success
3981
+ * @response `200` `NotificationTemplateVersion` OK
2636
3982
  */
2637
3983
  deleteNotificationTemplateVersion: (notificationId, id, params = {}) => this.request(Object.assign({ path: `/api/notification-templates/${notificationId}/versions/${id}`, method: "DELETE", secure: true, format: "json" }, params)),
2638
3984
  /**
@@ -2643,7 +3989,7 @@ export class Api extends HttpClient {
2643
3989
  * @summary Get All
2644
3990
  * @request GET:/api/partners
2645
3991
  * @secure
2646
- * @response `200` `BranchUserPaginated` Success
3992
+ * @response `200` `BranchUserPaginated` OK
2647
3993
  */
2648
3994
  getPartners: (query, params = {}) => this.request(Object.assign({ path: `/api/partners`, method: "GET", query: query, secure: true, format: "json" }, params)),
2649
3995
  /**
@@ -2654,9 +4000,9 @@ export class Api extends HttpClient {
2654
4000
  * @summary Search
2655
4001
  * @request POST:/api/partners/search
2656
4002
  * @secure
2657
- * @response `200` `BranchUserPaginated` Success
4003
+ * @response `200` `BranchUserPaginated` OK
2658
4004
  */
2659
- searchPartners: (data, query, params = {}) => this.request(Object.assign({ path: `/api/partners/search`, method: "POST", query: query, body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
4005
+ 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)),
2660
4006
  /**
2661
4007
  * No description
2662
4008
  *
@@ -2665,7 +4011,7 @@ export class Api extends HttpClient {
2665
4011
  * @summary Get by ID
2666
4012
  * @request GET:/api/partners/{id}
2667
4013
  * @secure
2668
- * @response `200` `BranchUser` Success
4014
+ * @response `200` `BranchUser` OK
2669
4015
  */
2670
4016
  getPartner: (id, params = {}) => this.request(Object.assign({ path: `/api/partners/${id}`, method: "GET", secure: true, format: "json" }, params)),
2671
4017
  /**
@@ -2676,10 +4022,10 @@ export class Api extends HttpClient {
2676
4022
  * @summary Create Site Configuration
2677
4023
  * @request POST:/api/partners/{realtorId}/site-configurations
2678
4024
  * @secure
2679
- * @response `200` `SiteConfiguration` Success
2680
- * @response `422` `UnprocessableEntity` Client Error
4025
+ * @response `200` `SiteConfiguration` OK
4026
+ * @response `422` `UnprocessableEntity` Unprocessable Content
2681
4027
  */
2682
- createPartnerSiteConfiguration: (realtorId, data, params = {}) => this.request(Object.assign({ path: `/api/partners/${realtorId}/site-configurations`, method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
4028
+ 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)),
2683
4029
  /**
2684
4030
  * No description
2685
4031
  *
@@ -2688,7 +4034,7 @@ export class Api extends HttpClient {
2688
4034
  * @summary Get Site Configuration
2689
4035
  * @request GET:/api/partners/{realtorId}/site-configurations/{siteConfigurationId}
2690
4036
  * @secure
2691
- * @response `200` `SiteConfigurationWithInherited` Success
4037
+ * @response `200` `SiteConfigurationWithInherited` OK
2692
4038
  */
2693
4039
  getPartnerSiteConfiguration: (realtorId, siteConfigurationId, params = {}) => this.request(Object.assign({ path: `/api/partners/${realtorId}/site-configurations/${siteConfigurationId}`, method: "GET", secure: true, format: "json" }, params)),
2694
4040
  /**
@@ -2699,10 +4045,10 @@ export class Api extends HttpClient {
2699
4045
  * @summary Replace Site Configuration
2700
4046
  * @request PUT:/api/partners/{realtorId}/site-configurations/{siteConfigurationId}
2701
4047
  * @secure
2702
- * @response `200` `SiteConfiguration` Success
2703
- * @response `422` `UnprocessableEntity` Client Error
4048
+ * @response `200` `SiteConfiguration` OK
4049
+ * @response `422` `UnprocessableEntity` Unprocessable Content
2704
4050
  */
2705
- replacePartnerSiteConfiguration: (realtorId, siteConfigurationId, data, query, params = {}) => this.request(Object.assign({ path: `/api/partners/${realtorId}/site-configurations/${siteConfigurationId}`, method: "PUT", query: query, body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
4051
+ 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)),
2706
4052
  /**
2707
4053
  * No description
2708
4054
  *
@@ -2711,7 +4057,7 @@ export class Api extends HttpClient {
2711
4057
  * @summary Get By ID
2712
4058
  * @request GET:/api/site-configurations/{id}
2713
4059
  * @secure
2714
- * @response `200` `SiteConfiguration` Success
4060
+ * @response `200` `SiteConfiguration` OK
2715
4061
  */
2716
4062
  getSiteConfiguration: (id, params = {}) => this.request(Object.assign({ path: `/api/site-configurations/${id}`, method: "GET", secure: true, format: "json" }, params)),
2717
4063
  /**
@@ -2723,10 +4069,10 @@ export class Api extends HttpClient {
2723
4069
  * @request POST:/api/site-configurations/url
2724
4070
  * @deprecated
2725
4071
  * @secure
2726
- * @response `200` `SiteConfigurationByUrl` Success
2727
- * @response `422` `UnprocessableEntity` Client Error
4072
+ * @response `200` `SiteConfigurationByUrl` OK
4073
+ * @response `422` `UnprocessableEntity` Unprocessable Content
2728
4074
  */
2729
- searchSiteConfigurationByUrl: (data, params = {}) => this.request(Object.assign({ path: `/api/site-configurations/url`, method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
4075
+ searchSiteConfigurationByUrl: (data, params = {}) => this.request(Object.assign({ path: `/api/site-configurations/url`, method: "POST", body: data, secure: true, type: "application/json", format: "json" }, params)),
2730
4076
  /**
2731
4077
  * No description
2732
4078
  *
@@ -2735,8 +4081,8 @@ export class Api extends HttpClient {
2735
4081
  * @summary Get By URL
2736
4082
  * @request GET:/api/site-configurations
2737
4083
  * @secure
2738
- * @response `200` `SiteConfigurationByUrl` Success
2739
- * @response `422` `UnprocessableEntity` Client Error
4084
+ * @response `200` `SiteConfigurationByUrl` OK
4085
+ * @response `422` `UnprocessableEntity` Unprocessable Content
2740
4086
  */
2741
4087
  getSiteConfigurationByUrl: (query, params = {}) => this.request(Object.assign({ path: `/api/site-configurations`, method: "GET", query: query, secure: true, format: "json" }, params)),
2742
4088
  /**
@@ -2748,10 +4094,10 @@ export class Api extends HttpClient {
2748
4094
  * @request POST:/api/site-configurations/louser
2749
4095
  * @deprecated
2750
4096
  * @secure
2751
- * @response `200` `SiteConfiguration` Success
2752
- * @response `422` `UnprocessableEntity` Client Error
4097
+ * @response `200` `SiteConfiguration` OK
4098
+ * @response `422` `UnprocessableEntity` Unprocessable Content
2753
4099
  */
2754
- searchSiteConfigurationByLoanOfficerUser: (data, params = {}) => this.request(Object.assign({ path: `/api/site-configurations/louser`, method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
4100
+ searchSiteConfigurationByLoanOfficerUser: (data, params = {}) => this.request(Object.assign({ path: `/api/site-configurations/louser`, method: "POST", body: data, secure: true, type: "application/json", format: "json" }, params)),
2755
4101
  /**
2756
4102
  * No description
2757
4103
  *
@@ -2760,8 +4106,8 @@ export class Api extends HttpClient {
2760
4106
  * @summary Get By Loan Officer User
2761
4107
  * @request GET:/api/site-configurations/louser/{loUserId}
2762
4108
  * @secure
2763
- * @response `200` `SiteConfiguration` Success
2764
- * @response `422` `UnprocessableEntity` Client Error
4109
+ * @response `200` `SiteConfiguration` OK
4110
+ * @response `422` `UnprocessableEntity` Unprocessable Content
2765
4111
  */
2766
4112
  getSiteConfigurationByLoanOfficerUser: (loUserId, params = {}) => this.request(Object.assign({ path: `/api/site-configurations/louser/${loUserId}`, method: "GET", secure: true, format: "json" }, params)),
2767
4113
  /**
@@ -2772,10 +4118,10 @@ export class Api extends HttpClient {
2772
4118
  * @summary Search
2773
4119
  * @request POST:/api/site-configurations/search
2774
4120
  * @secure
2775
- * @response `200` `SiteConfigurationSummaryPaginated` Success
2776
- * @response `422` `UnprocessableEntity` Client Error
4121
+ * @response `200` `SiteConfigurationSummaryPaginated` OK
4122
+ * @response `422` `UnprocessableEntity` Unprocessable Content
2777
4123
  */
2778
- searchSiteConfigurations: (data, query, params = {}) => this.request(Object.assign({ path: `/api/site-configurations/search`, method: "POST", query: query, body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
4124
+ 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)),
2779
4125
  /**
2780
4126
  * No description
2781
4127
  *
@@ -2784,7 +4130,7 @@ export class Api extends HttpClient {
2784
4130
  * @summary Get Forms by Site Configuration
2785
4131
  * @request GET:/api/site-configurations/{id}/forms
2786
4132
  * @secure
2787
- * @response `200` `(AdminAccessGetForms)[]` Success
4133
+ * @response `200` `(AdminAccessGetForms)[]` OK
2788
4134
  */
2789
4135
  getFormsBySiteConfiguration: (id, params = {}) => this.request(Object.assign({ path: `/api/site-configurations/${id}/forms`, method: "GET", secure: true, format: "json" }, params)),
2790
4136
  /**
@@ -2795,7 +4141,7 @@ export class Api extends HttpClient {
2795
4141
  * @summary Get Saml Metadata
2796
4142
  * @request GET:/api/site-configurations/sso/saml/{ssoIntegration}/metadata
2797
4143
  * @secure
2798
- * @response `200` `File` Success
4144
+ * @response `200` `File` OK
2799
4145
  * @response `404` `ProblemDetails` Not Found
2800
4146
  */
2801
4147
  getSamlMetadata: (sSoIntegration, ssoIntegration, params = {}) => this.request(Object.assign({ path: `/api/site-configurations/sso/saml/${ssoIntegration}/metadata`, method: "GET", secure: true }, params)),
@@ -2807,7 +4153,7 @@ export class Api extends HttpClient {
2807
4153
  * @summary Create or Replace Saml Metadata
2808
4154
  * @request POST:/api/site-configurations/sso/saml/{ssoIntegration}/metadata
2809
4155
  * @secure
2810
- * @response `200` `File` Success
4156
+ * @response `200` `File` OK
2811
4157
  */
2812
4158
  createOrReplaceSamlMetadata: (sSoIntegration, ssoIntegration, params = {}) => this.request(Object.assign({ path: `/api/site-configurations/sso/saml/${ssoIntegration}/metadata`, method: "POST", secure: true }, params)),
2813
4159
  /**
@@ -2818,7 +4164,7 @@ export class Api extends HttpClient {
2818
4164
  * @summary List all site configurations assigned to a workflow
2819
4165
  * @request GET:/api/workflows/{workflowId}/site-configurations
2820
4166
  * @secure
2821
- * @response `200` `(SiteConfigurationForm)[]` Success
4167
+ * @response `200` `(SiteConfigurationForm)[]` OK
2822
4168
  */
2823
4169
  getWorkflowSiteConfigurations: (workflowId, params = {}) => this.request(Object.assign({ path: `/api/workflows/${workflowId}/site-configurations`, method: "GET", secure: true, format: "json" }, params)),
2824
4170
  /**
@@ -2829,7 +4175,7 @@ export class Api extends HttpClient {
2829
4175
  * @summary Get the workflow-site configuration assignment by composite key
2830
4176
  * @request GET:/api/workflows/{workflowId}/site-configurations/{siteConfigurationId}
2831
4177
  * @secure
2832
- * @response `200` `SiteConfigurationForm` Success
4178
+ * @response `200` `SiteConfigurationForm` OK
2833
4179
  * @response `404` `ProblemDetails` Not Found
2834
4180
  */
2835
4181
  getWorkflowSiteConfiguration: (workflowId, siteConfigurationId, params = {}) => this.request(Object.assign({ path: `/api/workflows/${workflowId}/site-configurations/${siteConfigurationId}`, method: "GET", secure: true, format: "json" }, params)),
@@ -2843,7 +4189,7 @@ export class Api extends HttpClient {
2843
4189
  * @secure
2844
4190
  * @response `201` `SiteConfigurationForm` Created
2845
4191
  * @response `409` `ProblemDetails` Conflict
2846
- * @response `422` `UnprocessableEntity` Client Error
4192
+ * @response `422` `UnprocessableEntity` Unprocessable Content
2847
4193
  */
2848
4194
  createWorkflowSiteConfiguration: (workflowId, siteConfigurationId, params = {}) => this.request(Object.assign({ path: `/api/workflows/${workflowId}/site-configurations/${siteConfigurationId}`, method: "POST", secure: true, format: "json" }, params)),
2849
4195
  /**
@@ -2865,9 +4211,87 @@ export class Api extends HttpClient {
2865
4211
  * @summary Get By Site Configuration Slug
2866
4212
  * @request POST:/api/site-forms
2867
4213
  * @secure
2868
- * @response `200` `GetForm` Success
4214
+ * @response `200` `GetForm` OK
4215
+ */
4216
+ getFormBySiteConfigurationSlug: (data, params = {}) => this.request(Object.assign({ path: `/api/site-forms`, method: "POST", body: data, secure: true, type: "application/json", format: "json" }, params)),
4217
+ /**
4218
+ * No description
4219
+ *
4220
+ * @tags SiteTiles
4221
+ * @name SearchSiteTiles
4222
+ * @summary Search Site Tiles
4223
+ * @request POST:/api/site-tiles/search
4224
+ * @secure
4225
+ * @response `200` `SiteTilePaginated` OK
4226
+ * @response `403` `ProblemDetails` Forbidden
4227
+ */
4228
+ searchSiteTiles: (data, query, params = {}) => this.request(Object.assign({ path: `/api/site-tiles/search`, method: "POST", query: query, body: data, secure: true, type: "application/json", format: "json" }, params)),
4229
+ /**
4230
+ * No description
4231
+ *
4232
+ * @tags SiteTiles
4233
+ * @name GetSiteTilesBySiteConfiguration
4234
+ * @summary Get Site Tiles by site configuration and location
4235
+ * @request GET:/api/site-tiles/by-site-configuration
4236
+ * @secure
4237
+ * @response `200` `(SiteTileView)[]` OK
4238
+ * @response `401` `ProblemDetails` Unauthorized
4239
+ * @response `404` `ProblemDetails` Not Found
4240
+ */
4241
+ getSiteTilesBySiteConfiguration: (query, params = {}) => this.request(Object.assign({ path: `/api/site-tiles/by-site-configuration`, method: "GET", query: query, secure: true, format: "json" }, params)),
4242
+ /**
4243
+ * No description
4244
+ *
4245
+ * @tags SiteTiles
4246
+ * @name GetSiteTile
4247
+ * @summary Get Site Tile by ID
4248
+ * @request GET:/api/site-tiles/{siteTileId}
4249
+ * @secure
4250
+ * @response `200` `SiteTile` OK
4251
+ * @response `403` `ProblemDetails` Forbidden
4252
+ * @response `404` `ProblemDetails` Not Found
4253
+ */
4254
+ getSiteTile: (siteTileId, params = {}) => this.request(Object.assign({ path: `/api/site-tiles/${siteTileId}`, method: "GET", secure: true, format: "json" }, params)),
4255
+ /**
4256
+ * No description
4257
+ *
4258
+ * @tags SiteTiles
4259
+ * @name UpdateSiteTile
4260
+ * @summary Update Site Tile
4261
+ * @request PUT:/api/site-tiles/{siteTileId}
4262
+ * @secure
4263
+ * @response `200` `SiteTile` OK
4264
+ * @response `400` `ProblemDetails` Bad Request
4265
+ * @response `403` `ProblemDetails` Forbidden
4266
+ * @response `404` `ProblemDetails` Not Found
4267
+ */
4268
+ updateSiteTile: (siteTileId, data, params = {}) => this.request(Object.assign({ path: `/api/site-tiles/${siteTileId}`, method: "PUT", body: data, secure: true, type: "application/json", format: "json" }, params)),
4269
+ /**
4270
+ * No description
4271
+ *
4272
+ * @tags SiteTiles
4273
+ * @name DeleteSiteTile
4274
+ * @summary Delete Site Tile
4275
+ * @request DELETE:/api/site-tiles/{siteTileId}
4276
+ * @secure
4277
+ * @response `204` `void` No Content
4278
+ * @response `403` `ProblemDetails` Forbidden
4279
+ * @response `404` `ProblemDetails` Not Found
4280
+ */
4281
+ deleteSiteTile: (siteTileId, params = {}) => this.request(Object.assign({ path: `/api/site-tiles/${siteTileId}`, method: "DELETE", secure: true }, params)),
4282
+ /**
4283
+ * No description
4284
+ *
4285
+ * @tags SiteTiles
4286
+ * @name CreateSiteTile
4287
+ * @summary Create Site Tile
4288
+ * @request POST:/api/site-tiles
4289
+ * @secure
4290
+ * @response `201` `SiteTile` Created
4291
+ * @response `400` `ProblemDetails` Bad Request
4292
+ * @response `403` `ProblemDetails` Forbidden
2869
4293
  */
2870
- getFormBySiteConfigurationSlug: (data, params = {}) => this.request(Object.assign({ path: `/api/site-forms`, method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
4294
+ createSiteTile: (data, params = {}) => this.request(Object.assign({ path: `/api/site-tiles`, method: "POST", body: data, secure: true, type: "application/json", format: "json" }, params)),
2871
4295
  /**
2872
4296
  * No description
2873
4297
  *
@@ -2876,7 +4300,7 @@ export class Api extends HttpClient {
2876
4300
  * @summary Get by Users
2877
4301
  * @request GET:/api/surveys
2878
4302
  * @secure
2879
- * @response `200` `(SocialSurveyRecord)[]` Success
4303
+ * @response `200` `(SocialSurveyRecord)[]` OK
2880
4304
  */
2881
4305
  getSurveysByUsers: (query, params = {}) => this.request(Object.assign({ path: `/api/surveys`, method: "GET", query: query, secure: true, format: "json" }, params)),
2882
4306
  /**
@@ -2887,10 +4311,10 @@ export class Api extends HttpClient {
2887
4311
  * @summary Get by User
2888
4312
  * @request POST:/api/surveys
2889
4313
  * @secure
2890
- * @response `200` `(SocialSurveyRecord)[]` Success
2891
- * @response `422` `UnprocessableEntity` Client Error
4314
+ * @response `200` `(SocialSurveyRecord)[]` OK
4315
+ * @response `422` `UnprocessableEntity` Unprocessable Content
2892
4316
  */
2893
- getSurveysByUser: (data, params = {}) => this.request(Object.assign({ path: `/api/surveys`, method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
4317
+ getSurveysByUser: (data, params = {}) => this.request(Object.assign({ path: `/api/surveys`, method: "POST", body: data, secure: true, type: "application/json", format: "json" }, params)),
2894
4318
  /**
2895
4319
  * No description
2896
4320
  *
@@ -2899,7 +4323,7 @@ export class Api extends HttpClient {
2899
4323
  * @summary Get All
2900
4324
  * @request GET:/api/tasks
2901
4325
  * @secure
2902
- * @response `200` `Task` Success
4326
+ * @response `200` `Task` OK
2903
4327
  * @response `404` `ProblemDetails` Not Found
2904
4328
  */
2905
4329
  getTasks: (query, params = {}) => this.request(Object.assign({ path: `/api/tasks`, method: "GET", query: query, secure: true, format: "json" }, params)),
@@ -2913,7 +4337,7 @@ export class Api extends HttpClient {
2913
4337
  * @secure
2914
4338
  * @response `201` `Task` Created
2915
4339
  */
2916
- createTask: (data, params = {}) => this.request(Object.assign({ path: `/api/tasks`, method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
4340
+ createTask: (data, params = {}) => this.request(Object.assign({ path: `/api/tasks`, method: "POST", body: data, secure: true, type: "application/json", format: "json" }, params)),
2917
4341
  /**
2918
4342
  * No description
2919
4343
  *
@@ -2922,7 +4346,7 @@ export class Api extends HttpClient {
2922
4346
  * @summary Get By ID
2923
4347
  * @request GET:/api/tasks/{id}
2924
4348
  * @secure
2925
- * @response `200` `Task` Success
4349
+ * @response `200` `Task` OK
2926
4350
  * @response `404` `ProblemDetails` Not Found
2927
4351
  */
2928
4352
  getTask: (id, params = {}) => this.request(Object.assign({ path: `/api/tasks/${id}`, method: "GET", secure: true, format: "json" }, params)),
@@ -2934,10 +4358,10 @@ export class Api extends HttpClient {
2934
4358
  * @summary Replace
2935
4359
  * @request PUT:/api/tasks/{id}
2936
4360
  * @secure
2937
- * @response `200` `void` Success
4361
+ * @response `200` `Task` OK
2938
4362
  * @response `404` `ProblemDetails` Not Found
2939
4363
  */
2940
- replaceTask: (id, data, params = {}) => this.request(Object.assign({ path: `/api/tasks/${id}`, method: "PUT", body: data, secure: true, type: ContentType.Json }, params)),
4364
+ replaceTask: (id, data, params = {}) => this.request(Object.assign({ path: `/api/tasks/${id}`, method: "PUT", body: data, secure: true, type: "application/json", format: "json" }, params)),
2941
4365
  /**
2942
4366
  * No description
2943
4367
  *
@@ -2958,9 +4382,9 @@ export class Api extends HttpClient {
2958
4382
  * @summary Search
2959
4383
  * @request POST:/api/tasks/search
2960
4384
  * @secure
2961
- * @response `200` `TaskPaginated` Success
4385
+ * @response `200` `TaskPaginated` OK
2962
4386
  */
2963
- searchTasks: (data, query, params = {}) => this.request(Object.assign({ path: `/api/tasks/search`, method: "POST", query: query, body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
4387
+ 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)),
2964
4388
  /**
2965
4389
  * No description
2966
4390
  *
@@ -2968,9 +4392,98 @@ export class Api extends HttpClient {
2968
4392
  * @name IntegrationsLosLoansCreate
2969
4393
  * @request POST:/api/integrations/los/loans
2970
4394
  * @secure
2971
- * @response `200` `void` Success
4395
+ * @response `200` `void` OK
4396
+ */
4397
+ integrationsLosLoansCreate: (data, params = {}) => this.request(Object.assign({ path: `/api/integrations/los/loans`, method: "POST", body: data, secure: true, type: "application/json" }, params)),
4398
+ /**
4399
+ * No description
4400
+ *
4401
+ * @tags TheBigPOS
4402
+ * @name SearchEncompassLogs
4403
+ * @summary Search Encompass Logs
4404
+ * @request POST:/api/los/encompass/logs/{losId}/search
4405
+ * @secure
4406
+ * @response `200` `EncompassRequestLogPaginated` OK
4407
+ */
4408
+ 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)),
4409
+ /**
4410
+ * No description
4411
+ *
4412
+ * @tags TheBigPOS
4413
+ * @name GetEncompassCredentials
4414
+ * @summary Get Encompass Credentials for the current account
4415
+ * @request GET:/api/los/encompass/credentials
4416
+ * @secure
4417
+ * @response `200` `EncompassCredentialsDetail` OK
4418
+ * @response `204` `void` No Content
4419
+ */
4420
+ getEncompassCredentials: (params = {}) => this.request(Object.assign({ path: `/api/los/encompass/credentials`, method: "GET", secure: true, format: "json" }, params)),
4421
+ /**
4422
+ * No description
4423
+ *
4424
+ * @tags TheBigPOS
4425
+ * @name CreateEncompassCredentials
4426
+ * @summary Create Encompass Credentials for the current account
4427
+ * @request POST:/api/los/encompass/credentials
4428
+ * @secure
4429
+ * @response `201` `LosCredentials` Created
4430
+ */
4431
+ createEncompassCredentials: (data, params = {}) => this.request(Object.assign({ path: `/api/los/encompass/credentials`, method: "POST", body: data, secure: true, type: "application/json", format: "json" }, params)),
4432
+ /**
4433
+ * No description
4434
+ *
4435
+ * @tags TheBigPOS
4436
+ * @name UpdateEncompassCredentials
4437
+ * @summary Update Encompass Credentials for the current account
4438
+ * @request PUT:/api/los/encompass/credentials
4439
+ * @secure
4440
+ * @response `200` `EncompassCredentialsDetail` OK
4441
+ */
4442
+ updateEncompassCredentials: (data, params = {}) => this.request(Object.assign({ path: `/api/los/encompass/credentials`, method: "PUT", body: data, secure: true, type: "application/json", format: "json" }, params)),
4443
+ /**
4444
+ * No description
4445
+ *
4446
+ * @tags TheBigPOS
4447
+ * @name GetEncompassWebhooks
4448
+ * @summary Get Encompass webhooks filtered by current domain
4449
+ * @request GET:/api/los/encompass/webhooks
4450
+ * @secure
4451
+ * @response `200` `(LosWebhook)[]` OK
4452
+ */
4453
+ getEncompassWebhooks: (params = {}) => this.request(Object.assign({ path: `/api/los/encompass/webhooks`, method: "GET", secure: true, format: "json" }, params)),
4454
+ /**
4455
+ * No description
4456
+ *
4457
+ * @tags TheBigPOS
4458
+ * @name CreateEncompassWebhook
4459
+ * @summary Register a webhook in Encompass
4460
+ * @request POST:/api/los/encompass/webhooks
4461
+ * @secure
4462
+ * @response `201` `LosWebhook` Created
4463
+ */
4464
+ createEncompassWebhook: (data, params = {}) => this.request(Object.assign({ path: `/api/los/encompass/webhooks`, method: "POST", body: data, secure: true, type: "application/json", format: "json" }, params)),
4465
+ /**
4466
+ * No description
4467
+ *
4468
+ * @tags TheBigPOS
4469
+ * @name DeleteEncompassWebhook
4470
+ * @summary Delete a webhook from Encompass
4471
+ * @request DELETE:/api/los/encompass/webhooks/{webhookId}
4472
+ * @secure
4473
+ * @response `204` `void` No Content
4474
+ */
4475
+ deleteEncompassWebhook: (webhookId, params = {}) => this.request(Object.assign({ path: `/api/los/encompass/webhooks/${webhookId}`, method: "DELETE", secure: true }, params)),
4476
+ /**
4477
+ * No description
4478
+ *
4479
+ * @tags TheBigPOS
4480
+ * @name SearchLosSyncs
4481
+ * @summary Search LOS Sync History
4482
+ * @request POST:/api/los/encompass/syncs/{loanId}/search
4483
+ * @secure
4484
+ * @response `200` `LosSyncPaginated` OK
2972
4485
  */
2973
- integrationsLosLoansCreate: (data, params = {}) => this.request(Object.assign({ path: `/api/integrations/los/loans`, method: "POST", body: data, secure: true, type: ContentType.Json }, params)),
4486
+ 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)),
2974
4487
  /**
2975
4488
  * No description
2976
4489
  *
@@ -2979,7 +4492,7 @@ export class Api extends HttpClient {
2979
4492
  * @summary Get usage report by ID
2980
4493
  * @request GET:/api/usage-reports/{id}
2981
4494
  * @secure
2982
- * @response `200` `UsageReport` Success
4495
+ * @response `200` `UsageReport` OK
2983
4496
  * @response `404` `ProblemDetails` Not Found
2984
4497
  */
2985
4498
  getUsageReportById: (id, params = {}) => this.request(Object.assign({ path: `/api/usage-reports/${id}`, method: "GET", secure: true, format: "json" }, params)),
@@ -2991,7 +4504,7 @@ export class Api extends HttpClient {
2991
4504
  * @summary Get usage reports by month and year
2992
4505
  * @request GET:/api/usage-reports
2993
4506
  * @secure
2994
- * @response `200` `(UsageReport)[]` Success
4507
+ * @response `200` `(UsageReport)[]` OK
2995
4508
  * @response `400` `ProblemDetails` Bad Request
2996
4509
  */
2997
4510
  getUsageReportsByPeriod: (query, params = {}) => this.request(Object.assign({ path: `/api/usage-reports`, method: "GET", query: query, secure: true, format: "json" }, params)),
@@ -3015,7 +4528,7 @@ export class Api extends HttpClient {
3015
4528
  * @summary Get usage report execution dashboard with active execution, recent history, and statistics
3016
4529
  * @request GET:/api/usage-reports/dashboard
3017
4530
  * @secure
3018
- * @response `200` `UsageReportDashboard` Success
4531
+ * @response `200` `UsageReportDashboard` OK
3019
4532
  */
3020
4533
  getUsageReportDashboard: (params = {}) => this.request(Object.assign({ path: `/api/usage-reports/dashboard`, method: "GET", secure: true, format: "json" }, params)),
3021
4534
  /**
@@ -3026,7 +4539,7 @@ export class Api extends HttpClient {
3026
4539
  * @summary Get usage report execution status by correlation ID
3027
4540
  * @request GET:/api/usage-reports/executions/{correlationId}
3028
4541
  * @secure
3029
- * @response `200` `UsageReportExecution` Success
4542
+ * @response `200` `UsageReportExecution` OK
3030
4543
  * @response `404` `ProblemDetails` Not Found
3031
4544
  */
3032
4545
  getUsageReportExecution: (correlationId, params = {}) => this.request(Object.assign({ path: `/api/usage-reports/executions/${correlationId}`, method: "GET", secure: true, format: "json" }, params)),
@@ -3038,7 +4551,7 @@ export class Api extends HttpClient {
3038
4551
  * @summary Get usage report executions by month and year
3039
4552
  * @request GET:/api/usage-reports/executions
3040
4553
  * @secure
3041
- * @response `200` `(UsageReportExecution)[]` Success
4554
+ * @response `200` `(UsageReportExecution)[]` OK
3042
4555
  * @response `400` `ProblemDetails` Bad Request
3043
4556
  */
3044
4557
  getUsageReportExecutionsByPeriod: (query, params = {}) => this.request(Object.assign({ path: `/api/usage-reports/executions`, method: "GET", query: query, secure: true, format: "json" }, params)),
@@ -3053,7 +4566,7 @@ export class Api extends HttpClient {
3053
4566
  * @response `201` `UserDevice` Created
3054
4567
  * @response `400` `ProblemDetails` Bad Request
3055
4568
  */
3056
- createUserDevice: (data, params = {}) => this.request(Object.assign({ path: `/api/userdevices`, method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
4569
+ createUserDevice: (data, params = {}) => this.request(Object.assign({ path: `/api/userdevices`, method: "POST", body: data, secure: true, type: "application/json", format: "json" }, params)),
3057
4570
  /**
3058
4571
  * No description
3059
4572
  *
@@ -3074,7 +4587,7 @@ export class Api extends HttpClient {
3074
4587
  * @summary Get draft users
3075
4588
  * @request GET:/api/loans/drafts/{draftId}/users
3076
4589
  * @secure
3077
- * @response `200` `UserDraftPaginated` Success
4590
+ * @response `200` `UserDraftPaginated` OK
3078
4591
  */
3079
4592
  getDraftUsers: (draftId, query, params = {}) => this.request(Object.assign({ path: `/api/loans/drafts/${draftId}/users`, method: "GET", query: query, secure: true, format: "json" }, params)),
3080
4593
  /**
@@ -3085,7 +4598,7 @@ export class Api extends HttpClient {
3085
4598
  * @summary Get draft user
3086
4599
  * @request GET:/api/loans/drafts/{draftId}/users/{userId}
3087
4600
  * @secure
3088
- * @response `200` `UserDraft` Success
4601
+ * @response `200` `UserDraft` OK
3089
4602
  */
3090
4603
  getDraftUser: (draftId, userId, params = {}) => this.request(Object.assign({ path: `/api/loans/drafts/${draftId}/users/${userId}`, method: "GET", secure: true, format: "json" }, params)),
3091
4604
  /**
@@ -3096,9 +4609,11 @@ export class Api extends HttpClient {
3096
4609
  * @summary Add draft user
3097
4610
  * @request POST:/api/loans/drafts/{draftId}/users/{userId}
3098
4611
  * @secure
3099
- * @response `200` `UserDraft` Success
4612
+ * @response `200` `UserDraft` OK
4613
+ * @response `404` `ProblemDetails` Not Found
4614
+ * @response `409` `ProblemDetails` Conflict
3100
4615
  */
3101
- addDraftUsers: (draftId, userId, data, params = {}) => this.request(Object.assign({ path: `/api/loans/drafts/${draftId}/users/${userId}`, method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
4616
+ 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)),
3102
4617
  /**
3103
4618
  * No description
3104
4619
  *
@@ -3118,7 +4633,7 @@ export class Api extends HttpClient {
3118
4633
  * @summary Get All
3119
4634
  * @request GET:/api/user-groups/{groupId}/scopes
3120
4635
  * @secure
3121
- * @response `200` `(UserGroupAccessScope)[]` Success
4636
+ * @response `200` `(UserGroupAccessScope)[]` OK
3122
4637
  */
3123
4638
  getUserGroupAccessScopes: (groupId, params = {}) => this.request(Object.assign({ path: `/api/user-groups/${groupId}/scopes`, method: "GET", secure: true, format: "json" }, params)),
3124
4639
  /**
@@ -3129,9 +4644,9 @@ export class Api extends HttpClient {
3129
4644
  * @summary Create a new scope
3130
4645
  * @request POST:/api/user-groups/{groupId}/scopes
3131
4646
  * @secure
3132
- * @response `200` `UserGroupAccessScope` Success
4647
+ * @response `200` `UserGroupAccessScope` OK
3133
4648
  */
3134
- createUserGroupAccessScope: (groupId, data, params = {}) => this.request(Object.assign({ path: `/api/user-groups/${groupId}/scopes`, method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
4649
+ 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)),
3135
4650
  /**
3136
4651
  * No description
3137
4652
  *
@@ -3151,7 +4666,7 @@ export class Api extends HttpClient {
3151
4666
  * @summary Get All
3152
4667
  * @request GET:/api/user-groups/{groupId}/members
3153
4668
  * @secure
3154
- * @response `200` `(UserGroupMember)[]` Success
4669
+ * @response `200` `(UserGroupMember)[]` OK
3155
4670
  */
3156
4671
  getUserGroupMembers: (groupId, params = {}) => this.request(Object.assign({ path: `/api/user-groups/${groupId}/members`, method: "GET", secure: true, format: "json" }, params)),
3157
4672
  /**
@@ -3162,9 +4677,9 @@ export class Api extends HttpClient {
3162
4677
  * @summary Create User Group Member
3163
4678
  * @request POST:/api/user-groups/{groupId}/members
3164
4679
  * @secure
3165
- * @response `200` `UserGroupMember` Success
4680
+ * @response `200` `UserGroupMember` OK
3166
4681
  */
3167
- createUserGroupMember: (groupId, data, query, params = {}) => this.request(Object.assign({ path: `/api/user-groups/${groupId}/members`, method: "POST", query: query, body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
4682
+ 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)),
3168
4683
  /**
3169
4684
  * No description
3170
4685
  *
@@ -3184,7 +4699,7 @@ export class Api extends HttpClient {
3184
4699
  * @summary Get All
3185
4700
  * @request POST:/api/user-groups/search
3186
4701
  * @secure
3187
- * @response `200` `UserGroupPaginated` Success
4702
+ * @response `200` `UserGroupPaginated` OK
3188
4703
  */
3189
4704
  searchUserGroups: (query, params = {}) => this.request(Object.assign({ path: `/api/user-groups/search`, method: "POST", query: query, secure: true, format: "json" }, params)),
3190
4705
  /**
@@ -3195,7 +4710,7 @@ export class Api extends HttpClient {
3195
4710
  * @summary Get User Group by ID
3196
4711
  * @request GET:/api/user-groups/{groupId}
3197
4712
  * @secure
3198
- * @response `200` `UserGroup` Success
4713
+ * @response `200` `UserGroup` OK
3199
4714
  */
3200
4715
  getUserGroup: (groupId, params = {}) => this.request(Object.assign({ path: `/api/user-groups/${groupId}`, method: "GET", secure: true, format: "json" }, params)),
3201
4716
  /**
@@ -3206,9 +4721,9 @@ export class Api extends HttpClient {
3206
4721
  * @summary Update User Group
3207
4722
  * @request PUT:/api/user-groups/{groupId}
3208
4723
  * @secure
3209
- * @response `200` `UserGroup` Success
4724
+ * @response `200` `UserGroup` OK
3210
4725
  */
3211
- updateUserGroup: (groupId, data, params = {}) => this.request(Object.assign({ path: `/api/user-groups/${groupId}`, method: "PUT", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
4726
+ 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)),
3212
4727
  /**
3213
4728
  * No description
3214
4729
  *
@@ -3230,7 +4745,7 @@ export class Api extends HttpClient {
3230
4745
  * @secure
3231
4746
  * @response `201` `UserGroup` Created
3232
4747
  */
3233
- createUserGroup: (data, params = {}) => this.request(Object.assign({ path: `/api/user-groups`, method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
4748
+ createUserGroup: (data, params = {}) => this.request(Object.assign({ path: `/api/user-groups`, method: "POST", body: data, secure: true, type: "application/json", format: "json" }, params)),
3234
4749
  /**
3235
4750
  * No description
3236
4751
  *
@@ -3241,9 +4756,9 @@ export class Api extends HttpClient {
3241
4756
  * @secure
3242
4757
  * @response `204` `void` No Content
3243
4758
  * @response `404` `Error` Not Found
3244
- * @response `422` `UnprocessableEntity` Client Error
4759
+ * @response `422` `UnprocessableEntity` Unprocessable Content
3245
4760
  */
3246
- requestImpersonation: (data, params = {}) => this.request(Object.assign({ path: `/api/users/impersonation/request`, method: "POST", body: data, secure: true, type: ContentType.Json }, params)),
4761
+ requestImpersonation: (data, params = {}) => this.request(Object.assign({ path: `/api/users/impersonation/request`, method: "POST", body: data, secure: true, type: "application/json" }, params)),
3247
4762
  /**
3248
4763
  * No description
3249
4764
  *
@@ -3254,9 +4769,9 @@ export class Api extends HttpClient {
3254
4769
  * @secure
3255
4770
  * @response `204` `void` No Content
3256
4771
  * @response `404` `Error` Not Found
3257
- * @response `422` `UnprocessableEntity` Client Error
4772
+ * @response `422` `UnprocessableEntity` Unprocessable Content
3258
4773
  */
3259
- allowImpersonation: (data, params = {}) => this.request(Object.assign({ path: `/api/users/impersonation/allow`, method: "POST", body: data, secure: true, type: ContentType.Json }, params)),
4774
+ allowImpersonation: (data, params = {}) => this.request(Object.assign({ path: `/api/users/impersonation/allow`, method: "POST", body: data, secure: true, type: "application/json" }, params)),
3260
4775
  /**
3261
4776
  * No description
3262
4777
  *
@@ -3267,7 +4782,7 @@ export class Api extends HttpClient {
3267
4782
  * @secure
3268
4783
  * @response `204` `void` No Content
3269
4784
  * @response `404` `Error` Not Found
3270
- * @response `422` `UnprocessableEntity` Client Error
4785
+ * @response `422` `UnprocessableEntity` Unprocessable Content
3271
4786
  */
3272
4787
  allowImpersonationWithGuid: (allowToken, params = {}) => this.request(Object.assign({ path: `/api/users/impersonation/allow/${allowToken}`, method: "POST", secure: true }, params)),
3273
4788
  /**
@@ -3279,7 +4794,7 @@ export class Api extends HttpClient {
3279
4794
  * @request POST:/api/users/impersonation
3280
4795
  * @secure
3281
4796
  * @response `204` `void` No Content
3282
- * @response `422` `UnprocessableEntity` Client Error
4797
+ * @response `422` `UnprocessableEntity` Unprocessable Content
3283
4798
  */
3284
4799
  beginImpersonation: (params = {}) => this.request(Object.assign({ path: `/api/users/impersonation`, method: "POST", secure: true }, params)),
3285
4800
  /**
@@ -3291,7 +4806,7 @@ export class Api extends HttpClient {
3291
4806
  * @request DELETE:/api/users/impersonation
3292
4807
  * @secure
3293
4808
  * @response `204` `void` No Content
3294
- * @response `422` `UnprocessableEntity` Client Error
4809
+ * @response `422` `UnprocessableEntity` Unprocessable Content
3295
4810
  */
3296
4811
  stopImpersonation: (params = {}) => this.request(Object.assign({ path: `/api/users/impersonation`, method: "DELETE", secure: true }, params)),
3297
4812
  /**
@@ -3304,9 +4819,9 @@ export class Api extends HttpClient {
3304
4819
  * @secure
3305
4820
  * @response `204` `void` No Content
3306
4821
  * @response `404` `Error` Not Found
3307
- * @response `422` `UnprocessableEntity` Client Error
4822
+ * @response `422` `UnprocessableEntity` Unprocessable Content
3308
4823
  */
3309
- forceImpersonation: (data, params = {}) => this.request(Object.assign({ path: `/api/users/impersonation/force`, method: "POST", body: data, secure: true, type: ContentType.Json }, params)),
4824
+ forceImpersonation: (data, params = {}) => this.request(Object.assign({ path: `/api/users/impersonation/force`, method: "POST", body: data, secure: true, type: "application/json" }, params)),
3310
4825
  /**
3311
4826
  * No description
3312
4827
  *
@@ -3316,7 +4831,7 @@ export class Api extends HttpClient {
3316
4831
  * @request POST:/api/users/impersonation/extend
3317
4832
  * @secure
3318
4833
  * @response `204` `void` No Content
3319
- * @response `422` `UnprocessableEntity` Client Error
4834
+ * @response `422` `UnprocessableEntity` Unprocessable Content
3320
4835
  */
3321
4836
  extendImpersonation: (params = {}) => this.request(Object.assign({ path: `/api/users/impersonation/extend`, method: "POST", secure: true }, params)),
3322
4837
  /**
@@ -3328,9 +4843,9 @@ export class Api extends HttpClient {
3328
4843
  * @request POST:/api/users/invites
3329
4844
  * @secure
3330
4845
  * @response `204` `void` No Content
3331
- * @response `422` `UnprocessableEntity` Client Error
4846
+ * @response `422` `UnprocessableEntity` Unprocessable Content
3332
4847
  */
3333
- inviteUser: (data, params = {}) => this.request(Object.assign({ path: `/api/users/invites`, method: "POST", body: data, secure: true, type: ContentType.Json }, params)),
4848
+ inviteUser: (data, params = {}) => this.request(Object.assign({ path: `/api/users/invites`, method: "POST", body: data, secure: true, type: "application/json" }, params)),
3334
4849
  /**
3335
4850
  * No description
3336
4851
  *
@@ -3352,8 +4867,8 @@ export class Api extends HttpClient {
3352
4867
  * @summary Verify
3353
4868
  * @request GET:/api/users/invites/{token}/verify
3354
4869
  * @secure
3355
- * @response `200` `Invite` Success
3356
- * @response `422` `UnprocessableEntity` Client Error
4870
+ * @response `200` `Invite` OK
4871
+ * @response `422` `UnprocessableEntity` Unprocessable Content
3357
4872
  */
3358
4873
  verifyUserInvite: (token, params = {}) => this.request(Object.assign({ path: `/api/users/invites/${token}/verify`, method: "GET", secure: true, format: "json" }, params)),
3359
4874
  /**
@@ -3364,7 +4879,7 @@ export class Api extends HttpClient {
3364
4879
  * @summary Get All
3365
4880
  * @request GET:/api/users/{userID}/relations
3366
4881
  * @secure
3367
- * @response `200` `(UserRelation)[]` Success
4882
+ * @response `200` `(UserRelation)[]` OK
3368
4883
  */
3369
4884
  getUserRelations: (userId, params = {}) => this.request(Object.assign({ path: `/api/users/${userId}/relations`, method: "GET", secure: true, format: "json" }, params)),
3370
4885
  /**
@@ -3377,7 +4892,7 @@ export class Api extends HttpClient {
3377
4892
  * @secure
3378
4893
  * @response `204` `void` No Content
3379
4894
  */
3380
- createUserRelation: (userId, data, params = {}) => this.request(Object.assign({ path: `/api/users/${userId}/relations`, method: "POST", body: data, secure: true, type: ContentType.Json }, params)),
4895
+ createUserRelation: (userId, data, params = {}) => this.request(Object.assign({ path: `/api/users/${userId}/relations`, method: "POST", body: data, secure: true, type: "application/json" }, params)),
3381
4896
  /**
3382
4897
  * No description
3383
4898
  *
@@ -3386,7 +4901,7 @@ export class Api extends HttpClient {
3386
4901
  * @summary Get by ID
3387
4902
  * @request GET:/api/users/{userID}/relations/{id}
3388
4903
  * @secure
3389
- * @response `200` `UserRelation` Success
4904
+ * @response `200` `UserRelation` OK
3390
4905
  */
3391
4906
  getUserRelation: (userId, id, params = {}) => this.request(Object.assign({ path: `/api/users/${userId}/relations/${id}`, method: "GET", secure: true, format: "json" }, params)),
3392
4907
  /**
@@ -3408,7 +4923,7 @@ export class Api extends HttpClient {
3408
4923
  * @summary Get All
3409
4924
  * @request GET:/api/users
3410
4925
  * @secure
3411
- * @response `200` `(User)[]` Success
4926
+ * @response `200` `(User)[]` OK
3412
4927
  */
3413
4928
  getUsers: (query, params = {}) => this.request(Object.assign({ path: `/api/users`, method: "GET", query: query, secure: true, format: "json" }, params)),
3414
4929
  /**
@@ -3419,10 +4934,10 @@ export class Api extends HttpClient {
3419
4934
  * @summary Create
3420
4935
  * @request POST:/api/users
3421
4936
  * @secure
3422
- * @response `200` `DetailedUser` Success
3423
- * @response `422` `UnprocessableEntity` Client Error
4937
+ * @response `200` `DetailedUser` OK
4938
+ * @response `422` `UnprocessableEntity` Unprocessable Content
3424
4939
  */
3425
- createUser: (data, params = {}) => this.request(Object.assign({ path: `/api/users`, method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
4940
+ createUser: (data, params = {}) => this.request(Object.assign({ path: `/api/users`, method: "POST", body: data, secure: true, type: "application/json", format: "json" }, params)),
3426
4941
  /**
3427
4942
  * No description
3428
4943
  *
@@ -3431,9 +4946,9 @@ export class Api extends HttpClient {
3431
4946
  * @summary Search
3432
4947
  * @request POST:/api/users/search
3433
4948
  * @secure
3434
- * @response `200` `UserPaginated` Success
4949
+ * @response `200` `UserPaginated` OK
3435
4950
  */
3436
- searchUsers: (data, query, params = {}) => this.request(Object.assign({ path: `/api/users/search`, method: "POST", query: query, body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
4951
+ 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)),
3437
4952
  /**
3438
4953
  * No description
3439
4954
  *
@@ -3442,9 +4957,9 @@ export class Api extends HttpClient {
3442
4957
  * @summary Get by Email
3443
4958
  * @request POST:/api/users/byemail
3444
4959
  * @secure
3445
- * @response `200` `AdminAccessUser` Success
4960
+ * @response `200` `AdminAccessUser` OK
3446
4961
  */
3447
- getUserByEmail: (data, params = {}) => this.request(Object.assign({ path: `/api/users/byemail`, method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
4962
+ getUserByEmail: (data, params = {}) => this.request(Object.assign({ path: `/api/users/byemail`, method: "POST", body: data, secure: true, type: "application/json", format: "json" }, params)),
3448
4963
  /**
3449
4964
  * No description
3450
4965
  *
@@ -3453,10 +4968,10 @@ export class Api extends HttpClient {
3453
4968
  * @summary Sign Up
3454
4969
  * @request POST:/api/users/register
3455
4970
  * @secure
3456
- * @response `200` `User` Success
3457
- * @response `422` `UnprocessableEntity` Client Error
4971
+ * @response `200` `User` OK
4972
+ * @response `422` `UnprocessableEntity` Unprocessable Content
3458
4973
  */
3459
- signUp: (data, params = {}) => this.request(Object.assign({ path: `/api/users/register`, method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
4974
+ signUp: (data, params = {}) => this.request(Object.assign({ path: `/api/users/register`, method: "POST", body: data, secure: true, type: "application/json", format: "json" }, params)),
3460
4975
  /**
3461
4976
  * No description
3462
4977
  *
@@ -3465,10 +4980,10 @@ export class Api extends HttpClient {
3465
4980
  * @summary Update
3466
4981
  * @request PUT:/api/users/{id}
3467
4982
  * @secure
3468
- * @response `200` `DetailedUser` Success
3469
- * @response `422` `UnprocessableEntity` Client Error
4983
+ * @response `200` `DetailedUser` OK
4984
+ * @response `422` `UnprocessableEntity` Unprocessable Content
3470
4985
  */
3471
- replaceUser: (id, data, params = {}) => this.request(Object.assign({ path: `/api/users/${id}`, method: "PUT", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
4986
+ replaceUser: (id, data, params = {}) => this.request(Object.assign({ path: `/api/users/${id}`, method: "PUT", body: data, secure: true, type: "application/json", format: "json" }, params)),
3472
4987
  /**
3473
4988
  * No description
3474
4989
  *
@@ -3500,21 +5015,22 @@ export class Api extends HttpClient {
3500
5015
  * @request POST:/api/users/change-password
3501
5016
  * @secure
3502
5017
  * @response `204` `void` No Content
3503
- * @response `422` `UnprocessableEntity` Client Error
5018
+ * @response `422` `UnprocessableEntity` Unprocessable Content
3504
5019
  */
3505
- changePassword: (data, params = {}) => this.request(Object.assign({ path: `/api/users/change-password`, method: "POST", body: data, secure: true, type: ContentType.Json }, params)),
5020
+ changePassword: (data, params = {}) => this.request(Object.assign({ path: `/api/users/change-password`, method: "POST", body: data, secure: true, type: "application/json" }, params)),
3506
5021
  /**
3507
5022
  * No description
3508
5023
  *
3509
5024
  * @tags Users
3510
5025
  * @name VerifyPassword
3511
- * @summary Verify Password
5026
+ * @summary Verify Password (deprecated; use api/auth/reset-password)
3512
5027
  * @request POST:/api/users/verify-password
5028
+ * @deprecated
3513
5029
  * @secure
3514
5030
  * @response `204` `void` No Content
3515
- * @response `422` `UnprocessableEntity` Client Error
5031
+ * @response `422` `UnprocessableEntity` Unprocessable Content
3516
5032
  */
3517
- verifyPassword: (data, params = {}) => this.request(Object.assign({ path: `/api/users/verify-password`, method: "POST", body: data, secure: true, type: ContentType.Json }, params)),
5033
+ verifyPassword: (data, params = {}) => this.request(Object.assign({ path: `/api/users/verify-password`, method: "POST", body: data, secure: true, type: "application/json" }, params)),
3518
5034
  /**
3519
5035
  * No description
3520
5036
  *
@@ -3524,21 +5040,22 @@ export class Api extends HttpClient {
3524
5040
  * @request POST:/api/users/{id}/override-password
3525
5041
  * @secure
3526
5042
  * @response `204` `void` No Content
3527
- * @response `422` `UnprocessableEntity` Client Error
5043
+ * @response `422` `UnprocessableEntity` Unprocessable Content
3528
5044
  */
3529
- overridePassword: (id, data, params = {}) => this.request(Object.assign({ path: `/api/users/${id}/override-password`, method: "POST", body: data, secure: true, type: ContentType.Json }, params)),
5045
+ overridePassword: (id, data, params = {}) => this.request(Object.assign({ path: `/api/users/${id}/override-password`, method: "POST", body: data, secure: true, type: "application/json" }, params)),
3530
5046
  /**
3531
5047
  * No description
3532
5048
  *
3533
5049
  * @tags Users
3534
5050
  * @name ForgotPassword
3535
- * @summary Forgot Password
5051
+ * @summary Forgot Password (deprecated; use api/auth/forgot-password)
3536
5052
  * @request POST:/api/users/forgot-password
5053
+ * @deprecated
3537
5054
  * @secure
3538
5055
  * @response `204` `void` No Content
3539
- * @response `422` `UnprocessableEntity` Client Error
5056
+ * @response `422` `UnprocessableEntity` Unprocessable Content
3540
5057
  */
3541
- forgotPassword: (data, params = {}) => this.request(Object.assign({ path: `/api/users/forgot-password`, method: "POST", body: data, secure: true, type: ContentType.Json }, params)),
5058
+ forgotPassword: (data, params = {}) => this.request(Object.assign({ path: `/api/users/forgot-password`, method: "POST", body: data, secure: true, type: "application/json" }, params)),
3542
5059
  /**
3543
5060
  * No description
3544
5061
  *
@@ -3548,7 +5065,7 @@ export class Api extends HttpClient {
3548
5065
  * @request POST:/api/users/mobile-phone/send-code
3549
5066
  * @secure
3550
5067
  * @response `204` `void` No Content
3551
- * @response `422` `UnprocessableEntity` Client Error
5068
+ * @response `422` `UnprocessableEntity` Unprocessable Content
3552
5069
  */
3553
5070
  sendMobilePhoneVerificationCode: (params = {}) => this.request(Object.assign({ path: `/api/users/mobile-phone/send-code`, method: "POST", secure: true }, params)),
3554
5071
  /**
@@ -3560,9 +5077,9 @@ export class Api extends HttpClient {
3560
5077
  * @request PUT:/api/users/mobile-phone/verify-code
3561
5078
  * @secure
3562
5079
  * @response `204` `void` No Content
3563
- * @response `422` `UnprocessableEntity` Client Error
5080
+ * @response `422` `UnprocessableEntity` Unprocessable Content
3564
5081
  */
3565
- verifyUserMobilePhone: (data, params = {}) => this.request(Object.assign({ path: `/api/users/mobile-phone/verify-code`, method: "PUT", body: data, secure: true, type: ContentType.Json }, params)),
5082
+ verifyUserMobilePhone: (data, params = {}) => this.request(Object.assign({ path: `/api/users/mobile-phone/verify-code`, method: "PUT", body: data, secure: true, type: "application/json" }, params)),
3566
5083
  /**
3567
5084
  * No description
3568
5085
  *
@@ -3571,7 +5088,7 @@ export class Api extends HttpClient {
3571
5088
  * @summary Get
3572
5089
  * @request GET:/api/users/me
3573
5090
  * @secure
3574
- * @response `200` `ImpersonatedDetailedUser` Success
5091
+ * @response `200` `ImpersonatedDetailedUser` OK
3575
5092
  * @response `401` `ProblemDetails` Unauthorized
3576
5093
  */
3577
5094
  getMe: (params = {}) => this.request(Object.assign({ path: `/api/users/me`, method: "GET", secure: true, format: "json" }, params)),
@@ -3583,9 +5100,9 @@ export class Api extends HttpClient {
3583
5100
  * @summary Replace
3584
5101
  * @request PUT:/api/users/me
3585
5102
  * @secure
3586
- * @response `200` `DetailedUser` Success
5103
+ * @response `200` `DetailedUser` OK
3587
5104
  */
3588
- replaceMe: (data, params = {}) => this.request(Object.assign({ path: `/api/users/me`, method: "PUT", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
5105
+ replaceMe: (data, params = {}) => this.request(Object.assign({ path: `/api/users/me`, method: "PUT", body: data, secure: true, type: "application/json", format: "json" }, params)),
3589
5106
  /**
3590
5107
  * @description Update the phone number If changed will send a verification code to the new number
3591
5108
  *
@@ -3596,7 +5113,7 @@ export class Api extends HttpClient {
3596
5113
  * @secure
3597
5114
  * @response `204` `DetailedUser` No Content
3598
5115
  */
3599
- updateMyPhone: (data, params = {}) => this.request(Object.assign({ path: `/api/users/me/phone-number`, method: "PUT", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
5116
+ 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)),
3600
5117
  /**
3601
5118
  * No description
3602
5119
  *
@@ -3605,7 +5122,7 @@ export class Api extends HttpClient {
3605
5122
  * @summary Get Relationships
3606
5123
  * @request GET:/api/users/me/relationships
3607
5124
  * @secure
3608
- * @response `200` `(UserRelationship)[]` Success
5125
+ * @response `200` `(UserRelationship)[]` OK
3609
5126
  */
3610
5127
  getMyRelationships: (params = {}) => this.request(Object.assign({ path: `/api/users/me/relationships`, method: "GET", secure: true, format: "json" }, params)),
3611
5128
  /**
@@ -3616,7 +5133,7 @@ export class Api extends HttpClient {
3616
5133
  * @summary Get Relationship Prospects
3617
5134
  * @request GET:/api/users/me/relationships/prospects
3618
5135
  * @secure
3619
- * @response `200` `(UserRelationshipProspect)[]` Success
5136
+ * @response `200` `(UserRelationshipProspect)[]` OK
3620
5137
  */
3621
5138
  getMyRelationshipProspects: (params = {}) => this.request(Object.assign({ path: `/api/users/me/relationships/prospects`, method: "GET", secure: true, format: "json" }, params)),
3622
5139
  /**
@@ -3640,7 +5157,7 @@ export class Api extends HttpClient {
3640
5157
  * @secure
3641
5158
  * @response `204` `void` No Content
3642
5159
  */
3643
- deleteMe: (data, params = {}) => this.request(Object.assign({ path: `/api/users/me/delete`, method: "POST", body: data, secure: true, type: ContentType.Json }, params)),
5160
+ deleteMe: (data, params = {}) => this.request(Object.assign({ path: `/api/users/me/delete`, method: "POST", body: data, secure: true, type: "application/json" }, params)),
3644
5161
  /**
3645
5162
  * No description
3646
5163
  *
@@ -3649,9 +5166,9 @@ export class Api extends HttpClient {
3649
5166
  * @summary Get Workflow
3650
5167
  * @request POST:/api/workflow
3651
5168
  * @secure
3652
- * @response `200` `GetForm` Success
5169
+ * @response `200` `GetForm` OK
3653
5170
  */
3654
- getWorkflow: (data, params = {}) => this.request(Object.assign({ path: `/api/workflow`, method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
5171
+ getWorkflow: (data, params = {}) => this.request(Object.assign({ path: `/api/workflow`, method: "POST", body: data, secure: true, type: "application/json", format: "json" }, params)),
3655
5172
  };
3656
5173
  this.sso = {
3657
5174
  /**
@@ -3661,7 +5178,7 @@ export class Api extends HttpClient {
3661
5178
  * @name LogoutList
3662
5179
  * @request GET:/sso/logout
3663
5180
  * @secure
3664
- * @response `200` `void` Success
5181
+ * @response `200` `void` OK
3665
5182
  */
3666
5183
  logoutList: (params = {}) => this.request(Object.assign({ path: `/sso/logout`, method: "GET", secure: true }, params)),
3667
5184
  };