@matech/thebigpos-sdk 2.42.1 → 2.43.0-aibi-2

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,6 +30,15 @@ var __rest = (this && this.__rest) || function (s, e) {
30
30
  return t;
31
31
  };
32
32
  import axios from "axios";
33
+ export var ContentType;
34
+ (function (ContentType) {
35
+ ContentType["JsonPatch"] = "application/json-patch+json";
36
+ ContentType["Json"] = "application/json";
37
+ ContentType["JsonApi"] = "application/vnd.api+json";
38
+ ContentType["FormData"] = "multipart/form-data";
39
+ ContentType["UrlEncoded"] = "application/x-www-form-urlencoded";
40
+ ContentType["Text"] = "text/plain";
41
+ })(ContentType || (ContentType = {}));
33
42
  export class HttpClient {
34
43
  constructor(_a = {}) {
35
44
  var { securityWorker, secure, format } = _a, axiosConfig = __rest(_a, ["securityWorker", "secure", "format"]);
@@ -45,13 +54,13 @@ export class HttpClient {
45
54
  {};
46
55
  const requestParams = this.mergeRequestParams(params, secureParams);
47
56
  const responseFormat = format || this.format || undefined;
48
- if (type === "multipart/form-data" &&
57
+ if (type === ContentType.FormData &&
49
58
  body &&
50
59
  body !== null &&
51
60
  typeof body === "object") {
52
61
  body = this.createFormData(body);
53
62
  }
54
- if (type === "text/plain" &&
63
+ if (type === ContentType.Text &&
55
64
  body &&
56
65
  body !== null &&
57
66
  typeof body !== "string") {
@@ -95,7 +104,7 @@ export class HttpClient {
95
104
  }
96
105
  /**
97
106
  * @title The Big POS API
98
- * @version v2.42.0
107
+ * @version v2.43.0
99
108
  * @termsOfService https://www.thebigpos.com/terms-of-use/
100
109
  * @contact Mortgage Automation Technologies <support@thebigpos.com> (https://www.thebigpos.com/terms-of-use/)
101
110
  */
@@ -109,7 +118,7 @@ export class Api extends HttpClient {
109
118
  * @name PostRoot
110
119
  * @request POST:/
111
120
  * @secure
112
- * @response `200` `void` Success
121
+ * @response `200` `void` OK
113
122
  */
114
123
  this.postRoot = (params = {}) => this.request(Object.assign({ path: `/`, method: "POST", secure: true }, params));
115
124
  /**
@@ -119,7 +128,7 @@ export class Api extends HttpClient {
119
128
  * @name GetRoot
120
129
  * @request GET:/
121
130
  * @secure
122
- * @response `200` `string` Success
131
+ * @response `200` `string` OK
123
132
  */
124
133
  this.getRoot = (params = {}) => this.request(Object.assign({ path: `/`, method: "GET", secure: true }, params));
125
134
  this.api = {
@@ -131,7 +140,7 @@ export class Api extends HttpClient {
131
140
  * @summary Get
132
141
  * @request GET:/api/account
133
142
  * @secure
134
- * @response `200` `Account` Success
143
+ * @response `200` `Account` OK
135
144
  * @response `404` `ProblemDetails` Not Found
136
145
  */
137
146
  getMyAccount: (params = {}) => this.request(Object.assign({ path: `/api/account`, method: "GET", secure: true, format: "json" }, params)),
@@ -143,11 +152,11 @@ export class Api extends HttpClient {
143
152
  * @summary Replace
144
153
  * @request PUT:/api/account
145
154
  * @secure
146
- * @response `200` `Account` Success
155
+ * @response `200` `Account` OK
147
156
  * @response `404` `ProblemDetails` Not Found
148
- * @response `422` `ProblemDetails` Client Error
157
+ * @response `422` `ProblemDetails` Unprocessable Content
149
158
  */
150
- replaceMyAccount: (data, params = {}) => this.request(Object.assign({ path: `/api/account`, method: "PUT", body: data, secure: true, type: "application/json", format: "json" }, params)),
159
+ replaceMyAccount: (data, params = {}) => this.request(Object.assign({ path: `/api/account`, method: "PUT", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
151
160
  /**
152
161
  * No description
153
162
  *
@@ -156,7 +165,7 @@ export class Api extends HttpClient {
156
165
  * @summary Get Site Configuration
157
166
  * @request GET:/api/account/site-configurations
158
167
  * @secure
159
- * @response `200` `SiteConfiguration` Success
168
+ * @response `200` `SiteConfiguration` OK
160
169
  */
161
170
  getSiteConfigurationByAccount: (params = {}) => this.request(Object.assign({ path: `/api/account/site-configurations`, method: "GET", secure: true, format: "json" }, params)),
162
171
  /**
@@ -167,10 +176,10 @@ export class Api extends HttpClient {
167
176
  * @summary Update Site Configuration
168
177
  * @request PUT:/api/account/site-configurations
169
178
  * @secure
170
- * @response `200` `SiteConfiguration` Success
171
- * @response `422` `UnprocessableEntity` Client Error
179
+ * @response `200` `SiteConfiguration` OK
180
+ * @response `422` `UnprocessableEntity` Unprocessable Content
172
181
  */
173
- updateSiteConfigurationForAccount: (data, params = {}) => this.request(Object.assign({ path: `/api/account/site-configurations`, method: "PUT", body: data, secure: true, type: "application/json", format: "json" }, params)),
182
+ updateSiteConfigurationForAccount: (data, params = {}) => this.request(Object.assign({ path: `/api/account/site-configurations`, method: "PUT", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
174
183
  /**
175
184
  * No description
176
185
  *
@@ -181,7 +190,7 @@ export class Api extends HttpClient {
181
190
  * @secure
182
191
  * @response `204` `void` No Content
183
192
  */
184
- requestAccountReactivation: (data, params = {}) => this.request(Object.assign({ path: `/api/account/reactivation/request`, method: "POST", body: data, secure: true, type: "application/json" }, params)),
193
+ requestAccountReactivation: (data, params = {}) => this.request(Object.assign({ path: `/api/account/reactivation/request`, method: "POST", body: data, secure: true, type: ContentType.Json }, params)),
185
194
  /**
186
195
  * No description
187
196
  *
@@ -193,7 +202,7 @@ export class Api extends HttpClient {
193
202
  * @response `204` `void` No Content
194
203
  * @response `400` `ProblemDetails` Bad Request
195
204
  */
196
- completeAccountReactivation: (data, params = {}) => this.request(Object.assign({ path: `/api/account/reactivation/complete`, method: "POST", body: data, secure: true, type: "application/json" }, params)),
205
+ completeAccountReactivation: (data, params = {}) => this.request(Object.assign({ path: `/api/account/reactivation/complete`, method: "POST", body: data, secure: true, type: ContentType.Json }, params)),
197
206
  /**
198
207
  * No description
199
208
  *
@@ -202,7 +211,7 @@ export class Api extends HttpClient {
202
211
  * @summary Get All
203
212
  * @request GET:/api/accounts
204
213
  * @secure
205
- * @response `200` `(Account)[]` Success
214
+ * @response `200` `(Account)[]` OK
206
215
  */
207
216
  getAccounts: (params = {}) => this.request(Object.assign({ path: `/api/accounts`, method: "GET", secure: true, format: "json" }, params)),
208
217
  /**
@@ -214,9 +223,9 @@ export class Api extends HttpClient {
214
223
  * @request POST:/api/accounts
215
224
  * @secure
216
225
  * @response `201` `Account` Created
217
- * @response `422` `ProblemDetails` Client Error
226
+ * @response `422` `ProblemDetails` Unprocessable Content
218
227
  */
219
- createAccount: (data, params = {}) => this.request(Object.assign({ path: `/api/accounts`, method: "POST", body: data, secure: true, type: "application/json", format: "json" }, params)),
228
+ createAccount: (data, params = {}) => this.request(Object.assign({ path: `/api/accounts`, method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
220
229
  /**
221
230
  * No description
222
231
  *
@@ -226,7 +235,7 @@ export class Api extends HttpClient {
226
235
  * @request GET:/api/accounts/{id}
227
236
  * @secure
228
237
  * @response `201` `Account` Created
229
- * @response `422` `ProblemDetails` Client Error
238
+ * @response `422` `ProblemDetails` Unprocessable Content
230
239
  */
231
240
  getAccount: (id, params = {}) => this.request(Object.assign({ path: `/api/accounts/${id}`, method: "GET", secure: true, format: "json" }, params)),
232
241
  /**
@@ -239,7 +248,7 @@ export class Api extends HttpClient {
239
248
  * @secure
240
249
  * @response `204` `Account` No Content
241
250
  * @response `404` `ProblemDetails` Not Found
242
- * @response `422` `ProblemDetails` Client Error
251
+ * @response `422` `ProblemDetails` Unprocessable Content
243
252
  */
244
253
  deleteAccount: (id, query, params = {}) => this.request(Object.assign({ path: `/api/accounts/${id}`, method: "DELETE", query: query, secure: true, format: "json" }, params)),
245
254
  /**
@@ -250,11 +259,432 @@ export class Api extends HttpClient {
250
259
  * @summary Update billing configuration
251
260
  * @request PUT:/api/accounts/{id}/billing
252
261
  * @secure
253
- * @response `200` `AccountBilling` Success
262
+ * @response `200` `AccountBilling` OK
254
263
  * @response `404` `ProblemDetails` Not Found
255
- * @response `422` `ProblemDetails` Client Error
264
+ * @response `422` `ProblemDetails` Unprocessable Content
256
265
  */
257
- updateAccountBilling: (id, data, params = {}) => this.request(Object.assign({ path: `/api/accounts/${id}/billing`, method: "PUT", body: data, secure: true, type: "application/json", format: "json" }, params)),
266
+ updateAccountBilling: (id, data, params = {}) => this.request(Object.assign({ path: `/api/accounts/${id}/billing`, method: "PUT", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
267
+ /**
268
+ * No description
269
+ *
270
+ * @tags AiAdmin
271
+ * @name GetAiAuditLogs
272
+ * @summary Get paginated audit logs
273
+ * @request GET:/api/ai/admin/audit-logs
274
+ * @secure
275
+ * @response `200` `AiAuditLogPaginated` OK
276
+ */
277
+ getAiAuditLogs: (query, params = {}) => this.request(Object.assign({ path: `/api/ai/admin/audit-logs`, method: "GET", query: query, secure: true, format: "json" }, params)),
278
+ /**
279
+ * No description
280
+ *
281
+ * @tags AiAdmin
282
+ * @name GetAiAdminStats
283
+ * @summary Get AI admin dashboard stats
284
+ * @request GET:/api/ai/admin/stats
285
+ * @secure
286
+ * @response `200` `AiAdminStats` OK
287
+ */
288
+ getAiAdminStats: (query, params = {}) => this.request(Object.assign({ path: `/api/ai/admin/stats`, method: "GET", query: query, secure: true, format: "json" }, params)),
289
+ /**
290
+ * No description
291
+ *
292
+ * @tags AiAdminPrompt
293
+ * @name GetAiPrompts
294
+ * @summary Get all prompts
295
+ * @request GET:/api/ai/admin/prompts
296
+ * @secure
297
+ * @response `200` `(AiPrompt)[]` OK
298
+ */
299
+ getAiPrompts: (params = {}) => this.request(Object.assign({ path: `/api/ai/admin/prompts`, method: "GET", secure: true, format: "json" }, params)),
300
+ /**
301
+ * No description
302
+ *
303
+ * @tags AiAdminPrompt
304
+ * @name CreateAiPrompt
305
+ * @summary Create custom prompt
306
+ * @request POST:/api/ai/admin/prompts
307
+ * @secure
308
+ * @response `201` `AiPrompt` Created
309
+ * @response `400` `ProblemDetails` Bad Request
310
+ */
311
+ createAiPrompt: (data, params = {}) => this.request(Object.assign({ path: `/api/ai/admin/prompts`, method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
312
+ /**
313
+ * No description
314
+ *
315
+ * @tags AiAdminPrompt
316
+ * @name GetAiPrompt
317
+ * @summary Get prompt by ID
318
+ * @request GET:/api/ai/admin/prompts/{id}
319
+ * @secure
320
+ * @response `200` `AiPrompt` OK
321
+ * @response `404` `ProblemDetails` Not Found
322
+ */
323
+ getAiPrompt: (id, params = {}) => this.request(Object.assign({ path: `/api/ai/admin/prompts/${id}`, method: "GET", secure: true, format: "json" }, params)),
324
+ /**
325
+ * No description
326
+ *
327
+ * @tags AiAdminPrompt
328
+ * @name UpdateAiPrompt
329
+ * @summary Update prompt
330
+ * @request PUT:/api/ai/admin/prompts/{id}
331
+ * @secure
332
+ * @response `200` `AiPrompt` OK
333
+ * @response `400` `ProblemDetails` Bad Request
334
+ * @response `404` `ProblemDetails` Not Found
335
+ */
336
+ updateAiPrompt: (id, data, params = {}) => this.request(Object.assign({ path: `/api/ai/admin/prompts/${id}`, method: "PUT", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
337
+ /**
338
+ * No description
339
+ *
340
+ * @tags AiAdminPrompt
341
+ * @name DeleteAiPrompt
342
+ * @summary Delete prompt
343
+ * @request DELETE:/api/ai/admin/prompts/{id}
344
+ * @secure
345
+ * @response `204` `void` No Content
346
+ * @response `400` `ProblemDetails` Bad Request
347
+ * @response `404` `ProblemDetails` Not Found
348
+ */
349
+ deleteAiPrompt: (id, params = {}) => this.request(Object.assign({ path: `/api/ai/admin/prompts/${id}`, method: "DELETE", secure: true }, params)),
350
+ /**
351
+ * No description
352
+ *
353
+ * @tags AiAdminPrompt
354
+ * @name ToggleAiPrompt
355
+ * @summary Toggle prompt active/inactive
356
+ * @request PATCH:/api/ai/admin/prompts/{id}/toggle
357
+ * @secure
358
+ * @response `200` `AiPrompt` OK
359
+ * @response `404` `ProblemDetails` Not Found
360
+ */
361
+ toggleAiPrompt: (id, params = {}) => this.request(Object.assign({ path: `/api/ai/admin/prompts/${id}/toggle`, method: "PATCH", secure: true, format: "json" }, params)),
362
+ /**
363
+ * No description
364
+ *
365
+ * @tags AiAdminPrompt
366
+ * @name GenerateAiSystemPrompt
367
+ * @summary Generate a system prompt from description
368
+ * @request POST:/api/ai/admin/prompts/generate
369
+ * @secure
370
+ * @response `200` `GenerateSystemPrompt` OK
371
+ * @response `400` `ProblemDetails` Bad Request
372
+ */
373
+ generateAiSystemPrompt: (data, params = {}) => this.request(Object.assign({ path: `/api/ai/admin/prompts/generate`, method: "POST", body: data, secure: true, type: ContentType.JsonPatch, format: "json" }, params)),
374
+ /**
375
+ * No description
376
+ *
377
+ * @tags AiAdminPrompt
378
+ * @name GetSupportedModels
379
+ * @summary Get supported LLM models
380
+ * @request GET:/api/ai/admin/prompts/supported-models
381
+ * @secure
382
+ * @response `200` `(SupportedModel)[]` OK
383
+ */
384
+ getSupportedModels: (params = {}) => this.request(Object.assign({ path: `/api/ai/admin/prompts/supported-models`, method: "GET", secure: true, format: "json" }, params)),
385
+ /**
386
+ * No description
387
+ *
388
+ * @tags AiAdminSettings
389
+ * @name GetAiAdminSettings
390
+ * @summary Get global AI settings
391
+ * @request GET:/api/ai/admin/settings
392
+ * @secure
393
+ * @response `200` `AiAdminSettings` OK
394
+ */
395
+ getAiAdminSettings: (params = {}) => this.request(Object.assign({ path: `/api/ai/admin/settings`, method: "GET", secure: true, format: "json" }, params)),
396
+ /**
397
+ * No description
398
+ *
399
+ * @tags AiAdminSettings
400
+ * @name UpdateAiAdminSettings
401
+ * @summary Update global AI settings
402
+ * @request PUT:/api/ai/admin/settings
403
+ * @secure
404
+ * @response `200` `AiAdminSettings` OK
405
+ * @response `400` `ProblemDetails` Bad Request
406
+ */
407
+ updateAiAdminSettings: (data, params = {}) => this.request(Object.assign({ path: `/api/ai/admin/settings`, method: "PUT", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
408
+ /**
409
+ * No description
410
+ *
411
+ * @tags AiCanonicalField
412
+ * @name GetAiCanonicalFields
413
+ * @summary Get all canonical fields
414
+ * @request GET:/api/ai/admin/fields
415
+ * @secure
416
+ * @response `200` `(AiCanonicalField)[]` OK
417
+ */
418
+ getAiCanonicalFields: (params = {}) => this.request(Object.assign({ path: `/api/ai/admin/fields`, method: "GET", secure: true, format: "json" }, params)),
419
+ /**
420
+ * No description
421
+ *
422
+ * @tags AiCanonicalField
423
+ * @name CreateAiCanonicalField
424
+ * @summary Create canonical field
425
+ * @request POST:/api/ai/admin/fields
426
+ * @secure
427
+ * @response `201` `AiCanonicalField` Created
428
+ * @response `400` `ProblemDetails` Bad Request
429
+ */
430
+ createAiCanonicalField: (data, params = {}) => this.request(Object.assign({ path: `/api/ai/admin/fields`, method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
431
+ /**
432
+ * No description
433
+ *
434
+ * @tags AiCanonicalField
435
+ * @name GetAiCanonicalField
436
+ * @summary Get canonical field by ID
437
+ * @request GET:/api/ai/admin/fields/{id}
438
+ * @secure
439
+ * @response `200` `AiCanonicalField` OK
440
+ * @response `404` `ProblemDetails` Not Found
441
+ */
442
+ getAiCanonicalField: (id, params = {}) => this.request(Object.assign({ path: `/api/ai/admin/fields/${id}`, method: "GET", secure: true, format: "json" }, params)),
443
+ /**
444
+ * No description
445
+ *
446
+ * @tags AiCanonicalField
447
+ * @name UpdateAiCanonicalField
448
+ * @summary Update canonical field
449
+ * @request PUT:/api/ai/admin/fields/{id}
450
+ * @secure
451
+ * @response `200` `AiCanonicalField` OK
452
+ * @response `400` `ProblemDetails` Bad Request
453
+ * @response `404` `ProblemDetails` Not Found
454
+ */
455
+ updateAiCanonicalField: (id, data, params = {}) => this.request(Object.assign({ path: `/api/ai/admin/fields/${id}`, method: "PUT", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
456
+ /**
457
+ * No description
458
+ *
459
+ * @tags AiCanonicalField
460
+ * @name DeleteAiCanonicalField
461
+ * @summary Delete canonical field
462
+ * @request DELETE:/api/ai/admin/fields/{id}
463
+ * @secure
464
+ * @response `204` `void` No Content
465
+ * @response `404` `ProblemDetails` Not Found
466
+ */
467
+ deleteAiCanonicalField: (id, params = {}) => this.request(Object.assign({ path: `/api/ai/admin/fields/${id}`, method: "DELETE", secure: true }, params)),
468
+ /**
469
+ * No description
470
+ *
471
+ * @tags AiCanonicalField
472
+ * @name ToggleAiCanonicalField
473
+ * @summary Toggle canonical field active/inactive
474
+ * @request PATCH:/api/ai/admin/fields/{id}/toggle
475
+ * @secure
476
+ * @response `200` `AiCanonicalField` OK
477
+ * @response `404` `ProblemDetails` Not Found
478
+ */
479
+ toggleAiCanonicalField: (id, params = {}) => this.request(Object.assign({ path: `/api/ai/admin/fields/${id}/toggle`, method: "PATCH", secure: true, format: "json" }, params)),
480
+ /**
481
+ * No description
482
+ *
483
+ * @tags AiChat
484
+ * @name AiChat
485
+ * @summary Send AI chat message
486
+ * @request POST:/api/ai/chat
487
+ * @secure
488
+ * @response `200` `AiChat` OK
489
+ * @response `400` `ProblemDetails` Bad Request
490
+ * @response `401` `ProblemDetails` Unauthorized
491
+ */
492
+ aiChat: (data, params = {}) => this.request(Object.assign({ path: `/api/ai/chat`, method: "POST", body: data, secure: true, type: ContentType.JsonPatch, format: "json" }, params)),
493
+ /**
494
+ * No description
495
+ *
496
+ * @tags AiConversation
497
+ * @name GetAiConversations
498
+ * @summary Get user conversations
499
+ * @request GET:/api/ai/conversations
500
+ * @secure
501
+ * @response `200` `AiConversationListItemPaginated` OK
502
+ */
503
+ getAiConversations: (query, params = {}) => this.request(Object.assign({ path: `/api/ai/conversations`, method: "GET", query: query, secure: true, format: "json" }, params)),
504
+ /**
505
+ * No description
506
+ *
507
+ * @tags AiConversation
508
+ * @name GetAiConversation
509
+ * @summary Get conversation with messages
510
+ * @request GET:/api/ai/conversations/{id}
511
+ * @secure
512
+ * @response `200` `AiConversationDetail` OK
513
+ * @response `403` `ProblemDetails` Forbidden
514
+ * @response `404` `ProblemDetails` Not Found
515
+ */
516
+ getAiConversation: (id, params = {}) => this.request(Object.assign({ path: `/api/ai/conversations/${id}`, method: "GET", secure: true, format: "json" }, params)),
517
+ /**
518
+ * No description
519
+ *
520
+ * @tags AiConversation
521
+ * @name DeleteAiConversation
522
+ * @summary Delete conversation
523
+ * @request DELETE:/api/ai/conversations/{id}
524
+ * @secure
525
+ * @response `204` `void` No Content
526
+ * @response `403` `ProblemDetails` Forbidden
527
+ * @response `404` `ProblemDetails` Not Found
528
+ */
529
+ deleteAiConversation: (id, params = {}) => this.request(Object.assign({ path: `/api/ai/conversations/${id}`, method: "DELETE", secure: true }, params)),
530
+ /**
531
+ * No description
532
+ *
533
+ * @tags AiGuardrail
534
+ * @name GetAiGuardrails
535
+ * @summary Get all guardrails
536
+ * @request GET:/api/ai/admin/guardrails
537
+ * @secure
538
+ * @response `200` `(AiGuardrail)[]` OK
539
+ */
540
+ getAiGuardrails: (params = {}) => this.request(Object.assign({ path: `/api/ai/admin/guardrails`, method: "GET", secure: true, format: "json" }, params)),
541
+ /**
542
+ * No description
543
+ *
544
+ * @tags AiGuardrail
545
+ * @name CreateAiGuardrail
546
+ * @summary Create custom guardrail
547
+ * @request POST:/api/ai/admin/guardrails
548
+ * @secure
549
+ * @response `201` `AiGuardrail` Created
550
+ * @response `400` `ProblemDetails` Bad Request
551
+ */
552
+ createAiGuardrail: (data, params = {}) => this.request(Object.assign({ path: `/api/ai/admin/guardrails`, method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
553
+ /**
554
+ * No description
555
+ *
556
+ * @tags AiGuardrail
557
+ * @name GetAiGuardrail
558
+ * @summary Get guardrail by ID
559
+ * @request GET:/api/ai/admin/guardrails/{id}
560
+ * @secure
561
+ * @response `200` `AiGuardrail` OK
562
+ * @response `404` `ProblemDetails` Not Found
563
+ */
564
+ getAiGuardrail: (id, params = {}) => this.request(Object.assign({ path: `/api/ai/admin/guardrails/${id}`, method: "GET", secure: true, format: "json" }, params)),
565
+ /**
566
+ * No description
567
+ *
568
+ * @tags AiGuardrail
569
+ * @name UpdateAiGuardrail
570
+ * @summary Update guardrail
571
+ * @request PUT:/api/ai/admin/guardrails/{id}
572
+ * @secure
573
+ * @response `200` `AiGuardrail` OK
574
+ * @response `400` `ProblemDetails` Bad Request
575
+ * @response `404` `ProblemDetails` Not Found
576
+ */
577
+ updateAiGuardrail: (id, data, params = {}) => this.request(Object.assign({ path: `/api/ai/admin/guardrails/${id}`, method: "PUT", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
578
+ /**
579
+ * No description
580
+ *
581
+ * @tags AiGuardrail
582
+ * @name DeleteAiGuardrail
583
+ * @summary Delete guardrail
584
+ * @request DELETE:/api/ai/admin/guardrails/{id}
585
+ * @secure
586
+ * @response `204` `void` No Content
587
+ * @response `400` `ProblemDetails` Bad Request
588
+ * @response `404` `ProblemDetails` Not Found
589
+ */
590
+ deleteAiGuardrail: (id, params = {}) => this.request(Object.assign({ path: `/api/ai/admin/guardrails/${id}`, method: "DELETE", secure: true }, params)),
591
+ /**
592
+ * No description
593
+ *
594
+ * @tags AiGuardrail
595
+ * @name ToggleAiGuardrail
596
+ * @summary Toggle guardrail enabled/disabled
597
+ * @request PATCH:/api/ai/admin/guardrails/{id}/toggle
598
+ * @secure
599
+ * @response `200` `AiGuardrail` OK
600
+ * @response `404` `ProblemDetails` Not Found
601
+ */
602
+ toggleAiGuardrail: (id, params = {}) => this.request(Object.assign({ path: `/api/ai/admin/guardrails/${id}/toggle`, method: "PATCH", secure: true, format: "json" }, params)),
603
+ /**
604
+ * No description
605
+ *
606
+ * @tags AiPrompt
607
+ * @name GetAvailablePrompts
608
+ * @summary Get available prompts for current user
609
+ * @request GET:/api/ai/prompts
610
+ * @secure
611
+ * @response `200` `(AiPromptSummary)[]` OK
612
+ */
613
+ getAvailablePrompts: (query, params = {}) => this.request(Object.assign({ path: `/api/ai/prompts`, method: "GET", query: query, secure: true, format: "json" }, params)),
614
+ /**
615
+ * No description
616
+ *
617
+ * @tags AiUrlSource
618
+ * @name GetAiUrlSources
619
+ * @summary Get all URL sources
620
+ * @request GET:/api/ai/admin/url-sources
621
+ * @secure
622
+ * @response `200` `(AiUrlSource)[]` OK
623
+ */
624
+ getAiUrlSources: (params = {}) => this.request(Object.assign({ path: `/api/ai/admin/url-sources`, method: "GET", secure: true, format: "json" }, params)),
625
+ /**
626
+ * No description
627
+ *
628
+ * @tags AiUrlSource
629
+ * @name CreateAiUrlSource
630
+ * @summary Create URL source
631
+ * @request POST:/api/ai/admin/url-sources
632
+ * @secure
633
+ * @response `201` `AiUrlSource` Created
634
+ * @response `400` `ProblemDetails` Bad Request
635
+ * @response `409` `ProblemDetails` Conflict
636
+ */
637
+ createAiUrlSource: (data, params = {}) => this.request(Object.assign({ path: `/api/ai/admin/url-sources`, method: "POST", body: data, secure: true, type: ContentType.JsonPatch, format: "json" }, params)),
638
+ /**
639
+ * No description
640
+ *
641
+ * @tags AiUrlSource
642
+ * @name GetAiUrlSource
643
+ * @summary Get URL source by ID
644
+ * @request GET:/api/ai/admin/url-sources/{id}
645
+ * @secure
646
+ * @response `200` `AiUrlSource` OK
647
+ * @response `404` `ProblemDetails` Not Found
648
+ */
649
+ getAiUrlSource: (id, params = {}) => this.request(Object.assign({ path: `/api/ai/admin/url-sources/${id}`, method: "GET", secure: true, format: "json" }, params)),
650
+ /**
651
+ * No description
652
+ *
653
+ * @tags AiUrlSource
654
+ * @name UpdateAiUrlSource
655
+ * @summary Update URL source
656
+ * @request PUT:/api/ai/admin/url-sources/{id}
657
+ * @secure
658
+ * @response `200` `AiUrlSource` OK
659
+ * @response `400` `ProblemDetails` Bad Request
660
+ * @response `404` `ProblemDetails` Not Found
661
+ * @response `409` `ProblemDetails` Conflict
662
+ */
663
+ updateAiUrlSource: (id, data, params = {}) => this.request(Object.assign({ path: `/api/ai/admin/url-sources/${id}`, method: "PUT", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
664
+ /**
665
+ * No description
666
+ *
667
+ * @tags AiUrlSource
668
+ * @name DeleteAiUrlSource
669
+ * @summary Delete URL source
670
+ * @request DELETE:/api/ai/admin/url-sources/{id}
671
+ * @secure
672
+ * @response `204` `void` No Content
673
+ * @response `404` `ProblemDetails` Not Found
674
+ */
675
+ deleteAiUrlSource: (id, params = {}) => this.request(Object.assign({ path: `/api/ai/admin/url-sources/${id}`, method: "DELETE", secure: true }, params)),
676
+ /**
677
+ * No description
678
+ *
679
+ * @tags AiUrlSource
680
+ * @name ToggleAiUrlSource
681
+ * @summary Toggle URL source active/inactive
682
+ * @request PATCH:/api/ai/admin/url-sources/{id}/toggle
683
+ * @secure
684
+ * @response `200` `AiUrlSource` OK
685
+ * @response `404` `ProblemDetails` Not Found
686
+ */
687
+ toggleAiUrlSource: (id, params = {}) => this.request(Object.assign({ path: `/api/ai/admin/url-sources/${id}/toggle`, method: "PATCH", secure: true, format: "json" }, params)),
258
688
  /**
259
689
  * No description
260
690
  *
@@ -263,9 +693,9 @@ export class Api extends HttpClient {
263
693
  * @summary Search
264
694
  * @request POST:/api/audit-logs/search
265
695
  * @secure
266
- * @response `200` `AuditLogEntryPaginated` Success
696
+ * @response `200` `AuditLogEntryPaginated` OK
267
697
  */
268
- 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)),
698
+ searchAuditLogs: (data, query, params = {}) => this.request(Object.assign({ path: `/api/audit-logs/search`, method: "POST", query: query, body: data, secure: true, type: ContentType.JsonPatch, format: "json" }, params)),
269
699
  /**
270
700
  * No description
271
701
  *
@@ -274,7 +704,7 @@ export class Api extends HttpClient {
274
704
  * @summary Get entity types
275
705
  * @request GET:/api/audit-logs/entity-types
276
706
  * @secure
277
- * @response `200` `(AuditEntityType)[]` Success
707
+ * @response `200` `(AuditEntityType)[]` OK
278
708
  */
279
709
  getAuditLogEntityTypes: (params = {}) => this.request(Object.assign({ path: `/api/audit-logs/entity-types`, method: "GET", secure: true, format: "json" }, params)),
280
710
  /**
@@ -285,7 +715,7 @@ export class Api extends HttpClient {
285
715
  * @summary Get by ID
286
716
  * @request GET:/api/audit-logs/{id}
287
717
  * @secure
288
- * @response `200` `AuditLogEntry` Success
718
+ * @response `200` `AuditLogEntry` OK
289
719
  * @response `404` `ProblemDetails` Not Found
290
720
  */
291
721
  getAuditLogById: (id, params = {}) => this.request(Object.assign({ path: `/api/audit-logs/${id}`, method: "GET", secure: true, format: "json" }, params)),
@@ -297,11 +727,11 @@ export class Api extends HttpClient {
297
727
  * @summary Generate Token From Refresh Token
298
728
  * @request POST:/api/refresh-token
299
729
  * @secure
300
- * @response `200` `Token` Success
730
+ * @response `200` `Token` OK
301
731
  * @response `401` `ProblemDetails` Unauthorized
302
- * @response `422` `UnprocessableEntity` Client Error
732
+ * @response `422` `UnprocessableEntity` Unprocessable Content
303
733
  */
304
- getTokenFromRefreshToken: (data, params = {}) => this.request(Object.assign({ path: `/api/refresh-token`, method: "POST", body: data, secure: true, type: "application/json", format: "json" }, params)),
734
+ getTokenFromRefreshToken: (data, params = {}) => this.request(Object.assign({ path: `/api/refresh-token`, method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
305
735
  /**
306
736
  * No description
307
737
  *
@@ -310,10 +740,10 @@ export class Api extends HttpClient {
310
740
  * @summary Get Token
311
741
  * @request POST:/api/token
312
742
  * @secure
313
- * @response `200` `AccountDeactivated` Success
314
- * @response `422` `UnprocessableEntity` Client Error
743
+ * @response `200` `AccountDeactivated` OK
744
+ * @response `422` `UnprocessableEntity` Unprocessable Content
315
745
  */
316
- getToken: (data, params = {}) => this.request(Object.assign({ path: `/api/token`, method: "POST", body: data, secure: true, type: "application/json", format: "json" }, params)),
746
+ getToken: (data, params = {}) => this.request(Object.assign({ path: `/api/token`, method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
317
747
  /**
318
748
  * No description
319
749
  *
@@ -322,10 +752,10 @@ export class Api extends HttpClient {
322
752
  * @summary Get Token From Challenge Code
323
753
  * @request POST:/api/token/code
324
754
  * @secure
325
- * @response `200` `AccountDeactivated` Success
326
- * @response `422` `UnprocessableEntity` Client Error
755
+ * @response `200` `AccountDeactivated` OK
756
+ * @response `422` `UnprocessableEntity` Unprocessable Content
327
757
  */
328
- getTokenFromChallengeCode: (data, params = {}) => this.request(Object.assign({ path: `/api/token/code`, method: "POST", body: data, secure: true, type: "application/json", format: "json" }, params)),
758
+ getTokenFromChallengeCode: (data, params = {}) => this.request(Object.assign({ path: `/api/token/code`, method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
329
759
  /**
330
760
  * No description
331
761
  *
@@ -334,10 +764,10 @@ export class Api extends HttpClient {
334
764
  * @summary Get System Token
335
765
  * @request POST:/api/oauth2/token
336
766
  * @secure
337
- * @response `200` `Token` Success
338
- * @response `422` `UnprocessableEntity` Client Error
767
+ * @response `200` `Token` OK
768
+ * @response `422` `UnprocessableEntity` Unprocessable Content
339
769
  */
340
- getSystemToken: (data, params = {}) => this.request(Object.assign({ path: `/api/oauth2/token`, method: "POST", body: data, secure: true, type: "application/json", format: "json" }, params)),
770
+ getSystemToken: (data, params = {}) => this.request(Object.assign({ path: `/api/oauth2/token`, method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
341
771
  /**
342
772
  * No description
343
773
  *
@@ -346,10 +776,10 @@ export class Api extends HttpClient {
346
776
  * @summary Get SSO Guid Token
347
777
  * @request POST:/api/token/sso
348
778
  * @secure
349
- * @response `200` `SSOToken` Success
350
- * @response `422` `UnprocessableEntity` Client Error
779
+ * @response `200` `SSOToken` OK
780
+ * @response `422` `UnprocessableEntity` Unprocessable Content
351
781
  */
352
- getSsoToken: (data, params = {}) => this.request(Object.assign({ path: `/api/token/sso`, method: "POST", body: data, secure: true, type: "application/json", format: "json" }, params)),
782
+ getSsoToken: (data, params = {}) => this.request(Object.assign({ path: `/api/token/sso`, method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
353
783
  /**
354
784
  * No description
355
785
  *
@@ -359,7 +789,7 @@ export class Api extends HttpClient {
359
789
  * @request POST:/api/logout
360
790
  * @secure
361
791
  * @response `204` `NoContentResult` No Content
362
- * @response `422` `UnprocessableEntity` Client Error
792
+ * @response `422` `UnprocessableEntity` Unprocessable Content
363
793
  */
364
794
  logOut: (params = {}) => this.request(Object.assign({ path: `/api/logout`, method: "POST", secure: true, format: "json" }, params)),
365
795
  /**
@@ -370,7 +800,7 @@ export class Api extends HttpClient {
370
800
  * @summary Get All
371
801
  * @request GET:/api/branches
372
802
  * @secure
373
- * @response `200` `GetBranchPaginated` Success
803
+ * @response `200` `GetBranchPaginated` OK
374
804
  */
375
805
  getBranches: (query, params = {}) => this.request(Object.assign({ path: `/api/branches`, method: "GET", query: query, secure: true, format: "json" }, params)),
376
806
  /**
@@ -381,10 +811,10 @@ export class Api extends HttpClient {
381
811
  * @summary Create
382
812
  * @request POST:/api/branches
383
813
  * @secure
384
- * @response `200` `GetBranch` Success
385
- * @response `422` `UnprocessableEntity` Client Error
814
+ * @response `200` `GetBranch` OK
815
+ * @response `422` `UnprocessableEntity` Unprocessable Content
386
816
  */
387
- createBranch: (data, params = {}) => this.request(Object.assign({ path: `/api/branches`, method: "POST", body: data, secure: true, type: "application/json", format: "json" }, params)),
817
+ createBranch: (data, params = {}) => this.request(Object.assign({ path: `/api/branches`, method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
388
818
  /**
389
819
  * No description
390
820
  *
@@ -393,9 +823,9 @@ export class Api extends HttpClient {
393
823
  * @summary Search
394
824
  * @request POST:/api/branches/search
395
825
  * @secure
396
- * @response `200` `GetBranchPaginated` Success
826
+ * @response `200` `GetBranchPaginated` OK
397
827
  */
398
- 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)),
828
+ searchBranches: (data, query, params = {}) => this.request(Object.assign({ path: `/api/branches/search`, method: "POST", query: query, body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
399
829
  /**
400
830
  * No description
401
831
  *
@@ -404,7 +834,7 @@ export class Api extends HttpClient {
404
834
  * @summary Get by ID
405
835
  * @request GET:/api/branches/{branchId}
406
836
  * @secure
407
- * @response `200` `GetBranch` Success
837
+ * @response `200` `GetBranch` OK
408
838
  */
409
839
  getBranch: (branchId, params = {}) => this.request(Object.assign({ path: `/api/branches/${branchId}`, method: "GET", secure: true, format: "json" }, params)),
410
840
  /**
@@ -415,10 +845,10 @@ export class Api extends HttpClient {
415
845
  * @summary Replace
416
846
  * @request PUT:/api/branches/{branchId}
417
847
  * @secure
418
- * @response `200` `GetBranch` Success
419
- * @response `422` `UnprocessableEntity` Client Error
848
+ * @response `200` `GetBranch` OK
849
+ * @response `422` `UnprocessableEntity` Unprocessable Content
420
850
  */
421
- replaceBranch: (branchId, data, params = {}) => this.request(Object.assign({ path: `/api/branches/${branchId}`, method: "PUT", body: data, secure: true, type: "application/json", format: "json" }, params)),
851
+ replaceBranch: (branchId, data, params = {}) => this.request(Object.assign({ path: `/api/branches/${branchId}`, method: "PUT", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
422
852
  /**
423
853
  * No description
424
854
  *
@@ -450,10 +880,10 @@ export class Api extends HttpClient {
450
880
  * @summary Create Branch Site Configuration
451
881
  * @request POST:/api/branches/{branchId}/site-configurations
452
882
  * @secure
453
- * @response `200` `SiteConfiguration` Success
454
- * @response `422` `UnprocessableEntity` Client Error
883
+ * @response `200` `SiteConfiguration` OK
884
+ * @response `422` `UnprocessableEntity` Unprocessable Content
455
885
  */
456
- 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)),
886
+ createBranchSiteConfiguration: (branchId, data, params = {}) => this.request(Object.assign({ path: `/api/branches/${branchId}/site-configurations`, method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
457
887
  /**
458
888
  * No description
459
889
  *
@@ -462,7 +892,7 @@ export class Api extends HttpClient {
462
892
  * @summary Get Branch Site Configuration
463
893
  * @request GET:/api/branches/{branchId}/site-configurations/{siteConfigurationId}
464
894
  * @secure
465
- * @response `200` `SiteConfigurationWithInherited` Success
895
+ * @response `200` `SiteConfigurationWithInherited` OK
466
896
  */
467
897
  getBranchSiteConfiguration: (branchId, siteConfigurationId, params = {}) => this.request(Object.assign({ path: `/api/branches/${branchId}/site-configurations/${siteConfigurationId}`, method: "GET", secure: true, format: "json" }, params)),
468
898
  /**
@@ -473,10 +903,10 @@ export class Api extends HttpClient {
473
903
  * @summary Replace Branch Site Configuration
474
904
  * @request PUT:/api/branches/{branchId}/site-configurations/{siteConfigurationId}
475
905
  * @secure
476
- * @response `200` `SiteConfiguration` Success
477
- * @response `422` `UnprocessableEntity` Client Error
906
+ * @response `200` `SiteConfiguration` OK
907
+ * @response `422` `UnprocessableEntity` Unprocessable Content
478
908
  */
479
- replaceBranchSiteConfiguration: (branchId, siteConfigurationId, data, query, params = {}) => this.request(Object.assign({ path: `/api/branches/${branchId}/site-configurations/${siteConfigurationId}`, method: "PUT", query: query, body: data, secure: true, type: "application/json", format: "json" }, params)),
909
+ replaceBranchSiteConfiguration: (branchId, siteConfigurationId, data, query, params = {}) => this.request(Object.assign({ path: `/api/branches/${branchId}/site-configurations/${siteConfigurationId}`, method: "PUT", query: query, body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
480
910
  /**
481
911
  * No description
482
912
  *
@@ -485,7 +915,7 @@ export class Api extends HttpClient {
485
915
  * @summary Get Branch Loan Officers
486
916
  * @request GET:/api/branches/{branchId}/loan-officers
487
917
  * @secure
488
- * @response `200` `(LoanOfficerPublic)[]` Success
918
+ * @response `200` `(LoanOfficerPublic)[]` OK
489
919
  */
490
920
  getLoanOfficersByBranch: (branchId, params = {}) => this.request(Object.assign({ path: `/api/branches/${branchId}/loan-officers`, method: "GET", secure: true, format: "json" }, params)),
491
921
  /**
@@ -496,7 +926,7 @@ export class Api extends HttpClient {
496
926
  * @summary Get All
497
927
  * @request GET:/api/business-rules
498
928
  * @secure
499
- * @response `200` `(BusinessRule)[]` Success
929
+ * @response `200` `(BusinessRule)[]` OK
500
930
  */
501
931
  getBusinessRules: (query, params = {}) => this.request(Object.assign({ path: `/api/business-rules`, method: "GET", query: query, secure: true, format: "json" }, params)),
502
932
  /**
@@ -507,10 +937,10 @@ export class Api extends HttpClient {
507
937
  * @summary Create
508
938
  * @request POST:/api/business-rules
509
939
  * @secure
510
- * @response `200` `BusinessRule` Success
511
- * @response `422` `UnprocessableEntity` Client Error
940
+ * @response `200` `BusinessRule` OK
941
+ * @response `422` `UnprocessableEntity` Unprocessable Content
512
942
  */
513
- createBusinessRule: (data, params = {}) => this.request(Object.assign({ path: `/api/business-rules`, method: "POST", body: data, secure: true, type: "application/json", format: "json" }, params)),
943
+ createBusinessRule: (data, params = {}) => this.request(Object.assign({ path: `/api/business-rules`, method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
514
944
  /**
515
945
  * No description
516
946
  *
@@ -519,7 +949,7 @@ export class Api extends HttpClient {
519
949
  * @summary Get by ID
520
950
  * @request GET:/api/business-rules/{id}
521
951
  * @secure
522
- * @response `200` `BusinessRule` Success
952
+ * @response `200` `BusinessRule` OK
523
953
  */
524
954
  getBusinessRule: (id, params = {}) => this.request(Object.assign({ path: `/api/business-rules/${id}`, method: "GET", secure: true, format: "json" }, params)),
525
955
  /**
@@ -530,10 +960,10 @@ export class Api extends HttpClient {
530
960
  * @summary Replace
531
961
  * @request PUT:/api/business-rules/{id}
532
962
  * @secure
533
- * @response `200` `BusinessRule` Success
534
- * @response `422` `UnprocessableEntity` Client Error
963
+ * @response `200` `BusinessRule` OK
964
+ * @response `422` `UnprocessableEntity` Unprocessable Content
535
965
  */
536
- 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)),
966
+ replaceBusinessRule: (id, data, params = {}) => this.request(Object.assign({ path: `/api/business-rules/${id}`, method: "PUT", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
537
967
  /**
538
968
  * No description
539
969
  *
@@ -553,7 +983,7 @@ export class Api extends HttpClient {
553
983
  * @summary Restore
554
984
  * @request POST:/api/business-rules/{id}/restore
555
985
  * @secure
556
- * @response `200` `BusinessRule` Success
986
+ * @response `200` `BusinessRule` OK
557
987
  */
558
988
  restoreBusinessRule: (id, params = {}) => this.request(Object.assign({ path: `/api/business-rules/${id}/restore`, method: "POST", secure: true, format: "json" }, params)),
559
989
  /**
@@ -564,9 +994,9 @@ export class Api extends HttpClient {
564
994
  * @summary Get Closed Loans Report
565
995
  * @request POST:/api/loans/reports/closed-loans
566
996
  * @secure
567
- * @response `200` `ClosedLoansReport` Success
997
+ * @response `200` `ClosedLoansReport` OK
568
998
  */
569
- 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)),
999
+ getClosedLoansReport: (data, params = {}) => this.request(Object.assign({ path: `/api/loans/reports/closed-loans`, method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
570
1000
  /**
571
1001
  * No description
572
1002
  *
@@ -575,7 +1005,7 @@ export class Api extends HttpClient {
575
1005
  * @summary Get Consumer Connect association status for all borrowers on a loan
576
1006
  * @request GET:/api/loans/{loanId}/consumer-connect/status
577
1007
  * @secure
578
- * @response `200` `(ConsumerConnectStatus)[]` Success
1008
+ * @response `200` `(ConsumerConnectStatus)[]` OK
579
1009
  */
580
1010
  getConsumerConnectStatus: (loanId, params = {}) => this.request(Object.assign({ path: `/api/loans/${loanId}/consumer-connect/status`, method: "GET", secure: true, format: "json" }, params)),
581
1011
  /**
@@ -586,7 +1016,7 @@ export class Api extends HttpClient {
586
1016
  * @summary Manually retry Consumer Connect association for failed borrowers on a loan. Returns per-borrower results; check individual Success fields for partial failures.
587
1017
  * @request POST:/api/loans/{loanId}/consumer-connect/retry
588
1018
  * @secure
589
- * @response `200` `(ConsumerConnectRetry)[]` Success
1019
+ * @response `200` `(ConsumerConnectRetry)[]` OK
590
1020
  */
591
1021
  retryConsumerConnectAssociation: (loanId, params = {}) => this.request(Object.assign({ path: `/api/loans/${loanId}/consumer-connect/retry`, method: "POST", secure: true, format: "json" }, params)),
592
1022
  /**
@@ -597,7 +1027,7 @@ export class Api extends HttpClient {
597
1027
  * @summary Get All
598
1028
  * @request GET:/api/corporates
599
1029
  * @secure
600
- * @response `200` `CorporatePaginated` Success
1030
+ * @response `200` `CorporatePaginated` OK
601
1031
  */
602
1032
  getCorporates: (query, params = {}) => this.request(Object.assign({ path: `/api/corporates`, method: "GET", query: query, secure: true, format: "json" }, params)),
603
1033
  /**
@@ -608,10 +1038,10 @@ export class Api extends HttpClient {
608
1038
  * @summary Create
609
1039
  * @request POST:/api/corporates
610
1040
  * @secure
611
- * @response `200` `Corporate` Success
612
- * @response `422` `UnprocessableEntity` Client Error
1041
+ * @response `200` `Corporate` OK
1042
+ * @response `422` `UnprocessableEntity` Unprocessable Content
613
1043
  */
614
- createCorporate: (data, params = {}) => this.request(Object.assign({ path: `/api/corporates`, method: "POST", body: data, secure: true, type: "application/json", format: "json" }, params)),
1044
+ createCorporate: (data, params = {}) => this.request(Object.assign({ path: `/api/corporates`, method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
615
1045
  /**
616
1046
  * No description
617
1047
  *
@@ -620,9 +1050,9 @@ export class Api extends HttpClient {
620
1050
  * @summary Search
621
1051
  * @request POST:/api/corporates/search
622
1052
  * @secure
623
- * @response `200` `CorporatePaginated` Success
1053
+ * @response `200` `CorporatePaginated` OK
624
1054
  */
625
- 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)),
1055
+ searchCorporate: (data, query, params = {}) => this.request(Object.assign({ path: `/api/corporates/search`, method: "POST", query: query, body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
626
1056
  /**
627
1057
  * No description
628
1058
  *
@@ -631,7 +1061,7 @@ export class Api extends HttpClient {
631
1061
  * @summary Get by ID
632
1062
  * @request GET:/api/corporates/{id}
633
1063
  * @secure
634
- * @response `200` `Corporate` Success
1064
+ * @response `200` `Corporate` OK
635
1065
  */
636
1066
  getCorporate: (id, params = {}) => this.request(Object.assign({ path: `/api/corporates/${id}`, method: "GET", secure: true, format: "json" }, params)),
637
1067
  /**
@@ -642,10 +1072,10 @@ export class Api extends HttpClient {
642
1072
  * @summary Replace
643
1073
  * @request PUT:/api/corporates/{id}
644
1074
  * @secure
645
- * @response `200` `Corporate` Success
646
- * @response `422` `UnprocessableEntity` Client Error
1075
+ * @response `200` `Corporate` OK
1076
+ * @response `422` `UnprocessableEntity` Unprocessable Content
647
1077
  */
648
- replaceCorporate: (id, data, params = {}) => this.request(Object.assign({ path: `/api/corporates/${id}`, method: "PUT", body: data, secure: true, type: "application/json", format: "json" }, params)),
1078
+ replaceCorporate: (id, data, params = {}) => this.request(Object.assign({ path: `/api/corporates/${id}`, method: "PUT", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
649
1079
  /**
650
1080
  * No description
651
1081
  *
@@ -676,10 +1106,10 @@ export class Api extends HttpClient {
676
1106
  * @summary Create Site Configuration
677
1107
  * @request POST:/api/corporates/{corporateId}/site-configurations
678
1108
  * @secure
679
- * @response `200` `SiteConfiguration` Success
680
- * @response `422` `UnprocessableEntity` Client Error
1109
+ * @response `200` `SiteConfiguration` OK
1110
+ * @response `422` `UnprocessableEntity` Unprocessable Content
681
1111
  */
682
- 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)),
1112
+ createCorporateSiteConfiguration: (corporateId, data, params = {}) => this.request(Object.assign({ path: `/api/corporates/${corporateId}/site-configurations`, method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
683
1113
  /**
684
1114
  * No description
685
1115
  *
@@ -688,7 +1118,7 @@ export class Api extends HttpClient {
688
1118
  * @summary Get Site Configuration
689
1119
  * @request GET:/api/corporates/{corporateId}/site-configurations/{siteConfigurationId}
690
1120
  * @secure
691
- * @response `200` `SiteConfigurationWithInherited` Success
1121
+ * @response `200` `SiteConfigurationWithInherited` OK
692
1122
  */
693
1123
  getCorporateSiteConfiguration: (corporateId, siteConfigurationId, params = {}) => this.request(Object.assign({ path: `/api/corporates/${corporateId}/site-configurations/${siteConfigurationId}`, method: "GET", secure: true, format: "json" }, params)),
694
1124
  /**
@@ -699,10 +1129,10 @@ export class Api extends HttpClient {
699
1129
  * @summary Replace Site Configuration
700
1130
  * @request PUT:/api/corporates/{corporateId}/site-configurations/{siteConfigurationId}
701
1131
  * @secure
702
- * @response `200` `SiteConfiguration` Success
703
- * @response `422` `UnprocessableEntity` Client Error
1132
+ * @response `200` `SiteConfiguration` OK
1133
+ * @response `422` `UnprocessableEntity` Unprocessable Content
704
1134
  */
705
- replaceCorporateSiteConfiguration: (corporateId, siteConfigurationId, data, query, params = {}) => this.request(Object.assign({ path: `/api/corporates/${corporateId}/site-configurations/${siteConfigurationId}`, method: "PUT", query: query, body: data, secure: true, type: "application/json", format: "json" }, params)),
1135
+ replaceCorporateSiteConfiguration: (corporateId, siteConfigurationId, data, query, params = {}) => this.request(Object.assign({ path: `/api/corporates/${corporateId}/site-configurations/${siteConfigurationId}`, method: "PUT", query: query, body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
706
1136
  /**
707
1137
  * No description
708
1138
  *
@@ -711,7 +1141,7 @@ export class Api extends HttpClient {
711
1141
  * @summary Get Branches
712
1142
  * @request GET:/api/corporates/{id}/branches
713
1143
  * @secure
714
- * @response `200` `(BranchReduced)[]` Success
1144
+ * @response `200` `(BranchReduced)[]` OK
715
1145
  */
716
1146
  getBranchesByCorporate: (id, params = {}) => this.request(Object.assign({ path: `/api/corporates/${id}/branches`, method: "GET", secure: true, format: "json" }, params)),
717
1147
  /**
@@ -722,7 +1152,7 @@ export class Api extends HttpClient {
722
1152
  * @summary Get Loan Officers
723
1153
  * @request GET:/api/corporates/{id}/loan-officers
724
1154
  * @secure
725
- * @response `200` `(LoanOfficerPublic)[]` Success
1155
+ * @response `200` `(LoanOfficerPublic)[]` OK
726
1156
  */
727
1157
  getLoanOfficersByCorporate: (id, params = {}) => this.request(Object.assign({ path: `/api/corporates/${id}/loan-officers`, method: "GET", secure: true, format: "json" }, params)),
728
1158
  /**
@@ -733,7 +1163,7 @@ export class Api extends HttpClient {
733
1163
  * @summary Get all custom field definitions by entity type
734
1164
  * @request GET:/api/custom-field-definitions
735
1165
  * @secure
736
- * @response `200` `(CustomFieldDefinition)[]` Success
1166
+ * @response `200` `(CustomFieldDefinition)[]` OK
737
1167
  */
738
1168
  getCustomFieldDefinitions: (query, params = {}) => this.request(Object.assign({ path: `/api/custom-field-definitions`, method: "GET", query: query, secure: true, format: "json" }, params)),
739
1169
  /**
@@ -746,9 +1176,9 @@ export class Api extends HttpClient {
746
1176
  * @secure
747
1177
  * @response `201` `CustomFieldDefinition` Created
748
1178
  * @response `409` `ProblemDetails` Conflict
749
- * @response `422` `ProblemDetails` Client Error
1179
+ * @response `422` `ProblemDetails` Unprocessable Content
750
1180
  */
751
- createCustomFieldDefinition: (data, params = {}) => this.request(Object.assign({ path: `/api/custom-field-definitions`, method: "POST", body: data, secure: true, type: "application/json", format: "json" }, params)),
1181
+ createCustomFieldDefinition: (data, params = {}) => this.request(Object.assign({ path: `/api/custom-field-definitions`, method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
752
1182
  /**
753
1183
  * No description
754
1184
  *
@@ -757,7 +1187,7 @@ export class Api extends HttpClient {
757
1187
  * @summary Get a custom field definition by ID
758
1188
  * @request GET:/api/custom-field-definitions/{id}
759
1189
  * @secure
760
- * @response `200` `CustomFieldDefinition` Success
1190
+ * @response `200` `CustomFieldDefinition` OK
761
1191
  * @response `404` `ProblemDetails` Not Found
762
1192
  */
763
1193
  getCustomFieldDefinitionById: (id, params = {}) => this.request(Object.assign({ path: `/api/custom-field-definitions/${id}`, method: "GET", secure: true, format: "json" }, params)),
@@ -769,13 +1199,13 @@ export class Api extends HttpClient {
769
1199
  * @summary Update a custom field definition
770
1200
  * @request PUT:/api/custom-field-definitions/{id}
771
1201
  * @secure
772
- * @response `200` `CustomFieldDefinition` Success
1202
+ * @response `200` `CustomFieldDefinition` OK
773
1203
  * @response `400` `ProblemDetails` Bad Request
774
1204
  * @response `404` `ProblemDetails` Not Found
775
1205
  * @response `409` `ProblemDetails` Conflict
776
- * @response `422` `ProblemDetails` Client Error
1206
+ * @response `422` `ProblemDetails` Unprocessable Content
777
1207
  */
778
- 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)),
1208
+ updateCustomFieldDefinition: (id, data, params = {}) => this.request(Object.assign({ path: `/api/custom-field-definitions/${id}`, method: "PUT", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
779
1209
  /**
780
1210
  * No description
781
1211
  *
@@ -821,7 +1251,7 @@ export class Api extends HttpClient {
821
1251
  * @summary Get All
822
1252
  * @request GET:/api/devices
823
1253
  * @secure
824
- * @response `200` `DevicePaginated` Success
1254
+ * @response `200` `DevicePaginated` OK
825
1255
  */
826
1256
  getDevices: (query, params = {}) => this.request(Object.assign({ path: `/api/devices`, method: "GET", query: query, secure: true, format: "json" }, params)),
827
1257
  /**
@@ -832,7 +1262,7 @@ export class Api extends HttpClient {
832
1262
  * @summary Get by ID
833
1263
  * @request GET:/api/devices/{id}
834
1264
  * @secure
835
- * @response `200` `Device` Success
1265
+ * @response `200` `Device` OK
836
1266
  */
837
1267
  getDevice: (id, params = {}) => this.request(Object.assign({ path: `/api/devices/${id}`, method: "GET", secure: true, format: "json" }, params)),
838
1268
  /**
@@ -843,9 +1273,9 @@ export class Api extends HttpClient {
843
1273
  * @summary Update
844
1274
  * @request PUT:/api/devices/{id}
845
1275
  * @secure
846
- * @response `200` `Device` Success
1276
+ * @response `200` `Device` OK
847
1277
  */
848
- updateDevice: (id, data, params = {}) => this.request(Object.assign({ path: `/api/devices/${id}`, method: "PUT", body: data, secure: true, type: "application/json", format: "json" }, params)),
1278
+ updateDevice: (id, data, params = {}) => this.request(Object.assign({ path: `/api/devices/${id}`, method: "PUT", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
849
1279
  /**
850
1280
  * No description
851
1281
  *
@@ -854,7 +1284,7 @@ export class Api extends HttpClient {
854
1284
  * @summary Get by Serial Number
855
1285
  * @request GET:/api/devices/{sn}/profile
856
1286
  * @secure
857
- * @response `200` `DeviceMDM` Success
1287
+ * @response `200` `DeviceMDM` OK
858
1288
  */
859
1289
  getDeviceBySerialNumber: (sn, params = {}) => this.request(Object.assign({ path: `/api/devices/${sn}/profile`, method: "GET", secure: true, format: "json" }, params)),
860
1290
  /**
@@ -865,7 +1295,7 @@ export class Api extends HttpClient {
865
1295
  * @summary Create Action by Serial Number
866
1296
  * @request POST:/api/devices/{sn}/actions/{actionName}
867
1297
  * @secure
868
- * @response `200` `Action` Success
1298
+ * @response `200` `Action` OK
869
1299
  */
870
1300
  createDeviceActionBySerialNumber: (sn, actionName, params = {}) => this.request(Object.assign({ path: `/api/devices/${sn}/actions/${actionName}`, method: "POST", secure: true, format: "json" }, params)),
871
1301
  /**
@@ -876,7 +1306,7 @@ export class Api extends HttpClient {
876
1306
  * @summary Get All
877
1307
  * @request GET:/api/document-buckets
878
1308
  * @secure
879
- * @response `200` `(string)[]` Success
1309
+ * @response `200` `(string)[]` OK
880
1310
  */
881
1311
  getDocumentBuckets: (query, params = {}) => this.request(Object.assign({ path: `/api/document-buckets`, method: "GET", query: query, secure: true, format: "json" }, params)),
882
1312
  /**
@@ -887,7 +1317,7 @@ export class Api extends HttpClient {
887
1317
  * @summary Get All
888
1318
  * @request GET:/api/document-templates
889
1319
  * @secure
890
- * @response `200` `(DocumentTemplateBase)[]` Success
1320
+ * @response `200` `(DocumentTemplateBase)[]` OK
891
1321
  */
892
1322
  getDocumentTemplates: (query, params = {}) => this.request(Object.assign({ path: `/api/document-templates`, method: "GET", query: query, secure: true, format: "json" }, params)),
893
1323
  /**
@@ -900,9 +1330,9 @@ export class Api extends HttpClient {
900
1330
  * @secure
901
1331
  * @response `201` `DocumentTemplateBase` Created
902
1332
  * @response `404` `ProblemDetails` Not Found
903
- * @response `422` `UnprocessableEntity` Client Error
1333
+ * @response `422` `UnprocessableEntity` Unprocessable Content
904
1334
  */
905
- createDocumentTemplate: (data, params = {}) => this.request(Object.assign({ path: `/api/document-templates`, method: "POST", body: data, secure: true, type: "application/json", format: "json" }, params)),
1335
+ createDocumentTemplate: (data, params = {}) => this.request(Object.assign({ path: `/api/document-templates`, method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
906
1336
  /**
907
1337
  * No description
908
1338
  *
@@ -911,7 +1341,7 @@ export class Api extends HttpClient {
911
1341
  * @summary Get Custom
912
1342
  * @request GET:/api/document-templates/{type}
913
1343
  * @secure
914
- * @response `200` `(DocumentTemplateBase)[]` Success
1344
+ * @response `200` `(DocumentTemplateBase)[]` OK
915
1345
  */
916
1346
  getCustomDocumentTemplates: (type, query, params = {}) => this.request(Object.assign({ path: `/api/document-templates/${type}`, method: "GET", query: query, secure: true, format: "json" }, params)),
917
1347
  /**
@@ -922,7 +1352,7 @@ export class Api extends HttpClient {
922
1352
  * @summary Get By ID
923
1353
  * @request GET:/api/document-templates/{id}
924
1354
  * @secure
925
- * @response `200` `DocumentTemplate` Success
1355
+ * @response `200` `DocumentTemplate` OK
926
1356
  * @response `404` `ProblemDetails` Not Found
927
1357
  */
928
1358
  getDocumentTemplate: (id, params = {}) => this.request(Object.assign({ path: `/api/document-templates/${id}`, method: "GET", secure: true, format: "json" }, params)),
@@ -934,12 +1364,12 @@ export class Api extends HttpClient {
934
1364
  * @summary Replace
935
1365
  * @request PUT:/api/document-templates/{id}
936
1366
  * @secure
937
- * @response `200` `DocumentTemplateBase` Success
1367
+ * @response `200` `DocumentTemplateBase` OK
938
1368
  * @response `401` `ProblemDetails` Unauthorized
939
1369
  * @response `404` `ProblemDetails` Not Found
940
- * @response `422` `UnprocessableEntity` Client Error
1370
+ * @response `422` `UnprocessableEntity` Unprocessable Content
941
1371
  */
942
- 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)),
1372
+ replaceDocumentTemplate: (id, data, params = {}) => this.request(Object.assign({ path: `/api/document-templates/${id}`, method: "PUT", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
943
1373
  /**
944
1374
  * No description
945
1375
  *
@@ -974,7 +1404,7 @@ export class Api extends HttpClient {
974
1404
  * @summary Get All
975
1405
  * @request GET:/api/document-templates/{documentId}/versions
976
1406
  * @secure
977
- * @response `200` `(DocumentTemplateVersion)[]` Success
1407
+ * @response `200` `(DocumentTemplateVersion)[]` OK
978
1408
  */
979
1409
  getDocumentTemplateVersions: (documentId, params = {}) => this.request(Object.assign({ path: `/api/document-templates/${documentId}/versions`, method: "GET", secure: true, format: "json" }, params)),
980
1410
  /**
@@ -985,9 +1415,9 @@ export class Api extends HttpClient {
985
1415
  * @summary Create
986
1416
  * @request POST:/api/document-templates/{documentId}/versions
987
1417
  * @secure
988
- * @response `200` `DocumentTemplateVersion` Success
1418
+ * @response `200` `DocumentTemplateVersion` OK
989
1419
  */
990
- 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)),
1420
+ createDocumentTemplateVersion: (documentId, data, params = {}) => this.request(Object.assign({ path: `/api/document-templates/${documentId}/versions`, method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
991
1421
  /**
992
1422
  * No description
993
1423
  *
@@ -996,7 +1426,7 @@ export class Api extends HttpClient {
996
1426
  * @summary Get by ID
997
1427
  * @request GET:/api/document-templates/{documentId}/versions/{id}
998
1428
  * @secure
999
- * @response `200` `DocumentTemplateVersion` Success
1429
+ * @response `200` `DocumentTemplateVersion` OK
1000
1430
  */
1001
1431
  getDocumentTemplateVersion: (documentId, id, params = {}) => this.request(Object.assign({ path: `/api/document-templates/${documentId}/versions/${id}`, method: "GET", secure: true, format: "json" }, params)),
1002
1432
  /**
@@ -1007,9 +1437,9 @@ export class Api extends HttpClient {
1007
1437
  * @summary Replace
1008
1438
  * @request PUT:/api/document-templates/{documentId}/versions/{id}
1009
1439
  * @secure
1010
- * @response `200` `DocumentTemplateVersion` Success
1440
+ * @response `200` `DocumentTemplateVersion` OK
1011
1441
  */
1012
- 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)),
1442
+ replaceDocumentTemplateVersion: (documentId, id, data, params = {}) => this.request(Object.assign({ path: `/api/document-templates/${documentId}/versions/${id}`, method: "PUT", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
1013
1443
  /**
1014
1444
  * No description
1015
1445
  *
@@ -1018,7 +1448,7 @@ export class Api extends HttpClient {
1018
1448
  * @summary Delete
1019
1449
  * @request DELETE:/api/document-templates/{documentId}/versions/{id}
1020
1450
  * @secure
1021
- * @response `200` `DocumentTemplateVersion` Success
1451
+ * @response `200` `DocumentTemplateVersion` OK
1022
1452
  */
1023
1453
  deleteDocumentTemplateVersion: (documentId, id, params = {}) => this.request(Object.assign({ path: `/api/document-templates/${documentId}/versions/${id}`, method: "DELETE", secure: true, format: "json" }, params)),
1024
1454
  /**
@@ -1026,9 +1456,10 @@ export class Api extends HttpClient {
1026
1456
  *
1027
1457
  * @tags Encompass Custom Field Mappings
1028
1458
  * @name GetEncompassCustomFieldMapping
1459
+ * @summary Get Encompass field mapping for a custom field definition
1029
1460
  * @request GET:/api/los/encompass/custom-field-mappings/{definitionId}
1030
1461
  * @secure
1031
- * @response `200` `EncompassCustomFieldMapping` Success
1462
+ * @response `200` `EncompassCustomFieldMapping` OK
1032
1463
  * @response `404` `void` Not Found
1033
1464
  */
1034
1465
  getEncompassCustomFieldMapping: (definitionId, params = {}) => this.request(Object.assign({ path: `/api/los/encompass/custom-field-mappings/${definitionId}`, method: "GET", secure: true, format: "json" }, params)),
@@ -1037,20 +1468,22 @@ export class Api extends HttpClient {
1037
1468
  *
1038
1469
  * @tags Encompass Custom Field Mappings
1039
1470
  * @name AddEncompassCustomFieldMapping
1471
+ * @summary Add an Encompass field mapping to a custom field definition
1040
1472
  * @request POST:/api/los/encompass/custom-field-mappings/{definitionId}
1041
1473
  * @secure
1042
1474
  * @response `201` `EncompassCustomFieldMapping` Created
1043
1475
  * @response `400` `void` Bad Request
1044
1476
  * @response `404` `void` Not Found
1045
1477
  * @response `409` `void` Conflict
1046
- * @response `422` `ProblemDetails` Client Error
1478
+ * @response `422` `ProblemDetails` Unprocessable Content
1047
1479
  */
1048
- 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)),
1480
+ addEncompassCustomFieldMapping: (definitionId, data, params = {}) => this.request(Object.assign({ path: `/api/los/encompass/custom-field-mappings/${definitionId}`, method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
1049
1481
  /**
1050
1482
  * No description
1051
1483
  *
1052
1484
  * @tags Encompass Custom Field Mappings
1053
1485
  * @name DeleteEncompassCustomFieldMapping
1486
+ * @summary Delete the Encompass field mapping (only if no values exist)
1054
1487
  * @request DELETE:/api/los/encompass/custom-field-mappings/{definitionId}
1055
1488
  * @secure
1056
1489
  * @response `204` `void` No Content
@@ -1063,6 +1496,7 @@ export class Api extends HttpClient {
1063
1496
  *
1064
1497
  * @tags Encompass Custom Field Mappings
1065
1498
  * @name DisableEncompassCustomFieldMapping
1499
+ * @summary Disable the Encompass field mapping (stops sync)
1066
1500
  * @request POST:/api/los/encompass/custom-field-mappings/{definitionId}/disable
1067
1501
  * @secure
1068
1502
  * @response `204` `void` No Content
@@ -1074,6 +1508,7 @@ export class Api extends HttpClient {
1074
1508
  *
1075
1509
  * @tags Encompass Custom Field Mappings
1076
1510
  * @name EnableEncompassCustomFieldMapping
1511
+ * @summary Re-enable the Encompass field mapping (resumes sync)
1077
1512
  * @request POST:/api/los/encompass/custom-field-mappings/{definitionId}/enable
1078
1513
  * @secure
1079
1514
  * @response `204` `void` No Content
@@ -1085,10 +1520,11 @@ export class Api extends HttpClient {
1085
1520
  *
1086
1521
  * @tags Encompass Custom Fields
1087
1522
  * @name GetEncompassFields
1523
+ * @summary Fetch available Encompass custom fields with type metadata
1088
1524
  * @request GET:/api/los/encompass/custom-fields
1089
1525
  * @secure
1090
- * @response `200` `(EncompassFieldListItem)[]` Success
1091
- * @response `502` `ProblemDetails` Server Error
1526
+ * @response `200` `(EncompassFieldListItem)[]` OK
1527
+ * @response `502` `ProblemDetails` Bad Gateway
1092
1528
  */
1093
1529
  getEncompassFields: (params = {}) => this.request(Object.assign({ path: `/api/los/encompass/custom-fields`, method: "GET", secure: true, format: "json" }, params)),
1094
1530
  /**
@@ -1098,10 +1534,10 @@ export class Api extends HttpClient {
1098
1534
  * @name GetUserPackages
1099
1535
  * @request GET:/api/los/encompass/eclose/packages
1100
1536
  * @secure
1101
- * @response `200` `EncompassPackageList` Success
1537
+ * @response `200` `EncompassPackageList` OK
1102
1538
  * @response `400` `EncompassError` Bad Request
1103
1539
  * @response `401` `EncompassError` Unauthorized
1104
- * @response `500` `EncompassError` Server Error
1540
+ * @response `500` `EncompassError` Internal Server Error
1105
1541
  */
1106
1542
  getUserPackages: (query, params = {}) => this.request(Object.assign({ path: `/api/los/encompass/eclose/packages`, method: "GET", query: query, secure: true, format: "json" }, params)),
1107
1543
  /**
@@ -1111,9 +1547,9 @@ export class Api extends HttpClient {
1111
1547
  * @name GetUserRecipients
1112
1548
  * @request GET:/api/los/encompass/eclose/recipients
1113
1549
  * @secure
1114
- * @response `200` `(EncompassRecipientItem)[]` Success
1550
+ * @response `200` `(EncompassRecipientItem)[]` OK
1115
1551
  * @response `401` `EncompassError` Unauthorized
1116
- * @response `500` `EncompassError` Server Error
1552
+ * @response `500` `EncompassError` Internal Server Error
1117
1553
  */
1118
1554
  getUserRecipients: (params = {}) => this.request(Object.assign({ path: `/api/los/encompass/eclose/recipients`, method: "GET", secure: true, format: "json" }, params)),
1119
1555
  /**
@@ -1123,14 +1559,14 @@ export class Api extends HttpClient {
1123
1559
  * @name CreateEncompassSession
1124
1560
  * @request POST:/api/los/encompass/eclose/sessions
1125
1561
  * @secure
1126
- * @response `200` `CreateSession` Success
1562
+ * @response `200` `CreateSession` OK
1127
1563
  * @response `400` `EncompassError` Bad Request
1128
1564
  * @response `401` `EncompassError` Unauthorized
1129
1565
  * @response `403` `EncompassError` Forbidden
1130
1566
  * @response `404` `EncompassError` Not Found
1131
- * @response `500` `EncompassError` Server Error
1567
+ * @response `500` `EncompassError` Internal Server Error
1132
1568
  */
1133
- 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)),
1569
+ 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)),
1134
1570
  /**
1135
1571
  * No description
1136
1572
  *
@@ -1139,7 +1575,7 @@ export class Api extends HttpClient {
1139
1575
  * @summary Get All
1140
1576
  * @request GET:/api/files
1141
1577
  * @secure
1142
- * @response `200` `FilePaginated` Success
1578
+ * @response `200` `FilePaginated` OK
1143
1579
  */
1144
1580
  getAllFiles: (query, params = {}) => this.request(Object.assign({ path: `/api/files`, method: "GET", query: query, secure: true, format: "json" }, params)),
1145
1581
  /**
@@ -1151,9 +1587,9 @@ export class Api extends HttpClient {
1151
1587
  * @request POST:/api/files
1152
1588
  * @secure
1153
1589
  * @response `201` `File` Created
1154
- * @response `422` `UnprocessableEntity` Client Error
1590
+ * @response `422` `UnprocessableEntity` Unprocessable Content
1155
1591
  */
1156
- uploadFile: (data, params = {}) => this.request(Object.assign({ path: `/api/files`, method: "POST", body: data, secure: true, type: "multipart/form-data", format: "json" }, params)),
1592
+ uploadFile: (data, params = {}) => this.request(Object.assign({ path: `/api/files`, method: "POST", body: data, secure: true, type: ContentType.FormData, format: "json" }, params)),
1157
1593
  /**
1158
1594
  * No description
1159
1595
  *
@@ -1173,10 +1609,10 @@ export class Api extends HttpClient {
1173
1609
  * @summary Replace
1174
1610
  * @request PUT:/api/files/{id}
1175
1611
  * @secure
1176
- * @response `200` `string` Success
1177
- * @response `422` `UnprocessableEntity` Client Error
1612
+ * @response `200` `string` OK
1613
+ * @response `422` `UnprocessableEntity` Unprocessable Content
1178
1614
  */
1179
- replaceFile: (id, data, params = {}) => this.request(Object.assign({ path: `/api/files/${id}`, method: "PUT", body: data, secure: true, type: "application/json", format: "json" }, params)),
1615
+ replaceFile: (id, data, params = {}) => this.request(Object.assign({ path: `/api/files/${id}`, method: "PUT", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
1180
1616
  /**
1181
1617
  * No description
1182
1618
  *
@@ -1196,9 +1632,9 @@ export class Api extends HttpClient {
1196
1632
  * @summary Search
1197
1633
  * @request POST:/api/files/search
1198
1634
  * @secure
1199
- * @response `200` `FilePaginated` Success
1635
+ * @response `200` `FilePaginated` OK
1200
1636
  */
1201
- 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)),
1637
+ 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)),
1202
1638
  /**
1203
1639
  * No description
1204
1640
  *
@@ -1207,7 +1643,7 @@ export class Api extends HttpClient {
1207
1643
  * @summary Get All
1208
1644
  * @request GET:/api/forms
1209
1645
  * @secure
1210
- * @response `200` `(AdminAccessGetForms)[]` Success
1646
+ * @response `200` `(AdminAccessGetForms)[]` OK
1211
1647
  */
1212
1648
  getForms: (query, params = {}) => this.request(Object.assign({ path: `/api/forms`, method: "GET", query: query, secure: true, format: "json" }, params)),
1213
1649
  /**
@@ -1219,9 +1655,9 @@ export class Api extends HttpClient {
1219
1655
  * @request POST:/api/forms
1220
1656
  * @secure
1221
1657
  * @response `201` `Form` Created
1222
- * @response `422` `UnprocessableEntity` Client Error
1658
+ * @response `422` `UnprocessableEntity` Unprocessable Content
1223
1659
  */
1224
- createForm: (data, params = {}) => this.request(Object.assign({ path: `/api/forms`, method: "POST", body: data, secure: true, type: "application/json", format: "json" }, params)),
1660
+ createForm: (data, params = {}) => this.request(Object.assign({ path: `/api/forms`, method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
1225
1661
  /**
1226
1662
  * No description
1227
1663
  *
@@ -1230,7 +1666,7 @@ export class Api extends HttpClient {
1230
1666
  * @summary Get By ID
1231
1667
  * @request GET:/api/forms/{id}
1232
1668
  * @secure
1233
- * @response `200` `Form` Success
1669
+ * @response `200` `Form` OK
1234
1670
  */
1235
1671
  getForm: (id, params = {}) => this.request(Object.assign({ path: `/api/forms/${id}`, method: "GET", secure: true, format: "json" }, params)),
1236
1672
  /**
@@ -1241,10 +1677,10 @@ export class Api extends HttpClient {
1241
1677
  * @summary Replace
1242
1678
  * @request PUT:/api/forms/{id}
1243
1679
  * @secure
1244
- * @response `200` `Form` Success
1245
- * @response `422` `UnprocessableEntity` Client Error
1680
+ * @response `200` `Form` OK
1681
+ * @response `422` `UnprocessableEntity` Unprocessable Content
1246
1682
  */
1247
- replaceForm: (id, data, params = {}) => this.request(Object.assign({ path: `/api/forms/${id}`, method: "PUT", body: data, secure: true, type: "application/json", format: "json" }, params)),
1683
+ replaceForm: (id, data, params = {}) => this.request(Object.assign({ path: `/api/forms/${id}`, method: "PUT", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
1248
1684
  /**
1249
1685
  * No description
1250
1686
  *
@@ -1264,7 +1700,7 @@ export class Api extends HttpClient {
1264
1700
  * @summary Restore
1265
1701
  * @request POST:/api/forms/{id}/restore
1266
1702
  * @secure
1267
- * @response `200` `Form` Success
1703
+ * @response `200` `Form` OK
1268
1704
  */
1269
1705
  restoreForm: (id, params = {}) => this.request(Object.assign({ path: `/api/forms/${id}/restore`, method: "POST", secure: true, format: "json" }, params)),
1270
1706
  /**
@@ -1275,9 +1711,9 @@ export class Api extends HttpClient {
1275
1711
  * @summary Add
1276
1712
  * @request POST:/api/form-submissions/{formSubmissionId}/files
1277
1713
  * @secure
1278
- * @response `200` `FormSubmissionFile` Success
1714
+ * @response `200` `FormSubmissionFile` OK
1279
1715
  */
1280
- 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)),
1716
+ 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)),
1281
1717
  /**
1282
1718
  * No description
1283
1719
  *
@@ -1297,7 +1733,7 @@ export class Api extends HttpClient {
1297
1733
  * @summary Download by Id
1298
1734
  * @request GET:/api/form-submissions/{formSubmissionId}/files/{formSubmissionFileId}/download
1299
1735
  * @secure
1300
- * @response `200` `FileWithBytes` Success
1736
+ * @response `200` `FileWithBytes` OK
1301
1737
  */
1302
1738
  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)),
1303
1739
  /**
@@ -1308,7 +1744,7 @@ export class Api extends HttpClient {
1308
1744
  * @summary Get All
1309
1745
  * @request GET:/api/form-submissions
1310
1746
  * @secure
1311
- * @response `200` `FormSubmissionPaginated` Success
1747
+ * @response `200` `FormSubmissionPaginated` OK
1312
1748
  */
1313
1749
  getFormSubmissions: (query, params = {}) => this.request(Object.assign({ path: `/api/form-submissions`, method: "GET", query: query, secure: true, format: "json" }, params)),
1314
1750
  /**
@@ -1321,7 +1757,7 @@ export class Api extends HttpClient {
1321
1757
  * @secure
1322
1758
  * @response `201` `FormSubmission` Created
1323
1759
  */
1324
- 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)),
1760
+ 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)),
1325
1761
  /**
1326
1762
  * No description
1327
1763
  *
@@ -1330,7 +1766,7 @@ export class Api extends HttpClient {
1330
1766
  * @summary Get by ID
1331
1767
  * @request GET:/api/form-submissions/{id}
1332
1768
  * @secure
1333
- * @response `200` `FormSubmission` Success
1769
+ * @response `200` `FormSubmission` OK
1334
1770
  */
1335
1771
  getFormSubmission: (id, params = {}) => this.request(Object.assign({ path: `/api/form-submissions/${id}`, method: "GET", secure: true, format: "json" }, params)),
1336
1772
  /**
@@ -1341,9 +1777,9 @@ export class Api extends HttpClient {
1341
1777
  * @summary Replace
1342
1778
  * @request PUT:/api/form-submissions/{id}
1343
1779
  * @secure
1344
- * @response `200` `FormSubmission` Success
1780
+ * @response `200` `FormSubmission` OK
1345
1781
  */
1346
- 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)),
1782
+ 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)),
1347
1783
  /**
1348
1784
  * No description
1349
1785
  *
@@ -1363,9 +1799,9 @@ export class Api extends HttpClient {
1363
1799
  * @summary Search
1364
1800
  * @request POST:/api/form-submissions/search
1365
1801
  * @secure
1366
- * @response `200` `FormSubmissionPaginated` Success
1802
+ * @response `200` `FormSubmissionPaginated` OK
1367
1803
  */
1368
- 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)),
1804
+ 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)),
1369
1805
  /**
1370
1806
  * No description
1371
1807
  *
@@ -1374,7 +1810,7 @@ export class Api extends HttpClient {
1374
1810
  * @summary Get All
1375
1811
  * @request GET:/api/forms/{formId}/versions
1376
1812
  * @secure
1377
- * @response `200` `(FormVersion)[]` Success
1813
+ * @response `200` `(FormVersion)[]` OK
1378
1814
  */
1379
1815
  getFormVersions: (formId, params = {}) => this.request(Object.assign({ path: `/api/forms/${formId}/versions`, method: "GET", secure: true, format: "json" }, params)),
1380
1816
  /**
@@ -1385,9 +1821,9 @@ export class Api extends HttpClient {
1385
1821
  * @summary Create
1386
1822
  * @request POST:/api/forms/{formId}/versions
1387
1823
  * @secure
1388
- * @response `200` `FormVersion` Success
1824
+ * @response `200` `FormVersion` OK
1389
1825
  */
1390
- 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)),
1826
+ 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)),
1391
1827
  /**
1392
1828
  * No description
1393
1829
  *
@@ -1396,7 +1832,7 @@ export class Api extends HttpClient {
1396
1832
  * @summary Get by ID
1397
1833
  * @request GET:/api/forms/{formId}/versions/{id}
1398
1834
  * @secure
1399
- * @response `200` `FormVersion` Success
1835
+ * @response `200` `FormVersion` OK
1400
1836
  */
1401
1837
  getFormVersion: (formId, id, params = {}) => this.request(Object.assign({ path: `/api/forms/${formId}/versions/${id}`, method: "GET", secure: true, format: "json" }, params)),
1402
1838
  /**
@@ -1407,9 +1843,9 @@ export class Api extends HttpClient {
1407
1843
  * @summary Replace
1408
1844
  * @request PUT:/api/forms/{formId}/versions/{id}
1409
1845
  * @secure
1410
- * @response `200` `FormVersion` Success
1846
+ * @response `200` `FormVersion` OK
1411
1847
  */
1412
- 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)),
1848
+ 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)),
1413
1849
  /**
1414
1850
  * No description
1415
1851
  *
@@ -1418,7 +1854,7 @@ export class Api extends HttpClient {
1418
1854
  * @summary Delete
1419
1855
  * @request DELETE:/api/forms/{formId}/versions/{id}
1420
1856
  * @secure
1421
- * @response `200` `FormVersion` Success
1857
+ * @response `200` `FormVersion` OK
1422
1858
  */
1423
1859
  deleteFormVersion: (formId, id, params = {}) => this.request(Object.assign({ path: `/api/forms/${formId}/versions/${id}`, method: "DELETE", secure: true, format: "json" }, params)),
1424
1860
  /**
@@ -1429,7 +1865,7 @@ export class Api extends HttpClient {
1429
1865
  * @summary Get Integration Settings
1430
1866
  * @request GET:/api/integrations/settings
1431
1867
  * @secure
1432
- * @response `200` `IntegrationSettings` Success
1868
+ * @response `200` `IntegrationSettings` OK
1433
1869
  */
1434
1870
  getIntegrationSettings: (params = {}) => this.request(Object.assign({ path: `/api/integrations/settings`, method: "GET", secure: true, format: "json" }, params)),
1435
1871
  /**
@@ -1440,7 +1876,7 @@ export class Api extends HttpClient {
1440
1876
  * @summary Get By ID
1441
1877
  * @request GET:/api/los/loan/application/{loanID}
1442
1878
  * @secure
1443
- * @response `200` `Record<string,any>` Success
1879
+ * @response `200` `Record<string,any>` OK
1444
1880
  */
1445
1881
  getLoanData: (loanId, params = {}) => this.request(Object.assign({ path: `/api/los/loan/application/${loanId}`, method: "GET", secure: true, format: "json" }, params)),
1446
1882
  /**
@@ -1452,10 +1888,10 @@ export class Api extends HttpClient {
1452
1888
  * @request PATCH:/api/los/loan/application/{loanID}
1453
1889
  * @deprecated
1454
1890
  * @secure
1455
- * @response `200` `string` Success
1456
- * @response `422` `UnprocessableEntity` Client Error
1891
+ * @response `200` `string` OK
1892
+ * @response `422` `UnprocessableEntity` Unprocessable Content
1457
1893
  */
1458
- 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)),
1894
+ updateLoanConsentAndCustomFieldsObsolete: (loanId, data, params = {}) => this.request(Object.assign({ path: `/api/los/loan/application/${loanId}`, method: "PATCH", body: data, secure: true, type: ContentType.JsonPatch, format: "json" }, params)),
1459
1895
  /**
1460
1896
  * No description
1461
1897
  *
@@ -1464,9 +1900,9 @@ export class Api extends HttpClient {
1464
1900
  * @summary Get Report
1465
1901
  * @request POST:/api/los/loan/reports
1466
1902
  * @secure
1467
- * @response `200` `GetReport` Success
1903
+ * @response `200` `GetReport` OK
1468
1904
  */
1469
- getLoansReport: (data, params = {}) => this.request(Object.assign({ path: `/api/los/loan/reports`, method: "POST", body: data, secure: true, type: "application/json", format: "json" }, params)),
1905
+ getLoansReport: (data, params = {}) => this.request(Object.assign({ path: `/api/los/loan/reports`, method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
1470
1906
  /**
1471
1907
  * No description
1472
1908
  *
@@ -1476,11 +1912,11 @@ export class Api extends HttpClient {
1476
1912
  * @request POST:/api/los/loan/application
1477
1913
  * @deprecated
1478
1914
  * @secure
1479
- * @response `200` `string` Success
1480
- * @response `422` `UnprocessableEntity` Client Error
1481
- * @response `423` `UnprocessableEntity` Client Error
1915
+ * @response `200` `string` OK
1916
+ * @response `422` `UnprocessableEntity` Unprocessable Content
1917
+ * @response `423` `UnprocessableEntity` Locked
1482
1918
  */
1483
- 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)),
1919
+ 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)),
1484
1920
  /**
1485
1921
  * No description
1486
1922
  *
@@ -1489,11 +1925,11 @@ export class Api extends HttpClient {
1489
1925
  * @summary Create Loan Returning Internal Loan ID
1490
1926
  * @request POST:/api/los/loan/application/internal
1491
1927
  * @secure
1492
- * @response `200` `string` Success
1493
- * @response `422` `UnprocessableEntity` Client Error
1494
- * @response `423` `UnprocessableEntity` Client Error
1928
+ * @response `200` `string` OK
1929
+ * @response `422` `UnprocessableEntity` Unprocessable Content
1930
+ * @response `423` `UnprocessableEntity` Locked
1495
1931
  */
1496
- 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)),
1932
+ 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)),
1497
1933
  /**
1498
1934
  * No description
1499
1935
  *
@@ -1502,10 +1938,10 @@ export class Api extends HttpClient {
1502
1938
  * @summary Update Loan Custom Fields
1503
1939
  * @request PATCH:/api/los/loan/application/{loanID}/custom-fields
1504
1940
  * @secure
1505
- * @response `200` `string` Success
1506
- * @response `422` `UnprocessableEntity` Client Error
1941
+ * @response `200` `string` OK
1942
+ * @response `422` `UnprocessableEntity` Unprocessable Content
1507
1943
  */
1508
- 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)),
1944
+ updateLoanCustomFields: (loanId, data, params = {}) => this.request(Object.assign({ path: `/api/los/loan/application/${loanId}/custom-fields`, method: "PATCH", body: data, secure: true, type: ContentType.JsonPatch, format: "json" }, params)),
1509
1945
  /**
1510
1946
  * No description
1511
1947
  *
@@ -1514,11 +1950,11 @@ export class Api extends HttpClient {
1514
1950
  * @summary Update Loan Consent and Custom Fields
1515
1951
  * @request PATCH:/api/los/loan/application/{loanID}/consent
1516
1952
  * @secure
1517
- * @response `200` `string` Success
1953
+ * @response `200` `string` OK
1518
1954
  * @response `202` `string` Accepted
1519
- * @response `422` `UnprocessableEntity` Client Error
1955
+ * @response `422` `UnprocessableEntity` Unprocessable Content
1520
1956
  */
1521
- 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)),
1957
+ updateLoanConsent: (loanId, data, params = {}) => this.request(Object.assign({ path: `/api/los/loan/application/${loanId}/consent`, method: "PATCH", body: data, secure: true, type: ContentType.JsonPatch, format: "json" }, params)),
1522
1958
  /**
1523
1959
  * No description
1524
1960
  *
@@ -1527,7 +1963,7 @@ export class Api extends HttpClient {
1527
1963
  * @summary Get Documents
1528
1964
  * @request GET:/api/los/loan/tasks/documents/{loanID}
1529
1965
  * @secure
1530
- * @response `200` `(DocumentData)[]` Success
1966
+ * @response `200` `(DocumentData)[]` OK
1531
1967
  */
1532
1968
  getTaskDocumentsByLoan: (loanId, params = {}) => this.request(Object.assign({ path: `/api/los/loan/tasks/documents/${loanId}`, method: "GET", secure: true, format: "json" }, params)),
1533
1969
  /**
@@ -1538,7 +1974,7 @@ export class Api extends HttpClient {
1538
1974
  * @summary Get Document Content
1539
1975
  * @request GET:/api/los/loan/{loanID}/document/{documentId}/content
1540
1976
  * @secure
1541
- * @response `200` `void` Success
1977
+ * @response `200` `void` OK
1542
1978
  */
1543
1979
  getLoanDocumentContent: (loanId, documentId, query, params = {}) => this.request(Object.assign({ path: `/api/los/loan/${loanId}/document/${documentId}/content`, method: "GET", query: query, secure: true }, params)),
1544
1980
  /**
@@ -1560,7 +1996,7 @@ export class Api extends HttpClient {
1560
1996
  * @summary Get Preliminary Conditions
1561
1997
  * @request GET:/api/los/loan/{loanID}/conditions/preliminary
1562
1998
  * @secure
1563
- * @response `200` `(PreliminaryCondition)[]` Success
1999
+ * @response `200` `(PreliminaryCondition)[]` OK
1564
2000
  */
1565
2001
  getPreliminaryConditionsForLoan: (loanId, params = {}) => this.request(Object.assign({ path: `/api/los/loan/${loanId}/conditions/preliminary`, method: "GET", secure: true, format: "json" }, params)),
1566
2002
  /**
@@ -1571,7 +2007,7 @@ export class Api extends HttpClient {
1571
2007
  * @summary Get Underwriting Conditions
1572
2008
  * @request GET:/api/los/loan/{loanID}/conditions/underwriting
1573
2009
  * @secure
1574
- * @response `200` `(UnderwritingCondition)[]` Success
2010
+ * @response `200` `(UnderwritingCondition)[]` OK
1575
2011
  */
1576
2012
  getUnderwritingConditionsForLoan: (loanId, params = {}) => this.request(Object.assign({ path: `/api/los/loan/${loanId}/conditions/underwriting`, method: "GET", secure: true, format: "json" }, params)),
1577
2013
  /**
@@ -1582,7 +2018,7 @@ export class Api extends HttpClient {
1582
2018
  * @summary Get Embedded Signing Link
1583
2019
  * @request POST:/api/los/loan/embeddedsigning/{envelopeId}/{userName}/{email}
1584
2020
  * @secure
1585
- * @response `200` `string` Success
2021
+ * @response `200` `string` OK
1586
2022
  */
1587
2023
  getLoanEmbeddedSigningLink: (envelopeId, userName, email, params = {}) => this.request(Object.assign({ path: `/api/los/loan/embeddedsigning/${envelopeId}/${userName}/${email}`, method: "POST", secure: true, format: "json" }, params)),
1588
2024
  /**
@@ -1594,9 +2030,9 @@ export class Api extends HttpClient {
1594
2030
  * @request POST:/api/los/loan/generatedocument
1595
2031
  * @deprecated
1596
2032
  * @secure
1597
- * @response `200` `DocumentDataRequest` Success
2033
+ * @response `200` `DocumentDataRequest` OK
1598
2034
  */
1599
- createLegacyLoanDocument: (data, params = {}) => this.request(Object.assign({ path: `/api/los/loan/generatedocument`, method: "POST", body: data, secure: true, type: "application/json", format: "json" }, params)),
2035
+ createLegacyLoanDocument: (data, params = {}) => this.request(Object.assign({ path: `/api/los/loan/generatedocument`, method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
1600
2036
  /**
1601
2037
  * No description
1602
2038
  *
@@ -1605,10 +2041,10 @@ export class Api extends HttpClient {
1605
2041
  * @summary Create Edit Draft for Loan
1606
2042
  * @request PUT:/api/los/loan/{loanID}/edit
1607
2043
  * @secure
1608
- * @response `200` `Draft` Success
2044
+ * @response `200` `Draft` OK
1609
2045
  * @response `400` `ProblemDetails` Bad Request
1610
2046
  * @response `404` `ProblemDetails` Not Found
1611
- * @response `423` `ProblemDetails` Client Error
2047
+ * @response `423` `ProblemDetails` Locked
1612
2048
  */
1613
2049
  createEditDraftForLoan: (loanId, query, params = {}) => this.request(Object.assign({ path: `/api/los/loan/${loanId}/edit`, method: "PUT", query: query, secure: true, format: "json" }, params)),
1614
2050
  /**
@@ -1619,9 +2055,9 @@ export class Api extends HttpClient {
1619
2055
  * @summary Add
1620
2056
  * @request POST:/api/listings/{listingId}/files
1621
2057
  * @secure
1622
- * @response `200` `ListingFile` Success
2058
+ * @response `200` `ListingFile` OK
1623
2059
  */
1624
- 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)),
2060
+ 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)),
1625
2061
  /**
1626
2062
  * No description
1627
2063
  *
@@ -1630,9 +2066,9 @@ export class Api extends HttpClient {
1630
2066
  * @summary Update
1631
2067
  * @request PATCH:/api/listings/{listingId}/files
1632
2068
  * @secure
1633
- * @response `200` `ListingFile` Success
2069
+ * @response `200` `ListingFile` OK
1634
2070
  */
1635
- 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)),
2071
+ updateListingFiles: (listingId, data, params = {}) => this.request(Object.assign({ path: `/api/listings/${listingId}/files`, method: "PATCH", body: data, secure: true, type: ContentType.JsonPatch, format: "json" }, params)),
1636
2072
  /**
1637
2073
  * No description
1638
2074
  *
@@ -1652,9 +2088,9 @@ export class Api extends HttpClient {
1652
2088
  * @summary Add
1653
2089
  * @request POST:/api/listings/{listingId}/photos
1654
2090
  * @secure
1655
- * @response `200` `ListingPhoto` Success
2091
+ * @response `200` `ListingPhoto` OK
1656
2092
  */
1657
- 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)),
2093
+ 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)),
1658
2094
  /**
1659
2095
  * No description
1660
2096
  *
@@ -1663,9 +2099,9 @@ export class Api extends HttpClient {
1663
2099
  * @summary Update
1664
2100
  * @request PATCH:/api/listings/{listingId}/photos
1665
2101
  * @secure
1666
- * @response `200` `(ListingPhoto)[]` Success
2102
+ * @response `200` `(ListingPhoto)[]` OK
1667
2103
  */
1668
- 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)),
2104
+ updateListingPhotos: (listingId, data, params = {}) => this.request(Object.assign({ path: `/api/listings/${listingId}/photos`, method: "PATCH", body: data, secure: true, type: ContentType.JsonPatch, format: "json" }, params)),
1669
2105
  /**
1670
2106
  * No description
1671
2107
  *
@@ -1685,7 +2121,7 @@ export class Api extends HttpClient {
1685
2121
  * @summary Get All
1686
2122
  * @request GET:/api/listings
1687
2123
  * @secure
1688
- * @response `200` `ListingPaginated` Success
2124
+ * @response `200` `ListingPaginated` OK
1689
2125
  */
1690
2126
  getListings: (query, params = {}) => this.request(Object.assign({ path: `/api/listings`, method: "GET", query: query, secure: true, format: "json" }, params)),
1691
2127
  /**
@@ -1698,7 +2134,7 @@ export class Api extends HttpClient {
1698
2134
  * @secure
1699
2135
  * @response `201` `Listing` Created
1700
2136
  */
1701
- createListing: (data, params = {}) => this.request(Object.assign({ path: `/api/listings`, method: "POST", body: data, secure: true, type: "application/json", format: "json" }, params)),
2137
+ createListing: (data, params = {}) => this.request(Object.assign({ path: `/api/listings`, method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
1702
2138
  /**
1703
2139
  * No description
1704
2140
  *
@@ -1707,7 +2143,7 @@ export class Api extends HttpClient {
1707
2143
  * @summary Get by Slug
1708
2144
  * @request GET:/api/listings/slug/{slug}
1709
2145
  * @secure
1710
- * @response `200` `Listing` Success
2146
+ * @response `200` `Listing` OK
1711
2147
  */
1712
2148
  getListingBySlug: (slug, params = {}) => this.request(Object.assign({ path: `/api/listings/slug/${slug}`, method: "GET", secure: true, format: "json" }, params)),
1713
2149
  /**
@@ -1718,7 +2154,7 @@ export class Api extends HttpClient {
1718
2154
  * @summary Get by ID
1719
2155
  * @request GET:/api/listings/{id}
1720
2156
  * @secure
1721
- * @response `200` `Listing` Success
2157
+ * @response `200` `Listing` OK
1722
2158
  */
1723
2159
  getListing: (id, params = {}) => this.request(Object.assign({ path: `/api/listings/${id}`, method: "GET", secure: true, format: "json" }, params)),
1724
2160
  /**
@@ -1729,9 +2165,9 @@ export class Api extends HttpClient {
1729
2165
  * @summary Replace
1730
2166
  * @request PUT:/api/listings/{id}
1731
2167
  * @secure
1732
- * @response `200` `Listing` Success
2168
+ * @response `200` `Listing` OK
1733
2169
  */
1734
- replaceListing: (id, data, params = {}) => this.request(Object.assign({ path: `/api/listings/${id}`, method: "PUT", body: data, secure: true, type: "application/json", format: "json" }, params)),
2170
+ replaceListing: (id, data, params = {}) => this.request(Object.assign({ path: `/api/listings/${id}`, method: "PUT", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
1735
2171
  /**
1736
2172
  * No description
1737
2173
  *
@@ -1751,9 +2187,9 @@ export class Api extends HttpClient {
1751
2187
  * @summary Search
1752
2188
  * @request POST:/api/listings/search
1753
2189
  * @secure
1754
- * @response `200` `ListingPaginated` Success
2190
+ * @response `200` `ListingPaginated` OK
1755
2191
  */
1756
- 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)),
2192
+ 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)),
1757
2193
  /**
1758
2194
  * No description
1759
2195
  *
@@ -1762,9 +2198,9 @@ export class Api extends HttpClient {
1762
2198
  * @summary Update Background Image
1763
2199
  * @request PUT:/api/listings/{id}/background-image
1764
2200
  * @secure
1765
- * @response `200` `File` Success
2201
+ * @response `200` `File` OK
1766
2202
  */
1767
- 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)),
2203
+ 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)),
1768
2204
  /**
1769
2205
  * No description
1770
2206
  *
@@ -1784,7 +2220,7 @@ export class Api extends HttpClient {
1784
2220
  * @summary Get Open House Flyer
1785
2221
  * @request GET:/api/listings/{id}/open-house-flyer
1786
2222
  * @secure
1787
- * @response `200` `File` Success
2223
+ * @response `200` `File` OK
1788
2224
  */
1789
2225
  getListingOpenHouseFlyer: (id, params = {}) => this.request(Object.assign({ path: `/api/listings/${id}/open-house-flyer`, method: "GET", secure: true, format: "json" }, params)),
1790
2226
  /**
@@ -1795,7 +2231,7 @@ export class Api extends HttpClient {
1795
2231
  * @summary Get
1796
2232
  * @request GET:/api/loans/{loanID}/calculators/loan-calculator
1797
2233
  * @secure
1798
- * @response `200` `RunLOCalculation` Success
2234
+ * @response `200` `RunLOCalculation` OK
1799
2235
  */
1800
2236
  getLoanCalculator: (loanId, params = {}) => this.request(Object.assign({ path: `/api/loans/${loanId}/calculators/loan-calculator`, method: "GET", secure: true, format: "json" }, params)),
1801
2237
  /**
@@ -1806,11 +2242,11 @@ export class Api extends HttpClient {
1806
2242
  * @summary Run
1807
2243
  * @request POST:/api/loans/{loanID}/calculators/loan-calculator
1808
2244
  * @secure
1809
- * @response `200` `RunLOCalculation` Success
1810
- * @response `422` `UnprocessableEntity` Client Error
1811
- * @response `423` `UnprocessableEntity` Client Error
2245
+ * @response `200` `RunLOCalculation` OK
2246
+ * @response `422` `UnprocessableEntity` Unprocessable Content
2247
+ * @response `423` `UnprocessableEntity` Locked
1812
2248
  */
1813
- 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)),
2249
+ 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)),
1814
2250
  /**
1815
2251
  * No description
1816
2252
  *
@@ -1819,7 +2255,7 @@ export class Api extends HttpClient {
1819
2255
  * @summary Get All
1820
2256
  * @request GET:/api/loans/{loanID}/loan-comparison
1821
2257
  * @secure
1822
- * @response `200` `LoanComparison` Success
2258
+ * @response `200` `LoanComparison` OK
1823
2259
  */
1824
2260
  getLoanComparisons: (loanId, params = {}) => this.request(Object.assign({ path: `/api/loans/${loanId}/loan-comparison`, method: "GET", secure: true, format: "json" }, params)),
1825
2261
  /**
@@ -1831,10 +2267,10 @@ export class Api extends HttpClient {
1831
2267
  * @request POST:/api/loans/{loanID}/loan-comparison/{index}
1832
2268
  * @secure
1833
2269
  * @response `201` `LoanComparisonScenario` Created
1834
- * @response `422` `UnprocessableEntity` Client Error
1835
- * @response `423` `UnprocessableEntity` Client Error
2270
+ * @response `422` `UnprocessableEntity` Unprocessable Content
2271
+ * @response `423` `UnprocessableEntity` Locked
1836
2272
  */
1837
- 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)),
2273
+ 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)),
1838
2274
  /**
1839
2275
  * No description
1840
2276
  *
@@ -1855,9 +2291,9 @@ export class Api extends HttpClient {
1855
2291
  * @request POST:/api/loans/{loanID}/loan-comparison/pdf
1856
2292
  * @secure
1857
2293
  * @response `204` `void` No Content
1858
- * @response `422` `UnprocessableEntity` Client Error
2294
+ * @response `422` `UnprocessableEntity` Unprocessable Content
1859
2295
  */
1860
- 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)),
2296
+ 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)),
1861
2297
  /**
1862
2298
  * No description
1863
2299
  *
@@ -1868,7 +2304,7 @@ export class Api extends HttpClient {
1868
2304
  * @secure
1869
2305
  * @response `204` `void` No Content
1870
2306
  * @response `404` `ProblemDetails` Not Found
1871
- * @response `422` `ProblemDetails` Client Error
2307
+ * @response `422` `ProblemDetails` Unprocessable Content
1872
2308
  */
1873
2309
  resyncLoanConsents: (loanId, params = {}) => this.request(Object.assign({ path: `/api/loans/${loanId}/consents/resync`, method: "POST", secure: true }, params)),
1874
2310
  /**
@@ -1879,7 +2315,7 @@ export class Api extends HttpClient {
1879
2315
  * @summary Get all custom field values for a loan
1880
2316
  * @request GET:/api/loans/{loanId}/custom-fields
1881
2317
  * @secure
1882
- * @response `200` `(CustomFieldValue)[]` Success
2318
+ * @response `200` `(CustomFieldValue)[]` OK
1883
2319
  */
1884
2320
  getLoanCustomFieldValues: (loanId, params = {}) => this.request(Object.assign({ path: `/api/loans/${loanId}/custom-fields`, method: "GET", secure: true, format: "json" }, params)),
1885
2321
  /**
@@ -1892,9 +2328,9 @@ export class Api extends HttpClient {
1892
2328
  * @secure
1893
2329
  * @response `204` `void` No Content
1894
2330
  * @response `400` `ProblemDetails` Bad Request
1895
- * @response `422` `ProblemDetails` Client Error
2331
+ * @response `422` `ProblemDetails` Unprocessable Content
1896
2332
  */
1897
- bulkSetLoanCustomFieldValues: (loanId, data, params = {}) => this.request(Object.assign({ path: `/api/loans/${loanId}/custom-fields`, method: "PUT", body: data, secure: true, type: "application/json" }, params)),
2333
+ bulkSetLoanCustomFieldValues: (loanId, data, params = {}) => this.request(Object.assign({ path: `/api/loans/${loanId}/custom-fields`, method: "PUT", body: data, secure: true, type: ContentType.Json }, params)),
1898
2334
  /**
1899
2335
  * No description
1900
2336
  *
@@ -1906,9 +2342,9 @@ export class Api extends HttpClient {
1906
2342
  * @response `204` `void` No Content
1907
2343
  * @response `400` `ProblemDetails` Bad Request
1908
2344
  * @response `404` `ProblemDetails` Not Found
1909
- * @response `422` `ProblemDetails` Client Error
2345
+ * @response `422` `ProblemDetails` Unprocessable Content
1910
2346
  */
1911
- 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)),
2347
+ setLoanCustomFieldValue: (loanId, definitionId, data, params = {}) => this.request(Object.assign({ path: `/api/loans/${loanId}/custom-fields/${definitionId}`, method: "PUT", body: data, secure: true, type: ContentType.Json }, params)),
1912
2348
  /**
1913
2349
  * No description
1914
2350
  *
@@ -1929,7 +2365,7 @@ export class Api extends HttpClient {
1929
2365
  * @summary Get All
1930
2366
  * @request GET:/api/loans/{loanId}/documents/buckets
1931
2367
  * @secure
1932
- * @response `200` `(string)[]` Success
2368
+ * @response `200` `(string)[]` OK
1933
2369
  */
1934
2370
  getLoanDocumentBuckets: (loanId, params = {}) => this.request(Object.assign({ path: `/api/loans/${loanId}/documents/buckets`, method: "GET", secure: true, format: "json" }, params)),
1935
2371
  /**
@@ -1942,7 +2378,7 @@ export class Api extends HttpClient {
1942
2378
  * @secure
1943
2379
  * @response `201` `(string)[]` Created
1944
2380
  */
1945
- createLoanDocumentBuckets: (loanId, data, params = {}) => this.request(Object.assign({ path: `/api/loans/${loanId}/documents/buckets`, method: "POST", body: data, secure: true, type: "application/json", format: "json" }, params)),
2381
+ 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)),
1946
2382
  /**
1947
2383
  * No description
1948
2384
  *
@@ -1951,7 +2387,7 @@ export class Api extends HttpClient {
1951
2387
  * @summary Get all loan document folders for the current account
1952
2388
  * @request GET:/api/loan-document-folders
1953
2389
  * @secure
1954
- * @response `200` `(LoanDocumentFolder)[]` Success
2390
+ * @response `200` `(LoanDocumentFolder)[]` OK
1955
2391
  */
1956
2392
  getAllLoanDocumentFolders: (params = {}) => this.request(Object.assign({ path: `/api/loan-document-folders`, method: "GET", secure: true, format: "json" }, params)),
1957
2393
  /**
@@ -1964,9 +2400,9 @@ export class Api extends HttpClient {
1964
2400
  * @secure
1965
2401
  * @response `201` `LoanDocumentFolder` Created
1966
2402
  * @response `409` `ProblemDetails` Conflict
1967
- * @response `422` `ProblemDetails` Client Error
2403
+ * @response `422` `ProblemDetails` Unprocessable Content
1968
2404
  */
1969
- createLoanDocumentFolder: (data, params = {}) => this.request(Object.assign({ path: `/api/loan-document-folders`, method: "POST", body: data, secure: true, type: "application/json", format: "json" }, params)),
2405
+ createLoanDocumentFolder: (data, params = {}) => this.request(Object.assign({ path: `/api/loan-document-folders`, method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
1970
2406
  /**
1971
2407
  * No description
1972
2408
  *
@@ -1975,7 +2411,7 @@ export class Api extends HttpClient {
1975
2411
  * @summary Get a loan document folder by ID
1976
2412
  * @request GET:/api/loan-document-folders/{id}
1977
2413
  * @secure
1978
- * @response `200` `LoanDocumentFolder` Success
2414
+ * @response `200` `LoanDocumentFolder` OK
1979
2415
  * @response `404` `ProblemDetails` Not Found
1980
2416
  */
1981
2417
  getLoanDocumentFolderById: (id, params = {}) => this.request(Object.assign({ path: `/api/loan-document-folders/${id}`, method: "GET", secure: true, format: "json" }, params)),
@@ -1987,13 +2423,13 @@ export class Api extends HttpClient {
1987
2423
  * @summary Update a loan document folder. Blocked when folder has ever been referenced, except for permission edits on the system-default Unassigned folder.
1988
2424
  * @request PUT:/api/loan-document-folders/{id}
1989
2425
  * @secure
1990
- * @response `200` `LoanDocumentFolder` Success
2426
+ * @response `200` `LoanDocumentFolder` OK
1991
2427
  * @response `400` `ProblemDetails` Bad Request
1992
2428
  * @response `404` `ProblemDetails` Not Found
1993
2429
  * @response `409` `ProblemDetails` Conflict
1994
- * @response `422` `ProblemDetails` Client Error
2430
+ * @response `422` `ProblemDetails` Unprocessable Content
1995
2431
  */
1996
- 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)),
2432
+ updateLoanDocumentFolder: (id, data, params = {}) => this.request(Object.assign({ path: `/api/loan-document-folders/${id}`, method: "PUT", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
1997
2433
  /**
1998
2434
  * No description
1999
2435
  *
@@ -2041,7 +2477,7 @@ export class Api extends HttpClient {
2041
2477
  * @summary Get folder usage. Returns HasEverBeenReferenced including soft-deleted documents and tasks.
2042
2478
  * @request GET:/api/loan-document-folders/{id}/usage
2043
2479
  * @secure
2044
- * @response `200` `LoanDocumentFolderUsage` Success
2480
+ * @response `200` `LoanDocumentFolderUsage` OK
2045
2481
  * @response `404` `ProblemDetails` Not Found
2046
2482
  */
2047
2483
  getLoanDocumentFolderUsage: (id, params = {}) => this.request(Object.assign({ path: `/api/loan-document-folders/${id}/usage`, method: "GET", secure: true, format: "json" }, params)),
@@ -2053,7 +2489,7 @@ export class Api extends HttpClient {
2053
2489
  * @summary Get By ID
2054
2490
  * @request GET:/api/loans/{loanId}/documents/{documentId}
2055
2491
  * @secure
2056
- * @response `200` `LoanDocument` Success
2492
+ * @response `200` `LoanDocument` OK
2057
2493
  * @response `404` `ProblemDetails` Not Found
2058
2494
  */
2059
2495
  getLoanDocument: (loanId, documentId, query, params = {}) => this.request(Object.assign({ path: `/api/loans/${loanId}/documents/${documentId}`, method: "GET", query: query, secure: true, format: "json" }, params)),
@@ -2065,10 +2501,10 @@ export class Api extends HttpClient {
2065
2501
  * @summary Get document previews in batch
2066
2502
  * @request POST:/api/loans/{loanId}/documents/previews
2067
2503
  * @secure
2068
- * @response `200` `Record<string,string>` Success
2504
+ * @response `200` `Record<string,string>` OK
2069
2505
  * @response `400` `ProblemDetails` Bad Request
2070
2506
  */
2071
- 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)),
2507
+ getLoanDocumentPreviews: (loanId, data, params = {}) => this.request(Object.assign({ path: `/api/loans/${loanId}/documents/previews`, method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
2072
2508
  /**
2073
2509
  * No description
2074
2510
  *
@@ -2077,9 +2513,9 @@ export class Api extends HttpClient {
2077
2513
  * @summary Search loan documents
2078
2514
  * @request POST:/api/loans/{loanId}/documents/search
2079
2515
  * @secure
2080
- * @response `200` `LoanDocumentSearchPaginated` Success
2516
+ * @response `200` `LoanDocumentSearchPaginated` OK
2081
2517
  */
2082
- 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)),
2518
+ 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)),
2083
2519
  /**
2084
2520
  * @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).
2085
2521
  *
@@ -2088,9 +2524,9 @@ export class Api extends HttpClient {
2088
2524
  * @summary Get document folder hierarchy
2089
2525
  * @request POST:/api/loans/{loanId}/documents/folders
2090
2526
  * @secure
2091
- * @response `200` `(DocumentFolder)[]` Success
2527
+ * @response `200` `(DocumentFolder)[]` OK
2092
2528
  */
2093
- 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)),
2529
+ 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)),
2094
2530
  /**
2095
2531
  * No description
2096
2532
  *
@@ -2099,7 +2535,7 @@ export class Api extends HttpClient {
2099
2535
  * @summary Download By ID
2100
2536
  * @request GET:/api/loans/{loanId}/documents/{documentId}/download
2101
2537
  * @secure
2102
- * @response `200` `Blob` Success
2538
+ * @response `200` `string` OK
2103
2539
  * @response `404` `ProblemDetails` Not Found
2104
2540
  */
2105
2541
  downloadLoanDocument: (loanId, documentId, params = {}) => this.request(Object.assign({ path: `/api/loans/${loanId}/documents/${documentId}/download`, method: "GET", secure: true, format: "json" }, params)),
@@ -2113,9 +2549,9 @@ export class Api extends HttpClient {
2113
2549
  * @secure
2114
2550
  * @response `201` `LoanDocument` Created
2115
2551
  * @response `404` `ProblemDetails` Not Found
2116
- * @response `422` `UnprocessableEntity` Client Error
2552
+ * @response `422` `UnprocessableEntity` Unprocessable Content
2117
2553
  */
2118
- 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)),
2554
+ 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)),
2119
2555
  /**
2120
2556
  * No description
2121
2557
  *
@@ -2124,9 +2560,9 @@ export class Api extends HttpClient {
2124
2560
  * @summary Retry
2125
2561
  * @request POST:/api/loans/{loanId}/documents/{documentId}/retry
2126
2562
  * @secure
2127
- * @response `200` `LoanDocument` Success
2563
+ * @response `200` `LoanDocument` OK
2128
2564
  * @response `404` `ProblemDetails` Not Found
2129
- * @response `422` `UnprocessableEntity` Client Error
2565
+ * @response `422` `UnprocessableEntity` Unprocessable Content
2130
2566
  */
2131
2567
  retryFailedLoanDocument: (loanId, documentId, params = {}) => this.request(Object.assign({ path: `/api/loans/${loanId}/documents/${documentId}/retry`, method: "POST", secure: true, format: "json" }, params)),
2132
2568
  /**
@@ -2137,9 +2573,9 @@ export class Api extends HttpClient {
2137
2573
  * @summary Generate PDF Document
2138
2574
  * @request POST:/api/loans/{loanId}/documents/generate
2139
2575
  * @secure
2140
- * @response `200` `DocumentDataRequest` Success
2576
+ * @response `200` `DocumentDataRequest` OK
2141
2577
  */
2142
- 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)),
2578
+ 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)),
2143
2579
  /**
2144
2580
  * No description
2145
2581
  *
@@ -2148,11 +2584,11 @@ export class Api extends HttpClient {
2148
2584
  * @summary Send existing documents to loan users or external emails
2149
2585
  * @request POST:/api/loans/{loanId}/documents/distribute
2150
2586
  * @secure
2151
- * @response `200` `void` Success
2587
+ * @response `200` `void` OK
2152
2588
  * @response `400` `ProblemDetails` Bad Request
2153
2589
  * @response `404` `ProblemDetails` Not Found
2154
2590
  */
2155
- sendLoanDocuments: (loanId, data, params = {}) => this.request(Object.assign({ path: `/api/loans/${loanId}/documents/distribute`, method: "POST", body: data, secure: true, type: "application/json" }, params)),
2591
+ sendLoanDocuments: (loanId, data, params = {}) => this.request(Object.assign({ path: `/api/loans/${loanId}/documents/distribute`, method: "POST", body: data, secure: true, type: ContentType.Json }, params)),
2156
2592
  /**
2157
2593
  * @description Fetches all documents from Encompass that don't exist locally and stores them in S3
2158
2594
  *
@@ -2161,7 +2597,7 @@ export class Api extends HttpClient {
2161
2597
  * @summary Sync documents from LOS
2162
2598
  * @request POST:/api/loans/{loanId}/documents/sync
2163
2599
  * @secure
2164
- * @response `200` `DocumentSync` Success
2600
+ * @response `200` `DocumentSync` OK
2165
2601
  * @response `404` `ProblemDetails` Not Found
2166
2602
  */
2167
2603
  syncLoanDocumentsFromLos: (loanId, params = {}) => this.request(Object.assign({ path: `/api/loans/${loanId}/documents/sync`, method: "POST", secure: true, format: "json" }, params)),
@@ -2173,9 +2609,9 @@ export class Api extends HttpClient {
2173
2609
  * @summary Retry syncing a document to LOS
2174
2610
  * @request POST:/api/loans/{loanId}/documents/{documentId}/sync/retry
2175
2611
  * @secure
2176
- * @response `200` `void` Success
2612
+ * @response `200` `void` OK
2177
2613
  * @response `404` `ProblemDetails` Not Found
2178
- * @response `423` `ProblemDetails` Client Error
2614
+ * @response `423` `ProblemDetails` Locked
2179
2615
  */
2180
2616
  retrySyncLoanDocumentToLos: (loanId, documentId, params = {}) => this.request(Object.assign({ path: `/api/loans/${loanId}/documents/${documentId}/sync/retry`, method: "POST", secure: true }, params)),
2181
2617
  /**
@@ -2188,7 +2624,7 @@ export class Api extends HttpClient {
2188
2624
  * @secure
2189
2625
  * @response `201` `Draft` Created
2190
2626
  */
2191
- createLoanDraft: (data, params = {}) => this.request(Object.assign({ path: `/api/loans/drafts`, method: "POST", body: data, secure: true, type: "application/json", format: "json" }, params)),
2627
+ createLoanDraft: (data, params = {}) => this.request(Object.assign({ path: `/api/loans/drafts`, method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
2192
2628
  /**
2193
2629
  * No description
2194
2630
  *
@@ -2197,7 +2633,7 @@ export class Api extends HttpClient {
2197
2633
  * @summary Get All
2198
2634
  * @request GET:/api/loans/drafts
2199
2635
  * @secure
2200
- * @response `200` `(DraftContent)[]` Success
2636
+ * @response `200` `(DraftContent)[]` OK
2201
2637
  */
2202
2638
  getLoanDrafts: (params = {}) => this.request(Object.assign({ path: `/api/loans/drafts`, method: "GET", secure: true, format: "json" }, params)),
2203
2639
  /**
@@ -2208,7 +2644,7 @@ export class Api extends HttpClient {
2208
2644
  * @summary Get by ID
2209
2645
  * @request GET:/api/loans/drafts/{draftId}
2210
2646
  * @secure
2211
- * @response `200` `DraftContent` Success
2647
+ * @response `200` `DraftContent` OK
2212
2648
  */
2213
2649
  getLoanDraft: (draftId, params = {}) => this.request(Object.assign({ path: `/api/loans/drafts/${draftId}`, method: "GET", secure: true, format: "json" }, params)),
2214
2650
  /**
@@ -2219,9 +2655,9 @@ export class Api extends HttpClient {
2219
2655
  * @summary Replace
2220
2656
  * @request PUT:/api/loans/drafts/{draftId}
2221
2657
  * @secure
2222
- * @response `200` `Draft` Success
2658
+ * @response `200` `Draft` OK
2223
2659
  */
2224
- 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)),
2660
+ 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)),
2225
2661
  /**
2226
2662
  * No description
2227
2663
  *
@@ -2243,7 +2679,7 @@ export class Api extends HttpClient {
2243
2679
  * @secure
2244
2680
  * @response `201` `DraftContentPaginated` Created
2245
2681
  */
2246
- 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)),
2682
+ 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)),
2247
2683
  /**
2248
2684
  * No description
2249
2685
  *
@@ -2252,9 +2688,9 @@ export class Api extends HttpClient {
2252
2688
  * @summary Reassign Loan officer
2253
2689
  * @request PUT:/api/loans/drafts/{draftId}/reassign
2254
2690
  * @secure
2255
- * @response `200` `Draft` Success
2691
+ * @response `200` `Draft` OK
2256
2692
  */
2257
- 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)),
2693
+ 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)),
2258
2694
  /**
2259
2695
  * No description
2260
2696
  *
@@ -2263,7 +2699,7 @@ export class Api extends HttpClient {
2263
2699
  * @summary Restore deleted draft
2264
2700
  * @request POST:/api/loans/drafts/{draftId}/restore
2265
2701
  * @secure
2266
- * @response `200` `Draft` Success
2702
+ * @response `200` `Draft` OK
2267
2703
  */
2268
2704
  restoreLoanDraft: (draftId, params = {}) => this.request(Object.assign({ path: `/api/loans/drafts/${draftId}/restore`, method: "POST", secure: true, format: "json" }, params)),
2269
2705
  /**
@@ -2274,7 +2710,7 @@ export class Api extends HttpClient {
2274
2710
  * @summary Get Loan Imports
2275
2711
  * @request GET:/api/loan-imports
2276
2712
  * @secure
2277
- * @response `200` `LoanImportPaginated` Success
2713
+ * @response `200` `LoanImportPaginated` OK
2278
2714
  */
2279
2715
  getLoanImports: (query, params = {}) => this.request(Object.assign({ path: `/api/loan-imports`, method: "GET", query: query, secure: true, format: "json" }, params)),
2280
2716
  /**
@@ -2287,7 +2723,7 @@ export class Api extends HttpClient {
2287
2723
  * @secure
2288
2724
  * @response `201` `LoanImport` Created
2289
2725
  */
2290
- createLoanImport: (data, params = {}) => this.request(Object.assign({ path: `/api/loan-imports`, method: "POST", body: data, secure: true, type: "application/json", format: "json" }, params)),
2726
+ createLoanImport: (data, params = {}) => this.request(Object.assign({ path: `/api/loan-imports`, method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
2291
2727
  /**
2292
2728
  * No description
2293
2729
  *
@@ -2296,7 +2732,7 @@ export class Api extends HttpClient {
2296
2732
  * @summary Get Loan Import
2297
2733
  * @request GET:/api/loan-imports/{id}
2298
2734
  * @secure
2299
- * @response `200` `LoanImport` Success
2735
+ * @response `200` `LoanImport` OK
2300
2736
  */
2301
2737
  getLoanImport: (id, params = {}) => this.request(Object.assign({ path: `/api/loan-imports/${id}`, method: "GET", secure: true, format: "json" }, params)),
2302
2738
  /**
@@ -2307,7 +2743,7 @@ export class Api extends HttpClient {
2307
2743
  * @summary Get Loan Import Logs
2308
2744
  * @request GET:/api/loan-imports/{id}/logs
2309
2745
  * @secure
2310
- * @response `200` `LoanImportLogPaginated` Success
2746
+ * @response `200` `LoanImportLogPaginated` OK
2311
2747
  */
2312
2748
  getLoanImportLogs: (id, query, params = {}) => this.request(Object.assign({ path: `/api/loan-imports/${id}/logs`, method: "GET", query: query, secure: true, format: "json" }, params)),
2313
2749
  /**
@@ -2318,7 +2754,7 @@ export class Api extends HttpClient {
2318
2754
  * @summary Get Invites
2319
2755
  * @request GET:/api/loans/{loanId}/invites
2320
2756
  * @secure
2321
- * @response `200` `(Invite)[]` Success
2757
+ * @response `200` `(Invite)[]` OK
2322
2758
  * @response `404` `ProblemDetails` Not Found
2323
2759
  */
2324
2760
  getLoanInvites: (loanId, params = {}) => this.request(Object.assign({ path: `/api/loans/${loanId}/invites`, method: "GET", secure: true, format: "json" }, params)),
@@ -2330,10 +2766,10 @@ export class Api extends HttpClient {
2330
2766
  * @summary Invite Contacts
2331
2767
  * @request POST:/api/loans/{loanId}/invites
2332
2768
  * @secure
2333
- * @response `200` `(Invite)[]` Success
2769
+ * @response `200` `(Invite)[]` OK
2334
2770
  * @response `404` `ProblemDetails` Not Found
2335
2771
  */
2336
- 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)),
2772
+ 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)),
2337
2773
  /**
2338
2774
  * No description
2339
2775
  *
@@ -2342,9 +2778,9 @@ export class Api extends HttpClient {
2342
2778
  * @summary Search loan logs
2343
2779
  * @request POST:/api/loans/{loanId}/logs/search
2344
2780
  * @secure
2345
- * @response `200` `LoanLogPaginated` Success
2781
+ * @response `200` `LoanLogPaginated` OK
2346
2782
  */
2347
- 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)),
2783
+ 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)),
2348
2784
  /**
2349
2785
  * No description
2350
2786
  *
@@ -2353,7 +2789,7 @@ export class Api extends HttpClient {
2353
2789
  * @summary Get loan log by ID
2354
2790
  * @request GET:/api/loans/{loanId}/logs/{loanLogId}
2355
2791
  * @secure
2356
- * @response `200` `LoanLogDetail` Success
2792
+ * @response `200` `LoanLogDetail` OK
2357
2793
  * @response `404` `ProblemDetails` Not Found
2358
2794
  */
2359
2795
  getLoanLogById: (loanId, loanLogId, params = {}) => this.request(Object.assign({ path: `/api/loans/${loanId}/logs/${loanLogId}`, method: "GET", secure: true, format: "json" }, params)),
@@ -2365,7 +2801,7 @@ export class Api extends HttpClient {
2365
2801
  * @summary Get All
2366
2802
  * @request GET:/api/loan-officers
2367
2803
  * @secure
2368
- * @response `200` `BranchUserPaginated` Success
2804
+ * @response `200` `BranchUserPaginated` OK
2369
2805
  */
2370
2806
  getLoanOfficers: (query, params = {}) => this.request(Object.assign({ path: `/api/loan-officers`, method: "GET", query: query, secure: true, format: "json" }, params)),
2371
2807
  /**
@@ -2376,9 +2812,9 @@ export class Api extends HttpClient {
2376
2812
  * @summary Search
2377
2813
  * @request POST:/api/loan-officers/search
2378
2814
  * @secure
2379
- * @response `200` `BranchUserPaginated` Success
2815
+ * @response `200` `BranchUserPaginated` OK
2380
2816
  */
2381
- 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)),
2817
+ 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)),
2382
2818
  /**
2383
2819
  * No description
2384
2820
  *
@@ -2387,7 +2823,7 @@ export class Api extends HttpClient {
2387
2823
  * @summary Get by ID
2388
2824
  * @request GET:/api/loan-officers/{id}
2389
2825
  * @secure
2390
- * @response `200` `BranchUser` Success
2826
+ * @response `200` `BranchUser` OK
2391
2827
  */
2392
2828
  getLoanOfficer: (id, params = {}) => this.request(Object.assign({ path: `/api/loan-officers/${id}`, method: "GET", secure: true, format: "json" }, params)),
2393
2829
  /**
@@ -2398,10 +2834,10 @@ export class Api extends HttpClient {
2398
2834
  * @summary Create Site Configuration
2399
2835
  * @request POST:/api/loan-officers/{loanOfficerId}/site-configurations
2400
2836
  * @secure
2401
- * @response `200` `SiteConfiguration` Success
2402
- * @response `422` `UnprocessableEntity` Client Error
2837
+ * @response `200` `SiteConfiguration` OK
2838
+ * @response `422` `UnprocessableEntity` Unprocessable Content
2403
2839
  */
2404
- 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)),
2840
+ 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)),
2405
2841
  /**
2406
2842
  * No description
2407
2843
  *
@@ -2410,7 +2846,7 @@ export class Api extends HttpClient {
2410
2846
  * @summary Get Site Configuration
2411
2847
  * @request GET:/api/loan-officers/{loanOfficerId}/site-configurations/{siteConfigurationId}
2412
2848
  * @secure
2413
- * @response `200` `SiteConfigurationWithInherited` Success
2849
+ * @response `200` `SiteConfigurationWithInherited` OK
2414
2850
  */
2415
2851
  getLoanOfficerSiteConfiguration: (loanOfficerId, siteConfigurationId, params = {}) => this.request(Object.assign({ path: `/api/loan-officers/${loanOfficerId}/site-configurations/${siteConfigurationId}`, method: "GET", secure: true, format: "json" }, params)),
2416
2852
  /**
@@ -2421,10 +2857,10 @@ export class Api extends HttpClient {
2421
2857
  * @summary Replace Site Configuration
2422
2858
  * @request PUT:/api/loan-officers/{loanOfficerId}/site-configurations/{siteConfigurationId}
2423
2859
  * @secure
2424
- * @response `200` `SiteConfiguration` Success
2425
- * @response `422` `UnprocessableEntity` Client Error
2860
+ * @response `200` `SiteConfiguration` OK
2861
+ * @response `422` `UnprocessableEntity` Unprocessable Content
2426
2862
  */
2427
- 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)),
2863
+ 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)),
2428
2864
  /**
2429
2865
  * No description
2430
2866
  *
@@ -2433,9 +2869,9 @@ export class Api extends HttpClient {
2433
2869
  * @summary Search
2434
2870
  * @request POST:/api/loans/queue/search
2435
2871
  * @secure
2436
- * @response `200` `LoanQueuePaginated` Success
2872
+ * @response `200` `LoanQueuePaginated` OK
2437
2873
  */
2438
- 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)),
2874
+ 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)),
2439
2875
  /**
2440
2876
  * No description
2441
2877
  *
@@ -2444,7 +2880,7 @@ export class Api extends HttpClient {
2444
2880
  * @summary Get Loan Queue Record
2445
2881
  * @request GET:/api/loans/queue/{loanQueueId}
2446
2882
  * @secure
2447
- * @response `200` `any` Success
2883
+ * @response `200` `any` OK
2448
2884
  * @response `404` `ProblemDetails` Not Found
2449
2885
  */
2450
2886
  getLoanQueue: (loanQueueId, params = {}) => this.request(Object.assign({ path: `/api/loans/queue/${loanQueueId}`, method: "GET", secure: true, format: "json" }, params)),
@@ -2456,10 +2892,10 @@ export class Api extends HttpClient {
2456
2892
  * @summary Replace Loan Queue Record
2457
2893
  * @request PUT:/api/loans/queue/{loanQueueId}
2458
2894
  * @secure
2459
- * @response `200` `LoanQueueWithData` Success
2895
+ * @response `200` `LoanQueueWithData` OK
2460
2896
  * @response `404` `ProblemDetails` Not Found
2461
2897
  */
2462
- 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)),
2898
+ 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)),
2463
2899
  /**
2464
2900
  * No description
2465
2901
  *
@@ -2492,7 +2928,7 @@ export class Api extends HttpClient {
2492
2928
  * @summary Get By ID
2493
2929
  * @request GET:/api/loans/{loanID}
2494
2930
  * @secure
2495
- * @response `200` `Loan` Success
2931
+ * @response `200` `Loan` OK
2496
2932
  * @response `404` `ProblemDetails` Not Found
2497
2933
  */
2498
2934
  getLoan: (loanId, params = {}) => this.request(Object.assign({ path: `/api/loans/${loanId}`, method: "GET", secure: true, format: "json" }, params)),
@@ -2504,7 +2940,7 @@ export class Api extends HttpClient {
2504
2940
  * @summary Get Loans
2505
2941
  * @request GET:/api/loans
2506
2942
  * @secure
2507
- * @response `200` `GetApplications` Success
2943
+ * @response `200` `GetApplications` OK
2508
2944
  */
2509
2945
  getLoans: (params = {}) => this.request(Object.assign({ path: `/api/loans`, method: "GET", secure: true, format: "json" }, params)),
2510
2946
  /**
@@ -2520,7 +2956,7 @@ export class Api extends HttpClient {
2520
2956
  * @response `401` `ProblemDetails` Unauthorized
2521
2957
  * @response `403` `ProblemDetails` Forbidden
2522
2958
  */
2523
- createLoanv3: (data, params = {}) => this.request(Object.assign({ path: `/api/loans`, method: "POST", body: data, secure: true, type: "application/json", format: "json" }, params)),
2959
+ createLoanv3: (data, params = {}) => this.request(Object.assign({ path: `/api/loans`, method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
2524
2960
  /**
2525
2961
  * No description
2526
2962
  *
@@ -2529,9 +2965,9 @@ export class Api extends HttpClient {
2529
2965
  * @summary Search
2530
2966
  * @request POST:/api/loans/search
2531
2967
  * @secure
2532
- * @response `200` `LoanListPaginated` Success
2968
+ * @response `200` `LoanListPaginated` OK
2533
2969
  */
2534
- 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)),
2970
+ 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)),
2535
2971
  /**
2536
2972
  * No description
2537
2973
  *
@@ -2540,7 +2976,7 @@ export class Api extends HttpClient {
2540
2976
  * @summary Update loan fields
2541
2977
  * @request PATCH:/api/loans/{loanId}
2542
2978
  * @secure
2543
- * @response `200` `Loan` Success
2979
+ * @response `200` `Loan` OK
2544
2980
  * @response `400` `any` Bad Request
2545
2981
  * @response `401` `ProblemDetails` Unauthorized
2546
2982
  * @response `403` `ProblemDetails` Forbidden
@@ -2569,7 +3005,7 @@ export class Api extends HttpClient {
2569
3005
  * @summary Import from LOS
2570
3006
  * @request POST:/api/loans/import-from-los/{loanId}
2571
3007
  * @secure
2572
- * @response `200` `Loan` Success
3008
+ * @response `200` `Loan` OK
2573
3009
  */
2574
3010
  importLoanFromLos: (loanId, params = {}) => this.request(Object.assign({ path: `/api/loans/import-from-los/${loanId}`, method: "POST", secure: true, format: "json" }, params)),
2575
3011
  /**
@@ -2592,7 +3028,7 @@ export class Api extends HttpClient {
2592
3028
  * @summary Get outstanding items
2593
3029
  * @request GET:/api/loans/{loanId}/outstanding-items
2594
3030
  * @secure
2595
- * @response `200` `LoanOutstandingItems` Success
3031
+ * @response `200` `LoanOutstandingItems` OK
2596
3032
  * @response `401` `ProblemDetails` Unauthorized
2597
3033
  * @response `403` `ProblemDetails` Forbidden
2598
3034
  */
@@ -2605,11 +3041,11 @@ export class Api extends HttpClient {
2605
3041
  * @summary Trigger ASO services
2606
3042
  * @request POST:/api/loans/{loanId}/aso
2607
3043
  * @secure
2608
- * @response `200` `AutomatedService` Success
3044
+ * @response `200` `AutomatedService` OK
2609
3045
  * @response `400` `ProblemDetails` Bad Request
2610
3046
  * @response `404` `ProblemDetails` Not Found
2611
3047
  */
2612
- 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)),
3048
+ triggerAso: (loanId, data, params = {}) => this.request(Object.assign({ path: `/api/loans/${loanId}/aso`, method: "POST", body: data, secure: true, type: ContentType.JsonPatch, format: "json" }, params)),
2613
3049
  /**
2614
3050
  * No description
2615
3051
  *
@@ -2618,10 +3054,10 @@ export class Api extends HttpClient {
2618
3054
  * @summary Search
2619
3055
  * @request POST:/api/loans/{loanId}/tasks/{userLoanTaskId}/comments/search
2620
3056
  * @secure
2621
- * @response `200` `TaskCommentPaginated` Success
3057
+ * @response `200` `TaskCommentPaginated` OK
2622
3058
  * @response `404` `ProblemDetails` Not Found
2623
3059
  */
2624
- 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)),
3060
+ 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)),
2625
3061
  /**
2626
3062
  * No description
2627
3063
  *
@@ -2630,7 +3066,7 @@ export class Api extends HttpClient {
2630
3066
  * @summary Get by ID
2631
3067
  * @request GET:/api/loans/{loanId}/tasks/{userLoanTaskId}/comments/{id}
2632
3068
  * @secure
2633
- * @response `200` `TaskComment` Success
3069
+ * @response `200` `TaskComment` OK
2634
3070
  * @response `404` `ProblemDetails` Not Found
2635
3071
  */
2636
3072
  getLoanTaskComment: (id, loanId, userLoanTaskId, params = {}) => this.request(Object.assign({ path: `/api/loans/${loanId}/tasks/${userLoanTaskId}/comments/${id}`, method: "GET", secure: true, format: "json" }, params)),
@@ -2645,7 +3081,7 @@ export class Api extends HttpClient {
2645
3081
  * @response `201` `TaskComment` Created
2646
3082
  * @response `404` `ProblemDetails` Not Found
2647
3083
  */
2648
- 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)),
3084
+ 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)),
2649
3085
  /**
2650
3086
  * No description
2651
3087
  *
@@ -2654,10 +3090,10 @@ export class Api extends HttpClient {
2654
3090
  * @summary Replace
2655
3091
  * @request PUT:/api/loans/{loanId}/tasks/{userLoanTaskId}/comments/{commentId}
2656
3092
  * @secure
2657
- * @response `200` `TaskComment` Success
3093
+ * @response `200` `TaskComment` OK
2658
3094
  * @response `404` `ProblemDetails` Not Found
2659
3095
  */
2660
- 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)),
3096
+ 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)),
2661
3097
  /**
2662
3098
  * No description
2663
3099
  *
@@ -2680,9 +3116,9 @@ export class Api extends HttpClient {
2680
3116
  * @secure
2681
3117
  * @response `201` `UserLoanTask` Created
2682
3118
  * @response `404` `ProblemDetails` Not Found
2683
- * @response `422` `UnprocessableEntity` Client Error
3119
+ * @response `422` `UnprocessableEntity` Unprocessable Content
2684
3120
  */
2685
- 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)),
3121
+ 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)),
2686
3122
  /**
2687
3123
  * No description
2688
3124
  *
@@ -2692,7 +3128,7 @@ export class Api extends HttpClient {
2692
3128
  * @request POST:/api/loans/{loanID}/tasks/{loanTaskId}/documents/bucket
2693
3129
  * @secure
2694
3130
  * @response `204` `UserLoanTask` No Content
2695
- * @response `422` `UnprocessableEntity` Client Error
3131
+ * @response `422` `UnprocessableEntity` Unprocessable Content
2696
3132
  */
2697
3133
  createLoanTaskDocumentBucket: (loanId, loanTaskId, params = {}) => this.request(Object.assign({ path: `/api/loans/${loanId}/tasks/${loanTaskId}/documents/bucket`, method: "POST", secure: true, format: "json" }, params)),
2698
3134
  /**
@@ -2719,7 +3155,7 @@ export class Api extends HttpClient {
2719
3155
  * @response `400` `ProblemDetails` Bad Request
2720
3156
  * @response `404` `ProblemDetails` Not Found
2721
3157
  */
2722
- sendLoanTaskReminder: (loanId, data, params = {}) => this.request(Object.assign({ path: `/api/loans/${loanId}/tasks/reminders`, method: "POST", body: data, secure: true, type: "application/json" }, params)),
3158
+ sendLoanTaskReminder: (loanId, data, params = {}) => this.request(Object.assign({ path: `/api/loans/${loanId}/tasks/reminders`, method: "POST", body: data, secure: true, type: ContentType.Json }, params)),
2723
3159
  /**
2724
3160
  * @description Search tasks across all loans
2725
3161
  *
@@ -2728,9 +3164,9 @@ export class Api extends HttpClient {
2728
3164
  * @summary Search
2729
3165
  * @request POST:/api/loans/tasks/search
2730
3166
  * @secure
2731
- * @response `200` `UserLoanTaskPaginated` Success
3167
+ * @response `200` `UserLoanTaskPaginated` OK
2732
3168
  */
2733
- 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)),
3169
+ searchLoanTasks: (data, query, params = {}) => this.request(Object.assign({ path: `/api/loans/tasks/search`, method: "POST", query: query, body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
2734
3170
  /**
2735
3171
  * @description Returns task counts grouped by status for loans accessible to the current user based on their role
2736
3172
  *
@@ -2739,10 +3175,10 @@ export class Api extends HttpClient {
2739
3175
  * @summary Search Summary
2740
3176
  * @request POST:/api/loans/tasks/search/summary
2741
3177
  * @secure
2742
- * @response `200` `(LoanTaskStatusSummary)[]` Success
2743
- * @response `422` `UnprocessableEntity` Client Error
3178
+ * @response `200` `(LoanTaskStatusSummary)[]` OK
3179
+ * @response `422` `UnprocessableEntity` Unprocessable Content
2744
3180
  */
2745
- 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)),
3181
+ searchLoanTasksSummary: (data, params = {}) => this.request(Object.assign({ path: `/api/loans/tasks/search/summary`, method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
2746
3182
  /**
2747
3183
  * No description
2748
3184
  *
@@ -2751,7 +3187,7 @@ export class Api extends HttpClient {
2751
3187
  * @summary Get All
2752
3188
  * @request GET:/api/loans/{loanID}/tasks
2753
3189
  * @secure
2754
- * @response `200` `(UserLoanTask)[]` Success
3190
+ * @response `200` `(UserLoanTask)[]` OK
2755
3191
  * @response `404` `ProblemDetails` Not Found
2756
3192
  */
2757
3193
  getLoanTasks: (loanId, params = {}) => this.request(Object.assign({ path: `/api/loans/${loanId}/tasks`, method: "GET", secure: true, format: "json" }, params)),
@@ -2763,7 +3199,7 @@ export class Api extends HttpClient {
2763
3199
  * @summary Get by ID
2764
3200
  * @request GET:/api/loans/{loanID}/tasks/{id}
2765
3201
  * @secure
2766
- * @response `200` `UserLoanTask` Success
3202
+ * @response `200` `UserLoanTask` OK
2767
3203
  * @response `404` `ProblemDetails` Not Found
2768
3204
  */
2769
3205
  getLoanTask: (id, loanId, params = {}) => this.request(Object.assign({ path: `/api/loans/${loanId}/tasks/${id}`, method: "GET", secure: true, format: "json" }, params)),
@@ -2775,7 +3211,7 @@ export class Api extends HttpClient {
2775
3211
  * @summary Get Difference
2776
3212
  * @request GET:/api/loans/{loanID}/tasks/diff
2777
3213
  * @secure
2778
- * @response `200` `(UserLoanTask)[]` Success
3214
+ * @response `200` `(UserLoanTask)[]` OK
2779
3215
  * @response `404` `ProblemDetails` Not Found
2780
3216
  */
2781
3217
  getLoanTaskDifference: (loanId, params = {}) => this.request(Object.assign({ path: `/api/loans/${loanId}/tasks/diff`, method: "GET", secure: true, format: "json" }, params)),
@@ -2790,7 +3226,7 @@ export class Api extends HttpClient {
2790
3226
  * @response `201` `UserLoanTask` Created
2791
3227
  * @response `404` `ProblemDetails` Not Found
2792
3228
  */
2793
- 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)),
3229
+ 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)),
2794
3230
  /**
2795
3231
  * No description
2796
3232
  *
@@ -2802,7 +3238,7 @@ export class Api extends HttpClient {
2802
3238
  * @response `201` `(UserLoanTask)[]` Created
2803
3239
  * @response `404` `ProblemDetails` Not Found
2804
3240
  */
2805
- 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)),
3241
+ 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)),
2806
3242
  /**
2807
3243
  * No description
2808
3244
  *
@@ -2811,10 +3247,10 @@ export class Api extends HttpClient {
2811
3247
  * @summary Replace
2812
3248
  * @request PUT:/api/loans/{loanID}/tasks/{userLoanTaskID}
2813
3249
  * @secure
2814
- * @response `200` `UserLoanTask` Success
3250
+ * @response `200` `UserLoanTask` OK
2815
3251
  * @response `404` `ProblemDetails` Not Found
2816
3252
  */
2817
- 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)),
3253
+ 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)),
2818
3254
  /**
2819
3255
  * No description
2820
3256
  *
@@ -2835,9 +3271,9 @@ export class Api extends HttpClient {
2835
3271
  * @summary Create
2836
3272
  * @request POST:/api/loans/{loanID}/tasks/{loanTaskId}/verifications
2837
3273
  * @secure
2838
- * @response `200` `UserLoanTask` Success
3274
+ * @response `200` `UserLoanTask` OK
2839
3275
  * @response `404` `ProblemDetails` Not Found
2840
- * @response `422` `UnprocessableEntity` Client Error
3276
+ * @response `422` `UnprocessableEntity` Unprocessable Content
2841
3277
  */
2842
3278
  createLoanTaskVerification: (loanId, loanTaskId, params = {}) => this.request(Object.assign({ path: `/api/loans/${loanId}/tasks/${loanTaskId}/verifications`, method: "POST", secure: true, format: "json" }, params)),
2843
3279
  /**
@@ -2848,7 +3284,7 @@ export class Api extends HttpClient {
2848
3284
  * @summary Get User Loan Consents
2849
3285
  * @request GET:/api/loans/{loanId}/users/{userId}/consents
2850
3286
  * @secure
2851
- * @response `200` `(UserLoanConsent)[]` Success
3287
+ * @response `200` `(UserLoanConsent)[]` OK
2852
3288
  * @response `403` `ProblemDetails` Forbidden
2853
3289
  */
2854
3290
  getLoanUserConsents: (loanId, userId, params = {}) => this.request(Object.assign({ path: `/api/loans/${loanId}/users/${userId}/consents`, method: "GET", secure: true, format: "json" }, params)),
@@ -2860,7 +3296,7 @@ export class Api extends HttpClient {
2860
3296
  * @summary Get Loan User
2861
3297
  * @request GET:/api/loans/{loanId}/users/{userId}
2862
3298
  * @secure
2863
- * @response `200` `LoanUser` Success
3299
+ * @response `200` `LoanUser` OK
2864
3300
  */
2865
3301
  getLoanUser: (loanId, userId, params = {}) => this.request(Object.assign({ path: `/api/loans/${loanId}/users/${userId}`, method: "GET", secure: true, format: "json" }, params)),
2866
3302
  /**
@@ -2873,7 +3309,7 @@ export class Api extends HttpClient {
2873
3309
  * @secure
2874
3310
  * @response `201` `LoanUser` Created
2875
3311
  */
2876
- 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)),
3312
+ 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)),
2877
3313
  /**
2878
3314
  * No description
2879
3315
  *
@@ -2904,9 +3340,9 @@ export class Api extends HttpClient {
2904
3340
  * @summary Search LOS operation tracking
2905
3341
  * @request POST:/api/los-operation-tracking/search
2906
3342
  * @secure
2907
- * @response `200` `LosOperationTrackingPaginated` Success
3343
+ * @response `200` `LosOperationTrackingPaginated` OK
2908
3344
  */
2909
- 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)),
3345
+ searchLosOperationTracking: (data, query, params = {}) => this.request(Object.assign({ path: `/api/los-operation-tracking/search`, method: "POST", query: query, body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
2910
3346
  /**
2911
3347
  * No description
2912
3348
  *
@@ -2915,7 +3351,7 @@ export class Api extends HttpClient {
2915
3351
  * @summary Get All
2916
3352
  * @request GET:/api/milestones
2917
3353
  * @secure
2918
- * @response `200` `(MilestoneConfiguration)[]` Success
3354
+ * @response `200` `(MilestoneConfiguration)[]` OK
2919
3355
  */
2920
3356
  getMilestones: (params = {}) => this.request(Object.assign({ path: `/api/milestones`, method: "GET", secure: true, format: "json" }, params)),
2921
3357
  /**
@@ -2927,9 +3363,9 @@ export class Api extends HttpClient {
2927
3363
  * @request POST:/api/milestones
2928
3364
  * @secure
2929
3365
  * @response `201` `MilestoneConfiguration` Created
2930
- * @response `422` `UnprocessableEntity` Client Error
3366
+ * @response `422` `UnprocessableEntity` Unprocessable Content
2931
3367
  */
2932
- createMilestone: (data, params = {}) => this.request(Object.assign({ path: `/api/milestones`, method: "POST", body: data, secure: true, type: "application/json", format: "json" }, params)),
3368
+ createMilestone: (data, params = {}) => this.request(Object.assign({ path: `/api/milestones`, method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
2933
3369
  /**
2934
3370
  * No description
2935
3371
  *
@@ -2938,7 +3374,7 @@ export class Api extends HttpClient {
2938
3374
  * @summary Get By ID
2939
3375
  * @request GET:/api/milestones/{id}
2940
3376
  * @secure
2941
- * @response `200` `MilestoneConfiguration` Success
3377
+ * @response `200` `MilestoneConfiguration` OK
2942
3378
  * @response `404` `Error` Not Found
2943
3379
  */
2944
3380
  getMilestone: (id, params = {}) => this.request(Object.assign({ path: `/api/milestones/${id}`, method: "GET", secure: true, format: "json" }, params)),
@@ -2950,11 +3386,11 @@ export class Api extends HttpClient {
2950
3386
  * @summary Replace
2951
3387
  * @request PUT:/api/milestones/{id}
2952
3388
  * @secure
2953
- * @response `200` `MilestoneConfiguration` Success
3389
+ * @response `200` `MilestoneConfiguration` OK
2954
3390
  * @response `404` `Error` Not Found
2955
- * @response `422` `UnprocessableEntity` Client Error
3391
+ * @response `422` `UnprocessableEntity` Unprocessable Content
2956
3392
  */
2957
- replaceMilestone: (id, data, params = {}) => this.request(Object.assign({ path: `/api/milestones/${id}`, method: "PUT", body: data, secure: true, type: "application/json", format: "json" }, params)),
3393
+ replaceMilestone: (id, data, params = {}) => this.request(Object.assign({ path: `/api/milestones/${id}`, method: "PUT", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
2958
3394
  /**
2959
3395
  * No description
2960
3396
  *
@@ -2975,12 +3411,12 @@ export class Api extends HttpClient {
2975
3411
  * @summary Idempotently seed the test loan officer, site configuration, loan and completed borrower used by mobile app store reviewers.
2976
3412
  * @request POST:/api/mobile-app-review/seed
2977
3413
  * @secure
2978
- * @response `200` `MobileAppReviewSeed` Success
3414
+ * @response `200` `MobileAppReviewSeed` OK
2979
3415
  * @response `400` `ProblemDetails` Bad Request
2980
3416
  * @response `404` `ProblemDetails` Not Found
2981
- * @response `422` `ProblemDetails` Client Error
3417
+ * @response `422` `ProblemDetails` Unprocessable Content
2982
3418
  */
2983
- 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)),
3419
+ seedMobileAppReview: (data, params = {}) => this.request(Object.assign({ path: `/api/mobile-app-review/seed`, method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
2984
3420
  /**
2985
3421
  * No description
2986
3422
  *
@@ -2989,10 +3425,10 @@ export class Api extends HttpClient {
2989
3425
  * @summary Calculate Monthly Payment
2990
3426
  * @request POST:/api/mortgage-calculators/monthly-payment
2991
3427
  * @secure
2992
- * @response `200` `MonthlyPaymentCalculator` Success
2993
- * @response `422` `ProblemDetails` Client Error
3428
+ * @response `200` `MonthlyPaymentCalculator` OK
3429
+ * @response `422` `ProblemDetails` Unprocessable Content
2994
3430
  */
2995
- 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)),
3431
+ 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)),
2996
3432
  /**
2997
3433
  * No description
2998
3434
  *
@@ -3001,10 +3437,10 @@ export class Api extends HttpClient {
3001
3437
  * @summary Calculate Affordability
3002
3438
  * @request POST:/api/mortgage-calculators/affordability
3003
3439
  * @secure
3004
- * @response `200` `AffordabilityCalculator` Success
3005
- * @response `422` `ProblemDetails` Client Error
3440
+ * @response `200` `AffordabilityCalculator` OK
3441
+ * @response `422` `ProblemDetails` Unprocessable Content
3006
3442
  */
3007
- calculateMortgageAffordability: (data, params = {}) => this.request(Object.assign({ path: `/api/mortgage-calculators/affordability`, method: "POST", body: data, secure: true, type: "application/json", format: "json" }, params)),
3443
+ calculateMortgageAffordability: (data, params = {}) => this.request(Object.assign({ path: `/api/mortgage-calculators/affordability`, method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
3008
3444
  /**
3009
3445
  * No description
3010
3446
  *
@@ -3013,10 +3449,10 @@ export class Api extends HttpClient {
3013
3449
  * @summary Calculate Loan Comparison
3014
3450
  * @request POST:/api/mortgage-calculators/loan-comparison
3015
3451
  * @secure
3016
- * @response `200` `LoanComparisonCalculator` Success
3017
- * @response `422` `ProblemDetails` Client Error
3452
+ * @response `200` `LoanComparisonCalculator` OK
3453
+ * @response `422` `ProblemDetails` Unprocessable Content
3018
3454
  */
3019
- 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)),
3455
+ 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)),
3020
3456
  /**
3021
3457
  * No description
3022
3458
  *
@@ -3025,10 +3461,10 @@ export class Api extends HttpClient {
3025
3461
  * @summary Calculate Refinance
3026
3462
  * @request POST:/api/mortgage-calculators/refinance
3027
3463
  * @secure
3028
- * @response `200` `RefinanceCalculator` Success
3029
- * @response `422` `ProblemDetails` Client Error
3464
+ * @response `200` `RefinanceCalculator` OK
3465
+ * @response `422` `ProblemDetails` Unprocessable Content
3030
3466
  */
3031
- calculateMortgageRefinance: (data, params = {}) => this.request(Object.assign({ path: `/api/mortgage-calculators/refinance`, method: "POST", body: data, secure: true, type: "application/json", format: "json" }, params)),
3467
+ calculateMortgageRefinance: (data, params = {}) => this.request(Object.assign({ path: `/api/mortgage-calculators/refinance`, method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
3032
3468
  /**
3033
3469
  * No description
3034
3470
  *
@@ -3037,10 +3473,10 @@ export class Api extends HttpClient {
3037
3473
  * @summary Send Notification for Loan
3038
3474
  * @request POST:/api/notifications
3039
3475
  * @secure
3040
- * @response `200` `void` Success
3041
- * @response `422` `UnprocessableEntity` Client Error
3476
+ * @response `200` `void` OK
3477
+ * @response `422` `UnprocessableEntity` Unprocessable Content
3042
3478
  */
3043
- sendNotificationForLoan: (data, params = {}) => this.request(Object.assign({ path: `/api/notifications`, method: "POST", body: data, secure: true, type: "application/json" }, params)),
3479
+ sendNotificationForLoan: (data, params = {}) => this.request(Object.assign({ path: `/api/notifications`, method: "POST", body: data, secure: true, type: ContentType.Json }, params)),
3044
3480
  /**
3045
3481
  * No description
3046
3482
  *
@@ -3049,10 +3485,10 @@ export class Api extends HttpClient {
3049
3485
  * @summary Send Test Notification for Loan
3050
3486
  * @request POST:/api/notifications/test
3051
3487
  * @secure
3052
- * @response `200` `void` Success
3053
- * @response `422` `UnprocessableEntity` Client Error
3488
+ * @response `200` `void` OK
3489
+ * @response `422` `UnprocessableEntity` Unprocessable Content
3054
3490
  */
3055
- sendTestNotificationForLoan: (data, params = {}) => this.request(Object.assign({ path: `/api/notifications/test`, method: "POST", body: data, secure: true, type: "application/json" }, params)),
3491
+ sendTestNotificationForLoan: (data, params = {}) => this.request(Object.assign({ path: `/api/notifications/test`, method: "POST", body: data, secure: true, type: ContentType.Json }, params)),
3056
3492
  /**
3057
3493
  * No description
3058
3494
  *
@@ -3061,7 +3497,7 @@ export class Api extends HttpClient {
3061
3497
  * @summary Get All
3062
3498
  * @request GET:/api/notification-templates
3063
3499
  * @secure
3064
- * @response `200` `(NotificationTemplateBase)[]` Success
3500
+ * @response `200` `(NotificationTemplateBase)[]` OK
3065
3501
  */
3066
3502
  getNotificationTemplates: (query, params = {}) => this.request(Object.assign({ path: `/api/notification-templates`, method: "GET", query: query, secure: true, format: "json" }, params)),
3067
3503
  /**
@@ -3073,9 +3509,9 @@ export class Api extends HttpClient {
3073
3509
  * @request POST:/api/notification-templates
3074
3510
  * @secure
3075
3511
  * @response `201` `NotificationTemplate` Created
3076
- * @response `422` `UnprocessableEntity` Client Error
3512
+ * @response `422` `UnprocessableEntity` Unprocessable Content
3077
3513
  */
3078
- createNotificationTemplate: (data, params = {}) => this.request(Object.assign({ path: `/api/notification-templates`, method: "POST", body: data, secure: true, type: "application/json", format: "json" }, params)),
3514
+ createNotificationTemplate: (data, params = {}) => this.request(Object.assign({ path: `/api/notification-templates`, method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
3079
3515
  /**
3080
3516
  * No description
3081
3517
  *
@@ -3084,9 +3520,9 @@ export class Api extends HttpClient {
3084
3520
  * @summary Search
3085
3521
  * @request POST:/api/notification-templates/search
3086
3522
  * @secure
3087
- * @response `200` `NotificationTemplateBasePaginated` Success
3523
+ * @response `200` `NotificationTemplateBasePaginated` OK
3088
3524
  */
3089
- 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)),
3525
+ searchNotificationTemplates: (data, query, params = {}) => this.request(Object.assign({ path: `/api/notification-templates/search`, method: "POST", query: query, body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
3090
3526
  /**
3091
3527
  * No description
3092
3528
  *
@@ -3095,7 +3531,7 @@ export class Api extends HttpClient {
3095
3531
  * @summary Get by ID
3096
3532
  * @request GET:/api/notification-templates/{id}
3097
3533
  * @secure
3098
- * @response `200` `NotificationTemplate` Success
3534
+ * @response `200` `NotificationTemplate` OK
3099
3535
  */
3100
3536
  getNotificationTemplate: (id, params = {}) => this.request(Object.assign({ path: `/api/notification-templates/${id}`, method: "GET", secure: true, format: "json" }, params)),
3101
3537
  /**
@@ -3106,10 +3542,10 @@ export class Api extends HttpClient {
3106
3542
  * @summary Replace
3107
3543
  * @request PUT:/api/notification-templates/{id}
3108
3544
  * @secure
3109
- * @response `200` `NotificationTemplate` Success
3110
- * @response `422` `UnprocessableEntity` Client Error
3545
+ * @response `200` `NotificationTemplate` OK
3546
+ * @response `422` `UnprocessableEntity` Unprocessable Content
3111
3547
  */
3112
- 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)),
3548
+ 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)),
3113
3549
  /**
3114
3550
  * No description
3115
3551
  *
@@ -3129,7 +3565,7 @@ export class Api extends HttpClient {
3129
3565
  * @summary Restore
3130
3566
  * @request POST:/api/notification-templates/{id}/restore
3131
3567
  * @secure
3132
- * @response `200` `NotificationTemplate` Success
3568
+ * @response `200` `NotificationTemplate` OK
3133
3569
  */
3134
3570
  restoreNotificationTemplate: (id, params = {}) => this.request(Object.assign({ path: `/api/notification-templates/${id}/restore`, method: "POST", secure: true, format: "json" }, params)),
3135
3571
  /**
@@ -3140,7 +3576,7 @@ export class Api extends HttpClient {
3140
3576
  * @summary Get All
3141
3577
  * @request GET:/api/notification-templates/{notificationId}/versions
3142
3578
  * @secure
3143
- * @response `200` `(NotificationTemplateVersion)[]` Success
3579
+ * @response `200` `(NotificationTemplateVersion)[]` OK
3144
3580
  */
3145
3581
  getNotificationTemplateVersions: (notificationId, params = {}) => this.request(Object.assign({ path: `/api/notification-templates/${notificationId}/versions`, method: "GET", secure: true, format: "json" }, params)),
3146
3582
  /**
@@ -3151,9 +3587,9 @@ export class Api extends HttpClient {
3151
3587
  * @summary Create
3152
3588
  * @request POST:/api/notification-templates/{notificationId}/versions
3153
3589
  * @secure
3154
- * @response `200` `NotificationTemplateVersion` Success
3590
+ * @response `200` `NotificationTemplateVersion` OK
3155
3591
  */
3156
- 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)),
3592
+ 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)),
3157
3593
  /**
3158
3594
  * No description
3159
3595
  *
@@ -3162,7 +3598,7 @@ export class Api extends HttpClient {
3162
3598
  * @summary Get by ID
3163
3599
  * @request GET:/api/notification-templates/{notificationId}/versions/{id}
3164
3600
  * @secure
3165
- * @response `200` `NotificationTemplateVersion` Success
3601
+ * @response `200` `NotificationTemplateVersion` OK
3166
3602
  */
3167
3603
  getNotificationTemplateVersion: (notificationId, id, params = {}) => this.request(Object.assign({ path: `/api/notification-templates/${notificationId}/versions/${id}`, method: "GET", secure: true, format: "json" }, params)),
3168
3604
  /**
@@ -3173,9 +3609,9 @@ export class Api extends HttpClient {
3173
3609
  * @summary Replace
3174
3610
  * @request PUT:/api/notification-templates/{notificationId}/versions/{id}
3175
3611
  * @secure
3176
- * @response `200` `NotificationTemplateVersion` Success
3612
+ * @response `200` `NotificationTemplateVersion` OK
3177
3613
  */
3178
- 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)),
3614
+ 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)),
3179
3615
  /**
3180
3616
  * No description
3181
3617
  *
@@ -3184,7 +3620,7 @@ export class Api extends HttpClient {
3184
3620
  * @summary Delete
3185
3621
  * @request DELETE:/api/notification-templates/{notificationId}/versions/{id}
3186
3622
  * @secure
3187
- * @response `200` `NotificationTemplateVersion` Success
3623
+ * @response `200` `NotificationTemplateVersion` OK
3188
3624
  */
3189
3625
  deleteNotificationTemplateVersion: (notificationId, id, params = {}) => this.request(Object.assign({ path: `/api/notification-templates/${notificationId}/versions/${id}`, method: "DELETE", secure: true, format: "json" }, params)),
3190
3626
  /**
@@ -3195,7 +3631,7 @@ export class Api extends HttpClient {
3195
3631
  * @summary Get All
3196
3632
  * @request GET:/api/partners
3197
3633
  * @secure
3198
- * @response `200` `BranchUserPaginated` Success
3634
+ * @response `200` `BranchUserPaginated` OK
3199
3635
  */
3200
3636
  getPartners: (query, params = {}) => this.request(Object.assign({ path: `/api/partners`, method: "GET", query: query, secure: true, format: "json" }, params)),
3201
3637
  /**
@@ -3206,9 +3642,9 @@ export class Api extends HttpClient {
3206
3642
  * @summary Search
3207
3643
  * @request POST:/api/partners/search
3208
3644
  * @secure
3209
- * @response `200` `BranchUserPaginated` Success
3645
+ * @response `200` `BranchUserPaginated` OK
3210
3646
  */
3211
- 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)),
3647
+ 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)),
3212
3648
  /**
3213
3649
  * No description
3214
3650
  *
@@ -3217,7 +3653,7 @@ export class Api extends HttpClient {
3217
3653
  * @summary Get by ID
3218
3654
  * @request GET:/api/partners/{id}
3219
3655
  * @secure
3220
- * @response `200` `BranchUser` Success
3656
+ * @response `200` `BranchUser` OK
3221
3657
  */
3222
3658
  getPartner: (id, params = {}) => this.request(Object.assign({ path: `/api/partners/${id}`, method: "GET", secure: true, format: "json" }, params)),
3223
3659
  /**
@@ -3228,10 +3664,10 @@ export class Api extends HttpClient {
3228
3664
  * @summary Create Site Configuration
3229
3665
  * @request POST:/api/partners/{realtorId}/site-configurations
3230
3666
  * @secure
3231
- * @response `200` `SiteConfiguration` Success
3232
- * @response `422` `UnprocessableEntity` Client Error
3667
+ * @response `200` `SiteConfiguration` OK
3668
+ * @response `422` `UnprocessableEntity` Unprocessable Content
3233
3669
  */
3234
- 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)),
3670
+ 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)),
3235
3671
  /**
3236
3672
  * No description
3237
3673
  *
@@ -3240,7 +3676,7 @@ export class Api extends HttpClient {
3240
3676
  * @summary Get Site Configuration
3241
3677
  * @request GET:/api/partners/{realtorId}/site-configurations/{siteConfigurationId}
3242
3678
  * @secure
3243
- * @response `200` `SiteConfigurationWithInherited` Success
3679
+ * @response `200` `SiteConfigurationWithInherited` OK
3244
3680
  */
3245
3681
  getPartnerSiteConfiguration: (realtorId, siteConfigurationId, params = {}) => this.request(Object.assign({ path: `/api/partners/${realtorId}/site-configurations/${siteConfigurationId}`, method: "GET", secure: true, format: "json" }, params)),
3246
3682
  /**
@@ -3251,10 +3687,10 @@ export class Api extends HttpClient {
3251
3687
  * @summary Replace Site Configuration
3252
3688
  * @request PUT:/api/partners/{realtorId}/site-configurations/{siteConfigurationId}
3253
3689
  * @secure
3254
- * @response `200` `SiteConfiguration` Success
3255
- * @response `422` `UnprocessableEntity` Client Error
3690
+ * @response `200` `SiteConfiguration` OK
3691
+ * @response `422` `UnprocessableEntity` Unprocessable Content
3256
3692
  */
3257
- 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)),
3693
+ 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)),
3258
3694
  /**
3259
3695
  * No description
3260
3696
  *
@@ -3263,7 +3699,7 @@ export class Api extends HttpClient {
3263
3699
  * @summary Get By ID
3264
3700
  * @request GET:/api/site-configurations/{id}
3265
3701
  * @secure
3266
- * @response `200` `SiteConfiguration` Success
3702
+ * @response `200` `SiteConfiguration` OK
3267
3703
  */
3268
3704
  getSiteConfiguration: (id, params = {}) => this.request(Object.assign({ path: `/api/site-configurations/${id}`, method: "GET", secure: true, format: "json" }, params)),
3269
3705
  /**
@@ -3275,10 +3711,10 @@ export class Api extends HttpClient {
3275
3711
  * @request POST:/api/site-configurations/url
3276
3712
  * @deprecated
3277
3713
  * @secure
3278
- * @response `200` `SiteConfigurationByUrl` Success
3279
- * @response `422` `UnprocessableEntity` Client Error
3714
+ * @response `200` `SiteConfigurationByUrl` OK
3715
+ * @response `422` `UnprocessableEntity` Unprocessable Content
3280
3716
  */
3281
- searchSiteConfigurationByUrl: (data, params = {}) => this.request(Object.assign({ path: `/api/site-configurations/url`, method: "POST", body: data, secure: true, type: "application/json", format: "json" }, params)),
3717
+ searchSiteConfigurationByUrl: (data, params = {}) => this.request(Object.assign({ path: `/api/site-configurations/url`, method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
3282
3718
  /**
3283
3719
  * No description
3284
3720
  *
@@ -3287,8 +3723,8 @@ export class Api extends HttpClient {
3287
3723
  * @summary Get By URL
3288
3724
  * @request GET:/api/site-configurations
3289
3725
  * @secure
3290
- * @response `200` `SiteConfigurationByUrl` Success
3291
- * @response `422` `UnprocessableEntity` Client Error
3726
+ * @response `200` `SiteConfigurationByUrl` OK
3727
+ * @response `422` `UnprocessableEntity` Unprocessable Content
3292
3728
  */
3293
3729
  getSiteConfigurationByUrl: (query, params = {}) => this.request(Object.assign({ path: `/api/site-configurations`, method: "GET", query: query, secure: true, format: "json" }, params)),
3294
3730
  /**
@@ -3300,10 +3736,10 @@ export class Api extends HttpClient {
3300
3736
  * @request POST:/api/site-configurations/louser
3301
3737
  * @deprecated
3302
3738
  * @secure
3303
- * @response `200` `SiteConfiguration` Success
3304
- * @response `422` `UnprocessableEntity` Client Error
3739
+ * @response `200` `SiteConfiguration` OK
3740
+ * @response `422` `UnprocessableEntity` Unprocessable Content
3305
3741
  */
3306
- searchSiteConfigurationByLoanOfficerUser: (data, params = {}) => this.request(Object.assign({ path: `/api/site-configurations/louser`, method: "POST", body: data, secure: true, type: "application/json", format: "json" }, params)),
3742
+ searchSiteConfigurationByLoanOfficerUser: (data, params = {}) => this.request(Object.assign({ path: `/api/site-configurations/louser`, method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
3307
3743
  /**
3308
3744
  * No description
3309
3745
  *
@@ -3312,8 +3748,8 @@ export class Api extends HttpClient {
3312
3748
  * @summary Get By Loan Officer User
3313
3749
  * @request GET:/api/site-configurations/louser/{loUserId}
3314
3750
  * @secure
3315
- * @response `200` `SiteConfiguration` Success
3316
- * @response `422` `UnprocessableEntity` Client Error
3751
+ * @response `200` `SiteConfiguration` OK
3752
+ * @response `422` `UnprocessableEntity` Unprocessable Content
3317
3753
  */
3318
3754
  getSiteConfigurationByLoanOfficerUser: (loUserId, params = {}) => this.request(Object.assign({ path: `/api/site-configurations/louser/${loUserId}`, method: "GET", secure: true, format: "json" }, params)),
3319
3755
  /**
@@ -3324,10 +3760,10 @@ export class Api extends HttpClient {
3324
3760
  * @summary Search
3325
3761
  * @request POST:/api/site-configurations/search
3326
3762
  * @secure
3327
- * @response `200` `SiteConfigurationSummaryPaginated` Success
3328
- * @response `422` `UnprocessableEntity` Client Error
3763
+ * @response `200` `SiteConfigurationSummaryPaginated` OK
3764
+ * @response `422` `UnprocessableEntity` Unprocessable Content
3329
3765
  */
3330
- 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)),
3766
+ 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)),
3331
3767
  /**
3332
3768
  * No description
3333
3769
  *
@@ -3336,7 +3772,7 @@ export class Api extends HttpClient {
3336
3772
  * @summary Get Forms by Site Configuration
3337
3773
  * @request GET:/api/site-configurations/{id}/forms
3338
3774
  * @secure
3339
- * @response `200` `(AdminAccessGetForms)[]` Success
3775
+ * @response `200` `(AdminAccessGetForms)[]` OK
3340
3776
  */
3341
3777
  getFormsBySiteConfiguration: (id, params = {}) => this.request(Object.assign({ path: `/api/site-configurations/${id}/forms`, method: "GET", secure: true, format: "json" }, params)),
3342
3778
  /**
@@ -3347,7 +3783,7 @@ export class Api extends HttpClient {
3347
3783
  * @summary Get Saml Metadata
3348
3784
  * @request GET:/api/site-configurations/sso/saml/{ssoIntegration}/metadata
3349
3785
  * @secure
3350
- * @response `200` `File` Success
3786
+ * @response `200` `File` OK
3351
3787
  * @response `404` `ProblemDetails` Not Found
3352
3788
  */
3353
3789
  getSamlMetadata: (sSoIntegration, ssoIntegration, params = {}) => this.request(Object.assign({ path: `/api/site-configurations/sso/saml/${ssoIntegration}/metadata`, method: "GET", secure: true }, params)),
@@ -3359,7 +3795,7 @@ export class Api extends HttpClient {
3359
3795
  * @summary Create or Replace Saml Metadata
3360
3796
  * @request POST:/api/site-configurations/sso/saml/{ssoIntegration}/metadata
3361
3797
  * @secure
3362
- * @response `200` `File` Success
3798
+ * @response `200` `File` OK
3363
3799
  */
3364
3800
  createOrReplaceSamlMetadata: (sSoIntegration, ssoIntegration, params = {}) => this.request(Object.assign({ path: `/api/site-configurations/sso/saml/${ssoIntegration}/metadata`, method: "POST", secure: true }, params)),
3365
3801
  /**
@@ -3370,7 +3806,7 @@ export class Api extends HttpClient {
3370
3806
  * @summary List all site configurations assigned to a workflow
3371
3807
  * @request GET:/api/workflows/{workflowId}/site-configurations
3372
3808
  * @secure
3373
- * @response `200` `(SiteConfigurationForm)[]` Success
3809
+ * @response `200` `(SiteConfigurationForm)[]` OK
3374
3810
  */
3375
3811
  getWorkflowSiteConfigurations: (workflowId, params = {}) => this.request(Object.assign({ path: `/api/workflows/${workflowId}/site-configurations`, method: "GET", secure: true, format: "json" }, params)),
3376
3812
  /**
@@ -3381,7 +3817,7 @@ export class Api extends HttpClient {
3381
3817
  * @summary Get the workflow-site configuration assignment by composite key
3382
3818
  * @request GET:/api/workflows/{workflowId}/site-configurations/{siteConfigurationId}
3383
3819
  * @secure
3384
- * @response `200` `SiteConfigurationForm` Success
3820
+ * @response `200` `SiteConfigurationForm` OK
3385
3821
  * @response `404` `ProblemDetails` Not Found
3386
3822
  */
3387
3823
  getWorkflowSiteConfiguration: (workflowId, siteConfigurationId, params = {}) => this.request(Object.assign({ path: `/api/workflows/${workflowId}/site-configurations/${siteConfigurationId}`, method: "GET", secure: true, format: "json" }, params)),
@@ -3395,7 +3831,7 @@ export class Api extends HttpClient {
3395
3831
  * @secure
3396
3832
  * @response `201` `SiteConfigurationForm` Created
3397
3833
  * @response `409` `ProblemDetails` Conflict
3398
- * @response `422` `UnprocessableEntity` Client Error
3834
+ * @response `422` `UnprocessableEntity` Unprocessable Content
3399
3835
  */
3400
3836
  createWorkflowSiteConfiguration: (workflowId, siteConfigurationId, params = {}) => this.request(Object.assign({ path: `/api/workflows/${workflowId}/site-configurations/${siteConfigurationId}`, method: "POST", secure: true, format: "json" }, params)),
3401
3837
  /**
@@ -3417,9 +3853,9 @@ export class Api extends HttpClient {
3417
3853
  * @summary Get By Site Configuration Slug
3418
3854
  * @request POST:/api/site-forms
3419
3855
  * @secure
3420
- * @response `200` `GetForm` Success
3856
+ * @response `200` `GetForm` OK
3421
3857
  */
3422
- getFormBySiteConfigurationSlug: (data, params = {}) => this.request(Object.assign({ path: `/api/site-forms`, method: "POST", body: data, secure: true, type: "application/json", format: "json" }, params)),
3858
+ getFormBySiteConfigurationSlug: (data, params = {}) => this.request(Object.assign({ path: `/api/site-forms`, method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
3423
3859
  /**
3424
3860
  * No description
3425
3861
  *
@@ -3428,7 +3864,7 @@ export class Api extends HttpClient {
3428
3864
  * @summary Get by Users
3429
3865
  * @request GET:/api/surveys
3430
3866
  * @secure
3431
- * @response `200` `(SocialSurveyRecord)[]` Success
3867
+ * @response `200` `(SocialSurveyRecord)[]` OK
3432
3868
  */
3433
3869
  getSurveysByUsers: (query, params = {}) => this.request(Object.assign({ path: `/api/surveys`, method: "GET", query: query, secure: true, format: "json" }, params)),
3434
3870
  /**
@@ -3439,10 +3875,10 @@ export class Api extends HttpClient {
3439
3875
  * @summary Get by User
3440
3876
  * @request POST:/api/surveys
3441
3877
  * @secure
3442
- * @response `200` `(SocialSurveyRecord)[]` Success
3443
- * @response `422` `UnprocessableEntity` Client Error
3878
+ * @response `200` `(SocialSurveyRecord)[]` OK
3879
+ * @response `422` `UnprocessableEntity` Unprocessable Content
3444
3880
  */
3445
- getSurveysByUser: (data, params = {}) => this.request(Object.assign({ path: `/api/surveys`, method: "POST", body: data, secure: true, type: "application/json", format: "json" }, params)),
3881
+ getSurveysByUser: (data, params = {}) => this.request(Object.assign({ path: `/api/surveys`, method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
3446
3882
  /**
3447
3883
  * No description
3448
3884
  *
@@ -3451,7 +3887,7 @@ export class Api extends HttpClient {
3451
3887
  * @summary Get All
3452
3888
  * @request GET:/api/tasks
3453
3889
  * @secure
3454
- * @response `200` `Task` Success
3890
+ * @response `200` `Task` OK
3455
3891
  * @response `404` `ProblemDetails` Not Found
3456
3892
  */
3457
3893
  getTasks: (query, params = {}) => this.request(Object.assign({ path: `/api/tasks`, method: "GET", query: query, secure: true, format: "json" }, params)),
@@ -3465,7 +3901,7 @@ export class Api extends HttpClient {
3465
3901
  * @secure
3466
3902
  * @response `201` `Task` Created
3467
3903
  */
3468
- createTask: (data, params = {}) => this.request(Object.assign({ path: `/api/tasks`, method: "POST", body: data, secure: true, type: "application/json", format: "json" }, params)),
3904
+ createTask: (data, params = {}) => this.request(Object.assign({ path: `/api/tasks`, method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
3469
3905
  /**
3470
3906
  * No description
3471
3907
  *
@@ -3474,7 +3910,7 @@ export class Api extends HttpClient {
3474
3910
  * @summary Get By ID
3475
3911
  * @request GET:/api/tasks/{id}
3476
3912
  * @secure
3477
- * @response `200` `Task` Success
3913
+ * @response `200` `Task` OK
3478
3914
  * @response `404` `ProblemDetails` Not Found
3479
3915
  */
3480
3916
  getTask: (id, params = {}) => this.request(Object.assign({ path: `/api/tasks/${id}`, method: "GET", secure: true, format: "json" }, params)),
@@ -3486,10 +3922,10 @@ export class Api extends HttpClient {
3486
3922
  * @summary Replace
3487
3923
  * @request PUT:/api/tasks/{id}
3488
3924
  * @secure
3489
- * @response `200` `void` Success
3925
+ * @response `200` `Task` OK
3490
3926
  * @response `404` `ProblemDetails` Not Found
3491
3927
  */
3492
- replaceTask: (id, data, params = {}) => this.request(Object.assign({ path: `/api/tasks/${id}`, method: "PUT", body: data, secure: true, type: "application/json" }, params)),
3928
+ replaceTask: (id, data, params = {}) => this.request(Object.assign({ path: `/api/tasks/${id}`, method: "PUT", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
3493
3929
  /**
3494
3930
  * No description
3495
3931
  *
@@ -3510,9 +3946,9 @@ export class Api extends HttpClient {
3510
3946
  * @summary Search
3511
3947
  * @request POST:/api/tasks/search
3512
3948
  * @secure
3513
- * @response `200` `TaskPaginated` Success
3949
+ * @response `200` `TaskPaginated` OK
3514
3950
  */
3515
- 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)),
3951
+ 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)),
3516
3952
  /**
3517
3953
  * No description
3518
3954
  *
@@ -3520,27 +3956,29 @@ export class Api extends HttpClient {
3520
3956
  * @name IntegrationsLosLoansCreate
3521
3957
  * @request POST:/api/integrations/los/loans
3522
3958
  * @secure
3523
- * @response `200` `void` Success
3959
+ * @response `200` `void` OK
3524
3960
  */
3525
- integrationsLosLoansCreate: (data, params = {}) => this.request(Object.assign({ path: `/api/integrations/los/loans`, method: "POST", body: data, secure: true, type: "application/json" }, params)),
3961
+ integrationsLosLoansCreate: (data, params = {}) => this.request(Object.assign({ path: `/api/integrations/los/loans`, method: "POST", body: data, secure: true, type: ContentType.Json }, params)),
3526
3962
  /**
3527
3963
  * No description
3528
3964
  *
3529
3965
  * @tags TheBigPOS
3530
3966
  * @name SearchEncompassLogs
3967
+ * @summary Search Encompass Logs
3531
3968
  * @request POST:/api/los/encompass/logs/{losId}/search
3532
3969
  * @secure
3533
- * @response `200` `EncompassRequestLogPaginated` Success
3970
+ * @response `200` `EncompassRequestLogPaginated` OK
3534
3971
  */
3535
- 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)),
3972
+ searchEncompassLogs: (losId, query, data, params = {}) => this.request(Object.assign({ path: `/api/los/encompass/logs/${losId}/search`, method: "POST", query: query, body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
3536
3973
  /**
3537
3974
  * No description
3538
3975
  *
3539
3976
  * @tags TheBigPOS
3540
3977
  * @name GetEncompassCredentials
3978
+ * @summary Get Encompass Credentials for the current account
3541
3979
  * @request GET:/api/los/encompass/credentials
3542
3980
  * @secure
3543
- * @response `200` `EncompassCredentialsDetail` Success
3981
+ * @response `200` `EncompassCredentialsDetail` OK
3544
3982
  * @response `204` `void` No Content
3545
3983
  */
3546
3984
  getEncompassCredentials: (params = {}) => this.request(Object.assign({ path: `/api/los/encompass/credentials`, method: "GET", secure: true, format: "json" }, params)),
@@ -3549,29 +3987,32 @@ export class Api extends HttpClient {
3549
3987
  *
3550
3988
  * @tags TheBigPOS
3551
3989
  * @name CreateEncompassCredentials
3990
+ * @summary Create Encompass Credentials for the current account
3552
3991
  * @request POST:/api/los/encompass/credentials
3553
3992
  * @secure
3554
3993
  * @response `201` `LosCredentials` Created
3555
3994
  */
3556
- createEncompassCredentials: (data, params = {}) => this.request(Object.assign({ path: `/api/los/encompass/credentials`, method: "POST", body: data, secure: true, type: "application/json", format: "json" }, params)),
3995
+ createEncompassCredentials: (data, params = {}) => this.request(Object.assign({ path: `/api/los/encompass/credentials`, method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
3557
3996
  /**
3558
3997
  * No description
3559
3998
  *
3560
3999
  * @tags TheBigPOS
3561
4000
  * @name UpdateEncompassCredentials
4001
+ * @summary Update Encompass Credentials for the current account
3562
4002
  * @request PUT:/api/los/encompass/credentials
3563
4003
  * @secure
3564
- * @response `200` `EncompassCredentialsDetail` Success
4004
+ * @response `200` `EncompassCredentialsDetail` OK
3565
4005
  */
3566
- updateEncompassCredentials: (data, params = {}) => this.request(Object.assign({ path: `/api/los/encompass/credentials`, method: "PUT", body: data, secure: true, type: "application/json", format: "json" }, params)),
4006
+ updateEncompassCredentials: (data, params = {}) => this.request(Object.assign({ path: `/api/los/encompass/credentials`, method: "PUT", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
3567
4007
  /**
3568
4008
  * No description
3569
4009
  *
3570
4010
  * @tags TheBigPOS
3571
4011
  * @name GetEncompassWebhooks
4012
+ * @summary Get Encompass webhooks filtered by current domain
3572
4013
  * @request GET:/api/los/encompass/webhooks
3573
4014
  * @secure
3574
- * @response `200` `(LosWebhook)[]` Success
4015
+ * @response `200` `(LosWebhook)[]` OK
3575
4016
  */
3576
4017
  getEncompassWebhooks: (params = {}) => this.request(Object.assign({ path: `/api/los/encompass/webhooks`, method: "GET", secure: true, format: "json" }, params)),
3577
4018
  /**
@@ -3579,16 +4020,18 @@ export class Api extends HttpClient {
3579
4020
  *
3580
4021
  * @tags TheBigPOS
3581
4022
  * @name CreateEncompassWebhook
4023
+ * @summary Register a webhook in Encompass
3582
4024
  * @request POST:/api/los/encompass/webhooks
3583
4025
  * @secure
3584
4026
  * @response `201` `LosWebhook` Created
3585
4027
  */
3586
- createEncompassWebhook: (data, params = {}) => this.request(Object.assign({ path: `/api/los/encompass/webhooks`, method: "POST", body: data, secure: true, type: "application/json", format: "json" }, params)),
4028
+ createEncompassWebhook: (data, params = {}) => this.request(Object.assign({ path: `/api/los/encompass/webhooks`, method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
3587
4029
  /**
3588
4030
  * No description
3589
4031
  *
3590
4032
  * @tags TheBigPOS
3591
4033
  * @name DeleteEncompassWebhook
4034
+ * @summary Delete a webhook from Encompass
3592
4035
  * @request DELETE:/api/los/encompass/webhooks/{webhookId}
3593
4036
  * @secure
3594
4037
  * @response `204` `void` No Content
@@ -3599,11 +4042,12 @@ export class Api extends HttpClient {
3599
4042
  *
3600
4043
  * @tags TheBigPOS
3601
4044
  * @name SearchLosSyncs
4045
+ * @summary Search LOS Sync History
3602
4046
  * @request POST:/api/los/encompass/syncs/{loanId}/search
3603
4047
  * @secure
3604
- * @response `200` `LosSyncPaginated` Success
4048
+ * @response `200` `LosSyncPaginated` OK
3605
4049
  */
3606
- 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)),
4050
+ searchLosSyncs: (loanId, query, data, params = {}) => this.request(Object.assign({ path: `/api/los/encompass/syncs/${loanId}/search`, method: "POST", query: query, body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
3607
4051
  /**
3608
4052
  * No description
3609
4053
  *
@@ -3612,7 +4056,7 @@ export class Api extends HttpClient {
3612
4056
  * @summary Get usage report by ID
3613
4057
  * @request GET:/api/usage-reports/{id}
3614
4058
  * @secure
3615
- * @response `200` `UsageReport` Success
4059
+ * @response `200` `UsageReport` OK
3616
4060
  * @response `404` `ProblemDetails` Not Found
3617
4061
  */
3618
4062
  getUsageReportById: (id, params = {}) => this.request(Object.assign({ path: `/api/usage-reports/${id}`, method: "GET", secure: true, format: "json" }, params)),
@@ -3624,7 +4068,7 @@ export class Api extends HttpClient {
3624
4068
  * @summary Get usage reports by month and year
3625
4069
  * @request GET:/api/usage-reports
3626
4070
  * @secure
3627
- * @response `200` `(UsageReport)[]` Success
4071
+ * @response `200` `(UsageReport)[]` OK
3628
4072
  * @response `400` `ProblemDetails` Bad Request
3629
4073
  */
3630
4074
  getUsageReportsByPeriod: (query, params = {}) => this.request(Object.assign({ path: `/api/usage-reports`, method: "GET", query: query, secure: true, format: "json" }, params)),
@@ -3648,7 +4092,7 @@ export class Api extends HttpClient {
3648
4092
  * @summary Get usage report execution dashboard with active execution, recent history, and statistics
3649
4093
  * @request GET:/api/usage-reports/dashboard
3650
4094
  * @secure
3651
- * @response `200` `UsageReportDashboard` Success
4095
+ * @response `200` `UsageReportDashboard` OK
3652
4096
  */
3653
4097
  getUsageReportDashboard: (params = {}) => this.request(Object.assign({ path: `/api/usage-reports/dashboard`, method: "GET", secure: true, format: "json" }, params)),
3654
4098
  /**
@@ -3659,7 +4103,7 @@ export class Api extends HttpClient {
3659
4103
  * @summary Get usage report execution status by correlation ID
3660
4104
  * @request GET:/api/usage-reports/executions/{correlationId}
3661
4105
  * @secure
3662
- * @response `200` `UsageReportExecution` Success
4106
+ * @response `200` `UsageReportExecution` OK
3663
4107
  * @response `404` `ProblemDetails` Not Found
3664
4108
  */
3665
4109
  getUsageReportExecution: (correlationId, params = {}) => this.request(Object.assign({ path: `/api/usage-reports/executions/${correlationId}`, method: "GET", secure: true, format: "json" }, params)),
@@ -3671,7 +4115,7 @@ export class Api extends HttpClient {
3671
4115
  * @summary Get usage report executions by month and year
3672
4116
  * @request GET:/api/usage-reports/executions
3673
4117
  * @secure
3674
- * @response `200` `(UsageReportExecution)[]` Success
4118
+ * @response `200` `(UsageReportExecution)[]` OK
3675
4119
  * @response `400` `ProblemDetails` Bad Request
3676
4120
  */
3677
4121
  getUsageReportExecutionsByPeriod: (query, params = {}) => this.request(Object.assign({ path: `/api/usage-reports/executions`, method: "GET", query: query, secure: true, format: "json" }, params)),
@@ -3686,7 +4130,7 @@ export class Api extends HttpClient {
3686
4130
  * @response `201` `UserDevice` Created
3687
4131
  * @response `400` `ProblemDetails` Bad Request
3688
4132
  */
3689
- createUserDevice: (data, params = {}) => this.request(Object.assign({ path: `/api/userdevices`, method: "POST", body: data, secure: true, type: "application/json", format: "json" }, params)),
4133
+ createUserDevice: (data, params = {}) => this.request(Object.assign({ path: `/api/userdevices`, method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
3690
4134
  /**
3691
4135
  * No description
3692
4136
  *
@@ -3707,7 +4151,7 @@ export class Api extends HttpClient {
3707
4151
  * @summary Get draft users
3708
4152
  * @request GET:/api/loans/drafts/{draftId}/users
3709
4153
  * @secure
3710
- * @response `200` `UserDraftPaginated` Success
4154
+ * @response `200` `UserDraftPaginated` OK
3711
4155
  */
3712
4156
  getDraftUsers: (draftId, query, params = {}) => this.request(Object.assign({ path: `/api/loans/drafts/${draftId}/users`, method: "GET", query: query, secure: true, format: "json" }, params)),
3713
4157
  /**
@@ -3718,7 +4162,7 @@ export class Api extends HttpClient {
3718
4162
  * @summary Get draft user
3719
4163
  * @request GET:/api/loans/drafts/{draftId}/users/{userId}
3720
4164
  * @secure
3721
- * @response `200` `UserDraft` Success
4165
+ * @response `200` `UserDraft` OK
3722
4166
  */
3723
4167
  getDraftUser: (draftId, userId, params = {}) => this.request(Object.assign({ path: `/api/loans/drafts/${draftId}/users/${userId}`, method: "GET", secure: true, format: "json" }, params)),
3724
4168
  /**
@@ -3729,9 +4173,9 @@ export class Api extends HttpClient {
3729
4173
  * @summary Add draft user
3730
4174
  * @request POST:/api/loans/drafts/{draftId}/users/{userId}
3731
4175
  * @secure
3732
- * @response `200` `UserDraft` Success
4176
+ * @response `200` `UserDraft` OK
3733
4177
  */
3734
- 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)),
4178
+ 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)),
3735
4179
  /**
3736
4180
  * No description
3737
4181
  *
@@ -3751,7 +4195,7 @@ export class Api extends HttpClient {
3751
4195
  * @summary Get All
3752
4196
  * @request GET:/api/user-groups/{groupId}/scopes
3753
4197
  * @secure
3754
- * @response `200` `(UserGroupAccessScope)[]` Success
4198
+ * @response `200` `(UserGroupAccessScope)[]` OK
3755
4199
  */
3756
4200
  getUserGroupAccessScopes: (groupId, params = {}) => this.request(Object.assign({ path: `/api/user-groups/${groupId}/scopes`, method: "GET", secure: true, format: "json" }, params)),
3757
4201
  /**
@@ -3762,9 +4206,9 @@ export class Api extends HttpClient {
3762
4206
  * @summary Create a new scope
3763
4207
  * @request POST:/api/user-groups/{groupId}/scopes
3764
4208
  * @secure
3765
- * @response `200` `UserGroupAccessScope` Success
4209
+ * @response `200` `UserGroupAccessScope` OK
3766
4210
  */
3767
- 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)),
4211
+ 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)),
3768
4212
  /**
3769
4213
  * No description
3770
4214
  *
@@ -3784,7 +4228,7 @@ export class Api extends HttpClient {
3784
4228
  * @summary Get All
3785
4229
  * @request GET:/api/user-groups/{groupId}/members
3786
4230
  * @secure
3787
- * @response `200` `(UserGroupMember)[]` Success
4231
+ * @response `200` `(UserGroupMember)[]` OK
3788
4232
  */
3789
4233
  getUserGroupMembers: (groupId, params = {}) => this.request(Object.assign({ path: `/api/user-groups/${groupId}/members`, method: "GET", secure: true, format: "json" }, params)),
3790
4234
  /**
@@ -3795,9 +4239,9 @@ export class Api extends HttpClient {
3795
4239
  * @summary Create User Group Member
3796
4240
  * @request POST:/api/user-groups/{groupId}/members
3797
4241
  * @secure
3798
- * @response `200` `UserGroupMember` Success
4242
+ * @response `200` `UserGroupMember` OK
3799
4243
  */
3800
- 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)),
4244
+ 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)),
3801
4245
  /**
3802
4246
  * No description
3803
4247
  *
@@ -3817,7 +4261,7 @@ export class Api extends HttpClient {
3817
4261
  * @summary Get All
3818
4262
  * @request POST:/api/user-groups/search
3819
4263
  * @secure
3820
- * @response `200` `UserGroupPaginated` Success
4264
+ * @response `200` `UserGroupPaginated` OK
3821
4265
  */
3822
4266
  searchUserGroups: (query, params = {}) => this.request(Object.assign({ path: `/api/user-groups/search`, method: "POST", query: query, secure: true, format: "json" }, params)),
3823
4267
  /**
@@ -3828,7 +4272,7 @@ export class Api extends HttpClient {
3828
4272
  * @summary Get User Group by ID
3829
4273
  * @request GET:/api/user-groups/{groupId}
3830
4274
  * @secure
3831
- * @response `200` `UserGroup` Success
4275
+ * @response `200` `UserGroup` OK
3832
4276
  */
3833
4277
  getUserGroup: (groupId, params = {}) => this.request(Object.assign({ path: `/api/user-groups/${groupId}`, method: "GET", secure: true, format: "json" }, params)),
3834
4278
  /**
@@ -3839,9 +4283,9 @@ export class Api extends HttpClient {
3839
4283
  * @summary Update User Group
3840
4284
  * @request PUT:/api/user-groups/{groupId}
3841
4285
  * @secure
3842
- * @response `200` `UserGroup` Success
4286
+ * @response `200` `UserGroup` OK
3843
4287
  */
3844
- 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)),
4288
+ 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)),
3845
4289
  /**
3846
4290
  * No description
3847
4291
  *
@@ -3863,7 +4307,7 @@ export class Api extends HttpClient {
3863
4307
  * @secure
3864
4308
  * @response `201` `UserGroup` Created
3865
4309
  */
3866
- createUserGroup: (data, params = {}) => this.request(Object.assign({ path: `/api/user-groups`, method: "POST", body: data, secure: true, type: "application/json", format: "json" }, params)),
4310
+ createUserGroup: (data, params = {}) => this.request(Object.assign({ path: `/api/user-groups`, method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
3867
4311
  /**
3868
4312
  * No description
3869
4313
  *
@@ -3874,9 +4318,9 @@ export class Api extends HttpClient {
3874
4318
  * @secure
3875
4319
  * @response `204` `void` No Content
3876
4320
  * @response `404` `Error` Not Found
3877
- * @response `422` `UnprocessableEntity` Client Error
4321
+ * @response `422` `UnprocessableEntity` Unprocessable Content
3878
4322
  */
3879
- requestImpersonation: (data, params = {}) => this.request(Object.assign({ path: `/api/users/impersonation/request`, method: "POST", body: data, secure: true, type: "application/json" }, params)),
4323
+ requestImpersonation: (data, params = {}) => this.request(Object.assign({ path: `/api/users/impersonation/request`, method: "POST", body: data, secure: true, type: ContentType.Json }, params)),
3880
4324
  /**
3881
4325
  * No description
3882
4326
  *
@@ -3887,9 +4331,9 @@ export class Api extends HttpClient {
3887
4331
  * @secure
3888
4332
  * @response `204` `void` No Content
3889
4333
  * @response `404` `Error` Not Found
3890
- * @response `422` `UnprocessableEntity` Client Error
4334
+ * @response `422` `UnprocessableEntity` Unprocessable Content
3891
4335
  */
3892
- allowImpersonation: (data, params = {}) => this.request(Object.assign({ path: `/api/users/impersonation/allow`, method: "POST", body: data, secure: true, type: "application/json" }, params)),
4336
+ allowImpersonation: (data, params = {}) => this.request(Object.assign({ path: `/api/users/impersonation/allow`, method: "POST", body: data, secure: true, type: ContentType.Json }, params)),
3893
4337
  /**
3894
4338
  * No description
3895
4339
  *
@@ -3900,7 +4344,7 @@ export class Api extends HttpClient {
3900
4344
  * @secure
3901
4345
  * @response `204` `void` No Content
3902
4346
  * @response `404` `Error` Not Found
3903
- * @response `422` `UnprocessableEntity` Client Error
4347
+ * @response `422` `UnprocessableEntity` Unprocessable Content
3904
4348
  */
3905
4349
  allowImpersonationWithGuid: (allowToken, params = {}) => this.request(Object.assign({ path: `/api/users/impersonation/allow/${allowToken}`, method: "POST", secure: true }, params)),
3906
4350
  /**
@@ -3912,7 +4356,7 @@ export class Api extends HttpClient {
3912
4356
  * @request POST:/api/users/impersonation
3913
4357
  * @secure
3914
4358
  * @response `204` `void` No Content
3915
- * @response `422` `UnprocessableEntity` Client Error
4359
+ * @response `422` `UnprocessableEntity` Unprocessable Content
3916
4360
  */
3917
4361
  beginImpersonation: (params = {}) => this.request(Object.assign({ path: `/api/users/impersonation`, method: "POST", secure: true }, params)),
3918
4362
  /**
@@ -3924,7 +4368,7 @@ export class Api extends HttpClient {
3924
4368
  * @request DELETE:/api/users/impersonation
3925
4369
  * @secure
3926
4370
  * @response `204` `void` No Content
3927
- * @response `422` `UnprocessableEntity` Client Error
4371
+ * @response `422` `UnprocessableEntity` Unprocessable Content
3928
4372
  */
3929
4373
  stopImpersonation: (params = {}) => this.request(Object.assign({ path: `/api/users/impersonation`, method: "DELETE", secure: true }, params)),
3930
4374
  /**
@@ -3937,9 +4381,9 @@ export class Api extends HttpClient {
3937
4381
  * @secure
3938
4382
  * @response `204` `void` No Content
3939
4383
  * @response `404` `Error` Not Found
3940
- * @response `422` `UnprocessableEntity` Client Error
4384
+ * @response `422` `UnprocessableEntity` Unprocessable Content
3941
4385
  */
3942
- forceImpersonation: (data, params = {}) => this.request(Object.assign({ path: `/api/users/impersonation/force`, method: "POST", body: data, secure: true, type: "application/json" }, params)),
4386
+ forceImpersonation: (data, params = {}) => this.request(Object.assign({ path: `/api/users/impersonation/force`, method: "POST", body: data, secure: true, type: ContentType.Json }, params)),
3943
4387
  /**
3944
4388
  * No description
3945
4389
  *
@@ -3949,7 +4393,7 @@ export class Api extends HttpClient {
3949
4393
  * @request POST:/api/users/impersonation/extend
3950
4394
  * @secure
3951
4395
  * @response `204` `void` No Content
3952
- * @response `422` `UnprocessableEntity` Client Error
4396
+ * @response `422` `UnprocessableEntity` Unprocessable Content
3953
4397
  */
3954
4398
  extendImpersonation: (params = {}) => this.request(Object.assign({ path: `/api/users/impersonation/extend`, method: "POST", secure: true }, params)),
3955
4399
  /**
@@ -3961,9 +4405,9 @@ export class Api extends HttpClient {
3961
4405
  * @request POST:/api/users/invites
3962
4406
  * @secure
3963
4407
  * @response `204` `void` No Content
3964
- * @response `422` `UnprocessableEntity` Client Error
4408
+ * @response `422` `UnprocessableEntity` Unprocessable Content
3965
4409
  */
3966
- inviteUser: (data, params = {}) => this.request(Object.assign({ path: `/api/users/invites`, method: "POST", body: data, secure: true, type: "application/json" }, params)),
4410
+ inviteUser: (data, params = {}) => this.request(Object.assign({ path: `/api/users/invites`, method: "POST", body: data, secure: true, type: ContentType.Json }, params)),
3967
4411
  /**
3968
4412
  * No description
3969
4413
  *
@@ -3985,8 +4429,8 @@ export class Api extends HttpClient {
3985
4429
  * @summary Verify
3986
4430
  * @request GET:/api/users/invites/{token}/verify
3987
4431
  * @secure
3988
- * @response `200` `Invite` Success
3989
- * @response `422` `UnprocessableEntity` Client Error
4432
+ * @response `200` `Invite` OK
4433
+ * @response `422` `UnprocessableEntity` Unprocessable Content
3990
4434
  */
3991
4435
  verifyUserInvite: (token, params = {}) => this.request(Object.assign({ path: `/api/users/invites/${token}/verify`, method: "GET", secure: true, format: "json" }, params)),
3992
4436
  /**
@@ -3997,7 +4441,7 @@ export class Api extends HttpClient {
3997
4441
  * @summary Get All
3998
4442
  * @request GET:/api/users/{userID}/relations
3999
4443
  * @secure
4000
- * @response `200` `(UserRelation)[]` Success
4444
+ * @response `200` `(UserRelation)[]` OK
4001
4445
  */
4002
4446
  getUserRelations: (userId, params = {}) => this.request(Object.assign({ path: `/api/users/${userId}/relations`, method: "GET", secure: true, format: "json" }, params)),
4003
4447
  /**
@@ -4010,7 +4454,7 @@ export class Api extends HttpClient {
4010
4454
  * @secure
4011
4455
  * @response `204` `void` No Content
4012
4456
  */
4013
- createUserRelation: (userId, data, params = {}) => this.request(Object.assign({ path: `/api/users/${userId}/relations`, method: "POST", body: data, secure: true, type: "application/json" }, params)),
4457
+ createUserRelation: (userId, data, params = {}) => this.request(Object.assign({ path: `/api/users/${userId}/relations`, method: "POST", body: data, secure: true, type: ContentType.Json }, params)),
4014
4458
  /**
4015
4459
  * No description
4016
4460
  *
@@ -4019,7 +4463,7 @@ export class Api extends HttpClient {
4019
4463
  * @summary Get by ID
4020
4464
  * @request GET:/api/users/{userID}/relations/{id}
4021
4465
  * @secure
4022
- * @response `200` `UserRelation` Success
4466
+ * @response `200` `UserRelation` OK
4023
4467
  */
4024
4468
  getUserRelation: (userId, id, params = {}) => this.request(Object.assign({ path: `/api/users/${userId}/relations/${id}`, method: "GET", secure: true, format: "json" }, params)),
4025
4469
  /**
@@ -4041,7 +4485,7 @@ export class Api extends HttpClient {
4041
4485
  * @summary Get All
4042
4486
  * @request GET:/api/users
4043
4487
  * @secure
4044
- * @response `200` `(User)[]` Success
4488
+ * @response `200` `(User)[]` OK
4045
4489
  */
4046
4490
  getUsers: (query, params = {}) => this.request(Object.assign({ path: `/api/users`, method: "GET", query: query, secure: true, format: "json" }, params)),
4047
4491
  /**
@@ -4052,10 +4496,10 @@ export class Api extends HttpClient {
4052
4496
  * @summary Create
4053
4497
  * @request POST:/api/users
4054
4498
  * @secure
4055
- * @response `200` `DetailedUser` Success
4056
- * @response `422` `UnprocessableEntity` Client Error
4499
+ * @response `200` `DetailedUser` OK
4500
+ * @response `422` `UnprocessableEntity` Unprocessable Content
4057
4501
  */
4058
- createUser: (data, params = {}) => this.request(Object.assign({ path: `/api/users`, method: "POST", body: data, secure: true, type: "application/json", format: "json" }, params)),
4502
+ createUser: (data, params = {}) => this.request(Object.assign({ path: `/api/users`, method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
4059
4503
  /**
4060
4504
  * No description
4061
4505
  *
@@ -4064,9 +4508,9 @@ export class Api extends HttpClient {
4064
4508
  * @summary Search
4065
4509
  * @request POST:/api/users/search
4066
4510
  * @secure
4067
- * @response `200` `UserPaginated` Success
4511
+ * @response `200` `UserPaginated` OK
4068
4512
  */
4069
- 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)),
4513
+ 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)),
4070
4514
  /**
4071
4515
  * No description
4072
4516
  *
@@ -4075,9 +4519,9 @@ export class Api extends HttpClient {
4075
4519
  * @summary Get by Email
4076
4520
  * @request POST:/api/users/byemail
4077
4521
  * @secure
4078
- * @response `200` `AdminAccessUser` Success
4522
+ * @response `200` `AdminAccessUser` OK
4079
4523
  */
4080
- getUserByEmail: (data, params = {}) => this.request(Object.assign({ path: `/api/users/byemail`, method: "POST", body: data, secure: true, type: "application/json", format: "json" }, params)),
4524
+ getUserByEmail: (data, params = {}) => this.request(Object.assign({ path: `/api/users/byemail`, method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
4081
4525
  /**
4082
4526
  * No description
4083
4527
  *
@@ -4086,10 +4530,10 @@ export class Api extends HttpClient {
4086
4530
  * @summary Sign Up
4087
4531
  * @request POST:/api/users/register
4088
4532
  * @secure
4089
- * @response `200` `User` Success
4090
- * @response `422` `UnprocessableEntity` Client Error
4533
+ * @response `200` `User` OK
4534
+ * @response `422` `UnprocessableEntity` Unprocessable Content
4091
4535
  */
4092
- signUp: (data, params = {}) => this.request(Object.assign({ path: `/api/users/register`, method: "POST", body: data, secure: true, type: "application/json", format: "json" }, params)),
4536
+ signUp: (data, params = {}) => this.request(Object.assign({ path: `/api/users/register`, method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
4093
4537
  /**
4094
4538
  * No description
4095
4539
  *
@@ -4098,10 +4542,10 @@ export class Api extends HttpClient {
4098
4542
  * @summary Update
4099
4543
  * @request PUT:/api/users/{id}
4100
4544
  * @secure
4101
- * @response `200` `DetailedUser` Success
4102
- * @response `422` `UnprocessableEntity` Client Error
4545
+ * @response `200` `DetailedUser` OK
4546
+ * @response `422` `UnprocessableEntity` Unprocessable Content
4103
4547
  */
4104
- replaceUser: (id, data, params = {}) => this.request(Object.assign({ path: `/api/users/${id}`, method: "PUT", body: data, secure: true, type: "application/json", format: "json" }, params)),
4548
+ replaceUser: (id, data, params = {}) => this.request(Object.assign({ path: `/api/users/${id}`, method: "PUT", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
4105
4549
  /**
4106
4550
  * No description
4107
4551
  *
@@ -4133,9 +4577,9 @@ export class Api extends HttpClient {
4133
4577
  * @request POST:/api/users/change-password
4134
4578
  * @secure
4135
4579
  * @response `204` `void` No Content
4136
- * @response `422` `UnprocessableEntity` Client Error
4580
+ * @response `422` `UnprocessableEntity` Unprocessable Content
4137
4581
  */
4138
- changePassword: (data, params = {}) => this.request(Object.assign({ path: `/api/users/change-password`, method: "POST", body: data, secure: true, type: "application/json" }, params)),
4582
+ changePassword: (data, params = {}) => this.request(Object.assign({ path: `/api/users/change-password`, method: "POST", body: data, secure: true, type: ContentType.Json }, params)),
4139
4583
  /**
4140
4584
  * No description
4141
4585
  *
@@ -4145,9 +4589,9 @@ export class Api extends HttpClient {
4145
4589
  * @request POST:/api/users/verify-password
4146
4590
  * @secure
4147
4591
  * @response `204` `void` No Content
4148
- * @response `422` `UnprocessableEntity` Client Error
4592
+ * @response `422` `UnprocessableEntity` Unprocessable Content
4149
4593
  */
4150
- verifyPassword: (data, params = {}) => this.request(Object.assign({ path: `/api/users/verify-password`, method: "POST", body: data, secure: true, type: "application/json" }, params)),
4594
+ verifyPassword: (data, params = {}) => this.request(Object.assign({ path: `/api/users/verify-password`, method: "POST", body: data, secure: true, type: ContentType.Json }, params)),
4151
4595
  /**
4152
4596
  * No description
4153
4597
  *
@@ -4157,9 +4601,9 @@ export class Api extends HttpClient {
4157
4601
  * @request POST:/api/users/{id}/override-password
4158
4602
  * @secure
4159
4603
  * @response `204` `void` No Content
4160
- * @response `422` `UnprocessableEntity` Client Error
4604
+ * @response `422` `UnprocessableEntity` Unprocessable Content
4161
4605
  */
4162
- overridePassword: (id, data, params = {}) => this.request(Object.assign({ path: `/api/users/${id}/override-password`, method: "POST", body: data, secure: true, type: "application/json" }, params)),
4606
+ overridePassword: (id, data, params = {}) => this.request(Object.assign({ path: `/api/users/${id}/override-password`, method: "POST", body: data, secure: true, type: ContentType.Json }, params)),
4163
4607
  /**
4164
4608
  * No description
4165
4609
  *
@@ -4169,9 +4613,9 @@ export class Api extends HttpClient {
4169
4613
  * @request POST:/api/users/forgot-password
4170
4614
  * @secure
4171
4615
  * @response `204` `void` No Content
4172
- * @response `422` `UnprocessableEntity` Client Error
4616
+ * @response `422` `UnprocessableEntity` Unprocessable Content
4173
4617
  */
4174
- forgotPassword: (data, params = {}) => this.request(Object.assign({ path: `/api/users/forgot-password`, method: "POST", body: data, secure: true, type: "application/json" }, params)),
4618
+ forgotPassword: (data, params = {}) => this.request(Object.assign({ path: `/api/users/forgot-password`, method: "POST", body: data, secure: true, type: ContentType.Json }, params)),
4175
4619
  /**
4176
4620
  * No description
4177
4621
  *
@@ -4181,7 +4625,7 @@ export class Api extends HttpClient {
4181
4625
  * @request POST:/api/users/mobile-phone/send-code
4182
4626
  * @secure
4183
4627
  * @response `204` `void` No Content
4184
- * @response `422` `UnprocessableEntity` Client Error
4628
+ * @response `422` `UnprocessableEntity` Unprocessable Content
4185
4629
  */
4186
4630
  sendMobilePhoneVerificationCode: (params = {}) => this.request(Object.assign({ path: `/api/users/mobile-phone/send-code`, method: "POST", secure: true }, params)),
4187
4631
  /**
@@ -4193,9 +4637,9 @@ export class Api extends HttpClient {
4193
4637
  * @request PUT:/api/users/mobile-phone/verify-code
4194
4638
  * @secure
4195
4639
  * @response `204` `void` No Content
4196
- * @response `422` `UnprocessableEntity` Client Error
4640
+ * @response `422` `UnprocessableEntity` Unprocessable Content
4197
4641
  */
4198
- verifyUserMobilePhone: (data, params = {}) => this.request(Object.assign({ path: `/api/users/mobile-phone/verify-code`, method: "PUT", body: data, secure: true, type: "application/json" }, params)),
4642
+ verifyUserMobilePhone: (data, params = {}) => this.request(Object.assign({ path: `/api/users/mobile-phone/verify-code`, method: "PUT", body: data, secure: true, type: ContentType.Json }, params)),
4199
4643
  /**
4200
4644
  * No description
4201
4645
  *
@@ -4204,7 +4648,7 @@ export class Api extends HttpClient {
4204
4648
  * @summary Get
4205
4649
  * @request GET:/api/users/me
4206
4650
  * @secure
4207
- * @response `200` `ImpersonatedDetailedUser` Success
4651
+ * @response `200` `ImpersonatedDetailedUser` OK
4208
4652
  * @response `401` `ProblemDetails` Unauthorized
4209
4653
  */
4210
4654
  getMe: (params = {}) => this.request(Object.assign({ path: `/api/users/me`, method: "GET", secure: true, format: "json" }, params)),
@@ -4216,9 +4660,9 @@ export class Api extends HttpClient {
4216
4660
  * @summary Replace
4217
4661
  * @request PUT:/api/users/me
4218
4662
  * @secure
4219
- * @response `200` `DetailedUser` Success
4663
+ * @response `200` `DetailedUser` OK
4220
4664
  */
4221
- replaceMe: (data, params = {}) => this.request(Object.assign({ path: `/api/users/me`, method: "PUT", body: data, secure: true, type: "application/json", format: "json" }, params)),
4665
+ replaceMe: (data, params = {}) => this.request(Object.assign({ path: `/api/users/me`, method: "PUT", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
4222
4666
  /**
4223
4667
  * @description Update the phone number If changed will send a verification code to the new number
4224
4668
  *
@@ -4229,7 +4673,7 @@ export class Api extends HttpClient {
4229
4673
  * @secure
4230
4674
  * @response `204` `DetailedUser` No Content
4231
4675
  */
4232
- 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)),
4676
+ 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)),
4233
4677
  /**
4234
4678
  * No description
4235
4679
  *
@@ -4238,7 +4682,7 @@ export class Api extends HttpClient {
4238
4682
  * @summary Get Relationships
4239
4683
  * @request GET:/api/users/me/relationships
4240
4684
  * @secure
4241
- * @response `200` `(UserRelationship)[]` Success
4685
+ * @response `200` `(UserRelationship)[]` OK
4242
4686
  */
4243
4687
  getMyRelationships: (params = {}) => this.request(Object.assign({ path: `/api/users/me/relationships`, method: "GET", secure: true, format: "json" }, params)),
4244
4688
  /**
@@ -4249,7 +4693,7 @@ export class Api extends HttpClient {
4249
4693
  * @summary Get Relationship Prospects
4250
4694
  * @request GET:/api/users/me/relationships/prospects
4251
4695
  * @secure
4252
- * @response `200` `(UserRelationshipProspect)[]` Success
4696
+ * @response `200` `(UserRelationshipProspect)[]` OK
4253
4697
  */
4254
4698
  getMyRelationshipProspects: (params = {}) => this.request(Object.assign({ path: `/api/users/me/relationships/prospects`, method: "GET", secure: true, format: "json" }, params)),
4255
4699
  /**
@@ -4273,7 +4717,7 @@ export class Api extends HttpClient {
4273
4717
  * @secure
4274
4718
  * @response `204` `void` No Content
4275
4719
  */
4276
- deleteMe: (data, params = {}) => this.request(Object.assign({ path: `/api/users/me/delete`, method: "POST", body: data, secure: true, type: "application/json" }, params)),
4720
+ deleteMe: (data, params = {}) => this.request(Object.assign({ path: `/api/users/me/delete`, method: "POST", body: data, secure: true, type: ContentType.Json }, params)),
4277
4721
  /**
4278
4722
  * No description
4279
4723
  *
@@ -4282,9 +4726,9 @@ export class Api extends HttpClient {
4282
4726
  * @summary Get Workflow
4283
4727
  * @request POST:/api/workflow
4284
4728
  * @secure
4285
- * @response `200` `GetForm` Success
4729
+ * @response `200` `GetForm` OK
4286
4730
  */
4287
- getWorkflow: (data, params = {}) => this.request(Object.assign({ path: `/api/workflow`, method: "POST", body: data, secure: true, type: "application/json", format: "json" }, params)),
4731
+ getWorkflow: (data, params = {}) => this.request(Object.assign({ path: `/api/workflow`, method: "POST", body: data, secure: true, type: ContentType.Json, format: "json" }, params)),
4288
4732
  };
4289
4733
  this.sso = {
4290
4734
  /**
@@ -4294,7 +4738,7 @@ export class Api extends HttpClient {
4294
4738
  * @name LogoutList
4295
4739
  * @request GET:/sso/logout
4296
4740
  * @secure
4297
- * @response `200` `void` Success
4741
+ * @response `200` `void` OK
4298
4742
  */
4299
4743
  logoutList: (params = {}) => this.request(Object.assign({ path: `/sso/logout`, method: "GET", secure: true }, params)),
4300
4744
  };